sootsim 0.1.40 → 0.1.42

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 (146) hide show
  1. package/README.md +15 -15
  2. package/dist-cli/bin.js +4 -4
  3. package/dist-cli/chunks/{agent-3F5PO4NL.js → agent-4BBZUWD2.js} +2 -2
  4. package/dist-cli/chunks/{agent-wrapper-LVUUZRWL.js → agent-wrapper-TA5GG3MV.js} +2 -2
  5. package/dist-cli/chunks/{assert-4WMVS3WU.js → assert-7GHUOGLI.js} +2 -2
  6. package/dist-cli/chunks/auto-bootstrap-7BJDOYUU.js +2 -0
  7. package/dist-cli/chunks/beta-2LIEPFEJ.js +2 -0
  8. package/dist-cli/chunks/{chunk-QUULF2II.js → chunk-2GKZS2ZZ.js} +2 -2
  9. package/dist-cli/chunks/chunk-2XCCV7J3.js +2 -0
  10. package/dist-cli/chunks/{chunk-CCZHRBXJ.js → chunk-3PN6HIAM.js} +1 -1
  11. package/dist-cli/chunks/{chunk-W2XRHDQQ.js → chunk-4574AJAK.js} +2 -2
  12. package/dist-cli/chunks/chunk-543BSGQG.js +4 -0
  13. package/dist-cli/chunks/{chunk-FNIL6BYS.js → chunk-5EBERDK7.js} +1 -1
  14. package/dist-cli/chunks/{chunk-KGVH3YAG.js → chunk-5PZPKGUJ.js} +2 -2
  15. package/dist-cli/chunks/{chunk-QMBYRPRK.js → chunk-5TRJK5SO.js} +1 -1
  16. package/dist-cli/chunks/chunk-64AKKWVB.js +1 -0
  17. package/dist-cli/chunks/{chunk-YKEBL6GE.js → chunk-6MYXKMLG.js} +1 -1
  18. package/dist-cli/chunks/{chunk-WZE6T3GT.js → chunk-6R3CVNXC.js} +1 -1
  19. package/dist-cli/chunks/chunk-76WF7UIG.js +17 -0
  20. package/dist-cli/chunks/chunk-A2R42ONP.js +27 -0
  21. package/dist-cli/chunks/{chunk-LXR5EI74.js → chunk-BBRAYGDX.js} +2 -2
  22. package/dist-cli/chunks/{chunk-MLCBIX7O.js → chunk-BVCZIJ2X.js} +2 -2
  23. package/dist-cli/chunks/chunk-BZFKV7CT.js +56 -0
  24. package/dist-cli/chunks/{chunk-YJMXGTP4.js → chunk-CZZDYQBA.js} +1 -1
  25. package/dist-cli/chunks/{chunk-Y66CDFAT.js → chunk-D5TKAFJ3.js} +1 -1
  26. package/dist-cli/chunks/{chunk-OV5TY7M3.js → chunk-DNSKIJSB.js} +2 -2
  27. package/dist-cli/chunks/{chunk-EOWN4ZFJ.js → chunk-DUVJOJTP.js} +2 -2
  28. package/dist-cli/chunks/{chunk-6XI4VHIL.js → chunk-DXQKMDX2.js} +2 -2
  29. package/dist-cli/chunks/{chunk-Z3I2I4IO.js → chunk-EDXBJUHH.js} +3 -3
  30. package/dist-cli/chunks/chunk-EZGUKWD5.js +1 -0
  31. package/dist-cli/chunks/{chunk-DSTHAISO.js → chunk-FDB3P2GV.js} +1 -1
  32. package/dist-cli/chunks/{chunk-LCES5ZJI.js → chunk-I4LBW6ED.js} +2 -2
  33. package/dist-cli/chunks/chunk-IFY75LQ3.js +1 -0
  34. package/dist-cli/chunks/{chunk-553OZX4H.js → chunk-ITQGNQE3.js} +2 -2
  35. package/dist-cli/chunks/{chunk-5GK4YX7O.js → chunk-J6HT2ZJW.js} +1 -1
  36. package/dist-cli/chunks/{chunk-TK2IPNHL.js → chunk-KQN7OUQ6.js} +2 -2
  37. package/dist-cli/chunks/{chunk-Y5CFIRLN.js → chunk-L53QRCQZ.js} +1 -1
  38. package/dist-cli/chunks/{chunk-KVOMVYG6.js → chunk-LAOTVMTO.js} +2 -2
  39. package/dist-cli/chunks/chunk-LJLRHMLK.js +1 -0
  40. package/dist-cli/chunks/{chunk-WQXG4I5N.js → chunk-LXZK2TIS.js} +2 -2
  41. package/dist-cli/chunks/{chunk-6X5NQJT7.js → chunk-MQOJIYEY.js} +20 -20
  42. package/dist-cli/chunks/chunk-NLYIKZIF.js +62 -0
  43. package/dist-cli/chunks/{chunk-WPS3TIOB.js → chunk-Q26NNL4G.js} +1 -1
  44. package/dist-cli/chunks/chunk-QLGR4M5H.js +11 -0
  45. package/dist-cli/chunks/{chunk-U3JD6X75.js → chunk-QWGMNIWG.js} +2 -2
  46. package/dist-cli/chunks/chunk-R3KU3IBN.js +117 -0
  47. package/dist-cli/chunks/{chunk-5IAIIX7B.js → chunk-SGBD3EAX.js} +3 -3
  48. package/dist-cli/chunks/{chunk-DEBXVPIE.js → chunk-UY6HKNEV.js} +1 -1
  49. package/dist-cli/chunks/{chunk-4L45Q3YX.js → chunk-WSISSPE3.js} +2 -2
  50. package/dist-cli/chunks/{chunk-PKB6IEGM.js → chunk-WW4G4D4A.js} +2 -2
  51. package/dist-cli/chunks/{chunk-BZED27B2.js → chunk-Y4ENWAOJ.js} +2 -2
  52. package/dist-cli/chunks/{compat-NBFWHK5S.js → compat-GWIATWPP.js} +5 -5
  53. package/dist-cli/chunks/{config-JEDQ3NHA.js → config-OXHJXY6N.js} +2 -2
  54. package/dist-cli/chunks/control-HJ2RPHYO.js +2 -0
  55. package/dist-cli/chunks/cpu-profile-MBYPGUJH.js +2 -0
  56. package/dist-cli/chunks/{daemon-HOL7J3BI.js → daemon-3N3QWMFU.js} +2 -2
  57. package/dist-cli/chunks/{debug-LNVMIWD6.js → debug-POCRM56I.js} +3 -3
  58. package/dist-cli/chunks/demo-app-registry-XABEINTD.js +2 -0
  59. package/dist-cli/chunks/{detox-EEZPH3DZ.js → detox-4NXKQ2CS.js} +2 -2
  60. package/dist-cli/chunks/{device-GVLYQI7X.js → device-DURJHKK5.js} +2 -2
  61. package/dist-cli/chunks/diagnose-IMXDGRVA.js +41 -0
  62. package/dist-cli/chunks/drivers-VXSNI7K2.js +2 -0
  63. package/dist-cli/chunks/{electron-UDV6K3IH.js → electron-NGWA52N6.js} +3 -3
  64. package/dist-cli/chunks/flow-TCG5XPDK.js +2 -0
  65. package/dist-cli/chunks/{hints-46PJLATZ.js → hints-5UNZ7BR2.js} +2 -2
  66. package/dist-cli/chunks/{home-paths-XD7AOYU7.js → home-paths-TENEFM4L.js} +2 -2
  67. package/dist-cli/chunks/{inspect-EDIKZ6O2.js → inspect-IWMH6MUT.js} +94 -92
  68. package/dist-cli/chunks/install-IKBAY4PQ.js +2 -0
  69. package/dist-cli/chunks/{install-desktop-CX6ATQTR.js → install-desktop-ABAWCLFJ.js} +3 -3
  70. package/dist-cli/chunks/{keys-CXQIYEVW.js → keys-NET26VLH.js} +2 -2
  71. package/dist-cli/chunks/{launch-DCFRKVD3.js → launch-TKIA4RC4.js} +3 -3
  72. package/dist-cli/chunks/{login-HCIZL5GT.js → login-AWT3GU5M.js} +4 -4
  73. package/dist-cli/chunks/{logout-7X2YHJY3.js → logout-R2RUNXHO.js} +2 -2
  74. package/dist-cli/chunks/{maestro-TY622MIW.js → maestro-552237HC.js} +2 -2
  75. package/dist-cli/chunks/{preview-DYI6ESOK.js → preview-GKIGPZUO.js} +2 -2
  76. package/dist-cli/chunks/{profile-7SXJEJTG.js → profile-U64JPCPD.js} +2 -2
  77. package/dist-cli/chunks/{react-VGSDY766.js → react-FWSV5JH2.js} +2 -2
  78. package/dist-cli/chunks/record-FLWDPJIP.js +7 -0
  79. package/dist-cli/chunks/runtime-AGNC2TK6.js +2 -0
  80. package/dist-cli/chunks/{runtime-delivery-PWLODFCY.js → runtime-delivery-22PV7UED.js} +2 -2
  81. package/dist-cli/chunks/{screenshot-PTKY4UU4.js → screenshot-4P3TL7CN.js} +2 -2
  82. package/dist-cli/chunks/{screenshot-mode-HSV7VY4G.js → screenshot-mode-GX3Q3IZ6.js} +2 -2
  83. package/dist-cli/chunks/{screenshots-VY7VAGSV.js → screenshots-5HSLPDWZ.js} +2 -2
  84. package/dist-cli/chunks/server-Q3ZD4BEF.js +35 -0
  85. package/dist-cli/chunks/setup-repo-NQVN5PK7.js +2 -0
  86. package/dist-cli/chunks/{skills-KEPQLCMR.js → skills-M2CWX5ZC.js} +2 -2
  87. package/dist-cli/chunks/{start-5CJTBNRM.js → start-24EAF2KS.js} +4 -4
  88. package/dist-cli/chunks/store-GI3SJOKH.js +2 -0
  89. package/dist-cli/chunks/telemetry-73Z4FAUH.js +2 -0
  90. package/dist-cli/chunks/{test-REKHGKFE.js → test-AJBULIVR.js} +3 -3
  91. package/dist-cli/chunks/{three-mode-FZYHB4ZQ.js → three-mode-JBZSQQIQ.js} +2 -2
  92. package/dist-cli/chunks/{timeline-CWZAY52K.js → timeline-VVGWQSVU.js} +2 -2
  93. package/dist-cli/chunks/{upgrade-AIUJEF5F.js → upgrade-IOGHQT7J.js} +2 -2
  94. package/dist-cli/chunks/upload-Z4PPGOX6.js +2 -0
  95. package/dist-cli/chunks/web-XIMVN6KZ.js +2 -0
  96. package/dist-cli/chunks/{what-happened-JSQQVQGE.js → what-happened-STVD3KZ2.js} +2 -2
  97. package/dist-cli/chunks/whoami-L62IGS4U.js +2 -0
  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 +1 -1
  103. package/dist-lib/backend-origin.cjs +1 -1
  104. package/dist-lib/bridge-constants.cjs +1 -1
  105. package/dist-lib/cli-constants.cjs +1 -1
  106. package/dist-lib/config.cjs +1 -1
  107. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  108. package/dist-lib/home-paths.cjs +1 -1
  109. package/dist-lib/host/bridge-host.cjs +14 -8
  110. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  111. package/dist-lib/index.cjs +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/vite-base.cjs +14 -8
  116. package/dist-lib/vite.cjs +1 -1
  117. package/package.json +1 -1
  118. package/dist-cli/chunks/auto-bootstrap-Q4A3PTF5.js +0 -2
  119. package/dist-cli/chunks/beta-CLLKUB5X.js +0 -2
  120. package/dist-cli/chunks/chunk-4IAKB3C4.js +0 -117
  121. package/dist-cli/chunks/chunk-CAJ247SC.js +0 -2
  122. package/dist-cli/chunks/chunk-D2ZMP7G4.js +0 -61
  123. package/dist-cli/chunks/chunk-D4Z7MWQY.js +0 -11
  124. package/dist-cli/chunks/chunk-DHJIXXWG.js +0 -27
  125. package/dist-cli/chunks/chunk-DPZDTJVQ.js +0 -1
  126. package/dist-cli/chunks/chunk-FFR7EA4U.js +0 -1
  127. package/dist-cli/chunks/chunk-I7KXFJDK.js +0 -1
  128. package/dist-cli/chunks/chunk-J6BPROH4.js +0 -4
  129. package/dist-cli/chunks/chunk-PNGBWMQH.js +0 -17
  130. package/dist-cli/chunks/chunk-S4PJMUC7.js +0 -2
  131. package/dist-cli/chunks/chunk-XWXFUFB2.js +0 -1
  132. package/dist-cli/chunks/control-IMWZVYC3.js +0 -2
  133. package/dist-cli/chunks/cpu-profile-MQPUSRHG.js +0 -22
  134. package/dist-cli/chunks/demo-app-registry-4RFMJ4FM.js +0 -2
  135. package/dist-cli/chunks/diagnose-JQ7DPTSL.js +0 -41
  136. package/dist-cli/chunks/drivers-JUW6JBWH.js +0 -2
  137. package/dist-cli/chunks/flow-JOW23WNH.js +0 -2
  138. package/dist-cli/chunks/install-CCC3IF5S.js +0 -2
  139. package/dist-cli/chunks/record-7JX2SMVP.js +0 -37
  140. package/dist-cli/chunks/runtime-FTOQD7QK.js +0 -2
  141. package/dist-cli/chunks/server-EDB3EK4K.js +0 -35
  142. package/dist-cli/chunks/setup-repo-S2GFZR7F.js +0 -2
  143. package/dist-cli/chunks/store-SCRULNVS.js +0 -2
  144. package/dist-cli/chunks/telemetry-RC3OT67I.js +0 -2
  145. package/dist-cli/chunks/upload-UDA5ITTE.js +0 -2
  146. package/dist-cli/chunks/whoami-5WUUPIRN.js +0 -2
