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-28 15:50:45 +00:00
2026-06-25 18:15:48 -07:00
2026-07-28 05:17:25 +00:00
2026-07-29 17:38:20 +00:00
2026-07-23 01:00:35 +00:00
2026-07-08 14:13:59 -07:00
2026-07-09 00:17:38 +00:00
2026-07-22 16:30:12 +00:00
2026-07-24 04:37:01 +00:00
2026-07-08 00:15:49 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-27 02:16:11 +00:00
2026-05-28 14:54:39 -07:00
2026-07-06 10:17:15 -07:00
2026-07-28 16:57:17 +00:00
2026-07-30 16:44:18 +00:00
2026-07-22 16:30:12 +00:00
2026-07-15 05:21:13 +00:00
2026-07-08 00:15:49 +00:00
2026-07-14 01:49:16 +00:00
2026-06-27 19:34:10 +00:00
2026-07-31 11:23:46 +00:00
2026-07-30 10:01:06 +00:00
2026-07-31 23:51:33 +00:00
2026-07-22 16:30:12 +00:00
2026-07-29 02:45:55 +00:00
2026-07-31 16:17:44 +00:00
2026-07-08 00:15:49 +00:00
2026-07-22 20:23:35 +00:00
2026-07-22 16:30:12 +00:00
2026-07-15 20:59:21 +00:00
2026-07-30 05:53:21 +00:00
2026-07-22 16:30:12 +00:00
2026-07-23 15:32:36 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-29 17:38:20 +00:00
2026-07-31 17:18:08 +00:00
2026-07-28 05:17:25 +00:00
2026-07-30 01:37:41 +00:00
2026-07-23 19:19:35 +00:00
2026-07-31 23:08:55 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-28 03:33:31 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-29 17:38:20 +00:00
2026-07-29 01:16:29 +00:00
2026-07-23 21:06:37 +00:00
2026-08-01 00:17:45 +00:00
2026-07-29 01:16:29 +00:00
2026-07-22 16:30:12 +00:00
2026-07-08 00:15:49 +00:00
2026-07-22 16:30:12 +00:00
2026-07-30 21:49:53 +00:00
2026-07-31 23:51:33 +00:00
2026-07-28 22:53:33 +00:00
2026-07-29 22:00:20 +00:00
2026-07-31 19:08:45 +00:00
2026-07-22 16:30:12 +00:00
2026-08-01 00:38:10 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-17 15:45:48 +00:00
2026-07-30 21:12:41 +00:00
2026-07-22 16:30:12 +00:00
2026-07-23 13:11:16 +00:00
2026-07-30 16:44:18 +00:00
2026-07-23 23:18:06 +00:00
2026-07-23 23:18:06 +00:00
2026-07-28 05:26:16 +00:00
2026-07-22 16:30:12 +00:00
2026-07-29 18:37:22 +00:00
2026-07-22 16:30:12 +00:00
2026-07-23 19:19:35 +00:00
2026-07-29 18:37:22 +00:00
2026-05-12 18:40:53 -07:00
2026-07-28 05:26:16 +00:00
2026-07-31 20:49:08 +00:00
2026-07-22 16:30:12 +00:00
2026-07-31 19:08:45 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-29 18:37:22 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-22 16:30:12 +00:00
2026-07-31 20:34:41 +00:00
2026-07-22 16:30:12 +00:00
2026-07-23 00:02:15 +00:00
2026-07-08 00:15:49 +00:00