@openviking/dsh-memory-plugin 0.5.7 → 0.5.8
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 +11 -19
- package/config.mjs +1 -1
- package/cordis.patch.yml +2 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Or add the package to a profile directly:
|
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
23
|
dsh plugin --profile web add @openviking/dsh-memory-plugin
|
|
24
|
-
dsh --profile web --dump-config # should list
|
|
24
|
+
dsh --profile web --dump-config # should list openviking-memory-runtime
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
`dsh plugin` forwards to pnpm inside the profile directory, so the bundle has to
|
|
@@ -176,26 +176,18 @@ Common environment variables:
|
|
|
176
176
|
| `OPENVIKING_WORKSPACE_PEER` | Derive a peer from each DSH session workspace's git identity by default; `0` sends no peer |
|
|
177
177
|
| `OPENVIKING_RECALL_PEER_SCOPE` | `all` for cross-workspace recall or `actor` for isolation |
|
|
178
178
|
|
|
179
|
-
The patch can also carry plugin config:
|
|
179
|
+
The profile's `cordis.patch.yml` can also carry plugin config:
|
|
180
180
|
|
|
181
181
|
```yaml
|
|
182
|
-
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
config:
|
|
192
|
-
endpoint: http://127.0.0.1:1933
|
|
193
|
-
recallMaxTokens: 2000
|
|
194
|
-
scoreThreshold: 0.35
|
|
195
|
-
captureToolResults: false
|
|
196
|
-
skipSubagentSessions: true
|
|
197
|
-
commitTokenThreshold: 20000
|
|
198
|
-
mcpToolCallTimeoutMs: 60000
|
|
182
|
+
- id: openviking-memory-runtime
|
|
183
|
+
config:
|
|
184
|
+
endpoint: http://127.0.0.1:1933
|
|
185
|
+
recallMaxTokens: 2000
|
|
186
|
+
scoreThreshold: 0.35
|
|
187
|
+
captureToolResults: false
|
|
188
|
+
skipSubagentSessions: true
|
|
189
|
+
commitTokenThreshold: 20000
|
|
190
|
+
mcpToolCallTimeoutMs: 60000
|
|
199
191
|
```
|
|
200
192
|
|
|
201
193
|
Recall normally uses `POST /api/v1/search/search` with `mode: "context"`.
|
package/config.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { buildPluginConfig } from "./shared/plugin-config.mjs";
|
|
2
2
|
import { loadCredentialFiles } from "./shared/credentials.mjs";
|
|
3
3
|
|
|
4
|
-
export const PLUGIN_VERSION = "0.5.
|
|
4
|
+
export const PLUGIN_VERSION = "0.5.8";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Namespace for the bridged OpenViking MCP tools. DSH publishes every MCP tool
|
package/cordis.patch.yml
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
- insert:
|
|
2
|
-
- id: openviking-memory
|
|
3
|
-
name: '@
|
|
4
|
-
group: true
|
|
5
|
-
isolate:
|
|
6
|
-
openvikingMemory: true
|
|
7
|
-
config:
|
|
8
|
-
- id: openviking-memory-runtime
|
|
9
|
-
name: '@openviking/dsh-memory-plugin'
|
|
2
|
+
- id: openviking-memory-runtime
|
|
3
|
+
name: '@openviking/dsh-memory-plugin'
|