Skip to content

v0.3.1 — installer fix-forward (official dsh plugin path)

Choose a tag to compare

@shaomingbo shaomingbo released this 10 Sep 09:04
· 5 commits to main since this release

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 dsh CLI version (0.1.2-alpha.3, with DSH web/base 0.1.2-rc.1) and fails with guidance — changing nothing — when dsh is missing or unverified;
  • judges outcomes by exit status plus the profile-manifest postcondition; status stays 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 rejects remove --ignore-scripts. Use v0.3.2 — the bundle code is identical.