@chenhw7/dsh-memory 0.1.0
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/LICENSE +21 -0
- package/README.md +288 -0
- package/README.zh-CN.md +280 -0
- package/cordis.patch.yml +32 -0
- package/lib/brand.d.ts +10 -0
- package/lib/brand.d.ts.map +1 -0
- package/lib/brand.js +10 -0
- package/lib/brand.js.map +1 -0
- package/lib/context/index.d.ts +70 -0
- package/lib/context/index.d.ts.map +1 -0
- package/lib/context/index.js +123 -0
- package/lib/context/index.js.map +1 -0
- package/lib/context/policy.d.ts +28 -0
- package/lib/context/policy.d.ts.map +1 -0
- package/lib/context/policy.js +52 -0
- package/lib/context/policy.js.map +1 -0
- package/lib/index.d.ts +75 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +33 -0
- package/lib/index.js.map +1 -0
- package/lib/invariant.d.ts +27 -0
- package/lib/invariant.d.ts.map +1 -0
- package/lib/invariant.js +42 -0
- package/lib/invariant.js.map +1 -0
- package/lib/review/accumulator.d.ts +64 -0
- package/lib/review/accumulator.d.ts.map +1 -0
- package/lib/review/accumulator.js +101 -0
- package/lib/review/accumulator.js.map +1 -0
- package/lib/review/extract.d.ts +112 -0
- package/lib/review/extract.d.ts.map +1 -0
- package/lib/review/extract.js +249 -0
- package/lib/review/extract.js.map +1 -0
- package/lib/review/index.d.ts +45 -0
- package/lib/review/index.d.ts.map +1 -0
- package/lib/review/index.js +173 -0
- package/lib/review/index.js.map +1 -0
- package/lib/scanner.d.ts +21 -0
- package/lib/scanner.d.ts.map +1 -0
- package/lib/scanner.js +75 -0
- package/lib/scanner.js.map +1 -0
- package/lib/store/index.d.ts +24 -0
- package/lib/store/index.d.ts.map +1 -0
- package/lib/store/index.js +137 -0
- package/lib/store/index.js.map +1 -0
- package/lib/tool/index.d.ts +33 -0
- package/lib/tool/index.d.ts.map +1 -0
- package/lib/tool/index.js +455 -0
- package/lib/tool/index.js.map +1 -0
- package/lib/types.d.ts +123 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +10 -0
- package/lib/types.js.map +1 -0
- package/package.json +94 -0
package/package.json
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@chenhw7/dsh-memory",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Long-term memory for the DeepSeek Harness: persistent cross-session memory (store, tools, auto-extraction, context injection) as one installable profile bundle",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./lib/index.d.ts",
|
|
11
|
+
"default": "./lib/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./store": {
|
|
14
|
+
"types": "./lib/store/index.d.ts",
|
|
15
|
+
"default": "./lib/store/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./tool": {
|
|
18
|
+
"types": "./lib/tool/index.d.ts",
|
|
19
|
+
"default": "./lib/tool/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./review": {
|
|
22
|
+
"types": "./lib/review/index.d.ts",
|
|
23
|
+
"default": "./lib/review/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./context": {
|
|
26
|
+
"types": "./lib/context/index.d.ts",
|
|
27
|
+
"default": "./lib/context/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./invariant": {
|
|
30
|
+
"types": "./lib/invariant.d.ts",
|
|
31
|
+
"default": "./lib/invariant.js"
|
|
32
|
+
},
|
|
33
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
34
|
+
"./package.json": "./package.json"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"lib",
|
|
38
|
+
"cordis.patch.yml",
|
|
39
|
+
"README.md"
|
|
40
|
+
],
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public",
|
|
44
|
+
"registry": "https://registry.npmjs.org/"
|
|
45
|
+
},
|
|
46
|
+
"dsh": {
|
|
47
|
+
"bundle": {
|
|
48
|
+
"patch": "./cordis.patch.yml"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "tsc -p tsconfig.json",
|
|
53
|
+
"prepare": "npm run build",
|
|
54
|
+
"test": "echo \"no tests yet\""
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"@deepseek-ai/dsh-storage-domain": "^0.1.0-rc.5",
|
|
58
|
+
"@deepseek-ai/dsh-storage-json": "^0.1.0-rc.5",
|
|
59
|
+
"zod": "^4.4.3"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
63
|
+
"@deepseek-ai/dsh-brand": "^0.1.0-rc.5",
|
|
64
|
+
"@deepseek-ai/dsh-session": "^0.1.0-rc.5",
|
|
65
|
+
"@deepseek-ai/dsh-session-projection": "^0.1.0-rc.5",
|
|
66
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.5",
|
|
67
|
+
"@deepseek-ai/dsh-agent": "^0.1.0-rc.5",
|
|
68
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.5",
|
|
69
|
+
"@deepseek-ai/dsh-settings": "^0.1.0-rc.5",
|
|
70
|
+
"@deepseek-ai/dsh-tools": "^0.1.0-rc.5",
|
|
71
|
+
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.5",
|
|
72
|
+
"@deepseek-ai/dsh-compaction": "^0.1.0-rc.5",
|
|
73
|
+
"@deepseek-ai/schemastery": "^3.18.1"
|
|
74
|
+
},
|
|
75
|
+
"devDependencies": {
|
|
76
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
77
|
+
"@deepseek-ai/dsh-brand": "^0.1.0-rc.5",
|
|
78
|
+
"@deepseek-ai/dsh-session": "^0.1.0-rc.5",
|
|
79
|
+
"@deepseek-ai/dsh-session-projection": "^0.1.0-rc.5",
|
|
80
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.5",
|
|
81
|
+
"@deepseek-ai/dsh-agent": "^0.1.0-rc.5",
|
|
82
|
+
"@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.5",
|
|
83
|
+
"@deepseek-ai/dsh-settings": "^0.1.0-rc.5",
|
|
84
|
+
"@deepseek-ai/dsh-tools": "^0.1.0-rc.5",
|
|
85
|
+
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.5",
|
|
86
|
+
"@deepseek-ai/dsh-compaction": "^0.1.0-rc.5",
|
|
87
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
88
|
+
"@deepseek-ai/dsh-storage-domain": "^0.1.0-rc.5",
|
|
89
|
+
"@deepseek-ai/dsh-storage-json": "^0.1.0-rc.5",
|
|
90
|
+
"typescript": "^5.6.0",
|
|
91
|
+
"@types/node": "^22.20.0",
|
|
92
|
+
"zod": "^4.4.3"
|
|
93
|
+
}
|
|
94
|
+
}
|