Repository navigation
feat(core): let a bot share a file from its sandbox in its reply - #423
Open
davemooreuws wants to merge 1 commit into
Open
davemooreuws wants to merge 1 commit into
davemooreuws wants to merge 1 commit into
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
sugabots-website | e9266a6 | Oct 16 2026, 06:45 AM |
davemooreuws
added this pull request to stack #404
October 16, 2026 03:42
tjholm
reviewed
Oct 16, 2026
Member
|
This is 100% one of the features I am after btw so very excited to see this |
davemooreuws
force-pushed
the
bot-attachments
branch
from
October 16, 2026 06:10
fd07860 to
a806faf
Compare
davemooreuws
force-pushed
the
bot-attachments
branch
from
October 16, 2026 06:13
a806faf to
4ef337b
Compare
davemooreuws
force-pushed
the
bot-attachments
branch
from
October 16, 2026 06:44
4ef337b to
e9266a6
Compare
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.
Seventh of the chat attachments PRs, stacked on #421: a bot can show people a file it made in the sandbox, such as a chart or an edited image, under its reply.
share_file({ path, name? }), offered in a chat's own thread. It reads the file as the agents' user, up to 10 MB and 20 files per reply, and attaches it to the reply being written. The tool tells the bot never to paste contents, base64 or links instead.thread_filekindagent_attachment, which feat(core): upload files to a chat, and serve them back #393's migration allows, and shown the moment they're attached, through a newmessage.files_changedevent. The web keeps them on a reply that's still being written.share_filecalls record them.Files are read as base64 through a command, which caps them at 10 MB. Streaming them out instead is tracked in SUGA-2004.
Part of SUGA-1825