@openviking/openclaw-plugin 2026.10.21-1 → 2026.10.21-2
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.
|
@@ -118,6 +118,9 @@ export function buildContextSearchBody(cfg = {}, options = {}) {
|
|
|
118
118
|
body.max_tokens = maxTokens;
|
|
119
119
|
if (cfg.recallPeerScope === "actor")
|
|
120
120
|
body.peer_scope = "actor";
|
|
121
|
+
const decayProtection = String(cfg.recallEventsDecayProtection || "").trim();
|
|
122
|
+
if (decayProtection)
|
|
123
|
+
body.events_time_decay_protection = decayProtection;
|
|
121
124
|
const sessionId = String(options.sessionId || "").trim();
|
|
122
125
|
if (sessionId) {
|
|
123
126
|
body.session_id = sessionId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openviking/openclaw-plugin",
|
|
3
|
-
"version": "2026.10.21-
|
|
3
|
+
"version": "2026.10.21-2",
|
|
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",
|
package/shared/recall-core.mjs
CHANGED
|
@@ -129,6 +129,8 @@ export function buildContextSearchBody(cfg = {}, options = {}) {
|
|
|
129
129
|
if (limitConfigured) body.quotas = codingQuotas(limit);
|
|
130
130
|
if (maxTokensConfigured) body.max_tokens = maxTokens;
|
|
131
131
|
if (cfg.recallPeerScope === "actor") body.peer_scope = "actor";
|
|
132
|
+
const decayProtection = String(cfg.recallEventsDecayProtection || "").trim();
|
|
133
|
+
if (decayProtection) body.events_time_decay_protection = decayProtection;
|
|
132
134
|
|
|
133
135
|
const sessionId = String(options.sessionId || "").trim();
|
|
134
136
|
if (sessionId) {
|