@clawos-dev/clawd 0.2.213 → 0.2.214

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 +5 -6
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -52409,11 +52409,10 @@ var StateFileManager = class {
52409
52409
  };
52410
52410
 
52411
52411
  // src/discovery/source-from-env.ts
52412
- function readDaemonSourceFromEnv(env = process.env) {
52413
- const v2 = env.CLAWD_DAEMON_SOURCE;
52414
- if (typeof v2 !== "string") return void 0;
52415
- const trimmed = v2.trim();
52416
- return trimmed.length > 0 ? trimmed : void 0;
52412
+ function readSpawnedByDesktopFromEnv(env = process.env) {
52413
+ const v2 = env.CLAWD_DAEMON_SPAWNED_BY_DESKTOP;
52414
+ if (typeof v2 !== "string") return false;
52415
+ return v2.trim().length > 0;
52417
52416
  }
52418
52417
 
52419
52418
  // src/tunnel/tunnel-manager.ts
@@ -60067,7 +60066,7 @@ async function startDaemon(config) {
60067
60066
  startedAt: (/* @__PURE__ */ new Date()).toISOString(),
60068
60067
  authMode,
60069
60068
  authToken: resolvedAuthToken ?? void 0,
60070
- source: readDaemonSourceFromEnv()
60069
+ spawnedByDesktop: readSpawnedByDesktopFromEnv() || void 0
60071
60070
  };
60072
60071
  stateMgr.write(stateSnapshot);
60073
60072
  process.stdout.write(`Ready: ${url}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.213",
3
+ "version": "0.2.214",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",