@remnic/plugin-openclaw 9.3.581 → 9.3.583

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 CHANGED
@@ -54,9 +54,7 @@ __reExport(temporal_index_exports, temporal_index_star);
54
54
  import * as temporal_index_star from "@remnic/core/temporal-index";
55
55
 
56
56
  // ../../src/explicit-capture.ts
57
- var explicit_capture_exports = {};
58
- __reExport(explicit_capture_exports, explicit_capture_star);
59
- import * as explicit_capture_star from "@remnic/core/explicit-capture";
57
+ import { hasInlineExplicitCaptureMarkup, parseInlineExplicitCaptureNotes, persistExplicitCapture, queueExplicitCaptureForReview, shouldProcessInlineExplicitCapture, shouldSkipImplicitExtraction, stripInlineExplicitCaptureNotes, validateExplicitCaptureInput } from "@remnic/core/explicit-capture";
60
58
 
61
59
  // ../../src/tools.ts
62
60
  import { WorkStorage } from "@remnic/core/work/storage";
@@ -338,11 +336,11 @@ function registerTools(api, orchestrator) {
338
336
  sourceReason
339
337
  };
340
338
  try {
341
- const candidate = (0, explicit_capture_exports.validateExplicitCaptureInput)(
339
+ const candidate = validateExplicitCaptureInput(
342
340
  rawInput,
343
341
  source === "memory_store" ? "legacy_tool" : "strict_explicit"
344
342
  );
345
- const result = await (0, explicit_capture_exports.persistExplicitCapture)(orchestrator, candidate, source);
343
+ const result = await persistExplicitCapture(orchestrator, candidate, source);
346
344
  if (!result.duplicateOf && orchestrator.config.queryAwareIndexingEnabled && (0, temporal_index_exports.indexesExist)(orchestrator.config.memoryDir)) {
347
345
  const storage = await orchestrator.getStorage(candidate.namespace);
348
346
  const mem = await storage.getMemoryById(result.id).catch(() => null);
@@ -360,7 +358,7 @@ Content: ${candidate.content}`
360
358
  );
361
359
  } catch (error) {
362
360
  try {
363
- const queued = await (0, explicit_capture_exports.queueExplicitCaptureForReview)(orchestrator, rawInput, source, error);
361
+ const queued = await queueExplicitCaptureForReview(orchestrator, rawInput, source, error);
364
362
  orchestrator.requestQmdMaintenanceForTool(`${maintenanceReason}.review`);
365
363
  return toolResult(
366
364
  queued.duplicateOf ? `Memory already queued for review: ${queued.duplicateOf}${namespace ? ` (namespace: ${namespace})` : ""}
@@ -5549,9 +5547,9 @@ Keep the reflection grounded in the evidence below.
5549
5547
  continue;
5550
5548
  }
5551
5549
  try {
5552
- await (0, explicit_capture_exports.persistExplicitCapture)(
5550
+ await persistExplicitCapture(
5553
5551
  orchestrator,
5554
- (0, explicit_capture_exports.validateExplicitCaptureInput)(note),
5552
+ validateExplicitCaptureInput(note),
5555
5553
  "inline"
5556
5554
  );
5557
5555
  orchestrator.requestQmdMaintenanceForTool("inline.memory_note");
@@ -5561,7 +5559,7 @@ Keep the reflection grounded in the evidence below.
5561
5559
  processed += 1;
5562
5560
  } catch (error) {
5563
5561
  try {
5564
- const queued = await (0, explicit_capture_exports.queueExplicitCaptureForReview)(
5562
+ const queued = await queueExplicitCaptureForReview(
5565
5563
  orchestrator,
5566
5564
  note,
5567
5565
  "inline",
@@ -6431,11 +6429,11 @@ Keep the reflection grounded in the evidence below.
6431
6429
  const eventDate = typeof event.timestamp === "number" && Number.isFinite(event.timestamp) ? new Date(event.timestamp) : /* @__PURE__ */ new Date();
6432
6430
  const timestamp = Number.isFinite(eventDate.getTime()) ? eventDate.toISOString() : (/* @__PURE__ */ new Date()).toISOString();
6433
6431
  const cleaned = cleanOpenClawUserMessage(content);
6434
- const inlineCaptureEnabled = (0, explicit_capture_exports.shouldProcessInlineExplicitCapture)(
6432
+ const inlineCaptureEnabled = shouldProcessInlineExplicitCapture(
6435
6433
  orchestrator.config
6436
6434
  );
6437
- const explicitNotes = inlineCaptureEnabled ? (0, explicit_capture_exports.parseInlineExplicitCaptureNotes)(cleaned) : [];
6438
- const transcriptContent = inlineCaptureEnabled && (0, explicit_capture_exports.hasInlineExplicitCaptureMarkup)(cleaned) ? (0, explicit_capture_exports.stripInlineExplicitCaptureNotes)(cleaned) : cleaned;
6435
+ const explicitNotes = inlineCaptureEnabled ? parseInlineExplicitCaptureNotes(cleaned) : [];
6436
+ const transcriptContent = inlineCaptureEnabled && hasInlineExplicitCaptureMarkup(cleaned) ? stripInlineExplicitCaptureNotes(cleaned) : cleaned;
6439
6437
  const inboundContentFingerprint = buildOpenClawInboundContentFingerprint(
6440
6438
  transcriptContent,
6441
6439
  event,
@@ -6572,11 +6570,11 @@ Keep the reflection grounded in the evidence below.
6572
6570
  const content = extractTextContent(msg);
6573
6571
  if (content.length < 10) continue;
6574
6572
  const cleaned = role === "user" ? cleanOpenClawUserMessage(content) : content;
6575
- const inlineCaptureEnabled = (0, explicit_capture_exports.shouldProcessInlineExplicitCapture)(
6573
+ const inlineCaptureEnabled = shouldProcessInlineExplicitCapture(
6576
6574
  orchestrator.config
6577
6575
  );
6578
- const explicitNotes = inlineCaptureEnabled ? (0, explicit_capture_exports.parseInlineExplicitCaptureNotes)(cleaned) : [];
6579
- const stripped = inlineCaptureEnabled && (0, explicit_capture_exports.hasInlineExplicitCaptureMarkup)(cleaned) ? (0, explicit_capture_exports.stripInlineExplicitCaptureNotes)(cleaned) : cleaned;
6576
+ const explicitNotes = inlineCaptureEnabled ? parseInlineExplicitCaptureNotes(cleaned) : [];
6577
+ const stripped = inlineCaptureEnabled && hasInlineExplicitCaptureMarkup(cleaned) ? stripInlineExplicitCaptureNotes(cleaned) : cleaned;
6580
6578
  const messageMetadata = buildOpenClawMessageMetadata(
6581
6579
  msg,
6582
6580
  event,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "openclaw-remnic",
3
3
  "name": "Remnic OpenClaw Plugin",
4
- "version": "9.3.581",
4
+ "version": "9.3.583",
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.581",
3
+ "version": "9.3.583",
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.581"
75
+ "@remnic/core": "^9.3.583"
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.581"
85
+ "@remnic/core": "^9.3.583"
86
86
  },
87
87
  "license": "MIT",
88
88
  "repository": {