@claudiolabs/claudin 1.0.12 → 1.0.13

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 (910) hide show
  1. package/dist/chunks/AgentTool-1.0.13-6b06g673.mjs +1 -0
  2. package/dist/chunks/App-1.0.13-ka050dp3.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.0.13-f6p2r5kq.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.0.13-ghffkhts.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.0.13-5b244jsj.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.0.13-eqq7qkpy.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.13-5279tcga.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.0.13-gwgar56n.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.0.13-2jaehz54.mjs +7 -0
  10. package/dist/chunks/Doctor-1.0.13-t887gwxz.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.0.13-85gxb6k8.mjs +6 -0
  12. package/dist/chunks/Grove-1.0.13-hdw88war.mjs +1 -0
  13. package/dist/chunks/ITermBackend-1.0.13-m0d78jq0.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.0.13-4z7zd6n8.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.0.13-6xc5sc8a.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.0.13-hhrgw5xc.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.0.13-byv83gyv.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.0.13-gt6ntzcv.mjs +1 -0
  19. package/dist/chunks/REPL-1.0.13-wjxj6xgk.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.0.13-tx1ek47f.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.0.13-4j2e4s72.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.0.13-1rpjcxph.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.0.13-5fgav722.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.0.13-gy4sr83e.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.0.13-t98nfbxk.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.0.13-n5wg1rcd.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.0.13-xdkp37x2.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.0.13-v0kphhga.mjs +1 -0
  29. package/dist/chunks/add-dir-1.0.13-7v5rg7km.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.0.13-k5wckd5y.mjs +1 -0
  31. package/dist/chunks/agents-1.0.13-ngbk16a3.mjs +3 -0
  32. package/dist/chunks/agents-1.0.13-tcqasxmv.mjs +110 -0
  33. package/dist/chunks/api-1.0.13-bvwz0wzt.mjs +1 -0
  34. package/dist/chunks/asciicast-1.0.13-j8ad859r.mjs +1 -0
  35. package/dist/chunks/assistant-1.0.13-91499j0p.mjs +1 -0
  36. package/dist/chunks/auth-1.0.13-p0qrnz2b.mjs +1 -0
  37. package/dist/chunks/auth-1.0.13-s1vedchg.mjs +1 -0
  38. package/dist/chunks/autoMode-1.0.13-61pvskhh.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.0.13-fnpzj0bw.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.0.13-92x690ww.mjs +1 -0
  41. package/dist/chunks/branch-1.0.13-encr40nd.mjs +4 -0
  42. package/dist/chunks/bridge-1.0.13-xfcd961b.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.0.13-m2jyf3zk.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.0.13-2chm7y0g.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.0.13-d64q1ebx.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.0.13-npck2cd4.mjs +1 -0
  47. package/dist/chunks/btw-1.0.13-55x872ns.mjs +1 -0
  48. package/dist/chunks/buddy-1.0.13-9dmgywzm.mjs +3 -0
  49. package/dist/chunks/cacache-1.0.13-3c5hrrs4.mjs +1 -0
  50. package/dist/chunks/cache-probe-1.0.13-n8g8y16c.mjs +21 -0
  51. package/dist/chunks/cacheStats-1.0.13-2kyncvct.mjs +4 -0
  52. package/dist/chunks/caches-1.0.13-md3zkabd.mjs +1 -0
  53. package/dist/chunks/claudeDesktop-1.0.13-crk87hee.mjs +1 -0
  54. package/dist/chunks/claudemd-1.0.13-y42xe571.mjs +1 -0
  55. package/dist/chunks/clear-1.0.13-g8a3zjew.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.0.13-4k4snh0r.mjs +1 -0
  57. package/dist/chunks/cli-1.0.13-01n6gr4q.mjs +2 -0
  58. package/dist/chunks/cli-1.0.13-0357cnwe.mjs +2 -0
  59. package/dist/chunks/cli-1.0.13-14c24kge.mjs +2 -0
  60. package/dist/chunks/cli-1.0.13-19k4k5jx.mjs +2 -0
  61. package/dist/chunks/cli-1.0.13-1dk8e4ny.mjs +3 -0
  62. package/dist/chunks/cli-1.0.13-1hcywhe5.mjs +2 -0
  63. package/dist/chunks/cli-1.0.13-1hdbaf71.mjs +3 -0
  64. package/dist/chunks/cli-1.0.13-1qbvvc2e.mjs +4 -0
  65. package/dist/chunks/cli-1.0.13-23ev2ept.mjs +45 -0
  66. package/dist/chunks/cli-1.0.13-29x94tf7.mjs +2 -0
  67. package/dist/chunks/cli-1.0.13-2x789qav.mjs +2 -0
  68. package/dist/chunks/cli-1.0.13-2xpprn71.mjs +1 -0
  69. package/dist/chunks/cli-1.0.13-2z8q1mtz.mjs +3 -0
  70. package/dist/chunks/cli-1.0.13-36yeyd1r.mjs +18 -0
  71. package/dist/chunks/cli-1.0.13-3767t4yj.mjs +4 -0
  72. package/dist/chunks/cli-1.0.13-3c13b00m.mjs +2 -0
  73. package/dist/chunks/cli-1.0.13-3dmmr756.mjs +2 -0
  74. package/dist/chunks/cli-1.0.13-3essvqs1.mjs +2 -0
  75. package/dist/chunks/cli-1.0.13-3f0zqjp8.mjs +2 -0
  76. package/dist/chunks/cli-1.0.13-3fs84evm.mjs +2 -0
  77. package/dist/chunks/cli-1.0.13-3pspajgg.mjs +15 -0
  78. package/dist/chunks/cli-1.0.13-3rqmqts3.mjs +2 -0
  79. package/dist/chunks/cli-1.0.13-449f1p6g.mjs +2 -0
  80. package/dist/chunks/cli-1.0.13-466jbd1q.mjs +2 -0
  81. package/dist/chunks/cli-1.0.13-4dp5a597.mjs +6 -0
  82. package/dist/chunks/cli-1.0.13-4x3mr6wk.mjs +2 -0
  83. package/dist/chunks/cli-1.0.13-57993qn6.mjs +2 -0
  84. package/dist/chunks/cli-1.0.13-57ez593b.mjs +3 -0
  85. package/dist/chunks/cli-1.0.13-5g7rhqvq.mjs +4 -0
  86. package/dist/chunks/cli-1.0.13-5keyjg3e.mjs +58 -0
  87. package/dist/chunks/cli-1.0.13-5m2br5vf.mjs +2 -0
  88. package/dist/chunks/cli-1.0.13-5sc2h2hm.mjs +2 -0
  89. package/dist/chunks/cli-1.0.13-5sq4jbf1.mjs +2 -0
  90. package/dist/chunks/cli-1.0.13-696y87my.mjs +18 -0
  91. package/dist/chunks/cli-1.0.13-6b6kn6sd.mjs +2 -0
  92. package/dist/chunks/cli-1.0.13-6thbqr6g.mjs +2 -0
  93. package/dist/chunks/cli-1.0.13-6vb140br.mjs +25 -0
  94. package/dist/chunks/cli-1.0.13-6w1rqgrf.mjs +2 -0
  95. package/dist/chunks/cli-1.0.13-6xc8qzyr.mjs +2 -0
  96. package/dist/chunks/cli-1.0.13-6xkw8tq6.mjs +2 -0
  97. package/dist/chunks/cli-1.0.13-7kg0qv18.mjs +2 -0
  98. package/dist/chunks/cli-1.0.13-7nmrp6gh.mjs +2 -0
  99. package/dist/chunks/cli-1.0.13-7rg014zx.mjs +5 -0
  100. package/dist/chunks/cli-1.0.13-7xfra4by.mjs +2 -0
  101. package/dist/chunks/cli-1.0.13-80pk1w5c.mjs +2 -0
  102. package/dist/chunks/cli-1.0.13-81s2z4sy.mjs +2 -0
  103. package/dist/chunks/cli-1.0.13-83vckpyr.mjs +6 -0
  104. package/dist/chunks/cli-1.0.13-8s33s84f.mjs +2 -0
  105. package/dist/chunks/cli-1.0.13-93twxc7q.mjs +2 -0
  106. package/dist/chunks/cli-1.0.13-98a94f4b.mjs +2 -0
  107. package/dist/chunks/cli-1.0.13-9ax4vv5d.mjs +2 -0
  108. package/dist/chunks/cli-1.0.13-9bh8f53y.mjs +9 -0
  109. package/dist/chunks/cli-1.0.13-9t0q538w.mjs +25 -0
  110. package/dist/chunks/cli-1.0.13-a2j673qk.mjs +2 -0
  111. package/dist/chunks/cli-1.0.13-a5641ktm.mjs +2 -0
  112. package/dist/chunks/cli-1.0.13-a77ea1ga.mjs +2 -0
  113. package/dist/chunks/cli-1.0.13-a8t9066b.mjs +2 -0
  114. package/dist/chunks/cli-1.0.13-afdk25h0.mjs +2 -0
  115. package/dist/chunks/cli-1.0.13-avxss6zg.mjs +9 -0
  116. package/dist/chunks/cli-1.0.13-bj2neb84.mjs +2 -0
  117. package/dist/chunks/cli-1.0.13-bs0esgv1.mjs +2 -0
  118. package/dist/chunks/cli-1.0.13-byhjhrrg.mjs +15 -0
  119. package/dist/chunks/cli-1.0.13-cm3q208z.mjs +2 -0
  120. package/dist/chunks/cli-1.0.13-cwce8b7b.mjs +34 -0
  121. package/dist/chunks/cli-1.0.13-d016ffc7.mjs +3 -0
  122. package/dist/chunks/cli-1.0.13-d4zr1yqd.mjs +2 -0
  123. package/dist/chunks/cli-1.0.13-d7kr7nkk.mjs +2 -0
  124. package/dist/chunks/cli-1.0.13-dg21ms7f.mjs +2 -0
  125. package/dist/chunks/cli-1.0.13-dwp60tja.mjs +2 -0
  126. package/dist/chunks/cli-1.0.13-e19bb64d.mjs +4 -0
  127. package/dist/chunks/cli-1.0.13-e1m0dx6a.mjs +2 -0
  128. package/dist/chunks/cli-1.0.13-e3ca1xwv.mjs +2 -0
  129. package/dist/chunks/cli-1.0.13-e464ab16.mjs +2 -0
  130. package/dist/chunks/cli-1.0.13-e8p0r9r9.mjs +2 -0
  131. package/dist/chunks/cli-1.0.13-e9q9245e.mjs +2 -0
  132. package/dist/chunks/cli-1.0.13-ecv0stcf.mjs +2 -0
  133. package/dist/chunks/cli-1.0.13-ey9smtb0.mjs +3 -0
  134. package/dist/chunks/cli-1.0.13-f38bh25k.mjs +12 -0
  135. package/dist/chunks/cli-1.0.13-f4dfekwp.mjs +133 -0
  136. package/dist/chunks/cli-1.0.13-fb695nhr.mjs +67 -0
  137. package/dist/chunks/cli-1.0.13-fjwhbyeh.mjs +2 -0
  138. package/dist/chunks/cli-1.0.13-fpwws3z2.mjs +2 -0
  139. package/dist/chunks/cli-1.0.13-frs40s6h.mjs +2 -0
  140. package/dist/chunks/cli-1.0.13-fsmjqwpj.mjs +2 -0
  141. package/dist/chunks/cli-1.0.13-fta82vnx.mjs +2 -0
  142. package/dist/chunks/cli-1.0.13-g1rr0zfh.mjs +8 -0
  143. package/dist/chunks/cli-1.0.13-g7daabde.mjs +3 -0
  144. package/dist/chunks/cli-1.0.13-gd9e7w43.mjs +2 -0
  145. package/dist/chunks/cli-1.0.13-gsz0cygn.mjs +2 -0
  146. package/dist/chunks/cli-1.0.13-h5mwwv8w.mjs +16 -0
  147. package/dist/chunks/cli-1.0.13-hbcgx6rs.mjs +2 -0
  148. package/dist/chunks/cli-1.0.13-j0m03dqz.mjs +39 -0
  149. package/dist/chunks/cli-1.0.13-j3gww2v8.mjs +2 -0
  150. package/dist/chunks/cli-1.0.13-jdxaky02.mjs +12 -0
  151. package/dist/chunks/cli-1.0.13-jkahzkac.mjs +12 -0
  152. package/dist/chunks/cli-1.0.13-jrjz42t8.mjs +2 -0
  153. package/dist/chunks/cli-1.0.13-jsezewz5.mjs +2 -0
  154. package/dist/chunks/cli-1.0.13-jxe94sbj.mjs +2 -0
  155. package/dist/chunks/cli-1.0.13-k4znag0a.mjs +2 -0
  156. package/dist/chunks/cli-1.0.13-k71bq854.mjs +2 -0
  157. package/dist/chunks/cli-1.0.13-k8vrp1kw.mjs +2 -0
  158. package/dist/chunks/cli-1.0.13-kc1q3k9n.mjs +2 -0
  159. package/dist/chunks/cli-1.0.13-kg25kqz0.mjs +12 -0
  160. package/dist/chunks/cli-1.0.13-kmmkpfh0.mjs +2 -0
  161. package/dist/chunks/cli-1.0.13-knb8ctbq.mjs +3 -0
  162. package/dist/chunks/cli-1.0.13-kpqaz90n.mjs +7 -0
  163. package/dist/chunks/cli-1.0.13-kq0mvqax.mjs +2 -0
  164. package/dist/chunks/cli-1.0.13-kr3d94dn.mjs +5495 -0
  165. package/dist/chunks/cli-1.0.13-m5hkpjvs.mjs +2 -0
  166. package/dist/chunks/cli-1.0.13-mazxedqg.mjs +4 -0
  167. package/dist/chunks/cli-1.0.13-mtnc53tx.mjs +2 -0
  168. package/dist/chunks/cli-1.0.13-mv57kk3c.mjs +59 -0
  169. package/dist/chunks/cli-1.0.13-n4fsyme7.mjs +2 -0
  170. package/dist/chunks/cli-1.0.13-ndthc14d.mjs +2 -0
  171. package/dist/chunks/cli-1.0.13-nqw7f2pt.mjs +2 -0
  172. package/dist/chunks/cli-1.0.13-ns8m0h8r.mjs +15 -0
  173. package/dist/chunks/cli-1.0.13-p1nsb8ay.mjs +202 -0
  174. package/dist/chunks/cli-1.0.13-p43t5py0.mjs +2 -0
  175. package/dist/chunks/cli-1.0.13-p7b51har.mjs +2 -0
  176. package/dist/chunks/cli-1.0.13-pajjrc2x.mjs +2 -0
  177. package/dist/chunks/cli-1.0.13-pf0ztxpx.mjs +6 -0
  178. package/dist/chunks/cli-1.0.13-ppdtae6a.mjs +2 -0
  179. package/dist/chunks/cli-1.0.13-pwfpt641.mjs +2 -0
  180. package/dist/chunks/cli-1.0.13-q03bdpb3.mjs +17 -0
  181. package/dist/chunks/cli-1.0.13-q40za40w.mjs +50 -0
  182. package/dist/chunks/cli-1.0.13-qpnp3w6h.mjs +2 -0
  183. package/dist/chunks/cli-1.0.13-qx079tft.mjs +2 -0
  184. package/dist/chunks/cli-1.0.13-qxebhem2.mjs +2 -0
  185. package/dist/chunks/cli-1.0.13-r6v8d7e7.mjs +2 -0
  186. package/dist/chunks/cli-1.0.13-r9nmkthw.mjs +2 -0
  187. package/dist/chunks/cli-1.0.13-rcrh6wfx.mjs +4 -0
  188. package/dist/chunks/cli-1.0.13-rgk2vrkz.mjs +2 -0
  189. package/dist/chunks/cli-1.0.13-rhptvh17.mjs +2 -0
  190. package/dist/chunks/cli-1.0.13-rxd329nn.mjs +24 -0
  191. package/dist/chunks/cli-1.0.13-ry9nsg8a.mjs +2 -0
  192. package/dist/chunks/cli-1.0.13-ryajgbr3.mjs +2 -0
  193. package/dist/chunks/cli-1.0.13-s15merj9.mjs +2 -0
  194. package/dist/chunks/cli-1.0.13-s16wgevn.mjs +2 -0
  195. package/dist/chunks/cli-1.0.13-s2czjfzp.mjs +2 -0
  196. package/dist/chunks/cli-1.0.13-s2sd6xfc.mjs +24 -0
  197. package/dist/chunks/cli-1.0.13-s5bfzdbk.mjs +2 -0
  198. package/dist/chunks/cli-1.0.13-sg6bkxg3.mjs +20 -0
  199. package/dist/chunks/cli-1.0.13-shrh1g4z.mjs +2 -0
  200. package/dist/chunks/cli-1.0.13-sj8rg9wk.mjs +24 -0
  201. package/dist/chunks/cli-1.0.13-smrxt9dh.mjs +2 -0
  202. package/dist/chunks/cli-1.0.13-smtbj9fm.mjs +2 -0
  203. package/dist/chunks/cli-1.0.13-sy93t0xx.mjs +2 -0
  204. package/dist/chunks/cli-1.0.13-t1z10ay5.mjs +2 -0
  205. package/dist/chunks/cli-1.0.13-t9wrrtrh.mjs +2 -0
  206. package/dist/chunks/cli-1.0.13-tfd5mr15.mjs +17 -0
  207. package/dist/chunks/cli-1.0.13-thxvtvt4.mjs +2 -0
  208. package/dist/chunks/cli-1.0.13-tmfvcmn3.mjs +2 -0
  209. package/dist/chunks/cli-1.0.13-tnq7z8s5.mjs +3 -0
  210. package/dist/chunks/cli-1.0.13-tp2w17kc.mjs +2 -0
  211. package/dist/chunks/cli-1.0.13-tq5m4f65.mjs +2 -0
  212. package/dist/chunks/cli-1.0.13-tr0fe3hn.mjs +2 -0
  213. package/dist/chunks/cli-1.0.13-trkevtw9.mjs +2 -0
  214. package/dist/chunks/cli-1.0.13-tyhtztew.mjs +2 -0
  215. package/dist/chunks/cli-1.0.13-v1tn9wpw.mjs +21 -0
  216. package/dist/chunks/cli-1.0.13-v38n7n4p.mjs +2 -0
  217. package/dist/chunks/cli-1.0.13-v4annnm3.mjs +2 -0
  218. package/dist/chunks/cli-1.0.13-v5gjxk3n.mjs +4 -0
  219. package/dist/chunks/cli-1.0.13-v7eb8n71.mjs +133 -0
  220. package/dist/chunks/cli-1.0.13-v8tce7qz.mjs +2 -0
  221. package/dist/chunks/cli-1.0.13-vb85p8we.mjs +2 -0
  222. package/dist/chunks/cli-1.0.13-vbby2x4m.mjs +2 -0
  223. package/dist/chunks/cli-1.0.13-vd01re4x.mjs +2 -0
  224. package/dist/chunks/cli-1.0.13-vp1h8f42.mjs +2 -0
  225. package/dist/chunks/cli-1.0.13-vs4d56js.mjs +2 -0
  226. package/dist/chunks/cli-1.0.13-vv5mtvhr.mjs +2 -0
  227. package/dist/chunks/cli-1.0.13-vvtdrd6j.mjs +5 -0
  228. package/dist/chunks/cli-1.0.13-vwmq6bde.mjs +2 -0
  229. package/dist/chunks/cli-1.0.13-w5jash5n.mjs +2 -0
  230. package/dist/chunks/cli-1.0.13-w7jh58qt.mjs +2 -0
  231. package/dist/chunks/cli-1.0.13-w8wwn19j.mjs +2 -0
  232. package/dist/chunks/cli-1.0.13-wmc6ft2f.mjs +6 -0
  233. package/dist/chunks/cli-1.0.13-wrcxv50n.mjs +2 -0
  234. package/dist/chunks/cli-1.0.13-wsk4823v.mjs +2 -0
  235. package/dist/chunks/cli-1.0.13-x4xwa6y3.mjs +4 -0
  236. package/dist/chunks/cli-1.0.13-x8j9z15q.mjs +3 -0
  237. package/dist/chunks/cli-1.0.13-xajnmhak.mjs +2 -0
  238. package/dist/chunks/cli-1.0.13-xg86t5j7.mjs +2 -0
  239. package/dist/chunks/cli-1.0.13-xpc2m6vc.mjs +2 -0
  240. package/dist/chunks/cli-1.0.13-xr55511t.mjs +2 -0
  241. package/dist/chunks/cli-1.0.13-xsvz53d6.mjs +42 -0
  242. package/dist/chunks/cli-1.0.13-y1kzayxj.mjs +18 -0
  243. package/dist/chunks/cli-1.0.13-y20sjx5k.mjs +6 -0
  244. package/dist/chunks/cli-1.0.13-y6y32j2s.mjs +2 -0
  245. package/dist/chunks/cli-1.0.13-y74xv34r.mjs +4 -0
  246. package/dist/chunks/cli-1.0.13-yb1smx77.mjs +2 -0
  247. package/dist/chunks/cli-1.0.13-ymvtrfgn.mjs +4 -0
  248. package/dist/chunks/cli-1.0.13-yq7961x3.mjs +4 -0
  249. package/dist/chunks/cli-1.0.13-yr590qbp.mjs +3 -0
  250. package/dist/chunks/cli-1.0.13-z72v7rwr.mjs +2 -0
  251. package/dist/chunks/cli-1.0.13-z8vs7cc1.mjs +2 -0
  252. package/dist/chunks/cli-1.0.13-zgdatr3s.mjs +3 -0
  253. package/dist/chunks/cli-1.0.13-zmyb9smk.mjs +2 -0
  254. package/dist/chunks/cli-1.0.13-zp9tvwgh.mjs +2 -0
  255. package/dist/chunks/cli-1.0.13-zt4bek0j.mjs +2 -0
  256. package/dist/chunks/cli-1.0.13-ztqnt3qp.mjs +2 -0
  257. package/dist/chunks/cli-1.0.13-zvemnxrj.mjs +2 -0
  258. package/dist/chunks/client-1.0.13-jj0v4n27.mjs +1 -0
  259. package/dist/chunks/color-1.0.13-3v7rvzdv.mjs +1 -0
  260. package/dist/chunks/compact-1.0.13-dbdbjtdk.mjs +3 -0
  261. package/dist/chunks/config-1.0.13-3qrt3cgm.mjs +1 -0
  262. package/dist/chunks/config-1.0.13-r3hkdrhb.mjs +1 -0
  263. package/dist/chunks/constants-1.0.13-rnw6yks8.mjs +1 -0
  264. package/dist/chunks/context-1.0.13-vzh7rmzp.mjs +1 -0
  265. package/dist/chunks/context-noninteractive-1.0.13-pch5w54p.mjs +1 -0
  266. package/dist/chunks/conversation-1.0.13-deetqyn0.mjs +1 -0
  267. package/dist/chunks/copilotHeaders-1.0.13-nt9wrgp5.mjs +1 -0
  268. package/dist/chunks/copy-1.0.13-hzdas7e3.mjs +9 -0
  269. package/dist/chunks/cost-1.0.13-6nzzt5ne.mjs +1 -0
  270. package/dist/chunks/createSSHSession-1.0.13-vy3mcz3k.mjs +1 -0
  271. package/dist/chunks/createSession-1.0.13-9f9eevz2.mjs +1 -0
  272. package/dist/chunks/debug-1.0.13-f3k3n0w9.mjs +1 -0
  273. package/dist/chunks/defaultActionDeps-1.0.13-cnw858jb.mjs +1446 -0
  274. package/dist/chunks/desktop-1.0.13-e005km58.mjs +1 -0
  275. package/dist/chunks/detectRepository-1.0.13-rjbmyf6j.mjs +1 -0
  276. package/dist/chunks/detection-1.0.13-fmg4e9cn.mjs +1 -0
  277. package/dist/chunks/diff-1.0.13-9jypv082.mjs +1 -0
  278. package/dist/chunks/doctor-1.0.13-8tdcwyds.mjs +1 -0
  279. package/dist/chunks/doctorDiagnostic-1.0.13-01b5f1qr.mjs +1 -0
  280. package/dist/chunks/earlyInput-1.0.13-qdaqzn87.mjs +1 -0
  281. package/dist/chunks/effort-1.0.13-xfj9x3jk.mjs +10 -0
  282. package/dist/chunks/engine-1.0.13-8zd1smqp.mjs +1 -0
  283. package/dist/chunks/envLessBridgeConfig-1.0.13-3pv6cjbw.mjs +1 -0
  284. package/dist/chunks/envUtils-1.0.13-vcp6531a.mjs +1 -0
  285. package/dist/chunks/environmentSelection-1.0.13-jeanv46d.mjs +1 -0
  286. package/dist/chunks/environments-1.0.13-w5a33d52.mjs +1 -0
  287. package/dist/chunks/errors-1.0.13-wrs4k863.mjs +1 -0
  288. package/dist/chunks/exampleCommands-1.0.13-f3v5223v.mjs +1 -0
  289. package/dist/chunks/execFileNoThrow-1.0.13-5qgqf50q.mjs +1 -0
  290. package/dist/chunks/exit-1.0.13-dkp2e02s.mjs +1 -0
  291. package/dist/chunks/explorer-1.0.13-0c0437ts.mjs +1 -0
  292. package/dist/chunks/export-1.0.13-cbatvd1c.mjs +2 -0
  293. package/dist/chunks/extra-usage-1.0.13-tm9dn26m.mjs +1 -0
  294. package/dist/chunks/extra-usage-noninteractive-1.0.13-tyfdd6zc.mjs +1 -0
  295. package/dist/chunks/fast-1.0.13-m2jj5axh.mjs +1 -0
  296. package/dist/chunks/feedback-1.0.13-3rc5sphe.mjs +14 -0
  297. package/dist/chunks/firstPartyEventLogger-1.0.13-9cqvyyy3.mjs +1 -0
  298. package/dist/chunks/git-1.0.13-9196pgzv.mjs +1 -0
  299. package/dist/chunks/githubModelsCredentials-1.0.13-h8fyv4hh.mjs +1 -0
  300. package/dist/chunks/goal-1.0.13-cty957vz.mjs +4 -0
  301. package/dist/chunks/grove-1.0.13-jew4jmvf.mjs +1 -0
  302. package/dist/chunks/growthbook-1.0.13-q8xh656p.mjs +1 -0
  303. package/dist/chunks/headless-1.0.13-h0c3ze3f.mjs +2 -0
  304. package/dist/chunks/heapdump-1.0.13-ndzc9093.mjs +6 -0
  305. package/dist/chunks/help-1.0.13-em333cwb.mjs +1 -0
  306. package/dist/chunks/hookChains-1.0.13-ytcm9p3p.mjs +3 -0
  307. package/dist/chunks/hooks-1.0.13-43xm69rv.mjs +79 -0
  308. package/dist/chunks/hooks-1.0.13-xa6gpzvq.mjs +1 -0
  309. package/dist/chunks/ide-1.0.13-4z1afk08.mjs +3 -0
  310. package/dist/chunks/image-processor-napi-1.0.13-e53cs6qw.mjs +1 -0
  311. package/dist/chunks/inboundAttachments-1.0.13-968zpe6v.mjs +1 -0
  312. package/dist/chunks/index-1.0.13-361h9v63.mjs +1 -0
  313. package/dist/chunks/index-1.0.13-4p1eb2pq.mjs +1 -0
  314. package/dist/chunks/index-1.0.13-55th4hhq.mjs +1 -0
  315. package/dist/chunks/index-1.0.13-55vgc9cr.mjs +1 -0
  316. package/dist/chunks/index-1.0.13-5gqy8x3m.mjs +1 -0
  317. package/dist/chunks/index-1.0.13-792fhv61.mjs +1 -0
  318. package/dist/chunks/index-1.0.13-8k0904bs.mjs +1 -0
  319. package/dist/chunks/index-1.0.13-ace8202d.mjs +2 -0
  320. package/dist/chunks/index-1.0.13-e20f9w6f.mjs +1 -0
  321. package/dist/chunks/index-1.0.13-efh2qbe0.mjs +1 -0
  322. package/dist/chunks/index-1.0.13-ej84k860.mjs +1 -0
  323. package/dist/chunks/index-1.0.13-fnd36467.mjs +2 -0
  324. package/dist/chunks/index-1.0.13-hdvj3xyt.mjs +30 -0
  325. package/dist/chunks/index-1.0.13-hgbqf3v1.mjs +1 -0
  326. package/dist/chunks/index-1.0.13-j0146ntq.mjs +1 -0
  327. package/dist/chunks/index-1.0.13-jackh0p4.mjs +17 -0
  328. package/dist/chunks/index-1.0.13-kfmh713v.mjs +9 -0
  329. package/dist/chunks/index-1.0.13-mrvd3mn4.mjs +1 -0
  330. package/dist/chunks/index-1.0.13-rrm8s54m.mjs +1 -0
  331. package/dist/chunks/index-1.0.13-vgmxqgw6.mjs +1 -0
  332. package/dist/chunks/index-1.0.13-xgbfdr5p.mjs +5 -0
  333. package/dist/chunks/index-1.0.13-y5wahjbd.mjs +9 -0
  334. package/dist/chunks/index-1.0.13-ykat42gv.mjs +1 -0
  335. package/dist/chunks/init-1.0.13-pyw980be.mjs +1 -0
  336. package/dist/chunks/initReplBridge-1.0.13-8pye5m3y.mjs +1 -0
  337. package/dist/chunks/ink-1.0.13-4ks3vqg1.mjs +1 -0
  338. package/dist/chunks/insights-1.0.13-8p04qt4e.mjs +870 -0
  339. package/dist/chunks/install-1.0.13-afmkvg4q.mjs +1 -0
  340. package/dist/chunks/install-github-app-1.0.13-nybxp9y9.mjs +149 -0
  341. package/dist/chunks/install-slack-app-1.0.13-ghycqjsr.mjs +1 -0
  342. package/dist/chunks/instrumentation-1.0.13-35rtw7fn.mjs +1 -0
  343. package/dist/chunks/interactiveHelpers-1.0.13-16ydy7kk.mjs +1 -0
  344. package/dist/chunks/keybindings-1.0.13-nt63s9bg.mjs +2 -0
  345. package/dist/chunks/knowledge-1.0.13-g9wcredx.mjs +2 -0
  346. package/dist/chunks/latestVersionCache-1.0.13-783kmyc1.mjs +1 -0
  347. package/dist/chunks/loadAgentsDir-1.0.13-btkcbfn1.mjs +1 -0
  348. package/dist/chunks/loadPluginHooks-1.0.13-6cxg0hz0.mjs +1 -0
  349. package/dist/chunks/loadPluginHooks-1.0.13-tf6npdgj.mjs +1 -0
  350. package/dist/chunks/log-1.0.13-3sscdqcx.mjs +1 -0
  351. package/dist/chunks/main-1.0.13-h958ytkv.mjs +1 -0
  352. package/dist/chunks/managedEnv-1.0.13-kcy78mg2.mjs +1 -0
  353. package/dist/chunks/mcp-1.0.13-gwfzhgtm.mjs +4 -0
  354. package/dist/chunks/mcp-1.0.13-s9hvy6a1.mjs +1 -0
  355. package/dist/chunks/mcp-1.0.13-vathcxfe.mjs +17 -0
  356. package/dist/chunks/mcpb-1.0.13-ynwdmrgy.mjs +1 -0
  357. package/dist/chunks/memory-1.0.13-y5pgdmp0.mjs +72 -0
  358. package/dist/chunks/model-1.0.13-28wkmva5.mjs +2 -0
  359. package/dist/chunks/model-1.0.13-wbne69bf.mjs +1 -0
  360. package/dist/chunks/node-1.0.13-jb6nf3sf.mjs +12 -0
  361. package/dist/chunks/oauth-1.0.13-x9g8753d.mjs +1 -0
  362. package/dist/chunks/openaiShim-1.0.13-dmzfpj84.mjs +14 -0
  363. package/dist/chunks/output-style-1.0.13-dkm9cvhh.mjs +1 -0
  364. package/dist/chunks/package-2VNCXFNY-1.0.13-c2rzk5s5.mjs +1 -0
  365. package/dist/chunks/parseConnectUrl-1.0.13-drfxxfbm.mjs +1 -0
  366. package/dist/chunks/parser-1.0.13-2a4gxkj4.mjs +1 -0
  367. package/dist/chunks/passes-1.0.13-xe1s3afm.mjs +1 -0
  368. package/dist/chunks/permissions-1.0.13-091a123r.mjs +1 -0
  369. package/dist/chunks/permissions-1.0.13-de2kak1c.mjs +3 -0
  370. package/dist/chunks/plan-1.0.13-nq51yj1w.mjs +1 -0
  371. package/dist/chunks/plist-1.0.13-9jnyqg5e.mjs +1 -0
  372. package/dist/chunks/plugin-1.0.13-ravfdrab.mjs +29 -0
  373. package/dist/chunks/pluginStartupCheck-1.0.13-bpnvrbf5.mjs +1 -0
  374. package/dist/chunks/plugins-1.0.13-2g0zcvmn.mjs +9 -0
  375. package/dist/chunks/preActionHook-1.0.13-sh1garss.mjs +2 -0
  376. package/dist/chunks/print-1.0.13-fbmdzf5h.mjs +57 -0
  377. package/dist/chunks/privacy-settings-1.0.13-xmggzdjb.mjs +1 -0
  378. package/dist/chunks/process-1.0.13-yvqmferw.mjs +1 -0
  379. package/dist/chunks/processBashCommand-1.0.13-vymx613b.mjs +1 -0
  380. package/dist/chunks/processSlashCommand-1.0.13-t2b59q54.mjs +9 -0
  381. package/dist/chunks/prompt-1.0.13-5rf0rmyz.mjs +1 -0
  382. package/dist/chunks/prompt-1.0.13-z2a6q0v3.mjs +1 -0
  383. package/dist/chunks/prompts-1.0.13-xntc8d09.mjs +1 -0
  384. package/dist/chunks/protocolHandler-1.0.13-c5pks46d.mjs +13 -0
  385. package/dist/chunks/provider-1.0.13-zfgjs99b.mjs +2 -0
  386. package/dist/chunks/providerProfiles-1.0.13-rk6z9ker.mjs +1 -0
  387. package/dist/chunks/providerValidation-1.0.13-w8m526k7.mjs +6 -0
  388. package/dist/chunks/rate-limit-options-1.0.13-2a7ezwjq.mjs +1 -0
  389. package/dist/chunks/registerSubcommands-1.0.13-fdj1d2vn.mjs +34 -0
  390. package/dist/chunks/registry-1.0.13-p4zgn33y.mjs +1 -0
  391. package/dist/chunks/release-notes-1.0.13-pgzcje06.mjs +5 -0
  392. package/dist/chunks/reload-plugins-1.0.13-6chpnefr.mjs +2 -0
  393. package/dist/chunks/remote-env-1.0.13-j1xk0q03.mjs +1 -0
  394. package/dist/chunks/remoteBridgeCore-1.0.13-ffh4q93x.mjs +1 -0
  395. package/dist/chunks/remoteSession-1.0.13-h715mcc6.mjs +1 -0
  396. package/dist/chunks/rename-1.0.13-x7fma5b1.mjs +1 -0
  397. package/dist/chunks/replBridgeHandle-1.0.13-d1r6xsjs.mjs +1 -0
  398. package/dist/chunks/replLauncher-1.0.13-bhshyrk2.mjs +1 -0
  399. package/dist/chunks/resume-1.0.13-g7w8k889.mjs +2 -0
  400. package/dist/chunks/rewind-1.0.13-9wf9gqtz.mjs +1 -0
  401. package/dist/chunks/rootOptions-1.0.13-7y485878.mjs +1 -0
  402. package/dist/chunks/runWorkflowHeadless-1.0.13-rv0anxz7.mjs +10 -0
  403. package/dist/chunks/sandbox-adapter-1.0.13-kvcvaae5.mjs +1 -0
  404. package/dist/chunks/sandbox-toggle-1.0.13-gzeexqb1.mjs +1 -0
  405. package/dist/chunks/session-1.0.13-hyhbhvkf.mjs +2 -0
  406. package/dist/chunks/sessionDiscovery-1.0.13-525ff4qc.mjs +1 -0
  407. package/dist/chunks/sessionFileAccessHooks-1.0.13-52whtstc.mjs +1 -0
  408. package/dist/chunks/sessionStorage-1.0.13-r00sygqv.mjs +1 -0
  409. package/dist/chunks/settings-1.0.13-sm1hpt00.mjs +1 -0
  410. package/dist/chunks/setup-1.0.13-7y88y2kn.mjs +5 -0
  411. package/dist/chunks/sinks-1.0.13-4g18qqzg.mjs +1 -0
  412. package/dist/chunks/skills-1.0.13-cpct3g7k.mjs +1 -0
  413. package/dist/chunks/startupProfiler-1.0.13-x0k3gz44.mjs +1 -0
  414. package/dist/chunks/startupUpdateCheck-1.0.13-n4bzta5q.mjs +1 -0
  415. package/dist/chunks/state-1.0.13-zq29wtdm.mjs +1 -0
  416. package/dist/chunks/stats-1.0.13-q0gfz40a.mjs +6 -0
  417. package/dist/chunks/status-1.0.13-t69r10gd.mjs +1 -0
  418. package/dist/chunks/stickers-1.0.13-1vnk8fs0.mjs +1 -0
  419. package/dist/chunks/subprocessEnv-1.0.13-1qaxx1mm.mjs +1 -0
  420. package/dist/chunks/tasks-1.0.13-xbf05jds.mjs +1 -0
  421. package/dist/chunks/teamHelpers-1.0.13-ajaffjmv.mjs +1 -0
  422. package/dist/chunks/teammateModeSnapshot-1.0.13-0se6apnj.mjs +1 -0
  423. package/dist/chunks/teleport-1.0.13-fy5929dz.mjs +1 -0
  424. package/dist/chunks/terminalSetup-1.0.13-6vb6xv4h.mjs +1 -0
  425. package/dist/chunks/theme-1.0.13-qh1caywb.mjs +1 -0
  426. package/dist/chunks/thinkback-1.0.13-yxqc5snt.mjs +1 -0
  427. package/dist/chunks/thinkback-play-1.0.13-4zdbm8qa.mjs +1 -0
  428. package/dist/chunks/toolPool-1.0.13-p41w5yd3.mjs +1 -0
  429. package/dist/chunks/toolSearch-1.0.13-4behydd7.mjs +1 -0
  430. package/dist/chunks/tools-1.0.13-vkf5gwtw.mjs +1 -0
  431. package/dist/chunks/trustedDevice-1.0.13-zafdrn99.mjs +1 -0
  432. package/dist/chunks/turndown.cjs-1.0.13-jyfkbj9m.mjs +69 -0
  433. package/dist/chunks/types-1.0.13-7xc46cqv.mjs +1 -0
  434. package/dist/chunks/ultrareviewCommand-1.0.13-3bz6pfy0.mjs +4 -0
  435. package/dist/chunks/update-1.0.13-yevsj7ad.mjs +88 -0
  436. package/dist/chunks/upgrade-1.0.13-exvdsfcj.mjs +1 -0
  437. package/dist/chunks/upload-1.0.13-hnnrtgrv.mjs +7 -0
  438. package/dist/chunks/upstreamproxy-1.0.13-qgbvmb0r.mjs +14 -0
  439. package/dist/chunks/url-handler-napi-1.0.13-7wjfhqg3.mjs +1 -0
  440. package/dist/chunks/usage-1.0.13-jvdr40ma.mjs +1 -0
  441. package/dist/chunks/util-1.0.13-87gxb90q.mjs +1 -0
  442. package/dist/chunks/utils-1.0.13-c5pe460e.mjs +1 -0
  443. package/dist/chunks/vim-1.0.13-nkrbsse9.mjs +1 -0
  444. package/dist/chunks/watchLoop-1.0.13-922mtars.mjs +13 -0
  445. package/dist/chunks/watcher-1.0.13-pt4sgafn.mjs +1 -0
  446. package/dist/chunks/wiki-1.0.13-swp7dc6p.mjs +132 -0
  447. package/dist/chunks/workflows-1.0.13-ykfca04r.mjs +1 -0
  448. package/dist/chunks/worktree-1.0.13-9m47x8ty.mjs +1 -0
  449. package/dist/chunks/worktreeModeEnabled-1.0.13-3jrpyzfm.mjs +1 -0
  450. package/dist/chunks/wrapper-1.0.13-2myaas4p.mjs +7 -0
  451. package/dist/cli.mjs +2 -2
  452. package/package.json +9 -9
  453. package/dist/chunks/AgentTool-1.0.12-abyv62fr.mjs +0 -1
  454. package/dist/chunks/App-1.0.12-dn7sszp8.mjs +0 -1
  455. package/dist/chunks/ApproveApiKey-1.0.12-vx8944sv.mjs +0 -1
  456. package/dist/chunks/AssistantSessionChooser-1.0.12-ke187zyp.mjs +0 -1
  457. package/dist/chunks/AutoModeOptInDialog-1.0.12-4evyjnv0.mjs +0 -1
  458. package/dist/chunks/BypassPermissionsModeDialog-1.0.12-d9mwxc90.mjs +0 -1
  459. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.12-3jmx6cgy.mjs +0 -1
  460. package/dist/chunks/ConsoleOAuthFlow-1.0.12-3kmzdqzg.mjs +0 -1
  461. package/dist/chunks/DiffDialog-1.0.12-qj1xvjhw.mjs +0 -7
  462. package/dist/chunks/Doctor-1.0.12-51vy6wdx.mjs +0 -1
  463. package/dist/chunks/ExplorerDialog-1.0.12-96frvk0f.mjs +0 -6
  464. package/dist/chunks/Grove-1.0.12-56863ex7.mjs +0 -1
  465. package/dist/chunks/ITermBackend-1.0.12-r6mxvzaa.mjs +0 -1
  466. package/dist/chunks/InvalidConfigDialog-1.0.12-79dad11d.mjs +0 -1
  467. package/dist/chunks/InvalidSettingsDialog-1.0.12-stz0gsem.mjs +0 -1
  468. package/dist/chunks/MigrationDialog-1.0.12-zyd4mdh4.mjs +0 -1
  469. package/dist/chunks/Onboarding-1.0.12-zbfxpy94.mjs +0 -1
  470. package/dist/chunks/ProviderManager-1.0.12-p8zk25w6.mjs +0 -1
  471. package/dist/chunks/REPL-1.0.12-fqnth064.mjs +0 -1
  472. package/dist/chunks/ResumeConversation-1.0.12-0qfj43z7.mjs +0 -1
  473. package/dist/chunks/SnapshotUpdateDialog-1.0.12-bnjcb979.mjs +0 -1
  474. package/dist/chunks/TeleportProgress-1.0.12-c6fa4qje.mjs +0 -1
  475. package/dist/chunks/TeleportRepoMismatchDialog-1.0.12-ycm47j1m.mjs +0 -1
  476. package/dist/chunks/TeleportResumeWrapper-1.0.12-9rp6hs4x.mjs +0 -1
  477. package/dist/chunks/TmuxBackend-1.0.12-41jckn7c.mjs +0 -9
  478. package/dist/chunks/ToolSearchTool-1.0.12-c9n0hbpv.mjs +0 -1
  479. package/dist/chunks/TrustDialog-1.0.12-7fnas2qv.mjs +0 -1
  480. package/dist/chunks/activeProvider-1.0.12-gv2mp6kz.mjs +0 -1
  481. package/dist/chunks/add-dir-1.0.12-fpqr5x3k.mjs +0 -1
  482. package/dist/chunks/agentTypes-1.0.12-vrw22nhr.mjs +0 -1
  483. package/dist/chunks/agents-1.0.12-b7qmsh41.mjs +0 -3
  484. package/dist/chunks/agents-1.0.12-swx0yj99.mjs +0 -110
  485. package/dist/chunks/api-1.0.12-7ekn0cc8.mjs +0 -1
  486. package/dist/chunks/asciicast-1.0.12-bwarrcwq.mjs +0 -1
  487. package/dist/chunks/assistant-1.0.12-85mxf1m6.mjs +0 -1
  488. package/dist/chunks/auth-1.0.12-cefhne6z.mjs +0 -1
  489. package/dist/chunks/auth-1.0.12-snebfssk.mjs +0 -1
  490. package/dist/chunks/autoMode-1.0.12-9n08nqfk.mjs +0 -48
  491. package/dist/chunks/autoUpdater-1.0.12-h50vcbqf.mjs +0 -1
  492. package/dist/chunks/backgroundHousekeeping-1.0.12-tdh1q45w.mjs +0 -1
  493. package/dist/chunks/branch-1.0.12-863hng5d.mjs +0 -4
  494. package/dist/chunks/bridge-1.0.12-a5nw09de.mjs +0 -2
  495. package/dist/chunks/bridgeConfig-1.0.12-x66p8c5q.mjs +0 -1
  496. package/dist/chunks/bridgeEnabled-1.0.12-0wztb1hd.mjs +0 -1
  497. package/dist/chunks/bridgeMain-1.0.12-038n798h.mjs +0 -88
  498. package/dist/chunks/bridgePointer-1.0.12-9sjcxc3h.mjs +0 -1
  499. package/dist/chunks/btw-1.0.12-k26an2yc.mjs +0 -1
  500. package/dist/chunks/buddy-1.0.12-fpfpe288.mjs +0 -3
  501. package/dist/chunks/cacache-1.0.12-tee370hf.mjs +0 -1
  502. package/dist/chunks/cache-probe-1.0.12-ch8554yv.mjs +0 -21
  503. package/dist/chunks/cacheStats-1.0.12-9e5dx6pf.mjs +0 -4
  504. package/dist/chunks/caches-1.0.12-40h57pd6.mjs +0 -1
  505. package/dist/chunks/claudeDesktop-1.0.12-9cxdymhn.mjs +0 -1
  506. package/dist/chunks/claudemd-1.0.12-9dezcbgf.mjs +0 -1
  507. package/dist/chunks/clear-1.0.12-rhwxvjx8.mjs +0 -1
  508. package/dist/chunks/clearTerminal-1.0.12-33ecg1d7.mjs +0 -1
  509. package/dist/chunks/cli-1.0.12-05z376bz.mjs +0 -2
  510. package/dist/chunks/cli-1.0.12-0hs0n73e.mjs +0 -2
  511. package/dist/chunks/cli-1.0.12-0smh9wwk.mjs +0 -2
  512. package/dist/chunks/cli-1.0.12-0ttcqcck.mjs +0 -133
  513. package/dist/chunks/cli-1.0.12-18q23t16.mjs +0 -2
  514. package/dist/chunks/cli-1.0.12-1bcrzsgk.mjs +0 -45
  515. package/dist/chunks/cli-1.0.12-1cr9ram8.mjs +0 -21
  516. package/dist/chunks/cli-1.0.12-1dt50yfn.mjs +0 -4
  517. package/dist/chunks/cli-1.0.12-1n68xsye.mjs +0 -2
  518. package/dist/chunks/cli-1.0.12-1qc9gpzw.mjs +0 -12
  519. package/dist/chunks/cli-1.0.12-21c23686.mjs +0 -9
  520. package/dist/chunks/cli-1.0.12-22gbc57h.mjs +0 -2
  521. package/dist/chunks/cli-1.0.12-27qnbw76.mjs +0 -2
  522. package/dist/chunks/cli-1.0.12-2kt5mqgg.mjs +0 -2
  523. package/dist/chunks/cli-1.0.12-2nmjd3nj.mjs +0 -2
  524. package/dist/chunks/cli-1.0.12-2yt4jp97.mjs +0 -2
  525. package/dist/chunks/cli-1.0.12-321h968k.mjs +0 -2
  526. package/dist/chunks/cli-1.0.12-352e65vc.mjs +0 -2
  527. package/dist/chunks/cli-1.0.12-37c8ygq5.mjs +0 -6
  528. package/dist/chunks/cli-1.0.12-3fnggb5b.mjs +0 -133
  529. package/dist/chunks/cli-1.0.12-3n5xx9qt.mjs +0 -18
  530. package/dist/chunks/cli-1.0.12-3ncccq9x.mjs +0 -2
  531. package/dist/chunks/cli-1.0.12-3pn1zvqm.mjs +0 -2
  532. package/dist/chunks/cli-1.0.12-3r1201w4.mjs +0 -2
  533. package/dist/chunks/cli-1.0.12-3ya2dc5e.mjs +0 -2
  534. package/dist/chunks/cli-1.0.12-4hwr3sdf.mjs +0 -2
  535. package/dist/chunks/cli-1.0.12-4p7v89wr.mjs +0 -2
  536. package/dist/chunks/cli-1.0.12-57gs15yp.mjs +0 -18
  537. package/dist/chunks/cli-1.0.12-5efdpv3j.mjs +0 -2
  538. package/dist/chunks/cli-1.0.12-5sztdycm.mjs +0 -2
  539. package/dist/chunks/cli-1.0.12-65451rqd.mjs +0 -6
  540. package/dist/chunks/cli-1.0.12-67258wf2.mjs +0 -2
  541. package/dist/chunks/cli-1.0.12-6a3h6ptq.mjs +0 -2
  542. package/dist/chunks/cli-1.0.12-6p5xq1zz.mjs +0 -2
  543. package/dist/chunks/cli-1.0.12-6r2ap1g8.mjs +0 -4
  544. package/dist/chunks/cli-1.0.12-6rebetxb.mjs +0 -2
  545. package/dist/chunks/cli-1.0.12-6s4gq7fa.mjs +0 -2
  546. package/dist/chunks/cli-1.0.12-6tg9g6jd.mjs +0 -18
  547. package/dist/chunks/cli-1.0.12-76954fs2.mjs +0 -2
  548. package/dist/chunks/cli-1.0.12-769ev05r.mjs +0 -2
  549. package/dist/chunks/cli-1.0.12-7gt5bvcm.mjs +0 -16
  550. package/dist/chunks/cli-1.0.12-7ptw0hek.mjs +0 -3
  551. package/dist/chunks/cli-1.0.12-7tv5r0ph.mjs +0 -2
  552. package/dist/chunks/cli-1.0.12-7yabvp9r.mjs +0 -2
  553. package/dist/chunks/cli-1.0.12-7ynhsc1z.mjs +0 -4
  554. package/dist/chunks/cli-1.0.12-824tangf.mjs +0 -2
  555. package/dist/chunks/cli-1.0.12-86r9ty21.mjs +0 -5
  556. package/dist/chunks/cli-1.0.12-8751mzfs.mjs +0 -2
  557. package/dist/chunks/cli-1.0.12-87hs2fpz.mjs +0 -2
  558. package/dist/chunks/cli-1.0.12-88jecwwk.mjs +0 -2
  559. package/dist/chunks/cli-1.0.12-8neq4sr4.mjs +0 -2
  560. package/dist/chunks/cli-1.0.12-8ntn3ny6.mjs +0 -3
  561. package/dist/chunks/cli-1.0.12-8vjn5tt5.mjs +0 -2
  562. package/dist/chunks/cli-1.0.12-939eqyt0.mjs +0 -2
  563. package/dist/chunks/cli-1.0.12-93c97gc0.mjs +0 -7
  564. package/dist/chunks/cli-1.0.12-9xrez673.mjs +0 -6
  565. package/dist/chunks/cli-1.0.12-a3wknc82.mjs +0 -3
  566. package/dist/chunks/cli-1.0.12-a761j1gv.mjs +0 -2
  567. package/dist/chunks/cli-1.0.12-afqp6ccg.mjs +0 -5
  568. package/dist/chunks/cli-1.0.12-anfbb1k6.mjs +0 -199
  569. package/dist/chunks/cli-1.0.12-aqhk0pnq.mjs +0 -2
  570. package/dist/chunks/cli-1.0.12-aqvexw12.mjs +0 -4
  571. package/dist/chunks/cli-1.0.12-ar5q5p8k.mjs +0 -3
  572. package/dist/chunks/cli-1.0.12-arptj6sc.mjs +0 -2
  573. package/dist/chunks/cli-1.0.12-asf0zhhk.mjs +0 -2
  574. package/dist/chunks/cli-1.0.12-aswy8n6q.mjs +0 -2
  575. package/dist/chunks/cli-1.0.12-b0xdgvm3.mjs +0 -2
  576. package/dist/chunks/cli-1.0.12-b2kkbfqv.mjs +0 -2
  577. package/dist/chunks/cli-1.0.12-b54efth7.mjs +0 -3
  578. package/dist/chunks/cli-1.0.12-b55xwv7c.mjs +0 -12
  579. package/dist/chunks/cli-1.0.12-bavasn2m.mjs +0 -2
  580. package/dist/chunks/cli-1.0.12-bhvkmj7j.mjs +0 -2
  581. package/dist/chunks/cli-1.0.12-bphdbsee.mjs +0 -20
  582. package/dist/chunks/cli-1.0.12-bwhry5d9.mjs +0 -2
  583. package/dist/chunks/cli-1.0.12-bxrzeqxy.mjs +0 -2
  584. package/dist/chunks/cli-1.0.12-c3r1a6g5.mjs +0 -24
  585. package/dist/chunks/cli-1.0.12-c8eswgza.mjs +0 -2
  586. package/dist/chunks/cli-1.0.12-cdv6sj7q.mjs +0 -2
  587. package/dist/chunks/cli-1.0.12-ce2kb4jz.mjs +0 -2
  588. package/dist/chunks/cli-1.0.12-ce5a5631.mjs +0 -4
  589. package/dist/chunks/cli-1.0.12-cg6zadcf.mjs +0 -2
  590. package/dist/chunks/cli-1.0.12-ckpmw81j.mjs +0 -2
  591. package/dist/chunks/cli-1.0.12-crspnn4b.mjs +0 -6
  592. package/dist/chunks/cli-1.0.12-cveh4gy6.mjs +0 -34
  593. package/dist/chunks/cli-1.0.12-dcw582gx.mjs +0 -15
  594. package/dist/chunks/cli-1.0.12-ehp5ev2y.mjs +0 -2
  595. package/dist/chunks/cli-1.0.12-eptxz5fr.mjs +0 -2
  596. package/dist/chunks/cli-1.0.12-ets3kmf3.mjs +0 -2
  597. package/dist/chunks/cli-1.0.12-ev21p7g7.mjs +0 -1
  598. package/dist/chunks/cli-1.0.12-evtxsq88.mjs +0 -2
  599. package/dist/chunks/cli-1.0.12-f7s9vrvb.mjs +0 -2
  600. package/dist/chunks/cli-1.0.12-fc7czhyd.mjs +0 -2
  601. package/dist/chunks/cli-1.0.12-fr4x7p5q.mjs +0 -3
  602. package/dist/chunks/cli-1.0.12-fs27jw81.mjs +0 -59
  603. package/dist/chunks/cli-1.0.12-fs365rj0.mjs +0 -2
  604. package/dist/chunks/cli-1.0.12-fsgbmjzn.mjs +0 -2
  605. package/dist/chunks/cli-1.0.12-fttry6vt.mjs +0 -2
  606. package/dist/chunks/cli-1.0.12-g2qcnx8m.mjs +0 -2
  607. package/dist/chunks/cli-1.0.12-g2qsv3tc.mjs +0 -5494
  608. package/dist/chunks/cli-1.0.12-g6jjrjcj.mjs +0 -2
  609. package/dist/chunks/cli-1.0.12-gajn1gbg.mjs +0 -2
  610. package/dist/chunks/cli-1.0.12-gctwj61k.mjs +0 -4
  611. package/dist/chunks/cli-1.0.12-gd18f7hm.mjs +0 -2
  612. package/dist/chunks/cli-1.0.12-gden9vt3.mjs +0 -2
  613. package/dist/chunks/cli-1.0.12-gdjkhny3.mjs +0 -2
  614. package/dist/chunks/cli-1.0.12-geffmp8p.mjs +0 -2
  615. package/dist/chunks/cli-1.0.12-ggdecys5.mjs +0 -2
  616. package/dist/chunks/cli-1.0.12-gnjqhx0t.mjs +0 -3
  617. package/dist/chunks/cli-1.0.12-gvpmx85m.mjs +0 -58
  618. package/dist/chunks/cli-1.0.12-gz6fyqwk.mjs +0 -39
  619. package/dist/chunks/cli-1.0.12-gzdht3by.mjs +0 -2
  620. package/dist/chunks/cli-1.0.12-hcw51twk.mjs +0 -2
  621. package/dist/chunks/cli-1.0.12-hfjvcc88.mjs +0 -2
  622. package/dist/chunks/cli-1.0.12-hg7zn647.mjs +0 -2
  623. package/dist/chunks/cli-1.0.12-hhbfs4k4.mjs +0 -6
  624. package/dist/chunks/cli-1.0.12-hhr93g23.mjs +0 -2
  625. package/dist/chunks/cli-1.0.12-hkmqbg09.mjs +0 -2
  626. package/dist/chunks/cli-1.0.12-hqfw51ap.mjs +0 -4
  627. package/dist/chunks/cli-1.0.12-hs1b7q69.mjs +0 -2
  628. package/dist/chunks/cli-1.0.12-hxmg9ymn.mjs +0 -67
  629. package/dist/chunks/cli-1.0.12-j6jbtppw.mjs +0 -50
  630. package/dist/chunks/cli-1.0.12-jcpeegj0.mjs +0 -2
  631. package/dist/chunks/cli-1.0.12-jfhjds03.mjs +0 -2
  632. package/dist/chunks/cli-1.0.12-jfsy9ha5.mjs +0 -2
  633. package/dist/chunks/cli-1.0.12-jk3cz5bk.mjs +0 -2
  634. package/dist/chunks/cli-1.0.12-jv9bdyr3.mjs +0 -4
  635. package/dist/chunks/cli-1.0.12-jx132j1k.mjs +0 -25
  636. package/dist/chunks/cli-1.0.12-k1be9914.mjs +0 -12
  637. package/dist/chunks/cli-1.0.12-kamdx1jw.mjs +0 -2
  638. package/dist/chunks/cli-1.0.12-krksdpwy.mjs +0 -2
  639. package/dist/chunks/cli-1.0.12-krtzqxr0.mjs +0 -2
  640. package/dist/chunks/cli-1.0.12-kvbcb0np.mjs +0 -2
  641. package/dist/chunks/cli-1.0.12-kyxqyb1j.mjs +0 -2
  642. package/dist/chunks/cli-1.0.12-m46zb45g.mjs +0 -2
  643. package/dist/chunks/cli-1.0.12-m4ayadmp.mjs +0 -12
  644. package/dist/chunks/cli-1.0.12-mg5ma9ym.mjs +0 -15
  645. package/dist/chunks/cli-1.0.12-mx2xvdp9.mjs +0 -2
  646. package/dist/chunks/cli-1.0.12-n1m3pwwf.mjs +0 -2
  647. package/dist/chunks/cli-1.0.12-nanfnkp2.mjs +0 -2
  648. package/dist/chunks/cli-1.0.12-nn3vf2hn.mjs +0 -2
  649. package/dist/chunks/cli-1.0.12-nqhqcsq6.mjs +0 -2
  650. package/dist/chunks/cli-1.0.12-nvvpna9m.mjs +0 -3
  651. package/dist/chunks/cli-1.0.12-p4ezzhhd.mjs +0 -8
  652. package/dist/chunks/cli-1.0.12-pp2g923k.mjs +0 -2
  653. package/dist/chunks/cli-1.0.12-pp47fwxq.mjs +0 -2
  654. package/dist/chunks/cli-1.0.12-pr30kcgz.mjs +0 -2
  655. package/dist/chunks/cli-1.0.12-q0r16q04.mjs +0 -2
  656. package/dist/chunks/cli-1.0.12-q5pm96yt.mjs +0 -2
  657. package/dist/chunks/cli-1.0.12-q6d6aqp0.mjs +0 -2
  658. package/dist/chunks/cli-1.0.12-q6k5vz5c.mjs +0 -15
  659. package/dist/chunks/cli-1.0.12-qawr9s3v.mjs +0 -2
  660. package/dist/chunks/cli-1.0.12-qdw94y1a.mjs +0 -2
  661. package/dist/chunks/cli-1.0.12-r0h1nfgc.mjs +0 -2
  662. package/dist/chunks/cli-1.0.12-r5xssak6.mjs +0 -3
  663. package/dist/chunks/cli-1.0.12-rkm9m5nr.mjs +0 -4
  664. package/dist/chunks/cli-1.0.12-rndzs6hs.mjs +0 -3
  665. package/dist/chunks/cli-1.0.12-rx65fdkz.mjs +0 -2
  666. package/dist/chunks/cli-1.0.12-s5nznhbh.mjs +0 -3
  667. package/dist/chunks/cli-1.0.12-s6we79nr.mjs +0 -17
  668. package/dist/chunks/cli-1.0.12-samztxet.mjs +0 -2
  669. package/dist/chunks/cli-1.0.12-sav2q0qa.mjs +0 -42
  670. package/dist/chunks/cli-1.0.12-t40ecqfd.mjs +0 -2
  671. package/dist/chunks/cli-1.0.12-tj9ktjsh.mjs +0 -24
  672. package/dist/chunks/cli-1.0.12-tj9rj5jy.mjs +0 -2
  673. package/dist/chunks/cli-1.0.12-tjbtefn3.mjs +0 -2
  674. package/dist/chunks/cli-1.0.12-trd4dn34.mjs +0 -2
  675. package/dist/chunks/cli-1.0.12-tv0c63rt.mjs +0 -2
  676. package/dist/chunks/cli-1.0.12-tz4cb805.mjs +0 -2
  677. package/dist/chunks/cli-1.0.12-v4dwzr3x.mjs +0 -17
  678. package/dist/chunks/cli-1.0.12-vaj96q9j.mjs +0 -2
  679. package/dist/chunks/cli-1.0.12-vr2x1cvb.mjs +0 -2
  680. package/dist/chunks/cli-1.0.12-w1kw41q7.mjs +0 -2
  681. package/dist/chunks/cli-1.0.12-w7rfasq3.mjs +0 -9
  682. package/dist/chunks/cli-1.0.12-w8y086m4.mjs +0 -25
  683. package/dist/chunks/cli-1.0.12-wex4dg02.mjs +0 -4
  684. package/dist/chunks/cli-1.0.12-wg1cqvtp.mjs +0 -2
  685. package/dist/chunks/cli-1.0.12-wjsws708.mjs +0 -2
  686. package/dist/chunks/cli-1.0.12-wk1q0n53.mjs +0 -2
  687. package/dist/chunks/cli-1.0.12-wrzpekwj.mjs +0 -2
  688. package/dist/chunks/cli-1.0.12-wvndtz51.mjs +0 -24
  689. package/dist/chunks/cli-1.0.12-wz7n2nsd.mjs +0 -2
  690. package/dist/chunks/cli-1.0.12-x10h3tbg.mjs +0 -2
  691. package/dist/chunks/cli-1.0.12-x4ep25h9.mjs +0 -4
  692. package/dist/chunks/cli-1.0.12-xkytf9yh.mjs +0 -2
  693. package/dist/chunks/cli-1.0.12-xttdsx6k.mjs +0 -2
  694. package/dist/chunks/cli-1.0.12-y1c7c1a1.mjs +0 -2
  695. package/dist/chunks/cli-1.0.12-y84rjfz7.mjs +0 -2
  696. package/dist/chunks/cli-1.0.12-yhv467zj.mjs +0 -2
  697. package/dist/chunks/cli-1.0.12-ynve21xv.mjs +0 -2
  698. package/dist/chunks/cli-1.0.12-ys1t2bxz.mjs +0 -2
  699. package/dist/chunks/cli-1.0.12-yxtwvta2.mjs +0 -2
  700. package/dist/chunks/cli-1.0.12-z3a8jcm9.mjs +0 -3
  701. package/dist/chunks/cli-1.0.12-z3c340m4.mjs +0 -2
  702. package/dist/chunks/cli-1.0.12-z623f1kc.mjs +0 -2
  703. package/dist/chunks/cli-1.0.12-z9h568zf.mjs +0 -2
  704. package/dist/chunks/cli-1.0.12-z9sfhfkz.mjs +0 -2
  705. package/dist/chunks/cli-1.0.12-zeamr7yd.mjs +0 -2
  706. package/dist/chunks/cli-1.0.12-zeyjdjny.mjs +0 -2
  707. package/dist/chunks/cli-1.0.12-zfc8ad9g.mjs +0 -2
  708. package/dist/chunks/cli-1.0.12-zh892bg0.mjs +0 -2
  709. package/dist/chunks/cli-1.0.12-zjxsxtgp.mjs +0 -2
  710. package/dist/chunks/client-1.0.12-byhwssfy.mjs +0 -1
  711. package/dist/chunks/color-1.0.12-r9qemzca.mjs +0 -1
  712. package/dist/chunks/compact-1.0.12-e026vahr.mjs +0 -3
  713. package/dist/chunks/config-1.0.12-bzczt66c.mjs +0 -1
  714. package/dist/chunks/config-1.0.12-spq7sz3g.mjs +0 -1
  715. package/dist/chunks/constants-1.0.12-wfre6b4q.mjs +0 -1
  716. package/dist/chunks/context-1.0.12-062jh3t1.mjs +0 -1
  717. package/dist/chunks/context-noninteractive-1.0.12-2a33mwts.mjs +0 -1
  718. package/dist/chunks/conversation-1.0.12-84yx1v9g.mjs +0 -1
  719. package/dist/chunks/copilotHeaders-1.0.12-9p7nbsej.mjs +0 -1
  720. package/dist/chunks/copy-1.0.12-p0ehh4km.mjs +0 -9
  721. package/dist/chunks/cost-1.0.12-rp0mbkmr.mjs +0 -1
  722. package/dist/chunks/createSSHSession-1.0.12-wxq374vh.mjs +0 -1
  723. package/dist/chunks/createSession-1.0.12-1xvzax9p.mjs +0 -1
  724. package/dist/chunks/debug-1.0.12-94hz3csj.mjs +0 -1
  725. package/dist/chunks/defaultActionDeps-1.0.12-xampkk9g.mjs +0 -1446
  726. package/dist/chunks/desktop-1.0.12-sjnz496g.mjs +0 -1
  727. package/dist/chunks/detectRepository-1.0.12-ba7p74yk.mjs +0 -1
  728. package/dist/chunks/detection-1.0.12-a5q568s6.mjs +0 -1
  729. package/dist/chunks/diff-1.0.12-ndfx6mw0.mjs +0 -1
  730. package/dist/chunks/doctor-1.0.12-n0w9na8y.mjs +0 -1
  731. package/dist/chunks/doctorDiagnostic-1.0.12-9s7nqv0g.mjs +0 -1
  732. package/dist/chunks/earlyInput-1.0.12-zysskqm6.mjs +0 -1
  733. package/dist/chunks/effort-1.0.12-fv5hhe7x.mjs +0 -10
  734. package/dist/chunks/engine-1.0.12-h8g4mgyb.mjs +0 -1
  735. package/dist/chunks/envLessBridgeConfig-1.0.12-dgzmkpm2.mjs +0 -1
  736. package/dist/chunks/envUtils-1.0.12-sdf1kcja.mjs +0 -1
  737. package/dist/chunks/environmentSelection-1.0.12-8q9ret6b.mjs +0 -1
  738. package/dist/chunks/environments-1.0.12-a3zhfbhz.mjs +0 -1
  739. package/dist/chunks/errors-1.0.12-ct15bef4.mjs +0 -1
  740. package/dist/chunks/exampleCommands-1.0.12-df1dw74e.mjs +0 -1
  741. package/dist/chunks/execFileNoThrow-1.0.12-xfr44c3a.mjs +0 -1
  742. package/dist/chunks/exit-1.0.12-zvdfr5b8.mjs +0 -1
  743. package/dist/chunks/explorer-1.0.12-6y9xjy1q.mjs +0 -1
  744. package/dist/chunks/export-1.0.12-skd48sxc.mjs +0 -2
  745. package/dist/chunks/extra-usage-1.0.12-xfmqjtpj.mjs +0 -1
  746. package/dist/chunks/extra-usage-noninteractive-1.0.12-t1hm20j5.mjs +0 -1
  747. package/dist/chunks/fast-1.0.12-fhft5ey6.mjs +0 -1
  748. package/dist/chunks/feedback-1.0.12-3nxarzk5.mjs +0 -14
  749. package/dist/chunks/firstPartyEventLogger-1.0.12-wd3zscn0.mjs +0 -1
  750. package/dist/chunks/git-1.0.12-vdgymgzx.mjs +0 -1
  751. package/dist/chunks/githubModelsCredentials-1.0.12-4srnyf9v.mjs +0 -1
  752. package/dist/chunks/goal-1.0.12-h2359pb4.mjs +0 -4
  753. package/dist/chunks/grove-1.0.12-77sjjjn3.mjs +0 -1
  754. package/dist/chunks/growthbook-1.0.12-3n3fqtkt.mjs +0 -1
  755. package/dist/chunks/headless-1.0.12-yp3kbbxc.mjs +0 -2
  756. package/dist/chunks/heapdump-1.0.12-s91zbazj.mjs +0 -6
  757. package/dist/chunks/help-1.0.12-0xjr189z.mjs +0 -1
  758. package/dist/chunks/hookChains-1.0.12-ct9k5n1p.mjs +0 -3
  759. package/dist/chunks/hooks-1.0.12-3j1z9nnx.mjs +0 -79
  760. package/dist/chunks/hooks-1.0.12-70mxcsxh.mjs +0 -1
  761. package/dist/chunks/ide-1.0.12-28njrjbk.mjs +0 -3
  762. package/dist/chunks/image-processor-napi-1.0.12-6wgz5kvw.mjs +0 -1
  763. package/dist/chunks/inboundAttachments-1.0.12-jvjez1dn.mjs +0 -1
  764. package/dist/chunks/index-1.0.12-0da1bb49.mjs +0 -9
  765. package/dist/chunks/index-1.0.12-1e9j7vzg.mjs +0 -5
  766. package/dist/chunks/index-1.0.12-1mdaerd8.mjs +0 -1
  767. package/dist/chunks/index-1.0.12-24pswrth.mjs +0 -1
  768. package/dist/chunks/index-1.0.12-2v2em96v.mjs +0 -2
  769. package/dist/chunks/index-1.0.12-474c1qt4.mjs +0 -1
  770. package/dist/chunks/index-1.0.12-6mn5222v.mjs +0 -1
  771. package/dist/chunks/index-1.0.12-742qmav9.mjs +0 -1
  772. package/dist/chunks/index-1.0.12-7k7nz3zd.mjs +0 -1
  773. package/dist/chunks/index-1.0.12-9j0r9hj8.mjs +0 -1
  774. package/dist/chunks/index-1.0.12-b9j27arj.mjs +0 -1
  775. package/dist/chunks/index-1.0.12-bpttwsys.mjs +0 -9
  776. package/dist/chunks/index-1.0.12-c5e33bnp.mjs +0 -1
  777. package/dist/chunks/index-1.0.12-cqq21e0m.mjs +0 -2
  778. package/dist/chunks/index-1.0.12-cr5bmztw.mjs +0 -1
  779. package/dist/chunks/index-1.0.12-fmffckpa.mjs +0 -1
  780. package/dist/chunks/index-1.0.12-gq7wdwne.mjs +0 -1
  781. package/dist/chunks/index-1.0.12-hdkwtv7r.mjs +0 -30
  782. package/dist/chunks/index-1.0.12-hdncwsmp.mjs +0 -17
  783. package/dist/chunks/index-1.0.12-p087je6g.mjs +0 -1
  784. package/dist/chunks/index-1.0.12-v4fg3ddh.mjs +0 -1
  785. package/dist/chunks/index-1.0.12-vx8y4eyw.mjs +0 -1
  786. package/dist/chunks/index-1.0.12-wbyw0qj6.mjs +0 -1
  787. package/dist/chunks/init-1.0.12-z61mf946.mjs +0 -1
  788. package/dist/chunks/initReplBridge-1.0.12-x85m2bm7.mjs +0 -1
  789. package/dist/chunks/ink-1.0.12-zmy65h90.mjs +0 -1
  790. package/dist/chunks/insights-1.0.12-hmmb2hfq.mjs +0 -870
  791. package/dist/chunks/install-1.0.12-ayp0wk5h.mjs +0 -1
  792. package/dist/chunks/install-github-app-1.0.12-gp77dd3x.mjs +0 -149
  793. package/dist/chunks/install-slack-app-1.0.12-r3sn5vy9.mjs +0 -1
  794. package/dist/chunks/instrumentation-1.0.12-p992hkry.mjs +0 -1
  795. package/dist/chunks/interactiveHelpers-1.0.12-bpa40yg2.mjs +0 -1
  796. package/dist/chunks/keybindings-1.0.12-tzqxhe4y.mjs +0 -2
  797. package/dist/chunks/knowledge-1.0.12-4z117jz8.mjs +0 -2
  798. package/dist/chunks/latestVersionCache-1.0.12-v4exfmej.mjs +0 -1
  799. package/dist/chunks/loadAgentsDir-1.0.12-33qj54es.mjs +0 -1
  800. package/dist/chunks/loadPluginHooks-1.0.12-3e1ay1bg.mjs +0 -1
  801. package/dist/chunks/loadPluginHooks-1.0.12-s7htccwt.mjs +0 -1
  802. package/dist/chunks/log-1.0.12-qerp8m38.mjs +0 -1
  803. package/dist/chunks/main-1.0.12-eegz9vfx.mjs +0 -1
  804. package/dist/chunks/managedEnv-1.0.12-dsdjxx30.mjs +0 -1
  805. package/dist/chunks/mcp-1.0.12-6dgfh9jp.mjs +0 -17
  806. package/dist/chunks/mcp-1.0.12-j2h3k7hg.mjs +0 -4
  807. package/dist/chunks/mcp-1.0.12-kp37svg1.mjs +0 -1
  808. package/dist/chunks/mcpb-1.0.12-ca16ddb6.mjs +0 -1
  809. package/dist/chunks/memory-1.0.12-0k08f6b4.mjs +0 -72
  810. package/dist/chunks/model-1.0.12-2z9t0e24.mjs +0 -2
  811. package/dist/chunks/model-1.0.12-avtsadm7.mjs +0 -1
  812. package/dist/chunks/node-1.0.12-5zcm6b49.mjs +0 -12
  813. package/dist/chunks/oauth-1.0.12-t7s3r4ha.mjs +0 -1
  814. package/dist/chunks/openaiShim-1.0.12-y35cxvtm.mjs +0 -14
  815. package/dist/chunks/output-style-1.0.12-hwh89yg3.mjs +0 -1
  816. package/dist/chunks/package-ZZWOLTXM-1.0.12-jrq6q5gh.mjs +0 -1
  817. package/dist/chunks/parseConnectUrl-1.0.12-1ajk88cn.mjs +0 -1
  818. package/dist/chunks/parser-1.0.12-mnazf4dy.mjs +0 -1
  819. package/dist/chunks/passes-1.0.12-hvk4mc22.mjs +0 -1
  820. package/dist/chunks/permissions-1.0.12-8mr0v1ms.mjs +0 -1
  821. package/dist/chunks/permissions-1.0.12-bhr0jwb3.mjs +0 -3
  822. package/dist/chunks/plan-1.0.12-5bjaadcz.mjs +0 -1
  823. package/dist/chunks/plist-1.0.12-rkjbgan4.mjs +0 -1
  824. package/dist/chunks/plugin-1.0.12-pxgt2afc.mjs +0 -29
  825. package/dist/chunks/pluginStartupCheck-1.0.12-6gcazre9.mjs +0 -1
  826. package/dist/chunks/plugins-1.0.12-m5w6j4w1.mjs +0 -9
  827. package/dist/chunks/preActionHook-1.0.12-mf4w1185.mjs +0 -2
  828. package/dist/chunks/print-1.0.12-t6h31xzw.mjs +0 -57
  829. package/dist/chunks/privacy-settings-1.0.12-p99c9mr9.mjs +0 -1
  830. package/dist/chunks/process-1.0.12-514yxzk8.mjs +0 -1
  831. package/dist/chunks/processBashCommand-1.0.12-sg75g2bj.mjs +0 -1
  832. package/dist/chunks/processSlashCommand-1.0.12-yc9eq6vv.mjs +0 -9
  833. package/dist/chunks/prompt-1.0.12-0s0zhnqk.mjs +0 -1
  834. package/dist/chunks/prompt-1.0.12-yxsmhgt0.mjs +0 -1
  835. package/dist/chunks/prompts-1.0.12-0hkf5v5d.mjs +0 -1
  836. package/dist/chunks/protocolHandler-1.0.12-2s1b0744.mjs +0 -13
  837. package/dist/chunks/provider-1.0.12-br1hwfjc.mjs +0 -2
  838. package/dist/chunks/providerProfiles-1.0.12-1cvn3gk3.mjs +0 -1
  839. package/dist/chunks/providerValidation-1.0.12-e5hn1s9f.mjs +0 -6
  840. package/dist/chunks/rate-limit-options-1.0.12-2b1eehxk.mjs +0 -1
  841. package/dist/chunks/registerSubcommands-1.0.12-3w6n3hvp.mjs +0 -34
  842. package/dist/chunks/registry-1.0.12-416j15rh.mjs +0 -1
  843. package/dist/chunks/release-notes-1.0.12-cjkaspwe.mjs +0 -5
  844. package/dist/chunks/reload-plugins-1.0.12-kn31ddrr.mjs +0 -2
  845. package/dist/chunks/remote-env-1.0.12-wgzde32c.mjs +0 -1
  846. package/dist/chunks/remoteBridgeCore-1.0.12-0c89q3s7.mjs +0 -1
  847. package/dist/chunks/remoteSession-1.0.12-cs8aksk2.mjs +0 -1
  848. package/dist/chunks/rename-1.0.12-2a5n1bm7.mjs +0 -1
  849. package/dist/chunks/replBridgeHandle-1.0.12-1sgqwxsb.mjs +0 -1
  850. package/dist/chunks/replLauncher-1.0.12-380zfnph.mjs +0 -1
  851. package/dist/chunks/resume-1.0.12-xfc2cbkb.mjs +0 -2
  852. package/dist/chunks/rewind-1.0.12-r3d180dy.mjs +0 -1
  853. package/dist/chunks/rootOptions-1.0.12-pfhteve9.mjs +0 -1
  854. package/dist/chunks/runWorkflowHeadless-1.0.12-05semed9.mjs +0 -10
  855. package/dist/chunks/sandbox-adapter-1.0.12-6ty9e1sb.mjs +0 -1
  856. package/dist/chunks/sandbox-toggle-1.0.12-3s3mg79e.mjs +0 -1
  857. package/dist/chunks/session-1.0.12-xx9k18d5.mjs +0 -2
  858. package/dist/chunks/sessionDiscovery-1.0.12-k0eh44q5.mjs +0 -1
  859. package/dist/chunks/sessionFileAccessHooks-1.0.12-289cp1d9.mjs +0 -1
  860. package/dist/chunks/sessionStorage-1.0.12-af0sp63e.mjs +0 -1
  861. package/dist/chunks/settings-1.0.12-1kn5k4w3.mjs +0 -1
  862. package/dist/chunks/setup-1.0.12-sjx27cy2.mjs +0 -5
  863. package/dist/chunks/sinks-1.0.12-s5jc7mhb.mjs +0 -1
  864. package/dist/chunks/skills-1.0.12-rz6jxa0g.mjs +0 -1
  865. package/dist/chunks/startupProfiler-1.0.12-p1sagjpt.mjs +0 -1
  866. package/dist/chunks/startupUpdateCheck-1.0.12-0rynn7sy.mjs +0 -1
  867. package/dist/chunks/state-1.0.12-scv8d1ss.mjs +0 -1
  868. package/dist/chunks/stats-1.0.12-h73ksepe.mjs +0 -6
  869. package/dist/chunks/status-1.0.12-w3s8s4n7.mjs +0 -1
  870. package/dist/chunks/stickers-1.0.12-tytep2cy.mjs +0 -1
  871. package/dist/chunks/subprocessEnv-1.0.12-6kt4e9mh.mjs +0 -1
  872. package/dist/chunks/tasks-1.0.12-ezrpv3cr.mjs +0 -1
  873. package/dist/chunks/teamHelpers-1.0.12-yg34czgd.mjs +0 -1
  874. package/dist/chunks/teammateModeSnapshot-1.0.12-0b71sedv.mjs +0 -1
  875. package/dist/chunks/teleport-1.0.12-zq525vyn.mjs +0 -1
  876. package/dist/chunks/terminalSetup-1.0.12-z82kcb7p.mjs +0 -1
  877. package/dist/chunks/theme-1.0.12-1n4zhmvg.mjs +0 -1
  878. package/dist/chunks/thinkback-1.0.12-vegbsqqh.mjs +0 -1
  879. package/dist/chunks/thinkback-play-1.0.12-m2re0ysp.mjs +0 -1
  880. package/dist/chunks/toolPool-1.0.12-7k896ktz.mjs +0 -1
  881. package/dist/chunks/toolSearch-1.0.12-1t7z9s8n.mjs +0 -1
  882. package/dist/chunks/tools-1.0.12-m1q30sx2.mjs +0 -1
  883. package/dist/chunks/trustedDevice-1.0.12-d1ec8tgn.mjs +0 -1
  884. package/dist/chunks/turndown.cjs-1.0.12-gd906rm3.mjs +0 -69
  885. package/dist/chunks/types-1.0.12-bnkcne53.mjs +0 -1
  886. package/dist/chunks/ultrareviewCommand-1.0.12-d94wevag.mjs +0 -4
  887. package/dist/chunks/update-1.0.12-42sky6mj.mjs +0 -88
  888. package/dist/chunks/upgrade-1.0.12-dmpc55bj.mjs +0 -1
  889. package/dist/chunks/upload-1.0.12-nmk9n704.mjs +0 -7
  890. package/dist/chunks/upstreamproxy-1.0.12-91ksccx0.mjs +0 -14
  891. package/dist/chunks/url-handler-napi-1.0.12-dmb5xjpf.mjs +0 -1
  892. package/dist/chunks/usage-1.0.12-tjapt84n.mjs +0 -1
  893. package/dist/chunks/util-1.0.12-10z43mt9.mjs +0 -1
  894. package/dist/chunks/utils-1.0.12-w32argrx.mjs +0 -1
  895. package/dist/chunks/vim-1.0.12-wf8sb0mt.mjs +0 -1
  896. package/dist/chunks/watchLoop-1.0.12-3dxe0717.mjs +0 -13
  897. package/dist/chunks/watcher-1.0.12-7p840es5.mjs +0 -1
  898. package/dist/chunks/wiki-1.0.12-0ym9ejj5.mjs +0 -132
  899. package/dist/chunks/workflows-1.0.12-c270z4b2.mjs +0 -1
  900. package/dist/chunks/worktree-1.0.12-zeqk2tcs.mjs +0 -1
  901. package/dist/chunks/worktreeModeEnabled-1.0.12-kmtt3k2w.mjs +0 -1
  902. package/dist/chunks/wrapper-1.0.12-wzaxf903.mjs +0 -7
  903. /package/dist/chunks/{cli-1.0.12-w5g65qpt.mjs → cli-1.0.13-4z6c4gzk.mjs} +0 -0
  904. /package/dist/chunks/{cli-1.0.12-v6h16sq3.mjs → cli-1.0.13-ap2xrh2s.mjs} +0 -0
  905. /package/dist/chunks/{cli-1.0.12-ecf1es2x.mjs → cli-1.0.13-d9nvpqpw.mjs} +0 -0
  906. /package/dist/chunks/{cli-1.0.12-2sf9ww39.mjs → cli-1.0.13-n6bzzv7p.mjs} +0 -0
  907. /package/dist/chunks/{cli-1.0.12-h16hfwe6.mjs → cli-1.0.13-q9et56bj.mjs} +0 -0
  908. /package/dist/chunks/{cli-1.0.12-xya69wfx.mjs → cli-1.0.13-tzenmc0b.mjs} +0 -0
  909. /package/dist/chunks/{cli-1.0.12-8yzsm0t1.mjs → cli-1.0.13-v34fp7gq.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.0.12-c9kgj61k.mjs → cli-1.0.13-wv7skbb9.mjs} +0 -0
