dsh-subagents-model

DSH PLUGIN模型与账号接入

仓库 mirelconstantin/dsh-subagents-model

模型与账号接入 L4 · 沙盒安装通过 安全审查:低风险 可信度:银 可安装插件
安装这个插件

dsh-subagents-model 是 mirelconstantin 维护的 模型与账号接入 类 DSH 可安装插件, 仓库为 mirelconstantin/dsh-subagents-model,许可证 Apache-2.0。 下面按「装什么、怎么装、验没验过、跑起来要注意什么」逐项列出。

一句话选型结论

按资料字段整理

dsh-subagents-model 是模型与账号接入类的 DSH 可安装插件,验证等级 L4 · 沙盒安装通过,安全审查为低风险,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类模型与账号接入 收录类型可安装插件 验证等级L4 · 沙盒安装通过 安全审查低风险
验证等级 L4 L4 · 沙盒安装通过
GitHub 星标 2 复刻 未标注 · 未关闭 issue 未标注
最近更新 2026-10-13 创建于 未标注
README 16.9 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add github:mirelconstantin/dsh-subagents-model
  1. 1
    确认版本与运行环境

    仓库没有标注兼容版本与 Node.js 要求,先确认你的 DSH 版本能装,再继续。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本未标注版本不匹配时安装会报错
Node.js 要求未标注来自仓库 package.json 的 engines 字段
前置依赖无需要同时安装的同级依赖
npm 包名未发布到 npm可用 npm view 查看包信息

能做什么

模型与账号接入
字段来自项目仓库与公开索引,中文说明由本站标注

适用场景

智能体编排

验证等级与安全审查

L4 · 沙盒安装通过
自动化流程结论,不是人工审核
验证等级L4 · 沙盒安装通过安装命令在隔离沙盒内真实执行成功,无依赖错误
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度银综合仓库活跃度与验证结果

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L4:在沙盒里真实装过,依赖能装上,不是纸面声明。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有声明 Node.js 版本要求,版本不匹配可能装不上。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在模型与账号接入场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-subagents-model当前 L4 · 沙盒安装通过 低风险 2 未标注 有
archify L4 · 沙盒安装通过 低风险 8.0 万 未标注 有
DeepSeek-Reasonix L4 · 沙盒安装通过 低风险 3.6 万 未标注 有
nocobase L3 · 安装规范通过 低风险 2.5 万 0.1.1-rc.2 无
learn-harness-engineering L4 · 沙盒安装通过 低风险 2.0 万 未标注 有
dsh-our-free-model 未做沙盒验证 未标注 8,064 未标注 无

仓库档案

模型与账号接入
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方mirelconstantin仓库 dsh-subagents-model · 默认分支 未标注
分类模型与账号接入ai
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言未标注仓库主语言
许可证Apache-2.0商用或二次分发前请确认条款原文
星标 / 复刻 / issue2 / 未标注 / 未标注收录时的数值,非实时
创建 / 更新未标注 · 2026-10-13最后推送 未标注
本站收录2026-10-30首次进入本站目录的时间

README 全文

16.9 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-subagents-model

See which model a DeepSeek Harness session is really running on. A chip in the
header names the model and reasoning effort of whichever conversation is open —
including a subagent's — a chip in the composer dock below the composer shows
which models a whole run delegated to, and sidebar hover cards say what each
conversation actually did. It only ever ADDS controls: the harness's own
subagent dropdown is left exactly as shipped.

Install

From the GUI, paste this into Add plugin:

dsh-subagents-model

Or from a terminal:

dsh plugin add dsh-subagents-model

No build step is involved and there are no dependencies at all. Every entry
point ships as committed source: the Host reads src/client.js and serves it to
the page verbatim, so pnpm never has to run anything and you are never asked to
allowlist a build.

Nothing else is required. The installer does the composition work itself —
it reads this package's cordis.patch.yml, mounts the Loader row, and adds the
package to dsh.profile.bundles
(dsh-plugin-manager/lib/index.js:247-265). Do not hand-add a row to your
profile's cordis.patch.yml or the package to package.json: a second
definition of the same package fails composition and takes the whole web shell
with it (dsh-client-modules/lib/index.js:871-877).

Restart the profile afterwards. The header chip appears in any conversation that
has made a request; the bottom-bar chip appears only once a run has delegated to
at least one subagent, because a run with no subagents has nothing to say.

The peer range on @deepseek-ai/dsh-app-boot (>=0.2.0-rc.2 <0.3.0) is the only
compatibility field the runtime evaluates
(dsh-app-boot/lib/index.js:289-301): a plugin whose range does not satisfy the
running runtime is skipped at boot with a warning naming the mismatch.

