Skip to content

Pin the DSH harness to 0.2.2-rc.1 - #15

Merged
caelaxie merged 1 commit into
mainfrom
cursor/pin-dsh-0-2-2-rc-1-45eb
Nov 5, 2026
Merged

caelaxie merged 1 commit into
mainfrom
cursor/pin-dsh-0-2-2-rc-1-45eb

Conversation

@caelaxie

@caelaxie caelaxie commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Summary

Pins the harness CI job to exactly @deepseek-ai/dsh@0.2.2-rc.1 so this profile bundle is proven on the 0.2.2 release candidate (npm dist-tag next, published 2026-11-04). latest is still 0.2.1-rc.5.

The @deepseek-ai/dsh-skill peer stays ^0.2.1-rc.2. DSH decides compatibility with semver.satisfies(runtimeVersion, range, { includePrerelease: true }) against the app-boot version (0.2.2-rc.1), and only @deepseek-ai/dsh / @deepseek-ai/dsh-* peers count. With prereleases included, 0.2.2-rc.1 satisfies ^0.2.1-rc.2. npx semver -r '^0.2.1-rc.2' 0.2.2-rc.1 prints nothing because that CLI does not pass includePrerelease. A fresh dsh plugin --profile ci add of this checkout did not skip or warn about dsh-pstack.

Release notes

From dsh-v0.2.2-rc.1. Items that touch profile bundles, dsh plugin, skill providers, or skill discovery:

  • Minimum Node.js is 24.9. On Node 22.23.4, npm install -g @deepseek-ai/dsh@0.2.2-rc.1 warns EBADENGINE and still installs. The launcher starts, and the existing harness proof (plugin add, --dump-config, profile boot, skill list) passes. This job stays on Node 22.
  • Cordis Core 4.1.0, Loader 1.1.0, Include 1.1.0. The existing @deepseek-ai/cordis@^4.0.1 peer already includes 4.1.0. apply / ctx.skills.registerProvider booted.
  • The runtime depends on @deepseek-ai/dsh-skill@0.2.2-rc.1 and @deepseek-ai/schemastery@~3.19.0. This package still depends on schemastery ~3.18.5, the same range dsh 0.2.1-rc.5 used. The provider loaded and listed 61 skills.
  • A skill root that cannot be read no longer hides skills from healthy roots. No bundle change.
  • Plugin manager: rich-text details, and third-party package updates that roll back when a hot update fails. No manifest change.
  • Custom plugin markets are now custom plugin indexes. Install remains dsh plugin --profile <name> add <checkout>.
  • The official bundle list moved to @deepseek-ai/dsh-official-bundles. This package does not import it. .github/prove-dsh-profile.mjs still imports lib/profile-boot.js and loadLayeredEnv from @deepseek-ai/dsh-app-boot, and both resolved.
  • tools.resolve / tools.executable and async session-projection registration do not apply to this skill provider.

Test

npm test passed. Harness transcript is on the PR.

Open in Web Open in Cursor 

DSH checks @deepseek-ai/dsh-* peers with includePrerelease, so the
existing ^0.2.1-rc.2 range already accepts runtime 0.2.2-rc.1.

Co-authored-by: Kaitian Xie <caelaxie@users.noreply.github.com>
@cursor

cursor Bot commented Nov 5, 2026

Copy link
Copy Markdown

Harness proof against @deepseek-ai/dsh@0.2.2-rc.1 (npm next), Node v24.22.2, checkout linked into a fresh DSH_HOME. Peer range was left at ^0.2.1-rc.2. No skip line and no dump stderr.

Version

$ dsh --version
0.2.2-rc.1

dsh plugin --profile ci add

$ dsh plugin --profile ci add /agent/repos/dsh-pstack
dsh: initialized profile ci at /tmp/dsh-home-proof/profiles/ci

dependencies:
+ dsh-pstack link:/agent/repos/dsh-pstack

Already up to date
Done in 237ms using pnpm v10.34.9
$ dsh plugin --profile ci list --depth 0
dsh-profile-ci /tmp/dsh-home-proof/profiles/ci (PRIVATE)
└── dsh-pstack@link:../../../../agent/repos/dsh-pstack

Mount

dsh --profile ci --dump-config wrote nothing to stderr. The composed tree contains:

367:# == dsh-pstack
368:- id: pstack
369:  name: dsh-pstack

.github/prove-dsh-profile.mjs booted the profile (runProfile) and listed the pstack provider. Exit 0.

started bundles: @deepseek-ai/dsh-base, dsh-pstack
pstack skills (61):
...
control-cli
control-ui
deslop
...
poteto-mode
...
setup-pstack

Required names present: poteto-mode, setup-pstack, deslop, control-cli, control-ui.

The same proof also passed on Node v22.23.4 (CI's current runtime). npm install -g there prints EBADENGINE (engines.node is >=24.9.0) and still installs; dsh --version prints 0.2.2-rc.1.

/poteto-mode

skills.get('poteto-mode') on the booted profile returned provider pstack, userInvocable: true, modelInvocable: false, 21721 characters of body.

A headless turn of the same checkout, after dsh plugin --profile headless add <checkout>:

$ dsh --profile headless --json "/poteto-mode reply with the single word pong and do nothing else"
{"type":"session","sessionId":"session-73167bb1-f979-4e67-9c5e-bf8f8df2abc4","cwd":"/tmp"}
{"type":"status","phase":"turn_start","turn":1}
{"type":"status","phase":"step_start","turn":1,"step":1}
{"type":"status","phase":"turn_end","turn":1,"reason":{"kind":"error","error":{"message":"llm-deepseek: no API key for provider route \"deepseek-official\"; ...","code":"MISSING_CREDENTIAL"}}}

The session log injected <skill_content name="poteto-mode"> before that credential error. No model reply, because this environment has no DEEPSEEK_API_KEY.

Peer check

DSH's evaluatePluginCompatibility compares the runtime (@deepseek-ai/dsh-app-boot@0.2.2-rc.1) to each @deepseek-ai/dsh-* peer with { includePrerelease: true }. Under that flag, ^0.2.1-rc.2 accepts 0.2.1-rc.2, 0.2.1-rc.5, and 0.2.2-rc.1. The bundle was not skipped, so the peer was not widened.

@caelaxie caelaxie left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verdict: pass.

  • ci-only: one-line dsh pin bump 0.2.1-rc.5 -> 0.2.2-rc.1 in ci.yml, no plugin content touched.
  • harness proof on the head: dsh plugin --profile ci add, mount in --dump-config, profile boot lists 61 pstack skills incl. deslop, control-cli, control-ui; /poteto-mode injected before the credential stop.
  • ci green on f2046ce (validate + mount bundle in dsh).
  • peer range left alone is fine under includePrerelease.
  • no open issue to link.

squash-merging.

@caelaxie
caelaxie merged commit b6f92bf into main Nov 5, 2026
3 checks passed
@caelaxie
caelaxie deleted the cursor/pin-dsh-0-2-2-rc-1-45eb branch November 5, 2026 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants