dongsheng123132/dsh-terminal

DeepSeek Harness 的持久交互终端模式

项目介绍Project Overview

dsh-terminal 是 MIT 许可的 DSH 持久终端模式插件。它在多次提问间保持同一个真实 DSH Agent 与 Session,复用模型选择、工具、权限、会话日志、斜杠命令和关闭生命周期,让 Harness 可作为对话式编码 CLI 使用。适合不想只用 Web 或一次性 headless、需连续会话的场景;需 Node.js 22+,普通文本即开启新一轮。

dsh-terminal is an MIT-licensed persistent terminal mode for DeepSeek Harness. It keeps one real DSH Agent and Session alive across prompts, reusing DSH model selection, tools, permissions, session logs, slash commands, and shutdown lifecycle. Use it when you want Harness as a conversational coding CLI instead of the Web app or one-shot headless mode. Requires Node.js 22+; plain text starts another turn in the same session.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile terminal add github:dongsheng123132/dsh-terminal

dongsheng123132/dsh-terminal 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-terminal

CI MIT license Node.js 22+ Awesome DSH Plugins

An MIT-licensed persistent terminal mode for DeepSeek Harness. It keeps one real DSH Agent and Session alive across prompts, so customers can use Harness like a conversational coding CLI instead of only through the Web app or one-shot headless mode.

It reuses DSH's own model selection, tools, permissions, session log, commands, and shutdown lifecycle. There is no second agent implementation.

Install

dsh plugin --profile terminal add github:dongsheng123132/dsh-terminal
dsh --profile terminal

Plain JavaScript is committed as the package entry point, so Git installs require no build-script permission.

Commands

  • ordinary text starts another turn in the same session
  • /new starts a fresh session
  • /help lists terminal commands and DSH's registered slash commands
  • /exit or /quit closes the terminal
  • other slash commands are dispatched directly to DSH (for example /compact, /plan, or /cache when provided by dsh-cache-stabilizer)

To add cache-prefix stabilization and measured cache statistics:

dsh plugin --profile terminal add github:dongsheng123132/dsh-cache-stabilizer

Development

npm test
npm run check
上一个 Prev dsh-agent-board 下一个 Next deepseek-harness-background