Owen Lin
a0fd94bde6
feat(app-server): add ThreadItem::DynamicToolCall ( #12732 )
...
Previously, clients would call `thread/start` with dynamic_tools set,
and when a model invokes a dynamic tool, it would just make the
server->client `item/tool/call` request and wait for the client's
response to complete the tool call. This works, but it doesn't have an
`item/started` or `item/completed` event.
Now we are doing this:
- [new] emit `item/started` with `DynamicToolCall` populated with the
call arguments
- send an `item/tool/call` server request
- [new] once the client responds, emit `item/completed` with
`DynamicToolCall` populated with the response.
Also, with `persistExtendedHistory: true`, dynamic tool calls are now
reconstructable in `thread/read` and `thread/resume` as
`ThreadItem::DynamicToolCall`.
2026-02-25 12:00:10 -08:00
..
2026-02-25 15:20:24 +00:00
2026-02-16 22:01:49 +00:00
2026-02-09 20:48:58 -08:00
2026-01-13 10:22:51 -08:00
2026-02-25 11:46:37 -05:00
2026-02-20 23:19:29 -08:00
2026-02-24 16:11:38 -08:00
2026-02-23 15:37:12 +00:00
2026-02-03 02:52:26 +00:00
2026-02-25 01:23:10 -08:00
2026-02-25 18:06:17 +00:00
2026-02-24 19:33:32 -08:00
2026-02-25 12:00:10 -08:00
2026-02-25 03:35:28 +00:00
2026-02-25 01:23:10 -08:00
2026-02-25 10:17:22 +00:00
2026-02-24 09:48:57 -08:00
2026-02-25 12:00:10 -08:00
2026-02-25 03:35:28 +00:00
2026-02-23 21:55:49 -08:00
2026-02-12 14:10:30 -08:00
2026-02-21 14:40:24 -08:00
2026-02-18 09:27:04 -08:00
2026-02-10 16:12:31 +00:00
2026-02-25 19:17:38 +00:00
2026-02-25 09:51:42 +00:00
2026-02-19 11:32:10 +00:00
2026-02-25 11:46:37 -05:00
2026-02-10 11:46:40 -08:00
2026-02-17 20:15:54 +00:00
2026-02-20 23:13:08 -08:00
2026-02-20 23:13:08 -08:00
2026-02-20 12:05:21 -08:00
2025-11-04 17:44:02 -08:00
2026-02-18 23:21:32 -08:00
2026-01-08 21:48:30 -08:00
2026-02-19 09:56:20 -08:00
2026-02-14 04:18:12 +00:00
2026-02-07 02:39:52 +00:00
2026-02-03 11:31:12 -08:00
2026-02-24 09:48:57 -08:00
2026-02-24 12:13:20 -08:00
2026-02-25 02:11:51 -08:00
2026-02-25 09:44:52 -08:00
2026-02-18 18:28:34 +00:00
2025-09-24 14:29:51 -07:00
2026-01-08 15:07:30 +00:00
2026-02-13 12:48:29 -08:00
2026-02-11 18:31:14 -08:00
2026-02-25 13:27:58 +00:00
2026-02-20 17:35:07 -08:00
2026-02-23 21:55:49 -08:00
2026-02-10 10:10:24 +00:00
2026-02-24 17:15:54 -08:00
2026-01-07 17:04:53 +00:00
2026-02-10 09:38:00 -08:00
2026-02-23 21:37:46 -08:00
2026-02-23 21:37:46 -08:00
2026-01-30 22:20:02 -08:00
2026-01-18 19:22:28 -08:00
2026-02-20 14:39:49 +00:00
2026-02-24 12:55:48 -08:00
2026-02-23 14:39:07 -08:00
2025-11-28 11:34:57 +00:00
2025-12-02 11:26:27 +00:00
2026-02-19 11:41:49 -08:00
2026-02-14 19:00:01 +00:00
2026-02-12 23:30:22 +00:00
2026-02-10 07:44:21 +00:00
2026-02-14 01:43:44 +00:00
2026-02-17 23:56:35 -08:00
2026-02-24 12:30:26 -08:00
2026-02-19 11:32:10 +00:00
2026-02-10 17:03:46 -08:00
2026-02-24 21:00:19 +00:00
2026-02-21 20:08:02 -08:00
2026-02-10 07:44:21 +00:00
2026-02-25 09:59:41 +00:00
2026-02-25 13:48:40 +00:00
2026-01-20 16:17:38 -08:00
2026-02-23 22:35:51 -08:00
2025-11-20 11:04:11 -08:00
2026-02-25 09:51:42 +00:00
2026-02-09 20:48:58 -08:00
2026-02-09 12:42:20 -08:00
2025-09-22 17:16:02 +00:00
2026-02-14 19:00:01 +00:00
2026-02-03 02:52:26 +00:00
2026-02-05 01:52:12 +00:00
2026-01-30 16:37:56 -08:00
2026-02-12 12:48:36 -08:00
2026-02-18 13:03:16 -08:00