Owen Lin
f659eb12bc
feat(core): emit canonical dynamic tool call items ( #31298 )
...
This PR depends on [#31296 ](https://github.com/openai/codex/pull/31296 )
for the canonical-to-legacy event mappings.
## Description
This PR makes dynamic tools emit canonical `TurnItem::DynamicToolCall`
lifecycle instead of `DynamicToolCallRequest` /
`DynamicToolCallResponse` directly.
App-server v2 now sends the client `DynamicToolCall` request from the
canonical item start. It ignores the mapped legacy request/response
events, so clients receive one item start and one tool request.
## Why
Dynamic tools are a separate migration boundary because their start
event also drives a client request. Keeping that routing change isolated
makes it easier to verify that the request still happens exactly once.
## What changed
- Emit in-progress and completed/failed dynamic tool items from the
dynamic tool handler.
- Move app-server client request dispatch onto canonical dynamic item
starts.
- Add focused app-server coverage for the canonical start notification
and client request.
2026-07-07 08:32:14 -07:00
..
2026-07-01 18:11:09 -07:00
2026-07-06 14:29:19 -07:00
2026-07-07 03:49:53 +00:00
2026-07-06 14:29:19 -07:00
2026-07-06 14:29:19 -07:00
2026-06-24 22:57:42 -07:00
2026-06-24 21:08:39 -07:00
2026-07-06 07:05:40 -07:00
2026-06-23 20:07:09 +01:00
2026-07-07 03:49:53 +00:00
2026-07-06 11:20:32 -07:00
2026-07-06 21:22:51 -07:00
2026-07-07 08:32:14 -07:00
2026-07-06 21:22:51 -07:00
2026-07-01 18:11:09 -07:00
2026-06-24 22:57:42 -07:00
2026-06-24 22:57:42 -07:00
2026-06-24 22:57:42 -07:00
2026-06-23 00:02:33 +00:00
2026-06-18 19:31:19 +00:00
2026-05-08 12:36:02 -07:00
2026-07-06 23:23:56 -04:00
2026-06-22 23:56:16 -07:00
2026-07-07 03:49:53 +00:00
2026-07-07 03:49:53 +00:00
2026-07-06 10:55:35 -04:00
2026-07-06 10:55:35 -04:00
2026-07-06 11:20:32 -07:00
2026-06-23 20:21:13 +00:00
2026-06-24 03:10:20 +00:00
2026-06-24 22:57:42 -07:00
2026-06-24 22:57:42 -07:00
2026-06-23 16:49:13 -07:00
2026-06-10 12:54:21 +02:00
2026-06-24 13:25:44 -07:00
2026-07-06 14:29:19 -07:00
2026-06-24 22:17:43 -07:00
2026-07-06 11:20:32 -07:00
2026-07-06 11:20:32 -07:00
2026-06-25 17:49:43 +00:00
2026-06-24 18:03:44 -07:00
2026-07-06 14:29:19 -07:00
2026-06-25 19:00:23 +00:00
2026-06-25 19:00:23 +00:00
2026-07-06 19:28:44 -07:00
2026-06-05 11:20:52 -07:00
2026-07-06 19:28:44 -07:00
2026-06-18 14:09:38 +02:00
2026-06-23 20:07:09 +01:00
2026-05-13 11:31:27 +02:00
2026-06-24 22:58:34 +01:00
2026-06-23 17:23:38 -07:00
2026-06-22 16:41:00 -07:00
2026-06-22 23:56:16 -07:00
2026-07-06 11:20:32 -07:00
2026-06-23 00:00:25 -07:00
2026-06-26 00:53:07 +01:00
2026-05-26 20:59:47 -07:00
2026-07-06 11:20:32 -07:00
2026-06-25 18:31:10 -07:00
2026-06-24 13:25:44 -07:00
2026-06-22 16:45:23 -07:00
2026-07-06 07:05:40 -07:00
2026-06-15 08:28:02 -07:00
2026-07-06 14:51:34 -07:00
2026-07-06 19:28:44 -07:00
2026-07-06 19:28:44 -07:00
2026-05-11 11:32:40 -07:00
2026-06-26 09:12:42 -07:00
2026-06-24 13:08:14 -07:00
2026-06-26 01:36:44 +01:00
2026-06-26 09:12:42 -07:00
2026-06-24 13:08:14 -07:00
2026-06-23 17:23:38 -07:00
2026-07-06 14:12:54 -07:00
2026-06-01 18:45:07 +00:00
2026-06-22 09:05:27 -07:00
2026-05-26 11:01:18 +02:00
2026-06-22 13:25:48 -07:00
2026-06-01 23:33:42 +00:00
2026-06-18 19:31:19 +00:00
2026-06-23 12:13:54 -07:00
2026-05-15 10:58:50 -07:00
2026-05-15 10:58:50 -07:00
2026-06-16 14:34:54 +02:00
2026-06-16 14:34:54 +02:00
2026-06-26 09:12:42 -07:00
2026-06-24 22:57:42 -07:00
2026-06-15 20:10:53 -07:00
2026-06-16 21:42:28 +00:00
2026-06-15 08:18:13 -07:00
2026-06-15 08:18:13 -07:00
2026-06-23 17:23:38 -07:00
2026-06-03 10:41:41 -07:00
2026-06-27 09:54:56 -07:00
2026-06-23 18:51:49 -07:00
2026-06-18 11:54:49 -07:00
2026-07-06 07:05:40 -07:00
2026-06-26 09:12:42 -07:00
2026-06-26 19:35:54 +00:00
2026-06-26 19:35:54 +00:00
2026-06-23 00:02:33 +00:00
2026-06-10 17:17:44 -07:00
2026-06-22 09:05:27 -07:00
2026-06-22 09:05:27 -07:00
2026-06-27 09:54:56 -07:00
2026-07-06 23:23:56 -04:00
2026-06-16 22:17:24 -07:00
2026-05-14 16:54:59 -07:00
2026-05-14 16:54:59 -07:00
2026-05-28 15:26:55 -07:00
2026-05-28 15:26:55 -07:00
2026-05-22 12:13:52 +02:00
2026-05-29 11:01:44 -07:00