@claudiolabs/claudio 0.1.15 → 0.2.0

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 (704) hide show
  1. package/dist/chunks/AgentTool-0.2.0-g1wqt0s3.mjs +1 -0
  2. package/dist/chunks/App-0.2.0-ntfv12g0.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.2.0-2ymsvey5.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.2.0-8jec5v9r.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.2.0-xvmknjn1.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.2.0-1cpe3m5c.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.2.0-851aysqd.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.2.0-v4515qqc.mjs +1 -0
  9. package/dist/chunks/{DiffDialog-0.1.15-86m0j64m.mjs → DiffDialog-0.2.0-kyhr5jh0.mjs} +1 -1
  10. package/dist/chunks/Doctor-0.2.0-ck3enc4g.mjs +1 -0
  11. package/dist/chunks/Grove-0.2.0-79c6g758.mjs +1 -0
  12. package/dist/chunks/ITermBackend-0.2.0-ez3ahe49.mjs +1 -0
  13. package/dist/chunks/InProcessTransport-0.2.0-9d5e65zk.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.2.0-mfrg36s6.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.2.0-n08wkb0d.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.2.0-9anh130m.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.2.0-2468pvay.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.2.0-cjpn5dkk.mjs +1 -0
  19. package/dist/chunks/REPL-0.2.0-q3fd5jfy.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.2.0-3ff000x5.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.2.0-b51pr6s3.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.2.0-c3znpb7p.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.2.0-5wckmrvx.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.2.0-wdc9sxcv.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.2.0-mkbxpe3a.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.2.0-k7dvhq3e.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.2.0-xywdgnw5.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.2.0-6yja1haw.mjs +1 -0
  29. package/dist/chunks/add-dir-0.2.0-qg5z82ke.mjs +1 -0
  30. package/dist/chunks/agents-0.2.0-2j995rg8.mjs +3 -0
  31. package/dist/chunks/agents-0.2.0-mzww8vhq.mjs +110 -0
  32. package/dist/chunks/api-0.2.0-rfc17a1j.mjs +1 -0
  33. package/dist/chunks/asciicast-0.2.0-25ban1yy.mjs +1 -0
  34. package/dist/chunks/assistant-0.2.0-wt3sz6f5.mjs +1 -0
  35. package/dist/chunks/auth-0.2.0-p1v8yq4y.mjs +1 -0
  36. package/dist/chunks/auth-0.2.0-sh12qb2q.mjs +1 -0
  37. package/dist/chunks/{autoMode-0.1.15-p9r45wxy.mjs → autoMode-0.2.0-vzqmqetr.mjs} +1 -1
  38. package/dist/chunks/backgroundHousekeeping-0.2.0-8d72paf3.mjs +1 -0
  39. package/dist/chunks/branch-0.2.0-vhf49enf.mjs +4 -0
  40. package/dist/chunks/bridgePointer-0.2.0-br2r89v9.mjs +1 -0
  41. package/dist/chunks/{btw-0.1.15-q693ppfr.mjs → btw-0.2.0-qtwstg74.mjs} +1 -1
  42. package/dist/chunks/{buddy-0.1.15-vcca6k2p.mjs → buddy-0.2.0-5a9wzpm1.mjs} +1 -1
  43. package/dist/chunks/cacache-0.2.0-nps3what.mjs +1 -0
  44. package/dist/chunks/{cache-probe-0.1.15-dfdjj53r.mjs → cache-probe-0.2.0-9d3hfar7.mjs} +1 -1
  45. package/dist/chunks/{cacheStats-0.1.15-v9v9y02q.mjs → cacheStats-0.2.0-rbr7a1xq.mjs} +1 -1
  46. package/dist/chunks/caches-0.2.0-jsvyz7k9.mjs +1 -0
  47. package/dist/chunks/claudeDesktop-0.2.0-ca7jbnc4.mjs +1 -0
  48. package/dist/chunks/claudemd-0.2.0-yt6b83v9.mjs +1 -0
  49. package/dist/chunks/clear-0.2.0-5e6fb269.mjs +1 -0
  50. package/dist/chunks/clearTerminal-0.2.0-c21vszkv.mjs +1 -0
  51. package/dist/chunks/cli-0.2.0-087sjqr6.mjs +2 -0
  52. package/dist/chunks/cli-0.2.0-0cjgm41a.mjs +2 -0
  53. package/dist/chunks/cli-0.2.0-0fwa4agt.mjs +2 -0
  54. package/dist/chunks/cli-0.2.0-0nmdgd3g.mjs +2 -0
  55. package/dist/chunks/cli-0.2.0-0vvkn4c2.mjs +2 -0
  56. package/dist/chunks/{cli-0.1.15-4fc5wnse.mjs → cli-0.2.0-13sc1gtx.mjs} +2 -2
  57. package/dist/chunks/cli-0.2.0-16yt5fwn.mjs +2 -0
  58. package/dist/chunks/cli-0.2.0-1br2y5jr.mjs +2 -0
  59. package/dist/chunks/cli-0.2.0-1mbgzd60.mjs +2 -0
  60. package/dist/chunks/cli-0.2.0-1vczhepy.mjs +2 -0
  61. package/dist/chunks/{cli-0.1.15-vwb8h4r1.mjs → cli-0.2.0-24bbrvmx.mjs} +1 -1
  62. package/dist/chunks/{cli-0.1.15-ncammv2n.mjs → cli-0.2.0-280a64s9.mjs} +2 -2
  63. package/dist/chunks/cli-0.2.0-2c2rdf9b.mjs +2 -0
  64. package/dist/chunks/cli-0.2.0-2crrewfg.mjs +5 -0
  65. package/dist/chunks/{cli-0.1.15-nkn6jfmb.mjs → cli-0.2.0-2edwgzmj.mjs} +1 -1
  66. package/dist/chunks/cli-0.2.0-2ppczk6v.mjs +2 -0
  67. package/dist/chunks/cli-0.2.0-35xeqadb.mjs +2 -0
  68. package/dist/chunks/cli-0.2.0-362nfwm4.mjs +5 -0
  69. package/dist/chunks/cli-0.2.0-3abr1pjj.mjs +2 -0
  70. package/dist/chunks/cli-0.2.0-3ttrh2tj.mjs +2 -0
  71. package/dist/chunks/cli-0.2.0-3y7hn5v2.mjs +2 -0
  72. package/dist/chunks/cli-0.2.0-41524wt1.mjs +2 -0
  73. package/dist/chunks/cli-0.2.0-46m4vcs3.mjs +2 -0
  74. package/dist/chunks/cli-0.2.0-48sfjp31.mjs +2 -0
  75. package/dist/chunks/cli-0.2.0-4hy8176k.mjs +2 -0
  76. package/dist/chunks/cli-0.2.0-4phx745d.mjs +2 -0
  77. package/dist/chunks/cli-0.2.0-4s3ve9jw.mjs +2 -0
  78. package/dist/chunks/cli-0.2.0-4t9h5c71.mjs +2 -0
  79. package/dist/chunks/cli-0.2.0-4vbz1xrx.mjs +2 -0
  80. package/dist/chunks/cli-0.2.0-4ve4asjv.mjs +2 -0
  81. package/dist/chunks/cli-0.2.0-514cx7c7.mjs +3 -0
  82. package/dist/chunks/cli-0.2.0-55mg69qb.mjs +2 -0
  83. package/dist/chunks/{cli-0.1.15-rq9n4js4.mjs → cli-0.2.0-5a2sf5g7.mjs} +1 -1
  84. package/dist/chunks/{cli-0.1.15-20tvdt2s.mjs → cli-0.2.0-5rm5wnp9.mjs} +2 -2
  85. package/dist/chunks/cli-0.2.0-69bn5730.mjs +2 -0
  86. package/dist/chunks/cli-0.2.0-6dbn4mn2.mjs +2 -0
  87. package/dist/chunks/cli-0.2.0-6en16pc3.mjs +2 -0
  88. package/dist/chunks/cli-0.2.0-6scx1ptz.mjs +4 -0
  89. package/dist/chunks/cli-0.2.0-6y2zbjr4.mjs +2 -0
  90. package/dist/chunks/cli-0.2.0-715a2z01.mjs +2 -0
  91. package/dist/chunks/cli-0.2.0-7xs4mtmq.mjs +2 -0
  92. package/dist/chunks/cli-0.2.0-7zpdrxbp.mjs +2 -0
  93. package/dist/chunks/cli-0.2.0-82kqh5xm.mjs +2 -0
  94. package/dist/chunks/cli-0.2.0-847azgnr.mjs +2 -0
  95. package/dist/chunks/cli-0.2.0-8hbq2p5t.mjs +2 -0
  96. package/dist/chunks/cli-0.2.0-8wnt08ky.mjs +12 -0
  97. package/dist/chunks/cli-0.2.0-98h2e6bt.mjs +2 -0
  98. package/dist/chunks/cli-0.2.0-9ez4c6sj.mjs +6 -0
  99. package/dist/chunks/{cli-0.1.15-m0v1d1kt.mjs → cli-0.2.0-9fckzgpc.mjs} +11 -11
  100. package/dist/chunks/cli-0.2.0-9jj1kcbc.mjs +2 -0
  101. package/dist/chunks/cli-0.2.0-9n89mtk3.mjs +2 -0
  102. package/dist/chunks/cli-0.2.0-9n8cdk9p.mjs +2 -0
  103. package/dist/chunks/cli-0.2.0-9t5wq1kd.mjs +2 -0
  104. package/dist/chunks/cli-0.2.0-am2e345h.mjs +2 -0
  105. package/dist/chunks/{cli-0.1.15-zap1wk9j.mjs → cli-0.2.0-amhtcvq4.mjs} +2 -2
  106. package/dist/chunks/cli-0.2.0-ar569zh3.mjs +2 -0
  107. package/dist/chunks/cli-0.2.0-arwyxqyx.mjs +2 -0
  108. package/dist/chunks/{cli-0.1.15-xe4dq144.mjs → cli-0.2.0-asc68d4g.mjs} +2 -2
  109. package/dist/chunks/cli-0.2.0-aw44dqmt.mjs +2 -0
  110. package/dist/chunks/cli-0.2.0-b1tfb8fj.mjs +2 -0
  111. package/dist/chunks/cli-0.2.0-b8a7b102.mjs +2 -0
  112. package/dist/chunks/{cli-0.1.15-mhbfhhf6.mjs → cli-0.2.0-b8hs09nv.mjs} +1 -1
  113. package/dist/chunks/{cli-0.1.15-rv6zpjh8.mjs → cli-0.2.0-bd59jfmr.mjs} +1 -1
  114. package/dist/chunks/cli-0.2.0-bs742fy1.mjs +2 -0
  115. package/dist/chunks/cli-0.2.0-c3qvrk8y.mjs +2 -0
  116. package/dist/chunks/{cli-0.1.15-68f0jtkh.mjs → cli-0.2.0-c7ea0dry.mjs} +2 -2
  117. package/dist/chunks/{cli-0.1.15-dp2e8j4f.mjs → cli-0.2.0-cabza42m.mjs} +1 -1
  118. package/dist/chunks/cli-0.2.0-ccwfmwcq.mjs +2 -0
  119. package/dist/chunks/cli-0.2.0-crn0mjsc.mjs +2 -0
  120. package/dist/chunks/{cli-0.1.15-26hkdean.mjs → cli-0.2.0-cs8e9514.mjs} +817 -949
  121. package/dist/chunks/cli-0.2.0-cst46q1r.mjs +2 -0
  122. package/dist/chunks/cli-0.2.0-d4ajkte5.mjs +2 -0
  123. package/dist/chunks/{cli-0.1.15-x69hfzmj.mjs → cli-0.2.0-da216rmz.mjs} +2 -2
  124. package/dist/chunks/cli-0.2.0-daxqaqx9.mjs +2 -0
  125. package/dist/chunks/cli-0.2.0-dsa5edrn.mjs +2 -0
  126. package/dist/chunks/cli-0.2.0-dtsxeqwx.mjs +17 -0
  127. package/dist/chunks/cli-0.2.0-e184jeam.mjs +2 -0
  128. package/dist/chunks/{cli-0.1.15-nk50qhet.mjs → cli-0.2.0-e9xwjcb3.mjs} +2 -2
  129. package/dist/chunks/{cli-0.1.15-e2e7hn7p.mjs → cli-0.2.0-eaeff4m6.mjs} +3 -3
  130. package/dist/chunks/cli-0.2.0-emdrfb4f.mjs +2 -0
  131. package/dist/chunks/cli-0.2.0-eyswa898.mjs +2 -0
  132. package/dist/chunks/{cli-0.1.15-d9nfa2yf.mjs → cli-0.2.0-ezgpj8e5.mjs} +1 -1
  133. package/dist/chunks/cli-0.2.0-f0ec18e0.mjs +2 -0
  134. package/dist/chunks/cli-0.2.0-f5rgr2bw.mjs +5 -0
  135. package/dist/chunks/cli-0.2.0-f63v4pa4.mjs +2 -0
  136. package/dist/chunks/{cli-0.1.15-gmdv5ny8.mjs → cli-0.2.0-f7tp61b0.mjs} +2 -2
  137. package/dist/chunks/cli-0.2.0-fanwxcjn.mjs +2 -0
  138. package/dist/chunks/cli-0.2.0-fgsp4dtv.mjs +2 -0
  139. package/dist/chunks/cli-0.2.0-fknhewrw.mjs +2 -0
  140. package/dist/chunks/cli-0.2.0-fr785r3y.mjs +2 -0
  141. package/dist/chunks/cli-0.2.0-frar6zbv.mjs +6 -0
  142. package/dist/chunks/{cli-0.1.15-gkzany0s.mjs → cli-0.2.0-frwsdnhe.mjs} +2 -2
  143. package/dist/chunks/cli-0.2.0-fy5rnmc5.mjs +2 -0
  144. package/dist/chunks/{cli-0.1.15-4892kydg.mjs → cli-0.2.0-g2h1t6ke.mjs} +4 -4
  145. package/dist/chunks/cli-0.2.0-g4kznbnn.mjs +2 -0
  146. package/dist/chunks/cli-0.2.0-g86682ye.mjs +2 -0
  147. package/dist/chunks/cli-0.2.0-gby7sqgg.mjs +2 -0
  148. package/dist/chunks/{cli-0.1.15-cr7qy3wd.mjs → cli-0.2.0-gjtwz4v6.mjs} +2 -2
  149. package/dist/chunks/cli-0.2.0-gmq4bxtp.mjs +2 -0
  150. package/dist/chunks/cli-0.2.0-gngqqtnd.mjs +4 -0
  151. package/dist/chunks/cli-0.2.0-gpc69j0z.mjs +2 -0
  152. package/dist/chunks/cli-0.2.0-gsw60zfe.mjs +2 -0
  153. package/dist/chunks/cli-0.2.0-gy72dze8.mjs +2 -0
  154. package/dist/chunks/cli-0.2.0-h2wnach8.mjs +16 -0
  155. package/dist/chunks/cli-0.2.0-h9tvrrx9.mjs +2 -0
  156. package/dist/chunks/cli-0.2.0-hg1xg9nq.mjs +2 -0
  157. package/dist/chunks/cli-0.2.0-hw4ce6k6.mjs +2 -0
  158. package/dist/chunks/cli-0.2.0-hzzgbj9r.mjs +2 -0
  159. package/dist/chunks/cli-0.2.0-j71ct7m7.mjs +2 -0
  160. package/dist/chunks/cli-0.2.0-jna42sz6.mjs +2 -0
  161. package/dist/chunks/cli-0.2.0-jsrrpd02.mjs +2 -0
  162. package/dist/chunks/cli-0.2.0-k0aa6s39.mjs +2 -0
  163. package/dist/chunks/cli-0.2.0-k2tq4knj.mjs +2 -0
  164. package/dist/chunks/{cli-0.1.15-jy7cjb23.mjs → cli-0.2.0-k438c5g3.mjs} +1 -1
  165. package/dist/chunks/cli-0.2.0-k7cxbyxg.mjs +2 -0
  166. package/dist/chunks/{cli-0.1.15-v07ep52w.mjs → cli-0.2.0-kg83sjcw.mjs} +2 -2
  167. package/dist/chunks/cli-0.2.0-kgs4hedc.mjs +2 -0
  168. package/dist/chunks/cli-0.2.0-krxmhdq4.mjs +2 -0
  169. package/dist/chunks/cli-0.2.0-m5s0ha7v.mjs +3 -0
  170. package/dist/chunks/cli-0.2.0-m81s8n1j.mjs +2 -0
  171. package/dist/chunks/cli-0.2.0-mg45dmsv.mjs +2 -0
  172. package/dist/chunks/cli-0.2.0-mhpecwq3.mjs +2 -0
  173. package/dist/chunks/cli-0.2.0-mne4f86b.mjs +7 -0
  174. package/dist/chunks/cli-0.2.0-mstcexpv.mjs +2 -0
  175. package/dist/chunks/{cli-0.1.15-2vwx57re.mjs → cli-0.2.0-ncjme2vj.mjs} +1 -1
  176. package/dist/chunks/cli-0.2.0-ndz9dbxz.mjs +2 -0
  177. package/dist/chunks/cli-0.2.0-p0dd7k39.mjs +4 -0
  178. package/dist/chunks/cli-0.2.0-p19kyd3z.mjs +4 -0
  179. package/dist/chunks/cli-0.2.0-p2jewnbn.mjs +2 -0
  180. package/dist/chunks/cli-0.2.0-p46nxmgy.mjs +2 -0
  181. package/dist/chunks/cli-0.2.0-pa834vt3.mjs +2 -0
  182. package/dist/chunks/cli-0.2.0-pdb8evy6.mjs +2 -0
  183. package/dist/chunks/cli-0.2.0-pfja1jsa.mjs +2 -0
  184. package/dist/chunks/cli-0.2.0-pt145sac.mjs +3 -0
  185. package/dist/chunks/cli-0.2.0-ptwysnj7.mjs +2 -0
  186. package/dist/chunks/cli-0.2.0-pw3er14v.mjs +2 -0
  187. package/dist/chunks/cli-0.2.0-pxy1f4ky.mjs +2 -0
  188. package/dist/chunks/cli-0.2.0-q1fz4qmd.mjs +2 -0
  189. package/dist/chunks/cli-0.2.0-q822fesk.mjs +2 -0
  190. package/dist/chunks/cli-0.2.0-qcr87znh.mjs +2 -0
  191. package/dist/chunks/{cli-0.1.15-5denzf1p.mjs → cli-0.2.0-qdcyy0k1.mjs} +3 -3
  192. package/dist/chunks/cli-0.2.0-qnd8v5pt.mjs +2 -0
  193. package/dist/chunks/cli-0.2.0-qw0kz7z3.mjs +2 -0
  194. package/dist/chunks/cli-0.2.0-r15zg9jv.mjs +2 -0
  195. package/dist/chunks/cli-0.2.0-r3f7ephj.mjs +2 -0
  196. package/dist/chunks/{cli-0.1.15-b7p48xfw.mjs → cli-0.2.0-rwdy3dtq.mjs} +1 -1
  197. package/dist/chunks/{cli-0.1.15-qns6xv34.mjs → cli-0.2.0-s02v5abf.mjs} +5 -5
  198. package/dist/chunks/{cli-0.1.15-6nwbd09n.mjs → cli-0.2.0-s130pb2c.mjs} +2 -2
  199. package/dist/chunks/cli-0.2.0-s919r7gy.mjs +2 -0
  200. package/dist/chunks/cli-0.2.0-sh26pc92.mjs +2 -0
  201. package/dist/chunks/cli-0.2.0-sj380wma.mjs +2 -0
  202. package/dist/chunks/cli-0.2.0-stn798t9.mjs +9 -0
  203. package/dist/chunks/cli-0.2.0-t0j5fnc5.mjs +2 -0
  204. package/dist/chunks/{cli-0.1.15-rbx47sc3.mjs → cli-0.2.0-teqjxyws.mjs} +1 -1
  205. package/dist/chunks/{cli-0.1.15-xaw2s45s.mjs → cli-0.2.0-v8kqgxs0.mjs} +1 -1
  206. package/dist/chunks/cli-0.2.0-vdhcg4g4.mjs +2 -0
  207. package/dist/chunks/cli-0.2.0-vejekjsb.mjs +2 -0
  208. package/dist/chunks/cli-0.2.0-vjcy5y97.mjs +4 -0
  209. package/dist/chunks/cli-0.2.0-vjnmd5ey.mjs +2 -0
  210. package/dist/chunks/cli-0.2.0-wc6ydzff.mjs +2 -0
  211. package/dist/chunks/cli-0.2.0-wmfpk06g.mjs +2 -0
  212. package/dist/chunks/{cli-0.1.15-rvtve9kq.mjs → cli-0.2.0-wmstwkhw.mjs} +1 -1
  213. package/dist/chunks/cli-0.2.0-wqzmxfnd.mjs +2 -0
  214. package/dist/chunks/cli-0.2.0-wwwmxcwz.mjs +2 -0
  215. package/dist/chunks/{cli-0.1.15-8sgewact.mjs → cli-0.2.0-x221h2yq.mjs} +1 -1
  216. package/dist/chunks/cli-0.2.0-xdmw2spe.mjs +4 -0
  217. package/dist/chunks/cli-0.2.0-xmf20rrm.mjs +2 -0
  218. package/dist/chunks/cli-0.2.0-xwrvt7rw.mjs +2 -0
  219. package/dist/chunks/cli-0.2.0-y1q43eac.mjs +2 -0
  220. package/dist/chunks/{cli-0.1.15-htms4w3h.mjs → cli-0.2.0-y6g66sm5.mjs} +1 -1
  221. package/dist/chunks/cli-0.2.0-y93dcrnm.mjs +2 -0
  222. package/dist/chunks/cli-0.2.0-y9bxbkxm.mjs +2 -0
  223. package/dist/chunks/{cli-0.1.15-23cavaaa.mjs → cli-0.2.0-ykvda8xj.mjs} +1 -1
  224. package/dist/chunks/cli-0.2.0-z1j2k2y8.mjs +2 -0
  225. package/dist/chunks/cli-0.2.0-zdr99w6n.mjs +2 -0
  226. package/dist/chunks/cli-0.2.0-zhq243rp.mjs +5 -0
  227. package/dist/chunks/cli-0.2.0-zxm7fqen.mjs +2 -0
  228. package/dist/chunks/client-0.2.0-qtv4epf8.mjs +1 -0
  229. package/dist/chunks/color-0.2.0-287d7bh5.mjs +1 -0
  230. package/dist/chunks/compact-0.2.0-qd4qye1t.mjs +3 -0
  231. package/dist/chunks/config-0.2.0-2fafd18t.mjs +1 -0
  232. package/dist/chunks/config-0.2.0-rm6w636d.mjs +1 -0
  233. package/dist/chunks/{context-0.1.15-ghkedaaw.mjs → context-0.2.0-k3gcs0rz.mjs} +1 -1
  234. package/dist/chunks/context-noninteractive-0.2.0-k88gx3fk.mjs +1 -0
  235. package/dist/chunks/conversation-0.2.0-7c5rr3m8.mjs +1 -0
  236. package/dist/chunks/{copy-0.1.15-53q3e2fk.mjs → copy-0.2.0-adh6xrdj.mjs} +1 -1
  237. package/dist/chunks/cost-0.2.0-mnj9rgcz.mjs +1 -0
  238. package/dist/chunks/createSession-0.2.0-9g9gw88m.mjs +1 -0
  239. package/dist/chunks/desktop-0.2.0-8f8qkdkf.mjs +1 -0
  240. package/dist/chunks/detectRepository-0.2.0-349d15w3.mjs +1 -0
  241. package/dist/chunks/detection-0.2.0-bwykm3rz.mjs +1 -0
  242. package/dist/chunks/diff-0.2.0-9vymm8d8.mjs +1 -0
  243. package/dist/chunks/doctor-0.2.0-rxs4z5h9.mjs +1 -0
  244. package/dist/chunks/earlyInput-0.2.0-693jvbhz.mjs +1 -0
  245. package/dist/chunks/{effort-0.1.15-5za6yh63.mjs → effort-0.2.0-v3ery43s.mjs} +1 -1
  246. package/dist/chunks/environmentSelection-0.2.0-51bq9j0p.mjs +1 -0
  247. package/dist/chunks/environments-0.2.0-f16b46v6.mjs +1 -0
  248. package/dist/chunks/exit-0.2.0-gxsz2644.mjs +1 -0
  249. package/dist/chunks/export-0.2.0-3tnxr36f.mjs +2 -0
  250. package/dist/chunks/extra-usage-0.2.0-7rhvw0qy.mjs +1 -0
  251. package/dist/chunks/extra-usage-noninteractive-0.2.0-6jn1b44v.mjs +1 -0
  252. package/dist/chunks/fast-0.2.0-m1ebwhxs.mjs +1 -0
  253. package/dist/chunks/feedback-0.2.0-n6jvewnr.mjs +14 -0
  254. package/dist/chunks/firstPartyEventLogger-0.2.0-20cb3z2a.mjs +1 -0
  255. package/dist/chunks/git-0.2.0-c4ee3tsv.mjs +1 -0
  256. package/dist/chunks/githubModelsCredentials-0.2.0-cdvezs97.mjs +1 -0
  257. package/dist/chunks/growthbook-0.2.0-att0j7gv.mjs +1 -0
  258. package/dist/chunks/heapdump-0.2.0-78f6h5zs.mjs +6 -0
  259. package/dist/chunks/help-0.2.0-dtcb464y.mjs +1 -0
  260. package/dist/chunks/hookChains-0.2.0-svw4xjh6.mjs +3 -0
  261. package/dist/chunks/{hooks-0.1.15-f81kq7m2.mjs → hooks-0.2.0-4hvw5w19.mjs} +1 -1
  262. package/dist/chunks/hooks-0.2.0-hw6zwnp8.mjs +1 -0
  263. package/dist/chunks/{ide-0.1.15-xepj09gj.mjs → ide-0.2.0-3a10v8p7.mjs} +1 -1
  264. package/dist/chunks/image-processor-napi-0.2.0-8t8g5777.mjs +1 -0
  265. package/dist/chunks/index-0.2.0-0f0aw7rx.mjs +1 -0
  266. package/dist/chunks/index-0.2.0-1pr9vtkj.mjs +9 -0
  267. package/dist/chunks/index-0.2.0-2dyw5tmn.mjs +1 -0
  268. package/dist/chunks/index-0.2.0-728crm0q.mjs +1 -0
  269. package/dist/chunks/index-0.2.0-7gpqav46.mjs +2 -0
  270. package/dist/chunks/{index-0.1.15-77j1wp6f.mjs → index-0.2.0-7wttyxdg.mjs} +1 -1
  271. package/dist/chunks/index-0.2.0-b33awb2n.mjs +1 -0
  272. package/dist/chunks/{index-0.1.15-f1y1067a.mjs → index-0.2.0-b71emahw.mjs} +1 -1
  273. package/dist/chunks/index-0.2.0-czy0090x.mjs +1 -0
  274. package/dist/chunks/index-0.2.0-dactt0mw.mjs +1 -0
  275. package/dist/chunks/index-0.2.0-f8nnmapf.mjs +1 -0
  276. package/dist/chunks/{index-0.1.15-15ftbc8a.mjs → index-0.2.0-h3z86gdx.mjs} +2 -2
  277. package/dist/chunks/index-0.2.0-jrzrpfvk.mjs +1 -0
  278. package/dist/chunks/index-0.2.0-mny50v93.mjs +1 -0
  279. package/dist/chunks/index-0.2.0-nhw2r534.mjs +1 -0
  280. package/dist/chunks/index-0.2.0-p27jjyjb.mjs +1 -0
  281. package/dist/chunks/index-0.2.0-pf79ppar.mjs +1 -0
  282. package/dist/chunks/index-0.2.0-tamm1gme.mjs +1 -0
  283. package/dist/chunks/index-0.2.0-tj7rwkwq.mjs +1 -0
  284. package/dist/chunks/{index-0.1.15-tf5b20vy.mjs → index-0.2.0-v2mzpt7h.mjs} +1 -1
  285. package/dist/chunks/index-0.2.0-w1m3v2y0.mjs +9 -0
  286. package/dist/chunks/index-0.2.0-z8m5wd19.mjs +1 -0
  287. package/dist/chunks/initReplBridge-0.2.0-5abnx6wk.mjs +1 -0
  288. package/dist/chunks/ink-0.2.0-v2d1zzt6.mjs +1 -0
  289. package/dist/chunks/{insights-0.1.15-2zt9898j.mjs → insights-0.2.0-5q6x53j1.mjs} +1 -1
  290. package/dist/chunks/install-0.2.0-0vhcv1w2.mjs +1 -0
  291. package/dist/chunks/{install-github-app-0.1.15-h746hza3.mjs → install-github-app-0.2.0-xcxxtxzh.mjs} +1 -1
  292. package/dist/chunks/install-slack-app-0.2.0-12qw49ga.mjs +1 -0
  293. package/dist/chunks/{instrumentation-0.1.15-bwm4tb1y.mjs → instrumentation-0.2.0-rfc7gt94.mjs} +1 -1
  294. package/dist/chunks/interactiveHelpers-0.2.0-69j5avm0.mjs +1 -0
  295. package/dist/chunks/keybindings-0.2.0-r9ensjdz.mjs +2 -0
  296. package/dist/chunks/knowledge-0.2.0-r222df23.mjs +2 -0
  297. package/dist/chunks/loadAgentsDir-0.2.0-wrpffsg4.mjs +1 -0
  298. package/dist/chunks/loadPluginHooks-0.2.0-4wkq3ar6.mjs +1 -0
  299. package/dist/chunks/lsp-0.2.0-vyrfqxg7.mjs +1 -0
  300. package/dist/chunks/main-0.2.0-r3wv26vg.mjs +1 -0
  301. package/dist/chunks/managedEnv-0.2.0-t6y3d3hp.mjs +1 -0
  302. package/dist/chunks/mcp-0.2.0-8rxg4gkx.mjs +1 -0
  303. package/dist/chunks/{mcp-0.1.15-tw9s435t.mjs → mcp-0.2.0-anen8fv7.mjs} +3 -3
  304. package/dist/chunks/mcp-0.2.0-brdssfg7.mjs +4 -0
  305. package/dist/chunks/mcpServer-0.2.0-816p5gfy.mjs +1 -0
  306. package/dist/chunks/mcpb-0.2.0-pte54tfe.mjs +1 -0
  307. package/dist/chunks/memory-0.2.0-vxnsyq72.mjs +3 -0
  308. package/dist/chunks/{mobile-0.1.15-sm8kbft4.mjs → mobile-0.2.0-npn2rcmr.mjs} +1 -1
  309. package/dist/chunks/model-0.2.0-ajjp4znr.mjs +1 -0
  310. package/dist/chunks/model-0.2.0-dsy2yzwq.mjs +2 -0
  311. package/dist/chunks/oauth-0.2.0-xfb7vgc2.mjs +1 -0
  312. package/dist/chunks/{openaiShim-0.1.15-0yryhq9r.mjs → openaiShim-0.2.0-5rabbqwx.mjs} +1 -1
  313. package/dist/chunks/output-style-0.2.0-0tea3sgj.mjs +1 -0
  314. package/dist/chunks/package-WSP46L7M-0.2.0-54rp856z.mjs +1 -0
  315. package/dist/chunks/parser-0.2.0-vxksd2kb.mjs +1 -0
  316. package/dist/chunks/passes-0.2.0-kb6z71d5.mjs +1 -0
  317. package/dist/chunks/permissions-0.2.0-pvq85gdj.mjs +3 -0
  318. package/dist/chunks/plan-0.2.0-nc7dtaj1.mjs +1 -0
  319. package/dist/chunks/plist-0.2.0-veq45ed0.mjs +1 -0
  320. package/dist/chunks/plugin-0.2.0-q0ehrvv3.mjs +29 -0
  321. package/dist/chunks/pluginStartupCheck-0.2.0-cnkhwj3j.mjs +1 -0
  322. package/dist/chunks/{plugins-0.1.15-3rpwr86v.mjs → plugins-0.2.0-s45nc253.mjs} +2 -2
  323. package/dist/chunks/{print-0.1.15-64y2p7wj.mjs → print-0.2.0-e9ckvtwf.mjs} +4 -4
  324. package/dist/chunks/privacy-settings-0.2.0-e9qgq22a.mjs +1 -0
  325. package/dist/chunks/process-0.2.0-5q69t7tp.mjs +1 -0
  326. package/dist/chunks/processBashCommand-0.2.0-n1qzbvn8.mjs +1 -0
  327. package/dist/chunks/{processSlashCommand-0.1.15-mee2mbyy.mjs → processSlashCommand-0.2.0-phzfkm35.mjs} +1 -1
  328. package/dist/chunks/prompt-0.2.0-8tvc5hkt.mjs +1 -0
  329. package/dist/chunks/prompt-0.2.0-znq97v28.mjs +1 -0
  330. package/dist/chunks/prompts-0.2.0-43x4r8s1.mjs +1 -0
  331. package/dist/chunks/provider-0.2.0-hdw0f0gf.mjs +2 -0
  332. package/dist/chunks/providerProfiles-0.2.0-fxf0kwk5.mjs +1 -0
  333. package/dist/chunks/rate-limit-options-0.2.0-6gs96kga.mjs +1 -0
  334. package/dist/chunks/registry-0.2.0-qn6vn1a0.mjs +1 -0
  335. package/dist/chunks/release-notes-0.2.0-n7d001cj.mjs +5 -0
  336. package/dist/chunks/reload-plugins-0.2.0-z66hj6gv.mjs +2 -0
  337. package/dist/chunks/{remote-env-0.1.15-fd5z1adp.mjs → remote-env-0.2.0-tb94ty2j.mjs} +1 -1
  338. package/dist/chunks/remoteBridgeCore-0.2.0-tggkxmb3.mjs +1 -0
  339. package/dist/chunks/remoteSession-0.2.0-e5ph1zn5.mjs +1 -0
  340. package/dist/chunks/rename-0.2.0-1a2tr4rh.mjs +1 -0
  341. package/dist/chunks/replBridgeHandle-0.2.0-58503tj0.mjs +1 -0
  342. package/dist/chunks/resume-0.2.0-nbs1aptk.mjs +2 -0
  343. package/dist/chunks/rewind-0.2.0-9vcza7j6.mjs +1 -0
  344. package/dist/chunks/sandbox-adapter-0.2.0-rvjkxzab.mjs +1 -0
  345. package/dist/chunks/{sandbox-toggle-0.1.15-fn86ac4p.mjs → sandbox-toggle-0.2.0-0hc6gk75.mjs} +1 -1
  346. package/dist/chunks/session-0.2.0-2mjsp1sz.mjs +2 -0
  347. package/dist/chunks/sessionFileAccessHooks-0.2.0-mmvc7bkc.mjs +1 -0
  348. package/dist/chunks/sessionStorage-0.2.0-69fq3tpm.mjs +1 -0
  349. package/dist/chunks/setup-0.2.0-06edanfh.mjs +5 -0
  350. package/dist/chunks/sinks-0.2.0-wja94cem.mjs +1 -0
  351. package/dist/chunks/skills-0.2.0-3z33tjhh.mjs +1 -0
  352. package/dist/chunks/startupProfiler-0.2.0-rsbrxr2e.mjs +1 -0
  353. package/dist/chunks/state-0.2.0-cqgytazz.mjs +1 -0
  354. package/dist/chunks/{stats-0.1.15-3c4f5zp4.mjs → stats-0.2.0-916qgsak.mjs} +1 -1
  355. package/dist/chunks/status-0.2.0-qpr1a3ep.mjs +1 -0
  356. package/dist/chunks/stickers-0.2.0-s40586dt.mjs +1 -0
  357. package/dist/chunks/subprocessEnv-0.2.0-8kaz087n.mjs +1 -0
  358. package/dist/chunks/tasks-0.2.0-kyab838f.mjs +1 -0
  359. package/dist/chunks/teamHelpers-0.2.0-r08wn3az.mjs +1 -0
  360. package/dist/chunks/teammateModeSnapshot-0.2.0-ew1rr6e3.mjs +1 -0
  361. package/dist/chunks/teleport-0.2.0-m7dva816.mjs +1 -0
  362. package/dist/chunks/terminalSetup-0.2.0-28qz91bk.mjs +1 -0
  363. package/dist/chunks/theme-0.2.0-t6hf3219.mjs +1 -0
  364. package/dist/chunks/thinkback-0.2.0-s3ggf62w.mjs +1 -0
  365. package/dist/chunks/thinkback-play-0.2.0-bh4h025z.mjs +1 -0
  366. package/dist/chunks/toolPool-0.2.0-cb20byyb.mjs +1 -0
  367. package/dist/chunks/toolSearch-0.2.0-2b8zp823.mjs +1 -0
  368. package/dist/chunks/trustedDevice-0.2.0-bm94scqy.mjs +1 -0
  369. package/dist/chunks/{turndown.cjs-0.1.15-pmxpe7z8.mjs → turndown.cjs-0.2.0-deg6aa1p.mjs} +1 -1
  370. package/dist/chunks/{ultrareviewCommand-0.1.15-3gjgaeyn.mjs → ultrareviewCommand-0.2.0-zw0s8h8q.mjs} +1 -1
  371. package/dist/chunks/{update-0.1.15-jtd1h3e7.mjs → update-0.2.0-7s5194yn.mjs} +11 -11
  372. package/dist/chunks/upgrade-0.2.0-qwr6an4v.mjs +1 -0
  373. package/dist/chunks/{upstreamproxy-0.1.15-wtbs40ct.mjs → upstreamproxy-0.2.0-xm05d4w5.mjs} +1 -1
  374. package/dist/chunks/usage-0.2.0-mp3vm726.mjs +1 -0
  375. package/dist/chunks/util-0.2.0-dbnnzv2b.mjs +1 -0
  376. package/dist/chunks/utils-0.2.0-memk8639.mjs +1 -0
  377. package/dist/chunks/vim-0.2.0-twpbq41v.mjs +1 -0
  378. package/dist/chunks/watcher-0.2.0-cfz0cgxt.mjs +1 -0
  379. package/dist/chunks/{wiki-0.1.15-pp951r9h.mjs → wiki-0.2.0-v5sdh8vv.mjs} +1 -1
  380. package/dist/chunks/worktree-0.2.0-cgeqcbwb.mjs +1 -0
  381. package/dist/chunks/worktreeModeEnabled-0.2.0-hb1hv05w.mjs +1 -0
  382. package/dist/chunks/wrapper-0.2.0-661tvhay.mjs +7 -0
  383. package/dist/claudio-vscode.vsix +0 -0
  384. package/dist/cli.mjs +3 -3
  385. package/package.json +1 -1
  386. package/dist/chunks/AgentTool-0.1.15-aene6e12.mjs +0 -1
  387. package/dist/chunks/App-0.1.15-skbrajfh.mjs +0 -1
  388. package/dist/chunks/ApproveApiKey-0.1.15-zkd425a9.mjs +0 -1
  389. package/dist/chunks/AssistantSessionChooser-0.1.15-3wyrkte5.mjs +0 -1
  390. package/dist/chunks/AutoModeOptInDialog-0.1.15-xemnqw1q.mjs +0 -1
  391. package/dist/chunks/BypassPermissionsModeDialog-0.1.15-51n3nd6r.mjs +0 -1
  392. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.1.15-g407nd3p.mjs +0 -1
  393. package/dist/chunks/ConsoleOAuthFlow-0.1.15-80g71gdg.mjs +0 -1
  394. package/dist/chunks/Doctor-0.1.15-9x07ccn6.mjs +0 -1
  395. package/dist/chunks/Grove-0.1.15-jdcp80ev.mjs +0 -1
  396. package/dist/chunks/ITermBackend-0.1.15-ejm7gc8d.mjs +0 -1
  397. package/dist/chunks/InProcessTransport-0.1.15-p32k8qva.mjs +0 -1
  398. package/dist/chunks/InvalidConfigDialog-0.1.15-rctrbcsm.mjs +0 -1
  399. package/dist/chunks/InvalidSettingsDialog-0.1.15-bjsk3qxm.mjs +0 -1
  400. package/dist/chunks/MigrationDialog-0.1.15-6x3bjqw1.mjs +0 -1
  401. package/dist/chunks/Onboarding-0.1.15-pqx4v1wq.mjs +0 -1
  402. package/dist/chunks/ProviderManager-0.1.15-t8sezf1q.mjs +0 -1
  403. package/dist/chunks/REPL-0.1.15-6e0xrr9y.mjs +0 -1
  404. package/dist/chunks/ResumeConversation-0.1.15-fm1gvj49.mjs +0 -1
  405. package/dist/chunks/SnapshotUpdateDialog-0.1.15-t3evkrvq.mjs +0 -1
  406. package/dist/chunks/TeleportProgress-0.1.15-gad6kpfq.mjs +0 -1
  407. package/dist/chunks/TeleportRepoMismatchDialog-0.1.15-00rkfxqs.mjs +0 -1
  408. package/dist/chunks/TeleportResumeWrapper-0.1.15-bwv0syaw.mjs +0 -1
  409. package/dist/chunks/TmuxBackend-0.1.15-0d8n5p59.mjs +0 -9
  410. package/dist/chunks/ToolSearchTool-0.1.15-1cemq4m9.mjs +0 -1
  411. package/dist/chunks/TrustDialog-0.1.15-srz2xcqx.mjs +0 -1
  412. package/dist/chunks/activeProvider-0.1.15-1fp1bec5.mjs +0 -1
  413. package/dist/chunks/add-dir-0.1.15-qj517xx8.mjs +0 -1
  414. package/dist/chunks/agents-0.1.15-vkekdkan.mjs +0 -3
  415. package/dist/chunks/agents-0.1.15-x18jhwwk.mjs +0 -111
  416. package/dist/chunks/api-0.1.15-jq17qdd8.mjs +0 -1
  417. package/dist/chunks/asciicast-0.1.15-4t4tanfk.mjs +0 -1
  418. package/dist/chunks/assistant-0.1.15-9fhfbk14.mjs +0 -1
  419. package/dist/chunks/auth-0.1.15-ddyv63ax.mjs +0 -1
  420. package/dist/chunks/auth-0.1.15-x6bxj6d1.mjs +0 -1
  421. package/dist/chunks/backgroundHousekeeping-0.1.15-sbv1p8kj.mjs +0 -1
  422. package/dist/chunks/branch-0.1.15-cqq1x0cj.mjs +0 -4
  423. package/dist/chunks/bridgePointer-0.1.15-p6kq1zz7.mjs +0 -1
  424. package/dist/chunks/cacache-0.1.15-tj6nes3h.mjs +0 -1
  425. package/dist/chunks/caches-0.1.15-tynjvd5a.mjs +0 -1
  426. package/dist/chunks/claudeDesktop-0.1.15-rxtx8hbf.mjs +0 -1
  427. package/dist/chunks/claudemd-0.1.15-s942v7vd.mjs +0 -1
  428. package/dist/chunks/clear-0.1.15-2tqn4fj6.mjs +0 -1
  429. package/dist/chunks/clearTerminal-0.1.15-qycj6c0p.mjs +0 -1
  430. package/dist/chunks/cli-0.1.15-0a38j3t8.mjs +0 -2
  431. package/dist/chunks/cli-0.1.15-0g0abv7y.mjs +0 -2
  432. package/dist/chunks/cli-0.1.15-11sdbfxy.mjs +0 -4
  433. package/dist/chunks/cli-0.1.15-12azgmva.mjs +0 -2
  434. package/dist/chunks/cli-0.1.15-1hxkpjgs.mjs +0 -2
  435. package/dist/chunks/cli-0.1.15-1kmf57b0.mjs +0 -2
  436. package/dist/chunks/cli-0.1.15-1nkkhw5c.mjs +0 -2
  437. package/dist/chunks/cli-0.1.15-216kns0c.mjs +0 -2
  438. package/dist/chunks/cli-0.1.15-229xqnrp.mjs +0 -2
  439. package/dist/chunks/cli-0.1.15-2ccapgj1.mjs +0 -2
  440. package/dist/chunks/cli-0.1.15-2h647znt.mjs +0 -2
  441. package/dist/chunks/cli-0.1.15-2te4sfkh.mjs +0 -2
  442. package/dist/chunks/cli-0.1.15-30tz5ck8.mjs +0 -2
  443. package/dist/chunks/cli-0.1.15-36pxgzf6.mjs +0 -2
  444. package/dist/chunks/cli-0.1.15-3jz926ax.mjs +0 -2
  445. package/dist/chunks/cli-0.1.15-3qwnw3ca.mjs +0 -2
  446. package/dist/chunks/cli-0.1.15-3rcdvk7c.mjs +0 -2
  447. package/dist/chunks/cli-0.1.15-3z0tzzs8.mjs +0 -2
  448. package/dist/chunks/cli-0.1.15-4hnhxg2w.mjs +0 -2
  449. package/dist/chunks/cli-0.1.15-4hzd3m6p.mjs +0 -2
  450. package/dist/chunks/cli-0.1.15-4y7051f2.mjs +0 -2
  451. package/dist/chunks/cli-0.1.15-5g0zxgxn.mjs +0 -2
  452. package/dist/chunks/cli-0.1.15-5qx5p8cd.mjs +0 -2
  453. package/dist/chunks/cli-0.1.15-5tz7z79g.mjs +0 -2
  454. package/dist/chunks/cli-0.1.15-69kq5chw.mjs +0 -2
  455. package/dist/chunks/cli-0.1.15-6mad0r56.mjs +0 -2
  456. package/dist/chunks/cli-0.1.15-6r12ayea.mjs +0 -2
  457. package/dist/chunks/cli-0.1.15-6r630k68.mjs +0 -9
  458. package/dist/chunks/cli-0.1.15-77346q11.mjs +0 -7
  459. package/dist/chunks/cli-0.1.15-7myqm617.mjs +0 -2
  460. package/dist/chunks/cli-0.1.15-7rr53z40.mjs +0 -2
  461. package/dist/chunks/cli-0.1.15-82r3zgmq.mjs +0 -3
  462. package/dist/chunks/cli-0.1.15-8k69z9kk.mjs +0 -2
  463. package/dist/chunks/cli-0.1.15-8v8bskr0.mjs +0 -2
  464. package/dist/chunks/cli-0.1.15-90ye3yqx.mjs +0 -2
  465. package/dist/chunks/cli-0.1.15-99wmm9j7.mjs +0 -2
  466. package/dist/chunks/cli-0.1.15-9m2znwvb.mjs +0 -4
  467. package/dist/chunks/cli-0.1.15-9pe3dbgs.mjs +0 -2
  468. package/dist/chunks/cli-0.1.15-9w140hjt.mjs +0 -2
  469. package/dist/chunks/cli-0.1.15-a10ekh15.mjs +0 -2
  470. package/dist/chunks/cli-0.1.15-a8kgfrkd.mjs +0 -2
  471. package/dist/chunks/cli-0.1.15-acdm8b28.mjs +0 -17
  472. package/dist/chunks/cli-0.1.15-ajg1d1bh.mjs +0 -2
  473. package/dist/chunks/cli-0.1.15-asts8hm3.mjs +0 -2
  474. package/dist/chunks/cli-0.1.15-b1t6c81s.mjs +0 -2
  475. package/dist/chunks/cli-0.1.15-b21k5hzy.mjs +0 -2
  476. package/dist/chunks/cli-0.1.15-b6gdqjbg.mjs +0 -2
  477. package/dist/chunks/cli-0.1.15-b7f6hacc.mjs +0 -2
  478. package/dist/chunks/cli-0.1.15-be4mz6ka.mjs +0 -2
  479. package/dist/chunks/cli-0.1.15-behp1dag.mjs +0 -2
  480. package/dist/chunks/cli-0.1.15-bfd337b0.mjs +0 -2
  481. package/dist/chunks/cli-0.1.15-bpcmpy8b.mjs +0 -2
  482. package/dist/chunks/cli-0.1.15-bz57rf9t.mjs +0 -2
  483. package/dist/chunks/cli-0.1.15-cbseyggr.mjs +0 -2
  484. package/dist/chunks/cli-0.1.15-cenwnwnx.mjs +0 -2
  485. package/dist/chunks/cli-0.1.15-cf4s92e9.mjs +0 -2
  486. package/dist/chunks/cli-0.1.15-cqzrzsh5.mjs +0 -5
  487. package/dist/chunks/cli-0.1.15-cyq0gbzk.mjs +0 -2
  488. package/dist/chunks/cli-0.1.15-dcabmk2v.mjs +0 -2
  489. package/dist/chunks/cli-0.1.15-dcxa8b6s.mjs +0 -2
  490. package/dist/chunks/cli-0.1.15-dq954y1q.mjs +0 -2
  491. package/dist/chunks/cli-0.1.15-dqkhbs67.mjs +0 -2
  492. package/dist/chunks/cli-0.1.15-e494j2sj.mjs +0 -4
  493. package/dist/chunks/cli-0.1.15-e64w5wan.mjs +0 -5
  494. package/dist/chunks/cli-0.1.15-e70ktyft.mjs +0 -2
  495. package/dist/chunks/cli-0.1.15-em40knm7.mjs +0 -4
  496. package/dist/chunks/cli-0.1.15-en9ppdbd.mjs +0 -2
  497. package/dist/chunks/cli-0.1.15-f838g4vw.mjs +0 -2
  498. package/dist/chunks/cli-0.1.15-f8abjagh.mjs +0 -2
  499. package/dist/chunks/cli-0.1.15-fe92jeft.mjs +0 -2
  500. package/dist/chunks/cli-0.1.15-fmnyh9j9.mjs +0 -6
  501. package/dist/chunks/cli-0.1.15-fr83vs1y.mjs +0 -2
  502. package/dist/chunks/cli-0.1.15-ft6xtjsa.mjs +0 -2
  503. package/dist/chunks/cli-0.1.15-g5wt8d3g.mjs +0 -2
  504. package/dist/chunks/cli-0.1.15-ghvjjc4g.mjs +0 -2
  505. package/dist/chunks/cli-0.1.15-gn4wnxx3.mjs +0 -2
  506. package/dist/chunks/cli-0.1.15-gqf82qvm.mjs +0 -2
  507. package/dist/chunks/cli-0.1.15-gqp8kzp0.mjs +0 -2
  508. package/dist/chunks/cli-0.1.15-gtn9gx9w.mjs +0 -2
  509. package/dist/chunks/cli-0.1.15-gwbebdj7.mjs +0 -2
  510. package/dist/chunks/cli-0.1.15-gxgy4enj.mjs +0 -2
  511. package/dist/chunks/cli-0.1.15-h3a2cbdb.mjs +0 -2
  512. package/dist/chunks/cli-0.1.15-h4erh2cn.mjs +0 -2
  513. package/dist/chunks/cli-0.1.15-h7cb0pw7.mjs +0 -2
  514. package/dist/chunks/cli-0.1.15-hyydz4kc.mjs +0 -12
  515. package/dist/chunks/cli-0.1.15-j5m3s9r5.mjs +0 -2
  516. package/dist/chunks/cli-0.1.15-k0bn0cze.mjs +0 -2
  517. package/dist/chunks/cli-0.1.15-knpxv22b.mjs +0 -2
  518. package/dist/chunks/cli-0.1.15-ks9rz9tk.mjs +0 -5
  519. package/dist/chunks/cli-0.1.15-kw7che8m.mjs +0 -2
  520. package/dist/chunks/cli-0.1.15-m7gtc61y.mjs +0 -2
  521. package/dist/chunks/cli-0.1.15-my0y22r7.mjs +0 -6
  522. package/dist/chunks/cli-0.1.15-n97y4hq4.mjs +0 -2
  523. package/dist/chunks/cli-0.1.15-nejf7yqz.mjs +0 -2
  524. package/dist/chunks/cli-0.1.15-njg0k6ga.mjs +0 -2
  525. package/dist/chunks/cli-0.1.15-nts79xbr.mjs +0 -2
  526. package/dist/chunks/cli-0.1.15-nw94frpp.mjs +0 -2
  527. package/dist/chunks/cli-0.1.15-nx5v1cvm.mjs +0 -2
  528. package/dist/chunks/cli-0.1.15-p159ga3t.mjs +0 -2
  529. package/dist/chunks/cli-0.1.15-p47rrzrn.mjs +0 -2
  530. package/dist/chunks/cli-0.1.15-p5ty029c.mjs +0 -2
  531. package/dist/chunks/cli-0.1.15-pcqjreq6.mjs +0 -2
  532. package/dist/chunks/cli-0.1.15-pxf97j8y.mjs +0 -2
  533. package/dist/chunks/cli-0.1.15-pya8tbx3.mjs +0 -2
  534. package/dist/chunks/cli-0.1.15-q021qg07.mjs +0 -2
  535. package/dist/chunks/cli-0.1.15-q35rzjnz.mjs +0 -16
  536. package/dist/chunks/cli-0.1.15-qhz07at6.mjs +0 -2
  537. package/dist/chunks/cli-0.1.15-r626437v.mjs +0 -2
  538. package/dist/chunks/cli-0.1.15-r8qzzahw.mjs +0 -2
  539. package/dist/chunks/cli-0.1.15-r9nrfwrq.mjs +0 -2
  540. package/dist/chunks/cli-0.1.15-rr65b3dk.mjs +0 -2
  541. package/dist/chunks/cli-0.1.15-rs5swvy0.mjs +0 -4
  542. package/dist/chunks/cli-0.1.15-rwx8446j.mjs +0 -2
  543. package/dist/chunks/cli-0.1.15-s7trme0x.mjs +0 -2
  544. package/dist/chunks/cli-0.1.15-sct02cw6.mjs +0 -5
  545. package/dist/chunks/cli-0.1.15-sd5jysf2.mjs +0 -2
  546. package/dist/chunks/cli-0.1.15-sg3n1v0w.mjs +0 -2
  547. package/dist/chunks/cli-0.1.15-svhrqvzp.mjs +0 -3
  548. package/dist/chunks/cli-0.1.15-tj4kzvth.mjs +0 -2
  549. package/dist/chunks/cli-0.1.15-tn4214gj.mjs +0 -2
  550. package/dist/chunks/cli-0.1.15-tp614m5f.mjs +0 -2
  551. package/dist/chunks/cli-0.1.15-twq0mjmr.mjs +0 -2
  552. package/dist/chunks/cli-0.1.15-v8zwx5j6.mjs +0 -3
  553. package/dist/chunks/cli-0.1.15-vzk22hwe.mjs +0 -2
  554. package/dist/chunks/cli-0.1.15-w8q8f37x.mjs +0 -2
  555. package/dist/chunks/cli-0.1.15-wfn10357.mjs +0 -2
  556. package/dist/chunks/cli-0.1.15-wmwtv0tz.mjs +0 -2
  557. package/dist/chunks/cli-0.1.15-wn40n534.mjs +0 -2
  558. package/dist/chunks/cli-0.1.15-x3yhaxm9.mjs +0 -2
  559. package/dist/chunks/cli-0.1.15-xery8c8c.mjs +0 -2
  560. package/dist/chunks/cli-0.1.15-y2pbhx6p.mjs +0 -2
  561. package/dist/chunks/cli-0.1.15-y6fkcbes.mjs +0 -2
  562. package/dist/chunks/cli-0.1.15-y7xkk5ds.mjs +0 -2
  563. package/dist/chunks/cli-0.1.15-yghcqf7h.mjs +0 -2
  564. package/dist/chunks/cli-0.1.15-yjxhk7qj.mjs +0 -2
  565. package/dist/chunks/cli-0.1.15-ywed2hpz.mjs +0 -2
  566. package/dist/chunks/cli-0.1.15-yxm6wwfz.mjs +0 -2
  567. package/dist/chunks/cli-0.1.15-yym7bka2.mjs +0 -2
  568. package/dist/chunks/cli-0.1.15-z2yexprk.mjs +0 -4
  569. package/dist/chunks/cli-0.1.15-z35x5bfj.mjs +0 -2
  570. package/dist/chunks/cli-0.1.15-zf1s8y92.mjs +0 -2
  571. package/dist/chunks/cli-0.1.15-ztxn2vjm.mjs +0 -2
  572. package/dist/chunks/client-0.1.15-pbb4218v.mjs +0 -1
  573. package/dist/chunks/color-0.1.15-w9tvjt51.mjs +0 -1
  574. package/dist/chunks/compact-0.1.15-2a2eywaz.mjs +0 -3
  575. package/dist/chunks/config-0.1.15-m4gwmfb1.mjs +0 -1
  576. package/dist/chunks/config-0.1.15-r15yk3zr.mjs +0 -1
  577. package/dist/chunks/context-noninteractive-0.1.15-wwa3qz84.mjs +0 -1
  578. package/dist/chunks/conversation-0.1.15-n1bn5vmb.mjs +0 -1
  579. package/dist/chunks/cost-0.1.15-garxyfxy.mjs +0 -1
  580. package/dist/chunks/createSession-0.1.15-krz8fv09.mjs +0 -1
  581. package/dist/chunks/desktop-0.1.15-j0znhh3a.mjs +0 -1
  582. package/dist/chunks/detectRepository-0.1.15-f34tbbq5.mjs +0 -1
  583. package/dist/chunks/detection-0.1.15-qfkk58tf.mjs +0 -1
  584. package/dist/chunks/diff-0.1.15-gc5686z3.mjs +0 -1
  585. package/dist/chunks/doctor-0.1.15-hhtv9s33.mjs +0 -1
  586. package/dist/chunks/earlyInput-0.1.15-ftgt9y2w.mjs +0 -1
  587. package/dist/chunks/environmentSelection-0.1.15-59904m5c.mjs +0 -1
  588. package/dist/chunks/environments-0.1.15-fn4ybjrt.mjs +0 -1
  589. package/dist/chunks/exit-0.1.15-qxj6czd5.mjs +0 -1
  590. package/dist/chunks/export-0.1.15-h5n9s624.mjs +0 -2
  591. package/dist/chunks/extra-usage-0.1.15-4a6e6rsa.mjs +0 -1
  592. package/dist/chunks/extra-usage-noninteractive-0.1.15-rgqd9ef7.mjs +0 -1
  593. package/dist/chunks/fast-0.1.15-98jhvjxk.mjs +0 -1
  594. package/dist/chunks/feedback-0.1.15-pqe68x4v.mjs +0 -14
  595. package/dist/chunks/firstPartyEventLogger-0.1.15-pss0293k.mjs +0 -1
  596. package/dist/chunks/git-0.1.15-002t17pq.mjs +0 -1
  597. package/dist/chunks/githubModelsCredentials-0.1.15-2a6dqqse.mjs +0 -1
  598. package/dist/chunks/growthbook-0.1.15-m7gdvgqa.mjs +0 -1
  599. package/dist/chunks/heapdump-0.1.15-s8h9rwpe.mjs +0 -6
  600. package/dist/chunks/help-0.1.15-y48dg88b.mjs +0 -1
  601. package/dist/chunks/hookChains-0.1.15-z46c2xkf.mjs +0 -3
  602. package/dist/chunks/hooks-0.1.15-vanat6cg.mjs +0 -1
  603. package/dist/chunks/image-processor-napi-0.1.15-5w5sybn1.mjs +0 -1
  604. package/dist/chunks/index-0.1.15-0z186jwx.mjs +0 -1
  605. package/dist/chunks/index-0.1.15-136649ke.mjs +0 -1
  606. package/dist/chunks/index-0.1.15-1r19582s.mjs +0 -1
  607. package/dist/chunks/index-0.1.15-3jxezstk.mjs +0 -1
  608. package/dist/chunks/index-0.1.15-52zxtxf2.mjs +0 -1
  609. package/dist/chunks/index-0.1.15-628tag5v.mjs +0 -1
  610. package/dist/chunks/index-0.1.15-7cp4n6z6.mjs +0 -1
  611. package/dist/chunks/index-0.1.15-832xm57n.mjs +0 -1
  612. package/dist/chunks/index-0.1.15-abzge0fa.mjs +0 -1
  613. package/dist/chunks/index-0.1.15-b9sdtjj4.mjs +0 -9
  614. package/dist/chunks/index-0.1.15-bvr8e4dt.mjs +0 -1
  615. package/dist/chunks/index-0.1.15-d4ea93sj.mjs +0 -9
  616. package/dist/chunks/index-0.1.15-n2q4dkvc.mjs +0 -1
  617. package/dist/chunks/index-0.1.15-nzmg6zng.mjs +0 -1
  618. package/dist/chunks/index-0.1.15-r9ck21mp.mjs +0 -1
  619. package/dist/chunks/index-0.1.15-rb4nqzzk.mjs +0 -1
  620. package/dist/chunks/index-0.1.15-x8ghxne4.mjs +0 -2
  621. package/dist/chunks/index-0.1.15-z3k5tm3n.mjs +0 -1
  622. package/dist/chunks/initReplBridge-0.1.15-g7q1qemf.mjs +0 -1
  623. package/dist/chunks/ink-0.1.15-rd56fvsx.mjs +0 -1
  624. package/dist/chunks/install-0.1.15-z6a6aa3t.mjs +0 -1
  625. package/dist/chunks/install-slack-app-0.1.15-2yhy3kwz.mjs +0 -1
  626. package/dist/chunks/interactiveHelpers-0.1.15-z5nx1rw2.mjs +0 -1
  627. package/dist/chunks/keybindings-0.1.15-cxmw2kd4.mjs +0 -2
  628. package/dist/chunks/knowledge-0.1.15-2bnycc4a.mjs +0 -2
  629. package/dist/chunks/loadAgentsDir-0.1.15-e4ms71xe.mjs +0 -1
  630. package/dist/chunks/loadPluginHooks-0.1.15-rcg3267j.mjs +0 -1
  631. package/dist/chunks/lsp-0.1.15-veqrp99h.mjs +0 -1
  632. package/dist/chunks/main-0.1.15-bfvfcwwj.mjs +0 -1
  633. package/dist/chunks/managedEnv-0.1.15-1mxydytg.mjs +0 -1
  634. package/dist/chunks/mcp-0.1.15-rfy9pyrt.mjs +0 -1
  635. package/dist/chunks/mcp-0.1.15-zc7h2fyj.mjs +0 -4
  636. package/dist/chunks/mcpServer-0.1.15-t7dsptwh.mjs +0 -1
  637. package/dist/chunks/mcpb-0.1.15-5mam984d.mjs +0 -1
  638. package/dist/chunks/memory-0.1.15-b6zkcs44.mjs +0 -3
  639. package/dist/chunks/model-0.1.15-843f7654.mjs +0 -1
  640. package/dist/chunks/model-0.1.15-e62wxf7h.mjs +0 -2
  641. package/dist/chunks/oauth-0.1.15-gxgmqwwx.mjs +0 -1
  642. package/dist/chunks/output-style-0.1.15-d20e4vc3.mjs +0 -1
  643. package/dist/chunks/package-WSP46L7M-0.1.15-jsqef57n.mjs +0 -1
  644. package/dist/chunks/parser-0.1.15-wbja947p.mjs +0 -1
  645. package/dist/chunks/passes-0.1.15-726y1cyq.mjs +0 -1
  646. package/dist/chunks/permissions-0.1.15-4pqgyt4h.mjs +0 -3
  647. package/dist/chunks/plan-0.1.15-p06bpb7x.mjs +0 -1
  648. package/dist/chunks/plist-0.1.15-fseac2c0.mjs +0 -1
  649. package/dist/chunks/plugin-0.1.15-yeqq1san.mjs +0 -29
  650. package/dist/chunks/pluginStartupCheck-0.1.15-s9v7kq6q.mjs +0 -1
  651. package/dist/chunks/privacy-settings-0.1.15-rq35tcyk.mjs +0 -1
  652. package/dist/chunks/process-0.1.15-g6km3z8k.mjs +0 -1
  653. package/dist/chunks/processBashCommand-0.1.15-57ga0c30.mjs +0 -1
  654. package/dist/chunks/prompt-0.1.15-gm20yk5m.mjs +0 -1
  655. package/dist/chunks/prompt-0.1.15-gxjy2vnc.mjs +0 -1
  656. package/dist/chunks/prompts-0.1.15-v7p366n5.mjs +0 -1
  657. package/dist/chunks/provider-0.1.15-gz0fhpp7.mjs +0 -2
  658. package/dist/chunks/providerProfiles-0.1.15-v7p3m9kf.mjs +0 -1
  659. package/dist/chunks/rate-limit-options-0.1.15-3vs25v7e.mjs +0 -1
  660. package/dist/chunks/registry-0.1.15-3h7bxrc2.mjs +0 -1
  661. package/dist/chunks/release-notes-0.1.15-1g908440.mjs +0 -5
  662. package/dist/chunks/reload-plugins-0.1.15-5r2acf43.mjs +0 -2
  663. package/dist/chunks/remoteBridgeCore-0.1.15-kbthngek.mjs +0 -1
  664. package/dist/chunks/remoteSession-0.1.15-yrg8c3z1.mjs +0 -1
  665. package/dist/chunks/rename-0.1.15-8079z5ff.mjs +0 -1
  666. package/dist/chunks/replBridgeHandle-0.1.15-cz1pf5m3.mjs +0 -1
  667. package/dist/chunks/resume-0.1.15-s4hv4t9y.mjs +0 -2
  668. package/dist/chunks/rewind-0.1.15-fevxgefp.mjs +0 -1
  669. package/dist/chunks/sandbox-adapter-0.1.15-yra7frkv.mjs +0 -1
  670. package/dist/chunks/session-0.1.15-crg226x4.mjs +0 -2
  671. package/dist/chunks/sessionFileAccessHooks-0.1.15-f3kpf3s7.mjs +0 -1
  672. package/dist/chunks/sessionStorage-0.1.15-x0gw4hbz.mjs +0 -1
  673. package/dist/chunks/setup-0.1.15-6znmc2q6.mjs +0 -5
  674. package/dist/chunks/sinks-0.1.15-npqf68gv.mjs +0 -1
  675. package/dist/chunks/skills-0.1.15-sybv0v2p.mjs +0 -1
  676. package/dist/chunks/startupProfiler-0.1.15-nwkwwtx6.mjs +0 -1
  677. package/dist/chunks/state-0.1.15-rr5k0vbf.mjs +0 -1
  678. package/dist/chunks/status-0.1.15-cvscafrs.mjs +0 -1
  679. package/dist/chunks/stickers-0.1.15-ee8ptkd4.mjs +0 -1
  680. package/dist/chunks/subprocessEnv-0.1.15-330g0p7g.mjs +0 -1
  681. package/dist/chunks/tasks-0.1.15-a4y42df2.mjs +0 -1
  682. package/dist/chunks/teamHelpers-0.1.15-gw6hwmyj.mjs +0 -1
  683. package/dist/chunks/teammateModeSnapshot-0.1.15-t2czx776.mjs +0 -1
  684. package/dist/chunks/teleport-0.1.15-bg434zjk.mjs +0 -1
  685. package/dist/chunks/terminalSetup-0.1.15-ged9eavp.mjs +0 -1
  686. package/dist/chunks/theme-0.1.15-zq998m8x.mjs +0 -1
  687. package/dist/chunks/thinkback-0.1.15-g09k62ck.mjs +0 -1
  688. package/dist/chunks/thinkback-play-0.1.15-mn7j6mm2.mjs +0 -1
  689. package/dist/chunks/toolPool-0.1.15-wej7eaff.mjs +0 -1
  690. package/dist/chunks/toolSearch-0.1.15-v6zmdk1y.mjs +0 -1
  691. package/dist/chunks/trustedDevice-0.1.15-t9sax8yq.mjs +0 -1
  692. package/dist/chunks/upgrade-0.1.15-07pcdyyq.mjs +0 -1
  693. package/dist/chunks/usage-0.1.15-ayne7pw6.mjs +0 -1
  694. package/dist/chunks/util-0.1.15-vs1eanbw.mjs +0 -1
  695. package/dist/chunks/utils-0.1.15-aq7vgwy1.mjs +0 -1
  696. package/dist/chunks/vim-0.1.15-syferjfa.mjs +0 -1
  697. package/dist/chunks/watcher-0.1.15-bh7ych8a.mjs +0 -1
  698. package/dist/chunks/worktree-0.1.15-twyfdw3p.mjs +0 -1
  699. package/dist/chunks/worktreeModeEnabled-0.1.15-afv7sbw1.mjs +0 -1
  700. package/dist/chunks/wrapper-0.1.15-dw3awx2b.mjs +0 -7
  701. /package/dist/chunks/{cli-0.1.15-7mfwj2xs.mjs → cli-0.2.0-4tn02vgd.mjs} +0 -0
  702. /package/dist/chunks/{cli-0.1.15-7ve9h395.mjs → cli-0.2.0-50cf7d1p.mjs} +0 -0
  703. /package/dist/chunks/{cli-0.1.15-p6bypqrv.mjs → cli-0.2.0-dgenwca0.mjs} +0 -0
  704. /package/dist/chunks/{cli-0.1.15-618hqv9f.mjs → cli-0.2.0-rnpcefe5.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import{Afa as y8,Dfa as W7,Nfa as o$}from"./cli-0.1.15-9pe3dbgs.mjs";import{Qfa as f8,Tfa as a$}from"./cli-0.1.15-tj4kzvth.mjs";import{mla as P8,vha as R8}from"./cli-0.1.15-12azgmva.mjs";import{Lla as s,Mla as j8}from"./cli-0.1.15-p5ty029c.mjs";import{bma as w,dma as A,ema as D}from"./cli-0.1.15-mhbfhhf6.mjs";function w7(X){return Z6.add(X),()=>Z6.delete(X)}async function U1(){await Promise.all(Array.from(Z6).map((X)=>X()))}var Z6;var U7=w(()=>{Z6=new Set});function i(X){return typeof X==="object"&&X!==null&&(("name"in X)&&X.name==="AbortError"||("message"in X)&&String(X.message).includes("FetchRequestCanceledException"))}var RX=(X)=>{if(X instanceof Error)return X;if(typeof X==="object"&&X!==null){try{if(Object.prototype.toString.call(X)==="[object Error]"){let Z=Error(X.message,X.cause?{cause:X.cause}:{});if(X.stack)Z.stack=X.stack;if(X.cause&&!Z.cause)Z.cause=X.cause;if(X.name)Z.name=X.name;return Z}}catch{}try{return Error(JSON.stringify(X))}catch{}}return Error(X)};var CX=()=>{};var N,F,S,WX,PX,yX,_X,fX,bX,hX,vX,gX,cX;var R=w(()=>{CX();N=class N extends Error{};F=class F extends N{constructor(X,Z,$,Y,J){super(`${F.makeMessage(X,Z,$)}`);this.status=X,this.headers=Y,this.requestID=Y?.get("request-id"),this.error=Z,this.type=J??null}static makeMessage(X,Z,$){let Y=Z?.message?typeof Z.message==="string"?Z.message:JSON.stringify(Z.message):Z?JSON.stringify(Z):$;if(X&&Y)return`${X} ${Y}`;if(X)return`${X} status code (no body)`;if(Y)return Y;return"(no status code or body)"}static generate(X,Z,$,Y){if(!X||!Y)return new WX({message:$,cause:RX(Z)});let J=Z,K=J?.error?.type;if(X===400)return new yX(X,J,$,Y,K);if(X===401)return new _X(X,J,$,Y,K);if(X===403)return new fX(X,J,$,Y,K);if(X===404)return new bX(X,J,$,Y,K);if(X===409)return new hX(X,J,$,Y,K);if(X===422)return new vX(X,J,$,Y,K);if(X===429)return new gX(X,J,$,Y,K);if(X>=500)return new cX(X,J,$,Y,K);return new F(X,J,$,Y,K)}};S=class S extends F{constructor({message:X}={}){super(void 0,void 0,X||"Request was aborted.",void 0)}};WX=class WX extends F{constructor({message:X,cause:Z}){super(void 0,void 0,X||"Connection error.",void 0);if(Z)this.cause=Z}};PX=class PX extends WX{constructor({message:X}={}){super({message:X??"Request timed out."})}};yX=class yX extends F{};_X=class _X extends F{};fX=class fX extends F{};bX=class bX extends F{};hX=class hX extends F{};vX=class vX extends F{};gX=class gX extends F{};cX=class cX extends F{}});function G(X,Z,$,Y,J){if(Y==="m")throw TypeError("Private method is not writable");if(Y==="a"&&!J)throw TypeError("Private accessor was defined without a setter");if(typeof Z==="function"?X!==Z||!J:!Z.has(X))throw TypeError("Cannot write private member to an object whose class did not declare it");return Y==="a"?J.call(X,$):J?J.value=$:Z.set(X,$),$}function V(X,Z,$,Y){if($==="a"&&!Y)throw TypeError("Private accessor was defined without a getter");if(typeof Z==="function"?X!==Z||!Y:!Z.has(X))throw TypeError("Cannot read private member from an object whose class did not declare it");return $==="m"?Y:$==="a"?Y.call(X):Y?Y.value:Z.get(X)}var n=()=>{};var $6=function(){let{crypto:X}=globalThis;if(X?.randomUUID)return $6=X.randomUUID.bind(X),X.randomUUID();let Z=new Uint8Array(1),$=X?()=>X.getRandomValues(Z)[0]:()=>Math.random()*255&255;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(Y)=>(+Y^$()&15>>+Y/4).toString(16))};var q7=()=>{};function EZ(X){if(typeof X!=="object")return{};return X??{}}function K6(X){if(!X)return!0;for(let Z in X)return!1;return!0}function H7(X,Z){return Object.prototype.hasOwnProperty.call(X,Z)}var i8,C7=(X)=>{return i8.test(X)},Y6=(X)=>(Y6=Array.isArray,Y6(X)),J6,x7=(X,Z)=>{if(typeof Z!=="number"||!Number.isInteger(Z))throw new N(`${X} must be an integer`);if(Z<0)throw new N(`${X} must be a positive integer`);return Z},jZ=(X)=>{try{return JSON.parse(X)}catch(Z){return}};var VX=w(()=>{R();i8=/^[a-z][a-z0-9+.-]*:/i,J6=Y6});var O7=(X)=>new Promise((Z)=>setTimeout(Z,X));var M7=()=>{};var e="0.81.0";var W6=()=>{};function n8(){if(typeof Deno<"u"&&Deno.build!=null)return"deno";if(typeof EdgeRuntime<"u")return"edge";if(Object.prototype.toString.call(typeof globalThis.process<"u"?globalThis.process:0)==="[object process]")return"node";return"unknown"}function a8(){if(typeof navigator>"u"||!navigator)return null;let X=[{key:"edge",pattern:/Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"chrome",pattern:/Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"firefox",pattern:/Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"safari",pattern:/(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/}];for(let{key:Z,pattern:$}of X){let Y=$.exec(navigator.userAgent);if(Y){let J=Y[1]||0,K=Y[2]||0,W=Y[3]||0;return{browser:Z,version:`${J}.${K}.${W}`}}}return null}var j7=()=>{return typeof window<"u"&&typeof window.document<"u"&&typeof navigator<"u"},o8=()=>{let X=n8();if(X==="deno")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":D7(Deno.build.os),"X-Stainless-Arch":A7(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":typeof Deno.version==="string"?Deno.version:Deno.version?.deno??"unknown"};if(typeof EdgeRuntime<"u")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":globalThis.process.version};if(X==="node")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":D7(globalThis.process.platform??"unknown"),"X-Stainless-Arch":A7(globalThis.process.arch??"unknown"),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":globalThis.process.version??"unknown"};let Z=a8();if(Z)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":`browser:${Z.browser}`,"X-Stainless-Runtime-Version":Z.version};return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":"unknown","X-Stainless-Runtime-Version":"unknown"}},A7=(X)=>{if(X==="x32")return"x32";if(X==="x86_64"||X==="x64")return"x64";if(X==="arm")return"arm";if(X==="aarch64"||X==="arm64")return"arm64";if(X)return`other:${X}`;return"unknown"},D7=(X)=>{if(X=X.toLowerCase(),X.includes("ios"))return"iOS";if(X==="android")return"Android";if(X==="darwin")return"MacOS";if(X==="win32")return"Windows";if(X==="freebsd")return"FreeBSD";if(X==="openbsd")return"OpenBSD";if(X==="linux")return"Linux";if(X)return`Other:${X}`;return"Unknown"},E7,T7=()=>{return E7??(E7=o8())};var V6=w(()=>{W6()});function I7(){if(typeof fetch<"u")return fetch;throw Error("`fetch` is not defined as a global; Either pass `fetch` to the client, `new Anthropic({ fetch })` or polyfill the global, `globalThis.fetch = fetch`")}function Q6(...X){let Z=globalThis.ReadableStream;if(typeof Z>"u")throw Error("`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`");return new Z(...X)}function TZ(X){let Z=Symbol.asyncIterator in X?X[Symbol.asyncIterator]():X[Symbol.iterator]();return Q6({start(){},async pull($){let{done:Y,value:J}=await Z.next();if(Y)$.close();else $.enqueue(J)},async cancel(){await Z.return?.()}})}function dX(X){if(X[Symbol.asyncIterator])return X;let Z=X.getReader();return{async next(){try{let $=await Z.read();if($?.done)Z.releaseLock();return $}catch($){throw Z.releaseLock(),$}},async return(){let $=Z.cancel();return Z.releaseLock(),await $,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}async function F7(X){if(X===null||typeof X!=="object")return;if(X[Symbol.asyncIterator]){await X[Symbol.asyncIterator]().return?.();return}let Z=X.getReader(),$=Z.cancel();Z.releaseLock(),await $}var HX=()=>{};var B7=({headers:X,body:Z})=>{return{bodyHeaders:{"content-type":"application/json"},body:JSON.stringify(Z)}};var S7=()=>{};function L7(X){return Object.entries(X).filter(([Z,$])=>typeof $<"u").map(([Z,$])=>{if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return`${encodeURIComponent(Z)}=${encodeURIComponent($)}`;if($===null)return`${encodeURIComponent(Z)}=`;throw new N(`Cannot stringify type ${typeof $}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}var k7=w(()=>{R()});function y7(X){let Z=0;for(let J of X)Z+=J.length;let $=new Uint8Array(Z),Y=0;for(let J of X)$.set(J,Y),Y+=J.length;return $}function mX(X){let Z;return(R7??(Z=new globalThis.TextEncoder,R7=Z.encode.bind(Z)))(X)}function z6(X){let Z;return(P7??(Z=new globalThis.TextDecoder,P7=Z.decode.bind(Z)))(X)}var R7,P7;var G6=()=>{};class XX{constructor(){P.set(this,void 0),y.set(this,void 0),G(this,P,new Uint8Array,"f"),G(this,y,null,"f")}decode(X){if(X==null)return[];let Z=X instanceof ArrayBuffer?new Uint8Array(X):typeof X==="string"?mX(X):X;G(this,P,y7([V(this,P,"f"),Z]),"f");let $=[],Y;while((Y=s8(V(this,P,"f"),V(this,y,"f")))!=null){if(Y.carriage&&V(this,y,"f")==null){G(this,y,Y.index,"f");continue}if(V(this,y,"f")!=null&&(Y.index!==V(this,y,"f")+1||Y.carriage)){$.push(z6(V(this,P,"f").subarray(0,V(this,y,"f")-1))),G(this,P,V(this,P,"f").subarray(V(this,y,"f")),"f"),G(this,y,null,"f");continue}let J=V(this,y,"f")!==null?Y.preceding-1:Y.preceding,K=z6(V(this,P,"f").subarray(0,J));$.push(K),G(this,P,V(this,P,"f").subarray(Y.index),"f"),G(this,y,null,"f")}return $}flush(){if(!V(this,P,"f").length)return[];return this.decode(`
