Repository navigation
[Bug Report / v0.1.2-rc.1] Missing re-export of assertNever in dsh-llm & missing subagent-model-selection-settings in dsh-base #5854
Replies: 2 comments
|
Verified both reports against master 1.
|
|
@argszero This issue is still affecting CLI profiles, even on the latest releases. The base composition omits the host settings component required for subagent model selection. I still have to add it to the profile's cordis.patch.yml for that to work. Is anyone working to fix this in future releases? Any PR? Here is what I'm running on my machine 0.2.0-rc.2
@deepseek-harness-tui/dsh-tui 0.15.0 (launcher)
profile: 0.14.0 /Users/user/.dsh/profiles/dsh-tui/node_modules/@deepseek-harness-tui/dsh-tui
dsh-tui doctor · @deepseek-harness-tui/dsh-tui 0.15.0
✓ node: v24.20.0 · darwin arm64
✓ dsh: 0.2.0-rc.2
✓ pnpm: 12.3.4
✓ profile: 0.14.0 (/Users/user/.dsh/profiles/dsh-tui)
✗ launcher ↔ profile: profile 较旧——对齐它: dsh plugin --profile dsh-tui add @deepseek-harness-tui/dsh-tui@0.15.0
✗ DEEPSEEK_API_KEY: 未设置——环境变量与 DSH 凭据库中都没有 DEEPSEEK_API_KEY
✓ config: /Users/user/.dsh/profiles/dsh-tui/cordis.patch.yml |
Uh oh!
There was an error while loading. Please reload this page.
Overview
In
@deepseek-ai/dsh@0.1.2-rc.1, two breaking regressions were identified when running custom or CLI profiles with the shipped base bundles and presets:1.
@deepseek-ai/dsh-llmomitted re-exportingassertNeverIssue:
Root Cause:
In
0.1.2-rc.1,assertNeverwas moved to@deepseek-ai/dsh-util-values. In@deepseek-ai/dsh-llm/lib/index.js,assertNeveris imported at the top from@deepseek-ai/dsh-util-values, but it was omitted from the module'sexport { ... }block at the end ofdsh-llm/lib/index.js.Any downstream package or plugin relying on
@deepseek-ai/dsh-llm's historical export ofassertNeverfails with an ESMSyntaxErrorat module linking time.Suggested Fix:
Add
assertNeverback to the export list in@deepseek-ai/dsh-llm/lib/index.js:2.
@deepseek-ai/dsh-baseomittedsubagent-model-selection-settingshost rowIssue:
When creating a session under a base-backed profile (such as the conventional CLI profile) with the default
standardpreset:Root Cause:
The shipped
standardpreset (agent-presets/presets/standard/agent.cordis.yml) now defaultsmodelSelectionSettings: true:In
@deepseek-ai/dsh-tool-subagent/lib/index.js:580:This host row was mounted in
@deepseek-ai/dsh-web-app/cordis.patch.yml, but omitted from@deepseek-ai/dsh-base/cordis.patch.yml. As a result, non-web compositions using the shippedstandardpreset fail to mount during session creation.Suggested Fix:
Mount
@deepseek-ai/dsh-tool-subagent/model-selection-settingsin@deepseek-ai/dsh-base/cordis.patch.yml:All reactions