Alex Kira
33b3f80a09
Wire incremental exec tool updates into Code Mode sessions ( #60163 )
...
## Why
Changes to nested tools should update the model's catalog without repeating the full `functions.exec` declaration or rewriting retained context.
## What changed
Pass structured exec definitions through the tool router into the session's tool world state. Enable granular updates for Responses Lite in `CodeModeOnly` when both `IncrementalTools` and `IncrementalExecTools` are enabled.
Append changed tool definitions, namespace instructions, and removals as developer messages. Keep common exec instructions and shared types frozen until compaction, then install the latest full catalog.
## Testing
Add feature-gating coverage and a scenario snapshot covering tool additions and removals, namespace instruction changes, eager/deferred transitions, re-enabling tools, retained context, and catalog restoration after compaction.
GitOrigin-RevId: bbf850d4e5018388eeb4c09345d885d776962e09
2026-11-07 19:26:20 +00:00
..
2026-10-30 18:33:14 +00:00
2026-10-14 06:03:02 +00:00
2026-11-04 13:03:01 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-26 22:13:14 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-09-10 21:41:39 +00:00
2026-10-30 18:33:14 +00:00
2026-09-12 05:04:11 +00:00
2026-09-12 05:04:11 +00:00
2026-10-05 18:52:51 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-10-05 18:52:51 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-04 01:24:36 +00:00
2026-10-08 17:25:39 +00:00
2026-11-03 12:33:26 +00:00
2026-11-02 15:09:22 +00:00
2026-11-03 12:33:26 +00:00
2026-11-02 15:28:37 +00:00
2026-09-30 17:33:59 +00:00
2026-11-04 01:24:36 +00:00
2026-10-06 10:39:16 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-07 05:59:44 +00:00
2026-11-04 00:19:12 +00:00
2026-11-03 21:24:16 +00:00
2026-10-30 20:53:25 +00:00
2026-11-03 21:24:16 +00:00
2026-11-03 21:24:16 +00:00
2026-11-05 00:39:39 +00:00
2026-11-07 02:28:44 +00:00
2026-10-27 22:26:12 +00:00
2026-10-26 21:20:52 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-10-26 21:20:52 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-05 11:14:26 +00:00
2026-11-04 13:03:01 +00:00
2026-10-30 18:33:14 +00:00
2026-11-04 01:24:36 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-04 01:24:36 +00:00
2026-11-07 19:26:20 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-05 20:55:46 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 16:33:22 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-10-30 18:33:14 +00:00
2026-11-05 13:38:12 +00:00
2026-11-04 01:24:36 +00:00
2026-11-02 20:10:37 +00:00
2026-11-06 06:07:46 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-06 06:07:46 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 13:03:01 +00:00
2026-11-02 21:35:56 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-06 03:27:04 +00:00
2026-10-06 03:27:04 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-30 18:33:14 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-10-21 10:40:59 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-10-05 18:52:51 +00:00
2026-10-14 05:36:44 +00:00
2026-10-22 22:44:48 +00:00
2026-11-04 01:24:36 +00:00
2026-11-06 23:50:54 +00:00
2026-11-06 23:50:54 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-06 10:56:45 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-10-30 18:33:14 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-10-30 20:53:25 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 09:51:28 +00:00
2026-11-06 17:09:54 +00:00
2026-11-04 01:24:36 +00:00
2026-11-03 06:05:55 +00:00
2026-11-04 01:24:36 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-10-05 18:52:51 +00:00
2026-11-02 07:27:49 +00:00
2026-11-02 07:27:49 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-10-27 19:11:56 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 01:24:36 +00:00
2026-10-30 18:33:14 +00:00
2026-09-04 10:22:43 +00:00