internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2026 License: MIT

Directories

Path Synopsis
Package act performs actions on page elements the way a person would: it scrolls the target into view, waits for its box to stop moving, verifies with a hit test that nothing covers it, lets the pre-action hook run (the Cockpit's ghost cursor), dispatches trusted CDP input, and then waits for the page to settle.
Package act performs actions on page elements the way a person would: it scrolls the target into view, waits for its box to stop moving, verifies with a hit test that nothing covers it, lets the pre-action hook run (the Cockpit's ghost cursor), dispatches trusted CDP input, and then waits for the page to settle.
Package activity is the tiny contract between the action engine and whoever wants to watch it (the Cockpit, recorders, tests).
Package activity is the tiny contract between the action engine and whoever wants to watch it (the Cockpit, recorders, tests).
Package brand holds the few brand colors Go itself paints (captions burned into GIF/MP4 exports).
Package brand holds the few brand colors Go itself paints (captions burned into GIF/MP4 exports).
Package browser launches and owns Daisybell's managed Chrome for Testing.
Package browser launches and owns Daisybell's managed Chrome for Testing.
install
Package install downloads, verifies and installs the pinned Chrome for Testing build that Daisybell drives.
Package install downloads, verifies and installs the pinned Chrome for Testing build that Daisybell drives.
profile
Package profile owns Daisybell's browser profile directories and guarantees that at most one Daisybell process uses a profile at a time.
Package profile owns Daisybell's browser profile directories and guarantees that at most one Daisybell process uses a profile at a time.
Package cdp is Daisybell's minimal Chrome DevTools Protocol client.
Package cdp is Daisybell's minimal Chrome DevTools Protocol client.
Package cli parses Daisybell's command line and dispatches subcommands: serve (the MCP server, default) and the human-facing setup, doctor, uninstall, recordings, install-browser, version.
Package cli parses Daisybell's command line and dispatches subcommands: serve (the MCP server, default) and the human-facing setup, doctor, uninstall, recordings, install-browser, version.
Package cockpit is the server side of Daisybell's Cockpit: a local WebSocket hub that the extension (side panel + page overlay) connects to, the pause / take-over state machine, the inbox of human messages piggybacked on tool responses, and the pre-action hook that animates the ghost cursor before real input fires.
Package cockpit is the server side of Daisybell's Cockpit: a local WebSocket hub that the extension (side panel + page overlay) connects to, the pause / take-over state machine, the inbox of human messages piggybacked on tool responses, and the pre-action hook that animates the ghost cursor before real input fires.
Package credential is Daisybell's one credential detector (SPEC invariant 7, docs/work/04).
Package credential is Daisybell's one credential detector (SPEC invariant 7, docs/work/04).
Package flows turns a successful run into a reusable, parametrized flow and replays it.
Package flows turns a successful run into a reusable, parametrized flow and replays it.
Package guard keeps the human in charge of what matters (SPEC §2, invariants 6–8): a pure risk classifier for actions, credential-field detection, prompt-injection heuristics for page text, blocker detection (CAPTCHA, login walls, 2FA), allowed-host globs, and the approval gate that asks the human (Cockpit and/or MCP elicitation, first answer wins) before risky input fires.
Package guard keeps the human in charge of what matters (SPEC §2, invariants 6–8): a pure risk classifier for actions, credential-field detection, prompt-injection heuristics for page text, blocker detection (CAPTCHA, login walls, 2FA), allowed-host globs, and the approval gate that asks the human (Cockpit and/or MCP elicitation, first answer wins) before risky input fires.
Package locale reads the human's language from the environment.
Package locale reads the human's language from the environment.
Package mapstore keeps the learned site maps (internal/sitemap) on disk: one JSON file per host in a per-profile directory (~/.daisybell/maps/<profile>/<host>.json), private to the user (0700 directory, 0600 files), written atomically.
Package mapstore keeps the learned site maps (internal/sitemap) on disk: one JSON file per host in a per-profile directory (~/.daisybell/maps/<profile>/<host>.json), private to the user (0700 directory, 0600 files), written atomically.
Package mock keeps the fake responses the AI set up with the mock tool (debug group): rules matched by URL glob and method, newest first, each answering with a status and body or a network failure, optionally after a delay and only a number of times.
Package mock keeps the fake responses the AI set up with the mock tool (debug group): rules matched by URL glob and method, newest first, each answering with a status and body or a network failure, optionally after a delay and only a number of times.
Package observe keeps what a tab did on the network and in the console, fed with decoded CDP events.
Package observe keeps what a tab did on the network and in the console, fed with decoded CDP events.
Package paths resolves Daisybell's on-disk layout.
Package paths resolves Daisybell's on-disk layout.
Package perceive turns a page into a compact, model-friendly outline: landmarks, headings and interactive elements with stable refs (e12).
Package perceive turns a page into a compact, model-friendly outline: landmarks, headings and interactive elements with stable refs (e12).
Package quality holds the pure logic of Daisybell's quality gate: the thresholds file (.quality/thresholds.yaml), the committed token baseline (.quality/token-baseline.json) and the mutation reports with their accepted survivors (.quality/mutation-exclusions.yaml).
Package quality holds the pure logic of Daisybell's quality gate: the thresholds file (.quality/thresholds.yaml), the committed token baseline (.quality/token-baseline.json) and the mutation reports with their accepted survivors (.quality/mutation-exclusions.yaml).
Package record keeps a replayable record of each Daisybell session: a timeline of what the AI did (events.jsonl: actions with their why, target box and cursor path, approvals, handoffs, human take-overs) plus pictures (a thumbnail per action by default, a 5-8 fps screencast on demand), and exports it as a self-contained HTML replay, a GIF or an MP4.
Package record keeps a replayable record of each Daisybell session: a timeline of what the AI did (events.jsonl: actions with their why, target box and cursor path, approvals, handoffs, human take-overs) plus pictures (a thumbnail per action by default, a 5-8 fps screencast on demand), and exports it as a self-contained HTML replay, a GIF or an MP4.
Package retouch keeps Retouches: CSS that changes how one site looks, only in Daisybell's managed browser.
Package retouch keeps Retouches: CSS that changes how one site looks, only in Daisybell's managed browser.
Package server wires the MCP server (stdio) to the browser manager, the tool handlers and the Cockpit.
Package server wires the MCP server (stdio) to the browser manager, the tool handlers and the Cockpit.
Package short keeps text short for the model and the human: clipping and counted nouns.
Package short keeps text short for the model and the human: clipping and counted nouns.
Package sitemap is the learned site map (docs/work/12): Daisybell learns a site's structure from clicks that actually happened, with no crawler.
Package sitemap is the learned site map (docs/work/12): Daisybell learns a site's structure from clicks that actually happened, with no crawler.
Package storagestate keeps the login state of a browser profile (cookies, and the localStorage of the origins it visited) as one JSON file, ~/.daisybell/sessions/<name>.json, mode 0600, so flows can run later without a window (--session <name>).
Package storagestate keeps the login state of a browser profile (cookies, and the localStorage of the origins it visited) as one JSON file, ~/.daisybell/sessions/<name>.json, mode 0600, so flows can run later without a window (--session <name>).
Package thirdparty recognizes requests and frames that belong to ads, analytics and other trackers rather than to the page, and tells whether two hosts are the same site.
Package thirdparty recognizes requests and frames that belong to ads, analytics and other trackers rather than to the page, and tells whether two hosts are the same site.
Package tools holds the MCP tool handlers.
Package tools holds the MCP tool handlers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL