prime-agent-dsh 0.2.1 → 0.2.2

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
@@ -10,6 +10,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
10
10
 
11
11
  - Added production-oriented installation, support, contribution, conduct, roadmap, and release documentation.
12
12
 
13
+ ## 0.2.2 - 2026-09-22
14
+
15
+ ### Added
16
+
17
+ - Added `/dsh help` for concise command and behavior guidance.
18
+
13
19
  ## 0.2.1 - 2026-09-22
14
20
 
15
21
  ### Changed
package/README.md CHANGED
@@ -48,7 +48,7 @@ The package does not ship a DSH `AgentLoop`, provider wrapper, ACP delegation pa
48
48
  | Native RLM inheritance | Available | Bounded untrusted evidence through Prime 0.9.5 lifecycle hooks. |
49
49
  | Explicit parent-to-child grants | Available | Bounded, read-only, expiring capabilities. |
50
50
  | Provider cache metrics | Available when reported | No cache hit is inferred if the provider omits usage fields. |
51
- | `/dsh` display toggle | Available | Changes widget visibility only; indexing continues. |
51
+ | `/dsh` display toggle and help | Available | `/dsh`, `/dsh on`, `/dsh off`, `/dsh help`; indexing continues. |
52
52
  | Shadow telemetry | Optional | Diagnostic only; never changes provider context. |
53
53
  | DSH-driven compaction | Not included | Prime alone decides and performs compaction. |
54
54
  | DSH agent loop or tools | Not included | Would create a second execution authority. |
@@ -95,7 +95,7 @@ For grants and API rules, see [Getting started](docs/getting-started.md#use-the-
95
95
 
96
96
  ## Project status
97
97
 
98
- `0.2.1` is a developer preview. The Prime integration, storage formats, and Python API may change before a stable release. The test suite covers the documented core paths, but this package is not a security boundary against another process running as the same OS user.
98
+ `0.2.2` is a developer preview. The Prime integration, storage formats, and Python API may change before a stable release. The test suite covers the documented core paths, but this package is not a security boundary against another process running as the same OS user.
99
99
 
100
100
  The current runtime target is Prime Agent `0.9.5` or newer (`@earendil-works/pi-coding-agent >=0.86.1`). See the [roadmap](ROADMAP.md) for direction rather than release promises.
101
101
 
@@ -1,6 +1,6 @@
1
1
  # Getting started
2
2
 
3
- This guide covers npm, GitHub, local, and project-scoped installation for `prime-agent-dsh` 0.2.1.
3
+ This guide covers npm, GitHub, local, and project-scoped installation for `prime-agent-dsh` 0.2.2.
4
4
 
5
5
  ## Requirements
6
6
 
@@ -106,11 +106,13 @@ Cache rates can remain `—` when the provider does not report enough usage data
106
106
  /dsh
107
107
  /dsh on
108
108
  /dsh off
109
+ /dsh help
109
110
  ```
110
111
 
111
112
  - `/dsh` toggles the native cache-rate text and reports the resulting state.
112
113
  - `/dsh on` shows it.
113
114
  - `/dsh off` hides it.
115
+ - `/dsh help` lists the available controls and explains that indexing remains active.
114
116
 
115
117
  The command controls display only. Projection, indexing, and provider cache measurement continue while the display is hidden. A typical provider-reported value is:
116
118
 
@@ -38,7 +38,7 @@ function recentSiblingSession(ctx: ExtensionContext): { id: string; ageMinutes:
38
38
  }
39
39
  }
40
40
 
41
- export const DSH_VERSION = "0.2.1";
41
+ export const DSH_VERSION = "0.2.2";
42
42
  const CACHE_STATUS_KEY = "prime-agent-dsh-cache";
43
43
  const CACHE_WIDGET_KEY = "prime-agent-dsh-cache-widget";
44
44
  const INSTALLS_KEY = Symbol.for("prime-agent-dsh.installs.v1");
@@ -137,15 +137,26 @@ export default function deepSeekHarnessExtension(pi: ExtensionAPI): void {
137
137
  });
138
138
 
139
139
  pi.registerCommand("dsh", {
140
- description: "Toggle DSH cache-rate text and report the resulting state",
140
+ description: "Toggle DSH cache-rate text, set visibility, or show help",
141
141
  handler: async (args, ctx) => {
142
142
  await Promise.resolve();
143
143
  const action = args.trim().toLowerCase();
144
+ if (action === "help") {
145
+ ctx.ui.notify([
146
+ "DSH commands:",
147
+ "/dsh — toggle cache-rate text and report the resulting state",
148
+ "/dsh on — show cache-rate text",
149
+ "/dsh off — hide cache-rate text",
150
+ "/dsh help — show this help",
151
+ "Display controls do not disable indexing or provider cache measurement.",
152
+ ].join("\n"), "info");
153
+ return;
154
+ }
144
155
  if (action === "") showCacheDisplay = !showCacheDisplay;
145
156
  else if (action === "on") showCacheDisplay = true;
146
157
  else if (action === "off") showCacheDisplay = false;
147
158
  else {
148
- ctx.ui.notify("Usage: /dsh [on|off]", "warning");
159
+ ctx.ui.notify("Usage: /dsh [on|off|help]", "warning");
149
160
  return;
150
161
  }
151
162
  refreshCacheDisplay(ctx);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prime-agent-dsh",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "DeepSeek Harness context sidecar and Python context objects for Prime Agent.",
5
5
  "keywords": [
6
6
  "prime-agent",
@@ -84,7 +84,7 @@ try {
84
84
 
85
85
  const installed = join(project, "node_modules", "prime-agent-dsh");
86
86
  const manifest = JSON.parse(await readFile(join(installed, "package.json"), "utf8"));
87
- assert.equal(manifest.version, "0.2.1", "packed plugin version is stale");
87
+ assert.equal(manifest.version, "0.2.2", "packed plugin version is stale");
88
88
  assert.deepEqual(manifest.repository, { type: "git", url: `git+${repositoryUrl}.git` });
89
89
  assert.equal(manifest.homepage, `${repositoryUrl}#readme`);
90
90
  assert.deepEqual(manifest.bugs, { url: `${repositoryUrl}/issues` });