Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

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

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

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

Conversation

@cte

@ctecte commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

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>
@dosubotdosubotBot 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 mainMar 2, 2026
15 checks passed
@cte
cte deleted the feat/cli-stdin-stream-images branch March 2, 2026 20:57
@github-project-automationgithub-project-automationBot moved this from New to Done in Roo Code RoadmapMar 2, 2026
@github-actionsgithub-actionsBot mentioned this pull request Mar 4, 2026
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

EnhancementNew feature or requestsize:LThis PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@cte