dsh-vscode
Use DeepSeek Harness (DSH) directly inside the VS Code sidebar by embedding its web UI. Auto-starts `dsh web`, reuses an existing server, and reopens your most recent session.
AI 分析
核心用途是将 DSH 聊天界面无缝集成到 VS Code 编辑器侧边栏中。适合开发者在编写代码时快速调用 AI 辅助,无需切换窗口。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗配置
开箱即用:默认 dsh.command = dsh、dsh.args = ["web"]、dsh.cwd = ""——适配 npm i -g @deepseek-ai/dsh 后 dsh 在 PATH 上的用户,且默认复用已运行的 DSH。
| 设置 | 默认 | 说明 |
|---|---|---|
dsh.command | dsh | 启动 DSH 的可执行文件 |
dsh.args | ["web"] | 传给 command 的参数 |
dsh.cwd | "" | 进程工作目录(空 = 继承 VS Code) |
dsh.host | 127.0.0.1 | 绑定主机(侧栏只能嵌入 loopback) |
dsh.port | 3080 | 监听端口 |
dsh.autoStart | true | 视图可见且无服务时自动启动 |
dsh.reuseExisting | true | 优先复用已运行的 DSH |
dsh.resumeRecent | true | 打开时恢复最近一条非空会话 |
dsh.startupTimeoutMs | 30000 | 启动后等待可达的时长 |
源码 checkout(dsh 不在 PATH 上),在 VS Code 设置里加:
{
"dsh.command": "pnpm",
"dsh.args": ["run", "dsh", "web"],
"dsh.cwd": "/path/to/deepseek-harness"
}