@claudiolabs/claudin 1.0.7 → 1.0.9

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 (918) hide show
  1. package/README.md +1 -0
  2. package/dist/chunks/AgentTool-1.0.9-pn7bw6yv.mjs +1 -0
  3. package/dist/chunks/App-1.0.9-4evjz5w2.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-1.0.9-bbb6t3r9.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-1.0.9-133vee5x.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-1.0.9-1bgty08c.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-1.0.9-acyyj7ky.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.9-8d430r75.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-1.0.9-6ew6r9f6.mjs +1 -0
  10. package/dist/chunks/DiffDialog-1.0.9-ze7bee5g.mjs +7 -0
  11. package/dist/chunks/Doctor-1.0.9-xy0g4b33.mjs +1 -0
  12. package/dist/chunks/ExplorerDialog-1.0.9-3yjz2cvs.mjs +6 -0
  13. package/dist/chunks/Grove-1.0.9-96nwpafr.mjs +1 -0
  14. package/dist/chunks/ITermBackend-1.0.9-ywr7fk06.mjs +1 -0
  15. package/dist/chunks/InvalidConfigDialog-1.0.9-2q4w4j4t.mjs +1 -0
  16. package/dist/chunks/InvalidSettingsDialog-1.0.9-z37xr3zw.mjs +1 -0
  17. package/dist/chunks/MigrationDialog-1.0.9-z7j3qhg7.mjs +1 -0
  18. package/dist/chunks/Onboarding-1.0.9-gtxm4j8b.mjs +1 -0
  19. package/dist/chunks/ProviderManager-1.0.9-1mdk6qz8.mjs +1 -0
  20. package/dist/chunks/REPL-1.0.9-8b6q2gzd.mjs +1 -0
  21. package/dist/chunks/ResumeConversation-1.0.9-e0r40skb.mjs +1 -0
  22. package/dist/chunks/SnapshotUpdateDialog-1.0.9-02v56nb9.mjs +1 -0
  23. package/dist/chunks/TeleportProgress-1.0.9-bdgqerzr.mjs +1 -0
  24. package/dist/chunks/TeleportRepoMismatchDialog-1.0.9-vtm223ky.mjs +1 -0
  25. package/dist/chunks/TeleportResumeWrapper-1.0.9-bmyks5dc.mjs +1 -0
  26. package/dist/chunks/TmuxBackend-1.0.9-ns6fj8sv.mjs +9 -0
  27. package/dist/chunks/ToolSearchTool-1.0.9-98prvmmb.mjs +1 -0
  28. package/dist/chunks/TrustDialog-1.0.9-br4q9mkd.mjs +1 -0
  29. package/dist/chunks/activeProvider-1.0.9-5nxztxpg.mjs +1 -0
  30. package/dist/chunks/add-dir-1.0.9-ypva61t4.mjs +1 -0
  31. package/dist/chunks/agentTypes-1.0.9-x07mx3dr.mjs +1 -0
  32. package/dist/chunks/agents-1.0.9-3mfx5p6a.mjs +3 -0
  33. package/dist/chunks/agents-1.0.9-8srfrkqw.mjs +110 -0
  34. package/dist/chunks/api-1.0.9-797pjvs1.mjs +1 -0
  35. package/dist/chunks/asciicast-1.0.9-2jnc8jtk.mjs +1 -0
  36. package/dist/chunks/assistant-1.0.9-1ryssrnh.mjs +1 -0
  37. package/dist/chunks/auth-1.0.9-9xadhd5v.mjs +1 -0
  38. package/dist/chunks/auth-1.0.9-q57mj8gk.mjs +1 -0
  39. package/dist/chunks/autoMode-1.0.9-rz4pssbt.mjs +48 -0
  40. package/dist/chunks/autoUpdater-1.0.9-kx1fdq56.mjs +1 -0
  41. package/dist/chunks/backgroundHousekeeping-1.0.9-5c1na5cn.mjs +1 -0
  42. package/dist/chunks/branch-1.0.9-2857desd.mjs +4 -0
  43. package/dist/chunks/bridge-1.0.9-a2875hps.mjs +2 -0
  44. package/dist/chunks/bridgeConfig-1.0.9-pqqgvm77.mjs +1 -0
  45. package/dist/chunks/bridgeEnabled-1.0.9-z4rqrrb8.mjs +1 -0
  46. package/dist/chunks/bridgeMain-1.0.9-e08pefvd.mjs +88 -0
  47. package/dist/chunks/bridgePointer-1.0.9-zt50pndw.mjs +1 -0
  48. package/dist/chunks/btw-1.0.9-55ev3ghy.mjs +1 -0
  49. package/dist/chunks/buddy-1.0.9-6z68f6ex.mjs +3 -0
  50. package/dist/chunks/cacache-1.0.9-h1eketz5.mjs +1 -0
  51. package/dist/chunks/cache-probe-1.0.9-78r0f324.mjs +21 -0
  52. package/dist/chunks/cacheStats-1.0.9-4t8zwh7m.mjs +4 -0
  53. package/dist/chunks/caches-1.0.9-8vpcw0da.mjs +1 -0
  54. package/dist/chunks/claudeDesktop-1.0.9-7vwfj2q3.mjs +1 -0
  55. package/dist/chunks/claudemd-1.0.9-cd1jnewp.mjs +1 -0
  56. package/dist/chunks/clear-1.0.9-881ynng5.mjs +1 -0
  57. package/dist/chunks/clearTerminal-1.0.9-saxb5je9.mjs +1 -0
  58. package/dist/chunks/cli-1.0.9-01cy14p7.mjs +2 -0
  59. package/dist/chunks/cli-1.0.9-03tgqcyj.mjs +2 -0
  60. package/dist/chunks/cli-1.0.9-06kd11jd.mjs +2 -0
  61. package/dist/chunks/cli-1.0.9-0e6g8sye.mjs +4 -0
  62. package/dist/chunks/cli-1.0.9-0f3ex0vg.mjs +15 -0
  63. package/dist/chunks/cli-1.0.9-0xhf29zj.mjs +2 -0
  64. package/dist/chunks/cli-1.0.9-0xr97fha.mjs +4 -0
  65. package/dist/chunks/cli-1.0.9-11j6h2p2.mjs +2 -0
  66. package/dist/chunks/cli-1.0.9-11tj558a.mjs +2 -0
  67. package/dist/chunks/cli-1.0.9-13q9fkxq.mjs +2 -0
  68. package/dist/chunks/cli-1.0.9-19gz2k9q.mjs +3 -0
  69. package/dist/chunks/cli-1.0.9-1adzaxwy.mjs +2 -0
  70. package/dist/chunks/cli-1.0.9-1de7bab0.mjs +2 -0
  71. package/dist/chunks/cli-1.0.9-1f0bxa2a.mjs +18 -0
  72. package/dist/chunks/cli-1.0.9-1hcdwdyw.mjs +133 -0
  73. package/dist/chunks/cli-1.0.9-1p61fppv.mjs +2 -0
  74. package/dist/chunks/cli-1.0.9-1pe38ex2.mjs +2 -0
  75. package/dist/chunks/cli-1.0.9-1t8pkgtd.mjs +2 -0
  76. package/dist/chunks/cli-1.0.9-25kh81st.mjs +18 -0
  77. package/dist/chunks/cli-1.0.9-2a1jman4.mjs +3 -0
  78. package/dist/chunks/cli-1.0.9-2gdex17t.mjs +2 -0
  79. package/dist/chunks/cli-1.0.9-2hgg2mnb.mjs +2 -0
  80. package/dist/chunks/cli-1.0.9-2ncvyz2r.mjs +45 -0
  81. package/dist/chunks/cli-1.0.9-2prerh1s.mjs +2 -0
  82. package/dist/chunks/cli-1.0.9-2y9fcheg.mjs +2 -0
  83. package/dist/chunks/cli-1.0.9-3bdkmcp9.mjs +18 -0
  84. package/dist/chunks/cli-1.0.9-3ccxr1d8.mjs +2 -0
  85. package/dist/chunks/cli-1.0.9-3espt55t.mjs +20 -0
  86. package/dist/chunks/cli-1.0.9-3k1w3fc0.mjs +2 -0
  87. package/dist/chunks/cli-1.0.9-3mv7thfe.mjs +21 -0
  88. package/dist/chunks/cli-1.0.9-3n2084tg.mjs +2 -0
  89. package/dist/chunks/cli-1.0.9-3wmanrzv.mjs +2 -0
  90. package/dist/chunks/cli-1.0.9-3wn7m4cv.mjs +3 -0
  91. package/dist/chunks/cli-1.0.9-3ye1460y.mjs +2 -0
  92. package/dist/chunks/cli-1.0.9-42ww2d94.mjs +2 -0
  93. package/dist/chunks/cli-1.0.9-49sanx9h.mjs +2 -0
  94. package/dist/chunks/cli-1.0.9-4fdvygwb.mjs +25 -0
  95. package/dist/chunks/cli-1.0.9-4kjme82s.mjs +2 -0
  96. package/dist/chunks/cli-1.0.9-4vrbbav9.mjs +2 -0
  97. package/dist/chunks/cli-1.0.9-4yksn92y.mjs +2 -0
  98. package/dist/chunks/cli-1.0.9-51rze21n.mjs +2 -0
  99. package/dist/chunks/cli-1.0.9-537n2cda.mjs +2 -0
  100. package/dist/chunks/cli-1.0.9-593a1k2m.mjs +17 -0
  101. package/dist/chunks/cli-1.0.9-5afn268n.mjs +34 -0
  102. package/dist/chunks/cli-1.0.9-601tsydg.mjs +2 -0
  103. package/dist/chunks/cli-1.0.9-625zsef6.mjs +2 -0
  104. package/dist/chunks/cli-1.0.9-6424zmgd.mjs +2 -0
  105. package/dist/chunks/cli-1.0.9-67c9vgsq.mjs +5492 -0
  106. package/dist/chunks/cli-1.0.9-68er5cff.mjs +3 -0
  107. package/dist/chunks/cli-1.0.9-6q0e7nk4.mjs +3 -0
  108. package/dist/chunks/cli-1.0.9-6x8m34y6.mjs +67 -0
  109. package/dist/chunks/cli-1.0.9-6yxsfcyh.mjs +2 -0
  110. package/dist/chunks/cli-1.0.9-71jbnxs0.mjs +4 -0
  111. package/dist/chunks/cli-1.0.9-7exncgt2.mjs +4 -0
  112. package/dist/chunks/cli-1.0.9-7gewnt7b.mjs +2 -0
  113. package/dist/chunks/cli-1.0.9-7xt7m2q5.mjs +2 -0
  114. package/dist/chunks/cli-1.0.9-806xk0g7.mjs +2 -0
  115. package/dist/chunks/cli-1.0.9-81zj78t2.mjs +2 -0
  116. package/dist/chunks/cli-1.0.9-89yxpmpq.mjs +3 -0
  117. package/dist/chunks/cli-1.0.9-8f06bgf9.mjs +4 -0
  118. package/dist/chunks/cli-1.0.9-8g8n5ceb.mjs +2 -0
  119. package/dist/chunks/cli-1.0.9-8j4fe1qz.mjs +2 -0
  120. package/dist/chunks/cli-1.0.9-912srhxc.mjs +2 -0
  121. package/dist/chunks/cli-1.0.9-963yvtxd.mjs +2 -0
  122. package/dist/chunks/cli-1.0.9-9jyyb7zx.mjs +12 -0
  123. package/dist/chunks/cli-1.0.9-9p6ww1a0.mjs +2 -0
  124. package/dist/chunks/cli-1.0.9-9yr5whta.mjs +26 -0
  125. package/dist/chunks/cli-1.0.9-a0zm3d1g.mjs +2 -0
  126. package/dist/chunks/cli-1.0.9-aasy7y47.mjs +2 -0
  127. package/dist/chunks/cli-1.0.9-ajhbq50f.mjs +2 -0
  128. package/dist/chunks/cli-1.0.9-awxee62m.mjs +2 -0
  129. package/dist/chunks/cli-1.0.9-ayjdc0qr.mjs +2 -0
  130. package/dist/chunks/cli-1.0.9-az9m58wa.mjs +2 -0
  131. package/dist/chunks/cli-1.0.9-b029w2p8.mjs +2 -0
  132. package/dist/chunks/cli-1.0.9-b11n0pyq.mjs +9 -0
  133. package/dist/chunks/cli-1.0.9-b38km1fw.mjs +2 -0
  134. package/dist/chunks/cli-1.0.9-b78v72rn.mjs +2 -0
  135. package/dist/chunks/cli-1.0.9-bas5sqzw.mjs +2 -0
  136. package/dist/chunks/cli-1.0.9-bd7743tj.mjs +2 -0
  137. package/dist/chunks/cli-1.0.9-bg3jgpj8.mjs +2 -0
  138. package/dist/chunks/cli-1.0.9-bqcs2981.mjs +4 -0
  139. package/dist/chunks/cli-1.0.9-c05x7nfj.mjs +3 -0
  140. package/dist/chunks/cli-1.0.9-c5n2kbdv.mjs +17 -0
  141. package/dist/chunks/cli-1.0.9-cc6btq9c.mjs +2 -0
  142. package/dist/chunks/cli-1.0.9-cdc3drzy.mjs +2 -0
  143. package/dist/chunks/cli-1.0.9-ch1ca19q.mjs +2 -0
  144. package/dist/chunks/cli-1.0.9-cthzntz1.mjs +2 -0
  145. package/dist/chunks/cli-1.0.9-cymry1xw.mjs +2 -0
  146. package/dist/chunks/cli-1.0.9-d8rq80ph.mjs +2 -0
  147. package/dist/chunks/cli-1.0.9-dbs656rx.mjs +133 -0
  148. package/dist/chunks/cli-1.0.9-dg55k2hn.mjs +2 -0
  149. package/dist/chunks/cli-1.0.9-dg8j07p1.mjs +2 -0
  150. package/dist/chunks/cli-1.0.9-dp3xhncn.mjs +2 -0
  151. package/dist/chunks/cli-1.0.9-dvbfpdtc.mjs +24 -0
  152. package/dist/chunks/cli-1.0.9-e2f6b83v.mjs +2 -0
  153. package/dist/chunks/cli-1.0.9-e2mjjvjc.mjs +2 -0
  154. package/dist/chunks/cli-1.0.9-e491drav.mjs +2 -0
  155. package/dist/chunks/cli-1.0.9-e8n90m9g.mjs +2 -0
  156. package/dist/chunks/cli-1.0.9-ea0y4mww.mjs +2 -0
  157. package/dist/chunks/cli-1.0.9-eb7ne7cx.mjs +2 -0
  158. package/dist/chunks/cli-1.0.9-eeyg3kcg.mjs +4 -0
  159. package/dist/chunks/cli-1.0.9-efmzhqag.mjs +2 -0
  160. package/dist/chunks/cli-1.0.9-ej3ahs6j.mjs +199 -0
  161. package/dist/chunks/cli-1.0.9-eq3sypj3.mjs +2 -0
  162. package/dist/chunks/cli-1.0.9-erz57dtz.mjs +6 -0
  163. package/dist/chunks/cli-1.0.9-ez2pcj03.mjs +2 -0
  164. package/dist/chunks/cli-1.0.9-fejr36z6.mjs +2 -0
  165. package/dist/chunks/cli-1.0.9-fhj3g7hg.mjs +2 -0
  166. package/dist/chunks/cli-1.0.9-fkbdtr1w.mjs +3 -0
  167. package/dist/chunks/cli-1.0.9-fkfc8k86.mjs +2 -0
  168. package/dist/chunks/cli-1.0.9-fvw201bt.mjs +2 -0
  169. package/dist/chunks/cli-1.0.9-fw4bsz0q.mjs +2 -0
  170. package/dist/chunks/cli-1.0.9-fx0e9bkg.mjs +2 -0
  171. package/dist/chunks/cli-1.0.9-g8mgmpkc.mjs +2 -0
  172. package/dist/chunks/cli-1.0.9-gctz0hyw.mjs +24 -0
  173. package/dist/chunks/cli-1.0.9-ge04svda.mjs +2 -0
  174. package/dist/chunks/cli-1.0.9-gh82pj8t.mjs +50 -0
  175. package/dist/chunks/cli-1.0.9-gjta07sd.mjs +2 -0
  176. package/dist/chunks/cli-1.0.9-gsgbywct.mjs +25 -0
  177. package/dist/chunks/cli-1.0.9-gvp958jh.mjs +2 -0
  178. package/dist/chunks/cli-1.0.9-h5kwp1cf.mjs +2 -0
  179. package/dist/chunks/cli-1.0.9-ha9fdhs8.mjs +2 -0
  180. package/dist/chunks/cli-1.0.9-hf6frb0e.mjs +9 -0
  181. package/dist/chunks/cli-1.0.9-htsk8rvv.mjs +42 -0
  182. package/dist/chunks/cli-1.0.9-j02z8apf.mjs +2 -0
  183. package/dist/chunks/cli-1.0.9-j2832pm5.mjs +2 -0
  184. package/dist/chunks/cli-1.0.9-j297swbj.mjs +2 -0
  185. package/dist/chunks/cli-1.0.9-j500vd5e.mjs +2 -0
  186. package/dist/chunks/cli-1.0.9-j6fwd0mg.mjs +3 -0
  187. package/dist/chunks/cli-1.0.9-jcnmjs31.mjs +2 -0
  188. package/dist/chunks/cli-1.0.9-jfgy2jk6.mjs +5 -0
  189. package/dist/chunks/cli-1.0.9-jktrmswp.mjs +2 -0
  190. package/dist/chunks/cli-1.0.9-jmxz57bg.mjs +2 -0
  191. package/dist/chunks/cli-1.0.9-jq2h9s5r.mjs +2 -0
  192. package/dist/chunks/cli-1.0.9-jwye26tm.mjs +2 -0
  193. package/dist/chunks/cli-1.0.9-k7xzs5f3.mjs +2 -0
  194. package/dist/chunks/cli-1.0.9-k9k4mjr2.mjs +58 -0
  195. package/dist/chunks/cli-1.0.9-kfge7dzc.mjs +3 -0
  196. package/dist/chunks/cli-1.0.9-kw7p06w2.mjs +2 -0
  197. package/dist/chunks/cli-1.0.9-m6k5afpm.mjs +3 -0
  198. package/dist/chunks/cli-1.0.9-mx0hp5fn.mjs +2 -0
  199. package/dist/chunks/cli-1.0.9-n2eds51d.mjs +2 -0
  200. package/dist/chunks/cli-1.0.9-nc1t91tt.mjs +15 -0
  201. package/dist/chunks/cli-1.0.9-nm7ds98w.mjs +2 -0
  202. package/dist/chunks/cli-1.0.9-nz0skfsg.mjs +6 -0
  203. package/dist/chunks/cli-1.0.9-p3a08x10.mjs +2 -0
  204. package/dist/chunks/cli-1.0.9-ppa9xdxq.mjs +2 -0
  205. package/dist/chunks/cli-1.0.9-pxkbc8zc.mjs +2 -0
  206. package/dist/chunks/cli-1.0.9-q38wwdnj.mjs +2 -0
  207. package/dist/chunks/cli-1.0.9-q3fzs7rd.mjs +59 -0
  208. package/dist/chunks/cli-1.0.9-q3xyfb3x.mjs +2 -0
  209. package/dist/chunks/cli-1.0.9-q6e8xnkz.mjs +2 -0
  210. package/dist/chunks/cli-1.0.9-qb618hw7.mjs +2 -0
  211. package/dist/chunks/cli-1.0.9-qjey3ysx.mjs +3 -0
  212. package/dist/chunks/cli-1.0.9-qpvnvfac.mjs +2 -0
  213. package/dist/chunks/cli-1.0.9-qyfx57wb.mjs +2 -0
  214. package/dist/chunks/cli-1.0.9-r4ysx5t8.mjs +2 -0
  215. package/dist/chunks/cli-1.0.9-rd2hz2r7.mjs +2 -0
  216. package/dist/chunks/cli-1.0.9-rh1x9xts.mjs +2 -0
  217. package/dist/chunks/cli-1.0.9-rhvh1vdg.mjs +39 -0
  218. package/dist/chunks/cli-1.0.9-rjq71gw8.mjs +2 -0
  219. package/dist/chunks/cli-1.0.9-rm8ssvm7.mjs +2 -0
  220. package/dist/chunks/cli-1.0.9-rpw6qq2j.mjs +2 -0
  221. package/dist/chunks/cli-1.0.9-s6nk6s0k.mjs +2 -0
  222. package/dist/chunks/cli-1.0.9-sbbswdzj.mjs +2 -0
  223. package/dist/chunks/cli-1.0.9-sbm5c6f2.mjs +2 -0
  224. package/dist/chunks/cli-1.0.9-sjqe138z.mjs +16 -0
  225. package/dist/chunks/cli-1.0.9-sx5z6m5d.mjs +24 -0
  226. package/dist/chunks/cli-1.0.9-t4qshvc1.mjs +12 -0
  227. package/dist/chunks/cli-1.0.9-t80qhn8j.mjs +8 -0
  228. package/dist/chunks/cli-1.0.9-t8c5khak.mjs +2 -0
  229. package/dist/chunks/cli-1.0.9-tbzbnv01.mjs +2 -0
  230. package/dist/chunks/cli-1.0.9-tcn5dpwj.mjs +6 -0
  231. package/dist/chunks/cli-1.0.9-tcszykvk.mjs +2 -0
  232. package/dist/chunks/cli-1.0.9-th90br16.mjs +2 -0
  233. package/dist/chunks/cli-1.0.9-tkk94r4t.mjs +4 -0
  234. package/dist/chunks/cli-1.0.9-tv64yqec.mjs +2 -0
  235. package/dist/chunks/cli-1.0.9-tzke31bj.mjs +12 -0
  236. package/dist/chunks/cli-1.0.9-v1ymh1ej.mjs +7 -0
  237. package/dist/chunks/cli-1.0.9-v770djrd.mjs +2 -0
  238. package/dist/chunks/cli-1.0.9-vcf21zvy.mjs +2 -0
  239. package/dist/chunks/cli-1.0.9-vhcxraj8.mjs +2 -0
  240. package/dist/chunks/cli-1.0.9-vvwt9bfb.mjs +2 -0
  241. package/dist/chunks/cli-1.0.9-w1yvav1x.mjs +2 -0
  242. package/dist/chunks/cli-1.0.9-w5dyqxqk.mjs +2 -0
  243. package/dist/chunks/cli-1.0.9-wcm9r8rn.mjs +2 -0
  244. package/dist/chunks/cli-1.0.9-wk087awy.mjs +2 -0
  245. package/dist/chunks/cli-1.0.9-wm0q00hf.mjs +3 -0
  246. package/dist/chunks/cli-1.0.9-wny75xk9.mjs +2 -0
  247. package/dist/chunks/cli-1.0.9-x06kapeh.mjs +2 -0
  248. package/dist/chunks/cli-1.0.9-x3vqg6qp.mjs +2 -0
  249. package/dist/chunks/cli-1.0.9-x4t4nqd2.mjs +4 -0
  250. package/dist/chunks/cli-1.0.9-x4tngp24.mjs +5 -0
  251. package/dist/chunks/cli-1.0.9-x8ty0z67.mjs +12 -0
  252. package/dist/chunks/cli-1.0.9-xd6wrh53.mjs +2 -0
  253. package/dist/chunks/cli-1.0.9-xe8dc6qb.mjs +2 -0
  254. package/dist/chunks/cli-1.0.9-xtwh19d1.mjs +1 -0
  255. package/dist/chunks/cli-1.0.9-xx44tx6h.mjs +2 -0
  256. package/dist/chunks/cli-1.0.9-xyzdk3z1.mjs +2 -0
  257. package/dist/chunks/cli-1.0.9-y0zax3d9.mjs +2 -0
  258. package/dist/chunks/cli-1.0.9-y1db6cvh.mjs +2 -0
  259. package/dist/chunks/cli-1.0.9-y7sdjd9n.mjs +2 -0
  260. package/dist/chunks/cli-1.0.9-ymbxfv5d.mjs +6 -0
  261. package/dist/chunks/cli-1.0.9-ympvk0av.mjs +6 -0
  262. package/dist/chunks/cli-1.0.9-z8ywz3b3.mjs +3 -0
  263. package/dist/chunks/cli-1.0.9-z9a1abx1.mjs +15 -0
  264. package/dist/chunks/cli-1.0.9-zd316ka9.mjs +2 -0
  265. package/dist/chunks/cli-1.0.9-zqr8aygv.mjs +2 -0
  266. package/dist/chunks/cli-1.0.9-zrphfr1b.mjs +4 -0
  267. package/dist/chunks/client-1.0.9-6ytq8zpq.mjs +1 -0
  268. package/dist/chunks/color-1.0.9-6fzgjvkk.mjs +1 -0
  269. package/dist/chunks/compact-1.0.9-zezrh8xr.mjs +3 -0
  270. package/dist/chunks/config-1.0.9-wvjbx4ke.mjs +1 -0
  271. package/dist/chunks/config-1.0.9-wvne91f5.mjs +1 -0
  272. package/dist/chunks/constants-1.0.9-2fzrexcb.mjs +1 -0
  273. package/dist/chunks/context-1.0.9-ygv4e0ng.mjs +1 -0
  274. package/dist/chunks/context-noninteractive-1.0.9-jn0d4nj0.mjs +1 -0
  275. package/dist/chunks/conversation-1.0.9-gg4v7nyy.mjs +1 -0
  276. package/dist/chunks/copilotHeaders-1.0.9-eyzv69et.mjs +1 -0
  277. package/dist/chunks/copy-1.0.9-1spbc1fd.mjs +9 -0
  278. package/dist/chunks/cost-1.0.9-axf868g8.mjs +1 -0
  279. package/dist/chunks/createSSHSession-1.0.9-zp88fdrv.mjs +1 -0
  280. package/dist/chunks/createSession-1.0.9-6xv9ygwy.mjs +1 -0
  281. package/dist/chunks/debug-1.0.9-j00wf57e.mjs +1 -0
  282. package/dist/chunks/defaultActionDeps-1.0.9-yzqemm6t.mjs +1446 -0
  283. package/dist/chunks/desktop-1.0.9-zq6w2b8s.mjs +1 -0
  284. package/dist/chunks/detectRepository-1.0.9-mjzbbps4.mjs +1 -0
  285. package/dist/chunks/detection-1.0.9-yjvmg8pn.mjs +1 -0
  286. package/dist/chunks/diff-1.0.9-68dbevx4.mjs +1 -0
  287. package/dist/chunks/doctor-1.0.9-xgwzb4yw.mjs +1 -0
  288. package/dist/chunks/doctorDiagnostic-1.0.9-p8be86qt.mjs +1 -0
  289. package/dist/chunks/earlyInput-1.0.9-a7f6p18j.mjs +1 -0
  290. package/dist/chunks/effort-1.0.9-zv46qr82.mjs +10 -0
  291. package/dist/chunks/engine-1.0.9-zm715gn8.mjs +1 -0
  292. package/dist/chunks/envLessBridgeConfig-1.0.9-pbgxdbt9.mjs +1 -0
  293. package/dist/chunks/envUtils-1.0.9-jvdj5nsn.mjs +1 -0
  294. package/dist/chunks/environmentSelection-1.0.9-32y4kxzx.mjs +1 -0
  295. package/dist/chunks/environments-1.0.9-rapbbhdb.mjs +1 -0
  296. package/dist/chunks/errors-1.0.9-mr00r6m7.mjs +1 -0
  297. package/dist/chunks/exampleCommands-1.0.9-d9kwjybb.mjs +1 -0
  298. package/dist/chunks/execFileNoThrow-1.0.9-17y7nf7n.mjs +1 -0
  299. package/dist/chunks/exit-1.0.9-a8dgmc5m.mjs +1 -0
  300. package/dist/chunks/explorer-1.0.9-rr21y6bg.mjs +1 -0
  301. package/dist/chunks/export-1.0.9-m63465sz.mjs +2 -0
  302. package/dist/chunks/extra-usage-1.0.9-jyvmfa3x.mjs +1 -0
  303. package/dist/chunks/extra-usage-noninteractive-1.0.9-jr4xqktt.mjs +1 -0
  304. package/dist/chunks/fast-1.0.9-944nf8hg.mjs +1 -0
  305. package/dist/chunks/feedback-1.0.9-c6qydbzp.mjs +14 -0
  306. package/dist/chunks/firstPartyEventLogger-1.0.9-25ey9wf6.mjs +1 -0
  307. package/dist/chunks/git-1.0.9-se8gx0p4.mjs +1 -0
  308. package/dist/chunks/githubModelsCredentials-1.0.9-14n5qqvf.mjs +1 -0
  309. package/dist/chunks/goal-1.0.9-v5bwyvtb.mjs +4 -0
  310. package/dist/chunks/grove-1.0.9-twka7z5j.mjs +1 -0
  311. package/dist/chunks/growthbook-1.0.9-mghtxr31.mjs +1 -0
  312. package/dist/chunks/headless-1.0.9-m319gz5s.mjs +2 -0
  313. package/dist/chunks/heapdump-1.0.9-zk05f03w.mjs +6 -0
  314. package/dist/chunks/help-1.0.9-fjdspdd3.mjs +1 -0
  315. package/dist/chunks/hookChains-1.0.9-1p47yp2s.mjs +3 -0
  316. package/dist/chunks/hooks-1.0.9-gsae7evr.mjs +79 -0
  317. package/dist/chunks/hooks-1.0.9-ryra9j7e.mjs +1 -0
  318. package/dist/chunks/ide-1.0.9-5xk8pvc3.mjs +3 -0
  319. package/dist/chunks/image-processor-napi-1.0.9-m8xt10vv.mjs +1 -0
  320. package/dist/chunks/inboundAttachments-1.0.9-tv4b8ex4.mjs +1 -0
  321. package/dist/chunks/index-1.0.9-0mep6p2e.mjs +1 -0
  322. package/dist/chunks/index-1.0.9-41fkayp7.mjs +1 -0
  323. package/dist/chunks/index-1.0.9-4kgb526x.mjs +1 -0
  324. package/dist/chunks/index-1.0.9-6yrhew13.mjs +17 -0
  325. package/dist/chunks/index-1.0.9-90m3hak5.mjs +1 -0
  326. package/dist/chunks/index-1.0.9-93jbt8ts.mjs +1 -0
  327. package/dist/chunks/index-1.0.9-9ryfj4pb.mjs +1 -0
  328. package/dist/chunks/index-1.0.9-cq06g7a0.mjs +1 -0
  329. package/dist/chunks/index-1.0.9-f7brqkkr.mjs +1 -0
  330. package/dist/chunks/index-1.0.9-hvkdhsta.mjs +1 -0
  331. package/dist/chunks/index-1.0.9-jk2fhj8t.mjs +9 -0
  332. package/dist/chunks/index-1.0.9-kcnhr8fy.mjs +2 -0
  333. package/dist/chunks/index-1.0.9-kgymjzxf.mjs +1 -0
  334. package/dist/chunks/index-1.0.9-n9ganzdc.mjs +1 -0
  335. package/dist/chunks/index-1.0.9-p2kz6wm8.mjs +2 -0
  336. package/dist/chunks/index-1.0.9-q3kvfren.mjs +1 -0
  337. package/dist/chunks/index-1.0.9-qvjyptep.mjs +30 -0
  338. package/dist/chunks/index-1.0.9-sy14c383.mjs +1 -0
  339. package/dist/chunks/index-1.0.9-w84j6099.mjs +9 -0
  340. package/dist/chunks/index-1.0.9-xfjgkms3.mjs +1 -0
  341. package/dist/chunks/index-1.0.9-ystczwgk.mjs +1 -0
  342. package/dist/chunks/index-1.0.9-ythrtswh.mjs +5 -0
  343. package/dist/chunks/index-1.0.9-ytvws96r.mjs +1 -0
  344. package/dist/chunks/init-1.0.9-dk6ce4ec.mjs +1 -0
  345. package/dist/chunks/initReplBridge-1.0.9-xyxharkg.mjs +1 -0
  346. package/dist/chunks/ink-1.0.9-sj61qpy1.mjs +1 -0
  347. package/dist/chunks/insights-1.0.9-kc18bxsj.mjs +870 -0
  348. package/dist/chunks/install-1.0.9-41n1cava.mjs +1 -0
  349. package/dist/chunks/install-github-app-1.0.9-d0jrca5q.mjs +149 -0
  350. package/dist/chunks/install-slack-app-1.0.9-sgvf9xhe.mjs +1 -0
  351. package/dist/chunks/instrumentation-1.0.9-k55h305p.mjs +1 -0
  352. package/dist/chunks/interactiveHelpers-1.0.9-edx0pwv2.mjs +1 -0
  353. package/dist/chunks/keybindings-1.0.9-3j7rmqad.mjs +2 -0
  354. package/dist/chunks/knowledge-1.0.9-a0yrjtaw.mjs +2 -0
  355. package/dist/chunks/latestVersionCache-1.0.9-vaxbjn5a.mjs +1 -0
  356. package/dist/chunks/loadAgentsDir-1.0.9-5v5xmfae.mjs +1 -0
  357. package/dist/chunks/loadPluginHooks-1.0.9-jkz1yssz.mjs +1 -0
  358. package/dist/chunks/loadPluginHooks-1.0.9-ymdjzq3r.mjs +1 -0
  359. package/dist/chunks/log-1.0.9-zkpyqa3m.mjs +1 -0
  360. package/dist/chunks/main-1.0.9-h2389xyv.mjs +1 -0
  361. package/dist/chunks/managedEnv-1.0.9-m1nbgm9w.mjs +1 -0
  362. package/dist/chunks/mcp-1.0.9-0pffb151.mjs +4 -0
  363. package/dist/chunks/mcp-1.0.9-7te57n7g.mjs +1 -0
  364. package/dist/chunks/mcp-1.0.9-zx01gh7r.mjs +17 -0
  365. package/dist/chunks/mcpb-1.0.9-01pgh57h.mjs +1 -0
  366. package/dist/chunks/memory-1.0.9-t9n2z13b.mjs +3 -0
  367. package/dist/chunks/model-1.0.9-a1hweteq.mjs +1 -0
  368. package/dist/chunks/model-1.0.9-jpjmt8a2.mjs +2 -0
  369. package/dist/chunks/node-1.0.9-p2k460a4.mjs +12 -0
  370. package/dist/chunks/oauth-1.0.9-zjepvezc.mjs +1 -0
  371. package/dist/chunks/openaiShim-1.0.9-gapf03nh.mjs +14 -0
  372. package/dist/chunks/output-style-1.0.9-ssjrzh6q.mjs +1 -0
  373. package/dist/chunks/package-ZZWOLTXM-1.0.9-z6aewhjx.mjs +1 -0
  374. package/dist/chunks/parseConnectUrl-1.0.9-7gq7343s.mjs +1 -0
  375. package/dist/chunks/parser-1.0.9-pke5bjkh.mjs +1 -0
  376. package/dist/chunks/passes-1.0.9-r3ydzpyv.mjs +1 -0
  377. package/dist/chunks/permissions-1.0.9-97jpkg18.mjs +1 -0
  378. package/dist/chunks/permissions-1.0.9-c4jx0pxn.mjs +3 -0
  379. package/dist/chunks/plan-1.0.9-z3j9hsww.mjs +1 -0
  380. package/dist/chunks/plist-1.0.9-2acqr7kv.mjs +1 -0
  381. package/dist/chunks/plugin-1.0.9-z1m6zzew.mjs +29 -0
  382. package/dist/chunks/pluginStartupCheck-1.0.9-41sskjk2.mjs +1 -0
  383. package/dist/chunks/plugins-1.0.9-6tptm5qm.mjs +9 -0
  384. package/dist/chunks/preActionHook-1.0.9-wecvzns1.mjs +2 -0
  385. package/dist/chunks/print-1.0.9-dqymva6x.mjs +57 -0
  386. package/dist/chunks/privacy-settings-1.0.9-zyecjx4p.mjs +1 -0
  387. package/dist/chunks/process-1.0.9-2w0fkryd.mjs +1 -0
  388. package/dist/chunks/processBashCommand-1.0.9-4s05h1bj.mjs +1 -0
  389. package/dist/chunks/processSlashCommand-1.0.9-5tvxytqm.mjs +9 -0
  390. package/dist/chunks/prompt-1.0.9-nb76g2sv.mjs +1 -0
  391. package/dist/chunks/prompt-1.0.9-va3886b6.mjs +1 -0
  392. package/dist/chunks/prompts-1.0.9-m9dxdech.mjs +1 -0
  393. package/dist/chunks/protocolHandler-1.0.9-xnnv5p87.mjs +13 -0
  394. package/dist/chunks/provider-1.0.9-cvmd8h1d.mjs +2 -0
  395. package/dist/chunks/providerProfiles-1.0.9-9g0pwem4.mjs +1 -0
  396. package/dist/chunks/providerValidation-1.0.9-3rgdk5ee.mjs +6 -0
  397. package/dist/chunks/rate-limit-options-1.0.9-vk9xmrr9.mjs +1 -0
  398. package/dist/chunks/registerSubcommands-1.0.9-5jz3t4qr.mjs +34 -0
  399. package/dist/chunks/registry-1.0.9-9mvkaffy.mjs +1 -0
  400. package/dist/chunks/release-notes-1.0.9-6r7p97mn.mjs +5 -0
  401. package/dist/chunks/reload-plugins-1.0.9-xdhvgqpn.mjs +2 -0
  402. package/dist/chunks/remote-env-1.0.9-9htaxz0y.mjs +1 -0
  403. package/dist/chunks/remoteBridgeCore-1.0.9-xgvn82tp.mjs +1 -0
  404. package/dist/chunks/remoteSession-1.0.9-7s48fkf7.mjs +1 -0
  405. package/dist/chunks/rename-1.0.9-j3rs23m1.mjs +1 -0
  406. package/dist/chunks/replBridgeHandle-1.0.9-f67nzh9x.mjs +1 -0
  407. package/dist/chunks/replLauncher-1.0.9-gxjrsm7t.mjs +1 -0
  408. package/dist/chunks/resume-1.0.9-9f2xh9ad.mjs +2 -0
  409. package/dist/chunks/rewind-1.0.9-2tjbaa5s.mjs +1 -0
  410. package/dist/chunks/rootOptions-1.0.9-s35d4dq8.mjs +1 -0
  411. package/dist/chunks/runWorkflowHeadless-1.0.9-qzevh0jq.mjs +10 -0
  412. package/dist/chunks/sandbox-adapter-1.0.9-7vzjdzm5.mjs +1 -0
  413. package/dist/chunks/sandbox-toggle-1.0.9-q22mn3qe.mjs +1 -0
  414. package/dist/chunks/session-1.0.9-hnswn4q3.mjs +2 -0
  415. package/dist/chunks/sessionDiscovery-1.0.9-ap3h87gt.mjs +1 -0
  416. package/dist/chunks/sessionFileAccessHooks-1.0.9-266mnj7x.mjs +1 -0
  417. package/dist/chunks/sessionStorage-1.0.9-kdgvfddk.mjs +1 -0
  418. package/dist/chunks/settings-1.0.9-1avp22jd.mjs +1 -0
  419. package/dist/chunks/setup-1.0.9-v2ar4w15.mjs +5 -0
  420. package/dist/chunks/sinks-1.0.9-03y6p189.mjs +1 -0
  421. package/dist/chunks/skills-1.0.9-7m3bv7w4.mjs +1 -0
  422. package/dist/chunks/startupProfiler-1.0.9-3pbpjpsx.mjs +1 -0
  423. package/dist/chunks/startupUpdateCheck-1.0.9-r287g8qr.mjs +1 -0
  424. package/dist/chunks/state-1.0.9-5vj2cfb7.mjs +1 -0
  425. package/dist/chunks/stats-1.0.9-5wpymg6m.mjs +6 -0
  426. package/dist/chunks/status-1.0.9-zcea5prt.mjs +1 -0
  427. package/dist/chunks/stickers-1.0.9-01r7j7ce.mjs +1 -0
  428. package/dist/chunks/subprocessEnv-1.0.9-mknwnjve.mjs +1 -0
  429. package/dist/chunks/tasks-1.0.9-cenyj69d.mjs +1 -0
  430. package/dist/chunks/teamHelpers-1.0.9-7hr689j5.mjs +1 -0
  431. package/dist/chunks/teammateModeSnapshot-1.0.9-r6bjthhg.mjs +1 -0
  432. package/dist/chunks/teleport-1.0.9-3a8fh64n.mjs +1 -0
  433. package/dist/chunks/terminalSetup-1.0.9-dbp1dey3.mjs +1 -0
  434. package/dist/chunks/theme-1.0.9-he0pz8e5.mjs +1 -0
  435. package/dist/chunks/thinkback-1.0.9-taf9vg12.mjs +1 -0
  436. package/dist/chunks/thinkback-play-1.0.9-11em8wf4.mjs +1 -0
  437. package/dist/chunks/toolPool-1.0.9-r3vtdta9.mjs +1 -0
  438. package/dist/chunks/toolSearch-1.0.9-kwvr4k8b.mjs +1 -0
  439. package/dist/chunks/tools-1.0.9-2tg8nvhb.mjs +1 -0
  440. package/dist/chunks/trustedDevice-1.0.9-0q7ygrn2.mjs +1 -0
  441. package/dist/chunks/turndown.cjs-1.0.9-579kp1mn.mjs +69 -0
  442. package/dist/chunks/types-1.0.9-8q18d5tt.mjs +1 -0
  443. package/dist/chunks/ultrareviewCommand-1.0.9-9ejdt7py.mjs +4 -0
  444. package/dist/chunks/update-1.0.9-85n1z4v4.mjs +88 -0
  445. package/dist/chunks/upgrade-1.0.9-7q7cawa0.mjs +1 -0
  446. package/dist/chunks/upload-1.0.9-51kq9qt0.mjs +7 -0
  447. package/dist/chunks/upstreamproxy-1.0.9-59ykzeyj.mjs +14 -0
  448. package/dist/chunks/url-handler-napi-1.0.9-x7vgzkpg.mjs +1 -0
  449. package/dist/chunks/usage-1.0.9-z798edp5.mjs +1 -0
  450. package/dist/chunks/util-1.0.9-7kephmmr.mjs +1 -0
  451. package/dist/chunks/utils-1.0.9-ek4v8a00.mjs +1 -0
  452. package/dist/chunks/vim-1.0.9-kj0qj8nh.mjs +1 -0
  453. package/dist/chunks/watchLoop-1.0.9-r1awam6x.mjs +13 -0
  454. package/dist/chunks/watcher-1.0.9-9j8zqhdf.mjs +1 -0
  455. package/dist/chunks/wiki-1.0.9-w9wz311p.mjs +132 -0
  456. package/dist/chunks/workflows-1.0.9-9bwm4jqm.mjs +1 -0
  457. package/dist/chunks/worktree-1.0.9-wnbd6zc9.mjs +1 -0
  458. package/dist/chunks/worktreeModeEnabled-1.0.9-wjt137fb.mjs +1 -0
  459. package/dist/chunks/wrapper-1.0.9-dykv81xe.mjs +7 -0
  460. package/dist/cli.mjs +2 -2
  461. package/dist/help-workflow.txt +12 -0
  462. package/dist/help.txt +1 -0
  463. package/install.cjs +17 -1
  464. package/package.json +9 -9
  465. package/dist/chunks/AgentTool-1.0.7-syk5wnkb.mjs +0 -1
  466. package/dist/chunks/App-1.0.7-9xht4gsa.mjs +0 -1
  467. package/dist/chunks/ApproveApiKey-1.0.7-dnv7dmn7.mjs +0 -1
  468. package/dist/chunks/AssistantSessionChooser-1.0.7-q24ws7x8.mjs +0 -1
  469. package/dist/chunks/AutoModeOptInDialog-1.0.7-e3kma94j.mjs +0 -1
  470. package/dist/chunks/BypassPermissionsModeDialog-1.0.7-2m1y9b7f.mjs +0 -1
  471. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.7-1gpcb873.mjs +0 -1
  472. package/dist/chunks/ConsoleOAuthFlow-1.0.7-pyrnmhtt.mjs +0 -1
  473. package/dist/chunks/DiffDialog-1.0.7-whkynyby.mjs +0 -7
  474. package/dist/chunks/Doctor-1.0.7-3yedapcw.mjs +0 -1
  475. package/dist/chunks/ExplorerDialog-1.0.7-99ytgtp8.mjs +0 -6
  476. package/dist/chunks/Grove-1.0.7-c6wygjxb.mjs +0 -1
  477. package/dist/chunks/ITermBackend-1.0.7-a8a42yx1.mjs +0 -1
  478. package/dist/chunks/InvalidConfigDialog-1.0.7-0e1f33ss.mjs +0 -1
  479. package/dist/chunks/InvalidSettingsDialog-1.0.7-141f7djg.mjs +0 -1
  480. package/dist/chunks/MigrationDialog-1.0.7-scbcqde5.mjs +0 -1
  481. package/dist/chunks/Onboarding-1.0.7-9f7rpy9p.mjs +0 -1
  482. package/dist/chunks/ProviderManager-1.0.7-6mjnccee.mjs +0 -1
  483. package/dist/chunks/REPL-1.0.7-3xhews8d.mjs +0 -1
  484. package/dist/chunks/ResumeConversation-1.0.7-qq2sfpfr.mjs +0 -1
  485. package/dist/chunks/SnapshotUpdateDialog-1.0.7-x9djv2x5.mjs +0 -1
  486. package/dist/chunks/TeleportProgress-1.0.7-f6caprdb.mjs +0 -1
  487. package/dist/chunks/TeleportRepoMismatchDialog-1.0.7-b511561j.mjs +0 -1
  488. package/dist/chunks/TeleportResumeWrapper-1.0.7-9twx384a.mjs +0 -1
  489. package/dist/chunks/TmuxBackend-1.0.7-x3j2hxpn.mjs +0 -9
  490. package/dist/chunks/ToolSearchTool-1.0.7-1y7h6yxr.mjs +0 -1
  491. package/dist/chunks/TrustDialog-1.0.7-na359dm9.mjs +0 -1
  492. package/dist/chunks/activeProvider-1.0.7-2vx6krky.mjs +0 -1
  493. package/dist/chunks/add-dir-1.0.7-r9eb0fmb.mjs +0 -1
  494. package/dist/chunks/agentTypes-1.0.7-v46w2p6e.mjs +0 -1
  495. package/dist/chunks/agents-1.0.7-ekjscjc4.mjs +0 -3
  496. package/dist/chunks/agents-1.0.7-v22jz68n.mjs +0 -110
  497. package/dist/chunks/api-1.0.7-v520kz7p.mjs +0 -1
  498. package/dist/chunks/asciicast-1.0.7-r61pgxmk.mjs +0 -1
  499. package/dist/chunks/assistant-1.0.7-c12zzeyg.mjs +0 -1
  500. package/dist/chunks/auth-1.0.7-gv0th62c.mjs +0 -1
  501. package/dist/chunks/auth-1.0.7-y9sxvs6e.mjs +0 -1
  502. package/dist/chunks/autoMode-1.0.7-yq0m3sf6.mjs +0 -48
  503. package/dist/chunks/autoUpdater-1.0.7-6fqzjxwg.mjs +0 -1
  504. package/dist/chunks/backgroundHousekeeping-1.0.7-7mzhb52b.mjs +0 -1
  505. package/dist/chunks/branch-1.0.7-66ms82bv.mjs +0 -4
  506. package/dist/chunks/bridge-1.0.7-cd3w20b9.mjs +0 -2
  507. package/dist/chunks/bridgeConfig-1.0.7-wztmwmxc.mjs +0 -1
  508. package/dist/chunks/bridgeEnabled-1.0.7-046e65f0.mjs +0 -1
  509. package/dist/chunks/bridgeMain-1.0.7-knt8h92j.mjs +0 -88
  510. package/dist/chunks/bridgePointer-1.0.7-v2crbecf.mjs +0 -1
  511. package/dist/chunks/btw-1.0.7-eg973xg5.mjs +0 -1
  512. package/dist/chunks/buddy-1.0.7-ypvr18ck.mjs +0 -3
  513. package/dist/chunks/cacache-1.0.7-0tzh2dcw.mjs +0 -1
  514. package/dist/chunks/cache-probe-1.0.7-hhfr94gj.mjs +0 -21
  515. package/dist/chunks/cacheStats-1.0.7-51t2bh05.mjs +0 -4
  516. package/dist/chunks/caches-1.0.7-mvqghhkx.mjs +0 -1
  517. package/dist/chunks/claudeDesktop-1.0.7-1mrhcxq6.mjs +0 -1
  518. package/dist/chunks/claudemd-1.0.7-kgynnx5a.mjs +0 -1
  519. package/dist/chunks/clear-1.0.7-08jf28zt.mjs +0 -1
  520. package/dist/chunks/clearTerminal-1.0.7-z4gkskcj.mjs +0 -1
  521. package/dist/chunks/cli-1.0.7-01cbaw74.mjs +0 -2
  522. package/dist/chunks/cli-1.0.7-05enwpnp.mjs +0 -2
  523. package/dist/chunks/cli-1.0.7-073ekpkk.mjs +0 -21
  524. package/dist/chunks/cli-1.0.7-0dmnsy4c.mjs +0 -2
  525. package/dist/chunks/cli-1.0.7-0qbp0ac0.mjs +0 -17
  526. package/dist/chunks/cli-1.0.7-15qvkn0q.mjs +0 -15
  527. package/dist/chunks/cli-1.0.7-16wdg8r0.mjs +0 -18
  528. package/dist/chunks/cli-1.0.7-1fwxyw8s.mjs +0 -2
  529. package/dist/chunks/cli-1.0.7-1j68v2d8.mjs +0 -3
  530. package/dist/chunks/cli-1.0.7-1mkaw3aw.mjs +0 -2
  531. package/dist/chunks/cli-1.0.7-1r1y3a1c.mjs +0 -2
  532. package/dist/chunks/cli-1.0.7-1rw3xdy0.mjs +0 -58
  533. package/dist/chunks/cli-1.0.7-1s12ckef.mjs +0 -2
  534. package/dist/chunks/cli-1.0.7-1sgef4sw.mjs +0 -2
  535. package/dist/chunks/cli-1.0.7-1ty38mre.mjs +0 -2
  536. package/dist/chunks/cli-1.0.7-1xe7m9s1.mjs +0 -4
  537. package/dist/chunks/cli-1.0.7-1y8xdp9n.mjs +0 -2
  538. package/dist/chunks/cli-1.0.7-2438cvr1.mjs +0 -3
  539. package/dist/chunks/cli-1.0.7-2cajdt14.mjs +0 -2
  540. package/dist/chunks/cli-1.0.7-2csh6jt3.mjs +0 -2
  541. package/dist/chunks/cli-1.0.7-2k1bt916.mjs +0 -2
  542. package/dist/chunks/cli-1.0.7-2pyjzmpq.mjs +0 -2
  543. package/dist/chunks/cli-1.0.7-2wm3s497.mjs +0 -2
  544. package/dist/chunks/cli-1.0.7-2xw882yk.mjs +0 -2
  545. package/dist/chunks/cli-1.0.7-39nnxy0p.mjs +0 -2
  546. package/dist/chunks/cli-1.0.7-3arv8y4s.mjs +0 -12
  547. package/dist/chunks/cli-1.0.7-3fx5xqzq.mjs +0 -2
  548. package/dist/chunks/cli-1.0.7-3ke0fbeq.mjs +0 -6
  549. package/dist/chunks/cli-1.0.7-3kmf6s21.mjs +0 -67
  550. package/dist/chunks/cli-1.0.7-3p608q44.mjs +0 -2
  551. package/dist/chunks/cli-1.0.7-3pqhf5bj.mjs +0 -4
  552. package/dist/chunks/cli-1.0.7-3qnpcgyc.mjs +0 -2
  553. package/dist/chunks/cli-1.0.7-3s41c41h.mjs +0 -20
  554. package/dist/chunks/cli-1.0.7-3s4ccas2.mjs +0 -2
  555. package/dist/chunks/cli-1.0.7-3xrc45nn.mjs +0 -2
  556. package/dist/chunks/cli-1.0.7-3z1z90gf.mjs +0 -4
  557. package/dist/chunks/cli-1.0.7-41jm6paw.mjs +0 -2
  558. package/dist/chunks/cli-1.0.7-45px4q2q.mjs +0 -12
  559. package/dist/chunks/cli-1.0.7-4a67zfe7.mjs +0 -2
  560. package/dist/chunks/cli-1.0.7-4qwjg996.mjs +0 -2
  561. package/dist/chunks/cli-1.0.7-538yatrk.mjs +0 -2
  562. package/dist/chunks/cli-1.0.7-5f0y2nxn.mjs +0 -2
  563. package/dist/chunks/cli-1.0.7-5h2vgm7b.mjs +0 -2
  564. package/dist/chunks/cli-1.0.7-5kc9g0m9.mjs +0 -3
  565. package/dist/chunks/cli-1.0.7-5qss5m61.mjs +0 -2
  566. package/dist/chunks/cli-1.0.7-5rxjz9r1.mjs +0 -2
  567. package/dist/chunks/cli-1.0.7-65xw81pn.mjs +0 -7
  568. package/dist/chunks/cli-1.0.7-67z7m1zx.mjs +0 -15
  569. package/dist/chunks/cli-1.0.7-6ncp8ban.mjs +0 -2
  570. package/dist/chunks/cli-1.0.7-6r3vkkzw.mjs +0 -2
  571. package/dist/chunks/cli-1.0.7-6rt1agkh.mjs +0 -2
  572. package/dist/chunks/cli-1.0.7-6wm7jzey.mjs +0 -2
  573. package/dist/chunks/cli-1.0.7-6yr2e385.mjs +0 -2
  574. package/dist/chunks/cli-1.0.7-73e5dz55.mjs +0 -2
  575. package/dist/chunks/cli-1.0.7-757ex32c.mjs +0 -199
  576. package/dist/chunks/cli-1.0.7-7egbzjdg.mjs +0 -12
  577. package/dist/chunks/cli-1.0.7-7gmv86pv.mjs +0 -25
  578. package/dist/chunks/cli-1.0.7-7qm9503t.mjs +0 -4
  579. package/dist/chunks/cli-1.0.7-7xhry9cz.mjs +0 -8
  580. package/dist/chunks/cli-1.0.7-7yrvwwdb.mjs +0 -2
  581. package/dist/chunks/cli-1.0.7-84dx5y2m.mjs +0 -2
  582. package/dist/chunks/cli-1.0.7-8fj15s8a.mjs +0 -2
  583. package/dist/chunks/cli-1.0.7-8hepstgz.mjs +0 -2
  584. package/dist/chunks/cli-1.0.7-8pfh7aha.mjs +0 -2
  585. package/dist/chunks/cli-1.0.7-96mb1gmj.mjs +0 -2
  586. package/dist/chunks/cli-1.0.7-96qpk0ct.mjs +0 -2
  587. package/dist/chunks/cli-1.0.7-97fqbfff.mjs +0 -2
  588. package/dist/chunks/cli-1.0.7-9p7hfa00.mjs +0 -2
  589. package/dist/chunks/cli-1.0.7-9pc6jb5f.mjs +0 -2
  590. package/dist/chunks/cli-1.0.7-9ws1j17m.mjs +0 -2
  591. package/dist/chunks/cli-1.0.7-a32vv8nk.mjs +0 -2
  592. package/dist/chunks/cli-1.0.7-a78rj0kd.mjs +0 -9
  593. package/dist/chunks/cli-1.0.7-a7fahcda.mjs +0 -2
  594. package/dist/chunks/cli-1.0.7-a808xdj3.mjs +0 -3
  595. package/dist/chunks/cli-1.0.7-aa7vfbxa.mjs +0 -2
  596. package/dist/chunks/cli-1.0.7-af1m1akw.mjs +0 -2
  597. package/dist/chunks/cli-1.0.7-akbc4ch3.mjs +0 -2
  598. package/dist/chunks/cli-1.0.7-an2jwvew.mjs +0 -9
  599. package/dist/chunks/cli-1.0.7-anrcmph3.mjs +0 -3
  600. package/dist/chunks/cli-1.0.7-av93xde0.mjs +0 -2
  601. package/dist/chunks/cli-1.0.7-b16t7f1a.mjs +0 -2
  602. package/dist/chunks/cli-1.0.7-b2pf78c9.mjs +0 -2
  603. package/dist/chunks/cli-1.0.7-b778v1dh.mjs +0 -2
  604. package/dist/chunks/cli-1.0.7-baqj15a8.mjs +0 -2
  605. package/dist/chunks/cli-1.0.7-bc3sxk1j.mjs +0 -26
  606. package/dist/chunks/cli-1.0.7-bfe6f9c6.mjs +0 -2
  607. package/dist/chunks/cli-1.0.7-bkm2xek7.mjs +0 -2
  608. package/dist/chunks/cli-1.0.7-bn0sb2w7.mjs +0 -2
  609. package/dist/chunks/cli-1.0.7-c8kxp6h0.mjs +0 -2
  610. package/dist/chunks/cli-1.0.7-cb42m3ff.mjs +0 -2
  611. package/dist/chunks/cli-1.0.7-cf47wta1.mjs +0 -2
  612. package/dist/chunks/cli-1.0.7-cs7epg9a.mjs +0 -2
  613. package/dist/chunks/cli-1.0.7-d1zc020r.mjs +0 -133
  614. package/dist/chunks/cli-1.0.7-d3txxwh5.mjs +0 -2
  615. package/dist/chunks/cli-1.0.7-dbyr517p.mjs +0 -4
  616. package/dist/chunks/cli-1.0.7-ddhhvx60.mjs +0 -2
  617. package/dist/chunks/cli-1.0.7-df9p9tj8.mjs +0 -24
  618. package/dist/chunks/cli-1.0.7-dhdv7vtc.mjs +0 -50
  619. package/dist/chunks/cli-1.0.7-dnn18rgf.mjs +0 -2
  620. package/dist/chunks/cli-1.0.7-dr2dca7n.mjs +0 -2
  621. package/dist/chunks/cli-1.0.7-f43w1f9g.mjs +0 -42
  622. package/dist/chunks/cli-1.0.7-f6490vr3.mjs +0 -2
  623. package/dist/chunks/cli-1.0.7-fcfrsawp.mjs +0 -2
  624. package/dist/chunks/cli-1.0.7-fckzct0z.mjs +0 -2
  625. package/dist/chunks/cli-1.0.7-ff6dfmp3.mjs +0 -2
  626. package/dist/chunks/cli-1.0.7-fmdws8pg.mjs +0 -2
  627. package/dist/chunks/cli-1.0.7-fvr9xx0m.mjs +0 -2
  628. package/dist/chunks/cli-1.0.7-g1hrx2r5.mjs +0 -18
  629. package/dist/chunks/cli-1.0.7-g42rsvs5.mjs +0 -2
  630. package/dist/chunks/cli-1.0.7-g6d9snde.mjs +0 -3
  631. package/dist/chunks/cli-1.0.7-ga6hk3n2.mjs +0 -3
  632. package/dist/chunks/cli-1.0.7-ghxmw318.mjs +0 -2
  633. package/dist/chunks/cli-1.0.7-gj1806bk.mjs +0 -2
  634. package/dist/chunks/cli-1.0.7-gk53nva2.mjs +0 -2
  635. package/dist/chunks/cli-1.0.7-gnwjbdch.mjs +0 -2
  636. package/dist/chunks/cli-1.0.7-gp71tfwe.mjs +0 -2
  637. package/dist/chunks/cli-1.0.7-gq9fp39n.mjs +0 -2
  638. package/dist/chunks/cli-1.0.7-gqf40mqk.mjs +0 -24
  639. package/dist/chunks/cli-1.0.7-h1g9rk4g.mjs +0 -4
  640. package/dist/chunks/cli-1.0.7-hd6xn6rt.mjs +0 -2
  641. package/dist/chunks/cli-1.0.7-hfcehnx9.mjs +0 -3
  642. package/dist/chunks/cli-1.0.7-hw8dxgj2.mjs +0 -2
  643. package/dist/chunks/cli-1.0.7-j31m0f1y.mjs +0 -2
  644. package/dist/chunks/cli-1.0.7-j6hxvf4r.mjs +0 -2
  645. package/dist/chunks/cli-1.0.7-j6ndkfy3.mjs +0 -2
  646. package/dist/chunks/cli-1.0.7-jn7nay2r.mjs +0 -2
  647. package/dist/chunks/cli-1.0.7-jz4phmb3.mjs +0 -3
  648. package/dist/chunks/cli-1.0.7-k38j6sgc.mjs +0 -2
  649. package/dist/chunks/cli-1.0.7-k3nnbdbv.mjs +0 -2
  650. package/dist/chunks/cli-1.0.7-kegj01e5.mjs +0 -133
  651. package/dist/chunks/cli-1.0.7-kf237s65.mjs +0 -2
  652. package/dist/chunks/cli-1.0.7-kgbv7bt5.mjs +0 -17
  653. package/dist/chunks/cli-1.0.7-khd0yqhk.mjs +0 -2
  654. package/dist/chunks/cli-1.0.7-m17d94h8.mjs +0 -2
  655. package/dist/chunks/cli-1.0.7-mcmpb4cd.mjs +0 -2
  656. package/dist/chunks/cli-1.0.7-mv7ptsre.mjs +0 -2
  657. package/dist/chunks/cli-1.0.7-mwj9f8rw.mjs +0 -59
  658. package/dist/chunks/cli-1.0.7-mznh91ce.mjs +0 -2
  659. package/dist/chunks/cli-1.0.7-n5hf2vsh.mjs +0 -2
  660. package/dist/chunks/cli-1.0.7-na7ksfyj.mjs +0 -2
  661. package/dist/chunks/cli-1.0.7-nhg85avf.mjs +0 -2
  662. package/dist/chunks/cli-1.0.7-nnd4za11.mjs +0 -3
  663. package/dist/chunks/cli-1.0.7-p4p38dky.mjs +0 -3
  664. package/dist/chunks/cli-1.0.7-p5setvdk.mjs +0 -2
  665. package/dist/chunks/cli-1.0.7-ph9qjcjb.mjs +0 -2
  666. package/dist/chunks/cli-1.0.7-pscxy55m.mjs +0 -3
  667. package/dist/chunks/cli-1.0.7-pxmf9kyf.mjs +0 -2
  668. package/dist/chunks/cli-1.0.7-pyacw9kn.mjs +0 -5
  669. package/dist/chunks/cli-1.0.7-q3ezj6q3.mjs +0 -2
  670. package/dist/chunks/cli-1.0.7-q7w0ex1x.mjs +0 -2
  671. package/dist/chunks/cli-1.0.7-qdtt526e.mjs +0 -2
  672. package/dist/chunks/cli-1.0.7-qjtqaam0.mjs +0 -2
  673. package/dist/chunks/cli-1.0.7-qknq8k3p.mjs +0 -2
  674. package/dist/chunks/cli-1.0.7-qmm35cv2.mjs +0 -39
  675. package/dist/chunks/cli-1.0.7-qxjpkptr.mjs +0 -2
  676. package/dist/chunks/cli-1.0.7-r4h75bn4.mjs +0 -2
  677. package/dist/chunks/cli-1.0.7-rbrr75z2.mjs +0 -2
  678. package/dist/chunks/cli-1.0.7-rz8h7nks.mjs +0 -2
  679. package/dist/chunks/cli-1.0.7-s11nkveb.mjs +0 -24
  680. package/dist/chunks/cli-1.0.7-s27f8y4p.mjs +0 -2
  681. package/dist/chunks/cli-1.0.7-s5mhxbhn.mjs +0 -5476
  682. package/dist/chunks/cli-1.0.7-s6jjnyxd.mjs +0 -2
  683. package/dist/chunks/cli-1.0.7-s8e8tq3y.mjs +0 -2
  684. package/dist/chunks/cli-1.0.7-sjpx2md1.mjs +0 -2
  685. package/dist/chunks/cli-1.0.7-skm59maw.mjs +0 -2
  686. package/dist/chunks/cli-1.0.7-sv4vj25b.mjs +0 -2
  687. package/dist/chunks/cli-1.0.7-t8m8vafg.mjs +0 -4
  688. package/dist/chunks/cli-1.0.7-tf8b1vhx.mjs +0 -2
  689. package/dist/chunks/cli-1.0.7-tvz0kwb6.mjs +0 -25
  690. package/dist/chunks/cli-1.0.7-txhggtd1.mjs +0 -16
  691. package/dist/chunks/cli-1.0.7-tz22r50p.mjs +0 -2
  692. package/dist/chunks/cli-1.0.7-vcsdnmc0.mjs +0 -2
  693. package/dist/chunks/cli-1.0.7-veqj11zy.mjs +0 -3
  694. package/dist/chunks/cli-1.0.7-vjgedfc4.mjs +0 -2
  695. package/dist/chunks/cli-1.0.7-vtd2sbnq.mjs +0 -3
  696. package/dist/chunks/cli-1.0.7-vw4n13wr.mjs +0 -2
  697. package/dist/chunks/cli-1.0.7-vx0rcgfm.mjs +0 -2
  698. package/dist/chunks/cli-1.0.7-w3g8c9m3.mjs +0 -18
  699. package/dist/chunks/cli-1.0.7-wahp9jjm.mjs +0 -5
  700. package/dist/chunks/cli-1.0.7-wc28nq81.mjs +0 -6
  701. package/dist/chunks/cli-1.0.7-wc4y0k3e.mjs +0 -12
  702. package/dist/chunks/cli-1.0.7-wgt5ay2x.mjs +0 -6
  703. package/dist/chunks/cli-1.0.7-wk9hs648.mjs +0 -2
  704. package/dist/chunks/cli-1.0.7-wmrv4paj.mjs +0 -45
  705. package/dist/chunks/cli-1.0.7-wqrgw4kw.mjs +0 -2
  706. package/dist/chunks/cli-1.0.7-ws7404wd.mjs +0 -2
  707. package/dist/chunks/cli-1.0.7-wwy64zs8.mjs +0 -4
  708. package/dist/chunks/cli-1.0.7-xdt2g9p7.mjs +0 -2
  709. package/dist/chunks/cli-1.0.7-xga48xv7.mjs +0 -2
  710. package/dist/chunks/cli-1.0.7-xh0afj9p.mjs +0 -2
  711. package/dist/chunks/cli-1.0.7-xhb3g1xh.mjs +0 -2
  712. package/dist/chunks/cli-1.0.7-xtj9j6ha.mjs +0 -15
  713. package/dist/chunks/cli-1.0.7-xvhkprcw.mjs +0 -2
  714. package/dist/chunks/cli-1.0.7-xxa9e3we.mjs +0 -4
  715. package/dist/chunks/cli-1.0.7-y8sq6jh3.mjs +0 -4
  716. package/dist/chunks/cli-1.0.7-y94dd4yd.mjs +0 -2
  717. package/dist/chunks/cli-1.0.7-yatztvfp.mjs +0 -2
  718. package/dist/chunks/cli-1.0.7-yb9sxq0k.mjs +0 -2
  719. package/dist/chunks/cli-1.0.7-ybcht1kp.mjs +0 -2
  720. package/dist/chunks/cli-1.0.7-yc90byps.mjs +0 -34
  721. package/dist/chunks/cli-1.0.7-yyqg2waz.mjs +0 -2
  722. package/dist/chunks/cli-1.0.7-z53gtmpk.mjs +0 -6
  723. package/dist/chunks/cli-1.0.7-z5vgrn57.mjs +0 -2
  724. package/dist/chunks/cli-1.0.7-z9fvy0d8.mjs +0 -2
  725. package/dist/chunks/cli-1.0.7-zjapdrt8.mjs +0 -6
  726. package/dist/chunks/cli-1.0.7-zmqm6p6t.mjs +0 -2
  727. package/dist/chunks/cli-1.0.7-zsbst1mq.mjs +0 -1
  728. package/dist/chunks/cli-1.0.7-zwr4ga8c.mjs +0 -2
  729. package/dist/chunks/client-1.0.7-n8414pey.mjs +0 -1
  730. package/dist/chunks/color-1.0.7-99fmrmyq.mjs +0 -1
  731. package/dist/chunks/compact-1.0.7-91sa41px.mjs +0 -3
  732. package/dist/chunks/config-1.0.7-bjt981nd.mjs +0 -1
  733. package/dist/chunks/config-1.0.7-vfbd76cq.mjs +0 -1
  734. package/dist/chunks/constants-1.0.7-fj97y7dq.mjs +0 -1
  735. package/dist/chunks/context-1.0.7-qmktq4pg.mjs +0 -1
  736. package/dist/chunks/context-noninteractive-1.0.7-w9828p3h.mjs +0 -1
  737. package/dist/chunks/conversation-1.0.7-d5q8rrwx.mjs +0 -1
  738. package/dist/chunks/copilotHeaders-1.0.7-mhsm6qwp.mjs +0 -1
  739. package/dist/chunks/copy-1.0.7-hznd9dqf.mjs +0 -9
  740. package/dist/chunks/cost-1.0.7-hbpz16jx.mjs +0 -1
  741. package/dist/chunks/createSSHSession-1.0.7-5s4sy0qv.mjs +0 -1
  742. package/dist/chunks/createSession-1.0.7-mha5sscw.mjs +0 -1
  743. package/dist/chunks/debug-1.0.7-6kcgjwgp.mjs +0 -1
  744. package/dist/chunks/defaultActionDeps-1.0.7-5x2a3qnr.mjs +0 -1446
  745. package/dist/chunks/desktop-1.0.7-37m19pef.mjs +0 -1
  746. package/dist/chunks/detectRepository-1.0.7-3ffa7wfs.mjs +0 -1
  747. package/dist/chunks/detection-1.0.7-bcwz3kz9.mjs +0 -1
  748. package/dist/chunks/diff-1.0.7-60vwaapm.mjs +0 -1
  749. package/dist/chunks/doctor-1.0.7-bc3r1p04.mjs +0 -1
  750. package/dist/chunks/doctorDiagnostic-1.0.7-qe18rzqr.mjs +0 -1
  751. package/dist/chunks/earlyInput-1.0.7-51cxad4b.mjs +0 -1
  752. package/dist/chunks/effort-1.0.7-mckjwtdk.mjs +0 -10
  753. package/dist/chunks/engine-1.0.7-1kqhk6mc.mjs +0 -1
  754. package/dist/chunks/envLessBridgeConfig-1.0.7-hbpge4a8.mjs +0 -1
  755. package/dist/chunks/envUtils-1.0.7-m63cpkg3.mjs +0 -1
  756. package/dist/chunks/environmentSelection-1.0.7-kg2xnt7t.mjs +0 -1
  757. package/dist/chunks/environments-1.0.7-jcrcam7e.mjs +0 -1
  758. package/dist/chunks/errors-1.0.7-vhtw6kg6.mjs +0 -1
  759. package/dist/chunks/exampleCommands-1.0.7-f254y3tf.mjs +0 -1
  760. package/dist/chunks/exit-1.0.7-f5s73g22.mjs +0 -1
  761. package/dist/chunks/explorer-1.0.7-yjpphptq.mjs +0 -1
  762. package/dist/chunks/export-1.0.7-7kn40p9m.mjs +0 -2
  763. package/dist/chunks/extra-usage-1.0.7-xwb7xfe4.mjs +0 -1
  764. package/dist/chunks/extra-usage-noninteractive-1.0.7-0dpsjjh0.mjs +0 -1
  765. package/dist/chunks/fast-1.0.7-9eg9g1mf.mjs +0 -1
  766. package/dist/chunks/feedback-1.0.7-kkw4fdj8.mjs +0 -14
  767. package/dist/chunks/firstPartyEventLogger-1.0.7-yaekw6be.mjs +0 -1
  768. package/dist/chunks/git-1.0.7-t3824xkx.mjs +0 -1
  769. package/dist/chunks/githubModelsCredentials-1.0.7-m79e1ga1.mjs +0 -1
  770. package/dist/chunks/goal-1.0.7-jkmcdmm1.mjs +0 -4
  771. package/dist/chunks/grove-1.0.7-th5kn0n5.mjs +0 -1
  772. package/dist/chunks/growthbook-1.0.7-hnr2hv9t.mjs +0 -1
  773. package/dist/chunks/headless-1.0.7-2w17kqac.mjs +0 -2
  774. package/dist/chunks/heapdump-1.0.7-1qvsds14.mjs +0 -6
  775. package/dist/chunks/help-1.0.7-33ennxwb.mjs +0 -1
  776. package/dist/chunks/hookChains-1.0.7-8gt4r1qg.mjs +0 -3
  777. package/dist/chunks/hooks-1.0.7-970fsrks.mjs +0 -1
  778. package/dist/chunks/hooks-1.0.7-xyrevnk8.mjs +0 -79
  779. package/dist/chunks/ide-1.0.7-knfed9xe.mjs +0 -3
  780. package/dist/chunks/image-processor-napi-1.0.7-5c1fwxwf.mjs +0 -1
  781. package/dist/chunks/inboundAttachments-1.0.7-5p98j8m2.mjs +0 -1
  782. package/dist/chunks/index-1.0.7-0ce2q3me.mjs +0 -17
  783. package/dist/chunks/index-1.0.7-3tbze0ns.mjs +0 -1
  784. package/dist/chunks/index-1.0.7-3z09rqyx.mjs +0 -1
  785. package/dist/chunks/index-1.0.7-4g6596jt.mjs +0 -1
  786. package/dist/chunks/index-1.0.7-59cvfmen.mjs +0 -1
  787. package/dist/chunks/index-1.0.7-63vq5fws.mjs +0 -1
  788. package/dist/chunks/index-1.0.7-6wcbk6ve.mjs +0 -5
  789. package/dist/chunks/index-1.0.7-84wm5p43.mjs +0 -1
  790. package/dist/chunks/index-1.0.7-c0jfw97a.mjs +0 -9
  791. package/dist/chunks/index-1.0.7-dds9fcry.mjs +0 -1
  792. package/dist/chunks/index-1.0.7-ecq1qwpq.mjs +0 -1
  793. package/dist/chunks/index-1.0.7-gm6exxqq.mjs +0 -30
  794. package/dist/chunks/index-1.0.7-jh8savg9.mjs +0 -9
  795. package/dist/chunks/index-1.0.7-k8k38nbt.mjs +0 -1
  796. package/dist/chunks/index-1.0.7-kyyfrf6j.mjs +0 -1
  797. package/dist/chunks/index-1.0.7-m23r2bmv.mjs +0 -1
  798. package/dist/chunks/index-1.0.7-mmm10tac.mjs +0 -2
  799. package/dist/chunks/index-1.0.7-p82yhqst.mjs +0 -1
  800. package/dist/chunks/index-1.0.7-vyafwe23.mjs +0 -1
  801. package/dist/chunks/index-1.0.7-wazwyjm7.mjs +0 -1
  802. package/dist/chunks/index-1.0.7-wd33rv5q.mjs +0 -1
  803. package/dist/chunks/index-1.0.7-yhxty6kz.mjs +0 -1
  804. package/dist/chunks/index-1.0.7-zp3vs07b.mjs +0 -2
  805. package/dist/chunks/init-1.0.7-y29e6mb3.mjs +0 -1
  806. package/dist/chunks/initReplBridge-1.0.7-14rmpkte.mjs +0 -1
  807. package/dist/chunks/ink-1.0.7-gf3qdamf.mjs +0 -1
  808. package/dist/chunks/insights-1.0.7-hd6460mk.mjs +0 -870
  809. package/dist/chunks/install-1.0.7-antesxaa.mjs +0 -1
  810. package/dist/chunks/install-github-app-1.0.7-0asc4ajr.mjs +0 -149
  811. package/dist/chunks/install-slack-app-1.0.7-zwna6gq3.mjs +0 -1
  812. package/dist/chunks/instrumentation-1.0.7-wvv85h9t.mjs +0 -1
  813. package/dist/chunks/interactiveHelpers-1.0.7-pkmbfs0b.mjs +0 -1
  814. package/dist/chunks/keybindings-1.0.7-emp8m2vr.mjs +0 -2
  815. package/dist/chunks/knowledge-1.0.7-6hv6538k.mjs +0 -2
  816. package/dist/chunks/latestVersionCache-1.0.7-t1gtsxte.mjs +0 -1
  817. package/dist/chunks/loadAgentsDir-1.0.7-j5mq4f5x.mjs +0 -1
  818. package/dist/chunks/loadPluginHooks-1.0.7-6tbrq15z.mjs +0 -1
  819. package/dist/chunks/loadPluginHooks-1.0.7-k2zgqtye.mjs +0 -1
  820. package/dist/chunks/log-1.0.7-pmgzzdy7.mjs +0 -1
  821. package/dist/chunks/main-1.0.7-esamqda3.mjs +0 -1
  822. package/dist/chunks/managedEnv-1.0.7-6mz7vwyt.mjs +0 -1
  823. package/dist/chunks/mcp-1.0.7-d4941tnp.mjs +0 -17
  824. package/dist/chunks/mcp-1.0.7-hjjdsn53.mjs +0 -4
  825. package/dist/chunks/mcp-1.0.7-skfyfspe.mjs +0 -1
  826. package/dist/chunks/mcpb-1.0.7-twwnd1ct.mjs +0 -1
  827. package/dist/chunks/memory-1.0.7-0r8q4re7.mjs +0 -3
  828. package/dist/chunks/model-1.0.7-d82p81ne.mjs +0 -2
  829. package/dist/chunks/model-1.0.7-xt8c58fg.mjs +0 -1
  830. package/dist/chunks/node-1.0.7-5h6w60zy.mjs +0 -12
  831. package/dist/chunks/oauth-1.0.7-gveatjqe.mjs +0 -1
  832. package/dist/chunks/openaiShim-1.0.7-q8aqfz40.mjs +0 -14
  833. package/dist/chunks/output-style-1.0.7-xnamzpre.mjs +0 -1
  834. package/dist/chunks/package-ZZWOLTXM-1.0.7-y8bvx3y5.mjs +0 -1
  835. package/dist/chunks/parseConnectUrl-1.0.7-we9ebc0h.mjs +0 -1
  836. package/dist/chunks/parser-1.0.7-20zgf2mq.mjs +0 -1
  837. package/dist/chunks/passes-1.0.7-gcnj20c4.mjs +0 -1
  838. package/dist/chunks/permissions-1.0.7-43y27rj9.mjs +0 -3
  839. package/dist/chunks/permissions-1.0.7-kw8fw9gd.mjs +0 -1
  840. package/dist/chunks/plan-1.0.7-z1k9hfr8.mjs +0 -1
  841. package/dist/chunks/plist-1.0.7-daxqmwqx.mjs +0 -1
  842. package/dist/chunks/plugin-1.0.7-66bqymg3.mjs +0 -29
  843. package/dist/chunks/pluginStartupCheck-1.0.7-w5krqm0w.mjs +0 -1
  844. package/dist/chunks/plugins-1.0.7-8njx3c0z.mjs +0 -9
  845. package/dist/chunks/preActionHook-1.0.7-a1hhphah.mjs +0 -2
  846. package/dist/chunks/print-1.0.7-xnncgmye.mjs +0 -57
  847. package/dist/chunks/privacy-settings-1.0.7-7gfaexn9.mjs +0 -1
  848. package/dist/chunks/process-1.0.7-9sx5xgpe.mjs +0 -1
  849. package/dist/chunks/processBashCommand-1.0.7-32dm20nc.mjs +0 -1
  850. package/dist/chunks/processSlashCommand-1.0.7-am0rnn44.mjs +0 -9
  851. package/dist/chunks/prompt-1.0.7-0yt5k7pt.mjs +0 -1
  852. package/dist/chunks/prompt-1.0.7-hfv56awc.mjs +0 -1
  853. package/dist/chunks/prompts-1.0.7-1p5km2m0.mjs +0 -1
  854. package/dist/chunks/protocolHandler-1.0.7-geqttcpz.mjs +0 -13
  855. package/dist/chunks/provider-1.0.7-y0j7q32j.mjs +0 -2
  856. package/dist/chunks/providerProfiles-1.0.7-s0zs9q1r.mjs +0 -1
  857. package/dist/chunks/providerValidation-1.0.7-aexhx4ft.mjs +0 -6
  858. package/dist/chunks/rate-limit-options-1.0.7-r4b2s2hk.mjs +0 -1
  859. package/dist/chunks/registerSubcommands-1.0.7-qmvr4jj4.mjs +0 -34
  860. package/dist/chunks/registry-1.0.7-be1gn584.mjs +0 -1
  861. package/dist/chunks/release-notes-1.0.7-tcr3xzz7.mjs +0 -5
  862. package/dist/chunks/reload-plugins-1.0.7-psfk2m91.mjs +0 -2
  863. package/dist/chunks/remote-env-1.0.7-xn5b9vx7.mjs +0 -1
  864. package/dist/chunks/remoteBridgeCore-1.0.7-hvnh9bv2.mjs +0 -1
  865. package/dist/chunks/remoteSession-1.0.7-870w4tbq.mjs +0 -1
  866. package/dist/chunks/rename-1.0.7-53emj8yj.mjs +0 -1
  867. package/dist/chunks/replBridgeHandle-1.0.7-cbrh6d8b.mjs +0 -1
  868. package/dist/chunks/replLauncher-1.0.7-zs2c9f7n.mjs +0 -1
  869. package/dist/chunks/resume-1.0.7-b5e8840g.mjs +0 -2
  870. package/dist/chunks/rewind-1.0.7-15a43rp5.mjs +0 -1
  871. package/dist/chunks/rootOptions-1.0.7-84t0zbkm.mjs +0 -1
  872. package/dist/chunks/sandbox-adapter-1.0.7-rs0gse4a.mjs +0 -1
  873. package/dist/chunks/sandbox-toggle-1.0.7-benxjznf.mjs +0 -1
  874. package/dist/chunks/session-1.0.7-9kyk2x4p.mjs +0 -2
  875. package/dist/chunks/sessionDiscovery-1.0.7-3z1nttw5.mjs +0 -1
  876. package/dist/chunks/sessionFileAccessHooks-1.0.7-wha0618t.mjs +0 -1
  877. package/dist/chunks/sessionStorage-1.0.7-tdsf7h6t.mjs +0 -1
  878. package/dist/chunks/settings-1.0.7-ew9b4r78.mjs +0 -1
  879. package/dist/chunks/setup-1.0.7-tnm7hbmj.mjs +0 -5
  880. package/dist/chunks/sinks-1.0.7-bw23nvqf.mjs +0 -1
  881. package/dist/chunks/skills-1.0.7-z5a8v4xg.mjs +0 -1
  882. package/dist/chunks/startupProfiler-1.0.7-fqfzm5cc.mjs +0 -1
  883. package/dist/chunks/startupUpdateCheck-1.0.7-enpb315n.mjs +0 -1
  884. package/dist/chunks/state-1.0.7-anf50tyt.mjs +0 -1
  885. package/dist/chunks/stats-1.0.7-xgb8h40k.mjs +0 -6
  886. package/dist/chunks/status-1.0.7-f7s47750.mjs +0 -1
  887. package/dist/chunks/stickers-1.0.7-z1wec6v6.mjs +0 -1
  888. package/dist/chunks/subprocessEnv-1.0.7-838hrdpy.mjs +0 -1
  889. package/dist/chunks/tasks-1.0.7-gnsbny7t.mjs +0 -1
  890. package/dist/chunks/teamHelpers-1.0.7-b952rdkv.mjs +0 -1
  891. package/dist/chunks/teammateModeSnapshot-1.0.7-kp8hzkhr.mjs +0 -1
  892. package/dist/chunks/teleport-1.0.7-0z0g10ms.mjs +0 -1
  893. package/dist/chunks/terminalSetup-1.0.7-fgc3myw4.mjs +0 -1
  894. package/dist/chunks/theme-1.0.7-a88j7tjj.mjs +0 -1
  895. package/dist/chunks/thinkback-1.0.7-yzkgrf3q.mjs +0 -1
  896. package/dist/chunks/thinkback-play-1.0.7-jz896tvv.mjs +0 -1
  897. package/dist/chunks/toolPool-1.0.7-zc6vp20v.mjs +0 -1
  898. package/dist/chunks/toolSearch-1.0.7-ym8fk2b2.mjs +0 -1
  899. package/dist/chunks/tools-1.0.7-612s0tqy.mjs +0 -1
  900. package/dist/chunks/trustedDevice-1.0.7-vjbr81qz.mjs +0 -1
  901. package/dist/chunks/turndown.cjs-1.0.7-gz5y243z.mjs +0 -69
  902. package/dist/chunks/types-1.0.7-16q04281.mjs +0 -1
  903. package/dist/chunks/ultrareviewCommand-1.0.7-v65pd88x.mjs +0 -4
  904. package/dist/chunks/update-1.0.7-z4et749c.mjs +0 -88
  905. package/dist/chunks/upgrade-1.0.7-hbdmpet7.mjs +0 -1
  906. package/dist/chunks/upload-1.0.7-xgyk75yh.mjs +0 -7
  907. package/dist/chunks/upstreamproxy-1.0.7-vb939aaw.mjs +0 -14
  908. package/dist/chunks/url-handler-napi-1.0.7-nfw64r47.mjs +0 -1
  909. package/dist/chunks/usage-1.0.7-kpakcv0m.mjs +0 -1
  910. package/dist/chunks/util-1.0.7-52gcb8n1.mjs +0 -1
  911. package/dist/chunks/utils-1.0.7-ckre2ymb.mjs +0 -1
  912. package/dist/chunks/vim-1.0.7-10bew4qn.mjs +0 -1
  913. package/dist/chunks/watcher-1.0.7-85c73j65.mjs +0 -1
  914. package/dist/chunks/wiki-1.0.7-yw93y8cn.mjs +0 -132
  915. package/dist/chunks/workflows-1.0.7-yatxf71n.mjs +0 -1
  916. package/dist/chunks/worktree-1.0.7-dp2np4vz.mjs +0 -1
  917. package/dist/chunks/worktreeModeEnabled-1.0.7-m222ja7h.mjs +0 -1
  918. package/dist/chunks/wrapper-1.0.7-sqtjm0k7.mjs +0 -7
