Skip to content

An agentic browser harness: an AI side panel & orb in your own logged-in Chrome, Edge, Arc, Brave or even Firefox run by the agent/subscription you already use (Claude Code, Codex, Antigravity). Free, open source, no API key. Also an MCP server.

Merge branch 'feat/auto-pair'

Shahriarf8751188548f
diff --cc src/daemon/control.ts
index 72edb96,63fb48a..e857799
--- a/src/daemon/control.ts
+++ b/src/daemon/control.ts
@@@ -56,18 -63,19 +63,27 @@@ export type ControlRequest
* `android-changed` and `watch: false` lets go, so the Bridge stops looking once nobody shows phones.
* `peek` answers only what is already known, NOT_CHECKED while nobody watches.
*/
- | { id: string; op: 'android'; launch?: string; url?: string; watch?: boolean; peek?: boolean };
+ | { id: string; op: 'android'; launch?: string; url?: string; watch?: boolean; peek?: boolean }
+ /** Only the native host asks: `caller` is what the browser vouched for. `waitMs` holds the answer while ask mode waits on a person. */
+ | { id: string; op: 'grant'; installId: string; caller: string; browser?: string; extensionVersion: string; gesture?: boolean; waitMs?: number }
+ /** `watch` makes this caller an approver, sent `pair-requests-changed` whenever the list does. */
+ | { id: string; op: 'pairRequests'; watch?: boolean; as?: Approver }
+ /** `request` is a request id or an install id; an install id also lifts a block when allowed. */
+ | { id: string; op: 'decide'; request: string; allow: boolean; label?: string }
+ | { id: string; op: 'pairing'; set?: PairingMode }
+ | { id: string; op: 'blocked' }
+ | { id: string; op: 'label'; session: string; label: string };
export type ControlMessage =
- | { id: string; op: 'describe'; tools: ToolDescriptor[]; reserved?: string[]; withheld?: ToolDescriptor[] }
+ | {
+ id: string;
+ op: 'describe';
+ tools: ToolDescriptor[];
+ reserved?: string[];
+ withheld?: ToolDescriptor[];
+ onDemand?: string[];
+ delivery?: ToolDelivery;
+ }
| { id: string; op: 'status'; status: BridgeStatus }
| { id: string; op: 'invoke'; result: ActionResult }
| { id: string; op: 'working' }