Abhinav
8774229a89
Add hooks/list app-server RPC ( #19778 )
...
## Why
We need a way to list the available hooks to expose via the TUI and App
so users can view and manage their hooks
## What
- Adds `hooks/list` for one or more `cwd` values that returns discovered
hook metadata
## Stack
1. openai/codex#19705
2. This PR - openai/codex#19778
3. openai/codex#19840
4. openai/codex#19882
## Review Notes
The generated schema files account for most of the raw diff, these files
have the core change:
- `hooks/src/engine/discovery.rs` builds the inventory entries during
hook discovery while leaving runtime handlers focused on execution.
- `app-server/src/codex_message_processor.rs` wires `hooks/list` into
the app-server flow for each requested `cwd`.
- `app-server-protocol/src/protocol/v2.rs` defines the new v2
request/response payloads exposed on the wire.
### Core Changes
`core/src/plugins/manager.rs` adds `plugins_for_layer_stack(...)` so
`skills/list` and `hooks/list`can resolve plugin state for each
requested `cwd`
---------
Co-authored-by: Codex <noreply@openai.com >
2026-04-29 23:39:57 +00:00
..
2026-04-17 13:37:25 -07:00
2026-04-21 22:33:24 -07:00
2026-03-06 17:30:17 -08:00
2026-04-28 06:08:34 +00:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-03-08 17:38:01 -07:00
2026-04-22 15:45:35 -07:00
2026-04-22 21:20:09 -07:00
2026-04-21 10:08:42 -07:00
2026-04-21 10:08:42 -07:00
2026-04-21 10:08:42 -07:00
2026-04-21 10:08:42 -07:00
2026-04-21 10:08:42 -07:00
2026-04-21 10:08:42 -07:00
2026-04-22 22:24:12 -07:00
2026-03-25 02:27:00 +00:00
2026-03-25 02:27:00 +00:00
2026-04-29 00:45:24 +00:00
2026-04-17 09:34:55 +00:00
2026-04-29 00:45:24 +00:00
2026-04-11 00:23:50 -07:00
2026-04-20 10:44:03 -07:00
2026-04-07 11:22:28 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-04-13 17:46:56 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-04-07 11:22:28 -07:00
2026-03-24 15:52:13 -07:00
2026-04-07 11:22:28 -07:00
2026-04-07 11:22:28 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-04-17 13:37:25 -07:00
2026-04-24 01:53:13 +00:00
2026-04-22 20:34:15 +00:00
2026-04-28 14:17:18 -07:00
2026-04-29 23:39:57 +00:00
2026-04-29 23:39:57 +00:00
2026-04-28 14:17:18 -07:00
2026-04-21 14:13:08 +08:00
2026-04-27 13:41:27 -07:00
2026-04-27 13:41:27 -07:00
2026-04-21 14:13:08 +08:00
2026-04-06 16:27:02 -07:00
2026-04-29 19:14:53 -04:00
2026-03-27 00:27:15 -07:00
2026-04-13 20:37:11 -07:00
2026-04-13 20:37:11 -07:00
2026-04-19 23:22:49 -07:00
2026-04-19 23:22:49 -07:00
2026-04-23 13:00:46 -07:00
2026-04-23 13:00:46 -07:00
2026-04-20 19:59:36 -07:00
2026-04-06 19:17:14 -07:00
2026-03-19 15:09:59 -07:00
2026-04-11 04:39:19 +00:00
2026-04-11 04:39:19 +00:00
2026-04-07 17:55:40 -07:00
2026-04-29 01:36:19 +00:00
2026-04-29 01:36:19 +00:00
2026-04-22 22:24:12 -07:00
2026-04-17 16:47:58 -07:00
2026-03-19 15:02:45 -07:00
2026-04-17 16:47:58 -07:00
2026-04-17 16:47:58 -07:00
2026-04-17 16:47:58 -07:00
2026-04-21 18:39:07 -07:00
2026-04-17 16:47:58 -07:00
2026-03-09 12:40:25 -07:00
2026-04-27 18:48:57 -07:00
2026-04-28 23:52:14 +00:00
2026-04-22 22:24:12 -07:00
2026-04-17 21:41:57 -07:00
2026-04-17 21:41:57 -07:00
2026-03-23 12:57:40 -07:00
2026-04-14 14:26:10 -07:00
2026-04-22 10:38:19 -07:00
2026-04-22 10:38:19 -07:00
2026-04-28 06:08:34 +00:00
2026-04-28 06:08:34 +00:00
2026-04-24 20:53:41 -07:00
2026-04-24 20:53:41 -07:00
2026-04-13 16:11:05 -07:00
2026-04-13 16:11:05 -07:00
2026-04-22 06:10:09 -04:00
2026-04-22 22:24:12 -07:00
2026-04-22 22:24:12 -07:00
2026-04-22 22:24:12 -07:00
2026-03-16 21:38:07 -07:00
2026-04-07 15:43:38 -07:00
2026-03-17 15:24:37 -07:00
2026-04-14 00:13:13 -07:00
2026-04-14 00:13:13 -07:00
2026-04-28 06:08:34 +00:00
2026-04-28 06:08:34 +00:00
2026-04-22 22:24:12 -07:00
2026-03-18 23:42:40 -06:00
2026-03-18 23:42:40 -06:00
2026-04-22 22:24:12 -07:00
2026-04-28 06:08:34 +00:00
2026-04-28 06:08:34 +00:00
2026-04-17 11:49:02 -07:00
2026-04-22 22:24:12 -07:00
2026-04-22 22:24:12 -07:00
2026-04-22 22:24:12 -07:00
2026-04-22 22:24:12 -07:00
2026-04-28 06:08:34 +00:00
2026-04-22 22:24:12 -07:00
2026-04-17 18:11:47 -07:00
2026-03-08 18:07:46 -07:00