Skip to content

docs: the release notes say what the chat does with pictures - #101

Merged
Jing-yilin merged 1 commit into
mainfrom
docs/unreleased-pictures
Sep 19, 2026
Merged

Jing-yilin merged 1 commit into
mainfrom
docs/unreleased-pictures

Conversation

@Jing-yilin

Copy link
Copy Markdown
Contributor

Release prep, step one. CONTRIBUTING.md says to read ## Unreleased before
cutting anything and reconstruct whatever a PR left out, because it is "the one
part of a release that cannot be done well late".

It had left out everything about pictures. Grepping the section for image,
attach, paste, svg, drag or drop returned nothing, while fourteen
commits across #97, #98 and #99 built the feature.

What this adds

Five paragraphs, placed with the rest of the chat panel material and before the
Geist ones, since that is the order the section already reads in:

  • attaching and numbering — paste, drop, pick, one number per picture, the
    numbering starting over once nothing points at one
  • tool images arriving in the transcript under the call that drew them
  • the + on a canvas shape, and a board coming over under its own
    <slug>/<file>.html
  • a vector drawn into a PNG on the way in, at a 1024px long edge
  • the limits: twenty pictures, 24 MB, counted over the whole tray

Written from the log, checked against the code

Two details are the code's rather than the commit messages':

Not in here

No version is cut. scripts/bump-version.sh --check still says all 7 files
agree on 1.3.0, and the ## Unreleased heading is untouched — renaming it is
step four, on the release PR, which is where the tag job reads it.

Gates, all green on this tree: bun run lint, bun run test, bun run build
(5.45s), tools/test_refkit.py (25 checks), tools/test_sp_canvas.py
(6 checks), claude plugin validate . --strict.

🤖 Generated with Claude Code

Step one of the release flow is reading `## Unreleased` and reconstructing
anything a PR left out, "the one part of a release that cannot be done well
late". Grepping the section for image, attach, paste, svg, drag or drop found
nothing: the whole picture feature area — fourteen commits across #97, #98 and
#99 — reached `main` with no line for the person deciding whether to update.

Five paragraphs, written from the log and checked against the code rather than
from memory: attaching and numbering, tool images arriving in the transcript,
the + on a canvas shape, vectors drawn into a PNG on the way in, and the limits.
Placed with the rest of the chat panel material, before the Geist paragraphs,
since that is the order the section already reads in.

Two numbers are the code's, not the commit messages': MAX_IMAGE_BYTES is 24 MB
(agents.ts:52), which an early commit called 32, and a mockup has one hover
button now rather than the two it shipped with.

No version is cut here. `scripts/bump-version.sh --check` still says all 7
files agree on 1.3.0.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Jing-yilin
Jing-yilin force-pushed the docs/unreleased-pictures branch from 3c2ed0e to 4daba94 Compare September 19, 2026 04:05
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 19, 2026

Copy link
Copy Markdown

Deploying super-prototyping with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4daba94
Status: ✅  Deploy successful!
Preview URL: https://47ba0b8d.super-prototyping.pages.dev
Branch Preview URL: https://docs-unreleased-pictures.super-prototyping.pages.dev

View logs

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3c2ed0e288

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread RELEASE-NOTES.md
Comment on lines +121 to +123
The other direction comes with it. Whatever a tool hands the agent as an image
is drawn under the call that produced it, so a clone's working pictures — the
grid over the reference, the crops — appear in the transcript as they are made.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Limit the tool-image claim to Claude Code

When Codex is selected, tool-produced images do not appear under the call: codexEventsFromLine emits completed command and file calls without shots and has no branch that extracts image data, while only claudeStream.ts parses base64 image result blocks. This paragraph therefore promises behavior that the Codex-backed panel cannot provide; qualify it as Claude-only or add equivalent Codex transport support.

Useful? React with 👍 / 👎.

Comment thread RELEASE-NOTES.md
Comment on lines +144 to +146
Twenty pictures and 24 MB to a message, counted over the whole tray rather than
over the batch being added, and a file too big to fit is refused before it is
read rather than after. A run's copies of your pictures are deleted when it

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Don't promise pre-read rejection for a near-full tray

When the tray already contains, for example, 23 MB and another 2 MB file is added, the early check in ChatPanel.tsx compares only the new batch with MAX_IMAGE_BYTES; it then calls readFile before the later whole-tray check rejects the addition. Thus a file that cannot fit is still read, contrary to this release-note guarantee and the memory-saving behavior it advertises.

Useful? React with 👍 / 👎.

Comment thread RELEASE-NOTES.md
Comment on lines +146 to +147
read rather than after. A run's copies of your pictures are deleted when it
ends.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Don't claim all image copies are deleted at run end

At run completion only the temporary imagesDir is removed; each attachment's base64 data remains in run.images, and /run/<id>/image/<n> continues serving it while the finished run remains among the server's retained runs. This is a misleading data-retention promise, especially for users attaching sensitive screenshots; state that only the on-disk copies are deleted, or actually discard the retained bytes.

Useful? React with 👍 / 👎.

@Jing-yilin
Jing-yilin merged commit 8d0e791 into main Sep 19, 2026
8 checks passed
@Jing-yilin
Jing-yilin deleted the docs/unreleased-pictures branch September 19, 2026 04:16
@Jing-yilin Jing-yilin mentioned this pull request Sep 19, 2026
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