feat: add structured output and history processors - #1
Merged
Conversation
Closed
DEENUU1
added a commit
that referenced
this pull request
Jun 26, 2026
Attaching a file gave no feedback beyond a toast. Now: - A chip bar above the prompt shows pending attachments as `[Image #1]`, `[chart.png]`, … so a Ctrl+V paste is visible, not just a notification. Esc on an idle prompt clears them. - Dropping a file onto the terminal (a bracketed paste of its path) is intercepted: an image attaches as a chip; any other file is dropped in as an `@path` reference the prompt expansion picks up on submit. Paths that aren't real files fall through to normal text paste. Labels are markup-escaped so a bracketed `[Image #1]` isn't parsed as a content-markup tag (which rendered as a stray box glyph). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
DEENUU1
added a commit
that referenced
this pull request
Jun 26, 2026
The attachment badge was built as `[dim]🖼 1 image attached[/dim]` and folded into the user message text — but UserMessage escapes brackets, so the markup showed literally and the emoji looked off. Match Claude Code: pass attachment labels to UserMessage separately and render each as a dim `└ [Image #1]` sub-line under the message (brackets escaped, markup applied). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add structured output and history processors features, enabling type-safe responses with Pydantic models and automatic conversation summarization for managing token limits in long sessions.