sootsim 0.1.199 → 0.1.201

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.
Files changed (143) hide show
  1. package/dist-cli/bin.js +3 -3
  2. package/dist-cli/chunks/{agent-GA53H7QE.js → agent-SHGFOKZN.js} +2 -2
  3. package/dist-cli/chunks/{agent-wrapper-73RLH2FX.js → agent-wrapper-3O4ZW24C.js} +2 -2
  4. package/dist-cli/chunks/{app-fonts-ZOBNZS33.js → app-fonts-KZOBGGZQ.js} +2 -2
  5. package/dist-cli/chunks/{assert-F3R5WDTF.js → assert-RZCBKONA.js} +2 -2
  6. package/dist-cli/chunks/{auth-N4JNH7VV.js → auth-PBD7GLXL.js} +2 -2
  7. package/dist-cli/chunks/beta-EJBRLRKG.js +2 -0
  8. package/dist-cli/chunks/{camera-UEZRRIHJ.js → camera-5OOLGGLN.js} +2 -2
  9. package/dist-cli/chunks/{chunk-EXK4SBZG.js → chunk-3RAGDMGM.js} +1 -1
  10. package/dist-cli/chunks/{chunk-UJJTWWWA.js → chunk-3W273A5J.js} +2 -2
  11. package/dist-cli/chunks/chunk-423YVBZK.js +2 -0
  12. package/dist-cli/chunks/chunk-5GICTRK5.js +1 -0
  13. package/dist-cli/chunks/{chunk-PM7PP77M.js → chunk-63EDUOKZ.js} +2 -2
  14. package/dist-cli/chunks/{chunk-J4C7UOFF.js → chunk-7672K2JN.js} +1 -1
  15. package/dist-cli/chunks/{chunk-SE66GEIX.js → chunk-7GG4TZ4L.js} +2 -2
  16. package/dist-cli/chunks/{chunk-442ZUQZU.js → chunk-AGSCFR4P.js} +3 -3
  17. package/dist-cli/chunks/{chunk-PCTTJ3VZ.js → chunk-AHJ2WJST.js} +1 -1
  18. package/dist-cli/chunks/{chunk-STFYNVRB.js → chunk-CHVGDYQJ.js} +1 -1
  19. package/dist-cli/chunks/{chunk-RC6SI3HN.js → chunk-CPVTNQAS.js} +1 -1
  20. package/dist-cli/chunks/{chunk-WKM6VBI6.js → chunk-D6CTB275.js} +1 -1
  21. package/dist-cli/chunks/{chunk-CRW3QH5N.js → chunk-ENY46QHT.js} +2 -2
  22. package/dist-cli/chunks/{chunk-CMN7QN7A.js → chunk-EVCOHQPK.js} +3 -3
  23. package/dist-cli/chunks/{chunk-MNOQD44S.js → chunk-F5TOTCUW.js} +2 -2
  24. package/dist-cli/chunks/{chunk-BXBQYLNE.js → chunk-FITJFYBO.js} +2 -2
  25. package/dist-cli/chunks/{chunk-UW472OOZ.js → chunk-FPRZHFV2.js} +2 -2
  26. package/dist-cli/chunks/{chunk-BQEFJNMS.js → chunk-GBUUYMPP.js} +1 -1
  27. package/dist-cli/chunks/{chunk-P3RPRFNT.js → chunk-HIWE4YYN.js} +2 -2
  28. package/dist-cli/chunks/{chunk-TOHLMYGO.js → chunk-HVSDT56M.js} +1 -1
  29. package/dist-cli/chunks/{chunk-5DEVXRVT.js → chunk-JEJV3UHZ.js} +2 -2
  30. package/dist-cli/chunks/{chunk-WAGE3MNW.js → chunk-MQEEYPOK.js} +1 -1
  31. package/dist-cli/chunks/{chunk-EISYHZ3C.js → chunk-NIDV74L2.js} +1 -1
  32. package/dist-cli/chunks/{chunk-NBB6Q72N.js → chunk-NYNAI5PO.js} +2 -2
  33. package/dist-cli/chunks/chunk-O56GZV3H.js +1 -0
  34. package/dist-cli/chunks/chunk-ORIISY22.js +6 -0
  35. package/dist-cli/chunks/{chunk-Z2J45FE7.js → chunk-PMPQ57UY.js} +2 -2
  36. package/dist-cli/chunks/chunk-QTI33DV5.js +2 -0
  37. package/dist-cli/chunks/{chunk-P3EWMDDY.js → chunk-RN662UDP.js} +2 -2
  38. package/dist-cli/chunks/{chunk-SPQPX2QY.js → chunk-S2AQ4WGX.js} +1 -1
  39. package/dist-cli/chunks/{chunk-C3HRAQ67.js → chunk-SKGV3OSH.js} +2 -2
  40. package/dist-cli/chunks/{chunk-KKZEPOUI.js → chunk-SQXH3XGO.js} +2 -2
  41. package/dist-cli/chunks/chunk-SVM25PDV.js +119 -0
  42. package/dist-cli/chunks/{chunk-T3JXAKQ6.js → chunk-SZVYOFMB.js} +2 -2
  43. package/dist-cli/chunks/{chunk-HDPWT5TV.js → chunk-T6WXCSWP.js} +2 -2
  44. package/dist-cli/chunks/{chunk-SUPYFVCB.js → chunk-USGQNFAM.js} +1 -1
  45. package/dist-cli/chunks/{chunk-OLHIKMFT.js → chunk-WHNPGZX4.js} +3 -3
  46. package/dist-cli/chunks/{chunk-6PVLOXE3.js → chunk-WJ7YQAKC.js} +66 -66
  47. package/dist-cli/chunks/{chunk-ELPRE3GE.js → chunk-XAFLM5JS.js} +2 -2
  48. package/dist-cli/chunks/{chunk-QTVFLCC6.js → chunk-YOPEO6SA.js} +1 -1
  49. package/dist-cli/chunks/{chunk-6UD5YAHW.js → chunk-ZSWQLDDQ.js} +1 -1
  50. package/dist-cli/chunks/cli-version-WTA2LUDV.js +2 -0
  51. package/dist-cli/chunks/{compat-3R6RCNMJ.js → compat-NNM7DTTO.js} +3 -3
  52. package/dist-cli/chunks/{config-DF544JZV.js → config-LBGQRC2P.js} +2 -2
  53. package/dist-cli/chunks/{control-MHQW7AUY.js → control-5DHHQZ26.js} +2 -2
  54. package/dist-cli/chunks/daemon-3KGXTPXJ.js +2 -0
  55. package/dist-cli/chunks/{debug-WYWIE3IU.js → debug-PILWFGN3.js} +3 -3
  56. package/dist-cli/chunks/{desktop-C63C3MWQ.js → desktop-CZ43IZFV.js} +3 -3
  57. package/dist-cli/chunks/{detox-MP45YNZC.js → detox-D6XW7Y4V.js} +2 -2
  58. package/dist-cli/chunks/{device-FBXT6FPE.js → device-M26JCUHY.js} +2 -2
  59. package/dist-cli/chunks/{diagnose-PMP72LQV.js → diagnose-HZZMVPQZ.js} +2 -2
  60. package/dist-cli/chunks/drivers-7ZM3KW22.js +2 -0
  61. package/dist-cli/chunks/flow-DDDWJ4KD.js +2 -0
  62. package/dist-cli/chunks/help-23GXSWP3.js +2 -0
  63. package/dist-cli/chunks/home-paths-746ZDH2I.js +2 -0
  64. package/dist-cli/chunks/inspect-T37ALZRL.js +2 -0
  65. package/dist-cli/chunks/install-desktop-FSY2ND5S.js +2 -0
  66. package/dist-cli/chunks/login-VBCYZKJ6.js +26 -0
  67. package/dist-cli/chunks/{logout-UXCCGDIY.js → logout-J22GLKHX.js} +2 -2
  68. package/dist-cli/chunks/{maestro-6Y47XI6E.js → maestro-5LWJ2S6K.js} +2 -2
  69. package/dist-cli/chunks/{mode-XM6OWLJ4.js → mode-XN46XIMK.js} +2 -2
  70. package/dist-cli/chunks/optional-demo-registry-YF4W5LPU.js +2 -0
  71. package/dist-cli/chunks/{perf-6FZAXAAJ.js → perf-ZIYESQRA.js} +2 -2
  72. package/dist-cli/chunks/{record-XGU6VROW.js → record-L74E3HCL.js} +3 -3
  73. package/dist-cli/chunks/runtime-7WSR27U6.js +2 -0
  74. package/dist-cli/chunks/{screenshot-command-WRYGQ2T3.js → screenshot-command-ZCI5QE4T.js} +2 -2
  75. package/dist-cli/chunks/{serve-LKCBGJKT.js → serve-CNDRR7XN.js} +2 -2
  76. package/dist-cli/chunks/{setup-JKISHGXR.js → setup-XZDN7XMI.js} +3 -3
  77. package/dist-cli/chunks/{skills-UILVO42Z.js → skills-KJK67CVB.js} +2 -2
  78. package/dist-cli/chunks/{storage-PSMMVX7H.js → storage-UOLMRHLQ.js} +2 -2
  79. package/dist-cli/chunks/store-FGCNPJBA.js +2 -0
  80. package/dist-cli/chunks/telemetry-QEO7INJC.js +2 -0
  81. package/dist-cli/chunks/{test-FS6RYAX7.js → test-5DK2XCRU.js} +5 -5
  82. package/dist-cli/chunks/{timeline-SIFXEXG3.js → timeline-UJFIJ2GT.js} +2 -2
  83. package/dist-cli/chunks/{upgrade-XLLID42L.js → upgrade-CXZFJIH7.js} +2 -2
  84. package/dist-cli/chunks/upload-ZFINR6K3.js +2 -0
  85. package/dist-cli/chunks/{version-5DWZ2TM2.js → version-XMSYOSAX.js} +2 -2
  86. package/dist-cli/chunks/{web-NNF6DZXX.js → web-QP4KDHR6.js} +2 -2
  87. package/dist-cli/chunks/{what-happened-YBK4CJEA.js → what-happened-VW274SXG.js} +2 -2
  88. package/dist-lib/agent-daemon-client.cjs +1 -1
  89. package/dist-lib/agent-events.cjs +1 -1
  90. package/dist-lib/agent-identity.cjs +1 -1
  91. package/dist-lib/agent-sessions.cjs +1 -1
  92. package/dist-lib/attached-projects.cjs +1 -1
  93. package/dist-lib/auth/shared-session.cjs +1 -1
  94. package/dist-lib/backend-origin.cjs +1 -1
  95. package/dist-lib/beta.cjs +1 -1
  96. package/dist-lib/beta.mjs +1 -1
  97. package/dist-lib/bridge-constants.cjs +1 -1
  98. package/dist-lib/cli-constants.cjs +1 -1
  99. package/dist-lib/config.cjs +1 -1
  100. package/dist-lib/detox/index.cjs +1 -1
  101. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  102. package/dist-lib/home-paths.cjs +11 -1
  103. package/dist-lib/host/bridge-host.cjs +1 -1
  104. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  105. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  106. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  107. package/dist-lib/host/websocket-proxy.cjs +1 -1
  108. package/dist-lib/index.cjs +1 -1
  109. package/dist-lib/jump-to-source-babel.cjs +1 -1
  110. package/dist-lib/menu.cjs +1 -1
  111. package/dist-lib/menu.mjs +1 -1
  112. package/dist-lib/metro.cjs +1 -1
  113. package/dist-lib/profiles.cjs +1 -1
  114. package/dist-lib/render-mode.cjs +1 -1
  115. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  116. package/dist-lib/sdk.cjs +1 -1
  117. package/dist-lib/sdk.mjs +1 -1
  118. package/dist-lib/skills.cjs +12 -18
  119. package/dist-lib/vite.cjs +1 -1
  120. package/package.json +1 -1
  121. package/src/home-paths.ts +13 -0
  122. package/src/screenshots/frame-compose.ts +21 -13
  123. package/dist-cli/chunks/beta-KR2LK3AU.js +0 -2
  124. package/dist-cli/chunks/chunk-DGEXFRMR.js +0 -1
  125. package/dist-cli/chunks/chunk-FB6XZBWN.js +0 -2
  126. package/dist-cli/chunks/chunk-G7B6KHXG.js +0 -6
  127. package/dist-cli/chunks/chunk-NP665TXX.js +0 -2
  128. package/dist-cli/chunks/chunk-TNBW7HIL.js +0 -119
  129. package/dist-cli/chunks/chunk-YY3XOAUI.js +0 -1
  130. package/dist-cli/chunks/cli-version-HNQQGFEE.js +0 -2
  131. package/dist-cli/chunks/daemon-YDZN4NTZ.js +0 -2
  132. package/dist-cli/chunks/drivers-PPWJSRVD.js +0 -2
  133. package/dist-cli/chunks/flow-S4YUJTEY.js +0 -2
  134. package/dist-cli/chunks/help-3GTYJZFV.js +0 -2
  135. package/dist-cli/chunks/home-paths-255E7UGU.js +0 -2
  136. package/dist-cli/chunks/inspect-2QZDXGP5.js +0 -2
  137. package/dist-cli/chunks/install-desktop-5KINFILK.js +0 -2
  138. package/dist-cli/chunks/login-527HCUFF.js +0 -26
  139. package/dist-cli/chunks/optional-demo-registry-FLZS7F5H.js +0 -2
  140. package/dist-cli/chunks/runtime-M6FJVD6U.js +0 -2
  141. package/dist-cli/chunks/store-DFYJXYWF.js +0 -2
  142. package/dist-cli/chunks/telemetry-P3LPM2L3.js +0 -2
  143. package/dist-cli/chunks/upload-L4ND3SER.js +0 -2
