@parity/product-lab 0.0.1-placeholder → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +993 -0
- package/LICENSE +204 -0
- package/README.md +325 -2
- package/adapters/browser/playwright/README.md +214 -0
- package/adapters/browser/playwright/src/axe-scan.d.ts +6 -0
- package/adapters/browser/playwright/src/axe-scan.js +41 -0
- package/adapters/browser/playwright/src/bytes.d.ts +1 -0
- package/adapters/browser/playwright/src/bytes.js +5 -0
- package/adapters/browser/playwright/src/conditioned-socket.d.ts +28 -0
- package/adapters/browser/playwright/src/conditioned-socket.js +40 -0
- package/adapters/browser/playwright/src/devices.d.ts +14 -0
- package/adapters/browser/playwright/src/devices.js +24 -0
- package/adapters/browser/playwright/src/errors.d.ts +2 -0
- package/adapters/browser/playwright/src/errors.js +6 -0
- package/adapters/browser/playwright/src/evidence-url.d.ts +4 -0
- package/adapters/browser/playwright/src/evidence-url.js +29 -0
- package/adapters/browser/playwright/src/faithful-web-socket.d.ts +2 -0
- package/adapters/browser/playwright/src/faithful-web-socket.js +9 -0
- package/adapters/browser/playwright/src/free-loopback-port.d.ts +2 -0
- package/adapters/browser/playwright/src/free-loopback-port.js +13 -0
- package/adapters/browser/playwright/src/headless-app-surface.d.ts +30 -0
- package/adapters/browser/playwright/src/headless-app-surface.js +68 -0
- package/adapters/browser/playwright/src/index.d.ts +16 -0
- package/adapters/browser/playwright/src/index.js +18 -0
- package/adapters/browser/playwright/src/native-rtc.d.ts +11 -0
- package/adapters/browser/playwright/src/native-rtc.js +89 -0
- package/adapters/browser/playwright/src/network-evidence.d.ts +25 -0
- package/adapters/browser/playwright/src/network-evidence.js +575 -0
- package/adapters/browser/playwright/src/page-conditions.d.ts +37 -0
- package/adapters/browser/playwright/src/page-conditions.js +81 -0
- package/adapters/browser/playwright/src/page-console-watch.d.ts +12 -0
- package/adapters/browser/playwright/src/page-console-watch.js +43 -0
- package/adapters/browser/playwright/src/page-frame-capture.d.ts +32 -0
- package/adapters/browser/playwright/src/page-frame-capture.js +87 -0
- package/adapters/browser/playwright/src/page-video.d.ts +15 -0
- package/adapters/browser/playwright/src/page-video.js +25 -0
- package/adapters/browser/playwright/src/playwright-browser-context.d.ts +20 -0
- package/adapters/browser/playwright/src/playwright-browser-context.js +44 -0
- package/adapters/browser/playwright/src/playwright-browser-launcher.d.ts +9 -0
- package/adapters/browser/playwright/src/playwright-browser-launcher.js +53 -0
- package/adapters/browser/playwright/src/playwright-browser.d.ts +57 -0
- package/adapters/browser/playwright/src/playwright-browser.js +71 -0
- package/adapters/browser/playwright/src/playwright-page.d.ts +68 -0
- package/adapters/browser/playwright/src/playwright-page.js +111 -0
- package/adapters/browser/playwright/src/playwright-route.d.ts +13 -0
- package/adapters/browser/playwright/src/playwright-route.js +29 -0
- package/adapters/browser/playwright/src/playwright-slide-renderer.d.ts +11 -0
- package/adapters/browser/playwright/src/playwright-slide-renderer.js +26 -0
- package/adapters/browser/playwright/src/playwright-web-socket-route.d.ts +16 -0
- package/adapters/browser/playwright/src/playwright-web-socket-route.js +27 -0
- package/adapters/browser/playwright/src/press-target.d.ts +76 -0
- package/adapters/browser/playwright/src/press-target.js +186 -0
- package/adapters/browser/playwright/src/socket-routes.d.ts +14 -0
- package/adapters/browser/playwright/src/socket-routes.js +20 -0
- package/adapters/browser/playwright/src/wire-delivery.d.ts +10 -0
- package/adapters/browser/playwright/src/wire-delivery.js +31 -0
- package/adapters/browser/playwright/src/worker-hold.d.ts +26 -0
- package/adapters/browser/playwright/src/worker-hold.js +115 -0
- package/adapters/chain/papi/README.md +203 -0
- package/adapters/chain/papi/src/chain-access.d.ts +178 -0
- package/adapters/chain/papi/src/chain-access.js +530 -0
- package/adapters/chain/papi/src/errors.d.ts +15 -0
- package/adapters/chain/papi/src/errors.js +29 -0
- package/adapters/chain/papi/src/extrinsic-decoder.d.ts +21 -0
- package/adapters/chain/papi/src/extrinsic-decoder.js +396 -0
- package/adapters/chain/papi/src/extrinsic-signer.d.ts +2 -0
- package/adapters/chain/papi/src/extrinsic-signer.js +14 -0
- package/adapters/chain/papi/src/index.d.ts +5 -0
- package/adapters/chain/papi/src/index.js +7 -0
- package/adapters/chain/papi/src/plain-value.d.ts +7 -0
- package/adapters/chain/papi/src/plain-value.js +58 -0
- package/adapters/chain/papi/src/signer.d.ts +27 -0
- package/adapters/chain/papi/src/signer.js +51 -0
- package/adapters/chain/papi/src/statement-store-reader.d.ts +12 -0
- package/adapters/chain/papi/src/statement-store-reader.js +146 -0
- package/adapters/chain/papi/src/track-transaction.d.ts +47 -0
- package/adapters/chain/papi/src/track-transaction.js +97 -0
- package/adapters/chain/papi/src/transaction-submitter.d.ts +87 -0
- package/adapters/chain/papi/src/transaction-submitter.js +132 -0
- package/adapters/deploy/bulletin/README.md +148 -0
- package/adapters/deploy/bulletin/src/bulletin-deployer.d.ts +82 -0
- package/adapters/deploy/bulletin/src/bulletin-deployer.js +234 -0
- package/adapters/deploy/bulletin/src/bytes.d.ts +6 -0
- package/adapters/deploy/bulletin/src/bytes.js +25 -0
- package/adapters/deploy/bulletin/src/content/bulletin-content-reader.d.ts +35 -0
- package/adapters/deploy/bulletin/src/content/bulletin-content-reader.js +58 -0
- package/adapters/deploy/bulletin/src/content/car.d.ts +27 -0
- package/adapters/deploy/bulletin/src/content/car.js +112 -0
- package/adapters/deploy/bulletin/src/content/cid.d.ts +31 -0
- package/adapters/deploy/bulletin/src/content/cid.js +114 -0
- package/adapters/deploy/bulletin/src/content/dag.d.ts +27 -0
- package/adapters/deploy/bulletin/src/content/dag.js +157 -0
- package/adapters/deploy/bulletin/src/content/ipfs-gateway-source.d.ts +10 -0
- package/adapters/deploy/bulletin/src/content/ipfs-gateway-source.js +14 -0
- package/adapters/deploy/bulletin/src/content/retrieve-content.d.ts +3 -0
- package/adapters/deploy/bulletin/src/content/retrieve-content.js +18 -0
- package/adapters/deploy/bulletin/src/content/site.d.ts +16 -0
- package/adapters/deploy/bulletin/src/content/site.js +56 -0
- package/adapters/deploy/bulletin/src/deployment-check.d.ts +25 -0
- package/adapters/deploy/bulletin/src/deployment-check.js +51 -0
- package/adapters/deploy/bulletin/src/dotns/dotns-registrar.d.ts +31 -0
- package/adapters/deploy/bulletin/src/dotns/dotns-registrar.js +53 -0
- package/adapters/deploy/bulletin/src/dotns/dotns-resolver.d.ts +41 -0
- package/adapters/deploy/bulletin/src/dotns/dotns-resolver.js +148 -0
- package/adapters/deploy/bulletin/src/dotns/manifest-freshness.d.ts +66 -0
- package/adapters/deploy/bulletin/src/dotns/manifest-freshness.js +76 -0
- package/adapters/deploy/bulletin/src/dotns/read-only-rpc.d.ts +17 -0
- package/adapters/deploy/bulletin/src/dotns/read-only-rpc.js +23 -0
- package/adapters/deploy/bulletin/src/endpoints.d.ts +20 -0
- package/adapters/deploy/bulletin/src/endpoints.js +36 -0
- package/adapters/deploy/bulletin/src/errors.d.ts +13 -0
- package/adapters/deploy/bulletin/src/errors.js +13 -0
- package/adapters/deploy/bulletin/src/gateway/deployed-content-gateway.d.ts +46 -0
- package/adapters/deploy/bulletin/src/gateway/deployed-content-gateway.js +126 -0
- package/adapters/deploy/bulletin/src/gateway/gateway-destinations.d.ts +35 -0
- package/adapters/deploy/bulletin/src/gateway/gateway-destinations.js +45 -0
- package/adapters/deploy/bulletin/src/gateway/gateway-program.d.ts +79 -0
- package/adapters/deploy/bulletin/src/gateway/gateway-program.js +181 -0
- package/adapters/deploy/bulletin/src/index.d.ts +27 -0
- package/adapters/deploy/bulletin/src/index.js +29 -0
- package/adapters/deploy/bulletin/src/launch/deployed-local-launcher.d.ts +77 -0
- package/adapters/deploy/bulletin/src/launch/deployed-local-launcher.js +90 -0
- package/adapters/deploy/bulletin/src/launch/launch-mode.d.ts +12 -0
- package/adapters/deploy/bulletin/src/launch/launch-mode.js +23 -0
- package/adapters/deploy/bulletin/src/platform/bulletin-store.d.ts +17 -0
- package/adapters/deploy/bulletin/src/platform/bulletin-store.js +28 -0
- package/adapters/deploy/bulletin/src/platform/chain-ports.d.ts +69 -0
- package/adapters/deploy/bulletin/src/platform/chain-ports.js +69 -0
- package/adapters/deploy/bulletin/src/platform/platform-requirements.d.ts +34 -0
- package/adapters/deploy/bulletin/src/platform/platform-requirements.js +12 -0
- package/adapters/deploy/bulletin/src/platform/revive-contracts.d.ts +53 -0
- package/adapters/deploy/bulletin/src/platform/revive-contracts.js +86 -0
- package/adapters/deploy/bulletin/src/platform/statement-store.d.ts +50 -0
- package/adapters/deploy/bulletin/src/platform/statement-store.js +96 -0
- package/adapters/deploy/bulletin/src/tool/bulletin-deploy-library.d.ts +64 -0
- package/adapters/deploy/bulletin/src/tool/bulletin-deploy-library.js +33 -0
- package/adapters/deploy/bulletin/src/tool/bulletin-deploy-tool.d.ts +18 -0
- package/adapters/deploy/bulletin/src/tool/bulletin-deploy-tool.js +73 -0
- package/adapters/deploy/bulletin/src/tool/environment-file.d.ts +34 -0
- package/adapters/deploy/bulletin/src/tool/environment-file.js +36 -0
- package/adapters/environment/attached/README.md +75 -0
- package/adapters/environment/attached/src/index.d.ts +54 -0
- package/adapters/environment/attached/src/index.js +123 -0
- package/adapters/environment/attached/src/live-network.d.ts +62 -0
- package/adapters/environment/attached/src/live-network.js +96 -0
- package/adapters/environment/attached/src/versions.d.ts +29 -0
- package/adapters/environment/attached/src/versions.js +51 -0
- package/adapters/environment/chopsticks/README.md +200 -0
- package/adapters/environment/chopsticks/src/chopsticks-environment-factory.d.ts +140 -0
- package/adapters/environment/chopsticks/src/chopsticks-environment-factory.js +55 -0
- package/adapters/environment/chopsticks/src/chopsticks-topology.d.ts +176 -0
- package/adapters/environment/chopsticks/src/chopsticks-topology.js +287 -0
- package/adapters/environment/chopsticks/src/constants.d.ts +11 -0
- package/adapters/environment/chopsticks/src/constants.js +15 -0
- package/adapters/environment/chopsticks/src/dev-authority.d.ts +21 -0
- package/adapters/environment/chopsticks/src/dev-authority.js +66 -0
- package/adapters/environment/chopsticks/src/environment.d.ts +133 -0
- package/adapters/environment/chopsticks/src/environment.js +358 -0
- package/adapters/environment/chopsticks/src/extensions.d.ts +27 -0
- package/adapters/environment/chopsticks/src/extensions.js +60 -0
- package/adapters/environment/chopsticks/src/general-extrinsic-support.d.ts +17 -0
- package/adapters/environment/chopsticks/src/general-extrinsic-support.js +58 -0
- package/adapters/environment/chopsticks/src/index.d.ts +15 -0
- package/adapters/environment/chopsticks/src/index.js +17 -0
- package/adapters/environment/chopsticks/src/options.d.ts +75 -0
- package/adapters/environment/chopsticks/src/options.js +56 -0
- package/adapters/environment/chopsticks/src/plan.d.ts +49 -0
- package/adapters/environment/chopsticks/src/plan.js +68 -0
- package/adapters/environment/chopsticks/src/provider.d.ts +43 -0
- package/adapters/environment/chopsticks/src/provider.js +78 -0
- package/adapters/environment/chopsticks/src/spec-proxy.d.ts +16 -0
- package/adapters/environment/chopsticks/src/spec-proxy.js +109 -0
- package/adapters/environment/chopsticks/src/sqlite-support.d.ts +15 -0
- package/adapters/environment/chopsticks/src/sqlite-support.js +32 -0
- package/adapters/environment/chopsticks/src/time.d.ts +18 -0
- package/adapters/environment/chopsticks/src/time.js +96 -0
- package/adapters/environment/chopsticks/src/topology-options-schema.d.ts +119 -0
- package/adapters/environment/chopsticks/src/topology-options-schema.js +58 -0
- package/adapters/environment/chopsticks/src/topology.d.ts +11 -0
- package/adapters/environment/chopsticks/src/topology.js +64 -0
- package/adapters/environment/chopsticks/src/upstream.d.ts +22 -0
- package/adapters/environment/chopsticks/src/upstream.js +58 -0
- package/adapters/environment/chopsticks/src/versions.d.ts +31 -0
- package/adapters/environment/chopsticks/src/versions.js +58 -0
- package/adapters/environment/engine/README.md +123 -0
- package/adapters/environment/engine/engine.example.json +9 -0
- package/adapters/environment/engine/src/engine/approval-pin.d.ts +106 -0
- package/adapters/environment/engine/src/engine/approval-pin.js +98 -0
- package/adapters/environment/engine/src/engine/chain-clock.d.ts +55 -0
- package/adapters/environment/engine/src/engine/chain-clock.js +66 -0
- package/adapters/environment/engine/src/engine/checkout-lock.d.ts +52 -0
- package/adapters/environment/engine/src/engine/checkout-lock.js +136 -0
- package/adapters/environment/engine/src/engine/drain.d.ts +54 -0
- package/adapters/environment/engine/src/engine/drain.js +74 -0
- package/adapters/environment/engine/src/engine/engine-config.d.ts +97 -0
- package/adapters/environment/engine/src/engine/engine-config.js +55 -0
- package/adapters/environment/engine/src/engine/engine-health.d.ts +99 -0
- package/adapters/environment/engine/src/engine/engine-health.js +217 -0
- package/adapters/environment/engine/src/engine/engine-ports.d.ts +13 -0
- package/adapters/environment/engine/src/engine/engine-ports.js +60 -0
- package/adapters/environment/engine/src/engine/engine-prepare.d.ts +55 -0
- package/adapters/environment/engine/src/engine/engine-prepare.js +86 -0
- package/adapters/environment/engine/src/engine/engine-setup-jobs.d.ts +16 -0
- package/adapters/environment/engine/src/engine/engine-setup-jobs.js +63 -0
- package/adapters/environment/engine/src/engine/engine-start-phases.d.ts +65 -0
- package/adapters/environment/engine/src/engine/engine-start-phases.js +230 -0
- package/adapters/environment/engine/src/engine/eth-rpc-probe.d.ts +17 -0
- package/adapters/environment/engine/src/engine/eth-rpc-probe.js +23 -0
- package/adapters/environment/engine/src/engine/finality-stall.d.ts +41 -0
- package/adapters/environment/engine/src/engine/finality-stall.js +61 -0
- package/adapters/environment/engine/src/engine/fork-bundle.d.ts +59 -0
- package/adapters/environment/engine/src/engine/fork-bundle.js +159 -0
- package/adapters/environment/engine/src/engine/fork-freshness.d.ts +154 -0
- package/adapters/environment/engine/src/engine/fork-freshness.js +238 -0
- package/adapters/environment/engine/src/engine/fork-isolation.d.ts +19 -0
- package/adapters/environment/engine/src/engine/fork-isolation.js +44 -0
- package/adapters/environment/engine/src/engine/fork-refresh.d.ts +75 -0
- package/adapters/environment/engine/src/engine/fork-refresh.js +193 -0
- package/adapters/environment/engine/src/engine/fork-setup.d.ts +59 -0
- package/adapters/environment/engine/src/engine/fork-setup.js +87 -0
- package/adapters/environment/engine/src/engine/fork-snapshot.d.ts +6 -0
- package/adapters/environment/engine/src/engine/fork-snapshot.js +42 -0
- package/adapters/environment/engine/src/engine/fork-toml.d.ts +110 -0
- package/adapters/environment/engine/src/engine/fork-toml.js +260 -0
- package/adapters/environment/engine/src/engine/fork-topology.d.ts +65 -0
- package/adapters/environment/engine/src/engine/fork-topology.js +61 -0
- package/adapters/environment/engine/src/engine/fork-updates.d.ts +61 -0
- package/adapters/environment/engine/src/engine/fork-updates.js +148 -0
- package/adapters/environment/engine/src/engine/ipfs-isolation.d.ts +38 -0
- package/adapters/environment/engine/src/engine/ipfs-isolation.js +62 -0
- package/adapters/environment/engine/src/engine/live-network.d.ts +32 -0
- package/adapters/environment/engine/src/engine/live-network.js +41 -0
- package/adapters/environment/engine/src/engine/network-adoption.d.ts +56 -0
- package/adapters/environment/engine/src/engine/network-adoption.js +195 -0
- package/adapters/environment/engine/src/engine/network-plan.d.ts +71 -0
- package/adapters/environment/engine/src/engine/network-plan.js +158 -0
- package/adapters/environment/engine/src/engine/network-reset.d.ts +18 -0
- package/adapters/environment/engine/src/engine/network-reset.js +21 -0
- package/adapters/environment/engine/src/engine/network-seed.d.ts +82 -0
- package/adapters/environment/engine/src/engine/network-seed.js +183 -0
- package/adapters/environment/engine/src/engine/network-snapshots.d.ts +64 -0
- package/adapters/environment/engine/src/engine/network-snapshots.js +161 -0
- package/adapters/environment/engine/src/engine/network-template.d.ts +65 -0
- package/adapters/environment/engine/src/engine/network-template.js +98 -0
- package/adapters/environment/engine/src/engine/node-isolation.d.ts +83 -0
- package/adapters/environment/engine/src/engine/node-isolation.js +164 -0
- package/adapters/environment/engine/src/engine/node-temp-dir.d.ts +27 -0
- package/adapters/environment/engine/src/engine/node-temp-dir.js +31 -0
- package/adapters/environment/engine/src/engine/owned-engine.d.ts +312 -0
- package/adapters/environment/engine/src/engine/owned-engine.js +595 -0
- package/adapters/environment/engine/src/engine/owned-environment.d.ts +24 -0
- package/adapters/environment/engine/src/engine/owned-environment.js +84 -0
- package/adapters/environment/engine/src/engine/persisted-data.d.ts +67 -0
- package/adapters/environment/engine/src/engine/persisted-data.js +147 -0
- package/adapters/environment/engine/src/engine/persisted-isolation.d.ts +33 -0
- package/adapters/environment/engine/src/engine/persisted-isolation.js +91 -0
- package/adapters/environment/engine/src/engine/persistent-network.d.ts +354 -0
- package/adapters/environment/engine/src/engine/persistent-network.js +580 -0
- package/adapters/environment/engine/src/engine/plan-ports.d.ts +83 -0
- package/adapters/environment/engine/src/engine/plan-ports.js +165 -0
- package/adapters/environment/engine/src/engine/published-bundle.d.ts +117 -0
- package/adapters/environment/engine/src/engine/published-bundle.js +250 -0
- package/adapters/environment/engine/src/engine/runtime-upgrade.d.ts +131 -0
- package/adapters/environment/engine/src/engine/runtime-upgrade.js +202 -0
- package/adapters/environment/engine/src/engine/saved-tooling.d.ts +10 -0
- package/adapters/environment/engine/src/engine/saved-tooling.js +32 -0
- package/adapters/environment/engine/src/engine/turn-relay.d.ts +80 -0
- package/adapters/environment/engine/src/engine/turn-relay.js +103 -0
- package/adapters/environment/engine/src/errors.d.ts +140 -0
- package/adapters/environment/engine/src/errors.js +131 -0
- package/adapters/environment/engine/src/evidence/engine-logs.d.ts +4 -0
- package/adapters/environment/engine/src/evidence/engine-logs.js +20 -0
- package/adapters/environment/engine/src/evidence/engine-progress.d.ts +18 -0
- package/adapters/environment/engine/src/evidence/engine-progress.js +102 -0
- package/adapters/environment/engine/src/index.d.ts +52 -0
- package/adapters/environment/engine/src/index.js +54 -0
- package/adapters/environment/engine/src/saved-fork/saved-fork-tooling.d.ts +20 -0
- package/adapters/environment/engine/src/saved-fork/saved-fork-tooling.js +66 -0
- package/adapters/environment/engine/src/saved-fork/saved-fork.d.ts +118 -0
- package/adapters/environment/engine/src/saved-fork/saved-fork.js +298 -0
- package/adapters/environment/engine/src/session/chain-observation.d.ts +30 -0
- package/adapters/environment/engine/src/session/chain-observation.js +23 -0
- package/adapters/environment/engine/src/session/engine-networks.d.ts +8 -0
- package/adapters/environment/engine/src/session/engine-networks.js +6 -0
- package/adapters/environment/engine/src/session/network-lock.d.ts +107 -0
- package/adapters/environment/engine/src/session/network-lock.js +125 -0
- package/adapters/environment/engine/src/session/readiness.d.ts +181 -0
- package/adapters/environment/engine/src/session/readiness.js +251 -0
- package/adapters/environment/engine/src/session/runtime-dependency.d.ts +188 -0
- package/adapters/environment/engine/src/session/runtime-dependency.js +20 -0
- package/adapters/environment/engine/src/session/session.d.ts +243 -0
- package/adapters/environment/engine/src/session/session.js +98 -0
- package/adapters/environment/engine/src/setup/engine-build.d.ts +13 -0
- package/adapters/environment/engine/src/setup/engine-build.js +24 -0
- package/adapters/environment/engine/src/setup/patch-catalogue.d.ts +20 -0
- package/adapters/environment/engine/src/setup/patch-catalogue.js +15 -0
- package/adapters/environment/engine/src/setup/patches.d.ts +37 -0
- package/adapters/environment/engine/src/setup/patches.js +48 -0
- package/adapters/environment/engine/src/setup/prepare-engine.d.ts +86 -0
- package/adapters/environment/engine/src/setup/prepare-engine.js +186 -0
- package/adapters/environment/engine/src/setup/setup-command.d.ts +11 -0
- package/adapters/environment/engine/src/setup/setup-command.js +17 -0
- package/adapters/environment/engine/src/setup/sync-command.d.ts +3 -0
- package/adapters/environment/engine/src/setup/sync-command.js +10 -0
- package/adapters/environment/engine/src/testing/engine-dashboard.d.ts +37 -0
- package/adapters/environment/engine/src/testing/engine-dashboard.js +83 -0
- package/adapters/environment/engine/src/topology/engine-environment-factory.d.ts +107 -0
- package/adapters/environment/engine/src/topology/engine-environment-factory.js +37 -0
- package/adapters/environment/engine/src/topology/engine-plan.d.ts +35 -0
- package/adapters/environment/engine/src/topology/engine-plan.js +84 -0
- package/adapters/environment/engine/src/topology/engine-provider.d.ts +25 -0
- package/adapters/environment/engine/src/topology/engine-provider.js +109 -0
- package/adapters/environment/engine/src/topology/engine-run.d.ts +63 -0
- package/adapters/environment/engine/src/topology/engine-run.js +129 -0
- package/adapters/environment/engine/src/topology/engine-topology.d.ts +131 -0
- package/adapters/environment/engine/src/topology/engine-topology.js +236 -0
- package/adapters/environment/engine/src/topology/topology-options-schema.d.ts +79 -0
- package/adapters/environment/engine/src/topology/topology-options-schema.js +57 -0
- package/adapters/environment/engine/src/versions/engine-versions.d.ts +90 -0
- package/adapters/environment/engine/src/versions/engine-versions.js +138 -0
- package/adapters/environment/relayless/README.md +199 -0
- package/adapters/environment/relayless/src/chain-readiness.d.ts +37 -0
- package/adapters/environment/relayless/src/chain-readiness.js +51 -0
- package/adapters/environment/relayless/src/fast-baseline.d.ts +43 -0
- package/adapters/environment/relayless/src/fast-baseline.js +56 -0
- package/adapters/environment/relayless/src/index.d.ts +15 -0
- package/adapters/environment/relayless/src/index.js +17 -0
- package/adapters/environment/relayless/src/manual-seal-session.d.ts +125 -0
- package/adapters/environment/relayless/src/manual-seal-session.js +82 -0
- package/adapters/environment/relayless/src/owned-people-node.d.ts +55 -0
- package/adapters/environment/relayless/src/owned-people-node.js +199 -0
- package/adapters/environment/relayless/src/prepare-people-genesis.d.ts +87 -0
- package/adapters/environment/relayless/src/prepare-people-genesis.js +119 -0
- package/adapters/environment/relayless/src/topology/dev-chain-spec.d.ts +44 -0
- package/adapters/environment/relayless/src/topology/dev-chain-spec.js +131 -0
- package/adapters/environment/relayless/src/topology/dev-node.d.ts +21 -0
- package/adapters/environment/relayless/src/topology/dev-node.js +41 -0
- package/adapters/environment/relayless/src/topology/locked-artifacts.d.ts +35 -0
- package/adapters/environment/relayless/src/topology/locked-artifacts.js +87 -0
- package/adapters/environment/relayless/src/topology/relayless-environment-factory.d.ts +106 -0
- package/adapters/environment/relayless/src/topology/relayless-environment-factory.js +38 -0
- package/adapters/environment/relayless/src/topology/relayless-environment.d.ts +152 -0
- package/adapters/environment/relayless/src/topology/relayless-environment.js +443 -0
- package/adapters/environment/relayless/src/topology/relayless-plan.d.ts +43 -0
- package/adapters/environment/relayless/src/topology/relayless-plan.js +85 -0
- package/adapters/environment/relayless/src/topology/relayless-provider.d.ts +60 -0
- package/adapters/environment/relayless/src/topology/relayless-provider.js +231 -0
- package/adapters/environment/relayless/src/topology/relayless-snapshots.d.ts +24 -0
- package/adapters/environment/relayless/src/topology/relayless-snapshots.js +112 -0
- package/adapters/environment/relayless/src/topology/relayless-time.d.ts +66 -0
- package/adapters/environment/relayless/src/topology/relayless-time.js +124 -0
- package/adapters/environment/relayless/src/topology/relayless-topology.d.ts +122 -0
- package/adapters/environment/relayless/src/topology/relayless-topology.js +178 -0
- package/adapters/environment/relayless/src/topology/spec-cache.d.ts +24 -0
- package/adapters/environment/relayless/src/topology/spec-cache.js +53 -0
- package/adapters/environment/relayless/src/topology/statement-store.d.ts +20 -0
- package/adapters/environment/relayless/src/topology/statement-store.js +60 -0
- package/adapters/environment/relayless/src/topology/topology-options-schema.d.ts +79 -0
- package/adapters/environment/relayless/src/topology/topology-options-schema.js +57 -0
- package/adapters/environment/relayless/src/topology/workspace-record.d.ts +30 -0
- package/adapters/environment/relayless/src/topology/workspace-record.js +49 -0
- package/adapters/features/cucumber/README.md +85 -0
- package/adapters/features/cucumber/src/cucumber-child.d.ts +1 -0
- package/adapters/features/cucumber/src/cucumber-child.js +53 -0
- package/adapters/features/cucumber/src/cucumber-feature-runner.d.ts +49 -0
- package/adapters/features/cucumber/src/cucumber-feature-runner.js +114 -0
- package/adapters/features/cucumber/src/cucumber-installation.d.ts +14 -0
- package/adapters/features/cucumber/src/cucumber-installation.js +44 -0
- package/adapters/features/cucumber/src/cucumber-report.d.ts +11 -0
- package/adapters/features/cucumber/src/cucumber-report.js +121 -0
- package/adapters/features/cucumber/src/cucumber-run.d.ts +38 -0
- package/adapters/features/cucumber/src/cucumber-run.js +126 -0
- package/adapters/features/cucumber/src/glob-feature-source.d.ts +9 -0
- package/adapters/features/cucumber/src/glob-feature-source.js +31 -0
- package/adapters/features/cucumber/src/in-process-cucumber-run.d.ts +20 -0
- package/adapters/features/cucumber/src/in-process-cucumber-run.js +119 -0
- package/adapters/features/cucumber/src/index.d.ts +9 -0
- package/adapters/features/cucumber/src/index.js +11 -0
- package/adapters/features/cucumber/src/plain-format.d.ts +11 -0
- package/adapters/features/cucumber/src/plain-format.js +20 -0
- package/adapters/features/cucumber/src/plain-run.d.ts +153 -0
- package/adapters/features/cucumber/src/plain-run.js +207 -0
- package/adapters/features/cucumber/src/run-log.d.ts +16 -0
- package/adapters/features/cucumber/src/run-log.js +50 -0
- package/adapters/features/cucumber/src/steps/feature-session-settings.d.ts +7 -0
- package/adapters/features/cucumber/src/steps/feature-session-settings.js +15 -0
- package/adapters/features/cucumber/src/steps/register-feature-steps.d.ts +144 -0
- package/adapters/features/cucumber/src/steps/register-feature-steps.js +276 -0
- package/adapters/features/cucumber/src/support/bundled-support.d.ts +1 -0
- package/adapters/features/cucumber/src/support/bundled-support.js +69 -0
- package/adapters/host/dotli/README.md +135 -0
- package/adapters/host/dotli/src/dotli-build.d.ts +85 -0
- package/adapters/host/dotli/src/dotli-build.js +169 -0
- package/adapters/host/dotli/src/dotli-host-factory.d.ts +66 -0
- package/adapters/host/dotli/src/dotli-host-factory.js +82 -0
- package/adapters/host/dotli/src/dotli-host.d.ts +182 -0
- package/adapters/host/dotli/src/dotli-host.js +327 -0
- package/adapters/host/dotli/src/dotli-server.d.ts +9 -0
- package/adapters/host/dotli/src/dotli-server.js +135 -0
- package/adapters/host/dotli/src/framing.d.ts +10 -0
- package/adapters/host/dotli/src/framing.js +20 -0
- package/adapters/host/dotli/src/index.d.ts +40 -0
- package/adapters/host/dotli/src/index.js +21 -0
- package/adapters/host/dotli/src/interception.d.ts +59 -0
- package/adapters/host/dotli/src/interception.js +115 -0
- package/adapters/host/dotli/src/page-console.d.ts +40 -0
- package/adapters/host/dotli/src/page-console.js +44 -0
- package/adapters/host/dotli/src/routing.d.ts +119 -0
- package/adapters/host/dotli/src/routing.js +157 -0
- package/adapters/host/truapi-cli/README.md +807 -0
- package/adapters/host/truapi-cli/host.lock.json +33 -0
- package/adapters/host/truapi-cli/src/acquire.d.ts +81 -0
- package/adapters/host/truapi-cli/src/acquire.js +213 -0
- package/adapters/host/truapi-cli/src/attest-provision.d.ts +49 -0
- package/adapters/host/truapi-cli/src/attest-provision.js +181 -0
- package/adapters/host/truapi-cli/src/build.d.ts +45 -0
- package/adapters/host/truapi-cli/src/build.js +234 -0
- package/adapters/host/truapi-cli/src/capability-probes.d.ts +66 -0
- package/adapters/host/truapi-cli/src/capability-probes.js +272 -0
- package/adapters/host/truapi-cli/src/checkout.d.ts +25 -0
- package/adapters/host/truapi-cli/src/checkout.js +33 -0
- package/adapters/host/truapi-cli/src/cli-identity.d.ts +12 -0
- package/adapters/host/truapi-cli/src/cli-identity.js +31 -0
- package/adapters/host/truapi-cli/src/cli-session.d.ts +12 -0
- package/adapters/host/truapi-cli/src/cli-session.js +245 -0
- package/adapters/host/truapi-cli/src/conditioned-routing.d.ts +17 -0
- package/adapters/host/truapi-cli/src/conditioned-routing.js +48 -0
- package/adapters/host/truapi-cli/src/host-cache.d.ts +25 -0
- package/adapters/host/truapi-cli/src/host-cache.js +131 -0
- package/adapters/host/truapi-cli/src/host-link.d.ts +16 -0
- package/adapters/host/truapi-cli/src/host-link.js +87 -0
- package/adapters/host/truapi-cli/src/host-lock.d.ts +59 -0
- package/adapters/host/truapi-cli/src/host-lock.js +81 -0
- package/adapters/host/truapi-cli/src/host-options.d.ts +65 -0
- package/adapters/host/truapi-cli/src/host-options.js +61 -0
- package/adapters/host/truapi-cli/src/host-process.d.ts +79 -0
- package/adapters/host/truapi-cli/src/host-process.js +160 -0
- package/adapters/host/truapi-cli/src/host-records.d.ts +73 -0
- package/adapters/host/truapi-cli/src/host-records.js +16 -0
- package/adapters/host/truapi-cli/src/host-requests.d.ts +24 -0
- package/adapters/host/truapi-cli/src/host-requests.js +75 -0
- package/adapters/host/truapi-cli/src/host-temp-dir.d.ts +26 -0
- package/adapters/host/truapi-cli/src/host-temp-dir.js +31 -0
- package/adapters/host/truapi-cli/src/host-types.d.ts +115 -0
- package/adapters/host/truapi-cli/src/host-types.js +3 -0
- package/adapters/host/truapi-cli/src/host-verification.d.ts +20 -0
- package/adapters/host/truapi-cli/src/host-verification.js +101 -0
- package/adapters/host/truapi-cli/src/host.d.ts +14 -0
- package/adapters/host/truapi-cli/src/host.js +186 -0
- package/adapters/host/truapi-cli/src/identity-fingerprint.d.ts +3 -0
- package/adapters/host/truapi-cli/src/identity-fingerprint.js +6 -0
- package/adapters/host/truapi-cli/src/index.d.ts +26 -0
- package/adapters/host/truapi-cli/src/index.js +28 -0
- package/adapters/host/truapi-cli/src/launch.d.ts +113 -0
- package/adapters/host/truapi-cli/src/launch.js +244 -0
- package/adapters/host/truapi-cli/src/navigation.d.ts +23 -0
- package/adapters/host/truapi-cli/src/navigation.js +111 -0
- package/adapters/host/truapi-cli/src/network-config.d.ts +35 -0
- package/adapters/host/truapi-cli/src/network-config.js +41 -0
- package/adapters/host/truapi-cli/src/network-guard.d.ts +37 -0
- package/adapters/host/truapi-cli/src/network-guard.js +72 -0
- package/adapters/host/truapi-cli/src/official-behaviours.d.ts +33 -0
- package/adapters/host/truapi-cli/src/official-behaviours.js +57 -0
- package/adapters/host/truapi-cli/src/official-release.d.ts +18 -0
- package/adapters/host/truapi-cli/src/official-release.js +57 -0
- package/adapters/host/truapi-cli/src/patch-catalogue.d.ts +8 -0
- package/adapters/host/truapi-cli/src/patch-catalogue.js +9 -0
- package/adapters/host/truapi-cli/src/patch-manifest.d.ts +78 -0
- package/adapters/host/truapi-cli/src/patch-manifest.js +103 -0
- package/adapters/host/truapi-cli/src/patches.d.ts +36 -0
- package/adapters/host/truapi-cli/src/patches.js +7 -0
- package/adapters/host/truapi-cli/src/probe-script.d.ts +21 -0
- package/adapters/host/truapi-cli/src/probe-script.js +85 -0
- package/adapters/host/truapi-cli/src/probe-stub.d.ts +41 -0
- package/adapters/host/truapi-cli/src/probe-stub.js +187 -0
- package/adapters/host/truapi-cli/src/product-config.d.ts +17 -0
- package/adapters/host/truapi-cli/src/product-config.js +35 -0
- package/adapters/host/truapi-cli/src/provision.d.ts +88 -0
- package/adapters/host/truapi-cli/src/provision.js +172 -0
- package/adapters/host/truapi-cli/src/rebase-check.d.ts +218 -0
- package/adapters/host/truapi-cli/src/rebase-check.js +366 -0
- package/adapters/host/truapi-cli/src/resolved-host.d.ts +23 -0
- package/adapters/host/truapi-cli/src/resolved-host.js +31 -0
- package/adapters/host/truapi-cli/src/route-release.d.ts +65 -0
- package/adapters/host/truapi-cli/src/route-release.js +133 -0
- package/adapters/host/truapi-cli/src/sandbox-spec.d.ts +4 -0
- package/adapters/host/truapi-cli/src/sandbox-spec.js +14 -0
- package/adapters/host/truapi-cli/src/script-account-read.d.ts +48 -0
- package/adapters/host/truapi-cli/src/script-account-read.js +98 -0
- package/adapters/host/truapi-cli/src/serve-persisted.d.ts +47 -0
- package/adapters/host/truapi-cli/src/serve-persisted.js +115 -0
- package/adapters/host/truapi-cli/src/signing-evidence.d.ts +4 -0
- package/adapters/host/truapi-cli/src/signing-evidence.js +71 -0
- package/adapters/host/truapi-cli/src/signing-host-flags.d.ts +9 -0
- package/adapters/host/truapi-cli/src/signing-host-flags.js +24 -0
- package/adapters/host/truapi-cli/src/truapi-cli-host-factory.d.ts +210 -0
- package/adapters/host/truapi-cli/src/truapi-cli-host-factory.js +345 -0
- package/adapters/host/truapi-wasm/README.md +228 -0
- package/adapters/host/truapi-wasm/src/bulletin-read-probe.d.ts +42 -0
- package/adapters/host/truapi-wasm/src/bulletin-read-probe.js +69 -0
- package/adapters/host/truapi-wasm/src/config.d.ts +79 -0
- package/adapters/host/truapi-wasm/src/config.js +80 -0
- package/adapters/host/truapi-wasm/src/endpoint-chains.d.ts +5 -0
- package/adapters/host/truapi-wasm/src/endpoint-chains.js +30 -0
- package/adapters/host/truapi-wasm/src/entropy-patch.d.ts +27 -0
- package/adapters/host/truapi-wasm/src/entropy-patch.js +23 -0
- package/adapters/host/truapi-wasm/src/framing.d.ts +10 -0
- package/adapters/host/truapi-wasm/src/framing.js +20 -0
- package/adapters/host/truapi-wasm/src/host-package.d.ts +38 -0
- package/adapters/host/truapi-wasm/src/host-package.js +119 -0
- package/adapters/host/truapi-wasm/src/host-page-layout.d.ts +12 -0
- package/adapters/host/truapi-wasm/src/host-page-layout.js +16 -0
- package/adapters/host/truapi-wasm/src/identity.d.ts +3 -0
- package/adapters/host/truapi-wasm/src/identity.js +8 -0
- package/adapters/host/truapi-wasm/src/index.d.ts +25 -0
- package/adapters/host/truapi-wasm/src/index.js +15 -0
- package/adapters/host/truapi-wasm/src/own-script.d.ts +4 -0
- package/adapters/host/truapi-wasm/src/own-script.js +4 -0
- package/adapters/host/truapi-wasm/src/provider.d.ts +190 -0
- package/adapters/host/truapi-wasm/src/provider.js +496 -0
- package/adapters/host/truapi-wasm/src/ring-vrf-member.d.ts +4 -0
- package/adapters/host/truapi-wasm/src/ring-vrf-member.js +47 -0
- package/adapters/host/truapi-wasm/src/route-release.d.ts +29 -0
- package/adapters/host/truapi-wasm/src/route-release.js +47 -0
- package/adapters/host/truapi-wasm/src/shared-host.d.ts +94 -0
- package/adapters/host/truapi-wasm/src/shared-host.js +63 -0
- package/adapters/host/truapi-wasm/src/shared-page.d.ts +1 -0
- package/adapters/host/truapi-wasm/src/shared-page.js +336 -0
- package/adapters/host/truapi-wasm/src/sign-in.d.ts +44 -0
- package/adapters/host/truapi-wasm/src/sign-in.js +38 -0
- package/adapters/host/truapi-wasm/src/truapi-pairing.d.ts +7 -0
- package/adapters/host/truapi-wasm/src/truapi-pairing.js +23 -0
- package/adapters/host/truapi-wasm/src/truapi-wasm-host-factory.d.ts +111 -0
- package/adapters/host/truapi-wasm/src/truapi-wasm-host-factory.js +99 -0
- package/adapters/keys/sr25519/README.md +53 -0
- package/adapters/keys/sr25519/src/index.d.ts +3 -0
- package/adapters/keys/sr25519/src/index.js +5 -0
- package/adapters/keys/sr25519/src/sr25519-key-derivation.d.ts +34 -0
- package/adapters/keys/sr25519/src/sr25519-key-derivation.js +66 -0
- package/adapters/keys/sr25519/src/sr25519-product-accounts.d.ts +8 -0
- package/adapters/keys/sr25519/src/sr25519-product-accounts.js +95 -0
- package/adapters/lab/module/src/config-path.d.ts +2 -0
- package/adapters/lab/module/src/config-path.js +10 -0
- package/adapters/lab/module/src/definition-lab-source.d.ts +11 -0
- package/adapters/lab/module/src/definition-lab-source.js +16 -0
- package/adapters/lab/module/src/index.d.ts +6 -0
- package/adapters/lab/module/src/index.js +8 -0
- package/adapters/lab/module/src/module-host-tools.d.ts +11 -0
- package/adapters/lab/module/src/module-host-tools.js +37 -0
- package/adapters/lab/module/src/module-lab-source.d.ts +16 -0
- package/adapters/lab/module/src/module-lab-source.js +50 -0
- package/adapters/lab/module/src/reload-hook.mjs +24 -0
- package/adapters/lab/module/src/source-fingerprint.d.ts +8 -0
- package/adapters/lab/module/src/source-fingerprint.js +48 -0
- package/adapters/lab/module/src/transpiled-client-bundles.d.ts +8 -0
- package/adapters/lab/module/src/transpiled-client-bundles.js +57 -0
- package/adapters/notify/file/README.md +5 -0
- package/adapters/notify/file/src/file-notifier.d.ts +11 -0
- package/adapters/notify/file/src/file-notifier.js +45 -0
- package/adapters/notify/file/src/index.d.ts +2 -0
- package/adapters/notify/file/src/index.js +4 -0
- package/adapters/notify/file/src/noop-notifier.d.ts +6 -0
- package/adapters/notify/file/src/noop-notifier.js +8 -0
- package/adapters/storage/filesystem/README.md +41 -0
- package/adapters/storage/filesystem/src/directory-fixture-source.d.ts +19 -0
- package/adapters/storage/filesystem/src/directory-fixture-source.js +83 -0
- package/adapters/storage/filesystem/src/file-breakpoint-store.d.ts +4 -0
- package/adapters/storage/filesystem/src/file-breakpoint-store.js +5 -0
- package/adapters/storage/filesystem/src/file-environment-option-choices.d.ts +11 -0
- package/adapters/storage/filesystem/src/file-environment-option-choices.js +44 -0
- package/adapters/storage/filesystem/src/file-evidence-journal.d.ts +10 -0
- package/adapters/storage/filesystem/src/file-evidence-journal.js +19 -0
- package/adapters/storage/filesystem/src/file-fixture-archives.d.ts +17 -0
- package/adapters/storage/filesystem/src/file-fixture-archives.js +250 -0
- package/adapters/storage/filesystem/src/file-fixture-store.d.ts +29 -0
- package/adapters/storage/filesystem/src/file-fixture-store.js +209 -0
- package/adapters/storage/filesystem/src/file-journey-docs.d.ts +9 -0
- package/adapters/storage/filesystem/src/file-journey-docs.js +113 -0
- package/adapters/storage/filesystem/src/file-json-document.d.ts +7 -0
- package/adapters/storage/filesystem/src/file-json-document.js +30 -0
- package/adapters/storage/filesystem/src/file-lab-settings-store.d.ts +4 -0
- package/adapters/storage/filesystem/src/file-lab-settings-store.js +5 -0
- package/adapters/storage/filesystem/src/file-lock-store.d.ts +23 -0
- package/adapters/storage/filesystem/src/file-lock-store.js +55 -0
- package/adapters/storage/filesystem/src/file-recording-store.d.ts +22 -0
- package/adapters/storage/filesystem/src/file-recording-store.js +161 -0
- package/adapters/storage/filesystem/src/file-rpc-choices.d.ts +11 -0
- package/adapters/storage/filesystem/src/file-rpc-choices.js +46 -0
- package/adapters/storage/filesystem/src/file-run-bundle-archives.d.ts +8 -0
- package/adapters/storage/filesystem/src/file-run-bundle-archives.js +200 -0
- package/adapters/storage/filesystem/src/file-run-manifest-store.d.ts +17 -0
- package/adapters/storage/filesystem/src/file-run-manifest-store.js +26 -0
- package/adapters/storage/filesystem/src/file-suite-evidence-bundles.d.ts +16 -0
- package/adapters/storage/filesystem/src/file-suite-evidence-bundles.js +168 -0
- package/adapters/storage/filesystem/src/file-visual-baselines.d.ts +10 -0
- package/adapters/storage/filesystem/src/file-visual-baselines.js +42 -0
- package/adapters/storage/filesystem/src/index.d.ts +18 -0
- package/adapters/storage/filesystem/src/index.js +20 -0
- package/adapters/storage/filesystem/src/lock-running-lab-record.d.ts +13 -0
- package/adapters/storage/filesystem/src/lock-running-lab-record.js +63 -0
- package/adapters/storage/filesystem/src/node-file-system.d.ts +21 -0
- package/adapters/storage/filesystem/src/node-file-system.js +122 -0
- package/adapters/storage/filesystem/src/running-lab.d.ts +2 -0
- package/adapters/storage/filesystem/src/running-lab.js +4 -0
- package/adapters/storage/filesystem/src/tar-archive.d.ts +73 -0
- package/adapters/storage/filesystem/src/tar-archive.js +401 -0
- package/adapters/storage/filesystem/src/workspace-store.d.ts +33 -0
- package/adapters/storage/filesystem/src/workspace-store.js +51 -0
- package/adapters/system/node/README.md +141 -0
- package/adapters/system/node/src/app-proxy/bridge-script.d.ts +21 -0
- package/adapters/system/node/src/app-proxy/bridge-script.js +186 -0
- package/adapters/system/node/src/app-proxy/next-turbopack-updates.d.ts +2 -0
- package/adapters/system/node/src/app-proxy/next-turbopack-updates.js +13 -0
- package/adapters/system/node/src/app-proxy/next-webpack-updates.d.ts +2 -0
- package/adapters/system/node/src/app-proxy/next-webpack-updates.js +19 -0
- package/adapters/system/node/src/app-proxy/node-app-proxy.d.ts +15 -0
- package/adapters/system/node/src/app-proxy/node-app-proxy.js +395 -0
- package/adapters/system/node/src/app-proxy/vite-updates.d.ts +2 -0
- package/adapters/system/node/src/app-proxy/vite-updates.js +8 -0
- package/adapters/system/node/src/app-proxy/web-socket-tunnel.d.ts +28 -0
- package/adapters/system/node/src/app-proxy/web-socket-tunnel.js +479 -0
- package/adapters/system/node/src/app-proxy/webpack-dev-server-updates.d.ts +2 -0
- package/adapters/system/node/src/app-proxy/webpack-dev-server-updates.js +13 -0
- package/adapters/system/node/src/console-logger.d.ts +25 -0
- package/adapters/system/node/src/console-logger.js +31 -0
- package/adapters/system/node/src/file-lock-manager.d.ts +26 -0
- package/adapters/system/node/src/file-lock-manager.js +103 -0
- package/adapters/system/node/src/git-change-source.d.ts +37 -0
- package/adapters/system/node/src/git-change-source.js +127 -0
- package/adapters/system/node/src/http-json-rpc-client.d.ts +20 -0
- package/adapters/system/node/src/http-json-rpc-client.js +25 -0
- package/adapters/system/node/src/index.d.ts +35 -0
- package/adapters/system/node/src/index.js +37 -0
- package/adapters/system/node/src/json-rpc-reply.d.ts +6 -0
- package/adapters/system/node/src/json-rpc-reply.js +18 -0
- package/adapters/system/node/src/linux-namespace-sandbox.d.ts +53 -0
- package/adapters/system/node/src/linux-namespace-sandbox.js +143 -0
- package/adapters/system/node/src/linux-network-namespace.mjs +177 -0
- package/adapters/system/node/src/lsof-connection-monitor.d.ts +50 -0
- package/adapters/system/node/src/lsof-connection-monitor.js +208 -0
- package/adapters/system/node/src/node-chain-gates.d.ts +10 -0
- package/adapters/system/node/src/node-chain-gates.js +173 -0
- package/adapters/system/node/src/node-command-runner.d.ts +17 -0
- package/adapters/system/node/src/node-command-runner.js +143 -0
- package/adapters/system/node/src/node-conditioned-links.d.ts +4 -0
- package/adapters/system/node/src/node-conditioned-links.js +140 -0
- package/adapters/system/node/src/node-document-headers.d.ts +28 -0
- package/adapters/system/node/src/node-document-headers.js +38 -0
- package/adapters/system/node/src/node-http-probe.d.ts +21 -0
- package/adapters/system/node/src/node-http-probe.js +39 -0
- package/adapters/system/node/src/node-machine-metrics.d.ts +61 -0
- package/adapters/system/node/src/node-machine-metrics.js +109 -0
- package/adapters/system/node/src/node-os-ports.d.ts +24 -0
- package/adapters/system/node/src/node-os-ports.js +82 -0
- package/adapters/system/node/src/node-owned-processes.d.ts +96 -0
- package/adapters/system/node/src/node-owned-processes.js +440 -0
- package/adapters/system/node/src/node-process-runner.d.ts +51 -0
- package/adapters/system/node/src/node-process-runner.js +110 -0
- package/adapters/system/node/src/node-process-sandbox.d.ts +51 -0
- package/adapters/system/node/src/node-process-sandbox.js +79 -0
- package/adapters/system/node/src/node-source-watcher.d.ts +7 -0
- package/adapters/system/node/src/node-source-watcher.js +91 -0
- package/adapters/system/node/src/node-stdio-worker.d.ts +11 -0
- package/adapters/system/node/src/node-stdio-worker.js +133 -0
- package/adapters/system/node/src/node-sync-command-runner.d.ts +8 -0
- package/adapters/system/node/src/node-sync-command-runner.js +96 -0
- package/adapters/system/node/src/node-terminal-command-runner.d.ts +14 -0
- package/adapters/system/node/src/node-terminal-command-runner.js +23 -0
- package/adapters/system/node/src/node-tree-cloner.d.ts +16 -0
- package/adapters/system/node/src/node-tree-cloner.js +46 -0
- package/adapters/system/node/src/owned-group-anchor.mjs +72 -0
- package/adapters/system/node/src/port-blocks.d.ts +32 -0
- package/adapters/system/node/src/port-blocks.js +132 -0
- package/adapters/system/node/src/process-environment-variables.d.ts +8 -0
- package/adapters/system/node/src/process-environment-variables.js +14 -0
- package/adapters/system/node/src/process-group.d.ts +35 -0
- package/adapters/system/node/src/process-group.js +81 -0
- package/adapters/system/node/src/process-table.d.ts +25 -0
- package/adapters/system/node/src/process-table.js +8 -0
- package/adapters/system/node/src/process.d.ts +7 -0
- package/adapters/system/node/src/process.js +9 -0
- package/adapters/system/node/src/ps-process-table.d.ts +34 -0
- package/adapters/system/node/src/ps-process-table.js +87 -0
- package/adapters/system/node/src/random-id-generator.d.ts +5 -0
- package/adapters/system/node/src/random-id-generator.js +8 -0
- package/adapters/system/node/src/recorded-members.d.ts +10 -0
- package/adapters/system/node/src/recorded-members.js +24 -0
- package/adapters/system/node/src/request-head.d.ts +9 -0
- package/adapters/system/node/src/request-head.js +37 -0
- package/adapters/system/node/src/system-clock.d.ts +7 -0
- package/adapters/system/node/src/system-clock.js +25 -0
- package/adapters/system/node/src/tcp-port-allocator.d.ts +56 -0
- package/adapters/system/node/src/tcp-port-allocator.js +117 -0
- package/adapters/system/node/src/web-socket-json-rpc-client.d.ts +23 -0
- package/adapters/system/node/src/web-socket-json-rpc-client.js +54 -0
- package/adapters/versions/chain/README.md +40 -0
- package/adapters/versions/chain/src/deployed-runtime-source.d.ts +43 -0
- package/adapters/versions/chain/src/deployed-runtime-source.js +97 -0
- package/adapters/versions/chain/src/index.d.ts +1 -0
- package/adapters/versions/chain/src/index.js +3 -0
- package/adapters/versions/github/README.md +108 -0
- package/adapters/versions/github/src/fetch-http-client.d.ts +15 -0
- package/adapters/versions/github/src/fetch-http-client.js +23 -0
- package/adapters/versions/github/src/github-release-artifacts.d.ts +36 -0
- package/adapters/versions/github/src/github-release-artifacts.js +166 -0
- package/adapters/versions/github/src/github-release-fixture-source.d.ts +51 -0
- package/adapters/versions/github/src/github-release-fixture-source.js +193 -0
- package/adapters/versions/github/src/github-version-source.d.ts +78 -0
- package/adapters/versions/github/src/github-version-source.js +281 -0
- package/adapters/versions/github/src/index.d.ts +4 -0
- package/adapters/versions/github/src/index.js +6 -0
- package/adapters/versions/npm/README.md +32 -0
- package/adapters/versions/npm/src/index.d.ts +1 -0
- package/adapters/versions/npm/src/index.js +3 -0
- package/adapters/versions/npm/src/npm-version-source.d.ts +53 -0
- package/adapters/versions/npm/src/npm-version-source.js +151 -0
- package/adapters/video/ffmpeg/README.md +39 -0
- package/adapters/video/ffmpeg/src/ffmpeg-video-editor.d.ts +40 -0
- package/adapters/video/ffmpeg/src/ffmpeg-video-editor.js +105 -0
- package/adapters/video/ffmpeg/src/index.d.ts +1 -0
- package/adapters/video/ffmpeg/src/index.js +3 -0
- package/adapters/visual/pixelmatch/README.md +29 -0
- package/adapters/visual/pixelmatch/src/index.d.ts +1 -0
- package/adapters/visual/pixelmatch/src/index.js +3 -0
- package/adapters/visual/pixelmatch/src/pixelmatch-comparison.d.ts +10 -0
- package/adapters/visual/pixelmatch/src/pixelmatch-comparison.js +19 -0
- package/composition/README.md +281 -0
- package/composition/src/actor-conditions.d.ts +14 -0
- package/composition/src/actor-conditions.js +36 -0
- package/composition/src/actor-funds.d.ts +18 -0
- package/composition/src/actor-funds.js +17 -0
- package/composition/src/adapter-catalogue.d.ts +39 -0
- package/composition/src/adapter-catalogue.js +59 -0
- package/composition/src/app-readiness.d.ts +32 -0
- package/composition/src/app-readiness.js +141 -0
- package/composition/src/app-server.d.ts +52 -0
- package/composition/src/app-server.js +124 -0
- package/composition/src/app-updates.d.ts +1 -0
- package/composition/src/app-updates.js +3 -0
- package/composition/src/artifacts.d.ts +3 -0
- package/composition/src/artifacts.js +6 -0
- package/composition/src/attached/attached-lab-runtime.d.ts +13 -0
- package/composition/src/attached/attached-lab-runtime.js +112 -0
- package/composition/src/attached/attached-runs.d.ts +47 -0
- package/composition/src/attached/attached-runs.js +119 -0
- package/composition/src/attached/following-lab-runtime.d.ts +10 -0
- package/composition/src/attached/following-lab-runtime.js +41 -0
- package/composition/src/attached/headless-lab.d.ts +20 -0
- package/composition/src/attached/headless-lab.js +65 -0
- package/composition/src/attached/lab-window-launcher.d.ts +33 -0
- package/composition/src/attached/lab-window-launcher.js +78 -0
- package/composition/src/attached/window-client.d.ts +21 -0
- package/composition/src/attached/window-client.js +72 -0
- package/composition/src/chain-connections.d.ts +39 -0
- package/composition/src/chain-connections.js +52 -0
- package/composition/src/checkout.d.ts +4 -0
- package/composition/src/checkout.js +11 -0
- package/composition/src/chopsticks-of-fast.d.ts +34 -0
- package/composition/src/chopsticks-of-fast.js +91 -0
- package/composition/src/create-lab-runtime.d.ts +70 -0
- package/composition/src/create-lab-runtime.js +248 -0
- package/composition/src/cucumber.d.ts +8 -0
- package/composition/src/cucumber.js +8 -0
- package/composition/src/default-dev-server.d.ts +20 -0
- package/composition/src/default-dev-server.js +52 -0
- package/composition/src/default-lab.d.ts +79 -0
- package/composition/src/default-lab.js +597 -0
- package/composition/src/default-session-browser.d.ts +7 -0
- package/composition/src/default-session-browser.js +17 -0
- package/composition/src/default-session-keep.d.ts +60 -0
- package/composition/src/default-session-keep.js +86 -0
- package/composition/src/default-session-page.d.ts +35 -0
- package/composition/src/default-session-page.js +40 -0
- package/composition/src/default-session-persons.d.ts +51 -0
- package/composition/src/default-session-persons.js +42 -0
- package/composition/src/default-session.d.ts +12 -0
- package/composition/src/default-session.js +594 -0
- package/composition/src/demo-ports.d.ts +8 -0
- package/composition/src/demo-ports.js +21 -0
- package/composition/src/deployed-app-server.d.ts +36 -0
- package/composition/src/deployed-app-server.js +62 -0
- package/composition/src/deployed-local-app.d.ts +30 -0
- package/composition/src/deployed-local-app.js +48 -0
- package/composition/src/device-browsers.d.ts +6 -0
- package/composition/src/device-browsers.js +16 -0
- package/composition/src/engine-setup.d.ts +1 -0
- package/composition/src/engine-setup.js +37 -0
- package/composition/src/feature-runtime.d.ts +5 -0
- package/composition/src/feature-runtime.js +12 -0
- package/composition/src/fixture-sharing.d.ts +12 -0
- package/composition/src/fixture-sharing.js +62 -0
- package/composition/src/fork-attach.d.ts +31 -0
- package/composition/src/fork-attach.js +80 -0
- package/composition/src/fork-live.d.ts +13 -0
- package/composition/src/fork-live.js +70 -0
- package/composition/src/gateway-program.d.ts +1 -0
- package/composition/src/gateway-program.js +24 -0
- package/composition/src/gateway-shutdown.d.ts +4 -0
- package/composition/src/gateway-shutdown.js +13 -0
- package/composition/src/host-tool-services.d.ts +21 -0
- package/composition/src/host-tool-services.js +27 -0
- package/composition/src/host-words.d.ts +3 -0
- package/composition/src/host-words.js +16 -0
- package/composition/src/identity-funding.d.ts +37 -0
- package/composition/src/identity-funding.js +92 -0
- package/composition/src/index.d.ts +38 -0
- package/composition/src/index.js +40 -0
- package/composition/src/machine-inputs.d.ts +67 -0
- package/composition/src/machine-inputs.js +98 -0
- package/composition/src/network-copies.d.ts +19 -0
- package/composition/src/network-copies.js +44 -0
- package/composition/src/node-system.d.ts +69 -0
- package/composition/src/node-system.js +89 -0
- package/composition/src/observe-browser-page.d.ts +15 -0
- package/composition/src/observe-browser-page.js +39 -0
- package/composition/src/old-environment-state.d.ts +13 -0
- package/composition/src/old-environment-state.js +138 -0
- package/composition/src/people-dev/genesis.d.ts +20 -0
- package/composition/src/people-dev/genesis.js +6 -0
- package/composition/src/people-dev/member-key.d.ts +58 -0
- package/composition/src/people-dev/member-key.js +110 -0
- package/composition/src/people-dev/onboarding.d.ts +142 -0
- package/composition/src/people-dev/onboarding.js +220 -0
- package/composition/src/people-dev/people-chunks.json +14 -0
- package/composition/src/people-dev/readings.d.ts +15 -0
- package/composition/src/people-dev/readings.js +35 -0
- package/composition/src/people-dev/xcm-stand-in.d.ts +163 -0
- package/composition/src/people-dev/xcm-stand-in.js +183 -0
- package/composition/src/people-keep/discard.d.ts +29 -0
- package/composition/src/people-keep/discard.js +59 -0
- package/composition/src/people-keep/kept-people.d.ts +53 -0
- package/composition/src/people-keep/kept-people.js +56 -0
- package/composition/src/people-keep/lifecycle.d.ts +48 -0
- package/composition/src/people-keep/lifecycle.js +69 -0
- package/composition/src/people-keep/saved-people.d.ts +35 -0
- package/composition/src/people-keep/saved-people.js +56 -0
- package/composition/src/platform/index.d.ts +1 -0
- package/composition/src/platform/index.js +3 -0
- package/composition/src/platform/platform-integration.d.ts +41 -0
- package/composition/src/platform/platform-integration.js +251 -0
- package/composition/src/platform/reported-ports.d.ts +4 -0
- package/composition/src/platform/reported-ports.js +31 -0
- package/composition/src/pre-onboarded-identities.d.ts +12 -0
- package/composition/src/pre-onboarded-identities.js +42 -0
- package/composition/src/process.d.ts +22 -0
- package/composition/src/process.js +27 -0
- package/composition/src/product-versions.d.ts +40 -0
- package/composition/src/product-versions.js +51 -0
- package/composition/src/public-identities.d.ts +44 -0
- package/composition/src/public-identities.js +88 -0
- package/composition/src/recording-browsers.d.ts +3 -0
- package/composition/src/recording-browsers.js +9 -0
- package/composition/src/recordings-directory.d.ts +1 -0
- package/composition/src/recordings-directory.js +10 -0
- package/composition/src/redact-console.d.ts +5 -0
- package/composition/src/redact-console.js +10 -0
- package/composition/src/root-call-support.d.ts +3 -0
- package/composition/src/root-call-support.js +16 -0
- package/composition/src/running-lab-variable.d.ts +8 -0
- package/composition/src/running-lab-variable.js +14 -0
- package/composition/src/session-frames.d.ts +5 -0
- package/composition/src/session-frames.js +12 -0
- package/composition/src/session-hosts.d.ts +66 -0
- package/composition/src/session-hosts.js +217 -0
- package/composition/src/session-placement.d.ts +25 -0
- package/composition/src/session-placement.js +21 -0
- package/composition/src/versions/lab-version-ports.d.ts +27 -0
- package/composition/src/versions/lab-version-ports.js +57 -0
- package/composition/src/versions/version-source-catalogue.d.ts +90 -0
- package/composition/src/versions/version-source-catalogue.js +134 -0
- package/contracts/browser/README.md +65 -0
- package/contracts/browser/src/index.d.ts +2 -0
- package/contracts/browser/src/index.js +4 -0
- package/contracts/browser/src/kit.d.ts +83 -0
- package/contracts/browser/src/kit.js +493 -0
- package/contracts/browser/src/runner.d.ts +71 -0
- package/contracts/browser/src/runner.js +156 -0
- package/contracts/chain/README.md +81 -0
- package/contracts/chain/src/cases/access.d.ts +3 -0
- package/contracts/chain/src/cases/access.js +68 -0
- package/contracts/chain/src/cases/history.d.ts +3 -0
- package/contracts/chain/src/cases/history.js +82 -0
- package/contracts/chain/src/cases/keys.d.ts +3 -0
- package/contracts/chain/src/cases/keys.js +131 -0
- package/contracts/chain/src/cases/submit.d.ts +3 -0
- package/contracts/chain/src/cases/submit.js +223 -0
- package/contracts/chain/src/cases/validator.d.ts +3 -0
- package/contracts/chain/src/cases/validator.js +59 -0
- package/contracts/chain/src/context.d.ts +51 -0
- package/contracts/chain/src/context.js +125 -0
- package/contracts/chain/src/index.d.ts +2 -0
- package/contracts/chain/src/index.js +4 -0
- package/contracts/chain/src/kit.d.ts +36 -0
- package/contracts/chain/src/kit.js +33 -0
- package/contracts/chain/src/runner.d.ts +71 -0
- package/contracts/chain/src/runner.js +156 -0
- package/contracts/chain/src/subject.d.ts +75 -0
- package/contracts/chain/src/subject.js +25 -0
- package/contracts/environment/README.md +90 -0
- package/contracts/environment/src/cases/declared-options.d.ts +3 -0
- package/contracts/environment/src/cases/declared-options.js +103 -0
- package/contracts/environment/src/cases/lifecycle.d.ts +3 -0
- package/contracts/environment/src/cases/lifecycle.js +130 -0
- package/contracts/environment/src/cases/options.d.ts +3 -0
- package/contracts/environment/src/cases/options.js +123 -0
- package/contracts/environment/src/cases/probe.d.ts +3 -0
- package/contracts/environment/src/cases/probe.js +63 -0
- package/contracts/environment/src/cases/topology.d.ts +3 -0
- package/contracts/environment/src/cases/topology.js +101 -0
- package/contracts/environment/src/checks.d.ts +31 -0
- package/contracts/environment/src/checks.js +93 -0
- package/contracts/environment/src/context.d.ts +23 -0
- package/contracts/environment/src/context.js +51 -0
- package/contracts/environment/src/index.d.ts +2 -0
- package/contracts/environment/src/index.js +4 -0
- package/contracts/environment/src/kit.d.ts +32 -0
- package/contracts/environment/src/kit.js +34 -0
- package/contracts/environment/src/runner.d.ts +71 -0
- package/contracts/environment/src/runner.js +156 -0
- package/contracts/environment/src/subject.d.ts +83 -0
- package/contracts/environment/src/subject.js +14 -0
- package/contracts/host/README.md +71 -0
- package/contracts/host/src/cases/approvals.d.ts +3 -0
- package/contracts/host/src/cases/approvals.js +112 -0
- package/contracts/host/src/cases/conditions.d.ts +3 -0
- package/contracts/host/src/cases/conditions.js +43 -0
- package/contracts/host/src/cases/hostile.d.ts +3 -0
- package/contracts/host/src/cases/hostile.js +131 -0
- package/contracts/host/src/cases/identity-navigation.d.ts +3 -0
- package/contracts/host/src/cases/identity-navigation.js +85 -0
- package/contracts/host/src/cases/network.d.ts +3 -0
- package/contracts/host/src/cases/network.js +46 -0
- package/contracts/host/src/cases/sessions.d.ts +3 -0
- package/contracts/host/src/cases/sessions.js +113 -0
- package/contracts/host/src/context.d.ts +85 -0
- package/contracts/host/src/context.js +145 -0
- package/contracts/host/src/derivation.d.ts +19 -0
- package/contracts/host/src/derivation.js +76 -0
- package/contracts/host/src/index.d.ts +6 -0
- package/contracts/host/src/index.js +8 -0
- package/contracts/host/src/kit.d.ts +27 -0
- package/contracts/host/src/kit.js +128 -0
- package/contracts/host/src/module-host-verifier.d.ts +19 -0
- package/contracts/host/src/module-host-verifier.js +80 -0
- package/contracts/host/src/probe/channels.d.ts +18 -0
- package/contracts/host/src/probe/channels.js +11 -0
- package/contracts/host/src/probe/page.d.ts +89 -0
- package/contracts/host/src/probe/page.js +253 -0
- package/contracts/host/src/probe/server.d.ts +23 -0
- package/contracts/host/src/probe/server.js +102 -0
- package/contracts/host/src/probe/truapi-version.d.ts +5 -0
- package/contracts/host/src/probe/truapi-version.js +20 -0
- package/contracts/host/src/targets.d.ts +49 -0
- package/contracts/host/src/targets.js +39 -0
- package/core/application/README.md +517 -0
- package/core/application/src/actors/actor-bindings.d.ts +18 -0
- package/core/application/src/actors/actor-bindings.js +38 -0
- package/core/application/src/actors/actor-view.d.ts +35 -0
- package/core/application/src/actors/actor-view.js +40 -0
- package/core/application/src/actors/bind-actors.d.ts +82 -0
- package/core/application/src/actors/bind-actors.js +156 -0
- package/core/application/src/actors/binding-error.d.ts +4 -0
- package/core/application/src/actors/binding-error.js +5 -0
- package/core/application/src/actors/manage-actors.d.ts +64 -0
- package/core/application/src/actors/manage-actors.js +147 -0
- package/core/application/src/apps/app-gate.d.ts +43 -0
- package/core/application/src/apps/app-gate.js +106 -0
- package/core/application/src/apps/app-reloads.d.ts +74 -0
- package/core/application/src/apps/app-reloads.js +470 -0
- package/core/application/src/apps/app-update-hub.d.ts +33 -0
- package/core/application/src/apps/app-update-hub.js +116 -0
- package/core/application/src/apps/inspect-app-framing.d.ts +9 -0
- package/core/application/src/apps/inspect-app-framing.js +25 -0
- package/core/application/src/bisect/bisect-regression.d.ts +52 -0
- package/core/application/src/bisect/bisect-regression.js +168 -0
- package/core/application/src/bisect/probe-session.d.ts +52 -0
- package/core/application/src/bisect/probe-session.js +208 -0
- package/core/application/src/builder/build-scenarios.d.ts +55 -0
- package/core/application/src/builder/build-scenarios.js +261 -0
- package/core/application/src/environment/account-watch.d.ts +41 -0
- package/core/application/src/environment/account-watch.js +117 -0
- package/core/application/src/environment/active-environment.d.ts +165 -0
- package/core/application/src/environment/active-environment.js +361 -0
- package/core/application/src/environment/advance-environment-time.d.ts +37 -0
- package/core/application/src/environment/advance-environment-time.js +52 -0
- package/core/application/src/environment/chain-day-ended.d.ts +7 -0
- package/core/application/src/environment/chain-day-ended.js +8 -0
- package/core/application/src/environment/confirmations.d.ts +15 -0
- package/core/application/src/environment/confirmations.js +23 -0
- package/core/application/src/environment/endpoint-heads.d.ts +4 -0
- package/core/application/src/environment/endpoint-heads.js +26 -0
- package/core/application/src/environment/endpoint-services.d.ts +13 -0
- package/core/application/src/environment/endpoint-services.js +35 -0
- package/core/application/src/environment/environment-option-picker.d.ts +38 -0
- package/core/application/src/environment/environment-option-picker.js +62 -0
- package/core/application/src/environment/environment-option-views.d.ts +30 -0
- package/core/application/src/environment/environment-option-views.js +22 -0
- package/core/application/src/environment/environment-request-error.d.ts +1 -0
- package/core/application/src/environment/environment-request-error.js +3 -0
- package/core/application/src/environment/environment-retention.d.ts +11 -0
- package/core/application/src/environment/environment-retention.js +16 -0
- package/core/application/src/environment/environment-rpc.d.ts +17 -0
- package/core/application/src/environment/environment-rpc.js +39 -0
- package/core/application/src/environment/keep-between-starts.d.ts +18 -0
- package/core/application/src/environment/keep-between-starts.js +44 -0
- package/core/application/src/environment/prepare-environment-tooling.d.ts +21 -0
- package/core/application/src/environment/prepare-environment-tooling.js +65 -0
- package/core/application/src/environment/public-writes.d.ts +5 -0
- package/core/application/src/environment/public-writes.js +9 -0
- package/core/application/src/environment/read-chain-console.d.ts +23 -0
- package/core/application/src/environment/read-chain-console.js +117 -0
- package/core/application/src/environment/reset-environment.d.ts +12 -0
- package/core/application/src/environment/reset-environment.js +38 -0
- package/core/application/src/environment/running-labs.d.ts +13 -0
- package/core/application/src/environment/running-labs.js +22 -0
- package/core/application/src/environment/show-environment.d.ts +19 -0
- package/core/application/src/environment/show-environment.js +63 -0
- package/core/application/src/environment/start-environment.d.ts +85 -0
- package/core/application/src/environment/start-environment.js +223 -0
- package/core/application/src/environment/stop-environment.d.ts +11 -0
- package/core/application/src/environment/stop-environment.js +33 -0
- package/core/application/src/environment/switch-environment.d.ts +62 -0
- package/core/application/src/environment/switch-environment.js +175 -0
- package/core/application/src/explore/exploration-runs.d.ts +21 -0
- package/core/application/src/explore/exploration-runs.js +54 -0
- package/core/application/src/explore/explore-lab.d.ts +30 -0
- package/core/application/src/explore/explore-lab.js +185 -0
- package/core/application/src/explore/what-if-lab.d.ts +27 -0
- package/core/application/src/explore/what-if-lab.js +166 -0
- package/core/application/src/features/breakpoint-error.d.ts +4 -0
- package/core/application/src/features/breakpoint-error.js +5 -0
- package/core/application/src/features/check-host-network.d.ts +29 -0
- package/core/application/src/features/check-host-network.js +82 -0
- package/core/application/src/features/check-host-requests.d.ts +5 -0
- package/core/application/src/features/check-host-requests.js +22 -0
- package/core/application/src/features/coverage-lab.d.ts +9 -0
- package/core/application/src/features/coverage-lab.js +74 -0
- package/core/application/src/features/expand-outline.d.ts +9 -0
- package/core/application/src/features/expand-outline.js +16 -0
- package/core/application/src/features/feature-calls.d.ts +49 -0
- package/core/application/src/features/feature-calls.js +104 -0
- package/core/application/src/features/feature-plan-error.d.ts +16 -0
- package/core/application/src/features/feature-plan-error.js +19 -0
- package/core/application/src/features/feature-run-error.d.ts +6 -0
- package/core/application/src/features/feature-run-error.js +10 -0
- package/core/application/src/features/feature-run.d.ts +75 -0
- package/core/application/src/features/feature-run.js +231 -0
- package/core/application/src/features/feature-scenario.d.ts +156 -0
- package/core/application/src/features/feature-scenario.js +623 -0
- package/core/application/src/features/feature-step-error.d.ts +17 -0
- package/core/application/src/features/feature-step-error.js +17 -0
- package/core/application/src/features/feature-step-gate.d.ts +54 -0
- package/core/application/src/features/feature-step-gate.js +93 -0
- package/core/application/src/features/feature-step-times.d.ts +16 -0
- package/core/application/src/features/feature-step-times.js +30 -0
- package/core/application/src/features/feature-steps.d.ts +3 -0
- package/core/application/src/features/feature-steps.js +22 -0
- package/core/application/src/features/inspect-pause.d.ts +27 -0
- package/core/application/src/features/inspect-pause.js +176 -0
- package/core/application/src/features/inspect-scenario.d.ts +14 -0
- package/core/application/src/features/inspect-scenario.js +98 -0
- package/core/application/src/features/lab-feature-session.d.ts +67 -0
- package/core/application/src/features/lab-feature-session.js +264 -0
- package/core/application/src/features/lint-lab.d.ts +15 -0
- package/core/application/src/features/lint-lab.js +204 -0
- package/core/application/src/features/list-features.d.ts +26 -0
- package/core/application/src/features/list-features.js +92 -0
- package/core/application/src/features/manage-breakpoints.d.ts +45 -0
- package/core/application/src/features/manage-breakpoints.js +105 -0
- package/core/application/src/features/no-funds.d.ts +3 -0
- package/core/application/src/features/no-funds.js +13 -0
- package/core/application/src/features/pause-inspection-error.d.ts +4 -0
- package/core/application/src/features/pause-inspection-error.js +5 -0
- package/core/application/src/features/plan-feature-scenario.d.ts +28 -0
- package/core/application/src/features/plan-feature-scenario.js +66 -0
- package/core/application/src/features/plan-mutants.d.ts +9 -0
- package/core/application/src/features/plan-mutants.js +33 -0
- package/core/application/src/features/prepared-characters.d.ts +13 -0
- package/core/application/src/features/prepared-characters.js +52 -0
- package/core/application/src/features/read-scenario-conditions.d.ts +29 -0
- package/core/application/src/features/read-scenario-conditions.js +38 -0
- package/core/application/src/features/reconcile-host-bypass.d.ts +7 -0
- package/core/application/src/features/reconcile-host-bypass.js +20 -0
- package/core/application/src/features/resolve-run-devices.d.ts +14 -0
- package/core/application/src/features/resolve-run-devices.js +31 -0
- package/core/application/src/features/run-feature-steps.d.ts +41 -0
- package/core/application/src/features/run-feature-steps.js +37 -0
- package/core/application/src/features/run-features.d.ts +112 -0
- package/core/application/src/features/run-features.js +397 -0
- package/core/application/src/features/run-scoped-values.d.ts +17 -0
- package/core/application/src/features/run-scoped-values.js +37 -0
- package/core/application/src/features/scenario-actor-creation.d.ts +60 -0
- package/core/application/src/features/scenario-actor-creation.js +107 -0
- package/core/application/src/features/scenario-conditions.d.ts +13 -0
- package/core/application/src/features/scenario-conditions.js +64 -0
- package/core/application/src/features/scenario-inspection.d.ts +5 -0
- package/core/application/src/features/scenario-inspection.js +34 -0
- package/core/application/src/features/scenario-race.d.ts +8 -0
- package/core/application/src/features/scenario-race.js +8 -0
- package/core/application/src/features/scenario-step-checks.d.ts +22 -0
- package/core/application/src/features/scenario-step-checks.js +114 -0
- package/core/application/src/features/step-checks.d.ts +49 -0
- package/core/application/src/features/step-checks.js +42 -0
- package/core/application/src/features/watch-features.d.ts +23 -0
- package/core/application/src/features/watch-features.js +80 -0
- package/core/application/src/fixtures/build-fixture.d.ts +22 -0
- package/core/application/src/fixtures/build-fixture.js +69 -0
- package/core/application/src/fixtures/check-fixtures.d.ts +15 -0
- package/core/application/src/fixtures/check-fixtures.js +80 -0
- package/core/application/src/fixtures/download-fixture.d.ts +19 -0
- package/core/application/src/fixtures/download-fixture.js +92 -0
- package/core/application/src/fixtures/export-fixture.d.ts +16 -0
- package/core/application/src/fixtures/export-fixture.js +87 -0
- package/core/application/src/fixtures/fixture-characters.d.ts +10 -0
- package/core/application/src/fixtures/fixture-characters.js +24 -0
- package/core/application/src/fixtures/fixture-checkout.d.ts +15 -0
- package/core/application/src/fixtures/fixture-checkout.js +25 -0
- package/core/application/src/fixtures/fixture-context.d.ts +79 -0
- package/core/application/src/fixtures/fixture-context.js +139 -0
- package/core/application/src/fixtures/fixture-maintenance-service.d.ts +23 -0
- package/core/application/src/fixtures/fixture-maintenance-service.js +26 -0
- package/core/application/src/fixtures/fixture-run-guard.d.ts +17 -0
- package/core/application/src/fixtures/fixture-run-guard.js +42 -0
- package/core/application/src/fixtures/fixture-sharing-ports.d.ts +17 -0
- package/core/application/src/fixtures/fixture-sharing-ports.js +3 -0
- package/core/application/src/fixtures/fixture-sharing-service.d.ts +22 -0
- package/core/application/src/fixtures/fixture-sharing-service.js +28 -0
- package/core/application/src/fixtures/import-fixture.d.ts +42 -0
- package/core/application/src/fixtures/import-fixture.js +212 -0
- package/core/application/src/fixtures/isolate-scenario.d.ts +23 -0
- package/core/application/src/fixtures/isolate-scenario.js +104 -0
- package/core/application/src/fixtures/keep-run-start.d.ts +36 -0
- package/core/application/src/fixtures/keep-run-start.js +77 -0
- package/core/application/src/fixtures/list-fixtures.d.ts +16 -0
- package/core/application/src/fixtures/list-fixtures.js +91 -0
- package/core/application/src/fixtures/prepare-scenario-fixture.d.ts +42 -0
- package/core/application/src/fixtures/prepare-scenario-fixture.js +157 -0
- package/core/application/src/fixtures/push-fixture.d.ts +15 -0
- package/core/application/src/fixtures/push-fixture.js +43 -0
- package/core/application/src/fixtures/refresh-fixture.d.ts +27 -0
- package/core/application/src/fixtures/refresh-fixture.js +141 -0
- package/core/application/src/fixtures/restore-fixture.d.ts +36 -0
- package/core/application/src/fixtures/restore-fixture.js +129 -0
- package/core/application/src/fixtures/save-fixture.d.ts +35 -0
- package/core/application/src/fixtures/save-fixture.js +137 -0
- package/core/application/src/fixtures/start-from-fixture.d.ts +23 -0
- package/core/application/src/fixtures/start-from-fixture.js +43 -0
- package/core/application/src/hosts/acquire-host.d.ts +23 -0
- package/core/application/src/hosts/acquire-host.js +59 -0
- package/core/application/src/hosts/host-request-error.d.ts +6 -0
- package/core/application/src/hosts/host-request-error.js +10 -0
- package/core/application/src/hosts/verify-host.d.ts +37 -0
- package/core/application/src/hosts/verify-host.js +93 -0
- package/core/application/src/index.d.ts +96 -0
- package/core/application/src/index.js +96 -0
- package/core/application/src/lab/before-close.d.ts +12 -0
- package/core/application/src/lab/before-close.js +14 -0
- package/core/application/src/lab/check-extensions.d.ts +5 -0
- package/core/application/src/lab/check-extensions.js +12 -0
- package/core/application/src/lab/check-lab.d.ts +35 -0
- package/core/application/src/lab/check-lab.js +82 -0
- package/core/application/src/lab/lab-state.d.ts +87 -0
- package/core/application/src/lab/lab-state.js +38 -0
- package/core/application/src/lab/load-lab.d.ts +15 -0
- package/core/application/src/lab/load-lab.js +35 -0
- package/core/application/src/lab/runtime-events.d.ts +7 -0
- package/core/application/src/lab/runtime-events.js +17 -0
- package/core/application/src/lab-runtime-ports.d.ts +297 -0
- package/core/application/src/lab-runtime-ports.js +3 -0
- package/core/application/src/lab-runtime-service.d.ts +281 -0
- package/core/application/src/lab-runtime-service.js +520 -0
- package/core/application/src/lab-runtime-use-cases.d.ts +3 -0
- package/core/application/src/lab-runtime-use-cases.js +280 -0
- package/core/application/src/load/run-load.d.ts +23 -0
- package/core/application/src/load/run-load.js +88 -0
- package/core/application/src/navigation/resolve-navigation-destination.d.ts +8 -0
- package/core/application/src/navigation/resolve-navigation-destination.js +39 -0
- package/core/application/src/orchestration/activity/monitor.d.ts +16 -0
- package/core/application/src/orchestration/activity/monitor.js +49 -0
- package/core/application/src/orchestration/activity/types.d.ts +1 -0
- package/core/application/src/orchestration/activity/types.js +3 -0
- package/core/application/src/orchestration/capabilities.d.ts +8 -0
- package/core/application/src/orchestration/capabilities.js +3 -0
- package/core/application/src/orchestration/chain/account-queue.d.ts +26 -0
- package/core/application/src/orchestration/chain/account-queue.js +61 -0
- package/core/application/src/orchestration/chain/activity-ids.d.ts +14 -0
- package/core/application/src/orchestration/chain/activity-ids.js +11 -0
- package/core/application/src/orchestration/chain/batch-failed-error.d.ts +13 -0
- package/core/application/src/orchestration/chain/batch-failed-error.js +14 -0
- package/core/application/src/orchestration/chain/batch-submission.d.ts +60 -0
- package/core/application/src/orchestration/chain/batch-submission.js +77 -0
- package/core/application/src/orchestration/chain/chain-connection.d.ts +78 -0
- package/core/application/src/orchestration/chain/chain-connection.js +82 -0
- package/core/application/src/orchestration/chain/dispatch-failed-error.d.ts +12 -0
- package/core/application/src/orchestration/chain/dispatch-failed-error.js +16 -0
- package/core/application/src/orchestration/chain/events.d.ts +56 -0
- package/core/application/src/orchestration/chain/events.js +97 -0
- package/core/application/src/orchestration/chain/funding-batch.d.ts +40 -0
- package/core/application/src/orchestration/chain/funding-batch.js +100 -0
- package/core/application/src/orchestration/chain/index.d.ts +14 -0
- package/core/application/src/orchestration/chain/index.js +15 -0
- package/core/application/src/orchestration/chain/root-call-failed-error.d.ts +6 -0
- package/core/application/src/orchestration/chain/root-call-failed-error.js +8 -0
- package/core/application/src/orchestration/chain/root-call-refused-error.d.ts +6 -0
- package/core/application/src/orchestration/chain/root-call-refused-error.js +8 -0
- package/core/application/src/orchestration/chain/root-caller.d.ts +56 -0
- package/core/application/src/orchestration/chain/root-caller.js +54 -0
- package/core/application/src/orchestration/chain/scenario-journal.d.ts +27 -0
- package/core/application/src/orchestration/chain/scenario-journal.js +28 -0
- package/core/application/src/orchestration/chain/signing-queues.d.ts +28 -0
- package/core/application/src/orchestration/chain/signing-queues.js +93 -0
- package/core/application/src/orchestration/chain/statement-reader.d.ts +79 -0
- package/core/application/src/orchestration/chain/statement-reader.js +108 -0
- package/core/application/src/orchestration/chain/transaction-executor.d.ts +85 -0
- package/core/application/src/orchestration/chain/transaction-executor.js +184 -0
- package/core/application/src/orchestration/chain/unreadable-blocks-error.d.ts +15 -0
- package/core/application/src/orchestration/chain/unreadable-blocks-error.js +17 -0
- package/core/application/src/orchestration/definitions.d.ts +2 -0
- package/core/application/src/orchestration/definitions.js +5 -0
- package/core/application/src/orchestration/host/chain-gate-source.d.ts +34 -0
- package/core/application/src/orchestration/host/chain-gate-source.js +65 -0
- package/core/application/src/orchestration/host/destinations.d.ts +6 -0
- package/core/application/src/orchestration/host/destinations.js +3 -0
- package/core/application/src/orchestration/host/host-registry.d.ts +93 -0
- package/core/application/src/orchestration/host/host-registry.js +255 -0
- package/core/application/src/orchestration/host/host-routes.d.ts +14 -0
- package/core/application/src/orchestration/host/host-routes.js +11 -0
- package/core/application/src/orchestration/host/host-session-registry.d.ts +79 -0
- package/core/application/src/orchestration/host/host-session-registry.js +150 -0
- package/core/application/src/orchestration/host/index.d.ts +8 -0
- package/core/application/src/orchestration/host/index.js +10 -0
- package/core/application/src/orchestration/host/lab-navigation.d.ts +103 -0
- package/core/application/src/orchestration/host/lab-navigation.js +188 -0
- package/core/application/src/orchestration/host/navigation-bridge.d.ts +82 -0
- package/core/application/src/orchestration/host/navigation-bridge.js +123 -0
- package/core/application/src/orchestration/host/port.d.ts +12 -0
- package/core/application/src/orchestration/host/port.js +3 -0
- package/core/application/src/orchestration/host/session-records.d.ts +11 -0
- package/core/application/src/orchestration/host/session-records.js +23 -0
- package/core/application/src/orchestration/identity/index.d.ts +1 -0
- package/core/application/src/orchestration/identity/index.js +3 -0
- package/core/application/src/orchestration/identity/port.d.ts +11 -0
- package/core/application/src/orchestration/identity/port.js +3 -0
- package/core/application/src/orchestration/index.d.ts +52 -0
- package/core/application/src/orchestration/index.js +46 -0
- package/core/application/src/orchestration/integrations/chain-event-assertion.d.ts +49 -0
- package/core/application/src/orchestration/integrations/chain-event-assertion.js +33 -0
- package/core/application/src/orchestration/integrations/define.d.ts +472 -0
- package/core/application/src/orchestration/integrations/define.js +64 -0
- package/core/application/src/orchestration/integrations/generic-sentences.d.ts +1 -0
- package/core/application/src/orchestration/integrations/generic-sentences.js +3 -0
- package/core/application/src/orchestration/integrations/integration-registry.d.ts +53 -0
- package/core/application/src/orchestration/integrations/integration-registry.js +261 -0
- package/core/application/src/orchestration/integrations/integration-scenarios.d.ts +17 -0
- package/core/application/src/orchestration/integrations/integration-scenarios.js +48 -0
- package/core/application/src/orchestration/integrations/integration-sentences.d.ts +78 -0
- package/core/application/src/orchestration/integrations/integration-sentences.js +214 -0
- package/core/application/src/orchestration/integrations/known-submission-error.d.ts +16 -0
- package/core/application/src/orchestration/integrations/known-submission-error.js +22 -0
- package/core/application/src/orchestration/integrations/ui-chain-check.d.ts +104 -0
- package/core/application/src/orchestration/integrations/ui-chain-check.js +191 -0
- package/core/application/src/orchestration/lab/block-availability.d.ts +20 -0
- package/core/application/src/orchestration/lab/block-availability.js +30 -0
- package/core/application/src/orchestration/lab/checked-environment-time.d.ts +29 -0
- package/core/application/src/orchestration/lab/checked-environment-time.js +52 -0
- package/core/application/src/orchestration/lab/compile.d.ts +66 -0
- package/core/application/src/orchestration/lab/compile.js +54 -0
- package/core/application/src/orchestration/lab/declared-lab-catalog.d.ts +132 -0
- package/core/application/src/orchestration/lab/declared-lab-catalog.js +343 -0
- package/core/application/src/orchestration/lab/define.d.ts +377 -0
- package/core/application/src/orchestration/lab/define.js +18 -0
- package/core/application/src/orchestration/lab/environment-actors.d.ts +18 -0
- package/core/application/src/orchestration/lab/environment-actors.js +22 -0
- package/core/application/src/orchestration/lab/environment-fixtures.d.ts +14 -0
- package/core/application/src/orchestration/lab/environment-fixtures.js +43 -0
- package/core/application/src/orchestration/lab/environment-options.d.ts +20 -0
- package/core/application/src/orchestration/lab/environment-options.js +26 -0
- package/core/application/src/orchestration/lab/environment-registry.d.ts +50 -0
- package/core/application/src/orchestration/lab/environment-registry.js +124 -0
- package/core/application/src/orchestration/lab/environment-view.d.ts +12 -0
- package/core/application/src/orchestration/lab/environment-view.js +73 -0
- package/core/application/src/orchestration/lab/environments.d.ts +74 -0
- package/core/application/src/orchestration/lab/environments.js +98 -0
- package/core/application/src/orchestration/lab/holding-browsers.d.ts +16 -0
- package/core/application/src/orchestration/lab/holding-browsers.js +18 -0
- package/core/application/src/orchestration/lab/integration-availability.d.ts +39 -0
- package/core/application/src/orchestration/lab/integration-availability.js +51 -0
- package/core/application/src/orchestration/lab/kept-placements.d.ts +11 -0
- package/core/application/src/orchestration/lab/kept-placements.js +17 -0
- package/core/application/src/orchestration/lab/lab-rpc.d.ts +30 -0
- package/core/application/src/orchestration/lab/lab-rpc.js +153 -0
- package/core/application/src/orchestration/lab/loaded-lab.d.ts +42 -0
- package/core/application/src/orchestration/lab/loaded-lab.js +48 -0
- package/core/application/src/orchestration/lab/product-lab-config.d.ts +244 -0
- package/core/application/src/orchestration/lab/product-lab-config.js +8 -0
- package/core/application/src/orchestration/lab/registry.d.ts +25 -0
- package/core/application/src/orchestration/lab/registry.js +168 -0
- package/core/application/src/orchestration/lab/root-call-access.d.ts +46 -0
- package/core/application/src/orchestration/lab/root-call-access.js +50 -0
- package/core/application/src/orchestration/lab/scenario-conditions.d.ts +25 -0
- package/core/application/src/orchestration/lab/scenario-conditions.js +31 -0
- package/core/application/src/orchestration/lab/session-ports.d.ts +63 -0
- package/core/application/src/orchestration/lab/session-ports.js +132 -0
- package/core/application/src/orchestration/lab/source-lab-loader.d.ts +60 -0
- package/core/application/src/orchestration/lab/source-lab-loader.js +57 -0
- package/core/application/src/orchestration/lab/start-lab-environment.d.ts +6 -0
- package/core/application/src/orchestration/lab/start-lab-environment.js +609 -0
- package/core/application/src/orchestration/lab/topology-overrides.d.ts +3 -0
- package/core/application/src/orchestration/lab/topology-overrides.js +42 -0
- package/core/application/src/orchestration/lab/validate.d.ts +36 -0
- package/core/application/src/orchestration/lab/validate.js +235 -0
- package/core/application/src/orchestration/managed-environment.d.ts +7 -0
- package/core/application/src/orchestration/managed-environment.js +109 -0
- package/core/application/src/orchestration/run/index.d.ts +8 -0
- package/core/application/src/orchestration/run/index.js +3 -0
- package/core/application/src/orchestration/run/resources.d.ts +8 -0
- package/core/application/src/orchestration/run/resources.js +3 -0
- package/core/application/src/orchestration/secrets/dev-account-source.d.ts +10 -0
- package/core/application/src/orchestration/secrets/dev-account-source.js +18 -0
- package/core/application/src/orchestration/secrets/env-source.d.ts +10 -0
- package/core/application/src/orchestration/secrets/env-source.js +19 -0
- package/core/application/src/orchestration/secrets/secret-error.d.ts +5 -0
- package/core/application/src/orchestration/secrets/secret-error.js +10 -0
- package/core/application/src/orchestration/secrets/secret-resolver.d.ts +53 -0
- package/core/application/src/orchestration/secrets/secret-resolver.js +92 -0
- package/core/application/src/orchestration/secrets/secret-source.d.ts +18 -0
- package/core/application/src/orchestration/secrets/secret-source.js +12 -0
- package/core/application/src/orchestration/secrets/sources.d.ts +27 -0
- package/core/application/src/orchestration/secrets/sources.js +42 -0
- package/core/application/src/orchestration/services/authority-error.d.ts +7 -0
- package/core/application/src/orchestration/services/authority-error.js +9 -0
- package/core/application/src/orchestration/services/authorized-service.d.ts +54 -0
- package/core/application/src/orchestration/services/authorized-service.js +59 -0
- package/core/application/src/orchestration/services/define.d.ts +61 -0
- package/core/application/src/orchestration/services/define.js +49 -0
- package/core/application/src/orchestration/services/service-container.d.ts +85 -0
- package/core/application/src/orchestration/services/service-container.js +320 -0
- package/core/application/src/orchestration/services/service-error.d.ts +7 -0
- package/core/application/src/orchestration/services/service-error.js +10 -0
- package/core/application/src/orchestration/services/service-lifetime-scope.d.ts +22 -0
- package/core/application/src/orchestration/services/service-lifetime-scope.js +22 -0
- package/core/application/src/orchestration/services/stale-generation-error.d.ts +5 -0
- package/core/application/src/orchestration/services/stale-generation-error.js +9 -0
- package/core/application/src/orchestration/steps.d.ts +28 -0
- package/core/application/src/orchestration/steps.js +36 -0
- package/core/application/src/orchestration/topology.d.ts +7 -0
- package/core/application/src/orchestration/topology.js +6 -0
- package/core/application/src/orchestration/types.d.ts +4 -0
- package/core/application/src/orchestration/types.js +3 -0
- package/core/application/src/recordings/check-step-speed.d.ts +10 -0
- package/core/application/src/recordings/check-step-speed.js +43 -0
- package/core/application/src/recordings/console-collector.d.ts +21 -0
- package/core/application/src/recordings/console-collector.js +43 -0
- package/core/application/src/recordings/console-log.d.ts +19 -0
- package/core/application/src/recordings/console-log.js +29 -0
- package/core/application/src/recordings/deadline.d.ts +16 -0
- package/core/application/src/recordings/deadline.js +23 -0
- package/core/application/src/recordings/demo-markup.d.ts +66 -0
- package/core/application/src/recordings/demo-markup.js +90 -0
- package/core/application/src/recordings/demo-recording.d.ts +32 -0
- package/core/application/src/recordings/demo-recording.js +213 -0
- package/core/application/src/recordings/frame-sources.d.ts +9 -0
- package/core/application/src/recordings/frame-sources.js +14 -0
- package/core/application/src/recordings/health-sampler.d.ts +33 -0
- package/core/application/src/recordings/health-sampler.js +71 -0
- package/core/application/src/recordings/host-logs.d.ts +17 -0
- package/core/application/src/recordings/host-logs.js +43 -0
- package/core/application/src/recordings/list-recordings.d.ts +11 -0
- package/core/application/src/recordings/list-recordings.js +23 -0
- package/core/application/src/recordings/open-recording.d.ts +17 -0
- package/core/application/src/recordings/open-recording.js +41 -0
- package/core/application/src/recordings/read-run-step-health.d.ts +18 -0
- package/core/application/src/recordings/read-run-step-health.js +39 -0
- package/core/application/src/recordings/record-runs.d.ts +121 -0
- package/core/application/src/recordings/record-runs.js +426 -0
- package/core/application/src/recordings/recording-draft.d.ts +108 -0
- package/core/application/src/recordings/recording-draft.js +214 -0
- package/core/application/src/recordings/recording-stores.d.ts +18 -0
- package/core/application/src/recordings/recording-stores.js +21 -0
- package/core/application/src/recordings/step-chain-reader.d.ts +54 -0
- package/core/application/src/recordings/step-chain-reader.js +176 -0
- package/core/application/src/recordings/step-host-request-reader.d.ts +18 -0
- package/core/application/src/recordings/step-host-request-reader.js +63 -0
- package/core/application/src/recordings/write-journey-docs.d.ts +17 -0
- package/core/application/src/recordings/write-journey-docs.js +119 -0
- package/core/application/src/redaction/bip39-english.d.ts +1 -0
- package/core/application/src/redaction/bip39-english.js +132 -0
- package/core/application/src/redaction/secret-redactor.d.ts +21 -0
- package/core/application/src/redaction/secret-redactor.js +104 -0
- package/core/application/src/runs/activity-log.d.ts +49 -0
- package/core/application/src/runs/activity-log.js +199 -0
- package/core/application/src/runs/after-failure-checks.d.ts +56 -0
- package/core/application/src/runs/after-failure-checks.js +89 -0
- package/core/application/src/runs/after-failure-words.d.ts +9 -0
- package/core/application/src/runs/after-failure-words.js +63 -0
- package/core/application/src/runs/bundles/bundle-paths.d.ts +12 -0
- package/core/application/src/runs/bundles/bundle-paths.js +59 -0
- package/core/application/src/runs/bundles/bundle-recording.d.ts +44 -0
- package/core/application/src/runs/bundles/bundle-recording.js +288 -0
- package/core/application/src/runs/bundles/open-run-bundle.d.ts +23 -0
- package/core/application/src/runs/bundles/open-run-bundle.js +50 -0
- package/core/application/src/runs/bundles/reproduce-run.d.ts +44 -0
- package/core/application/src/runs/bundles/reproduce-run.js +173 -0
- package/core/application/src/runs/bundles/run-bundle-ports.d.ts +7 -0
- package/core/application/src/runs/bundles/run-bundle-ports.js +3 -0
- package/core/application/src/runs/bundles/run-bundle-sources.d.ts +18 -0
- package/core/application/src/runs/bundles/run-bundle-sources.js +43 -0
- package/core/application/src/runs/bundles/run-bundles-service.d.ts +20 -0
- package/core/application/src/runs/bundles/run-bundles-service.js +22 -0
- package/core/application/src/runs/bundles/start-state.d.ts +7 -0
- package/core/application/src/runs/bundles/start-state.js +5 -0
- package/core/application/src/runs/cancelled-error.d.ts +4 -0
- package/core/application/src/runs/cancelled-error.js +5 -0
- package/core/application/src/runs/check-stores.d.ts +28 -0
- package/core/application/src/runs/check-stores.js +103 -0
- package/core/application/src/runs/check-transaction-landed.d.ts +59 -0
- package/core/application/src/runs/check-transaction-landed.js +202 -0
- package/core/application/src/runs/collect-evidence.d.ts +11 -0
- package/core/application/src/runs/collect-evidence.js +48 -0
- package/core/application/src/runs/declared-writes.d.ts +17 -0
- package/core/application/src/runs/declared-writes.js +34 -0
- package/core/application/src/runs/explain-failure.d.ts +4 -0
- package/core/application/src/runs/explain-failure.js +95 -0
- package/core/application/src/runs/failure-rules.d.ts +15 -0
- package/core/application/src/runs/failure-rules.js +197 -0
- package/core/application/src/runs/host-bypass-monitor.d.ts +56 -0
- package/core/application/src/runs/host-bypass-monitor.js +420 -0
- package/core/application/src/runs/judge-negative-control.d.ts +4 -0
- package/core/application/src/runs/judge-negative-control.js +8 -0
- package/core/application/src/runs/node-route-identities.d.ts +9 -0
- package/core/application/src/runs/node-route-identities.js +32 -0
- package/core/application/src/runs/plan-error.d.ts +4 -0
- package/core/application/src/runs/plan-error.js +5 -0
- package/core/application/src/runs/quarantined-resource-error.d.ts +6 -0
- package/core/application/src/runs/quarantined-resource-error.js +12 -0
- package/core/application/src/runs/resource-locks.d.ts +44 -0
- package/core/application/src/runs/resource-locks.js +104 -0
- package/core/application/src/runs/run-console.d.ts +35 -0
- package/core/application/src/runs/run-console.js +43 -0
- package/core/application/src/runs/run-failure-message.d.ts +4 -0
- package/core/application/src/runs/run-failure-message.js +28 -0
- package/core/application/src/runs/run-scenario.d.ts +69 -0
- package/core/application/src/runs/run-scenario.js +240 -0
- package/core/application/src/runs/run-transactions.d.ts +17 -0
- package/core/application/src/runs/run-transactions.js +117 -0
- package/core/application/src/runs/scenario-inputs.d.ts +6 -0
- package/core/application/src/runs/scenario-inputs.js +26 -0
- package/core/application/src/runs/scenario-run.d.ts +244 -0
- package/core/application/src/runs/scenario-run.js +600 -0
- package/core/application/src/runs/scheduler.d.ts +235 -0
- package/core/application/src/runs/scheduler.js +400 -0
- package/core/application/src/runs/settle-failed-step.d.ts +27 -0
- package/core/application/src/runs/settle-failed-step.js +110 -0
- package/core/application/src/runs/statement-window.d.ts +37 -0
- package/core/application/src/runs/statement-window.js +76 -0
- package/core/application/src/runs/step-timeout-error.d.ts +4 -0
- package/core/application/src/runs/step-timeout-error.js +5 -0
- package/core/application/src/runs/submission-window.d.ts +102 -0
- package/core/application/src/runs/submission-window.js +233 -0
- package/core/application/src/settings/manage-lab-settings.d.ts +10 -0
- package/core/application/src/settings/manage-lab-settings.js +70 -0
- package/core/application/src/suites/compare-suite-runs.d.ts +15 -0
- package/core/application/src/suites/compare-suite-runs.js +55 -0
- package/core/application/src/suites/observed-versions-file.d.ts +30 -0
- package/core/application/src/suites/observed-versions-file.js +30 -0
- package/core/application/src/suites/row-combination.d.ts +9 -0
- package/core/application/src/suites/row-combination.js +36 -0
- package/core/application/src/suites/row-host-route.d.ts +26 -0
- package/core/application/src/suites/row-host-route.js +30 -0
- package/core/application/src/suites/run-suite.d.ts +76 -0
- package/core/application/src/suites/run-suite.js +367 -0
- package/core/application/src/suites/run-timings-file.d.ts +21 -0
- package/core/application/src/suites/run-timings-file.js +39 -0
- package/core/application/src/suites/run-workers.d.ts +19 -0
- package/core/application/src/suites/run-workers.js +118 -0
- package/core/application/src/suites/start-together.d.ts +15 -0
- package/core/application/src/suites/start-together.js +30 -0
- package/core/application/src/suites/suite-metrics.d.ts +8 -0
- package/core/application/src/suites/suite-metrics.js +67 -0
- package/core/application/src/suites/summarize-suite-run.d.ts +6 -0
- package/core/application/src/suites/summarize-suite-run.js +57 -0
- package/core/application/src/tools/runtime-tool-context.d.ts +5 -0
- package/core/application/src/tools/runtime-tool-context.js +40 -0
- package/core/application/src/tools/save-scenario.d.ts +18 -0
- package/core/application/src/tools/save-scenario.js +49 -0
- package/core/application/src/tools/tool-catalog.d.ts +27 -0
- package/core/application/src/tools/tool-catalog.js +157 -0
- package/core/application/src/tools/tool-context.d.ts +34 -0
- package/core/application/src/tools/tool-context.js +3 -0
- package/core/application/src/tools/tool-reports.d.ts +56 -0
- package/core/application/src/tools/tool-reports.js +253 -0
- package/core/application/src/tools/tool-runner.d.ts +67 -0
- package/core/application/src/tools/tool-runner.js +423 -0
- package/core/application/src/versions/check-recovery.d.ts +20 -0
- package/core/application/src/versions/check-recovery.js +14 -0
- package/core/application/src/versions/lab-artifacts.d.ts +27 -0
- package/core/application/src/versions/lab-artifacts.js +72 -0
- package/core/application/src/versions/lab-versions-service.d.ts +87 -0
- package/core/application/src/versions/lab-versions-service.js +93 -0
- package/core/application/src/versions/lock-proposal-body.d.ts +5 -0
- package/core/application/src/versions/lock-proposal-body.js +59 -0
- package/core/application/src/versions/lock-proposal-evidence.d.ts +28 -0
- package/core/application/src/versions/lock-proposal-evidence.js +158 -0
- package/core/application/src/versions/lock-writer.d.ts +13 -0
- package/core/application/src/versions/lock-writer.js +24 -0
- package/core/application/src/versions/pin-version.d.ts +21 -0
- package/core/application/src/versions/pin-version.js +23 -0
- package/core/application/src/versions/policy-reader.d.ts +16 -0
- package/core/application/src/versions/policy-reader.js +21 -0
- package/core/application/src/versions/propose-lock.d.ts +23 -0
- package/core/application/src/versions/propose-lock.js +100 -0
- package/core/application/src/versions/resolve-versions.d.ts +52 -0
- package/core/application/src/versions/resolve-versions.js +85 -0
- package/core/application/src/versions/run-versions.d.ts +15 -0
- package/core/application/src/versions/run-versions.js +3 -0
- package/core/application/src/versions/show-versions.d.ts +19 -0
- package/core/application/src/versions/show-versions.js +51 -0
- package/core/application/src/versions/update-lock.d.ts +24 -0
- package/core/application/src/versions/update-lock.js +49 -0
- package/core/application/src/versions/verify-lock.d.ts +21 -0
- package/core/application/src/versions/verify-lock.js +53 -0
- package/core/application/src/versions/version-sources.d.ts +18 -0
- package/core/application/src/versions/version-sources.js +33 -0
- package/core/domain/README.md +197 -0
- package/core/domain/src/accounts/account-address.d.ts +48 -0
- package/core/domain/src/accounts/account-address.js +153 -0
- package/core/domain/src/accounts/account-format-error.d.ts +12 -0
- package/core/domain/src/accounts/account-format-error.js +14 -0
- package/core/domain/src/accounts/account-functions.d.ts +15 -0
- package/core/domain/src/accounts/account-functions.js +16 -0
- package/core/domain/src/accounts/ambiguous-account-error.d.ts +9 -0
- package/core/domain/src/accounts/ambiguous-account-error.js +13 -0
- package/core/domain/src/accounts/expected-account.d.ts +19 -0
- package/core/domain/src/accounts/expected-account.js +35 -0
- package/core/domain/src/accounts/hashes.d.ts +4 -0
- package/core/domain/src/accounts/hashes.js +131 -0
- package/core/domain/src/accounts/index.d.ts +5 -0
- package/core/domain/src/accounts/index.js +7 -0
- package/core/domain/src/actors/actor-alias.d.ts +13 -0
- package/core/domain/src/actors/actor-alias.js +24 -0
- package/core/domain/src/actors/actor-id.d.ts +13 -0
- package/core/domain/src/actors/actor-id.js +24 -0
- package/core/domain/src/actors/actor-roster.d.ts +19 -0
- package/core/domain/src/actors/actor-roster.js +36 -0
- package/core/domain/src/actors/actor.d.ts +122 -0
- package/core/domain/src/actors/actor.js +49 -0
- package/core/domain/src/actors/host-color.d.ts +4 -0
- package/core/domain/src/actors/host-color.js +6 -0
- package/core/domain/src/actors/host-options.d.ts +74 -0
- package/core/domain/src/actors/host-options.js +100 -0
- package/core/domain/src/actors/index.d.ts +8 -0
- package/core/domain/src/actors/index.js +10 -0
- package/core/domain/src/actors/principal.d.ts +42 -0
- package/core/domain/src/actors/principal.js +33 -0
- package/core/domain/src/actors/session.d.ts +20 -0
- package/core/domain/src/actors/session.js +35 -0
- package/core/domain/src/agreement/agreement-judge.d.ts +66 -0
- package/core/domain/src/agreement/agreement-judge.js +272 -0
- package/core/domain/src/agreement/agreement-mode.d.ts +14 -0
- package/core/domain/src/agreement/agreement-mode.js +16 -0
- package/core/domain/src/agreement/agreement-record.d.ts +142 -0
- package/core/domain/src/agreement/agreement-record.js +14 -0
- package/core/domain/src/agreement/agreement-sample.d.ts +65 -0
- package/core/domain/src/agreement/agreement-sample.js +3 -0
- package/core/domain/src/agreement/agreement-settings.d.ts +36 -0
- package/core/domain/src/agreement/agreement-settings.js +55 -0
- package/core/domain/src/agreement/claims.d.ts +9 -0
- package/core/domain/src/agreement/claims.js +55 -0
- package/core/domain/src/agreement/index.d.ts +7 -0
- package/core/domain/src/agreement/index.js +9 -0
- package/core/domain/src/agreement/ui-chain-disagreement-error.d.ts +18 -0
- package/core/domain/src/agreement/ui-chain-disagreement-error.js +22 -0
- package/core/domain/src/apps/app-account-source.d.ts +29 -0
- package/core/domain/src/apps/app-account-source.js +41 -0
- package/core/domain/src/apps/app-announcement-window.d.ts +17 -0
- package/core/domain/src/apps/app-announcement-window.js +30 -0
- package/core/domain/src/apps/app-build-message.d.ts +75 -0
- package/core/domain/src/apps/app-build-message.js +42 -0
- package/core/domain/src/apps/app-deployed-source.d.ts +62 -0
- package/core/domain/src/apps/app-deployed-source.js +100 -0
- package/core/domain/src/apps/app-dev-server.d.ts +115 -0
- package/core/domain/src/apps/app-dev-server.js +186 -0
- package/core/domain/src/apps/app-framing.d.ts +70 -0
- package/core/domain/src/apps/app-framing.js +133 -0
- package/core/domain/src/apps/app-readiness.d.ts +102 -0
- package/core/domain/src/apps/app-readiness.js +138 -0
- package/core/domain/src/apps/app-watch.d.ts +62 -0
- package/core/domain/src/apps/app-watch.js +106 -0
- package/core/domain/src/apps/dev-server-socket.d.ts +27 -0
- package/core/domain/src/apps/dev-server-socket.js +76 -0
- package/core/domain/src/apps/host-bypass-policy.d.ts +5 -0
- package/core/domain/src/apps/host-bypass-policy.js +12 -0
- package/core/domain/src/apps/html-script.d.ts +9 -0
- package/core/domain/src/apps/html-script.js +21 -0
- package/core/domain/src/apps/index.d.ts +15 -0
- package/core/domain/src/apps/index.js +17 -0
- package/core/domain/src/apps/next-turbopack-announcement.d.ts +8 -0
- package/core/domain/src/apps/next-turbopack-announcement.js +62 -0
- package/core/domain/src/apps/next-webpack-announcement.d.ts +5 -0
- package/core/domain/src/apps/next-webpack-announcement.js +42 -0
- package/core/domain/src/apps/vite-app-announcement.d.ts +2 -0
- package/core/domain/src/apps/vite-app-announcement.js +30 -0
- package/core/domain/src/apps/webpack-dev-server-announcement.d.ts +12 -0
- package/core/domain/src/apps/webpack-dev-server-announcement.js +56 -0
- package/core/domain/src/builder/builder-check.d.ts +81 -0
- package/core/domain/src/builder/builder-check.js +253 -0
- package/core/domain/src/builder/builder-document.d.ts +95 -0
- package/core/domain/src/builder/builder-document.js +16 -0
- package/core/domain/src/builder/builder-edit.d.ts +70 -0
- package/core/domain/src/builder/builder-edit.js +190 -0
- package/core/domain/src/builder/builder-error.d.ts +8 -0
- package/core/domain/src/builder/builder-error.js +11 -0
- package/core/domain/src/builder/builder-palette.d.ts +101 -0
- package/core/domain/src/builder/builder-palette.js +90 -0
- package/core/domain/src/builder/feature-reader.d.ts +4 -0
- package/core/domain/src/builder/feature-reader.js +326 -0
- package/core/domain/src/builder/feature-writer.d.ts +51 -0
- package/core/domain/src/builder/feature-writer.js +230 -0
- package/core/domain/src/builder/index.d.ts +8 -0
- package/core/domain/src/builder/index.js +10 -0
- package/core/domain/src/builder/round-trip-error.d.ts +6 -0
- package/core/domain/src/builder/round-trip-error.js +10 -0
- package/core/domain/src/checks/index.d.ts +3 -0
- package/core/domain/src/checks/index.js +5 -0
- package/core/domain/src/checks/side-reading.d.ts +96 -0
- package/core/domain/src/checks/side-reading.js +105 -0
- package/core/domain/src/checks/step-check-error.d.ts +4 -0
- package/core/domain/src/checks/step-check-error.js +5 -0
- package/core/domain/src/checks/step-checks.d.ts +115 -0
- package/core/domain/src/checks/step-checks.js +120 -0
- package/core/domain/src/conditions/condition-error.d.ts +4 -0
- package/core/domain/src/conditions/condition-error.js +8 -0
- package/core/domain/src/conditions/condition-profiles.d.ts +15 -0
- package/core/domain/src/conditions/condition-profiles.js +42 -0
- package/core/domain/src/conditions/condition-step.d.ts +29 -0
- package/core/domain/src/conditions/condition-step.js +45 -0
- package/core/domain/src/conditions/conditioned-traffic.d.ts +25 -0
- package/core/domain/src/conditions/conditioned-traffic.js +31 -0
- package/core/domain/src/conditions/conditioned-wire.d.ts +21 -0
- package/core/domain/src/conditions/conditioned-wire.js +38 -0
- package/core/domain/src/conditions/cpu-slowdown.d.ts +4 -0
- package/core/domain/src/conditions/cpu-slowdown.js +9 -0
- package/core/domain/src/conditions/index.d.ts +7 -0
- package/core/domain/src/conditions/index.js +9 -0
- package/core/domain/src/conditions/network-condition.d.ts +18 -0
- package/core/domain/src/conditions/network-condition.js +25 -0
- package/core/domain/src/devices/device-profile.d.ts +43 -0
- package/core/domain/src/devices/device-profile.js +70 -0
- package/core/domain/src/devices/index.d.ts +2 -0
- package/core/domain/src/devices/index.js +4 -0
- package/core/domain/src/devices/synthetic-media.d.ts +15 -0
- package/core/domain/src/devices/synthetic-media.js +7 -0
- package/core/domain/src/explore/exploration-alphabet.d.ts +30 -0
- package/core/domain/src/explore/exploration-alphabet.js +88 -0
- package/core/domain/src/explore/failure-signature.d.ts +13 -0
- package/core/domain/src/explore/failure-signature.js +14 -0
- package/core/domain/src/explore/index.d.ts +6 -0
- package/core/domain/src/explore/index.js +8 -0
- package/core/domain/src/explore/seeded-random.d.ts +11 -0
- package/core/domain/src/explore/seeded-random.js +27 -0
- package/core/domain/src/explore/shrink-steps.d.ts +15 -0
- package/core/domain/src/explore/shrink-steps.js +42 -0
- package/core/domain/src/explore/what-if-branches.d.ts +34 -0
- package/core/domain/src/explore/what-if-branches.js +62 -0
- package/core/domain/src/explore/what-if-plan-error.d.ts +5 -0
- package/core/domain/src/explore/what-if-plan-error.js +10 -0
- package/core/domain/src/features/cleanup-report.d.ts +22 -0
- package/core/domain/src/features/cleanup-report.js +23 -0
- package/core/domain/src/features/feature-file.d.ts +111 -0
- package/core/domain/src/features/feature-file.js +290 -0
- package/core/domain/src/features/feature-path.d.ts +7 -0
- package/core/domain/src/features/feature-path.js +19 -0
- package/core/domain/src/features/index.d.ts +8 -0
- package/core/domain/src/features/index.js +10 -0
- package/core/domain/src/features/plain-output.d.ts +43 -0
- package/core/domain/src/features/plain-output.js +47 -0
- package/core/domain/src/features/scenario-conditions.d.ts +28 -0
- package/core/domain/src/features/scenario-conditions.js +51 -0
- package/core/domain/src/features/scenario-environments.d.ts +47 -0
- package/core/domain/src/features/scenario-environments.js +47 -0
- package/core/domain/src/features/step-breakpoints.d.ts +48 -0
- package/core/domain/src/features/step-breakpoints.js +75 -0
- package/core/domain/src/features/tag-expression.d.ts +1 -0
- package/core/domain/src/features/tag-expression.js +45 -0
- package/core/domain/src/fixtures/fixture-bundle.d.ts +123 -0
- package/core/domain/src/fixtures/fixture-bundle.js +183 -0
- package/core/domain/src/fixtures/fixture-catalog.d.ts +49 -0
- package/core/domain/src/fixtures/fixture-catalog.js +91 -0
- package/core/domain/src/fixtures/fixture-declaration.d.ts +22 -0
- package/core/domain/src/fixtures/fixture-declaration.js +60 -0
- package/core/domain/src/fixtures/fixture-import-incomplete-error.d.ts +10 -0
- package/core/domain/src/fixtures/fixture-import-incomplete-error.js +10 -0
- package/core/domain/src/fixtures/fixture-key.d.ts +57 -0
- package/core/domain/src/fixtures/fixture-key.js +129 -0
- package/core/domain/src/fixtures/fixture-record.d.ts +89 -0
- package/core/domain/src/fixtures/fixture-record.js +105 -0
- package/core/domain/src/fixtures/fixture-refused-error.d.ts +11 -0
- package/core/domain/src/fixtures/fixture-refused-error.js +13 -0
- package/core/domain/src/fixtures/fixture-source-declaration.d.ts +21 -0
- package/core/domain/src/fixtures/fixture-source-declaration.js +36 -0
- package/core/domain/src/fixtures/index.d.ts +9 -0
- package/core/domain/src/fixtures/index.js +11 -0
- package/core/domain/src/fixtures/scenario-fixture.d.ts +34 -0
- package/core/domain/src/fixtures/scenario-fixture.js +33 -0
- package/core/domain/src/identity/identity.d.ts +50 -0
- package/core/domain/src/identity/identity.js +47 -0
- package/core/domain/src/identity/index.d.ts +2 -0
- package/core/domain/src/identity/index.js +4 -0
- package/core/domain/src/identity/pre-onboarded-actor.d.ts +34 -0
- package/core/domain/src/identity/pre-onboarded-actor.js +66 -0
- package/core/domain/src/index.d.ts +27 -0
- package/core/domain/src/index.js +29 -0
- package/core/domain/src/lab/capability-policy.d.ts +37 -0
- package/core/domain/src/lab/capability-policy.js +50 -0
- package/core/domain/src/lab/capability.d.ts +4 -0
- package/core/domain/src/lab/capability.js +13 -0
- package/core/domain/src/lab/chain-pace.d.ts +20 -0
- package/core/domain/src/lab/chain-pace.js +19 -0
- package/core/domain/src/lab/confirmation-required-error.d.ts +8 -0
- package/core/domain/src/lab/confirmation-required-error.js +10 -0
- package/core/domain/src/lab/environment-options.d.ts +43 -0
- package/core/domain/src/lab/environment-options.js +39 -0
- package/core/domain/src/lab/environment-request-error.d.ts +10 -0
- package/core/domain/src/lab/environment-request-error.js +5 -0
- package/core/domain/src/lab/host-capabilities.d.ts +60 -0
- package/core/domain/src/lab/host-capabilities.js +15 -0
- package/core/domain/src/lab/index.d.ts +24 -0
- package/core/domain/src/lab/index.js +26 -0
- package/core/domain/src/lab/integration-readiness.d.ts +37 -0
- package/core/domain/src/lab/integration-readiness.js +35 -0
- package/core/domain/src/lab/lab-configuration-error.d.ts +5 -0
- package/core/domain/src/lab/lab-configuration-error.js +10 -0
- package/core/domain/src/lab/offer.d.ts +47 -0
- package/core/domain/src/lab/offer.js +62 -0
- package/core/domain/src/lab/public-target.d.ts +94 -0
- package/core/domain/src/lab/public-target.js +114 -0
- package/core/domain/src/lab/requirement-check.d.ts +23 -0
- package/core/domain/src/lab/requirement-check.js +30 -0
- package/core/domain/src/lab/requirement-functions.d.ts +14 -0
- package/core/domain/src/lab/requirement-functions.js +13 -0
- package/core/domain/src/lab/requirements.d.ts +25 -0
- package/core/domain/src/lab/requirements.js +29 -0
- package/core/domain/src/lab/resolved-config.d.ts +81 -0
- package/core/domain/src/lab/resolved-config.js +91 -0
- package/core/domain/src/lab/rpc-selection.d.ts +62 -0
- package/core/domain/src/lab/rpc-selection.js +95 -0
- package/core/domain/src/lab/run-manifest.d.ts +36 -0
- package/core/domain/src/lab/run-manifest.js +24 -0
- package/core/domain/src/lab/running-lab.d.ts +6 -0
- package/core/domain/src/lab/running-lab.js +5 -0
- package/core/domain/src/lab/runtime-wire.d.ts +21 -0
- package/core/domain/src/lab/runtime-wire.js +87 -0
- package/core/domain/src/lab/topology-error.d.ts +5 -0
- package/core/domain/src/lab/topology-error.js +10 -0
- package/core/domain/src/lab/topology-functions.d.ts +66 -0
- package/core/domain/src/lab/topology-functions.js +159 -0
- package/core/domain/src/lab/topology-issues.d.ts +16 -0
- package/core/domain/src/lab/topology-issues.js +45 -0
- package/core/domain/src/lab/topology.d.ts +188 -0
- package/core/domain/src/lab/topology.js +53 -0
- package/core/domain/src/lab/value-tones.d.ts +30 -0
- package/core/domain/src/lab/value-tones.js +66 -0
- package/core/domain/src/load/index.d.ts +3 -0
- package/core/domain/src/load/index.js +5 -0
- package/core/domain/src/load/load-guard.d.ts +14 -0
- package/core/domain/src/load/load-guard.js +13 -0
- package/core/domain/src/load/load-plan.d.ts +26 -0
- package/core/domain/src/load/load-plan.js +32 -0
- package/core/domain/src/load/load-report.d.ts +64 -0
- package/core/domain/src/load/load-report.js +73 -0
- package/core/domain/src/navigation/app-routes.d.ts +27 -0
- package/core/domain/src/navigation/app-routes.js +85 -0
- package/core/domain/src/navigation/app-url.d.ts +9 -0
- package/core/domain/src/navigation/app-url.js +22 -0
- package/core/domain/src/navigation/index.d.ts +7 -0
- package/core/domain/src/navigation/index.js +9 -0
- package/core/domain/src/navigation/named-destination.d.ts +43 -0
- package/core/domain/src/navigation/named-destination.js +49 -0
- package/core/domain/src/navigation/navigation-evidence.d.ts +20 -0
- package/core/domain/src/navigation/navigation-evidence.js +3 -0
- package/core/domain/src/navigation/navigation-expectation.d.ts +16 -0
- package/core/domain/src/navigation/navigation-expectation.js +40 -0
- package/core/domain/src/navigation/navigation-request.d.ts +16 -0
- package/core/domain/src/navigation/navigation-request.js +13 -0
- package/core/domain/src/navigation/navigation-resolution.d.ts +69 -0
- package/core/domain/src/navigation/navigation-resolution.js +37 -0
- package/core/domain/src/network/endpoint-locality.d.ts +14 -0
- package/core/domain/src/network/endpoint-locality.js +39 -0
- package/core/domain/src/network/environment-endpoints.d.ts +36 -0
- package/core/domain/src/network/environment-endpoints.js +49 -0
- package/core/domain/src/network/host-network-routes.d.ts +73 -0
- package/core/domain/src/network/host-network-routes.js +138 -0
- package/core/domain/src/network/host-route-closures.d.ts +9 -0
- package/core/domain/src/network/host-route-closures.js +23 -0
- package/core/domain/src/network/index.d.ts +8 -0
- package/core/domain/src/network/index.js +10 -0
- package/core/domain/src/network/loopback-url.d.ts +33 -0
- package/core/domain/src/network/loopback-url.js +63 -0
- package/core/domain/src/network/mixed-endpoints-error.d.ts +12 -0
- package/core/domain/src/network/mixed-endpoints-error.js +17 -0
- package/core/domain/src/network/network-policy.d.ts +98 -0
- package/core/domain/src/network/network-policy.js +157 -0
- package/core/domain/src/network/observed-endpoints.d.ts +17 -0
- package/core/domain/src/network/observed-endpoints.js +47 -0
- package/core/domain/src/network/worker-hold.d.ts +24 -0
- package/core/domain/src/network/worker-hold.js +14 -0
- package/core/domain/src/products/index.d.ts +3 -0
- package/core/domain/src/products/index.js +5 -0
- package/core/domain/src/products/product-config-policy.d.ts +19 -0
- package/core/domain/src/products/product-config-policy.js +18 -0
- package/core/domain/src/products/product-config-refused.d.ts +4 -0
- package/core/domain/src/products/product-config-refused.js +8 -0
- package/core/domain/src/products/product-config.d.ts +40 -0
- package/core/domain/src/products/product-config.js +75 -0
- package/core/domain/src/recordings/demo-cut.d.ts +91 -0
- package/core/domain/src/recordings/demo-cut.js +179 -0
- package/core/domain/src/recordings/demo-refused-error.d.ts +9 -0
- package/core/domain/src/recordings/demo-refused-error.js +10 -0
- package/core/domain/src/recordings/index.d.ts +16 -0
- package/core/domain/src/recordings/index.js +18 -0
- package/core/domain/src/recordings/journey-document.d.ts +69 -0
- package/core/domain/src/recordings/journey-document.js +93 -0
- package/core/domain/src/recordings/journey-markdown.d.ts +21 -0
- package/core/domain/src/recordings/journey-markdown.js +37 -0
- package/core/domain/src/recordings/journeys-declaration.d.ts +16 -0
- package/core/domain/src/recordings/journeys-declaration.js +17 -0
- package/core/domain/src/recordings/recording-data.d.ts +476 -0
- package/core/domain/src/recordings/recording-data.js +3 -0
- package/core/domain/src/recordings/recording-format-error.d.ts +5 -0
- package/core/domain/src/recordings/recording-format-error.js +9 -0
- package/core/domain/src/recordings/recording-health.d.ts +77 -0
- package/core/domain/src/recordings/recording-health.js +108 -0
- package/core/domain/src/recordings/recording-not-found-error.d.ts +5 -0
- package/core/domain/src/recordings/recording-not-found-error.js +9 -0
- package/core/domain/src/recordings/recording-retention.d.ts +35 -0
- package/core/domain/src/recordings/recording-retention.js +53 -0
- package/core/domain/src/recordings/recording-settings.d.ts +50 -0
- package/core/domain/src/recordings/recording-settings.js +81 -0
- package/core/domain/src/recordings/run-recording.d.ts +65 -0
- package/core/domain/src/recordings/run-recording.js +321 -0
- package/core/domain/src/recordings/step-chain-windows.d.ts +35 -0
- package/core/domain/src/recordings/step-chain-windows.js +50 -0
- package/core/domain/src/recordings/step-console-errors.d.ts +38 -0
- package/core/domain/src/recordings/step-console-errors.js +37 -0
- package/core/domain/src/recordings/step-machine.d.ts +6 -0
- package/core/domain/src/recordings/step-machine.js +15 -0
- package/core/domain/src/recordings/step-speed-limits.d.ts +59 -0
- package/core/domain/src/recordings/step-speed-limits.js +69 -0
- package/core/domain/src/releases/index.d.ts +1 -0
- package/core/domain/src/releases/index.js +3 -0
- package/core/domain/src/releases/release-notes.d.ts +49 -0
- package/core/domain/src/releases/release-notes.js +115 -0
- package/core/domain/src/resources/generation.d.ts +15 -0
- package/core/domain/src/resources/generation.js +26 -0
- package/core/domain/src/resources/index.d.ts +3 -0
- package/core/domain/src/resources/index.js +5 -0
- package/core/domain/src/resources/resource-functions.d.ts +6 -0
- package/core/domain/src/resources/resource-functions.js +12 -0
- package/core/domain/src/resources/resource.d.ts +17 -0
- package/core/domain/src/resources/resource.js +42 -0
- package/core/domain/src/root-calls/index.d.ts +2 -0
- package/core/domain/src/root-calls/index.js +4 -0
- package/core/domain/src/root-calls/known-networks.d.ts +13 -0
- package/core/domain/src/root-calls/known-networks.js +23 -0
- package/core/domain/src/root-calls/root-call-policy.d.ts +44 -0
- package/core/domain/src/root-calls/root-call-policy.js +59 -0
- package/core/domain/src/runs/checkpoint.d.ts +20 -0
- package/core/domain/src/runs/checkpoint.js +22 -0
- package/core/domain/src/runs/evidence.d.ts +66 -0
- package/core/domain/src/runs/evidence.js +126 -0
- package/core/domain/src/runs/failure-description.d.ts +2 -0
- package/core/domain/src/runs/failure-description.js +23 -0
- package/core/domain/src/runs/failure-marker.d.ts +6 -0
- package/core/domain/src/runs/failure-marker.js +32 -0
- package/core/domain/src/runs/failure-reason.d.ts +52 -0
- package/core/domain/src/runs/failure-reason.js +36 -0
- package/core/domain/src/runs/host-bypass-assertion.d.ts +5 -0
- package/core/domain/src/runs/host-bypass-assertion.js +18 -0
- package/core/domain/src/runs/host-bypass-evidence.d.ts +106 -0
- package/core/domain/src/runs/host-bypass-evidence.js +3 -0
- package/core/domain/src/runs/host-bypass-verdict.d.ts +13 -0
- package/core/domain/src/runs/host-bypass-verdict.js +30 -0
- package/core/domain/src/runs/host-request-limits.d.ts +32 -0
- package/core/domain/src/runs/host-request-limits.js +30 -0
- package/core/domain/src/runs/index.d.ts +28 -0
- package/core/domain/src/runs/index.js +30 -0
- package/core/domain/src/runs/lab-failure.d.ts +11 -0
- package/core/domain/src/runs/lab-failure.js +16 -0
- package/core/domain/src/runs/merge-host-bypass-evidence.d.ts +3 -0
- package/core/domain/src/runs/merge-host-bypass-evidence.js +112 -0
- package/core/domain/src/runs/negative-control.d.ts +108 -0
- package/core/domain/src/runs/negative-control.js +123 -0
- package/core/domain/src/runs/race-jitter.d.ts +29 -0
- package/core/domain/src/runs/race-jitter.js +36 -0
- package/core/domain/src/runs/race-seed.d.ts +16 -0
- package/core/domain/src/runs/race-seed.js +35 -0
- package/core/domain/src/runs/run-bundle-data.d.ts +142 -0
- package/core/domain/src/runs/run-bundle-data.js +6 -0
- package/core/domain/src/runs/run-bundle-format-error.d.ts +5 -0
- package/core/domain/src/runs/run-bundle-format-error.js +10 -0
- package/core/domain/src/runs/run-bundle-refused-error.d.ts +7 -0
- package/core/domain/src/runs/run-bundle-refused-error.js +12 -0
- package/core/domain/src/runs/run-bundle-reproduction.d.ts +46 -0
- package/core/domain/src/runs/run-bundle-reproduction.js +57 -0
- package/core/domain/src/runs/run-bundle.d.ts +28 -0
- package/core/domain/src/runs/run-bundle.js +166 -0
- package/core/domain/src/runs/run-transition-error.d.ts +4 -0
- package/core/domain/src/runs/run-transition-error.js +8 -0
- package/core/domain/src/runs/run.d.ts +45 -0
- package/core/domain/src/runs/run.js +91 -0
- package/core/domain/src/runs/scenario-input-error.d.ts +13 -0
- package/core/domain/src/runs/scenario-input-error.js +12 -0
- package/core/domain/src/runs/step-failure.d.ts +18 -0
- package/core/domain/src/runs/step-failure.js +69 -0
- package/core/domain/src/runs/step-submissions.d.ts +73 -0
- package/core/domain/src/runs/step-submissions.js +85 -0
- package/core/domain/src/runs/stored-content.d.ts +17 -0
- package/core/domain/src/runs/stored-content.js +47 -0
- package/core/domain/src/runs/submitted-transaction.d.ts +63 -0
- package/core/domain/src/runs/submitted-transaction.js +108 -0
- package/core/domain/src/runs/transaction-landing.d.ts +82 -0
- package/core/domain/src/runs/transaction-landing.js +76 -0
- package/core/domain/src/runs/workers.d.ts +48 -0
- package/core/domain/src/runs/workers.js +83 -0
- package/core/domain/src/sentences/ambiguous-sentence-error.d.ts +7 -0
- package/core/domain/src/sentences/ambiguous-sentence-error.js +13 -0
- package/core/domain/src/sentences/ambiguous-split-error.d.ts +6 -0
- package/core/domain/src/sentences/ambiguous-split-error.js +14 -0
- package/core/domain/src/sentences/assertion-mutants.d.ts +77 -0
- package/core/domain/src/sentences/assertion-mutants.js +112 -0
- package/core/domain/src/sentences/characters.d.ts +29 -0
- package/core/domain/src/sentences/characters.js +71 -0
- package/core/domain/src/sentences/generic-sentences.d.ts +67 -0
- package/core/domain/src/sentences/generic-sentences.js +66 -0
- package/core/domain/src/sentences/index.d.ts +16 -0
- package/core/domain/src/sentences/index.js +18 -0
- package/core/domain/src/sentences/missing-sentence-error.d.ts +6 -0
- package/core/domain/src/sentences/missing-sentence-error.js +11 -0
- package/core/domain/src/sentences/output-reference.d.ts +14 -0
- package/core/domain/src/sentences/output-reference.js +38 -0
- package/core/domain/src/sentences/scenario-outputs.d.ts +33 -0
- package/core/domain/src/sentences/scenario-outputs.js +36 -0
- package/core/domain/src/sentences/scenario-plan.d.ts +54 -0
- package/core/domain/src/sentences/scenario-plan.js +92 -0
- package/core/domain/src/sentences/sentence-book.d.ts +132 -0
- package/core/domain/src/sentences/sentence-book.js +387 -0
- package/core/domain/src/sentences/sentence-error.d.ts +10 -0
- package/core/domain/src/sentences/sentence-error.js +18 -0
- package/core/domain/src/sentences/sentence-pattern.d.ts +42 -0
- package/core/domain/src/sentences/sentence-pattern.js +139 -0
- package/core/domain/src/sentences/table-error.d.ts +6 -0
- package/core/domain/src/sentences/table-error.js +11 -0
- package/core/domain/src/sentences/table-shape.d.ts +42 -0
- package/core/domain/src/sentences/table-shape.js +121 -0
- package/core/domain/src/sentences/time-advance.d.ts +36 -0
- package/core/domain/src/sentences/time-advance.js +60 -0
- package/core/domain/src/sentences/unresolved-reference-error.d.ts +5 -0
- package/core/domain/src/sentences/unresolved-reference-error.js +9 -0
- package/core/domain/src/shared/adapter-options.d.ts +17 -0
- package/core/domain/src/shared/adapter-options.js +8 -0
- package/core/domain/src/shared/block-unavailable-error.d.ts +15 -0
- package/core/domain/src/shared/block-unavailable-error.js +11 -0
- package/core/domain/src/shared/development-authority.d.ts +12 -0
- package/core/domain/src/shared/development-authority.js +6 -0
- package/core/domain/src/shared/index.d.ts +12 -0
- package/core/domain/src/shared/index.js +14 -0
- package/core/domain/src/shared/json-rpc-error.d.ts +14 -0
- package/core/domain/src/shared/json-rpc-error.js +15 -0
- package/core/domain/src/shared/missing-capability-error.d.ts +4 -0
- package/core/domain/src/shared/missing-capability-error.js +8 -0
- package/core/domain/src/shared/missing-host-tools-error.d.ts +5 -0
- package/core/domain/src/shared/missing-host-tools-error.js +10 -0
- package/core/domain/src/shared/missing-route-error.d.ts +6 -0
- package/core/domain/src/shared/missing-route-error.js +12 -0
- package/core/domain/src/shared/pending-check-error.d.ts +9 -0
- package/core/domain/src/shared/pending-check-error.js +11 -0
- package/core/domain/src/shared/secret-uri.d.ts +27 -0
- package/core/domain/src/shared/secret-uri.js +46 -0
- package/core/domain/src/shared/sibling-module.d.ts +6 -0
- package/core/domain/src/shared/sibling-module.js +9 -0
- package/core/domain/src/shared/unsupported-capability-error.d.ts +6 -0
- package/core/domain/src/shared/unsupported-capability-error.js +11 -0
- package/core/domain/src/shared/unsupported-host-operation.d.ts +7 -0
- package/core/domain/src/shared/unsupported-host-operation.js +14 -0
- package/core/domain/src/statements/content-check.d.ts +16 -0
- package/core/domain/src/statements/content-check.js +52 -0
- package/core/domain/src/statements/index.d.ts +2 -0
- package/core/domain/src/statements/index.js +4 -0
- package/core/domain/src/statements/statement.d.ts +44 -0
- package/core/domain/src/statements/statement.js +118 -0
- package/core/domain/src/suites/bisect-plan.d.ts +87 -0
- package/core/domain/src/suites/bisect-plan.js +76 -0
- package/core/domain/src/suites/bisection.d.ts +73 -0
- package/core/domain/src/suites/bisection.js +113 -0
- package/core/domain/src/suites/change-scopes.d.ts +38 -0
- package/core/domain/src/suites/change-scopes.js +70 -0
- package/core/domain/src/suites/compatibility-notice.d.ts +23 -0
- package/core/domain/src/suites/compatibility-notice.js +115 -0
- package/core/domain/src/suites/compatibility.d.ts +129 -0
- package/core/domain/src/suites/compatibility.js +291 -0
- package/core/domain/src/suites/index.d.ts +15 -0
- package/core/domain/src/suites/index.js +17 -0
- package/core/domain/src/suites/mode-data.d.ts +32 -0
- package/core/domain/src/suites/mode-data.js +3 -0
- package/core/domain/src/suites/path-glob.d.ts +1 -0
- package/core/domain/src/suites/path-glob.js +21 -0
- package/core/domain/src/suites/suite-budget.d.ts +2 -0
- package/core/domain/src/suites/suite-budget.js +15 -0
- package/core/domain/src/suites/suite-config-error.d.ts +4 -0
- package/core/domain/src/suites/suite-config-error.js +8 -0
- package/core/domain/src/suites/suite-config.d.ts +48 -0
- package/core/domain/src/suites/suite-config.js +184 -0
- package/core/domain/src/suites/suite-data.d.ts +52 -0
- package/core/domain/src/suites/suite-data.js +3 -0
- package/core/domain/src/suites/suite-evidence-error.d.ts +20 -0
- package/core/domain/src/suites/suite-evidence-error.js +14 -0
- package/core/domain/src/suites/suite-plan.d.ts +88 -0
- package/core/domain/src/suites/suite-plan.js +123 -0
- package/core/domain/src/suites/suite-run-summary.d.ts +70 -0
- package/core/domain/src/suites/suite-run-summary.js +22 -0
- package/core/domain/src/suites/suite-verdict.d.ts +22 -0
- package/core/domain/src/suites/suite-verdict.js +32 -0
- package/core/domain/src/tools/index.d.ts +1 -0
- package/core/domain/src/tools/index.js +3 -0
- package/core/domain/src/tools/tool-command.d.ts +18 -0
- package/core/domain/src/tools/tool-command.js +61 -0
- package/core/domain/src/versions/component-id.d.ts +17 -0
- package/core/domain/src/versions/component-id.js +40 -0
- package/core/domain/src/versions/digest.d.ts +28 -0
- package/core/domain/src/versions/digest.js +51 -0
- package/core/domain/src/versions/environment-versions.d.ts +41 -0
- package/core/domain/src/versions/environment-versions.js +38 -0
- package/core/domain/src/versions/fork-snapshot.d.ts +16 -0
- package/core/domain/src/versions/fork-snapshot.js +3 -0
- package/core/domain/src/versions/host-route.d.ts +89 -0
- package/core/domain/src/versions/host-route.js +74 -0
- package/core/domain/src/versions/index.d.ts +21 -0
- package/core/domain/src/versions/index.js +23 -0
- package/core/domain/src/versions/lab-lock.d.ts +48 -0
- package/core/domain/src/versions/lab-lock.js +98 -0
- package/core/domain/src/versions/lock-promotion.d.ts +48 -0
- package/core/domain/src/versions/lock-promotion.js +63 -0
- package/core/domain/src/versions/lock-proposal-refusal.d.ts +21 -0
- package/core/domain/src/versions/lock-proposal-refusal.js +41 -0
- package/core/domain/src/versions/locked-component.d.ts +80 -0
- package/core/domain/src/versions/locked-component.js +146 -0
- package/core/domain/src/versions/recovery-policy.d.ts +33 -0
- package/core/domain/src/versions/recovery-policy.js +26 -0
- package/core/domain/src/versions/release-artifact.d.ts +46 -0
- package/core/domain/src/versions/release-artifact.js +70 -0
- package/core/domain/src/versions/release-version.d.ts +17 -0
- package/core/domain/src/versions/release-version.js +52 -0
- package/core/domain/src/versions/resolved-runtime.d.ts +103 -0
- package/core/domain/src/versions/resolved-runtime.js +107 -0
- package/core/domain/src/versions/snapshot-freshness.d.ts +26 -0
- package/core/domain/src/versions/snapshot-freshness.js +25 -0
- package/core/domain/src/versions/version-drift.d.ts +29 -0
- package/core/domain/src/versions/version-drift.js +37 -0
- package/core/domain/src/versions/version-error.d.ts +17 -0
- package/core/domain/src/versions/version-error.js +10 -0
- package/core/domain/src/versions/version-policy.d.ts +19 -0
- package/core/domain/src/versions/version-policy.js +37 -0
- package/core/domain/src/versions/version-resolution.d.ts +103 -0
- package/core/domain/src/versions/version-resolution.js +111 -0
- package/core/domain/src/versions/version-selector.d.ts +58 -0
- package/core/domain/src/versions/version-selector.js +134 -0
- package/core/domain/src/versions/version-workspace-key.d.ts +18 -0
- package/core/domain/src/versions/version-workspace-key.js +41 -0
- package/core/domain/src/versions/versioned-workspace.d.ts +43 -0
- package/core/domain/src/versions/versioned-workspace.js +63 -0
- package/core/lab/README.md +1012 -0
- package/core/lab/src/activity/types.d.ts +1 -0
- package/core/lab/src/activity/types.js +3 -0
- package/core/lab/src/chain/index.d.ts +2 -0
- package/core/lab/src/chain/index.js +4 -0
- package/core/lab/src/chain/transaction-mode-schema.d.ts +11 -0
- package/core/lab/src/chain/transaction-mode-schema.js +5 -0
- package/core/lab/src/host/index.d.ts +1 -0
- package/core/lab/src/host/index.js +3 -0
- package/core/lab/src/identity/index.d.ts +1 -0
- package/core/lab/src/identity/index.js +3 -0
- package/core/lab/src/index.d.ts +2 -0
- package/core/lab/src/index.js +4 -0
- package/core/lab/src/run/index.d.ts +1 -0
- package/core/lab/src/run/index.js +3 -0
- package/core/lab/src/steps.d.ts +1 -0
- package/core/lab/src/steps.js +3 -0
- package/core/lab/src/topology.d.ts +128 -0
- package/core/lab/src/topology.js +58 -0
- package/core/ports/README.md +458 -0
- package/core/ports/src/driven/browser/app-surface.d.ts +41 -0
- package/core/ports/src/driven/browser/app-surface.js +3 -0
- package/core/ports/src/driven/browser/browser.d.ts +79 -0
- package/core/ports/src/driven/browser/browser.js +3 -0
- package/core/ports/src/driven/browser/conditions.d.ts +24 -0
- package/core/ports/src/driven/browser/conditions.js +3 -0
- package/core/ports/src/driven/browser/index.d.ts +6 -0
- package/core/ports/src/driven/browser/index.js +3 -0
- package/core/ports/src/driven/browser/locator.d.ts +55 -0
- package/core/ports/src/driven/browser/locator.js +3 -0
- package/core/ports/src/driven/browser/page.d.ts +71 -0
- package/core/ports/src/driven/browser/page.js +3 -0
- package/core/ports/src/driven/browser/route.d.ts +45 -0
- package/core/ports/src/driven/browser/route.js +3 -0
- package/core/ports/src/driven/chain/bulletin-reader.d.ts +9 -0
- package/core/ports/src/driven/chain/bulletin-reader.js +3 -0
- package/core/ports/src/driven/chain/chain-access.d.ts +37 -0
- package/core/ports/src/driven/chain/chain-access.js +3 -0
- package/core/ports/src/driven/chain/chain-history.d.ts +170 -0
- package/core/ports/src/driven/chain/chain-history.js +3 -0
- package/core/ports/src/driven/chain/chain-readers.d.ts +8 -0
- package/core/ports/src/driven/chain/chain-readers.js +3 -0
- package/core/ports/src/driven/chain/index.d.ts +11 -0
- package/core/ports/src/driven/chain/index.js +3 -0
- package/core/ports/src/driven/chain/key-derivation.d.ts +22 -0
- package/core/ports/src/driven/chain/key-derivation.js +3 -0
- package/core/ports/src/driven/chain/receipt-validator.d.ts +17 -0
- package/core/ports/src/driven/chain/receipt-validator.js +3 -0
- package/core/ports/src/driven/chain/receipt.d.ts +33 -0
- package/core/ports/src/driven/chain/receipt.js +3 -0
- package/core/ports/src/driven/chain/runtime-fingerprint.d.ts +12 -0
- package/core/ports/src/driven/chain/runtime-fingerprint.js +3 -0
- package/core/ports/src/driven/chain/signer.d.ts +16 -0
- package/core/ports/src/driven/chain/signer.js +3 -0
- package/core/ports/src/driven/chain/statement-store-reader.d.ts +53 -0
- package/core/ports/src/driven/chain/statement-store-reader.js +3 -0
- package/core/ports/src/driven/chain/transaction-submitter.d.ts +104 -0
- package/core/ports/src/driven/chain/transaction-submitter.js +3 -0
- package/core/ports/src/driven/deploy/content-archiver.d.ts +21 -0
- package/core/ports/src/driven/deploy/content-archiver.js +3 -0
- package/core/ports/src/driven/deploy/deployer.d.ts +101 -0
- package/core/ports/src/driven/deploy/deployer.js +3 -0
- package/core/ports/src/driven/deploy/destination-directory.d.ts +15 -0
- package/core/ports/src/driven/deploy/destination-directory.js +3 -0
- package/core/ports/src/driven/deploy/destination-server.d.ts +25 -0
- package/core/ports/src/driven/deploy/destination-server.js +3 -0
- package/core/ports/src/driven/deploy/index.d.ts +5 -0
- package/core/ports/src/driven/deploy/index.js +3 -0
- package/core/ports/src/driven/deploy/name-resolver.d.ts +11 -0
- package/core/ports/src/driven/deploy/name-resolver.js +3 -0
- package/core/ports/src/driven/environment/environment-adapter-factory.d.ts +21 -0
- package/core/ports/src/driven/environment/environment-adapter-factory.js +3 -0
- package/core/ports/src/driven/environment/environment-time.d.ts +110 -0
- package/core/ports/src/driven/environment/environment-time.js +3 -0
- package/core/ports/src/driven/environment/environment-tooling.d.ts +51 -0
- package/core/ports/src/driven/environment/environment-tooling.js +3 -0
- package/core/ports/src/driven/environment/index.d.ts +6 -0
- package/core/ports/src/driven/environment/index.js +3 -0
- package/core/ports/src/driven/environment/running-environment.d.ts +267 -0
- package/core/ports/src/driven/environment/running-environment.js +3 -0
- package/core/ports/src/driven/environment/start-phases.d.ts +34 -0
- package/core/ports/src/driven/environment/start-phases.js +3 -0
- package/core/ports/src/driven/environment/topology-adapter-factory.d.ts +52 -0
- package/core/ports/src/driven/environment/topology-adapter-factory.js +3 -0
- package/core/ports/src/driven/factory/adapter-flag.d.ts +21 -0
- package/core/ports/src/driven/factory/adapter-flag.js +3 -0
- package/core/ports/src/driven/factory/index.d.ts +2 -0
- package/core/ports/src/driven/factory/index.js +3 -0
- package/core/ports/src/driven/factory/options-schema.d.ts +21 -0
- package/core/ports/src/driven/factory/options-schema.js +3 -0
- package/core/ports/src/driven/features/custom-step-source.d.ts +33 -0
- package/core/ports/src/driven/features/custom-step-source.js +3 -0
- package/core/ports/src/driven/features/feature-runner.d.ts +193 -0
- package/core/ports/src/driven/features/feature-runner.js +3 -0
- package/core/ports/src/driven/features/feature-source.d.ts +22 -0
- package/core/ports/src/driven/features/feature-source.js +3 -0
- package/core/ports/src/driven/features/index.d.ts +3 -0
- package/core/ports/src/driven/features/index.js +3 -0
- package/core/ports/src/driven/host/host-adapter-factory.d.ts +111 -0
- package/core/ports/src/driven/host/host-adapter-factory.js +3 -0
- package/core/ports/src/driven/host/host-provider.d.ts +71 -0
- package/core/ports/src/driven/host/host-provider.js +3 -0
- package/core/ports/src/driven/host/host-session.d.ts +289 -0
- package/core/ports/src/driven/host/host-session.js +3 -0
- package/core/ports/src/driven/host/host-tool-source.d.ts +19 -0
- package/core/ports/src/driven/host/host-tool-source.js +3 -0
- package/core/ports/src/driven/host/host-upstream.d.ts +24 -0
- package/core/ports/src/driven/host/host-upstream.js +3 -0
- package/core/ports/src/driven/host/host-verifier.d.ts +95 -0
- package/core/ports/src/driven/host/host-verifier.js +3 -0
- package/core/ports/src/driven/host/index.d.ts +7 -0
- package/core/ports/src/driven/host/index.js +3 -0
- package/core/ports/src/driven/identity/identity-provisioner.d.ts +23 -0
- package/core/ports/src/driven/identity/identity-provisioner.js +3 -0
- package/core/ports/src/driven/identity/index.d.ts +2 -0
- package/core/ports/src/driven/identity/index.js +3 -0
- package/core/ports/src/driven/identity/product-account-derivation.d.ts +23 -0
- package/core/ports/src/driven/identity/product-account-derivation.js +3 -0
- package/core/ports/src/driven/lab/client-bundles.d.ts +13 -0
- package/core/ports/src/driven/lab/client-bundles.js +3 -0
- package/core/ports/src/driven/lab/index.d.ts +7 -0
- package/core/ports/src/driven/lab/index.js +3 -0
- package/core/ports/src/driven/lab/lab-configuration.d.ts +86 -0
- package/core/ports/src/driven/lab/lab-configuration.js +3 -0
- package/core/ports/src/driven/lab/lab-definition-source.d.ts +16 -0
- package/core/ports/src/driven/lab/lab-definition-source.js +3 -0
- package/core/ports/src/driven/lab/lab-environment.d.ts +505 -0
- package/core/ports/src/driven/lab/lab-environment.js +3 -0
- package/core/ports/src/driven/lab/lab-sentences.d.ts +113 -0
- package/core/ports/src/driven/lab/lab-sentences.js +3 -0
- package/core/ports/src/driven/lab/loaded-lab.d.ts +297 -0
- package/core/ports/src/driven/lab/loaded-lab.js +3 -0
- package/core/ports/src/driven/lab/scenario.d.ts +137 -0
- package/core/ports/src/driven/lab/scenario.js +3 -0
- package/core/ports/src/driven/notify/index.d.ts +1 -0
- package/core/ports/src/driven/notify/index.js +3 -0
- package/core/ports/src/driven/notify/notifier.d.ts +32 -0
- package/core/ports/src/driven/notify/notifier.js +3 -0
- package/core/ports/src/driven/recording/console-watch.d.ts +28 -0
- package/core/ports/src/driven/recording/console-watch.js +3 -0
- package/core/ports/src/driven/recording/demo-ports.d.ts +53 -0
- package/core/ports/src/driven/recording/demo-ports.js +3 -0
- package/core/ports/src/driven/recording/frame-capture.d.ts +92 -0
- package/core/ports/src/driven/recording/frame-capture.js +3 -0
- package/core/ports/src/driven/recording/index.d.ts +6 -0
- package/core/ports/src/driven/recording/index.js +3 -0
- package/core/ports/src/driven/recording/journey-docs-store.d.ts +35 -0
- package/core/ports/src/driven/recording/journey-docs-store.js +3 -0
- package/core/ports/src/driven/recording/recording-store.d.ts +39 -0
- package/core/ports/src/driven/recording/recording-store.js +3 -0
- package/core/ports/src/driven/recording/step-check-ports.d.ts +29 -0
- package/core/ports/src/driven/recording/step-check-ports.js +3 -0
- package/core/ports/src/driven/storage/breakpoint-store.d.ts +13 -0
- package/core/ports/src/driven/storage/breakpoint-store.js +3 -0
- package/core/ports/src/driven/storage/environment-option-choices.d.ts +4 -0
- package/core/ports/src/driven/storage/environment-option-choices.js +3 -0
- package/core/ports/src/driven/storage/evidence-journal.d.ts +10 -0
- package/core/ports/src/driven/storage/evidence-journal.js +3 -0
- package/core/ports/src/driven/storage/fixture-archives.d.ts +61 -0
- package/core/ports/src/driven/storage/fixture-archives.js +3 -0
- package/core/ports/src/driven/storage/fixture-source.d.ts +53 -0
- package/core/ports/src/driven/storage/fixture-source.js +3 -0
- package/core/ports/src/driven/storage/fixture-store.d.ts +69 -0
- package/core/ports/src/driven/storage/fixture-store.js +3 -0
- package/core/ports/src/driven/storage/index.d.ts +12 -0
- package/core/ports/src/driven/storage/index.js +3 -0
- package/core/ports/src/driven/storage/lab-settings-store.d.ts +8 -0
- package/core/ports/src/driven/storage/lab-settings-store.js +3 -0
- package/core/ports/src/driven/storage/rpc-choices.d.ts +11 -0
- package/core/ports/src/driven/storage/rpc-choices.js +3 -0
- package/core/ports/src/driven/storage/run-bundle-archives.d.ts +46 -0
- package/core/ports/src/driven/storage/run-bundle-archives.js +3 -0
- package/core/ports/src/driven/storage/run-manifest-store.d.ts +18 -0
- package/core/ports/src/driven/storage/run-manifest-store.js +3 -0
- package/core/ports/src/driven/storage/running-lab.d.ts +42 -0
- package/core/ports/src/driven/storage/running-lab.js +3 -0
- package/core/ports/src/driven/storage/suite-evidence-bundles.d.ts +55 -0
- package/core/ports/src/driven/storage/suite-evidence-bundles.js +3 -0
- package/core/ports/src/driven/system/app-proxy.d.ts +123 -0
- package/core/ports/src/driven/system/app-proxy.js +3 -0
- package/core/ports/src/driven/system/chain-gate.d.ts +41 -0
- package/core/ports/src/driven/system/chain-gate.js +3 -0
- package/core/ports/src/driven/system/change-source.d.ts +69 -0
- package/core/ports/src/driven/system/change-source.js +3 -0
- package/core/ports/src/driven/system/clock.d.ts +13 -0
- package/core/ports/src/driven/system/clock.js +3 -0
- package/core/ports/src/driven/system/command-runner.d.ts +33 -0
- package/core/ports/src/driven/system/command-runner.js +3 -0
- package/core/ports/src/driven/system/conditioned-links.d.ts +20 -0
- package/core/ports/src/driven/system/conditioned-links.js +3 -0
- package/core/ports/src/driven/system/connection-monitor.d.ts +40 -0
- package/core/ports/src/driven/system/connection-monitor.js +3 -0
- package/core/ports/src/driven/system/document-headers.d.ts +9 -0
- package/core/ports/src/driven/system/document-headers.js +3 -0
- package/core/ports/src/driven/system/environment-variables.d.ts +9 -0
- package/core/ports/src/driven/system/environment-variables.js +3 -0
- package/core/ports/src/driven/system/file-system.d.ts +41 -0
- package/core/ports/src/driven/system/file-system.js +3 -0
- package/core/ports/src/driven/system/http-probe.d.ts +20 -0
- package/core/ports/src/driven/system/http-probe.js +3 -0
- package/core/ports/src/driven/system/id-generator.d.ts +5 -0
- package/core/ports/src/driven/system/id-generator.js +3 -0
- package/core/ports/src/driven/system/index.d.ts +27 -0
- package/core/ports/src/driven/system/index.js +3 -0
- package/core/ports/src/driven/system/json-rpc-client.d.ts +15 -0
- package/core/ports/src/driven/system/json-rpc-client.js +3 -0
- package/core/ports/src/driven/system/lock-manager.d.ts +55 -0
- package/core/ports/src/driven/system/lock-manager.js +3 -0
- package/core/ports/src/driven/system/logger.d.ts +8 -0
- package/core/ports/src/driven/system/logger.js +3 -0
- package/core/ports/src/driven/system/machine-metrics.d.ts +38 -0
- package/core/ports/src/driven/system/machine-metrics.js +3 -0
- package/core/ports/src/driven/system/os-ports.d.ts +12 -0
- package/core/ports/src/driven/system/os-ports.js +3 -0
- package/core/ports/src/driven/system/port-allocator.d.ts +46 -0
- package/core/ports/src/driven/system/port-allocator.js +3 -0
- package/core/ports/src/driven/system/process-runner.d.ts +133 -0
- package/core/ports/src/driven/system/process-runner.js +3 -0
- package/core/ports/src/driven/system/process-sandbox.d.ts +61 -0
- package/core/ports/src/driven/system/process-sandbox.js +3 -0
- package/core/ports/src/driven/system/redactor.d.ts +12 -0
- package/core/ports/src/driven/system/redactor.js +3 -0
- package/core/ports/src/driven/system/source-watcher.d.ts +29 -0
- package/core/ports/src/driven/system/source-watcher.js +3 -0
- package/core/ports/src/driven/system/stdio-worker.d.ts +21 -0
- package/core/ports/src/driven/system/stdio-worker.js +3 -0
- package/core/ports/src/driven/system/sync-command-runner.d.ts +20 -0
- package/core/ports/src/driven/system/sync-command-runner.js +3 -0
- package/core/ports/src/driven/system/system-ports.d.ts +90 -0
- package/core/ports/src/driven/system/system-ports.js +3 -0
- package/core/ports/src/driven/system/terminal-command-runner.d.ts +22 -0
- package/core/ports/src/driven/system/terminal-command-runner.js +3 -0
- package/core/ports/src/driven/system/tree-cloner.d.ts +19 -0
- package/core/ports/src/driven/system/tree-cloner.js +3 -0
- package/core/ports/src/driven/versions/artifact-store.d.ts +47 -0
- package/core/ports/src/driven/versions/artifact-store.js +3 -0
- package/core/ports/src/driven/versions/http-client.d.ts +22 -0
- package/core/ports/src/driven/versions/http-client.js +3 -0
- package/core/ports/src/driven/versions/index.d.ts +6 -0
- package/core/ports/src/driven/versions/index.js +3 -0
- package/core/ports/src/driven/versions/lab-versions-declaration.d.ts +55 -0
- package/core/ports/src/driven/versions/lab-versions-declaration.js +3 -0
- package/core/ports/src/driven/versions/lock-store.d.ts +29 -0
- package/core/ports/src/driven/versions/lock-store.js +3 -0
- package/core/ports/src/driven/versions/version-policy-source.d.ts +12 -0
- package/core/ports/src/driven/versions/version-policy-source.js +3 -0
- package/core/ports/src/driven/versions/version-source.d.ts +58 -0
- package/core/ports/src/driven/versions/version-source.js +3 -0
- package/core/ports/src/driving/activity.d.ts +244 -0
- package/core/ports/src/driving/activity.js +3 -0
- package/core/ports/src/driving/app-builds.d.ts +91 -0
- package/core/ports/src/driving/app-builds.js +3 -0
- package/core/ports/src/driving/bisect.d.ts +42 -0
- package/core/ports/src/driving/bisect.js +3 -0
- package/core/ports/src/driving/breakpoints.d.ts +148 -0
- package/core/ports/src/driving/breakpoints.js +3 -0
- package/core/ports/src/driving/builder.d.ts +92 -0
- package/core/ports/src/driving/builder.js +3 -0
- package/core/ports/src/driving/chain-console.d.ts +52 -0
- package/core/ports/src/driving/chain-console.js +3 -0
- package/core/ports/src/driving/demo.d.ts +47 -0
- package/core/ports/src/driving/demo.js +3 -0
- package/core/ports/src/driving/environment-rpc.d.ts +16 -0
- package/core/ports/src/driving/environment-rpc.js +3 -0
- package/core/ports/src/driving/environment-tooling.d.ts +40 -0
- package/core/ports/src/driving/environment-tooling.js +3 -0
- package/core/ports/src/driving/exploration.d.ts +58 -0
- package/core/ports/src/driving/exploration.js +3 -0
- package/core/ports/src/driving/feature-session.d.ts +269 -0
- package/core/ports/src/driving/feature-session.js +3 -0
- package/core/ports/src/driving/features.d.ts +260 -0
- package/core/ports/src/driving/features.js +3 -0
- package/core/ports/src/driving/fixture-maintenance.d.ts +95 -0
- package/core/ports/src/driving/fixture-maintenance.js +3 -0
- package/core/ports/src/driving/fixture-sharing.d.ts +159 -0
- package/core/ports/src/driving/fixture-sharing.js +3 -0
- package/core/ports/src/driving/fixtures.d.ts +149 -0
- package/core/ports/src/driving/fixtures.js +3 -0
- package/core/ports/src/driving/hosts.d.ts +49 -0
- package/core/ports/src/driving/hosts.js +3 -0
- package/core/ports/src/driving/index.d.ts +36 -0
- package/core/ports/src/driving/index.js +3 -0
- package/core/ports/src/driving/journeys.d.ts +45 -0
- package/core/ports/src/driving/journeys.js +3 -0
- package/core/ports/src/driving/lab-coverage.d.ts +47 -0
- package/core/ports/src/driving/lab-coverage.js +3 -0
- package/core/ports/src/driving/lab-lint.d.ts +47 -0
- package/core/ports/src/driving/lab-lint.js +3 -0
- package/core/ports/src/driving/lab-mutations.d.ts +16 -0
- package/core/ports/src/driving/lab-mutations.js +3 -0
- package/core/ports/src/driving/lab-registry.d.ts +236 -0
- package/core/ports/src/driving/lab-registry.js +3 -0
- package/core/ports/src/driving/lab-runtime.d.ts +656 -0
- package/core/ports/src/driving/lab-runtime.js +3 -0
- package/core/ports/src/driving/lab-settings.d.ts +29 -0
- package/core/ports/src/driving/lab-settings.js +3 -0
- package/core/ports/src/driving/lab-snapshot.d.ts +361 -0
- package/core/ports/src/driving/lab-snapshot.js +3 -0
- package/core/ports/src/driving/load.d.ts +22 -0
- package/core/ports/src/driving/load.js +3 -0
- package/core/ports/src/driving/navigation-view.d.ts +23 -0
- package/core/ports/src/driving/navigation-view.js +3 -0
- package/core/ports/src/driving/recordings.d.ts +103 -0
- package/core/ports/src/driving/recordings.js +3 -0
- package/core/ports/src/driving/reports.d.ts +411 -0
- package/core/ports/src/driving/reports.js +3 -0
- package/core/ports/src/driving/resolved-config.d.ts +52 -0
- package/core/ports/src/driving/resolved-config.js +3 -0
- package/core/ports/src/driving/run-bundles.d.ts +135 -0
- package/core/ports/src/driving/run-bundles.js +3 -0
- package/core/ports/src/driving/suites.d.ts +188 -0
- package/core/ports/src/driving/suites.js +3 -0
- package/core/ports/src/driving/tools.d.ts +279 -0
- package/core/ports/src/driving/tools.js +3 -0
- package/core/ports/src/driving/ui-extensions.d.ts +77 -0
- package/core/ports/src/driving/ui-extensions.js +3 -0
- package/core/ports/src/driving/versions.d.ts +280 -0
- package/core/ports/src/driving/versions.js +3 -0
- package/core/ports/src/driving/what-if.d.ts +64 -0
- package/core/ports/src/driving/what-if.js +3 -0
- package/core/ports/src/driving/workers.d.ts +52 -0
- package/core/ports/src/driving/workers.js +3 -0
- package/core/ports/src/index.d.ts +15 -0
- package/core/ports/src/index.js +17 -0
- package/entrypoints/cli/README.md +895 -0
- package/entrypoints/cli/ai-kit/agents/product-lab-e2e-debugger.yaml +32 -0
- package/entrypoints/cli/ai-kit/agents/product-lab-scenario-author.yaml +44 -0
- package/entrypoints/cli/ai-kit/agents-md.md +52 -0
- package/entrypoints/cli/ai-kit/mcp.json +11 -0
- package/entrypoints/cli/ai-kit/skills/product-lab-app/SKILL.md +101 -0
- package/entrypoints/cli/ai-kit/skills/product-lab-debug/SKILL.md +54 -0
- package/entrypoints/cli/ai-kit/skills/product-lab-integration/SKILL.md +116 -0
- package/entrypoints/cli/ai-kit/skills/product-lab-integration/references/notes-example.md +192 -0
- package/entrypoints/cli/ai-kit/skills/product-lab-integration/references/notes-lab.md +5700 -0
- package/entrypoints/cli/ai-kit/skills/product-lab-scenario/SKILL.md +122 -0
- package/entrypoints/cli/ai-kit/skills/product-lab-setup/SKILL.md +113 -0
- package/entrypoints/cli/ai-kit/skills/product-lab-setup/references/minimal-lab.md +480 -0
- package/entrypoints/cli/ai-kit/skills/product-lab-test-ids/SKILL.md +79 -0
- package/entrypoints/cli/bin/esbuild-own-session.sh +8 -0
- package/entrypoints/cli/bin/esbuild-session.mjs +70 -0
- package/entrypoints/cli/bin/product-lab.mjs +42 -0
- package/entrypoints/cli/src/agents.d.ts +65 -0
- package/entrypoints/cli/src/agents.js +96 -0
- package/entrypoints/cli/src/ai/command.d.ts +3 -0
- package/entrypoints/cli/src/ai/command.js +79 -0
- package/entrypoints/cli/src/ai/doctor.d.ts +17 -0
- package/entrypoints/cli/src/ai/doctor.js +117 -0
- package/entrypoints/cli/src/ai/examples.d.ts +18 -0
- package/entrypoints/cli/src/ai/examples.js +69 -0
- package/entrypoints/cli/src/ai/init.d.ts +41 -0
- package/entrypoints/cli/src/ai/init.js +229 -0
- package/entrypoints/cli/src/ai/kit-reference.d.ts +46 -0
- package/entrypoints/cli/src/ai/kit-reference.js +300 -0
- package/entrypoints/cli/src/ai/kit.d.ts +37 -0
- package/entrypoints/cli/src/ai/kit.js +73 -0
- package/entrypoints/cli/src/ai/policy.d.ts +28 -0
- package/entrypoints/cli/src/ai/policy.js +56 -0
- package/entrypoints/cli/src/ai/render.d.ts +68 -0
- package/entrypoints/cli/src/ai/render.js +200 -0
- package/entrypoints/cli/src/ai/status.d.ts +21 -0
- package/entrypoints/cli/src/ai/status.js +41 -0
- package/entrypoints/cli/src/ai/sync.d.ts +39 -0
- package/entrypoints/cli/src/ai/sync.js +256 -0
- package/entrypoints/cli/src/bisect-command.d.ts +4 -0
- package/entrypoints/cli/src/bisect-command.js +109 -0
- package/entrypoints/cli/src/breakpoints-command.d.ts +4 -0
- package/entrypoints/cli/src/breakpoints-command.js +67 -0
- package/entrypoints/cli/src/bundle-command.d.ts +5 -0
- package/entrypoints/cli/src/bundle-command.js +74 -0
- package/entrypoints/cli/src/checkout.d.ts +6 -0
- package/entrypoints/cli/src/checkout.js +12 -0
- package/entrypoints/cli/src/cli-app.d.ts +57 -0
- package/entrypoints/cli/src/cli-app.js +506 -0
- package/entrypoints/cli/src/cli-host-release.d.ts +22 -0
- package/entrypoints/cli/src/cli-host-release.js +23 -0
- package/entrypoints/cli/src/commands/chain-day-ended.d.ts +12 -0
- package/entrypoints/cli/src/commands/chain-day-ended.js +33 -0
- package/entrypoints/cli/src/commands/check.d.ts +13 -0
- package/entrypoints/cli/src/commands/check.js +36 -0
- package/entrypoints/cli/src/commands/dev.d.ts +149 -0
- package/entrypoints/cli/src/commands/dev.js +327 -0
- package/entrypoints/cli/src/config-command.d.ts +7 -0
- package/entrypoints/cli/src/config-command.js +69 -0
- package/entrypoints/cli/src/coverage-command.d.ts +4 -0
- package/entrypoints/cli/src/coverage-command.js +75 -0
- package/entrypoints/cli/src/demo-command.d.ts +4 -0
- package/entrypoints/cli/src/demo-command.js +102 -0
- package/entrypoints/cli/src/env-command.d.ts +90 -0
- package/entrypoints/cli/src/env-command.js +203 -0
- package/entrypoints/cli/src/env-files.d.ts +6 -0
- package/entrypoints/cli/src/env-files.js +46 -0
- package/entrypoints/cli/src/environment.d.ts +5 -0
- package/entrypoints/cli/src/environment.js +3 -0
- package/entrypoints/cli/src/every-control.d.ts +74 -0
- package/entrypoints/cli/src/every-control.js +129 -0
- package/entrypoints/cli/src/explore-command.d.ts +4 -0
- package/entrypoints/cli/src/explore-command.js +133 -0
- package/entrypoints/cli/src/fixture-command.d.ts +8 -0
- package/entrypoints/cli/src/fixture-command.js +365 -0
- package/entrypoints/cli/src/fixture-refresh-command.d.ts +11 -0
- package/entrypoints/cli/src/fixture-refresh-command.js +245 -0
- package/entrypoints/cli/src/fixture-setup-marker.d.ts +22 -0
- package/entrypoints/cli/src/fixture-setup-marker.js +52 -0
- package/entrypoints/cli/src/fixture-sharing-command.d.ts +16 -0
- package/entrypoints/cli/src/fixture-sharing-command.js +192 -0
- package/entrypoints/cli/src/fixture-source-command.d.ts +3 -0
- package/entrypoints/cli/src/fixture-source-command.js +161 -0
- package/entrypoints/cli/src/host-command.d.ts +5 -0
- package/entrypoints/cli/src/host-command.js +213 -0
- package/entrypoints/cli/src/init-command.d.ts +49 -0
- package/entrypoints/cli/src/init-command.js +349 -0
- package/entrypoints/cli/src/init-lock.d.ts +48 -0
- package/entrypoints/cli/src/init-lock.js +50 -0
- package/entrypoints/cli/src/journeys-after-test.d.ts +2 -0
- package/entrypoints/cli/src/journeys-after-test.js +13 -0
- package/entrypoints/cli/src/journeys-command.d.ts +5 -0
- package/entrypoints/cli/src/journeys-command.js +61 -0
- package/entrypoints/cli/src/lab-flags.d.ts +54 -0
- package/entrypoints/cli/src/lab-flags.js +53 -0
- package/entrypoints/cli/src/lab-window-closed.d.ts +4 -0
- package/entrypoints/cli/src/lab-window-closed.js +10 -0
- package/entrypoints/cli/src/lint-command.d.ts +4 -0
- package/entrypoints/cli/src/lint-command.js +82 -0
- package/entrypoints/cli/src/load-command.d.ts +5 -0
- package/entrypoints/cli/src/load-command.js +111 -0
- package/entrypoints/cli/src/load-env.d.ts +1 -0
- package/entrypoints/cli/src/load-env.js +4 -0
- package/entrypoints/cli/src/machine-fit.d.ts +60 -0
- package/entrypoints/cli/src/machine-fit.js +63 -0
- package/entrypoints/cli/src/main.d.ts +14 -0
- package/entrypoints/cli/src/main.js +31 -0
- package/entrypoints/cli/src/mcp-command.d.ts +6 -0
- package/entrypoints/cli/src/mcp-command.js +28 -0
- package/entrypoints/cli/src/mutate-command.d.ts +34 -0
- package/entrypoints/cli/src/mutate-command.js +84 -0
- package/entrypoints/cli/src/own-running-record.d.ts +1 -0
- package/entrypoints/cli/src/own-running-record.js +10 -0
- package/entrypoints/cli/src/parse-args-errors.d.ts +2 -0
- package/entrypoints/cli/src/parse-args-errors.js +7 -0
- package/entrypoints/cli/src/plain-output.d.ts +98 -0
- package/entrypoints/cli/src/plain-output.js +179 -0
- package/entrypoints/cli/src/recordings-command.d.ts +15 -0
- package/entrypoints/cli/src/recordings-command.js +232 -0
- package/entrypoints/cli/src/release/notices.d.ts +87 -0
- package/entrypoints/cli/src/release/notices.js +182 -0
- package/entrypoints/cli/src/release/upgrade-command.d.ts +35 -0
- package/entrypoints/cli/src/release/upgrade-command.js +240 -0
- package/entrypoints/cli/src/report-command.d.ts +3 -0
- package/entrypoints/cli/src/report-command.js +207 -0
- package/entrypoints/cli/src/reports/compatibility-html.d.ts +2 -0
- package/entrypoints/cli/src/reports/compatibility-html.js +76 -0
- package/entrypoints/cli/src/reports/evidence-report.d.ts +46 -0
- package/entrypoints/cli/src/reports/evidence-report.js +31 -0
- package/entrypoints/cli/src/reports/host-bypass.d.ts +3 -0
- package/entrypoints/cli/src/reports/host-bypass.js +17 -0
- package/entrypoints/cli/src/reports/html.d.ts +6 -0
- package/entrypoints/cli/src/reports/html.js +178 -0
- package/entrypoints/cli/src/reports/junit.d.ts +2 -0
- package/entrypoints/cli/src/reports/junit.js +93 -0
- package/entrypoints/cli/src/reports/markdown.d.ts +2 -0
- package/entrypoints/cli/src/reports/markdown.js +62 -0
- package/entrypoints/cli/src/reports/metrics-text.d.ts +19 -0
- package/entrypoints/cli/src/reports/metrics-text.js +72 -0
- package/entrypoints/cli/src/reports/pr-comment.d.ts +20 -0
- package/entrypoints/cli/src/reports/pr-comment.js +61 -0
- package/entrypoints/cli/src/reports/write-reports.d.ts +8 -0
- package/entrypoints/cli/src/reports/write-reports.js +30 -0
- package/entrypoints/cli/src/reproduce-command.d.ts +4 -0
- package/entrypoints/cli/src/reproduce-command.js +69 -0
- package/entrypoints/cli/src/rerun-failures.d.ts +8 -0
- package/entrypoints/cli/src/rerun-failures.js +59 -0
- package/entrypoints/cli/src/rpc-flags.d.ts +3 -0
- package/entrypoints/cli/src/rpc-flags.js +23 -0
- package/entrypoints/cli/src/setup-commands.d.ts +36 -0
- package/entrypoints/cli/src/setup-commands.js +344 -0
- package/entrypoints/cli/src/shared-controls.d.ts +6 -0
- package/entrypoints/cli/src/shared-controls.js +49 -0
- package/entrypoints/cli/src/start-progress.d.ts +96 -0
- package/entrypoints/cli/src/start-progress.js +256 -0
- package/entrypoints/cli/src/startup-notices.d.ts +9 -0
- package/entrypoints/cli/src/startup-notices.js +25 -0
- package/entrypoints/cli/src/stop-signals.d.ts +27 -0
- package/entrypoints/cli/src/stop-signals.js +60 -0
- package/entrypoints/cli/src/suite-run-command.d.ts +17 -0
- package/entrypoints/cli/src/suite-run-command.js +48 -0
- package/entrypoints/cli/src/test-command.d.ts +15 -0
- package/entrypoints/cli/src/test-command.js +597 -0
- package/entrypoints/cli/src/test-in-window.d.ts +11 -0
- package/entrypoints/cli/src/test-in-window.js +27 -0
- package/entrypoints/cli/src/test-output.d.ts +9 -0
- package/entrypoints/cli/src/test-output.js +17 -0
- package/entrypoints/cli/src/tool-run.d.ts +3 -0
- package/entrypoints/cli/src/tool-run.js +29 -0
- package/entrypoints/cli/src/tui/agents-menu.d.ts +18 -0
- package/entrypoints/cli/src/tui/agents-menu.js +108 -0
- package/entrypoints/cli/src/tui/app.d.ts +46 -0
- package/entrypoints/cli/src/tui/app.js +483 -0
- package/entrypoints/cli/src/tui/frame.d.ts +23 -0
- package/entrypoints/cli/src/tui/frame.js +24 -0
- package/entrypoints/cli/src/tui/model.d.ts +188 -0
- package/entrypoints/cli/src/tui/model.js +487 -0
- package/entrypoints/cli/src/tui/mouse.d.ts +50 -0
- package/entrypoints/cli/src/tui/mouse.js +91 -0
- package/entrypoints/cli/src/tui/scroll.d.ts +28 -0
- package/entrypoints/cli/src/tui/scroll.js +29 -0
- package/entrypoints/cli/src/tui/start.d.ts +54 -0
- package/entrypoints/cli/src/tui/start.js +168 -0
- package/entrypoints/cli/src/tui/starting.d.ts +52 -0
- package/entrypoints/cli/src/tui/starting.js +67 -0
- package/entrypoints/cli/src/versions-command.d.ts +22 -0
- package/entrypoints/cli/src/versions-command.js +230 -0
- package/entrypoints/cli/src/what-if-command.d.ts +7 -0
- package/entrypoints/cli/src/what-if-command.js +103 -0
- package/entrypoints/cucumber/README.md +53 -0
- package/entrypoints/cucumber/src/ci/change-scope.d.ts +4 -0
- package/entrypoints/cucumber/src/ci/change-scope.js +8 -0
- package/entrypoints/cucumber/src/ci/coverage.d.ts +4 -0
- package/entrypoints/cucumber/src/ci/coverage.js +44 -0
- package/entrypoints/cucumber/src/ci/fast-plan.d.ts +29 -0
- package/entrypoints/cucumber/src/ci/fast-plan.js +79 -0
- package/entrypoints/cucumber/src/ci/owned-command.d.ts +11 -0
- package/entrypoints/cucumber/src/ci/owned-command.js +85 -0
- package/entrypoints/cucumber/src/cucumber/hooks.d.ts +50 -0
- package/entrypoints/cucumber/src/cucumber/hooks.js +132 -0
- package/entrypoints/cucumber/src/cucumber/navigation.d.ts +26 -0
- package/entrypoints/cucumber/src/cucumber/navigation.js +44 -0
- package/entrypoints/cucumber/src/cucumber/rows.d.ts +5 -0
- package/entrypoints/cucumber/src/cucumber/rows.js +26 -0
- package/entrypoints/cucumber/src/cucumber/world.d.ts +11 -0
- package/entrypoints/cucumber/src/cucumber/world.js +41 -0
- package/entrypoints/cucumber/src/index.d.ts +9 -0
- package/entrypoints/cucumber/src/index.js +11 -0
- package/entrypoints/cucumber/src/main.d.ts +44 -0
- package/entrypoints/cucumber/src/main.js +55 -0
- package/entrypoints/cucumber/src/negative/control-result.d.ts +31 -0
- package/entrypoints/cucumber/src/negative/control-result.js +56 -0
- package/entrypoints/mcp/README.md +204 -0
- package/entrypoints/mcp/src/args.d.ts +10 -0
- package/entrypoints/mcp/src/args.js +63 -0
- package/entrypoints/mcp/src/chain.d.ts +75 -0
- package/entrypoints/mcp/src/chain.js +185 -0
- package/entrypoints/mcp/src/deferred-runtime.d.ts +26 -0
- package/entrypoints/mcp/src/deferred-runtime.js +72 -0
- package/entrypoints/mcp/src/describe-sections.d.ts +14 -0
- package/entrypoints/mcp/src/describe-sections.js +38 -0
- package/entrypoints/mcp/src/index.d.ts +7 -0
- package/entrypoints/mcp/src/index.js +9 -0
- package/entrypoints/mcp/src/load-gate.d.ts +27 -0
- package/entrypoints/mcp/src/load-gate.js +65 -0
- package/entrypoints/mcp/src/logs.d.ts +41 -0
- package/entrypoints/mcp/src/logs.js +138 -0
- package/entrypoints/mcp/src/main.d.ts +24 -0
- package/entrypoints/mcp/src/main.js +42 -0
- package/entrypoints/mcp/src/output.d.ts +8 -0
- package/entrypoints/mcp/src/output.js +69 -0
- package/entrypoints/mcp/src/resources.d.ts +18 -0
- package/entrypoints/mcp/src/resources.js +139 -0
- package/entrypoints/mcp/src/server.d.ts +37 -0
- package/entrypoints/mcp/src/server.js +68 -0
- package/entrypoints/mcp/src/session-core.d.ts +42 -0
- package/entrypoints/mcp/src/session-core.js +80 -0
- package/entrypoints/mcp/src/session-debug.d.ts +219 -0
- package/entrypoints/mcp/src/session-debug.js +393 -0
- package/entrypoints/mcp/src/session-discover.d.ts +342 -0
- package/entrypoints/mcp/src/session-discover.js +212 -0
- package/entrypoints/mcp/src/session-environment.d.ts +807 -0
- package/entrypoints/mcp/src/session-environment.js +250 -0
- package/entrypoints/mcp/src/session-host.d.ts +8 -0
- package/entrypoints/mcp/src/session-host.js +40 -0
- package/entrypoints/mcp/src/session-run.d.ts +127 -0
- package/entrypoints/mcp/src/session-run.js +417 -0
- package/entrypoints/mcp/src/session-shared.d.ts +181 -0
- package/entrypoints/mcp/src/session-shared.js +89 -0
- package/entrypoints/mcp/src/session.d.ts +9 -0
- package/entrypoints/mcp/src/session.js +38 -0
- package/entrypoints/mcp/src/stdio.d.ts +62 -0
- package/entrypoints/mcp/src/stdio.js +114 -0
- package/entrypoints/mcp/src/tools.d.ts +20 -0
- package/entrypoints/mcp/src/tools.js +382 -0
- package/entrypoints/panel/README.md +1773 -0
- package/entrypoints/panel/src/agent-routes.d.ts +32 -0
- package/entrypoints/panel/src/agent-routes.js +32 -0
- package/entrypoints/panel/src/builder-input.d.ts +7 -0
- package/entrypoints/panel/src/builder-input.js +66 -0
- package/entrypoints/panel/src/bundle-routes.d.ts +16 -0
- package/entrypoints/panel/src/bundle-routes.js +59 -0
- package/entrypoints/panel/src/chain-console-routes.d.ts +9 -0
- package/entrypoints/panel/src/chain-console-routes.js +18 -0
- package/entrypoints/panel/src/client/activity.d.ts +5 -0
- package/entrypoints/panel/src/client/activity.js +173 -0
- package/entrypoints/panel/src/client/address-bar.css +36 -0
- package/entrypoints/panel/src/client/address-bar.d.ts +62 -0
- package/entrypoints/panel/src/client/address-bar.js +311 -0
- package/entrypoints/panel/src/client/after-failure-view.d.ts +8 -0
- package/entrypoints/panel/src/client/after-failure-view.js +24 -0
- package/entrypoints/panel/src/client/agents-tools.d.ts +5 -0
- package/entrypoints/panel/src/client/agents-tools.js +31 -0
- package/entrypoints/panel/src/client/app-builds.d.ts +16 -0
- package/entrypoints/panel/src/client/app-builds.js +38 -0
- package/entrypoints/panel/src/client/app-tiles.d.ts +30 -0
- package/entrypoints/panel/src/client/app-tiles.js +484 -0
- package/entrypoints/panel/src/client/bindings.d.ts +39 -0
- package/entrypoints/panel/src/client/bindings.js +120 -0
- package/entrypoints/panel/src/client/builder-blocks.d.ts +26 -0
- package/entrypoints/panel/src/client/builder-blocks.js +346 -0
- package/entrypoints/panel/src/client/builder-chrome.d.ts +27 -0
- package/entrypoints/panel/src/client/builder-chrome.js +144 -0
- package/entrypoints/panel/src/client/builder-view.d.ts +86 -0
- package/entrypoints/panel/src/client/builder-view.js +334 -0
- package/entrypoints/panel/src/client/builder.d.ts +34 -0
- package/entrypoints/panel/src/client/builder.js +620 -0
- package/entrypoints/panel/src/client/bundle-actions.d.ts +9 -0
- package/entrypoints/panel/src/client/bundle-actions.js +124 -0
- package/entrypoints/panel/src/client/chain-console.css +31 -0
- package/entrypoints/panel/src/client/chain-console.d.ts +13 -0
- package/entrypoints/panel/src/client/chain-console.js +77 -0
- package/entrypoints/panel/src/client/chain-day.d.ts +29 -0
- package/entrypoints/panel/src/client/chain-day.js +43 -0
- package/entrypoints/panel/src/client/checkpoint.d.ts +5 -0
- package/entrypoints/panel/src/client/checkpoint.js +8 -0
- package/entrypoints/panel/src/client/client.d.ts +1 -0
- package/entrypoints/panel/src/client/client.js +634 -0
- package/entrypoints/panel/src/client/components.css +219 -0
- package/entrypoints/panel/src/client/confirm-dialogs.d.ts +11 -0
- package/entrypoints/panel/src/client/confirm-dialogs.js +54 -0
- package/entrypoints/panel/src/client/detached-tiles.d.ts +39 -0
- package/entrypoints/panel/src/client/detached-tiles.js +106 -0
- package/entrypoints/panel/src/client/dock-status.d.ts +17 -0
- package/entrypoints/panel/src/client/dock-status.js +30 -0
- package/entrypoints/panel/src/client/dock.d.ts +21 -0
- package/entrypoints/panel/src/client/dock.js +74 -0
- package/entrypoints/panel/src/client/dom.d.ts +8 -0
- package/entrypoints/panel/src/client/dom.js +28 -0
- package/entrypoints/panel/src/client/environment-lifecycle.d.ts +19 -0
- package/entrypoints/panel/src/client/environment-lifecycle.js +164 -0
- package/entrypoints/panel/src/client/environment-options.d.ts +18 -0
- package/entrypoints/panel/src/client/environment-options.js +33 -0
- package/entrypoints/panel/src/client/environment.d.ts +189 -0
- package/entrypoints/panel/src/client/environment.js +521 -0
- package/entrypoints/panel/src/client/evidence-controls.d.ts +14 -0
- package/entrypoints/panel/src/client/evidence-controls.js +37 -0
- package/entrypoints/panel/src/client/evidence-model.d.ts +65 -0
- package/entrypoints/panel/src/client/evidence-model.js +179 -0
- package/entrypoints/panel/src/client/evidence-view.css +82 -0
- package/entrypoints/panel/src/client/evidence-view.d.ts +9 -0
- package/entrypoints/panel/src/client/evidence-view.js +56 -0
- package/entrypoints/panel/src/client/extensions.d.ts +21 -0
- package/entrypoints/panel/src/client/extensions.js +345 -0
- package/entrypoints/panel/src/client/features.d.ts +88 -0
- package/entrypoints/panel/src/client/features.js +247 -0
- package/entrypoints/panel/src/client/fixtures.d.ts +16 -0
- package/entrypoints/panel/src/client/fixtures.js +155 -0
- package/entrypoints/panel/src/client/fonts/inter.OFL.txt +93 -0
- package/entrypoints/panel/src/client/fonts/inter.woff2 +0 -0
- package/entrypoints/panel/src/client/fonts/jetbrains-mono.OFL.txt +93 -0
- package/entrypoints/panel/src/client/fonts/jetbrains-mono.woff2 +0 -0
- package/entrypoints/panel/src/client/fonts/unbounded.OFL.txt +93 -0
- package/entrypoints/panel/src/client/fonts/unbounded.woff2 +0 -0
- package/entrypoints/panel/src/client/fonts.css +24 -0
- package/entrypoints/panel/src/client/forms.d.ts +3 -0
- package/entrypoints/panel/src/client/forms.js +58 -0
- package/entrypoints/panel/src/client/frame.css +515 -0
- package/entrypoints/panel/src/client/gallery.css +68 -0
- package/entrypoints/panel/src/client/gallery.d.ts +1 -0
- package/entrypoints/panel/src/client/gallery.html +17 -0
- package/entrypoints/panel/src/client/gallery.js +81 -0
- package/entrypoints/panel/src/client/gherkin-view.d.ts +149 -0
- package/entrypoints/panel/src/client/gherkin-view.js +223 -0
- package/entrypoints/panel/src/client/gherkin.css +88 -0
- package/entrypoints/panel/src/client/host-bypass-model.d.ts +68 -0
- package/entrypoints/panel/src/client/host-bypass-model.js +131 -0
- package/entrypoints/panel/src/client/host-bypass.d.ts +13 -0
- package/entrypoints/panel/src/client/host-bypass.js +50 -0
- package/entrypoints/panel/src/client/host-request-words.d.ts +6 -0
- package/entrypoints/panel/src/client/host-request-words.js +32 -0
- package/entrypoints/panel/src/client/identity-words.d.ts +23 -0
- package/entrypoints/panel/src/client/identity-words.js +46 -0
- package/entrypoints/panel/src/client/index.html +326 -0
- package/entrypoints/panel/src/client/integrations.d.ts +16 -0
- package/entrypoints/panel/src/client/integrations.js +32 -0
- package/entrypoints/panel/src/client/island.css +21 -0
- package/entrypoints/panel/src/client/island.d.ts +99 -0
- package/entrypoints/panel/src/client/island.js +199 -0
- package/entrypoints/panel/src/client/keep-switch.d.ts +7 -0
- package/entrypoints/panel/src/client/keep-switch.js +24 -0
- package/entrypoints/panel/src/client/keep-words.d.ts +24 -0
- package/entrypoints/panel/src/client/keep-words.js +22 -0
- package/entrypoints/panel/src/client/lab-actions.d.ts +9 -0
- package/entrypoints/panel/src/client/lab-actions.js +16 -0
- package/entrypoints/panel/src/client/lab-document.d.ts +10 -0
- package/entrypoints/panel/src/client/lab-document.js +37 -0
- package/entrypoints/panel/src/client/lab-menu.css +11 -0
- package/entrypoints/panel/src/client/lab-menu.d.ts +44 -0
- package/entrypoints/panel/src/client/lab-menu.js +105 -0
- package/entrypoints/panel/src/client/landing.d.ts +4 -0
- package/entrypoints/panel/src/client/landing.js +24 -0
- package/entrypoints/panel/src/client/lanes.d.ts +41 -0
- package/entrypoints/panel/src/client/lanes.js +100 -0
- package/entrypoints/panel/src/client/lucide.LICENSE +43 -0
- package/entrypoints/panel/src/client/lucide.d.ts +95 -0
- package/entrypoints/panel/src/client/lucide.js +95 -0
- package/entrypoints/panel/src/client/navigation-activity.d.ts +34 -0
- package/entrypoints/panel/src/client/navigation-activity.js +97 -0
- package/entrypoints/panel/src/client/navigation-controls.d.ts +18 -0
- package/entrypoints/panel/src/client/navigation-controls.js +29 -0
- package/entrypoints/panel/src/client/operation-phases.d.ts +16 -0
- package/entrypoints/panel/src/client/operation-phases.js +70 -0
- package/entrypoints/panel/src/client/own-window.d.ts +9 -0
- package/entrypoints/panel/src/client/own-window.js +113 -0
- package/entrypoints/panel/src/client/panel-snapshot.d.ts +25 -0
- package/entrypoints/panel/src/client/panel-snapshot.js +3 -0
- package/entrypoints/panel/src/client/panel-tabs.d.ts +21 -0
- package/entrypoints/panel/src/client/panel-tabs.js +41 -0
- package/entrypoints/panel/src/client/pause-inspector.d.ts +14 -0
- package/entrypoints/panel/src/client/pause-inspector.js +104 -0
- package/entrypoints/panel/src/client/principals.d.ts +18 -0
- package/entrypoints/panel/src/client/principals.js +21 -0
- package/entrypoints/panel/src/client/recordings.d.ts +38 -0
- package/entrypoints/panel/src/client/recordings.js +481 -0
- package/entrypoints/panel/src/client/registry.d.ts +53 -0
- package/entrypoints/panel/src/client/registry.js +415 -0
- package/entrypoints/panel/src/client/release-notice.d.ts +2 -0
- package/entrypoints/panel/src/client/release-notice.js +36 -0
- package/entrypoints/panel/src/client/replace-kept.d.ts +21 -0
- package/entrypoints/panel/src/client/replace-kept.js +21 -0
- package/entrypoints/panel/src/client/replay-chain.d.ts +20 -0
- package/entrypoints/panel/src/client/replay-chain.js +31 -0
- package/entrypoints/panel/src/client/request-error.d.ts +11 -0
- package/entrypoints/panel/src/client/request-error.js +17 -0
- package/entrypoints/panel/src/client/request.d.ts +1 -0
- package/entrypoints/panel/src/client/request.js +16 -0
- package/entrypoints/panel/src/client/reset-words.d.ts +9 -0
- package/entrypoints/panel/src/client/reset-words.js +13 -0
- package/entrypoints/panel/src/client/resize.d.ts +18 -0
- package/entrypoints/panel/src/client/resize.js +137 -0
- package/entrypoints/panel/src/client/root-call-confirm.d.ts +11 -0
- package/entrypoints/panel/src/client/root-call-confirm.js +35 -0
- package/entrypoints/panel/src/client/run-mode.d.ts +105 -0
- package/entrypoints/panel/src/client/run-mode.js +49 -0
- package/entrypoints/panel/src/client/run-outcome.d.ts +28 -0
- package/entrypoints/panel/src/client/run-outcome.js +110 -0
- package/entrypoints/panel/src/client/run-preludes.d.ts +54 -0
- package/entrypoints/panel/src/client/run-preludes.js +46 -0
- package/entrypoints/panel/src/client/run-progress.d.ts +117 -0
- package/entrypoints/panel/src/client/run-progress.js +322 -0
- package/entrypoints/panel/src/client/run-steps.d.ts +105 -0
- package/entrypoints/panel/src/client/run-steps.js +319 -0
- package/entrypoints/panel/src/client/run-writes.d.ts +66 -0
- package/entrypoints/panel/src/client/run-writes.js +76 -0
- package/entrypoints/panel/src/client/scenario-environment.d.ts +15 -0
- package/entrypoints/panel/src/client/scenario-environment.js +34 -0
- package/entrypoints/panel/src/client/selection.d.ts +7 -0
- package/entrypoints/panel/src/client/selection.js +32 -0
- package/entrypoints/panel/src/client/settings.d.ts +35 -0
- package/entrypoints/panel/src/client/settings.js +178 -0
- package/entrypoints/panel/src/client/shell-kit.d.ts +89 -0
- package/entrypoints/panel/src/client/shell-kit.js +38 -0
- package/entrypoints/panel/src/client/shell.css +355 -0
- package/entrypoints/panel/src/client/show-cursor.css +55 -0
- package/entrypoints/panel/src/client/show-cursor.d.ts +10 -0
- package/entrypoints/panel/src/client/show-cursor.js +69 -0
- package/entrypoints/panel/src/client/status-actions.d.ts +21 -0
- package/entrypoints/panel/src/client/status-actions.js +40 -0
- package/entrypoints/panel/src/client/step-evidence.css +11 -0
- package/entrypoints/panel/src/client/step-evidence.d.ts +6 -0
- package/entrypoints/panel/src/client/step-evidence.js +62 -0
- package/entrypoints/panel/src/client/switch-run.d.ts +34 -0
- package/entrypoints/panel/src/client/switch-run.js +67 -0
- package/entrypoints/panel/src/client/tile-device.d.ts +55 -0
- package/entrypoints/panel/src/client/tile-device.js +70 -0
- package/entrypoints/panel/src/client/tile-grid.d.ts +54 -0
- package/entrypoints/panel/src/client/tile-grid.js +67 -0
- package/entrypoints/panel/src/client/tile-strip.d.ts +13 -0
- package/entrypoints/panel/src/client/tile-strip.js +66 -0
- package/entrypoints/panel/src/client/timeline.d.ts +82 -0
- package/entrypoints/panel/src/client/timeline.js +195 -0
- package/entrypoints/panel/src/client/tokens.css +206 -0
- package/entrypoints/panel/src/client/tool-report.d.ts +15 -0
- package/entrypoints/panel/src/client/tool-report.js +61 -0
- package/entrypoints/panel/src/client/tools-page.css +168 -0
- package/entrypoints/panel/src/client/ui-calls.d.ts +41 -0
- package/entrypoints/panel/src/client/ui-calls.js +42 -0
- package/entrypoints/panel/src/client/ui.d.ts +251 -0
- package/entrypoints/panel/src/client/ui.js +493 -0
- package/entrypoints/panel/src/client/unawaited.d.ts +5 -0
- package/entrypoints/panel/src/client/unawaited.js +14 -0
- package/entrypoints/panel/src/client/view-builder.css +372 -0
- package/entrypoints/panel/src/client/view-characters.d.ts +3 -0
- package/entrypoints/panel/src/client/view-characters.js +20 -0
- package/entrypoints/panel/src/client/view-config.css +23 -0
- package/entrypoints/panel/src/client/view-config.d.ts +6 -0
- package/entrypoints/panel/src/client/view-config.js +41 -0
- package/entrypoints/panel/src/client/view-environment.css +193 -0
- package/entrypoints/panel/src/client/view-environment.d.ts +42 -0
- package/entrypoints/panel/src/client/view-environment.js +240 -0
- package/entrypoints/panel/src/client/view-identities.css +100 -0
- package/entrypoints/panel/src/client/view-identities.d.ts +21 -0
- package/entrypoints/panel/src/client/view-identities.js +288 -0
- package/entrypoints/panel/src/client/view-recordings.css +9 -0
- package/entrypoints/panel/src/client/view-replay.css +127 -0
- package/entrypoints/panel/src/client/view-report.css +31 -0
- package/entrypoints/panel/src/client/view-run-steps.css +98 -0
- package/entrypoints/panel/src/client/view-runs.css +123 -0
- package/entrypoints/panel/src/client/view-runs.d.ts +9 -0
- package/entrypoints/panel/src/client/view-runs.js +443 -0
- package/entrypoints/panel/src/client/view-scenarios.css +164 -0
- package/entrypoints/panel/src/client/view-scenarios.d.ts +126 -0
- package/entrypoints/panel/src/client/view-scenarios.js +510 -0
- package/entrypoints/panel/src/client/view-settings.css +27 -0
- package/entrypoints/panel/src/client/view-timeline.css +66 -0
- package/entrypoints/panel/src/client/view-timeline.d.ts +22 -0
- package/entrypoints/panel/src/client/view-timeline.js +136 -0
- package/entrypoints/panel/src/client/view-tools.css +114 -0
- package/entrypoints/panel/src/client/view-tools.d.ts +16 -0
- package/entrypoints/panel/src/client/view-tools.js +285 -0
- package/entrypoints/panel/src/client/views.d.ts +47 -0
- package/entrypoints/panel/src/client/views.js +105 -0
- package/entrypoints/panel/src/client/watch-layout.d.ts +47 -0
- package/entrypoints/panel/src/client/watch-layout.js +79 -0
- package/entrypoints/panel/src/client/window-bindings.d.ts +21 -0
- package/entrypoints/panel/src/client/window-bindings.js +61 -0
- package/entrypoints/panel/src/client/window-switch.d.ts +15 -0
- package/entrypoints/panel/src/client/window-switch.js +19 -0
- package/entrypoints/panel/src/client/workspace-shell.d.ts +20 -0
- package/entrypoints/panel/src/client/workspace-shell.js +637 -0
- package/entrypoints/panel/src/controls.d.ts +51 -0
- package/entrypoints/panel/src/controls.js +119 -0
- package/entrypoints/panel/src/device-list.d.ts +5 -0
- package/entrypoints/panel/src/device-list.js +9 -0
- package/entrypoints/panel/src/extensions.d.ts +5 -0
- package/entrypoints/panel/src/extensions.js +28 -0
- package/entrypoints/panel/src/feature-bindings.d.ts +9 -0
- package/entrypoints/panel/src/feature-bindings.js +40 -0
- package/entrypoints/panel/src/feature-control.d.ts +14 -0
- package/entrypoints/panel/src/feature-control.js +25 -0
- package/entrypoints/panel/src/feature-events.d.ts +10 -0
- package/entrypoints/panel/src/feature-events.js +32 -0
- package/entrypoints/panel/src/frame-check.d.ts +28 -0
- package/entrypoints/panel/src/frame-check.js +69 -0
- package/entrypoints/panel/src/index.d.ts +4 -0
- package/entrypoints/panel/src/index.js +5 -0
- package/entrypoints/panel/src/main.d.ts +3 -0
- package/entrypoints/panel/src/main.js +40 -0
- package/entrypoints/panel/src/react/browser.d.ts +9 -0
- package/entrypoints/panel/src/react/browser.js +32 -0
- package/entrypoints/panel/src/react/prepare.d.ts +10 -0
- package/entrypoints/panel/src/react/prepare.js +49 -0
- package/entrypoints/panel/src/rebuild-rule.d.ts +9 -0
- package/entrypoints/panel/src/rebuild-rule.js +18 -0
- package/entrypoints/panel/src/runtime-routes.d.ts +29 -0
- package/entrypoints/panel/src/runtime-routes.js +143 -0
- package/entrypoints/panel/src/served-assets.d.ts +7 -0
- package/entrypoints/panel/src/served-assets.js +39 -0
- package/entrypoints/panel/src/server.d.ts +95 -0
- package/entrypoints/panel/src/server.js +653 -0
- package/entrypoints/panel/src/tool-routes.d.ts +19 -0
- package/entrypoints/panel/src/tool-routes.js +98 -0
- package/entrypoints/panel/src/visible/app-reload.d.ts +6 -0
- package/entrypoints/panel/src/visible/app-reload.js +22 -0
- package/entrypoints/panel/src/visible/app-ui.d.ts +44 -0
- package/entrypoints/panel/src/visible/app-ui.js +189 -0
- package/entrypoints/panel/src/visible/detached-conditions.d.ts +9 -0
- package/entrypoints/panel/src/visible/detached-conditions.js +37 -0
- package/entrypoints/panel/src/visible/detached-identities.d.ts +82 -0
- package/entrypoints/panel/src/visible/detached-identities.js +243 -0
- package/entrypoints/panel/src/visible/detached-surface.d.ts +38 -0
- package/entrypoints/panel/src/visible/detached-surface.js +182 -0
- package/entrypoints/panel/src/visible/detached-window.d.ts +71 -0
- package/entrypoints/panel/src/visible/detached-window.js +161 -0
- package/entrypoints/panel/src/visible/device-catalogue.d.ts +12 -0
- package/entrypoints/panel/src/visible/device-catalogue.js +40 -0
- package/entrypoints/panel/src/visible/embedded-host.d.ts +6 -0
- package/entrypoints/panel/src/visible/embedded-host.js +8 -0
- package/entrypoints/panel/src/visible/frame-locations.d.ts +15 -0
- package/entrypoints/panel/src/visible/frame-locations.js +29 -0
- package/entrypoints/panel/src/visible/index.d.ts +13 -0
- package/entrypoints/panel/src/visible/index.js +15 -0
- package/entrypoints/panel/src/visible/mirror.d.ts +41 -0
- package/entrypoints/panel/src/visible/mirror.js +100 -0
- package/entrypoints/panel/src/visible/png-parts.d.ts +33 -0
- package/entrypoints/panel/src/visible/png-parts.js +38 -0
- package/entrypoints/panel/src/visible/png-work.d.ts +14 -0
- package/entrypoints/panel/src/visible/png-work.js +15 -0
- package/entrypoints/panel/src/visible/png-worker.mjs +13 -0
- package/entrypoints/panel/src/visible/run-view.d.ts +37 -0
- package/entrypoints/panel/src/visible/run-view.js +65 -0
- package/entrypoints/panel/src/visible/runner.d.ts +192 -0
- package/entrypoints/panel/src/visible/runner.js +450 -0
- package/entrypoints/panel/src/visible/surface-session.d.ts +14 -0
- package/entrypoints/panel/src/visible/surface-session.js +10 -0
- package/entrypoints/panel/src/visible/tile-conditions.d.ts +33 -0
- package/entrypoints/panel/src/visible/tile-conditions.js +94 -0
- package/entrypoints/panel/src/visible/tile-placement.d.ts +61 -0
- package/entrypoints/panel/src/visible/tile-placement.js +155 -0
- package/entrypoints/panel/src/visible/tile-ready.d.ts +25 -0
- package/entrypoints/panel/src/visible/tile-ready.js +78 -0
- package/entrypoints/panel/src/visible/ui-activity.d.ts +60 -0
- package/entrypoints/panel/src/visible/ui-activity.js +91 -0
- package/entrypoints/panel/src/visible/ui-timing.d.ts +95 -0
- package/entrypoints/panel/src/visible/ui-timing.js +32 -0
- package/entrypoints/panel/src/visible/verified-typing.d.ts +39 -0
- package/entrypoints/panel/src/visible/verified-typing.js +76 -0
- package/entrypoints/panel/src/visible/viewport-shot.d.ts +29 -0
- package/entrypoints/panel/src/visible/viewport-shot.js +83 -0
- package/entrypoints/panel/src/visible/visible-ui.d.ts +132 -0
- package/entrypoints/panel/src/visible/visible-ui.js +429 -0
- package/entrypoints/panel/src/visible/window-frames.d.ts +35 -0
- package/entrypoints/panel/src/visible/window-frames.js +128 -0
- package/entrypoints/panel/src/visible/window-hold.d.ts +21 -0
- package/entrypoints/panel/src/visible/window-hold.js +29 -0
- package/entrypoints/panel/src/visible/window-video.d.ts +17 -0
- package/entrypoints/panel/src/visible/window-video.js +21 -0
- package/entrypoints/panel/src/visible/window.d.ts +99 -0
- package/entrypoints/panel/src/visible/window.js +184 -0
- package/entrypoints/panel/src/words.d.ts +6 -0
- package/entrypoints/panel/src/words.js +8 -0
- package/package.json +561 -3
|
@@ -0,0 +1,1012 @@
|
|
|
1
|
+
# @product-lab/core
|
|
2
|
+
|
|
3
|
+
Orchestrator core imported from the source repository's `packages/runtime-lab`. The domain model (capabilities, offers, requirements, actors, identities, sessions, the `Run` aggregate, checkpoints, evidence, resources, generations, loopback URLs, endpoints, navigation resolution, secret URIs) lives in [`@product-lab/domain`](../domain/README.md) since refactor step 4; this package re-exports what its callers use, so their imports did not change. The loopback control plane and panel live in [`@product-lab/shell`](../../entrypoints/panel), the command in [`@product-lab/cli`](../../entrypoints/cli); chain connections, transaction execution and the scenario journal are under the `@product-lab/core/chain` subpath, over the chain ports of `@product-lab/ports/chain` (refactor step 3): core imports no polkadot-api or key library; `@product-lab/chain-papi` and `@product-lab/keys-sr25519` implement the ports and the caller constructs them.
|
|
4
|
+
|
|
5
|
+
## What core/lab holds (since L1: a compatibility facade)
|
|
6
|
+
|
|
7
|
+
`@product-lab/core` is tagged `scope:core`, `layer:core`, `type:application` (L1 dropped `type:port`). Its
|
|
8
|
+
implementation moved to `@product-lab/application/orchestration` (`core/application/src/orchestration/`), under the application's
|
|
9
|
+
rules (no Node built-ins, ambient time, timers, randomness or packages other than the domain and the ports; one class
|
|
10
|
+
per file, named after it: `core/application/tests/independence.test.ts`). This package re-exports that code for existing
|
|
11
|
+
importers from the same root and six subpaths, which compared equal before and after the move (TypeScript symbol lists:
|
|
12
|
+
root 280, `/activity` 9, `/chain` 35, `/host` 50, `/identity` 6, `/run` 7, `/steps` 12; see
|
|
13
|
+
`docs/verification/2026-09-28-cq-l1-final.md`). No adapter, contract kit, port or domain project imports it.
|
|
14
|
+
|
|
15
|
+
Since q10-arch (`docs/verification/2026-09-28-q10-arch.md`) `src/` holds only imports, re-exports, type declarations
|
|
16
|
+
and zod schema declarations, enforced by `architecture/facade-only` (an error at a zero baseline,
|
|
17
|
+
`tools/architecture/README.md`): no class, function or other value. The zod schemas stay here because this facade is
|
|
18
|
+
`@product-lab/core`'s public validation surface and the one core package that depends on zod; the application holds no
|
|
19
|
+
validation library.
|
|
20
|
+
|
|
21
|
+
| Kept here | File | What it is |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| `topologyOptionsSchema`, `topologySchemas` (deprecated) | `src/topology.ts` | zod; each environment adapter owns its options schema since L1, and nothing in the repository uses these |
|
|
24
|
+
| `transactionModeSchema` | `src/chain/transaction-mode-schema.ts` | zod; a type-only check (the export's type is `never` on drift) keeps it equal to the application's `TransactionMode` |
|
|
25
|
+
|
|
26
|
+
What q10-arch moved out, exported under the same names except the two test helpers:
|
|
27
|
+
|
|
28
|
+
| Export | Now in | Change |
|
|
29
|
+
| --- | --- | --- |
|
|
30
|
+
| `runManifest` (root) | `core/domain/src/lab/run-manifest.ts`, re-exported through the orchestration | `now` is required (it read the real time without it) |
|
|
31
|
+
| `ScenarioJournal` (`/chain`) | `core/application/src/orchestration/chain/scenario-journal.ts` | takes the clock that dates its entries: `new ScenarioJournal(journal, progress, { clock, emit? })`; `ScenarioJournalOptions` is exported with it |
|
|
32
|
+
| `ManualClock`, `settle` (root, `/run`) | `@product-lab/test-support` | no longer exported by `@product-lab/core`: tests import them from `@product-lab/test-support` (a dev dependency) |
|
|
33
|
+
|
|
34
|
+
After q10-arch the TypeScript symbol lists are root 279, `/activity` 9, `/chain` 36, `/host` 50, `/identity` 6, `/run` 5,
|
|
35
|
+
`/steps` 12 (the record lists the difference).
|
|
36
|
+
|
|
37
|
+
Where the implementation is now:
|
|
38
|
+
|
|
39
|
+
| Area | Files (under `core/application/src/orchestration/`) | What it is |
|
|
40
|
+
| --- | --- | --- |
|
|
41
|
+
| Lab authoring | `lab/define.ts`, `definitions.ts`, `integrations/define.ts`, `services/define.ts`, `services/authorized-service.ts`, `secrets/sources.ts`, `capabilities.ts`, `topology.ts` | `defineLab`, `defineScenario`, `defineIntegration`, `defineAction`, `defineService`, `defineAuthorizedService`, `devAccount`, `fromEnv`; since 3 October 2026 `preOnboarded` (`defineLab({ actors })`: existing accounts by secret name, backlog A3; `validateLab` checks each names a declared secret, and `SessionContext.preOnboarded` hands them to sessions) and the public profile (`PublicTarget`, `runScoped`; an environment declares `offer.public`, backlog A6) |
|
|
42
|
+
| Compiling and loading a lab | `lab/compile.ts`, `lab/start-lab-environment.ts`, `lab/validate.ts`, `lab/environments.ts`, `lab/topology-overrides.ts`, `lab/loaded-lab.ts`, `lab/source-lab-loader.ts`, `managed-environment.ts` | `compileLab`, `loadedLab`, `inspectedLab`, `SourceLabLoader` (the `LabLoader` over a `LabDefinitionSource`, with `LabPreparation` and `preparedLab`) |
|
|
43
|
+
| The lab catalog | `lab/declared-lab-catalog.ts`, `lab/registry.ts`, `lab/environment-registry.ts`, `lab/environment-view.ts`, `lab/integration-availability.ts` | `DeclaredLabCatalog` (the `LabCatalog` port) and the registry views; `env show` previews are dated by the caller (`TopologyPreviewRequest.createdAt`) |
|
|
44
|
+
| Integrations, services and secrets | `integrations/integration-registry.ts`, `services/service-container.ts`, `services/service-lifetime-scope.ts`, `services/*-error.ts`, `secrets/secret-resolver.ts`, `secrets/secret-error.ts`, `secrets/*-source.ts` | the service container (generations, lifetimes), integration registry, secret resolution through the `KeyDerivation` port |
|
|
45
|
+
| Sentences and custom steps | `integrations/generic-sentences.ts`, `integrations/integration-sentences.ts`, `lab/block-availability.ts`, `steps.ts` | `IntegrationSentences` (the `LabSentences` port), `unavailableBlock`, `step()` and `customStepSource` (the `CustomStepSource` port the composition root passes to the Cucumber adapter) |
|
|
46
|
+
| Chain | `chain/chain-connection.ts`, `chain/transaction-executor.ts`, `chain/events.ts`, `chain/activity-ids.ts` | `ChainConnection`, `TransactionExecutor`, the generic event helpers (a scan reads past a block whose state the node no longer holds, but never counts it as "no event": a scan that finds nothing rejects with `UnreadableBlocksError` naming those blocks, `waitForEvent` reads them again on every poll and its timeout names the ones still unread (backlog 33); it rejects naming the block when its events cannot be read or decoded); default activity ids come from one process-wide counter |
|
|
47
|
+
| Hosts and navigation | `host/*` | `HostRegistry` (and `validatedHostTools`), `HostSessionRegistry`, `NavigationBridge`, `LabNavigation`, `withNavigation`, `hostRoutesFor` |
|
|
48
|
+
| Activity and runs | `activity/*`, `run/*` | `monitorChains`, activity types, resource helpers |
|
|
49
|
+
| Identity compatibility | `identity/*` | re-exports `IdentityProvisioner` from `@product-lab/ports/identity` and `assertBip39Entropy` from the domain |
|
|
50
|
+
|
|
51
|
+
Pure rules moved to `@product-lab/domain` during L1 (generic sentences, requirement and resource functions, topology
|
|
52
|
+
decisions, run-manifest construction, host capabilities and URL helpers, `parseAdapterOptions`) and contracts to
|
|
53
|
+
`@product-lab/ports` (`IdentityProvisioner`, `LabDefinitionSource`, `CustomStepSource`); the facade re-exports them.
|
|
54
|
+
The tests in `tests/` exercise the orchestration through this package's public entry points (`../src/index.ts` and the
|
|
55
|
+
subpaths), the way examples and entry points import it.
|
|
56
|
+
|
|
57
|
+
## Lab shell and orchestrator (historically "Application Lab")
|
|
58
|
+
|
|
59
|
+
A reusable development shell around a real hosted application. The command center starts closed; **Lab** opens it and **×** closes it. Actor selection and app restart remain in the small toolbar.
|
|
60
|
+
|
|
61
|
+
App teams provide one `lab.config.ts`. Nothing in this package imports consumer code; consumer integrations live under `examples/` (for example `examples/notes`). Two shapes are accepted: the declarative composition below ([Declarative labs](#declarative-labs-phase-1)) and the original single `start()`:
|
|
62
|
+
|
|
63
|
+
```ts
|
|
64
|
+
import { defineLab } from '@product-lab/core';
|
|
65
|
+
import { startEnvironment } from './lab/environment.ts';
|
|
66
|
+
|
|
67
|
+
export default defineLab({ name: 'My app', start: startEnvironment });
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
The environment returns registered actor URLs, observations, scenario definitions and cleanup. Optional `createActor` and `reset` capabilities generate their controls. Actions retain their original actor even when the tester switches the visible iframe. Each actor must have a distinct application origin and isolated host state.
|
|
71
|
+
|
|
72
|
+
## App navigation and dynamic routes
|
|
73
|
+
|
|
74
|
+
Declare routes in `lab.config.ts`; the panel generates the route picker and fields.
|
|
75
|
+
The framework knows no product routes. For example:
|
|
76
|
+
|
|
77
|
+
```ts
|
|
78
|
+
navigation: {
|
|
79
|
+
mode: 'hash', // 'path' for apps using normal browser paths
|
|
80
|
+
routes: [
|
|
81
|
+
{ id: 'home', label: 'Home', path: '/' },
|
|
82
|
+
{
|
|
83
|
+
id: 'item', label: 'Item details', path: '/items/[id]',
|
|
84
|
+
parameters: { id: { label: 'Item ID' } },
|
|
85
|
+
query: { tab: { label: 'Tab', default: 'activity' } },
|
|
86
|
+
},
|
|
87
|
+
{ id: 'docs', label: 'Documentation', path: '/docs/[[...path]]' },
|
|
88
|
+
],
|
|
89
|
+
}
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Both `:id` and `[id]` create a required single-segment input. `[...path]` is a
|
|
93
|
+
required slash-separated catch-all; `[[...path]]` is optional. Labels/defaults
|
|
94
|
+
are optional; path fields are inferred from the template. Query fields are
|
|
95
|
+
optional unless `required: true`. Values are URL-encoded; no expressions or
|
|
96
|
+
arbitrary external URLs are evaluated. Path routes are relative to the actor's
|
|
97
|
+
origin; include an app's deployment prefix in its route templates. Hash routes
|
|
98
|
+
retain the actor URL's pathname and outer query string.
|
|
99
|
+
|
|
100
|
+
Pick a page from an app tile's address bar (the chevron, or ArrowDown), write any
|
|
101
|
+
parameter it selects, then press Enter; any typed same-origin subpath opens the same
|
|
102
|
+
way ([panel README](../../entrypoints/panel/README.md#tile-address-bar)). The iframe uses
|
|
103
|
+
that actor's existing host session. Each actor retains its last opened address while
|
|
104
|
+
switching identities or views. Polling does not reload the iframe; the bar's reload
|
|
105
|
+
and **Restart app** reload that address. A scenario that changes `appUrl` takes
|
|
106
|
+
precedence, and environment reset discards saved addresses. Navigation never
|
|
107
|
+
pauses/cancels a scenario or submits a lab mutation. The app's normal guards and
|
|
108
|
+
side effects still apply when a route opens.
|
|
109
|
+
|
|
110
|
+
The bar shows a live address only in the lab window (`bun run lab`), where Playwright
|
|
111
|
+
observes the frame's navigations; a normal browser tab cannot see a cross-origin
|
|
112
|
+
frame's later navigation and shows the address the lab opened, labelled "opened by
|
|
113
|
+
lab". Back/forward history controls and automatic route discovery are not implemented.
|
|
114
|
+
|
|
115
|
+
```ts
|
|
116
|
+
import { defineScenario } from '@product-lab/core';
|
|
117
|
+
|
|
118
|
+
const scenario = defineScenario({
|
|
119
|
+
id: 'my-operation',
|
|
120
|
+
title: 'Run my operation',
|
|
121
|
+
description: 'An app-owned operation with generated inputs.',
|
|
122
|
+
inputs: {
|
|
123
|
+
attempts: { type: 'integer', label: 'Attempts', min: 1, max: 10, default: 1 },
|
|
124
|
+
},
|
|
125
|
+
steps: ({ inputs }) => Array.from({ length: Number(inputs.attempts) }, (_, index) => ({
|
|
126
|
+
title: `Operation ${index + 1}`,
|
|
127
|
+
run: context => appServices.perform(context.actor.id, context.signal),
|
|
128
|
+
})),
|
|
129
|
+
});
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
`appServices` is the consuming app's service; the framework supplies neither business transactions nor expected outcomes. The runtime (`@product-lab/application`, refactor step 6) validates input and runs the steps through the resource-aware `Scheduler`, which acquires each step's declared `resources`. Checkpoints pause only after the step has completed (a job's status is the domain's `Run` aggregate; it ends `complete`, `failed` or `cancelled`). A failed execution stops subsequent steps and blocks accidental replay; submitted transactions are not rolled back.
|
|
133
|
+
|
|
134
|
+
The control server binds to loopback, validates Host/Origin, accepts only registered actions and rejects arbitrary inputs. Its iframe loads the real registered app URL. It never impersonates an account or patches the SPA's state.
|
|
135
|
+
|
|
136
|
+
- `types.ts` (in `core/application/src/orchestration/`): the provider, actor and scenario contracts, re-exported from `@product-lab/ports/lab` and `@product-lab/ports/driving` (they moved there in refactor step 6)
|
|
137
|
+
- `@product-lab/application` (`core/application`): `LabRuntimeService` and its use cases (actor-bound execution through the
|
|
138
|
+
`Scheduler`, lifecycle, confirmation, redaction, retention); core's former controller, scheduler,
|
|
139
|
+
actor binding and `ResourceLocks` moved there in refactor step 6, and the `LabController` facade left
|
|
140
|
+
over from the controller was removed in step 9
|
|
141
|
+
- `lab/declared-lab-catalog.ts`, `lab/loaded-lab.ts` (orchestration): `DeclaredLabCatalog` (the `LabCatalog` port over a declarative
|
|
142
|
+
lab: checks, registries, redacted topology previews; since Phase 4 `declaredSentences(environmentId)` and
|
|
143
|
+
`problems()` for `product-lab lint`) and `loadedLab`/`inspectedLab` (a `LoadedLab` from lab.config.ts's default
|
|
144
|
+
export); `lab/source-lab-loader.ts` (L1): `SourceLabLoader`, the `LabLoader` over a `LabDefinitionSource`, with
|
|
145
|
+
`LabPreparation` and `preparedLab` (moved from `@product-lab/lab-module`); `host/host-registry.ts` also exports
|
|
146
|
+
`validatedHostTools` (the check `ModuleHostTools` receives)
|
|
147
|
+
- `lab/block-availability.ts` (Phase 4): `unavailableBlock(owner, context)`, why an action or assertion cannot run
|
|
148
|
+
in an environment (its integration failed or is unavailable there, or the block's own requirements are not
|
|
149
|
+
offered); a started environment's sentences and the declared ones (lint) use the same rule
|
|
150
|
+
|
|
151
|
+
- `chain/` (orchestration): chain connection, transaction execution and scenario journal (`@product-lab/core/chain`), over ports:
|
|
152
|
+
`new ScenarioJournal(journal, progress, { clock, emit })` (an `EvidenceJournal`; `clock` dates the progress and activity entries),
|
|
153
|
+
`new ChainConnection(access, signal, { clock, activity })` (a `ChainAccess` the caller opened; closed when `signal` aborts;
|
|
154
|
+
`clock` is required: `SystemClock` from `@product-lab/system-node`, or `ManualClock` from `@product-lab/test-support` in tests;
|
|
155
|
+
`waitFor(label, read, timeoutMs, head)` reads the finalized head unless `head` is `"best"`, and reports each wait with
|
|
156
|
+
its head and the block it completed at; `view({ head, requiresFinality, activity })` is the same connection for one
|
|
157
|
+
call: its waits read `head` by default, report to `activity`, and with `requiresFinality` a wait on the best block is
|
|
158
|
+
refused, naming the reason. Finality only where needed (backlog 14):
|
|
159
|
+
an action or assertion declares `reads: "best"`
|
|
160
|
+
when inclusion is enough (default `"finalized"`); the lab hands each call views of its chains (`chains`), and
|
|
161
|
+
`chainView(connection)` for a connection the integration owns, on that head; a check that reads finalized can never
|
|
162
|
+
wait on the best block; the step's trace (`FeatureCallTrace.reads`) and evidence (`StepEvidence.chainWaits`) record which
|
|
163
|
+
head each call and wait read; `clock` is the connection's clock, and `tracked(label, timeoutMs, head, work)` reports
|
|
164
|
+
a wait the caller polls itself under the same rule, which `checkUiAgainstChain` uses),
|
|
165
|
+
`new TransactionExecutor(submitter, journal, { signal, chain, clock, mode, validator })` (a `TransactionSubmitter`; `clock` is
|
|
166
|
+
required, `mode` defaults to `checkpoint`, `validator` and `ids` are optional; finalized-only
|
|
167
|
+
evidence, sticky failures, `finalizePending()` barrier; `submitIntermediate` advances on a valid inclusion in `checkpoint` mode;
|
|
168
|
+
only the finalized receipt is validated as the result and recorded (with `inclusionMoves` when the submitter reports the inclusion moved), and a
|
|
169
|
+
best-block receipt that does not validate is not the final word: the step waits for the finalized one;
|
|
170
|
+
the chain's own dispatch result is always checked, and an integration's `ReceiptValidator` decides the rest; submissions
|
|
171
|
+
are ordered per signing account through `SigningQueues.shared` unless `ordering` names other queues or `false`: one
|
|
172
|
+
account's submissions take turns, and with a submitter that offers `nonces` (`PapiTransactionSubmitter`) each signs a
|
|
173
|
+
nonce the queue allocates, so two executors of one process never sign the same nonce; see
|
|
174
|
+
`chain/signing-queues.ts`);
|
|
175
|
+
a failed dispatch is thrown as a `DispatchFailedError` carrying the receipt (message unchanged);
|
|
176
|
+
`submitBatch(executor, { label, calls, signer, build, mode })` submits several independent calls of one signer as one
|
|
177
|
+
`Utility.batch_all` (`mode: "all"`, default) or `Utility.batch` (`"each"`) built by the consumer's `build`, and resolves
|
|
178
|
+
with each call's result from the chain's `Utility.ItemCompleted`/`BatchInterrupted` events; a batch that did not apply
|
|
179
|
+
every call rejects with a `BatchFailedError` naming the failed call when the chain names it, and saying that an atomic
|
|
180
|
+
batch reverted every call without naming one when it does not;
|
|
181
|
+
`FundingBatch` gathers the
|
|
182
|
+
funding of identities created together into one such transaction (core/application's README)
|
|
183
|
+
- `@product-lab/shell` (`entrypoints/panel/src/server.ts`): local control API and shell assets
|
|
184
|
+
- `@product-lab/shell` (`entrypoints/panel/src/client/`): generated forms and collapsible command center
|
|
185
|
+
- `tests/`: isolated framework contract tests, not chain or app E2E; `tests/fakes/chain.ts` holds the typed chain doubles
|
|
186
|
+
(`FakeChainAccess`, and `EventsChain` for the chain-event checks) the tests use instead of double type assertions
|
|
187
|
+
|
|
188
|
+
`defineIntegration({ standalone: true })` makes its feature sentences available without an app using that integration,
|
|
189
|
+
subject to its declared requirements and service readiness. `defineAction` and `defineAssertion` accept
|
|
190
|
+
`actor: "none"` for environment-level calls; read-only calls can run before the first actor, with scenario-scoped
|
|
191
|
+
services and no actor or UI. A mutating call still needs an identity.
|
|
192
|
+
|
|
193
|
+
Every step that changes something is checked on both sides (backlog 160).
|
|
194
|
+
An action records what it read back of its own effect with `reading` (a `SideReading`, as an assertion's: `side`
|
|
195
|
+
`chain` or `screen`, `place`, `expected`, `found`, `ok`, and for a chain side `at: { chain, block, head }`), and what
|
|
196
|
+
it wrote besides the lab's transactions with `write` (a `StepWrite`: a Statement Store `statement`, stored `content`, a
|
|
197
|
+
`transaction` someone else signed). The step's card shows them, the Transactions view lists the writes. The lab's own
|
|
198
|
+
transactions in a step (a stand-in, funding, a root call) are never its chain check: only a reading of what it claims. An action whose
|
|
199
|
+
change no screen can show declares why, `screenCheck: { none: "the app shows no balance" }`; `defineAction` refuses an
|
|
200
|
+
empty or vague reason. A step that changes nothing declares `mutates: false` and says so. An environment describes the
|
|
201
|
+
identities it makes with `LabEnvironment.actorReadings(id)` (their app ready, their place on chain): the
|
|
202
|
+
`{actor} is a new actor` step shows those. `uncheckedSides` (`@product-lab/domain/checks`) is the rule a lab's tests ask
|
|
203
|
+
of each mutating action; Notes' `tests/chain-and-screen.test.ts` is the example.
|
|
204
|
+
|
|
205
|
+
Run a consumer with `product-lab --config lab.config.ts` (from this repository: `bun run product-lab -- --config …`). The earlier application lab design and runbook (application-lab-design.md and runtime-lab-hosted-playground.md in its docs folder) remain in the repository the lab was imported from.
|
|
206
|
+
|
|
207
|
+
Triangle E2E can supply another environment/host implementation through these contracts. No Triangle integration, Testcontainers provider, public-network mutation adapter or runtime-upgrade UI is claimed by this package.
|
|
208
|
+
|
|
209
|
+
## Live progress without app-specific UI
|
|
210
|
+
|
|
211
|
+
The framework renders elapsed execution/step time, paused checkpoints, active waits, transaction inclusion/finality, failures and chain activity. The toolbar retains a compact progress button when the panel is closed. No elapsed-time percentage implies completion. Unchanged head observations do not reset the last-block clock.
|
|
212
|
+
|
|
213
|
+
Scenarios can call `context.report(event)`. Services that execute below the scenario layer can emit through the environment's optional `subscribe(sink)` hook. Transaction ids must be unique for each submission; repeated labels are allowed. The framework associates events with the active job and step. Chain observations remain environment-wide. Each provider must unsubscribe its readers during cleanup.
|
|
214
|
+
|
|
215
|
+
```ts
|
|
216
|
+
import type { ActivitySink } from '@product-lab/core/activity';
|
|
217
|
+
|
|
218
|
+
function reportTransfer(emit: ActivitySink, id: string) {
|
|
219
|
+
emit({ type: 'transaction', id, chain: 'payments', label: 'Transfer credits', status: 'submitted', timeoutMs: 180_000 });
|
|
220
|
+
// After the actual provider reports inclusion:
|
|
221
|
+
emit({ type: 'transaction', id, chain: 'payments', label: 'Transfer credits', status: 'included', hash: 'observed-transaction-hash', block: { number: 42, hash: 'observed-block-hash' } });
|
|
222
|
+
}
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
A step that writes to a content store with no transaction the lab can watch (its host names no account for it) can
|
|
226
|
+
declare the write, so a failure after it is checked in the store (backlog 99): `{ type: 'statement', chain, topics, signer? }`
|
|
227
|
+
for a Statement Store statement (one to four 32-byte 0x topics; the signer's 0x public key when known) and
|
|
228
|
+
`{ type: 'preimage', cid }` for content stored on Bulletin. Each counts as one of the step's submissions; if the step
|
|
229
|
+
fails, the lab asks the store for exactly that write. A host that names its accounts (`HostSession.resourceAccounts`)
|
|
230
|
+
needs neither: the lab watches them.
|
|
231
|
+
|
|
232
|
+
The example describes the event shape, not a simulated transaction implementation. Providers report their real observations. Do not emit a fabricated finalized event to make the UI advance. Events must not contain private keys, signer objects, session tokens or signed payloads. Diagnostic fields should contain public signing context only.
|
|
233
|
+
|
|
234
|
+
`monitorChains(readers, sink, clock)` polls provider-supplied readers independently with timeouts, on the lab's Clock port (refactor step 10b: core reads no timers); it imports no chain SDK or app domain code. A reader receives an abort signal and must release its own resources. Transaction groups use chain id plus block hash, so transactions in different chains or competing blocks are never merged just because their heights match. The display labels them as scenario transactions; it does not claim to list every transaction in the block.
|
|
235
|
+
|
|
236
|
+
Routine `/api/lab` snapshots omit full step receipts. `/api/evidence?job=<id>` loads the current run's detailed evidence on demand. Providers remain responsible for durable journals; the in-memory UI is bounded and does not replace those journals.
|
|
237
|
+
|
|
238
|
+
## Configured environments
|
|
239
|
+
|
|
240
|
+
An app may register `environments: [{ id, label, description, start }]` alongside the default `start`. The framework generates the environment selector and supports `product-lab --environment <id>`. Values are app-defined; there are no built-in product, Paseo, or app-domain assumptions.
|
|
241
|
+
|
|
242
|
+
Switching is prohibited during an active run. The target starts and validates before the previous environment is closed. A target startup failure preserves the existing environment. A successful switch clears the previous run view and obtains the new provider's actors; chain history and accounts are not transferred. Providers must release only resources they own and use isolated ports/state when both environments coexist during startup.
|
|
243
|
+
|
|
244
|
+
Identity creation and environment switching have their own running clocks. Chain observations continue during these operations. A failure while cleaning up the previous environment blocks further mutations until resources are reconciled; the UI never assumes a partially closed environment remains usable.
|
|
245
|
+
|
|
246
|
+
Optional provider `notices` explain unsupported host capabilities inside the command center. Consumer applications should not display lab instructions or disable ordinary product behavior based on lab availability.
|
|
247
|
+
|
|
248
|
+
## Identity history and stopping a scenario
|
|
249
|
+
|
|
250
|
+
The identity selector changes both the real app iframe and the displayed run history, transaction activity and receipts. The session retains up to 50 runs; the run selector exposes earlier runs for the selected identity. These are transactions associated with that identity's lab scenarios, including supporting actors, not an indexed account-wide transaction history. Chain heads remain environment-wide. A separate banner identifies an active scenario even when another identity is selected; switching the view never changes the executing actor.
|
|
251
|
+
|
|
252
|
+
**New identity** appears beside the selector when the provider implements `createActor`. Creation and new mutations are disabled while a scenario owns the shared environment. Identity switching, app restart and read-only inspection remain available.
|
|
253
|
+
|
|
254
|
+
**Cancel remaining steps** stops at a safe checkpoint. A paused run cancels without executing another step. A running step completes and settles its submitted work, then the controller skips later steps and awaits `afterRun` cleanup before unlocking. Providers must implement each step as a safe checkpoint and reject it if settlement is uncertain. Cancellation does not roll back completed changes, abort signing in progress, or disguise a failed step as a successful cancellation. A failure never blocks (6 October 2026): the runtime reconciles a failed step that reported its transactions from finalized state (`@product-lab/application`'s `CheckTransactionLanded`), and checks any other failed step that may have sent a transaction in the background after the run, adding the answer to the run; the next run starts at once.
|
|
255
|
+
|
|
256
|
+
History is bounded in-memory session state; restarting the control server clears it. Provider journals remain the durable transaction evidence.
|
|
257
|
+
|
|
258
|
+
## Whole-environment reset
|
|
259
|
+
|
|
260
|
+
`managedEnvironment({ start, rebuild, stop })` remains a compatibility helper for replaceable app sessions. Engine's owned environment now implements its own session lifecycle in `engineSessionEnvironment`. It closes current sessions before rebuilding and replaces them only after startup succeeds. The controller unsubscribes old readers, clears activity, validates new actors, rebinds readers and invalidates prior evidence after a successful reset. A failed reset blocks ordinary mutations until a successful retry or resource reconciliation.
|
|
261
|
+
|
|
262
|
+
The shell requires an explicit reset dialog and sends the session's reset token (`snapshot.confirmations.reset`, `reset <session>`) with the request. The runtime rejects a missing or stale confirmation, whoever sends it (panel, MCP `env_reset`). Providers must only expose reset when they can rebuild the complete environment they own; neither this helper nor the controller discovers or kills unrelated processes. Attached environments show the unavailable control with an ownership explanation.
|
|
263
|
+
|
|
264
|
+
Continuous execution is the UI default. Checkpoint mode is opt-in; executions record `pauseAfterStep` and `pauseReason`. A one-shot pause request does not silently enable checkpoint mode for the rest of the run. Identity selection never changes execution ownership or pause settings.
|
|
265
|
+
|
|
266
|
+
## Persistent workspaces and process ownership
|
|
267
|
+
|
|
268
|
+
These are opt-in provider capabilities, independent of chain type or app domain:
|
|
269
|
+
|
|
270
|
+
- `WorkspaceStore<T>` (now in [`@product-lab/storage-filesystem`](../../adapters/storage/filesystem/README.md), refactor step 1) atomically saves app-defined records under an exclusive owner lock. A binding identifies the exact environment generation; it rejects an accidental switch to another chain's state.
|
|
271
|
+
- Owned processes (the `ProcessRunner` port; `NodeProcessRunner` in [`@product-lab/system-node`](../../adapters/system/node/README.md), formerly core's `ProcessSupervisor`) are recorded as detached child trees with PID, birth time and process group. `stop`/`stopAll` verify those identities before signalling. Reopening a registry can reconcile recorded survivors after a crash; it never adopts a process by its port or executable name.
|
|
272
|
+
- `workspace`, `startWorkspace`, `stopWorkspace`, `startActor`, `stopActor` and `deleteActor` generate the standard lifecycle controls. Actors expose `starting`, `running`, `stopped` or `failed`. A stopped actor cannot start a scenario or receive app navigation.
|
|
273
|
+
- Deletion requires confirmation tied to both actor and environment generation. `deleteActor(id, removal)` gets an
|
|
274
|
+
`ActorRemoval` (`@product-lab/ports/lab`: where it was asked, why, the scenario or run): a person's delete from the
|
|
275
|
+
window, the terminal app or another caller, or a scenario's own cleanup; an environment that keeps its people records
|
|
276
|
+
it (Notes: its timeline's `actor-removed`). A provider must stop the actor before removing its managed data. Stop retains data; reset is a separate capability and confirmation.
|
|
277
|
+
|
|
278
|
+
The consuming app defines saved records, key locations, infrastructure resume plans and readiness. An example's adapter may retain its full network databases and host stores; those details are not framework assumptions. Attached networks stay external. CI providers retain their existing disposable lifecycle.
|
|
279
|
+
|
|
280
|
+
A force-killed owner cannot execute cleanup. Its registered children may survive until restart reconciliation; normal SIGINT/SIGTERM shutdown awaits cleanup. Keep workspace data and required tools outside temporary directories, and do not open one workspace in two controllers.
|
|
281
|
+
|
|
282
|
+
## Declarative labs (Phase 1)
|
|
283
|
+
|
|
284
|
+
`defineLab` also accepts a declarative composition: named environments, hosts,
|
|
285
|
+
apps, secrets and feature globs. The CLI loads it from `lab.config.ts`,
|
|
286
|
+
validates it before anything starts, and compiles it (`compileLab`) into the
|
|
287
|
+
runtime configuration `LabRuntime` (`@product-lab/application`) starts.
|
|
288
|
+
|
|
289
|
+
```ts
|
|
290
|
+
import {
|
|
291
|
+
defineEnvironment, defineIntegration, defineLab, defineService, devAccount, fromEnv,
|
|
292
|
+
} from '@product-lab/core';
|
|
293
|
+
import { counter } from './integration/counter/index.ts'; // declares an authorized service (below)
|
|
294
|
+
import { notes } from './integration/notes/index.ts'; // declares none
|
|
295
|
+
|
|
296
|
+
export default defineLab({
|
|
297
|
+
name: 'Products',
|
|
298
|
+
environments: {
|
|
299
|
+
// Any EnvironmentProvider: the environments a registered adapter factory resolves implement it, or write one inline.
|
|
300
|
+
local: defineEnvironment({
|
|
301
|
+
offer: { chains: ['people', 'asset-hub', 'bulletin'], services: ['identity-backend'],
|
|
302
|
+
capabilities: ['dotns', 'bulletin', 'statementStore', 'devAuthority'], local: true },
|
|
303
|
+
start: async ({ signal }) => ({ endpoints: { people: 'ws://127.0.0.1:10010' }, close: async () => {} }),
|
|
304
|
+
}),
|
|
305
|
+
},
|
|
306
|
+
defaultEnvironment: 'local',
|
|
307
|
+
hosts: { cli: myHost }, // opaque to core in Phase 1, unless it is a { kind, options } selection (below); handed to sessions()
|
|
308
|
+
apps: {
|
|
309
|
+
counter: { integration: counter },
|
|
310
|
+
notes: { integration: notes, requires: { capabilities: ['bulletin'] } },
|
|
311
|
+
},
|
|
312
|
+
secrets: { 'counter-operator': { local: devAccount('//Alice'), remote: fromEnv('COUNTER_OPERATOR_SEED') } },
|
|
313
|
+
features: ['./features/**/*.feature'], // relative to this file
|
|
314
|
+
// Negative controls are declared in their feature files, by tags (`@negative-control`, `@fails-at-step-N`,
|
|
315
|
+
// `@fails-with:<reason>`), never here: a lab that still lists `negativeControls` is refused, saying so.
|
|
316
|
+
// `product-lab test --workers <n> <feature…>` (backlog 34): the variables that give each worker its own ports, state
|
|
317
|
+
// and caches (this lab's own names; the framework refuses two workers given the same ones).
|
|
318
|
+
workers: { max: 4, env: ({ index }) => ({ MY_PORT_BASE: String(20000 + index * 1000) }) },
|
|
319
|
+
// Phase 1 composition hook: start host sessions for the available apps and return
|
|
320
|
+
// actor sessions and scenarios. Host providers take this over in Phases 2 and 3.
|
|
321
|
+
sessions: async ({ apps, services, environment, signal }) => startMySessions(...),
|
|
322
|
+
});
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
An environment may also be a resolved topology, from an environment adapter
|
|
326
|
+
package, for example `relaylessTopology()` from `@product-lab/env-relayless`.
|
|
327
|
+
`defineLab({ environmentFactories })` registers the adapter factories a lab
|
|
328
|
+
uses (for example `new RelaylessEnvironmentFactory()`, `new
|
|
329
|
+
ChopsticksEnvironmentFactory({ probe: attachedProbe, db })` (`probe` is
|
|
330
|
+
required; `attachedProbe` comes from `@product-lab/env-attached`), `new
|
|
331
|
+
EngineEnvironmentFactory({ engineConfig })` from the adapter packages); the
|
|
332
|
+
core's `EnvironmentRegistry` (`environmentRegistry(definition)`) selects the
|
|
333
|
+
factory for each topology by its `provider`, or, when a topology names none,
|
|
334
|
+
by the adapter whose own options section is present or the single adapter
|
|
335
|
+
whose `accepts()` is true. `resolveEnvironment` is the resolution `compileLab`,
|
|
336
|
+
`product-lab check` and `product-lab env show` share; a topology with `error`
|
|
337
|
+
issues, or with no registered factory, is reported and refuses to start. Each
|
|
338
|
+
started topology environment has a run manifest (`provenance.lab.manifest`):
|
|
339
|
+
the adapter's own, else one `compileLab` records through the `RunManifestStore`
|
|
340
|
+
port (`compileLab(definition, { root, env, runManifests })`; `env` is the
|
|
341
|
+
environment variables the lab's secrets read, passed in by the caller, and
|
|
342
|
+
`FileRunManifestStore` in `@product-lab/storage-filesystem` writes the file).
|
|
343
|
+
`defineLab({ system })` gives the system ports (`SystemPorts` from
|
|
344
|
+
`@product-lab/ports/system`) adapters receive in `create(topology, deps)`; the
|
|
345
|
+
adapters run their processes, check ports, take locks and call RPC through them
|
|
346
|
+
(for example `RelaylessEnvironmentFactory` needs `processes`, `ports`, `locks`
|
|
347
|
+
and `rpc`).
|
|
348
|
+
|
|
349
|
+
```ts
|
|
350
|
+
environments: {
|
|
351
|
+
'fast': relaylessTopology({ chains: ['people'], runtimes: { people: { spec: './people.json' } } }),
|
|
352
|
+
},
|
|
353
|
+
environmentFactories: [new RelaylessEnvironmentFactory()],
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
Hosts follow the same pattern: `defineLab({ hostFactories })` registers host
|
|
357
|
+
adapter factories (for example `new TruapiCliHostFactory()` from
|
|
358
|
+
`@product-lab/host-truapi-cli`), and a `hosts` entry can be a `{ kind,
|
|
359
|
+
options }` selection the core's `HostRegistry` validates with that factory's
|
|
360
|
+
own options schema and creates through `SessionContext.hostRegistry`; any
|
|
361
|
+
other value stays opaque to core, as before. A lab usually selects the stock
|
|
362
|
+
adapters by kind instead (`hostAdapters: { "truapi-cli": {} }`), and the
|
|
363
|
+
composition root constructs their factories.
|
|
364
|
+
|
|
365
|
+
`sessions()` also receives what the composition root built for the lab
|
|
366
|
+
(refactor step 9), so a lab never constructs a system or browser adapter:
|
|
367
|
+
`SessionContext.system` (the lab's system ports: processes, ports, locks,
|
|
368
|
+
files, JSON-RPC, clock, ids, logger, environment, run manifests; partial only
|
|
369
|
+
for a lab compiled without a composition root) and `SessionContext.browsers`
|
|
370
|
+
(a `BrowserLauncher`). A host is created with them:
|
|
371
|
+
`context.hostRegistry.create(context.hosts[id], { browser: await context.browsers.launch(), routes, system: context.system })`
|
|
372
|
+
(the notes example does this in `examples/notes/lab/sessions.ts`). An environment the lab declares itself
|
|
373
|
+
(`defineEnvironment`) gets the same system ports in `EnvironmentStartContext.system`.
|
|
374
|
+
|
|
375
|
+
The environment `sessions()` returns has a `name`, but views never show it beside the environment's own label: the
|
|
376
|
+
snapshot's `environment` (panel bottom bar, picker, dialogs, `env_status`) is the configured label the environment
|
|
377
|
+
picker lists, and `name` is only the fallback for a lab with no configured environments (29 September 2026).
|
|
378
|
+
|
|
379
|
+
A lab names each environment in its own words with `nameEnvironment(entry, { label, description })` (a topology or a
|
|
380
|
+
provider alike): the picker, the bottom bar and the environment card then say "Fast local chain: People and Bulletin"
|
|
381
|
+
instead of the adapter's "Local dev chain (Omni Node): people, bulletin", and the lab's line comes first in the description, the
|
|
382
|
+
adapter's facts (its ports, its upstream) after it (`tests/environment-registry.test.ts`; Notes names all its own in
|
|
383
|
+
`examples/notes/lab.config.ts`, from docs/feature-map.md). `kind` says what kind of chain it is (`fast-local`,
|
|
384
|
+
`network-copy`, `chain-copy`, `live`) for a lab's own provider; a topology's adapter and a public offer say it
|
|
385
|
+
themselves. The chain picker greys every kind a lab does not configure, with the config that adds it.
|
|
386
|
+
|
|
387
|
+
`environmentFactories` and `hostFactories` register a consumer's own adapter
|
|
388
|
+
factories (its own tests, or a factory not built into the composition root).
|
|
389
|
+
For the stock adapters, `defineLab({ environmentAdapters: { relayless: {…},
|
|
390
|
+
engine: {…}, chopsticks: {…} }, hostAdapters: { 'truapi-cli': {…},
|
|
391
|
+
'truapi-wasm': {…}, dotli: {…} } })` selects one by kind with its settings;
|
|
392
|
+
`@product-lab/composition`'s `createLabRuntime` wires the matching factory in
|
|
393
|
+
(refactor step 8), so a lab using only stock adapters never imports an adapter
|
|
394
|
+
package itself.
|
|
395
|
+
|
|
396
|
+
Starting an environment runs, in order: start the provider → compute app
|
|
397
|
+
availability → initialise environment-lifetime services of available
|
|
398
|
+
integrations in dependency order → `sessions()` → add every available
|
|
399
|
+
integration action as a one-step scenario. Apps that cannot run appear in the
|
|
400
|
+
panel notices (`App shop is unavailable in fast: missing chain
|
|
401
|
+
asset-hub, service identity-backend`) and are not passed to `sessions()`.
|
|
402
|
+
|
|
403
|
+
`LabEnvironment.registry` (and `/api/lab` → `registry`) carries the
|
|
404
|
+
serialisable description of the lab: environments and their offers, apps and
|
|
405
|
+
availability, integrations with their services (lifetime, dependencies,
|
|
406
|
+
privileged secret name), actions, assertions, step groups, secret names and
|
|
407
|
+
kinds, and the resolved feature files. It never contains secret values,
|
|
408
|
+
derivation paths, environment variable names or signers.
|
|
409
|
+
|
|
410
|
+
Availability is also reported per integration (`integrationAvailability`,
|
|
411
|
+
`registry.integrations[].status`): `ready` (its environment services started),
|
|
412
|
+
`available` (requirements and secrets met, from a check that started nothing,
|
|
413
|
+
such as `product-lab check`),
|
|
414
|
+
`idle` (available, but no available app uses it, so it was not started),
|
|
415
|
+
`unavailable` (a missing requirement or unusable secret), `failed` (a service
|
|
416
|
+
failed to initialise; `error` names the class, for example `AuthorityError`
|
|
417
|
+
from an authorized service) and `blocked` (a dependency is not available). Each app
|
|
418
|
+
lists the integrations it uses and those blocking it (`integrations`,
|
|
419
|
+
`blockedBy`). `registry.environment` adds the resolved topology details
|
|
420
|
+
(`topology`, built by `topologyDetails`), the declared retention of its state (`persistent`, `disposable`,
|
|
421
|
+
`external` or `unknown`; a provider may declare `RunningEnvironment.retention`;
|
|
422
|
+
since step 6 the runtime's `EnvironmentRetention` fills in `unknown`, once for
|
|
423
|
+
every caller),
|
|
424
|
+
the running endpoints and the run manifest, and every configured environment
|
|
425
|
+
lists which apps it could serve; the panel's Environment tab is built on these.
|
|
426
|
+
|
|
427
|
+
### An app's readiness and account, and accounts in any written form
|
|
428
|
+
|
|
429
|
+
Backlog item 62. `defineLab({ apps: { <id>: { ready, account } } })` declares, per app, how the lab knows the app is ready and, only for a host that cannot tell it, where the page shows the account. Both are optional and validated when the lab is defined (`lab/validate.ts`, through the domain's `AppReadiness.parse` and `AppAccountSource.parse`, naming the field):
|
|
430
|
+
|
|
431
|
+
```ts
|
|
432
|
+
apps: {
|
|
433
|
+
notes: {
|
|
434
|
+
ready: { steps: [{ click: { role: "button", name: "Connect" } }], when: { role: "heading", name: "Your notes" }, timeoutMs: 30_000 },
|
|
435
|
+
account: { testId: "notes-account", attribute: "data-account" }, // a fallback, never the default requirement
|
|
436
|
+
},
|
|
437
|
+
}
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
Without `ready` the app is ready when its host reports it connected. The session that opens the app waits for it (the composition root's default session; a lab's own `sessions()` can use `waitUntilReady` from `@product-lab/composition`).
|
|
441
|
+
|
|
442
|
+
The facade re-exports the domain's account helpers: `sameAccount(a, b, { h160? })`, `expectedAccount`, `accountPublicKey`, `accountSs58`, `AccountAddress`, `ExpectedAccount`, `AccountFormatError`, `AmbiguousAccountError`. `chainEventAssertion` matches its actor in any written form (another SS58 prefix, 0x hex), takes `accounts: { h160: "revive" }` for a chain that records 20-byte addresses, and treats an expected field whose value is the actor's account as an account (`matchFields` with an `ExpectedAccount`); every other field stays an exact comparison. `tests/chain-event-assertion.test.ts`, `tests/chain-events.test.ts`.
|
|
443
|
+
|
|
444
|
+
Backlog item 63: the environment a compiled lab starts forwards its session's `signing(actorId)` (the host's record of an identity's signing requests) to the runtime, which settles a failed step from it and the chain ([application](../application/README.md)). `tests/session-signing.test.ts`.
|
|
445
|
+
|
|
446
|
+
### Capabilities and requirements
|
|
447
|
+
|
|
448
|
+
The shared vocabulary (`contracts`, `evm`, `dotns`, `bulletin`,
|
|
449
|
+
`statementStore`, `devAuthority`) is the domain's
|
|
450
|
+
(`core/domain/src/lab/capability.ts`), re-exported from the orchestration's `capabilities.ts`. The
|
|
451
|
+
`checkRequirements`, `mergeRequirements` and `requirementErrors` functions also live in the
|
|
452
|
+
domain and are re-exported from the orchestration's `capabilities.ts`. An
|
|
453
|
+
environment declares an `EnvironmentOffer` (`chains`, `services`,
|
|
454
|
+
`capabilities`, `local`; validated by the domain's `Offer`); an app or
|
|
455
|
+
integration declares `requires` (`chains`, `services`, `capabilities`).
|
|
456
|
+
Requirements are inherited through integration `dependsOn`. `devAuthority` may
|
|
457
|
+
only be offered by a `local` environment. `checkRequirements`,
|
|
458
|
+
`appAvailability`, `integrationAvailability` and `topologyAvailability` all use
|
|
459
|
+
the domain's `RequirementCheck` (a topology explains a missing capability) and
|
|
460
|
+
never start anything; `product-lab check` prints the result for every
|
|
461
|
+
environment. `environmentAccess` returns the domain's `EnvironmentEndpoints`.
|
|
462
|
+
|
|
463
|
+
### Services, lifetimes and generations
|
|
464
|
+
|
|
465
|
+
```ts
|
|
466
|
+
defineService({
|
|
467
|
+
lifetime: 'environment' | 'actor' | 'scenario',
|
|
468
|
+
dependsOn: ['people', 'notes.store'], // local names or integration.service
|
|
469
|
+
init: ({ environment, services, secrets, actor, scenario, generation, signal }) => value,
|
|
470
|
+
verify: (value, context) => true | 'reason', // optional; rejecting disposes the value
|
|
471
|
+
dispose: (value, context) => {},
|
|
472
|
+
});
|
|
473
|
+
```
|
|
474
|
+
|
|
475
|
+
- `environment`: one instance per environment generation, shared by every actor and run; initialised eagerly at start so authority problems surface before any scenario.
|
|
476
|
+
- `actor`: one per actor per generation; released when the actor is stopped or deleted.
|
|
477
|
+
- `scenario`: one per run; disposed after the run (`afterRun`).
|
|
478
|
+
- A service may depend only on services of the same or a longer lifetime; unknown dependencies and cycles are configuration errors. A service sees only the dependencies it declares.
|
|
479
|
+
- Concurrent requests share one initialisation. A failed initialisation can be retried.
|
|
480
|
+
- Reset starts a new generation: every instance is disposed in reverse order (scenario, actor, environment), the context `signal` of the old generation aborts, scopes from the old generation throw `StaleGenerationError`, and an initialisation that finishes after the reset is disposed rather than leaking into the new generation.
|
|
481
|
+
|
|
482
|
+
`ServiceContainer` can be used on its own (tests, CI runners); the lab wraps it
|
|
483
|
+
so actor services follow `stopActor`/`deleteActor`, scenario services follow
|
|
484
|
+
`afterRun`, and all services follow `reset`/`close`.
|
|
485
|
+
|
|
486
|
+
A container scenario now also returns `ScenarioServiceScope`: `owner.forActor(id)`
|
|
487
|
+
selects actor-lifetime dependencies while sharing the owner's scenario instances.
|
|
488
|
+
Closing the owner invalidates all of its views and aborts pending initialization;
|
|
489
|
+
closing another owner leaves it alive. Releasing an actor ends scopes in which it
|
|
490
|
+
participated. A shared scenario service cannot implicitly depend on actor-lifetime
|
|
491
|
+
services: it has no single actor. Use a bound `scenario({ actor })` for single-actor
|
|
492
|
+
initialization. Feature sentences open one owner across all atomic calls and actors, then close it
|
|
493
|
+
before fresh-actor cleanup. `afterRun` closes only legacy per-action scopes; it does
|
|
494
|
+
not close feature-owned or resource-owned scopes. Reset/close still joins every
|
|
495
|
+
container scope, including cleanup already in progress.
|
|
496
|
+
|
|
497
|
+
### Secrets
|
|
498
|
+
|
|
499
|
+
Secrets are resolved only on the orchestration side, lazily, for the selected
|
|
500
|
+
environment:
|
|
501
|
+
|
|
502
|
+
- `devAccount('//Alice')`: a development derivation. Refused, with an error naming the secret and environment, on any environment whose offer is not `local`.
|
|
503
|
+
- `fromEnv('NAME')`: read on first use; a mnemonic, a `0x` mini secret, either with a derivation path, or a plain value (`secrets.value(name)`).
|
|
504
|
+
- Per-environment records: `{ '<environment id>': …, local: …, remote: …, default: … }`, in that precedence.
|
|
505
|
+
|
|
506
|
+
Signers come from the lab's `keys` (a `KeyDerivation`, for example
|
|
507
|
+
`new Sr25519KeyDerivation()` from `@product-lab/keys-sr25519`): without it a
|
|
508
|
+
secret is still a value, but `secrets.signer(name)` fails naming `defineLab({ keys })`.
|
|
509
|
+
A signer is `{ address, publicKey, signer }`, where `signer` is a port `KeySigner`;
|
|
510
|
+
`toTxCreator(signer)` from `@product-lab/chain-papi` gives a polkadot-api 3.x signer (`TxCreator`).
|
|
511
|
+
Sources, the resolver and derived signers redact themselves in `JSON.stringify`
|
|
512
|
+
and `util.inspect`. Services receive `secrets` in their context; `sessions()`
|
|
513
|
+
receives it for host signing accounts. Nothing passes it to the panel.
|
|
514
|
+
|
|
515
|
+
### The authorized-service pattern
|
|
516
|
+
|
|
517
|
+
The framework holds no privileged role. An integration that needs privileged
|
|
518
|
+
authority registers an authorized service with `defineAuthorizedService`: a
|
|
519
|
+
service holding a signer from a lab secret, whose authority is verified before
|
|
520
|
+
anything uses it. An integration that needs none simply omits it and
|
|
521
|
+
initialises normally.
|
|
522
|
+
|
|
523
|
+
```ts
|
|
524
|
+
import { defineAuthorizedService } from '@product-lab/core';
|
|
525
|
+
import { verifySudoKey } from './chain/sudo.ts'; // the integration's own check
|
|
526
|
+
|
|
527
|
+
operator: defineAuthorizedService({
|
|
528
|
+
secret: 'counter-operator', // lab secret; the signer arrives in the context
|
|
529
|
+
dependsOn: ['chain'],
|
|
530
|
+
label: 'Operator', // optional: how errors name it (default "Service")
|
|
531
|
+
create: ({ services, signer }) => new CounterOperator(services.get('chain'), signer),
|
|
532
|
+
verifyAuthority: (operator) => verifySudoKey(operator.chain.api, operator.signer.address, { label: 'Sudo.Key' }),
|
|
533
|
+
prepare: (operator) => operator.configureLocalLimits(), // privileged set-up, only after verification
|
|
534
|
+
dispose: (operator) => operator.close(),
|
|
535
|
+
}),
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
`verifyAuthority` is mandatory: naming or funding a signer grants nothing.
|
|
539
|
+
Failures are clear errors naming the service, the secret and the account:
|
|
540
|
+
`Operator counter.operator is not authorised: signer 5Grw… from secret
|
|
541
|
+
"counter-operator" failed verification: Sudo.Key is 5FHn…, not 5Grw…`
|
|
542
|
+
(`AuthorityError`), or `Operator counter.operator cannot obtain its signer:
|
|
543
|
+
Secret "counter-operator" uses a development account, which is refused on
|
|
544
|
+
environment "previewnet-public" …`. Without `label` the errors start with
|
|
545
|
+
`Service`. In a lab, a failed authorized service makes its integration and
|
|
546
|
+
every integration depending on it unavailable, with that message as the
|
|
547
|
+
reason; unrelated apps still start. Core has no Sudo check (`Sudo.Key` is the
|
|
548
|
+
chain's pallet storage, not a framework role): an integration's own check
|
|
549
|
+
compares what it reads with the signer, typically through `expectAuthority`,
|
|
550
|
+
the chain-independent helper for authority checks, with public keys as the
|
|
551
|
+
comparable form so SS58 prefixes do not matter, at the finalized block.
|
|
552
|
+
|
|
553
|
+
The former aliases of `defineAuthorizedService` were removed after the last
|
|
554
|
+
integration using them migrated; an integration that wants its own error text
|
|
555
|
+
supplies `label`.
|
|
556
|
+
|
|
557
|
+
### Custom steps (`@product-lab/core/steps`, Phase 4)
|
|
558
|
+
|
|
559
|
+
`step(pattern, fn, { timeoutMs })` defines a custom step for what no registered sentence expresses: the pattern uses
|
|
560
|
+
the sentence vocabulary, `fn({ lab }, ...values, table?)` gets the lab context injected (`lab.scenario`,
|
|
561
|
+
`lab.actor(name)`, `lab.outputs`, `lab.attach(evidence)`), never Cucumber's `this`, and the file never imports
|
|
562
|
+
Cucumber. `rows(table, columns | TableSpec)` reads a DataTable strictly (the domain's `TableShape`). `customSteps()`,
|
|
563
|
+
`isCustomStep(text)` and `forwardCustomSteps(register)` read the registry; since L1 `customStepSource` offers them as
|
|
564
|
+
the `CustomStepSource` port (`@product-lab/ports/features`), which the composition root passes to the Cucumber adapter; custom steps are labelled
|
|
565
|
+
custom in the report. A lab without its own Cucumber configuration lists its step files in `defineLab({ steps:
|
|
566
|
+
["steps/*.ts"] })` (the bundled run imports them; `LabCatalog.stepPatterns()`).
|
|
567
|
+
|
|
568
|
+
### Integrations, actions, assertions and step groups
|
|
569
|
+
|
|
570
|
+
```ts
|
|
571
|
+
defineIntegration({
|
|
572
|
+
id: 'notes', // namespace: notes.operator, notes.publishNote
|
|
573
|
+
product: { label: 'notes' },
|
|
574
|
+
requires: { chains: ['people'] },
|
|
575
|
+
dependsOn: [], // integrations whose services this one uses
|
|
576
|
+
services: { … },
|
|
577
|
+
actions: {
|
|
578
|
+
publishNote: defineAction({
|
|
579
|
+
title: 'Publish one note', via: 'chain', inputs: { … }, resources: ['notes.list'],
|
|
580
|
+
sentences: {
|
|
581
|
+
'{actor} publishes a note': {}, // default: the first {actor} acts, other values fill inputs in order
|
|
582
|
+
'these authors publish one note each:': { table: { columns: { author: 'actor', visibility: ['public', 'private'] } }, map: (values, rows) => ({ … }) },
|
|
583
|
+
},
|
|
584
|
+
repeatable: { '{actor} publishes {count} notes in a row': '{actor} publishes a note' },
|
|
585
|
+
outputs: { note: 'integer' }, // later steps may write $Alice.note
|
|
586
|
+
run: ({ services, actor, progress, signal, outputs }, inputs) => …, // one unit of real work
|
|
587
|
+
}),
|
|
588
|
+
},
|
|
589
|
+
assertions: {
|
|
590
|
+
list: defineAssertion({ title, sentence: "{actor}'s list is:", table: { columns: { … }, rows: 'one' }, observe, compare }),
|
|
591
|
+
},
|
|
592
|
+
stepGroups: [defineStepGroup({ sentence: '{actor} has a full list', steps: ['{actor} publishes a note', '{actor} publishes 6 notes in a row'] })],
|
|
593
|
+
aliases: { '{actor} is a new author': '{actor} is a new actor' },
|
|
594
|
+
});
|
|
595
|
+
```
|
|
596
|
+
|
|
597
|
+
Since Phase 4 the registry (`IntegrationRegistry.book`, a domain `SentenceBook`) is what `.feature` steps run:
|
|
598
|
+
|
|
599
|
+
- **Sentences and tables.** An action's `sentences` map words to its inputs: `{}` (or a string array) uses the default
|
|
600
|
+
mapping, a function receives every value, `{ table, map, inputs }` declares the DataTable a sentence ending in ":"
|
|
601
|
+
takes (a domain `TableSpec`) and maps its rows. An assertion declares `sentence` and, when it ends in ":", `table`;
|
|
602
|
+
`observe(context, args)` gets the values by kind (`actor`, `string`, … then `actor2`, …) and `compare(observed,
|
|
603
|
+
expected)` gets the table's rows (the row, for `rows: "one"`) or those values. Unknown mapping keys, a table without
|
|
604
|
+
`map` and more values than inputs are registry errors. `text` joins the input kinds (`{ type: "text", label,
|
|
605
|
+
default?, maxLength? }`).
|
|
606
|
+
- **Composition is data.** `repeatable` plurals expand to their singular `count` times; `defineStepGroup` takes only
|
|
607
|
+
sentence strings (`{actor}`, `{string}`, … is the group's first parameter of that kind, `{1}`, `{2}`, … by position);
|
|
608
|
+
a function is refused by `defineStepGroup`, the registry and `product-lab lint`. `aliases` are step groups of one.
|
|
609
|
+
Since Phase 4 increment 2 a step group ending in ":" may take a table (`table`) and expand each row
|
|
610
|
+
(`eachRow: { by, sentences, then?, columns? }`): the sentences its `by` cell names (`<column>` is the row's cell),
|
|
611
|
+
then `then`, one registered sentence that takes a table, with the row's other columns as a one-row table (a
|
|
612
|
+
timeline: each row runs its action, then is its checkpoint). Still data only.
|
|
613
|
+
- **The lab's own readers** (backlog 91, 4 October 2026). `AssertionContext.readers` (`ChainReaders` from
|
|
614
|
+
`@product-lab/ports/chain`, given by the composition root through `CompileOptions.chains`) reads what an app stored,
|
|
615
|
+
independent of the app and its host: `readers.statements(chain).statements({ topics, timeoutMs })` (statements
|
|
616
|
+
decoded, each proof's signer and signature checked) and `readers.bulletin().bytes(cid)` (every block checked against
|
|
617
|
+
its content id). Since the config redesign (7 October 2026) an action gets the same `ActionContext.readers`, to read
|
|
618
|
+
back its own effect; an action that acts as no actor gets them too.
|
|
619
|
+
- **A checked statement read** (config redesign, 6 October 2026, `src/orchestration/chain/statement-reader.ts` in
|
|
620
|
+
`@product-lab/application`). `statementReader({ topics, decode, content: "bulletin" }).read(context)` in a check reads
|
|
621
|
+
the person's statements by the product's topics (names hashed with `statementTopic`, or 32 bytes, built from the
|
|
622
|
+
product id and the person's public key) and returns the decoded entries, newest first. It keeps a statement only
|
|
623
|
+
when its proof verifies and its signer is the person's statement account for the product
|
|
624
|
+
(`//allowance//statement-store//<product id>`), and with `content: "bulletin"` only when no content id it names holds
|
|
625
|
+
bytes on Bulletin that do not match it (a raw blake2b-256 CID is hashed again, any other is checked block by block by
|
|
626
|
+
the reader); a content id Bulletin does not return is named on the entry (`unreadable`), since it forges nothing.
|
|
627
|
+
Everything else comes back in `refused` with why (and its expiry and proof result); data that is not an entry is
|
|
628
|
+
counted in `ignored`. The
|
|
629
|
+
lab derives the statement account itself from the identity it started the host with: `AssertionContext.resourceAccounts()`
|
|
630
|
+
(`HostSession.resourceAccounts` through `ProductAccountDerivation`), or `read(context, { signer })` when the caller
|
|
631
|
+
derives it. An action reads the same way (`ActionContext.resourceAccounts()`, 7 October 2026), and both take a scenario
|
|
632
|
+
actor's name (`resourceAccounts("Bea")`) for another person's accounts: the name resolves as a step's actor does, so
|
|
633
|
+
one the scenario does not bind is refused by name, and outside a feature scenario any name is refused. A call that
|
|
634
|
+
acts as no actor gets no `resourceAccounts`. `core/application/tests/statement-reader.test.ts`,
|
|
635
|
+
`core/application/tests/call-resource-accounts.test.ts`, `core/domain/tests/content-check.test.ts`.
|
|
636
|
+
- **Assertion rows as a hint.** `AssertionContext.rows` (Phase 4 increment 2) gives `observe` the step's table rows,
|
|
637
|
+
only to choose what to wait for or read (a reader waits for the expected row); `compare` still
|
|
638
|
+
receives them as the expected value.
|
|
639
|
+
- **Generic sentences** (`GENERIC_SENTENCES`, owners `lab.*`): `{actor} is a new actor`, `{actor} is a new actor on the
|
|
640
|
+
{string} host` (backlog 28: a `hosts` id; `these actors exist:` takes the same choice in its optional `host` column), `these actors exist:`,
|
|
641
|
+
`{actor}'s host requested navigation to:`, `{actor}'s active application should be:`,
|
|
642
|
+
`{actor}'s app sent nothing outside its host` (refuses direct traffic, unexplained transactions or missing coverage),
|
|
643
|
+
`{actor}'s app asked its host at most:` (backlog 41, columns `request` and `times`: what the actor's apps asked their
|
|
644
|
+
hosts for, as each host words it, against `HostRequestLimits`; a request the table does not name fails, and a host
|
|
645
|
+
without a record refuses the scenario before it runs), deny-by-default networking (7 October 2026, from Notes):
|
|
646
|
+
`{actor}'s app requests {string}` (the app's own document requests it, through `HostSession.network.request`; `<app>`
|
|
647
|
+
is the app's origin), `{actor}'s host blocked and recorded {string}` (fails `not-blocked`) and `{actor}'s host reached
|
|
648
|
+
only declared endpoints` (by the host's policy log, or where its sockets are observed by `observedEndpoints`; fails
|
|
649
|
+
`undeclared-endpoint` or `observation-incomplete`; a host that does not report its network fails `unsupported-here`), `{actor} opens {app} at
|
|
650
|
+
{route}` (through the environment's `openApp`, which compileLab passes through from the session, as it passes
|
|
651
|
+
the session's `frames`, the frame capture run recordings use: `tests/recording-frames.test.ts`), and since
|
|
652
|
+
Phase 5 `these steps run together:` (`TOGETHER_SENTENCE`, kind `together`: one text column of step texts, each one
|
|
653
|
+
action or assertion; the builder's "Run together" group; since backlog 113 also a doc string, each line a part and
|
|
654
|
+
the `|` lines under it that part's table, a part may be a composed step whose calls run in order as one lane, its new
|
|
655
|
+
actors created ahead of the group) and its inline form `{steps} at the same time`
|
|
656
|
+
(`AT_THE_SAME_TIME_SENTENCE`: `Ada sends the message "Hi" and Grace sends the message "Yo" at the same time`,
|
|
657
|
+
split at the "and"s outside quoted text into registered sentences, one reading only). The application runs them.
|
|
658
|
+
- **Outputs.** `outputs` declares the fields of `run()`'s result later steps may reference (`$Ada.note`) and
|
|
659
|
+
`context.outputs` reads (`latest(name, actor?)`, `values(name)`).
|
|
660
|
+
- **A started lab's sentences.** compileLab gives every started environment `sentences` (`IntegrationSentences`, the
|
|
661
|
+
`LabSentences` port): `inputs(call, args)`, `act` and `check`, `openScenario(context)` for feature-wide service ownership, and `unavailable(owner)`
|
|
662
|
+
(integration failed or unavailable, or the block's own `requires` unmet), and since Phase 5 `parameterInputs(pattern)`
|
|
663
|
+
(the action input each parameter of a default mapping fills; undefined for a function or table map), from which the
|
|
664
|
+
builder generates its fields. The application's feature session plans and runs steps over it (`core/application`,
|
|
665
|
+
`RunFeatureSteps`).
|
|
666
|
+
|
|
667
|
+
- **Optional UI (Phase 5 (d), design section 16).** `ui` declares browser modules as `file:` URLs
|
|
668
|
+
(`new URL("./ui/board.ts", import.meta.url)`) or paths relative to the lab: `inputRenderers` by `<action>.<input>`,
|
|
669
|
+
`resultRenderers` by `<action>`, `panels` (`{ id, title, module }`). `resources` publishes read-only data with
|
|
670
|
+
`defineResource({ title?, read({ services, actor?, chains? }) })` under `<integration>.<name>` (`chains`, since 7 October
|
|
671
|
+
2026: the same opened connection per chain that steps get, `ResourceContext`). The registry refuses a
|
|
672
|
+
renderer naming no action or input, a panel without a lower-case id, title or module, and a resource without
|
|
673
|
+
`read`. `DeclaredLabCatalog.uiModules()` resolves the files (`LabCatalog.uiModules`), the registry view lists
|
|
674
|
+
`resources` and `ui` keys, and a started environment's `resources.read(id, { actor })` reads one through a scenario
|
|
675
|
+
scope of its own (`resource:<id>`), disposed after the read. The panel serves a module only when its client bundle
|
|
676
|
+
imports nothing but files of its folder (`entrypoints/panel`). An integration without `ui` keeps the generated forms.
|
|
677
|
+
A resource may also declare `watch(context, notify)` (Phase 5 rest): `notify()` may be called any number of times;
|
|
678
|
+
`resources.watch(id, notify, { actor? })` opens the same kind of scope as `read` but keeps it open until the
|
|
679
|
+
returned stop function runs, and resolves to `undefined` when the resource declares no `watch` (`core/application/src/orchestration/lab/start-lab-environment.ts`).
|
|
680
|
+
The panel serves this over server-sent events instead of polling (`entrypoints/panel/README.md`).
|
|
681
|
+
|
|
682
|
+
- **Scenario conditions (28 September 2026).** `scenarioConditions({ services, chains?, signal })` returns
|
|
683
|
+
`TagCondition[]` (`{ tag: "@name", fits, reason }`, both types exported here): which scenario tags fit the running
|
|
684
|
+
environment, for example a tag naming a chain configuration the running chain may not have. A started environment
|
|
685
|
+
offers `scenarioConditions()` (the `LabEnvironment` port) when an integration declares one: each integration whose
|
|
686
|
+
environment services started is asked in a scope of its own (`conditions:<id>`, disposed after), the result is
|
|
687
|
+
validated (`validateTagConditions`: a tag with `@`, `fits` true or false, a reason) and merged per tag
|
|
688
|
+
(`mergeTagConditions`: a tag fits only when every integration naming it says so); an integration that throws makes
|
|
689
|
+
the whole reading fail, which leaves the conditions unknown. A tag nobody names fits. The runtime reads them once per
|
|
690
|
+
environment session and never while nothing runs (`ReadScenarioConditions`, `core/application`): the feature
|
|
691
|
+
listing's inspection marks a scenario with a tag that does not fit (`notFor`, "not for this chain"), an in-process
|
|
692
|
+
run or a builder run of only such scenarios is refused before anything starts ("Not for this chain: <reason>
|
|
693
|
+
(@tag)"), and a Cucumber run skips them before planning with one line per tag. `defineIntegration` and the registry
|
|
694
|
+
refuse a `scenarioConditions` that is not a function. One of this repository's examples has a worked example.
|
|
695
|
+
Since 7 October 2026 the hook also reads `placed` (whether a lab window placed the environment's people in its tiles,
|
|
696
|
+
backlog 108: a host whose page runs in a tile may lock or be observed otherwise there) and `hosts` (the session's
|
|
697
|
+
hosts, `LabEnvironment.hosts()`: kind, default, options' values), under any session; the runtime reads the conditions
|
|
698
|
+
again when the window places or releases the people (`tests/scenario-condition-context.test.ts`). Backlog 247
|
|
699
|
+
(9 October 2026): it may also ask a declared host to probe a capability instead of assuming it from the host's kind
|
|
700
|
+
(`probeHost(hostId, { capability: "bulletin-read", content | unprobed, timeoutMs })`, the session's
|
|
701
|
+
`LabEnvironment.probeHost` over `HostProvider.probe`); the host's `limits` then follow the answer. Notes' `@feed`
|
|
702
|
+
condition is the worked example (`examples/notes/lab/feed-probe.ts`).
|
|
703
|
+
|
|
704
|
+
- **Where a scenario runs (backlog 163-165, 6 October 2026).** Any lab's scenarios may
|
|
705
|
+
say where they run with three tags: `@environment:<id>` (only on that declared environment; several such tags mean
|
|
706
|
+
any of them; `product-lab lint` refuses an id the lab does not declare), `@live-network` (only on a live network: an
|
|
707
|
+
environment whose offer is `public`) and `@root-calls` (only where `defineLab({ rootCalls })` declares root calls).
|
|
708
|
+
An action that dispatches root calls declares it, `defineAction({ rootCalls: true })` (the registry's action view
|
|
709
|
+
says `rootCalls: true`), and a scenario using it needs such an environment with no tag. The rules are the domain's
|
|
710
|
+
(`scenarioNeeds`, `environmentMismatches`, `fittingEnvironments`, `excludingUnfitEnvironments`); the catalog says
|
|
711
|
+
each environment's facts (`LabCatalog.scenarioEnvironments()`: live, root calls declared), the feature listing's
|
|
712
|
+
inspection names every declared environment a scenario fits, running or not (`runsOn`: `environments`, `live`,
|
|
713
|
+
`here` and the `reason`), and `RunFeatures` leaves the unfit scenarios out of a run and refuses one none of whose
|
|
714
|
+
scenarios fits, naming where they run (in-process: "It runs on paseo-copy: switch to it first"; `product-lab test`:
|
|
715
|
+
"run it with --environment paseo-copy"). A run never switches; the lab window warns and switches as the run's first
|
|
716
|
+
step (entrypoints/panel/README.md).
|
|
717
|
+
- **Value tones (29 September 2026).** `valueTones: { approved: "success", rejected: "danger" }` on an integration says
|
|
718
|
+
how the panel colours a table cell holding one of its values (step data tables and Examples tables, in the library,
|
|
719
|
+
the builder and runs). Tones are `success`, `warning`, `danger` and `neutral`; values match any case, surrounding
|
|
720
|
+
spaces ignored. The panel's own defaults are product-neutral words only (yes, true, passed, ok, included: success;
|
|
721
|
+
no, false, failed, blocked: danger; none, n/a, -, empty: neutral); a declared value overrides a default, and a word
|
|
722
|
+
nobody declares gets no tone. `defineIntegration` refuses an unknown tone or one value given two tones; the
|
|
723
|
+
integration registry merges every integration's declaration and refuses a value two integrations tone differently
|
|
724
|
+
(`ValueTones`, `@product-lab/domain`); the lab registry carries the merged map (`LabRegistry.valueTones`, absent when
|
|
725
|
+
empty). The application holds no validation library, so this is checked the way the rest of an integration is
|
|
726
|
+
(`defineIntegration` and `IntegrationRegistry.errors`), not with zod.
|
|
727
|
+
|
|
728
|
+
- **Checking the UI against the chain: three modes (30 September 2026, backlog 61).** `checkUiAgainstChain(context,
|
|
729
|
+
check)` compares what a screen claims with chain state in the mode that fits how the app renders, so an app needs
|
|
730
|
+
test ids at most.
|
|
731
|
+
An assertion passes its own context and:
|
|
732
|
+
|
|
733
|
+
```ts
|
|
734
|
+
const agreement = await checkUiAgainstChain(context, {
|
|
735
|
+
mode: "optimistic", // or "pinned", or "eventual"
|
|
736
|
+
what: `${context.actor.name}'s seat`, // for messages and the record
|
|
737
|
+
subject: context.actor.account, // a render for another account never counts
|
|
738
|
+
chain: "people", // one of context.chains (default: the first), or a connection you own
|
|
739
|
+
readUi: async () => ({ claim: { joined: (await ui.read(ui.app.getByTestId("seat-status"))) === "You're in" } }),
|
|
740
|
+
readChain: async (at) => ({ joined: (await chain.access.storage("Seats", "Holders", [account], at.hash)) !== undefined }),
|
|
741
|
+
until: (claim) => claim.joined, // the claim the scenario waits for
|
|
742
|
+
});
|
|
743
|
+
```
|
|
744
|
+
|
|
745
|
+
`readUi` returns the claim read in one capture of one render, and optionally `block` (`{ number, hash }`, either or
|
|
746
|
+
both: the block the screen says it rendered from) and `subject` (whose state it shows); a reader that throws is one
|
|
747
|
+
unreadable round. `readChain(at)` is the chain's side at one definite block (`at.head` is `finalized`, `best` or
|
|
748
|
+
`block`; read state at `at.hash`), read independently of the app; rejecting with the domain's `BlockUnavailableError`
|
|
749
|
+
skips the round, any other failure fails the check naming the block. `same` compares two claims (default `sameClaim`,
|
|
750
|
+
structural equality; `sameFields("joined")` compares chosen fields). Options: `withinMs` (the bound, default 60 000),
|
|
751
|
+
`stableMs` (how long agreement must hold, default 2000; 0 in pinned mode), `pollMs` (250), and in pinned mode
|
|
752
|
+
`blockWithinMs` (10 000: how long the screen may show no block before the check is refused).
|
|
753
|
+
|
|
754
|
+
- `pinned`: `readUi` must answer for `block` (`undefined` when the render shows none). The chain is read at exactly
|
|
755
|
+
that block; a different claim fails at once; an equal one passes once the block is final (or, in an assertion
|
|
756
|
+
declared `reads: "best"`, on the chain the node follows, recorded as not final). A screen that shows no block is
|
|
757
|
+
refused with a message naming the other two modes.
|
|
758
|
+
- `eventual`: the claim must equal finalized state within the bound and stay equal for the stability period.
|
|
759
|
+
- `optimistic`: also takes `pending` (the actor's transactions that are not final yet; default
|
|
760
|
+
`context.unsettled`, what the lab knows from step reports and the account watch). The claim is backed while
|
|
761
|
+
best-block state holds it or a pending transaction is known; it must equal finalized state within the bound. It
|
|
762
|
+
fails when nothing backs it, when it was backed and the chain finalized without it, or at the bound.
|
|
763
|
+
|
|
764
|
+
It resolves with the record `UiChainAgreement` (`mode`, `proves`, `reached`, the screen and chain readings with
|
|
765
|
+
their blocks, `agreedAt`, `timing`, `readings`, `lost`, `backing`, `pendingSource`, `timeline`) and rejects with
|
|
766
|
+
`UiChainDisagreementError` (`reason`: `refused`, `mismatch`, `unbacked`, `rolled-back`, `not-final`, `unstable` or
|
|
767
|
+
`timeout`; `agreement`: the record; the message names the last screen reading and the last chain reading). Either
|
|
768
|
+
way the record is attached to the step (`attached.uiChainAgreements`), the step's trace lists the check in short
|
|
769
|
+
(`FeatureCallTrace.agreements`) and its chain waits list it with the head the verdict rests on (finalized in every
|
|
770
|
+
mode, except a pinned check declared to read the best block). `AssertionContext` gained `unsettled()` and
|
|
771
|
+
`attach(evidence)` for it. `examples/notes` checks one note in all three modes
|
|
772
|
+
(`lab/steps/notes.ts`, `lab/features/modes.feature`).
|
|
773
|
+
- Each side's reading (backlog 110): `AssertionContext.reading(reading)` records what one side of a check read, a
|
|
774
|
+
person's screen or a chain or store the lab reads itself (`SideReading` from `@product-lab/domain/checks`: `side`,
|
|
775
|
+
`place`, `expected`, `found`, `ok`, `how`), kept on the step as one list (`attached.readings`) whether the check
|
|
776
|
+
passes or fails, so a failure says which side disagreed. A side the check did not read has none
|
|
777
|
+
(`tests/side-readings.test.ts`).
|
|
778
|
+
|
|
779
|
+
Every available action is also offered in the panel as a one-step scenario, run with a scenario-scoped service view.
|
|
780
|
+
Actions requiring a capability the environment lacks (for example a root shortcut needing `devAuthority`) are listed
|
|
781
|
+
in the registry as unavailable and not offered.
|
|
782
|
+
|
|
783
|
+
A step set may also declare panel scenarios of its own (`defineSteps({ scenarios })`, `IntegrationScenario`; 7 October
|
|
784
|
+
2026) for what one action is not: a choice of inputs, several steps, several actors (`actors: ["Ada", "Grace"]`,
|
|
785
|
+
bound when a run starts; a step names the identity it acts as with `actor`). They are listed by their own ids (lower
|
|
786
|
+
case, no dot, so never an action's `<integration>.<action>`; one id per lab) under any session, the lab's default
|
|
787
|
+
session included. Each step's `run` gets what an action gets in a feature step (`IntegrationScenarioStepContext`: its
|
|
788
|
+
services, chains, the lab's readers, `reading` and `write`, `resourceAccounts()` for the step's person and
|
|
789
|
+
`resourceAccounts("Grace")` for another bound one, refused by name when the scenario binds none, `scenario.actor(role)`),
|
|
790
|
+
plus the run's `inputs` and `attach`; the one-step scenario of an action gets the same
|
|
791
|
+
(`orchestration/integrations/integration-scenarios.ts`, `tests/integration-scenarios.test.ts`).
|
|
792
|
+
|
|
793
|
+
## Moving a hardcoded signer onto an authorized service
|
|
794
|
+
|
|
795
|
+
An integration that derives its privileged signer itself (a development
|
|
796
|
+
account, a key file) works only where that account holds the authority. Move
|
|
797
|
+
the signer into a `defineAuthorizedService` operator: the lab resolves it from
|
|
798
|
+
a named secret per environment, verifies it before any scenario runs, and
|
|
799
|
+
hands it to the services that need it. Before, a counter integration's
|
|
800
|
+
repository derives `//Alice` and checks the chain's `Sudo.Key` mid-scenario:
|
|
801
|
+
|
|
802
|
+
```ts
|
|
803
|
+
// integration/counter/counter.repository.ts
|
|
804
|
+
export class CounterRepository {
|
|
805
|
+
private readonly authority = localAuthority(); // hardcoded //Alice
|
|
806
|
+
constructor(private readonly chain: ChainConnection, private readonly transactions: TransactionExecutor) {}
|
|
807
|
+
async prepare() {
|
|
808
|
+
const key = await this.chain.api.query.Sudo.Key.getValue();
|
|
809
|
+
if (!key || !addressesEqual(key, this.authority.address))
|
|
810
|
+
throw new Error("Counter control requires the fork's Alice authority");
|
|
811
|
+
}
|
|
812
|
+
// increment(), reset(), … sign with this.authority.signer
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
// the scenario constructs it
|
|
816
|
+
const repository = new CounterRepository(chain, transactions);
|
|
817
|
+
await repository.prepare();
|
|
818
|
+
```
|
|
819
|
+
|
|
820
|
+
After, the repository receives the verified signer, and the integration
|
|
821
|
+
declares the chain connection, the operator and a scenario-lifetime
|
|
822
|
+
repository:
|
|
823
|
+
|
|
824
|
+
```ts
|
|
825
|
+
// integration/counter/counter.repository.ts
|
|
826
|
+
export class CounterRepository {
|
|
827
|
+
constructor(
|
|
828
|
+
private readonly chain: ChainConnection<PeopleApi>,
|
|
829
|
+
private readonly transactions: TransactionExecutor,
|
|
830
|
+
private readonly authority: { readonly address: string; readonly signer: KeySigner }, // injected
|
|
831
|
+
) {}
|
|
832
|
+
async prepare() {
|
|
833
|
+
// The Sudo.Key comparison moved to verifyAuthority.
|
|
834
|
+
}
|
|
835
|
+
// increment(), reset(), … unchanged
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
// integration/counter/index.ts
|
|
839
|
+
import { defineAction, defineAuthorizedService, defineIntegration, defineService } from '@product-lab/core';
|
|
840
|
+
import { ChainConnection, ScenarioJournal, TransactionExecutor } from '@product-lab/core/chain';
|
|
841
|
+
import { PapiChainAccess, PapiTransactionSubmitter } from '@product-lab/chain-papi';
|
|
842
|
+
import { FileEvidenceJournal } from '@product-lab/storage-filesystem';
|
|
843
|
+
import { SystemClock } from '@product-lab/system-node';
|
|
844
|
+
import { PEOPLE_SIGNING } from '../chain/people.ts';
|
|
845
|
+
import { SudoDispatchValidator, verifySudoKey } from '../chain/sudo.ts'; // the integration's own Sudo conventions
|
|
846
|
+
|
|
847
|
+
export const counter = defineIntegration({
|
|
848
|
+
id: 'counter',
|
|
849
|
+
product: { label: 'shop' },
|
|
850
|
+
requires: { chains: ['people'] },
|
|
851
|
+
services: {
|
|
852
|
+
people: defineService({
|
|
853
|
+
lifetime: 'environment',
|
|
854
|
+
// The context signal aborts on reset/close, which closes the connection.
|
|
855
|
+
init: ({ environment, signal }) =>
|
|
856
|
+
new ChainConnection(PapiChainAccess.connect(environment.endpoints!.people!, { api: (client) => client.getTypedApi(people) }), signal, { clock: new SystemClock() }),
|
|
857
|
+
dispose: (chain) => chain.close(),
|
|
858
|
+
}),
|
|
859
|
+
operator: defineAuthorizedService({
|
|
860
|
+
secret: 'counter-operator',
|
|
861
|
+
dependsOn: ['people'],
|
|
862
|
+
create: ({ services, signer }) => ({ chain: services.get<ChainConnection<PeopleApi>>('people'), signer }),
|
|
863
|
+
verifyAuthority: ({ chain, signer }) => verifySudoKey(chain.api, signer.address, { label: 'People Sudo.Key' }),
|
|
864
|
+
}),
|
|
865
|
+
repository: defineService({
|
|
866
|
+
lifetime: 'scenario', // one transaction journal per run
|
|
867
|
+
dependsOn: ['people', 'operator'],
|
|
868
|
+
async init({ services, scenario }) {
|
|
869
|
+
const chain = services.get<ChainConnection<PeopleApi>>('people');
|
|
870
|
+
const { signer } = services.get<{ signer: SecretSigner }>('operator');
|
|
871
|
+
const transactions = new TransactionExecutor(
|
|
872
|
+
new PapiTransactionSubmitter(chain.access, { signing: PEOPLE_SIGNING }),
|
|
873
|
+
new ScenarioJournal(new FileEvidenceJournal(`runs/${scenario!.id}`).open(), console.log, { clock: new SystemClock() }),
|
|
874
|
+
{ signal: chain.signal, chain: 'people', clock: new SystemClock(), mode: 'checkpoint', validator: new SudoDispatchValidator() },
|
|
875
|
+
);
|
|
876
|
+
const repository = new CounterRepository(chain, transactions, signer);
|
|
877
|
+
await repository.prepare();
|
|
878
|
+
return repository;
|
|
879
|
+
},
|
|
880
|
+
}),
|
|
881
|
+
},
|
|
882
|
+
actions: { increment: defineAction({ title: 'Increment the counter', via: 'chain', resources: ['counter.slot'], run: … }) },
|
|
883
|
+
});
|
|
884
|
+
|
|
885
|
+
// lab.config.ts
|
|
886
|
+
export default defineLab({
|
|
887
|
+
name: 'Counter',
|
|
888
|
+
port: 5202,
|
|
889
|
+
navigation: { mode: 'hash', routes: [/* … */] },
|
|
890
|
+
environments: { local: localEnvironment /* or a resolved topology, started by a registered environment factory */ },
|
|
891
|
+
apps: { counter: { integration: counter } },
|
|
892
|
+
secrets: { 'counter-operator': { local: devAccount('//Alice'), remote: fromEnv('COUNTER_OPERATOR_SEED') } },
|
|
893
|
+
keys: new Sr25519KeyDerivation(), // from @product-lab/keys-sr25519
|
|
894
|
+
features: ['./integration/**/*.feature'],
|
|
895
|
+
sessions: ({ signal, services }) => startCounterSessions(signal, { services }),
|
|
896
|
+
});
|
|
897
|
+
```
|
|
898
|
+
|
|
899
|
+
What changes: the hardcoded derivation and the `Sudo.Key` comparison leave the
|
|
900
|
+
repository; its constructor takes the injected signer; the scenario obtains
|
|
901
|
+
the repository from
|
|
902
|
+
`services.of('counter', services.scenario({ actor })).get('repository')`
|
|
903
|
+
instead of constructing it. Other code that derived the same account moves the
|
|
904
|
+
same way, onto its own operator or onto the same `counter-operator` secret. On
|
|
905
|
+
an environment where `counter-operator` is not the chain's `Sudo.Key`, the
|
|
906
|
+
counter app and its actions are reported unavailable with the authority error
|
|
907
|
+
instead of failing mid-scenario. One of this repository's examples is a real
|
|
908
|
+
consumer of this pattern.
|
|
909
|
+
|
|
910
|
+
Smallest possible move (only imports and configuration change): keep the
|
|
911
|
+
existing session start and declare its environment inline, then move the
|
|
912
|
+
signer separately:
|
|
913
|
+
|
|
914
|
+
```ts
|
|
915
|
+
export default defineLab({
|
|
916
|
+
name: 'Counter', port: 5202, navigation,
|
|
917
|
+
environments: {
|
|
918
|
+
local: defineEnvironment({
|
|
919
|
+
offer: { chains: ['people', 'asset-hub', 'bulletin'], services: ['identity-backend'],
|
|
920
|
+
capabilities: ['dotns', 'bulletin', 'statementStore', 'devAuthority'], local: true },
|
|
921
|
+
start: async () => ({ close: async () => {} }), // startCounterSessions owns the network then
|
|
922
|
+
}),
|
|
923
|
+
},
|
|
924
|
+
apps: { counter: {} },
|
|
925
|
+
sessions: ({ signal }) => startCounterSessions(signal),
|
|
926
|
+
});
|
|
927
|
+
```
|
|
928
|
+
|
|
929
|
+
## Hosts, identities and the navigation bridge (Phase 3 ports)
|
|
930
|
+
|
|
931
|
+
`@product-lab/core/host` and `@product-lab/core/identity` hold the ports the
|
|
932
|
+
core owns for hosts and identity provisioning.
|
|
933
|
+
Since refactor step 7 part b the `HostProvider` and `HostSession` interfaces are
|
|
934
|
+
defined in `@product-lab/ports/host` and re-exported here with the helpers that
|
|
935
|
+
have behaviour; `EnvironmentProvider`, `RunningEnvironment` and
|
|
936
|
+
`TopologyEnvironment` likewise come from `@product-lab/ports/environment`
|
|
937
|
+
(re-exported by `@product-lab/core`).
|
|
938
|
+
The core never imports an adapter; adapters implement these and pass the
|
|
939
|
+
conformance kit (`@product-lab/contract-host`).
|
|
940
|
+
|
|
941
|
+
- `HostProvider` (`resolve`, `prepare`, `createSession`, `importIdentity`,
|
|
942
|
+
`dispose`) with declared `HostCapabilities`; `HostSession` (`page()` as the Browser
|
|
943
|
+
port's `BrowserPage`, `account()`, `approvals`, optional `navigations`,
|
|
944
|
+
`open(path)`, `network`); `VerifiedAccount`, `NavigationRequested` (the
|
|
945
|
+
domain's), `UnsupportedHostOperation` for what a host cannot do.
|
|
946
|
+
- `IdentityProvisioner` and `ProvisionedIdentity` (entropy plus an optional
|
|
947
|
+
lite username; the domain's, validated by its `Identity`): creating an
|
|
948
|
+
identity is separate from the host that signs with it.
|
|
949
|
+
- `HostSessionRegistry`: one session per (actor, app), keyed by the domain's
|
|
950
|
+
`Session` (host, actor, app); a second open focuses the existing session, and
|
|
951
|
+
every session of an actor is created with the same actor (and so the same
|
|
952
|
+
identity).
|
|
953
|
+
- `NavigationBridge`: consumes each session's `navigations`, resolves
|
|
954
|
+
`polkadot://<label>.<namespace>/<path>` against the registered apps
|
|
955
|
+
(`resolveNavigation`, the domain's navigation resolution; `.dot` read inside the namespace), opens that app for
|
|
956
|
+
the same actor through the registry, and records every request with its
|
|
957
|
+
outcome (`opened`, `focused`, `ignored`, `failed`) as evidence.
|
|
958
|
+
- Since phase2-nav the bridge takes `resolve` and `serve` hooks, and
|
|
959
|
+
`LabNavigation` wires them from `nameService: { names, resolver, server,
|
|
960
|
+
deployments }`: in `deployed-local` a destination is what its name resolves
|
|
961
|
+
to on the environment's name service (`ResolveNavigationDestination` from
|
|
962
|
+
`@product-lab/application`, which the composition constructs), content no lab
|
|
963
|
+
app declares is served by the `DestinationServer` (the local gateway,
|
|
964
|
+
`GatewayDestinations` in `@product-lab/deploy-bulletin`) and registered with
|
|
965
|
+
`HostSessionRegistry.register` before it opens for the same actor, and an
|
|
966
|
+
unregistered name, a name pointing at other content than the lab deployed,
|
|
967
|
+
or a failed lookup is recorded and refused. `LabNavigation.directory()` is
|
|
968
|
+
what `withNavigation` exposes as `LabEnvironment.destinations()`, so
|
|
969
|
+
`LabRuntime.resolveDestination` answers from the same apps and name service.
|
|
970
|
+
|
|
971
|
+
```ts
|
|
972
|
+
import { HostSessionRegistry, NavigationBridge } from '@product-lab/core/host';
|
|
973
|
+
|
|
974
|
+
const registry = new HostSessionRegistry({ provider, apps, focus: (opened) => shell.show(opened) });
|
|
975
|
+
// clock is required: SystemClock from @product-lab/system-node, or ManualClock (@product-lab/test-support) in tests
|
|
976
|
+
const bridge = new NavigationBridge({ registry, namespace: 'paseo', clock, record: (e) => evidence.push(e) }).start();
|
|
977
|
+
await registry.open(alice, 'notes'); // a navigateTo in this app now opens its target for Alice
|
|
978
|
+
```
|
|
979
|
+
|
|
980
|
+
## Compatibility
|
|
981
|
+
|
|
982
|
+
Nothing existing breaks:
|
|
983
|
+
|
|
984
|
+
- `defineLab({ name, start, environments?: [...] })` is unchanged and still what `product-lab` runs when `start` is present.
|
|
985
|
+
- `LabEnvironment` and `LabSnapshot` gain an optional `registry`; existing providers need no change.
|
|
986
|
+
- `defineLab` moved from `definitions.ts` to `lab/define.ts`; it is still exported from `@product-lab/core`.
|
|
987
|
+
|
|
988
|
+
Behaviour changes in the CLI: `product-lab` takes an optional first
|
|
989
|
+
positional command (`dev`, the default, or `check` in Phase 1; `test`, `lint`,
|
|
990
|
+
`versions`, `env`, `host`, `ai` and `mcp` came later, see `product-lab --help`);
|
|
991
|
+
an unknown positional exits with status 2 instead of being ignored.
|
|
992
|
+
|
|
993
|
+
Names that differ from the earlier design sketch (docs/design.md, section 5):
|
|
994
|
+
`defineService({ init, dependsOn })` rather than `start`/`deps`, and
|
|
995
|
+
per-environment secret keys `local`/`remote`/`default` (plus environment ids)
|
|
996
|
+
rather than `owned`/`public`. The sketch's `input.*` helpers and `available()` predicates remain proposed. Generated step
|
|
997
|
+
definitions are implemented through the sentence registry and the Cucumber entry point.
|
|
998
|
+
|
|
999
|
+
## Locked setup artifacts
|
|
1000
|
+
|
|
1001
|
+
The lab catalog exposes `fromLock` for each topology. `compileLab` carries startup progress and the run’s version resolution into environments. Host acquisition flag metadata remains behind `HostRegistry`; entrypoints never import adapters.
|
|
1002
|
+
|
|
1003
|
+
## Observed suite versions
|
|
1004
|
+
|
|
1005
|
+
An optional observation callback records each resolved host (including when preparation subsequently fails) and each chain runtime after environment start. Observation failures do not fail the host or chain; missing evidence remains missing in compatibility reports. `HostRegistry` preserves adapter method receivers while observing resolution. Test with `bunx nx run core:test`.
|
|
1006
|
+
|
|
1007
|
+
`resolveEnvironment` includes optional adapter `problems(topology)` results alongside topology errors and missing-factory problems, so the registry and environment switch plans report missing local prerequisites before start.
|
|
1008
|
+
|
|
1009
|
+
Registry action and assertion views include normalized, deduplicated action/assertion-only `requires` lists. Integration/dependency requirements and availability remain on integration views; reading this metadata does not initialize services.
|
|
1010
|
+
|
|
1011
|
+
The host facade re-exports `HostSessionRegistry.all()` and the `withNavigation` session inventory: custom contexts and navigation-created destinations are available through `LabEnvironment.hostSessions()`. Registry enumeration waits for in-flight creation and reports creation failures.
|
|
1012
|
+
|