sootsim 0.1.99 → 0.1.101

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 (145) hide show
  1. package/dist-cli/bin.js +3 -3
  2. package/dist-cli/chunks/{agent-FRLHFA7O.js → agent-7MTBDUB6.js} +2 -2
  3. package/dist-cli/chunks/{agent-wrapper-PGM74DGK.js → agent-wrapper-3PSTWCD3.js} +2 -2
  4. package/dist-cli/chunks/{assert-SZHEMF7T.js → assert-CV3FZAKV.js} +2 -2
  5. package/dist-cli/chunks/auto-bootstrap-6FQZGF3J.js +2 -0
  6. package/dist-cli/chunks/beta-F5VDLFBP.js +2 -0
  7. package/dist-cli/chunks/{chunk-3YEWVBCW.js → chunk-24P446LL.js} +1 -1
  8. package/dist-cli/chunks/{chunk-5O5EKOMJ.js → chunk-2QZTGIGZ.js} +2 -2
  9. package/dist-cli/chunks/chunk-366JB4G2.js +2 -0
  10. package/dist-cli/chunks/{chunk-JIU73CDT.js → chunk-3RAW74PX.js} +1 -1
  11. package/dist-cli/chunks/{chunk-THJRUIOX.js → chunk-4CLR67LA.js} +3 -3
  12. package/dist-cli/chunks/{chunk-AHZFERZ5.js → chunk-5PR3QUC3.js} +1 -1
  13. package/dist-cli/chunks/{chunk-N3L4Z4VW.js → chunk-5URZA7JB.js} +2 -2
  14. package/dist-cli/chunks/{chunk-THTKBQTR.js → chunk-6S5DFE36.js} +2 -2
  15. package/dist-cli/chunks/{chunk-6X5QLXOH.js → chunk-6UOQTWLM.js} +2 -2
  16. package/dist-cli/chunks/{chunk-TAPEJKGG.js → chunk-73KSIUWI.js} +1 -1
  17. package/dist-cli/chunks/{chunk-RJYQUUE7.js → chunk-7ZZGHQ6P.js} +2 -2
  18. package/dist-cli/chunks/{chunk-PVZHEZSO.js → chunk-AE2YNJ4M.js} +1 -1
  19. package/dist-cli/chunks/chunk-AGOKFDAA.js +1 -0
  20. package/dist-cli/chunks/{chunk-TXW4TZVG.js → chunk-ANLEFWKW.js} +2 -2
  21. package/dist-cli/chunks/{chunk-6UQTZIUA.js → chunk-CAJV6HCL.js} +2 -2
  22. package/dist-cli/chunks/{chunk-PVVRIV4S.js → chunk-CZM3P7JT.js} +2 -2
  23. package/dist-cli/chunks/{chunk-NYJMVX7H.js → chunk-D4HKYAPP.js} +1 -1
  24. package/dist-cli/chunks/{chunk-F7PFPN2E.js → chunk-DYJ5H4U6.js} +1 -1
  25. package/dist-cli/chunks/{chunk-C5H3YWJD.js → chunk-GD3U6R54.js} +2 -2
  26. package/dist-cli/chunks/{chunk-55M3WRUQ.js → chunk-GYAUIHXK.js} +2 -2
  27. package/dist-cli/chunks/chunk-HCKP6H5A.js +2 -0
  28. package/dist-cli/chunks/{chunk-EY623SM2.js → chunk-HSEPQJ6I.js} +1 -1
  29. package/dist-cli/chunks/{chunk-ORD337AW.js → chunk-IHTH6H4R.js} +2 -2
  30. package/dist-cli/chunks/{chunk-UCJ3W4SE.js → chunk-KLU3RBOC.js} +3 -3
  31. package/dist-cli/chunks/chunk-M4JZYBW4.js +1 -0
  32. package/dist-cli/chunks/{chunk-MQUVTPGH.js → chunk-MFRKKJ2U.js} +1 -1
  33. package/dist-cli/chunks/{chunk-UTBM7KTJ.js → chunk-NZKYXYFV.js} +1 -1
  34. package/dist-cli/chunks/chunk-O27PIQDK.js +1 -0
  35. package/dist-cli/chunks/{chunk-UYMLMK6L.js → chunk-PFG4SHSL.js} +2 -2
  36. package/dist-cli/chunks/{chunk-PULTHGDZ.js → chunk-PXPXLJYS.js} +1 -1
  37. package/dist-cli/chunks/{chunk-XI6NGTUM.js → chunk-QARXORXW.js} +1 -1
  38. package/dist-cli/chunks/{chunk-CWDGYKLF.js → chunk-QIJB3N7R.js} +1 -1
  39. package/dist-cli/chunks/{chunk-YLYJIK7A.js → chunk-QLJLWGF3.js} +1 -1
  40. package/dist-cli/chunks/{chunk-6YPGG2TW.js → chunk-QWAK2EKR.js} +2 -2
  41. package/dist-cli/chunks/{chunk-YI6LL2WK.js → chunk-QWDBSST6.js} +2 -2
  42. package/dist-cli/chunks/{chunk-WQWDTQYG.js → chunk-RTVBA5LH.js} +2 -2
  43. package/dist-cli/chunks/{chunk-ZBZBID4D.js → chunk-SBLIHSZW.js} +2 -2
  44. package/dist-cli/chunks/{chunk-CK746JAM.js → chunk-SSQ2777Q.js} +3 -3
  45. package/dist-cli/chunks/{chunk-3JAOZ6SY.js → chunk-SVZRMFN3.js} +1 -1
  46. package/dist-cli/chunks/{chunk-JNF7362C.js → chunk-SWOAXCXT.js} +2 -2
  47. package/dist-cli/chunks/{chunk-7XWCZ7SL.js → chunk-TB3AVEM4.js} +2 -2
  48. package/dist-cli/chunks/chunk-WREGHX3T.js +3 -0
  49. package/dist-cli/chunks/{chunk-KBSL524T.js → chunk-WYSZ3P6O.js} +2 -2
  50. package/dist-cli/chunks/{chunk-CWQSVRO6.js → chunk-XZM365PK.js} +2 -2
  51. package/dist-cli/chunks/cli-version-IL65TP56.js +2 -0
  52. package/dist-cli/chunks/{compat-TVJCJ34F.js → compat-2PASTVMP.js} +3 -3
  53. package/dist-cli/chunks/{config-CMUGNG25.js → config-CNJKNE5E.js} +2 -2
  54. package/dist-cli/chunks/{control-E4T7L633.js → control-IYRIRZ72.js} +2 -2
  55. package/dist-cli/chunks/{cpu-profile-IQPK6SJM.js → cpu-profile-HLB5GC3G.js} +2 -2
  56. package/dist-cli/chunks/{daemon-LWKCA22S.js → daemon-AKOJTJ2I.js} +2 -2
  57. package/dist-cli/chunks/{debug-PN2YPNNI.js → debug-SSDDQ5XJ.js} +3 -3
  58. package/dist-cli/chunks/{detox-VGAKCOQU.js → detox-K2MYDLG5.js} +2 -2
  59. package/dist-cli/chunks/{device-NTABM3ML.js → device-YXOKLFKD.js} +2 -2
  60. package/dist-cli/chunks/{diagnose-OXKEHG7B.js → diagnose-5CQM4IND.js} +2 -2
  61. package/dist-cli/chunks/drivers-II5JZHW4.js +2 -0
  62. package/dist-cli/chunks/{electron-T2VJKTFJ.js → electron-ZP2USZ5H.js} +3 -3
  63. package/dist-cli/chunks/flow-7HQHF3SH.js +2 -0
  64. package/dist-cli/chunks/help-IKB4SEKD.js +2 -0
  65. package/dist-cli/chunks/{hints-PK7IJDZU.js → hints-2OKANWNA.js} +2 -2
  66. package/dist-cli/chunks/{home-paths-5Y737ZVL.js → home-paths-JGLTAYWO.js} +2 -2
  67. package/dist-cli/chunks/{inspect-UBKCSZBM.js → inspect-DWMN4QOC.js} +3 -3
  68. package/dist-cli/chunks/install-V752CVQD.js +2 -0
  69. package/dist-cli/chunks/{install-desktop-ZXQ5WDII.js → install-desktop-LGMR3C5V.js} +3 -3
  70. package/dist-cli/chunks/{keys-5PJKPC7I.js → keys-3JMRHHLL.js} +2 -2
  71. package/dist-cli/chunks/{launch-FQQYHDRJ.js → launch-35JQQKEZ.js} +3 -3
  72. package/dist-cli/chunks/{login-XKN4KFKG.js → login-AVLODRC6.js} +4 -4
  73. package/dist-cli/chunks/{logout-JAV4KNVG.js → logout-RVYUTBVG.js} +2 -2
  74. package/dist-cli/chunks/{maestro-G2HCMZ5Z.js → maestro-N5IXBEXW.js} +2 -2
  75. package/dist-cli/chunks/{preview-M6J7A2BB.js → preview-YOLOVOP5.js} +2 -2
  76. package/dist-cli/chunks/{profile-PCGDJ4OL.js → profile-D77QGV7D.js} +2 -2
  77. package/dist-cli/chunks/{react-RFHZXELV.js → react-FWPHGKFU.js} +2 -2
  78. package/dist-cli/chunks/{record-GADTRQK5.js → record-SGST2KLZ.js} +2 -2
  79. package/dist-cli/chunks/runtime-IWHEFFC6.js +2 -0
  80. package/dist-cli/chunks/{runtime-delivery-EFIF3XJI.js → runtime-delivery-5WJ5FUES.js} +2 -2
  81. package/dist-cli/chunks/{screenshot-DB4XYQGP.js → screenshot-3X4ET4MH.js} +2 -2
  82. package/dist-cli/chunks/{screenshot-mode-A3JCEB5V.js → screenshot-mode-4BFBIVNP.js} +2 -2
  83. package/dist-cli/chunks/{screenshots-ZVDLSBWH.js → screenshots-OVCHK3RO.js} +2 -2
  84. package/dist-cli/chunks/{server-YGNXBQTO.js → server-ZKQDX6D6.js} +3 -3
  85. package/dist-cli/chunks/setup-repo-XKPGRFL2.js +2 -0
  86. package/dist-cli/chunks/{skills-63TWUEWN.js → skills-A6FRUJTU.js} +2 -2
  87. package/dist-cli/chunks/{start-57ZETJ7T.js → start-YVSMZXSQ.js} +4 -4
  88. package/dist-cli/chunks/store-LGYXWNMH.js +2 -0
  89. package/dist-cli/chunks/telemetry-X4IKYYKX.js +2 -0
  90. package/dist-cli/chunks/{test-UVMR4HW4.js → test-3HTLXVNU.js} +3 -3
  91. package/dist-cli/chunks/{three-mode-GHRYSPIP.js → three-mode-ITUWTNZL.js} +2 -2
  92. package/dist-cli/chunks/{timeline-AHQTYOGW.js → timeline-WZAIMVRD.js} +2 -2
  93. package/dist-cli/chunks/{upgrade-6N4WIHB3.js → upgrade-6MIYNY47.js} +2 -2
  94. package/dist-cli/chunks/upload-VP2TN5WH.js +2 -0
  95. package/dist-cli/chunks/{web-GWVV2MDT.js → web-RJTTELOQ.js} +2 -2
  96. package/dist-cli/chunks/{what-happened-4VKIKJES.js → what-happened-IVRNKCPR.js} +2 -2
  97. package/dist-cli/chunks/{whoami-JODFPJAO.js → whoami-WDFJW4BA.js} +2 -2
  98. package/dist-lib/agent-daemon-client.cjs +1 -1
  99. package/dist-lib/agent-events.cjs +1 -1
  100. package/dist-lib/agent-sessions.cjs +1 -1
  101. package/dist-lib/attached-projects.cjs +1 -1
  102. package/dist-lib/auth/shared-session.cjs +2 -1
  103. package/dist-lib/backend-origin.cjs +1 -1
  104. package/dist-lib/beta.cjs +1 -1
  105. package/dist-lib/beta.mjs +1 -1
  106. package/dist-lib/bridge-constants.cjs +1 -1
  107. package/dist-lib/cli-constants.cjs +1 -1
  108. package/dist-lib/config.cjs +1 -1
  109. package/dist-lib/detox/index.cjs +1 -1
  110. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  111. package/dist-lib/home-paths.cjs +1 -1
  112. package/dist-lib/host/bridge-host.cjs +6 -3
  113. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  114. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  115. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  116. package/dist-lib/host/websocket-proxy.cjs +1 -1
  117. package/dist-lib/index.cjs +1 -1
  118. package/dist-lib/metro.cjs +1 -1
  119. package/dist-lib/profiles.cjs +1 -1
  120. package/dist-lib/render-mode.cjs +1 -1
  121. package/dist-lib/scripts/demo-app-registry.cjs +1 -1
  122. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  123. package/dist-lib/skills.cjs +5 -2
  124. package/dist-lib/vite.cjs +1 -1
  125. package/package.json +1 -1
  126. package/src/auth/shared-session.ts +3 -0
  127. package/src/host/bridge-host.ts +2 -1
  128. package/dist-cli/chunks/auto-bootstrap-AI5R4WGI.js +0 -2
  129. package/dist-cli/chunks/beta-WOHNLNX4.js +0 -2
  130. package/dist-cli/chunks/chunk-FBFKGOHZ.js +0 -1
  131. package/dist-cli/chunks/chunk-GILWNDUQ.js +0 -2
  132. package/dist-cli/chunks/chunk-HMZEAZ24.js +0 -1
  133. package/dist-cli/chunks/chunk-MBJEHEBV.js +0 -2
  134. package/dist-cli/chunks/chunk-N4PZHAUK.js +0 -1
  135. package/dist-cli/chunks/chunk-UMZDMPR3.js +0 -3
  136. package/dist-cli/chunks/cli-version-VKOUVCC4.js +0 -2
  137. package/dist-cli/chunks/drivers-NULC7FFQ.js +0 -2
  138. package/dist-cli/chunks/flow-YGNWLD2A.js +0 -2
  139. package/dist-cli/chunks/help-JHVDLNXW.js +0 -2
  140. package/dist-cli/chunks/install-ZOZVAVYY.js +0 -2
  141. package/dist-cli/chunks/runtime-SKN5EFB4.js +0 -2
  142. package/dist-cli/chunks/setup-repo-IZLJN26N.js +0 -2
  143. package/dist-cli/chunks/store-7244VCM7.js +0 -2
  144. package/dist-cli/chunks/telemetry-MHTGW7IU.js +0 -2
  145. package/dist-cli/chunks/upload-M2QRY3MT.js +0 -2
