Files
codex/codex-rs/tui/src
T
Andrei Eternal 244b2d53f4 start of hooks engine (#13276)
(Experimental)

This PR adds a first MVP for hooks, with SessionStart and Stop

The core design is:

- hooks live in a dedicated engine under codex-rs/hooks
- each hook type has its own event-specific file
- hook execution is synchronous and blocks normal turn progression while
running
- matching hooks run in parallel, then their results are aggregated into
a normalized HookRunSummary

On the AppServer side, hooks are exposed as operational metadata rather
than transcript-native items:

- new live notifications: hook/started, hook/completed
- persisted/replayed hook results live on Turn.hookRuns
- we intentionally did not add hook-specific ThreadItem variants

Hooks messages are not persisted, they remain ephemeral. The context
changes they add are (they get appended to the user's prompt)
244b2d53f4 ยท 2026-03-10 04:11:31 +00:00
History
..
2026-03-10 04:11:31 +00:00
2026-02-26 11:34:14 -08:00
2026-03-02 20:29:33 -08:00
2026-03-10 04:11:31 +00:00
2026-02-24 14:17:01 -08:00
2025-09-15 00:42:53 -07:00
2026-02-21 22:06:56 -08:00
2026-03-07 03:48:36 -08:00
2025-08-05 04:23:22 +00:00
2025-12-18 10:59:53 -08:00
2026-02-21 22:06:56 -08:00
2026-02-21 22:06:56 -08:00
2025-09-30 00:10:04 +00:00