Repository navigation
feat(app): show a native app window live in a split, with relink after it closes - #699
Merged
Merged
Conversation
…r it closes Agents open it with tab_live. ScreenCaptureKit frames draw natively over the pane at up to 60 fps; a closed window shows a Relink button that finds its app's current window. Why: apps/desktop/native/live.m#function ace_live_show | the live view must stay the content view's top subview; Electrobun re-stacks the webview above it on resize Why: apps/desktop/native/live.m | a closed window's SCStream stops without calling didStopWithError, so existence is polled Why: apps/app/src/panels/live.tsx#function Live | status is polled on a timer too; animation frames pause while Ace is covered
This was referenced Oct 27, 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.
Agents can open a live view of a native app window next to the chat with a new
tab_livetool (target: the window's ID fromdesktop_windows). Ace captures it with ScreenCaptureKit and draws the frames natively over the pane at up to 60 fps. Clicks fall through to the page, and the window keeps updating while Ace covers it.tab_live→ hosttab-live→ the window's layout opens alivetab, split to the right of the chat. Running it again with the same name points that tab at a new window.Not included: forwarding clicks and keys to the app. That should go through Desktop Tools' Swift host once Ace uses it.
Checked by hand in a source build (Ace-dev) with the Beats demo app:
Built in Ace
No. Built with Claude Code in a terminal, using the Desktop Tools MCP to drive Ace-dev and Beats, under time pressure for the Universe demo. Most of the work was rebuilding and relaunching Ace's own desktop shell, which an agent can't do from inside the Ace window it's replacing. Dogfooding gaps are tracked in #5.