@rallycry/conveyor-agent 8.7.0 → 8.8.1

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.
@@ -626,6 +626,17 @@ async function writeHookSettings(dir) {
626
626
  await writeFile(helperPath, HOOK_HELPER_SOURCE, "utf8");
627
627
  await chmod(helperPath, 493);
628
628
  const settings = {
629
+ // Pre-accept Claude Code's "Bypass Permissions mode" disclaimer. Build-capable
630
+ // spawns pass `--dangerously-skip-permissions`; on a real PTY the CLI otherwise
631
+ // parks on the interactive "Yes, I accept / No, exit" dialog whose default focus
632
+ // is "No, exit" — so it cannot be auto-dismissed by an Enter nudge and the run
633
+ // stalls until the auto-nudge watchdog shuts it down. The CLI reads this key
634
+ // from the `--settings` (flagSettings) layer via its bypass-mode gate, so
635
+ // setting it here suppresses the dialog deterministically on every spawn —
636
+ // independent of the `bypassPermissionsModeAccepted` seed in credentials.ts,
637
+ // which the CLI's one-time migration consumes and which is subject to
638
+ // persistence races on the codespace user-home.
639
+ skipDangerousModePermissionPrompt: true,
629
640
  // Auto-approve tool calls so the interactive (PTY) agent never stops to
630
641
  // prompt the viewer. This only suppresses per-tool approval prompts — it
631
642
  // does NOT relax the planning gate: in discovery/plan mode the spawn passes
@@ -1430,4 +1441,4 @@ export {
1430
1441
  createHarness,
1431
1442
  createServiceLogger
1432
1443
  };
1433
- //# sourceMappingURL=chunk-6B545CHM.js.map
1444
+ //# sourceMappingURL=chunk-EOGZOS2H.js.map