daisybell

module
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

README

Daisybell

You and the AI, on the same browser.

An MCP server that gives any AI a real, visible, isolated browser,
while you watch every step, approve the risky ones and take the handlebars at any moment.

CI Works with any MCP client

Quickstart · Features · Benchmarks · Safety · How it works · Tools · FAQ · Português


Recorded from the real server at watch speed: Wikipedia, then a local test shop. Nothing is mocked; see how it's made.

Daisybell is a single Go binary. Your AI app (Claude Code, Claude Desktop, Cursor, VS Code with Copilot, Windsurf, Codex, Zed, or anything that speaks MCP) starts it, and it opens its own Chrome for Testing window with the Cockpit: a ghost cursor that shows where the AI is about to click, a caption with why, and a side panel with the plan, an activity feed, a chat box and Pause, Take over and Stop.

Why Daisybell

  • You see everything, live. Cursor, caption, plan and feed show what the AI does and why, in a browser that never touches your own profile, cookies or passwords.
  • The rules live in the server, not in the prompt. Payments, deletes, sends and account changes wait for your OK. Passwords and codes are typed by you. The AI can't talk its way past either.
  • Cheap for the AI. Nine core tools, page outlines 8 to 33 times smaller than a raw accessibility snapshot, results that only say what changed, errors that say what to do next.

Quickstart

curl -fsSL https://raw.githubusercontent.com/JonathanSantos/daisybell/main/install.sh | sh

The installer and Homebrew work from the first tagged release; until then, install from source (Other ways to install, below).

That downloads the release for your machine, verifies its SHA-256 and runs daisybell setup, which:

  1. copies the binary to ~/.daisybell/bin/daisybell (to update, run setup again),
  2. finds your AI apps and shows exactly what it will change in each config file, keeping your comments and other servers, with a backup next to each file,
  3. downloads the pinned Chrome for Testing (about 200 MB, once),
  4. offers a short usage guide for the AI (a Claude Code / Copilot skill, a Cursor rule).

Restart your AI app and ask it:

Open example.com and tell me what's there.

A browser window opens and you watch it work.

Other ways to install

Homebrew (macOS, Linux)

brew install JonathanSantos/tap/daisybell
daisybell setup

From source (Go 1.27+; the Cockpit extension is prebuilt and embedded)

go install github.com/JonathanSantos/daisybell/cmd/daisybell@latest
daisybell setup

Scripted (CI, dotfiles): daisybell setup --yes --client claude-code,cursor --no-guide. Per project instead of per user: --scope project (writes .mcp.json, .cursor/mcp.json).

By hand: any MCP client that runs a command works. The entry is just the binary:

{
  "mcpServers": {
    "daisybell": { "command": "/Users/you/.daisybell/bin/daisybell", "args": [] }
  }
}

Supported clients

App Where setup writes Project scope
Claude Code claude mcp add --scope user (or ~/.claude.json without the CLI) .mcp.json
Claude Desktop claude_desktop_config.json (macOS, Windows, Linux paths) –
Cursor ~/.cursor/mcp.json .cursor/mcp.json
VS Code (Copilot), Copilot CLI ~/.copilot/mcp-config.json (updates an existing entry in the older Code/User/mcp.json) .mcp.json
Windsurf ~/.codeium/windsurf/mcp_config.json –
Codex CLI ~/.codex/config.toml ([mcp_servers.daisybell]) –
Zed ~/.config/zed/settings.json (context_servers) –
Anything else the JSON entry above –

Every write is idempotent, keeps JSONC comments and trailing commas, keeps the args and env you added to Daisybell's entry, and leaves a .daisybell.bak copy. daisybell uninstall removes exactly what setup added.

What you get

A Cockpit you can watch

The hero above is the whole loop: the AI shares a plan, the ghost cursor glides to each target with a caption saying why, and every step lands in the activity feed with a thumbnail. Magenta is the AI, teal is you. Speed modes (watch, brisk, turbo) trade animation for pace, and animations skip themselves when you're not looking at the tab. One click (or Alt+Shift+T) and you're driving; the AI gets a summary of what you changed when you hand back.

Approvals enforced by the server

