# Changelog

> Every release of Dejo, the browser automation MCP server that remembers websites: what changed and how to upgrade.

Canonical: https://dejo.run/changelog

> For AI agents: the index of this site is https://dejo.run/llms.txt, and every page is also served as markdown (add .md to its address, or send Accept: text/markdown).

Every release of Dejo. The engine (`dejo`) and the MCP server (`dejo-mcp`) are released together, with the same version. To upgrade:

```bash
pip install -U dejo-mcp
```

## 0.5.1 — 2026-11-10

- **Opposite deeds are never the same task.** Open and close, track and cancel, approve and
  reject, archive and restore, enable and disable, lock and unlock (and any word against the
  same word with "un") no longer match, and a trail with a risky step only runs for its own
  task, never for a loose match.
- **Each profile keeps its own routes.** Trails are keyed by profile as well as site and task,
  so a customer's and a vendor's "show my orders" never overwrite or block each other. Every
  profile still reads the default profile's routes and every route saved before.
- **A half-learned task belongs to its profile.** Another profile no longer resumes, or drops,
  the draft one profile started.
- **Every changed value is swapped in, or the replay stops.** A task asked with two or more new
  values ("Kolkata to Pune on 9 Dec") replays with all of them; a new value the route has no
  place for stops it before step 1 (`dejo run` exits 8).
- **"This month" means this month.** A route learned for "this month", "last month", "today",
  "latest" and similar is moved to the date the words mean now, by the browser's clock, or
  stops and names the date it cannot place.
- **A control that does something else is never pressed.** A backup way that finds "Remove
  item" where "Show total" was is a miss, not a click. The way a trail was learned with
  survives its first miss, so a fix for version B of an A/B page no longer undoes version A.
- **A read by place says so** when what sits there now is not what it read when learned.
- **A task that names another subject is not "the same job".** "find the minimum Dart SDK"
  asked where the saved task said "find the changelog entry" for the same package stops before
  step 1 instead of replaying the changelog (found on pub.dev).
- **A restart in other words never replaces the trail it matched.** Steps sent with `restart`
  under words that matched another trail are learned as a new trail in those words; the other
  trail stays as it was. Sent under the trail's own task, a restart still replaces it.
- **A task that does not fit a saved route shows the page at once.** When replay stops because
  the task asks for something the route has no place for, the same reply opens the page, as
  for any new task, so the agent sends the new steps in its next call instead of first asking
  to look.

## 0.5.0 — 2026-11-10

- **Consent pop-ups inside a frame are answered.** Sourcepoint and similar platforms ask
  inside their own iframe, so a search of the page found no button and the step stopped
  (theguardian.com, spiegel.de). Dejo now looks inside the frame, with the same rules:
  reject first, never subscribe or pay. "Accept and continue" and "Consent and continue" are
  known accept words, for a wall that offers only accept or pay.
- **Fixed: a step picked by place could crash its replay.** Its check was saved as Dejo's
  own role form (`link|Sport`) and read as CSS. New checks are CSS, old ones are read as the
  role they name. A by-place step that lands on a top-level page (/ to /sport/) is now
  checked by its address, since the link it came from is often in the site menu.
- **The account marker is never read from a sign-in page,** and a link that only mentions
  "account" (Google's "Google Account Help") is not taken for the signed-in account.
- **A pop-up nobody told Dejo about is cleared.** When something covers the element a step
  presses, on replay or while learning, Dejo tries the pop-up's own close, then Escape, then a
  consent banner's "Reject all" before "Accept", never anything that buys, sends or
  subscribes; what worked is kept for the site and named in the reply.
- **More toasts are skipped when they are not there.** A close step is skipped also when the
  toast fades out and stays in the page, says "Dismissed" before it goes, or had already faded
  by itself on replay. A risky step or one with its own check is still never skipped.
- **Which account is signed in.** Dejo notes the account the page shows while learning
  (an email address or the name on the account button), checks it before a replay acts and
  after any sign-in step, and stops if someone else is signed in. `expect signed in as "..."`
  sets it by hand; `dejo run` exits 7.
- **Better "you were signed out".** An identity provider's page (Google, Microsoft, Okta,
  Auth0 ...), an HTTP 401 on the page's own address, or a sign-in form by its role and name now
  count, still only after a step failed.
