Abhinav
16d85e2708
Add subagent identity to hook inputs ( #22882 )
...
# What
When a normal hook fires inside a thread-spawned subagent, Codex now
includes these optional top-level fields in the hook input:
- `agent_id`: the child thread id
- `agent_type`: the subagent role
Root-agent hook inputs omit these fields. `SubagentStart` and
`SubagentStop` keep their existing required `agent_id` and `agent_type`
fields because those events are inherently subagent-scoped.
This does not change matcher behavior. Tool hooks still match on tool
name, compact hooks still match on trigger, and `UserPromptSubmit` still
ignores matchers. Only `SubagentStart` and `SubagentStop` match on
`agent_type`.
2026-05-21 14:54:01 -07:00
..
2026-05-13 16:43:25 +00:00
2026-05-18 18:48:35 -07:00
2026-03-27 19:00:44 -07:00
2026-05-20 15:57:50 -07:00
2026-05-14 12:40:01 -07:00
2026-05-19 11:03:47 -07:00
2026-05-19 19:46:17 +02:00
2026-05-21 16:45:27 +02:00
2026-05-21 11:13:23 +02:00
2026-05-18 19:56:00 -07:00
2026-05-21 17:19:54 +02:00
2026-05-14 16:15:56 -07:00
2026-05-19 15:04:35 +02:00
2026-05-18 18:48:35 -07:00
2026-05-19 15:04:35 +02:00
2026-05-18 21:03:51 -07:00
2026-05-19 10:19:46 +00:00
2026-05-14 18:04:26 -07:00
2026-05-18 19:56:00 -07:00
2026-04-28 17:05:53 -07:00
2026-05-18 18:48:35 -07:00
2026-05-14 12:40:01 -07:00
2026-05-21 17:19:54 +02:00
2026-05-21 19:15:18 +00:00
2026-05-18 19:56:00 -07:00
2026-05-18 19:56:00 -07:00
2026-05-18 19:56:00 -07:00
2026-05-14 12:59:56 -07:00
2026-05-18 19:56:00 -07:00
2026-05-15 15:26:21 +02:00
2026-05-18 21:03:51 -07:00
2026-05-20 15:57:50 -07:00
2026-05-18 21:03:51 -07:00
2026-05-20 15:57:50 -07:00
2026-05-18 19:56:00 -07:00
2026-05-15 01:26:50 +00:00
2026-05-18 18:48:35 -07:00
2026-05-18 21:03:51 -07:00
2026-05-18 19:56:00 -07:00
2026-05-18 21:03:51 -07:00
2026-05-15 15:04:04 -07:00
2026-05-20 15:57:50 -07:00
2026-05-18 18:48:35 -07:00
2026-05-20 15:07:35 -07:00
2026-05-06 22:48:29 -07:00
2026-05-18 18:48:35 -07:00
2026-05-18 18:48:35 -07:00
2026-05-18 19:56:00 -07:00
2026-05-20 15:57:50 -07:00
2026-05-18 18:48:35 -07:00
2026-05-18 19:56:00 -07:00
2026-05-18 19:56:00 -07:00
2026-05-19 14:45:37 -07:00
2026-05-18 19:56:00 -07:00
2026-05-19 19:46:17 +02:00
2026-05-18 21:54:36 +00:00
2026-05-18 21:03:51 -07:00
2026-05-18 21:03:51 -07:00
2026-05-21 17:19:54 +02:00
2026-05-13 00:28:15 +00:00
2026-05-18 19:56:00 -07:00
2026-05-21 17:19:54 +02:00
2026-05-14 16:15:56 -07:00
2026-05-18 09:57:54 -07:00
2026-05-18 19:56:00 -07:00
2026-05-18 19:56:00 -07:00
2026-05-18 19:56:00 -07:00
2026-05-20 15:57:50 -07:00
2026-05-21 17:19:54 +02:00
2026-05-18 18:48:35 -07:00
2026-05-18 18:48:35 -07:00
2026-05-21 14:54:01 -07:00
2026-05-18 19:56:00 -07:00
2026-05-18 19:56:00 -07:00
2026-05-19 11:03:47 -07:00
2026-05-21 17:19:54 +02:00
2026-03-11 12:33:09 -07:00
2026-05-19 20:48:37 -07:00
2026-05-06 22:48:29 -07:00
2026-05-18 18:48:35 -07:00
2026-05-18 19:56:00 -07:00
2026-05-20 15:57:50 -07:00
2026-04-28 23:01:40 +00:00
2026-05-18 19:56:00 -07:00
2026-05-18 18:48:35 -07:00
2026-05-20 14:52:38 -07:00