1
+ import{Ffa as y8,Ifa as W7,Sfa as o$}from"./cli-0.2.0-xmf20rrm.mjs";import{Vfa as f8,Yfa as a$}from"./cli-0.2.0-q822fesk.mjs";import{Aha as R8,rla as P8}from"./cli-0.2.0-gmq4bxtp.mjs";import{Qla as s,Rla as j8}from"./cli-0.2.0-p46nxmgy.mjs";import{gma as w,ima as A,jma as D}from"./cli-0.2.0-b8hs09nv.mjs";function w7(X){return Z6.add(X),()=>Z6.delete(X)}async function U1(){await Promise.all(Array.from(Z6).map((X)=>X()))}var Z6;var U7=w(()=>{Z6=new Set});function i(X){return typeof X==="object"&&X!==null&&(("name"in X)&&X.name==="AbortError"||("message"in X)&&String(X.message).includes("FetchRequestCanceledException"))}var RX=(X)=>{if(X instanceof Error)return X;if(typeof X==="object"&&X!==null){try{if(Object.prototype.toString.call(X)==="[object Error]"){let Z=Error(X.message,X.cause?{cause:X.cause}:{});if(X.stack)Z.stack=X.stack;if(X.cause&&!Z.cause)Z.cause=X.cause;if(X.name)Z.name=X.name;return Z}}catch{}try{return Error(JSON.stringify(X))}catch{}}return Error(X)};var CX=()=>{};var N,F,S,WX,PX,yX,_X,fX,bX,hX,vX,gX,cX;var R=w(()=>{CX();N=class N extends Error{};F=class F extends N{constructor(X,Z,$,Y,J){super(`${F.makeMessage(X,Z,$)}`);this.status=X,this.headers=Y,this.requestID=Y?.get("request-id"),this.error=Z,this.type=J??null}static makeMessage(X,Z,$){let Y=Z?.message?typeof Z.message==="string"?Z.message:JSON.stringify(Z.message):Z?JSON.stringify(Z):$;if(X&&Y)return`${X} ${Y}`;if(X)return`${X} status code (no body)`;if(Y)return Y;return"(no status code or body)"}static generate(X,Z,$,Y){if(!X||!Y)return new WX({message:$,cause:RX(Z)});let J=Z,K=J?.error?.type;if(X===400)return new yX(X,J,$,Y,K);if(X===401)return new _X(X,J,$,Y,K);if(X===403)return new fX(X,J,$,Y,K);if(X===404)return new bX(X,J,$,Y,K);if(X===409)return new hX(X,J,$,Y,K);if(X===422)return new vX(X,J,$,Y,K);if(X===429)return new gX(X,J,$,Y,K);if(X>=500)return new cX(X,J,$,Y,K);return new F(X,J,$,Y,K)}};S=class S extends F{constructor({message:X}={}){super(void 0,void 0,X||"Request was aborted.",void 0)}};WX=class WX extends F{constructor({message:X,cause:Z}){super(void 0,void 0,X||"Connection error.",void 0);if(Z)this.cause=Z}};PX=class PX extends WX{constructor({message:X}={}){super({message:X??"Request timed out."})}};yX=class yX extends F{};_X=class _X extends F{};fX=class fX extends F{};bX=class bX extends F{};hX=class hX extends F{};vX=class vX extends F{};gX=class gX extends F{};cX=class cX extends F{}});function G(X,Z,$,Y,J){if(Y==="m")throw TypeError("Private method is not writable");if(Y==="a"&&!J)throw TypeError("Private accessor was defined without a setter");if(typeof Z==="function"?X!==Z||!J:!Z.has(X))throw TypeError("Cannot write private member to an object whose class did not declare it");return Y==="a"?J.call(X,$):J?J.value=$:Z.set(X,$),$}function V(X,Z,$,Y){if($==="a"&&!Y)throw TypeError("Private accessor was defined without a getter");if(typeof Z==="function"?X!==Z||!Y:!Z.has(X))throw TypeError("Cannot read private member from an object whose class did not declare it");return $==="m"?Y:$==="a"?Y.call(X):Y?Y.value:Z.get(X)}var n=()=>{};var $6=function(){let{crypto:X}=globalThis;if(X?.randomUUID)return $6=X.randomUUID.bind(X),X.randomUUID();let Z=new Uint8Array(1),$=X?()=>X.getRandomValues(Z)[0]:()=>Math.random()*255&255;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,(Y)=>(+Y^$()&15>>+Y/4).toString(16))};var q7=()=>{};function EZ(X){if(typeof X!=="object")return{};return X??{}}function K6(X){if(!X)return!0;for(let Z in X)return!1;return!0}function H7(X,Z){return Object.prototype.hasOwnProperty.call(X,Z)}var i8,C7=(X)=>{return i8.test(X)},Y6=(X)=>(Y6=Array.isArray,Y6(X)),J6,x7=(X,Z)=>{if(typeof Z!=="number"||!Number.isInteger(Z))throw new N(`${X} must be an integer`);if(Z<0)throw new N(`${X} must be a positive integer`);return Z},jZ=(X)=>{try{return JSON.parse(X)}catch(Z){return}};var VX=w(()=>{R();i8=/^[a-z][a-z0-9+.-]*:/i,J6=Y6});var O7=(X)=>new Promise((Z)=>setTimeout(Z,X));var M7=()=>{};var e="0.81.0";var W6=()=>{};function n8(){if(typeof Deno<"u"&&Deno.build!=null)return"deno";if(typeof EdgeRuntime<"u")return"edge";if(Object.prototype.toString.call(typeof globalThis.process<"u"?globalThis.process:0)==="[object process]")return"node";return"unknown"}function a8(){if(typeof navigator>"u"||!navigator)return null;let X=[{key:"edge",pattern:/Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"chrome",pattern:/Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"firefox",pattern:/Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"safari",pattern:/(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/}];for(let{key:Z,pattern:$}of X){let Y=$.exec(navigator.userAgent);if(Y){let J=Y[1]||0,K=Y[2]||0,W=Y[3]||0;return{browser:Z,version:`${J}.${K}.${W}`}}}return null}var j7=()=>{return typeof window<"u"&&typeof window.document<"u"&&typeof navigator<"u"},o8=()=>{let X=n8();if(X==="deno")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":D7(Deno.build.os),"X-Stainless-Arch":A7(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":typeof Deno.version==="string"?Deno.version:Deno.version?.deno??"unknown"};if(typeof EdgeRuntime<"u")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":globalThis.process.version};if(X==="node")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":D7(globalThis.process.platform??"unknown"),"X-Stainless-Arch":A7(globalThis.process.arch??"unknown"),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":globalThis.process.version??"unknown"};let Z=a8();if(Z)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":`browser:${Z.browser}`,"X-Stainless-Runtime-Version":Z.version};return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":e,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":"unknown","X-Stainless-Runtime-Version":"unknown"}},A7=(X)=>{if(X==="x32")return"x32";if(X==="x86_64"||X==="x64")return"x64";if(X==="arm")return"arm";if(X==="aarch64"||X==="arm64")return"arm64";if(X)return`other:${X}`;return"unknown"},D7=(X)=>{if(X=X.toLowerCase(),X.includes("ios"))return"iOS";if(X==="android")return"Android";if(X==="darwin")return"MacOS";if(X==="win32")return"Windows";if(X==="freebsd")return"FreeBSD";if(X==="openbsd")return"OpenBSD";if(X==="linux")return"Linux";if(X)return`Other:${X}`;return"Unknown"},E7,T7=()=>{return E7??(E7=o8())};var V6=w(()=>{W6()});function I7(){if(typeof fetch<"u")return fetch;throw Error("`fetch` is not defined as a global; Either pass `fetch` to the client, `new Anthropic({ fetch })` or polyfill the global, `globalThis.fetch = fetch`")}function Q6(...X){let Z=globalThis.ReadableStream;if(typeof Z>"u")throw Error("`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`");return new Z(...X)}function TZ(X){let Z=Symbol.asyncIterator in X?X[Symbol.asyncIterator]():X[Symbol.iterator]();return Q6({start(){},async pull($){let{done:Y,value:J}=await Z.next();if(Y)$.close();else $.enqueue(J)},async cancel(){await Z.return?.()}})}function dX(X){if(X[Symbol.asyncIterator])return X;let Z=X.getReader();return{async next(){try{let $=await Z.read();if($?.done)Z.releaseLock();return $}catch($){throw Z.releaseLock(),$}},async return(){let $=Z.cancel();return Z.releaseLock(),await $,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}async function F7(X){if(X===null||typeof X!=="object")return;if(X[Symbol.asyncIterator]){await X[Symbol.asyncIterator]().return?.();return}let Z=X.getReader(),$=Z.cancel();Z.releaseLock(),await $}var HX=()=>{};var B7=({headers:X,body:Z})=>{return{bodyHeaders:{"content-type":"application/json"},body:JSON.stringify(Z)}};var S7=()=>{};function L7(X){return Object.entries(X).filter(([Z,$])=>typeof $<"u").map(([Z,$])=>{if(typeof $==="string"||typeof $==="number"||typeof $==="boolean")return`${encodeURIComponent(Z)}=${encodeURIComponent($)}`;if($===null)return`${encodeURIComponent(Z)}=`;throw new N(`Cannot stringify type ${typeof $}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}var k7=w(()=>{R()});function y7(X){let Z=0;for(let J of X)Z+=J.length;let $=new Uint8Array(Z),Y=0;for(let J of X)$.set(J,Y),Y+=J.length;return $}function mX(X){let Z;return(R7??(Z=new globalThis.TextEncoder,R7=Z.encode.bind(Z)))(X)}function z6(X){let Z;return(P7??(Z=new globalThis.TextDecoder,P7=Z.decode.bind(Z)))(X)}var R7,P7;var G6=()=>{};class XX{constructor(){P.set(this,void 0),y.set(this,void 0),G(this,P,new Uint8Array,"f"),G(this,y,null,"f")}decode(X){if(X==null)return[];let Z=X instanceof ArrayBuffer?new Uint8Array(X):typeof X==="string"?mX(X):X;G(this,P,y7([V(this,P,"f"),Z]),"f");let $=[],Y;while((Y=s8(V(this,P,"f"),V(this,y,"f")))!=null){if(Y.carriage&&V(this,y,"f")==null){G(this,y,Y.index,"f");continue}if(V(this,y,"f")!=null&&(Y.index!==V(this,y,"f")+1||Y.carriage)){$.push(z6(V(this,P,"f").subarray(0,V(this,y,"f")-1))),G(this,P,V(this,P,"f").subarray(V(this,y,"f")),"f"),G(this,y,null,"f");continue}let J=V(this,y,"f")!==null?Y.preceding-1:Y.preceding,K=z6(V(this,P,"f").subarray(0,J));$.push(K),G(this,P,V(this,P,"f").subarray(Y.index),"f"),G(this,y,null,"f")}return $}flush(){if(!V(this,P,"f").length)return[];return this.decode(`
2
2
  `)}}function s8(X,Z){for(let J=Z??0;J<X.length;J++){if(X[J]===10)return{preceding:J,index:J+1,carriage:!1};if(X[J]===13)return{preceding:J,index:J+1,carriage:!0}}return null}function _7(X){for(let Y=0;Y<X.length-1;Y++){if(X[Y]===10&&X[Y+1]===10)return Y+2;if(X[Y]===13&&X[Y+1]===13)return Y+2;if(X[Y]===13&&X[Y+1]===10&&Y+3<X.length&&X[Y+2]===13&&X[Y+3]===10)return Y+4}return-1}var P,y;var N6=w(()=>{n();G6();P=new WeakMap,y=new WeakMap;XX.NEWLINE_CHARS=new Set([`
3
3
  `,"\r"]);XX.NEWLINE_REGEXP=/\r\n|[\n\r]/g});function uX(){}function IZ(X,Z,$){if(!Z||FZ[X]>FZ[$])return uX;else return Z[X].bind(Z)}function L(X){let Z=X.logger,$=X.logLevel??"off";if(!Z)return e8;let Y=f7.get(Z);if(Y&&Y[0]===$)return Y[1];let J={error:IZ("error",Z,$),warn:IZ("warn",Z,$),info:IZ("info",Z,$),debug:IZ("debug",Z,$)};return f7.set(Z,[$,J]),J}var FZ,w6=(X,Z,$)=>{if(!X)return;if(H7(FZ,X))return X;L($).warn(`${Z} was set to ${JSON.stringify(X)}, expected one of ${JSON.stringify(Object.keys(FZ))}`);return},e8,f7,o=(X)=>{if(X.options)X.options={...X.options},delete X.options.headers;if(X.headers)X.headers=Object.fromEntries((X.headers instanceof Headers?[...X.headers]:Object.entries(X.headers)).map(([Z,$])=>[Z,Z.toLowerCase()==="x-api-key"||Z.toLowerCase()==="authorization"||Z.toLowerCase()==="cookie"||Z.toLowerCase()==="set-cookie"?"***":$]));if("retryOfRequestLogID"in X){if(X.retryOfRequestLogID)X.retryOf=X.retryOfRequestLogID;delete X.retryOfRequestLogID}return X};var BZ=w(()=>{VX();FZ={off:0,error:200,warn:300,info:400,debug:500};e8={error:uX,warn:uX,info:uX,debug:uX},f7=new WeakMap});async function*X$(X,Z){if(!X.body){if(Z.abort(),typeof globalThis.navigator<"u"&&globalThis.navigator.product==="ReactNative")throw new N("The default react-native fetch implementation does not support streaming. Please use expo/fetch: https://docs.expo.dev/versions/latest/sdk/expo/#expofetch-api");throw new N("Attempted to iterate over a response with no body")}let $=new b7,Y=new XX,J=dX(X.body);for await(let K of Z$(J))for(let W of Y.decode(K)){let Q=$.decode(W);if(Q)yield Q}for(let K of Y.flush()){let W=$.decode(K);if(W)yield W}}async function*Z$(X){let Z=new Uint8Array;for await(let $ of X){if($==null)continue;let Y=$ instanceof ArrayBuffer?new Uint8Array($):typeof $==="string"?mX($):$,J=new Uint8Array(Z.length+Y.length);J.set(Z),J.set(Y,Z.length),Z=J;let K;while((K=_7(Z))!==-1)yield Z.slice(0,K),Z=Z.slice(K)}if(Z.length>0)yield Z}class b7{constructor(){this.event=null,this.data=[],this.chunks=[]}decode(X){if(X.endsWith("\r"))X=X.substring(0,X.length-1);if(!X){if(!this.event&&!this.data.length)return null;let J={event:this.event,data:this.data.join(`
4
4
  `),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],J}if(this.chunks.push(X),X.startsWith(":"))return null;let[Z,$,Y]=$$(X,":");if(Y.startsWith(" "))Y=Y.substring(1);if(Z==="event")this.event=Y;else if(Z==="data")this.data.push(Y);return null}}function $$(X,Z){let $=X.indexOf(Z);if($!==-1)return[X.substring(0,$),Z,X.substring($+Z.length)];return[X,"",""]}var pX,_;var U6=w(()=>{n();R();HX();N6();HX();CX();VX();G6();BZ();R();_=class _{constructor(X,Z,$){this.iterator=X,pX.set(this,void 0),this.controller=Z,G(this,pX,$,"f")}static fromSSEResponse(X,Z,$){let Y=!1,J=$?L($):console;async function*K(){if(Y)throw new N("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");Y=!0;let W=!1;try{for await(let Q of X$(X,Z)){if(Q.event==="completion")try{yield JSON.parse(Q.data)}catch(z){throw J.error("Could not parse message into JSON:",Q.data),J.error("From chunk:",Q.raw),z}if(Q.event==="message_start"||Q.event==="message_delta"||Q.event==="message_stop"||Q.event==="content_block_start"||Q.event==="content_block_delta"||Q.event==="content_block_stop")try{yield JSON.parse(Q.data)}catch(z){throw J.error("Could not parse message into JSON:",Q.data),J.error("From chunk:",Q.raw),z}if(Q.event==="ping")continue;if(Q.event==="error"){let z=jZ(Q.data)??Q.data,x=z?.error?.type;throw new F(void 0,z,void 0,X.headers,x)}}W=!0}catch(Q){if(i(Q))return;throw Q}finally{if(!W)Z.abort()}}return new _(K,Z,$)}static fromReadableStream(X,Z,$){let Y=!1;async function*J(){let W=new XX,Q=dX(X);for await(let z of Q)for(let x of W.decode(z))yield x;for(let z of W.flush())yield z}async function*K(){if(Y)throw new N("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");Y=!0;let W=!1;try{for await(let Q of J()){if(W)continue;if(Q)yield JSON.parse(Q)}W=!0}catch(Q){if(i(Q))return;throw Q}finally{if(!W)Z.abort()}}return new _(K,Z,$)}[(pX=new WeakMap,Symbol.asyncIterator)](){return this.iterator()}tee(){let X=[],Z=[],$=this.iterator(),Y=(J)=>{return{next:()=>{if(J.length===0){let K=$.next();X.push(K),Z.push(K)}return J.shift()}}};return[new _(()=>Y(X),this.controller,V(this,pX,"f")),new _(()=>Y(Z),this.controller,V(this,pX,"f"))]}toReadableStream(){let X=this,Z;return Q6({async start(){Z=X[Symbol.asyncIterator]()},async pull($){try{let{value:Y,done:J}=await Z.next();if(J)return $.close();let K=mX(JSON.stringify(Y)+`
@@ -41,4 +41,4 @@ new Anthropic({ apiKey, dangerouslyAllowBrowser: true });
41
41
  `);for(let M=H.length-1;M>=0;M--){let U=H[M];if(U)yield U}}if(K.length>0)yield K.toString("utf8")}finally{await $.close()}}var i$,n$;var k8=w(()=>{A8();J7();i$={cwd(){return process.cwd()},existsSync(X){let $=[];try{const Z=A($,E`fs.existsSync(${X})`,0);return C.existsSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},async stat(X){return u$(X)},async readdir(X){return g$(X,{withFileTypes:!0})},async unlink(X){return p$(X)},async rmdir(X){return d$(X)},async rm(X,Z){return m$(X,Z)},async mkdir(X,Z){try{await v$(X,{recursive:!0,...Z})}catch($){if(LX($)!=="EEXIST")throw $}},async readFile(X,Z){return B8(X,{encoding:Z.encoding})},async rename(X,Z){return c$(X,Z)},statSync(X){let $=[];try{const Z=A($,E`fs.statSync(${X})`,0);return C.statSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},lstatSync(X){let $=[];try{const Z=A($,E`fs.lstatSync(${X})`,0);return C.lstatSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},readFileSync(X,Z){let Y=[];try{const $=A(Y,E`fs.readFileSync(${X})`,0);return C.readFileSync(X,{encoding:Z.encoding})}catch(J){var K=J,W=1}finally{D(Y,K,W)}},readFileBytesSync(X){let $=[];try{const Z=A($,E`fs.readFileBytesSync(${X})`,0);return C.readFileSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},readSync(X,Z){let J=[];try{const $=A(J,E`fs.readSync(${X}, ${Z.length} bytes)`,0);let Y=void 0;try{Y=C.openSync(X,"r");let z=Buffer.alloc(Z.length),x=C.readSync(Y,z,0,Z.length,0);return{buffer:z,bytesRead:x}}finally{if(Y)C.closeSync(Y)}}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},appendFileSync(X,Z,$){let J=[];try{const Y=A(J,E`fs.appendFileSync(${X}, ${Z.length} chars)`,0);if($?.mode!==void 0)try{let z=C.openSync(X,"ax",$.mode);try{C.appendFileSync(z,Z)}finally{C.closeSync(z)}return}catch(z){if(LX(z)!=="EEXIST")throw z}C.appendFileSync(X,Z)}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},copyFileSync(X,Z){let Y=[];try{const $=A(Y,E`fs.copyFileSync(${X} → ${Z})`,0);C.copyFileSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},unlinkSync(X){let $=[];try{const Z=A($,E`fs.unlinkSync(${X})`,0);C.unlinkSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},renameSync(X,Z){let Y=[];try{const $=A(Y,E`fs.renameSync(${X} → ${Z})`,0);C.renameSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},linkSync(X,Z){let Y=[];try{const $=A(Y,E`fs.linkSync(${X} → ${Z})`,0);C.linkSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},symlinkSync(X,Z,$){let J=[];try{const Y=A(J,E`fs.symlinkSync(${X} → ${Z})`,0);C.symlinkSync(X,Z,$)}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},readlinkSync(X){let $=[];try{const Z=A($,E`fs.readlinkSync(${X})`,0);return C.readlinkSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},realpathSync(X){let $=[];try{const Z=A($,E`fs.realpathSync(${X})`,0);return C.realpathSync(X).normalize("NFC")}catch(Y){var J=Y,K=1}finally{D($,J,K)}},mkdirSync(X,Z){let J=[];try{const $=A(J,E`fs.mkdirSync(${X})`,0);let Y={recursive:!0};if(Z?.mode!==void 0)Y.mode=Z.mode;try{C.mkdirSync(X,Y)}catch(z){if(LX(z)!=="EEXIST")throw z}}catch(K){var W=K,Q=1}finally{D(J,W,Q)}},readdirSync(X){let $=[];try{const Z=A($,E`fs.readdirSync(${X})`,0);return C.readdirSync(X,{withFileTypes:!0})}catch(Y){var J=Y,K=1}finally{D($,J,K)}},readdirStringSync(X){let $=[];try{const Z=A($,E`fs.readdirStringSync(${X})`,0);return C.readdirSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},isDirEmptySync(X){let Y=[];try{const Z=A(Y,E`fs.isDirEmptySync(${X})`,0);let $=this.readdirSync(X);return $.length===0}catch(J){var K=J,W=1}finally{D(Y,K,W)}},rmdirSync(X){let $=[];try{const Z=A($,E`fs.rmdirSync(${X})`,0);C.rmdirSync(X)}catch(Y){var J=Y,K=1}finally{D($,J,K)}},rmSync(X,Z){let Y=[];try{const $=A(Y,E`fs.rmSync(${X})`,0);C.rmSync(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}},createWriteStream(X){return C.createWriteStream(X)},async readFileBytes(X,Z){if(Z===void 0)return B8(X);let $=await sZ(X,"r");try{let{size:Y}=await $.stat(),J=Math.min(Y,Z),K=Buffer.allocUnsafe(J),W=0;while(W<J){let{bytesRead:Q}=await $.read(K,W,J-W,W);if(Q===0)break;W+=Q}return W<J?K.subarray(0,W):K}finally{await $.close()}}},n$=i$});import{appendFile as r$,mkdir as t$,symlink as s$,unlink as e$}from"fs/promises";import{dirname as b8,join as h8}from"path";function D5(){let X=AZ();return v8=!0,AZ.cache.clear?.(),X}function $1(X){if(!AZ())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Z=Z1();return I8(X,Z)}function E5(X){Q7=X}function j5(){return Q7}async function Y1(X,Z,$,Y){if(X)await t$(Z,{recursive:!0}).catch(()=>{});await r$($,Y),m8()}function J1(){}function K1(){if(!X6){let X=null;X6=D8({writeFn:(Z)=>{let $=d8(),Y=b8($),J=X!==Y;if(X=Y,AZ()){if(J)try{eZ().mkdirSync(Y)}catch{}eZ().appendFileSync($,Z),m8();return}K7=K7.then(Y1.bind(null,J,Y,$,Z)).catch(J1)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:AZ()}),w7(async()=>{X6?.dispose(),await K7})}return X6}function W1(X,{level:Z}={level:"debug"}){if(V7[Z]<V7[X1()])return;if(!$1(X))return;if(Q7&&X.includes(`
42
42
  `))X=_8(X);let Y=`${new Date().toISOString()} [${Z.toUpperCase()}] ${X.trim()}
43
43
  `;if(g8()){f8(Y);return}K1().write(Y)}function d8(){return c8()??process.env.CLAUDE_CODE_DEBUG_LOGS_DIR??h8(y8(),"debug",`${R8()}.txt`)}function T5(X,Z){}var V7,X1,v8=!1,AZ,Z1,g8,c8,Q7=!1,X6=null,K7,m8;var u8=w(()=>{j8();P8();E8();U7();F8();o$();k8();a$();J7();V7={verbose:0,debug:1,info:2,warn:3,error:4},X1=s(()=>{let X=process.env.CLAUDE_CODE_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(X&&Object.hasOwn(V7,X))return X;return"debug"}),AZ=s(()=>{return v8||W7(process.env.DEBUG)||W7(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||g8()||process.argv.some((X)=>X.startsWith("--debug="))||c8()!==null});Z1=s(()=>{let X=process.argv.find(($)=>$.startsWith("--debug="));if(!X)return null;let Z=X.substring(8);return T8(Z)}),g8=s(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-d2e")}),c8=s(()=>{for(let X=0;X<process.argv.length;X++){let Z=process.argv[X];if(Z.startsWith("--debug-file="))return Z.substring(13);if(Z==="--debug-file"&&X+1<process.argv.length)return process.argv[X+1]}return null});K7=Promise.resolve();m8=s(async()=>{try{let X=d8(),Z=b8(X),$=h8(Z,"latest");await e$($).catch(()=>{}),await s$(X,$)}catch{}})});import{closeSync as V1,writeFileSync as p8,fsyncSync as Q1,openSync as z1}from"fs";function N1(){return G1}function _8(X,Z,$){let J=[];try{const Y=A(J,E`JSON.stringify(${X})`,0);return JSON.stringify(X,Z,$)}catch(K){var W=K,Q=1}finally{D(J,W,Q)}}function P5(X,Z){let Y=[];try{const $=A(Y,E`structuredClone(${X})`,0);return structuredClone(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}}function y5(X,Z,$){let K=[];try{const Y=A(K,E`fs.writeFileSync(${X}, ${Z})`,0);let J=$!==null&&typeof $==="object"&&"flush"in $&&$.flush===!0;if(J){let x=typeof $==="object"&&"encoding"in $?$.encoding:void 0,H=typeof $==="object"&&"mode"in $?$.mode:void 0,M;try{M=z1(X,"w",H),p8(M,Z,{encoding:x??void 0}),Q1(M)}finally{if(M!==void 0)V1(M)}}else p8(X,Z,$)}catch(W){var Q=W,z=1}finally{D(K,Q,z)}}var k5,G1,E,R5=(X,Z)=>{let Y=[];try{const $=A(Y,E`JSON.parse(${X})`,0);return typeof Z>"u"?JSON.parse(X):JSON.parse(X,Z)}catch(J){var K=J,W=1}finally{D(Y,K,W)}};var J7=w(()=>{P8();u8();k5=(()=>{let X=process.env.CLAUDE_CODE_SLOW_OPERATION_THRESHOLD_MS;if(X!==void 0){let Z=Number(X);if(!Number.isNaN(Z)&&Z>=0)return Z}return 1/0})(),G1={[Symbol.dispose](){}};E=N1});
44
- export{D8 as Aea,E8 as Bea,w7 as Cea,U1 as Dea,U7 as Eea,F as Fea,S as Gea,WX as Hea,PX as Iea,_X as Jea,bX as Kea,MX as Lea,qX as Mea,O8 as Nea,L$ as Oea,k$ as Pea,M8 as Qea,m4 as Rea,R$ as Sea,P$ as Tea,y$ as Uea,_$ as Vea,u4 as Wea,p4 as Xea,f$ as Yea,LX as Zea,l4 as _ea,i4 as $ea,n4 as afa,o4 as bfa,A8 as cfa,E as dfa,_8 as efa,R5 as ffa,P5 as gfa,y5 as hfa,J7 as ifa,L8 as jfa,Y5 as kfa,J5 as lfa,eZ as mfa,K5 as nfa,W5 as ofa,V5 as pfa,k8 as qfa,AZ as rfa,D5 as sfa,g8 as tfa,E5 as ufa,j5 as vfa,W1 as wfa,d8 as xfa,T5 as yfa,u8 as zfa};
44
+ export{D8 as Fea,E8 as Gea,w7 as Hea,U1 as Iea,U7 as Jea,F as Kea,S as Lea,WX as Mea,PX as Nea,_X as Oea,bX as Pea,MX as Qea,qX as Rea,O8 as Sea,L$ as Tea,k$ as Uea,M8 as Vea,m4 as Wea,R$ as Xea,P$ as Yea,y$ as Zea,_$ as _ea,u4 as $ea,p4 as afa,f$ as bfa,LX as cfa,l4 as dfa,i4 as efa,n4 as ffa,o4 as gfa,A8 as hfa,E as ifa,_8 as jfa,R5 as kfa,P5 as lfa,y5 as mfa,J7 as nfa,L8 as ofa,Y5 as pfa,J5 as qfa,eZ as rfa,K5 as sfa,W5 as tfa,V5 as ufa,k8 as vfa,AZ as wfa,D5 as xfa,g8 as yfa,E5 as zfa,j5 as Afa,W1 as Bfa,d8 as Cfa,T5 as Dfa,u8 as Efa};
@@ -1,4 +1,4 @@
1
- import{Qa as DY}from"./cli-0.1.15-7mfwj2xs.mjs";import{jb as qY}from"./cli-0.1.15-5qx5p8cd.mjs";import{Rg as X9,Sg as RW}from"./cli-0.1.15-0g0abv7y.mjs";import{$p as WZ,As as xZ,Bo as UZ,Bs as u0,By as b0,Cs as m0,Ds as c0,ED as HY,Eo as EZ,Es as g0,Ey as I0,FD as gQ,Fo as h0,Fs as pZ,Fy as TZ,GH as C0,Gs as uZ,Hs as d0,Is as l0,JD as i,Jm as Z0,Js as a0,Jy as n9,KN as q9,Km as K0,Ks as n0,LD as fW,Lm as FZ,Ls as i0,Mm as G0,Ms as r0,NH as J9,Ns as o0,Os as s0,PH as H9,Ps as t0,Qs as GQ,St as W9,Up as CY,VH as N9,Vp as zW,Vt as TW,WG as aY,WN as D9,Wn as JY,Wp as TY,XJ as T0,Xn as cQ,Xo as Q9,Xp as RY,Yp as jZ,ZG as PW,Zo as CW,Zp as rZ,_H as wZ,_J as i9,_p as fY,aL as B9,aq as oZ,bO as LY,bq as SY,cq as hY,dq as AY,eG as U9,gG as E9,hH as SZ,iv as F0,jL as L9,jv as l9,kG as y9,lH as s,lL as z9,lx as k0,mF as V9,mx as XQ,nF as SW,oO as zY,pL as kW,rG as dW,rH as XZ,sy as M0,ty as a9,vH as hZ,wJ as NY,xF as K9,xN as BY,yF as G9,yJ as dQ,yN as lQ,yk as O9,zF as hW,zk as gW,zs as p0}from"./cli-0.1.15-26hkdean.mjs";import{ER as $0,FR as g9}from"./cli-0.1.15-ajg1d1bh.mjs";import{ES as y0,FS as P0,GS as c9,MS as j0,NS as d9,qS as E0,rS as m9}from"./cli-0.1.15-8v8bskr0.mjs";import{AU as p,CU as F,QS as p9,fV as u9}from"./cli-0.1.15-68f0jtkh.mjs";import{DV as a,EV as E,FV as M,GV as J0}from"./cli-0.1.15-gxgy4enj.mjs";import{HV as x9}from"./cli-0.1.15-tp614m5f.mjs";import{FW as eY,SW as bW,sW as sY,tW as tY,uW as MW}from"./cli-0.1.15-m7gtc61y.mjs";import{TW as EY,XW as GW}from"./cli-0.1.15-6nwbd09n.mjs";import{B2 as lY,V0 as dY,Z0 as EW,y3 as yW}from"./cli-0.1.15-q35rzjnz.mjs";import{J5 as GY,J6 as A9,L5 as mQ,O7 as CZ,Q7 as h9,Q9 as w9,R5 as _0,T7 as _9,U5 as f9,X9 as cW,_5 as e,a$ as gY,d6 as w0,e6 as vZ,f6 as S9,g7 as uW,j$ as UW,n8 as mW,q8 as UY,v8 as KW}from"./cli-0.1.15-4892kydg.mjs";import{oca as Y,pca as k,qca as GZ,rca as q,sca as OZ}from"./cli-0.1.15-gmdv5ny8.mjs";import{Bca as B0,Cca as L0,Dca as z0,Eca as q0,Hca as D0,Ica as v0,Uca as A0,_ca as R9,vca as uY,wca as wW,yca as IZ}from"./cli-0.1.15-rr65b3dk.mjs";import{jda as mY,kda as cY,mda as OW}from"./cli-0.1.15-dq954y1q.mjs";import{Ida as tQ,xda as vY}from"./cli-0.1.15-wfn10357.mjs";import{Wda as O0,cea as U0,gea as k9}from"./cli-0.1.15-11sdbfxy.mjs";import{yea as d,zea as _Z}from"./cli-0.1.15-b7f6hacc.mjs";import{Cea as OY,Eea as VW,Qea as XY,Yea as v9,Zea as aZ,cfa as gZ,efa as ZZ,ffa as VY,ifa as PZ,wfa as b,zfa as KZ}from"./cli-0.1.15-nk50qhet.mjs";import{Pfa as KY,Tfa as uQ}from"./cli-0.1.15-tj4kzvth.mjs";import{Bha as Y0,Cha as wY,Kia as pY,aka as MY,bka as zZ,cka as bY,eka as IY,jla as oY,mla as BZ,vha as NZ}from"./cli-0.1.15-12azgmva.mjs";import{Zla as N0,ama as fZ,bma as AZ,cma as sZ}from"./cli-0.1.15-mhbfhhf6.mjs";var QQ={};fZ(QQ,{selectableUserMessagesFilter:()=>S0,messagesAfterAreOnlySynthetic:()=>YQ,MessageSelector:()=>o9});import{randomUUID as r9}from"crypto";import*as QZ from"path";function R0(Q){return Q.type==="text"}function RZ(Q){return Q==="summarize"||Q==="summarize_up_to"}function o9({messages:Q,onPreRestore:Z,onRestoreMessage:W,onRestoreCode:X,onSummarize:V,onClose:J,preselectedMessage:K}){let H=T0((U)=>U.fileHistory),[B,z]=I.useState(void 0),G=b0(),L=I.useMemo(r9,[]),w=I.useMemo(()=>[...Q.filter(S0),{...s({content:""}),uuid:L}],[Q,L]),[v,_]=I.useState(w.length-1),P=Math.max(0,Math.min(v-Math.floor(bZ/2),w.length-bZ)),C=w.length>1,[D,$]=I.useState(K),[y,T]=I.useState(void 0);I.useEffect(()=>{if(!K||!G)return;let U=!1;return TZ(H,K.uuid).then((f)=>{if(!U)T(f)}),()=>{U=!0}},[K,G,H]);let[O,j]=I.useState(!1),[l,n]=I.useState(null),[S,m]=I.useState("both"),[g,x]=I.useState(""),[A,N]=I.useState("");function R(U){let f=U?[{value:"both",label:"Restore code and conversation"},{value:"conversation",label:"Restore conversation"},{value:"code",label:"Restore code"}]:[{value:"conversation",label:"Restore conversation"}],u={type:"input",placeholder:"add context (optional)",initialValue:"",allowEmptySubmitToCancel:!0,showLabelWithValue:!0,labelValueSeparator:": "};return f.push({value:"summarize",label:"Summarize from here",...u,onChange:x}),f.push({value:"nevermind",label:"Never mind"}),f}I.useEffect(()=>{d("tengu_message_selector_opened",{})},[]);async function h(U){Z(),j(!0);try{await W(U),j(!1),J()}catch(f){e(f),j(!1),z(`Failed to restore the conversation:
1
+ import{Qa as DY}from"./cli-0.2.0-4tn02vgd.mjs";import{jb as qY}from"./cli-0.2.0-g4kznbnn.mjs";import{Rg as X9,Sg as RW}from"./cli-0.2.0-7zpdrxbp.mjs";import{$G as aY,$N as D9,$n as JY,$p as TY,AH as hZ,BJ as NY,CF as K9,CN as BY,DF as G9,DJ as dQ,DN as lQ,EF as hW,Es as p0,Fs as xZ,Go as UZ,Gs as u0,Gy as b0,Hs as m0,Is as c0,JD as HY,Jo as EZ,Js as g0,Jy as I0,KD as gQ,Ko as h0,Ks as pZ,Ky as TZ,LH as C0,Ls as uZ,Ms as d0,Ns as l0,OD as i,Om as Z0,Os as a0,Oy as n9,PN as q9,Pm as K0,Ps as n0,QD as fW,Qm as FZ,Qs as i0,Rm as G0,Rs as r0,SH as J9,Ss as o0,Ts as s0,UH as H9,Us as t0,Vs as GQ,Xt as W9,Zp as CY,_H as N9,_p as zW,_t as TW,aK as T0,ao as cQ,ap as Q9,aq as RY,bq as jZ,cH as PW,cp as CW,cq as rZ,dI as wZ,dK as i9,dq as fY,eq as WZ,fL as B9,fq as oZ,gO as LY,gq as SY,hq as hY,iq as AY,jG as U9,lG as E9,mH as SZ,nv as F0,oL as L9,ov as l9,pG as y9,qH as s,qL as z9,qx as k0,rF as V9,rx as XQ,sF as SW,tO as zY,uL as kW,wG as dW,wH as XZ,xy as M0,yk as O9,yy as a9,zk as gW}from"./cli-0.2.0-cs8e9514.mjs";import{JR as $0,KR as g9}from"./cli-0.2.0-r3f7ephj.mjs";import{JS as y0,KS as P0,LS as c9,RS as j0,SS as d9,vS as E0,wS as m9}from"./cli-0.2.0-zdr99w6n.mjs";import{FU as p,HU as F,VS as p9,kV as u9}from"./cli-0.2.0-c7ea0dry.mjs";import{IV as a,JV as E,KV as M,LV as J0}from"./cli-0.2.0-fgsp4dtv.mjs";import{MV as x9}from"./cli-0.2.0-gsw60zfe.mjs";import{KW as eY,XW as bW,xW as sY,yW as tY,zW as MW}from"./cli-0.2.0-3abr1pjj.mjs";import{YW as EY,aX as GW}from"./cli-0.2.0-s130pb2c.mjs";import{D3 as yW,G2 as lY,_0 as dY,c1 as EW}from"./cli-0.2.0-h2wnach8.mjs";import{A8 as KW,O5 as GY,O6 as A9,Q5 as mQ,T7 as CZ,V7 as h9,V9 as w9,W5 as _0,Y7 as _9,Z5 as f9,a_ as cW,d6 as e,f$ as gY,i6 as w0,j6 as vZ,k6 as S9,l7 as uW,o$ as UW,s8 as mW,v8 as UY}from"./cli-0.2.0-g2h1t6ke.mjs";import{tca as Y,uca as k,vca as GZ,wca as q,xca as OZ}from"./cli-0.2.0-f7tp61b0.mjs";import{Aca as uY,Bca as wW,Dca as IZ,Gca as B0,Hca as L0,Ica as z0,Jca as q0,Mca as D0,Nca as v0,Zca as A0,dda as R9}from"./cli-0.2.0-h9tvrrx9.mjs";import{oda as mY,pda as cY,rda as OW}from"./cli-0.2.0-wwwmxcwz.mjs";import{Cda as vY,Nda as tQ}from"./cli-0.2.0-qcr87znh.mjs";import{$da as O0,hea as U0,lea as k9}from"./cli-0.2.0-p0dd7k39.mjs";import{Dea as d,Eea as _Z}from"./cli-0.2.0-35xeqadb.mjs";import{Bfa as b,Efa as KZ,Hea as OY,Jea as VW,Vea as XY,bfa as v9,cfa as aZ,hfa as gZ,jfa as ZZ,kfa as VY,nfa as PZ}from"./cli-0.2.0-e9xwjcb3.mjs";import{Ufa as KY,Yfa as uQ}from"./cli-0.2.0-q822fesk.mjs";import{Aha as NZ,Gha as Y0,Hha as wY,Pia as pY,fka as MY,gka as zZ,hka as bY,jka as IY,ola as oY,rla as BZ}from"./cli-0.2.0-gmq4bxtp.mjs";import{cma as N0,fma as fZ,gma as AZ,hma as sZ}from"./cli-0.2.0-b8hs09nv.mjs";var QQ={};fZ(QQ,{selectableUserMessagesFilter:()=>S0,messagesAfterAreOnlySynthetic:()=>YQ,MessageSelector:()=>o9});import{randomUUID as r9}from"crypto";import*as QZ from"path";function R0(Q){return Q.type==="text"}function RZ(Q){return Q==="summarize"||Q==="summarize_up_to"}function o9({messages:Q,onPreRestore:Z,onRestoreMessage:W,onRestoreCode:X,onSummarize:V,onClose:J,preselectedMessage:K}){let H=T0((U)=>U.fileHistory),[B,z]=I.useState(void 0),G=b0(),L=I.useMemo(r9,[]),w=I.useMemo(()=>[...Q.filter(S0),{...s({content:""}),uuid:L}],[Q,L]),[v,_]=I.useState(w.length-1),P=Math.max(0,Math.min(v-Math.floor(bZ/2),w.length-bZ)),C=w.length>1,[D,$]=I.useState(K),[y,T]=I.useState(void 0);I.useEffect(()=>{if(!K||!G)return;let U=!1;return TZ(H,K.uuid).then((f)=>{if(!U)T(f)}),()=>{U=!0}},[K,G,H]);let[O,j]=I.useState(!1),[l,n]=I.useState(null),[S,m]=I.useState("both"),[g,x]=I.useState(""),[A,N]=I.useState("");function R(U){let f=U?[{value:"both",label:"Restore code and conversation"},{value:"conversation",label:"Restore conversation"},{value:"code",label:"Restore code"}]:[{value:"conversation",label:"Restore conversation"}],u={type:"input",placeholder:"add context (optional)",initialValue:"",allowEmptySubmitToCancel:!0,showLabelWithValue:!0,labelValueSeparator:": "};return f.push({value:"summarize",label:"Summarize from here",...u,onChange:x}),f.push({value:"nevermind",label:"Never mind"}),f}I.useEffect(()=>{d("tengu_message_selector_opened",{})},[]);async function h(U){Z(),j(!0);try{await W(U),j(!1),J()}catch(f){e(f),j(!1),z(`Failed to restore the conversation:
2
2
  ${f}`)}}async function r(U){let f=Q.indexOf(U),u=Q.length-1-f;if(d("tengu_message_selector_selected",{index_from_end:u,message_type:U.type,is_current_prompt:!1}),!Q.includes(U)){J();return}if(!G){await h(U);return}let c=await TZ(H,U.uuid);$(U),T(c)}async function t(U){if(d("tengu_message_selector_restore_option_selected",{option:U}),!D){z("Message not found.");return}if(U==="nevermind"){if(K)J();else $(void 0);return}if(RZ(U)){Z(),j(!0),n(U),z(void 0);try{let c=U==="summarize_up_to"?"up_to":"from",YZ=(c==="up_to"?A:g).trim()||void 0;await V(D,YZ,c),j(!1),n(null),$(void 0),J()}catch(c){e(c),j(!1),n(null),$(void 0),z(`Failed to summarize:
3
3
  ${c}`)}return}Z(),j(!0),z(void 0);let f=null,u=null;if(U==="code"||U==="both")try{await X(D)}catch(c){f=c,e(f)}if(U==="conversation"||U==="both")try{await W(D)}catch(c){u=c,e(u)}if(j(!1),$(void 0),u&&f)z(`Failed to restore the conversation and code:
4
4
  ${u}
@@ -6,7 +6,7 @@ ${f}`);else if(u)z(`Failed to restore the conversation:
6
6
  ${u}`);else if(f)z(`Failed to restore the code:
7
7
  ${f}`);else J()}let Q0=$0(),$9=I.useCallback(()=>{if(D&&!K){$(void 0);return}d("tengu_message_selector_cancelled",{}),J()},[J,D,K]),j9=I.useCallback(()=>_((U)=>Math.max(0,U-1)),[]),F9=I.useCallback(()=>_((U)=>Math.min(w.length-1,U+1)),[w.length]),M9=I.useCallback(()=>_(0),[]),b9=I.useCallback(()=>_(w.length-1),[w.length]),I9=I.useCallback(()=>{let U=w[v];if(U)r(U)},[w,v,r]);y0("confirm:no",$9,{context:"Confirmation",isActive:!D}),P0({"messageSelector:up":j9,"messageSelector:down":F9,"messageSelector:top":M9,"messageSelector:bottom":b9,"messageSelector:select":I9},{context:"MessageSelector",isActive:!O&&!B&&!D&&C});let[W0,X0]=I.useState({});I.useEffect(()=>{async function U(){if(!G)return;Promise.all(w.map(async(f,u)=>{if(f.uuid!==L){let c=I0(H,f.uuid),YZ=w.at(u+1),DZ=c?ZQ(Q,f.uuid,YZ?.uuid!==L?YZ?.uuid:void 0):void 0;if(DZ!==void 0)X0((o)=>({...o,[u]:DZ}));else X0((o)=>({...o,[u]:void 0}))}}))}U()},[w,Q,L,H,G]);let qZ=G&&y?.filesChanged&&y.filesChanged.length>0,C9=!B&&!D&&!K&&C;return M(p,{flexDirection:"column",width:"100%",children:[E(j0,{color:"suggestion"}),M(p,{flexDirection:"column",marginX:1,gap:1,children:[E(F,{bold:!0,color:"suggestion",children:"Rewind"}),B&&E(a,{children:M(F,{color:"error",children:["Error: ",B]})}),!C&&E(a,{children:E(F,{children:"Nothing to rewind to yet."})}),!B&&D&&C&&M(a,{children:[M(F,{children:["Confirm you want to restore"," ",!y&&"the conversation ","to the point before you sent this message:"]}),M(p,{flexDirection:"column",paddingLeft:1,borderStyle:"single",borderRight:!1,borderTop:!1,borderBottom:!1,borderLeft:!0,borderLeftDimColor:!0,children:[E(H0,{userMessage:D,color:"text",isCurrent:!1}),M(F,{dimColor:!0,children:["(",U0(new Date(D.timestamp)),")"]})]}),E(t9,{selectedRestoreOption:S,canRestoreCode:!!qZ,diffStatsForRestore:y}),O&&RZ(l)?M(p,{flexDirection:"row",gap:1,children:[E(M0,{}),E(F,{children:"Summarizing…"})]}):E(F0,{isDisabled:O,options:R(!!qZ),defaultFocusValue:qZ?"both":"conversation",onFocus:(U)=>m(U),onChange:(U)=>t(U),onCancel:()=>K?J():$(void 0)}),qZ&&E(p,{marginBottom:1,children:M(F,{dimColor:!0,children:[vZ.warning," Rewinding does not affect files edited manually or via bash."]})})]}),C9&&M(a,{children:[G?E(F,{children:"Restore the code and/or conversation to the point before…"}):E(F,{children:"Restore and fork the conversation to the point before…"}),E(p,{width:"100%",flexDirection:"column",children:w.slice(P,P+bZ).map((U,f)=>{let u=P+f,c=u===v,YZ=U.uuid===L,DZ=u in W0,o=W0[u],MZ=o?.filesChanged&&o.filesChanged.length;return M(p,{height:G?3:2,overflow:"hidden",width:"100%",flexDirection:"row",children:[E(p,{width:2,minWidth:2,children:c?M(F,{color:"permission",bold:!0,children:[vZ.pointer," "]}):E(F,{children:" "})}),M(p,{flexDirection:"column",children:[E(p,{flexShrink:1,height:1,overflow:"hidden",children:E(H0,{userMessage:U,color:c?"suggestion":void 0,isCurrent:YZ,paddingRight:10})}),G&&DZ&&E(p,{height:1,flexDirection:"row",children:o?E(a,{children:E(F,{dimColor:!c,color:"inactive",children:MZ?M(a,{children:[MZ===1&&o.filesChanged[0]?`${QZ.basename(o.filesChanged[0])} `:`${MZ} files changed `,E(f0,{diffStats:o})]}):E(a,{children:"No code changes"})})}):M(F,{dimColor:!0,color:"warning",children:[vZ.warning," No code restore"]})})]})]},U.uuid)})})]}),!D&&E(F,{dimColor:!0,italic:!0,children:Q0.pending?M(a,{children:["Press ",Q0.keyName," again to exit"]}):M(a,{children:[!B&&C&&"Enter to continue · ","Esc to exit"]})})]})]})}function s9(Q){switch(Q){case"summarize":return"Messages after this point will be summarized.";case"summarize_up_to":return"Preceding messages will be summarized. This and subsequent messages will remain unchanged — you will stay at the end of the conversation.";case"both":case"conversation":return"The conversation will be forked.";case"code":case"nevermind":return"The conversation will be unchanged."}}function t9(Q){let Z=VZ.c(11),{selectedRestoreOption:W,canRestoreCode:X,diffStatsForRestore:V}=Q,J=X&&(W==="both"||W==="code"),K;if(Z[0]!==W)K=s9(W),Z[0]=W,Z[1]=K;else K=Z[1];let H;if(Z[2]!==K)H=E(F,{dimColor:!0,children:K}),Z[2]=K,Z[3]=H;else H=Z[3];let B;if(Z[4]!==V||Z[5]!==W||Z[6]!==J)B=!RZ(W)&&(J?E(e9,{diffStatsForRestore:V}):E(F,{dimColor:!0,children:"The code will be unchanged."})),Z[4]=V,Z[5]=W,Z[6]=J,Z[7]=B;else B=Z[7];let z;if(Z[8]!==H||Z[9]!==B)z=M(p,{flexDirection:"column",children:[H,B]}),Z[8]=H,Z[9]=B,Z[10]=z;else z=Z[10];return z}function e9(Q){let Z=VZ.c(14),{diffStatsForRestore:W}=Q;if(W===void 0)return;if(!W.filesChanged||!W.filesChanged[0]){let H;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))H=E(F,{dimColor:!0,children:"The code has not changed (nothing will be restored)."}),Z[0]=H;else H=Z[0];return H}let X=W.filesChanged.length,V;if(X===1){let H;if(Z[1]!==W.filesChanged[0])H=QZ.basename(W.filesChanged[0]||""),Z[1]=W.filesChanged[0],Z[2]=H;else H=Z[2];V=H}else if(X===2){let H;if(Z[3]!==W.filesChanged[0])H=QZ.basename(W.filesChanged[0]||""),Z[3]=W.filesChanged[0],Z[4]=H;else H=Z[4];let B=H,z;if(Z[5]!==W.filesChanged[1])z=QZ.basename(W.filesChanged[1]||""),Z[5]=W.filesChanged[1],Z[6]=z;else z=Z[6];V=`${B} and ${z}`}else{let H;if(Z[7]!==W.filesChanged[0])H=QZ.basename(W.filesChanged[0]||""),Z[7]=W.filesChanged[0],Z[8]=H;else H=Z[8];V=`${H} and ${W.filesChanged.length-1} other files`}let J;if(Z[9]!==W)J=E(f0,{diffStats:W}),Z[9]=W,Z[10]=J;else J=Z[10];let K;if(Z[11]!==V||Z[12]!==J)K=E(a,{children:M(F,{dimColor:!0,children:["The code will be restored"," ",J," in ",V,"."]})}),Z[11]=V,Z[12]=J,Z[13]=K;else K=Z[13];return K}function f0(Q){let Z=VZ.c(7),{diffStats:W}=Q;if(!W||!W.filesChanged)return;let X;if(Z[0]!==W.insertions)X=M(F,{color:"diffAddedWord",children:["+",W.insertions," "]}),Z[0]=W.insertions,Z[1]=X;else X=Z[1];let V;if(Z[2]!==W.deletions)V=M(F,{color:"diffRemovedWord",children:["-",W.deletions]}),Z[2]=W.deletions,Z[3]=V;else V=Z[3];let J;if(Z[4]!==X||Z[5]!==V)J=M(a,{children:[X,V]}),Z[4]=X,Z[5]=V,Z[6]=J;else J=Z[6];return J}function H0(Q){let Z=VZ.c(31),{userMessage:W,color:X,dimColor:V,isCurrent:J,paddingRight:K}=Q,{columns:H}=E0();if(J){let T;if(Z[0]!==X||Z[1]!==V)T=E(p,{width:"100%",children:E(F,{italic:!0,color:X,dimColor:V,children:"(current)"})}),Z[0]=X,Z[1]=V,Z[2]=T;else T=Z[2];return T}let B=W.message.content,z=typeof B==="string"?null:B[B.length-1],G,L,w,v,_,P,C,D;if(Z[3]!==X||Z[4]!==H||Z[5]!==B||Z[6]!==V||Z[7]!==z||Z[8]!==K){D=Symbol.for("react.early_return_sentinel");Z:{let T=typeof B==="string"?B.trim():z&&R0(z)?z.text.trim():"(no prompt)",O=_0(T);if(C0(O)){let j;if(Z[17]!==X||Z[18]!==V)j=E(p,{flexDirection:"row",width:"100%",children:E(F,{italic:!0,color:X,dimColor:V,children:"((empty message))"})}),Z[17]=X,Z[18]=V,Z[19]=j;else j=Z[19];D=j;break Z}if(O.includes("<bash-input>")){let j=XZ(O,"bash-input");if(j){let l;if(Z[20]===Symbol.for("react.memo_cache_sentinel"))l=E(F,{color:"bashBorder",children:"!"}),Z[20]=l;else l=Z[20];D=M(p,{flexDirection:"row",width:"100%",children:[l,M(F,{color:X,dimColor:V,children:[" ",j]})]});break Z}}if(O.includes(`<${IZ}>`)){let j=XZ(O,IZ),l=XZ(O,"command-args"),n=XZ(O,"skill-format")==="true";if(j)if(n){D=E(p,{flexDirection:"row",width:"100%",children:M(F,{color:X,dimColor:V,children:["Skill(",j,")"]})});break Z}else{D=E(p,{flexDirection:"row",width:"100%",children:M(F,{color:X,dimColor:V,children:["/",j," ",l]})});break Z}}L=p,P="row",C="100%",G=F,w=X,v=V,_=K?O0(O,H-K,!0):O.slice(0,500).split(`
8
8
  `).slice(0,4).join(`
9
- `)}Z[3]=X,Z[4]=H,Z[5]=B,Z[6]=V,Z[7]=z,Z[8]=K,Z[9]=G,Z[10]=L,Z[11]=w,Z[12]=v,Z[13]=_,Z[14]=P,Z[15]=C,Z[16]=D}else G=Z[9],L=Z[10],w=Z[11],v=Z[12],_=Z[13],P=Z[14],C=Z[15],D=Z[16];if(D!==Symbol.for("react.early_return_sentinel"))return D;let $;if(Z[21]!==G||Z[22]!==w||Z[23]!==v||Z[24]!==_)$=E(G,{color:w,dimColor:v,children:_}),Z[21]=G,Z[22]=w,Z[23]=v,Z[24]=_,Z[25]=$;else $=Z[25];let y;if(Z[26]!==L||Z[27]!==P||Z[28]!==C||Z[29]!==$)y=E(L,{flexDirection:P,width:C,children:$}),Z[26]=L,Z[27]=P,Z[28]=C,Z[29]=$,Z[30]=y;else y=Z[30];return y}function ZQ(Q,Z,W){let X=Q.findIndex((B)=>B.uuid===Z);if(X===-1)return;let V=W?Q.findIndex((B)=>B.uuid===W):Q.length;if(V===-1)V=Q.length;let J=[],K=0,H=0;for(let B=X+1;B<V;B++){let z=Q[B];if(!z||!hZ(z))continue;let G=z.toolUseResult;if(!G||!G.filePath||!G.structuredPatch)continue;if(!J.includes(G.filePath))J.push(G.filePath);try{if("type"in G&&G.type==="create")K+=G.content.split(/\r?\n/).length;else for(let L of G.structuredPatch){let w=CZ(L.lines,(_)=>_.startsWith("+")),v=CZ(L.lines,(_)=>_.startsWith("-"));K+=w,H+=v}}catch{continue}}return{filesChanged:J,insertions:K,deletions:H}}function S0(Q){if(Q.type!=="user")return!1;if(Array.isArray(Q.message.content)&&Q.message.content[0]?.type==="tool_result")return!1;if(SZ(Q))return!1;if(Q.isMeta)return!1;if(Q.isCompactSummary||Q.isVisibleInTranscriptOnly)return!1;let Z=Q.message.content,W=typeof Z==="string"?null:Z[Z.length-1],X=typeof Z==="string"?Z.trim():W&&R0(W)?W.text.trim():"";if(X.indexOf(`<${z0}>`)!==-1||X.indexOf(`<${q0}>`)!==-1||X.indexOf(`<${B0}>`)!==-1||X.indexOf(`<${L0}>`)!==-1||X.indexOf(`<${v0}>`)!==-1||X.indexOf(`<${D0}>`)!==-1||X.indexOf(`<${A0}`)!==-1)return!1;return!0}function YQ(Q,Z){for(let W=Z+1;W<Q.length;W++){let X=Q[W];if(!X)continue;if(SZ(X))continue;if(hZ(X))continue;if(X.type==="progress")continue;if(X.type==="system")continue;if(X.type==="attachment")continue;if(X.type==="user"&&X.isMeta)continue;if(X.type==="assistant"){let V=X.message.content;if(Array.isArray(V)){if(V.some((K)=>K.type==="text"&&K.text.trim()||K.type==="tool_use"))return!1}continue}if(X.type==="user")return!1}return!0}var VZ,I,bZ=7;var WQ=AZ(()=>{S9();_Z();i9();n9();w0();g9();u9();c9();f9();wZ();l9();a9();m9();R9();h9();k9();d9();J0();VZ=N0(p9(),1),I=N0(x9(),1)});var WW={};fZ(WW,{getCronJitterConfig:()=>QW});function QW(){let Q=vY("tengu_kairos_cron_config",WZ,eQ),Z=YW().safeParse(Q);return Z.success?Z.data:WZ}var eQ=60000,dZ=1800000,ZW=2592000000,YW;var XW=AZ(()=>{GZ();tQ();AY();OZ();YW=q(()=>Y.object({recurringFrac:Y.number().min(0).max(1),recurringCapMs:Y.number().int().min(0).max(dZ),oneShotMaxMs:Y.number().int().min(0).max(dZ),oneShotFloorMs:Y.number().int().min(0).max(dZ),oneShotMinuteMod:Y.number().int().min(1).max(60),recurringMaxAgeMs:Y.number().int().min(0).max(ZW).default(WZ.recurringMaxAgeMs)}).refine((Q)=>Q.oneShotFloorMs<=Q.oneShotMaxMs))});import{mkdir as JW,readFile as HW,unlink as yY,writeFile as nZ}from"fs/promises";import{dirname as NW,join as PY}from"path";function HZ(Q){return PY(Q??wY(),BW)}async function $Y(Q){let Z;try{Z=await HW(HZ(Q),"utf8")}catch{return}let W=LW().safeParse(UY(Z,!1));return W.success?W.data:void 0}async function _Y(Q,Z){let W=HZ(Z),X=ZZ(Q);try{return await nZ(W,X,{flag:"wx"}),!0}catch(V){let J=aZ(V);if(J==="EEXIST")return!1;if(J==="ENOENT"){await JW(NW(W),{recursive:!0});try{return await nZ(W,X,{flag:"wx"}),!0}catch(K){if(aZ(K)==="EEXIST")return!1;throw K}}throw V}}function lZ(Q){$Z?.(),$Z=OY(async()=>{await LZ(Q)})}async function iZ(Q){let Z=Q?.dir,W=Q?.lockIdentity??NZ(),X={sessionId:W,pid:process.pid,acquiredAt:Date.now()};if(await _Y(X,Z))return JZ=void 0,lZ(Q),b(`[ScheduledTasks] acquired scheduler lock (PID ${process.pid})`),!0;let V=await $Y(Z);if(V?.sessionId===W){if(V.pid!==process.pid)await nZ(HZ(Z),ZZ(X)),lZ(Q);return!0}if(V&&EY(V.pid)){if(JZ!==V.sessionId)JZ=V.sessionId,b(`[ScheduledTasks] scheduler lock held by session ${V.sessionId} (PID ${V.pid})`);return!1}if(V)b(`[ScheduledTasks] recovering stale scheduler lock from PID ${V.pid}`);if(await yY(HZ(Z)).catch(()=>{}),await _Y(X,Z))return JZ=void 0,lZ(Q),!0;return!1}async function LZ(Q){$Z?.(),$Z=void 0,JZ=void 0;let Z=Q?.dir,W=Q?.lockIdentity??NZ(),X=await $Y(Z);if(!X||X.sessionId!==W)return;try{await yY(HZ(Z)),b("[ScheduledTasks] released scheduler lock")}catch{}}var BW,LW,$Z,JZ;var jY=AZ(()=>{GZ();BZ();VW();KZ();gZ();GW();KW();OZ();PZ();BW=PY(".claudio","scheduled_tasks.lock"),LW=q(()=>Y.object({sessionId:Y.string(),pid:Y.number(),acquiredAt:Y.number()}))});var AW={};fZ(AW,{isRecurringTaskAged:()=>kY,createCronScheduler:()=>vW,buildMissedTaskNotification:()=>xY});function kY(Q,Z,W){if(W===0)return!1;return Boolean(Q.recurring&&!Q.permanent&&Z-Q.createdAt>=W)}function vW(Q){let{onFire:Z,isLoading:W,assistantMode:X=!1,onFireTask:V,onMissed:J,dir:K,lockIdentity:H,getJitterConfig:B,isKilled:z,filter:G}=Q,L=K||H?{dir:K,lockIdentity:H}:void 0,w=[],v=new Map,_=new Set,P=new Set,C=null,D=null,$=null,y=null,T=!1,O=!1;async function j(S){let m=await RY(K);if(T)return;if(w=m,!S)return;let g=Date.now(),x=hY(m,g).filter((A)=>!A.recurring&&!_.has(A.id)&&(!G||G(A)));if(x.length>0){for(let A of x)_.add(A.id),v.set(A.id,1/0);if(d("tengu_scheduled_task_missed",{count:x.length,taskIds:x.map((A)=>A.id).join(",")}),J)J(x);else Z(xY(x));rZ(x.map((A)=>A.id),K).catch((A)=>b(`[ScheduledTasks] failed to remove missed tasks: ${A}`)),b(`[ScheduledTasks] surfaced ${x.length} missed one-shot task(s)`)}}function l(){if(z?.())return;if(W()&&!X)return;let S=Date.now(),m=new Set,g=[],x=B?.()??WZ;function A(N,R){if(G&&!G(N))return;if(m.add(N.id),P.has(N.id))return;let h=v.get(N.id);if(h===void 0)h=N.recurring?oZ(N.cron,N.lastFiredAt??N.createdAt,N.id,x)??1/0:SY(N.cron,N.createdAt,N.id,x)??1/0,v.set(N.id,h),b(`[ScheduledTasks] scheduled ${N.id} for ${h===1/0?"never":new Date(h).toISOString()}`);if(S<h)return;if(b(`[ScheduledTasks] firing ${N.id}${N.recurring?" (recurring)":""}`),d("tengu_scheduled_task_fire",{recurring:N.recurring??!1,taskId:N.id}),V)V(N);else Z(N.prompt);let r=kY(N,S,x.recurringMaxAgeMs);if(r){let t=Math.floor((S-N.createdAt)/1000/60/60);b(`[ScheduledTasks] recurring task ${N.id} aged out (${t}h since creation), deleting after final fire`),d("tengu_scheduled_task_expired",{taskId:N.id,ageHours:t})}if(N.recurring&&!r){let t=oZ(N.cron,S,N.id,x)??1/0;if(v.set(N.id,t),!R)g.push(N.id)}else if(R)IY([N.id]),v.delete(N.id);else P.add(N.id),rZ([N.id],K).catch((t)=>b(`[ScheduledTasks] failed to remove task ${N.id}: ${t}`)).finally(()=>P.delete(N.id)),v.delete(N.id)}if(O){for(let N of w)A(N,!1);if(g.length>0){for(let N of g)P.add(N);fY(g,S,K).catch((N)=>b(`[ScheduledTasks] failed to persist lastFiredAt: ${N}`)).finally(()=>{for(let N of g)P.delete(N)})}}if(K===void 0)for(let N of bY())A(N,!0);if(m.size===0){v.clear();return}for(let N of v.keys())if(!m.has(N))v.delete(N)}async function n(){if(T)return;if(C)clearInterval(C),C=null;let{default:S}=await import("./index-0.1.15-z3k5tm3n.mjs");if(T)return;if(O=await iZ(L).catch(()=>!1),T){if(O)O=!1,LZ(L);return}if(!O)$=setInterval(()=>{iZ(L).then((g)=>{if(T){if(g)LZ(L);return}if(g){if(O=!0,$)clearInterval($),$=null}}).catch((g)=>b(String(g),{level:"error"}))},DW),$.unref?.();j(!0);let m=TY(K);y=S.watch(m,{persistent:!1,ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:qW},ignorePermissionErrors:!0}),y.on("add",()=>void j(!1)),y.on("change",()=>void j(!1)),y.on("unlink",()=>{if(!T)w=[],v.clear()}),D=setInterval(l,FY),D.unref?.()}return{start(){if(T=!1,K!==void 0){b(`[ScheduledTasks] scheduler start() — dir=${K}, hasTasks=${jZ(K)}`),n();return}if(b(`[ScheduledTasks] scheduler start() — enabled=${zZ()}, hasTasks=${jZ()}`),!zZ()&&(X||jZ()))MY(!0);if(zZ()){n();return}C=setInterval((S)=>{if(zZ())S()},FY,n),C.unref?.()},stop(){if(T=!0,C)clearInterval(C),C=null;if(D)clearInterval(D),D=null;if($)clearInterval($),$=null;if(y?.close(),y=null,O)O=!1,LZ(L)},getNextFireTime(){let S=1/0;for(let m of v.values())if(m<S)S=m;return S===1/0?null:S}}}function xY(Q){let Z=Q.length>1,W=`The following one-shot scheduled task${Z?"s were":" was"} missed while Claude was not running. ${Z?"They have":"It has"} already been removed from .claudio/scheduled_tasks.json.
9
+ `)}Z[3]=X,Z[4]=H,Z[5]=B,Z[6]=V,Z[7]=z,Z[8]=K,Z[9]=G,Z[10]=L,Z[11]=w,Z[12]=v,Z[13]=_,Z[14]=P,Z[15]=C,Z[16]=D}else G=Z[9],L=Z[10],w=Z[11],v=Z[12],_=Z[13],P=Z[14],C=Z[15],D=Z[16];if(D!==Symbol.for("react.early_return_sentinel"))return D;let $;if(Z[21]!==G||Z[22]!==w||Z[23]!==v||Z[24]!==_)$=E(G,{color:w,dimColor:v,children:_}),Z[21]=G,Z[22]=w,Z[23]=v,Z[24]=_,Z[25]=$;else $=Z[25];let y;if(Z[26]!==L||Z[27]!==P||Z[28]!==C||Z[29]!==$)y=E(L,{flexDirection:P,width:C,children:$}),Z[26]=L,Z[27]=P,Z[28]=C,Z[29]=$,Z[30]=y;else y=Z[30];return y}function ZQ(Q,Z,W){let X=Q.findIndex((B)=>B.uuid===Z);if(X===-1)return;let V=W?Q.findIndex((B)=>B.uuid===W):Q.length;if(V===-1)V=Q.length;let J=[],K=0,H=0;for(let B=X+1;B<V;B++){let z=Q[B];if(!z||!hZ(z))continue;let G=z.toolUseResult;if(!G||!G.filePath||!G.structuredPatch)continue;if(!J.includes(G.filePath))J.push(G.filePath);try{if("type"in G&&G.type==="create")K+=G.content.split(/\r?\n/).length;else for(let L of G.structuredPatch){let w=CZ(L.lines,(_)=>_.startsWith("+")),v=CZ(L.lines,(_)=>_.startsWith("-"));K+=w,H+=v}}catch{continue}}return{filesChanged:J,insertions:K,deletions:H}}function S0(Q){if(Q.type!=="user")return!1;if(Array.isArray(Q.message.content)&&Q.message.content[0]?.type==="tool_result")return!1;if(SZ(Q))return!1;if(Q.isMeta)return!1;if(Q.isCompactSummary||Q.isVisibleInTranscriptOnly)return!1;let Z=Q.message.content,W=typeof Z==="string"?null:Z[Z.length-1],X=typeof Z==="string"?Z.trim():W&&R0(W)?W.text.trim():"";if(X.indexOf(`<${z0}>`)!==-1||X.indexOf(`<${q0}>`)!==-1||X.indexOf(`<${B0}>`)!==-1||X.indexOf(`<${L0}>`)!==-1||X.indexOf(`<${v0}>`)!==-1||X.indexOf(`<${D0}>`)!==-1||X.indexOf(`<${A0}`)!==-1)return!1;return!0}function YQ(Q,Z){for(let W=Z+1;W<Q.length;W++){let X=Q[W];if(!X)continue;if(SZ(X))continue;if(hZ(X))continue;if(X.type==="progress")continue;if(X.type==="system")continue;if(X.type==="attachment")continue;if(X.type==="user"&&X.isMeta)continue;if(X.type==="assistant"){let V=X.message.content;if(Array.isArray(V)){if(V.some((K)=>K.type==="text"&&K.text.trim()||K.type==="tool_use"))return!1}continue}if(X.type==="user")return!1}return!0}var VZ,I,bZ=7;var WQ=AZ(()=>{S9();_Z();i9();n9();w0();g9();u9();c9();f9();wZ();l9();a9();m9();R9();h9();k9();d9();J0();VZ=N0(p9(),1),I=N0(x9(),1)});var WW={};fZ(WW,{getCronJitterConfig:()=>QW});function QW(){let Q=vY("tengu_kairos_cron_config",WZ,eQ),Z=YW().safeParse(Q);return Z.success?Z.data:WZ}var eQ=60000,dZ=1800000,ZW=2592000000,YW;var XW=AZ(()=>{GZ();tQ();AY();OZ();YW=q(()=>Y.object({recurringFrac:Y.number().min(0).max(1),recurringCapMs:Y.number().int().min(0).max(dZ),oneShotMaxMs:Y.number().int().min(0).max(dZ),oneShotFloorMs:Y.number().int().min(0).max(dZ),oneShotMinuteMod:Y.number().int().min(1).max(60),recurringMaxAgeMs:Y.number().int().min(0).max(ZW).default(WZ.recurringMaxAgeMs)}).refine((Q)=>Q.oneShotFloorMs<=Q.oneShotMaxMs))});import{mkdir as JW,readFile as HW,unlink as yY,writeFile as nZ}from"fs/promises";import{dirname as NW,join as PY}from"path";function HZ(Q){return PY(Q??wY(),BW)}async function $Y(Q){let Z;try{Z=await HW(HZ(Q),"utf8")}catch{return}let W=LW().safeParse(UY(Z,!1));return W.success?W.data:void 0}async function _Y(Q,Z){let W=HZ(Z),X=ZZ(Q);try{return await nZ(W,X,{flag:"wx"}),!0}catch(V){let J=aZ(V);if(J==="EEXIST")return!1;if(J==="ENOENT"){await JW(NW(W),{recursive:!0});try{return await nZ(W,X,{flag:"wx"}),!0}catch(K){if(aZ(K)==="EEXIST")return!1;throw K}}throw V}}function lZ(Q){$Z?.(),$Z=OY(async()=>{await LZ(Q)})}async function iZ(Q){let Z=Q?.dir,W=Q?.lockIdentity??NZ(),X={sessionId:W,pid:process.pid,acquiredAt:Date.now()};if(await _Y(X,Z))return JZ=void 0,lZ(Q),b(`[ScheduledTasks] acquired scheduler lock (PID ${process.pid})`),!0;let V=await $Y(Z);if(V?.sessionId===W){if(V.pid!==process.pid)await nZ(HZ(Z),ZZ(X)),lZ(Q);return!0}if(V&&EY(V.pid)){if(JZ!==V.sessionId)JZ=V.sessionId,b(`[ScheduledTasks] scheduler lock held by session ${V.sessionId} (PID ${V.pid})`);return!1}if(V)b(`[ScheduledTasks] recovering stale scheduler lock from PID ${V.pid}`);if(await yY(HZ(Z)).catch(()=>{}),await _Y(X,Z))return JZ=void 0,lZ(Q),!0;return!1}async function LZ(Q){$Z?.(),$Z=void 0,JZ=void 0;let Z=Q?.dir,W=Q?.lockIdentity??NZ(),X=await $Y(Z);if(!X||X.sessionId!==W)return;try{await yY(HZ(Z)),b("[ScheduledTasks] released scheduler lock")}catch{}}var BW,LW,$Z,JZ;var jY=AZ(()=>{GZ();BZ();VW();KZ();gZ();GW();KW();OZ();PZ();BW=PY(".claudio","scheduled_tasks.lock"),LW=q(()=>Y.object({sessionId:Y.string(),pid:Y.number(),acquiredAt:Y.number()}))});var AW={};fZ(AW,{isRecurringTaskAged:()=>kY,createCronScheduler:()=>vW,buildMissedTaskNotification:()=>xY});function kY(Q,Z,W){if(W===0)return!1;return Boolean(Q.recurring&&!Q.permanent&&Z-Q.createdAt>=W)}function vW(Q){let{onFire:Z,isLoading:W,assistantMode:X=!1,onFireTask:V,onMissed:J,dir:K,lockIdentity:H,getJitterConfig:B,isKilled:z,filter:G}=Q,L=K||H?{dir:K,lockIdentity:H}:void 0,w=[],v=new Map,_=new Set,P=new Set,C=null,D=null,$=null,y=null,T=!1,O=!1;async function j(S){let m=await RY(K);if(T)return;if(w=m,!S)return;let g=Date.now(),x=hY(m,g).filter((A)=>!A.recurring&&!_.has(A.id)&&(!G||G(A)));if(x.length>0){for(let A of x)_.add(A.id),v.set(A.id,1/0);if(d("tengu_scheduled_task_missed",{count:x.length,taskIds:x.map((A)=>A.id).join(",")}),J)J(x);else Z(xY(x));rZ(x.map((A)=>A.id),K).catch((A)=>b(`[ScheduledTasks] failed to remove missed tasks: ${A}`)),b(`[ScheduledTasks] surfaced ${x.length} missed one-shot task(s)`)}}function l(){if(z?.())return;if(W()&&!X)return;let S=Date.now(),m=new Set,g=[],x=B?.()??WZ;function A(N,R){if(G&&!G(N))return;if(m.add(N.id),P.has(N.id))return;let h=v.get(N.id);if(h===void 0)h=N.recurring?oZ(N.cron,N.lastFiredAt??N.createdAt,N.id,x)??1/0:SY(N.cron,N.createdAt,N.id,x)??1/0,v.set(N.id,h),b(`[ScheduledTasks] scheduled ${N.id} for ${h===1/0?"never":new Date(h).toISOString()}`);if(S<h)return;if(b(`[ScheduledTasks] firing ${N.id}${N.recurring?" (recurring)":""}`),d("tengu_scheduled_task_fire",{recurring:N.recurring??!1,taskId:N.id}),V)V(N);else Z(N.prompt);let r=kY(N,S,x.recurringMaxAgeMs);if(r){let t=Math.floor((S-N.createdAt)/1000/60/60);b(`[ScheduledTasks] recurring task ${N.id} aged out (${t}h since creation), deleting after final fire`),d("tengu_scheduled_task_expired",{taskId:N.id,ageHours:t})}if(N.recurring&&!r){let t=oZ(N.cron,S,N.id,x)??1/0;if(v.set(N.id,t),!R)g.push(N.id)}else if(R)IY([N.id]),v.delete(N.id);else P.add(N.id),rZ([N.id],K).catch((t)=>b(`[ScheduledTasks] failed to remove task ${N.id}: ${t}`)).finally(()=>P.delete(N.id)),v.delete(N.id)}if(O){for(let N of w)A(N,!1);if(g.length>0){for(let N of g)P.add(N);fY(g,S,K).catch((N)=>b(`[ScheduledTasks] failed to persist lastFiredAt: ${N}`)).finally(()=>{for(let N of g)P.delete(N)})}}if(K===void 0)for(let N of bY())A(N,!0);if(m.size===0){v.clear();return}for(let N of v.keys())if(!m.has(N))v.delete(N)}async function n(){if(T)return;if(C)clearInterval(C),C=null;let{default:S}=await import("./index-0.2.0-pf79ppar.mjs");if(T)return;if(O=await iZ(L).catch(()=>!1),T){if(O)O=!1,LZ(L);return}if(!O)$=setInterval(()=>{iZ(L).then((g)=>{if(T){if(g)LZ(L);return}if(g){if(O=!0,$)clearInterval($),$=null}}).catch((g)=>b(String(g),{level:"error"}))},DW),$.unref?.();j(!0);let m=TY(K);y=S.watch(m,{persistent:!1,ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:qW},ignorePermissionErrors:!0}),y.on("add",()=>void j(!1)),y.on("change",()=>void j(!1)),y.on("unlink",()=>{if(!T)w=[],v.clear()}),D=setInterval(l,FY),D.unref?.()}return{start(){if(T=!1,K!==void 0){b(`[ScheduledTasks] scheduler start() — dir=${K}, hasTasks=${jZ(K)}`),n();return}if(b(`[ScheduledTasks] scheduler start() — enabled=${zZ()}, hasTasks=${jZ()}`),!zZ()&&(X||jZ()))MY(!0);if(zZ()){n();return}C=setInterval((S)=>{if(zZ())S()},FY,n),C.unref?.()},stop(){if(T=!0,C)clearInterval(C),C=null;if(D)clearInterval(D),D=null;if($)clearInterval($),$=null;if(y?.close(),y=null,O)O=!1,LZ(L)},getNextFireTime(){let S=1/0;for(let m of v.values())if(m<S)S=m;return S===1/0?null:S}}}function xY(Q){let Z=Q.length>1,W=`The following one-shot scheduled task${Z?"s were":" was"} missed while Claude was not running. ${Z?"They have":"It has"} already been removed from .claudio/scheduled_tasks.json.
10
10
 
11
11
  Do NOT execute ${Z?"these prompts":"this prompt"} yet. First use the AskUserQuestion tool to ask whether to run ${Z?"each one":"it"} now. Only execute if the user confirms.`,X=Q.map((V)=>{let J=`[${CY(V.cron)}, created ${new Date(V.createdAt).toLocaleString()}]`,K=(V.prompt.match(/`+/g)??[]).reduce((B,z)=>Math.max(B,z.length),0),H="`".repeat(Math.max(3,K+1));return`${J}
12
12
  ${H}
@@ -20,5 +20,5 @@ ${X.join(`
20
20
  `);if(W===-1)break;let X=Q.slice(0,W);Q=Q.slice(W+1);let V=await this.processLine(X);if(V)GY("info","cli_stdin_message_parsed",{type:V.type}),yield V}}.bind(this);yield*Z();for await(let W of this.input)Q+=W,yield*Z();if(Q){let W=await this.processLine(Q);if(W)yield W}this.inputClosed=!0;for(let W of this.pendingRequests.values())W.reject(Error("Tool permission stream closed before response received"))}getPendingPermissionRequests(){return Array.from(this.pendingRequests.values()).map((Q)=>Q.request).filter((Q)=>Q.request.subtype==="can_use_tool")}setUnexpectedResponseCallback(Q){this.unexpectedResponseCallback=Q}injectControlResponse(Q){let Z=Q.response?.request_id;if(!Z)return;let W=this.pendingRequests.get(Z);if(!W)return;if(this.trackResolvedToolUseId(W.request),this.pendingRequests.delete(Z),this.write({type:"control_cancel_request",request_id:Z}),Q.response.subtype==="error")W.reject(Error(Q.response.error));else{let X=Q.response.response;if(W.schema)try{W.resolve(W.schema.parse(X))}catch(V){W.reject(V)}else W.resolve({})}}setOnControlRequestSent(Q){this.onControlRequestSent=Q}setOnControlRequestResolved(Q){this.onControlRequestResolved=Q}async processLine(Q){if(!Q)return;try{let Z=DY(VY(Q));if(Z.type==="keep_alive")return;if(Z.type==="update_environment_variables"){let W=Object.keys(Z.variables);for(let[X,V]of Object.entries(Z.variables))process.env[X]=V;b(`[structuredIO] applied update_environment_variables: ${W.join(", ")}`);return}if(Z.type==="control_response"){let W="uuid"in Z&&typeof Z.uuid==="string"?Z.uuid:void 0;if(W)JY(W,"completed");let X=this.pendingRequests.get(Z.response.request_id);if(!X){let K=(Z.response.subtype==="success"?Z.response.response:void 0)?.toolUseID;if(typeof K==="string"&&this.resolvedToolUseIds.has(K)){b(`Ignoring duplicate control_response for already-resolved toolUseID=${K} request_id=${Z.response.request_id}`);return}if(this.unexpectedResponseCallback)await this.unexpectedResponseCallback(Z);return}if(this.trackResolvedToolUseId(X.request),this.pendingRequests.delete(Z.response.request_id),X.request.request.subtype==="can_use_tool"&&this.onControlRequestResolved)this.onControlRequestResolved(Z.response.request_id);if(Z.response.subtype==="error"){X.reject(Error(Z.response.error));return}let V=Z.response.response;if(X.schema)try{X.resolve(X.schema.parse(V))}catch(J){X.reject(J)}else X.resolve({});if(this.replayUserMessages)return Z;return}if(Z.type!=="user"&&Z.type!=="control_request"&&Z.type!=="assistant"&&Z.type!=="system"){b(`Ignoring unknown message type: ${Z.type}`,{level:"warn"});return}if(Z.type==="control_request"){if(!Z.request)WY("Error: Missing request on control_request");return Z}if(Z.type==="assistant"||Z.type==="system")return Z;if(Z.message.role!=="user")WY(`Error: Expected message role 'user', got '${Z.message.role}'`);return Z}catch(Z){console.error(`Error parsing streaming input line: ${Q}: ${Z}`),process.exit(1)}}async write(Q){KY(QY(Q)+`
21
21
  `)}async sendRequest(Q,Z,W,X=cZ()){let V={type:"control_request",request_id:X,request:Q};if(this.inputClosed)throw Error("Stream closed");if(W?.aborted)throw Error("Request aborted");if(this.outbound.enqueue(V),Q.subtype==="can_use_tool"&&this.onControlRequestSent)this.onControlRequestSent(V);let J=()=>{this.outbound.enqueue({type:"control_cancel_request",request_id:X});let K=this.pendingRequests.get(X);if(K)this.trackResolvedToolUseId(K.request),K.reject(new XY)};if(W)W.addEventListener("abort",J,{once:!0});try{return await new Promise((K,H)=>{this.pendingRequests.set(X,{request:{type:"control_request",request_id:X,request:Q},resolve:(B)=>{K(B)},reject:H,schema:Z})})}finally{if(W)W.removeEventListener("abort",J);this.pendingRequests.delete(X)}}createCanUseTool(Q){return async(Z,W,X,V,J,K)=>{let H=K??await NY(Z,W,X,V,J);if(H.behavior==="allow"||H.behavior==="deny")return H;let B=new AbortController,z=X.abortController.signal,G=()=>B.abort();z.addEventListener("abort",G,{once:!0});try{let L=sQ(Z.name,J,W,X,H.suggestions).then((P)=>({source:"hook",decision:P})),w=cZ();Q?.(iQ(Z,W,J,w));let v=this.sendRequest({subtype:"can_use_tool",tool_name:Z.name,input:W,permission_suggestions:H.suggestions,blocked_path:H.blockedPath,decision_reason:nQ(H.decisionReason),tool_use_id:J,agent_id:X.agentId},kZ(),B.signal,w).then((P)=>({source:"sdk",result:P})),_=await Promise.race([L,v]);if(_.source==="hook"){if(_.decision)return v.catch(()=>{}),B.abort(),_.decision;let P=await v;return yZ(P.result,Z,W,X)}return yZ(_.result,Z,W,X)}catch(L){return yZ({behavior:"deny",message:`Tool permission request failed: ${L}`,toolUseID:J},Z,W,X)}finally{if(this.getPendingPermissionRequests().length===0)qY("running");z.removeEventListener("abort",G)}}}createHookCallback(Q,Z){return{type:"callback",timeout:Z,callback:async(W,X,V)=>{try{return await this.sendRequest({subtype:"hook_callback",callback_id:Q,input:W,tool_use_id:X||void 0},BY(),V)}catch(J){return console.error(`Error in hook callback ${Q}:`,J),{}}}}}async handleElicitation(Q,Z,W,X,V,J,K){try{return await this.sendRequest({subtype:"elicitation",mcp_server_name:Q,message:Z,mode:V,url:J,elicitation_id:K,requested_schema:W},e0(),X)}catch{return{action:"cancel"}}}createSandboxAskCallback(){return async(Q)=>{try{return(await this.sendRequest({subtype:"can_use_tool",tool_name:aQ,input:{host:Q.host},tool_use_id:cZ(),description:`Allow network connection to ${Q.host}?`},kZ())).behavior==="allow"}catch{return!1}}}async sendMcpMessage(Q,Z){return(await this.sendRequest({subtype:"mcp_message",server_name:Q,message:Z},Y.object({mcp_response:Y.any()}))).mcp_response}}function WY(Q){console.error(Q),process.exit(1)}async function sQ(Q,Z,W,X,V){let K=X.getAppState().toolPermissionContext.mode,H=LY(Q,Z,W,X,K,V,X.abortController.signal);for await(let B of H)if(B.permissionRequestResult&&(B.permissionRequestResult.behavior==="allow"||B.permissionRequestResult.behavior==="deny")){let z=B.permissionRequestResult;if(z.behavior==="allow"){let G=z.updatedInput||W,L=z.updatedPermissions??[];if(L.length>0){EZ(L);let w=X.getAppState(),v=UZ(w.toolPermissionContext,L);X.setAppState((_)=>{if(_.toolPermissionContext===v)return _;return{..._,toolPermissionContext:v}})}return{behavior:"allow",updatedInput:G,userModified:!1,decisionReason:{type:"hook",hookName:"PermissionRequest"}}}else return{behavior:"deny",message:z.message||"Permission denied by PermissionRequest hook",decisionReason:{type:"hook",hookName:"PermissionRequest"}}}return}BZ();PW();OW();yW();wW();EW();UW();import{randomUUID as $W}from"crypto";function jW(Q){return Q===mY?cY:Q}function SX(Q){let W=gY()?.outputStyle??aY,X={type:"system",subtype:"init",cwd:uY(),session_id:NZ(),tools:Q.tools.map((V)=>jW(V.name)),mcp_servers:Q.mcpClients.map((V)=>({name:V.name,status:V.type})),model:Q.model,permissionMode:Q.permissionMode,slash_commands:Q.commands.filter((V)=>V.userInvocable!==!1).map((V)=>V.name),apiKeySource:lY().source,betas:pY(),claude_code_version:"99.0.0",output_style:W,agents:Q.agents.map((V)=>V.agentType),skills:Q.skills.filter((V)=>V.userInvocable!==!1).map((V)=>V.name),plugins:Q.plugins.map((V)=>({name:V.name,path:V.path,source:V.source})),uuid:$W()};return X.fast_mode_state=dY(Q.model,Q.fastMode),X}var nY={"`":"`",'"':'"',"<":">","{":"}","[":"]","(":")","'":"'"};function FW(Q,Z){if(!new RegExp(Z,"i").test(Q))return[];if(Q.startsWith("/"))return[];let X=[],V=null,J=0,K=(G)=>!!G&&/[\p{L}\p{N}_]/u.test(G);for(let G=0;G<Q.length;G++){let L=Q[G];if(V){if(V==="["&&L==="["){J=G;continue}if(L!==nY[V])continue;if(V==="'"&&K(Q[G+1]))continue;X.push({start:J,end:G+1}),V=null}else if(L==="<"&&G+1<Q.length&&/[a-zA-Z/]/.test(Q[G+1])||L==="'"&&!K(Q[G-1])||L!=="<"&&L!=="'"&&L in nY)V=L,J=G}let H=[],B=new RegExp(`\\b${Z}\\b`,"gi"),z=Q.matchAll(B);for(let G of z){if(G.index===void 0)continue;let L=G.index,w=L+G[0].length;if(X.some((P)=>L>=P.start&&L<P.end))continue;let v=Q[L-1],_=Q[w];if(v==="/"||v==="\\"||v==="-")continue;if(_==="/"||_==="\\"||_==="-"||_==="?")continue;if(_==="."&&K(Q[w+1]))continue;H.push({word:G[0],start:L,end:w})}return H}function kX(Q){return FW(Q,"ultrareview")}_Z();wZ();kW();SW();hW();CW();zY();G0();TW();wZ();fW();RW();import{randomUUID as xW}from"crypto";BZ();_Z();wZ();MW();bW();import{randomUUID as IW}from"crypto";function iY(Q){let Z=Q.toLowerCase();return/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b/.test(Z)}function rY(Q){let Z=Q.toLowerCase().trim();if(Z==="continue")return!0;return/\b(keep going|go on)\b/.test(Z)}function Z9(Q,Z,W,X,V,J,K){let H=IW();oY(H);let B=typeof Q==="string"?Q:Q.find((v)=>v.type==="text")?.text||"";eY(B);let z=typeof Q==="string"?Q:Q.findLast((v)=>v.type==="text")?.text||"";if(z)tY("user_prompt",{prompt_length:String(z.length),prompt:sY(z),"prompt.id":H});let G=iY(B),L=rY(B);if(d("tengu_input_prompt",{is_negative:G,is_keep_going:L}),Z.length>0){let v=typeof Q==="string"?Q.trim()?[{type:"text",text:Q}]:[]:Q;return{messages:[s({content:[...v,...Z],uuid:V,imagePasteIds:W.length>0?W:void 0,permissionMode:J,isMeta:K||void 0}),...X],shouldQuery:!0}}return{messages:[s({content:Q,uuid:V,permissionMode:J,isMeta:K||void 0}),...X],shouldQuery:!0}}async function BV({input:Q,preExpansionInput:Z,mode:W,setToolJSX:X,context:V,pastedContents:J,ideSelection:K,messages:H,setUserInputOnProcessing:B,uuid:z,isAlreadyProcessing:G,querySource:L,canUseTool:w,skipSlashCommands:v,bridgeOrigin:_,isMeta:P,skipAttachments:C}){let D=typeof Q==="string"?Q:null;if(W==="prompt"&&D!==null&&!P)B?.(D);i("query_process_user_input_base_start");let $=V.getAppState(),y=await pW(Q,W,X,V,J,K,H,z,G,L,w,$.toolPermissionContext.mode,v,_,P,C,Z);if(i("query_process_user_input_base_end"),!y.shouldQuery)return y;i("query_hooks_start");let T=J9(Q)||"";for await(let O of D9(T,$.toolPermissionContext.mode,V,V.requestPrompt)){if(O.message?.type==="progress")continue;if(O.blockingError){let j=q9(O.blockingError);return{messages:[H9(`${j}
22
22
 
23
- Original prompt: ${Q}`,"warning")],shouldQuery:!1,allowedTools:y.allowedTools}}if(O.preventContinuation){let j=O.stopReason?`Operation stopped by hook: ${O.stopReason}`:"Operation stopped by hook";return y.messages.push(s({content:j})),y.shouldQuery=!1,y}if(O.additionalContexts&&O.additionalContexts.length>0)y.messages.push(G9({type:"hook_additional_context",content:O.additionalContexts.map(Y9),hookName:"UserPromptSubmit",toolUseID:`hook-${xW()}`,hookEvent:"UserPromptSubmit"}));if(O.message)switch(O.message.attachment.type){case"hook_success":if(!O.message.attachment.content)break;y.messages.push({...O.message,attachment:{...O.message.attachment,content:Y9(O.message.attachment.content)}});break;default:y.messages.push(O.message);break}}return i("query_hooks_end"),y}var tZ=1e4;function Y9(Q){if(Q.length>tZ)return`${Q.substring(0,tZ)}… [output truncated - exceeded ${tZ} characters]`;return Q}async function pW(Q,Z,W,X,V,J,K,H,B,z,G,L,w,v,_,P,C){let D=null,$=[],y=[],T=Q;if(typeof Q==="string")D=Q;else if(Q.length>0){i("query_image_processing_start");let A=[];for(let R of Q)if(R.type==="image"){let h=await Z0(R);if(h.dimensions){let r=FZ(h.dimensions);if(r)y.push(r)}A.push(h.block)}else A.push(R);T=A,i("query_image_processing_end");let N=A[A.length-1];if(N?.type==="text")D=N.text,$=A.slice(0,-1);else $=A}if(D===null&&Z!=="prompt")throw Error(`Mode: ${Z} requires a string input.`);let O=V?Object.values(V).filter(V9):[],j=O.map((A)=>A.id),l=V?await W9(V):new Map;i("query_pasted_image_processing_start");let n=await Promise.all(O.map(async(A)=>{let N={type:"image",source:{type:"base64",media_type:A.mediaType||"image/png",data:A.content}};return d("tengu_pasted_image_resize_attempt",{original_size_bytes:A.content.length}),{resized:await Z0(N),originalDimensions:A.dimensions,sourcePath:A.sourcePath??l.get(A.id)}})),S=[];for(let{resized:A,originalDimensions:N,sourcePath:R}of n){if(A.dimensions){let h=FZ(A.dimensions,R);if(h)y.push(h)}else if(N){let h=FZ(N,R);if(h)y.push(h)}else if(R)y.push(`[Image source: ${R}]`);S.push(A.block)}i("query_pasted_image_processing_end");let m=w;if(v&&D!==null&&D.startsWith("/")){let A=X9(D),N=A?z9(A.commandName,X.options.commands):void 0;if(N)if(L9(N))m=!1;else{let R=`/${B9(N)} isn't available over Remote Control.`;return{messages:[s({content:D,uuid:H}),N9(`<local-command-stdout>${R}</local-command-stdout>`)],shouldQuery:!1,resultText:R}}}let g=!P&&D!==null&&(Z!=="prompt"||m||!D.startsWith("/"));i("query_attachment_loading_start");let x=g?await Q9(K9(D,X,J??null,[],K,z)):[];if(i("query_attachment_loading_end"),D!==null&&Z==="bash"){let{processBashCommand:A}=await import("./processBashCommand-0.1.15-57ga0c30.mjs");return eZ(await A(D,$,x,X,W),y)}if(D!==null&&!m&&D.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-0.1.15-mee2mbyy.mjs"),N=await A(D,$,S,x,X,W,H,B,G);return eZ(N,y)}if(D!==null&&Z==="prompt"){let A=D.trim(),N=x.find((R)=>R.attachment.type==="agent_mention");if(N){let R=`@agent-${N.attachment.agentType}`,h=A===R,r=A.startsWith(R)&&!h;d("tengu_subagent_at_mention",{is_subagent_only:h,is_prefix:r})}}return eZ(Z9(T,S,j,x,H,L,_),y)}function eZ(Q,Z){if(Z.length>0)Q.messages.push(s({content:Z.map((W)=>({type:"text",text:W})),isMeta:!0}));return Q}gW();BZ();KZ();gZ();mW();uW();w0();dW();cW();import{isAbsolute as lW,resolve as aW}from"path";function nW(Q,Z,W){let X=[],V=[],J=[];for(let[K,H]of Object.entries(Q)){let B=Z[K],z=P9(H.source,W?.projectRoot);if(!B)X.push(K);else if(H.sourceIsFallback)J.push(K);else if(!O9(z,B.source))V.push({name:K,declaredSource:z,materializedSource:B.source});else J.push(K)}return{missing:X,sourceChanged:V,upToDate:J}}async function yV(Q){let Z=U9();if(Object.keys(Z).length===0)return{installed:[],updated:[],failed:[],upToDate:[],skipped:[]};let W;try{W=await E9()}catch(G){e(G),W={}}let X=nW(Z,W,{projectRoot:Y0()}),V=[...X.missing.map((G)=>({name:G,source:P9(Z[G].source),action:"install"})),...X.sourceChanged.map(({name:G,declaredSource:L})=>({name:G,source:L,action:"update"}))],J=[],K=[];for(let G of V){if(Q?.skip?.(G.name,G.source)){J.push(G.name);continue}if(G.action==="update"&&w9(G.source)&&!await _9(G.source.path)){b(`[reconcile] '${G.name}' declared path does not exist; keeping materialized entry`),J.push(G.name);continue}K.push(G)}if(K.length===0)return{installed:[],updated:[],failed:[],upToDate:X.upToDate,skipped:J};b(`[reconcile] ${K.length} marketplace(s): ${K.map((G)=>`${G.name}(${G.action})`).join(", ")}`);let H=[],B=[],z=[];for(let G=0;G<K.length;G++){let{name:L,source:w,action:v}=K[G];Q?.onProgress?.({type:"installing",name:L,action:v,index:G+1,total:K.length});try{let _=await y9(w);if(v==="install")H.push(L);else B.push(L);Q?.onProgress?.({type:"installed",name:L,alreadyMaterialized:_.alreadyMaterialized})}catch(_){let P=v9(_);z.push({name:L,error:P}),Q?.onProgress?.({type:"failed",name:L,error:P}),e(_)}}return{installed:H,updated:B,failed:z,upToDate:X.upToDate,skipped:J}}function P9(Q,Z){if((Q.source==="directory"||Q.source==="file")&&!lW(Q.path)){let W=Z??Y0(),X=A9(W);return{...Q,path:aW(X??W,Q.path)}}return Q}
23
+ Original prompt: ${Q}`,"warning")],shouldQuery:!1,allowedTools:y.allowedTools}}if(O.preventContinuation){let j=O.stopReason?`Operation stopped by hook: ${O.stopReason}`:"Operation stopped by hook";return y.messages.push(s({content:j})),y.shouldQuery=!1,y}if(O.additionalContexts&&O.additionalContexts.length>0)y.messages.push(G9({type:"hook_additional_context",content:O.additionalContexts.map(Y9),hookName:"UserPromptSubmit",toolUseID:`hook-${xW()}`,hookEvent:"UserPromptSubmit"}));if(O.message)switch(O.message.attachment.type){case"hook_success":if(!O.message.attachment.content)break;y.messages.push({...O.message,attachment:{...O.message.attachment,content:Y9(O.message.attachment.content)}});break;default:y.messages.push(O.message);break}}return i("query_hooks_end"),y}var tZ=1e4;function Y9(Q){if(Q.length>tZ)return`${Q.substring(0,tZ)}… [output truncated - exceeded ${tZ} characters]`;return Q}async function pW(Q,Z,W,X,V,J,K,H,B,z,G,L,w,v,_,P,C){let D=null,$=[],y=[],T=Q;if(typeof Q==="string")D=Q;else if(Q.length>0){i("query_image_processing_start");let A=[];for(let R of Q)if(R.type==="image"){let h=await Z0(R);if(h.dimensions){let r=FZ(h.dimensions);if(r)y.push(r)}A.push(h.block)}else A.push(R);T=A,i("query_image_processing_end");let N=A[A.length-1];if(N?.type==="text")D=N.text,$=A.slice(0,-1);else $=A}if(D===null&&Z!=="prompt")throw Error(`Mode: ${Z} requires a string input.`);let O=V?Object.values(V).filter(V9):[],j=O.map((A)=>A.id),l=V?await W9(V):new Map;i("query_pasted_image_processing_start");let n=await Promise.all(O.map(async(A)=>{let N={type:"image",source:{type:"base64",media_type:A.mediaType||"image/png",data:A.content}};return d("tengu_pasted_image_resize_attempt",{original_size_bytes:A.content.length}),{resized:await Z0(N),originalDimensions:A.dimensions,sourcePath:A.sourcePath??l.get(A.id)}})),S=[];for(let{resized:A,originalDimensions:N,sourcePath:R}of n){if(A.dimensions){let h=FZ(A.dimensions,R);if(h)y.push(h)}else if(N){let h=FZ(N,R);if(h)y.push(h)}else if(R)y.push(`[Image source: ${R}]`);S.push(A.block)}i("query_pasted_image_processing_end");let m=w;if(v&&D!==null&&D.startsWith("/")){let A=X9(D),N=A?z9(A.commandName,X.options.commands):void 0;if(N)if(L9(N))m=!1;else{let R=`/${B9(N)} isn't available over Remote Control.`;return{messages:[s({content:D,uuid:H}),N9(`<local-command-stdout>${R}</local-command-stdout>`)],shouldQuery:!1,resultText:R}}}let g=!P&&D!==null&&(Z!=="prompt"||m||!D.startsWith("/"));i("query_attachment_loading_start");let x=g?await Q9(K9(D,X,J??null,[],K,z)):[];if(i("query_attachment_loading_end"),D!==null&&Z==="bash"){let{processBashCommand:A}=await import("./processBashCommand-0.2.0-n1qzbvn8.mjs");return eZ(await A(D,$,x,X,W),y)}if(D!==null&&!m&&D.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-0.2.0-phzfkm35.mjs"),N=await A(D,$,S,x,X,W,H,B,G);return eZ(N,y)}if(D!==null&&Z==="prompt"){let A=D.trim(),N=x.find((R)=>R.attachment.type==="agent_mention");if(N){let R=`@agent-${N.attachment.agentType}`,h=A===R,r=A.startsWith(R)&&!h;d("tengu_subagent_at_mention",{is_subagent_only:h,is_prefix:r})}}return eZ(Z9(T,S,j,x,H,L,_),y)}function eZ(Q,Z){if(Z.length>0)Q.messages.push(s({content:Z.map((W)=>({type:"text",text:W})),isMeta:!0}));return Q}gW();BZ();KZ();gZ();mW();uW();w0();dW();cW();import{isAbsolute as lW,resolve as aW}from"path";function nW(Q,Z,W){let X=[],V=[],J=[];for(let[K,H]of Object.entries(Q)){let B=Z[K],z=P9(H.source,W?.projectRoot);if(!B)X.push(K);else if(H.sourceIsFallback)J.push(K);else if(!O9(z,B.source))V.push({name:K,declaredSource:z,materializedSource:B.source});else J.push(K)}return{missing:X,sourceChanged:V,upToDate:J}}async function yV(Q){let Z=U9();if(Object.keys(Z).length===0)return{installed:[],updated:[],failed:[],upToDate:[],skipped:[]};let W;try{W=await E9()}catch(G){e(G),W={}}let X=nW(Z,W,{projectRoot:Y0()}),V=[...X.missing.map((G)=>({name:G,source:P9(Z[G].source),action:"install"})),...X.sourceChanged.map(({name:G,declaredSource:L})=>({name:G,source:L,action:"update"}))],J=[],K=[];for(let G of V){if(Q?.skip?.(G.name,G.source)){J.push(G.name);continue}if(G.action==="update"&&w9(G.source)&&!await _9(G.source.path)){b(`[reconcile] '${G.name}' declared path does not exist; keeping materialized entry`),J.push(G.name);continue}K.push(G)}if(K.length===0)return{installed:[],updated:[],failed:[],upToDate:X.upToDate,skipped:J};b(`[reconcile] ${K.length} marketplace(s): ${K.map((G)=>`${G.name}(${G.action})`).join(", ")}`);let H=[],B=[],z=[];for(let G=0;G<K.length;G++){let{name:L,source:w,action:v}=K[G];Q?.onProgress?.({type:"installing",name:L,action:v,index:G+1,total:K.length});try{let _=await y9(w);if(v==="install")H.push(L);else B.push(L);Q?.onProgress?.({type:"installed",name:L,alreadyMaterialized:_.alreadyMaterialized})}catch(_){let P=v9(_);z.push({name:L,error:P}),Q?.onProgress?.({type:"failed",name:L,error:P}),e(_)}}return{installed:H,updated:B,failed:z,upToDate:X.upToDate,skipped:J}}function P9(Q,Z){if((Q.source==="directory"||Q.source==="file")&&!lW(Q.path)){let W=Z??Y0(),X=A9(W);return{...Q,path:aW(X??W,Q.path)}}return Q}
24
24
  export{rW as U,jW as V,SX as W,o9 as X,S0 as Y,YQ as Z,QQ as _,WQ as $,kX as aa,BV as ba,kZ as ca,yZ as da,QY as ea,oQ as fa,nW as ga,yV as ha,QW as ia,WW as ja,XW as ka,vW as la,AW as ma,_W as na};
@@ -0,0 +1,2 @@
1
+ import{fma as x,gma as z}from"./cli-0.2.0-b8hs09nv.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
2
+ export{A as dS,F as eS,G as fS,H as gS,J as hS};
@@ -0,0 +1,2 @@
1
+ import{D3 as d,d3 as f,k0 as j,n0 as I,x2 as b,y2 as c}from"./cli-0.2.0-h2wnach8.mjs";import{N4 as _,O4 as D}from"./cli-0.2.0-0cjgm41a.mjs";import{P4 as X,e5 as T}from"./cli-0.2.0-da216rmz.mjs";import{d6 as F,i6 as m}from"./cli-0.2.0-g2h1t6ke.mjs";import{uca as $,vca as R,wca as y,xca as E}from"./cli-0.2.0-f7tp61b0.mjs";import{mda as q,nda as h}from"./cli-0.2.0-98h2e6bt.mjs";import{Bfa as W,Efa as z,afa as k,bfa as Y,hfa as O,jfa as M,nfa as U}from"./cli-0.2.0-e9xwjcb3.mjs";import{gma as A}from"./cli-0.2.0-b8hs09nv.mjs";import{randomUUID as l}from"crypto";function p(J){if(!X.isAxiosError(J))return!1;if(!J.response)return!0;if(J.response.status>=500)return!0;return!1}async function u(J,B){let N;for(let K=0;K<=x;K++)try{return await X.get(J,B)}catch(Q){if(N=Q,!p(Q))throw Q;if(K>=x)throw W(`Teleport request failed after ${K+1} attempts: ${Y(Q)}`),Q;let V=S[K]??2000;W(`Teleport request failed (attempt ${K+1}/${x+1}), retrying in ${V}ms: ${Y(Q)}`),await b(V)}throw N}async function C(){let J=f()?.accessToken;if(J===void 0)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let B=await j();if(!B)throw Error("Unable to get organization UUID");return{accessToken:J,orgUUID:B}}async function NJ(){let{accessToken:J,orgUUID:B}=await C(),N=`${q().BASE_API_URL}/v1/sessions`;try{let K={...L(J),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},Q=await u(N,{headers:K});if(Q.status!==200)throw Error(`Failed to fetch code sessions: ${Q.statusText}`);return Q.data.data.map((Z)=>{let v=Z.session_context.sources.find((G)=>G.type==="git_repository"),H=null;if(v?.url){let G=_(v.url);if(G){let[w,P]=G.split("/");if(w&&P)H={name:P,owner:{login:w},default_branch:v.revision||void 0}}}return{id:Z.id,title:Z.title||"Untitled",description:"",status:Z.session_status,repo:H,turns:[],created_at:Z.created_at,updated_at:Z.updated_at}})}catch(K){let Q=k(K);throw F(Q),K}}function L(J){return{Authorization:`Bearer ${J}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}}async function WJ(J){let{accessToken:B,orgUUID:N}=await C(),K=`${q().BASE_API_URL}/v1/sessions/${J}`,Q={...L(B),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":N},V=await X.get(K,{headers:Q,timeout:15000,validateStatus:(Z)=>Z<500});if(V.status!==200){let v=V.data?.error?.message;if(V.status===404)throw Error(`Session not found: ${J}`);if(V.status===401)throw Error("Session expired. Please run /login to sign in again.");throw Error(v||`Failed to fetch session: ${V.status} ${V.statusText}`)}return V.data}function GJ(J){return J.session_context.outcomes?.find((N)=>N.type==="git_repository")?.git_info?.branches[0]}async function vJ(J,B,N){try{let{accessToken:K,orgUUID:Q}=await C(),V=`${q().BASE_API_URL}/v1/sessions/${J}/events`,Z={...L(K),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":Q},H={events:[{uuid:N?.uuid??l(),session_id:J,type:"user",parent_tool_use_id:null,message:{role:"user",content:B}}]};W(`[sendEventToRemoteSession] Sending event to session ${J}`);let G=await X.post(V,H,{headers:Z,validateStatus:(w)=>w<500,timeout:30000});if(G.status===200||G.status===201)return W(`[sendEventToRemoteSession] Successfully sent event to session ${J}`),!0;return W(`[sendEventToRemoteSession] Failed with status ${G.status}: ${M(G.data)}`),!1}catch(K){return W(`[sendEventToRemoteSession] Error: ${Y(K)}`),!1}}async function XJ(J,B){try{let{accessToken:N,orgUUID:K}=await C(),Q=`${q().BASE_API_URL}/v1/sessions/${J}`,V={...L(N),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":K};W(`[updateSessionTitle] Updating title for session ${J}: "${B}"`);let Z=await X.patch(Q,{title:B},{headers:V,validateStatus:(v)=>v<500});if(Z.status===200)return W(`[updateSessionTitle] Successfully updated title for session ${J}`),!0;return W(`[updateSessionTitle] Failed with status ${Z.status}: ${M(Z.data)}`),!1}catch(N){return W(`[updateSessionTitle] Error: ${Y(N)}`),!1}}var S,x,$J="ccr-byoc-2025-07-29",BJ;var g=A(()=>{T();h();I();R();d();z();D();O();E();m();c();U();S=[2000,4000,8000,16000],x=S.length;BJ=y(()=>$.object({id:$.string(),title:$.string(),description:$.string(),status:$.enum(["idle","working","waiting","completed","archived","cancelled","rejected"]),repo:$.object({name:$.string(),owner:$.object({login:$.string()}),default_branch:$.string().optional()}).nullable(),turns:$.array($.string()),created_at:$.string(),updated_at:$.string()}))});
2
+ export{$J as WV,p as XV,u as YV,BJ as ZV,C as _V,NJ as $V,L as aW,WJ as bW,GJ as cW,vJ as dW,XJ as eW,g as fW};