mirror of
https://github.com/openai/codex.git
synced 2026-11-01 19:33:35 +00:00
## What changed - Run permission-request hooks before routing approvals to the automated reviewer or user, including when `strict_auto_review` is enabled. - Centralize approval resolution so hook, automated-reviewer, and user decisions share rejection handling and report the correct telemetry source. ## Testing - Add an integration test showing that an allow hook can approve a shell command during strict auto-review without invoking the automated reviewer. GitOrigin-RevId: 18e9d76baee6cbae9d35ae517250f2f82270a9d2
codex-protocol
This crate defines the "types" for the protocol used by Codex CLI, which includes both "internal types" for communication between codex-core and codex-tui, as well as "external types" used with codex app-server.
This crate should have minimal dependencies.
Ideally, we should avoid "material business logic" in this crate, as we can always introduce Ext-style traits to add functionality to types in other crates.