core-agent-ide/codex-rs/app-server/src
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)
2026-03-10 04:11:31 +00:00
..
bin Stabilize abort task follow-up handling (#13874) 2026-03-07 22:56:00 -08:00
app_server_tracing.rs Add in-process app server and wire up exec to use it (#14005) 2026-03-08 18:43:55 -06:00
bespoke_event_handling.rs start of hooks engine (#13276) 2026-03-10 04:11:31 +00:00
codex_message_processor.rs fix(protocol): preserve legacy workspace-write semantics (#13957) 2026-03-09 18:43:27 -07:00
command_exec.rs sandboxing: plumb split sandbox policies through runtime (#13439) 2026-03-07 02:30:21 +00:00
config_api.rs [app-server] Support hot-reload user config when batch writing config. (#13839) 2026-03-08 17:38:01 -07:00
dynamic_tools.rs app-server: Replay pending item requests on thread/resume (#12560) 2026-02-27 12:45:59 -08:00
error_code.rs Enforce user input length cap (#12823) 2026-02-25 22:23:51 -08:00
external_agent_config_api.rs Support external agent config detect and import (#12660) 2026-02-25 02:11:51 -08:00
filters.rs feat: add nick name to sub-agents (#12320) 2026-02-20 14:39:49 +00:00
fuzzy_file_search.rs [app-server] add fuzzyFileSearch/sessionCompleted (#11773) 2026-02-13 15:08:14 -08:00
in_process.rs Add in-process app server and wire up exec to use it (#14005) 2026-03-08 18:43:55 -06:00
lib.rs Order websocket initialize after handshake (#13943) 2026-03-09 10:27:19 -07:00
main.rs feat: pass helper executable paths via Arg0DispatchPaths (#12719) 2026-02-24 17:44:38 -08:00
message_processor.rs fix(plugin): Also load curated plugins for TUI. (#14050) 2026-03-09 11:05:02 -07:00
models.rs Add model availability NUX metadata (#12972) 2026-02-26 22:02:57 -08:00
outgoing_message.rs Add in-process app server and wire up exec to use it (#14005) 2026-03-08 18:43:55 -06:00
server_request_error.rs app-server: Replay pending item requests on thread/resume (#12560) 2026-02-27 12:45:59 -08:00
thread_state.rs Preserve persisted thread git info in resume (#13504) 2026-03-04 17:16:43 -08:00
thread_status.rs app-server: Silence thread status changes caused by thread being created (#13079) 2026-03-03 00:52:28 +00:00
transport.rs codex-rs/app-server: add health endpoints for --listen websocket server (#13782) 2026-03-09 22:11:30 +00:00