@@ -1,18 +0,0 @@
1
- import{bJ as Q,eJ as F}from"./cli-1.0.12-g2qsv3tc.mjs";import{_ja as b,bka as y}from"./cli-1.0.12-crspnn4b.mjs";import{Aka as x,Fka as f}from"./cli-1.0.12-x4ep25h9.mjs";import{Ika as w,Vka as R}from"./cli-1.0.12-bhvkmj7j.mjs";import{Dma as $,Gma as j,yqa as K}from"./cli-1.0.12-y1c7c1a1.mjs";import{hsa as v}from"./cli-1.0.12-ecf1es2x.mjs";import{statSync as u}from"fs";import{join as Z}from"path";function P(k,q){return`${q} ${k}`}function g(){J.clear()}function C(){return{projectLoopMdPath:Z(j(),".claudin","loop.md"),userLoopMdPath:Z(w(),"loop.md")}}function h(k){for(let q of[k.projectLoopMdPath,k.userLoopMdPath])try{let z=u(q);return`${q}:${z.mtimeMs}:${z.size}`}catch(z){if(!x(z))b(`[loopSentinels] failed to stat ${q}: ${z}`)}return null}function M(k,q,z=m){let B=k.trim();if(B!==Y&&B!==G)return k;let V=h(q??C()),W=P(B,z),H=J.get(W);J.set(W,{firedOnce:!0,loopMdFingerprint:V});let X=H!==void 0&&H.loopMdFingerprint!==V;if(H===void 0||X)return d(B,X);return L(B)}function d(k,q){let z=q?`Note: the loop.md instructions changed since the last tick — re-read them and follow the updated version.
2
-
3
- `:"",B=k===G?`
4
-
5
- ${c}`:"";return`Scheduled loop tick.
6
-
7
- ${z}${D}${B}`}function L(k){if(k!==G)return"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md).";return`${"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md)."} Then, as the LAST action of the turn, call ${Q} again (prompt: ${G}) to continue the loop, or omit it to end the loop.`}var Y="<<autonomous-loop>>",G="<<autonomous-loop-dynamic>>",D=`Scheduled maintenance loop iteration.
8
-
9
- If .claudin/loop.md exists, read it and follow it.
10
- Otherwise, if ~/.claudin/loop.md exists, read it and follow it.
11
- Otherwise:
12
- - continue any unfinished work from the conversation
13
- - tend to the current branch's pull request: review comments, failed CI runs, merge conflicts
14
- - run cleanup passes such as bug hunts or simplification when nothing else is pending
15
-
16
- Do not start new initiatives outside that scope.
17
- Irreversible actions such as pushing or deleting only proceed when they continue something the transcript already authorized.`,c,m="lead",J;var U=v(()=>{K();F();y();R();f();c=`This loop is self-paced (/loop dynamic mode): when this iteration's work is done, as the LAST action of the turn either call ${Q} again — prompt set to exactly ${G}, with a delay chosen per the tool description and a one-sentence reason — to continue the loop, or omit the call to end it.`,J=new Map;$(g)});
18
- export{Y as Zh,G as _h,D as $h,g as ai,M as bi,U as ci};
@@ -1,2 +0,0 @@
1
- import{AU as N,BU as p,CU as F,EU as U,FU as A}from"./cli-1.0.12-x10h3tbg.mjs";import{F8 as L,G8 as P,J8 as O,L8 as V,V8 as x,X8 as H,Y8 as k}from"./cli-1.0.12-1qc9gpzw.mjs";import{Hda as K,Saa as I,Tea as M,Uaa as D,sda as X,yda as Y,yea as Z}from"./cli-1.0.12-anfbb1k6.mjs";import{Lka as $,Vka as b}from"./cli-1.0.12-bhvkmj7j.mjs";import{hsa as G}from"./cli-1.0.12-ecf1es2x.mjs";function R(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:T,CLAUDE_CODE_OAUTH_TOKEN:f,...m}=q;return m}function _(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!F(B))z[B]=Q;return z}function h(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return h(_(R(q)))}function r(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of w){if(z==="policySettings")continue;if(!I(z))continue;Object.assign(process.env,J(X(z)?.env))}N(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(U.has(z.toUpperCase()))process.env[z]=B}function g(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),L(),O(),H(),x()}var W,w;var j=G(()=>{p();P();M();b();A();V();k();D();K();w=["userSettings","flagSettings","policySettings"]});
2
- export{r as Rc,g as Sc,j as Tc};
@@ -1,2 +0,0 @@
1
- import{Tea as L,qga as B,yea as A,yga as N}from"./cli-1.0.12-anfbb1k6.mjs";import{_ja as z,bka as K}from"./cli-1.0.12-crspnn4b.mjs";import{gsa as I,hsa as J}from"./cli-1.0.12-ecf1es2x.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
2
- export{P as MU,Q as NU,R as OU,H as PU,U as QU,V as RU,W as SU};
@@ -1,2 +0,0 @@
1
- import{Df as R,Ff as d}from"./cli-1.0.12-w1kw41q7.mjs";import{k2 as j,n2 as c}from"./cli-1.0.12-0smh9wwk.mjs";import{_ja as K,bka as D}from"./cli-1.0.12-crspnn4b.mjs";import{Fka as h,yka as C}from"./cli-1.0.12-x4ep25h9.mjs";import{hsa as I,isa as J}from"./cli-1.0.12-ecf1es2x.mjs";async function i({environmentId:X,title:Q,events:q,gitRepoUrl:$,branch:Y,signal:z,baseUrl:G,getAccessToken:L,permissionMode:W}){let{getClaudeAIOAuthTokens:B}=await import("./auth-1.0.12-cefhne6z.mjs"),{getOrganizationUUID:Z}=await import("./client-1.0.12-byhwssfy.mjs"),{getOauthConfig:V}=await import("./oauth-1.0.12-t7s3r4ha.mjs"),{getOAuthHeaders:P}=await import("./api-1.0.12-7ekn0cc8.mjs"),{parseGitHubRepository:N}=await import("./detectRepository-1.0.12-ba7p74yk.mjs"),{getDefaultBranch:_}=await import("./git-1.0.12-vdgymgzx.mjs"),{getMainLoopModel:M}=await import("./model-1.0.12-avtsadm7.mjs"),{default:T}=await import("./index-1.0.12-fmffckpa.mjs"),x=L?.()??B()?.accessToken;if(!x)return K("[bridge] No access token for session creation"),null;let k=await Z();if(!k)return K("[bridge] No org UUID for session creation"),null;let E=null,v=null;if($){let{parseGitRemote:y}=await import("./detectRepository-1.0.12-ba7p74yk.mjs"),O=y($);if(O){let{host:A,owner:S,name:f}=O,F=Y||await _()||void 0;E={type:"git_repository",url:`https://${A}/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}else{let A=N($);if(A){let[S,f]=A.split("/");if(S&&f){let F=Y||await _()||void 0;E={type:"git_repository",url:`https://github.com/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}}}}let m={...Q!==void 0&&{title:Q},events:q,session_context:{sources:E?[E]:[],outcomes:v?[v]:[],model:M()},environment_id:X,source:"remote-control",...W&&{permission_mode:W}},U={...P(x),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":k},b=`${G??V().BASE_API_URL}/v1/sessions`,H;try{H=await T.post(b,m,{headers:U,signal:z,validateStatus:(y)=>y<500})}catch(y){return K(`[bridge] Session creation request failed: ${C(y)}`),null}if(!(H.status===200||H.status===201)){let y=R(H.data);return K(`[bridge] Session creation failed with status ${H.status}${y?`: ${y}`:""}`),null}let w=H.data;if(!w||typeof w!=="object"||!("id"in w)||typeof w.id!=="string")return K("[bridge] No session ID in response"),null;return w.id}async function r(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-1.0.12-cefhne6z.mjs"),{getOrganizationUUID:$}=await import("./client-1.0.12-byhwssfy.mjs"),{getOauthConfig:Y}=await import("./oauth-1.0.12-t7s3r4ha.mjs"),{getOAuthHeaders:z}=await import("./api-1.0.12-7ekn0cc8.mjs"),{default:G}=await import("./index-1.0.12-fmffckpa.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L)return K("[bridge] No access token for session fetch"),null;let W=await $();if(!W)return K("[bridge] No org UUID for session fetch"),null;let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}`,V=1e4;K(`[bridge] Fetching session ${X}`);let P;try{P=await G.get(Z,{headers:B,timeout:V,validateStatus:(N)=>N<500})}catch(N){if(G.isAxiosError(N)){let _=N.response?.status??"no-response",M=N.code??"unknown-code",T=N.config?.url??Z,x=N.config?.method?.toUpperCase()??"GET",k=N.message??C(N),E=N.config?.timeout??V;K(`[bridge] Session fetch request failed: status=${_} code=${M} method=${x} url=${T} timeout=${E} message=${k}`)}else K(`[bridge] Session fetch request failed: url=${Z} timeout=${V} message=${C(N)}`);return null}if(P.status!==200){let N=R(P.data);return K(`[bridge] Session fetch failed with status ${P.status} url=${Z}${N?`: ${N}`:""}`),null}return P.data}async function t(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-1.0.12-cefhne6z.mjs"),{getOrganizationUUID:$}=await import("./client-1.0.12-byhwssfy.mjs"),{getOauthConfig:Y}=await import("./oauth-1.0.12-t7s3r4ha.mjs"),{getOAuthHeaders:z}=await import("./api-1.0.12-7ekn0cc8.mjs"),{default:G}=await import("./index-1.0.12-fmffckpa.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L){K("[bridge] No access token for session archive");return}let W=await $();if(!W){K("[bridge] No org UUID for session archive");return}let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}/archive`;K(`[bridge] Archiving session ${X}`);let V=await G.post(Z,{},{headers:B,timeout:Q?.timeoutMs??1e4,validateStatus:(P)=>P<500});if(V.status===200)K(`[bridge] Session ${X} archived successfully`);else{let P=R(V.data);K(`[bridge] Session archive failed with status ${V.status}${P?`: ${P}`:""}`)}}async function o(X,Q,q){let{getClaudeAIOAuthTokens:$}=await import("./auth-1.0.12-cefhne6z.mjs"),{getOrganizationUUID:Y}=await import("./client-1.0.12-byhwssfy.mjs"),{getOauthConfig:z}=await import("./oauth-1.0.12-t7s3r4ha.mjs"),{getOAuthHeaders:G}=await import("./api-1.0.12-7ekn0cc8.mjs"),{default:L}=await import("./index-1.0.12-fmffckpa.mjs"),W=q?.getAccessToken?.()??$()?.accessToken;if(!W){K("[bridge] No access token for session title update");return}let B=await Y();if(!B){K("[bridge] No org UUID for session title update");return}let Z={...G(W),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},V=j(X),P=`${q?.baseUrl??z().BASE_API_URL}/v1/sessions/${V}`;K(`[bridge] Updating session title: ${V} → ${Q}`);try{let N=await L.patch(P,{title:Q},{headers:Z,timeout:1e4,validateStatus:(_)=>_<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let _=R(N.data);K(`[bridge] Session title update failed with status ${N.status}${_?`: ${_}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${C(N)}`)}}var p=I(()=>{D();h();d();c()});
2
- export{i as uf,r as vf,t as wf,o as xf,p as yf};
@@ -1,2 +0,0 @@
1
- import{hsa as B}from"./cli-1.0.12-ecf1es2x.mjs";function F(z){let k=z.trim();if(!k.startsWith("/"))return null;let b=k.slice(1).split(" ");if(!b[0])return null;let j=b[0],l=!1,q=1;if(b.length>1&&b[1]==="(MCP)")j=j+" (MCP)",l=!0,q=2;let A=b.slice(q).join(" ");return{commandName:j,args:A,isMcp:l}}var C=()=>{};
2
- export{F as Vi,C as Wi};
@@ -1,2 +0,0 @@
1
- import{E8 as D,e8 as q}from"./cli-1.0.12-7gt5bvcm.mjs";import{Via as m,Wia as z}from"./cli-1.0.12-n1m3pwwf.mjs";import{hsa as x}from"./cli-1.0.12-ecf1es2x.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
2
- export{E as pi,F as qi,K as ri,M as si,G as ti};
@@ -1,2 +0,0 @@
1
- import{hsa as C}from"./cli-1.0.12-ecf1es2x.mjs";function F(m,q){switch(q.type){case"set_local_jsx":{if(q.generation<m.generation)return m;return{state:{...q.payload,isLocalJSXCommand:!0},generation:m.generation+1,hasLocalJSXActive:!0}}case"clear_local_jsx":return{state:null,generation:m.generation+1,hasLocalJSXActive:!1};case"set_regular":{if(m.hasLocalJSXActive)return m;return{...m,state:q.payload}}case"set_null":{if(m.hasLocalJSXActive)return m;if(m.state===null)return m;return{...m,state:null}}}}var D;var G=C(()=>{D={state:null,generation:0,hasLocalJSXActive:!1}});function L(m){return B=m,()=>{if(B===m)B=null}}function M(m){let q=F(z,m);if(q===z)return;z=q,B?.(q.state)}function N(){return z.generation}var z,B=null;var H=C(()=>{G();z=D});
2
- export{L as Ri,M as Si,N as Ti,H as Ui};
@@ -1,18 +0,0 @@
1
- import{Lra as r$,Mra as N6,Nra as XQ,Ora as M1,Pra as KQ}from"./cli-1.0.12-m4ayadmp.mjs";import{dsa as n4,fsa as J4,gsa as Z8,hsa as T,isa as K4}from"./cli-1.0.12-ecf1es2x.mjs";function t0($,Q){return function(){return $.apply(Q,arguments)}}var c4=()=>{};function f0($){return $!==null&&!m0($)&&$.constructor!==null&&!m0($.constructor)&&o($.constructor.isBuffer)&&$.constructor.isBuffer($)}function r6($){let Q;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)Q=ArrayBuffer.isView($);else Q=$&&$.buffer&&h1($.buffer);return Q}function K$(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;return{}}function e0($,Q,{allOwnKeys:Y=!1}={}){if($===null||typeof $>"u")return;let W,G;if(typeof $!=="object")$=[$];if(P0($))for(W=0,G=$.length;W<G;W++)Q.call(null,$[W],W,$);else{if(f0($))return;let J=Y?Object.getOwnPropertyNames($):Object.keys($),Z=J.length,z;for(W=0;W<Z;W++)z=J[W],Q.call(null,$[z],z,$)}}function u1($,Q){if(f0($))return null;Q=Q.toLowerCase();let Y=Object.keys($),W=Y.length,G;while(W-- >0)if(G=Y[W],Q===G.toLowerCase())return G;return null}function d4(...$){let{caseless:Q,skipUndefined:Y}=c1(this)&&this||{},W={},G=(J,Z)=>{if(Z==="__proto__"||Z==="constructor"||Z==="prototype")return;let z=Q&&typeof Z==="string"&&u1(W,Z)||Z,K=T4(W,z)?W[z]:void 0;if(_4(K)&&_4(J))W[z]=d4(K,J);else if(_4(J))W[z]=d4({},J);else if(P0(J))W[z]=J.slice();else if(!Y||!m0(J))W[z]=J};for(let J=0,Z=$.length;J<Z;J++){let z=$[J];if(!z||f0(z))continue;if(e0(z,G),typeof z!=="object"||P0(z))continue;let K=Object.getOwnPropertySymbols(z);for(let N=0;N<K.length;N++){let M=K[N];if(O$.call(z,M))G(z[M],M)}}return W}function b$($){return!!($&&o($.append)&&$[f1]==="FormData"&&$[o0])}var s6,y0,o0,f1,T4,r0=($,Q)=>{let Y=$,W=[];while(Y!=null&&Y!==Object.prototype){if(W.indexOf(Y)!==-1)return!1;if(W.push(Y),T4(Y,Q))return!0;Y=y0(Y)}return!1},t6=($,Q)=>$!=null&&r0($,Q)?$[Q]:void 0,l4,W0=($)=>{return $=$.toLowerCase(),(Q)=>l4(Q)===$},R4=($)=>(Q)=>typeof Q===$,P0,m0,h1,o6,o,g1,h0=($)=>$!==null&&typeof $==="object",e6=($)=>$===!0||$===!1,_4=($)=>{if(!h0($))return!1;let Q=y0($);return(Q===null||Q===Object.prototype||y0(Q)===null)&&!r0($,f1)&&!r0($,o0)},$$=($)=>{if(!h0($)||f0($))return!1;try{return Object.keys($).length===0&&Object.getPrototypeOf($)===Object.prototype}catch(Q){return!1}},Q$,Y$,W$=($)=>{return!!($&&typeof $.uri<"u")},G$=($)=>$&&typeof $.getParts<"u",Z$,J$,X$=($)=>h0($)&&o($.pipe),y1,m1,z$=($)=>{if(!$)return!1;if(m1&&$ instanceof m1)return!0;let Q=y0($);if(!Q||Q===Object.prototype)return!1;if(!o($.append))return!1;let Y=l4($);return Y==="formdata"||Y==="object"&&o($.toString)&&$.toString()==="[object FormData]"},N$,M$,B$,V$,I$,F$=($)=>{return $.trim?$.trim():$.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},q0,c1=($)=>!m0($)&&$!==q0,U$=($,Q,Y,{allOwnKeys:W}={})=>{return e0(Q,(G,J)=>{if(Y&&o(G))Object.defineProperty($,J,{__proto__:null,value:t0(G,Y),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty($,J,{__proto__:null,value:G,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:W}),$},L$=($)=>{if($.charCodeAt(0)===65279)$=$.slice(1);return $},w$=($,Q,Y,W)=>{$.prototype=Object.create(Q.prototype,W),Object.defineProperty($.prototype,"constructor",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty($,"super",{__proto__:null,value:Q.prototype}),Y&&Object.assign($.prototype,Y)},S$=($,Q,Y,W)=>{let G,J,Z,z={};if(Q=Q||{},$==null)return Q;do{G=Object.getOwnPropertyNames($),J=G.length;while(J-- >0)if(Z=G[J],(!W||W(Z,$,Q))&&!z[Z])Q[Z]=$[Z],z[Z]=!0;$=Y!==!1&&y0($)}while($&&(!Y||Y($,Q))&&$!==Object.prototype);return Q},D$=($,Q,Y)=>{if($=String($),Y===void 0||Y>$.length)Y=$.length;Y-=Q.length;let W=$.indexOf(Q,Y);return W!==-1&&W===Y},_$=($)=>{if(!$)return null;if(P0($))return $;let Q=$.length;if(!g1(Q))return null;let Y=Array(Q);while(Q-- >0)Y[Q]=$[Q];return Y},T$,R$=($,Q)=>{let W=($&&$[o0]).call($),G;while((G=W.next())&&!G.done){let J=G.value;Q.call($,J[0],J[1])}},q$=($,Q)=>{let Y,W=[];while((Y=$.exec(Q))!==null)W.push(Y);return W},P$,C$=($)=>{return $.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Y,W,G){return W.toUpperCase()+G})},O$,H$,d1=($,Q)=>{let Y=Object.getOwnPropertyDescriptors($),W={};e0(Y,(G,J)=>{let Z;if((Z=Q(G,J,$))!==!1)W[J]=Z||G}),Object.defineProperties($,W)},E$=($)=>{d1($,(Q,Y)=>{if(o($)&&["arguments","caller","callee"].includes(Y))return!1;let W=$[Y];if(!o(W))return;if(Q.enumerable=!1,"writable"in Q){Q.writable=!1;return}if(!Q.set)Q.set=()=>{throw Error("Can not rewrite read-only method '"+Y+"'")}})},A$=($,Q)=>{let Y={},W=(G)=>{G.forEach((J)=>{Y[J]=!0})};return P0($)?W($):W(String($).split(Q)),Y},j$=()=>{},k$=($,Q)=>{return $!=null&&Number.isFinite($=+$)?$:Q},x$=($)=>{let Q=new WeakSet,Y=(W)=>{if(h0(W)){if(Q.has(W))return;if(f0(W))return W;if(!("toJSON"in W)){Q.add(W);let G=P0(W)?[]:{};return e0(W,(J,Z)=>{let z=Y(J);!m0(z)&&(G[Z]=z)}),Q.delete(W),G}}return W};return Y($)},v$,y$=($)=>$&&(h0($)||o($))&&o($.then)&&o($.catch),l1,m$,p1=($)=>$!=null&&o($[o0]),f$=($)=>$!=null&&r0($,o0)&&p1($),X;var x=T(()=>{c4();({toString:s6}=Object.prototype),{getPrototypeOf:y0}=Object,{iterator:o0,toStringTag:f1}=Symbol,T4=(({hasOwnProperty:$})=>(Q,Y)=>$.call(Q,Y))(Object.prototype),l4=(($)=>(Q)=>{let Y=s6.call(Q);return $[Y]||($[Y]=Y.slice(8,-1).toLowerCase())})(Object.create(null)),{isArray:P0}=Array,m0=R4("undefined");h1=W0("ArrayBuffer");o6=R4("string"),o=R4("function"),g1=R4("number"),Q$=W0("Date"),Y$=W0("File"),Z$=W0("Blob"),J$=W0("FileList");y1=K$(),m1=typeof y1.FormData<"u"?y1.FormData:void 0,N$=W0("URLSearchParams"),[M$,B$,V$,I$]=["ReadableStream","Request","Response","Headers"].map(W0);q0=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})();T$=(($)=>{return(Q)=>{return $&&Q instanceof $}})(typeof Uint8Array<"u"&&y0(Uint8Array)),P$=W0("HTMLFormElement"),{propertyIsEnumerable:O$}=Object.prototype,H$=W0("RegExp");v$=W0("AsyncFunction"),l1=(($,Q)=>{if($)return setImmediate;return Q?((Y,W)=>{return q0.addEventListener("message",({source:G,data:J})=>{if(G===q0&&J===Y)W.length&&W.shift()()},!1),(G)=>{W.push(G),q0.postMessage(Y,"*")}})(`axios@${Math.random()}`,[]):(Y)=>setTimeout(Y)})(typeof setImmediate==="function",o(q0.postMessage)),m$=typeof queueMicrotask<"u"?queueMicrotask.bind(q0):typeof process<"u"&&process.nextTick||l1,X={isArray:P0,isArrayBuffer:h1,isBuffer:f0,isFormData:z$,isArrayBufferView:r6,isString:o6,isNumber:g1,isBoolean:e6,isObject:h0,isPlainObject:_4,isEmptyObject:$$,isReadableStream:M$,isRequest:B$,isResponse:V$,isHeaders:I$,isUndefined:m0,isDate:Q$,isFile:Y$,isReactNativeBlob:W$,isReactNative:G$,isBlob:Z$,isRegExp:H$,isFunction:o,isStream:X$,isURLSearchParams:N$,isTypedArray:T$,isFileList:J$,forEach:e0,merge:d4,extend:U$,trim:F$,stripBOM:L$,inherits:w$,toFlatObject:S$,kindOf:l4,kindOfTest:W0,endsWith:D$,toArray:_$,forEachEntry:R$,matchAll:q$,isHTMLForm:P$,hasOwnProperty:T4,hasOwnProp:T4,hasOwnInPrototypeChain:r0,getSafeProp:t6,reduceDescriptors:d1,freezeMethods:E$,toObjectSet:A$,toCamelCase:C$,noop:j$,toFiniteNumber:k$,findKey:u1,global:q0,isContextDefined:c1,isSpecCompliantForm:b$,toJSONObject:x$,isAsyncFn:v$,isThenable:y$,setImmediate:l1,asap:m$,isIterable:p1,isSafeIterable:f$}});var h$,i1=($)=>{let Q={},Y,W,G;return $&&$.split(`
2
- `).forEach(function(Z){if(G=Z.indexOf(":"),Y=Z.substring(0,G).trim().toLowerCase(),W=Z.substring(G+1).trim(),!Y||Q[Y]&&h$[Y])return;if(Y==="set-cookie")if(Q[Y])Q[Y].push(W);else Q[Y]=[W];else Q[Y]=Q[Y]?Q[Y]+", "+W:W}),Q};var n1=T(()=>{x();h$=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"])});function g$($){let Q=0,Y=$.length;while(Q<Y){let W=$.charCodeAt(Q);if(W!==9&&W!==32)break;Q+=1}while(Y>Q){let W=$.charCodeAt(Y-1);if(W!==9&&W!==32)break;Y-=1}return Q===0&&Y===$.length?$:$.slice(Q,Y)}function p4($,Q){if(X.isArray($))return $.map((Y)=>p4(Y,Q));return g$(String($).replace(Q,""))}function g0($){let Q=Object.create(null);return X.forEach($.toJSON(),(Y,W)=>{Q[W]=d$(Y)}),Q}var u$,c$,a1=($)=>p4($,u$),d$=($)=>p4($,c$);var $4=T(()=>{x();u$=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),c$=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g")});function Q4($){return $&&String($).trim().toLowerCase()}function q4($){if($===!1||$==null)return $;return X.isArray($)?$.map(q4):a1(String($))}function l$($){let Q=Object.create(null),Y=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,W;while(W=Y.exec($))Q[W[1]]=W[2];return Q}function i4($,Q,Y,W,G){if(X.isFunction(W))return W.call(this,Q,Y);if(G)Q=Y;if(!X.isString(Q))return;if(X.isString(W))return Q.indexOf(W)!==-1;if(X.isRegExp(W))return W.test(Q)}function i$($){return $.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(Q,Y,W)=>{return Y.toUpperCase()+W})}function n$($,Q){let Y=X.toCamelCase(" "+Q);["get","set","has"].forEach((W)=>{Object.defineProperty($,W+Y,{__proto__:null,value:function(G,J,Z){return this[W].call(this,Q,G,J,Z)},configurable:!0})})}var s1,p$=($)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test($.trim()),Y4,y;var G0=T(()=>{x();n1();$4();s1=Symbol("internals");Y4=class Y4{constructor($){$&&this.set($)}set($,Q,Y){let W=this;function G(Z,z,K){let N=Q4(z);if(!N)return;let M=X.findKey(W,N);if(!M||W[M]===void 0||K===!0||K===void 0&&W[M]!==!1)W[M||z]=q4(Z)}let J=(Z,z)=>X.forEach(Z,(K,N)=>G(K,N,z));if(X.isPlainObject($)||$ instanceof this.constructor)J($,Q);else if(X.isString($)&&($=$.trim())&&!p$($))J(i1($),Q);else if(X.isObject($)&&X.isSafeIterable($)){let Z=Object.create(null),z,K;for(let N of $){if(!X.isArray(N))throw TypeError("Object iterator must return a key-value pair");if(K=N[0],X.hasOwnProp(Z,K))z=Z[K],Z[K]=X.isArray(z)?[...z,N[1]]:[z,N[1]];else Z[K]=N[1]}J(Z,Q)}else $!=null&&G(Q,$,Y);return this}get($,Q){if($=Q4($),$){let Y=X.findKey(this,$);if(Y){let W=this[Y];if(!Q)return W;if(Q===!0)return l$(W);if(X.isFunction(Q))return Q.call(this,W,Y);if(X.isRegExp(Q))return Q.exec(W);throw TypeError("parser must be boolean|regexp|function")}}}has($,Q){if($=Q4($),$){let Y=X.findKey(this,$);return!!(Y&&this[Y]!==void 0&&(!Q||i4(this,this[Y],Y,Q)))}return!1}delete($,Q){let Y=this,W=!1;function G(J){if(J=Q4(J),J){let Z=X.findKey(Y,J);if(Z&&(!Q||i4(Y,Y[Z],Z,Q)))delete Y[Z],W=!0}}if(X.isArray($))$.forEach(G);else G($);return W}clear($){let Q=Object.keys(this),Y=Q.length,W=!1;while(Y--){let G=Q[Y];if(!$||i4(this,this[G],G,$,!0))delete this[G],W=!0}return W}normalize($){let Q=this,Y={};return X.forEach(this,(W,G)=>{let J=X.findKey(Y,G);if(J){Q[J]=q4(W),delete Q[G];return}let Z=$?i$(G):String(G).trim();if(Z!==G)delete Q[G];Q[Z]=q4(W),Y[Z]=!0}),this}concat(...$){return this.constructor.concat(this,...$)}toJSON($){let Q=Object.create(null);return X.forEach(this,(Y,W)=>{Y!=null&&Y!==!1&&(Q[W]=$&&X.isArray(Y)?Y.join(", "):Y)}),Q}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$,Q])=>$+": "+Q).join(`
3
- `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($){return $ instanceof this?$:new this($)}static concat($,...Q){let Y=new this($);return Q.forEach((W)=>Y.set(W)),Y}static accessor($){let Y=(this[s1]=this[s1]={accessors:{}}).accessors,W=this.prototype;function G(J){let Z=Q4(J);if(!Y[Z])n$(W,J),Y[Z]=!0}return X.isArray($)?$.forEach(G):G($),this}};Y4.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(Y4.prototype,({value:$},Q)=>{let Y=Q[0].toUpperCase()+Q.slice(1);return{get:()=>$,set(W){this[Y]=W}}});X.freezeMethods(Y4);y=Y4});function s$($){if(X.hasOwnProp($,"toJSON"))return!0;let Q=Object.getPrototypeOf($);while(Q&&Q!==Object.prototype){if(X.hasOwnProp(Q,"toJSON"))return!0;Q=Object.getPrototypeOf(Q)}return!1}function t$($,Q){let Y=new Set(Q.map((J)=>String(J).toLowerCase())),W=[],G=(J)=>{if(J===null||typeof J!=="object")return J;if(X.isBuffer(J))return J;if(W.indexOf(J)!==-1)return;if(J instanceof y)J=J.toJSON();W.push(J);let Z;if(X.isArray(J))Z=[],J.forEach((z,K)=>{let N=G(z);if(!X.isUndefined(N))Z[K]=N});else{if(!X.isPlainObject(J)&&s$(J))return W.pop(),J;Z=Object.create(null);for(let[z,K]of Object.entries(J)){let N=Y.has(z.toLowerCase())?a$:G(K);if(!X.isUndefined(N))Z[z]=N}}return W.pop(),Z};return G($)}var a$="[REDACTED ****]",a,V;var t=T(()=>{x();G0();a=class a extends Error{static from($,Q,Y,W,G,J){let Z=new a($.message,Q||$.code,Y,W,G);if(Object.defineProperty(Z,"cause",{__proto__:null,value:$,writable:!0,enumerable:!1,configurable:!0}),Z.name=$.name,$.status!=null&&Z.status==null)Z.status=$.status;return J&&Object.assign(Z,J),Z}constructor($,Q,Y,W,G){super($);if(Object.defineProperty(this,"message",{__proto__:null,value:$,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,Q&&(this.code=Q),Y&&(this.config=Y),W&&(this.request=W),G)this.response=G,this.status=G.status}toJSON(){let $=this.config,Q=$&&X.hasOwnProp($,"redact")?$.redact:void 0,Y=X.isArray(Q)&&Q.length>0?t$($,Q):X.toJSONObject($);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Y,code:this.code,status:this.status}}};a.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";a.ERR_BAD_OPTION="ERR_BAD_OPTION";a.ECONNABORTED="ECONNABORTED";a.ETIMEDOUT="ETIMEDOUT";a.ECONNREFUSED="ECONNREFUSED";a.ERR_NETWORK="ERR_NETWORK";a.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";a.ERR_DEPRECATED="ERR_DEPRECATED";a.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";a.ERR_BAD_REQUEST="ERR_BAD_REQUEST";a.ERR_CANCELED="ERR_CANCELED";a.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";a.ERR_INVALID_URL="ERR_INVALID_URL";a.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";V=a});var t1,P4;var a4=T(()=>{t1=n4(r$(),1),P4=t1.default});function t4($){return X.isPlainObject($)||X.isArray($)}function r1($){return X.endsWith($,"[]")?$.slice(0,-2):$}function s4($,Q,Y){if(!$)return Q;return $.concat(Q).map(function(G,J){return G=r1(G),!Y&&J?"["+G+"]":G}).join(Y?".":"")}function o$($){return X.isArray($)&&!$.some(t4)}function $8($,Q,Y){if(!X.isObject($))throw TypeError("target must be an object");Q=Q||new(P4||FormData),Y=X.toFlatObject(Y,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,R){return!X.isUndefined(R[_])});let W=Y.metaTokens,G=Y.visitor||S,J=Y.dots,Z=Y.indexes,z=Y.Blob||typeof Blob<"u"&&Blob,K=Y.maxDepth===void 0?r4:Y.maxDepth,N=z&&X.isSpecCompliantForm(Q),M=[];if(!X.isFunction(G))throw TypeError("visitor must be a function");function B(F){if(F===null)return"";if(X.isDate(F))return F.toISOString();if(X.isBoolean(F))return F.toString();if(!N&&X.isBlob(F))throw new V("Blob is not supported. Use a Buffer instead.");if(X.isArrayBuffer(F)||X.isTypedArray(F)){if(N&&typeof z==="function")return new z([F]);if(typeof Buffer<"u")return Buffer.from(F);throw new V("Blob is not supported. Use a Buffer instead.",V.ERR_NOT_SUPPORT)}return F}function I(F){if(F>K)throw new V("Object is too deeply nested ("+F+" levels). Max depth: "+K,V.ERR_FORM_DATA_DEPTH_EXCEEDED)}function U(F,_){if(K===1/0)return JSON.stringify(F);let R=[];return JSON.stringify(F,function(v,k){if(!X.isObject(k))return k;while(R.length&&R[R.length-1]!==this)R.pop();return R.push(k),I(_+R.length-1),k})}function S(F,_,R){let O=F;if(X.isReactNative(Q)&&X.isReactNativeBlob(F))return Q.append(s4(R,_,J),B(F)),!1;if(F&&!R&&typeof F==="object"){if(X.endsWith(_,"{}"))_=W?_:_.slice(0,-2),F=U(F,1);else if(X.isArray(F)&&o$(F)||(X.isFileList(F)||X.endsWith(_,"[]"))&&(O=X.toArray(F)))return _=r1(_),O.forEach(function(k,K0){!(X.isUndefined(k)||k===null)&&Q.append(Z===!0?s4([_],K0,J):Z===null?_:_+"[]",B(k))}),!1}if(t4(F))return!0;return Q.append(s4(R,_,J),B(F)),!1}let q=Object.assign(e$,{defaultVisitor:S,convertValue:B,isVisitable:t4});function L(F,_,R=0){if(X.isUndefined(F))return;if(I(R),M.indexOf(F)!==-1)throw Error("Circular reference detected in "+_.join("."));M.push(F),X.forEach(F,function(v,k){if((!(X.isUndefined(v)||v===null)&&G.call(Q,v,X.isString(k)?k.trim():k,_,q))===!0)L(v,_?_.concat(k):[k],R+1)}),M.pop()}if(!X.isObject($))throw TypeError("data must be an object");return L($),Q}var r4=100,e$,S0;var u0=T(()=>{x();t();a4();e$=X.toFlatObject(X,{},null,function(Q){return/^is[A-Z]/.test(Q)});S0=$8});function o1($){let Q={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent($).replace(/[!'()~]|%20/g,function(W){return Q[W]})}function e1($,Q){this._pairs=[],$&&S0($,this,Q)}var $5,Q5;var Y5=T(()=>{u0();$5=e1.prototype;$5.append=function(Q,Y){this._pairs.push([Q,Y])};$5.toString=function(Q){let Y=Q?(W)=>Q.call(this,W,o1):o1;return this._pairs.map(function(G){return Y(G[0])+"="+Y(G[1])},"").join("&")};Q5=e1});function Q8($){return encodeURIComponent($).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function C0($,Q,Y){if(!Q)return $;$=$||"";let W=X.isFunction(Y)?{serialize:Y}:Y,G=X.getSafeProp(W,"encode")||Q8,J=X.getSafeProp(W,"serialize"),Z;if(J)Z=J(Q,W);else Z=X.isURLSearchParams(Q)?Q.toString():new Q5(Q,W).toString(G);if(Z){let z=$.indexOf("#");if(z!==-1)$=$.slice(0,z);$+=($.indexOf("?")===-1?"?":"&")+Z}return $}var C4=T(()=>{x();Y5()});class W5{constructor(){this.handlers=[]}use($,Q,Y){return this.handlers.push({fulfilled:$,rejected:Q,synchronous:Y?Y.synchronous:!1,runWhen:Y?Y.runWhen:null}),this.handlers.length-1}eject($){if(this.handlers[$])this.handlers[$]=null}clear(){if(this.handlers)this.handlers=[]}forEach($){X.forEach(this.handlers,function(Y){if(Y!==null)$(Y)})}}var o4;var G5=T(()=>{x();o4=W5});var D0;var W4=T(()=>{D0={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0}});import Y8 from"url";var Z5;var J5=T(()=>{Z5=Y8.URLSearchParams});import W8 from"crypto";var e4="abcdefghijklmnopqrstuvwxyz",X5="0123456789",K5,G8=($=16,Q=K5.ALPHA_DIGIT)=>{let Y="",{length:W}=Q,G=new Uint32Array($);W8.randomFillSync(G);for(let J=0;J<$;J++)Y+=Q[G[J]%W];return Y},z5;var N5=T(()=>{J5();a4();K5={DIGIT:X5,ALPHA:e4,ALPHA_DIGIT:e4+e4.toUpperCase()+X5},z5={isNode:!0,classes:{URLSearchParams:Z5,FormData:P4,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:K5,generateString:G8,protocols:["http","https","file","data"]}});var Y1={};Z8(Y1,{origin:()=>K8,navigator:()=>$1,hasStandardBrowserWebWorkerEnv:()=>X8,hasStandardBrowserEnv:()=>J8,hasBrowserEnv:()=>Q1});var Q1,$1,J8,X8,K8;var M5=T(()=>{Q1=typeof window<"u"&&typeof document<"u",$1=typeof navigator==="object"&&navigator||void 0,J8=Q1&&(!$1||["ReactNative","NativeScript","NS"].indexOf($1.product)<0),X8=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),K8=Q1&&window.location.href||"http://localhost"});var j;var Z0=T(()=>{N5();M5();j={...Y1,...z5}});function W1($,Q){return S0($,new j.classes.URLSearchParams,{visitor:function(Y,W,G,J){if(j.isNode&&X.isBuffer(Y))return this.append(W,Y.toString("base64")),!1;return J.defaultVisitor.apply(this,arguments)},...Q})}var B5=T(()=>{x();u0();Z0()});function I5($){if($>V5)throw new V("FormData field is too deeply nested ("+$+" levels). Max depth: "+V5,V.ERR_FORM_DATA_DEPTH_EXCEEDED)}function z8($){let Q=[],Y=/\w+|\[(\w*)]/g,W;while((W=Y.exec($))!==null)I5(Q.length),Q.push(W[0]==="[]"?"":W[1]||W[0]);return Q}function N8($){let Q={},Y=Object.keys($),W,G=Y.length,J;for(W=0;W<G;W++)J=Y[W],Q[J]=$[J];return Q}function M8($){function Q(Y,W,G,J){I5(J);let Z=Y[J++];if(Z==="__proto__")return!0;let z=Number.isFinite(+Z),K=J>=Y.length;if(Z=!Z&&X.isArray(G)?G.length:Z,K){if(X.hasOwnProp(G,Z))G[Z]=X.isArray(G[Z])?G[Z].concat(W):[G[Z],W];else G[Z]=W;return!z}if(!X.hasOwnProp(G,Z)||!X.isObject(G[Z]))G[Z]=[];if(Q(Y,W,G[Z],J)&&X.isArray(G[Z]))G[Z]=N8(G[Z]);return!z}if(X.isFormData($)&&X.isFunction($.entries)){let Y={};return X.forEachEntry($,(W,G)=>{Q(z8(W),G,Y,0)}),Y}return null}var V5,O4;var G1=T(()=>{x();t();u0();V5=r4;O4=M8});function B8($,Q,Y){if(X.isString($))try{return(Q||JSON.parse)($),X.trim($)}catch(W){if(W.name!=="SyntaxError")throw W}return(Y||JSON.stringify)($)}var c0=($,Q)=>$!=null&&X.hasOwnProp($,Q)?$[Q]:void 0,Z1,d0;var H4=T(()=>{x();t();W4();u0();B5();Z0();G1();Z1={transitional:D0,adapter:["xhr","http","fetch"],transformRequest:[function(Q,Y){let W=Y.getContentType()||"",G=W.indexOf("application/json")>-1,J=X.isObject(Q);if(J&&X.isHTMLForm(Q))Q=new FormData(Q);if(X.isFormData(Q))return G?JSON.stringify(O4(Q)):Q;if(X.isArrayBuffer(Q)||X.isBuffer(Q)||X.isStream(Q)||X.isFile(Q)||X.isBlob(Q)||X.isReadableStream(Q))return Q;if(X.isArrayBufferView(Q))return Q.buffer;if(X.isURLSearchParams(Q))return Y.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),Q.toString();let z;if(J){let K=c0(this,"formSerializer");if(W.indexOf("application/x-www-form-urlencoded")>-1)return W1(Q,K).toString();if((z=X.isFileList(Q))||W.indexOf("multipart/form-data")>-1){let N=c0(this,"env"),M=N&&N.FormData;return S0(z?{"files[]":Q}:Q,M&&new M,K)}}if(J||G)return Y.setContentType("application/json",!1),B8(Q);return Q}],transformResponse:[function(Q){let Y=c0(this,"transitional")||Z1.transitional,W=Y&&Y.forcedJSONParsing,G=c0(this,"responseType"),J=G==="json";if(X.isResponse(Q)||X.isReadableStream(Q))return Q;if(Q&&X.isString(Q)&&(W&&!G||J)){let z=!(Y&&Y.silentJSONParsing)&&J;try{return JSON.parse(Q,c0(this,"parseReviver"))}catch(K){if(z){if(K.name==="SyntaxError")throw V.from(K,V.ERR_BAD_RESPONSE,this,null,c0(this,"response"));throw K}}}return Q}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:j.classes.FormData,Blob:j.classes.Blob},validateStatus:function(Q){return Q>=200&&Q<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch","query"],($)=>{Z1.headers[$]={}});d0=Z1});function G4($,Q){let Y=this||d0,W=Q||Y,G=y.from(W.headers),J=W.data;return X.forEach($,function(z){J=z.call(Y,J,G.normalize(),Q?Q.status:void 0)}),G.normalize(),J}var F5=T(()=>{x();H4();G0()});function Z4($){return!!($&&$.__CANCEL__)}var J1=()=>{};var U5,$0;var O0=T(()=>{t();U5=class U5 extends V{constructor($,Q,Y){super($==null?"canceled":$,V.ERR_CANCELED,Q,Y);this.name="CanceledError",this.__CANCEL__=!0}};$0=U5});function M0($,Q,Y){let W=Y.config.validateStatus;if(!Y.status||!W||W(Y.status))$(Y);else Q(new V("Request failed with status code "+Y.status,Y.status>=400&&Y.status<500?V.ERR_BAD_REQUEST:V.ERR_BAD_RESPONSE,Y.config,Y.request,Y))}var E4=T(()=>{t()});function X1($){if(typeof $!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test($)}var L5=()=>{};function K1($,Q){return Q?$.replace(/\/?\/$/,"")+"/"+Q.replace(/^\/+/,""):$}var w5=()=>{};function F8($){let Q=0;while(Q<$.length&&$.charCodeAt(Q)<=32)Q++;return $.slice(Q)}function U8($){return F8($).replace(I8,"")}function S5($,Q){if(typeof $==="string"&&V8.test(U8($)))throw new V('Invalid URL: missing "//" after protocol',V.ERR_INVALID_URL,Q)}function H0($,Q,Y,W){S5(Q,W);let G=!X1(Q);if($&&(G||Y===!1))return S5($,W),K1($,Q);return Q}var V8,I8;var A4=T(()=>{t();L5();w5();V8=/^https?:(?!\/\/)/i,I8=/[\t\n\r]/g});var _5=J4((D5)=>{Object.defineProperty(D5,"__esModule",{value:!0});function L8($){return function(Q,Y){return new Promise((W,G)=>{$.call(this,Q,Y,(J,Z)=>{if(J)G(J);else W(Z)})})}}D5.default=L8});var q5=J4((N1,R5)=>{var T5=N1&&N1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},S8=K4("events"),D8=T5(M1()),_8=T5(_5()),X4=D8.default("agent-base");function T8($){return Boolean($)&&typeof $.addRequest==="function"}function z1(){let{stack:$}=Error();if(typeof $!=="string")return!1;return $.split(`
4
- `).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}function j4($,Q){return new j4.Agent($,Q)}(function($){class Q extends S8.EventEmitter{constructor(Y,W){super();let G=W;if(typeof Y==="function")this.callback=Y;else if(Y)G=Y;if(this.timeout=null,G&&typeof G.timeout==="number")this.timeout=G.timeout;this.maxFreeSockets=1,this.maxSockets=1,this.maxTotalSockets=1/0,this.sockets={},this.freeSockets={},this.requests={},this.options={}}get defaultPort(){if(typeof this.explicitDefaultPort==="number")return this.explicitDefaultPort;return z1()?443:80}set defaultPort(Y){this.explicitDefaultPort=Y}get protocol(){if(typeof this.explicitProtocol==="string")return this.explicitProtocol;return z1()?"https:":"http:"}set protocol(Y){this.explicitProtocol=Y}callback(Y,W,G){throw Error('"agent-base" has no default implementation, you must subclass and override `callback()`')}addRequest(Y,W){let G=Object.assign({},W);if(typeof G.secureEndpoint!=="boolean")G.secureEndpoint=z1();if(G.host==null)G.host="localhost";if(G.port==null)G.port=G.secureEndpoint?443:80;if(G.protocol==null)G.protocol=G.secureEndpoint?"https:":"http:";if(G.host&&G.path)delete G.path;delete G.agent,delete G.hostname,delete G._defaultAgent,delete G.defaultPort,delete G.createConnection,Y._last=!0,Y.shouldKeepAlive=!1;let J=!1,Z=null,z=G.timeout||this.timeout,K=(I)=>{if(Y._hadError)return;Y.emit("error",I),Y._hadError=!0},N=()=>{Z=null,J=!0;let I=Error(`A "socket" was not created for HTTP request before ${z}ms`);I.code="ETIMEOUT",K(I)},M=(I)=>{if(J)return;if(Z!==null)clearTimeout(Z),Z=null;K(I)},B=(I)=>{if(J)return;if(Z!=null)clearTimeout(Z),Z=null;if(T8(I)){X4("Callback returned another Agent instance %o",I.constructor.name),I.addRequest(Y,G);return}if(I){I.once("free",()=>{this.freeSocket(I,G)}),Y.onSocket(I);return}let U=Error(`no Duplex stream was returned to agent-base for \`${Y.method} ${Y.path}\``);K(U)};if(typeof this.callback!=="function"){K(Error("`callback` is not defined"));return}if(!this.promisifiedCallback)if(this.callback.length>=3)X4("Converting legacy callback function to promise"),this.promisifiedCallback=_8.default(this.callback);else this.promisifiedCallback=this.callback;if(typeof z==="number"&&z>0)Z=setTimeout(N,z);if("port"in G&&typeof G.port!=="number")G.port=Number(G.port);try{X4("Resolving socket for %o request: %o",G.protocol,`${Y.method} ${Y.path}`),Promise.resolve(this.promisifiedCallback(Y,G)).then(B,M)}catch(I){Promise.reject(I).catch(M)}}freeSocket(Y,W){X4("Freeing socket %o %o",Y.constructor.name,W),Y.destroy()}destroy(){X4("Destroying agent %o",this.constructor.name)}}$.Agent=Q,$.prototype=$.Agent.prototype})(j4||(j4={}));R5.exports=j4});var P5=J4((N4)=>{var R8=N4&&N4.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(N4,"__esModule",{value:!0});var q8=R8(M1()),z4=q8.default("https-proxy-agent:parse-proxy-response");function P8($){return new Promise((Q,Y)=>{let W=0,G=[];function J(){let B=$.read();if(B)M(B);else $.once("readable",J)}function Z(){$.removeListener("end",K),$.removeListener("error",N),$.removeListener("close",z),$.removeListener("readable",J)}function z(B){z4("onclose had error %o",B)}function K(){z4("onend")}function N(B){Z(),z4("onerror %o",B),Y(B)}function M(B){G.push(B),W+=B.length;let I=Buffer.concat(G,W);if(I.indexOf(`\r
5
- \r
6
- `)===-1){z4("have not received end of HTTP headers yet..."),J();return}let S=I.toString("ascii",0,I.indexOf(`\r
7
- `)),q=+S.split(" ")[1];z4("got proxy server response: %o",S),Q({statusCode:q,buffered:I})}$.on("error",N),$.on("close",z),$.on("end",K),J()})}N4.default=P8});var E5=J4((E0)=>{var C8=E0&&E0.__awaiter||function($,Q,Y,W){function G(J){return J instanceof Y?J:new Y(function(Z){Z(J)})}return new(Y||(Y=Promise))(function(J,Z){function z(M){try{N(W.next(M))}catch(B){Z(B)}}function K(M){try{N(W.throw(M))}catch(B){Z(B)}}function N(M){M.done?J(M.value):G(M.value).then(z,K)}N((W=W.apply($,Q||[])).next())})},l0=E0&&E0.__importDefault||function($){return $&&$.__esModule?$:{default:$}};Object.defineProperty(E0,"__esModule",{value:!0});var C5=l0(K4("net")),O5=l0(K4("tls")),O8=l0(K4("url")),H8=l0(K4("assert")),E8=l0(M1()),A8=q5(),j8=l0(P5()),M4=E8.default("https-proxy-agent:agent");class H5 extends A8.Agent{constructor($){let Q;if(typeof $==="string")Q=O8.default.parse($);else Q=$;if(!Q)throw Error("an HTTP(S) proxy server `host` and `port` must be specified!");M4("creating new HttpsProxyAgent instance: %o",Q);super(Q);let Y=Object.assign({},Q);if(this.secureProxy=Q.secureProxy||x8(Y.protocol),Y.host=Y.hostname||Y.host,typeof Y.port==="string")Y.port=parseInt(Y.port,10);if(!Y.port&&Y.host)Y.port=this.secureProxy?443:80;if(this.secureProxy&&!("ALPNProtocols"in Y))Y.ALPNProtocols=["http 1.1"];if(Y.host&&Y.path)delete Y.path,delete Y.pathname;this.proxy=Y}callback($,Q){return C8(this,void 0,void 0,function*(){let{proxy:Y,secureProxy:W}=this,G;if(W)M4("Creating `tls.Socket`: %o",Y),G=O5.default.connect(Y);else M4("Creating `net.Socket`: %o",Y),G=C5.default.connect(Y);let J=Object.assign({},Y.headers),z=`CONNECT ${`${Q.host}:${Q.port}`} HTTP/1.1\r
8
- `;if(Y.auth)J["Proxy-Authorization"]=`Basic ${Buffer.from(Y.auth).toString("base64")}`;let{host:K,port:N,secureEndpoint:M}=Q;if(!b8(N,M))K+=`:${N}`;J.Host=K,J.Connection="close";for(let q of Object.keys(J))z+=`${q}: ${J[q]}\r
9
- `;let B=j8.default(G);G.write(`${z}\r
10
- `);let{statusCode:I,buffered:U}=yield B;if(I===200){if($.once("socket",k8),Q.secureEndpoint){M4("Upgrading socket connection to TLS");let q=Q.servername||Q.host;return O5.default.connect(Object.assign(Object.assign({},v8(Q,"host","hostname","path","port")),{socket:G,servername:q}))}return G}G.destroy();let S=new C5.default.Socket({writable:!1});return S.readable=!0,$.once("socket",(q)=>{M4("replaying proxy buffer for failed request"),H8.default(q.listenerCount("data")>0),q.push(U),q.push(null)}),S})}}E0.default=H5;function k8($){$.resume()}function b8($,Q){return Boolean(!Q&&$===80||Q&&$===443)}function x8($){return typeof $==="string"?/^https:?$/i.test($):!1}function v8($,...Q){let Y={},W;for(W in $)if(!Q.includes(W))Y[W]=$[W];return Y}});var j5=J4((I1,A5)=>{var y8=I1&&I1.__importDefault||function($){return $&&$.__esModule?$:{default:$}},B1=y8(E5());function V1($){return new B1.default($)}(function($){$.HttpsProxyAgent=B1.default,$.prototype=B1.default.prototype})(V1||(V1={}));A5.exports=V1});var I0="1.18.1";var B4=()=>{};function V4($){let Q=/^([-+\w]{1,25}):(?:\/\/)?/.exec($);return Q&&Q[1]||""}var F1=()=>{};function U1($,Q,Y){let W=Y&&Y.Blob||j.classes.Blob,G=V4($);if(Q===void 0&&W)Q=!0;if(G==="data"){$=G.length?$.slice(G.length+1):$;let J=m8.exec($);if(!J)throw new V("Invalid URL",V.ERR_INVALID_URL);let Z=J[1],z=J[2],K=J[3]?"base64":"utf8",N=J[4],M="";if(Z)M=z?Z+z:Z;else if(z)M="text/plain"+z;let B=K==="base64"?Buffer.from(N,"base64"):Buffer.from(decodeURIComponent(N),K);if(Q){if(!W)throw new V("Blob is not supported",V.ERR_NOT_SUPPORT);return new W([B],{type:M})}return B}throw new V("Unsupported protocol "+G,V.ERR_NOT_SUPPORT)}var m8;var k5=T(()=>{t();F1();Z0();m8=/^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/});import f8 from"stream";var L1,b5,w1;var x5=T(()=>{x();L1=Symbol("internals");b5=class b5 extends f8.Transform{constructor($){$=X.toFlatObject($,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(Y,W)=>{return!X.isUndefined(W[Y])});super({readableHighWaterMark:$.chunkSize});let Q=this[L1]={timeWindow:$.timeWindow,chunkSize:$.chunkSize,maxRate:$.maxRate,minChunkSize:$.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(Y)=>{if(Y==="progress"){if(!Q.isCaptured)Q.isCaptured=!0}})}_read($){let Q=this[L1];if(Q.onReadCallback)Q.onReadCallback();return super._read($)}_transform($,Q,Y){let W=this[L1],G=W.maxRate,J=this.readableHighWaterMark,Z=W.timeWindow,z=1000/Z,K=G/z,N=W.minChunkSize!==!1?Math.max(W.minChunkSize,K*0.01):0,M=(I,U)=>{let S=Buffer.byteLength(I);if(W.bytesSeen+=S,W.bytes+=S,W.isCaptured&&this.emit("progress",W.bytesSeen),this.push(I))process.nextTick(U);else W.onReadCallback=()=>{W.onReadCallback=null,process.nextTick(U)}},B=(I,U)=>{let S=Buffer.byteLength(I),q=null,L=J,F,_=0;if(G){let R=Date.now();if(!W.ts||(_=R-W.ts)>=Z)W.ts=R,F=K-W.bytes,W.bytes=F<0?-F:0,_=0;F=K-W.bytes}if(G){if(F<=0)return setTimeout(()=>{U(null,I)},Z-_);if(F<L)L=F}if(L&&S>L&&S-L>N)q=I.subarray(L),I=I.subarray(0,L);M(I,q?()=>{process.nextTick(U,null,q)}:U)};B($,function I(U,S){if(U)return Y(U);if(S)B(S,I);else Y(null)})}};w1=b5});var v5,h8=async function*($){if($.stream)yield*$.stream();else if($.arrayBuffer)yield await $.arrayBuffer();else if($[v5])yield*$[v5]();else yield $},k4;var S1=T(()=>{({asyncIterator:v5}=Symbol),k4=h8});import g8 from"util";import{Readable as u8}from"stream";class y5{constructor($,Q){let{escapeName:Y}=this.constructor,W=X.isString(Q),G=`Content-Disposition: form-data; name="${Y($)}"${!W&&Q.name?`; filename="${Y(Q.name)}"`:""}${A0}`;if(W)Q=I4.encode(String(Q).replace(/\r?\n|\r\n?/g,A0));else{let J=String(Q.type||"application/octet-stream").replace(/[\r\n]/g,"");G+=`Content-Type: ${J}${A0}`}this.headers=I4.encode(G+A0),this.contentLength=W?Q.byteLength:Q.size,this.size=this.headers.byteLength+this.contentLength+l8,this.name=$,this.value=Q}async*encode(){yield this.headers;let{value:$}=this;if(X.isTypedArray($))yield $;else yield*k4($);yield d8}static escapeName($){return String($).replace(/[\r\n"]/g,(Q)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[Q])}}var c8,I4,A0=`\r
11
- `,d8,l8=2,p8=($,Q,Y)=>{let{tag:W="form-data-boundary",size:G=25,boundary:J=W+"-"+j.generateString(G,c8)}=Y||{};if(!X.isFormData($))throw TypeError("FormData instance required");if(J.length<1||J.length>70)throw Error("boundary must be 1-70 characters long");let Z=I4.encode("--"+J+A0),z=I4.encode("--"+J+"--"+A0),K=z.byteLength,N=Array.from($.entries()).map(([B,I])=>{let U=new y5(B,I);return K+=U.size,U});K+=Z.byteLength*N.length,K=X.toFiniteNumber(K);let M={"Content-Type":`multipart/form-data; boundary=${J}`};if(Number.isFinite(K))M["Content-Length"]=K;return Q&&Q(M),u8.from(async function*(){for(let B of N)yield Z,yield*B.encode();yield z}())},m5;var f5=T(()=>{x();S1();Z0();c8=j.ALPHABET.ALPHA_DIGIT+"-_",I4=typeof TextEncoder==="function"?new TextEncoder:new g8.TextEncoder,d8=I4.encode(A0);m5=p8});import i8 from"stream";var h5,g5;var u5=T(()=>{h5=class h5 extends i8.Transform{__transform($,Q,Y){this.push($),Y()}_transform($,Q,Y){if($.length!==0){if(this._transform=this.__transform,$[0]!==120){let W=Buffer.alloc(2);W[0]=120,W[1]=156,this.push(W,Q)}}this.__transform($,Q,Y)}};g5=h5});import n8 from"http2";import a8 from"util";class c5{constructor(){this.sessions=Object.create(null)}getSession($,Q){Q=Object.assign({sessionTimeout:1000},Q);let Y=this.sessions[$];if(Y){let M=Y.length;for(let B=0;B<M;B++){let[I,U]=Y[B];if(!I.destroyed&&!I.closed&&a8.isDeepStrictEqual(U,Q))return I}}let W=n8.connect($,Q),G,J,Z=()=>{if(G)return;if(G=!0,J)clearTimeout(J),J=null;let M=Y,B=M.length,I=B;while(I--)if(M[I][0]===W){if(B===1)delete this.sessions[$];else M.splice(I,1);if(!W.closed)W.close();return}},z=W.request,{sessionTimeout:K}=Q;if(K!=null){let M=0;W.request=function(){let B=z.apply(this,arguments);if(M++,J)clearTimeout(J),J=null;return B.once("close",()=>{if(!--M)J=setTimeout(()=>{J=null,Z()},K)}),B}}W.once("close",Z);let N=[W,Q];return Y?Y.push(N):Y=this.sessions[$]=[N],W}}var d5;var l5=T(()=>{d5=c5});var s8=($,Q)=>{return X.isAsyncFn($)?function(...Y){let W=Y.pop();$.apply(this,Y).then((G)=>{try{Q?W(null,...Q(G)):W(null,G)}catch(J){W(J)}},W)}:$},p5;var i5=T(()=>{x();p5=s8});function _1($){let Q;try{Q=new URL($)}catch(J){return!1}let Y=(process.env.no_proxy||process.env.NO_PROXY||"").toLowerCase();if(!Y)return!1;if(Y==="*")return!0;let W=Number.parseInt(Q.port,10)||e8[Q.protocol.split(":",1)[0]]||0,G=a5(Q.hostname.toLowerCase());return Y.split(/[\s,]+/).some((J)=>{if(!J)return!1;let[Z,z]=$Q(J);if(Z=a5(Z),!Z)return!1;if(z&&z!==W)return!1;if(Z.charAt(0)==="*")Z=Z.slice(1);if(Z.charAt(0)===".")return G.endsWith(Z);return G===Z||n5(G)&&n5(Z)})}var t8,s5=($)=>{let Q=$.split(".");if(Q.length!==4)return!1;if(Q[0]!=="127")return!1;return Q.every((Y)=>/^\d+$/.test(Y)&&Number(Y)>=0&&Number(Y)<=255)},D1=($)=>/^0{1,4}$/.test($),r8=($)=>{if($==="::")return!0;let Q=$.indexOf("::");if(Q!==-1){if(Q!==$.lastIndexOf("::"))return!1;let W=$.slice(0,Q),G=$.slice(Q+2),J=W?W.split(":"):[],Z=G?G.split(":"):[];return J.length+Z.length<8&&J.every(D1)&&Z.every(D1)}let Y=$.split(":");return Y.length===8&&Y.every(D1)},o8=($)=>{if($==="::1")return!0;let Q=$.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);if(Q)return s5(Q[1]);let Y=$.match(/^::ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i);if(Y){let G=parseInt(Y[1],16);return G>=32512&&G<=32767}let W=$.split(":");if(W.length===8){for(let G=0;G<7;G++)if(!/^0+$/.test(W[G]))return!1;return/^0*1$/.test(W[7])}return!1},n5=($)=>{if(!$)return!1;if(t8.has($))return!0;if(s5($))return!0;if(r8($))return!0;return o8($)},e8,$Q=($)=>{let Q=$,Y=0;if(Q.charAt(0)==="["){let J=Q.indexOf("]");if(J!==-1){let Z=Q.slice(1,J),z=Q.slice(J+1);if(z.charAt(0)===":"&&/^\d+$/.test(z.slice(1)))Y=Number.parseInt(z.slice(1),10);return[Z,Y]}}let W=Q.indexOf(":"),G=Q.lastIndexOf(":");if(W!==-1&&W===G&&/^\d+$/.test(Q.slice(G+1)))Y=Number.parseInt(Q.slice(G+1),10),Q=Q.slice(0,G);return[Q,Y]},QQ,YQ,WQ=($)=>{if(typeof $!=="string"||$.indexOf(":")===-1)return $;let Q=$.match(QQ);if(Q)return Q[1];let Y=$.match(YQ);if(Y){let W=parseInt(Y[1],16),G=parseInt(Y[2],16);return`${W>>8}.${W&255}.${G>>8}.${G&255}`}return $},a5=($)=>{if(!$)return $;if($.charAt(0)==="["&&$.charAt($.length-1)==="]")$=$.slice(1,-1);return WQ($.replace(/\.+$/,""))};var t5=T(()=>{t8=new Set(["localhost","0.0.0.0"]),e8={http:80,https:443,ws:80,wss:443,ftp:21},QQ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:(\d+\.\d+\.\d+\.\d+)$/i,YQ=/^(?:::|(?:0{1,4}:){1,4}:|(?:0{1,4}:){5})ffff:([0-9a-f]{1,4}):([0-9a-f]{1,4})$/i});function GQ($,Q){$=$||10;let Y=Array($),W=Array($),G=0,J=0,Z;return Q=Q!==void 0?Q:1000,function(K){let N=Date.now(),M=W[J];if(!Z)Z=N;Y[G]=K,W[G]=N;let B=J,I=0;while(B!==G)I+=Y[B++],B=B%$;if(G=(G+1)%$,G===J)J=(J+1)%$;if(N-Z<Q)return;let U=M&&N-M;return U?Math.round(I*1000/U):void 0}}var r5;var o5=T(()=>{r5=GQ});function ZQ($,Q){let Y=0,W=1000/Q,G,J,Z=(N,M=Date.now())=>{if(Y=M,G=null,J)clearTimeout(J),J=null;$(...N)};return[(...N)=>{let M=Date.now(),B=M-Y;if(B>=W)Z(N,M);else if(G=N,!J)J=setTimeout(()=>{J=null,Z(G)},W-B)},()=>G&&Z(G)]}var e5;var $6=T(()=>{e5=ZQ});var F0=($,Q,Y=3)=>{let W=0,G=r5(50,250);return e5((J)=>{if(!J||typeof J.loaded!=="number")return;let Z=J.loaded,z=J.lengthComputable?J.total:void 0,K=z!=null?Math.min(Z,z):Z,N=Math.max(0,K-W),M=G(N);W=Math.max(W,K);let B={loaded:K,total:z,progress:z?K/z:void 0,bytes:N,rate:M?M:void 0,estimated:M&&z?(z-K)/M:void 0,event:J,lengthComputable:z!=null,[Q?"download":"upload"]:!0};$(B)},Y)},p0=($,Q)=>{let Y=$!=null;return[(W)=>Q[0]({lengthComputable:Y,total:$,loaded:W}),Q[1]]},i0=($)=>(...Q)=>X.asap(()=>$(...Q));var b4=T(()=>{o5();$6();x()});function F4($){if(!$||typeof $!=="string")return 0;if(!$.startsWith("data:"))return 0;let Q=$.indexOf(",");if(Q<0)return 0;let Y=$.slice(5,Q),W=$.slice(Q+1);if(/;base64/i.test(Y)){let{length:Z,length:z}=W;for(let U=0;U<z;U++)if(W.charCodeAt(U)===37&&U+2<z){let S=W.charCodeAt(U+1),q=W.charCodeAt(U+2);if(x4(S)&&x4(q))Z-=2,U+=2}let K=0,N=z-1,M=(U)=>U>=2&&W.charCodeAt(U-2)===37&&W.charCodeAt(U-1)===51&&(W.charCodeAt(U)===68||W.charCodeAt(U)===100);if(N>=0){if(W.charCodeAt(N)===61)K++,N--;else if(M(N))K++,N-=3}if(K===1&&N>=0){if(W.charCodeAt(N)===61)K++;else if(M(N))K++}let I=Math.floor(Z/4)*3-(K||0);return I>0?I:0}let J=0;for(let Z=0,z=W.length;Z<z;Z++){let K=W.charCodeAt(Z);if(K===37&&JQ(W,Z,z))J+=1,Z+=2;else if(K<128)J+=1;else if(K<2048)J+=2;else if(K>=55296&&K<=56319&&Z+1<z){let N=W.charCodeAt(Z+1);if(N>=56320&&N<=57343)J+=4,Z++;else J+=3}else J+=3}return J}var x4=($)=>$>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102,JQ=($,Q,Y)=>Q+2<Y&&x4($.charCodeAt(Q+1))&&x4($.charCodeAt(Q+2));var T1=()=>{};import M6 from"http";import B6 from"https";import zQ from"http2";import NQ from"util";import{resolve as Q6}from"path";import Y0 from"zlib";import J0 from"stream";import{EventEmitter as MQ}from"events";function wQ($,Q,Y){if(Y!=="content-only"){$.set(Q);return}Object.entries(Q).forEach(([W,G])=>{if(LQ.includes(W.toLowerCase()))$.set(W,G)})}function DQ($=process.versions&&process.versions.node){if(!$)return!1;let[Q,Y]=$.split(".").map((W)=>Number(W));if(!Number.isInteger(Q)||!Number.isInteger(Y))return!1;if(Q>24)return!0;return Z6[Q]!=null&&Y>=Z6[Q]}function _Q($,Q=process.versions&&process.versions.node){if(!DQ(Q))return!1;let Y=$&&$.options;return Boolean(Y&&X.hasOwnProp(Y,"proxyEnv")&&Y.proxyEnv!=null)}function TQ($,Q,Y){return q1.test($.protocol)?Y||B6.globalAgent:Q||M6.globalAgent}function RQ($,Q){let Y=$.protocol+"//"+$.hostname+":"+($.port||"")+"#"+($.auth||""),W=Q?G6.get(Q)||G6.set(Q,new Map).get(Q):SQ,G=W.get(Y);if(G)return G;let J=Q&&Q.options?{...Q.options,...$}:$;if(G=new R1.default(J),Q&&Q.options){let Z={...Q.options},z=G.callback;G.callback=function(N,M){return z.call(this,N,{...Z,...M})}}return G[L6]=!0,W.set(Y,G),G}function PQ($,Q,Y){if($.beforeRedirects.proxy)$.beforeRedirects.proxy($);if($.beforeRedirects.auth)$.beforeRedirects.auth($);if($.beforeRedirects.sensitiveHeaders)$.beforeRedirects.sensitiveHeaders($,Y);if($.beforeRedirects.config)$.beforeRedirects.config($,Q,Y)}function CQ($,Q){if(!$)return;Object.keys($).forEach((Y)=>{if(Q.has(Y.toLowerCase()))delete $[Y]})}function OQ($,Q){if(!Q)return!1;try{return new URL(Q.url).origin===new URL($.href).origin}catch(Y){return!1}}function w6($,Q,Y,W,G,J){let Z=Q,z=TQ($,J,G);if(!Z&&Z!==!1&&!_Q(z)){let K=N6(Y);if(K){if(!_1(Y))Z=new URL(K)}}if(W&&$.headers){for(let K of Object.keys($.headers))if(K.toLowerCase()==="proxy-authorization")delete $.headers[K]}if(W&&$.agent&&$.agent[L6])$.agent=void 0;if(Z){let K=Z instanceof URL,N=(S)=>K||X.hasOwnProp(Z,S)?Z[S]:void 0,M=N("username"),B=N("password"),I=X.hasOwnProp(Z,"auth")?Z.auth:void 0;if(M)I=(M||"")+":"+(B||"");if(I){let S=typeof I==="object",q=S&&X.hasOwnProp(I,"username")?I.username:void 0,L=S&&X.hasOwnProp(I,"password")?I.password:void 0;if(Boolean(q||L))I=(q||"")+":"+(L||"");else if(S)throw new V("Invalid proxy authorization",V.ERR_BAD_OPTION,{proxy:Z})}if(q1.test($.protocol)){if(!(G instanceof R1.default)){let S=N("hostname")||N("host"),q=N("port"),L=N("protocol"),F=L?L.includes(":")?L:`${L}:`:"http:",_=S&&S.includes(":")&&!S.startsWith("[")?`[${S}]`:S,R=new URL(`${F}//${_}${q?":"+q:""}`),O={protocol:R.protocol,hostname:R.hostname.replace(/^\[|\]$/g,""),port:R.port,auth:I&&typeof I==="string"?I:void 0};if(R.protocol==="https:")O.ALPNProtocols=["http/1.1"];let v=RQ(O,G);if($.agent=v,$.agents)$.agents.https=v}}else{if(I){let F=Buffer.from(I,"utf8").toString("base64");$.headers["Proxy-Authorization"]="Basic "+F}let S=!1;for(let F of Object.keys($.headers))if(F.toLowerCase()==="host"){S=!0;break}if(!S)$.headers.host=$.hostname+($.port?":"+$.port:"");let q=N("hostname")||N("host");$.hostname=q,$.host=q,$.port=N("port"),$.path=Y;let L=N("protocol");if(L)$.protocol=L.includes(":")?L:`${L}:`}}$.beforeRedirects.proxy=function(N){w6(N,Q,N.href,!0,G,J)}}var R1,V6,Y6,BQ,VQ,I6,F6,U6,IQ,FQ,UQ,q1,LQ,W6,v4,L6,SQ,G6,Z6,J6,X6=($)=>{if(!X.isString($))return $;try{return decodeURIComponent($)}catch(Q){return $}},K6=($,[Q,Y])=>{return $.on("end",Y).on("error",Y),Q},qQ,HQ,EQ=($)=>{return new Promise((Q,Y)=>{let W,G,J=(K,N)=>{if(G)return;G=!0,W&&W(K,N)},Z=(K)=>{J(K),Q(K)},z=(K)=>{J(K,!0),Y(K)};$(Z,z,(K)=>W=K).catch(z)})},AQ=({address:$,family:Q})=>{if(!X.isString($))throw TypeError("address must be a string");return{address:$,family:Q||($.indexOf(".")<0?6:4)}},z6=($,Q)=>AQ(X.isObject($)?$:{address:$,family:Q}),jQ,S6;var D6=T(()=>{x();E4();A4();C4();XQ();B4();W4();t();O0();Z0();k5();G0();x5();f5();S1();u5();l5();i5();t5();$4();b4();T1();R1=n4(j5(),1),V6=n4(KQ(),1),Y6={flush:Y0.constants.Z_SYNC_FLUSH,finishFlush:Y0.constants.Z_SYNC_FLUSH},BQ={flush:Y0.constants.BROTLI_OPERATION_FLUSH,finishFlush:Y0.constants.BROTLI_OPERATION_FLUSH},VQ={flush:Y0.constants.ZSTD_e_flush,finishFlush:Y0.constants.ZSTD_e_flush},I6=X.isFunction(Y0.createBrotliDecompress),F6=X.isFunction(Y0.createZstdDecompress),U6="gzip, compress, deflate"+(I6?", br":""),IQ=U6+(F6?", zstd":""),{http:FQ,https:UQ}=V6.default,q1=/https:?/,LQ=["content-type","content-length"];W6=Symbol("axios.http.socketListener"),v4=Symbol("axios.http.currentReq"),L6=Symbol("axios.http.installedTunnel"),SQ=new Map,G6=new WeakMap,Z6={22:21,24:5};J6=j.protocols.map(($)=>{return $+":"}),qQ=new d5;HQ=typeof process<"u"&&X.kindOf(process)==="process",jQ={request($,Q){let Y=$.protocol+"//"+$.hostname+":"+($.port||($.protocol==="https:"?443:80)),{http2Options:W,headers:G}=$,J=qQ.getSession(Y,W),{HTTP2_HEADER_SCHEME:Z,HTTP2_HEADER_METHOD:z,HTTP2_HEADER_PATH:K,HTTP2_HEADER_STATUS:N}=zQ.constants,M={[Z]:$.protocol.replace(":",""),[z]:$.method,[K]:$.path};X.forEach(G,(I,U)=>{U.charAt(0)!==":"&&(M[U]=I)});let B=J.request(M);return B.once("response",(I)=>{let U=B;I=Object.assign({},I);let S=I[N];delete I[N],U.headers=I,U.statusCode=+S,Q(U)}),B}},S6=HQ&&function(Q){return EQ(async function(W,G,J){let Z=(D)=>X.getSafeProp(Q,D),z=Z("transitional")||D0,K=Z("data"),N=Z("lookup"),M=Z("family"),B=Z("httpVersion");if(B===void 0)B=1;let I=Z("http2Options"),U=Z("httpAgent"),S=Z("httpsAgent"),q=Z("proxy"),L=Z("responseType"),F=Z("responseEncoding"),_=Z("socketPath"),R=Z("method").toUpperCase(),O=Z("maxRedirects"),v=Z("maxBodyLength"),k=Z("maxContentLength"),K0=Z("decompress"),j0,U0=!1,E,e;if(B=+B,Number.isNaN(B))throw TypeError(`Invalid protocol version: '${Q.httpVersion}' is not a number`);if(B!==1&&B!==2)throw TypeError(`Unsupported protocol version '${B}'`);let k0=B===2;if(N){let D=p5(N,(w)=>X.isArray(w)?w:[w]);N=(w,H,h)=>{D(w,H,(C,l,s)=>{if(C)return h(C);let u=X.isArray(l)?l.map((v0)=>z6(v0)):[z6(l,s)];H.all?h(C,u):h(C,u[0].address,u[0].family)})}}let L0=new MQ;function c(D){try{L0.emit("abort",!D||D.type?new $0(null,Q,E):D)}catch(w){}}function B0(){if(e)clearTimeout(e),e=null}function _0(){let D=Z("timeout"),w=D?"timeout of "+D+"ms exceeded":"timeout exceeded",H=Z("timeoutErrorMessage");if(H)w=H;return new V(w,z.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,Q,E)}L0.once("abort",G);let T0=()=>{if(B0(),Q.cancelToken)Q.cancelToken.unsubscribe(c);if(Q.signal)Q.signal.removeEventListener("abort",c);L0.removeAllListeners()};if(Q.cancelToken||Q.signal){if(Q.cancelToken&&Q.cancelToken.subscribe(c),Q.signal)Q.signal.aborted?c():Q.signal.addEventListener("abort",c)}J((D,w)=>{if(j0=!0,B0(),w){U0=!0,T0();return}let{data:H}=D;if(H instanceof J0.Readable||H instanceof J0.Duplex){let h=J0.finished(H,()=>{h(),T0()})}else T0()});let S4=H0(Z("baseURL"),Z("url"),Z("allowAbsoluteUrls"),Q),D4=_?"http://localhost":j.hasBrowserEnv?j.origin:void 0,m=new URL(S4,D4),f=m.protocol||J6[0];if(f==="data:"){if(k>-1){let w=String(Z("url")||S4||"");if(F4(w)>k)return G(new V("maxContentLength size of "+k+" exceeded",V.ERR_BAD_RESPONSE,Q))}let D;if(R!=="GET")return M0(W,G,{status:405,statusText:"method not allowed",headers:{},config:Q});try{D=U1(Z("url"),L==="blob",{Blob:Q.env&&Q.env.Blob})}catch(w){throw V.from(w,V.ERR_BAD_REQUEST,Q)}if(L==="text"){if(D=D.toString(F),!F||F==="utf8")D=X.stripBOM(D)}else if(L==="stream")D=J0.Readable.from(D);return M0(W,G,{data:D,status:200,statusText:"OK",headers:new y,config:Q})}if(J6.indexOf(f)===-1)return G(new V("Unsupported protocol "+f,V.ERR_BAD_REQUEST,Q));let g=y.from(Q.headers).normalize();g.set("User-Agent","axios/"+I0,!1);let{onUploadProgress:z0,onDownloadProgress:V0}=Q,R0=Q.maxRate,A=void 0,i=void 0;if(X.isSpecCompliantForm(K)){let D=g.getContentType(/boundary=([-_\w\d]{10,70})/i);K=m5(K,(w)=>{g.set(w)},{tag:`axios-${I0}-boundary`,boundary:D&&D[1]||void 0})}else if(X.isFormData(K)&&X.isFunction(K.getHeaders)&&K.getHeaders!==Object.prototype.getHeaders){if(wQ(g,K.getHeaders(),Z("formDataHeaderPolicy")),!g.hasContentLength())try{let D=await NQ.promisify(K.getLength).call(K);Number.isFinite(D)&&D>=0&&g.setContentLength(D)}catch(D){}}else if(X.isBlob(K)||X.isFile(K))K.size&&g.setContentType(K.type||"application/octet-stream"),g.setContentLength(K.size||0),K=J0.Readable.from(k4(K));else if(K&&!X.isStream(K)){if(Buffer.isBuffer(K));else if(X.isArrayBuffer(K))K=Buffer.from(new Uint8Array(K));else if(X.isString(K))K=Buffer.from(K,"utf-8");else return G(new V("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",V.ERR_BAD_REQUEST,Q));if(g.setContentLength(K.length,!1),v>-1&&K.length>v)return G(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Q))}let b0=X.toFiniteNumber(g.getContentLength());if(X.isArray(R0))A=R0[0],i=R0[1];else A=i=R0;if(K&&(z0||A)){if(!X.isStream(K))K=J0.Readable.from(K,{objectMode:!1});K=J0.pipeline([K,new w1({maxRate:X.toFiniteNumber(A)})],X.noop),z0&&K.on("progress",K6(K,p0(b0,F0(i0(z0),!1,3))))}let N0=void 0,n0=Z("auth");if(n0){let D=X.getSafeProp(n0,"username")||"",w=X.getSafeProp(n0,"password")||"";N0=D+":"+w}if(!N0&&(m.username||m.password)){let D=X6(m.username),w=X6(m.password);N0=D+":"+w}N0&&g.delete("authorization");let a0;try{a0=C0(m.pathname+m.search,Z("params"),Z("paramsSerializer")).replace(/^\?/,"")}catch(D){return G(V.from(D,V.ERR_BAD_REQUEST,Q,null,null,{url:Z("url"),exists:!0}))}g.set("Accept-Encoding",X.hasOwnProp(z,"advertiseZstdAcceptEncoding")&&z.advertiseZstdAcceptEncoding===!0?IQ:U6,!1);let b=Object.assign(Object.create(null),{path:a0,method:R,headers:g0(g),agents:{http:U,https:S},auth:N0,protocol:f,family:M,beforeRedirect:PQ,beforeRedirects:Object.create(null),http2Options:I});if(!X.isUndefined(N)&&(b.lookup=N),_){if(typeof _!=="string")return G(new V("socketPath must be a string",V.ERR_BAD_OPTION_VALUE,Q));let D=Z("allowedSocketPaths");if(D!=null){let w=Array.isArray(D)?D:[D],H=Q6(_);if(!w.some((C)=>typeof C==="string"&&Q6(C)===H))return G(new V(`socketPath "${_}" is not permitted by allowedSocketPaths`,V.ERR_BAD_OPTION_VALUE,Q))}b.socketPath=_}else b.hostname=m.hostname.startsWith("[")?m.hostname.slice(1,-1):m.hostname,b.port=m.port,w6(b,q,f+"//"+m.hostname+(m.port?":"+m.port:"")+b.path,!1,S,U);let w0,x0=!1,Q0=!1,P=q1.test(b.protocol);if(b.agent==null)b.agent=P?S:U;if(k0)w0=jQ;else{let D=Z("transport");if(D)w0=D;else if(O===0)w0=P?B6:M6,x0=!0;else{if(Q0=!0,b.sensitiveHeaders=[],O)b.maxRedirects=O;let w=Z("beforeRedirect");if(w)b.beforeRedirects.config=w;if(N0){let h=m.origin,C=N0;b.beforeRedirects.auth=function(s){try{if(new URL(s.href).origin===h)s.auth=C}catch(u){}}}let H=Z("sensitiveHeaders");if(H!=null){if(!X.isArray(H))return G(new V("sensitiveHeaders must be an array of strings",V.ERR_BAD_OPTION_VALUE,Q));let h=new Set;for(let C of H){if(!X.isString(C))return G(new V("sensitiveHeaders must be an array of strings",V.ERR_BAD_OPTION_VALUE,Q));h.add(C.toLowerCase())}if(h.size)b.sensitiveHeaders=Array.from(h),b.beforeRedirects.sensitiveHeaders=function(l,s){if(!OQ(l,s))CQ(l.headers,h)}}w0=P?UQ:FQ}}if(v>-1)b.maxBodyLength=v;else b.maxBodyLength=1/0;b.insecureHTTPParser=Boolean(Z("insecureHTTPParser")),E=w0.request(b,function(w){if(B0(),E.destroyed)return;let H=[w],h=X.toFiniteNumber(w.headers["content-length"]);if(V0||i){let u=new w1({maxRate:X.toFiniteNumber(i)});V0&&u.on("progress",K6(u,p0(h,F0(i0(V0),!0,3)))),H.push(u)}let C=w,l=w.req||E;if(K0!==!1&&w.headers["content-encoding"]){if(R==="HEAD"||w.statusCode===204)delete w.headers["content-encoding"];switch((w.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":H.push(Y0.createUnzip(Y6)),delete w.headers["content-encoding"];break;case"deflate":H.push(new g5),H.push(Y0.createUnzip(Y6)),delete w.headers["content-encoding"];break;case"br":if(I6)H.push(Y0.createBrotliDecompress(BQ)),delete w.headers["content-encoding"];break;case"zstd":if(F6)H.push(Y0.createZstdDecompress(VQ)),delete w.headers["content-encoding"];break}}C=H.length>1?J0.pipeline(H,X.noop):H[0];let s={status:w.statusCode,statusText:w.statusMessage,headers:new y(w.headers),config:Q,request:l};if(L==="stream"){if(k>-1){let u=k,v0=C;async function*s0(){let p=0;for await(let v1 of v0){if(p+=v1.length,p>u)throw new V("maxContentLength size of "+u+" exceeded",V.ERR_BAD_RESPONSE,Q,l);yield v1}}C=J0.Readable.from(s0(),{objectMode:!1})}s.data=C,M0(W,G,s)}else{let u=[],v0=0;C.on("data",function(p){if(u.push(p),v0+=p.length,k>-1&&v0>k)U0=!0,C.destroy(),c(new V("maxContentLength size of "+k+" exceeded",V.ERR_BAD_RESPONSE,Q,l))}),C.on("aborted",function(){if(U0)return;let p=new V("stream has been aborted",V.ERR_BAD_RESPONSE,Q,l,s);C.destroy(p),G(p)}),C.on("error",function(p){if(U0)return;G(V.from(p,null,Q,l,s))}),C.on("end",function(){try{let p=u.length===1?u[0]:Buffer.concat(u);if(L!=="arraybuffer"){if(p=p.toString(F),!F||F==="utf8")p=X.stripBOM(p)}s.data=p}catch(p){return G(V.from(p,null,Q,s.request,s))}M0(W,G,s)})}L0.once("abort",(u)=>{if(!C.destroyed)C.emit("error",u),C.destroy()})}),L0.once("abort",(D)=>{if(E.close)E.close();else E.destroy(D)}),E.on("error",function(w){G(V.from(w,null,Q,E))});let n=new Set;if(E.on("socket",function(w){if(typeof w.setKeepAlive==="function")w.setKeepAlive(!0,60000);if(!w[W6])w.on("error",function(h){let C=w[v4];if(C&&!C.destroyed)C.destroy(h)}),w[W6]=!0;w[v4]=E,n.add(w)}),E.once("close",function(){B0();for(let w of n)if(w[v4]===E)w[v4]=null;n.clear()}),Z("timeout")){let D=parseInt(Z("timeout"),10);if(Number.isNaN(D)){c(new V("error trying to parse `config.timeout` to int",V.ERR_BAD_OPTION_VALUE,Q,E));return}let w=function(){if(j0)return;c(_0())};if(x0&&D>0)e=setTimeout(w,D);E.setTimeout(D,w)}else E.setTimeout(0);if(X.isStream(K)){let D=!1,w=!1;K.on("end",()=>{D=!0}),K.once("error",(h)=>{w=!0,E.destroy(h)}),K.on("close",()=>{if(!D&&!w)c(new $0("Request stream has been aborted",Q,E))});let H=K;if(v>-1&&!Q0){let h=v,C=0;H=J0.pipeline([K,new J0.Transform({transform(l,s,u){if(C+=l.length,C>h)return u(new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,Q,E));u(null,l)}})],X.noop),H.on("error",(l)=>{if(!E.destroyed)E.destroy(l)})}H.pipe(E)}else K&&E.write(K),E.end()})}});var _6;var T6=T(()=>{Z0();_6=j.hasStandardBrowserEnv?(($,Q)=>(Y)=>{return Y=new URL(Y,j.origin),$.protocol===Y.protocol&&$.host===Y.host&&(Q||$.port===Y.port)})(new URL(j.origin),j.navigator&&/(msie|trident)/i.test(j.navigator.userAgent)):()=>!0});var R6;var q6=T(()=>{x();Z0();R6=j.hasStandardBrowserEnv?{write($,Q,Y,W,G,J,Z){if(typeof document>"u")return;let z=[`${$}=${encodeURIComponent(Q)}`];if(X.isNumber(Y))z.push(`expires=${new Date(Y).toUTCString()}`);if(X.isString(W))z.push(`path=${W}`);if(X.isString(G))z.push(`domain=${G}`);if(J===!0)z.push("secure");if(X.isString(Z))z.push(`SameSite=${Z}`);document.cookie=z.join("; ")},read($){if(typeof document>"u")return null;let Q=document.cookie.split(";");for(let Y=0;Y<Q.length;Y++){let W=Q[Y].replace(/^\s+/,""),G=W.indexOf("=");if(G!==-1&&W.slice(0,G)===$)try{return decodeURIComponent(W.slice(G+1))}catch(J){return W.slice(G+1)}}return null},remove($){this.write($,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}}});function X0($,Q){$=$||{},Q=Q||{};let Y=Object.create(null);Object.defineProperty(Y,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function W(M,B,I,U){if(X.isPlainObject(M)&&X.isPlainObject(B))return X.merge.call({caseless:U},M,B);else if(X.isPlainObject(B))return X.merge({},B);else if(X.isArray(B))return B.slice();return B}function G(M,B,I,U){if(!X.isUndefined(B))return W(M,B,I,U);else if(!X.isUndefined(M))return W(void 0,M,I,U)}function J(M,B){if(!X.isUndefined(B))return W(void 0,B)}function Z(M,B){if(!X.isUndefined(B))return W(void 0,B);else if(!X.isUndefined(M))return W(void 0,M)}function z(M){let B=X.hasOwnProp(Q,"transitional")?Q.transitional:void 0;if(!X.isUndefined(B))if(X.isPlainObject(B)){if(X.hasOwnProp(B,M))return B[M]}else return;let I=X.hasOwnProp($,"transitional")?$.transitional:void 0;if(X.isPlainObject(I)&&X.hasOwnProp(I,M))return I[M];return}function K(M,B,I){if(X.hasOwnProp(Q,I))return W(M,B);else if(X.hasOwnProp($,I))return W(void 0,M)}let N={url:J,method:J,data:J,baseURL:Z,transformRequest:Z,transformResponse:Z,paramsSerializer:Z,timeout:Z,timeoutMessage:Z,withCredentials:Z,withXSRFToken:Z,adapter:Z,responseType:Z,xsrfCookieName:Z,xsrfHeaderName:Z,onUploadProgress:Z,onDownloadProgress:Z,decompress:Z,maxContentLength:Z,maxBodyLength:Z,beforeRedirect:Z,transport:Z,httpAgent:Z,httpsAgent:Z,cancelToken:Z,socketPath:Z,allowedSocketPaths:Z,responseEncoding:Z,validateStatus:K,headers:(M,B,I)=>G(P6(M),P6(B),I,!0)};if(X.forEach(Object.keys({...$,...Q}),function(B){if(B==="__proto__"||B==="constructor"||B==="prototype")return;let I=X.hasOwnProp(N,B)?N[B]:G,U=X.hasOwnProp($,B)?$[B]:void 0,S=X.hasOwnProp(Q,B)?Q[B]:void 0,q=I(U,S,B);X.isUndefined(q)&&I!==K||(Y[B]=q)}),X.hasOwnProp(Q,"validateStatus")&&X.isUndefined(Q.validateStatus)&&z("validateStatusUndefinedResolves")===!1)if(X.hasOwnProp($,"validateStatus"))Y.validateStatus=W(void 0,$.validateStatus);else delete Y.validateStatus;return Y}var P6=($)=>$ instanceof y?{...$}:$;var y4=T(()=>{x();G0()});function bQ($,Q,Y){if(Y!=="content-only"){$.set(Q);return}Object.entries(Q||{}).forEach(([W,G])=>{if(kQ.includes(W.toLowerCase()))$.set(W,G)})}function vQ($){let Q=X0({},$),Y=(I)=>X.hasOwnProp(Q,I)?Q[I]:void 0,W=Y("data"),G=Y("withXSRFToken"),J=Y("xsrfHeaderName"),Z=Y("xsrfCookieName"),z=Y("headers"),K=Y("auth"),N=Y("baseURL"),M=Y("allowAbsoluteUrls"),B=Y("url");if(Q.headers=z=y.from(z),Q.url=C0(H0(N,B,M,Q),Y("params"),Y("paramsSerializer")),K){let I=X.getSafeProp(K,"username")||"",U=X.getSafeProp(K,"password")||"";try{z.set("Authorization","Basic "+btoa(I+":"+(U?xQ(U):"")))}catch(S){throw V.from(S,V.ERR_BAD_OPTION_VALUE,$)}}if(X.isFormData(W)){if(j.hasStandardBrowserEnv||j.hasStandardBrowserWebWorkerEnv||X.isReactNative(W))z.setContentType(void 0);else if(X.isFunction(W.getHeaders))bQ(z,W.getHeaders(),Y("formDataHeaderPolicy"))}if(j.hasStandardBrowserEnv){if(X.isFunction(G))G=G(Q);if(G===!0||G==null&&_6(Q.url)){let U=J&&Z&&R6.read(Z);if(U)z.set(J,U)}}return Q}var kQ,xQ=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Q,Y)=>String.fromCharCode(parseInt(Y,16))),m4;var P1=T(()=>{Z0();x();t();T6();q6();A4();y4();G0();C4();kQ=["content-type","content-length"];m4=vQ});var yQ,C6;var O6=T(()=>{x();E4();W4();t();O0();F1();Z0();G0();b4();P1();$4();yQ=typeof XMLHttpRequest<"u",C6=yQ&&function($){return new Promise(function(Y,W){let G=m4($),J=G.data,Z=y.from(G.headers).normalize(),{responseType:z,onUploadProgress:K,onDownloadProgress:N}=G,M,B,I,U,S;function q(){U&&U(),S&&S(),G.cancelToken&&G.cancelToken.unsubscribe(M),G.signal&&G.signal.removeEventListener("abort",M)}let L=new XMLHttpRequest;L.open(G.method.toUpperCase(),G.url,!0),L.timeout=G.timeout;function F(){if(!L)return;let R=y.from("getAllResponseHeaders"in L&&L.getAllResponseHeaders()),v={data:!z||z==="text"||z==="json"?L.responseText:L.response,status:L.status,statusText:L.statusText,headers:R,config:$,request:L};M0(function(K0){Y(K0),q()},function(K0){W(K0),q()},v),L=null}if("onloadend"in L)L.onloadend=F;else L.onreadystatechange=function(){if(!L||L.readyState!==4)return;if(L.status===0&&!(L.responseURL&&L.responseURL.startsWith("file:")))return;setTimeout(F)};if(L.onabort=function(){if(!L)return;W(new V("Request aborted",V.ECONNABORTED,$,L)),q(),L=null},L.onerror=function(O){let v=O&&O.message?O.message:"Network Error",k=new V(v,V.ERR_NETWORK,$,L);k.event=O||null,W(k),q(),L=null},L.ontimeout=function(){let O=G.timeout?"timeout of "+G.timeout+"ms exceeded":"timeout exceeded",v=G.transitional||D0;if(G.timeoutErrorMessage)O=G.timeoutErrorMessage;W(new V(O,v.clarifyTimeoutError?V.ETIMEDOUT:V.ECONNABORTED,$,L)),q(),L=null},J===void 0&&Z.setContentType(null),"setRequestHeader"in L)X.forEach(g0(Z),function(O,v){L.setRequestHeader(v,O)});if(!X.isUndefined(G.withCredentials))L.withCredentials=!!G.withCredentials;if(z&&z!=="json")L.responseType=G.responseType;if(N)[I,S]=F0(N,!0),L.addEventListener("progress",I);if(K&&L.upload)[B,U]=F0(K),L.upload.addEventListener("progress",B),L.upload.addEventListener("loadend",U);if(G.cancelToken||G.signal){if(M=(R)=>{if(!L)return;W(!R||R.type?new $0(null,$,L):R),L.abort(),q(),L=null},G.cancelToken&&G.cancelToken.subscribe(M),G.signal)G.signal.aborted?M():G.signal.addEventListener("abort",M)}let _=V4(G.url);if(_&&!j.protocols.includes(_)){W(new V("Unsupported protocol "+_+":",V.ERR_BAD_REQUEST,$)),q();return}L.send(J||null)})}});var mQ=($,Q)=>{if($=$?$.filter(Boolean):[],!Q&&!$.length)return;let Y=new AbortController,W=!1,G=function(K){if(!W){W=!0,Z();let N=K instanceof Error?K:this.reason;Y.abort(N instanceof V?N:new $0(N instanceof Error?N.message:N))}},J=Q&&setTimeout(()=>{J=null,G(new V(`timeout of ${Q}ms exceeded`,V.ETIMEDOUT))},Q),Z=()=>{if(!$)return;J&&clearTimeout(J),J=null,$.forEach((K)=>{K.unsubscribe?K.unsubscribe(G):K.removeEventListener("abort",G)}),$=null};$.forEach((K)=>K.addEventListener("abort",G,{once:!0}));let{signal:z}=Y;return z.unsubscribe=()=>X.asap(Z),z},H6;var E6=T(()=>{O0();t();x();H6=mQ});var fQ=function*($,Q){let Y=$.byteLength;if(!Q||Y<Q){yield $;return}let W=0,G;while(W<Y)G=W+Q,yield $.slice(W,G),W=G},hQ=async function*($,Q){for await(let Y of gQ($))yield*fQ(Y,Q)},gQ=async function*($){if($[Symbol.asyncIterator]){yield*$;return}let Q=$.getReader();try{for(;;){let{done:Y,value:W}=await Q.read();if(Y)break;yield W}}finally{await Q.cancel()}},C1=($,Q,Y,W)=>{let G=hQ($,Q),J=0,Z,z=(K)=>{if(!Z)Z=!0,W&&W(K)};return new ReadableStream({async pull(K){try{let{done:N,value:M}=await G.next();if(N){z(),K.close();return}let B=M.byteLength;if(Y){let I=J+=B;Y(I)}K.enqueue(new Uint8Array(M))}catch(N){throw z(N),N}},cancel(K){return z(K),G.return()}},{highWaterMark:2})};var A6=()=>{};var j6=65536,f4,uQ=($)=>encodeURIComponent($).replace(/%([0-9A-F]{2})/gi,(Q,Y)=>String.fromCharCode(parseInt(Y,16))),k6=($)=>{if(!X.isString($))return $;try{return decodeURIComponent($)}catch(Q){return $}},b6=($,...Q)=>{try{return!!$(...Q)}catch(Y){return!1}},cQ=($)=>{let Q=$.indexOf("://"),Y=$;if(Q!==-1)Y=Y.slice(Q+3);return Y.includes("@")||Y.includes(":")},dQ=($)=>{let Q=X.global!==void 0&&X.global!==null?X.global:globalThis,{ReadableStream:Y,TextEncoder:W}=Q;$=X.merge.call({skipUndefined:!0},{Request:Q.Request,Response:Q.Response},$);let{fetch:G,Request:J,Response:Z}=$,z=G?f4(G):typeof fetch==="function",K=f4(J),N=f4(Z);if(!z)return!1;let M=z&&f4(Y),B=z&&(typeof W==="function"?((F)=>(_)=>F.encode(_))(new W):async(F)=>new Uint8Array(await new J(F).arrayBuffer())),I=K&&M&&b6(()=>{let F=!1,_=new J(j.origin,{body:new Y,method:"POST",get duplex(){return F=!0,"half"}}),R=_.headers.has("Content-Type");if(_.body!=null)_.body.cancel();return F&&!R}),U=N&&M&&b6(()=>X.isReadableStream(new Z("").body)),S={stream:U&&((F)=>F.body)};z&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((F)=>{!S[F]&&(S[F]=(_,R)=>{let O=_&&_[F];if(O)return O.call(_);throw new V(`Response type '${F}' is not supported`,V.ERR_NOT_SUPPORT,R)})})})();let q=async(F)=>{if(F==null)return 0;if(X.isBlob(F))return F.size;if(X.isSpecCompliantForm(F))return(await new J(j.origin,{method:"POST",body:F}).arrayBuffer()).byteLength;if(X.isArrayBufferView(F)||X.isArrayBuffer(F))return F.byteLength;if(X.isURLSearchParams(F))F=F+"";if(X.isString(F))return(await B(F)).byteLength},L=async(F,_)=>{let R=X.toFiniteNumber(F.getContentLength());return R==null?q(_):R};return async(F)=>{let{url:_,method:R,data:O,signal:v,cancelToken:k,timeout:K0,onDownloadProgress:j0,onUploadProgress:U0,responseType:E,headers:e,withCredentials:k0="same-origin",fetchOptions:L0,maxContentLength:c,maxBodyLength:B0}=m4(F),_0=X.isNumber(c)&&c>-1,T0=X.isNumber(B0)&&B0>-1,S4=(A)=>X.hasOwnProp(F,A)?F[A]:void 0,D4=G||fetch;E=E?(E+"").toLowerCase():"text";let m=H6([v,k&&k.toAbortSignal()],K0),f=null,g=m&&m.unsubscribe&&(()=>{m.unsubscribe()}),z0,V0=null,R0=()=>new V("Request body larger than maxBodyLength limit",V.ERR_BAD_REQUEST,F,f);try{let A=void 0,i=S4("auth");if(i){let P=X.getSafeProp(i,"username")||"",n=X.getSafeProp(i,"password")||"";A={username:P,password:n}}if(cQ(_)){let P=new URL(_,j.origin);if(!A&&(P.username||P.password)){let n=k6(P.username),D=k6(P.password);A={username:n,password:D}}if(P.username||P.password)P.username="",P.password="",_=P.href}if(A)e.delete("authorization"),e.set("Authorization","Basic "+btoa(uQ((A.username||"")+":"+(A.password||""))));if(_0&&typeof _==="string"&&_.startsWith("data:")){if(F4(_)>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}if(T0&&R!=="get"&&R!=="head"){let P=await q(O);if(typeof P==="number"&&isFinite(P)){if(z0=P,P>B0)throw R0()}}let b0=T0&&(X.isReadableStream(O)||X.isStream(O)),N0=(P,n,D)=>C1(P,j6,(w)=>{if(T0&&w>B0)throw V0=R0();n&&n(w)},D);if(I&&R!=="get"&&R!=="head"&&(U0||b0)){if(z0=z0==null?await L(e,O):z0,z0!==0||b0){let P=new J(_,{method:"POST",body:O,duplex:"half"}),n;if(X.isFormData(O)&&(n=P.headers.get("content-type")))e.setContentType(n);if(P.body){let[D,w]=U0&&p0(z0,F0(i0(U0)))||[];O=N0(P.body,D,w)}}}else if(b0&&!K&&M&&R!=="get"&&R!=="head")O=N0(O);else if(b0&&K&&!I&&R!=="get"&&R!=="head")throw new V("Stream request bodies are not supported by the current fetch implementation",V.ERR_NOT_SUPPORT,F,f);if(!X.isString(k0))k0=k0?"include":"omit";let n0=K&&"credentials"in J.prototype;if(X.isFormData(O)){let P=e.getContentType();if(P&&/^multipart\/form-data/i.test(P)&&!/boundary=/i.test(P))e.delete("content-type")}e.set("User-Agent","axios/"+I0,!1);let a0={...L0,signal:m,method:R.toUpperCase(),headers:g0(e.normalize()),body:O,duplex:"half",credentials:n0?k0:void 0};f=K&&new J(_,a0);let b=await(K?D4(f,L0):D4(_,a0)),w0=y.from(b.headers);if(_0){let P=X.toFiniteNumber(w0.getContentLength());if(P!=null&&P>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}let x0=U&&(E==="stream"||E==="response");if(U&&b.body&&(j0||_0||x0&&g)){let P={};["status","statusText","headers"].forEach((C)=>{P[C]=b[C]});let n=X.toFiniteNumber(w0.getContentLength()),[D,w]=j0&&p0(n,F0(i0(j0),!0))||[],H=0,h=(C)=>{if(_0){if(H=C,H>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}D&&D(C)};b=new Z(C1(b.body,j6,h,()=>{w&&w(),g&&g()}),P)}E=E||"text";let Q0=await S[X.findKey(S,E)||"text"](b,F);if(_0&&!U&&!x0){let P;if(Q0!=null){if(typeof Q0.byteLength==="number")P=Q0.byteLength;else if(typeof Q0.size==="number")P=Q0.size;else if(typeof Q0==="string")P=typeof W==="function"?new W().encode(Q0).byteLength:Q0.length}if(typeof P==="number"&&P>c)throw new V("maxContentLength size of "+c+" exceeded",V.ERR_BAD_RESPONSE,F,f)}return!x0&&g&&g(),await new Promise((P,n)=>{M0(P,n,{data:Q0,headers:y.from(b.headers),status:b.status,statusText:b.statusText,config:F,request:f})})}catch(A){if(g&&g(),m&&m.aborted&&m.reason instanceof V){let i=m.reason;if(i.config=F,f&&(i.request=f),A!==i)Object.defineProperty(i,"cause",{__proto__:null,value:A,writable:!0,enumerable:!1,configurable:!0});throw i}if(V0)throw f&&!V0.request&&(V0.request=f),V0;if(A instanceof V)throw f&&!A.request&&(A.request=f),A;if(A&&A.name==="TypeError"&&/Load failed|fetch/i.test(A.message)){let i=new V("Network Error",V.ERR_NETWORK,F,f,A&&A.response);throw Object.defineProperty(i,"cause",{__proto__:null,value:A.cause||A,writable:!0,enumerable:!1,configurable:!0}),i}throw V.from(A,A&&A.code,F,f,A&&A.response)}}},lQ,O1=($)=>{let Q=$&&$.env||{},{fetch:Y,Request:W,Response:G}=Q,J=[W,G,Y],Z=J.length,z=Z,K,N,M=lQ;while(z--)K=J[z],N=M.get(K),N===void 0&&M.set(K,N=z?new Map:dQ(Q)),M=N;return N},B9;var x6=T(()=>{Z0();x();t();E6();A6();G0();b4();P1();E4();T1();B4();$4();({isFunction:f4}=X),lQ=new Map,B9=O1()});function nQ($,Q){$=X.isArray($)?$:[$];let{length:Y}=$,W,G,J={};for(let Z=0;Z<Y;Z++){W=$[Z];let z;if(G=W,!iQ(W)){if(G=H1[(z=String(W)).toLowerCase()],G===void 0)throw new V(`Unknown adapter '${z}'`)}if(G&&(X.isFunction(G)||(G=G.get(Q))))break;J[z||"#"+Z]=G}if(!G){let Z=Object.entries(J).map(([K,N])=>`adapter ${K} `+(N===!1?"is not supported by the environment":"is not available in the build")),z=Y?Z.length>1?`since :
12
- `+Z.map(v6).join(`
13
- `):" "+v6(Z[0]):"as no adapter specified";throw new V("There is no suitable adapter to dispatch the request "+z,V.ERR_NOT_SUPPORT)}return G}var H1,v6=($)=>`- ${$}`,iQ=($)=>X.isFunction($)||$===null||$===!1,h4;var E1=T(()=>{x();D6();O6();x6();t();H1={http:S6,xhr:C6,fetch:{get:O1}};X.forEach(H1,($,Q)=>{if($){try{Object.defineProperty($,"name",{__proto__:null,value:Q})}catch(Y){}Object.defineProperty($,"adapterName",{__proto__:null,value:Q})}});h4={getAdapter:nQ,adapters:H1}});function A1($){if($.cancelToken)$.cancelToken.throwIfRequested();if($.signal&&$.signal.aborted)throw new $0(null,$)}function g4($){if(A1($),$.headers=y.from($.headers),$.data=G4.call($,$.transformRequest),["post","put","patch"].indexOf($.method)!==-1)$.headers.setContentType("application/x-www-form-urlencoded",!1);return h4.getAdapter($.adapter||d0.adapter,$)($).then(function(W){A1($),$.response=W;try{W.data=G4.call($,$.transformResponse,W)}finally{delete $.response}return W.headers=y.from(W.headers),W},function(W){if(!Z4(W)){if(A1($),W&&W.response){$.response=W.response;try{W.response.data=G4.call($,$.transformResponse,W.response)}finally{delete $.response}W.response.headers=y.from(W.response.headers)}}return Promise.reject(W)})}var y6=T(()=>{F5();J1();H4();O0();G0();E1()});function aQ($,Q,Y){if(typeof $!=="object"||$===null)throw new V("options must be an object",V.ERR_BAD_OPTION_VALUE);let W=Object.keys($),G=W.length;while(G-- >0){let J=W[G],Z=Object.prototype.hasOwnProperty.call(Q,J)?Q[J]:void 0;if(Z){let z=$[J],K=z===void 0||Z(z,J,$);if(K!==!0)throw new V("option "+J+" must be "+K,V.ERR_BAD_OPTION_VALUE);continue}if(Y!==!0)throw new V("Unknown option "+J,V.ERR_BAD_OPTION)}}var u4,m6,U4;var f6=T(()=>{B4();t();u4={};["object","boolean","number","function","string","symbol"].forEach(($,Q)=>{u4[$]=function(W){return typeof W===$||"a"+(Q<1?"n ":" ")+$}});m6={};u4.transitional=function(Q,Y,W){function G(J,Z){return"[Axios v"+I0+"] Transitional option '"+J+"'"+Z+(W?". "+W:"")}return(J,Z,z)=>{if(Q===!1)throw new V(G(Z," has been removed"+(Y?" in "+Y:"")),V.ERR_DEPRECATED);if(Y&&!m6[Z])m6[Z]=!0,console.warn(G(Z," has been deprecated since v"+Y+" and will be removed in the near future"));return Q?Q(J,Z,z):!0}};u4.spelling=function(Q){return(Y,W)=>{return console.warn(`${W} is likely a misspelling of ${Q}`),!0}};U4={assertOptions:aQ,validators:u4}});class L4{constructor($){this.defaults=$||{},this.interceptors={request:new o4,response:new o4}}async request($,Q){try{return await this._request($,Q)}catch(Y){if(Y instanceof Error){let W={};Error.captureStackTrace?Error.captureStackTrace(W):W=Error();let G=(()=>{if(!W.stack)return"";let J=W.stack.indexOf(`
14
- `);return J===-1?"":W.stack.slice(J+1)})();try{if(!Y.stack)Y.stack=G;else if(G){let J=G.indexOf(`
15
- `),Z=J===-1?-1:G.indexOf(`
16
- `,J+1),z=Z===-1?"":G.slice(Z+1);if(!String(Y.stack).endsWith(z))Y.stack+=`
17
- `+G}}catch(J){}}throw Y}}_request($,Q){if(typeof $==="string")Q=Q||{},Q.url=$;else Q=$||{};Q=X0(this.defaults,Q);let{transitional:Y,paramsSerializer:W,headers:G}=Q;if(Y!==void 0)U4.assertOptions(Y,{silentJSONParsing:r.transitional(r.boolean),forcedJSONParsing:r.transitional(r.boolean),clarifyTimeoutError:r.transitional(r.boolean),legacyInterceptorReqResOrdering:r.transitional(r.boolean),advertiseZstdAcceptEncoding:r.transitional(r.boolean),validateStatusUndefinedResolves:r.transitional(r.boolean)},!1);if(W!=null)if(X.isFunction(W))Q.paramsSerializer={serialize:W};else U4.assertOptions(W,{encode:r.function,serialize:r.function},!0);if(Q.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)Q.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else Q.allowAbsoluteUrls=!0;U4.assertOptions(Q,{baseUrl:r.spelling("baseURL"),withXsrfToken:r.spelling("withXSRFToken")},!0),Q.method=(Q.method||this.defaults.method||"get").toLowerCase();let J=G&&X.merge(G.common,G[Q.method]);G&&X.forEach(["delete","get","head","post","put","patch","query","common"],(U)=>{delete G[U]}),Q.headers=y.concat(J,G);let Z=[],z=!0;this.interceptors.request.forEach(function(S){if(typeof S.runWhen==="function"&&S.runWhen(Q)===!1)return;z=z&&S.synchronous;let q=Q.transitional||D0;if(q&&q.legacyInterceptorReqResOrdering)Z.unshift(S.fulfilled,S.rejected);else Z.push(S.fulfilled,S.rejected)});let K=[];this.interceptors.response.forEach(function(S){K.push(S.fulfilled,S.rejected)});let N,M=0,B;if(!z){let U=[g4.bind(this),void 0];U.unshift(...Z),U.push(...K),B=U.length,N=Promise.resolve(Q);while(M<B)N=N.then(U[M++],U[M++]);return N}B=Z.length;let I=Q;while(M<B){let U=Z[M++],S=Z[M++];try{I=U(I)}catch(q){S.call(this,q);break}}try{N=g4.call(this,I)}catch(U){return Promise.reject(U)}M=0,B=K.length;while(M<B)N=N.then(K[M++],K[M++]);return N}getUri($){$=X0(this.defaults,$);let Q=H0($.baseURL,$.url,$.allowAbsoluteUrls,$);return C0(Q,$.params,$.paramsSerializer)}}var r,w4;var h6=T(()=>{x();C4();G5();y6();y4();A4();f6();G0();W4();r=U4.validators;X.forEach(["delete","get","head","options"],function(Q){L4.prototype[Q]=function(Y,W){return this.request(X0(W||{},{method:Q,url:Y,data:W&&X.hasOwnProp(W,"data")?W.data:void 0}))}});X.forEach(["post","put","patch","query"],function(Q){function Y(W){return function(J,Z,z){return this.request(X0(z||{},{method:Q,headers:W?{"Content-Type":"multipart/form-data"}:{},url:J,data:Z}))}}if(L4.prototype[Q]=Y(),Q!=="query")L4.prototype[Q+"Form"]=Y(!0)});w4=L4});class j1{constructor($){if(typeof $!=="function")throw TypeError("executor must be a function.");let Q;this.promise=new Promise(function(G){Q=G});let Y=this;this.promise.then((W)=>{if(!Y._listeners)return;let G=Y._listeners.length;while(G-- >0)Y._listeners[G](W);Y._listeners=null}),this.promise.then=(W)=>{let G,J=new Promise((Z)=>{Y.subscribe(Z),G=Z}).then(W);return J.cancel=function(){Y.unsubscribe(G)},J},$(function(G,J,Z){if(Y.reason)return;Y.reason=new $0(G,J,Z),Q(Y.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe($){if(this.reason){$(this.reason);return}if(this._listeners)this._listeners.push($);else this._listeners=[$]}unsubscribe($){if(!this._listeners)return;let Q=this._listeners.indexOf($);if(Q!==-1)this._listeners.splice(Q,1)}toAbortSignal(){let $=new AbortController,Q=(Y)=>{$.abort(Y)};return this.subscribe(Q),$.signal.unsubscribe=()=>this.unsubscribe(Q),$.signal}static source(){let $;return{token:new j1(function(W){$=W}),cancel:$}}}var g6;var u6=T(()=>{O0();g6=j1});function k1($){return function(Y){return $.apply(null,Y)}}var c6=()=>{};function b1($){return X.isObject($)&&$.isAxiosError===!0}var d6=T(()=>{x()});var x1,l6;var p6=T(()=>{x1={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(x1).forEach(([$,Q])=>{x1[Q]=$});l6=x1});function i6($){let Q=new w4($),Y=t0(w4.prototype.request,Q);return X.extend(Y,w4.prototype,Q,{allOwnKeys:!0}),X.extend(Y,Q,null,{allOwnKeys:!0}),Y.create=function(G){return i6(X0($,G))},Y}var d,n6;var a6=T(()=>{x();c4();h6();y4();H4();G1();O0();u6();J1();B4();u0();t();c6();d6();G0();E1();p6();d=i6(d0);d.Axios=w4;d.CanceledError=$0;d.CancelToken=g6;d.isCancel=Z4;d.VERSION=I0;d.toFormData=S0;d.AxiosError=V;d.Cancel=d.CanceledError;d.all=function(Q){return Promise.all(Q)};d.spread=k1;d.isAxiosError=b1;d.mergeConfig=X0;d.AxiosHeaders=y;d.formToJSON=($)=>O4(X.isHTMLForm($)?new FormData($):$);d.getAdapter=h4.getAdapter;d.HttpStatusCode=l6;d.default=d;n6=d});var z2,N2,M2,B2,V2,I2,F2,U2,L2,w2,S2,D2,_2,T2,R2,q2,P2;var sQ=T(()=>{a6();({Axios:z2,AxiosError:N2,CanceledError:M2,isCancel:B2,CancelToken:V2,VERSION:I2,all:F2,Cancel:U2,isAxiosError:L2,spread:w2,toFormData:S2,AxiosHeaders:D2,HttpStatusCode:_2,formToJSON:T2,getAdapter:R2,mergeConfig:q2,create:P2}=n6)});
18
- export{n6 as sra,z2 as tra,N2 as ura,M2 as vra,B2 as wra,V2 as xra,I2 as yra,F2 as zra,U2 as Ara,L2 as Bra,w2 as Cra,S2 as Dra,D2 as Era,_2 as Fra,T2 as Gra,R2 as Hra,q2 as Ira,P2 as Jra,sQ as Kra};
@@ -1,2 +0,0 @@
1
- import{L_ as Z,N_ as f,bga as B,ega as K,sfa as $,tfa as y}from"./cli-1.0.12-anfbb1k6.mjs";import{Nka as Y,Vka as E}from"./cli-1.0.12-bhvkmj7j.mjs";import{hsa as N,isa as x}from"./cli-1.0.12-ecf1es2x.mjs";import{existsSync as S}from"node:fs";import{homedir as F}from"node:os";import{join as X}from"node:path";function _(){if(Y())return;try{return $().read()?.gemini?.accessToken?.trim()||void 0}catch{return}}function J(b){let w=b?.trim();return w?w:void 0}function V(b=process.env){return J(b.GOOGLE_CLOUD_PROJECT)??J(b.GCLOUD_PROJECT)??J(b.GOOGLE_PROJECT_ID)}function D(b=process.env){let w=J(b.GEMINI_AUTH_MODE)?.toLowerCase();if(w==="api-key"||w==="access-token"||w==="adc")return w;return}function P(b=process.env){let w=J(b.GOOGLE_APPLICATION_CREDENTIALS),q=new Set;if(w)q.add(w);q.add(X(F(),".config","gcloud","application_default_credentials.json"));let O=J(b.APPDATA);if(O)q.add(X(O,"gcloud","application_default_credentials.json"));return[...q]}function k(b=process.env){return P(b).some((w)=>S(w))}function G(b){if(typeof b==="string")return J(b);return J(b?.token)}async function A(){let{GoogleAuth:b}=await import("google-auth-library");return new b({scopes:[z]})}async function L(b,w){if(!k(b))return{kind:"none"};try{let q=await(w.createGoogleAuth??A)(),O=await q.getClient(),R=G(await O.getAccessToken());if(!R)return{kind:"none"};let Q=V(b)??(typeof q.getProjectId==="function"?J(await q.getProjectId().catch(()=>{return})):void 0);return{kind:"adc",credential:R,...Q?{projectId:Q}:{}}}catch{return{kind:"none"}}}async function s(b=process.env,w={}){let q=D(b),O=B(),R=O?.transport==="gemini"?J(O.apiKey):void 0,U=q==="access-token"||q==="adc"?void 0:R;if(U&&(q===void 0||q==="api-key"))return{kind:"api-key",credential:U};let Q=q==="api-key"||q==="adc"?void 0:J(_());if(Q&&(q===void 0||q==="access-token")){let W=V(b);return{kind:"access-token",credential:Q,...W?{projectId:W}:{}}}if(q==="api-key"||q==="access-token")return{kind:"none"};if(w.createGoogleAuth)return L(b,w);return T(J(b.GOOGLE_APPLICATION_CREDENTIALS),J(b.APPDATA),F(),V(b))}var z="https://www.googleapis.com/auth/cloud-platform",C=300000,T;var g=N(()=>{K();E();f();y();T=Z(async(b,w,q,O)=>L({GOOGLE_APPLICATION_CREDENTIALS:b,APPDATA:w,GOOGLE_CLOUD_PROJECT:O,GCLOUD_PROJECT:O,GOOGLE_PROJECT_ID:O,HOME:q},{}),C)});
2
- export{D as wi,s as xi,g as yi};
@@ -1,2 +0,0 @@
1
- import{cc as Y}from"./cli-1.0.12-v6h16sq3.mjs";import{AW as N,BW as C}from"./cli-1.0.12-hhr93g23.mjs";import{kga as A,mga as w}from"./cli-1.0.12-anfbb1k6.mjs";import{Xia as B,_ia as k}from"./cli-1.0.12-2yt4jp97.mjs";import{Eja as L,Ija as E,_ja as W,bka as j}from"./cli-1.0.12-crspnn4b.mjs";import{Fka as K,yka as G}from"./cli-1.0.12-x4ep25h9.mjs";k();C();import{randomUUID as O}from"crypto";j();w();K();E();function T(f){return f!==null&&typeof f==="object"&&"type"in f&&typeof f.type==="string"}function P(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_response"&&"response"in f}function S(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_request"&&"request_id"in f&&"request"in f}function v(f){if((f.type==="user"||f.type==="assistant")&&f.isVirtual)return!1;return f.type==="user"||f.type==="assistant"||f.type==="system"&&f.subtype==="local_command"}function q(f){if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary)return;if(f.origin&&f.origin.kind!=="human")return;let X=f.message.content,Q;if(typeof X==="string")Q=X;else for(let Z of X)if(Z.type==="text"){Q=Z.text;break}if(!Q)return;return A(Q)||void 0}function p(f,X,Q,$,Z,z){try{let H=Y(L(f));if(P(H)){W("[bridge:repl] Ingress message type=control_response"),Z?.(H);return}if(S(H)){W(`[bridge:repl] Inbound control_request subtype=${H.request.subtype}`),z?.(H);return}if(!T(H))return;let J="uuid"in H&&typeof H.uuid==="string"?H.uuid:void 0;if(J&&X.has(J)){W(`[bridge:repl] Ignoring echo: type=${H.type} uuid=${J}`);return}if(J&&Q.has(J)){W(`[bridge:repl] Ignoring re-delivered inbound: type=${H.type} uuid=${J}`);return}if(W(`[bridge:repl] Ingress message type=${H.type}${J?` uuid=${J}`:""}`),H.type==="user"){if(J)Q.add(J);B("tengu_bridge_message_received",{is_repl:!0}),$?.(H)}else W(`[bridge:repl] Ignoring non-user inbound message: type=${H.type}`)}catch(H){W(`[bridge:repl] Failed to parse ingress message: ${G(H)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(f,X){let{transport:Q,sessionId:$,outboundOnly:Z,onInterrupt:z,onSetModel:H,onSetMaxThinkingTokens:J,onSetPermissionMode:h}=X;if(!Q){W("[bridge:repl] Cannot respond to control_request: transport not configured");return}let V;if(Z&&f.request.subtype!=="initialize"){V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:y}};let x={...V,session_id:$};Q.write(x),W(`[bridge:repl] Rejected ${f.request.subtype} (outbound-only) request_id=${f.request_id}`);return}switch(f.request.subtype){case"initialize":V={type:"control_response",response:{subtype:"success",request_id:f.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":H?.(f.request.model),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_max_thinking_tokens":J?.(f.request.max_thinking_tokens),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_permission_mode":{let x=h?.(f.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(x.ok)V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};else V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:x.error}};break}case"interrupt":z?.(),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;default:V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:`REPL bridge does not handle control_request subtype: ${f.request.subtype}`}}}let _={...V,session_id:$};Q.write(_),W(`[bridge:repl] Sent control_response for ${f.request.subtype} request_id=${f.request_id} result=${V.response.subtype}`)}function d(f){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:f,uuid:O()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(f){this.capacity=f,this.ring=Array(f)}add(f){if(this.set.has(f))return;let X=this.ring[this.writeIdx];if(X!==void 0)this.set.delete(X);this.ring[this.writeIdx]=f,this.set.add(f),this.writeIdx=(this.writeIdx+1)%this.capacity}has(f){return this.set.has(f)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
2
- export{v as Yb,q as Zb,p as _b,g as $b,d as ac,R as bc};
@@ -1,6 +0,0 @@
1
- import{hsa as j}from"./cli-1.0.12-ecf1es2x.mjs";function c(){let q=new Map;for(let[V,z]of Object.entries(J)){for(let[D,H]of Object.entries(z))J[D]={open:`\x1B[${H[0]}m`,close:`\x1B[${H[1]}m`},z[D]=J[D],q.set(H[0],H[1]);Object.defineProperty(J,V,{value:z,enumerable:!1})}return Object.defineProperty(J,"codes",{value:q,enumerable:!1}),J.color.close="\x1B[39m",J.bgColor.close="\x1B[49m",J.color.ansi=M(),J.color.ansi256=Y(),J.color.ansi16m=k(),J.bgColor.ansi=M(10),J.bgColor.ansi256=Y(10),J.bgColor.ansi16m=k(10),Object.defineProperties(J,{rgbToAnsi256:{value(V,z,D){if(V===z&&z===D){if(V<8)return 16;if(V>248)return 231;return Math.round((V-8)/247*24)+232}return 16+36*Math.round(V/255*5)+6*Math.round(z/255*5)+Math.round(D/255*5)},enumerable:!1},hexToRgb:{value(V){let z=/[a-f\d]{6}|[a-f\d]{3}/i.exec(V.toString(16));if(!z)return[0,0,0];let[D]=z;if(D.length===3)D=[...D].map((Q)=>Q+Q).join("");let H=Number.parseInt(D,16);return[H>>16&255,H>>8&255,H&255]},enumerable:!1},hexToAnsi256:{value:(V)=>J.rgbToAnsi256(...J.hexToRgb(V)),enumerable:!1},ansi256ToAnsi:{value(V){if(V<8)return 30+V;if(V<16)return 90+(V-8);let z,D,H;if(V>=232)z=((V-232)*10+8)/255,D=z,H=z;else{V-=16;let N=V%36;z=Math.floor(V/36)/5,D=Math.floor(N/6)/5,H=N%6/5}let Q=Math.max(z,D,H)*2;if(Q===0)return 30;let U=30+(Math.round(H)<<2|Math.round(D)<<1|Math.round(z));if(Q===2)U+=60;return U},enumerable:!1},rgbToAnsi:{value:(V,z,D)=>J.ansi256ToAnsi(J.rgbToAnsi256(V,z,D)),enumerable:!1},hexToAnsi:{value:(V)=>J.ansi256ToAnsi(J.hexToAnsi256(V)),enumerable:!1}}),J}var M=(q=0)=>(V)=>`\x1B[${V+q}m`,Y=(q=0)=>(V)=>`\x1B[${38+q};5;${V}m`,k=(q=0)=>(V,z,D)=>`\x1B[${38+q};2;${V};${z};${D}m`,J,V1,u,m,q1,p,X;var R=j(()=>{J={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},V1=Object.keys(J.modifier),u=Object.keys(J.color),m=Object.keys(J.bgColor),q1=[...u,...m];p=c(),X=p});import I from"node:process";import d from"node:os";import E from"node:tty";function W(q,V=globalThis.Deno?globalThis.Deno.args:I.argv){let z=q.startsWith("-")?"":q.length===1?"-":"--",D=V.indexOf(z+q),H=V.indexOf("--");return D!==-1&&(H===-1||D<H)}function y(){if("FORCE_COLOR"in K){if(K.FORCE_COLOR==="true")return 1;if(K.FORCE_COLOR==="false")return 0;return K.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(K.FORCE_COLOR,10),3)}}function g(q){if(q===0)return!1;return{level:q,hasBasic:!0,has256:q>=2,has16m:q>=3}}function i(q,{streamIsTTY:V,sniffFlags:z=!0}={}){let D=y();if(D!==void 0)B=D;let H=z?B:D;if(H===0)return 0;if(z){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if("TF_BUILD"in K&&"AGENT_NAME"in K)return 1;if(q&&!V&&H===void 0)return 0;let Q=H||0;if(K.TERM==="dumb")return Q;if(I.platform==="win32"){let U=d.release().split(".");if(Number(U[0])>=10&&Number(U[2])>=10586)return Number(U[2])>=14931?3:2;return 1}if("CI"in K){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((U)=>(U in K)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((U)=>(U in K))||K.CI_NAME==="codeship")return 1;return Q}if("TEAMCITY_VERSION"in K)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(K.TEAMCITY_VERSION)?1:0;if(K.COLORTERM==="truecolor")return 3;if(K.TERM==="xterm-kitty")return 3;if(K.TERM==="xterm-ghostty")return 3;if(K.TERM==="wezterm")return 3;if("TERM_PROGRAM"in K){let U=Number.parseInt((K.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(K.TERM_PROGRAM){case"iTerm.app":return U>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(K.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(K.TERM))return 1;if("COLORTERM"in K)return 1;return Q}function T(q,V={}){let z=i(q,{streamIsTTY:q&&q.isTTY,...V});return g(z)}var K,B,a,A;var C=j(()=>{({env:K}=I);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))B=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))B=1;a={stdout:T({isTTY:E.isatty(1)}),stderr:T({isTTY:E.isatty(2)})},A=a});function F(q,V,z){let D=q.indexOf(V);if(D===-1)return q;let H=V.length,Q=0,U="";do U+=q.slice(Q,D)+V+z,Q=D+H,D=q.indexOf(V,Q);while(D!==-1);return U+=q.slice(Q),U}function _(q,V,z,D){let H=0,Q="";do{let U=q[D-1]==="\r";Q+=q.slice(H,U?D-1:D)+V+(U?`\r
2
- `:`
3
- `)+z,H=D+1,D=q.indexOf(`
4
- `,H)}while(D!==-1);return Q+=q.slice(H),Q}var b=()=>{};class o{constructor(q){return v(q)}}function G(q){return v(q)}var S,h,L,Z,O,f,$,n=(q,V={})=>{if(V.level&&!(Number.isInteger(V.level)&&V.level>=0&&V.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let z=S?S.level:0;q.level=V.level===void 0?z:V.level},v=(q)=>{let V=(...z)=>z.join(" ");return n(V,q),Object.setPrototypeOf(V,G.prototype),V},P=(q,V,z,...D)=>{if(q==="rgb"){if(V==="ansi16m")return X[z].ansi16m(...D);if(V==="ansi256")return X[z].ansi256(X.rgbToAnsi256(...D));return X[z].ansi(X.rgbToAnsi(...D))}if(q==="hex")return P("rgb",V,z,...X.hexToRgb(...D));return X[z][q](...D)},t,r,x=(q,V,z)=>{let D,H;if(z===void 0)D=q,H=V;else D=z.openAll+q,H=V+z.closeAll;return{open:q,close:V,openAll:D,closeAll:H,parent:z}},w=(q,V,z)=>{let D=(...H)=>l(D,H.length===1?""+H[0]:H.join(" "));return Object.setPrototypeOf(D,r),D[L]=q,D[Z]=V,D[O]=z,D},l=(q,V)=>{if(q.level<=0||!V)return q[O]?"":V;let z=q[Z];if(z===void 0)return V;let{openAll:D,closeAll:H}=z;if(V.includes("\x1B"))while(z!==void 0)V=F(V,z.close,z.open),z=z.parent;let Q=V.indexOf(`
5
- `);if(Q!==-1)V=_(V,H,D,Q);return D+V+H},s,Z1,O1;var e=j(()=>{R();C();b();({stdout:S,stderr:h}=A),L=Symbol("GENERATOR"),Z=Symbol("STYLER"),O=Symbol("IS_EMPTY"),f=["ansi","ansi","ansi256","ansi16m"],$=Object.create(null);Object.setPrototypeOf(G.prototype,Function.prototype);for(let[q,V]of Object.entries(X))$[q]={get(){let z=w(this,x(V.open,V.close,this[Z]),this[O]);return Object.defineProperty(this,q,{value:z}),z}};$.visible={get(){let q=w(this,this[Z],!0);return Object.defineProperty(this,"visible",{value:q}),q}};t=["rgb","hex","ansi256"];for(let q of t){$[q]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"color",...D),X.color.close,this[Z]);return w(this,H,this[O])}}};let V="bg"+q[0].toUpperCase()+q.slice(1);$[V]={get(){let{level:z}=this;return function(...D){let H=x(P(q,f[z],"bgColor",...D),X.bgColor.close,this[Z]);return w(this,H,this[O])}}}}r=Object.defineProperties(()=>{},{...$,level:{enumerable:!0,get(){return this[L].level},set(q){this[L].level=q}}});Object.defineProperties(G.prototype,$);s=G(),Z1=G({level:h?h.level:0}),O1=s});
6
- export{o as Z8,O1 as _8,e as $8};
@@ -1,2 +0,0 @@
1
- import{DX as YJ,HX as DJ,LX as vJ,MX as c,NX as SJ,VX as ZJ}from"./cli-1.0.12-ehp5ev2y.mjs";import{h3 as CJ,o3 as TJ}from"./cli-1.0.12-hcw51twk.mjs";import{Qda as S,Sda as yJ,Y_ as xJ,baa as jJ,qga as p,u$ as NJ,x_ as OJ,y_ as FJ,yga as wJ}from"./cli-1.0.12-anfbb1k6.mjs";import{bia as R,dia as VJ,eia as w,fia as XJ}from"./cli-1.0.12-hxmg9ymn.mjs";import{Dja as v,Eja as y,Ija as JJ,_ja as G,bka as QJ}from"./cli-1.0.12-crspnn4b.mjs";import{Fka as e,yka as W,zka as C}from"./cli-1.0.12-x4ep25h9.mjs";import{Ika as s,Jka as I,Lka as t,Vka as a}from"./cli-1.0.12-bhvkmj7j.mjs";import{Ipa as L,ooa as i,vma as r,wma as MJ,yqa as m,zma as d}from"./cli-1.0.12-y1c7c1a1.mjs";import{hsa as T,isa as BJ}from"./cli-1.0.12-ecf1es2x.mjs";import{mkdir as PJ,readdir as l,readFile as $J,unlink as qJ,writeFile as b}from"fs/promises";import{join as D}from"path";function HQ(J){if(M===J)return;M=J,U()}function UQ(){if(M===void 0)return;M=void 0,U()}function U(){try{GJ.emit()}catch{}}function KJ(J){return D(E(J),cJ)}async function g(J){let Q=KJ(J);try{let V=(await $J(Q,"utf-8")).trim(),X=parseInt(V,10);return isNaN(X)?0:X}catch{return 0}}async function RJ(J,Q){let V=KJ(J);await b(V,String(Q))}function OQ(){if(t(process.env.CLAUDE_CODE_ENABLE_TASKS))return!0;return!i()}async function xQ(J){let Q=E(J),V=await o(J),X;try{X=await S(V,P);let Z=await WJ(J);if(Z>0){let $=await g(J);if(Z>$)await RJ(J,Z)}let Y;try{Y=await l(Q)}catch{Y=[]}for(let $ of Y)if($.endsWith(".json")&&!$.startsWith(".")){let q=D(Q,$);try{await qJ(q)}catch{}}U()}finally{if(X)await X()}}function CQ(){if(process.env.CLAUDE_CODE_TASK_LIST_ID)return process.env.CLAUDE_CODE_TASK_LIST_ID;let J=YJ();if(J)return J.teamName;return c()||M||d()}function _J(J){return J.replace(/[^a-zA-Z0-9_-]/g,"-")}function E(J){return D(s(),"tasks",_J(J))}function A(J,Q){return D(E(J),`${_J(Q)}.json`)}async function bJ(J){let Q=E(J);try{await PJ(Q,{recursive:!0})}catch{}}async function WJ(J){let Q=E(J),V;try{V=await l(Q)}catch{return 0}let X=0;for(let Z of V){if(!Z.endsWith(".json"))continue;let Y=parseInt(Z.replace(".json",""),10);if(!isNaN(Y)&&Y>X)X=Y}return X}async function hJ(J){let[Q,V]=await Promise.all([WJ(J),g(J)]);return Math.max(Q,V)}async function vQ(J,Q){let V=await o(J),X;try{X=await S(V,P);let Z=await hJ(J),Y=String(Z+1),$={id:Y,...Q},q=A(J,Y);return await b(q,v($,null,2)),U(),Y}finally{if(X)await X()}}async function O(J,Q){let V=A(J,Q);try{let X=await $J(V,"utf-8"),Z=y(X),Y=pJ().safeParse(Z);if(!Y.success)return G(`[Tasks] Task ${Q} failed schema validation: ${Y.error.message}`),null;return Y.data}catch(X){if(C(X)==="ENOENT")return null;return G(`[Tasks] Failed to read task ${Q}: ${W(X)}`),p(X),null}}async function EJ(J,Q,V){let X=await O(J,Q);if(!X)return null;let Z={...X,...V,id:Q},Y=A(J,Q);return await b(Y,v(Z,null,2)),U(),Z}async function j(J,Q,V){let X=A(J,Q);if(!await O(J,Q))return null;let Y;try{return Y=await S(X,P),await EJ(J,Q,V)}finally{await Y?.()}}async function SQ(J,Q){let V=A(J,Q);try{let X=parseInt(Q,10);if(!isNaN(X)){let Y=await g(J);if(X>Y)await RJ(J,X)}try{await qJ(V)}catch(Y){if(C(Y)==="ENOENT")return!1;throw Y}let Z=await h(J);for(let Y of Z){let $=Y.blocks.filter((K)=>K!==Q),q=Y.blockedBy.filter((K)=>K!==Q);if($.length!==Y.blocks.length||q.length!==Y.blockedBy.length)await j(J,Y.id,{blocks:$,blockedBy:q})}return U(),!0}catch{return!1}}async function h(J){let Q=E(J),V;try{V=await l(Q)}catch{return[]}let X=V.filter((Y)=>Y.endsWith(".json")).map((Y)=>Y.replace(".json",""));return(await Promise.all(X.map((Y)=>O(J,Y)))).filter((Y)=>Y!==null)}async function AQ(J,Q,V){let[X,Z]=await Promise.all([O(J,Q),O(J,V)]);if(!X||!Z)return!1;if(!X.blocks.includes(V))await j(J,Q,{blocks:[...X.blocks,V]});if(!Z.blockedBy.includes(Q))await j(J,V,{blockedBy:[...Z.blockedBy,Q]});return!0}function LJ(J){return D(E(J),".lock")}async function o(J){await bJ(J);let Q=LJ(J);try{await b(Q,"",{flag:"wx"})}catch{}return Q}async function zQ(J,Q,V,X={}){let Z=A(J,Q);if(!await O(J,Q))return{success:!1,reason:"task_not_found"};if(X.checkAgentBusy)return uJ(J,Q,V);let $;try{$=await S(Z,P);let q=await O(J,Q);if(!q)return{success:!1,reason:"task_not_found"};if(q.owner&&q.owner!==V)return{success:!1,reason:"already_claimed",task:q};if(q.status==="completed")return{success:!1,reason:"already_resolved",task:q};let K=await h(J),B=new Set(K.filter((z)=>z.status!=="completed").map((z)=>z.id)),N=q.blockedBy.filter((z)=>B.has(z));if(N.length>0)return{success:!1,reason:"blocked",task:q,blockedByTasks:N};return{success:!0,task:await EJ(J,Q,{owner:V})}}catch(q){return G(`[Tasks] Failed to claim task ${Q}: ${W(q)}`),p(q),{success:!1,reason:"task_not_found"}}finally{if($)await $()}}async function uJ(J,Q,V){let X=await o(J),Z;try{Z=await S(X,P);let Y=await h(J),$=Y.find((_)=>_.id===Q);if(!$)return{success:!1,reason:"task_not_found"};if($.owner&&$.owner!==V)return{success:!1,reason:"already_claimed",task:$};if($.status==="completed")return{success:!1,reason:"already_resolved",task:$};let q=new Set(Y.filter((_)=>_.status!=="completed").map((_)=>_.id)),K=$.blockedBy.filter((_)=>q.has(_));if(K.length>0)return{success:!1,reason:"blocked",task:$,blockedByTasks:K};let B=Y.filter((_)=>_.status!=="completed"&&_.owner===V&&_.id!==Q);if(B.length>0)return{success:!1,reason:"agent_busy",task:$,busyWithTasks:B.map((_)=>_.id)};return{success:!0,task:await j(J,Q,{owner:V})}}catch(Y){return G(`[Tasks] Failed to claim task ${Q} with busy check: ${W(Y)}`),p(Y),{success:!1,reason:"task_not_found"}}finally{if(Z)await Z()}}async function MQ(J,Q,V,X){let Y=(await h(J)).filter((K)=>K.status!=="completed"&&(K.owner===Q||K.owner===V));for(let K of Y)await j(J,K.id,{owner:void 0,status:"pending"});if(Y.length>0)G(`[Tasks] Unassigned ${Y.length} task(s) from ${V}`);let q=`${V} ${X==="terminated"?"was terminated":"has shut down"}.`;if(Y.length>0){let K=Y.map((B)=>`#${B.id} "${B.subject}"`).join(", ");q+=` ${Y.length} task(s) were unassigned: ${K}. Use TaskList to check availability and TaskUpdate with owner to reassign them to idle teammates.`}return{unassignedTasks:Y.map((K)=>({id:K.id,subject:K.subject})),notificationMessage:q}}var GJ,M,BQ,fJ,pJ,cJ=".highwatermark",P;var HJ=T(()=>{VJ();m();jJ();QJ();a();e();XJ();yJ();wJ();MJ();JJ();ZJ();DJ();GJ=r();BQ=GJ.subscribe;fJ=w(()=>R.enum(["pending","in_progress","completed"])),pJ=w(()=>R.object({id:R.string(),subject:R.string(),description:R.string(),activeForm:R.string().optional(),owner:R.string().optional(),status:fJ(),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(J){return J==="tmux"||J==="iterm2"}var UJ=()=>{};import{mkdirSync as IJ,readFileSync as lJ,writeFileSync as gJ}from"fs";import{mkdir as oJ,readFile as AJ,rm as k,writeFile as nJ}from"fs/promises";import{join as f}from"path";function zJ(J){return J.replace(/[^a-zA-Z0-9]/g,"-").toLowerCase()}function nQ(J){return J.replace(/@/g,"-")}function u(J){return f(I(),zJ(J))}function F(J){return f(u(J),"config.json")}function H(J){try{let Q=lJ(F(J),"utf-8");return y(Q)}catch(Q){if(C(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${W(Q)}`),null}}async function kJ(J){try{let Q=await AJ(F(J),"utf-8");return y(Q)}catch(Q){if(C(Q)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${J}: ${W(Q)}`),null}}function x(J,Q){let V=u(J);IJ(V,{recursive:!0}),gJ(F(J),v(Q,null,2))}async function rJ(J,Q){let V=u(J);await oJ(V,{recursive:!0}),await nJ(F(J),v(Q,null,2))}function kQ(J,Q){let V=Q.agentId||Q.name;if(!V)return G("[TeammateTool] removeTeammateFromTeamFile called with no identifier"),!1;let X=H(J);if(!X)return G(`[TeammateTool] Cannot remove teammate ${V}: failed to read team file for "${J}"`),!1;let Z=X.members.length;if(X.members=X.members.filter((Y)=>{if(Q.agentId&&Y.agentId===Q.agentId)return!1;if(Q.name&&Y.name===Q.name)return!1;return!0}),X.members.length===Z)return G(`[TeammateTool] Teammate ${V} not found in team file for "${J}"`),!1;return x(J,X),G(`[TeammateTool] Removed teammate from team file: ${V}`),!0}function rQ(J,Q){let V=H(J);if(!V)return!1;let X=V.hiddenPaneIds??[];if(!X.includes(Q))X.push(Q),V.hiddenPaneIds=X,x(J,V),G(`[TeammateTool] Added ${Q} to hidden panes for team ${J}`);return!0}function dQ(J,Q){let V=H(J);if(!V)return!1;let X=V.hiddenPaneIds??[],Z=X.indexOf(Q);if(Z!==-1)X.splice(Z,1),V.hiddenPaneIds=X,x(J,V),G(`[TeammateTool] Removed ${Q} from hidden panes for team ${J}`);return!0}function iQ(J,Q){let V=H(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.tmuxPaneId===Q);if(X===-1)return!1;if(V.members.splice(X,1),V.hiddenPaneIds){let Z=V.hiddenPaneIds.indexOf(Q);if(Z!==-1)V.hiddenPaneIds.splice(Z,1)}return x(J,V),G(`[TeammateTool] Removed member with pane ${Q} from team ${J}`),!0}function mQ(J,Q){let V=H(J);if(!V)return!1;let X=V.members.findIndex((Z)=>Z.agentId===Q);if(X===-1)return!1;return V.members.splice(X,1),x(J,V),G(`[TeammateTool] Removed member ${Q} from team ${J}`),!0}function dJ(J,Q,V){let X=H(J);if(!X)return!1;let Z=X.members.find(($)=>$.name===Q);if(!Z)return G(`[TeammateTool] Cannot set member mode: member ${Q} not found in team ${J}`),!1;if(Z.mode===V)return!0;let Y=X.members.map(($)=>$.name===Q?{...$,mode:V}:$);return x(J,{...X,members:Y}),G(`[TeammateTool] Set member ${Q} in team ${J} to mode: ${V}`),!0}function sQ(J,Q){if(!SJ())return;let V=Q??c(),X=vJ();if(V&&X)dJ(V,X,J)}function tQ(J,Q){let V=H(J);if(!V)return!1;let X=new Map(Q.map(($)=>[$.memberName,$.mode])),Z=!1,Y=V.members.map(($)=>{let q=X.get($.name);if(q!==void 0&&$.mode!==q)return Z=!0,{...$,mode:q};return $});if(Z)x(J,{...V,members:Y}),G(`[TeammateTool] Set ${Q.length} member modes in team ${J}`);return!0}async function aQ(J,Q,V){let X=await kJ(J);if(!X){G(`[TeammateTool] Cannot set member active: team ${J} not found`);return}let Z=X.members.find((Y)=>Y.name===Q);if(!Z){G(`[TeammateTool] Cannot set member active: member ${Q} not found in team ${J}`);return}if(Z.isActive===V)return;Z.isActive=V,await rJ(J,X),G(`[TeammateTool] Set member ${Q} in team ${J} to ${V?"active":"idle"}`)}async function iJ(J){let Q=f(J,".git"),V=null;try{let Z=(await AJ(Q,"utf-8")).trim().match(/^gitdir:\s*(.+)$/);if(Z&&Z[1]){let Y=Z[1],$=f(Y,"..","..");V=f($,"..")}}catch{}if(V){let X=await OJ(xJ(),["worktree","remove","--force",J],{cwd:V});if(X.code===0){G(`[TeammateTool] Removed worktree via git: ${J}`);return}if(X.stderr?.includes("not a working tree")){G(`[TeammateTool] Worktree already removed: ${J}`);return}G(`[TeammateTool] git worktree remove failed, falling back to rm: ${X.stderr}`)}try{await k(J,{recursive:!0,force:!0}),G(`[TeammateTool] Removed worktree directory manually: ${J}`)}catch(X){G(`[TeammateTool] Failed to remove worktree ${J}: ${W(X)}`)}}function eQ(J){L().add(J)}function JV(J){L().delete(J)}async function QV(){let J=L();if(J.size===0)return;let Q=Array.from(J);G(`cleanupSessionTeams: removing ${Q.length} orphan team dir(s): ${Q.join(", ")}`),await Promise.allSettled(Q.map((V)=>mJ(V))),await Promise.allSettled(Q.map((V)=>sJ(V))),J.clear()}async function mJ(J){let Q=H(J);if(!Q)return;let V=Q.members.filter((q)=>q.name!==CJ&&q.tmuxPaneId&&q.backendType&&n(q.backendType));if(V.length===0)return;let[{ensureBackendsRegistered:X,getBackendByType:Z},{isInsideTmux:Y}]=await Promise.all([import("./registry-1.0.12-416j15rh.mjs"),import("./detection-1.0.12-a5q568s6.mjs")]);await X();let $=!await Y();await Promise.allSettled(V.map(async(q)=>{if(!q.tmuxPaneId||!q.backendType||!n(q.backendType))return;let K=await Z(q.backendType).killPane(q.tmuxPaneId,$);G(`cleanupSessionTeams: killPane ${q.name} (${q.backendType} ${q.tmuxPaneId}) → ${K}`)}))}async function sJ(J){let Q=zJ(J),V=H(J),X=[];if(V){for(let $ of V.members)if($.worktreePath)X.push($.worktreePath)}for(let $ of X)await iJ($);let Z=u(J);try{await k(Z,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up team directory: ${Z}`)}catch($){G(`[TeammateTool] Failed to clean up team directory ${Z}: ${W($)}`)}let Y=E(Q);try{await k(Y,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up tasks directory: ${Y}`),U()}catch($){G(`[TeammateTool] Failed to clean up tasks directory ${Y}: ${W($)}`)}}var oQ;var tJ=T(()=>{VJ();m();QJ();a();e();FJ();NJ();XJ();JJ();HJ();ZJ();UJ();TJ();oQ=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{HQ as eV,UQ as fV,BQ as gV,fJ as hV,OQ as iV,xQ as jV,CQ as kV,_J as lV,E as mV,bJ as nV,vQ as oV,O as pV,j as qV,SQ as rV,h as sV,AQ as tV,zQ as uV,MQ as vV,HJ as wV,n as xV,UJ as yV,oQ as zV,zJ as AV,nQ as BV,u as CV,F as DV,H as EV,kJ as FV,rJ as GV,kQ as HV,rQ as IV,dQ as JV,iQ as KV,mQ as LV,dJ as MV,sQ as NV,tQ as OV,aQ as PV,eQ as QV,JV as RV,QV as SV,sJ as TV,tJ as UV};
@@ -1,2 +0,0 @@
1
- import{DV as k,EV as f,UV as u}from"./cli-1.0.12-67258wf2.mjs";import{JX as C,VX as d}from"./cli-1.0.12-ehp5ev2y.mjs";import{o4 as A,q4 as F}from"./cli-1.0.12-jfsy9ha5.mjs";import{M4 as q,S4 as i}from"./cli-1.0.12-7gt5bvcm.mjs";import{I8 as W,L8 as _,S8 as j,T8 as w,Y8 as I}from"./cli-1.0.12-1qc9gpzw.mjs";import{qga as V,yga as U}from"./cli-1.0.12-anfbb1k6.mjs";import{Via as M,Wia as v}from"./cli-1.0.12-n1m3pwwf.mjs";import{Dja as X,Eja as R,Ija as p,_ja as J,bka as x}from"./cli-1.0.12-crspnn4b.mjs";import{Fka as T,yka as P}from"./cli-1.0.12-x4ep25h9.mjs";import{isa as O}from"./cli-1.0.12-ecf1es2x.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.0.12-wzaxf903.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 Na,$z as Oa,Xz as Pa,Wz as Qa,Lz as Ra};
@@ -1,2 +0,0 @@
1
- import{e$ as Q,u$ as _}from"./cli-1.0.12-anfbb1k6.mjs";import{iia as I,jia as X}from"./cli-1.0.12-pp2g923k.mjs";import{_ja as B,bka as V}from"./cli-1.0.12-crspnn4b.mjs";import{hsa as T}from"./cli-1.0.12-ecf1es2x.mjs";function j(){A.clear()}async function P(){let f=await Y();if(!f)return null;if(f.host!=="github.com")return null;return`${f.owner}/${f.name}`}async function Y(){let f=I();if(A.has(f))return A.get(f)??null;try{let q=await Q();if(B(`Git remote URL: ${q}`),!q)return B("No git remote URL found"),A.set(f,null),null;let x=O(q);return B(`Parsed repository: ${x?`${x.host}/${x.owner}/${x.name}`:null} from URL: ${q}`),A.set(f,x),x}catch(q){return B(`Error detecting repository: ${q}`),A.set(f,null),null}}function S(){let f=A.get(I());if(!f||f.host!=="github.com")return null;return`${f.owner}/${f.name}`}function O(f){let q=f.trim(),x=q.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(x?.[1]&&x[2]&&x[3]){if(!N(x[1]))return null;return{host:x[1],owner:x[2],name:x[3]}}let z=q.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]&&z[4]){let E=z[1],J=z[2],K=J.split(":")[0]??"";if(!N(K))return null;return{host:E==="https"||E==="http"?J:K,owner:z[3],name:z[4]}}return null}function D(f){let q=f.trim(),x=O(q);if(x){if(x.host!=="github.com")return null;return`${x.owner}/${x.name}`}if(!q.includes("://")&&!q.includes("@")&&q.includes("/")){let z=q.split("/");if(z.length===2&&z[0]&&z[1]){let E=z[1].replace(/\.git$/,"");return`${z[0]}/${E}`}}return B(`Could not parse repository from: ${q}`),null}function N(f){if(!f.includes("."))return!1;let q=f.split(".").pop();if(!q)return!1;return/^[a-zA-Z]+$/.test(q)}var A;var Z=T(()=>{X();V();_();A=new Map});
2
- export{j as S9,P as T9,Y as U9,S as V9,O as W9,D as X9,Z as Y9};
@@ -1,4 +0,0 @@
1
- import{de as c,je as Eq}from"./cli-1.0.12-m46zb45g.mjs";import{$o as s,HL as n,NL as e,OL as P,SL as jq,TL as O,UL as qq,WL as I,XL as Gq,ap as Tq,bM as Cq,dp as t,eM as b,fM as Lq,fp as Mq,iM as Hq,jM as Jq,jp as i,lL as v,lM as vq,lp as Rq,mL as m,mM as y,nM as Qq,oL as Oq,oM as Xq,pM as Yq,pp as A,qM as $q,rM as d,rp as D,rt as l,sp as Aq,st as wq,tp as h,uM as Dq,up as S,vp as Fq}from"./cli-1.0.12-g2qsv3tc.mjs";import{Hda as _q,Pca as V,Xca as Kq,qga as a,sda as F,uda as L,yga as Bq}from"./cli-1.0.12-anfbb1k6.mjs";import{Mja as p,Qja as Wq}from"./cli-1.0.12-crspnn4b.mjs";import{Aka as N,Fka as Uq,xka as o}from"./cli-1.0.12-x4ep25h9.mjs";import{Fma as f,yqa as xq}from"./cli-1.0.12-y1c7c1a1.mjs";import{hsa as Zq}from"./cli-1.0.12-ecf1es2x.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(x){a(o(x));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,W=`${Z.name}@${Y}`,Q=await Jq({pluginId:W,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${W} (scope: ${H})${Q.depNote}`,pluginId:W,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),W=F(Z),Q,$;if(z)Q=Object.keys(W?.enabledPlugins??{}).find((U)=>U===q||U===z.name||U.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let U=yq(q);if(!U)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=U.pluginId,$=U.pluginName}let B=zq(H),x=O().plugins[Q],M=x?.find((U)=>U.scope===H&&U.projectPath===B);if(!M){let{scope:U}=kq(Q);if(U!==H&&x&&x.length>0){if(U==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${U} scope, not ${H}. Use --scope ${U} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...W?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(t(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(i(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),W=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&W===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?W===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:x}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(x)return{success:!1,message:`Failed to ${X} plugin: ${x.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
2
- ${G.join(`
3
- `)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function xG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),W=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let x=await Yq(G.source,{manifest:{name:G.name}});Q=x.path,B=!0,K=x.gitCommitSha,$=await b(q,G.source,x.manifest,x.path,G.version,x.gitCommitSha)}else{let x;try{x=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=x.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let x=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===x||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:W,alreadyUpToDate:!0,scope:Y};x=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,x,$,K),_&&_!==x){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((U)=>U.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${W||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:W,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{xq();Rq();Uq();Wq();Bq();Oq();Fq();Cq();jq();Tq();Aq();vq();Dq();Mq();wq();Eq();Lq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
4
- export{k as Sd,HG as Td,JG as Ud,QG as Vd,kq as Wd,XG as Xd,YG as Yd,$G as Zd,zG as _d,ZG as $d,xG as ae,hq as be};
@@ -1,2 +0,0 @@
1
- import{Pb as W,Qb as z}from"./cli-1.0.12-93c97gc0.mjs";import{Vb as R}from"./cli-1.0.12-mx2xvdp9.mjs";import{rW as M,sW as w}from"./cli-1.0.12-hhr93g23.mjs";import{_ja as L,bka as j}from"./cli-1.0.12-crspnn4b.mjs";import{Fka as H,yka as Z}from"./cli-1.0.12-x4ep25h9.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 Kb,k as Lb,D as Mb};
@@ -1,2 +0,0 @@
1
- import{hsa as l}from"./cli-1.0.12-ecf1es2x.mjs";function o(i,e,r){var t=null;if(r!==void 0&&(t=""+r),e.key!==void 0&&(t=""+e.key),"key"in e){r={};for(var s in e)s!=="key"&&(r[s]=e[s])}else r=e;return e=r.ref,{$$typeof:n,type:i,key:t,ref:e!==void 0?e:null,props:r}}var n,d,u,E,a;var c=l(()=>{n=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");u=d,E=o,a=o});
2
- export{u as T3,E as U3,a as V3,c as W3};