dsh-cortex-memory 0.4.16 → 0.4.17
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 +7 -0
- package/README.md +9 -3
- package/cordis.patch.yml +3 -3
- package/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.17 — 2026-11-13
|
|
4
|
+
|
|
5
|
+
- Loader id and bundle row change to `dsh-cortex-memory`; `ctx.provide('cortex')` remains as a compatibility alias.
|
|
6
|
+
- Existing profile rows must migrate from `cortex` to `dsh-cortex-memory`; a migration script backs up the profile and verifies exactly one target row.
|
|
7
|
+
- Data root remains `DSH_HOME/cortex-memory`; legacy data is copied, never moved.
|
|
8
|
+
- Tests: 437/437.
|
|
3
9
|
## 0.4.16 — 2026-11-13
|
|
4
10
|
|
|
5
11
|
- Default data root moves to `DSH_HOME/cortex-memory` (desktop) and `DSH_HOME/cortex-memory/profiles/<profile>` for other profiles.
|
|
@@ -118,3 +124,4 @@
|
|
|
118
124
|
|
|
119
125
|
|
|
120
126
|
|
|
127
|
+
|
package/README.md
CHANGED
|
@@ -9,13 +9,19 @@ core engine.
|
|
|
9
9
|
|
|
10
10
|
## Status
|
|
11
11
|
|
|
12
|
-
- Package: `dsh-cortex-memory@0.4.
|
|
12
|
+
- Package: `dsh-cortex-memory@0.4.17`
|
|
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.17 changes
|
|
20
|
+
|
|
21
|
+
- **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')`.
|
|
22
|
+
- 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.
|
|
23
|
+
- Data root is already `~/.dsh/cortex-memory`; legacy `~/.dsh/cortex` is copied, never moved.
|
|
24
|
+
|
|
19
25
|
### What 0.4.16 changes
|
|
20
26
|
|
|
21
27
|
- **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 +103,14 @@ The script copies the old root, verifies the copied `cortex.sqlite` size, and le
|
|
|
97
103
|
## Install
|
|
98
104
|
|
|
99
105
|
```powershell
|
|
100
|
-
npm i dsh-cortex-memory@0.4.
|
|
106
|
+
npm i dsh-cortex-memory@0.4.17
|
|
101
107
|
npm i dsh-cortex-extractors@0.3.5 # optional OCR/ASR
|
|
102
108
|
```
|
|
103
109
|
|
|
104
110
|
Or let DSH add the bundles:
|
|
105
111
|
|
|
106
112
|
```powershell
|
|
107
|
-
dsh plugin --profile desktop add dsh-cortex-memory@0.4.
|
|
113
|
+
dsh plugin --profile desktop add dsh-cortex-memory@0.4.17
|
|
108
114
|
dsh plugin --profile desktop add dsh-cortex-extractors@0.3.5
|
|
109
115
|
```
|
|
110
116
|
|
package/cordis.patch.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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: {}
|
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 = 'cortex';
|
|
11
|
+
export const name = 'dsh-cortex-memory';
|
|
12
12
|
export const inject = ['tools', 'systemPrompt'];
|
|
13
13
|
|
|
14
14
|
let Schema = null;
|