Inline file attachment support for subagent runtime — base64/utf8 encoding, transcript redaction, configurable limits.
Sessions Spawn Attachments
Subagent spawns can now receive inline file attachments from the parent session.
Features
- base64/utf8 encoding — Attach files or text blobs to the spawn payload
- Transcript redaction — Optionally strip sensitive content before passing to subagent
- Configurable limits — Control attachment size and count per spawn
Use cases
- Pass a PDF or document to a research subagent
- Hand off code snippets without re-pasting
- Include relevant context from the main session while respecting privacy
Config
Check agents.defaults and subagent spawn options for attachments, maxAttachmentBytes, and related fields.