richardopenai
c9b4267c37
Expose agent tree IDs and environment removal ( #60190 )
...
## What changed
- Add `CodexThread::agent_tree_id()` to identify a loaded agent tree. The root and native children share an ID; loading a new tree produces a new ID even when reusing a persisted thread ID.
- Add `EnvironmentManager::remove_environment()` to unregister an environment while preserving existing handles and the default environment ID.
## Testing
Extend tests to check tree IDs across child creation, forks, warm reuse, and cold reloads, and to verify environment removal and re-registration.
GitOrigin-RevId: 43944ed6766374508d9862cd5d333bc4cb67c338
2026-11-08 02:27:59 +00:00
..
2026-11-05 22:03:55 +00:00
2026-11-06 00:37:27 +00:00
2026-10-29 23:56:17 +00:00
2026-11-02 20:36:39 +00:00
2026-11-05 22:03:55 +00:00
2026-08-15 03:00:35 +00:00
2026-11-05 04:25:19 +00:00
2026-11-05 17:56:59 +00:00
2026-11-06 00:37:27 +00:00
2026-07-21 08:59:41 +00:00
2026-10-19 17:02:20 +00:00
2026-10-13 18:15:50 +00:00
2026-09-23 22:20:34 +00:00
2026-09-03 20:01:07 +00:00
2026-10-09 19:22:21 +00:00
2026-09-22 21:07:20 +00:00
2026-09-22 21:07:20 +00:00
2026-08-20 18:48:17 +00:00
2026-11-05 22:03:55 +00:00
2026-10-26 19:03:08 +00:00
2026-10-09 23:28:38 +00:00
2026-09-04 23:06:00 +00:00
2026-11-02 21:09:09 +00:00
2026-11-05 22:03:55 +00:00
2026-10-30 05:30:20 +00:00
2026-10-15 00:00:57 +00:00
2026-10-05 18:54:17 +00:00
2026-10-05 18:54:17 +00:00
2026-10-07 00:29:04 +00:00
2026-10-07 00:29:04 +00:00
2026-10-05 18:54:17 +00:00
2026-06-17 17:20:53 -07:00
2026-06-17 17:20:53 -07:00
2026-10-05 18:54:17 +00:00
2026-11-08 02:27:59 +00:00
2026-10-02 03:31:52 +00:00
2026-10-02 04:25:52 +00:00
2026-09-02 21:58:58 +00:00
2026-08-18 18:15:21 +00:00
2026-10-02 04:25:52 +00:00
2026-10-02 04:25:52 +00:00
2026-10-09 11:08:24 +00:00
2026-11-05 00:30:20 +00:00
2026-11-05 04:25:19 +00:00
2026-08-20 08:10:08 +00:00
2026-09-30 18:18:03 +00:00
2026-10-02 04:25:52 +00:00
2026-10-16 04:42:32 +00:00
2026-11-02 21:09:09 +00:00
2026-07-25 16:03:00 +00:00
2026-07-25 16:03:00 +00:00
2026-11-05 22:03:55 +00:00
2026-11-05 22:03:55 +00:00
2026-10-22 01:54:51 +00:00
2026-11-07 02:46:41 +00:00
2026-09-23 22:10:28 +00:00
2026-09-13 06:07:03 +00:00
2026-08-18 13:36:16 +00:00
2026-10-02 04:25:52 +00:00
2026-11-05 01:54:03 +00:00
2026-06-15 17:39:00 -07:00
2026-10-06 23:07:25 +00:00
2026-10-06 23:07:25 +00:00
2026-11-05 22:03:55 +00:00
2026-10-01 00:43:55 +00:00
2026-10-29 23:56:17 +00:00
2026-10-29 23:56:17 +00:00
2026-07-30 19:23:33 +00:00
2026-11-05 22:03:55 +00:00
2026-07-20 13:45:29 +00:00
2026-09-04 23:06:00 +00:00
2026-09-29 18:34:48 +00:00
2026-09-22 21:07:20 +00:00
2026-09-22 21:07:20 +00:00
2026-09-23 22:10:28 +00:00
2026-10-29 08:51:18 +00:00
2026-10-07 00:29:04 +00:00
2026-10-29 23:56:17 +00:00
2026-10-02 04:25:52 +00:00
2026-10-29 23:56:17 +00:00
2026-10-07 21:52:43 +00:00
2026-09-26 23:17:41 +00:00
2026-10-15 22:25:58 +00:00
2026-09-25 12:23:15 +00:00
2026-09-25 12:23:15 +00:00
2026-10-01 00:48:08 +00:00
2026-10-15 22:25:58 +00:00
2026-10-15 22:25:58 +00:00
2026-11-02 21:09:09 +00:00
2026-06-25 13:42:40 -07:00
2026-08-17 20:36:10 +00:00
2026-07-01 14:15:34 -07:00
2026-07-01 14:15:34 -07:00