@clawos-dev/clawd 0.2.302 → 0.2.303

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.
Files changed (2) hide show
  1. package/dist/cli.cjs +10 -3
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -52074,11 +52074,18 @@ function buildLarkBotHandlers(deps) {
52074
52074
  response: { type: "larkBot:status:ok", state: "unbound", groups: [] }
52075
52075
  };
52076
52076
  }
52077
+ if (cloudBinding && (cloudBinding.appId !== meta.appId || cloudBinding.botName !== meta.botName)) {
52078
+ deps.store.write(personaId2, {
52079
+ appId: cloudBinding.appId,
52080
+ botName: cloudBinding.botName,
52081
+ boundAt: now()
52082
+ });
52083
+ }
52077
52084
  const broken = cloudBinding?.status === "broken";
52078
52085
  const result = {
52079
52086
  state: broken ? "broken" : "bound",
52080
- appId: meta.appId,
52081
- botName: meta.botName,
52087
+ appId: cloudBinding?.appId ?? meta.appId,
52088
+ botName: cloudBinding?.botName ?? meta.botName,
52082
52089
  ...broken ? { brokenReason: cloudBinding?.brokenReason ?? "unknown" } : {},
52083
52090
  groups: groupsOf(personaId2)
52084
52091
  };
@@ -59262,7 +59269,7 @@ function computeMethodAccess(args) {
59262
59269
  }
59263
59270
 
59264
59271
  // src/version.ts
59265
- var version = "0.2.302".length > 0 ? "0.2.302" : "dev";
59272
+ var version = "0.2.303".length > 0 ? "0.2.303" : "dev";
59266
59273
 
59267
59274
  // src/cli-probe/probe.ts
59268
59275
  var fs56 = __toESM(require("fs"), 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.302",
3
+ "version": "0.2.303",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",