@claudiolabs/claudin 1.1.8 → 1.1.10

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/dist/chunks/AgentTool-1.1.10-gj63wvsc.mjs +1 -0
  2. package/dist/chunks/App-1.1.10-sk0bjxfk.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.10-7yenejkw.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.10-0aa0zy1a.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.10-vyft90yk.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.10-657b3x88.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.10-2vb72aje.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.10-dcrmyx9b.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.10-3k4xatjv.mjs +7 -0
  10. package/dist/chunks/Doctor-1.1.10-rgy7nenk.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.10-7tka6rrk.mjs +6 -0
  12. package/dist/chunks/Grove-1.1.10-mzvca2vd.mjs +1 -0
  13. package/dist/chunks/ITermBackend-1.1.10-zf1cxr4h.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.1.10-xbvct858.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.1.10-29tqjn4y.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.1.10-0fdsdbna.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.1.10-pwtdmht6.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.1.10-qdhkgymy.mjs +1 -0
  19. package/dist/chunks/REPL-1.1.10-d1wzzd1a.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.1.10-qxv36tqp.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.1.10-1w85m05k.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.1.10-qsf4xmkj.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.1.10-b0js9xk0.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.1.10-v8g7z6vy.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.1.10-mh9af70m.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.1.10-23pzjxjm.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.1.10-561ps5mb.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.1.10-1spf7213.mjs +1 -0
  29. package/dist/chunks/add-dir-1.1.10-pvac31nq.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.1.10-1g7w3dx1.mjs +1 -0
  31. package/dist/chunks/agents-1.1.10-8m9yb7xs.mjs +110 -0
  32. package/dist/chunks/agents-1.1.10-spgs7zfh.mjs +3 -0
  33. package/dist/chunks/api-1.1.10-6md4ym02.mjs +1 -0
  34. package/dist/chunks/asciicast-1.1.10-r808f4jx.mjs +1 -0
  35. package/dist/chunks/assistant-1.1.10-2jgdpy2m.mjs +1 -0
  36. package/dist/chunks/auth-1.1.10-c58sakkr.mjs +1 -0
  37. package/dist/chunks/auth-1.1.10-sfzbw010.mjs +1 -0
  38. package/dist/chunks/autoMode-1.1.10-c8tm40pq.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.1.10-avtbnsyp.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.10-n208vt88.mjs +1 -0
  41. package/dist/chunks/branch-1.1.10-qtvf52jq.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.10-ryc7krfd.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.10-3j77pwcn.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.10-mdqzrmk6.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.10-0da3j9a0.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.10-hjbfhk32.mjs +1 -0
  47. package/dist/chunks/btw-1.1.10-k6ndf81e.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.10-t5yrtkdq.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.10-tkh4t0g0.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.10-q4zvr7r5.mjs +4 -0
  51. package/dist/chunks/caches-1.1.10-107p4aea.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.10-fkx2a88x.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.10-n325a040.mjs +1 -0
  54. package/dist/chunks/clear-1.1.10-evfcfpzq.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.10-9c6e5w18.mjs +1 -0
  56. package/dist/chunks/cli-1.1.10-051sym72.mjs +2 -0
  57. package/dist/chunks/cli-1.1.10-05ry3ydz.mjs +2 -0
  58. package/dist/chunks/cli-1.1.10-0hqk157z.mjs +2 -0
  59. package/dist/chunks/cli-1.1.10-0j2bz40j.mjs +2 -0
  60. package/dist/chunks/cli-1.1.10-0ss6k2ta.mjs +133 -0
  61. package/dist/chunks/cli-1.1.10-0sxx8rkz.mjs +21 -0
  62. package/dist/chunks/cli-1.1.10-0t3bda7e.mjs +45 -0
  63. package/dist/chunks/cli-1.1.10-0v84m667.mjs +2 -0
  64. package/dist/chunks/cli-1.1.10-0v8v9gwe.mjs +17 -0
  65. package/dist/chunks/cli-1.1.10-0vae4j38.mjs +2 -0
  66. package/dist/chunks/cli-1.1.10-0vm5evaf.mjs +2 -0
  67. package/dist/chunks/cli-1.1.10-0yx9c9s1.mjs +2 -0
  68. package/dist/chunks/cli-1.1.10-12dzgaq4.mjs +2 -0
  69. package/dist/chunks/cli-1.1.10-15m7f0r3.mjs +50 -0
  70. package/dist/chunks/cli-1.1.10-1jkxjyqd.mjs +2 -0
  71. package/dist/chunks/cli-1.1.10-1mh77njj.mjs +2 -0
  72. package/dist/chunks/cli-1.1.10-1qxr18wg.mjs +2 -0
  73. package/dist/chunks/cli-1.1.10-220cer0v.mjs +9 -0
  74. package/dist/chunks/cli-1.1.10-250q8bef.mjs +2 -0
  75. package/dist/chunks/cli-1.1.10-2rygdbq2.mjs +2 -0
  76. package/dist/chunks/cli-1.1.10-2scx8n6c.mjs +2 -0
  77. package/dist/chunks/cli-1.1.10-2thwcpkf.mjs +18 -0
  78. package/dist/chunks/cli-1.1.10-2w383pwf.mjs +2 -0
  79. package/dist/chunks/cli-1.1.10-2w4c9red.mjs +3 -0
  80. package/dist/chunks/cli-1.1.10-2wkvf65f.mjs +2 -0
  81. package/dist/chunks/cli-1.1.10-2x1a8qcr.mjs +2 -0
  82. package/dist/chunks/cli-1.1.10-374zmax8.mjs +2 -0
  83. package/dist/chunks/cli-1.1.10-39crhqg8.mjs +2 -0
  84. package/dist/chunks/cli-1.1.10-3a3dw1b0.mjs +6 -0
  85. package/dist/chunks/cli-1.1.10-3pch2a3h.mjs +2 -0
  86. package/dist/chunks/cli-1.1.10-3vfwktcp.mjs +2 -0
  87. package/dist/chunks/cli-1.1.10-436vz31m.mjs +2 -0
  88. package/dist/chunks/cli-1.1.10-453rs0bh.mjs +3 -0
  89. package/dist/chunks/cli-1.1.10-49bvng33.mjs +2 -0
  90. package/dist/chunks/cli-1.1.10-4fjjvbb7.mjs +2 -0
  91. package/dist/chunks/cli-1.1.10-4h8gax7r.mjs +2 -0
  92. package/dist/chunks/cli-1.1.10-4xztz3b9.mjs +24 -0
  93. package/dist/chunks/cli-1.1.10-51vyhqae.mjs +2 -0
  94. package/dist/chunks/cli-1.1.10-5828mt9m.mjs +2 -0
  95. package/dist/chunks/cli-1.1.10-58e888gh.mjs +2 -0
  96. package/dist/chunks/cli-1.1.10-58vqqfgj.mjs +2 -0
  97. package/dist/chunks/cli-1.1.10-5hrs5rqr.mjs +2 -0
  98. package/dist/chunks/cli-1.1.10-5t6aryqe.mjs +2 -0
  99. package/dist/chunks/cli-1.1.10-5t95b8cn.mjs +2 -0
  100. package/dist/chunks/cli-1.1.10-5y236qn7.mjs +2 -0
  101. package/dist/chunks/cli-1.1.10-6g4fntdc.mjs +3 -0
  102. package/dist/chunks/cli-1.1.10-6km1ymnm.mjs +2 -0
  103. package/dist/chunks/cli-1.1.10-6m1jpn0s.mjs +24 -0
  104. package/dist/chunks/cli-1.1.10-6q7mx8f2.mjs +2 -0
  105. package/dist/chunks/cli-1.1.10-6smvkrsd.mjs +2 -0
  106. package/dist/chunks/cli-1.1.10-6vxxztf9.mjs +2 -0
  107. package/dist/chunks/cli-1.1.10-6ya9ptdc.mjs +2 -0
  108. package/dist/chunks/cli-1.1.10-795jmkhb.mjs +2 -0
  109. package/dist/chunks/cli-1.1.10-84ev8nya.mjs +2 -0
  110. package/dist/chunks/cli-1.1.10-85j5ems7.mjs +2 -0
  111. package/dist/chunks/cli-1.1.10-8fgppw70.mjs +2 -0
  112. package/dist/chunks/cli-1.1.10-8vmgbrks.mjs +2 -0
  113. package/dist/chunks/cli-1.1.10-8xx1v7p2.mjs +2 -0
  114. package/dist/chunks/cli-1.1.10-910qbqn7.mjs +133 -0
  115. package/dist/chunks/cli-1.1.10-99ep1sr9.mjs +2 -0
  116. package/dist/chunks/cli-1.1.10-9jy4caft.mjs +2 -0
  117. package/dist/chunks/cli-1.1.10-9pxnk8yg.mjs +6 -0
  118. package/dist/chunks/cli-1.1.10-9q1p3zj2.mjs +2 -0
  119. package/dist/chunks/cli-1.1.10-9r8td4sp.mjs +2 -0
  120. package/dist/chunks/cli-1.1.10-a0ypafa6.mjs +2 -0
  121. package/dist/chunks/cli-1.1.10-a565mgy8.mjs +2 -0
  122. package/dist/chunks/cli-1.1.10-a7j4a04g.mjs +2 -0
  123. package/dist/chunks/cli-1.1.10-a8e8n1bk.mjs +2 -0
  124. package/dist/chunks/cli-1.1.10-aq5a8xs2.mjs +2 -0
  125. package/dist/chunks/cli-1.1.10-azskxdmb.mjs +2 -0
  126. package/dist/chunks/cli-1.1.10-b0b04nbj.mjs +2 -0
  127. package/dist/chunks/cli-1.1.10-b1hac494.mjs +2 -0
  128. package/dist/chunks/cli-1.1.10-b41dat7h.mjs +2 -0
  129. package/dist/chunks/cli-1.1.10-b6my5t3h.mjs +2 -0
  130. package/dist/chunks/cli-1.1.10-ba3fhh55.mjs +2 -0
  131. package/dist/chunks/cli-1.1.10-bpcmdnpg.mjs +2 -0
  132. package/dist/chunks/cli-1.1.10-bs5xjsav.mjs +39 -0
  133. package/dist/chunks/cli-1.1.10-c2wdnady.mjs +3 -0
  134. package/dist/chunks/cli-1.1.10-c3g5ab8n.mjs +2 -0
  135. package/dist/chunks/cli-1.1.10-c67v6p50.mjs +2 -0
  136. package/dist/chunks/cli-1.1.10-c77kxdjj.mjs +2 -0
  137. package/dist/chunks/cli-1.1.10-cbgx6hw2.mjs +9 -0
  138. package/dist/chunks/cli-1.1.10-cgan8hpz.mjs +2 -0
  139. package/dist/chunks/cli-1.1.10-cn0a8vwn.mjs +2 -0
  140. package/dist/chunks/cli-1.1.10-ct81y4qh.mjs +4 -0
  141. package/dist/chunks/cli-1.1.10-cvxq4g91.mjs +2 -0
  142. package/dist/chunks/cli-1.1.10-cyv1wwen.mjs +3 -0
  143. package/dist/chunks/cli-1.1.10-d15qrtw2.mjs +2 -0
  144. package/dist/chunks/cli-1.1.10-d4ncq82f.mjs +8 -0
  145. package/dist/chunks/cli-1.1.10-dppcc1yx.mjs +6 -0
  146. package/dist/chunks/cli-1.1.10-dvxkr02c.mjs +2 -0
  147. package/dist/chunks/cli-1.1.10-e7wxspgz.mjs +4 -0
  148. package/dist/chunks/cli-1.1.10-e8zhf6q8.mjs +2 -0
  149. package/dist/chunks/cli-1.1.10-ecahzspx.mjs +2 -0
  150. package/dist/chunks/cli-1.1.10-effpqe7k.mjs +2 -0
  151. package/dist/chunks/cli-1.1.10-ejwjw031.mjs +6 -0
  152. package/dist/chunks/cli-1.1.10-eqscqpev.mjs +3 -0
  153. package/dist/chunks/cli-1.1.10-erh9bkn9.mjs +24 -0
  154. package/dist/chunks/cli-1.1.10-ex9enqps.mjs +2 -0
  155. package/dist/chunks/cli-1.1.10-f00rps59.mjs +2 -0
  156. package/dist/chunks/cli-1.1.10-f2zv6ggd.mjs +2 -0
  157. package/dist/chunks/cli-1.1.10-f7dqg4nd.mjs +2 -0
  158. package/dist/chunks/cli-1.1.10-f8q95jfw.mjs +2 -0
  159. package/dist/chunks/cli-1.1.10-f8znbdgf.mjs +4 -0
  160. package/dist/chunks/cli-1.1.10-fdxccf2v.mjs +3 -0
  161. package/dist/chunks/cli-1.1.10-fkqba8ty.mjs +58 -0
  162. package/dist/chunks/cli-1.1.10-fnvz77rd.mjs +2 -0
  163. package/dist/chunks/cli-1.1.10-fsq46r6j.mjs +2 -0
  164. package/dist/chunks/cli-1.1.10-fz99ag3y.mjs +2 -0
  165. package/dist/chunks/cli-1.1.10-gafedg04.mjs +2 -0
  166. package/dist/chunks/cli-1.1.10-gjdh1yvr.mjs +2 -0
  167. package/dist/chunks/cli-1.1.10-gmf5w0a4.mjs +2 -0
  168. package/dist/chunks/cli-1.1.10-gnmyahda.mjs +7 -0
  169. package/dist/chunks/cli-1.1.10-gr69gke8.mjs +15 -0
  170. package/dist/chunks/cli-1.1.10-gydf5ktx.mjs +2 -0
  171. package/dist/chunks/cli-1.1.10-h0b2x5t4.mjs +2 -0
  172. package/dist/chunks/cli-1.1.10-h49727f7.mjs +3 -0
  173. package/dist/chunks/cli-1.1.10-h4m6563f.mjs +4 -0
  174. package/dist/chunks/cli-1.1.10-hdz1r66z.mjs +2 -0
  175. package/dist/chunks/cli-1.1.10-hg2m67ya.mjs +15 -0
  176. package/dist/chunks/cli-1.1.10-hhkgpzgz.mjs +2 -0
  177. package/dist/chunks/cli-1.1.10-hk2c91wp.mjs +5379 -0
  178. package/dist/chunks/cli-1.1.10-hr4ety9s.mjs +2 -0
  179. package/dist/chunks/cli-1.1.10-hs44pkht.mjs +2 -0
  180. package/dist/chunks/cli-1.1.10-hx9513je.mjs +2 -0
  181. package/dist/chunks/cli-1.1.10-j20txpzn.mjs +2 -0
  182. package/dist/chunks/cli-1.1.10-j4vg803f.mjs +25 -0
  183. package/dist/chunks/cli-1.1.10-jd00fn0g.mjs +34 -0
  184. package/dist/chunks/cli-1.1.10-jeaf93w2.mjs +2 -0
  185. package/dist/chunks/cli-1.1.10-jfmgqmt5.mjs +17 -0
  186. package/dist/chunks/cli-1.1.10-jfwqa1gq.mjs +3 -0
  187. package/dist/chunks/cli-1.1.10-jn6w68wj.mjs +6 -0
  188. package/dist/chunks/cli-1.1.10-jp5ga1mx.mjs +2 -0
  189. package/dist/chunks/cli-1.1.10-jrpxc13y.mjs +2 -0
  190. package/dist/chunks/cli-1.1.10-jyk734bb.mjs +2 -0
  191. package/dist/chunks/cli-1.1.10-k9q658g7.mjs +2 -0
  192. package/dist/chunks/cli-1.1.10-kdvf271d.mjs +4 -0
  193. package/dist/chunks/cli-1.1.10-kdxm85xx.mjs +20 -0
  194. package/dist/chunks/cli-1.1.10-kw60xwcx.mjs +3 -0
  195. package/dist/chunks/cli-1.1.10-kxqtg1q9.mjs +2 -0
  196. package/dist/chunks/cli-1.1.10-kzbg67rw.mjs +5 -0
  197. package/dist/chunks/cli-1.1.10-m0pdck7q.mjs +202 -0
  198. package/dist/chunks/cli-1.1.10-m0xgys17.mjs +2 -0
  199. package/dist/chunks/cli-1.1.10-m10z6jbs.mjs +4 -0
  200. package/dist/chunks/cli-1.1.10-m86zy5vy.mjs +2 -0
  201. package/dist/chunks/cli-1.1.10-mawng745.mjs +12 -0
  202. package/dist/chunks/cli-1.1.10-mdkc2azc.mjs +2 -0
  203. package/dist/chunks/cli-1.1.10-mnbek10k.mjs +2 -0
  204. package/dist/chunks/cli-1.1.10-msg7sda2.mjs +59 -0
  205. package/dist/chunks/cli-1.1.10-mx6xpamf.mjs +2 -0
  206. package/dist/chunks/cli-1.1.10-n8ed7a8a.mjs +4 -0
  207. package/dist/chunks/cli-1.1.10-nfpy32s8.mjs +66 -0
  208. package/dist/chunks/cli-1.1.10-njf3620e.mjs +2 -0
  209. package/dist/chunks/cli-1.1.10-np84s5kd.mjs +2 -0
  210. package/dist/chunks/cli-1.1.10-ntrb7636.mjs +3 -0
  211. package/dist/chunks/cli-1.1.10-p28vy0yz.mjs +2 -0
  212. package/dist/chunks/cli-1.1.10-pkyv2v8k.mjs +2 -0
  213. package/dist/chunks/cli-1.1.10-ppft1w3p.mjs +2 -0
  214. package/dist/chunks/cli-1.1.10-psqaker4.mjs +2 -0
  215. package/dist/chunks/cli-1.1.10-pxdj0vvb.mjs +3 -0
  216. package/dist/chunks/cli-1.1.10-q2nbtgde.mjs +15 -0
  217. package/dist/chunks/cli-1.1.10-qh2qrbg9.mjs +2 -0
  218. package/dist/chunks/cli-1.1.10-qk19t6fd.mjs +2 -0
  219. package/dist/chunks/cli-1.1.10-qnswwjvv.mjs +4 -0
  220. package/dist/chunks/cli-1.1.10-qny1442k.mjs +2 -0
  221. package/dist/chunks/cli-1.1.10-qtkktme0.mjs +2 -0
  222. package/dist/chunks/cli-1.1.10-rgpghq5k.mjs +6 -0
  223. package/dist/chunks/cli-1.1.10-ryjne6pb.mjs +2 -0
  224. package/dist/chunks/cli-1.1.10-saacbyca.mjs +2 -0
  225. package/dist/chunks/cli-1.1.10-sbfv4gg3.mjs +2 -0
  226. package/dist/chunks/cli-1.1.10-sc2myky4.mjs +25 -0
  227. package/dist/chunks/cli-1.1.10-sdgrrb7v.mjs +2 -0
  228. package/dist/chunks/cli-1.1.10-sgrbnxr1.mjs +2 -0
  229. package/dist/chunks/cli-1.1.10-sv5wy20e.mjs +2 -0
  230. package/dist/chunks/cli-1.1.10-syrhp8d1.mjs +12 -0
  231. package/dist/chunks/cli-1.1.10-sz5x71xt.mjs +42 -0
  232. package/dist/chunks/cli-1.1.10-szjm5cs0.mjs +2 -0
  233. package/dist/chunks/cli-1.1.10-t0ypk4ke.mjs +2 -0
  234. package/dist/chunks/cli-1.1.10-t1vfqzsp.mjs +4 -0
  235. package/dist/chunks/cli-1.1.10-t3pn4ww9.mjs +2 -0
  236. package/dist/chunks/cli-1.1.10-t8n5jx0z.mjs +2 -0
  237. package/dist/chunks/cli-1.1.10-tntdtvhr.mjs +2 -0
  238. package/dist/chunks/cli-1.1.10-tnymg33g.mjs +2 -0
  239. package/dist/chunks/cli-1.1.10-tqfkjw71.mjs +2 -0
  240. package/dist/chunks/cli-1.1.10-trsts9v3.mjs +2 -0
  241. package/dist/chunks/cli-1.1.10-tv3hs8t2.mjs +2 -0
  242. package/dist/chunks/cli-1.1.10-ty52w0t8.mjs +2 -0
  243. package/dist/chunks/cli-1.1.10-v4mtt7fd.mjs +2 -0
  244. package/dist/chunks/cli-1.1.10-v9q9ddhz.mjs +2 -0
  245. package/dist/chunks/cli-1.1.10-vr1kd1f6.mjs +1 -0
  246. package/dist/chunks/cli-1.1.10-w6tkqgvq.mjs +2 -0
  247. package/dist/chunks/cli-1.1.10-w7zqsk0a.mjs +2 -0
  248. package/dist/chunks/cli-1.1.10-wb8bcef1.mjs +2 -0
  249. package/dist/chunks/cli-1.1.10-wjc9jsjt.mjs +2 -0
  250. package/dist/chunks/cli-1.1.10-wjcgsn42.mjs +24 -0
  251. package/dist/chunks/cli-1.1.10-wkzbqdmr.mjs +2 -0
  252. package/dist/chunks/cli-1.1.10-wm2kd8d3.mjs +5 -0
  253. package/dist/chunks/cli-1.1.10-wqc9fp4g.mjs +18 -0
  254. package/dist/chunks/cli-1.1.10-wvw85hk5.mjs +26 -0
  255. package/dist/chunks/cli-1.1.10-x7s7dnjf.mjs +2 -0
  256. package/dist/chunks/cli-1.1.10-x83wfqf9.mjs +4 -0
  257. package/dist/chunks/cli-1.1.10-x8dpgrgj.mjs +2 -0
  258. package/dist/chunks/cli-1.1.10-y4afn758.mjs +2 -0
  259. package/dist/chunks/cli-1.1.10-y8334h0w.mjs +3 -0
  260. package/dist/chunks/cli-1.1.10-y95f28g5.mjs +2 -0
  261. package/dist/chunks/cli-1.1.10-yzpymdrc.mjs +16 -0
  262. package/dist/chunks/cli-1.1.10-z0ddrtr1.mjs +2 -0
  263. package/dist/chunks/cli-1.1.10-z0zzjeej.mjs +4 -0
  264. package/dist/chunks/cli-1.1.10-z1mewb4a.mjs +3 -0
  265. package/dist/chunks/cli-1.1.10-zaq3qp5f.mjs +12 -0
  266. package/dist/chunks/client-1.1.10-n6skmcnp.mjs +1 -0
  267. package/dist/chunks/color-1.1.10-xgpy38nc.mjs +1 -0
  268. package/dist/chunks/compact-1.1.10-ywm45c47.mjs +3 -0
  269. package/dist/chunks/config-1.1.10-070kwjeg.mjs +1 -0
  270. package/dist/chunks/config-1.1.10-bvmgcws9.mjs +1 -0
  271. package/dist/chunks/constants-1.1.10-bfbmy8wz.mjs +1 -0
  272. package/dist/chunks/context-1.1.10-hfeqyewx.mjs +1 -0
  273. package/dist/chunks/context-noninteractive-1.1.10-ayept5ex.mjs +1 -0
  274. package/dist/chunks/conversation-1.1.10-eqnmzmgt.mjs +1 -0
  275. package/dist/chunks/copilotHeaders-1.1.10-rjwess9f.mjs +1 -0
  276. package/dist/chunks/copy-1.1.10-dvs7kz34.mjs +9 -0
  277. package/dist/chunks/cost-1.1.10-dk74vep1.mjs +1 -0
  278. package/dist/chunks/createSSHSession-1.1.10-dx93q1fp.mjs +1 -0
  279. package/dist/chunks/createSession-1.1.10-m7x38yn5.mjs +1 -0
  280. package/dist/chunks/debug-1.1.10-14v3zx1d.mjs +1 -0
  281. package/dist/chunks/defaultActionDeps-1.1.10-qa7ksxxs.mjs +1526 -0
  282. package/dist/chunks/desktop-1.1.10-yexkfd86.mjs +1 -0
  283. package/dist/chunks/detectRepository-1.1.10-71gvqxzs.mjs +1 -0
  284. package/dist/chunks/detection-1.1.10-ccdhhprp.mjs +1 -0
  285. package/dist/chunks/diff-1.1.10-m3gq5b6x.mjs +1 -0
  286. package/dist/chunks/doctor-1.1.10-td2cwcvc.mjs +1 -0
  287. package/dist/chunks/doctorDiagnostic-1.1.10-9c7dzt7n.mjs +1 -0
  288. package/dist/chunks/earlyInput-1.1.10-hz3yh50c.mjs +1 -0
  289. package/dist/chunks/effort-1.1.10-19pz34nx.mjs +13 -0
  290. package/dist/chunks/engine-1.1.10-44xhf5x0.mjs +1 -0
  291. package/dist/chunks/envLessBridgeConfig-1.1.10-4xe76fe7.mjs +1 -0
  292. package/dist/chunks/envUtils-1.1.10-dg023dvr.mjs +1 -0
  293. package/dist/chunks/environmentSelection-1.1.10-wrrx6jm9.mjs +1 -0
  294. package/dist/chunks/environments-1.1.10-x9feeaeq.mjs +1 -0
  295. package/dist/chunks/errors-1.1.10-yhgdas17.mjs +1 -0
  296. package/dist/chunks/exampleCommands-1.1.10-t5sggm4m.mjs +1 -0
  297. package/dist/chunks/execFileNoThrow-1.1.10-rgt8yj28.mjs +1 -0
  298. package/dist/chunks/exit-1.1.10-f5jn3kgb.mjs +1 -0
  299. package/dist/chunks/explorer-1.1.10-hex7p7et.mjs +1 -0
  300. package/dist/chunks/export-1.1.10-tqf9qfs4.mjs +2 -0
  301. package/dist/chunks/extra-usage-1.1.10-2ess7s1c.mjs +1 -0
  302. package/dist/chunks/extra-usage-noninteractive-1.1.10-rjjrh2xh.mjs +1 -0
  303. package/dist/chunks/fast-1.1.10-j2pmqx3f.mjs +1 -0
  304. package/dist/chunks/feedback-1.1.10-ae5vhd02.mjs +14 -0
  305. package/dist/chunks/firstPartyEventLogger-1.1.10-909y3hrr.mjs +1 -0
  306. package/dist/chunks/git-1.1.10-0v4t8ap3.mjs +1 -0
  307. package/dist/chunks/githubModelsCredentials-1.1.10-zfjn71v3.mjs +1 -0
  308. package/dist/chunks/goal-1.1.10-c1ngzwh9.mjs +4 -0
  309. package/dist/chunks/grove-1.1.10-1btbm4ss.mjs +1 -0
  310. package/dist/chunks/growthbook-1.1.10-jb56c9h4.mjs +1 -0
  311. package/dist/chunks/headless-1.1.10-ef38srvy.mjs +2 -0
  312. package/dist/chunks/heapdump-1.1.10-tp8h06gk.mjs +6 -0
  313. package/dist/chunks/help-1.1.10-d0kff6qz.mjs +1 -0
  314. package/dist/chunks/hookChains-1.1.10-dey6b4ns.mjs +3 -0
  315. package/dist/chunks/hooks-1.1.10-76n26ek9.mjs +79 -0
  316. package/dist/chunks/hooks-1.1.10-ke0jh0zh.mjs +1 -0
  317. package/dist/chunks/ide-1.1.10-8dv11nsj.mjs +3 -0
  318. package/dist/chunks/image-processor-napi-1.1.10-pdf041f5.mjs +1 -0
  319. package/dist/chunks/inboundAttachments-1.1.10-qaypt5tq.mjs +1 -0
  320. package/dist/chunks/index-1.1.10-21s5496v.mjs +23 -0
  321. package/dist/chunks/index-1.1.10-2eg2nfya.mjs +5 -0
  322. package/dist/chunks/index-1.1.10-3cnyfq9h.mjs +2 -0
  323. package/dist/chunks/index-1.1.10-4t4pr0x3.mjs +1 -0
  324. package/dist/chunks/index-1.1.10-5ckjpq80.mjs +1 -0
  325. package/dist/chunks/index-1.1.10-5mechh5k.mjs +1 -0
  326. package/dist/chunks/index-1.1.10-7hmv8qcy.mjs +30 -0
  327. package/dist/chunks/index-1.1.10-9v096e06.mjs +1 -0
  328. package/dist/chunks/index-1.1.10-abgftsv6.mjs +1 -0
  329. package/dist/chunks/index-1.1.10-ckjn4w4s.mjs +1 -0
  330. package/dist/chunks/index-1.1.10-ctta1ge7.mjs +1 -0
  331. package/dist/chunks/index-1.1.10-d57z21y9.mjs +9 -0
  332. package/dist/chunks/index-1.1.10-fnhrat0c.mjs +1 -0
  333. package/dist/chunks/index-1.1.10-fw2aa53g.mjs +1 -0
  334. package/dist/chunks/index-1.1.10-p4xpsvnc.mjs +1 -0
  335. package/dist/chunks/index-1.1.10-qzkv1wgv.mjs +1 -0
  336. package/dist/chunks/index-1.1.10-vk9vb3b3.mjs +9 -0
  337. package/dist/chunks/index-1.1.10-vxy96cge.mjs +1 -0
  338. package/dist/chunks/index-1.1.10-wsc6cpqa.mjs +1 -0
  339. package/dist/chunks/index-1.1.10-yvr6d150.mjs +1 -0
  340. package/dist/chunks/index-1.1.10-ywef0hmk.mjs +1 -0
  341. package/dist/chunks/index-1.1.10-zj3yzybb.mjs +1 -0
  342. package/dist/chunks/index-1.1.10-znghd3d1.mjs +2 -0
  343. package/dist/chunks/init-1.1.10-vd74ec5b.mjs +1 -0
  344. package/dist/chunks/initReplBridge-1.1.10-sgkbmqqp.mjs +1 -0
  345. package/dist/chunks/ink-1.1.10-n9qcenb6.mjs +1 -0
  346. package/dist/chunks/insights-1.1.10-jfrnsmw1.mjs +870 -0
  347. package/dist/chunks/install-1.1.10-wxs00yc5.mjs +1 -0
  348. package/dist/chunks/install-github-app-1.1.10-zxbkcqd1.mjs +149 -0
  349. package/dist/chunks/install-slack-app-1.1.10-tv0p6dq9.mjs +1 -0
  350. package/dist/chunks/instrumentation-1.1.10-fxcjzzc0.mjs +1 -0
  351. package/dist/chunks/interactiveHelpers-1.1.10-f7cwwren.mjs +1 -0
  352. package/dist/chunks/keybindings-1.1.10-b8121c36.mjs +2 -0
  353. package/dist/chunks/knowledge-1.1.10-tmxkye8d.mjs +2 -0
  354. package/dist/chunks/latestVersionCache-1.1.10-dtghtfgq.mjs +1 -0
  355. package/dist/chunks/loadAgentsDir-1.1.10-hh30mnyw.mjs +1 -0
  356. package/dist/chunks/loadPluginHooks-1.1.10-32f6reyc.mjs +1 -0
  357. package/dist/chunks/log-1.1.10-kvrqr31p.mjs +1 -0
  358. package/dist/chunks/main-1.1.10-fpywq82b.mjs +1 -0
  359. package/dist/chunks/managedEnv-1.1.10-0x8ncmb7.mjs +1 -0
  360. package/dist/chunks/mcp-1.1.10-0trfp77x.mjs +17 -0
  361. package/dist/chunks/mcp-1.1.10-j59azp3f.mjs +4 -0
  362. package/dist/chunks/mcp-1.1.10-tz7gvpxy.mjs +1 -0
  363. package/dist/chunks/mcpb-1.1.10-2ypk133j.mjs +1 -0
  364. package/dist/chunks/memory-1.1.10-hgcgdw39.mjs +72 -0
  365. package/dist/chunks/model-1.1.10-27ysny3w.mjs +1 -0
  366. package/dist/chunks/model-1.1.10-m4n7t06v.mjs +2 -0
  367. package/dist/chunks/node-1.1.10-gtb48qhp.mjs +12 -0
  368. package/dist/chunks/oauth-1.1.10-d6p06vbt.mjs +1 -0
  369. package/dist/chunks/openaiShim-1.1.10-e130485k.mjs +14 -0
  370. package/dist/chunks/output-style-1.1.10-mb75wr50.mjs +1 -0
  371. package/dist/chunks/package-L37ZVTF4-1.1.10-9a2hkd1x.mjs +1 -0
  372. package/dist/chunks/parseConnectUrl-1.1.10-h0c8png1.mjs +1 -0
  373. package/dist/chunks/parser-1.1.10-mw2brrzk.mjs +1 -0
  374. package/dist/chunks/passes-1.1.10-d8xzm3jv.mjs +1 -0
  375. package/dist/chunks/permissions-1.1.10-01fgr8vp.mjs +3 -0
  376. package/dist/chunks/permissions-1.1.10-jxhg9dnn.mjs +1 -0
  377. package/dist/chunks/plan-1.1.10-cqaej565.mjs +1 -0
  378. package/dist/chunks/plist-1.1.10-cssvr9wq.mjs +1 -0
  379. package/dist/chunks/plugin-1.1.10-zh92hjbn.mjs +29 -0
  380. package/dist/chunks/pluginStartupCheck-1.1.10-dk9bb5aj.mjs +1 -0
  381. package/dist/chunks/plugins-1.1.10-e40pek7s.mjs +9 -0
  382. package/dist/chunks/preActionHook-1.1.10-59kjxx2m.mjs +2 -0
  383. package/dist/chunks/print-1.1.10-exvxk5s6.mjs +57 -0
  384. package/dist/chunks/privacy-settings-1.1.10-4bdpnrms.mjs +1 -0
  385. package/dist/chunks/process-1.1.10-km5rbq9n.mjs +1 -0
  386. package/dist/chunks/processBashCommand-1.1.10-h4jmaj4v.mjs +1 -0
  387. package/dist/chunks/processSlashCommand-1.1.10-r7k9bvny.mjs +9 -0
  388. package/dist/chunks/prompt-1.1.10-01smdx9v.mjs +1 -0
  389. package/dist/chunks/prompt-1.1.10-e7736a74.mjs +1 -0
  390. package/dist/chunks/prompts-1.1.10-xq2654jw.mjs +1 -0
  391. package/dist/chunks/protocolHandler-1.1.10-y0y188tv.mjs +13 -0
  392. package/dist/chunks/provider-1.1.10-6w0w7pgq.mjs +2 -0
  393. package/dist/chunks/providerProfiles-1.1.10-z18shscr.mjs +1 -0
  394. package/dist/chunks/providerValidation-1.1.10-1dsjh7z9.mjs +6 -0
  395. package/dist/chunks/rate-limit-options-1.1.10-fe3cq8zn.mjs +1 -0
  396. package/dist/chunks/registerSubcommands-1.1.10-r3mc5gga.mjs +34 -0
  397. package/dist/chunks/registry-1.1.10-n9xv1qjw.mjs +1 -0
  398. package/dist/chunks/release-notes-1.1.10-2ecqsjx0.mjs +5 -0
  399. package/dist/chunks/reload-plugins-1.1.10-pb7wpz5e.mjs +2 -0
  400. package/dist/chunks/remote-env-1.1.10-tybykfn7.mjs +1 -0
  401. package/dist/chunks/remoteBridgeCore-1.1.10-crdtgqbs.mjs +1 -0
  402. package/dist/chunks/remoteSession-1.1.10-1egxb08k.mjs +1 -0
  403. package/dist/chunks/rename-1.1.10-0j2dbrfg.mjs +1 -0
  404. package/dist/chunks/replBridgeHandle-1.1.10-yf9vdp0m.mjs +1 -0
  405. package/dist/chunks/replLauncher-1.1.10-y2ykrkt0.mjs +1 -0
  406. package/dist/chunks/resume-1.1.10-e4w4vqsa.mjs +2 -0
  407. package/dist/chunks/rewind-1.1.10-2sjz5jw8.mjs +1 -0
  408. package/dist/chunks/rootOptions-1.1.10-5hysyde5.mjs +1 -0
  409. package/dist/chunks/runWorkflowHeadless-1.1.10-nengktmv.mjs +10 -0
  410. package/dist/chunks/sandbox-adapter-1.1.10-svdktpkg.mjs +1 -0
  411. package/dist/chunks/sandbox-toggle-1.1.10-q8da9hjz.mjs +1 -0
  412. package/dist/chunks/session-1.1.10-1g27gvqt.mjs +2 -0
  413. package/dist/chunks/sessionDiscovery-1.1.10-0hb3n5na.mjs +1 -0
  414. package/dist/chunks/sessionFileAccessHooks-1.1.10-z13dd76y.mjs +1 -0
  415. package/dist/chunks/sessionStorage-1.1.10-60nqzt83.mjs +1 -0
  416. package/dist/chunks/settings-1.1.10-95zpybsa.mjs +1 -0
  417. package/dist/chunks/setup-1.1.10-400hhq7t.mjs +5 -0
  418. package/dist/chunks/sinks-1.1.10-w9vqb1fc.mjs +1 -0
  419. package/dist/chunks/skills-1.1.10-4rvw7gjv.mjs +1 -0
  420. package/dist/chunks/startupProfiler-1.1.10-va3s727x.mjs +1 -0
  421. package/dist/chunks/startupUpdateCheck-1.1.10-en1qgfv4.mjs +1 -0
  422. package/dist/chunks/state-1.1.10-m7z4cc4k.mjs +1 -0
  423. package/dist/chunks/stats-1.1.10-zr2qwhhw.mjs +6 -0
  424. package/dist/chunks/status-1.1.10-shjkyaf2.mjs +1 -0
  425. package/dist/chunks/stickers-1.1.10-2q6r4f9v.mjs +1 -0
  426. package/dist/chunks/subprocessEnv-1.1.10-whznjthj.mjs +1 -0
  427. package/dist/chunks/tasks-1.1.10-xvxjn48w.mjs +1 -0
  428. package/dist/chunks/teamHelpers-1.1.10-3a06a8cd.mjs +1 -0
  429. package/dist/chunks/teammateModeSnapshot-1.1.10-yns217pf.mjs +1 -0
  430. package/dist/chunks/teleport-1.1.10-gc3e0hfm.mjs +1 -0
  431. package/dist/chunks/terminalSetup-1.1.10-4tqezn3j.mjs +1 -0
  432. package/dist/chunks/theme-1.1.10-qp7v8yaq.mjs +1 -0
  433. package/dist/chunks/thinkback-1.1.10-xyd2apjc.mjs +1 -0
  434. package/dist/chunks/thinkback-play-1.1.10-a5hhp9ca.mjs +1 -0
  435. package/dist/chunks/toolPool-1.1.10-n1hm8qqk.mjs +1 -0
  436. package/dist/chunks/toolSearch-1.1.10-29584y2q.mjs +1 -0
  437. package/dist/chunks/tools-1.1.10-yd9tmhpe.mjs +1 -0
  438. package/dist/chunks/trustedDevice-1.1.10-qs4pk9wc.mjs +1 -0
  439. package/dist/chunks/turndown.cjs-1.1.10-m0c9pvs3.mjs +69 -0
  440. package/dist/chunks/types-1.1.10-gz59ngmz.mjs +1 -0
  441. package/dist/chunks/ultrareviewCommand-1.1.10-8arx59cc.mjs +4 -0
  442. package/dist/chunks/update-1.1.10-1w823rha.mjs +72 -0
  443. package/dist/chunks/upgrade-1.1.10-0h5fvvfp.mjs +1 -0
  444. package/dist/chunks/upload-1.1.10-ge981abh.mjs +7 -0
  445. package/dist/chunks/upstreamproxy-1.1.10-80kjt167.mjs +14 -0
  446. package/dist/chunks/url-handler-napi-1.1.10-x60fj9h0.mjs +1 -0
  447. package/dist/chunks/usage-1.1.10-gxymk7vd.mjs +1 -0
  448. package/dist/chunks/util-1.1.10-s4sj88my.mjs +1 -0
  449. package/dist/chunks/utils-1.1.10-haynqk5y.mjs +1 -0
  450. package/dist/chunks/vim-1.1.10-6yhqt71v.mjs +1 -0
  451. package/dist/chunks/watchLoop-1.1.10-cg0f8n71.mjs +13 -0
  452. package/dist/chunks/watcher-1.1.10-y1qwkajd.mjs +1 -0
  453. package/dist/chunks/wiki-1.1.10-1djxp3tb.mjs +132 -0
  454. package/dist/chunks/workflows-1.1.10-brkbd7wc.mjs +1 -0
  455. package/dist/chunks/worktree-1.1.10-bn0ac41k.mjs +1 -0
  456. package/dist/chunks/worktreeModeEnabled-1.1.10-rhvwpn43.mjs +1 -0
  457. package/dist/chunks/wrapper-1.1.10-dthrwggp.mjs +7 -0
  458. package/dist/cli.mjs +2 -2
  459. package/package.json +9 -9
  460. package/dist/chunks/AgentTool-1.1.8-6z4gxak1.mjs +0 -1
  461. package/dist/chunks/App-1.1.8-d07z7cbf.mjs +0 -1
  462. package/dist/chunks/ApproveApiKey-1.1.8-fsyn77jc.mjs +0 -1
  463. package/dist/chunks/AssistantSessionChooser-1.1.8-z6j52pp3.mjs +0 -1
  464. package/dist/chunks/AutoModeOptInDialog-1.1.8-nxgt8y8q.mjs +0 -1
  465. package/dist/chunks/BypassPermissionsModeDialog-1.1.8-bjsz0qfp.mjs +0 -1
  466. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.8-2mwsqmhp.mjs +0 -1
  467. package/dist/chunks/ConsoleOAuthFlow-1.1.8-24z6s4j5.mjs +0 -1
  468. package/dist/chunks/DiffDialog-1.1.8-abc9qq6c.mjs +0 -7
  469. package/dist/chunks/Doctor-1.1.8-8ja3a3f1.mjs +0 -1
  470. package/dist/chunks/ExplorerDialog-1.1.8-nsj1wjz4.mjs +0 -6
  471. package/dist/chunks/Grove-1.1.8-hkq9z22m.mjs +0 -1
  472. package/dist/chunks/ITermBackend-1.1.8-a8tfxk9n.mjs +0 -1
  473. package/dist/chunks/InvalidConfigDialog-1.1.8-nt3tgbzz.mjs +0 -1
  474. package/dist/chunks/InvalidSettingsDialog-1.1.8-ybdh3drb.mjs +0 -1
  475. package/dist/chunks/MigrationDialog-1.1.8-qvkzvfgf.mjs +0 -1
  476. package/dist/chunks/Onboarding-1.1.8-2bkd7rzz.mjs +0 -1
  477. package/dist/chunks/ProviderManager-1.1.8-v45zy151.mjs +0 -1
  478. package/dist/chunks/REPL-1.1.8-mdyssah9.mjs +0 -1
  479. package/dist/chunks/ResumeConversation-1.1.8-2d6r24bp.mjs +0 -1
  480. package/dist/chunks/SnapshotUpdateDialog-1.1.8-bkt80qn7.mjs +0 -1
  481. package/dist/chunks/TeleportProgress-1.1.8-35s6scr9.mjs +0 -1
  482. package/dist/chunks/TeleportRepoMismatchDialog-1.1.8-gddzn3ac.mjs +0 -1
  483. package/dist/chunks/TeleportResumeWrapper-1.1.8-sqrxwgy6.mjs +0 -1
  484. package/dist/chunks/TmuxBackend-1.1.8-21pehb0t.mjs +0 -9
  485. package/dist/chunks/ToolSearchTool-1.1.8-h78w5ftj.mjs +0 -1
  486. package/dist/chunks/TrustDialog-1.1.8-pqvwnbce.mjs +0 -1
  487. package/dist/chunks/activeProvider-1.1.8-rnbk6kxv.mjs +0 -1
  488. package/dist/chunks/add-dir-1.1.8-mdmcq32z.mjs +0 -1
  489. package/dist/chunks/agentTypes-1.1.8-h8nnkdmz.mjs +0 -1
  490. package/dist/chunks/agents-1.1.8-4f1tz8xm.mjs +0 -110
  491. package/dist/chunks/agents-1.1.8-6kv8h0fa.mjs +0 -3
  492. package/dist/chunks/api-1.1.8-mp8twdfj.mjs +0 -1
  493. package/dist/chunks/asciicast-1.1.8-t2mar25c.mjs +0 -1
  494. package/dist/chunks/assistant-1.1.8-t54n390j.mjs +0 -1
  495. package/dist/chunks/auth-1.1.8-pv29fraf.mjs +0 -1
  496. package/dist/chunks/auth-1.1.8-qm8h71j7.mjs +0 -1
  497. package/dist/chunks/autoMode-1.1.8-ahgyhzep.mjs +0 -48
  498. package/dist/chunks/autoUpdater-1.1.8-sdsx7fz9.mjs +0 -1
  499. package/dist/chunks/backgroundHousekeeping-1.1.8-b37pdha5.mjs +0 -1
  500. package/dist/chunks/branch-1.1.8-2emyy03d.mjs +0 -4
  501. package/dist/chunks/bridge-1.1.8-dkk2n1jt.mjs +0 -2
  502. package/dist/chunks/bridgeConfig-1.1.8-bv7zrzb6.mjs +0 -1
  503. package/dist/chunks/bridgeEnabled-1.1.8-z1sv63ct.mjs +0 -1
  504. package/dist/chunks/bridgeMain-1.1.8-rqp8q7sc.mjs +0 -88
  505. package/dist/chunks/bridgePointer-1.1.8-5hg7c4c6.mjs +0 -1
  506. package/dist/chunks/btw-1.1.8-td5e11qz.mjs +0 -1
  507. package/dist/chunks/buddy-1.1.8-jmk0bgcs.mjs +0 -3
  508. package/dist/chunks/cacache-1.1.8-qzw8r9my.mjs +0 -1
  509. package/dist/chunks/cache-probe-1.1.8-889g7w4k.mjs +0 -21
  510. package/dist/chunks/cacheStats-1.1.8-nzgv89d1.mjs +0 -4
  511. package/dist/chunks/caches-1.1.8-f09m1b12.mjs +0 -1
  512. package/dist/chunks/claudeDesktop-1.1.8-2rww6nv3.mjs +0 -1
  513. package/dist/chunks/claudemd-1.1.8-wygkqnb3.mjs +0 -1
  514. package/dist/chunks/clear-1.1.8-71j589cf.mjs +0 -1
  515. package/dist/chunks/clearTerminal-1.1.8-5j0t6dtd.mjs +0 -1
  516. package/dist/chunks/cli-1.1.8-05yz3n3m.mjs +0 -2
  517. package/dist/chunks/cli-1.1.8-0fqp4nd4.mjs +0 -2
  518. package/dist/chunks/cli-1.1.8-0pb52yqp.mjs +0 -6
  519. package/dist/chunks/cli-1.1.8-0vkk8zhj.mjs +0 -2
  520. package/dist/chunks/cli-1.1.8-0xw30z19.mjs +0 -2
  521. package/dist/chunks/cli-1.1.8-125zncm7.mjs +0 -2
  522. package/dist/chunks/cli-1.1.8-12gxg7dk.mjs +0 -3
  523. package/dist/chunks/cli-1.1.8-15q52swp.mjs +0 -2
  524. package/dist/chunks/cli-1.1.8-1as5wwed.mjs +0 -2
  525. package/dist/chunks/cli-1.1.8-1at0q43h.mjs +0 -2
  526. package/dist/chunks/cli-1.1.8-1e4hz1dh.mjs +0 -4
  527. package/dist/chunks/cli-1.1.8-1m910jhy.mjs +0 -2
  528. package/dist/chunks/cli-1.1.8-205c5ayn.mjs +0 -45
  529. package/dist/chunks/cli-1.1.8-20fqtbb0.mjs +0 -2
  530. package/dist/chunks/cli-1.1.8-231ktrsd.mjs +0 -2
  531. package/dist/chunks/cli-1.1.8-2afqpefw.mjs +0 -2
  532. package/dist/chunks/cli-1.1.8-2nq1cm30.mjs +0 -39
  533. package/dist/chunks/cli-1.1.8-2q9w1hnc.mjs +0 -2
  534. package/dist/chunks/cli-1.1.8-2smp07zs.mjs +0 -2
  535. package/dist/chunks/cli-1.1.8-2vsq8a0w.mjs +0 -2
  536. package/dist/chunks/cli-1.1.8-2zp9e9zh.mjs +0 -2
  537. package/dist/chunks/cli-1.1.8-30zhxwg9.mjs +0 -16
  538. package/dist/chunks/cli-1.1.8-35pzh2ts.mjs +0 -2
  539. package/dist/chunks/cli-1.1.8-38vrxm77.mjs +0 -3
  540. package/dist/chunks/cli-1.1.8-3btvsdx3.mjs +0 -2
  541. package/dist/chunks/cli-1.1.8-3j80fvcv.mjs +0 -2
  542. package/dist/chunks/cli-1.1.8-3tazs3h1.mjs +0 -2
  543. package/dist/chunks/cli-1.1.8-462maymv.mjs +0 -2
  544. package/dist/chunks/cli-1.1.8-49wtksqb.mjs +0 -2
  545. package/dist/chunks/cli-1.1.8-4cgcvt3g.mjs +0 -15
  546. package/dist/chunks/cli-1.1.8-4cvb8vj8.mjs +0 -2
  547. package/dist/chunks/cli-1.1.8-5862s9mq.mjs +0 -9
  548. package/dist/chunks/cli-1.1.8-59r0krp6.mjs +0 -4
  549. package/dist/chunks/cli-1.1.8-5e3xx9db.mjs +0 -8
  550. package/dist/chunks/cli-1.1.8-5s0ctz15.mjs +0 -25
  551. package/dist/chunks/cli-1.1.8-6118xjzf.mjs +0 -2
  552. package/dist/chunks/cli-1.1.8-61d813en.mjs +0 -2
  553. package/dist/chunks/cli-1.1.8-656pm2np.mjs +0 -2
  554. package/dist/chunks/cli-1.1.8-67d0fesx.mjs +0 -18
  555. package/dist/chunks/cli-1.1.8-6kg3tp3t.mjs +0 -2
  556. package/dist/chunks/cli-1.1.8-6t8wtnyz.mjs +0 -15
  557. package/dist/chunks/cli-1.1.8-6w5tvkaj.mjs +0 -2
  558. package/dist/chunks/cli-1.1.8-74586mpw.mjs +0 -9
  559. package/dist/chunks/cli-1.1.8-7536y3yr.mjs +0 -3
  560. package/dist/chunks/cli-1.1.8-7e1cxc2r.mjs +0 -2
  561. package/dist/chunks/cli-1.1.8-7ghn9sgt.mjs +0 -2
  562. package/dist/chunks/cli-1.1.8-7gv7j9wf.mjs +0 -2
  563. package/dist/chunks/cli-1.1.8-7j6ztazy.mjs +0 -2
  564. package/dist/chunks/cli-1.1.8-7kf0prpp.mjs +0 -2
  565. package/dist/chunks/cli-1.1.8-7mtk34ry.mjs +0 -4
  566. package/dist/chunks/cli-1.1.8-7sft4tp3.mjs +0 -2
  567. package/dist/chunks/cli-1.1.8-85hnxfzw.mjs +0 -2
  568. package/dist/chunks/cli-1.1.8-8ethv98x.mjs +0 -3
  569. package/dist/chunks/cli-1.1.8-8gj0g1hd.mjs +0 -2
  570. package/dist/chunks/cli-1.1.8-8x1wf6wg.mjs +0 -59
  571. package/dist/chunks/cli-1.1.8-8xe9c3tx.mjs +0 -2
  572. package/dist/chunks/cli-1.1.8-8zf4nnw6.mjs +0 -15
  573. package/dist/chunks/cli-1.1.8-98pq375b.mjs +0 -2
  574. package/dist/chunks/cli-1.1.8-9bx144d4.mjs +0 -2
  575. package/dist/chunks/cli-1.1.8-9d0730ff.mjs +0 -3
  576. package/dist/chunks/cli-1.1.8-9egsv8kb.mjs +0 -2
  577. package/dist/chunks/cli-1.1.8-9mr8erq2.mjs +0 -2
  578. package/dist/chunks/cli-1.1.8-9nnn67wx.mjs +0 -2
  579. package/dist/chunks/cli-1.1.8-9yhtna2t.mjs +0 -2
  580. package/dist/chunks/cli-1.1.8-a1qac4fc.mjs +0 -3
  581. package/dist/chunks/cli-1.1.8-a3etddaa.mjs +0 -2
  582. package/dist/chunks/cli-1.1.8-a3w8yas2.mjs +0 -24
  583. package/dist/chunks/cli-1.1.8-a52qejcb.mjs +0 -20
  584. package/dist/chunks/cli-1.1.8-akxxvxcg.mjs +0 -2
  585. package/dist/chunks/cli-1.1.8-arxr9t30.mjs +0 -2
  586. package/dist/chunks/cli-1.1.8-b46m1pa5.mjs +0 -2
  587. package/dist/chunks/cli-1.1.8-bdesaqqn.mjs +0 -2
  588. package/dist/chunks/cli-1.1.8-bf0h6s2a.mjs +0 -2
  589. package/dist/chunks/cli-1.1.8-bh494psb.mjs +0 -6
  590. package/dist/chunks/cli-1.1.8-bxbg70bf.mjs +0 -2
  591. package/dist/chunks/cli-1.1.8-bzs61r0e.mjs +0 -2
  592. package/dist/chunks/cli-1.1.8-c0knk34t.mjs +0 -2
  593. package/dist/chunks/cli-1.1.8-c3rz4cxf.mjs +0 -2
  594. package/dist/chunks/cli-1.1.8-c4xc2d6s.mjs +0 -2
  595. package/dist/chunks/cli-1.1.8-cpgd4r16.mjs +0 -2
  596. package/dist/chunks/cli-1.1.8-czskf284.mjs +0 -2
  597. package/dist/chunks/cli-1.1.8-d092mrgm.mjs +0 -2
  598. package/dist/chunks/cli-1.1.8-d2gfswc3.mjs +0 -2
  599. package/dist/chunks/cli-1.1.8-d3s7xdkk.mjs +0 -2
  600. package/dist/chunks/cli-1.1.8-d4878nn2.mjs +0 -2
  601. package/dist/chunks/cli-1.1.8-d5afbx68.mjs +0 -6
  602. package/dist/chunks/cli-1.1.8-db100c4h.mjs +0 -202
  603. package/dist/chunks/cli-1.1.8-dgbh9n27.mjs +0 -6
  604. package/dist/chunks/cli-1.1.8-dv1edxg1.mjs +0 -4
  605. package/dist/chunks/cli-1.1.8-e1by1s5j.mjs +0 -2
  606. package/dist/chunks/cli-1.1.8-e3ev48gp.mjs +0 -2
  607. package/dist/chunks/cli-1.1.8-edw6k2f7.mjs +0 -2
  608. package/dist/chunks/cli-1.1.8-ee9qyzkj.mjs +0 -2
  609. package/dist/chunks/cli-1.1.8-efjw6x2m.mjs +0 -2
  610. package/dist/chunks/cli-1.1.8-ekmm2znm.mjs +0 -2
  611. package/dist/chunks/cli-1.1.8-epqqq77y.mjs +0 -1
  612. package/dist/chunks/cli-1.1.8-ernbjcgb.mjs +0 -2
  613. package/dist/chunks/cli-1.1.8-evk4j7cq.mjs +0 -2
  614. package/dist/chunks/cli-1.1.8-f0kaq070.mjs +0 -2
  615. package/dist/chunks/cli-1.1.8-f2gv8js5.mjs +0 -2
  616. package/dist/chunks/cli-1.1.8-f75mhnpd.mjs +0 -17
  617. package/dist/chunks/cli-1.1.8-fd4rat7s.mjs +0 -2
  618. package/dist/chunks/cli-1.1.8-ffx8vwwt.mjs +0 -3
  619. package/dist/chunks/cli-1.1.8-fgw4h53q.mjs +0 -2
  620. package/dist/chunks/cli-1.1.8-fqgcppxc.mjs +0 -2
  621. package/dist/chunks/cli-1.1.8-g0t0qtsv.mjs +0 -12
  622. package/dist/chunks/cli-1.1.8-g8sjkk8z.mjs +0 -7
  623. package/dist/chunks/cli-1.1.8-gf6w1neb.mjs +0 -2
  624. package/dist/chunks/cli-1.1.8-gfzzaejq.mjs +0 -2
  625. package/dist/chunks/cli-1.1.8-gqqjkrq0.mjs +0 -4
  626. package/dist/chunks/cli-1.1.8-gtw37r6f.mjs +0 -2
  627. package/dist/chunks/cli-1.1.8-gvkpq2k1.mjs +0 -26
  628. package/dist/chunks/cli-1.1.8-h5zqw021.mjs +0 -2
  629. package/dist/chunks/cli-1.1.8-hws56n0s.mjs +0 -2
  630. package/dist/chunks/cli-1.1.8-hzkgx15v.mjs +0 -3
  631. package/dist/chunks/cli-1.1.8-j2mvpcgh.mjs +0 -2
  632. package/dist/chunks/cli-1.1.8-jk6kcgkf.mjs +0 -4
  633. package/dist/chunks/cli-1.1.8-jkp8ynyx.mjs +0 -2
  634. package/dist/chunks/cli-1.1.8-jmp76vj2.mjs +0 -2
  635. package/dist/chunks/cli-1.1.8-jtxcccqb.mjs +0 -2
  636. package/dist/chunks/cli-1.1.8-jv4y43ct.mjs +0 -2
  637. package/dist/chunks/cli-1.1.8-jzk8xgkw.mjs +0 -2
  638. package/dist/chunks/cli-1.1.8-k0wdtx54.mjs +0 -2
  639. package/dist/chunks/cli-1.1.8-k2q3jd4x.mjs +0 -2
  640. package/dist/chunks/cli-1.1.8-k3jmtdxb.mjs +0 -2
  641. package/dist/chunks/cli-1.1.8-k4q05xpp.mjs +0 -4
  642. package/dist/chunks/cli-1.1.8-k6xa7zcq.mjs +0 -2
  643. package/dist/chunks/cli-1.1.8-k878kyye.mjs +0 -2
  644. package/dist/chunks/cli-1.1.8-kgq0wj8c.mjs +0 -2
  645. package/dist/chunks/cli-1.1.8-kkzcmrxs.mjs +0 -2
  646. package/dist/chunks/cli-1.1.8-knfkgncm.mjs +0 -5721
  647. package/dist/chunks/cli-1.1.8-mayxghnz.mjs +0 -2
  648. package/dist/chunks/cli-1.1.8-mdybbj2p.mjs +0 -133
  649. package/dist/chunks/cli-1.1.8-mgz0nyed.mjs +0 -50
  650. package/dist/chunks/cli-1.1.8-mhv5xrf1.mjs +0 -4
  651. package/dist/chunks/cli-1.1.8-mkzsens1.mjs +0 -4
  652. package/dist/chunks/cli-1.1.8-mq7t5jca.mjs +0 -3
  653. package/dist/chunks/cli-1.1.8-mza3p36d.mjs +0 -2
  654. package/dist/chunks/cli-1.1.8-n14gnq6x.mjs +0 -42
  655. package/dist/chunks/cli-1.1.8-n5d4px5z.mjs +0 -2
  656. package/dist/chunks/cli-1.1.8-nh485h9b.mjs +0 -2
  657. package/dist/chunks/cli-1.1.8-nrr32j4a.mjs +0 -2
  658. package/dist/chunks/cli-1.1.8-nt403561.mjs +0 -2
  659. package/dist/chunks/cli-1.1.8-nv123ysj.mjs +0 -5
  660. package/dist/chunks/cli-1.1.8-nv181dzv.mjs +0 -2
  661. package/dist/chunks/cli-1.1.8-nv79qg54.mjs +0 -2
  662. package/dist/chunks/cli-1.1.8-nvt7cbzg.mjs +0 -2
  663. package/dist/chunks/cli-1.1.8-nx84ctb0.mjs +0 -2
  664. package/dist/chunks/cli-1.1.8-nzs4skf4.mjs +0 -2
  665. package/dist/chunks/cli-1.1.8-p3fzx1sj.mjs +0 -24
  666. package/dist/chunks/cli-1.1.8-p6bd42xj.mjs +0 -2
  667. package/dist/chunks/cli-1.1.8-pwdb2y2v.mjs +0 -2
  668. package/dist/chunks/cli-1.1.8-px4ph853.mjs +0 -6
  669. package/dist/chunks/cli-1.1.8-q6c1w0dw.mjs +0 -2
  670. package/dist/chunks/cli-1.1.8-qcyhp9k8.mjs +0 -3
  671. package/dist/chunks/cli-1.1.8-qgweycgj.mjs +0 -6
  672. package/dist/chunks/cli-1.1.8-qgzhmw5w.mjs +0 -2
  673. package/dist/chunks/cli-1.1.8-qpqcr4wt.mjs +0 -2
  674. package/dist/chunks/cli-1.1.8-r9vd968y.mjs +0 -2
  675. package/dist/chunks/cli-1.1.8-rk2akmnh.mjs +0 -67
  676. package/dist/chunks/cli-1.1.8-rk40pf8s.mjs +0 -2
  677. package/dist/chunks/cli-1.1.8-rkw1dz9x.mjs +0 -2
  678. package/dist/chunks/cli-1.1.8-rqqgbjy2.mjs +0 -133
  679. package/dist/chunks/cli-1.1.8-sc8428te.mjs +0 -12
  680. package/dist/chunks/cli-1.1.8-sw7sne7p.mjs +0 -25
  681. package/dist/chunks/cli-1.1.8-sxkrzwwg.mjs +0 -18
  682. package/dist/chunks/cli-1.1.8-sxmsdz7p.mjs +0 -2
  683. package/dist/chunks/cli-1.1.8-syhhv2xq.mjs +0 -21
  684. package/dist/chunks/cli-1.1.8-syttwgv4.mjs +0 -3
  685. package/dist/chunks/cli-1.1.8-t1a3d6s9.mjs +0 -2
  686. package/dist/chunks/cli-1.1.8-t4hx0et2.mjs +0 -2
  687. package/dist/chunks/cli-1.1.8-t62hkyhg.mjs +0 -2
  688. package/dist/chunks/cli-1.1.8-t8xxt1pf.mjs +0 -2
  689. package/dist/chunks/cli-1.1.8-t93r8p95.mjs +0 -4
  690. package/dist/chunks/cli-1.1.8-t9cqvdhd.mjs +0 -2
  691. package/dist/chunks/cli-1.1.8-ta0zzaw5.mjs +0 -17
  692. package/dist/chunks/cli-1.1.8-tf20w2jn.mjs +0 -2
  693. package/dist/chunks/cli-1.1.8-tw2q1gej.mjs +0 -2
  694. package/dist/chunks/cli-1.1.8-tx519hkn.mjs +0 -2
  695. package/dist/chunks/cli-1.1.8-v8hp2y41.mjs +0 -2
  696. package/dist/chunks/cli-1.1.8-vqpn0kq9.mjs +0 -2
  697. package/dist/chunks/cli-1.1.8-vrszw55m.mjs +0 -2
  698. package/dist/chunks/cli-1.1.8-vw9jfqt2.mjs +0 -2
  699. package/dist/chunks/cli-1.1.8-w1ktcdzx.mjs +0 -34
  700. package/dist/chunks/cli-1.1.8-w2e3c7g6.mjs +0 -2
  701. package/dist/chunks/cli-1.1.8-w99f42k9.mjs +0 -3
  702. package/dist/chunks/cli-1.1.8-w9h3mvb4.mjs +0 -2
  703. package/dist/chunks/cli-1.1.8-w9tz8aaw.mjs +0 -2
  704. package/dist/chunks/cli-1.1.8-wdfxmkc7.mjs +0 -2
  705. package/dist/chunks/cli-1.1.8-wew0nf1q.mjs +0 -12
  706. package/dist/chunks/cli-1.1.8-wkyr3v6g.mjs +0 -24
  707. package/dist/chunks/cli-1.1.8-x05h2zp4.mjs +0 -2
  708. package/dist/chunks/cli-1.1.8-x3vk9h1m.mjs +0 -24
  709. package/dist/chunks/cli-1.1.8-x9e1306p.mjs +0 -2
  710. package/dist/chunks/cli-1.1.8-xa445fak.mjs +0 -2
  711. package/dist/chunks/cli-1.1.8-xmcyv92d.mjs +0 -2
  712. package/dist/chunks/cli-1.1.8-xqdr42wv.mjs +0 -2
  713. package/dist/chunks/cli-1.1.8-xzb74dgc.mjs +0 -58
  714. package/dist/chunks/cli-1.1.8-y3tr91m8.mjs +0 -2
  715. package/dist/chunks/cli-1.1.8-y50med5h.mjs +0 -4
  716. package/dist/chunks/cli-1.1.8-yjmxxj4y.mjs +0 -2
  717. package/dist/chunks/cli-1.1.8-yptj5mm3.mjs +0 -2
  718. package/dist/chunks/cli-1.1.8-yv4mw1z8.mjs +0 -2
  719. package/dist/chunks/cli-1.1.8-yx9yzca1.mjs +0 -5
  720. package/dist/chunks/cli-1.1.8-yzrpw572.mjs +0 -2
  721. package/dist/chunks/cli-1.1.8-zav01h3c.mjs +0 -2
  722. package/dist/chunks/cli-1.1.8-zc2wv1d7.mjs +0 -2
  723. package/dist/chunks/cli-1.1.8-zcrckt5v.mjs +0 -2
  724. package/dist/chunks/cli-1.1.8-zfx1k21c.mjs +0 -2
  725. package/dist/chunks/client-1.1.8-h43htzv0.mjs +0 -1
  726. package/dist/chunks/color-1.1.8-zdg5fqma.mjs +0 -1
  727. package/dist/chunks/compact-1.1.8-1af2hhhd.mjs +0 -3
  728. package/dist/chunks/config-1.1.8-bs3j0bh7.mjs +0 -1
  729. package/dist/chunks/config-1.1.8-mwcwa3ha.mjs +0 -1
  730. package/dist/chunks/constants-1.1.8-6qsgmarg.mjs +0 -1
  731. package/dist/chunks/context-1.1.8-y2smmd8y.mjs +0 -1
  732. package/dist/chunks/context-noninteractive-1.1.8-7m4c952c.mjs +0 -1
  733. package/dist/chunks/conversation-1.1.8-2hmabtxd.mjs +0 -1
  734. package/dist/chunks/copilotHeaders-1.1.8-nh4ys57g.mjs +0 -1
  735. package/dist/chunks/copy-1.1.8-vxmgrtv3.mjs +0 -9
  736. package/dist/chunks/cost-1.1.8-70bsspf5.mjs +0 -1
  737. package/dist/chunks/createSSHSession-1.1.8-4axzt4k5.mjs +0 -1
  738. package/dist/chunks/createSession-1.1.8-c1fbb9pm.mjs +0 -1
  739. package/dist/chunks/debug-1.1.8-02x6g655.mjs +0 -1
  740. package/dist/chunks/defaultActionDeps-1.1.8-a1dxrpdz.mjs +0 -1446
  741. package/dist/chunks/desktop-1.1.8-tdtzcad0.mjs +0 -1
  742. package/dist/chunks/detectRepository-1.1.8-6h2qfjfb.mjs +0 -1
  743. package/dist/chunks/detection-1.1.8-mwwyzmcq.mjs +0 -1
  744. package/dist/chunks/diff-1.1.8-dcm7epcs.mjs +0 -1
  745. package/dist/chunks/doctor-1.1.8-a29dgfa8.mjs +0 -1
  746. package/dist/chunks/doctorDiagnostic-1.1.8-njzmwvmq.mjs +0 -1
  747. package/dist/chunks/earlyInput-1.1.8-7genxy96.mjs +0 -1
  748. package/dist/chunks/effort-1.1.8-y36797j4.mjs +0 -13
  749. package/dist/chunks/engine-1.1.8-fqyd5m01.mjs +0 -1
  750. package/dist/chunks/envLessBridgeConfig-1.1.8-ef7qwkd5.mjs +0 -1
  751. package/dist/chunks/envUtils-1.1.8-99wqsc2g.mjs +0 -1
  752. package/dist/chunks/environmentSelection-1.1.8-cc9g8r4w.mjs +0 -1
  753. package/dist/chunks/environments-1.1.8-hw1xqjcd.mjs +0 -1
  754. package/dist/chunks/errors-1.1.8-1493t2ga.mjs +0 -1
  755. package/dist/chunks/exampleCommands-1.1.8-zdxcd2qw.mjs +0 -1
  756. package/dist/chunks/execFileNoThrow-1.1.8-ntrztjxv.mjs +0 -1
  757. package/dist/chunks/exit-1.1.8-hg0x8rb4.mjs +0 -1
  758. package/dist/chunks/explorer-1.1.8-45jxm6r3.mjs +0 -1
  759. package/dist/chunks/export-1.1.8-tjbc3yps.mjs +0 -2
  760. package/dist/chunks/extra-usage-1.1.8-m07zw7z7.mjs +0 -1
  761. package/dist/chunks/extra-usage-noninteractive-1.1.8-x0nk6gpq.mjs +0 -1
  762. package/dist/chunks/fast-1.1.8-16bcey2v.mjs +0 -1
  763. package/dist/chunks/feedback-1.1.8-ybfs6p31.mjs +0 -14
  764. package/dist/chunks/firstPartyEventLogger-1.1.8-0a07kg5a.mjs +0 -1
  765. package/dist/chunks/git-1.1.8-yhtjgapj.mjs +0 -1
  766. package/dist/chunks/githubModelsCredentials-1.1.8-8m2kfpj0.mjs +0 -1
  767. package/dist/chunks/goal-1.1.8-m18wqymf.mjs +0 -4
  768. package/dist/chunks/grove-1.1.8-hq8trmvx.mjs +0 -1
  769. package/dist/chunks/growthbook-1.1.8-jnc5s1gr.mjs +0 -1
  770. package/dist/chunks/headless-1.1.8-g6y7x6p5.mjs +0 -2
  771. package/dist/chunks/heapdump-1.1.8-bdd4tbc4.mjs +0 -6
  772. package/dist/chunks/help-1.1.8-adn9yj5b.mjs +0 -1
  773. package/dist/chunks/hookChains-1.1.8-jvx26rvp.mjs +0 -3
  774. package/dist/chunks/hooks-1.1.8-10bepv2t.mjs +0 -79
  775. package/dist/chunks/hooks-1.1.8-wxrar4bk.mjs +0 -1
  776. package/dist/chunks/ide-1.1.8-e1kgf08v.mjs +0 -3
  777. package/dist/chunks/image-processor-napi-1.1.8-7qq6cd9d.mjs +0 -1
  778. package/dist/chunks/inboundAttachments-1.1.8-tmvsb72y.mjs +0 -1
  779. package/dist/chunks/index-1.1.8-075w4nhz.mjs +0 -9
  780. package/dist/chunks/index-1.1.8-0hkas4xw.mjs +0 -1
  781. package/dist/chunks/index-1.1.8-0vs7xmac.mjs +0 -30
  782. package/dist/chunks/index-1.1.8-15y0r0yw.mjs +0 -1
  783. package/dist/chunks/index-1.1.8-26b73x3g.mjs +0 -2
  784. package/dist/chunks/index-1.1.8-4etv37ta.mjs +0 -1
  785. package/dist/chunks/index-1.1.8-6p8c8t6k.mjs +0 -1
  786. package/dist/chunks/index-1.1.8-7ykg7nw4.mjs +0 -1
  787. package/dist/chunks/index-1.1.8-8t0g6s4j.mjs +0 -1
  788. package/dist/chunks/index-1.1.8-cgcvj82j.mjs +0 -23
  789. package/dist/chunks/index-1.1.8-cm3fqyj1.mjs +0 -1
  790. package/dist/chunks/index-1.1.8-cpf2mfhc.mjs +0 -1
  791. package/dist/chunks/index-1.1.8-f3qfkewa.mjs +0 -1
  792. package/dist/chunks/index-1.1.8-gyhxyh37.mjs +0 -1
  793. package/dist/chunks/index-1.1.8-hyz5kb4e.mjs +0 -1
  794. package/dist/chunks/index-1.1.8-k0eafjj9.mjs +0 -1
  795. package/dist/chunks/index-1.1.8-qhk5dps0.mjs +0 -9
  796. package/dist/chunks/index-1.1.8-rcyqt694.mjs +0 -1
  797. package/dist/chunks/index-1.1.8-sv9wq8vm.mjs +0 -1
  798. package/dist/chunks/index-1.1.8-tz0fvmye.mjs +0 -5
  799. package/dist/chunks/index-1.1.8-vaqk09sc.mjs +0 -1
  800. package/dist/chunks/index-1.1.8-vd2csf3e.mjs +0 -2
  801. package/dist/chunks/index-1.1.8-y6bn96fs.mjs +0 -1
  802. package/dist/chunks/init-1.1.8-e7kkbgzq.mjs +0 -1
  803. package/dist/chunks/initReplBridge-1.1.8-0cctke88.mjs +0 -1
  804. package/dist/chunks/ink-1.1.8-20q0h10k.mjs +0 -1
  805. package/dist/chunks/insights-1.1.8-e9hjnmbn.mjs +0 -870
  806. package/dist/chunks/install-1.1.8-fnb2k88m.mjs +0 -1
  807. package/dist/chunks/install-github-app-1.1.8-dgabwyh1.mjs +0 -149
  808. package/dist/chunks/install-slack-app-1.1.8-2vh4newn.mjs +0 -1
  809. package/dist/chunks/instrumentation-1.1.8-kth6vzt4.mjs +0 -1
  810. package/dist/chunks/interactiveHelpers-1.1.8-3g33kfsm.mjs +0 -1
  811. package/dist/chunks/keybindings-1.1.8-c69hmddw.mjs +0 -2
  812. package/dist/chunks/knowledge-1.1.8-sngea3j8.mjs +0 -2
  813. package/dist/chunks/latestVersionCache-1.1.8-1srnp86b.mjs +0 -1
  814. package/dist/chunks/loadAgentsDir-1.1.8-wmvpm36a.mjs +0 -1
  815. package/dist/chunks/loadPluginHooks-1.1.8-9hrrn6b1.mjs +0 -1
  816. package/dist/chunks/loadPluginHooks-1.1.8-ae5zxvnn.mjs +0 -1
  817. package/dist/chunks/log-1.1.8-2wvsfegd.mjs +0 -1
  818. package/dist/chunks/main-1.1.8-53c8p1hf.mjs +0 -1
  819. package/dist/chunks/managedEnv-1.1.8-3qxf1b2m.mjs +0 -1
  820. package/dist/chunks/mcp-1.1.8-12tszewv.mjs +0 -4
  821. package/dist/chunks/mcp-1.1.8-2yw2qynw.mjs +0 -1
  822. package/dist/chunks/mcp-1.1.8-awep4hb5.mjs +0 -17
  823. package/dist/chunks/mcpb-1.1.8-14gyeqdt.mjs +0 -1
  824. package/dist/chunks/memory-1.1.8-v7hbdb18.mjs +0 -72
  825. package/dist/chunks/model-1.1.8-70r35ayh.mjs +0 -2
  826. package/dist/chunks/model-1.1.8-wncbw1nv.mjs +0 -1
  827. package/dist/chunks/node-1.1.8-0bpza0gv.mjs +0 -12
  828. package/dist/chunks/oauth-1.1.8-1zj1geby.mjs +0 -1
  829. package/dist/chunks/openaiShim-1.1.8-eaxqv9jn.mjs +0 -14
  830. package/dist/chunks/output-style-1.1.8-v8kk4mmm.mjs +0 -1
  831. package/dist/chunks/package-L37ZVTF4-1.1.8-f4krrwjg.mjs +0 -1
  832. package/dist/chunks/parseConnectUrl-1.1.8-tns55hj7.mjs +0 -1
  833. package/dist/chunks/parser-1.1.8-y6rm14pk.mjs +0 -1
  834. package/dist/chunks/passes-1.1.8-hyd8bv5h.mjs +0 -1
  835. package/dist/chunks/permissions-1.1.8-e32fqvvk.mjs +0 -3
  836. package/dist/chunks/permissions-1.1.8-j0scmex7.mjs +0 -1
  837. package/dist/chunks/plan-1.1.8-1csevcqv.mjs +0 -1
  838. package/dist/chunks/plist-1.1.8-47419hwn.mjs +0 -1
  839. package/dist/chunks/plugin-1.1.8-xcj7jz75.mjs +0 -29
  840. package/dist/chunks/pluginStartupCheck-1.1.8-hqbc3c4d.mjs +0 -1
  841. package/dist/chunks/plugins-1.1.8-nrra8gx1.mjs +0 -9
  842. package/dist/chunks/preActionHook-1.1.8-2fgj7c0d.mjs +0 -2
  843. package/dist/chunks/print-1.1.8-3qy5nfzr.mjs +0 -57
  844. package/dist/chunks/privacy-settings-1.1.8-zsp6fsh1.mjs +0 -1
  845. package/dist/chunks/process-1.1.8-t92an9g0.mjs +0 -1
  846. package/dist/chunks/processBashCommand-1.1.8-5j7f3zj5.mjs +0 -1
  847. package/dist/chunks/processSlashCommand-1.1.8-97yy5hpk.mjs +0 -9
  848. package/dist/chunks/prompt-1.1.8-mges4wt5.mjs +0 -1
  849. package/dist/chunks/prompt-1.1.8-tfg4jhbt.mjs +0 -1
  850. package/dist/chunks/prompts-1.1.8-q1wrrwdr.mjs +0 -1
  851. package/dist/chunks/protocolHandler-1.1.8-ymb7yfxx.mjs +0 -13
  852. package/dist/chunks/provider-1.1.8-j317q85s.mjs +0 -2
  853. package/dist/chunks/providerProfiles-1.1.8-f2symnwy.mjs +0 -1
  854. package/dist/chunks/providerValidation-1.1.8-k2r5q4vk.mjs +0 -6
  855. package/dist/chunks/rate-limit-options-1.1.8-8chtnkxk.mjs +0 -1
  856. package/dist/chunks/registerSubcommands-1.1.8-9wd8cb3g.mjs +0 -34
  857. package/dist/chunks/registry-1.1.8-d06az15f.mjs +0 -1
  858. package/dist/chunks/release-notes-1.1.8-rmg47yy1.mjs +0 -5
  859. package/dist/chunks/reload-plugins-1.1.8-wej3bnvx.mjs +0 -2
  860. package/dist/chunks/remote-env-1.1.8-bht3nad5.mjs +0 -1
  861. package/dist/chunks/remoteBridgeCore-1.1.8-j57ggr86.mjs +0 -1
  862. package/dist/chunks/remoteSession-1.1.8-rmrphzwh.mjs +0 -1
  863. package/dist/chunks/rename-1.1.8-t9s0vyfm.mjs +0 -1
  864. package/dist/chunks/replBridgeHandle-1.1.8-0hp49nj3.mjs +0 -1
  865. package/dist/chunks/replLauncher-1.1.8-vw8ysvak.mjs +0 -1
  866. package/dist/chunks/resume-1.1.8-g13vfwpe.mjs +0 -2
  867. package/dist/chunks/rewind-1.1.8-k2bp0x9p.mjs +0 -1
  868. package/dist/chunks/rootOptions-1.1.8-jjagdnm4.mjs +0 -1
  869. package/dist/chunks/runWorkflowHeadless-1.1.8-szat8e81.mjs +0 -10
  870. package/dist/chunks/sandbox-adapter-1.1.8-gcn8vt8z.mjs +0 -1
  871. package/dist/chunks/sandbox-toggle-1.1.8-9k1xg4b5.mjs +0 -1
  872. package/dist/chunks/session-1.1.8-09hwr9j5.mjs +0 -2
  873. package/dist/chunks/sessionDiscovery-1.1.8-f8mhpp1n.mjs +0 -1
  874. package/dist/chunks/sessionFileAccessHooks-1.1.8-bahxxqhe.mjs +0 -1
  875. package/dist/chunks/sessionStorage-1.1.8-hjk3adja.mjs +0 -1
  876. package/dist/chunks/settings-1.1.8-5vc7cx5w.mjs +0 -1
  877. package/dist/chunks/setup-1.1.8-trp83ayz.mjs +0 -5
  878. package/dist/chunks/sinks-1.1.8-mwbk48v4.mjs +0 -1
  879. package/dist/chunks/skills-1.1.8-danp83p4.mjs +0 -1
  880. package/dist/chunks/startupProfiler-1.1.8-02jr5z55.mjs +0 -1
  881. package/dist/chunks/startupUpdateCheck-1.1.8-69wzwvc1.mjs +0 -1
  882. package/dist/chunks/state-1.1.8-nsdn5anj.mjs +0 -1
  883. package/dist/chunks/stats-1.1.8-t5pza2rr.mjs +0 -6
  884. package/dist/chunks/status-1.1.8-68h5gqvx.mjs +0 -1
  885. package/dist/chunks/stickers-1.1.8-0h3kkr20.mjs +0 -1
  886. package/dist/chunks/subprocessEnv-1.1.8-kabvqrxh.mjs +0 -1
  887. package/dist/chunks/tasks-1.1.8-zepre4hr.mjs +0 -1
  888. package/dist/chunks/teamHelpers-1.1.8-fcp2jsnp.mjs +0 -1
  889. package/dist/chunks/teammateModeSnapshot-1.1.8-qvmhwh7w.mjs +0 -1
  890. package/dist/chunks/teleport-1.1.8-7wdmygej.mjs +0 -1
  891. package/dist/chunks/terminalSetup-1.1.8-p7bj9pmp.mjs +0 -1
  892. package/dist/chunks/theme-1.1.8-3szcwvrn.mjs +0 -1
  893. package/dist/chunks/thinkback-1.1.8-gap3zzg0.mjs +0 -1
  894. package/dist/chunks/thinkback-play-1.1.8-v89ne249.mjs +0 -1
  895. package/dist/chunks/toolPool-1.1.8-3vtrmmhc.mjs +0 -1
  896. package/dist/chunks/toolSearch-1.1.8-c86299rc.mjs +0 -1
  897. package/dist/chunks/tools-1.1.8-fgh8e1kf.mjs +0 -1
  898. package/dist/chunks/trustedDevice-1.1.8-nysjtcf4.mjs +0 -1
  899. package/dist/chunks/turndown.cjs-1.1.8-cqczbjvz.mjs +0 -69
  900. package/dist/chunks/types-1.1.8-paq7e73r.mjs +0 -1
  901. package/dist/chunks/ultrareviewCommand-1.1.8-3k0h42t7.mjs +0 -4
  902. package/dist/chunks/update-1.1.8-c8rb7gzn.mjs +0 -72
  903. package/dist/chunks/upgrade-1.1.8-nmgtg5re.mjs +0 -1
  904. package/dist/chunks/upload-1.1.8-bwrxfje4.mjs +0 -7
  905. package/dist/chunks/upstreamproxy-1.1.8-9n7d40g6.mjs +0 -14
  906. package/dist/chunks/url-handler-napi-1.1.8-zd3gsw0r.mjs +0 -1
  907. package/dist/chunks/usage-1.1.8-n15nggj5.mjs +0 -1
  908. package/dist/chunks/util-1.1.8-jz0kvsrr.mjs +0 -1
  909. package/dist/chunks/utils-1.1.8-zmtfqjk6.mjs +0 -1
  910. package/dist/chunks/vim-1.1.8-f0gtc89f.mjs +0 -1
  911. package/dist/chunks/watchLoop-1.1.8-rw3vn991.mjs +0 -13
  912. package/dist/chunks/watcher-1.1.8-jcxwjkvy.mjs +0 -1
  913. package/dist/chunks/wiki-1.1.8-e7rt9td4.mjs +0 -132
  914. package/dist/chunks/workflows-1.1.8-crtrj2rc.mjs +0 -1
  915. package/dist/chunks/worktree-1.1.8-50mfr61r.mjs +0 -1
  916. package/dist/chunks/worktreeModeEnabled-1.1.8-a7h96pt2.mjs +0 -1
  917. package/dist/chunks/wrapper-1.1.8-x1j8x6bc.mjs +0 -7
  918. /package/dist/chunks/{cli-1.1.8-n7gqm17w.mjs → cli-1.1.10-xkq6mdj6.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{qi as M,ri as w,si as A}from"./cli-1.1.10-cvxq4g91.mjs";import{Oia as X,Qia as N,Ria as $,Sia as O}from"./cli-1.1.10-nfpy32s8.mjs";import{Mka as R,Pka as C}from"./cli-1.1.10-jn6w68wj.mjs";import{Hla as _,ula as L}from"./cli-1.1.10-49bvng33.mjs";import{kra as T,lna as H}from"./cli-1.1.10-f00rps59.mjs";import{esa as W,wsa as y}from"./cli-1.1.10-6m1jpn0s.mjs";y();N();T();C();_();O();A();import{randomUUID as I}from"crypto";import{mkdir as P,writeFile as U}from"fs/promises";import{basename as v,join as B}from"path";var D=30000;function Q(q){R(`[bridge:inbound-attach] ${q}`)}var j=$(()=>X.object({file_uuid:X.string(),file_name:X.string()})),k=$(()=>X.array(j()));function S(q){if(typeof q!=="object"||q===null||!("file_attachments"in q))return[];let G=k().safeParse(q.file_attachments);return G.success?G.data:[]}function z(q){return v(q).replace(/[^a-zA-Z0-9._-]/g,"_")||"attachment"}function x(){return B(L(),"uploads",H())}async function b(q){let G=M();if(!G){Q("skip: no oauth token");return}let J;try{let V=`${w()}/api/oauth/files/${encodeURIComponent(q.file_uuid)}/content`,Z=await W.get(V,{headers:{Authorization:`Bearer ${G}`},responseType:"arraybuffer",timeout:D,validateStatus:()=>!0});if(Z.status!==200){Q(`fetch ${q.file_uuid} failed: status=${Z.status}`);return}J=Buffer.from(Z.data)}catch(V){Q(`fetch ${q.file_uuid} threw: ${V}`);return}let K=z(q.file_name),F=(q.file_uuid.slice(0,8)||I().slice(0,8)).replace(/[^a-zA-Z0-9_-]/g,"_"),E=x(),Y=B(E,`${F}-${K}`);try{await P(E,{recursive:!0}),await U(Y,J)}catch(V){Q(`write ${Y} failed: ${V}`);return}return Q(`resolved ${q.file_uuid} → ${Y} (${J.length} bytes)`),Y}async function f(q){if(q.length===0)return"";Q(`resolving ${q.length} attachment(s)`);let J=(await Promise.all(q.map(b))).filter((K)=>K!==void 0);if(J.length===0)return"";return J.map((K)=>`@"${K}"`).join(" ")+" "}function l(q,G){if(!G)return q;if(typeof q==="string")return G+q;let J=q.findLastIndex((K)=>K.type==="text");if(J!==-1){let K=q[J];if(K.type==="text")return[...q.slice(0,J),{...K,text:G+K.text},...q.slice(J+1)]}return[...q,{type:"text",text:G.trimEnd()}]}async function s(q,G){let J=S(q);if(J.length===0)return G;let K=await f(J);return l(G,K)}
2
+ export{S as ca,f as da,l as ea,s as fa};
@@ -0,0 +1,6 @@
1
+ import{Gsa as M0,Hsa as H0}from"./cli-1.1.10-2scx8n6c.mjs";import{Vsa as L0,Wsa as J,Ysa as R0,Zsa as E}from"./cli-1.1.10-gmf5w0a4.mjs";var u_=J((Ch,b_)=>{var T=1000,$=T*60,O=$*60,U=O*24,rS=U*7,sS=U*365.25;b_.exports=function(_,S){S=S||{};var z=typeof _;if(z==="string"&&_.length>0)return aS(_);else if(z==="number"&&isFinite(_))return S.long?_0(_):eS(_);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(_))};function aS(_){if(_=String(_),_.length>100)return;var S=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(_);if(!S)return;var z=parseFloat(S[1]),h=(S[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return z*sS;case"weeks":case"week":case"w":return z*rS;case"days":case"day":case"d":return z*U;case"hours":case"hour":case"hrs":case"hr":case"h":return z*O;case"minutes":case"minute":case"mins":case"min":case"m":return z*$;case"seconds":case"second":case"secs":case"sec":case"s":return z*T;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return z;default:return}}function eS(_){var S=Math.abs(_);if(S>=U)return Math.round(_/U)+"d";if(S>=O)return Math.round(_/O)+"h";if(S>=$)return Math.round(_/$)+"m";if(S>=T)return Math.round(_/T)+"s";return _+"ms"}function _0(_){var S=Math.abs(_);if(S>=U)return t(_,S,U,"day");if(S>=O)return t(_,S,O,"hour");if(S>=$)return t(_,S,$,"minute");if(S>=T)return t(_,S,T,"second");return _+" ms"}function t(_,S,z,h){var K=S>=z*1.5;return Math.round(_/z)+" "+h+(K?"s":"")}});var J_=J((Ih,m_)=>{function z0(_){z.debug=z,z.default=z,z.coerce=M,z.disable=W,z.enable=K,z.enabled=V,z.humanize=u_(),z.destroy=F,Object.keys(_).forEach((Z)=>{z[Z]=_[Z]}),z.names=[],z.skips=[],z.formatters={};function S(Z){let Y=0;for(let G=0;G<Z.length;G++)Y=(Y<<5)-Y+Z.charCodeAt(G),Y|=0;return z.colors[Math.abs(Y)%z.colors.length]}z.selectColor=S;function z(Z){let Y,G=null,L,x;function H(...N){if(!H.enabled)return;let A=H,n=Number(new Date),lS=n-(Y||n);if(A.diff=lS,A.prev=Y,A.curr=n,Y=n,N[0]=z.coerce(N[0]),typeof N[0]!=="string")N.unshift("%O");let l=0;N[0]=N[0].replace(/%([a-zA-Z%])/g,(Z_,tS)=>{if(Z_==="%%")return"%";l++;let g_=z.formatters[tS];if(typeof g_==="function"){let oS=N[l];Z_=g_.call(A,oS),N.splice(l,1),l--}return Z_}),z.formatArgs.call(A,N),(A.log||z.log).apply(A,N)}if(H.namespace=Z,H.useColors=z.useColors(),H.color=z.selectColor(Z),H.extend=h,H.destroy=z.destroy,Object.defineProperty(H,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(G!==null)return G;if(L!==z.namespaces)L=z.namespaces,x=z.enabled(Z);return x},set:(N)=>{G=N}}),typeof z.init==="function")z.init(H);return H}function h(Z,Y){let G=z(this.namespace+(typeof Y>"u"?":":Y)+Z);return G.log=this.log,G}function K(Z){z.save(Z),z.namespaces=Z,z.names=[],z.skips=[];let Y=(typeof Z==="string"?Z:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let G of Y)if(G[0]==="-")z.skips.push(G.slice(1));else z.names.push(G)}function Q(Z,Y){let G=0,L=0,x=-1,H=0;while(G<Z.length)if(L<Y.length&&(Y[L]===Z[G]||Y[L]==="*"))if(Y[L]==="*")x=L,H=G,L++;else G++,L++;else if(x!==-1)L=x+1,H++,G=H;else return!1;while(L<Y.length&&Y[L]==="*")L++;return L===Y.length}function W(){let Z=[...z.names,...z.skips.map((Y)=>"-"+Y)].join(",");return z.enable(""),Z}function V(Z){for(let Y of z.skips)if(Q(Z,Y))return!1;for(let Y of z.names)if(Q(Z,Y))return!0;return!1}function M(Z){if(Z instanceof Error)return Z.stack||Z.message;return Z}function F(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return z.enable(z.load()),z}m_.exports=z0});var i_=J((p_,o)=>{p_.formatArgs=h0;p_.save=K0;p_.load=Q0;p_.useColors=S0;p_.storage=Z0();p_.destroy=(()=>{let _=!1;return()=>{if(!_)_=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();p_.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function S0(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let _;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(_=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(_[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function h0(_){if(_[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+_[0]+(this.useColors?"%c ":" ")+"+"+o.exports.humanize(this.diff),!this.useColors)return;let S="color: "+this.color;_.splice(1,0,S,"color: inherit");let z=0,h=0;_[0].replace(/%[a-zA-Z%]/g,(K)=>{if(K==="%%")return;if(z++,K==="%c")h=z}),_.splice(h,0,S)}p_.log=console.debug||console.log||(()=>{});function K0(_){try{if(_)p_.storage.setItem("debug",_);else p_.storage.removeItem("debug")}catch(S){}}function Q0(){let _;try{_=p_.storage.getItem("debug")||p_.storage.getItem("DEBUG")}catch(S){}if(!_&&typeof process<"u"&&"env"in process)_=process.env.DEBUG;return _}function Z0(){try{return localStorage}catch(_){}}o.exports=J_()(p_);var{formatters:J0}=o.exports;J0.j=function(_){try{return JSON.stringify(_)}catch(S){return"[UnexpectedJSONParseError]: "+S.message}}});var l_=J((c_,s)=>{var q0=E("tty"),r=E("util");c_.init=U0;c_.log=E0;c_.formatArgs=N0;c_.save=D0;c_.load=A0;c_.useColors=w0;c_.destroy=r.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");c_.colors=[6,2,3,4,5,1];try{let _=(H0(),L0(M0));if(_&&(_.stderr||_).level>=2)c_.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(_){}c_.inspectOpts=Object.keys(process.env).filter((_)=>{return/^debug_/i.test(_)}).reduce((_,S)=>{let z=S.substring(6).toLowerCase().replace(/_([a-z])/g,(K,Q)=>{return Q.toUpperCase()}),h=process.env[S];if(/^(yes|on|true|enabled)$/i.test(h))h=!0;else if(/^(no|off|false|disabled)$/i.test(h))h=!1;else if(h==="null")h=null;else h=Number(h);return _[z]=h,_},{});function w0(){return"colors"in c_.inspectOpts?Boolean(c_.inspectOpts.colors):q0.isatty(process.stderr.fd)}function N0(_){let{namespace:S,useColors:z}=this;if(z){let h=this.color,K="\x1B[3"+(h<8?h:"8;5;"+h),Q=` ${K};1m${S} \x1B[0m`;_[0]=Q+_[0].split(`
2
+ `).join(`
3
+ `+Q),_.push(K+"m+"+s.exports.humanize(this.diff)+"\x1B[0m")}else _[0]=x0()+S+" "+_[0]}function x0(){if(c_.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function E0(..._){return process.stderr.write(r.formatWithOptions(c_.inspectOpts,..._)+`
4
+ `)}function D0(_){if(_)process.env.DEBUG=_;else delete process.env.DEBUG}function A0(){return process.env.DEBUG}function U0(_){_.inspectOpts={};let S=Object.keys(c_.inspectOpts);for(let z=0;z<S.length;z++)_.inspectOpts[S[z]]=c_.inspectOpts[S[z]]}s.exports=J_()(c_);var{formatters:d_}=s.exports;d_.o=function(_){return this.inspectOpts.colors=this.useColors,r.inspect(_,this.inspectOpts).split(`
5
+ `).map((S)=>S.trim()).join(" ")};d_.O=function(_){return this.inspectOpts.colors=this.useColors,r.inspect(_,this.inspectOpts)}});var t_=J((Oh,Y_)=>{if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)Y_.exports=i_();else Y_.exports=l_()});function y0(_){try{return new URL(_)}catch{return null}}function Rh(_){var S=(typeof _==="string"?y0(_):_)||{},z=S.protocol,h=S.host,K=S.port;if(typeof h!=="string"||!h||typeof z!=="string")return"";if(z=z.split(":",1)[0],h=h.replace(/:\d*$/,""),K=parseInt(K)||P0[z]||0,!k0(h,K))return"";var Q=W_(z+"_proxy")||W_("all_proxy");if(Q&&Q.indexOf("://")===-1)Q=z+"://"+Q;return Q}function k0(_,S){var z=W_("no_proxy").toLowerCase();if(!z)return!0;if(z==="*")return!1;return z.split(/[,\s]/).every(function(h){if(!h)return!0;var K=h.match(/^(.+):(\d+)$/),Q=K?K[1]:h,W=K?parseInt(K[2]):0;if(W&&W!==S)return!0;if(!/^[.*]/.test(Q))return _!==Q;if(Q.charAt(0)==="*")Q=Q.slice(1);return!_.endsWith(Q)})}function W_(_){return process.env[_.toLowerCase()]||process.env[_.toUpperCase()]||""}var P0;var v0=R0(()=>{P0={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443}});var r_=J((yh,o_)=>{var b;o_.exports=function(){if(!b){try{b=t_()("follow-redirects")}catch(_){}if(typeof b!=="function")b=function(){}}b.apply(null,arguments)}});var a0=J((kh,x_)=>{var m=E("url"),u=m.URL,g0=E("http"),b0=E("https"),X_=E("stream").Writable,L_=E("assert"),s_=r_();(function(){var S=typeof process<"u",z=typeof window<"u"&&typeof document<"u",h=C(Error.captureStackTrace);if(!S&&(z||!h))console.warn("The follow-redirects package should be excluded from browser builds.")})();var M_=!1;try{L_(new u(""))}catch(_){M_=_.code==="ERR_INVALID_URL"}var u0=["Authorization","Proxy-Authorization","Cookie"],m0=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],H_=["abort","aborted","connect","error","socket","timeout"],q_=Object.create(null);H_.forEach(function(_){q_[_]=function(S,z,h){this._redirectable.emit(_,S,z,h)}});var G_=p("ERR_INVALID_URL","Invalid URL",TypeError),V_=p("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),p0=p("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",V_),i0=p("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),d0=p("ERR_STREAM_WRITE_AFTER_END","write after end"),c0=X_.prototype.destroy||e_;function w(_,S){if(X_.call(this),this._sanitizeOptions(_),this._options=_,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],S)this.on("response",S);var z=this;this._onNativeResponse=function(h){try{z._processResponse(h)}catch(K){z.emit("error",K instanceof V_?K:new V_({cause:K}))}},this._headerFilter=new RegExp("^(?:"+u0.concat(_.sensitiveHeaders).map(s0).join("|")+")$","i"),this._performRequest()}w.prototype=Object.create(X_.prototype);w.prototype.abort=function(){N_(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};w.prototype.destroy=function(_){return N_(this._currentRequest,_),c0.call(this,_),this};w.prototype.write=function(_,S,z){if(this._ending)throw new d0;if(!j(_)&&!o0(_))throw TypeError("data should be a string, Buffer or Uint8Array");if(C(S))z=S,S=null;if(_.length===0){if(z)z();return}if(this._requestBodyLength+_.length<=this._options.maxBodyLength)this._requestBodyLength+=_.length,this._requestBodyBuffers.push({data:_,encoding:S}),this._currentRequest.write(_,S,z);else this.emit("error",new i0),this.abort()};w.prototype.end=function(_,S,z){if(C(_))z=_,_=S=null;else if(C(S))z=S,S=null;if(!_)this._ended=this._ending=!0,this._currentRequest.end(null,null,z);else{var h=this,K=this._currentRequest;this.write(_,S,function(){h._ended=!0,K.end(null,null,z)}),this._ending=!0}};w.prototype.setHeader=function(_,S){this._options.headers[_]=S,this._currentRequest.setHeader(_,S)};w.prototype.removeHeader=function(_){delete this._options.headers[_],this._currentRequest.removeHeader(_)};w.prototype.setTimeout=function(_,S){var z=this;function h(W){W.setTimeout(_),W.removeListener("timeout",W.destroy),W.addListener("timeout",W.destroy)}function K(W){if(z._timeout)clearTimeout(z._timeout);z._timeout=setTimeout(function(){z.emit("timeout"),Q()},_),h(W)}function Q(){if(z._timeout)clearTimeout(z._timeout),z._timeout=null;if(z.removeListener("abort",Q),z.removeListener("error",Q),z.removeListener("response",Q),z.removeListener("close",Q),S)z.removeListener("timeout",S);if(!z.socket)z._currentRequest.removeListener("socket",K)}if(S)this.on("timeout",S);if(this.socket)K(this.socket);else this._currentRequest.once("socket",K);return this.on("socket",h),this.on("abort",Q),this.on("error",Q),this.on("response",Q),this.on("close",Q),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(_){w.prototype[_]=function(S,z){return this._currentRequest[_](S,z)}});["aborted","connection","socket"].forEach(function(_){Object.defineProperty(w.prototype,_,{get:function(){return this._currentRequest[_]}})});w.prototype._sanitizeOptions=function(_){if(!_.headers)_.headers={};if(!t0(_.sensitiveHeaders))_.sensitiveHeaders=[];if(_.host){if(!_.hostname)_.hostname=_.host;delete _.host}if(!_.pathname&&_.path){var S=_.path.indexOf("?");if(S<0)_.pathname=_.path;else _.pathname=_.path.substring(0,S),_.search=_.path.substring(S)}};w.prototype._performRequest=function(){var _=this._options.protocol,S=this._options.nativeProtocols[_];if(!S)throw TypeError("Unsupported protocol "+_);if(this._options.agents){var z=_.slice(0,-1);this._options.agent=this._options.agents[z]}var h=this._currentRequest=S.request(this._options,this._onNativeResponse);h._redirectable=this;for(var K of H_)h.on(K,q_[K]);if(this._currentUrl=/^\//.test(this._options.path)?m.format(this._options):this._options.path,this._isRedirect){var Q=0,W=this,V=this._requestBodyBuffers;(function M(F){if(h===W._currentRequest){if(F)W.emit("error",F);else if(Q<V.length){var Z=V[Q++];if(!h.finished)h.write(Z.data,Z.encoding,M)}else if(W._ended)h.end()}})()}};w.prototype._processResponse=function(_){var S=_.statusCode;if(this._options.trackRedirects)this._redirects.push({url:this._currentUrl,headers:_.headers,statusCode:S});var z=_.headers.location;if(!z||this._options.followRedirects===!1||S<300||S>=400){_.responseUrl=this._currentUrl,_.redirects=this._redirects,this.emit("response",_),this._requestBodyBuffers=[];return}if(N_(this._currentRequest),_.destroy(),++this._redirectCount>this._options.maxRedirects)throw new p0;var h,K=this._options.beforeRedirect;if(K)h=Object.assign({Host:_.req.getHeader("host")},this._options.headers);var Q=this._options.method;if((S===301||S===302)&&this._options.method==="POST"||S===303&&!/^(?:GET|HEAD)$/.test(this._options.method))this._options.method="GET",this._requestBodyBuffers=[],B_(/^content-/i,this._options.headers);var W=B_(/^host$/i,this._options.headers),V=w_(this._currentUrl),M=W||V.host,F=/^\w+:/.test(z)?this._currentUrl:m.format(Object.assign(V,{host:M})),Z=n0(z,F);if(s_("redirecting to",Z.href),this._isRedirect=!0,F_(Z,this._options),Z.protocol!==V.protocol&&Z.protocol!=="https:"||Z.host!==M&&!l0(Z.host,M))B_(this._headerFilter,this._options.headers);if(C(K)){var Y={headers:_.headers,statusCode:S},G={url:F,method:Q,headers:h};K(this._options,Y,G),this._sanitizeOptions(this._options)}this._performRequest()};function a_(_){var S={maxRedirects:21,maxBodyLength:10485760},z={};return Object.keys(_).forEach(function(h){var K=h+":",Q=z[K]=_[h],W=S[h]=Object.create(Q);function V(F,Z,Y){if(r0(F))F=F_(F);else if(j(F))F=F_(w_(F));else Y=Z,Z=_z(F),F={protocol:K};if(C(Z))Y=Z,Z=null;if(Z=Object.assign({maxRedirects:S.maxRedirects,maxBodyLength:S.maxBodyLength},F,Z),Z.nativeProtocols=z,!j(Z.host)&&!j(Z.hostname))Z.hostname="::1";return L_.equal(Z.protocol,K,"protocol mismatch"),s_("options",Z),new w(Z,Y)}function M(F,Z,Y){var G=W.request(F,Z,Y);return G.end(),G}Object.defineProperties(W,{request:{value:V,configurable:!0,enumerable:!0,writable:!0},get:{value:M,configurable:!0,enumerable:!0,writable:!0}})}),S}function e_(){}function w_(_){var S;if(M_)S=new u(_);else if(S=_z(m.parse(_)),!j(S.protocol))throw new G_({input:_});return S}function n0(_,S){return M_?new u(_,S):w_(m.resolve(S,_))}function _z(_){if(/^\[/.test(_.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(_.hostname))throw new G_({input:_.href||_});if(/^\[/.test(_.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(_.host))throw new G_({input:_.href||_});return _}function F_(_,S){var z=S||{};for(var h of m0)z[h]=_[h];if(z.hostname.startsWith("["))z.hostname=z.hostname.slice(1,-1);if(z.port!=="")z.port=Number(z.port);return z.path=z.search?z.pathname+z.search:z.pathname,z}function B_(_,S){var z;for(var h in S)if(_.test(h))z=S[h],delete S[h];return z===null||typeof z>"u"?void 0:String(z).trim()}function p(_,S,z){function h(K){if(C(Error.captureStackTrace))Error.captureStackTrace(this,this.constructor);Object.assign(this,K||{}),this.code=_,this.message=this.cause?S+": "+this.cause.message:S}return h.prototype=new(z||Error),Object.defineProperties(h.prototype,{constructor:{value:h,enumerable:!1},name:{value:"Error ["+_+"]",enumerable:!1}}),h}function N_(_,S){for(var z of H_)_.removeListener(z,q_[z]);_.on("error",e_),_.destroy(S)}function l0(_,S){L_(j(_)&&j(S));var z=_.length-S.length-1;return z>0&&_[z]==="."&&_.endsWith(S)}function t0(_){return _ instanceof Array}function j(_){return typeof _==="string"||_ instanceof String}function C(_){return typeof _==="function"}function o0(_){return typeof _==="object"&&"length"in _}function r0(_){return u&&_ instanceof u}function s0(_){return _.replace(/[\]\\/()*+?.$]/g,"\\$&")}x_.exports=a_({http:g0,https:b0});x_.exports.wrap=a_});var hz=J((vh,Sz)=>{var zz=E("stream").Stream,e0=E("util");Sz.exports=D;function D(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e0.inherits(D,zz);D.create=function(_,S){var z=new this;S=S||{};for(var h in S)z[h]=S[h];z.source=_;var K=_.emit;if(_.emit=function(){return z._handleEmit(arguments),K.apply(_,arguments)},_.on("error",function(){}),z.pauseStream)_.pause();return z};Object.defineProperty(D.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});D.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};D.prototype.resume=function(){if(!this._released)this.release();this.source.resume()};D.prototype.pause=function(){this.source.pause()};D.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(_){this.emit.apply(this,_)}.bind(this)),this._bufferedEvents=[]};D.prototype.pipe=function(){var _=zz.prototype.pipe.apply(this,arguments);return this.resume(),_};D.prototype._handleEmit=function(_){if(this._released){this.emit.apply(this,_);return}if(_[0]==="data")this.dataSize+=_[1].length,this._checkIfMaxDataSizeExceeded();this._bufferedEvents.push(_)};D.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded)return;if(this.dataSize<=this.maxDataSize)return;this._maxDataSizeExceeded=!0;var _="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(_))}});var z1=J((gh,Zz)=>{var _1=E("util"),Qz=E("stream").Stream,Kz=hz();Zz.exports=X;function X(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}_1.inherits(X,Qz);X.create=function(_){var S=new this;_=_||{};for(var z in _)S[z]=_[z];return S};X.isStreamLike=function(_){return typeof _!=="function"&&typeof _!=="string"&&typeof _!=="boolean"&&typeof _!=="number"&&!Buffer.isBuffer(_)};X.prototype.append=function(_){var S=X.isStreamLike(_);if(S){if(!(_ instanceof Kz)){var z=Kz.create(_,{maxDataSize:1/0,pauseStream:this.pauseStreams});_.on("data",this._checkDataSize.bind(this)),_=z}if(this._handleErrors(_),this.pauseStreams)_.pause()}return this._streams.push(_),this};X.prototype.pipe=function(_,S){return Qz.prototype.pipe.call(this,_,S),this.resume(),_};X.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};X.prototype._realGetNext=function(){var _=this._streams.shift();if(typeof _>"u"){this.end();return}if(typeof _!=="function"){this._pipeNext(_);return}var S=_;S(function(z){var h=X.isStreamLike(z);if(h)z.on("data",this._checkDataSize.bind(this)),this._handleErrors(z);this._pipeNext(z)}.bind(this))};X.prototype._pipeNext=function(_){this._currentStream=_;var S=X.isStreamLike(_);if(S){_.on("end",this._getNext.bind(this)),_.pipe(this,{end:!1});return}var z=_;this.write(z),this._getNext()};X.prototype._handleErrors=function(_){var S=this;_.on("error",function(z){S._emitError(z)})};X.prototype.write=function(_){this.emit("data",_)};X.prototype.pause=function(){if(!this.pauseStreams)return;if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};X.prototype.resume=function(){if(!this._released)this._released=!0,this.writable=!0,this._getNext();if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};X.prototype.end=function(){this._reset(),this.emit("end")};X.prototype.destroy=function(){this._reset(),this.emit("close")};X.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};X.prototype._checkDataSize=function(){if(this._updateDataSize(),this.dataSize<=this.maxDataSize)return;var _="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(_))};X.prototype._updateDataSize=function(){this.dataSize=0;var _=this;if(this._streams.forEach(function(S){if(!S.dataSize)return;_.dataSize+=S.dataSize}),this._currentStream&&this._currentStream.dataSize)this.dataSize+=this._currentStream.dataSize};X.prototype._emitError=function(_){this._reset(),this.emit("error",_)}});var Yz=J((bh,Jz)=>{Jz.exports=S1;function S1(_){var S=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(S)S(_);else setTimeout(_,0)}});var E_=J((uh,Bz)=>{var Wz=Yz();Bz.exports=h1;function h1(_){var S=!1;return Wz(function(){S=!0}),function(h,K){if(S)_(h,K);else Wz(function(){_(h,K)})}}});var D_=J((mh,Gz)=>{Gz.exports=K1;function K1(_){Object.keys(_.jobs).forEach(Q1.bind(_)),_.jobs={}}function Q1(_){if(typeof this.jobs[_]=="function")this.jobs[_]()}});var A_=J((ph,Fz)=>{var Vz=E_(),Z1=D_();Fz.exports=J1;function J1(_,S,z,h){var K=z.keyedList?z.keyedList[z.index]:z.index;z.jobs[K]=Y1(S,K,_[K],function(Q,W){if(!(K in z.jobs))return;if(delete z.jobs[K],Q)Z1(z);else z.results[K]=W;h(Q,z.results)})}function Y1(_,S,z,h){var K;if(_.length==2)K=_(z,Vz(h));else K=_(z,S,Vz(h));return K}});var U_=J((ih,Xz)=>{Xz.exports=W1;function W1(_,S){var z=!Array.isArray(_),h={index:0,keyedList:z||S?Object.keys(_):null,jobs:{},results:z?{}:[],size:z?Object.keys(_).length:_.length};if(S)h.keyedList.sort(z?S:function(K,Q){return S(_[K],_[Q])});return h}});var f_=J((dh,Lz)=>{var B1=D_(),G1=E_();Lz.exports=V1;function V1(_){if(!Object.keys(this.jobs).length)return;this.index=this.size,B1(this),G1(_)(null,this.results)}});var Hz=J((ch,Mz)=>{var F1=A_(),X1=U_(),L1=f_();Mz.exports=M1;function M1(_,S,z){var h=X1(_);while(h.index<(h.keyedList||_).length)F1(_,S,h,function(K,Q){if(K){z(K,Q);return}if(Object.keys(h.jobs).length===0){z(null,h.results);return}}),h.index++;return L1.bind(h,z)}});var j_=J((nh,a)=>{var qz=A_(),H1=U_(),q1=f_();a.exports=w1;a.exports.ascending=wz;a.exports.descending=N1;function w1(_,S,z,h){var K=H1(_,z);return qz(_,S,K,function Q(W,V){if(W){h(W,V);return}if(K.index++,K.index<(K.keyedList||_).length){qz(_,S,K,Q);return}h(null,K.results)}),q1.bind(K,h)}function wz(_,S){return _<S?-1:_>S?1:0}function N1(_,S){return-1*wz(_,S)}});var xz=J((lh,Nz)=>{var x1=j_();Nz.exports=E1;function E1(_,S,z){return x1(_,S,null,z)}});var D1=J((th,Ez)=>{Ez.exports={parallel:Hz(),serial:xz(),serialOrdered:j_()}});var C_=J((oh,Dz)=>{Dz.exports=Object});var Uz=J((rh,Az)=>{Az.exports=Error});var jz=J((sh,fz)=>{fz.exports=EvalError});var Iz=J((ah,Cz)=>{Cz.exports=RangeError});var $z=J((eh,Tz)=>{Tz.exports=ReferenceError});var Rz=J((_2,Oz)=>{Oz.exports=SyntaxError});var e=J((z2,Pz)=>{Pz.exports=TypeError});var kz=J((S2,yz)=>{yz.exports=URIError});var gz=J((h2,vz)=>{vz.exports=Math.abs});var uz=J((K2,bz)=>{bz.exports=Math.floor});var pz=J((Q2,mz)=>{mz.exports=Math.max});var dz=J((Z2,iz)=>{iz.exports=Math.min});var nz=J((J2,cz)=>{cz.exports=Math.pow});var tz=J((Y2,lz)=>{lz.exports=Math.round});var rz=J((W2,oz)=>{oz.exports=Number.isNaN||function(S){return S!==S}});var az=J((B2,sz)=>{var A1=rz();sz.exports=function(S){if(A1(S)||S===0)return S;return S<0?-1:1}});var _S=J((G2,ez)=>{ez.exports=Object.getOwnPropertyDescriptor});var I_=J((V2,zS)=>{var __=_S();if(__)try{__([],"length")}catch(_){__=null}zS.exports=__});var hS=J((F2,SS)=>{var z_=Object.defineProperty||!1;if(z_)try{z_({},"a",{value:1})}catch(_){z_=!1}SS.exports=z_});var T_=J((X2,KS)=>{KS.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var S={},z=Symbol("test"),h=Object(z);if(typeof z==="string")return!1;if(Object.prototype.toString.call(z)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(h)!=="[object Symbol]")return!1;var K=42;S[z]=K;for(var Q in S)return!1;if(typeof Object.keys==="function"&&Object.keys(S).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(S).length!==0)return!1;var W=Object.getOwnPropertySymbols(S);if(W.length!==1||W[0]!==z)return!1;if(!Object.prototype.propertyIsEnumerable.call(S,z))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var V=Object.getOwnPropertyDescriptor(S,z);if(V.value!==K||V.enumerable!==!0)return!1}return!0}});var JS=J((L2,ZS)=>{var QS=typeof Symbol<"u"&&Symbol,U1=T_();ZS.exports=function(){if(typeof QS!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof QS("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return U1()}});var $_=J((M2,YS)=>{YS.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var O_=J((H2,WS)=>{var f1=C_();WS.exports=f1.getPrototypeOf||null});var VS=J((q2,GS)=>{var j1="Function.prototype.bind called on incompatible ",C1=Object.prototype.toString,I1=Math.max,T1="[object Function]",BS=function(S,z){var h=[];for(var K=0;K<S.length;K+=1)h[K]=S[K];for(var Q=0;Q<z.length;Q+=1)h[Q+S.length]=z[Q];return h},$1=function(S,z){var h=[];for(var K=z||0,Q=0;K<S.length;K+=1,Q+=1)h[Q]=S[K];return h},O1=function(_,S){var z="";for(var h=0;h<_.length;h+=1)if(z+=_[h],h+1<_.length)z+=S;return z};GS.exports=function(S){var z=this;if(typeof z!=="function"||C1.apply(z)!==T1)throw TypeError(j1+z);var h=$1(arguments,1),K,Q=function(){if(this instanceof K){var Z=z.apply(this,BS(h,arguments));if(Object(Z)===Z)return Z;return this}return z.apply(S,BS(h,arguments))},W=I1(0,z.length-h.length),V=[];for(var M=0;M<W;M++)V[M]="$"+M;if(K=Function("binder","return function ("+O1(V,",")+"){ return binder.apply(this,arguments); }")(Q),z.prototype){var F=function(){};F.prototype=z.prototype,K.prototype=new F,F.prototype=null}return K}});var R=J((w2,FS)=>{var R1=VS();FS.exports=Function.prototype.bind||R1});var S_=J((N2,XS)=>{XS.exports=Function.prototype.call});var R_=J((x2,LS)=>{LS.exports=Function.prototype.apply});var HS=J((E2,MS)=>{MS.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var wS=J((D2,qS)=>{var P1=R(),y1=R_(),k1=S_(),v1=HS();qS.exports=v1||P1.call(k1,y1)});var xS=J((A2,NS)=>{var g1=R(),b1=e(),u1=S_(),m1=wS();NS.exports=function(S){if(S.length<1||typeof S[0]!=="function")throw new b1("a function is required");return m1(g1,u1,S)}});var jS=J((U2,fS)=>{var p1=xS(),ES=I_(),AS;try{AS=[].__proto__===Array.prototype}catch(_){if(!_||typeof _!=="object"||!("code"in _)||_.code!=="ERR_PROTO_ACCESS")throw _}var P_=!!AS&&ES&&ES(Object.prototype,"__proto__"),US=Object,DS=US.getPrototypeOf;fS.exports=P_&&typeof P_.get==="function"?p1([P_.get]):typeof DS==="function"?function(S){return DS(S==null?S:US(S))}:!1});var OS=J((f2,$S)=>{var CS=$_(),IS=O_(),TS=jS();$S.exports=CS?function(S){return CS(S)}:IS?function(S){if(!S||typeof S!=="object"&&typeof S!=="function")throw TypeError("getProto: not an object");return IS(S)}:TS?function(S){return TS(S)}:null});var PS=J((j2,RS)=>{var i1=Function.prototype.call,d1=Object.prototype.hasOwnProperty,c1=R();RS.exports=c1.call(i1,d1)});var uS=J((C2,bS)=>{var B,n1=C_(),l1=Uz(),t1=jz(),o1=Iz(),r1=$z(),v=Rz(),k=e(),s1=kz(),a1=gz(),e1=uz(),_h=pz(),zh=dz(),Sh=nz(),hh=tz(),Kh=az(),vS=Function,y_=function(_){try{return vS('"use strict"; return ('+_+").constructor;")()}catch(S){}},i=I_(),Qh=hS(),k_=function(){throw new k},Zh=i?function(){try{return arguments.callee,k_}catch(_){try{return i(arguments,"callee").get}catch(S){return k_}}}():k_,P=JS()(),q=OS(),Jh=O_(),Yh=$_(),gS=R_(),d=S_(),y={},Wh=typeof Uint8Array>"u"||!q?B:q(Uint8Array),I={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?B:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?B:ArrayBuffer,"%ArrayIteratorPrototype%":P&&q?q([][Symbol.iterator]()):B,"%AsyncFromSyncIteratorPrototype%":B,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":typeof Atomics>"u"?B:Atomics,"%BigInt%":typeof BigInt>"u"?B:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?B:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?B:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?B:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":l1,"%eval%":eval,"%EvalError%":t1,"%Float16Array%":typeof Float16Array>"u"?B:Float16Array,"%Float32Array%":typeof Float32Array>"u"?B:Float32Array,"%Float64Array%":typeof Float64Array>"u"?B:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?B:FinalizationRegistry,"%Function%":vS,"%GeneratorFunction%":y,"%Int8Array%":typeof Int8Array>"u"?B:Int8Array,"%Int16Array%":typeof Int16Array>"u"?B:Int16Array,"%Int32Array%":typeof Int32Array>"u"?B:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&q?q(q([][Symbol.iterator]())):B,"%JSON%":typeof JSON==="object"?JSON:B,"%Map%":typeof Map>"u"?B:Map,"%MapIteratorPrototype%":typeof Map>"u"||!P||!q?B:q(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n1,"%Object.getOwnPropertyDescriptor%":i,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?B:Promise,"%Proxy%":typeof Proxy>"u"?B:Proxy,"%RangeError%":o1,"%ReferenceError%":r1,"%Reflect%":typeof Reflect>"u"?B:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?B:Set,"%SetIteratorPrototype%":typeof Set>"u"||!P||!q?B:q(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?B:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&q?q(""[Symbol.iterator]()):B,"%Symbol%":P?Symbol:B,"%SyntaxError%":v,"%ThrowTypeError%":Zh,"%TypedArray%":Wh,"%TypeError%":k,"%Uint8Array%":typeof Uint8Array>"u"?B:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?B:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?B:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?B:Uint32Array,"%URIError%":s1,"%WeakMap%":typeof WeakMap>"u"?B:WeakMap,"%WeakRef%":typeof WeakRef>"u"?B:WeakRef,"%WeakSet%":typeof WeakSet>"u"?B:WeakSet,"%Function.prototype.call%":d,"%Function.prototype.apply%":gS,"%Object.defineProperty%":Qh,"%Object.getPrototypeOf%":Jh,"%Math.abs%":a1,"%Math.floor%":e1,"%Math.max%":_h,"%Math.min%":zh,"%Math.pow%":Sh,"%Math.round%":hh,"%Math.sign%":Kh,"%Reflect.getPrototypeOf%":Yh};if(q)try{null.error}catch(_){v_=q(q(_)),I["%Error.prototype%"]=v_}var v_,Bh=function _(S){var z;if(S==="%AsyncFunction%")z=y_("async function () {}");else if(S==="%GeneratorFunction%")z=y_("function* () {}");else if(S==="%AsyncGeneratorFunction%")z=y_("async function* () {}");else if(S==="%AsyncGenerator%"){var h=_("%AsyncGeneratorFunction%");if(h)z=h.prototype}else if(S==="%AsyncIteratorPrototype%"){var K=_("%AsyncGenerator%");if(K&&q)z=q(K.prototype)}return I[S]=z,z},yS={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},c=R(),h_=PS(),Gh=c.call(d,Array.prototype.concat),Vh=c.call(gS,Array.prototype.splice),kS=c.call(d,String.prototype.replace),K_=c.call(d,String.prototype.slice),Fh=c.call(d,RegExp.prototype.exec),Xh=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Lh=/\\(\\)?/g,Mh=function(S){var z=K_(S,0,1),h=K_(S,-1);if(z==="%"&&h!=="%")throw new v("invalid intrinsic syntax, expected closing `%`");else if(h==="%"&&z!=="%")throw new v("invalid intrinsic syntax, expected opening `%`");var K=[];return kS(S,Xh,function(Q,W,V,M){K[K.length]=V?kS(M,Lh,"$1"):W||Q}),K},Hh=function(S,z){var h=S,K;if(h_(yS,h))K=yS[h],h="%"+K[0]+"%";if(h_(I,h)){var Q=I[h];if(Q===y)Q=Bh(h);if(typeof Q>"u"&&!z)throw new k("intrinsic "+S+" exists, but is not available. Please file an issue!");return{alias:K,name:h,value:Q}}throw new v("intrinsic "+S+" does not exist!")};bS.exports=function(S,z){if(typeof S!=="string"||S.length===0)throw new k("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof z!=="boolean")throw new k('"allowMissing" argument must be a boolean');if(Fh(/^%?[^%]*%?$/,S)===null)throw new v("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var h=Mh(S),K=h.length>0?h[0]:"",Q=Hh("%"+K+"%",z),W=Q.name,V=Q.value,M=!1,F=Q.alias;if(F)K=F[0],Vh(h,Gh([0,1],F));for(var Z=1,Y=!0;Z<h.length;Z+=1){var G=h[Z],L=K_(G,0,1),x=K_(G,-1);if((L==='"'||L==="'"||L==="`"||(x==='"'||x==="'"||x==="`"))&&L!==x)throw new v("property names with quotes must have matching quotes");if(G==="constructor"||!Y)M=!0;if(K+="."+G,W="%"+K+"%",h_(I,W))V=I[W];else if(V!=null){if(!(G in V)){if(!z)throw new k("base intrinsic for "+S+" exists, but the property is not available.");return}if(i&&Z+1>=h.length){var H=i(V,G);if(Y=!!H,Y&&"get"in H&&!("originalValue"in H.get))V=H.get;else V=V[G]}else Y=h_(V,G),V=V[G];if(Y&&!M)I[W]=V}}return V}});var pS=J((I2,mS)=>{var qh=T_();mS.exports=function(){return qh()&&!!Symbol.toStringTag}});var dS=J((T2,iS)=>{var wh=Function.prototype.call,Nh=Object.prototype.hasOwnProperty,xh=R();iS.exports=xh.call(wh,Nh)});var fh=J(($2,nS)=>{var Eh=uS(),cS=Eh("%Object.defineProperty%",!0),Dh=pS()(),Ah=dS(),Uh=e(),Q_=Dh?Symbol.toStringTag:null;nS.exports=function(S,z){var h=arguments.length>2&&!!arguments[2]&&arguments[2].force,K=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof h<"u"&&typeof h!=="boolean"||typeof K<"u"&&typeof K!=="boolean")throw new Uh("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(Q_&&(h||!Ah(S,Q_)))if(cS)cS(S,Q_,{configurable:!K,enumerable:!1,value:z,writable:!1});else S[Q_]=z}});
6
+ export{z1 as xsa,D1 as ysa,R as zsa,fh as Asa,Rh as Bsa,v0 as Csa,t_ as Dsa,a0 as Esa};
@@ -0,0 +1,2 @@
1
+ import{p4 as K,r4 as Z}from"./cli-1.1.10-b0b04nbj.mjs";import{v4 as J,x4 as Y}from"./cli-1.1.10-3vfwktcp.mjs";import{A8 as F,B8 as G,E5 as W,V8 as X,v8 as D,z5 as B}from"./cli-1.1.10-yzpymdrc.mjs";import{Hja as y,Ija as Q}from"./cli-1.1.10-2wkvf65f.mjs";import{esa as z,wsa as V}from"./cli-1.1.10-6m1jpn0s.mjs";import{Ysa as N}from"./cli-1.1.10-gmf5w0a4.mjs";async function P(){if(!F()||!G())return{};let w=D();if(w&&B(w.expiresAt))return null;let q=K();if(q.error)throw Error(`Auth error: ${q.error}`);let L={"Content-Type":"application/json","User-Agent":J(),...q.headers},M=`${y().BASE_API_URL}/api/oauth/usage`;return(await z.get(M,{headers:L,timeout:5000})).data}var _=N(()=>{V();Q();X();Z();Y();W()});
2
+ export{P as Oi,_ as Pi};
@@ -0,0 +1,2 @@
1
+ import{Hb as W,Ib as z}from"./cli-1.1.10-gnmyahda.mjs";import{Nb as R}from"./cli-1.1.10-9r8td4sp.mjs";import{IW as M,JW as w}from"./cli-1.1.10-t3pn4ww9.mjs";import{Mka as L,Pka as j}from"./cli-1.1.10-jn6w68wj.mjs";import{kla as Z,rla as H}from"./cli-1.1.10-e7wxspgz.mjs";j();H();w();function I(B){return{write:(G)=>B.write(G),writeBatch:(G)=>B.writeBatch(G),close:()=>B.close(),isConnectedStatus:()=>B.isConnectedStatus(),getStateLabel:()=>B.getStateLabel(),setOnData:(G)=>B.setOnData(G),setOnClose:(G)=>B.setOnClose(G),setOnConnect:(G)=>B.setOnConnect(G),connect:()=>void B.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return B.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function k(B){let{sessionUrl:G,ingressToken:_,sessionId:$,initialSequenceNum:E,getAuthToken:N}=B,P;if(N)P=()=>{let x=N();if(!x)return{};return{Authorization:`Bearer ${x}`}};else M(_);let Q=B.epoch??await R(G,_);L(`[bridge:repl] CCR v2: worker sessionId=${$} epoch=${Q}${B.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let V=new URL(G);V.pathname=V.pathname.replace(/\/$/,"")+"/worker/events/stream";let K=new z(V,{},$,void 0,E,P),X,J=new W(K,new URL(G),{getAuthHeaders:P,heartbeatIntervalMs:B.heartbeatIntervalMs,heartbeatJitterFraction:B.heartbeatJitterFraction,onEpochMismatch:()=>{L("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{J.close(),K.close(),X?.(4090)}catch(x){L(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${Z(x)}`,{level:"error"})}throw Error("epoch superseded")}});K.setOnEvent((x)=>{J.reportDelivery(x.event_id,"received"),J.reportDelivery(x.event_id,"processed")});let f,Y=!1,q=!1;return{write(x){return J.writeEvent(x)},async writeBatch(x){for(let O of x){if(q)break;await J.writeEvent(O)}},close(){q=!0,J.close(),K.close()},isConnectedStatus(){return Y},getStateLabel(){if(K.isClosedStatus())return"closed";if(K.isConnectedStatus())return Y?"connected":"init";return"connecting"},setOnData(x){K.setOnData(x)},setOnClose(x){X=x,K.setOnClose((O)=>{J.close(),x(O??4092)})},setOnConnect(x){f=x},getLastSequenceNum(){return K.getLastSequenceNum()},droppedBatchCount:0,reportState(x){J.reportState(x)},reportMetadata(x){J.reportMetadata(x)},reportDelivery(x,O){J.reportDelivery(x,O)},flush(){return J.flush()},connect(){if(!B.outboundOnly)K.connect();J.initialize(Q).then(()=>{Y=!0,L(`[bridge:repl] v2 transport ready for writes (epoch=${Q}, sse=${K.isConnectedStatus()?"open":"opening"})`),f?.()},(x)=>{L(`[bridge:repl] CCR v2 initialize failed: ${Z(x)}`,{level:"error"}),J.close(),K.close(),X?.(4091)})}}}class D{_active=!1;_pending=[];get active(){return this._active}get pendingCount(){return this._pending.length}start(){this._active=!0}end(){return this._active=!1,this._pending.splice(0)}enqueue(...B){if(!this._active)return!1;return this._pending.push(...B),!0}drop(){this._active=!1;let B=this._pending.length;return this._pending.length=0,B}deactivate(){this._active=!1}}
2
+ export{I as Cb,k as Db,D as Eb};
@@ -0,0 +1,2 @@
1
+ import{SV as k,TV as f,hW as u}from"./cli-1.1.10-sv5wy20e.mjs";import{_X as C,kY as d}from"./cli-1.1.10-gafedg04.mjs";import{G4 as A,I4 as F}from"./cli-1.1.10-f7dqg4nd.mjs";import{c5 as q,i5 as i}from"./cli-1.1.10-yzpymdrc.mjs";import{Z8 as W,a9 as _,h9 as j,i9 as w,n9 as I}from"./cli-1.1.10-syrhp8d1.mjs";import{Hga as V,Pga as U}from"./cli-1.1.10-m0pdck7q.mjs";import{Hja as M,Ija as v}from"./cli-1.1.10-2wkvf65f.mjs";import{Mka as J,Pka as x,pka as X,qka as R,uka as p}from"./cli-1.1.10-jn6w68wj.mjs";import{kla as P,rla as T}from"./cli-1.1.10-e7wxspgz.mjs";import{Zsa as O}from"./cli-1.1.10-gmf5w0a4.mjs";x();U();F();v();x();T();U();_();I();p();import{randomUUID as E}from"crypto";var h=2000,y=5,S=30000,Y=3,c=new Set([4003]);function D(B){if(typeof B!=="object"||B===null||!("type"in B))return!1;return typeof B.type==="string"}class L{sessionId;orgUuid;getAccessToken;callbacks;ws=null;state="closed";reconnectAttempts=0;sessionNotFoundRetries=0;pingInterval=null;reconnectTimer=null;constructor(B,z,Q,H){this.sessionId=B;this.orgUuid=z;this.getAccessToken=Q;this.callbacks=H}async connect(){if(this.state==="connecting"){J("[SessionsWebSocket] Already connecting");return}this.state="connecting";let z=`${M().BASE_API_URL.replace("https://","wss://")}/v1/sessions/ws/${this.sessionId}/subscribe?organization_uuid=${this.orgUuid}`;J(`[SessionsWebSocket] Connecting to ${z}`);let H={Authorization:`Bearer ${this.getAccessToken()}`,"anthropic-version":"2023-06-01"};if(typeof Bun<"u"){let $=new globalThis.WebSocket(z,{headers:H,proxy:w(z),tls:W()||void 0});this.ws=$,$.addEventListener("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),$.addEventListener("message",(Z)=>{let K=typeof Z.data==="string"?Z.data:String(Z.data);this.handleMessage(K)}),$.addEventListener("error",()=>{let Z=Error("[SessionsWebSocket] WebSocket error");V(Z),this.callbacks.onError?.(Z)}),$.addEventListener("close",(Z)=>{J(`[SessionsWebSocket] Closed: code=${Z.code} reason=${Z.reason}`),this.handleClose(Z.code)}),$.addEventListener("pong",()=>{J("[SessionsWebSocket] Pong received")})}else{let{default:$}=await import("./wrapper-1.1.10-dthrwggp.mjs"),Z=new $(z,{headers:H,agent:j(z),...W()});this.ws=Z,Z.on("open",()=>{J("[SessionsWebSocket] Connection opened, authenticated via headers"),this.state="connected",this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.startPingInterval(),this.callbacks.onConnected?.()}),Z.on("message",(K)=>{this.handleMessage(K.toString())}),Z.on("error",(K)=>{V(Error(`[SessionsWebSocket] Error: ${K.message}`)),this.callbacks.onError?.(K)}),Z.on("close",(K,G)=>{J(`[SessionsWebSocket] Closed: code=${K} reason=${G.toString()}`),this.handleClose(K)}),Z.on("pong",()=>{J("[SessionsWebSocket] Pong received")})}}handleMessage(B){try{let z=R(B);if(D(z))this.callbacks.onMessage(z);else J(`[SessionsWebSocket] Ignoring message type: ${typeof z==="object"&&z!==null&&"type"in z?String(z.type):"unknown"}`)}catch(z){V(Error(`[SessionsWebSocket] Failed to parse message: ${P(z)}`))}}handleClose(B){if(this.stopPingInterval(),this.state==="closed")return;this.ws=null;let z=this.state;if(this.state="closed",c.has(B)){J(`[SessionsWebSocket] Permanent close code ${B}, not reconnecting`),this.callbacks.onClose?.();return}if(B===4001){if(this.sessionNotFoundRetries++,this.sessionNotFoundRetries>Y){J(`[SessionsWebSocket] 4001 retry budget exhausted (${Y}), not reconnecting`),this.callbacks.onClose?.();return}this.scheduleReconnect(h*this.sessionNotFoundRetries,`4001 attempt ${this.sessionNotFoundRetries}/${Y}`);return}if(z==="connected"&&this.reconnectAttempts<y)this.reconnectAttempts++,this.scheduleReconnect(h,`attempt ${this.reconnectAttempts}/${y}`);else J("[SessionsWebSocket] Not reconnecting"),this.callbacks.onClose?.()}scheduleReconnect(B,z){this.callbacks.onReconnecting?.(),J(`[SessionsWebSocket] Scheduling reconnect (${z}) in ${B}ms`),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},B)}startPingInterval(){this.stopPingInterval(),this.pingInterval=setInterval(()=>{if(this.ws&&this.state==="connected")try{this.ws.ping?.()}catch{}},S)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}sendControlResponse(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}J("[SessionsWebSocket] Sending control response"),this.ws.send(X(B))}sendControlRequest(B){if(!this.ws||this.state!=="connected"){V(Error("[SessionsWebSocket] Cannot send: not connected"));return}let z={type:"control_request",request_id:E(),request:B};J(`[SessionsWebSocket] Sending control request: ${B.subtype}`),this.ws.send(X(z))}isConnected(){return this.state==="connected"}close(){if(J("[SessionsWebSocket] Closing connection"),this.state="closed",this.stopPingInterval(),this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.ws)this.ws.close(),this.ws=null}reconnect(){J("[SessionsWebSocket] Force reconnecting"),this.reconnectAttempts=0,this.sessionNotFoundRetries=0,this.close(),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},500)}}function N(B){return B.type!=="control_request"&&B.type!=="control_response"&&B.type!=="control_cancel_request"}class b{config;callbacks;websocket=null;pendingPermissionRequests=new Map;constructor(B,z){this.config=B;this.callbacks=z}connect(){J(`[RemoteSessionManager] Connecting to session ${this.config.sessionId}`);let B={onMessage:(z)=>this.handleMessage(z),onConnected:()=>{J("[RemoteSessionManager] Connected"),this.callbacks.onConnected?.()},onClose:()=>{J("[RemoteSessionManager] Disconnected"),this.callbacks.onDisconnected?.()},onReconnecting:()=>{J("[RemoteSessionManager] Reconnecting"),this.callbacks.onReconnecting?.()},onError:(z)=>{V(z),this.callbacks.onError?.(z)}};this.websocket=new L(this.config.sessionId,this.config.orgUuid,this.config.getAccessToken,B),this.websocket.connect()}handleMessage(B){if(B.type==="control_request"){this.handleControlRequest(B);return}if(B.type==="control_cancel_request"){let{request_id:z}=B,Q=this.pendingPermissionRequests.get(z);J(`[RemoteSessionManager] Permission request cancelled: ${z}`),this.pendingPermissionRequests.delete(z),this.callbacks.onPermissionCancelled?.(z,Q?.tool_use_id);return}if(B.type==="control_response"){J("[RemoteSessionManager] Received control response");return}if(N(B))this.callbacks.onMessage(B)}handleControlRequest(B){let{request_id:z,request:Q}=B;if(Q.subtype==="can_use_tool")J(`[RemoteSessionManager] Permission request for tool: ${Q.tool_name}`),this.pendingPermissionRequests.set(z,Q),this.callbacks.onPermissionRequest(Q,z);else{J(`[RemoteSessionManager] Unsupported control request subtype: ${Q.subtype}`);let H={type:"control_response",response:{subtype:"error",request_id:z,error:`Unsupported control request subtype: ${Q.subtype}`}};this.websocket?.sendControlResponse(H)}}async sendMessage(B,z){J(`[RemoteSessionManager] Sending message to session ${this.config.sessionId}`);let Q=await A(this.config.sessionId,B,z);if(!Q)V(Error(`[RemoteSessionManager] Failed to send message to session ${this.config.sessionId}`));return Q}respondToPermissionRequest(B,z){if(!this.pendingPermissionRequests.get(B)){V(Error(`[RemoteSessionManager] No pending permission request with ID: ${B}`));return}this.pendingPermissionRequests.delete(B);let H={type:"control_response",response:{subtype:"success",request_id:B,response:{behavior:z.behavior,...z.behavior==="allow"?{updatedInput:z.updatedInput}:{message:z.message}}}};J(`[RemoteSessionManager] Sending permission response: ${z.behavior}`),this.websocket?.sendControlResponse(H)}isConnected(){return this.websocket?.isConnected()??!1}cancelSession(){J("[RemoteSessionManager] Sending interrupt signal"),this.websocket?.sendControlRequest({subtype:"interrupt"})}getSessionId(){return this.config.sessionId}disconnect(){J("[RemoteSessionManager] Disconnecting"),this.websocket?.close(),this.websocket=null,this.pendingPermissionRequests.clear()}reconnect(){J("[RemoteSessionManager] Reconnecting WebSocket"),this.websocket?.reconnect()}}function $z(B,z,Q,H=!1,$=!1){return{sessionId:B,getAccessToken:z,orgUuid:Q,hasInitialPrompt:H,viewerOnly:$}}x();U();d();u();function Xz(){let B=C();if(!B?.teamName||!B?.agentName){J("[Reconnection] computeInitialTeamContext: No teammate context set (not a teammate)");return}let{teamName:z,agentId:Q,agentName:H}=B,$=f(z);if(!$){V(Error(`[computeInitialTeamContext] Could not read team file for ${z}`));return}let Z=k(z),K=!Q;return J(`[Reconnection] Computed initial team context for ${K?"leader":`teammate ${H}`} in team ${z}`),{teamName:z,teamFilePath:Z,leadAgentId:$.leadAgentId,selfAgentId:Q,selfAgentName:H,isLeader:K,teammates:{}}}function Wz(B,z,Q){let H=f(z);if(!H){V(Error(`[initializeTeammateContextFromSession] Could not read team file for ${z} (agent: ${Q})`));return}let $=H.members.find((G)=>G.name===Q);if(!$)J(`[Reconnection] Member ${Q} not found in team ${z} - may have been removed`);let Z=$?.agentId,K=k(z);B((G)=>({...G,teamContext:{teamName:z,teamFilePath:K,leadAgentId:H.leadAgentId,selfAgentId:Z,selfAgentName:Q,isLeader:!1,teammates:{}}})),J(`[Reconnection] Initialized agent context from session for ${Q} in team ${z}`)}i();var m={"claude-3-opus":{modelName:"Claude 3 Opus",retirementDates:{firstParty:"January 5, 2026",bedrock:"January 15, 2026",vertex:"January 5, 2026",foundry:"January 5, 2026"}},"claude-3-7-sonnet":{modelName:"Claude 3.7 Sonnet",retirementDates:{firstParty:"February 19, 2026",bedrock:"April 28, 2026",vertex:"May 11, 2026",foundry:"February 19, 2026"}},"claude-3-5-haiku":{modelName:"Claude 3.5 Haiku",retirementDates:{firstParty:"February 19, 2026",bedrock:null,vertex:null,foundry:null}}};function l(B){let z=B.toLowerCase(),Q=q();for(let[H,$]of Object.entries(m)){let Z=$.retirementDates[Q];if(!z.includes(H)||!Z)continue;return{isDeprecated:!0,modelName:$.modelName,retirementDate:Z}}return{isDeprecated:!1}}function Lz(B){if(!B)return null;let z=l(B);if(!z.isDeprecated)return null;return`⚠ ${z.modelName} will be retired on ${z.retirementDate}. Consider switching to a newer model.`}
2
+ export{b as La,$z as Ma,Xz as Na,Wz as Oa,Lz as Pa};
@@ -0,0 +1,25 @@
1
+ import{$J as Jq,FK as Zq,HK as Uq,Jp as a,KJ as b,LJ as R,Lp as Kq,MJ as vq,Mu as s,PJ as p,QJ as S,Qx as e,RJ as zq,Rx as Nq,SJ as Bq,Su as t,TJ as I,UJ as k,Yk as r,Yu as Hq,_k as Wq,aK as Qq,eK as wq,hK as Vq,iB as qq,iK as Oq,jB as Xq,kK as Yq,tR as $q,yK as Pq,zR as yq}from"./cli-1.1.10-hk2c91wp.mjs";import{Hga as h,Pga as Fq}from"./cli-1.1.10-m0pdck7q.mjs";import{Via as n,Xia as Lq}from"./cli-1.1.10-3pch2a3h.mjs";import{dla as y,rla as jq}from"./cli-1.1.10-e7wxspgz.mjs";import{Ysa as M}from"./cli-1.1.10-gmf5w0a4.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 ti,Eq as ui};
@@ -0,0 +1,2 @@
1
+ import{BZ as f}from"./cli-1.1.10-msg7sda2.mjs";import{i4 as p,k4 as c}from"./cli-1.1.10-t8n5jx0z.mjs";import{l4 as M}from"./cli-1.1.10-c67v6p50.mjs";import{Usa as o}from"./cli-1.1.10-gmf5w0a4.mjs";c();var n=o(f(),1),r=o(M(),1),d=r.createContext(void 0);function a(F){let e=n.c(3),{getFpsMetrics:s,children:i}=F,t;if(e[0]!==i||e[1]!==s)t=p(d.Provider,{value:s,children:i}),e[0]=i,e[1]=s,e[2]=t;else t=e[2];return t}function l(){return r.useContext(d)}
2
+ export{a as ob,l as pb};
@@ -0,0 +1,2 @@
1
+ import{Qsa as n}from"./cli-1.1.10-jfmgqmt5.mjs";import{Wsa as r}from"./cli-1.1.10-gmf5w0a4.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
2
+ export{i as f_};
@@ -0,0 +1,2 @@
1
+ import{UX as Xq,YX as wq,aY as vq,bY as c,cY as Sq,kY as Yq}from"./cli-1.1.10-gafedg04.mjs";import{E3 as Nq,x3 as Cq}from"./cli-1.1.10-z0ddrtr1.mjs";import{Hga as p,K$ as Fq,N_ as Oq,O_ as Lq,Pga as jq,eea as z,gea as yq,m$ as xq}from"./cli-1.1.10-m0pdck7q.mjs";import{Oia as R,Qia as Qq,Ria as w,Sia as Vq}from"./cli-1.1.10-nfpy32s8.mjs";import{Mka as G,Pka as Jq,pka as S,qka as j,uka as qq}from"./cli-1.1.10-jn6w68wj.mjs";import{kla as W,lla as v,rla as e}from"./cli-1.1.10-e7wxspgz.mjs";import{Hla as a,ula as s,vla as I,xla as t}from"./cli-1.1.10-49bvng33.mjs";import{apa as i,hna as r,ina as Mq,kra as m,lna as d,uqa as h}from"./cli-1.1.10-f00rps59.mjs";import{Ysa as T,Zsa as Uq}from"./cli-1.1.10-gmf5w0a4.mjs";import{mkdir as Dq,readdir as l,readFile as Zq,unlink as $q,writeFile as u}from"fs/promises";import{join as D}from"path";function _J(q){if(y===q)return;y=q,B()}function WJ(){if(y===void 0)return;y=void 0,B()}function B(){try{Gq.emit()}catch{}}function Kq(q){return D(E(q),bq)}async function g(q){let J=Kq(q);try{let Q=(await Zq(J,"utf-8")).trim(),V=parseInt(Q,10);return isNaN(V)?0:V}catch{return 0}}async function Rq(q,J){let Q=Kq(q);await u(Q,String(J))}function HJ(){if(t(process.env.CLAUDE_CODE_ENABLE_TASKS))return!0;return!i()}async function BJ(q){let J=E(q),Q=await o(q),V;try{V=await z(Q,P);let Y=await Wq(q);if(Y>0){let Z=await g(q);if(Y>Z)await Rq(q,Y)}let X;try{X=await l(J)}catch{X=[]}for(let Z of X)if(Z.endsWith(".json")&&!Z.startsWith(".")){let $=D(J,Z);try{await $q($)}catch{}}B()}finally{if(V)await V()}}async function UJ(q){let J=await f(q),Q=0;for(let V of J){if(V.status!=="completed"||V.metadata?._internal)continue;if(await C(q,V.id,{metadata:{...V.metadata,_internal:!0}}))Q++}return Q}function OJ(){if(process.env.CLAUDE_CODE_TASK_LIST_ID)return process.env.CLAUDE_CODE_TASK_LIST_ID;let q=Xq();if(q)return q.teamName;return c()||y||d()}function _q(q){return q.replace(/[^a-zA-Z0-9_-]/g,"-")}function E(q){return D(s(),"tasks",_q(q))}function A(q,J){return D(E(q),`${_q(J)}.json`)}async function pq(q){let J=E(q);try{await Dq(J,{recursive:!0})}catch{}}async function Wq(q){let J=E(q),Q;try{Q=await l(J)}catch{return 0}let V=0;for(let Y of Q){if(!Y.endsWith(".json"))continue;let X=parseInt(Y.replace(".json",""),10);if(!isNaN(X)&&X>V)V=X}return V}async function cq(q){let[J,Q]=await Promise.all([Wq(q),g(q)]);return Math.max(J,Q)}async function xJ(q,J){let Q=await o(q),V;try{V=await z(Q,P);let Y=await cq(q),X=String(Y+1),Z={id:X,...J},$=A(q,X);return await u($,S(Z,null,2)),B(),X}finally{if(V)await V()}}async function O(q,J){let Q=A(q,J);try{let V=await Zq(Q,"utf-8"),Y=j(V),X=fq().safeParse(Y);if(!X.success)return G(`[Tasks] Task ${J} failed schema validation: ${X.error.message}`),null;return X.data}catch(V){if(v(V)==="ENOENT")return null;return G(`[Tasks] Failed to read task ${J}: ${W(V)}`),p(V),null}}async function Eq(q,J,Q){let V=await O(q,J);if(!V)return null;let Y={...V,...Q,id:J},X=A(q,J);return await u(X,S(Y,null,2)),B(),Y}async function C(q,J,Q){let V=A(q,J);if(!await O(q,J))return null;let X;try{return X=await z(V,P),await Eq(q,J,Q)}finally{await X?.()}}async function CJ(q,J){let Q=A(q,J);try{let V=parseInt(J,10);if(!isNaN(V)){let X=await g(q);if(V>X)await Rq(q,V)}try{await $q(Q)}catch(X){if(v(X)==="ENOENT")return!1;throw X}let Y=await f(q);for(let X of Y){let Z=X.blocks.filter((K)=>K!==J),$=X.blockedBy.filter((K)=>K!==J);if(Z.length!==X.blocks.length||$.length!==X.blockedBy.length)await C(q,X.id,{blocks:Z,blockedBy:$})}return B(),!0}catch{return!1}}async function f(q){let J=E(q),Q;try{Q=await l(J)}catch{return[]}let V=Q.filter((X)=>X.endsWith(".json")).map((X)=>X.replace(".json",""));return(await Promise.all(V.map((X)=>O(q,X)))).filter((X)=>X!==null)}async function vJ(q,J,Q){let[V,Y]=await Promise.all([O(q,J),O(q,Q)]);if(!V||!Y)return!1;if(!V.blocks.includes(Q))await C(q,J,{blocks:[...V.blocks,Q]});if(!Y.blockedBy.includes(J))await C(q,Q,{blockedBy:[...Y.blockedBy,J]});return!0}function uq(q){return D(E(q),".lock")}async function o(q){await pq(q);let J=uq(q);try{await u(J,"",{flag:"wx"})}catch{}return J}async function SJ(q,J,Q,V={}){let Y=A(q,J);if(!await O(q,J))return{success:!1,reason:"task_not_found"};if(V.checkAgentBusy)return hq(q,J,Q);let Z;try{Z=await z(Y,P);let $=await O(q,J);if(!$)return{success:!1,reason:"task_not_found"};if($.owner&&$.owner!==Q)return{success:!1,reason:"already_claimed",task:$};if($.status==="completed")return{success:!1,reason:"already_resolved",task:$};let K=await f(q),U=new Set(K.filter((M)=>M.status!=="completed").map((M)=>M.id)),N=$.blockedBy.filter((M)=>U.has(M));if(N.length>0)return{success:!1,reason:"blocked",task:$,blockedByTasks:N};return{success:!0,task:await Eq(q,J,{owner:Q})}}catch($){return G(`[Tasks] Failed to claim task ${J}: ${W($)}`),p($),{success:!1,reason:"task_not_found"}}finally{if(Z)await Z()}}async function hq(q,J,Q){let V=await o(q),Y;try{Y=await z(V,P);let X=await f(q),Z=X.find((_)=>_.id===J);if(!Z)return{success:!1,reason:"task_not_found"};if(Z.owner&&Z.owner!==Q)return{success:!1,reason:"already_claimed",task:Z};if(Z.status==="completed")return{success:!1,reason:"already_resolved",task:Z};let $=new Set(X.filter((_)=>_.status!=="completed").map((_)=>_.id)),K=Z.blockedBy.filter((_)=>$.has(_));if(K.length>0)return{success:!1,reason:"blocked",task:Z,blockedByTasks:K};let U=X.filter((_)=>_.status!=="completed"&&_.owner===Q&&_.id!==J);if(U.length>0)return{success:!1,reason:"agent_busy",task:Z,busyWithTasks:U.map((_)=>_.id)};return{success:!0,task:await C(q,J,{owner:Q})}}catch(X){return G(`[Tasks] Failed to claim task ${J} with busy check: ${W(X)}`),p(X),{success:!1,reason:"task_not_found"}}finally{if(Y)await Y()}}async function zJ(q,J,Q,V){let X=(await f(q)).filter((K)=>K.status!=="completed"&&(K.owner===J||K.owner===Q));for(let K of X)await C(q,K.id,{owner:void 0,status:"pending"});if(X.length>0)G(`[Tasks] Unassigned ${X.length} task(s) from ${Q}`);let $=`${Q} ${V==="terminated"?"was terminated":"has shut down"}.`;if(X.length>0){let K=X.map((U)=>`#${U.id} "${U.subject}"`).join(", ");$+=` ${X.length} task(s) were unassigned: ${K}. Use TaskList to check availability and TaskUpdate with owner to reassign them to idle teammates.`}return{unassignedTasks:X.map((K)=>({id:K.id,subject:K.subject})),notificationMessage:$}}var Gq,y,EJ,Pq,fq,bq=".highwatermark",P;var Hq=T(()=>{Qq();m();Jq();a();e();Vq();yq();jq();Mq();qq();Yq();wq();Gq=r();EJ=Gq.subscribe;Pq=w(()=>R.enum(["pending","in_progress","completed"])),fq=w(()=>R.object({id:R.string(),subject:R.string(),description:R.string(),activeForm:R.string().optional(),owner:R.string().optional(),status:Pq(),blocks:R.array(R.string()),blockedBy:R.array(R.string()),metadata:R.record(R.string(),R.unknown()).optional()})),P={retries:{retries:30,minTimeout:5,maxTimeout:100}}});function n(q){return q==="tmux"||q==="iterm2"}var Bq=()=>{};import{mkdirSync as Tq,readFileSync as Iq,writeFileSync as lq}from"fs";import{mkdir as gq,readFile as zq,rm as k,writeFile as oq}from"fs/promises";import{join as b}from"path";function Aq(q){return q.replace(/[^a-zA-Z0-9]/g,"-").toLowerCase()}function gJ(q){return q.replace(/@/g,"-")}function L(q){return b(I(),Aq(q))}function F(q){return b(L(q),"config.json")}function H(q){try{let J=Iq(F(q),"utf-8");return j(J)}catch(J){if(v(J)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${q}: ${W(J)}`),null}}async function nq(q){try{let J=await zq(F(q),"utf-8");return j(J)}catch(J){if(v(J)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${q}: ${W(J)}`),null}}function x(q,J){let Q=L(q);Tq(Q,{recursive:!0}),lq(F(q),S(J,null,2))}async function kq(q,J){let Q=L(q);await gq(Q,{recursive:!0}),await oq(F(q),S(J,null,2))}function oJ(q,J){let Q=J.agentId||J.name;if(!Q)return G("[TeammateTool] removeTeammateFromTeamFile called with no identifier"),!1;let V=H(q);if(!V)return G(`[TeammateTool] Cannot remove teammate ${Q}: failed to read team file for "${q}"`),!1;let Y=V.members.length;if(V.members=V.members.filter((X)=>{if(J.agentId&&X.agentId===J.agentId)return!1;if(J.name&&X.name===J.name)return!1;return!0}),V.members.length===Y)return G(`[TeammateTool] Teammate ${Q} not found in team file for "${q}"`),!1;return x(q,V),G(`[TeammateTool] Removed teammate from team file: ${Q}`),!0}function nJ(q,J){let Q=H(q);if(!Q)return!1;let V=Q.hiddenPaneIds??[];if(!V.includes(J))V.push(J),Q.hiddenPaneIds=V,x(q,Q),G(`[TeammateTool] Added ${J} to hidden panes for team ${q}`);return!0}function kJ(q,J){let Q=H(q);if(!Q)return!1;let V=Q.hiddenPaneIds??[],Y=V.indexOf(J);if(Y!==-1)V.splice(Y,1),Q.hiddenPaneIds=V,x(q,Q),G(`[TeammateTool] Removed ${J} from hidden panes for team ${q}`);return!0}function rJ(q,J){let Q=H(q);if(!Q)return!1;let V=Q.members.findIndex((Y)=>Y.tmuxPaneId===J);if(V===-1)return!1;if(Q.members.splice(V,1),Q.hiddenPaneIds){let Y=Q.hiddenPaneIds.indexOf(J);if(Y!==-1)Q.hiddenPaneIds.splice(Y,1)}return x(q,Q),G(`[TeammateTool] Removed member with pane ${J} from team ${q}`),!0}function dJ(q,J){let Q=H(q);if(!Q)return!1;let V=Q.members.findIndex((Y)=>Y.agentId===J);if(V===-1)return!1;return Q.members.splice(V,1),x(q,Q),G(`[TeammateTool] Removed member ${J} from team ${q}`),!0}function rq(q,J,Q){let V=H(q);if(!V)return!1;let Y=V.members.find((Z)=>Z.name===J);if(!Y)return G(`[TeammateTool] Cannot set member mode: member ${J} not found in team ${q}`),!1;if(Y.mode===Q)return!0;let X=V.members.map((Z)=>Z.name===J?{...Z,mode:Q}:Z);return x(q,{...V,members:X}),G(`[TeammateTool] Set member ${J} in team ${q} to mode: ${Q}`),!0}function iJ(q,J){if(!Sq())return;let Q=J??c(),V=vq();if(Q&&V)rq(Q,V,q)}function mJ(q,J){let Q=H(q);if(!Q)return!1;let V=new Map(J.map((Z)=>[Z.memberName,Z.mode])),Y=!1,X=Q.members.map((Z)=>{let $=V.get(Z.name);if($!==void 0&&Z.mode!==$)return Y=!0,{...Z,mode:$};return Z});if(Y)x(q,{...Q,members:X}),G(`[TeammateTool] Set ${J.length} member modes in team ${q}`);return!0}async function sJ(q,J,Q){let V=await nq(q);if(!V){G(`[TeammateTool] Cannot set member active: team ${q} not found`);return}let Y=V.members.find((X)=>X.name===J);if(!Y){G(`[TeammateTool] Cannot set member active: member ${J} not found in team ${q}`);return}if(Y.isActive===Q)return;Y.isActive=Q,await kq(q,V),G(`[TeammateTool] Set member ${J} in team ${q} to ${Q?"active":"idle"}`)}async function dq(q){let J=b(q,".git"),Q=null;try{let Y=(await zq(J,"utf-8")).trim().match(/^gitdir:\s*(.+)$/);if(Y&&Y[1]){let X=Y[1],Z=b(X,"..","..");Q=b(Z,"..")}}catch{}if(Q){let V=await Oq(xq(),["worktree","remove","--force",q],{cwd:Q});if(V.code===0){G(`[TeammateTool] Removed worktree via git: ${q}`);return}if(V.stderr?.includes("not a working tree")){G(`[TeammateTool] Worktree already removed: ${q}`);return}G(`[TeammateTool] git worktree remove failed, falling back to rm: ${V.stderr}`)}try{await k(q,{recursive:!0,force:!0}),G(`[TeammateTool] Removed worktree directory manually: ${q}`)}catch(V){G(`[TeammateTool] Failed to remove worktree ${q}: ${W(V)}`)}}function tJ(q){h().add(q)}function aJ(q){h().delete(q)}async function eJ(){let q=h();if(q.size===0)return;let J=Array.from(q);G(`cleanupSessionTeams: removing ${J.length} orphan team dir(s): ${J.join(", ")}`),await Promise.allSettled(J.map((Q)=>iq(Q))),await Promise.allSettled(J.map((Q)=>mq(Q))),q.clear()}async function iq(q){let J=H(q);if(!J)return;let Q=J.members.filter(($)=>$.name!==Cq&&$.tmuxPaneId&&$.backendType&&n($.backendType));if(Q.length===0)return;let[{ensureBackendsRegistered:V,getBackendByType:Y},{isInsideTmux:X}]=await Promise.all([import("./registry-1.1.10-n9xv1qjw.mjs"),import("./detection-1.1.10-ccdhhprp.mjs")]);await V();let Z=!await X();await Promise.allSettled(Q.map(async($)=>{if(!$.tmuxPaneId||!$.backendType||!n($.backendType))return;let K=await Y($.backendType).killPane($.tmuxPaneId,Z);G(`cleanupSessionTeams: killPane ${$.name} (${$.backendType} ${$.tmuxPaneId}) → ${K}`)}))}async function mq(q){let J=Aq(q),Q=H(q),V=[];if(Q){for(let Z of Q.members)if(Z.worktreePath)V.push(Z.worktreePath)}for(let Z of V)await dq(Z);let Y=L(q);try{await k(Y,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up team directory: ${Y}`)}catch(Z){G(`[TeammateTool] Failed to clean up team directory ${Y}: ${W(Z)}`)}let X=E(J);try{await k(X,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up tasks directory: ${X}`),B()}catch(Z){G(`[TeammateTool] Failed to clean up tasks directory ${X}: ${W(Z)}`)}}var lJ;var sq=T(()=>{Qq();m();Jq();a();e();Lq();Fq();Vq();qq();Hq();Yq();Bq();Nq();lJ=w(()=>R.strictObject({operation:R.enum(["spawnTeam","cleanup"]).describe("Operation: spawnTeam to create a team, cleanup to remove team and task directories."),agent_type:R.string().optional().describe('Type/role of the team lead (e.g., "researcher", "test-runner"). Used for team file and inter-agent coordination.'),team_name:R.string().optional().describe("Name for the new team to create (required for spawnTeam)."),description:R.string().optional().describe("Team description/purpose (only used with spawnTeam).")}))});
2
+ export{_J as sV,WJ as tV,EJ as uV,Pq as vV,HJ as wV,BJ as xV,UJ as yV,OJ as zV,_q as AV,E as BV,pq as CV,xJ as DV,O as EV,C as FV,CJ as GV,f as HV,vJ as IV,SJ as JV,zJ as KV,Hq as LV,n as MV,Bq as NV,lJ as OV,Aq as PV,gJ as QV,L as RV,F as SV,H as TV,nq as UV,kq as VV,oJ as WV,nJ as XV,kJ as YV,rJ as ZV,dJ as _V,rq as $V,iJ as aW,mJ as bW,sJ as cW,tJ as dW,aJ as eW,eJ as fW,mq as gW,sq as hW};
@@ -0,0 +1,12 @@
1
+ import{r9 as D}from"./cli-1.1.10-910qbqn7.mjs";import{Cka as JG,Mka as W,Pka as a,yka as L}from"./cli-1.1.10-jn6w68wj.mjs";import{Hla as GG,wla as c,xla as jG}from"./cli-1.1.10-49bvng33.mjs";import{Jra as U,Kra as g}from"./cli-1.1.10-j20txpzn.mjs";import{esa as H,wsa as RG}from"./cli-1.1.10-6m1jpn0s.mjs";import{Dsa as wG}from"./cli-1.1.10-rgpghq5k.mjs";import{Usa as WG,Ysa as j,Zsa as e}from"./cli-1.1.10-gmf5w0a4.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.1.10-yvr6d150.mjs"),import("./index-1.1.10-vk9vb3b3.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 W8,p as X8,F as Y8,gG as Z8,aG as _8,pG as $8,KG as a9,MJ as b9,HJ as c9,OG as d9,I as e9,h as f9,qJ as g9,jJ as h9,UJ as i9,_J as j9,FJ as k9,NJ as l9,TJ as m9,vG as n9};