Repository navigation
feat: list, inspect, and navigate tabs in a dedicated browser - #163
Merged
Merged
Conversation
5 tasks
This was referenced Oct 6, 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.
First browser slice for #50; it doesn't close #50. Three tools list, navigate, and inspect tabs in a dedicated development browser on the execution host, over direct Chrome DevTools Protocol on loopback.
Wiring. A runtime-neutral
Browsercapability (packages/channel/src/browser.ts) is injected atChannel.openby the local worker, the workspaceLink/serve, and the hosted object. Pi stores the results; there is no new store.Dedicated browser only.
apps/host/src/browser.tsreadsDevToolsActivePortonly from$ACE_HOME/browserand checks the port and browser path. It never reaches personal browsers or other debugging sessions, and it doesn't launch the browser. Refusals include a macOS or Linux launch command.Exact targets. A target is the browser instance ID plus Chrome's target ID. Every call refuses a replaced browser or a closed or non-page tab before dispatch. Tabs are never chosen by URL, title, or position, and prerender targets are not listed.
browser_inspectreturns:A screenshot, deadline, or 16 MB per-command failure keeps the other evidence. Results stay under 2 MB.
browser_navigate(http/https only) runs sequentially and is unsafe to replay. Chrome's answer comes back asstarted,same_document,download(keeping the error text), orfailed, never as readiness. An uncertain dispatch or answer isunknown, and dispatch may have happened.Validation
bun typesandbun run cipass. CI passed on0ee3f53. The runtime checks exercised the same host behavior before the final wording and launch-hint edits (8ff9cd2,8f227e1, and the Linux hint), not every check on the exact final head. Detailed logs are kept privately.unknown, and the navigation still happened.Link/serveover a WebSocket. While disconnected, navigation was refused and inspection failed. After reconnecting, the same browser identity worked. A drop during navigation wasunknown.Limits
wrangler devhosted object./Users/natebutler/Downloads/x.bin. A direct-path check confirmed it was 4 bytes containingdata, and I removed it.Built in Ace
Implementation, validation, commits, and this PR were done by the native Ace channel
browser-pages, using Ace's lane, shell, file, and model tools. External Codex did read-only architecture research coordination and review, and passed notes into the channel, because Ace lacks external-harness support (#9). No code or validation ran outside Ace.