notify: include client in legacy hook payload

This commit is contained in:
Michael Bolin
2026-02-26 17:46:45 -08:00
parent a11da86b37
commit f0249dc085
11 changed files with 266 additions and 25 deletions
+2
View File
@@ -24,6 +24,8 @@ Codex can run a notification hook when the agent finishes a turn. See the config
- https://developers.openai.com/codex/config-reference
When Codex knows which client started the turn, the legacy notify JSON payload also includes a top-level `client` field. The TUI reports `codex-tui`, and the app server reports the `clientInfo.name` value from `initialize`.
## JSON Schema
The generated JSON Schema for `config.toml` lives at `codex-rs/core/config.schema.json`.