DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

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

@kingjazz/dsh-sage-router

Sage Router

作为 DeepSeek Harness 插件的 SAGE 路由:面向进度的 SELF/HANDOFF/COLLABORATE 路由,以及用于 A2A 代理网络的任务 DAG 调度

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

npx -y @deepseek-ai/dsh plugin --profile web add @kingjazz/dsh-sage-router@0.1.0
README兼容性版本

兼容性与来源证明

Sage Router 以 @kingjazz/dsh-sage-router 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.0stable
2026/8/26

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
287.2 kB
文件数
67
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
11
最近提交
2026/8/26
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Headless@deepseek-ai/dsh-headlessdsh one-shot bundle:基于 dsh-base 的直接核心 Agent/Session 运行器,不包含 Host、HTTP 或浏览器层Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Subagent Codex@deepseek-ai/dsh-subagent-codex基于官方 app-server 协议的一次性 Codex 子代理提供程序Subagent Claude Code@deepseek-ai/dsh-subagent-claude-code基于官方 Agent SDK 的一次性 Claude Code 子代理提供方

README

dsh-sage-router

SAGE routing as a DeepSeek Harness plugin. The plugin exposes sage_route_task and sage_orchestrate_task, and keeps model/provider credentials in the host Harness profile; no credential is stored in this package.

Real LLM smoke

The fixed smoke baseline is @deepseek-ai/dsh 0.1.1-rc.2. Build and install the bundle into a profile, then run the opt-in install/config/model smoke:

pnpm install --frozen-lockfile
pnpm run build
SAGE_DSH_BIN=dsh SAGE_DSH_PROFILE=headless SAGE_DSH_VERSION=0.1.1-rc.2 pnpm run smoke:harness

SAGE_DSH_BIN is useful when more than one global dsh installation is on PATH. The command must point to the same Harness CLI/profile that owns the configured provider and credentials. smoke:harness runs dsh plugin add, verifies --dump-config, checks the fixed CLI version, and asks the real model to call sage_route_task once.

The ordinary pnpm test suite skips the model call unless SAGE_LLM_SMOKE=1 is set.

Subagent execution

The plugin exposes sage_orchestrate_task. Keep autoOrchestrate: false for route-only operation. When enabled, each declared agent may set provider and model for its LLM, plus subagentProvider: spawn or fork for the Harness child backend. maxDelegationDepth defaults to 1 and is passed to the Harness depth-limit seam. Child cancellation, tool filtering, and lifecycle ownership remain enforced by ctx.subagents.

Event persistence and recovery

When the calling Agent has a Harness session, the plugin can append four log-only event types: sage/route, sage/execution, sage/outcome, and sage/model-update. They contain route identifiers, declared Agent IDs, requirement names, scores, costs, latency, error codes, and numeric learning state only; prompts, credentials, files, tool arguments, and child transcripts are not persisted by SAGE.

These session-log appends are off by default (sessionEventLog: false). Harness builds that do not know the sage/* types refuse to resume any session whose log contains them unless each event is marked ignorable, and current Harness releases give plugins no way to set that marker — writing unmarked custom events permanently breaks resume for that session. Enable sessionEventLog: true only on a Harness that natively supports these types or ignorable/registered custom events. Learning state does not depend on this option: it is stored through the storage domain regardless.

If the Harness storage-domain service is loaded, the plugin stores the latest learning snapshot under the sage_router_learning domain. Revisions use compare-and-set semantics, so a stale process cannot overwrite newer learning. Session events (when present, including historical logs) can be folded to restore route assignments and the last consistent learning revision. If an append or flush fails, orchestration returns persistenceUncertain: true instead of reporting a durable success.