@cfio/cohort-sync 0.15.0 → 0.16.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/dist/index.js CHANGED
@@ -11826,7 +11826,13 @@ function createClient(convexUrl) {
11826
11826
  }
11827
11827
  savedConvexUrl = convexUrl;
11828
11828
  authCircuitOpen = false;
11829
- client = new ConvexClient(convexUrl);
11829
+ const nativeWS = globalThis.WebSocket;
11830
+ delete globalThis.WebSocket;
11831
+ try {
11832
+ client = new ConvexClient(convexUrl);
11833
+ } finally {
11834
+ if (nativeWS) globalThis.WebSocket = nativeWS;
11835
+ }
11830
11836
  return client;
11831
11837
  }
11832
11838
  function getClient() {
@@ -13372,7 +13378,7 @@ function dumpCtx(ctx) {
13372
13378
  function dumpEvent(event) {
13373
13379
  return dumpCtx(event);
13374
13380
  }
13375
- var PLUGIN_VERSION = true ? "0.15.0" : "unknown";
13381
+ var PLUGIN_VERSION = true ? "0.16.0" : "unknown";
13376
13382
  function resolveGatewayToken(api) {
13377
13383
  const token = api.config?.gateway?.auth?.token;
13378
13384
  return typeof token === "string" ? token : null;
@@ -55,5 +55,5 @@
55
55
  }
56
56
  }
57
57
  },
58
- "version": "0.15.0"
58
+ "version": "0.16.0"
59
59
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cfio/cohort-sync",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "OpenClaw plugin — syncs agent telemetry, sessions, and activity to the Cohort dashboard",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cfio/cohort-sync",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "OpenClaw plugin — syncs agent telemetry, sessions, and activity to the Cohort dashboard",
5
5
  "license": "MIT",
6
6
  "homepage": "https://docs.cohort.bot/gateway",