Replies: 3 comments 1 reply
|
Out-of-tree install failing because Workarounds people use today:
If you paste the exact |
|
I rechecked the public package graph and rc.8 source ( There is also a dist-tag trap at the current verification point:
So the workaround should pin both exact packages on the Host's release line, rather than use unversioned names. For rc.8: dsh plugin --profile headless add \
@deepseek-ai/dsh-hooks-claude-code@0.1.0-rc.8 \
@deepseek-ai/dsh-hook-protocol@0.1.0-rc.8For rc.7, use both exact rc.7 packages. The protocol's remaining runtime peers should resolve from the Host-owned closure; do not add Agent/Tools/Session/Shell/Cordis locally just to satisfy metadata. That creates the duplicate-core failure described in #3516. After install, I would verify canonical realpaths for identity-bearing core packages, then test a supported hook, one native tool, one MCP tool, cancellation, and restart. Also treat I wrote the exact-version install topology, config rules, trust boundary, acceptance matrix, and duplicate-runtime recovery link here: |
|
Thanks @sashabogi — the unpublished-peer guess was wrong. I just rechecked the public dist-tags and they match what you published:
So the packages are on the registry; an unversioned Until those dsh plugin --profile headless add \
@deepseek-ai/dsh-hooks-claude-code@0.1.0-rc.8 \
@deepseek-ai/dsh-hook-protocol@0.1.0-rc.8Using |
Uh oh!
There was an error while loading. Please reload this page.
Setup:
@deepseek-ai/dsh0.1.0-rc.7 from npm, node 26.3, macOS (arm64).The Claude Code hooks bridge can't be installed into a profile the documented way. Repro:
Boot fails with:
Why: the bridge declares
@deepseek-ai/dsh-hook-protocolinpeerDependencies(0.0.1-rc.5), and the profile template pinsautoInstallPeers: false, sodsh plugin addnever brings it in. The other peers (cordis, dsh-agent, dsh-tools, ...) still resolve because they exist in the dsh installation tree and the loader's module hook finds them there.dsh-hook-protocolisn't shipped in the dist (dsh-mcp-clientis, the hooks packages aren't), so there's nothing to resolve it against.Workaround: add the protocol lib explicitly.
Suggested fix: promote
dsh-hook-protocoltodependencies(the package README describes it as a plain library, not a cordis plugin), or ship the hooks packages in the dist the waydsh-mcp-clientships.Found while wiring the bridge to an existing hooks.json (the Trantor agent bus). The bridge itself works well once it loads, our production Claude Code hooks ran unmodified.
All reactions