@claudiolabs/claudin 1.1.32 → 1.1.33

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 (836) hide show
  1. package/dist/chunks/App-1.1.33-y76d67dw.mjs +1 -0
  2. package/dist/chunks/ApproveApiKey-1.1.33-fz6kxvwx.mjs +1 -0
  3. package/dist/chunks/AutoModeOptInDialog-1.1.33-99ykhjpz.mjs +1 -0
  4. package/dist/chunks/BypassPermissionsModeDialog-1.1.33-tzr7atf1.mjs +1 -0
  5. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.33-3ehzc9bn.mjs +1 -0
  6. package/dist/chunks/ConsoleOAuthFlow-1.1.33-mptzgfxf.mjs +1 -0
  7. package/dist/chunks/DiffDialog-1.1.33-anvv0w3b.mjs +6 -0
  8. package/dist/chunks/Doctor-1.1.33-8m3ek5ex.mjs +1 -0
  9. package/dist/chunks/ExplorerDialog-1.1.33-70aphca6.mjs +6 -0
  10. package/dist/chunks/ITermBackend-1.1.33-0syshawj.mjs +1 -0
  11. package/dist/chunks/InvalidConfigDialog-1.1.33-40sq04vm.mjs +1 -0
  12. package/dist/chunks/InvalidSettingsDialog-1.1.33-tgp186pw.mjs +1 -0
  13. package/dist/chunks/MigrationDialog-1.1.33-9tcy3d33.mjs +1 -0
  14. package/dist/chunks/Onboarding-1.1.33-zjx8xhqz.mjs +1 -0
  15. package/dist/chunks/ProviderManager-1.1.33-zm2tkf0s.mjs +1 -0
  16. package/dist/chunks/REPL-1.1.33-gh2kz8dk.mjs +1 -0
  17. package/dist/chunks/ResumeConversation-1.1.33-v284310j.mjs +1 -0
  18. package/dist/chunks/TeleportProgress-1.1.33-5dqj1qp9.mjs +1 -0
  19. package/dist/chunks/TeleportRepoMismatchDialog-1.1.33-q3p5maex.mjs +1 -0
  20. package/dist/chunks/TeleportResumeWrapper-1.1.33-dhrpj9a6.mjs +1 -0
  21. package/dist/chunks/TmuxBackend-1.1.33-gph2cfsr.mjs +9 -0
  22. package/dist/chunks/ToolSearchTool-1.1.33-qv8tchk3.mjs +1 -0
  23. package/dist/chunks/TrustDialog-1.1.33-bq45cvv6.mjs +1 -0
  24. package/dist/chunks/activeProvider-1.1.33-v055y8f3.mjs +1 -0
  25. package/dist/chunks/add-dir-1.1.33-e811cqdx.mjs +1 -0
  26. package/dist/chunks/agentTypes-1.1.33-t5nvprgp.mjs +1 -0
  27. package/dist/chunks/agents-1.1.33-mbve4trn.mjs +3 -0
  28. package/dist/chunks/agents-1.1.33-nhfb2axy.mjs +110 -0
  29. package/dist/chunks/api-1.1.33-2sg5ga0j.mjs +1 -0
  30. package/dist/chunks/asciicast-1.1.33-xr41erq2.mjs +1 -0
  31. package/dist/chunks/auth-1.1.33-k778a810.mjs +1 -0
  32. package/dist/chunks/auth-1.1.33-xappxyn1.mjs +1 -0
  33. package/dist/chunks/autoMode-1.1.33-wb6nwcf3.mjs +52 -0
  34. package/dist/chunks/autoModeSetup-1.1.33-43tmanjr.mjs +44 -0
  35. package/dist/chunks/autoUpdater-1.1.33-py6amejh.mjs +1 -0
  36. package/dist/chunks/backgroundHousekeeping-1.1.33-zn01axaz.mjs +1 -0
  37. package/dist/chunks/branch-1.1.33-gthrar82.mjs +4 -0
  38. package/dist/chunks/bridge-1.1.33-9s3v1h77.mjs +2 -0
  39. package/dist/chunks/bridgeConfig-1.1.33-183x874k.mjs +1 -0
  40. package/dist/chunks/bridgeEnabled-1.1.33-42yktg6p.mjs +1 -0
  41. package/dist/chunks/bridgeMain-1.1.33-62ytf81q.mjs +88 -0
  42. package/dist/chunks/bridgePointer-1.1.33-weh8egz5.mjs +1 -0
  43. package/dist/chunks/btw-1.1.33-xhjhwhex.mjs +1 -0
  44. package/dist/chunks/buddy-1.1.33-6e4bcghj.mjs +3 -0
  45. package/dist/chunks/cache-probe-1.1.33-65t8nv3y.mjs +21 -0
  46. package/dist/chunks/cacheStats-1.1.33-anfjhga9.mjs +4 -0
  47. package/dist/chunks/caches-1.1.33-ehvfr1c6.mjs +1 -0
  48. package/dist/chunks/cd-1.1.33-xbpsa40s.mjs +3 -0
  49. package/dist/chunks/claudeDesktop-1.1.33-en5r91rv.mjs +1 -0
  50. package/dist/chunks/clear-1.1.33-90jr5w5d.mjs +1 -0
  51. package/dist/chunks/clearTerminal-1.1.33-4ts9jf6w.mjs +1 -0
  52. package/dist/chunks/cli-1.1.33-05291q1a.mjs +2 -0
  53. package/dist/chunks/cli-1.1.33-0bk8mrfh.mjs +15 -0
  54. package/dist/chunks/cli-1.1.33-0ktq50cd.mjs +133 -0
  55. package/dist/chunks/cli-1.1.33-0kvxjey5.mjs +24 -0
  56. package/dist/chunks/cli-1.1.33-0sckqj39.mjs +2 -0
  57. package/dist/chunks/cli-1.1.33-1fpzq80d.mjs +2 -0
  58. package/dist/chunks/cli-1.1.33-1mfasbf1.mjs +2 -0
  59. package/dist/chunks/cli-1.1.33-20v60hvd.mjs +203 -0
  60. package/dist/chunks/cli-1.1.33-20zqrzzq.mjs +2 -0
  61. package/dist/chunks/cli-1.1.33-22addsh7.mjs +4 -0
  62. package/dist/chunks/cli-1.1.33-231zj4yg.mjs +2 -0
  63. package/dist/chunks/cli-1.1.33-241y9eee.mjs +5 -0
  64. package/dist/chunks/cli-1.1.33-283f43sy.mjs +2 -0
  65. package/dist/chunks/cli-1.1.33-2chamq3v.mjs +2 -0
  66. package/dist/chunks/cli-1.1.33-2xqjkz7r.mjs +2 -0
  67. package/dist/chunks/cli-1.1.33-303jm377.mjs +2 -0
  68. package/dist/chunks/cli-1.1.33-30vd7w1w.mjs +10 -0
  69. package/dist/chunks/cli-1.1.33-39q98nwa.mjs +2 -0
  70. package/dist/chunks/cli-1.1.33-3by7vn1v.mjs +2 -0
  71. package/dist/chunks/cli-1.1.33-3de2dtv6.mjs +2 -0
  72. package/dist/chunks/cli-1.1.33-3kk4en4s.mjs +2 -0
  73. package/dist/chunks/cli-1.1.33-3yjvh7fr.mjs +2 -0
  74. package/dist/chunks/cli-1.1.33-46bkj0rz.mjs +5 -0
  75. package/dist/chunks/cli-1.1.33-4ghpq4rw.mjs +24 -0
  76. package/dist/chunks/cli-1.1.33-4t7b2799.mjs +2 -0
  77. package/dist/chunks/cli-1.1.33-525zf497.mjs +16 -0
  78. package/dist/chunks/cli-1.1.33-56fen5jd.mjs +4 -0
  79. package/dist/chunks/cli-1.1.33-5c19q87v.mjs +2 -0
  80. package/dist/chunks/cli-1.1.33-5ehc9tkd.mjs +2 -0
  81. package/dist/chunks/cli-1.1.33-5fc0dkzm.mjs +2 -0
  82. package/dist/chunks/cli-1.1.33-5ff9vmz9.mjs +3 -0
  83. package/dist/chunks/cli-1.1.33-5pa215hx.mjs +2 -0
  84. package/dist/chunks/cli-1.1.33-6fq5cn5g.mjs +17 -0
  85. package/dist/chunks/cli-1.1.33-726gr74y.mjs +2 -0
  86. package/dist/chunks/cli-1.1.33-7b2yeb1x.mjs +2 -0
  87. package/dist/chunks/cli-1.1.33-7qjhgket.mjs +2 -0
  88. package/dist/chunks/cli-1.1.33-7qr8n3qn.mjs +2 -0
  89. package/dist/chunks/cli-1.1.33-7rd596wq.mjs +2 -0
  90. package/dist/chunks/cli-1.1.33-7shybbdj.mjs +2 -0
  91. package/dist/chunks/cli-1.1.33-7sm3r61g.mjs +50 -0
  92. package/dist/chunks/cli-1.1.33-87p06j57.mjs +2 -0
  93. package/dist/chunks/cli-1.1.33-8dxvf995.mjs +2 -0
  94. package/dist/chunks/cli-1.1.33-8esj8tkg.mjs +18 -0
  95. package/dist/chunks/cli-1.1.33-8p3h818h.mjs +2 -0
  96. package/dist/chunks/cli-1.1.33-8q8sfbe6.mjs +2 -0
  97. package/dist/chunks/cli-1.1.33-8xyzgp13.mjs +2 -0
  98. package/dist/chunks/cli-1.1.33-90w26xxw.mjs +4 -0
  99. package/dist/chunks/cli-1.1.33-94s66kd2.mjs +2 -0
  100. package/dist/chunks/cli-1.1.33-9dt8xzkt.mjs +2 -0
  101. package/dist/chunks/cli-1.1.33-9fetbt6a.mjs +2 -0
  102. package/dist/chunks/cli-1.1.33-9z2gy96d.mjs +2 -0
  103. package/dist/chunks/cli-1.1.33-9zba2a1d.mjs +60 -0
  104. package/dist/chunks/cli-1.1.33-a49fwy5a.mjs +3 -0
  105. package/dist/chunks/cli-1.1.33-a6dvne78.mjs +2 -0
  106. package/dist/chunks/cli-1.1.33-ad43mr1x.mjs +2 -0
  107. package/dist/chunks/cli-1.1.33-ad75ezdj.mjs +2 -0
  108. package/dist/chunks/cli-1.1.33-afsw641c.mjs +2 -0
  109. package/dist/chunks/cli-1.1.33-aj5dy49h.mjs +3 -0
  110. package/dist/chunks/cli-1.1.33-apx2xgzn.mjs +11 -0
  111. package/dist/chunks/cli-1.1.33-bczwyjaq.mjs +2 -0
  112. package/dist/chunks/cli-1.1.33-bfx6z02g.mjs +2 -0
  113. package/dist/chunks/cli-1.1.33-bh8452tq.mjs +2 -0
  114. package/dist/chunks/cli-1.1.33-btd9w5q2.mjs +2 -0
  115. package/dist/chunks/cli-1.1.33-bxw3sz3d.mjs +2 -0
  116. package/dist/chunks/cli-1.1.33-c14msjsc.mjs +2 -0
  117. package/dist/chunks/cli-1.1.33-c37dxjja.mjs +2 -0
  118. package/dist/chunks/cli-1.1.33-c45mt1yq.mjs +2 -0
  119. package/dist/chunks/cli-1.1.33-c5j1t4gd.mjs +2 -0
  120. package/dist/chunks/cli-1.1.33-cdzhbn5g.mjs +15 -0
  121. package/dist/chunks/cli-1.1.33-cfj1bzen.mjs +2 -0
  122. package/dist/chunks/cli-1.1.33-cj2t55an.mjs +2 -0
  123. package/dist/chunks/cli-1.1.33-cjfrq2jz.mjs +4 -0
  124. package/dist/chunks/cli-1.1.33-czpahv90.mjs +25 -0
  125. package/dist/chunks/cli-1.1.33-czrp8ff2.mjs +2 -0
  126. package/dist/chunks/cli-1.1.33-d2jds1x5.mjs +4 -0
  127. package/dist/chunks/cli-1.1.33-d9fea5m8.mjs +2 -0
  128. package/dist/chunks/cli-1.1.33-das1k5jq.mjs +3 -0
  129. package/dist/chunks/cli-1.1.33-dd7gk6d2.mjs +5 -0
  130. package/dist/chunks/cli-1.1.33-df8tggjt.mjs +2 -0
  131. package/dist/chunks/cli-1.1.33-dfb8xrtp.mjs +2 -0
  132. package/dist/chunks/cli-1.1.33-dfbvd02g.mjs +3 -0
  133. package/dist/chunks/cli-1.1.33-dm8nxxnv.mjs +2 -0
  134. package/dist/chunks/cli-1.1.33-dp41gds0.mjs +2 -0
  135. package/dist/chunks/cli-1.1.33-dv29f6yk.mjs +2 -0
  136. package/dist/chunks/cli-1.1.33-e2jx0b65.mjs +2 -0
  137. package/dist/chunks/cli-1.1.33-e4gbaaq5.mjs +3 -0
  138. package/dist/chunks/cli-1.1.33-e87tvy6n.mjs +2 -0
  139. package/dist/chunks/cli-1.1.33-edgxaxbt.mjs +10 -0
  140. package/dist/chunks/cli-1.1.33-effqmrgb.mjs +2 -0
  141. package/dist/chunks/cli-1.1.33-evp1q65w.mjs +2 -0
  142. package/dist/chunks/cli-1.1.33-ezzc0e6x.mjs +2 -0
  143. package/dist/chunks/cli-1.1.33-f0vf76a6.mjs +26 -0
  144. package/dist/chunks/cli-1.1.33-f4vhy9zk.mjs +2 -0
  145. package/dist/chunks/cli-1.1.33-f83qf2zv.mjs +63 -0
  146. package/dist/chunks/cli-1.1.33-fcfv2vn6.mjs +2 -0
  147. package/dist/chunks/cli-1.1.33-g3wvn6f8.mjs +2 -0
  148. package/dist/chunks/cli-1.1.33-gbjym0yt.mjs +6 -0
  149. package/dist/chunks/cli-1.1.33-gfehnxj8.mjs +2 -0
  150. package/dist/chunks/cli-1.1.33-ggk9m978.mjs +7 -0
  151. package/dist/chunks/cli-1.1.33-ghcxb1ce.mjs +34 -0
  152. package/dist/chunks/cli-1.1.33-gnejtk17.mjs +7 -0
  153. package/dist/chunks/cli-1.1.33-gpp6mbxj.mjs +17 -0
  154. package/dist/chunks/cli-1.1.33-h0mx2ccc.mjs +2 -0
  155. package/dist/chunks/cli-1.1.33-h27b2an0.mjs +2 -0
  156. package/dist/chunks/cli-1.1.33-h75frpfe.mjs +2 -0
  157. package/dist/chunks/cli-1.1.33-heys42qe.mjs +9 -0
  158. package/dist/chunks/cli-1.1.33-hfkfz9g9.mjs +2 -0
  159. package/dist/chunks/cli-1.1.33-hwmqqtqr.mjs +45 -0
  160. package/dist/chunks/cli-1.1.33-j5q2mpwf.mjs +2 -0
  161. package/dist/chunks/cli-1.1.33-j6ep4mfm.mjs +6 -0
  162. package/dist/chunks/cli-1.1.33-j75f13gr.mjs +2 -0
  163. package/dist/chunks/cli-1.1.33-j8ajj3nv.mjs +2 -0
  164. package/dist/chunks/cli-1.1.33-jdtfdqvz.mjs +2 -0
  165. package/dist/chunks/cli-1.1.33-jp2qs3mr.mjs +2 -0
  166. package/dist/chunks/cli-1.1.33-jsyd53zn.mjs +2 -0
  167. package/dist/chunks/cli-1.1.33-jww2z5yy.mjs +2 -0
  168. package/dist/chunks/cli-1.1.33-k1vhqgx4.mjs +2 -0
  169. package/dist/chunks/cli-1.1.33-k466m68a.mjs +2 -0
  170. package/dist/chunks/cli-1.1.33-k51bffb8.mjs +2 -0
  171. package/dist/chunks/cli-1.1.33-kdbb1eq4.mjs +2 -0
  172. package/dist/chunks/cli-1.1.33-kg221c89.mjs +2 -0
  173. package/dist/chunks/cli-1.1.33-kqsskxv0.mjs +133 -0
  174. package/dist/chunks/cli-1.1.33-kth7ttsa.mjs +4 -0
  175. package/dist/chunks/cli-1.1.33-kty1kjfd.mjs +2 -0
  176. package/dist/chunks/cli-1.1.33-kx980gfw.mjs +2 -0
  177. package/dist/chunks/cli-1.1.33-kxjb58yw.mjs +2 -0
  178. package/dist/chunks/cli-1.1.33-m06xge1a.mjs +2 -0
  179. package/dist/chunks/cli-1.1.33-m08stm17.mjs +2 -0
  180. package/dist/chunks/cli-1.1.33-m402nk5n.mjs +2 -0
  181. package/dist/chunks/cli-1.1.33-mg60nkfe.mjs +2 -0
  182. package/dist/chunks/cli-1.1.33-mgmqjt4t.mjs +2 -0
  183. package/dist/chunks/cli-1.1.33-mhph00kg.mjs +24 -0
  184. package/dist/chunks/cli-1.1.33-mkzxq2c9.mjs +2 -0
  185. package/dist/chunks/cli-1.1.33-mm3hdty7.mjs +2 -0
  186. package/dist/chunks/cli-1.1.33-n2d1txyn.mjs +4 -0
  187. package/dist/chunks/cli-1.1.33-n55k105y.mjs +2 -0
  188. package/dist/chunks/cli-1.1.33-n7rpkhs4.mjs +2 -0
  189. package/dist/chunks/cli-1.1.33-nd6tv1an.mjs +15 -0
  190. package/dist/chunks/cli-1.1.33-ndste4rf.mjs +39 -0
  191. package/dist/chunks/cli-1.1.33-nq2hxcp4.mjs +9 -0
  192. package/dist/chunks/cli-1.1.33-nvfshp5c.mjs +6 -0
  193. package/dist/chunks/cli-1.1.33-p0fb1k1s.mjs +7 -0
  194. package/dist/chunks/cli-1.1.33-pcsrkgrn.mjs +8 -0
  195. package/dist/chunks/cli-1.1.33-pw7bmns5.mjs +42 -0
  196. package/dist/chunks/cli-1.1.33-q8hq263y.mjs +2 -0
  197. package/dist/chunks/cli-1.1.33-qr675sx2.mjs +2 -0
  198. package/dist/chunks/cli-1.1.33-qss1gs3e.mjs +2 -0
  199. package/dist/chunks/cli-1.1.33-ra054vbq.mjs +2 -0
  200. package/dist/chunks/cli-1.1.33-raynjbkq.mjs +2 -0
  201. package/dist/chunks/cli-1.1.33-rr2q4wq6.mjs +2 -0
  202. package/dist/chunks/cli-1.1.33-rr5sxpa0.mjs +2 -0
  203. package/dist/chunks/cli-1.1.33-rrhe6g9q.mjs +2 -0
  204. package/dist/chunks/cli-1.1.33-rrvgm0jd.mjs +2 -0
  205. package/dist/chunks/cli-1.1.33-rtme70ck.mjs +2 -0
  206. package/dist/chunks/cli-1.1.33-rv2bkx6b.mjs +2 -0
  207. package/dist/chunks/cli-1.1.33-rxe1dmbg.mjs +2 -0
  208. package/dist/chunks/cli-1.1.33-s5kw6064.mjs +3 -0
  209. package/dist/chunks/cli-1.1.33-sbgh2rsy.mjs +2 -0
  210. package/dist/chunks/cli-1.1.33-sf95jk5d.mjs +2 -0
  211. package/dist/chunks/cli-1.1.33-sv5dwqh6.mjs +3 -0
  212. package/dist/chunks/cli-1.1.33-t0fg1hsr.mjs +2 -0
  213. package/dist/chunks/cli-1.1.33-t10xrxez.mjs +2 -0
  214. package/dist/chunks/cli-1.1.33-t26pazs8.mjs +2 -0
  215. package/dist/chunks/cli-1.1.33-t591k29k.mjs +21 -0
  216. package/dist/chunks/cli-1.1.33-t63yat1z.mjs +2 -0
  217. package/dist/chunks/cli-1.1.33-t78313g4.mjs +3 -0
  218. package/dist/chunks/cli-1.1.33-t8cxmf0c.mjs +12 -0
  219. package/dist/chunks/cli-1.1.33-tp6bhara.mjs +4 -0
  220. package/dist/chunks/cli-1.1.33-ts50d9at.mjs +2 -0
  221. package/dist/chunks/cli-1.1.33-ttc7emph.mjs +25 -0
  222. package/dist/chunks/cli-1.1.33-ty6y9kn2.mjs +2 -0
  223. package/dist/chunks/cli-1.1.33-v08vb0sv.mjs +6 -0
  224. package/dist/chunks/cli-1.1.33-v615gn7w.mjs +3 -0
  225. package/dist/chunks/cli-1.1.33-vgynvhys.mjs +5491 -0
  226. package/dist/chunks/cli-1.1.33-vr8cqqar.mjs +2 -0
  227. package/dist/chunks/cli-1.1.33-wfjtjsvq.mjs +6 -0
  228. package/dist/chunks/cli-1.1.33-wrdskpzf.mjs +2 -0
  229. package/dist/chunks/cli-1.1.33-wx8rtpc5.mjs +2 -0
  230. package/dist/chunks/cli-1.1.33-x6zgk4kb.mjs +2 -0
  231. package/dist/chunks/cli-1.1.33-xdqetcyr.mjs +2 -0
  232. package/dist/chunks/cli-1.1.33-xfawy00r.mjs +2 -0
  233. package/dist/chunks/cli-1.1.33-xt2ehzej.mjs +2 -0
  234. package/dist/chunks/cli-1.1.33-xyh0vcv7.mjs +2 -0
  235. package/dist/chunks/cli-1.1.33-yd2b6czv.mjs +2 -0
  236. package/dist/chunks/cli-1.1.33-yd4xhx6x.mjs +20 -0
  237. package/dist/chunks/cli-1.1.33-ypfa1t3b.mjs +2 -0
  238. package/dist/chunks/cli-1.1.33-yqqr1e67.mjs +2 -0
  239. package/dist/chunks/cli-1.1.33-yqxphe1x.mjs +2 -0
  240. package/dist/chunks/cli-1.1.33-yy53bmhe.mjs +2 -0
  241. package/dist/chunks/cli-1.1.33-yygdy86h.mjs +2 -0
  242. package/dist/chunks/cli-1.1.33-z5rv4tr3.mjs +3 -0
  243. package/dist/chunks/cli-1.1.33-z7fa1fgt.mjs +2 -0
  244. package/dist/chunks/cli-1.1.33-zqqj4d1f.mjs +2 -0
  245. package/dist/chunks/cli-1.1.33-zsk851wd.mjs +2 -0
  246. package/dist/chunks/client-1.1.33-qhf9zz8n.mjs +1 -0
  247. package/dist/chunks/color-1.1.33-q69y353w.mjs +1 -0
  248. package/dist/chunks/compact-1.1.33-5vxewt1w.mjs +2 -0
  249. package/dist/chunks/config-1.1.33-h6tzt18x.mjs +1 -0
  250. package/dist/chunks/config-1.1.33-m6rgj5rq.mjs +1 -0
  251. package/dist/chunks/constants-1.1.33-myvdtn6q.mjs +1 -0
  252. package/dist/chunks/context-1.1.33-pm79kmgf.mjs +1 -0
  253. package/dist/chunks/context-noninteractive-1.1.33-6pd4by4q.mjs +1 -0
  254. package/dist/chunks/conversation-1.1.33-acjggjj2.mjs +1 -0
  255. package/dist/chunks/copilotHeaders-1.1.33-s1k9b90v.mjs +1 -0
  256. package/dist/chunks/copy-1.1.33-yynkyja4.mjs +9 -0
  257. package/dist/chunks/cost-1.1.33-sjebbq22.mjs +1 -0
  258. package/dist/chunks/createSession-1.1.33-cw4pppsw.mjs +1 -0
  259. package/dist/chunks/debug-1.1.33-h1ep6bea.mjs +1 -0
  260. package/dist/chunks/defaultActionDeps-1.1.33-t1wa4x2g.mjs +1480 -0
  261. package/dist/chunks/desktop-1.1.33-cgj2ar5t.mjs +2 -0
  262. package/dist/chunks/detectRepository-1.1.33-5yfd53ae.mjs +1 -0
  263. package/dist/chunks/detection-1.1.33-dnyn9hs6.mjs +1 -0
  264. package/dist/chunks/diff-1.1.33-nf6wy43p.mjs +1 -0
  265. package/dist/chunks/doctor-1.1.33-58atgaxs.mjs +1 -0
  266. package/dist/chunks/doctorDiagnostic-1.1.33-v3ht88pf.mjs +1 -0
  267. package/dist/chunks/earlyInput-1.1.33-qff3qk4b.mjs +1 -0
  268. package/dist/chunks/effort-1.1.33-nf63b81y.mjs +13 -0
  269. package/dist/chunks/engine-1.1.33-bqcqevb5.mjs +1 -0
  270. package/dist/chunks/envLessBridgeConfig-1.1.33-1bfctzjp.mjs +1 -0
  271. package/dist/chunks/envUtils-1.1.33-1jg5pqx5.mjs +1 -0
  272. package/dist/chunks/errors-1.1.33-xdf8frps.mjs +1 -0
  273. package/dist/chunks/exampleCommands-1.1.33-br81c33d.mjs +1 -0
  274. package/dist/chunks/execFileNoThrow-1.1.33-mmyfbtpt.mjs +1 -0
  275. package/dist/chunks/exit-1.1.33-s8c549bt.mjs +1 -0
  276. package/dist/chunks/explorer-1.1.33-q2kc2yjm.mjs +1 -0
  277. package/dist/chunks/export-1.1.33-wzsrmyr9.mjs +2 -0
  278. package/dist/chunks/fast-1.1.33-hh2t95cz.mjs +1 -0
  279. package/dist/chunks/feedback-1.1.33-fhamzkxx.mjs +16 -0
  280. package/dist/chunks/git-1.1.33-nb9mf6gs.mjs +1 -0
  281. package/dist/chunks/githubModelsCredentials-1.1.33-zzecd9we.mjs +1 -0
  282. package/dist/chunks/goal-1.1.33-6ptfsbeb.mjs +4 -0
  283. package/dist/chunks/headless-1.1.33-2ks3qpn2.mjs +2 -0
  284. package/dist/chunks/heapdump-1.1.33-48a71a5d.mjs +6 -0
  285. package/dist/chunks/help-1.1.33-65k2zqsp.mjs +1 -0
  286. package/dist/chunks/hooks-1.1.33-7zb4rp07.mjs +1 -0
  287. package/dist/chunks/hooks-1.1.33-87w55gzt.mjs +79 -0
  288. package/dist/chunks/ide-1.1.33-jpbj91cb.mjs +3 -0
  289. package/dist/chunks/image-processor-napi-1.1.33-cb605b4s.mjs +1 -0
  290. package/dist/chunks/import-1.1.33-9vq41kwx.mjs +261 -0
  291. package/dist/chunks/inboundAttachments-1.1.33-pshb9f55.mjs +1 -0
  292. package/dist/chunks/index-1.1.33-0szd959f.mjs +9 -0
  293. package/dist/chunks/index-1.1.33-1cyg72cg.mjs +5 -0
  294. package/dist/chunks/index-1.1.33-20n0wyay.mjs +2 -0
  295. package/dist/chunks/index-1.1.33-37m0wr5f.mjs +1 -0
  296. package/dist/chunks/index-1.1.33-4e6weswv.mjs +2 -0
  297. package/dist/chunks/index-1.1.33-5at6jw86.mjs +9 -0
  298. package/dist/chunks/index-1.1.33-5bb2bqbt.mjs +1 -0
  299. package/dist/chunks/index-1.1.33-6r4xb4kw.mjs +1 -0
  300. package/dist/chunks/index-1.1.33-809kmg0e.mjs +1 -0
  301. package/dist/chunks/index-1.1.33-av56945n.mjs +1 -0
  302. package/dist/chunks/index-1.1.33-ayj1khn3.mjs +1 -0
  303. package/dist/chunks/index-1.1.33-d4h14a2g.mjs +1 -0
  304. package/dist/chunks/index-1.1.33-j01a41jn.mjs +1 -0
  305. package/dist/chunks/index-1.1.33-j3pffnmd.mjs +30 -0
  306. package/dist/chunks/index-1.1.33-nbb1jr6q.mjs +23 -0
  307. package/dist/chunks/index-1.1.33-pdret8nd.mjs +1 -0
  308. package/dist/chunks/index-1.1.33-px65xz19.mjs +1 -0
  309. package/dist/chunks/index-1.1.33-q02fr1yn.mjs +1 -0
  310. package/dist/chunks/index-1.1.33-qckmwfjb.mjs +1 -0
  311. package/dist/chunks/index-1.1.33-sj1fgs0b.mjs +1 -0
  312. package/dist/chunks/index-1.1.33-thfe8yxq.mjs +1 -0
  313. package/dist/chunks/index-1.1.33-vpdejaqk.mjs +1 -0
  314. package/dist/chunks/index-1.1.33-x6vn8g63.mjs +1 -0
  315. package/dist/chunks/init-1.1.33-8jzeqmrh.mjs +2 -0
  316. package/dist/chunks/initReplBridge-1.1.33-xhzad71d.mjs +1 -0
  317. package/dist/chunks/ink-1.1.33-8xkyvv5c.mjs +1 -0
  318. package/dist/chunks/insights-1.1.33-p2xfqqpr.mjs +870 -0
  319. package/dist/chunks/install-1.1.33-yddevjtj.mjs +1 -0
  320. package/dist/chunks/install-github-app-1.1.33-3wksmje2.mjs +149 -0
  321. package/dist/chunks/install-slack-app-1.1.33-mgb365bd.mjs +1 -0
  322. package/dist/chunks/interactiveHelpers-1.1.33-ac7wkzh0.mjs +1 -0
  323. package/dist/chunks/keybindings-1.1.33-pwx8bd0q.mjs +2 -0
  324. package/dist/chunks/latestVersionCache-1.1.33-fqw2q9w0.mjs +1 -0
  325. package/dist/chunks/loadAgentsDir-1.1.33-y4yydpcn.mjs +1 -0
  326. package/dist/chunks/loadPluginHooks-1.1.33-3rxrvf8b.mjs +1 -0
  327. package/dist/chunks/log-1.1.33-pqjf8wsv.mjs +1 -0
  328. package/dist/chunks/main-1.1.33-qvas86jh.mjs +1 -0
  329. package/dist/chunks/managedEnv-1.1.33-67fc5dj7.mjs +1 -0
  330. package/dist/chunks/mcp-1.1.33-88w7d35a.mjs +1 -0
  331. package/dist/chunks/mcp-1.1.33-ewqaq0ms.mjs +4 -0
  332. package/dist/chunks/mcp-1.1.33-v74knj3c.mjs +17 -0
  333. package/dist/chunks/mcpb-1.1.33-dnjbpy7e.mjs +1 -0
  334. package/dist/chunks/memory-1.1.33-9qffk96q.mjs +128 -0
  335. package/dist/chunks/model-1.1.33-h0mjh5z8.mjs +1 -0
  336. package/dist/chunks/model-1.1.33-v4vqzg9w.mjs +2 -0
  337. package/dist/chunks/node-1.1.33-jm7rqpq8.mjs +1 -0
  338. package/dist/chunks/node-1.1.33-qg258pyx.mjs +15 -0
  339. package/dist/chunks/oauth-1.1.33-423q5vp6.mjs +1 -0
  340. package/dist/chunks/openaiShim-1.1.33-dsp1wwgs.mjs +14 -0
  341. package/dist/chunks/output-style-1.1.33-ayj4863v.mjs +1 -0
  342. package/dist/chunks/package-F6O7J2XI-1.1.33-cwk2kcw8.mjs +1 -0
  343. package/dist/chunks/permissions-1.1.33-mtca1vka.mjs +1 -0
  344. package/dist/chunks/permissions-1.1.33-qk86j364.mjs +3 -0
  345. package/dist/chunks/plan-1.1.33-brttkasm.mjs +1 -0
  346. package/dist/chunks/plist-1.1.33-j08fwnf5.mjs +1 -0
  347. package/dist/chunks/plugin-1.1.33-ed5352d9.mjs +29 -0
  348. package/dist/chunks/pluginStartupCheck-1.1.33-w1dcdv7e.mjs +1 -0
  349. package/dist/chunks/plugins-1.1.33-dz0szv60.mjs +9 -0
  350. package/dist/chunks/preActionHook-1.1.33-cyss3q48.mjs +2 -0
  351. package/dist/chunks/print-1.1.33-0an9v6wm.mjs +57 -0
  352. package/dist/chunks/process-1.1.33-34nr1vvf.mjs +1 -0
  353. package/dist/chunks/processBashCommand-1.1.33-c3baefbs.mjs +1 -0
  354. package/dist/chunks/processSlashCommand-1.1.33-7z1q5tgw.mjs +9 -0
  355. package/dist/chunks/prompt-1.1.33-a9nfj0nx.mjs +1 -0
  356. package/dist/chunks/prompt-1.1.33-t1x27qfd.mjs +1 -0
  357. package/dist/chunks/prompts-1.1.33-n8cpfrn6.mjs +1 -0
  358. package/dist/chunks/provider-1.1.33-s17k8dew.mjs +2 -0
  359. package/dist/chunks/providerProfiles-1.1.33-nabanrxj.mjs +1 -0
  360. package/dist/chunks/providerValidation-1.1.33-45rfx8mk.mjs +6 -0
  361. package/dist/chunks/registerSubcommands-1.1.33-drbt7d0n.mjs +26 -0
  362. package/dist/chunks/registry-1.1.33-2rc0g3js.mjs +1 -0
  363. package/dist/chunks/release-notes-1.1.33-azfdj96s.mjs +5 -0
  364. package/dist/chunks/reload-plugins-1.1.33-22m52m4k.mjs +2 -0
  365. package/dist/chunks/remote-env-1.1.33-2zxh4gns.mjs +1 -0
  366. package/dist/chunks/remoteBridgeCore-1.1.33-tvhbeebf.mjs +1 -0
  367. package/dist/chunks/rename-1.1.33-hh0a7vzm.mjs +1 -0
  368. package/dist/chunks/replLauncher-1.1.33-17gj37pg.mjs +1 -0
  369. package/dist/chunks/resume-1.1.33-cxjpjtfg.mjs +2 -0
  370. package/dist/chunks/rewind-1.1.33-gwyc73ty.mjs +1 -0
  371. package/dist/chunks/rootOptions-1.1.33-t9mmhhea.mjs +1 -0
  372. package/dist/chunks/runWorkflowHeadless-1.1.33-9e4hd973.mjs +10 -0
  373. package/dist/chunks/sandbox-adapter-1.1.33-ydzap1ky.mjs +1 -0
  374. package/dist/chunks/sandbox-toggle-1.1.33-vch1t63t.mjs +1 -0
  375. package/dist/chunks/session-1.1.33-aepc1jdx.mjs +2 -0
  376. package/dist/chunks/sessionStorage-1.1.33-170gteyg.mjs +1 -0
  377. package/dist/chunks/settings-1.1.33-16470dd7.mjs +1 -0
  378. package/dist/chunks/setup-1.1.33-nbfqv6x2.mjs +12 -0
  379. package/dist/chunks/sinks-1.1.33-8qav4btz.mjs +1 -0
  380. package/dist/chunks/skills-1.1.33-srydghps.mjs +1 -0
  381. package/dist/chunks/startupProfiler-1.1.33-a97fyetk.mjs +1 -0
  382. package/dist/chunks/startupUpdateCheck-1.1.33-n5x93kr9.mjs +1 -0
  383. package/dist/chunks/state-1.1.33-yr57kw5b.mjs +1 -0
  384. package/dist/chunks/stats-1.1.33-py9web9f.mjs +1 -0
  385. package/dist/chunks/status-1.1.33-rstx4c0p.mjs +1 -0
  386. package/dist/chunks/stickers-1.1.33-bag4g2g6.mjs +1 -0
  387. package/dist/chunks/subprocessEnv-1.1.33-k219nhcm.mjs +1 -0
  388. package/dist/chunks/tasks-1.1.33-170ayzks.mjs +1 -0
  389. package/dist/chunks/teamHelpers-1.1.33-d0etezah.mjs +1 -0
  390. package/dist/chunks/teammateModeSnapshot-1.1.33-wwj36vt2.mjs +1 -0
  391. package/dist/chunks/teleport-1.1.33-zvzb36mc.mjs +1 -0
  392. package/dist/chunks/terminalSetup-1.1.33-6btb4bdr.mjs +1 -0
  393. package/dist/chunks/theme-1.1.33-ht9yrvwn.mjs +1 -0
  394. package/dist/chunks/thinkback-1.1.33-kvaqf5ep.mjs +1 -0
  395. package/dist/chunks/thinkback-play-1.1.33-dfqez4t9.mjs +1 -0
  396. package/dist/chunks/toolPool-1.1.33-fsqgv07g.mjs +1 -0
  397. package/dist/chunks/toolSearch-1.1.33-g3ha7h5f.mjs +1 -0
  398. package/dist/chunks/tools-1.1.33-6qn3rfzr.mjs +1 -0
  399. package/dist/chunks/trustedDevice-1.1.33-f5feh965.mjs +1 -0
  400. package/dist/chunks/turndown.cjs-1.1.33-km66apwr.mjs +69 -0
  401. package/dist/chunks/types-1.1.33-bc49bs3y.mjs +1 -0
  402. package/dist/chunks/ultrareviewCommand-1.1.33-byqccwrh.mjs +4 -0
  403. package/dist/chunks/update-1.1.33-hz986n0w.mjs +72 -0
  404. package/dist/chunks/upload-1.1.33-cc27f6xm.mjs +7 -0
  405. package/dist/chunks/upstreamproxy-1.1.33-k5haaaqa.mjs +14 -0
  406. package/dist/chunks/usage-1.1.33-jspq6593.mjs +1 -0
  407. package/dist/chunks/util-1.1.33-8w7wsk2x.mjs +1 -0
  408. package/dist/chunks/utils-1.1.33-613tmzqb.mjs +1 -0
  409. package/dist/chunks/vim-1.1.33-gamhf412.mjs +1 -0
  410. package/dist/chunks/watchLoop-1.1.33-w4q3ncxj.mjs +13 -0
  411. package/dist/chunks/wiki-1.1.33-qgzy0eh8.mjs +132 -0
  412. package/dist/chunks/workflows-1.1.33-82kzthpb.mjs +1 -0
  413. package/dist/chunks/worktree-1.1.33-7n8nkfht.mjs +1 -0
  414. package/dist/chunks/worktreeModeEnabled-1.1.33-qq22bj1e.mjs +1 -0
  415. package/dist/chunks/wrapper-1.1.33-qgpy796k.mjs +7 -0
  416. package/dist/cli.mjs +2 -2
  417. package/package.json +9 -9
  418. package/dist/chunks/App-1.1.32-x0g3m6v6.mjs +0 -1
  419. package/dist/chunks/ApproveApiKey-1.1.32-8x1yxm2f.mjs +0 -1
  420. package/dist/chunks/AutoModeOptInDialog-1.1.32-scm9btv0.mjs +0 -1
  421. package/dist/chunks/BypassPermissionsModeDialog-1.1.32-wtcy84rn.mjs +0 -1
  422. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.32-y88y88zt.mjs +0 -1
  423. package/dist/chunks/ConsoleOAuthFlow-1.1.32-kzv0tbna.mjs +0 -1
  424. package/dist/chunks/DiffDialog-1.1.32-4cm0cwer.mjs +0 -6
  425. package/dist/chunks/Doctor-1.1.32-289yb4jj.mjs +0 -1
  426. package/dist/chunks/ExplorerDialog-1.1.32-5gjqvpvs.mjs +0 -6
  427. package/dist/chunks/ITermBackend-1.1.32-a8pwddd1.mjs +0 -1
  428. package/dist/chunks/InvalidConfigDialog-1.1.32-6qdrtdpr.mjs +0 -1
  429. package/dist/chunks/InvalidSettingsDialog-1.1.32-hwzxtdsd.mjs +0 -1
  430. package/dist/chunks/MigrationDialog-1.1.32-yytrpays.mjs +0 -1
  431. package/dist/chunks/Onboarding-1.1.32-c5yyxz32.mjs +0 -1
  432. package/dist/chunks/ProviderManager-1.1.32-7q71086g.mjs +0 -1
  433. package/dist/chunks/REPL-1.1.32-yzppvfrk.mjs +0 -1
  434. package/dist/chunks/ResumeConversation-1.1.32-rv15raev.mjs +0 -1
  435. package/dist/chunks/TeleportProgress-1.1.32-n3bsegx5.mjs +0 -1
  436. package/dist/chunks/TeleportRepoMismatchDialog-1.1.32-68xgndte.mjs +0 -1
  437. package/dist/chunks/TeleportResumeWrapper-1.1.32-zb4vkx03.mjs +0 -1
  438. package/dist/chunks/TmuxBackend-1.1.32-q3c5nqks.mjs +0 -9
  439. package/dist/chunks/ToolSearchTool-1.1.32-3whrqawk.mjs +0 -1
  440. package/dist/chunks/TrustDialog-1.1.32-33mkg42t.mjs +0 -1
  441. package/dist/chunks/activeProvider-1.1.32-9brew90d.mjs +0 -1
  442. package/dist/chunks/add-dir-1.1.32-8hkh1hcx.mjs +0 -1
  443. package/dist/chunks/agentTypes-1.1.32-ph49ernt.mjs +0 -1
  444. package/dist/chunks/agents-1.1.32-6ajrxrdr.mjs +0 -110
  445. package/dist/chunks/agents-1.1.32-6gc09pk2.mjs +0 -3
  446. package/dist/chunks/api-1.1.32-8qx9q5eh.mjs +0 -1
  447. package/dist/chunks/asciicast-1.1.32-4knajfec.mjs +0 -1
  448. package/dist/chunks/auth-1.1.32-9xrd6x89.mjs +0 -1
  449. package/dist/chunks/auth-1.1.32-s83fshpf.mjs +0 -1
  450. package/dist/chunks/autoMode-1.1.32-e680w683.mjs +0 -52
  451. package/dist/chunks/autoModeSetup-1.1.32-7m1d4dy7.mjs +0 -44
  452. package/dist/chunks/autoUpdater-1.1.32-hhg3dezv.mjs +0 -1
  453. package/dist/chunks/backgroundHousekeeping-1.1.32-8ddhae4q.mjs +0 -1
  454. package/dist/chunks/branch-1.1.32-xaq3pb3p.mjs +0 -4
  455. package/dist/chunks/bridge-1.1.32-ec6fc8kh.mjs +0 -2
  456. package/dist/chunks/bridgeConfig-1.1.32-bse7ynz2.mjs +0 -1
  457. package/dist/chunks/bridgeEnabled-1.1.32-84ntyqxd.mjs +0 -1
  458. package/dist/chunks/bridgeMain-1.1.32-d20ebbde.mjs +0 -88
  459. package/dist/chunks/bridgePointer-1.1.32-40jwkts4.mjs +0 -1
  460. package/dist/chunks/btw-1.1.32-kg0w3tw2.mjs +0 -1
  461. package/dist/chunks/buddy-1.1.32-c53wp8x4.mjs +0 -3
  462. package/dist/chunks/cache-probe-1.1.32-a9jc0rn9.mjs +0 -21
  463. package/dist/chunks/cacheStats-1.1.32-bh9jpngp.mjs +0 -4
  464. package/dist/chunks/caches-1.1.32-va3h1efn.mjs +0 -1
  465. package/dist/chunks/cd-1.1.32-yar6t6sg.mjs +0 -3
  466. package/dist/chunks/claudeDesktop-1.1.32-xjcschxc.mjs +0 -1
  467. package/dist/chunks/claudemd-1.1.32-kb9tec8y.mjs +0 -1
  468. package/dist/chunks/clear-1.1.32-ywfd1kha.mjs +0 -1
  469. package/dist/chunks/clearTerminal-1.1.32-x7tbxm3w.mjs +0 -1
  470. package/dist/chunks/cli-1.1.32-06xv4rmw.mjs +0 -2
  471. package/dist/chunks/cli-1.1.32-0pmhmsew.mjs +0 -42
  472. package/dist/chunks/cli-1.1.32-1913x5jp.mjs +0 -15
  473. package/dist/chunks/cli-1.1.32-1c9z2mtv.mjs +0 -2
  474. package/dist/chunks/cli-1.1.32-1cp8vbtp.mjs +0 -9
  475. package/dist/chunks/cli-1.1.32-1rackf2c.mjs +0 -4
  476. package/dist/chunks/cli-1.1.32-1rprka6j.mjs +0 -2
  477. package/dist/chunks/cli-1.1.32-1t75hwdn.mjs +0 -2
  478. package/dist/chunks/cli-1.1.32-1yrmnphh.mjs +0 -2
  479. package/dist/chunks/cli-1.1.32-260jjrwt.mjs +0 -6
  480. package/dist/chunks/cli-1.1.32-26474ywa.mjs +0 -2
  481. package/dist/chunks/cli-1.1.32-28vx0a5m.mjs +0 -2
  482. package/dist/chunks/cli-1.1.32-28x0bz68.mjs +0 -2
  483. package/dist/chunks/cli-1.1.32-2k074m5f.mjs +0 -2
  484. package/dist/chunks/cli-1.1.32-2kd689v0.mjs +0 -2
  485. package/dist/chunks/cli-1.1.32-2m68a9w2.mjs +0 -2
  486. package/dist/chunks/cli-1.1.32-2tyhwqjh.mjs +0 -10
  487. package/dist/chunks/cli-1.1.32-2wcdy0zp.mjs +0 -17
  488. package/dist/chunks/cli-1.1.32-2x7x44mg.mjs +0 -2
  489. package/dist/chunks/cli-1.1.32-336t9pmv.mjs +0 -2
  490. package/dist/chunks/cli-1.1.32-33jnyekk.mjs +0 -2
  491. package/dist/chunks/cli-1.1.32-36t0985q.mjs +0 -21
  492. package/dist/chunks/cli-1.1.32-3gbh5q5w.mjs +0 -2
  493. package/dist/chunks/cli-1.1.32-3z4a0eqz.mjs +0 -3
  494. package/dist/chunks/cli-1.1.32-41xx49ta.mjs +0 -2
  495. package/dist/chunks/cli-1.1.32-46wadmxk.mjs +0 -2
  496. package/dist/chunks/cli-1.1.32-49sdmvtj.mjs +0 -25
  497. package/dist/chunks/cli-1.1.32-4ekmdczr.mjs +0 -25
  498. package/dist/chunks/cli-1.1.32-4ft4m446.mjs +0 -2
  499. package/dist/chunks/cli-1.1.32-4rsr6phf.mjs +0 -2
  500. package/dist/chunks/cli-1.1.32-4vdyqkkd.mjs +0 -2
  501. package/dist/chunks/cli-1.1.32-4yat84kg.mjs +0 -2
  502. package/dist/chunks/cli-1.1.32-5a158c45.mjs +0 -2
  503. package/dist/chunks/cli-1.1.32-5c5dcwk6.mjs +0 -2
  504. package/dist/chunks/cli-1.1.32-5cngr1kn.mjs +0 -2
  505. package/dist/chunks/cli-1.1.32-5dq711bj.mjs +0 -2
  506. package/dist/chunks/cli-1.1.32-5j5n166h.mjs +0 -2
  507. package/dist/chunks/cli-1.1.32-5qjjtpkh.mjs +0 -133
  508. package/dist/chunks/cli-1.1.32-5qwps3ts.mjs +0 -2
  509. package/dist/chunks/cli-1.1.32-5v0afeqw.mjs +0 -2
  510. package/dist/chunks/cli-1.1.32-5xmh2b7j.mjs +0 -2
  511. package/dist/chunks/cli-1.1.32-60pc6r2s.mjs +0 -2
  512. package/dist/chunks/cli-1.1.32-6317frxz.mjs +0 -2
  513. package/dist/chunks/cli-1.1.32-65c5zdmx.mjs +0 -2
  514. package/dist/chunks/cli-1.1.32-6f9r9qcb.mjs +0 -2
  515. package/dist/chunks/cli-1.1.32-6jbgafh2.mjs +0 -2
  516. package/dist/chunks/cli-1.1.32-6jhkp60n.mjs +0 -2
  517. package/dist/chunks/cli-1.1.32-6jxftegx.mjs +0 -6
  518. package/dist/chunks/cli-1.1.32-7566j53x.mjs +0 -2
  519. package/dist/chunks/cli-1.1.32-76wfpwbd.mjs +0 -2
  520. package/dist/chunks/cli-1.1.32-7zp3b6gq.mjs +0 -2
  521. package/dist/chunks/cli-1.1.32-8b5ej63w.mjs +0 -2
  522. package/dist/chunks/cli-1.1.32-8hsb6vgz.mjs +0 -2
  523. package/dist/chunks/cli-1.1.32-8jkgzjh4.mjs +0 -5
  524. package/dist/chunks/cli-1.1.32-8t8t42xx.mjs +0 -2
  525. package/dist/chunks/cli-1.1.32-8yc37yqa.mjs +0 -34
  526. package/dist/chunks/cli-1.1.32-97e0qadj.mjs +0 -2
  527. package/dist/chunks/cli-1.1.32-9c0an85r.mjs +0 -2
  528. package/dist/chunks/cli-1.1.32-9fe7efg9.mjs +0 -2
  529. package/dist/chunks/cli-1.1.32-9jxkev29.mjs +0 -2
  530. package/dist/chunks/cli-1.1.32-9wsnkggz.mjs +0 -11
  531. package/dist/chunks/cli-1.1.32-9yka8m9x.mjs +0 -5490
  532. package/dist/chunks/cli-1.1.32-a3dfp7ps.mjs +0 -12
  533. package/dist/chunks/cli-1.1.32-acgh1gj8.mjs +0 -2
  534. package/dist/chunks/cli-1.1.32-ajhvj43e.mjs +0 -2
  535. package/dist/chunks/cli-1.1.32-aqfcrtfz.mjs +0 -5
  536. package/dist/chunks/cli-1.1.32-aysp26sz.mjs +0 -45
  537. package/dist/chunks/cli-1.1.32-b1bbb8eb.mjs +0 -7
  538. package/dist/chunks/cli-1.1.32-b3hsysf6.mjs +0 -2
  539. package/dist/chunks/cli-1.1.32-b4dgaz0a.mjs +0 -2
  540. package/dist/chunks/cli-1.1.32-bce46tmm.mjs +0 -2
  541. package/dist/chunks/cli-1.1.32-bnam9df8.mjs +0 -2
  542. package/dist/chunks/cli-1.1.32-bt4yfsm7.mjs +0 -2
  543. package/dist/chunks/cli-1.1.32-c4v8081j.mjs +0 -2
  544. package/dist/chunks/cli-1.1.32-c6n1kre3.mjs +0 -2
  545. package/dist/chunks/cli-1.1.32-c7ypbb63.mjs +0 -2
  546. package/dist/chunks/cli-1.1.32-cpzgn83z.mjs +0 -2
  547. package/dist/chunks/cli-1.1.32-cx7ygksc.mjs +0 -2
  548. package/dist/chunks/cli-1.1.32-czrfbd3q.mjs +0 -2
  549. package/dist/chunks/cli-1.1.32-d47cvy98.mjs +0 -2
  550. package/dist/chunks/cli-1.1.32-dkyyv5mx.mjs +0 -2
  551. package/dist/chunks/cli-1.1.32-dp2kpscr.mjs +0 -2
  552. package/dist/chunks/cli-1.1.32-dtd3vpkv.mjs +0 -2
  553. package/dist/chunks/cli-1.1.32-e1btgk5y.mjs +0 -4
  554. package/dist/chunks/cli-1.1.32-e96q5k17.mjs +0 -2
  555. package/dist/chunks/cli-1.1.32-ebg7m8yz.mjs +0 -2
  556. package/dist/chunks/cli-1.1.32-ehg64cg0.mjs +0 -2
  557. package/dist/chunks/cli-1.1.32-erw03mnm.mjs +0 -2
  558. package/dist/chunks/cli-1.1.32-f3895pf8.mjs +0 -2
  559. package/dist/chunks/cli-1.1.32-fhzs65yw.mjs +0 -2
  560. package/dist/chunks/cli-1.1.32-fjz81t0j.mjs +0 -2
  561. package/dist/chunks/cli-1.1.32-fr30sgy9.mjs +0 -2
  562. package/dist/chunks/cli-1.1.32-fzepmkcj.mjs +0 -2
  563. package/dist/chunks/cli-1.1.32-g5dzf2w1.mjs +0 -24
  564. package/dist/chunks/cli-1.1.32-gg7yn5bt.mjs +0 -8
  565. package/dist/chunks/cli-1.1.32-gpq33yz0.mjs +0 -2
  566. package/dist/chunks/cli-1.1.32-gqbeasga.mjs +0 -2
  567. package/dist/chunks/cli-1.1.32-gvv8h6dg.mjs +0 -18
  568. package/dist/chunks/cli-1.1.32-gwf0a8ej.mjs +0 -2
  569. package/dist/chunks/cli-1.1.32-h23ch6fy.mjs +0 -2
  570. package/dist/chunks/cli-1.1.32-h4tpddgz.mjs +0 -4
  571. package/dist/chunks/cli-1.1.32-h7cb9f8y.mjs +0 -2
  572. package/dist/chunks/cli-1.1.32-hbwke9cs.mjs +0 -2
  573. package/dist/chunks/cli-1.1.32-hgjgfp8p.mjs +0 -60
  574. package/dist/chunks/cli-1.1.32-hhd65der.mjs +0 -2
  575. package/dist/chunks/cli-1.1.32-hzn2mba8.mjs +0 -3
  576. package/dist/chunks/cli-1.1.32-j31v1t7y.mjs +0 -15
  577. package/dist/chunks/cli-1.1.32-jatnsd1n.mjs +0 -2
  578. package/dist/chunks/cli-1.1.32-jjanec91.mjs +0 -2
  579. package/dist/chunks/cli-1.1.32-jnrsn4v0.mjs +0 -2
  580. package/dist/chunks/cli-1.1.32-jqhfcb0t.mjs +0 -2
  581. package/dist/chunks/cli-1.1.32-jt6w5mqv.mjs +0 -2
  582. package/dist/chunks/cli-1.1.32-k5d30qej.mjs +0 -3
  583. package/dist/chunks/cli-1.1.32-k9zkw4st.mjs +0 -2
  584. package/dist/chunks/cli-1.1.32-kn0zs89y.mjs +0 -63
  585. package/dist/chunks/cli-1.1.32-kqkbjp3x.mjs +0 -4
  586. package/dist/chunks/cli-1.1.32-m7dxkbpn.mjs +0 -2
  587. package/dist/chunks/cli-1.1.32-m9c0pceb.mjs +0 -3
  588. package/dist/chunks/cli-1.1.32-m9p4pd60.mjs +0 -2
  589. package/dist/chunks/cli-1.1.32-merqy9t2.mjs +0 -2
  590. package/dist/chunks/cli-1.1.32-mrftpsrs.mjs +0 -15
  591. package/dist/chunks/cli-1.1.32-n3smn7a4.mjs +0 -2
  592. package/dist/chunks/cli-1.1.32-n6rpvpf2.mjs +0 -2
  593. package/dist/chunks/cli-1.1.32-n7cyeje8.mjs +0 -2
  594. package/dist/chunks/cli-1.1.32-n9vdkdfk.mjs +0 -2
  595. package/dist/chunks/cli-1.1.32-nmcy47z7.mjs +0 -4
  596. package/dist/chunks/cli-1.1.32-nt9eqa35.mjs +0 -2
  597. package/dist/chunks/cli-1.1.32-p70gsyp3.mjs +0 -2
  598. package/dist/chunks/cli-1.1.32-pe6kmf9g.mjs +0 -3
  599. package/dist/chunks/cli-1.1.32-pfhbrjhs.mjs +0 -20
  600. package/dist/chunks/cli-1.1.32-pfwbgg79.mjs +0 -2
  601. package/dist/chunks/cli-1.1.32-pm7ctgdf.mjs +0 -7
  602. package/dist/chunks/cli-1.1.32-pve0ffcp.mjs +0 -203
  603. package/dist/chunks/cli-1.1.32-pwvfjtva.mjs +0 -2
  604. package/dist/chunks/cli-1.1.32-px6268dx.mjs +0 -2
  605. package/dist/chunks/cli-1.1.32-px93hhj4.mjs +0 -3
  606. package/dist/chunks/cli-1.1.32-qmgvm9rq.mjs +0 -2
  607. package/dist/chunks/cli-1.1.32-qvx7w9wm.mjs +0 -2
  608. package/dist/chunks/cli-1.1.32-qzjfn21e.mjs +0 -3
  609. package/dist/chunks/cli-1.1.32-r5ww85n4.mjs +0 -6
  610. package/dist/chunks/cli-1.1.32-r6g8b118.mjs +0 -5
  611. package/dist/chunks/cli-1.1.32-r7020tw8.mjs +0 -4
  612. package/dist/chunks/cli-1.1.32-rbvnjjkt.mjs +0 -2
  613. package/dist/chunks/cli-1.1.32-rmz4ezae.mjs +0 -3
  614. package/dist/chunks/cli-1.1.32-rswqkymv.mjs +0 -133
  615. package/dist/chunks/cli-1.1.32-s2kkv51h.mjs +0 -2
  616. package/dist/chunks/cli-1.1.32-s4betse1.mjs +0 -2
  617. package/dist/chunks/cli-1.1.32-sqsxnqqb.mjs +0 -2
  618. package/dist/chunks/cli-1.1.32-t1n0b84g.mjs +0 -2
  619. package/dist/chunks/cli-1.1.32-tgr1e1hd.mjs +0 -2
  620. package/dist/chunks/cli-1.1.32-th2r4378.mjs +0 -9
  621. package/dist/chunks/cli-1.1.32-thsw9p6n.mjs +0 -2
  622. package/dist/chunks/cli-1.1.32-tp4tyjy3.mjs +0 -2
  623. package/dist/chunks/cli-1.1.32-tq108hv4.mjs +0 -2
  624. package/dist/chunks/cli-1.1.32-tzn98f6r.mjs +0 -24
  625. package/dist/chunks/cli-1.1.32-v3cks7qj.mjs +0 -6
  626. package/dist/chunks/cli-1.1.32-v4chz2b0.mjs +0 -2
  627. package/dist/chunks/cli-1.1.32-vdezbpdh.mjs +0 -2
  628. package/dist/chunks/cli-1.1.32-vf3r8a91.mjs +0 -16
  629. package/dist/chunks/cli-1.1.32-vmr6f229.mjs +0 -2
  630. package/dist/chunks/cli-1.1.32-vnhzy4jx.mjs +0 -2
  631. package/dist/chunks/cli-1.1.32-vtzwmjs8.mjs +0 -3
  632. package/dist/chunks/cli-1.1.32-vy2ngm3p.mjs +0 -2
  633. package/dist/chunks/cli-1.1.32-w2b0neg3.mjs +0 -4
  634. package/dist/chunks/cli-1.1.32-wnhqapmf.mjs +0 -24
  635. package/dist/chunks/cli-1.1.32-wsqyehdw.mjs +0 -2
  636. package/dist/chunks/cli-1.1.32-wyv15h7a.mjs +0 -6
  637. package/dist/chunks/cli-1.1.32-x0crp5g9.mjs +0 -2
  638. package/dist/chunks/cli-1.1.32-x23z7923.mjs +0 -2
  639. package/dist/chunks/cli-1.1.32-x8j1spnv.mjs +0 -2
  640. package/dist/chunks/cli-1.1.32-xfhe1m2y.mjs +0 -2
  641. package/dist/chunks/cli-1.1.32-xj2e8mzf.mjs +0 -2
  642. package/dist/chunks/cli-1.1.32-xy1pvy12.mjs +0 -2
  643. package/dist/chunks/cli-1.1.32-y4agg2c2.mjs +0 -17
  644. package/dist/chunks/cli-1.1.32-ycyg88ky.mjs +0 -2
  645. package/dist/chunks/cli-1.1.32-ydbtpc9v.mjs +0 -12
  646. package/dist/chunks/cli-1.1.32-yfs9ppge.mjs +0 -2
  647. package/dist/chunks/cli-1.1.32-yhftam6y.mjs +0 -50
  648. package/dist/chunks/cli-1.1.32-yhzhm57s.mjs +0 -2
  649. package/dist/chunks/cli-1.1.32-yq68bsa5.mjs +0 -2
  650. package/dist/chunks/cli-1.1.32-yv0wyp2m.mjs +0 -2
  651. package/dist/chunks/cli-1.1.32-yv9hzzq7.mjs +0 -2
  652. package/dist/chunks/cli-1.1.32-yw64r19c.mjs +0 -2
  653. package/dist/chunks/cli-1.1.32-z7x4jfeb.mjs +0 -4
  654. package/dist/chunks/cli-1.1.32-zegecv6e.mjs +0 -2
  655. package/dist/chunks/cli-1.1.32-zeyasrw5.mjs +0 -2
  656. package/dist/chunks/cli-1.1.32-zfyd4kyq.mjs +0 -2
  657. package/dist/chunks/cli-1.1.32-zfzqc12y.mjs +0 -26
  658. package/dist/chunks/cli-1.1.32-zkq2v1fz.mjs +0 -2
  659. package/dist/chunks/cli-1.1.32-zqtqvc9y.mjs +0 -3
  660. package/dist/chunks/cli-1.1.32-zr4x17ne.mjs +0 -3
  661. package/dist/chunks/cli-1.1.32-zraeg1n2.mjs +0 -2
  662. package/dist/chunks/cli-1.1.32-zrxqe296.mjs +0 -7
  663. package/dist/chunks/cli-1.1.32-zv1p3q66.mjs +0 -2
  664. package/dist/chunks/cli-1.1.32-zwetcrr2.mjs +0 -39
  665. package/dist/chunks/client-1.1.32-y4ehgz03.mjs +0 -1
  666. package/dist/chunks/color-1.1.32-an3gq6pv.mjs +0 -1
  667. package/dist/chunks/compact-1.1.32-kp67c5pn.mjs +0 -2
  668. package/dist/chunks/config-1.1.32-9kqd30ca.mjs +0 -1
  669. package/dist/chunks/config-1.1.32-chryg3ab.mjs +0 -1
  670. package/dist/chunks/constants-1.1.32-azab2vra.mjs +0 -1
  671. package/dist/chunks/context-1.1.32-t6yf3tch.mjs +0 -1
  672. package/dist/chunks/context-noninteractive-1.1.32-tbes3yx4.mjs +0 -1
  673. package/dist/chunks/conversation-1.1.32-edtsb1fp.mjs +0 -1
  674. package/dist/chunks/copilotHeaders-1.1.32-cxjr3qqd.mjs +0 -1
  675. package/dist/chunks/copy-1.1.32-2yk1zben.mjs +0 -9
  676. package/dist/chunks/cost-1.1.32-ykkmca1s.mjs +0 -1
  677. package/dist/chunks/createSession-1.1.32-pky6wawr.mjs +0 -1
  678. package/dist/chunks/debug-1.1.32-f8fanjpw.mjs +0 -1
  679. package/dist/chunks/defaultActionDeps-1.1.32-nf0mf9nq.mjs +0 -1480
  680. package/dist/chunks/desktop-1.1.32-h4q834kk.mjs +0 -2
  681. package/dist/chunks/detectRepository-1.1.32-y3wjkn3b.mjs +0 -1
  682. package/dist/chunks/detection-1.1.32-13rzk2y0.mjs +0 -1
  683. package/dist/chunks/diff-1.1.32-tsgcxd5v.mjs +0 -1
  684. package/dist/chunks/doctor-1.1.32-dg4q70ty.mjs +0 -1
  685. package/dist/chunks/doctorDiagnostic-1.1.32-xpjhp8fe.mjs +0 -1
  686. package/dist/chunks/earlyInput-1.1.32-rzjwc8xb.mjs +0 -1
  687. package/dist/chunks/effort-1.1.32-76tc9ft4.mjs +0 -13
  688. package/dist/chunks/engine-1.1.32-qp8px0cr.mjs +0 -1
  689. package/dist/chunks/envLessBridgeConfig-1.1.32-mamfyksw.mjs +0 -1
  690. package/dist/chunks/envUtils-1.1.32-x5ddw5jb.mjs +0 -1
  691. package/dist/chunks/errors-1.1.32-pw0ngznd.mjs +0 -1
  692. package/dist/chunks/exampleCommands-1.1.32-j9bvstfq.mjs +0 -1
  693. package/dist/chunks/execFileNoThrow-1.1.32-ah9wga16.mjs +0 -1
  694. package/dist/chunks/exit-1.1.32-4j8q9ztw.mjs +0 -1
  695. package/dist/chunks/explorer-1.1.32-dabb8sse.mjs +0 -1
  696. package/dist/chunks/export-1.1.32-zt3yhqen.mjs +0 -2
  697. package/dist/chunks/fast-1.1.32-cms216af.mjs +0 -1
  698. package/dist/chunks/feedback-1.1.32-r94c0y57.mjs +0 -16
  699. package/dist/chunks/git-1.1.32-9xc0s3ry.mjs +0 -1
  700. package/dist/chunks/githubModelsCredentials-1.1.32-r5xq7s7y.mjs +0 -1
  701. package/dist/chunks/goal-1.1.32-bkjq4858.mjs +0 -4
  702. package/dist/chunks/headless-1.1.32-ae4d3qgy.mjs +0 -2
  703. package/dist/chunks/heapdump-1.1.32-jdrsrqfx.mjs +0 -6
  704. package/dist/chunks/help-1.1.32-5z54ce4t.mjs +0 -1
  705. package/dist/chunks/hooks-1.1.32-2mse496x.mjs +0 -1
  706. package/dist/chunks/hooks-1.1.32-jv66gnpt.mjs +0 -79
  707. package/dist/chunks/ide-1.1.32-tx45prsy.mjs +0 -3
  708. package/dist/chunks/image-processor-napi-1.1.32-bwdr4dza.mjs +0 -1
  709. package/dist/chunks/import-1.1.32-7w75n01b.mjs +0 -261
  710. package/dist/chunks/inboundAttachments-1.1.32-1vfz9rkn.mjs +0 -1
  711. package/dist/chunks/index-1.1.32-3wzxvtbf.mjs +0 -1
  712. package/dist/chunks/index-1.1.32-49p9ghn6.mjs +0 -1
  713. package/dist/chunks/index-1.1.32-7ttnyjb3.mjs +0 -2
  714. package/dist/chunks/index-1.1.32-aqkr7bx2.mjs +0 -9
  715. package/dist/chunks/index-1.1.32-az0sxjjn.mjs +0 -5
  716. package/dist/chunks/index-1.1.32-b4rwnxe8.mjs +0 -1
  717. package/dist/chunks/index-1.1.32-bpzdp87c.mjs +0 -23
  718. package/dist/chunks/index-1.1.32-c3gnrfg0.mjs +0 -1
  719. package/dist/chunks/index-1.1.32-cjq261cn.mjs +0 -9
  720. package/dist/chunks/index-1.1.32-crx2adff.mjs +0 -1
  721. package/dist/chunks/index-1.1.32-dn9thxs1.mjs +0 -30
  722. package/dist/chunks/index-1.1.32-fwm6yqt6.mjs +0 -1
  723. package/dist/chunks/index-1.1.32-g58gm84f.mjs +0 -1
  724. package/dist/chunks/index-1.1.32-g9e9ne9q.mjs +0 -1
  725. package/dist/chunks/index-1.1.32-m694vs1n.mjs +0 -1
  726. package/dist/chunks/index-1.1.32-rbv0wt7t.mjs +0 -1
  727. package/dist/chunks/index-1.1.32-revsqy4q.mjs +0 -1
  728. package/dist/chunks/index-1.1.32-t011v5cn.mjs +0 -1
  729. package/dist/chunks/index-1.1.32-tv85kbw0.mjs +0 -1
  730. package/dist/chunks/index-1.1.32-v09n34s4.mjs +0 -1
  731. package/dist/chunks/index-1.1.32-vaknvmtk.mjs +0 -2
  732. package/dist/chunks/index-1.1.32-vxn4pvkx.mjs +0 -1
  733. package/dist/chunks/index-1.1.32-zep1vry1.mjs +0 -1
  734. package/dist/chunks/init-1.1.32-xac664gq.mjs +0 -2
  735. package/dist/chunks/initReplBridge-1.1.32-d1g5bqts.mjs +0 -1
  736. package/dist/chunks/ink-1.1.32-brepbf1s.mjs +0 -1
  737. package/dist/chunks/insights-1.1.32-ccteb3zt.mjs +0 -870
  738. package/dist/chunks/install-1.1.32-xhcj1s97.mjs +0 -1
  739. package/dist/chunks/install-github-app-1.1.32-2rb2b8y2.mjs +0 -149
  740. package/dist/chunks/install-slack-app-1.1.32-7e22rmh8.mjs +0 -1
  741. package/dist/chunks/interactiveHelpers-1.1.32-tw81dggb.mjs +0 -1
  742. package/dist/chunks/keybindings-1.1.32-bsjftmx2.mjs +0 -2
  743. package/dist/chunks/latestVersionCache-1.1.32-ecgj54va.mjs +0 -1
  744. package/dist/chunks/loadAgentsDir-1.1.32-9c4e13wb.mjs +0 -1
  745. package/dist/chunks/loadPluginHooks-1.1.32-qb96n0p6.mjs +0 -1
  746. package/dist/chunks/log-1.1.32-0wdbtf8k.mjs +0 -1
  747. package/dist/chunks/main-1.1.32-9s7gbk2b.mjs +0 -1
  748. package/dist/chunks/managedEnv-1.1.32-8aapabn1.mjs +0 -1
  749. package/dist/chunks/mcp-1.1.32-2ct5ytwv.mjs +0 -1
  750. package/dist/chunks/mcp-1.1.32-42npdfwc.mjs +0 -17
  751. package/dist/chunks/mcp-1.1.32-8c3f7gfy.mjs +0 -4
  752. package/dist/chunks/mcpb-1.1.32-482tejv1.mjs +0 -1
  753. package/dist/chunks/memory-1.1.32-jrnzabfj.mjs +0 -77
  754. package/dist/chunks/model-1.1.32-wjtssjq7.mjs +0 -1
  755. package/dist/chunks/model-1.1.32-z7v5ah7s.mjs +0 -2
  756. package/dist/chunks/node-1.1.32-bgrnv9d0.mjs +0 -15
  757. package/dist/chunks/node-1.1.32-pek9xbcv.mjs +0 -1
  758. package/dist/chunks/oauth-1.1.32-b01rfrnw.mjs +0 -1
  759. package/dist/chunks/openaiShim-1.1.32-68nafznt.mjs +0 -14
  760. package/dist/chunks/output-style-1.1.32-se3pq9dn.mjs +0 -1
  761. package/dist/chunks/package-D2QZMRW7-1.1.32-jykb9rfa.mjs +0 -1
  762. package/dist/chunks/permissions-1.1.32-r62vjas0.mjs +0 -3
  763. package/dist/chunks/permissions-1.1.32-v83ds1fq.mjs +0 -1
  764. package/dist/chunks/plan-1.1.32-remxpgv3.mjs +0 -1
  765. package/dist/chunks/plist-1.1.32-y2bh274p.mjs +0 -1
  766. package/dist/chunks/plugin-1.1.32-h9pgs6zn.mjs +0 -29
  767. package/dist/chunks/pluginStartupCheck-1.1.32-vyn1sara.mjs +0 -1
  768. package/dist/chunks/plugins-1.1.32-wxz7p0xc.mjs +0 -9
  769. package/dist/chunks/preActionHook-1.1.32-259wvsmh.mjs +0 -2
  770. package/dist/chunks/print-1.1.32-k37wv4h9.mjs +0 -57
  771. package/dist/chunks/process-1.1.32-tya6ctch.mjs +0 -1
  772. package/dist/chunks/processBashCommand-1.1.32-hfk6nzmr.mjs +0 -1
  773. package/dist/chunks/processSlashCommand-1.1.32-ga3g4qev.mjs +0 -9
  774. package/dist/chunks/prompt-1.1.32-crsv325t.mjs +0 -1
  775. package/dist/chunks/prompt-1.1.32-jyfkevpw.mjs +0 -1
  776. package/dist/chunks/prompts-1.1.32-mythhsq2.mjs +0 -1
  777. package/dist/chunks/provider-1.1.32-c16c25q6.mjs +0 -2
  778. package/dist/chunks/providerProfiles-1.1.32-gv05d26p.mjs +0 -1
  779. package/dist/chunks/providerValidation-1.1.32-srfcyanm.mjs +0 -6
  780. package/dist/chunks/registerSubcommands-1.1.32-af1r42j6.mjs +0 -26
  781. package/dist/chunks/registry-1.1.32-nvr3xen5.mjs +0 -1
  782. package/dist/chunks/release-notes-1.1.32-gtntbc84.mjs +0 -5
  783. package/dist/chunks/reload-plugins-1.1.32-qmx4b0zf.mjs +0 -2
  784. package/dist/chunks/remote-env-1.1.32-srz0skx2.mjs +0 -1
  785. package/dist/chunks/remoteBridgeCore-1.1.32-17erfh69.mjs +0 -1
  786. package/dist/chunks/rename-1.1.32-yww8w15q.mjs +0 -1
  787. package/dist/chunks/replLauncher-1.1.32-carhn5x3.mjs +0 -1
  788. package/dist/chunks/resume-1.1.32-y7g779fj.mjs +0 -2
  789. package/dist/chunks/rewind-1.1.32-xktcmbbk.mjs +0 -1
  790. package/dist/chunks/rootOptions-1.1.32-q7914mqe.mjs +0 -1
  791. package/dist/chunks/runWorkflowHeadless-1.1.32-yr1peyj2.mjs +0 -10
  792. package/dist/chunks/sandbox-adapter-1.1.32-kct2shfd.mjs +0 -1
  793. package/dist/chunks/sandbox-toggle-1.1.32-wa7kgd6b.mjs +0 -1
  794. package/dist/chunks/session-1.1.32-07pqmcyz.mjs +0 -2
  795. package/dist/chunks/sessionFileAccessHooks-1.1.32-1ekf9af3.mjs +0 -1
  796. package/dist/chunks/sessionStorage-1.1.32-vcm53ywe.mjs +0 -1
  797. package/dist/chunks/settings-1.1.32-kwtz4r22.mjs +0 -1
  798. package/dist/chunks/setup-1.1.32-695k1eyn.mjs +0 -12
  799. package/dist/chunks/sinks-1.1.32-3eh8hb97.mjs +0 -1
  800. package/dist/chunks/skills-1.1.32-ymdek4dt.mjs +0 -1
  801. package/dist/chunks/startupProfiler-1.1.32-sxxmxavv.mjs +0 -1
  802. package/dist/chunks/startupUpdateCheck-1.1.32-25e14c0p.mjs +0 -1
  803. package/dist/chunks/state-1.1.32-q2y7dv84.mjs +0 -1
  804. package/dist/chunks/stats-1.1.32-p79st2jy.mjs +0 -1
  805. package/dist/chunks/status-1.1.32-wsaad3gy.mjs +0 -1
  806. package/dist/chunks/stickers-1.1.32-erbhpqdc.mjs +0 -1
  807. package/dist/chunks/subprocessEnv-1.1.32-29m5mf2s.mjs +0 -1
  808. package/dist/chunks/tasks-1.1.32-fv2ze8ev.mjs +0 -1
  809. package/dist/chunks/teamHelpers-1.1.32-b2x5nsht.mjs +0 -1
  810. package/dist/chunks/teammateModeSnapshot-1.1.32-w65af42z.mjs +0 -1
  811. package/dist/chunks/teleport-1.1.32-6d4336gw.mjs +0 -1
  812. package/dist/chunks/terminalSetup-1.1.32-t82mfgh5.mjs +0 -1
  813. package/dist/chunks/theme-1.1.32-7qn5nf2j.mjs +0 -1
  814. package/dist/chunks/thinkback-1.1.32-awsxj77a.mjs +0 -1
  815. package/dist/chunks/thinkback-play-1.1.32-jz9fjb47.mjs +0 -1
  816. package/dist/chunks/toolPool-1.1.32-fjydq0km.mjs +0 -1
  817. package/dist/chunks/toolSearch-1.1.32-y8vfsj9n.mjs +0 -1
  818. package/dist/chunks/tools-1.1.32-pd8bskwj.mjs +0 -1
  819. package/dist/chunks/trustedDevice-1.1.32-891wyppj.mjs +0 -1
  820. package/dist/chunks/turndown.cjs-1.1.32-nsrwegv6.mjs +0 -69
  821. package/dist/chunks/types-1.1.32-v6b8jgxx.mjs +0 -1
  822. package/dist/chunks/ultrareviewCommand-1.1.32-wkj4mpew.mjs +0 -4
  823. package/dist/chunks/update-1.1.32-zz1tgpba.mjs +0 -72
  824. package/dist/chunks/upload-1.1.32-43gcqyx2.mjs +0 -7
  825. package/dist/chunks/upstreamproxy-1.1.32-nqwkbma5.mjs +0 -14
  826. package/dist/chunks/usage-1.1.32-80bkg4qd.mjs +0 -1
  827. package/dist/chunks/util-1.1.32-c7zmr7sf.mjs +0 -1
  828. package/dist/chunks/utils-1.1.32-x2mf8n7e.mjs +0 -1
  829. package/dist/chunks/vim-1.1.32-mz41whem.mjs +0 -1
  830. package/dist/chunks/watchLoop-1.1.32-yftqp4h6.mjs +0 -13
  831. package/dist/chunks/watcher-1.1.32-jy13qnvt.mjs +0 -1
  832. package/dist/chunks/wiki-1.1.32-z6ngme51.mjs +0 -132
  833. package/dist/chunks/workflows-1.1.32-mpyvb578.mjs +0 -1
  834. package/dist/chunks/worktree-1.1.32-qxw9fxfk.mjs +0 -1
  835. package/dist/chunks/worktreeModeEnabled-1.1.32-w3d8pgmt.mjs +0 -1
  836. package/dist/chunks/wrapper-1.1.32-5xty3sv5.mjs +0 -7
