dsh-ears imports TypertLookupFailure from @deepseek-ai/dsh-typert-protocol, but no published protocol version exports it #7362
Replies: 1 comment
|
Your protocol-side analysis is correct, but the target is wrong:
I checked the published tarballs rather than trusting the changelog. The boundary is: exports it: through 0.1.1-rc.2 (last one) So "no published protocol version exports it" is true for every version you could resolve against
The protocol package's own npm I did not install |
Uh oh!
There was an error while loading. Please reload this page.
Summary
npx @deepseek-ai/dsh webfails at boot becausedsh-earsstill importsTypertLookupFailure, which@deepseek-ai/dsh-typert-protocolno longer exports.Reproduction
Fails with:
Versions involved
@deepseek-ai/dsh(CLI,latest)0.1.5-rc.2@deepseek-ai/dsh-typert-protocol(resolved by the above)0.1.5-rc.2dsh-ears(loaded into thewebprofile)0.2.2Evidence
dsh-ears@0.2.2lib/index.js:5imports the removed symbol:@deepseek-ai/dsh-typert-protocol@0.1.5-rc.2has zero occurrences ofLookupFailureacrosslib/(grep -r LookupFailure lib/→ 0 matches). Its value exports are:RemoteError,remoteErrorOf,Remote,RemoteScope,TypertRemoteService,bindTypertRemote,isTypertRemoteSegment,remoteMethods,typertOwnedValue,isTypertOwnedValue,TYPERT_OWNED_VALUE(plus type-only exports).The failure vocabulary was collapsed:
TypertLookupFailureandTypertRemoteFailurewere replaced byRemoteError<Code>— seepackages/typert/protocol/src/index.tsand the design note.agents/notes/implemented/architecture/2026-08-28-ctx-remote-failure-vocabulary.md(status: implemented). Neither0.1.5-rc.2nor the also-published0.1.6-alpha.2exportsTypertLookupFailure.Expected
dsh-ears@0.2.2was published against the older failure vocabulary and is incompatible with thelatestdshrelease. Either:dsh-earsagainst theRemoteErrorAPI, or@deepseek-ai/dsh@latestpin a compatibledsh-earsversion.Environment
All reactions