Repository navigation
v0.3.1 — installer fix-forward (official dsh plugin path)
Fixed
Post-release verification of v0.3.0 in a clean environment surfaced an installer defect: on a machine without an existing DSH profile it crashed with a raw ENOENT, and it edited the profile manifest directly instead of using the host's public management command.
The v0.3.1 installer:
- delegates install/uninstall to the official
dsh plugin --profile <name> add/remove <source> --ignore-scripts(profile initialization and bundle-list reconciliation stay with the host CLI); - gates on the verified
dshCLI version (0.1.2-alpha.3, with DSH web/base0.1.2-rc.1) and fails with guidance — changing nothing — whendshis missing or unverified; - judges outcomes by exit status plus the profile-manifest postcondition;
statusstays read-only and clean on missing or malformed profiles.
Verified in an isolated DSH_HOME: fresh-profile install, idempotent re-install, read-only status, idempotent uninstall, and guidance failures (missing / unverified / failing CLI).
The bundle code is unchanged from v0.3.0; only bin/install.js, tests, and docs changed.
Install
npx --yes github:shaomingbo/dsh-visualization#v0.3.1
⚠️ Known issue (fixed in v0.3.2): on the verified matrix (pnpm 11), the v0.3.1 uninstall path fails because pnpm 11 rejectsremove --ignore-scripts. Use v0.3.2 — the bundle code is identical.