feat: add notifications for MacOS using Applescript (#160)

yolo'ed it with codex. Let me know if this looks good to you.

https://github.com/openai/codex/issues/148

tested with:
```
npm run build:dev
```

<img width="377" alt="Screenshot 2025-04-16 at 18 12 01"
src="https://github.com/user-attachments/assets/79aa799b-b0b9-479d-84f1-bfb83d34bfb9"
/>
This commit is contained in:
kchro3
2025-04-17 16:19:26 -07:00
committed by GitHub
parent be7e3fd377
commit 0a2e416b7a
11 changed files with 73 additions and 10 deletions

View File

@@ -176,7 +176,7 @@ The hardening mechanism Codex uses depends on your OS:
| `codex -q "…"` | Noninteractive "quiet mode" | `codex -q --json "explain utils.ts"` |
| `codex completion <bash\|zsh\|fish>` | Print shell completion script | `codex completion bash` |
Key flags: `--model/-m`, `--approval-mode/-a`, and `--quiet/-q`.
Key flags: `--model/-m`, `--approval-mode/-a`, `--quiet/-q`, and `--notify`.
---
@@ -279,6 +279,7 @@ Codex looks for config files in **`~/.codex/`**.
# ~/.codex/config.yaml
model: o4-mini # Default model
fullAutoErrorMode: ask-user # or ignore-and-continue
notify: true # Enable desktop notifications for responses
```
You can also define custom instructions: