Repository navigation
docs: map inline screenshots and videos to attach_file in the pstack adapter - #63
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Owner
Author
What I checked before merging head
|
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.
Part of #10.
Updates
docs/fork/pstack-adapter.mdfor #60, which lets the web UI play an MP4 that an agent attaches behindfork-chat-todos. pstack'sketchuptells the agent to embed the screenshots and videos the work produced inline, andketchup-videoembeds a rendered MP4 in its reply, but the page had no mapping for showing the user a file. The page now says what forkmainat68fbdea615does.ketchupandketchup-videodo" toattach_file: save the file in the workspace, then callattach_filewith its absolute path. Status: Stays.attach_filecopies a workspace file of up to 10 MiB into the chat, with the literal error for a larger file. It also says how the web UI shows each kind of file: a raster image as a thumbnail, text, Markdown, CSV, and JSON in a text preview, and with the experiment an MP4 inline with a download link. Without the experiment an MP4 is a download card, as an SVG is. The model doesn't receive an attached file in later turns, so the agent describes it in the reply.68fbdea615. A new bullet citesattach_file, its size limit, the assistant-attachment skip inchatprompt.go, the upstream image and text previews, and the MP4 gate inForkAttachmentPreview.tsx. No other cited file changed sinceb457b3f1bf, because feat: play agent-attached MP4s inline and serve chat files with byte ranges #60 touched onlycoderd/exp_chats.goand site files that the page doesn't cite.The
file_attachmentssubagent row stays as it is, becausespawn_agentstill has no file field. #60's byte-range serving changes no agent instruction, so the page doesn't mention it.Validation
markdown-table-formatter1.6.1 andmarkdownlint-cli20.16.0 on the page: 0 errors. The diff has no semicolons, em dashes, en dashes, or spaced double hyphens.68fbdea615. Theketchupandketchup-videowording was checked against pstack atc742dd61706f.