Skip to content

Commit ec9a219

Browse files
committed
docs(cli): 更新并扩展命令菜单说明和帮助文档
- 新增 /skills、/model、/undo、/mcp 和 /raw 命令说明 - README.md 和 README-en.md 中同步添加对应命令描述 - 详细列出各命令功能,方便用户快速查阅 - 修改 CLI 界面帮助输出,包含所有新增命令提示 - 优化菜单结构,提升用户操作体验
1 parent 5b51f40 commit ec9a219

4 files changed

Lines changed: 65 additions & 38 deletions

File tree

README-en.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,13 @@ Deep Code CLI supports agent skills that allow you to extend the assistant's cap
6666
| `/` | Open the skills / commands menu |
6767
| `/new` | Start a fresh conversation |
6868
| `/resume` | Choose a previous conversation to continue |
69+
| `/continue` | Continue the active conversation or pick one to resume |
6970
| `/model` | Switch model, thinking mode, and reasoning effort |
7071
| `/raw` | Toggle display mode (Normal / Lite / Raw scrollback) |
7172
| `/init` | Initialize an AGENTS.md file (LLM project instructions) |
7273
| `/skills` | List available skills |
7374
| `/mcp` | View MCP server status and available tools |
75+
| `/undo` | Restore code and/or conversation to a previous point |
7476
| `/exit` | Quit (also `Ctrl+D` twice) |
7577

7678
| Key | Action |
@@ -126,6 +128,12 @@ Deep Code supports MCP (Model Context Protocol) to connect external services suc
126128

127129
For detailed setup instructions, see: [docs/mcp.md](docs/mcp.md)
128130

131+
### How to configure Deep Code to send notifications after a task completes?
132+
133+
When the AI assistant completes a task, Deep Code can automatically execute a notification script to send the task results to the specified channel (e.g., Slack, system notifications, etc.).
134+
135+
For detailed configuration instructions, see: [docs/notify_en.md](docs/notify_en.md)
136+
129137
## Contributing
130138

131139
Contributions are welcome! Here's how to get started:

README-zh_CN.md

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -60,25 +60,27 @@ Deep Code CLI 支持 agent skills,允许您扩展助手的能力:
6060

6161
## 斜杠命令与按键功能
6262

