@clawos-dev/clawd 0.2.64-beta.103.774930b → 0.2.64-beta.105.5ecd0a6

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 +9 -0
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -22239,6 +22239,11 @@ var SessionManager = class {
22239
22239
  }
22240
22240
  // ---- 命令方法:均返回 { response, broadcast[] },由 dispatcher 聚合 ----
22241
22241
  create(args) {
22242
+ this.deps.logger?.warn("[spawn-cwd-debug] manager.create entry", {
22243
+ argsOwnerPersonaId: args.ownerPersonaId,
22244
+ argsCwd: args.cwd,
22245
+ personaRoot: this.deps.personaRoot
22246
+ });
22242
22247
  let cwd;
22243
22248
  if (args.ownerPersonaId) {
22244
22249
  cwd = derivePersonaSpawnCwd(
@@ -22252,8 +22257,12 @@ var SessionManager = class {
22252
22257
  },
22253
22258
  this.deps.personaRoot
22254
22259
  );
22260
+ this.deps.logger?.warn("[spawn-cwd-debug] derived persona cwd", { derivedCwd: cwd });
22255
22261
  } else if (args.cwd) {
22256
22262
  cwd = args.cwd;
22263
+ this.deps.logger?.warn("[spawn-cwd-debug] using args.cwd (no ownerPersonaId)", {
22264
+ cwd
22265
+ });
22257
22266
  } else {
22258
22267
  throw new ClawdError(ERROR_CODES.INVALID_CWD, "cwd required when ownerPersonaId is absent");
22259
22268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clawos-dev/clawd",
3
- "version": "0.2.64-beta.103.774930b",
3
+ "version": "0.2.64-beta.105.5ecd0a6",
4
4
  "description": "Standalone clawd daemon — Claude Code (and future Codex) session server over WebSocket",
5
5
  "type": "module",
6
6
  "license": "MIT",