快速了解
它能做什么
面向 DeepSeek Harness 的有界工程编排插件,包含规划、执行、评估和恢复角色。
本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。
Web Profile
Tested with @deepseek-ai/dsh 0.1.5-rc.2; Node.js >=22.19.0
证据已验证
核对日期 2026/9/13 UTC 14:15
选择前先看
Orbit 为 DeepSeek Harness 添加 OrbitService 与 orbit_controller 工具。它以确定性的“规划 → 执行 → 评估”流程监督目标,并提供有界纠正与恢复;cx_controller 仍可作为旧版别名使用。
适合谁
希望以可恢复、结构化方式运行多步骤工程目标,而不是使用无限制代理循环的 DeepSeek Harness 用户。
常见任务
- 以批准的循环预算和工作区硬约束运行工程目标。
- 从持久化状态恢复被中断的 Orbit 任务。
- 通过 status 操作查看任务阶段、计划、剩余预算或最近错误。
- 当另一浏览器插件提供 agent_browser 时,运行声明浏览器能力的计划步骤。
权限与数据
Orbit 会协调 DSH 子代理,并在项目工作区保存执行状态。
权限- Commander 和 Watchdog 使用只读工具白名单。
- Executor 使用已配置的可写工具白名单。
- 只有声明 browser 能力的步骤才会加入浏览器工具。
- 持久化运行状态保存于 <project>/.cx/state.json。
- 活动任务的模型路由会冻结保存到 state.routes。
- 使用用户配置的 DeepSeek Harness 模型路由。
- 可选浏览器能力需要单独的插件注册 agent_browser。
- 软件包不包含凭据;请在自己的 DSH 环境中配置提供商路由和凭据。
局限
- 现有证据仅说明其与 DSH 0.1.5-rc.2 测试过,未证明与其他 Harness 版本兼容。
- 未找到 npm 包版本;请使用已验证的 Git bundle 路径。
- 未由单独浏览器插件提供 agent_browser 时,浏览器步骤无法运行。
- 这是社区插件,未获 DeepSeek 关联或认可。
DSHub 已核对
- 固定提交中的仓库包含结构已验证的 @kasenri/dsh-orbit 0.5.0 DSH bundle。
- Bundle patch 会插入 dsh-orbit 插件。
- 软件包声明 Node.js >=22.19.0 以及所需的 DSH peer dependencies。
DSHub 未核对
- 本次整理未实际执行安装。
- 未独立测试运行时行为、模型提供商配置或恢复行为。
固定版本安装
安装 Orbit for DeepSeek Harness
这个Plugin Bundle没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。
维护者原文
项目 README
@kasenri/dsh-orbit
This repository is an installable release mirror for @kasenri/dsh-orbit 0.5.0. Canonical source: https://github.com/KasenRi/dsh-orbit-browser-plugins/tree/main/packages/orbit Do not develop features here; publish changes from the canonical source monorepo. Community plugin for DeepSeek Harness (DSH). Not affiliated with or endorsed by DeepSeek.
Orbit — Deterministic Engineering Orchestration for DeepSeek Harness
Orbit is a deterministic engineering orchestration runtime for DSH, implemented as a Cordis plugin:
- an
OrbitServiceonctx.orbit - a model-facing
orbit_controllertool (cx_controllerremains a legacy alias) - recoverable tool guards
Goal
│
▼
OrbitService
└─ Deterministic Supervisor
├─ Commander (plan / step & final evaluation / strategy reconsider)
├─ Executor (one engineering step at a time)
└─ Smart Watchdog (runtime diagnosis and recovery)
Every child role runs on DSH's native ctx.subagents service; durable state
lives in <project>/.cx/state.json.
Orbit is a bounded, self-converging engineering execution track:
PLAN → EXECUTE → EVALUATE → CORRECT / RECOVER → SUCCESS
It is not a timer loop, an infinite auto-continue, a pure reviewer, a pure planner, or an agent swarm. It is a deterministic supervisor plus Commander, Executor, Smart Watchdog, durable state and bounded recovery.
Requirements
| Component | Tested with |
|---|---|
@deepseek-ai/dsh |
0.1.5-rc.2 |
@deepseek-ai/cordis |
4.0.2 |
| Node.js | >= 22.19.0 |
Requires the DSH base services: agents, subagents, tools, sessions
(the standard/web profile provides them).
Install
Install the current stable Git source so DSH can compare the locked commit with repository HEAD:
dsh plugin --profile web add github:KasenRi/dsh-orbit
The canonical source monorepo also keeps versioned GitHub Release tarballs for manual or offline installation.
Usage
The orbit_controller tool drives the run:
| Action | Meaning |
|---|---|
run / start |
Start a run for a goal (or continue the current one). |
resume |
Continue the persisted run after an interruption. |
status |
Inspect phase, plan, loop budget and last error. |
stop |
Close the run. |
doctor |
Read-only environment and configuration checks. |
// orbit_controller
{
"action": "run",
"goal": "…",
"approved_loop_count": 4,
"user_hard_constraints": ["only touch src/"]
}
Activation
Orbit supports three activation styles:
/agent-orbit <goal>— deterministic slash-command activation. In the Web GUI it appears in the/menu (Run a goal with Orbit deterministic engineering orchestration); on headless/CLI surfaces a genuine user message that starts with/agent-orbitactivates Orbit directly. The original command line stays visible in the conversation, the goal is passed through without rewriting, and no goal asks for one instead of starting an empty run.orbit模式— recommended natural-language activation, e.g. “用 orbit模式完成这个项目”.cx模式— legacy compatibility; still resolves to Orbit.
All three routes converge on the existing orbit_controller tool and
OrbitService; the activation layer never starts a run of its own.
Model configuration (Web)
The Orbit model control sits immediately left of the native composer model
seat (conversation.input.right renders before conversation.input.model).
Its button names the Commander's model; the menu edits three roles:
- Commander and Watchdog pick from the same native model catalog and
persist into the DSH
orbitsettings namespace (settings.yaml), with the compositionconfig.routesas the base/default. Switching a model uses that model's own default reasoning effort — a previous model's effort is never inherited. - Executor follows the current session model ("Follows current session
model"). Both the Orbit row and the native seat read and write the SAME
per-session
ModelDirectory, so a change in either place updates the other.
A new run resolves its routes exactly once — Commander/Watchdog from orbit
settings, Executor from the initiating session's current selection, each
falling back to config.routes — and freezes them into state.routes.
Changes made while a run is active apply to the next run; resumed runs keep
their frozen routes. Headless/CLI profiles without a settings provider keep
running from config.routes unchanged.
State machine
PLAN → EXECUTE → EVALUATE → SUCCESS
│
├─ correction (bounded per step)
├─ append (bounded by remaining loop budget)
├─ NEEDS_USER
└─ BUDGET_EXHAUSTED
- Only a normally completed Executor step consumes one loop from the budget.
- Corrections are limited per base step and reserve budget for the remaining planned steps.
- Commander decisions are validated in code (
PASS_CURRENT_STEP/CORRECT_CURRENT_STEP/NEEDS_USERfor step evaluation,SUCCESS/APPEND/NEEDS_USERfor final evaluation,KEEP_APPROACH/REPLACE_CURRENT_STEP/NEEDS_USERfor strategy reconsider). - Commander runs under an adaptive timeout: a soft review at 360s, a second review at 600s and a deterministic hard ceiling at 840s; an extension always keeps the same child.
- The Smart Watchdog is only invoked on runtime anomalies, performs at most two diagnoses per step, and can resume the same child or restart the step with a fresh one after interrupting the old child.
- Blocked tools are recoverable: a guard denial stops that single call, not the turn or the run.
Safety boundaries
- Commander and Watchdog receive read-only tool allowlists.
- Executors receive the configured writer allowlist; browser tools are added
only for steps that declare the
browsercapability. - While Orbit owns a workspace, other top-level autonomous drivers
(
create_goal,ralph,workflow) are refused, and Orbit refuses to start while an active goal driver owns the same workspace. .cxdurable state is written only by the Orbit service (atomic write, short lock transaction, monotonic revision).
Configuration
| Key | Default | Meaning |
|---|---|---|
projectDir |
session cwd | Project the run operates on. |
routes.commander |
deepseek-official / deepseek-v4-pro / high |
Commander model route. |
routes.executor |
deepseek-official / deepseek-v4-flash / high |
Executor model route. |
routes.watchdog |
deepseek-official / deepseek-v4-flash / low |
Watchdog model route. |
executorTools |
read/glob/grep/bash/edit/write/… | Executor allowlist. |
browserTools |
["agent_browser"] |
Browser capability tool names. |
commanderReadOnlyTools |
read/glob/grep/web… | Commander allowlist. |
watchdogTools |
read/glob/grep | Watchdog allowlist. |
executorTimeoutMs |
480000 |
Deterministic executor runtime timeout. |
registerTool |
true |
Register the orbit_controller tool and the legacy cx_controller alias. |
registerGuards |
true |
Register recoverable tool guards. |
slashCommand |
true |
Register the /agent-orbit host command and the gesture boundary. |
Routes are normal DSH model routes; configure them for your own provider and model identifiers. No credentials are included in this package.
Optional browser capability
Orbit does not depend on @kasenri/dsh-browser. A plan step that declares
capabilities: ["browser"] needs the agent_browser tool to be registered by
the browser plugin; otherwise Orbit reports BROWSER_CAPABILITY_UNAVAILABLE and
lets the Commander decide what to do. Install both packages to use that path:
dsh plugin --profile web add github:KasenRi/dsh-browser
dsh plugin --profile web add github:KasenRi/dsh-orbit
Migrating from dsh-cx
| CX | Orbit |
|---|---|
dsh-cx |
dsh-orbit |
@kasenri/dsh-cx |
@kasenri/dsh-orbit |
cx_controller |
orbit_controller |
| CX mode | Orbit mode (orbit模式; cx模式 still works) |
ctx.cx |
ctx.orbit (same OrbitService instance; ctx.cx remains an alias) |
.cx/state.jsonremains unchanged.- Legacy
cx模式remains supported. - Existing durable runs do not need migration: Orbit reads the same
.cx/state.json, including historicalCX_*error strings. .cxis retained as the durable execution state path for backward compatibility with existing CX projects.
License
MIT
有意识地管理
安装与管理
前置条件与目标 Profile
目标: Web Profile
交付方式: Git Bundle — KasenRi/dsh-orbit#ce728128287724ab2b1b41a7eb005fc1b42cab0f。
验证、更新与移除
显示生命周期命令
dsh plugin --profile web list兼容性与访问范围
DeepSeek Harness bundle; web client support declared: Tested with @deepseek-ai/dsh 0.1.5-rc.2; Node.js >=22.19.0。
风险事实
证据与编辑审查Manifest、Bundle patch、分发与新鲜度
不可变证据
审查状态与源码活动
这是 MIT 许可的社区发布镜像;在可写项目中使用前,请审查 Executor 配置的工具白名单。
AI 审查于 2026/9/13 UTC 14:15。GitHub 事实核对日期: 2026/9/13 UTC 14:15。
自当前证据基线以来,没有记录到重要源码变化。