@digitalforgestudios/openclaw-sulcus 6.6.5 → 7.2.0
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/README.md +0 -0
- package/hooks.defaults.json +0 -0
- package/index.js +2070 -258
- package/index.ts +494 -25
- package/openclaw.plugin.json +30 -0
- package/package.json +2 -2
- package/wasm/sulcus_wasm.js +0 -0
- package/wasm/sulcus_wasm_bg.wasm +0 -0
package/openclaw.plugin.json
CHANGED
|
@@ -351,6 +351,36 @@
|
|
|
351
351
|
"maximum": 10000
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
+
},
|
|
355
|
+
"contextEngine": {
|
|
356
|
+
"type": "object",
|
|
357
|
+
"description": "Sulcus Context Engine settings. When enabled, registers Sulcus as the OpenClaw context engine (ownsCompaction) for full control over context assembly, compaction, and mid-loop management.",
|
|
358
|
+
"additionalProperties": false,
|
|
359
|
+
"properties": {
|
|
360
|
+
"enabled": {
|
|
361
|
+
"type": "boolean",
|
|
362
|
+
"description": "Register Sulcus as the OpenClaw context engine. When disabled, OpenClaw uses its built-in legacy engine. Default: false.",
|
|
363
|
+
"default": false
|
|
364
|
+
},
|
|
365
|
+
"assemblyMode": {
|
|
366
|
+
"type": "string",
|
|
367
|
+
"enum": ["passthrough", "memory-aware"],
|
|
368
|
+
"description": "How assemble() manages context. 'passthrough' returns messages unchanged. 'memory-aware' queries Sulcus for relevant memories, injects a memory index, and compresses stored content when over budget. Default: passthrough.",
|
|
369
|
+
"default": "passthrough"
|
|
370
|
+
},
|
|
371
|
+
"compactMode": {
|
|
372
|
+
"type": "string",
|
|
373
|
+
"enum": ["smart", "delegate"],
|
|
374
|
+
"description": "How compact() handles compaction. 'smart' queries Sulcus for stored memories and enriches the compaction LLM with context about what's already recallable (avoids re-summarizing durable content). 'delegate' passes through to built-in runtime unchanged. Both fall back to delegation on error. Default: smart.",
|
|
375
|
+
"default": "smart"
|
|
376
|
+
},
|
|
377
|
+
"compactFallback": {
|
|
378
|
+
"type": "string",
|
|
379
|
+
"enum": ["delegate", "disabled"],
|
|
380
|
+
"description": "Fallback when Sulcus compaction fails: 'delegate' uses built-in LLM pipeline, 'disabled' skips. Default: delegate.",
|
|
381
|
+
"default": "delegate"
|
|
382
|
+
}
|
|
383
|
+
}
|
|
354
384
|
}
|
|
355
385
|
}
|
|
356
386
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digitalforgestudios/openclaw-sulcus",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.2.0",
|
|
4
4
|
"description": "Sulcus — thermodynamic memory + Apache AGE knowledge graph for OpenClaw agents. v6.0: Multi-signal recall (semantic + hot-context + entity-graph + profile), configurable guardrails (outputGuard + toolGuard), token budget enforcement, context rebuild post-compaction, sulcus.toml config layer, SIRU training data logging, session-scoped memory, batch heat-boost. SIU v2 pipeline (SIVU/SICU/SILU/SITU/SIRU). Interaction-based decay. Curator sleep-cycle. Cross-agent sync.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openclaw",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"main": "index.js",
|
|
60
60
|
"scripts": {
|
|
61
|
-
"build": "npx esbuild index.ts --bundle --platform=node --target=node18 --outfile=index.js --external:openclaw --external:koffi --format=cjs",
|
|
61
|
+
"build": "npx esbuild index.ts --bundle --platform=node --target=node18 --outfile=index.js --external:openclaw --external:koffi --external:@anthropic-ai/openclaw-plugin-sdk --format=cjs",
|
|
62
62
|
"prepublishOnly": "npm run build"
|
|
63
63
|
}
|
|
64
64
|
}
|
package/wasm/sulcus_wasm.js
CHANGED
|
File without changes
|
package/wasm/sulcus_wasm_bg.wasm
CHANGED
|
File without changes
|