@openviking/dsh-memory-plugin 0.5.15 → 0.5.17
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 +24 -8
- package/config.mjs +1 -1
- package/package.json +4 -4
- package/shared/config-schema.mjs +2 -2
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ It also needs `node examples/memory-plugin-shared/sync.mjs` run first: the
|
|
|
35
35
|
|
|
36
36
|
## Requirements
|
|
37
37
|
|
|
38
|
-
- `@deepseek-ai/dsh` `0.1.0-rc.6
|
|
38
|
+
- `@deepseek-ai/dsh` `0.1.0-rc.6` or later, below `1.0.0` (see [DSH version compatibility](#dsh-version-compatibility))
|
|
39
39
|
- Node.js `^22.19.0` or `>=24`
|
|
40
40
|
- A reachable OpenViking server
|
|
41
41
|
|
|
@@ -49,18 +49,34 @@ individual DSH core packages to the profile. DSH initializes profiles with
|
|
|
49
49
|
available through its module fallback at boot. A missing-peer warning during
|
|
50
50
|
`dsh plugin add` alone does not prove startup is broken.
|
|
51
51
|
|
|
52
|
-
The peer range is `>=0.1.0-rc.6 <0.2.0 || ^0.1.5-rc.1 || ^0.1.7-rc.2`. Each
|
|
53
|
-
pre-release clause admits one series explicitly: semver does not include a
|
|
54
|
-
release candidate in the first clause merely because it compares above
|
|
55
|
-
`0.1.0-rc.6`, so every verified pre-release series is listed on its own. Other
|
|
56
|
-
pre-release series need separate verification. Local devDependencies and
|
|
57
|
-
`overrides` stay pinned to rc.6 to exercise the minimum supported contract.
|
|
58
|
-
|
|
59
52
|
Everything under `shared/` and `skills/` is generated by
|
|
60
53
|
`node examples/memory-plugin-shared/sync.mjs` — edit
|
|
61
54
|
`examples/memory-plugin-shared/lib/` and `examples/skills/`, never the vendored
|
|
62
55
|
copies.
|
|
63
56
|
|
|
57
|
+
### DSH version compatibility
|
|
58
|
+
|
|
59
|
+
The peer range is `>=0.1.0-rc.6 <1.0.0-0`. DSH checks each `@deepseek-ai/dsh-*`
|
|
60
|
+
peer when it loads a plugin, with pre-releases included in the range, so this
|
|
61
|
+
admits every 0.x release and pre-release from `0.1.0-rc.6` on, including ones
|
|
62
|
+
published after this bundle. The bundle touches a small DSH surface —
|
|
63
|
+
`createUserMessage` and `boundContextSummary` from `@deepseek-ai/dsh-llm` and
|
|
64
|
+
the plugin entry points of `@deepseek-ai/dsh-mcp-client` and
|
|
65
|
+
`@deepseek-ai/dsh-skill-filesystem` — so the range is not narrowed to the
|
|
66
|
+
releases tested so far.
|
|
67
|
+
|
|
68
|
+
Verified releases: `0.1.0-rc.6`, `0.1.5-rc.1`, `0.1.5-rc.2`, `0.1.7-rc.2`,
|
|
69
|
+
`0.2.0-rc.2`, and `0.2.1-alpha.1`. A daily job
|
|
70
|
+
(`.github/workflows/host-compat.yml`) runs the bundle's tests against the
|
|
71
|
+
releases DSH's `latest`, `next`, and `alpha` dist-tags point at, installs each
|
|
72
|
+
of those releases, adds the packed bundle to a profile and checks
|
|
73
|
+
`--dump-config` lists it, and opens an issue when any of that fails, so a breaking release is usually caught before users
|
|
74
|
+
reach it; if the bundle still fails to start on a new release, pin DSH to a
|
|
75
|
+
verified one and open an issue. DSH 1.0 and later, pre-releases included, fall outside the
|
|
76
|
+
range and DSH refuses to load the bundle; `dsh plugin allow-version` grants an exact-version
|
|
77
|
+
exemption if you accept the risk. Local devDependencies and `overrides` stay
|
|
78
|
+
pinned to rc.6 to exercise the minimum supported contract.
|
|
79
|
+
|
|
64
80
|
## Troubleshooting startup
|
|
65
81
|
|
|
66
82
|
If startup reports that `@deepseek-ai/dsh-llm` does not export `assertNever`,
|
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.17";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Namespace for the bridged OpenViking MCP tools. DSH publishes every MCP tool
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openviking/dsh-memory-plugin",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.17",
|
|
4
4
|
"description": "OpenViking memory and context bundle for DeepSeek Harness",
|
|
5
5
|
"icon": "./icon.svg",
|
|
6
6
|
"type": "module",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"prepublishOnly": "npm run prepack && npm run check && npm test"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.6 <0.
|
|
47
|
-
"@deepseek-ai/dsh-mcp-client": ">=0.1.0-rc.6 <0.
|
|
48
|
-
"@deepseek-ai/dsh-skill-filesystem": ">=0.1.0-rc.6 <0.
|
|
46
|
+
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.6 <1.0.0-0",
|
|
47
|
+
"@deepseek-ai/dsh-mcp-client": ">=0.1.0-rc.6 <1.0.0-0",
|
|
48
|
+
"@deepseek-ai/dsh-skill-filesystem": ">=0.1.0-rc.6 <1.0.0-0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@deepseek-ai/dsh-llm": "0.1.0-rc.6",
|
package/shared/config-schema.mjs
CHANGED
|
@@ -160,7 +160,7 @@ export const KNOBS = [
|
|
|
160
160
|
{ name: "noAutoInject", type: "bool", default: false, env: "OPENVIKING_NO_AUTO_INJECT", capability: "session" },
|
|
161
161
|
{ name: "profileTokenBudget", type: "int", default: 10000, min: 500, max: 50000, env: "OPENVIKING_PROFILE_TOKEN_BUDGET", aliases: ["profileBudget"], capability: "session" },
|
|
162
162
|
{ name: "resumeContextBudget", type: "int", default: 32000, min: 1024, max: 128000, env: "OPENVIKING_RESUME_CONTEXT_BUDGET", capability: "session" },
|
|
163
|
-
{ name: "resumeArchiveInject", type: "bool", default:
|
|
163
|
+
{ name: "resumeArchiveInject", type: "bool", default: false, env: "OPENVIKING_RESUME_ARCHIVE_INJECT", capability: "session" },
|
|
164
164
|
{ name: "resumeArchiveTokenBudget", type: "int", default: 32000, min: 0, max: 128000, env: "OPENVIKING_RESUME_ARCHIVE_TOKEN_BUDGET", capability: "session" },
|
|
165
165
|
{ name: "resumeArchiveMaxChars", type: "int", default: 6000, min: 1000, max: 200000, env: "OPENVIKING_RESUME_ARCHIVE_MAX_CHARS", capability: "session" },
|
|
166
166
|
{ name: "skillExperience", type: "bool", default: false, env: "OPENVIKING_SKILL_EXPERIENCE", capability: "session" },
|
|
@@ -184,7 +184,7 @@ export const KNOBS = [
|
|
|
184
184
|
{ name: "repoContext", type: "bool", default: true, capability: "session" },
|
|
185
185
|
{ name: "repoContextCacheTtlMs", type: "int", default: 60000, min: 1000, max: 3600000, capability: "session" },
|
|
186
186
|
|
|
187
|
-
{ name: "takeoverEnabled", type: "bool", default:
|
|
187
|
+
{ name: "takeoverEnabled", type: "bool", default: false, env: "OPENVIKING_TAKEOVER", capability: "session" },
|
|
188
188
|
{ name: "takeoverTokenThreshold", type: "int", default: 30000, min: 1, max: 1000000, capability: "session" },
|
|
189
189
|
{ name: "takeoverKeepRecentTurns", type: "int", default: 3, min: 0, max: 100, capability: "session" },
|
|
190
190
|
{ name: "takeoverOverviewBudget", type: "int", default: 3000, min: 100, max: 50000, capability: "session" },
|