agent session transcript: download raw transcript files#32
Merged
Conversation
Wraps GET /v1/sessions/{id}/transcripts (presigned S3 two-step, like
asset get): default streams the latest process's gunzipped JSONL to
stdout; -o writes a file; --process picks an attempt; --all -d <dir>
downloads every process; --json prints the metadata; --gzip keeps the
raw .jsonl.gz bytes. A failed final write warns on stderr and still
downloads; a retention-deleted object gets a curated 404 message.
Flat verb beside steps/ide/port per the CLI grammar rule (monorepo
architecture skill §7; documents/eng/TRANSCRIPT_DOWNLOAD.md).
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.
Adds the flat
session transcript <sessionId>verb perdocuments/eng/TRANSCRIPT_DOWNLOAD.mdin the monorepo (backend endpoint = ellipsis-dev/ellipsis#5691, which must merge + deploy first).GET /v1/sessions/{id}/transcripts, download the latest process's transcript, gunzip, stream raw JSONL to stdout (pipe-friendly, mirrorssession steps).-o <path>file output,--process <id>pick an attempt,--all -d <dir>one file per process,--jsonmetadata only,--gzipraw bytes.write_status: failedwarns on stderr and still downloads; storage 404 maps to a log-retention explanation; 403 suggests the presigned URL expired.bun run typecheck,test(172),build, and a compiled-binary--helpsmoke all green.Do not merge/release without Hunter — sequencing: merge #5691, deploy, then this + tag v0.7.0.