dsh-git-badge 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -8,13 +8,26 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
8
8
  Versions before 0.6.0 predate this file; their history is in `git log` and on
9
9
  npm. 0.6.0 is the first release recorded here.
10
10
 
11
+ ## [0.9.1] - 2026-09-14
12
+
13
+ ### Fixed
14
+
15
+ - **The shipped patcher is reachable with npx.** `peerDependencies` named
16
+ `@deepseek-ai/dsh-client-runtime`, a DSH-internal package that is not on the
17
+ npm registry, so every `npx` invocation of the patcher died resolving peers
18
+ (pnpm inside a DSH profile only tolerated it because DSH itself provides the
19
+ runtime). The peers are removed — DSH supplies the runtime through the
20
+ `dsh.client.inject` declaration regardless — and the documented command is
21
+ `npx dsh-git-badge <verb>`: npx runs a package's single bin under the
22
+ package's own name. The boot hint and all docs now say that.
23
+
11
24
  ## [0.9.0] - 2026-09-14
12
25
 
13
26
  ### Added
14
27
 
15
28
  - **The seam patcher ships in the package** as the `dsh-git-badge-seam` bin, so a
16
29
  market install can add the sidebar session-row badges without cloning the
17
- repository: `npx dsh-git-badge-seam apply`, then restart. Pure Node (no
30
+ repository: `npx dsh-git-badge apply`, then restart. Pure Node (no
18
31
  python3), anchor-based like the repo tooling it replaces, with the same
19
32
  refusal semantics: it writes nothing unless every anchor resolves exactly
20
33
  once, upgrades its own older artifacts by marker revision, and reverts to the
package/lib/client.js CHANGED
@@ -849,7 +849,7 @@ window.__ModuleLoader__.load({
849
849
  : // discoverability: the chip works everywhere, but the session rows
850
850
  // need the seam patch, and on a market install nothing else says so.
851
851
  // The patcher ships IN this package — no clone needed.
852
- "off (seam absent) — run `npx dsh-git-badge-seam apply` to add them, then restart dsh web.")
852
+ "off (seam absent) — run `npx dsh-git-badge apply` to add them, then restart dsh web.")
853
853
  );
854
854
  // The hover card depends on a primitive the SHELL seeds, not on anything
855
855
  // this plugin declares. Report the outcome rather than letting a missing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-git-badge",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Git status badges for DeepSeek Harness: sidebar session rows (via the sidebar.workspaces.sessionRow seam) and an input-row chip showing the current conversation's workspace git state. Event-driven freshness over SSE.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -56,10 +56,5 @@
56
56
  "README.md",
57
57
  "CHANGELOG.md",
58
58
  "LICENSE"
59
- ],
60
- "peerDependencies": {
61
- "@deepseek-ai/cordis": ">=4",
62
- "@deepseek-ai/dsh-client-runtime": ">=0.1",
63
- "react": ">=18"
64
- }
59
+ ]
65
60
  }
package/seam/apply.js CHANGED
@@ -10,7 +10,7 @@
10
10
  * install needs no clone:
11
11
  *
12
12
  * dsh plugin --profile web add dsh-git-badge
13
- * npx dsh-git-badge-seam apply # then restart the dsh web process
13
+ * npx dsh-git-badge apply # then restart the dsh web process
14
14
  *
15
15
  * HOW PATCHING WORKS — anchors, not hashes. The patch is defined once in
16
16
  * anchors.js as [name, old, new] triples. `apply` locates each `old` block in