@threenative/playtest 0.3.17 → 0.3.19

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.
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { PNG } from 'pngjs';
3
- import { existsSync, realpathSync, readFileSync, createWriteStream, readdirSync, constants as constants$1, rmSync } from 'fs';
3
+ import { existsSync, realpathSync, readFileSync, createWriteStream, readdirSync, statSync, constants as constants$1, rmSync } from 'fs';
4
4
  import { execFile, spawnSync, spawn, execFileSync } from 'child_process';
5
5
  import path, { resolve, dirname, join, basename, extname, isAbsolute, relative } from 'path';
6
6
  import { readFile, access, mkdir, writeFile, stat, mkdtemp, readdir, rm, unlink, rename, open, rmdir, copyFile } from 'fs/promises';
@@ -2782,8 +2782,8 @@ function foreignGpuProcesses(ownPid = process.pid, procRoot = "/proc", platform
2782
2782
  }
2783
2783
  };
2784
2784
  const parentOf = (pid) => {
2785
- const stat4 = read2(String(pid), "stat");
2786
- const ppid = stat4 === void 0 ? void 0 : Number(stat4.slice(stat4.lastIndexOf(")") + 2).split(" ")[1]);
2785
+ const stat5 = read2(String(pid), "stat");
2786
+ const ppid = stat5 === void 0 ? void 0 : Number(stat5.slice(stat5.lastIndexOf(")") + 2).split(" ")[1]);
2787
2787
  return ppid === void 0 || !Number.isSafeInteger(ppid) ? void 0 : ppid;
2788
2788
  };