Paying, deleting, sending, publishing, account changes and file uploads are classified on the element itself (form structure, card fields, dialog text, where a link really goes, and its label) and wait for your answer in the page, in the side panel, or in your AI app's own dialog. Deny with a reason and the AI gets the reason. A "yes" in chat is never an approval. An upload names the file and the site. If Daisybell can't inspect an element, it asks instead of guessing.

Labels are read in English, Portuguese and Spanish only (word lists in internal/guard/words/, one file per language). On a page in another language the structural checks still apply, but a button like "Löschen" is not recognized by its label: use --approve all there.

A link with an ordinary href is judged by that URL, also when a script handles its click (addEventListener, a framework onClick) that Daisybell cannot see; only an onclick attribute, Rails/Turbo data-method or data-confirm and htmx verbs mark a link as scripted. So a "Delete" link whose href is a plain page does not ask; use --approve all on apps built that way.

It never types your secrets

Password, card and one-time-code fields hand off to you. The AI waits, can't see what you type, and continues when you click Hand back. Those values never reach the AI, the logs or the recordings (they are covered in every picture). CAPTCHAs and 2FA go the same way.

Talk to the AI mid-task

Type in the side panel while the AI works. The message arrives with its next tool result, so it changes course without you stopping anything.

Replays and flows

Every session is recorded as a timeline (one picture per action, secrets masked). Save replay exports a self-contained HTML player; GIF and MP4 too. Successful steps can be saved as a flow (flow_save) and replayed later by meaning, not by brittle selectors, with approvals and handoffs still applied. Details: Recording, replays and flows.

Retouches

With --tools retouch, the AI can restyle a site for you: dark mode, bigger text, a banner gone. It previews the CSS on the site and you see it at once; saving it always asks you, showing the whole CSS, the site and a warning for anything it would load from another host (a preview with such a warning is never shown, since the fetch would happen on the first paint). CSS that could hide or cover the Cockpit is refused outright.

  • Where they live: one file per site, ~/.daisybell/retouches/<host>.css. A replaced version goes to ~/.daisybell/retouches/.history/. The Cockpit applies saved retouches to that site's pages in every session, whatever tool groups the AI has.
  • Switching off and deleting: turning off a site's Retouched switch in the side panel shows its original look for this session (an AI preview never turns it back on). The AI cannot delete a retouch: to remove one for good, delete its .css file by hand.
  • Limit: a page whose Content-Security-Policy forbids inline styles blocks retouches; the tool then says nothing shows. Only the top frame is restyled.

Token-efficient perception

The AI reads compact page outlines with refs (e12), then only diffs: what appeared, what changed, what went away. Same pages, same estimate (characters ÷ 4), October 2026 (QA cycle 1):

Page Daisybell navigate Playwright MCP browser_snapshot
Wikipedia, "Daisy Bell" 502 16,766
github.com/chromedp/chromedp 969 28,363
news.ycombinator.com 1,532 12,220
Tool schemas sent with every request ≈ 1.9k (default groups) ≈ 5.5k

Benchmarks

10 real tasks, head to head with Vitral, the author's earlier browser MCP (same machine, same Chrome for Testing, one model playing the AI for both; method, raw transcripts and caveats in the report):

Vitral Daisybell
Tasks fully done (of 10) 7 + 3 partial 10
Tool calls 72 57
Response tokens (chars/4) 13,794 10,950
Summed tool latency 569 s 78.5 s
Tool errors 5 0
Tool schema + instructions (o200k tokens) 4,165 (30 tools) 2,428 (13 tools)
Payment gate in the prompt only server-side approval

Next to other browser MCPs, from each project's own documentation (open an issue if something is out of date):

Daisybell Playwright MCP Chrome DevTools MCP Browser MCP browser-use
Main use AI + human sharing one browser Browser automation for agents and tests Debugging and performance in Chrome Automating your own browser Python agent framework
Browser Its own isolated Chrome for Testing Its own (can also connect to yours) Chrome (can attach to a running one) Your Chrome, your profile Its own or yours
Human sees each step live (cursor, caption, plan, feed) Yes Visible window Visible window Your window Visible window
Approvals enforced by the server Yes – – – –
Passwords handed off to the human Yes – – – –
Pause / take over / hand back Yes – – – –
Session replay (HTML, GIF, MP4) Yes Traces and video Performance traces – GIFs
Strength we don't match Mature cross-browser engine, codegen, huge ecosystem Deep DevTools: performance traces, network, console Your real logged-in sessions Full agent loop with many LLMs

