sootsim 0.1.166 → 0.1.167

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 (154) hide show
  1. package/dist-cli/bin.js +3 -3
  2. package/dist-cli/chunks/{agent-C2HTMDLW.js → agent-FGNA3LC6.js} +2 -2
  3. package/dist-cli/chunks/{agent-wrapper-EE2BNDAQ.js → agent-wrapper-5CRKG7K7.js} +2 -2
  4. package/dist-cli/chunks/{app-fonts-5JUWVRIA.js → app-fonts-CM3ML6NV.js} +2 -2
  5. package/dist-cli/chunks/{assert-KF2OHBES.js → assert-DCO6XYDU.js} +2 -2
  6. package/dist-cli/chunks/auto-bootstrap-QJUHQLQH.js +2 -0
  7. package/dist-cli/chunks/beta-W5Y32GJR.js +2 -0
  8. package/dist-cli/chunks/{camera-L2DDKMHH.js → camera-HWLYOMJV.js} +2 -2
  9. package/dist-cli/chunks/{chunk-BFEM7E4T.js → chunk-27CWE62K.js} +2 -2
  10. package/dist-cli/chunks/{chunk-O3PHDVRF.js → chunk-2QPTZHGU.js} +2 -2
  11. package/dist-cli/chunks/{chunk-ITF7FOSZ.js → chunk-2UGS25BK.js} +1 -1
  12. package/dist-cli/chunks/{chunk-MPJ2W2JQ.js → chunk-3MQAPPOW.js} +1 -1
  13. package/dist-cli/chunks/{chunk-FLDFTC6A.js → chunk-3RHECMKV.js} +3 -3
  14. package/dist-cli/chunks/{chunk-S2MAMEQX.js → chunk-47JNNTYQ.js} +1 -1
  15. package/dist-cli/chunks/chunk-7P6CUODK.js +1 -0
  16. package/dist-cli/chunks/{chunk-JXHFW3SD.js → chunk-AB6TZFIE.js} +1 -1
  17. package/dist-cli/chunks/{chunk-M77N57QN.js → chunk-ACNSMZSP.js} +1 -1
  18. package/dist-cli/chunks/{chunk-OIVSYUZ4.js → chunk-BIG5BGMC.js} +2 -2
  19. package/dist-cli/chunks/{chunk-2TE65ODE.js → chunk-D6QVHHDU.js} +1 -1
  20. package/dist-cli/chunks/{chunk-D3GGZIBS.js → chunk-DAMNOIAJ.js} +2 -2
  21. package/dist-cli/chunks/{chunk-Y7PCKIZD.js → chunk-DM2EOTY5.js} +2 -2
  22. package/dist-cli/chunks/{chunk-ITJSVY3L.js → chunk-DWYDDN7J.js} +2 -2
  23. package/dist-cli/chunks/chunk-E5E7XQIN.js +2 -0
  24. package/dist-cli/chunks/{chunk-WPJGFVZ5.js → chunk-EIMDQRZS.js} +2 -2
  25. package/dist-cli/chunks/{chunk-LSDWJEFJ.js → chunk-ELHNXEJI.js} +2 -2
  26. package/dist-cli/chunks/{chunk-SBMHSZXI.js → chunk-F2UUNDRU.js} +1 -1
  27. package/dist-cli/chunks/chunk-F5PLWUIU.js +1 -0
  28. package/dist-cli/chunks/{chunk-S4DTM5EZ.js → chunk-F5REXFAW.js} +2 -2
  29. package/dist-cli/chunks/{chunk-HHMW6MXX.js → chunk-GNHGTWDX.js} +2 -2
  30. package/dist-cli/chunks/{chunk-6OOIOB2X.js → chunk-HCNW2QTI.js} +3 -3
  31. package/dist-cli/chunks/chunk-HHOQMAVJ.js +1 -0
  32. package/dist-cli/chunks/{chunk-R3YXB2EL.js → chunk-IV5NEIXZ.js} +2 -2
  33. package/dist-cli/chunks/{chunk-Y6RN5IR4.js → chunk-JDFPPPPS.js} +1 -1
  34. package/dist-cli/chunks/{chunk-VKAJ6AJC.js → chunk-JI72D4RY.js} +1 -1
  35. package/dist-cli/chunks/{chunk-F4FR47MS.js → chunk-JL7K7EPF.js} +3 -3
  36. package/dist-cli/chunks/{chunk-4SYV3YPR.js → chunk-KCETAALD.js} +2 -2
  37. package/dist-cli/chunks/{chunk-LOGFVSIT.js → chunk-MGX3HHAR.js} +1 -1
  38. package/dist-cli/chunks/{chunk-OY57XV3X.js → chunk-MI7BLMGH.js} +2 -2
  39. package/dist-cli/chunks/{chunk-QIPSGUG7.js → chunk-MPUONWKJ.js} +2 -2
  40. package/dist-cli/chunks/{chunk-USUANHKD.js → chunk-OGH3OCGP.js} +2 -2
  41. package/dist-cli/chunks/{chunk-HNZF4VNH.js → chunk-OKBGHUCY.js} +1 -1
  42. package/dist-cli/chunks/{chunk-EFCPQBFY.js → chunk-PDPBZD5O.js} +1 -1
  43. package/dist-cli/chunks/{chunk-VS5TCZSA.js → chunk-QIXDVNSM.js} +2 -2
  44. package/dist-cli/chunks/{chunk-MC5ENPQM.js → chunk-QX25ZRIQ.js} +1 -1
  45. package/dist-cli/chunks/{chunk-C7KANC2Z.js → chunk-RTBG543W.js} +2 -2
  46. package/dist-cli/chunks/{chunk-7RFYWPAN.js → chunk-SIRMLK54.js} +1 -1
  47. package/dist-cli/chunks/{chunk-J7FYMPIN.js → chunk-T4UHUISG.js} +1 -1
  48. package/dist-cli/chunks/{chunk-V6OGDC6H.js → chunk-TFF3KXNC.js} +1 -1
  49. package/dist-cli/chunks/{chunk-WCJQSVYO.js → chunk-U7LLQDO4.js} +1 -1
  50. package/dist-cli/chunks/{chunk-7534S5IR.js → chunk-UC7LRLPE.js} +1 -1
  51. package/dist-cli/chunks/{chunk-B47GJVB3.js → chunk-UF2T46AA.js} +2 -2
  52. package/dist-cli/chunks/{chunk-OYY6EJM7.js → chunk-VCKKDUWG.js} +2 -2
  53. package/dist-cli/chunks/{chunk-H52Z73AU.js → chunk-WXFUXFY7.js} +2 -2
  54. package/dist-cli/chunks/{chunk-KCP7TTSW.js → chunk-ZLZ3R452.js} +2 -2
  55. package/dist-cli/chunks/cli-version-RHOJPOQJ.js +2 -0
  56. package/dist-cli/chunks/{compat-SSS76KYC.js → compat-WZAQMU3Y.js} +3 -3
  57. package/dist-cli/chunks/{config-6HJMGQPE.js → config-EMVWQLSZ.js} +2 -2
  58. package/dist-cli/chunks/control-P3M34LCO.js +2 -0
  59. package/dist-cli/chunks/{cpu-profile-UQKTGYR7.js → cpu-profile-FIXB3BPM.js} +2 -2
  60. package/dist-cli/chunks/{daemon-XSH6YITB.js → daemon-VPUPR3CK.js} +2 -2
  61. package/dist-cli/chunks/{debug-UCOOENBO.js → debug-QW2VVENB.js} +3 -3
  62. package/dist-cli/chunks/{detox-BJP2O7XH.js → detox-RLEEW5BN.js} +2 -2
  63. package/dist-cli/chunks/{device-CVN2YZJF.js → device-MCFZ5J5W.js} +2 -2
  64. package/dist-cli/chunks/{diagnose-7XEK27S3.js → diagnose-VSSY5XMS.js} +2 -2
  65. package/dist-cli/chunks/drivers-GPZ62RP5.js +2 -0
  66. package/dist-cli/chunks/{electron-4HYAKJ2I.js → electron-OD7H7UBA.js} +3 -3
  67. package/dist-cli/chunks/flow-JFSZHDB2.js +2 -0
  68. package/dist-cli/chunks/help-DFQRIC3T.js +2 -0
  69. package/dist-cli/chunks/{hints-DWCFCVNT.js → hints-TU5HBDRY.js} +2 -2
  70. package/dist-cli/chunks/{home-paths-V6KYK6EL.js → home-paths-6WZQKHRA.js} +2 -2
  71. package/dist-cli/chunks/{inspect-TCCQEJHM.js → inspect-UNZ7Z5PF.js} +3 -3
  72. package/dist-cli/chunks/install-7JTNTNNX.js +2 -0
  73. package/dist-cli/chunks/{install-desktop-2YKS5HAY.js → install-desktop-6LB2C5H5.js} +3 -3
  74. package/dist-cli/chunks/{keys-GQWGTUBQ.js → keys-5XMDDDUV.js} +2 -2
  75. package/dist-cli/chunks/{launch-26WSX7AZ.js → launch-RVQHYE5V.js} +3 -3
  76. package/dist-cli/chunks/{login-TD7H5EDV.js → login-BGMYYUK2.js} +4 -4
  77. package/dist-cli/chunks/{logout-6ARTPVDG.js → logout-PXZVOWLU.js} +2 -2
  78. package/dist-cli/chunks/{maestro-DPZQ34MP.js → maestro-RIGROEAZ.js} +2 -2
  79. package/dist-cli/chunks/optional-demo-registry-GQL6Z6OH.js +2 -0
  80. package/dist-cli/chunks/{preview-RFQX4EDS.js → preview-3XCXJMNU.js} +2 -2
  81. package/dist-cli/chunks/{profile-RCTOBUDR.js → profile-7MQEP55V.js} +2 -2
  82. package/dist-cli/chunks/{react-ECJL6YMK.js → react-BBOQIY6V.js} +2 -2
  83. package/dist-cli/chunks/{record-3UMKAJKA.js → record-4U2X6JDH.js} +2 -2
  84. package/dist-cli/chunks/runtime-HPZWCYML.js +2 -0
  85. package/dist-cli/chunks/{runtime-delivery-F4P6KJZM.js → runtime-delivery-VK2HCMQW.js} +2 -2
  86. package/dist-cli/chunks/screenshot-MCFHIP2H.js +35 -0
  87. package/dist-cli/chunks/{screenshot-mode-OAMJJM3R.js → screenshot-mode-VJEAECKO.js} +2 -2
  88. package/dist-cli/chunks/{screenshots-WRE3VRYN.js → screenshots-3NSCRA3U.js} +2 -2
  89. package/dist-cli/chunks/{server-6CLFPGMH.js → server-HIPHVNKP.js} +3 -3
  90. package/dist-cli/chunks/setup-repo-LFSW66HX.js +2 -0
  91. package/dist-cli/chunks/{skills-HO4NIDC3.js → skills-JILZXX7E.js} +2 -2
  92. package/dist-cli/chunks/{slides-PJ3DY3WK.js → slides-IWZX6TCC.js} +2 -2
  93. package/dist-cli/chunks/{start-P2UWHC5R.js → start-4RYQMQMM.js} +4 -4
  94. package/dist-cli/chunks/store-RGD3TDGI.js +2 -0
  95. package/dist-cli/chunks/telemetry-7TRVV4JE.js +2 -0
  96. package/dist-cli/chunks/{test-WV2CC6VE.js → test-VQ6HIPKR.js} +3 -3
  97. package/dist-cli/chunks/{three-mode-BLBIUFK7.js → three-mode-UWH72A46.js} +2 -2
  98. package/dist-cli/chunks/{timeline-T7DCGGXA.js → timeline-T6LM4W3H.js} +2 -2
  99. package/dist-cli/chunks/{upgrade-MDJCUJG3.js → upgrade-KEJ2H2WE.js} +2 -2
  100. package/dist-cli/chunks/upload-BWSIC24N.js +2 -0
  101. package/dist-cli/chunks/{version-LPLNI3HW.js → version-PIJ2OP5O.js} +2 -2
  102. package/dist-cli/chunks/{web-BQYICLPD.js → web-DCGXY52J.js} +2 -2
  103. package/dist-cli/chunks/{what-happened-7QAYQKHI.js → what-happened-CUA3N455.js} +2 -2
  104. package/dist-cli/chunks/{whoami-3PLHCC2N.js → whoami-Z5XNGCGJ.js} +2 -2
  105. package/dist-lib/agent-daemon-client.cjs +1 -1
  106. package/dist-lib/agent-events.cjs +1 -1
  107. package/dist-lib/agent-sessions.cjs +1 -1
  108. package/dist-lib/attached-projects.cjs +1 -1
  109. package/dist-lib/auth/shared-session.cjs +1 -1
  110. package/dist-lib/backend-origin.cjs +1 -1
  111. package/dist-lib/beta.cjs +1 -1
  112. package/dist-lib/beta.mjs +1 -1
  113. package/dist-lib/bridge-constants.cjs +1 -1
  114. package/dist-lib/cli-constants.cjs +1 -1
  115. package/dist-lib/config.cjs +1 -1
  116. package/dist-lib/detox/index.cjs +1 -1
  117. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  118. package/dist-lib/home-paths.cjs +1 -1
  119. package/dist-lib/host/bridge-host.cjs +1 -1
  120. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  121. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  122. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  123. package/dist-lib/host/websocket-proxy.cjs +1 -1
  124. package/dist-lib/index.cjs +1 -1
  125. package/dist-lib/menu.cjs +1 -1
  126. package/dist-lib/menu.mjs +1 -1
  127. package/dist-lib/metro.cjs +1 -1
  128. package/dist-lib/profiles.cjs +1 -1
  129. package/dist-lib/render-mode.cjs +1 -1
  130. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  131. package/dist-lib/sdk.cjs +1 -1
  132. package/dist-lib/sdk.mjs +1 -1
  133. package/dist-lib/skills.cjs +1 -1
  134. package/dist-lib/vite.cjs +1 -1
  135. package/package.json +1 -1
  136. package/dist-cli/chunks/auto-bootstrap-ITBEBASC.js +0 -2
  137. package/dist-cli/chunks/beta-FUBQGOA5.js +0 -2
  138. package/dist-cli/chunks/chunk-3CTBL6ST.js +0 -1
  139. package/dist-cli/chunks/chunk-FEWTUTZE.js +0 -1
  140. package/dist-cli/chunks/chunk-GS6OBVQR.js +0 -1
  141. package/dist-cli/chunks/chunk-LIYFRTZG.js +0 -2
  142. package/dist-cli/chunks/cli-version-7JACJRBF.js +0 -2
  143. package/dist-cli/chunks/control-X3X6VYUC.js +0 -2
  144. package/dist-cli/chunks/drivers-JQ5QIRRE.js +0 -2
  145. package/dist-cli/chunks/flow-YTT2UHCY.js +0 -2
  146. package/dist-cli/chunks/help-C4GBFKLP.js +0 -2
  147. package/dist-cli/chunks/install-EN2VEO4H.js +0 -2
  148. package/dist-cli/chunks/optional-demo-registry-J65S4L7Y.js +0 -2
  149. package/dist-cli/chunks/runtime-GPY6OO6J.js +0 -2
  150. package/dist-cli/chunks/screenshot-N2UGTFR3.js +0 -35
  151. package/dist-cli/chunks/setup-repo-2FQX6VMQ.js +0 -2
  152. package/dist-cli/chunks/store-KUJUGFQQ.js +0 -2
  153. package/dist-cli/chunks/telemetry-ZD3GGZT5.js +0 -2
  154. package/dist-cli/chunks/upload-DBW7W7BM.js +0 -2
