dsh-macro-memory 0.0.0-stage โ 0.4.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 +506 -2
- package/cordis.patch.yml +6 -0
- package/lib/client.js +3623 -0
- package/lib/index.js +502 -0
- package/lib/macro/brand.js +82 -0
- package/lib/macro/bridge.js +158 -0
- package/lib/macro/chain.js +206 -0
- package/lib/macro/contract.js +471 -0
- package/lib/macro/cost.js +164 -0
- package/lib/macro/defs/admin.js +442 -0
- package/lib/macro/defs/dream.js +24 -0
- package/lib/macro/defs/link.js +257 -0
- package/lib/macro/defs/project.js +25 -0
- package/lib/macro/defs/read.js +160 -0
- package/lib/macro/defs/remember.js +411 -0
- package/lib/macro/defs/search.js +871 -0
- package/lib/macro/defs/update.js +161 -0
- package/lib/macro/dreamledger.js +1398 -0
- package/lib/macro/facade.js +135 -0
- package/lib/macro/fusion.js +182 -0
- package/lib/macro/linkflow.js +391 -0
- package/lib/macro/links.js +448 -0
- package/lib/macro/neighbor.js +209 -0
- package/lib/macro/panel.js +96 -0
- package/lib/macro/prompt.js +139 -0
- package/lib/macro/provenance.js +148 -0
- package/lib/macro/render.js +35 -0
- package/lib/macro/revisions.js +253 -0
- package/lib/macro/shared.js +113 -0
- package/lib/macro/store.js +103 -0
- package/lib/macro/supersede.js +197 -0
- package/lib/macro/tokencost.js +90 -0
- package/lib/macro/tools.js +67 -0
- package/package.json +54 -4
- package/vendor/VENDOR.json +23 -0
- package/vendor/dsh-memory-nebula/CONTRIBUTING.md +48 -0
- package/vendor/dsh-memory-nebula/LICENSE +21 -0
- package/vendor/dsh-memory-nebula/README.en.md +203 -0
- package/vendor/dsh-memory-nebula/README.md +253 -0
- package/vendor/dsh-memory-nebula/SECURITY.md +43 -0
- package/vendor/dsh-memory-nebula/SUPPORT.md +33 -0
- package/vendor/dsh-memory-nebula/cordis.patch.yml +4 -0
- package/vendor/dsh-memory-nebula/lib/client.js +105 -0
- package/vendor/dsh-memory-nebula/lib/host/adapters/index.js +279 -0
- package/vendor/dsh-memory-nebula/lib/host/adapters/ingest.js +230 -0
- package/vendor/dsh-memory-nebula/lib/host/adapters/meow.js +320 -0
- package/vendor/dsh-memory-nebula/lib/host/adapters/notes.js +305 -0
- package/vendor/dsh-memory-nebula/lib/host/adapters/sqlite.js +287 -0
- package/vendor/dsh-memory-nebula/lib/host/adapters/util.js +231 -0
- package/vendor/dsh-memory-nebula/lib/host/bridge.js +351 -0
- package/vendor/dsh-memory-nebula/lib/host/compress.js +97 -0
- package/vendor/dsh-memory-nebula/lib/host/demo.js +357 -0
- package/vendor/dsh-memory-nebula/lib/host/diagnostics.js +125 -0
- package/vendor/dsh-memory-nebula/lib/host/doctor.js +270 -0
- package/vendor/dsh-memory-nebula/lib/host/entities.js +230 -0
- package/vendor/dsh-memory-nebula/lib/host/graph.js +1762 -0
- package/vendor/dsh-memory-nebula/lib/host/graphcache.js +290 -0
- package/vendor/dsh-memory-nebula/lib/host/http.js +993 -0
- package/vendor/dsh-memory-nebula/lib/host/injectcfg.js +95 -0
- package/vendor/dsh-memory-nebula/lib/host/ledger.js +175 -0
- package/vendor/dsh-memory-nebula/lib/host/live.js +204 -0
- package/vendor/dsh-memory-nebula/lib/host/nebula.js +2105 -0
- package/vendor/dsh-memory-nebula/lib/host/page.js +75 -0
- package/vendor/dsh-memory-nebula/lib/host/path.js +83 -0
- package/vendor/dsh-memory-nebula/lib/host/recall.js +524 -0
- package/vendor/dsh-memory-nebula/lib/host/share.js +633 -0
- package/vendor/dsh-memory-nebula/lib/host/sources.js +266 -0
- package/vendor/dsh-memory-nebula/lib/host/store.js +333 -0
- package/vendor/dsh-memory-nebula/lib/host/text.js +410 -0
- package/vendor/dsh-memory-nebula/lib/host/transcripts.js +396 -0
- package/vendor/dsh-memory-nebula/lib/index.js +782 -0
- package/vendor/dsh-memory-nebula/lib/standalone.mjs +315 -0
- package/vendor/dsh-memory-nebula/lib/web/api.js +426 -0
- package/vendor/dsh-memory-nebula/lib/web/app.js +4172 -0
- package/vendor/dsh-memory-nebula/lib/web/i18n.js +580 -0
- package/vendor/dsh-memory-nebula/lib/web/index.html +174 -0
- package/vendor/dsh-memory-nebula/lib/web/nav.js +132 -0
- package/vendor/dsh-memory-nebula/lib/web/render.js +1890 -0
- package/vendor/dsh-memory-nebula/lib/web/space3d.js +1883 -0
- package/vendor/dsh-memory-nebula/lib/web/style.css +1402 -0
- package/vendor/dsh-memory-nebula/locale/en.json +7 -0
- package/vendor/dsh-memory-nebula/locale/zh.json +7 -0
- package/vendor/dsh-memory-nebula/market/assets/icon-180.png +0 -0
- package/vendor/dsh-memory-nebula/market/assets/icon.svg +40 -0
- package/vendor/dsh-memory-nebula/market/index.json +101 -0
- package/vendor/dsh-memory-nebula/package.json +87 -0
- package/vendor/dsh-memory-nebula/sidecar.ps1 +119 -0
- package/vendor/meow-memory/LICENSE +21 -0
- package/vendor/meow-memory/README.en.md +192 -0
- package/vendor/meow-memory/README.md +174 -0
- package/vendor/meow-memory/README.pt-br.md +180 -0
- package/vendor/meow-memory/cordis.patch.yml +7 -0
- package/vendor/meow-memory/lib/client.js +3344 -0
- package/vendor/meow-memory/lib/client.js.map +7 -0
- package/vendor/meow-memory/lib/index.js +9802 -0
- package/vendor/meow-memory/lib/index.js.map +7 -0
- package/vendor/meow-memory/lib/prompts/README.md +65 -0
- package/vendor/meow-memory/lib/prompts/en/dream-atomic.md +36 -0
- package/vendor/meow-memory/lib/prompts/en/dream-header.md +9 -0
- package/vendor/meow-memory/lib/prompts/en/dream-project-summary.md +12 -0
- package/vendor/meow-memory/lib/prompts/en/dream-topic.md +27 -0
- package/vendor/meow-memory/lib/prompts/en/external-memory-notice.md +8 -0
- package/vendor/meow-memory/lib/prompts/en/first-create-notice.md +8 -0
- package/vendor/meow-memory/lib/prompts/en/labels.md +98 -0
- package/vendor/meow-memory/lib/prompts/en/reflect.md +31 -0
- package/vendor/meow-memory/lib/prompts/en/system-guide.md +121 -0
- package/vendor/meow-memory/lib/prompts/en/tools.md +83 -0
- package/vendor/meow-memory/lib/prompts/en/welcome-guide.md +12 -0
- package/vendor/meow-memory/lib/prompts/pt-br/dream-atomic.md +36 -0
- package/vendor/meow-memory/lib/prompts/pt-br/dream-header.md +9 -0
- package/vendor/meow-memory/lib/prompts/pt-br/dream-project-summary.md +12 -0
- package/vendor/meow-memory/lib/prompts/pt-br/dream-topic.md +27 -0
- package/vendor/meow-memory/lib/prompts/pt-br/external-memory-notice.md +8 -0
- package/vendor/meow-memory/lib/prompts/pt-br/first-create-notice.md +8 -0
- package/vendor/meow-memory/lib/prompts/pt-br/labels.md +98 -0
- package/vendor/meow-memory/lib/prompts/pt-br/reflect.md +31 -0
- package/vendor/meow-memory/lib/prompts/pt-br/system-guide.md +121 -0
- package/vendor/meow-memory/lib/prompts/pt-br/tools.md +83 -0
- package/vendor/meow-memory/lib/prompts/pt-br/welcome-guide.md +12 -0
- package/vendor/meow-memory/lib/prompts/zh/dream-atomic.md +36 -0
- package/vendor/meow-memory/lib/prompts/zh/dream-header.md +9 -0
- package/vendor/meow-memory/lib/prompts/zh/dream-project-summary.md +19 -0
- package/vendor/meow-memory/lib/prompts/zh/dream-topic.md +27 -0
- package/vendor/meow-memory/lib/prompts/zh/external-memory-notice.md +8 -0
- package/vendor/meow-memory/lib/prompts/zh/first-create-notice.md +8 -0
- package/vendor/meow-memory/lib/prompts/zh/labels.md +98 -0
- package/vendor/meow-memory/lib/prompts/zh/reflect.md +30 -0
- package/vendor/meow-memory/lib/prompts/zh/system-guide.md +119 -0
- package/vendor/meow-memory/lib/prompts/zh/tools.md +83 -0
- package/vendor/meow-memory/lib/prompts/zh/welcome-guide.md +12 -0
- package/vendor/meow-memory/package.json +64 -0
|
Binary file
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" width="256" height="256">
|
|
2
|
+
<defs>
|
|
3
|
+
<radialGradient id="bg" cx="50%" cy="46%" r="72%">
|
|
4
|
+
<stop offset="0" stop-color="#13283a"/>
|
|
5
|
+
<stop offset="1" stop-color="#070d16"/>
|
|
6
|
+
</radialGradient>
|
|
7
|
+
<radialGradient id="core" cx="50%" cy="50%" r="50%">
|
|
8
|
+
<stop offset="0" stop-color="#ffe9a8"/>
|
|
9
|
+
<stop offset="0.55" stop-color="#f4c766"/>
|
|
10
|
+
<stop offset="1" stop-color="#f4c766" stop-opacity="0"/>
|
|
11
|
+
</radialGradient>
|
|
12
|
+
<filter id="glow" x="-80%" y="-80%" width="260%" height="260%">
|
|
13
|
+
<feGaussianBlur stdDeviation="5" result="b"/>
|
|
14
|
+
<feMerge><feMergeNode in="b"/><feMergeNode in="SourceGraphic"/></feMerge>
|
|
15
|
+
</filter>
|
|
16
|
+
</defs>
|
|
17
|
+
<rect width="256" height="256" rx="56" fill="url(#bg)"/>
|
|
18
|
+
<g stroke="#5de3d0" stroke-width="1.4" opacity="0.55">
|
|
19
|
+
<path d="M128 128 L62 72 M128 128 L196 70 M128 128 L46 156 M128 128 L206 154 M128 128 L88 206 M128 128 L172 208 M62 72 L196 70 M46 156 L88 206 M206 154 L172 208 M62 72 L46 156 M196 70 L206 154"/>
|
|
20
|
+
</g>
|
|
21
|
+
<g fill="#7ff0dc" filter="url(#glow)">
|
|
22
|
+
<circle cx="62" cy="72" r="5.5"/>
|
|
23
|
+
<circle cx="196" cy="70" r="5.5"/>
|
|
24
|
+
<circle cx="46" cy="156" r="5.5"/>
|
|
25
|
+
<circle cx="206" cy="154" r="5.5"/>
|
|
26
|
+
<circle cx="88" cy="206" r="5.5"/>
|
|
27
|
+
<circle cx="172" cy="208" r="5.5"/>
|
|
28
|
+
<circle cx="92" cy="120" r="3.4" opacity="0.8"/>
|
|
29
|
+
<circle cx="166" cy="112" r="3.4" opacity="0.8"/>
|
|
30
|
+
<circle cx="112" cy="176" r="3.4" opacity="0.8"/>
|
|
31
|
+
</g>
|
|
32
|
+
<circle cx="128" cy="128" r="42" fill="url(#core)" opacity="0.35"/>
|
|
33
|
+
<circle cx="128" cy="128" r="13" fill="#ffe7a0" filter="url(#glow)"/>
|
|
34
|
+
<g fill="#fff6d8" opacity="0.9">
|
|
35
|
+
<circle cx="104" cy="92" r="1.6"/>
|
|
36
|
+
<circle cx="158" cy="94" r="1.6"/>
|
|
37
|
+
<circle cx="74" cy="188" r="1.4"/>
|
|
38
|
+
<circle cx="186" cy="186" r="1.4"/>
|
|
39
|
+
</g>
|
|
40
|
+
</svg>
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": 1,
|
|
3
|
+
"title": {
|
|
4
|
+
"zh": "ๅฐไปฃ็ ้
ฑ็ๆๅพ่ดงๆถ",
|
|
5
|
+
"en": "Little Code Sauce's Nebula Shelf"
|
|
6
|
+
},
|
|
7
|
+
"description": {
|
|
8
|
+
"zh": "็ป DSH ็จ็่ฎฐๅฟๅฏ่งๅไธๆฃ็ดขๆฉๅฑใๆๆๆฐๆฎ็ๅจๆฌๆบใ",
|
|
9
|
+
"en": "Memory visualization and recall for DSH. Everything stays on this machine."
|
|
10
|
+
},
|
|
11
|
+
"metadata": {
|
|
12
|
+
"categories": {
|
|
13
|
+
"memory": {
|
|
14
|
+
"title": {
|
|
15
|
+
"zh": "่ฎฐๅฟไธๆฃ็ดข",
|
|
16
|
+
"en": "Memory & recall"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"labels": {
|
|
21
|
+
"local-first": {
|
|
22
|
+
"title": {
|
|
23
|
+
"zh": "ๆฌๅฐไผๅ
",
|
|
24
|
+
"en": "Local-first"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"visualization": {
|
|
28
|
+
"title": {
|
|
29
|
+
"zh": "ๅฏ่งๅ",
|
|
30
|
+
"en": "Visualization"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"bilingual": {
|
|
34
|
+
"title": {
|
|
35
|
+
"zh": "ไธญ่ฑๅ่ฏญ",
|
|
36
|
+
"en": "Bilingual"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"sortKeys": {
|
|
41
|
+
"featured": {
|
|
42
|
+
"title": {
|
|
43
|
+
"zh": "ๆจ่ๅบฆ",
|
|
44
|
+
"en": "Featured"
|
|
45
|
+
},
|
|
46
|
+
"order": "desc"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"plugins": [
|
|
51
|
+
{
|
|
52
|
+
"name": "dsh-memory-nebula",
|
|
53
|
+
"title": {
|
|
54
|
+
"zh": "่ฎฐๅฟๆๅพ",
|
|
55
|
+
"en": "Memory Nebula"
|
|
56
|
+
},
|
|
57
|
+
"description": {
|
|
58
|
+
"zh": "ๆ meow-memory / OpenViking ็่ฎฐๅฟ่ฟๆไธๅผ ๅฏไบคไบ็ๆๅพ๏ผๆฃ็ดขใ่ฏๆฎ้พใไฝๆฃใ่ๅดๅฟซ็
งไธๅๆไปถๅไบซใ",
|
|
59
|
+
"en": "Turn meow-memory / OpenViking memories into an interactive star map: recall, evidence chains, hygiene checks, scoped snapshots and single-file sharing."
|
|
60
|
+
},
|
|
61
|
+
"icon": "assets/icon.svg",
|
|
62
|
+
"author": "ไธปไบบ & ๅฐไปฃ็ ้
ฑ",
|
|
63
|
+
"homepage": "https://www.npmjs.com/package/dsh-memory-nebula",
|
|
64
|
+
"metadata": {
|
|
65
|
+
"category": "memory",
|
|
66
|
+
"keywords": [
|
|
67
|
+
"memory",
|
|
68
|
+
"visualization",
|
|
69
|
+
"recall",
|
|
70
|
+
"knowledge graph",
|
|
71
|
+
"meow-memory",
|
|
72
|
+
"openviking",
|
|
73
|
+
"่ฎฐๅฟ",
|
|
74
|
+
"ๆๅพ",
|
|
75
|
+
"ๆฃ็ดข",
|
|
76
|
+
"็ฅ่ฏๅพ่ฐฑ"
|
|
77
|
+
],
|
|
78
|
+
"labels": [
|
|
79
|
+
"local-first",
|
|
80
|
+
"visualization",
|
|
81
|
+
"bilingual"
|
|
82
|
+
],
|
|
83
|
+
"sortKeys": {
|
|
84
|
+
"featured": 100
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"versions": [
|
|
88
|
+
{
|
|
89
|
+
"version": "1.11.74",
|
|
90
|
+
"publishTimestamp": 1794936042,
|
|
91
|
+
"source": {
|
|
92
|
+
"type": "npm"
|
|
93
|
+
},
|
|
94
|
+
"engines": {
|
|
95
|
+
"dsh": ">=0.2.2-rc.1"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-memory-nebula",
|
|
3
|
+
"version": "1.11.74",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Local-first memory nebula for DeepSeek Harness โ read-only graph, spreading recall, evidence chains, offline snapshots. ่ฎฐๅฟๆๅพ๏ผๆ DSH ๅๅทฅไฝๅบ็่ฎฐๅฟๅช่ฏป่ฟๆไธๅผ ๅฏไบคไบๆไบใ",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "lib/index.js",
|
|
8
|
+
"bin": {
|
|
9
|
+
"memory-nebula": "lib/standalone.mjs",
|
|
10
|
+
"memory-nebula-doctor": "scripts/doctor.mjs"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": "./lib/index.js",
|
|
14
|
+
"./client": "./lib/client.js",
|
|
15
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
16
|
+
"./package.json": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"lib",
|
|
20
|
+
"cordis.patch.yml",
|
|
21
|
+
"README.md",
|
|
22
|
+
"README.en.md",
|
|
23
|
+
"docs",
|
|
24
|
+
"CHANGELOG.md",
|
|
25
|
+
"LICENSE",
|
|
26
|
+
"scripts",
|
|
27
|
+
"sidecar.ps1",
|
|
28
|
+
"locale",
|
|
29
|
+
"market",
|
|
30
|
+
"SECURITY.md",
|
|
31
|
+
"SUPPORT.md",
|
|
32
|
+
"CONTRIBUTING.md"
|
|
33
|
+
],
|
|
34
|
+
"scripts": {
|
|
35
|
+
"test": "node --test",
|
|
36
|
+
"smoke": "node scripts/smoke.mjs",
|
|
37
|
+
"bench": "node --expose-gc scripts/bench.mjs",
|
|
38
|
+
"check": "node scripts/release-check.mjs",
|
|
39
|
+
"standalone": "node lib/standalone.mjs",
|
|
40
|
+
"start": "node lib/standalone.mjs",
|
|
41
|
+
"verify": "npm test && npm run check",
|
|
42
|
+
"prepack": "npm run verify",
|
|
43
|
+
"doctor": "node scripts/doctor.mjs",
|
|
44
|
+
"verify:all": "node scripts/verify-all.mjs",
|
|
45
|
+
"verify:full": "node scripts/verify-all.mjs --full"
|
|
46
|
+
},
|
|
47
|
+
"publishConfig": {
|
|
48
|
+
"access": "public"
|
|
49
|
+
},
|
|
50
|
+
"license": "MIT",
|
|
51
|
+
"dsh": {
|
|
52
|
+
"bundle": {
|
|
53
|
+
"patch": "./cordis.patch.yml"
|
|
54
|
+
},
|
|
55
|
+
"client": {
|
|
56
|
+
"platform": "web",
|
|
57
|
+
"inject": []
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"engines": {
|
|
61
|
+
"node": ">=24.0.0"
|
|
62
|
+
},
|
|
63
|
+
"keywords": [
|
|
64
|
+
"deepseek-harness",
|
|
65
|
+
"dsh-plugin",
|
|
66
|
+
"memory",
|
|
67
|
+
"nebula",
|
|
68
|
+
"graph",
|
|
69
|
+
"relational-memory",
|
|
70
|
+
"spreading-activation",
|
|
71
|
+
"memory-adapter",
|
|
72
|
+
"visualization",
|
|
73
|
+
"dsh",
|
|
74
|
+
"memory-graph",
|
|
75
|
+
"knowledge-graph",
|
|
76
|
+
"offline-snapshot"
|
|
77
|
+
],
|
|
78
|
+
"author": "ไธปไบบ & ๅฐไปฃ็ ้
ฑ",
|
|
79
|
+
"homepage": "https://github.com/hanhan9999999999999999999/dsh-memory-nebula#readme",
|
|
80
|
+
"repository": {
|
|
81
|
+
"type": "git",
|
|
82
|
+
"url": "git+https://github.com/hanhan9999999999999999999/dsh-memory-nebula.git"
|
|
83
|
+
},
|
|
84
|
+
"bugs": {
|
|
85
|
+
"url": "https://github.com/hanhan9999999999999999999/dsh-memory-nebula/issues"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
๏ปฟ# ่ฎฐๅฟๆๅพ ยท ็ฌ็ซๅผๆ๏ผsidecar๏ผๅผๅ
ณ
|
|
2
|
+
# ็จๆณ๏ผ .\sidecar.ps1 start / .\sidecar.ps1 stop / .\sidecar.ps1 status
|
|
3
|
+
# ๅฏ้๏ผ -Port 7890 -Root <่ฆ้ขๅคๆซๆ็ๅทฅไฝๅบ็ถ็ฎๅฝ๏ผ้ป่ฎคๅฝๅ็ฎๅฝ> -Node C:\path\to\node.exe
|
|
4
|
+
# ่ฏดๆ๏ผๅฎฟไธป่ฟ็จ้็ๆไปถไปฃ็ ๆฏ DSH ๅฏๅจ้ฃไธๅปๅ ่ฝฝ็๏ผๆนไบ lib/host/*.js ไนๅ๏ผ
|
|
5
|
+
# ็จ่ฟไธช่ๆฌ่ทไธไปฝ็ฌ็ซๅผๆ๏ผ้ป่ฎค็ซฏๅฃ 7890๏ผ๏ผ้กต้ขไผ่ชๅจๆขๆตๅนถๅ่ฟๅปใ
|
|
6
|
+
# ้ๅฏ่ฟไธๆฌก DSH ไนๅๅฎฟไธป่ชๅทฑๅฐฑๆฏๆฐไปฃ็ ๏ผ่ฟไธช่ฟ็จๅฐฑไธๅ้่ฆไบใ
|
|
7
|
+
|
|
8
|
+
param(
|
|
9
|
+
[Parameter(Position = 0)]
|
|
10
|
+
[ValidateSet('start', 'stop', 'status')]
|
|
11
|
+
[string]$Action = 'status',
|
|
12
|
+
[int]$Port = 7890,
|
|
13
|
+
[string]$Root = (Get-Location).Path,
|
|
14
|
+
[string]$Node = ''
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
$ErrorActionPreference = 'Stop'
|
|
18
|
+
$plugin = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|
19
|
+
$script = Join-Path $plugin 'lib\standalone.mjs'
|
|
20
|
+
$homeDir = if ($env:DSH_HOME) { $env:DSH_HOME } else { Join-Path $env:USERPROFILE '.dsh' }
|
|
21
|
+
$logDir = Join-Path $homeDir 'memory-nebula'
|
|
22
|
+
|
|
23
|
+
# ้่ฆ็ Node ็ๆฌๅๅจ package.json ็ engines.node ้๏ผ่ฟ้่ฏปๅฎ๏ผๅ
ๅพๆ็คบๅ็ๅฎ่ฆๆฑๅ่ฏดไธๅฅใ
|
|
24
|
+
$script:RequiredNode = '>=24.0.0'
|
|
25
|
+
try {
|
|
26
|
+
$pkg = Get-Content (Join-Path $plugin 'package.json') -Raw | ConvertFrom-Json
|
|
27
|
+
if ($pkg.engines -and $pkg.engines.node) { $script:RequiredNode = [string]$pkg.engines.node }
|
|
28
|
+
} catch { }
|
|
29
|
+
|
|
30
|
+
function Resolve-Node {
|
|
31
|
+
if ($Node) {
|
|
32
|
+
if (-not (Test-Path $Node)) { throw "ๆๅฎ็ node ไธๅญๅจ๏ผ$Node" }
|
|
33
|
+
return $Node
|
|
34
|
+
}
|
|
35
|
+
$cmd = Get-Command node -ErrorAction SilentlyContinue
|
|
36
|
+
if ($cmd) { return $cmd.Source }
|
|
37
|
+
$candidates = @(
|
|
38
|
+
(Join-Path $env:ProgramFiles 'nodejs\node.exe'),
|
|
39
|
+
(Join-Path $env:LOCALAPPDATA 'Programs\nodejs\node.exe')
|
|
40
|
+
)
|
|
41
|
+
if (${env:ProgramFiles(x86)}) {
|
|
42
|
+
$candidates += (Join-Path ${env:ProgramFiles(x86)} 'nodejs\node.exe')
|
|
43
|
+
}
|
|
44
|
+
foreach ($c in $candidates) {
|
|
45
|
+
if ($c -and (Test-Path $c)) { return $c }
|
|
46
|
+
}
|
|
47
|
+
$runtimes = Join-Path $homeDir 'dsh-runtimes'
|
|
48
|
+
if (Test-Path $runtimes) {
|
|
49
|
+
$hit = Get-ChildItem -Path $runtimes -Filter node.exe -Recurse -ErrorAction SilentlyContinue |
|
|
50
|
+
Select-Object -First 1
|
|
51
|
+
if ($hit) { return $hit.FullName }
|
|
52
|
+
}
|
|
53
|
+
throw "ๆพไธๅฐ node๏ผ่ฏทๆ Node $script:RequiredNode ๆพ่ฟ PATH๏ผๆ็จ -Node ๆๅฎ่ทฏๅพใ"
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
# ๅช่ฎคใ่ฟไธช็ซฏๅฃใ็้ฃไธไธชๅฎไพ๏ผๅซๆๅซไบบ็ 7891 ไธ่ตทๆๆใ
|
|
57
|
+
function Get-Sidecars {
|
|
58
|
+
Get-CimInstance Win32_Process -Filter "Name='node.exe'" |
|
|
59
|
+
Where-Object {
|
|
60
|
+
if ($_.CommandLine -notlike '*standalone.mjs*') { return $false }
|
|
61
|
+
# ็ซฏๅฃ่ฆๆๅฎๆด็ไธๆฎตๆฏๅฏน๏ผ-like '*--port 6311*' ไผๆ 63111 ไน็ฎ่ฟๆฅ๏ผ
|
|
62
|
+
# ไบๆฏ stop -Port 6311 ไผๅปๆ 63111 ไธ็้ฃไธชๅฎไพ๏ผไธๆฏ่ชๅทฑ่ตท็่ฟ็จ๏ผใ
|
|
63
|
+
$pattern = '--port\s+"?' + [regex]::Escape([string]$Port) + '"?(\s|$)'
|
|
64
|
+
return [bool]($_.CommandLine -match $pattern)
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function Wait-Ping {
|
|
69
|
+
for ($i = 0; $i -lt 30; $i++) {
|
|
70
|
+
try {
|
|
71
|
+
return Invoke-RestMethod "http://127.0.0.1:$Port/api/memory-nebula/ping" -TimeoutSec 2
|
|
72
|
+
} catch {
|
|
73
|
+
Start-Sleep -Milliseconds 500
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return $null
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
switch ($Action) {
|
|
80
|
+
'start' {
|
|
81
|
+
$running = Get-Sidecars
|
|
82
|
+
if ($running) {
|
|
83
|
+
Write-Host "็ซฏๅฃ $Port ไธๅทฒ็ปๅจ่ท๏ผpid $($running.ProcessId -join ', ')"
|
|
84
|
+
break
|
|
85
|
+
}
|
|
86
|
+
$node = Resolve-Node
|
|
87
|
+
New-Item -ItemType Directory -Force -Path $logDir | Out-Null
|
|
88
|
+
$outLog = Join-Path $logDir 'standalone.log'
|
|
89
|
+
# ไธ็จ Start-Process ็ -RedirectStandardOutput๏ผWindows PowerShell 5.1 ไผไธ็ด็ญๅฐๅญ่ฟ็จ้ๅบ๏ผ
|
|
90
|
+
# ่ฎฉ `sidecar.ps1 start` ๅกๅจ่ฐ็จๆนใๆน็ฑๅผๆ่ชๅทฑๅ --logใ
|
|
91
|
+
Start-Process -FilePath $node `
|
|
92
|
+
-ArgumentList @("`"$script`"", '--port', "$Port", '--root', "`"$Root`"", '--log', "`"$outLog`"") `
|
|
93
|
+
-WindowStyle Hidden | Out-Null
|
|
94
|
+
$ping = Wait-Ping
|
|
95
|
+
if ($ping) {
|
|
96
|
+
Write-Host "ๅทฒๅฏๅจ ยท ็ซฏๅฃ $Port ยท ่ฎฐๅฟ $($ping.stats.nodes) ๆก / ่ฟๆฅ $($ping.stats.edges) ๆก ยท v$($ping.version)"
|
|
97
|
+
} else {
|
|
98
|
+
Write-Host "ๅทฒๅฏๅจไฝๆขๆดปๅคฑ่ดฅ๏ผ็ๆฅๅฟ๏ผ$outLog"
|
|
99
|
+
Write-Host "๏ผ็ซฏๅฃ่ขซๅ ็จๆถๆฅๅฟ้ไผ็ดๆฅๅใ็ซฏๅฃ $Port ๅทฒ่ขซๅ ็จใ๏ผ"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
'stop' {
|
|
103
|
+
$running = Get-Sidecars
|
|
104
|
+
if (-not $running) { Write-Host "็ซฏๅฃ $Port ไธๆฒกๆ็ฌ็ซๅผๆ"; break }
|
|
105
|
+
$running | ForEach-Object { Stop-Process -Id $_.ProcessId -Force }
|
|
106
|
+
Write-Host "ๅทฒๅๆญข pid $($running.ProcessId -join ', ')"
|
|
107
|
+
}
|
|
108
|
+
'status' {
|
|
109
|
+
$running = Get-Sidecars
|
|
110
|
+
if (-not $running) { Write-Host "ๆช่ฟ่ก๏ผ็ซฏๅฃ $Port๏ผ้กต้ขไผ้ๅๅฎฟไธป่ชๅธฆ็ๆฅๅฃ๏ผ"; break }
|
|
111
|
+
Write-Host "่ฟ่กไธญ๏ผpid $($running.ProcessId -join ', ')"
|
|
112
|
+
$ping = Wait-Ping
|
|
113
|
+
if ($ping) {
|
|
114
|
+
Write-Host "่ฎฐๅฟ $($ping.stats.nodes) ๆก / ่ฟๆฅ $($ping.stats.edges) ๆก / ๆๅปบ $($ping.build) ยท v$($ping.version)"
|
|
115
|
+
} else {
|
|
116
|
+
Write-Host "่ฟ็จๅจ๏ผไฝ็ซฏๅฃ $Port ๆฒกๅๅบ"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Phant0Meow
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
# meow-memory ๐ฑ๐
|
|
2
|
+
|
|
3
|
+
| [ไธญๆ](README.md) | [English](README.en.md) | [Portuguรชs (BR)](README.pt-br.md) | [MIT License](LICENSE) |
|
|
4
|
+
| :---: | :---: | :---: | :---: |
|
|
5
|
+
|
|
6
|
+
Cross-session memory for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (DSH).
|
|
7
|
+
|
|
8
|
+
Version **0.31.0** ๏ฝ Changelog: [CHANGELOG.md](CHANGELOG.md) ๏ฝ Supports **dsh 0.1.5**
|
|
9
|
+
|
|
10
|
+
## โจ Features
|
|
11
|
+
|
|
12
|
+
- **Seven memory layers**: `soul` (the AI itself) / `user` (user basics & preferences) / `project` (per-project info with `subcategory`) / `fact` (atomic facts) / `lesson` (mistakes & corrections) / `topic` (ongoing discussion arcs with a goal sentence) / `rules` (design principles & behavioral rules). One SQLite table per layer, UUIDs are time-prefixed so id order == creation order.
|
|
13
|
+
- **First-turn injection (long-term memory block)**: before the first user message, soul / user / design principles / memory guide are injected. The memory is inserted as an independent plugin snapshot directly before the real user message; **the user's prompt is never rewritten**, and **no keyword hits run on the first turn** (hits start from the second message).
|
|
14
|
+
- **Per-message keyword hits**: from the second user message on, every real user message is matched against fact/lesson/rules/topic (scope = global + current-project anchor) and the top-2 hits are injected. Matching is based on **entry keywords**, not full text.
|
|
15
|
+
- **Current-project anchor**: any `memory_remember/search/update/project` call with a `project` parameter anchors the session's current project; unanchored sessions only hit global entries (casual chat stays unaffected).
|
|
16
|
+
- **Cache-friendly by design**: the static `meow-memory:guide` section is registered in the system prompt once โ constant text, so it cannot break the provider's KV cache.
|
|
17
|
+
- **Post-compaction re-injection**: after a session is compacted, the next turn automatically re-injects the long-term snapshot plus the project overviews this session fetched via `memory_project`, plus the entries this session wrote or updated โ so the AI never suddenly goes amnesiac after compaction.
|
|
18
|
+
- **Three things on top of the layers**: writes dedup and merge automatically; displayed timestamps are always `updated_at`; global information uses the global marker (distinct from leaving the field blank).
|
|
19
|
+
- **Per-window dream**: a window becomes dream-eligible once idle โฅ 3 hours, and its own main agent consolidates in rounds (atomic memories / topic / project summary); **peak-hour suppression** (09:00โ12:00 and 14:00โ18:00 in the configured `timeZone`, default Asia/Shanghai โ the API's peak-tariff hours) prevents triggering. Typing `/dream` consolidates immediately on demand.
|
|
20
|
+
- **Reflection**: after โฅ7 consecutive tool steps within one task the plugin asks the model whether anything since the last consolidation is worth remembering. A turn whose last tool is a `memory_*` tool counts as already consolidated (no re-reflection).
|
|
21
|
+
- **External memory trust gate**: a workspace-carried `.dsh-meow` that was not created on this machine (e.g. a cloned external repo) is paused by default โ one notice on the first round, then `/meow-trust` re-enables instantly; libraries created locally and workspaces opened before the upgrade are trusted automatically, so normal use never notices.
|
|
22
|
+
- **Client UI**: injected text collapses into a slim bar, reflection/dream turns collapse into one expandable card, and the session list shows dream state icons (๐ consolidated / breathing moon in progress / muted-gray slashed moon skipped).
|
|
23
|
+
- **No separately installed runtime dependencies**: `node:sqlite` + an esbuild bundle (`lib/index.js`); the DSH Host resolves the `schemastery` and `dsh-llm` peers. No native modules.
|
|
24
|
+
|
|
25
|
+
## ๐ฆ Install
|
|
26
|
+
|
|
27
|
+
### One-command install (recommended)
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
dsh plugin --profile web add github:Phant0Meow/dsh-meow-memory
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
One command and it works: the package compiles itself on install (it ships a `prepare` script), mounts automatically, and new sessions load the plugin after you restart `dsh web`.
|
|
34
|
+
|
|
35
|
+
> pnpm โฅ10 blocks install-time build scripts by default: the first `add` may fail and mention `allowBuilds`. Add the keys it prints to the profile's `pnpm-workspace.yaml` and run it again.
|
|
36
|
+
|
|
37
|
+
### Via npm (published package)
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
# 1. Install into the profile's node_modules (the loader resolves plugins there)
|
|
41
|
+
cd $DSH_HOME/profiles/web # default home: ~/.dsh/profiles/web
|
|
42
|
+
npm install meow-memory
|
|
43
|
+
|
|
44
|
+
# 2. Add the package to the profile's assembly bundles in package.json (recommended since v0.9.0):
|
|
45
|
+
# "dsh": { "profile": { "bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "meow-memory"] } }
|
|
46
|
+
# (the package ships a dsh.bundle.patch; bundle assembly inserts it. Profile-patch
|
|
47
|
+
# `insert` entries address existing ids โ a new plugin not in the tree reports
|
|
48
|
+
# "entry not found", so new plugins go through the bundles array.)
|
|
49
|
+
|
|
50
|
+
# 3. Restart dsh web. New sessions pick up the plugin automatically.
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Remove
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
dsh plugin --profile web remove meow-memory
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### PT-BR fork
|
|
60
|
+
|
|
61
|
+
For a build packaged for Brazilian Portuguese, see [coutogilson](https://github.com/coutogilson)'s fork:
|
|
62
|
+
|
|
63
|
+
```sh
|
|
64
|
+
dsh plugin --profile web add github:coutogilson/dsh-meow-memory
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### By hand (any DSH install, no npm needed)
|
|
68
|
+
|
|
69
|
+
1. Copy (or symlink) this package into the profile's `node_modules`:
|
|
70
|
+
|
|
71
|
+
```sh
|
|
72
|
+
mkdir -p ~/.dsh/profiles/web/node_modules
|
|
73
|
+
ln -s /path/to/meow-memory ~/.dsh/profiles/web/node_modules/meow-memory
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
(On Windows: `New-Item -ItemType Junction ...` โ NTFS junction, no admin needed.)
|
|
77
|
+
|
|
78
|
+
2. Add `meow-memory` to the profile `package.json`'s `dsh.profile.bundles` (same as above).
|
|
79
|
+
|
|
80
|
+
3. Restart `dsh web`. New sessions pick up the plugin automatically.
|
|
81
|
+
|
|
82
|
+
## ๐ Compatibility
|
|
83
|
+
|
|
84
|
+
Supports **dsh 0.1.5** (including the latest `0.1.5-rc.1`) and stays backward compatible with older releases โ upgrading dsh needs no change to this plugin or its configuration.
|
|
85
|
+
|
|
86
|
+
The plugin never hardcodes a version: it probes host capabilities at runtime, so new and old releases each take their correct branch. Both generations are verified โ on `0.1.5-rc.1` first-turn injection, memory tool calls, and client rendering all work; on `0.1.1-rc.2` behavior is unchanged from previous releases.
|
|
87
|
+
|
|
88
|
+
## โ๏ธ Configuration
|
|
89
|
+
|
|
90
|
+
All fields are optional (profile patch or `cordis.patch.yml`). **You don't have to hand-edit files**: the DSH settings page has a dedicated "ๅต่ฎฐๅฟ" tab for this plugin (peer of General/Models/Plugins) where every option below is editable in place, saved per-field with one-click restore-to-default (restoring means the plugin's built-in factory default, not the patch baseline); reload/restart the meow-memory plugin after saving for changes to take effect.
|
|
91
|
+
|
|
92
|
+
```yaml
|
|
93
|
+
- id: meow-memory
|
|
94
|
+
name: 'meow-memory'
|
|
95
|
+
config:
|
|
96
|
+
enabled: true # master switch
|
|
97
|
+
projectDir: '.dsh-meow' # memory directory, relative to the workspace
|
|
98
|
+
promptLang: 'zh' # โ ๏ธ set this on first use (see note below)
|
|
99
|
+
hitTopK: 2 # max keyword-hit entries injected per user message
|
|
100
|
+
dream:
|
|
101
|
+
enabled: true
|
|
102
|
+
idleMinutes: 180 # window is dream-eligible after โฅ180 min (3 h) idle
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
**Every field, its type and its default are in [docs/configuration-reference.md](docs/configuration-reference.md)**, including `titleMax` / `autoMigrate` / `homeDir` / `disabledWorkspaces` / `backup` / `delegate`.
|
|
106
|
+
|
|
107
|
+
> โ ๏ธ **Set `promptLang` explicitly on first use.** It decides the language of injected/reflection/dream prompts and of tool descriptions, and it also shapes the language the model writes memory entries in โ keywords are extracted in the entry's language. `zh` / `en` / `pt-br` ship built in. The value *is* the subdirectory name under `src/prompts/` and is matched **verbatim**: a name that does not exist (e.g. `pt`) raises nothing and silently falls back to the Chinese pack. See [docs/configuration-reference.md](docs/configuration-reference.md).
|
|
108
|
+
|
|
109
|
+
### UI language
|
|
110
|
+
|
|
111
|
+
The plugin's UI copy follows DSH's Settings โ General โ Language (built in: ไธญๆ / English / Portuguรชs (Brasil)) and is a separate layer from `promptLang`; the two do not interfere. See [docs/configuration-reference.md](docs/configuration-reference.md).
|
|
112
|
+
|
|
113
|
+
## ๐ง How it works
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
First user message (turn 1) Every message from turn 2 idle โฅ3h, not peak
|
|
117
|
+
โโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ
|
|
118
|
+
โ ===== ้ฟๆ่ฎฐๅฟ ===== โ โ ๅฏ่ฝ็ธๅ
ณ็่ฎฐๅฟ๏ผไป
ไพ โ โ per-window dream: โ
|
|
119
|
+
โ ใๅ
ณไบไฝ ใ(soul) โ โ ๅ่๏ผkeyword hits โ โ three rounds (atomic/ โ
|
|
120
|
+
โ ใๅ
ณไบuserใ โ โ top-2 (global + โ โ topic, summary), 7+ โ
|
|
121
|
+
โ ใ่ฎพ่ฎกๅๅใ(rules) โ โ current-project โ โ extracted, updated_at โ
|
|
122
|
+
โ ใ่ฎฐๅฟๅฏผๅผใ โ โ anchor) โ โ stamped at T โ
|
|
123
|
+
โโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ
|
|
124
|
+
independent snapshot message seen ids recorded
|
|
125
|
+
โ pristine user prompt per session (sessions/<id>.json)
|
|
126
|
+
injected once per compaction signal โ seen released
|
|
127
|
+
session, no hits on turn 1
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Tools
|
|
131
|
+
|
|
132
|
+
| Tool | Purpose |
|
|
133
|
+
|---|---|
|
|
134
|
+
| `memory_remember` | Write one memory (content/project/keywords/importance required; dedups and merges) |
|
|
135
|
+
| `memory_search` | Keyword search (BM25 ร recency; level/project/status/days filters) |
|
|
136
|
+
| `memory_project` | Fetch a project's whole-project injection paragraph (**`project` parameter required**) |
|
|
137
|
+
| `memory_find_similar` | Duplicate & conflict detection |
|
|
138
|
+
| `memory_read` | Read one entry's complete metadata by id |
|
|
139
|
+
| `memory_update` | Correct status / importance / goal / keywords |
|
|
140
|
+
| `memory_dream` | Manually trigger this window's consolidation |
|
|
141
|
+
| `memory_home` | Inspect / switch the global data directory |
|
|
142
|
+
|
|
143
|
+
There is also the `/dream` command: type `/dream` in the composer to consolidate this window right away, immune to peak-hour suppression.
|
|
144
|
+
|
|
145
|
+
**Parameters, returns and side effects are in [docs/tool-reference.md](docs/tool-reference.md)** (including `memory_project`'s anchoring side effect and `memory_home`'s three preset directory markers).
|
|
146
|
+
|
|
147
|
+
## ๐ Development
|
|
148
|
+
|
|
149
|
+
```sh
|
|
150
|
+
npm install
|
|
151
|
+
npm run build # esbuild bundle โ lib/index.js (Host peers stay external)
|
|
152
|
+
npm run test # 228 logic tests: db / bm25 / migrate / inject / reflect / dream / tools / apply
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
The `@deepseek-ai/*` packages live in the dsh-meow pnpm workspace, not in this package's
|
|
156
|
+
`node_modules`. On Windows, `npm run link-workspace` (or `scripts/link-workspace.ps1`)
|
|
157
|
+
creates junction mirrors of the workspace packages so esbuild can resolve them;
|
|
158
|
+
`build.mjs` uses `nodePaths` to pick them up. Building does not require the optional
|
|
159
|
+
`dsh-llm` peer. To run tests directly with Node, link `@deepseek-ai/dsh-llm` from a
|
|
160
|
+
matching DSH workspace; normal plugin loading resolves it through the DSH profile
|
|
161
|
+
loader. Do not restore it as a devDependency: `file:` / `link:` installs can introduce
|
|
162
|
+
a second copy of a Host core package into the profile (#84).
|
|
163
|
+
|
|
164
|
+
`node tests/build-host-peers.mjs` checks a clean build without Host peers (#87).
|
|
165
|
+
`node tests/host-peers.mjs /path/to/node_modules/@deepseek-ai/dsh` uses an independently
|
|
166
|
+
installed official DSH to check real Host loading and message contracts in an isolated
|
|
167
|
+
profile, without model calls.
|
|
168
|
+
|
|
169
|
+
## ๐ Documentation
|
|
170
|
+
|
|
171
|
+
| To learn about | Read |
|
|
172
|
+
| --- | --- |
|
|
173
|
+
| The seven tools: parameters, returns and side effects | [docs/tool-reference.md](docs/tool-reference.md) |
|
|
174
|
+
| Every configuration field, type and default | [docs/configuration-reference.md](docs/configuration-reference.md) |
|
|
175
|
+
| Why it is designed this way (cache, hits, dream, pitfalls) | [docs/design-notes.md](docs/design-notes.md) |
|
|
176
|
+
| Install failures, poor search results, how to read errors | [docs/troubleshooting.md](docs/troubleshooting.md) |
|
|
177
|
+
| Version history | [CHANGELOG.md](CHANGELOG.md) |
|
|
178
|
+
| Adding a UI language | [src/i18n/README.md](src/i18n/README.md) |
|
|
179
|
+
| Adding a prompt language pack | [src/prompts/README.md](src/prompts/README.md) |
|
|
180
|
+
|
|
181
|
+
## ๐ Acknowledgments
|
|
182
|
+
|
|
183
|
+
Thanks to every contributor who made meow-memory better:
|
|
184
|
+
|
|
185
|
+
- **[daveycodez](https://github.com/daveycodez)** โ English language pack & tokenizer ([PR #6](https://github.com/Phant0Meow/dsh-meow-memory/pull/6), shipped in v0.22.0)
|
|
186
|
+
- **[chenmzh](https://github.com/chenmzh)** โ isolated memory injections into independent plugin snapshot messages, fixing session title pollution ([PR #10](https://github.com/Phant0Meow/dsh-meow-memory/pull/10))
|
|
187
|
+
- **[cuddly-guacamole](https://github.com/cuddly-guacamole)** โ dual-version Session events compatibility for dsh 0.1.2-alpha.4 ([PR #11](https://github.com/Phant0Meow/dsh-meow-memory/pull/11))
|
|
188
|
+
- **[coutogilson](https://github.com/coutogilson)** โ Brazilian Portuguese prompt pack (`src/prompts/pt-br/`) and the UI copy layer that follows the DSH locale
|
|
189
|
+
|
|
190
|
+
## ๐ License
|
|
191
|
+
|
|
192
|
+
MIT โ see [LICENSE](LICENSE).
|