Skip to content

Releases

v0.3.15

Choose a tag to compare

@github-actions github-actions released this 01 Dec 09:30
9f5493b

What's Changed

Full Changelog: v0.3.14...v0.3.15

v0.3.14

Choose a tag to compare

@github-actions github-actions released this 30 Nov 15:46
19d23a5

What's Changed

Full Changelog: v0.3.13...v0.3.14

v0.3.13

Choose a tag to compare

@github-actions github-actions released this 30 Nov 11:16
4335cea

What's Changed

  • fix(bsk): pin bsk 0.6.0 (protocol 2.0) and move older CLIs and daemons to the pin by @code-yeongyu in #404

Full Changelog: v0.3.12...v0.3.13

v0.3.12

Choose a tag to compare

@github-actions github-actions released this 30 Nov 09:45
8ef070b

What's Changed

Full Changelog: v0.3.11...v0.3.12

v0.3.11

Choose a tag to compare

@github-actions github-actions released this 30 Nov 08:23
15b4503

What's Changed

  • fix(snapshot): redact data-sensitive page text from every output omowright formats by @code-yeongyu in #381
  • fix(redaction): seal frames hosted by a data-sensitive owner and the matcher oracle by @code-yeongyu in #385
  • fix(screenshot): blank data-sensitive boxes before every capture by @code-yeongyu in #383
  • fix(redaction): guard scoped snapshot selectors, redact page.content(), refuse revealing pseudo-classes by @code-yeongyu in #389
  • fix(redaction): sealed parts inside unmarked elements in layer names, snapshots, selectOption and HTML by @code-yeongyu in #392
  • fix(aside): update an outdated Aside CLI before connecting by @code-yeongyu in #398
  • chore(release): 0.3.11 by @code-yeongyu in #399

Full Changelog: v0.3.10...v0.3.11

v0.3.10

Choose a tag to compare

@github-actions github-actions released this 26 Nov 13:57
5231381

0.3.10

