DeepSeek Harness 插件

oh-my-dsh-liumengx

Oh My DSH: bounded autonomous orchestration and dynamic Cordis self-extension for DeepSeek Harness(英文原文)

跳到安装方式

来源信息

GitHub 仓库
LiuMengxuan04/oh-my-dsh
最近更新
2026年8月15日
分类
工具与能力
GitHub stars
10
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/LiuMengxuan04/oh-my-dsh
插件名:oh-my-dsh-liumengx
作者:LiuMengxuan04

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

<p align="center"> <img src="./assets/dsh-autopilot-logo.png" width="220" alt="Oh My DSH logo"> </p>

<h1 align="center">Oh My DSH</h1>

<p align="center">A durable control layer for long-running development work in DeepSeek Harness.</p>

<p align="center"><strong>(also known as DSH Autopilot · npm package: <code>dsh-autopilot</code>)</strong></p>

<p align="center"> <a href="./README.zh-CN.md">简体中文</a> · <a href="./docs/architecture.md">Architecture</a> · <a href="./docs/autonomy-and-security.md">Security</a> · <a href="./docs/testing.md">Testing</a> </p>

DeepSeek Harness already knows how to keep a Goal moving. Oh My DSH adds the parts that become important when a task lasts longer than one model turn: a persistent task graph, bounded workers, fixed completion checks, recovery, and a final report that is not left to chance.

Developer preview

0.1.0-alpha.3 is a prerelease for developers testing DSH and its plugin system. DSH itself is still under active development. Public APIs, plugin composition, configuration, and stored state may change incompatibly between prerelease versions.

Use an isolated profile, keep backups of important work, and install the exact supported versions:

  • DeepSeek Harness 0.1.0-rc.6
  • Cordis 4.0.1
  • Node.js ^22.19.0 || >=24.0.0

This is an independent community project. It is not an official DeepSeek product.

What it is for

Native Goal mode is a good fit when the job is simply “keep going.” Autopilot is useful when the job also needs a plan that survives restarts, dependency ordering, delegated work, evidence, and an explicit completion gate.

An Autopilot run provides:

  • a durable lease with round, duration, verification, package, and worker limits;
  • a requirements interview followed by a fixed three-role plan review;
  • a persistent DAG with dependencies, attempts, blockers, and evidence;
  • managed one-shot delegation, continuable Team workers, bounded Ralph loops, fixed Workflows, and Mission queues;
  • frozen project checks and fresh read-only completion reviewers;
  • recovery after compaction, Agent errors, plugin reloads, and process restarts;
  • pause, resume, stop, audit, and completion records;
  • a text dashboard for the Goal, DAG, workers, verification, budgets, and cleanup state.

When state cannot be reconciled safely, the run stops in needs-attention instead of guessing.

Quick start

Install the prerelease from npm into an isolated DSH profile:

dsh plugin --profile web add dsh-autopilot@next
dsh --profile web --dump-config
dsh plugin --profile web exec dsh-autopilot doctor --profile web

Open a top-level DSH session in the project you want to change, then start a run:

/autopilot start --rounds 256 --duration 2d Implement the requested change, add focused tests and documentation, run the repository checks, and report file-and-command evidence.

Autopilot commands are explicit. Bare /autopilot is not an alias for status or start.

/autopilot status
/autopilot dashboard
/autopilot audit --limit 20
/autopilot pause
/autopilot resume [--duration 1d]
/autopilot stop

pause preserves the run but disarms its Goal and runtime. resume is a human action. stop revokes the run and clears the matching native Goal without deleting the DSH transcript or Autopilot audit history.

The normal flow

1. Autopilot interviews the request and records the answers. 2. It writes a dependency graph and sends the plan through three fixed plan reviewers. 3. Ready tasks run locally or through managed workers. Each completed task must carry evidence. 4. Autopilot freezes the completion policy and runs the selected project checks. 5. Fresh read-only reviewers inspect the result. A failed gate opens a repair cycle; a passing gate completes the exact Goal and delivers the final report.

The shipped profile defaults to 1,024 Goal rounds and seven active days. Deployment ceilings are 4,096 rounds and 30 active days. Paused time does not consume the active-time lease. The profile also limits verification attempts, dynamic packages, subagent starts, and the size of each managed dispatch or reviewer fan-out.

Project-check discovery is finite and manifest-based. The selected checks, workspace, and relevant root-manifest hashes are frozen for the run. If a root manifest changes, verification reports the drift instead of silently selecting a different check set.

Seeing the DAG

The dashboard is currently text-based; it is not a custom Web graph.

Run:

/autopilot dashboard

The snapshot shows task dependencies and states alongside the Goal, workers, verification results, budgets, and outstanding cleanup. It is generated on request and does not open automatically when a run finishes.

Use /autopilot status when you need the complete machine-readable run view. Use /autopilot audit --json carefully: audit data can include objectives, evidence, findings, and trusted Host source.

Security and authority

  • Autopilot does not replace DSH permissions or native Goal ownership.
  • Client Cordis code still goes through DSH's native approval flow.
  • selfModification is off by default.
  • host-only Cordis code runs inside the DSH process. The Cordis VM is not a security sandbox. Enable this mode only in a trusted, disposable, credential-free environment or behind operating-system isolation.
  • Cleanup debt blocks later model work until managed resources are removed successfully.
  • Recovery is at-least-once where DSH and Autopilot cannot share one transaction. A final report may be repeated after a crash between display and acknowledgement.
  • Visual QA uses an exact origin allowlist; it is not a network sandbox.
  • Delivery prepares bounded local worktrees and command plans. It does not silently commit, push, open, merge, or ship a pull request.

Read [Autonomy and security](./docs/autonomy-and-security.md) before enabling Host self-modification, external notifications, MCP servers, browser access, or delivery integrations.

Build from source

git clone https://github.com/LiuMengxuan04/oh-my-dsh.git
cd oh-my-dsh
pnpm install --frozen-lockfile
pnpm run check
pnpm pack --pack-destination .artifacts

Install the generated tarball with dsh plugin --profile web add <tarball>.

The release checks are:

pnpm run capabilities:check
pnpm run typecheck
pnpm run lint
pnpm run test:coverage
pnpm run build
pnpm exec publint
DSH_AUTOPILOT_E2E_BROWSER_CHANNEL=msedge pnpm run test:e2e

See [Testing](./docs/testing.md) for the difference between unit, packed, and live-model evidence. The detailed implementation ledger lives in [capabilities.lock.json](./capabilities.lock.json).

To remove the plugin:

dsh plugin --profile web remove dsh-autopilot
dsh --profile web --dump-config

Removing the package does not erase existing DSH transcripts or Autopilot storage records.

Inspiration

Oh My DSH is inspired by oh-my-codex (OMX), especially its emphasis on clarifying the task before execution, keeping long-running work durable, using specialist review, and making progress visible.

This repository is an independent implementation for DeepSeek Harness. It is not affiliated with or endorsed by the OMX project. DSH remains the execution platform; Autopilot composes its public Goal, Agent, session, storage, subagent, Skill, and Cordis interfaces.

License

[MIT](./LICENSE)