Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions experiments/iroh-relay-ws/host/deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"lib": ["dom", "dom.iterable", "dom.asynciterable", "deno.ns"]
},
"imports": {
"@polyengine/runtime/embedder": "jsr:@polyengine/runtime@0.3.0/embedder",
"@polyengine/runtime/shim": "jsr:@polyengine/runtime@0.3.0/shim",
"@polyengine/translator": "jsr:@polyengine/translator@0.3.0",
"@polyengine/wasi": "jsr:@polyengine/wasi@0.3.0",
"@polyengine/wasi/io": "jsr:@polyengine/wasi@0.3.0/io",
"@polymorph/webrtc-datachannels": "jsr:@polymorph/webrtc-datachannels@0.3.0",
"@polymorph/websocket": "jsr:@polymorph/websocket@0.3.0"
"@polyengine/runtime/embedder": "jsr:@polyengine/runtime@0.4.0/embedder",
"@polyengine/runtime/shim": "jsr:@polyengine/runtime@0.4.0/shim",
"@polyengine/translator": "jsr:@polyengine/translator@0.4.0",
"@polyengine/wasi": "jsr:@polyengine/wasi@0.4.0",
"@polyengine/wasi/io": "jsr:@polyengine/wasi@0.4.0/io",
"@polymorph/webrtc-datachannels": "jsr:@polymorph/webrtc-datachannels@0.4.0",
"@polymorph/websocket": "jsr:@polymorph/websocket@0.4.0"
},
"tasks": {
"check": "deno check ."
Expand Down
60 changes: 30 additions & 30 deletions experiments/iroh-relay-ws/host/deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions host-polyengine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ guest's and is latent on every host.
## The pin

polyengine and the sibling host modules arrive from JSR under caret
constraints on one minor line (`jsr:@polyengine/*@^0.3.0`,
`jsr:@polymorph/*@^0.3.0`); `deno.lock` pins the resolved versions and
constraints on one minor line (`jsr:@polyengine/*@^0.4.0`,
`jsr:@polymorph/*@^0.4.0`); `deno.lock` pins the resolved versions and
carries integrity, enforced with `--frozen`. `@polyengine/translator` ships
the translator wasm for the same commit as the runtime, so the
plan-format coupling between runtime and translator is self-consistent
Expand Down
14 changes: 7 additions & 7 deletions host-polyengine/deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@polymorph/iroh",
"version": "0.3.0",
"version": "0.4.0",
"license": "Apache-2.0",
"exports": { ".": "./src/mod.ts" },
"//": "MODULE-IDENTITY CONSTRAINT: polyengine's wasi package and the sibling @polymorph host modules import @polyengine/runtime/embedder by bare specifier internally. Every dependency constraint here is a caret range on one minor line (published-package convention, polyengine's own precedent), so a consumer's resolver dedupes the whole family onto ONE @polyengine/runtime module instance and `instanceof ComponentException` holds across every boundary; deno.lock carries integrity, --frozen enforced in the repo. The exam gate (justfile: exam-polyengine) asserts the repo's deno.locks resolve to one @polyengine version and pipes the resolved graph through scripts/polyengine-identity-gate.ts (one runtime module, no raw URLs). src/endpoint_component.ts is GENERATED by `just build-components` (gitignored; the publish workflow regenerates it) — the packaged endpoint component, base64 in the module graph. minimumDependencyAge keeps Deno's default supply-chain gate for everything else while letting same-day @polyengine/@polymorph publishes resolve.",
Expand All @@ -10,12 +10,12 @@
"exclude": ["jsr:@polyengine/*", "jsr:@polymorph/*"]
},
"imports": {
"@polyengine/runtime/embedder": "jsr:@polyengine/runtime@^0.3.0/embedder",
"@polyengine/translator": "jsr:@polyengine/translator@^0.3.0",
"@polyengine/wasi": "jsr:@polyengine/wasi@^0.3.0",
"@polymorph/webcrypto": "jsr:@polymorph/webcrypto@^0.3.0",
"@polymorph/websocket": "jsr:@polymorph/websocket@^0.3.0",
"@polymorph/webrtc-datachannels": "jsr:@polymorph/webrtc-datachannels@^0.3.0"
"@polyengine/runtime/embedder": "jsr:@polyengine/runtime@^0.4.0/embedder",
"@polyengine/translator": "jsr:@polyengine/translator@^0.4.0",
"@polyengine/wasi": "jsr:@polyengine/wasi@^0.4.0",
"@polymorph/webcrypto": "jsr:@polymorph/webcrypto@^0.4.0",
"@polymorph/websocket": "jsr:@polymorph/websocket@^0.4.0",
"@polymorph/webrtc-datachannels": "jsr:@polymorph/webrtc-datachannels@^0.4.0"
},
"publish": {
"exclude": ["src/run-endpoint.ts", "src/scenario.ts", "src/repo.ts", "!src/endpoint_component.ts"]
Expand Down
58 changes: 29 additions & 29 deletions host-polyengine/deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ exam-polyengine: build-components polyengine-setup
# what module identity needs is that every @polyengine/* package (except
# @polyengine/protocol, versioned independently) RESOLVES to the same
# version across both deno.locks — a translator/runtime split is
# exactly the plan-format skew (or double-runtime WitError identity
# break) the packaged translator exists to rule out.
# exactly the plan-format skew (or double-runtime ComponentException
# identity break) the packaged translator exists to rule out.
v=$(jq -r '.jsr | keys[]' host-polyengine/deno.lock \
experiments/iroh-relay-ws/host/deno.lock \
| grep '^@polyengine/' | grep -v '^@polyengine/protocol@' \
Expand Down
Loading