@@ -0,0 +1,2 @@
1
+ import{Ki as S,Li as y,Mi as Yq}from"./cli-1.1.33-9z2gy96d.mjs";import{Ni as r,Oi as Zq}from"./cli-1.1.33-k51bffb8.mjs";import{gm as W,hm as Qq}from"./cli-1.1.33-vgynvhys.mjs";import{FX as _,HX as V,mY as Kq}from"./cli-1.1.33-9zba2a1d.mjs";import{Q1 as B,R1 as N,S1 as x}from"./cli-1.1.33-h27b2an0.mjs";import{T1 as Jq}from"./cli-1.1.33-czrp8ff2.mjs";import{v9 as c,w9 as qq}from"./cli-1.1.33-20v60hvd.mjs";import{Aga as e,gga as G,hga as t,iga as u,jga as v,lga as g}from"./cli-1.1.33-n2d1txyn.mjs";import{pqa as s,tqa as i}from"./cli-1.1.33-cfj1bzen.mjs";function Uq(J,q,Z){if(J.startsWith("file-"))return Z?S(q):"+";if(J.startsWith("mcp-resource-"))return"◇";if(J.startsWith("agent-"))return"*";return"+"}function l(J){return J.startsWith("file-")||J.startsWith("mcp-resource-")||J.startsWith("agent-")}function Hq(J){let q=J.metadata?.type;return q==="directory"||q==="file"}function kq(J,q,Z){if(q<=0||Z<=0)return[];let Y=J.replace(Aq," ").trim();if(Y==="")return[];let Q=[],K="";for(let z of Y.split(" ")){if(K==="")K=z;else if(G(K)+1+G(z)<=q)K=`${K} ${z}`;else Q.push(K),K=z;while(G(K)>q){let U=g(K,q);if(U==="")break;Q.push(U),K=K.slice(U.length)}if(Q.length>Z)break}if(K!=="")Q.push(K);if(Q.length<=Z)return Q;let O=Q.slice(Z-1).join(" "),A=Q.slice(0,Z);return A[Z-1]=G(O)<=q?O:v(O,q),A}function d(J,q,Z){let Y=Math.floor(q*0.4),Q=Math.min(Z??G(J.displayText)+5,Y),K=J.displayText;if(G(K)>Q-2)K=v(K,Q-2);let O=Hq(J)?`${D?S(J.displayText):"+"} `:"",A=J.tag?`[${J.tag}] `:"",z=Math.max(0,q-C-Q-G(A)-4),U=J.description?kq(J.description,z,Oq):[];return{displayText:K,displayTextWidth:Q,pathIcon:O,tagText:A,descriptionLines:U}}function Bq(J,q,Z){if(l(J.id))return 1;return Math.max(1,d(J,q,Z).descriptionLines.length)}function fq({suggestions:J,selectedSuggestion:q,maxColumnWidth:Z,overlay:Y}){let{columns:Q,rows:K}=W(),O=Math.max(1,K-2),A=O>=$q?Math.min(Gq,O):O;if(J.length===0)return null;let z=Z??Math.max(...J.map(($)=>G($.displayText)))+5,U=J.map(($)=>Bq($,Q,z)),k=($)=>Math.max(0,Math.min(q-Math.floor($/2),J.length-$)),H=Math.min(A,J.length);while(H>1){let $=k(H);if(U.slice($,$+H).reduce((P,R)=>P+R,0)<=O)break;H--}let X=k(H),b=Math.min(X+H,J.length),F=J.slice(X,b);return B(_,{flexDirection:"column",justifyContent:Y?void 0:"flex-end",children:F.map(($)=>B(Mq,{item:$,maxColumnWidth:z,isSelected:$.id===J[q]?.id},`${$.id}:${$.id===J[q]?.id?"selected":"idle"}`))})}var T,$q=6,Gq=6,Oq=2,a,zq=" ",C,Aq,D,Mq,Rq;var Vq=i(()=>{qq();Qq();t();Kq();Yq();e();Zq();x();T=s(Jq(),1),a=`${c.pointer} `,C=G(a),Aq=/\s+/g,D=r();Mq=T.memo(function({item:q,maxColumnWidth:Z,isSelected:Y}){let Q=W().columns,K=Y?a:zq,O=Y?"suggestion":void 0,A=Y?"inverseText":void 0;if(l(q.id)){let M=Uq(q.id,q.displayText,D),L=!Y,p=q.id.startsWith("file-"),I=D&&p&&!Y?y(q.displayText):void 0,o=q.id.startsWith("mcp-resource-"),Xq=2,vq=4,h=q.description?3:0,f;if(p){let E=q.description?Math.min(20,G(q.description)):0,n=Q-C-2-4-h-E;f=u(q.displayText,n)}else if(o)f=v(q.displayText,30);else f=q.displayText;let m=Q-C-2-G(f)-h-4,w;if(q.description){let E=v(q.description.replace(/\s+/g," "),Math.max(0,m));w=` ${f} - ${E}`}else w=` ${f}`;return B(_,{width:"100%",opaque:!0,backgroundColor:O,children:N(V,{color:A,dimColor:L,bold:Y,wrap:"truncate",children:[K,I?B(V,{color:I,dimColor:!1,children:M}):M,w]})})}let{displayText:z,displayTextWidth:U,pathIcon:k,tagText:H,descriptionLines:X}=d(q,Q,Z),b=z+" ".repeat(Math.max(0,U-G(z))),F=K+k+b,$=" ".repeat(G(F)+G(H)),j=D&&k!==""&&!Y?y(q.displayText):void 0,P=`${b}${H}${X[0]??""}`,R=X.slice(1).map((M)=>`${$}${M}`);return N(_,{flexDirection:"column",width:"100%",opaque:!0,backgroundColor:O,children:[N(V,{color:A,dimColor:!Y,bold:Y,wrap:"truncate",children:[K,j?B(V,{color:j,dimColor:!1,children:k}):k,P]}),R.map((M,L)=>B(V,{color:A,dimColor:!Y,bold:Y,wrap:"truncate",children:M},L))]})});Rq=T.memo(fq)});
2
+ export{fq as Fi,Rq as Gi,Vq as Hi};
@@ -0,0 +1,2 @@
1
+ import{tqa as r}from"./cli-1.1.33-cfj1bzen.mjs";var i,a=(s,e)=>function(){try{return e||(0,s[i(s)[0]])((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}},n;var p=r(()=>{i=Object.getOwnPropertyNames,n=a({"package.json"(s,e){e.exports={name:"@mendable/firecrawl-js",version:"4.40.0",description:"JavaScript SDK for the Firecrawl API: web scraping, crawling, web search, and scientific literature search over a research paper index of PubMed, bioRxiv, medRxiv and arXiv abstracts",main:"dist/index.js",types:"dist/index.d.ts",exports:{"./package.json":"./package.json",".":{import:"./dist/index.js",default:"./dist/index.cjs"}},type:"module",scripts:{build:"tsup","build-and-publish":"pnpm run build && pnpm publish --access public","publish-beta":"pnpm run build && pnpm publish --access public --tag beta",test:"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/e2e/v2/*.test.ts --detectOpenHandles","test:unit":"NODE_OPTIONS=--experimental-vm-modules jest --verbose src/__tests__/unit/v2/*.test.ts"},repository:{type:"git",url:"git+https://github.com/firecrawl/firecrawl.git"},author:"Mendable.ai",license:"MIT",dependencies:{axios:"1.18.0",firecrawl:"4.30.1","typescript-event-target":"^1.1.1",zod:"^3.23.8","zod-to-json-schema":"^3.23.0"},bugs:{url:"https://github.com/firecrawl/firecrawl/issues"},homepage:"https://github.com/firecrawl/firecrawl#readme",devDependencies:{"@jest/globals":"^30.2.0","@types/dotenv":"^8.2.0","@types/jest":"^30.0.0","@types/mocha":"^10.0.6","@types/node":"^20.12.12","@types/uuid":"^9.0.8",dotenv:"^16.4.5",jest:"^30.2.0","ts-jest":"^29.4.5",tsup:"^8.5.0",typescript:"^5.4.5",uuid:"^14.0.0"},keywords:["firecrawl","mendable","crawler","web","scraper","api","sdk","web-search","literature-search","research","scientific-papers","academic-search","biomedical","life-sciences","pubmed","biorxiv","medrxiv","arxiv","preprints","citations","bioinformatics"],engines:{node:">=22.0.0"}}}})});
2
+ export{n as qi,p as ri};
@@ -0,0 +1,2 @@
1
+ import{Lr as J,Nr as Y}from"./cli-1.1.33-vgynvhys.mjs";import{lV as G,nV as X}from"./cli-1.1.33-n55k105y.mjs";import{D2 as z,I2 as V,M5 as W,r5 as B,w5 as D,x5 as F}from"./cli-1.1.33-525zf497.mjs";import{E8 as y,W8 as Q}from"./cli-1.1.33-0kvxjey5.mjs";import{aia as w,bia as N}from"./cli-1.1.33-283f43sy.mjs";import{tqa as M}from"./cli-1.1.33-cfj1bzen.mjs";async function f(){if(!D()||!F())return{};let q=B();if(q&&z(q.expiresAt))return null;let m=J();if(m.error)throw Error(`Auth error: ${m.error}`);let K={"Content-Type":"application/json","User-Agent":G(),...m.headers},L=`${w().BASE_API_URL}/api/oauth/usage`;return(await y.get(L,{headers:K,timeout:5000})).data}var Z=M(()=>{Q();N();W();Y();X();V()});
2
+ export{f as ph,Z as qh};
@@ -0,0 +1,2 @@
1
+ import{lqa as n}from"./cli-1.1.33-6fq5cn5g.mjs";import{rqa as r}from"./cli-1.1.33-cfj1bzen.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
2
+ export{i as r8};
@@ -0,0 +1,2 @@
1
+ import{M$ as z,O$ as H,_fa as C,dga as J}from"./cli-1.1.33-20v60hvd.mjs";H();J();var K=/https:\/\/[^\s]+\/pull\/\d+/;function M(q){try{let k=JSON.parse(q);if(!Array.isArray(k))return[];return k.filter((v)=>typeof v==="object"&&v!==null&&typeof v.number==="number")}catch(k){return C(`failed to parse gh issue list output: ${k instanceof Error?k.message:String(k)}`),[]}}function O(q){let k=q.trim(),v=k.lastIndexOf("/");return v===-1?k||"main":k.slice(v+1)||"main"}function Q(q){let k=q.match(K);if(k)return k[0];let v=q.trim();return/^https?:\/\/\S+$/.test(v)?v:null}async function W(q){let{stdout:k,code:v,error:A}=await z("gh",["issue","list","--label",q,"--state","open","--json","number,title,body,updatedAt"]);if(v!==0){if(A)C(`gh issue list failed: ${A}`);return[]}return M(k)}async function X(){let{stdout:q,code:k}=await z("git",["rev-parse","--abbrev-ref","origin/HEAD"]);if(k!==0)return"main";return O(q)}async function Y(){let{stdout:q,code:k}=await z("git",["status","--porcelain"]);if(k!==0)return!1;return q.trim().length>0}async function Z(q){let k=await z("git",["add","-A"]);if(k.code!==0)return C(`git add failed: ${k.error??k.stderr}`),!1;let v=await z("git",["commit","-m",q]);if(v.code!==0)return C(`git commit failed: ${v.error??v.stderr}`),!1;return!0}async function $(q){let{code:k,stderr:v,error:A}=await z("git",["push","-u","origin",q]);if(k!==0)return C(`git push failed: ${A??v}`),!1;return!0}async function B(q){let{stdout:k,code:v,stderr:A,error:G}=await z("gh",["pr","create","--base",q.base,"--head",q.head,"--title",q.title,"--body-file",q.bodyFile]);if(v!==0)return C(`gh pr create failed: ${G??A}`),null;return Q(k)}async function D(q,k){let{code:v,stderr:A,error:G}=await z("gh",["issue","comment",String(q),"--body",k]);if(v!==0)return C(`gh issue comment failed: ${G??A}`),!1;return!0}
2
+ export{W as a,X as b,Y as c,Z as d,$ as e,B as f,D as g};
@@ -0,0 +1,2 @@
1
+ import{u8 as p,v8 as a}from"./cli-1.1.33-nq2hxcp4.mjs";import{rqa as i}from"./cli-1.1.33-cfj1bzen.mjs";var u=i((V)=>{var v=p(),T=a(),_="AWS_ACCESS_KEY_ID",N="AWS_SECRET_ACCESS_KEY",S="AWS_SESSION_TOKEN",C="AWS_CREDENTIAL_EXPIRATION",A="AWS_CREDENTIAL_SCOPE",I="AWS_ACCOUNT_ID",d=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let r=process.env[_],s=process.env[N],E=process.env[S],o=process.env[C],n=process.env[A],t=process.env[I];if(r&&s){let c={accessKeyId:r,secretAccessKey:s,...E&&{sessionToken:E},...o&&{expiration:new Date(o)},...n&&{credentialScope:n},...t&&{accountId:t}};return v.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new T.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};V.ENV_ACCOUNT_ID=I;V.ENV_CREDENTIAL_SCOPE=A;V.ENV_EXPIRATION=C;V.ENV_KEY=_;V.ENV_SECRET=N;V.ENV_SESSION=S;V.fromEnv=d});
2
+ export{u as P7};
@@ -0,0 +1,2 @@
1
+ import{Nb as F,Qb as A}from"./cli-1.1.33-c45mt1yq.mjs";import{df as D,gf as H,if as _}from"./cli-1.1.33-jsyd53zn.mjs";import{E8 as U,W8 as P}from"./cli-1.1.33-0kvxjey5.mjs";P();_();A();var R="environments-2025-11-01",O=/^[a-zA-Z0-9_-]+$/;function j(J,K){if(!J||!O.test(J))throw Error(`Invalid ${K}: contains unsafe characters`);return J}class L extends Error{status;errorType;constructor(J,K,Z){super(J);this.name="BridgeFatalError",this.status=K,this.errorType=Z}}function y(J){function K(q){J.onDebug?.(q)}let Z=0,V=100;function X(q){let z={Authorization:`Bearer ${q}`,"Content-Type":"application/json","anthropic-version":"2023-06-01","anthropic-beta":R,"x-environment-runner-version":J.runnerVersion},W=J.getTrustedDeviceToken?.();if(W)z["X-Trusted-Device-Token"]=W;return z}function C(){let q=J.getAccessToken();if(!q)throw Error(F);return q}async function M(q,z){let W=C(),Q=await q(W);if(Q.status!==401)return Q;if(!J.onAuth401)return K(`[bridge:api] ${z}: 401 received, no refresh handler`),Q;if(K(`[bridge:api] ${z}: 401 received, attempting token refresh`),await J.onAuth401(W)){K(`[bridge:api] ${z}: Token refreshed, retrying request`);let $=C(),N=await q($);if(N.status!==401)return N;K(`[bridge:api] ${z}: Retry after refresh also got 401`)}else K(`[bridge:api] ${z}: Token refresh failed`);return Q}return{async registerBridgeEnvironment(q){K(`[bridge:api] POST /v1/environments/bridge bridgeId=${q.bridgeId}`);let z=await M((W)=>U.post(`${J.baseUrl}/v1/environments/bridge`,{machine_name:q.machineName,directory:q.dir,branch:q.branch,git_repo_url:q.gitRepoUrl,max_sessions:q.maxSessions,metadata:{worker_type:q.workerType},...q.reuseEnvironmentId&&{environment_id:q.reuseEnvironmentId}},{headers:X(W),timeout:15000,validateStatus:(Q)=>Q<500}),"Registration");return G(z.status,z.data,"Registration"),K(`[bridge:api] POST /v1/environments/bridge -> ${z.status} environment_id=${z.data.environment_id}`),K(`[bridge:api] >>> ${D({machine_name:q.machineName,directory:q.dir,branch:q.branch,git_repo_url:q.gitRepoUrl,max_sessions:q.maxSessions,metadata:{worker_type:q.workerType}})}`),K(`[bridge:api] <<< ${D(z.data)}`),z.data},async pollForWork(q,z,W,Q){j(q,"environmentId");let Y=Z;Z=0;let $=await U.get(`${J.baseUrl}/v1/environments/${q}/work/poll`,{headers:X(z),params:Q!==void 0?{reclaim_older_than_ms:Q}:void 0,timeout:1e4,signal:W,validateStatus:(N)=>N<500});if(G($.status,$.data,"Poll"),!$.data){if(Z=Y+1,Z===1||Z%V===0)K(`[bridge:api] GET .../work/poll -> ${$.status} (no work, ${Z} consecutive empty polls)`);return null}return K(`[bridge:api] GET .../work/poll -> ${$.status} workId=${$.data.id} type=${$.data.data?.type}${$.data.data?.id?` sessionId=${$.data.data.id}`:""}`),K(`[bridge:api] <<< ${D($.data)}`),$.data},async acknowledgeWork(q,z,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/ack`);let Q=await U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/ack`,{},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500});G(Q.status,Q.data,"Acknowledge"),K(`[bridge:api] POST .../work/${z}/ack -> ${Q.status}`)},async stopWork(q,z,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/stop force=${W}`);let Q=await M((Y)=>U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/stop`,{force:W},{headers:X(Y),timeout:1e4,validateStatus:($)=>$<500}),"StopWork");G(Q.status,Q.data,"StopWork"),K(`[bridge:api] POST .../work/${z}/stop -> ${Q.status}`)},async deregisterEnvironment(q){j(q,"environmentId"),K(`[bridge:api] DELETE /v1/environments/bridge/${q}`);let z=await M((W)=>U.delete(`${J.baseUrl}/v1/environments/bridge/${q}`,{headers:X(W),timeout:1e4,validateStatus:(Q)=>Q<500}),"Deregister");G(z.status,z.data,"Deregister"),K(`[bridge:api] DELETE /v1/environments/bridge/${q} -> ${z.status}`)},async archiveSession(q){j(q,"sessionId"),K(`[bridge:api] POST /v1/sessions/${q}/archive`);let z=await M((W)=>U.post(`${J.baseUrl}/v1/sessions/${q}/archive`,{},{headers:X(W),timeout:1e4,validateStatus:(Q)=>Q<500}),"ArchiveSession");if(z.status===409){K(`[bridge:api] POST /v1/sessions/${q}/archive -> 409 (already archived)`);return}G(z.status,z.data,"ArchiveSession"),K(`[bridge:api] POST /v1/sessions/${q}/archive -> ${z.status}`)},async reconnectSession(q,z){j(q,"environmentId"),j(z,"sessionId"),K(`[bridge:api] POST /v1/environments/${q}/bridge/reconnect session_id=${z}`);let W=await M((Q)=>U.post(`${J.baseUrl}/v1/environments/${q}/bridge/reconnect`,{session_id:z},{headers:X(Q),timeout:1e4,validateStatus:(Y)=>Y<500}),"ReconnectSession");G(W.status,W.data,"ReconnectSession"),K(`[bridge:api] POST .../bridge/reconnect -> ${W.status}`)},async heartbeatWork(q,z,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/heartbeat`);let Q=await U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/heartbeat`,{},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500});return G(Q.status,Q.data,"Heartbeat"),K(`[bridge:api] POST .../work/${z}/heartbeat -> ${Q.status} lease_extended=${Q.data.lease_extended} state=${Q.data.state}`),Q.data},async sendPermissionResponseEvent(q,z,W){j(q,"sessionId"),K(`[bridge:api] POST /v1/sessions/${q}/events type=${z.type}`);let Q=await U.post(`${J.baseUrl}/v1/sessions/${q}/events`,{events:[z]},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500});G(Q.status,Q.data,"SendPermissionResponseEvent"),K(`[bridge:api] POST /v1/sessions/${q}/events -> ${Q.status}`),K(`[bridge:api] >>> ${D({events:[z]})}`),K(`[bridge:api] <<< ${D(Q.data)}`)}}}function G(J,K,Z){if(J===200||J===204)return;let V=H(K),X=B(K);switch(J){case 401:throw new L(`${Z}: Authentication failed (401)${V?`: ${V}`:""}. ${F}`,401,X);case 403:throw new L(S(X)?"Remote Control session has expired. Please restart with `claudin remote-control` or /remote-control.":`${Z}: Access denied (403)${V?`: ${V}`:""}. Check your organization permissions.`,403,X);case 404:throw new L(V??`${Z}: Not found (404). Remote Control may not be available for this organization.`,404,X);case 410:throw new L(V??"Remote Control session has expired. Please restart with `claudin remote-control` or /remote-control.",410,X??"environment_expired");case 429:throw Error(`${Z}: Rate limited (429). Polling too frequently.`);default:throw Error(`${Z}: Failed with status ${J}${V?`: ${V}`:""}`)}}function S(J){if(!J)return!1;return J.includes("expired")||J.includes("lifetime")}function E(J){if(J.status!==403)return!1;return J.message.includes("external_poll_sessions")||J.message.includes("environments:manage")}function B(J){if(J&&typeof J==="object"){if("error"in J&&J.error&&typeof J.error==="object"&&"type"in J.error&&typeof J.error.type==="string")return J.error.type}return}function T(J){let K=new AbortController;function Z(){K.abort(),K=new AbortController}function V(){let X=new AbortController,C=()=>X.abort();if(J.aborted||K.signal.aborted)return X.abort(),{signal:X.signal,cleanup:()=>{}};J.addEventListener("abort",C,{once:!0});let M=K.signal;return M.addEventListener("abort",C,{once:!0}),{signal:X.signal,cleanup:()=>{J.removeEventListener("abort",C),M.removeEventListener("abort",C)}}}return{signal:V,wake:Z}}
2
+ export{j as T,L as U,y as V,S as W,E as X,T as Y};
@@ -0,0 +1,2 @@
1
+ import{P9 as V,Pfa as W,R9 as N,Sfa as E}from"./cli-1.1.33-20v60hvd.mjs";import{tqa as $,uqa as L}from"./cli-1.1.33-cfj1bzen.mjs";import{existsSync as S}from"node:fs";import{homedir as X}from"node:os";import{join as R}from"node:path";function B(b){let q=b?.trim();return q?q:void 0}function Y(b=process.env){return B(b.GOOGLE_CLOUD_PROJECT)??B(b.GCLOUD_PROJECT)??B(b.GOOGLE_PROJECT_ID)}function k(b=process.env){let q=B(b.GEMINI_AUTH_MODE)?.toLowerCase();if(q==="api-key"||q==="adc")return q;return}function x(b=process.env){let q=B(b.GOOGLE_APPLICATION_CREDENTIALS),w=new Set;if(q)w.add(q);w.add(R(X(),".config","gcloud","application_default_credentials.json"));let F=B(b.APPDATA);if(F)w.add(R(F,"gcloud","application_default_credentials.json"));return[...w]}function K(b=process.env){return x(b).some((q)=>S(q))}function y(b){if(typeof b==="string")return B(b);return B(b?.token)}async function P(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[U]})}async function Z(b,q){if(!K(b))return{kind:"none"};try{let w=await(q.createGoogleAuth??P)(),F=await w.getClient(),J=y(await F.getAccessToken());if(!J)return{kind:"none"};let Q=Y(b)??(typeof w.getProjectId==="function"?B(await w.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:J,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function j(b=process.env,q={}){let w=k(b),F=W(),J=F?.transport==="gemini"?B(F.apiKey):void 0,O=w==="adc"?void 0:J;if(O&&(w===void 0||w==="api-key"))return{kind:"api-key",credential:O};if(w==="api-key")return{kind:"none"};if(q.createGoogleAuth)return Z(b,q);return _(B(b.GOOGLE_APPLICATION_CREDENTIALS),B(b.APPDATA),X(),Y(b))}var U="https://www.googleapis.com/auth/cloud-platform",f=300000,_;var D=$(()=>{E();N();_=V(async(b,q,w,F)=>Z({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:q,GOOGLE_CLOUD_PROJECT:F,GCLOUD_PROJECT:F,GOOGLE_PROJECT_ID:F,HOME:w},{}),f)});
2
+ export{j as _i,D as $i};
@@ -0,0 +1,2 @@
1
+ import{sqa as x,tqa as z}from"./cli-1.1.33-cfj1bzen.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 DY,F as EY,G as FY,H as GY,J as HY};
@@ -0,0 +1,3 @@
1
+ import{J1 as E,K1 as D,O1 as N}from"./cli-1.1.33-ty6y9kn2.mjs";import{E8 as j,W8 as y}from"./cli-1.1.33-0kvxjey5.mjs";import{Eea as S,_fa as X,dea as O,dga as d,fea as P,o_ as B,q_ as H}from"./cli-1.1.33-20v60hvd.mjs";import{Aja as U,Ija as f}from"./cli-1.1.33-90w26xxw.mjs";import{Lja as W,Wja as b}from"./cli-1.1.33-ad43mr1x.mjs";import{fpa as M,zna as T}from"./cli-1.1.33-87p06j57.mjs";import{pqa as L,tqa as p}from"./cli-1.1.33-cfj1bzen.mjs";import{mkdir as G,readFile as u,writeFile as R}from"fs/promises";import{dirname as _,join as m}from"path";function I(){return m(W(),"cache","changelog.md")}async function Jq(){let J=H();if(!J.cachedChangelog)return;let q=I();try{await G(_(q),{recursive:!0}),await R(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}B(({cachedChangelog:Y,...z})=>z)}async function C(){if(T())return;if(O())return;let J=await j.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=I();await G(_(Y),{recursive:!0}),await R(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();B((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=I();try{let q=await u(J,"utf-8");return $=q,q}catch{return $="",""}}function F(){return $??""}function A(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
2
+ `);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let x=K.slice(1).filter((k)=>k.trim().startsWith("- ")).map((k)=>k.trim().substring(2).trim()).filter(Boolean);if(x.length>0)q[Z]=x}return q}catch(q){return X(U(q)),{}}}function l(J,q,Y=F()){try{let z=A(Y),K=w.coerce(J),Q=q?w.coerce(q):null;if(!Q||K&&D(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||D(Z,Q.version)).sort(([Z],[x])=>D(Z,x)?-1:1).flatMap(([Z,x])=>x).filter(Boolean).slice(0,V)}catch(z){return X(U(z)),[]}return[]}function Kq(J=F()){try{let q=A(J);return Object.keys(q).sort((z,K)=>D(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return X(U(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>X(U(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var w,V=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var c=p(()=>{y();M();S();b();f();d();P();N();w=L(E(),1)});
3
+ export{zq as Hf,Jq as If,C as Jf,h as Kf,Kq as Lf,Qq as Mf,c as Nf};
@@ -0,0 +1,2 @@
1
+ import{IJ as Y,cR as R,kk as Q,lk as I,sm as W,vm as P}from"./cli-1.1.33-vgynvhys.mjs";import{ega as B,fga as f}from"./cli-1.1.33-n2d1txyn.mjs";import{Tha as F,yha as H,zha as J}from"./cli-1.1.33-3de2dtv6.mjs";import{Cka as x,fpa as $}from"./cli-1.1.33-87p06j57.mjs";import{tqa as Z}from"./cli-1.1.33-cfj1bzen.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:{...z(h),stop_details:null},session_id:x(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:x(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:x(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let v=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:{...Y({content:v}).message,stop_details:null},parent_tool_use_id:null,session_id:x(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let v=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:v}}var G=Z(()=>{$();F();I();f();R();P()});
2
+ export{S as Re,V as Se,X as Te,r as Ue,w as Ve,T as We,G as Xe};
@@ -0,0 +1,2 @@
1
+ import{T1 as j}from"./cli-1.1.33-czrp8ff2.mjs";import{pqa as f,tqa as g}from"./cli-1.1.33-cfj1bzen.mjs";function q(){return b.useContext(k)}var b,k;var m=g(()=>{b=f(j(),1),k=b.createContext(null)});
2
+ export{k as Bh,q as Ch,m as Dh};
@@ -0,0 +1,3 @@
1
+ import{fb as $}from"./cli-1.1.33-yqqr1e67.mjs";import{E8 as O,W8 as C}from"./cli-1.1.33-0kvxjey5.mjs";import{Yfa as q,Zfa as H,dga as E}from"./cli-1.1.33-20v60hvd.mjs";import{Gia as z,Lia as y,Pia as V,Tia as L,bja as X,cia as R,dia as A,eia as _,eja as N,gia as w}from"./cli-1.1.33-241y9eee.mjs";import{Cka as Z,fpa as M}from"./cli-1.1.33-87p06j57.mjs";C();M();A();import{dirname as F,join as x}from"path";w();N();L();E();y();var D=q(new Date);function T(){return x($.errors(),D+".jsonl")}function J(G){return x($.mcpLogs(G),D+".jsonl")}function P(G){let K=R(G);return{write(Q){K.write(z(Q)+`
2
+ `)},flush:K.flush,dispose:K.dispose}}var B=new Map;function W(G){let K=B.get(G);if(!K){let Q=F(G);K=P({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),B.set(G,K),_(async()=>K?.dispose())}return K}function S(G,K){}function I(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function v(G){let K=G.stack||G.message,Q="";if(O.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=I(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),S(T(),{error:`${Q}${K}`})}function f(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};W(Q).write(Y)}function j(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};W(Q).write(U)}function k(){H({logError:v,logMCPError:f,logMCPDebug:j,getErrorsPath:T,getMCPLogsPath:J}),X("Error log sink initialized")}function a(){k()}
3
+ export{a as D};
@@ -0,0 +1,2 @@
1
+ import{ed as Jq,id as Tq}from"./cli-1.1.33-tp6bhara.mjs";import{ld as zq,md as bq}from"./cli-1.1.33-qss1gs3e.mjs";import{HM as S,KM as _q,Kx as n,Lx as Gq,MM as s,NM as Rq,RM as a,TG as D,UG as Nq,UM as l,YM as t,ZE as r,_E as fq,bN as e,dN as Fq,jN as qq,mN as Cq,rp as h,up as yq}from"./cli-1.1.33-vgynvhys.mjs";import{FX as F,HX as C,mY as Oq,rW as i,sW as Kq,tW as Bq}from"./cli-1.1.33-9zba2a1d.mjs";import{Q1 as v,R1 as R,S1 as p}from"./cli-1.1.33-h27b2an0.mjs";import{T1 as Lq}from"./cli-1.1.33-czrp8ff2.mjs";import{A9 as Zq,D$ as Hq,M$ as o,O$ as vq,U_ as $,V_ as Xq,_fa as m,dga as wq,g$ as x,z9 as g}from"./cli-1.1.33-20v60hvd.mjs";import{bja as B,eja as Yq}from"./cli-1.1.33-241y9eee.mjs";import{Aja as P,Dja as u,Ija as Wq}from"./cli-1.1.33-90w26xxw.mjs";import{pqa as d,tqa as Vq}from"./cli-1.1.33-cfj1bzen.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await h(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(u(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(u(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=$();o(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await h();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(D,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function hq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:uq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(D,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(hq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',uq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Zq();fq();Gq();Nq();Kq();Oq();Tq();Yq();Wq();vq();Hq();wq();Xq();_q();Cq();Fq();Rq();yq();bq();p();k=d(Bq(),1),K=d(Lq(),1)});
2
+ export{Iq as Wc,Yz as Xc,Dq as Yc};
@@ -0,0 +1,2 @@
1
+ import{bja as Q,eja as $}from"./cli-1.1.33-241y9eee.mjs";import{Dja as K,Ija as Z}from"./cli-1.1.33-90w26xxw.mjs";import{Lja as J,Wja as Y}from"./cli-1.1.33-ad43mr1x.mjs";Y();Z();$();import{readFileSync as k}from"node:fs";import{mkdir as I,writeFile as W}from"node:fs/promises";import{join as M}from"node:path";var S="latest-version.json";function X(){return M(J(),S)}function U(q){if(!q||typeof q!=="object")return!1;let x=q;return typeof x.latest==="string"&&x.latest.length>0&&typeof x.current==="string"&&x.current.length>0&&typeof x.checkedAt==="number"&&Number.isFinite(x.checkedAt)}function T(){try{let q=k(X(),"utf8"),x=JSON.parse(q);return U(x)?x:null}catch(q){if(K(q))return null;return Q(`latestVersionCache: read failed: ${q instanceof Error?q.stack??q.message:String(q)}`),null}}var G=new Set;function w(q){return G.add(q),()=>{G.delete(q)}}async function y(q){let x=X(),R=JSON.stringify(q);try{await W(x,R,"utf8")}catch(z){if(K(z))await I(J(),{recursive:!0}),await W(x,R,"utf8");else throw z}for(let z of[...G])try{z(q)}catch(B){Q(`latestVersionCache: listener threw: ${B instanceof Error?B.stack??B.message:String(B)}`)}}
2
+ export{T as ea,w as fa,y as ga};
@@ -0,0 +1,2 @@
1
+ import{tqa as g}from"./cli-1.1.33-cfj1bzen.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
2
+ export{Bq as cV,d as dV,$J as eV,DJ as fV,GJ as gV};
@@ -0,0 +1,21 @@
1
+ import{JJ as L,Yj as J,cR as C,xL as O,xs as K,yL as Y,ys as X}from"./cli-1.1.33-vgynvhys.mjs";import{tqa as V}from"./cli-1.1.33-cfj1bzen.mjs";function N(z){let y=[],D=z.matchAll(Z);for(let v of D)if(v.index!==void 0)y.push({word:v[0],start:v.index,end:v.index+v[0].length});return y}async function W({question:z,cacheSafeParams:y}){let D=`<system-reminder>This is a side question from the user. You must answer this question directly in a single response.
2
+
3
+ IMPORTANT CONTEXT:
4
+ - You are a separate, lightweight agent spawned to answer this one question
5
+ - The main agent is NOT interrupted - it continues working independently in the background
6
+ - You share the conversation context but are a completely separate instance
7
+ - Do NOT reference being interrupted or what you were "previously doing" - that framing is incorrect
8
+
9
+ CRITICAL CONSTRAINTS:
10
+ - You have NO tools available - you cannot read files, run commands, search, or take any actions
11
+ - This is a one-off response - there will be no follow-up turns
12
+ - You can ONLY provide information based on what you already know from the conversation context
13
+ - NEVER say things like "Let me try...", "I'll now...", "Let me check...", or promise to take any action
14
+ - If you don't know the answer, say so - do not offer to look it up or investigate
15
+
16
+ Simply answer the question with the information you have.</system-reminder>
17
+
18
+ ${z}`,v=await O({promptMessages:[L({content:D})],cacheSafeParams:y,canUseTool:async()=>({behavior:"deny",message:"Side questions cannot use tools",decisionReason:{type:"other",reason:"side_question"}}),querySource:"side_question",forkLabel:"side_question",maxTurns:1,skipCacheWrite:!0});return{response:$(v.messages),usage:v.totalUsage}}function $(z){let y=z.flatMap((v)=>v.type==="assistant"?v.message.content:[]);if(y.length>0){let v=J(y,`
19
+
20
+ `).trim();if(v)return v;let G=y.find((H)=>H.type==="tool_use");if(G)return`(The model tried to call ${"name"in G?G.name:"a tool"} instead of answering directly. Try rephrasing or ask in the main conversation.)`}let D=z.find((v)=>v.type==="system"&&("subtype"in v)&&v.subtype==="api_error");if(D)return`(API error: ${K(D.error)})`;return null}var Z;var w=V(()=>{X();Y();C();Z=/^\/btw\b/gi});
21
+ export{N as Pi,W as Qi,w as Ri};
@@ -0,0 +1,2 @@
1
+ import{FX as Y,HX as u,mY as e2,tW as u2,xW as Z}from"./cli-1.1.33-9zba2a1d.mjs";import{Q1 as t,R1 as o,S1 as U}from"./cli-1.1.33-h27b2an0.mjs";import{j_ as X,l_ as j}from"./cli-1.1.33-20v60hvd.mjs";import{pqa as s}from"./cli-1.1.33-cfj1bzen.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claudin"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,O,R,k,A,a,I,i,V;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.1.33"," "]})]}),O=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),R=t(u,{children:" "}),k=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),l[2]=c,l[3]=O,l[4]=R,l[5]=k,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=V;else c=l[2],O=l[3],R=l[4],k=l[5],A=l[6],a=l[7],I=l[8],i=l[9],V=l[10];let M;if(l[11]===Symbol.for("react.memo_cache_sentinel"))M=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=M;else M=l[11];let E,W;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),W=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=W;else E=l[12],W=l[13];let N;if(l[14]===Symbol.for("react.memo_cache_sentinel"))N=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=N;else N=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let P;if(l[16]===Symbol.for("react.memo_cache_sentinel"))P=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=P;else P=l[16];let v;if(l[17]===Symbol.for("react.memo_cache_sentinel"))v=t(Y,{width:K,children:o(u,{children:[c,O,R,k,A,a,I,i,V,M,E,W,N,L,P,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=v;else v=l[17];return v}let B,r,D,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))B=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.1.33"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),D=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=B,l[19]=r,l[20]=D,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else B=l[18],r=l[19],D=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let p;if(l[34]===Symbol.for("react.memo_cache_sentinel"))p=t(Y,{width:K,children:o(u,{children:[B,r,D,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=p;else p=l[34];return p}function t2(l){let e=Q.c(44),{theme:B,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(B)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","1.1.33"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let V,M,E,W,N,L,P,v;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),W=t(u,{children:" "}),N=t(u,{children:" "}),L=t(u,{children:" "}),P=t(u,{children:" ░░░░░░ "}),v=t(u,{children:" ░░░ ░░░░░░░░░░ "}),V=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),e[5]=V,e[6]=M,e[7]=E,e[8]=W,e[9]=N,e[10]=L,e[11]=P,e[12]=v;else V=e[5],M=e[6],E=e[7],W=e[8],N=e[9],L=e[10],P=e[11],v=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,W,N,L,P,v,V,M,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","1.1.33"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,p;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),p=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=p;else C=e[33],S=e[34],w=e[35],g=e[36],p=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let O;if(e[39]===Symbol.for("react.memo_cache_sentinel"))O=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=O;else O=e[39];let R;if(e[40]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=R;else R=e[40];let k;if(e[41]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=k;else k=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,p,c,O,R,k]})}),e[42]=m,e[43]=A;else A=e[43];return A}
2
+ export{c2 as Q};
@@ -0,0 +1,3 @@
1
+ import{Mga as N,Qga as T}from"./cli-1.1.33-dv29f6yk.mjs";import{tqa as Q}from"./cli-1.1.33-cfj1bzen.mjs";function X(){if(!process.stdin.isTTY||F||process.argv.includes("-p")||process.argv.includes("--print"))return;F=!0,A="";try{process.stdin.setEncoding("utf8"),process.stdin.setRawMode(!0),process.stdin.ref(),J=()=>{let q=process.stdin.read();while(q!==null){if(typeof q==="string")U(q);q=process.stdin.read()}},process.stdin.on("readable",J)}catch{F=!1}}function U(q){let v=0;while(v<q.length){let M=q[v],z=M.charCodeAt(0);if(z===3){K(),process.exit(130);return}if(z===4){K();return}if(z===127||z===8){if(A.length>0){let O=N(A);A=A.slice(0,-(O.length||1))}v++;continue}if(z===27){v++;while(v<q.length&&!(q.charCodeAt(v)>=64&&q.charCodeAt(v)<=126))v++;if(v<q.length)v++;continue}if(z<32&&z!==9&&z!==10&&z!==13){v++;continue}if(z===13){A+=`
2
+ `,v++;continue}A+=M,v++}}function K(){if(!F)return;if(F=!1,J)process.stdin.removeListener("readable",J),J=null}function Y(){K();let q=A.trim();return A="",q}function Z(q){A=q}var A="",F=!1,J=null;var V=Q(()=>{T()});
3
+ export{X as nY,K as oY,Y as pY,Z as qY,V as rY};
@@ -0,0 +1,12 @@
1
+ import{i6 as D}from"./cli-1.1.33-kqsskxv0.mjs";import{E8 as H,W8 as RG}from"./cli-1.1.33-0kvxjey5.mjs";import{b9 as XG}from"./cli-1.1.33-j6ep4mfm.mjs";import{Pia as L,Tia as JG,bja as W,eja as a}from"./cli-1.1.33-241y9eee.mjs";import{Nja as c,Oja as jG,Wja as GG}from"./cli-1.1.33-ad43mr1x.mjs";import{Epa as q,Fpa as g}from"./cli-1.1.33-5ehc9tkd.mjs";import{pqa as WG,tqa as j,uqa as e}from"./cli-1.1.33-cfj1bzen.mjs";function yG(){U.cache.clear?.(),W("Cleared CA certificates cache")}var U;var i=j(()=>{g();a();GG();JG();U=q(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as IG}from"https";function gG(){let G=N(),J=U();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function P(){let G=N(),J=U();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){N.cache.clear?.(),C.cache.clear?.(),W("Cleared mTLS configuration cache")}function iG(){if(!N())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var N,C;var KG=j(()=>{g();i();a();JG();N=q(()=>{let G={};if(process.env.CLAUDIN_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDIN_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDIN_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDIN_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDIN_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDIN_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDIN_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDIN_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),C=q(()=>{let G=N(),J=U();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new IG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,p;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");p=class p extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
2
+ `).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((X)=>{if(this.decrementSockets(Y,Z),typeof X.addRequest==="function")try{return X.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=X,super.createSocket(G,J,Q)},(X)=>{this.decrementSockets(Y,Z),Q(X)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let w=G.read();if(w)_(w);else G.once("readable",Z)}function X(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){X(),v("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(w){X(),v("onerror %o",w),Q(w)}function _(w){Y.push(w),K+=w.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
3
+ \r
4
+ `);if(O===-1){v("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
5
+ `),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),FG=+t[1],EG=t.slice(2).join(" "),I={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=I[d];if(typeof A==="string")I[d]=[A,l];else if(Array.isArray(A))A.push(l);else I[d]=l}v("got proxy server response: %o %o",f,I),X(),J({connect:{statusCode:FG,statusText:EG,headers:I},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var wG,v;var zG=j(()=>{wG=WG(XG(),1),v=wG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,F,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},m;var _G=j(()=>{$G();zG();BG();HG=WG(XG(),1),F=HG.default("https-proxy-agent");m=class m extends p{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},F("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")F("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else F("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,X=`CONNECT ${Z}:${J.port} HTTP/1.1\r
6
+ `;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))X+=`${z}: ${Y[z]}\r
7
+ `;let $=n(K);K.write(`${X}\r
8
+ `);let{connect:V,buffered:_}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return F("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){F("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let w=new M.Socket({writable:!1});return w.readable=!0,G.once("socket",(z)=>{F("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(_),z.push(null)}),w}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},X=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${X}:${J.port} HTTP/1.1\r
9
+ `;if(K.username||K.password){let w=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(w).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${X}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let w of Object.keys(Z))$+=`${w}: ${Z[w]}\r
10
+ `;let V=n(Y);Y.write(`${$}\r
11
+ `);let{connect:_}=await V;if(G.emit("proxyConnect",_),this.emit("proxyConnect",_,G),_.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return F("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${_.statusCode} after retry`)}};m.protocols=["http","https"]});function MJ(G){r.set(G,!0),qG(G)}function qG(G){TG.cache.delete?.(G)}function HJ(G){UG.set(G,!0),qG(G)}function OG(G){return UG.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function E(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function y(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function h(G,J={}){let Q=N(),K=U(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDIN_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,X,$)=>{$(null,Z,bG(X))};return new m(G,{...Y,...J})}function _J(G={}){let J=E(),Q=C(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=h(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&y(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=E();if(!J)return;if(y(G))return;return h(J)}function qJ(G){let J=E();if(!J)return;if(y(G))return;return J}function UJ(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=E();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...P()};return{...J,dispatcher:o(Q)}}let K=P();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:TG(G.provider)};return{...J,...K}}function NJ(){let G=E(),J=C();if(x!==void 0)H.interceptors.request.eject(x),x=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=h(G);x=H.interceptors.request.use((K)=>{if(K.url&&y(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=P();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function TJ(){let G=E();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-1.1.33-qckmwfjb.mjs"),import("./index-1.1.33-0szd959f.mjs")]),K=h(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function FJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,UG,o,T,NG,CG,TG,x;var PG=j(()=>{RG();_G();g();i();a();GG();KG();r=new Map;UG=new Map;o=q((G)=>{let J=D(),Q=N(),K=U(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),T={connections:12,keepAliveTimeout:30000,pipelining:1},NG={firstParty:{...T,allowH2:!0},openai:{...T,allowH2:!0},gemini:{...T,allowH2:!0},mistral:{...T,allowH2:!0},github:{...T,allowH2:!0},codex:{...T,allowH2:!0},"nvidia-nim":{...T,allowH2:!0},minimax:{...T,allowH2:!0}},CG=NG.openai,TG=q((G)=>{let J=D(),Q=NG[G]??CG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
12
+ export{yG as N5,i as O5,N as P5,gG as Q5,aG as R5,iG as S5,KG as T5,MJ as U5,HJ as V5,OG as W5,E as X5,y as Y5,_J as Z5,jJ as _5,qJ as $5,UJ as a6,NJ as b6,TJ as c6,FJ as d6,PG as e6};
@@ -0,0 +1,4 @@
1
+ import{jd as c,md as Eq}from"./cli-1.1.33-qss1gs3e.mjs";import{$M as I,Ao as Mq,Co as A,Do as D,Eo as Rq,Fo as h,Go as S,HM as v,Ho as Aq,IM as P,KM as Lq,UM as Qq,Uo as i,Vo as Fq,Wo as b,Xo as wq,_M as Xq,dN as vq,do as s,eN as O,eo as Tq,fN as Yq,gN as d,hN as $q,ip as l,jp as n,lp as Oq,mN as Dq,mp as y,np as e,op as qq,pp as Gq,qp as Hq,rp as m,rq as Jq,tq as Cq,up as jq,yo as t}from"./cli-1.1.33-vgynvhys.mjs";import{$ca as V,Eda as F,Gda as L,Wda as _q,_fa as a,dga as Bq,hda as Kq}from"./cli-1.1.33-20v60hvd.mjs";import{Pia as p,Tia as xq}from"./cli-1.1.33-241y9eee.mjs";import{Aja as o,Dja as N,Ija as Wq}from"./cli-1.1.33-90w26xxw.mjs";import{Ika as f,fpa as Uq}from"./cli-1.1.33-87p06j57.mjs";import{tqa as Zq}from"./cli-1.1.33-cfj1bzen.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await I(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await Qq();for(let[B,K]of Object.entries($))try{let M=(await Xq(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(U){a(o(U));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,x=`${Z.name}@${Y}`,Q=await n({pluginId:x,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:l(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${x} (scope: ${H})${Q.depNote}`,pluginId:x,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await m(),Y=[...X,...J],z=bq(q,Y),Z=D(H),x=F(Z),Q,$;if(z)Q=Object.keys(x?.enabledPlugins??{}).find((W)=>W===q||W===z.name||W.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let W=yq(q);if(!W)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=W.pluginId,$=W.pluginName}let B=zq(H),U=O().plugins[Q],M=U?.find((W)=>W.scope===H&&W.projectPath===B);if(!M){let{scope:W}=kq(Q);if(W!==H&&U&&U.length>0){if(W==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${W} scope, not ${H}. Use --scope ${W} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...x?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),Yq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await P(R);if(j){if(Jq(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(t(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&i(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),x=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&x===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?x===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await m(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:U}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(U)return{success:!1,message:`Failed to ${X} plugin: ${U.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
2
+ ${G.join(`
3
+ `)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function UG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await I(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=d().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),x=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let U=await Gq(G.source,{manifest:{name:G.name}});Q=U.path,B=!0,K=U.gitCommitSha,$=await b(q,G.source,U.manifest,U.path,G.version,U.gitCommitSha)}else{let U;try{U=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=U.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await Hq(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let U=y(q,$),M=e(q,$);if(J.version===$||J.installPath===U||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:x,alreadyUpToDate:!0,scope:Y};U=await qq(Q,q,$,G);let _=J.installPath;if($q(q,Y,z,U,$,K),_&&_!==U){let j=d();if(!Object.values(j.plugins).some((E)=>E.some((W)=>W.installPath===_)))await P(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${x||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:x,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{Uq();Mq();Wq();xq();Bq();Lq();Aq();Dq();vq();Tq();Rq();Oq();jq();Cq();Fq();Eq();wq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
4
+ export{k as Zc,HG as _c,JG as $c,QG as ad,kq as bd,XG as cd,YG as dd,$G as ed,zG as fd,ZG as gd,UG as hd,hq as id};
@@ -0,0 +1,2 @@
1
+ import{x_ as T,z_ as M}from"./cli-1.1.33-20v60hvd.mjs";import{Hia as L,Lia as y,bja as O,eja as x}from"./cli-1.1.33-241y9eee.mjs";import{Bja as C,Ija as k}from"./cli-1.1.33-90w26xxw.mjs";x();M();k();y();function N(W){if(W<60000)return`${Math.round(W/1000)}s`;let Z=Math.floor(W/60000),z=Math.round(W%60000/1000);return z>0?`${Z}m ${z}s`:`${Z}m`}function c(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return L(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function p(W){let Z=c(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var E=300000,j=1800000,H=3,F=60000;function u({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=E}){let J=new Map,Y=new Map,w=new Map;function U(q){let Q=(w.get(q)??0)+1;return w.set(q,Q),Q}function B(q,Q){let $=p(Q);if(!$){O(`[${z}:token] Could not decode JWT expiry for sessionId=${q}, token prefix=${Q.slice(0,15)}…, keeping existing timer`);return}let V=J.get(q);if(V)clearTimeout(V);let v=U(q),X=new Date($*1000).toISOString(),G=$*1000-Date.now()-P;if(G<=0){O(`[${z}:token] Token for sessionId=${q} expires=${X} (past or within buffer), refreshing immediately`),K(q,v);return}O(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(G)} (expires=${X}, buffer=${P/1000}s)`);let _=setTimeout(K,G,q,v);J.set(q,_)}function A(q,Q){let $=J.get(q);if($)clearTimeout($);let V=U(q),v=Math.max(Q*1000-P,30000);O(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(v)} (expires_in=${Q}s, buffer=${P/1000}s)`);let X=setTimeout(K,v,q,V);J.set(q,X)}async function K(q,Q){let $;try{$=await W()}catch(v){O(`[${z}:token] getAccessToken threw for sessionId=${q}: ${C(v)}`,{level:"error"})}if(w.get(q)!==Q){O(`[${z}:token] doRefresh for sessionId=${q} stale (gen ${Q} vs ${w.get(q)}), skipping`);return}if(!$){let v=(Y.get(q)??0)+1;if(Y.set(q,v),O(`[${z}:token] No OAuth token available for refresh, sessionId=${q} (failure ${v}/${H})`,{level:"error"}),T("error","bridge_token_refresh_no_oauth"),v<H){let X=setTimeout(K,F,q,Q);J.set(q,X)}return}Y.delete(q),O(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),Z(q,$);let V=setTimeout(K,j,q,Q);J.set(q,V),O(`[${z}:token] Scheduled follow-up refresh for sessionId=${q} in ${N(j)}`)}function D(q){U(q);let Q=J.get(q);if(Q)clearTimeout(Q),J.delete(q);Y.delete(q)}function S(){for(let q of w.keys())U(q);for(let q of J.values())clearTimeout(q);J.clear(),Y.clear()}return{schedule:B,scheduleFromExpiresIn:A,cancel:D,cancelAll:S}}
2
+ export{p as Db,u as Eb};
@@ -0,0 +1,25 @@
1
+ import{AJ as Jq,BJ as Qq,FJ as Oq,JJ as Vq,Lq as a,Rq as s,XJ as Pq,Xq as Kq,bl as r,cK as Yq,dl as vq,eK as Uq,fy as t,gy as Wq,jJ as S,kJ as R,lJ as hq,oJ as p,pJ as k,qJ as Bq,rJ as Gq,sJ as I,sQ as Zq,tA as e,tJ as b,vA as Hq,vE as zq,wC as qq,wE as Xq,xC as Nq,yQ as yq}from"./cli-1.1.33-vgynvhys.mjs";import{_fa as w,dga as Fq}from"./cli-1.1.33-20v60hvd.mjs";import{pha as o,rha as Lq}from"./cli-1.1.33-3de2dtv6.mjs";import{Ija as jq,uja as y}from"./cli-1.1.33-90w26xxw.mjs";import{tqa as M}from"./cli-1.1.33-cfj1bzen.mjs";function x(B,z){let G=m[z]??1,Y=B!==void 0?m[B]:void 0;if(Y===void 0)return z;return Y<=G?B:z}var m;var g=M(()=>{m={plan:0,default:1,acceptEdits:2,bypassPermissions:3}});function C(B,z){if(B.length<=z)return B;return`${B.slice(0,z)}
2
+ …[truncated ${B.length-z} chars]`}function u(B,z,G,Y){let V=[];if(V.push(`You are a worker agent in the "${B.name}" workflow, phase "${Y.name}".`),B.instructions.trim())V.push(`Workflow instructions:
3
+ ${B.instructions.trim()}`);if(V.push(`Task:
4
+ ${z}`),G.trim())V.push(`Work so far (accumulated artifact from earlier phases):
5
+ ${C(G.trim(),$q)}`);return V.push("Do your part of this phase and report your findings/output. Another agent (the orchestrator) will synthesize the phase and decide what happens next — you do not decide the flow."),V.join(`
6
+
7
+ `)}function c(B,z){let G=[];if(G.push(`You are the orchestrator (main) of the "${z.name}" workflow. You control the flow.`),z.instructions.trim())G.push(`Workflow instructions:
8
+ ${z.instructions.trim()}`);G.push(`Task:
9
+ ${B.task}`);let Y=z.steps.findIndex((Q)=>Q.name===B.currentStep),V=z.steps.map((Q,J)=>{let j=J<Y?"[done]":J===Y?"[current]":"[pending]",W=I(Q)?" (terminal)":"";return` ${J+1}. ${Q.name} ${j}${W}`}).join(`
10
+ `);if(G.push(`Phases:
11
+ ${V}`),B.history.length>0){let Q=B.history.map((J)=>{let j=J.agents.map((q)=>{let L=q.failed?" (FAILED)":"";return` • ${q.label}${L}:
12
+ ${C(q.output,f).split(`
13
+ `).map((H)=>` ${H}`).join(`
14
+ `)}`}).join(`
15
+ `),W=J.decision?` decision: ${J.decision.decision}${J.decision.target?` → ${J.decision.target}`:""} — ${J.decision.notes}`:" decision: (pending — this is the phase you are deciding now)";return` Phase "${J.step}":
16
+ ${j}
17
+ ${J.synthesis?` synthesis: ${C(J.synthesis,f)}
18
+ `:""}${W}`}).join(`
19
+
20
+ `);G.push(`History (all phases so far):
21
+ ${Q}`)}let $=z.steps[Y]?.handbackTo??[];return G.push($.length>0?`From the current phase you may hand back to: ${$.join(", ")}.`:"The current phase has no handback targets; you may only advance or refine."),G.push("Synthesize the current phase's worker outputs into an updated artifact (your final text), then call the StructuredOutput tool with your decision: advance (next phase), refine (re-run this phase), or handback (return to an allowed earlier phase). Include a short `notes` explaining why."),G.join(`
22
+
23
+ `)}var f=4000,$q=6000;var l=M(()=>{b()});function d(B,z,G){let Y=G.steps,V=Y.findIndex((j)=>j.name===B.currentStep),Z={...B.refineCounts},$=B.transitions+1,Q=B.currentStep,J="running";if(z.decision==="advance"){let j=Y[V+1];if(I(j)){if(J="done",j)Q=j.name}else Q=j.name}else if(z.decision==="refine"){if(Z[Q]=(Z[Q]??0)+1,Z[Q]>k)J="stalled"}else{let j=Y[V]?.handbackTo??[];if(!z.target||!j.includes(z.target))J="stalled";else if(Z[z.target]=(Z[z.target]??0)+1,Z[z.target]>k)J="stalled";else Q=z.target}if(J==="running"&&$>=p)J="stalled";return{...B,currentStep:Q,status:J,refineCounts:Z,transitions:$,updatedAt:Date.now()}}var i=M(()=>{b()});import Dq from"os";function Iq(){return Math.max(1,Math.min(8,Dq.cpus().length-1))}function wq(B){let z="",G=0;for(let V=B.length-1;V>=0;V--){let Z=B[V];if(Z.type!=="assistant"||!Z.message)continue;if(!z){let $=(Z.message.content??[]).filter((Q)=>Q.type==="text"&&Q.text);if($.length>0)z=$.map((Q)=>Q.text??"").join(`
24
+ `)}if(G===0&&Z.message.usage)G=Zq(Z.message.usage);if(z&&G)break}let Y=qq(B);return{text:z,tokens:G,tools:Y}}async function n(B){let{label:z,agentDef:G,promptText:Y,toolUseContext:V,canUseTool:Z,extraTools:$,runId:Q}=B,J=Date.now(),j=V.getAppState(),W=j.toolPermissionContext.mode,q={...j.toolPermissionContext,mode:x(G.permissionMode,W)},L=Yq(q,j.mcp.tools);if($&&$.length>0)L=[...L,...$];let H=G.model??String(V.options.mainLoopModel??""),F=[],N,P=!1;try{let K=zq({agentDefinition:G,promptMessages:[Vq({content:Y})],toolUseContext:V,canUseTool:Z,isAsync:!1,querySource:e(G.agentType,a(G)),availableTools:L,transcriptSubdir:`workflows/${Q}`,description:`${z} (workflow)`,override:{abortController:B.abortController}});for await(let h of K)if(F.push(h),h.type==="attachment"&&h.attachment?.type==="structured_output")N=h.attachment.data}catch(K){if(y(K))throw K;w(K),P=!0}let{text:E,tokens:_,tools:X}=wq(F);return{run:{label:z,model:H,tokens:_,tools:X,ms:Date.now()-J,output:P?"":E,failed:P},structuredOutput:N}}async function tq(B){let{def:z,task:G,toolUseContext:Y,canUseTool:V,onProgress:Z,signal:$}=B,{allAgents:Q}=await s(o()),J=new Map(Q.map((H)=>[H.agentType,H]));J.set(S,R);let j=J.get(z.main??S)??R,W=new AbortController;if($)if($.aborted)W.abort();else $.addEventListener("abort",()=>W.abort(),{once:!0});let q=await Jq({workflow:z.name,description:z.description,task:G,firstStep:z.steps[0].name});Z?.(q);let L=async()=>{await Qq(q),Z?.(q)};while(q.status==="running"){if($?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let H=z.steps.findIndex((v)=>v.name===q.currentStep),F=z.steps[H];if(I(F)){q={...q,status:"done",updatedAt:Date.now()},await L();break}q={...q,agentsInPhase:F.agents.length,agentsDone:0,updatedAt:Date.now()},await L();let N;try{N=(await t(F.agents,async(O)=>{let T={run:{label:`${F.name}:${O}`,model:"",tokens:0,tools:0,ms:0,output:"",failed:!0}},A;try{let D=J.get(O);A=D?await n({label:`${F.name}:${O}`,agentDef:D,promptText:u(z,G,q.artifact,F),toolUseContext:Y,canUseTool:V,runId:q.runId,abortController:W}):T}catch(D){if(y(D))throw D;w(D),A=T}return q={...q,agentsDone:(q.agentsDone??0)+1,updatedAt:Date.now()},await L(),A},{concurrency:Iq()})).map((O)=>O.run)}catch(v){if(y(v)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw v}let P={step:F.name,stepIndex:H,agents:N,synthesis:"",decision:null,at:Date.now()};if(q={...q,history:[...q.history,P],totalTokens:q.totalTokens+N.reduce((v,O)=>v+O.tokens,0),updatedAt:Date.now()},await L(),F.agents.length>0&&N.every((v)=>v.failed)){w(Error(`workflow phase "${F.name}": all ${N.length} worker(s) failed`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}if($?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let E=r(Gq(F));if(!("tool"in E)){w(Error(`workflow decision schema build failed: ${E.error}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let _=[E.tool],X;try{X=await n({label:"main",agentDef:j,promptText:c(q,z),toolUseContext:Y,canUseTool:V,extraTools:_,runId:q.runId,abortController:W})}catch(v){if(y(v)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw v}let K=Bq.safeParse(X.structuredOutput),h=[...q.history];if(h[h.length-1]={...P,synthesis:X.run.output,decision:K.success?K.data:null,agents:[...N,X.run]},q={...q,history:h,artifact:X.run.output.trim()?X.run.output:q.artifact,totalTokens:q.totalTokens+X.run.tokens,updatedAt:Date.now()},!K.success){w(Error(`workflow main produced no valid decision: ${K.error?.message??"no decision"}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let U=d(q,K.data,z);q={...q,currentStep:U.currentStep,status:U.status,refineCounts:U.refineCounts,transitions:U.transitions,updatedAt:U.updatedAt},await L()}return q}var Eq=M(()=>{Wq();Uq();Kq();Nq();Xq();vq();Lq();jq();Fq();Pq();Hq();yq();hq();g();l();Oq();i();b()});
25
+ export{tq as xi,Eq as yi};
@@ -0,0 +1,2 @@
1
+ import{rqa as H,tqa as UJ}from"./cli-1.1.33-cfj1bzen.mjs";var N=H((IJ,Oq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=H((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var C=H((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var I1=L.re=[],O1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),Z=w1++;F1(q,Z,$),z[q]=Z,j[Z]=$,H1[Z]=Q,I1[Z]=new RegExp($,J?"g":void 0),O1[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=H((HJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=H((wJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var G=H((yJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),P1=b(),{compareIdentifiers:e}=o(),_1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=P1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let Z=+Q;if(Z>=0&&Z<f)return Z}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let Z=[$,Q];if(J===!1)Z=[$];if(_1(this.prerelease,$)){let W=this.prerelease[$.split(".").length];if(isNaN(W))this.prerelease=Z}else this.prerelease=Z}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=H((BJ,_q)=>{var Pq=G(),X1=(q,$,J=!1)=>{if(q instanceof Pq)return q;try{return new Pq(q,$)}catch(Q){if(!J)return null;throw Q}};_q.exports=X1});var Aq=H((xJ,Xq)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};Xq.exports=L1});var Eq=H((DJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=H((GJ,Cq)=>{var Nq=G(),C1=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Cq.exports=C1});var uq=H((VJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,Y=W?Q:J,F=!!K.prerelease.length;if(!!Y.prerelease.length&&!F){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let I=F?"pre":"";if(J.major!==Q.major)return I+"major";if(J.minor!==Q.minor)return I+"minor";if(J.patch!==Q.patch)return I+"patch";return"prerelease"};kq.exports=S1});var Mq=H((PJ,Tq)=>{var R1=G(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=H((_J,bq)=>{var u1=G(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=H((XJ,fq)=>{var M1=G(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=H((AJ,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var _=H((LJ,cq)=>{var gq=G(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=H((EJ,mq)=>{var d1=_(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=H((NJ,sq)=>{var g1=_(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=H((CJ,tq)=>{var nq=G(),m1=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};tq.exports=m1});var rq=H((SJ,iq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));iq.exports=s1});var eq=H((RJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=H((kJ,q0)=>{var t1=_(),i1=(q,$,J)=>t1(q,$,J)>0;q0.exports=i1});var g=H((uJ,$0)=>{var r1=_(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=H((TJ,J0)=>{var e1=_(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=H((MJ,Q0)=>{var $$=_(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=H((bJ,W0)=>{var Q$=_(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=H((hJ,Z0)=>{var Z$=_(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=H((fJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),I$=m(),O$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return I$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=O$});var z0=H((vJ,j0)=>{var H$=G(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let F=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],U;while((U=F.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||U.index+U[0].length!==J.index+J[0].length)J=U;F.lastIndex=U.index+U[1].length+U[2].length}F.lastIndex=-1}if(J===null)return null;let Q=J[2],Z=J[3]||"0",W=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${Z}.${W}${K}${Y}`,$)};j0.exports=y$});var U0=H((dJ,Y0)=>{var B$=E(),x$=N(),D$=G(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&P$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},P$=(q,$)=>{if(_$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},_$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var O0=H((lJ,I0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}I0.exports=F0});var X=H((gJ,B0)=>{var X$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(X$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?P[V.HYPHENRANGELOOSE]:P[V.HYPHENRANGE];q=q.replace(W,s$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(P[V.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(P[V.TILDETRIM],S$),B("tilde trim",q),q=q.replace(P[V.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((I)=>b$(I,this.options)).join(" ").split(/\s+/).map((I)=>p$(I,this.options));if(Z)K=K.filter((I)=>{return B("loose invalid filter",I,this.options),!!I.match(P[V.COMPARATORLOOSE])});B("range list",K);let Y=new Map,F=K.map((I)=>new Qq(I,this.options));for(let I of F){if(w0(I))return[I];Y.set(I.value,I)}if(Y.size>1&&Y.has(""))Y.delete("");let U=[...Y.values()];return H0.set(J,U),U}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((Z)=>{return Q.every((W)=>{return Z.intersects(W,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(a$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=O0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=G(),{safeRe:P,src:N$,t:V,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[V.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),Z=Q.pop();while(J&&Q.length)J=Q.every((W)=>{return Z.intersects(W,$)}),Z=Q.pop();return J},b$=(q,$)=>{return q=q.replace(P[V.BUILD],""),B("comp",q,$),q=d$(q,$),B("caret",q),q=f$(q,$),B("tildes",q),q=g$(q,$),B("xrange",q),q=m$(q,$),B("stars",q),q},D=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$,J)=>D(q)&&!D($)||D($)&&J&&!D(J),f$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>v$(J,$)).join(" ")},v$=(q,$)=>{let J=$.loose?P[V.TILDELOOSE]:P[V.TILDE],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("tilde",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else if(F)B("replaceTilde pr",F),U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;return B("tilde return",U),U})},d$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>l$(J,$)).join(" ")},l$=(q,$)=>{B("caret",q,$);let J=$.loose?P[V.CARETLOOSE]:P[V.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("caret",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))if(W==="0")U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(F)if(B("replaceCaret pr",F),W==="0")if(K==="0")U=`>=${W}.${K}.${Y}-${F} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y}-${F} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")U=`>=${W}.${K}.${Y} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${+W+1}.0.0-0`;return B("caret return",U),U})},g$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>c$(J,$)).join(" ")},c$=(q,$)=>{q=q.trim();let J=$.loose?P[V.XRANGELOOSE]:P[V.XRANGE];return q.replace(J,(Q,Z,W,K,Y,F)=>{if(B("xRange",q,Q,Z,W,K,Y,F),h$(W,K,Y))return q;let U=D(W),I=U||D(K),y=I||D(Y),x=y;if(Z==="="&&x)Z="";if(F=$.includePrerelease?"-0":"",U)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(I)K=0;if(Y=0,Z===">")if(Z=">=",I)W=+W+1,K=0,Y=0;else K=+K+1,Y=0;else if(Z==="<=")if(Z="<",I)W=+W+1;else K=+K+1;if(Z==="<")F="-0";Q=`${Z+W}.${K}.${Y}${F}`}else if(I)Q=`>=${W}.0.0${F} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${F} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},m$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(P[V.STAR],"")},p$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(P[$.includePrerelease?V.GTE0PRE:V.GTE0],"")},s$=(q)=>($,J,Q,Z,W,K,Y,F,U,I,y,x)=>{if(D(Q))J="";else if(D(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(D(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(D(U))F="";else if(D(I))F=`<${+U+1}.0.0-0`;else if(D(y))F=`<${U}.${+I+1}.0-0`;else if(x)F=`<=${U}.${I}.${y}-${x}`;else if(q)F=`<${U}.${I}.${+y+1}-0`;else F=`<=${F}`;return`${J} ${F}`.trim()},a$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let Z=q[Q].semver;if(Z.major===$.major&&Z.minor===$.minor&&Z.patch===$.patch)return!0}}return!1}return!0}});var u=H((cJ,_0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new P0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new P0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}_0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=G(),P0=X()});var M=H((mJ,X0)=>{var n$=X(),t$=(q,$,J)=>{try{$=new n$($,J)}catch(Q){return!1}return $.test(q)};X0.exports=t$});var L0=H((pJ,A0)=>{var i$=X(),r$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=r$});var N0=H((sJ,E0)=>{var o$=G(),e$=X(),q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new e$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new o$(Q,J)}}),Q};E0.exports=q9});var S0=H((aJ,C0)=>{var $9=G(),J9=X(),Q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new J9($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new $9(Q,J)}}),Q};C0.exports=Q9});var u0=H((nJ,k0)=>{var Kq=G(),W9=X(),R0=R(),Z9=(q,$)=>{q=new W9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let Z=q.set[Q],W=null;if(Z.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!W||R0(Y,W))W=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||R0(J,W)))J=W}if(J&&q.test(J))return J;return null};k0.exports=Z9});var M0=H((tJ,T0)=>{var K9=X(),j9=(q,$)=>{try{return new K9(q,$).range||"*"}catch(J){return null}};T0.exports=j9});var n=H((iJ,v0)=>{var z9=G(),f0=u(),{ANY:Y9}=f0,U9=X(),F9=M(),b0=R(),h0=g(),I9=m(),O9=c(),H9=(q,$,J,Q)=>{q=new z9(q,Q),$=new U9($,Q);let Z,W,K,Y,F;switch(J){case">":Z=b0,W=I9,K=h0,Y=">",F=">=";break;case"<":Z=h0,W=O9,K=b0,Y="<",F="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(F9(q,$,Q))return!1;for(let U=0;U<$.set.length;++U){let I=$.set[U],y=null,x=null;if(I.forEach((O)=>{if(O.semver===Y9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,Z(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===F)return!1;if((!x.operator||x.operator===Y)&&W(q,x.semver))return!1;else if(x.operator===F&&K(q,x.semver))return!1}return!0};v0.exports=H9});var l0=H((rJ,d0)=>{var w9=n(),y9=(q,$,J)=>w9(q,$,">",J);d0.exports=y9});var c0=H((oJ,g0)=>{var B9=n(),x9=(q,$,J)=>B9(q,$,"<",J);g0.exports=x9});var s0=H((eJ,p0)=>{var m0=X(),D9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=D9});var n0=H((qQ,a0)=>{var G9=M(),V9=_();a0.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((I,y)=>V9(I,y,J));for(let I of K)if(G9(I,$,J)){if(W=I,!Z)Z=I}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let Y=[];for(let[I,y]of Q)if(I===y)Y.push(I);else if(!y&&I===K[0])Y.push("*");else if(!y)Y.push(`>=${I}`);else if(I===K[0])Y.push(`<=${y}`);else Y.push(`${I} - ${y}`);let F=Y.join(" || "),U=typeof $.raw==="string"?$.raw:String($);return F.length<U.length?F:$}});var q1=H(($Q,e0)=>{var t0=X(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=_(),P9=(q,$,J={})=>{if(q===$)return!0;q=new t0(q,J),$=new t0($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=X9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},_9=[new Yq(">=0.0.0-0")],i0=[new Yq(">=0.0.0")],X9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===jq)if($.length===1&&$[0].semver===jq)return!0;else if(J.includePrerelease)q=_9;else q=i0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=i0;let Q=new Set,Z,W;for(let O of q)if(O.operator===">"||O.operator===">=")Z=r0(Z,O,J);else if(O.operator==="<"||O.operator==="<=")W=o0(W,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Uq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let O of Q){if(Z&&!zq(O,String(Z),J))return null;if(W&&!zq(O,String(W),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,F,U,I,y=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1,x=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1;if(y&&y.prerelease.length===1&&W.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(I=I||O.operator===">"||O.operator===">=",U=U||O.operator==="<"||O.operator==="<=",Z){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(Z,O,J),Y===O&&Y!==Z)return!1}else if(Z.operator===">="&&!O.test(Z.semver))return!1}if(W){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(F=o0(W,O,J),F===O&&F!==W)return!1}else if(W.operator==="<="&&!O.test(W.semver))return!1}if(!O.operator&&(W||Z)&&K!==0)return!1}if(Z&&U&&!W&&K!==0)return!1;if(W&&I&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=P9});var W1=H((JQ,Q1)=>{var Fq=C(),$1=N(),A9=G(),J1=o(),L9=E(),E9=Aq(),N9=Eq(),C9=Sq(),S9=uq(),R9=Mq(),k9=hq(),u9=vq(),T9=lq(),M9=_(),b9=pq(),h9=aq(),f9=l(),v9=rq(),d9=eq(),l9=R(),g9=g(),c9=qq(),m9=$q(),p9=c(),s9=m(),a9=Jq(),n9=z0(),t9=U0(),i9=u(),r9=X(),o9=M(),e9=L0(),qJ=N0(),$J=S0(),JJ=u0(),QJ=M0(),WJ=n(),ZJ=l0(),KJ=c0(),jJ=s0(),zJ=n0(),YJ=q1();Q1.exports={parse:L9,valid:E9,clean:N9,inc:C9,diff:S9,major:R9,minor:k9,patch:u9,prerelease:T9,compare:M9,rcompare:b9,compareLoose:h9,compareBuild:f9,sort:v9,rsort:d9,gt:l9,lt:g9,eq:c9,neq:m9,gte:p9,lte:s9,cmp:a9,coerce:n9,truncate:t9,Comparator:i9,Range:r9,satisfies:o9,toComparators:e9,maxSatisfying:qJ,minSatisfying:$J,minVersion:JJ,validRange:QJ,outside:WJ,gtr:ZJ,ltr:KJ,intersects:jJ,simplifyRange:zJ,subset:YJ,SemVer:A9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function t(){if(!Iq)Iq=W1();return Iq}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return t().gt(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return t().gte(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return t().lt(q,$,{loose:!0})}function KQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return t().satisfies(q,$,{loose:!0})}var Iq;var FJ=()=>{};
2
+ export{W1 as J1,QQ as K1,WQ as L1,ZQ as M1,KQ as N1,FJ as O1};
@@ -0,0 +1,6 @@
1
+ import{tqa as I}from"./cli-1.1.33-cfj1bzen.mjs";function R($,q,H){let J=$.indexOf(q);if(J===-1)return $;let K=q.length,Z=0,Q="";do Q+=$.slice(Z,J)+q+H,Z=J+K,J=$.indexOf(q,Z);while(J!==-1);return Q+=$.slice(Z),Q}function T($,q,H,J){let K=0,Z="";do{let Q=$[J-1]==="\r";Z+=$.slice(K,Q?J-1:J)+q+(Q?`\r
2
+ `:`
3
+ `)+H,K=J+1,J=$.indexOf(`
4
+ `,K)}while(J!==-1);return Z+=$.slice(K),Z}var _=()=>{};function a(){let $=new Map;for(let[q,H]of Object.entries(X)){for(let[J,K]of Object.entries(H))X[J]={open:`\x1B[${K[0]}m`,close:`\x1B[${K[1]}m`},H[J]=X[J],$.set(Number.parseInt(K[0],10),K[1]);Object.defineProperty(X,q,{value:H,enumerable:!1})}return Object.defineProperty(X,"codes",{value:$,enumerable:!1}),X.color.close="\x1B[39m",X.bgColor.close="\x1B[49m",X.underlineColor.close="\x1B[59m",X.color.ansi=A(),X.color.ansi256=Y(),X.color.ansi16m=k(),X.bgColor.ansi=A(10),X.bgColor.ansi256=Y(10),X.bgColor.ansi16m=k(10),X.underlineColor.ansi=g,X.underlineColor.ansi256=Y(20),X.underlineColor.ansi16m=k(20),Object.defineProperties(X,{rgbToAnsi256:{value(q,H,J){if(q===H&&H===J){if(q<8)return 16;if(q>248)return 231;return Math.round((q-8)/247*24)+232}return 16+36*Math.round(q/255*5)+6*Math.round(H/255*5)+Math.round(J/255*5)},enumerable:!1},hexToRgb:{value(q){let H=/[\da-f]{6}|[\da-f]{3}/i.exec(q.toString(16));if(!H)return[0,0,0];let[J]=H;if(J.length===3)J=[...J].map((Z)=>Z+Z).join("");let K=Number.parseInt(J,16);return[K>>16&255,K>>8&255,K&255]},enumerable:!1},hexToAnsi256:{value:(q)=>X.rgbToAnsi256(...X.hexToRgb(q)),enumerable:!1},ansi256ToAnsi:{value(q){if(q<8)return 30+q;if(q<16)return 90+(q-8);let H,J,K;if(q>=232)H=((q-232)*10+8)/255,J=H,K=H;else{q-=16;let D=q%36;H=Math.floor(q/36)/5,J=Math.floor(D/6)/5,K=D%6/5}let Z=Math.max(H,J,K)*2;if(Z===0)return 30;let Q=30+(Math.round(K)<<2|Math.round(J)<<1|Math.round(H));if(Z===2)Q+=60;return Q},enumerable:!1},rgbToAnsi:{value:(q,H,J)=>X.ansi256ToAnsi(X.rgbToAnsi256(q,H,J)),enumerable:!1},hexToAnsi:{value:(q)=>X.ansi256ToAnsi(X.hexToAnsi256(q)),enumerable:!1}}),X}var A=($=0)=>(q)=>`\x1B[${q+$}m`,Y=($=0)=>(q)=>`\x1B[${38+$};5;${q}m`,k=($=0)=>(q,H,J)=>`\x1B[${38+$};2;${q};${H};${J}m`,g=($)=>`\x1B[58;5;${$<90?$-30:$-90+8}m`,X,U1,d,i,W1,z1,n,z;var E=I(()=>{X={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],underlineDouble:["4:2",24],underlineCurly:["4:3",24],underlineDotted:["4:4",24],underlineDashed:["4:5",24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},underlineColor:{underlineBlack:["58;5;0",59],underlineRed:["58;5;1",59],underlineGreen:["58;5;2",59],underlineYellow:["58;5;3",59],underlineBlue:["58;5;4",59],underlineMagenta:["58;5;5",59],underlineCyan:["58;5;6",59],underlineWhite:["58;5;7",59],underlineBlackBright:["58;5;8",59],underlineGray:["58;5;8",59],underlineGrey:["58;5;8",59],underlineRedBright:["58;5;9",59],underlineGreenBright:["58;5;10",59],underlineYellowBright:["58;5;11",59],underlineBlueBright:["58;5;12",59],underlineMagentaBright:["58;5;13",59],underlineCyanBright:["58;5;14",59],underlineWhiteBright:["58;5;15",59]}},U1=Object.keys(X.modifier),d=Object.keys(X.color),i=Object.keys(X.bgColor),W1=Object.keys(X.underlineColor),z1=[...d,...i];n=a(),z=n});import x from"node:process";import t from"node:os";import S from"node:tty";function W($,q=globalThis.Deno?globalThis.Deno.args:x.argv){let H=$.startsWith("-")?"":$.length===1?"-":"--",J=q.indexOf(H+$),K=q.indexOf("--");return J!==-1&&(K===-1||J<K)}function b(){return/^\d+$/.test(U.FORCE_COLOR)}function o(){if(!("FORCE_COLOR"in U))return;if(U.FORCE_COLOR==="false")return 0;if(U.FORCE_COLOR==="true"||U.FORCE_COLOR.length===0)return 1;if(!b())return;return Math.min(Number.parseInt(U.FORCE_COLOR,10),3)}function r($){if($===0)return!1;return{level:$,hasBasic:!0,has256:$>=2,has16m:$>=3}}function l($,{streamIsTTY:q,sniffFlags:H=!0}={}){let J=o();if(J!==void 0)P=J;let K=H?P:J;if(K===0)return 0;if(H){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if(K!==void 0&&b())return K;if("TF_BUILD"in U&&"AGENT_NAME"in U)return 1;if($&&!q&&K===void 0)return 0;let Z=K||0;if(U.TERM==="dumb")return Z;if(x.platform==="win32"){let Q=t.release().split(".");if(Number(Q[0])>=10&&Number(Q[2])>=10586)return Number(Q[2])>=14931?3:2;return 1}if("CI"in U){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((Q)=>(Q in U)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Q)=>(Q in U))||U.CI_NAME==="codeship")return 1;return Z}if("TEAMCITY_VERSION"in U)return/^(?:9\.0*[1-9]\d*\.|\d{2,}\.)/.test(U.TEAMCITY_VERSION)?1:0;if(U.COLORTERM==="truecolor")return 3;if(U.TERM==="xterm-kitty")return 3;if(U.TERM==="xterm-ghostty")return 3;if(U.TERM==="wezterm")return 3;if("TERM_PROGRAM"in U){let Q=Number.parseInt((U.TERM_PROGRAM_VERSION||"").split(".",1)[0],10);switch(U.TERM_PROGRAM){case"iTerm.app":return Q>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(?:color)?$/i.test(U.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(U.TERM))return 1;if("COLORTERM"in U)return 1;return Z}function F($,q={}){let H=l($,{streamIsTTY:$&&$.isTTY,...q});return r(H)}var U,P,s,C;var h=I(()=>{({env:U}=x);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))P=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))P=1;s={stdout:F({isTTY:S.isatty(1)}),stderr:F({isTTY:S.isatty(2)})},C=s});class q1{constructor($){return v($)}}function O($){return v($)}var f,m,G,V,M,w,j,u=($)=>{if(!Number.isSafeInteger($)||$<0||$>3)throw Error("The `level` should be an integer from 0 to 3")},e,$1=($,q={})=>{if(q.level!==void 0)u(q.level);let H=f?f.level:0;$[w]=q.level===void 0?H:q.level},v=($)=>{let q=(...H)=>H.join(" ");return $1(q,$),Object.setPrototypeOf(q,O.prototype),q},H1=($,q)=>{let H=z[q];if($==="rgb"){let K=(Q,D,B)=>H.ansi(z.rgbToAnsi(Q,D,B));return[K,K,(Q,D,B)=>H.ansi256(z.rgbToAnsi256(Q,D,B)),H.ansi16m]}if($==="hex"){let K=(Q)=>H.ansi(z.hexToAnsi(Q));return[K,K,(Q)=>H.ansi256(z.hexToAnsi256(Q)),(Q)=>H.ansi16m(...z.hexToRgb(Q))]}let J=(K)=>H.ansi(z.ansi256ToAnsi(K));return[J,J,H.ansi256,H.ansi256]},J1,K1,p=($,q,H)=>{let J,K;if(H===void 0)J=$,K=q;else J=H.openAll+$,K=q+H.closeAll;return{open:$,close:q,openAll:J,closeAll:K,parent:H}},N=($,q,H)=>{let J=(...K)=>{if(K.length===1)return L(J,""+K[0]);if(K.length===2)return L(J,K[0]+" "+K[1]);return L(J,K.join(" "))};return Object.setPrototypeOf(J,K1),J[G]=$[G]??$,J[V]=q,J[M]=H,J},L=($,q)=>{if($[G][w]<=0||!q)return $[M]?"":q;let H=$[V];if(H===void 0)return q;let{openAll:J,closeAll:K}=H;if(q.includes("\x1B"))while(H!==void 0)q=R(q,H.close,H.open),H=H.parent;let Z=q.indexOf(`
5
+ `);if(Z!==-1)q=T(q,K,J,Z);return J+q+K},Q1,w1,Y1;var X1=I(()=>{_();E();h();({stdout:f,stderr:m}=C),G=Symbol("GENERATOR"),V=Symbol("STYLER"),M=Symbol("IS_EMPTY"),w=Symbol("LEVEL"),j=Object.create(null),e={enumerable:!0,get(){return this[w]},set($){u($),this[w]=$}};Object.setPrototypeOf(O.prototype,Function.prototype);for(let[$,q]of Object.entries(z))j[$]={get(){let H=N(this,p(q.open,q.close,this[V]),this[M]);return Object.defineProperty(this,$,{value:H}),H}};j.visible={get(){let $=N(this,this[V],!0);return Object.defineProperty(this,"visible",{value:$}),$}};J1=["rgb","hex","ansi256"];for(let $ of J1){let q=$[0].toUpperCase()+$.slice(1);for(let[H,J]of[[$,"color"],["bg"+q,"bgColor"],["underline"+q,"underlineColor"]]){let{close:K}=z[J],Z=H1($,J);j[H]={get(){let Q=function(D,B,c){let y=Z[this.level](D,B,c);return N(this,p(y,K,this[V]),this[M])};return Object.defineProperty(this,H,{value:Q}),Q}}}}K1=Object.defineProperties(()=>{},{...j,level:{enumerable:!0,get(){return this[G].level},set($){this[G].level=$}}});Object.defineProperties(O.prototype,{...j,level:e});Q1=O(),w1=O({level:m?m.level:0}),Y1=Q1});
6
+ export{q1 as f6,Y1 as g6,X1 as h6};
@@ -0,0 +1,3 @@
1
+ import{M1 as k,O1 as v}from"./cli-1.1.33-ty6y9kn2.mjs";import{M5 as s,x5 as j}from"./cli-1.1.33-525zf497.mjs";import{A_ as d,G_ as h,M_ as q}from"./cli-1.1.33-20v60hvd.mjs";import{tqa as p}from"./cli-1.1.33-cfj1bzen.mjs";function m(){return x()||!!process.env.CLAUDE_BRIDGE_OAUTH_TOKEN}function w(){return m()}async function J(){return w()}async function K(){if(!m())return"Remote Control needs an Anthropic web login (a claude.ai OAuth token with the user:profile scope). Run `/provider` and sign in with your claude.ai account. Note: an inference API key alone is not enough — the bridge token is separate.";return null}function x(){try{return j()}catch{return!1}}function N(){return d("tengu_bridge_repl_v2",!1)}function O(){return d("tengu_bridge_repl_v2_cse_shim_enabled",!0)}function P(){{let b=h("tengu_bridge_min_version",{minVersion:"0.0.0"});if(b.minVersion&&k("99.0.0",b.minVersion))return`Your version of Claudin (99.0.0) is too old for Remote Control.
2
+ Version ${b.minVersion} or higher is required. Run \`claudin update\` to update.`}return null}var y=p(()=>{q();s();v()});
3
+ export{w as CV,J as DV,K as EV,N as FV,O as GV,P as HV,y as IV};