@ait-co/devtools 0.1.129 → 0.1.132
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/{attach-orchestrator-DvrgUIx7.js → attach-orchestrator-BiaYiNOr.js} +31 -13
- package/dist/{attach-orchestrator-DvrgUIx7.js.map → attach-orchestrator-BiaYiNOr.js.map} +1 -1
- package/dist/{attach-orchestrator-RhOdO3DS.js → attach-orchestrator-Cjdhir2U.js} +31 -13
- package/dist/{attach-orchestrator-RhOdO3DS.js.map → attach-orchestrator-Cjdhir2U.js.map} +1 -1
- package/dist/{attach-orchestrator-Bdt5Zdo9.js → attach-orchestrator-ca34r46y.js} +31 -13
- package/dist/{attach-orchestrator-Bdt5Zdo9.js.map → attach-orchestrator-ca34r46y.js.map} +1 -1
- package/dist/{cell-Ba9lCI3B.js → cell-Bi8MAPA8.js} +11 -7
- package/dist/cell-Bi8MAPA8.js.map +1 -0
- package/dist/{cell-DA_lcpDI.js → cell-Cw4fVOl2.js} +11 -7
- package/dist/cell-Cw4fVOl2.js.map +1 -0
- package/dist/{cell-DLRv4iG6.js → cell-rr6gL9AT.js} +11 -7
- package/dist/cell-rr6gL9AT.js.map +1 -0
- package/dist/{debug-server-e1qPe0ZB.js → debug-server-BBUzxZSf.js} +4 -4
- package/dist/{debug-server-e1qPe0ZB.js.map → debug-server-BBUzxZSf.js.map} +1 -1
- package/dist/{debug-server--Y0QZVJS.js → debug-server-Ch5p0ryv.js} +33 -11
- package/dist/debug-server-Ch5p0ryv.js.map +1 -0
- package/dist/{debug-server-Bu3pCG9c.js → debug-server-DoWAtTNj.js} +27 -9
- package/dist/debug-server-DoWAtTNj.js.map +1 -0
- package/dist/in-app/auto.js +15 -0
- package/dist/in-app/auto.js.map +1 -1
- package/dist/in-app/index.d.ts +27 -0
- package/dist/in-app/index.d.ts.map +1 -1
- package/dist/in-app/index.js +15 -0
- package/dist/in-app/index.js.map +1 -1
- package/dist/mcp/cli.js +211 -38
- package/dist/mcp/cli.js.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/panel/index.js +11 -1
- package/dist/panel/index.js.map +1 -1
- package/dist/{pool-C0pc7T2p.d.ts → pool-BtLh7U1y.d.ts} +24 -2
- package/dist/{pool-C0pc7T2p.d.ts.map → pool-BtLh7U1y.d.ts.map} +1 -1
- package/dist/{qr-http-server-DM2R25jP.cjs → qr-http-server-DX_9UA-p.cjs} +77 -6
- package/dist/qr-http-server-DX_9UA-p.cjs.map +1 -0
- package/dist/{qr-http-server-HANhOFwI.js → qr-http-server-DeRrKp_R.js} +77 -6
- package/dist/qr-http-server-DeRrKp_R.js.map +1 -0
- package/dist/{qr-http-server-CrGohOwC.js → qr-http-server-FVn61xAq.js} +77 -6
- package/dist/qr-http-server-FVn61xAq.js.map +1 -0
- package/dist/{qr-http-server-s1iW_5VQ.js → qr-http-server-KB147M-S.js} +77 -6
- package/dist/qr-http-server-KB147M-S.js.map +1 -0
- package/dist/{qr-http-server-BH0UFeUn.js → qr-http-server-V0xuU5TJ.js} +77 -6
- package/dist/qr-http-server-V0xuU5TJ.js.map +1 -0
- package/dist/{qr-http-server-Bt_RAxFn.cjs → qr-http-server-iH_Hh_si.cjs} +77 -6
- package/dist/qr-http-server-iH_Hh_si.cjs.map +1 -0
- package/dist/{relay-factory-Ck3vBonr.js → relay-factory-cNgPfrWg.js} +39 -13
- package/dist/relay-factory-cNgPfrWg.js.map +1 -0
- package/dist/{relay-worker-o0M2ndyJ.d.ts → relay-worker-BMSnlyls.d.ts} +39 -2
- package/dist/relay-worker-BMSnlyls.d.ts.map +1 -0
- package/dist/{relay-worker-Bt0QYKQH.js → relay-worker-l34xNuci.js} +28 -7
- package/dist/relay-worker-l34xNuci.js.map +1 -0
- package/dist/test-runner/bin.js +202 -36
- package/dist/test-runner/bin.js.map +1 -1
- package/dist/test-runner/config.d.ts +15 -9
- package/dist/test-runner/config.d.ts.map +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/pool.js.map +1 -1
- package/dist/test-runner/relay-factory.d.ts +36 -8
- package/dist/test-runner/relay-factory.d.ts.map +1 -1
- package/dist/test-runner/relay-factory.js +38 -12
- package/dist/test-runner/relay-factory.js.map +1 -1
- package/dist/test-runner/relay-worker.d.ts +2 -2
- package/dist/test-runner/relay-worker.js +2 -2
- package/dist/test-runner/report.d.ts +26 -4
- package/dist/test-runner/report.d.ts.map +1 -1
- package/dist/test-runner/report.js +41 -7
- package/dist/test-runner/report.js.map +1 -1
- package/dist/{tunnel-DyEV6WwL.cjs → tunnel-DP453L4e.cjs} +4 -3
- package/dist/{tunnel-DyEV6WwL.cjs.map → tunnel-DP453L4e.cjs.map} +1 -1
- package/dist/{tunnel-BFwOSwT4.js → tunnel-Djf-zmjJ.js} +4 -3
- package/dist/{tunnel-BFwOSwT4.js.map → tunnel-Djf-zmjJ.js.map} +1 -1
- package/dist/unplugin/index.cjs +1 -1
- package/dist/unplugin/index.js +1 -1
- package/dist/unplugin/tunnel.cjs +3 -2
- package/dist/unplugin/tunnel.cjs.map +1 -1
- package/dist/unplugin/tunnel.d.cts.map +1 -1
- package/dist/unplugin/tunnel.d.ts.map +1 -1
- package/dist/unplugin/tunnel.js +3 -2
- package/dist/unplugin/tunnel.js.map +1 -1
- package/package.json +1 -1
- package/dist/cell-Ba9lCI3B.js.map +0 -1
- package/dist/cell-DA_lcpDI.js.map +0 -1
- package/dist/cell-DLRv4iG6.js.map +0 -1
- package/dist/debug-server--Y0QZVJS.js.map +0 -1
- package/dist/debug-server-Bu3pCG9c.js.map +0 -1
- package/dist/qr-http-server-BH0UFeUn.js.map +0 -1
- package/dist/qr-http-server-Bt_RAxFn.cjs.map +0 -1
- package/dist/qr-http-server-CrGohOwC.js.map +0 -1
- package/dist/qr-http-server-DM2R25jP.cjs.map +0 -1
- package/dist/qr-http-server-HANhOFwI.js.map +0 -1
- package/dist/qr-http-server-s1iW_5VQ.js.map +0 -1
- package/dist/relay-factory-Ck3vBonr.js.map +0 -1
- package/dist/relay-worker-Bt0QYKQH.js.map +0 -1
- package/dist/relay-worker-o0M2ndyJ.d.ts.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as buildRelayVerifyAuth, r as generateTotp, t as assertRelayAuthConfigured } from "./totp-DfekTBk3.js";
|
|
2
2
|
import "./test-runner/relay-factory.js";
|
|
3
|
-
import { a as startTunnelHealthProbe, i as startQuickTunnel, n as makeTunnelStatus, o as logError, r as printAttachBanner, s as logInfo, t as generateAttachToken } from "./attach-orchestrator-
|
|
4
|
-
import "./cell-
|
|
5
|
-
import "./qr-http-server-
|
|
3
|
+
import { a as startTunnelHealthProbe, i as startQuickTunnel, n as makeTunnelStatus, o as logError, r as printAttachBanner, s as logInfo, t as generateAttachToken } from "./attach-orchestrator-Cjdhir2U.js";
|
|
4
|
+
import "./cell-Cw4fVOl2.js";
|
|
5
|
+
import "./qr-http-server-DeRrKp_R.js";
|
|
6
6
|
import "./relay-secret-store-BcVrWwTq.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import "@modelcontextprotocol/sdk/server/index.js";
|
|
@@ -224,7 +224,11 @@ var ChiiCdpConnection = class {
|
|
|
224
224
|
* EventEmitter is missed (defensive belt-and-suspenders).
|
|
225
225
|
*
|
|
226
226
|
* @param filterFn - Predicate that the returned targets must satisfy.
|
|
227
|
-
* @param timeoutMs - Reject after this many ms (default 90 000).
|
|
227
|
+
* @param timeoutMs - Reject after this many ms (default 90 000). Pass a
|
|
228
|
+
* non-finite value (`Infinity`) to disable the rejection timer entirely —
|
|
229
|
+
* used by the test-runner's unbounded QR-attach wait (devtools#735). Node
|
|
230
|
+
* clamps `setTimeout(fn, Infinity)` to ~1ms, so a non-finite value MUST
|
|
231
|
+
* skip arming the timer rather than pass it through.
|
|
228
232
|
* @param pollIntervalMs - Fallback poll interval (default 500ms).
|
|
229
233
|
*/
|
|
230
234
|
waitForFirstTarget(filterFn, timeoutMs = 9e4, pollIntervalMs = 500) {
|
|
@@ -236,7 +240,7 @@ var ChiiCdpConnection = class {
|
|
|
236
240
|
const settle = (targets) => {
|
|
237
241
|
if (settled) return;
|
|
238
242
|
settled = true;
|
|
239
|
-
clearTimeout(timeoutHandle);
|
|
243
|
+
if (timeoutHandle !== null) clearTimeout(timeoutHandle);
|
|
240
244
|
if (pollHandle !== null) {
|
|
241
245
|
clearInterval(pollHandle);
|
|
242
246
|
pollHandle = null;
|
|
@@ -247,7 +251,7 @@ var ChiiCdpConnection = class {
|
|
|
247
251
|
const onAttach = (targets) => {
|
|
248
252
|
if (filterFn(targets)) settle(targets);
|
|
249
253
|
};
|
|
250
|
-
const timeoutHandle = setTimeout(() => {
|
|
254
|
+
const timeoutHandle = Number.isFinite(timeoutMs) ? setTimeout(() => {
|
|
251
255
|
if (settled) return;
|
|
252
256
|
settled = true;
|
|
253
257
|
if (pollHandle !== null) {
|
|
@@ -256,7 +260,7 @@ var ChiiCdpConnection = class {
|
|
|
256
260
|
}
|
|
257
261
|
this.emitter.off("target:attached", onAttach);
|
|
258
262
|
reject(/* @__PURE__ */ new Error(`waitForFirstTarget: 타임아웃 (${timeoutMs}ms) — 폰이 relay에 attach되지 않았습니다.`));
|
|
259
|
-
}, timeoutMs);
|
|
263
|
+
}, timeoutMs) : null;
|
|
260
264
|
this.emitter.on("target:attached", onAttach);
|
|
261
265
|
pollHandle = setInterval(() => {
|
|
262
266
|
this.refreshTargets().then((targets) => {
|
|
@@ -571,9 +575,9 @@ OPTIONS
|
|
|
571
575
|
the CLI waits for a human to scan the QR code — use
|
|
572
576
|
--attach-timeout for that.
|
|
573
577
|
--attach-timeout <ms> How long to wait for a human to scan the QR code with
|
|
574
|
-
their phone (default
|
|
575
|
-
|
|
576
|
-
|
|
578
|
+
their phone. Omit (default) to wait indefinitely — the
|
|
579
|
+
runner stays up until you stop it (Ctrl-C/SIGTERM).
|
|
580
|
+
Pass a value to bound the wait for CI/headless runs.
|
|
577
581
|
--cell-sdk-line <line> SDK line to inject as __AIT_CELL__.sdkLine (2.x|3.x)
|
|
578
582
|
--cell-platform <plat> Platform to inject as __AIT_CELL__.platform
|
|
579
583
|
(mock|ios|android, default: AIT_CELL_PLATFORM env)
|
|
@@ -586,6 +590,24 @@ OPTIONS
|
|
|
586
590
|
--headless Disable browser auto-open (text QR only)
|
|
587
591
|
--project-root <dir> Project root for .ait_relay secret lookup
|
|
588
592
|
(default: current working directory)
|
|
593
|
+
--manual-blocking Run manual-tagged test files (*.manual.ait.test.ts)
|
|
594
|
+
LAST, after all regular files, with a human present.
|
|
595
|
+
Before each manual file, the QR dashboard is pushed
|
|
596
|
+
a step-by-step Korean prompt naming the file + its
|
|
597
|
+
progress (k/n), and the same line is printed to
|
|
598
|
+
stdout. Manual files get a 5-minute per-file evaluate
|
|
599
|
+
timeout (vs. --timeout for everything else) since a
|
|
600
|
+
human is expected to tap through a native sheet
|
|
601
|
+
(photo picker, permission dialog, fullscreen ad).
|
|
602
|
+
Without this flag (default off), *.manual.ait.test.ts
|
|
603
|
+
files are EXCLUDED from the glob expansion entirely —
|
|
604
|
+
existing unattended runs are byte-for-byte unaffected.
|
|
605
|
+
With --report-dir, a run that included manual files
|
|
606
|
+
ALSO writes <sdkLine>.<platform>.manual.json
|
|
607
|
+
alongside (never replacing) the standard report, and
|
|
608
|
+
each manual file's report entry is stamped
|
|
609
|
+
mode: 'manual' — never diff a manual run against an
|
|
610
|
+
unattended baseline as if they were equivalent.
|
|
589
611
|
--help, -h Show this help message
|
|
590
612
|
|
|
591
613
|
DESCRIPTION
|
|
@@ -976,4 +998,4 @@ async function bootRelayFamily(options = {}) {
|
|
|
976
998
|
//#endregion
|
|
977
999
|
export { bootRelayFamily, buildRelayVerifyAuth };
|
|
978
1000
|
|
|
979
|
-
//# sourceMappingURL=debug-server
|
|
1001
|
+
//# sourceMappingURL=debug-server-Ch5p0ryv.js.map
|