– means not a documented feature. Pick Playwright MCP for headless test automation, Chrome DevTools MCP for performance work, and Daisybell when a person should be able to watch, approve and step in.

Safety model

These are invariants enforced in code and covered by tests, not prompt suggestions:

  1. Isolated browser only. Daisybell launches its own pinned Chrome for Testing with its own profile under ~/.daisybell/. There is no mode that attaches to your browser or uses your profile, cookies or passwords. A test fails if any code path could launch another binary.
  2. No open debugging port. The browser is driven over a pipe (macOS, Linux). The Cockpit talks to the server on 127.0.0.1 with a per-launch secret.
  3. Approvals are enforced by the server. Risky actions wait for your answer; the AI can't skip the check by phrasing, and a "yes" to an ask_human question is never an approval. While an approval is open, no input from the AI reaches the page, so it can't press the card's buttons. --approve all asks for everything; turning approvals off needs an extra --unsafe-no-approvals.
  4. The AI never types secrets, nor reads them back. Password, card and one-time-code fields hand off to you. What you type in a handoff, and the values of password, card, code and CPF fields, are hidden from the AI in snapshots, page text and screenshots.
  5. You win. Pause and take-over are honored before the next action runs.
  6. Page content is untrusted. Text the AI reads is marked as page content, hidden text is left out, and text that addresses an AI is flagged so it can't pass as instructions.
  7. Optional allow-list. --allowed-hosts *.example.com,localhost:3000 blocks navigation, popups and form submissions to every other host.

Found a hole? See SECURITY.md.

How it works

flowchart LR
  AI["AI app<br>Claude Code, Cursor, Codex…"] -- "MCP over stdio" --> D["daisybell<br>(one Go binary)"]
  D -- "CDP over a pipe" --> C["Chrome for Testing<br>own profile in ~/.daisybell"]
  C --- K["Cockpit extension<br>side panel + page overlay"]
  K -- "WebSocket on 127.0.0.1<br>per-launch secret" --> D
  H(("You")) -- "watch · approve · type secrets<br>chat · take over" --> K
  D --> R[("recordings<br>flows")]
  1. The AI calls a tool (act, fill, navigate…) with a short why.
  2. The server resolves the ref, classifies the action (risky? credential field?) and, if needed, waits for you through the Cockpit or the client's own elicitation dialog.
  3. The Cockpit animates the cursor and caption, then real mouse and keyboard input is delivered.
  4. The result says only what changed, plus anything you said in the chat.

More: SPEC · Cockpit · Recording.

Tools

The AI sees a small set: core is always on; --tools adds groups (fewer tools cost fewer tokens on every request). Generated from the server itself with daisybell tools --markdown.

Tool Group What it does Parameters
act core Use one element by ref with real mouse/keyboard input. Returns the result and what changed. action, why, ref, value
ask_human core Ask the human watching; the answer comes back in this call. For choices and missing info; kind=handoff for CAPTCHAs, sign-ins, 2FA. Not for permission: risky actions ask the human by themselves. question*, kind, options
fill core Fill form fields (text, select, checkbox), then optionally click submit. Returns what changed. fields, why, submit
navigate core Open a URL, or go back/forward/reload. Returns the page outline. why*, history, url
plan core Show your plan as a checklist to the human: steps at the start, current as you go, done at the end. current, done, steps
read core Text of the main content or an element (paged), or passages matching query. For paragraphs the outline leaves out. page, query, ref
snapshot core Page outline: landmarks, headings, short texts, controls with refs (e12). Only changes after the first call. clickable/hoverable/draggable mark role-less elements that react. all, find, mode, scope
tabs core List, switch, close or open tabs. Popups attach by themselves; switch to use one. action, id, url, why
wait core Wait for text or an element to appear (or go), or a fixed time. Returns what changed. gone, ms, ref, text, timeout
flow_list flows List saved flows and their params.
flow_run flows Replay a saved flow. Steps re-find targets by meaning; approvals and handoffs still apply. Stops with the page outline if a step isn't found. name*, from, params, update
flow_save flows Save your successful steps (waits too) as a reusable flow; the human picks which typed values become params. name*, description, expect, from, params, preview, steps
screenshot dev Image of the viewport or one element. marks=true labels refs and adds the outline. hires, marks, ref
record record Session replays for the human. A timeline is always kept; export writes a replay file and returns its path. action*, format, session
console debug The tab's console messages and uncaught errors: list or clear. action, level, limit, since
emulate debug See the page as a phone or on a slow network: device, viewport, network, or action=reset. action, device, height, network, why, width
inspect debug Computed styles, box, states and aria of a ref, for layout and styling bugs. ref*, props
mock debug Fake API responses to test error and loading states: add, list (use counts), clear. Never redirects, sets cookies or returns markup; reload to see it. action, body, delayMs, fail, headers, id, method, pattern, status, times, why
network debug The tab's requests: list (filter by status, url, type), or get id for headers and bodies (secrets masked). action, body, id, limit, since, status, type, url
session session After the human logs in, save their login (cookies, localStorage) as a named session for --session runs without a window; they approve each save. Or list saved ones. Values are never shown. action, name
retouch retouch Restyle the current site for the human (dark mode, bigger text, hide a banner): preview css, then save (the human approves) or discard; list, toggle on=false shows the original. action*, css, on, why
goto map Go to a screen of this site seen before by replaying the clicks learned on the way there. Approvals still apply. screen*
map_find map Search the screens and controls learned from earlier clicks on this site, with the way from here. text

