dsh-cortex-memory 0.4.18 → 0.4.19

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
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.19 — 2026-11-13
4
+
5
+ - Revert client bundle id to `dsh-cortex`. It is intentionally different from loader row id `dsh-cortex-memory`.
6
+ - 0.4.18 set both to `dsh-cortex-memory`, causing duplicate factory registration and web boot failure; 0.4.19 removes that change.
7
+ - Loader id, local/public patch names and `~/.dsh/cortex-memory` data path remain unchanged.
8
+ - Add contract assertion that client id is `dsh-cortex` and not the loader id.
9
+ - Tests: 437/437.
3
10
  ## 0.4.18 — 2026-11-13
4
11
 
5
12
  - Fix client bundle id: `dsh-cortex` -> `dsh-cortex-memory`.
@@ -132,3 +139,4 @@
132
139
 
133
140
 
134
141
 
142
+
package/README.md CHANGED
@@ -9,13 +9,19 @@ core engine.
9
9
 
10
10
  ## Status
11
11
 
12
- - Package: `dsh-cortex-memory@0.4.18`
12
+ - Package: `dsh-cortex-memory@0.4.19`
13
13
  - Optional extractor: `dsh-cortex-extractors@0.3.5`
14
14
  - DSH: `>=0.2.1-rc.2 <0.4.0`
15
15
  - Node: `>=24`
16
16
  - Tests: 437/437 (main)
17
17
  - CI: GitHub Actions on Windows, Node 24
18
18
 
19
+ ### What 0.4.19 changes
20
+
21
+ - Client bundle id stays `dsh-cortex`; it must not equal the loader row id `dsh-cortex-memory`. 0.4.18 changed both to the same value and caused duplicate factory registration / boot failure.
22
+ - Loader id, patch names and data path are unchanged from 0.4.17.
23
+ - Tests: 437/437.
24
+
19
25
  ### What 0.4.18 changes
20
26
 
21
27
  - Client bundle id now matches the loader id `dsh-cortex-memory`; without this the host could load (health API/tools) while the sidebar panel did not register.
@@ -109,14 +115,14 @@ The script copies the old root, verifies the copied `cortex.sqlite` size, and le
109
115
  ## Install
110
116
 
111
117
  ```powershell
112
- npm i dsh-cortex-memory@0.4.18
118
+ npm i dsh-cortex-memory@0.4.19
113
119
  npm i dsh-cortex-extractors@0.3.5 # optional OCR/ASR
114
120
  ```
115
121
 
116
122
  Or let DSH add the bundles:
117
123
 
118
124
  ```powershell
119
- dsh plugin --profile desktop add dsh-cortex-memory@0.4.18
125
+ dsh plugin --profile desktop add dsh-cortex-memory@0.4.19
120
126
  dsh plugin --profile desktop add dsh-cortex-extractors@0.3.5
121
127
  ```
122
128
 
package/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  window.__ModuleLoader__.load({
2
- id: 'dsh-cortex-memory',
2
+ id: 'dsh-cortex',
3
3
  factory(require) {
4
4
  const React = require('react');
5
5
  const h = React.createElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-cortex-memory",
3
- "version": "0.4.18",
3
+ "version": "0.4.19",
4
4
  "description": "A layered, temporal, self-developing memory engine for DeepSeek Harness",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -9,7 +9,8 @@ const source = readFileSync(file, 'utf8');
9
9
 
10
10
  test('client registers the expected panel tabs and playbook actions', () => {
11
11
  assert.match(source, /__ModuleLoader__\.load/);
12
- assert.match(source, /id: 'dsh-cortex-memory'/);
12
+ assert.match(source, /id: 'dsh-cortex'/);
13
+ assert.doesNotMatch(source, /id: 'dsh-cortex-memory'/);
13
14
  for (const tab of ['self', 'search', 'timeline', 'working', 'emotion', 'life', 'graph', 'playbook', 'audit', 'retention', 'health', 'evolution', 'settings']) {
14
15
  assert.match(source, new RegExp(`\\['${tab}', t\\('`), `tab ${tab}`);
15
16
  }
@@ -27,3 +28,5 @@ test('client keeps keyboard and aria wiring for the panel', () => {
27
28
  assert.match(source, /ArrowRight/);
28
29
  assert.match(source, /role: 'tabpanel'/);
29
30
  });
31
+
32
+