DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Subagent Fork Lite — DeepSeek Harness 插件(DSH Plugin)
← Plugins
S

dsh-subagent-fork-lite

Subagent Fork Lite

进程内 DeepSeek Harness 子代理提供程序,仅将父级最近 N 个已完成回合注入子级(fork-lite),不影响官方 fork。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:aleskxyz/dsh-subagent-fork-lite#57262a04a61baefd52ba6e51313cc7ab309a53b9
README兼容性版本

兼容性与来源证明

Subagent Fork Lite 以 dsh-subagent-fork-lite 发布,当前版本为 0.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.1.1stable
2026/9/17
0.1.0stable
2026/9/16

相关插件

正在加载相关插件…

最新版
0.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
Apache-2.0
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/16
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录

相关插件

继续浏览 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-subagent-fork-lite

In-process DeepSeek Harness subagent provider that seeds each child with a bounded window of the parent’s completed conversation — the last N finished turns — instead of the entire transcript.

Registered by default as fork-lite on ctx.subagents.

Support matrix

Harness tagnpm package lineTypecheckUnit testsNotes
dsh-v0.1.2-rc.10.1.2-rc.1passpasssourceEventSeqs remapping uses a version-safe read
dsh-v0.1.5-rc.20.1.5-rc.2passpassPrimary dev/CI pin
dsh-v0.1.6-alpha.10.1.6-alpha.1passpasssession.snapshotEvents() deprecated but still used (same as stock fork)

No native harness seed-window API exists on these lines — this plugin remains the bounded-seed provider.

Features

  • Turn-window seed — configure how many completed parent turns the child inherits (maxCompletedTurns)
  • Stable mid-session cuts — the open (in-flight) parent turn is never seeded; only balanced history through the last turn/end
  • Valid session seeds — window events are renumbered so seq is contiguous from 0 (including remapped sourceEventSeqs)
  • In-process child — depth limit, tool filter, persona, structured output, and per-start agentOptions
  • Context inheritance flag — advertises inheritsParentContext: true when a seed is used
  • Named presets — mount multiple instances with different providerName / maxCompletedTurns values

Quick start

# git channel (latest main)
dsh plugin --profile web add "github:aleskxyz/dsh-subagent-fork-lite#main"

# or from npm (when published)
dsh plugin --profile web add dsh-subagent-fork-lite

# restart the profile, then verify the row
dsh --profile web --dump-config | grep -A6 'id: subagent-fork-lite'

Start a child with provider name fork-lite (see Usage).

Install & uninstall

  • git channel (latest main): dsh plugin --profile web add "github:aleskxyz/dsh-subagent-fork-lite#main" — the package prepare script builds with production dependencies; approve esbuild (and any other keys the CLI prints) if install stops on ERR_PNPM_IGNORED_BUILDS.
  • npm channel (published releases): dsh plugin --profile web add dsh-subagent-fork-lite.
  • tarball channel: pnpm pack in this repo, then dsh plugin --profile web add ./dsh-subagent-fork-lite-<version>.tgz.
  • uninstall: dsh plugin --profile web remove dsh-subagent-fork-lite (or remove the row from the profile patch).

Or insert the package into your profile patch (see cordis.patch.yml).

Configuration

All tunables are Schemastery Config fields (changeable from cordis.yml). An id-targeted override replaces the whole config row — restate every key you need.

FieldDefaultMeaning
providerNamefork-liteName registered on ctx.subagents
maxCompletedTurns2Number of completed parent turns to seed; 0 seeds nothing
- insert:
    - id: subagent-fork-lite
      name: dsh-subagent-fork-lite
      config:
        providerName: fork-lite
        maxCompletedTurns: 2

Multiple budgets

Seed size is fixed per mounted instance. For different windows, mount more than one row:

- insert:
    - id: subagent-fork-lite-2
      name: dsh-subagent-fork-lite
      config:
        providerName: fork-lite-2
        maxCompletedTurns: 2
    - id: subagent-fork-lite-5
      name: dsh-subagent-fork-lite
      config:
        providerName: fork-lite-5
        maxCompletedTurns: 5

Then start with the provider name you need.

Usage

const run = await ctx.subagents.start('fork-lite', {
  parent,
  prompt: [{ type: 'text', text: 'Your task for the child…' }],
  signal,
  // optional per-start route overrides:
  agentOptions: { provider: 'deepseek-official', model: '…' },
  // optional: toolFilter, persona, outputSchema, maxDepth, label
})

const result = await run.result
await run.dispose()

Omit agentOptions to inherit the parent’s LLM provider and model.

Tools & surfaces

SurfaceKindNotes
fork-lite (configurable)subagent providerRegistered on ctx.subagents; used via subagents.start(providerName, …)
cordis.patch.ymlbundle patchDefault insert row for profile install

No commands, session projections, or client UI.

How seeding works

  1. Read the parent session log through the last turn/end (completed-turn prefix).
  2. Keep only the last maxCompletedTurns of those turns.
  3. Renumber event seq values to 0…k so the child session accepts the seed.
  4. Hand the seed to the in-process run driver; the child’s first user message is your prompt.

The child then runs in its own session. Later parent turns are not shared live — the seed is a one-time snapshot at start.

What the seed contains

Within the kept turns, the child receives the parent’s logged events (user/assistant messages, tool calls/results, turn markers, and other events in that window). Surface history derived from those events is what the model sees.

What it does not contain

  • Parent turns older than the window
  • The parent’s current open turn
  • Custom or synthetic messages defined outside the parent log

Capabilities

CapabilitySupported
agentOptionsyes
outputSchemayes
depthLimityes
toolFilteryes
personayes
Continuable prep (prepareContinuable)yes (seed captured once at creation)

Known limitations

  • Seed policy is Cordis config only — not a field on each start() call. Use multiple mounted provider names for discrete budgets.
  • Window size is measured in completed turns, not characters or tokens.
  • A window that includes surface replaces whose sourceEventSeqs point outside the window cannot be renumbered and will fail seed construction.
  • On 0.1.6-alpha.1+, synchronous session.snapshotEvents() is deprecated; this provider still uses it (same deferred migration as stock fork).
  • Fresh AGENTS.md / runtime injects after start are separate from the seed (agent/pre-step); callers that need isolation must filter those themselves.

License

Apache-2.0