@aiwg/cockpit 2026.7.24 → 2026.7.25

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/README.md CHANGED
@@ -443,7 +443,8 @@ families in inventory. For each target it verifies inventory normalization,
443
443
  runtime and transport posture, session backend evidence, session create/list,
444
444
  observe attach, and a minimal provider-backed workload through a controller
445
445
  session when control is advertised. The selected provider is invoked through the
446
- attached session (`codex exec -s read-only ...`
446
+ attached session (`codex exec --skip-git-repo-check -s read-only ...`
447
+ for gate-owned non-repository workspaces,
447
448
  or `claude --print --permission-mode dontAsk --output-format text ...`) and must
448
449
  emit `AIWG_COCKPIT_LIVE_OK` and the expected discovery result (`issue-audit` by
449
450
  default). This proves a pre-authenticated agentic framework actually launched in
@@ -1409,7 +1409,11 @@ function defaultSessionLaunch(instance) {
1409
1409
  };
1410
1410
  }
1411
1411
  if (runtime === 'container' || runtime === 'docker' || runtime === 'vm' || runtime === 'qemu' || runtime === 'kvm') {
1412
- const home = runtime === 'container' || runtime === 'docker' ? '/root' : '/home/agent';
1412
+ // Prefer the executor-reported target-local cwd. Current agentic-sandbox
1413
+ // container and VM contracts report `/home/agent`; retain that value as a
1414
+ // compatibility fallback for older inventory responses. `/root` is not
1415
+ // readable by the mandatory uid 10001 container identity.
1416
+ const home = instance?.launch_context?.cwd ?? '/home/agent';
1413
1417
  return {
1414
1418
  command: '/bin/bash',
1415
1419
  args: ['-lc', `cd ${shellSingleQuote(home)} && exec /bin/bash -l`],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiwg/cockpit",
3
- "version": "2026.7.24",
3
+ "version": "2026.7.25",
4
4
  "description": "AIWG Cockpit — UX-first control plane over AIWG + multi-stack agentic sessions. Opt-in, separately published; NOT shipped in the base aiwg npm package (guarded by test/smoke/cockpit-base-footprint.test.js).",
5
5
  "type": "module",
6
6
  "license": "MIT",