prime-agent-dsh 0.2.2 → 0.2.3

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.3 - 2026-09-22
14
+
15
+ ### Changed
16
+
17
+ - Renamed cache display controls from `/dsh on|off` to `/dsh show|hide` for accurate presentation semantics.
18
+
13
19
  ## 0.2.2 - 2026-09-22
14
20
 
15
21
  ### Added
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 and help | Available | `/dsh`, `/dsh on`, `/dsh off`, `/dsh help`; indexing continues. |
51
+ | `/dsh` display toggle and help | Available | `/dsh`, `/dsh show`, `/dsh hide`, `/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.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.
98
+ `0.2.3` 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.2.
3
+ This guide covers npm, GitHub, local, and project-scoped installation for `prime-agent-dsh` 0.2.3.
4
4
 
5
5
  ## Requirements
6
6
 
@@ -104,14 +104,14 @@ Cache rates can remain `—` when the provider does not report enough usage data
104
104
 
105
105
  ```text
106
106
  /dsh
107
- /dsh on
108
- /dsh off
107
+ /dsh show
108
+ /dsh hide
109
109
  /dsh help
110
110
  ```
111
111
 
112
112
  - `/dsh` toggles the native cache-rate text and reports the resulting state.
113
- - `/dsh on` shows it.
114
- - `/dsh off` hides it.
113
+ - `/dsh show` shows it.
114
+ - `/dsh hide` hides it.
115
115
  - `/dsh help` lists the available controls and explains that indexing remains active.
116
116
 
117
117
  The command controls display only. Projection, indexing, and provider cache measurement continue while the display is hidden. A typical provider-reported value is:
@@ -38,7 +38,7 @@ function recentSiblingSession(ctx: ExtensionContext): { id: string; ageMinutes:
38
38
  }
39
39
  }
40
40
 
41
- export const DSH_VERSION = "0.2.2";
41
+ export const DSH_VERSION = "0.2.3";
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");
@@ -145,18 +145,18 @@ export default function deepSeekHarnessExtension(pi: ExtensionAPI): void {
145
145
  ctx.ui.notify([
146
146
  "DSH commands:",
147
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",
148
+ "/dsh show — show cache-rate text",
149
+ "/dsh hide — hide cache-rate text",
150
150
  "/dsh help — show this help",
151
151
  "Display controls do not disable indexing or provider cache measurement.",
152
152
  ].join("\n"), "info");
153
153
  return;
154
154
  }
155
155
  if (action === "") showCacheDisplay = !showCacheDisplay;
156
- else if (action === "on") showCacheDisplay = true;
157
- else if (action === "off") showCacheDisplay = false;
156
+ else if (action === "show") showCacheDisplay = true;
157
+ else if (action === "hide") showCacheDisplay = false;
158
158
  else {
159
- ctx.ui.notify("Usage: /dsh [on|off|help]", "warning");
159
+ ctx.ui.notify("Usage: /dsh [show|hide|help]", "warning");
160
160
  return;
161
161
  }
162
162
  refreshCacheDisplay(ctx);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prime-agent-dsh",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
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.2", "packed plugin version is stale");
87
+ assert.equal(manifest.version, "0.2.3", "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` });