Installing by other routes

Route Command
npm, the default dsh plugin add dsh-subagents-model
Pinned to a version dsh plugin add dsh-subagents-model@1.2.1
Pinned to a commit dsh plugin add github:mirelconstantin/dsh-subagents-model#
Tarball dsh plugin add ./dsh-subagents-model-1.2.1.tgz
Local checkout dsh plugin add /absolute/path/to/dsh-subagents-model

A file: or local-path install hard-links the package directory, so an editor
that replaces a file breaks the link and the profile silently keeps the previous
content. After editing a local install, delete
profiles//node_modules/dsh-subagents-model and re-install.

If nothing appears

Every failure mode this plugin has had was silent — no error, no log, just an
absent chip — so here is the order to check:

  1. Restart the profile. The bundle is composed at boot, not on save.
  2. Confirm it is enabled in Settings → Plugins.
  3. Run the suite in the installed copy. It needs no harness and no network:
    npm test from the package directory prints 89 unit tests, 35 composition
    checks, and an install probe that packs the tarball, unpacks it into a
    throwaway profile and executes the shipped bytes. A failure names the layer.
  4. The header chip is the diagnostic. It renders in any conversation with a
    resolved route and needs no subagents. If the header chip is missing but the
    dock chip is present, the dock's session-scope slot is the problem; if both
    are missing, the browser half did not load at all.

Contributors: AGENTS.md and RELEASING.md.

What it shows

seat what it shows where
header chip model: (effort) for the active Session beside the subagent pill in the conversation header
bottom-bar chip how many subagents this run delegated to, and which models they ran on conversation.composer.dock, below the composer beside the ContextMeter
hover-card rows model, effort, work done, active time, tokens, cache, context window, task, kind inside every Session's hover card in the sidebar

The chip's tooltip also names the reasoning efforts a model offers and which one
is its default, read from the live model catalog. A model the catalog does not
list adds nothing: the catalog is advisory and routing accepts ids it does not
advertise, so its absence is never treated as a fault.

The effort appears only when one is set — it is optional on the same route record
the model comes from, and a session with none configured stays compact.

Presentation only. The model, its tools, and its session log are untouched: no
tool is registered, no service is published, and nothing the model can observe
changes.

The problem it solves

DeepSeek Harness routes a session by model, and a subagent may run a different
one than its parent — but nothing on the page said so. Two things follow:

A subagent's model was invisible until you opened it. Session projections
reach the browser in two places, and they hold different sessions.
projectionsBySession only carries a session whose projection store is
resident in the client, and stores are created lazily
(dsh-api-session-controller/lib/index.js:2525) — so a subagent the user never
opened was simply absent. The list rows carry the same values under
byId[id].projectionValues (:2942, :3521, :3549), synthesized from the
parent's subagentCatalog (:3518-3542), which is what covers a child that is
listed but never loaded. Reading both sources is the whole fix.

An inherited route was unrecoverable. With model selection off — the
subagent default (dsh-tool-subagent/README.md:47) — every child inherits its
parent's route (:67), and that route is nowhere in the child's own log. The
plugin walks parentId up the lineage until an ancestor records an explicit
one, so an opened subagent names a real model marked (inherited) rather than
nothing.

Where the value comes from

The modelSelection Session projection, which the harness already registers and
already ships to the browser:

dsh-api-session-controller/lib/types/model-selection-projection.js
stateSchema : { lastUsed, pending }   (routes carry optional reasoningEffort)
wire view   : { lastUsed, next }      // next = pending ?? lastUsed
registered  : lib/index.js:2114 (installModelSelectionProjection)

lastUsed is folded from each request's own request/header config, so it is
the route the session actually used, not the one it was configured with.
next is the pending selection while one is queued and lastUsed otherwise, so
reading next answers "which model is this session on" in both states. That is
the same read the shipped Agent Team row performs
(dsh-experimental-client-ui-agent-team/lib/client.js:89).

Subagents, honestly

Model selection is off by default, so a subagent reading Inherited from parent
is the expected case, not a bug — nothing was overridden. What differs by
construction:

  • A continuable subagent with its own route snapshots
    agentProvider / agentModel / agentReasoningEffort in its descriptor
    (dsh-subagent/lib/types/descriptor.js:38-45), so its explicit model is
    recovered and shown in full.
  • A one-shot subagent with its own route deliberately omits the agent route
    (:37, :118-126) because cold resume does not need it. An explicitly
    selected one-shot model is therefore not durable, and the plugin says
    Inherited from parent rather than guessing. That is a limit of the durable
    format, not of this plugin.

To pin every subagent's model, set modelSelectionSettings: true on the
subagent tool and pass a route per call; list_subagent_models then becomes
available for discovery.

Three seats, and why none of them replaces anything

Every seat ADDS a cell with its own id, so no shipped occupant is displaced
and the harness's own subagent dropdown is left exactly as shipped. That is not
an aesthetic choice: an earlier version of this plugin claimed the
subagent-catalog header cell at priority: -9998 in order to put a model
marker beside each subagent row, because the shipped CatalogRows renders no
per-row slot (dsh-client-ui-subagent/lib/client.js:164-338). Replacing that
cell means reimplementing its entire navigation contract — openChild,
openChildAside, refreshProjection, the tree walk, the focus model — and every
mistake in that reimplementation removes the stock subagent list from the
header. It did; the list stopped appearing.

The per-subagent model breakdown now lives in the bottom-bar chip instead, which
needs none of that machinery. scripts/check-plugin.mjs asserts that nothing
claims or shadows a shipped cell, so the takeover cannot quietly return.

slot declared by this plugin
conversation.session.header.actions dsh-client-ui-conversation/lib/index.js:18268-18271 id 'subagent-model' (chip)
conversation.composer.dock dsh-client-ui-conversation/lib/index.js:18329-18332 id 'subagent-model-dock' at order 40 (bottom bar)
sidebar.session.row.hover dsh-client-ui-workspace/lib/index.js:4322-4325 id 'subagent-model'

What each seat tells you

The chip names the effective route of whichever conversation is open, root or
subagent, and marks it (switching) while a queued selection has not been
consumed, (inherited) when it came from a parent. Its tooltip adds the model
breakdown across descendants — 3× deepseek-chat, 2× deepseek-reasoner — and,
when a generation actually splits that breakdown, the same breakdown cut by
generation. That is the integration with the sibling dsh-subagent-tree: both
facts come from one walk over subagentCatalog, so they read in one place.

The bottom-bar chip answers the same question for the whole run rather than
for the conversation that happens to be open: how many subagents this session
delegated to, and which models they ran on. It lives in
conversation.composer.dock, the row below the composer beside the built-in
ContextMeter — the same slot and the same control shape the sibling
dsh-opencode-router uses for its proxy chip. It renders nothing at all for a
run that never delegated, so an ordinary conversation grows no extra furniture.

The hover card answers "what was this conversation". Each row is read from a
projection the client already holds and appears only when its value is present,
so a zero never reads as "did nothing": model and effort, turns and steps, active
time, generated tokens, the delegating agent's own task label, and the mode that
decides whether the session can be continued.

Per-turn model history — implemented but not mounted

src/client.route-history.js is a complete implementation of per-turn route
history, but nothing loads it: src/client.js only calls require.async for
./client.model.js. The file is inert and contributes nothing to the UI. It is
left in the package because it is a finished, self-contained piece of work whose
reader has to match the current projection shape before it is mounted.

The route shown for any session therefore comes from the modelSelection
projection only. Per-turn accuracy would require mounting this chunk and adding
a conversation.chat.turnTail seat; see the reasoning below for why that was not
done.

request/header is the event recording each request's route. Nothing in
SessionProjectionMap ships it, so the chip reads the modelSelection
projection — but the event journal itself reaches the browser unfiltered, and
request/header is in it (dsh-api-session-controller/lib/client.js:166, the
stream at :398). The harness's own chat view already reads it that way
(dsh-client-ui-chat/lib/client.js:9389-9394).

So each turn's real route is recovered client-side, with no Host work: a
request/header conversation Definition folds the events into a per-turn map,
and a conversation.chat.turnTail entry reads it. Because the opening journal
frame is a snapshot, a session opened before the plugin mounted still gets its
history rather than only events from that moment on.

reason decides where a turn's route is anchored. initial, resume and
series all anchor; a bare change is a mid-series re-route and does not,
unless it carries startsSeries. An absent reasoningEffort is not "off" — a
adapterDefaults.reasoningEffort means the adapter supplies it, and the row
says so rather than implying no effort.

The older Route change → , not yet applied row is the disagreement
between next and lastUsed, and still reports a queued switch that no
request has consumed yet.

Honesty about missing data

Four states are kept apart, because collapsing them would print a lie:

