Chrome extension: auto-discover vavd, usable chat, page context - #28
Merged
Conversation
Discover a loopback daemon and pair without pasting localhost URLs, render sessions as an agent log, and send the current page, selection, or screenshot with a turn. Co-authored-by: Oboo Cheng <oboochin@gmail.com>
Sheets no longer intercept clicks while hidden. Page context prefers the browsing tab, skips chrome-extension URLs, and the Playwright test sends a live page through a turn. Co-authored-by: Oboo Cheng <oboochin@gmail.com>
Hello and the WebSocket live in background.js now; sidepanel.js is only the UI. Co-authored-by: Oboo Cheng <oboochin@gmail.com>
Use the official cat mark, agent-log transcript (You / Agent, no chat bubbles), desktop session rows, and implicit model/approval pickers so the thin clients read as the same workbench. Co-authored-by: Oboo Cheng <oboochin@gmail.com>
The CJS bundle has no import.meta.dirname; resolving brand icons from it at load time crashed the binary before it could print a pairing URI. Co-authored-by: Oboo Cheng <oboochin@gmail.com>
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.
The Chrome extension was a localhost paste form with a raw text log. This makes it a real thin client of
vavd, aligned with VAV Remote / the phone protocol.What changed
vavdservesGET /discoveron the loopback web bridge. Loopback clients receive the pairing secret (same threat model as~/.vavd/secret.json). The extension scans:4752–4762and connects from the service worker. No URL field, no secret paste for a local daemon. Pairing URI remains as a fallback.about:tabs are not treated as the page.Verification
http://127.0.0.1page (Install guide) into the next user message.vavdprocess test asserts/discoverreturns the loopback secret.display: gridwas overriding[hidden]).Side panel after a page-grounded turn
To show artifacts inline, enable in settings.