Repository navigation
Duplicate registration: [scope] Error: tool "subagent" is already registered in this scope #8201
Replies: 2 comments
|
这个栈应该和 #6166、#6751 是同一处。 0.2.0-rc.2 上切 preset 时我也撞到同一个地方,不过表现不是报错而是静默地少工具:切换后的会话只有 13 个,缺 交叉引用:#6751 的这条评论有完整定位 #6751 (comment) 另外你提到 |
|
需要修正一下原帖的结论:这里报的重名在宿主里同时存活多个 本机可确定性复现,条件是有 6 个存活的组合:内置 落点来自 插桩后的完整时序、根因与已验证的最小修复:#6751 (comment) 另外,原帖里混了两件不同的事: |
Uh oh!
There was an error while loading. Please reload this page.
Summary
On some startups the host logs a single
[E]. It appears to be a duplicate registration of thesubagenttool, and it is reproducible from the factory-default profile (no user configuration involved).Reproduction
This is not 100% deterministic — observed once on 2026-09-27 01:18:14 and once on 2026-09-29 11:06:52, while a later restart at 11:24 did not log it. Inspect the config tree instead (deterministic):
Current behavior
dsh --profile desktop --dump-configlists- id: tool-subagent4 times.dsh --profile desktop --dump-default-config(no user layer) lists it 4 times as well → unrelated to user config.Grepping shipped bundles'
cordis.patch.ymlfordsh-tool-subagent:@deepseek-ai/dsh-base— 8 hits@deepseek-ai/dsh-web-app— 6 hits@deepseek-ai/dsh-experimental-agent-team-profile— 4 hits@deepseek-ai/dsh-web-app/cordis.patch.yml:518-532already suppresses these rows withdisabled: true, and the comment acknowledges the collision:Expected behavior
Either no error is logged, or it is logged at a lower severity — a single benign duplicate-registration notice should not appear as
[E]indsh-*.error.log, where it can mask genuine errors during triage.Environment
desktop(custom profile under~/.dsh/profiles/desktop)Notes
subagenttool — it returned a normal foreground run. The failing row is the duplicate; the primary registration still serves the tool.dsh-base/dsh-web-appare required bundles and get rewritten by the launcher anyway).--dump-config/--dump-default-configoutput or host logs if that helps.All reactions