Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
chrome-cdp
command
Command chrome-cdp drives the user's local Chrome over CDP.
|
Command chrome-cdp drives the user's local Chrome over CDP. |
|
internal
|
|
|
browser
Package browser holds the connection-layer logic for reaching Chrome over CDP: the DevToolsActivePort reader (Path B), the endpoint resolution, the vocabulary a probe answers in (WSState), and the connection-ladder decision.
|
Package browser holds the connection-layer logic for reaching Chrome over CDP: the DevToolsActivePort reader (Path B), the endpoint resolution, the vocabulary a probe answers in (WSState), and the connection-ladder decision. |
|
chrome
Package chrome connects to Chrome over CDP (via chromedp) and exposes the Browser port the CLI commands drive.
|
Package chrome connects to Chrome over CDP (via chromedp) and exposes the Browser port the CLI commands drive. |
|
chrometest
Package chrometest provides a shared chrome.Browser test double.
|
Package chrometest provides a shared chrome.Browser test double. |
|
cli
Package cli builds chrome-cdp's cobra command tree and translates every command into the uniform result envelope + exit-code contract.
|
Package cli builds chrome-cdp's cobra command tree and translates every command into the uniform result envelope + exit-code contract. |
|
config
Package config loads optional persistent defaults from a TOML file and merges them with CHROME_CDP_* environment variables into the effective global-flag defaults.
|
Package config loads optional persistent defaults from a TOML file and merges them with CHROME_CDP_* environment variables into the effective global-flag defaults. |
|
daemon
Package daemon runs a background process that holds one CDP connection and serves Browser calls over a Unix socket.
|
Package daemon runs a background process that holds one CDP connection and serves Browser calls over a Unix socket. |
|
encode
Package encode turns captured frames into a shareable artifact: an animated GIF, a numbered PNG directory, or — when ffmpeg is on PATH — an MP4/WebM.
|
Package encode turns captured frames into a shareable artifact: an animated GIF, a numbered PNG directory, or — when ffmpeg is on PATH — an MP4/WebM. |
|
eventbuf
Package eventbuf provides the bounded, concurrency-safe ring buffers that retain the CDP events a held connection receives, per target.
|
Package eventbuf provides the bounded, concurrency-safe ring buffers that retain the CDP events a held connection receives, per target. |
|
mcp
Package mcp serves chrome-cdp's verbs to Model Context Protocol clients over stdio (RFC-0004).
|
Package mcp serves chrome-cdp's verbs to Model Context Protocol clients over stdio (RFC-0004). |
|
policy
Package policy bounds what chrome-cdp may drive: which origins it will act on, which verbs are permitted there, and which local paths may be uploaded.
|
Package policy bounds what chrome-cdp may drive: which origins it will act on, which verbs are permitted there, and which local paths may be uploaded. |
|
probetest
Package probetest builds the stub debug endpoints that RFC-0013's tests run against: a port that accepts and stalls, one that completes the WebSocket upgrade (now or later), and one with nothing listening at all.
|
Package probetest builds the stub debug endpoints that RFC-0013's tests run against: a port that accepts and stalls, one that completes the WebSocket upgrade (now or later), and one with nothing listening at all. |
|
recipe
Package recipe loads, validates, and resolves recipes: saved `session` scripts with a small header.
|
Package recipe loads, validates, and resolves recipes: saved `session` scripts with a small header. |
|
result
Package result defines chrome-cdp's uniform output envelope and the stable exit-code contract that both humans and the Claude skill depend on.
|
Package result defines chrome-cdp's uniform output envelope and the stable exit-code contract that both humans and the Claude skill depend on. |
|
state
Package state persists the sticky "current target" across CLI invocations, keyed per browser endpoint, under $XDG_STATE_HOME.
|
Package state persists the sticky "current target" across CLI invocations, keyed per browser endpoint, under $XDG_STATE_HOME. |
|
target
Package target resolves a <target> spec against the live set of Chrome tabs.
|
Package target resolves a <target> spec against the live set of Chrome tabs. |
Click to show internal directories.
Click to hide internal directories.