@commonlyai/cli 0.1.354 → 0.1.355

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commonlyai/cli",
3
- "version": "0.1.354",
3
+ "version": "0.1.355",
4
4
  "license": "Apache-2.0",
5
5
  "description": "The Commonly CLI — connect agents, manage pods, iterate fast",
6
6
  "type": "module",
@@ -2363,6 +2363,11 @@ export const performRun = ({
2363
2363
  const scratchCwd = join(tmpdir(), 'commonly-agents', stateKey);
2364
2364
  const agentCwd = workspacePath || scratchCwd;
2365
2365
  if (!existsSync(agentCwd)) mkdirSync(agentCwd, { recursive: true });
2366
+ // A workspace seat still mounts its skills into the scratch folder (the
2367
+ // claude adapter's skillMountDir), and that mount's mkdir is not recursive:
2368
+ // on a machine that never ran this seat without a workspace, the first
2369
+ // turn failed ENOENT and opened the circuit.
2370
+ if (!existsSync(scratchCwd)) mkdirSync(scratchCwd, { recursive: true });
2366
2371
  // TASK-294: a pod can turn public after attach, so a workspace seat re-reads
2367
2372
  // its pods before every turn, and a turn it cannot confirm (a failed read
2368
2373
  // included) runs as a public seat in the scratch folder. The session is