dsh-cortex-memory 0.4.17 → 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 +15 -0
- package/README.md +15 -3
- package/cordis.patch.yml +1 -0
- package/index.js +2 -1
- package/package.json +1 -1
- package/test/unit/client-contract.test.js +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
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.
|
|
10
|
+
## 0.4.18 — 2026-11-13
|
|
11
|
+
|
|
12
|
+
- Fix client bundle id: `dsh-cortex` -> `dsh-cortex-memory`.
|
|
13
|
+
- 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.
|
|
14
|
+
- Local package keeps `patch.name: dsh-cortex`; public package keeps `patch.name: dsh-cortex-memory`.
|
|
15
|
+
- Tests: 437/437.
|
|
3
16
|
## 0.4.17 — 2026-11-13
|
|
4
17
|
|
|
5
18
|
- Loader id and bundle row change to `dsh-cortex-memory`; `ctx.provide('cortex')` remains as a compatibility alias.
|
|
@@ -125,3 +138,5 @@
|
|
|
125
138
|
|
|
126
139
|
|
|
127
140
|
|
|
141
|
+
|
|
142
|
+
|
package/README.md
CHANGED
|
@@ -9,13 +9,25 @@ core engine.
|
|
|
9
9
|
|
|
10
10
|
## Status
|
|
11
11
|
|
|
12
|
-
- Package: `dsh-cortex-memory@0.4.
|
|
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
|
+
|
|
25
|
+
### What 0.4.18 changes
|
|
26
|
+
|
|
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.
|
|
28
|
+
- Local package patch still loads package name `dsh-cortex`; the public package patch loads `dsh-cortex-memory`. This distinction is intentional.
|
|
29
|
+
- Tests: 437/437.
|
|
30
|
+
|
|
19
31
|
### What 0.4.17 changes
|
|
20
32
|
|
|
21
33
|
- **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 +115,14 @@ The script copies the old root, verifies the copied `cortex.sqlite` size, and le
|
|
|
103
115
|
## Install
|
|
104
116
|
|
|
105
117
|
```powershell
|
|
106
|
-
npm i dsh-cortex-memory@0.4.
|
|
118
|
+
npm i dsh-cortex-memory@0.4.19
|
|
107
119
|
npm i dsh-cortex-extractors@0.3.5 # optional OCR/ASR
|
|
108
120
|
```
|
|
109
121
|
|
|
110
122
|
Or let DSH add the bundles:
|
|
111
123
|
|
|
112
124
|
```powershell
|
|
113
|
-
dsh plugin --profile desktop add dsh-cortex-memory@0.4.
|
|
125
|
+
dsh plugin --profile desktop add dsh-cortex-memory@0.4.19
|
|
114
126
|
dsh plugin --profile desktop add dsh-cortex-extractors@0.3.5
|
|
115
127
|
```
|
|
116
128
|
|
package/cordis.patch.yml
CHANGED
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 = '
|
|
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
|
@@ -10,6 +10,7 @@ const source = readFileSync(file, 'utf8');
|
|
|
10
10
|
test('client registers the expected panel tabs and playbook actions', () => {
|
|
11
11
|
assert.match(source, /__ModuleLoader__\.load/);
|
|
12
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
|
+
|