jif
d761097734
Add session and originating window IDs to MCP request metadata ( #45409 )
...
## What changed
Include `sessionId` and the originating `windowId` alongside `threadId` and optional `itemId` in MCP request metadata. Retain the originating item and window for code-mode cells across waits and compaction, including the window when no matching history item is found.
## Testing
Extend metadata assertions for direct and nested MCP calls. Add a regression test verifying that a code-mode cell retains its original item and window IDs when it resumes after compaction.
GitOrigin-RevId: 5e3cf761f2bed4c16565334c94654496367325fd
2026-09-14 11:03:22 +00:00
..
2026-09-09 17:45:37 +00:00
2026-09-10 22:26:26 +00:00
2026-09-10 22:26:26 +00:00
2026-09-09 17:45:37 +00:00
2026-08-04 08:24:42 +00:00
2026-08-29 06:05:28 +00:00
2026-09-02 23:58:24 +00:00
2026-09-09 17:45:37 +00:00
2026-08-28 12:40:10 +00:00
2026-08-27 02:00:31 +00:00
2026-09-13 15:47:59 +00:00
2026-06-11 15:10:29 -07:00
2026-08-27 02:00:31 +00:00
2026-05-19 14:45:37 -07:00
2026-08-27 02:00:31 +00:00
2026-05-29 13:32:19 +02:00
2026-05-29 13:32:19 +02:00
2026-08-03 10:41:03 +00:00
2026-09-09 17:55:00 +00:00
2026-08-05 04:54:33 +00:00
2026-09-14 11:03:22 +00:00
2026-09-03 16:21:10 +00:00
2026-09-06 02:28:38 +00:00
2026-09-11 19:13:04 +00:00
2026-08-28 09:48:13 +00:00
2026-09-09 17:56:33 +00:00
2026-08-25 10:17:03 +00:00
2026-07-07 20:59:02 +00:00
2026-06-23 16:52:40 -07:00
2026-08-27 02:00:31 +00:00
2026-08-31 22:58:26 +00:00
2026-05-29 13:32:19 +02:00
2026-08-27 02:00:31 +00:00
2026-09-01 22:08:08 +00:00
2026-07-14 04:29:57 +00:00
2026-09-01 16:58:54 +00:00
2026-09-09 17:45:37 +00:00
2026-09-02 02:09:35 +00:00
2026-08-04 22:58:02 +00:00
2026-08-01 00:38:10 +00:00
2026-09-07 12:53:57 +00:00
2026-09-07 12:53:57 +00:00
2026-09-04 05:20:06 +00:00
2026-08-28 17:09:22 +00:00
2026-08-28 17:09:22 +00:00
2026-08-28 12:40:10 +00:00
2026-08-21 20:53:30 +00:00
2026-08-21 20:53:30 +00:00
2026-08-27 02:00:31 +00:00
2026-08-05 09:39:05 +00:00
2026-08-27 02:00:31 +00:00
2026-08-31 22:58:26 +00:00
2026-08-28 19:04:54 +00:00
2026-08-06 03:15:08 +00:00
2026-09-09 17:45:37 +00:00
2026-09-09 18:50:32 +00:00