- **Every automatic decision is reported.** Steps skipped, pop-ups cleared, sign-in steps
  skipped, backup ways of finding an element and walks back to a step's page are one list in
  the reply, in `dejo run` and its `--json`, and in `~/.dejo/logs`.
- **The drift lab.** Demo pages that change between visits, tests that learn on one visit and
  replay on the next, and reliability tasks R62-R64 on practice sites. It found and fixed good
  ways being blamed on a slow page, a "first item" step stopping on the next item's page, and a
  remembered close shutting a dialog the task opened on purpose.

## 0.4.0 — 2026-11-04

- **Reliability after this work: Dejo 47 of the 50 week-on-week tasks, and 11 of the 11 new
  ones.** On the same day, before any of it, Dejo passed 46 of 50; plain Playwright passed 45
  of 50 and 10 of 11. Dejo's three misses are a college catalog that blocked the test machine
  (twice) and one page whose wording moved (`benchmarks/reliability-2026-11-03-before.json`,
  `benchmarks/reliability-2026-11-03.json`).
- **`read downloads` and `read workers`.** The files a tab downloaded, where they were saved,
  and the web workers a page runs in the background.
- **Made-up answers and init scripts, for testing.** `mock "**/api/user" 200 '{...}'`
  answers the page's requests to an address with a response you write, and `script "..."`
  runs your JavaScript in every page before its own. Both are done and never kept in a
  trail, and the reply says why: a trail replays the real site.
- **An element's place and markup, and permissions.** `read box T` gives where an element is
  on the screen and its size, in the numbers `mouse click X Y` uses; `read html T` its HTML.
  `allow notifications clipboard-read` grants permissions to every site (Dejo grants none
  unasked) and is kept in the trail; `allow off` takes them back.
- **The reliability benchmark covers the new steps.** R51-R61 run dialogs, a right click, a
  whole table and many fields as JSON, closing a tab, a page's own API answer, another
  language, a phone, a cookie and a PDF on practice sites and test services, through Dejo and
  through plain Playwright. R01-R50 stay the score compared week on week.
- **Control what the page loads and how it is asked.** `block "**/*.png"` stops the page
  loading what matches (kept in the trail, and a replay starts with nothing blocked), `header
  set NAME "VALUE"` sends a header with every request (not kept), `DEJO_PROXY` sends every
  request through a company proxy and `DEJO_IGNORE_HTTPS_ERRORS=1` accepts an intranet's own
  certificate. `wait "text:Saved|Error"` waits for whichever words come first, and
  `wait response:...` also ends when the request failed.
- **How fast a page is.** `read metrics` gives the browser's own load numbers (first byte,
  first and largest paint, ready, load, layout shift, requests, bytes) and replays like any
  read; `record performance` ... `record stop` saves a Chrome performance trace that opens in
  DevTools' Performance panel.
- **Read many fields at once, as JSON.** `read fields '{"name": "h3", "price": ".price",
  "link": "a@href"}' css "article" as products` gives one object per matching element, and
  `read table css "#prices" as rows` a whole table keyed by its headings: the model-free
  version of Stagehand's and browser-use's `extract`, and it replays like any read.
- **A count or a list read replays over every match.** Replay handed `count` and `all_text`
  only the first element, so a saved count answered 1 on every later run.
- **Drive a browser that is already running.** `DEJO_CDP_URL=http://127.0.0.1:9222` (or
  `dejo run --cdp URL`) connects over the Chrome DevTools Protocol to a cloud browser, or to
  your own Chrome started with `--remote-debugging-port`, instead of starting one. Its sign-ins
  are used as they are; trails learn and replay there the same way. Dejo works in a tab of its
  own, never one you have open, and at the end closes that tab and disconnects, leaving the
  browser running.
