dsh-memento 0.4.2 → 0.4.3
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/ARCHITECTURE.md +177 -177
- package/CHANGELOG.md +111 -104
- package/client/client.js +241 -241
- package/index.mjs +1743 -1739
- package/lib/constants.mjs +68 -68
- package/lib/store.mjs +717 -717
- package/package.json +153 -153
- package/types.d.ts +238 -237
package/package.json
CHANGED
|
@@ -1,153 +1,153 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-memento",
|
|
3
|
-
"description": "Bounded, layered, approval-gated, auditable cross-session memory for DeepSeek Harness — a capability seam (ctx.memory service + local SQLite provider + memory tool + frozen snapshot injection), not another memory warehouse",
|
|
4
|
-
"version": "0.4.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./index.mjs",
|
|
7
|
-
"types": "./types.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./types.d.ts",
|
|
11
|
-
"default": "./index.mjs"
|
|
12
|
-
},
|
|
13
|
-
"./client": {
|
|
14
|
-
"types": "./client/client.d.ts",
|
|
15
|
-
"default": "./client/client.js"
|
|
16
|
-
},
|
|
17
|
-
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
18
|
-
"./package.json": "./package.json"
|
|
19
|
-
},
|
|
20
|
-
"files": [
|
|
21
|
-
"index.mjs",
|
|
22
|
-
"types.d.ts",
|
|
23
|
-
"lib",
|
|
24
|
-
"client",
|
|
25
|
-
"cordis.patch.yml",
|
|
26
|
-
"README.md",
|
|
27
|
-
"README.zh.md",
|
|
28
|
-
"README.es.md",
|
|
29
|
-
"README.pt.md",
|
|
30
|
-
"README.hi.md",
|
|
31
|
-
"ARCHITECTURE.md",
|
|
32
|
-
"CHANGELOG.md",
|
|
33
|
-
"LICENSE",
|
|
34
|
-
"THIRD_PARTY_NOTICES.md",
|
|
35
|
-
"docs/protocol-v1.md",
|
|
36
|
-
"docs/protocol-v1.zh.md",
|
|
37
|
-
"docs/adapters-guide.md",
|
|
38
|
-
"docs/adapters-guide.zh.md",
|
|
39
|
-
"docs/upstream-proposal.md",
|
|
40
|
-
"docs/upstream-proposal.zh.md",
|
|
41
|
-
"docs/schemas",
|
|
42
|
-
"test/protocol-conformance"
|
|
43
|
-
],
|
|
44
|
-
"repository": {
|
|
45
|
-
"type": "git",
|
|
46
|
-
"url": "git+https://github.com/PerryLink/dsh-memento.git"
|
|
47
|
-
},
|
|
48
|
-
"homepage": "https://github.com/PerryLink/dsh-memento#readme",
|
|
49
|
-
"bugs": {
|
|
50
|
-
"url": "https://github.com/PerryLink/dsh-memento/issues"
|
|
51
|
-
},
|
|
52
|
-
"dsh": {
|
|
53
|
-
"bundle": {
|
|
54
|
-
"patch": "./cordis.patch.yml"
|
|
55
|
-
},
|
|
56
|
-
"client": {
|
|
57
|
-
"platform": "web",
|
|
58
|
-
"immediately": true
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"dshWorkshop": {
|
|
62
|
-
"schema": "omdsh-workshop-package/v1",
|
|
63
|
-
"type": "plugin",
|
|
64
|
-
"integration": {
|
|
65
|
-
"protocol": "harness-profile",
|
|
66
|
-
"artifact": "package.json"
|
|
67
|
-
},
|
|
68
|
-
"install": {
|
|
69
|
-
"mode": "transactional",
|
|
70
|
-
"adapter": "profile-bundle",
|
|
71
|
-
"failurePolicy": "generation-rollback",
|
|
72
|
-
"touchesCurrentBeforeActivation": false
|
|
73
|
-
},
|
|
74
|
-
"lifecycle": {
|
|
75
|
-
"activation": "hot-reload",
|
|
76
|
-
"dispose": "supported"
|
|
77
|
-
},
|
|
78
|
-
"permissions": [
|
|
79
|
-
"harness:tool",
|
|
80
|
-
"filesystem:read",
|
|
81
|
-
"filesystem:write",
|
|
82
|
-
"network:none",
|
|
83
|
-
"subprocess:none",
|
|
84
|
-
"shell:none",
|
|
85
|
-
"python:none",
|
|
86
|
-
"credentials:none"
|
|
87
|
-
],
|
|
88
|
-
"compatibility": {
|
|
89
|
-
"dshVersions": [
|
|
90
|
-
"0.1.0-rc.
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
"capability": {
|
|
94
|
-
"id": "memory",
|
|
95
|
-
"kind": "tool",
|
|
96
|
-
"invocation": "memory action=query text=preferences",
|
|
97
|
-
"expected": "structured result listing entries matching the query in the local memory store"
|
|
98
|
-
},
|
|
99
|
-
"evidence": {
|
|
100
|
-
"install": "docs/OMDSH_REVIEW.md",
|
|
101
|
-
"failureIsolation": null,
|
|
102
|
-
"hotReload": null,
|
|
103
|
-
"remove": null
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"peerDependencies": {
|
|
107
|
-
"@deepseek-ai/cordis": "^4.0.1",
|
|
108
|
-
"@deepseek-ai/dsh-session": ">=0.1.0-rc.
|
|
109
|
-
"@deepseek-ai/dsh-tools": ">=0.1.0-rc.
|
|
110
|
-
"@deepseek-ai/schemastery": ">=3.0.0"
|
|
111
|
-
},
|
|
112
|
-
"devDependencies": {
|
|
113
|
-
"@deepseek-ai/cordis": "^4.0.1",
|
|
114
|
-
"@deepseek-ai/cordis-plugin-include": "^1.0.6",
|
|
115
|
-
"@deepseek-ai/cordis-plugin-loader": "^1.0.2",
|
|
116
|
-
"@deepseek-ai/dsh-session": "
|
|
117
|
-
"@deepseek-ai/dsh-tools": "
|
|
118
|
-
"@deepseek-ai/schemastery": ">=3.0.0",
|
|
119
|
-
"@types/node": "^26.2.0",
|
|
120
|
-
"oxlint": "^0.18.1",
|
|
121
|
-
"typescript": "^7.0.2"
|
|
122
|
-
},
|
|
123
|
-
"scripts": {
|
|
124
|
-
"test": "node --test \"test/*.test.mjs\"",
|
|
125
|
-
"coverage": "node --test --experimental-test-coverage \"test/*.test.mjs\"",
|
|
126
|
-
"lint": "oxlint",
|
|
127
|
-
"check:coverage": "node scripts/check-coverage.mjs",
|
|
128
|
-
"typecheck": "tsc -p tsconfig.check.json",
|
|
129
|
-
"check:readmes": "node scripts/verify-readmes.mjs",
|
|
130
|
-
"verify:self-contained": "node scripts/verify-self-contained.mjs",
|
|
131
|
-
"verify:artifacts": "node scripts/verify-artifacts.mjs",
|
|
132
|
-
"test:conformance": "node test/protocol-conformance/run.mjs"
|
|
133
|
-
},
|
|
134
|
-
"keywords": [
|
|
135
|
-
"dsh",
|
|
136
|
-
"dsh-plugin",
|
|
137
|
-
"deepseek-harness",
|
|
138
|
-
"memory",
|
|
139
|
-
"agent-memory",
|
|
140
|
-
"approval",
|
|
141
|
-
"audit",
|
|
142
|
-
"sqlite",
|
|
143
|
-
"cordis",
|
|
144
|
-
"llm"
|
|
145
|
-
],
|
|
146
|
-
"engines": {
|
|
147
|
-
"node": "^22.19.0 || >=24.0.0"
|
|
148
|
-
},
|
|
149
|
-
"publishConfig": {
|
|
150
|
-
"access": "public"
|
|
151
|
-
},
|
|
152
|
-
"license": "Apache-2.0"
|
|
153
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-memento",
|
|
3
|
+
"description": "Bounded, layered, approval-gated, auditable cross-session memory for DeepSeek Harness — a capability seam (ctx.memory service + local SQLite provider + memory tool + frozen snapshot injection), not another memory warehouse",
|
|
4
|
+
"version": "0.4.3",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./index.mjs",
|
|
7
|
+
"types": "./types.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./types.d.ts",
|
|
11
|
+
"default": "./index.mjs"
|
|
12
|
+
},
|
|
13
|
+
"./client": {
|
|
14
|
+
"types": "./client/client.d.ts",
|
|
15
|
+
"default": "./client/client.js"
|
|
16
|
+
},
|
|
17
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
18
|
+
"./package.json": "./package.json"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"index.mjs",
|
|
22
|
+
"types.d.ts",
|
|
23
|
+
"lib",
|
|
24
|
+
"client",
|
|
25
|
+
"cordis.patch.yml",
|
|
26
|
+
"README.md",
|
|
27
|
+
"README.zh.md",
|
|
28
|
+
"README.es.md",
|
|
29
|
+
"README.pt.md",
|
|
30
|
+
"README.hi.md",
|
|
31
|
+
"ARCHITECTURE.md",
|
|
32
|
+
"CHANGELOG.md",
|
|
33
|
+
"LICENSE",
|
|
34
|
+
"THIRD_PARTY_NOTICES.md",
|
|
35
|
+
"docs/protocol-v1.md",
|
|
36
|
+
"docs/protocol-v1.zh.md",
|
|
37
|
+
"docs/adapters-guide.md",
|
|
38
|
+
"docs/adapters-guide.zh.md",
|
|
39
|
+
"docs/upstream-proposal.md",
|
|
40
|
+
"docs/upstream-proposal.zh.md",
|
|
41
|
+
"docs/schemas",
|
|
42
|
+
"test/protocol-conformance"
|
|
43
|
+
],
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "git+https://github.com/PerryLink/dsh-memento.git"
|
|
47
|
+
},
|
|
48
|
+
"homepage": "https://github.com/PerryLink/dsh-memento#readme",
|
|
49
|
+
"bugs": {
|
|
50
|
+
"url": "https://github.com/PerryLink/dsh-memento/issues"
|
|
51
|
+
},
|
|
52
|
+
"dsh": {
|
|
53
|
+
"bundle": {
|
|
54
|
+
"patch": "./cordis.patch.yml"
|
|
55
|
+
},
|
|
56
|
+
"client": {
|
|
57
|
+
"platform": "web",
|
|
58
|
+
"immediately": true
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"dshWorkshop": {
|
|
62
|
+
"schema": "omdsh-workshop-package/v1",
|
|
63
|
+
"type": "plugin",
|
|
64
|
+
"integration": {
|
|
65
|
+
"protocol": "harness-profile",
|
|
66
|
+
"artifact": "package.json"
|
|
67
|
+
},
|
|
68
|
+
"install": {
|
|
69
|
+
"mode": "transactional",
|
|
70
|
+
"adapter": "profile-bundle",
|
|
71
|
+
"failurePolicy": "generation-rollback",
|
|
72
|
+
"touchesCurrentBeforeActivation": false
|
|
73
|
+
},
|
|
74
|
+
"lifecycle": {
|
|
75
|
+
"activation": "hot-reload",
|
|
76
|
+
"dispose": "supported"
|
|
77
|
+
},
|
|
78
|
+
"permissions": [
|
|
79
|
+
"harness:tool",
|
|
80
|
+
"filesystem:read",
|
|
81
|
+
"filesystem:write",
|
|
82
|
+
"network:none",
|
|
83
|
+
"subprocess:none",
|
|
84
|
+
"shell:none",
|
|
85
|
+
"python:none",
|
|
86
|
+
"credentials:none"
|
|
87
|
+
],
|
|
88
|
+
"compatibility": {
|
|
89
|
+
"dshVersions": [
|
|
90
|
+
"0.1.0-rc.8"
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"capability": {
|
|
94
|
+
"id": "memory",
|
|
95
|
+
"kind": "tool",
|
|
96
|
+
"invocation": "memory action=query text=preferences",
|
|
97
|
+
"expected": "structured result listing entries matching the query in the local memory store"
|
|
98
|
+
},
|
|
99
|
+
"evidence": {
|
|
100
|
+
"install": "docs/OMDSH_REVIEW.md",
|
|
101
|
+
"failureIsolation": null,
|
|
102
|
+
"hotReload": null,
|
|
103
|
+
"remove": null
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"peerDependencies": {
|
|
107
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
108
|
+
"@deepseek-ai/dsh-session": ">=0.1.0-rc.8 <0.2.0",
|
|
109
|
+
"@deepseek-ai/dsh-tools": ">=0.1.0-rc.8 <0.2.0",
|
|
110
|
+
"@deepseek-ai/schemastery": ">=3.0.0"
|
|
111
|
+
},
|
|
112
|
+
"devDependencies": {
|
|
113
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
114
|
+
"@deepseek-ai/cordis-plugin-include": "^1.0.6",
|
|
115
|
+
"@deepseek-ai/cordis-plugin-loader": "^1.0.2",
|
|
116
|
+
"@deepseek-ai/dsh-session": "0.1.0-rc.8",
|
|
117
|
+
"@deepseek-ai/dsh-tools": "0.1.0-rc.8",
|
|
118
|
+
"@deepseek-ai/schemastery": ">=3.0.0",
|
|
119
|
+
"@types/node": "^26.2.0",
|
|
120
|
+
"oxlint": "^0.18.1",
|
|
121
|
+
"typescript": "^7.0.2"
|
|
122
|
+
},
|
|
123
|
+
"scripts": {
|
|
124
|
+
"test": "node --test \"test/*.test.mjs\"",
|
|
125
|
+
"coverage": "node --test --experimental-test-coverage \"test/*.test.mjs\"",
|
|
126
|
+
"lint": "oxlint",
|
|
127
|
+
"check:coverage": "node scripts/check-coverage.mjs",
|
|
128
|
+
"typecheck": "tsc -p tsconfig.check.json",
|
|
129
|
+
"check:readmes": "node scripts/verify-readmes.mjs",
|
|
130
|
+
"verify:self-contained": "node scripts/verify-self-contained.mjs",
|
|
131
|
+
"verify:artifacts": "node scripts/verify-artifacts.mjs",
|
|
132
|
+
"test:conformance": "node test/protocol-conformance/run.mjs"
|
|
133
|
+
},
|
|
134
|
+
"keywords": [
|
|
135
|
+
"dsh",
|
|
136
|
+
"dsh-plugin",
|
|
137
|
+
"deepseek-harness",
|
|
138
|
+
"memory",
|
|
139
|
+
"agent-memory",
|
|
140
|
+
"approval",
|
|
141
|
+
"audit",
|
|
142
|
+
"sqlite",
|
|
143
|
+
"cordis",
|
|
144
|
+
"llm"
|
|
145
|
+
],
|
|
146
|
+
"engines": {
|
|
147
|
+
"node": "^22.19.0 || >=24.0.0"
|
|
148
|
+
},
|
|
149
|
+
"publishConfig": {
|
|
150
|
+
"access": "public"
|
|
151
|
+
},
|
|
152
|
+
"license": "Apache-2.0"
|
|
153
|
+
}
|