@@ -1,5 +1,5 @@
1
- /*! sootsim v0.1.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{E as F,r as S,s as k,t as g}from"./chunk-FNIL6BYS.js";import{c as b,e as y}from"./chunk-PNGBWMQH.js";import{b as w}from"./chunk-Y66CDFAT.js";import"./chunk-XWXFUFB2.js";import"./chunk-YKEBL6GE.js";import"./chunk-DEBXVPIE.js";function M(t){let e=[];for(let n=0;n<t.length;n++)if(t[n]==="--since"&&n+1<t.length){e.push(n,n+1);let s=t[n+1].trim(),a=/^(\d+(?:\.\d+)?)(ms|s|m)?$/.exec(s);if(a){let l=Number(a[1]),u=a[2]??"ms",r=u==="s"?l*1e3:u==="m"?l*6e4:l;return{since:Date.now()-r,consumed:e}}let o=Number(s);if(Number.isFinite(o)&&o>1e12)return{since:o,consumed:e}}return{consumed:e}}function E(t){let e=[];for(let n=0;n<t.length;n++)if(t[n]==="--kinds"&&n+1<t.length)return e.push(n,n+1),{kinds:t[n+1].split(",").map(s=>s.trim()).filter(Boolean),consumed:e};return{consumed:e}}function C(t){let e=[];for(let n=0;n<t.length;n++)if(t[n]==="--limit"&&n+1<t.length){e.push(n,n+1);let s=Number(t[n+1]);if(Number.isFinite(s)&&s>0)return{limit:s,consumed:e}}return{consumed:e}}function _(t,e){if(e===null)return new Date(t).toLocaleTimeString();let n=(t-e)/1e3;return`${n>=0?"+":""}${n.toFixed(2)}s`}function j(t,e){switch(t){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"react-commit":{let n=e.slowest;return`${e.fiberCount??"?"} fibers ${e.durationMs??"?"}ms${n?.displayName?` \xB7 ${n.displayName} ${n.durationMs??"?"}ms`:""}`}case"reanimated":case"animation":return`${e.kind??""} ${e.target??""}${e.durationMs?` ${e.durationMs}ms`:""}`}}function N(t,e){let n=_(t.t,e).padStart(8),s=t.context.padEnd(6),a=`[${t.kind}]`.padEnd(15),o="",l=t.data;return l&&typeof l=="object"&&(o=j(t.kind,l)),` ${n} ${s} ${a} ${o}`}function T(t){let e=[],n={label:"initial state",events:[],startedAt:t[0]?.t??null};e.push(n);for(let s of t)if(n.events.push(s),s.kind==="screen"||s.kind==="route"){let a=s.data,o=a?.phase;if(!o||o==="enter"||o==="appear"||o==="active"){let l=a?.name||a?.activeName||a?.path||a?.pathname||s.kind;e.length===1&&n.events.length===1?n.label=`${s.kind}: ${l}`:(n={label:`${s.kind}: ${l}`,events:[],startedAt:s.t},e.push(n))}}return e}async function O(t,e){let n=b(t,{port:e.port,stripBooleanFlags:["--summary","--all","--json","--no-advance","--help","-h","--flow"],stripValueFlags:["--since","--kinds","--limit"]});(t.includes("--help")||t.includes("-h"))&&(console.log(`
1
+ /*! sootsim v0.1.42 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
+ import{E as F,r as S,s as k,t as g}from"./chunk-5EBERDK7.js";import{c as b,e as y}from"./chunk-76WF7UIG.js";import{b as w}from"./chunk-D5TKAFJ3.js";import"./chunk-EZGUKWD5.js";import"./chunk-6MYXKMLG.js";import"./chunk-UY6HKNEV.js";function M(t){let e=[];for(let n=0;n<t.length;n++)if(t[n]==="--since"&&n+1<t.length){e.push(n,n+1);let s=t[n+1].trim(),a=/^(\d+(?:\.\d+)?)(ms|s|m)?$/.exec(s);if(a){let l=Number(a[1]),u=a[2]??"ms",r=u==="s"?l*1e3:u==="m"?l*6e4:l;return{since:Date.now()-r,consumed:e}}let o=Number(s);if(Number.isFinite(o)&&o>1e12)return{since:o,consumed:e}}return{consumed:e}}function E(t){let e=[];for(let n=0;n<t.length;n++)if(t[n]==="--kinds"&&n+1<t.length)return e.push(n,n+1),{kinds:t[n+1].split(",").map(s=>s.trim()).filter(Boolean),consumed:e};return{consumed:e}}function C(t){let e=[];for(let n=0;n<t.length;n++)if(t[n]==="--limit"&&n+1<t.length){e.push(n,n+1);let s=Number(t[n+1]);if(Number.isFinite(s)&&s>0)return{limit:s,consumed:e}}return{consumed:e}}function _(t,e){if(e===null)return new Date(t).toLocaleTimeString();let n=(t-e)/1e3;return`${n>=0?"+":""}${n.toFixed(2)}s`}function j(t,e){switch(t){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"react-commit":{let n=e.slowest;return`${e.fiberCount??"?"} fibers ${e.durationMs??"?"}ms${n?.displayName?` \xB7 ${n.displayName} ${n.durationMs??"?"}ms`:""}`}case"reanimated":case"animation":return`${e.kind??""} ${e.target??""}${e.durationMs?` ${e.durationMs}ms`:""}`}}function N(t,e){let n=_(t.t,e).padStart(8),s=t.context.padEnd(6),a=`[${t.kind}]`.padEnd(15),o="",l=t.data;return l&&typeof l=="object"&&(o=j(t.kind,l)),` ${n} ${s} ${a} ${o}`}function T(t){let e=[],n={label:"initial state",events:[],startedAt:t[0]?.t??null};e.push(n);for(let s of t)if(n.events.push(s),s.kind==="screen"||s.kind==="route"){let a=s.data,o=a?.phase;if(!o||o==="enter"||o==="appear"||o==="active"){let l=a?.name||a?.activeName||a?.path||a?.pathname||s.kind;e.length===1&&n.events.length===1?n.label=`${s.kind}: ${l}`:(n={label:`${s.kind}: ${l}`,events:[],startedAt:s.t},e.push(n))}}return e}async function O(t,e){let n=b(t,{port:e.port,stripBooleanFlags:["--summary","--all","--json","--no-advance","--help","-h","--flow"],stripValueFlags:["--since","--kinds","--limit"]});(t.includes("--help")||t.includes("-h"))&&(console.log(`
3
3
  sootsim what-happened \u2014 show recent events from the semantic timeline
4
4
 
5
5
  usage:
@@ -0,0 +1,2 @@
1
+ /*! sootsim v0.1.42 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
+ import{d as i}from"./chunk-2GKZS2ZZ.js";import{d as n}from"./chunk-ITQGNQE3.js";import"./chunk-6MYXKMLG.js";import"./chunk-UY6HKNEV.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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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;
@@ -3139,9 +3139,7 @@ function buildChromiumUrlCommand(url, options = {}) {
3139
3139
  throw new Error("browser launch requires Chrome, Chromium, Edge, Brave, or Arc");
3140
3140
  }
3141
3141
  const args = [];
3142
- if (options.headless) {
3143
- args.push("--headless=new");
3144
- } else if (options.newWindow !== false) {
3142
+ if (options.newWindow !== false) {
3145
3143
  args.push("--new-window");
3146
3144
  }
3147
3145
  args.push(url);
@@ -3212,7 +3210,7 @@ var HTTP_MIME_TYPES = {
3212
3210
  ".map": "application/json",
3213
3211
  ".txt": "text/plain; charset=utf-8"
3214
3212
  };
3215
- function injectSharedConfigIntoHtml(data) {
3213
+ function injectSharedConfigIntoHtml(data, bridgePort, sootbeanOrigin) {
3216
3214
  let payload;
3217
3215
  try {
3218
3216
  const cfg = readSharedConfig();
@@ -3220,7 +3218,9 @@ function injectSharedConfigIntoHtml(data) {
3220
3218
  } catch {
3221
3219
  payload = "{}";
3222
3220
  }
3223
- const tag = `<script>window.__sootsimSharedConfig=${payload};window.__sootsimCliVersion=${JSON.stringify(getCliVersion())};</script>`;
3221
+ const bridgePortTag = bridgePort > 0 ? `window.__sootsimBridgePort=${bridgePort};` : "";
3222
+ const sootbeanOriginTag = sootbeanOrigin ? `window.__sootsimSootbeanOrigin=${JSON.stringify(sootbeanOrigin)};` : "";
3223
+ const tag = `<script>window.__sootsimSharedConfig=${payload};` + bridgePortTag + sootbeanOriginTag + `window.__sootsimCliVersion=${JSON.stringify(getCliVersion())};</script>`;
3224
3224
  const html = data.toString("utf8");
3225
3225
  if (html.includes("</head>")) return html.replace("</head>", tag + "</head>");
3226
3226
  if (html.includes("</body>")) return html.replace("</body>", tag + "</body>");
@@ -3256,6 +3256,7 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
3256
3256
  preferredPort;
3257
3257
  portFallbackCount;
3258
3258
  shouldWriteLockfile;
3259
+ sootbeanOrigin = null;
3259
3260
  effectivePort = 0;
3260
3261
  startedAt = 0;
3261
3262
  heartbeatTimer = null;
@@ -3288,6 +3289,7 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
3288
3289
  this.portFallbackCount = Math.max(1, opts.portFallbackCount ?? 10);
3289
3290
  this.openUrlHandler = opts.openUrl;
3290
3291
  this.agentHost = new AgentHost({ getExcludePorts: opts.agentScanExcludes });
3292
+ this.sootbeanOrigin = opts.sootbeanOrigin?.replace(/\/$/, "") || null;
3291
3293
  }
3292
3294
  /** expose the agent host so tests and embedders can inspect state or
3293
3295
  * inject behavior. not part of the public WS protocol. */
