@ait-co/devtools 0.1.137 → 0.1.139
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-Cjdhir2U.js → attach-orchestrator-6kz_ZdWL.js} +5 -3
- package/dist/{attach-orchestrator-Cjdhir2U.js.map → attach-orchestrator-6kz_ZdWL.js.map} +1 -1
- package/dist/{attach-orchestrator-CE0S09YU.js → attach-orchestrator-BEiz3wAx.js} +5 -3
- package/dist/{attach-orchestrator-CMoDuG2A.js.map → attach-orchestrator-BEiz3wAx.js.map} +1 -1
- package/dist/{attach-orchestrator-CMoDuG2A.js → attach-orchestrator-BG8TGJOZ.js} +5 -3
- package/dist/{attach-orchestrator-CE0S09YU.js.map → attach-orchestrator-BG8TGJOZ.js.map} +1 -1
- package/dist/{bundle-BKqyhEK9.d.ts → bundle-C796JIwG.d.ts} +65 -2
- package/dist/bundle-C796JIwG.d.ts.map +1 -0
- package/dist/{capture-ltuV0gZa.d.ts → capture-DsP525OZ.d.ts} +1 -1
- package/dist/{capture-ltuV0gZa.d.ts.map → capture-DsP525OZ.d.ts.map} +1 -1
- package/dist/{cdp-connection-BYE9meXe.d.ts → cdp-connection-rP1WdnH5.d.ts} +1 -1
- package/dist/{cdp-connection-BYE9meXe.d.ts.map → cdp-connection-rP1WdnH5.d.ts.map} +1 -1
- package/dist/{cell-D1y4shoV.js → cell-BMlFh08P.js} +2 -2
- package/dist/cell-BMlFh08P.js.map +1 -0
- package/dist/{cell-DHA578lX.js → cell-Dtgtusog.js} +90 -16
- package/dist/cell-Dtgtusog.js.map +1 -0
- package/dist/{cell-BIdSQb9T.js → cell-KsRXFdDs.js} +122 -16
- package/dist/cell-KsRXFdDs.js.map +1 -0
- package/dist/{debug-server-CBK7dn8O.js → debug-server-6c22qSWa.js} +132 -9
- package/dist/debug-server-6c22qSWa.js.map +1 -0
- package/dist/{debug-server-BQplCzf8.js → debug-server-BQHbaKPT.js} +134 -11
- package/dist/debug-server-BQHbaKPT.js.map +1 -0
- package/dist/{debug-server-D2wpPK3_.js → debug-server-DWat7d-9.js} +82 -6
- package/dist/debug-server-DWat7d-9.js.map +1 -0
- package/dist/devtools-opener-3Drge_RJ.js +75 -0
- package/dist/devtools-opener-3Drge_RJ.js.map +1 -0
- package/dist/devtools-opener-CJpEsXXQ.js +76 -0
- package/dist/devtools-opener-CJpEsXXQ.js.map +1 -0
- package/dist/devtools-opener-CxtryS8c.js +75 -0
- package/dist/devtools-opener-CxtryS8c.js.map +1 -0
- package/dist/in-app/auto.js +59 -12
- package/dist/in-app/auto.js.map +1 -1
- package/dist/in-app/index.d.ts +21 -2
- package/dist/in-app/index.d.ts.map +1 -1
- package/dist/in-app/index.js +60 -13
- package/dist/in-app/index.js.map +1 -1
- package/dist/mcp/cli.js +299 -60
- package/dist/mcp/cli.js.map +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mock/index.d.ts +79 -1
- package/dist/mock/index.d.ts.map +1 -1
- package/dist/mock/index.js +218 -14
- package/dist/mock/index.js.map +1 -1
- package/dist/panel/index.js +171 -10
- package/dist/panel/index.js.map +1 -1
- package/dist/{pool-CmfvXnwh.d.ts → pool-CrP5CPvU.d.ts} +3 -3
- package/dist/{pool-CmfvXnwh.d.ts.map → pool-CrP5CPvU.d.ts.map} +1 -1
- package/dist/{qr-http-server-ZkT6F7is.js → qr-http-server-D1hpoyBF.js} +1 -1
- package/dist/{qr-http-server-ZkT6F7is.js.map → qr-http-server-D1hpoyBF.js.map} +1 -1
- package/dist/qr-http-server-D4rGz8M7.js +1640 -0
- package/dist/qr-http-server-D4rGz8M7.js.map +1 -0
- package/dist/{qr-http-server-C7q8Gn04.js → qr-http-server-DIjCV7h_.js} +1 -1
- package/dist/{qr-http-server-C7q8Gn04.js.map → qr-http-server-DIjCV7h_.js.map} +1 -1
- package/dist/{relay-factory-DVzpBRxz.js → relay-factory-C1X3G3WY.js} +71 -15
- package/dist/relay-factory-C1X3G3WY.js.map +1 -0
- package/dist/{relay-secret-store-CLEGyHou.js → relay-secret-store-Bmyleu0A.js} +1 -1
- package/dist/{relay-secret-store-CLEGyHou.js.map → relay-secret-store-Bmyleu0A.js.map} +1 -1
- package/dist/{relay-secret-store-DhzAnnj-.js → relay-secret-store-CQenfcSL.js} +2 -2
- package/dist/{relay-secret-store-DhzAnnj-.js.map → relay-secret-store-CQenfcSL.js.map} +1 -1
- package/dist/{relay-secret-store-BcVrWwTq.js → relay-secret-store-DKxs7zwq.js} +1 -1
- package/dist/{relay-secret-store-BcVrWwTq.js.map → relay-secret-store-DKxs7zwq.js.map} +1 -1
- package/dist/{relay-secret-store-DGduVJhs.js → relay-secret-store-WJ8EGkIl.js} +1 -1
- package/dist/{relay-secret-store-DGduVJhs.js.map → relay-secret-store-WJ8EGkIl.js.map} +1 -1
- package/dist/{relay-url-store-CKW8RQzf.js → relay-url-store-BR2XodiO.js} +2 -2
- package/dist/{relay-url-store-CKW8RQzf.js.map → relay-url-store-BR2XodiO.js.map} +1 -1
- package/dist/{relay-url-store-CdA58fgw.js → relay-url-store-CH63fVCm.js} +2 -2
- package/dist/{relay-url-store-B0X8TsGr.js.map → relay-url-store-CH63fVCm.js.map} +1 -1
- package/dist/{relay-url-store-CwKT7i04.js → relay-url-store-DaY1QPes.js} +2 -2
- package/dist/{relay-url-store-CwKT7i04.js.map → relay-url-store-DaY1QPes.js.map} +1 -1
- package/dist/{relay-url-store-B0X8TsGr.js → relay-url-store-xmUuTjXA.js} +2 -2
- package/dist/{relay-url-store-CdA58fgw.js.map → relay-url-store-xmUuTjXA.js.map} +1 -1
- package/dist/{relay-worker-6fy1eaIo.js → relay-worker-BUXI0K0b.js} +8 -4
- package/dist/{relay-worker-6fy1eaIo.js.map → relay-worker-BUXI0K0b.js.map} +1 -1
- package/dist/{relay-worker-DJnZkXza.d.ts → relay-worker-DcyboK43.d.ts} +30 -5
- package/dist/relay-worker-DcyboK43.d.ts.map +1 -0
- package/dist/{runtime-DfHHZms2.d.ts → runtime-BiigOuvb.d.ts} +30 -3
- package/dist/runtime-BiigOuvb.d.ts.map +1 -0
- package/dist/test-runner/bin.js +376 -38
- package/dist/test-runner/bin.js.map +1 -1
- package/dist/test-runner/bundle.d.ts +2 -2
- package/dist/test-runner/bundle.js +66 -13
- package/dist/test-runner/bundle.js.map +1 -1
- package/dist/test-runner/capture.d.ts +1 -1
- package/dist/test-runner/config.d.ts +58 -5
- package/dist/test-runner/config.d.ts.map +1 -1
- package/dist/test-runner/config.js +1 -1
- package/dist/test-runner/method-pace.d.ts +82 -0
- package/dist/test-runner/method-pace.d.ts.map +1 -0
- package/dist/test-runner/method-pace.js +120 -0
- package/dist/test-runner/method-pace.js.map +1 -0
- 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 +57 -4
- package/dist/test-runner/relay-factory.d.ts.map +1 -1
- package/dist/test-runner/relay-factory.js +70 -14
- package/dist/test-runner/relay-factory.js.map +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 +3 -3
- package/dist/test-runner/rpc.d.ts +2 -2
- package/dist/test-runner/runtime.d.ts +2 -2
- package/dist/test-runner/runtime.js +83 -6
- package/dist/test-runner/runtime.js.map +1 -1
- package/dist/test-runner/task-graph.d.ts +1 -1
- package/dist/throttle-DKKzX1qC.js +59 -0
- package/dist/throttle-DKKzX1qC.js.map +1 -0
- package/dist/totp-Dwft0Kz7.js +3 -0
- package/package.json +1 -1
- package/dist/bundle-BKqyhEK9.d.ts.map +0 -1
- package/dist/cell-BIdSQb9T.js.map +0 -1
- package/dist/cell-D1y4shoV.js.map +0 -1
- package/dist/cell-DHA578lX.js.map +0 -1
- package/dist/debug-server-BQplCzf8.js.map +0 -1
- package/dist/debug-server-CBK7dn8O.js.map +0 -1
- package/dist/debug-server-D2wpPK3_.js.map +0 -1
- package/dist/relay-factory-DVzpBRxz.js.map +0 -1
- package/dist/relay-worker-DJnZkXza.d.ts.map +0 -1
- package/dist/runtime-DfHHZms2.d.ts.map +0 -1
- package/dist/totp-D1pulXLa.js +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cell-KsRXFdDs.js","names":[],"sources":["../src/test-runner/throttle.ts","../src/test-runner/cell.ts"],"sourcesContent":["/**\n * Shared `APP_BRIDGE_THROTTLED` detection (devtools#767).\n *\n * 2026-07-10 real-device observation: the Toss app native side added a\n * per-method rate limit to the 2.x bridge — calling the SAME bridge method\n * twice within a short window rejects the second call immediately with a\n * 2.x native envelope (`{name, code, userInfo, moduleName, __isError}`) whose\n * `code` is `'APP_BRIDGE_THROTTLED'` and whose `message` reads\n * `\"Too many app bridge calls from <method>.\"`. The 3.x bridge path is\n * unaffected (devtools#767 issue body, sdk-example#284 2026-07-10 comment).\n *\n * This module is the SINGLE source of the detection predicate. Today's only\n * consumer is `runtime.ts` (in-page, per-test retry loop) — a plain static\n * import; esbuild inlines this file into the same IIFE bundle (same\n * mechanism as `bridge-stub.ts`, see `bundle.ts#getPageSideModulePath`). It\n * is exported from this standalone, dependency-free module (rather than\n * defined inline in `runtime.ts`) so a Node-side consumer could import the\n * exact same predicate in future if whole-FILE throttle-aware retry is ever\n * added on top of the per-test retry `runtime.ts` already performs — no such\n * Node-side caller exists yet (whole-file retry today only triggers on an\n * `injectAndRunBundle`-level timeout/exception, a distinct failure mode from\n * a `RunReport` that completed normally but contains a THROTTLED-failed\n * test — see `relay-worker.ts`'s `EVALUATE_TIMEOUT_MARKER` gate).\n *\n * Browser-compatible, dependency-free (no Node APIs) — safe to import from\n * either side of the CDP boundary, mirroring `runtime.ts`'s own constraint.\n */\n\n/** The native error code the Toss app bridge returns when rate-limited. */\nexport const THROTTLED_ERROR_CODE = 'APP_BRIDGE_THROTTLED';\n\n/** The message substring the native envelope carries when rate-limited. */\nexport const THROTTLED_MESSAGE_SUBSTRING = 'Too many app bridge calls';\n\n/**\n * True when `err` looks like a native `APP_BRIDGE_THROTTLED` rejection —\n * either the 2.x native envelope's `code` field equals\n * {@link THROTTLED_ERROR_CODE}, or the error's message contains\n * {@link THROTTLED_MESSAGE_SUBSTRING}. Either signal alone is sufficient: the\n * `code` field is the precise native signal, but a caller may only have a\n * stringified message (e.g. `Error#message` after the native envelope was\n * flattened) — checking both keeps detection robust across both shapes.\n *\n * Accepts `unknown` because callers may pass a caught page-side exception\n * (whose shape is not statically known), a `TestResult.error` string, or a\n * `FileResult` error string — never throws.\n */\nexport function isThrottledError(err: unknown): boolean {\n if (err === null || err === undefined) return false;\n\n if (typeof err === 'string') {\n return err.includes(THROTTLED_MESSAGE_SUBSTRING);\n }\n\n if (typeof err === 'object') {\n const rec = err as { code?: unknown; message?: unknown };\n if (rec.code === THROTTLED_ERROR_CODE) return true;\n if (typeof rec.message === 'string' && rec.message.includes(THROTTLED_MESSAGE_SUBSTRING)) {\n return true;\n }\n }\n\n return false;\n}\n","/**\n * Cell injection utility for the `devtools-test` CLI (issue #684 §4.1).\n *\n * Injects arbitrary globals into the page via `Runtime.evaluate` BEFORE the\n * first test bundle is injected. The injected values are session-global — one\n * call covers all files in the run.\n *\n * The primary use-case is injecting `__AIT_CELL__` (sdkLine/platform) so\n * sdk-example's `aitCapture.ts` picks up the correct test-axis values instead\n * of falling back to `'2.x'`/`'mock'`.\n *\n * devtools does NOT know the shape of `__AIT_CELL__` — it only provides the\n * general injection mechanism. The caller (CLI or MCP auto-attach path) is\n * responsible for constructing the cell object.\n *\n * SECRET-HANDLING: cell values (sdkLine/platform) are not secrets and may be\n * logged at the caller's discretion. This module does NOT log them itself.\n *\n * Node-only. react-free. CdpConnection only.\n */\n\nimport { THROTTLED_ERROR_CODE, THROTTLED_MESSAGE_SUBSTRING } from './throttle.js';\n\n/**\n * `__AIT_PERMS__` key → SDK function name whose `.getPermission()` is probed\n * (devtools#739). This is the exact contract sdk-example#265 consumes — do\n * not rename keys without a coordinated sdk-example update.\n *\n * Each SDK function is reached via `window.__sdk` — the SAME page-global\n * bridge `src/in-app/auto.ts` installs for `call_sdk`/`__sdkCall` (see\n * `src/test-runner/bundle.ts`'s `sdkRedirectPlugin`, which redirects bundled\n * `@apps-in-toss/web-framework` imports to this same object at runtime). The\n * test-runner bundle owns no independent SDK import — `window.__sdk` is a\n * page global regardless of whether a bundle has been injected yet, so this\n * preflight runs standalone via `injectGlobals`'s `Runtime.evaluate`\n * mechanism BEFORE the first bundle, rather than being prepended into\n * `rpc.ts#buildRunTestsExpression`. (Design choice documented in PR #739 —\n * bundle-prepend was the fallback plan if the SDK were only reachable from\n * inside bundle scope, which reality ruled out.)\n */\nconst PERMISSION_PROBE_MAP: Record<string, string> = {\n clipboardRead: 'getClipboardText',\n clipboardWrite: 'setClipboardText',\n album: 'fetchAlbumPhotos',\n camera: 'openCamera',\n contacts: 'fetchContacts',\n location: 'getCurrentLocation',\n};\n\n/**\n * Inter-probe spacing (ms) applied BEFORE every probe after the first\n * (devtools#767). The native per-method bridge rate limit observed\n * 2026-07-10 rejects a SECOND call to the same method within a short window\n * with `APP_BRIDGE_THROTTLED` — the permission preflight's un-paced burst\n * (6 probes fired back-to-back) was the FIRST trigger of that limiter in the\n * wild (only the first probe passed; the remaining 5 came back throttled →\n * `unavailable`, cascading into skipped `__AIT_PERMS__`-branching tests).\n * Sequential-with-spacing is cheap insurance even though each probe targets a\n * DIFFERENT method — the limiter's exact scope (per-method vs. a shared\n * bridge-wide window) was not reverse-engineered (explicitly out of scope,\n * devtools#767) so spacing every probe is the conservative choice.\n */\nconst PROBE_INTER_CALL_DELAY_MS = 250;\n\n/**\n * Backoff delays (ms) between retry attempts when a probe is throttled. Its\n * `.length` IS the max retry count (devtools#767: \"최대 2회 재시도\") — the\n * generated page-side expression below derives `attempt < backoff.length`\n * from this same array (via `backoffArray`), so there is a single source for\n * both the delay ladder and the retry count; no separate max-retries\n * constant is kept in this module (unlike `runtime.ts`'s `TEST_MAX_RETRIES`,\n * which IS consumed directly by a Node-side loop condition).\n */\nconst PROBE_RETRY_BACKOFF_MS = [500, 1000] as const;\n\n/**\n * Non-fatal bound for the permission preflight `Runtime.evaluate` round-trip\n * (devtools#767: raised from the pre-pacing 10s to cover the new sequential +\n * backoff time budget).\n *\n * Worst-case budget with 6 probes, each requiring the full retry ladder:\n * - inter-probe spacing: only BEFORE probes 2‑6 (none before the first) =\n * 5 × {@link PROBE_INTER_CALL_DELAY_MS} = 1 250ms\n * - per-probe backoff (both retries taken): 6 × (500 + 1000) = 9 000ms\n * - probe round-trips themselves (headroom, not just the sleeps): ~4 500ms\n * total ≈ 14 750ms, rounded up to a clean 20 000ms for headroom.\n */\nexport const PERMISSION_PREFLIGHT_TIMEOUT_MS = 20_000;\n\n/**\n * Builds the `Runtime.evaluate` expression for the permission-state preflight\n * (devtools#739). Evaluated ONCE per relay session, before the first test\n * bundle is injected (see `relay-worker.ts#runTestFilesOverRelay`).\n *\n * For each entry in {@link PERMISSION_PROBE_MAP}, probes\n * `window.__sdk.<fn>.getPermission()` — a NON-blocking query (never\n * `openPermissionDialog`/`requestPermission`, which open native UI) — and\n * assigns the resolved `'allowed'|'denied'|'notDetermined'` status to\n * `globalThis.__AIT_PERMS__[<key>]`. A probe that is absent, throws, or\n * rejects resolves to `'unavailable'` — this expression never throws to its\n * caller, and a single slow/broken permission must not fail the others (each\n * probe is awaited independently, not short-circuited).\n *\n * devtools#767: probes run SEQUENTIALLY (not a parallel burst) with a\n * {@link PROBE_INTER_CALL_DELAY_MS} gap before each probe after the first, and\n * a probe that comes back `APP_BRIDGE_THROTTLED` (native per-method bridge\n * rate limit) is retried up to {@link PROBE_RETRY_BACKOFF_MS}`.length` times\n * with the same {@link PROBE_RETRY_BACKOFF_MS} ladder before falling back to\n * `'unavailable'`.\n * The THROTTLED detection mirrors `throttle.ts#isThrottledError` inline (this\n * expression is raw JS text evaluated via CDP, not an esbuild-bundled module,\n * so it cannot statically `import` that helper) — kept in sync by checking\n * BOTH `e.code === 'APP_BRIDGE_THROTTLED'` and a message substring match, the\n * same two signals `isThrottledError` checks.\n *\n * devtools#767 acceptance criteria 2 (\"3.x run duration은 유의미하게 늘지 않음,\n * pacing은 opt-in 또는 throttle-adaptive\") requires this NOT be an unconditional\n * cost — `pace` (default `true`, matching the pre-existing sequential+spacing\n * behavior for 2.x/unknown cells) lets a 3.x caller skip BOTH the inter-probe\n * `sleep(250)` AND the retry backoff ladder, since `APP_BRIDGE_THROTTLED` is a\n * 2.x-bridge-only limiter (see `--pace`'s own doc in `cli.ts`: \"3.x cells are\n * unaffected by that limiter\"). When `pace` is `false`, probes still run\n * sequentially (never a parallel burst) but back-to-back with no added delay,\n * and a THROTTLED result resolves to `'unavailable'` immediately (no retry) —\n * this matches the 3.x runtime, which never emits `APP_BRIDGE_THROTTLED`.\n *\n * Tests (sdk-example#265) read `globalThis.__AIT_PERMS__` to branch\n * deterministically per permission state instead of blanket outcome-branching.\n *\n * Returns a JSON-serialised string (the same double-serialisation pattern\n * `rpc.ts#buildRunTestsExpression` uses) rather than relying on CDP\n * `returnByValue` structural fidelity for a plain object across the Chii\n * relay — the Node side re-parses via `JSON.parse`.\n *\n * Pure function — no I/O, no CDP call. Callers pass the returned string to\n * `Runtime.evaluate`.\n *\n * @param pace - Defaults to `true` (today's sequential+spacing+backoff\n * behavior). Pass `false` for a 3.x cell to skip the inter-probe delay and\n * the THROTTLED retry ladder entirely.\n */\nexport function buildPermissionPreflightExpression(pace = true): string {\n const probeKeys = Object.keys(PERMISSION_PROBE_MAP);\n const probeCalls = probeKeys\n .map((key, i) => {\n const fnName = PERMISSION_PROBE_MAP[key];\n // Every probe after the first waits PROBE_INTER_CALL_DELAY_MS first —\n // sequential execution with spacing, never a parallel burst. Skipped\n // entirely when `pace` is false (3.x cell — no native limiter to dodge).\n const spacing = i === 0 || !pace ? '' : ` await sleep(${PROBE_INTER_CALL_DELAY_MS});\\n`;\n return (\n `${spacing}` +\n ` result[${JSON.stringify(key)}] = await probeWithRetry(${JSON.stringify(fnName)});`\n );\n })\n .join('\\n');\n\n // 3.x cells never emit APP_BRIDGE_THROTTLED (it's a 2.x-bridge-only native\n // limiter) — an empty backoff ladder makes `probeWithRetry` resolve any\n // throw (throttled or not) to 'unavailable' on the FIRST attempt, with zero\n // retry sleeps, satisfying devtools#767 acceptance criteria 2.\n const backoffArray = pace ? `[${PROBE_RETRY_BACKOFF_MS.join(',')}]` : '[]';\n\n return (\n `(async () => {` +\n ` const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));` +\n ` const isThrottled = (e) => {` +\n ` if (!e) return false;` +\n ` if (e.code === ${JSON.stringify(THROTTLED_ERROR_CODE)}) return true;` +\n ` const msg = typeof e.message === 'string' ? e.message : '';` +\n ` return msg.indexOf(${JSON.stringify(THROTTLED_MESSAGE_SUBSTRING)}) !== -1;` +\n ` };` +\n ` const probe = async (fnName) => {` +\n ` const fn = globalThis.__sdk && globalThis.__sdk[fnName];` +\n ` if (!fn || typeof fn.getPermission !== 'function') return { ok: true, value: 'unavailable' };` +\n ` const status = await fn.getPermission();` +\n ` if (status === 'allowed' || status === 'denied' || status === 'notDetermined') return { ok: true, value: status };` +\n ` return { ok: true, value: 'unavailable' };` +\n ` };` +\n // probeWithRetry: up to PROBE_RETRY_BACKOFF_MS.length retries on THROTTLED,\n // backing off per PROBE_RETRY_BACKOFF_MS. Any OTHER throw (or a\n // non-throttled outcome) resolves to 'unavailable' immediately — only\n // THROTTLED gets a retry.\n ` const backoff = ${backoffArray};` +\n ` const probeWithRetry = async (fnName) => {` +\n ` for (let attempt = 0; attempt <= backoff.length; attempt++) {` +\n ` try {` +\n ` const r = await probe(fnName);` +\n ` return r.value;` +\n ` } catch (e) {` +\n ` if (isThrottled(e) && attempt < backoff.length) {` +\n ` await sleep(backoff[attempt]);` +\n ` continue;` +\n ` }` +\n ` return 'unavailable';` +\n ` }` +\n ` }` +\n ` return 'unavailable';` +\n ` };` +\n ` const result = {};` +\n `${probeCalls}\\n` +\n ` globalThis.__AIT_PERMS__ = result;` +\n ` return JSON.stringify(result);` +\n `})()`\n );\n}\n\n/**\n * Runs the permission-state preflight (devtools#739) via `Runtime.evaluate`\n * and returns the collected `__AIT_PERMS__` map, or `undefined` when the\n * preflight itself failed or timed out.\n *\n * NON-FATAL by design: any failure (CDP exception, timeout, page-side throw)\n * is caught here, logged as ONE stderr line, and swallowed — the whole test\n * run must proceed even when the preflight cannot complete (e.g. `window.__sdk`\n * not yet installed, or a page navigation mid-attach). Callers that want the\n * result for report provenance (`RelayRunReport.preflight`) get `undefined`\n * in that case, which downstream code treats the same as \"not run\".\n *\n * SECRET-HANDLING: no relay/wss/secret values are read or logged; only\n * permission-state strings cross this boundary.\n *\n * @param conn - The live CDP connection (relay-attached page).\n * @param timeoutMs - Round-trip bound. Defaults to {@link PERMISSION_PREFLIGHT_TIMEOUT_MS}.\n * @param pace - Forwarded to {@link buildPermissionPreflightExpression}.\n * Defaults to `true` (today's sequential+spacing+backoff behavior, correct\n * for 2.x/unknown cells). Callers that know the cell is 3.x should pass\n * `false` — devtools#767 acceptance criteria 2 requires 3.x run duration not\n * grow from this preflight, and 3.x never hits the 2.x-only\n * `APP_BRIDGE_THROTTLED` limiter this pacing exists to dodge.\n */\nexport async function runPermissionPreflight(\n conn: CdpConnection,\n timeoutMs = PERMISSION_PREFLIGHT_TIMEOUT_MS,\n pace = true,\n): Promise<Record<string, string> | undefined> {\n const TIMEOUT_SENTINEL = Symbol('permission-preflight-timeout');\n const timeoutPromise = new Promise<typeof TIMEOUT_SENTINEL>((resolve) =>\n setTimeout(() => resolve(TIMEOUT_SENTINEL), timeoutMs),\n );\n\n try {\n const evalPromise = conn.send('Runtime.evaluate', {\n expression: buildPermissionPreflightExpression(pace),\n returnByValue: true,\n awaitPromise: true,\n });\n\n const raceResult = await Promise.race([\n evalPromise.then((v) => ({ tag: 'eval' as const, v })),\n timeoutPromise.then(() => ({ tag: 'timeout' as const })),\n ]);\n\n if (raceResult.tag === 'timeout') {\n process.stderr.write(\n `test-runner: permission preflight timed out after ${timeoutMs}ms — proceeding with __AIT_PERMS__ unset\\n`,\n );\n return undefined;\n }\n\n if (raceResult.v.exceptionDetails) {\n process.stderr.write(\n 'test-runner: permission preflight threw — proceeding with __AIT_PERMS__ unset\\n',\n );\n return undefined;\n }\n\n const rawValue = raceResult.v.result.value;\n if (typeof rawValue !== 'string') return undefined;\n const parsed: unknown = JSON.parse(rawValue);\n if (typeof parsed !== 'object' || parsed === null) return undefined;\n return parsed as Record<string, string>;\n } catch (e) {\n process.stderr.write(\n `test-runner: permission preflight failed (${\n e instanceof Error ? e.message : String(e)\n }) — proceeding with __AIT_PERMS__ unset\\n`,\n );\n return undefined;\n }\n}\n\nimport { buildIndicatorExpression } from '../mcp/attach-orchestrator.js';\nimport type { CdpConnection } from '../mcp/cdp-connection.js';\n\n/**\n * Injects each key of `globals` into `globalThis` in the page via a single\n * `Runtime.evaluate` call. Must be called BEFORE the first `bundleTestFile`\n * inject — the cell is session-global and applies to all subsequent files.\n *\n * Throws if the CDP evaluate returns an exception.\n *\n * @param conn - The live CDP connection (relay-attached page).\n * @param globals - Plain-JSON-serialisable key→value map to assign onto `globalThis`.\n */\nexport async function injectGlobals(\n conn: CdpConnection,\n globals: Record<string, unknown>,\n): Promise<void> {\n // JSON.stringify is safe here: globals values are plain data (sdkLine/platform\n // strings or simple objects). If a value is not JSON-serialisable this throws\n // at call time, which surfaces the error early and clearly.\n const expr = `(() => { Object.assign(globalThis, ${JSON.stringify(globals)}); return true; })()`;\n const result = await conn.send('Runtime.evaluate', { expression: expr, returnByValue: true });\n if (result.exceptionDetails) {\n const msg =\n result.exceptionDetails.exception?.description ??\n result.exceptionDetails.text ??\n 'unknown error';\n throw new Error(`injectGlobals: Runtime.evaluate threw: ${msg}`);\n }\n}\n\n/**\n * Injects (or updates) the \"Debugger Connected\"/\"Debugger Disconnected\"\n * on-phone indicator via `Runtime.evaluate` (#730).\n *\n * Uses the same CDP mechanism as {@link injectGlobals} — a single\n * `Runtime.evaluate` round-trip with the expression built by\n * {@link buildIndicatorExpression}. The indicator is a LIVE badge rendered at\n * the bottom-left of the page (position:fixed, safe-area-aware): the badge's\n * controller is idempotent, so calling this again (e.g. right before\n * `close()` with `{ state: 'disconnected' }`) UPDATES the existing badge in\n * place instead of injecting a duplicate.\n *\n * **Isolation**: unlike {@link injectGlobals}, this function NEVER throws to\n * its caller. Injection failure (e.g. page detached during inject, CSS not\n * supported) is swallowed and logged as `console.debug` — the badge is\n * informational UI and must never block attach success or test execution.\n * This is the same fire-and-forget spirit as the in-page console mount in\n * `src/in-app/attach.ts`.\n *\n * Call this ONLY on the manual debug paths (start_attach MCP, devtools-test\n * CLI). Do NOT call on the `run_tests` auto-attach path — the badge\n * would contaminate screenshots, measure_safe_area probes, and DOM snapshots\n * taken during automated measurement runs.\n *\n * SECRET-HANDLING: the injected expression contains no secrets, relay URLs,\n * wss addresses, or TOTP codes — it is pure DOM UI text + enum state built by\n * {@link buildIndicatorExpression}.\n *\n * @param conn - The live CDP connection (relay-attached page).\n * @param opts - Optional overrides forwarded to {@link buildIndicatorExpression}.\n */\nexport async function injectDebugIndicator(\n conn: CdpConnection,\n opts?: { label?: string; disconnectedLabel?: string; state?: 'attached' | 'disconnected' },\n): Promise<void> {\n try {\n await conn.send('Runtime.evaluate', {\n expression: buildIndicatorExpression(opts),\n returnByValue: true,\n });\n } catch (err) {\n // Badge injection is informational UI — swallow and log; never propagate.\n console.debug('[@ait-co/devtools] debug indicator inject skipped:', err);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA,MAAa,uBAAuB;;AAGpC,MAAa,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACQ3C,MAAM,uBAA+C;CACnD,eAAe;CACf,gBAAgB;CAChB,OAAO;CACP,QAAQ;CACR,UAAU;CACV,UAAU;CACX;;;;;;;;;;;;;;AAeD,MAAM,4BAA4B;;;;;;;;;;AAWlC,MAAM,yBAAyB,CAAC,KAAK,IAAK;;;;;;;;;;;;;AAc1C,MAAa,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsD/C,SAAgB,mCAAmC,OAAO,MAAc;CAEtE,MAAM,aADY,OAAO,KAAK,qBAAqB,CAEhD,KAAK,KAAK,MAAM;EACf,MAAM,SAAS,qBAAqB;AAKpC,SACE,GAFc,MAAM,KAAK,CAAC,OAAO,KAAK,mBAAmB,0BAA0B,MAAA,aAGrE,KAAK,UAAU,IAAI,CAAC,2BAA2B,KAAK,UAAU,OAAO,CAAC;GAEtF,CACD,KAAK,KAAK;CAMb,MAAM,eAAe,OAAO,IAAI,uBAAuB,KAAK,IAAI,CAAC,KAAK;AAEtE,QACE,qKAIsB,KAAK,UAAU,qBAAqB,CAAC,sGAEjC,KAAK,UAAU,4BAA4B,CAAC,qbAajD,aAAa,kaAiB/B,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BlB,eAAsB,uBACpB,MACA,YAAY,iCACZ,OAAO,MACsC;CAC7C,MAAM,mBAAmB,OAAO,+BAA+B;CAC/D,MAAM,iBAAiB,IAAI,SAAkC,YAC3D,iBAAiB,QAAQ,iBAAiB,EAAE,UAAU,CACvD;AAED,KAAI;EACF,MAAM,cAAc,KAAK,KAAK,oBAAoB;GAChD,YAAY,mCAAmC,KAAK;GACpD,eAAe;GACf,cAAc;GACf,CAAC;EAEF,MAAM,aAAa,MAAM,QAAQ,KAAK,CACpC,YAAY,MAAM,OAAO;GAAE,KAAK;GAAiB;GAAG,EAAE,EACtD,eAAe,YAAY,EAAE,KAAK,WAAoB,EAAE,CACzD,CAAC;AAEF,MAAI,WAAW,QAAQ,WAAW;AAChC,WAAQ,OAAO,MACb,qDAAqD,UAAU,4CAChE;AACD;;AAGF,MAAI,WAAW,EAAE,kBAAkB;AACjC,WAAQ,OAAO,MACb,kFACD;AACD;;EAGF,MAAM,WAAW,WAAW,EAAE,OAAO;AACrC,MAAI,OAAO,aAAa,SAAU,QAAO,KAAA;EACzC,MAAM,SAAkB,KAAK,MAAM,SAAS;AAC5C,MAAI,OAAO,WAAW,YAAY,WAAW,KAAM,QAAO,KAAA;AAC1D,SAAO;UACA,GAAG;AACV,UAAQ,OAAO,MACb,6CACE,aAAa,QAAQ,EAAE,UAAU,OAAO,EAAE,CAC3C,2CACF;AACD;;;;;;;;;;;;;AAiBJ,eAAsB,cACpB,MACA,SACe;CAIf,MAAM,OAAO,sCAAsC,KAAK,UAAU,QAAQ,CAAC;CAC3E,MAAM,SAAS,MAAM,KAAK,KAAK,oBAAoB;EAAE,YAAY;EAAM,eAAe;EAAM,CAAC;AAC7F,KAAI,OAAO,kBAAkB;EAC3B,MAAM,MACJ,OAAO,iBAAiB,WAAW,eACnC,OAAO,iBAAiB,QACxB;AACF,QAAM,IAAI,MAAM,0CAA0C,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCpE,eAAsB,qBACpB,MACA,MACe;AACf,KAAI;AACF,QAAM,KAAK,KAAK,oBAAoB;GAClC,YAAY,yBAAyB,KAAK;GAC1C,eAAe;GAChB,CAAC;UACK,KAAK;AAEZ,UAAQ,MAAM,sDAAsD,IAAI"}
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
6
|
-
import "./relay-secret-store-
|
|
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-6kz_ZdWL.js";
|
|
4
|
+
import "./cell-BMlFh08P.js";
|
|
5
|
+
import "./qr-http-server-D1hpoyBF.js";
|
|
6
|
+
import "./relay-secret-store-DKxs7zwq.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import "@modelcontextprotocol/sdk/server/index.js";
|
|
9
9
|
import "@modelcontextprotocol/sdk/server/stdio.js";
|
|
@@ -578,7 +578,21 @@ USAGE
|
|
|
578
578
|
|
|
579
579
|
OPTIONS
|
|
580
580
|
--scheme-url <url> intoss-private:// URL from \`ait deploy --scheme-only\`
|
|
581
|
-
(required for standalone relay attach / env3)
|
|
581
|
+
(required for standalone relay attach / env3). Unused
|
|
582
|
+
and ignored when --attach-launcher is set.
|
|
583
|
+
--attach-launcher Attach over the env-2 AITC Sandbox PWA launcher
|
|
584
|
+
(real-device WebKit) instead of the env-3 intoss
|
|
585
|
+
scheme deep-link. The relay/QR/dashboard/attach-wait
|
|
586
|
+
are identical; only the QR is a launcher deep-link.
|
|
587
|
+
Requires --app-url. The SDK still hits the mock in
|
|
588
|
+
env 2, so this measures the mock + standard Web API
|
|
589
|
+
layer's engine-attributable behavior (env1↔env2
|
|
590
|
+
equivalence), NOT native-bridge fidelity (that is env3).
|
|
591
|
+
--app-url <url> The consumer dev server's HTTP tunnel URL (e.g. the
|
|
592
|
+
*.trycloudflare.com URL from \`pnpm dev:phone:cdp\`)
|
|
593
|
+
that the launcher PWA frames. REQUIRED with
|
|
594
|
+
--attach-launcher; ignored otherwise. SECRET: a tunnel
|
|
595
|
+
host — never printed; it rides only inside the QR.
|
|
582
596
|
--timeout <ms> Per-file evaluate timeout in ms (default: 60000).
|
|
583
597
|
Controls how long a single test file is allowed to run
|
|
584
598
|
before it is considered hung. Does NOT affect how long
|
|
@@ -590,7 +604,10 @@ OPTIONS
|
|
|
590
604
|
Pass a value to bound the wait for CI/headless runs.
|
|
591
605
|
--cell-sdk-line <line> SDK line to inject as __AIT_CELL__.sdkLine (2.x|3.x)
|
|
592
606
|
--cell-platform <plat> Platform to inject as __AIT_CELL__.platform
|
|
593
|
-
(mock|ios|android, default: AIT_CELL_PLATFORM
|
|
607
|
+
(mock|ios|android|ios-pwa, default: AIT_CELL_PLATFORM
|
|
608
|
+
env). Use ios-pwa for env-2 (--attach-launcher) runs
|
|
609
|
+
so env1(mock@desktop) and env2(mock@WebKit) captures
|
|
610
|
+
stay distinguishable. An unknown value is rejected.
|
|
594
611
|
--report-dir <dir> Persist a runner-agnostic report + captures to <dir>
|
|
595
612
|
(report: <sdkLine>.<platform>.json; captures:
|
|
596
613
|
<dir>/.ait-capture/<category>.<sdkLine>.<platform>.json).
|
|
@@ -605,6 +622,28 @@ OPTIONS
|
|
|
605
622
|
--headless Disable browser auto-open (text QR only)
|
|
606
623
|
--project-root <dir> Project root for .ait_relay secret lookup
|
|
607
624
|
(default: current working directory)
|
|
625
|
+
--pace <ms> Minimum delay in ms between test-to-test AND
|
|
626
|
+
file-to-file bridge calls (default: 0, i.e. no
|
|
627
|
+
added delay — today's behavior byte-for-byte).
|
|
628
|
+
Falls back to the AIT_PACE env var when omitted
|
|
629
|
+
(--pace takes precedence over the env var when both
|
|
630
|
+
are given). Use on a 2.x cell scan when the native
|
|
631
|
+
per-method bridge rate limit (APP_BRIDGE_THROTTLED,
|
|
632
|
+
devtools#767) is rejecting rapid same-method calls —
|
|
633
|
+
3.x cells are unaffected by that limiter and do not
|
|
634
|
+
need this flag.
|
|
635
|
+
--pace-method <ms> Minimum delay in ms BETWEEN calls to the SAME named
|
|
636
|
+
SDK function — paces a same-method burst WITHIN a
|
|
637
|
+
single test body (e.g. a clipboard happy-path loop
|
|
638
|
+
calling setClipboardText/getClipboardText 8 times
|
|
639
|
+
back to back), which --pace's test/file spacing
|
|
640
|
+
cannot reach (devtools#769). Falls back to the
|
|
641
|
+
AIT_PACE_METHOD env var when omitted (--pace-method
|
|
642
|
+
takes precedence over the env var when both are
|
|
643
|
+
given). Default: 250ms when --cell-sdk-line is 2.x
|
|
644
|
+
(unset --cell-sdk-line also defaults to 2.x — see
|
|
645
|
+
--cell-sdk-line), 0 (no added delay) otherwise. Pass
|
|
646
|
+
--pace-method 0 to opt out even on a 2.x cell.
|
|
608
647
|
--manual-blocking Run manual-tagged test files (*.manual.ait.test.ts)
|
|
609
648
|
LAST, after all regular files, with a human present.
|
|
610
649
|
Before each manual file, the QR dashboard is pushed
|
|
@@ -657,7 +696,7 @@ DESCRIPTION
|
|
|
657
696
|
The test files run against the live relay connection started by this process;
|
|
658
697
|
no separate MCP daemon is required.
|
|
659
698
|
|
|
660
|
-
EXAMPLE
|
|
699
|
+
EXAMPLE (env 3 — intoss-private scheme)
|
|
661
700
|
devtools-test 'src/**/*.ait.test.ts' \\
|
|
662
701
|
--scheme-url "intoss-private://..." \\
|
|
663
702
|
--cell-sdk-line 3.x \\
|
|
@@ -665,6 +704,14 @@ EXAMPLE
|
|
|
665
704
|
--report-dir .ait-report \\
|
|
666
705
|
--timeout 60000
|
|
667
706
|
|
|
707
|
+
EXAMPLE (env 2 — AITC Sandbox PWA launcher)
|
|
708
|
+
devtools-test 'src/**/*.ait.test.ts' \\
|
|
709
|
+
--attach-launcher \\
|
|
710
|
+
--app-url "https://<subdomain>.trycloudflare.com" \\
|
|
711
|
+
--cell-sdk-line 3.x \\
|
|
712
|
+
--cell-platform ios-pwa \\
|
|
713
|
+
--report-dir .ait-report
|
|
714
|
+
|
|
668
715
|
`.trimStart();
|
|
669
716
|
//#endregion
|
|
670
717
|
//#region src/mcp/chii-relay.ts
|
|
@@ -926,6 +973,82 @@ async function startChiiRelay(options = {}) {
|
|
|
926
973
|
//#endregion
|
|
927
974
|
//#region src/mcp/debug-server.ts
|
|
928
975
|
/**
|
|
976
|
+
* Starts a polling watcher that detects target-set changes on
|
|
977
|
+
* `connection.listTargets()` and sends a `notifications/tools/list_changed`
|
|
978
|
+
* notification on the given server.
|
|
979
|
+
*
|
|
980
|
+
* The watcher polls every `intervalMs` (default 1 000 ms). On each tick it
|
|
981
|
+
* calls `connection.refreshTargets?.()` first (fix #705-B) so that silent
|
|
982
|
+
* disconnects (no CDP event, phone backgrounded / tunnel quiet) are picked up
|
|
983
|
+
* before the signature is read. If `refreshTargets` throws — e.g. a transient
|
|
984
|
+
* relay error — the tick is skipped entirely to avoid a spurious detach signal.
|
|
985
|
+
*
|
|
986
|
+
* After the refresh, it fires `server.sendToolListChanged()` + `onAttach()`
|
|
987
|
+
* whenever the sorted target-id signature changes AND the new target set is
|
|
988
|
+
* non-empty. This covers:
|
|
989
|
+
* - 0→N first attach
|
|
990
|
+
* - 1→1 target replacement (same count, different id — e.g. rescan)
|
|
991
|
+
* - N→M any change where the result is still non-empty
|
|
992
|
+
*
|
|
993
|
+
* Full detach (→ empty) fires `onDetach()` (fix #705-A) on the exact
|
|
994
|
+
* non-empty→empty edge — i.e. only when the previous signature was non-empty.
|
|
995
|
+
* This lets callers push an immediate "disconnected" SSE update to the
|
|
996
|
+
* dashboard without waiting for the next periodic interval.
|
|
997
|
+
*
|
|
998
|
+
* The interval is **never cleared automatically** — it keeps running until
|
|
999
|
+
* `stop()` is called during shutdown. This ensures that a target replacement
|
|
1000
|
+
* after the first attach is always detected.
|
|
1001
|
+
*
|
|
1002
|
+
* `onAttach` is called on every non-empty signature change (or immediately when
|
|
1003
|
+
* already attached). Use this to trigger side-effects such as pushing a fresh
|
|
1004
|
+
* SSE state to open dashboard tabs (issue #509). Both callbacks are optional;
|
|
1005
|
+
* omitting them preserves the previous behaviour exactly.
|
|
1006
|
+
*
|
|
1007
|
+
* SECRET-HANDLING: target `id`/`title`/`url` are not written to any log here.
|
|
1008
|
+
* Only an attach-detected stderr line is emitted (no target details).
|
|
1009
|
+
*
|
|
1010
|
+
* `server` is optional (devtools#772): the standalone test-runner path
|
|
1011
|
+
* (`test-runner/relay-factory.ts`) has no MCP `Server` instance to notify —
|
|
1012
|
+
* it only needs the `onAttach`/`onDetach` dashboard-push side effects. When
|
|
1013
|
+
* omitted, `sendToolListChanged()` is simply skipped; the signature-diff and
|
|
1014
|
+
* callback logic is byte-for-byte the same. Existing MCP daemon call sites
|
|
1015
|
+
* always pass a real `Server`, so their behavior is unchanged.
|
|
1016
|
+
*
|
|
1017
|
+
* @returns `stop` — call this during shutdown to clear the interval.
|
|
1018
|
+
*/
|
|
1019
|
+
function startAttachWatcher(connection, server, intervalMs = 1e3, onAttach, onDetach) {
|
|
1020
|
+
/** Sorted, comma-joined target-id string — '' means no targets attached. */
|
|
1021
|
+
function signature() {
|
|
1022
|
+
return connection.listTargets().map((t) => t.id).sort().join(",");
|
|
1023
|
+
}
|
|
1024
|
+
let lastSignature = signature();
|
|
1025
|
+
if (lastSignature !== "") {
|
|
1026
|
+
server?.sendToolListChanged();
|
|
1027
|
+
onAttach?.();
|
|
1028
|
+
}
|
|
1029
|
+
/** Compare current vs last signature and fire the appropriate callback. */
|
|
1030
|
+
function tick() {
|
|
1031
|
+
const current = signature();
|
|
1032
|
+
if (current !== lastSignature) {
|
|
1033
|
+
const wasNonEmpty = lastSignature !== "";
|
|
1034
|
+
lastSignature = current;
|
|
1035
|
+
if (current !== "") {
|
|
1036
|
+
server?.sendToolListChanged();
|
|
1037
|
+
onAttach?.();
|
|
1038
|
+
} else if (wasNonEmpty) onDetach?.();
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
const handle = setInterval(() => {
|
|
1042
|
+
if (connection.refreshTargets) connection.refreshTargets().then(() => {
|
|
1043
|
+
tick();
|
|
1044
|
+
}, (_err) => {});
|
|
1045
|
+
else tick();
|
|
1046
|
+
}, intervalMs);
|
|
1047
|
+
return { stop() {
|
|
1048
|
+
clearInterval(handle);
|
|
1049
|
+
} };
|
|
1050
|
+
}
|
|
1051
|
+
/**
|
|
929
1052
|
* Factory that constructs a `ChiiCdpConnection` for the given relay base URL.
|
|
930
1053
|
*
|
|
931
1054
|
* Introduced as a named seam so PR-2 (dual-connection, #348) can defer
|
|
@@ -1030,6 +1153,6 @@ async function bootRelayFamily(options = {}) {
|
|
|
1030
1153
|
};
|
|
1031
1154
|
}
|
|
1032
1155
|
//#endregion
|
|
1033
|
-
export { bootRelayFamily, buildRelayVerifyAuth };
|
|
1156
|
+
export { bootRelayFamily, buildRelayVerifyAuth, startAttachWatcher };
|
|
1034
1157
|
|
|
1035
|
-
//# sourceMappingURL=debug-server-
|
|
1158
|
+
//# sourceMappingURL=debug-server-6c22qSWa.js.map
|