@openviking/dsh-memory-plugin 0.5.2 → 0.5.3
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/config.mjs +1 -1
- package/package.json +1 -1
- package/runtime.mjs +1 -0
- package/shared/config-schema.mjs +11 -0
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.3";
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Namespace for the bridged OpenViking MCP tools. DSH publishes every MCP tool
|
package/package.json
CHANGED
package/runtime.mjs
CHANGED
|
@@ -139,6 +139,7 @@ export class OpenVikingRuntime {
|
|
|
139
139
|
actorPeerId: state.config.peerId,
|
|
140
140
|
legacyPeerId: state.config.legacyPeerId,
|
|
141
141
|
sessionId: state.ovSessionId,
|
|
142
|
+
excludeUris: state.config.recallExcludeUris,
|
|
142
143
|
log: (stage, data) => this.log(stage, data),
|
|
143
144
|
},
|
|
144
145
|
);
|
package/shared/config-schema.mjs
CHANGED
|
@@ -93,6 +93,17 @@ export const KNOBS = [
|
|
|
93
93
|
{ name: "logRankingDetails", type: "bool", default: false, env: "OPENVIKING_LOG_RANKING_DETAILS", capability: "recall" },
|
|
94
94
|
{ name: "recallLedger", type: "bool", default: true, env: "OPENVIKING_RECALL_LEDGER", capability: "recall" },
|
|
95
95
|
{ name: "recallQueryFilters", type: "list", default: [], env: "OPENVIKING_RECALL_QUERY_FILTERS", capability: "recall" },
|
|
96
|
+
// Subtree URIs the recall search must never return. Without this there is no
|
|
97
|
+
// way to keep generated directory files (viking://user/<space>/skills,
|
|
98
|
+
// viking://user/<space>/resources, viking://agent/skills) out of the hits:
|
|
99
|
+
// they match like ordinary content and carry only boilerplate text.
|
|
100
|
+
{
|
|
101
|
+
name: "recallExcludeUris",
|
|
102
|
+
type: "list",
|
|
103
|
+
default: [],
|
|
104
|
+
env: "OPENVIKING_RECALL_EXCLUDE_URIS",
|
|
105
|
+
capability: "recall",
|
|
106
|
+
},
|
|
96
107
|
|
|
97
108
|
// Digest compression. Claude Code reads this as the tri-state
|
|
98
109
|
// off/client/server/auto through `normalizeRewriteMode`; Codex reads the same
|