Shijie Rao
e2c0837923
Make user input blocking behavior explicit ( #36410 )
...
## Why
Clients need to know whether a `request_user_input` request must wait for an
explicit response or may auto-resolve. Using `autoResolutionMs` as that signal
conflated the blocking decision with timeout policy.
## What changed
- Add required `isBlocking` fields to user input protocol and app-server
request payloads. Plan-mode requests are blocking, while requests from other
enabled modes are non-blocking.
- Drive the TUI's auto-resolution behavior from `isBlocking` and remove
`autoResolutionMs` from the model-facing tool schema.
- Deprecate `autoResolutionMs` while retaining it for compatibility, and treat
legacy payloads without `isBlocking` as blocking.
## Testing
- Cover mode-derived blocking behavior, legacy deserialization, app-server
forwarding, delegated requests, and TUI auto-resolution.
GitOrigin-RevId: 29aade657ef743065ec264376ba567a9b353d7d7
2026-08-01 00:38:10 +00:00
..
2026-07-30 10:11:46 +00:00
2026-07-06 14:29:19 -07:00
2026-07-30 20:24:29 +00:00
2026-07-31 23:51:33 +00:00
2026-07-30 10:11:46 +00:00
2026-07-31 15:40:52 +00:00
2026-07-21 09:46:00 +00:00
2026-07-22 19:43:35 +00:00
2026-07-30 16:30:32 +00:00
2026-08-01 00:38:10 +00:00
2026-07-31 17:18:08 +00:00
2026-07-31 16:05:52 +00:00
2026-08-01 00:38:10 +00:00
2026-07-30 19:23:33 +00:00
2026-07-28 23:49:37 +00:00
2026-07-15 03:27:16 +00:00
2026-07-16 18:23:43 +00:00
2026-07-16 18:23:43 +00:00
2026-07-18 00:26:24 +00:00
2026-07-20 17:36:44 +00:00
2026-07-22 21:00:01 +00:00
2026-07-22 01:35:06 +00:00
2026-07-30 04:03:33 +00:00
2026-08-01 00:38:10 +00:00
2026-08-01 00:38:10 +00:00
2026-07-31 20:17:25 +00:00
2026-07-23 19:32:26 +00:00
2026-07-22 22:50:13 +00:00
2026-07-22 22:50:13 +00:00
2026-07-30 10:11:46 +00:00
2026-07-22 22:50:13 +00:00
2026-07-30 16:44:18 +00:00
2026-07-30 16:44:18 +00:00
2026-07-30 10:11:46 +00:00
2026-07-29 17:38:20 +00:00
2026-07-23 19:24:41 +00:00
2026-07-06 11:20:32 -07:00
2026-07-06 11:20:32 -07:00
2026-07-23 19:24:41 +00:00
2026-07-18 00:26:24 +00:00
2026-07-24 01:20:04 +00:00
2026-06-25 19:00:23 +00:00
2026-06-25 19:00:23 +00:00
2026-07-21 19:17:18 +00:00
2026-07-21 19:17:18 +00:00
2026-07-20 06:13:29 +00:00
2026-07-30 16:30:32 +00:00
2026-07-30 19:23:33 +00:00
2026-07-22 02:19:45 +00:00
2026-07-17 23:14:37 +00:00
2026-07-31 20:34:41 +00:00
2026-07-31 20:34:41 +00:00
2026-07-31 20:17:25 +00:00
2026-07-29 18:06:14 +00:00
2026-08-01 00:38:10 +00:00
2026-07-30 01:37:41 +00:00
2026-08-01 00:38:10 +00:00
2026-07-31 17:24:33 +00:00
2026-07-31 17:24:33 +00:00
2026-07-23 11:27:34 +00:00
2026-07-13 22:34:16 +00:00
2026-07-06 14:51:34 -07:00
2026-07-20 13:45:29 +00:00
2026-07-30 16:44:18 +00:00
2026-07-29 18:37:22 +00:00
2026-07-28 05:26:16 +00:00
2026-07-22 19:43:35 +00:00
2026-07-31 23:51:33 +00:00
2026-07-28 21:58:33 +00:00
2026-07-23 19:32:26 +00:00
2026-07-23 19:32:26 +00:00
2026-07-23 19:19:35 +00:00
2026-07-21 19:17:18 +00:00
2026-07-21 19:17:18 +00:00
2026-07-23 18:22:41 +00:00
2026-07-22 22:50:13 +00:00
2026-07-20 08:29:12 +00:00
2026-07-20 08:29:12 +00:00
2026-07-31 17:12:10 +00:00
2026-07-31 17:24:33 +00:00
2026-07-28 23:49:37 +00:00
2026-07-28 21:58:33 +00:00
2026-07-30 20:24:29 +00:00
2026-07-30 20:24:29 +00:00
2026-07-29 15:41:39 +00:00
2026-07-29 15:41:39 +00:00
2026-07-22 02:19:45 +00:00
2026-07-22 02:19:45 +00:00
2026-07-28 21:58:33 +00:00
2026-07-28 21:58:33 +00:00
2026-07-28 23:49:37 +00:00
2026-07-25 16:06:54 +00:00
2026-07-31 20:17:25 +00:00
2026-07-20 13:45:29 +00:00
2026-07-20 13:45:29 +00:00
2026-07-21 21:06:04 +00:00
2026-07-21 21:06:04 +00:00