Replies: 1 comment
|
Follow-up: Web UI directory picker drops trailing characters of some CJK folder names (Windows) On the same install, creating a workspace via the Web UI folder picker fails when the selected folder's leaf name is The picked leaf name Env: dsh 0.1.0-rc.6, Windows 11, Chrome, web profile (running from the hoisted install described above). |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Environment
@deepseek-ai/dsh0.1.0-rc.6node_moduleslayout, global virtual store on another drive)Repro
Boot fails with
dsh: plugin tree failed to load: failed to apply loader entry include (cordis:include). The aggregate error contains:The same package boots fine via
npx @deepseek-ai/dsh web, which produces npm's flatnode_moduleslayout.Analysis
Two separate problems surfaced:
The flat fallback misses transitive bundle plugins.
dsh-app-bootmaintains$DSH_HOME/profiles/node_modulesas "one symlink per package in the dsh app's resolvable dependency closure". Under pnpm's isolated layout the closure walk comes up short: links are created for packages@deepseek-ai/dshreaches directly, but bundle plugins such as@deepseek-ai/dsh-llmand@deepseek-ai/dsh-client-ui-planget no link, and@deepseek-ai/cordis-plugin-timergets a dangling one. Their plain dynamicimport(name)fallback incordis-plugin-loaderthen throwsERR_MODULE_NOT_FOUND, because with pnpm the loader's own real path can only see the loader's declared dependencies.Self-healing via the profile install also fails. Installing the bundles into the profile (
dsh plugin --profile web add @deepseek-ai/dsh-base @deepseek-ai/dsh-web-app) produces an incomplete tree: the generatedpnpm-workspace.yamlpinsautoInstallPeers: false, while the plugins peer-depend on each other (e.g.@deepseek-ai/dsh-llmimports@deepseek-ai/dsh-timeout, which never gets installed). After this, boot fails for every plugin entry (~110ERR_MODULE_NOT_FOUNDerrors), which is worse than the initial state.Workaround
A dedicated hoisted install boots fine and the Web UI serves on 127.0.0.1:3080:
Suggestion
profiles/node_modulesfallback from the full bundle closure (or resolve plugin specifiers relative to the profile directory before falling back to a plainimport()), and/orautoInstallPeers: true, so pnpm-managed installs behave like the npm/npx flat layout.All reactions