sootsim 0.1.67 → 0.1.68

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 (138) hide show
  1. package/dist-cli/bin.js +7 -28
  2. package/dist-cli/chunks/agent-RWWC5VLR.js +46 -0
  3. package/dist-cli/chunks/{agent-wrapper-EEKVEJOC.js → agent-wrapper-AZ2TWUZV.js} +2 -2
  4. package/dist-cli/chunks/{assert-MDYZKXZ6.js → assert-YVADDYYY.js} +2 -2
  5. package/dist-cli/chunks/auto-bootstrap-E62IXD2G.js +2 -0
  6. package/dist-cli/chunks/beta-7MI67AHK.js +2 -0
  7. package/dist-cli/chunks/{chunk-EJTXYZEF.js → chunk-2HVRBEOU.js} +2 -2
  8. package/dist-cli/chunks/{chunk-KBJ2WHII.js → chunk-2NFRZQ3K.js} +2 -2
  9. package/dist-cli/chunks/{chunk-IBWN764Q.js → chunk-3HF6BNSA.js} +2 -2
  10. package/dist-cli/chunks/{chunk-ZO7SGE65.js → chunk-3NNUNABL.js} +1 -1
  11. package/dist-cli/chunks/{chunk-67566AJS.js → chunk-3QA6YYSG.js} +2 -2
  12. package/dist-cli/chunks/{chunk-52RZ6TSZ.js → chunk-52QFCYGQ.js} +3 -3
  13. package/dist-cli/chunks/{chunk-U47AHSGE.js → chunk-5LDGAVAV.js} +2 -2
  14. package/dist-cli/chunks/{chunk-BCVVANS5.js → chunk-5QUYJKLU.js} +2 -2
  15. package/dist-cli/chunks/chunk-5SGAFI2M.js +23 -0
  16. package/dist-cli/chunks/{chunk-IB4BRND4.js → chunk-6453CCSA.js} +1 -1
  17. package/dist-cli/chunks/{chunk-NYR3Z44O.js → chunk-6JGI2JVM.js} +1 -1
  18. package/dist-cli/chunks/chunk-6TQ2IBH6.js +2 -0
  19. package/dist-cli/chunks/{chunk-7PQHQOCI.js → chunk-72Y42WVX.js} +2 -2
  20. package/dist-cli/chunks/{chunk-SH6HMUCY.js → chunk-BQLKO6NP.js} +2 -2
  21. package/dist-cli/chunks/{chunk-5WRBVYML.js → chunk-C3R25CWY.js} +2 -2
  22. package/dist-cli/chunks/{chunk-3KVVIZ6M.js → chunk-CFR6W2AH.js} +2 -2
  23. package/dist-cli/chunks/chunk-CMEWLMED.js +1 -0
  24. package/dist-cli/chunks/chunk-CZWZG7GL.js +2 -0
  25. package/dist-cli/chunks/{chunk-MIAAZSSE.js → chunk-D5LXWWGN.js} +2 -2
  26. package/dist-cli/chunks/{chunk-O624O5MO.js → chunk-E7FCGYB5.js} +2 -2
  27. package/dist-cli/chunks/{chunk-DOWYG3HG.js → chunk-FBO7YRJM.js} +2 -2
  28. package/dist-cli/chunks/chunk-FITG7BVA.js +1 -0
  29. package/dist-cli/chunks/{chunk-HW5YHSIE.js → chunk-G3WXMB3Z.js} +1 -1
  30. package/dist-cli/chunks/{chunk-CUNQTNH4.js → chunk-GFXFPPNR.js} +2 -2
  31. package/dist-cli/chunks/{chunk-2HKCZLY7.js → chunk-H6YUT7HX.js} +3 -3
  32. package/dist-cli/chunks/{chunk-TLTS533S.js → chunk-HC43PTFD.js} +1 -1
  33. package/dist-cli/chunks/chunk-HPFXTPOD.js +1 -0
  34. package/dist-cli/chunks/{chunk-AQ7YR4MO.js → chunk-J7XCQWQI.js} +1 -1
  35. package/dist-cli/chunks/{chunk-ZP2HMCKS.js → chunk-K6N6DEL5.js} +1 -1
  36. package/dist-cli/chunks/{chunk-ATRGAFJD.js → chunk-KKK4RTBP.js} +1 -1
  37. package/dist-cli/chunks/{chunk-YGQV3CUV.js → chunk-OFTI3N27.js} +2 -2
  38. package/dist-cli/chunks/{chunk-N4JRDJMN.js → chunk-QHAZOOK2.js} +3 -3
  39. package/dist-cli/chunks/{chunk-F23Y4HMT.js → chunk-QYFPV5YO.js} +1 -1
  40. package/dist-cli/chunks/{chunk-42NMKOVE.js → chunk-TBVBPZRF.js} +2 -2
  41. package/dist-cli/chunks/{chunk-4QSGVTBE.js → chunk-TKDMCYGS.js} +2 -2
  42. package/dist-cli/chunks/{chunk-XCRUPKWB.js → chunk-TY5CBM3C.js} +2 -2
  43. package/dist-cli/chunks/{chunk-4H6LBA4A.js → chunk-TZYXNQHA.js} +1 -1
  44. package/dist-cli/chunks/{chunk-JE4JBSNJ.js → chunk-U7KUAZJB.js} +40 -40
  45. package/dist-cli/chunks/{chunk-F4RC4AOY.js → chunk-WHJFB6AK.js} +1 -1
  46. package/dist-cli/chunks/{chunk-K4PKR2EO.js → chunk-WIW3G6HS.js} +2 -2
  47. package/dist-cli/chunks/chunk-WXISHMXL.js +2 -0
  48. package/dist-cli/chunks/{chunk-2I535GZU.js → chunk-YSDIOWNN.js} +1 -1
  49. package/dist-cli/chunks/{chunk-LQ5BA5JU.js → chunk-Z6BCORBY.js} +2 -2
  50. package/dist-cli/chunks/{chunk-ZJJKYJMH.js → chunk-ZP7YYRHI.js} +2 -2
  51. package/dist-cli/chunks/cli-version-LM6OBGUK.js +2 -0
  52. package/dist-cli/chunks/{compat-5MMZ4R3Q.js → compat-Z3IFUQ73.js} +3 -3
  53. package/dist-cli/chunks/{config-YWN44WJQ.js → config-XBERIMLW.js} +2 -2
  54. package/dist-cli/chunks/{control-LUCFDAZI.js → control-SWOP3KB7.js} +2 -2
  55. package/dist-cli/chunks/{cpu-profile-VFGUVXU5.js → cpu-profile-SNX23Q5V.js} +2 -2
  56. package/dist-cli/chunks/daemon-QQPC4GOV.js +65 -0
  57. package/dist-cli/chunks/{debug-CPOG32OT.js → debug-WENYS45R.js} +3 -3
  58. package/dist-cli/chunks/demo-app-registry-QWOGX5C2.js +2 -0
  59. package/dist-cli/chunks/{detox-J6NGSZR5.js → detox-P4N47V6P.js} +2 -2
  60. package/dist-cli/chunks/{device-QYOQXI2P.js → device-5WWFV22H.js} +2 -2
  61. package/dist-cli/chunks/{diagnose-MMW4LJLA.js → diagnose-HJ4F3ER7.js} +2 -2
  62. package/dist-cli/chunks/drivers-GAEMIY75.js +2 -0
  63. package/dist-cli/chunks/{electron-IK3HIZY4.js → electron-JHFA2OGV.js} +3 -3
  64. package/dist-cli/chunks/flow-J67STV2Q.js +2 -0
  65. package/dist-cli/chunks/{hints-KZOD56U5.js → hints-UHQ2T2RX.js} +2 -2
  66. package/dist-cli/chunks/{home-paths-R2YZZTUM.js → home-paths-NWDFFIX4.js} +2 -2
  67. package/dist-cli/chunks/{inspect-ZARO3HQ4.js → inspect-O34RH4AE.js} +3 -3
  68. package/dist-cli/chunks/install-ZB2AGO44.js +2 -0
  69. package/dist-cli/chunks/{install-desktop-4GH5I7SC.js → install-desktop-RYP35PHA.js} +3 -3
  70. package/dist-cli/chunks/{keys-AXEFZUUI.js → keys-U5YI77TK.js} +2 -2
  71. package/dist-cli/chunks/{launch-QLE56ON7.js → launch-UFOGCQWO.js} +3 -3
  72. package/dist-cli/chunks/{login-J45NQQM6.js → login-SPX6IK6Q.js} +4 -4
  73. package/dist-cli/chunks/{logout-ZE5OUBB7.js → logout-I6UE3XYL.js} +2 -2
  74. package/dist-cli/chunks/{maestro-FS6CAKDD.js → maestro-IPEULAUZ.js} +2 -2
  75. package/dist-cli/chunks/{preview-TSU5IXVR.js → preview-CE27FPGG.js} +2 -2
  76. package/dist-cli/chunks/{profile-ZBJ4TYWA.js → profile-JZSFMO2Y.js} +2 -2
  77. package/dist-cli/chunks/{react-TGZLTTYN.js → react-6IJQG4V3.js} +2 -2
  78. package/dist-cli/chunks/{record-JSBFUNOD.js → record-6WDKEBXL.js} +29 -13
  79. package/dist-cli/chunks/runtime-P54OGI57.js +2 -0
  80. package/dist-cli/chunks/{runtime-delivery-36UMAXOV.js → runtime-delivery-C4KG6ISS.js} +2 -2
  81. package/dist-cli/chunks/{screenshot-3CHMALUJ.js → screenshot-VQTI6G32.js} +2 -2
  82. package/dist-cli/chunks/{screenshot-mode-C547UT5H.js → screenshot-mode-JBDCHRSS.js} +2 -2
  83. package/dist-cli/chunks/{screenshots-XCNGSNYG.js → screenshots-HLMGN2OX.js} +2 -2
  84. package/dist-cli/chunks/{server-W37X3IW7.js → server-U3QLKQDX.js} +2 -2
  85. package/dist-cli/chunks/setup-repo-TZULA5RK.js +2 -0
  86. package/dist-cli/chunks/{skills-OXZLDNDW.js → skills-SMML5DJP.js} +2 -2
  87. package/dist-cli/chunks/{start-N6ZQYUBP.js → start-7SCU4I64.js} +4 -4
  88. package/dist-cli/chunks/store-WEIVIM3L.js +2 -0
  89. package/dist-cli/chunks/telemetry-U3BBVPLJ.js +2 -0
  90. package/dist-cli/chunks/{test-DWZ7PRSW.js → test-UWFHFDN7.js} +3 -3
  91. package/dist-cli/chunks/{three-mode-P2R7KA62.js → three-mode-CJUNGCIF.js} +2 -2
  92. package/dist-cli/chunks/{timeline-VPES3YCN.js → timeline-DIRXVM6R.js} +2 -2
  93. package/dist-cli/chunks/{upgrade-NYQLA4UJ.js → upgrade-LQQU4GSZ.js} +2 -2
  94. package/dist-cli/chunks/upload-SSAFKJGF.js +2 -0
  95. package/dist-cli/chunks/web-AJU6QA43.js +2 -0
  96. package/dist-cli/chunks/{what-happened-GZ73H6KF.js → what-happened-QFXDQ6VU.js} +2 -2
  97. package/dist-cli/chunks/{whoami-UDLQK7IY.js → whoami-HWXPDZEF.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 +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 +1 -1
  110. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  111. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  112. package/dist-lib/index.cjs +1 -1
  113. package/dist-lib/metro.cjs +1 -1
  114. package/dist-lib/profiles.cjs +1 -1
  115. package/dist-lib/render-mode.cjs +1 -1
  116. package/dist-lib/vite-base.cjs +1 -1
  117. package/dist-lib/vite.cjs +1 -1
  118. package/package.json +1 -1
  119. package/dist-cli/chunks/agent-Z45KTLTP.js +0 -61
  120. package/dist-cli/chunks/auto-bootstrap-YZ6C6VYO.js +0 -2
  121. package/dist-cli/chunks/beta-WXH75XUE.js +0 -2
  122. package/dist-cli/chunks/chunk-6O64VUC6.js +0 -2
  123. package/dist-cli/chunks/chunk-GFVC6EEB.js +0 -1
  124. package/dist-cli/chunks/chunk-KR36VJSN.js +0 -1
  125. package/dist-cli/chunks/chunk-SVFSMAZN.js +0 -2
  126. package/dist-cli/chunks/chunk-TEMZK6Q2.js +0 -1
  127. package/dist-cli/chunks/cli-version-5LGQQE5P.js +0 -2
  128. package/dist-cli/chunks/daemon-ONX5ZBXF.js +0 -83
  129. package/dist-cli/chunks/demo-app-registry-LWT6JLU6.js +0 -2
  130. package/dist-cli/chunks/drivers-NRWUJJCD.js +0 -2
  131. package/dist-cli/chunks/flow-2MB7HINM.js +0 -2
  132. package/dist-cli/chunks/install-O67RTYCX.js +0 -2
  133. package/dist-cli/chunks/runtime-DGDQ7NVY.js +0 -2
  134. package/dist-cli/chunks/setup-repo-DETS5ZJT.js +0 -2
  135. package/dist-cli/chunks/store-QOXJKJUZ.js +0 -2
  136. package/dist-cli/chunks/telemetry-74LX7WG4.js +0 -2
  137. package/dist-cli/chunks/upload-YOMMYESV.js +0 -2
  138. package/dist-cli/chunks/web-OTALJKK5.js +0 -2
@@ -1,5 +1,5 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{A as y,L as x,y as F,z as T}from"./chunk-AQ7YR4MO.js";import{c as S,e as N}from"./chunk-U47AHSGE.js";import{b as k}from"./chunk-IB4BRND4.js";import"./chunk-6O64VUC6.js";import"./chunk-HW5YHSIE.js";import"./chunk-TLTS533S.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.68 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
+ import{A as y,L as x,y as F,z as T}from"./chunk-J7XCQWQI.js";import{c as S,e as N}from"./chunk-5LDGAVAV.js";import{b as k}from"./chunk-6453CCSA.js";import"./chunk-CZWZG7GL.js";import"./chunk-G3WXMB3Z.js";import"./chunk-HC43PTFD.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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{d as i}from"./chunk-LQ5BA5JU.js";import{d as n}from"./chunk-O624O5MO.js";import"./chunk-HW5YHSIE.js";import"./chunk-TLTS533S.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.68 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
+ import{d as i}from"./chunk-Z6BCORBY.js";import{d as n}from"./chunk-E7FCGYB5.js";import"./chunk-G3WXMB3Z.js";import"./chunk-HC43PTFD.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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! sootsim v0.1.68 | (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.67",
3
+ "version": "0.1.68",
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,61 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a as y,b as $,c as b,d as l,e as E,g as A,h as j,j as S,m as I,n as T,o as x,p as g,q as k,r as D}from"./chunk-67566AJS.js";import"./chunk-F4RC4AOY.js";import"./chunk-6O64VUC6.js";import"./chunk-HW5YHSIE.js";import"./chunk-TLTS533S.js";import w from"node:fs";import d from"node:path";import{spawn as N}from"node:child_process";import U from"node:net";import{WebSocket as O}from"ws";var c=class extends Error{code;constructor(e,t){super(e),this.name="AgentDaemonError",this.code=t}},f=class{ws;port;commandTimeoutMs;ready;closed=!1;nextId=1;pending=new Map;eventListeners=new Set;statusListeners=new Set;disconnectListeners=new Set;constructor(e={}){this.port=e.port??7668,this.commandTimeoutMs=e.commandTimeoutMs??15e3,this.ws=new O(`ws://localhost:${this.port}`),this.ready=new Promise((t,s)=>{let r=()=>{this.ws.off("error",o),t()},o=i=>{this.ws.off("open",r),s(new c(`could not connect to sootsim daemon on port ${this.port}: ${i.message}`,"NO_DAEMON"))};this.ws.once("open",r),this.ws.once("error",o)}),this.ws.on("message",t=>this.handleMessage(t)),this.ws.on("close",()=>this.handleClose()),this.ws.on("error",()=>{})}async waitReady(){return this.ready}async listProjects(){return this.send("agent:list-projects")}async upsertProject(e){return this.send("agent:upsert-project",{input:e})}async deleteProject(e){return this.send("agent:delete-project",{projectId:e})}async autoAttachForUrl(e){return this.send("agent:auto-attach-for-url",{input:e})}async listSessions(e){return this.send("agent:list-sessions",{projectId:e})}async startSession(e){return this.send("agent:start-session",{input:e})}async sendPrompt(e,t){return this.send("agent:send-prompt",{sessionId:e,prompt:t})}async endSession(e){return this.send("agent:end-session",{sessionId:e})}async getTranscript(e){return this.send("agent:get-transcript",{sessionId:e})}async getPaths(){return this.send("agent:get-paths")}async subscribeEvents(e){return this.send("agent:subscribe-events",{sessionId:e})}async unsubscribeEvents(e){return this.send("agent:unsubscribe-events",{sessionId:e})}onAgentEvent(e){return this.eventListeners.add(e),()=>this.eventListeners.delete(e)}onSessionStatusChange(e){return this.statusListeners.add(e),()=>this.statusListeners.delete(e)}onDisconnect(e){return this.disconnectListeners.add(e),()=>this.disconnectListeners.delete(e)}close(){if(!this.closed){this.closed=!0;try{this.ws.close()}catch{}}}async send(e,t={}){if(await this.ready,this.closed||this.ws.readyState!==O.OPEN)throw new c("daemon connection is closed","NO_DAEMON");let s=this.nextId++;return new Promise((r,o)=>{let i=setTimeout(()=>{this.pending.delete(s),o(new c(`${e} timed out after ${Math.round(this.commandTimeoutMs/1e3)}s`,"TIMEOUT"))},this.commandTimeoutMs);this.pending.set(s,{resolve:r,reject:o,timer:i});try{this.ws.send(JSON.stringify({id:s,type:e,...t}))}catch(a){clearTimeout(i),this.pending.delete(s),o(a instanceof Error?a:new Error(String(a)))}})}handleMessage(e){let t;try{t=JSON.parse(String(e))}catch{return}if(!t||typeof t!="object")return;if(t.type==="agent:event"){for(let r of this.eventListeners)try{r({sessionId:t.sessionId,event:t.event})}catch{}return}if(t.type==="agent:session-status"){for(let r of this.statusListeners)try{r(t.session)}catch{}return}if(typeof t.id!="number")return;let s=this.pending.get(t.id);s&&(this.pending.delete(t.id),clearTimeout(s.timer),t.error?s.reject(new c(t.error,t.code)):s.resolve(t.result))}handleClose(){if(!this.closed){this.closed=!0;for(let[,e]of this.pending)clearTimeout(e.timer),e.reject(new c("daemon disconnected","DISCONNECT"));this.pending.clear();for(let e of this.disconnectListeners)try{e()}catch{}}}};function R(n=7668,e=400){return new Promise(t=>{let s=new U.Socket,r=!1,o=i=>{r||(r=!0,s.destroy(),t(i))};s.setTimeout(e),s.once("connect",()=>o(!0)),s.once("timeout",()=>o(!1)),s.once("error",()=>o(!1)),s.connect(n,"127.0.0.1")})}async function _(n={}){let e=n.port??7668;if(await R(e))return{alreadyRunning:!0};let{cmd:t,prefixArgs:s}=D(),r=[...s,"server","--quiet"];e!==7668&&r.push("--port",String(e));let o=N(t,r,{detached:!0,stdio:"ignore",env:process.env,cwd:process.cwd()});o.unref();let i=Date.now()+(n.startupTimeoutMs??5e3);for(;Date.now()<i;){if(await R(e))return{alreadyRunning:!1,pid:o.pid};await new Promise(a=>setTimeout(a,100))}throw new c(`spawned sootsim daemon on port ${e} but it did not come up in time. run \`sootsim server\` manually to diagnose.`,"SPAWN_TIMEOUT")}async function h(n={}){await _({port:n.port,startupTimeoutMs:n.startupTimeoutMs});let e=new f(n);try{await e.waitReady()}catch(t){throw e.close(),t}return e}async function ue(n){let[e,...t]=n;try{switch(e){case void 0:case"--help":case"-h":case"help":return C(),0;case"attach":return await F(t);case"projects":return await B();case"project":return await W(t);case"sessions":return await J(t);case"start":return await V(t);case"prompt":return await q(t);case"watch":return await G(t);case"transcript":return await H(t);case"end":return await K(t);case"paths":return await z();default:return process.stderr.write(`unknown agent subcommand: ${e}
3
- `),C(),2}}catch(s){if(s instanceof c)return process.stderr.write(`${s.message}
4
- `),1;throw s}}async function v(n){let e=await h({clientLabel:"sootsim-agent-cli"});try{return await n(e)}finally{e.close()}}function C(){process.stdout.write(`sootsim agent \u2014 attached projects + local agent sessions
5
-
6
- attach <dir> [--name X] [--provider codex|claude]
7
- projects list attached projects
8
- project show <id> print full detail for one project
9
- project remove <id> delete a project + its sessions
10
- sessions [--project <id>] [--all]
11
- list agent sessions (default: active only)
12
- start <projectId> [--provider codex|claude]
13
- spawn a wrapper session (detached)
14
- prompt <sessionId> "<text>" enqueue a prompt on the session
15
- watch <sessionId> stream events.out pretty-printed
16
- transcript <sessionId> cat the raw transcript file
17
- end <sessionId> stop the wrapper + mark session ended
18
- paths print userData + state file locations
19
- `)}function P(n,e){let t={},s=[];for(let r=0;r<n.length;r++){let o=n[r],i=e[o];i==="value"?(t[o]=n[r+1]??"",r++):i==="bool"?t[o]=!0:s.push(o)}return{flags:t,positional:s}}function L(n,e="codex"){return n==="codex"||n==="claude"?n:e}async function F(n){let{flags:e,positional:t}=P(n,{"--name":"value","--provider":"value"}),s=t[0];if(!s)return process.stderr.write(`usage: sootsim agent attach <dir> [--name X] [--provider codex|claude]
20
- `),2;let r=d.resolve(s);if(!w.existsSync(r))return process.stderr.write(`directory does not exist: ${r}
21
- `),1;let o=b({cwd:r,name:e["--name"]||d.basename(r),preferredProvider:L(e["--provider"]),sourceRoots:[r]});return process.stdout.write(`\u2713 attached "${o.name}" (id: ${o.id})
22
- cwd: ${o.cwd}
23
- framework: ${o.framework}
24
- preferred provider: ${o.preferredProvider}
25
- `),0}async function B(){let n=[...E()].sort((t,s)=>s.updatedAt-t.updatedAt);if(n.length===0)return process.stdout.write("no attached projects yet. try `sootsim agent attach <dir>`.\n"),0;let e=`${"ID".padEnd(18)} ${"NAME".padEnd(20)} ${"FRAMEWORK".padEnd(10)} ${"PROVIDER".padEnd(8)} ${"7D COST".padEnd(10)} CWD
26
- `;process.stdout.write(e);for(let t of n){let s=A(t),r=s>0?`$${s.toFixed(2)}`:"\u2014";process.stdout.write(`${t.id.padEnd(18)} ${p(t.name,20).padEnd(20)} ${t.framework.padEnd(10)} ${t.preferredProvider.padEnd(8)} ${r.padEnd(10)} ${t.cwd}
27
- `)}return 0}async function W(n){let[e,t]=n;if(e==="show"){if(!t)return process.stderr.write(`usage: sootsim agent project show <id>
28
- `),2;let s=l(t);return s?(process.stdout.write(JSON.stringify(s,null,2)+`
29
- `),0):(process.stderr.write(`no project with id=${t}
30
- `),1)}return e==="remove"?t?(j(t),process.stdout.write(`\u2713 removed project ${t}
31
- `),0):(process.stderr.write(`usage: sootsim agent project remove <id>
32
- `),2):(process.stderr.write(`usage: sootsim agent project [show|remove] <id>
33
- `),2)}async function J(n){let{flags:e}=P(n,{"--project":"value","--all":"bool"}),t=e["--project"]||void 0,s=e["--all"]===!0,r=S(t);if(s||(r=r.filter(i=>i.status!=="ended")),r=r.sort((i,a)=>a.lastSeenAt-i.lastSeenAt),r.length===0)return process.stdout.write(s?`no sessions.
34
- `:`no active sessions. pass --all to include ended.
35
- `),0;let o=`${"SESSION".padEnd(26)} ${"PROJECT".padEnd(18)} ${"PROVIDER".padEnd(8)} ${"STATUS".padEnd(16)} ${"ALIVE".padEnd(5)} LAST PROMPT
36
- `;process.stdout.write(o);for(let i of r){let a=k(i.wrapperPid,i.id)?"yes":"no",m=i.lastPrompt?p(i.lastPrompt,40):"";process.stdout.write(`${M(i.id).padEnd(26)} ${M(i.projectId).padEnd(18)} ${i.provider.padEnd(8)} ${i.status.padEnd(16)} ${a.padEnd(5)} ${m}
37
- `)}return 0}async function V(n){let{flags:e,positional:t}=P(n,{"--provider":"value","--codex-bin":"value","--claude-bin":"value","--fresh-thread":"bool"}),s=t[0];if(!s)return process.stderr.write(`usage: sootsim agent start <projectId> [--provider codex|claude] [--fresh-thread]
38
- `),2;let r=await v(i=>i.startSession({projectId:s,provider:L(e["--provider"],void 0)||void 0,codexBin:e["--codex-bin"]||void 0,claudeBin:e["--claude-bin"]||void 0,freshThread:e["--fresh-thread"]===!0})),o=l(r.session.projectId);return process.stdout.write(`\u2713 session ${r.session.id} started
39
- project: ${o.name} (${o.id})
40
- provider: ${r.session.provider}
41
- pid: ${r.wrapperPid}
42
- prompt with: sootsim agent prompt ${r.session.id} "<text>"
43
- watch events: sootsim agent watch ${r.session.id}
44
- `),0}async function q(n){let[e,...t]=n,s=t.join(" ");return!e||!s?(process.stderr.write(`usage: sootsim agent prompt <sessionId> "<text>"
45
- `),2):(await v(r=>r.sendPrompt(e,{text:s})),process.stdout.write(`\u2713 prompt sent to ${e}
46
- `),0)}async function G(n){let e=n[0];if(!e)return process.stderr.write(`usage: sootsim agent watch <sessionId>
47
- `),2;process.stdout.write(`watching ${e}
48
- ---
49
- `);let t=await h({clientLabel:"sootsim-agent-watch"}),s,r=new Promise(a=>{s=a}),o=t.onAgentEvent(({sessionId:a,event:m})=>{a===e&&process.stdout.write(X(m)+`
50
- `)}),i=t.onDisconnect(()=>{process.stderr.write(`
51
- [sootsim] daemon disconnected; exiting watch.
52
- `),s(1)});try{await t.subscribeEvents(e)}catch(a){throw o(),i(),t.close(),a}return process.on("SIGINT",()=>{o(),i(),t.unsubscribeEvents(e).catch(()=>{}),t.close(),s(130)}),r}function X(n){let e=Q(n.ts);switch(n.type){case"ready":return`[${e}] ready ${n.provider} @ ${n.cwd}`;case"prompt-received":return`[${e}] prompt "${p(n.text,120)}"`;case"turn-started":return`[${e}] turn-started ${n.turnId??""}`;case"turn-message":return`[${e}] turn-message ${n.delta.replace(/\s+$/,"")}`;case"turn-reasoning":return`[${e}] turn-reasoning ${p(n.delta,200)}`;case"tool-call":return`[${e}] tool-call ${n.name}`;case"file-edited":return`[${e}] file-edited ${n.kind.padEnd(6)} ${n.path}`;case"turn-completed":return`[${e}] turn-completed ${n.durationMs}ms files=${n.filesTouched.length}`;case"approval-needed":return`[${e}] approval ${n.kind}`;case"error":return`[${e}] error ${n.message}`;case"exited":return`[${e}] exited code=${n.code}`;case"file-diff-delta":return`[${e}] file-diff-delta ${n.path}`;case"turn-plan":return`[${e}] turn-plan steps=${n.steps.length}`;default:return`[${e}] ${n.type}`}}async function H(n){let e=n[0];if(!e)return process.stderr.write(`usage: sootsim agent transcript <sessionId>
53
- `),2;let t=g(e);return w.existsSync(t)?(process.stdout.write(w.readFileSync(t,"utf8")),0):(process.stderr.write(`transcript not found: ${t}
54
- `),1)}async function K(n){let e=n[0];return e?(await v(t=>t.endSession(e)),process.stdout.write(`\u2713 ended session ${e}
55
- `),0):(process.stderr.write(`usage: sootsim agent end <sessionId>
56
- `),2)}async function z(){let n=$();return process.stdout.write(`userData: ${n}
57
- state: ${d.join(n,"attached-projects.json")}
58
- sessions: ${d.join(n,"sessions")}
59
- transcripts: ${d.join(n,"transcripts")}
60
- locks: ${d.join(n,"locks")}
61
- `),0}function p(n,e){return n.length<=e?n:n.slice(0,e-1)+"\u2026"}function M(n){return n.length>14?`${n.slice(0,14)}\u2026`:n}function Q(n){return new Date(n).toISOString().replace("T"," ").slice(0,19)}var pe={sessionDir:I,promptFifoPath:T,eventsFifoPath:x,transcriptPath:g,parseAgentEventLine:y};export{pe as __internals,ue as runAgentCommand};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c,d}from"./chunk-N4JRDJMN.js";import"./chunk-U47AHSGE.js";import"./chunk-IB4BRND4.js";import"./chunk-6O64VUC6.js";import"./chunk-HW5YHSIE.js";import"./chunk-TLTS533S.js";export{c as ensureDaemonRunning,a as ensureRuntimeInstalled,d as ensureSootsimReady,b as resolveBootstrapPort};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c,d,e}from"./chunk-2I535GZU.js";import"./chunk-TLTS533S.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,2 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- var O="sootsim close";export{O as a};
@@ -1 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
@@ -1 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- var t="http://localhost:5173/";export{t as a};
@@ -1 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-F23Y4HMT.js";import"./chunk-TLTS533S.js";export{a as getCliVersion};
@@ -1,83 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a as T,b as _}from"./chunk-DOWYG3HG.js";import"./chunk-O624O5MO.js";import"./chunk-6O64VUC6.js";import{g as I,o as C,p as w,q as B}from"./chunk-HW5YHSIE.js";import{a as W}from"./chunk-TLTS533S.js";import{execFileSync as tt,spawnSync as n}from"child_process";import{existsSync as a,mkdirSync as v,readFileSync as et,rmSync as S,writeFileSync as R}from"fs";import{homedir as $}from"os";import{dirname as U,resolve as m}from"path";import{execFileSync as Y}from"child_process";import{chmodSync as H,mkdirSync as D,rmSync as K,writeFileSync as L}from"fs";import{dirname as P}from"path";var X="dev.sootsim.daemon",N="SootSim Daemon",O="0.1.36";function F(t,e,r){let o=w(),s=B(),i=P(P(s)),f=P(s),u=`${i}/Resources`;K(o,{recursive:!0,force:!0}),D(C(),{recursive:!0}),D(f,{recursive:!0}),D(u,{recursive:!0}),L(`${i}/Info.plist`,Q()),L(`${i}/PkgInfo`,"APPL????"),L(s,z(t,e,r)),H(s,493);try{Y("codesign",["--force","--sign","-","--deep",o],{stdio:"pipe"})}catch(c){let g=c instanceof Error?c.message:String(c);console.warn(` warning: ad-hoc codesign of ${o} failed: ${g}
3
- the daemon will still run, but Login Items may show a generic name.`)}return{bundlePath:o,launcherPath:s}}function Q(){return`<?xml version="1.0" encoding="UTF-8"?>
4
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
5
- <plist version="1.0">
6
- <dict>
7
- <key>CFBundleDevelopmentRegion</key><string>en</string>
8
- <key>CFBundleDisplayName</key><string>${N}</string>
9
- <key>CFBundleExecutable</key><string>sootsim-daemon</string>
10
- <key>CFBundleIdentifier</key><string>${X}</string>
11
- <key>CFBundleInfoDictionaryVersion</key><string>6.0</string>
12
- <key>CFBundleName</key><string>${N}</string>
13
- <key>CFBundlePackageType</key><string>APPL</string>
14
- <key>CFBundleShortVersionString</key><string>${O}</string>
15
- <key>CFBundleSignature</key><string>????</string>
16
- <key>CFBundleVersion</key><string>${O}</string>
17
- <key>LSBackgroundOnly</key><true/>
18
- <key>LSUIElement</key><true/>
19
- <key>LSMinimumSystemVersion</key><string>13.0</string>
20
- <key>NSHumanReadableCopyright</key><string>Tamagui LLC</string>
21
- </dict>
22
- </plist>
23
- `}function z(t,e,r){let s=[t.executable,...t.prefixArgs,"server","--quiet","--port",String(e)].map(J).join(" ");return`#!/bin/sh
24
- # SootSim Daemon launcher \u2014 auto-generated by 'sootsim daemon install'.
25
- # launchd spawns this; we exec the real sootsim invocation in place so
26
- # launchd tracks the daemon process, not the shell wrapper.
27
- #
28
- # stdout: ${r.stdout}
29
- # stderr: ${r.stderr}
30
- exec ${s}
31
- `}function J(t){return`'${t.replace(/'/g,"'\\''")}'`}var q=60,p="dev.sootsim.daemon",E="dev.sootsim.server",d="sootsim-server",h=m($(),"Library/Logs/sootsim"),rt=m($(),".local/state/sootsim");async function At(t,e={}){let[r,...o]=t,s=e.port??7668;if(!r||r==="--help"||r==="-h"){M();return}new Set(["install","uninstall","restart","start","stop"]).has(r)&&T({event:`daemon_${r}`,properties:{platform:process.platform,subsource:"daemon"}});try{switch(r){case"install":return await lt({port:s,force:o.includes("--force")});case"uninstall":return await ut();case"status":return await dt();case"restart":return await mt();case"start":return await pt();case"stop":return await gt();default:console.error(` unknown daemon subcommand: ${r}`),M(),process.exit(1)}}finally{await _()}}function M(){console.log(`
32
- sootsim daemon \u2014 manage the sootsim bridge daemon
33
-
34
- the daemon is registered automatically on first CLI use, so you usually
35
- don't need to run any of these subcommands. use them to inspect or remove
36
- the launchd/systemd agent.
37
-
38
- usage:
39
- sootsim daemon uninstall stop and remove the login agent
40
- sootsim daemon status show whether the agent is installed + running
41
- sootsim daemon restart restart the agent (use after 'npm update -g sootsim')
42
- sootsim daemon start start the installed agent
43
- sootsim daemon stop stop the running agent
44
-
45
- examples:
46
- sootsim daemon status
47
- sootsim daemon restart
48
- sootsim daemon uninstall
49
- `)}function ot(){let t=st();return{executable:process.execPath,prefixArgs:[t]}}function st(){try{let e=tt("which",["sootsim"],{encoding:"utf8"}).trim();if(e&&a(e))return V(e)}catch{}let t=process.argv[1];if(t&&a(t))return V(t);throw new Error("could not locate the sootsim binary")}function V(t){try{return W("fs").realpathSync(t)}catch{return t}}function nt(t,e){v(h,{recursive:!0});let r=m(h,"server.out.log"),o=m(h,"server.err.log"),{launcherPath:s}=F(t,e,{stdout:r,stderr:o}),i=` <string>${at(s)}</string>`;return`<?xml version="1.0" encoding="UTF-8"?>
50
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
51
- <plist version="1.0">
52
- <dict>
53
- <key>Label</key><string>${p}</string>
54
- <key>ProgramArguments</key>
55
- <array>
56
- ${i}
57
- </array>
58
- <key>RunAtLoad</key><true/>
59
- <key>KeepAlive</key><true/>
60
- <key>ThrottleInterval</key><integer>${q}</integer>
61
- <key>ProcessType</key><string>Background</string>
62
- <key>StandardOutPath</key><string>${r}</string>
63
- <key>StandardErrorPath</key><string>${o}</string>
64
- </dict>
65
- </plist>
66
- `}function it(t,e){return v(rt,{recursive:!0}),`[Unit]
67
- Description=sootsim bridge daemon
68
- After=default.target
69
-
70
- [Service]
71
- Type=simple
72
- ExecStart=${[t.executable,...t.prefixArgs].map(ct).join(" ")} server --quiet --port ${e}
73
- Restart=always
74
- RestartSec=${q}
75
-
76
- [Install]
77
- WantedBy=default.target
78
- `}function at(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}function ct(t){return/[^\w@%+=:,./-]/.test(t)?`'${t.replace(/'/g,"'\\''")}'`:t}function b(){return m($(),"Library/LaunchAgents",`${p}.plist`)}function j(){return m($(),"Library/LaunchAgents",`${E}.plist`)}function x(){return m($(),".config/systemd/user",`${d}.service`)}function G(){let t=j();return a(t)?(n("launchctl",["bootout",`gui/${process.getuid()}/${E}`],{stdio:"ignore"}),S(t,{force:!0}),!0):!1}async function lt({port:t,force:e}){if(I())throw new Error(`refusing to install the persistent sootsim daemon agent from a dev checkout.
79
- the launchd / systemd agent would point at workspace artifacts that change
80
- between sessions, and would serve stale prod-built engine assets instead of
81
- the live \`bun dev:sootsim\` output. start the daemon manually in another
82
- shell with: sootsim server
83
- (set SOOTSIM_FORCE_DAEMON_INSTALL=1 to override.)`);let r=ot();if(console.log(` binary: ${[r.executable,...r.prefixArgs].join(" ")}`),console.log(` port: ${t}`),process.platform==="darwin"){G()&&console.log(` migrated away from legacy ${E} plist`);let o=b();if(a(o)&&!e){console.log(` already installed at ${o}`),console.log(" pass --force to overwrite, or use 'sootsim daemon restart' to reload");return}v(U(o),{recursive:!0}),R(o,nt(r,t)),console.log(` wrote ${o}`);let s=`gui/${process.getuid()}`,i=`${s}/${p}`,f=()=>{let l=n("launchctl",["bootstrap",s,o],{stdio:"pipe",encoding:"utf8"}),k=(l.stderr||l.stdout||"").trim();if(l.status!==0)return{ok:!1,reason:`bootstrap exit ${l.status}${k?`: ${k}`:""}`};let A=n("launchctl",["print",i],{encoding:"utf8"});return A.status!==0?{ok:!1,reason:`bootstrap returned 0 but service not registered (print exit ${A.status})`}:{ok:!0}},u=f();if(!u.ok){let l=u.reason;if(n("launchctl",["bootout",i],{stdio:"ignore"}),u=f(),!u.ok)throw new Error(`launchctl bootstrap failed: ${u.reason}`+(l!==u.reason?` (initial: ${l})`:"")+" \u2014 try `sootsim daemon uninstall` then retry, or reboot if launchd state is stuck.")}let c=Date.now()+4e3,g,y;for(;Date.now()<c;){let l=n("launchctl",["print",i],{encoding:"utf8"});if(l.status===0&&(g=l.stdout?.match(/state\s*=\s*(\w+)/)?.[1],y=l.stdout?.match(/pid\s*=\s*(\d+)/)?.[1],g==="running"||y))break;await new Promise(k=>setTimeout(k,150))}if(g!=="running"&&!y)throw new Error(`daemon registered but did not reach running state within 4s (last state: ${g||"unknown"}). check ${m(h,"server.err.log")} \u2014 typically a stale runtime or a port already bound by another process.`);console.log(` registered (state: ${g||"unknown"}${y?`, pid ${y}`:""}, log: ${m(h,"server.err.log")})`);return}if(process.platform==="linux"){let o=x();if(a(o)&&!e){console.log(` already installed at ${o}`),console.log(" pass --force to overwrite, or use 'sootsim daemon restart' to reload");return}v(U(o),{recursive:!0}),R(o,it(r,t)),console.log(` wrote ${o}`);let s=n("systemctl",["--user","daemon-reload"],{stdio:"pipe",encoding:"utf8"});if(s.status!==0){let c=(s.stderr||s.stdout||"").trim();throw new Error(`systemctl daemon-reload failed${c?`: ${c}`:""}`)}let i=n("systemctl",["--user","enable","--now",d],{stdio:"pipe",encoding:"utf8"});if(i.status!==0){let c=(i.stderr||i.stdout||"").trim();throw new Error(`systemctl enable --now failed${c?`: ${c}`:""} \u2014 try \`sootsim daemon uninstall\` then retry.`)}let u=(n("systemctl",["--user","is-active",d],{encoding:"utf8"}).stdout||"").trim()||"unknown";console.log(` registered (state: ${u}, journalctl --user -u ${d} to tail logs)`);return}console.error(` sootsim daemon install is not supported on ${process.platform}`),console.error(" run 'sootsim server' in a persistent shell instead"),process.exit(1)}async function ut(){if(process.platform==="darwin"){let t=b(),e=G();e&&console.log(` removed legacy ${j()}`);let r=a(t);r&&(n("launchctl",["bootout",`gui/${process.getuid()}/${p}`],{stdio:"ignore"}),S(t,{force:!0}),console.log(` removed ${t}`));let o=w();a(o)&&(S(o,{recursive:!0,force:!0}),console.log(` removed ${o}`)),!r&&!e&&console.log(" not installed");return}if(process.platform==="linux"){let t=x();if(!a(t)){console.log(" not installed");return}n("systemctl",["--user","disable","--now",d],{stdio:"ignore"}),S(t,{force:!0}),n("systemctl",["--user","daemon-reload"],{stdio:"ignore"}),console.log(` removed ${t}`);return}console.error(` unsupported platform: ${process.platform}`),process.exit(1)}async function dt(){if(process.platform==="darwin"){let t=b();if(!a(t)){console.log(" installed: no");return}console.log(` installed: yes (${t})`);let e=ft(t);e&&console.log(` binary: ${e}`);let r=n("launchctl",["print",`gui/${process.getuid()}/${p}`],{encoding:"utf8"});if(r.status===0){let o=r.stdout.match(/state\s*=\s*(\w+)/)?.[1],s=r.stdout.match(/pid\s*=\s*(\d+)/)?.[1];console.log(` state: ${o||"unknown"}${s?` (pid ${s})`:""}`)}else console.log(" state: not running");return}if(process.platform==="linux"){let t=x();if(!a(t)){console.log(" installed: no");return}console.log(` installed: yes (${t})`);let e=n("systemctl",["--user","is-active",d],{encoding:"utf8"});console.log(` state: ${e.stdout.trim()||"unknown"}`);return}console.error(` unsupported platform: ${process.platform}`),process.exit(1)}async function mt(){if(process.platform==="darwin"){let t=b();a(t)||(console.error(" daemon not registered \u2014 run any sootsim command to bootstrap it"),process.exit(1));let e=n("launchctl",["kickstart","-k",`gui/${process.getuid()}/${p}`],{stdio:"pipe",encoding:"utf8"});e.status!==0&&(console.error(` kickstart failed: ${e.stderr?.trim()}`),process.exit(1)),console.log(" restarted");return}if(process.platform==="linux"){let t=x();a(t)||(console.error(" daemon not registered \u2014 run any sootsim command to bootstrap it"),process.exit(1));let e=n("systemctl",["--user","restart",d],{stdio:"pipe",encoding:"utf8"});e.status!==0&&(console.error(` restart failed: ${e.stderr?.trim()}`),process.exit(1)),console.log(" restarted");return}console.error(` unsupported platform: ${process.platform}`),process.exit(1)}async function pt(){if(process.platform==="darwin"){n("launchctl",["kickstart",`gui/${process.getuid()}/${p}`],{stdio:"inherit"});return}if(process.platform==="linux"){n("systemctl",["--user","start",d],{stdio:"inherit"});return}console.error(` unsupported platform: ${process.platform}`),process.exit(1)}async function gt(){if(process.platform==="darwin"){n("launchctl",["bootout",`gui/${process.getuid()}/${p}`],{stdio:"inherit"});return}if(process.platform==="linux"){n("systemctl",["--user","stop",d],{stdio:"inherit"});return}console.error(` unsupported platform: ${process.platform}`),process.exit(1)}function ft(t){try{return et(t,"utf8").match(/<array>\s*<string>([^<]+)<\/string>/)?.[1]||null}catch{return null}}export{lt as daemonInstall,At as runDaemon};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-XCRUPKWB.js";import"./chunk-TLTS533S.js";export{a as APPS};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import"./chunk-TEMZK6Q2.js";import{a,b,c,d,e,f,g,h,i}from"./chunk-7PQHQOCI.js";import"./chunk-ZO7SGE65.js";import"./chunk-GFVC6EEB.js";import"./chunk-5WRBVYML.js";import"./chunk-ZP2HMCKS.js";import"./chunk-HW5YHSIE.js";import"./chunk-TLTS533S.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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a as c,b as d,c as e,d as f}from"./chunk-2HKCZLY7.js";import"./chunk-4QSGVTBE.js";import"./chunk-KR36VJSN.js";import"./chunk-SH6HMUCY.js";import"./chunk-KBJ2WHII.js";import"./chunk-LQ5BA5JU.js";import{d as a,e as b}from"./chunk-EJTXYZEF.js";import"./chunk-MIAAZSSE.js";import"./chunk-K4PKR2EO.js";import"./chunk-CUNQTNH4.js";import"./chunk-AQ7YR4MO.js";import"./chunk-XCRUPKWB.js";import"./chunk-7PQHQOCI.js";import"./chunk-ZO7SGE65.js";import"./chunk-GFVC6EEB.js";import"./chunk-5WRBVYML.js";import"./chunk-ZP2HMCKS.js";import"./chunk-ZJJKYJMH.js";import"./chunk-SVFSMAZN.js";import"./chunk-DOWYG3HG.js";import"./chunk-O624O5MO.js";import"./chunk-BCVVANS5.js";import"./chunk-NYR3Z44O.js";import"./chunk-U47AHSGE.js";import"./chunk-IB4BRND4.js";import"./chunk-6O64VUC6.js";import"./chunk-HW5YHSIE.js";import"./chunk-TLTS533S.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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a as o}from"./chunk-3KVVIZ6M.js";import"./chunk-ATRGAFJD.js";import"./chunk-N4JRDJMN.js";import"./chunk-DOWYG3HG.js";import"./chunk-O624O5MO.js";import"./chunk-U47AHSGE.js";import"./chunk-IB4BRND4.js";import"./chunk-6O64VUC6.js";import"./chunk-HW5YHSIE.js";import"./chunk-TLTS533S.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.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-52RZ6TSZ.js";import"./chunk-U47AHSGE.js";import"./chunk-IB4BRND4.js";import"./chunk-6O64VUC6.js";import"./chunk-YGQV3CUV.js";import"./chunk-HW5YHSIE.js";import"./chunk-TLTS533S.js";export{a as runRuntime};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-3KVVIZ6M.js";import"./chunk-ATRGAFJD.js";import"./chunk-N4JRDJMN.js";import"./chunk-DOWYG3HG.js";import"./chunk-O624O5MO.js";import"./chunk-U47AHSGE.js";import"./chunk-IB4BRND4.js";import"./chunk-6O64VUC6.js";import"./chunk-HW5YHSIE.js";import"./chunk-TLTS533S.js";export{a as runSetupRepo};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a}from"./chunk-BCVVANS5.js";import"./chunk-NYR3Z44O.js";import"./chunk-TLTS533S.js";export{a as settingsStore};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b}from"./chunk-DOWYG3HG.js";import"./chunk-O624O5MO.js";import"./chunk-HW5YHSIE.js";import"./chunk-TLTS533S.js";export{b as flushCliTelemetry,a as trackCliEvent};
@@ -1,2 +0,0 @@
1
- /*! sootsim v0.1.67 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
- import{a,b,c}from"./chunk-KBJ2WHII.js";import"./chunk-LQ5BA5JU.js";import"./chunk-GFVC6EEB.js";import"./chunk-ZP2HMCKS.js";import"./chunk-DOWYG3HG.js";import"./chunk-O624O5MO.js";import"./chunk-U47AHSGE.js";import"./chunk-IB4BRND4.js";import"./chunk-6O64VUC6.js";import"./chunk-HW5YHSIE.js";import"./chunk-TLTS533S.js";export{a as resolveDefaultUploadOrigin,b as resolvePublicPreviewOrigin,c as runUpload};