| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
joule-moq-room room service / joule-moq-room · does this change touch it (pull_request) Successful in 22s
wai-app and Create / wai-app · does this change touch it (pull_request) Successful in 9s
wai-web reach builds / wai-web reach · does this change touch it (pull_request) Successful in 7s
joule-moq-web browser client / joule-moq-web · does this change touch it (pull_request) Successful in 15s
joule-moq-remote host agent / joule-moq-remote · does this change touch it (pull_request) Successful in 28s
wai-app and Create / wai-app · tests, clippy, the line language's verifier (linux) (pull_request) Successful in 30s
joule-moq-remote host agent / joule-moq-remote, every target (macos) (pull_request) Successful in 51s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Successful in 2m48s
standards workspaces build + test / which workspaces this change touches (pull_request) Successful in 7s
wai-audit collector and player integration / does this change touch it (pull_request) Successful in 7s
WAI breaking changes and the conformance runner / WAI breaking · does this change touch WAI (pull_request) Successful in 7s
WAI operation catalogue / does this change touch it (pull_request) Successful in 6s
WAI conformance / does this change touch it (pull_request) Successful in 7s
WAI energy receipts / does this change touch it (pull_request) Successful in 6s
WAI examples / WAI examples · does this change touch them (pull_request) Successful in 7s
wai-fleet service / does this change touch it (pull_request) Successful in 7s
WAI HTTP delivery / WAI HTTP · does this change touch it (pull_request) Successful in 7s
WAI HTTP delivery / HTTP corpus · falsify mutations 0/3 (pull_request) Has been skipped
WAI HTTP delivery / HTTP corpus · falsify mutations 1/3 (pull_request) Has been skipped
wai-key-proxy / does this change touch it (pull_request) Successful in 7s
WAI HTTP delivery / HTTP corpus · falsify mutations 2/3 (pull_request) Has been skipped
WAI HTTP delivery / HTTP corpus · falsify patches 0/3 (pull_request) Has been skipped
WAI HTTP delivery / HTTP corpus · falsify patches 1/3 (pull_request) Has been skipped
WAI HTTP delivery / HTTP corpus · falsify patches 2/3 (pull_request) Has been skipped
wai-web reach builds / wai-web reach builds · this tree's wai-web, every rung on its engine line (pull_request) Successful in 4m42s
wai-ledger service / does this change touch it (pull_request) Successful in 6s
wai-ops-gpu integer operators on GPUs / does this change touch it (pull_request) Successful in 6s
wai-pack / wai-pack · does this change touch it (pull_request) Successful in 6s
wai-quantum docs, course and locales / does this change touch it (pull_request) Successful in 6s
wai-quantum for JavaScript / does this change touch it (pull_request) Successful in 6s
wai-quantum studio and desktop / does this change touch it (pull_request) Successful in 6s
wai-sink-android native sink library / does this change touch it (pull_request) Successful in 6s
wai-sink-swift native sink package / does this change touch it (pull_request) Successful in 6s
WAI Studio / does this change touch it (pull_request) Successful in 6s
wai-web wasm32 / does this change touch it (pull_request) Successful in 6s
wai-audit collector and player integration / collector · linux (pull_request) Successful in 1m13s
WAI breaking changes and the conformance runner / WAI breaking · wire, record and API against main · linux (pull_request) Successful in 1m31s
wai-web reach builds / wai-web reach builds · the package of record, every output as recorded (pull_request) Successful in 6m37s
joule-moq-remote host agent / joule-moq-remote, every target (linux-arm64) (pull_request) Successful in 1m37s
WAI breaking changes and the conformance runner / WAI breaking and conform · their tests, and the independent verifiers through wai conform · linux (pull_request) Successful in 2m50s
WAI conformance / fast integer kernels, every x86_64 kernel set (AVX-512 silicon) (pull_request) Successful in 3m4s
WAI conformance / faces from keypoints under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m44s
WAI conformance / cross-arch byte-equality · linux (pull_request) Successful in 1m19s
wai-app and Create / wai-app · Create, browser end-to-end (macos) (pull_request) Successful in 8m20s
WAI conformance / quantum core and corpus under wasm32-wasip2 (wasmtime) (pull_request) Successful in 3m14s
joule-moq-room room service / joule-moq-room, every target (pull_request) Successful in 3m56s
wai-key-proxy / proxy · linux (pull_request) Successful in 1m9s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 20s
joule-moq-web browser client / joule-moq-web · browser end-to-end (macos) (pull_request) Successful in 12m32s
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (pull_request) Successful in 1m38s
wai-ledger service / service · linux (pull_request) Successful in 4m17s
wai-ops-gpu integer operators on GPUs / builds · no adapter is not a pass (linux) (pull_request) Successful in 3m50s
WAI conformance / cross-arch byte-equality · macos (pull_request) Successful in 55s
wai-fleet service / service · linux (pull_request) Successful in 6m15s
wai-pack / wai-pack · linux (pull_request) Successful in 1m50s
wai-quantum docs, course and locales / the Studio's words in every locale · linux (pull_request) Successful in 22s
WAI operation catalogue / the catalogue and every door · linux (pull_request) Successful in 10m53s
wai-quantum docs, course and locales / the course and the command line's languages · linux (pull_request) Successful in 2m6s
WAI conformance / codec wrappers · fuzz smoke, text decode limits, C entry points, provenance, the semantic path (pull_request) Successful in 2m5s
wai-quantum for JavaScript / javascript · linux (pull_request) Successful in 2m53s
WAI examples / WAI examples · portable · linux (pull_request) Successful in 10m3s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (pull_request) Successful in 2m20s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 9m15s
WAI energy receipts / energy receipts · linux (pull_request) Successful in 11m18s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Failing after 7m20s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 17s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 33s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 1m54s
wai-fleet service / service · macos (pull_request) Successful in 47s
WAI energy receipts / energy receipts · macos (pull_request) Successful in 6m11s
wai-quantum studio and desktop / studio · browser (pull_request) Successful in 7m58s
wai-ledger service / service · macos (pull_request) Successful in 1m5s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 5m43s
standards workspaces build + test / macOS energy backends (pull_request) Successful in 13m10s
WAI conformance / cargo-class corpora · linux (pull_request) Successful in 18m27s
wai-pack / wai-pack · macos (pull_request) Successful in 3m58s
WAI Studio / Studio in WebKit · linux (pull_request) Successful in 10m39s
wai-quantum studio and desktop / desktop app · macos (pull_request) Successful in 4m45s
WAI conformance / cargo-class corpora · macos (pull_request) Successful in 15m20s
wai-ops-gpu integer operators on GPUs / Metal GPU and browser WebGPU (macos) (pull_request) Successful in 8m10s
WAI examples / WAI examples · the archive, the readiness check, the browser and Apple · macos (pull_request) Successful in 14m49s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 13m19s
WAI HTTP delivery / HTTP corpus · every patch and mutation in exactly one shard (pull_request) Successful in 7s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 11m24s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 6m5s
WAI HTTP delivery / cache rules · controls and labelled caches (pull_request) Successful in 1m33s
WAI HTTP delivery / HTTP corpus · verified both ways, and the differential (pull_request) Successful in 2m28s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Successful in 8m11s
wai-pack / wai-pack · the floor through a media prober (pull_request) Successful in 24s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 25m16s
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Successful in 7m8s
wai-pack / wai-pack · linux-arm64 (pull_request) Successful in 1m57s
wai-pack / wai-pack · dependency licences (pull_request) Successful in 1m27s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 3m8s
wai-pack / wai-pack · independent verifier (Python) (pull_request) Successful in 9m3s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (pull_request) Successful in 35m1s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Successful in 21m57s
Takes #540's channel lineup beside the route record: the conformance workflow's feature list, test list and per-feature check name both (channel_lineup, route_record); the catalogue keeps channel.import, channel.guide, channel.verify and route.verify; strict_json is built for video_receipt or channel_lineup. ops.json and Studio's actions are regenerated from the merged table; the registry export is up to date. Co-Authored-By: Claude Opus 5.5 <[email protected]> |
||
| .. | ||
| core | ||
| e2e | ||
| scripts | ||
| src | ||
| test | ||
| .gitignore | ||
| build.mjs | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
WAI Studio on the web
One front end for the WAI toolchain, with two hosts, chosen when the page starts:
- hosted: the core in WebAssembly, in the tab. What you open is read there; nothing is
uploaded, and there is no account. The WAI site serves it at
/studio/. - local: served by
wai devat/_wai/, on the origin it already serves on loopback. The core in WebAssembly does what a tab can, and the localwaidoes the rest, reached through the dev stack's own routes (/_wai/api/).
The panels
| Panel | Hosted | Through wai dev |
|---|---|---|
| Inspect | A .wai file opened or dropped: its envelope, its capabilities with the registry's row for each, its provenance (what it refines, what it was derived from, its security), SPEC §4's verdict at this sink, and its receipts when its receipt index is opened with it |
The same, and the local wai's own report, with every codec it holds |
| Verify and receipts | Receipt indexes with their group receipts, and the object where it is opened too, checked in the tab by the verifier wai verify runs, each line with its reason code |
The same |
| Encode, decode, package | The mandatory floor: decode PNG, FLAC and zstd, encode PNG and zstd; any registered capability's bytes wrapped in an envelope | The same, and every codec the local wai holds |
| Rooms | A room's signed description from its service; join it as a viewer, through the room client; a pre-call test of a relay (its WebSocket binding and its SETUP, timed) | The same, against the dev room |
| Run | — | The stack wai dev started: its routes, each service and the loopback address it listens on, the room service's health, the relay's session records, each log as it grows |
| Quantum | Quantum Studio (../quantum-studio/), unchanged, as a panel |
The same |
The command palette (the top bar's button, or Ctrl+K, ⌘K on macOS) lists every operation
of the WAI catalogue by its id. One this host runs opens the panel that runs it; one it does
not says where it runs: its command line, its wai mcp tool, the service route it is served
at, or Studio served by wai dev.
The actions come from the catalogue
The operation catalogue (../catalogue/ops.json, written by wai ops export from the table
in wai-rs) names every operation. scripts/actions.mjs generates Studio's action table from
it (src/actions.generated.js), and src/bindings.js binds by hand the operations Studio
runs: their panel, and how each host runs them (in the tab, through the local wai, or by the
page). node scripts/actions.mjs --check fails on drift:
- an action with no operation: a binding, a call of the core, or an operation
wai devruns for the page, whose id the catalogue does not hold; - an operation placed
clientorboth(it runs on this side of a service, as a page does) with no action; - a mismatched name: the generated table not what the catalogue generates; a binding run in
the tab whose call is not the core's
noun_verb; a call of the core or an operation ofwai devbound to another host than the one that runs it; an operation id in the source that names no operation.
Until the catalogue is on main, ops.pending.json is a copy of its export from the pull
request that brings it, and the check reads that; once ../catalogue/ops.json exists, the
check reads it and fails until the copy is deleted.
The core
core/ (wai-studio-core) is the wai crate the command line is built from, with the floor
and the receipt checks, bound for WebAssembly. Each call is an operation of the catalogue,
named noun_verb, and answers the JSON envelope (envelope/1) the command line prints with
--json: envelope_inspect, envelope_wrap, envelope_unwrap, media_decode,
media_encode, receipt_verify, registry_list. It reads no file and opens no connection.
cd core && cargo build --locked --release --target wasm32-unknown-unknown
wasm-bindgen --target web --out-dir pkg --out-name wai_studio_core \
"$CARGO_TARGET_DIR/wasm32-unknown-unknown/release/wai_studio_core.wasm"
The floor's zstd is C: its archive for wasm32 needs an archiver that indexes WebAssembly
objects, llvm-ar (AR_wasm32_unknown_unknown); macOS's own ar writes one the linker finds
no symbol in. e2e/run.sh picks llvm-ar where there is one.
Building and hosting
npm ci && node build.mjs --core-pkg core/pkg [--quantum ../quantum-studio/dist]
writes dist/: wai-studio.js, wai-studio-worker.js, wai-studio.css, tokens.css, the
core in pkg/, Quantum Studio in quantum/ when given, index.html (the local host's page)
and hosted.html (the hosted host standing alone), and BUILD.json with each file's SHA-256.
wai dev serves dist/ at /_wai/ when it finds it: $WAI_STUDIO, or share/wai/studio
beside the wai binary. A host page mounts Studio on an element:
<div id="wai-studio" data-host="hosted" data-embedded
data-core-pkg="/studio/pkg/wai_studio_core.js" data-worker="/studio/wai-studio-worker.js"
data-service="/room-api" data-room-page="/studio/room.html"
data-moq-transport="/room/room-transport.js" data-moq-session="/room/room-session.js"
data-moq-pkg="/room/moq/pkg/wai_room_moq.js"
data-quantum-script="/quantum-studio/studio.js" data-quantum-css="/quantum-studio/studio.css"
data-quantum-pkg="/quantum-ide/pkg/wai_quantum_ide.js" data-quantum-worker="/quantum-studio/worker.js"
data-quantum-service="/quantum-jobs"></div>
<script type="module" src="/studio/wai-studio.js"></script>
The dev stack's routes for Studio
wai dev opens no listener for Studio. Under /_wai/api/ on its origin:
| Route | What it answers |
|---|---|
GET /_wai/api/state |
the stack: origin, room service, relay, each service with its process and loopback address, its logs, what the local wai decodes and encodes |
GET /_wai/api/log?name=&from= |
a log (relay, room, conversation) from a byte on |
GET /_wai/api/sessions |
the relay's session records |
POST /_wai/api/op/<id> |
envelope.inspect, media.decode or media.encode, run by the local wai on the bytes sent, in a directory of its own, removed after |
Every request must name the origin as its host (127.0.0.1:<port>, localhost:<port> or
[::1]:<port>), carry X-WAI-Studio: 1, and state no other origin or fetch site.
Testing it
bash e2e/run.sh [--browsers chromium,webkit,firefox]
builds wai, the relay, the room service, the core, the room client's packages, the quantum
engine, Quantum Studio and Studio; runs the unit tests (test/: the generation and every rule
of the drift check, the palette's "where it runs", the local core's calls, and each panel's
calls on the core) and the drift check; then e2e/studio.e2e.mjs against a wai dev stack, on
both hosts, in Chromium, WebKit and Firefox:
- each panel the host shows loads, and Run on the local host alone;
- Inspect and Verify on vectors of
../http-conformance/, their results those its cases expect; - the floor decoded and encoded in the tab, a payload wrapped and inspected;
- the dev room joined as a viewer, and the pre-call test against its relay;
- the stack in Run, every service on loopback;
- Quantum Studio mounted;
- the palette: every operation, one this host runs opening its panel, one it does not saying where it runs;
- axe finds no WCAG 2.2 A or AA violation on any panel; no console error, no failed request; nothing scrolls sideways at a phone's width.
core/ has its own tests (cargo test --locked), and wai-rs/tests/cli_studio.rs runs wai dev against a stand-in relay and room service: /_wai/ answers, every socket the stack
listens on is on loopback, and the local wai runs an operation for the page.
Apache-2.0.