* required. Groups: core is always on; pick others with --tools (default core,flows,dev).

Prompts

Ready-made tasks your AI app shows as slash commands (served over MCP prompts/list, nothing to install; titles follow --lang). Each one tells the AI which tools to use; approvals and handoffs work as usual. test-api-failure needs --tools with debug, go-to-screen with map.

Prompt Group What it does Arguments
describe-screen (Describe the screen) core Look at a page and describe it in a few lines, without touching anything. url
fill-form (Fill a form) core Fill the form on a page with the values you give; you type passwords and codes yourself. url, data
record-flow (Record a flow) flows Do a task with you watching, then save it as a reusable flow. flow, url
run-flow (Run a flow) flows Replay a saved flow, with params; approvals and handoffs still apply. flow, data
test-api-failure (Test an API failure) debug Fake failing or slow API answers and check how the page copes (debug tools). url, data
go-to-screen (Go to a screen) map Go back to a screen of this site seen before, along the clicks learned on the way. screen

Configuration

Flags go in the args of Daisybell's entry in your AI app's config (setup keeps them when it updates the entry). Generated with daisybell flags.

Flag Default What it does
--allowed-hosts – comma-separated host globs the browser may navigate to (e.g. *.example.com,localhost:3000); empty allows all
--approve risky ask the human before: risky actions (pay, delete, send, account changes, uploads), all actions, or none
--ask-timeout 50s how long one tool call waits for the human's answer before returning "still waiting"
--browsers-dir ~/.daisybell/browsers directory holding the managed Chrome for Testing
--headless false run the browser headless (tests/CI); the default is a visible window
--lang – language of the Cockpit, approval forms and CLI: en or pt-BR (default: the browser's and the OS's)
--log-level info log level: debug, info, warn, error (logs go to stderr)
--no-cockpit false don't load the Cockpit (side panel and page overlay)
--page-lang en-US language the pages see (Accept-Language, navigator.language, dates and numbers)
--permissions – site permissions to grant, comma-separated (geolocation, notifications, camera, microphone…); every other permission prompt is denied
--profile – named browser profile under ~/.daisybell/profiles (e.g. staging); keeps its own logins (default: default)
--profile-dir – browser profile directory; prefer --profile (a directory outside ~/.daisybell gets a warning; your own browser's profile is refused)
--record timeline session recording: timeline (events and a picture per action), full (also a screencast while the AI acts) or off
--record-human false keep recording while you drive (default: recording pauses during take-over, for privacy)
--record-max 1GB disk cap for all recordings together (e.g. 500MB, 2GB); the oldest are deleted first
--session – start from a saved login (daisybell session save): a fresh profile with its cookies and localStorage, deleted on exit
--speed watch cockpit animation speed: watch, brisk or turbo
--tools core,flows,dev tool groups the AI sees: core (always), flows, dev (screenshot), record, debug (network, console, mock, emulate, inspect), session (save the human's login for --session), retouch (per-site CSS the human keeps), map (goto and map_find over the site map learned from clicks), or all; fewer tools cost fewer tokens per request
--unsafe-no-approvals false required with --approve none: you accept that the AI can pay, delete and send without asking

Everything Daisybell owns lives under ~/.daisybell (override with DAISYBELL_HOME): bin/, browsers/ (current and previous version), profiles/default (your logins in Daisybell's browser), extension/, recordings/ (last 20 sessions), flows/, sessions/, maps/. Downloads go to ~/Downloads/daisybell.

Profiles and saved sessions. --profile staging keeps a separate set of logins in ~/.daisybell/profiles/staging (staging and production side by side). A named profile already in use by another conversation fails instead of falling back. --profile-dir still takes any path, with a warning when it is outside ~/.daisybell: Daisybell writes its preferences and a list of visited sites there and clears Chrome's saved tabs on launch, so never point it at your own browser's profile. To run flows later without a window, log in once and save the login: daisybell session save shop (with no conversation open on that profile), or the session tool (--tools session; you approve each save in the Cockpit). Then start with --session shop: a fresh temporary profile with those cookies and localStorage, deleted on exit. A saved session is your login as plaintext cookies on disk in ~/.daisybell/sessions/<name>.json, readable only by you (0600); it never goes into a recording or a log, and the AI only sees counts and site names. Never commit or share it. IndexedDB and sessionStorage are not saved, so some sites ask again.

Site maps. With --tools map, every click the AI makes teaches Daisybell the way between two screens of the site, with no crawler: later, goto "order detail" replays the most reliable known way (approvals and handoffs still apply), and map_find searches what was learned. A menu link learned on one screen counts on every screen with the same menu. Maps keep structure only: URL patterns without ids or query values, the role, landmark and position of clicked controls, and hashes of names and of each screen's layout. A name stays readable only when it is the site's own vocabulary (menu, navigation and header links; buttons and headings seen on three or more screens, except buttons in the header, such as the account menu; a heading that repeats on another record of the same screen); any other screen goes by its URL template (/orders/{id}) and is found by its exact heading. Never field values, typed text, table rows or anything the credential detector flags. Known limit: people listed as navigation links (a chat app's sidebar of conversations) count as the site's vocabulary. They live per profile in ~/.daisybell/maps/<profile>/<host>.json (0600); a --profile-dir outside ~/.daisybell/profiles uses dir- plus a hash of its path.

Command What it does
daisybell setup install and connect to your AI apps (--client, --scope project, --yes, --dry-run, --no-browser)
daisybell doctor check everything; each ✗ comes with the command that fixes it (--json, --quick)
daisybell uninstall remove Daisybell from every app config (--all also deletes ~/.daisybell)
daisybell recordings list|open|clean see, replay or delete recorded sessions
daisybell session save|list|delete save the login of a profile (--profile) for --session, list or delete saved ones
daisybell map list|show|export|import|clear see a profile's site maps, share one with a team (export <host> --to file, import file) or forget one
daisybell install-browser [--from zip] download the browser, or install it from a zip you downloaded
daisybell version the version and the pinned Chrome for Testing

All human-facing output is in English or Brazilian Portuguese, following your locale or --lang.

FAQ

Does it use my Chrome, my profile or my passwords?

No, never. It runs its own Chrome for Testing with its own profile. Sites you sign into there stay signed in for the next session, and only there.

Which AI models work?

Any model in any MCP client. The Cockpit shows the client's model name on the cursor ("Claude", "GPT-5"…).

Can two AI apps use it at the same time?

Yes. The first one gets the persistent profile; the second gets a temporary one that is deleted when it exits. To keep logins in both, give each its own --profile.

Does it send data anywhere?

No. The only network traffic Daisybell itself makes is the browser download from Google's Chrome for Testing bucket (size and checksum pinned in the binary). There is no telemetry.

Windows?

Not supported yet (planned). The plan is to drive the browser over a loopback port with a per-launch token, since Windows has no equivalent of the POSIX pipe Daisybell uses elsewhere; until that lands and is tested, there is no Windows build.

Offline or behind a proxy?

HTTPS_PROXY is honored. Or download chrome-<platform>.zip for the pinned version yourself and run daisybell install-browser --from chrome-mac-arm64.zip.

How do I update?

Run the installer or daisybell setup again. With Homebrew, brew upgrade daisybell.

Why "Daisybell"?

Daisy Bell is the 1892 song about a bicycle built for two, and in 1961 an IBM mainframe at Bell Labs sang it, the first song sung by a computer. Daisybell is a browser built for two. HAL sang it in 2001 while being switched off; here the human always holds the switch.

Troubleshooting

Start with daisybell doctor. It checks the binary, the macOS quarantine flag, the browser, the Cockpit build, the profile lock, a real headless launch with the Cockpit connecting, every AI app's entry, ffmpeg (optional, for MP4) and recording disk use. Every ✗ ends with the command to run; --json is the same for scripts and bug reports.

Symptom Fix
The AI app says the server failed to start daisybell doctor; usually daisybell setup again (the entry points at a moved binary)
macOS: "cannot be opened because the developer cannot be verified" xattr -d com.apple.quarantine ~/.daisybell/bin/daisybell (setup does this for its copy)
The browser download fails HTTPS_PROXY=…, or daisybell install-browser --from <zip>
No side panel Click the Daisybell icon in the toolbar, or Alt+Shift+K
The AI keeps asking you in chat before paying It doesn't need to: the server asks you. Run setup again to install the usage guide

Logs go to stderr; add "--log-level", "debug" to the entry's args to see more in your AI app's MCP log.

Contributing

make build          # bin/daisybell
make check-fast     # vet, lint, Windows cross-vet, unit tests with -race (before every commit)
make integration    # real headless Chrome against local fixtures, with and without the Cockpit
make install-test   # install.sh → setup → doctor → uninstall in a throwaway HOME
make docs           # regenerate the tool and flag tables in both READMEs
make dist           # release archives, checksums and the Homebrew formula in dist/

See CONTRIBUTING.md. Design docs: SPEC · Cockpit · Recording · Brand · Roadmap · Demo GIFs. Engineering history: QA cycles in docs/qa, research in docs/research, benchmarks in docs/benchmark.

License

MIT © 2026 Jonathan Santos

Directories

Path Synopsis
cmd
daisybell command
Command daisybell is a local MCP server that drives a visible, isolated Chrome for Testing.
Command daisybell is a local MCP server that drives a visible, isolated Chrome for Testing.
Package extension embeds the built Cockpit extension (side panel + page overlay) so the single daisybell binary can install it into the managed browser.
Package extension embeds the built Cockpit extension (side panel + page overlay) so the single daisybell binary can install it into the managed browser.
internal
act
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.
activity
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).
brand
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).
browser
Package browser launches and owns Daisybell's managed Chrome for Testing.
Package browser launches and owns Daisybell's managed Chrome for Testing.
browser/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.
browser/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.
cdp
Package cdp is Daisybell's minimal Chrome DevTools Protocol client.
Package cdp is Daisybell's minimal Chrome DevTools Protocol client.
cli
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.
cockpit
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.
credential
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).
flows
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.
guard
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.
locale
Package locale reads the human's language from the environment.
Package locale reads the human's language from the environment.
mapstore
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.
mock
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.
observe
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.
paths
Package paths resolves Daisybell's on-disk layout.
Package paths resolves Daisybell's on-disk layout.
perceive
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).
quality
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).
record
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.
retouch
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.
server
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.
short
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.
sitemap
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.
storagestate
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>).
thirdparty
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.
tools
Package tools holds the MCP tool handlers.
Package tools holds the MCP tool handlers.
tools
gifmaker command
Command gifmaker records a macOS window and turns the frames into a small, sharp GIF, in pure Go.
Command gifmaker records a macOS window and turns the frames into a small, sharp GIF, in pure Go.
mcpbridge command
Command mcpbridge lets a shell (or a QA agent) drive Daisybell exactly like an AI client would.
Command mcpbridge lets a shell (or a QA agent) drive Daisybell exactly like an AI client would.
qualitygate command
Command qualitygate runs the mutation part of Daisybell's quality gate (make mutation, make mutation-all): gremlins on the in-scope pure packages of .quality/thresholds.yaml, then each package's score against its minimum, with the accepted survivors of .quality/mutation-exclusions.yaml left out.
Command qualitygate runs the mutation part of Daisybell's quality gate (make mutation, make mutation-all): gremlins on the in-scope pure packages of .quality/thresholds.yaml, then each package's score against its minimum, with the accepted survivors of .quality/mutation-exclusions.yaml left out.

Jump to

Keyboard shortcuts

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