@@ -1,5 +1,5 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{C as T,D as A,E as y,P as _,Q as b,R as S}from"./chunk-JXHFW3SD.js";import{c as N,e as F}from"./chunk-KCP7TTSW.js";import"./chunk-WCJQSVYO.js";import{b as k}from"./chunk-2TE65ODE.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.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=N(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.167 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
+ import{C as T,D as A,E as y,P as _,Q as b,R as S}from"./chunk-AB6TZFIE.js";import{c as N,e as F}from"./chunk-ZLZ3R452.js";import"./chunk-U7LLQDO4.js";import{b as k}from"./chunk-D6QVHHDU.js";import"./chunk-TFF3KXNC.js";import"./chunk-ACNSMZSP.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=N(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,2 +1,2 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{d as i}from"./chunk-H52Z73AU.js";import{d as n}from"./chunk-Y7PCKIZD.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.js";async function u(){let o=i();if(o||(console.log(" not signed in"),console.log(" set SOOTSIM_API_KEY=sk_sootsim_\u2026 or run `sootsim login`"),process.exit(1)),o.kind==="api-key"){let r=`${o.secret.slice(0,14)}\u2026`,t=o.source==="env"?"SOOTSIM_API_KEY env var":"saved key (~/.config/sootsim/credentials.json)";console.log(` api key ${r}`),console.log(` source: ${t}`);return}if(o.kind==="github"){console.log(` github token (${o.source})`),console.log(` repo: ${o.repoId}`);return}let e=await n(),s=e?.user;console.log(` ${s?.email||s?.name||s?.id||"signed in"}`),console.log(` origin: ${e?.origin??o.origin}`),e?.updatedAt&&console.log(` updated: ${e.updatedAt}`)}export{u as runWhoami};
1
+ /*! sootsim v0.1.167 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
+ import{d as i}from"./chunk-WXFUXFY7.js";import{d as n}from"./chunk-DM2EOTY5.js";import"./chunk-TFF3KXNC.js";import"./chunk-ACNSMZSP.js";async function u(){let o=i();if(o||(console.log(" not signed in"),console.log(" set SOOTSIM_API_KEY=sk_sootsim_\u2026 or run `sootsim login`"),process.exit(1)),o.kind==="api-key"){let r=`${o.secret.slice(0,14)}\u2026`,t=o.source==="env"?"SOOTSIM_API_KEY env var":"saved key (~/.config/sootsim/credentials.json)";console.log(` api key ${r}`),console.log(` source: ${t}`);return}if(o.kind==="github"){console.log(` github token (${o.source})`),console.log(` repo: ${o.repoId}`);return}let e=await n(),s=e?.user;console.log(` ${s?.email||s?.name||s?.id||"signed in"}`),console.log(` origin: ${e?.origin??o.origin}`),e?.updatedAt&&console.log(` updated: ${e.updatedAt}`)}export{u as runWhoami};
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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/menu.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.167 | (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.166",
3
+ "version": "0.1.167",
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",
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c,d}from"./chunk-F4FR47MS.js";import"./chunk-KCP7TTSW.js";import"./chunk-WCJQSVYO.js";import"./chunk-2TE65ODE.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.js";export{c as ensureDaemonRunning,a as ensureRuntimeInstalled,d as ensureSootsimReady,b as resolveBootstrapPort};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c,d,e}from"./chunk-ITF7FOSZ.js";import"./chunk-M77N57QN.js";export{e as BETA_ASK_HEADLINE,c as BETA_LABEL,d as BETA_TAGLINE,b as BETA_VERSION_TARGET,a as IS_BETA};
@@ -1 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
@@ -1 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
@@ -1 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- var t="http://localhost:5173/";export{t as a};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-7RFYWPAN.js";import"./chunk-M77N57QN.js";export{a as getCliVersion};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{d as a,e as b,f as c,g as d,h as e,i as f,j as g,k as h,l as i,m as j,n as k,o as l,p as m,q as n,r as o,s as p,t as q,u as r,v as s,w as t}from"./chunk-QIPSGUG7.js";import"./chunk-OIVSYUZ4.js";import"./chunk-O3PHDVRF.js";import"./chunk-JXHFW3SD.js";import"./chunk-Y6RN5IR4.js";import"./chunk-S2MAMEQX.js";import"./chunk-KCP7TTSW.js";import"./chunk-MPJ2W2JQ.js";import"./chunk-D3GGZIBS.js";import"./chunk-LOGFVSIT.js";import"./chunk-OY57XV3X.js";import"./chunk-FEWTUTZE.js";import"./chunk-EFCPQBFY.js";import"./chunk-LIYFRTZG.js";import"./chunk-WCJQSVYO.js";import"./chunk-2TE65ODE.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.js";export{e as buildOpenUrl,d as buildShellUrl,r as closeSimsBulk,s as planBulkCloseTargets,j as playwrightHostPidForSim,g as printConnectedSims,b as resolveBundleTarget,c as resolveDefaultShellBaseUrl,a as resolveDriverConnectWaitOptions,q as runClaimCommand,t as runCloseCommand,p as runFocusCommand,m as runListCommand,n as runOpenCommand,o as runUseCommand,k as signalDriverLaunchConnected,f as summarizeSimUrl,l as terminatePlaywrightHostsForSims,h as waitForSimMatch,i as waitForSimMatchOrHostExit};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import"./chunk-GS6OBVQR.js";import{a,b,c,d,e,f,g,h,i}from"./chunk-D3GGZIBS.js";import"./chunk-LOGFVSIT.js";import"./chunk-OY57XV3X.js";import"./chunk-FEWTUTZE.js";import"./chunk-EFCPQBFY.js";import"./chunk-2TE65ODE.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.js";export{e as ALL_DRIVERS,i as buildDriverListRows,a as chromiumDriver,b as electronDriver,f as getAllDrivers,g as getDriver,c as playwrightDriver,h as resolveDriver,d as systemDriver};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a as c,b as d,c as e,d as f}from"./chunk-6OOIOB2X.js";import"./chunk-WPJGFVZ5.js";import"./chunk-3CTBL6ST.js";import"./chunk-LSDWJEFJ.js";import"./chunk-BFEM7E4T.js";import"./chunk-H52Z73AU.js";import{c as a,d as b}from"./chunk-HHMW6MXX.js";import"./chunk-QIPSGUG7.js";import"./chunk-OIVSYUZ4.js";import"./chunk-O3PHDVRF.js";import"./chunk-JXHFW3SD.js";import"./chunk-Y6RN5IR4.js";import"./chunk-S2MAMEQX.js";import"./chunk-KCP7TTSW.js";import"./chunk-MPJ2W2JQ.js";import"./chunk-D3GGZIBS.js";import"./chunk-LOGFVSIT.js";import"./chunk-OY57XV3X.js";import"./chunk-FEWTUTZE.js";import"./chunk-EFCPQBFY.js";import"./chunk-USUANHKD.js";import"./chunk-Y7PCKIZD.js";import"./chunk-OYY6EJM7.js";import"./chunk-LIYFRTZG.js";import"./chunk-WCJQSVYO.js";import"./chunk-2TE65ODE.js";import"./chunk-ITJSVY3L.js";import"./chunk-HNZF4VNH.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.js";export{c as discoverSootsimUrl,e as hoistLeadingSimFlag,a as parseFlowFile,f as runFlow,d as runFlowPlayback,b as validateFlowFile};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c}from"./chunk-VS5TCZSA.js";import"./chunk-OYY6EJM7.js";import"./chunk-SBMHSZXI.js";import"./chunk-B47GJVB3.js";import"./chunk-LIYFRTZG.js";import"./chunk-WCJQSVYO.js";import"./chunk-2TE65ODE.js";import"./chunk-7RFYWPAN.js";import"./chunk-ITF7FOSZ.js";import"./chunk-HNZF4VNH.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.js";export{c as printCommandHelp,b as printGroupHelp,a as printHelp};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a as o}from"./chunk-S4DTM5EZ.js";import"./chunk-VKAJ6AJC.js";import"./chunk-F4FR47MS.js";import"./chunk-KCP7TTSW.js";import"./chunk-USUANHKD.js";import"./chunk-Y7PCKIZD.js";import"./chunk-WCJQSVYO.js";import"./chunk-2TE65ODE.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.js";async function t(n){console.error(" note: `sootsim install` is now `sootsim setup-repo`. forwarding\u2026\n"),await o(n)}export{t as runInstall};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b}from"./chunk-MPJ2W2JQ.js";import"./chunk-M77N57QN.js";export{a as loadOptionalDemoApps,b as optionalDemoAppsSync};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-FLDFTC6A.js";import"./chunk-KCP7TTSW.js";import"./chunk-WCJQSVYO.js";import"./chunk-2TE65ODE.js";import"./chunk-4SYV3YPR.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.js";export{a as runRuntime};
@@ -1,35 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a as S}from"./chunk-WPJGFVZ5.js";import"./chunk-3CTBL6ST.js";import{a as b}from"./chunk-7534S5IR.js";import{c as g,d as w,e as y,f as v,h as x}from"./chunk-KCP7TTSW.js";import"./chunk-OYY6EJM7.js";import"./chunk-WCJQSVYO.js";import"./chunk-2TE65ODE.js";import"./chunk-ITJSVY3L.js";import{g as m}from"./chunk-HNZF4VNH.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.js";import{mkdirSync as A,writeFileSync as R}from"fs";import{dirname as E,resolve as F}from"path";async function J(t,o){let e=U(t);(e.includes("--help")||e.includes("-h"))&&(console.log(`
3
- sootsim screenshot \u2014 capture the canvas as a PNG
4
-
5
- usage:
6
- sootsim screenshot [output] [options]
7
- sootsim screenshot [options] --output <path>
8
-
9
- options:
10
- --output <path> output file path (default: /tmp/sootsim-inspect.png)
11
- first positional arg works too: \`screenshot /tmp/x.png\`
12
- --with-frame wrap the captured screen in a tight device frame
13
- --no-frame capture the raw screen bitmap (default)
14
- --no-shell tenant-only capture (no status bar, keyboard, toasts,
15
- notification center, or other shell overlays). use for
16
- clean app screenshots when a shell surface is in the way.
17
- --shell-only capture only the shell chrome, no tenant content
18
- --area x,y,w,h crop to a logical sootsim rect
19
- --id <testID> crop to a node's bounding box
20
- --text <text> crop to a node found by text content
21
- --gallery crawl and capture multiple screens as HTML gallery
22
- --themes capture light and dark variants
23
-
24
- examples:
25
- sootsim screenshot
26
- sootsim screenshot --no-shell --output app.png
27
- sootsim screenshot --with-frame --output framed.png
28
- sootsim screenshot --area 0,200,393,400 --output hero.png
29
- sootsim screenshot --id loginButton --output button.png
30
- `),process.exit(0));let r=I(e);if(r.length>0){for(let{flag:l,suggestion:p}of r)console.error(p?` unknown flag: ${l} (did you mean ${p}?)`:` unknown flag: ${l}`);console.error(" run `sootsim screenshot --help` for the list of supported flags"),process.exit(1)}let s=e.includes("--gallery"),i=e.includes("--themes"),u=N(e),n=D(e);if(s||i)return u&&(console.error(" --with-frame is not supported with --gallery / --themes"),process.exit(1)),_(e,o);u&&e.some(l=>l==="--area"||l==="--id"||l==="--text")&&(console.error(" --with-frame only supports full-screen capture for now"),console.error(" remove --area / --id / --text, or capture raw and compose later"),process.exit(1));let a=g(e,{port:o.port,stripBooleanFlags:["--with-frame","--no-frame","--no-shell","--shell-only"],stripValueFlags:["--output","--area","--id","--text"]}),c=B(e),d=await O(e);if(await P(a.wsPort)){try{await M(a,c,d,u,n)}catch(l){console.error(` screenshot failed: ${l instanceof Error?l.message:String(l)}`),process.exit(1)}return}u&&(console.error(" --with-frame requires a running sootsim bridge"),console.error(" open the app in a live sim first, then rerun the command"),process.exit(1)),d&&(console.error(" --area / --id / --text require a running sootsim bridge"),console.error(" start one with `sootsim server`, `sootsim electron`, or your project dev server"),process.exit(1)),await _(e,o)}async function P(t){let o=w(t,{commandTimeoutMs:1e3});try{return await o.listSims(),!0}catch{return!1}finally{o.close()}}async function O(t){let o=t.find((s,i)=>t[i-1]==="--area");if(o){let s=o.split(",").map(c=>Number(c.trim()));if(s.length!==4||s.some(c=>!Number.isFinite(c)))throw new Error(`--area expects x,y,w,h (got "${o}")`);let[i,u,n,a]=s;return{x:i,y:u,w:n,h:a}}let e=t.find((s,i)=>t[i-1]==="--id"),r=t.find((s,i)=>t[i-1]==="--text");return e||r?{__matcher:{id:e,text:r}}:null}async function M(t,o,e,r,s){let i=y({...t,commandTimeoutMs:45e3});try{(await v(i)).hidden&&process.stderr.write(` \u26A0 screenshot will capture the LAST PAINTED canvas \u2014 likely stale.
31
- navigation/\`shell\` commands sent before this screenshot may not
32
- have repainted yet. focus the tab manually or \`sootsim --sim <id>\`
33
- to target a visible sim before capturing.
34
-
35
- `);let n=e,a=e?.__matcher;if(a){let h=await i.send({type:"evaluate",code:b(a)});if(!h)throw new Error(a.id?`no node with id "${a.id}"`:`no node matching text "${a.text}"`);n=h}let c=n?{x:n.x,y:n.y,w:n.w,h:n.h}:void 0,d={type:"screenshot"};s&&(d.layers=s),c&&(d.crop=c);let l=(await i.send(d)).replace(/^data:image\/png;base64,/,"");c&&console.log(` area: x=${c.x} y=${c.y} w=${c.w} h=${c.h}`),s&&console.log(` layers: ${s}`);let p=F(process.cwd(),o||"/tmp/sootsim-inspect.png");A(E(p),{recursive:!0});let f=Buffer.from(l,"base64");if(r){let h=await L(i);if(!h)throw new Error("could not read current device model from the target sim");let k=await S(f,h);R(p,k),console.log(` frame: ${h}`)}else R(p,f);console.log(` saved: ${p}`)}finally{i.close()}}async function L(t){let o=await x(t,"SootSim.bridges.settings.get")??{deviceModel:null},e=typeof o.deviceModel=="string"?o.deviceModel:null;return!e||!(e in m)?null:e}function N(t){let o=!1;for(let e of t)e==="--with-frame"&&(o=!0),e==="--no-frame"&&(o=!1);return o}function D(t){if(t.includes("--shell-only"))return"shell";if(t.includes("--no-shell"))return"tenant"}var C=new Set(["--help","-h","--verbose","-v","--with-frame","--no-frame","--no-shell","--shell-only","--gallery","--themes"]),$=new Set(["--output","--area","--id","--text","--url","--port","--timeout","--sim"]),G={"--rect":"--area","--crop":"--area","--region":"--area","--bounds":"--area","--box":"--area","--xywh":"--area","--out":"--output","-o":"--output","--file":"--output","--path":"--output","--testid":"--id","--test-id":"--id","--test_id":"--id"};function U(t){let o=[],e={"-o":"--output","--out":"--output","--file":"--output","--path":"--output","--testid":"--id","--test-id":"--id","--test_id":"--id","--rect":"--area","--crop":"--area","--region":"--area","--bounds":"--area","--box":"--area","--xywh":"--area"};for(let r of t){let s=e[r];o.push(s??r)}return o}function I(t){let o=[];for(let e=0;e<t.length;e++){let r=t[e];if(r.startsWith("-")){if($.has(r)){e++;continue}C.has(r)||o.push({flag:r,suggestion:G[r]})}}return o}function B(t){let o=t.find((e,r)=>t[r-1]==="--output");if(o)return o;for(let e=0;e<t.length;e++){let r=t[e];if(r.startsWith("-")){$.has(r)&&e++;continue}return r}}async function _(t,o){let e=B(t)||"sootsim-screenshot.png",r=t.includes("--gallery"),s=t.find((n,a)=>t[a-1]==="--url")||`http://localhost:${o.port||5173}`,{chromium:i}=await import("playwright"),u=await i.launch({channel:"chrome",headless:!0});try{if(r)console.log(" capturing gallery..."),console.log(" (gallery mode not yet implemented)");else{let n=await u.newPage({viewport:{width:500,height:900}});await n.goto(s,{waitUntil:"networkidle"}),await n.waitForTimeout(2e3);let a=F(process.cwd(),e);A(E(a),{recursive:!0}),await n.screenshot({path:a}),console.log(` saved: ${a}`),await n.close()}}catch(n){console.error(` screenshot failed: ${n.message}`),process.exitCode=1}finally{await u.close()}}export{J as runScreenshot};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-S4DTM5EZ.js";import"./chunk-VKAJ6AJC.js";import"./chunk-F4FR47MS.js";import"./chunk-KCP7TTSW.js";import"./chunk-USUANHKD.js";import"./chunk-Y7PCKIZD.js";import"./chunk-WCJQSVYO.js";import"./chunk-2TE65ODE.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.js";export{a as runSetupRepo};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-ITJSVY3L.js";import"./chunk-HNZF4VNH.js";import"./chunk-M77N57QN.js";export{a as settingsStore};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b}from"./chunk-USUANHKD.js";import"./chunk-Y7PCKIZD.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.js";export{b as flushCliTelemetry,a as trackCliEvent};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.166 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c}from"./chunk-BFEM7E4T.js";import"./chunk-H52Z73AU.js";import"./chunk-Y6RN5IR4.js";import"./chunk-S2MAMEQX.js";import"./chunk-KCP7TTSW.js";import"./chunk-FEWTUTZE.js";import"./chunk-EFCPQBFY.js";import"./chunk-USUANHKD.js";import"./chunk-Y7PCKIZD.js";import"./chunk-WCJQSVYO.js";import"./chunk-2TE65ODE.js";import"./chunk-V6OGDC6H.js";import"./chunk-M77N57QN.js";export{a as resolveDefaultUploadOrigin,b as resolvePublicPreviewOrigin,c as runUpload};