Repository navigation
Play previews and iOS simulators with the pointer and keys, and restyle both panes - #7
Merged
Merged
Conversation
The stack's thumbnail column took a strip of the pane beside the front preview. The previews behind it now pile up over the picture's bottom-right corner, three deep with a count for the rest, and fan out into a row of cards on hover. The picture-in-picture window shows a smaller pile instead of none. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Clippy disallows std::process::Command in the app. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The preview pane's Playing switch now works: clicks, left-button drags, scrolling and, while the pane has focus, keys over the picture go to the preview's source. Pages get them as DevTools input at the page's viewport; other apps' windows get them through computer_use, posted to the app's process so the window stays behind Warp and the user's pointer stays put. Windows need the Accessibility permission, asked for when Playing is turned on. WarpUI reports no right or middle drags and no key releases, so those buttons click and keys are pressed and released at once. Agents get preview_click, preview_drag, preview_scroll, preview_type and preview_key. They take pixels in the picture preview_look returns, are approved like looking, and reply with a picture of the result. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…Warp's theme Both panes' start pages share new start_page components: a heading, a framed URL field, and sections whose rows sit together on a card, with an icon tile that takes the accent on hover and an Open hint. The preview stage's floating controls, badges and pile take their colors from the theme instead of a fixed dark palette: the switch lights in the accent, Watching is muted, Playing is the accent and agents' steps use the warning color. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A release-lto build from scratch needs about 25 GB, and running out fails half an hour in. Stop up front with a clear message instead; WARPED_REQUIRED_GB overrides the estimate. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 of 4 tasks
Warped shared dev.warp.WarpOss with Warp OSS dev builds, so macOS tied Screen Recording and Accessibility grants to whichever copy it saw first and relaunched the wrong one after a grant. dev.bugthesystem.Warped also gives it its own preferences and state directory. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks
Browser and preview tools looked only at the active window, so an agent running outside Warp, or while the user was in another app, got "No Warp window is open". They now fall back to the window the user used last. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Input reaches a window only on the current desktop, while capture works anywhere, so a preview of a window on another Space looked playable but ignored every click. Playing and the agent input tools now say to move the window to this desktop instead. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A Simulator source boots the device with Baguette and streams its screen as MJPEG, so it needs no Simulator window, no Screen Recording and no Accessibility, and plays from any desktop. Pointer input becomes touches (drags as touch moves, other buttons as taps, scrolling as swipes) and keys go to the device's keyboard. The start page lists iOS simulators, and agents open one with preview_open device=<name or UDID>; simulators are approved as the Simulator app. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The badge, the control capsule and the pile floated over the picture and covered what was under them, such as a phone's home indicator. They now sit in a row under the picture, aligned on one line: the badge on the left, the capsule in the middle and a smaller pile on the right, which still fans out upward over the picture while hovered. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Background input reaches a window only after it is activated, which spends the first event it gets, so the user's first click on a freshly played window did nothing. Turning Playing on now sends a pointer move to the window's center first. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every launch reset the Finder icon by writing to the app bundle, even when no custom icon was ever set. macOS asks whether an app may modify apps when it does that, so a build it hadn't seen before (any ad-hoc Warped) stopped at that prompt on startup. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Approving an agent's request ran the waiting call from inside the pane's own action handler, while that pane can't be reached, so the first approved preview_open always failed with "The preview pane closed". Approvals in both the preview and browser agents now apply on the next turn. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A cross-site navigation moves the page to another process, and starting the screencast right after it failed with "Not attached to an active page". The screencast now starts on the blank page and survives the move, and a rate change retries once if the page is briefly detached. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Closing a tab removed it before the active index moved, and handing focus back from the page then read the active tab one past the end. Focus now returns before the tab is removed, and reading the focused page tolerates a stale index. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Native clicks and key presses into a page made WebKit change the first responder, which calls back into Warp's window. Sent while Warp was handling the agent's request, that re-entry found the app already borrowed and crashed. They now run on the main queue once the turn ends. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Headless Chromium outlives a crashed Warp, so its processes kept running and its profile stayed in the temp directory. On startup Warp now ends the Chromium of preview profiles whose Warp is no longer running and removes those profiles. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Current Homebrew refuses casks from a tap that hasn't been added. Co-Authored-By: Claude Opus 5.5 <[email protected]>
bugthesystem
marked this pull request as ready for review
October 6, 2026 13:24
This was referenced Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Frogrammer
Description
Before: the preview pane could only be watched, and the hand button was disabled ("coming next"). Extra previews took up space beside the picture. The start pages and stage used a fixed dark palette. An iOS simulator could only be shown through its own window.
After:
preview_open device=<name>.preview_click,preview_drag,preview_scroll,preview_typeandpreview_key, behind the same approval card as the other preview tools.How:
baguette inputgestures.app/src/ui_components/start_page.rs.Fixes found while testing Warped:
release_warpedchecks for free disk space first.Known limits: right and middle buttons can't drag, and keys can't be held. Pause/Stop and an agent cursor over previews are follow-ups.
Linked Issue
ready-to-specorready-to-implement.Testing
56
warp_previewtests (input mapping, DevTools and Baguette wire formats, multipart frames, tool parsing) and the app preview tests pass on macOS, and clippy is clean.Warped 0.1.4 was built with
script/macos/release_warpedand driven end to end through the MCP tools. In the recording below, an agent opens an iPhone 17 Pro headlessly, taps through Settings, opens this PR in the browser pane and clicks "Files changed"../script/runScreenshots / Videos
Full demo, 56 s (MP4): the iPhone and PR above, then an agent shopping on Trendyol, then the user denying an agent a new site.
preview_clickAgent Mode
CHANGELOG-NONE
🤖 Generated with Claude Code