From ffa0002f4e04e25fd297869ea1975bf4ca2c8f47 Mon Sep 17 00:00:00 2001 From: Lann Martin Date: Mon, 17 Aug 2026 08:10:49 -0400 Subject: [PATCH] releases: caret-honest 0.1.0 regime; polymorph-test and deltic pins to the v0.1.0 releases MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The polymorph family now cuts caret-honest releases (deltic's scheme): everything stays 0.x/unstable, but within a minor line releases stay backward-compatible and anything breaking bumps the minor. README "Releases" states the policy; this repo is tagged v0.1.0 at this commit's merge. polymorph-test: pin 4ce2a7a -> b4444a25 (the v0.1.0 release commit) via `component-test pins bump` — Cargo.toml, the five package.json pins, the ci.yml action refs, and the regenerated lockfiles. deltic: JSR pin 0.1.0-pre.ga2f84a5 -> 0.1.0 (the first non-pre deltic release). Upstream renamed @deltic/wasi-shims -> @deltic/wasi and wasiShims()/WasiShims/WasiShimsOptions -> wasi()/WasiImports/ WasiOptions; the driver, bundle re-exports, and doc mentions follow. The two bumps are coupled: the browser leg feeds this repo's deltic bundle to component-test-js's engine, which now calls deltic.wasi(). js/deltic manifest version 0.0.0 -> 0.1.0 (lockstep with the tag). Gates: just check, deltic-module-check, conformance-ct::all (wasmtime, composed, deltic-deno, jco-node; 0 failing) — browser legs gate in CI. --- .github/workflows/ci.yml | 8 ++-- Cargo.lock | 15 +++--- Cargo.toml | 4 +- README.md | 8 ++++ .../driver-ct/deltic/browser-bundle-entry.ts | 4 +- conformance/driver-ct/deltic/deno.json | 12 ++--- conformance/driver-ct/deltic/deno.lock | 47 ++++++++----------- .../driver-ct/deltic/package-lock.json | 8 ++-- conformance/driver-ct/deltic/package.json | 2 +- conformance/driver-ct/deltic/run.ts | 8 ++-- conformance/driver-ct/jco/package-lock.json | 8 ++-- conformance/driver-ct/jco/package.json | 2 +- examples/jco-demo/package-lock.json | 8 ++-- examples/jco-demo/package.json | 2 +- js/componentize/wpt/parity/package-lock.json | 8 ++-- js/componentize/wpt/parity/package.json | 2 +- js/deltic/deno.json | 6 +-- js/deltic/deno.lock | 8 ++-- js/deltic/src/keyAgreement.ts | 2 +- js/deltic/src/mod.ts | 2 +- js/deltic/tests/asserts.ts | 2 +- js/jco/package-lock.json | 8 ++-- js/jco/package.json | 2 +- 23 files changed, 89 insertions(+), 87 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33cce75..09e49c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,7 +110,7 @@ jobs: # Owns the rev derivation, the rev-keyed tools cache, the # install, and the pins gate; conformance-ct::_ct-tools # recognizes the stamped install and does not repeat it. - uses: polymorph-components/polymorph-test/actions/setup@4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b + uses: polymorph-components/polymorph-test/actions/setup@b4444a25a22106ad4128549bdc9e579552e62210 with: js-locks: | conformance/driver-ct/jco/package-lock.json @@ -493,7 +493,7 @@ jobs: save-if: false - name: Install the component-test tools at the pinned revision - uses: polymorph-components/polymorph-test/actions/setup@4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b + uses: polymorph-components/polymorph-test/actions/setup@b4444a25a22106ad4128549bdc9e579552e62210 with: js-locks: | conformance/driver-ct/jco/package-lock.json @@ -532,7 +532,7 @@ jobs: # input polices the `uses:` refs against the pin. - name: Publish the conformance matrix if: always() && hashFiles('conformance/driver-ct/results/*.jsonl') != '' - uses: polymorph-components/polymorph-test/actions/aggregate@4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b + uses: polymorph-components/polymorph-test/actions/aggregate@b4444a25a22106ad4128549bdc9e579552e62210 with: lock: conformance/guest-ct/tests.lock manifest: conformance/driver-ct/targets.toml @@ -551,7 +551,7 @@ jobs: - name: Publish the signing conformance matrix if: always() && hashFiles('conformance/driver-ct/results/*.jsonl') != '' - uses: polymorph-components/polymorph-test/actions/aggregate@4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b + uses: polymorph-components/polymorph-test/actions/aggregate@b4444a25a22106ad4128549bdc9e579552e62210 with: lock: conformance/signing-guest-ct/tests.lock manifest: conformance/driver-ct/targets-signing.toml diff --git a/Cargo.lock b/Cargo.lock index ce93c91..a233412 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -336,7 +336,7 @@ dependencies = [ [[package]] name = "component-test-core" version = "0.1.0" -source = "git+https://github.com/polymorph-components/polymorph-test?rev=4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" +source = "git+https://github.com/polymorph-components/polymorph-test?rev=b4444a25a22106ad4128549bdc9e579552e62210#b4444a25a22106ad4128549bdc9e579552e62210" dependencies = [ "arcstr", "serde", @@ -345,7 +345,7 @@ dependencies = [ [[package]] name = "component-test-formats" version = "0.1.0" -source = "git+https://github.com/polymorph-components/polymorph-test?rev=4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" +source = "git+https://github.com/polymorph-components/polymorph-test?rev=b4444a25a22106ad4128549bdc9e579552e62210#b4444a25a22106ad4128549bdc9e579552e62210" dependencies = [ "anyhow", "component-test-core", @@ -360,7 +360,7 @@ dependencies = [ [[package]] name = "component-test-results" version = "0.1.0" -source = "git+https://github.com/polymorph-components/polymorph-test?rev=4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" +source = "git+https://github.com/polymorph-components/polymorph-test?rev=b4444a25a22106ad4128549bdc9e579552e62210#b4444a25a22106ad4128549bdc9e579552e62210" dependencies = [ "anyhow", "component-test-core", @@ -371,7 +371,7 @@ dependencies = [ [[package]] name = "component-test-runner" version = "0.1.0" -source = "git+https://github.com/polymorph-components/polymorph-test?rev=4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" +source = "git+https://github.com/polymorph-components/polymorph-test?rev=b4444a25a22106ad4128549bdc9e579552e62210#b4444a25a22106ad4128549bdc9e579552e62210" dependencies = [ "anyhow", "component-test-core", @@ -387,7 +387,7 @@ dependencies = [ [[package]] name = "component-test-sdk" version = "0.1.0" -source = "git+https://github.com/polymorph-components/polymorph-test?rev=4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" +source = "git+https://github.com/polymorph-components/polymorph-test?rev=b4444a25a22106ad4128549bdc9e579552e62210#b4444a25a22106ad4128549bdc9e579552e62210" dependencies = [ "component-test-core", "component-test-sdk-macro", @@ -399,7 +399,7 @@ dependencies = [ [[package]] name = "component-test-sdk-macro" version = "0.1.0" -source = "git+https://github.com/polymorph-components/polymorph-test?rev=4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" +source = "git+https://github.com/polymorph-components/polymorph-test?rev=b4444a25a22106ad4128549bdc9e579552e62210#b4444a25a22106ad4128549bdc9e579552e62210" dependencies = [ "component-test-core", "proc-macro2", @@ -2461,7 +2461,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.3.4", + "getrandom 0.4.3", "once_cell", "rustix", "windows-sys 0.61.2", @@ -2967,6 +2967,7 @@ dependencies = [ "async-trait", "bitflags", "bumpalo", + "bytes", "cc", "cfg-if", "encoding_rs", diff --git a/Cargo.toml b/Cargo.toml index c55f84d..1e29031 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,8 +26,8 @@ resolver = "2" # override — see AGENTS.md "Build & run". Publishing component-test # to a registry retires this arrangement. [workspace.dependencies] -component-test-sdk = { git = "https://github.com/polymorph-components/polymorph-test", rev = "4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" } -component-test-runner = { git = "https://github.com/polymorph-components/polymorph-test", rev = "4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" } +component-test-sdk = { git = "https://github.com/polymorph-components/polymorph-test", rev = "b4444a25a22106ad4128549bdc9e579552e62210" } +component-test-runner = { git = "https://github.com/polymorph-components/polymorph-test", rev = "b4444a25a22106ad4128549bdc9e579552e62210" } # The mutation run's profile (`just mutants`): dependencies optimized — # wasmtime and the RustCrypto cores are compiled once, at baseline, and make diff --git a/README.md b/README.md index 87dfa60..4fa8077 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,14 @@ jco (transpile-based) — and an in-guest wasm component [`polymorph:webrtc-datachannels`](https://github.com/polymorph-components/polymorph-webrtc-datachannels), following the same architecture. +## Releases + +Everything here is **unstable** (0.x), but [releases](../../releases) are +**caret-honest**: within a minor line they stay backward-compatible, and +anything breaking bumps the minor. Consumption is pinned at a release's +commit — cargo git dependencies, vendored WIT, the release-pinned +deltic/JSR graph — and bumped deliberately. + ## Design The package ([`wit/`](wit/), documented in diff --git a/conformance/driver-ct/deltic/browser-bundle-entry.ts b/conformance/driver-ct/deltic/browser-bundle-entry.ts index e47ae9f..4303c58 100644 --- a/conformance/driver-ct/deltic/browser-bundle-entry.ts +++ b/conformance/driver-ct/deltic/browser-bundle-entry.ts @@ -12,5 +12,5 @@ export * from "@deltic/runtime/embedder"; export { Translator } from "@deltic/runtime/shim"; export * from "@deltic/ct-runner"; -export { wasiShims } from "@deltic/wasi-shims"; -export type { WasiShims, WasiShimsOptions } from "@deltic/wasi-shims"; +export { wasi } from "@deltic/wasi"; +export type { WasiImports, WasiOptions } from "@deltic/wasi"; diff --git a/conformance/driver-ct/deltic/deno.json b/conformance/driver-ct/deltic/deno.json index 1070378..508724a 100644 --- a/conformance/driver-ct/deltic/deno.json +++ b/conformance/driver-ct/deltic/deno.json @@ -1,11 +1,11 @@ { - "//": "MODULE-IDENTITY CONSTRAINT: deltic's wasi-shims module imports @deltic/runtime/embedder by bare specifier internally. The @deltic/runtime/embedder entry here must map to the IDENTICAL exact-pinned JSR version as ../../../js/deltic/deno.json's entry, or the embedder module loads twice and `instanceof ComponentException` stops holding across the module boundary. The hash names one upstream commit; deno.lock carries integrity, --frozen enforced; the pin gate (just conformance-ct::deltic-pin-check) asserts one @deltic version repo-wide.", + "//": "MODULE-IDENTITY CONSTRAINT: deltic's wasi module imports @deltic/runtime/embedder by bare specifier internally. The @deltic/runtime/embedder entry here must map to the IDENTICAL exact-pinned JSR version as ../../../js/deltic/deno.json's entry, or the embedder module loads twice and `instanceof ComponentException` stops holding across the module boundary. deltic ships as exact-pinned JSR releases (caret-honest upstream: within a minor line releases stay compatible, breaking bumps the minor; between releases, per-commit `-pre.g` prereleases exist — pin exactly); deno.lock carries integrity, --frozen enforced; the pin gate (just conformance-ct::deltic-pin-check) asserts one @deltic version repo-wide.", "imports": { - "@deltic/ct-runner": "jsr:@deltic/ct-runner@0.1.0-pre.ga2f84a5", - "@deltic/runtime/embedder": "jsr:@deltic/runtime@0.1.0-pre.ga2f84a5/embedder", - "@deltic/runtime/shim": "jsr:@deltic/runtime@0.1.0-pre.ga2f84a5/shim", - "@deltic/wasi-shims": "jsr:@deltic/wasi-shims@0.1.0-pre.ga2f84a5", - "@deltic/translator": "jsr:@deltic/translator@0.1.0-pre.ga2f84a5", + "@deltic/ct-runner": "jsr:@deltic/ct-runner@0.1.0", + "@deltic/runtime/embedder": "jsr:@deltic/runtime@0.1.0/embedder", + "@deltic/runtime/shim": "jsr:@deltic/runtime@0.1.0/shim", + "@deltic/wasi": "jsr:@deltic/wasi@0.1.0", + "@deltic/translator": "jsr:@deltic/translator@0.1.0", "@polymorph/component-test-js/deltic-worker-main": "./node_modules/@polymorph/component-test-js/js/runner-deltic/worker-main.mjs" }, "minimumDependencyAge": { "age": "P1D", "exclude": ["jsr:@deltic/*"] }, diff --git a/conformance/driver-ct/deltic/deno.lock b/conformance/driver-ct/deltic/deno.lock index dbd0da2..e4b0f32 100644 --- a/conformance/driver-ct/deltic/deno.lock +++ b/conformance/driver-ct/deltic/deno.lock @@ -1,56 +1,49 @@ { "version": "5", "specifiers": { - "jsr:@deltic/ct-runner@0.1.0-pre.ga2f84a5": "0.1.0-pre.ga2f84a5", + "jsr:@deltic/ct-runner@0.1.0": "0.1.0", "jsr:@deltic/protocol@0.2": "0.2.0", - "jsr:@deltic/runtime@0.1.0-pre.ga2f84a5": "0.1.0-pre.ga2f84a5", - "jsr:@deltic/runtime@~0.1.0-pre.ga2f84a5": "0.1.0-pre.ga2f84a5", - "jsr:@deltic/translator@0.1.0-pre.ga2f84a5": "0.1.0-pre.ga2f84a5", - "jsr:@deltic/wasi-shims@0.1.0-pre.ga2f84a5": "0.1.0-pre.ga2f84a5", - "npm:playwright-core@1.62.1": "1.62.1" + "jsr:@deltic/runtime@0.1": "0.1.0", + "jsr:@deltic/runtime@0.1.0": "0.1.0", + "jsr:@deltic/translator@0.1.0": "0.1.0", + "jsr:@deltic/wasi@0.1.0": "0.1.0" }, "jsr": { - "@deltic/ct-runner@0.1.0-pre.ga2f84a5": { - "integrity": "4695ae5509c99a10ba67e6dfef66b2a567b169f40aa93b3c105f7f7062380e59", + "@deltic/ct-runner@0.1.0": { + "integrity": "cf642f22675d6733b6d13117cebdd2de95135884d2a1231764a3f7a4e3314982", "dependencies": [ - "jsr:@deltic/runtime@~0.1.0-pre.ga2f84a5" + "jsr:@deltic/runtime@0.1" ] }, "@deltic/protocol@0.2.0": { "integrity": "028be6a3623c5e910598aa7a199209b85e8931ae484ac7f6638d610ddb0e19fa" }, - "@deltic/runtime@0.1.0-pre.ga2f84a5": { - "integrity": "c9abb811d0c814c819924e92d57eed5f68b7bad35593edc5dcf3fc656022f4e1", + "@deltic/runtime@0.1.0": { + "integrity": "8d3f52f1a336a2dd9aed28a5c34fd281612a2f55a1582b159be614dd678593b3", "dependencies": [ "jsr:@deltic/protocol" ] }, - "@deltic/translator@0.1.0-pre.ga2f84a5": { - "integrity": "7e286b0cbacc26d144c4cad17f7ccae647cf5b71a48f986448e89f52204046b9", + "@deltic/translator@0.1.0": { + "integrity": "c447f27a90d7637dd3d5709f3f25378ded0f4b985bedc890c3f6a8cb9ff1eb9f", "dependencies": [ - "jsr:@deltic/runtime@~0.1.0-pre.ga2f84a5" + "jsr:@deltic/runtime@0.1" ] }, - "@deltic/wasi-shims@0.1.0-pre.ga2f84a5": { - "integrity": "92bb3f82371b1e356734e6d173fa7c38eeadf5f4cdf5c58393d2a3b7287c1b0b", + "@deltic/wasi@0.1.0": { + "integrity": "c35a19d139d684dafeca8ba200230a3eb1154627c80db298ae1393e3af938d68", "dependencies": [ "jsr:@deltic/protocol", - "jsr:@deltic/runtime@~0.1.0-pre.ga2f84a5" + "jsr:@deltic/runtime@0.1" ] } }, - "npm": { - "playwright-core@1.62.1": { - "integrity": "sha512-wPYSwEBJY9GHraISXqyqtx0na0LpO3XEX7jNDhntbex7tzUS7kLnZsOlFruFJB4Hi/rhDMjXGqHewDZ68nYZVw==", - "bin": true - } - }, "workspace": { "dependencies": [ - "jsr:@deltic/ct-runner@0.1.0-pre.ga2f84a5", - "jsr:@deltic/runtime@0.1.0-pre.ga2f84a5", - "jsr:@deltic/translator@0.1.0-pre.ga2f84a5", - "jsr:@deltic/wasi-shims@0.1.0-pre.ga2f84a5" + "jsr:@deltic/ct-runner@0.1.0", + "jsr:@deltic/runtime@0.1.0", + "jsr:@deltic/translator@0.1.0", + "jsr:@deltic/wasi@0.1.0" ], "packageJson": { "dependencies": [ diff --git a/conformance/driver-ct/deltic/package-lock.json b/conformance/driver-ct/deltic/package-lock.json index 60515b0..40db403 100644 --- a/conformance/driver-ct/deltic/package-lock.json +++ b/conformance/driver-ct/deltic/package-lock.json @@ -6,14 +6,14 @@ "": { "name": "@polymorph/webcrypto-conformance-deltic-browser", "dependencies": { - "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b", + "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210", "playwright-core": "1.62.1" } }, "node_modules/@polymorph/component-test-js": { - "version": "0.2.0", - "resolved": "git+ssh://git@github.com/polymorph-components/polymorph-test.git#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b", - "integrity": "sha512-3Wnnw4phBfW7L9masextudvg4IFdC1IwBR1FoKj9Nx4d3euL3obbKOEi2lSJW8Nt9mFVARBXCeIwGbOeP7PJdQ==", + "version": "0.1.0", + "resolved": "git+ssh://git@github.com/polymorph-components/polymorph-test.git#b4444a25a22106ad4128549bdc9e579552e62210", + "integrity": "sha512-ILkXf8zIytf4r8Z/YlrdwpcBQ+CdBMJ+pImzQzsBoZ9iuCkK3ShtqRBeM/kHXPk9bGS8XQRmDTgkbk2KgGXBFw==", "license": "Apache-2.0 WITH LLVM-exception" }, "node_modules/playwright-core": { diff --git a/conformance/driver-ct/deltic/package.json b/conformance/driver-ct/deltic/package.json index 477955c..ecceea6 100644 --- a/conformance/driver-ct/deltic/package.json +++ b/conformance/driver-ct/deltic/package.json @@ -4,7 +4,7 @@ "type": "module", "description": "Node driver + bundled worker inputs for the deltic-browser conformance rows: both suites runtime-linked inside headless Chromium with this repo's deltic host module, through the upstream page driver and deltic worker-main.", "dependencies": { - "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b", + "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210", "playwright-core": "1.62.1" } } diff --git a/conformance/driver-ct/deltic/run.ts b/conformance/driver-ct/deltic/run.ts index dd2f6c5..3cafda9 100644 --- a/conformance/driver-ct/deltic/run.ts +++ b/conformance/driver-ct/deltic/run.ts @@ -8,7 +8,7 @@ // runner.mjs (jco-node) | this runner // -------------------------------------------+-------------------------------- // transpiled `generated/` tree | translate at run time (Translator) -// `bindImports({ wasi, env: [], sut })` | `wasiShims(...)` + `webcryptoImports()` +// `bindImports({ wasi, env: [], sut })` | `wasi(...)` + `webcryptoImports()` // `sut["polymorph:test/test-context"]` | supplied by ct-runner itself // `--missing sha1-checked` (shared suite) | SUITES.shared.missing // `--suite conformance-signing-guest-ct` | `--suite signing` @@ -71,7 +71,7 @@ // green — per the KAT asymmetry above. When debugging any such run, // `--fresh-cases` restores per-case containment. // -// MODULE-IDENTITY CONSTRAINT: deltic's wasi-shims module imports +// MODULE-IDENTITY CONSTRAINT: deltic's wasi module imports // `@deltic/runtime/embedder` by bare specifier internally; this leg's // `deno.json` AND `js/deltic/deno.json` must map that specifier to the // IDENTICAL exact-pinned JSR version, or the embedder module loads twice @@ -81,7 +81,7 @@ import { Translator } from "@deltic/runtime/shim"; import type { ComponentArtifacts } from "@deltic/runtime/embedder"; import { runSuite } from "@deltic/ct-runner"; -import { wasiShims } from "@deltic/wasi-shims"; +import { wasi } from "@deltic/wasi"; import { defaultTranslator } from "@deltic/translator"; import { webcryptoImports } from "../../../js/deltic/src/mod.ts"; @@ -223,7 +223,7 @@ async function runOne(spec: SuiteSpec, cli: Cli): Promise { // `polymorph:webcrypto/*` interface from the host module under test. // ct-runner adds `polymorph:test/test-context` itself. const imports = { - ...wasiShims({ cli: { env: {}, passthrough: false } }), + ...wasi({ cli: { env: {}, passthrough: false } }), ...webcryptoImports(), }; const out = cli.out ?? spec.out.pathname; diff --git a/conformance/driver-ct/jco/package-lock.json b/conformance/driver-ct/jco/package-lock.json index b4acb62..12c7b61 100644 --- a/conformance/driver-ct/jco/package-lock.json +++ b/conformance/driver-ct/jco/package-lock.json @@ -8,7 +8,7 @@ "dependencies": { "@bytecodealliance/jco-transpile": "0.7.0", "@bytecodealliance/preview2-shim": "0.17.9", - "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b", + "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210", "playwright-core": "1.62.1" } }, @@ -450,9 +450,9 @@ } }, "node_modules/@polymorph/component-test-js": { - "version": "0.2.0", - "resolved": "git+ssh://git@github.com/polymorph-components/polymorph-test.git#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b", - "integrity": "sha512-3Wnnw4phBfW7L9masextudvg4IFdC1IwBR1FoKj9Nx4d3euL3obbKOEi2lSJW8Nt9mFVARBXCeIwGbOeP7PJdQ==", + "version": "0.1.0", + "resolved": "git+ssh://git@github.com/polymorph-components/polymorph-test.git#b4444a25a22106ad4128549bdc9e579552e62210", + "integrity": "sha512-ILkXf8zIytf4r8Z/YlrdwpcBQ+CdBMJ+pImzQzsBoZ9iuCkK3ShtqRBeM/kHXPk9bGS8XQRmDTgkbk2KgGXBFw==", "license": "Apache-2.0 WITH LLVM-exception" }, "node_modules/@tybys/wasm-util": { diff --git a/conformance/driver-ct/jco/package.json b/conformance/driver-ct/jco/package.json index a6e6d84..11b0905 100644 --- a/conformance/driver-ct/jco/package.json +++ b/conformance/driver-ct/jco/package.json @@ -12,7 +12,7 @@ "dependencies": { "@bytecodealliance/jco-transpile": "0.7.0", "@bytecodealliance/preview2-shim": "0.17.9", - "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b", + "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210", "playwright-core": "1.62.1" } } \ No newline at end of file diff --git a/examples/jco-demo/package-lock.json b/examples/jco-demo/package-lock.json index 547b23f..e7bc7b1 100644 --- a/examples/jco-demo/package-lock.json +++ b/examples/jco-demo/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "devDependencies": { "@bytecodealliance/jco-transpile": "0.7.0", - "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" + "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210" } }, "node_modules/@bytecodealliance/jco-transpile": { @@ -472,9 +472,9 @@ } }, "node_modules/@polymorph/component-test-js": { - "version": "0.2.0", - "resolved": "git+ssh://git@github.com/polymorph-components/polymorph-test.git#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b", - "integrity": "sha512-3Wnnw4phBfW7L9masextudvg4IFdC1IwBR1FoKj9Nx4d3euL3obbKOEi2lSJW8Nt9mFVARBXCeIwGbOeP7PJdQ==", + "version": "0.1.0", + "resolved": "git+ssh://git@github.com/polymorph-components/polymorph-test.git#b4444a25a22106ad4128549bdc9e579552e62210", + "integrity": "sha512-ILkXf8zIytf4r8Z/YlrdwpcBQ+CdBMJ+pImzQzsBoZ9iuCkK3ShtqRBeM/kHXPk9bGS8XQRmDTgkbk2KgGXBFw==", "dev": true, "license": "Apache-2.0 WITH LLVM-exception" }, diff --git a/examples/jco-demo/package.json b/examples/jco-demo/package.json index 0745723..fe32d10 100644 --- a/examples/jco-demo/package.json +++ b/examples/jco-demo/package.json @@ -12,6 +12,6 @@ }, "devDependencies": { "@bytecodealliance/jco-transpile": "0.7.0", - "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" + "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210" } } \ No newline at end of file diff --git a/js/componentize/wpt/parity/package-lock.json b/js/componentize/wpt/parity/package-lock.json index 4dc053b..5521e84 100644 --- a/js/componentize/wpt/parity/package-lock.json +++ b/js/componentize/wpt/parity/package-lock.json @@ -10,7 +10,7 @@ "devDependencies": { "@bytecodealliance/jco-transpile": "0.7.0", "@bytecodealliance/preview2-shim": "^0.19.0", - "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b", + "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210", "playwright-core": "^1.62.1" } }, @@ -474,9 +474,9 @@ } }, "node_modules/@polymorph/component-test-js": { - "version": "0.2.0", - "resolved": "git+ssh://git@github.com/polymorph-components/polymorph-test.git#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b", - "integrity": "sha512-3Wnnw4phBfW7L9masextudvg4IFdC1IwBR1FoKj9Nx4d3euL3obbKOEi2lSJW8Nt9mFVARBXCeIwGbOeP7PJdQ==", + "version": "0.1.0", + "resolved": "git+ssh://git@github.com/polymorph-components/polymorph-test.git#b4444a25a22106ad4128549bdc9e579552e62210", + "integrity": "sha512-ILkXf8zIytf4r8Z/YlrdwpcBQ+CdBMJ+pImzQzsBoZ9iuCkK3ShtqRBeM/kHXPk9bGS8XQRmDTgkbk2KgGXBFw==", "dev": true, "license": "Apache-2.0 WITH LLVM-exception" }, diff --git a/js/componentize/wpt/parity/package.json b/js/componentize/wpt/parity/package.json index 4a51ac6..18558ee 100644 --- a/js/componentize/wpt/parity/package.json +++ b/js/componentize/wpt/parity/package.json @@ -18,6 +18,6 @@ "@bytecodealliance/jco-transpile": "0.7.0", "@bytecodealliance/preview2-shim": "^0.19.0", "playwright-core": "^1.62.1", - "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" + "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210" } } \ No newline at end of file diff --git a/js/deltic/deno.json b/js/deltic/deno.json index 9b2d481..508aac8 100644 --- a/js/deltic/deno.json +++ b/js/deltic/deno.json @@ -1,10 +1,10 @@ { "name": "@polymorph/webcrypto-deltic", - "version": "0.0.0", + "version": "0.1.0", "exports": "./src/mod.ts", - "//": "MODULE-IDENTITY CONSTRAINT: deltic's wasi-shims module imports @deltic/runtime/embedder by bare specifier internally. Every config in this repo (this file AND conformance/driver-ct/deltic/deno.json) must map that specifier to the IDENTICAL exact-pinned JSR version, or the embedder module loads twice and `instanceof ComponentException` stops holding across the module boundary. The hash names one upstream commit; deno.lock carries integrity, --frozen enforced; the pin gate (just conformance-ct::deltic-pin-check) asserts one @deltic version repo-wide.", + "//": "MODULE-IDENTITY CONSTRAINT: deltic's wasi module imports @deltic/runtime/embedder by bare specifier internally. Every config in this repo (this file AND conformance/driver-ct/deltic/deno.json) must map that specifier to the IDENTICAL exact-pinned JSR version, or the embedder module loads twice and `instanceof ComponentException` stops holding across the module boundary. deltic ships as exact-pinned JSR releases (caret-honest upstream: within a minor line releases stay compatible, breaking bumps the minor; between releases, per-commit `-pre.g` prereleases exist — pin exactly); deno.lock carries integrity, --frozen enforced; the pin gate (just conformance-ct::deltic-pin-check) asserts one @deltic version repo-wide.", "imports": { - "@deltic/runtime/embedder": "jsr:@deltic/runtime@0.1.0-pre.ga2f84a5/embedder" + "@deltic/runtime/embedder": "jsr:@deltic/runtime@0.1.0/embedder" }, "minimumDependencyAge": { "age": "P1D", "exclude": ["jsr:@deltic/*"] }, "tasks": { diff --git a/js/deltic/deno.lock b/js/deltic/deno.lock index 42c5bcf..2367079 100644 --- a/js/deltic/deno.lock +++ b/js/deltic/deno.lock @@ -2,14 +2,14 @@ "version": "5", "specifiers": { "jsr:@deltic/protocol@0.2": "0.2.0", - "jsr:@deltic/runtime@0.1.0-pre.ga2f84a5": "0.1.0-pre.ga2f84a5" + "jsr:@deltic/runtime@0.1.0": "0.1.0" }, "jsr": { "@deltic/protocol@0.2.0": { "integrity": "028be6a3623c5e910598aa7a199209b85e8931ae484ac7f6638d610ddb0e19fa" }, - "@deltic/runtime@0.1.0-pre.ga2f84a5": { - "integrity": "c9abb811d0c814c819924e92d57eed5f68b7bad35593edc5dcf3fc656022f4e1", + "@deltic/runtime@0.1.0": { + "integrity": "8d3f52f1a336a2dd9aed28a5c34fd281612a2f55a1582b159be614dd678593b3", "dependencies": [ "jsr:@deltic/protocol" ] @@ -17,7 +17,7 @@ }, "workspace": { "dependencies": [ - "jsr:@deltic/runtime@0.1.0-pre.ga2f84a5" + "jsr:@deltic/runtime@0.1.0" ] } } diff --git a/js/deltic/src/keyAgreement.ts b/js/deltic/src/keyAgreement.ts index d2eb3b6..5985500 100644 --- a/js/deltic/src/keyAgreement.ts +++ b/js/deltic/src/keyAgreement.ts @@ -3,7 +3,7 @@ // // The iroh identity/exec-model path (mission context) exercises this family // directly: tools/smoke-c0/leg2_exec_model.ts and -// wasi-shims/tests/integration_exec_model_test.ts's `webcryptoFixture()` +// wasi/tests/integration_exec_model_test.ts's `webcryptoFixture()` // both hand-roll exactly `key-agreement.{AgreementKeyOptions,PublicKey, // SecretKey}` + `x25519.generateKey`; this module is the real port of that // fixture, extended to the WIT's full import/unwrap/agree surface. diff --git a/js/deltic/src/mod.ts b/js/deltic/src/mod.ts index bca8f4b..23f8274 100644 --- a/js/deltic/src/mod.ts +++ b/js/deltic/src/mod.ts @@ -96,7 +96,7 @@ export type { WcErrorPayload } from "./errors.ts"; /** * Build the `polymorph:webcrypto@0.1.0` imports fragment for `instantiate`. * - * Usage: `instantiate(artifacts, { ...wasiShims(), ...webcryptoImports() })` + * Usage: `instantiate(artifacts, { ...wasi(), ...webcryptoImports() })` * — the shape both conformance suites are driven with (see * `conformance/driver-ct/deltic/run.ts`, whose two legs instantiate the * shared and signing suites against exactly this record). diff --git a/js/deltic/tests/asserts.ts b/js/deltic/tests/asserts.ts index dd360b8..df2f430 100644 --- a/js/deltic/tests/asserts.ts +++ b/js/deltic/tests/asserts.ts @@ -1,4 +1,4 @@ -// Minimal, dependency-free assertion helpers for wasi-shims tests. +// Minimal, dependency-free assertion helpers for the deltic-module tests. export function assertEq(actual: T, expected: T, msg?: string): void { const ok = Object.is(actual, expected) || diff --git a/js/jco/package-lock.json b/js/jco/package-lock.json index d9b3bc0..59bc6f8 100644 --- a/js/jco/package-lock.json +++ b/js/jco/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "devDependencies": { "@bytecodealliance/jco-transpile": "0.7.0", - "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b", + "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210", "typescript": "^5.9.3" } }, @@ -473,9 +473,9 @@ } }, "node_modules/@polymorph/component-test-js": { - "version": "0.2.0", - "resolved": "git+ssh://git@github.com/polymorph-components/polymorph-test.git#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b", - "integrity": "sha512-3Wnnw4phBfW7L9masextudvg4IFdC1IwBR1FoKj9Nx4d3euL3obbKOEi2lSJW8Nt9mFVARBXCeIwGbOeP7PJdQ==", + "version": "0.1.0", + "resolved": "git+ssh://git@github.com/polymorph-components/polymorph-test.git#b4444a25a22106ad4128549bdc9e579552e62210", + "integrity": "sha512-ILkXf8zIytf4r8Z/YlrdwpcBQ+CdBMJ+pImzQzsBoZ9iuCkK3ShtqRBeM/kHXPk9bGS8XQRmDTgkbk2KgGXBFw==", "dev": true, "license": "Apache-2.0 WITH LLVM-exception" }, diff --git a/js/jco/package.json b/js/jco/package.json index 5504312..4b87cb7 100644 --- a/js/jco/package.json +++ b/js/jco/package.json @@ -13,6 +13,6 @@ "devDependencies": { "@bytecodealliance/jco-transpile": "0.7.0", "typescript": "^5.9.3", - "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#4ce2a7a45d479a22bc8eb2696dd9ebe0b2a3516b" + "@polymorph/component-test-js": "github:polymorph-components/polymorph-test#b4444a25a22106ad4128549bdc9e579552e62210" } } \ No newline at end of file