DSH Plugins
返回列表
⚙️

dsh-engineer-tools

工作流 更新于 2026.09.15

在终端中运行以下命令:

dsh plugin install bycall/dsh-engineer-tools

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

在 DSH.app 中执行 dsh plugin install bycall/dsh-engineer-tools 完成安装(源码:https://github.com/bycall/dsh-engineer-tools),安装后重启 DSH.app 即可让 Agent 调用 git 与 dev 工具。

插件介绍

Agents can technically run raw bash, but the output is often a wall of unparsed text where stdout, stderr, and exit codes blur together, and the permission boundary rests entirely on the bare command. dsh-engineer-tools takes the two highest-frequency engineering operations in daily work — git subcommands and package-manager invocations — and wraps them into structured Host Tools. Every call returns a tidy set of stdout, stderr, and exitCode fields, so the agent receives data it can act on directly instead of a log that needs a second pass of parsing.

Two tools carry the core capability. The git tool executes subcommands such as status, diff, log, branch, and show within the session workspace and returns structured result fields. The dev tool covers script invocations (test, build, lint, and more) and lifecycle commands (install, outdated, audit) across npm, pnpm, yarn, and bun; when the manager is set to auto it detects the correct tooling from the workspace lockfile. Both tools route through the dsh sandbox shell, inheriting workspace permissions and approval policies, so they never bypass the DSH.app security model.

It is built for developers who let an agent assist with day-to-day engineering tasks inside DSH.app: checking a diff between edits, kicking off a test run, or auditing a dependency list — without switching to a terminal to type the command by hand. The plugin is pure ESM with no build step, and extending it is as simple as copying one defineTool registration block inside apply(), saving the file, and restarting DSH.app.

使用场景

  • Agent 在编辑代码前后查看 git status 和 diff,无需用户手动敲命令
  • 一键运行 npm test、pnpm build、yarn lint 等脚本,结果以结构化字段返回
  • 审计依赖包(outdated / audit)并按 lockfile 自动识别包管理器执行 install

适合人员

  • 用 DSH.app 辅助日常工程事务的软件工程师
  • 希望 Agent 在沙箱内安全执行 git 与包管理命令的开发者
  • 需要结构化工具输出以便后续解析的 Agent 工作流编排者