@@ -4170,7 +4172,9 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
4170
4172
  res.end();
4171
4173
  return;
4172
4174
  }
4173
- res.end(injectSharedConfigIntoHtml(data));
4175
+ res.end(
4176
+ injectSharedConfigIntoHtml(data, this.effectivePort, this.sootbeanOrigin)
4177
+ );
4174
4178
  });
4175
4179
  return;
4176
4180
  }
@@ -4193,7 +4197,9 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
4193
4197
  }
4194
4198
  return;
4195
4199
  }
4196
- res.end(injectSharedConfigIntoHtml(data));
4200
+ res.end(
4201
+ injectSharedConfigIntoHtml(data, this.effectivePort, this.sootbeanOrigin)
4202
+ );
4197
4203
  });
4198
4204
  return;
4199
4205
  }
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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;
@@ -3177,9 +3177,7 @@ function buildChromiumUrlCommand(url, options = {}) {
3177
3177
  throw new Error("browser launch requires Chrome, Chromium, Edge, Brave, or Arc");
3178
3178
  }
3179
3179
  const args = [];
3180
- if (options.headless) {
3181
- args.push("--headless=new");
3182
- } else if (options.newWindow !== false) {
3180
+ if (options.newWindow !== false) {
3183
3181
  args.push("--new-window");
3184
3182
  }
3185
3183
  args.push(url);
@@ -3273,7 +3271,7 @@ function shouldAcquireLease(msg) {
3273
3271
  if (msg.readOnly === true) return false;
3274
3272
  return WRITE_COMMAND_TYPES.has(msg.type);
3275
3273
  }
3276
- function injectSharedConfigIntoHtml(data) {
3274
+ function injectSharedConfigIntoHtml(data, bridgePort, sootbeanOrigin) {
3277
3275
  let payload;
3278
3276
  try {
3279
3277
  const cfg = readSharedConfig();
@@ -3281,7 +3279,9 @@ function injectSharedConfigIntoHtml(data) {
3281
3279
  } catch {
3282
3280
  payload = "{}";
3283
3281
  }
3284
- const tag = `<script>window.__sootsimSharedConfig=${payload};window.__sootsimCliVersion=${JSON.stringify(getCliVersion())};</script>`;
3282
+ const bridgePortTag = bridgePort > 0 ? `window.__sootsimBridgePort=${bridgePort};` : "";
3283
+ const sootbeanOriginTag = sootbeanOrigin ? `window.__sootsimSootbeanOrigin=${JSON.stringify(sootbeanOrigin)};` : "";
3284
+ const tag = `<script>window.__sootsimSharedConfig=${payload};` + bridgePortTag + sootbeanOriginTag + `window.__sootsimCliVersion=${JSON.stringify(getCliVersion())};</script>`;
3285
3285
  const html = data.toString("utf8");
3286
3286
  if (html.includes("</head>")) return html.replace("</head>", tag + "</head>");
3287
3287
  if (html.includes("</body>")) return html.replace("</body>", tag + "</body>");
@@ -3361,6 +3361,7 @@ var init_bridge_host = __esm({
3361
3361
  preferredPort;
3362
3362
  portFallbackCount;
3363
3363
  shouldWriteLockfile;
3364
+ sootbeanOrigin = null;
3364
3365
  effectivePort = 0;
3365
3366
  startedAt = 0;
3366
3367
  heartbeatTimer = null;
@@ -3393,6 +3394,7 @@ var init_bridge_host = __esm({
3393
3394
  this.portFallbackCount = Math.max(1, opts.portFallbackCount ?? 10);
3394
3395
  this.openUrlHandler = opts.openUrl;
3395
3396
  this.agentHost = new AgentHost({ getExcludePorts: opts.agentScanExcludes });
3397
+ this.sootbeanOrigin = opts.sootbeanOrigin?.replace(/\/$/, "") || null;
3396
3398
  }
3397
3399
  /** expose the agent host so tests and embedders can inspect state or
3398
3400
  * inject behavior. not part of the public WS protocol. */
@@ -4275,7 +4277,9 @@ var init_bridge_host = __esm({
4275
4277
  res.end();
4276
4278
  return;
4277
4279
  }
4278
- res.end(injectSharedConfigIntoHtml(data));
4280
+ res.end(
4281
+ injectSharedConfigIntoHtml(data, this.effectivePort, this.sootbeanOrigin)
4282
+ );
4279
4283
  });
4280
4284
  return;
4281
4285
  }
@@ -4298,7 +4302,9 @@ var init_bridge_host = __esm({
4298
4302
  }
4299
4303
  return;
4300
4304
  }
4301
- res.end(injectSharedConfigIntoHtml(data));
4305
+ res.end(
4306
+ injectSharedConfigIntoHtml(data, this.effectivePort, this.sootbeanOrigin)
4307
+ );
4302
4308
  });
4303
4309
  return;
4304
4310
  }
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! sootsim v0.1.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.42 | (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.40",
3
+ "version": "0.1.42",
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.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c,d}from"./chunk-Z3I2I4IO.js";import"./chunk-PNGBWMQH.js";import"./chunk-Y66CDFAT.js";import"./chunk-XWXFUFB2.js";import"./chunk-YKEBL6GE.js";import"./chunk-DEBXVPIE.js";export{c as ensureDaemonRunning,a as ensureRuntimeInstalled,d as ensureSootsimReady,b as resolveBootstrapPort};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.40 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c,d,e}from"./chunk-5GK4YX7O.js";import"./chunk-DEBXVPIE.js";export{e as BETA_ASK_HEADLINE,c as BETA_LABEL,d as BETA_TAGLINE,b as BETA_VERSION_TARGET,a as IS_BETA};