@clawos-dev/clawd 0.2.466 → 0.2.467

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 +4 -3
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -59101,9 +59101,10 @@ var LocalWsServer = class {
59101
59101
  }
59102
59102
  return;
59103
59103
  }
59104
- } else if (frame.type === "auth") {
59104
+ }
59105
+ if (frame.type === "auth") {
59105
59106
  const token = typeof frame.token === "string" ? frame.token ?? "" : "";
59106
- if (token && this.opts.tryVerifyCapabilityToken) {
59107
+ if (token && this.opts.tryVerifyCapabilityToken && this.clients.get(client.id)?.ctx == null) {
59107
59108
  const guestCtx = this.opts.tryVerifyCapabilityToken(token);
59108
59109
  if (guestCtx) this.attachClientContext(client.id, guestCtx);
59109
59110
  }
@@ -64973,7 +64974,7 @@ function computeMethodAccess(args) {
64973
64974
  }
64974
64975
 
64975
64976
  // src/version.ts
64976
- var version = "0.2.466".length > 0 ? "0.2.466" : "dev";
64977
+ var version = "0.2.467".length > 0 ? "0.2.467" : "dev";
64977
64978
 
64978
64979
  // src/cli-probe/probe.ts
64979
64980
  var fs73 = __toESM(require("fs"), 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.466",
3
+ "version": "0.2.467",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",