2789
2789
  const ours = (pid) => {
@@ -13518,10 +13518,10 @@ function parseSchedstatCpuNs(raw) {
13518
13518
  }
13519
13519
  async function readThread(owner, procRoot) {
13520
13520
  const path2 = join(procRoot, `${owner.pid}/task/${owner.tid}`);
13521
- const stat4 = procStat(await readFile(join(path2, "stat"), "utf8"), owner.tid);
13521
+ const stat5 = procStat(await readFile(join(path2, "stat"), "utf8"), owner.tid);
13522
13522
  if (owner.tid !== owner.pid) fail("main TID must equal process PID");
13523
13523
  const cpuNs = parseSchedstatCpuNs(await readFile(join(path2, "schedstat"), "utf8"));
13524
- return { starttime: stat4.starttime, cpuNs };
13524
+ return { starttime: stat5.starttime, cpuNs };
13525
13525
  }
13526
13526
  async function hostState(procRoot, sysRoot) {
13527
13527
  const load = (await readFile(join(procRoot, "loadavg"), "utf8")).trim().split(/\s+/u).slice(0, 3).map(Number);
@@ -20420,6 +20420,7 @@ function desktopConsoleType(stream, line) {
20420
20420
  return "warning";
20421
20421
  }
20422
20422
  if (/^ALSA lib\b|^\[Audio\] Failed to open audio device: ALSA:|^Gtk-Message:/u.test(text)) return "log";
20423
+ if (/^TN_PROCESS_PRIORITY_RAISE_REFUSED:/u.test(text)) return "log";
20423
20424
  return stream === "stderr" ? "error" : "log";
20424
20425
  }
20425
20426
  function terminateProcess(child, signal) {
@@ -20498,6 +20499,49 @@ async function requestFileState(path2) {
20498
20499
 
20499
20500
  // src/runner/desktopRunner.ts
20500
20501
  init_shared();
20502
+ async function resolveDesktopLaunch(candidate) {
20503
+ let isDirectory = false;
20504
+ try {
20505
+ isDirectory = (await stat(candidate)).isDirectory();
20506
+ } catch {
20507
+ return { executable: candidate };
20508
+ }
20509
+ if (!isDirectory) return { executable: candidate };
20510
+ const name = basename(candidate);
20511
+ const rawPlayerPath = join(candidate, "tn-native-engine-player-v8.exe");
20512
+ const candidates = process.platform === "win32" ? (
20513
+ // Compared case-insensitively: on that filesystem a game named like the player IS the
20514
+ // player's path, and the canonical spelling must be the one that survives, because the
20515
+ // bundle argument is keyed on it.
20516
+ [
20517
+ ...[`${candidate}.exe`, join(candidate, `${name}.exe`)].filter(
20518
+ (launcher) => launcher.toLowerCase() !== rawPlayerPath.toLowerCase()
20519
+ ),
20520
+ rawPlayerPath
20521
+ ]
20522
+ ) : (
20523
+ // Only the launcher this build wrote: a `.exe` beside it is the other platform's
20524
+ // artifact, and a name that itself ends in `.exe` is still the POSIX script.
20525
+ [join(candidate, name)]
20526
+ );
20527
+ const rawPlayer = process.platform === "win32" ? rawPlayerPath : void 0;
20528
+ const builtAt = (launcher) => {
20529
+ const bundle = join(candidate, "game.js");
20530
+ if (launcher === rawPlayer && existsSync(bundle)) {
20531
+ return statSync(bundle, { throwIfNoEntry: false })?.mtimeMs ?? -1;
20532
+ }
20533
+ return statSync(launcher, { throwIfNoEntry: false })?.mtimeMs ?? -1;
20534
+ };
20535
+ const present2 = candidates.filter((launcher) => existsSync(launcher)).map((launcher) => ({ launcher, mtimeMs: builtAt(launcher) })).sort((left, right) => right.mtimeMs - left.mtimeMs);
20536
+ if (present2[0] !== void 0) {
20537
+ const bundle = join(candidate, "game.js");
20538
+ const args = present2[0].launcher === rawPlayer && existsSync(bundle) ? [bundle] : void 0;
20539
+ return args === void 0 ? { executable: present2[0].launcher } : { args, executable: present2[0].launcher };
20540
+ }
20541
+ throw new Error(
20542
+ `TN_PLAYTEST_EXECUTABLE_MISSING: ${candidate} is a directory with no ${name} launcher in it; build the game's desktop target again.`
20543
+ );
20544
+ }
20501
20545
  function desktopHostArgs(config) {
20502
20546
  const args = config.desktop?.hostArgs ?? [];
20503
20547
  return config.cpuProfilePath === void 0 ? args : [...args, `--cpu-prof=${config.cpuProfilePath}`];
@@ -20507,10 +20551,12 @@ async function runDesktopPlaytest(config, dependencies = {}) {
20507
20551
  throw new Error("TN_PLAYTEST_CLOCK: a counted run must not inherit a wall clock; unset TN_PLAYTEST_CLOCK or pass --live-clock.");
20508
20552
  }
20509
20553
  if (process.env.TN_PLAYTEST_COMPLETION_WINDOW_LABEL !== void 0) completionWindowEnvironment("desktop", config.headless);
20510
- const executable = config.desktop?.executable;
20511
- if (executable === void 0) {
20554
+ const declaredExecutable = config.desktop?.executable;
20555
+ if (declaredExecutable === void 0) {
20512
20556
  throw new Error("Desktop playtest requires --executable <native-game-executable>.");
20513
20557
  }
20558
+ const launch = dependencies.driver === void 0 ? await resolveDesktopLaunch(declaredExecutable) : { executable: declaredExecutable };
20559
+ const executable = launch.executable;
20514
20560
  const abortController = new AbortController();
20515
20561
  const handleSignal = () => {
20516
20562
  abortController.abort();
@@ -20555,7 +20601,7 @@ async function runDesktopPlaytest(config, dependencies = {}) {
20555
20601
  if (dependencies.driver === void 0) providedDisplay = await provideDisplay();
20556
20602
  const makeDriver = dependencies.driverFactory ?? ((options) => new DesktopPlaytestDriver(options));
20557
20603
  driver = dependencies.driver ?? makeDriver({
20558
- args: desktopHostArgs(config),
20604
+ args: [...launch.args ?? [], ...desktopHostArgs(config)],
20559
20605
  cwd: config.projectPath,
20560
20606
  ...providedDisplay === void 0 ? {} : { env: providedDisplay.env },
20561
20607
  executable,
@@ -665,6 +665,27 @@ interface IDesktopPlaytestDependencies {
665
665
  mailboxRoot?: string;
666
666
  transport?: IDevicePlaytestTransport;
667
667
  }
668
+ /**
669
+ * The binary inside a desktop build output directory, when `--executable` names the directory.
670
+ *
671
+ * The two engines write different shapes there: the owned engine player puts its launcher and its
672
+ * assets under `dist-native/<name>/`, while the `threejs` host writes one flat binary. Accepting the
673
+ * directory for both keeps a kit's `test:native` independent of the chosen engine, which is what a
674
+ * game that flips `engine: "threejs"` needs.
675
+ */
676
+ interface IDesktopLaunchTarget {
677
+ /** Optional arguments that belong to the artifact itself, before any `--host-arg`. */
678
+ readonly args?: readonly string[];
679
+ readonly executable: string;
680
+ }
681
+ /**
682
+ * The path a desktop playtest launches for an `--executable` argument.
683
+ *
684
+ * Kept as the string-returning entry point it always was; `resolveDesktopLaunch` is the form the
685
+ * runner needs, because the raw Windows player also takes its bundle as an argument.
686
+ */
687
+ declare function resolveDesktopExecutable(candidate: string): Promise<string>;
688
+ declare function resolveDesktopLaunch(candidate: string): Promise<IDesktopLaunchTarget>;
668
689
  declare function runDesktopPlaytest(config: IStandalonePlaytestConfig, dependencies?: IDesktopPlaytestDependencies): Promise<IStandalonePlaytestReport>;
669
690
 
670
691
  declare function initStandalonePlaytest(projectPath?: string): Promise<{
@@ -746,4 +767,4 @@ interface IBrowserCaptureSession {
746
767
  */
747
768
  declare function withBrowserCapture<T>(config: IStandalonePlaytestConfig, capture: (session: IBrowserCaptureSession) => Promise<T>, signal?: AbortSignal): Promise<T>;
748
769
 
749
- export { ANDROID_TRANSPORT_CAPABILITIES, DesktopPlaytestDriver, DeviceBridgeTransport, DeviceMailboxTransport, IAndroidAppState, IAndroidDriver, type IAndroidPlaytestDependencies, IAndroidPointer, IAndroidPointerInjection, type IBridgeTransport, type IBrowserCaptureSession, type IBrowserPointerChange, type IDesktopPlaytestDependencies, type IDesktopPlaytestDriverOptions, type IDeviceMailbox, type IDeviceMailboxPaths, type IDevicePlaytestDriver, type IDevicePlaytestTarget, type IDevicePlaytestTransport, type IDeviceRequestContext, type IDeviceResponseObservation, type IDisplayStrategy, type IIosCommandOptions, type IIosDriverOptions, type IIosPlaytestDependencies, ILabeledPlaytestSample, IMovementSampleInterval, type IPerfHostLoad, type IPerfHostLoadReading, type IPerfHostLoadSource, type IPipelineCapture, type IPipelineCaptureBoundary, type IPipelineCaptureCounts, type IPipelineCaptureEvent, type IPipelineCaptureNodeBuild, type IPipelineCaptureProvenance, type IPipelineCaptureShader, type IPipelineContributorSummary, type IPipelinePassSummary, type IPipelineProgramReasonSummary, type IPipelineSizeTimePassSummary, type IPipelineSizeTimeSummary, type IPipelineSummary, type IPipelineWarmupSummary, type IPlaytestBridgeClient, type IRunIosCommand, IRunnerConsoleEntry, IStandalonePlaytestConfig, IStandalonePlaytestReport, type IStandalonePlaytestRunOptions, type IosTransportKind, LocalDeviceMailbox, PENDING_BRIDGE_OPERATIONS_GLOBAL, PERFORMANCE_BROWSER_ARGS, PIPELINE_CAPTURE_VERSION, PIPELINE_EVENT_MARKER, type PipelineCaptureKind, type PipelineCaptureMode, type PipelineCaptureSource, type PipelineCaptureStatus, PlaytestBridgeError, PlaywrightTransport, STANDALONE_PLAYTEST_OBSERVATION_FIELDS, WEBGPU_BROWSER_ARGS, XcrunIosDriver, absolutesVerdict, advanceTimeoutMs, androidMailboxPaths, batchArtifactDirectory, boundedTeardownStep, bridgeWaitTimeoutMs, buildReport, connectPlaytestBridge, connectPlaytestBridgeTransport, decideDisplayStrategy, desktopConsoleType, deviceMailboxPaths, deviceTimeoutDiagnostic, formatPipelineSummary, handlePlaytestSignal, initStandalonePlaytest, isRuntimeReadout, openPageAndConnectBridge, pageLifecycleDiagnostic, parseLaunchedPid, parsePipelineCapture, parsePipelineEventMarkers, preflightDisplay, readHostLoad, reconcileBrowserPointers, recordToScenario, requireAssertions, resolveBrowserArguments, resolveManagedServerCommand, resolveManagedServerConfig, runAndroidPlaytest, runDesktopPlaytest, runDevicePlaytest, runIosPlaytest, runStandalonePlaytest, runStandalonePlaytests, softwareAdapterName, substituteManagedPort, summarizePipelineCapture, validateDeviceEndpoint, withBrowserCapture, writeCaptureProvenance, writeObservationArtifacts };
770
+ export { ANDROID_TRANSPORT_CAPABILITIES, DesktopPlaytestDriver, DeviceBridgeTransport, DeviceMailboxTransport, IAndroidAppState, IAndroidDriver, type IAndroidPlaytestDependencies, IAndroidPointer, IAndroidPointerInjection, type IBridgeTransport, type IBrowserCaptureSession, type IBrowserPointerChange, type IDesktopLaunchTarget, type IDesktopPlaytestDependencies, type IDesktopPlaytestDriverOptions, type IDeviceMailbox, type IDeviceMailboxPaths, type IDevicePlaytestDriver, type IDevicePlaytestTarget, type IDevicePlaytestTransport, type IDeviceRequestContext, type IDeviceResponseObservation, type IDisplayStrategy, type IIosCommandOptions, type IIosDriverOptions, type IIosPlaytestDependencies, ILabeledPlaytestSample, IMovementSampleInterval, type IPerfHostLoad, type IPerfHostLoadReading, type IPerfHostLoadSource, type IPipelineCapture, type IPipelineCaptureBoundary, type IPipelineCaptureCounts, type IPipelineCaptureEvent, type IPipelineCaptureNodeBuild, type IPipelineCaptureProvenance, type IPipelineCaptureShader, type IPipelineContributorSummary, type IPipelinePassSummary, type IPipelineProgramReasonSummary, type IPipelineSizeTimePassSummary, type IPipelineSizeTimeSummary, type IPipelineSummary, type IPipelineWarmupSummary, type IPlaytestBridgeClient, type IRunIosCommand, IRunnerConsoleEntry, IStandalonePlaytestConfig, IStandalonePlaytestReport, type IStandalonePlaytestRunOptions, type IosTransportKind, LocalDeviceMailbox, PENDING_BRIDGE_OPERATIONS_GLOBAL, PERFORMANCE_BROWSER_ARGS, PIPELINE_CAPTURE_VERSION, PIPELINE_EVENT_MARKER, type PipelineCaptureKind, type PipelineCaptureMode, type PipelineCaptureSource, type PipelineCaptureStatus, PlaytestBridgeError, PlaywrightTransport, STANDALONE_PLAYTEST_OBSERVATION_FIELDS, WEBGPU_BROWSER_ARGS, XcrunIosDriver, absolutesVerdict, advanceTimeoutMs, androidMailboxPaths, batchArtifactDirectory, boundedTeardownStep, bridgeWaitTimeoutMs, buildReport, connectPlaytestBridge, connectPlaytestBridgeTransport, decideDisplayStrategy, desktopConsoleType, deviceMailboxPaths, deviceTimeoutDiagnostic, formatPipelineSummary, handlePlaytestSignal, initStandalonePlaytest, isRuntimeReadout, openPageAndConnectBridge, pageLifecycleDiagnostic, parseLaunchedPid, parsePipelineCapture, parsePipelineEventMarkers, preflightDisplay, readHostLoad, reconcileBrowserPointers, recordToScenario, requireAssertions, resolveBrowserArguments, resolveDesktopExecutable, resolveDesktopLaunch, resolveManagedServerCommand, resolveManagedServerConfig, runAndroidPlaytest, runDesktopPlaytest, runDevicePlaytest, runIosPlaytest, runStandalonePlaytest, runStandalonePlaytests, softwareAdapterName, substituteManagedPort, summarizePipelineCapture, validateDeviceEndpoint, withBrowserCapture, writeCaptureProvenance, writeObservationArtifacts };
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { readdirSync, readFileSync, existsSync, rmSync, constants } from 'fs';
3
- import { join, resolve, relative, dirname, isAbsolute, basename } from 'path';
2
+ import { readdirSync, readFileSync, existsSync, statSync, rmSync, constants } from 'fs';
3
+ import { join, resolve, relative, dirname, basename, isAbsolute } from 'path';
4
4
  import { execFile, spawnSync, spawn } from 'child_process';
5
5
  import { writeFile, stat, mkdtemp, rm, mkdir, open, readFile, access, unlink, rename, readdir, copyFile, rmdir } from 'fs/promises';
6
6
  import { loadavg, tmpdir, homedir, availableParallelism } from 'os';
@@ -2412,8 +2412,8 @@ function foreignGpuProcesses(ownPid = process.pid, procRoot = "/proc", platform
2412
2412
  }
2413
2413
  };
2414
2414
  const parentOf = (pid) => {
2415
- const stat4 = read(String(pid), "stat");
2416
- const ppid = stat4 === void 0 ? void 0 : Number(stat4.slice(stat4.lastIndexOf(")") + 2).split(" ")[1]);
2415
+ const stat5 = read(String(pid), "stat");
2416
+ const ppid = stat5 === void 0 ? void 0 : Number(stat5.slice(stat5.lastIndexOf(")") + 2).split(" ")[1]);
2417
2417
  return ppid === void 0 || !Number.isSafeInteger(ppid) ? void 0 : ppid;
2418
2418
  };
2419
2419
  const ours = (pid) => {
@@ -11704,10 +11704,10 @@ function parseSchedstatCpuNs(raw) {
11704
11704
  }
11705
11705
  async function readThread(owner, procRoot) {
11706
11706
  const path2 = join(procRoot, `${owner.pid}/task/${owner.tid}`);
11707
- const stat4 = procStat(await readFile(join(path2, "stat"), "utf8"), owner.tid);
11707
+ const stat5 = procStat(await readFile(join(path2, "stat"), "utf8"), owner.tid);
11708
11708
  if (owner.tid !== owner.pid) fail("main TID must equal process PID");
11709
11709
  const cpuNs = parseSchedstatCpuNs(await readFile(join(path2, "schedstat"), "utf8"));
11710
- return { starttime: stat4.starttime, cpuNs };
11710
+ return { starttime: stat5.starttime, cpuNs };
11711
11711
  }
11712
11712
  async function hostState(procRoot, sysRoot) {
11713
11713
  const load = (await readFile(join(procRoot, "loadavg"), "utf8")).trim().split(/\s+/u).slice(0, 3).map(Number);
@@ -17682,6 +17682,7 @@ function desktopConsoleType(stream, line) {
17682
17682
  return "warning";
17683
17683
  }
17684
17684
  if (/^ALSA lib\b|^\[Audio\] Failed to open audio device: ALSA:|^Gtk-Message:/u.test(text)) return "log";
17685
+ if (/^TN_PROCESS_PRIORITY_RAISE_REFUSED:/u.test(text)) return "log";
17685
17686
  return stream === "stderr" ? "error" : "log";
17686
17687
  }
17687
17688
  function terminateProcess(child, signal) {
@@ -17757,6 +17758,52 @@ async function requestFileState(path2) {
17757
17758
  return `request file unreadable: ${error instanceof Error ? error.message : String(error)}`;
17758
17759
  }
17759
17760
  }
17761
+ async function resolveDesktopExecutable(candidate) {
17762
+ return (await resolveDesktopLaunch(candidate)).executable;
17763
+ }
17764
+ async function resolveDesktopLaunch(candidate) {
17765
+ let isDirectory = false;
17766
+ try {
17767
+ isDirectory = (await stat(candidate)).isDirectory();
17768
+ } catch {
17769
+ return { executable: candidate };
17770
+ }
17771
+ if (!isDirectory) return { executable: candidate };
17772
+ const name = basename(candidate);
17773
+ const rawPlayerPath = join(candidate, "tn-native-engine-player-v8.exe");
17774
+ const candidates = process.platform === "win32" ? (
17775
+ // Compared case-insensitively: on that filesystem a game named like the player IS the
17776
+ // player's path, and the canonical spelling must be the one that survives, because the
17777
+ // bundle argument is keyed on it.
17778
+ [
17779
+ ...[`${candidate}.exe`, join(candidate, `${name}.exe`)].filter(
17780
+ (launcher) => launcher.toLowerCase() !== rawPlayerPath.toLowerCase()
17781
+ ),
17782
+ rawPlayerPath
17783
+ ]
17784
+ ) : (
17785
+ // Only the launcher this build wrote: a `.exe` beside it is the other platform's
17786
+ // artifact, and a name that itself ends in `.exe` is still the POSIX script.
17787
+ [join(candidate, name)]
17788
+ );
17789
+ const rawPlayer = process.platform === "win32" ? rawPlayerPath : void 0;
17790
+ const builtAt = (launcher) => {
17791
+ const bundle = join(candidate, "game.js");
17792
+ if (launcher === rawPlayer && existsSync(bundle)) {
17793
+ return statSync(bundle, { throwIfNoEntry: false })?.mtimeMs ?? -1;
17794
+ }
17795
+ return statSync(launcher, { throwIfNoEntry: false })?.mtimeMs ?? -1;
17796
+ };
17797
+ const present2 = candidates.filter((launcher) => existsSync(launcher)).map((launcher) => ({ launcher, mtimeMs: builtAt(launcher) })).sort((left, right) => right.mtimeMs - left.mtimeMs);
17798
+ if (present2[0] !== void 0) {
17799
+ const bundle = join(candidate, "game.js");
17800
+ const args = present2[0].launcher === rawPlayer && existsSync(bundle) ? [bundle] : void 0;
17801
+ return args === void 0 ? { executable: present2[0].launcher } : { args, executable: present2[0].launcher };
17802
+ }
17803
+ throw new Error(
17804
+ `TN_PLAYTEST_EXECUTABLE_MISSING: ${candidate} is a directory with no ${name} launcher in it; build the game's desktop target again.`
17805
+ );
17806
+ }
17760
17807
  function desktopHostArgs(config) {
17761
17808
  const args = config.desktop?.hostArgs ?? [];
17762
17809
  return config.cpuProfilePath === void 0 ? args : [...args, `--cpu-prof=${config.cpuProfilePath}`];
@@ -17766,10 +17813,12 @@ async function runDesktopPlaytest(config, dependencies = {}) {
17766
17813
  throw new Error("TN_PLAYTEST_CLOCK: a counted run must not inherit a wall clock; unset TN_PLAYTEST_CLOCK or pass --live-clock.");
17767
17814
  }
17768
17815
  if (process.env.TN_PLAYTEST_COMPLETION_WINDOW_LABEL !== void 0) completionWindowEnvironment("desktop", config.headless);
17769
- const executable = config.desktop?.executable;
17770
- if (executable === void 0) {
17816
+ const declaredExecutable = config.desktop?.executable;
17817
+ if (declaredExecutable === void 0) {
17771
17818
  throw new Error("Desktop playtest requires --executable <native-game-executable>.");
17772
17819
  }
17820
+ const launch = dependencies.driver === void 0 ? await resolveDesktopLaunch(declaredExecutable) : { executable: declaredExecutable };
17821
+ const executable = launch.executable;
17773
17822
  const abortController = new AbortController();
17774
17823
  const handleSignal = () => {
17775
17824
  abortController.abort();
@@ -17814,7 +17863,7 @@ async function runDesktopPlaytest(config, dependencies = {}) {
17814
17863
  if (dependencies.driver === void 0) providedDisplay = await provideDisplay();
17815
17864
  const makeDriver = dependencies.driverFactory ?? ((options) => new DesktopPlaytestDriver(options));
17816
17865
  driver = dependencies.driver ?? makeDriver({
17817
- args: desktopHostArgs(config),
17866
+ args: [...launch.args ?? [], ...desktopHostArgs(config)],
17818
17867
  cwd: config.projectPath,
17819
17868
  ...providedDisplay === void 0 ? {} : { env: providedDisplay.env },
17820
17869
  executable,
@@ -18669,4 +18718,4 @@ async function withBrowserCapture(config, capture, signal) {
18669
18718
  }
18670
18719
  }
18671
18720
 
18672
- export { ANDROID_TRANSPORT_CAPABILITIES, AdbAndroidDriver, DesktopPlaytestDriver, DeviceBridgeTransport, DeviceMailboxTransport, LocalDeviceMailbox, ManagedServerError, PENDING_BRIDGE_OPERATIONS_GLOBAL, PERFORMANCE_BROWSER_ARGS, PIPELINE_CAPTURE_VERSION, PIPELINE_EVENT_MARKER, PLAYTEST_FLAGS, PlaytestBridgeError, PlaytestCliUsageError, PlaywrightTransport, STANDALONE_PLAYTEST_OBSERVATION_FIELDS, WEBGPU_BROWSER_ARGS, XcrunIosDriver, absolutesVerdict, advanceFixedStep, advanceTimeoutMs, androidMailboxPaths, androidTouchBatches, batchArtifactDirectory, boundedTeardownStep, bridgeWaitTimeoutMs, buildReport, captureVisualSurface, connectPlaytestBridge, connectPlaytestBridgeTransport, decideDisplayStrategy, desktopConsoleType, deviceMailboxPaths, deviceTimeoutDiagnostic, discoverAdb, failedDiagnosticsAssertion, formatPipelineSummary, formatUsage, handlePlaytestSignal, initStandalonePlaytest, isRuntimeReadout, keyboardIsShown, openPageAndConnectBridge, pageLifecycleDiagnostic, parseAndroidConsole, parseAndroidTouchViewport, parseLaunchedPid, parsePipelineCapture, parsePipelineEventMarkers, parseStandalonePlaytestArgs, playtestStepDrivesMovement, preflightDisplay, readHostLoad, reconcileBrowserPointers, recordToScenario, requireAssertions, resolveBrowserArguments, resolveManagedServerCommand, resolveManagedServerConfig, rotatedTouchPosition, runAndroidPlaytest, runDesktopPlaytest, runDevicePlaytest, runIosPlaytest, runStandalonePlaytest, runStandalonePlaytests, softwareAdapterName, substituteManagedPort, summarizePipelineCapture, tapCommand, touchPositionForViewport, touchRotationFromWindowDump, validateDeviceEndpoint, viewportPresentationCommands, viewportPresentationObserved, viewportRestoreCommands, withBrowserCapture, withScenarioClock, writeCaptureProvenance, writeObservationArtifacts };
18721
+ export { ANDROID_TRANSPORT_CAPABILITIES, AdbAndroidDriver, DesktopPlaytestDriver, DeviceBridgeTransport, DeviceMailboxTransport, LocalDeviceMailbox, ManagedServerError, PENDING_BRIDGE_OPERATIONS_GLOBAL, PERFORMANCE_BROWSER_ARGS, PIPELINE_CAPTURE_VERSION, PIPELINE_EVENT_MARKER, PLAYTEST_FLAGS, PlaytestBridgeError, PlaytestCliUsageError, PlaywrightTransport, STANDALONE_PLAYTEST_OBSERVATION_FIELDS, WEBGPU_BROWSER_ARGS, XcrunIosDriver, absolutesVerdict, advanceFixedStep, advanceTimeoutMs, androidMailboxPaths, androidTouchBatches, batchArtifactDirectory, boundedTeardownStep, bridgeWaitTimeoutMs, buildReport, captureVisualSurface, connectPlaytestBridge, connectPlaytestBridgeTransport, decideDisplayStrategy, desktopConsoleType, deviceMailboxPaths, deviceTimeoutDiagnostic, discoverAdb, failedDiagnosticsAssertion, formatPipelineSummary, formatUsage, handlePlaytestSignal, initStandalonePlaytest, isRuntimeReadout, keyboardIsShown, openPageAndConnectBridge, pageLifecycleDiagnostic, parseAndroidConsole, parseAndroidTouchViewport, parseLaunchedPid, parsePipelineCapture, parsePipelineEventMarkers, parseStandalonePlaytestArgs, playtestStepDrivesMovement, preflightDisplay, readHostLoad, reconcileBrowserPointers, recordToScenario, requireAssertions, resolveBrowserArguments, resolveDesktopExecutable, resolveDesktopLaunch, resolveManagedServerCommand, resolveManagedServerConfig, rotatedTouchPosition, runAndroidPlaytest, runDesktopPlaytest, runDevicePlaytest, runIosPlaytest, runStandalonePlaytest, runStandalonePlaytests, softwareAdapterName, substituteManagedPort, summarizePipelineCapture, tapCommand, touchPositionForViewport, touchRotationFromWindowDump, validateDeviceEndpoint, viewportPresentationCommands, viewportPresentationObserved, viewportRestoreCommands, withBrowserCapture, withScenarioClock, writeCaptureProvenance, writeObservationArtifacts };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threenative/playtest",
3
- "version": "0.3.17",
3
+ "version": "0.3.19",
4
4
  "license": "MIT",
5
5
  "description": "Scenario-driven playtest harness for Three.js games. Runs on plain Three.js with zero ThreeNative dependencies.",
6
6
  "keywords": [