@@ -1,5 +1,5 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{C as N,D as F,F as y,Q as T,R as b,S}from"./chunk-6UD5YAHW.js";import{g as A,i as _}from"./chunk-P3RPRFNT.js";import"./chunk-PCTTJ3VZ.js";import{b as k}from"./chunk-STFYNVRB.js";import"./chunk-G7B6KHXG.js";import"./chunk-EISYHZ3C.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(`
1
+ /*! sootsim v0.1.201 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
+ import{C as N,D as F,F as y,Q as T,R as b,S}from"./chunk-ZSWQLDDQ.js";import{g as A,i as _}from"./chunk-HIWE4YYN.js";import"./chunk-AHJ2WJST.js";import{b as k}from"./chunk-CHVGDYQJ.js";import"./chunk-ORIISY22.js";import"./chunk-NIDV74L2.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
3
  sootsim what-happened \u2014 show recent events from the semantic timeline
4
4
 
5
5
  usage:
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/beta.ts
4
4
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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;
@@ -62,6 +62,7 @@ __export(home_paths_exports, {
62
62
  readActiveRuntime: () => readActiveRuntime,
63
63
  readDaemonLockfile: () => readDaemonLockfile,
64
64
  readDevBridgeLockfile: () => readDevBridgeLockfile,
65
+ readOrCreateAnonymousId: () => readOrCreateAnonymousId,
65
66
  readSharedConfig: () => readSharedConfig,
66
67
  readTelemetryEnabled: () => readTelemetryEnabled,
67
68
  removeDaemonLockfile: () => removeDaemonLockfile,
@@ -77,6 +78,7 @@ __export(home_paths_exports, {
77
78
  writeTelemetryEnabled: () => writeTelemetryEnabled
78
79
  });
79
80
  module.exports = __toCommonJS(home_paths_exports);
81
+ var import_node_crypto = require("node:crypto");
80
82
  var import_node_fs = __toESM(require("node:fs"), 1);
81
83
  var import_node_os = require("node:os");
82
84
  var import_node_path = __toESM(require("node:path"), 1);
@@ -182,6 +184,13 @@ function writeSharedConfig(patch) {
182
184
  function readTelemetryEnabled() {
183
185
  return readSharedConfig().telemetry !== false;
184
186
  }
187
+ function readOrCreateAnonymousId() {
188
+ const existing = readSharedConfig().anonymousId;
189
+ if (typeof existing === "string" && existing.trim()) return existing;
190
+ const created = `anon-cli-${(0, import_node_crypto.randomUUID)()}`;
191
+ writeSharedConfig({ anonymousId: created });
192
+ return created;
193
+ }
185
194
  function writeTelemetryEnabled(enabled) {
186
195
  writeSharedConfig({ telemetry: enabled });
187
196
  }
@@ -369,6 +378,7 @@ function removeDevBridgeLockfile() {
369
378
  readActiveRuntime,
370
379
  readDaemonLockfile,
371
380
  readDevBridgeLockfile,
381
+ readOrCreateAnonymousId,
372
382
  readSharedConfig,
373
383
  readTelemetryEnabled,
374
384
  removeDaemonLockfile,
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/menu.ts
4
4
  var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // cli/commands/inspect/core.ts
4
4
  function resolveMaxMsFlag(args, fallbackMs) {
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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;
@@ -15542,18 +15542,18 @@ var init_ws_bridge = __esm({
15542
15542
  function getFramedScreenshotLayout(model) {
15543
15543
  const spec = (0, import_settings.getDevice)(model);
15544
15544
  const renderScale = spec.scale;
15545
- const isLegacyHardware = !spec.dynamicIsland && spec.homeIndicatorHeight === 0 && spec.cornerRadius === 0;
15545
+ const isLegacyHardware = spec.statusBarHeight > 0 && !spec.dynamicIsland && spec.homeIndicatorHeight === 0 && spec.cornerRadius === 0;
15546
15546
  const logicalScreenWidth = spec.width;
15547
15547
  const logicalScreenHeight = spec.height;
15548
- const logicalFrameWidth = isLegacyHardware ? spec.width + LEGACY_SIDE_BEZEL * 2 : spec.width + import_chrome_metrics.BEZEL_PADDING * 2;
15549
- const logicalFrameHeight = isLegacyHardware ? spec.height + LEGACY_TOP_BEZEL + LEGACY_BOTTOM_BEZEL : spec.height + import_chrome_metrics.BEZEL_PADDING * 2;
15548
+ const logicalFrameWidth = isLegacyHardware ? spec.width + import_chrome_metrics.LEGACY_SIDE_BEZEL * 2 : spec.width + spec.bezelWidth * 2;
15549
+ const logicalFrameHeight = isLegacyHardware ? spec.height + import_chrome_metrics.LEGACY_TOP_BEZEL + import_chrome_metrics.LEGACY_BOTTOM_BEZEL : spec.height + spec.bezelWidth * 2;
15550
15550
  const logicalFrameLeft = import_chrome_metrics.SIDE_BUTTON_RESERVE;
15551
15551
  const logicalFrameTop = FRAME_OUTLINE_BLEED;
15552
15552
  const logicalOuterWidth = logicalFrameWidth + logicalFrameLeft * 2;
15553
15553
  const logicalOuterHeight = logicalFrameHeight + FRAME_OUTLINE_BLEED * 2;
15554
- const logicalScreenLeft = logicalFrameLeft + (isLegacyHardware ? LEGACY_SIDE_BEZEL : import_chrome_metrics.BEZEL_PADDING);
15555
- const logicalScreenTop = isLegacyHardware ? LEGACY_TOP_BEZEL : import_chrome_metrics.BEZEL_PADDING;
15556
- const logicalFrameRadius = isLegacyHardware ? LEGACY_FRAME_RADIUS : spec.cornerRadius + import_chrome_metrics.BEZEL_PADDING;
15554
+ const logicalScreenLeft = logicalFrameLeft + (isLegacyHardware ? import_chrome_metrics.LEGACY_SIDE_BEZEL : spec.bezelWidth);
15555
+ const logicalScreenTop = isLegacyHardware ? import_chrome_metrics.LEGACY_TOP_BEZEL : spec.bezelWidth;
15556
+ const logicalFrameRadius = isLegacyHardware ? import_chrome_metrics.LEGACY_FRAME_RADIUS : spec.cornerRadius + spec.bezelWidth;
15557
15557
  const buttons = [
15558
15558
  {
15559
15559
  side: "right",
@@ -15602,10 +15602,10 @@ function getFramedScreenshotLayout(model) {
15602
15602
  metallicRingShadow: isLegacyHardware ? null : METALLIC_RING_SHADOW,
15603
15603
  buttons,
15604
15604
  legacyHomeButton: isLegacyHardware ? {
15605
- top: LEGACY_TOP_BEZEL + spec.height + (LEGACY_BOTTOM_BEZEL - LEGACY_HOME_BUTTON_SIZE) / 2,
15606
- left: spec.width / 2 - LEGACY_HOME_BUTTON_SIZE / 2 + LEGACY_SIDE_BEZEL,
15607
- size: LEGACY_HOME_BUTTON_SIZE,
15608
- ring: LEGACY_HOME_BUTTON_RING
15605
+ top: import_chrome_metrics.LEGACY_TOP_BEZEL + spec.height + (import_chrome_metrics.LEGACY_BOTTOM_BEZEL - import_chrome_metrics.LEGACY_HOME_BUTTON_SIZE) / 2,
15606
+ left: spec.width / 2 - import_chrome_metrics.LEGACY_HOME_BUTTON_SIZE / 2 + import_chrome_metrics.LEGACY_SIDE_BEZEL,
15607
+ size: import_chrome_metrics.LEGACY_HOME_BUTTON_SIZE,
15608
+ ring: import_chrome_metrics.LEGACY_HOME_BUTTON_RING
15609
15609
  } : null,
15610
15610
  showHomeIndicator: spec.homeIndicatorHeight > 0,
15611
15611
  logicalHomeIndicatorStripHeight: spec.homeIndicatorHeight
@@ -15857,18 +15857,12 @@ async function createFramedScreenshotComposer(browser) {
15857
15857
  }
15858
15858
  };
15859
15859
  }
15860
- var import_chrome_metrics, import_settings, LEGACY_FRAME_RADIUS, LEGACY_SIDE_BEZEL, LEGACY_TOP_BEZEL, LEGACY_BOTTOM_BEZEL, LEGACY_HOME_BUTTON_SIZE, LEGACY_HOME_BUTTON_RING, METALLIC_RING_SHADOW, FRAME_OUTLINE_BLEED;
15860
+ var import_chrome_metrics, import_settings, METALLIC_RING_SHADOW, FRAME_OUTLINE_BLEED;
15861
15861
  var init_frame_compose = __esm({
15862
15862
  "src/screenshots/frame-compose.ts"() {
15863
15863
  "use strict";
15864
15864
  import_chrome_metrics = require("sootsim-engine/ios/chrome-metrics");
15865
15865
  import_settings = require("sootsim-engine/settings");
15866
- LEGACY_FRAME_RADIUS = 52;
15867
- LEGACY_SIDE_BEZEL = 18;
15868
- LEGACY_TOP_BEZEL = 42;
15869
- LEGACY_BOTTOM_BEZEL = 96;
15870
- LEGACY_HOME_BUTTON_SIZE = 54;
15871
- LEGACY_HOME_BUTTON_RING = 1.5;
15872
15866
  METALLIC_RING_SHADOW = "inset 0 0 0 0.5px #000, inset 0 0 0 2px #757575, inset 0 0 0 5px #212121";
15873
15867
  FRAME_OUTLINE_BLEED = 1;
15874
15868
  }
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.201 | (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,6 +1,6 @@
1
1
  {
2
2
  "name": "sootsim",
3
- "version": "0.1.199",
3
+ "version": "0.1.201",
4
4
  "description": "sootsim CLI + vite/metro plugins + skills registry. bridge client for driving the proprietary sootsim-engine over WebSocket.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "MIT",
package/src/home-paths.ts CHANGED
@@ -17,6 +17,7 @@
17
17
  // ├── dev-bridge.json live Vite dev bridge pointer for local CLI commands
18
18
  // └── config.json user prefs: update channel, cdn origin override
19
19
 
20
+ import { randomUUID } from 'node:crypto'
20
21
  import fs from 'node:fs'
21
22
  import { homedir } from 'node:os'
22
23
  import path from 'node:path'
@@ -215,6 +216,18 @@ export function readTelemetryEnabled(): boolean {
215
216
  return readSharedConfig().telemetry !== false
216
217
  }
217
218
 
219
+ // stable per-machine anonymous telemetry id. every signed-out cli used to
220
+ // report as the single literal distinct_id 'anonymous-cli', which merged all
221
+ // first-run users into one posthog person and made "a new user's login hung"
222
+ // impossible to see. created lazily on first use, persisted in config.json.
223
+ export function readOrCreateAnonymousId(): string {
224
+ const existing = readSharedConfig().anonymousId
225
+ if (typeof existing === 'string' && existing.trim()) return existing
226
+ const created = `anon-cli-${randomUUID()}`
227
+ writeSharedConfig({ anonymousId: created })
228
+ return created
229
+ }
230
+
218
231
  export function writeTelemetryEnabled(enabled: boolean): void {
219
232
  writeSharedConfig({ telemetry: enabled })
220
233
  }
@@ -1,12 +1,14 @@
1
- import { BEZEL_PADDING, SIDE_BUTTON_RESERVE } from 'sootsim-engine/ios/chrome-metrics'
1
+ import {
2
+ LEGACY_BOTTOM_BEZEL,
3
+ LEGACY_FRAME_RADIUS,
4
+ LEGACY_HOME_BUTTON_RING,
5
+ LEGACY_HOME_BUTTON_SIZE,
6
+ LEGACY_SIDE_BEZEL,
7
+ LEGACY_TOP_BEZEL,
8
+ SIDE_BUTTON_RESERVE,
9
+ } from 'sootsim-engine/ios/chrome-metrics'
2
10
  import { getDevice, type DeviceModel } from 'sootsim-engine/settings'
3
11
 
4
- const LEGACY_FRAME_RADIUS = 52
5
- const LEGACY_SIDE_BEZEL = 18
6
- const LEGACY_TOP_BEZEL = 42
7
- const LEGACY_BOTTOM_BEZEL = 96
8
- const LEGACY_HOME_BUTTON_SIZE = 54
9
- const LEGACY_HOME_BUTTON_RING = 1.5
10
12
  const METALLIC_RING_SHADOW =
11
13
  'inset 0 0 0 0.5px #000, inset 0 0 0 2px #757575, inset 0 0 0 5px #212121'
12
14
  const FRAME_OUTLINE_BLEED = 1
@@ -59,26 +61,32 @@ export interface FramedScreenshotLayout {
59
61
  export function getFramedScreenshotLayout(model: DeviceModel): FramedScreenshotLayout {
60
62
  const spec = getDevice(model)
61
63
  const renderScale = spec.scale
64
+ // legacy = home-button iPhone (SE). the canvas workspace also has no island /
65
+ // home indicator / corner radius, but no status bar, so gate on statusBar > 0
66
+ // to keep it out of the SE shell (mirrors DeviceFrame.isLegacyHardware).
62
67
  const isLegacyHardware =
63
- !spec.dynamicIsland && spec.homeIndicatorHeight === 0 && spec.cornerRadius === 0
68
+ spec.statusBarHeight > 0 &&
69
+ !spec.dynamicIsland &&
70
+ spec.homeIndicatorHeight === 0 &&
71
+ spec.cornerRadius === 0
64
72
  const logicalScreenWidth = spec.width
65
73
  const logicalScreenHeight = spec.height
66
74
  const logicalFrameWidth = isLegacyHardware
67
75
  ? spec.width + LEGACY_SIDE_BEZEL * 2
68
- : spec.width + BEZEL_PADDING * 2
76
+ : spec.width + spec.bezelWidth * 2
69
77
  const logicalFrameHeight = isLegacyHardware
70
78
  ? spec.height + LEGACY_TOP_BEZEL + LEGACY_BOTTOM_BEZEL
71
- : spec.height + BEZEL_PADDING * 2
79
+ : spec.height + spec.bezelWidth * 2
72
80
  const logicalFrameLeft = SIDE_BUTTON_RESERVE
73
81
  const logicalFrameTop = FRAME_OUTLINE_BLEED
74
82
  const logicalOuterWidth = logicalFrameWidth + logicalFrameLeft * 2
75
83
  const logicalOuterHeight = logicalFrameHeight + FRAME_OUTLINE_BLEED * 2
76
84
  const logicalScreenLeft =
77
- logicalFrameLeft + (isLegacyHardware ? LEGACY_SIDE_BEZEL : BEZEL_PADDING)
78
- const logicalScreenTop = isLegacyHardware ? LEGACY_TOP_BEZEL : BEZEL_PADDING
85
+ logicalFrameLeft + (isLegacyHardware ? LEGACY_SIDE_BEZEL : spec.bezelWidth)
86
+ const logicalScreenTop = isLegacyHardware ? LEGACY_TOP_BEZEL : spec.bezelWidth
79
87
  const logicalFrameRadius = isLegacyHardware
80
88
  ? LEGACY_FRAME_RADIUS
81
- : spec.cornerRadius + BEZEL_PADDING
89
+ : spec.cornerRadius + spec.bezelWidth
82
90
  const buttons: FrameButtonLayout[] = [
83
91
  {
84
92
  side: 'right',
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c,d}from"./chunk-WAGE3MNW.js";import"./chunk-EISYHZ3C.js";export{d as BETA_ASK_HEADLINE,b as BETA_LABEL,c as BETA_TAGLINE,a as IS_BETA};
@@ -1 +0,0 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a as s}from"./chunk-BXBQYLNE.js";import{A as o}from"./chunk-G7B6KHXG.js";function u(){let e=process.env.DO_NOT_TRACK;return e==="1"||e==="true"||!o()}function a(){if(u())return null;let e=process.env.VITE_POSTHOG_API_KEY||"";if(!e)return null;let t=process.env.SOOT_POSTHOG_HOST||process.env.VITE_POSTHOG_HOST||"https://us.i.posthog.com";return{apiKey:e,host:t.replace(/\/+$/,"")}}function c(e){return e?e.userId?e.userId:e.installationId!=null?`install:${e.installationId}`:e.repoId?`repo:${e.repoId}`:e.shareId?`share:${e.shareId}`:"anonymous-cli":"anonymous-cli"}function p(e){let t=e.identity??{},n={$lib:"soot-cli",source:t.source??"cli",...e.properties};return t.userId&&(n.userId=t.userId),t.repoId&&(n.repoId=t.repoId),t.installationId!=null&&(n.installationId=String(t.installationId)),t.shareId&&(n.shareId=t.shareId),t.plan&&(n.plan=t.plan),{event:e.event,distinct_id:c(t),properties:n,timestamp:new Date().toISOString()}}var r=[],l=!1;async function i(){if(r.length===0)return;let e=a();if(!e){r.length=0;return}let t=r.splice(0,r.length).map(p);try{await fetch(`${e.host}/batch/`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({api_key:e.apiKey,batch:t}),signal:AbortSignal.timeout(2e3)})}catch{}}function d(){l||(l=!0,process.on("beforeExit",()=>void i()),process.on("exit",()=>void i()))}function h(e){if(u())return;d();let t=null;try{t=s()?.user?.id??null}catch{t=null}r.push({...e,identity:{source:"cli",userId:t,...e.identity}})}async function g(){await i()}export{h as a,g as b};
@@ -1,6 +0,0 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import t from"node:fs";import{homedir as A}from"node:os";import o from"node:path";var E="SOOTSIM_HOME",_="active",I="daemon.json",N="dev-bridge.json",P="config.json",x=3e4;function u(){let e=process.env[E];return e&&e.length>0?o.resolve(e):o.join(A(),".sootsim")}function j(){if(process.env.SOOTSIM_FORCE_DAEMON_INSTALL==="1")return!1;let e=process.env.SOOTSIM_DEV;if(e==="1"||e==="true")return!0;if(e==="0"||e==="false")return!1;let r=process.argv[1];if(!r)return!1;try{return t.realpathSync(r).includes(`${o.sep}packages${o.sep}sootsim${o.sep}`)}catch{return!1}}function F(){return process.env.SOOTSIM_FORCE_DAEMON_INSTALL==="1"?!1:process.env.IS_TAMAGUI_DEV==="1"}function W(){return j()||F()}function f(){return o.join(u(),"runtimes")}function w(e){return o.join(f(),e)}function k(){return o.join(f(),_)}function D(){return o.join(u(),"electron")}function X(){return o.join(D(),"userData")}function q(e){return o.join(D(),e)}function T(){return o.join(u(),"profiles")}function B(){return o.join(u(),"daemon-app")}function M(){return o.join(B(),"SootSim Daemon.app")}function z(){return o.join(M(),"Contents","MacOS","sootsim-daemon")}function C(){return o.join(u(),"cache")}function p(){return o.join(u(),I)}function m(){return o.join(u(),N)}function b(){return o.join(u(),P)}function L(){try{let e=t.readFileSync(b(),"utf8"),r=JSON.parse(e);return r&&typeof r=="object"?r:{}}catch{return{}}}function R(e){g();let r=L(),i={...r,...e};e.settings&&typeof e.settings=="object"&&(i.settings={...r.settings&&typeof r.settings=="object"?r.settings:{},...e.settings});let c=`${b()}.tmp`;return t.writeFileSync(c,`${JSON.stringify(i,null,2)}
3
- `,"utf8"),t.renameSync(c,b()),i}function Q(){return L().telemetry!==!1}function Z(e){R({telemetry:e})}function g(){t.mkdirSync(u(),{recursive:!0}),t.mkdirSync(f(),{recursive:!0}),t.mkdirSync(D(),{recursive:!0}),t.mkdirSync(T(),{recursive:!0}),t.mkdirSync(C(),{recursive:!0})}function $(){try{let e=t.readFileSync(k(),"utf8").trim();return e.length>0?e:null}catch{return null}}function ee(e){t.mkdirSync(f(),{recursive:!0}),t.writeFileSync(k(),`${e}
4
- `,"utf8")}function re(){try{return t.readdirSync(f(),{withFileTypes:!0}).filter(e=>e.isDirectory()).map(e=>e.name).sort(J)}catch{return[]}}function J(e,r){let i=s=>{let a=s.indexOf("-"),l=a>=0?s.slice(0,a):s,O=a>=0?s.slice(a+1):"",v=l.split(".").map(S=>Number.parseInt(S,10));return v.some(S=>!Number.isFinite(S))?[[Number.POSITIVE_INFINITY],s]:[v,O]},[c,n]=i(e),[h,y]=i(r);for(let s=0;s<Math.max(c.length,h.length);s++){let a=c[s]??0,l=h[s]??0;if(a!==l)return a-l}return n===y?0:n?y?n<y?-1:1:-1:1}function te(){let e=$();if(!e)return null;let r=w(e);try{if(t.statSync(r).isDirectory())return r}catch{}return null}var d=16*1024;function V(){try{let e=t.openSync(p(),"r");try{let r=Buffer.alloc(d),i=t.readSync(e,r,0,d,0),c=r.subarray(0,i).toString("utf8"),n=JSON.parse(c);return n&&n.schema===1&&typeof n.pid=="number"&&typeof n.bridgePort=="number"&&typeof n.runtimePort=="number"&&typeof n.startedAt=="number"&&typeof n.heartbeatAt=="number"?n:null}finally{t.closeSync(e)}}catch{return null}}function ne(){try{let e=t.openSync(m(),"r");try{let r=Buffer.alloc(d),i=t.readSync(e,r,0,d,0),c=r.subarray(0,i).toString("utf8"),n=JSON.parse(c);return n&&n.schema===1&&n.source==="vite-dev"&&typeof n.pid=="number"&&typeof n.bridgePort=="number"&&typeof n.runtimePort=="number"&&typeof n.cwd=="string"&&typeof n.startedAt=="number"&&typeof n.heartbeatAt=="number"&&(n.shellPort===void 0||typeof n.shellPort=="number")?n:null}finally{t.closeSync(e)}}catch{return null}}function H(e,r=Date.now()){if(!e||r-e.heartbeatAt>x)return!1;try{return process.kill(e.pid,0),!0}catch{return!1}}function oe(e,r=Date.now()){if(!e||r-e.heartbeatAt>x)return!1;try{return process.kill(e.pid,0),!0}catch{return!1}}function G(e){g();let r=`${p()}.tmp`;t.writeFileSync(r,`${JSON.stringify(e,null,2)}
5
- `,"utf8"),t.renameSync(r,p())}function ie(e){g();let r=`${m()}.tmp`;t.writeFileSync(r,`${JSON.stringify(e,null,2)}
6
- `,"utf8"),t.renameSync(r,m())}function se(e){g();let r=V();return r&&H(r)&&r.pid!==e.pid?!1:(G(e),!0)}function ce(){try{t.unlinkSync(p())}catch{}}function ue(){try{t.unlinkSync(m())}catch{}}export{E as a,_ as b,I as c,N as d,P as e,x as f,u as g,j as h,F as i,W as j,f as k,w as l,k as m,D as n,X as o,q as p,T as q,B as r,M as s,z as t,C as u,p as v,m as w,b as x,L as y,R as z,Q as A,Z as B,g as C,$ as D,ee as E,re as F,J as G,te as H,V as I,ne as J,H as K,oe as L,G as M,ie as N,se as O,ce as P,ue as Q};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.199 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- var o={width:3,lock:{top:253,height:103},ringToggle:{top:152,height:32},volumeUp:{top:214,height:61},volumeDown:{top:290,height:61}},b={width:2.5,lock:{top:130,height:78},ringToggle:{top:94,height:22},volumeUp:{top:126,height:48},volumeDown:{top:188,height:48}},d={width:3,lock:{top:238,height:78},ringToggle:{top:-1e3,height:0},volumeUp:{top:336,height:62},volumeDown:{top:408,height:62}},g={width:3,lock:{top:248,height:72},ringToggle:{top:-1e3,height:0},volumeUp:{top:144,height:62},volumeDown:{top:216,height:62}},n=48;function t(e){return{...e,platform:"ios",navigationBarHeight:0,navigationBarMode:e.homeIndicatorHeight>0?"gesture":"none",displayCutout:{top:e.dynamicIsland?e.statusBarHeight:0,bottom:0,left:0,right:0},cameraCutout:null,osVersion:e.iosVersion,androidApiLevel:null,systemName:"iOS",manufacturer:"Apple",brand:"Apple",modelName:e.name}}var p={"canvas-workspace":t({name:"Canvas Workspace",width:1440,height:900,scale:1,statusBarHeight:0,homeIndicatorHeight:0,cornerRadius:0,dynamicIsland:null,safeAreaInsets:{top:0,bottom:0,left:0,right:0},iosVersion:"26.4",physicalPPI:110,hardwareButtons:o,experimental:!0}),"iphone-se":t({name:"iPhone SE",width:375,height:667,scale:2,statusBarHeight:20,homeIndicatorHeight:0,cornerRadius:0,dynamicIsland:null,safeAreaInsets:{top:20,bottom:0,left:0,right:0},iosVersion:"15.8",physicalPPI:326,hardwareButtons:b}),"iphone-14":t({name:"iPhone 14",width:390,height:844,scale:3,statusBarHeight:47,homeIndicatorHeight:34,cornerRadius:55,dynamicIsland:null,safeAreaInsets:{top:47,bottom:34,left:0,right:0},iosVersion:"17.6",physicalPPI:460,hardwareButtons:o}),"iphone-15":t({name:"iPhone 15",width:393,height:852,scale:3,statusBarHeight:59,homeIndicatorHeight:34,cornerRadius:58,dynamicIsland:{width:126,height:37.3},safeAreaInsets:{top:59,bottom:34,left:0,right:0},iosVersion:"17.6",physicalPPI:460,hardwareButtons:o}),"iphone-15-plus":t({name:"iPhone 15 Plus",width:430,height:932,scale:3,statusBarHeight:59,homeIndicatorHeight:34,cornerRadius:58,dynamicIsland:{width:126,height:37.3},safeAreaInsets:{top:59,bottom:34,left:0,right:0},iosVersion:"17.6",physicalPPI:460,hardwareButtons:o}),"iphone-15-pro":t({name:"iPhone 15 Pro",width:393,height:852,scale:3,statusBarHeight:59,homeIndicatorHeight:34,cornerRadius:58,dynamicIsland:{width:126,height:38},safeAreaInsets:{top:59,bottom:34,left:0,right:0},iosVersion:"18.2",physicalPPI:460,hardwareButtons:o}),"iphone-15-pro-max":t({name:"iPhone 15 Pro Max",width:430,height:932,scale:3,statusBarHeight:59,homeIndicatorHeight:34,cornerRadius:58,dynamicIsland:{width:126,height:38},safeAreaInsets:{top:59,bottom:34,left:0,right:0},iosVersion:"18.2",physicalPPI:460,hardwareButtons:o}),"iphone-16":t({name:"iPhone 16",width:393,height:852,scale:3,statusBarHeight:59,homeIndicatorHeight:34,cornerRadius:58,dynamicIsland:{width:126,height:37.3},safeAreaInsets:{top:59,bottom:34,left:0,right:0},iosVersion:"26.4",physicalPPI:460,hardwareButtons:o}),"iphone-16-plus":t({name:"iPhone 16 Plus",width:430,height:932,scale:3,statusBarHeight:59,homeIndicatorHeight:34,cornerRadius:58,dynamicIsland:{width:126,height:37.3},safeAreaInsets:{top:59,bottom:34,left:0,right:0},iosVersion:"26.4",physicalPPI:460,hardwareButtons:o}),"iphone-16-pro":t({name:"iPhone 16 Pro",width:402,height:874,scale:3,statusBarHeight:62,homeIndicatorHeight:34,cornerRadius:58,dynamicIsland:{width:126,height:38},safeAreaInsets:{top:62,bottom:34,left:0,right:0},iosVersion:"26.4",physicalPPI:460,hardwareButtons:o}),"iphone-16-pro-max":t({name:"iPhone 16 Pro Max",width:440,height:956,scale:3,statusBarHeight:62,homeIndicatorHeight:34,cornerRadius:58,dynamicIsland:{width:126,height:38},safeAreaInsets:{top:62,bottom:34,left:0,right:0},iosVersion:"26.4",physicalPPI:460,hardwareButtons:o}),"iphone-17":t({name:"iPhone 17",width:402,height:874,scale:3,statusBarHeight:59,homeIndicatorHeight:34,cornerRadius:58,dynamicIsland:{width:126,height:37.3},safeAreaInsets:{top:59,bottom:34,left:0,right:0},iosVersion:"26.4",physicalPPI:460,hardwareButtons:o}),"iphone-17-air":t({name:"iPhone 17 Air",width:430,height:932,scale:3,statusBarHeight:59,homeIndicatorHeight:34,cornerRadius:58,dynamicIsland:{width:126,height:38},safeAreaInsets:{top:59,bottom:34,left:0,right:0},iosVersion:"26.4",physicalPPI:460,hardwareButtons:o}),"iphone-17-pro":t({name:"iPhone 17 Pro",width:402,height:874,scale:3,statusBarHeight:59,homeIndicatorHeight:34,cornerRadius:58,dynamicIsland:{width:126,height:38},safeAreaInsets:{top:59,bottom:34,left:0,right:0},iosVersion:"26.4",physicalPPI:460,hardwareButtons:o}),"iphone-17-pro-max":t({name:"iPhone 17 Pro Max",width:440,height:956,scale:3,statusBarHeight:62,homeIndicatorHeight:34,cornerRadius:58,dynamicIsland:{width:126,height:38},safeAreaInsets:{top:62,bottom:34,left:0,right:0},iosVersion:"26.4",physicalPPI:460,hardwareButtons:o}),"pixel-8":{platform:"android",name:"Pixel 8",width:412,height:915,scale:2.625,statusBarHeight:40,homeIndicatorHeight:0,navigationBarHeight:n,navigationBarMode:"gesture",displayCutout:{top:40,bottom:0,left:0,right:0},cornerRadius:39,dynamicIsland:null,cameraCutout:{diameter:24},safeAreaInsets:{top:40,bottom:n,left:0,right:0},osVersion:"15",iosVersion:"",androidApiLevel:35,systemName:"Android",manufacturer:"Google",brand:"google",modelName:"Pixel 8",physicalPPI:428,hardwareButtons:d},"pixel-8-three-button":{platform:"android",name:"Pixel 8 (3-button)",width:412,height:915,scale:2.625,statusBarHeight:40,homeIndicatorHeight:0,navigationBarHeight:48,navigationBarMode:"three-button",displayCutout:{top:40,bottom:0,left:0,right:0},cornerRadius:39,dynamicIsland:null,cameraCutout:{diameter:24},safeAreaInsets:{top:40,bottom:48,left:0,right:0},osVersion:"15",iosVersion:"",androidApiLevel:35,systemName:"Android",manufacturer:"Google",brand:"google",modelName:"Pixel 8",physicalPPI:428,hardwareButtons:d},"pixel-9-pro-xl":{platform:"android",name:"Pixel 9 Pro XL",width:448,height:997,scale:3,statusBarHeight:40,homeIndicatorHeight:0,navigationBarHeight:n,navigationBarMode:"gesture",displayCutout:{top:40,bottom:0,left:0,right:0},cornerRadius:41,dynamicIsland:null,cameraCutout:{diameter:24},safeAreaInsets:{top:40,bottom:n,left:0,right:0},osVersion:"15",iosVersion:"",androidApiLevel:35,systemName:"Android",manufacturer:"Google",brand:"google",modelName:"Pixel 9 Pro XL",physicalPPI:486,hardwareButtons:d},"galaxy-s24":{platform:"android",name:"Galaxy S24",width:360,height:780,scale:3,statusBarHeight:36,homeIndicatorHeight:0,navigationBarHeight:n,navigationBarMode:"gesture",displayCutout:{top:36,bottom:0,left:0,right:0},cornerRadius:36,dynamicIsland:null,cameraCutout:{diameter:18},safeAreaInsets:{top:36,bottom:n,left:0,right:0},osVersion:"15",iosVersion:"",androidApiLevel:35,systemName:"Android",manufacturer:"Samsung",brand:"samsung",modelName:"SM-S921B",physicalPPI:416,hardwareButtons:g},"galaxy-s24-ultra":{platform:"android",name:"Galaxy S24 Ultra",width:384,height:824,scale:3.75,statusBarHeight:36,homeIndicatorHeight:0,navigationBarHeight:n,navigationBarMode:"gesture",displayCutout:{top:36,bottom:0,left:0,right:0},cornerRadius:24,dynamicIsland:null,cameraCutout:{diameter:18},safeAreaInsets:{top:36,bottom:n,left:0,right:0},osVersion:"15",iosVersion:"",androidApiLevel:35,systemName:"Android",manufacturer:"Samsung",brand:"samsung",modelName:"SM-S928B",physicalPPI:505,hardwareButtons:g}},m="iphone-17-pro";function v(e){return p[e]}function u(){return Object.keys(p)}function P(){return u().filter(e=>!p[e].experimental)}var s={"iphone-6-9":{name:"iphone-6-9",label:'iPhone 6.7"',width:1284,height:2778,store:"apple"},"iphone-6-1":{name:"iphone-6-1",label:'iPhone 6.5"',width:1242,height:2688,store:"apple"},"android-phone":{name:"android-phone",label:"Google Play phone",width:1080,height:1920,store:"google"},"android-tablet-7":{name:"android-tablet-7",label:'Google Play 7" tablet',width:1200,height:1920,store:"google"},"android-tablet-10":{name:"android-tablet-10",label:'Google Play 10" tablet',width:1600,height:2560,store:"google"}},l={dark:{type:"gradient",direction:180,glow:"#4caeff",stops:[{offset:0,color:"#111827"},{offset:40,color:"#101725"},{offset:100,color:"#06080d"}]},cyan:{type:"gradient",direction:180,glow:"#25c3ec",stops:[{offset:0,color:"#1b465c"},{offset:32,color:"#122336"},{offset:100,color:"#05070b"}]},gold:{type:"gradient",direction:180,glow:"#ffc25a",stops:[{offset:0,color:"#3b2f1a"},{offset:34,color:"#18140d"},{offset:100,color:"#050505"}]},red:{type:"gradient",direction:180,glow:"#ff6178",stops:[{offset:0,color:"#3e1018"},{offset:35,color:"#17080c"},{offset:100,color:"#050405"}]}},B={color:"#25c3ec",blur:120,spread:52,opacity:.34},I="iphone-17-pro";var y=[{name:"white",value:"#ffffff"},{name:"gray-light",value:"#d1d5db"},{name:"gray",value:"#6b7280"},{name:"gray-dark",value:"#3b4350"},{name:"slate",value:"#2a3644"},{name:"black",value:"#000000"},{name:"cyan",value:"#25c3ec"},{name:"blue",value:"#3f7cff"},{name:"teal",value:"#1fc7b4"},{name:"green",value:"#42c95d"},{name:"lime",value:"#92d21b"},{name:"gold",value:"#f5c518"},{name:"orange",value:"#ff912e"},{name:"coral",value:"#ff6f5b"},{name:"red",value:"#ff4f6f"},{name:"berry",value:"#d054ff"},{name:"magenta",value:"#ff4eb8"}],f=Object.fromEntries(y.map(e=>[e.name,e.value]));function T(e){return f[e]??f.gray}function R(e){return Object.prototype.hasOwnProperty.call(s,e)?s[e]:null}function S(e){return{type:e.type,color:e.color,direction:e.direction,glow:e.glow,stops:e.stops?.map(r=>({...r}))}}function A(e){return Object.prototype.hasOwnProperty.call(l,e)?S(l[e]):null}var h={deviceModel:{type:"enum",default:m,description:"device model to simulate",cliFlag:"device",cliFlagShort:"d",options:u(),group:"device"},orientation:{type:"enum",default:"portrait",description:"screen orientation",cliFlag:"orientation",options:["portrait","landscape"],group:"device"},colorScheme:{type:"enum",default:"auto",description:"color scheme (auto follows system preference)",cliFlag:"theme",cliFlagShort:"t",options:["light","dark","auto"],group:"appearance"},reduceMotion:{type:"boolean",default:!1,description:"reduce motion",group:"appearance"},boldText:{type:"boolean",default:!1,description:"bold text",group:"appearance"},fontSize:{type:"number",default:1,description:"font size multiplier (1.0 = default)",group:"appearance",validate:e=>e>=.5&&e<=2},networkCondition:{type:"enum",default:"wifi",description:"simulated network condition",cliFlag:"network",options:["wifi","lte","fast-3g","slow-3g","offline"],group:"network"},language:{type:"string",default:"en",description:"language code (ISO 639-1)",cliFlag:"language",group:"locale"},region:{type:"string",default:"US",description:"region code (ISO 3166-1)",cliFlag:"region",group:"locale"},showTouches:{type:"boolean",default:!1,description:"show touch indicators",group:"simulator"},showFrame:{type:"boolean",default:!0,description:"show device frame",cliFlag:"frame",group:"simulator"},showTopBar:{type:"boolean",default:!0,description:"show simulator top bar",group:"simulator"},screenshotMode:{type:"boolean",default:!1,description:"show screenshot composition mode in the browser shell",group:"simulator"},threeMode:{type:"boolean",default:!1,description:"show the experimental 3d device stage in the browser shell",group:"simulator"},threeRecordingEditor:{type:"boolean",default:!1,description:"dock the 3d recording editor in the 3d stage (toggled from its rail)",group:"simulator"},screenshotCanvas:{type:"enum",default:"iphone-6-9",description:"target app-store canvas preset for screenshot mode",options:Object.keys(s),group:"simulator"},screenshotBackground:{type:"enum",default:"dark",description:"background preset rendered inside the screenshot canvas",options:Object.keys(l),group:"simulator"},screenshotText:{type:"enum",default:"bold-top",description:"text layout preset for the screenshot canvas",options:["bold-top","editorial-left","minimal-bottom","none"],group:"simulator"},screenshotPose:{type:"enum",default:"straight",description:"device pose preset inside the screenshot canvas",options:["straight","tilted-left","tilted-right","cut-bottom","cut-top"],group:"simulator"},screenshotDynamicSize:{type:"boolean",default:!1,description:"let the screenshot canvas rect fit available space (off = pin to exact preset pixels)",group:"simulator"},showStatusBar:{type:"boolean",default:!0,description:"show status bar",group:"simulator"},showHomeIndicator:{type:"boolean",default:!0,description:"show home indicator",group:"simulator"},alwaysShowLiveWebViews:{type:"boolean",default:!1,description:"always render WebViews as live browser views",group:"simulator"},a11yMode:{type:"enum",default:"delayed",description:"accessibility tree sync mode (off, delayed=100ms, active=30ms)",options:["off","delayed","active"],group:"simulator"},a11yDepth:{type:"enum",default:"deep",description:"accessibility tree structure depth (shallow or deep)",options:["shallow","deep"],group:"simulator"},inspectMode:{type:"boolean",default:!1,description:"inspect mode",group:"simulator"},errorReporting:{type:"boolean",default:!1,description:"send anonymous crash reports",group:"privacy"},agentProvider:{type:"enum",default:"codex",description:"ai agent used by the sootsim agent prompt bar",options:["codex","claude"],group:"agent"},onboardingComplete:{type:"boolean",default:!1,description:"first-run onboarding completed",group:"beta"},betaConsentVersion:{type:"number",default:0,description:"last accepted beta telemetry policy version",group:"beta"},detailedTelemetry:{type:"boolean",default:!0,description:"send detailed usage telemetry (sessions, perf samples)",group:"beta"}};function w(){if(typeof window>"u")return{};let e={};try{let r=new URLSearchParams(window.location.search),a=r.get("device");a&&h.deviceModel.options?.includes(a)&&(e.deviceModel=a);let c=r.get("colorScheme")??r.get("theme");c&&h.colorScheme.options?.includes(c)&&(e.colorScheme=c);let i=r.get("alwaysShowLiveWebViews");i==="1"||i==="true"?e.alwaysShowLiveWebViews=!0:(i==="0"||i==="false")&&(e.alwaysShowLiveWebViews=!1)}catch{}return e}function H(){let e={};for(let[r,a]of Object.entries(h))e[r]=a.default;return Object.assign(e,w()),e}export{B as a,I as b,T as c,R as d,S as e,A as f,p as g,v as h,P as i,h as j,w as k,H as l};