Files
ruflo/v3/@claude-flow/cli/__tests__/mods
rUvandr bdfbcc11ad feat(cli): adapt headless workers and hooks to Claude Code 2.1.295–2.1.318 (#4699)
- headless claude -p argv gets --permission-mode auto unless the caller set a
  mode or --dangerously-skip-permissions (2.1.302 starts -p in manual mode on
  third-party providers, telemetry off, or fresh installs; workers would stall).
  RUFLO_HEADLESS_PERMISSION_MODE overrides; none passes no flag.
- parse credential_expires_at from the -p JSON result (2.1.318), carry it on
  the execution result and emit 'credential-expiring' within 10 days.
- onFailure: "block" on the pre-bash safety gate in init-generated and repo
  settings (2.1.295): a gate that can't start or times out blocks instead of
  letting the command through. Older Claude Code ignores the key (checked on
  2.1.289).

Co-authored-by: r <r@x>
2026-11-04 14:33:07 -06:00
..