DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@morlay/dsh-subagent

Subagent

Thin-shell fork of @deepseek-ai/dsh-subagent: takes over the `subagent` row only to replace the continuable-child return guidance with Chinese wording; everything not intentionally changed is imported from the vendored upstream source

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add @morlay/dsh-subagent@0.0.1-alpha.2
READMECompatibilityVersions

Compatibility and provenance

Subagent is published as @morlay/dsh-subagent and currently resolves to version 0.0.1-alpha.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
11/4/2026

Versions

0.0.1-alpha.2prerelease
9/24/2026

Related plugins

Loading related plugins…

Latest
0.0.1-alpha.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
545.1 kB
Files
12
Surface
web
License
MIT
Source
npm
GitHub
★ 9
Weekly downloads
632
Security scan
✓ v0.0.1-alpha.2 scan passed
Last push
11/4/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in agents-orchestration.

Hindsight Coding Agents@vectorize-io/hindsight-coding-agentsReflect-only Hindsight long-term memory for coding agents (harness-pluggable: opencode, …), with automatic background ingestion (no setup CLI).Ds Botds-botDS Bot: a team of long-lived Bots for DeepSeek Harness, with Main Bots, Bot-to-Bot messages and group chatsSkills Manager@michengai/dsh-skills-managerDSH Skills Manager — 在 DeepSeek Harness 中统一加载并安全管理本机 Agent Skills · Load and safely manage local Agent Skills in DSHArisdsh-arisARIS research-workflow skills as a DeepSeek Harness bundle: 82 skills plus cross-model adversarial review through Codex.

README

@morlay/dsh-subagent

上游 @deepseek-ai/dsh-subagent 的薄壳 fork:host 半只改一件事——continuable 子代理首条任务后面的 回报指引换成中文(上游是英文)。服务名(ctx.subagents)、providers、其余子路径(./internal 等) 与装配位置都不变。设置页那张「子代理」卡片是本包自己的 client 半(见下),不是从上游 fork 来的。

装配由本包的 bundle patch 完成(cordis.patch.yml):官方 subagent 行 disabled: true + insert subagent-fork(@morlay/dsh-subagent),并停掉官方设置卡那两条行(ui-settings-subagent 与 subagent-model-selection-settings,理由见 ADR); app 的 dsh.profile.bundles 里引用本包。

保留文件(3 个)

薄壳 fork 只留有意改过的文件,其余上游文件不复制——保留文件里指向它们的 import 走相对路径指向 vendor/deepseek-harness/packages/subagent/subagent/src/...,构建时内联进 dist/index.mjs (发布物自包含)。

保留文件(src/)保留什么
continuation-messages.ts唯一实质改动:withContinuableReturnGuidance 的中文文案(保留父 id 插值)
continuation.ts只有一行接线不同:continuation-messages.ts 指向本包那一份
index.ts接线 + 两处结构性偏离(见下)

静态 import 链决定了复制面:continuation-messages ← continuation ← index,要替换中间那一份就得 连同引用它的两个文件一起接管。原因、被否掉的路线与后果见 ADR 薄壳 fork 接管 subagent 行只改回报文案。

两处结构性偏离

  • index.ts 不复述 cordis 合并接口:上游此处 declare module '@deepseek-ai/cordis' 声明 Context.subagents 与 subagent/* 事件;本包 import type {} from '@deepseek-ai/dsh-subagent' 引用上游那一份(同形声明复述两遍会在同一个 program 里撞 TS2717)。
  • 标准装饰器在构建期降级:@Remote(...) 是 TC39 标准装饰器,rolldown/oxc 不降级它(上游管线里这步 由 tsc 完成),所以 tsdown.config.ts 里有一个 esbuild 预转换(只在检测到装饰器语法时生效)。

本包三个保留文件不做格式化(.oxfmtrc.json 的 ignorePatterns):它们与上游逐行对照是同步纪律的 守护面,格式改了那条守护就失去意义。

设置页(client 半)

src/client/ 是本包自己的代码(不与上游对照,格式照常走 oxfmt):Plugins 页里那张「子代理」卡片, 只有限额一段——递归深度(≥ 0)与并行上限(≥ 1),staged 编辑 + 保存/丢弃。

面内容
plugins.row.config(key @morlay/dsh-subagent#subagent-fork)view: 'summary' 给一句话说明;view: 'page' 给限额表单
settings namespace subagent-fork本包 host 行 id 就是 namespace 名;可编辑字段是 Config 的两个 volatile 字段
locale namespace settings.subagent卡片文案(zh + en,标题「子代理」)

装配只有两条:包声明了 dsh.client(platform: 'web')与 ./client 入口,client 半就随 app-boot 的 browser roster 一起装(不需要额外的插行);host 行被描述出来之后(configForms.whileServed(['subagent-fork'])) 卡片才注册,行不在时卡片一起消失。表单原语来自 fork 的 @morlay/dsh-client-ui-primitives/client (SettingsForm / SettingsValueField / SettingsFormModel / settingsNumberField)。

文档

  • 决策与理由: ADR 薄壳 fork 接管 subagent 行只改回报文案、 ADR 设置页自建 client 半并停掉官方两条入口行
  • 已知的债(两处 continuation-messages 实例、保留文件跟随方式): 债务 continuation-messages 两份实例与保留文件跟随
  • 测试落点与判据:本包规范 how-to-verify;薄壳 fork 的通用写法约束见 session/ui-conversation 的 how-to-write (同一形态的包共享那份约束)。

上游同步(patch / 裁剪 / 升级评估)走 dsh-plugin-upstream-sync 技能;发布走 CI,本地只构建验证。