@claudiolabs/claudin 1.1.22 → 1.1.24

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 (912) hide show
  1. package/dist/chunks/AgentTool-1.1.24-qv4fnna8.mjs +1 -0
  2. package/dist/chunks/App-1.1.24-say2rpmy.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.24-gm23618e.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.24-86rnm17k.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.24-xpvbmbs3.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.24-er5kqrm5.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.24-vqcj9ryy.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.24-nxtt3gvy.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.24-cn4z7xcf.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.24-nq687w3y.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.24-aajhejtf.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.24-t998qy29.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.24-r5a5gmqd.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.24-pfhn03af.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.24-bdj4skrs.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.24-2fjwdtrt.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.24-hk5fjxsy.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.24-c424ewnm.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.24-6vrvymt3.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.24-4bnhs3c5.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.24-2my71fq7.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.24-jk3wwkbf.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.24-j2b1t7n2.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.24-xtsgfdrz.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.24-v916xcsm.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.24-334mbya2.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.24-ha5w75qf.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.24-5ddz7jxk.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.24-zyfmeacn.mjs +1 -0
  30. package/dist/chunks/agents-1.1.24-3nesz6hb.mjs +110 -0
  31. package/dist/chunks/agents-1.1.24-7vbfmsmd.mjs +3 -0
  32. package/dist/chunks/api-1.1.24-dkqpat59.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.24-d40wfrpr.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.24-jj35h9kw.mjs +1 -0
  35. package/dist/chunks/auth-1.1.24-e4nfc4rk.mjs +1 -0
  36. package/dist/chunks/auth-1.1.24-fjhrv05m.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.24-tdgcdezx.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.24-qdp17k5x.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.24-zp05t0xp.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.24-hcarqdg1.mjs +1 -0
  41. package/dist/chunks/branch-1.1.24-3df7e69c.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.24-2ybb995s.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.24-7y8hnb44.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.24-4z88m0dk.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.24-5vh38zjk.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.24-e431wg6e.mjs +1 -0
  47. package/dist/chunks/btw-1.1.24-c9cx5x03.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.24-sbda0mvf.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.24-qxe2hv8y.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.24-8rgatdb3.mjs +4 -0
  51. package/dist/chunks/caches-1.1.24-zj2axnpf.mjs +1 -0
  52. package/dist/chunks/cd-1.1.24-f7dgvfpq.mjs +3 -0
  53. package/dist/chunks/claudeDesktop-1.1.24-7ws7tbt6.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.24-71y4hxrm.mjs +1 -0
  55. package/dist/chunks/clear-1.1.24-njwpqwdd.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.24-f6wcsvqq.mjs +1 -0
  57. package/dist/chunks/cli-1.1.24-0jwj33ps.mjs +2 -0
  58. package/dist/chunks/cli-1.1.24-0qefwnmv.mjs +2 -0
  59. package/dist/chunks/cli-1.1.24-0zt6ghdg.mjs +2 -0
  60. package/dist/chunks/cli-1.1.24-12hfxy63.mjs +12 -0
  61. package/dist/chunks/cli-1.1.24-14842nvc.mjs +2 -0
  62. package/dist/chunks/cli-1.1.24-190psky8.mjs +2 -0
  63. package/dist/chunks/cli-1.1.24-1kpad5gy.mjs +2 -0
  64. package/dist/chunks/cli-1.1.24-1m0md9q7.mjs +2 -0
  65. package/dist/chunks/cli-1.1.24-1mx8wjec.mjs +2 -0
  66. package/dist/chunks/cli-1.1.24-228jgyfg.mjs +2 -0
  67. package/dist/chunks/cli-1.1.24-241znxsf.mjs +2 -0
  68. package/dist/chunks/cli-1.1.24-25bjk4fa.mjs +2 -0
  69. package/dist/chunks/cli-1.1.24-2d5h000x.mjs +2 -0
  70. package/dist/chunks/cli-1.1.24-2g0372f8.mjs +2 -0
  71. package/dist/chunks/cli-1.1.24-2md121ma.mjs +2 -0
  72. package/dist/chunks/cli-1.1.24-2qkkzsk3.mjs +5456 -0
  73. package/dist/chunks/cli-1.1.24-2yjpqx2j.mjs +2 -0
  74. package/dist/chunks/cli-1.1.24-308y9m4j.mjs +2 -0
  75. package/dist/chunks/cli-1.1.24-32h2wd2e.mjs +3 -0
  76. package/dist/chunks/cli-1.1.24-36c9cxby.mjs +25 -0
  77. package/dist/chunks/cli-1.1.24-3cgaxth4.mjs +2 -0
  78. package/dist/chunks/cli-1.1.24-3n53gv32.mjs +2 -0
  79. package/dist/chunks/cli-1.1.24-3n6e2e3w.mjs +12 -0
  80. package/dist/chunks/cli-1.1.24-3w12t3c9.mjs +2 -0
  81. package/dist/chunks/cli-1.1.24-47657dtc.mjs +2 -0
  82. package/dist/chunks/cli-1.1.24-4cre60p8.mjs +2 -0
  83. package/dist/chunks/cli-1.1.24-4p3bjzm5.mjs +2 -0
  84. package/dist/chunks/cli-1.1.24-4t3rdp3k.mjs +2 -0
  85. package/dist/chunks/cli-1.1.24-4wpk3xd9.mjs +2 -0
  86. package/dist/chunks/cli-1.1.24-58gfq4p1.mjs +2 -0
  87. package/dist/chunks/cli-1.1.24-5jpkct15.mjs +2 -0
  88. package/dist/chunks/cli-1.1.24-5pkkmh85.mjs +2 -0
  89. package/dist/chunks/cli-1.1.24-5r5ayhj5.mjs +2 -0
  90. package/dist/chunks/cli-1.1.24-5vw5z579.mjs +2 -0
  91. package/dist/chunks/cli-1.1.24-64d8tfjb.mjs +2 -0
  92. package/dist/chunks/cli-1.1.24-6gj496xe.mjs +4 -0
  93. package/dist/chunks/cli-1.1.24-6hqn628p.mjs +2 -0
  94. package/dist/chunks/cli-1.1.24-6mm894jd.mjs +5 -0
  95. package/dist/chunks/cli-1.1.24-6pgc4c5x.mjs +2 -0
  96. package/dist/chunks/cli-1.1.24-6ptbgma9.mjs +6 -0
  97. package/dist/chunks/cli-1.1.24-6rneem3p.mjs +2 -0
  98. package/dist/chunks/cli-1.1.24-6tjp5zv1.mjs +2 -0
  99. package/dist/chunks/cli-1.1.24-707k0kc7.mjs +133 -0
  100. package/dist/chunks/cli-1.1.24-7ae9t2qz.mjs +2 -0
  101. package/dist/chunks/cli-1.1.24-7ahqssha.mjs +2 -0
  102. package/dist/chunks/cli-1.1.24-7ax9c4aj.mjs +2 -0
  103. package/dist/chunks/cli-1.1.24-7ga8r482.mjs +2 -0
  104. package/dist/chunks/cli-1.1.24-7ht46b9h.mjs +4 -0
  105. package/dist/chunks/cli-1.1.24-7m3kth8w.mjs +2 -0
  106. package/dist/chunks/cli-1.1.24-7qe2p4yb.mjs +2 -0
  107. package/dist/chunks/cli-1.1.24-7ymj1nkq.mjs +2 -0
  108. package/dist/chunks/cli-1.1.24-8d439hr1.mjs +2 -0
  109. package/dist/chunks/cli-1.1.24-8fbhkz2k.mjs +7 -0
  110. package/dist/chunks/cli-1.1.24-8n6b217h.mjs +50 -0
  111. package/dist/chunks/cli-1.1.24-8nrya8sx.mjs +2 -0
  112. package/dist/chunks/cli-1.1.24-8s7nf1y6.mjs +2 -0
  113. package/dist/chunks/cli-1.1.24-8xvf355a.mjs +2 -0
  114. package/dist/chunks/cli-1.1.24-8yspjjkp.mjs +2 -0
  115. package/dist/chunks/cli-1.1.24-8zb03vbp.mjs +2 -0
  116. package/dist/chunks/cli-1.1.24-92s2r0nt.mjs +2 -0
  117. package/dist/chunks/cli-1.1.24-93bhcjrs.mjs +2 -0
  118. package/dist/chunks/cli-1.1.24-9414cm38.mjs +2 -0
  119. package/dist/chunks/cli-1.1.24-985tmwb6.mjs +2 -0
  120. package/dist/chunks/cli-1.1.24-98nyrm5c.mjs +3 -0
  121. package/dist/chunks/cli-1.1.24-9dnr05fm.mjs +2 -0
  122. package/dist/chunks/cli-1.1.24-9grm6x6h.mjs +2 -0
  123. package/dist/chunks/cli-1.1.24-9jq4gf5s.mjs +2 -0
  124. package/dist/chunks/cli-1.1.24-9tw7bj9k.mjs +58 -0
  125. package/dist/chunks/cli-1.1.24-a33s2dcr.mjs +2 -0
  126. package/dist/chunks/cli-1.1.24-a6q6r9em.mjs +2 -0
  127. package/dist/chunks/cli-1.1.24-aaym95m1.mjs +2 -0
  128. package/dist/chunks/cli-1.1.24-abyr5pge.mjs +2 -0
  129. package/dist/chunks/cli-1.1.24-agq0y77k.mjs +9 -0
  130. package/dist/chunks/cli-1.1.24-awf7k3ez.mjs +4 -0
  131. package/dist/chunks/cli-1.1.24-b3nksc62.mjs +2 -0
  132. package/dist/chunks/cli-1.1.24-bd6f0h85.mjs +2 -0
  133. package/dist/chunks/cli-1.1.24-bhe5cv5z.mjs +2 -0
  134. package/dist/chunks/cli-1.1.24-bjbqxwc9.mjs +2 -0
  135. package/dist/chunks/cli-1.1.24-bnm1yphs.mjs +2 -0
  136. package/dist/chunks/cli-1.1.24-bnyxg0c8.mjs +2 -0
  137. package/dist/chunks/cli-1.1.24-bph6jjd7.mjs +4 -0
  138. package/dist/chunks/cli-1.1.24-bskn8qpc.mjs +2 -0
  139. package/dist/chunks/cli-1.1.24-c0j54zba.mjs +25 -0
  140. package/dist/chunks/cli-1.1.24-c1c7arb3.mjs +2 -0
  141. package/dist/chunks/cli-1.1.24-c7007hz6.mjs +2 -0
  142. package/dist/chunks/cli-1.1.24-c80wbwvr.mjs +2 -0
  143. package/dist/chunks/cli-1.1.24-chach6xd.mjs +39 -0
  144. package/dist/chunks/cli-1.1.24-cjkjb1w0.mjs +4 -0
  145. package/dist/chunks/cli-1.1.24-ctw3hzrp.mjs +2 -0
  146. package/dist/chunks/cli-1.1.24-d371v1bp.mjs +42 -0
  147. package/dist/chunks/cli-1.1.24-dt22ehz1.mjs +18 -0
  148. package/dist/chunks/cli-1.1.24-dw6eynz7.mjs +16 -0
  149. package/dist/chunks/cli-1.1.24-e21q73az.mjs +2 -0
  150. package/dist/chunks/cli-1.1.24-e960m296.mjs +2 -0
  151. package/dist/chunks/cli-1.1.24-eh4c00hd.mjs +4 -0
  152. package/dist/chunks/cli-1.1.24-ex7hr389.mjs +3 -0
  153. package/dist/chunks/cli-1.1.24-ez9nx0pe.mjs +133 -0
  154. package/dist/chunks/cli-1.1.24-f0pc1fm3.mjs +2 -0
  155. package/dist/chunks/cli-1.1.24-f2exw52y.mjs +2 -0
  156. package/dist/chunks/cli-1.1.24-f942w88t.mjs +2 -0
  157. package/dist/chunks/cli-1.1.24-fkkcnvap.mjs +18 -0
  158. package/dist/chunks/cli-1.1.24-fqh8r338.mjs +2 -0
  159. package/dist/chunks/cli-1.1.24-ftgtm0ys.mjs +2 -0
  160. package/dist/chunks/cli-1.1.24-fwb0d06k.mjs +34 -0
  161. package/dist/chunks/cli-1.1.24-gb39akdj.mjs +2 -0
  162. package/dist/chunks/cli-1.1.24-gbya20sv.mjs +2 -0
  163. package/dist/chunks/cli-1.1.24-ghegqjt7.mjs +2 -0
  164. package/dist/chunks/cli-1.1.24-gm25g2rw.mjs +2 -0
  165. package/dist/chunks/cli-1.1.24-hbp5ttza.mjs +2 -0
  166. package/dist/chunks/cli-1.1.24-hbvsy3cq.mjs +2 -0
  167. package/dist/chunks/cli-1.1.24-hhgxzt7m.mjs +4 -0
  168. package/dist/chunks/cli-1.1.24-hmzgqyyq.mjs +24 -0
  169. package/dist/chunks/cli-1.1.24-hty94kzp.mjs +2 -0
  170. package/dist/chunks/cli-1.1.24-jetxd54w.mjs +2 -0
  171. package/dist/chunks/cli-1.1.24-jm1y3v0c.mjs +2 -0
  172. package/dist/chunks/cli-1.1.24-jm2wjmkx.mjs +3 -0
  173. package/dist/chunks/cli-1.1.24-jnksvjkj.mjs +3 -0
  174. package/dist/chunks/cli-1.1.24-jrvf41s6.mjs +2 -0
  175. package/dist/chunks/cli-1.1.24-k1dhj122.mjs +2 -0
  176. package/dist/chunks/cli-1.1.24-k2cach52.mjs +2 -0
  177. package/dist/chunks/cli-1.1.24-kfzxwy9d.mjs +2 -0
  178. package/dist/chunks/cli-1.1.24-m6pr9whf.mjs +2 -0
  179. package/dist/chunks/cli-1.1.24-m70g3zj4.mjs +21 -0
  180. package/dist/chunks/cli-1.1.24-m8jww9mz.mjs +2 -0
  181. package/dist/chunks/cli-1.1.24-mgndv90z.mjs +24 -0
  182. package/dist/chunks/cli-1.1.24-mwva78xt.mjs +2 -0
  183. package/dist/chunks/cli-1.1.24-myqjptqw.mjs +2 -0
  184. package/dist/chunks/cli-1.1.24-n18majmw.mjs +8 -0
  185. package/dist/chunks/cli-1.1.24-n5vwxtj6.mjs +3 -0
  186. package/dist/chunks/cli-1.1.24-n7r6kv9g.mjs +2 -0
  187. package/dist/chunks/cli-1.1.24-ne1bt8jx.mjs +2 -0
  188. package/dist/chunks/cli-1.1.24-nhr9sjgz.mjs +2 -0
  189. package/dist/chunks/cli-1.1.24-nhz403dg.mjs +3 -0
  190. package/dist/chunks/cli-1.1.24-nrfpn2q3.mjs +2 -0
  191. package/dist/chunks/cli-1.1.24-nsggarp4.mjs +2 -0
  192. package/dist/chunks/cli-1.1.24-nv8d7bav.mjs +2 -0
  193. package/dist/chunks/cli-1.1.24-p2a545ga.mjs +3 -0
  194. package/dist/chunks/cli-1.1.24-p71y388t.mjs +2 -0
  195. package/dist/chunks/cli-1.1.24-pe23qamd.mjs +206 -0
  196. package/dist/chunks/cli-1.1.24-pgkt8y4z.mjs +6 -0
  197. package/dist/chunks/cli-1.1.24-pqkmk87x.mjs +2 -0
  198. package/dist/chunks/cli-1.1.24-pqrtr5rf.mjs +2 -0
  199. package/dist/chunks/cli-1.1.24-prprq6xe.mjs +2 -0
  200. package/dist/chunks/cli-1.1.24-pt8vrhq3.mjs +6 -0
  201. package/dist/chunks/cli-1.1.24-q9qfp0ng.mjs +2 -0
  202. package/dist/chunks/cli-1.1.24-qn608pma.mjs +2 -0
  203. package/dist/chunks/cli-1.1.24-qt5m4501.mjs +26 -0
  204. package/dist/chunks/cli-1.1.24-s0dcztj8.mjs +2 -0
  205. package/dist/chunks/cli-1.1.24-s241cgaj.mjs +3 -0
  206. package/dist/chunks/cli-1.1.24-sa4ycqpk.mjs +2 -0
  207. package/dist/chunks/cli-1.1.24-sdsp22c3.mjs +2 -0
  208. package/dist/chunks/cli-1.1.24-skqekybx.mjs +2 -0
  209. package/dist/chunks/cli-1.1.24-sm5pzkcb.mjs +17 -0
  210. package/dist/chunks/cli-1.1.24-sv60tfze.mjs +2 -0
  211. package/dist/chunks/cli-1.1.24-swr2gr8m.mjs +9 -0
  212. package/dist/chunks/cli-1.1.24-t811r68k.mjs +2 -0
  213. package/dist/chunks/cli-1.1.24-tbzjj2e8.mjs +24 -0
  214. package/dist/chunks/cli-1.1.24-tpafhmrw.mjs +2 -0
  215. package/dist/chunks/cli-1.1.24-tvhfdndb.mjs +15 -0
  216. package/dist/chunks/cli-1.1.24-tyxhhrt7.mjs +2 -0
  217. package/dist/chunks/cli-1.1.24-v322mn8d.mjs +6 -0
  218. package/dist/chunks/cli-1.1.24-vandpwa9.mjs +2 -0
  219. package/dist/chunks/cli-1.1.24-vf59rwy3.mjs +60 -0
  220. package/dist/chunks/cli-1.1.24-vg493phv.mjs +2 -0
  221. package/dist/chunks/cli-1.1.24-vmd44jz3.mjs +2 -0
  222. package/dist/chunks/cli-1.1.24-vprvwjs1.mjs +3 -0
  223. package/dist/chunks/cli-1.1.24-vvnnh8xs.mjs +17 -0
  224. package/dist/chunks/cli-1.1.24-vwmxvbv9.mjs +2 -0
  225. package/dist/chunks/cli-1.1.24-vz1y844w.mjs +2 -0
  226. package/dist/chunks/cli-1.1.24-w4yh1rwm.mjs +2 -0
  227. package/dist/chunks/cli-1.1.24-w828y1cd.mjs +2 -0
  228. package/dist/chunks/cli-1.1.24-wf4vw9fr.mjs +4 -0
  229. package/dist/chunks/cli-1.1.24-wjy2ctev.mjs +3 -0
  230. package/dist/chunks/cli-1.1.24-wmzctccq.mjs +4 -0
  231. package/dist/chunks/cli-1.1.24-wr42vnqf.mjs +2 -0
  232. package/dist/chunks/cli-1.1.24-wshydefj.mjs +2 -0
  233. package/dist/chunks/cli-1.1.24-ww5zft49.mjs +20 -0
  234. package/dist/chunks/cli-1.1.24-wx6qsawc.mjs +2 -0
  235. package/dist/chunks/cli-1.1.24-wygwske9.mjs +2 -0
  236. package/dist/chunks/cli-1.1.24-x19qr19f.mjs +2 -0
  237. package/dist/chunks/cli-1.1.24-x1wayra7.mjs +7 -0
  238. package/dist/chunks/cli-1.1.24-x77tmaf2.mjs +2 -0
  239. package/dist/chunks/cli-1.1.24-x7j3vdgw.mjs +2 -0
  240. package/dist/chunks/cli-1.1.24-x8cd4qb4.mjs +2 -0
  241. package/dist/chunks/cli-1.1.24-xcmmqx6c.mjs +1 -0
  242. package/dist/chunks/cli-1.1.24-xdhm369m.mjs +15 -0
  243. package/dist/chunks/cli-1.1.24-xmtasnec.mjs +2 -0
  244. package/dist/chunks/cli-1.1.24-xyb7vhk3.mjs +3 -0
  245. package/dist/chunks/cli-1.1.24-y0p1ztq1.mjs +2 -0
  246. package/dist/chunks/cli-1.1.24-y4gprept.mjs +2 -0
  247. package/dist/chunks/cli-1.1.24-y4pvshdf.mjs +2 -0
  248. package/dist/chunks/cli-1.1.24-y55w7gqd.mjs +2 -0
  249. package/dist/chunks/cli-1.1.24-yadxqz7j.mjs +4 -0
  250. package/dist/chunks/cli-1.1.24-yay2cxmw.mjs +2 -0
  251. package/dist/chunks/cli-1.1.24-yh801h84.mjs +2 -0
  252. package/dist/chunks/cli-1.1.24-ymqwnn04.mjs +5 -0
  253. package/dist/chunks/cli-1.1.24-yp46sbt0.mjs +6 -0
  254. package/dist/chunks/cli-1.1.24-ys3jea4v.mjs +2 -0
  255. package/dist/chunks/cli-1.1.24-yz19vhn7.mjs +45 -0
  256. package/dist/chunks/cli-1.1.24-yz5bzn1k.mjs +2 -0
  257. package/dist/chunks/cli-1.1.24-yzfk4k7c.mjs +2 -0
  258. package/dist/chunks/cli-1.1.24-z2byr0bb.mjs +3 -0
  259. package/dist/chunks/cli-1.1.24-z5t424fy.mjs +15 -0
  260. package/dist/chunks/cli-1.1.24-zc49jxpp.mjs +24 -0
  261. package/dist/chunks/cli-1.1.24-zey4mks2.mjs +6 -0
  262. package/dist/chunks/cli-1.1.24-zjc9nfba.mjs +66 -0
  263. package/dist/chunks/cli-1.1.24-znb9n8xc.mjs +2 -0
  264. package/dist/chunks/cli-1.1.24-zqsb8jf1.mjs +2 -0
  265. package/dist/chunks/cli-1.1.24-zzy8r310.mjs +3 -0
  266. package/dist/chunks/client-1.1.24-04048dd4.mjs +1 -0
  267. package/dist/chunks/color-1.1.24-c0gzcmgh.mjs +1 -0
  268. package/dist/chunks/compact-1.1.24-191dct4e.mjs +3 -0
  269. package/dist/chunks/config-1.1.24-0gw6ge6e.mjs +1 -0
  270. package/dist/chunks/config-1.1.24-ndcrhj7n.mjs +1 -0
  271. package/dist/chunks/constants-1.1.24-tbk9zrcf.mjs +1 -0
  272. package/dist/chunks/context-1.1.24-m2nks3pf.mjs +1 -0
  273. package/dist/chunks/context-noninteractive-1.1.24-fpjb3z40.mjs +1 -0
  274. package/dist/chunks/conversation-1.1.24-1fhfrjjb.mjs +1 -0
  275. package/dist/chunks/copilotHeaders-1.1.24-7gr1sjfz.mjs +1 -0
  276. package/dist/chunks/copy-1.1.24-cp9c2gz7.mjs +9 -0
  277. package/dist/chunks/cost-1.1.24-n2977gae.mjs +1 -0
  278. package/dist/chunks/createSSHSession-1.1.24-mnvhz35z.mjs +1 -0
  279. package/dist/chunks/createSession-1.1.24-jmw71620.mjs +1 -0
  280. package/dist/chunks/debug-1.1.24-fbfn7n50.mjs +1 -0
  281. package/dist/chunks/defaultActionDeps-1.1.24-2sn9h6p5.mjs +1534 -0
  282. package/dist/chunks/desktop-1.1.24-scm6c1n6.mjs +1 -0
  283. package/dist/chunks/detectRepository-1.1.24-pegwcpzf.mjs +1 -0
  284. package/dist/chunks/detection-1.1.24-0k1tkgs4.mjs +1 -0
  285. package/dist/chunks/diff-1.1.24-0jvr5nbq.mjs +1 -0
  286. package/dist/chunks/doctor-1.1.24-ek4hj124.mjs +1 -0
  287. package/dist/chunks/doctorDiagnostic-1.1.24-rkkj1qaa.mjs +1 -0
  288. package/dist/chunks/earlyInput-1.1.24-0jq2yety.mjs +1 -0
  289. package/dist/chunks/effort-1.1.24-pj04350n.mjs +13 -0
  290. package/dist/chunks/engine-1.1.24-d8ghs7v2.mjs +1 -0
  291. package/dist/chunks/envLessBridgeConfig-1.1.24-0sz4c3p3.mjs +1 -0
  292. package/dist/chunks/envUtils-1.1.24-x72tjbvh.mjs +1 -0
  293. package/dist/chunks/environmentSelection-1.1.24-kdf8c1wj.mjs +1 -0
  294. package/dist/chunks/environments-1.1.24-4f4e4q0j.mjs +1 -0
  295. package/dist/chunks/errors-1.1.24-e9mdyym2.mjs +1 -0
  296. package/dist/chunks/exampleCommands-1.1.24-k8gqpgm6.mjs +1 -0
  297. package/dist/chunks/execFileNoThrow-1.1.24-nf306f2h.mjs +1 -0
  298. package/dist/chunks/exit-1.1.24-dvx9hpkk.mjs +1 -0
  299. package/dist/chunks/explorer-1.1.24-jwyvpptp.mjs +1 -0
  300. package/dist/chunks/export-1.1.24-wjaf1p5p.mjs +2 -0
  301. package/dist/chunks/extra-usage-1.1.24-29n7nt5d.mjs +1 -0
  302. package/dist/chunks/extra-usage-noninteractive-1.1.24-y28scbnf.mjs +1 -0
  303. package/dist/chunks/fast-1.1.24-b97zvms4.mjs +1 -0
  304. package/dist/chunks/feedback-1.1.24-6epgxnyy.mjs +14 -0
  305. package/dist/chunks/firstPartyEventLogger-1.1.24-z3cng876.mjs +1 -0
  306. package/dist/chunks/git-1.1.24-g44mqdr1.mjs +1 -0
  307. package/dist/chunks/githubModelsCredentials-1.1.24-xys028w7.mjs +1 -0
  308. package/dist/chunks/goal-1.1.24-g5h8tqdv.mjs +4 -0
  309. package/dist/chunks/growthbook-1.1.24-sp4nsdp2.mjs +1 -0
  310. package/dist/chunks/headless-1.1.24-xjc45ts1.mjs +2 -0
  311. package/dist/chunks/heapdump-1.1.24-k9vdtkem.mjs +6 -0
  312. package/dist/chunks/help-1.1.24-4pb60ggc.mjs +1 -0
  313. package/dist/chunks/hookChains-1.1.24-fgx8qw71.mjs +3 -0
  314. package/dist/chunks/hooks-1.1.24-gy3rfx2s.mjs +79 -0
  315. package/dist/chunks/hooks-1.1.24-qvh9gx4b.mjs +1 -0
  316. package/dist/chunks/ide-1.1.24-ecb37fdx.mjs +3 -0
  317. package/dist/chunks/image-processor-napi-1.1.24-3bf65p63.mjs +1 -0
  318. package/dist/chunks/import-1.1.24-bpnr0awz.mjs +261 -0
  319. package/dist/chunks/inboundAttachments-1.1.24-h4st0drb.mjs +1 -0
  320. package/dist/chunks/index-1.1.24-1qfnahpf.mjs +5 -0
  321. package/dist/chunks/index-1.1.24-2c5tqanw.mjs +1 -0
  322. package/dist/chunks/index-1.1.24-3pkassck.mjs +1 -0
  323. package/dist/chunks/index-1.1.24-4gnpx2tt.mjs +30 -0
  324. package/dist/chunks/index-1.1.24-5kf8n97z.mjs +1 -0
  325. package/dist/chunks/index-1.1.24-7nn95an1.mjs +2 -0
  326. package/dist/chunks/index-1.1.24-8005ram7.mjs +1 -0
  327. package/dist/chunks/index-1.1.24-80m0ydka.mjs +2 -0
  328. package/dist/chunks/index-1.1.24-931bwhyw.mjs +9 -0
  329. package/dist/chunks/index-1.1.24-a3t3jmq6.mjs +1 -0
  330. package/dist/chunks/index-1.1.24-bvewx84q.mjs +1 -0
  331. package/dist/chunks/index-1.1.24-hvxes6d7.mjs +1 -0
  332. package/dist/chunks/index-1.1.24-j4v31wtc.mjs +1 -0
  333. package/dist/chunks/index-1.1.24-jt13vzsz.mjs +1 -0
  334. package/dist/chunks/index-1.1.24-k9m56w47.mjs +1 -0
  335. package/dist/chunks/index-1.1.24-ksthp5f5.mjs +1 -0
  336. package/dist/chunks/index-1.1.24-p0dh0w23.mjs +1 -0
  337. package/dist/chunks/index-1.1.24-qzv3z9d8.mjs +1 -0
  338. package/dist/chunks/index-1.1.24-ry33qapt.mjs +23 -0
  339. package/dist/chunks/index-1.1.24-wrwbr5my.mjs +1 -0
  340. package/dist/chunks/index-1.1.24-x476ts8e.mjs +1 -0
  341. package/dist/chunks/index-1.1.24-yz1p3g13.mjs +1 -0
  342. package/dist/chunks/index-1.1.24-zpd6455g.mjs +9 -0
  343. package/dist/chunks/init-1.1.24-t8nj0b2a.mjs +1 -0
  344. package/dist/chunks/initReplBridge-1.1.24-0rrs2446.mjs +1 -0
  345. package/dist/chunks/ink-1.1.24-n7wnynts.mjs +1 -0
  346. package/dist/chunks/insights-1.1.24-brh3tfms.mjs +870 -0
  347. package/dist/chunks/install-1.1.24-bnszrzxv.mjs +1 -0
  348. package/dist/chunks/install-github-app-1.1.24-5rgjevwd.mjs +149 -0
  349. package/dist/chunks/install-slack-app-1.1.24-yh7a017r.mjs +1 -0
  350. package/dist/chunks/instrumentation-1.1.24-v7zemczf.mjs +1 -0
  351. package/dist/chunks/interactiveHelpers-1.1.24-b7xw2wrx.mjs +1 -0
  352. package/dist/chunks/keybindings-1.1.24-31h2q3ex.mjs +2 -0
  353. package/dist/chunks/knowledge-1.1.24-8nq0v4s7.mjs +2 -0
  354. package/dist/chunks/latestVersionCache-1.1.24-a6axfzxn.mjs +1 -0
  355. package/dist/chunks/loadAgentsDir-1.1.24-k6dhs78a.mjs +1 -0
  356. package/dist/chunks/loadPluginHooks-1.1.24-kv2hvbav.mjs +1 -0
  357. package/dist/chunks/log-1.1.24-gv1f1hxb.mjs +1 -0
  358. package/dist/chunks/main-1.1.24-e2ntxz1f.mjs +1 -0
  359. package/dist/chunks/managedEnv-1.1.24-rfa63jew.mjs +1 -0
  360. package/dist/chunks/mcp-1.1.24-3a5demcw.mjs +4 -0
  361. package/dist/chunks/mcp-1.1.24-5patw3xq.mjs +17 -0
  362. package/dist/chunks/mcp-1.1.24-jcnn5rdj.mjs +1 -0
  363. package/dist/chunks/mcpb-1.1.24-b7zrasgt.mjs +1 -0
  364. package/dist/chunks/memory-1.1.24-dvn88stz.mjs +72 -0
  365. package/dist/chunks/model-1.1.24-jqp66a34.mjs +1 -0
  366. package/dist/chunks/model-1.1.24-pxgrw9n0.mjs +2 -0
  367. package/dist/chunks/node-1.1.24-9kx9ct5c.mjs +15 -0
  368. package/dist/chunks/oauth-1.1.24-5v87662s.mjs +1 -0
  369. package/dist/chunks/openaiShim-1.1.24-29jaq53v.mjs +14 -0
  370. package/dist/chunks/output-style-1.1.24-vt1w07zs.mjs +1 -0
  371. package/dist/chunks/package-SHMK2LJE-1.1.24-bz44pm49.mjs +1 -0
  372. package/dist/chunks/parseConnectUrl-1.1.24-e5ppdssa.mjs +1 -0
  373. package/dist/chunks/parser-1.1.24-r4f154gw.mjs +1 -0
  374. package/dist/chunks/passes-1.1.24-znx7myf5.mjs +1 -0
  375. package/dist/chunks/permissions-1.1.24-djrvvvz7.mjs +3 -0
  376. package/dist/chunks/permissions-1.1.24-v5xhwsne.mjs +1 -0
  377. package/dist/chunks/plan-1.1.24-vhaqffge.mjs +1 -0
  378. package/dist/chunks/plist-1.1.24-a5racx0y.mjs +1 -0
  379. package/dist/chunks/plugin-1.1.24-a97brm8r.mjs +29 -0
  380. package/dist/chunks/pluginStartupCheck-1.1.24-md4nbg2a.mjs +1 -0
  381. package/dist/chunks/plugins-1.1.24-mza746hr.mjs +9 -0
  382. package/dist/chunks/preActionHook-1.1.24-n8ztas45.mjs +2 -0
  383. package/dist/chunks/print-1.1.24-3xs40xg6.mjs +57 -0
  384. package/dist/chunks/process-1.1.24-7znk7nvb.mjs +1 -0
  385. package/dist/chunks/processBashCommand-1.1.24-454rvsw5.mjs +1 -0
  386. package/dist/chunks/processSlashCommand-1.1.24-8k5m3gk9.mjs +9 -0
  387. package/dist/chunks/prompt-1.1.24-bk6dfj1e.mjs +1 -0
  388. package/dist/chunks/prompt-1.1.24-vvcbfmdp.mjs +1 -0
  389. package/dist/chunks/prompts-1.1.24-b6ebw0vv.mjs +1 -0
  390. package/dist/chunks/protocolHandler-1.1.24-n1vv96tn.mjs +13 -0
  391. package/dist/chunks/provider-1.1.24-t07b1cf0.mjs +2 -0
  392. package/dist/chunks/providerProfiles-1.1.24-pnze1322.mjs +1 -0
  393. package/dist/chunks/providerValidation-1.1.24-6atsq725.mjs +6 -0
  394. package/dist/chunks/rate-limit-options-1.1.24-awx453hm.mjs +1 -0
  395. package/dist/chunks/registerSubcommands-1.1.24-es1k3f52.mjs +26 -0
  396. package/dist/chunks/registry-1.1.24-f8gdvha6.mjs +1 -0
  397. package/dist/chunks/release-notes-1.1.24-wc0ns08n.mjs +5 -0
  398. package/dist/chunks/reload-plugins-1.1.24-n65zs7m1.mjs +2 -0
  399. package/dist/chunks/remote-env-1.1.24-edv7k83f.mjs +1 -0
  400. package/dist/chunks/remoteBridgeCore-1.1.24-skqbqsp7.mjs +1 -0
  401. package/dist/chunks/remoteSession-1.1.24-y4nvb00c.mjs +1 -0
  402. package/dist/chunks/rename-1.1.24-5h35tqzj.mjs +1 -0
  403. package/dist/chunks/replBridgeHandle-1.1.24-y59d2vsb.mjs +1 -0
  404. package/dist/chunks/replLauncher-1.1.24-3fh8y1wc.mjs +1 -0
  405. package/dist/chunks/resume-1.1.24-mbmqkywe.mjs +2 -0
  406. package/dist/chunks/rewind-1.1.24-7d2yrzwh.mjs +1 -0
  407. package/dist/chunks/rootOptions-1.1.24-32jzw8gf.mjs +1 -0
  408. package/dist/chunks/runWorkflowHeadless-1.1.24-tr01e02n.mjs +10 -0
  409. package/dist/chunks/sandbox-adapter-1.1.24-n544gb1b.mjs +1 -0
  410. package/dist/chunks/sandbox-toggle-1.1.24-3jt7dn2v.mjs +1 -0
  411. package/dist/chunks/session-1.1.24-5gj3f8bf.mjs +2 -0
  412. package/dist/chunks/sessionDiscovery-1.1.24-qdssyy70.mjs +1 -0
  413. package/dist/chunks/sessionFileAccessHooks-1.1.24-j2d90dxq.mjs +1 -0
  414. package/dist/chunks/sessionStorage-1.1.24-jk2064js.mjs +1 -0
  415. package/dist/chunks/settings-1.1.24-xb5xvwd4.mjs +1 -0
  416. package/dist/chunks/setup-1.1.24-wdr88mhm.mjs +12 -0
  417. package/dist/chunks/sinks-1.1.24-zbp12cks.mjs +1 -0
  418. package/dist/chunks/skills-1.1.24-fs0fj8pg.mjs +1 -0
  419. package/dist/chunks/startupProfiler-1.1.24-sm8szq0q.mjs +1 -0
  420. package/dist/chunks/startupUpdateCheck-1.1.24-mc3ted4v.mjs +1 -0
  421. package/dist/chunks/state-1.1.24-5c4debwf.mjs +1 -0
  422. package/dist/chunks/stats-1.1.24-0bt4qf8n.mjs +6 -0
  423. package/dist/chunks/status-1.1.24-abhqj5mw.mjs +1 -0
  424. package/dist/chunks/stickers-1.1.24-zh8qjsyy.mjs +1 -0
  425. package/dist/chunks/subprocessEnv-1.1.24-gp4ayqrk.mjs +1 -0
  426. package/dist/chunks/tasks-1.1.24-1cxy0tgz.mjs +1 -0
  427. package/dist/chunks/teamHelpers-1.1.24-5bb9mm83.mjs +1 -0
  428. package/dist/chunks/teammateModeSnapshot-1.1.24-nb3dp4e3.mjs +1 -0
  429. package/dist/chunks/teleport-1.1.24-c7prtcv6.mjs +1 -0
  430. package/dist/chunks/terminalSetup-1.1.24-sfx4nye5.mjs +1 -0
  431. package/dist/chunks/theme-1.1.24-x6419d8v.mjs +1 -0
  432. package/dist/chunks/thinkback-1.1.24-f315phwt.mjs +1 -0
  433. package/dist/chunks/thinkback-play-1.1.24-79eppsfc.mjs +1 -0
  434. package/dist/chunks/toolPool-1.1.24-8yd82av5.mjs +1 -0
  435. package/dist/chunks/toolSearch-1.1.24-jmqktrq1.mjs +1 -0
  436. package/dist/chunks/tools-1.1.24-5fm8t3kw.mjs +1 -0
  437. package/dist/chunks/trustedDevice-1.1.24-w4sh0m0v.mjs +1 -0
  438. package/dist/chunks/turndown.cjs-1.1.24-h4ea8fek.mjs +69 -0
  439. package/dist/chunks/types-1.1.24-5xkkfxsk.mjs +1 -0
  440. package/dist/chunks/ultrareviewCommand-1.1.24-aqb6hpdg.mjs +4 -0
  441. package/dist/chunks/update-1.1.24-der2v1xy.mjs +72 -0
  442. package/dist/chunks/upgrade-1.1.24-grzzzksq.mjs +1 -0
  443. package/dist/chunks/upload-1.1.24-tjetbg6e.mjs +7 -0
  444. package/dist/chunks/upstreamproxy-1.1.24-19aj3b1w.mjs +14 -0
  445. package/dist/chunks/url-handler-napi-1.1.24-xm0gtc5y.mjs +1 -0
  446. package/dist/chunks/usage-1.1.24-69x06f48.mjs +1 -0
  447. package/dist/chunks/util-1.1.24-1ea4gbm5.mjs +1 -0
  448. package/dist/chunks/utils-1.1.24-sr136rh9.mjs +1 -0
  449. package/dist/chunks/vim-1.1.24-e90y2xp6.mjs +1 -0
  450. package/dist/chunks/watchLoop-1.1.24-wfk9enxd.mjs +13 -0
  451. package/dist/chunks/watcher-1.1.24-tcqfrpkm.mjs +1 -0
  452. package/dist/chunks/wiki-1.1.24-aevd508s.mjs +132 -0
  453. package/dist/chunks/workflows-1.1.24-4wkmgpjr.mjs +1 -0
  454. package/dist/chunks/worktree-1.1.24-2vf4mmjm.mjs +1 -0
  455. package/dist/chunks/worktreeModeEnabled-1.1.24-s2v499tv.mjs +1 -0
  456. package/dist/chunks/wrapper-1.1.24-arr1pkz0.mjs +7 -0
  457. package/dist/cli.mjs +2 -2
  458. package/package.json +9 -9
  459. package/dist/chunks/AgentTool-1.1.22-4ba6sbn1.mjs +0 -1
  460. package/dist/chunks/App-1.1.22-2m11r40p.mjs +0 -1
  461. package/dist/chunks/ApproveApiKey-1.1.22-zp1y1218.mjs +0 -1
  462. package/dist/chunks/AssistantSessionChooser-1.1.22-s95rx0gk.mjs +0 -1
  463. package/dist/chunks/AutoModeOptInDialog-1.1.22-5qa3134t.mjs +0 -1
  464. package/dist/chunks/BypassPermissionsModeDialog-1.1.22-m5fc6nej.mjs +0 -1
  465. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.22-bnv9d1h5.mjs +0 -1
  466. package/dist/chunks/ConsoleOAuthFlow-1.1.22-g92az35d.mjs +0 -1
  467. package/dist/chunks/DiffDialog-1.1.22-9ccdds3r.mjs +0 -6
  468. package/dist/chunks/Doctor-1.1.22-1gc86nqw.mjs +0 -1
  469. package/dist/chunks/ExplorerDialog-1.1.22-z6sndn27.mjs +0 -6
  470. package/dist/chunks/ITermBackend-1.1.22-gb09bshz.mjs +0 -1
  471. package/dist/chunks/InvalidConfigDialog-1.1.22-52wjx92m.mjs +0 -1
  472. package/dist/chunks/InvalidSettingsDialog-1.1.22-q6j91dba.mjs +0 -1
  473. package/dist/chunks/MigrationDialog-1.1.22-z6x86qa5.mjs +0 -1
  474. package/dist/chunks/Onboarding-1.1.22-05vxshwk.mjs +0 -1
  475. package/dist/chunks/ProviderManager-1.1.22-zh99bzde.mjs +0 -1
  476. package/dist/chunks/REPL-1.1.22-2c229abh.mjs +0 -1
  477. package/dist/chunks/ResumeConversation-1.1.22-jp1q8573.mjs +0 -1
  478. package/dist/chunks/SnapshotUpdateDialog-1.1.22-s20kx6cz.mjs +0 -1
  479. package/dist/chunks/TeleportProgress-1.1.22-036phq5k.mjs +0 -1
  480. package/dist/chunks/TeleportRepoMismatchDialog-1.1.22-2fpx0v36.mjs +0 -1
  481. package/dist/chunks/TeleportResumeWrapper-1.1.22-q9xh6c1x.mjs +0 -1
  482. package/dist/chunks/TmuxBackend-1.1.22-shtyh6x1.mjs +0 -9
  483. package/dist/chunks/ToolSearchTool-1.1.22-hwnb32mw.mjs +0 -1
  484. package/dist/chunks/TrustDialog-1.1.22-tx9d7tzw.mjs +0 -1
  485. package/dist/chunks/activeProvider-1.1.22-qd5cmwvf.mjs +0 -1
  486. package/dist/chunks/add-dir-1.1.22-be3sb4ed.mjs +0 -1
  487. package/dist/chunks/agentTypes-1.1.22-rm5akk7n.mjs +0 -1
  488. package/dist/chunks/agents-1.1.22-ad8hknzy.mjs +0 -3
  489. package/dist/chunks/agents-1.1.22-c8hb8sst.mjs +0 -110
  490. package/dist/chunks/api-1.1.22-b74pv1bc.mjs +0 -1
  491. package/dist/chunks/asciicast-1.1.22-qz35a5k4.mjs +0 -1
  492. package/dist/chunks/assistant-1.1.22-mqc1g16y.mjs +0 -1
  493. package/dist/chunks/auth-1.1.22-hwjcqvy4.mjs +0 -1
  494. package/dist/chunks/auth-1.1.22-pwa369jw.mjs +0 -1
  495. package/dist/chunks/autoMode-1.1.22-3by2zax3.mjs +0 -52
  496. package/dist/chunks/autoModeSetup-1.1.22-e4mn7cas.mjs +0 -44
  497. package/dist/chunks/autoUpdater-1.1.22-ng881g40.mjs +0 -1
  498. package/dist/chunks/backgroundHousekeeping-1.1.22-hxy5jpcq.mjs +0 -1
  499. package/dist/chunks/branch-1.1.22-akcs4dk5.mjs +0 -4
  500. package/dist/chunks/bridge-1.1.22-rttgyvkn.mjs +0 -2
  501. package/dist/chunks/bridgeConfig-1.1.22-gtqyk17c.mjs +0 -1
  502. package/dist/chunks/bridgeEnabled-1.1.22-tfhha37q.mjs +0 -1
  503. package/dist/chunks/bridgeMain-1.1.22-mt52dzzq.mjs +0 -88
  504. package/dist/chunks/bridgePointer-1.1.22-bqaet342.mjs +0 -1
  505. package/dist/chunks/btw-1.1.22-y44fbm0x.mjs +0 -1
  506. package/dist/chunks/buddy-1.1.22-1jzcjwyr.mjs +0 -3
  507. package/dist/chunks/cache-probe-1.1.22-wmckr2fj.mjs +0 -21
  508. package/dist/chunks/cacheStats-1.1.22-rzg950xm.mjs +0 -4
  509. package/dist/chunks/caches-1.1.22-kabyzmmd.mjs +0 -1
  510. package/dist/chunks/claudeDesktop-1.1.22-7mafzt35.mjs +0 -1
  511. package/dist/chunks/claudemd-1.1.22-genp8cn4.mjs +0 -1
  512. package/dist/chunks/clear-1.1.22-ta3shrbf.mjs +0 -1
  513. package/dist/chunks/clearTerminal-1.1.22-hvkervt4.mjs +0 -1
  514. package/dist/chunks/cli-1.1.22-00s47593.mjs +0 -4
  515. package/dist/chunks/cli-1.1.22-01xfy12n.mjs +0 -18
  516. package/dist/chunks/cli-1.1.22-01yb5we4.mjs +0 -2
  517. package/dist/chunks/cli-1.1.22-0553cn3c.mjs +0 -3
  518. package/dist/chunks/cli-1.1.22-073y3gd5.mjs +0 -2
  519. package/dist/chunks/cli-1.1.22-07prh801.mjs +0 -2
  520. package/dist/chunks/cli-1.1.22-08c4ym21.mjs +0 -2
  521. package/dist/chunks/cli-1.1.22-09eb3077.mjs +0 -2
  522. package/dist/chunks/cli-1.1.22-0h7jejsr.mjs +0 -3
  523. package/dist/chunks/cli-1.1.22-0n0cxg2p.mjs +0 -4
  524. package/dist/chunks/cli-1.1.22-0x96ahhc.mjs +0 -4
  525. package/dist/chunks/cli-1.1.22-1099x9x2.mjs +0 -2
  526. package/dist/chunks/cli-1.1.22-12vfd6j1.mjs +0 -2
  527. package/dist/chunks/cli-1.1.22-1npmfnxb.mjs +0 -50
  528. package/dist/chunks/cli-1.1.22-1tqdha8j.mjs +0 -2
  529. package/dist/chunks/cli-1.1.22-1vrzwj7y.mjs +0 -2
  530. package/dist/chunks/cli-1.1.22-22735g9w.mjs +0 -2
  531. package/dist/chunks/cli-1.1.22-261r450y.mjs +0 -60
  532. package/dist/chunks/cli-1.1.22-265a4qpa.mjs +0 -2
  533. package/dist/chunks/cli-1.1.22-2bdf1etb.mjs +0 -4
  534. package/dist/chunks/cli-1.1.22-2getjsf5.mjs +0 -6
  535. package/dist/chunks/cli-1.1.22-2mahjtgk.mjs +0 -2
  536. package/dist/chunks/cli-1.1.22-2nwmyakz.mjs +0 -2
  537. package/dist/chunks/cli-1.1.22-2rqykpy1.mjs +0 -18
  538. package/dist/chunks/cli-1.1.22-2t3fhfjv.mjs +0 -133
  539. package/dist/chunks/cli-1.1.22-2tctx2yg.mjs +0 -2
  540. package/dist/chunks/cli-1.1.22-2wh33kpx.mjs +0 -2
  541. package/dist/chunks/cli-1.1.22-2y82t3pd.mjs +0 -2
  542. package/dist/chunks/cli-1.1.22-2yxd7hfb.mjs +0 -2
  543. package/dist/chunks/cli-1.1.22-2zhxvvkx.mjs +0 -2
  544. package/dist/chunks/cli-1.1.22-33jc9czg.mjs +0 -2
  545. package/dist/chunks/cli-1.1.22-35fe0h6z.mjs +0 -2
  546. package/dist/chunks/cli-1.1.22-3ehpcpz4.mjs +0 -2
  547. package/dist/chunks/cli-1.1.22-3h20fb9d.mjs +0 -2
  548. package/dist/chunks/cli-1.1.22-3jyydg5h.mjs +0 -206
  549. package/dist/chunks/cli-1.1.22-3nmtk1bh.mjs +0 -2
  550. package/dist/chunks/cli-1.1.22-3r3tadt1.mjs +0 -4
  551. package/dist/chunks/cli-1.1.22-3thczx3s.mjs +0 -133
  552. package/dist/chunks/cli-1.1.22-3xjx3y13.mjs +0 -2
  553. package/dist/chunks/cli-1.1.22-41aseceq.mjs +0 -3
  554. package/dist/chunks/cli-1.1.22-4227vtcf.mjs +0 -24
  555. package/dist/chunks/cli-1.1.22-48gjx3j7.mjs +0 -2
  556. package/dist/chunks/cli-1.1.22-4g11fbx3.mjs +0 -2
  557. package/dist/chunks/cli-1.1.22-4ph3xqne.mjs +0 -2
  558. package/dist/chunks/cli-1.1.22-4pmfh5v2.mjs +0 -2
  559. package/dist/chunks/cli-1.1.22-5afprdre.mjs +0 -2
  560. package/dist/chunks/cli-1.1.22-5dcmb4h9.mjs +0 -2
  561. package/dist/chunks/cli-1.1.22-5mzq5mc4.mjs +0 -24
  562. package/dist/chunks/cli-1.1.22-5vkvwgh1.mjs +0 -2
  563. package/dist/chunks/cli-1.1.22-619cwdw8.mjs +0 -2
  564. package/dist/chunks/cli-1.1.22-6bxa25n5.mjs +0 -2
  565. package/dist/chunks/cli-1.1.22-6gd42s2a.mjs +0 -2
  566. package/dist/chunks/cli-1.1.22-6k5nt5wc.mjs +0 -2
  567. package/dist/chunks/cli-1.1.22-6khex7bz.mjs +0 -34
  568. package/dist/chunks/cli-1.1.22-6vtb75g8.mjs +0 -2
  569. package/dist/chunks/cli-1.1.22-73mzmb6a.mjs +0 -3
  570. package/dist/chunks/cli-1.1.22-796yez98.mjs +0 -2
  571. package/dist/chunks/cli-1.1.22-7dha9j2p.mjs +0 -3
  572. package/dist/chunks/cli-1.1.22-7rm6jw0h.mjs +0 -17
  573. package/dist/chunks/cli-1.1.22-7rv96st9.mjs +0 -4
  574. package/dist/chunks/cli-1.1.22-7xwf9v6n.mjs +0 -2
  575. package/dist/chunks/cli-1.1.22-7zv5k6p0.mjs +0 -2
  576. package/dist/chunks/cli-1.1.22-87m0b80d.mjs +0 -8
  577. package/dist/chunks/cli-1.1.22-8cxdckv7.mjs +0 -39
  578. package/dist/chunks/cli-1.1.22-8fwvxw5t.mjs +0 -2
  579. package/dist/chunks/cli-1.1.22-8zvpve6x.mjs +0 -2
  580. package/dist/chunks/cli-1.1.22-9283mpm5.mjs +0 -4
  581. package/dist/chunks/cli-1.1.22-9affzgn1.mjs +0 -2
  582. package/dist/chunks/cli-1.1.22-9b6k45hn.mjs +0 -3
  583. package/dist/chunks/cli-1.1.22-9dr01ge1.mjs +0 -2
  584. package/dist/chunks/cli-1.1.22-9jjvp1h1.mjs +0 -2
  585. package/dist/chunks/cli-1.1.22-9t3wxp9c.mjs +0 -2
  586. package/dist/chunks/cli-1.1.22-9xhwr18a.mjs +0 -2
  587. package/dist/chunks/cli-1.1.22-a4bc88qq.mjs +0 -2
  588. package/dist/chunks/cli-1.1.22-an1qn05v.mjs +0 -3
  589. package/dist/chunks/cli-1.1.22-as4a7add.mjs +0 -5
  590. package/dist/chunks/cli-1.1.22-as944wt5.mjs +0 -2
  591. package/dist/chunks/cli-1.1.22-b3bpnsqk.mjs +0 -2
  592. package/dist/chunks/cli-1.1.22-b7axxc6j.mjs +0 -2
  593. package/dist/chunks/cli-1.1.22-b81ce6x4.mjs +0 -15
  594. package/dist/chunks/cli-1.1.22-bfc0nw13.mjs +0 -3
  595. package/dist/chunks/cli-1.1.22-bj4bsta6.mjs +0 -2
  596. package/dist/chunks/cli-1.1.22-bnse4r9s.mjs +0 -2
  597. package/dist/chunks/cli-1.1.22-bv3a0vaa.mjs +0 -2
  598. package/dist/chunks/cli-1.1.22-bxfemtrx.mjs +0 -2
  599. package/dist/chunks/cli-1.1.22-byxwkfrj.mjs +0 -3
  600. package/dist/chunks/cli-1.1.22-c07z4d74.mjs +0 -2
  601. package/dist/chunks/cli-1.1.22-c1h1wfjn.mjs +0 -2
  602. package/dist/chunks/cli-1.1.22-ca6d1erw.mjs +0 -6
  603. package/dist/chunks/cli-1.1.22-ccg6dy3s.mjs +0 -2
  604. package/dist/chunks/cli-1.1.22-ccp7e8qv.mjs +0 -2
  605. package/dist/chunks/cli-1.1.22-ckvf3pt3.mjs +0 -2
  606. package/dist/chunks/cli-1.1.22-ctbmc0bv.mjs +0 -2
  607. package/dist/chunks/cli-1.1.22-cvfsmaqt.mjs +0 -2
  608. package/dist/chunks/cli-1.1.22-d1w2ky89.mjs +0 -6
  609. package/dist/chunks/cli-1.1.22-d7cmcmfd.mjs +0 -2
  610. package/dist/chunks/cli-1.1.22-d990gcrg.mjs +0 -2
  611. package/dist/chunks/cli-1.1.22-d9y8qqg3.mjs +0 -2
  612. package/dist/chunks/cli-1.1.22-ddq8axpw.mjs +0 -12
  613. package/dist/chunks/cli-1.1.22-df129qms.mjs +0 -5
  614. package/dist/chunks/cli-1.1.22-df9q1a85.mjs +0 -2
  615. package/dist/chunks/cli-1.1.22-djkeg65n.mjs +0 -2
  616. package/dist/chunks/cli-1.1.22-dpqknw7z.mjs +0 -2
  617. package/dist/chunks/cli-1.1.22-e25bz2ew.mjs +0 -9
  618. package/dist/chunks/cli-1.1.22-e5sxpgah.mjs +0 -2
  619. package/dist/chunks/cli-1.1.22-e5wx36qr.mjs +0 -2
  620. package/dist/chunks/cli-1.1.22-eagkxr30.mjs +0 -9
  621. package/dist/chunks/cli-1.1.22-eddrkydn.mjs +0 -2
  622. package/dist/chunks/cli-1.1.22-emmr10wb.mjs +0 -21
  623. package/dist/chunks/cli-1.1.22-eqtbpc0r.mjs +0 -2
  624. package/dist/chunks/cli-1.1.22-erbhk4p7.mjs +0 -4
  625. package/dist/chunks/cli-1.1.22-f0wja05z.mjs +0 -2
  626. package/dist/chunks/cli-1.1.22-f9ntxarz.mjs +0 -2
  627. package/dist/chunks/cli-1.1.22-fetzhxhh.mjs +0 -2
  628. package/dist/chunks/cli-1.1.22-fwhfqwwn.mjs +0 -2
  629. package/dist/chunks/cli-1.1.22-gkryz2d0.mjs +0 -2
  630. package/dist/chunks/cli-1.1.22-gpt102mm.mjs +0 -2
  631. package/dist/chunks/cli-1.1.22-grjw9tnm.mjs +0 -2
  632. package/dist/chunks/cli-1.1.22-gwhdvfge.mjs +0 -24
  633. package/dist/chunks/cli-1.1.22-gyhxg2db.mjs +0 -2
  634. package/dist/chunks/cli-1.1.22-h3m1whqm.mjs +0 -6
  635. package/dist/chunks/cli-1.1.22-hgwxyksg.mjs +0 -2
  636. package/dist/chunks/cli-1.1.22-hhmq1rbn.mjs +0 -2
  637. package/dist/chunks/cli-1.1.22-hjxaqntc.mjs +0 -45
  638. package/dist/chunks/cli-1.1.22-hqbf8xt0.mjs +0 -3
  639. package/dist/chunks/cli-1.1.22-hv3m9qnv.mjs +0 -2
  640. package/dist/chunks/cli-1.1.22-j6xg80k8.mjs +0 -2
  641. package/dist/chunks/cli-1.1.22-j7qc1g0f.mjs +0 -2
  642. package/dist/chunks/cli-1.1.22-jdz4rqbp.mjs +0 -2
  643. package/dist/chunks/cli-1.1.22-jech3kdr.mjs +0 -2
  644. package/dist/chunks/cli-1.1.22-jrhx2z2p.mjs +0 -2
  645. package/dist/chunks/cli-1.1.22-jvrjpdd1.mjs +0 -2
  646. package/dist/chunks/cli-1.1.22-jz426kr2.mjs +0 -66
  647. package/dist/chunks/cli-1.1.22-jzvqt2pv.mjs +0 -2
  648. package/dist/chunks/cli-1.1.22-k3xv38bj.mjs +0 -2
  649. package/dist/chunks/cli-1.1.22-kphdet4j.mjs +0 -58
  650. package/dist/chunks/cli-1.1.22-kqk323ja.mjs +0 -2
  651. package/dist/chunks/cli-1.1.22-m41t95z0.mjs +0 -2
  652. package/dist/chunks/cli-1.1.22-mdapyzp3.mjs +0 -6
  653. package/dist/chunks/cli-1.1.22-mdttpxs6.mjs +0 -24
  654. package/dist/chunks/cli-1.1.22-mw0jpevk.mjs +0 -2
  655. package/dist/chunks/cli-1.1.22-mxqz88pc.mjs +0 -2
  656. package/dist/chunks/cli-1.1.22-n0px7a23.mjs +0 -3
  657. package/dist/chunks/cli-1.1.22-n2jecp35.mjs +0 -2
  658. package/dist/chunks/cli-1.1.22-nstgtysk.mjs +0 -2
  659. package/dist/chunks/cli-1.1.22-nsydz2bd.mjs +0 -2
  660. package/dist/chunks/cli-1.1.22-nv9q4jrr.mjs +0 -26
  661. package/dist/chunks/cli-1.1.22-nxv6yayj.mjs +0 -2
  662. package/dist/chunks/cli-1.1.22-pgrcj1gs.mjs +0 -12
  663. package/dist/chunks/cli-1.1.22-q622p3vr.mjs +0 -16
  664. package/dist/chunks/cli-1.1.22-q76mjgec.mjs +0 -2
  665. package/dist/chunks/cli-1.1.22-qmk7mm5m.mjs +0 -2
  666. package/dist/chunks/cli-1.1.22-qq7q7v3n.mjs +0 -2
  667. package/dist/chunks/cli-1.1.22-qzc4h0w2.mjs +0 -2
  668. package/dist/chunks/cli-1.1.22-r0v2mak7.mjs +0 -2
  669. package/dist/chunks/cli-1.1.22-r7dnq81v.mjs +0 -2
  670. package/dist/chunks/cli-1.1.22-r9n3fz01.mjs +0 -2
  671. package/dist/chunks/cli-1.1.22-rd5zdpvh.mjs +0 -2
  672. package/dist/chunks/cli-1.1.22-rma08k7m.mjs +0 -3
  673. package/dist/chunks/cli-1.1.22-rsp3340r.mjs +0 -2
  674. package/dist/chunks/cli-1.1.22-rtn7nhkb.mjs +0 -1
  675. package/dist/chunks/cli-1.1.22-s2n02sky.mjs +0 -2
  676. package/dist/chunks/cli-1.1.22-s5qhs3ds.mjs +0 -2
  677. package/dist/chunks/cli-1.1.22-s6e60cqc.mjs +0 -2
  678. package/dist/chunks/cli-1.1.22-sema6yh6.mjs +0 -2
  679. package/dist/chunks/cli-1.1.22-skpsy2jm.mjs +0 -17
  680. package/dist/chunks/cli-1.1.22-ss970cxc.mjs +0 -2
  681. package/dist/chunks/cli-1.1.22-swvmx131.mjs +0 -2
  682. package/dist/chunks/cli-1.1.22-sy41x518.mjs +0 -2
  683. package/dist/chunks/cli-1.1.22-tag23y0b.mjs +0 -25
  684. package/dist/chunks/cli-1.1.22-tkg7zwpn.mjs +0 -20
  685. package/dist/chunks/cli-1.1.22-tt24grn6.mjs +0 -2
  686. package/dist/chunks/cli-1.1.22-v260dy3k.mjs +0 -2
  687. package/dist/chunks/cli-1.1.22-v2q2pts1.mjs +0 -2
  688. package/dist/chunks/cli-1.1.22-v8pzx6jk.mjs +0 -2
  689. package/dist/chunks/cli-1.1.22-vdsszncw.mjs +0 -2
  690. package/dist/chunks/cli-1.1.22-vesjdg08.mjs +0 -2
  691. package/dist/chunks/cli-1.1.22-vnmyjmjg.mjs +0 -2
  692. package/dist/chunks/cli-1.1.22-vp1eed3p.mjs +0 -7
  693. package/dist/chunks/cli-1.1.22-vwdxbs23.mjs +0 -2
  694. package/dist/chunks/cli-1.1.22-vwv40zm1.mjs +0 -2
  695. package/dist/chunks/cli-1.1.22-w09pyst3.mjs +0 -2
  696. package/dist/chunks/cli-1.1.22-waqb850v.mjs +0 -15
  697. package/dist/chunks/cli-1.1.22-wbpdne8j.mjs +0 -2
  698. package/dist/chunks/cli-1.1.22-xm1rhe1d.mjs +0 -2
  699. package/dist/chunks/cli-1.1.22-xmb0wn88.mjs +0 -42
  700. package/dist/chunks/cli-1.1.22-xmy1w9q2.mjs +0 -2
  701. package/dist/chunks/cli-1.1.22-xpvyrpxz.mjs +0 -7
  702. package/dist/chunks/cli-1.1.22-xxwfawkh.mjs +0 -2
  703. package/dist/chunks/cli-1.1.22-xygngqfs.mjs +0 -2
  704. package/dist/chunks/cli-1.1.22-xzrnmekb.mjs +0 -3
  705. package/dist/chunks/cli-1.1.22-y0t8rezv.mjs +0 -2
  706. package/dist/chunks/cli-1.1.22-y3te45vg.mjs +0 -2
  707. package/dist/chunks/cli-1.1.22-y4rj8ced.mjs +0 -2
  708. package/dist/chunks/cli-1.1.22-ya408d88.mjs +0 -4
  709. package/dist/chunks/cli-1.1.22-yegp0d0j.mjs +0 -6
  710. package/dist/chunks/cli-1.1.22-yhgxca73.mjs +0 -2
  711. package/dist/chunks/cli-1.1.22-yjv63n10.mjs +0 -2
  712. package/dist/chunks/cli-1.1.22-yqbnqsen.mjs +0 -3
  713. package/dist/chunks/cli-1.1.22-yr5y8074.mjs +0 -4
  714. package/dist/chunks/cli-1.1.22-yy4d5xbz.mjs +0 -2
  715. package/dist/chunks/cli-1.1.22-yzk40k6c.mjs +0 -2
  716. package/dist/chunks/cli-1.1.22-z5g00tpb.mjs +0 -25
  717. package/dist/chunks/cli-1.1.22-zcrvxkff.mjs +0 -15
  718. package/dist/chunks/cli-1.1.22-zfg31zpg.mjs +0 -2
  719. package/dist/chunks/cli-1.1.22-zmt5pksy.mjs +0 -5426
  720. package/dist/chunks/cli-1.1.22-znq4fk8a.mjs +0 -2
  721. package/dist/chunks/cli-1.1.22-zsc0cmye.mjs +0 -2
  722. package/dist/chunks/client-1.1.22-wq8vw6a1.mjs +0 -1
  723. package/dist/chunks/color-1.1.22-qk5z13ac.mjs +0 -1
  724. package/dist/chunks/compact-1.1.22-rb84pjhg.mjs +0 -3
  725. package/dist/chunks/config-1.1.22-0p9ep18d.mjs +0 -1
  726. package/dist/chunks/config-1.1.22-5mngav76.mjs +0 -1
  727. package/dist/chunks/constants-1.1.22-kjrh13hv.mjs +0 -1
  728. package/dist/chunks/context-1.1.22-dw2er614.mjs +0 -1
  729. package/dist/chunks/context-noninteractive-1.1.22-znhpxryw.mjs +0 -1
  730. package/dist/chunks/conversation-1.1.22-awv74gk2.mjs +0 -1
  731. package/dist/chunks/copilotHeaders-1.1.22-m6ccr26v.mjs +0 -1
  732. package/dist/chunks/copy-1.1.22-7b5mhaaj.mjs +0 -9
  733. package/dist/chunks/cost-1.1.22-dt2gz43e.mjs +0 -1
  734. package/dist/chunks/createSSHSession-1.1.22-a42r8ywe.mjs +0 -1
  735. package/dist/chunks/createSession-1.1.22-ddd5ddkv.mjs +0 -1
  736. package/dist/chunks/debug-1.1.22-qraa5by9.mjs +0 -1
  737. package/dist/chunks/defaultActionDeps-1.1.22-ctnqgj01.mjs +0 -1534
  738. package/dist/chunks/desktop-1.1.22-wg1hxyyk.mjs +0 -1
  739. package/dist/chunks/detectRepository-1.1.22-pn2g27hr.mjs +0 -1
  740. package/dist/chunks/detection-1.1.22-s8r50ft4.mjs +0 -1
  741. package/dist/chunks/diff-1.1.22-6sdsv83f.mjs +0 -1
  742. package/dist/chunks/doctor-1.1.22-cj56pasy.mjs +0 -1
  743. package/dist/chunks/doctorDiagnostic-1.1.22-ezjhg329.mjs +0 -1
  744. package/dist/chunks/earlyInput-1.1.22-k4tqtjbb.mjs +0 -1
  745. package/dist/chunks/effort-1.1.22-eztddah9.mjs +0 -13
  746. package/dist/chunks/engine-1.1.22-6wrga0yh.mjs +0 -1
  747. package/dist/chunks/envLessBridgeConfig-1.1.22-9jm3xgge.mjs +0 -1
  748. package/dist/chunks/envUtils-1.1.22-7qb9fr3c.mjs +0 -1
  749. package/dist/chunks/environmentSelection-1.1.22-4xy91rp5.mjs +0 -1
  750. package/dist/chunks/environments-1.1.22-ke6dvmrb.mjs +0 -1
  751. package/dist/chunks/errors-1.1.22-rgsmtg01.mjs +0 -1
  752. package/dist/chunks/exampleCommands-1.1.22-xv4kj009.mjs +0 -1
  753. package/dist/chunks/execFileNoThrow-1.1.22-m7ndjwpq.mjs +0 -1
  754. package/dist/chunks/exit-1.1.22-m0bm4f9d.mjs +0 -1
  755. package/dist/chunks/explorer-1.1.22-jsrgxmw0.mjs +0 -1
  756. package/dist/chunks/export-1.1.22-s0m4af77.mjs +0 -2
  757. package/dist/chunks/extra-usage-1.1.22-9sdr6tyh.mjs +0 -1
  758. package/dist/chunks/extra-usage-noninteractive-1.1.22-9k857j7m.mjs +0 -1
  759. package/dist/chunks/fast-1.1.22-3w3eg6gc.mjs +0 -1
  760. package/dist/chunks/feedback-1.1.22-7jr2gbzj.mjs +0 -14
  761. package/dist/chunks/firstPartyEventLogger-1.1.22-08zb6ajr.mjs +0 -1
  762. package/dist/chunks/git-1.1.22-m66s3f9x.mjs +0 -1
  763. package/dist/chunks/githubModelsCredentials-1.1.22-2r1deqm3.mjs +0 -1
  764. package/dist/chunks/goal-1.1.22-60jn1knb.mjs +0 -4
  765. package/dist/chunks/growthbook-1.1.22-jnddje2q.mjs +0 -1
  766. package/dist/chunks/headless-1.1.22-jc8xk2dj.mjs +0 -2
  767. package/dist/chunks/heapdump-1.1.22-h87tv4ay.mjs +0 -6
  768. package/dist/chunks/help-1.1.22-hkgcwycs.mjs +0 -1
  769. package/dist/chunks/hookChains-1.1.22-hjjsdtfz.mjs +0 -3
  770. package/dist/chunks/hooks-1.1.22-d51y91pz.mjs +0 -79
  771. package/dist/chunks/hooks-1.1.22-knpyhzjq.mjs +0 -1
  772. package/dist/chunks/ide-1.1.22-0tqwa732.mjs +0 -3
  773. package/dist/chunks/image-processor-napi-1.1.22-6qd4v6hf.mjs +0 -1
  774. package/dist/chunks/inboundAttachments-1.1.22-gvb5zry4.mjs +0 -1
  775. package/dist/chunks/index-1.1.22-19x2126b.mjs +0 -30
  776. package/dist/chunks/index-1.1.22-28fcrc19.mjs +0 -9
  777. package/dist/chunks/index-1.1.22-2ea02rg7.mjs +0 -1
  778. package/dist/chunks/index-1.1.22-2rc4s1ea.mjs +0 -1
  779. package/dist/chunks/index-1.1.22-33ka1vh2.mjs +0 -1
  780. package/dist/chunks/index-1.1.22-3sbe52mk.mjs +0 -1
  781. package/dist/chunks/index-1.1.22-3ze6s7jh.mjs +0 -1
  782. package/dist/chunks/index-1.1.22-45fydkr4.mjs +0 -1
  783. package/dist/chunks/index-1.1.22-4jyb49wh.mjs +0 -5
  784. package/dist/chunks/index-1.1.22-53bbsdht.mjs +0 -23
  785. package/dist/chunks/index-1.1.22-6dbeceeq.mjs +0 -1
  786. package/dist/chunks/index-1.1.22-8dntbh7a.mjs +0 -1
  787. package/dist/chunks/index-1.1.22-8kjk15ba.mjs +0 -1
  788. package/dist/chunks/index-1.1.22-an0gp01d.mjs +0 -1
  789. package/dist/chunks/index-1.1.22-cnbxnqdc.mjs +0 -1
  790. package/dist/chunks/index-1.1.22-fpsntg6z.mjs +0 -1
  791. package/dist/chunks/index-1.1.22-fv3cwfqb.mjs +0 -1
  792. package/dist/chunks/index-1.1.22-hjp106ay.mjs +0 -1
  793. package/dist/chunks/index-1.1.22-njczpq0j.mjs +0 -9
  794. package/dist/chunks/index-1.1.22-zeprwv8d.mjs +0 -2
  795. package/dist/chunks/index-1.1.22-zmmyfbe7.mjs +0 -1
  796. package/dist/chunks/index-1.1.22-zssja3p2.mjs +0 -2
  797. package/dist/chunks/index-1.1.22-zw38mh26.mjs +0 -1
  798. package/dist/chunks/init-1.1.22-xnq27h0g.mjs +0 -1
  799. package/dist/chunks/initReplBridge-1.1.22-y1d60qz3.mjs +0 -1
  800. package/dist/chunks/ink-1.1.22-k48q879m.mjs +0 -1
  801. package/dist/chunks/insights-1.1.22-a1cvbm3p.mjs +0 -870
  802. package/dist/chunks/install-1.1.22-jbzmqsdp.mjs +0 -1
  803. package/dist/chunks/install-github-app-1.1.22-8a3hpgxj.mjs +0 -149
  804. package/dist/chunks/install-slack-app-1.1.22-rt6z32mx.mjs +0 -1
  805. package/dist/chunks/instrumentation-1.1.22-z450bn0g.mjs +0 -1
  806. package/dist/chunks/interactiveHelpers-1.1.22-6ks3mty3.mjs +0 -1
  807. package/dist/chunks/keybindings-1.1.22-g9y42jd0.mjs +0 -2
  808. package/dist/chunks/knowledge-1.1.22-9pnvwgtc.mjs +0 -2
  809. package/dist/chunks/latestVersionCache-1.1.22-qt6jab06.mjs +0 -1
  810. package/dist/chunks/loadAgentsDir-1.1.22-sq4k9pva.mjs +0 -1
  811. package/dist/chunks/loadPluginHooks-1.1.22-vshz13qp.mjs +0 -1
  812. package/dist/chunks/log-1.1.22-e7ksty3v.mjs +0 -1
  813. package/dist/chunks/main-1.1.22-6td1g6n1.mjs +0 -1
  814. package/dist/chunks/managedEnv-1.1.22-htj06t2x.mjs +0 -1
  815. package/dist/chunks/mcp-1.1.22-18h7drd2.mjs +0 -17
  816. package/dist/chunks/mcp-1.1.22-ezfae103.mjs +0 -1
  817. package/dist/chunks/mcp-1.1.22-s120rv95.mjs +0 -4
  818. package/dist/chunks/mcpb-1.1.22-vm6h475e.mjs +0 -1
  819. package/dist/chunks/memory-1.1.22-e0tx5g0m.mjs +0 -72
  820. package/dist/chunks/model-1.1.22-jpnba4j9.mjs +0 -2
  821. package/dist/chunks/model-1.1.22-ptaehfsq.mjs +0 -1
  822. package/dist/chunks/node-1.1.22-n2j0h224.mjs +0 -14
  823. package/dist/chunks/oauth-1.1.22-xryjmqvy.mjs +0 -1
  824. package/dist/chunks/openaiShim-1.1.22-5g2mvrb0.mjs +0 -14
  825. package/dist/chunks/output-style-1.1.22-15avrxe6.mjs +0 -1
  826. package/dist/chunks/package-ZOVFJE7Z-1.1.22-74v22202.mjs +0 -1
  827. package/dist/chunks/parseConnectUrl-1.1.22-th9g7k2v.mjs +0 -1
  828. package/dist/chunks/parser-1.1.22-f76s0696.mjs +0 -1
  829. package/dist/chunks/passes-1.1.22-5067sbnv.mjs +0 -1
  830. package/dist/chunks/permissions-1.1.22-jq3s11rr.mjs +0 -3
  831. package/dist/chunks/permissions-1.1.22-yjbnyvja.mjs +0 -1
  832. package/dist/chunks/plan-1.1.22-a0v77tas.mjs +0 -1
  833. package/dist/chunks/plist-1.1.22-stjt7ne7.mjs +0 -1
  834. package/dist/chunks/plugin-1.1.22-ccc18w6d.mjs +0 -29
  835. package/dist/chunks/pluginStartupCheck-1.1.22-6w6xqk0q.mjs +0 -1
  836. package/dist/chunks/plugins-1.1.22-14tg96p5.mjs +0 -9
  837. package/dist/chunks/preActionHook-1.1.22-w8y973hr.mjs +0 -2
  838. package/dist/chunks/print-1.1.22-fj5my0gp.mjs +0 -57
  839. package/dist/chunks/process-1.1.22-5ehjyzp9.mjs +0 -1
  840. package/dist/chunks/processBashCommand-1.1.22-rfx8p83z.mjs +0 -1
  841. package/dist/chunks/processSlashCommand-1.1.22-zz4rg3b9.mjs +0 -9
  842. package/dist/chunks/prompt-1.1.22-1k2zk0wc.mjs +0 -1
  843. package/dist/chunks/prompt-1.1.22-dnwycjh5.mjs +0 -1
  844. package/dist/chunks/prompts-1.1.22-4p4a5se6.mjs +0 -1
  845. package/dist/chunks/protocolHandler-1.1.22-cs8w65fv.mjs +0 -13
  846. package/dist/chunks/provider-1.1.22-bn5s7tah.mjs +0 -2
  847. package/dist/chunks/providerProfiles-1.1.22-pymtgbvs.mjs +0 -1
  848. package/dist/chunks/providerValidation-1.1.22-c7c5hbxa.mjs +0 -6
  849. package/dist/chunks/rate-limit-options-1.1.22-w2qffppm.mjs +0 -1
  850. package/dist/chunks/registerSubcommands-1.1.22-ab4qb34w.mjs +0 -26
  851. package/dist/chunks/registry-1.1.22-nsm8d8eb.mjs +0 -1
  852. package/dist/chunks/release-notes-1.1.22-8x23myzn.mjs +0 -5
  853. package/dist/chunks/reload-plugins-1.1.22-ak7jhwx7.mjs +0 -2
  854. package/dist/chunks/remote-env-1.1.22-x7trmcqx.mjs +0 -1
  855. package/dist/chunks/remoteBridgeCore-1.1.22-hbz0g8ya.mjs +0 -1
  856. package/dist/chunks/remoteSession-1.1.22-f6jb57v7.mjs +0 -1
  857. package/dist/chunks/rename-1.1.22-xe35q0k0.mjs +0 -1
  858. package/dist/chunks/replBridgeHandle-1.1.22-fhwjkdxg.mjs +0 -1
  859. package/dist/chunks/replLauncher-1.1.22-vv0a8mm6.mjs +0 -1
  860. package/dist/chunks/resume-1.1.22-2sa8hbck.mjs +0 -2
  861. package/dist/chunks/rewind-1.1.22-9p74phfv.mjs +0 -1
  862. package/dist/chunks/rootOptions-1.1.22-d6srkssk.mjs +0 -1
  863. package/dist/chunks/runWorkflowHeadless-1.1.22-g8m5b1gg.mjs +0 -10
  864. package/dist/chunks/sandbox-adapter-1.1.22-xfg2fsw2.mjs +0 -1
  865. package/dist/chunks/sandbox-toggle-1.1.22-dtc44mq5.mjs +0 -1
  866. package/dist/chunks/session-1.1.22-3tjyetra.mjs +0 -2
  867. package/dist/chunks/sessionDiscovery-1.1.22-33mn13e8.mjs +0 -1
  868. package/dist/chunks/sessionFileAccessHooks-1.1.22-d3bejz9v.mjs +0 -1
  869. package/dist/chunks/sessionStorage-1.1.22-j74sh7m1.mjs +0 -1
  870. package/dist/chunks/settings-1.1.22-nkarfvpa.mjs +0 -1
  871. package/dist/chunks/setup-1.1.22-qcehqed4.mjs +0 -12
  872. package/dist/chunks/sinks-1.1.22-cq9rny33.mjs +0 -1
  873. package/dist/chunks/skills-1.1.22-ekjpttza.mjs +0 -1
  874. package/dist/chunks/startupProfiler-1.1.22-9fngk9y1.mjs +0 -1
  875. package/dist/chunks/startupUpdateCheck-1.1.22-d1k95rad.mjs +0 -1
  876. package/dist/chunks/state-1.1.22-jwyx08g8.mjs +0 -1
  877. package/dist/chunks/stats-1.1.22-gbms572d.mjs +0 -6
  878. package/dist/chunks/status-1.1.22-k6tz1204.mjs +0 -1
  879. package/dist/chunks/stickers-1.1.22-0p5wcv91.mjs +0 -1
  880. package/dist/chunks/subprocessEnv-1.1.22-8nw03e6a.mjs +0 -1
  881. package/dist/chunks/tasks-1.1.22-j3tvhmzv.mjs +0 -1
  882. package/dist/chunks/teamHelpers-1.1.22-9h9wz2vt.mjs +0 -1
  883. package/dist/chunks/teammateModeSnapshot-1.1.22-az279j20.mjs +0 -1
  884. package/dist/chunks/teleport-1.1.22-x65tzb7k.mjs +0 -1
  885. package/dist/chunks/terminalSetup-1.1.22-mgtn4k1h.mjs +0 -1
  886. package/dist/chunks/theme-1.1.22-ytcpmqf6.mjs +0 -1
  887. package/dist/chunks/thinkback-1.1.22-r3tqf574.mjs +0 -1
  888. package/dist/chunks/thinkback-play-1.1.22-gy5pmk8r.mjs +0 -1
  889. package/dist/chunks/toolPool-1.1.22-enzkj5fj.mjs +0 -1
  890. package/dist/chunks/toolSearch-1.1.22-nks2rxm6.mjs +0 -1
  891. package/dist/chunks/tools-1.1.22-vngj7bpe.mjs +0 -1
  892. package/dist/chunks/trustedDevice-1.1.22-521tzk05.mjs +0 -1
  893. package/dist/chunks/turndown.cjs-1.1.22-thexftmp.mjs +0 -69
  894. package/dist/chunks/types-1.1.22-jp8m10f1.mjs +0 -1
  895. package/dist/chunks/ultrareviewCommand-1.1.22-tjrn8agz.mjs +0 -4
  896. package/dist/chunks/update-1.1.22-n10ztshv.mjs +0 -72
  897. package/dist/chunks/upgrade-1.1.22-e0pjbtcd.mjs +0 -1
  898. package/dist/chunks/upload-1.1.22-e00jdttg.mjs +0 -7
  899. package/dist/chunks/upstreamproxy-1.1.22-1qmxkbg7.mjs +0 -14
  900. package/dist/chunks/url-handler-napi-1.1.22-jj7mv0bn.mjs +0 -1
  901. package/dist/chunks/usage-1.1.22-s54ykz8x.mjs +0 -1
  902. package/dist/chunks/util-1.1.22-wntx1394.mjs +0 -1
  903. package/dist/chunks/utils-1.1.22-wmew7b5j.mjs +0 -1
  904. package/dist/chunks/vim-1.1.22-qddsv4he.mjs +0 -1
  905. package/dist/chunks/watchLoop-1.1.22-1z60qm0a.mjs +0 -13
  906. package/dist/chunks/watcher-1.1.22-100q2zbm.mjs +0 -1
  907. package/dist/chunks/wiki-1.1.22-akk70ycq.mjs +0 -132
  908. package/dist/chunks/workflows-1.1.22-ed33rwny.mjs +0 -1
  909. package/dist/chunks/worktree-1.1.22-f3b1rr0f.mjs +0 -1
  910. package/dist/chunks/worktreeModeEnabled-1.1.22-taeyewr8.mjs +0 -1
  911. package/dist/chunks/wrapper-1.1.22-hayqq9zr.mjs +0 -7
  912. /package/dist/chunks/{cli-1.1.22-ws6y62na.mjs → cli-1.1.24-k5cs55nk.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
2
+ export{z as Wta,A as Xta,B as Yta,C as Zta,D as _ta,F as $ta,G as aua,H as bua};
@@ -0,0 +1,2 @@
1
+ import{Uh as e,Xh as fq}from"./cli-1.1.24-tpafhmrw.mjs";import{Yh as t,_h as Hq}from"./cli-1.1.24-wshydefj.mjs";import{KG as r,LG as kq,UG as n,VG as Mq,no as S,oo as Nq,po as g,qo as Vq,ro as $,so as Wq,tP as o,uP as s,vP as Oq,vo as i,wo as Yq}from"./cli-1.1.24-2qkkzsk3.mjs";import{eZ as u,gZ as Zq}from"./cli-1.1.24-4p3bjzm5.mjs";import{F1 as M,H1 as F,Z1 as c,_1 as Uq,g0 as Qq,k2 as Xq}from"./cli-1.1.24-vf59rwy3.mjs";import{I4 as L,J4 as R,K4 as l}from"./cli-1.1.24-9dnr05fm.mjs";import{L4 as Lq}from"./cli-1.1.24-ys3jea4v.mjs";import{a$ as a,b$ as Jq}from"./cli-1.1.24-pe23qamd.mjs";import{Wta as d,_ta as Gq}from"./cli-1.1.24-hty94kzp.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claudin will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(r,{showCursor:!0,placeholder:`Directory path${a.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let _;if(q[6]===Symbol.for("react.memo_cache_sentinel"))_=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=_;else _=q[6];let zq=_,m;if(q[7]!==X||q[8]!==N)m=async(z)=>{let G=await o(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(s(G))},q[7]=X,q[8]=N,q[9]=m;else m=q[9];let K=m,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];u("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(n,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(i,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R($,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(g,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Oq();kq();Xq();Zq();fq();Vq();Mq();Wq();Yq();Nq();Hq();l();T=d(Qq(),1),H=d(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
2
+ export{lq as Sh,Fq as Th};
@@ -0,0 +1,2 @@
1
+ import{py as S,qy as Pq,sy as uq,vo as Hq,wo as _q}from"./cli-1.1.24-2qkkzsk3.mjs";import{fZ as Yq,gZ as jq}from"./cli-1.1.24-4p3bjzm5.mjs";import{D1 as M,E1 as Cq,F1 as G,H1 as W,L1 as kq,g0 as n,k2 as a,m0 as o,n0 as Oq}from"./cli-1.1.24-vf59rwy3.mjs";import{H4 as Kq,I4 as V,J4 as H,K4 as j}from"./cli-1.1.24-9dnr05fm.mjs";import{L4 as Aq}from"./cli-1.1.24-ys3jea4v.mjs";import{A6 as Qq,C6 as g,D6 as u,E6 as Vq,G6 as T,J6 as Wq,L6 as Xq,T6 as Zq,U6 as hq,Z6 as r,a7 as $,b7 as Dq}from"./cli-1.1.24-dw6eynz7.mjs";import{P9 as l,Q9 as Bq}from"./cli-1.1.24-6ptbgma9.mjs";import{Bea as Jq,Ifa as s,Mca as Nq,Rea as Iq,bga as Rq,vca as f}from"./cli-1.1.24-pe23qamd.mjs";import{Yha as zq,eia as Lq}from"./cli-1.1.24-bph6jjd7.mjs";import{Eka as m,Hka as Uq}from"./cli-1.1.24-prprq6xe.mjs";import{Wta as x,_ta as i}from"./cli-1.1.24-hty94kzp.mjs";function e(z){let q=t.c(2),{cooldown:J}=z;if(J){let X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=V(W,{color:"promptBorder",dimColor:!0,children:f}),q[0]=X;else X=q[0];return X}let Q;if(q[1]===Symbol.for("react.memo_cache_sentinel"))Q=V(W,{color:"fastMode",children:f}),q[1]=Q;else Q=q[1];return Q}function _(z=!0,q=!1){if(!z)return f;let J=o(s().theme);if(q)return l.dim(M("promptBorder",J)(f));return M("fastMode",J)(f)}var t;var qq=i(()=>{Bq();Nq();a();Rq();Oq();Cq();j();t=x(n(),1)});function b(z,q){if(Xq(),Jq("userSettings",{fastMode:z?!0:void 0}),z)q((J)=>{let Q=!T(J.mainLoopModel);return{...J,...Q?{mainLoopModel:Vq(),mainLoopModelForSession:null}:{},fastMode:!0}});else q((J)=>({...J,fastMode:!1}))}function mq(z){let q=wq.c(30),{onDone:J,unavailableReason:Q}=z,X=S(Fq),k=S(vq),Y=Pq(),[Z,fq]=yq.useState(k??!1),B;if(q[0]===Symbol.for("react.memo_cache_sentinel"))B=Wq(),q[0]=B;else B=q[0];let N=B,d=N.status==="cooldown",K=Q!==null,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=$(r(!0)),q[1]=R;else R=q[1];let p=R,O;if(q[2]!==Z||q[3]!==K||q[4]!==X||q[5]!==J||q[6]!==Y)O=function(){if(K)return;if(b(Z,Y),m("",{enabled:Z,source:"picker"}),Z){let F=_(Z),Gq=!T(X)?` · model set to ${u}`:"";J(`${F} Fast mode ON${Gq} · ${p}`)}else Y(cq),J("Fast mode OFF")},q[2]=Z,q[3]=K,q[4]=X,q[5]=J,q[6]=Y,q[7]=O;else O=q[7];let c=O,C;if(q[8]!==k||q[9]!==K||q[10]!==J||q[11]!==Y)C=function(){if(K){if(k)b(!1,Y);J("Fast mode OFF",{display:"system"});return}let F=k?`${_()} Kept Fast mode ON`:"Kept Fast mode OFF";J(F,{display:"system"})},q[8]=k,q[9]=K,q[10]=J,q[11]=Y,q[12]=C;else C=q[12];let v=C,U;if(q[13]!==K)U=function(){if(K)return;fq(Tq)},q[13]=K,q[14]=U;else U=q[14];let P=U,L;if(q[15]!==c||q[16]!==P)L={"confirm:yes":c,"confirm:nextField":P,"confirm:next":P,"confirm:previous":P,"confirm:cycleMode":P,"confirm:toggle":P},q[15]=c,q[16]=P,q[17]=L;else L=q[17];let I;if(q[18]===Symbol.for("react.memo_cache_sentinel"))I={context:"Confirmation"},q[18]=I;else I=q[18];Yq(L,I);let h;if(q[19]===Symbol.for("react.memo_cache_sentinel"))h=H(W,{children:[V(e,{cooldown:d})," Fast mode (research preview)"]}),q[19]=h;else h=q[19];let Eq=h,w;if(q[20]!==K)w=(E)=>E.pending?H(W,{children:["Press ",E.keyName," again to exit"]}):K?V(W,{children:"Esc to cancel"}):V(W,{children:"Tab to toggle · Enter to confirm · Esc to cancel"}),q[20]=K,q[21]=w;else w=q[21];let y;if(q[22]!==Z||q[23]!==Q)y=Q?V(G,{marginLeft:2,children:V(W,{color:"error",children:Q})}):H(Kq,{children:[V(G,{flexDirection:"column",gap:0,marginLeft:2,children:H(G,{flexDirection:"row",gap:2,children:[V(W,{bold:!0,children:"Fast mode"}),V(W,{color:Z?"fastMode":void 0,bold:Z,children:Z?"ON ":"OFF"}),V(W,{dimColor:!0,children:p})]})}),d&&N.status==="cooldown"&&V(G,{marginLeft:2,children:H(W,{color:"warning",children:[N.reason==="overloaded"?"Fast mode overloaded and is temporarily unavailable":"You've hit your fast limit"," · resets in ",zq(N.resetAt-Date.now(),{hideTrailingZeros:!0})]})})]}),q[22]=Z,q[23]=Q,q[24]=y;else y=q[24];let D;if(q[25]===Symbol.for("react.memo_cache_sentinel"))D=H(W,{dimColor:!0,children:["Learn more:"," ",V(kq,{url:"https://code.claude.com/docs/en/fast-mode",children:"https://code.claude.com/docs/en/fast-mode"})]}),q[25]=D;else D=q[25];let A;if(q[26]!==v||q[27]!==y||q[28]!==w)A=H(Hq,{title:Eq,subtitle:`High-speed mode for ${u}. Billed as extra usage at a premium rate. Separate rate limits apply.`,onCancel:v,color:"fastMode",inputGuide:w,children:[y,D]}),q[26]=v,q[27]=y,q[28]=w,q[29]=A;else A=q[29];return A}function Tq(z){return!z}function cq(z){return{...z,fastMode:!1}}function vq(z){return z.fastMode}function Fq(z){return z.mainLoopModel}async function Mq(z,q,J){let Q=g();if(Q)return`Fast mode unavailable: ${Q}`;let{mainLoopModel:X}=q();if(b(z,J),m("",{enabled:z,source:"shortcut"}),z){let k=_(!0),Y=!T(X)?` · model set to ${u}`:"",Z=$(r(!0));return`${k} Fast mode ON${Y} · ${Z}`}else return"Fast mode OFF"}async function Qz(z,q,J){if(!Qq())return null;await Zq();let Q=J?.trim().toLowerCase();if(Q==="on"||Q==="off"){let k=await Mq(Q==="on",q.getAppState,q.setAppState);return z(k),null}let X=g();return m("",{unavailable_reason:X??""}),V(mq,{onDone:z,unavailableReason:X})}var wq,yq;var xq=i(()=>{_q();qq();a();jq();Uq();uq();hq();Lq();Dq();Iq();j();wq=x(n(),1),yq=x(Aq(),1)});
2
+ export{_ as Qc,qq as Rc,mq as Sc,Qz as Tc,xq as Uc};
@@ -0,0 +1,3 @@
1
+ import{qia as N,uia as T}from"./cli-1.1.24-f0pc1fm3.mjs";import{_ta as Q}from"./cli-1.1.24-hty94kzp.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 l2,K as m2,Y as n2,Z as o2,V as p2};
@@ -0,0 +1,3 @@
1
+ import{Pta as x,Rta as y,Vta as C}from"./cli-1.1.24-vvnnh8xs.mjs";import{Yta as k}from"./cli-1.1.24-hty94kzp.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
2
+ `));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
3
+ export{MF as L_};
@@ -0,0 +1,2 @@
1
+ import{Eka as X,Hka as z}from"./cli-1.1.24-prprq6xe.mjs";import{Hla as $,Kla as P,kla as Z,pla as O}from"./cli-1.1.24-zey4mks2.mjs";import{fma as Y,mma as H}from"./cli-1.1.24-eh4c00hd.mjs";import{_ta as x}from"./cli-1.1.24-hty94kzp.mjs";function y(q){return q.replace(w,(K,J,Q)=>{if(Q.length<F)return`"${J}":"[REDACTED]"`;let V=`${Q.slice(0,8)}...${Q.slice(-4)}`;return`"${J}":"${V}"`})}function U(q){let K=q.replace(/\n/g,"\\n");if(K.length<=W)return K;return K.slice(0,W)+`... (${K.length} chars)`}function j(q){let K=typeof q==="string"?q:Z(q),J=y(K);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function h(q){let K=Y(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let Q=J.data,V=typeof Q.message==="string"?Q.message:typeof Q.error==="object"&&Q.error&&("message"in Q.error)&&typeof Q.error.message==="string"?Q.error.message:void 0;if(V)return`${K}: ${V}`}}return K}function m(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function D(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function L(q,K,J){if(K)$(K);X("",{reason:q,...J!==void 0&&{v2:J}})}var W=2000,k,w,F=16;var A=x(()=>{z();P();H();O();k=["session_ingress_token","environment_secret","access_token","secret","token"],w=new RegExp(`"(${k.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
2
+ export{U as Le,j as Me,h as Ne,m as Oe,D as Pe,L as Qe,A as Re};
@@ -0,0 +1,2 @@
1
+ import{g0 as O}from"./cli-1.1.24-vf59rwy3.mjs";import{I4 as X,K4 as Q}from"./cli-1.1.24-9dnr05fm.mjs";import{L4 as b}from"./cli-1.1.24-ys3jea4v.mjs";import{Pfa as W,bga as P}from"./cli-1.1.24-pe23qamd.mjs";import{Wta as U}from"./cli-1.1.24-hty94kzp.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
2
+ export{V as Rb,C as Sb};
@@ -0,0 +1,2 @@
1
+ import{_ta as r}from"./cli-1.1.24-hty94kzp.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.37.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 Hi,p as Ii};
@@ -0,0 +1,2 @@
1
+ import{Sta as n}from"./cli-1.1.24-vvnnh8xs.mjs";import{Yta as r}from"./cli-1.1.24-hty94kzp.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 M_};
@@ -0,0 +1,2 @@
1
+ import{_ta as o}from"./cli-1.1.24-hty94kzp.mjs";var l=()=>null,e;var n=o(()=>{e=l});
2
+ export{e as fj,n as gj};
@@ -0,0 +1,21 @@
1
+ import{Ck as J,Ds as K,Es as X,JS as C,XK as O,mF as L,nF as Y}from"./cli-1.1.24-2qkkzsk3.mjs";import{_ta as V}from"./cli-1.1.24-hty94kzp.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 L({promptMessages:[O({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 fi,W as gi,w as hi};
@@ -0,0 +1,2 @@
1
+ import{Ue as V,We as B}from"./cli-1.1.24-xdhm369m.mjs";import{Ck as L,JS as F,Lx as Q,Mx as q,TO as U,VO as w}from"./cli-1.1.24-2qkkzsk3.mjs";import{Cba as K,Hba as k}from"./cli-1.1.24-pe23qamd.mjs";import{Hla as I,Kla as $}from"./cli-1.1.24-zey4mks2.mjs";import{fma as G,mma as _}from"./cli-1.1.24-eh4c00hd.mjs";import{_ta as Z}from"./cli-1.1.24-hty94kzp.mjs";async function C(W,X){let E=V(W);if(!E)return null;try{let A=await U({systemPrompt:Q(['Generate a short kebab-case name (2-4 words) that captures the main topic of this conversation. Use lowercase words separated by hyphens. Examples: "fix-login-bug", "add-auth-feature", "refactor-api-client", "debug-test-failures". Return JSON with a "name" field.']),userPrompt:E,outputFormat:{type:"json_schema",schema:{type:"object",properties:{name:{type:"string"}},required:["name"],additionalProperties:!1}},signal:X,options:{querySource:"rename_generate_name",agents:[],isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,mcpTools:[]}}),Y=L(A.message.content),z=K(Y);if(z&&typeof z==="object"&&"name"in z&&typeof z.name==="string")return z.name;return null}catch(A){return I(`generateSessionName failed: ${G(A)}`,{level:"error"}),null}}var D=Z(()=>{w();$();_();k();F();B();q()});
2
+ export{C as Se,D as Te};
@@ -0,0 +1,24 @@
1
+ import{Xg as _Q,Zg as iQ}from"./cli-1.1.24-ymqwnn04.mjs";import{Oi as WQ,Pi as zX}from"./cli-1.1.24-c0j54zba.mjs";import{GK as GQ,HK as KQ,IK as VQ,JK as OQ,KG as SJ,LG as YQ,LK as NQ,OK as IJ,PK as nJ,QK as rJ,RK as gQ,Zp as ZQ,_p as uQ,gt as CQ,qt as qX,yK as JJ,zK as mJ}from"./cli-1.1.24-2qkkzsk3.mjs";import{SY as bJ,TY as aJ,eZ as BQ,gZ as ZX,jZ as FQ,kZ as $X,qZ as zJ,rZ as iJ}from"./cli-1.1.24-4p3bjzm5.mjs";import{$1 as e,A1 as FJ,B1 as CJ,C1 as oJ,F1 as N,H1 as M,R1 as t,YZ as LJ,ZZ as lJ,k2 as WJ,p0 as BJ}from"./cli-1.1.24-vf59rwy3.mjs";import{I4 as q,J4 as _,K4 as s}from"./cli-1.1.24-9dnr05fm.mjs";import{L4 as AJ}from"./cli-1.1.24-ys3jea4v.mjs";import{P9 as i,Q9 as dJ}from"./cli-1.1.24-6ptbgma9.mjs";import{Bha as x,Jha as DJ}from"./cli-1.1.24-pe23qamd.mjs";import{Oha as f,Pha as pJ,Rha as n,Vha as uJ,_ha as vJ,eia as kQ}from"./cli-1.1.24-bph6jjd7.mjs";import{Qja as UQ,Sja as aQ}from"./cli-1.1.24-n7r6kv9g.mjs";import{$ta as oQ,Wta as OJ,_ta as qJ}from"./cli-1.1.24-hty94kzp.mjs";import{writeFile as fQ}from"fs/promises";import{join as hQ}from"path";function PJ(J){if(J<1000)return`${J}ms`;let U=Math.round(J/1000);if(U<60)return`${U}s`;return`${Math.floor(U/60)}m ${U%60}s`}function sJ(J){if(J==="done")return"success";if(J==="stalled"||J==="failed")return"error";if(J==="cancelled")return"warning";return"permission"}function cQ(J){if(J==="running")return"▸";if(J==="failed"||J==="stalled")return"✗";if(J==="cancelled")return"⊘";return"✓"}function tJ(J){let U=0,K=0;for(let H of J.history)for(let A of HJ(H.agents))if(K+=1,!A.failed)U+=1;return{done:U,total:K}}function eJ(J){let U=J.history.map((K)=>{let H=HJ(K.agents);return{step:K.step,done:H.filter((A)=>!A.failed).length,total:H.length,agents:K.agents,decision:K.decision}});if(J.status==="running"&&!J.history.some((K)=>K.step===J.currentStep))U.push({step:J.currentStep,done:J.agentsDone??0,total:J.agentsInPhase??0,agents:null,decision:null});return U}function JQ(J,U){return`${CJ(J)}${U}\x1B[39m`}function jJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function xQ(J,U,K){let H=J.failed?"✗ ":"✓ ",A=JQ(J.failed?K.error:K.success,H.trimEnd())+" ",W=PJ(J.ms),X=f(W),I=Math.max(4,U-f(H)-X-1),w=n(`${J.label} ${J.model||"inherit"} · ${vJ(J.tokens)} tok`,I),S=w.length<=J.label.length?i.bold(w):i.bold(w.slice(0,J.label.length))+i.dim(w.slice(J.label.length)),F=Math.max(1,U-f(H)-f(w)-X);return A+S+" ".repeat(F)+i.dim(W)}function pQ({run:J,phaseIndex:U}){let{columns:K,rows:H}=bJ(),A=eJ(J),W=Math.min(U,Math.max(0,A.length-1)),X=A[W],{done:I,total:w}=tJ(J),[S]=BJ(),F=FJ(S),g=Math.max(6,H-6),R=g-2,l=TJ-4,v=Math.max(20,K-4-TJ-1-4-4),k=X?` ${X.step} · ${X.agents?HJ(X.agents).length:X.total} agents `:" phase ",C=A.map((D,L)=>{let V=L===W,O=D.total>0&&D.done===D.total?"✓":D.agents===null?"▸":"✓",m=n(`${V?") ":" "}${O} ${D.step}${D.total>0?` ${D.done}/${D.total}`:""}`,l);return jJ(V?JQ(F.permission,m):m,f(m),l)});while(C.length<R)C.push(" ".repeat(l));let j=!X?[jJ(i.dim("starting…"),f("starting…"),v)]:X.agents===null?[jJ(i.dim(`running… ${X.done}/${X.total} done`),f(`running… ${X.done}/${X.total} done`),v)]:HJ(X.agents).map((D)=>xQ(D,v,F));while(j.length<R)j.push(" ".repeat(v));return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[_(N,{flexDirection:"column",flexShrink:1,minWidth:0,children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:J.workflow}),J.description?q(M,{dimColor:!0,wrap:"truncate",children:J.description}):null]}),_(M,{color:sJ(J.status),wrap:"truncate",children:[I,"/",w," agents · ",PJ(J.updatedAt-J.startedAt)," · ",J.status]})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:TJ,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:C.slice(0,R),width:l})}),q(N,{flexDirection:"column",flexGrow:1,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:k,position:"top",align:"start"},children:q(t,{lines:j.slice(0,R),width:v})})]})]})}function QQ({liveRun:J,onStop:U,initialRunId:K,onViewChange:H}){let[A,W]=y.useState([]),[X,I]=y.useState(0),[w,S]=y.useState(0),[F,g]=y.useState(K?{mode:"detail",runId:K}:{mode:"list"}),[R,l]=y.useState(null),[v,k]=y.useState(!1),[C,j]=y.useState(new Set);y.useEffect(()=>{IJ().then(W).catch(($)=>x($))},[J?.runId,J?.updatedAt]);let D=(J?[J,...A.filter(($)=>$.runId!==J.runId)]:A).filter(($)=>!C.has($.runId)),L=D[Math.min(X,Math.max(0,D.length-1))],V=F.mode==="detail"?D.find(($)=>$.runId===F.runId):void 0;y.useEffect(()=>{H?.(F.mode==="detail")},[F.mode,H]);let O=y.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]),m=y.useRef(!1);y.useEffect(()=>{if(m.current||!K)return;let $=D.findIndex((Y)=>Y.runId===K);if($>=0)I($),m.current=!0},[K,D]);let T=F.mode==="detail"?V:L,h=y.useCallback(async()=>{if(!T)return;try{let $=hQ(JJ(),`run-${T.runId}.md`);await fQ($,rJ(T)),l($)}catch($){x($)}},[T]),c=y.useCallback(async()=>{if(!L)return;try{await nJ(L.runId),j(($)=>new Set($).add(L.runId)),I(($)=>Math.max(0,Math.min($,D.length-2))),W(await IJ())}catch($){x($)}},[L,D.length]);if(e(($,Y)=>{if(F.mode==="detail"){let P=V?eJ(V).length:0;if(Y.escape)O(),g({mode:"list"});else if(Y.upArrow)O(),S((B)=>Math.max(0,B-1));else if(Y.downArrow)O(),S((B)=>Math.min(Math.max(0,P-1),B+1));else if($==="s")h();else if($==="x"&&V&&J&&V.runId===J.runId)U();return}if(v){if(k(!1),$==="y")c();return}if(Y.upArrow)I((P)=>Math.max(0,P-1));else if(Y.downArrow)I((P)=>Math.min(D.length-1,P+1));else if(Y.return&&L)O(),S(0),g({mode:"detail",runId:L.runId});else if($==="s")h();else if($==="x"&&L&&J&&L.runId===J.runId)U();else if($==="d"&&L&&L.status!=="running")k(!0)},{isActive:!0}),F.mode==="detail"){if(!V)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Run not found."})});return _(N,{flexDirection:"column",paddingX:2,children:[q(pQ,{run:V,phaseIndex:w}),R&&_(M,{color:"success",children:["Saved → ",R]})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission",padding:4}),D.length===0?q(N,{paddingX:2,marginTop:1,children:q(M,{dimColor:!0,children:"No workflow runs yet. Start one from the Library tab."})}):_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[D.map(($,Y)=>{let{total:P}=tJ($);return _(M,{inverse:Y===X,wrap:"truncate",children:[Y===X?"▸ ":" ",q(M,{color:sJ($.status),children:cQ($.status)})," ",$.workflow," ",P," agents · ",vJ($.totalTokens)," tok · ",PJ($.updatedAt-$.startedAt)]},$.runId)}),R&&q(N,{marginTop:1,children:_(M,{color:"success",children:["Saved → ",R]})}),v&&L&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete run "',L.workflow,'" (',PJ(L.updatedAt-L.startedAt),")? (y/n)"]})})]})]})}var y,HJ=(J)=>J.filter((U)=>U.label!=="main"),TJ=26;var XQ=qJ(()=>{dJ();WJ();lJ();pJ();kQ();DJ();oJ();uJ();aJ();iJ();gQ();mJ();s();y=OJ(AJ(),1)});function lQ(J){let U={name:J.name};if(J.agents.length>0)U.agents=J.agents;if(J.handbackTo?.length)U.handbackTo=J.handbackTo;return U}function $Q(J,U={}){let K={name:J.name,description:J.description};if(J.main)K.main=J.main;K.steps=J.steps.map(lQ);for(let[W,X]of Object.entries(U))if(!dQ.has(W))K[W]=X;let H=ZQ(K).trimEnd(),A=J.instructions.trim();return`---
2
+ ${H}
3
+ ---
4
+ ${A?`${A}
5
+ `:""}`}function qQ(J,U,K){let H=J[U]?.name;return J.map((A,W)=>({...A,name:W===U?K:A.name,handbackTo:A.handbackTo?.map((X)=>X===H?K:X)}))}var dQ;var zQ=qJ(()=>{uQ();dQ=new Set(["name","description","main","steps"])});import{unlinkSync as nQ,writeFileSync as rQ}from"fs";import{readFile as sQ,writeFile as tQ}from"fs/promises";import{tmpdir as eQ}from"os";import{join as yJ}from"path";function UJ(J,U){return`${CJ(J)}${U}\x1B[39m`}function ZJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function EJ(J,U,K){let H=J.slice(0,U);while(H.length<U)H.push(" ".repeat(K));return H}function MQ({sourceFile:J,onClose:U}){let{columns:K,rows:H}=bJ(),[A]=BJ(),W=FJ(A),[X,I]=E.useState(null),[w,S]=E.useState({}),[F,g]=E.useState(null),[R,l]=E.useState(!1),[v,k]=E.useState("phases"),[C,j]=E.useState(0),[D,L]=E.useState(0),[V,O]=E.useState(null),[m,T]=E.useState(null),[h,c]=E.useState(null),$=E.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]);E.useEffect(()=>{sQ(yJ(JJ(),J),"utf-8").then((Q)=>{let Z=GQ(Q,J.replace(/\.md$/,""));if(Z.def)I(Z.def),S(Z.rawFrontmatter);else g(Z.errors.join("; "))}).catch((Q)=>{x(Q),g("Failed to read workflow file.")})},[J]),E.useEffect(()=>{import("./agentTypes-1.1.24-zyfmeacn.mjs").then((Q)=>Q.getKnownAgentTypes(UQ())).then(c).catch((Q)=>x(Q))},[]);let Y=E.useMemo(()=>{if(!X)return[];let Q=KQ(X);if(h)Q.push(...VQ(X,h));return Q},[X,h]),P=E.useCallback((Q)=>{$(),I((Z)=>Z?Q(Z):Z),l(!0),T(null)},[$]),B=C-1,u=X&&B>=0?X.steps[B]:void 0,YJ=C===0?["description","main"]:["name","agents","handbackTo"],bQ=E.useCallback(async()=>{if(!X)return;try{let Q=yJ(JJ(),J);await tQ(Q,$Q(X,w)),l(!1),T(`Saved → ${Q}`)}catch(Q){x(Q),T("Failed to save.")}},[X,w,J]),EQ=E.useCallback(()=>{if(!X)return;let Q=yJ(eQ(),`claudin-wf-prompt-${Date.now()}.md`);try{rQ(Q,X.instructions?`${X.instructions}
6
+ `:"");let Z=_Q(Q);if(Z.error)T(Z.error);else if(Z.content===null)T("No external editor available — set $EDITOR or $VISUAL.");else{let z=Z.content.trim();if(z!==X.instructions)P((G)=>({...G,instructions:z}))}}catch(Z){x(Z),T("Failed to open editor.")}finally{try{nQ(Q)}catch{}}},[X,P]),SQ=E.useCallback(()=>{if(!X)return;let Q=YJ[D];if($(),C===0){if(Q==="description")O({kind:"input",target:"description",value:X.description,cursor:X.description.length});else{let Z=["(default)",...[...h??[]].sort()];O({kind:"picker",target:"main",options:Z,checked:new Set([X.main??"(default)"]),cursor:Math.max(0,Z.indexOf(X.main??"(default)")),multi:!1})}return}if(!u)return;if(Q==="name")O({kind:"input",target:"name",value:u.name,cursor:u.name.length});else if(Q==="agents"){let Z=[...new Set([...[...h??[]].sort(),...u.agents])];O({kind:"picker",target:"agents",options:Z,checked:new Set(u.agents),cursor:0,multi:!0})}else{let Z=X.steps.slice(0,B).map((z)=>z.name);if(Z.length===0){T("No earlier phases to hand back to.");return}O({kind:"picker",target:"handbackTo",options:Z,checked:new Set(u.handbackTo??[]),cursor:0,multi:!0})}},[X,YJ,D,C,u,B,h,$]),RQ=E.useCallback((Q,Z)=>{let z=Z.trim();if($(),O(null),!z)return;if(Q==="description")P((G)=>({...G,description:z}));else if(Q==="name"&&B>=0)P((G)=>({...G,steps:qQ(G.steps,B,z)}));else if(Q==="addStep"){let G=C===0?0:C;P((b)=>({...b,steps:[...b.steps.slice(0,G),{name:z,agents:[]},...b.steps.slice(G)]})),j(G+1),k("phases")}},[$,C,B,P]),TQ=E.useCallback((Q)=>{if($(),O(null),Q.target==="main"){let z=Q.options[Q.cursor];P((G)=>({...G,main:z==="(default)"?void 0:z}));return}let Z=Q.options.filter((z)=>Q.checked.has(z));if(Q.target==="agents"&&B>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===B?{...G,agents:Z}:G)}));else if(Q.target==="handbackTo"&&B>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===B?{...G,handbackTo:Z.length?Z:void 0}:G)}))},[$,B,P]),jQ=E.useCallback(()=>{if(B<0)return;P((Q)=>({...Q,steps:Q.steps.filter((Z,z)=>z!==B)})),j((Q)=>Math.max(0,Math.min(Q,(X?.steps.length??1)-1))),k("phases")},[X,B,P]),gJ=E.useCallback((Q)=>{if(!X||B<0)return;let Z=B+Q;if(Z<0||Z>=X.steps.length)return;P((z)=>{let G=[...z.steps],[b]=G.splice(B,1);return G.splice(Z,0,b),{...z,steps:G}}),j(Z+1)},[X,B,P]);if(e((Q,Z)=>{if(!X){if(Z.escape)U();return}if(V?.kind==="input")return;if(V?.kind==="confirmDelete"){if($(),O(null),Q==="y")jQ();return}if(V?.kind==="confirmDiscard"){if($(),O(null),Q==="y")U();return}if(V?.kind==="picker"){let z=(G)=>{$(),O((b)=>b?.kind==="picker"?G(b):b)};if(Z.upArrow)z((G)=>({...G,cursor:Math.max(0,G.cursor-1)}));else if(Z.downArrow)z((G)=>({...G,cursor:Math.min(G.options.length-1,G.cursor+1)}));else if(Q===" "&&V.multi)z((G)=>{let b=G.options[G.cursor];if(b===void 0)return G;let a=new Set(G.checked);if(a.has(b))a.delete(b);else a.add(b);return{...G,checked:a}});else if(Z.return)TQ(V);else if(Z.escape)$(),O(null);return}if(Q==="s"){bQ();return}if(Q==="p"){EQ();return}if(v==="fields"){if(Z.escape)$(),k("phases");else if(Z.upArrow)$(),L((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),L((z)=>Math.min(YJ.length-1,z+1));else if(Z.return)SQ();return}if(Z.escape)if(R)$(),O({kind:"confirmDiscard"});else U();else if(Z.upArrow)$(),j((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),j((z)=>Math.min(X.steps.length,z+1));else if(Z.return)$(),k("fields"),L(0);else if(Q==="a")$(),O({kind:"input",target:"addStep",value:"",cursor:0});else if(Q==="d"&&C>0)$(),O({kind:"confirmDelete"});else if(Q==="K")gJ(-1);else if(Q==="J")gJ(1)},{isActive:!0}),F)return _(N,{flexDirection:"column",paddingX:2,paddingTop:1,children:[_(M,{color:"error",children:["⚠ ",F]}),_(M,{dimColor:!0,children:["Esc to go back — fix the file by hand at .claudin/workflows/",J,"."]})]});if(!X)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Loading…"})});let $J=Math.max(6,H-6),r=wJ-4,o=Math.max(20,K-4-wJ-1-4-4),IQ=$J-2,GJ=(Q)=>Q?") ":" ",KJ=[];{let Q=n(`${GJ(C===0)}${X.name}`,r);KJ.push(ZJ(C===0?UJ(W.permission,Q):i.bold(Q),f(Q),r));let Z=` ${"─".repeat(Math.max(1,r-2))}`;KJ.push(ZJ(i.dim(Z),f(Z),r)),X.steps.forEach((z,G)=>{let b=C===G+1,a=n(`${GJ(b)}${z.name} ${z.agents.length}`,r);KJ.push(ZJ(b?UJ(W.permission,a):a,f(a),r))})}let fJ=V?.kind==="picker",VJ,NJ,vQ=" Prompt (p to edit) ",_J=[],mQ=kJ-2,hJ=Math.max(3,$J-kJ),cJ=hJ-2;if(fJ){let Q=V;VJ=Q.target==="main"?" main orchestrator ":` ${Q.target==="agents"?"agents":"hand back to"} · ${u?.name??X.name} `;let Z=$J-2,z=Math.max(0,Math.min(Q.cursor-Math.floor(Z/2),Q.options.length-Z));NJ=Q.options.slice(z,z+Z).map((G,b)=>{let XJ=z+b===Q.cursor,RJ=Q.multi?Q.checked.has(G)?"[x] ":"[ ] ":"",xJ=Q.target==="agents"&&h&&!h.has(G),MJ=n(`${GJ(XJ)}${RJ}${G}${xJ?" (unknown)":""}`,o),wQ=XJ?UJ(W.permission,MJ):xJ?UJ(W.error,MJ):MJ;return ZJ(wQ,f(MJ),o)})}else{VJ=C===0?` ${X.name} `:` phase: ${u?.name??""} `;let Q=(z)=>{if(z==="description")return X.description||"(empty)";if(z==="main")return X.main??"(default)";if(z==="name")return u?.name??"";if(z==="agents")return u?.agents.join(", ")||"(none)";return u?.handbackTo?.join(", ")??"—"};if(NJ=YJ.map((z,G)=>{let b=v==="fields"&&G===D,a=z==="handbackTo"?"handback":z,XJ=n(`${GJ(b)}${a}: ${Q(z)}`,o),RJ=b?UJ(W.permission,XJ):i.dim(XJ.slice(0,2+a.length+1))+XJ.slice(2+a.length+1);return ZJ(RJ,f(XJ),o)}),_J=(X.instructions?X.instructions.split(`
7
+ `):[]).slice(0,cJ).map((z)=>{let G=n(z,o);return ZJ(i.dim(G),f(G),o)}),_J.length===0)_J=[ZJ(i.dim("(empty — press p to write the prompt)"),f("(empty — press p to write the prompt)"),o)]}let QJ=V?.kind==="input"?V:null,yQ=QJ?.target==="addStep"?"New phase name:":QJ?.target==="name"?"Rename phase:":"Description:";return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:X.name}),q(M,{color:R?"warning":"success",wrap:"truncate",children:R?"● unsaved":"saved"})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:wJ,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:EJ(KJ,IQ,r),width:r})}),fJ?q(N,{flexDirection:"column",flexGrow:1,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,$J-2,o),width:o})}):_(N,{flexDirection:"column",flexGrow:1,children:[q(N,{flexDirection:"column",height:kJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,mQ,o),width:o})}),q(N,{flexDirection:"column",height:hJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:vQ,position:"top",align:"start"},children:q(t,{lines:EJ(_J,cJ,o),width:o})})]})]}),QJ&&_(N,{flexDirection:"column",children:[q(M,{children:yQ}),q(N,{borderStyle:"round",borderDimColor:!0,paddingLeft:1,children:q(SJ,{value:QJ.value,onChange:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,value:Q}:Z),onSubmit:()=>RQ(QJ.target,QJ.value),columns:80,cursorOffset:QJ.cursor,onChangeCursorOffset:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,cursor:Q}:Z),showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]}),V?.kind==="confirmDelete"&&u&&_(M,{color:"warning",children:['Delete phase "',u.name,'"? (y/n)']}),V?.kind==="confirmDiscard"&&q(M,{color:"warning",children:"Discard unsaved changes? (y/n)"}),Y.length>0&&_(M,{color:"error",wrap:"truncate",children:["⚠ ",Y.join(" · ")]}),m&&q(M,{dimColor:!0,wrap:"truncate",children:m})]})}var E,wJ=26,kJ=7;var PQ=qJ(()=>{dJ();WJ();lJ();pJ();YQ();aJ();aQ();DJ();iQ();oJ();uJ();NQ();mJ();zQ();s();E=OJ(AJ(),1)});import{unlink as JX,writeFile as QX}from"fs/promises";import{join as HQ}from"path";function DQ({onRun:J,onInputActiveChange:U,onViewChange:K}){let[H,A]=p.useState([]),[W,X]=p.useState({}),[I,w]=p.useState(0),[S,F]=p.useState("list"),[g,R]=p.useState(""),[l,v]=p.useState(0),[k,C]=p.useState(null),[j,D]=p.useState(null),L=p.useCallback(()=>{OQ().then(({defs:Y,errorsByFile:P})=>{A(Y),X(P)}).catch((Y)=>x(Y))},[]);p.useEffect(L,[L]),p.useEffect(()=>{U(S!=="list")},[S,U]),p.useEffect(()=>{K?.(j!==null)},[j,K]);let V=H[Math.min(I,Math.max(0,H.length-1))],O=(Y)=>Y.sourceFile??`${Y.name}.md`,m=V?W[O(V)]:void 0,T=(Y)=>{R(""),v(0),C(null),F(Y)},h=()=>{if(V&&g.trim())J(V,g.trim());F("list")},c=async()=>{let Y=g.trim();if(!Y){F("list");return}try{let P=HQ(JJ(),`${Y}.md`);await QX(P,XX(Y)),L(),D(`${Y}.md`)}catch(P){x(P),C("Failed to create workflow.")}F("list")},$=async()=>{if(V)try{await JX(HQ(JJ(),O(V))),C(`Deleted ${V.name}.`),L()}catch(Y){x(Y),C("Failed to delete workflow.")}F("list")};if(e((Y,P)=>{if(j!==null)return;if(S==="confirmDelete"){if(Y==="y")$();else F("list");return}if(S!=="list")return;if(P.upArrow)w((B)=>Math.max(0,B-1));else if(P.downArrow)w((B)=>Math.min(H.length-1,B+1));else if(P.return&&V)T("task");else if(Y==="n")T("new");else if(Y==="d"&&V)F("confirmDelete");else if(Y==="e"&&V)C(null),D(O(V));else if(Y==="r")L()},{isActive:!0}),j!==null)return q(N,{paddingX:2,children:q(MQ,{sourceFile:j,onClose:()=>{D(null),L()}})});if(S==="task"||S==="new"){let Y=S==="task"?`Task for "${V?.name}":`:"New workflow name:";return _(N,{flexDirection:"column",paddingTop:1,paddingX:2,children:[q(zJ,{color:"permission"}),q(N,{marginTop:1,children:q(M,{children:Y})}),q(N,{borderStyle:"round",borderDimColor:!0,marginY:1,paddingLeft:1,children:q(SJ,{value:g,onChange:R,onSubmit:S==="task"?h:()=>void c(),columns:80,cursorOffset:l,onChangeCursorOffset:v,showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission"}),_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[H.length===0?q(M,{dimColor:!0,children:'No workflows. Press "n" to create one at .claudin/workflows/.'}):H.map((Y,P)=>{let B=Boolean(W[O(Y)]?.length);return _(M,{inverse:P===I,children:[P===I?"▸ ":" ",Y.name,B?" ⚠":""," ",_(M,{dimColor:!0,children:["· ",Y.steps.length," phases"]})]},Y.name)}),V&&_(N,{flexDirection:"column",marginTop:1,children:[q(M,{dimColor:!0,children:V.description}),V.steps.map((Y)=>_(M,{dimColor:!0,children:[" ",Y.name,": ",Y.agents.join(", ")||"(terminal)",Y.handbackTo?.length?` ↩ ${Y.handbackTo.join(",")}`:""]},Y.name)),m?.length?_(M,{color:"error",children:["⚠ ",m.join("; ")]}):null]}),S==="confirmDelete"&&V&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete "',V.name,'"? (y/n)']})}),k&&q(N,{marginTop:1,children:q(M,{dimColor:!0,children:k})})]})]})}var p,XX=(J)=>`---
8
+ name: ${J}
9
+ description: What this workflow does
10
+ steps:
11
+ - name: explore
12
+ agents: [explorer]
13
+ - name: synthesize
14
+ agents: [synthesizer]
15
+ handbackTo: [explore]
16
+ - name: done
17
+ ---
18
+ Describe the goal and any house rules for this workflow.
19
+ `;var LQ=qJ(()=>{WJ();YQ();DJ();iJ();NQ();mJ();PQ();s();p=OJ(AJ(),1)});function AQ({hint:J,onExit:U,escActive:K=!0}){let H=FQ();return BQ("confirm:no",U,{context:"Settings",isActive:K}),q(N,{marginLeft:2,marginTop:1,children:q(M,{dimColor:!0,children:H.pending?`Press ${H.keyName} again to exit`:J})})}function NZ({context:J,onExit:U,initialTab:K,initialRunId:H}){let[A,W]=d.useState(K??"library"),[X,I]=d.useState(null),[w,S]=d.useState(!1),[F,g]=d.useState(!1),[R,l]=d.useState(!1),v=d.useRef(null),k=d.useRef(!0);d.useEffect(()=>{return k.current=!0,()=>{k.current=!1}},[]);let C=J.canUseTool??UX,j=d.useCallback((O,m)=>{v.current?.abort();let T=new AbortController;v.current=T,W("running");let h={...J,setAppState:()=>{},setAppStateForTasks:J.setAppStateForTasks??J.setAppState};WQ({def:O,task:m,toolUseContext:h,canUseTool:C,signal:T.signal,onProgress:(c)=>{if(k.current)I({...c})}}).then((c)=>{if(k.current)I({...c});let $=(c.artifact||"").slice(0,2000);CQ({value:`<task-notification>
20
+ <status>${c.status}</status>
21
+ <summary>Workflow "${O.name}" ${c.status} (run ${c.runId})</summary>
22
+ <result>${$}</result>
23
+ </task-notification>`,mode:"task-notification"})}).catch((c)=>x(c))},[J,C]),D=d.useCallback(()=>{v.current?.abort()},[]);e((O,m)=>{if(m.tab||m.leftArrow)W((T)=>T==="running"?"library":"running");else if(m.rightArrow)W("running")},{isActive:!w&&!F&&!R});let L=_(N,{flexDirection:"row",gap:1,children:[q(M,{bold:!0,color:"permission",children:"Workflows"}),_(M,{bold:A==="running",inverse:A==="running",children:[" ","Running"," "]}),_(M,{bold:A==="library",inverse:A==="library",children:[" ","Library"," "]})]}),V=()=>U("Workflows dialog dismissed",{display:"system"});if(A==="running")return _(N,{flexDirection:"column",children:[!F&&L,q(QQ,{liveRun:X,onStop:D,initialRunId:H,onViewChange:g}),q(AQ,{hint:F?"↑↓ select · esc back · s save":"Tab tabs · ↑↓ select · Enter view · s save · x stop · d delete · Esc close",escActive:!F,onExit:V})]});return _(N,{flexDirection:"column",children:[!R&&L,q(DQ,{onRun:j,onInputActiveChange:S,onViewChange:l}),q(AQ,{hint:R?"↑↓ nav · Enter edit · a add · d del · K/J move · p prompt · s save · Esc back":"Tab tabs · ↑↓ select · Enter run · n new · e edit · d delete · Esc close",escActive:!R,onExit:V})]})}var d,UX=async(J,U)=>({behavior:"allow",updatedInput:U});var YX=qJ(()=>{WJ();$X();ZX();DJ();qX();zX();XQ();LQ();s();d=OJ(AJ(),1)});
24
+ export{NZ as dc,YX as ec};
@@ -0,0 +1,2 @@
1
+ import{d6 as H,e6 as _,f6 as Y,g6 as y}from"./cli-1.1.24-dw6eynz7.mjs";import{m$ as M,o$ as f}from"./cli-1.1.24-pe23qamd.mjs";import{Hla as x,Kka as F,Kla as S,Mka as b,tla as P,xla as p}from"./cli-1.1.24-zey4mks2.mjs";import{fma as V,mma as R}from"./cli-1.1.24-eh4c00hd.mjs";import{Ama as g,sma as U}from"./cli-1.1.24-8s7nf1y6.mjs";import{dsa as A,pqa as D,qqa as W}from"./cli-1.1.24-bnm1yphs.mjs";import{_ta as L}from"./cli-1.1.24-hty94kzp.mjs";function I(){let q=D();if(q!==void 0)return q;let G=process.env.CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR;if(!G){let w=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,z=Y(w,"session ingress token");return W(z),z}let Q=parseInt(G,10);if(Number.isNaN(Q))return x(`CLAUDE_CODE_WEBSOCKET_AUTH_FILE_DESCRIPTOR must be a valid file descriptor number, got: ${G}`,{level:"error"}),W(null),null;try{let w=P(),z=process.platform==="darwin"||process.platform==="freebsd"?`/dev/fd/${Q}`:`/proc/self/fd/${Q}`,X=w.readFileSync(z,{encoding:"utf8"}).trim();if(!X)return x("File descriptor contained empty token",{level:"error"}),W(null),null;return x(`Successfully read token from file descriptor ${Q}`),W(X),_(H,X,"session ingress token"),X}catch(w){x(`Failed to read token from file descriptor ${Q}: ${V(w)}`,{level:"error"});let z=process.env.CLAUDE_SESSION_INGRESS_TOKEN_FILE??H,X=Y(z,"session ingress token");return W(X),X}}function k(){let q=process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN;if(q)return q;return I()}function o(){let q=k();if(!q)return{};if(q.startsWith("sk-ant-sid")){let G={Cookie:`sessionKey=${q}`},Q=process.env.CLAUDE_CODE_ORGANIZATION_UUID;if(Q)G["X-Organization-Uuid"]=Q;return G}return{Authorization:`Bearer ${q}`}}function s(q){process.env.CLAUDE_CODE_SESSION_ACCESS_TOKEN=q}var u=L(()=>{A();y();S();R();p()});function E(){j(),K=setInterval(()=>{if(M("debug","session_keepalive_heartbeat",{refcount:J}),U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()},C)}function v(){if(j(),$===null)return;B=setTimeout(()=>{M("info","session_idle_30s"),B=null},C)}function j(){if(B!==null)clearTimeout(B),B=null}function e(q){if($=q,J>0&&K===null)E()}function qq(){if($=null,K!==null)clearInterval(K),K=null;j()}function Gq(){if(U(process.env.CLAUDE_CODE_REMOTE_SEND_KEEPALIVES))$?.()}function Jq(){return $!==null}function Kq(q){if(J++,Z.set(q,(Z.get(q)??0)+1),J===1){if(O=Date.now(),$!==null&&K===null)E()}if(!N)N=!0,F(async()=>{M("info","session_activity_at_shutdown",{refcount:J,active:Object.fromEntries(Z),oldest_activity_ms:J>0&&O!==null?Date.now()-O:null})})}function Qq(q){if(J>0)J--;let G=(Z.get(q)??0)-1;if(G>0)Z.set(q,G);else Z.delete(q);if(J===0&&K!==null)clearInterval(K),K=null,v()}var C=30000,$=null,J=0,Z,O=null,K=null,B=null,N=!1;var m=L(()=>{b();f();g();Z=new Map});var $q;var h=L(()=>{$q={input_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0,output_tokens:0,output_tokens_details:{thinking_tokens:0},server_tool_use:{web_search_requests:0,web_fetch_requests:0},service_tier:"standard",cache_creation:{ephemeral_1h_input_tokens:0,ephemeral_5m_input_tokens:0},inference_geo:"",iterations:[],speed:"standard"}});
2
+ export{k as YW,o as ZW,s as _W,u as $W,e as aX,qq as bX,Gq as cX,Jq as dX,Kq as eX,Qq as fX,m as gX,$q as hX,h as iX};
@@ -0,0 +1,2 @@
1
+ import{_ta as J}from"./cli-1.1.24-hty94kzp.mjs";import v from"node:path";function Z(q){if(q.endsWith(v.sep)||q.endsWith("/"))return K;let j=v.basename(q).toLowerCase();if(j.startsWith("readme"))return B[".md"];if(j.startsWith(".env"))return Q;let z=U[j];if(z)return z;let H=v.extname(j);return B[H]??P}var K="",Y="",P="",Q="",U,B;var V=J(()=>{U={"package.json":"",dockerfile:"",".dockerignore":"",".gitignore":"",".gitattributes":"",license:"","bun.lock":""},B={".ts":"",".tsx":"",".js":"",".jsx":"",".mjs":"",".cjs":"",".json":"",".md":"",".markdown":"",".toml":"",".yaml":"",".yml":"",".py":"",".rs":"",".go":"",".sh":"",".bash":"",".zsh":"",".css":"",".scss":"",".html":"",".htm":"",".png":"",".jpg":"",".jpeg":"",".gif":"",".svg":"",".webp":"",".lock":""}});
2
+ export{K as $h,Y as ai,Z as bi,V as ci};
@@ -0,0 +1,8 @@
1
+ import{Ab as S}from"./cli-1.1.24-1mx8wjec.mjs";import{Lf as YK,Qf as iK}from"./cli-1.1.24-98nyrm5c.mjs";import{$M as aK,HL as bz,Mv as vz,NU as m,PL as kK,PU as rK,QJ as lK,RJ as gK,Tv as jK,ZQ as fz,_M as QK,cC as zK,eC as KK,fC as cK,gR as CK,mn as tz,oN as XK,on as uK,pp as F,qN as nK,qp as pK,sp as ez,wp as dK}from"./cli-1.1.24-2qkkzsk3.mjs";import{QZ as Zz,VZ as xK,WZ as $z,XZ as TK}from"./cli-1.1.24-vf59rwy3.mjs";import{$7 as SK,C5 as A,D7 as D,F7 as Gz,I5 as I,K7 as E,X7 as sz,f9 as Fz,h9 as kz,i7 as xz,j9 as M,m7 as Tz,q7 as Rz,r7 as oz,t9 as jz,y7 as wz}from"./cli-1.1.24-dw6eynz7.mjs";import{P9 as G,Q9 as OK}from"./cli-1.1.24-6ptbgma9.mjs";import{Bea as $,Bha as W,Cba as Qz,Dea as nz,Eea as x,Ffa as q,Hba as yK,Hea as Uz,Ifa as V,Jha as O,L$ as Vz,N$ as MK,Nba as Xz,Ofa as Lz,Pfa as Az,Qfa as rz,Rba as GK,Rea as B,U$ as gz,bga as U,e$ as Jz,f$ as IK,fca as Yz,iaa as az,ica as DK,m$ as P,o$ as fK,paa as mK,zea as J,zfa as iz}from"./cli-1.1.24-pe23qamd.mjs";import{jia as f,nia as hK}from"./cli-1.1.24-bph6jjd7.mjs";import{Qja as lz,Sja as vK}from"./cli-1.1.24-n7r6kv9g.mjs";import{Eka as Z,Hka as L}from"./cli-1.1.24-prprq6xe.mjs";import{nla as t,pla as LK,qla as e,tla as zz,xla as AK}from"./cli-1.1.24-zey4mks2.mjs";import{Pla as Kz,Qla as _K}from"./cli-1.1.24-ctw3hzrp.mjs";import{fma as C,hma as s,mma as NK}from"./cli-1.1.24-eh4c00hd.mjs";import{Ama as EK,rma as v,sma as u,uma as cz}from"./cli-1.1.24-8s7nf1y6.mjs";import{$na as UK,Fqa as o,Vpa as pz,Xna as j,dsa as T,fqa as dz,mqa as r,rpa as R,spa as Sz,tpa as w,vpa as uz}from"./cli-1.1.24-bnm1yphs.mjs";import{Xta as bK}from"./cli-1.1.24-hty94kzp.mjs";OK();xK();T();DK();NK();AK();yK();O();_K();GK();UK();LK();TK();import{readFileSync as RK}from"node:fs";var wK=/--inspect(-brk)?/,i=/--inspect(-brk)?|--debug(-brk)?/;function WQ(){let z=Yz()?wK:i,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&i.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function BQ(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Zz)}function UQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function qz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!Qz(z))process.stderr.write(G.red(`Error: Invalid JSON provided to --settings
2
+ `)),process.exit(1);X=$z("claude-settings",".json",{contentHash:z}),t(X,z,"utf8")}else{let{resolvedPath:Y}=e(zz(),K);try{RK(Y,"utf8")}catch(H){if(s(H))process.stderr.write(G.red(`Error: Settings file not found: ${Y}
3
+ `)),process.exit(1);throw H}X=Y}r(X),j()}catch(z){if(z instanceof Error)W(z);process.stderr.write(G.red(`Error processing settings: ${C(z)}
4
+ `)),process.exit(1)}}function Hz(K){try{let z=Xz(K);o(z),j()}catch(z){if(z instanceof Error)W(z);process.stderr.write(G.red(`Error processing --setting-sources: ${C(z)}
5
+ `)),process.exit(1)}}async function NQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(H)=>{Q+=H};process.stdin.on("data",X);let Y=await Kz(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
6
+ `);return[K,Q].filter(Boolean).join(`
7
+ `)}return K}hK();rK();L();uK();U();SK();fK();EK();mK();IK();MK();async function Wz(){if(!await Vz("gh"))return"not_installed";let{exitCode:z}=await Jz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}O();E();aK();dK();nK();L();U();O();B();function Bz(){let K=V();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=J("userSettings")||{};$("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",q((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...H}=Q;return H})}catch(z){W(Error(`Failed to migrate auto-updates: ${z}`)),Z("",{has_error:!0})}}L();U();O();B();function Nz(){if(!V().bypassPermissionsModeAccepted)return;try{if(!Uz())$("userSettings",{skipDangerousModePermissionPrompt:!0});Z("",{}),q((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){W(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}L();U();O();B();function _z(){let K=Lz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=J("localSettings")||{},H={},N=[];if(z&&Y.enableAllProjectMcpServers===void 0)H.enableAllProjectMcpServers=K.enableAllProjectMcpServers,N.push("enableAllProjectMcpServers");else if(z)N.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let _=Y.enabledMcpjsonServers||[];H.enabledMcpjsonServers=[...new Set([..._,...K.enabledMcpjsonServers])],N.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let _=Y.disabledMcpjsonServers||[];H.disabledMcpjsonServers=[...new Set([..._,...K.disabledMcpjsonServers])],N.push("disabledMcpjsonServers")}if(Object.keys(H).length>0)$("localSettings",H);if(N.includes("enableAllProjectMcpServers")||N.includes("enabledMcpjsonServers")||N.includes("disabledMcpjsonServers"))Az((_)=>{let{enableAllProjectMcpServers:p,enabledMcpjsonServers:d,disabledMcpjsonServers:c,...k}=_;return k});Z("",{migratedCount:N.length})}catch(Y){W(Y),Z("",{})}}T();U();B();var b=new Map([["claude-fable-5","claude-fable-5-1"],["anthropic.claude-fable-5","anthropic.claude-fable-5-1"]]);function y(K){return b.get(K)??K}function PK(K){if(!K)return null;let z={};if(K.model!==void 0){let Q=y(K.model);if(Q!==K.model)z.model=Q}if(K.advisorModel!==void 0){let Q=y(K.advisorModel);if(Q!==K.advisorModel)z.advisorModel=Q}if(K.availableModels){let Q=K.availableModels.map(y);if(Q.some((X,Y)=>X!==K.availableModels?.[Y]))z.availableModels=Q}if(K.modelOverrides){let Q=Object.entries(K.modelOverrides),X=Q.filter(([Y])=>b.has(Y));if(X.length>0)z.modelOverrides={...Object.fromEntries(X.map(([Y])=>[Y,void 0])),...Object.fromEntries(Q.map(([Y,H])=>[y(Y),H]))}}return Object.keys(z).length>0?z:null}function FK(K){if(!K)return null;let Q=Object.entries(K).filter(([,Y])=>Y.activeModelForProject!==void 0&&b.has(Y.activeModelForProject));if(Q.length===0)return null;let X={...K};for(let[Y,H]of Q)X[Y]={...H,activeModelForProject:y(H.activeModelForProject)};return X}function Oz(){let K=PK(J("userSettings"));if(K)$("userSettings",K);let z=FK(V().projects);if(z)q((X)=>({...X,projects:z}));let Q=R();if(Q){let X=y(Q);if(X!==Q)w(X)}}B();function yz(){let z=J("userSettings")?.model;if(typeof z==="string"){if(z.startsWith("fennec-latest[1m]"))$("userSettings",{model:"opus[1m]"});else if(z.startsWith("fennec-latest"))$("userSettings",{model:"opus"});else if(z.startsWith("fennec-fast-latest")||z.startsWith("opus-4-5-fast"))$("userSettings",{model:"opus[1m]",fastMode:!0})}}L();U();E();I();B();function Dz(){if(A()!=="firstParty")return;if(!Gz())return;let K=J("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;$("userSettings",{model:"opus"}),q((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("",{from_model:K})}L();E();B();function Iz(){if(!wz())return;if(J("userSettings")?.model!=="opus")return;if(xz(Tz()))return;let z="opus[1m]",Q=D(z)===D(Rz())?void 0:z;$("userSettings",{model:Q}),Z("",{})}U();function Mz(){q((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}T();U();I();B();function Pz(){if(A()!=="firstParty")return;if(V().sonnet1m45MigrationComplete)return;if(J("userSettings")?.model==="sonnet[1m]")$("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(R()==="sonnet[1m]")w("sonnet-4-5-20250929[1m]");q((X)=>({...X,sonnet1m45MigrationComplete:!0}))}L();jz();U();I();B();function Cz(){if(A()!=="firstParty")return;if(!M()&&!Fz()&&!kz())return;let K=J("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if($("userSettings",{model:z?"sonnet[1m]":"sonnet"}),V().numStartups>1)q((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("",{from_model:K,has_1m:z})}L();U();O();kK();B();function Ez(){if(V().hasResetAutoModeOptInForDefaultOffer)return;if(bz()!=="enabled")return;try{let z=J("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")$("userSettings",{skipAutoPermissionPrompt:void 0}),Z("",{});q((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){W(Error(`Failed to reset auto mode opt-in: ${z}`))}}L();jz();U();I();B();function hz(){if(V().opusProMigrationComplete)return;if(A()!=="firstParty"||!M()){q((X)=>({...X,opusProMigrationComplete:!0})),Z("",{skipped:!0});return}if(x()?.model===void 0){let X=Date.now();q((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("",{skipped:!1,had_custom_model:!1})}else q((X)=>({...X,opusProMigrationComplete:!0})),Z("",{skipped:!1,had_custom_model:!0})}iK();pK();T();vK();B();CK();L();jK();async function mz(K,z){let Q=await fz(K),X=vz(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}cK();function qY(){try{let K=J("policySettings");if(K){let z=nz(K);Z("",{keyCount:z.length,keys:z.join(",")})}}catch{}}function HY(){let K=D(Sz()??oz());mz(lz(),sz(K,uz())),XK().then(({enabled:z,errors:Q})=>{let X=QK();zK(z,X,ez()),KK(Q,X)}).catch((z)=>W(z))}function oK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDIN_CLIENT_CERT)K.has_client_cert=!0;if(v("--use-system-ca"))K.has_use_system_ca=!0;if(v("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function JY(){if(tz())return;let[K,z,Q]=await Promise.all([gz(),az(),Wz()]);Z("",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:F.isSandboxingEnabled(),are_unsandboxed_commands_allowed:F.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:F.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:rz(),prefers_reduced_motion:x().prefersReducedMotion??!1,...oK()})}var h=13;function VY(){if(V().migrationVersion!==h)Bz(),Nz(),_z(),hz(),Pz(),Dz(),Cz(),yz(),Iz(),Mz(),Oz(),Ez(),q((K)=>K.migrationVersion===h?K:{...K,migrationVersion:h});YK().catch(()=>{})}function WY(){if(pz()){P("info","prefetch_system_context_non_interactive"),m();return}if(iz())P("info","prefetch_system_context_has_trust"),m();else P("info","prefetch_system_context_skipped_no_trust")}function BY(){f("eagerLoadSettings_start");let K=S("--settings");if(K)qz(K);let z=S("--setting-sources");if(z!==void 0)Hz(z);f("eagerLoadSettings_end")}function UY(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(u(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function NY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:H,outputFormat:N,inputFormat:_,numAllowedTools:p,numDisallowedTools:d,mcpClientCount:c,worktreeEnabled:k,skipWebFetchPreflight:ZK,githubActionInputs:l,dangerouslySkipPermissionsPassed:$K,permissionMode:qK,modeIsBypass:HK,allowDangerouslySkipPermissionsPassed:JK,systemPromptFlag:g,appendSystemPromptFlag:a,thinkingConfig:VK,assistantActivationPath:n,isCoordinator:WK}){try{Z("",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:H,outputFormat:N,inputFormat:_,numAllowedTools:p,numDisallowedTools:d,mcpClientCount:c,worktree:k,skipWebFetchPreflight:ZK,...l&&{githubActionInputs:l},dangerouslySkipPermissionsPassed:$K,permissionMode:qK,modeIsBypass:HK,allowDangerouslySkipPermissionsPassed:JK,thinkingType:VK.type,...g&&{systemPromptFlag:g},...a&&{appendSystemPromptFlag:a},is_simple:cz()||void 0,is_coordinator:WK||void 0,...n&&{assistantActivationPath:n},autoUpdatesChannel:x().autoUpdatesChannel??"latest"})}catch(BK){W(BK)}}function LY(K){}function AY(K){return}
8
+ export{WQ as O,BQ as P,UQ as Q,NQ as R,qY as S,HY as T,JY as U,VY as V,WY as W,BY as X,UY as Y,NY as Z,LY as _,AY as $};
@@ -0,0 +1,3 @@
1
+ import{DV as O,EV as S}from"./cli-1.1.24-5vw5z579.mjs";import{Bha as G,Jha as y,Ofa as z,Pfa as A,T$ as B,U$ as M,bga as k,nca as R,paa as I,pca as _,s$ as D,t$ as x}from"./cli-1.1.24-pe23qamd.mjs";import{Qja as q,Sja as v}from"./cli-1.1.24-n7r6kv9g.mjs";import{Csa as K,Dsa as W}from"./cli-1.1.24-yz5bzn1k.mjs";W();v();k();_();x();I();y();S();var b=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function F(L){return!b.some((Q)=>Q.test(L))}function P(L,Q){let J=[],X=new Set,U=new Map;for(let H=1;J.length<Q&&H<=Q;H++)for(let V of L){if(J.length>=Q)break;if(!F(V))continue;let Y=Math.max(V.lastIndexOf("/"),V.lastIndexOf("\\")),Z=Y>=0?V.slice(Y+1):V;if(!Z||X.has(Z))continue;let $=Y>=0?V.slice(0,Y):".";if((U.get($)??0)>=H)continue;J.push(Z),X.add(Z),U.set($,(U.get($)??0)+1)}return J.length>=Q?J:[]}async function N(){if(R.platform==="win32")return[];if(!await M())return[];try{let L=await O(),Q=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],J=new Map,X=(H)=>{for(let V of H.split(`
2
+ `)){let Y=V.trim();if(Y)J.set(Y,(J.get(Y)??0)+1)}};if(L){let{stdout:H}=await D("git",[...Q,`--author=${L}`],{cwd:q()});X(H)}if(J.size<10){let{stdout:H}=await D(B(),Q,{cwd:q()});X(H)}let U=Array.from(J.entries()).sort((H,V)=>V[1]-H[1]).map(([H])=>H);return P(U,5)}catch(L){return G(L),[]}}var T=604800000;function E(L){let Q=z(),J=Q.exampleFiles?.length?Q.exampleFiles:["<filepath>"],U=[...["fix lint errors","fix typecheck errors",`how does ${J[0]} work?`,`refactor ${J[Math.floor(J.length/2)]}`,"how do I log an error?",`edit ${J[J.length-1]} to...`,`write a test for ${J[0]}`,"create a util logging.py that..."]];for(let H=U.length-1;H>0;H--){let V=Math.floor(Math.random()*(H+1));[U[H],U[V]]=[U[V],U[H]]}return U.slice(0,L).map((H)=>`Try "${H}"`)}var d=K((L)=>{return E(L)}),p=K(async()=>{let L=z(),Q=Date.now(),J=L.exampleFilesGeneratedAt??0;if(Q-J>T)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((X)=>{if(X.length)A((U)=>({...U,exampleFiles:X,exampleFilesGeneratedAt:Date.now()}))})});
3
+ export{P as gb,d as hb,p as ib};
@@ -0,0 +1,2 @@
1
+ import{dsa as I,koa as z,ooa as F}from"./cli-1.1.24-bnm1yphs.mjs";import{_ta as E}from"./cli-1.1.24-hty94kzp.mjs";import{AsyncLocalStorage as J}from"async_hooks";function U(G,H){return D.run(G,H)}function K(){return D.getStore()??F()}function V(){try{return K()}catch{return z()}}function W(){return D.getStore()??z()}var D;var M=E(()=>{I();D=new J});var Y="command-name",Z="command-message",$="command-args",j="bash-input",q="bash-stdout",B="bash-stderr",L="local-command-stdout",R="local-command-stderr",_="local-command-caveat",b="tick",x="task-notification",A="task-id",T="tool-use-id",k="task-type",p="output-file",u="status",v="summary",y="worktree",f="worktreePath",C="worktreeBranch",S="remote-review",O="remote-review-progress",m="teammate-message",g="channel",h="fork-boilerplate",l="Your directive: ",w,c;var N=E(()=>{w=["help","-h","--help"],c=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
2
+ export{U as Oja,K as Pja,V as Qja,W as Rja,M as Sja,Y as Tja,Z as Uja,$ as Vja,j as Wja,q as Xja,B as Yja,L as Zja,R as _ja,_ as $ja,b as aka,x as bka,A as cka,T as dka,k as eka,p as fka,u as gka,v as hka,y as ika,f as jka,C as kka,S as lka,O as mka,m as nka,g as oka,h as pka,l as qka,w as rka,c as ska,N as tka};
@@ -0,0 +1,2 @@
1
+ import{m$ as B,o$ as E}from"./cli-1.1.24-pe23qamd.mjs";import{Eka as C,Hka as y}from"./cli-1.1.24-prprq6xe.mjs";import{Hla as O,Kla as p,lla as T,pla as M}from"./cli-1.1.24-zey4mks2.mjs";import{fma as L,mma as x}from"./cli-1.1.24-eh4c00hd.mjs";y();p();E();x();M();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 F(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return T(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function c(W){let Z=F(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var h=300000,j=1800000,H=3,R=60000;function t({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=h}){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 A(q,Q){let $=c(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 k=setTimeout(K,G,q,v);J.set(q,k)}function D(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}: ${L(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"}),B("error","bridge_token_refresh_no_oauth"),v<H){let X=setTimeout(K,R,q,Q);J.set(q,X)}return}Y.delete(q),O(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),C("",{}),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 S(q){U(q);let Q=J.get(q);if(Q)clearTimeout(Q),J.delete(q);Y.delete(q)}function _(){for(let q of w.keys())U(q);for(let q of J.values())clearTimeout(q);J.clear(),Y.clear()}return{schedule:A,scheduleFromExpiresIn:D,cancel:S,cancelAll:_}}
2
+ export{c as Aa,t as Ba};
@@ -0,0 +1,2 @@
1
+ import{Hm as W,JS as R,Km as P,Ok as Q,Pk as I,WK as Y}from"./cli-1.1.24-2qkkzsk3.mjs";import{Mha as B,Nha as f}from"./cli-1.1.24-bph6jjd7.mjs";import{Zja as H,_ja as J,tka as F}from"./cli-1.1.24-n7r6kv9g.mjs";import{dsa as $,eoa as x}from"./cli-1.1.24-bnm1yphs.mjs";import{_ta as Z}from"./cli-1.1.24-hty94kzp.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 Xd,V as Yd,X as Zd,r as _d,w as $d,T as ae,G as be};
@@ -0,0 +1,3 @@
1
+ import{L as x0}from"./cli-1.1.24-92s2r0nt.mjs";import{ba as d0}from"./cli-1.1.24-s241cgaj.mjs";import{Mb as u0}from"./cli-1.1.24-abyr5pge.mjs";import{Rb as c0}from"./cli-1.1.24-k1dhj122.mjs";import{dd as y0,fd as Vf}from"./cli-1.1.24-228jgyfg.mjs";import{id as $,jd as Uf}from"./cli-1.1.24-w4yh1rwm.mjs";import{ld as O0,md as Lf}from"./cli-1.1.24-p71y388t.mjs";import{Hd as q0,Id as o0}from"./cli-1.1.24-2md121ma.mjs";import{jh as m0,kh as Rf}from"./cli-1.1.24-y4pvshdf.mjs";import{$G as i0,AN as R0,GU as C0,IU as b0,KN as a0,KU as Yf,NU as N0,PH as E0,PU as Zf,QH as Qf,SG as T0,TG as l0,UG as n,YN as U0,_N as n0,eH as m,fH as Q0,gH as P0,hH as Jf,mT as A0,no as p,oT as D0,oo as g0,oy as E,po as f0,qT as Xf,qo as S0,ro as F0,so as $0,sy as J0,vo as _,wU as _0,wo as a}from"./cli-1.1.24-2qkkzsk3.mjs";import{D0 as zf,F1 as e,H1 as A,L1 as l,g0 as u,k2 as o,y0 as K0}from"./cli-1.1.24-vf59rwy3.mjs";import{H4 as t,I4 as q,J4 as G,K4 as w}from"./cli-1.1.24-9dnr05fm.mjs";import{D5 as I0,I5 as Tf,h6 as k0,i6 as qf}from"./cli-1.1.24-dw6eynz7.mjs";import{Bea as H,Eea as K,Ffa as j,Hea as w0,Ifa as i,Jea as G0,Kfa as B0,Rea as d,bga as X0,mha as M0,pha as Ff,zfa as H0}from"./cli-1.1.24-pe23qamd.mjs";import{jia as W,nia as e0}from"./cli-1.1.24-bph6jjd7.mjs";import{Fia as W0,Nia as h0,Tia as ff}from"./cli-1.1.24-gb39akdj.mjs";import{Eka as I,Hka as c}from"./cli-1.1.24-prprq6xe.mjs";import{Kla as s0}from"./cli-1.1.24-zey4mks2.mjs";import{Ama as t0,sma as S}from"./cli-1.1.24-8s7nf1y6.mjs";import{Poa as Y0,Vqa as Z0,dsa as r0}from"./cli-1.1.24-bnm1yphs.mjs";import{$ta as B,Wta as x}from"./cli-1.1.24-hty94kzp.mjs";c();Xf();r0();import{appendFileSync as Wf}from"fs";Zf();zf();Q0();ff();Ff();c();d();i0();a();var s=x(u(),1);o();w();var v=x(u(),1);function D(){let T=v.c(1),f;if(T[0]===Symbol.for("react.memo_cache_sentinel"))f=G(A,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",q(l,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),T[0]=f;else f=T[0];return f}w();function r(T){let f=s.c(13),{serverName:F,onDone:L}=T,U;if(f[0]!==L||f[1]!==F)U=function(h){I("",{choice:h});f:switch(h){case"yes":case"yes_all":{let M=(K()||{}).enabledMcpjsonServers||[];if(!M.includes(F))H("localSettings",{enabledMcpjsonServers:[...M,F]});if(h==="yes_all")H("localSettings",{enableAllProjectMcpServers:!0});L();break f}case"no":{let M=(K()||{}).disabledMcpjsonServers||[];if(!M.includes(F))H("localSettings",{disabledMcpjsonServers:[...M,F]});L()}}},f[0]=L,f[1]=F,f[2]=U;else U=f[2];let J=U,V=`New MCP server found in .mcp.json: ${F}`,Q;if(f[3]!==J)Q=()=>J("no"),f[3]=J,f[4]=Q;else Q=f[4];let z;if(f[5]===Symbol.for("react.memo_cache_sentinel"))z=q(D,{}),f[5]=z;else z=f[5];let R;if(f[6]===Symbol.for("react.memo_cache_sentinel"))R=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],f[6]=R;else R=f[6];let X;if(f[7]!==J)X=q(n,{options:R,onChange:(Z)=>J(Z),onCancel:()=>J("no")}),f[7]=J,f[8]=X;else X=f[8];let Y;if(f[9]!==V||f[10]!==Q||f[11]!==X)Y=G(_,{title:V,color:"warning",onCancel:Q,children:[z,X]}),f[9]=V,f[10]=Q,f[11]=X,f[12]=Y;else Y=f[12];return Y}o0();c();o();d();S0();l0();$0();a();g0();var L0=x(u(),1);w();function z0(T){let f=L0.c(21),{serverNames:F,onDone:L}=T,U;if(f[0]!==L||f[1]!==F)U=function(C){let y=K()||{},p0=y.enabledMcpjsonServers||[],j0=y.disabledMcpjsonServers||[],[b,N]=q0(F,(P)=>C.includes(P));if(I("",{approved:b.length,rejected:N.length}),b.length>0){let P=[...new Set([...p0,...b])];H("localSettings",{enabledMcpjsonServers:P})}if(N.length>0){let P=[...new Set([...j0,...N])];H("localSettings",{disabledMcpjsonServers:P})}L()},f[0]=L,f[1]=F,f[2]=U;else U=f[2];let J=U,V;if(f[3]!==L||f[4]!==F)V=()=>{let C=(K()||{}).disabledMcpjsonServers||[],y=[...new Set([...C,...F])];H("localSettings",{disabledMcpjsonServers:y}),L()},f[3]=L,f[4]=F,f[5]=V;else V=f[5];let Q=V,z=`${F.length} new MCP servers found in .mcp.json`,R;if(f[6]===Symbol.for("react.memo_cache_sentinel"))R=q(D,{}),f[6]=R;else R=f[6];let X;if(f[7]!==F)X=F.map(v0),f[7]=F,f[8]=X;else X=f[8];let Y;if(f[9]!==Q||f[10]!==J||f[11]!==F||f[12]!==X)Y=q(T0,{options:X,defaultValue:F,onSubmit:J,onCancel:Q,hideIndexes:!0}),f[9]=Q,f[10]=J,f[11]=F,f[12]=X,f[13]=Y;else Y=f[13];let Z;if(f[14]!==Q||f[15]!==z||f[16]!==Y)Z=G(_,{title:z,subtitle:"Select any you wish to enable.",color:"warning",onCancel:Q,hideInputGuide:!0,children:[R,Y]}),f[14]=Q,f[15]=z,f[16]=Y,f[17]=Z;else Z=f[17];let h;if(f[18]===Symbol.for("react.memo_cache_sentinel"))h=q(e,{paddingX:1,children:q(A,{dimColor:!0,italic:!0,children:G(F0,{children:[q(p,{shortcut:"Space",action:"select"}),q(p,{shortcut:"Enter",action:"confirm"}),q(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),f[18]=h;else h=f[18];let O;if(f[19]!==Z)O=G(t,{children:[Z,h]}),f[19]=Z,f[20]=O;else O=f[20];return O}function v0(T){return{label:T,value:T}}Q0();J0();a0();n0();w();async function V0(T){let{servers:f}=R0("project"),F=Object.keys(f).filter((L)=>U0(L)==="pending");if(F.length===0)return;await new Promise((L)=>{let U=()=>void L();if(F.length===1&&F[0]!==void 0){let J=F[0];T.render(q(E,{children:q(m,{children:q(r,{serverName:J,onDone:U})})}))}else T.render(q(E,{children:q(m,{children:q(z0,{serverNames:F,onDone:U})})}))})}J0();Uf();qf();Yf();X0();Vf();X0();s0();t0();class g{frameDurations=[];firstRenderTime;lastRenderTime;record(T){let f=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=f;this.lastRenderTime=f,this.frameDurations.push(T)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let T=this.lastRenderTime-this.firstRenderTime;if(T<=0)return;let F=this.frameDurations.length/(T/1000),L=this.frameDurations.slice().sort((Q,z)=>z-Q),U=Math.max(0,Math.ceil(L.length*0.01)-1),J=L[U],V=J>0?1000/J:0;return{averageFps:Math.round(F*100)/100,low1PctFps:Math.round(V*100)/100}}}Lf();Tf();Jf();Rf();Qf();d();e0();w();function hf(){j((T)=>({...T,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function wf(T,f){return new Promise((F)=>{let L=(U)=>void F(U);T.render(f(L))})}async function x9(T,f,F){return Gf(T,f,{color:"error",beforeExit:F})}async function Gf(T,f,F){let{Text:L}=await import("./ink-1.1.24-n7wnynts.mjs"),U=F?.color,J=F?.exitCode??1;T.render(U?q(L,{color:U,children:f}):q(L,{children:f})),T.unmount(),await F?.beforeExit?.(),process.exit(J)}function k(T,f,F){return wf(T,(L)=>q(E,{onChangeAppState:F?.onChangeAppState,children:q(m,{children:f(L)})}))}async function u9(T,f){T.render(f),x0(),await T.waitUntilExit(),await D0(0)}async function c9(T,f,F,L,U){if(S(!1)||process.env.IS_DEMO)return!1;W("setupScreens_start");let J=I0(),V=!1;if(y0()){let{MigrationDialog:z}=await import("./MigrationDialog-1.1.24-bdj4skrs.mjs");await k(T,(R)=>q(z,{onDone:()=>void R()}))}let Q=i();if(J&&(!Q.theme||!Q.hasCompletedOnboarding)){V=!0;let{Onboarding:z}=await import("./Onboarding-1.1.24-2fjwdtrt.mjs");await k(T,(R)=>q(z,{onDone:()=>{hf(),R()}}),{onChangeAppState:$})}if(!S(process.env.CLAUBBIT)){if(J&&!H0()){let{TrustDialog:z}=await import("./TrustDialog-1.1.24-334mbya2.mjs");await k(T,(R)=>q(z,{commands:L,onDone:R}))}if(Z0(!0),W("setupScreens_after_trust_accepted"),h0(),W0(),N0(),W("setupScreens_after_growthbook_kick"),J){let{errors:z}=E0();if(z.length===0)await V0(T);W("setupScreens_after_mcp_approvals");let R=await b0();if(W("setupScreens_after_claudemd_check"),R){let X=C0(await _0(!0)),{ClaudeMdExternalIncludesDialog:Y}=await import("./ClaudeMdExternalIncludesDialog-1.1.24-vqcj9ryy.mjs");await k(T,(Z)=>q(Y,{onDone:Z,isStandaloneDialog:!0,externalIncludes:X}))}}}u0(),O0(),W("setupScreens_after_env_applied"),setImmediate(()=>d0());{let z=M0();W("setupScreens_after_tryGetActiveProvider");let R=z?.transport==="anthropic"?z.apiKey?.trim():void 0;if(R){let X=k0(R),Y=B0(X);if(W("setupScreens_after_keyStatus"),Y==="new"){let{ApproveApiKey:Z}=await import("./ApproveApiKey-1.1.24-gm23618e.mjs");await k(T,(h)=>q(Z,{customApiKeyTruncated:X,onDone:h}),{onChangeAppState:$})}}}if(W("setupScreens_after_custom_api_key"),(f==="bypassPermissions"||F)&&!w0()){let{BypassPermissionsModeDialog:z}=await import("./BypassPermissionsModeDialog-1.1.24-er5kqrm5.mjs");await k(T,(R)=>q(z,{onAccept:R}))}if(f==="auto"&&!G0()){let{AutoModeOptInDialog:z}=await import("./AutoModeOptInDialog-1.1.24-xpvbmbs3.mjs");await k(T,(R)=>q(z,{onAccept:R,onDecline:()=>A0(1),declineExits:!0}))}return W("setupScreens_end"),V}function d9(T){m0();let f=0,F=P0(T);if(F.stdin)I("",{});let L=new g,U=c0();Y0(U);let J=process.env.CLAUDIN_FRAME_TIMING_LOG;return{getFpsMetrics:()=>L.getMetrics(),stats:U,renderOptions:{...F,onFrame:(V)=>{if(L.record(V.durationMs),U.observe("frame_duration_ms",V.durationMs),J&&V.phases){let Q=JSON.stringify({total:V.durationMs,...V.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
2
+ `;Wf(J,Q)}if(K0())return;for(let Q of V.flickers){if(Q.reason==="resize")continue;let z=Date.now();if(z-f<1000)I("",{desiredHeight:Q.desiredHeight,actualHeight:Q.availableHeight,reason:Q.reason});f=z}}}}}
3
+ export{hf as D,wf as E,x9 as F,Gf as G,k as H,u9 as I,c9 as J,d9 as K};
@@ -0,0 +1,2 @@
1
+ import{Hla as Q,Kla as $}from"./cli-1.1.24-zey4mks2.mjs";import{hma as K,mma as Z}from"./cli-1.1.24-eh4c00hd.mjs";import{Ama as Y,pma as J}from"./cli-1.1.24-8s7nf1y6.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 Ha,w as Ia,y as Ja};
@@ -0,0 +1,2 @@
1
+ import{Hka as f}from"./cli-1.1.24-prprq6xe.mjs";import{Kla as h}from"./cli-1.1.24-zey4mks2.mjs";import{_ta as Z}from"./cli-1.1.24-hty94kzp.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var I=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(z){if(!z||z.length>D)return null;return null}async function pz(z){if(!z||z.length>D)return null;return null}function dz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(m(J.text));else if(l.has(J.type))break}return X}function m(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,l,oz;var L=Z(()=>{f();h();I();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),l=new Set(["command_substitution","process_substitution"]);oz=Symbol("parse-aborted")});
2
+ export{K as S9,I as T9,kz as U9,oz as V9,pz as W9,dz as X9,L as Y9};
@@ -0,0 +1,2 @@
1
+ import{$G as v,UG as h,vo as R,wo as r}from"./cli-1.1.24-2qkkzsk3.mjs";import{F1 as U,H1 as F,L1 as I,g0 as p,k2 as E}from"./cli-1.1.24-vf59rwy3.mjs";import{I4 as Z,J4 as L,K4 as N}from"./cli-1.1.24-9dnr05fm.mjs";import{L4 as j}from"./cli-1.1.24-ys3jea4v.mjs";import{Bea as B,Rea as S}from"./cli-1.1.24-pe23qamd.mjs";import{Eka as H,Hka as b}from"./cli-1.1.24-prprq6xe.mjs";import{Wta as P,_ta as A}from"./cli-1.1.24-hty94kzp.mjs";function l(d){let f=O.c(18),{onAccept:J,onDecline:q,declineExits:m}=d,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];T.default.useEffect(x,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(C){f:switch(C){case"accept":{H("",{}),B("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("",{}),B("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let k=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=L(U,{flexDirection:"column",gap:1,children:[Z(F,{children:u}),Z(I,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let y=m?"No, exit":"No, go back",w;if(f[7]!==y)w=[...W,X,{label:y,value:"decline"}],f[7]=y,f[8]=w;else w=f[8];let z;if(f[9]!==k)z=(M)=>k(M),f[9]=k,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(h,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=L(R,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function x(){H("",{})}var O,T,u="Auto mode lets Claudin handle permission prompts automatically — Claudin checks each tool call for risky actions and prompt injection before executing. Actions Claudin identifies as safe are executed, while actions Claudin identifies as risky are blocked and Claudin may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claudin can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";var g=A(()=>{b();E();S();v();r();N();O=P(p(),1),T=P(j(),1)});
2
+ export{u as Ld,l as Md,g as Nd};
@@ -0,0 +1,3 @@
1
+ import{N as k}from"./cli-1.1.24-x19qr19f.mjs";import{Aha as H,Jha as P,sha as $,tha as F,zha as z}from"./cli-1.1.24-pe23qamd.mjs";import{Hla as X,Ika as _,Jka as A,Kka as B,Kla as E,Mka as L,kla as O,pla as N,tla as V,xla as C}from"./cli-1.1.24-zey4mks2.mjs";import{dsa as w,eoa as Z}from"./cli-1.1.24-bnm1yphs.mjs";import{gta as q,yta as y}from"./cli-1.1.24-zc49jxpp.mjs";y();w();A();F();L();E();C();P();N();import{dirname as I,join as x}from"path";var T=z(new Date);function D(){return x($.errors(),T+".jsonl")}function J(G){return x($.mcpLogs(G),T+".jsonl")}function S(G){let K=_(G);return{write(Q){K.write(O(Q)+`
2
+ `)},flush:K.flush,dispose:K.dispose}}var R=new Map;function W(G){let K=R.get(G);if(!K){let Q=I(G);K=S({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),R.set(G,K),B(async()=>K?.dispose())}return K}function v(G,K){}function f(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 j(G){let K=G.stack||G.message,Q="";if(q.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=f(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),v(D(),{error:`${Q}${K}`})}function b(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 u(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 M(){H({logError:j,logMCPError:b,logMCPDebug:u,getErrorsPath:D,getMCPLogsPath:J}),X("Error log sink initialized")}function e(){M(),k()}
3
+ export{e as x};
@@ -0,0 +1,2 @@
1
+ import{tV as m,uV as b,vV as H,xV as N,yV as K}from"./cli-1.1.24-64d8tfjb.mjs";import{A9 as R,K9 as L,M9 as O,N9 as _,u9 as x,v9 as M,y9 as D}from"./cli-1.1.24-3n6e2e3w.mjs";import{Eea as Y,Ifa as Z,Pba as j,Rba as P,Rea as A,bga as G,zea as X}from"./cli-1.1.24-pe23qamd.mjs";import{Ama as I,sma as $}from"./cli-1.1.24-8s7nf1y6.mjs";import{_ta as F}from"./cli-1.1.24-hty94kzp.mjs";function V(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:w,CLAUDE_CODE_OAUTH_TOKEN:C,...U}=q;return U}function k(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!H(B))z[B]=Q;return z}function p(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return p(k(V(q)))}function S(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of h){if(z==="policySettings")continue;if(!j(z))continue;Object.assign(process.env,J(X(z)?.env))}m(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(N.has(z.toUpperCase()))process.env[z]=B}function a(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),x(),D(),O(),L()}var W,h;var T=F(()=>{b();M();G();I();K();R();_();P();A();h=["userSettings","flagSettings","policySettings"]});
2
+ export{S as kd,a as ld,T as md};