Use new queued prompt UI for cloud mode#11547
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
I'm starting a first review of this pull request. You can view the conversation on Warp. I completed the review and no human review was requested for this pull request. Comment Powered by Oz |
There was a problem hiding this comment.
Overview
This PR routes Cloud Mode setup and follow-up prompts through the queued-prompts panel behind QueuedPromptsV2, including locked initial rows, cloud-status-based draining, and cloud follow-up submission routing. The attached Loom satisfies the repository requirement for visual evidence on this UI-facing change.
Concerns
- Cloud setup queueing currently captures shell-mode input because the new helper does not check that AI input is active before clearing and appending the buffer.
- Drained queued prompts can be removed and then dropped when
QueuedPromptsV2is enabled withoutHandoffCloudCloud, because the queued cloud follow-up path omits the flag gate used by manual follow-up submission.
Verdict
Found: 0 critical, 2 important, 0 suggestions
Request changes
Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).
Powered by Oz
| .as_ref(ctx) | ||
| .is_ready_for_cloud_followup_prompt() | ||
| }); | ||
| if is_ready_for_cloud_followup { |
There was a problem hiding this comment.
HandoffCloudCloud is disabled. QueuedPromptsV2 only enables queue_slash_command, so a runtime with V2 on and HandoffCloudCloud off will pop the row, emit SubmitCloudFollowup, and then submit_cloud_followup returns without sending it. Mirror the user-initiated FeatureFlag::HandoffCloudCloud.is_enabled() gate before selecting this path.
There was a problem hiding this comment.
I don't think we're ever gonna turn this feature flag off, so I'm not worried about this
| return false; | ||
| } | ||
|
|
||
| let should_queue = self |
There was a problem hiding this comment.
ai_input_model.is_ai_input_enabled(), but this path runs before shell execution, so ls can be appended as an AutoQueueToggle prompt instead of executing. Add the same AI-input guard before queueing.
There was a problem hiding this comment.
that's fine — there's no way to run a terminal command during setup anyways, so I'm not worried about this
d5e202c to
935dd4f
Compare
3650da7 to
933f22a
Compare
935dd4f to
5f4143a
Compare
2b9f553 to
7c923bb
Compare
2fc79ee to
8be80c9
Compare
7c923bb to
4a0343f
Compare
4a0343f to
e17fec3
Compare
8be80c9 to
fcaea51
Compare

Description
now that we have the new queued prompt UI in place, we can use it for cloud mode v2 setup (behind a feature flag for now).
This was the original goal with Peter's design for this panel, and it's a big level up because it allows folks to send prompts (albeit delayed prompts) while cloud mode is still starting up.
Fixes APP-4452
Testing
./script/runScreenshots / Videos
https://www.loom.com/share/4996efd3da6041ce8cb338acfd318ade
Agent Mode