Files
anomalyco_opencode/packages/opencode/test
Aiden Cline 79275e60fb fix(opencode): describe attachments as routable values, not opaque
The previous wording claimed attachment bytes 'aren't available in code',
but a tool result's { result, attachments } envelope is copied straight
into the sandbox (tool-runtime invoke -> checkedCopyIn), so attachment.url
is a real data: URL string the program can read and route — e.g. feed one
tool's media into another tool's input, which is exactly what code mode is
uniquely good at. Reword the description to say so. Still not the emit
pattern: only `result` becomes conversation text; returned attachments
lower to FileParts and nothing else in the sandbox re-enters the chat.

Add an integration test asserting the data URL is readable in-program.
2026-06-30 14:10:06 -05:00
..
2026-06-29 18:52:55 +00:00
2026-06-29 17:58:20 +00:00
2026-06-29 17:58:20 +00:00
2026-06-23 04:57:55 +00:00
2026-06-29 20:53:48 +00:00
2026-06-29 20:36:56 +00:00
2026-06-29 16:58:51 +00:00
2026-06-29 20:53:48 +00:00
2026-06-29 03:49:43 +00:00
2026-06-29 17:58:20 +00:00
2026-06-29 17:58:20 +00:00