63-
| 斜杠命令 | 操作 |
64-
|-----------------|---------------------------------------------|
65-
| `/` | 打开 skills / 命令菜单 |
66-
| `/new` | 开始新对话 |
67-
| `/resume` | 选择历史对话继续 |
68-
| `/model` | 切换模型、思考模式和推理强度 |
69-
| `/raw` | 切换显示模式(Normal / Lite / Raw 滚动回溯)|
70-
| `/init` | 初始化 AGENTS.md 文件 |
71-
| `/skills` | 列出可用 skills |
72-
| `/mcp` | 查看 MCP 服务器状态和可用工具 |
73-
| `/exit` | 退出(也可用连续 `Ctrl+D`|
74-
75-
| 按键 | 操作 |
76-
|-----------------|---------------------------------------------|
77-
| `Enter` | 发送消息 |
78-
| `Shift+Enter` | 插入换行(也可用 `Ctrl+J`|
79-
| `Ctrl+V` | 从剪贴板粘贴图片 |
80-
| `Esc` | 中断当前模型回复 |
81-
| 连续 `Ctrl+D` | 退出 |
63+
| 斜杠命令 | 操作 |
64+
|-------------|----------------------------------|
65+
| `/` | 打开 skills / 命令菜单 |
66+
| `/new` | 开始新对话 |
67+
| `/resume` | 选择历史对话继续 |
68+
| `/continue` | 继续当前对话,或选择历史对话恢复 |
69+
| `/model` | 切换模型、思考模式和推理强度 |
70+
| `/raw` | 切换显示模式(Normal / Lite / Raw 滚动回溯) |
71+
| `/init` | 初始化 AGENTS.md 文件 |
72+
| `/skills` | 列出可用 skills |
73+
| `/mcp` | 查看 MCP 服务器状态和可用工具 |
74+
| `/undo` | 将代码和/或对话恢复到之前的状态 |
75+
| `/exit` | 退出(也可用连续 `Ctrl+D`|
76+
77+
| 按键 | 操作 |
78+
|---------------|--------------------|
79+
| `Enter` | 发送消息 |
80+
| `Shift+Enter` | 插入换行(也可用 `Ctrl+J`|
81+
| `Ctrl+V` | 从剪贴板粘贴图片 |
82+
| `Esc` | 中断当前模型回复 |
83+
| 连续 `Ctrl+D` | 退出 |
8284

8385
## 支持的模型
8486

@@ -111,6 +113,11 @@ Deep Code 支持 MCP(Model Context Protocol),可以连接 GitHub、浏览
111113

112114
详细配置指南:[docs/mcp.md](docs/mcp.md)
113115

116+
### 如何配置 Deep Code 任务完成后发送通知?
117+
118+
当 AI 助手完成一轮任务后,Deep Code 可以自动执行一个通知脚本,将任务结果发送到你指定的渠道(如 Slack、系统通知等)。
119+
120+
详细配置指南:[docs/notify.md](docs/notify.md)
114121

115122
### 是否支持 Coding Plan?
116123

README.md

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -60,25 +60,27 @@ Deep Code CLI 支持 agent skills,允许您扩展助手的能力:
6060

6161
## 斜杠命令与按键功能
6262

63-
| 斜杠命令 | 操作 |
64-
|-----------------|---------------------------------------------|
65-
| `/` | 打开 skills / 命令菜单 |
66-
| `/new` | 开始新对话 |
67-
| `/resume` | 选择历史对话继续 |
68-
| `/model` | 切换模型、思考模式和推理强度 |
69-
| `/raw` | 切换显示模式(Normal / Lite / Raw 滚动回溯)|
70-
| `/init` | 初始化 AGENTS.md 文件 |
71-
| `/skills` | 列出可用 skills |
72-
| `/mcp` | 查看 MCP 服务器状态和可用工具 |
73-
| `/exit` | 退出(也可用连续 `Ctrl+D`|
74-
75-
| 按键 | 操作 |
76-
|-----------------|---------------------------------------------|
77-
| `Enter` | 发送消息 |
78-
| `Shift+Enter` | 插入换行(也可用 `Ctrl+J`|
79-
| `Ctrl+V` | 从剪贴板粘贴图片 |
80-
| `Esc` | 中断当前模型回复 |
81-
| 连续 `Ctrl+D` | 退出 |
63+
| 斜杠命令 | 操作 |
64+
|-------------|----------------------------------|
65+
| `/` | 打开 skills / 命令菜单 |
66+
| `/new` | 开始新对话 |
67+
| `/resume` | 选择历史对话继续 |
68+
| `/continue` | 继续当前对话,或选择历史对话恢复 |
69+
| `/model` | 切换模型、思考模式和推理强度 |
70+
| `/raw` | 切换显示模式(Normal / Lite / Raw 滚动回溯) |
71+
| `/init` | 初始化 AGENTS.md 文件 |
72+
| `/skills` | 列出可用 skills |
73+
| `/mcp` | 查看 MCP 服务器状态和可用工具 |
74+
| `/undo` | 将代码和/或对话恢复到之前的状态 |
75+
| `/exit` | 退出(也可用连续 `Ctrl+D`|
76+
77+
| 按键 | 操作 |
78+
|---------------|--------------------|
79+
| `Enter` | 发送消息 |
80+
| `Shift+Enter` | 插入换行(也可用 `Ctrl+J`|
81+
| `Ctrl+V` | 从剪贴板粘贴图片 |
82+
| `Esc` | 中断当前模型回复 |
83+
| 连续 `Ctrl+D` | 退出 |
8284

8385
## 支持的模型
8486

@@ -111,6 +113,11 @@ Deep Code 支持 MCP(Model Context Protocol),可以连接 GitHub、浏览
111113

112114
详细配置指南:[docs/mcp.md](docs/mcp.md)
113115

116+
### 如何配置 Deep Code 任务完成后发送通知?
117+
118+
当 AI 助手完成一轮任务后,Deep Code 可以自动执行一个通知脚本,将任务结果发送到你指定的渠道(如 Slack、系统通知等)。
119+
120+
详细配置指南:[docs/notify.md](docs/notify.md)
114121

115122
### 是否支持 Coding Plan?
116123

src/cli.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,15 @@ if (args.includes("--help") || args.includes("-h")) {
4141
" ctrl+x Clear pasted images",
4242
" esc Interrupt the current model turn",
4343
" / Open the skills/commands menu",
44+
" /skills List available skills",
45+
" /model Select model, thinking mode and effort control",
4446
" /new Start a fresh conversation",
4547
" /init Initialize an AGENTS.md file with instructions for LLM",
4648
" /resume Pick a previous conversation to continue",
4749
" /continue Continue the active conversation, or resume one if empty",
50+
" /undo Restore code and/or conversation to a previous point",
51+
" /mcp Show MCP server status and available tools",
52+
" /raw Toggle display mode for viewing or collapsing reasoning content",
4853
" /exit Quit",
4954
" ctrl+d twice Quit",
5055
].join("\n") + "\n"

0 commit comments

Comments
 (0)