- **A plain step log.** Every line learned and every step replayed is written to
  `~/.dejo/logs/DATE.log`, in words: what it did, how it found its element, how long it took,
  and why a run stopped. A person can see what their agent did without asking it.
  `DEJO_LOG=off` turns it off.
- **Watch a run live in a visible window.** `DEJO_HEADED=1` in the MCP server's environment
  shows the browser for every run; headless stays the default. The README now lists every
  `DEJO_` setting in one table.
- **Record a video or a trace of a run.** `record video`, `record trace` (or both) and then
  `record stop` save a video of every tab and a trace that opens in Playwright's trace viewer,
  with each step, the page before and after it, and its network, under `~/.dejo/recordings`.
  `DEJO_RECORD=video,trace` records every replay, and the reply names the files, also when a
  replay broke.
- **Cookies, local storage and saved sign-in state.** `read cookies` and `read storage` read
  them, for the page Dejo is on only (a cookie the page itself cannot read keeps its value
  hidden); `cookie set`/`clear` and
  `storage set`/`clear` change them; `state save team` writes every cookie and the local
  storage to `~/.dejo/states/team.json`, Playwright's own storage-state file, and `state load`
  puts one back, by name or by path. These change the browser, not the site, so they are not
  kept in a trail, and the reply says so.
- **Emulate another browser.** `emulate viewport 390x844`, `emulate device "iPhone 13"`,
  `emulate timezone Asia/Tokyo`, `emulate locale de-DE`, `emulate color dark`, `emulate media
  print`, `emulate motion reduce`, `emulate offline on`, `emulate network slow3g` (also
  `fast3g`, `slow4g`, `fast4g`), `emulate cpu 4` and `emulate geolocation 18.52,73.85`, each
  undone with `off`. The settings reach every tab, are kept in the trail, and a replay starts
  from the browser as it is, so one task's phone never leaks into the next.
- **Close a tab and list the open ones.** `tab close` closes the tab in use (or `tab close
  1` another) and carries on in the newest tab left; a page that asks "leave this page?" gets
  its dialog. `read tabs` lists every tab with its number, title and address.
- **Scroll inside one element.** `scroll css "#messages" down 300` (or `up`, `left`,
  `right`) turns the wheel over that box, for a list, table or chat that scrolls on its own
  while the page stays still. The page itself now scrolls `left` and `right` too.
- **`look image` shows the agent the screen as a picture.** The reply carries a PNG of what
  is on screen, in the page's own pixels, for a chart, a map or a canvas that has nothing in
  it to name; a spot read off the picture is clicked with `mouse click X Y`.
- **Exact mouse and keyboard control.** `mouse click 120 40` (also `dblclick`, `right`,
  `move`, `down`, `up`, `wheel DX DY`, `drag X Y to X2 Y2`) uses the mouse at a place on the
  screen, for a chart, map or canvas that has nothing inside it to name. `keydown Shift` and
  `keyup Shift` hold a key across steps. A line can end with options: `at=10,20` clicks a
  spot on the element, `keys=Shift+Control` holds keys while it clicks, `button=right` right
  clicks, and `delay=100` types at that many milliseconds a key. All of it is kept in a trail
  and replayed exactly.
- **Dejo sees the page's network and console.** `read requests` lists every request the page
  made since it loaded (method, status, address; `read requests "/api/"` only those),
  `read response "/api/orders"` gives the body of the latest answer from that address, and
  `read console` every console message, not only errors. `wait response:/api/orders` and
  `wait request:...` wait for the page's own calls, counting one that already came back
  after the step before. All of them are kept in a trail and replayed.
