Eric Traut
73db60e71f
Use app-server state for TUI Windows sandbox decisions ( #45821 )
...
## Why
Windows sandbox setup and permission choices need to reflect the connected app server's requirements and the active thread's executors.
## What changed
- Refresh sandbox configuration and requirements for the current working directory when threads or directories change, before setup, and after setup completes.
- Use the thread's observed environments to determine whether sandbox setup is local, remote, mixed, or unknown.
- Defer initial prompt submission while requirements load and preserve the draft if loading fails or required setup is unavailable.
- Hide sandbox setup choices and elevation commands that requirements or executor selection disallow.
## Testing
Add coverage for observed thread hosts, app-server configuration reads, draft preservation and recovery after read failures, deferred initial prompts, and non-admin-only setup choices.
GitOrigin-RevId: d85ac66d18951b752e71d1a6bf25404eeedcad02
2026-09-16 01:01:26 +00:00
..
2026-09-15 19:19:50 +00:00
2026-09-16 01:01:26 +00:00
2026-09-02 04:06:44 +00:00
2026-09-16 00:21:49 +00:00
2026-08-31 00:20:06 +00:00
2026-09-15 19:19:50 +00:00
2026-09-16 01:01:26 +00:00
2026-09-14 16:15:34 +00:00
2026-09-11 17:43:36 +00:00
2026-09-06 17:27:44 +00:00
2026-08-25 20:51:34 +00:00
2026-09-16 00:21:49 +00:00
2026-08-17 16:34:21 +00:00
2026-08-29 06:05:28 +00:00
2026-09-13 18:53:06 +00:00
2026-09-13 18:53:06 +00:00
2026-09-15 05:44:41 +00:00
2026-09-11 07:13:19 +00:00
2026-09-08 03:15:37 +00:00
2026-08-17 16:58:24 +00:00
2026-09-03 01:46:37 +00:00
2026-09-11 16:20:50 +00:00
2026-09-07 04:59:12 +00:00
2026-09-15 19:13:32 +00:00
2026-09-09 03:17:48 +00:00
2026-09-02 18:03:55 +00:00
2026-09-15 05:44:41 +00:00
2026-08-24 20:04:52 +00:00
2026-08-25 12:20:41 +00:00
2026-09-16 00:12:59 +00:00
2026-09-03 16:21:10 +00:00
2026-09-15 19:19:50 +00:00
2026-09-15 19:19:50 +00:00
2026-09-15 19:01:41 +00:00
2026-09-07 20:25:30 +00:00
2026-09-08 05:39:17 +00:00
2026-09-08 05:39:17 +00:00
2026-09-16 01:01:26 +00:00
2026-07-22 23:45:45 +00:00
2026-06-15 19:25:54 -07:00
2026-09-03 01:26:35 +00:00
2026-09-16 00:21:49 +00:00
2026-09-16 01:01:26 +00:00
2026-08-26 21:39:05 +00:00
2026-09-04 01:46:55 +00:00
2026-09-04 01:46:55 +00:00
2026-09-14 15:30:22 +00:00
2026-08-31 00:20:06 +00:00
2026-09-02 21:50:51 +00:00
2026-08-04 16:53:33 +00:00
2026-09-16 01:01:26 +00:00
2026-08-18 00:31:51 +00:00
2026-09-14 16:15:34 +00:00
2026-09-04 20:38:08 +00:00
2026-09-04 20:38:08 +00:00
2026-06-01 18:01:52 +02:00
2026-09-03 00:45:48 +00:00
2026-09-11 06:44:40 +00:00
2026-09-12 00:20:30 +00:00
2026-09-08 19:06:42 +00:00
2026-09-11 17:43:36 +00:00
2026-09-02 04:20:38 +00:00
2026-09-03 01:26:35 +00:00
2026-09-04 03:30:21 +00:00
2026-09-04 03:30:21 +00:00
2026-09-10 21:41:39 +00:00
2026-04-30 10:52:19 -07:00
2026-09-01 17:37:47 +00:00
2026-08-31 21:36:49 +00:00
2026-09-02 04:20:38 +00:00
2026-09-15 21:19:08 +00:00
2026-09-04 04:55:40 +00:00
2026-09-04 04:55:40 +00:00
2026-09-03 16:21:10 +00:00
2026-09-03 16:21:10 +00:00
2026-09-10 00:57:33 +00:00
2026-09-10 00:57:33 +00:00
2026-08-04 16:53:33 +00:00
2026-09-04 00:31:51 +00:00
2026-07-29 03:50:00 +00:00
2026-06-12 17:14:27 -07:00
2026-05-09 21:17:30 +00:00
2026-05-01 09:39:48 -07:00
2026-09-12 23:54:20 +00:00
2026-09-03 16:21:10 +00:00
2026-09-08 03:15:37 +00:00
2026-09-13 16:14:41 +00:00
2026-09-10 06:06:21 +00:00
2026-09-13 18:53:06 +00:00
2026-09-16 01:01:26 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-08-24 21:39:48 +00:00
2026-09-13 00:01:05 +00:00
2026-09-10 22:55:04 +00:00
2026-09-05 20:39:46 +00:00
2026-09-11 00:59:27 +00:00
2026-09-11 00:59:27 +00:00
2026-09-04 00:31:51 +00:00
2026-09-15 05:44:41 +00:00
2026-09-12 23:54:20 +00:00
2026-06-08 17:02:36 -07:00
2026-09-15 05:44:41 +00:00
2026-08-27 23:10:10 +00:00
2026-09-03 00:45:48 +00:00
2026-08-25 20:51:34 +00:00
2026-08-17 17:10:16 +00:00
2026-08-25 10:17:03 +00:00
2026-09-07 00:56:16 +00:00
2026-09-07 00:56:16 +00:00
2026-04-25 17:09:29 -07:00
2026-08-14 20:30:30 +00:00
2026-09-15 19:01:41 +00:00
2026-09-03 05:24:31 +00:00
2026-09-07 03:19:57 +00:00
2026-04-25 22:00:32 -03:00
2026-09-11 16:20:50 +00:00
2026-09-15 21:19:08 +00:00
2026-09-02 22:45:19 +00:00
2026-09-11 16:20:50 +00:00
2026-07-29 13:53:15 +00:00
2026-09-02 04:20:38 +00:00
2026-09-07 00:56:16 +00:00
2026-09-07 00:56:16 +00:00
2026-09-04 20:38:08 +00:00
2026-08-25 17:17:01 +00:00
2026-08-17 22:44:37 +00:00
2026-09-07 00:56:16 +00:00
2026-09-07 04:59:12 +00:00
2026-09-11 03:10:55 +00:00
2026-09-11 03:10:55 +00:00
2026-09-16 00:21:49 +00:00
2026-08-17 17:10:16 +00:00
2026-07-20 15:44:37 +00:00
2026-09-11 23:28:38 +00:00
2026-09-06 07:31:40 +00:00
2026-09-10 22:55:04 +00:00
2026-06-10 11:24:29 -07:00
2026-09-02 04:20:38 +00:00
2026-09-10 23:25:10 +00:00
2026-08-14 20:38:52 +00:00
2026-08-14 20:38:52 +00:00
2026-09-08 21:41:02 +00:00
2026-09-06 17:27:44 +00:00
2026-09-08 21:41:02 +00:00
2026-09-08 21:41:02 +00:00
2026-09-10 22:55:04 +00:00
2026-05-10 20:42:11 +00:00
2026-08-24 02:46:56 +00:00
2026-09-03 06:02:25 +00:00
2026-09-02 02:09:35 +00:00
2026-09-12 20:22:47 +00:00
2026-08-25 22:05:48 +00:00
2026-09-08 03:15:37 +00:00
2026-08-25 12:20:41 +00:00
2026-08-25 12:20:41 +00:00
2026-06-05 17:23:45 -07:00
2026-08-13 00:30:08 +00:00
2026-09-11 23:28:38 +00:00
2026-07-29 14:01:31 +00:00
2026-05-26 20:59:47 -07:00
2026-09-11 16:20:50 +00:00
2026-09-11 16:20:50 +00:00
2026-09-08 03:15:37 +00:00
2026-05-08 07:56:13 -07:00
2026-09-11 21:59:01 +00:00
2026-08-04 19:05:45 +00:00
2026-09-11 17:43:36 +00:00
2026-08-15 17:30:13 +00:00
2026-09-15 19:13:08 +00:00
2026-07-06 16:33:13 -04:00
2026-09-11 03:10:55 +00:00
2026-09-11 03:10:55 +00:00
2026-09-01 15:12:53 +00:00
2026-08-25 20:51:34 +00:00
2026-09-07 23:52:29 +00:00
2026-06-12 09:26:08 -07:00
2026-06-12 09:26:08 -07:00
2026-09-01 15:12:53 +00:00
2026-08-30 00:42:00 +00:00
2026-07-29 14:01:31 +00:00
2026-09-16 00:21:49 +00:00
2026-09-16 01:01:26 +00:00
2026-06-11 18:16:39 -07:00
2026-06-22 04:25:07 -07:00
2026-06-22 04:25:07 -07:00
2026-09-08 23:37:26 +00:00
2026-09-05 18:06:26 +00:00
2026-09-05 18:06:26 +00:00
2026-07-29 14:01:31 +00:00