goatliamia/dsh-runtime

不要让 Model 为确定性问题反复思考,也不要让 Harness 为不确定的问题假装知道答案

Project Overview项目介绍

dsh-runtime is a native plugin built exclusively for DeepSeek Harness (DSH), that adds a set of lightweight runtime capabilities to the DSH platform. It does not build a new standalone agent or add extra prompts, skills, or rules to teach the model new capabilities. Instead, it handles problems that DSH can already determine deterministically, so the model does not need to keep guessing about them. Examples of these problems include checking if an action can run right now, if the last step actually changed anything, if an operation succeeded despite a tool error, and if repeated actions are still making progress. To install, you download the release tarball from GitHub and run the DSH plugin add command with your profile and the tarball path, then verify installation with a dump config command.

After installation, regular users do not need to manually select individual capability packages. All configuration is done through the DSH settings page, where you can pick a runtime mode (Off, Minimal, Balanced, Strict) and a scene preset (Creative, Coding, External, Safe) based on your use case. Developers who only need a subset of the available capabilities can install individual capability tarballs from the repository’s release folder instead of the full package. This plugin is designed for all DSH users, from regular users who use DSH for daily tasks to developers who are testing new DSH functionality, as it streamlines the DSH runtime workflow by offloading deterministic work from the model.

dsh-runtime is currently an experimental collection of capabilities, released under the open source MIT license. It does not aim to replace DSH’s core runtime or become a new agent framework; all capabilities are added based on observation and validation of real-world problems. It depends entirely on DSH’s session event stream to derive facts about runs, so it does not need to maintain a separate world state of its own. All conclusions the plugin provides are folded directly from the existing event stream, which keeps integration lightweight and avoids sync issues between separate state stores. After first installation, users can run a simple dump config command to confirm that all capabilities loaded correctly.

dsh-runtime 是专为 DeepSeek Harness 开发的原生插件,提供一组轻量运行时能力,专门处理模型无需反复猜测、可由 Harness 直接确定结论的问题。比如判断操作是否可立即执行、上一步是否真的产生变更、工具报错后操作是否实际生效、重复操作是否仍有进展等。它安装后集成在 DSH 原生运行流程中,不会构建独立 Agent,也不通过额外提示、技能或规则教模型新能力。

普通用户安装后可直接在 DSH 设置页面选择运行模式(关闭、极简、均衡、严格)和场景预设(创作、编码、外部交互、安全),无需手动挑选单独的功能包。开发者如果只需要部分能力,也可以单独安装 release 目录下的单个能力压缩包。该插件面向所有 DSH 用户,无论你是普通用户使用 DSH 处理日常任务,还是开发者测试 DSH 新能力,都可以通过它优化运行流程。

该插件当前还是实验性集合,遵循 MIT 许可开源,它的目标不是替换 DSH 原生运行时或打造新的 Agent 框架,所有能力都来自对实际问题的观察和验证。它依赖 DSH 的会话事件流获取运行事实,不需要额外维护独立的世界状态,所有结论都从事件流折叠得出。用户首次安装后可通过 dsh --profile <your-profile> --dump-config 命令验证是否安装成功。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 9 stars - very few users, little community feedback星标只有 9,几乎没人在用,遇到问题缺少社区反馈
  • No DSH plugin manifest detected - it may only carry the dsh-plugin topic, so the install method must be confirmed on the spot未检测到 DSH 插件清单:可能只是打了 dsh-plugin 话题,安装方式要现场确认
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

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

CLI Install命令行安装

dsh plugin --profile web add dsh-runtime-0.1.0.tgz

把 goatliamia/dsh-runtime 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

DSH Runtime

English | 中文

Let the model do the thinking; let the Harness handle what can be determined.

dsh-runtime is a set of small Runtime capabilities for the DeepSeek Harness.

It does not try to build a new Agent, and it does not try to teach the model everything through more prompts, skills, or rules.

It handles one class of problems:

Problems the model should not keep guessing about, because the Harness can already determine them.

For example:

  • May this action run right now?
  • Did the last step actually change anything?
  • The tool reported an error — but did the operation actually happen?
  • The tool reported success — did the target state actually take effect?
  • An action has been repeated many times — but is anything actually moving forward?

Install

One command installs everything (all capabilities ship in one package; then pick the mode / scene preset / custom toggles in the settings page):

# download release/dsh-runtime-0.1.0.tgz from the GitHub page, or clone the repo first
dsh plugin --profile <your-profile> add dsh-runtime-0.1.0.tgz

dsh --profile <your-profile> --dump-config should list runtime-progress / circuit / reconcile / investigate / seam — that is success.

  • Users never pick packages: modes (Off / Minimal / Balanced / Strict), scene presets (Creative / Coding / External / Safe) and custom toggles all live in the Runtime settings page;
  • Developers, per capability: release/ also carries the five individual tarballs (progress + circuit + reconcile + investigate + seam), for when only some capabilities are wanted;
  • Developers rebuild: run node scripts/pack-release.mjs after code changes to regenerate release/.

How does it work?

A tool call produces four things. Runtime owns the last two:

the model calls a tool        <- not the Runtime's layer
the session records an event  <- DSH Session
Runtime folds events into facts
policy decides whether to speak

The distinction that matters:

tool error   ≠   effect didn't happen
tool success ≠   effect happened

A concrete case: pwsh exits 0 and the command really did run, but the change did not take effect (it wrote somewhere else, or a later step overwrote it). From the events:

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-deepcanary 下一个 Next html-doc-center →