- **Screenshots and PDFs are steps a trail keeps.** `screenshot` (what is on screen),
  `screenshot full`, `screenshot css "#chart"` and `pdf` save a file under `~/.dejo/captures`
  and answer its path; a trail that ends in one is saved, and every replay saves a new one,
  so "a picture of my dashboard every morning" is one call. A screenshot used to be allowed
  only as the single line of a call, was never kept, and was saved in the working folder.
- **Dejo can cancel a dialog, type an answer into a prompt, and read what a box said.**
  `dialog dismiss` or `dialog accept "Rohit"` before the step that opens the box says how to
  answer it; the choice and the words are kept with that step and used again on replay.
  `read dialog as said` reads the last box's words, and every reply names a box a step opened.
- **A saved drag and a saved switch to another tab replay.** A drag kept what it picked up
  but not where it dropped it, and `tab latest` could not be done on replay at all, so both
  failed every later run. The drop target is now kept with the step, and replay waits for a
  tab that is still opening.

## 0.3.1 — 2026-11-03

- **Dejo now finds and uses the right element on 47 of 50 real websites, up from 25.** A new
  benchmark, `benchmarks/reliability.py`, runs 50 fixed step programs on real public sites
  (iframes, shadow DOM, custom dropdowns, date pickers, hover menus, infinite scroll, tabs,
  suggestions, tables, long pages) with no model anywhere. Before the fixes below Dejo passed
  25 of 50; after them 47 of 50, where the same steps through plain Playwright passed 43. Two
  of Dejo's three misses were sites that blocked the test machine
  (`benchmarks/reliability-2026-11-02-before.json`, `benchmarks/reliability-2026-11-02.json`).
- **A target finds an element by words in its name, the way Playwright does.** A name had to
  match exactly, so `link "Belt Sander"` found nothing on a shop card whose link says "Belt
  Sander $73.59", and `checkbox "Best Current Practice"` missed the filter called "Best
  Current Practice 337". The whole name is still tried first; only when nothing is called
  exactly that does Dejo look for the words inside a name, in any case, like Playwright's
  `get_by_role(name=...)`. Two such matches are refused, never guessed, and the trail keeps
  the words so a changed price or count does not break it.
- **A target finds an element inside an iframe, and its replay does too.** `css`, `role` and
  `text` targets only looked at the page itself, while the view drew the inside of every
  iframe. A rich text editor, a date picker or a widget demo in an iframe was shown, and then
  "nothing on this page" was all a target found. The page is searched first, then each
  iframe in order, frames inside frames too, and the trail remembers which frame. A step's
  own check after it ran (that its element is still there) now looks inside the same frame,
  where before it looked at the page and called every framed step broken on replay.
- **An old frameset page can be looked at.** A page made only of `<frameset>` and `<frame>`s
  has no body, and every look failed with "Selector body does not match any element". The
  look now starts from the page's root when there is no body, and shows what the frames hold.
- **An exact match inside an iframe beats a longer text on the page that only contains the
  words.** On jqueryui.com's autocomplete demo `click text "JavaScript"` matched the page's
  own description ("a simple JavaScript array") instead of the suggestion in the demo's
  iframe, and was refused as ambiguous.
- **A link a site hid from screen readers, but shows on the screen, can be clicked.**
  doververmont.com draws its whole news carousel inside `aria-hidden="true"`. The view showed
  its links, and `link "2026 Transfer Station Rates & Fees"` then found nothing, because a
  role target skips what `aria-hidden` hides. When nothing else matches, a role target now
  also looks there, and takes only what is really visible.
- **A read picked by its place, whose words are its own answer, is kept.** `read heading
  "Ada Lovelace" first` was refused as "a read nobody could find again", because its place
  is named by the very words it reads. Dejo now keeps it by the heading's own path on the
  page when that path finds only it.

## 0.3.0 — 2026-10-31

- **`select` on a combobox names a matching button that was already beside it.** The reply
  named only what appeared after typing, so on launchit.site `select combobox "" "JavaScript"`
  said "nor anything else to click" while `button "JavaScript +"` sat next to the box. It
  now also names the buttons and links next to the box that say the typed words.
