@claudiolabs/claudin 1.1.33 → 1.1.35

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 (832) hide show
  1. package/dist/chunks/App-1.1.35-r3nj6jfs.mjs +1 -0
  2. package/dist/chunks/ApproveApiKey-1.1.35-8nvhxyw9.mjs +1 -0
  3. package/dist/chunks/AutoModeOptInDialog-1.1.35-1ywwnh39.mjs +1 -0
  4. package/dist/chunks/BypassPermissionsModeDialog-1.1.35-bvk75rww.mjs +1 -0
  5. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.35-1ct3fw8c.mjs +1 -0
  6. package/dist/chunks/ConsoleOAuthFlow-1.1.35-nt22bzb6.mjs +1 -0
  7. package/dist/chunks/DiffDialog-1.1.35-98xrgmtc.mjs +6 -0
  8. package/dist/chunks/Doctor-1.1.35-k34y3jy9.mjs +1 -0
  9. package/dist/chunks/ExplorerDialog-1.1.35-nan1wyke.mjs +6 -0
  10. package/dist/chunks/ITermBackend-1.1.35-kt3ng0j6.mjs +1 -0
  11. package/dist/chunks/InvalidConfigDialog-1.1.35-k7wnc3v8.mjs +1 -0
  12. package/dist/chunks/InvalidSettingsDialog-1.1.35-3dp4jb6e.mjs +1 -0
  13. package/dist/chunks/MigrationDialog-1.1.35-6pa67bzn.mjs +1 -0
  14. package/dist/chunks/Onboarding-1.1.35-4sje6bjv.mjs +1 -0
  15. package/dist/chunks/ProviderManager-1.1.35-99y8t1j9.mjs +1 -0
  16. package/dist/chunks/REPL-1.1.35-0vqh1ns0.mjs +1 -0
  17. package/dist/chunks/ResumeConversation-1.1.35-104fszyr.mjs +1 -0
  18. package/dist/chunks/TeleportProgress-1.1.35-xcz2dypc.mjs +1 -0
  19. package/dist/chunks/TeleportRepoMismatchDialog-1.1.35-nfckw5cx.mjs +1 -0
  20. package/dist/chunks/TeleportResumeWrapper-1.1.35-6528ybrk.mjs +1 -0
  21. package/dist/chunks/TmuxBackend-1.1.35-rqncjk99.mjs +9 -0
  22. package/dist/chunks/ToolSearchTool-1.1.35-0t2d7g7n.mjs +1 -0
  23. package/dist/chunks/TrustDialog-1.1.35-j9d3asbg.mjs +1 -0
  24. package/dist/chunks/activeProvider-1.1.35-fkjy6sz1.mjs +1 -0
  25. package/dist/chunks/add-dir-1.1.35-4gh89hh4.mjs +1 -0
  26. package/dist/chunks/agentTypes-1.1.35-nx5q66t5.mjs +1 -0
  27. package/dist/chunks/agents-1.1.35-0kyfdt7w.mjs +3 -0
  28. package/dist/chunks/agents-1.1.35-1vzstv4y.mjs +110 -0
  29. package/dist/chunks/api-1.1.35-ab0j2x7t.mjs +1 -0
  30. package/dist/chunks/asciicast-1.1.35-xgjp2wrs.mjs +1 -0
  31. package/dist/chunks/auth-1.1.35-2fpa9v9f.mjs +1 -0
  32. package/dist/chunks/auth-1.1.35-deksnwe8.mjs +1 -0
  33. package/dist/chunks/autoMode-1.1.35-8d2qr79q.mjs +52 -0
  34. package/dist/chunks/autoModeSetup-1.1.35-hg5dxv1t.mjs +44 -0
  35. package/dist/chunks/autoUpdater-1.1.35-5pzsrenf.mjs +1 -0
  36. package/dist/chunks/backgroundHousekeeping-1.1.35-2kythx4m.mjs +1 -0
  37. package/dist/chunks/branch-1.1.35-tmksh596.mjs +4 -0
  38. package/dist/chunks/bridge-1.1.35-0za41yjp.mjs +2 -0
  39. package/dist/chunks/bridgeConfig-1.1.35-qtvayvc3.mjs +1 -0
  40. package/dist/chunks/bridgeEnabled-1.1.35-3mhemdrx.mjs +1 -0
  41. package/dist/chunks/bridgeMain-1.1.35-7awverkv.mjs +88 -0
  42. package/dist/chunks/bridgePointer-1.1.35-5gpfg6h4.mjs +1 -0
  43. package/dist/chunks/btw-1.1.35-6hy8wabr.mjs +1 -0
  44. package/dist/chunks/buddy-1.1.35-8z3tb1ne.mjs +3 -0
  45. package/dist/chunks/cache-probe-1.1.35-adn6dpak.mjs +21 -0
  46. package/dist/chunks/cacheStats-1.1.35-z3268gay.mjs +4 -0
  47. package/dist/chunks/caches-1.1.35-1qqfgvsm.mjs +1 -0
  48. package/dist/chunks/cd-1.1.35-vqy7n0x0.mjs +3 -0
  49. package/dist/chunks/claudeDesktop-1.1.35-enw3hpss.mjs +1 -0
  50. package/dist/chunks/claudemd-1.1.35-wsav3shz.mjs +1 -0
  51. package/dist/chunks/clear-1.1.35-21ry6n0m.mjs +1 -0
  52. package/dist/chunks/clearTerminal-1.1.35-sg808cbp.mjs +1 -0
  53. package/dist/chunks/cli-1.1.35-02qx9a8j.mjs +2 -0
  54. package/dist/chunks/cli-1.1.35-0axe3ev5.mjs +2 -0
  55. package/dist/chunks/cli-1.1.35-0feday40.mjs +20 -0
  56. package/dist/chunks/cli-1.1.35-0p69hr1j.mjs +2 -0
  57. package/dist/chunks/cli-1.1.35-0qrw70p1.mjs +2 -0
  58. package/dist/chunks/cli-1.1.35-0tc3wmtp.mjs +5 -0
  59. package/dist/chunks/cli-1.1.35-0vpxr2rk.mjs +2 -0
  60. package/dist/chunks/cli-1.1.35-0zkzg6at.mjs +2 -0
  61. package/dist/chunks/cli-1.1.35-1618y169.mjs +2 -0
  62. package/dist/chunks/cli-1.1.35-18wszrez.mjs +15 -0
  63. package/dist/chunks/cli-1.1.35-1bzyzrvt.mjs +2 -0
  64. package/dist/chunks/cli-1.1.35-1ceb2tjb.mjs +2 -0
  65. package/dist/chunks/cli-1.1.35-1gae8a5m.mjs +2 -0
  66. package/dist/chunks/cli-1.1.35-1x2wb524.mjs +2 -0
  67. package/dist/chunks/cli-1.1.35-21w0bna1.mjs +2 -0
  68. package/dist/chunks/cli-1.1.35-22q1jqqq.mjs +2 -0
  69. package/dist/chunks/cli-1.1.35-2gxxpyvc.mjs +2 -0
  70. package/dist/chunks/cli-1.1.35-2sm1x5n8.mjs +2 -0
  71. package/dist/chunks/cli-1.1.35-2x0m7ewe.mjs +9 -0
  72. package/dist/chunks/cli-1.1.35-34h7nfzz.mjs +11 -0
  73. package/dist/chunks/cli-1.1.35-389ej7r1.mjs +2 -0
  74. package/dist/chunks/cli-1.1.35-38s8y5cf.mjs +2 -0
  75. package/dist/chunks/cli-1.1.35-3keqk8xr.mjs +2 -0
  76. package/dist/chunks/cli-1.1.35-3zrjqd93.mjs +2 -0
  77. package/dist/chunks/cli-1.1.35-41srzc8c.mjs +2 -0
  78. package/dist/chunks/cli-1.1.35-46bm9f8q.mjs +2 -0
  79. package/dist/chunks/cli-1.1.35-4d0cm3mc.mjs +2 -0
  80. package/dist/chunks/cli-1.1.35-4d9merys.mjs +2 -0
  81. package/dist/chunks/cli-1.1.35-4g77zek0.mjs +24 -0
  82. package/dist/chunks/cli-1.1.35-4kft2wxe.mjs +2 -0
  83. package/dist/chunks/cli-1.1.35-4njf7z42.mjs +2 -0
  84. package/dist/chunks/cli-1.1.35-4typvdqe.mjs +2 -0
  85. package/dist/chunks/cli-1.1.35-589b1qht.mjs +2 -0
  86. package/dist/chunks/cli-1.1.35-5b39mwe0.mjs +2 -0
  87. package/dist/chunks/cli-1.1.35-5j12hjjm.mjs +2 -0
  88. package/dist/chunks/cli-1.1.35-5v115fee.mjs +2 -0
  89. package/dist/chunks/cli-1.1.35-61gmwbbt.mjs +2 -0
  90. package/dist/chunks/cli-1.1.35-688xsqg8.mjs +2 -0
  91. package/dist/chunks/cli-1.1.35-6c4v5dpe.mjs +15 -0
  92. package/dist/chunks/cli-1.1.35-6nhv8vhv.mjs +2 -0
  93. package/dist/chunks/cli-1.1.35-6p10e278.mjs +2 -0
  94. package/dist/chunks/cli-1.1.35-7g4yw92j.mjs +2 -0
  95. package/dist/chunks/cli-1.1.35-7hfdc6xn.mjs +2 -0
  96. package/dist/chunks/cli-1.1.35-7mxbj45y.mjs +2 -0
  97. package/dist/chunks/cli-1.1.35-7mz6cnfb.mjs +6 -0
  98. package/dist/chunks/cli-1.1.35-7nsr0a6p.mjs +2 -0
  99. package/dist/chunks/cli-1.1.35-7p1685r1.mjs +2 -0
  100. package/dist/chunks/cli-1.1.35-7tt5b2wx.mjs +2 -0
  101. package/dist/chunks/cli-1.1.35-7y74em05.mjs +2 -0
  102. package/dist/chunks/cli-1.1.35-82ak1wpt.mjs +7 -0
  103. package/dist/chunks/cli-1.1.35-854kyr9a.mjs +3 -0
  104. package/dist/chunks/cli-1.1.35-85zb0hfp.mjs +2 -0
  105. package/dist/chunks/cli-1.1.35-873xb9w7.mjs +2 -0
  106. package/dist/chunks/cli-1.1.35-8b1qqrev.mjs +135 -0
  107. package/dist/chunks/cli-1.1.35-8d9f31xx.mjs +2 -0
  108. package/dist/chunks/cli-1.1.35-8qdvqjz3.mjs +2 -0
  109. package/dist/chunks/cli-1.1.35-8ttx7y70.mjs +2 -0
  110. package/dist/chunks/cli-1.1.35-959df5vk.mjs +2 -0
  111. package/dist/chunks/cli-1.1.35-9817kkw4.mjs +3 -0
  112. package/dist/chunks/cli-1.1.35-9dkpx812.mjs +2 -0
  113. package/dist/chunks/cli-1.1.35-9tnc0a3x.mjs +2 -0
  114. package/dist/chunks/cli-1.1.35-9z4kwrpr.mjs +6 -0
  115. package/dist/chunks/cli-1.1.35-a7ygtwdr.mjs +5 -0
  116. package/dist/chunks/cli-1.1.35-a8677mcz.mjs +2 -0
  117. package/dist/chunks/cli-1.1.35-a9y8qxsj.mjs +6 -0
  118. package/dist/chunks/cli-1.1.35-an20pj6q.mjs +2 -0
  119. package/dist/chunks/cli-1.1.35-arj7fm1n.mjs +2 -0
  120. package/dist/chunks/cli-1.1.35-b0n88pf7.mjs +2 -0
  121. package/dist/chunks/cli-1.1.35-bbq4frhw.mjs +2 -0
  122. package/dist/chunks/cli-1.1.35-bhmad6rp.mjs +3 -0
  123. package/dist/chunks/cli-1.1.35-bka68014.mjs +2 -0
  124. package/dist/chunks/cli-1.1.35-bq7wadxz.mjs +2 -0
  125. package/dist/chunks/cli-1.1.35-c05841mj.mjs +2 -0
  126. package/dist/chunks/cli-1.1.35-c3vqfrj0.mjs +45 -0
  127. package/dist/chunks/cli-1.1.35-c4thx500.mjs +26 -0
  128. package/dist/chunks/cli-1.1.35-cj42e7aq.mjs +24 -0
  129. package/dist/chunks/cli-1.1.35-cjdzbmst.mjs +2 -0
  130. package/dist/chunks/cli-1.1.35-cjsf2kh3.mjs +2 -0
  131. package/dist/chunks/cli-1.1.35-cm0anghq.mjs +2 -0
  132. package/dist/chunks/cli-1.1.35-cp6wwahj.mjs +4 -0
  133. package/dist/chunks/cli-1.1.35-d6kd2zv5.mjs +2 -0
  134. package/dist/chunks/cli-1.1.35-d7n85zf2.mjs +2 -0
  135. package/dist/chunks/cli-1.1.35-da72zgbs.mjs +50 -0
  136. package/dist/chunks/cli-1.1.35-dfcj4fkz.mjs +2 -0
  137. package/dist/chunks/cli-1.1.35-dk4f6kgr.mjs +2 -0
  138. package/dist/chunks/cli-1.1.35-dnacc640.mjs +252 -0
  139. package/dist/chunks/cli-1.1.35-dw3fv0g8.mjs +60 -0
  140. package/dist/chunks/cli-1.1.35-dwaz1jv4.mjs +2 -0
  141. package/dist/chunks/cli-1.1.35-e08b8j98.mjs +18 -0
  142. package/dist/chunks/cli-1.1.35-eqcgyqke.mjs +39 -0
  143. package/dist/chunks/cli-1.1.35-ewtk80cp.mjs +3 -0
  144. package/dist/chunks/cli-1.1.35-f6sa351s.mjs +5 -0
  145. package/dist/chunks/cli-1.1.35-f8jgxvev.mjs +2 -0
  146. package/dist/chunks/cli-1.1.35-fgkpe9g9.mjs +2 -0
  147. package/dist/chunks/cli-1.1.35-fjtf9x1v.mjs +2 -0
  148. package/dist/chunks/cli-1.1.35-fr8gap0y.mjs +2 -0
  149. package/dist/chunks/cli-1.1.35-ftvtbdm6.mjs +4 -0
  150. package/dist/chunks/cli-1.1.35-fwyc7v71.mjs +7 -0
  151. package/dist/chunks/cli-1.1.35-fz50q22a.mjs +2 -0
  152. package/dist/chunks/cli-1.1.35-g2vg6fw2.mjs +2 -0
  153. package/dist/chunks/cli-1.1.35-g7086zkj.mjs +2 -0
  154. package/dist/chunks/cli-1.1.35-g74y15na.mjs +2 -0
  155. package/dist/chunks/cli-1.1.35-gcjyc9x3.mjs +2 -0
  156. package/dist/chunks/cli-1.1.35-gr966v4t.mjs +2 -0
  157. package/dist/chunks/cli-1.1.35-h06ng57d.mjs +2 -0
  158. package/dist/chunks/cli-1.1.35-h262sgvd.mjs +4 -0
  159. package/dist/chunks/cli-1.1.35-h71ph12s.mjs +2 -0
  160. package/dist/chunks/cli-1.1.35-h7qpm4z8.mjs +3 -0
  161. package/dist/chunks/cli-1.1.35-hm1wpf1w.mjs +2 -0
  162. package/dist/chunks/cli-1.1.35-htvjtg4f.mjs +2 -0
  163. package/dist/chunks/cli-1.1.35-hwphkmp4.mjs +2 -0
  164. package/dist/chunks/cli-1.1.35-hy9jtbmb.mjs +5570 -0
  165. package/dist/chunks/cli-1.1.35-hyqzaskn.mjs +2 -0
  166. package/dist/chunks/cli-1.1.35-j1ypjsz5.mjs +2 -0
  167. package/dist/chunks/cli-1.1.35-j7xxkgf1.mjs +133 -0
  168. package/dist/chunks/cli-1.1.35-jajp8grw.mjs +2 -0
  169. package/dist/chunks/cli-1.1.35-jdqn8gkp.mjs +2 -0
  170. package/dist/chunks/cli-1.1.35-jfzp91gv.mjs +2 -0
  171. package/dist/chunks/cli-1.1.35-jn52m495.mjs +2 -0
  172. package/dist/chunks/cli-1.1.35-jq1wvnwe.mjs +17 -0
  173. package/dist/chunks/cli-1.1.35-jrexyjt9.mjs +2 -0
  174. package/dist/chunks/cli-1.1.35-jvhs6ypf.mjs +10 -0
  175. package/dist/chunks/cli-1.1.35-jx42cnmn.mjs +15 -0
  176. package/dist/chunks/cli-1.1.35-k6jh38a3.mjs +2 -0
  177. package/dist/chunks/cli-1.1.35-kbrngf5h.mjs +2 -0
  178. package/dist/chunks/cli-1.1.35-kcgcs2dj.mjs +2 -0
  179. package/dist/chunks/cli-1.1.35-kdw3m4z1.mjs +25 -0
  180. package/dist/chunks/cli-1.1.35-kh8s6rf2.mjs +4 -0
  181. package/dist/chunks/cli-1.1.35-kkhrpw6q.mjs +2 -0
  182. package/dist/chunks/cli-1.1.35-kp2hgrdb.mjs +24 -0
  183. package/dist/chunks/cli-1.1.35-ktb8z2s9.mjs +3 -0
  184. package/dist/chunks/cli-1.1.35-kvw88dmk.mjs +2 -0
  185. package/dist/chunks/cli-1.1.35-kz5tydkv.mjs +2 -0
  186. package/dist/chunks/cli-1.1.35-m20xytkt.mjs +2 -0
  187. package/dist/chunks/cli-1.1.35-m6efjk78.mjs +2 -0
  188. package/dist/chunks/cli-1.1.35-ma6czbht.mjs +2 -0
  189. package/dist/chunks/cli-1.1.35-ms3xdp4c.mjs +42 -0
  190. package/dist/chunks/cli-1.1.35-ms5g0jwj.mjs +2 -0
  191. package/dist/chunks/cli-1.1.35-nahyfraf.mjs +2 -0
  192. package/dist/chunks/cli-1.1.35-ne21zedp.mjs +2 -0
  193. package/dist/chunks/cli-1.1.35-ngg53c9c.mjs +2 -0
  194. package/dist/chunks/cli-1.1.35-pa3rjff6.mjs +2 -0
  195. package/dist/chunks/cli-1.1.35-pgcrgrc3.mjs +2 -0
  196. package/dist/chunks/cli-1.1.35-pms9wnd8.mjs +2 -0
  197. package/dist/chunks/cli-1.1.35-pr69kkhz.mjs +2 -0
  198. package/dist/chunks/cli-1.1.35-prf6sjs7.mjs +2 -0
  199. package/dist/chunks/cli-1.1.35-ps66nanc.mjs +2 -0
  200. package/dist/chunks/cli-1.1.35-pycaqt81.mjs +2 -0
  201. package/dist/chunks/cli-1.1.35-q1axe4bk.mjs +2 -0
  202. package/dist/chunks/cli-1.1.35-qb0eb8th.mjs +2 -0
  203. package/dist/chunks/cli-1.1.35-qbahm5cg.mjs +2 -0
  204. package/dist/chunks/cli-1.1.35-qgjs5ex0.mjs +7 -0
  205. package/dist/chunks/cli-1.1.35-qnfq8bw4.mjs +4 -0
  206. package/dist/chunks/cli-1.1.35-qvdpj1qb.mjs +2 -0
  207. package/dist/chunks/cli-1.1.35-qxj39xzd.mjs +8 -0
  208. package/dist/chunks/cli-1.1.35-qygaywxg.mjs +34 -0
  209. package/dist/chunks/cli-1.1.35-r4rm2297.mjs +4 -0
  210. package/dist/chunks/cli-1.1.35-r80cjbt8.mjs +2 -0
  211. package/dist/chunks/cli-1.1.35-rmfsk9nw.mjs +2 -0
  212. package/dist/chunks/cli-1.1.35-s05wj44h.mjs +3 -0
  213. package/dist/chunks/cli-1.1.35-s066wwsj.mjs +3 -0
  214. package/dist/chunks/cli-1.1.35-s367nd6g.mjs +2 -0
  215. package/dist/chunks/cli-1.1.35-s3d0nchc.mjs +2 -0
  216. package/dist/chunks/cli-1.1.35-s6n3pb03.mjs +2 -0
  217. package/dist/chunks/cli-1.1.35-s85hd24a.mjs +16 -0
  218. package/dist/chunks/cli-1.1.35-sg0tga4d.mjs +2 -0
  219. package/dist/chunks/cli-1.1.35-swxcv3xf.mjs +6 -0
  220. package/dist/chunks/cli-1.1.35-szkn08rr.mjs +2 -0
  221. package/dist/chunks/cli-1.1.35-t2vx6b45.mjs +17 -0
  222. package/dist/chunks/cli-1.1.35-t5kexs8c.mjs +6 -0
  223. package/dist/chunks/cli-1.1.35-t8c5b3qj.mjs +4 -0
  224. package/dist/chunks/cli-1.1.35-ta15z2yx.mjs +10 -0
  225. package/dist/chunks/cli-1.1.35-tsrq3cxy.mjs +2 -0
  226. package/dist/chunks/cli-1.1.35-tsx8c30n.mjs +2 -0
  227. package/dist/chunks/cli-1.1.35-ve889dy8.mjs +3 -0
  228. package/dist/chunks/cli-1.1.35-w1mzdb9s.mjs +2 -0
  229. package/dist/chunks/cli-1.1.35-w6kgq9n5.mjs +2 -0
  230. package/dist/chunks/cli-1.1.35-w73x0912.mjs +2 -0
  231. package/dist/chunks/cli-1.1.35-w9wzew2x.mjs +4 -0
  232. package/dist/chunks/cli-1.1.35-wmcp8vyj.mjs +2 -0
  233. package/dist/chunks/cli-1.1.35-wpa5rfnt.mjs +12 -0
  234. package/dist/chunks/cli-1.1.35-wtjyzsga.mjs +2 -0
  235. package/dist/chunks/cli-1.1.35-ww28b5vj.mjs +2 -0
  236. package/dist/chunks/cli-1.1.35-x5ft52g3.mjs +2 -0
  237. package/dist/chunks/cli-1.1.35-xbhjhs1c.mjs +3 -0
  238. package/dist/chunks/cli-1.1.35-xdzsf38z.mjs +2 -0
  239. package/dist/chunks/cli-1.1.35-xs5mj8ee.mjs +21 -0
  240. package/dist/chunks/cli-1.1.35-y6bdqv7z.mjs +2 -0
  241. package/dist/chunks/cli-1.1.35-y6xhcehv.mjs +25 -0
  242. package/dist/chunks/cli-1.1.35-yns1ngnz.mjs +2 -0
  243. package/dist/chunks/cli-1.1.35-yta9zrj6.mjs +2 -0
  244. package/dist/chunks/cli-1.1.35-zbz78cha.mjs +9 -0
  245. package/dist/chunks/cli-1.1.35-zf7zq3kb.mjs +63 -0
  246. package/dist/chunks/client-1.1.35-2j9sd0sg.mjs +1 -0
  247. package/dist/chunks/color-1.1.35-nf9dqw3m.mjs +1 -0
  248. package/dist/chunks/compact-1.1.35-h8mqxxs0.mjs +2 -0
  249. package/dist/chunks/config-1.1.35-7t0vfbst.mjs +1 -0
  250. package/dist/chunks/config-1.1.35-cfhvn2fq.mjs +1 -0
  251. package/dist/chunks/constants-1.1.35-kst22e3x.mjs +1 -0
  252. package/dist/chunks/context-1.1.35-2nc26t9y.mjs +1 -0
  253. package/dist/chunks/context-noninteractive-1.1.35-0ym77q3t.mjs +1 -0
  254. package/dist/chunks/conversation-1.1.35-0q4g6qt8.mjs +1 -0
  255. package/dist/chunks/copilotHeaders-1.1.35-7a5mc98p.mjs +1 -0
  256. package/dist/chunks/copy-1.1.35-n37rvhzj.mjs +9 -0
  257. package/dist/chunks/cost-1.1.35-hjmwjk6s.mjs +1 -0
  258. package/dist/chunks/createSession-1.1.35-v7c15fc8.mjs +1 -0
  259. package/dist/chunks/debug-1.1.35-2hf8mhst.mjs +1 -0
  260. package/dist/chunks/defaultActionDeps-1.1.35-15jcbncs.mjs +1480 -0
  261. package/dist/chunks/desktop-1.1.35-6w6gjpff.mjs +2 -0
  262. package/dist/chunks/detectRepository-1.1.35-eztj0q3f.mjs +1 -0
  263. package/dist/chunks/detection-1.1.35-rfkb2dxe.mjs +1 -0
  264. package/dist/chunks/diff-1.1.35-xb27tkcx.mjs +1 -0
  265. package/dist/chunks/doctor-1.1.35-ddg564v7.mjs +1 -0
  266. package/dist/chunks/doctorDiagnostic-1.1.35-1gfkz0p1.mjs +1 -0
  267. package/dist/chunks/earlyInput-1.1.35-5wsb4bkz.mjs +1 -0
  268. package/dist/chunks/effort-1.1.35-r53ttmc3.mjs +13 -0
  269. package/dist/chunks/engine-1.1.35-xthhbk9w.mjs +1 -0
  270. package/dist/chunks/envLessBridgeConfig-1.1.35-t6narn79.mjs +1 -0
  271. package/dist/chunks/envUtils-1.1.35-t6yq14ba.mjs +1 -0
  272. package/dist/chunks/errors-1.1.35-6m0kryy5.mjs +1 -0
  273. package/dist/chunks/exampleCommands-1.1.35-c7dhfj0z.mjs +1 -0
  274. package/dist/chunks/execFileNoThrow-1.1.35-39xh2ycx.mjs +1 -0
  275. package/dist/chunks/exit-1.1.35-zc8g5mnv.mjs +1 -0
  276. package/dist/chunks/explorer-1.1.35-784hbx9r.mjs +1 -0
  277. package/dist/chunks/export-1.1.35-5q6zdykx.mjs +2 -0
  278. package/dist/chunks/fast-1.1.35-fpsnnadp.mjs +1 -0
  279. package/dist/chunks/feedback-1.1.35-mdm8easg.mjs +16 -0
  280. package/dist/chunks/git-1.1.35-j2med41y.mjs +1 -0
  281. package/dist/chunks/githubModelsCredentials-1.1.35-4xzf0z5w.mjs +1 -0
  282. package/dist/chunks/goal-1.1.35-yp44rshy.mjs +4 -0
  283. package/dist/chunks/headless-1.1.35-rxvrbe58.mjs +2 -0
  284. package/dist/chunks/heapdump-1.1.35-xkthm0kj.mjs +6 -0
  285. package/dist/chunks/help-1.1.35-6ppc7eee.mjs +1 -0
  286. package/dist/chunks/hooks-1.1.35-0e80c1wz.mjs +79 -0
  287. package/dist/chunks/hooks-1.1.35-f791gbgk.mjs +1 -0
  288. package/dist/chunks/ide-1.1.35-pz8m36fj.mjs +3 -0
  289. package/dist/chunks/image-processor-napi-1.1.35-56y5k454.mjs +1 -0
  290. package/dist/chunks/import-1.1.35-fcn1y643.mjs +261 -0
  291. package/dist/chunks/inboundAttachments-1.1.35-n6b7ppqk.mjs +1 -0
  292. package/dist/chunks/index-1.1.35-434cwyrk.mjs +1 -0
  293. package/dist/chunks/index-1.1.35-4ngbsgjz.mjs +1 -0
  294. package/dist/chunks/index-1.1.35-7nsjazx1.mjs +1 -0
  295. package/dist/chunks/index-1.1.35-8rnbf6ea.mjs +1 -0
  296. package/dist/chunks/index-1.1.35-e5amgccf.mjs +1 -0
  297. package/dist/chunks/index-1.1.35-eejex06g.mjs +5 -0
  298. package/dist/chunks/index-1.1.35-epm25vr2.mjs +9 -0
  299. package/dist/chunks/index-1.1.35-jxpschvm.mjs +1 -0
  300. package/dist/chunks/index-1.1.35-mdgw0byv.mjs +9 -0
  301. package/dist/chunks/index-1.1.35-n36e4pzf.mjs +1 -0
  302. package/dist/chunks/index-1.1.35-nnrmrgn5.mjs +30 -0
  303. package/dist/chunks/index-1.1.35-p1fttaxb.mjs +1 -0
  304. package/dist/chunks/index-1.1.35-p3ttta20.mjs +1 -0
  305. package/dist/chunks/index-1.1.35-pjz1v5fa.mjs +1 -0
  306. package/dist/chunks/index-1.1.35-pqswr512.mjs +23 -0
  307. package/dist/chunks/index-1.1.35-q464ks4t.mjs +1 -0
  308. package/dist/chunks/index-1.1.35-r5cefbke.mjs +2 -0
  309. package/dist/chunks/index-1.1.35-rf0z1h76.mjs +1 -0
  310. package/dist/chunks/index-1.1.35-wg3dwx0w.mjs +2 -0
  311. package/dist/chunks/index-1.1.35-xcm76j0n.mjs +1 -0
  312. package/dist/chunks/index-1.1.35-y7q90201.mjs +1 -0
  313. package/dist/chunks/index-1.1.35-y9scvznb.mjs +1 -0
  314. package/dist/chunks/index-1.1.35-yy5qsdz8.mjs +1 -0
  315. package/dist/chunks/init-1.1.35-hawgzj6s.mjs +2 -0
  316. package/dist/chunks/initReplBridge-1.1.35-aee08exn.mjs +1 -0
  317. package/dist/chunks/ink-1.1.35-9vhjhx60.mjs +1 -0
  318. package/dist/chunks/insights-1.1.35-2782qak6.mjs +870 -0
  319. package/dist/chunks/install-1.1.35-nptjkfk3.mjs +1 -0
  320. package/dist/chunks/install-github-app-1.1.35-v4ahg5m0.mjs +149 -0
  321. package/dist/chunks/install-slack-app-1.1.35-rc6ch1k0.mjs +1 -0
  322. package/dist/chunks/interactiveHelpers-1.1.35-1755rb8a.mjs +1 -0
  323. package/dist/chunks/keybindings-1.1.35-9qz4bvrq.mjs +2 -0
  324. package/dist/chunks/latestVersionCache-1.1.35-ff7kd1x3.mjs +1 -0
  325. package/dist/chunks/loadAgentsDir-1.1.35-nwtm30nv.mjs +1 -0
  326. package/dist/chunks/loadPluginHooks-1.1.35-jxqkv874.mjs +1 -0
  327. package/dist/chunks/log-1.1.35-h5x69tbw.mjs +1 -0
  328. package/dist/chunks/main-1.1.35-1e6064ax.mjs +1 -0
  329. package/dist/chunks/managedEnv-1.1.35-s6143dpv.mjs +1 -0
  330. package/dist/chunks/mcp-1.1.35-0tswravz.mjs +1 -0
  331. package/dist/chunks/mcp-1.1.35-bdv2pgpj.mjs +17 -0
  332. package/dist/chunks/mcp-1.1.35-khngfse0.mjs +4 -0
  333. package/dist/chunks/mcpb-1.1.35-p4jn8q66.mjs +1 -0
  334. package/dist/chunks/memory-1.1.35-zvk9c80b.mjs +128 -0
  335. package/dist/chunks/model-1.1.35-j8hp9tcm.mjs +1 -0
  336. package/dist/chunks/model-1.1.35-mb41ksj1.mjs +2 -0
  337. package/dist/chunks/node-1.1.35-312s6waw.mjs +1 -0
  338. package/dist/chunks/node-1.1.35-zzk2fc7x.mjs +15 -0
  339. package/dist/chunks/oauth-1.1.35-2pwvpgey.mjs +1 -0
  340. package/dist/chunks/openaiShim-1.1.35-6gbm01ym.mjs +14 -0
  341. package/dist/chunks/output-style-1.1.35-gbk18883.mjs +1 -0
  342. package/dist/chunks/package-F6O7J2XI-1.1.35-0z3efknf.mjs +1 -0
  343. package/dist/chunks/permissions-1.1.35-c11nnhp0.mjs +3 -0
  344. package/dist/chunks/permissions-1.1.35-vqtbrznv.mjs +1 -0
  345. package/dist/chunks/plan-1.1.35-5nz3m4kh.mjs +1 -0
  346. package/dist/chunks/plist-1.1.35-4bd0g91w.mjs +1 -0
  347. package/dist/chunks/plugin-1.1.35-0tg6jzxg.mjs +29 -0
  348. package/dist/chunks/pluginStartupCheck-1.1.35-z1parxqs.mjs +1 -0
  349. package/dist/chunks/plugins-1.1.35-z14pz0dr.mjs +9 -0
  350. package/dist/chunks/preActionHook-1.1.35-9dyzn96j.mjs +2 -0
  351. package/dist/chunks/print-1.1.35-89rm2txf.mjs +57 -0
  352. package/dist/chunks/process-1.1.35-7x8d7kyn.mjs +1 -0
  353. package/dist/chunks/processBashCommand-1.1.35-hj8xz358.mjs +1 -0
  354. package/dist/chunks/processSlashCommand-1.1.35-egejjqfw.mjs +9 -0
  355. package/dist/chunks/prompt-1.1.35-aaz8q4j6.mjs +1 -0
  356. package/dist/chunks/prompt-1.1.35-f3fackax.mjs +1 -0
  357. package/dist/chunks/prompts-1.1.35-58wwfjfd.mjs +1 -0
  358. package/dist/chunks/provider-1.1.35-xwj158q8.mjs +2 -0
  359. package/dist/chunks/providerProfiles-1.1.35-6wzwgty6.mjs +1 -0
  360. package/dist/chunks/providerValidation-1.1.35-z9h8ampz.mjs +6 -0
  361. package/dist/chunks/registerSubcommands-1.1.35-7ewvmysm.mjs +26 -0
  362. package/dist/chunks/registry-1.1.35-y4zandg8.mjs +1 -0
  363. package/dist/chunks/release-notes-1.1.35-s31rkdxh.mjs +5 -0
  364. package/dist/chunks/reload-plugins-1.1.35-18xd3nwy.mjs +2 -0
  365. package/dist/chunks/remote-env-1.1.35-0v4tk5np.mjs +1 -0
  366. package/dist/chunks/remoteBridgeCore-1.1.35-ev420056.mjs +1 -0
  367. package/dist/chunks/rename-1.1.35-m8chhebj.mjs +1 -0
  368. package/dist/chunks/replLauncher-1.1.35-483j4br6.mjs +1 -0
  369. package/dist/chunks/resume-1.1.35-vaxxp18n.mjs +2 -0
  370. package/dist/chunks/rewind-1.1.35-scs8763b.mjs +1 -0
  371. package/dist/chunks/rootOptions-1.1.35-9j5y8k9x.mjs +1 -0
  372. package/dist/chunks/runWorkflowHeadless-1.1.35-zjy5t791.mjs +10 -0
  373. package/dist/chunks/sandbox-adapter-1.1.35-qrmypwca.mjs +1 -0
  374. package/dist/chunks/sandbox-toggle-1.1.35-c2k8p98n.mjs +1 -0
  375. package/dist/chunks/session-1.1.35-78ew080a.mjs +2 -0
  376. package/dist/chunks/sessionStorage-1.1.35-0tyr8wn3.mjs +1 -0
  377. package/dist/chunks/settings-1.1.35-808m5j14.mjs +1 -0
  378. package/dist/chunks/setup-1.1.35-ebpewe9s.mjs +12 -0
  379. package/dist/chunks/sinks-1.1.35-nj35kk9h.mjs +1 -0
  380. package/dist/chunks/skills-1.1.35-zczajd48.mjs +1 -0
  381. package/dist/chunks/startupProfiler-1.1.35-wa5psc2j.mjs +1 -0
  382. package/dist/chunks/startupUpdateCheck-1.1.35-0wac30ap.mjs +1 -0
  383. package/dist/chunks/state-1.1.35-gcp827qz.mjs +1 -0
  384. package/dist/chunks/stats-1.1.35-f1kndsge.mjs +1 -0
  385. package/dist/chunks/status-1.1.35-gwtdrkx2.mjs +1 -0
  386. package/dist/chunks/stickers-1.1.35-fa69zd3v.mjs +1 -0
  387. package/dist/chunks/subprocessEnv-1.1.35-8wsc86ft.mjs +1 -0
  388. package/dist/chunks/tasks-1.1.35-0wd1t6v2.mjs +1 -0
  389. package/dist/chunks/teamHelpers-1.1.35-13qqfhxa.mjs +1 -0
  390. package/dist/chunks/teammateModeSnapshot-1.1.35-wdbfsm1h.mjs +1 -0
  391. package/dist/chunks/teleport-1.1.35-tmhzqx90.mjs +1 -0
  392. package/dist/chunks/terminalSetup-1.1.35-6xq5nt25.mjs +1 -0
  393. package/dist/chunks/theme-1.1.35-4b6gd2dx.mjs +1 -0
  394. package/dist/chunks/thinkback-1.1.35-x88djqdz.mjs +1 -0
  395. package/dist/chunks/thinkback-play-1.1.35-g6n14rjh.mjs +1 -0
  396. package/dist/chunks/toolPool-1.1.35-0qd67zrc.mjs +1 -0
  397. package/dist/chunks/toolSearch-1.1.35-54dpcvf8.mjs +1 -0
  398. package/dist/chunks/tools-1.1.35-3hjsc7mm.mjs +1 -0
  399. package/dist/chunks/trustedDevice-1.1.35-szkdvqcz.mjs +1 -0
  400. package/dist/chunks/turndown.cjs-1.1.35-4azkv4s5.mjs +69 -0
  401. package/dist/chunks/types-1.1.35-ncfe8wzg.mjs +1 -0
  402. package/dist/chunks/ultrareviewCommand-1.1.35-d271ddpn.mjs +4 -0
  403. package/dist/chunks/update-1.1.35-5zabq625.mjs +72 -0
  404. package/dist/chunks/upload-1.1.35-gey82edy.mjs +7 -0
  405. package/dist/chunks/upstreamproxy-1.1.35-bbztgd01.mjs +14 -0
  406. package/dist/chunks/usage-1.1.35-sx2ahz77.mjs +1 -0
  407. package/dist/chunks/util-1.1.35-aph6a5hy.mjs +1 -0
  408. package/dist/chunks/utils-1.1.35-avpezj08.mjs +1 -0
  409. package/dist/chunks/vim-1.1.35-e0jh10q6.mjs +1 -0
  410. package/dist/chunks/watchLoop-1.1.35-baxd01b0.mjs +13 -0
  411. package/dist/chunks/wiki-1.1.35-cns1572n.mjs +132 -0
  412. package/dist/chunks/workflows-1.1.35-0r21887z.mjs +1 -0
  413. package/dist/chunks/worktree-1.1.35-0mj24by3.mjs +1 -0
  414. package/dist/chunks/worktreeModeEnabled-1.1.35-6ej7pdyw.mjs +1 -0
  415. package/dist/chunks/wrapper-1.1.35-fpcy8t3v.mjs +7 -0
  416. package/dist/cli.mjs +2 -2
  417. package/package.json +9 -9
  418. package/dist/chunks/App-1.1.33-y76d67dw.mjs +0 -1
  419. package/dist/chunks/ApproveApiKey-1.1.33-fz6kxvwx.mjs +0 -1
  420. package/dist/chunks/AutoModeOptInDialog-1.1.33-99ykhjpz.mjs +0 -1
  421. package/dist/chunks/BypassPermissionsModeDialog-1.1.33-tzr7atf1.mjs +0 -1
  422. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.33-3ehzc9bn.mjs +0 -1
  423. package/dist/chunks/ConsoleOAuthFlow-1.1.33-mptzgfxf.mjs +0 -1
  424. package/dist/chunks/DiffDialog-1.1.33-anvv0w3b.mjs +0 -6
  425. package/dist/chunks/Doctor-1.1.33-8m3ek5ex.mjs +0 -1
  426. package/dist/chunks/ExplorerDialog-1.1.33-70aphca6.mjs +0 -6
  427. package/dist/chunks/ITermBackend-1.1.33-0syshawj.mjs +0 -1
  428. package/dist/chunks/InvalidConfigDialog-1.1.33-40sq04vm.mjs +0 -1
  429. package/dist/chunks/InvalidSettingsDialog-1.1.33-tgp186pw.mjs +0 -1
  430. package/dist/chunks/MigrationDialog-1.1.33-9tcy3d33.mjs +0 -1
  431. package/dist/chunks/Onboarding-1.1.33-zjx8xhqz.mjs +0 -1
  432. package/dist/chunks/ProviderManager-1.1.33-zm2tkf0s.mjs +0 -1
  433. package/dist/chunks/REPL-1.1.33-gh2kz8dk.mjs +0 -1
  434. package/dist/chunks/ResumeConversation-1.1.33-v284310j.mjs +0 -1
  435. package/dist/chunks/TeleportProgress-1.1.33-5dqj1qp9.mjs +0 -1
  436. package/dist/chunks/TeleportRepoMismatchDialog-1.1.33-q3p5maex.mjs +0 -1
  437. package/dist/chunks/TeleportResumeWrapper-1.1.33-dhrpj9a6.mjs +0 -1
  438. package/dist/chunks/TmuxBackend-1.1.33-gph2cfsr.mjs +0 -9
  439. package/dist/chunks/ToolSearchTool-1.1.33-qv8tchk3.mjs +0 -1
  440. package/dist/chunks/TrustDialog-1.1.33-bq45cvv6.mjs +0 -1
  441. package/dist/chunks/activeProvider-1.1.33-v055y8f3.mjs +0 -1
  442. package/dist/chunks/add-dir-1.1.33-e811cqdx.mjs +0 -1
  443. package/dist/chunks/agentTypes-1.1.33-t5nvprgp.mjs +0 -1
  444. package/dist/chunks/agents-1.1.33-mbve4trn.mjs +0 -3
  445. package/dist/chunks/agents-1.1.33-nhfb2axy.mjs +0 -110
  446. package/dist/chunks/api-1.1.33-2sg5ga0j.mjs +0 -1
  447. package/dist/chunks/asciicast-1.1.33-xr41erq2.mjs +0 -1
  448. package/dist/chunks/auth-1.1.33-k778a810.mjs +0 -1
  449. package/dist/chunks/auth-1.1.33-xappxyn1.mjs +0 -1
  450. package/dist/chunks/autoMode-1.1.33-wb6nwcf3.mjs +0 -52
  451. package/dist/chunks/autoModeSetup-1.1.33-43tmanjr.mjs +0 -44
  452. package/dist/chunks/autoUpdater-1.1.33-py6amejh.mjs +0 -1
  453. package/dist/chunks/backgroundHousekeeping-1.1.33-zn01axaz.mjs +0 -1
  454. package/dist/chunks/branch-1.1.33-gthrar82.mjs +0 -4
  455. package/dist/chunks/bridge-1.1.33-9s3v1h77.mjs +0 -2
  456. package/dist/chunks/bridgeConfig-1.1.33-183x874k.mjs +0 -1
  457. package/dist/chunks/bridgeEnabled-1.1.33-42yktg6p.mjs +0 -1
  458. package/dist/chunks/bridgeMain-1.1.33-62ytf81q.mjs +0 -88
  459. package/dist/chunks/bridgePointer-1.1.33-weh8egz5.mjs +0 -1
  460. package/dist/chunks/btw-1.1.33-xhjhwhex.mjs +0 -1
  461. package/dist/chunks/buddy-1.1.33-6e4bcghj.mjs +0 -3
  462. package/dist/chunks/cache-probe-1.1.33-65t8nv3y.mjs +0 -21
  463. package/dist/chunks/cacheStats-1.1.33-anfjhga9.mjs +0 -4
  464. package/dist/chunks/caches-1.1.33-ehvfr1c6.mjs +0 -1
  465. package/dist/chunks/cd-1.1.33-xbpsa40s.mjs +0 -3
  466. package/dist/chunks/claudeDesktop-1.1.33-en5r91rv.mjs +0 -1
  467. package/dist/chunks/clear-1.1.33-90jr5w5d.mjs +0 -1
  468. package/dist/chunks/clearTerminal-1.1.33-4ts9jf6w.mjs +0 -1
  469. package/dist/chunks/cli-1.1.33-05291q1a.mjs +0 -2
  470. package/dist/chunks/cli-1.1.33-0bk8mrfh.mjs +0 -15
  471. package/dist/chunks/cli-1.1.33-0ktq50cd.mjs +0 -133
  472. package/dist/chunks/cli-1.1.33-0kvxjey5.mjs +0 -24
  473. package/dist/chunks/cli-1.1.33-0sckqj39.mjs +0 -2
  474. package/dist/chunks/cli-1.1.33-1fpzq80d.mjs +0 -2
  475. package/dist/chunks/cli-1.1.33-1mfasbf1.mjs +0 -2
  476. package/dist/chunks/cli-1.1.33-20v60hvd.mjs +0 -203
  477. package/dist/chunks/cli-1.1.33-20zqrzzq.mjs +0 -2
  478. package/dist/chunks/cli-1.1.33-22addsh7.mjs +0 -4
  479. package/dist/chunks/cli-1.1.33-231zj4yg.mjs +0 -2
  480. package/dist/chunks/cli-1.1.33-241y9eee.mjs +0 -5
  481. package/dist/chunks/cli-1.1.33-283f43sy.mjs +0 -2
  482. package/dist/chunks/cli-1.1.33-2chamq3v.mjs +0 -2
  483. package/dist/chunks/cli-1.1.33-2xqjkz7r.mjs +0 -2
  484. package/dist/chunks/cli-1.1.33-303jm377.mjs +0 -2
  485. package/dist/chunks/cli-1.1.33-30vd7w1w.mjs +0 -10
  486. package/dist/chunks/cli-1.1.33-39q98nwa.mjs +0 -2
  487. package/dist/chunks/cli-1.1.33-3by7vn1v.mjs +0 -2
  488. package/dist/chunks/cli-1.1.33-3de2dtv6.mjs +0 -2
  489. package/dist/chunks/cli-1.1.33-3kk4en4s.mjs +0 -2
  490. package/dist/chunks/cli-1.1.33-3yjvh7fr.mjs +0 -2
  491. package/dist/chunks/cli-1.1.33-46bkj0rz.mjs +0 -5
  492. package/dist/chunks/cli-1.1.33-4ghpq4rw.mjs +0 -24
  493. package/dist/chunks/cli-1.1.33-4t7b2799.mjs +0 -2
  494. package/dist/chunks/cli-1.1.33-525zf497.mjs +0 -16
  495. package/dist/chunks/cli-1.1.33-56fen5jd.mjs +0 -4
  496. package/dist/chunks/cli-1.1.33-5c19q87v.mjs +0 -2
  497. package/dist/chunks/cli-1.1.33-5ehc9tkd.mjs +0 -2
  498. package/dist/chunks/cli-1.1.33-5fc0dkzm.mjs +0 -2
  499. package/dist/chunks/cli-1.1.33-5pa215hx.mjs +0 -2
  500. package/dist/chunks/cli-1.1.33-6fq5cn5g.mjs +0 -17
  501. package/dist/chunks/cli-1.1.33-726gr74y.mjs +0 -2
  502. package/dist/chunks/cli-1.1.33-7b2yeb1x.mjs +0 -2
  503. package/dist/chunks/cli-1.1.33-7qjhgket.mjs +0 -2
  504. package/dist/chunks/cli-1.1.33-7qr8n3qn.mjs +0 -2
  505. package/dist/chunks/cli-1.1.33-7rd596wq.mjs +0 -2
  506. package/dist/chunks/cli-1.1.33-7shybbdj.mjs +0 -2
  507. package/dist/chunks/cli-1.1.33-7sm3r61g.mjs +0 -50
  508. package/dist/chunks/cli-1.1.33-87p06j57.mjs +0 -2
  509. package/dist/chunks/cli-1.1.33-8dxvf995.mjs +0 -2
  510. package/dist/chunks/cli-1.1.33-8esj8tkg.mjs +0 -18
  511. package/dist/chunks/cli-1.1.33-8p3h818h.mjs +0 -2
  512. package/dist/chunks/cli-1.1.33-8q8sfbe6.mjs +0 -2
  513. package/dist/chunks/cli-1.1.33-8xyzgp13.mjs +0 -2
  514. package/dist/chunks/cli-1.1.33-90w26xxw.mjs +0 -4
  515. package/dist/chunks/cli-1.1.33-94s66kd2.mjs +0 -2
  516. package/dist/chunks/cli-1.1.33-9dt8xzkt.mjs +0 -2
  517. package/dist/chunks/cli-1.1.33-9fetbt6a.mjs +0 -2
  518. package/dist/chunks/cli-1.1.33-9z2gy96d.mjs +0 -2
  519. package/dist/chunks/cli-1.1.33-9zba2a1d.mjs +0 -60
  520. package/dist/chunks/cli-1.1.33-a49fwy5a.mjs +0 -3
  521. package/dist/chunks/cli-1.1.33-a6dvne78.mjs +0 -2
  522. package/dist/chunks/cli-1.1.33-ad43mr1x.mjs +0 -2
  523. package/dist/chunks/cli-1.1.33-ad75ezdj.mjs +0 -2
  524. package/dist/chunks/cli-1.1.33-afsw641c.mjs +0 -2
  525. package/dist/chunks/cli-1.1.33-aj5dy49h.mjs +0 -3
  526. package/dist/chunks/cli-1.1.33-apx2xgzn.mjs +0 -11
  527. package/dist/chunks/cli-1.1.33-bczwyjaq.mjs +0 -2
  528. package/dist/chunks/cli-1.1.33-bfx6z02g.mjs +0 -2
  529. package/dist/chunks/cli-1.1.33-bh8452tq.mjs +0 -2
  530. package/dist/chunks/cli-1.1.33-btd9w5q2.mjs +0 -2
  531. package/dist/chunks/cli-1.1.33-bxw3sz3d.mjs +0 -2
  532. package/dist/chunks/cli-1.1.33-c14msjsc.mjs +0 -2
  533. package/dist/chunks/cli-1.1.33-c37dxjja.mjs +0 -2
  534. package/dist/chunks/cli-1.1.33-c45mt1yq.mjs +0 -2
  535. package/dist/chunks/cli-1.1.33-c5j1t4gd.mjs +0 -2
  536. package/dist/chunks/cli-1.1.33-cdzhbn5g.mjs +0 -15
  537. package/dist/chunks/cli-1.1.33-cfj1bzen.mjs +0 -2
  538. package/dist/chunks/cli-1.1.33-cj2t55an.mjs +0 -2
  539. package/dist/chunks/cli-1.1.33-cjfrq2jz.mjs +0 -4
  540. package/dist/chunks/cli-1.1.33-czpahv90.mjs +0 -25
  541. package/dist/chunks/cli-1.1.33-czrp8ff2.mjs +0 -2
  542. package/dist/chunks/cli-1.1.33-d2jds1x5.mjs +0 -4
  543. package/dist/chunks/cli-1.1.33-d9fea5m8.mjs +0 -2
  544. package/dist/chunks/cli-1.1.33-das1k5jq.mjs +0 -3
  545. package/dist/chunks/cli-1.1.33-dd7gk6d2.mjs +0 -5
  546. package/dist/chunks/cli-1.1.33-df8tggjt.mjs +0 -2
  547. package/dist/chunks/cli-1.1.33-dfb8xrtp.mjs +0 -2
  548. package/dist/chunks/cli-1.1.33-dfbvd02g.mjs +0 -3
  549. package/dist/chunks/cli-1.1.33-dm8nxxnv.mjs +0 -2
  550. package/dist/chunks/cli-1.1.33-dp41gds0.mjs +0 -2
  551. package/dist/chunks/cli-1.1.33-dv29f6yk.mjs +0 -2
  552. package/dist/chunks/cli-1.1.33-e2jx0b65.mjs +0 -2
  553. package/dist/chunks/cli-1.1.33-e4gbaaq5.mjs +0 -3
  554. package/dist/chunks/cli-1.1.33-e87tvy6n.mjs +0 -2
  555. package/dist/chunks/cli-1.1.33-edgxaxbt.mjs +0 -10
  556. package/dist/chunks/cli-1.1.33-effqmrgb.mjs +0 -2
  557. package/dist/chunks/cli-1.1.33-evp1q65w.mjs +0 -2
  558. package/dist/chunks/cli-1.1.33-ezzc0e6x.mjs +0 -2
  559. package/dist/chunks/cli-1.1.33-f0vf76a6.mjs +0 -26
  560. package/dist/chunks/cli-1.1.33-f4vhy9zk.mjs +0 -2
  561. package/dist/chunks/cli-1.1.33-f83qf2zv.mjs +0 -63
  562. package/dist/chunks/cli-1.1.33-fcfv2vn6.mjs +0 -2
  563. package/dist/chunks/cli-1.1.33-g3wvn6f8.mjs +0 -2
  564. package/dist/chunks/cli-1.1.33-gbjym0yt.mjs +0 -6
  565. package/dist/chunks/cli-1.1.33-gfehnxj8.mjs +0 -2
  566. package/dist/chunks/cli-1.1.33-ggk9m978.mjs +0 -7
  567. package/dist/chunks/cli-1.1.33-ghcxb1ce.mjs +0 -34
  568. package/dist/chunks/cli-1.1.33-gnejtk17.mjs +0 -7
  569. package/dist/chunks/cli-1.1.33-gpp6mbxj.mjs +0 -17
  570. package/dist/chunks/cli-1.1.33-h0mx2ccc.mjs +0 -2
  571. package/dist/chunks/cli-1.1.33-h27b2an0.mjs +0 -2
  572. package/dist/chunks/cli-1.1.33-h75frpfe.mjs +0 -2
  573. package/dist/chunks/cli-1.1.33-heys42qe.mjs +0 -9
  574. package/dist/chunks/cli-1.1.33-hfkfz9g9.mjs +0 -2
  575. package/dist/chunks/cli-1.1.33-hwmqqtqr.mjs +0 -45
  576. package/dist/chunks/cli-1.1.33-j5q2mpwf.mjs +0 -2
  577. package/dist/chunks/cli-1.1.33-j6ep4mfm.mjs +0 -6
  578. package/dist/chunks/cli-1.1.33-j75f13gr.mjs +0 -2
  579. package/dist/chunks/cli-1.1.33-j8ajj3nv.mjs +0 -2
  580. package/dist/chunks/cli-1.1.33-jdtfdqvz.mjs +0 -2
  581. package/dist/chunks/cli-1.1.33-jp2qs3mr.mjs +0 -2
  582. package/dist/chunks/cli-1.1.33-jsyd53zn.mjs +0 -2
  583. package/dist/chunks/cli-1.1.33-jww2z5yy.mjs +0 -2
  584. package/dist/chunks/cli-1.1.33-k1vhqgx4.mjs +0 -2
  585. package/dist/chunks/cli-1.1.33-k466m68a.mjs +0 -2
  586. package/dist/chunks/cli-1.1.33-k51bffb8.mjs +0 -2
  587. package/dist/chunks/cli-1.1.33-kdbb1eq4.mjs +0 -2
  588. package/dist/chunks/cli-1.1.33-kg221c89.mjs +0 -2
  589. package/dist/chunks/cli-1.1.33-kqsskxv0.mjs +0 -133
  590. package/dist/chunks/cli-1.1.33-kth7ttsa.mjs +0 -4
  591. package/dist/chunks/cli-1.1.33-kty1kjfd.mjs +0 -2
  592. package/dist/chunks/cli-1.1.33-kx980gfw.mjs +0 -2
  593. package/dist/chunks/cli-1.1.33-kxjb58yw.mjs +0 -2
  594. package/dist/chunks/cli-1.1.33-m06xge1a.mjs +0 -2
  595. package/dist/chunks/cli-1.1.33-m08stm17.mjs +0 -2
  596. package/dist/chunks/cli-1.1.33-m402nk5n.mjs +0 -2
  597. package/dist/chunks/cli-1.1.33-mg60nkfe.mjs +0 -2
  598. package/dist/chunks/cli-1.1.33-mgmqjt4t.mjs +0 -2
  599. package/dist/chunks/cli-1.1.33-mhph00kg.mjs +0 -24
  600. package/dist/chunks/cli-1.1.33-mkzxq2c9.mjs +0 -2
  601. package/dist/chunks/cli-1.1.33-mm3hdty7.mjs +0 -2
  602. package/dist/chunks/cli-1.1.33-n2d1txyn.mjs +0 -4
  603. package/dist/chunks/cli-1.1.33-n55k105y.mjs +0 -2
  604. package/dist/chunks/cli-1.1.33-n7rpkhs4.mjs +0 -2
  605. package/dist/chunks/cli-1.1.33-nd6tv1an.mjs +0 -15
  606. package/dist/chunks/cli-1.1.33-ndste4rf.mjs +0 -39
  607. package/dist/chunks/cli-1.1.33-nq2hxcp4.mjs +0 -9
  608. package/dist/chunks/cli-1.1.33-nvfshp5c.mjs +0 -6
  609. package/dist/chunks/cli-1.1.33-p0fb1k1s.mjs +0 -7
  610. package/dist/chunks/cli-1.1.33-pcsrkgrn.mjs +0 -8
  611. package/dist/chunks/cli-1.1.33-pw7bmns5.mjs +0 -42
  612. package/dist/chunks/cli-1.1.33-q8hq263y.mjs +0 -2
  613. package/dist/chunks/cli-1.1.33-qr675sx2.mjs +0 -2
  614. package/dist/chunks/cli-1.1.33-qss1gs3e.mjs +0 -2
  615. package/dist/chunks/cli-1.1.33-ra054vbq.mjs +0 -2
  616. package/dist/chunks/cli-1.1.33-raynjbkq.mjs +0 -2
  617. package/dist/chunks/cli-1.1.33-rr2q4wq6.mjs +0 -2
  618. package/dist/chunks/cli-1.1.33-rr5sxpa0.mjs +0 -2
  619. package/dist/chunks/cli-1.1.33-rrhe6g9q.mjs +0 -2
  620. package/dist/chunks/cli-1.1.33-rrvgm0jd.mjs +0 -2
  621. package/dist/chunks/cli-1.1.33-rtme70ck.mjs +0 -2
  622. package/dist/chunks/cli-1.1.33-rv2bkx6b.mjs +0 -2
  623. package/dist/chunks/cli-1.1.33-rxe1dmbg.mjs +0 -2
  624. package/dist/chunks/cli-1.1.33-s5kw6064.mjs +0 -3
  625. package/dist/chunks/cli-1.1.33-sbgh2rsy.mjs +0 -2
  626. package/dist/chunks/cli-1.1.33-sf95jk5d.mjs +0 -2
  627. package/dist/chunks/cli-1.1.33-sv5dwqh6.mjs +0 -3
  628. package/dist/chunks/cli-1.1.33-t0fg1hsr.mjs +0 -2
  629. package/dist/chunks/cli-1.1.33-t10xrxez.mjs +0 -2
  630. package/dist/chunks/cli-1.1.33-t26pazs8.mjs +0 -2
  631. package/dist/chunks/cli-1.1.33-t591k29k.mjs +0 -21
  632. package/dist/chunks/cli-1.1.33-t63yat1z.mjs +0 -2
  633. package/dist/chunks/cli-1.1.33-t78313g4.mjs +0 -3
  634. package/dist/chunks/cli-1.1.33-t8cxmf0c.mjs +0 -12
  635. package/dist/chunks/cli-1.1.33-tp6bhara.mjs +0 -4
  636. package/dist/chunks/cli-1.1.33-ts50d9at.mjs +0 -2
  637. package/dist/chunks/cli-1.1.33-ttc7emph.mjs +0 -25
  638. package/dist/chunks/cli-1.1.33-ty6y9kn2.mjs +0 -2
  639. package/dist/chunks/cli-1.1.33-v08vb0sv.mjs +0 -6
  640. package/dist/chunks/cli-1.1.33-v615gn7w.mjs +0 -3
  641. package/dist/chunks/cli-1.1.33-vgynvhys.mjs +0 -5491
  642. package/dist/chunks/cli-1.1.33-vr8cqqar.mjs +0 -2
  643. package/dist/chunks/cli-1.1.33-wfjtjsvq.mjs +0 -6
  644. package/dist/chunks/cli-1.1.33-wrdskpzf.mjs +0 -2
  645. package/dist/chunks/cli-1.1.33-wx8rtpc5.mjs +0 -2
  646. package/dist/chunks/cli-1.1.33-x6zgk4kb.mjs +0 -2
  647. package/dist/chunks/cli-1.1.33-xdqetcyr.mjs +0 -2
  648. package/dist/chunks/cli-1.1.33-xfawy00r.mjs +0 -2
  649. package/dist/chunks/cli-1.1.33-xt2ehzej.mjs +0 -2
  650. package/dist/chunks/cli-1.1.33-xyh0vcv7.mjs +0 -2
  651. package/dist/chunks/cli-1.1.33-yd2b6czv.mjs +0 -2
  652. package/dist/chunks/cli-1.1.33-yd4xhx6x.mjs +0 -20
  653. package/dist/chunks/cli-1.1.33-ypfa1t3b.mjs +0 -2
  654. package/dist/chunks/cli-1.1.33-yqqr1e67.mjs +0 -2
  655. package/dist/chunks/cli-1.1.33-yqxphe1x.mjs +0 -2
  656. package/dist/chunks/cli-1.1.33-yy53bmhe.mjs +0 -2
  657. package/dist/chunks/cli-1.1.33-yygdy86h.mjs +0 -2
  658. package/dist/chunks/cli-1.1.33-z5rv4tr3.mjs +0 -3
  659. package/dist/chunks/cli-1.1.33-z7fa1fgt.mjs +0 -2
  660. package/dist/chunks/cli-1.1.33-zqqj4d1f.mjs +0 -2
  661. package/dist/chunks/cli-1.1.33-zsk851wd.mjs +0 -2
  662. package/dist/chunks/client-1.1.33-qhf9zz8n.mjs +0 -1
  663. package/dist/chunks/color-1.1.33-q69y353w.mjs +0 -1
  664. package/dist/chunks/compact-1.1.33-5vxewt1w.mjs +0 -2
  665. package/dist/chunks/config-1.1.33-h6tzt18x.mjs +0 -1
  666. package/dist/chunks/config-1.1.33-m6rgj5rq.mjs +0 -1
  667. package/dist/chunks/constants-1.1.33-myvdtn6q.mjs +0 -1
  668. package/dist/chunks/context-1.1.33-pm79kmgf.mjs +0 -1
  669. package/dist/chunks/context-noninteractive-1.1.33-6pd4by4q.mjs +0 -1
  670. package/dist/chunks/conversation-1.1.33-acjggjj2.mjs +0 -1
  671. package/dist/chunks/copilotHeaders-1.1.33-s1k9b90v.mjs +0 -1
  672. package/dist/chunks/copy-1.1.33-yynkyja4.mjs +0 -9
  673. package/dist/chunks/cost-1.1.33-sjebbq22.mjs +0 -1
  674. package/dist/chunks/createSession-1.1.33-cw4pppsw.mjs +0 -1
  675. package/dist/chunks/debug-1.1.33-h1ep6bea.mjs +0 -1
  676. package/dist/chunks/defaultActionDeps-1.1.33-t1wa4x2g.mjs +0 -1480
  677. package/dist/chunks/desktop-1.1.33-cgj2ar5t.mjs +0 -2
  678. package/dist/chunks/detectRepository-1.1.33-5yfd53ae.mjs +0 -1
  679. package/dist/chunks/detection-1.1.33-dnyn9hs6.mjs +0 -1
  680. package/dist/chunks/diff-1.1.33-nf6wy43p.mjs +0 -1
  681. package/dist/chunks/doctor-1.1.33-58atgaxs.mjs +0 -1
  682. package/dist/chunks/doctorDiagnostic-1.1.33-v3ht88pf.mjs +0 -1
  683. package/dist/chunks/earlyInput-1.1.33-qff3qk4b.mjs +0 -1
  684. package/dist/chunks/effort-1.1.33-nf63b81y.mjs +0 -13
  685. package/dist/chunks/engine-1.1.33-bqcqevb5.mjs +0 -1
  686. package/dist/chunks/envLessBridgeConfig-1.1.33-1bfctzjp.mjs +0 -1
  687. package/dist/chunks/envUtils-1.1.33-1jg5pqx5.mjs +0 -1
  688. package/dist/chunks/errors-1.1.33-xdf8frps.mjs +0 -1
  689. package/dist/chunks/exampleCommands-1.1.33-br81c33d.mjs +0 -1
  690. package/dist/chunks/execFileNoThrow-1.1.33-mmyfbtpt.mjs +0 -1
  691. package/dist/chunks/exit-1.1.33-s8c549bt.mjs +0 -1
  692. package/dist/chunks/explorer-1.1.33-q2kc2yjm.mjs +0 -1
  693. package/dist/chunks/export-1.1.33-wzsrmyr9.mjs +0 -2
  694. package/dist/chunks/fast-1.1.33-hh2t95cz.mjs +0 -1
  695. package/dist/chunks/feedback-1.1.33-fhamzkxx.mjs +0 -16
  696. package/dist/chunks/git-1.1.33-nb9mf6gs.mjs +0 -1
  697. package/dist/chunks/githubModelsCredentials-1.1.33-zzecd9we.mjs +0 -1
  698. package/dist/chunks/goal-1.1.33-6ptfsbeb.mjs +0 -4
  699. package/dist/chunks/headless-1.1.33-2ks3qpn2.mjs +0 -2
  700. package/dist/chunks/heapdump-1.1.33-48a71a5d.mjs +0 -6
  701. package/dist/chunks/help-1.1.33-65k2zqsp.mjs +0 -1
  702. package/dist/chunks/hooks-1.1.33-7zb4rp07.mjs +0 -1
  703. package/dist/chunks/hooks-1.1.33-87w55gzt.mjs +0 -79
  704. package/dist/chunks/ide-1.1.33-jpbj91cb.mjs +0 -3
  705. package/dist/chunks/image-processor-napi-1.1.33-cb605b4s.mjs +0 -1
  706. package/dist/chunks/import-1.1.33-9vq41kwx.mjs +0 -261
  707. package/dist/chunks/inboundAttachments-1.1.33-pshb9f55.mjs +0 -1
  708. package/dist/chunks/index-1.1.33-0szd959f.mjs +0 -9
  709. package/dist/chunks/index-1.1.33-1cyg72cg.mjs +0 -5
  710. package/dist/chunks/index-1.1.33-20n0wyay.mjs +0 -2
  711. package/dist/chunks/index-1.1.33-37m0wr5f.mjs +0 -1
  712. package/dist/chunks/index-1.1.33-4e6weswv.mjs +0 -2
  713. package/dist/chunks/index-1.1.33-5at6jw86.mjs +0 -9
  714. package/dist/chunks/index-1.1.33-5bb2bqbt.mjs +0 -1
  715. package/dist/chunks/index-1.1.33-6r4xb4kw.mjs +0 -1
  716. package/dist/chunks/index-1.1.33-809kmg0e.mjs +0 -1
  717. package/dist/chunks/index-1.1.33-av56945n.mjs +0 -1
  718. package/dist/chunks/index-1.1.33-ayj1khn3.mjs +0 -1
  719. package/dist/chunks/index-1.1.33-d4h14a2g.mjs +0 -1
  720. package/dist/chunks/index-1.1.33-j01a41jn.mjs +0 -1
  721. package/dist/chunks/index-1.1.33-j3pffnmd.mjs +0 -30
  722. package/dist/chunks/index-1.1.33-nbb1jr6q.mjs +0 -23
  723. package/dist/chunks/index-1.1.33-pdret8nd.mjs +0 -1
  724. package/dist/chunks/index-1.1.33-px65xz19.mjs +0 -1
  725. package/dist/chunks/index-1.1.33-q02fr1yn.mjs +0 -1
  726. package/dist/chunks/index-1.1.33-qckmwfjb.mjs +0 -1
  727. package/dist/chunks/index-1.1.33-sj1fgs0b.mjs +0 -1
  728. package/dist/chunks/index-1.1.33-thfe8yxq.mjs +0 -1
  729. package/dist/chunks/index-1.1.33-vpdejaqk.mjs +0 -1
  730. package/dist/chunks/index-1.1.33-x6vn8g63.mjs +0 -1
  731. package/dist/chunks/init-1.1.33-8jzeqmrh.mjs +0 -2
  732. package/dist/chunks/initReplBridge-1.1.33-xhzad71d.mjs +0 -1
  733. package/dist/chunks/ink-1.1.33-8xkyvv5c.mjs +0 -1
  734. package/dist/chunks/insights-1.1.33-p2xfqqpr.mjs +0 -870
  735. package/dist/chunks/install-1.1.33-yddevjtj.mjs +0 -1
  736. package/dist/chunks/install-github-app-1.1.33-3wksmje2.mjs +0 -149
  737. package/dist/chunks/install-slack-app-1.1.33-mgb365bd.mjs +0 -1
  738. package/dist/chunks/interactiveHelpers-1.1.33-ac7wkzh0.mjs +0 -1
  739. package/dist/chunks/keybindings-1.1.33-pwx8bd0q.mjs +0 -2
  740. package/dist/chunks/latestVersionCache-1.1.33-fqw2q9w0.mjs +0 -1
  741. package/dist/chunks/loadAgentsDir-1.1.33-y4yydpcn.mjs +0 -1
  742. package/dist/chunks/loadPluginHooks-1.1.33-3rxrvf8b.mjs +0 -1
  743. package/dist/chunks/log-1.1.33-pqjf8wsv.mjs +0 -1
  744. package/dist/chunks/main-1.1.33-qvas86jh.mjs +0 -1
  745. package/dist/chunks/managedEnv-1.1.33-67fc5dj7.mjs +0 -1
  746. package/dist/chunks/mcp-1.1.33-88w7d35a.mjs +0 -1
  747. package/dist/chunks/mcp-1.1.33-ewqaq0ms.mjs +0 -4
  748. package/dist/chunks/mcp-1.1.33-v74knj3c.mjs +0 -17
  749. package/dist/chunks/mcpb-1.1.33-dnjbpy7e.mjs +0 -1
  750. package/dist/chunks/memory-1.1.33-9qffk96q.mjs +0 -128
  751. package/dist/chunks/model-1.1.33-h0mjh5z8.mjs +0 -1
  752. package/dist/chunks/model-1.1.33-v4vqzg9w.mjs +0 -2
  753. package/dist/chunks/node-1.1.33-jm7rqpq8.mjs +0 -1
  754. package/dist/chunks/node-1.1.33-qg258pyx.mjs +0 -15
  755. package/dist/chunks/oauth-1.1.33-423q5vp6.mjs +0 -1
  756. package/dist/chunks/openaiShim-1.1.33-dsp1wwgs.mjs +0 -14
  757. package/dist/chunks/output-style-1.1.33-ayj4863v.mjs +0 -1
  758. package/dist/chunks/package-F6O7J2XI-1.1.33-cwk2kcw8.mjs +0 -1
  759. package/dist/chunks/permissions-1.1.33-mtca1vka.mjs +0 -1
  760. package/dist/chunks/permissions-1.1.33-qk86j364.mjs +0 -3
  761. package/dist/chunks/plan-1.1.33-brttkasm.mjs +0 -1
  762. package/dist/chunks/plist-1.1.33-j08fwnf5.mjs +0 -1
  763. package/dist/chunks/plugin-1.1.33-ed5352d9.mjs +0 -29
  764. package/dist/chunks/pluginStartupCheck-1.1.33-w1dcdv7e.mjs +0 -1
  765. package/dist/chunks/plugins-1.1.33-dz0szv60.mjs +0 -9
  766. package/dist/chunks/preActionHook-1.1.33-cyss3q48.mjs +0 -2
  767. package/dist/chunks/print-1.1.33-0an9v6wm.mjs +0 -57
  768. package/dist/chunks/process-1.1.33-34nr1vvf.mjs +0 -1
  769. package/dist/chunks/processBashCommand-1.1.33-c3baefbs.mjs +0 -1
  770. package/dist/chunks/processSlashCommand-1.1.33-7z1q5tgw.mjs +0 -9
  771. package/dist/chunks/prompt-1.1.33-a9nfj0nx.mjs +0 -1
  772. package/dist/chunks/prompt-1.1.33-t1x27qfd.mjs +0 -1
  773. package/dist/chunks/prompts-1.1.33-n8cpfrn6.mjs +0 -1
  774. package/dist/chunks/provider-1.1.33-s17k8dew.mjs +0 -2
  775. package/dist/chunks/providerProfiles-1.1.33-nabanrxj.mjs +0 -1
  776. package/dist/chunks/providerValidation-1.1.33-45rfx8mk.mjs +0 -6
  777. package/dist/chunks/registerSubcommands-1.1.33-drbt7d0n.mjs +0 -26
  778. package/dist/chunks/registry-1.1.33-2rc0g3js.mjs +0 -1
  779. package/dist/chunks/release-notes-1.1.33-azfdj96s.mjs +0 -5
  780. package/dist/chunks/reload-plugins-1.1.33-22m52m4k.mjs +0 -2
  781. package/dist/chunks/remote-env-1.1.33-2zxh4gns.mjs +0 -1
  782. package/dist/chunks/remoteBridgeCore-1.1.33-tvhbeebf.mjs +0 -1
  783. package/dist/chunks/rename-1.1.33-hh0a7vzm.mjs +0 -1
  784. package/dist/chunks/replLauncher-1.1.33-17gj37pg.mjs +0 -1
  785. package/dist/chunks/resume-1.1.33-cxjpjtfg.mjs +0 -2
  786. package/dist/chunks/rewind-1.1.33-gwyc73ty.mjs +0 -1
  787. package/dist/chunks/rootOptions-1.1.33-t9mmhhea.mjs +0 -1
  788. package/dist/chunks/runWorkflowHeadless-1.1.33-9e4hd973.mjs +0 -10
  789. package/dist/chunks/sandbox-adapter-1.1.33-ydzap1ky.mjs +0 -1
  790. package/dist/chunks/sandbox-toggle-1.1.33-vch1t63t.mjs +0 -1
  791. package/dist/chunks/session-1.1.33-aepc1jdx.mjs +0 -2
  792. package/dist/chunks/sessionStorage-1.1.33-170gteyg.mjs +0 -1
  793. package/dist/chunks/settings-1.1.33-16470dd7.mjs +0 -1
  794. package/dist/chunks/setup-1.1.33-nbfqv6x2.mjs +0 -12
  795. package/dist/chunks/sinks-1.1.33-8qav4btz.mjs +0 -1
  796. package/dist/chunks/skills-1.1.33-srydghps.mjs +0 -1
  797. package/dist/chunks/startupProfiler-1.1.33-a97fyetk.mjs +0 -1
  798. package/dist/chunks/startupUpdateCheck-1.1.33-n5x93kr9.mjs +0 -1
  799. package/dist/chunks/state-1.1.33-yr57kw5b.mjs +0 -1
  800. package/dist/chunks/stats-1.1.33-py9web9f.mjs +0 -1
  801. package/dist/chunks/status-1.1.33-rstx4c0p.mjs +0 -1
  802. package/dist/chunks/stickers-1.1.33-bag4g2g6.mjs +0 -1
  803. package/dist/chunks/subprocessEnv-1.1.33-k219nhcm.mjs +0 -1
  804. package/dist/chunks/tasks-1.1.33-170ayzks.mjs +0 -1
  805. package/dist/chunks/teamHelpers-1.1.33-d0etezah.mjs +0 -1
  806. package/dist/chunks/teammateModeSnapshot-1.1.33-wwj36vt2.mjs +0 -1
  807. package/dist/chunks/teleport-1.1.33-zvzb36mc.mjs +0 -1
  808. package/dist/chunks/terminalSetup-1.1.33-6btb4bdr.mjs +0 -1
  809. package/dist/chunks/theme-1.1.33-ht9yrvwn.mjs +0 -1
  810. package/dist/chunks/thinkback-1.1.33-kvaqf5ep.mjs +0 -1
  811. package/dist/chunks/thinkback-play-1.1.33-dfqez4t9.mjs +0 -1
  812. package/dist/chunks/toolPool-1.1.33-fsqgv07g.mjs +0 -1
  813. package/dist/chunks/toolSearch-1.1.33-g3ha7h5f.mjs +0 -1
  814. package/dist/chunks/tools-1.1.33-6qn3rfzr.mjs +0 -1
  815. package/dist/chunks/trustedDevice-1.1.33-f5feh965.mjs +0 -1
  816. package/dist/chunks/turndown.cjs-1.1.33-km66apwr.mjs +0 -69
  817. package/dist/chunks/types-1.1.33-bc49bs3y.mjs +0 -1
  818. package/dist/chunks/ultrareviewCommand-1.1.33-byqccwrh.mjs +0 -4
  819. package/dist/chunks/update-1.1.33-hz986n0w.mjs +0 -72
  820. package/dist/chunks/upload-1.1.33-cc27f6xm.mjs +0 -7
  821. package/dist/chunks/upstreamproxy-1.1.33-k5haaaqa.mjs +0 -14
  822. package/dist/chunks/usage-1.1.33-jspq6593.mjs +0 -1
  823. package/dist/chunks/util-1.1.33-8w7wsk2x.mjs +0 -1
  824. package/dist/chunks/utils-1.1.33-613tmzqb.mjs +0 -1
  825. package/dist/chunks/vim-1.1.33-gamhf412.mjs +0 -1
  826. package/dist/chunks/watchLoop-1.1.33-w4q3ncxj.mjs +0 -13
  827. package/dist/chunks/wiki-1.1.33-qgzy0eh8.mjs +0 -132
  828. package/dist/chunks/workflows-1.1.33-82kzthpb.mjs +0 -1
  829. package/dist/chunks/worktree-1.1.33-7n8nkfht.mjs +0 -1
  830. package/dist/chunks/worktreeModeEnabled-1.1.33-qq22bj1e.mjs +0 -1
  831. package/dist/chunks/wrapper-1.1.33-qgpy796k.mjs +0 -7
  832. /package/dist/chunks/{cli-1.1.33-5ff9vmz9.mjs → cli-1.1.35-hnqagxgk.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{Nb as F,Qb as A}from"./cli-1.1.35-kz5tydkv.mjs";import{pf as D,sf as H,uf as _}from"./cli-1.1.35-22q1jqqq.mjs";import{$9 as U,r_ as P}from"./cli-1.1.35-4g77zek0.mjs";P();_();A();var R="environments-2025-11-01",O=/^[a-zA-Z0-9_-]+$/;function j(J,K){if(!J||!O.test(J))throw Error(`Invalid ${K}: contains unsafe characters`);return J}class L extends Error{status;errorType;constructor(J,K,Z){super(J);this.name="BridgeFatalError",this.status=K,this.errorType=Z}}function y(J){function K(q){J.onDebug?.(q)}let Z=0,V=100;function X(q){let z={Authorization:`Bearer ${q}`,"Content-Type":"application/json","anthropic-version":"2023-06-01","anthropic-beta":R,"x-environment-runner-version":J.runnerVersion},W=J.getTrustedDeviceToken?.();if(W)z["X-Trusted-Device-Token"]=W;return z}function C(){let q=J.getAccessToken();if(!q)throw Error(F);return q}async function M(q,z){let W=C(),Q=await q(W);if(Q.status!==401)return Q;if(!J.onAuth401)return K(`[bridge:api] ${z}: 401 received, no refresh handler`),Q;if(K(`[bridge:api] ${z}: 401 received, attempting token refresh`),await J.onAuth401(W)){K(`[bridge:api] ${z}: Token refreshed, retrying request`);let $=C(),N=await q($);if(N.status!==401)return N;K(`[bridge:api] ${z}: Retry after refresh also got 401`)}else K(`[bridge:api] ${z}: Token refresh failed`);return Q}return{async registerBridgeEnvironment(q){K(`[bridge:api] POST /v1/environments/bridge bridgeId=${q.bridgeId}`);let z=await M((W)=>U.post(`${J.baseUrl}/v1/environments/bridge`,{machine_name:q.machineName,directory:q.dir,branch:q.branch,git_repo_url:q.gitRepoUrl,max_sessions:q.maxSessions,metadata:{worker_type:q.workerType},...q.reuseEnvironmentId&&{environment_id:q.reuseEnvironmentId}},{headers:X(W),timeout:15000,validateStatus:(Q)=>Q<500}),"Registration");return G(z.status,z.data,"Registration"),K(`[bridge:api] POST /v1/environments/bridge -> ${z.status} environment_id=${z.data.environment_id}`),K(`[bridge:api] >>> ${D({machine_name:q.machineName,directory:q.dir,branch:q.branch,git_repo_url:q.gitRepoUrl,max_sessions:q.maxSessions,metadata:{worker_type:q.workerType}})}`),K(`[bridge:api] <<< ${D(z.data)}`),z.data},async pollForWork(q,z,W,Q){j(q,"environmentId");let Y=Z;Z=0;let $=await U.get(`${J.baseUrl}/v1/environments/${q}/work/poll`,{headers:X(z),params:Q!==void 0?{reclaim_older_than_ms:Q}:void 0,timeout:1e4,signal:W,validateStatus:(N)=>N<500});if(G($.status,$.data,"Poll"),!$.data){if(Z=Y+1,Z===1||Z%V===0)K(`[bridge:api] GET .../work/poll -> ${$.status} (no work, ${Z} consecutive empty polls)`);return null}return K(`[bridge:api] GET .../work/poll -> ${$.status} workId=${$.data.id} type=${$.data.data?.type}${$.data.data?.id?` sessionId=${$.data.data.id}`:""}`),K(`[bridge:api] <<< ${D($.data)}`),$.data},async acknowledgeWork(q,z,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/ack`);let Q=await U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/ack`,{},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500});G(Q.status,Q.data,"Acknowledge"),K(`[bridge:api] POST .../work/${z}/ack -> ${Q.status}`)},async stopWork(q,z,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/stop force=${W}`);let Q=await M((Y)=>U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/stop`,{force:W},{headers:X(Y),timeout:1e4,validateStatus:($)=>$<500}),"StopWork");G(Q.status,Q.data,"StopWork"),K(`[bridge:api] POST .../work/${z}/stop -> ${Q.status}`)},async deregisterEnvironment(q){j(q,"environmentId"),K(`[bridge:api] DELETE /v1/environments/bridge/${q}`);let z=await M((W)=>U.delete(`${J.baseUrl}/v1/environments/bridge/${q}`,{headers:X(W),timeout:1e4,validateStatus:(Q)=>Q<500}),"Deregister");G(z.status,z.data,"Deregister"),K(`[bridge:api] DELETE /v1/environments/bridge/${q} -> ${z.status}`)},async archiveSession(q){j(q,"sessionId"),K(`[bridge:api] POST /v1/sessions/${q}/archive`);let z=await M((W)=>U.post(`${J.baseUrl}/v1/sessions/${q}/archive`,{},{headers:X(W),timeout:1e4,validateStatus:(Q)=>Q<500}),"ArchiveSession");if(z.status===409){K(`[bridge:api] POST /v1/sessions/${q}/archive -> 409 (already archived)`);return}G(z.status,z.data,"ArchiveSession"),K(`[bridge:api] POST /v1/sessions/${q}/archive -> ${z.status}`)},async reconnectSession(q,z){j(q,"environmentId"),j(z,"sessionId"),K(`[bridge:api] POST /v1/environments/${q}/bridge/reconnect session_id=${z}`);let W=await M((Q)=>U.post(`${J.baseUrl}/v1/environments/${q}/bridge/reconnect`,{session_id:z},{headers:X(Q),timeout:1e4,validateStatus:(Y)=>Y<500}),"ReconnectSession");G(W.status,W.data,"ReconnectSession"),K(`[bridge:api] POST .../bridge/reconnect -> ${W.status}`)},async heartbeatWork(q,z,W){j(q,"environmentId"),j(z,"workId"),K(`[bridge:api] POST .../work/${z}/heartbeat`);let Q=await U.post(`${J.baseUrl}/v1/environments/${q}/work/${z}/heartbeat`,{},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500});return G(Q.status,Q.data,"Heartbeat"),K(`[bridge:api] POST .../work/${z}/heartbeat -> ${Q.status} lease_extended=${Q.data.lease_extended} state=${Q.data.state}`),Q.data},async sendPermissionResponseEvent(q,z,W){j(q,"sessionId"),K(`[bridge:api] POST /v1/sessions/${q}/events type=${z.type}`);let Q=await U.post(`${J.baseUrl}/v1/sessions/${q}/events`,{events:[z]},{headers:X(W),timeout:1e4,validateStatus:(Y)=>Y<500});G(Q.status,Q.data,"SendPermissionResponseEvent"),K(`[bridge:api] POST /v1/sessions/${q}/events -> ${Q.status}`),K(`[bridge:api] >>> ${D({events:[z]})}`),K(`[bridge:api] <<< ${D(Q.data)}`)}}}function G(J,K,Z){if(J===200||J===204)return;let V=H(K),X=B(K);switch(J){case 401:throw new L(`${Z}: Authentication failed (401)${V?`: ${V}`:""}. ${F}`,401,X);case 403:throw new L(S(X)?"Remote Control session has expired. Please restart with `claudin remote-control` or /remote-control.":`${Z}: Access denied (403)${V?`: ${V}`:""}. Check your organization permissions.`,403,X);case 404:throw new L(V??`${Z}: Not found (404). Remote Control may not be available for this organization.`,404,X);case 410:throw new L(V??"Remote Control session has expired. Please restart with `claudin remote-control` or /remote-control.",410,X??"environment_expired");case 429:throw Error(`${Z}: Rate limited (429). Polling too frequently.`);default:throw Error(`${Z}: Failed with status ${J}${V?`: ${V}`:""}`)}}function S(J){if(!J)return!1;return J.includes("expired")||J.includes("lifetime")}function E(J){if(J.status!==403)return!1;return J.message.includes("external_poll_sessions")||J.message.includes("environments:manage")}function B(J){if(J&&typeof J==="object"){if("error"in J&&J.error&&typeof J.error==="object"&&"type"in J.error&&typeof J.error.type==="string")return J.error.type}return}function T(J){let K=new AbortController;function Z(){K.abort(),K=new AbortController}function V(){let X=new AbortController,C=()=>X.abort();if(J.aborted||K.signal.aborted)return X.abort(),{signal:X.signal,cleanup:()=>{}};J.addEventListener("abort",C,{once:!0});let M=K.signal;return M.addEventListener("abort",C,{once:!0}),{signal:X.signal,cleanup:()=>{J.removeEventListener("abort",C),M.removeEventListener("abort",C)}}}return{signal:V,wake:Z}}
