dsh-agent-browser-core
v0.1.2
Published
Host-agnostic TypeScript driver over the agent-browser CLI/JSON daemon protocol: daemon lifecycle, typed batch calls, refs, sessions, live viewport streams.
Maintainers
Readme
dsh-agent-browser-core
Daemon driver for agent-browser used by dsh-agent-browser. Speaks the CLI/JSON protocol directly (no MCP hop): typed calls with timeouts and kill escalation, batch steps, snapshot refs, screenshots, the WebSocket frame stream (ack pacing, reconnect budget, sidecar port discovery), a session registry with an idle reaper, and runtime domain-grant merging for allowlisted navigation.
Most users install the plugin package instead and never touch this directly.
Binary resolution
The agent-browser binary is resolved in this order:
- explicit
binaryPathconfig AGENT_BROWSER_BINenvironment variableagent-browseronPATH- the pinned
agent-browsernpm dependency bundled with this package
Environment
Spawned daemons inherit a scrubbed environment; allowlists ride as
AGENT_BROWSER_ALLOWED_DOMAINS (config + interactive grants merged).
License
MIT