@@ -1,5 +1,5 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{A as T,B as y,M as x,z as F}from"./chunk-3YEWVBCW.js";import{c as S,e as N}from"./chunk-5O5EKOMJ.js";import{b as k}from"./chunk-AHZFERZ5.js";import"./chunk-GILWNDUQ.js";import"./chunk-CWDGYKLF.js";import"./chunk-UTBM7KTJ.js";function _(n){let e=[];for(let t=0;t<n.length;t++)if(n[t]==="--since"&&t+1<n.length){e.push(t,t+1);let s=n[t+1].trim(),l=/^(\d+(?:\.\d+)?)(ms|s|m)?$/.exec(s);if(l){let a=Number(l[1]),m=l[2]??"ms",$=m==="s"?a*1e3:m==="m"?a*6e4:a;return{since:Date.now()-$,consumed:e}}let o=Number(s);if(Number.isFinite(o)&&o>1e12)return{since:o,consumed:e}}return{consumed:e}}function K(n){let e=[];for(let t=0;t<n.length;t++)if(n[t]==="--kinds"&&t+1<n.length)return e.push(t,t+1),{kinds:n[t+1].split(",").map(s=>s.trim()).filter(Boolean),consumed:e};return{consumed:e}}function O(n){let e=[];for(let t=0;t<n.length;t++)if(n[t]==="--limit"&&t+1<n.length){e.push(t,t+1);let s=Number(n[t+1]);if(Number.isFinite(s)&&s>0)return{limit:s,consumed:e}}return{consumed:e}}function j(n,e){if(e===null)return new Date(n).toLocaleTimeString();let t=(n-e)/1e3;return`${t>=0?"+":""}${t.toFixed(2)}s`}function B(n,e){switch(n){case"app-launch":return e.phase==="launch"?`launch ${e.appName??e.toAppId??""}`:`dismiss ${e.appName??e.fromAppId??""} \u2192 ${e.toAppId??""}`;case"toast":return`"${e.text??""}"${e.durationMs?` (${e.durationMs}ms)`:""}`;case"keyboard":return`${e.phase??"?"}${e.heightPx?` h=${e.heightPx}`:""}${e.mode?` ${e.mode}`:""}`;case"screen":return`${e.phase??"?"} ${e.name??e.activeName??""}`;case"route":return`${e.phase??"?"} ${e.path??e.pathname??""}`;case"alert":case"actionsheet":case"picker":return`${e.phase??"?"} ${e.title??e.message??""}`;case"notification":return`${e.title??""}${e.body?` \u2014 ${e.body}`:""}`;case"fetch":return`${e.method??"GET"} ${e.url??""}${e.status?` -> ${e.status}`:""}`;case"console":return`${e.level??"log"}: ${(e.message??"").toString().slice(0,120)}`;case"shell":return`${e.event??e.type??e.phase??""}`;case"scroll":return`${e.phase??"?"} ${e.target??""}`;case"gesture":return`${e.phase??"?"} ${e.type??""}`;case"text-input":return`${e.phase??"?"}${e.value!==void 0?` "${String(e.value).slice(0,40)}"`:""}`;case"layout":return`${e.kind??"?"} ${e.testID??e.type??""}${e.skipped?` skipped:${e.reason??"unknown"}`:""}`;case"react-commit":{let t=e.slowest;return`${e.fiberCount??"?"} fibers ${e.durationMs??"?"}ms${t?.displayName?` \xB7 ${t.displayName} ${t.durationMs??"?"}ms`:""}`}case"reanimated":case"animation":return`${e.kind??""} ${e.target??""}${e.durationMs?` ${e.durationMs}ms`:""}`}}function A(n,e){let t=j(n.t,e).padStart(8),s=n.context.padEnd(6),l=`[${n.kind}]`.padEnd(15),o="",a=n.data;return a&&typeof a=="object"&&(o=B(n.kind,a)),` ${t} ${s} ${l} ${o}`}function M(n){let e=[],t={label:"initial state",events:[],startedAt:n[0]?.t??null};e.push(t);for(let s of n)if(t.events.push(s),s.kind==="screen"||s.kind==="route"){let l=s.data,o=l?.phase;if(!o||o==="enter"||o==="appear"||o==="active"){let a=l?.name||l?.activeName||l?.path||l?.pathname||s.kind;e.length===1&&t.events.length===1?t.label=`${s.kind}: ${a}`:(t={label:`${s.kind}: ${a}`,events:[],startedAt:s.t},e.push(t))}}return e}async function J(n,e){let t=S(n,{port:e.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.101 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
+ import{A as T,B as y,M as x,z as F}from"./chunk-24P446LL.js";import{c as S,e as N}from"./chunk-2QZTGIGZ.js";import{b as k}from"./chunk-5PR3QUC3.js";import"./chunk-HCKP6H5A.js";import"./chunk-QIJB3N7R.js";import"./chunk-NZKYXYFV.js";function _(n){let e=[];for(let t=0;t<n.length;t++)if(n[t]==="--since"&&t+1<n.length){e.push(t,t+1);let s=n[t+1].trim(),l=/^(\d+(?:\.\d+)?)(ms|s|m)?$/.exec(s);if(l){let a=Number(l[1]),m=l[2]??"ms",$=m==="s"?a*1e3:m==="m"?a*6e4:a;return{since:Date.now()-$,consumed:e}}let o=Number(s);if(Number.isFinite(o)&&o>1e12)return{since:o,consumed:e}}return{consumed:e}}function K(n){let e=[];for(let t=0;t<n.length;t++)if(n[t]==="--kinds"&&t+1<n.length)return e.push(t,t+1),{kinds:n[t+1].split(",").map(s=>s.trim()).filter(Boolean),consumed:e};return{consumed:e}}function O(n){let e=[];for(let t=0;t<n.length;t++)if(n[t]==="--limit"&&t+1<n.length){e.push(t,t+1);let s=Number(n[t+1]);if(Number.isFinite(s)&&s>0)return{limit:s,consumed:e}}return{consumed:e}}function j(n,e){if(e===null)return new Date(n).toLocaleTimeString();let t=(n-e)/1e3;return`${t>=0?"+":""}${t.toFixed(2)}s`}function B(n,e){switch(n){case"app-launch":return e.phase==="launch"?`launch ${e.appName??e.toAppId??""}`:`dismiss ${e.appName??e.fromAppId??""} \u2192 ${e.toAppId??""}`;case"toast":return`"${e.text??""}"${e.durationMs?` (${e.durationMs}ms)`:""}`;case"keyboard":return`${e.phase??"?"}${e.heightPx?` h=${e.heightPx}`:""}${e.mode?` ${e.mode}`:""}`;case"screen":return`${e.phase??"?"} ${e.name??e.activeName??""}`;case"route":return`${e.phase??"?"} ${e.path??e.pathname??""}`;case"alert":case"actionsheet":case"picker":return`${e.phase??"?"} ${e.title??e.message??""}`;case"notification":return`${e.title??""}${e.body?` \u2014 ${e.body}`:""}`;case"fetch":return`${e.method??"GET"} ${e.url??""}${e.status?` -> ${e.status}`:""}`;case"console":return`${e.level??"log"}: ${(e.message??"").toString().slice(0,120)}`;case"shell":return`${e.event??e.type??e.phase??""}`;case"scroll":return`${e.phase??"?"} ${e.target??""}`;case"gesture":return`${e.phase??"?"} ${e.type??""}`;case"text-input":return`${e.phase??"?"}${e.value!==void 0?` "${String(e.value).slice(0,40)}"`:""}`;case"layout":return`${e.kind??"?"} ${e.testID??e.type??""}${e.skipped?` skipped:${e.reason??"unknown"}`:""}`;case"react-commit":{let t=e.slowest;return`${e.fiberCount??"?"} fibers ${e.durationMs??"?"}ms${t?.displayName?` \xB7 ${t.displayName} ${t.durationMs??"?"}ms`:""}`}case"reanimated":case"animation":return`${e.kind??""} ${e.target??""}${e.durationMs?` ${e.durationMs}ms`:""}`}}function A(n,e){let t=j(n.t,e).padStart(8),s=n.context.padEnd(6),l=`[${n.kind}]`.padEnd(15),o="",a=n.data;return a&&typeof a=="object"&&(o=B(n.kind,a)),` ${t} ${s} ${l} ${o}`}function M(n){let e=[],t={label:"initial state",events:[],startedAt:n[0]?.t??null};e.push(t);for(let s of n)if(t.events.push(s),s.kind==="screen"||s.kind==="route"){let l=s.data,o=l?.phase;if(!o||o==="enter"||o==="appear"||o==="active"){let a=l?.name||l?.activeName||l?.path||l?.pathname||s.kind;e.length===1&&t.events.length===1?t.label=`${s.kind}: ${a}`:(t={label:`${s.kind}: ${a}`,events:[],startedAt:s.t},e.push(t))}}return e}async function J(n,e){let t=S(n,{port:e.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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{d as i}from"./chunk-WQWDTQYG.js";import{d as n}from"./chunk-UMZDMPR3.js";import"./chunk-CWDGYKLF.js";import"./chunk-UTBM7KTJ.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.101 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
+ import{d as i}from"./chunk-RTVBA5LH.js";import{d as n}from"./chunk-WREGHX3T.js";import"./chunk-QIJB3N7R.js";import"./chunk-NZKYXYFV.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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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;
@@ -84,6 +84,7 @@ function normalizeUser(input) {
84
84
  name: typeof value.name === "string" ? value.name : void 0,
85
85
  email: typeof value.email === "string" ? value.email : void 0,
86
86
  image: typeof value.image === "string" ? value.image : void 0,
87
+ githubUsername: typeof value.githubUsername === "string" ? value.githubUsername : void 0,
87
88
  teams: Array.isArray(value.teams) ? value.teams.map((team) => {
88
89
  if (!team || typeof team !== "object") return null;
89
90
  const t = team;
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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;
@@ -32,7 +32,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
32
32
  // src/host/bridge-host.ts
33
33
  var bridge_host_exports = {};
34
34
  __export(bridge_host_exports, {
35
- SootSimBridgeHost: () => SootSimBridgeHost
35
+ SootSimBridgeHost: () => SootSimBridgeHost,
36
+ injectSharedConfigIntoHtml: () => injectSharedConfigIntoHtml
36
37
  });
37
38
  module.exports = __toCommonJS(bridge_host_exports);
38
39
  var import_child_process4 = require("child_process");
@@ -3481,6 +3482,7 @@ function injectSharedConfigIntoHtml(data, bridgePort, sootbeanOrigin) {
3481
3482
  const sootbeanOriginTag = sootbeanOrigin ? `window.__sootsimSootbeanOrigin=${JSON.stringify(sootbeanOrigin)};` : "";
3482
3483
  const tag = `<script>window.__sootsimSharedConfig=${payload};` + bridgePortTag + sootbeanOriginTag + `window.__sootsimCliVersion=${JSON.stringify(getCliVersion())};</script>`;
3483
3484
  const html = data.toString("utf8");
3485
+ if (html.includes("<head>")) return html.replace("<head>", `<head>${tag}`);
3484
3486
  if (html.includes("</head>")) return html.replace("</head>", tag + "</head>");
3485
3487
  if (html.includes("</body>")) return html.replace("</body>", tag + "</body>");
3486
3488
  return tag + html;
@@ -5131,5 +5133,6 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
5131
5133
  };
5132
5134
  // Annotate the CommonJS export names for ESM import in node:
5133
5135
  0 && (module.exports = {
5134
- SootSimBridgeHost
5136
+ SootSimBridgeHost,
5137
+ injectSharedConfigIntoHtml
5135
5138
  });
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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;
@@ -13052,7 +13052,8 @@ var init_websocket_proxy = __esm({
13052
13052
  // src/host/bridge-host.ts
13053
13053
  var bridge_host_exports = {};
13054
13054
  __export(bridge_host_exports, {
13055
- SootSimBridgeHost: () => SootSimBridgeHost
13055
+ SootSimBridgeHost: () => SootSimBridgeHost,
13056
+ injectSharedConfigIntoHtml: () => injectSharedConfigIntoHtml
13056
13057
  });
13057
13058
  function shouldAcquireLease(msg) {
13058
13059
  if (!msg || typeof msg.type !== "string") return false;
@@ -13072,6 +13073,7 @@ function injectSharedConfigIntoHtml(data, bridgePort, sootbeanOrigin) {
13072
13073
  const sootbeanOriginTag = sootbeanOrigin ? `window.__sootsimSootbeanOrigin=${JSON.stringify(sootbeanOrigin)};` : "";
13073
13074
  const tag = `<script>window.__sootsimSharedConfig=${payload};` + bridgePortTag + sootbeanOriginTag + `window.__sootsimCliVersion=${JSON.stringify(getCliVersion())};</script>`;
13074
13075
  const html = data.toString("utf8");
13076
+ if (html.includes("<head>")) return html.replace("<head>", `<head>${tag}`);
13075
13077
  if (html.includes("</head>")) return html.replace("</head>", tag + "</head>");
13076
13078
  if (html.includes("</body>")) return html.replace("</body>", tag + "</body>");
13077
13079
  return tag + html;
@@ -15865,6 +15867,7 @@ function normalizeUser(input) {
15865
15867
  name: typeof value.name === "string" ? value.name : void 0,
15866
15868
  email: typeof value.email === "string" ? value.email : void 0,
15867
15869
  image: typeof value.image === "string" ? value.image : void 0,
15870
+ githubUsername: typeof value.githubUsername === "string" ? value.githubUsername : void 0,
15868
15871
  teams: Array.isArray(value.teams) ? value.teams.map((team) => {
15869
15872
  if (!team || typeof team !== "object") return null;
15870
15873
  const t = team;
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.101 | (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.99",
3
+ "version": "0.1.101",
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",
@@ -21,6 +21,7 @@ export type SharedDesktopAuthUser = {
21
21
  name?: string
22
22
  email?: string
23
23
  image?: string
24
+ githubUsername?: string
24
25
  teams?: SharedDesktopAuthTeamSummary[]
25
26
  }
26
27
 
@@ -61,6 +62,8 @@ function normalizeUser(input: unknown): SharedDesktopAuthUser | null {
61
62
  name: typeof value.name === 'string' ? value.name : undefined,
62
63
  email: typeof value.email === 'string' ? value.email : undefined,
63
64
  image: typeof value.image === 'string' ? value.image : undefined,
65
+ githubUsername:
66
+ typeof value.githubUsername === 'string' ? value.githubUsername : undefined,
64
67
  teams: Array.isArray(value.teams)
65
68
  ? value.teams
66
69
  .map((team): SharedDesktopAuthTeamSummary | null => {
@@ -279,7 +279,7 @@ const HTTP_MIME_TYPES: Record<string, string> = {
279
279
  * loopback host to the dev `localhost:3000` stack — so without this a
280
280
  * prod CLI user's preview recording would upload to a localhost stack
281
281
  * that does not exist. */
282
- function injectSharedConfigIntoHtml(
282
+ export function injectSharedConfigIntoHtml(
283
283
  data: Buffer,
284
284
  bridgePort: number,
285
285
  sootbeanOrigin: string | null,
@@ -301,6 +301,7 @@ function injectSharedConfigIntoHtml(
301
301
  sootbeanOriginTag +
302
302
  `window.__sootsimCliVersion=${JSON.stringify(getCliVersion())};</script>`
303
303
  const html = data.toString('utf8')
304
+ if (html.includes('<head>')) return html.replace('<head>', `<head>${tag}`)
304
305
  if (html.includes('</head>')) return html.replace('</head>', tag + '</head>')
305
306
  if (html.includes('</body>')) return html.replace('</body>', tag + '</body>')
306
307
  // no recognized injection point — prepend so the global is defined
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c,d}from"./chunk-CK746JAM.js";import"./chunk-5O5EKOMJ.js";import"./chunk-AHZFERZ5.js";import"./chunk-GILWNDUQ.js";import"./chunk-CWDGYKLF.js";import"./chunk-UTBM7KTJ.js";export{c as ensureDaemonRunning,a as ensureRuntimeInstalled,d as ensureSootsimReady,b as resolveBootstrapPort};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c,d,e}from"./chunk-PVZHEZSO.js";import"./chunk-UTBM7KTJ.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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- var t=4001,n="sootsim close";export{t as a,n as b};
@@ -1 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- var t="http://localhost:5173/";export{t as a};
@@ -1 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
@@ -1,3 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{l as d}from"./chunk-CWDGYKLF.js";import{chmodSync as f,existsSync as g,mkdirSync as k,readFileSync as A,rmSync as i,writeFileSync as y}from"node:fs";import{dirname as c,join as D,resolve as p}from"node:path";var s=1,m="SOOTSIM_SHARED_AUTH_FILE",u="https://sootbean.com";function w(){let t=process.env[m];return t?.trim()?c(p(t)):d()}function a(){let t=process.env[m];return t?.trim()?p(t):D(w(),"desktop-auth.json")}function S(t){if(!t||typeof t!="object")return null;let e=t;return typeof e.id!="string"||!e.id.trim()?null:{id:e.id.trim(),name:typeof e.name=="string"?e.name:void 0,email:typeof e.email=="string"?e.email:void 0,image:typeof e.image=="string"?e.image:void 0,teams:Array.isArray(e.teams)?e.teams.map(r=>{if(!r||typeof r!="object")return null;let n=r;return typeof n.id!="string"||typeof n.name!="string"?null:{id:n.id,name:n.name,role:n.role==="owner"?"owner":"member",githubOrg:typeof n.githubOrg=="string"?n.githubOrg:null}}).filter(r=>!!r):void 0}}function v(t){if(!t||typeof t!="object")return null;let e=t;if(e.version!==s||typeof e.token!="string"||!e.token.trim())return null;let r=typeof e.origin=="string"&&e.origin.trim()?e.origin.trim():u,n=e.source==="cli"||e.source==="electron"||e.source==="browser"||e.source==="unknown"?e.source:"unknown",o=typeof e.updatedAt=="string"&&e.updatedAt?e.updatedAt:new Date().toISOString(),h=typeof e.validatedAt=="string"&&e.validatedAt?e.validatedAt:void 0;return{version:s,token:e.token.trim(),user:S(e.user),origin:r,source:n,updatedAt:o,validatedAt:h}}function O(){let t=a();if(!g(t))return null;try{let e=JSON.parse(A(t,"utf8")),r=v(e);return r||(i(t,{force:!0}),null)}catch{return i(t,{force:!0}),null}}function b(t){let e=a();k(c(e),{recursive:!0});let r={version:s,token:t.token.trim(),user:t.user?S(t.user):null,origin:t.origin?.trim()||u,source:t.source,updatedAt:t.updatedAt||new Date().toISOString(),validatedAt:t.validatedAt};y(e,JSON.stringify(r,null,2)+`
3
- `);try{f(e,384)}catch{}return r}function l(){i(a(),{force:!0})}async function U(t){let e=O();if(!e?.token)return null;let r=t||e.origin||u;try{let n=await fetch(`${r.replace(/\/$/,"")}/api/auth/me`,{headers:{authorization:`Bearer ${e.token}`}});if(n.status===401)return l(),null;if(!n.ok)return e;let o=await n.json();return o.user?.id?b({token:e.token,user:o.user,origin:r,source:e.source,validatedAt:new Date().toISOString()}):(l(),null)}catch{return e}}export{O as a,b,l as c,U as d};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-PULTHGDZ.js";import"./chunk-UTBM7KTJ.js";export{a as getCliVersion};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import"./chunk-N4PZHAUK.js";import{a,b,c,d,e,f,g,h,i}from"./chunk-C5H3YWJD.js";import"./chunk-MQUVTPGH.js";import"./chunk-FBFKGOHZ.js";import"./chunk-ZBZBID4D.js";import"./chunk-XI6NGTUM.js";import"./chunk-CWDGYKLF.js";import"./chunk-UTBM7KTJ.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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a as c,b as d,c as e,d as f}from"./chunk-THJRUIOX.js";import"./chunk-55M3WRUQ.js";import"./chunk-HMZEAZ24.js";import"./chunk-PVVRIV4S.js";import"./chunk-RJYQUUE7.js";import"./chunk-WQWDTQYG.js";import{d as a,e as b}from"./chunk-THTKBQTR.js";import"./chunk-YI6LL2WK.js";import"./chunk-ORD337AW.js";import"./chunk-6UQTZIUA.js";import"./chunk-3YEWVBCW.js";import"./chunk-TAPEJKGG.js";import"./chunk-5O5EKOMJ.js";import"./chunk-AHZFERZ5.js";import"./chunk-C5H3YWJD.js";import"./chunk-MQUVTPGH.js";import"./chunk-FBFKGOHZ.js";import"./chunk-ZBZBID4D.js";import"./chunk-XI6NGTUM.js";import"./chunk-TXW4TZVG.js";import"./chunk-UMZDMPR3.js";import"./chunk-KBSL524T.js";import"./chunk-MBJEHEBV.js";import"./chunk-GILWNDUQ.js";import"./chunk-7XWCZ7SL.js";import"./chunk-3JAOZ6SY.js";import"./chunk-CWDGYKLF.js";import"./chunk-UTBM7KTJ.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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c}from"./chunk-6X5QLXOH.js";import"./chunk-KBSL524T.js";import"./chunk-EY623SM2.js";import"./chunk-MBJEHEBV.js";import"./chunk-GILWNDUQ.js";import"./chunk-PULTHGDZ.js";import"./chunk-PVZHEZSO.js";import"./chunk-3JAOZ6SY.js";import"./chunk-CWDGYKLF.js";import"./chunk-UTBM7KTJ.js";export{c as printCommandHelp,b as printGroupHelp,a as printHelp};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a as o}from"./chunk-UYMLMK6L.js";import"./chunk-JIU73CDT.js";import"./chunk-CK746JAM.js";import"./chunk-5O5EKOMJ.js";import"./chunk-AHZFERZ5.js";import"./chunk-TXW4TZVG.js";import"./chunk-UMZDMPR3.js";import"./chunk-GILWNDUQ.js";import"./chunk-CWDGYKLF.js";import"./chunk-UTBM7KTJ.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.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-UCJ3W4SE.js";import"./chunk-5O5EKOMJ.js";import"./chunk-AHZFERZ5.js";import"./chunk-GILWNDUQ.js";import"./chunk-N3L4Z4VW.js";import"./chunk-CWDGYKLF.js";import"./chunk-UTBM7KTJ.js";export{a as runRuntime};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-UYMLMK6L.js";import"./chunk-JIU73CDT.js";import"./chunk-CK746JAM.js";import"./chunk-5O5EKOMJ.js";import"./chunk-AHZFERZ5.js";import"./chunk-TXW4TZVG.js";import"./chunk-UMZDMPR3.js";import"./chunk-GILWNDUQ.js";import"./chunk-CWDGYKLF.js";import"./chunk-UTBM7KTJ.js";export{a as runSetupRepo};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-7XWCZ7SL.js";import"./chunk-3JAOZ6SY.js";import"./chunk-UTBM7KTJ.js";export{a as settingsStore};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b}from"./chunk-TXW4TZVG.js";import"./chunk-UMZDMPR3.js";import"./chunk-CWDGYKLF.js";import"./chunk-UTBM7KTJ.js";export{b as flushCliTelemetry,a as trackCliEvent};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.99 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c}from"./chunk-RJYQUUE7.js";import"./chunk-WQWDTQYG.js";import"./chunk-TAPEJKGG.js";import"./chunk-5O5EKOMJ.js";import"./chunk-AHZFERZ5.js";import"./chunk-FBFKGOHZ.js";import"./chunk-XI6NGTUM.js";import"./chunk-TXW4TZVG.js";import"./chunk-UMZDMPR3.js";import"./chunk-GILWNDUQ.js";import"./chunk-CWDGYKLF.js";import"./chunk-UTBM7KTJ.js";export{a as resolveDefaultUploadOrigin,b as resolvePublicPreviewOrigin,c as runUpload};