DSH Plugins
返回列表
🖥️

dsh-cli

客户端 更新于 2026.08.18

在终端中运行以下命令:

dsh plugin install studyinglx/dsh-cli

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 中执行 dsh plugin install studyinglx/dsh-cli 即可安装本插件,完整源码地址:https://github.com/studyinglx/dsh-cli

插件介绍

The official dsh-headless profile is built for a single-shot pattern: submit a task, print the result, exit. The moment you need to follow up, course-correct mid-run, or let the agent autonomously chain multiple tool calls, you are back to cold-starting the process and losing context. dsh-cli turns DeepSeek Harness into a Claude Code-style interactive terminal on headless servers: a persistent REPL where the same agent talks back and forth, responses stream in real time, approval prompts are answered inline with y/n, and every completed turn is flushed to disk so you can --resume where you left off.

The interaction layer focuses on the details that matter in a terminal: input typed while the agent is still running is queued and sent on the next turn, Tab completes slash commands and model names, arrow keys scroll input history, and Ctrl-C cancels the current turn without killing the process. Visually, TTY output gets colored Unicode boxes, inline tool-activity lines, and step separators; under a pipe or NO_COLOR it degrades cleanly to plain text so cron jobs and shell pipelines stay grep-friendly. The --once flag lets the same binary serve both interactive sessions and one-shot scripts.

Best suited for developers who keep a DeepSeek workload running on a remote Linux box, prefer a pure-terminal workflow over a browser, or need tmux to babysit an agent that autonomously chains tools for tens of minutes. No Host, HTTP, or browser plugins are mounted; the bundle stays lean with zero extra network dependencies.

使用场景

  • 在无头服务器上以 Claude Code 风格持续与 agent 多轮对话
  • 长任务用 tmux 保活,期间流式查看工具调用与审批
  • shell 管道或脚本中以 --once 一次性执行任务后退出

适合人员

  • 在远程 Linux 服务器上运行 DeepSeek Harness 的开发者
  • 偏好纯终端工作流、不使用浏览器 UI 的用户
  • 需要 tmux 或 systemd 值守多分钟级 agent 任务的团队