2
+ export{j as T,L as U,y as V,S as W,E as X,T as Y};
@@ -0,0 +1,18 @@
1
+ import{ZI as Q,aJ as F}from"./cli-1.1.35-hy9jtbmb.mjs";import{Fka as b,Ika as y}from"./cli-1.1.35-a7ygtwdr.mjs";import{fla as x,kla as f}from"./cli-1.1.35-w9wzew2x.mjs";import{nla as w,yla as R}from"./cli-1.1.35-g74y15na.mjs";import{Jqa as K,ima as $,lma as j}from"./cli-1.1.35-1ceb2tjb.mjs";import{Xra as v}from"./cli-1.1.35-c05841mj.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 fi,G as gi,D as hi,g as ii,M as ji,U as ki};
@@ -0,0 +1,39 @@
1
+ import{QC as z,RC as P,ZR as L,hR as B,iR as A,mS as w}from"./cli-1.1.35-hy9jtbmb.mjs";import{Cca as F,vca as h}from"./cli-1.1.35-dnacc640.mjs";import{$ha as v,Tha as I}from"./cli-1.1.35-r4rm2297.mjs";import{Xra as j}from"./cli-1.1.35-c05841mj.mjs";async function U(W){let{messages:J,getAppState:Q,options:{mainLoopModel:K,tools:Z,agentDefinitions:_,customSystemPrompt:X,appendSystemPrompt:Y}}=W,R=L(J),{messages:O}=await z(R),q=Q();return B(O,K,async()=>q.toolPermissionContext,Z,_,void 0,{options:{customSystemPrompt:X,appendSystemPrompt:Y}},void 0,R)}async function D(W,J){let Q=await U(J);return{type:"text",value:V(Q)}}function V(W){let{categories:J,totalTokens:Q,rawMaxTokens:K,percentage:Z,model:_,memoryFiles:X,mcpTools:Y,agents:R,skills:O}=W,q=`## Context Usage
2
+
3
+ `;q+=`**Model:** ${_}
4
+ `,q+=`**Tokens:** ${I(Q)} / ${I(K)} (${Z}%)
5
+ `,q+=`
6
+ `;let $=J.filter((E)=>E.tokens>0&&E.name!=="Free space"&&E.name!=="Autocompact buffer");if($.length>0){q+=`### Estimated usage by category
7
+
8
+ `,q+=`| Category | Tokens | Percentage |
9
+ `,q+=`|----------|--------|------------|
10
+ `;for(let H of $){let N=(H.tokens/K*100).toFixed(1);q+=`| ${H.name} | ${I(H.tokens)} | ${N}% |
11
+ `}let E=J.find((H)=>H.name==="Free space");if(E&&E.tokens>0){let H=(E.tokens/K*100).toFixed(1);q+=`| Free space | ${I(E.tokens)} | ${H}% |
12
+ `}let G=J.find((H)=>H.name==="Autocompact buffer");if(G&&G.tokens>0){let H=(G.tokens/K*100).toFixed(1);q+=`| Autocompact buffer | ${I(G.tokens)} | ${H}% |
13
+ `}q+=`
14
+ `}if(Y.length>0){q+=`### MCP Tools
15
+
16
+ `,q+=`| Tool | Server | Tokens |
17
+ `,q+=`|------|--------|--------|
18
+ `;for(let E of Y)q+=`| ${E.name} | ${E.serverName} | ${I(E.tokens)} |
19
+ `;q+=`
20
+ `}if(R.length>0){q+=`### Custom Agents
21
+
22
+ `,q+=`| Agent Type | Source | Tokens |
23
+ `,q+=`|------------|--------|--------|
24
+ `;for(let E of R){let G;switch(E.source){case"projectSettings":G="Project";break;case"userSettings":G="User";break;case"localSettings":G="Local";break;case"flagSettings":G="Flag";break;case"policySettings":G="Policy";break;case"plugin":G="Plugin";break;case"built-in":G="Built-in";break;default:G=String(E.source)}q+=`| ${E.agentType} | ${G} | ${I(E.tokens)} |
25
+ `}q+=`
26
+ `}if(X.length>0){q+=`### Memory Files
27
+
28
+ `,q+=`| Type | Path | Tokens |
29
+ `,q+=`|------|------|--------|
30
+ `;for(let E of X)q+=`| ${E.type} | ${E.path} | ${I(E.tokens)} |
31
+ `;q+=`
32
+ `}if(O&&O.tokens>0&&O.skillFrontmatter.length>0){q+=`### Skills
33
+
34
+ `,q+=`| Skill | Source | Tokens |
35
+ `,q+=`|-------|--------|--------|
36
+ `;for(let E of O.skillFrontmatter)q+=`| ${E.name} | ${h(E.source)} | ${I(E.tokens)} |
37
+ `;q+=`
38
+ `}return q}var b=j(()=>{P();A();v();w();F()});
39
+ export{U as Eh,D as Fh,b as Gh};
@@ -0,0 +1,3 @@
1
+ import{U2 as E,V2 as D,Z2 as N}from"./cli-1.1.35-8ttx7y70.mjs";import{$9 as j,r_ as y}from"./cli-1.1.35-4g77zek0.mjs";import{Efa as O,Eha as d,Gfa as P,L$ as B,N$ as H,dga as S,zha as X}from"./cli-1.1.35-dnacc640.mjs";import{cla as U,kla as f}from"./cli-1.1.35-w9wzew2x.mjs";import{nla as W,yla as b}from"./cli-1.1.35-g74y15na.mjs";import{Jqa as M,bpa as T}from"./cli-1.1.35-1ceb2tjb.mjs";import{Tra as L,Xra as p}from"./cli-1.1.35-c05841mj.mjs";import{mkdir as G,readFile as u,writeFile as R}from"fs/promises";import{dirname as _,join as m}from"path";function I(){return m(W(),"cache","changelog.md")}async function Jq(){let J=H();if(!J.cachedChangelog)return;let q=I();try{await G(_(q),{recursive:!0}),await R(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}B(({cachedChangelog:Y,...z})=>z)}async function C(){if(T())return;if(O())return;let J=await j.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=I();await G(_(Y),{recursive:!0}),await R(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();B((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=I();try{let q=await u(J,"utf-8");return $=q,q}catch{return $="",""}}function F(){return $??""}function A(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
2
+ `);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let x=K.slice(1).filter((k)=>k.trim().startsWith("- ")).map((k)=>k.trim().substring(2).trim()).filter(Boolean);if(x.length>0)q[Z]=x}return q}catch(q){return X(U(q)),{}}}function l(J,q,Y=F()){try{let z=A(Y),K=w.coerce(J),Q=q?w.coerce(q):null;if(!Q||K&&D(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||D(Z,Q.version)).sort(([Z],[x])=>D(Z,x)?-1:1).flatMap(([Z,x])=>x).filter(Boolean).slice(0,V)}catch(z){return X(U(z)),[]}return[]}function Kq(J=F()){try{let q=A(J);return Object.keys(q).sort((z,K)=>D(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return X(U(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>X(U(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var w,V=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var c=p(()=>{y();M();S();b();f();d();P();N();w=L(E(),1)});
3
+ export{zq as bf,Jq as cf,C as df,h as ef,Kq as ff,Qq as gf,c as hf};
@@ -0,0 +1,5 @@
1
+ import{CP as a,my as y,qy as r,sP as F,tP as S,wP as C}from"./cli-1.1.35-hy9jtbmb.mjs";import{CX as z,DX as b}from"./cli-1.1.35-dw3fv0g8.mjs";import{y1 as D,z1 as o}from"./cli-1.1.35-q1axe4bk.mjs";import{A$ as T,B$ as u,x$ as R,y$ as l}from"./cli-1.1.35-dnacc640.mjs";import{Fka as N,Ika as g,lka as O,nka as c,rka as L,vka as d}from"./cli-1.1.35-a7ygtwdr.mjs";import{gra as _,hra as I}from"./cli-1.1.35-tsx8c30n.mjs";import{Xra as j}from"./cli-1.1.35-c05841mj.mjs";import{spawn as G,spawnSync as w}from"child_process";import{basename as k}from"path";function P(q){return!!T(q)}function V(q){let H=k(q.split(" ")[0]??"");return h.find((B)=>H.includes(B))}function p(q,H,B){if(!B)return[H];if(m.has(q))return["-g",`${H}:${B}`];if(q==="subl")return[`${H}:${B}`];return[H]}function Qq(q,H){let B=v();if(!B)return!1;let J=B.split(" "),X=J[0]??B,K=J.slice(1),Q=V(B);if(Q){let W=p(Q,q,H),Z={detached:!0,stdio:"ignore"},M;if(process.platform==="win32"){let U=W.map((E)=>`"${E}"`).join(" ");M=G(`${B} ${U}`,{...Z,shell:!0})}else M=G(X,[...K,...W],Z);return M.on("error",(U)=>N(`editor spawn failed: ${U}`,{level:"error"})),M.unref(),!0}let $=z.get(process.stdout);if(!$)return!1;let Y=H&&f.test(k(X));$.enterAlternateScreen();try{let W={stdio:"inherit"},Z;if(process.platform==="win32"){let M=Y?`+${H} `:"";Z=w(`${B} ${M}"${q}"`,{...W,shell:!0})}else{let M=[...K,...Y?[`+${H}`,q]:[q]];Z=w(X,M,W)}if(Z.error)return N(`editor spawn failed: ${Z.error}`,{level:"error"}),!1;return!0}finally{$.exitAlternateScreen()}}var h,f,m,v;var x=j(()=>{I();b();g();u();h=["code","cursor","windsurf","codium","subl","atom","gedit","notepad++","notepad"],f=/\b(vi|vim|nvim|nano|emacs|pico|micro|helix|hx)\b/,m=new Set(["code","cursor","windsurf","codium"]);v=_(()=>{if(process.env.VISUAL?.trim())return process.env.VISUAL.trim();if(process.env.EDITOR?.trim())return process.env.EDITOR.trim();if(process.platform==="win32")return"start /wait notepad";return["code","vi","nano"].find((H)=>P(H))})});function s(q){return V(q)!==void 0}function i(q){let H=L(),B=z.get(process.stdout);if(!B)throw Error("Ink instance not found - cannot pause rendering");let J=v();if(!J)return{content:null};try{H.statSync(q)}catch{return{content:null}}let X=!s(J);if(X)B.enterAlternateScreen();else B.pause(),B.suspendStdin();try{let K=Object.hasOwn(A,J)?A[J]:J;return R(`${K} "${q}"`,{stdio:"inherit"}),{content:H.readFileSync(q,{encoding:"utf-8"})}}catch(K){if(typeof K==="object"&&K!==null&&"status"in K&&typeof K.status==="number"){let Q=K.status;if(Q!==0)return{content:null,error:`${y(J)} exited with code ${Q}`}}return{content:null}}finally{if(X)B.exitAlternateScreen();else B.resumeStdin(),B.resume()}}function n(q,H,B){let J=q;for(let[X,K]of Object.entries(B))if(K.type==="text"){let Q=parseInt(X),$=K.content,Y=J.indexOf($);if(Y!==-1){let W=F($),Z=S(Q,W);J=J.slice(0,Y)+Z+J.slice(Y+$.length)}}return J}function Vq(q,H){let B=L(),J=D();try{let X=H?C(q,H):q;O(J,X,{encoding:"utf-8",flush:!0});let K=i(J);if(K.content===null)return K;let Q=K.content;if(Q.endsWith(`
2
+ `)&&!Q.endsWith(`
3
+
4
+ `))Q=Q.slice(0,-1);if(H)Q=n(Q,q,H);return{content:Q}}finally{try{B.unlinkSync(J)}catch{}}}var A;var t=j(()=>{a();b();x();l();d();r();c();o();A={code:"code -w",subl:"subl --wait"}});
5
+ export{Qq as Gg,v as Hg,x as Ig,i as Jg,Vq as Kg,t as Lg};
@@ -0,0 +1,2 @@
1
+ import{pY as z,qY as $,rY as D}from"./cli-1.1.35-dw3fv0g8.mjs";import{T1 as W,Z1 as Z,a2 as x}from"./cli-1.1.35-q1axe4bk.mjs";import{N$ as Q,dga as Y}from"./cli-1.1.35-dnacc640.mjs";import{Xra as C}from"./cli-1.1.35-c05841mj.mjs";function L(){let q=process.env.TERM_PROGRAM;if(q&&O.has(q))return!0;let y=process.env.TERM;if(y&&X.has(y))return!0;let J=W()?.toLowerCase();if(J===void 0)return!1;return k.some((B)=>J.startsWith(B))}function H(q){if(q===void 0||q==="")return null;let y=Number(q);if(!Number.isFinite(y)||y<d||y>w)return null;return y}function K(q){return u.get(q)??Math.max(1,Math.round(1000/q))}function I(){return H(process.env.CLAUDIN_FPS)!==null}function j(){let q=H(process.env.CLAUDIN_FPS);if(q!==null)return K(q);if(Z())return z;let y=H(Q().renderFrameRate);if(y!==null)return K(y);if(L()&&!process.env.TMUX)return h;return z}function P(){let q=j();return String(G.get(q)??Math.round(1000/q))}function S(){$(j())}var c,O,X,k,d=10,w=360,h=8,b,u,G;var N=C(()=>{D();x();Y();c=["auto","120","240","360"],O=new Set(["ghostty","kitty","WezTerm","alacritty","contour","foot","rio","WarpTerminal"]),X=new Set(["xterm-kitty","xterm-ghostty","alacritty","contour","foot","foot-extra","rio"]),k=["ghostty","kitty","wezterm","alacritty","contour","foot","rio","warp"],b=[[60,16],[120,h],[240,4],[360,3]],u=new Map(b),G=new Map(b.map(([q,y])=>[y,q]))});
2
+ export{c as Xg,I as Yg,P as Zg,S as _g,N as $g};
@@ -0,0 +1,2 @@
1
+ import{di as c,ei as bf}from"./cli-1.1.35-0zkzg6at.mjs";import{ii as M,ki as $f}from"./cli-1.1.35-e08b8j98.mjs";import{Aj as H,BB as C,Bv as Jf,CB as Vf,DS as v,Fm as zf,IM as I,JG as u,JM as _f,KG as Zf,LT as Df,Nj as O,Oj as t,Ol as s,Pl as e,QS as A,Tm as w,XS as g,Yl as W,Ym as Bf,ZB as m,cv as L,eC as Xf,fC as T,gC as Yf,hT as Rf,iT as l,jT as S,ow as h,pm as ff,pu as N,qu as E,ru as Gf,sw as Qf,yv as P,zm as y}from"./cli-1.1.35-hy9jtbmb.mjs";import{Eha as a,zha as F}from"./cli-1.1.35-dnacc640.mjs";import{Jqa as o,ema as R,fma as D,hqa as x,kma as K,voa as U}from"./cli-1.1.35-1ceb2tjb.mjs";import{Ura as q,Xra as r}from"./cli-1.1.35-c05841mj.mjs";import{randomUUID as jf}from"crypto";async function cf({setMessages:V,readFileState:p,discoveredSkillNames:d,loadedNestedMemoryPaths:k,getAppState:G,setAppState:J,setConversationId:X}){let Y=S();await L("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Kf=U(),Q=new Set,Z=[],_=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if(_(f))continue;if(m(f))Q.add(f.agentId),Z.push(f);else if(u(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(jf());if(c(Q),C(K()),p.clear(),d?.clear(),k?.clear(),J)J((f)=>{let B={};for(let[j,z]of Object.entries(f.tasks)){if(!_(z)){B[j]=z;continue}try{if(z.status==="running"){if(T(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(n){F(n)}N(j)}return{...f,tasks:B,attribution:I(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});y(),A(),x(),M();let i=R();h(()=>D({setCurrentAsParent:!0})),w(i),await v();for(let f of Z){if(f.status!=="running")continue;E(f.id,H(O(f.agentId)))}{let{saveMode:f}=(l(),q(Rf)),{isCoordinatorMode:B}=(e(),q(s));f(B()?"coordinator":"normal")}let $=W();if($)g($);let b=await P("clear");if(b.length>0)V(()=>b)}var qf=r(()=>{o();Zf();Xf();Yf();t();Qf();_f();Df();a();$f();zf();Vf();Jf();l();Gf();Bf();ff();bf()});
2
+ export{cf as bi,qf as ci};
@@ -0,0 +1,2 @@
1
+ import{Xra as M}from"./cli-1.1.35-c05841mj.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
2
+ export{V as aj,W as bj,X as cj,Z as dj,Y as ej};
@@ -0,0 +1,2 @@
1
+ import{AC as f,Nq as R,Oq as T,Pq as $,wC as U,xC as V}from"./cli-1.1.35-hy9jtbmb.mjs";import{Y4 as Q,Z4 as _}from"./cli-1.1.35-s85hd24a.mjs";import{Cca as Y,Eha as Z,vca as L,zha as G}from"./cli-1.1.35-dnacc640.mjs";import{Xra as X}from"./cli-1.1.35-c05841mj.mjs";function S(q,j){let z=new Map;for(let x of j)z.set(x.agentType,x);let H=new Set,J=[];for(let x of q){let K=`${x.agentType}:${x.source}`;if(H.has(K))continue;H.add(K);let E=z.get(x.agentType),W=E&&E.source!==x.source?E.source:void 0;J.push({...x,overriddenBy:W})}return J}function I(q){let j=q.model||U();if(!j)return;if(j==="inherit")return"inherit";if(j==="haiku"||j==="sonnet"||j==="opus"){try{if(!V())return"inherit";if(!Q(j))return"inherit"}catch(z){G(z)}return j}return T(j,`agent:${q.agentType}`,{getAvailableModelIds:R,logDebug:()=>{},logErr:G})??j}function N(q){return L(q).toLowerCase()}function P(q,j){return q.agentType.localeCompare(j.agentType,void 0,{sensitivity:"base"})}var O;var h=X(()=>{f();_();Z();Y();$();O=[{label:"User agents",source:"userSettings"},{label:"Project agents",source:"projectSettings"},{label:"Local agents",source:"localSettings"},{label:"Managed agents",source:"policySettings"},{label:"Plugin agents",source:"plugin"},{label:"CLI arg agents",source:"flagSettings"},{label:"Built-in agents",source:"built-in"}]});
2
+ export{O as Hc,S as Ic,I as Jc,N as Kc,P as Lc,h as Mc};
@@ -0,0 +1,4 @@
1
+ import{hg as IJ,ig as bQ}from"./cli-1.1.35-854kyr9a.mjs";import{sg as eq,tg as sq,ug as aJ}from"./cli-1.1.35-qgjs5ex0.mjs";import{vg as AJ,wg as OQ}from"./cli-1.1.35-4njf7z42.mjs";import{xg as vJ,yg as AQ}from"./cli-1.1.35-0qrw70p1.mjs";import{Ag as rJ,zg as nq}from"./cli-1.1.35-0axe3ev5.mjs";import{Bg as wq,Cg as tq,Dg as oJ}from"./cli-1.1.35-7nsr0a6p.mjs";import{Eg as bJ,Fg as hQ}from"./cli-1.1.35-688xsqg8.mjs";import{$F as PJ,AR as JQ,Au as NQ,Ay as pq,Bx as wJ,By as jq,Cx as UQ,Dy as _q,Ey as jJ,Go as XJ,Ho as XQ,MT as Fq,NT as ZJ,Ux as Cq,VT as zJ,Vx as wQ,WF as kq,XF as HQ,YF as RJ,ZF as RQ,_F as LJ,_T as QQ,aG as WJ,bG as LQ,dJ as hJ,eJ as OJ,fJ as PQ,gR as QJ,iP as g,iR as qQ,io as h,jo as lq,lP as WQ,wu as yJ,xR as Iq,xu as yQ,xx as UJ,yu as NJ,yx as BQ,zu as BJ}from"./cli-1.1.35-hy9jtbmb.mjs";import{IU as FJ,KU as HJ,MU as FQ}from"./cli-1.1.35-18wszrez.mjs";import{EX as Oq,QY as N,SY as Q,xZ as bq}from"./cli-1.1.35-dw3fv0g8.mjs";import{$2 as K,_2 as R,a3 as Z,b3 as c}from"./cli-1.1.35-b0n88pf7.mjs";import{c3 as VQ}from"./cli-1.1.35-bq7wadxz.mjs";import{B5 as iq,P5 as VJ,Q5 as KQ,c5 as oq,j5 as KJ}from"./cli-1.1.35-s85hd24a.mjs";import{Aea as Aq,Daa as Mq,Iea as xJ,S_ as $,T_ as zQ,_aa as YQ,ifa as GJ,vfa as GQ,wea as aq,xea as gJ}from"./cli-1.1.35-dnacc640.mjs";import{nla as YJ,yla as ZQ}from"./cli-1.1.35-g74y15na.mjs";import{Jqa as rq,kma as Hq}from"./cli-1.1.35-1ceb2tjb.mjs";import{Tra as Bq,Xra as Uq}from"./cli-1.1.35-c05841mj.mjs";function Tq(){let J=dq.c(2);if(!pq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=_q();if(G.length===0){V=null;break q}let Y=G.filter(cJ),X=G.filter(TJ);q=Z(N,{flexDirection:"column",marginTop:1,marginBottom:1,children:[K(Q,{bold:!0,color:Y.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(N,{children:[K(Q,{dimColor:!0,children:"Location: "}),K(Q,{dimColor:!0,children:jq()})]}),Z(N,{marginLeft:1,flexDirection:"column",marginTop:1,children:[Y.map(dJ),X.map(_J)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function _J(J,q){return Z(N,{flexDirection:"column",children:[Z(N,{children:[K(Q,{dimColor:!0,children:"└ "}),K(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&K(N,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function dJ(J,q){return Z(N,{flexDirection:"column",children:[Z(N,{children:[K(Q,{dimColor:!0,children:"└ "}),K(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&K(N,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function TJ(J){return J.severity==="warning"}function cJ(J){return J.severity==="error"}var dq;var cq=Uq(()=>{bq();jJ();c();dq=Bq(Oq(),1)});function gq(){let J=$q.c(2);if(!h.isSupportedPlatform())return null;if(!h.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=h.checkDependencies(),Y=G.errors.length>0,X=G.warnings.length>0;if(!Y&&!X){V=null;break q}q=Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",K(Q,{color:Y?"error":"warning",children:Y?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map($J),G.warnings.map(lJ),Y&&K(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function lJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function $J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var $q;var xq=Uq(()=>{bq();lq();c();$q=Bq(Oq(),1)});async function iJ(){let J=ZJ(await zJ());if(J.length===0)return null;let q=J.sort((G,Y)=>Y.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${Fq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${Fq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:Fq}}async function nJ(J){if(!J)return null;let q=tq(J);if(q<=wq)return null;let V=J.activeAgents.filter((Y)=>Y.source!=="built-in").map((Y)=>{let X=`${Y.agentType}: ${Y.whenToUse}`;return{name:Y.agentType,tokens:Iq(X)}}).sort((Y,X)=>X.tokens-Y.tokens),G=V.slice(0,5).map((Y)=>`${Y.name}: ~${Y.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${wq.toLocaleString()})`,details:G,currentValue:q,threshold:wq}}async function eJ(J,q,V){let G=J.filter((Y)=>Y.isMcp);if(G.length===0)return null;try{let Y=oq(),{mcpToolTokens:X,mcpToolDetails:U}=await QJ(J,q,V,Y);if(X<=l)return null;let B=new Map;for(let L of U){let x=L.name.split("__")[1]||"unknown",y=B.get(x)||{count:0,tokens:0};B.set(x,{count:y.count+1,tokens:y.tokens+L.tokens})}let H=Array.from(B.entries()).sort((L,w)=>w[1].tokens-L[1].tokens),z=H.slice(0,5).map(([L,w])=>`${L}: ${w.count} tools (~${w.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(Y){let X=G.reduce((U,B)=>{let H=(B.name?.length||0)+B.description.length;return U+Iq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function sJ(J){let q=await J(),V=h.isSandboxingEnabled()&&h.isAutoAllowBashIfSandboxedEnabled(),G=nq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let Y=G.flatMap((X)=>[`${aq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${Aq(G.length,"unreachable permission rule")} detected`,details:Y,currentValue:G.length,threshold:0}}async function tJ(){let J=Hq(),{findings:q}=await eq({root:J});if(q.length===0)return null;let V=q.filter((Y)=>Y.severity==="error"),G=q.map((Y)=>`${sq(J,Y.file)}: ${Y.message}`);return{type:"rule_files",severity:V.length>0?"error":"warning",message:`${q.length} rule ${Aq(q.length,"file problem")} detected`,details:G,currentValue:q.length,threshold:0}}async function qJ(J,q,V){let[G,Y,X,U,B]=await Promise.all([iJ(),nJ(q),eJ(J,V,q),sJ(V),tJ()]);return{claudeMdWarning:G,agentWarning:Y,mcpWarning:X,unreachableRulesWarning:U,ruleFilesWarning:B}}var l=25000;var JJ=Uq(()=>{rq();JQ();qQ();QQ();iq();gJ();rJ();aJ();lq();oJ();xJ()});import{join as vq}from"path";function IQ(J){let q=Dq.c(8),{promise:V}=J,G=F.use(V);if(!G.latest){let B;if(q[0]===Symbol.for("react.memo_cache_sentinel"))B=K(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=B;else B=q[0];return B}let Y;if(q[1]!==G.stable)Y=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=Y;else Y=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let U;if(q[5]!==Y||q[6]!==X)U=Z(R,{children:[Y,X]}),q[5]=Y,q[6]=X,q[7]=U;else U=q[7];return U}function xZ(J){let q=Dq.c(84),{onDone:V}=J,G=g(rQ),Y=g(xQ),X=g(gQ),U=g($Q);wJ();let B;if(q[0]!==Y)B=Y||[],q[0]=Y,q[1]=B;else B=q[1];let H=B,[z,L]=F.useState(null),[w,x]=F.useState(null),[y,MJ]=F.useState(null),[W,Sq]=F.useState(null),Rq=vJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=kq().then(cQ),q[2]=r;else r=q[2];let CJ=r,kJ=GJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Rq)a=Rq.filter(TQ),q[3]=Rq,q[4]=a;else a=q[4];let o=a,i;if(q[5]===Symbol.for("react.memo_cache_sentinel"))i=[{name:"BASH_MAX_OUTPUT_LENGTH",default:BJ,upperLimit:NJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:OJ,upperLimit:hJ},{name:"CLAUDIN_MAX_OUTPUT_TOKENS",...VJ(KJ())}].map(dQ).filter(_Q),q[5]=i;else i=q[5];let Eq=i,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{kq().then(L),(async()=>{let P=vq(YJ(),"agents"),fq=vq(Hq(),".claudin","agents"),{activeAgents:uq,allAgents:DJ,failedFiles:mq}=G,[SJ,EJ]=await Promise.all([Mq(P),Mq(fq)]),fJ={activeAgents:uq.map(jQ),userAgentsDir:P,projectAgentsDir:fq,userDirExists:SJ,projectDirExists:EJ,failedFiles:mq};x(fJ);let uJ=await qJ(H,{activeAgents:uq,allAgents:DJ,failedFiles:mq},async()=>X);if(MJ(uJ),LJ()){let hq=vq(RJ(),"claude","locks"),mJ=WJ(hq),pJ=PJ(hq);Sq({enabled:!0,locks:pJ,locksDir:hq,staleLocksCleaned:mJ})}else Sq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];F.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claudin diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(UJ(qq,Jq),!z){let P;if(q[16]===Symbol.for("react.memo_cache_sentinel"))P=K(Cq,{children:K(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=P;else P=q[16];return P}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=K(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let b;if(q[21]!==z.packageManager)b=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=b;else b=q[22];let A;if(q[23]!==z.installationPath)A=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=A;else A=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let v;if(q[27]!==z.configInstallMethod)v=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=v;else v=q[28];let Lq=z.ripgrepStatus.working?"OK":"Not working",Pq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",M;if(q[29]!==Lq||q[30]!==Pq)M=Z(Q,{children:["└ Search: ",Lq," (",Pq,")"]}),q[29]=Lq,q[30]=Pq,q[31]=M;else M=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(R,{children:[K(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
2
+ `)[0]]}),K(Q,{dimColor:!0,children:z.recommendation.split(`
3
+ `)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(R,{children:[K(Q,{}),K(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(pQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(R,{children:[K(Q,{}),z.warnings.map(mQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==o)S=o.length>0&&Z(N,{flexDirection:"column",marginTop:1,marginBottom:1,children:[K(Q,{bold:!0,children:"Invalid Settings"}),K(IJ,{errors:o})]}),q[38]=o,q[39]=S;else S=q[39];let E;if(q[40]!==O||q[41]!==b||q[42]!==A||q[43]!==I||q[44]!==v||q[45]!==M||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)E=Z(N,{flexDirection:"column",children:[Qq,O,b,A,I,v,M,C,k,D,S]}),q[40]=O,q[41]=b,q[42]=A,q[43]=I,q[44]=v,q[45]=M,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=E;else E=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=K(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let Wq=z.packageManager?"Managed by package manager":z.autoUpdates,f;if(q[52]!==Wq)f=Z(Q,{children:["└ Auto-updates:"," ",Wq]}),q[52]=Wq,q[53]=f;else f=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",kJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=K(F.Suspense,{fallback:null,children:K(IQ,{promise:CJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==f||q[59]!==u)m=Z(N,{flexDirection:"column",children:[Zq,f,u,zq,Yq]}),q[58]=f,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=K(gq,{}),Kq=K(bJ,{}),Vq=K(Tq,{}),Xq=Eq.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Environment Variables"}),Eq.map(uQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==W)p=W?.enabled&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Version Locks"}),W.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",W.staleLocksCleaned," stale lock(s)"]}),W.locks.length===0?K(Q,{dimColor:!0,children:"└ No active version locks"}):W.locks.map(fQ)]}),q[65]=W,q[66]=p;else p=q[66];let j;if(q[67]!==w)j=w?.failedFiles&&w.failedFiles.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",w.failedFiles.length," agent file(s):"]}),w.failedFiles.map(EQ)]}),q[67]=w,q[68]=j;else j=q[68];let _;if(q[69]!==U)_=U.length>0&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",U.length," plugin error(s) detected:"]}),U.map(SQ)]}),q[69]=U,q[70]=_;else _=q[70];let d;if(q[71]!==y)d=y?.unreachableRulesWarning&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.unreachableRulesWarning.message]})]}),y.unreachableRulesWarning.details.map(DQ)]}),q[71]=y,q[72]=d;else d=q[72];let T;if(q[73]!==y)T=y&&(y.claudeMdWarning||y.agentWarning||y.mcpWarning||y.ruleFilesWarning)&&Z(N,{flexDirection:"column",children:[K(Q,{bold:!0,children:"Context Usage Warnings"}),y.claudeMdWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),y.claudeMdWarning.details.map(kQ)]}),y.agentWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),y.agentWarning.details.map(CQ)]}),y.mcpWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",y.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),y.mcpWarning.details.map(MQ)]}),y.ruleFilesWarning&&Z(R,{children:[Z(Q,{children:["└"," ",Z(Q,{color:y.ruleFilesWarning.severity==="error"?"error":"warning",children:[$.warning," ",y.ruleFilesWarning.message]})]}),Z(Q,{children:[" ","└ Rules:"]}),y.ruleFilesWarning.details.map(vQ)]})]}),q[73]=y,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=K(N,{children:K(AJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==E||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Cq,{children:[E,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=E,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function vQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function CQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function kQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function DQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function SQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",XJ(J)]},q)}function EQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function fQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?K(Q,{children:"(running)"}):K(Q,{color:"warning",children:"(stale)"})]},q)}function uQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",K(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function mQ(J,q){return Z(N,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function pQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function jQ(J){return{agentType:J.agentType,source:J.source}}function _Q(J){return J.status!=="valid"}function dQ(J){let q=process.env[J.name],V=yJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function TQ(J){return J.mcpErrorMetadata===void 0}function cQ(J){return(J.installationType==="native"?HJ:FJ)().catch(lQ)}function lQ(){return{latest:null,stable:null}}function $Q(J){return J.plugins.errors}function gQ(J){return J.toolPermissionContext}function xQ(J){return J.mcp.tools}function rQ(J){return J.agentDefinitions}var Dq,F;var aQ=Uq(()=>{zQ();cq();hQ();KQ();iq();ZQ();rq();wQ();OQ();xq();bQ();AQ();UQ();bq();BQ();WQ();XQ();FQ();JJ();HQ();yQ();YQ();LQ();GQ();NQ();PQ();RQ();c();Dq=Bq(Oq(),1),F=Bq(VQ(),1)});
4
+ export{xZ as fg,aQ as gg};
@@ -0,0 +1,7 @@
1
+ import{na as d}from"./cli-1.1.35-fz50q22a.mjs";import{AW as i,nW as v,oW as U,qW as f,rW as O,tW as b,uW as h,vW as c}from"./cli-1.1.35-389ej7r1.mjs";import{B7 as u,u7 as y}from"./cli-1.1.35-wpa5rfnt.mjs";import{G7 as B,H7 as A}from"./cli-1.1.35-6nhv8vhv.mjs";import{$9 as p,r_ as s}from"./cli-1.1.35-4g77zek0.mjs";import{U$ as Y,W$ as I}from"./cli-1.1.35-dnacc640.mjs";import{Fka as G,Ika as D,ika as H,jka as m,nka as T}from"./cli-1.1.35-a7ygtwdr.mjs";import{dla as q,ela as S,kla as F}from"./cli-1.1.35-w9wzew2x.mjs";import{randomUUID as N}from"crypto";D();I();F();u();i();f();A();b();T();class j extends Error{retryAfterMs;constructor(J,K){super(J);this.retryAfterMs=K}}class R{pending=[];pendingAtClose=0;draining=!1;closed=!1;backpressureResolvers=[];sleepResolve=null;flushResolvers=[];droppedBatches=0;config;constructor(J){this.config=J}get droppedBatchCount(){return this.droppedBatches}get pendingCount(){return this.closed?this.pendingAtClose:this.pending.length}async enqueue(J){if(this.closed)return;let K=Array.isArray(J)?J:[J];if(K.length===0)return;while(this.pending.length+K.length>this.config.maxQueueSize&&!this.closed)await new Promise((Q)=>{this.backpressureResolvers.push(Q)});if(this.closed)return;this.pending.push(...K),this.drain()}flush(){if(this.pending.length===0&&!this.draining)return Promise.resolve();return this.drain(),new Promise((J)=>{this.flushResolvers.push(J)})}close(){if(this.closed)return;this.closed=!0,this.pendingAtClose=this.pending.length,this.pending=[],this.sleepResolve?.(),this.sleepResolve=null;for(let J of this.backpressureResolvers)J();this.backpressureResolvers=[];for(let J of this.flushResolvers)J();this.flushResolvers=[]}async drain(){if(this.draining||this.closed)return;this.draining=!0;let J=0;try{while(this.pending.length>0&&!this.closed){let K=this.takeBatch();if(K.length===0)continue;try{await this.config.send(K),J=0}catch(Q){if(J++,this.config.maxConsecutiveFailures!==void 0&&J>=this.config.maxConsecutiveFailures){this.droppedBatches++,this.config.onBatchDropped?.(K.length,J),J=0,this.releaseBackpressure();continue}this.pending=K.concat(this.pending);let W=Q instanceof j?Q.retryAfterMs:void 0;await this.sleep(this.retryDelay(J,W));continue}this.releaseBackpressure()}}finally{if(this.draining=!1,this.pending.length===0){for(let K of this.flushResolvers)K();this.flushResolvers=[]}}}takeBatch(){let{maxBatchSize:J,maxBatchBytes:K}=this.config;if(K===void 0)return this.pending.splice(0,J);let Q=0,W=0;while(W<this.pending.length&&W<J){let Z;try{Z=Buffer.byteLength(H(this.pending[W]))}catch{this.pending.splice(W,1);continue}if(W>0&&Q+Z>K)break;Q+=Z,W++}return this.pending.splice(0,W)}retryDelay(J,K){let Q=Math.random()*this.config.jitterMs;if(K!==void 0)return Math.max(this.config.baseDelayMs,Math.min(K,this.config.maxDelayMs))+Q;return Math.min(this.config.baseDelayMs*2**(J-1),this.config.maxDelayMs)+Q}releaseBackpressure(){let J=this.backpressureResolvers;this.backpressureResolvers=[];for(let K of J)K()}sleep(J){return new Promise((K)=>{this.sleepResolve=K,setTimeout((Q,W)=>{Q.sleepResolve=null,W()},J,this,K)})}}A();class M{inflight=null;pending=null;closed=!1;config;constructor(J){this.config=J}enqueue(J){if(this.closed)return;this.pending=this.pending?P(this.pending,J):J,this.drain()}close(){this.closed=!0,this.pending=null}async drain(){if(this.inflight||this.closed)return;if(!this.pending)return;let J=this.pending;this.pending=null,this.inflight=this.sendWithRetry(J).then(()=>{if(this.inflight=null,this.pending&&!this.closed)this.drain()})}async sendWithRetry(J){let K=J,Q=0;while(!this.closed){if(await this.config.send(K))return;if(Q++,await B(this.retryDelay(Q)),this.pending&&!this.closed)K=P(K,this.pending),this.pending=null}}retryDelay(J){let K=Math.min(this.config.baseDelayMs*2**(J-1),this.config.maxDelayMs),Q=Math.random()*this.config.jitterMs;return K+Q}}function P(J,K){let Q={...J};for(let[W,Z]of Object.entries(K))if((W==="external_metadata"||W==="internal_metadata")&&Q[W]&&typeof Q[W]==="object"&&typeof Z==="object"&&Z!==null)Q[W]={...Q[W],...Z};else Q[W]=Z;return Q}var g=20000,l=100;function E(){return!0}class k extends Error{reason;constructor(J){super(`CCRClient init failed: ${J}`);this.reason=J}}var n=10;function o(){return{byMessage:new Map,scopeToMessage:new Map}}function C(J){return`${J.session_id}:${J.parent_tool_use_id??""}`}function r(J,K){let Q=[],W=new Map;for(let Z of J){let $=Z.event;switch($.type){case"message_start":{let z=$.message.id,L=K.scopeToMessage.get(C(Z));if(L)K.byMessage.delete(L);K.scopeToMessage.set(C(Z),z),K.byMessage.set(z,[]),Q.push(Z);break}case"content_block_delta":{if($.delta.type!=="text_delta"){Q.push(Z);break}let z=K.scopeToMessage.get(C(Z)),L=z?K.byMessage.get(z):void 0;if(!L){Q.push(Z);break}let V=L[$.index]??=[];V.push($.delta.text);let X=W.get(V);if(X){X.event.delta.text=V.join("");break}let w={type:"stream_event",uuid:Z.uuid,session_id:Z.session_id,parent_tool_use_id:Z.parent_tool_use_id,event:{type:"content_block_delta",index:$.index,delta:{type:"text_delta",text:V.join("")}}};W.set(V,w),Q.push(w);break}default:Q.push(Z)}}return Q}function t(J,K){J.byMessage.delete(K.message.id);let Q=C(K);if(J.scopeToMessage.get(Q)===K.message.id)J.scopeToMessage.delete(Q)}class a{workerEpoch=0;heartbeatIntervalMs;heartbeatJitterFraction;heartbeatTimer=null;heartbeatInFlight=!1;closed=!1;consecutiveAuthFailures=0;currentState=null;sessionBaseUrl;sessionId;http=y({keepAlive:!0});streamEventBuffer=[];streamEventTimer=null;streamTextAccumulator=o();workerState;eventUploader;internalEventUploader;deliveryUploader;onEpochMismatch;getAuthHeaders;constructor(J,K,Q){if(this.onEpochMismatch=Q?.onEpochMismatch??(()=>{process.exit(1)}),this.heartbeatIntervalMs=Q?.heartbeatIntervalMs??g,this.heartbeatJitterFraction=Q?.heartbeatJitterFraction??0,this.getAuthHeaders=Q?.getAuthHeaders??U,K.protocol!=="http:"&&K.protocol!=="https:")throw Error(`CCRClient: Expected http(s) URL, got ${K.protocol}`);let W=K.pathname.replace(/\/$/,"");this.sessionBaseUrl=`${K.protocol}//${K.host}${W}`,this.sessionId=W.split("/").pop()||"",this.workerState=new M({send:(Z)=>this.request("put","/worker",{worker_epoch:this.workerEpoch,...Z},"PUT worker").then(($)=>$.ok),baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.eventUploader=new R({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:1e5,send:async(Z)=>{let $=await this.request("post","/worker/events",{worker_epoch:this.workerEpoch,events:Z},"client events");if(!$.ok)throw new j("client event POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.internalEventUploader=new R({maxBatchSize:100,maxBatchBytes:10485760,maxQueueSize:200,send:async(Z)=>{let $=await this.request("post","/worker/internal-events",{worker_epoch:this.workerEpoch,events:Z},"internal events");if(!$.ok)throw new j("internal event POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),this.deliveryUploader=new R({maxBatchSize:64,maxQueueSize:64,send:async(Z)=>{let $=await this.request("post","/worker/events/delivery",{worker_epoch:this.workerEpoch,updates:Z.map((z)=>({event_id:z.eventId,status:z.status}))},"delivery batch");if(!$.ok)throw new j("delivery POST failed",$.retryAfterMs)},baseDelayMs:500,maxDelayMs:30000,jitterMs:500}),J.setOnEvent((Z)=>{this.reportDelivery(Z.event_id,"received")})}async initialize(J){let K=Date.now();if(Object.keys(this.getAuthHeaders()).length===0)throw new k("no_auth_headers");if(J===void 0){let z=process.env.CLAUDE_CODE_WORKER_EPOCH;J=z?parseInt(z,10):NaN}if(isNaN(J))throw new k("missing_epoch");this.workerEpoch=J;let Q=this.getWorkerState();if(!(await this.request("put","/worker",{worker_status:"idle",worker_epoch:this.workerEpoch,external_metadata:{pending_action:null,task_summary:null}},"PUT worker (init)")).ok)throw new k("worker_register_failed");this.currentState="idle",this.startHeartbeat(),h(()=>{this.writeEvent({type:"keep_alive"})}),G(`CCRClient: initialized, epoch=${this.workerEpoch}`),Y("info","cli_worker_lifecycle_initialized",{epoch:this.workerEpoch,duration_ms:Date.now()-K});let{metadata:Z,durationMs:$}=await Q;if(!this.closed)Y("info","cli_worker_state_restored",{duration_ms:$,had_state:Z!==null});return Z}async getWorkerState(){let J=Date.now(),K=this.getAuthHeaders();if(Object.keys(K).length===0)return{metadata:null,durationMs:0};return{metadata:(await this.getWithRetry(`${this.sessionBaseUrl}/worker`,K,"worker_state"))?.worker?.external_metadata??null,durationMs:Date.now()-J}}async request(J,K,Q,W,{timeout:Z=1e4}={}){let $=this.getAuthHeaders();if(Object.keys($).length===0)return{ok:!1};try{let z=await this.http[J](`${this.sessionBaseUrl}${K}`,Q,{headers:{...$,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":O()},validateStatus:E,timeout:Z});if(z.status>=200&&z.status<300)return this.consecutiveAuthFailures=0,{ok:!0};if(z.status===409)this.handleEpochMismatch();if(z.status===401||z.status===403){let L=v(),V=L?d(L):null;if(V!==null&&V*1000<Date.now())G(`CCRClient: session_token expired (exp=${new Date(V*1000).toISOString()}) — no refresh was delivered, exiting`,{level:"error"}),Y("error","cli_worker_token_expired_no_refresh"),this.onEpochMismatch();if(this.consecutiveAuthFailures++,this.consecutiveAuthFailures>=n)G(`CCRClient: ${this.consecutiveAuthFailures} consecutive auth failures with a valid-looking token — server-side auth unrecoverable, exiting`,{level:"error"}),Y("error","cli_worker_auth_failures_exhausted"),this.onEpochMismatch()}if(G(`CCRClient: ${W} returned ${z.status}`,{level:"warn"}),Y("warn","cli_worker_request_failed",{method:J,path:K,status:z.status}),z.status===429){let L=z.headers?.["retry-after"],V=typeof L==="string"?parseInt(L,10):NaN;if(!isNaN(V)&&V>=0)return{ok:!1,retryAfterMs:V*1000}}return{ok:!1}}catch(z){return G(`CCRClient: ${W} failed: ${q(z)}`,{level:"warn"}),Y("warn","cli_worker_request_error",{method:J,path:K,error_code:S(z)}),{ok:!1}}}reportState(J,K){if(J===this.currentState&&!K)return;this.currentState=J,this.workerState.enqueue({worker_status:J,requires_action_details:K?{tool_name:K.tool_name,action_description:K.action_description,request_id:K.request_id}:null})}reportMetadata(J){this.workerState.enqueue({external_metadata:J})}handleEpochMismatch(){G("CCRClient: Epoch mismatch (409), shutting down",{level:"error"}),Y("error","cli_worker_epoch_mismatch"),this.onEpochMismatch()}startHeartbeat(){this.stopHeartbeat();let J=()=>{let Q=this.heartbeatIntervalMs*this.heartbeatJitterFraction*(2*Math.random()-1);this.heartbeatTimer=setTimeout(K,this.heartbeatIntervalMs+Q)},K=()=>{if(this.sendHeartbeat(),this.heartbeatTimer===null)return;J()};J()}stopHeartbeat(){if(this.heartbeatTimer)clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null}async sendHeartbeat(){if(this.heartbeatInFlight)return;this.heartbeatInFlight=!0;try{if((await this.request("post","/worker/heartbeat",{session_id:this.sessionId,worker_epoch:this.workerEpoch},"Heartbeat",{timeout:5000})).ok)G("CCRClient: Heartbeat sent")}finally{this.heartbeatInFlight=!1}}async writeEvent(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>void this.flushStreamEventBuffer(),l);return}if(await this.flushStreamEventBuffer(),J.type==="assistant")t(this.streamTextAccumulator,J);await this.eventUploader.enqueue(this.toClientEvent(J))}toClientEvent(J){let K=J;return{payload:{...K,uuid:typeof K.uuid==="string"?K.uuid:N()}}}async flushStreamEventBuffer(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;if(this.streamEventBuffer.length===0)return;let J=this.streamEventBuffer;this.streamEventBuffer=[];let K=r(J,this.streamTextAccumulator);await this.eventUploader.enqueue(K.map((Q)=>({payload:Q,ephemeral:!0})))}async writeInternalEvent(J,K,{isCompaction:Q=!1,agentId:W}={}){let Z={payload:{type:J,...K,uuid:typeof K.uuid==="string"?K.uuid:N()},...Q&&{is_compaction:!0},...W&&{agent_id:W}};await this.internalEventUploader.enqueue(Z)}flushInternalEvents(){return this.internalEventUploader.flush()}async flush(){return await this.flushStreamEventBuffer(),this.eventUploader.flush()}async readInternalEvents(){return this.paginatedGet("/worker/internal-events",{},"internal_events")}async readSubagentInternalEvents(){return this.paginatedGet("/worker/internal-events",{subagents:"true"},"subagent_events")}async paginatedGet(J,K,Q){let W=this.getAuthHeaders();if(Object.keys(W).length===0)return null;let Z=[],$;do{let z=new URL(`${this.sessionBaseUrl}${J}`);for(let[V,X]of Object.entries(K))z.searchParams.set(V,X);if($)z.searchParams.set("cursor",$);let L=await this.getWithRetry(z.toString(),W,Q);if(!L)return null;Z.push(...L.data??[]),$=L.next_cursor}while($);return G(`CCRClient: Read ${Z.length} internal events from ${J}${K.subagents?" (subagents)":""}`),Z}async getWithRetry(J,K,Q){for(let W=1;W<=10;W++){let Z;try{Z=await this.http.get(J,{headers:{...K,"anthropic-version":"2023-06-01","User-Agent":O()},validateStatus:E,timeout:30000})}catch($){if(G(`CCRClient: GET ${J} failed (attempt ${W}/10): ${q($)}`,{level:"warn"}),W<10){let z=Math.min(500*2**(W-1),30000)+Math.random()*500;await B(z)}continue}if(Z.status>=200&&Z.status<300)return Z.data;if(Z.status===409)this.handleEpochMismatch();if(G(`CCRClient: GET ${J} returned ${Z.status} (attempt ${W}/10)`,{level:"warn"}),W<10){let $=Math.min(500*2**(W-1),30000)+Math.random()*500;await B($)}}return G("CCRClient: GET retries exhausted",{level:"error"}),Y("error","cli_worker_get_retries_exhausted",{context:Q}),null}reportDelivery(J,K){this.deliveryUploader.enqueue({eventId:J,status:K})}getWorkerEpoch(){return this.workerEpoch}get internalEventsPending(){return this.internalEventUploader.pendingCount}close(){if(this.closed=!0,this.stopHeartbeat(),c(),this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[],this.streamTextAccumulator.byMessage.clear(),this.streamTextAccumulator.scopeToMessage.clear(),this.workerState.close(),this.eventUploader.close(),this.internalEventUploader.close(),this.deliveryUploader.close()}}s();D();I();F();f();A();T();b();var e=1000,JJ=30000,KJ=600000,QJ=45000,WJ=new Set([401,403,404]),x=10,ZJ=500,$J=8000,GJ={stream:!0};function zJ(){return!0}function VJ(J){let K=[],Q=0,W;while((W=J.indexOf(`
2
+
3
+ `,Q))!==-1){let Z=J.slice(Q,W);if(Q=W+2,!Z.trim())continue;let $={},z=!1;for(let L of Z.split(`
4
+ `)){if(L.startsWith(":")){z=!0;continue}let V=L.indexOf(":");if(V===-1)continue;let X=L.slice(0,V),w=L[V+1]===" "?L.slice(V+2):L.slice(V+1);switch(X){case"event":$.event=w;break;case"id":$.id=w;break;case"data":$.data=$.data?$.data+`
5
+ `+w:w;break}}if($.data||z)K.push($)}return{frames:K,remaining:J.slice(Q)}}class YJ{url;state="idle";onData;onCloseCallback;onEventCallback;headers;sessionId;refreshHeaders;getAuthHeaders;abortController=null;lastSequenceNum=0;seenSequenceNums=new Set;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;livenessTimer=null;postUrl;constructor(J,K={},Q,W,Z,$){this.url=J;if(this.headers=K,this.sessionId=Q,this.refreshHeaders=W,this.getAuthHeaders=$??U,this.postUrl=LJ(J),Z!==void 0&&Z>0)this.lastSequenceNum=Z;G(`SSETransport: SSE URL = ${J.href}`),G(`SSETransport: POST URL = ${this.postUrl}`),Y("info","cli_sse_transport_initialized")}getLastSequenceNum(){return this.lastSequenceNum}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){G(`SSETransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Y("error","cli_sse_connect_failed");return}this.state="reconnecting";let J=Date.now(),K=new URL(this.url.href);if(this.lastSequenceNum>0)K.searchParams.set("from_sequence_num",String(this.lastSequenceNum));let Q=this.getAuthHeaders(),W={...this.headers,...Q,Accept:"text/event-stream","anthropic-version":"2023-06-01","User-Agent":O()};if(Q.Cookie)delete W.Authorization;if(this.lastSequenceNum>0)W["Last-Event-ID"]=String(this.lastSequenceNum);G(`SSETransport: Opening ${K.href}`),Y("info","cli_sse_connect_opening"),this.abortController=new AbortController;try{let Z=await fetch(K.href,{headers:W,signal:this.abortController.signal});if(!Z.ok){let z=WJ.has(Z.status);if(G(`SSETransport: HTTP ${Z.status}${z?" (permanent)":""}`,{level:"error"}),Y("error","cli_sse_connect_http_error",{status:Z.status}),z){this.state="closed",this.onCloseCallback?.(Z.status);return}this.handleConnectionError();return}if(!Z.body){G("SSETransport: No response body"),this.handleConnectionError();return}let $=Date.now()-J;G("SSETransport: Connected"),Y("info","cli_sse_connect_connected",{duration_ms:$}),this.state="connected",this.reconnectAttempts=0,this.reconnectStartTime=null,this.resetLivenessTimer(),await this.readStream(Z.body)}catch(Z){if(this.abortController?.signal.aborted)return;G(`SSETransport: Connection error: ${q(Z)}`,{level:"error"}),Y("error","cli_sse_connect_error"),this.handleConnectionError()}}async readStream(J){let K=J.getReader(),Q=new TextDecoder,W="";try{while(!0){let{done:Z,value:$}=await K.read();if(Z)break;W+=Q.decode($,GJ);let{frames:z,remaining:L}=VJ(W);W=L;for(let V of z){if(this.resetLivenessTimer(),V.id){let X=parseInt(V.id,10);if(!isNaN(X)){if(this.seenSequenceNums.has(X))G(`SSETransport: DUPLICATE frame seq=${X} (lastSequenceNum=${this.lastSequenceNum}, seenCount=${this.seenSequenceNums.size})`,{level:"warn"}),Y("warn","cli_sse_duplicate_sequence");else if(this.seenSequenceNums.add(X),this.seenSequenceNums.size>1000){let w=this.lastSequenceNum-200;for(let _ of this.seenSequenceNums)if(_<w)this.seenSequenceNums.delete(_)}if(X>this.lastSequenceNum)this.lastSequenceNum=X}}if(V.event&&V.data)this.handleSSEFrame(V.event,V.data);else if(V.data)G("SSETransport: Frame has data: but no event: field — dropped",{level:"warn"}),Y("warn","cli_sse_frame_missing_event_field")}}}catch(Z){if(this.abortController?.signal.aborted)return;G(`SSETransport: Stream read error: ${q(Z)}`,{level:"error"}),Y("error","cli_sse_stream_read_error")}finally{K.releaseLock()}if(this.state!=="closing"&&this.state!=="closed")G("SSETransport: Stream ended, reconnecting"),this.handleConnectionError()}handleSSEFrame(J,K){if(J!=="client_event"){G(`SSETransport: Unexpected SSE event type '${J}' on worker stream`,{level:"warn"}),Y("warn","cli_sse_unexpected_event_type",{event_type:J});return}let Q;try{Q=m(K)}catch(Z){G(`SSETransport: Failed to parse client_event data: ${q(Z)}`,{level:"error"});return}let W=Q.payload;if(W&&typeof W==="object"&&"type"in W){let Z=this.sessionId?` session=${this.sessionId}`:"";G(`SSETransport: Event seq=${Q.sequence_num} event_id=${Q.event_id} event_type=${Q.event_type} payload_type=${String(W.type)}${Z}`),Y("info","cli_sse_message_received"),this.onData?.(H(W)+`
6
+ `)}else G(`SSETransport: Ignoring client_event with no type in payload: event_id=${Q.event_id}`);this.onEventCallback?.(Q)}handleConnectionError(){if(this.clearLivenessTimer(),this.state==="closing"||this.state==="closed")return;this.abortController?.abort(),this.abortController=null;let J=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=J;let K=J-this.reconnectStartTime;if(K<KJ){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(this.refreshHeaders){let Z=this.refreshHeaders();Object.assign(this.headers,Z),G("SSETransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let Q=Math.min(e*Math.pow(2,this.reconnectAttempts-1),JJ),W=Math.max(0,Q+Q*0.25*(2*Math.random()-1));G(`SSETransport: Reconnecting in ${Math.round(W)}ms (attempt ${this.reconnectAttempts}, ${Math.round(K/1000)}s elapsed)`),Y("error","cli_sse_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},W)}else G(`SSETransport: Reconnection time budget exhausted after ${Math.round(K/1000)}s`,{level:"error"}),Y("error","cli_sse_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:K}),this.state="closed",this.onCloseCallback?.()}onLivenessTimeout=()=>{this.livenessTimer=null,G("SSETransport: Liveness timeout, reconnecting",{level:"error"}),Y("error","cli_sse_liveness_timeout"),this.abortController?.abort(),this.handleConnectionError()};resetLivenessTimer(){this.clearLivenessTimer(),this.livenessTimer=setTimeout(this.onLivenessTimeout,QJ)}clearLivenessTimer(){if(this.livenessTimer)clearTimeout(this.livenessTimer),this.livenessTimer=null}async write(J){let K=this.getAuthHeaders();if(Object.keys(K).length===0){G("SSETransport: No session token available for POST"),Y("warn","cli_sse_post_no_token");return}let Q={...K,"Content-Type":"application/json","anthropic-version":"2023-06-01","User-Agent":O()};G(`SSETransport: POST body keys=${Object.keys(J).join(",")}`);for(let W=1;W<=x;W++){try{let $=await p.post(this.postUrl,J,{headers:Q,validateStatus:zJ});if($.status===200||$.status===201){G(`SSETransport: POST success type=${J.type}`);return}if(G(`SSETransport: POST ${$.status} body=${H($.data).slice(0,200)}`),$.status>=400&&$.status<500&&$.status!==429){G(`SSETransport: POST returned ${$.status} (client error), not retrying`),Y("warn","cli_sse_post_client_error",{status:$.status});return}G(`SSETransport: POST returned ${$.status}, attempt ${W}/${x}`),Y("warn","cli_sse_post_retryable_error",{status:$.status,attempt:W})}catch($){G(`SSETransport: POST error: ${$.message}, attempt ${W}/${x}`),Y("warn","cli_sse_post_network_error",{attempt:W})}if(W===x){G(`SSETransport: POST failed after ${x} attempts, continuing`),Y("warn","cli_sse_post_retries_exhausted");return}let Z=Math.min(ZJ*Math.pow(2,W-1),$J);await B(Z)}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnClose(J){this.onCloseCallback=J}setOnEvent(J){this.onEventCallback=J}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.clearLivenessTimer(),this.state="closing",this.abortController?.abort(),this.abortController=null}}function LJ(J){let K=J.pathname;if(K.endsWith("/stream"))K=K.slice(0,-7);return`${J.protocol}//${J.host}${K}`}
7
+ export{R as ea,k as fa,a as ga,YJ as ha};
@@ -0,0 +1,2 @@
1
+ import{U$ as T,W$ as M}from"./cli-1.1.35-dnacc640.mjs";import{Fka as O,Ika as x,jka as L,nka as y}from"./cli-1.1.35-a7ygtwdr.mjs";import{dla as C,kla as k}from"./cli-1.1.35-w9wzew2x.mjs";x();M();k();y();function N(W){if(W<60000)return`${Math.round(W/1000)}s`;let Z=Math.floor(W/60000),z=Math.round(W%60000/1000);return z>0?`${Z}m ${z}s`:`${Z}m`}function c(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return L(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function p(W){let Z=c(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var E=300000,j=1800000,H=3,F=60000;function u({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=E}){let J=new Map,Y=new Map,w=new Map;function U(q){let Q=(w.get(q)??0)+1;return w.set(q,Q),Q}function B(q,Q){let $=p(Q);if(!$){O(`[${z}:token] Could not decode JWT expiry for sessionId=${q}, token prefix=${Q.slice(0,15)}…, keeping existing timer`);return}let V=J.get(q);if(V)clearTimeout(V);let v=U(q),X=new Date($*1000).toISOString(),G=$*1000-Date.now()-P;if(G<=0){O(`[${z}:token] Token for sessionId=${q} expires=${X} (past or within buffer), refreshing immediately`),K(q,v);return}O(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(G)} (expires=${X}, buffer=${P/1000}s)`);let _=setTimeout(K,G,q,v);J.set(q,_)}function A(q,Q){let $=J.get(q);if($)clearTimeout($);let V=U(q),v=Math.max(Q*1000-P,30000);O(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(v)} (expires_in=${Q}s, buffer=${P/1000}s)`);let X=setTimeout(K,v,q,V);J.set(q,X)}async function K(q,Q){let $;try{$=await W()}catch(v){O(`[${z}:token] getAccessToken threw for sessionId=${q}: ${C(v)}`,{level:"error"})}if(w.get(q)!==Q){O(`[${z}:token] doRefresh for sessionId=${q} stale (gen ${Q} vs ${w.get(q)}), skipping`);return}if(!$){let v=(Y.get(q)??0)+1;if(Y.set(q,v),O(`[${z}:token] No OAuth token available for refresh, sessionId=${q} (failure ${v}/${H})`,{level:"error"}),T("error","bridge_token_refresh_no_oauth"),v<H){let X=setTimeout(K,F,q,Q);J.set(q,X)}return}Y.delete(q),O(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),Z(q,$);let V=setTimeout(K,j,q,Q);J.set(q,V),O(`[${z}:token] Scheduled follow-up refresh for sessionId=${q} in ${N(j)}`)}function D(q){U(q);let Q=J.get(q);if(Q)clearTimeout(Q),J.delete(q);Y.delete(q)}function S(){for(let q of w.keys())U(q);for(let q of J.values())clearTimeout(q);J.clear(),Y.clear()}return{schedule:B,scheduleFromExpiresIn:A,cancel:D,cancelAll:S}}
2
+ export{p as na,u as oa};
@@ -0,0 +1,2 @@
1
+ import{Ay as Pq,Dx as T,Ex as Cq,Ey as uq}from"./cli-1.1.35-hy9jtbmb.mjs";import{BX as kq,xX as Uq,yX as Iq}from"./cli-1.1.35-qygaywxg.mjs";import{EX as aq,QY as L,SY as O,xZ as hq}from"./cli-1.1.35-dw3fv0g8.mjs";import{$2 as J,a3 as Q,b3 as vq}from"./cli-1.1.35-b0n88pf7.mjs";import{M4 as Sq,s4 as bq,t4 as Mq}from"./cli-1.1.35-s85hd24a.mjs";import{G$ as Nq,I$ as Bq,N$ as Rq,dga as fq,haa as nq,paa as Xq,qaa as jq}from"./cli-1.1.35-dnacc640.mjs";import{Tra as yq,Xra as Gq}from"./cli-1.1.35-c05841mj.mjs";function dq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function eq(Y,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return Y.length>0&&!/^\s/.test(Y)&&!Y.startsWith("\x1B")}var Wq=Gq(()=>{kq();fq();Bq()});function V(Y){return Y.replace(/\+/g," + ")}function LH(Y){let q=Eq.c(99),{dimColor:H,fixedWidth:Dq,gap:x,paddingX:l}=Y,m=T("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=V(m),q[0]=m,q[1]=p;else p=q[1];let d=p,e=T("app:toggleTodos","Global","ctrl+t"),B;if(q[2]!==e)B=V(e),q[2]=e,q[3]=B;else B=q[3];let s=B,i=T("chat:undo","Chat","ctrl+_"),f;if(q[4]!==i)f=V(i),q[4]=i,q[5]=f;else f=q[5];let r=f,$=T("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=V($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=T("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=V(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Hq=T("chat:modelPicker","Chat","alt+p"),n;if(q[10]!==Hq)n=V(Hq),q[10]=Hq,q[11]=n;else n=q[11];let Jq=n,Lq=T("chat:fastMode","Chat","alt+o"),j;if(q[12]!==Lq)j=V(Lq),q[12]=Lq,q[13]=j;else j=q[13];let Oq=j,Qq=T("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Qq)S=V(Qq),q[14]=Qq,q[15]=S;else S=q[15];let Tq=S,Vq=T("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Vq)a=V(Vq),q[16]=Vq,q[17]=a;else a=q[17];let Fq=a,Yq=T("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Yq)h=V(Yq),q[18]=Yq,q[19]=h;else h=q[19];let Zq=h,gq=V(T("chat:increaseEffort","Chat","shift+right")),_q=V(T("chat:openDiff","Chat","ctrl+g")),pq=V(T("chat:openExplorer","Chat","ctrl+e")),C;if(q[20]!==H||q[21]!==Fq)C=null,q[20]=H,q[21]=Fq,q[22]=C;else C=q[22];let wq=C,zq=Dq?28:void 0,Z;if(q[23]!==H)Z=J(L,{children:J(O,{dimColor:H,children:"! for bash mode"})}),q[23]=H,q[24]=Z;else Z=q[24];let w;if(q[25]!==H)w=J(L,{children:J(O,{dimColor:H,children:"/ for commands"})}),q[25]=H,q[26]=w;else w=q[26];let z;if(q[27]!==H)z=J(L,{children:J(O,{dimColor:H,children:"@ for file paths"})}),q[27]=H,q[28]=z;else z=q[28];let A;if(q[29]!==H)A=J(L,{children:J(O,{dimColor:H,children:"& for background"})}),q[29]=H,q[30]=A;else A=q[30];let D;if(q[31]!==H)D=J(L,{children:J(O,{dimColor:H,children:"/btw for side question"})}),q[31]=H,q[32]=D;else D=q[32];let F;if(q[33]!==zq||q[34]!==Z||q[35]!==w||q[36]!==z||q[37]!==A||q[38]!==D)F=Q(L,{flexDirection:"column",width:zq,children:[Z,w,z,A,D,J(L,{children:Q(O,{dimColor:H,children:[pq," for file explorer"]})}),J(L,{children:Q(O,{dimColor:H,children:[_q," for diff reviewer"]})})]}),q[33]=zq,q[34]=Z,q[35]=w,q[36]=z,q[37]=A,q[38]=D,q[39]=F;else F=q[39];let Aq=Dq?35:void 0,G;if(q[40]!==H)G=J(L,{children:J(O,{dimColor:H,children:"double tap esc to clear input"})}),q[40]=H,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==H)N=J(L,{children:Q(O,{dimColor:H,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=H,q[44]=N;else N=q[44];let R;if(q[45]!==H||q[46]!==d)R=J(L,{children:Q(O,{dimColor:H,children:[d," for verbose output"]})}),q[45]=H,q[46]=d,q[47]=R;else R=q[47];let U;if(q[48]!==H||q[49]!==s)U=J(L,{children:Q(O,{dimColor:H,children:[s," to toggle tasks"]})}),q[48]=H,q[49]=s,q[50]=U;else U=q[50];let u;if(q[51]===Symbol.for("react.memo_cache_sentinel"))u=Kq(),q[51]=u;else u=q[51];let I;if(q[52]!==H)I=J(L,{children:J(O,{dimColor:H,children:u})}),q[52]=H,q[53]=I;else I=q[53];let K;if(q[54]!==Aq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==wq)K=Q(L,{flexDirection:"column",width:Aq,children:[G,N,R,U,wq,I]}),q[54]=Aq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=wq,q[61]=K;else K=q[61];let W;if(q[62]!==H||q[63]!==r)W=J(L,{children:Q(O,{dimColor:H,children:[r," to undo"]})}),q[62]=H,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==H)v=Xq()!=="windows"&&J(L,{children:J(O,{dimColor:H,children:"ctrl + z to suspend"})}),q[65]=H,q[66]=v;else v=q[66];let X;if(q[67]!==H||q[68]!==Zq)X=J(L,{children:Q(O,{dimColor:H,children:[Zq," to paste images"]})}),q[67]=H,q[68]=Zq,q[69]=X;else X=q[69];let b;if(q[70]!==H||q[71]!==Jq)b=J(L,{children:Q(O,{dimColor:H,children:[Jq," to switch model"]})}),q[70]=H,q[71]=Jq,q[72]=b;else b=q[72];let M;if(q[73]!==H||q[74]!==Oq)M=bq()&&Mq()&&J(L,{children:Q(O,{dimColor:H,children:[Oq," to toggle fast mode"]})}),q[73]=H,q[74]=Oq,q[75]=M;else M=q[75];let P;if(q[76]!==H||q[77]!==o)P=J(L,{children:Q(O,{dimColor:H,children:[o," to stash prompt"]})}),q[76]=H,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==H||q[80]!==Tq)E=J(L,{children:Q(O,{dimColor:H,children:[Tq," to edit in $EDITOR"]})}),q[79]=H,q[80]=Tq,q[81]=E;else E=q[81];let g;if(q[82]!==H)g=Pq()&&J(L,{children:J(O,{dimColor:H,children:"/keybindings to customize"})}),q[82]=H,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=Q(L,{flexDirection:"column",children:[W,v,X,b,J(L,{children:Q(O,{dimColor:H,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let c;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)c=Q(L,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=c;else c=q[98];return c}var Eq;var cq=Gq(()=>{hq();jq();uq();Cq();nq();Sq();Wq();vq();Eq=yq(aq(),1)});
2
+ export{dq as Mg,eq as Ng,Wq as Og,LH as Pg,cq as Qg};
@@ -0,0 +1,2 @@
1
+ import{tia as W,wia as M}from"./cli-1.1.35-zf7zq3kb.mjs";import{rka as k,vka as L}from"./cli-1.1.35-a7ygtwdr.mjs";import J from"node:path";import y from"node:os";import R from"node:process";var S=Object.freeze([""," ",".",".."," .",". "," ..",".. ","../","../foo","foo/../bar","foo/bar","foo\\bar","foo\x00bar"]);function x(u){if(typeof u!=="string")return!1;let O=u.trim();return O!==""&&O!=="."&&O!==".."&&!u.includes("/")&&!u.includes("\\")&&!u.includes("\x00")}function Q(u){if(typeof u!=="string")throw TypeError("Expected a string");if(!x(u))throw Error(`Unsafe filename: ${JSON.stringify(u)}`)}var U=y.homedir(),V=y.tmpdir(),{env:$}=R,w=(u)=>{let O=J.join(U,"Library");return{data:J.join(O,"Application Support",u),config:J.join(O,"Preferences",u),cache:J.join(O,"Caches",u),log:J.join(O,"Logs",u),temp:J.join(V,u)}},F=(u)=>{let O=$.APPDATA||J.join(U,"AppData","Roaming"),K=$.LOCALAPPDATA||J.join(U,"AppData","Local");return{data:J.join(K,u,"Data"),config:J.join(O,u,"Config"),cache:J.join(K,u,"Cache"),log:J.join(K,u,"Log"),temp:J.join(V,u)}},G=(u)=>{let O=J.basename(U);return{data:J.join($.XDG_DATA_HOME||J.join(U,".local","share"),u),config:J.join($.XDG_CONFIG_HOME||J.join(U,".config"),u),cache:J.join($.XDG_CACHE_HOME||J.join(U,".cache"),u),log:J.join($.XDG_STATE_HOME||J.join(U,".local","state"),u),temp:J.join(V,O,u)}};function Y(u,{suffix:O="nodejs"}={}){if(Q(u),O)u+=`-${O}`;if(Q(u),R.platform==="darwin")return w(u);if(R.platform==="win32")return F(u);return G(u)}L();M();import{join as q}from"path";var B=Y("claude-cli"),E=200;function b(u){let O=u.replace(/[^a-zA-Z0-9]/g,"-");if(O.length<=E)return O;return`${O.slice(0,E)}-${Math.abs(W(u)).toString(36)}`}function C(u){return b(u)}var A={baseLogs:()=>q(B.cache,C(k().cwd())),errors:()=>q(B.cache,C(k().cwd()),"errors"),messages:()=>q(B.cache,C(k().cwd()),"messages"),mcpLogs:(u)=>q(B.cache,C(k().cwd()),`mcp-logs-${b(u)}`)};
2
+ export{A as vb};
@@ -0,0 +1,2 @@
1
+ import{gra as M,hra as Y}from"./cli-1.1.35-tsx8c30n.mjs";import{Xra as W}from"./cli-1.1.35-c05841mj.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDIN_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDIN_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-5-5","VERTEX_REGION_CLAUDE_5_5_OPUS"],["claude-opus-5","VERTEX_REGION_CLAUDE_5_OPUS"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
2
+ export{$ as lla,N as mla,X as nla,_ as ola,j as pla,U as qla,I as rla,S as sla,T as tla,c as ula,L as vla,w as wla,z as xla,k as yla};
@@ -0,0 +1,2 @@
1
+ import{EX as O}from"./cli-1.1.35-dw3fv0g8.mjs";import{$2 as X,b3 as Q}from"./cli-1.1.35-b0n88pf7.mjs";import{c3 as b}from"./cli-1.1.35-bq7wadxz.mjs";import{Wba as W,dga as P}from"./cli-1.1.35-dnacc640.mjs";import{Tra as U}from"./cli-1.1.35-c05841mj.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
2
+ export{V as Gb,C as Hb};
@@ -0,0 +1,2 @@
1
+ import{Wx as X,Xx as h,iF as Y,uF as p}from"./cli-1.1.35-hy9jtbmb.mjs";import{EX as v,SY as B,xZ as D}from"./cli-1.1.35-dw3fv0g8.mjs";import{$2 as I,a3 as J,b3 as W}from"./cli-1.1.35-b0n88pf7.mjs";import{L$ as U,dga as b}from"./cli-1.1.35-dnacc640.mjs";import{Tra as G}from"./cli-1.1.35-c05841mj.mjs";D();b();p();h();W();var Z=G(v(),1);function C(S){let k=Z.c(17),{customApiKeyTruncated:q,onDone:L}=S,M;if(k[0]!==q||k[1]!==L)M=function(f){k:switch(f){case"yes":{U((z)=>({...z,customApiKeyResponses:{...z.customApiKeyResponses,approved:[...z.customApiKeyResponses?.approved??[],q]}})),L(!0);break k}case"no":U((z)=>({...z,customApiKeyResponses:{...z.customApiKeyResponses,rejected:[...z.customApiKeyResponses?.rejected??[],q]}})),L(!1)}},k[0]=q,k[1]=L,k[2]=M;else M=k[2];let w=M,E;if(k[3]!==w)E=()=>w("no"),k[3]=w,k[4]=E;else E=k[4];let N;if(k[5]===Symbol.for("react.memo_cache_sentinel"))N=I(B,{bold:!0,children:"ANTHROPIC_API_KEY"}),k[5]=N;else N=k[5];let F;if(k[6]!==q)F=J(B,{children:[N,J(B,{children:[": sk-ant-...",q]})]}),k[6]=q,k[7]=F;else F=k[7];let O;if(k[8]===Symbol.for("react.memo_cache_sentinel"))O=I(B,{children:"Do you want to use this API key?"}),k[8]=O;else O=k[8];let P;if(k[9]===Symbol.for("react.memo_cache_sentinel"))P={label:"Yes",value:"yes"},k[9]=P;else P=k[9];let Q;if(k[10]===Symbol.for("react.memo_cache_sentinel"))Q=[P,{label:J(B,{children:["No (",I(B,{bold:!0,children:"recommended"}),")"]}),value:"no"}],k[10]=Q;else Q=k[10];let H;if(k[11]!==w)H=I(Y,{defaultValue:"no",defaultFocusValue:"no",options:Q,onChange:(V)=>w(V),onCancel:()=>w("no")}),k[11]=w,k[12]=H;else H=k[12];let R;if(k[13]!==E||k[14]!==F||k[15]!==H)R=J(X,{title:"Detected a custom API key in your environment",color:"warning",onCancel:E,children:[F,O,H]}),k[13]=E,k[14]=F,k[15]=H,k[16]=R;else R=k[16];return R}
2
+ export{C as P};
@@ -0,0 +1,2 @@
1
+ import{Jqa as I,kma as z,oma as F}from"./cli-1.1.35-1ceb2tjb.mjs";import{Xra as E}from"./cli-1.1.35-c05841mj.mjs";import{AsyncLocalStorage as J}from"async_hooks";function U(G,H){return D.run(G,H)}function K(){return D.getStore()??F()}function V(){try{return K()}catch{return z()}}function W(){return D.getStore()??z()}var D;var M=E(()=>{I();D=new J});var Y="command-name",Z="command-message",$="command-args",j="bash-input",q="bash-stdout",B="bash-stderr",L="local-command-stdout",R="local-command-stderr",_="local-command-caveat",b="tick",x="task-notification",A="task-id",T="tool-use-id",k="task-type",p="output-file",u="status",v="summary",y="worktree",f="worktreePath",C="worktreeBranch",S="remote-review",O="remote-review-progress",m="teammate-message",g="agent-message",h="cross-session-message",l="cross-session-notice",w="fork-boilerplate",c="Your directive: ",d,i;var N=E(()=>{d=["help","-h","--help"],i=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
2
+ export{U as Oia,K as Pia,V as Qia,W as Ria,M as Sia,Y as Tia,Z as Uia,$ as Via,j as Wia,q as Xia,B as Yia,L as Zia,R as _ia,_ as $ia,b as aja,x as bja,A as cja,T as dja,k as eja,p as fja,u as gja,v as hja,y as ija,f as jja,C as kja,S as lja,O as mja,m as nja,g as oja,h as pja,l as qja,w as rja,c as sja,d as tja,i as uja,N as vja};
@@ -0,0 +1,4 @@
1
+ import{Sra as Z}from"./cli-1.1.35-t2vx6b45.mjs";import{Vra as Y,Yra as O}from"./cli-1.1.35-c05841mj.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
2
+ See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
+ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
4
+ export{ye as Lra};
@@ -0,0 +1,2 @@
1
+ import{Pr as J,Rr as Y}from"./cli-1.1.35-hy9jtbmb.mjs";import{rW as G,tW as X}from"./cli-1.1.35-389ej7r1.mjs";import{O3 as z,O6 as B,T3 as V,T6 as D,U6 as F,h7 as W}from"./cli-1.1.35-s85hd24a.mjs";import{$9 as y,r_ as Q}from"./cli-1.1.35-4g77zek0.mjs";import{Eja as w,Fja as N}from"./cli-1.1.35-7p1685r1.mjs";import{Xra as M}from"./cli-1.1.35-c05841mj.mjs";async function f(){if(!D()||!F())return{};let q=B();if(q&&z(q.expiresAt))return null;let m=J();if(m.error)throw Error(`Auth error: ${m.error}`);let K={"Content-Type":"application/json","User-Agent":G(),...m.headers},L=`${w().BASE_API_URL}/api/oauth/usage`;return(await y.get(L,{headers:K,timeout:5000})).data}var Z=M(()=>{Q();N();W();Y();X();V()});
2
+ export{f as vh,Z as wh};
@@ -0,0 +1,3 @@
1
+ import{RU as O,SU as S}from"./cli-1.1.35-7mxbj45y.mjs";import{Aba as R,Eha as y,G$ as B,I$ as v,Sba as _,Vba as z,Wba as A,dga as k,iba as D,jba as I,zba as M,zha as G}from"./cli-1.1.35-dnacc640.mjs";import{Qia as q,Sia as x}from"./cli-1.1.35-h06ng57d.mjs";import{gra as K,hra as W}from"./cli-1.1.35-tsx8c30n.mjs";W();x();k();v();I();_();y();S();var b=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function F(L){return!b.some((Q)=>Q.test(L))}function P(L,Q){let J=[],X=new Set,U=new Map;for(let H=1;J.length<Q&&H<=Q;H++)for(let V of L){if(J.length>=Q)break;if(!F(V))continue;let Y=Math.max(V.lastIndexOf("/"),V.lastIndexOf("\\")),Z=Y>=0?V.slice(Y+1):V;if(!Z||X.has(Z))continue;let $=Y>=0?V.slice(0,Y):".";if((U.get($)??0)>=H)continue;J.push(Z),X.add(Z),U.set($,(U.get($)??0)+1)}return J.length>=Q?J:[]}async function N(){if(B.platform==="win32")return[];if(!await R())return[];try{let L=await O(),Q=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],J=new Map,X=(H)=>{for(let V of H.split(`
2
+ `)){let Y=V.trim();if(Y)J.set(Y,(J.get(Y)??0)+1)}};if(L){let{stdout:H}=await D("git",[...Q,`--author=${L}`],{cwd:q()});X(H)}if(J.size<10){let{stdout:H}=await D(M(),Q,{cwd:q()});X(H)}let U=Array.from(J.entries()).sort((H,V)=>V[1]-H[1]).map(([H])=>H);return P(U,5)}catch(L){return G(L),[]}}var T=604800000;function E(L){let Q=z(),J=Q.exampleFiles?.length?Q.exampleFiles:["<filepath>"],U=[...["fix lint errors","fix typecheck errors",`how does ${J[0]} work?`,`refactor ${J[Math.floor(J.length/2)]}`,"how do I log an error?",`edit ${J[J.length-1]} to...`,`write a test for ${J[0]}`,"create a util logging.py that..."]];for(let H=U.length-1;H>0;H--){let V=Math.floor(Math.random()*(H+1));[U[H],U[V]]=[U[V],U[H]]}return U.slice(0,L).map((H)=>`Try "${H}"`)}var d=K((L)=>{return E(L)}),p=K(async()=>{let L=z(),Q=Date.now(),J=L.exampleFilesGeneratedAt??0;if(Q-J>T)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((X)=>{if(X.length)A((U)=>({...U,exampleFiles:X,exampleFilesGeneratedAt:Date.now()}))})});
3
+ export{P as Ua,d as Va,p as Wa};
@@ -0,0 +1,2 @@
1
+ import{Xy as Q,Yy as $}from"./cli-1.1.35-hy9jtbmb.mjs";import{Ema as V,Fma as P,Gna as W,Hna as E}from"./cli-1.1.35-1ceb2tjb.mjs";import{Xra as L}from"./cli-1.1.35-c05841mj.mjs";function Z(x,q,D,G){var H=-1,J=x==null?0:x.length;while(++H<J){var K=x[H];q(G,K,D(K),x)}return G}var M;var N=L(()=>{M=Z});function B(x,q,D,G){return Q(x,function(H,J,K){q(G,H,D(H),K)}),G}var S;var U=L(()=>{$();S=B});function I(x,q){return function(D,G){var H=V(D)?M:S,J=q?q():{};return H(D,x,W(G,2),J)}}var X;var Y=L(()=>{N();U();E();P();X=I});var R,v;var C=L(()=>{Y();R=X(function(x,q,D){x[D?0:1].push(q)},function(){return[[],[]]}),v=R});
2
+ export{v as Tc,C as Uc};
@@ -0,0 +1,2 @@
1
+ import{g7 as v,h7 as C}from"./cli-1.1.35-s85hd24a.mjs";import{$9 as R,r_ as O}from"./cli-1.1.35-4g77zek0.mjs";import{$$ as X,Efa as Z,Ega as x,Fga as Y,Gfa as V,X$ as W,haa as U}from"./cli-1.1.35-dnacc640.mjs";import{Eja as Q,Fja as M}from"./cli-1.1.35-7p1685r1.mjs";import{Fka as f,Ika as L,ika as P,nka as I}from"./cli-1.1.35-a7ygtwdr.mjs";import{dla as w,kla as H}from"./cli-1.1.35-w9wzew2x.mjs";import{gra as N,hra as F}from"./cli-1.1.35-tsx8c30n.mjs";import{Ura as h,Xra as B}from"./cli-1.1.35-c05841mj.mjs";import{hostname as E}from"os";function $(){return W(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await X(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await R.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{O();F();M();U();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
2
+ export{u as DW,n as EW,o as FW,t as GW,d as HW};
@@ -0,0 +1,2 @@
1
+ import{O6 as q,h7 as D}from"./cli-1.1.35-s85hd24a.mjs";import{Eja as m,Fja as z}from"./cli-1.1.35-7p1685r1.mjs";import{Xra as x}from"./cli-1.1.35-c05841mj.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 xi,F as yi,K as zi,M as Ai,G as Bi};