@ait-co/devtools 0.1.133 → 0.1.134
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/dist/{cdp-connection-D7AYQck2.d.ts → cdp-connection-BYE9meXe.d.ts} +12 -2
- package/dist/{cdp-connection-D7AYQck2.d.ts.map → cdp-connection-BYE9meXe.d.ts.map} +1 -1
- package/dist/{debug-server-CS1BS2BX.js → debug-server-BcSBrajf.js} +18 -8
- package/dist/debug-server-BcSBrajf.js.map +1 -0
- package/dist/{debug-server-DmzuK2c6.js → debug-server-D9SmprUI.js} +3 -3
- package/dist/{debug-server-DmzuK2c6.js.map → debug-server-D9SmprUI.js.map} +1 -1
- package/dist/mcp/cli.js +41 -15
- package/dist/mcp/cli.js.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/panel/index.js +1 -1
- package/dist/{pool-x28Wv1ty.d.ts → pool-C6TgrcyW.d.ts} +3 -3
- package/dist/{pool-x28Wv1ty.d.ts.map → pool-C6TgrcyW.d.ts.map} +1 -1
- package/dist/{relay-factory-BQfmK7RP.js → relay-factory-CsVO9o25.js} +2 -2
- package/dist/{relay-factory-BQfmK7RP.js.map → relay-factory-CsVO9o25.js.map} +1 -1
- package/dist/{relay-worker-DtX_eszH.d.ts → relay-worker-Dw3aIzIK.d.ts} +3 -3
- package/dist/{relay-worker-DtX_eszH.d.ts.map → relay-worker-Dw3aIzIK.d.ts.map} +1 -1
- package/dist/{relay-worker-MZq4fLv8.js → relay-worker-UK0nBfDX.js} +18 -8
- package/dist/relay-worker-UK0nBfDX.js.map +1 -0
- package/dist/{runtime-9xhN9pr8.d.ts → runtime-DfHHZms2.d.ts} +34 -5
- package/dist/runtime-DfHHZms2.d.ts.map +1 -0
- package/dist/test-runner/bin.js +32 -11
- package/dist/test-runner/bin.js.map +1 -1
- package/dist/test-runner/config.d.ts +1 -1
- package/dist/test-runner/config.js +1 -1
- package/dist/test-runner/pool.d.ts +1 -1
- package/dist/test-runner/pool.js +1 -1
- package/dist/test-runner/relay-factory.d.ts +12 -2
- package/dist/test-runner/relay-factory.d.ts.map +1 -1
- package/dist/test-runner/relay-factory.js +1 -1
- package/dist/test-runner/relay-worker.d.ts +1 -1
- package/dist/test-runner/relay-worker.js +1 -1
- package/dist/test-runner/report.d.ts +2 -2
- package/dist/test-runner/rpc.d.ts +8 -5
- package/dist/test-runner/rpc.d.ts.map +1 -1
- package/dist/test-runner/rpc.js +15 -4
- package/dist/test-runner/rpc.js.map +1 -1
- package/dist/test-runner/runtime.d.ts +2 -2
- package/dist/test-runner/runtime.js +30 -4
- package/dist/test-runner/runtime.js.map +1 -1
- package/dist/test-runner/task-graph.d.ts +1 -1
- package/package.json +1 -1
- package/dist/debug-server-CS1BS2BX.js.map +0 -1
- package/dist/relay-worker-MZq4fLv8.js.map +0 -1
- package/dist/runtime-9xhN9pr8.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as createRelayPool, n as RelayConnectionFactory, t as RELAY_POOL_NAME } from "../pool-
|
|
1
|
+
import { i as createRelayPool, n as RelayConnectionFactory, t as RELAY_POOL_NAME } from "../pool-C6TgrcyW.js";
|
|
2
2
|
|
|
3
3
|
//#region src/test-runner/relay-factory.d.ts
|
|
4
4
|
/** Options for {@link createRelayConnectionFactory}. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RELAY_POOL_NAME, createRelayPool } from "./pool.js";
|
|
2
|
-
import { t as createRelayConnectionFactory } from "../relay-factory-
|
|
2
|
+
import { t as createRelayConnectionFactory } from "../relay-factory-CsVO9o25.js";
|
|
3
3
|
//#region src/test-runner/config.ts
|
|
4
4
|
const DEFAULT_CONFIG = {
|
|
5
5
|
include: ["**/*.ait.test.ts"],
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as createRelayPool, n as RelayConnectionFactory, r as RelayPoolOptions, t as RELAY_POOL_NAME } from "../pool-
|
|
1
|
+
import { i as createRelayPool, n as RelayConnectionFactory, r as RelayPoolOptions, t as RELAY_POOL_NAME } from "../pool-C6TgrcyW.js";
|
|
2
2
|
export { RELAY_POOL_NAME, RelayConnectionFactory, RelayPoolOptions, createRelayPool };
|
package/dist/test-runner/pool.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as runTestFilesOverRelay } from "../relay-worker-
|
|
1
|
+
import { i as runTestFilesOverRelay } from "../relay-worker-UK0nBfDX.js";
|
|
2
2
|
import { synthesizeFileTask, toTaskEventPacks, toTaskResultPacks } from "./task-graph.js";
|
|
3
3
|
//#region src/test-runner/pool.ts
|
|
4
4
|
/** The pool name Vitest matches against `getFilePoolName(project)`. */
|
|
@@ -11017,8 +11017,18 @@ interface CdpConnection {
|
|
|
11017
11017
|
* Issue a CDP command (request → response). Phase 2's DOM/snapshot/screenshot
|
|
11018
11018
|
* tools use this; resolves with the typed result or rejects on a CDP error.
|
|
11019
11019
|
* Implementations must have called {@link enableDomains} first.
|
|
11020
|
-
|
|
11021
|
-
|
|
11020
|
+
*
|
|
11021
|
+
* @param opts.timeoutMs - Per-call override for the connection's own command
|
|
11022
|
+
* watchdog (devtools#747). Optional — implementations without a per-command
|
|
11023
|
+
* watchdog (e.g. `LocalCdpConnection`) may ignore it. Callers that already
|
|
11024
|
+
* race `send` against their own longer timeout (e.g. the test-runner's
|
|
11025
|
+
* file-evaluate budget) MUST pass a `timeoutMs` at least as large as that
|
|
11026
|
+
* caller-side timeout, or the connection's shorter default watchdog fires
|
|
11027
|
+
* first and undercuts the caller's race.
|
|
11028
|
+
*/
|
|
11029
|
+
send<M extends CdpCommandName>(method: M, params?: CdpCommandMap[M]['params'], opts?: {
|
|
11030
|
+
timeoutMs?: number;
|
|
11031
|
+
}): Promise<CdpCommandMap[M]['result']>;
|
|
11022
11032
|
/**
|
|
11023
11033
|
* Close the underlying transport and reject any in-flight commands.
|
|
11024
11034
|
* Optional so that minimal test fakes that don't need teardown remain
|