@yadsh/dsh-kv-persist 0.2.3 → 0.2.4

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/README.md CHANGED
@@ -35,21 +35,24 @@ falls back to normal inference. The model never knows this plugin exists.
35
35
 
36
36
  - DeepSeek Harness >= 0.1.5-rc.2 < 0.2.0
37
37
  - A llama.cpp `llama-server` started with `--slots --slot-save-path <dir>`
38
- and `--parallel 1` for the single-slot mode (see the [design doc](./docs/dsh-kv-persist.md) §6).
38
+ and `--parallel 1` for the single-slot mode (see the [design doc](https://github.com/xarleyn/dsh-plugins/blob/main/plugins/dsh-kv-persist/docs/dsh-kv-persist.md) §6).
39
39
  The server flag does not replace the plugin's local lease, which also
40
40
  serializes save, restore, erase, and terminal stream bookkeeping.
41
41
  - Node.js >= 22
42
42
 
43
43
  ## Installation
44
44
 
45
+ Install the published npm package by name:
46
+
45
47
  ```bash
46
- dsh plugin add @yadsh/dsh-kv-persist
48
+ dsh plugin --profile <profile> add @yadsh/dsh-kv-persist
47
49
  ```
48
50
 
49
- From sources:
51
+ From sources, build the package and link the checkout:
50
52
 
51
53
  ```bash
52
54
  pnpm nx run @yadsh/dsh-kv-persist:build
55
+ dsh plugin --profile <profile> add ./plugins/dsh-kv-persist
53
56
  ```
54
57
 
55
58
  ## Configuration
@@ -81,7 +84,7 @@ providers listed under `providers` are ever coordinated.
81
84
  | `metadata.path` | string | `<DSH home>/cache/dsh-kv-persist` | Manifest storage directory. DSH home is non-blank `$DSH_HOME`, otherwise `~/.dsh`. |
82
85
  | `logging.level` | `"debug" \| "info" \| "off"` | `"info"` | Structured `kv.*` event verbosity. |
83
86
 
84
- Full configuration rationale: [design doc §35](./docs/dsh-kv-persist.md).
87
+ Full configuration rationale: [design doc §35](https://github.com/xarleyn/dsh-plugins/blob/main/plugins/dsh-kv-persist/docs/dsh-kv-persist.md).
85
88
 
86
89
  ## Compatibility
87
90
 
@@ -105,7 +108,7 @@ Optional end-to-end check against a live server (no GPU in CI):
105
108
  DSH_KV_TEST_LLAMA_URL=http://127.0.0.1:8080 pnpm --filter @yadsh/dsh-kv-persist test:llama
106
109
  ```
107
110
 
108
- See [SPEC.md](./SPEC.md) for the product contract and implementation status.
111
+ See [SPEC.md](https://github.com/xarleyn/dsh-plugins/blob/main/plugins/dsh-kv-persist/SPEC.md) for the product contract and implementation status.
109
112
 
110
113
  ## License
111
114
 
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@yadsh/dsh-kv-persist",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Persistent KV-cache/session-state manager for DeepSeek Harness (llama.cpp slot snapshots)",
5
5
  "keywords": [
6
6
  "deepseek",
7
7
  "deepseek-harness",
8
8
  "dsh",
9
9
  "dsh-plugin",
10
+ "cordis",
10
11
  "kv-cache",
11
12
  "llama-cpp",
12
- "persistence"
13
+ "persistence",
14
+ "session-state"
13
15
  ],
14
16
  "homepage": "https://github.com/xarleyn/dsh-plugins/tree/main/plugins/dsh-kv-persist#readme",
15
17
  "bugs": {
@@ -36,7 +38,6 @@
36
38
  "lib",
37
39
  "cordis.patch.yml",
38
40
  "compatibility.json",
39
- "docs/dsh-kv-persist.md",
40
41
  "README.md",
41
42
  "LICENSE"
42
43
  ],
@@ -68,7 +69,7 @@
68
69
  "@yadsh/dsh-config": "^0.0.0"
69
70
  },
70
71
  "dependencies": {
71
- "@yadsh/dsh-plugin-log": "^0.2.1"
72
+ "@yadsh/dsh-plugin-log": "^0.3.0"
72
73
  },
73
74
  "scripts": {
74
75
  "build": "tsc -p tsconfig.build.json",