dsh-cortex-memory 0.4.17 → 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,11 @@
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.
3
9
  ## 0.4.17 — 2026-11-13
4
10
 
5
11
  - Loader id and bundle row change to `dsh-cortex-memory`; `ctx.provide('cortex')` remains as a compatibility alias.
@@ -125,3 +131,4 @@
125
131
 
126
132
 
127
133
 
134
+
package/README.md CHANGED
@@ -9,13 +9,19 @@ core engine.
9
9
 
10
10
  ## Status
11
11
 
12
- - Package: `dsh-cortex-memory@0.4.17`
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
+
19
25
  ### What 0.4.17 changes
20
26
 
21
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')`.
@@ -103,14 +109,14 @@ The script copies the old root, verifies the copied `cortex.sqlite` size, and le
103
109
  ## Install
104
110
 
105
111
  ```powershell
106
- npm i dsh-cortex-memory@0.4.17
112
+ npm i dsh-cortex-memory@0.4.18
107
113
  npm i dsh-cortex-extractors@0.3.5 # optional OCR/ASR
108
114
  ```
109
115
 
110
116
  Or let DSH add the bundles:
111
117
 
112
118
  ```powershell
113
- dsh plugin --profile desktop add dsh-cortex-memory@0.4.17
119
+ dsh plugin --profile desktop add dsh-cortex-memory@0.4.18
114
120
  dsh plugin --profile desktop add dsh-cortex-extractors@0.3.5
115
121
  ```
116
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
@@ -5,3 +5,4 @@
5
5
  - id: dsh-cortex-memory
6
6
  name: 'dsh-cortex-memory'
7
7
  config: {}
8
+
package/index.js CHANGED
@@ -8,7 +8,7 @@ import { createScheduler } from './src/host/scheduler.js';
8
8
  import { effectiveFeatures } from './src/core/feature-overrides.js';
9
9
  import { createWebSearch } from './src/web/search.js';
10
10
 
11
- export const name = 'dsh-cortex-memory';
11
+ export const name = 'cortex';
12
12
  export const inject = ['tools', 'systemPrompt'];
13
13
 
14
14
  let Schema = null;
@@ -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.17",
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
  }