feat: v0.7.9 — pais support-bundle one-shot artifact zip - #25
Merged
Merged
Conversation
Replace the manual "run doctor, run chat, zip logs" recipe with a single non-interactive command: pais support-bundle [--chat <agent_id> --file prompt.md] [-o bundle.zip] Runs doctor, optionally reproduces a failing chat turn (relies on v0.7.8 auto-dump), then zips the latest doctor report, every chat-errors/*.json, and pais.log. Prints a JSON manifest with the bundle path so scripts can pick it up. Default: /tmp/pais-bundle-<ts>.zip. Tests: 407 passed (+3 new). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
CI typer strips the BadParameter message text to just the Usage banner; `--file` literal no longer appears in output. Switch to exit-code assertion (2 = typer parse error) which is stable across typer versions. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the manual "run doctor, run chat, zip logs" recipe with a single non-interactive command:
```bash
pais support-bundle # package whatever's already on disk
pais support-bundle --chat <agent_id> --file prompt.md # reproduce a failing turn first, then bundle
pais support-bundle -o /tmp/bug.zip # custom output path
```
What it does:
Default output is `/tmp/pais-bundle-.zip`. Secrets never enter the bundle (allowlisted settings only; no Authorization headers; prompt excerpts already capped at 2 KB by the v0.7.8 dump).
Test plan
🤖 Generated with Claude Code