@karmaniverous/jeeves-watcher-openclaw 0.3.0 → 0.3.1

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/cli.js CHANGED
@@ -105,6 +105,22 @@ function patchConfig(config, mode) {
105
105
  Reflect.deleteProperty(entries, PLUGIN_ID);
106
106
  messages.push(`Removed "${PLUGIN_ID}" from plugins.entries`);
107
107
  }
108
+ // plugins.slots — claim or release the memory slot
109
+ if (!plugins.slots || typeof plugins.slots !== 'object') {
110
+ plugins.slots = {};
111
+ }
112
+ const slots = plugins.slots;
113
+ if (mode === 'add') {
114
+ const prev = slots.memory;
115
+ slots.memory = PLUGIN_ID;
116
+ if (prev !== PLUGIN_ID) {
117
+ messages.push(`Set plugins.slots.memory to "${PLUGIN_ID}"${prev ? ` (was "${prev}")` : ''}`);
118
+ }
119
+ }
120
+ else if (slots.memory === PLUGIN_ID) {
121
+ slots.memory = 'memory-core';
122
+ messages.push(`Reverted plugins.slots.memory to "memory-core"`);
123
+ }
108
124
  // tools.allow
109
125
  const tools = (config.tools ?? {});
110
126
  const toolAllow = patchAllowList(tools, 'allow', 'tools.allow', mode);
@@ -2,7 +2,7 @@
2
2
  "id": "jeeves-watcher-openclaw",
3
3
  "name": "Jeeves Watcher",
4
4
  "description": "Semantic search, metadata enrichment, and instance administration for a jeeves-watcher deployment.",
5
- "version": "0.3.0",
5
+ "version": "0.3.1",
6
6
  "kind": "memory",
7
7
  "skills": [
8
8
  "dist/skills/jeeves-watcher"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karmaniverous/jeeves-watcher-openclaw",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "author": "Jason Williscroft",
5
5
  "description": "OpenClaw plugin for jeeves-watcher — semantic search and metadata enrichment tools",
6
6
  "license": "BSD-3-Clause",