sootsim 0.1.293 → 0.1.294
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/detox/expectations.ts +4 -3
- package/detox/index.ts +2 -4
- package/dist-cli/bin.js +7 -5
- package/dist-cli/chunks/{agent-YWI2NWL7.js → agent-GDFF6G7N.js} +4 -2
- package/dist-cli/chunks/{agent-wrapper-IYJ7UZOA.js → agent-wrapper-ZUKQUOD2.js} +4 -2
- package/dist-cli/chunks/{app-fonts-FQFUC4LR.js → app-fonts-IMYBO6AQ.js} +4 -2
- package/dist-cli/chunks/{assert-XUCELWAC.js → assert-GXOGZUKO.js} +4 -2
- package/dist-cli/chunks/{auth-4DQTV3OW.js → auth-P7FAKLHQ.js} +4 -2
- package/dist-cli/chunks/beta-RXT5RU3A.js +4 -0
- package/dist-cli/chunks/{camera-RYOHBVZA.js → camera-RNVAC4IO.js} +4 -2
- package/dist-cli/chunks/{chunk-2XYCSFGN.js → chunk-24BJFJFB.js} +26 -24
- package/dist-cli/chunks/{chunk-WVMYRKSS.js → chunk-2M7OZ6Y4.js} +4 -2
- package/dist-cli/chunks/chunk-37ZXWXM3.js +4 -0
- package/dist-cli/chunks/{chunk-UOHGYYSO.js → chunk-3F2GAJ4Z.js} +3 -1
- package/dist-cli/chunks/{chunk-KC5SCOGS.js → chunk-4Z4URZOG.js} +4 -2
- package/dist-cli/chunks/{chunk-LOQLZFRK.js → chunk-5S3GPTX7.js} +4 -2
- package/dist-cli/chunks/chunk-6YN3IAWJ.js +4 -0
- package/dist-cli/chunks/{chunk-YRFWATLA.js → chunk-7HVMAGDK.js} +4 -2
- package/dist-cli/chunks/{chunk-4B4VFT73.js → chunk-7Q77LTPT.js} +7 -5
- package/dist-cli/chunks/{chunk-RKXHQ2Q3.js → chunk-AFLGWOX3.js} +18 -16
- package/dist-cli/chunks/{chunk-LA5DIO33.js → chunk-AMKQUZA2.js} +3 -1
- package/dist-cli/chunks/{chunk-TJS5IMOH.js → chunk-AO65WEF7.js} +3 -1
- package/dist-cli/chunks/{chunk-BQT5YDTV.js → chunk-BBVBMGTT.js} +5 -3
- package/dist-cli/chunks/{chunk-WPPMUUML.js → chunk-BXO2PTNM.js} +4 -2
- package/dist-cli/chunks/{chunk-2VKTOZQ5.js → chunk-CTMPC5DN.js} +4 -2
- package/dist-cli/chunks/{chunk-RV67J726.js → chunk-D2R7PDN5.js} +3 -1
- package/dist-cli/chunks/{chunk-RMLJXP7T.js → chunk-DI55E6CS.js} +4 -2
- package/dist-cli/chunks/chunk-DUHBRW7J.js +4 -0
- package/dist-cli/chunks/chunk-EXTV6NWM.js +74 -0
- package/dist-cli/chunks/{chunk-6IFJLHDA.js → chunk-FNCSUHUR.js} +3 -1
- package/dist-cli/chunks/{chunk-DE4ZA3NL.js → chunk-FSRRJGYC.js} +4 -2
- package/dist-cli/chunks/{chunk-UPKYK52K.js → chunk-I233T2T4.js} +4 -2
- package/dist-cli/chunks/{chunk-E5WYXRGV.js → chunk-ISJ4ACWL.js} +28 -26
- package/dist-cli/chunks/{chunk-AFRXWKTA.js → chunk-JFWEDISV.js} +3 -1
- package/dist-cli/chunks/chunk-JGGXQHXH.js +10 -0
- package/dist-cli/chunks/chunk-JUOQ4ZPA.js +7 -0
- package/dist-cli/chunks/{chunk-2M57EAWS.js → chunk-K53YCAQM.js} +3 -1
- package/dist-cli/chunks/{chunk-7B6RGFTM.js → chunk-KWIURH7N.js} +4 -2
- package/dist-cli/chunks/{chunk-VO74GDXL.js → chunk-N4MT5KEB.js} +5 -3
- package/dist-cli/chunks/{chunk-VZ44FQDG.js → chunk-O6I5ZGMY.js} +3 -1
- package/dist-cli/chunks/chunk-OKSGM6IG.js +4 -0
- package/dist-cli/chunks/chunk-OYYQQBKP.js +3 -0
- package/dist-cli/chunks/{chunk-NCCMRFXU.js → chunk-PSOUSJSZ.js} +3 -1
- package/dist-cli/chunks/{chunk-J6P2UPXH.js → chunk-PZTKQG6H.js} +4 -2
- package/dist-cli/chunks/{chunk-B7TX4WFB.js → chunk-RWUNC66S.js} +4 -2
- package/dist-cli/chunks/{chunk-547W23BB.js → chunk-SLMUW2WU.js} +4 -2
- package/dist-cli/chunks/{chunk-WI36YJ23.js → chunk-SPQKJDIK.js} +3 -1
- package/dist-cli/chunks/{chunk-PCAPHXN3.js → chunk-V2MYTL4C.js} +4 -2
- package/dist-cli/chunks/{chunk-JOPKZVOW.js → chunk-VVVORIQI.js} +3 -1
- package/dist-cli/chunks/chunk-VXGCZUX4.js +5 -0
- package/dist-cli/chunks/chunk-W44PDEQH.js +4 -0
- package/dist-cli/chunks/{chunk-WOWLO4LL.js → chunk-WQL3BLFD.js} +3 -1
- package/dist-cli/chunks/{chunk-U3564F2Y.js → chunk-WYRLRNIP.js} +4 -2
- package/dist-cli/chunks/{chunk-WP3TFHFL.js → chunk-XYFP466E.js} +4 -2
- package/dist-cli/chunks/chunk-ZFMJFX27.js +4 -0
- package/dist-cli/chunks/{chunk-67CIS55C.js → chunk-ZUX5PIGI.js} +3 -1
- package/dist-cli/chunks/{cleanup-BLFDJSFS.js → cleanup-74SKOD2P.js} +4 -2
- package/dist-cli/chunks/cli-version-2JGMYL4O.js +4 -0
- package/dist-cli/chunks/{compat-Q3WCSTB7.js → compat-ME6HXEEU.js} +5 -3
- package/dist-cli/chunks/{config-NHNMRRNB.js → config-PM67EWT3.js} +4 -2
- package/dist-cli/chunks/control-HV7GZXAH.js +4 -0
- package/dist-cli/chunks/daemon-LKRHF5OK.js +4 -0
- package/dist-cli/chunks/{debug-PGRMZFXA.js → debug-XUGWZLIW.js} +5 -3
- package/dist-cli/chunks/{desktop-NVTQ37LH.js → desktop-IO5HPX5Z.js} +5 -3
- package/dist-cli/chunks/{detox-W3JDXS76.js → detox-E42OEJJZ.js} +4 -2
- package/dist-cli/chunks/{device-KQYN3EVK.js → device-XA67L2EB.js} +4 -2
- package/dist-cli/chunks/{diagnose-CPUKSGNO.js → diagnose-36FD6ECF.js} +4 -2
- package/dist-cli/chunks/disk-cleanup-DDCFGFWK.js +4 -0
- package/dist-cli/chunks/drivers-C2SH3DWS.js +4 -0
- package/dist-cli/chunks/{film-VZGAZ2YY.js → film-XARTGFIZ.js} +11 -24
- package/dist-cli/chunks/flow-E64G5LF3.js +4 -0
- package/dist-cli/chunks/help-4ZSRG4F4.js +4 -0
- package/dist-cli/chunks/{hidden-runtime-alias-KWHABCNZ.js → hidden-runtime-alias-T4ZALBE2.js} +4 -2
- package/dist-cli/chunks/{home-paths-O4CGYVHF.js → home-paths-5L7N2FLS.js} +4 -2
- package/dist-cli/chunks/inspect-U2SV25ER.js +4 -0
- package/dist-cli/chunks/install-desktop-LTGVT7ID.js +4 -0
- package/dist-cli/chunks/{login-KPN4Z26Q.js → login-GF6WVVER.js} +6 -4
- package/dist-cli/chunks/logout-6F6UKUNI.js +4 -0
- package/dist-cli/chunks/{maestro-PYA4AHTS.js → maestro-FMPKHEMX.js} +13 -11
- package/dist-cli/chunks/{maestro-generate-KCMYWPWL.js → maestro-generate-QGPGNXI6.js} +5 -3
- package/dist-cli/chunks/{mode-AEB7G2SJ.js → mode-JSNMAHDZ.js} +4 -2
- package/dist-cli/chunks/optional-demo-registry-K4VERLJV.js +4 -0
- package/dist-cli/chunks/{perf-YLXGZI3E.js → perf-PO7ARUTG.js} +4 -2
- package/dist-cli/chunks/{permissions-7VMVZOUV.js → permissions-XI2QUAEZ.js} +4 -2
- package/dist-cli/chunks/{record-AVQO45PE.js → record-4CJCJAFD.js} +5 -3
- package/dist-cli/chunks/runtime-SN2RWDES.js +4 -0
- package/dist-cli/chunks/{screenshot-command-LACQLA4N.js → screenshot-command-NDVULWMZ.js} +5 -3
- package/dist-cli/chunks/{screenshots-capture-PROOBSGB.js → screenshots-capture-Q7UTXF3V.js} +4 -2
- package/dist-cli/chunks/{serve-FJN2FRGW.js → serve-UEUIBHCK.js} +4 -2
- package/dist-cli/chunks/{setup-IVV4NRYQ.js → setup-ZEEWYK4B.js} +5 -3
- package/dist-cli/chunks/{skills-WYR3PJOH.js → skills-NFG6VAO5.js} +4 -2
- package/dist-cli/chunks/{storage-GM7K4MGM.js → storage-POWCOUCQ.js} +4 -2
- package/dist-cli/chunks/store-BJK7V7FL.js +4 -0
- package/dist-cli/chunks/telemetry-EJP5EW7K.js +4 -0
- package/dist-cli/chunks/{timeline-R5UL3N4T.js → timeline-MNHZCVAL.js} +4 -2
- package/dist-cli/chunks/{upgrade-RWHSFZRX.js → upgrade-X57SIG7L.js} +4 -2
- package/dist-cli/chunks/upload-JABM3ITZ.js +4 -0
- package/dist-cli/chunks/{version-7K6TVQOW.js → version-V4IKIDX7.js} +4 -2
- package/dist-cli/chunks/web-F5CLF34I.js +4 -0
- package/dist-cli/chunks/{what-happened-K24TSJZX.js → what-happened-H74HHGRK.js} +4 -2
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +3 -3
- package/dist-lib/agent-sessions.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/cli-constants.cjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/detox/index.cjs +5 -4
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +3 -3
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/menu.cjs +45 -4
- package/dist-lib/menu.mjs +42 -4
- package/dist-lib/metro.cjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +5 -2
- package/dist-lib/sdk.mjs +4 -2
- package/dist-lib/skills.cjs +325 -182
- package/dist-lib/vite.cjs +1 -1
- package/package.json +6 -1
- package/scripts/postinstall.cjs +11 -2
- package/src/agent-identity.ts +2 -2
- package/src/menu.ts +53 -4
- package/src/vite-plugin.ts +102 -2
- package/dist-cli/chunks/beta-CFDAW6UN.js +0 -2
- package/dist-cli/chunks/chunk-3UX6AY2B.js +0 -2
- package/dist-cli/chunks/chunk-6VVLDYPV.js +0 -8
- package/dist-cli/chunks/chunk-7H34H74K.js +0 -72
- package/dist-cli/chunks/chunk-7H5G4HUK.js +0 -2
- package/dist-cli/chunks/chunk-ACSTEPSD.js +0 -2
- package/dist-cli/chunks/chunk-HKMWUN7F.js +0 -2
- package/dist-cli/chunks/chunk-K5JEUI5G.js +0 -5
- package/dist-cli/chunks/chunk-MOU2WLO4.js +0 -2
- package/dist-cli/chunks/chunk-QXDXUDJD.js +0 -1
- package/dist-cli/chunks/chunk-USJTVC7T.js +0 -2
- package/dist-cli/chunks/chunk-YNG4C3ZS.js +0 -2
- package/dist-cli/chunks/cli-version-TQHZOK4L.js +0 -2
- package/dist-cli/chunks/control-I7YBDRJT.js +0 -2
- package/dist-cli/chunks/daemon-4R3SZLZY.js +0 -2
- package/dist-cli/chunks/disk-cleanup-2COWZWBC.js +0 -2
- package/dist-cli/chunks/drivers-RRZM6E72.js +0 -2
- package/dist-cli/chunks/flow-VH6DFDQ4.js +0 -2
- package/dist-cli/chunks/help-3HQ2RINO.js +0 -2
- package/dist-cli/chunks/inspect-PKMJGXDH.js +0 -2
- package/dist-cli/chunks/install-desktop-K5TP3ZHJ.js +0 -2
- package/dist-cli/chunks/logout-E3UCJAMC.js +0 -2
- package/dist-cli/chunks/optional-demo-registry-AIWOBAAA.js +0 -2
- package/dist-cli/chunks/runtime-HOGETVVD.js +0 -2
- package/dist-cli/chunks/store-YLVHPKG7.js +0 -2
- package/dist-cli/chunks/telemetry-MQKB6PFX.js +0 -2
- package/dist-cli/chunks/upload-RBH4XGJ2.js +0 -2
- package/dist-cli/chunks/web-46ZPQCAL.js +0 -2
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
2
|
-
import{
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
+
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
+
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
+
import{D as N,E as F,G as y,R as T,S as b,T as S}from"./chunk-AFLGWOX3.js";import{g as A,i as _}from"./chunk-PZTKQG6H.js";import"./chunk-OKSGM6IG.js";import{c as k}from"./chunk-JUOQ4ZPA.js";import"./chunk-WQL3BLFD.js";import"./chunk-D2R7PDN5.js";function O(n){let t=[];for(let e=0;e<n.length;e++)if(n[e]==="--since"&&e+1<n.length){t.push(e,e+1);let s=n[e+1].trim(),l=/^(\d+(?:\.\d+)?)(ms|s|m)?$/.exec(s);if(l){let r=Number(l[1]),u=l[2]??"ms",v=u==="s"?r*1e3:u==="m"?r*6e4:r;return{since:Date.now()-v,consumed:t}}let i=Number(s);if(Number.isFinite(i)&&i>1e12)return{since:i,consumed:t}}return{consumed:t}}function B(n){let t=[];for(let e=0;e<n.length;e++)if(n[e]==="--kinds"&&e+1<n.length)return t.push(e,e+1),{kinds:n[e+1].split(",").map(s=>s.trim()).filter(Boolean),consumed:t};return{consumed:t}}function D(n){let t=[];for(let e=0;e<n.length;e++)if(n[e]==="--limit"&&e+1<n.length){t.push(e,e+1);let s=Number(n[e+1]);if(Number.isFinite(s)&&s>0)return{limit:s,consumed:t}}return{consumed:t}}function x(n){let t=[],e={label:"initial state",events:[],startedAt:n[0]?.t??null};t.push(e);for(let s of n)if(e.events.push(s),s.kind==="screen"||s.kind==="route"){let l=s.data,i=l?.phase;if(!i||i==="enter"||i==="appear"||i==="active"){let r=l?.name||l?.activeName||l?.path||l?.pathname||s.kind;t.length===1&&e.events.length===1?e.label=`${s.kind}: ${r}`:(e={label:`${s.kind}: ${r}`,events:[],startedAt:s.t},t.push(e))}}return t}async function J(n,t){let e=A(n,{port:t.port,stripBooleanFlags:["--summary","--all","--json","--no-advance","--help","-h","--flow","--noisy"],stripValueFlags:["--since","--kinds","--limit"]});(n.includes("--help")||n.includes("-h"))&&(console.log(`
|
|
3
5
|
sootsim what-happened \u2014 show recent events from the semantic timeline
|
|
4
6
|
|
|
5
7
|
usage:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -37,8 +37,8 @@ function agentSessionIdFromCliIdentity(identity) {
|
|
|
37
37
|
return source === "SOOTSIM_CLI_IDENTITY" && value ? value : null;
|
|
38
38
|
}
|
|
39
39
|
function teamMachineSessionIdFromCliIdentity(identity) {
|
|
40
|
-
if (!identity?.startsWith("
|
|
41
|
-
const sessionId = identity.slice("
|
|
40
|
+
if (!identity?.startsWith("TM_SESSION:")) return null;
|
|
41
|
+
const sessionId = identity.slice("TM_SESSION:".length).trim();
|
|
42
42
|
if (!TEAM_MACHINE_SESSION_RE.test(sessionId)) return null;
|
|
43
43
|
return sessionId;
|
|
44
44
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -37,7 +37,8 @@ __export(detox_exports, {
|
|
|
37
37
|
device: () => device,
|
|
38
38
|
element: () => element,
|
|
39
39
|
expect: () => sootsimExpect,
|
|
40
|
-
waitFor: () => sootsimWaitFor
|
|
40
|
+
waitFor: () => sootsimWaitFor,
|
|
41
|
+
waitForSootsimIdle: () => waitForSootsimIdle
|
|
41
42
|
});
|
|
42
43
|
module.exports = __toCommonJS(detox_exports);
|
|
43
44
|
var fs = __toESM(require("fs"), 1);
|
|
@@ -1699,7 +1700,6 @@ function createSootSimElement(matcher) {
|
|
|
1699
1700
|
},
|
|
1700
1701
|
{ x: targetSootSimX, y: targetSootSimY }
|
|
1701
1702
|
);
|
|
1702
|
-
await page.waitForTimeout(50);
|
|
1703
1703
|
if (_synchronizationEnabled) {
|
|
1704
1704
|
await waitForSootsimIdle(page);
|
|
1705
1705
|
}
|
|
@@ -2368,5 +2368,6 @@ async function cleanup() {
|
|
|
2368
2368
|
device,
|
|
2369
2369
|
element,
|
|
2370
2370
|
expect,
|
|
2371
|
-
waitFor
|
|
2371
|
+
waitFor,
|
|
2372
|
+
waitForSootsimIdle
|
|
2372
2373
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -2337,8 +2337,8 @@ var import_node_child_process3 = require("node:child_process");
|
|
|
2337
2337
|
// src/agent-identity.ts
|
|
2338
2338
|
var TEAM_MACHINE_SESSION_RE = /^[A-Za-z0-9._:-]{1,160}$/;
|
|
2339
2339
|
function teamMachineSessionIdFromCliIdentity(identity) {
|
|
2340
|
-
if (!identity?.startsWith("
|
|
2341
|
-
const sessionId = identity.slice("
|
|
2340
|
+
if (!identity?.startsWith("TM_SESSION:")) return null;
|
|
2341
|
+
const sessionId = identity.slice("TM_SESSION:".length).trim();
|
|
2342
2342
|
if (!TEAM_MACHINE_SESSION_RE.test(sessionId)) return null;
|
|
2343
2343
|
return sessionId;
|
|
2344
2344
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/host/fetch-proxy-overrides.ts
|
|
4
4
|
var FETCH_PROXY_BROWSER_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -22,6 +22,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
22
22
|
// src/menu.ts
|
|
23
23
|
var menu_exports = {};
|
|
24
24
|
__export(menu_exports, {
|
|
25
|
+
SOOTSIM_AMBIENT_GLOW_LABELS: () => SOOTSIM_AMBIENT_GLOW_LABELS,
|
|
26
|
+
SOOTSIM_AMBIENT_GLOW_LEVELS: () => SOOTSIM_AMBIENT_GLOW_LEVELS,
|
|
25
27
|
SOOTSIM_ENGINE_EVENT_NAME: () => SOOTSIM_ENGINE_EVENT_NAME,
|
|
26
28
|
SOOTSIM_SHELL_COMMAND_NAME: () => SOOTSIM_SHELL_COMMAND_NAME,
|
|
27
29
|
buildSootSimDeviceChoiceDefs: () => buildSootSimDeviceChoiceDefs,
|
|
@@ -31,11 +33,21 @@ __export(menu_exports, {
|
|
|
31
33
|
getMenuShortcutEntriesFromDefs: () => getMenuShortcutEntriesFromDefs,
|
|
32
34
|
getShortcutDocSections: () => getShortcutDocSections,
|
|
33
35
|
getShortcutDocSectionsFromDefs: () => getShortcutDocSectionsFromDefs,
|
|
36
|
+
isSootSimAmbientGlowLevel: () => isSootSimAmbientGlowLevel,
|
|
34
37
|
matchesAccelerator: () => matchesAccelerator
|
|
35
38
|
});
|
|
36
39
|
module.exports = __toCommonJS(menu_exports);
|
|
37
40
|
var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
|
|
38
41
|
var SOOTSIM_SHELL_COMMAND_NAME = "sootsim:shell-command";
|
|
42
|
+
var SOOTSIM_AMBIENT_GLOW_LEVELS = ["off", "soft", "full"];
|
|
43
|
+
function isSootSimAmbientGlowLevel(value) {
|
|
44
|
+
return value === "off" || value === "soft" || value === "full";
|
|
45
|
+
}
|
|
46
|
+
var SOOTSIM_AMBIENT_GLOW_LABELS = {
|
|
47
|
+
off: "Off",
|
|
48
|
+
soft: "Soft",
|
|
49
|
+
full: "Full"
|
|
50
|
+
};
|
|
39
51
|
function buildSootSimMenuDefs(state, deviceChoices) {
|
|
40
52
|
return [
|
|
41
53
|
appMenu(),
|
|
@@ -309,10 +321,11 @@ function windowMenu(state) {
|
|
|
309
321
|
action: "toggle-bezels"
|
|
310
322
|
},
|
|
311
323
|
{
|
|
312
|
-
label: "Show
|
|
324
|
+
label: "Show Menu Bar",
|
|
313
325
|
type: "checkbox",
|
|
314
|
-
checked: state.
|
|
315
|
-
action: "toggle-
|
|
326
|
+
checked: state.showMenuBar,
|
|
327
|
+
action: "toggle-menubar",
|
|
328
|
+
hiddenIn: "electron"
|
|
316
329
|
},
|
|
317
330
|
{
|
|
318
331
|
label: "Show Rail",
|
|
@@ -321,6 +334,31 @@ function windowMenu(state) {
|
|
|
321
334
|
action: "toggle-rail",
|
|
322
335
|
hiddenIn: "electron"
|
|
323
336
|
},
|
|
337
|
+
{
|
|
338
|
+
// desktop only. the device window is frameless and transparent, which
|
|
339
|
+
// is right for a phone floating on the desktop and wrong for the
|
|
340
|
+
// full-window modes; this pins the solid style on all the time. 3d
|
|
341
|
+
// mode switches to it on its own either way.
|
|
342
|
+
label: "Solid Window",
|
|
343
|
+
type: "checkbox",
|
|
344
|
+
checked: state.solidWindow,
|
|
345
|
+
action: "toggle-solid-window",
|
|
346
|
+
hiddenIn: "browser"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
// browser only: the wash needs several glow radii of stage around the
|
|
350
|
+
// device to fade out in, and electron's transparent window is sized to
|
|
351
|
+
// the device, so there it can only paint a clipped rectangle.
|
|
352
|
+
label: "Ambient Glow",
|
|
353
|
+
hiddenIn: "electron",
|
|
354
|
+
items: SOOTSIM_AMBIENT_GLOW_LEVELS.map((level) => ({
|
|
355
|
+
label: SOOTSIM_AMBIENT_GLOW_LABELS[level],
|
|
356
|
+
type: "radio",
|
|
357
|
+
checked: state.ambientGlow === level,
|
|
358
|
+
action: "set-ambient-glow",
|
|
359
|
+
actionPayload: level
|
|
360
|
+
}))
|
|
361
|
+
},
|
|
324
362
|
{
|
|
325
363
|
label: "Screenshot",
|
|
326
364
|
type: "checkbox",
|
|
@@ -523,6 +561,8 @@ function matchesAccelerator(event, accelerator) {
|
|
|
523
561
|
}
|
|
524
562
|
// Annotate the CommonJS export names for ESM import in node:
|
|
525
563
|
0 && (module.exports = {
|
|
564
|
+
SOOTSIM_AMBIENT_GLOW_LABELS,
|
|
565
|
+
SOOTSIM_AMBIENT_GLOW_LEVELS,
|
|
526
566
|
SOOTSIM_ENGINE_EVENT_NAME,
|
|
527
567
|
SOOTSIM_SHELL_COMMAND_NAME,
|
|
528
568
|
buildSootSimDeviceChoiceDefs,
|
|
@@ -532,5 +572,6 @@ function matchesAccelerator(event, accelerator) {
|
|
|
532
572
|
getMenuShortcutEntriesFromDefs,
|
|
533
573
|
getShortcutDocSections,
|
|
534
574
|
getShortcutDocSectionsFromDefs,
|
|
575
|
+
isSootSimAmbientGlowLevel,
|
|
535
576
|
matchesAccelerator
|
|
536
577
|
});
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/menu.ts
|
|
4
4
|
var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
|
|
5
5
|
var SOOTSIM_SHELL_COMMAND_NAME = "sootsim:shell-command";
|
|
6
|
+
var SOOTSIM_AMBIENT_GLOW_LEVELS = ["off", "soft", "full"];
|
|
7
|
+
function isSootSimAmbientGlowLevel(value) {
|
|
8
|
+
return value === "off" || value === "soft" || value === "full";
|
|
9
|
+
}
|
|
10
|
+
var SOOTSIM_AMBIENT_GLOW_LABELS = {
|
|
11
|
+
off: "Off",
|
|
12
|
+
soft: "Soft",
|
|
13
|
+
full: "Full"
|
|
14
|
+
};
|
|
6
15
|
function buildSootSimMenuDefs(state, deviceChoices) {
|
|
7
16
|
return [
|
|
8
17
|
appMenu(),
|
|
@@ -276,10 +285,11 @@ function windowMenu(state) {
|
|
|
276
285
|
action: "toggle-bezels"
|
|
277
286
|
},
|
|
278
287
|
{
|
|
279
|
-
label: "Show
|
|
288
|
+
label: "Show Menu Bar",
|
|
280
289
|
type: "checkbox",
|
|
281
|
-
checked: state.
|
|
282
|
-
action: "toggle-
|
|
290
|
+
checked: state.showMenuBar,
|
|
291
|
+
action: "toggle-menubar",
|
|
292
|
+
hiddenIn: "electron"
|
|
283
293
|
},
|
|
284
294
|
{
|
|
285
295
|
label: "Show Rail",
|
|
@@ -288,6 +298,31 @@ function windowMenu(state) {
|
|
|
288
298
|
action: "toggle-rail",
|
|
289
299
|
hiddenIn: "electron"
|
|
290
300
|
},
|
|
301
|
+
{
|
|
302
|
+
// desktop only. the device window is frameless and transparent, which
|
|
303
|
+
// is right for a phone floating on the desktop and wrong for the
|
|
304
|
+
// full-window modes; this pins the solid style on all the time. 3d
|
|
305
|
+
// mode switches to it on its own either way.
|
|
306
|
+
label: "Solid Window",
|
|
307
|
+
type: "checkbox",
|
|
308
|
+
checked: state.solidWindow,
|
|
309
|
+
action: "toggle-solid-window",
|
|
310
|
+
hiddenIn: "browser"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
// browser only: the wash needs several glow radii of stage around the
|
|
314
|
+
// device to fade out in, and electron's transparent window is sized to
|
|
315
|
+
// the device, so there it can only paint a clipped rectangle.
|
|
316
|
+
label: "Ambient Glow",
|
|
317
|
+
hiddenIn: "electron",
|
|
318
|
+
items: SOOTSIM_AMBIENT_GLOW_LEVELS.map((level) => ({
|
|
319
|
+
label: SOOTSIM_AMBIENT_GLOW_LABELS[level],
|
|
320
|
+
type: "radio",
|
|
321
|
+
checked: state.ambientGlow === level,
|
|
322
|
+
action: "set-ambient-glow",
|
|
323
|
+
actionPayload: level
|
|
324
|
+
}))
|
|
325
|
+
},
|
|
291
326
|
{
|
|
292
327
|
label: "Screenshot",
|
|
293
328
|
type: "checkbox",
|
|
@@ -489,6 +524,8 @@ function matchesAccelerator(event, accelerator) {
|
|
|
489
524
|
return normalizeEventKey(event.key) === normalizeAcceleratorKey(keyToken);
|
|
490
525
|
}
|
|
491
526
|
export {
|
|
527
|
+
SOOTSIM_AMBIENT_GLOW_LABELS,
|
|
528
|
+
SOOTSIM_AMBIENT_GLOW_LEVELS,
|
|
492
529
|
SOOTSIM_ENGINE_EVENT_NAME,
|
|
493
530
|
SOOTSIM_SHELL_COMMAND_NAME,
|
|
494
531
|
buildSootSimDeviceChoiceDefs,
|
|
@@ -498,5 +535,6 @@ export {
|
|
|
498
535
|
getMenuShortcutEntriesFromDefs,
|
|
499
536
|
getShortcutDocSections,
|
|
500
537
|
getShortcutDocSectionsFromDefs,
|
|
538
|
+
isSootSimAmbientGlowLevel,
|
|
501
539
|
matchesAccelerator
|
|
502
540
|
};
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/render-mode.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -28,6 +28,7 @@ __export(sdk_exports, {
|
|
|
28
28
|
NOISY_TIMELINE_KINDS: () => NOISY_TIMELINE_KINDS,
|
|
29
29
|
READY_CONTENT_NODE_FLOOR: () => READY_CONTENT_NODE_FLOOR,
|
|
30
30
|
READY_NODE_STABLE_MS: () => READY_NODE_STABLE_MS,
|
|
31
|
+
READY_PROBE_POLL_MS: () => READY_PROBE_POLL_MS,
|
|
31
32
|
WAIT_READY_PROBE: () => WAIT_READY_PROBE,
|
|
32
33
|
WAIT_READY_PROGRESS_INTERVAL_MS: () => WAIT_READY_PROGRESS_INTERVAL_MS,
|
|
33
34
|
clearConsole: () => clearConsole,
|
|
@@ -982,6 +983,7 @@ var WAIT_READY_PROBE = `(async () => {
|
|
|
982
983
|
var READY_CONTENT_NODE_FLOOR = 100;
|
|
983
984
|
var READY_NODE_STABLE_MS = 750;
|
|
984
985
|
var WAIT_READY_PROGRESS_INTERVAL_MS = 2e3;
|
|
986
|
+
var READY_PROBE_POLL_MS = 150;
|
|
985
987
|
function readyProbeHasContent(probe) {
|
|
986
988
|
return probe.liveFrameActive || probe.targets > 0 || probe.nodes >= READY_CONTENT_NODE_FLOOR;
|
|
987
989
|
}
|
|
@@ -1066,7 +1068,7 @@ async function inspectWaitReady(bridge, timeoutMs = 2e4, options = {}) {
|
|
|
1066
1068
|
nextProgressAt += progressIntervalMs;
|
|
1067
1069
|
} while (now >= nextProgressAt);
|
|
1068
1070
|
}
|
|
1069
|
-
await new Promise((r) => setTimeout(r,
|
|
1071
|
+
await new Promise((r) => setTimeout(r, READY_PROBE_POLL_MS));
|
|
1070
1072
|
}
|
|
1071
1073
|
return {
|
|
1072
1074
|
ready: false,
|
|
@@ -2226,6 +2228,7 @@ async function tapBest(bridge, query, opts = {}) {
|
|
|
2226
2228
|
NOISY_TIMELINE_KINDS,
|
|
2227
2229
|
READY_CONTENT_NODE_FLOOR,
|
|
2228
2230
|
READY_NODE_STABLE_MS,
|
|
2231
|
+
READY_PROBE_POLL_MS,
|
|
2229
2232
|
WAIT_READY_PROBE,
|
|
2230
2233
|
WAIT_READY_PROGRESS_INTERVAL_MS,
|
|
2231
2234
|
clearConsole,
|
package/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.294 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// cli/commands/inspect/core.ts
|
|
4
4
|
function resolveMaxMsFlag(args, fallbackMs) {
|
|
@@ -891,6 +891,7 @@ var WAIT_READY_PROBE = `(async () => {
|
|
|
891
891
|
var READY_CONTENT_NODE_FLOOR = 100;
|
|
892
892
|
var READY_NODE_STABLE_MS = 750;
|
|
893
893
|
var WAIT_READY_PROGRESS_INTERVAL_MS = 2e3;
|
|
894
|
+
var READY_PROBE_POLL_MS = 150;
|
|
894
895
|
function readyProbeHasContent(probe) {
|
|
895
896
|
return probe.liveFrameActive || probe.targets > 0 || probe.nodes >= READY_CONTENT_NODE_FLOOR;
|
|
896
897
|
}
|
|
@@ -975,7 +976,7 @@ async function inspectWaitReady(bridge, timeoutMs = 2e4, options = {}) {
|
|
|
975
976
|
nextProgressAt += progressIntervalMs;
|
|
976
977
|
} while (now >= nextProgressAt);
|
|
977
978
|
}
|
|
978
|
-
await new Promise((r) => setTimeout(r,
|
|
979
|
+
await new Promise((r) => setTimeout(r, READY_PROBE_POLL_MS));
|
|
979
980
|
}
|
|
980
981
|
return {
|
|
981
982
|
ready: false,
|
|
@@ -2134,6 +2135,7 @@ export {
|
|
|
2134
2135
|
NOISY_TIMELINE_KINDS,
|
|
2135
2136
|
READY_CONTENT_NODE_FLOOR,
|
|
2136
2137
|
READY_NODE_STABLE_MS,
|
|
2138
|
+
READY_PROBE_POLL_MS,
|
|
2137
2139
|
WAIT_READY_PROBE,
|
|
2138
2140
|
WAIT_READY_PROGRESS_INTERVAL_MS,
|
|
2139
2141
|
clearConsole,
|