This commit is contained in:
Javier Soto
2025-11-03 11:33:17 -08:00
parent 84a3cddc76
commit 11028280dc
16 changed files with 722 additions and 39 deletions
+2
View File
@@ -617,6 +617,8 @@ function without the extra dependencies.
On macOS, Codex now emits native Notification Center alerts by default for supported events. The CLI packages a signed notification helper and a Codex icon, so you’ll see trusted banners without needing to install `terminal-notifier`. If you prefer to take full control, or are on another platform, you can still wire up your own script via the `notify` setting described below. Providing a `notify` command overrides the built-in macOS integration.
The macOS build installs a background agent bundle at `~/.codex/bin/CodexNotifier.app`. Codex writes the notification payload to a temporary JSON file and launches the agent via `open -n ... --args --payload-file`. The agent removes the file after reading it. Set `CODEX_NOTIFIER_APP` to point at a different bundle if you maintain your own build.
Specify a program that will be executed to get notified about events generated by Codex. Note that the program will receive the notification argument as a string of JSON, e.g.:
```json