dsh-engramory 0.1.0 → 0.1.1
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/README.md +12 -5
- package/cordis.patch.yml +16 -0
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -28,15 +28,22 @@ a path that is easy to get subtly wrong and fails silently when you do.
|
|
|
28
28
|
dsh plugin --profile <name> add dsh-engramory
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
That is the whole install. The package ships a `dsh.bundle` manifest pointing at its own
|
|
32
|
+
`cordis.patch.yml`, so the row is inserted into the profile's plugin tree for you — no
|
|
33
|
+
hand-editing. To change a default, restate the row in your profile's own patch layer:
|
|
32
34
|
|
|
33
35
|
```yaml
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
- insert:
|
|
37
|
+
- id: engramory
|
|
38
|
+
name: dsh-engramory
|
|
39
|
+
config:
|
|
40
|
+
indexName: MEMORY.md
|
|
41
|
+
maxLines: 200
|
|
42
|
+
maxBytes: 25600
|
|
38
43
|
```
|
|
39
44
|
|
|
45
|
+
A patch replaces the targeted row's whole `config`, so list every key you mean to keep.
|
|
46
|
+
|
|
40
47
|
For the store itself and the always-on block, use the installer in the Engramory repo
|
|
41
48
|
(`python tools/engramory_init.py dsh --install-skill`). This plugin enforces the cap and
|
|
42
49
|
supplies the protocol; it does not create the store.
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# The dsh-engramory bundle patch: one row, inserted over whatever layers came before
|
|
2
|
+
# it. A patch replaces the targeted row's whole `config`, so a profile overriding this
|
|
3
|
+
# row must restate every key it means to keep.
|
|
4
|
+
#
|
|
5
|
+
# The numbers below are the protocol's own caps, not this port's opinion: 200 lines /
|
|
6
|
+
# 25 KB is what keeps MEMORY.md cheap enough to load at the start of every session, and
|
|
7
|
+
# it is the same limit hooks/engramory_index_guard.py enforces on Claude Code. They live
|
|
8
|
+
# here, beside the row, so a deployment can raise or lower them without touching code.
|
|
9
|
+
|
|
10
|
+
- insert:
|
|
11
|
+
- id: engramory
|
|
12
|
+
name: dsh-engramory
|
|
13
|
+
config:
|
|
14
|
+
indexName: MEMORY.md
|
|
15
|
+
maxLines: 200
|
|
16
|
+
maxBytes: 25600
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-engramory",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Curated file-based long-term memory for DeepSeek Harness — human-readable markdown notes, one git-versioned store shared across hosts, and a deterministic index cap enforced by ctx.tools.guard()",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh-plugin",
|
|
@@ -14,12 +14,18 @@
|
|
|
14
14
|
],
|
|
15
15
|
"type": "module",
|
|
16
16
|
"main": "index.js",
|
|
17
|
+
"dsh": {
|
|
18
|
+
"bundle": {
|
|
19
|
+
"patch": "./cordis.patch.yml"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
17
22
|
"exports": {
|
|
18
23
|
".": "./index.js",
|
|
19
24
|
"./package.json": "./package.json"
|
|
20
25
|
},
|
|
21
26
|
"files": [
|
|
22
27
|
"index.js",
|
|
28
|
+
"cordis.patch.yml",
|
|
23
29
|
"README.md",
|
|
24
30
|
"LICENSE"
|
|
25
31
|
],
|