dongsheng123132/dsh-terminal ↗★ 1
dsh-terminal
DeepSeek Harness 的持久交互式终端模式
AI 分析
核心用途是保持 DSH 代理和会话在多次提示词之间持续存活,实现持久化的交互式终端体验。适合需要通过命令行或终端与 DSH 进行连续、无状态丢失对话的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:dongsheng123132/dsh-terminal说明文档
阅读完整 README ↗dsh-terminal
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
/newstarts a fresh session/helplists terminal commands and DSH's registered slash commands/exitor/quitcloses the terminal- other slash commands are dispatched directly to DSH (for example
/compact,/plan, or/cachewhen provided bydsh-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