sootsim 0.1.306 → 0.1.307
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-cli/bin.js +5 -5
- package/dist-cli/chunks/{agent-43LRLQBS.js → agent-BQ3KAQAU.js} +2 -2
- package/dist-cli/chunks/{agent-wrapper-QYKQDC2Y.js → agent-wrapper-DS6FBIAI.js} +2 -2
- package/dist-cli/chunks/{app-fonts-IHE34DCY.js → app-fonts-VTLZYBCH.js} +2 -2
- package/dist-cli/chunks/{assert-LAXNLFZ6.js → assert-MPQ4CDNH.js} +2 -2
- package/dist-cli/chunks/{auth-CFTFPYKX.js → auth-O3PQ5WAK.js} +2 -2
- package/dist-cli/chunks/{beta-YPZFX3DF.js → beta-CHK46VAX.js} +2 -2
- package/dist-cli/chunks/{camera-FHHHH6GY.js → camera-YOO6XYC5.js} +2 -2
- package/dist-cli/chunks/{chunk-BPNVJLGT.js → chunk-2ODPPVQC.js} +2 -2
- package/dist-cli/chunks/{chunk-MBF4LLVB.js → chunk-2P5OBO7Z.js} +1 -1
- package/dist-cli/chunks/{chunk-6PIGQNS4.js → chunk-3JLFWHOZ.js} +1 -1
- package/dist-cli/chunks/{chunk-TCB56ABT.js → chunk-3S57XWPX.js} +1 -1
- package/dist-cli/chunks/{chunk-U6NDLMBM.js → chunk-4BZ6SM53.js} +3 -3
- package/dist-cli/chunks/{chunk-4XGRVAXA.js → chunk-4QCKHLRV.js} +2 -2
- package/dist-cli/chunks/{chunk-G73JPCHX.js → chunk-537ULSCX.js} +2 -2
- package/dist-cli/chunks/{chunk-YBO7SFWN.js → chunk-5MN7CUQB.js} +1 -1
- package/dist-cli/chunks/{chunk-FXC6BYKX.js → chunk-6Q3FIZGP.js} +1 -1
- package/dist-cli/chunks/{chunk-7RZYUZEK.js → chunk-746PZ7ND.js} +1 -1
- package/dist-cli/chunks/{chunk-XZSXFV33.js → chunk-7HPBPICZ.js} +1 -1
- package/dist-cli/chunks/{chunk-JPQSUHXW.js → chunk-7T5WCLEU.js} +2 -2
- package/dist-cli/chunks/{chunk-OYFRTYRJ.js → chunk-AD2J3Y5G.js} +2 -2
- package/dist-cli/chunks/chunk-BO2XSJJA.js +5 -0
- package/dist-cli/chunks/{chunk-HPCKCWSQ.js → chunk-CKLXK3SU.js} +2 -2
- package/dist-cli/chunks/{chunk-YVWYARHY.js → chunk-E2AY5MPI.js} +1 -1
- package/dist-cli/chunks/{chunk-NQ56D5JF.js → chunk-EWSHWBPU.js} +1 -1
- package/dist-cli/chunks/{chunk-4MLH5CMV.js → chunk-EY5RFXHC.js} +1 -1
- package/dist-cli/chunks/{chunk-QHGQTHHD.js → chunk-FRTR2EUL.js} +3 -3
- package/dist-cli/chunks/{chunk-LOXCEKKF.js → chunk-IBM36KUP.js} +2 -2
- package/dist-cli/chunks/{chunk-HTR4DSA5.js → chunk-J52NXD2T.js} +2 -2
- package/dist-cli/chunks/{chunk-B3CXF3EF.js → chunk-KCRDI5B2.js} +2 -2
- package/dist-cli/chunks/{chunk-LHCC656T.js → chunk-KPDYFXBD.js} +1 -1
- package/dist-cli/chunks/{chunk-MCGRZYAP.js → chunk-LL76B22R.js} +2 -2
- package/dist-cli/chunks/{chunk-C6TKPNCZ.js → chunk-LTS6OYSK.js} +2 -2
- package/dist-cli/chunks/{chunk-RYXC27XV.js → chunk-NK72QUBY.js} +2 -2
- package/dist-cli/chunks/{chunk-4TN4CD7M.js → chunk-NLE5PR7V.js} +2 -2
- package/dist-cli/chunks/{chunk-74Z7ENQL.js → chunk-NWOGE4YS.js} +3 -3
- package/dist-cli/chunks/{chunk-UTHRVXG5.js → chunk-OQ6KN4TP.js} +2 -2
- package/dist-cli/chunks/{chunk-UBLLWSSF.js → chunk-Q32TOAPX.js} +3 -3
- package/dist-cli/chunks/{chunk-6WCW6PES.js → chunk-Q35WXZFI.js} +2 -2
- package/dist-cli/chunks/{chunk-6SBFFSXO.js → chunk-QJ7B6FFD.js} +2 -2
- package/dist-cli/chunks/{chunk-6SIWYEK5.js → chunk-RCLJQZQR.js} +2 -2
- package/dist-cli/chunks/{chunk-KNPXTXMI.js → chunk-S5QHC5LD.js} +1 -1
- package/dist-cli/chunks/{chunk-UAYFVJ7N.js → chunk-SKMVVRFI.js} +2 -2
- package/dist-cli/chunks/{chunk-VTPICQDM.js → chunk-SLEKK2UU.js} +1 -1
- package/dist-cli/chunks/{chunk-NH2KYSY7.js → chunk-SZDXEZ2I.js} +1 -1
- package/dist-cli/chunks/{chunk-VLKENZFJ.js → chunk-SZX2PHDS.js} +1 -1
- package/dist-cli/chunks/{chunk-4KABOHME.js → chunk-UKKB52JO.js} +2 -2
- package/dist-cli/chunks/{chunk-4735ZG3S.js → chunk-UURKPOZU.js} +1 -1
- package/dist-cli/chunks/{chunk-HMW7QKJV.js → chunk-WE6WXVYB.js} +2 -2
- package/dist-cli/chunks/{chunk-V5PJXD2O.js → chunk-WPVMW3I5.js} +1 -1
- package/dist-cli/chunks/{chunk-7VVWOKJE.js → chunk-WTWGQFNU.js} +2 -2
- package/dist-cli/chunks/{chunk-3XUXMKKJ.js → chunk-XRUSCWIH.js} +2 -2
- package/dist-cli/chunks/{chunk-2UC72ZR6.js → chunk-XVQ2YGCI.js} +1 -1
- package/dist-cli/chunks/{chunk-CLN6VD2I.js → chunk-YIKFWG22.js} +2 -2
- package/dist-cli/chunks/{chunk-UTE2W4WC.js → chunk-YPKDDYIE.js} +2 -2
- package/dist-cli/chunks/{chunk-IGKZOI2V.js → chunk-Z772XMEF.js} +1 -1
- package/dist-cli/chunks/{chunk-NOLQ4UEP.js → chunk-ZJR2AKLU.js} +2 -2
- package/dist-cli/chunks/{chunk-IXPUTLYO.js → chunk-ZZBMQEEE.js} +2 -2
- package/dist-cli/chunks/{cleanup-GYDCGNEJ.js → cleanup-RT2PX5NP.js} +2 -2
- package/dist-cli/chunks/{cli-version-3HG7ILRV.js → cli-version-W3D5LXK5.js} +2 -2
- package/dist-cli/chunks/{compat-GS3SVTB4.js → compat-LGAXCMPJ.js} +2 -2
- package/dist-cli/chunks/{config-W5LN7HWO.js → config-3MQYRCSB.js} +2 -2
- package/dist-cli/chunks/{control-BE55SA2W.js → control-MDWGTCXV.js} +2 -2
- package/dist-cli/chunks/daemon-4FHSWZSV.js +4 -0
- package/dist-cli/chunks/{debug-2BBR66MJ.js → debug-UKOFTGI3.js} +3 -3
- package/dist-cli/chunks/{desktop-PPB66SZO.js → desktop-N6TEZAIJ.js} +3 -3
- package/dist-cli/chunks/{detox-P7SDHLB4.js → detox-T2Y4HE44.js} +2 -2
- package/dist-cli/chunks/{device-JB4NSOZV.js → device-ZE2WSDJN.js} +2 -2
- package/dist-cli/chunks/{diagnose-M662DIPM.js → diagnose-WFEFBH6U.js} +2 -2
- package/dist-cli/chunks/disk-cleanup-YXC3JGG5.js +4 -0
- package/dist-cli/chunks/drivers-62L33HHX.js +4 -0
- package/dist-cli/chunks/{film-QZMDVCZI.js → film-THTAWD5P.js} +3 -3
- package/dist-cli/chunks/flow-3HCUMLZL.js +4 -0
- package/dist-cli/chunks/help-KEXQPE2I.js +4 -0
- package/dist-cli/chunks/{hidden-runtime-alias-LJXH6WPY.js → hidden-runtime-alias-SNP5LSQD.js} +2 -2
- package/dist-cli/chunks/{home-paths-TQ53NFW3.js → home-paths-WUCC72RE.js} +2 -2
- package/dist-cli/chunks/inspect-2SR5AEEA.js +4 -0
- package/dist-cli/chunks/install-desktop-KE5ZPY6L.js +4 -0
- package/dist-cli/chunks/{login-7XXY5JP4.js → login-ZEB4WSVZ.js} +4 -4
- package/dist-cli/chunks/{logout-UNARNKTJ.js → logout-P6PV2WRO.js} +2 -2
- package/dist-cli/chunks/{maestro-66RNLMLU.js → maestro-TUA7YURM.js} +3 -3
- package/dist-cli/chunks/{maestro-generate-IO25AY3E.js → maestro-generate-HI4UM47Q.js} +3 -3
- package/dist-cli/chunks/{mode-DPGASAG4.js → mode-ILLUAGCG.js} +2 -2
- package/dist-cli/chunks/{optional-demo-registry-O5GGFNAI.js → optional-demo-registry-R7UFXPBP.js} +2 -2
- package/dist-cli/chunks/{perf-CBUP2ERS.js → perf-4CE5R2TN.js} +2 -2
- package/dist-cli/chunks/{permissions-3AOMCAT3.js → permissions-NQCKUHGU.js} +2 -2
- package/dist-cli/chunks/{record-Q7VRLH7A.js → record-5JRY7R54.js} +3 -3
- package/dist-cli/chunks/{report-issue-DTWZECYM.js → report-issue-PFE7RDDV.js} +2 -2
- package/dist-cli/chunks/runtime-MP2QVB2X.js +4 -0
- package/dist-cli/chunks/{screenshot-command-SSWKZ4U3.js → screenshot-command-R3MPUAQI.js} +3 -3
- package/dist-cli/chunks/{screenshot-layers-2ABSTF2O.js → screenshot-layers-TKLUUDFA.js} +2 -2
- package/dist-cli/chunks/{screenshots-capture-QA7T5DED.js → screenshots-capture-6UT2EVTR.js} +2 -2
- package/dist-cli/chunks/{serve-T4EQBJM6.js → serve-L5GFNPAX.js} +2 -2
- package/dist-cli/chunks/{setup-BXQI3YT4.js → setup-IZQ7IXYW.js} +2 -2
- package/dist-cli/chunks/{skills-AYSO5FJB.js → skills-2CY6YIL7.js} +2 -2
- package/dist-cli/chunks/{storage-KBHG5M5F.js → storage-EPY4VXCY.js} +2 -2
- package/dist-cli/chunks/store-F5RQZH7P.js +4 -0
- package/dist-cli/chunks/telemetry-MZKLKJAS.js +4 -0
- package/dist-cli/chunks/{timeline-AB2R26RE.js → timeline-LK5IA74W.js} +2 -2
- package/dist-cli/chunks/{upgrade-5XXQ7OCE.js → upgrade-ZK6YJMUA.js} +2 -2
- package/dist-cli/chunks/upload-LP6UOKRF.js +4 -0
- package/dist-cli/chunks/{version-PH3OUNPP.js → version-SRC2HVYI.js} +2 -2
- package/dist-cli/chunks/{web-XTOGNFZ7.js → web-SVNHYKX5.js} +2 -2
- package/dist-cli/chunks/{what-happened-JLI3NTEU.js → what-happened-URW3Q7QP.js} +2 -2
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +1 -1
- 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 +51 -41
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +1 -1
- 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 +1 -1
- package/dist-lib/menu.mjs +1 -1
- 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 +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +52 -42
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
- package/dist-cli/chunks/chunk-TR4FKAKQ.js +0 -5
- package/dist-cli/chunks/daemon-3YMH272E.js +0 -4
- package/dist-cli/chunks/disk-cleanup-HN662P2U.js +0 -4
- package/dist-cli/chunks/drivers-ALHRJJGF.js +0 -4
- package/dist-cli/chunks/flow-BHSACBQ5.js +0 -4
- package/dist-cli/chunks/help-V2KS2AUT.js +0 -4
- package/dist-cli/chunks/inspect-6PW37GVK.js +0 -4
- package/dist-cli/chunks/install-desktop-VMVPZSXF.js +0 -4
- package/dist-cli/chunks/runtime-VGYKLLTE.js +0 -4
- package/dist-cli/chunks/store-GUNEQ4EC.js +0 -4
- package/dist-cli/chunks/telemetry-4VZ43AHH.js +0 -4
- package/dist-cli/chunks/upload-M55IQQHQ.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.307 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
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-
|
|
4
|
+
import{D as N,E as F,G as y,R as T,S as b,T as S}from"./chunk-UURKPOZU.js";import{h as A,j as _}from"./chunk-LL76B22R.js";import{f as k}from"./chunk-KCRDI5B2.js";import"./chunk-5MN7CUQB.js";import"./chunk-SLEKK2UU.js";import"./chunk-XVQ2YGCI.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(`
|
|
5
5
|
sootsim what-happened \u2014 show recent events from the semantic timeline
|
|
6
6
|
|
|
7
7
|
usage:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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;
|
|
@@ -400,7 +400,6 @@ async function launchReapedScoped(launch) {
|
|
|
400
400
|
};
|
|
401
401
|
return { browser, reapNow };
|
|
402
402
|
}
|
|
403
|
-
var gpuChromeMissing = false;
|
|
404
403
|
function gpuChromeArgs(platform = process.platform) {
|
|
405
404
|
const angle = expectedAngle(platform);
|
|
406
405
|
return [
|
|
@@ -454,52 +453,63 @@ function gpuChromeLaunchOptions(opts = {}, runtime = currentRuntime()) {
|
|
|
454
453
|
ignoreDefaultArgs: ignoredDefaults
|
|
455
454
|
};
|
|
456
455
|
}
|
|
457
|
-
function
|
|
456
|
+
function platformChromeLaunch(launch, opts, rendererTarget) {
|
|
458
457
|
return async () => {
|
|
459
458
|
const runtime = currentRuntime();
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
}
|
|
484
|
-
try {
|
|
485
|
-
await validateLaunchedGpuBrowser(browser, runtime, rendererTarget);
|
|
486
|
-
} catch (err) {
|
|
487
|
-
await rejectLaunchedBrowser(browser);
|
|
488
|
-
throw err;
|
|
489
|
-
}
|
|
490
|
-
return browser;
|
|
459
|
+
if (softwareChromeAllowed(runtime)) {
|
|
460
|
+
return launch(chromeLaunchOptions(opts, runtime));
|
|
461
|
+
}
|
|
462
|
+
const gpuOptions = chromeLaunchOptions(opts, runtime);
|
|
463
|
+
let browser;
|
|
464
|
+
try {
|
|
465
|
+
browser = await launch(gpuOptions);
|
|
466
|
+
} catch (err) {
|
|
467
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
468
|
+
const missing = /not found at|not installed|Chromium distribution|Executable doesn't exist|No such file/i.test(
|
|
469
|
+
msg
|
|
470
|
+
);
|
|
471
|
+
if (!missing) throw err;
|
|
472
|
+
throw new Error(
|
|
473
|
+
"[reap-browser] Playwright Chrome for Testing is required for local GPU browser work. Run `bunx playwright install chromium`.",
|
|
474
|
+
{ cause: err }
|
|
475
|
+
);
|
|
476
|
+
}
|
|
477
|
+
try {
|
|
478
|
+
await validateLaunchedGpuBrowser(browser, runtime, rendererTarget);
|
|
479
|
+
} catch (err) {
|
|
480
|
+
await rejectLaunchedBrowser(browser);
|
|
481
|
+
throw err;
|
|
491
482
|
}
|
|
492
|
-
return
|
|
483
|
+
return browser;
|
|
484
|
+
};
|
|
485
|
+
}
|
|
486
|
+
function softwareChromeLaunchOptions(opts) {
|
|
487
|
+
if (opts.ignoreDefaultArgs === true) {
|
|
488
|
+
throw new Error(
|
|
489
|
+
"[reap-browser] ignoreDefaultArgs=true bypasses required Chrome launch defaults"
|
|
490
|
+
);
|
|
491
|
+
}
|
|
492
|
+
const callerArgs = Array.isArray(opts.args) ? opts.args.map(String) : [];
|
|
493
|
+
const unmanagedCallerArgs = callerArgs.filter((arg) => {
|
|
494
|
+
return !arg.startsWith("--use-angle=") && arg !== "--enable-gpu" && arg !== "--enable-gpu-rasterization" && arg !== "--enable-zero-copy" && arg !== "--ignore-gpu-blocklist" && !/^--enable-unsafe-swiftshader(?:=.*)?$/i.test(arg);
|
|
495
|
+
});
|
|
496
|
+
const software = {
|
|
497
|
+
...opts,
|
|
498
|
+
args: [
|
|
499
|
+
...unmanagedCallerArgs,
|
|
500
|
+
"--use-angle=swiftshader",
|
|
501
|
+
"--enable-unsafe-swiftshader"
|
|
502
|
+
]
|
|
493
503
|
};
|
|
504
|
+
delete software.channel;
|
|
505
|
+
delete software.executablePath;
|
|
506
|
+
return software;
|
|
494
507
|
}
|
|
495
|
-
function
|
|
496
|
-
|
|
497
|
-
delete fallback.channel;
|
|
498
|
-
delete fallback.executablePath;
|
|
499
|
-
return fallback;
|
|
508
|
+
function chromeLaunchOptions(opts = {}, runtime = currentRuntime()) {
|
|
509
|
+
return softwareChromeAllowed(runtime) ? softwareChromeLaunchOptions(opts) : gpuChromeLaunchOptions(opts, runtime);
|
|
500
510
|
}
|
|
501
511
|
async function launchReapedChromeScoped(launch, opts = {}, rendererTarget) {
|
|
502
|
-
return launchReapedScoped(
|
|
512
|
+
return launchReapedScoped(platformChromeLaunch(launch, opts, rendererTarget));
|
|
503
513
|
}
|
|
504
514
|
|
|
505
515
|
// detox/gestures.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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.mjs
CHANGED
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.307 | (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.307 | (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.307 | (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.307 | (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.307 | (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/sdk.mjs
CHANGED
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.307 | (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;
|
|
@@ -359,54 +359,65 @@ function gpuChromeLaunchOptions(opts = {}, runtime = currentRuntime()) {
|
|
|
359
359
|
ignoreDefaultArgs: ignoredDefaults
|
|
360
360
|
};
|
|
361
361
|
}
|
|
362
|
-
function
|
|
362
|
+
function platformChromeLaunch(launch3, opts, rendererTarget) {
|
|
363
363
|
return async () => {
|
|
364
364
|
const runtime = currentRuntime();
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
if (!gpuChromeMissing) {
|
|
368
|
-
let browser;
|
|
369
|
-
try {
|
|
370
|
-
browser = await launch3(gpuOptions);
|
|
371
|
-
} catch (err) {
|
|
372
|
-
const msg = err instanceof Error ? err.message : String(err);
|
|
373
|
-
const missing = /not found at|not installed|Chromium distribution|Executable doesn't exist|No such file/i.test(
|
|
374
|
-
msg
|
|
375
|
-
);
|
|
376
|
-
if (!missing) throw err;
|
|
377
|
-
if (!allowSoftwareFallback) {
|
|
378
|
-
throw new Error(
|
|
379
|
-
"[reap-browser] Playwright Chrome for Testing is required for local GPU browser work; chromium_headless_shell fallback is disabled. Run `bunx playwright install chromium`.",
|
|
380
|
-
{ cause: err }
|
|
381
|
-
);
|
|
382
|
-
}
|
|
383
|
-
gpuChromeMissing = true;
|
|
384
|
-
console.warn(
|
|
385
|
-
"[reap-browser] GitHub Actions Linux Chrome for Testing not found, falling back to chromium_headless_shell software rendering."
|
|
386
|
-
);
|
|
387
|
-
return launch3(softwareFallbackChromeLaunchOptions(opts));
|
|
388
|
-
}
|
|
389
|
-
try {
|
|
390
|
-
await validateLaunchedGpuBrowser(browser, runtime, rendererTarget);
|
|
391
|
-
} catch (err) {
|
|
392
|
-
await rejectLaunchedBrowser(browser);
|
|
393
|
-
throw err;
|
|
394
|
-
}
|
|
395
|
-
return browser;
|
|
365
|
+
if (softwareChromeAllowed(runtime)) {
|
|
366
|
+
return launch3(chromeLaunchOptions(opts, runtime));
|
|
396
367
|
}
|
|
397
|
-
|
|
368
|
+
const gpuOptions = chromeLaunchOptions(opts, runtime);
|
|
369
|
+
let browser;
|
|
370
|
+
try {
|
|
371
|
+
browser = await launch3(gpuOptions);
|
|
372
|
+
} catch (err) {
|
|
373
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
374
|
+
const missing = /not found at|not installed|Chromium distribution|Executable doesn't exist|No such file/i.test(
|
|
375
|
+
msg
|
|
376
|
+
);
|
|
377
|
+
if (!missing) throw err;
|
|
378
|
+
throw new Error(
|
|
379
|
+
"[reap-browser] Playwright Chrome for Testing is required for local GPU browser work. Run `bunx playwright install chromium`.",
|
|
380
|
+
{ cause: err }
|
|
381
|
+
);
|
|
382
|
+
}
|
|
383
|
+
try {
|
|
384
|
+
await validateLaunchedGpuBrowser(browser, runtime, rendererTarget);
|
|
385
|
+
} catch (err) {
|
|
386
|
+
await rejectLaunchedBrowser(browser);
|
|
387
|
+
throw err;
|
|
388
|
+
}
|
|
389
|
+
return browser;
|
|
390
|
+
};
|
|
391
|
+
}
|
|
392
|
+
function softwareChromeLaunchOptions(opts) {
|
|
393
|
+
if (opts.ignoreDefaultArgs === true) {
|
|
394
|
+
throw new Error(
|
|
395
|
+
"[reap-browser] ignoreDefaultArgs=true bypasses required Chrome launch defaults"
|
|
396
|
+
);
|
|
397
|
+
}
|
|
398
|
+
const callerArgs = Array.isArray(opts.args) ? opts.args.map(String) : [];
|
|
399
|
+
const unmanagedCallerArgs = callerArgs.filter((arg) => {
|
|
400
|
+
return !arg.startsWith("--use-angle=") && arg !== "--enable-gpu" && arg !== "--enable-gpu-rasterization" && arg !== "--enable-zero-copy" && arg !== "--ignore-gpu-blocklist" && !/^--enable-unsafe-swiftshader(?:=.*)?$/i.test(arg);
|
|
401
|
+
});
|
|
402
|
+
const software = {
|
|
403
|
+
...opts,
|
|
404
|
+
args: [
|
|
405
|
+
...unmanagedCallerArgs,
|
|
406
|
+
"--use-angle=swiftshader",
|
|
407
|
+
"--enable-unsafe-swiftshader"
|
|
408
|
+
]
|
|
398
409
|
};
|
|
410
|
+
delete software.channel;
|
|
411
|
+
delete software.executablePath;
|
|
412
|
+
return software;
|
|
399
413
|
}
|
|
400
|
-
function
|
|
401
|
-
|
|
402
|
-
delete fallback.channel;
|
|
403
|
-
delete fallback.executablePath;
|
|
404
|
-
return fallback;
|
|
414
|
+
function chromeLaunchOptions(opts = {}, runtime = currentRuntime()) {
|
|
415
|
+
return softwareChromeAllowed(runtime) ? softwareChromeLaunchOptions(opts) : gpuChromeLaunchOptions(opts, runtime);
|
|
405
416
|
}
|
|
406
417
|
async function launchReapedChrome(launch3, opts = {}, rendererTarget) {
|
|
407
|
-
return launchReaped(
|
|
418
|
+
return launchReaped(platformChromeLaunch(launch3, opts, rendererTarget));
|
|
408
419
|
}
|
|
409
|
-
var import_node_child_process, discoveredChromePids, reapPids, installed, signalShutdownClaimed
|
|
420
|
+
var import_node_child_process, discoveredChromePids, reapPids, installed, signalShutdownClaimed;
|
|
410
421
|
var init_reap_browser = __esm({
|
|
411
422
|
"../../scripts/lib/reap-browser.ts"() {
|
|
412
423
|
"use strict";
|
|
@@ -415,7 +426,6 @@ var init_reap_browser = __esm({
|
|
|
415
426
|
reapPids = /* @__PURE__ */ new Set();
|
|
416
427
|
installed = false;
|
|
417
428
|
signalShutdownClaimed = false;
|
|
418
|
-
gpuChromeMissing = false;
|
|
419
429
|
}
|
|
420
430
|
});
|
|
421
431
|
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! sootsim v0.1.
|
|
1
|
+
/*! sootsim v0.1.307 | (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/package.json
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.306 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{execFileSync as b,execSync as A}from"node:child_process";var p=new WeakMap,u=new Set,y=!1;function d(){return{platform:process.platform,env:process.env}}function g(e=d()){return e.platform==="linux"&&e.env.GITHUB_ACTIONS==="true"&&e.env.RUNNER_OS==="Linux"}function I(e){let r=String(e);return/^--disable-gpu(?:=.*)?$/i.test(r)||/^--enable-unsafe-swiftshader(?:=.*)?$/i.test(r)||/^--use-angle=(?:swiftshader|swiftshader-webgl)$/i.test(r)||/^--use-gl=swiftshader$/i.test(r)}function E(e){return e.match(/(?:^|\s)(--disable-gpu(?:=[^\s]+)?|--enable-unsafe-swiftshader(?:=[^\s]+)?|--use-angle=(?:swiftshader|swiftshader-webgl)|--use-gl=swiftshader)(?=\s|$)/i)?.[1]??null}function v(e){return e==="darwin"?"metal":e==="linux"?"vulkan":"default"}function P(e,r=d()){if(g(r))return;let n=E(e);if(n)throw new Error(`[reap-browser] refused software-rendering Chrome process argument ${n}`);let o=v(r.platform),s=e.split(/\s+/);if(!s.includes(`--use-angle=${o}`)||!s.includes("--enable-gpu"))throw new Error(`[reap-browser] Chrome process did not retain the required ${o} GPU arguments`);if(r.platform==="darwin"&&e.includes("/Applications/Google Chrome.app/"))throw new Error("[reap-browser] refused the user's installed Google Chrome; use Playwright channel chromium")}function G(e){if(!e||typeof e!="object")return[];let n=e.gpu;if(!n||typeof n!="object")return[];let o=n,s=[],a=o.auxAttributes;if(a&&typeof a=="object")for(let t of Object.values(a))typeof t=="string"&&s.push(t);let i=o.devices;if(Array.isArray(i)){for(let t of i)if(!(!t||typeof t!="object"))for(let c of Object.values(t))typeof c=="string"&&s.push(c)}return s}function C(e){if(!e||typeof e!="object")return null;let r=e;if(!Array.isArray(r.processInfo))return null;for(let n of r.processInfo){if(!n||typeof n!="object")continue;let o=n;if(o.type==="browser"&&typeof o.id=="number"&&Number.isInteger(o.id)&&o.id>0)return o.id}return null}function L(e,r=d()){if(g(r))return;let o=G(e).join(" | ");if(!o||/swiftshader|llvmpipe|software rasterizer/i.test(o))throw new Error(`[reap-browser] Chrome reported a software renderer${o?`: ${o}`:""}`);if(r.platform==="darwin"&&!/metal/i.test(o))throw new Error(`[reap-browser] Chrome did not report an ANGLE Metal renderer: ${o}`)}function w(e){if(e&&typeof e=="object"){let n=p.get(e);if(n!==void 0)return n}let r=e;if(r&&typeof r.process=="function")try{let n=r.process();if(n&&typeof n.pid=="number"&&n.pid>0)return n.pid}catch{}if(r&&typeof r.browser=="function")try{let n=r.browser();if(n)return w(n)}catch{}return null}function h(e){let r=[];try{r=A(`pgrep -P ${e} || true`).toString().split(`
|
|
5
|
-
`).filter(Boolean)}catch{}for(let n of r)h(Number(n));try{process.kill(e,"SIGKILL")}catch{}}function f(e){let r=e;if(!r||typeof r!="object")return null;if(typeof r.newBrowserCDPSession=="function"||typeof r.process=="function")return r;if(typeof r.browser!="function")return null;try{let n=r.browser();return n?f(n):null}catch{return null}}function m(e,r,n){e&&typeof e=="object"&&p.set(e,n),p.set(r,n),u.add(n),B()}async function N(e){let r=w(e);if(r!==null)return r;let n=f(e);if(!n||typeof n.newBrowserCDPSession!="function")return null;let o=await n.newBrowserCDPSession();try{let s=C(await o.send("SystemInfo.getProcessInfo"));return s===null?null:(m(e,n,s),s)}finally{await o.detach?.()}}async function j(e){let r=w(e);if(r!==null){u.delete(r),h(r);return}let n=e;if(n&&typeof n.close=="function")try{await n.close()}catch{}}async function T(e,r,n){if(g(r))return;let o=w(e),s=f(e);if(o!==null&&s&&m(e,s,o),o!==null&&(r.platform==="darwin"||r.platform==="linux")){let t=b("ps",["-p",String(o),"-o","command="],{encoding:"utf8"}).trim();P(t,r)}let a=n?await n(e):e,i=f(a);if(i&&typeof i.newBrowserCDPSession=="function"){let t=await i.newBrowserCDPSession();try{let c=C(await t.send("SystemInfo.getProcessInfo"));if(c===null)throw new Error("[reap-browser] Chrome did not report its browser process id");if(m(e,i,c),a&&typeof a=="object"&&p.set(a,c),r.platform==="darwin"||r.platform==="linux"){let l=b("ps",["-p",String(c),"-o","command="],{encoding:"utf8"}).trim();P(l,r)}L(await t.send("SystemInfo.getInfo"),r);return}finally{await t.detach?.()}}throw new Error("[reap-browser] could not validate the launched Chrome GPU renderer")}var $=!1;function B(){if(y)return;y=!0;let e=()=>{for(let r of u)h(r)};$||(process.on("SIGTERM",()=>{e(),process.exit(0)}),process.on("SIGINT",()=>{e(),process.exit(0)})),process.on("exit",e)}async function R(e){let r=await e(),n=w(r);if(n===null)try{n=await N(r)}catch{n=null}let o=new Set;n!=null&&(o.add(n),u.add(n),B());let s=f(r)??r;if(typeof s.on=="function"){let i=typeof s.newBrowserCDPSession=="function"?"disconnected":"close";s.on(i,()=>{for(let t of o)u.delete(t);o.clear()})}return{browser:r,reapNow:()=>{for(let i of o)h(i),u.delete(i);o.clear()}}}async function D(e){let{browser:r}=await R(e);return r}var k=!1;function W(e=process.platform){return[`--use-angle=${v(e)}`,"--enable-gpu","--enable-gpu-rasterization","--enable-zero-copy","--ignore-gpu-blocklist"]}function O(e={},r=d()){let n=Array.isArray(e.args)?e.args:[],o=n.find(I);if(o!==void 0)throw new Error(`[reap-browser] refused software-rendering Chrome launch argument ${String(o)}`);if(e.executablePath!==void 0)throw new Error("[reap-browser] executablePath bypasses Playwright Chrome for Testing and is not allowed");if(e.ignoreDefaultArgs===!0)throw new Error("[reap-browser] ignoreDefaultArgs=true bypasses required Chrome launch defaults");let s=new Set(["--enable-gpu","--enable-gpu-rasterization","--enable-zero-copy","--ignore-gpu-blocklist"]),a=n.filter(c=>{let l=String(c);return!s.has(l)&&!l.startsWith("--use-angle=")}),i=Array.isArray(e.ignoreDefaultArgs)?e.ignoreDefaultArgs:[],t=[...new Set([...i,"--disable-gpu","--enable-unsafe-swiftshader"])];return{...e,channel:"chromium",args:[...a,...W(r.platform)],ignoreDefaultArgs:t}}function x(e,r,n){return async()=>{let o=d(),s=g(o),a=O(r,o);if(!k){let i;try{i=await e(a)}catch(t){let c=t instanceof Error?t.message:String(t);if(!/not found at|not installed|Chromium distribution|Executable doesn't exist|No such file/i.test(c))throw t;if(!s)throw new Error("[reap-browser] Playwright Chrome for Testing is required for local GPU browser work; chromium_headless_shell fallback is disabled. Run `bunx playwright install chromium`.",{cause:t});return k=!0,console.warn("[reap-browser] GitHub Actions Linux Chrome for Testing not found, falling back to chromium_headless_shell software rendering."),e(S(r))}try{await T(i,o,n)}catch(t){throw await j(i),t}return i}return e(S(r))}}function S(e){let r={...e};return delete r.channel,delete r.executablePath,r}async function z(e,r={},n){return D(x(e,r,n))}async function U(e,r={},n){return R(x(e,r,n))}export{z as a,U as b};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.306 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{a,b,c,d,e,f}from"./chunk-3XUXMKKJ.js";import"./chunk-HMW7QKJV.js";import"./chunk-UTE2W4WC.js";import"./chunk-7VVWOKJE.js";import"./chunk-C6TKPNCZ.js";import"./chunk-IXPUTLYO.js";import"./chunk-OYFRTYRJ.js";import"./chunk-BPNVJLGT.js";import"./chunk-B3CXF3EF.js";import"./chunk-YBO7SFWN.js";import"./chunk-4MLH5CMV.js";import"./chunk-VTPICQDM.js";import"./chunk-TCB56ABT.js";import"./chunk-YVWYARHY.js";import"./chunk-2UC72ZR6.js";export{c as daemonInstall,b as getDaemonServiceStatus,a as runDaemon,e as teardownDaemonService,d as teardownLegacyMacDaemonArtifacts,f as teardownSootsimHome};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.306 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{a,b,c,d,e}from"./chunk-4KABOHME.js";import"./chunk-FXC6BYKX.js";import"./chunk-LOXCEKKF.js";import"./chunk-VTPICQDM.js";import"./chunk-2UC72ZR6.js";export{e as applyAutomaticSootsimCleanup,d as applySootsimCleanup,b as formatSootsimBytes,a as isAutomaticSootsimCleanupComplete,c as planSootsimCleanup};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.306 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import"./chunk-LHCC656T.js";import{f as a,g as b,h as c,i as d,j as e,k as f,l as g}from"./chunk-RYXC27XV.js";import"./chunk-VLKENZFJ.js";import"./chunk-FXC6BYKX.js";import"./chunk-YBO7SFWN.js";import"./chunk-VTPICQDM.js";import"./chunk-2UC72ZR6.js";export{c as ALL_DRIVERS,g as buildDriverListRows,a as electronDriver,d as getAllDrivers,e as getDriver,b as playwrightDriver,f as resolveDriver};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.306 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{c,d,e,f,g,h}from"./chunk-U6NDLMBM.js";import"./chunk-JPQSUHXW.js";import"./chunk-TR4FKAKQ.js";import{b as a,c as b}from"./chunk-74Z7ENQL.js";import"./chunk-KNPXTXMI.js";import"./chunk-6SBFFSXO.js";import"./chunk-XZSXFV33.js";import"./chunk-NOLQ4UEP.js";import"./chunk-HTR4DSA5.js";import"./chunk-4TN4CD7M.js";import"./chunk-4XGRVAXA.js";import"./chunk-V5PJXD2O.js";import"./chunk-HPCKCWSQ.js";import"./chunk-4735ZG3S.js";import"./chunk-RYXC27XV.js";import"./chunk-VLKENZFJ.js";import"./chunk-6SIWYEK5.js";import"./chunk-G73JPCHX.js";import"./chunk-UTHRVXG5.js";import"./chunk-NQ56D5JF.js";import"./chunk-UAYFVJ7N.js";import"./chunk-7RZYUZEK.js";import"./chunk-MCGRZYAP.js";import"./chunk-6PIGQNS4.js";import"./chunk-HMW7QKJV.js";import"./chunk-UTE2W4WC.js";import"./chunk-FXC6BYKX.js";import"./chunk-LOXCEKKF.js";import"./chunk-IXPUTLYO.js";import"./chunk-OYFRTYRJ.js";import"./chunk-BPNVJLGT.js";import"./chunk-B3CXF3EF.js";import"./chunk-YBO7SFWN.js";import"./chunk-4MLH5CMV.js";import"./chunk-VTPICQDM.js";import"./chunk-2UC72ZR6.js";export{e as discoverSootsimUrl,c as getLastFlowPreviewUploadResult,d as getLastFlowTraceSteps,g as hoistLeadingSimFlag,a as parseFlowFile,f as runFlowPlayback,h as runMaestroAuthoring,b as validateFlowFile};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.306 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{a,b,c}from"./chunk-7VVWOKJE.js";import"./chunk-C6TKPNCZ.js";import"./chunk-IXPUTLYO.js";import"./chunk-OYFRTYRJ.js";import"./chunk-BPNVJLGT.js";import"./chunk-B3CXF3EF.js";import"./chunk-YBO7SFWN.js";import"./chunk-4MLH5CMV.js";import"./chunk-VTPICQDM.js";import"./chunk-TCB56ABT.js";import"./chunk-YVWYARHY.js";import"./chunk-2UC72ZR6.js";export{c as printCommandHelp,b as printGroupHelp,a as printHelp};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.306 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{i as a,j as b}from"./chunk-74Z7ENQL.js";import"./chunk-KNPXTXMI.js";import"./chunk-6SBFFSXO.js";import"./chunk-XZSXFV33.js";import"./chunk-4TN4CD7M.js";import"./chunk-4XGRVAXA.js";import"./chunk-V5PJXD2O.js";import"./chunk-HPCKCWSQ.js";import"./chunk-4735ZG3S.js";import"./chunk-RYXC27XV.js";import"./chunk-VLKENZFJ.js";import"./chunk-6SIWYEK5.js";import"./chunk-G73JPCHX.js";import"./chunk-UTHRVXG5.js";import"./chunk-NQ56D5JF.js";import"./chunk-UAYFVJ7N.js";import"./chunk-7RZYUZEK.js";import"./chunk-MCGRZYAP.js";import"./chunk-6PIGQNS4.js";import"./chunk-FXC6BYKX.js";import"./chunk-LOXCEKKF.js";import"./chunk-IXPUTLYO.js";import"./chunk-OYFRTYRJ.js";import"./chunk-BPNVJLGT.js";import"./chunk-B3CXF3EF.js";import"./chunk-YBO7SFWN.js";import"./chunk-4MLH5CMV.js";import"./chunk-VTPICQDM.js";import"./chunk-2UC72ZR6.js";export{a as printShellPerfReport,b as runInspect};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.306 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{a}from"./chunk-QHGQTHHD.js";import"./chunk-MBF4LLVB.js";import"./chunk-VLKENZFJ.js";import"./chunk-2UC72ZR6.js";export{a as runInstallDesktop};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.306 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{c as a}from"./chunk-UBLLWSSF.js";import"./chunk-UAYFVJ7N.js";import"./chunk-7RZYUZEK.js";import"./chunk-MCGRZYAP.js";import"./chunk-LOXCEKKF.js";import"./chunk-B3CXF3EF.js";import"./chunk-YBO7SFWN.js";import"./chunk-VTPICQDM.js";import"./chunk-2UC72ZR6.js";export{a as runRuntime};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.306 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{a}from"./chunk-UTHRVXG5.js";import"./chunk-BPNVJLGT.js";import"./chunk-2UC72ZR6.js";export{a as settingsStore};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.306 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{c as a,d as b}from"./chunk-HMW7QKJV.js";import"./chunk-UTE2W4WC.js";import"./chunk-VTPICQDM.js";import"./chunk-2UC72ZR6.js";export{b as flushCliTelemetry,a as trackCliEvent};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! sootsim v0.1.306 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
|
-
import { createRequire as __sootsimCreateRequire } from 'node:module'
|
|
3
|
-
var require = __sootsimCreateRequire(import.meta.url)
|
|
4
|
-
import{e as a,f as b,g as c}from"./chunk-NOLQ4UEP.js";import"./chunk-HTR4DSA5.js";import"./chunk-6SIWYEK5.js";import"./chunk-G73JPCHX.js";import"./chunk-NQ56D5JF.js";import"./chunk-7RZYUZEK.js";import"./chunk-MCGRZYAP.js";import"./chunk-HMW7QKJV.js";import"./chunk-UTE2W4WC.js";import"./chunk-B3CXF3EF.js";import"./chunk-YBO7SFWN.js";import"./chunk-VTPICQDM.js";import"./chunk-2UC72ZR6.js";export{a as resolveDefaultUploadOrigin,b as resolvePublicPreviewOrigin,c as runUpload};
|