@remnic/plugin-openclaw 1.0.25 → 1.0.27

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "openclaw-remnic",
3
3
  "name": "Remnic OpenClaw Plugin",
4
- "version": "1.0.25",
4
+ "version": "1.0.27",
5
5
  "kind": "memory",
6
6
  "description": "Local semantic memory for OpenClaw. Requires plugins.slots.memory set to this plugin id for hooks to fire.",
7
7
  "setup": {
@@ -50,6 +50,34 @@
50
50
  "beforeReset": true
51
51
  },
52
52
  "contracts": {
53
+ "commands": [
54
+ "remnic"
55
+ ],
56
+ "hooks": [
57
+ "before_prompt_build",
58
+ "before_agent_start",
59
+ "agent_end",
60
+ "before_compaction",
61
+ "after_compaction",
62
+ "before_reset",
63
+ "session_start",
64
+ "session_end",
65
+ "before_tool_call",
66
+ "after_tool_call",
67
+ "llm_output",
68
+ "subagent_spawning",
69
+ "subagent_ended",
70
+ "commands.list"
71
+ ],
72
+ "memoryCapabilities": [
73
+ "openclaw-remnic"
74
+ ],
75
+ "memoryPromptSections": [
76
+ "engram-memory"
77
+ ],
78
+ "services": [
79
+ "openclaw-remnic"
80
+ ],
53
81
  "tools": [
54
82
  "compounding_promote_candidate",
55
83
  "compounding_weekly_synthesize",
@@ -1688,14 +1716,25 @@
1688
1716
  "authToken": {
1689
1717
  "description": "Bearer token for the local Remnic HTTP API. Either a literal string (supports ${ENV_VAR} expansion) or an OpenClaw SecretRef object (e.g. {\"source\":\"exec\",\"provider\":\"kc_openclaw_remnic_token\",\"id\":\"value\"}) resolved at startup via the OpenClaw gateway secret resolver (issue #757). If omitted, OPENCLAW_REMNIC_ACCESS_TOKEN / OPENCLAW_ENGRAM_ACCESS_TOKEN is used.",
1690
1718
  "anyOf": [
1691
- { "type": "string" },
1719
+ {
1720
+ "type": "string"
1721
+ },
1692
1722
  {
1693
1723
  "type": "object",
1694
- "required": ["source"],
1724
+ "required": [
1725
+ "source"
1726
+ ],
1695
1727
  "properties": {
1696
- "source": { "type": "string", "minLength": 1 },
1697
- "provider": { "type": "string" },
1698
- "id": { "type": "string" },
1728
+ "source": {
1729
+ "type": "string",
1730
+ "minLength": 1
1731
+ },
1732
+ "provider": {
1733
+ "type": "string"
1734
+ },
1735
+ "id": {
1736
+ "type": "string"
1737
+ },
1699
1738
  "command": {}
1700
1739
  }
1701
1740
  }
@@ -2525,8 +2564,14 @@
2525
2564
  },
2526
2565
  "patternReinforcementCategories": {
2527
2566
  "type": "array",
2528
- "items": { "type": "string" },
2529
- "default": ["preference", "fact", "decision"],
2567
+ "items": {
2568
+ "type": "string"
2569
+ },
2570
+ "default": [
2571
+ "preference",
2572
+ "fact",
2573
+ "decision"
2574
+ ],
2530
2575
  "description": "Memory categories the pattern-reinforcement job considers. Skips procedural memories so it stays disjoint from procedural mining. Default: preference, fact, decision."
2531
2576
  },
2532
2577
  "reinforcementRecallBoostEnabled": {
@@ -2853,12 +2898,12 @@
2853
2898
  },
2854
2899
  "modelSource": {
2855
2900
  "type": "string",
2856
- "enum": [
2857
- "plugin",
2858
- "gateway"
2859
- ],
2860
- "default": "gateway",
2861
- "description": "LLM source: 'gateway' delegates to a gateway agent's model chain (agents.list[]); 'plugin' uses Engram's own openai/localLlm config."
2901
+ "enum": [
2902
+ "plugin",
2903
+ "gateway"
2904
+ ],
2905
+ "default": "gateway",
2906
+ "description": "LLM source: 'gateway' delegates to a gateway agent's model chain (agents.list[]); 'plugin' uses Engram's own openai/localLlm config."
2862
2907
  },
2863
2908
  "gatewayAgentId": {
2864
2909
  "type": "string",
@@ -5647,5 +5692,21 @@
5647
5692
  "advanced": true,
5648
5693
  "help": "Promote stored reasoning_trace memories to the top of recall results when the incoming query reads like a problem-solving ask. Default off; enable after benchmarking (issue #564)."
5649
5694
  }
5695
+ },
5696
+ "commandAliases": [
5697
+ {
5698
+ "name": "remnic",
5699
+ "kind": "runtime-slash",
5700
+ "cliCommand": "remnic"
5701
+ }
5702
+ ],
5703
+ "activation": {
5704
+ "onCommands": [
5705
+ "remnic"
5706
+ ],
5707
+ "onCapabilities": [
5708
+ "tool",
5709
+ "hook"
5710
+ ]
5650
5711
  }
5651
5712
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remnic/plugin-openclaw",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "description": "OpenClaw adapter for Remnic memory — thin wrapper delegating to @remnic/core",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",