@jacklika/dsh-memory 0.1.7-rc.2 → 0.1.7-rc.21
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 +2 -2
- package/README.zh.md +2 -2
- package/cordis.patch.yml +19 -0
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ English | [中文](README.zh.md)
|
|
|
27
27
|
Install the Bundle through the Harness Plugin Manager; the Profile may already exist or be created by the command:
|
|
28
28
|
|
|
29
29
|
```sh
|
|
30
|
-
dsh plugin --profile memory add @jacklika/dsh-memory@0.1.7-rc.
|
|
30
|
+
dsh plugin --profile memory add @jacklika/dsh-memory@0.1.7-rc.10
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
Keep the Bundle after `dsh-base` and include an application layer such as `dsh-headless` or `dsh-web-app`. Semantic search stays disabled until the profile patch supplies an embeddings endpoint:
|
|
@@ -40,7 +40,7 @@ Keep the Bundle after `dsh-base` and include an application layer such as `dsh-h
|
|
|
40
40
|
model: nomic-embed-text
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
The vault
|
|
43
|
+
The Bundle patch sets the vault to `<session cwd>/.plugins/memory/`; override `vaultRoot` on `tool-memory-filesystem`, `memory-queue`, `memory-git`, and `tool-memory-graph` from the profile patch if you prefer a different location.
|
|
44
44
|
|
|
45
45
|
<a id="understand-the-implementation"></a>
|
|
46
46
|
## Understand the implementation
|
package/README.zh.md
CHANGED
|
@@ -27,7 +27,7 @@ kind: "package-bundle"
|
|
|
27
27
|
通过 Harness Plugin Manager 安装 Bundle;该命令可使用已有 Profile,也可自动创建:
|
|
28
28
|
|
|
29
29
|
```sh
|
|
30
|
-
dsh plugin --profile memory add @jacklika/dsh-memory@0.1.7-rc.
|
|
30
|
+
dsh plugin --profile memory add @jacklika/dsh-memory@0.1.7-rc.10
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
保持 Bundle 位于 `dsh-base` 之后,并加入 `dsh-headless` 或 `dsh-web-app` 等应用层。语义搜索默认关闭,需在 profile patch 中提供 embeddings 端点后启用:
|
|
@@ -40,7 +40,7 @@ dsh plugin --profile memory add @jacklika/dsh-memory@0.1.7-rc.2
|
|
|
40
40
|
model: nomic-embed-text
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
vault
|
|
43
|
+
Bundle patch 默认把 vault 设在 `<会话 cwd>/.plugins/memory/`;可在 profile patch 中覆盖 `tool-memory-filesystem`、`memory-queue`、`memory-git` 与 `tool-memory-graph` 的 `vaultRoot`。
|
|
44
44
|
|
|
45
45
|
<a id="understand-the-implementation"></a>
|
|
46
46
|
## 理解实现
|
package/cordis.patch.yml
CHANGED
|
@@ -12,25 +12,44 @@
|
|
|
12
12
|
- id: memory-queue
|
|
13
13
|
name: '@jacklika/dsh-memory-queue'
|
|
14
14
|
config:
|
|
15
|
+
vaultRoot: '.plugins/memory'
|
|
15
16
|
crossProcessLock: true
|
|
16
17
|
laneArgument: id
|
|
17
18
|
|
|
18
19
|
- id: memory-git
|
|
19
20
|
name: '@jacklika/dsh-memory-git'
|
|
21
|
+
config:
|
|
22
|
+
vaultRoot: '.plugins/memory'
|
|
23
|
+
prefixes: ['shared/', 'agents/']
|
|
24
|
+
nestedRepo: init
|
|
20
25
|
|
|
21
26
|
- id: tool-memory-filesystem
|
|
22
27
|
name: '@jacklika/dsh-tool-memory-filesystem'
|
|
28
|
+
config:
|
|
29
|
+
vaultRoot: '.plugins/memory'
|
|
30
|
+
extensions: ['.md']
|
|
31
|
+
maxLinkDepth: 1
|
|
32
|
+
maxSearchResults: 20
|
|
33
|
+
indexHiddenDirs: false
|
|
34
|
+
|
|
35
|
+
- id: memory-curator
|
|
36
|
+
name: '@jacklika/dsh-memory-curator'
|
|
23
37
|
|
|
24
38
|
- id: tool-memory-graph
|
|
25
39
|
name: '@jacklika/dsh-tool-memory-graph'
|
|
40
|
+
config:
|
|
41
|
+
vaultRoot: '.plugins/memory'
|
|
26
42
|
|
|
27
43
|
# Semantic search stays off until a deployment supplies an embeddings
|
|
28
44
|
# endpoint; enable it from the profile patch layer:
|
|
29
45
|
# - id: tool-memory-vector
|
|
30
46
|
# disabled: false
|
|
31
47
|
# config:
|
|
48
|
+
# vaultRoot: '.plugins/memory'
|
|
32
49
|
# endpoint: http://localhost:11434/v1/embeddings
|
|
33
50
|
# model: nomic-embed-text
|
|
34
51
|
- id: tool-memory-vector
|
|
35
52
|
name: '@jacklika/dsh-tool-memory-vector'
|
|
36
53
|
disabled: true
|
|
54
|
+
config:
|
|
55
|
+
vaultRoot: '.plugins/memory'
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jacklika/dsh-memory",
|
|
3
3
|
"description": "The dsh memory bundle: an Obsidian-compatible Markdown vault with per-agent write namespaces, serialized writes, and git history as a patch layer over dsh-base",
|
|
4
|
-
"version": "0.1.7-rc.
|
|
4
|
+
"version": "0.1.7-rc.21",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -36,14 +36,15 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@deepseek-ai/dsh-tools": ">=0.1.7-rc.1 <0.3.0"
|
|
39
|
+
"@deepseek-ai/dsh-tools": ">=0.1.7-rc.1 <0.3.0-0 || >=0.2.0-rc.1 <0.3.0-0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@jacklika/dsh-memory-
|
|
43
|
-
"@jacklika/dsh-memory-
|
|
44
|
-
"@jacklika/dsh-tool-memory-graph": "0.1.0-alpha.
|
|
45
|
-
"@jacklika/dsh-tool-memory-filesystem": "0.1.3-alpha.
|
|
46
|
-
"@jacklika/dsh-memory-
|
|
47
|
-
"@jacklika/dsh-
|
|
42
|
+
"@jacklika/dsh-memory-curator": "0.1.0-alpha.11",
|
|
43
|
+
"@jacklika/dsh-memory-git": "0.1.0-alpha.6",
|
|
44
|
+
"@jacklika/dsh-tool-memory-graph": "0.1.0-alpha.7",
|
|
45
|
+
"@jacklika/dsh-tool-memory-filesystem": "0.1.3-alpha.10",
|
|
46
|
+
"@jacklika/dsh-memory-queue": "0.1.0-alpha.5",
|
|
47
|
+
"@jacklika/dsh-memory-scope": "0.1.0-alpha.3",
|
|
48
|
+
"@jacklika/dsh-tool-memory-vector": "0.1.0-alpha.4"
|
|
48
49
|
}
|
|
49
50
|
}
|