- **A task that signs in on the way to its work does the work when already signed in.** A
  trail learned signed out signs in first. Replayed signed in, the site skipped its sign-in
  page, and the replay stopped there and said the work was done: on launchit.site "submit a
  product" stopped at "Continue with Google" on /register and submitted nothing. Now, when
  the site shows it is past its sign-in page, the replay skips the trail's sign-in steps,
  says so, and runs the rest. A trail that is only a sign-in is still "already done".
- **A new task is never given a trail that does something else.** A request was matched to a
  site's only trail when the two names shared any one word, so on launchit.site a brand-new
  "submit" task, whose name shared the product's name with the saved sign-in trail, replayed
  the sign-in and stopped on its page instead of answering "new task". Now two names that
  say they do different things (sign in, add or submit, delete or cancel, buy, send, edit,
  or only look something up) are never the same job, and the reply says which trail ran
  whenever it was found by other words and could not start.
- **`select` on a combobox that draws no options says what it drew instead.** A box whose
  suggestions are plain buttons (launchit.site's "Built with" shows `JavaScript +`) got
  "Its options are ." with nothing after it. The reply now says it typed the words and no
  options appeared, and names the buttons and links that did appear, so the agent can fill
  the box and click one.
- **The first look at a client-side app shows the page it draws.** A `go` returned as soon as
  the page's HTML had arrived, before the app's own code had loaded and drawn anything, so
  launchit.site/submit showed only its header and footer and tinylaunch.com/dashboard a
  signed-out shell. A `go` now waits, like a click that changes the address, until the
  page's scripts and requests have finished and nothing has been redrawn for half a second.
- **A task's steps never run on another site's page.** Every task in a profile shares one
  tab, so steps sent for one site could run on a page a task for another site had left open
  (a `js` line for agenticskills.io ran on saashub.com, and nothing said so). Dejo now goes
  back to where the task left the tab first and says so in the reply; steps that name refs
  from the old view do not run, and the task's page is shown again for fresh ones.
- **A sent form is shown after the site answers.** A `click!` on a submit that sends in the
  background returned while the form was still sending (fields disabled, no result yet). A
  sent step now waits until the page is still, and keeps any toast or status line that
  appeared on the way, so the reply shows what the site said.
- **Every sent step says whether the page answered:** its message, the requests that failed
  (4xx/5xx), or that nothing appeared.
- **A form the browser holds back is named.** When a submit is stopped by the browser's own
  checks ("Please fill out this field"), the reply stops and names the fields instead of
  looking like it worked.
- **Plain words are not risky on things that cannot send.** A link only opens a page, a tab or
  an option only switches what is shown, and removing a chip from an unsent form deletes
  nothing, so none of them needs a `!` any more. A link sent as a POST or DELETE still does.
- **Filled fields read as filled.** A box with a placeholder kept its value on a line of its
  own and showed no `[filled]`. `read` on a field now gives what it holds: a box's value or a
  dropdown's chosen option (never a password).
- **More dropdowns and check boxes work.** `select` chooses in a dropdown the site hides behind
  its own menu, and in a combobox that is not a `<select>` (it types, then clicks the option);
  it says so when a dropdown is disabled. `check` ticks a styled box through its own label
  when the label covers the real one.
- **Any ref the page has can be used**, including folded rows, lines past the view's budget,
  refs from a full view after a partial `look`, and refs spelt as `look raw` prints them.
- **`\n` in a fill is a new line in a text area** (kept as written in a one-line box).
- **`wait` waits** for its target to appear instead of failing because it is not there yet.
- **One long text can be read by its parts:** `read passage "words" eN as name` gives the section or paragraph that
  says some words, and `look <words>` shows where they are.
- **Pages are shown drawn.** After any step that moves to another address, Dejo waits until a
  single-page app is still.
- **Sites get the machine's language and region,** not the browser's en-US. `DEJO_LOCALE`
  chooses another.
- **Nameless buttons and links are described:** the words they show, what their icon says, or
  that they have no name. Such a button is saved by the words beside it, and every saved step
  says truly how it is found.
- **Uploads are checked:** the file must reach the page's file box, or the reply says why not.
- **A tab a step opened is named** in the reply, with how to work in it.
- **The view is clearer:** a disabled control with no ref stays in it, marked disabled; an open
  modal dialog comes first; a block repeated word for word prints once with a count; a card
  that is one nameless link is kept; `look raw from` stops at the end of its section; every
  `look` in one call is shown, in order.
- **One-time sign-in codes and magic-link tokens are hidden** in the view and in `look raw`; a
  `read` of the element still gives them.
- **Fewer false alarms.** reCAPTCHA's invisible badge is not a human check; Reddit's "Prove your
  humanity" page is. A site that is down is never blamed on the profile, and nobody is told to
  delete a profile for it.
- **Slow pages and redirects are handled in words.** A heavy page that takes too long to
  describe is looked at again, and a `go` cut off by the page's own redirect is retried,
  instead of showing Playwright's raw error.
- **Replays are safer.** A cookie-banner click is skipped when the banner is not shown. A trail
  that needed a `js` change is not saved, with the reason. The page's own title comes back
  after a `js` line writes to it. Every replay reply says how to replace a trail that gives
  the wrong answer.
- **A profile another Dejo session holds is refused, naming that session,** instead of falling
  back to another browser.
- **The MCP server reports Dejo's own version**, not the MCP library's.
- **A sign-in window behind a Cloudflare check no longer spins forever.** Between calls,
  Dejo's browser thread waited on its job queue and made no Playwright calls, and Playwright
  only handles the browser while a call runs. A page left alone that way stalled:
  `dejo_login` on saashub.com sat on "Just a moment..." for good, and an `alert()` stayed open
  until the next call. The worker now keeps the browser answered while it waits
  (`engine/tests/test_worker.py`).
- **A sign-in kept in a session cookie now survives Dejo's browser closing.** Chrome drops a
  cookie with no expiry when the browser closes, and Dejo's closes after every sign-in window
  and server restart, so on sites like saashub.com `dejo_login` worked and the next run was
  signed out. Session cookies in a profile are now given a 30-day expiry inside the browser,
  at close and every few seconds while it waits (for a person who shuts the window
  themselves). They stay in Chrome's own encrypted cookie store; nothing is written anywhere
  else.
- **A plain dropdown shows its choices.** The options of a native `<select>` have no ref in
  Playwright's snapshot, so the page view left them all out and an agent could not see what
  to pick. Its line now lists them and the one chosen:
  `e3 combobox "Category" [chosen "Productivity"]: options Choose one · Development · …`,
  cut with "+N more" on long lists, and every option counts when the view ranks lines by
  the task.
- **`select` with an option that is not there stops at once and names the real ones.** It
  waited Playwright's full 15 seconds and then returned the bare "Locator.select_option:
  Timeout 15000ms exceeded". Plain words now also match what the option shows, not only the
  value behind it, so `select e3 "September"` picks the option whose value is `sep`.
- **What a `js` line returns is in the reply** (`js returned: ["January", "September"]`,
  as JSON, capped at 2,000 characters). It was thrown away, so agents wrote it into the page
  title just to see it.

## 0.2.1 — 2026-10-23

- **Dejo no longer tells websites it is a hidden browser.** With a browser profile, which is
  every MCP session, Dejo's headless Chrome introduced itself as `HeadlessChrome`, and
  Cloudflare checks and plain 403 walls turned it away on sight. The honest user agent (the
  real Chrome version, without that one word) was only used when no profile was open. On the
  six real-site benchmark tasks that had been blocked for every headless tool, Dejo now opened
  all six sites and answered five of them right
  (`benchmarks/benchmark-real-2026-10-23-agent.json`).

## 0.2.0 — 2026-10-23

**Learning a website now costs fewer tokens, on average, than using a browser tool with no
memory at all.**
On 19 tasks across 11 lesser-known real websites (Claude Sonnet 5, medium), Dejo got 19 of 19
right; the first run averaged 251k tokens against Playwright MCP's 409k (17 of 19 right) and
Playwright CLI's 559k (18 of 19), and 17 of 19 repeats were a single tool call at about 81k
tokens. Tasks and raw results are in `benchmarks/` (`real_tasks.py`,
`benchmark-real-2026-10-2*.json`).

### Breaking: five tools instead of sixteen

Every tool name is read on every turn, and choosing between sixteen was where agents went
wrong. The old names are gone:

| 0.1.x | 0.2.0 |
|---|---|
| `dejo_run`, `dejo_act`, `dejo_read`, `dejo_save`, `dejo_repair` | `dejo_run` (steps, one per line) |
| `dejo_login`, `dejo_login_done` | `dejo_login` (then `done=true`) |
| `dejo_profile` | `dejo_profile` |
| `dejo_sites`, `dejo_show`, `dejo_map`, `dejo_commons` | `dejo_memory` (`what=sites/show/map/commons`) |
| `dejo_forget`, `dejo_note`, `dejo_share`, `dejo_borrow` | `dejo_manage` (`do=forget/note/share/borrow`) |

Replies are plain text, not JSON: the whole tool list is about 3,900 characters (was 29,000).
`dejo_run` is marked to load up front in Claude Code. The CLI (`dejo run`, `dejo sites`,
`dejo show`, `dejo forget`, `dejo map`, `dejo login`) is unchanged, and memory from 0.1.x is
kept.

### Added

- **Steps.** Your agent sends many steps in one call (`click link "Issues"`, `read css ".count"
  as open`). They run in order; Dejo stops at the first that fails, keeps the ones that passed,
  and shows the page there, so the next call sends only the rest. A step that reads the answer
  saves the task by itself; `done=true` saves one that reads nothing.
- **A new page view.** One line per control, each with a ref, the words of the task first, long
  pages folded and paged. `look` shows it on purpose, also in the middle of steps.
- **Picks by place.** `click css "article h3 a" first` stores "the first one", so a list in a
  new order still opens its first item.
- **Repair in place.** When a replay breaks at one step, one line fixes it. The new way goes
  first, the old ways that worked stay as backups, and the rest of the task replays in the same
  call.
- **Risky steps.** A step that buys, pays, sends, deletes or submits must be marked with `!`;
  unmarked, it is not done, and a marked one never runs twice on its own.
- After saving, Dejo says what every replay will answer, and a read sent again with the same
  name replaces the old one.

### Fixed (found on real websites)

- Address checks keep the part after `?` that changed (page 5, a price filter, sites that serve
  every page as `/content.php?navoid=N`), and a stored way of finding an element must match only
  that element. Before, a replay could click the wrong link and call it right.
- A url given on replay that is only the trail's own start with parts left out no longer
  replaces the start (it sent "page 5" back to page 1).
- A Cloudflare "Performing security verification" page is recognised: Dejo stops at once and
  keeps nothing done on it. A 403 or 429 says the site refused this browser, a 401 asks for a
  sign-in.
- Learning's `go` records the page's HTTP status, so an error page is no longer learned on.
- A slow first page that did arrive counts as arrived, and a saved task always starts with a
  `go`.
- A bare `press Enter` replays, and Dejo waits for the page it submits to.
- A read of the whole page is refused; a field typed into again drops the first try.
- A locator that worked once is kept as a backup after one miss (it used to be dropped).

## 0.1.2 — 2026-10-18

- **A sign-in page is no longer read as the answer.** Replaying a Google Doc while signed out,
  Google sent the document to its sign-in page with the document's address in the query string.
  The address check matched that, walking back joined the document's path onto
  accounts.google.com (a 404 page), and the run reported `ok` with the 404 text as the answer.
  Address checks now ignore the query string unless the saved address has one, walking back
  stays on the route's own site, and the run reports `needs_login`.
- **An error page stops the run.** When a site answers a step's address with HTTP 400 or above,
  the run stops with the new outcome `page_error` (`dejo run` exit code 6) instead of reading
  the error page. Nothing is marked broken and no repair is offered. A 401/403 that shows a
  sign-in page is reported as `needs_login`.
- **A site's only route is not run for a different job.** "read the keywords tab of the Sheet"
  ran the one route saved on docs.google.com, "read the full text of a Google Doc", because
  both start with "read". Sharing only an action word (read, open, check, download...) no
  longer counts as the same task; a swapped subject ("message riya" for "message ankush")
  still does.
- **`dejo run` prints the answer.** A run read the value it was saved for (the open issue
  count, the invoice total) and never showed it, so a terminal run ended with no result.
- **`dejo run --json`** prints one line of JSON (outcome, answers, saved files, time) for cron
  jobs and scripts. Exit codes: 0 done, 1 failed or needs a repair, 2 no trail or the site was
  rebuilt, 3 needs a sign-in, 4 blocked by a captcha, 5 not on the trail's starting page, 6 the
  page answered with an HTTP error.
- **The README's `dejo run` example works.** It showed `--task`, which `run` does not have, so
  the first command a reader copied failed. `run` takes the task as plain words:
  `dejo run "count open issues" --site github.com`. `dejo borrow` suggested the same broken
  form and now prints the working one. A test checks every `dejo` command in the READMEs.
- `dejo --help` names the real default memory file, `~/.dejo/memory.db`.
- The README no longer says every tool answered "correctly" 30 times out of 30. The benchmark
  checks that an answer came back, not that it was right, so it now says every tool answered.
- **The Claude Code setup line adds Dejo for every project.** `claude mcp add` alone adds a server
  to the current folder only, so Dejo vanished when Claude Code opened anywhere else. The READMEs now
  say `claude mcp add --scope user dejo -- dejo-mcp`.

## 0.1.1 — 2026-10-15

- **Moving from Cairn is instant.** An old `~/.cairn` folder is now moved to `~/.dejo` instead of
  copied. A real folder held 1.5 GB of signed-in browser profiles, and copying it took longer
  than an MCP client waits for a server to start, so the first start looked like a failure.
- Listed in the official MCP Registry as `io.github.dejohq/dejo-mcp`.
- The test suite can no longer touch the real `~/.dejo` or `~/.cairn` on a developer's machine.

## 0.1.0 — 2026-10-15

The first release under the name Dejo. Formerly Cairn (`cairn-browser`, `cairn-browser-mcp`).

- **Dejo's own memory.** One SQLite file, `~/.dejo/memory.db`, with no size limit and no
  account. An existing Sibyl memory is brought across on first start. Sibyl stays available
  as an optional backend (`pip install "dejo[sibyl]"`, `DEJO_MEMORY=sibyl`).
- **Signing in is checked.** `dejo_login_done` and `dejo login` look at the window before
  saying you are signed in, and never record a sign-in that did not happen.
- **A stuck browser profile is named.** When a page times out in a saved profile and loads in
  a fresh browser, Dejo says the profile is stuck, instead of blaming the website.
- **Waiting for an iframe waits for its content.** `wait_for element:` on a frame waits for
  something inside it, and the new `in_frame:<frame>|<inside>` waits for one thing in a frame.
- **A step whose proof arrives late is not called broken.** A step that acted gets up to 3
  seconds for its check to come true.
- Everything moved to the new name: the `dejo` command, `dejo_*` tools, `DEJO_*` settings
  (old `CAIRN_*` ones still work) and `~/.dejo`.
- The paid "sell a trail" market (x402 on Base) from the hackathon version was removed.

## Related

- [Dejo: browser automation MCP that remembers websites](https://dejo.run/)
- [Dejo MCP server setup: install in a minute](https://dejo.run/docs)