@@ -1,12 +0,0 @@
1
- import{t8 as D}from"./cli-1.0.7-d1zc020r.mjs";import{cja as L,gja as JG,qja as W,tja as a}from"./cli-1.0.7-zjapdrt8.mjs";import{aka as c,bka as jG,lka as GG}from"./cli-1.0.7-ph9qjcjb.mjs";import{lqa as U,mqa as g}from"./cli-1.0.7-dnn18rgf.mjs";import{Iqa as H,_qa as RG}from"./cli-1.0.7-w3g8c9m3.mjs";import{cra as wG}from"./cli-1.0.7-45px4q2q.mjs";import{tra as WG,xra as j,yra as e}from"./cli-1.0.7-y94dd4yd.mjs";function hG(){_.cache.clear?.(),W("Cleared CA certificates cache")}var _;var p=j(()=>{g();a();GG();JG();_=U(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as EG}from"https";function gG(){let G=F(),J=_();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function v(){let G=F(),J=_();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){F.cache.clear?.(),P.cache.clear?.(),W("Cleared mTLS configuration cache")}function pG(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,P;var KG=j(()=>{g();p();a();JG();F=U(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),P=U(()=>{let G=F(),J=_();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new EG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,i;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");i=class i extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
2
- `).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=w,super.createSocket(G,J,Q)},(w)=>{this.decrementSockets(Y,Z),Q(w)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let X=G.read();if(X)q(X);else G.once("readable",Z)}function w(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){w(),C("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(X){w(),C("onerror %o",X),Q(X)}function q(X){Y.push(X),K+=X.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
3
- \r
4
- `);if(O===-1){C("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
5
- `),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),TG=+t[1],IG=t.slice(2).join(" "),E={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=E[d];if(typeof A==="string")E[d]=[A,l];else if(Array.isArray(A))A.push(l);else E[d]=l}C("got proxy server response: %o %o",f,E),w(),J({connect:{statusCode:TG,statusText:IG,headers:E},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var XG,C;var zG=j(()=>{XG=WG(wG(),1),C=XG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,T,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},x;var qG=j(()=>{$G();zG();BG();HG=WG(wG(),1),T=HG.default("https-proxy-agent");x=class x extends i{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},T("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")T("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else T("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
6
- `;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))w+=`${z}: ${Y[z]}\r
7
- `;let $=n(K);K.write(`${w}\r
8
- `);let{connect:V,buffered:q}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){T("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let X=new M.Socket({writable:!1});return X.readable=!0,G.once("socket",(z)=>{T("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(q),z.push(null)}),X}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},w=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${w}:${J.port} HTTP/1.1\r
9
- `;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${w}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Z))$+=`${X}: ${Z[X]}\r
10
- `;let V=n(Y);Y.write(`${$}\r
11
- `);let{connect:q}=await V;if(G.emit("proxyConnect",q),this.emit("proxyConnect",q,G),q.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${q.statusCode} after retry`)}};x.protocols=["http","https"]});function MJ(G){r.set(G,!0),UG(G)}function UG(G){NG.cache.delete?.(G)}function HJ(G){_G.set(G,!0),UG(G)}function OG(G){return _G.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function I(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function h(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function y(G,J={}){let Q=F(),K=_(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,$)=>{$(null,Z,bG(w))};return new x(G,{...Y,...J})}function qJ(G={}){let J=I(),Q=P(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=y(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&h(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=I();if(!J)return;if(h(G))return;return y(J)}function UJ(G){let J=I();if(!J)return;if(h(G))return;return J}function _J(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=I();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...v()};return{...J,dispatcher:o(Q)}}let K=v();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:NG(G.provider)};return{...J,...K}}function FJ(){let G=I(),J=P();if(m!==void 0)H.interceptors.request.eject(m),m=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=y(G);m=H.interceptors.request.use((K)=>{if(K.url&&h(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=v();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function NJ(){let G=I();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-1.0.7-4g6596jt.mjs"),import("./index-1.0.7-c0jfw97a.mjs")]),K=y(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function TJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,_G,o,N,FG,PG,NG,m;var vG=j(()=>{RG();qG();g();p();a();GG();KG();r=new Map;_G=new Map;o=U((G)=>{let J=D(),Q=F(),K=_(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),N={connections:12,keepAliveTimeout:30000,pipelining:1},FG={firstParty:{...N,allowH2:!0},openai:{...N,allowH2:!0},gemini:{...N,allowH2:!0},mistral:{...N,allowH2:!0},github:{...N,allowH2:!0},codex:{...N,allowH2:!0},"nvidia-nim":{...N,allowH2:!0},minimax:{...N,allowH2:!0}},PG=FG.openai,NG=U((G)=>{let J=D(),Q=FG[G]??PG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
12
- export{hG as Y7,p as Z7,F as _7,gG as $7,aG as a8,pG as b8,KG as c8,MJ as d8,HJ as e8,OG as f8,I as g8,h as h8,qJ as i8,jJ as j8,UJ as k8,_J as l8,FJ as m8,NJ as n8,TJ as o8,vG as p8};
@@ -1,25 +0,0 @@
1
- import{$J as Uq,BJ as Vq,CJ as Oq,EJ as Yq,Fp as a,GA as qq,HA as Xq,Hp as Kq,SJ as Pq,Uk as r,Wk as Wq,XP as $q,ZJ as Zq,bQ as yq,dJ as b,eJ as R,eu as s,fJ as vq,iJ as p,jJ as S,kJ as zq,ku as t,lJ as Bq,mJ as I,nJ as k,ox as e,px as Nq,qu as Hq,tJ as Jq,uJ as Qq,yJ as wq}from"./cli-1.0.7-s5mhxbhn.mjs";import{Ifa as h,Qfa as Fq}from"./cli-1.0.7-757ex32c.mjs";import{Aha as n,Bha as Lq}from"./cli-1.0.7-1ty38mre.mjs";import{Jja as y,Xja as jq}from"./cli-1.0.7-3pqhf5bj.mjs";import{xra as M}from"./cli-1.0.7-y94dd4yd.mjs";function x(B,z){let J=g[z]??1,Z=B!==void 0?g[B]:void 0;if(Z===void 0)return z;return Z<=J?B:z}var g;var m=M(()=>{g={plan:0,default:1,acceptEdits:2,bypassPermissions:3}});function C(B,z){if(B.length<=z)return B;return`${B.slice(0,z)}
2
- …[truncated ${B.length-z} chars]`}function u(B,z,J,Z){let Y=[];if(Y.push(`You are a worker agent in the "${B.name}" workflow, phase "${Z.name}".`),B.instructions.trim())Y.push(`Workflow instructions:
3
- ${B.instructions.trim()}`);if(Y.push(`Task:
4
- ${z}`),J.trim())Y.push(`Work so far (accumulated artifact from earlier phases):
5
- ${C(J.trim(),Gq)}`);return Y.push("Do your part of this phase and report your findings/output. Another agent (the orchestrator) will synthesize the phase and decide what happens next — you do not decide the flow."),Y.join(`
6
-
7
- `)}function c(B,z){let J=[];if(J.push(`You are the orchestrator (main) of the "${z.name}" workflow. You control the flow.`),z.instructions.trim())J.push(`Workflow instructions:
8
- ${z.instructions.trim()}`);J.push(`Task:
9
- ${B.task}`);let Z=z.steps.findIndex((V)=>V.name===B.currentStep),Y=z.steps.map((V,Q)=>{let j=Q<Z?"[done]":Q===Z?"[current]":"[pending]",H=I(V)?" (terminal)":"";return` ${Q+1}. ${V.name} ${j}${H}`}).join(`
10
- `);if(J.push(`Phases:
11
- ${Y}`),B.history.length>0){let V=B.history.map((Q)=>{let j=Q.agents.map((q)=>{let L=q.failed?" (FAILED)":"";return` • ${q.label}${L}:
12
- ${C(q.output,f).split(`
13
- `).map((N)=>` ${N}`).join(`
14
- `)}`}).join(`
15
- `),H=Q.decision?` decision: ${Q.decision.decision}${Q.decision.target?` → ${Q.decision.target}`:""} — ${Q.decision.notes}`:" decision: (pending — this is the phase you are deciding now)";return` Phase "${Q.step}":
16
- ${j}
17
- ${Q.synthesis?` synthesis: ${C(Q.synthesis,f)}
18
- `:""}${H}`}).join(`
19
-
20
- `);J.push(`History (all phases so far):
21
- ${V}`)}let G=z.steps[Z]?.handbackTo??[];return J.push(G.length>0?`From the current phase you may hand back to: ${G.join(", ")}.`:"The current phase has no handback targets; you may only advance or refine."),J.push("Synthesize the current phase's worker outputs into an updated artifact (your final text), then call the StructuredOutput tool with your decision: advance (next phase), refine (re-run this phase), or handback (return to an allowed earlier phase). Include a short `notes` explaining why."),J.join(`
22
-
23
- `)}var f=4000,Gq=6000;var l=M(()=>{k()});function d(B,z,J){let Z=J.steps,Y=Z.findIndex((j)=>j.name===B.currentStep),$={...B.refineCounts},G=B.transitions+1,V=B.currentStep,Q="running";if(z.decision==="advance"){let j=Z[Y+1];if(I(j)){if(Q="done",j)V=j.name}else V=j.name}else if(z.decision==="refine"){if($[V]=($[V]??0)+1,$[V]>S)Q="stalled"}else{let j=Z[Y]?.handbackTo??[];if(!z.target||!j.includes(z.target))Q="stalled";else if($[z.target]=($[z.target]??0)+1,$[z.target]>S)Q="stalled";else V=z.target}if(Q==="running"&&G>=p)Q="stalled";return{...B,currentStep:V,status:Q,refineCounts:$,transitions:G,updatedAt:Date.now()}}var i=M(()=>{k()});import Dq from"os";function Iq(){return Math.max(1,Math.min(8,Dq.cpus().length-1))}function hq(B){let z="",J=0;for(let Y=B.length-1;Y>=0;Y--){let $=B[Y];if($.type!=="assistant"||!$.message)continue;if(!z){let G=($.message.content??[]).filter((V)=>V.type==="text"&&V.text);if(G.length>0)z=G.map((V)=>V.text??"").join(`
24
- `)}if(J===0&&$.message.usage)J=$q($.message.usage);if(z&&J)break}let Z=e(B);return{text:z,tokens:J,tools:Z}}async function o(B){let{label:z,agentDef:J,promptText:Z,toolUseContext:Y,canUseTool:$,extraTools:G,runId:V}=B,Q=Date.now(),j=Y.getAppState(),H=j.toolPermissionContext.mode,q={...j.toolPermissionContext,mode:x(J.permissionMode,H)},L=Zq(q,j.mcp.tools);if(G&&G.length>0)L=[...L,...G];let N=J.model??String(Y.options.mainLoopModel??""),F=[],X,P=!1;try{let K=qq({agentDefinition:J,promptMessages:[Yq({content:Z})],toolUseContext:Y,canUseTool:$,isAsync:!1,querySource:a(J.agentType,s(J)),availableTools:L,transcriptSubdir:`workflows/${V}`,description:`${z} (workflow)`,override:{abortController:B.abortController}});for await(let w of K)if(F.push(w),w.type==="attachment"&&w.attachment?.type==="structured_output")X=w.attachment.data}catch(K){if(y(K))throw K;h(K),P=!0}let{text:E,tokens:_,tools:v}=hq(F);return{run:{label:z,model:N,tokens:_,tools:v,ms:Date.now()-Q,output:P?"":E,failed:P},structuredOutput:X}}async function tq(B){let{def:z,task:J,toolUseContext:Z,canUseTool:Y,onProgress:$,signal:G}=B,{allAgents:V}=await t(n()),Q=new Map(V.map((N)=>[N.agentType,N]));Q.set(b,R);let j=Q.get(z.main??b)??R,H=new AbortController;if(G)if(G.aborted)H.abort();else G.addEventListener("abort",()=>H.abort(),{once:!0});let q=await Jq({workflow:z.name,description:z.description,task:J,firstStep:z.steps[0].name});$?.(q);let L=async()=>{await Qq(q),$?.(q)};while(q.status==="running"){if(G?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let N=z.steps.findIndex((W)=>W.name===q.currentStep),F=z.steps[N];if(I(F)){q={...q,status:"done",updatedAt:Date.now()},await L();break}q={...q,agentsInPhase:F.agents.length,agentsDone:0,updatedAt:Date.now()},await L();let X;try{X=(await Vq(F.agents,async(O)=>{let T={run:{label:`${F.name}:${O}`,model:"",tokens:0,tools:0,ms:0,output:"",failed:!0}},A;try{let D=Q.get(O);A=D?await o({label:`${F.name}:${O}`,agentDef:D,promptText:u(z,J,q.artifact,F),toolUseContext:Z,canUseTool:Y,runId:q.runId,abortController:H}):T}catch(D){if(y(D))throw D;h(D),A=T}return q={...q,agentsDone:(q.agentsDone??0)+1,updatedAt:Date.now()},await L(),A},{concurrency:Iq()})).map((O)=>O.run)}catch(W){if(y(W)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw W}let P={step:F.name,stepIndex:N,agents:X,synthesis:"",decision:null,at:Date.now()};if(q={...q,history:[...q.history,P],totalTokens:q.totalTokens+X.reduce((W,O)=>W+O.tokens,0),updatedAt:Date.now()},await L(),F.agents.length>0&&X.every((W)=>W.failed)){h(Error(`workflow phase "${F.name}": all ${X.length} worker(s) failed`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}if(G?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let E=r(Bq(F));if(!("tool"in E)){h(Error(`workflow decision schema build failed: ${E.error}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let _=[E.tool],v;try{v=await o({label:"main",agentDef:j,promptText:c(q,z),toolUseContext:Z,canUseTool:Y,extraTools:_,runId:q.runId,abortController:H})}catch(W){if(y(W)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw W}let K=zq.safeParse(v.structuredOutput),w=[...q.history];if(w[w.length-1]={...P,synthesis:v.run.output,decision:K.success?K.data:null,agents:[...X,v.run]},q={...q,history:w,artifact:v.run.output.trim()?v.run.output:q.artifact,totalTokens:q.totalTokens+v.run.tokens,updatedAt:Date.now()},!K.success){h(Error(`workflow main produced no valid decision: ${K.error?.message??"no decision"}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let U=d(q,K.data,z);q={...q,currentStep:U.currentStep,status:U.status,refineCounts:U.refineCounts,transitions:U.transitions,updatedAt:U.updatedAt},await L()}return q}var Eq=M(()=>{Oq();Uq();Hq();Nq();Xq();Wq();Lq();jq();Fq();Pq();Kq();yq();vq();m();l();wq();i();k()});
25
- export{tq as pi,Eq as qi};
@@ -1,4 +0,0 @@
1
- import{sra as Z}from"./cli-1.0.7-0qbp0ac0.mjs";import{vra as Y,yra as O}from"./cli-1.0.7-y94dd4yd.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
2
- See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
- or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
4
- export{ye as lra};
@@ -1,8 +0,0 @@
1
- import{$a as b}from"./cli-1.0.7-mcmpb4cd.mjs";import{hf as zK,mf as dK}from"./cli-1.0.7-vtd2sbnq.mjs";import{BA as sz,CA as fK,EL as tz,FI as hK,FL as pK,GI as mK,Gu as xK,Nm as rz,Pm as bK,Qo as M,Ro as vK,To as iz,UL as ez,WL as cK,Xo as SK,bP as Ez,kP as FK,lK as wz,qT as j,sT as uK,tK as MK,zA as oz,zu as Cz}from"./cli-1.0.7-s5mhxbhn.mjs";import{pY as Kz,uY as AK,vY as Qz,wY as GK}from"./cli-1.0.7-mwj9f8rw.mjs";import{D6 as jK,J7 as Tz,L7 as Mz,N7 as R,X5 as Uz,X7 as xz,Y5 as lz,c6 as Dz,g4 as U,h6 as I,j6 as _z,l4 as O,o6 as k,z6 as nz}from"./cli-1.0.7-txhggtd1.mjs";import{r8 as G,s8 as _K}from"./cli-1.0.7-wgt5ay2x.mjs";import{D9 as Zz,E9 as RK,G_ as dz,Ida as gz,Ifa as V,L9 as T,Lca as q,N9 as CK,N_ as EK,Nca as H,Oda as $,Pca as uz,Qca as S,Qfa as A,Rca as kz,Rda as W,Uca as Jz,Xda as Wz,Y$ as t,Yda as Bz,Zda as az,_ca as _,baa as LK,h_ as $z,haa as e,j_ as TK,kea as L,laa as UK,q_ as cz,saa as zz,uaa as DK}from"./cli-1.0.7-757ex32c.mjs";import{qga as E,vga as kK}from"./cli-1.0.7-1xe7m9s1.mjs";import{Aha as pz,Bha as PK}from"./cli-1.0.7-1ty38mre.mjs";import{nia as Z,qia as N}from"./cli-1.0.7-gk53nva2.mjs";import{$ia as i,Yia as r,_ia as WK,cja as o,gja as BK}from"./cli-1.0.7-zjapdrt8.mjs";import{yja as s,zja as NK}from"./cli-1.0.7-ghxmw318.mjs";import{Qja as y,Sja as n,Xja as VK}from"./cli-1.0.7-3pqhf5bj.mjs";import{aka as C,bka as v,dka as hz,jka as mz,lka as yK}from"./cli-1.0.7-ph9qjcjb.mjs";import{Ena as Sz,Ila as F,Mla as JK,Opa as w,Qna as fz,Xna as a,ana as Iz,bna as bz,cna as Oz,ena as vz,ooa as l}from"./cli-1.0.7-9p7hfa00.mjs";import{ura as wK}from"./cli-1.0.7-y94dd4yd.mjs";_K();AK();w();DK();VK();BK();LK();A();NK();UK();JK();WK();GK();import{readFileSync as IK}from"node:fs";var OK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function ZQ(){let z=zz()?OK:g,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&g.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function $Q(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function qQ(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 Xz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!t(z))process.stderr.write(G.red(`Error: Invalid JSON provided to --settings
2
- `)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),r(X,z,"utf8")}else{let{resolvedPath:Y}=i(o(),K);try{IK(Y,"utf8")}catch(J){if(n(J))process.stderr.write(G.red(`Error: Settings file not found: ${Y}
3
- `)),process.exit(1);throw J}X=Y}a(X),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing settings: ${y(z)}
4
- `)),process.exit(1)}}function Yz(K){try{let z=e(K);l(z),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing --setting-sources: ${y(z)}
5
- `)),process.exit(1)}}async function HQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(J)=>{Q+=J};process.stdin.on("data",X);let Y=await s(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}kK();uK();N();bK();L();jK();CK();yK();EK();RK();TK();async function qz(){if(!await $z("gh"))return"not_installed";let{exitCode:z}=await Zz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}A();k();pK();SK();cK();N();L();A();_();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=q("userSettings")||{};H("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("tengu_migrate_autoupdates_to_settings",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",$((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("tengu_migrate_autoupdates_error",{has_error:!0})}}N();L();A();_();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())H("userSettings",{skipDangerousModePermissionPrompt:!0});Z("tengu_migrate_bypass_permissions_accepted",{}),$((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){V(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}N();L();A();_();function Nz(){let K=Wz(),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=q("localSettings")||{},J={},B=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,B.push("enableAllProjectMcpServers");else if(z)B.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let D=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...D,...K.enabledMcpjsonServers])],B.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let D=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...D,...K.disabledMcpjsonServers])],B.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)H("localSettings",J);if(B.includes("enableAllProjectMcpServers")||B.includes("enabledMcpjsonServers")||B.includes("disabledMcpjsonServers"))Bz((D)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:h,disabledMcpjsonServers:m,...x}=D;return x});Z("tengu_migrate_mcp_approval_fields_success",{migratedCount:B.length})}catch(Y){V(Y),Z("tengu_migrate_mcp_approval_fields_error",{})}}N();L();k();O();_();function Lz(){if(U()!=="firstParty")return;if(!_z())return;let K=q("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;H("userSettings",{model:"opus"}),$((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("tengu_legacy_opus_migration",{from_model:K})}N();k();_();function Az(){if(!Dz())return;if(q("userSettings")?.model!=="opus")return;let z="opus[1m]",Q=I(z)===I(Uz())?void 0:z;H("userSettings",{model:Q}),Z("tengu_opus_to_opus1m_migration",{})}L();function Gz(){$((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})}w();L();O();_();function Rz(){if(U()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(q("userSettings")?.model==="sonnet[1m]")H("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Iz()==="sonnet[1m]")Oz("sonnet-4-5-20250929[1m]");$((X)=>({...X,sonnet1m45MigrationComplete:!0}))}N();xz();L();O();_();function Fz(){if(U()!=="firstParty")return;if(!R()&&!Tz()&&!Mz())return;let K=q("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(H("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)$((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("tengu_sonnet45_to_46_migration",{from_model:K,has_1m:z})}N();L();A();MK();_();function yz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(wz()!=="enabled")return;try{let z=q("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")H("userSettings",{skipAutoPermissionPrompt:void 0}),Z("tengu_migrate_reset_auto_opt_in_for_default_offer",{});$((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}N();xz();L();O();_();function Pz(){if(W().opusProMigrationComplete)return;if(U()!=="firstParty"||!R()){$((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!0});return}if(kz()?.model===void 0){let X=Date.now();$((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!1})}else $((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!0})}dK();vK();w();PK();_();FK();N();xK();async function jz(K,z){let Q=await Ez(K),X=Cz(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("tengu_skill_loaded",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}fK();function nX(){try{let K=q("policySettings");if(K){let z=uz(K);Z("tengu_managed_settings_loaded",{keyCount:z.length,keys:z.join(",")})}}catch{}}function rX(){let K=I(bz()??lz());jz(pz(),nz(K,vz())),ez().then(({enabled:z,errors:Q})=>{let X=tz();oz(z,X,iz()),sz(Q,X)}).catch((z)=>V(z))}function gK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDE_CODE_CLIENT_CERT)K.has_client_cert=!0;if(C("--use-system-ca"))K.has_use_system_ca=!0;if(C("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function iX(){if(rz())return;let[K,z,Q]=await Promise.all([cz(),dz(),qz()]);Z("tengu_startup_telemetry",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:M.isSandboxingEnabled(),are_unsandboxed_commands_allowed:M.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:M.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:az(),prefers_reduced_motion:S().prefersReducedMotion??!1,...gK()})}var P=11;function oX(){if(W().migrationVersion!==P)Hz(),Vz(),Nz(),Pz(),Rz(),Lz(),Fz(),Az(),Gz(),yz(),$((K)=>K.migrationVersion===P?K:{...K,migrationVersion:P});zK().catch(()=>{})}function sX(){if(Sz()){T("info","prefetch_system_context_non_interactive"),j();return}if(gz())T("info","prefetch_system_context_has_trust"),j();else T("info","prefetch_system_context_skipped_no_trust")}function tX(){E("eagerLoadSettings_start");let K=b("--settings");if(K)Xz(K);let z=b("--setting-sources");if(z!==void 0)Yz(z);E("eagerLoadSettings_end")}function eX(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(v(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 zY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktreeEnabled:x,skipWebFetchPreflight:KK,githubActionInputs:p,dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,allowDangerouslySkipPermissionsPassed:ZK,systemPromptFlag:c,appendSystemPromptFlag:d,thinkingConfig:$K,assistantActivationPath:u,isCoordinator:qK}){try{Z("tengu_init",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktree:x,skipWebFetchPreflight:KK,...p&&{githubActionInputs:p},dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,inProtectedNamespace:mz(),allowDangerouslySkipPermissionsPassed:ZK,thinkingType:$K.type,...c&&{systemPromptFlag:c},...d&&{appendSystemPromptFlag:d},is_simple:hz()||void 0,is_coordinator:qK||void 0,...u&&{assistantActivationPath:u},autoUpdatesChannel:S().autoUpdatesChannel??"latest"})}catch(HK){V(HK)}}function KY(K){}function QY(K){return}
8
- export{ZQ as G,$Q as H,qQ as I,HQ as J,nX as K,rX as L,iX as M,oX as N,sX as O,tX as P,eX as Q,zY as R,KY as S,QY as T};
@@ -1,2 +0,0 @@
1
- import{H0 as f,HY as s,c0 as t}from"./cli-1.0.7-mwj9f8rw.mjs";import{o3 as n,p3 as c,q3 as r}from"./cli-1.0.7-hd6xn6rt.mjs";import{tra as m,xra as l}from"./cli-1.0.7-y94dd4yd.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
2
- export{T as mg,p as ng};
@@ -1,2 +0,0 @@
1
- import{BH as U,CH as w}from"./cli-1.0.7-s5mhxbhn.mjs";import{H0 as k,HY as f,a0 as N,c0 as O}from"./cli-1.0.7-mwj9f8rw.mjs";import{o3 as M,p3 as H,q3 as R}from"./cli-1.0.7-hd6xn6rt.mjs";import{tra as Y,xra as Z}from"./cli-1.0.7-y94dd4yd.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
2
- export{_ as Fg,A as Gg};
@@ -1,2 +0,0 @@
1
- import{So as Z,Xo as G}from"./cli-1.0.7-s5mhxbhn.mjs";import{Ifa as X,Qfa as R}from"./cli-1.0.7-757ex32c.mjs";import{Via as v,Wia as B,_ia as A,cja as C,gja as M,qja as U,tja as O}from"./cli-1.0.7-zjapdrt8.mjs";import{xra as b}from"./cli-1.0.7-y94dd4yd.mjs";import{randomBytes as L}from"crypto";import{readFile as N,rename as S,unlink as T,writeFile as _}from"fs/promises";import{join as E}from"path";function Y(){return E(Z(),j)}function k(q){let x=B(q);if(typeof x!=="object"||x===null||!("plugins"in x)||typeof x.plugins!=="object"||x.plugins===null)return{};let z=x.plugins,J={};for(let[Q,K]of Object.entries(z))if(K&&typeof K==="object"&&"flaggedAt"in K&&typeof K.flaggedAt==="string"){let $={flaggedAt:K.flaggedAt};if("seenAt"in K&&typeof K.seenAt==="string")$.seenAt=K.seenAt;J[Q]=$}return J}async function V(){try{let q=await N(Y(),{encoding:"utf-8"});return k(q)}catch{return{}}}async function W(q){let x=Y(),z=`${x}.${L(8).toString("hex")}.tmp`;try{await C().mkdir(Z());let J=v({plugins:q},null,2);await _(z,J,{encoding:"utf-8",mode:384}),await S(z,x),H=q}catch(J){X(J);try{await T(z)}catch{}}}async function o(){let q=await V(),x=Date.now(),z=!1;for(let[J,Q]of Object.entries(q))if(Q.seenAt&&x-new Date(Q.seenAt).getTime()>=f)delete q[J],z=!0;if(H=q,z)await W(q)}function c(){return H??{}}async function p(q){if(H===null)H=await V();let x={...H,[q]:{flaggedAt:new Date().toISOString()}};await W(x),U(`Flagged plugin: ${q}`)}async function d(q){if(H===null)H=await V();let x=new Date().toISOString(),z=!1,J={...H};for(let Q of q){let K=J[Q];if(K&&!K.seenAt)J[Q]={...K,seenAt:x},z=!0}if(z)await W(J)}async function g(q){if(H===null)H=await V();if(!(q in H))return;let{[q]:x,...z}=H;H=z,await W(z)}var j="flagged-plugins.json",f=172800000,H=null;var w=b(()=>{O();M();R();A();G()});
2
- export{o as vd,c as wd,p as xd,d as yd,g as zd,w as Ad};
@@ -1,2 +0,0 @@
1
- import{wra as x,xra as z}from"./cli-1.0.7-y94dd4yd.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
2
- export{A as F1,F as G1,G as H1,H as I1,J as J1};
@@ -1,2 +0,0 @@
1
- import{xra as y}from"./cli-1.0.7-y94dd4yd.mjs";function $(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function F(q,z){let B=q;for(let K of z){if(B==null||typeof B!=="object")return;B=B[K]}return B}function x(q){if(!q)return!1;let z="";try{z=new URL(q).hostname.toLowerCase()}catch{}if(!z){let W=q.toLowerCase();return W.includes("localhost")||W.includes("127.0.0.1")||W.includes("::1")}let B=z.startsWith("[")&&z.endsWith("]")?z.slice(1,-1):z;if(B==="localhost"||B.endsWith(".localhost")||B.endsWith(".local")||B.endsWith(".lan")||B.endsWith(".internal")||B.endsWith(".intranet")||B.endsWith(".home.arpa"))return!0;let K=B.match(U);if(K){let W=Number(K[1]),j=Number(K[2]);if(W===10)return!0;if(W===172&&j>=16&&j<=31)return!0;if(W===192&&j===168)return!0;if(W===127)return!0;if(W===169&&j===254)return!0;if(W===100&&j>=64&&j<=127)return!0}if(B==="::1"||B==="::")return!0;if(B.startsWith("fe80:")||f.test(B)||A.test(B))return!0;return!1}function N(q,z){if(q==="github")return z?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let B=z?.openAiBaseUrl??"";if(x(B))return"self-hosted";let K=B.toLowerCase();if(K.includes(":11434"))return"ollama";if(K.includes("moonshot")||K.includes("kimi"))return"kimi";if(K.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function D(q){if(!q||typeof q!=="object")return 0;let z=q,B=$(z.cache_read_input_tokens);if(B>0)return B;let K=$(F(q,["input_tokens_details","cached_tokens"]))||$(F(q,["prompt_tokens_details","cached_tokens"]));if(K>0)return K;let W=$(z.cached_tokens);if(W>0)return W;let j=$(z.prompt_cache_hit_tokens);if(j>0)return j;let Q=$(z.cached_content_token_count);if(Q>0)return Q;return 0}function Y(q){if(!q||typeof q!=="object")return 0;let B=$(q.cache_creation_input_tokens);if(B>0)return B;return $(F(q,["cache_creation","ephemeral_5m_input_tokens"]))+$(F(q,["cache_creation","ephemeral_1h_input_tokens"]))}function P(q){let z=D(q),B=q??{},K=$(B.input_tokens)||$(B.prompt_tokens),W=K>=z?K-z:K,j=$(B.output_tokens)||$(B.completion_tokens);return{input_tokens:W,output_tokens:j,cache_creation_input_tokens:Y(q),cache_read_input_tokens:z}}function M(q,z){if(!q||typeof q!=="object")return X;let B=q,K=$(B.cache_read_input_tokens),W=$(B.cache_creation_input_tokens),j=$(B.input_tokens);if(z==="copilot"||z==="ollama")return X;if(z==="self-hosted"&&K===0&&W===0)return X;let Q=K+W+j;return{read:K,created:W,total:Q,hitRate:Q>0?Math.min(1,K/Q):null,supported:!0}}function C(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let z=[`${G(q.read)} read`];if(q.hitRate!==null)z.push(`hit ${Math.round(q.hitRate*100)}%`);return`[Cache: ${z.join(" • ")}]`}function I(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let z=[`read=${G(q.read)}`,`created=${G(q.created)}`];if(q.hitRate!==null)z.push(`hit=${Math.round(q.hitRate*100)}%`);else z.push("hit=n/a");return`[Cache: ${z.join(" ")}]`}function G(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(Z,"")}k`;return`${(q/1e6).toFixed(1).replace(Z,"")}m`}function H(q,z){if(!q.supported&&!z.supported)return X;if(!q.supported)return z;if(!z.supported)return q;let B=q.read+z.read,K=q.created+z.created,W=q.total+z.total;return{read:B,created:K,total:W,hitRate:W>0?B/W:null,supported:!0}}var X,U,f,A,Z;var L=y(()=>{X={read:0,created:0,total:0,hitRate:null,supported:!1};U=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,f=/^fc[0-9a-f]{0,2}:/,A=/^fd[0-9a-f]{0,2}:/,Z=/\.0$/});function S(q){return{currentTurn:V,session:V,history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function w(q,z){J.currentTurn=H(J.currentTurn,q),J.session=H(J.session,q);let B={timestamp:Date.now(),label:z,metrics:q};if(J.history[J.historyWriteIdx]=B,J.historyWriteIdx=(J.historyWriteIdx+1)%J.historyMax,J.historySize<J.historyMax)J.historySize++}function T(){J.currentTurn=V}function R(){J.currentTurn=V,J.session=V,J.history=Array(J.historyMax),J.historyWriteIdx=0,J.historySize=0}function b(){return J.currentTurn}function g(){return J.session}function l(){if(J.historySize<J.historyMax)return J.history.slice(0,J.historySize);let q=J.history.slice(J.historyWriteIdx),z=J.history.slice(0,J.historyWriteIdx);return q.concat(z)}var O=500,V,J;var k=y(()=>{L();V={read:0,created:0,total:0,hitRate:null,supported:!1};J=S(O)});
2
- export{N as Z1,P as _1,M as $1,C as a2,I as b2,L as c2,w as d2,T as e2,R as f2,b as g2,g as h2,l as i2,k as j2};
@@ -1,2 +0,0 @@
1
- import{xra as M}from"./cli-1.0.7-y94dd4yd.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
2
- export{V as ui,W as vi,X as wi,Z as xi,Y as yi};
@@ -1,2 +0,0 @@
1
- import{qja as Q,tja as $}from"./cli-1.0.7-zjapdrt8.mjs";import{Sja as K,Xja as Z}from"./cli-1.0.7-3pqhf5bj.mjs";import{_ja as J,lka as Y}from"./cli-1.0.7-ph9qjcjb.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 aa,w as ba,y as ca};
@@ -1,2 +0,0 @@
1
- import{Lh as Vq,Mh as fq}from"./cli-1.0.7-5h2vgm7b.mjs";import{GX as o,HX as pq,NX as Qq,PX as Uq,QX as Hq,rX as Pq,sX as mq}from"./cli-1.0.7-3p608q44.mjs";import{H0 as Wq,HY as Sq,a0 as M,c0 as g}from"./cli-1.0.7-mwj9f8rw.mjs";import{o3 as Z,p3 as F,q3 as Jq}from"./cli-1.0.7-hd6xn6rt.mjs";import{r3 as _q}from"./cli-1.0.7-jn7nay2r.mjs";import{Vfa as s,Wfa as jq}from"./cli-1.0.7-1xe7m9s1.mjs";import{tra as Lq,xra as wq}from"./cli-1.0.7-y94dd4yd.mjs";function lq(A){let q=C.c(25),{title:J,color:V,defaultTab:Q,children:L,hidden:G,useFullWidth:K,selectedTab:E,onTabChange:k,banner:T,disableNavigation:a,initialHeaderFocused:n,contentHeight:y,navFromContent:d}=A,Xq=n===void 0?!0:n,Yq=d===void 0?!1:d,{columns:t}=Pq(),X=L.map(Iq),e=Q?X.findIndex((U)=>Q===U[0]):0,x=E!==void 0,[Zq,kq]=P.useState(e!==-1?e:0),qq=x?X.findIndex((U)=>U[0]===E):-1,z=x?qq!==-1?qq:0:Zq,N=Uq(),[Y,v]=P.useState(Xq),O;if(q[0]===Symbol.for("react.memo_cache_sentinel"))O=()=>v(!0),q[0]=O;else O=q[0];let zq=O,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>v(!1),q[1]=R;else R=q[1];let Eq=R,[Nq,Aq]=P.useState(0),w;if(q[2]===Symbol.for("react.memo_cache_sentinel"))w=()=>{return Aq(Cq),()=>Aq(gq)},q[2]=w;else w=q[2];let vq=w,j=Nq>0,_=(U)=>{let H=(z+X.length+U)%X.length,f=X[H]?.[0];if(x&&k&&f)k(f);else kq(H);v(!0)},b=!G&&!a&&Y,S;if(q[3]!==b)S={context:"Tabs",isActive:b},q[3]=b,q[4]=S;else S=q[4];o({"tabs:next":()=>_(1),"tabs:previous":()=>_(-1)},S);let W;if(q[5]!==Y||q[6]!==G||q[7]!==j)W=(U)=>{if(!Y||!j||G)return;if(U.key==="down")U.preventDefault(),v(!1)},q[5]=Y,q[6]=G,q[7]=j,q[8]=W;else W=q[8];let u=W,$=Yq&&!Y&&j&&!G&&!a,m;if(q[9]!==$)m={context:"Tabs",isActive:$},q[9]=$,q[10]=m;else m=q[10];o({"tabs:next":()=>{_(1),v(!0)},"tabs:previous":()=>{_(-1),v(!0)}},m);let Dq=J?s(J)+1:0,Mq=X.reduce(Fq,0),Bq=Dq+Mq,Gq=K?Math.max(0,t-Bq):0,B=K?t:void 0,h=M,Kq="column",yq=0,Oq=!0,c=N?0:void 0,r=!G&&F(M,{flexDirection:"row",gap:1,flexShrink:N?0:void 0,children:[J!==void 0&&Z(g,{bold:!0,color:V,children:J}),X.map((U,H)=>{let[f,Rq]=U,i=z===H,l=V&&i&&Y;return F(g,{backgroundColor:l?V:void 0,color:l?"inverseText":void 0,inverse:i&&!l,bold:i,children:[" ",Rq," "]},f)}),Gq>0&&Z(g,{children:" ".repeat(Gq)})]},`${z}-${Y?"focused":"blurred"}`),D;if(q[11]!==L||q[12]!==y||q[13]!==B||q[14]!==G||q[15]!==N||q[16]!==z)D=N?Z(M,{width:B,marginTop:G?0:1,flexShrink:0,children:Z(Vq,{ref:N,flexDirection:"column",flexShrink:0,children:L},z)}):Z(M,{width:B,marginTop:G?0:1,height:y,overflowY:y!==void 0?"hidden":void 0,children:L}),q[11]=L,q[12]=y,q[13]=B,q[14]=G,q[15]=N,q[16]=z,q[17]=D;else D=q[17];let p;if(q[18]!==h||q[19]!==T||q[20]!==u||q[21]!==c||q[22]!==r||q[23]!==D)p=F(h,{flexDirection:Kq,tabIndex:yq,autoFocus:Oq,onKeyDown:u,flexShrink:c,children:[r,T,D]}),q[18]=h,q[19]=T,q[20]=u,q[21]=c,q[22]=r,q[23]=D,q[24]=p;else p=q[24];return Z(I.Provider,{value:{selectedTab:X[z][0],width:B,headerFocused:Y,focusHeader:zq,blurHeader:Eq,registerOptIn:vq},children:p})}function Fq(A,q){let[,J]=q;return A+(J?s(J):0)+2+1}function gq(A){return A-1}function Cq(A){return A+1}function Iq(A){return[A.props.id??A.props.title,A.props.title]}function oq(A){let q=C.c(4),{title:J,id:V,children:Q}=A,{selectedTab:L,width:G}=P.useContext(I),K=Qq();if(L!==(V??J))return null;let E=K?0:void 0,k;if(q[0]!==Q||q[1]!==E||q[2]!==G)k=Z(M,{width:G,flexShrink:E,children:Q}),q[0]=Q,q[1]=E,q[2]=G,q[3]=k;else k=q[3];return k}function sq(){let{width:A}=P.useContext(I);return A}function aq(){let A=C.c(6),{headerFocused:q,focusHeader:J,blurHeader:V,registerOptIn:Q}=P.useContext(I),L;if(A[0]!==Q)L=[Q],A[0]=Q,A[1]=L;else L=A[1];P.useEffect(Q,L);let G;if(A[2]!==V||A[3]!==J||A[4]!==q)G={headerFocused:q,focusHeader:J,blurHeader:V},A[2]=V,A[3]=J,A[4]=q,A[5]=G;else G=A[5];return G}var C,P,I;var Tq=wq(()=>{Hq();mq();fq();jq();Wq();pq();Jq();C=Lq(Sq(),1),P=Lq(_q(),1),I=P.createContext({selectedTab:void 0,width:void 0,headerFocused:!1,focusHeader:()=>{},blurHeader:()=>{},registerOptIn:()=>()=>{}})});
2
- export{lq as jh,oq as kh,sq as lh,aq as mh,Tq as nh};
@@ -1,2 +0,0 @@
1
- import{$pa as n5,Ppa as _Q,Qpa as YJ,Rpa as v,Spa as P1,Tpa as Y5,Upa as w8,Vpa as q,Wpa as y,Xpa as S,Ypa as kQ,Zpa as L,_pa as a,aqa as e8,bqa as R5,cqa as _8,dqa as E,eqa as h8,fqa as P,gqa as x1,hqa as d,iqa as xQ,jqa as r,kqa as UQ,lqa as T5,mqa as UY}from"./cli-1.0.7-dnn18rgf.mjs";import{wra as aQ,xra as X}from"./cli-1.0.7-y94dd4yd.mjs";function h$(){this.__data__=new v,this.size=0}var QQ;var $Q=X(()=>{P1();QQ=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var JQ;var YQ=X(()=>{JQ=n$});function b$(Q){return this.__data__.get(Q)}var ZQ;var XQ=X(()=>{ZQ=b$});function i$(Q){return this.__data__.has(Q)}var HQ;var WQ=X(()=>{HQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new r(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,KQ;var GQ=X(()=>{P1();xQ();UQ();KQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();$Q();YQ();XQ();WQ();GQ();g.prototype.clear=QQ;g.prototype.delete=JQ;g.prototype.get=ZQ;g.prototype.has=HQ;g.prototype.set=KQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",BQ;var NQ=X(()=>{BQ=c$});function r$(Q){return this.__data__.has(Q)}var wQ;var zQ=X(()=>{wQ=r$});function o(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new r;while(++J<Y)this.add(Q[J])}var FQ;var RQ=X(()=>{UQ();NQ();zQ();o.prototype.add=o.prototype.push=BQ;o.prototype.has=wQ;FQ=o});function o$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var qQ;var DQ=X(()=>{qQ=o$});function s$(Q,J){return Q.has(J)}var OQ;var VQ=X(()=>{OQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&t$?new FQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],D=J[z];if(Z)var f=x?Z(D,R,z,J,Q,W):Z(R,D,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!qQ(J,function(C,_){if(!OQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===D||H(R,D,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{RQ();DQ();VQ();s=e$});var QJ,_1;var MQ=X(()=>{y();QJ=q.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var LQ;var fQ=X(()=>{LQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var PQ;var IQ=X(()=>{PQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return _Q(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=LQ;case BJ:var B=Z&ZJ;if(U||(U=PQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",CQ,k1,EQ;var vQ=X(()=>{kQ();MQ();YJ();C1();fQ();IQ();CQ=S?S.prototype:void 0,k1=CQ?CQ.valueOf:void 0;EQ=RJ});function qJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var dQ;var gQ=X(()=>{dQ=qJ});var DJ,w;var M=X(()=>{DJ=Array.isArray,w=DJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:dQ(Z,Y(Q))}var pQ;var yQ=X(()=>{gQ();M();pQ=OJ});function VJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var SQ;var mQ=X(()=>{SQ=VJ});function MJ(){return[]}var AQ;var jQ=X(()=>{AQ=MJ});var LJ,fJ,hQ,PJ,nQ;var bQ=X(()=>{mQ();jQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,hQ=Object.getOwnPropertySymbols,PJ=!hQ?AQ:function(Q){if(Q==null)return[];return Q=Object(Q),SQ(hQ(Q),function(J){return fJ.call(Q,J)})},nQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var iQ;var uQ=X(()=>{iQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var m=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var lQ=X(()=>{a();m();E1=kJ});var TQ,EJ,vJ,dJ,t;var v1=X(()=>{lQ();m();TQ=Object.prototype,EJ=TQ.hasOwnProperty,vJ=TQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var cQ;var rQ=X(()=>{cQ=gJ});var Q1={};aQ(Q1,{default:()=>A});var tQ,oQ,pJ,sQ,yJ,SJ,A;var d1=X(()=>{y();rQ();tQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=tQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===tQ,sQ=pJ?q.Buffer:void 0,yJ=sQ?sQ.isBuffer:void 0,SJ=yJ||cQ,A=SJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?mJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var mJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",rJ="[object Map]",oJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,eQ;var Q5=X(()=>{a();J1();m();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[rJ]=G[oJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;eQ=B8});function N8(Q){return function(J){return Q(J)}}var $5;var J5=X(()=>{$5=N8});var Z1={};aQ(Z1,{default:()=>X1});var Z5,i,z8,p1,F8,X1;var X5=X(()=>{w8();Z5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Z5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Z5,p1=z8&&Y5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var H5,R8,H1;var y1=X(()=>{Q5();J5();X5();H5=X1&&X1.isTypedArray,R8=H5?$5(H5):eQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?iQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||D8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var q8,D8,W5;var x5=X(()=>{uQ();v1();M();d1();g1();y1();q8=Object.prototype,D8=q8.hasOwnProperty;W5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,U5;var K5=X(()=>{V8=Object.prototype;U5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var G5;var B5=X(()=>{G5=L8});var f8,N5;var w5=X(()=>{B5();f8=G5(Object.keys,Object),N5=f8});function C8(Q){if(!U5(Q))return N5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,z5;var F5=X(()=>{K5();w5();P8=Object.prototype,I8=P8.hasOwnProperty;z5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!R5(Q)}var q5;var D5=X(()=>{_8();J1();q5=k8});function E8(Q){return q5(Q)?W5(Q):z5(Q)}var W1;var S1=X(()=>{x5();F5();D5();W1=E8});function v8(Q){return pQ(Q,W1,nQ)}var m1;var O5=X(()=>{yQ();bQ();S1();m1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=m1(Q),B=U.length,K=m1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var D=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var e1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(e1===void 0?C===_||H(C,_,Y,Z,W):e1)){D=!1;break}f||(f=N=="constructor")}if(D&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))D=!1}return W.delete(Q),W.delete(J),D}var d8=1,g8,p8,V5;var M5=X(()=>{O5();g8=Object.prototype,p8=g8.hasOwnProperty;V5=y8});var S8,U1;var L5=X(()=>{x1();y();S8=P(q,"DataView"),U1=S8});var m8,K1;var f5=X(()=>{x1();y();m8=P(q,"Promise"),K1=m8});var A8,G1;var P5=X(()=>{x1();y();A8=P(q,"Set"),G1=A8});var j8,B1;var I5=X(()=>{x1();y();j8=P(q,"WeakMap"),B1=j8});var C5="[object Map]",n8="[object Object]",_5="[object Promise]",k5="[object Set]",E5="[object WeakMap]",v5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var d5=X(()=>{L5();xQ();f5();P5();I5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=v5||d&&k(new d)!=C5||K1&&k(K1.resolve())!=_5||G1&&k(new G1)!=k5||B1&&k(new B1)!=E5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return v5;case i8:return C5;case u8:return _5;case l8:return k5;case T8:return E5}return J};A1=k});function o8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?p5:A1(Q),K=U?p5:A1(J);B=B==g5?N1:B,K=K==g5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):EQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&y5.call(Q,"__wrapped__"),R=z&&y5.call(J,"__wrapped__");if(V||R){var D=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(D,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),V5(Q,J,Y,Z,H,W)}var c8=1,g5="[object Arguments]",p5="[object Array]",N1="[object Object]",r8,y5,S5;var m5=X(()=>{I1();C1();vQ();M5();d5();M();d1();y1();r8=Object.prototype,y5=r8.hasOwnProperty;S5=o8});function A5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return S5(Q,J,Y,Z,A5,H)}var w1;var j1=X(()=>{m5();m();w1=A5});function t8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,j5;var h5=X(()=>{I1();j1();j5=t8});function QY(Q){return Q===Q&&!n5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var b5;var i5=X(()=>{h1();S1();b5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=b5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||j5(Y,Q,J)}}var u5;var l5=X(()=>{h5();i5();n1();u5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();m();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var q1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=T5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,c5;var r5=X(()=>{UY();c5=GY});var BY,NY,wY,o5;var s5=X(()=>{r5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=c5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var a5;var t5=X(()=>{a5=zY});function $$(Q){if(typeof Q=="string")return Q;if(w(Q))return a5(Q,$$)+"";if(h(Q))return Q$?Q$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,e5,Q$,J$;var Y$=X(()=>{kQ();t5();M();R1();e5=S?S.prototype:void 0,Q$=e5?e5.toString:void 0;J$=$$});function RY(Q){return Q==null?"":J$(Q)}var Z$;var X$=X(()=>{Y$();Z$=RY});function qY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Z$(Q))}var D1;var b1=X(()=>{M();q1();s5();X$();D1=qY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-DY?"-0":J}var DY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=D1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var H$;var W$=X(()=>{i1();H$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var x$;var U$=X(()=>{x$=LY});function fY(Q,J,Y){J=D1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var K$;var G$=X(()=>{b1();v1();M();g1();J1();u();K$=fY});function PY(Q,J){return Q!=null&&K$(Q,J,x$)}var B$;var N$=X(()=>{U$();G$();B$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=H$(Y,Q);return Z===void 0&&Z===J?B$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,w$;var z$=X(()=>{j1();W$();N$();q1();h1();n1();u();w$=_Y});function kY(Q){return Q}var F$;var R$=X(()=>{F$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var q$;var D$=X(()=>{q$=EY});function vY(Q){return function(J){return O1(J,Q)}}var O$;var V$=X(()=>{i1();O$=vY});function dY(Q){return n(Q)?q$(I(Q)):O$(Q)}var M$;var L$=X(()=>{D$();V$();q1();u();M$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return F$;if(typeof Q=="object")return w(Q)?w$(Q[0],Q[1]):u5(Q);return M$(Q)}var f$;var P$=X(()=>{l5();z$();R$();M();L$();f$=gY});function pY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var I$;var C$=X(()=>{I$=pY});function yY(Q,J){return Q&&Q.length?I$(Q,f$(J,2)):0}var b;var _$=X(()=>{P$();C$();b=yY});import{randomUUID as u1}from"crypto";var k$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function E$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function rX(Q){c1=Q}function oX(){c1=void 0}var l1=null,V1,T1,c1;var v$=X(()=>{V1=new Map;T1=new Map});function d$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var g$=()=>{};import{realpathSync as p$}from"fs";import{cwd as SY}from"process";function Z9(Q){return r1.add(Q),()=>r1.delete(Q)}function X9(){L1()}function L1(){for(let Q of r1)try{Q()}catch{}}function y$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof p$==="function"){let Y=SY();try{Q=p$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,S$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,S$(Q)}function S$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),o1.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function q9(){return $.directConnectServerUrl}function D9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){return Date.now()-$.startTime}function I9(){return $.totalAPIDurationWithoutRetries}function C9(){return $.totalToolDuration}function _9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function k9(){return $.turnHookDurationMs}function E9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function v9(){$.turnHookDurationMs=0,$.turnHookCount=0}function d9(){return $.turnHookCount}function g9(){return $.turnToolDurationMs}function p9(){$.turnToolDurationMs=0,$.turnToolCount=0}function y9(){return $.turnToolCount}function S9(){return $.turnClassifierDurationMs}function m9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function A9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function j9(){return $.turnClassifierCount}function h9(){return $.statsStore}function n9(Q){$.statsStore=Q}function b9(Q){if(Q)m$();else s1=!0}function i9(){if(s1)m$()}function m$(){$.lastInteractionTime=Date.now(),s1=!1}function u9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function l9(){return $.totalLinesAdded}function T9(){return $.totalLinesRemoved}function c9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function r9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function o9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function s9(){return b(Object.values($.modelUsage),"webSearchRequests")}function a9(){return A$()-a1}function t9(){return t1}function e9(Q){a1=A$(),t1=Q,f1=0}function QH(){return f1}function $H(){f1++}function JH(){$.hasUnknownModelCost=!0}function YH(){return $.hasUnknownModelCost}function ZH(){return $.lastMainRequestId}function XH(Q){$.lastMainRequestId=Q}function HH(){return $.lastApiCompletionTimestamp}function WH(Q){$.lastApiCompletionTimestamp=Q}function xH(){$.pendingPostCompaction=!0}function UH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function KH(){return $.lastInteractionTime}function GH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function BH(){return M1}async function NH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function wH(){return $.modelUsage}function zH(Q){return $.modelUsage[Q]}function FH(){return $.mainLoopModelOverride}function RH(){return $.initialMainLoopModel}function qH(Q){$.mainLoopModelOverride=Q}function DH(Q){$.initialMainLoopModel=Q}function OH(){return $.sdkBetas}function VH(Q){$.sdkBetas=Q}function MH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function LH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;if(x)$.startTime=Date.now()-x}function fH(){throw Error("resetStateForTests can only be called in tests")}function PH(){return $.modelStrings}function IH(Q){$.modelStrings=Q}function CH(){$.modelStrings=null}function _H(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function kH(){return $.meter}function EH(){return $.sessionCounter}function vH(){return $.locCounter}function dH(){return $.prCounter}function gH(){return $.commitCounter}function pH(){return $.costCounter}function yH(){return $.tokenCounter}function SH(){return $.codeEditToolDecisionCounter}function mH(){return $.activeTimeCounter}function AH(){return $.loggerProvider}function jH(Q){$.loggerProvider=Q}function hH(){return $.eventLogger}function nH(Q){$.eventLogger=Q}function bH(){return $.meterProvider}function iH(Q){$.meterProvider=Q}function uH(){return $.tracerProvider}function lH(Q){$.tracerProvider=Q}function mY(){return!$.isInteractive}function TH(){return $.isInteractive}function cH(Q){$.isInteractive=Q}function rH(){return $.clientType}function oH(Q){$.clientType=Q}function sH(){return $.sdkAgentProgressSummariesEnabled}function aH(Q){$.sdkAgentProgressSummariesEnabled=Q}function tH(){return $.kairosActive}function eH(Q){$.kairosActive=Q,L1()}function Q4(){return $.strictToolResultPairing}function $4(Q){$.strictToolResultPairing=Q}function J4(){return $.userMsgOptIn}function Y4(Q){$.userMsgOptIn=Q,L1()}function Z4(){return $.sessionSource}function X4(Q){$.sessionSource=Q}function H4(){return $.questionPreviewFormat}function W4(Q){$.questionPreviewFormat=Q}function x4(){return $.agentColorMap}function U4(){return $.flagSettingsPath}function K4(Q){$.flagSettingsPath=Q}function G4(){return $.flagSettingsInline}function B4(Q){$.flagSettingsInline=Q}function N4(){return $.sessionIngressToken}function w4(Q){$.sessionIngressToken=Q}function z4(){return $.oauthTokenFromFd}function F4(Q){$.oauthTokenFromFd=Q}function R4(){return $.apiKeyFromFd}function q4(Q){$.apiKeyFromFd=Q}function D4(Q){$.lastAPIRequest=Q}function O4(){return $.lastAPIRequest}function V4(Q){$.lastAPIRequestMessages=Q}function M4(){return $.lastAPIRequestMessages}function L4(Q){$.lastClassifierRequests=Q}function f4(){return $.lastClassifierRequests}function P4(Q){$.cachedClaudeMdContent=Q}function I4(){return $.cachedClaudeMdContent}function C4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function _4(){return $.allowedSettingSources}function k4(Q){$.allowedSettingSources=Q}function E4(){return mY()&&$.clientType!=="claude-vscode"}function v4(Q){$.inlinePlugins=Q}function d4(){return $.inlinePlugins}function g4(Q){$.useCoworkPlugins=Q,E$()}function p4(){return $.useCoworkPlugins}function y4(Q){$.sessionBypassPermissionsMode=Q}function S4(){return $.sessionBypassPermissionsMode}function m4(Q){$.scheduledTasksEnabled=Q}function A4(){return $.scheduledTasksEnabled}function j4(){return $.sessionCronTasks}function h4(Q){$.sessionCronTasks.push(Q)}function n4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function b4(){return $.pendingSessionWakeup}function i4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function u4(){$.pendingSessionWakeup=null}function l4(Q){$.sessionTrustAccepted=Q}function T4(){return $.sessionTrustAccepted}function c4(Q){$.sessionPersistenceDisabled=Q}function r4(){return $.sessionPersistenceDisabled}function o4(){return $.hasExitedPlanMode}function s4(Q){$.hasExitedPlanMode=Q}function a4(){return $.needsPlanModeExitAttachment}function t4(Q){$.needsPlanModeExitAttachment=Q}function e4(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function Q3(){return $.needsAutoModeExitAttachment}function $3(Q){$.needsAutoModeExitAttachment=Q}function J3(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function Y3(Q){$.initJsonSchema=Q}function Z3(){return $.initJsonSchema}function X3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function H3(){return $.registeredHooks}function W3(){$.registeredHooks=null}function x3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function U3(){$.initJsonSchema=null,$.registeredHooks=null}function K3(){return $.planSlugCache}function G3(){return $.sessionCreatedTeams}function B3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function N3(){return $.teleportedSessionInfo}function w3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function z3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function F3(){return $.invokedSkills}function R3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function q3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function D3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function O3(Q,J){}function V3(){return AY}function M3(){return $.mainThreadAgentType}function L3(Q){$.mainThreadAgentType=Q}function f3(){return $.isRemoteMode}function P3(Q){$.isRemoteMode=Q}function I3(){return $.systemPromptSectionCache}function C3(Q,J){$.systemPromptSectionCache.set(Q,J)}function _3(){$.systemPromptSectionCache.clear()}function k3(){return $.lastEmittedDate}function E3(Q){$.lastEmittedDate=Q}function v3(){return $.additionalDirectoriesForClaudeMd}function d3(Q){$.additionalDirectoriesForClaudeMd=Q}function g3(){return $.allowedChannels}function p3(Q){$.allowedChannels=Q,L1()}function y3(){return $.hasDevChannels}function S3(Q){$.hasDevChannels=Q}function m3(){return $.largeSystemPromptDetected}function A3(Q){$.largeSystemPromptDetected=Q}function j3(){return $.afkModeHeaderLatched}function h3(Q){$.afkModeHeaderLatched=Q}function n3(){return $.fastModeHeaderLatched}function b3(Q){$.fastModeHeaderLatched=Q}function i3(){return $.thinkingClearLatched}function u3(Q){$.thinkingClearLatched=Q}function l3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function T3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function c3(){return $.deferredDeltaLegacySession}function r3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function o3(){return $.sessionEpochMs}function s3(){return $.promptId}function a3(Q){$.promptId=Q}function t3(){return!1}function e3(){return null}var r1,$,o1,K9,s1=!1,a1=0,t1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{_$();k$();v$();g$();r1=new Set;$=y$();o1=d$();K9=o1.subscribe;AY=[]});
2
- export{p as mka,I1 as nka,FQ as oka,RQ as pka,OQ as qka,VQ as rka,_1 as ska,MQ as tka,PQ as uka,IQ as vka,dQ as wka,gQ as xka,w as yka,M as zka,pQ as Aka,yQ as Bka,SQ as Cka,mQ as Dka,AQ as Eka,jQ as Fka,nQ as Gka,bQ as Hka,O as Ika,m as Jka,t as Kka,v1 as Lka,A as Mka,d1 as Nka,$1 as Oka,g1 as Pka,$5 as Qka,J5 as Rka,X1 as Ska,X5 as Tka,H1 as Uka,y1 as Vka,W5 as Wka,x5 as Xka,U5 as Yka,K5 as Zka,G5 as _ka,B5 as $ka,q5 as ala,D5 as bla,W1 as cla,S1 as dla,m1 as ela,O5 as fla,G1 as gla,P5 as hla,A1 as ila,d5 as jla,w1 as kla,j1 as lla,h as mla,R1 as nla,a5 as ola,t5 as pla,Z$ as qla,X$ as rla,D1 as sla,b1 as tla,I as ula,u as vla,O1 as wla,i1 as xla,F$ as yla,R$ as zla,f$ as Ala,P$ as Bla,nX as Cla,bX as Dla,iX as Ela,uX as Fla,lX as Gla,TX as Hla,E$ as Ila,cX as Jla,rX as Kla,oX as Lla,v$ as Mla,d$ as Nla,g$ as Ola,Z9 as Pla,X9 as Qla,H9 as Rla,W9 as Sla,x9 as Tla,U9 as Ula,K9 as Vla,G9 as Wla,B9 as Xla,N9 as Yla,w9 as Zla,z9 as _la,F9 as $la,R9 as ama,q9 as bma,D9 as cma,O9 as dma,V9 as ema,M9 as fma,L9 as gma,f9 as hma,P9 as ima,I9 as jma,C9 as kma,_9 as lma,k9 as mma,E9 as nma,v9 as oma,d9 as pma,g9 as qma,p9 as rma,y9 as sma,S9 as tma,m9 as uma,A9 as vma,j9 as wma,h9 as xma,n9 as yma,b9 as zma,i9 as Ama,u9 as Bma,l9 as Cma,T9 as Dma,c9 as Ema,A$ as Fma,r9 as Gma,o9 as Hma,s9 as Ima,a9 as Jma,t9 as Kma,e9 as Lma,QH as Mma,$H as Nma,JH as Oma,YH as Pma,ZH as Qma,XH as Rma,HH as Sma,WH as Tma,xH as Uma,UH as Vma,KH as Wma,GH as Xma,BH as Yma,NH as Zma,wH as _ma,zH as $ma,FH as ana,RH as bna,qH as cna,DH as dna,OH as ena,VH as fna,MH as gna,LH as hna,fH as ina,PH as jna,IH as kna,CH as lna,_H as mna,kH as nna,EH as ona,vH as pna,dH as qna,gH as rna,pH as sna,yH as tna,SH as una,mH as vna,AH as wna,jH as xna,hH as yna,nH as zna,bH as Ana,iH as Bna,uH as Cna,lH as Dna,mY as Ena,TH as Fna,cH as Gna,rH as Hna,oH as Ina,sH as Jna,aH as Kna,tH as Lna,eH as Mna,Q4 as Nna,$4 as Ona,J4 as Pna,Y4 as Qna,Z4 as Rna,X4 as Sna,H4 as Tna,W4 as Una,x4 as Vna,U4 as Wna,K4 as Xna,G4 as Yna,B4 as Zna,N4 as _na,w4 as $na,z4 as aoa,F4 as boa,R4 as coa,q4 as doa,D4 as eoa,O4 as foa,V4 as goa,M4 as hoa,L4 as ioa,f4 as joa,P4 as koa,I4 as loa,C4 as moa,_4 as noa,k4 as ooa,E4 as poa,v4 as qoa,d4 as roa,g4 as soa,p4 as toa,y4 as uoa,S4 as voa,m4 as woa,A4 as xoa,j4 as yoa,h4 as zoa,n4 as Aoa,b4 as Boa,i4 as Coa,u4 as Doa,l4 as Eoa,T4 as Foa,c4 as Goa,r4 as Hoa,o4 as Ioa,s4 as Joa,a4 as Koa,t4 as Loa,e4 as Moa,Q3 as Noa,$3 as Ooa,J3 as Poa,Y3 as Qoa,Z3 as Roa,X3 as Soa,H3 as Toa,W3 as Uoa,x3 as Voa,U3 as Woa,K3 as Xoa,G3 as Yoa,B3 as Zoa,N3 as _oa,w3 as $oa,z3 as apa,F3 as bpa,R3 as cpa,q3 as dpa,D3 as epa,O3 as fpa,V3 as gpa,M3 as hpa,L3 as ipa,f3 as jpa,P3 as kpa,I3 as lpa,C3 as mpa,_3 as npa,k3 as opa,E3 as ppa,v3 as qpa,d3 as rpa,g3 as spa,p3 as tpa,y3 as upa,S3 as vpa,m3 as wpa,A3 as xpa,j3 as ypa,h3 as zpa,n3 as Apa,b3 as Bpa,i3 as Cpa,u3 as Dpa,l3 as Epa,T3 as Fpa,c3 as Gpa,r3 as Hpa,jY as Ipa,o3 as Jpa,s3 as Kpa,a3 as Lpa,t3 as Mpa,e3 as Npa,hY as Opa};
@@ -1,2 +0,0 @@
1
- import{qia as f}from"./cli-1.0.7-gk53nva2.mjs";import{tja as h}from"./cli-1.0.7-zjapdrt8.mjs";import{xra as Z}from"./cli-1.0.7-y94dd4yd.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 w=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(){}async function oz(z){if(!z||z.length>D)return null;return null}async function dz(z){if(!z||z.length>D)return null;return null}function nz(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(l(J.text));else if(m.has(J.type))break}return X}function l(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,m,pz;var L=Z(()=>{f();h();w();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),m=new Set(["command_substitution","process_substitution"]);pz=Symbol("parse-aborted")});
2
- export{K as m2,w as n2,kz as o2,oz as p2,pz as q2,dz as r2,nz as s2,L as t2};
@@ -1,2 +0,0 @@
1
- import{BL as M,DL as P,IL as m,JL as h,NL as c,hp as L,ip as D,jp as O,mp as _,np as S,oL as R,sL as b,vL as w}from"./cli-1.0.7-s5mhxbhn.mjs";import{Hba as T,Ifa as N,Lca as B,Nca as A,Qca as C,Qfa as j,_ca as E,zba as x}from"./cli-1.0.7-757ex32c.mjs";import{Aha as U,Bha as v}from"./cli-1.0.7-1ty38mre.mjs";import{qja as G,tja as F}from"./cli-1.0.7-zjapdrt8.mjs";import{xra as y}from"./cli-1.0.7-y94dd4yd.mjs";import{join as I}from"path";async function qq(){let q=C(),z=[],W=L();for(let[K,Q]of Object.entries(W))if(K.includes("@")&&Q)z.push(K);if(q.enabledPlugins)for(let[K,Q]of Object.entries(q.enabledPlugins)){if(!K.includes("@"))continue;let J=z.indexOf(K);if(Q){if(J===-1)z.push(K)}else if(J!==-1)z.splice(J,1)}return z}function zq(){let q=new Map,z=L();for(let[K,Q]of Object.entries(z)){if(!K.includes("@"))continue;if(Q===!0)q.set(K,"flag");else if(Q===!1)q.delete(K)}let W=[{scope:"managed",source:"policySettings"},{scope:"user",source:"userSettings"},{scope:"project",source:"projectSettings"},{scope:"local",source:"localSettings"},{scope:"flag",source:"flagSettings"}];for(let{scope:K,source:Q}of W){let J=B(Q);if(!J?.enabledPlugins)continue;for(let[V,Y]of Object.entries(J.enabledPlugins)){if(!V.includes("@"))continue;if(V in z&&z[V]!==Y)G(`Plugin ${V} from --add-dir (${z[V]}) overridden by ${Q} (${Y})`);if(Y===!0)q.set(V,K);else if(Y===!1)q.delete(V)}}return G(`Found ${q.size} enabled plugins with scopes: ${Array.from(q.entries()).map(([K,Q])=>`${K}(${Q})`).join(", ")}`),q}function Jq(q){return q!=="flag"}function Kq(q){return O[q]}async function p(){M().catch((W)=>{N(W)});let q=w(),z=Object.keys(q.plugins);return G(`Found ${z.length} installed plugins`),z}async function Qq(q){try{let z=await p(),W=q.filter((J)=>!z.includes(J));return(await Promise.all(W.map(async(J)=>{try{let V=await R(J);return{pluginId:J,found:V!==null&&V!==void 0}}catch(V){return G(`Failed to check plugin ${J} in marketplace: ${V}`),{pluginId:J,found:!1}}}))).filter(({found:J})=>J).map(({pluginId:J})=>J)}catch(z){return N(z),[]}}async function Vq(q,z,W="user"){let K=W!=="user"?U():void 0,Q=_(W),J=B(Q),V={...J?.enabledPlugins},Y=[],k=[];for(let H=0;H<q.length;H++){let X=q[H];if(!X)continue;if(z)z(X,H+1,q.length);try{let Z=await R(X);if(!Z){k.push({name:X,error:"Plugin not found in any marketplace"});continue}let{entry:$,marketplaceInstallLocation:f}=Z;if(!x($.source))await m(X,$,W,K);else h({pluginId:X,installPath:I(f,$.source),version:$.version},W,K);V[X]=!0,Y.push(X)}catch(Z){let $=Z instanceof Error?Z.message:String(Z);k.push({name:X,error:$}),N(Z)}}return A(Q,{...J,enabledPlugins:V}),{installed:Y,failed:k}}var a=y(()=>{v();F();j();E();D();P();b();S();c();T()});
2
- export{qq as Xd,zq as Yd,Jq as Zd,Kq as _d,p as $d,Qq as ae,Vq as be,a as ce};
@@ -1,2 +0,0 @@
1
- import{xra as $}from"./cli-1.0.7-y94dd4yd.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function x(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function A(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function N(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function k(z=1){return z===0?"":J(z,"A")}function X(z=1){return z===0?"":J(z,"B")}function D(z=1){return z===0?"":J(z,"C")}function M(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function S(z,Q){let V="";if(z<0)V+=M(-z);else if(z>0)V+=D(z);if(Q<0)V+=k(-Q);else if(Q>0)V+=X(Q);return V}function o(){return J("K")}function y(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=k(1);return Q+=W,Q}function a(z=1){return z===0?"":J(z,"S")}function n(z=1){return z===0?"":J(z,"T")}function c(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,W,q,b,l,F,K,E,t,r,i,e,s,zz,Jz,Qz,Vz;var v=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];W=J("G");q=J("H");b=J("s"),l=J("u");F=J(2,"K"),K=J(2,"J"),E=J(3,"J");t=J("r"),r=J("200~"),i=J("201~"),e=J("I"),s=J("O"),zz=J(">1u"),Jz=J("<u"),Qz=J(">4;2m"),Vz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+q}var P,Bz;var f=$(()=>{v();P=J(0,"f");Bz=T()});
2
- export{d as P0,Y as Q0,h as R0,j as S0,H as T0,w as U0,L as V0,x as W0,A as X0,N as Y0,J as Z0,g as _0,I as $0,_ as a1,u as b1,R as c1,C as d1,q as e1,S as f1,o as g1,K as h1,y as i1,a as j1,n as k1,c as l1,t as m1,r as n1,i as o1,e as p1,s as q1,zz as r1,Jz as s1,Qz as t1,Vz as u1,v as v1,T as w1,Bz as x1,f as y1};
@@ -1,9 +0,0 @@
1
- import{ora as V_,pra as su,rra as K_,sra as f_}from"./cli-1.0.7-0qbp0ac0.mjs";import{vra as H,yra as $_}from"./cli-1.0.7-y94dd4yd.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
2
- versions published after the first week of January 2027
3
- will require node >=${E}. You are running node ${_}.
4
-
5
- To continue receiving updates to AWS services, bug fixes,
6
- and security updates please upgrade to node >=${E}.
7
-
8
- More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
9
- export{W_ as hra,D_ as ira,yu as jra,ou as kra};
@@ -1,2 +0,0 @@
1
- import{xra as n}from"./cli-1.0.7-y94dd4yd.mjs";function o(){return{}}function e(){return null}async function i(){}function g(){return!1}function r(){}function u(){}function f(){}async function l(){}var t=()=>{};
2
- export{o as vV,e as wV,i as xV,g as yV,r as zV,u as AV,f as BV,l as CV,t as DV};
@@ -1,3 +0,0 @@
1
- import{$Z as s,H0 as o,HY as t,QY as p,_Z as j,a0 as F,c0 as V}from"./cli-1.0.7-mwj9f8rw.mjs";import{o3 as w,p3 as g,q3 as y}from"./cli-1.0.7-hd6xn6rt.mjs";import{F9 as _,G9 as n,y9 as $,z9 as a}from"./cli-1.0.7-757ex32c.mjs";import{tra as i,xra as v}from"./cli-1.0.7-y94dd4yd.mjs";function l(J,q,M,G){return G=typeof G=="function"?G:void 0,J==null?J:_(J,q,M,G)}var b;var f=v(()=>{n();b=l});function x(J,q={}){let{showValues:M=!0,hideFunctions:G=!1,themeName:W="dark",treeCharColors:Q={}}=q,X=[],I=new WeakSet;function Z(Y,D){if(!D)return Y;return j(D,W)(Y)}function N(Y,D,S,A=0){if(typeof Y==="string"){X.push(D+Z(Y,Q.value));return}if(typeof Y!=="object"||Y===null){if(M){let H=String(Y);X.push(D+Z(H,Q.value))}return}if(I.has(Y)){X.push(D+Z("[Circular]",Q.value));return}I.add(Y);let L=Object.keys(Y).filter((H)=>{let E=Y[H];if(G&&typeof E==="function")return!1;return!0});L.forEach((H,E)=>{let U=Y[H],P=E===L.length-1,T=A===0&&E===0?"":D,u=P?R.lastBranch:R.branch,d=Z(u,Q.treeChar),C=H.trim()===""?"":Z(H,Q.key),B=T+d+(C?" "+C:""),z=H.trim()!=="";if(U&&typeof U==="object"&&I.has(U)){let K=Z("[Circular]",Q.value);X.push(B+(z?": ":B?" ":"")+K)}else if(U&&typeof U==="object"&&!Array.isArray(U)){X.push(B);let K=P?R.empty:R.line,k=Z(K,Q.treeChar),c=T+k+" ";N(U,c,P,A+1)}else if(Array.isArray(U))X.push(B+(z?": ":B?" ":"")+"[Array("+U.length+")]");else if(M){let K=typeof U==="function"?"[Function]":String(U),k=Z(K,Q.value);B+=(z?": ":B?" ":"")+k,X.push(B)}else X.push(B)})}let O=Object.keys(J);if(O.length===0)return Z("(empty)",Q.value);if(O.length===1&&O[0]!==void 0&&O[0].trim()===""&&typeof J[O[0]]==="string"){let Y=O[0],D=Z(R.lastBranch,Q.treeChar),S=Z(J[Y],Q.value);return D+" "+S}return N(J,"",!0),X.join(`
2
- `)}var R;var m=v(()=>{a();s();R={branch:$.lineUpDownRight,lastBranch:$.lineUpRight,line:$.lineVertical,empty:" "}});function r(J){let q={};return J.forEach((M)=>{if(!M.path){q[""]=M.message;return}let G=M.path.split("."),W=M.path;if(M.invalidValue!==null&&M.invalidValue!==void 0&&G.length>0){let Q=[];for(let X=0;X<G.length;X++){let I=G[X];if(!I)continue;let Z=parseInt(I,10);if(!isNaN(Z)&&X===G.length-1){let N;if(typeof M.invalidValue==="string")N=`"${M.invalidValue}"`;else if(M.invalidValue===null)N="null";else if(M.invalidValue===void 0)N="undefined";else N=String(M.invalidValue);Q.push(N)}else Q.push(I)}W=Q.join(".")}b(q,W,M.message,Object)}),q}function Hq(J){let q=h.c(9),{errors:M}=J,[G]=p();if(M.length===0)return null;let W,Q,X;if(q[0]!==M||q[1]!==G){let Z=M.reduce(Jq,{}),N=Object.keys(Z).sort();W=F,Q="column",X=N.map((O)=>{let Y=Z[O]||[];Y.sort(qq);let D=r(Y),S=new Map;Y.forEach((L)=>{if(L.suggestion||L.docLink){let H=`${L.suggestion||""}|${L.docLink||""}`;if(!S.has(H))S.set(H,{suggestion:L.suggestion,docLink:L.docLink})}});let A=x(D,{showValues:!0,themeName:G,treeCharColors:{treeChar:"inactive",key:"text",value:"inactive"}});return g(F,{flexDirection:"column",children:[w(V,{children:O}),w(F,{marginLeft:1,children:w(V,{dimColor:!0,children:A})}),S.size>0&&w(F,{flexDirection:"column",marginTop:1,children:Array.from(S.values()).map(e)})]},O)}),q[0]=M,q[1]=G,q[2]=W,q[3]=Q,q[4]=X}else W=q[2],Q=q[3],X=q[4];let I;if(q[5]!==W||q[6]!==Q||q[7]!==X)I=w(W,{flexDirection:Q,children:X}),q[5]=W,q[6]=Q,q[7]=X,q[8]=I;else I=q[8];return I}function e(J,q){return g(F,{flexDirection:"column",marginBottom:1,children:[J.suggestion&&w(V,{dimColor:!0,wrap:"wrap",children:J.suggestion}),J.docLink&&g(V,{dimColor:!0,wrap:"wrap",children:["Learn more: ",J.docLink]})]},`suggestion-pair-${q}`)}function qq(J,q){if(!J.path&&q.path)return-1;if(J.path&&!q.path)return 1;return(J.path||"").localeCompare(q.path||"")}function Jq(J,q){let M=q.file||"(file not specified)";if(!J[M])J[M]=[];return J[M].push(q),J}var h;var Mq=v(()=>{f();o();m();y();h=i(t(),1)});
3
- export{Hq as kg,Mq as lg};
@@ -1,2 +0,0 @@
1
- import{Ci as a,Di as l}from"./cli-1.0.7-xga48xv7.mjs";import{Ei as m,Fi as c}from"./cli-1.0.7-na7ksfyj.mjs";import{o3 as e,q3 as n}from"./cli-1.0.7-hd6xn6rt.mjs";import{xra as s}from"./cli-1.0.7-y94dd4yd.mjs";async function f(o,r){let t=await m();if(t.type==="message")return o(t.value),null;return e(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(i)=>{r.onChangeAPIKey(),o(i?"Login successful":"Login interrupted")}})}var g=s(()=>{l();c();n()});
2
- export{f as Ai,g as Bi};
@@ -1,2 +0,0 @@
1
- import{Rf as EG,Sf as iG,Yf as rG}from"./cli-1.0.7-dbyr517p.mjs";import{AN as cG,Ax as jG,Bx as HG,Cx as dG,EM as aG,Ir as vG,MM as $G,NM as oG,QE as KG,RE as mG,XL as LG,YL as BG,_L as pG,aM as WG,an as FG,bM as qG,bn as OG,fn as VG,fs as uG,gM as a,iN as bG,kM as DG,lN as sG,mM as y,nM as o,oM as lG,pN as f,pn as fG,qM as kG,qN as s,rN as c,sN as v,tN as i,vM as _G,wN as u,zx as l}from"./cli-1.0.7-s5mhxbhn.mjs";import{HY as QJ}from"./cli-1.0.7-mwj9f8rw.mjs";import{o3 as wG,q3 as PG}from"./cli-1.0.7-hd6xn6rt.mjs";import{r3 as YG}from"./cli-1.0.7-jn7nay2r.mjs";import{Mba as zG,Mfa as R,Nfa as _,Qfa as gG,Rba as CG}from"./cli-1.0.7-757ex32c.mjs";import{aha as NG}from"./cli-1.0.7-01cbaw74.mjs";import{nia as A,qia as MG}from"./cli-1.0.7-gk53nva2.mjs";import{_ia as yG,qja as ZG,tja as SG}from"./cli-1.0.7-zjapdrt8.mjs";import{Qja as h,Xja as TG}from"./cli-1.0.7-3pqhf5bj.mjs";import{Opa as XG,Rla as QG}from"./cli-1.0.7-9p7hfa00.mjs";import{tra as r,xra as p}from"./cli-1.0.7-y94dd4yd.mjs";var e=p(()=>{yG();NG()});function GG(Z){let z="plugin"in Z?Z.plugin:"no-plugin";return`${Z.type}:${Z.source}:${z}`}function JG(Z,z){if(z.length===0)return;Z((k)=>{let U=new Set(k.plugins.errors.map((j)=>GG(j))),$=z.filter((j)=>!U.has(GG(j)));if($.length===0)return k;return{...k,plugins:{...k.plugins,errors:[...k.plugins.errors,...$]}}})}function GJ(Z,z,k,U){let $=z==="disabled"?U??[]:U;if($===void 0)return Z;let j=new Map;for(let W of $)if(W.name!==void 0)j.set(W.name,W);let V=[],P=new Set;for(let W of Z){if(!W.name?.startsWith(k)){V.push(W);continue}let w=j.get(W.name);if(w)V.push(w),P.add(W.name)}for(let W of $)if(W.name===void 0||!P.has(W.name))V.push(W);return V}function IG(Z,z=!1){let k=HG(),U=l((G)=>G.authVersion),$=l((G)=>G.mcp.pluginReconnectKey),j=jG(),V=D.useRef(new Map),P=D.useRef(new Set),W=D.useRef(null);D.useEffect(()=>{},[j]);let{addNotification:w}=KG(),RG=16,d=D.useRef([]),N=D.useRef(null),C=D.useCallback(()=>{N.current=null;let G=d.current;if(G.length===0)return;d.current=[],j((Y)=>{let F=Y.mcp;for(let B of G){let{tools:X,commands:H,resources:q,...J}=B,K=J.type==="disabled"||J.type==="failed"?H??[]:H,Q=J.type==="disabled"||J.type==="failed"?q??[]:q,O=zG(J.name),I=F.clients.findIndex((M)=>M.name===J.name)===-1?[...F.clients,J]:F.clients.map((M)=>M.name===J.name?J:M),g=GJ(F.tools,J.type,O,X),x=K===void 0?F.commands:[...$G(F.commands,(M)=>kG(M,J.name)),...K],m=Q===void 0?F.resources:{...F.resources,...Q.length>0?{[J.name]:Q}:EG(F.resources,J.name)};F={...F,clients:I,tools:g,commands:x,resources:m}}return{...Y,mcp:F}})},[j]),b=D.useCallback((G)=>{if(d.current.push(G),N.current===null)N.current=setTimeout(C,RG)},[C]),E=D.useCallback(({client:G,tools:Y,commands:F,resources:B})=>{switch(b({...G,tools:Y,commands:F,resources:B}),G.type){case"connected":{if(bG(G.client,G.name,j),G.client.onclose=()=>{let X=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{ZG(`Failed to invalidate the server cache: ${G.name}`)}),y(G.name)){_(G.name,"Server is disabled, skipping automatic reconnection");return}if(X!=="stdio"&&X!=="sdk"){let H=JJ(X);_(G.name,`${H} transport closed/disconnected, attempting automatic reconnection`);let q=V.current.get(G.name);if(q)clearTimeout(q),V.current.delete(G.name);(async()=>{for(let K=1;K<=T;K++){if(y(G.name)){_(G.name,"Server disabled during reconnection, stopping retry"),V.current.delete(G.name);return}b({...G,type:"pending",reconnectAttempt:K,maxReconnectAttempts:T});let Q=Date.now();try{let L=await v(G.name,G.config),I=Date.now()-Q;if(L.client.type==="connected"){_(G.name,`${H} reconnection successful after ${I}ms (attempt ${K})`),V.current.delete(G.name),E(L);return}if(_(G.name,`${H} reconnection attempt ${K} completed with status: ${L.client.type}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),E(L);return}}catch(L){let I=Date.now()-Q;if(R(G.name,`${H} reconnection attempt ${K} failed after ${I}ms: ${L}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),b({...G,type:"failed"});return}}let O=Math.min(tG*Math.pow(2,K-1),eG);_(G.name,`Scheduling reconnection attempt ${K+1} in ${O}ms`),await new Promise((L)=>{let I=setTimeout(L,O);V.current.set(G.name,I)})}})()}else b({...G,type:"failed"})},!1)switch(X.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{_(G.name,"Received tools/list_changed notification, refreshing tools");try{let X=f.cache.get(G.name);f.cache.delete(G.name);let H=await f(G),q=H.length;if(X)X.then((J)=>{A("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:q})},()=>{A("tengu_mcp_list_changed",{type:"tools",newCount:q})});else A("tengu_mcp_list_changed",{type:"tools",newCount:q});b({...G,tools:H})}catch(X){R(G.name,`Failed to refresh tools after list_changed notification: ${h(X)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{_(G.name,"Received prompts/list_changed notification, refreshing prompts"),A("tengu_mcp_list_changed",{type:"prompts"});try{c.cache.delete(G.name);let[X,H]=await Promise.all([c(G),Promise.resolve([])]);b({...G,commands:[...X,...H]}),nG?.()}catch(X){R(G.name,`Failed to refresh prompts after list_changed notification: ${h(X)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{_(G.name,"Received resources/list_changed notification, refreshing resources"),A("tengu_mcp_list_changed",{type:"resources"});try{s.cache.delete(G.name);{let X=await s(G);b({...G,resources:X})}}catch(X){R(G.name,`Failed to refresh resources after list_changed notification: ${h(X)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[b]),t=QG();D.useEffect(()=>{async function G(){let{servers:Y,errors:F}=z?{servers:{},errors:[]}:await a(Z),B={...Y,...Z};JG(j,F),j((X)=>{let{stale:H,...q}=_G(X.mcp,B);for(let Q of H){let O=V.current.get(Q.name);if(O)clearTimeout(O),V.current.delete(Q.name);if(Q.type==="connected")Q.client.onclose=void 0,u(Q.name,Q.config).catch(()=>{})}let J=new Set(q.clients.map((Q)=>Q.name)),K=Object.entries(B).filter(([Q])=>!J.has(Q)).map(([Q,O])=>({name:Q,type:y(Q)?"disabled":"pending",config:O}));if(K.length===0&&H.length===0)return X;return{...X,mcp:{...X.mcp,...q,clients:[...q.clients,...K]}}})}G().catch((Y)=>{R("useManageMCPConnections",`Failed to initialize servers as pending: ${h(Y)}`)})},[z,Z,j,t,$]),D.useEffect(()=>{let G=!1;async function Y(){let F;if(z||DG())F=Promise.resolve({});else BG(),F=LG();let{servers:B,errors:X}=z?{servers:{},errors:[]}:await a(Z,F);if(G)return;JG(j,X);let H={...B,...Z},q=Object.fromEntries(Object.entries(H).filter(([O])=>!y(O)));i(E,q).catch((O)=>{R("useManageMcpConnections",`Failed to get MCP resources: ${h(O)}`)});let J={};if(!z){if(J=qG(await F).allowed,G)return;if(Object.keys(J).length>0){let{servers:O}=WG(J,H);J=O}if(Object.keys(J).length>0){j((L)=>{let I=new Set(L.mcp.clients.map((x)=>x.name)),g=Object.entries(J).filter(([x])=>!I.has(x)).map(([x,m])=>({name:x,type:y(x)?"disabled":"pending",config:m}));if(g.length===0)return L;return{...L,mcp:{...L.mcp,clients:[...L.mcp.clients,...g]}}});let O=Object.fromEntries(Object.entries(J).filter(([L])=>!y(L)));i(E,O).catch((L)=>{R("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${h(L)}`)})}}let K={...H,...J},Q={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let O of Object.values(K))if(O.scope==="enterprise")Q.enterprise++;else if(O.scope==="user")Q.global++;else if(O.scope==="project")Q.project++;else if(O.scope==="local")Q.user++;else if(O.scope==="dynamic")Q.plugin++;else if(O.scope==="claudeai")Q.claudeai++;A("tengu_mcp_servers",{...Q})}return Y(),()=>{G=!0}},[z,Z,E,j,U,t,$]),D.useEffect(()=>{let G=V.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),N.current!==null)clearTimeout(N.current),N.current=null,C()}},[C]);let AG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((X)=>X.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let F=V.current.get(G);if(F)clearTimeout(F),V.current.delete(G);let B=await v(G,Y.config);return E(B),B},[k,E]),hG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((B)=>B.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let B=V.current.get(G);if(B)clearTimeout(B),V.current.delete(G);if(o(G,!1),Y.type==="connected")await u(G,Y.config);b({name:G,type:"disabled",config:Y.config})}else{o(G,!0),b({name:G,type:"pending",config:Y.config});let B=await v(G,Y.config);E(B)}},[k,b,E]);return{reconnectMcpServer:AG,toggleMcpServer:hG}}function JJ(Z){switch(Z){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var D,nG=null,T=5,tG=1000,eG=30000;var UG=p(()=>{XG();cG();fG();iG();oG();MG();lG();SG();XG();mG();dG();TG();gG();uG();rG();e();pG();sG();CG();aG();vG();D=r(YG(),1)});function aJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpReconnect must be used within MCPConnectionManager");return Z.reconnectMcpServer}function oJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return Z.toggleMcpServer}function sJ(Z){let z=xG.c(6),{children:k,dynamicMcpConfig:U,isStrictMcpConfig:$}=Z,{reconnectMcpServer:j,toggleMcpServer:V}=IG(U,$),P;if(z[0]!==j||z[1]!==V)P={reconnectMcpServer:j,toggleMcpServer:V},z[0]=j,z[1]=V,z[2]=P;else P=z[2];let W=P,w;if(z[3]!==k||z[4]!==W)w=wG(n.Provider,{value:W,children:k}),z[3]=k,z[4]=W,z[5]=w;else w=z[5];return w}var xG,S,n;var XJ=p(()=>{UG();PG();xG=r(QJ(),1),S=r(YG(),1),n=S.createContext(null)});
2
- export{e as Mf,aJ as Nf,oJ as Of,sJ as Pf,XJ as Qf};
@@ -1,2 +0,0 @@
1
- import{Kx as Pq,Mn as T,Nn as Cq,Ox as cq}from"./cli-1.0.7-s5mhxbhn.mjs";import{iY as Uq,jY as Iq,mY as kq}from"./cli-1.0.7-yc90byps.mjs";import{H0 as hq,HY as aq,a0 as L,c0 as O}from"./cli-1.0.7-mwj9f8rw.mjs";import{o3 as J,p3 as Q,q3 as vq}from"./cli-1.0.7-hd6xn6rt.mjs";import{A5 as Sq,g5 as bq,h5 as Mq}from"./cli-1.0.7-txhggtd1.mjs";import{Baa as fq,P_ as Xq,Q_ as jq,Rda as Rq,kea as Bq,zaa as Nq}from"./cli-1.0.7-757ex32c.mjs";import{aha as nq}from"./cli-1.0.7-01cbaw74.mjs";import{tra as yq,xra as Gq}from"./cli-1.0.7-y94dd4yd.mjs";function dq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function eq(Y,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return Y.length>0&&!/^\s/.test(Y)&&!Y.startsWith("\x1B")}var Wq=Gq(()=>{kq();Bq();fq()});function V(Y){return Y.replace(/\+/g," + ")}function LH(Y){let q=Eq.c(99),{dimColor:H,fixedWidth:Dq,gap:x,paddingX:l}=Y,m=T("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=V(m),q[0]=m,q[1]=p;else p=q[1];let d=p,e=T("app:toggleTodos","Global","ctrl+t"),f;if(q[2]!==e)f=V(e),q[2]=e,q[3]=f;else f=q[3];let s=f,i=T("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=V(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=T("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=V($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=T("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=V(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Hq=T("chat:modelPicker","Chat","alt+p"),n;if(q[10]!==Hq)n=V(Hq),q[10]=Hq,q[11]=n;else n=q[11];let Jq=n,Lq=T("chat:fastMode","Chat","alt+o"),j;if(q[12]!==Lq)j=V(Lq),q[12]=Lq,q[13]=j;else j=q[13];let Oq=j,Qq=T("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Qq)S=V(Qq),q[14]=Qq,q[15]=S;else S=q[15];let Tq=S,Vq=T("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Vq)a=V(Vq),q[16]=Vq,q[17]=a;else a=q[17];let Fq=a,Yq=T("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Yq)h=V(Yq),q[18]=Yq,q[19]=h;else h=q[19];let Zq=h,gq=V(T("chat:increaseEffort","Chat","shift+right")),_q=V(T("chat:openDiff","Chat","ctrl+g")),pq=V(T("chat:openExplorer","Chat","ctrl+e")),C;if(q[20]!==H||q[21]!==Fq)C=null,q[20]=H,q[21]=Fq,q[22]=C;else C=q[22];let wq=C,zq=Dq?28:void 0,Z;if(q[23]!==H)Z=J(L,{children:J(O,{dimColor:H,children:"! for bash mode"})}),q[23]=H,q[24]=Z;else Z=q[24];let w;if(q[25]!==H)w=J(L,{children:J(O,{dimColor:H,children:"/ for commands"})}),q[25]=H,q[26]=w;else w=q[26];let z;if(q[27]!==H)z=J(L,{children:J(O,{dimColor:H,children:"@ for file paths"})}),q[27]=H,q[28]=z;else z=q[28];let A;if(q[29]!==H)A=J(L,{children:J(O,{dimColor:H,children:"& for background"})}),q[29]=H,q[30]=A;else A=q[30];let D;if(q[31]!==H)D=J(L,{children:J(O,{dimColor:H,children:"/btw for side question"})}),q[31]=H,q[32]=D;else D=q[32];let F;if(q[33]!==zq||q[34]!==Z||q[35]!==w||q[36]!==z||q[37]!==A||q[38]!==D)F=Q(L,{flexDirection:"column",width:zq,children:[Z,w,z,A,D,J(L,{children:Q(O,{dimColor:H,children:[pq," for file explorer"]})}),J(L,{children:Q(O,{dimColor:H,children:[_q," for diff reviewer"]})})]}),q[33]=zq,q[34]=Z,q[35]=w,q[36]=z,q[37]=A,q[38]=D,q[39]=F;else F=q[39];let Aq=Dq?35:void 0,G;if(q[40]!==H)G=J(L,{children:J(O,{dimColor:H,children:"double tap esc to clear input"})}),q[40]=H,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==H)N=J(L,{children:Q(O,{dimColor:H,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=H,q[44]=N;else N=q[44];let R;if(q[45]!==H||q[46]!==d)R=J(L,{children:Q(O,{dimColor:H,children:[d," for verbose output"]})}),q[45]=H,q[46]=d,q[47]=R;else R=q[47];let U;if(q[48]!==H||q[49]!==s)U=J(L,{children:Q(O,{dimColor:H,children:[s," to toggle tasks"]})}),q[48]=H,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==H)I=J(L,{children:J(O,{dimColor:H,children:c})}),q[52]=H,q[53]=I;else I=q[53];let K;if(q[54]!==Aq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==wq)K=Q(L,{flexDirection:"column",width:Aq,children:[G,N,R,U,wq,I]}),q[54]=Aq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=wq,q[61]=K;else K=q[61];let W;if(q[62]!==H||q[63]!==r)W=J(L,{children:Q(O,{dimColor:H,children:[r," to undo"]})}),q[62]=H,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==H)v=Xq()!=="windows"&&J(L,{children:J(O,{dimColor:H,children:"ctrl + z to suspend"})}),q[65]=H,q[66]=v;else v=q[66];let X;if(q[67]!==H||q[68]!==Zq)X=J(L,{children:Q(O,{dimColor:H,children:[Zq," to paste images"]})}),q[67]=H,q[68]=Zq,q[69]=X;else X=q[69];let b;if(q[70]!==H||q[71]!==Jq)b=J(L,{children:Q(O,{dimColor:H,children:[Jq," to switch model"]})}),q[70]=H,q[71]=Jq,q[72]=b;else b=q[72];let M;if(q[73]!==H||q[74]!==Oq)M=bq()&&Mq()&&J(L,{children:Q(O,{dimColor:H,children:[Oq," to toggle fast mode"]})}),q[73]=H,q[74]=Oq,q[75]=M;else M=q[75];let P;if(q[76]!==H||q[77]!==o)P=J(L,{children:Q(O,{dimColor:H,children:[o," to stash prompt"]})}),q[76]=H,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==H||q[80]!==Tq)E=J(L,{children:Q(O,{dimColor:H,children:[Tq," to edit in $EDITOR"]})}),q[79]=H,q[80]=Tq,q[81]=E;else E=q[81];let g;if(q[82]!==H)g=Pq()&&J(L,{children:J(O,{dimColor:H,children:"/keybindings to customize"})}),q[82]=H,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=Q(L,{flexDirection:"column",children:[W,v,X,b,J(L,{children:Q(O,{dimColor:H,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let u;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)u=Q(L,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=u;else u=q[98];return u}var Eq;var uq=Gq(()=>{hq();jq();cq();Cq();nq();Sq();Wq();vq();Eq=yq(aq(),1)});
2
- export{dq as zf,eq as Af,Wq as Bf,LH as Cf,uq as Df};