Skip to content

20x: allow attaching files to messages in agent transcript#253

Merged
dimavedenyapin merged 2 commits intomainfrom
task/drn12z2xb8vrm7tb5zk4a527
Apr 19, 2026
Merged

20x: allow attaching files to messages in agent transcript#253
dimavedenyapin merged 2 commits intomainfrom
task/drn12z2xb8vrm7tb5zk4a527

Conversation

@dimavedenyapin
Copy link
Copy Markdown
Contributor

Summary

  • add per-message file attachments in desktop and mobile transcript composers
  • pass attachment metadata through renderer/mobile API, IPC, and agent manager send paths
  • include bounded attachment context in prompts (file refs + small text previews only) to avoid context bloat

Testing

  • ELECTRON_RUN_AS_NODE=1 electron ./node_modules/vitest/vitest.mjs run src/renderer/src/hooks/use-agent-session.test.tsx src/renderer/src/components/tasks/TaskWorkspace.test.tsx src/mobile/components/ChatInput.test.tsx src/main/agent-manager.test.ts
  • pnpm test:run
  • pnpm typecheck

@dimavedenyapin dimavedenyapin merged commit ff7f1e7 into main Apr 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant