A blank message draws nothing; a file is captioned as the call named it; decorators read as code - #605
Merged
Conversation
…it; decorators read as code - A message whose text is only whitespace is left out of the transcript, and does not break a run of tool calls. - A new file's caption and a diff's path show the path as the call's input named it (`app.py`), with the full path as the hover text. - A decorator, shebang or preprocessor line is coloured as code, not in the muted italic used for comments. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GVjyjkaADPAqLvtnf3xUNs
The prompt lists the request's locations as full paths, since the agent's own input may name only a file. While a request waits, the call's card shows a diff or new file by its full path too, not by the agent's name for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GVjyjkaADPAqLvtnf3xUNs
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.
Three things seen on a real session reopened in the web app, which the gallery did not show.
What changes
Empty gap between the prompt and the tool card. The agent sent an assistant message whose text was only whitespace, drawn as an empty message with its toolbar. A message that is only whitespace is now left out, and does not break a run of tool calls into two rows.
Full absolute path in the caption. A new file's caption and a diff's path now show the path as the call's input named it (
app.py), with the full path as the hover text. When no argument names the file, the full path is shown as before.Python decorators drawn like comments. highlight.js marks a decorator, a shebang and a preprocessor line as
meta, which shared the muted italic of comments. It is now coloured as code.The full path where consent is given. A short caption would hide where a write lands: an input of
settings.jsonfor/Users/dan/.vscode/settings.jsonwould read assettings.json. So the permission prompt now lists the request's locations as full paths (it showed none before), and while a request waits, the card shows the diff or new file by its full path. The short name applies once the request is answered.Checked
bun run check: all 28 passed, on both commits.d950ffb6-…reopened: the transcript is the prompt, the tool card and the answer with no empty message between; the caption readsapp.py · new file · 133 lines, with the full path on hover;@app.route('/')is upright and coloured.🤖 Generated with Claude Code
https://claude.ai/code/session_01GVjyjkaADPAqLvtnf3xUNs