@tigrcorn/wt-peer-probes
v0.1.9-dev.5
Published
Browser peer probes for validating tigrcorn WebTransport support across Chromium, Firefox, WebKit/Safari, and mobile peers.
Maintainers
Readme
Install
npm install @tigrcorn/wt-peer-probesUse the root tigrcorn repository when you want the full Python server, SSOT, certification, and operator surfaces. Install @tigrcorn/wt-peer-probes directly when you want only the browser-side WebTransport peer probe package and its declared npm dependencies.
What It Owns
@tigrcorn/wt-peer-probes owns the browser probe client, probe-stage reporting, Playwright peer-matrix entrypoints, and the reusable TypeScript contract for Tigrcorn WebTransport validation runs. Its published entrypoint is the npm package @tigrcorn/wt-peer-probes, and its browser-facing export surface is the runTigrcornWTPeerProbe entrypoint in dist/index.js with matching types in dist/index.d.ts.
This package page is written for developers searching for Tigrcorn WebTransport probes, browser peer validation, HTTP/3 and QUIC interoperability checks, desktop and mobile peer matrices, and Apache 2.0 licensed test infrastructure.
Why Use This?
Use @tigrcorn/wt-peer-probes when you need a browser-controlled WebTransport client that checks the same protocol contract Tigrcorn uses for SSOT-backed probe evidence. It is the package to reach for when you want to validate browser readiness, bidirectional streams, unidirectional streams, datagrams, and close behavior without pulling the Python runtime into the test client itself.
FAQ
What does this package export?
It exports runTigrcornWTPeerProbe plus the probe report and option types through the @tigrcorn/wt-peer-probes npm import.
Which workflows does it cover?
It covers browser-side WebTransport probe execution, stage-by-stage readiness reporting, Playwright-driven peer validation, and live probe submission back to Tigrcorn report endpoints.
What does it intentionally avoid?
It does not own Tigrcorn's server runtime, SSOT registry, HTTP routing, or release-gate logic. It is a browser peer package that verifies those surfaces from the outside.
Features
- Runs a single reusable WebTransport probe flow across Chromium, Firefox, WebKit/Safari, and mobile peer projects.
- Verifies the
api -> ready -> bidi -> unidi -> datagram -> closeprobe progression used by Tigrcorn's live WebTransport endpoint. - Ships typed ESM exports for browser and Playwright consumers.
- Keeps peer evidence aligned with Tigrcorn SSOT feature rows and Playwright matrix workflows.
- Publishes through npm with a small browser-facing surface instead of bundling server code.
Use It When
Use @tigrcorn/wt-peer-probes when you need a portable browser package for WebTransport compatibility checks, regression probes, or live-endpoint evidence collection. It is the npm boundary that complements Tigrcorn's Python runtime and certification packages.
Import Surface
import { runTigrcornWTPeerProbe } from "@tigrcorn/wt-peer-probes";
const report = await runTigrcornWTPeerProbe({
peerId: "chrome-desktop-01",
wtUrl: "https://api.example.com/__tigrcorn/probe/wt",
reportUrl: "https://api.example.com/__tigrcorn/probe/wt/report",
timeoutMs: 5000,
});
console.log(report.ok, report.stageResults);The package exposes its supported public surface through the npm import @tigrcorn/wt-peer-probes. The root Tigrcorn repo keeps the Python server, docs, SSOT, and workflow rails that this browser package validates.
Probe Contract
Endpoint:
https://api.example.com/__tigrcorn/probe/wtReport endpoint:
https://api.example.com/__tigrcorn/probe/wt/reportRequired pass stages:
api -> ready -> bidi -> unidi -> datagram -> closeExpected Tigrcorn Behavior
On bidirectional stream:
{ "type": "probe.bidi.echo", "id": "...", "runId": "...", "peerId": "..." }Reply on the same stream:
{ "type": "probe.bidi.echo.ok", "id": "...", "runId": "...", "peerId": "..." }On client unidirectional stream:
{ "type": "probe.unidi.send", "id": "...", "runId": "...", "peerId": "..." }Reply on a server-created unidirectional stream:
{ "type": "probe.unidi.ack", "id": "...", "runId": "...", "peerId": "..." }On datagram:
{ "type": "probe.datagram.echo", "id": "...", "runId": "...", "peerId": "..." }Reply via datagram:
{ "type": "probe.datagram.echo.ok", "id": "...", "runId": "...", "peerId": "..." }Usage
Run the Playwright peer matrix
npm run test:peer-apiProjects included:
| Browser peer | SSOT feature | Runnable test |
| --- | --- | --- |
| Chromium | feat:webtransport-peer-probe-chromium | npm run test:peer-api -- --project=chromium |
| Firefox | feat:webtransport-peer-probe-firefox | npm run test:peer-api -- --project=firefox |
| WebKit/Safari | feat:webtransport-peer-probe-webkit | npm run test:peer-api -- --project=webkit |
| Mobile Chrome | feat:webtransport-peer-probe-mobile-chrome | npm run test:peer-api -- --project=mobile-chrome |
| Mobile Safari | feat:webtransport-peer-probe-mobile-safari | npm run test:peer-api -- --project=mobile-safari |
Run against a live Tigrcorn WebTransport endpoint
TIGRCORN_WT_LIVE=1 TIGRCORN_ORIGIN=https://api.example.com npm run probe:playwrightSafari and WebKit failures are recorded as WebTransport failures, not hidden behind WebSocket fallback.
Related Packages
Package Graph
tigrcorn repo | tigrcorn on PyPI | @tigrcorn/wt-peer-probes on npm | SSOT registry | publish workflow
Best Practices
- Keep the probe message contract aligned with the server-side WebTransport probe endpoint before changing browser tests.
- Treat peer-matrix failures as compatibility evidence, not as reasons to silently widen fallback behavior.
- Publish browser-facing API changes together with matching Playwright coverage and SSOT feature updates.
License
Apache-2.0