state chip hover card
loaded, model known model: deepseek-chat (high) Model deepseek-chat (high)
loaded, no request yet (nothing) Model No model yet
listed in a catalog, never opened (nothing) Model, or Inherited from parent
neither store knows it (nothing) (nothing)

Files

path role
cordis.patch.yml exactly one Loader row — the anchor
src/index.js Host anchor; publishes nothing
src/model.js the pure logic, as plain ESM for the unit suite
src/client.js the browser half; registers all seats
src/client.model.js the same pure logic as a browser chunk the half loads
src/client.route-history.js the request/header fold and the per-turn route map — not currently loaded, see above
locale/{en,ro}.json dictionaries for namespace dsh-subagents-model
scripts/unit.mjs node --test suite for src/model.js and locale parity
scripts/check-plugin.mjs manifest, patch, exports, browser-half contract

No build step, no bundler, no transpiler and no installed dependency — the
one declared peer is the runtime this plugin was verified against, and DSH
resolves it from the installation.

Why the pure logic lives in a second chunk

A classic script cannot import, but it does not have to: the require the
factory is handed carries an async method that fetches a package-local chunk
(dsh-client-modules/lib/client.js:707-713), and CLIENT_CHUNK = /^client\.[A-Za-z0-9][A-Za-z0-9._-]*\.js$/ (:169, served at :915-932) is the
pattern that file has to match. Three shipped packages already ship a second
chunk this way — dsh-client-ui-sidebar-terminal and
dsh-client-ui-sidebar-documentpreview — so this is a supported shape, not a
workaround.

src/model.js is a plain ESM module, which no browser script can reach, so
src/client.model.js holds the same functions as a self-registering chunk and
src/client.js loads it once. The duplication was previously the whole cost of
shipping both; it is now confined to one chunk whose exports are checked against
src/model.js.

Every seat renders nothing until that chunk resolves, which is what keeps a
failed fetch from taking the conversation header down. The trade is that the chip
appears a tick later than a sync import would allow; nothing else on the page
waits on it.

The browser half

Two loading rules are load-bearing, both measured on a live page and not
assumed. See src/client.js for the full notes.

inject stays empty. Naming slots makes fiber.await() park the row until
the renderer provides it, while the renderer waits on the UI packages this row
sits beside. The two wait on each other and the whole boot fails with
web boot: 1 entry did not activate …, taking the entire GUI down. With an empty
gate apply runs before slots exists, so whenService polls with
setTimeout. Do not substitute queueMicrotask: a microtask poll re-queues
itself ahead of the macrotasks every package activation depends on, starves the
boot, and reproduces the same failure.

ro is added to the language catalog. en and zh are shipped catalog
languages; ro is not, and the fallback chain walks the catalog rather than the
registered dictionaries — so a ro dictionary alone is unreachable until
locale.addLanguage adds the language. Both locale/en.json and
locale/ro.json ship the same key set, and scripts/check-plugin.mjs fails the
build if they drift apart.

Verify

node --test scripts/unit.mjs    # 84 tests: model logic, cycles, depth grouping, locale parity
node scripts/check-plugin.mjs   # 31 checks: manifest, dsh peer range, patch, exports, browser contract

Licence

Apache-2.0. See LICENSE.

常见问题

5 问
答案由本站依据条目字段整理,不引用上游原文
dsh-subagents-model 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add github:mirelconstantin/dsh-subagents-model` 即可。

dsh-subagents-model 的验证等级是什么意思?

L4 · 沙盒安装通过。安装命令在隔离沙盒内真实执行成功,无依赖错误

dsh-subagents-model 安全吗?

低风险。

dsh-subagents-model 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-subagents-model 用的是什么许可证?

上游标注为 Apache-2.0。商用或二次分发前请到仓库确认许可证原文。

模型与账号接入
按星标排序,可作替代方案

archify

archify

从仓库或系统描述生成经过校验的自包含交互式架构图、流程图、时序图、数据流图和生命周期图。

L4 · 沙盒安装通过 8.0 万 星

nocobase

nocobase

L3 · 安装规范通过 2.5 万 星

dsh-our-free-model

dsh-our-free-model

为 DeepSeek Harness 挂载免登录、免 API Key 的免费前沿模型通道,装完即用,并附用量看板与 OpenAI 兼容本地转

未标注验证等级 8,064 星

dsh-purge

dsh-purge

dsh-purge 是一款 DeepSeek Harness 设置插件,可修改默认副本、权限策略和工具限制,并添加规则卡片以分组应用补丁,支

L5 · 运行验证通过 4,573 星

mirelconstantin 的其它插件

3 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 —。