Skip to content

【Release Notes】v0.7.0 #408

Open
Open

Description

@qorzj

中文 | English

Deep Code v0.7.0 发布说明

本次更新带来了这些新功能:CLI 支持在会话运行时排队提交消息、支持 vim 作为外部编辑器、在终端里直接预览图片附件;VSCode 插件则新增了会话轨迹面板,并优化了启动体验。

全新功能

1. 输入队列:会话运行时也能继续输入

过去执行过程中提了新的需求,不能增加到队列,只能等任务结束,或者中断当前任务。v0.7.0 引入了输入队列,会话运行期间输入的 prompt 会进入队列,当前任务结束后自动按顺序执行。

  • 随时输入:任务运行时照常打字、粘贴、附加图片,回车即加入队列,不会打断正在执行的任务;
  • 队列可见:排队的消息数量会显示在输入框上方,一目了然;
  • 可编辑、可撤回:通过 /undo 可以选中队列中的消息重新编辑或删除。编辑某条排队消息时,排在它后面的消息会一并暂停,编辑完成后继续按序执行,保证上下文顺序不会错乱;
  • 命令不受限:任务运行期间 /model、/skills、/mcp、/permissions、/undo、/copy 等即时命令依然可用。
image

VSCode 插件同步支持了队列能力,排队消息显示在输入框上方,可以直接点击编辑或移除。

image

2. 外部编辑器:Ctrl+G 唤起 vim

长 prompt 在单行输入框里的光标定位、结构调整、大段改写都不方便。v0.7.0 支持在输入框中按 ctrl+g 唤起系统 vim,把当前输入内容带到 vim 编辑器里修改,保存退出后自动回填到输入框。

  • 编辑器里的内容未做修改则不会改动输入框;
  • 需要系统已安装 vim。

3. 终端图片附件预览

粘贴或附加图片后,之前只能看到一个占位提示,无法确认附件内容。v0.7.0 在支持图片协议的终端中直接渲染附件缩略图:

  • 输入预览:附加的图片以缩略图形式显示在输入框上方,发送前就能确认内容是否正确;
  • 历史回看:已发送消息中的图片同样以缩略图展示在会话历史里;
  • 广泛兼容:支持 iTerm2、Kitty、WezTerm、Ghostty 等主流终端的图片协议;在 tmux、SSH 远程会话或不支持的终端中自动回退为文字占位提示,不影响正常使用。
image

4. VSCode 会话轨迹面板

VSCode 插件借鉴 DSH 新增了会话轨迹(Trajectory),能把一次会话完整展开为时间线:每条用户消息、助手回复、工具调用的参数与结果、思考过程,都按时间顺序呈现。

  • 工具调用展示输入参数和执行结果,便于排查"模型到底改了什么";
  • 被压缩的历史消息也有标记,上下文占用一目了然;
  • 历史消息支持删除后重新/continue,配合会话历史管理,可以从任意一步重试任务。
image

5. VSCode 撤销与队列消息管理

VSCode 插件补齐了与 CLI 对齐的 /undo 能力:在会话中打开撤销面板,可以选中任意一条历史消息回退会话状态,也可以对排队中的消息进行编辑或移除。

改进与优化

  • 终端 UI 升级为增量渲染:流式输出时不再整屏重绘,只更新变化的部分。长回复刷屏时的闪烁明显减少,滚动回看历史也更稳定。
  • 会话列表显示 Session ID:方便在多会话之间定位与恢复;
  • MCP 连接更稳健:MCP 客户端支持取消与超时处理,工具调用被中断时能正确收尾。

升级方式

# 全局更新到最新版
npm install -g @vegamo/deepcode-cli@latest

# 查看当前版本
deepcode --version

VSCode 插件请在扩展市场中更新到最新版本。

完整配置说明见 docs/configuration.md。

感谢使用 Deep Code!如有问题或建议,欢迎在 GitHub 仓库 提交 issue。

Full Changelog: v0.6.0...v0.7.0


Deep Code v0.7.0 Release Notes

This release adds a prompt queue, vim as an external editor, and inline image attachment previews to the CLI. The VSCode extension gains a session trajectory panel and an improved startup experience.

New Features

1. Prompt Queue: Keep Typing While a Session Is Running

Previously, new requests could not be queued during execution: you had to wait for the task to finish or interrupt it. In v0.7.0, prompts submitted during a running session are queued and processed in order after the current task finishes.

  • Submit anytime: type, paste, or attach images while a task is running, then press Enter to queue your message without interrupting the current task.
  • Visible queue: the number of queued messages appears above the input box.
  • Edit or remove messages: use /undo to select a queued message and edit or delete it. While a queued message is being edited, messages after it are also paused. Processing resumes in order when editing is complete, preserving the order of the conversation.
  • Commands remain available: immediate commands such as /model, /skills, /mcp, /permissions, /undo, and /copy still work while a task is running.
image

The VSCode extension also supports the queue. Queued messages appear above the input box and can be edited or removed with a click.

image

2. External Editor: Open vim with Ctrl+G

Moving the cursor, restructuring text, and rewriting large sections of a long prompt can be awkward in a single-line input box. In v0.7.0, press ctrl+g in the input box to open the current text in your system's vim editor. Save and exit to bring the edited text back into the input box.

  • If you leave the editor without changing the text, the input box remains unchanged.
  • vim must be installed on your system.

3. Image Attachment Previews in the Terminal

Previously, pasted or attached images appeared only as placeholders, so you could not check their contents. In v0.7.0, terminals that support image protocols display attachment thumbnails directly:

  • Input previews: attached images appear as thumbnails above the input box, so you can check them before sending.
  • History previews: images in sent messages also appear as thumbnails in the conversation history.
  • Terminal support: image protocols used by iTerm2, Kitty, WezTerm, Ghostty, and other popular terminals are supported. In tmux, remote SSH sessions, or unsupported terminals, images automatically fall back to text placeholders, so you can continue using the CLI normally.
image

4. VSCode Session Trajectory Panel

Inspired by DSH, the VSCode extension adds a Trajectory panel that expands a session into a complete timeline. User messages, assistant replies, tool call arguments and results, and reasoning are presented in chronological order.

  • Tool calls show their input arguments and results, making it easier to inspect exactly what the model changed.
  • Compacted messages are marked, making it easier to see how conversation context is used.
  • You can delete historical messages and resume with /continue. Combined with session history management, this lets you retry a task from any step.
image

5. Undo and Queued Message Management in VSCode

The VSCode extension now supports /undo in line with the CLI. Open the undo panel during a session to select a historical message and roll back the session state, or edit and remove queued messages.

Improvements

  • Incremental terminal rendering: streaming output now updates only the parts that changed instead of redrawing the entire screen. This reduces flicker during long replies and makes scrolling through history more stable.
  • Session IDs in the session list: find and resume sessions more easily when working with multiple conversations.
  • More reliable MCP connections: the MCP client supports cancellation and timeouts, and cleans up properly when tool calls are interrupted.

How to Upgrade

# Update globally to the latest version
npm install -g @vegamo/deepcode-cli@latest

# Check the current version
deepcode --version

Update the VSCode extension to the latest version from the extension marketplace.

For full configuration details, see docs/configuration.md.

Thank you for using Deep Code! If you have questions or suggestions, please open an issue in the GitHub repository.

Full Changelog: v0.6.0...v0.7.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions