Skip to content

feat(cli): support images in stdin stream commands#11831

Merged
cte merged 1 commit intomainfrom
feat/cli-stdin-stream-images
Mar 2, 2026
Merged

feat(cli): support images in stdin stream commands#11831
cte merged 1 commit intomainfrom
feat/cli-stdin-stream-images

Conversation

@cte
Copy link
Collaborator

@cte cte commented Mar 2, 2026

Summary

  • Add optional images field (array of base64 data URI strings) to the start and message CLI stdin stream commands
  • Validate image payloads in the stdin command parser and forward them through the extension host to task creation and queued messages
  • Include imageCount metadata in queue events so consumers can observe attached images

Test plan

  • Unit tests for parsing images on start/message commands
  • Unit tests for validation errors (non-array, non-string elements)
  • Zod schema tests for image fields on start and message commands
  • Integration test case (message-images-queue-metadata) verifies end-to-end queue metadata

🤖 Generated with Claude Code

Interactively review PR in Roo Code Cloud

Add optional `images` field (array of base64 data URIs) to the `start` and
`message` CLI stdin stream commands, allowing callers to attach images to
prompts. The images are validated, forwarded through the extension host, and
included in queued messages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Enhancement New feature or request labels Mar 2, 2026
@cte cte merged commit 95ea01f into main Mar 2, 2026
15 checks passed
@cte cte deleted the feat/cli-stdin-stream-images branch March 2, 2026 20:57
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 2, 2026
@github-actions github-actions bot mentioned this pull request Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant