flue icon indicating copy to clipboard operation
flue copied to clipboard

feat(runtime): delegate image attachments to tasks

Open FredKSchott opened this issue 5 months ago • 0 comments

Summary

  • assign persistent session-scoped IDs to image attachments and expose them to models in an attachment manifest
  • let the model-facing task tool explicitly forward visible images with attachments: [{ id }]
  • validate attachment visibility, deduplicate IDs, and limit each task to four images before child-session creation
  • preserve attachment identity across session persistence and nested task sessions

Testing

  • pnpm run build in packages/runtime
  • pnpm run check:types in packages/runtime
  • pnpm run check:lint
  • pnpm test in packages/runtime (669 passed, 1 skipped)

FredKSchott avatar Jun 17 '26 08:06 FredKSchott