dsh-cortex-memory 0.4.16 → 0.4.18

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,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.18 — 2026-11-13
4
+
5
+ - Fix client bundle id: `dsh-cortex` -> `dsh-cortex-memory`.
6
+ - Host can be active while the sidebar panel is absent if the client module id does not match the loader row; this release aligns them.
7
+ - Local package keeps `patch.name: dsh-cortex`; public package keeps `patch.name: dsh-cortex-memory`.
8
+ - Tests: 437/437.
9
+ ## 0.4.17 — 2026-11-13
10
+
11
+ - Loader id and bundle row change to `dsh-cortex-memory`; `ctx.provide('cortex')` remains as a compatibility alias.
12
+ - Existing profile rows must migrate from `cortex` to `dsh-cortex-memory`; a migration script backs up the profile and verifies exactly one target row.
13
+ - Data root remains `DSH_HOME/cortex-memory`; legacy data is copied, never moved.
14
+ - Tests: 437/437.
3
15
  ## 0.4.16 — 2026-11-13
4
16
 
5
17
  - Default data root moves to `DSH_HOME/cortex-memory` (desktop) and `DSH_HOME/cortex-memory/profiles/<profile>` for other profiles.
@@ -118,3 +130,5 @@
118
130
 
119
131
 
120
132
 
133
+
134
+
package/README.md CHANGED
@@ -9,13 +9,25 @@ core engine.
9
9
 
10
10
  ## Status
11
11
 
12
- - Package: `dsh-cortex-memory@0.4.16`
12
+ - Package: `dsh-cortex-memory@0.4.18`
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.18 changes
20
+
21
+ - 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.
22
+ - Local package patch still loads package name `dsh-cortex`; the public package patch loads `dsh-cortex-memory`. This distinction is intentional.
23
+ - Tests: 437/437.
24
+
25
+ ### What 0.4.17 changes
26
+
27
+ - **Loader id is now `dsh-cortex-memory`** (the package patch and profile row). The `cortex` service key remains as a compatibility alias for code that calls `ctx.get('cortex')`.
28
+ - Existing profiles must migrate the `cordis.patch.yml` row from `cortex` to `dsh-cortex-memory`; the migration script backs up the profile and verifies exactly one target row.
29
+ - Data root is already `~/.dsh/cortex-memory`; legacy `~/.dsh/cortex` is copied, never moved.
30
+
19
31
  ### What 0.4.16 changes
20
32
 
21
33
  - **Public data path is now `~/.dsh/cortex-memory`**. The old `~/.dsh/cortex` directory is never moved or deleted; the oneclick/upgrade script copies it, verifies it, and keeps a backup.
@@ -97,14 +109,14 @@ The script copies the old root, verifies the copied `cortex.sqlite` size, and le
97
109
  ## Install
98
110
 
99
111
  ```powershell
100
- npm i dsh-cortex-memory@0.4.16
112
+ npm i dsh-cortex-memory@0.4.18
101
113
  npm i dsh-cortex-extractors@0.3.5 # optional OCR/ASR
102
114
  ```
103
115
 
104
116
  Or let DSH add the bundles:
105
117
 
106
118
  ```powershell
107
- dsh plugin --profile desktop add dsh-cortex-memory@0.4.16
119
+ dsh plugin --profile desktop add dsh-cortex-memory@0.4.18
108
120
  dsh plugin --profile desktop add dsh-cortex-extractors@0.3.5
109
121
  ```
110
122
 
package/client.js CHANGED
@@ -1,5 +1,5 @@
1
1
  window.__ModuleLoader__.load({
2
- id: 'dsh-cortex',
2
+ id: 'dsh-cortex-memory',
3
3
  factory(require) {
4
4
  const React = require('react');
5
5
  const h = React.createElement;
package/cordis.patch.yml CHANGED
@@ -1,7 +1,8 @@
1
1
  # dsh-cortex bundle patch.
2
- # Host row + client panel. The engine owns its own data root (~/.dsh/cortex),
2
+ # Host row + client panel. The engine owns its own data root (~/.dsh/cortex-memory),
3
3
  # never shiori's data.
4
4
  - insert:
5
- - id: cortex
6
- name: 'dsh-cortex'
5
+ - id: dsh-cortex-memory
6
+ name: 'dsh-cortex-memory'
7
7
  config: {}
8
+
package/index.js CHANGED
@@ -206,3 +206,4 @@ export async function apply(ctx, config = {}) {
206
206
 
207
207
  ctx.logger?.info?.(`cortex: ready(db=${cortex.config.dbFile},scope=${cortex.config.scope})`);
208
208
  }
209
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-cortex-memory",
3
- "version": "0.4.16",
3
+ "version": "0.4.18",
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,7 @@ 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'/);
12
+ assert.match(source, /id: 'dsh-cortex-memory'/);
13
13
  for (const tab of ['self', 'search', 'timeline', 'working', 'emotion', 'life', 'graph', 'playbook', 'audit', 'retention', 'health', 'evolution', 'settings']) {
14
14
  assert.match(source, new RegExp(`\\['${tab}', t\\('`), `tab ${tab}`);
15
15
  }