Repository navigation
Releases
v0.2.0
Release @chlrc/midscene-jev-runner@0.2.0
- 2026-10-12
Stable promotion and compatibility
- Promote the beta series to stable, integrating the previously separate solution and realistic-fixture PRs, plus the latest
main/nextrelease policy history. - Relative to 0.1.2, add public assertion/wait APIs and nodes, scoped semantic/geometry observation and public Midscene Agent composition alongside the existing runner integration.
- Pre-1.0 breaking changes: remove
TYPE_TEXT/CLEAR,JevTextUsageandJevRunResult.textUsage; use caller-registered native MidsceneaiInputinstead.JevNodeOptions.getPagenow accepts execution contexts for act/assert/wait nodes. Consumers should review the updated README composition and result types before upgrading. - Keep
@midscene/testandplaywrightas peer dependencies. The caller owns its Page and native text input; JEV does not fill/clear fields or own navigation, authentication, routes or cleanup.
Fixed
- Keep weak nearby labels inside the current semantic group; preserve explicit cross-group ARIA naming.
- Keep nonmodal editable-combobox suggestions from hiding uncovered actions; retain modal and hit-test constraints.
- Guard Escape against clearing focused caller-owned search text, including open shadow roots and frames.
- Give operation selection the same bounded candidate facts as target selection without keyword-based action filters.
- Retry only recognized transient observations once and permit independent completion reconciliation of uncertain actions without replaying them.
- Preserve assertion fact identity, group and layer evidence, including hidden counterevidence.
- Explain caller-specified action order and prerequisites in both decision questions without business-specific sequences or intent-keyword action bans; suppress independently rejected terminal judgments only in the same observed state while preserving delayed completion reconciliation.
- Offer bounded read-only settling after an unchanged successful action readback even without loading markup; idle, stale and failed actions do not create this recovery path, and independent completion remains required.
- Preserve visible numeric progress in bounded page evidence instead of masking every number; hidden numeric churn remains excluded.
- Scope cycle and unsuccessful-action suppression by operation, semantic signature and actual node/frame/document identity, leaving untried same-name controls available.
Validation and release
- Add structurally varied regression cases, realistic local server/Chromium fixtures, independent state/side-effect checks, and sanitized decision-wire diagnostics.
- Require an atomic custom model key/base/model triple in the live harness. Retain JEV as the default after a text-only comparison; no alternative-model production adapter is introduced.
- Compose segmented native date input through public caller-side Midscene keyboard/input nodes in the explicit en-US fixture; other locales/widgets remain unverified.
- A reviewed stable version bump merged into
mainnow authorizes automatic release. Actions verifies the exact commit, version/channel, checks, legacy tests, package and mandatory real-model scenes before creating the GitHub Release and publishing the verified tarball with npm provenance. Read-back verifies registry integrity and dist-tag; uncertain publication is never blindly replayed. Beta releases retain human Publish Release approval.
v0.2.0-beta.5
Changes since v0.2.0-beta.4
- Add Conventional Commit checks to the required CI job for pull request titles and commit messages.
- Add a maintained changelog and document the
mainstable /nextbeta release process. - Keep npm publication behind a manually published GitHub Release. CI verifies the tag, package version, prerelease setting, changelog entry, tagged commit, and branch before publishing the verified tarball to the
betadist-tag. - Include the changelog and release instructions in the npm package.
There are no runner runtime or public API changes since beta.4.
Validation and known limitation
pnpm check passed locally: lint, types, 31/31 integration tests, build, and package smoke test. The required check job passed on PR #2 and on the merged next commit b9e0f924ce376cce951cf1537f3bc7fa093575df. The release tag points to that commit.
The separate live-model-e2e CI job could not run its scenes because its model credentials and configuration are absent in GitHub Actions; this release makes no real-model accuracy claim. The existing beta.4 scene limitation remains unverified in this release.
This is a prerelease. Publishing this GitHub Release triggers GitHub Actions to publish @chlrc/midscene-jev-runner@0.2.0-beta.5 to npm under the beta dist-tag. The stable latest channel remains at 0.1.2.
v0.2.0-beta.4
Changes since v0.2.0-beta.3
- Add maintained local Chromium scene tests for observation, candidate selection, execution, and independent completion readback across 27 integration cases and four synthetic workflows.
- Fix visible text and local context collection through open shadow roots and slots while excluding hidden or inert content from decision facts.
- Preserve current control values and states in decision requests, and expose the actual
target_valuefor SELECT options, including an enabled empty clearing value. - Add a separate real-model scene job to CI and publish the test setup and boundaries in
docs/testing.md.
Validation and known limitation
pnpm check passes: lint, types, 27/27 offline Chromium integration tests, build, and package smoke test. The release tag/version check and local package inspection also pass.
The latest complete local real-model run passed 3/4 scenes. The flight scene still fails before submission after repeated SELECT decisions change or clear previously chosen fields; its independent assertion and CI job remain enabled. This is a beta prerelease on the npm beta dist-tag; the stable latest tag remains at 0.1.2.
v0.2.0-beta.3
Changes
- Add
jevWaitForfor repeated read-only JEV checks of an observable browser condition. - Match Midscene
aiWaitForoption names and defaults:timeoutMs(15 seconds),checkIntervalMs(3 seconds), and optionalcontext. - Preserve timeout diagnostics, check counts, and aggregate model usage in the step result.
This prerelease is published to the npm beta dist-tag. jevWaitFor does not act on the page or replace independent application checks for facts outside the observed page.
v0.2.0-beta.2
v0.2.0-beta.1
v0.2.0-beta.0
v0.1.3-beta.2
v0.1.3-beta.1
What changed
- Replaced the flat DOM context with hybrid DOM semantics, geometry/hit-testing, layer stacks, and goal-aware global ranking.
- Kept disabled and covered controls as non-executable facts so JEV can understand page state without selecting invalid actions.
- Added weak-semantics fallbacks, local form/card/row context, CJK-aware goal matching, and a bounded 24-candidate decision context.
- Added nested dialog/popover/menu/listbox ownership, portal recovery, all Playwright frames, open Shadow DOM, and nested scroll-container actions.
- Added execution-time freshness and hit-testing, stable semantic action signatures, same-state cycle suppression, verifier-gated
DONE/BLOCKED, and observable-loading-onlyWAIT. - Added prerelease publishing protection: GitHub prereleases publish under npm
beta; stablelatestremains unchanged.
Compatibility
The public runJev, createJevNodes, schema, options, result types, environment variables, and caller-owned Page contract are unchanged.
Install this exact test build:
pnpm add @chlrc/midscene-jev-runner@0.1.3-beta.1Validation
pnpm check: 41 tests passed; lint, TypeScript, ESM/CJS, and declarations passed.- Controlled production-path matrix: 30/30 tasks completed over three repeats, with 0 action errors and 0 stale executions.
- npm Trusted Publishing succeeded with provenance; the public registry tarball was downloaded and independently inspected.
These are controlled local-page results, not a universal website success-rate claim. This beta has not yet been rerun against the real BOE write case. See the comparison report for scope and limitations.
v0.1.3-beta.0 was superseded before npm publication because CI exposed a test-only hidden credential dependency. The fix is included here.
v0.1.3-beta.0 (superseded)
This prerelease was superseded before npm publication because CI exposed a test-only hidden credential dependency. No 0.1.3-beta.0 package was published to npm.
Use v0.1.3-beta.1 instead.