# Changelog All notable changes to Clawd Cursor will be documented in this file. ## [2.4.0] - 2026-12-03 ### Security - `cross-spawn` (a dependency of clipboardy and the MCP SDK) is updated to 6.0.10 / 7.1.2 for GHSA-ghv9-86vm-4v8m (command injection on Windows when spawning batch files). ### Changed - **Agents finish the steps they used to leave for the user.** A new card in the skill, the server instructions, the `pause_for_user` description and llms.txt tell the agent to read its final reply before sending it: a step it leaves for the user on this computer (open, click, go to, install, restart, check that it works) is done with clawdcursor instead. The user keeps only what only they can do (a password, a 2FA code, a CAPTCHA, the system's admin prompt, a decision that is theirs), asked for with `pause_for_user` when the agent reaches it. - When a step needs the user (macOS secure input, a dialog holding the keyboard, a locked screen), clawdcursor opens the pause card itself and returns the answer in the same result. - When the agent goes quiet, the pill says it stopped and that its message is in the chat before it hides. - The skill tells the calling agent to hand a multi-step screen task to a subagent with a precise goal and success criteria, and to take back only the result. - The package depends on `playwright-core` instead of `playwright` (clawdcursor only attaches to a running browser; the test runner was never used) and publishes only the bundled CLI and the app-guide pack: 1.26 MB instead of 1.94 MB, 41 files instead of 193. ### Fixed - **Input works again after the app restarts.** When the app the agent worked in restarted (a reinstall or a crash) and came back under a new process, every click and key was refused as "foreground changed" until the server restarted. Input now goes to the same app under its new process once the old one has exited. Another app, or a second copy of the app while the first still runs, is still refused. - **`window focus` by `processId` finds always-on-top and tool windows on Windows.** Such a window was missing from the accessibility tree's window list, so focusing it by pid failed with "Window not found". - On Windows, an idle clawdcursor server stops its PowerShell helper after 10 minutes and starts it again on the next call (about a second), so open but unused sessions no longer hold 35–140 MB each. - The Claude Code plugin starts the installed clawdcursor of its pinned version directly when one is present (global install or npx cache), instead of through npx, which kept 2–3 wrapper processes alive per session. - **The agent's browser (its own profile, never yours) now closes when the session that opened it ends.** A later start closes one whose session ended without a clean shutdown. It used to stay open until closed by hand. - The full-screen foreground glow stays up for 5 seconds after the last real input, instead of 1.5 seconds, and fades in and out (Windows and macOS), so a run that mixes background and foreground steps no longer flashes it on and off. - A reply typed on the pause card always reaches the agent: on its next tool call if it was not waiting. On Windows and macOS, typed text is also no longer lost when Resume or a choice is clicked. - **`browser` `page_context` shows what each form field holds (#500).** Text fields, selects, checkboxes, and editable elements list their value, selection or checked state (a long value is cut), and an invalid field its message; a password or card field says only `(filled)` or `(empty)`. An agent no longer reads a filled form as empty. ## [2.3.0] - 2026-11-20 ### Security - **Settings in the working directory could start a program and turn off clawdcursor's safeguards (GHSA-cx4w-xx82-f6f6, high).** A `.env` or `.clawdcursor-config.json` in the folder clawdcursor started in could name a program for the pill to start, record consent, hide the on-screen indicator, or turn guards off. Files in the working directory are no longer read. Affects 2.2.0 and earlier. ### Added - **App guides are back.** 32 guides for desktop and web apps ship in the package. When an app opens, the agent gets its essential keys in one line; `system shortcuts_list` with `context` (and `query`) reads the whole guide. ### Changed - **Confirm mode (`CLAWD_CONFIRM=1`) holds left clicks only.** A right or middle click opens a menu or a tab and is no longer held; on Linux a middle click can paste the selection. On macOS it also holds `mod+backspace` (Move to Trash). - **`window list` shows open apps, not every window title.** It lists each app's process name and pid, with a window count when an app has several windows; the title, bounds and size appear only for windows clawdcursor opened or worked in, and for one app's windows when the call names it (`processName` or `processId`). A document's title can hold private text. - **The pill says which mode the agent is in.** `running in background` (the amber outline round its window) or `requires foreground` (the full-screen amber glow while it uses the mouse and keyboard), then what it is doing: `requires foreground · Clicking in Paint`. In the code the two modes are now named `foreground` and `background`. - **The pill keeps one small size, and its text is readable on Windows.** Text longer than "running in background" runs through it like a marquee; the "·" and "—" no longer show as box-drawing characters. While the agent waits (a wait, or an app it started that is still loading) the pill says "waiting" or "waiting for to load". After foreground work it says "running in background" without the last foreground act. The pill no longer flashes an amber ring when it appears. - **Only the window the agent works in now is outlined.** Its earlier windows no longer keep an outline each. - **The agent's drawn pointer shows only for background work.** When it uses the real mouse, your own cursor moves and no second pointer follows it. - **`smart_click` and `smart_type` find an element by name in the background first**, the way `invoke` does (a window message, then the element's own action with your window put back), instead of through the older accessibility path that could take the foreground and not give it back. - **`smart_click` presses the only element that contains the name.** With exactly one element named like "What's New" for "New", it presses that one and says so; with several, it lists them as before. - **Settings are no longer read from the working directory.** A `.env` file and a `.clawdcursor-config.json` there are ignored: use environment variables, flags or `~/.clawdcursor`. `CLAWD_DISABLE_VISION` now takes precedence over the config files. ### Fixed - **macOS: a key press or typed text that fails is an error.** On the `smart_type`, `shortcuts_run` and `minimize_window` path it was logged and reported as done. - **A read inside a `batch` comes back whole, and so does the step that stops it.** The stopping step ends with its `[failed · CODE · hint · next]` line, as a direct call would. `find` prints its coordinates note after the elements, not before. A batch longer than its step cap is refused before step 1, with the cap and the step count in the message. - **Pictures, PDFs, text, audio and video downloaded in the agent's own browser land in your Downloads folder under their own names** (Windows, macOS, and Linux's own Downloads folder), and the next result says where. They went to a hidden temp folder with random names, where the agent could not find or use them. Other file types (programs, scripts, archives) stay there, and file names are made safe. - **`browser type` with a trailing newline presses Enter** after typing (and says so), as `computer type` does; the newline is no longer typed into the field. - **`browser type` into a wrapper element fills the input inside it** and reads that input back; when nothing editable has focus it fails instead of typing into whatever does. - **`browser click` by text prefers an exact match**, then a prefix, then a partial one; it skips hidden and disabled elements, says which element it clicked, and fails with a short list when several partial matches tie. - **A selector that matches nothing is an error** for `browser read` and `cdp_read_text`, not text returned as page content. - **`browser connect` takes `port`** and attaches to the browser already on that port (what `relaunch_with_cdp` asks for), launching nothing in its place. - **`type` says ✓ only when the field holds exactly what was typed.** A field that holds more, such as "2680" after typing "80" onto a "26" that was not selected, now reports what it holds and is no longer confirmed. - **A tree read or an invoke that timed out is reported as a timeout**, not as an empty window ("app may be custom-canvas", with advice to take a screenshot) or an element that was not found. Windows and Linux. - **`window` close, minimize and focus act on one window and name it.** Every field given must match (`processName` and `title` together pick the dialog, not the first window of that app); two or more matches are listed and nothing is done; a `pid` with a `title` that matches none of its windows is "not found". `close` waits a second and says whether the window closed or is still open (it may be asking to save). On Linux a close goes by window id, not by title text. - **`click` honours `button:"middle"` and `count:3`**, and refuses a button or count it cannot send instead of left-clicking once. - **`key "ctrl + s"` presses Ctrl+S**, and a trailing `+` is the plus key (`ctrl++`), instead of tapping Ctrl and typing "+s". - **A bridge command that timed out never runs afterwards**, and its time limit starts when it is sent, not when it is queued, so a retry no longer acts twice. - **Linux: a failed key press is an error**, and the keys are released either way, so a failure no longer leaves Ctrl held. On Wayland with no input tool (`ydotool`, `wtype`), clicking and typing say so instead of reporting done. - **`invoke` with `automationId` looks the element up by that id** (Windows, macOS), not as a name that never matched. - **`open_file` on a path that does not exist fails** instead of saying `Opened`. - **The granular `minimize_window` really minimizes**, as `minimize_window_to_taskbar` does; it used to press Win+Down, which restored a maximized window. - **Hints name a tool and its action in words** ("the browser tool, action page_context"), not as call-shaped text such as `browser {"action":"page_context"}`: a host prefixes the tool names, so the bare name was not a tool it had. On the granular surface they name the granular tool. - **`within` reaches another top-level window of the same app**, such as a browser's "Restore pages?" bubble, when it matches that window's title (Windows). - **When a typed submit is held and the focus is not on a text field, the result says where the focus is** ("the focus is on Pane 'Profiles', not a text field") instead of blaming an autocomplete suggestion. - **The setup and doctor hints tell users to register `clawdcursor mcp --compact`.** - **Unticking "Allow clawdcursor to control this computer" in the Claude Desktop extension now withdraws consent.** The host sends `CLAWDCURSOR_CONSENT=false` (or `0`), which removes the recorded consent for that copy; an unset variable changes nothing. - **A dialog the agent's own action opened is no longer refused as a window switch.** After an action such as "Attach files" opens the app's own Open dialog, input goes to that dialog and the outline follows it, also when the app draws the dialog in another of its processes (Edge) and you have not touched the mouse or keyboard since; a different app in front is still refused. - **A takeover no longer says "paused by the user" when they did not press Pause.** While the user is using the computer, a step that needs the keyboard, the mouse or its window in front replies "the user is using the computer" (code `USER_ACTIVE`). The pill's Pause keeps `PAUSED`, and a pause card waiting for an answer is now `PAUSE_PENDING`. - **While the agent works in the background, you can use your computer and it keeps working.** A step that needs the keyboard, the mouse or its window in front is not sent while you use them; it answers at once, and the agent goes on by name in the background and tries that step again once you have been idle for 1 s. No wait, no "Paused — your turn" and no Resume click. Only the pill's Pause holds the agent until Resume. Your own click on Resume (the pill, a pause card, after a Stop) never counts as using the computer. - **A hold no longer outlives the session that made it.** A hold whose process has exited is ignored and removed, so a new session does not start paused. - **`clawdcursor resume` clears a hold**, not only a stop. - **A pause card is withdrawn when the session that asked for it ends.** A card shown by another clawdcursor process now blocks input and window changes only; reading the screen still works. - The server instructions say what a waiting reply means: call the same step again, and do not retry a Stop. ## [2.2.0] - 2026-11-18 ### Added - **`clawdcursor task` prints how the run acted**, as a dim line after the run log: `how it acted: N by name or label · M by coordinates · S screenshots` (`smart_click` counts as by name or label). `clawdcursor logs --run` shows it in its header, and the run log's `end` line carries the same three counts. ### Changed - **An invoke by a name the accessibility tree does not have presses the matching visible label itself** (OCR, no screenshot), as `smart_click` does, instead of failing; it says so in the result. The same when every element it matched only contains the name ("New to NX?" for "New"). Not with `within`. An ambiguous invoke's next step names the element (controlType, within) instead of a coordinate click. - **`clawdcursor task` reports tokens (and cost when the runner gives it).** A run ends with one more line, for example `tokens: 146 in · 24,343 out · 5,123,771 cached · $1.11`, and the same numbers are in the run log's `end` record and at the top of `clawdcursor logs --run`. Claude Code reports tokens and a cost; Codex and the API runners report tokens only (the cost is left out, not guessed). A run that reported nothing prints no line. - **A host app can draw the pill itself.** With `CLAWD_PILL_CMD` (a JSON array: the command and its arguments), clawdcursor starts that command in place of its own pill, with the same arguments, environment and stdin/stdout lines; if it cannot start, the built-in pill is used. `CLAWD_OWN_UI_PIDS` (comma-separated pids) names the host's processes whose windows are clawdcursor's own controls, never a target. The outline stays built-in. With neither set, nothing changes. The line protocol is in [docs/pill-host.md](docs/pill-host.md). - **The agent works in its own window while the user keeps theirs (Windows)** (#453). An act that cannot be done by name in the background goes through one ladder: a window message to the agent's window (`WM_SETTEXT` / `WM_CHAR` / `BM_CLICK`, focus not moved), then a short foreground burst only while the user is idle (their window and cursor put back after), then `pause_for_user`. A by-name act on the browser clawdcursor drives over CDP is a page act. In a two-agent live run the agent made 0 focus steals and 0 screenshots while the user worked in another app. - **The on-screen indicator shows what the agent is doing, on Windows and macOS** (#453). Background work: an amber outline round the agent's own windows only, and a small pixel-arrow ghost where it acts (never like the user's cursor). Input to the foreground: the full-screen amber edge glow. A step for the user (`pause_for_user`): the full-screen blue pulsing glow and the card, never an outline. Verified live on macOS (7/7 checks, the owner confirming each state). - **A Pause button on the pill** (Windows, macOS; #453). Every act of the agent's waits, background ones included, until Resume on the pill; Resume continues without a chat step. A Pause in one clawdcursor process holds the others too, as Stop does. The pill's orb shows it: it stops, in grey, while it is the user's turn, and the card that waits for the user shows the orb's blue "listening" wave (Thinking Orbs' own states). - **`compile_ui` element refs work in a window the user is not in** (#453): a ref into a background window acts by name in that window's process instead of failing with STALE_REF; one with no unique name there is refused, since a click at its bounds would land on the user's window. - **`system ocr` with `processId` reads that app's window by itself, even behind other windows.** It reads the process's largest window, not minimized, from the window's own pixels, so the text of the windows on top of it is not in the read. Nothing is raised or focused. Windows draws it with `PrintWindow` (at the window's own DPI, after checking that the app responds); macOS captures it with the screenshot helper's single-window mode (ScreenCaptureKit), found by its window number, so the signed helper app is unchanged. The rows say where the text is on screen; a click there goes to whatever is on top, so the reply says to focus the window first or act by name. Linux cannot draw a covered window by itself: there the call reads nothing and says how to read the window (focus it, then `scope:"window"`). - **The agent never types or moves the mouse while the user's hands are on it** (Windows, macOS; #453). Every real input (keys, typing, clicks, drags, pointer moves, bringing a window to the front, launching an app) waits until the user has been idle 1 s; background acts (by name, window messages, page acts) do not wait. If the user takes over, nothing more is sent; after 5 s it carries on if they are idle, else it waits for Resume on the pill. A call that waits returns within one tool call's budget (under 60 s) with `PAUSED` "paused by the user ... call the same step again": an agent re-calls the step and does not give up. Linux cannot read idle time, so nothing waits there. - **Canvas and CAD apps are told to press labelled controls by label, not by pixel.** `read_tree` says so after an opaque area, and also for a window whose toolbars are only named panes (a CAD ribbon). The server instructions and the canvas hint keep the screenshot for picks inside the drawn area, and after three clicks by coordinates with none by name, one note says a visible label is pressed with `smart_click`. - **A refused act in the wrong foreground window says to focus yours and send the same call again**, with no screenshot. - **Agents are told they can do any task on the screen, and to use clawdcursor without being asked.** The skill, the server instructions, `llms.txt` and the plugin listing now lead with five rules: you can open and operate any app, see the screen, and you should not ask the user to do a step you can do or say you can't reach their desktop. They no longer open with "FALLBACK ONLY": an API, CLI or file edit that does the same job is still preferred as cheaper, but a task is never declined for lack of one. The blanket "ask before email, banking, messaging or password managers" rule is gone (the user's request is the permission); asking first before an irreversible action the user did not ask for stays. - **The skill says what to do when a task is beyond the agent:** hand it to a stronger model from the same provider (a Sonnet or Opus subagent) or raise the reasoning effort, instead of giving up or asking the user; a sign-in or a step only the user can take is still `pause_for_user`. Easy desktop work can run on a cheaper subagent. - **The API runner caches its prompt and defaults to Claude Haiku 5.5.** `--with anthropic` marks its system prompt, tool list and newest message for the API's prompt cache, so a long run re-reads its first turns at a fraction of the input price. Without `--model` (or a model set by `doctor --setup`) it now starts on the cheapest model, `claude-haiku-5-5`, instead of `claude-opus-5-5`. - **The HTTP daemon answers only to `Host: 127.0.0.1:` or `localhost:`**; any other Host header gets 403. A page whose DNS name was rebound to 127.0.0.1 could load the dashboard and read the pause message. An SSH tunnel to the daemon must use the daemon's own port on the local end (`ssh -L 3847:127.0.0.1:3847 ...`). ### Fixed - **The window outline never appeared on macOS** (#453): a macOS window's handle is its process id, and the drawer looked for a window with that number. **Nor in background-only work on any OS**: an agent that never touched the window in front got no frame. - **A field or button scrolled out of view at the end of a long page (macOS).** Chrome gives such an element a frame of height 0 at the window's bottom edge, and three tools mishandled it (Mac benchmark, `web-long-read`): - `find` listed that frame as a position. It now says `(offscreen)`, as on Windows and Linux, and `smart_click` no longer clicks the window's edge for it. - `find_field` / `find_button` answered `none` with no candidates. A match out of view is now named, with the call that reaches it by name, `set_value` or `invoke`, which work without scrolling. - `smart_type` focused the field by name, the page kept the focus, and the reply said the text went into the field. When the page keeps the focus, nothing is typed, and the reply points to `set_value` by name. - **`smart_click` never clicks in another app's window.** It kept an OCR match inside the target window's rectangle only, so a system dialog on top of the window (macOS "Accessibility Access") was clicked when its text matched the label. The window at the click point is now asked first (macOS `ax-helper window-at`, an accessibility hit test that skips click-through overlays such as the Dock's; Windows `window-at-point`): if it belongs to another process than the target, nothing is clicked and the result is a refusal naming that window. Also for the accessibility-bounds click, and a call without `processId` now refuses before the click instead of warning after it. Where the platform cannot say (Linux), it clicks as before. - **No false "FOCUS NOT CONFIRMED" after a click on macOS.** The app in front changing is the click working when that app owns the clicked point (it was activated by the click); the warning now appears only when it does not, and on macOS it says "another app is now in front: ; check before typing" without the Windows foreground-lock wording. - **`pause_for_user` documents `done_when`.** The tool description and the parameter now list each type's fields (`element_exists {name}`, `ocr_contains {value}`, ...) and say it must be false now and must not be text the pause card itself shows (your message, Resume / End task). - **`find`, `invoke` and `smart_click` by name find controls in Electron apps on macOS.** Only `read_tree` woke an Electron / Chromium app's accessibility tree, so a search by name saw a thin tree and missed. The wake is now sent once per process before the first by-name search. A miss in `find` / `invoke` also says when another app's window (a system dialog) is on top of the window searched, with the `processId` to read it. - **`CLAWD_BANNER_POS=bottom` moves the pill and the pause card to the bottom centre on macOS** (default `top`), for a Mac whose notch sits under them. - **Dragging on macOS is a drag.** `mouse_down` then `mouse_move`, `mouse_drag_stepped` and `drag` with a `path` jumped from point to point; while a button is held each move now steps at most 18 px every 10 ms, and `mouse_down` waits 80 ms before the first move, as the plain `drag` always did. - **Typing through the clipboard no longer loses an image or a file on it (macOS).** A paste saved the clipboard as text only, so non-text data on it was replaced. The pasteboard types are read first: with non-text data, printable ASCII up to 1000 characters is typed as keys, anything else is refused (`CLIPBOARD_HELD`, nothing typed). A paste that put the clipboard back says so: `Typed N chars (paste, clipboard restored)`. - **OCR works on a Mac where node has no Screen Recording permission.** OCR grabbed the screen with nut-js inside node, so it failed with "Failed to capture screen" while `computer screenshot` worked: screenshots go through the bundled screenshot helper, which holds its own grant. OCR (`system ocr`, `smart_click` / `smart_read` by visible text, and an `invoke` that falls back to the visible label) now captures through the helper too, and uses nut-js only when no helper is built. - **A screen read limited to one window by an argument it does not take reads nothing.** `system ocr` with `processId` read the whole screen, other apps' windows included, and only then warned that it had ignored `processId`. A read of screen content (`ocr`, `copy_all_text`, `screenshot`, `find_button`, …) given `processId`, `processName`, `title` or `windowId` that it cannot honour is now refused before it reads, with the call that reads that one window: focus it, then `ocr` with `scope:"window"`. Other calls still run and warn as before. Over MCP this needed one more fix: the SDK validates a call with zod, which dropped every argument a compound tool's schema does not list before the tool saw it, so neither the refusal nor the "ignored an argument" warning ever ran there. Those arguments now reach the compound tools (never a granular one). - **An agent waits for the user instead of giving up.** `pause_for_user` answers `{status:"waiting"}` every 50 s while the prompt is up. That reply said only "re-call", so an agent counted three of them as unanswered and ended the task while the user was still filling in a sign-up form. It now says that a sign-up, a payment form or an emailed code can take several minutes, that waiting is not a refusal, and that only the user ends the pause (Resume or End task); it also gives `waitedSec`, the time since the prompt came up. - **`accessibility read_tree` / `read_screen` on the browser clawdcursor drives over CDP points at the browser tools** (#235). The hint after a thin read (and after a full read of that browser) now leads with `browser page_context` / `read_text` / `click`, as `find` already did; the 1.x fix had gone into a copy of `read_tree` that no longer ran. - **`logs_recent` works over stdio.** It returned an empty list there; it now returns the log of the clawdcursor server it is called on, stdio or HTTP, and its description says so. - **`open_file` and `open_uri` errors name a real tool.** "Verify with list_windows" named a tool on neither surface; they now say `get_windows` (`window {"action":"list"}` on the compact surface). - **A batch step with a precondition is checked again after it.** The screen-binding, Stop and own-UI checks ran before the precondition, which can take seconds; a dialog that opened meanwhile went unseen, so an image-space click could land on a screen that had changed. The checks now run again once the precondition passes, and can refuse the step. - **OCR never returns the screen from before an act.** The shared OCR cache is emptied by every call that acts, also when it sends no input (`open_url` / `open_file` / `open_uri`, `open_app`'s fallbacks, `relaunch_with_cdp`, `navigate`), when the act failed, and on `browser connect`; a read that was in flight when an act landed no longer caches its result. - **The dashboard reads its log panel from a new `GET /logs`** (token, localhost only) instead of calling the `logs_recent` tool. Its polling no longer creates sessions or `tool.done` lines (an open dashboard had become the newest session `clawdcursor report` picked), and the panel works on a `--compact` daemon. - **The daemon reports servers that died without a clean exit**, as a later `clawdcursor mcp` start already did. - **`clawdcursor uninstall` stops the daemon on the port it recorded** (not a fixed 3847), **and removes the skill registrations from every host it wrote them to** (`~/.claude/skills`, `~/.cursor/skills`, ...), only what it wrote: a link to a clawdcursor package, or a folder holding just the copied SKILL.md. A user's own folder is left. - **Linux X11: `super_l`, `command_l` and `windows` are Super**, as on Wayland; `super_l` and `command_l` were "Unknown key", and `windows` worked only as a key on its own, not in a combo. - **`session_report` is allowed while a pause waits and while the user has stopped clawdcursor**, as `system report` already was; the granular name was refused. - **`--debug` help says "No effect"** (like `--no-llm`): nothing reads it, and it said it saved screenshots. The `start` / `serve` deprecation warnings no longer say "Removed in v0.10"; both still work as aliases of `agent`. ### Internal - **The code is untangled** (no change to the tools agents see: `initialize` and `tools/list` are byte-identical on Windows, macOS and Linux, apart from the `logs_recent` description above). src/ without tests is 34,116 lines, down from 39,559 (-14 %). Each list that had copies is written once: result codes (also read by the telemetry Worker), key and modifier names, the OCR engine (one per process, was 8 with their own caches), the expect check, the guard chain the MCP server and batch steps run, the projected tools' names, the HTTP routes and auth, the daemon lock, the sleep helper and the points-to-pixels rule. The compact route table is its own file, and a test ties the acting calls to it. Import graph: static cycles 4 (11 files) -> 1 (3 files); imports against the layer order (platform < core < tools < surface) 47 -> 23; core -> tools 14 -> 1 (a type). 3,724 tests, none failing. ## [2.1.0] - 2026-11-16 ### Added - **`clawdcursor agent` shows a live log of every action.** In a terminal, one line per action from any clawdcursor on the computer: the one Claude started, `clawdcursor task` runs, the daemon's own. Only in a terminal; a service or a pipe gets nothing extra. `clawdcursor --help` now starts with the three commands to begin with: `doctor`, `agent` and `task`. The day log gains a `pause.start` line (no message text) so the live log can say "waiting for you". - **Anonymous error reports are on by default. Turn them off with `clawdcursor optout`** (#404, #416). So that bugs get found without anyone filing a report, clawdcursor sends a small anonymous report when it fails, runs slowly or crashes. It says so in one line on stderr the first time one is queued. Details are in `docs/telemetry.md`. - **What is sent:** a random install id (made on your machine, not from your hardware or accounts), the clawdcursor version and the OS family on every report. Then, by kind: - at start: OS version, CPU architecture, Node major version, the host app (from a fixed list, else `other`) and whether the compact or granular tools are in use; - a failed, timed-out or empty call: the tool and action name, the result code, how long it took, and whether the app was a browser, Electron or native (never which app); - a call that took over 10 s of clawdcursor's own work: the tool and action, the time, and its slow internal steps by helper-program name. Time spent waiting on you (`pause_for_user`, confirm mode, `wait`, `wait_for_element`) is not counted, and a find that found nothing is not a failure; - an exit during a call, or a crash: the reason, the call that was cut off, the error class and code, and clawdcursor's own `file:line` frames. - **What is never sent:** error messages, typed text, clipboard contents, screen or OCR text, screenshots, window titles, app names, URLs, element names, file paths outside clawdcursor, user names, emails or IP addresses. The server that receives reports does not read or store your IP address, drops anything not on its fixed lists, and deletes reports after 90 days. At most 200 reports leave a process per day. - **Off:** `clawdcursor optout` (`clawdcursor optin` turns it back on), or your agent calls `system {"action":"telemetry_optout"}` (an agent can turn reports off, never on), or `CLAWD_TELEMETRY=0` or `DO_NOT_TRACK=1` in the environment. They are always off in CI, in test runs and in benchmark runs. `clawdcursor telemetry` shows the status and every field. The choice is kept in `~/.clawdcursor/telemetry.json`. Opting out drops anything queued. - A report that cannot be sent at exit is kept in `~/.clawdcursor/telemetry-spool.jsonl` and sent at the next start. - **Opt-in confirm mode: the pause card asks before Send, Delete, Pay or Close** (#402). Off by default. Set `CLAWD_CONFIRM=1` in the server's environment, or switch on "Ask before Send / Delete / Pay / Close" when installing the Claude Desktop extension. Then a click, double-click or accessibility press on an element named Send, Delete, Remove, Pay, Buy, Submit, Close or Discard, a browser click on one, closing a window, and the keys `alt+f4`, `mod+w`, `mod+q`, `mod+enter` and `shift+delete` are held, and the pause card names the act and the window. - Only your click on Resume on the pill lets it through. `clawdcursor resume`, `POST /resume`, End task, a typed reply, an agent's `resume_task`, `done_when` and a timeout do not; the call returns `not confirmed` (`NOT_CONFIRMED`). A held call waits up to 45 s. - Limits: button names are matched in English only. Some coordinate clicks are not held (a menu that opens as its own popup, a window not in front, a target with no readable name, any coordinate click on Linux without AT-SPI), and neither is a press made from `mouse_down` + `mouse_up`, page scripts (`evaluate`), or Return alone. `SECURITY.md` lists them. - **`clawdcursor update`** (#407). Installs the latest version when clawdcursor was installed with `npm install -g`, and prints `vOLD -> vNEW` and a reminder to restart your MCP host. It lists other copies that are now behind (a Claude Desktop extension, a Claude Code plugin) with the fix for each. For any other install (npx, a source checkout, the Desktop extension, pnpm or yarn) it changes nothing, says what to run instead and exits 1. If npm fails it says nothing was elevated and, on macOS and Linux, prints the `sudo` command for you to run yourself. - **Screenshots can be smaller, say what they cost, and a click can follow a path** (#405). `screenshot` and `screenshot_region` take `max_edge` (64-1280, default unchanged), and every screenshot reply now says its size, such as `640x400px, about 340 image tokens`. `computer click` takes `path` (up to 100 points) and `interval_ms` (default 100), so a pen stroke is one call; Stop refuses the next point. `batch` returns the image from its last step that made one, so "act several times, then look once" is one call. - **Help is shown when there is no tree to read** (#405). `read_tree` and `find` lines show an element's tooltip as `help="..."` (Windows, macOS and Linux). `read_tree` adds an `Opaque area` line where a large part of a window (a canvas) has nothing readable in it, and after an empty read the next screenshot gets advice for drawing surfaces instead of the generic hint; the screenshot-count nudge now shows once per run of screenshots. `SKILL.md` gains a "Draw on a canvas" pattern. - **The `browser` tool reaches into iframes** (#403). A by-name click, type, select or wait that finds nothing on the page now looks in the page's visible iframes. The page always wins over an iframe, and same-origin iframes are searched automatically. - A cross-origin iframe (an ad, a third-party widget) is acted in only when you name it with the new `frame` argument (a URL or origin substring) on `click`, `type`, `select_option`, `wait_for`, `read_text` and `page_context`. Otherwise nothing is done and the result is `refused - CROSS_ORIGIN_FRAME`, naming the origin. - `read_text` adds each same-origin iframe's text after the page's (1,500 characters each) and lists cross-origin ones without reading them. `page_context` lists iframe controls (at most 60). Frames are named by origin, not full URL. - Hidden and zero-size iframes are skipped, and an iframe that does not answer within 1.5 s is skipped, so one cannot hang a call. A miss now says how many iframes were searched. - **`copy_all_text` pages and searches long text** (#422). A result is cut at 20,000 characters at a line break and says how much was shown and the next call (`offset:N`). New `find:""` returns only the matching lines with two lines around each (20 matches at most), so one value in a long page takes two calls or fewer. `accessibility find` also takes `offset` now; before, it ignored it and returned the first 20 again. - **Testing clawdcursor on its own: `clawdcursor task`, `clawdcursor logs` and `clawdcursor doctor --setup`.** For developers who want to see an agent work with clawdcursor as its only tool. Two optional add-ons, downloaded from npm on first use and only after asking: `clawdcursor-agent` and `clawdcursor-doctor`, installed into `~/.clawdcursor/addons` at clawdcursor's own version (a different version is offered as an update). With no terminal, the exact install command is printed and nothing is downloaded; `--yes` installs without asking. - `clawdcursor task ""` runs your installed Claude Code or Codex on your own sign-in (no API key), with this clawdcursor as its only MCP server and none of its built-in tools, settings or plugins. It prints each tool call and its result, ends on the agent's PASS/FAIL line (exit 0 / 1, 130 on Ctrl-C) and keeps the run in `~/.clawdcursor/runs/`. `--with anthropic` and `--with openai-compatible` (OpenAI, Ollama, LM Studio, OpenRouter) are there for API keys. - `clawdcursor logs` shows the day log readably: tool calls with outcome, result code and step timings, and stop, pause, refusals and server start and exit. `-f`, `--session `, `--tool`, `--errors`, `--since 10m`; `--run last` puts a `task` run and its clawdcursor session on one timeline. - `clawdcursor doctor` keeps its checks and, in a terminal, offers to set up the test agent at the end; `doctor --setup` goes straight there: it finds Claude Code and Codex and their sign-in, picks the default runner and model, can add an API runner (the key stored readable only by you, or the name of its variable), and makes a test call that only reads the system time. - The day log's lines now carry the `pid` of the server that wrote them, and a session file's header carries the `task` run that started its server, so `logs --session` and `logs --run` can tell servers apart. - **The pill has a thinking orb** (#392). While the agent works, the running pill shows the "working" Thinking Orb (particles on tilted orbits, in amber) in place of the blinking dot, on Windows and macOS; the Linux pill keeps its dot. It is redrawn about 10 times a second, and does not move where the system is set to reduce motion (Windows "Animation effects" off, macOS Reduce Motion). - The outline is 2.0.0's: a thin amber line around the window the agent is working in, blue while it waits for you, moving with the agent from window to window. - **Credit:** the orb follows **Thinking Orbs** by Jakub Antalik ([github.com/Jakubantalik/Libraries.dev](https://github.com/Jakubantalik/Libraries.dev), `packages/thinking-orbs`), MIT License, Copyright (c) 2026 Jakub Antalik, redrawn natively (WinForms on Windows, AppKit on macOS). The MIT notice is in `scripts/banner.ps1`. ### Fixed - **The outline is not drawn around a window nobody can see.** On Windows, a window Windows reports as hidden or cloaked could be the one in front with nothing on screen, and the outline framed empty space. On macOS, an app's see-through window or a sliver under 40 pt is passed over for its next window. - **A pause after the agent has been idle for 30 s still outlines its window in blue.** The card named the app, but the outline had forgotten the window and drew nothing. - **clawdcursor no longer selects a whole page or document.** Select-all over a web page turned the page blue on screen, and on macOS a typed reply replaced a whole TextEdit document. - `copy_all_text` reads only through accessibility (the document's text, or the tree's names), and never presses select-all + copy. A browser page that reads empty the first time is read once more, and on macOS the first read waits for the accessibility helper's build. - `smart_type` with a target selects the old text only inside a one-line field. A document, web page or text area keeps its text, and the new text goes in at the cursor, unless `mode:"replace"` is passed. The result says which. - `set_field_value` by a ref's bounds types nothing when the click left the focus on the page or a list, and says so. - The key-press examples and the skill's copy pattern no longer show `mod+a` / `mod+c`. - **macOS: the first pause after an install or upgrade reaches the user.** `pause_for_user` and confirm mode said "no on-screen prompt is available" while the overlay was still compiling. They now wait for that compile, and fail only if it fails. A compile cut short by an exiting run no longer leaves its temp file behind. - **macOS: the pause card's answer box takes typing with any app in front** (#434). With the Claude app in front, a click into the box often did nothing (no focus ring, the keys went nowhere), so the agent waited out the whole pause. The card refused the keyboard at the moment macOS handled the click; now the first click into the box takes it, every time, and Send or Esc hands it back to your app. Esc in "Something else" now gives the keyboard back too. - **`batch` accepts steps named the way the host shows the tool** (#434). A step named `mcp__clawdcursor__accessibility` (or `mcp__plugin_clawdcursor_clawdcursor__…`) stopped the batch with "unknown tool". Only a clawdcursor server's prefix is accepted, so another server's `computer` never runs as clawdcursor's. - **`clawdcursor doctor` returns to the prompt.** After "All systems go!" it never exited: the accessibility bridge it started kept the process alive (2.0.0 too). - **Windows: `open_app` starts apps directly again, not through the Start menu (10–12 s per launch).** The PowerShell that runs `Start-Process` was spawned detached, and a detached PowerShell exits 0 without starting anything. Every alias launch (Paint, Character Map, the Snipping Tool, ...) waited 4 s for a window, then fell back to the Start menu: Escape, Win, the app's name, Enter, typed on your desktop. The launcher PowerShell and the `explorer.exe shell:AppsFolder` spawns are now attached (still hidden, no pipes, and the app keeps running after clawdcursor exits). The same applies to the `ms-settings:`-style URI dispatch and `relaunch_with_cdp`. - The Start-menu fallback is no longer hidden. Each key and the typing are steps in the call's step log (`start-menu key Escape`, `start-menu key Super`, `start-menu type-text`, `start-menu key Return`), along with the route that produced the window (`launch uwp`, `launch start-process`, `launch start-menu`, `launch already-running`). The typed text is not logged. When the fallback ran, `open_app` says so: `(opened through the Start menu after Start-Process showed no window in 4 s)`. - **Linux: password field values stay out of tree reads**, as on Windows and macOS. An AT-SPI `password text` element now returns no value or text in `read_tree`, `find`, the focused element and page text. A screenshot or OCR can still show whatever is visible on screen. - **`clawdcursor stop` and `uninstall` never signal a process they can't prove is clawdcursor.** They used to signal whatever pid a lock file named, and lock files go stale while pids get reused (often on Windows), so an unrelated app could be killed. Now a pid is signalled only when its lock is complete and the live process started when the lock says; any other lock (stale, reused pid, old bare-number format) is deleted and nothing is signalled. A daemon that does not answer `/stop` is no longer killed by whoever holds its port unless its lock proves it is clawdcursor. A daemon stopped from the dashboard or `POST /stop` now removes its lock file, like Ctrl+C does. - **Windows: `open_file` on a folder and `open_app "File Explorer"` open a File Explorer window again.** The PowerShell that runs `Start-Process` was started detached, and Explorer opens no folder window for a detached launcher, so both reported that no window appeared (and none did). That PowerShell is no longer detached; it exits as soon as `Start-Process` returns, and the app it starts still stays open after clawdcursor exits. The same applies to `open_uri` and the Electron debug relaunch. - **`open_app "File Explorer"` no longer says it was "handed off to the running explorer.exe"** when nothing opened. explorer.exe is also the desktop shell (taskbar, desktop) and is always running, so it was claimed as the app, and the agent was told to wait for a window that would never come. The shell's process no longer counts as a launched or already-running app. File Explorer is now started as `explorer.exe`, not by its display name. - **Replies say what actually changed.** (#406, #397) - `computer type`, `smart_type`, browser `type` and browser `select_option` read the field back. A browser type ends `[confirmed]` or fails with `READBACK_MISMATCH` (a page script rewrote or cleared it); a select is confirmed only when the chosen option's label or value is the one asked for. A field that reads back empty is reported as a success that is NOT verified, with a warning, not as a plain success. Password inputs are never read back. - `select` on a Windows list box now tells the app about the pick (the highlight moved but the app never heard, which showed up as `ok` with the app's state unchanged). If the shown value still differs it types the option and reads again, and it never presses Enter. The result is confirmed, NOT verified or a failure that quotes what the control shows, on every OS. - `set_value` without a settable value types only after checking the field has focus, says why a retry was skipped, and clears a Windows field with select-all + Delete, confirmed when it reads back empty. - Clicks, drags and batches end with an effect line (`effect: window same`, or which other window or app is in front). The "focus not confirmed" warning now fires only when activation failed or another app is in front, not when a tab switch or a closing dialog changes the title, and it no longer says "Windows foreground-lock" on Linux. - The session log names the app for browser acts and for by-name acts on a background window. - **A Microsoft Store app is named as itself, not "Application Frame Host"** (#395, #406). The pill ("Clicking in Application Frame Host"), the session log and the window effect now name the app the frame hosts, such as Calculator. - **One rule decides which element a name means, on every OS** (#408). Visible beats hidden; an exact name beats a name that starts with it, which beats one that only contains it; a control beats its label; a focused dialog beats the window behind it. - A match that only contains the name ("What's New" for "New") is no longer pressed, even when it is the only one. It comes back as AMBIGUOUS (`inexact`) and the agent calls again with the full name. This holds for Windows, Linux and macOS with the Swift helper; macOS without the helper (the JXA fallback) is not changed. - A tie lists each candidate with its window, dialog or document. `invoke` and `smart_click` take `within` to pick one by that container's name (macOS without the Swift helper refuses `within`; `smart_click` with `within` uses accessibility only). - The success line names the element that was pressed, for example `Clicked [Button] "Request tasks" (its name starts with "Request")`. - A minimized window's candidates say `minimized` instead of showing -32000 positions, and a name-only hidden link in one is not pressed. - On Windows, `find` reads the value of a spin box, and `read_tree` lists an app's own controls before an embedded web view's text (a web view over 20 elements in an app with at least 20 controls of its own becomes one line; `read_screen` with `offset` lists it). - Linux: an element inside a page's modal dialog beats one behind it. - **Stop covers relative mouse moves** (#426). A relative pointer move still went out after you pressed Stop. Every pointer method is now stop-checked (except the release of a held button), and `smart_type`'s browser fallback goes through the same guard and no longer swallows a refusal. - **The dashboard works when clawdcursor runs on a port other than 3847** (#426). Its Resume, End and kill-switch buttons got a 403 because the allowed origin was fixed to `:3847`; it is now the port the request came in on. - **`expect` and `verify` `file_changed_since_start` work over MCP** (#426). They always answered "no task-start timestamp". The start is now when your agent's MCP session began, and the `verify` description says "since your MCP session started". - **Typed text and values no longer travel in command-line arguments** (#427). Any program on the computer can read arguments while a child runs, and a `set_value` into a password field put the password there. On Linux the AT-SPI bridge (names, values, `within`, window title), Wayland typing (`ydotool`, `wtype`) and the macOS `osascript` fallback now get them on stdin. Windows already did. - **Honest keys on Wayland and macOS** (#427). On Wayland with only `wtype`, `key_down` and `key_up` now fail, saying `ydotool` is needed, instead of reporting success while holding nothing. An unknown modifier is refused before anything is pressed (`Unknown modifier: "x"`), where a dropped modifier turned `opt+x` into a plain `x`; the macOS keyboard path also refuses an unknown key name. - **Windows: `find` by `automationId` finds ids beyond the first 20 elements; a role filter on the accessibility bridge now works; and `window` by title matches Edge** (#427). The role filter used to be dropped silently, and Edge's title, which has a zero-width space or NBSP in it, never matched. - **`screenshot` with a `region` crops on macOS and Linux** (#427). It returned the whole screen there; only Windows cropped. - **The `browser` tool in attach-only mode waits and says why it failed** (#403). With `CLAWD_AGENT_CDP_OFF=1` it tried your browser's debug port once, so a browser started a few seconds earlier was missed. It now waits up to 10 s, and `browser connect` and `navigate` say the reason (nothing listening, not a Chromium DevTools endpoint, no open page, ...) and what to do next. - **`clawdcursor versions` no longer prints a Node `DEP0190` warning on Windows** (#407). It finds the global npm folder without running npm. - **A Windows PowerShell cache folder no longer appears in the working directory** (#407). With a `USERPROFILE` that is not an absolute Windows path, PowerShell wrote `Microsoft/ModuleAnalysisCache` into whatever folder clawdcursor was started from; the process-start-time check now runs from its own private folder. - **The host-ancestry log says why the process table could not be read** (#407): "timed out", "killed by SIGx", "exit code N" or the errno code, and it reads the table once more before giving up. - **`clawdcursor resume` with no daemon says whose pause is on screen.** It printed "No running instance found" while a stdio server's pause was up; it now says nothing was answered and points at the card, where that pause is answered. - **`clawdcursor versions` flags an old copy against the latest release, as `doctor` does.** The two disagreed about the same install ("older than v2.0.0" against "older than v2.1.0"). - **`clawdcursor status` says whether the daemon is running.** - **`clawdcursor logs --errors` no longer calls a `task` run's own server a crash.** The runner ends that server on purpose; it is listed as having ended with its run. - **`batch` counts its steps from 1.** A failure in the sixth step said "halted at step 5". ### Changed - **The Windows pill no longer repaints itself every second** (#419, part of #414). Its labels now have the pill's own background instead of a transparent one, so the clock's tick no longer redraws the whole pill, as it did in 2.0.0. - **The 2.1 site and README tell what clawdcursor does, show the benchmark and state the limits** (#401, #390). The README, clawdcursor.com and `docs/llms.txt` open with what it does for a person, then the benchmark (Windows, one agent, 15 tasks we built, with the one false "ok" it found), how the four steps (browser page, accessibility tree, OCR, screenshots) work, where it is weak (apps without accessibility info, canvases, games, CAD; only Windows measured), what protects you, and the error reports. They no longer say "no telemetry". - **Unused files are no longer shipped** (#407, #418). The old PowerShell and shell scripts that `ps-bridge.ps1` and the macOS helper replaced, three 1.x smoke scripts, and the guides seed copy and marketplace spec are removed, along with unused internal methods. No tool, command or flag is affected. ## [2.0.0] - 2026-11-11 First published as 1.6.0 on 2026-11-10. It removes tools, CLI flags and the policy gate, which is a breaking change, so it is renumbered 2.0.0 to follow semver; 1.6.0 is deprecated on npm. The code is the same apart from the "removed in 2.0" wording. ### Removed - **Breaking: the built-in agent loop is gone.** clawdcursor no longer calls a model itself. It is a tool layer: your own agent (Claude Code, Claude Desktop, Codex, Cursor, a local Llama, …) drives the MCP tools. - Gone: the `task` compound tool (the compact surface is now `accessibility`, `system`, `window`, `browser`, `computer`, `batch`), the granular `submit_task`, `agent_status`, `abort_task`, `delegate_to_agent`, `task_logs_list`, `task_logs_current` and `get_system_prompt` tools, the `system` actions `delegate` and `system_prompt`, the scheduler (`scheduled_task_*`), the `clawdcursor task` command and the daemon's `POST /abort` route. - Use instead: call the compact tools step by step from your agent, or `batch` for a known sequence in one call; `system pause_for_user` to hand a step to the user; your agent host's own scheduler for recurring work; `clawdcursor stop` (or the on-screen pill) to stop. With `task {"action":"resume"}` gone, a pause on the compact surface ends only by the user (Resume on screen, `clawdcursor resume`, the dashboard) or its `done_when`; the granular `resume_task` stays. - `clawdcursor agent` is now only the HTTP MCP server: no model, no key, no provider check. `--no-llm` is still accepted and does nothing; the `--provider`, `--model`, `--text-model`, `--vision-model`, `--base-url` and `--api-key` flags are gone from `agent` and `start`. The HTTP MCP transport, `/stop`, `/resume`, `/health` and token auth are unchanged. - The removed flags and `clawdcursor task` now fail as an unknown option or command, followed by "removed in 2.0: clawdcursor no longer runs a model; your agent drives the tools". The same goes for the removed `doctor` flags. - **Breaking: all model configuration is gone.** There is no provider, model, API key or base URL setting anywhere: the provider clients and key discovery (`src/llm/`) are gone, and so are the `AI_API_KEY` / `CLAWD_*_MODEL` / `CLAWD_PROVIDER` style variables and the matching keys in `.clawdcursor-config.json` (old files still load; those keys are ignored). `.env.example` is gone. `clawdcursor doctor` is now only a diagnostic (version, installed copies, consent, screen capture, macOS permissions, accessibility, skill registration): it no longer scans or tests providers, stores keys or writes a config, and its `--provider`, `--api-key`, `--no-save` and `--reset` flags are gone. `clawdcursor status` no longer reports an AI config. The config ladder (CLI > project file > user file > env > default) is unchanged for `port`, `debug` and `disableVision`. Configure the model in your agent host. - **The dashboard's Tasks and Scheduled tabs**, task form, history and favorites, and with them the granular `favorites_list`, `favorites_add` and `favorites_remove` tools: they stored task strings for the built-in agent. Keep reusable prompts in your agent host. The dashboard is the pause banner, the log view, the connection status and the Kill button. ### Changed - **A thin outline around the agent's window replaces the glow on every screen edge.** While an agent drives, the window it is working in gets a 3 px border (amber; blue while it waits for you), scaled per monitor. Nothing is drawn over the window's content or on the rest of the screen, and nothing at all when no window is known or that window is not in front: the pill alone shows an agent is in control. The border follows the window as it moves, resizes or changes, is click-through, never takes focus, and stays out of clawdcursor's screenshots and reads (on Linux and on Windows 10 before 2004, where a window cannot be kept out of a capture, it steps aside for each one). `CLAWD_NO_GLOW` is gone with the glow. - **The pill and the outline close by themselves when clawdcursor is killed.** A host that hard-kills the process runs no exit hook; each drawer now exits when its stdin closes instead of staying on screen. - **Keys are OS-aware from the first message.** The server reads the OS once at startup and its instructions say which OS this is and which modifier its shortcuts use ("This computer runs macOS: the shortcut modifier is cmd … not ctrl"), so an agent no longer guesses and sends Windows hotkeys to a Mac. `mod` is the one alias for the OS's modifier (cmd on macOS, ctrl on Windows and Linux); key examples in tool descriptions use it. An agent's explicit `ctrl+x` is still sent as Ctrl on macOS (terminals bind it): nothing is translated. - `shortcuts_list` / `shortcuts_run` offer and run only the shortcuts that exist on the current OS, with its keys. An entry with no chord there is not offered and no longer matches (before, `shortcuts_run` could match a macOS-only intent on Windows and press nothing). Fixed entries: system search, screenshots, the emoji picker and Task View are no longer handed to Linux with Windows chords; "force quit", "close all windows" and "switch windows of the same app" no longer fall back to `Alt+F4` / `Alt+Tab`; Safari, Notes and Messages entries are macOS-only; macOS "show desktop" is `F11` (Fn cannot be sent); Linux gets its own redo, minimize, and Thunderbird forward / mark-read chords (Outlook's `Ctrl+Q` quits Thunderbird). - clawdcursor's own key presses go through `mod`: `type_text`'s paste and the triple-click select-all no longer pick the chord with an inline OS check. The focus-time minimize of a phantom off-screen window (`Super+Down`) now runs on Windows only: on macOS it was `Cmd+Down`. - **Agents are steered through the blind pipeline** (wording, order and result text; no tool or action added or removed). Read lines say to act by name and keep `@x,y` for elements with no name; `smart_click` is explained where agents look for it and its miss carries a next step; the sparse-tree hint, `SKILL.md` and `docs/llms.txt` use one SEE/ACT ladder in one call notation (`accessibility {"action":"smart_click","target":"