DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Mission — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

@qiaoy01/mission

Mission

DeepSeek Harness 的持久化长时域自主任务运行时:依赖 DAG、独立验证、失败时重新规划、租约所有权。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add @qiaoy01/mission@0.2.0
README兼容性版本

兼容性与来源证明

Mission 以 @qiaoy01/mission 发布,当前版本为 0.2.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/8/22

版本

0.2.0stable
2026/8/22

相关插件

正在加载相关插件…

最新版
0.2.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
106.2 kB
文件数
33
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 2
周下载
0
最近提交
2026/8/22
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 agents-orchestration 分类下经过校验的插件。

Agency Agents@michengai/dsh-agency-agentsAgency Experts — 可召唤的领域专家名册,适用于 DSH(专家模式)Headless@deepseek-ai/dsh-headlessdsh one-shot bundle:基于 dsh-base 的直接核心 Agent/Session 运行器,不包含 Host、HTTP 或浏览器层Automation@michengai/dsh-automation在独立 DSH Session 中按计划执行编码任务,支持 Web 设置页与 Agent 双入口管理。Auto Reviewdsh-auto-review针对 DeepSeek Harness 审批请求的第二模型 AI 自动审查:只读审查子代理在审批应答链上决定允许或拒绝,并采用故障关闭回退机制和完整的会话日志审计。

README

dsh-mission

A long-horizon autonomous mission runtime for DeepSeek Harness — lets an agent drive a long-term objective over days: a cross-session, independently verifiable, replan-on-failure, crash-recoverable autonomous control loop. The dependency DAG is one of its driving mechanisms, not the runtime itself.

English | 中文

What it is

dsh-mission is a pure-TypeScript cordis plugin for DeepSeek Harness that provides the long-horizon autonomous mission runtime dsh lacks: a durable, verifiable, crash-recoverable control loop that breaks a long-term objective into a dependency DAG of tasks and advances it autonomously — instead of finishing everything in one conversation.

Core principle: agents propose, the environment adjudicates, the runtime commits.

  • Agent plans, executions, and claims are never authoritative;
  • For every work item: task/report is a declaration about the environment (not authoritative); task/verify independently aligns the declaration with environment feedback (authoritative);
  • Workers cannot self-certify — only state changes that pass deterministic validation and commit atomically as a single session event are authoritative.

Why dsh needs it

What dsh already hasWhat dsh-mission adds
goal (single-objective ledger, caller self-certifies)Dependency DAG + derived readiness/blocked, failed branches replan while DONE work is preserved
workflow (one-shot fan-out scripts)Durable, resumable, cross-session task state machine
schedule (pure time triggers)Dependency triggers (upstream DONE → downstream READY)
subagent (execution unit)Independent verification — workers cannot self-certify, report ≠ verify
—Lease ownership + lazy reclamation + crash recovery

Features

  • Event-sourced persistence: mission/* session events; one event = one atomic commit; no separate database;
  • Version guard: revision CAS (mirrors dsh-goal's GoalRef pattern);
  • Autonomous driver host (mission-driver): listens to mission/changed and runs claim → subagent execute → report → verify → commit automatically;
  • Lazy lease reclamation: an expired, unreported claim can be reclaimed and redone; an in-flight task guard prevents duplicate dispatch;
  • Replan on failure: a stuck mission gets a new revision while DONE tasks with unchanged specs carry over;
  • Optional model strategies: llmDecider (pick the next task) / llmReplanner (replan) / userApprovalGate (approval gate);
  • UI data plane: a mission session-projection unit;
  • Trigger companion (mission-trigger): a soft-guidance prompt + /mission slash command that routes trigger phrases into mission_create/mission_plan;
  • Tolerant companion: mission-invariant registers its audit whenever the invariants service exists, and is a no-op otherwise (production profiles load without extra configuration).

Event vocabulary (mission/*)

EventMeaning
mission/createdCreate a mission
mission/plan-committedCommit a full plan snapshot (revision +1; DONE tasks with unchanged specs carry over)
mission/task-claimedClaim a task with a lease
mission/task-reportedThe agent's declaration about the environment (never DONE by itself)
mission/task-verifiedIndependently align the declaration with environment feedback → DONE/FAILED
mission/cancelledExplicit cancellation

States: mission CREATED / RUNNING / COMPLETED / FAILED / CANCELLED; tasks PENDING / CLAIMED / DONE / FAILED + derived READY / BLOCKED.

Install & use

# Install from npm (published; inserts a 6-row bundle patch into the composition)
dsh plugin --profile <name> add @qiaoy01/mission

Install from source (for contributors)

The published npm package ships prebuilt (lib/), so consumers only need the one command above. Build from source when you want to modify or review the code:

git clone https://github.com/qiaoy01/dsh-mission.git
cd dsh-mission   # the bundle lives at this repo root
npm install                                # build deps, pinned to the running-harness peer versions
npm run build                              # typecheck + emit lib/
dsh plugin --profile <name> add file:.

file:. points at the repo root you just cd'd into — whose package.json declares dsh.bundle.patch → cordis.patch.yml. After changing source, re-run npm run build and re-add the package.

In a session, the agent drives the mission through four model tools: mission_create (create a mission), mission_plan (commit a task DAG; revision must equal current + 1), mission_status (read the current state), and mission_cancel (cancel the mission).

After the model commits a plan, the runtime takes over: mission-driver claims tasks, dispatches real subagents, and verifies independently. The model should not execute tasks itself.

Quick start (30 seconds)

# 1. install the plugin into a dsh profile
dsh plugin --profile web add @qiaoy01/mission

# 2. in a session, ask the agent:
#    "mission: build a small web game. Use mission_create, then mission_plan,
#     then stop — the runtime will execute the tasks."
#
# The model creates and plans; mission-driver claims tasks, dispatches real
# subagents, and independently verifies each one until the mission is COMPLETED.

Defaults are conservative (deterministic task selection, no automatic replan — zero model cost). Enable model strategies via the profile row config:

- id: mission-driver
  config:
    decider: llm     # the model picks the next task
    replan: true     # the model replans when the mission is stuck

Build & test

npm run build          # auto-discovers a local tsc; typecheck + emit to lib/
# Six test suites, all run in isolation:
node --experimental-strip-types tests/domain.test.mjs    # pure domain model
node tests/service.test.mjs                               # runtime (real cordis/session/agent)
node tests/driver.test.mjs                                # driver loop (mock executor)
node tests/driver-host.test.mjs                           # driver host (stubbed subagents)
node tests/trigger.test.mjs                               # trigger companion (soft guidance + /mission)
node --experimental-strip-types tests/projection.test.mjs # session-projection unit

Status

  • Stage A (domain model) ✅ · Stage B (service + tools + companion) ✅ · Stage C (driver loop) ✅ · Stage D (replan / lease reclamation / model decisions / approval gate) ✅ · Stage E (projection ✅, browser UI pending);
  • Verified in a real composition: a 7-task DAG driven end-to-end by real subagents to COMPLETED, every task independently verified, zero failures and zero duplicate dispatches.

License

MIT — see LICENSE.