Skip to content

feat(agent): support image attachments - #815

Merged
AnthonyRonning merged 1 commit into
masterfrom
codex-maple-agent-images-maple
Aug 21, 2026
Merged

feat(agent): support image attachments#815
AnthonyRonning merged 1 commit into
masterfrom
codex-maple-agent-images-maple

Conversation

@AnthonyRonning

Copy link
Copy Markdown
Contributor

Summary

  • add the standard multi-image composer experience to Agent Mode, including image-only sends, queueing, and persisted history previews
  • send images directly to vision-capable models; give non-vision models opaque maple-attachment:// references that they can pass through a genuine read_image tool call
  • store validated image bytes in an account- and session-scoped Maple cache, with bounded input sizes and cleanup on task deletion or history clearing

Closes #812.

Validation

  • nix develop --no-update-lock-file .#ci -c ./scripts/ci/frontend.sh — 713 tests passed; typecheck/format/lint passed (13 existing lint warnings, 0 errors)
  • nix develop --no-update-lock-file .#ci -c just rust-lint — passed
  • nix develop --no-update-lock-file .#ci -c ./scripts/ci/rust.sh — 379 tests passed, 2 ignored
  • nix develop --no-update-lock-file .#ci -c just desktop-build-debug-overlay — packaged macOS overlay built successfully
  • local managed OpenSecret + billing + Maple Pro smoke:
    • GLM 5.2 called read_image itself on the opaque Maple attachment and returned an accurate description
    • Kimi K2.6 received the image directly and did not call read_image
    • image previews survived app relaunch; deleting the task removed its session cache

Packaged runtime smoke was performed on macOS. Windows and Linux packaged runtimes were not exercised locally.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying maple with  Cloudflare Pages  Cloudflare Pages

Latest commit: 31801e9
Status: ✅  Deploy successful!
Preview URL: https://189ef21d.maple-ca8.pages.dev
Branch Preview URL: https://codex-maple-agent-images-map.maple-ca8.pages.dev

View logs

@AnthonyRonning
AnthonyRonning merged commit d2c1b40 into master Aug 21, 2026
20 checks passed
@AnthonyRonning
AnthonyRonning deleted the codex-maple-agent-images-maple branch August 21, 2026 17:17
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.

Agent Mode: Support image attachments

1 participant