SIGN IN SIGN UP

Add codex permission-mode plumbing and full-yolo approval policy

Plumb an explicit permissionMode through handleCodexCommand into
runCodex via new --permission-mode and --yolo flags, and seed the
session's currentPermissionMode / dangerouslySkipPermissions from it.

Map yolo and bypassPermissions to the 'never' approval policy (was
'on-failure') so full-yolo sessions never interrupt for approvals.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
K
Kirill Dubovitskiy committed
812f4e1bc3c4b01829224ea3cb406beb9da3d8cd
Parent: 21c6ced