docs: artifact panel & agent file return design doc#344
Closed
baryhuang wants to merge 3 commits intoopenagents-org:developfrom
Closed
docs: artifact panel & agent file return design doc#344baryhuang wants to merge 3 commits intoopenagents-org:developfrom
baryhuang wants to merge 3 commits intoopenagents-org:developfrom
Conversation
Documents the current thread message flow, file upload architecture, identified gaps in agent file return and artifact rendering, and a phased implementation plan.
|
@baryhuang is attempting to deploy a commit to the Raphael's projects Team on Vercel. A member of the Team first needs to authorize it. |
When an agent uploads files via workspace_write_file MCP tool, those files now appear as attachments on the agent's response message in the thread UI. Previously files only appeared in the Files panel. Changes: - Base adapter: track uploaded files per channel, attach on _send_response() - Claude adapter: query for uploaded files before sending final response - Backend: add channel_name/uploaded_by filters to GET /v1/files - Frontend: expand isPreviewable() to include markdown, text, and code files
0f287b4 to
520f170
Compare
When the Claude adapter detects a Write tool_use in the CLI stream, it uploads the file content to /v1/files/base64 and tracks it for attachment on the response message. This closes the gap where agents create files locally but the user never sees them in the thread.
Contributor
|
Merged into develop via 2354bc9. All 3 commits cherry-picked cleanly — no adjustments needed. Thanks @baryhuang! |
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.
Problem: Agent responses never include file attachments in thread messages.
Decisions
Changes
Test
Not in scope