One leak in an ordinary error type and four documentation fixes, found by a sixth independent review of 0.3.9 (#376). No API change.

Fixed: a failed fill() (#377)

  • A DOMException's message is scrubbed. Node's DOMException (what fetch rejects with on abort, structuredClone on a bad value) serves message from an accessor on its prototype, so it is no own property; 0.3.9 scrubbed the stack and left e.message and String(e) carrying the value. An error's message is now read wherever it lives. When the value is found in an inherited one, the scrubbed text is stored on the error itself; the error stays the same object and class. The new test fails on 0.3.9 under Node and under Bun.
  • Limit: a DOMException made in another realm is not recognised as an error.

Docs (the bundled skill and the README)

No example uses a page or collector that an earlier example of the same document closed:

  • presets/network/SKILL.md no longer disposes its collector before the example that waits on it.
  • references/quickstart.md no longer closes its page before the snapshot example.
  • The README's second example and the cookie example in references/stealth.md say in a // given: line that they need a tab that is still open.

These four were not re-run end to end after the edit; the edits remove or qualify the line each failed on.

Known, filed

  • #356: tests that launch a browser inside the default 5 s limit time out on a loaded or slow runner (two more instances on the Windows runner today). #364, #375: two other Windows-only flakes. None is touched here.

Verification

Hosted CI at the merged head: Linux (bun and Node), macOS and Windows pass (Windows on a re-run). Full bun suite on a Linux build box at load 58: 756 pass, 16 skip, 0 fail.

What's Changed

Full Changelog: v0.3.9...v0.3.10

v0.3.9

Choose a tag to compare

@github-actions github-actions released this 26 Nov 13:08
e997a09

0.3.9

A fifth independent review, of 0.3.8, found two behaviours to fix and several sentences that promised more than the code does (#372). No API change.

Fixed: a failed fill() (#373)

  • An Error made in another JavaScript realm (vm.runInNewContext, an iframe) is treated as an error: it is rewritten in place when it can be (a frozen one is replaced by a scrubbed copy, a new native error with the same prototype) and what comes back is a native error. 0.3.8 copied it like a plain object. A Date from another realm and a SharedArrayBuffer are returned as they are; 0.3.8 copied them, and the copied buffer's byteLength threw.
  • The short-value rule counts code points, not UTF-16 units: fill("🙂🙂") on a🙂🙂b leaves the text alone, where 0.3.8 removed the value between two letters. The number in <redacted, N chars> is in code points too.
  • A boxed number or bigint is read as the value it holds; 0.3.8 skipped it. Map and Set contents are read and written through the built-in methods, so a subclass that overrides set, entries or its iterator is not run.

What the redaction is

A best-effort scrub of ordinary error shapes, pinned by the cases in test/redact-value.test.ts. It is not a guarantee about every JavaScript object. The doc comment of redactValue lists what comes back, what is read and what is not; in short:

  • Read: strings; numbers and bigints whose digits contain the value; own properties (string- and symbol-keyed, enumerable or not); array elements; Map and Set entries.
  • Not read: property names; symbols and functions; private fields; the own properties of a boxed string, number or bigint; what only a prototype accessor or a method computes (the text of a URL, Headers or Request); ArrayBuffer, SharedArrayBuffer and their views, Date, RegExp, Promise, WeakMap, WeakSet.
  • The redaction reads an own property at most once per call. The engine may call an error's name and message accessors again itself when stack is first read.
  • A value of fewer than four code points is removed only as a whole token, so a short value next to a letter or digit stays readable.

Comments corrected, code unchanged

  • The orphan reap compares the pid with the recorded start time right before SIGKILL. The comparison and the signal are two steps; a pid that changes hands between them is not protected.

Docs checks (test-only)

The checker reads ** and % in a written delay, looks through a parenthesised optional call, treats a bracket string with a dot as one property, does not flag Atomics.wait with a zero timeout, accepts any identifier in // given:, takes ECMAScript's globals from a fresh realm, and resolves a page function passed by name only when it is declared once. Its comments list what each check leaves out. All 51 examples in the 17 shipped documents pass.

Tests

Five new or extended tests fail before their fix: another realm, code points, boxed number with an overriding Map subclass, and the two docs-check tables.

Known, filed

  • #356: the raw-TLS source scan exceeded its 5 s default in 3 of 5 full runs on a 14-core box at load 36-59 today (5.1, 5.5 and 10.3 s) and passed on idle runners. Cause not established. #364: one slow Windows run of a SQLite test.

Verification

Hosted CI: Linux (bun and Node), macOS and Windows pass at the merged head. Full bun suite on a Linux build box at load 36: 755 pass, 16 skip, 0 fail.

What's Changed

  • fix: errors and built-ins of another realm, a code-point short-value rule, and comments that say what the code does by @code-yeongyu in #373
  • chore(release): 0.3.9 by @code-yeongyu in #374

Full Changelog: v0.3.8...v0.3.9

v0.3.8

Choose a tag to compare

@github-actions github-actions released this 26 Nov 12:16
7ee5224

0.3.8

A fourth independent review, of 0.3.7, found seven gaps (#369). This release closes them, together with what an adversarial pass of our own found before asking for another review. No API change. Where a guarantee has a limit, the limit is stated next to it.

Fixed: a failed fill() (#370)

  • Each own accessor on the error is called once per call; 0.3.7 ran a getter 2 or 3 times.
  • A copy keeps the shape of what it replaces: an array keeps its length (a sparse array of length 4 came back with length 1), a Map or Set keeps its subclass prototype, and an accessor that throws is kept as it is.
  • An Error that cannot be rewritten in place (frozen, or holding a field that is neither writable nor configurable) is replaced by a native error with the same prototype. It is a different object, so that error's identity is not kept.
  • A boxed string that carries the value becomes a scrubbed string; 0.3.7 did not detect it.
  • An error that cannot be read at all (a Proxy whose traps throw) is replaced by a plain error that says so; before, the trap's own error replaced the fill error.

What redaction reaches: strings; numbers and bigints whose digits contain the value; own properties, string- and symbol-keyed, enumerable or not; array elements; Map and Set entries.
What it does not reach: property names; symbols and functions; private fields; what only a prototype accessor or a method computes (the text of a URL, Headers or Request); and objects returned as they are, own properties included: binary buffers, Date, RegExp, Promise, WeakMap, WeakSet.
A value shorter than four characters is removed only as a whole token: fill("a") on locator a a7 leaves a7 readable. That is a readability rule, not a secrecy guarantee.

Fixed: reaping an orphaned browser before its profile is reused

  • After the 5 s grace that follows SIGTERM, SIGKILL goes only to what is still the recorded browser (same pid and start time). A pid that passed to another process in that window is left alone.
  • After the 2 s bound that follows SIGKILL, only an entry that has exited and waits to be collected is passed, because it holds no files. A process that is still running makes connectPipe fail with an error naming the pid and the profile, and its pidfile stays for the next attempt. 0.3.7 removed the pidfile and launched either way.
  • On Windows, and wherever the process state cannot be read, a listed process counts as running.

Docs checks (the bundled skill)

  • A clock call is recognized by its written path, with dots or strings in brackets and with or without a leading globalThis, window or self: page["waitForTimeout"](50), globalThis.Bun.sleep(50), window.scheduler.wait(1000). A delay written as arithmetic on numbers (60 * 1000) counts; a written zero does not; Atomics.wait counts only with a timeout. Outside the check: an alias (an import under another name, .call, .apply, .bind), a name built at run time, and an inline callback whose delay is not written as a number.
  • // given: counts only as a real line comment. Page globals (document, window, ...) are accepted only inside a function handed to the page (inline, or declared in the example and passed by name); host globals (process, Bun, tool, ...) only outside one. Not modelled: such a function cannot see the example's own variables, and code passed to the page as a string is not read.

Tests

  • Five new redaction tests: two fail on 0.3.7, three on the commit before their fix. The two docs-check tables fail on the 0.3.7 checker. A new test builds a real uncollected child process and checks that it is told apart from its running parent (Linux and macOS; skipped on Windows and where python3 is missing).
  • The navigation fixture closes its server in its own release step and reports a failed close.
  • Not tested: the reap's branches for a process that survives SIGKILL and for a pid recycled inside the grace window (no test can make either on demand; their inputs are tested), and the fixture's failure paths.

Corrections (2026-11-26)

A further review found these statements above wrong or wider than what 0.3.8 does (#372):

  • "Each own accessor on the error is called once per call": the redaction reads an own property at most once, but the engine calls an error's own name (and message) accessor itself when stack is first read, so such a getter can run twice. A boxed string's own properties are not read at all.
  • "replaced by a native error with the same prototype" and "objects returned as they are": true only within one realm in 0.3.8. An Error or a Date made in another realm (vm.runInNewContext, an iframe) is copied like a plain object, and a SharedArrayBuffer is copied into an object whose byteLength throws. Fixed in the next release.
  • "A value shorter than four characters": 0.3.8 counts UTF-16 code units, so two emoji count as four and are removed even between two letters. The next release counts code points.
  • "SIGKILL goes only to what is still the recorded browser": the pid is re-checked right before the signal, but the check and the signal are two steps; a pid that changes hands between them is not protected.
  • Docs checks: "a delay written as arithmetic on numbers counts" holds for * / + - only (not ** or %); "a written zero does not" does not hold for Atomics.wait(a, 0, 0, 0), which is flagged; (page?.waitForTimeout)(2) is not flagged; globalThis["Bun.sleep"](2) is flagged as if it were Bun.sleep.
  • #356: the raw-TLS scan does not "start a node process to strip types from every source file". It parses JavaScript files directly and strips TypeScript in-process where the runtime provides stripTypeScriptTypes, falling back to one node subprocess for the batch. Why it exceeds 5 s under load is not established.

Known, filed

  • #356: under heavy load the raw-TLS source scan exceeds its 5 s default (it starts a node process to strip types from every source file). On a build box at load 42-59 the full suite passed once and failed on that one test twice (5.5 s, 10.3 s). #364: one slow Windows run of a SQLite test. Neither is touched here.

Verification

Hosted CI: Linux (bun and Node), macOS and Windows pass at the merged head.

What's Changed

  • fix: redaction edge cases, a reap that reports a live orphan and spares a recycled pid, docs checks by path and realm by @code-yeongyu in #370
  • chore(release): 0.3.8 by @code-yeongyu in #371

Full Changelog: v0.3.7...v0.3.8

v0.3.7

Choose a tag to compare

@github-actions github-actions released this 26 Nov 11:18
49b61b0

0.3.7

A third independent review, of 0.3.6, found five gaps (#366); this release closes them and fixes the orphan-reap race (#361). No API change.

Fixed

  • fill() redaction walks the error graph structurally (#367). 0.3.6 copied every payload hanging off an error through JSON, so an Error nested inside a payload came back as a plain object, with the wrong class and a new identity, even when the value appeared nowhere. Now:

    • an error that does not carry the value is returned untouched;
    • every Error is rewritten in place and keeps its identity and class wherever it sits (a cause, an AggregateError member, a field of a payload);
    • a payload object, array, Map or Set that carries the value is replaced by a scrubbed copy and is never mutated, because it may be an object the caller still uses, such as the command's own parameters;
    • an Error that cannot be rewritten (frozen, or holding a field that is neither writable nor configurable) is replaced by a scrubbed copy of the same class.

    Reached: own properties (an accessor is read once and replaced when it carries the value), array elements, Map and Set entries, numbers whose digits contain the value. Not reached: property names, private fields, what only a prototype accessor computes, binary buffers. Five of the ten contract tests fail on 0.3.6.

  • A reaped orphan browser is gone before its profile is reused (#361). The reap sent SIGKILL and returned at once; it now waits, bounded, for the exit. The race failed two full parallel runs on 2026-11-26 and none of 24 isolated runs.

Docs (the bundled skill)

  • Every example parses and accounts for the names it uses: declared in its document's examples, a platform global, or listed in a // given: line that says what the reader supplies. 13 documents needed imports (compactSnapshot, connect, connectPipe, fs) or // given: lines, and two signature sketches that were not valid JavaScript are now written as calls. The check that enforces this fails on 0.3.6 for those 13 documents and 2 examples.
  • The fixed-delay check parses each example instead of scanning its text, so a comment, a string, an optional call, a parenthesised delay or a regex in a callback can neither hide a clock wait nor fake one. Its contract is a list: sleep, Bun.sleep, Bun.sleepSync, scheduler.wait, Atomics.wait, any waitForTimeout, and a setTimeout or setInterval with a positive literal delay or a bare-name callback with a non-zero delay. A delay kept in a variable and an alias of a timer are outside it.

Tests

  • The navigation fixture releases every resource it acquired, newest first, through every step even when one throws.

Stated plainly

  • A value shorter than four characters is removed only as a whole token; that is a readability rule, not a secrecy guarantee for a short value that touches a letter or digit.
  • The 0.3.6 note's sentence that each Error keeps its identity and class was wrong for errors nested in payloads; it is corrected there.

Corrections (2026-11-26)

A further review found these statements above wider than what 0.3.7 does (#369); each is fixed or restated in the next release.

  • "an accessor is read once": 0.3.7 reads a getter on the error 2 or 3 times.
  • "replaced by a scrubbed copy of the same class": the copy of an Error that cannot be rewritten has the right prototype but is not a native error (Error.isError is false), and it is a different object, so its identity is not kept. A copied array loses its length when it has holes.
  • "Not reached: ... binary buffers": Date, RegExp, Promise, WeakMap and WeakSet objects are also returned as they are, own properties included.
  • "A reaped orphan browser is gone before its profile is reused": the reap waits up to 2 s after SIGKILL and then proceeds whether or not the process has left.
  • The fixed-delay check does not flag a clock call spelled with a string in brackets (page["waitForTimeout"](50)), and the name check accepts a // given: that sits inside a string and a page global used in host code.

Known, filed

  • #356, #364: load-sensitive tests this release does not touch.

Verification

Full suite on a Linux build box at load 27-37, two runs: 746 pass, 16 skip, 0 fail. Hosted CI: Linux (bun and Node), macOS and Windows.

What's Changed

  • fix: walk the error graph structurally, parse the docs examples, release the navigation fixture, wait out a reaped orphan by @code-yeongyu in #367
  • chore(release): 0.3.7 by @code-yeongyu in #368

Full Changelog: v0.3.6...v0.3.7

v0.3.6

Choose a tag to compare

@github-actions github-actions released this 26 Nov 09:41
4c588c4

0.3.6

A second independent review of 0.3.5 found five gaps (#362); this release closes them. No API change.

Fixed

  • A failed fill() scrubs the whole error, not a list of known fields (#363). 0.3.5 rewrote message, stack, data and the cause chain; an AggregateError's members and any field a transport adds to its error (request, attempts) were never visited. Every own property of every error reachable from the one raised is now rewritten. The new test failed on 0.3.5.

    Correction (2026-11-26): this release note first said each Error keeps its identity and class. That holds for the error raised, its cause chain, an AggregateError's members and a list of errors, but not for an Error nested inside a plain payload object or an array of arrays: 0.3.6 copies those payloads through JSON, so such an Error comes back as a plain object, even when the value appears nowhere. A getter, a frozen error and a field that is neither writable nor configurable are not rewritten. Tracked in #366; fixed in the next release.

Docs (the bundled skill)

  • The human-handoff example runs as written. It called path.join(os.tmpdir(), ...) and fs.writeFileSync without declaring them: ReferenceError: path is not defined before the watcher was registered. A new check fails when an example calls fs, os or path that no example of its document declares; no other shipped document failed it.
  • The fixed-delay check reads a timer call whole. The 0.3.5 check tested one line at a time against a decimal-integer pattern and missed 6 of 6 of these: a call spread over lines, a trailing argument after the delay, 1e3, 0x3e8, 1.5, and a comment before the delay. All six are flagged now; five state waits and a zero-delay defer are not.

Tests

  • The navigation tests for emulated devices cover a same-origin navigation with a device set again, after asserting the default width (1440). On the sources from before #342 both fail with actual: 1440, expected: 390.
  • They launch their browser in the first test that runs, not while the module loads: a run whose filter selects no test in the file left one 220 KB profile before and leaves none now.

Stated plainly

  • A value shorter than four characters is removed only as a whole token, so that a one-letter fill does not tear words apart. That is a readability rule, not a secrecy guarantee for a short value that touches a letter or digit.

Known, filed

  • #356, #361, #364: three load-sensitive tests this release does not touch (a raw-TLS guard test, the orphan-reap test, and a SQLite profile test that took 18 s once on the Windows runner against 0.1-1.5 s in five other runs).

Verification

Full suite on a Linux build box: 742 pass, 16 skip, 0 fail. Hosted CI: Linux (bun and Node), macOS and Windows pass.

What's Changed

  • fix: scrub aggregate errors, read timer calls whole in the docs check, declare the handoff example's modules by @code-yeongyu in #363
  • chore(release): 0.3.6 by @code-yeongyu in #365

Full Changelog: v0.3.5...v0.3.6