Commit Graph
35 Commits
Author SHA1 Message Date
Kacper Kapuściak 357f844970 docs: drop the redundant Example projects nav group (#861) 2026-10-05 15:09:49 +02:00
Kacper Kapuściak 7149587674 docs: link standalone examples from technology cards (#853) 2026-10-05 13:22:44 +02:00
Gustavo CostaandOskar Kwaśniewski d1f2089081 feat(decision): act and assert through an AI SDK decision model (#775)
* feat(decision): add Clef and Jev executors on the System One choice API

* feat(decision): default Clef transport to clef-flash

* feat(decision): generalize to decision models, address review

* fix(decision): reject non-string decision choices

* fix(decision): skip empty select labels and blank destinations

An empty option label or whitespace-only destination offered as a choice fails at dispatch with INVALID_ARGUMENT and aborts the step instead of letting the model re-aim. Omit them at enumeration. Also qualify the uncertain-action docs: blocking stops the selected action, while earlier confident actions in the step have already run.

* feat(decision): add opt-in vision for Clef, Jev stays text-only

The executor stays text-only by default. With vision true and a transport that declares it, masked viewport pixels ride along as System One images data URLs. Clef declares vision; Jev never receives pixels. Withheld or tainted viewports fall back to semantic text.

* docs(decision): qualify vision cost to calls carrying pixels

* fix(decision): untainted pixel fixtures and honest skill pixels line

The test helper takes a tainted flag so the image-send tests use the only state the runner returns pixels in; tainted captures stay withheld observations. The skill no longer claims pixels are unavailable: screenshots may inform node choices with vision true, without adding point actions.

* bench(testbed): luna vs clef-flash harness and first numbers

Same todo flow under two configs: default agent on gpt-6-luna via OpenCodeX and decisionExecutor on clef-flash. Luna side passed in 23s with 6 model calls; clef-flash pending credentials. Includes the probe script, the docs section, and the flow screenshot.

* docs(decision): fill clef-flash benchmark row

Two no-cache runs both blocked uncertain on the first action (a25 at p=0.619, conf=0.387 against the default 0.9 gates), answering in about a second with 1,543 input tokens.

* docs(decision): benchmark aggregates over 5 runs per side

Luna completed 5/5 flows at ~14s and ~25k input tokens per run; clef-flash blocked uncertain 5/5 at ~1s and ~1.5k tokens per run.

* bench(testbed): parametrized flow, gate sweep, wire-shape finding

Params fix the missing type choices; gates 0.6/0.5 and 0.51/0.3 still block. Direct experiment shows hierarchical structured questions take clef-flash from 0.57 to 0.89 confidence on the same screen.

* feat(decision): hierarchical operation-then-target on structured transports

Structured transports (Clef, Jev) now decide the operation first and the target within it, with object instructions and element records. Flat endpoints keep the single string choice. Live benchmark: first operation 0.909/0.802, first target 0.940/0.775, up from 0.747/0.558 flat.

* docs(decision): compare luna vs clef-flash vs clef with measured cost

* feat(decision): run decisions through AI SDK evaluate, gates opt-in

decisionExecutor now accepts any AI SDK evaluation model that answers
choice questions, such as typeSafeAi.evaluationModel('jev-latest'), and
decides through experimental_evaluate (one choice question per decision,
no retries, so the call budget stays exact). ai is an optional peer that
loads only on that path. evaluationModel() exposes clef(), jev(), and
systemOne() transports to experimental_evaluate, which covers Clef until
it has an AI SDK provider.

The official TypeSafe provider rounds probabilities to two places, so a
long distribution can sum to 0.99: validation now allows half a unit per
rounded option, the AI SDK rule, and jev() declares the two places.

Probability and confidence gates are off by default and stay
configurable. Measuring clef-flash without them surfaced three executor
bugs, each fixed here:
- a lone target is dispatched without a one-option question, which the
  choice API rejects with HTTP 422;
- acting decisions receive the step's action history, and the repeat
  guard counts the same action on the same screen across the whole step,
  so an A-B oscillation blocks instead of burning the call budget;
- the operation and target questions state that typed text is not saved
  until it is submitted.
The structured path also checks the call budget before the target
request (review feedback).

Testbed todo flow, 5 no-cache runs each: clef-flash 5/5 (9.3s mean, 12
calls), clef 5/5 (11.5s, 12 calls), luna unchanged at 5/5 (14.9s).

* bench(testbed): Laya through systemOne

Laya serves the System One API and accepts structured values, so it runs
through systemOne({ structured: true }) unchanged. On the todo flow its
first operation question chose unsupported at 0.29 / 0.10 on four runs,
answered by the multilingual checkpoint its router picked for an English
prompt; the fifth run and further probes hit insufficient_credits.

* fix(decision): address review on rounding, history, and evaluation ids

- validateDecision accepts a rounded distribution only when 1 lies between
  the sums of each value's rounding interval, clipped to [0, 1]; a summed
  per-option tolerance exceeded 1 with many options and admitted two
  options at probability 1.
- Decisions send the 20 most recent history entries, each clipped to 240
  characters, so long steps and large params stay within request limits.
- evaluationModel() builds its answer, confidence, and criteria maps with
  null prototypes, so an id such as __proto__ stays an own entry.
- @ai-sdk/provider moves to dependencies: the public declarations import
  its evaluation types. ai stays an optional peer.

* bench(testbed): pin Laya's English checkpoint

Laya's router sent the full English prompt to its multilingual checkpoint.
The API accepts model 'english' to pin the English one (its routing
metadata reports the explicit model), so the bench config sends it.

* docs(decision): benchmark Laya locally on M1, both checkpoints 0/5

* docs(decision): reconcile laya narrative with run evidence, money not tokens

* feat(decision): caller-overridable transport flags on clef() and jev()

* feat(decision): AI SDK evaluate executor with element table and text model

* fix(decision): empty-tree check and provider pin

* fix(decision): address review on secrets, options, errors, and docs

Answers the cubic threads on the evaluate-only executor: terminal checks reject an incomplete screen instead of judging it, secret markers are stripped at any depth, hidden/disabled options are never offered, select options share the 255-choice cap, select criteria name the option, out-of-range probabilities fail, text-model errors mirror the decision mapping, and the README/docs describe the evaluate-only API.

* fix(decision): count dropped select options and fix README

Counts enabled options inside rows dropped past the element cap as omitted, adds the E2EConfig type import to the README example, and qualifies when type is offered.

* fix(decision): settle terminal claims by the check and match codebase style

The second rejected done/failed claim now ends by the check verdict (fails -> ACTION_FAILED, anything else -> blocked), and the completion check honors the gates. The decision state carries the last 10 actions, check targets show their checked state, checked radios are never toggled, and options dropped by the per-question cap stay out of omitted. The docs example opens /todos in test code since navigate is not offered. Single quotes, template literals, and split long lines across the package.

* fix(decision): show filled fields to verdicts and pin the history window

Verdict views (assert and the completion check) build the element table with typing enabled, so a field the step filled keeps its row and value even when the step itself cannot type. The history test now asserts the window holds the newest ten actions.

* fix(decision): let completion checks see results and name the text key

Page text keeps a named node's text when it differs from the name, as formatNode does, so a status named Greeting that says Welcome back, admin! reaches the verdict. The completion check now asks whether the task is complete and sees the non-secret params and the actions with their typed values; rejected claims stay out. The text prompt names the single text key, asks for no code fence, and prefixes the request so JSON-object response modes accept it.

* fix(decision): keep secret handles out of replayed history and mark check inputs as data

Replayed summaries name a filled secret handle; seeding the history now replaces declared secret names with <secret>, so names reach the model only as secret question criteria. The completion check treats action descriptions, typed values, and params as data, and the guide says the check sees only non-secret values.

* fix(decision): redact only the handle in replayed secret-fill summaries

Matching the declared secret name anywhere in a replayed summary also erased labels and values equal to it, and missed handles the runner cut at 40 characters. Only the quoted handle after fill secret at the start of the summary becomes <secret> now.

* docs(decision): describe the one-request fan-out in the guide intro

* fix(decision): count a scroll that changes what is in view as progress

The fingerprint behind the stall guard hashed node content but not position, so a scroll that only moved the viewport read as page unchanged and the third one blocked the step. It now also hashes whether each node meets the viewport (membership, not coordinates), so a scroll that brings other nodes into view resets the count while one that moves nothing, as at the page bottom, still trips the guard.

* chore: prune @pnpm/exe from the lockfile after merging main

* fix(decision): match the supported Node range in engines

---------

Co-authored-by: Oskar Kwaśniewski <oskar@okwasniewski.com>
2026-10-04 10:08:55 +02:00
Kacper Kapuściak 37497dc750 docs: split Writing tests into Goals, Assertions, and Locators pages (#780) 2026-10-03 11:02:56 +02:00
Oskar Kwaśniewski 9d61e2130f docs(mobile): document physical devices (#768)
* docs(mobile): document physical devices

Closes #766

* docs(mobile): phone requirements in setup and README

* docs(mobile): move physical devices to its own page
2026-10-02 19:43:00 +02:00
Kacper Kapuściak 490e965c2e docs: add a light mode that follows the system theme (#757)
* docs: add a light mode that follows the system theme

The site was dark only (appearance.strict). It now follows the reader's
system and the navbar toggle switches it. The logo has a light and a dark
file, code blocks are one flat surface in both modes, and the Expo card
icon is drawn black and inverted in dark mode.

The light logo is a placeholder: the white PNG recolored to ink, which
inverts the mascot's shading.

* docs: update the light-mode logo

* docs: the video card thumbnail uses the surface color in both modes

--e2e-surface now has a light value on :root, so the hairline fallback
never applies.
2026-10-02 16:05:13 +02:00
Oskar Kwaśniewski cec19ba1db docs: agent prompt quickstart, why-e2e intro, separate API testing page (#733)
* docs: agent prompt quickstart, why-e2e intro, separate API testing page

* docs(api-testing): keep the signed-in fixture's cookies on the app origin

* test(skill): walk the docs without entering node_modules

Node 22's recursive readdirSync followed the workspace symlink loop under
docs/node_modules and failed with ELOOP before the filter could drop it.
2026-10-01 18:36:22 +02:00
Oskar Kwaśniewski bae1cf7239 docs: add PostHog analytics to docs site (#673) 2026-09-30 10:24:47 +02:00
Oskar Kwaśniewski 77940082f5 docs: add Mobile CI guide for GitHub Actions, EAS Workflows, Bitrise, Codemagic (#672)
* docs: add Mobile CI guide for GitHub Actions, EAS Workflows, Bitrise, Codemagic

New docs/mobile-ci.mdx: what a mobile CI job needs (release build, booted
device, install, run), per-service YAML for iOS and Android, and the
service-specific gotchas (EAS nested-virtualization runners, Bitrise PR
secrets and deploy-dir zipping, Codemagic Linux-only emulators). Linked
from ci.mdx, mobile.mdx, and the Automate nav group.

* docs(mobile-ci): pin the iOS runtime in every example, warn about PR secrets
2026-09-30 09:26:26 +02:00
Oskar Kwaśniewski 86fb6eae1f feat(eas): @e2e-dev/eas, EAS Simulators for the mobile engine (#671)
* feat(mobile): videoTouches option, and record video with device scope so an attempt with no open app still records

* feat(eas): @e2e-dev/eas, EAS Simulators for the mobile engine

* fix(mobile): forget a session a device-scope recording ended, and hand providers the agent-device version

* fix(eas): pin the daemon's agent-device, idle guard across targets, idle below a short duration

* fix: record-only session bookkeeping on the attempt-end stop, per-session EAS idle deadlines

* fix(eas): an ended job is not ready, per-run release in tests, clearer session count and naming

* fix(eas): refuse an idle limit at or above the duration
2026-09-30 09:09:30 +02:00
Oskar Kwaśniewski ec01e1112a docs: split Guides into topic groups, move agent steps and telemetry (#654)
Guides was 12 flat pages. Group them by the question a reader has:
models and agents, sign-in and security, debug and explore, automate.
How agent steps work moves from Extend (it is not an extension point)
and Telemetry from the Reference tab. Integrations and Migrate follow
the guides. URLs are unchanged.
2026-09-29 22:51:16 +02:00
Kacper Kapuściak a1d12ff9a5 docs: add a Copy page menu with Markdown and AI assistant links (#651) 2026-09-29 21:30:26 +02:00
Oskar Kwaśniewski ec1ea1e4c3 feat(mcp): parallel sessions and a bug-bash skill topic (#634) 2026-09-29 17:17:07 +02:00
devin-ai-integration[bot]andSzymon Rybczak d011cbf7ff docs: use the pixel mascot favicon, black in light mode and white in dark (#633)
Co-authored-by: Szymon Rybczak <szymon@tester.army>
2026-09-29 12:25:23 +02:00
devin-ai-integration[bot]andSzymon Rybczak 246d93a00b docs: always use the white favicon (#631)
Co-authored-by: Szymon Rybczak <szymon@tester.army>
2026-09-29 12:04:30 +02:00
Oskar Kwaśniewski c1e43d947f docs: label navbar GitHub link "GitHub" instead of repo name (#630) 2026-09-29 11:37:32 +02:00
Oskar Kwaśniewski d27ade84ef feat(integrations): @e2e-dev/integrations/kernel, Kernel browsers for the web engine (#596) 2026-09-29 11:16:10 +02:00
Oskar Kwaśniewski bab155edb1 docs: use black and white e2e logo as favicon (#601) 2026-09-28 17:33:40 +02:00
Kacper Kapuściak 0049b78b7c docs: TesterArmy card under the table of contents (#540) 2026-09-25 19:10:52 +02:00
Oskar Kwaśniewski 6aa2652989 docs: og image for the docs site and a README header (#541) 2026-09-25 19:10:19 +02:00
Oskar Kwaśniewski 15e6aa5400 docs: the site is black and white, dark only, with the e2e lockup as the logo (#531) 2026-09-25 12:03:33 +02:00
Oskar Kwaśniewski f5e96d0cbe feat!: rename engine packages to @e2edev/web and @e2edev/mobile (#392) 2026-09-21 19:52:32 +02:00
Oskar Kwaśniewski 15081f3068 feat(oauth): sign in with a ChatGPT, GitHub Copilot, or SuperGrok subscription (#335) 2026-09-17 23:34:10 +02:00
Oskar Kwaśniewski 5cd3954547 docs: a security model page states every rule and limit as the code enforces it (#305) 2026-09-14 17:34:11 +02:00
Oskar Kwaśniewski fd2b4e71b3 docs: migration pages from Playwright, Cypress, Selenium, Detox, and Maestro (#302) 2026-09-14 16:10:49 +02:00
Oskar Kwaśniewski e124f44b3a docs: code blocks use the GitHub theme in both color schemes (#304) 2026-09-14 15:57:38 +02:00
Oskar Kwaśniewski 5d1ae7a7f5 docs(reference): cut the slop from the Reference tab (#295) 2026-09-14 09:42:41 +02:00
Oskar Kwaśniewski ff33218345 docs: e2e is agentic testing first; quickstart for web and mobile; icons everywhere (#282) 2026-09-12 13:52:59 +02:00
Oskar Kwaśniewski cde2c97412 docs: a page on testing viewports, one target per size, resizing in a test, and what the agent sees (#274) 2026-09-12 11:19:02 +02:00
Oskar Kwaśniewski fcf4fe6ff7 docs: split guides and references by platform (#266) 2026-09-11 17:32:13 +02:00
Oskar Kwaśniewski afde1981c5 feat(cli): e2e mcp gives coding agents a live session on the app (#181) 2026-09-11 15:53:15 +02:00
Oskar Kwaśniewski b8a7824e9b feat(cli): e2e explore runs the agent toward a goal without a test file (#243)
* feat(cli): e2e explore runs the agent toward a goal without a test file

* test(testbed): bug garden with planted defects and an explore benchmark

* fix(explore): review round: resolved target names, no app.open without a URL, clock recheck, garden and bench hardening

* fix(explore): review round two: one config for the target pick and the run, pickTarget under test, clock wording

* feat(explore): build the explorer from agents.default or --agent, on the agents config

* docs(explore): the loop clock is a normal ending, a planner call timing out is not

* fix(explore): review round three: --agent default works without an explicit default, docs qualify the model and executor cases
2026-09-10 17:50:02 +02:00
Oskar Kwaśniewski 2d0c6931c4 feat(agent)!: the model is an AI SDK instance the config constructs; init asks which gateway (#255) 2026-09-10 17:26:25 +02:00
Oskar Kwaśniewski a0a4df01b4 feat(github): the GitHub reporter comments on the pull request from Actions (#246) 2026-09-10 14:47:36 +02:00
Oskar Kwaśniewski b67e4d1aac docs: move the docs site from Starlight to Mintlify (#240) 2026-09-09 18:23:08 +02:00