Repository navigation
Description
Deep Code v0.6.0 发布说明
本次更新的主题是剪贴板与输入体验:/copy 命令、 Ctrl+Y 快捷键、远程 SSH 会话中的复制支持、网页富文本粘贴自动转 Markdown,以及 Windows/WSL 的图片粘贴快捷键修正。此外还有实验性功能"思维链摘要"、计划列表的全新渲染样式和若干交互修复。
全新功能
1. /copy 命令:一键复制上一条 AI 回复
支持新的斜杠命令 /copy,可把最后一条助手消息完整复制到系统剪贴板,解决了使用鼠标选中复制的文字会有多余换行和缩进字符的痛点。
2. Ctrl+Y:复制输入框中的文本
支持快捷键 ctrl+y 将当前输入框的原始文本复制进入剪贴板。
3. 远程 SSH 会话也能复制了
Ctrl+Y 和 /copy 的复制功能不只是本地电脑能用,在通过 SSH 连接远程服务器时,Deep Code 会通过 OSC 52 把复制的内容直接送达你本地电脑的剪贴板,复制体验与本地完全一致。
该功能依赖终端模拟器的支持,主流现代终端(例如iTerm2等)均可正常使用。
4. 进程输出面板按 y 复制命令
在 Ctrl+O 打开的后台进程输出面板中,用左右键↔选中某条进程后按 y,即可把这次bash tool执行的完整命令复制到剪贴板。
5. Windows / WSL 图片粘贴快捷键改进
- Windows:图片粘贴快捷键改为
Alt+V(避免与终端自带的Ctrl+V粘贴冲突); - WSL:
Ctrl+V和Alt+V两个快捷键均可粘贴剪贴板图片。
| 平台 | 图片粘贴快捷键 |
|---|---|
| macOS / Linux | Ctrl+V |
| Windows | Alt+V |
| WSL | Ctrl+V 或 Alt+V |
6. 网页内容粘贴为 Markdown
从网页、文档里复制的内容往往带着复杂的富文本格式。现在用 Ctrl+V(Windows 为 Alt+V)粘贴时,如果剪贴板里是 HTML 富文本,Deep Code 会自动把它转换成干净的 Markdown 再填入输入框:
7. /experimental 命令与思维链摘要
新增 /experimental 命令,用于集中管理实验性功能。首个实验特性是 Reasoning summary(思维链摘要):
模型在思考模式下可能返回很长的推理过程,逐字阅读费时费力。开启思维链摘要后,Deep Code 会用一次额外但轻量的LLM请求把冗长的推理内容总结成一两句话,展示在消息中,方便你实时掌握模型“在想什么”。
改进与优化
计划列表渲染更直观
其他改进
- 通知上下文新增
SESSION_ID:自定义通知命令现在可以通过SESSION_ID环境变量拿到触发通知的会话 ID,方便在通知脚本里直接定位、恢复对应会话。详见 docs/notify.md。 - fix(ui): wrap prompt words without misplacing the cursor by @mvanhorn in fix(ui): wrap prompt words without misplacing the cursor #401
升级方式
# 全局更新到最新版
npm install -g @vegamo/deepcode-cli@latest
# 查看当前版本
deepcode --version感谢使用 Deep Code!如有问题或建议,欢迎在 GitHub 仓库提交 issue。
New Contributors
- @mvanhorn made their first contribution in fix(ui): wrap prompt words without misplacing the cursor #401
Full Changelog: v0.5.2...v0.6.0
Deep Code v0.6.0 Release Notes
This release focuses on clipboard and input improvements: the /copy command, the Ctrl+Y shortcut, copying over remote SSH sessions, automatic conversion of pasted web content to Markdown, and updated image paste shortcuts on Windows and WSL. It also introduces the experimental Reasoning summary feature, a redesigned plan list, and several interaction fixes.
New Features
1. /copy: Copy the last AI response
The new /copy slash command copies the entire last assistant message to your system clipboard, avoiding the extra line breaks and indentation that can appear when selecting text with the mouse.
2. Ctrl+Y: Copy text from the input box
Press Ctrl+Y to copy the raw text in the current input box to the clipboard.
3. Copy over remote SSH sessions
Ctrl+Y and /copy also work when you connect to a remote server over SSH. Copied text goes directly to your local clipboard, giving you the same copying experience as a local session.
This feature requires a compatible terminal emulator. Most modern terminals, including iTerm2, support it.
4. Press y to copy a command in the process output panel
Open the process output panel with Ctrl+O, select a process with the left or right arrow keys ↔, and press y to copy its full command to the clipboard.
5. Updated image paste shortcuts on Windows and WSL
- Windows: The image paste shortcut is now
Alt+Vto avoid conflicting with the terminal's built-inCtrl+Vpaste shortcut. - WSL: Both
Ctrl+VandAlt+Vcan paste images from the clipboard.
| Platform | Image paste shortcut |
|---|---|
| macOS / Linux | Ctrl+V |
| Windows | Alt+V |
| WSL | Ctrl+V or Alt+V |
6. Paste web content as Markdown
Content copied from web pages and documents often includes complex rich text formatting. When you paste with Ctrl+V (Alt+V on Windows), Deep Code now automatically converts HTML rich text from the clipboard into clean Markdown before inserting it into the input box:
7. /experimental and Reasoning summary
The new /experimental command brings experimental features together in one place. The first feature is Reasoning summary.
In thinking mode, models may return lengthy reasoning that takes time to read. Enable Reasoning summary to condense it into one or two sentences displayed in the conversation, making it easier to follow the model's progress in real time.
Before:
After:
Improvements
A better plan list UI
Before:
After:
Other improvements
SESSION_IDis now available to notification commands: Custom notification commands can use theSESSION_IDenvironment variable to identify and resume the session that triggered a notification. See docs/notify.md for details.- fix(ui): wrap prompt words without misplacing the cursor by @mvanhorn in fix(ui): wrap prompt words without misplacing the cursor #401
How to Upgrade
# Update globally to the latest version
npm install -g @vegamo/deepcode-cli@latest
# Check the current version
deepcode --versionThank you for using Deep Code! If you have questions or suggestions, please open an issue in the GitHub repository.
New Contributors
- @mvanhorn made their first contribution in fix(ui): wrap prompt words without misplacing the cursor #401
Full Changelog: v0.5.2...v0.6.0
Activity