@joshuaswarren/openclaw-engram 9.3.19 → 9.3.21

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 CHANGED
@@ -16,7 +16,7 @@ For full migration details, see the [Rename Guide](https://github.com/joshuaswar
16
16
 
17
17
  ## What is Remnic?
18
18
 
19
- Remnic is persistent, private memory for AI agents. Your agents forget everything between sessions -- Remnic fixes that. All data stays on your machine as plain markdown files.
19
+ Remnic is open-source memory and context for user-aware agents. It helps agents understand preferences, projects, constraints, decisions, patterns, and definitions of good while keeping memory inspectable as plain markdown files.
20
20
 
21
21
  - **Repository**: [github.com/joshuaswarren/remnic](https://github.com/joshuaswarren/remnic)
22
22
  - **Core package**: [`@remnic/core`](https://www.npmjs.com/package/@remnic/core)
@@ -1,21 +1,10 @@
1
1
  {
2
2
  "id": "openclaw-engram",
3
3
  "name": "Remnic OpenClaw Plugin",
4
- "version": "9.3.19",
4
+ "version": "9.3.21",
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": {
8
- "providers": [
9
- {
10
- "id": "openai",
11
- "authMethods": [
12
- "api-key"
13
- ],
14
- "envVars": [
15
- "OPENAI_API_KEY"
16
- ]
17
- }
18
- ],
19
8
  "requiresRuntime": false
20
9
  },
21
10
  "providerAuthEnvVars": {
@@ -70,34 +59,6 @@
70
59
  "beforeReset": true
71
60
  },
72
61
  "contracts": {
73
- "commands": [
74
- "remnic"
75
- ],
76
- "hooks": [
77
- "before_prompt_build",
78
- "before_agent_start",
79
- "agent_end",
80
- "before_compaction",
81
- "after_compaction",
82
- "before_reset",
83
- "session_start",
84
- "session_end",
85
- "before_tool_call",
86
- "after_tool_call",
87
- "llm_output",
88
- "subagent_spawning",
89
- "subagent_ended",
90
- "commands.list"
91
- ],
92
- "memoryCapabilities": [
93
- "openclaw-engram"
94
- ],
95
- "memoryPromptSections": [
96
- "engram-memory"
97
- ],
98
- "services": [
99
- "openclaw-engram"
100
- ],
101
62
  "tools": [
102
63
  "compounding_promote_candidate",
103
64
  "compounding_weekly_synthesize",
@@ -747,7 +708,7 @@
747
708
  "commandsListEnabled": {
748
709
  "type": "boolean",
749
710
  "default": true,
750
- "description": "Advertise Remnic slash-command descriptors through the commands.list runtime surface."
711
+ "description": "Advertise Remnic slash-command descriptors through the registerCommand runtime surface."
751
712
  },
752
713
  "openclawToolsEnabled": {
753
714
  "type": "boolean",
@@ -2366,6 +2327,122 @@
2366
2327
  "minimum": 0,
2367
2328
  "description": "Maximum query-visible cues expanded by explicit cue recall."
2368
2329
  },
2330
+ "targetedFactRecallEnabled": {
2331
+ "type": "boolean",
2332
+ "default": false,
2333
+ "description": "Enable targeted fact evidence recall for direct answer questions."
2334
+ },
2335
+ "targetedFactRecallMaxChars": {
2336
+ "type": "integer",
2337
+ "default": 2400,
2338
+ "minimum": 0,
2339
+ "description": "Character budget for the targeted fact evidence recall section."
2340
+ },
2341
+ "targetedFactRecallMaxResults": {
2342
+ "type": "integer",
2343
+ "default": 48,
2344
+ "minimum": 0,
2345
+ "description": "Maximum recalled items for targeted fact evidence."
2346
+ },
2347
+ "targetedFactRecallScanWindowTurns": {
2348
+ "type": "integer",
2349
+ "default": 8,
2350
+ "minimum": 1,
2351
+ "description": "Recent-turn scan window for targeted fact evidence."
2352
+ },
2353
+ "targetedFactRecallScanWindowTokens": {
2354
+ "type": "integer",
2355
+ "default": 12000,
2356
+ "minimum": 1,
2357
+ "description": "Recent-token scan window for targeted fact evidence."
2358
+ },
2359
+ "focusedListRecallEnabled": {
2360
+ "type": "boolean",
2361
+ "default": false,
2362
+ "description": "Enable focused list evidence recall for count, relation, and recommendation questions."
2363
+ },
2364
+ "focusedListRecallMaxChars": {
2365
+ "type": "integer",
2366
+ "default": 2600,
2367
+ "minimum": 0,
2368
+ "description": "Character budget for the focused list evidence recall section."
2369
+ },
2370
+ "focusedListRecallMaxResults": {
2371
+ "type": "integer",
2372
+ "default": 40,
2373
+ "minimum": 0,
2374
+ "description": "Maximum recalled items for focused list evidence."
2375
+ },
2376
+ "focusedListRecallScanWindowTurns": {
2377
+ "type": "integer",
2378
+ "default": 64,
2379
+ "minimum": 1,
2380
+ "description": "Recent-turn scan window for focused list evidence."
2381
+ },
2382
+ "focusedListRecallScanWindowTokens": {
2383
+ "type": "integer",
2384
+ "default": 14000,
2385
+ "minimum": 1,
2386
+ "description": "Recent-token scan window for focused list evidence."
2387
+ },
2388
+ "responseGuidanceRecallEnabled": {
2389
+ "type": "boolean",
2390
+ "default": false,
2391
+ "description": "Enable response guidance recall for user answer-shape preferences."
2392
+ },
2393
+ "responseGuidanceRecallMaxChars": {
2394
+ "type": "integer",
2395
+ "default": 2400,
2396
+ "minimum": 0,
2397
+ "description": "Character budget for the response guidance recall section."
2398
+ },
2399
+ "responseGuidanceRecallMaxResults": {
2400
+ "type": "integer",
2401
+ "default": 48,
2402
+ "minimum": 0,
2403
+ "description": "Maximum recalled items for response guidance."
2404
+ },
2405
+ "responseGuidanceRecallScanWindowTurns": {
2406
+ "type": "integer",
2407
+ "default": 64,
2408
+ "minimum": 1,
2409
+ "description": "Recent-turn scan window for response guidance."
2410
+ },
2411
+ "responseGuidanceRecallScanWindowTokens": {
2412
+ "type": "integer",
2413
+ "default": 16000,
2414
+ "minimum": 1,
2415
+ "description": "Recent-token scan window for response guidance."
2416
+ },
2417
+ "eventOrderRecallEnabled": {
2418
+ "type": "boolean",
2419
+ "default": false,
2420
+ "description": "Enable event-order evidence recall for chronology questions."
2421
+ },
2422
+ "eventOrderRecallMaxChars": {
2423
+ "type": "integer",
2424
+ "default": 2400,
2425
+ "minimum": 0,
2426
+ "description": "Character budget for the event-order evidence recall section."
2427
+ },
2428
+ "eventOrderRecallMaxResults": {
2429
+ "type": "integer",
2430
+ "default": 24,
2431
+ "minimum": 0,
2432
+ "description": "Maximum recalled items for event-order evidence."
2433
+ },
2434
+ "eventOrderRecallScanWindowTurns": {
2435
+ "type": "integer",
2436
+ "default": 12,
2437
+ "minimum": 1,
2438
+ "description": "Recent-turn scan window for event-order evidence."
2439
+ },
2440
+ "eventOrderRecallScanWindowTokens": {
2441
+ "type": "integer",
2442
+ "default": 24000,
2443
+ "minimum": 1,
2444
+ "description": "Recent-token scan window for event-order evidence."
2445
+ },
2369
2446
  "queryExpansionEnabled": {
2370
2447
  "type": "boolean",
2371
2448
  "default": false,
@@ -3045,6 +3122,11 @@
3045
3122
  "default": "low",
3046
3123
  "description": "Minimum locally-scored importance level required to persist an extracted fact. Facts below this level are dropped before write and counted toward the importance_gated metric. Default \"low\" drops only trivial turn-level chatter (greetings, single-word replies); raise to \"normal\" or higher for a stricter gate."
3047
3124
  },
3125
+ "extractionTelemetryPrefilterEnabled": {
3126
+ "type": "boolean",
3127
+ "default": true,
3128
+ "description": "Skip semantic durable-memory extraction for mechanical action/state telemetry transcripts that contain no durable-memory cue. Raw transcript storage and recall still run. Disable this if you intentionally want fact extraction from action logs."
3129
+ },
3048
3130
  "extractionScopeClassificationEnabled": {
3049
3131
  "type": "boolean",
3050
3132
  "default": true,
@@ -4378,6 +4460,9 @@
4378
4460
  },
4379
4461
  "maxPatterns": {
4380
4462
  "type": "number"
4463
+ },
4464
+ "forceGeneric": {
4465
+ "type": "boolean"
4381
4466
  }
4382
4467
  },
4383
4468
  "required": [
@@ -4435,11 +4520,21 @@
4435
4520
  "default": 512,
4436
4521
  "description": "Max tokens for deterministic (non-LLM) summaries"
4437
4522
  },
4523
+ "lcmTelemetryPrefilterEnabled": {
4524
+ "type": "boolean",
4525
+ "default": true,
4526
+ "description": "Use deterministic LCM compression for mechanical action/state telemetry without durable-memory cues."
4527
+ },
4438
4528
  "lcmArchiveRetentionDays": {
4439
4529
  "type": "number",
4440
4530
  "default": 90,
4441
4531
  "description": "Days to retain archived LCM summaries"
4442
4532
  },
4533
+ "lcmObserveConcurrency": {
4534
+ "type": "number",
4535
+ "default": 1,
4536
+ "description": "Maximum independent LCM observe jobs to process concurrently."
4537
+ },
4443
4538
  "messagePartsEnabled": {
4444
4539
  "type": "boolean",
4445
4540
  "default": false,
@@ -5721,6 +5816,7 @@
5721
5816
  }
5722
5817
  ],
5723
5818
  "activation": {
5819
+ "onStartup": false,
5724
5820
  "onCommands": [
5725
5821
  "remnic"
5726
5822
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joshuaswarren/openclaw-engram",
3
- "version": "9.3.19",
3
+ "version": "9.3.21",
4
4
  "description": "Deprecated compatibility shim for Engram installs. Re-exports @remnic/plugin-openclaw and forwards engram-access to @remnic/core.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -28,14 +28,30 @@
28
28
  "plugin": "./openclaw.plugin.json",
29
29
  "extensions": [
30
30
  "./dist/index.js"
31
- ]
31
+ ],
32
+ "runtimeExtensions": [
33
+ "./dist/index.js"
34
+ ],
35
+ "compat": {
36
+ "pluginApi": ">=2026.5.16-beta.1"
37
+ },
38
+ "build": {
39
+ "openclawVersion": "2026.5.16-beta.2",
40
+ "pluginSdkVersion": "2026.5.16-beta.2"
41
+ },
42
+ "install": {
43
+ "clawhubSpec": "clawhub:@remnic/plugin-openclaw",
44
+ "npmSpec": "@joshuaswarren/openclaw-engram",
45
+ "defaultChoice": "clawhub",
46
+ "minHostVersion": ">=2026.5.16-beta.1"
47
+ }
32
48
  },
33
49
  "dependencies": {
34
- "@remnic/plugin-openclaw": "^1.0.33",
35
- "@remnic/core": "^1.1.10"
50
+ "@remnic/core": "^1.1.12",
51
+ "@remnic/plugin-openclaw": "^1.0.35"
36
52
  },
37
53
  "peerDependencies": {
38
- "openclaw": ">=2026.4.8"
54
+ "openclaw": ">=2026.5.16-beta.1"
39
55
  },
40
56
  "devDependencies": {
41
57
  "tsup": "^8.5.1",