Skip to content

add & entrypoint for local -> cloud handoff#10271

Merged
harryalbert merged 12 commits intomasterfrom
harry/remote-1558-create-entrypoint-for-local-cloud-handoff
May 8, 2026
Merged

add & entrypoint for local -> cloud handoff#10271
harryalbert merged 12 commits intomasterfrom
harry/remote-1558-create-entrypoint-for-local-cloud-handoff

Conversation

@harryalbert
Copy link
Copy Markdown
Contributor

@harryalbert harryalbert commented May 6, 2026

Description

This PR adds a new & entrypoint for local -> cloud handoff. This is framed in the UI similarly to the ! input mode (and has the same semantics in terms of how it is entered and how it is exited), but with different colors and verbiage around cloud mode.

This entrypoint also works as a general cloud-mode entrypoint, as using & with no existing conversation can just kick you directly into a cloud mode run.

note: there is still some remaining work around hiding certain chips in the & state and adding in an environment creation flow, but I'll cover those in later PRs on top of this one

Screenshots / Videos

https://www.loom.com/share/06edd4ce738646b9863fe91c64571b46

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

@cla-bot cla-bot Bot added the cla-signed label May 6, 2026
Copy link
Copy Markdown
Contributor Author

harryalbert commented May 6, 2026

@harryalbert harryalbert changed the title add product and tech specs add & entrypoint for local -> cloud handoff May 6, 2026
@harryalbert harryalbert marked this pull request as ready for review May 6, 2026 22:37
@harryalbert harryalbert requested a review from zachbai May 6, 2026 22:37
@oz-for-oss
Copy link
Copy Markdown
Contributor

oz-for-oss Bot commented May 6, 2026

@harryalbert

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 /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds the & local-to-cloud handoff entrypoint, transient environment selection, slash-command auto-submit plumbing, and model/workspace state for optimistic handoff launches.

Concerns

  • The new launch request type is referenced from always-compiled APIs while the handoff module is only available with local_fs, which breaks non-local_fs/wasm builds. The same cfg mismatch also appears in other unguarded call sites such as slash-command/input launch handling.
  • Queued auto-submit handoffs can still dispatch after the user cancels the optimistic waiting state, because readiness consumes auto_submit without checking whether the pane is still actively queued.

Verdict

Found: 1 critical, 1 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

Comment thread app/src/workspace/action.rs Outdated
Comment thread app/src/terminal/view/ambient_agent/model.rs
@harryalbert harryalbert force-pushed the harry/remote-1558-create-entrypoint-for-local-cloud-handoff branch 2 times, most recently from b53e690 to 51b64cb Compare May 7, 2026 16:10
@harryalbert harryalbert force-pushed the harry/remote-1558-create-entrypoint-for-local-cloud-handoff branch from 51b64cb to 7b335cc Compare May 7, 2026 20:44
Comment thread app/src/terminal/view/ambient_agent/model.rs Outdated
Comment thread app/src/terminal/view/use_agent_footer/mod.rs Outdated
Comment thread app/src/terminal/input.rs
Comment thread app/src/terminal/input.rs Outdated
Comment thread app/src/workspace/action.rs Outdated
@harryalbert harryalbert force-pushed the harry/remote-1558-create-entrypoint-for-local-cloud-handoff branch 3 times, most recently from ce810f2 to 45d3c88 Compare May 8, 2026 14:27
@harryalbert harryalbert force-pushed the harry/remote-1558-create-entrypoint-for-local-cloud-handoff branch from 45d3c88 to a783c40 Compare May 8, 2026 16:39
@harryalbert harryalbert enabled auto-merge (squash) May 8, 2026 16:40
@harryalbert harryalbert disabled auto-merge May 8, 2026 16:40
@harryalbert harryalbert force-pushed the harry/remote-1558-create-entrypoint-for-local-cloud-handoff branch from a783c40 to ce38e56 Compare May 8, 2026 16:52
@harryalbert harryalbert enabled auto-merge (squash) May 8, 2026 16:56
@harryalbert harryalbert disabled auto-merge May 8, 2026 16:56
@harryalbert harryalbert enabled auto-merge (squash) May 8, 2026 16:56
@harryalbert harryalbert merged commit 756586f into master May 8, 2026
25 checks passed
@harryalbert harryalbert deleted the harry/remote-1558-create-entrypoint-for-local-cloud-handoff branch May 8, 2026 17:10
trungtai1805 pushed a commit to trungtai1805/warp that referenced this pull request May 9, 2026
## Description
<!-- Please remember to add your design buddy onto the PR for review, if
it contains any UI changes! -->

This PR adds a new `&` entrypoint for local -> cloud handoff. This is
framed in the UI similarly to the `!` input mode (and has the same
semantics in terms of how it is entered and how it is exited), but with
different colors and verbiage around cloud mode.

This entrypoint also works as a general cloud-mode entrypoint, as using
`&` with no existing conversation can just kick you directly into a
cloud mode run.

note: there is still some remaining work around hiding certain chips in
the `&` state and adding in an environment creation flow, but I'll cover
those in later PRs on top of this one

## Screenshots / Videos
<!-- Attach screenshots or a short video demonstrating the change, where
appropriate. Remove this section if it is not relevant to your PR. -->

https://www.loom.com/share/06edd4ce738646b9863fe91c64571b46

## Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants