@alfe.ai/openclaw 0.0.36 → 0.0.38

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/plugin2.cjs CHANGED
@@ -2988,6 +2988,11 @@ var IPCClient = class extends node_events.EventEmitter {
2988
2988
  continue;
2989
2989
  }
2990
2990
  if (isIPCEvent(parsed)) {
2991
+ if (parsed.event === "plugin.replaced") {
2992
+ this.log.warn("Replaced by another process — stopping reconnection");
2993
+ this.closed = true;
2994
+ this.clearReconnectTimer();
2995
+ }
2991
2996
  this.emit("event", parsed.event, parsed.payload);
2992
2997
  continue;
2993
2998
  }
package/dist/plugin2.js CHANGED
@@ -2989,6 +2989,11 @@ var IPCClient = class extends EventEmitter {
2989
2989
  continue;
2990
2990
  }
2991
2991
  if (isIPCEvent(parsed)) {
2992
+ if (parsed.event === "plugin.replaced") {
2993
+ this.log.warn("Replaced by another process — stopping reconnection");
2994
+ this.closed = true;
2995
+ this.clearReconnectTimer();
2996
+ }
2992
2997
  this.emit("event", parsed.event, parsed.payload);
2993
2998
  continue;
2994
2999
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfe.ai/openclaw",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "description": "OpenClaw plugin for Alfe — connects to local gateway daemon via IPC for integration management",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@auriclabs/logger": "^0.1.1",
27
27
  "@sinclair/typebox": "^0.34.48",
28
- "@alfe.ai/agent-api-client": "^0.0.11",
28
+ "@alfe.ai/agent-api-client": "^0.0.13",
29
29
  "@alfe.ai/config": "^0.0.8"
30
30
  },
31
31
  "files": [