Skip to content

Releases

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 13:14
1bb630b

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/next release 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, JevTextUsage and JevRunResult.textUsage; use caller-registered native Midscene aiInput instead. JevNodeOptions.getPage now accepts execution contexts for act/assert/wait nodes. Consumers should review the updated README composition and result types before upgrading.
  • Keep @midscene/test and playwright as 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 main now 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

v0.2.0-beta.5 Pre-release
Pre-release

Choose a tag to compare

@KiritoKing KiritoKing released this 24 Sep 06:57
b9e0f92

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 main stable / next beta 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 beta dist-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

v0.2.0-beta.4 Pre-release
Pre-release

Choose a tag to compare

@KiritoKing KiritoKing released this 23 Sep 09:13

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_value for 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

v0.2.0-beta.3 Pre-release
Pre-release

Choose a tag to compare

@KiritoKing KiritoKing released this 23 Sep 03:56

Changes

  • Add jevWaitFor for repeated read-only JEV checks of an observable browser condition.
  • Match Midscene aiWaitFor option names and defaults: timeoutMs (15 seconds), checkIntervalMs (3 seconds), and optional context.
  • 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.2 Pre-release
Pre-release

Choose a tag to compare

@KiritoKing KiritoKing released this 22 Sep 19:54

v0.2.0-beta.1

v0.2.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@KiritoKing KiritoKing released this 22 Sep 18:54

v0.2.0-beta.0

v0.2.0-beta.0 Pre-release
Pre-release

Choose a tag to compare

@KiritoKing KiritoKing released this 22 Sep 17:44

v0.1.3-beta.2

v0.1.3-beta.2 Pre-release
Pre-release

Choose a tag to compare

@KiritoKing KiritoKing released this 22 Sep 13:59

v0.1.3-beta.1

v0.1.3-beta.1 Pre-release
Pre-release

Choose a tag to compare

@KiritoKing KiritoKing released this 22 Sep 11:23

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-only WAIT.
  • Added prerelease publishing protection: GitHub prereleases publish under npm beta; stable latest remains 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.1

Validation

  • 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)

Pre-release

Choose a tag to compare

@KiritoKing KiritoKing released this 22 Sep 11:19

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.