@openviking/openclaw-plugin 2026.9.8-3 → 2026.9.9
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openviking/openclaw-plugin",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.9",
|
|
4
4
|
"displayName": "OpenViking",
|
|
5
5
|
"description": "OpenClaw context-engine plugin — OpenViking AI memory, long-term memory, knowledge base, semantic search, RAG, context engine. 长期记忆 · 知识库 · 语义检索 · 上下文引擎",
|
|
6
6
|
"type": "module",
|
|
@@ -55,7 +55,8 @@ context or deeper intent analysis is useful.
|
|
|
55
55
|
|
|
56
56
|
For tools using MCP-style parameters, set `target_uri` to this root. For
|
|
57
57
|
OpenClaw `ov_search`, set `uri` to this root. Never hardcode `default`,
|
|
58
|
-
`test`, or another user ID.
|
|
58
|
+
`test`, or another user ID. If the server rejects the URI, resolve the root
|
|
59
|
+
as described in *Servers Without the Home Alias* and retry once.
|
|
59
60
|
4. Start with `limit=5` and the tool's normal score threshold. Judge results by
|
|
60
61
|
task, environment, preconditions, and likely effect; title similarity alone
|
|
61
62
|
is insufficient. If no result is relevant, continue without Experience and
|
|
@@ -73,6 +74,26 @@ context or deeper intent analysis is useful.
|
|
|
73
74
|
follow-up search using the failure evidence, then read only newly relevant
|
|
74
75
|
Experience files.
|
|
75
76
|
|
|
77
|
+
## Servers Without the Home Alias
|
|
78
|
+
|
|
79
|
+
`viking://~` is the home alias for the caller's own space. A server released
|
|
80
|
+
before the alias (OpenViking v0.4.16) does not resolve it and rejects the
|
|
81
|
+
request with `INVALID_URI` (HTTP 400) instead of searching. Retry once against
|
|
82
|
+
the caller's explicit root, resolved from evidence rather than guessed:
|
|
83
|
+
|
|
84
|
+
- If a canonical `viking://user/<user_id>/...` URI is already visible in this
|
|
85
|
+
session — injected memory context, or an earlier OpenViking tool result —
|
|
86
|
+
reuse that `<user_id>` and search
|
|
87
|
+
`viking://user/<user_id>/memories/experiences`.
|
|
88
|
+
- Otherwise repeat the same query with no target scope, narrowed to memories
|
|
89
|
+
with `context_type` when the tool accepts it, and keep only hits whose URI
|
|
90
|
+
contains `/memories/experiences/`. Those hits carry the canonical user ID;
|
|
91
|
+
reuse it for the reads and for any later Experience search in this task.
|
|
92
|
+
|
|
93
|
+
Do not fall back to the uid-less `viking://user/memories/experiences`: only
|
|
94
|
+
some older servers and roles expand it, and current servers reject it. If no
|
|
95
|
+
explicit root can be resolved, continue without Experience.
|
|
96
|
+
|
|
76
97
|
## Applying Retrieved Experience
|
|
77
98
|
|
|
78
99
|
- Treat Experience as reusable procedure, not as a user profile, user intent,
|