Replies: 1 comment
|
核实了你的分析,并且这条报告照出了我们一个更要紧的问题——我们自己推荐的自救第一步会在这类上给出假绿灯。两件事都记一下。 一、你的定位我逐条核对过。 在已装的 0.1.6-alpha.1 上:
所以"照文档 二、这一类我们此前只覆盖了一半。 对一个注定起不来的 profile 说"全部可导入",而用户正是按我们的建议先跑这一条的。假绿灯出现在最该给出结论的时刻,比不报更糟。 已修( 顺带说一句:修这个的时候我们自己的测试 fixture 也失真了——那几个用例建的插件同样没写 三、给你现在的处置:这两个包在修复发布前不该进 |
Uh oh!
There was an error while loading. Please reload this page.
Summary
Since
dshv0.1.6-alpha.1, any profile that lists@deepseek-ai/dsh-computer-useor@deepseek-ai/dsh-experimental-computer-use-cua-driver-nativeindsh.profile.bundlescrashes on boot with a hard error.Both packages were published to npm at version
0.1.6-alpha.1without anydsh.bundlemanifest, while the newdsh-app-bootloader (also0.1.6-alpha.1) strictly requiresdsh.bundle.patchfor every package listed indsh.profile.bundles. Becausedsh plugin addis the documented installation flow and it appends the package to the profile'sbundleslist, following the docs makes the profile unbootable immediately after upgradingdshfrom v0.1.5-rc.2 to v0.1.6-alpha.1.Environment
@deepseek-ai/dsh@0.1.6-alpha.1(npm)0.1.6-alpha.1dsh web)Steps to reproduce
@deepseek-ai/dsh@0.1.6-alpha.1.dsh plugin --profile web add @deepseek-ai/dsh-computer-use@0.1.6-alpha.1(the CLI appends it to
dsh.profile.bundles).dsh --profile web.Actual result
Boot aborts during profile composition (the model backend — NINFER — starts fine; the crash is purely in the profile layer composition):
Expected result
Per the official guide ("Package and install a plugin"), a package without a
dsh.bundledeclaration "still installs, but only as a plain dependency:dsh pluginprints a warning and activates no layer" — i.e., warn-and-skip, not a hard crash. Alternatively, the two official 0.1.6-alpha.1 packages should ship a valid manifest so the documented install flow works end to end.Evidence — verified against the npm registry
The published tarballs were downloaded and unpacked directly:
1.
@deepseek-ai/dsh-computer-use@0.1.6-alpha.1Tarball:
https://registry.npmjs.org/@deepseek-ai/dsh-computer-use/-/dsh-computer-use-0.1.6-alpha.1.tgzpackage.json,lib/index.js,lib/types/*, READMEs, LICENSE.package.jsoncontains nodshkey at all (nodsh.bundle), and the package ships nocordis.patch.yml(thefileslist is onlylib/*).2.
@deepseek-ai/dsh-experimental-computer-use-cua-driver-native@0.1.6-alpha.1Tarball:
https://registry.npmjs.org/@deepseek-ai/dsh-experimental-computer-use-cua-driver-native/-/dsh-experimental-computer-use-cua-driver-native-0.1.6-alpha.1.tgzdshkey, no patch file.The
dsh-app-bootv0.1.6-alpha.1 loader (loadProfileDirectory) then executes:Result: a package that
dsh plugin addis happy to append todsh.profile.bundlesis guaranteed to make the profile unbootable.Note on the manifest format change (possible breaking change)
The v0.1.5-rc.2 manifest format was the boolean form:
{ "dsh": { "bundle": true } }which booted fine under the old loader. v0.1.6-alpha.1 requires the object form with a patch path:
{ "dsh": { "bundle": { "patch": "./cordis.patch.yml" } } }If this is an intentional breaking change, it deserves a release note, and the two computer-use packages need to be re-published with the new format.
Workaround (confirmed working)
Remove the two entries from both
dependenciesanddsh.profile.bundlesin the profile'spackage.json. The profile then boots normally on 0.1.6-alpha.1 with no other plugins affected.Suggested fixes (any of the three)
@deepseek-ai/dsh-computer-useand@deepseek-ai/dsh-experimental-computer-use-cua-driver-nativewith a validdsh.bundlemanifest (including the referenced patch file).dsh plugin addnot append bundle-less packages todsh.profile.bundles(install as a plain dependency with a warning, as the docs describe).All reactions