@fonlan/dsh-gitmemo 0.1.5 → 0.3.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 +63 -65
- package/README.zh.md +55 -61
- package/cordis.patch.yml +10 -3
- package/lib/cli.d.ts +2 -0
- package/lib/cli.js +178 -0
- package/lib/index.d.ts +42 -38
- package/lib/index.js +243 -154
- package/lib/mem.d.ts +287 -65
- package/lib/mem.js +1475 -469
- package/lib/migrate.d.ts +95 -0
- package/lib/migrate.js +650 -0
- package/package.json +13 -7
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonlan/dsh-gitmemo",
|
|
3
|
-
"version": "0.1
|
|
4
|
-
"description": "Git-backed long-term memory for DeepSeek Harness: a local .mem git repo with mem_search / mem_read / mem_write / mem_delete tools, auto-managed by the agent with zero manual steps.",
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "Git-backed long-term memory for DeepSeek Harness: a local .mem git repo (single main branch, immutable entries, structured commit messages) with mem_search / mem_read / mem_write / mem_delete / mem_replace tools and fully automatic legacy migration (no CLI needed; the CLI remains for explicit control), auto-managed by the root agent with zero manual steps.",
|
|
5
5
|
"author": "fonlan",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
"type": "module",
|
|
14
14
|
"main": "lib/index.js",
|
|
15
15
|
"types": "lib/index.d.ts",
|
|
16
|
+
"bin": {
|
|
17
|
+
"dsh-gitmemo": "lib/cli.js"
|
|
18
|
+
},
|
|
16
19
|
"exports": {
|
|
17
20
|
".": {
|
|
18
21
|
"types": "./lib/index.d.ts",
|
|
@@ -22,6 +25,11 @@
|
|
|
22
25
|
"types": "./lib/mem.d.ts",
|
|
23
26
|
"default": "./lib/mem.js"
|
|
24
27
|
},
|
|
28
|
+
"./migrate": {
|
|
29
|
+
"types": "./lib/migrate.d.ts",
|
|
30
|
+
"default": "./lib/migrate.js"
|
|
31
|
+
},
|
|
32
|
+
"./cli": "./lib/cli.js",
|
|
25
33
|
"./src/*": "./src/*",
|
|
26
34
|
"./package.json": "./package.json"
|
|
27
35
|
},
|
|
@@ -32,7 +40,7 @@
|
|
|
32
40
|
"README.zh.md"
|
|
33
41
|
],
|
|
34
42
|
"scripts": {
|
|
35
|
-
"build": "tsc -p tsconfig.json",
|
|
43
|
+
"build": "tsc -p tsconfig.json && chmod +x lib/cli.js",
|
|
36
44
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
37
45
|
"test": "npm run build && node --test",
|
|
38
46
|
"prepublishOnly": "npm run build",
|
|
@@ -40,11 +48,9 @@
|
|
|
40
48
|
"release:minor": "npm version minor && git push && git push --tags",
|
|
41
49
|
"release:major": "npm version major && git push && git push --tags"
|
|
42
50
|
},
|
|
43
|
-
"dependencies": {
|
|
44
|
-
"@deepseek-ai/dsh-tools": "^0.1.0-rc.6",
|
|
45
|
-
"@deepseek-ai/schemastery": "^3.18.1"
|
|
46
|
-
},
|
|
47
51
|
"devDependencies": {
|
|
52
|
+
"@deepseek-ai/dsh-tools": "^0.1.0-rc.7",
|
|
53
|
+
"@deepseek-ai/schemastery": "^3.18.1",
|
|
48
54
|
"@types/node": "^26.2.0",
|
|
49
55
|
"typescript": "^5.5.0"
|
|
50
56
|
},
|