Skip to content

fix(cli): update Codex automatic approval flag - #75

Open
solarhell wants to merge 1 commit into
onevcat:masterfrom
solarhell:fix/codex-approve-for-me
Open

fix(cli): update Codex automatic approval flag#75
solarhell wants to merge 1 commit into
onevcat:masterfrom
solarhell:fix/codex-approve-for-me

Conversation

@solarhell

Copy link
Copy Markdown

Summary

  • replace the removed Codex exec --full-auto flag with --approve-for-me
  • update the CLI argument regression test and ensure the legacy flag is not emitted

Reproduction

With codex-cli 0.147.0:

  • codex exec --full-auto --help exits with code 2 and reports unexpected argument --full-auto
  • codex exec --approve-for-me --help exits successfully

Argue currently hardcodes --full-auto, so Codex participants fail before reading the task prompt.

Testing

  • npm run format:check
  • npm run lint
  • npm run ci (350 tests passed across all workspaces)

Recent Codex CLI versions no longer accept --full-auto and expose --approve-for-me instead. Use the supported flag for Codex providers and update the argument regression test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant