@remnic/plugin-openclaw 9.3.603 → 9.3.605
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/dist/index.js +19 -4
- package/openclaw.plugin.json +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -48,7 +48,22 @@ import { Type } from "@sinclair/typebox";
|
|
|
48
48
|
|
|
49
49
|
// ../../src/temporal-index.ts
|
|
50
50
|
var temporal_index_exports = {};
|
|
51
|
+
__export(temporal_index_exports, {
|
|
52
|
+
clearIndexes: () => clearIndexes,
|
|
53
|
+
deindexMemory: () => deindexMemory,
|
|
54
|
+
extractTagsFromPrompt: () => extractTagsFromPrompt,
|
|
55
|
+
indexMemoriesBatch: () => indexMemoriesBatch,
|
|
56
|
+
indexMemory: () => indexMemory,
|
|
57
|
+
indexesExist: () => indexesExist,
|
|
58
|
+
isTemporalQuery: () => isTemporalQuery,
|
|
59
|
+
queryByDateRangeAsync: () => queryByDateRangeAsync,
|
|
60
|
+
queryByTagsAsync: () => queryByTagsAsync,
|
|
61
|
+
recencyWindowBoundsFromPrompt: () => recencyWindowBoundsFromPrompt,
|
|
62
|
+
recencyWindowFromPrompt: () => recencyWindowFromPrompt,
|
|
63
|
+
resolvePromptTagPrefilterAsync: () => resolvePromptTagPrefilterAsync
|
|
64
|
+
});
|
|
51
65
|
__reExport(temporal_index_exports, temporal_index_star);
|
|
66
|
+
import { clearIndexes, deindexMemory, extractTagsFromPrompt, indexMemoriesBatch, indexMemory, indexesExist, isTemporalQuery, queryByDateRangeAsync, queryByTagsAsync, recencyWindowBoundsFromPrompt, recencyWindowFromPrompt, resolvePromptTagPrefilterAsync } from "@remnic/core/temporal-index";
|
|
52
67
|
import * as temporal_index_star from "@remnic/core/temporal-index";
|
|
53
68
|
|
|
54
69
|
// ../../src/explicit-capture.ts
|
|
@@ -337,11 +352,11 @@ function registerTools(api, orchestrator) {
|
|
|
337
352
|
source === "memory_store" ? "legacy_tool" : "strict_explicit"
|
|
338
353
|
);
|
|
339
354
|
const result = await persistExplicitCapture(orchestrator, candidate, source);
|
|
340
|
-
if (!result.duplicateOf && orchestrator.config.queryAwareIndexingEnabled &&
|
|
355
|
+
if (!result.duplicateOf && orchestrator.config.queryAwareIndexingEnabled && indexesExist(orchestrator.config.memoryDir)) {
|
|
341
356
|
const storage = await orchestrator.getStorage(candidate.namespace);
|
|
342
357
|
const mem = await storage.getMemoryById(result.id).catch(() => null);
|
|
343
358
|
if (mem?.path && mem.frontmatter?.created) {
|
|
344
|
-
|
|
359
|
+
indexMemory(orchestrator.config.memoryDir, mem.path, mem.frontmatter.created, mem.frontmatter.tags ?? []);
|
|
345
360
|
}
|
|
346
361
|
}
|
|
347
362
|
orchestrator.requestQmdMaintenanceForTool(maintenanceReason);
|
|
@@ -1888,10 +1903,10 @@ Best for:
|
|
|
1888
1903
|
supersedes: mem.frontmatter.supersedes,
|
|
1889
1904
|
links: mem.frontmatter.links
|
|
1890
1905
|
});
|
|
1891
|
-
if (orchestrator.config.queryAwareIndexingEnabled &&
|
|
1906
|
+
if (orchestrator.config.queryAwareIndexingEnabled && indexesExist(orchestrator.config.memoryDir)) {
|
|
1892
1907
|
const promoted = await dst.getMemoryById(newId).catch(() => null);
|
|
1893
1908
|
if (promoted?.path && promoted.frontmatter?.created) {
|
|
1894
|
-
|
|
1909
|
+
indexMemory(orchestrator.config.memoryDir, promoted.path, promoted.frontmatter.created, promoted.frontmatter.tags ?? []);
|
|
1895
1910
|
}
|
|
1896
1911
|
}
|
|
1897
1912
|
return toolResult(`Promoted ${srcNs}:${memoryId} \u2192 ${dstNs}:${newId}`);
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "openclaw-remnic",
|
|
3
3
|
"name": "Remnic OpenClaw Plugin",
|
|
4
|
-
"version": "9.3.
|
|
4
|
+
"version": "9.3.605",
|
|
5
5
|
"kind": "memory",
|
|
6
6
|
"description": "Local semantic memory for OpenClaw with bundled Remnic core runtime. Requires plugins.slots.memory set to this plugin id for hooks to fire.",
|
|
7
7
|
"setup": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnic/plugin-openclaw",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.605",
|
|
4
4
|
"description": "OpenClaw adapter for Remnic memory with bundled @remnic/core runtime",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@sinclair/typebox": "^0.34.0",
|
|
74
74
|
"openai": "^6.0.0",
|
|
75
|
-
"@remnic/core": "^9.3.
|
|
75
|
+
"@remnic/core": "^9.3.605"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"openclaw": ">=2026.4.1 || 2026.4.7-1 || 2026.4.9-beta.1 || 2026.4.11-beta.1 || 2026.4.12-beta.1 || 2026.4.14-beta.1 || 2026.4.15-beta.1 || 2026.4.15-beta.2 || 2026.4.19-beta.1 || 2026.4.19-beta.2 || 2026.4.20-beta.1 || 2026.4.20-beta.2 || 2026.4.22-beta.1 || 2026.4.23-beta.1 || 2026.4.23-beta.2 || 2026.4.23-beta.3 || 2026.4.23-beta.4 || 2026.4.23-beta.5 || 2026.4.23-beta.6 || 2026.4.24-beta.1 || 2026.4.24-beta.2 || 2026.4.24-beta.3 || 2026.4.24-beta.4 || 2026.4.24-beta.5 || 2026.4.24-beta.6 || 2026.4.25-beta.1 || 2026.4.25-beta.2 || 2026.4.25-beta.3 || 2026.4.25-beta.4 || 2026.4.25-beta.5 || 2026.4.25-beta.6 || 2026.4.25-beta.7 || 2026.4.25-beta.8 || 2026.4.25-beta.9 || 2026.4.25-beta.10 || 2026.4.25-beta.11 || 2026.4.26-beta.1 || 2026.4.27-beta.1 || 2026.4.29-beta.1 || 2026.4.29-beta.2 || 2026.4.29-beta.3 || 2026.4.29-beta.4 || 2026.4.30-beta.1 || 2026.5.2-beta.1 || 2026.5.2-beta.2 || 2026.5.2-beta.3 || 2026.5.3-1 || 2026.5.3-beta.1 || 2026.5.3-beta.2 || 2026.5.3-beta.3 || 2026.5.3-beta.4 || 2026.5.4-beta.1 || 2026.5.4-beta.2 || 2026.5.4-beta.3 || 2026.5.5-beta.1 || 2026.5.5-beta.2 || 2026.5.6-beta.1 || 2026.5.7-beta.1 || 2026.5.9-beta.1 || 2026.5.10-beta.1 || 2026.5.10-beta.2 || 2026.5.10-beta.3 || 2026.5.10-beta.4 || 2026.5.10-beta.5 || 2026.5.10-beta.6 || 2026.5.12-beta.1 || 2026.5.12-beta.2 || 2026.5.12-beta.3 || 2026.5.12-beta.4 || 2026.5.12-beta.5 || 2026.5.12-beta.6 || 2026.5.12-beta.7 || 2026.5.12-beta.8 || 2026.5.14-beta.1 || 2026.5.14-beta.2 || 2026.5.16-beta.1 || 2026.5.16-beta.2 || 2026.5.16-beta.3 || 2026.5.16-beta.4 || 2026.5.16-beta.5 || 2026.5.16-beta.6 || 2026.5.16-beta.7 || 2026.5.18-beta.1 || 2026.5.19-alpha.1 || 2026.5.19-beta.1 || 2026.5.19-beta.2 || 2026.5.20-beta.1 || 2026.5.20-beta.2 || 2026.5.21-alpha.1 || 2026.5.21-beta.1 || 2026.5.22-beta.1 || 2026.5.23-alpha.1 || 2026.5.24-alpha.1 || 2026.5.24-beta.1 || 2026.5.24-beta.2 || 2026.5.25-alpha.1 || 2026.5.25-alpha.2 || 2026.5.25-beta.1 || 2026.5.26-beta.1 || 2026.5.26-beta.2 || 2026.5.27-alpha.1 || 2026.5.27-beta.1 || 2026.5.28-alpha.1 || 2026.5.28-beta.1 || 2026.5.28-beta.2 || 2026.5.28-beta.3 || 2026.5.28-beta.4 || 2026.5.29-alpha.1 || 2026.5.30-beta.1 || 2026.5.30-beta.2 || 2026.5.31-alpha.1 || 2026.5.31-beta.1 || 2026.5.31-beta.2 || 2026.5.31-beta.3 || 2026.5.31-beta.4 || 2026.6.1-alpha.1 || 2026.6.1-alpha.2 || 2026.6.1-alpha.3 || 2026.6.1-beta.1 || 2026.6.1-beta.2 || 2026.6.1-beta.3 || 2026.6.2-alpha.1 || 2026.6.2-alpha.2 || 2026.6.3-alpha.1"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"acorn": "^8.16.0",
|
|
83
83
|
"tsup": "^8.5.1",
|
|
84
84
|
"typescript": "^5.9.3",
|
|
85
|
-
"@remnic/core": "^9.3.
|
|
85
|
+
"@remnic/core": "^9.3.605"
|
|
86
86
|
},
|
|
87
87
|
"license": "MIT",
|
|
88
88
|
"repository": {
|