@claudiolabs/claudin 1.1.28 → 1.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (918) hide show
  1. package/dist/chunks/AgentTool-1.1.30-3wq8zzaa.mjs +1 -0
  2. package/dist/chunks/App-1.1.30-ywb53g2c.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.30-wtpe9n8e.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.30-776xks64.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.30-bjm91hx0.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.30-rcy7msd9.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.30-bexsqxcb.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.30-jfhq3h4z.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.30-kqds97f2.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.30-48qzfckm.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.30-tfv4wc5m.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.30-z31ecx5v.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.30-f17w1kzx.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.30-fzajgngq.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.30-15c4h452.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.30-xajg2p3r.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.30-8jrhxd1r.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.30-74pzzw1d.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.30-8bmshptz.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.30-v5fnwt30.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.30-v55nsv7g.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.30-2hg56v1b.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.30-r2hwd3a6.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.30-y6hny4s2.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.30-cq18pvam.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.30-qp3cr0fk.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.30-ydaqb760.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.30-gta8twv0.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.30-rxcmv28v.mjs +1 -0
  30. package/dist/chunks/agents-1.1.30-d5hxfnnt.mjs +3 -0
  31. package/dist/chunks/agents-1.1.30-q3f25044.mjs +110 -0
  32. package/dist/chunks/api-1.1.30-30hng0e4.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.30-mhcedd5b.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.30-1zxsr09t.mjs +1 -0
  35. package/dist/chunks/auth-1.1.30-mmymct98.mjs +1 -0
  36. package/dist/chunks/auth-1.1.30-ntfwzwxz.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.30-9jd1avyj.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.30-8cnp296z.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.30-f0wbf5ha.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.30-b7t4y9th.mjs +1 -0
  41. package/dist/chunks/branch-1.1.30-x77nhthz.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.30-scfmh172.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.30-8hd92b6p.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.30-n5c6p8kd.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.30-9cpc29zx.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.30-gsa0eerc.mjs +1 -0
  47. package/dist/chunks/btw-1.1.30-gyh84rd1.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.30-vzfs4xt1.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.30-qjppzj5p.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.30-w1c0ekr4.mjs +4 -0
  51. package/dist/chunks/caches-1.1.30-6rye5cdg.mjs +1 -0
  52. package/dist/chunks/cd-1.1.30-tn402589.mjs +3 -0
  53. package/dist/chunks/claudeDesktop-1.1.30-sm5ncwqz.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.30-36eyf63s.mjs +1 -0
  55. package/dist/chunks/clear-1.1.30-p5p9kp96.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.30-nrdembs6.mjs +1 -0
  57. package/dist/chunks/cli-1.1.30-053d5ph7.mjs +2 -0
  58. package/dist/chunks/cli-1.1.30-092dkm0p.mjs +2 -0
  59. package/dist/chunks/cli-1.1.30-0e0e9msg.mjs +17 -0
  60. package/dist/chunks/cli-1.1.30-0fz758j0.mjs +2 -0
  61. package/dist/chunks/cli-1.1.30-0qcyzbs1.mjs +2 -0
  62. package/dist/chunks/cli-1.1.30-0yafp3ky.mjs +2 -0
  63. package/dist/chunks/cli-1.1.30-1j4dyr5r.mjs +2 -0
  64. package/dist/chunks/cli-1.1.30-1k2bwved.mjs +3 -0
  65. package/dist/chunks/cli-1.1.30-1qczaqkt.mjs +2 -0
  66. package/dist/chunks/cli-1.1.30-1wfffyq2.mjs +2 -0
  67. package/dist/chunks/cli-1.1.30-1xmhk219.mjs +2 -0
  68. package/dist/chunks/cli-1.1.30-1ybfyckn.mjs +2 -0
  69. package/dist/chunks/cli-1.1.30-1zsgv3yp.mjs +2 -0
  70. package/dist/chunks/cli-1.1.30-2af3eeg6.mjs +2 -0
  71. package/dist/chunks/cli-1.1.30-2hw4vdpg.mjs +2 -0
  72. package/dist/chunks/cli-1.1.30-2pqs37e0.mjs +3 -0
  73. package/dist/chunks/cli-1.1.30-2y4yj9sd.mjs +2 -0
  74. package/dist/chunks/cli-1.1.30-2yd2af56.mjs +50 -0
  75. package/dist/chunks/cli-1.1.30-2zq3aea6.mjs +2 -0
  76. package/dist/chunks/cli-1.1.30-322advqh.mjs +4 -0
  77. package/dist/chunks/cli-1.1.30-3b1nw95m.mjs +2 -0
  78. package/dist/chunks/cli-1.1.30-3c6j35rs.mjs +2 -0
  79. package/dist/chunks/cli-1.1.30-3x86c2pa.mjs +24 -0
  80. package/dist/chunks/cli-1.1.30-489cr054.mjs +2 -0
  81. package/dist/chunks/cli-1.1.30-4d90v0pd.mjs +6 -0
  82. package/dist/chunks/cli-1.1.30-4kytbyxq.mjs +15 -0
  83. package/dist/chunks/cli-1.1.30-4t03vay7.mjs +2 -0
  84. package/dist/chunks/cli-1.1.30-4wqfr0ya.mjs +2 -0
  85. package/dist/chunks/cli-1.1.30-4zrfbe17.mjs +2 -0
  86. package/dist/chunks/cli-1.1.30-51kze0eh.mjs +2 -0
  87. package/dist/chunks/cli-1.1.30-569esepc.mjs +60 -0
  88. package/dist/chunks/cli-1.1.30-57b410qh.mjs +25 -0
  89. package/dist/chunks/cli-1.1.30-5cc6nada.mjs +2 -0
  90. package/dist/chunks/cli-1.1.30-5f76gnk2.mjs +2 -0
  91. package/dist/chunks/cli-1.1.30-5j2mdj81.mjs +2 -0
  92. package/dist/chunks/cli-1.1.30-5pn20fxz.mjs +2 -0
  93. package/dist/chunks/cli-1.1.30-5r9pakw5.mjs +2 -0
  94. package/dist/chunks/cli-1.1.30-63ndyxgm.mjs +2 -0
  95. package/dist/chunks/cli-1.1.30-6eaj3n76.mjs +9 -0
  96. package/dist/chunks/cli-1.1.30-6phpx599.mjs +2 -0
  97. package/dist/chunks/cli-1.1.30-6pp4z5px.mjs +2 -0
  98. package/dist/chunks/cli-1.1.30-7a064pfm.mjs +2 -0
  99. package/dist/chunks/cli-1.1.30-7bdj31x8.mjs +2 -0
  100. package/dist/chunks/cli-1.1.30-7dtpd1ra.mjs +2 -0
  101. package/dist/chunks/cli-1.1.30-7h45a0x6.mjs +6 -0
  102. package/dist/chunks/cli-1.1.30-7ma427qh.mjs +8 -0
  103. package/dist/chunks/cli-1.1.30-7q8f7mp7.mjs +2 -0
  104. package/dist/chunks/cli-1.1.30-84cemtwn.mjs +4 -0
  105. package/dist/chunks/cli-1.1.30-87zsgch6.mjs +21 -0
  106. package/dist/chunks/cli-1.1.30-8a5gwcde.mjs +2 -0
  107. package/dist/chunks/cli-1.1.30-8e36e2c1.mjs +2 -0
  108. package/dist/chunks/cli-1.1.30-8hcc4gax.mjs +15 -0
  109. package/dist/chunks/cli-1.1.30-8t3c3a4k.mjs +20 -0
  110. package/dist/chunks/cli-1.1.30-8vr9ea9g.mjs +2 -0
  111. package/dist/chunks/cli-1.1.30-8zyep40e.mjs +2 -0
  112. package/dist/chunks/cli-1.1.30-902jyjpx.mjs +2 -0
  113. package/dist/chunks/cli-1.1.30-917y0q4m.mjs +2 -0
  114. package/dist/chunks/cli-1.1.30-92t0b3hs.mjs +2 -0
  115. package/dist/chunks/cli-1.1.30-94vhzqcd.mjs +2 -0
  116. package/dist/chunks/cli-1.1.30-9685r12p.mjs +2 -0
  117. package/dist/chunks/cli-1.1.30-9h8mm4pg.mjs +2 -0
  118. package/dist/chunks/cli-1.1.30-9m8jc7as.mjs +4 -0
  119. package/dist/chunks/cli-1.1.30-9rn8qz9x.mjs +2 -0
  120. package/dist/chunks/cli-1.1.30-9s9qp1m7.mjs +2 -0
  121. package/dist/chunks/cli-1.1.30-a1phf5vm.mjs +2 -0
  122. package/dist/chunks/cli-1.1.30-a2ww16zh.mjs +2 -0
  123. package/dist/chunks/cli-1.1.30-a2xctbvc.mjs +18 -0
  124. package/dist/chunks/cli-1.1.30-amecp2v0.mjs +3 -0
  125. package/dist/chunks/cli-1.1.30-aqvjv0jh.mjs +4 -0
  126. package/dist/chunks/cli-1.1.30-aw93z4yt.mjs +2 -0
  127. package/dist/chunks/cli-1.1.30-b1mqmct7.mjs +4 -0
  128. package/dist/chunks/cli-1.1.30-bfqnz691.mjs +2 -0
  129. package/dist/chunks/cli-1.1.30-bgrp9j3q.mjs +2 -0
  130. package/dist/chunks/cli-1.1.30-bwdw42tf.mjs +24 -0
  131. package/dist/chunks/cli-1.1.30-bzjamz5p.mjs +2 -0
  132. package/dist/chunks/cli-1.1.30-c0b5kmhr.mjs +2 -0
  133. package/dist/chunks/cli-1.1.30-c2e2yeaj.mjs +2 -0
  134. package/dist/chunks/cli-1.1.30-c44kpd39.mjs +2 -0
  135. package/dist/chunks/cli-1.1.30-c70p43p6.mjs +133 -0
  136. package/dist/chunks/cli-1.1.30-c9xtenrd.mjs +2 -0
  137. package/dist/chunks/cli-1.1.30-ca1a9ntm.mjs +2 -0
  138. package/dist/chunks/cli-1.1.30-cb34mrvh.mjs +2 -0
  139. package/dist/chunks/cli-1.1.30-cgcdnarw.mjs +2 -0
  140. package/dist/chunks/cli-1.1.30-cjetc80p.mjs +2 -0
  141. package/dist/chunks/cli-1.1.30-cwc68erm.mjs +2 -0
  142. package/dist/chunks/cli-1.1.30-d3n6dp6r.mjs +2 -0
  143. package/dist/chunks/cli-1.1.30-d8chymja.mjs +2 -0
  144. package/dist/chunks/cli-1.1.30-d9sphwgb.mjs +3 -0
  145. package/dist/chunks/cli-1.1.30-dbbhdfn1.mjs +2 -0
  146. package/dist/chunks/cli-1.1.30-dv38qw87.mjs +3 -0
  147. package/dist/chunks/cli-1.1.30-e0fcx44n.mjs +2 -0
  148. package/dist/chunks/cli-1.1.30-e15hq24m.mjs +2 -0
  149. package/dist/chunks/cli-1.1.30-eg5krttf.mjs +2 -0
  150. package/dist/chunks/cli-1.1.30-ehk76t59.mjs +2 -0
  151. package/dist/chunks/cli-1.1.30-em031y3s.mjs +2 -0
  152. package/dist/chunks/cli-1.1.30-endh0hmx.mjs +2 -0
  153. package/dist/chunks/cli-1.1.30-ensp6hjk.mjs +2 -0
  154. package/dist/chunks/cli-1.1.30-erqva8zn.mjs +2 -0
  155. package/dist/chunks/cli-1.1.30-etnn22zf.mjs +2 -0
  156. package/dist/chunks/cli-1.1.30-f6tarbyn.mjs +2 -0
  157. package/dist/chunks/cli-1.1.30-f8qnd0hw.mjs +20 -0
  158. package/dist/chunks/cli-1.1.30-f9cckkn6.mjs +7 -0
  159. package/dist/chunks/cli-1.1.30-f9tp1b8r.mjs +6 -0
  160. package/dist/chunks/cli-1.1.30-facztg9n.mjs +133 -0
  161. package/dist/chunks/cli-1.1.30-fct5wt67.mjs +2 -0
  162. package/dist/chunks/cli-1.1.30-fm4mj7wy.mjs +2 -0
  163. package/dist/chunks/cli-1.1.30-fpa799y4.mjs +3 -0
  164. package/dist/chunks/cli-1.1.30-fzan6qjf.mjs +2 -0
  165. package/dist/chunks/cli-1.1.30-g17zgmea.mjs +3 -0
  166. package/dist/chunks/cli-1.1.30-g3qd3ec3.mjs +2 -0
  167. package/dist/chunks/cli-1.1.30-g4c9mx6r.mjs +2 -0
  168. package/dist/chunks/cli-1.1.30-g9qsgq1r.mjs +2 -0
  169. package/dist/chunks/cli-1.1.30-gdmbygdz.mjs +2 -0
  170. package/dist/chunks/cli-1.1.30-gev0f31f.mjs +24 -0
  171. package/dist/chunks/cli-1.1.30-gk8x7f6m.mjs +2 -0
  172. package/dist/chunks/cli-1.1.30-gncy6j5b.mjs +2 -0
  173. package/dist/chunks/cli-1.1.30-gv4z21b9.mjs +4 -0
  174. package/dist/chunks/cli-1.1.30-gvp1pabq.mjs +2 -0
  175. package/dist/chunks/cli-1.1.30-h5yj1axw.mjs +6 -0
  176. package/dist/chunks/cli-1.1.30-h9pfkdf2.mjs +2 -0
  177. package/dist/chunks/cli-1.1.30-ha9qd4n4.mjs +2 -0
  178. package/dist/chunks/cli-1.1.30-he73pyqy.mjs +2 -0
  179. package/dist/chunks/cli-1.1.30-hncb22wm.mjs +2 -0
  180. package/dist/chunks/cli-1.1.30-hxy861gq.mjs +2 -0
  181. package/dist/chunks/cli-1.1.30-j29r8pgr.mjs +4 -0
  182. package/dist/chunks/cli-1.1.30-j2wahkcp.mjs +6 -0
  183. package/dist/chunks/cli-1.1.30-j46p2me4.mjs +3 -0
  184. package/dist/chunks/cli-1.1.30-jb34rbbt.mjs +7 -0
  185. package/dist/chunks/cli-1.1.30-jevxd0jk.mjs +2 -0
  186. package/dist/chunks/cli-1.1.30-jgxnrbme.mjs +2 -0
  187. package/dist/chunks/cli-1.1.30-jvqc1jfc.mjs +2 -0
  188. package/dist/chunks/cli-1.1.30-jyvb3jrk.mjs +3 -0
  189. package/dist/chunks/cli-1.1.30-kx2svwf6.mjs +2 -0
  190. package/dist/chunks/cli-1.1.30-kzbhw1mf.mjs +2 -0
  191. package/dist/chunks/cli-1.1.30-m5fx6y02.mjs +2 -0
  192. package/dist/chunks/cli-1.1.30-m5ta5zwh.mjs +2 -0
  193. package/dist/chunks/cli-1.1.30-m62yy9h8.mjs +2 -0
  194. package/dist/chunks/cli-1.1.30-mebteknr.mjs +206 -0
  195. package/dist/chunks/cli-1.1.30-mef66hvr.mjs +10 -0
  196. package/dist/chunks/cli-1.1.30-mgj06132.mjs +2 -0
  197. package/dist/chunks/cli-1.1.30-mpmg84pk.mjs +3 -0
  198. package/dist/chunks/cli-1.1.30-mz5a585j.mjs +9 -0
  199. package/dist/chunks/cli-1.1.30-n306djbd.mjs +2 -0
  200. package/dist/chunks/cli-1.1.30-naaxghkh.mjs +2 -0
  201. package/dist/chunks/cli-1.1.30-nhfsct38.mjs +2 -0
  202. package/dist/chunks/cli-1.1.30-p3m6d618.mjs +2 -0
  203. package/dist/chunks/cli-1.1.30-p63h2njx.mjs +42 -0
  204. package/dist/chunks/cli-1.1.30-p6bsj13y.mjs +2 -0
  205. package/dist/chunks/cli-1.1.30-pc2wp50b.mjs +5504 -0
  206. package/dist/chunks/cli-1.1.30-pc6nevmd.mjs +2 -0
  207. package/dist/chunks/cli-1.1.30-pez1sh7w.mjs +2 -0
  208. package/dist/chunks/cli-1.1.30-pg6jbgcq.mjs +12 -0
  209. package/dist/chunks/cli-1.1.30-pgx35gqd.mjs +2 -0
  210. package/dist/chunks/cli-1.1.30-pw08jvvr.mjs +3 -0
  211. package/dist/chunks/cli-1.1.30-pzp496y6.mjs +2 -0
  212. package/dist/chunks/cli-1.1.30-q00wdmf9.mjs +2 -0
  213. package/dist/chunks/cli-1.1.30-q51sf5gk.mjs +2 -0
  214. package/dist/chunks/cli-1.1.30-q8sd13v9.mjs +2 -0
  215. package/dist/chunks/cli-1.1.30-q8xgmv1x.mjs +39 -0
  216. package/dist/chunks/cli-1.1.30-qcwzchrc.mjs +2 -0
  217. package/dist/chunks/cli-1.1.30-qdnzwgr7.mjs +2 -0
  218. package/dist/chunks/cli-1.1.30-qjdmnkfj.mjs +2 -0
  219. package/dist/chunks/cli-1.1.30-qm4vn98q.mjs +2 -0
  220. package/dist/chunks/cli-1.1.30-qn71nvqn.mjs +2 -0
  221. package/dist/chunks/cli-1.1.30-qykdr3bk.mjs +2 -0
  222. package/dist/chunks/cli-1.1.30-r4ap6bq3.mjs +4 -0
  223. package/dist/chunks/cli-1.1.30-rdbwn1xc.mjs +2 -0
  224. package/dist/chunks/cli-1.1.30-rdgv4qpw.mjs +2 -0
  225. package/dist/chunks/cli-1.1.30-s2b0zbj0.mjs +1 -0
  226. package/dist/chunks/cli-1.1.30-s7f7x42j.mjs +2 -0
  227. package/dist/chunks/cli-1.1.30-sdxgwxfm.mjs +2 -0
  228. package/dist/chunks/cli-1.1.30-sgm7bcet.mjs +58 -0
  229. package/dist/chunks/cli-1.1.30-sr3wnzt7.mjs +17 -0
  230. package/dist/chunks/cli-1.1.30-syea4bx7.mjs +2 -0
  231. package/dist/chunks/cli-1.1.30-t27wxks6.mjs +6 -0
  232. package/dist/chunks/cli-1.1.30-tc8vq728.mjs +15 -0
  233. package/dist/chunks/cli-1.1.30-tcz89gqa.mjs +2 -0
  234. package/dist/chunks/cli-1.1.30-tt85hxby.mjs +25 -0
  235. package/dist/chunks/cli-1.1.30-ty0pw373.mjs +24 -0
  236. package/dist/chunks/cli-1.1.30-vcexen3n.mjs +2 -0
  237. package/dist/chunks/cli-1.1.30-vda14n5e.mjs +2 -0
  238. package/dist/chunks/cli-1.1.30-vf6wrqmh.mjs +2 -0
  239. package/dist/chunks/cli-1.1.30-vhh5kt6v.mjs +2 -0
  240. package/dist/chunks/cli-1.1.30-vrgnzjd2.mjs +2 -0
  241. package/dist/chunks/cli-1.1.30-w9wdamqc.mjs +34 -0
  242. package/dist/chunks/cli-1.1.30-wfs29rd9.mjs +12 -0
  243. package/dist/chunks/cli-1.1.30-wgmdrp34.mjs +2 -0
  244. package/dist/chunks/cli-1.1.30-wjx6yhry.mjs +2 -0
  245. package/dist/chunks/cli-1.1.30-wmpgbhw0.mjs +16 -0
  246. package/dist/chunks/cli-1.1.30-x76str7r.mjs +3 -0
  247. package/dist/chunks/cli-1.1.30-x8wzmxay.mjs +2 -0
  248. package/dist/chunks/cli-1.1.30-x960htw5.mjs +2 -0
  249. package/dist/chunks/cli-1.1.30-xhk0n48x.mjs +2 -0
  250. package/dist/chunks/cli-1.1.30-xqb55m51.mjs +2 -0
  251. package/dist/chunks/cli-1.1.30-xrrzhx6s.mjs +5 -0
  252. package/dist/chunks/cli-1.1.30-xxvagrpc.mjs +2 -0
  253. package/dist/chunks/cli-1.1.30-ycv7a9hg.mjs +2 -0
  254. package/dist/chunks/cli-1.1.30-ygdwz4ed.mjs +4 -0
  255. package/dist/chunks/cli-1.1.30-yt59tc1t.mjs +2 -0
  256. package/dist/chunks/cli-1.1.30-yw5qpt76.mjs +2 -0
  257. package/dist/chunks/cli-1.1.30-yy92v8yq.mjs +63 -0
  258. package/dist/chunks/cli-1.1.30-z1e7k65a.mjs +5 -0
  259. package/dist/chunks/cli-1.1.30-z9xfs5zq.mjs +2 -0
  260. package/dist/chunks/cli-1.1.30-zfz29t3v.mjs +3 -0
  261. package/dist/chunks/cli-1.1.30-zj3nk96z.mjs +2 -0
  262. package/dist/chunks/cli-1.1.30-zm2e2zvb.mjs +2 -0
  263. package/dist/chunks/cli-1.1.30-zpss0nht.mjs +3 -0
  264. package/dist/chunks/cli-1.1.30-zxkfqcvj.mjs +2 -0
  265. package/dist/chunks/cli-1.1.30-zych8w4z.mjs +45 -0
  266. package/dist/chunks/client-1.1.30-6xd07jrd.mjs +1 -0
  267. package/dist/chunks/color-1.1.30-yhxh49s0.mjs +1 -0
  268. package/dist/chunks/compact-1.1.30-wxxb111z.mjs +3 -0
  269. package/dist/chunks/config-1.1.30-4gdp5w7v.mjs +1 -0
  270. package/dist/chunks/config-1.1.30-s02sv9vf.mjs +1 -0
  271. package/dist/chunks/constants-1.1.30-g1xm727k.mjs +1 -0
  272. package/dist/chunks/context-1.1.30-pepgc836.mjs +1 -0
  273. package/dist/chunks/context-noninteractive-1.1.30-ahdmm09h.mjs +1 -0
  274. package/dist/chunks/conversation-1.1.30-93marv3a.mjs +1 -0
  275. package/dist/chunks/copilotHeaders-1.1.30-ypx3j03s.mjs +1 -0
  276. package/dist/chunks/copy-1.1.30-bsfx33za.mjs +9 -0
  277. package/dist/chunks/cost-1.1.30-rhgx2a0h.mjs +1 -0
  278. package/dist/chunks/createSSHSession-1.1.30-p5qve4c1.mjs +1 -0
  279. package/dist/chunks/createSession-1.1.30-rwvvv9na.mjs +1 -0
  280. package/dist/chunks/debug-1.1.30-j1zw0q5b.mjs +1 -0
  281. package/dist/chunks/defaultActionDeps-1.1.30-5gkcnqp5.mjs +1481 -0
  282. package/dist/chunks/desktop-1.1.30-rwbfgek7.mjs +1 -0
  283. package/dist/chunks/detectRepository-1.1.30-2xwvggy6.mjs +1 -0
  284. package/dist/chunks/detection-1.1.30-kkar89w6.mjs +1 -0
  285. package/dist/chunks/diff-1.1.30-t1r0x9g4.mjs +1 -0
  286. package/dist/chunks/doctor-1.1.30-cvqts45f.mjs +1 -0
  287. package/dist/chunks/doctorDiagnostic-1.1.30-smg0046q.mjs +1 -0
  288. package/dist/chunks/earlyInput-1.1.30-cpx4e858.mjs +1 -0
  289. package/dist/chunks/effort-1.1.30-jdxyeqz7.mjs +13 -0
  290. package/dist/chunks/engine-1.1.30-8qhtasfe.mjs +1 -0
  291. package/dist/chunks/envLessBridgeConfig-1.1.30-jnz4sy6x.mjs +1 -0
  292. package/dist/chunks/envUtils-1.1.30-y5dyaydm.mjs +1 -0
  293. package/dist/chunks/environmentSelection-1.1.30-w1z47qad.mjs +1 -0
  294. package/dist/chunks/environments-1.1.30-sjscvfn9.mjs +1 -0
  295. package/dist/chunks/errors-1.1.30-7cmbc98j.mjs +1 -0
  296. package/dist/chunks/exampleCommands-1.1.30-jx9hvt2q.mjs +1 -0
  297. package/dist/chunks/execFileNoThrow-1.1.30-dqrsra7k.mjs +1 -0
  298. package/dist/chunks/exit-1.1.30-m2yzbcth.mjs +1 -0
  299. package/dist/chunks/explorer-1.1.30-5tat30es.mjs +1 -0
  300. package/dist/chunks/export-1.1.30-545a0v8x.mjs +2 -0
  301. package/dist/chunks/extra-usage-1.1.30-5k9b4t6b.mjs +1 -0
  302. package/dist/chunks/extra-usage-noninteractive-1.1.30-h5fqbtg3.mjs +1 -0
  303. package/dist/chunks/fast-1.1.30-91wr1vy4.mjs +1 -0
  304. package/dist/chunks/feedback-1.1.30-36xrb399.mjs +14 -0
  305. package/dist/chunks/firstPartyEventLogger-1.1.30-be1ke8r3.mjs +1 -0
  306. package/dist/chunks/git-1.1.30-sxa8xf85.mjs +1 -0
  307. package/dist/chunks/githubModelsCredentials-1.1.30-m7a8kdwg.mjs +1 -0
  308. package/dist/chunks/goal-1.1.30-71sj2735.mjs +4 -0
  309. package/dist/chunks/growthbook-1.1.30-rx44zvrq.mjs +1 -0
  310. package/dist/chunks/headless-1.1.30-h98t9mfb.mjs +2 -0
  311. package/dist/chunks/heapdump-1.1.30-82m1rvjw.mjs +6 -0
  312. package/dist/chunks/help-1.1.30-vnsg1001.mjs +1 -0
  313. package/dist/chunks/hookChains-1.1.30-tc5ff3xr.mjs +3 -0
  314. package/dist/chunks/hooks-1.1.30-2sctf45c.mjs +79 -0
  315. package/dist/chunks/hooks-1.1.30-707b390t.mjs +1 -0
  316. package/dist/chunks/ide-1.1.30-e8neepsj.mjs +3 -0
  317. package/dist/chunks/image-processor-napi-1.1.30-gcqgfeec.mjs +1 -0
  318. package/dist/chunks/import-1.1.30-g0p9rj63.mjs +261 -0
  319. package/dist/chunks/inboundAttachments-1.1.30-a5p4ftqg.mjs +1 -0
  320. package/dist/chunks/index-1.1.30-00d73fwg.mjs +1 -0
  321. package/dist/chunks/index-1.1.30-0sdck5q1.mjs +9 -0
  322. package/dist/chunks/index-1.1.30-38597fv3.mjs +5 -0
  323. package/dist/chunks/index-1.1.30-3z58evcj.mjs +1 -0
  324. package/dist/chunks/index-1.1.30-5k081eyt.mjs +1 -0
  325. package/dist/chunks/index-1.1.30-8n15b4e3.mjs +2 -0
  326. package/dist/chunks/index-1.1.30-9nx8fm72.mjs +1 -0
  327. package/dist/chunks/index-1.1.30-9zfyk995.mjs +23 -0
  328. package/dist/chunks/index-1.1.30-ba27qy75.mjs +1 -0
  329. package/dist/chunks/index-1.1.30-cddndqaa.mjs +1 -0
  330. package/dist/chunks/index-1.1.30-cnbcr7zp.mjs +1 -0
  331. package/dist/chunks/index-1.1.30-f65yg5kz.mjs +9 -0
  332. package/dist/chunks/index-1.1.30-fwvhky1a.mjs +1 -0
  333. package/dist/chunks/index-1.1.30-hmnpjmd5.mjs +1 -0
  334. package/dist/chunks/index-1.1.30-nemv1gaj.mjs +1 -0
  335. package/dist/chunks/index-1.1.30-pnpy7v0s.mjs +1 -0
  336. package/dist/chunks/index-1.1.30-q4x054c8.mjs +2 -0
  337. package/dist/chunks/index-1.1.30-racdqjba.mjs +1 -0
  338. package/dist/chunks/index-1.1.30-scb66j47.mjs +1 -0
  339. package/dist/chunks/index-1.1.30-tfz6950h.mjs +30 -0
  340. package/dist/chunks/index-1.1.30-tx381qq5.mjs +1 -0
  341. package/dist/chunks/index-1.1.30-w4zhj1qd.mjs +1 -0
  342. package/dist/chunks/index-1.1.30-xxh224ea.mjs +1 -0
  343. package/dist/chunks/init-1.1.30-txzpz2vm.mjs +1 -0
  344. package/dist/chunks/initReplBridge-1.1.30-hkrhwfr3.mjs +1 -0
  345. package/dist/chunks/ink-1.1.30-av1t4b54.mjs +1 -0
  346. package/dist/chunks/insights-1.1.30-nbs0zndp.mjs +870 -0
  347. package/dist/chunks/install-1.1.30-kd3vnaat.mjs +1 -0
  348. package/dist/chunks/install-github-app-1.1.30-ea78ytf6.mjs +149 -0
  349. package/dist/chunks/install-slack-app-1.1.30-v2q1py01.mjs +1 -0
  350. package/dist/chunks/instrumentation-1.1.30-20686d7h.mjs +1 -0
  351. package/dist/chunks/interactiveHelpers-1.1.30-rd0zzjyp.mjs +1 -0
  352. package/dist/chunks/keybindings-1.1.30-157aap7w.mjs +2 -0
  353. package/dist/chunks/knowledge-1.1.30-4mcx1txk.mjs +2 -0
  354. package/dist/chunks/latestVersionCache-1.1.30-65qvjpys.mjs +1 -0
  355. package/dist/chunks/loadAgentsDir-1.1.30-nfrca2zv.mjs +1 -0
  356. package/dist/chunks/loadPluginHooks-1.1.30-wa8regkc.mjs +1 -0
  357. package/dist/chunks/log-1.1.30-nh81h0jz.mjs +1 -0
  358. package/dist/chunks/main-1.1.30-87zf4enf.mjs +1 -0
  359. package/dist/chunks/managedEnv-1.1.30-p38nd6r6.mjs +1 -0
  360. package/dist/chunks/mcp-1.1.30-egynhffm.mjs +17 -0
  361. package/dist/chunks/mcp-1.1.30-gaz9mgmq.mjs +4 -0
  362. package/dist/chunks/mcp-1.1.30-r6q89d8c.mjs +1 -0
  363. package/dist/chunks/mcpb-1.1.30-qxpx83j6.mjs +1 -0
  364. package/dist/chunks/memory-1.1.30-72gbfb3b.mjs +77 -0
  365. package/dist/chunks/model-1.1.30-7nsbqqvm.mjs +2 -0
  366. package/dist/chunks/model-1.1.30-f7d6dbt2.mjs +1 -0
  367. package/dist/chunks/node-1.1.30-nbnhkya6.mjs +15 -0
  368. package/dist/chunks/node-1.1.30-vaaf7x0g.mjs +1 -0
  369. package/dist/chunks/oauth-1.1.30-g201gbyg.mjs +1 -0
  370. package/dist/chunks/openaiShim-1.1.30-rz4xax1e.mjs +14 -0
  371. package/dist/chunks/output-style-1.1.30-ms4eck90.mjs +1 -0
  372. package/dist/chunks/package-D2QZMRW7-1.1.30-08c7mgpt.mjs +1 -0
  373. package/dist/chunks/parseConnectUrl-1.1.30-bd7ade4m.mjs +1 -0
  374. package/dist/chunks/parser-1.1.30-qe7n0vnw.mjs +1 -0
  375. package/dist/chunks/passes-1.1.30-3cz64bpa.mjs +1 -0
  376. package/dist/chunks/permissions-1.1.30-28z7ax7g.mjs +3 -0
  377. package/dist/chunks/permissions-1.1.30-vgtb4qf9.mjs +1 -0
  378. package/dist/chunks/plan-1.1.30-s865r5b5.mjs +1 -0
  379. package/dist/chunks/plist-1.1.30-pxa62mce.mjs +1 -0
  380. package/dist/chunks/plugin-1.1.30-6apj9sf8.mjs +29 -0
  381. package/dist/chunks/pluginStartupCheck-1.1.30-gmcab9kx.mjs +1 -0
  382. package/dist/chunks/plugins-1.1.30-40c7sagf.mjs +9 -0
  383. package/dist/chunks/preActionHook-1.1.30-q2g48qsk.mjs +2 -0
  384. package/dist/chunks/print-1.1.30-drvg0v0c.mjs +57 -0
  385. package/dist/chunks/process-1.1.30-f6y2msx6.mjs +1 -0
  386. package/dist/chunks/processBashCommand-1.1.30-5bzgcejg.mjs +1 -0
  387. package/dist/chunks/processSlashCommand-1.1.30-2bwd1kpt.mjs +9 -0
  388. package/dist/chunks/prompt-1.1.30-9rbbx5vr.mjs +1 -0
  389. package/dist/chunks/prompt-1.1.30-phmv317m.mjs +1 -0
  390. package/dist/chunks/prompts-1.1.30-1myv5ewh.mjs +1 -0
  391. package/dist/chunks/protocolHandler-1.1.30-d6jkd0dk.mjs +13 -0
  392. package/dist/chunks/provider-1.1.30-cwkzb2t8.mjs +2 -0
  393. package/dist/chunks/providerProfiles-1.1.30-qe0y7b6e.mjs +1 -0
  394. package/dist/chunks/providerValidation-1.1.30-rzg2nkx3.mjs +6 -0
  395. package/dist/chunks/rate-limit-options-1.1.30-4q04y9f7.mjs +1 -0
  396. package/dist/chunks/registerSubcommands-1.1.30-k3ar1dyg.mjs +26 -0
  397. package/dist/chunks/registry-1.1.30-epdyxcsa.mjs +1 -0
  398. package/dist/chunks/release-notes-1.1.30-k11yp5hh.mjs +5 -0
  399. package/dist/chunks/reload-plugins-1.1.30-n7qhqqr3.mjs +2 -0
  400. package/dist/chunks/remote-env-1.1.30-f8e03jpx.mjs +1 -0
  401. package/dist/chunks/remoteBridgeCore-1.1.30-fqankvvx.mjs +1 -0
  402. package/dist/chunks/remoteSession-1.1.30-fc5x1bz4.mjs +1 -0
  403. package/dist/chunks/rename-1.1.30-vw8eyfha.mjs +1 -0
  404. package/dist/chunks/replBridgeHandle-1.1.30-bagtg7fm.mjs +1 -0
  405. package/dist/chunks/replLauncher-1.1.30-318vaq80.mjs +1 -0
  406. package/dist/chunks/resume-1.1.30-jrj1wpvj.mjs +2 -0
  407. package/dist/chunks/rewind-1.1.30-z97mdn25.mjs +1 -0
  408. package/dist/chunks/rootOptions-1.1.30-ybrgmmyy.mjs +1 -0
  409. package/dist/chunks/runWorkflowHeadless-1.1.30-w3gn8w75.mjs +10 -0
  410. package/dist/chunks/sandbox-adapter-1.1.30-4rd9w5by.mjs +1 -0
  411. package/dist/chunks/sandbox-toggle-1.1.30-zmtfq25w.mjs +1 -0
  412. package/dist/chunks/session-1.1.30-sbykpbav.mjs +2 -0
  413. package/dist/chunks/sessionDiscovery-1.1.30-dd680nx7.mjs +1 -0
  414. package/dist/chunks/sessionFileAccessHooks-1.1.30-4rhdr018.mjs +1 -0
  415. package/dist/chunks/sessionStorage-1.1.30-cwb5a83p.mjs +1 -0
  416. package/dist/chunks/settings-1.1.30-xxee6nzb.mjs +1 -0
  417. package/dist/chunks/setup-1.1.30-p2wwqw6v.mjs +12 -0
  418. package/dist/chunks/sinks-1.1.30-phkc3yep.mjs +1 -0
  419. package/dist/chunks/skills-1.1.30-vsg5twx1.mjs +1 -0
  420. package/dist/chunks/startupProfiler-1.1.30-wa0xbx1z.mjs +1 -0
  421. package/dist/chunks/startupUpdateCheck-1.1.30-9cgnvwtt.mjs +1 -0
  422. package/dist/chunks/state-1.1.30-ge0kb9gr.mjs +1 -0
  423. package/dist/chunks/stats-1.1.30-n5w7ehyg.mjs +1 -0
  424. package/dist/chunks/status-1.1.30-snsvg4xb.mjs +1 -0
  425. package/dist/chunks/stickers-1.1.30-7ffpw08c.mjs +1 -0
  426. package/dist/chunks/subprocessEnv-1.1.30-5efpmhgz.mjs +1 -0
  427. package/dist/chunks/tasks-1.1.30-ykgkx7d8.mjs +1 -0
  428. package/dist/chunks/teamHelpers-1.1.30-cjjzmnj6.mjs +1 -0
  429. package/dist/chunks/teammateModeSnapshot-1.1.30-e2mh88ze.mjs +1 -0
  430. package/dist/chunks/teleport-1.1.30-9y1akw6m.mjs +1 -0
  431. package/dist/chunks/terminalSetup-1.1.30-mwbzfrfc.mjs +1 -0
  432. package/dist/chunks/theme-1.1.30-9dqykgv2.mjs +1 -0
  433. package/dist/chunks/thinkback-1.1.30-3pbzqt97.mjs +1 -0
  434. package/dist/chunks/thinkback-play-1.1.30-83akae4q.mjs +1 -0
  435. package/dist/chunks/toolPool-1.1.30-3kvrwtxa.mjs +1 -0
  436. package/dist/chunks/toolSearch-1.1.30-s60zcj4t.mjs +1 -0
  437. package/dist/chunks/tools-1.1.30-by0ddhf4.mjs +1 -0
  438. package/dist/chunks/trustedDevice-1.1.30-ecq2hfrc.mjs +1 -0
  439. package/dist/chunks/turndown.cjs-1.1.30-m5hyejns.mjs +69 -0
  440. package/dist/chunks/types-1.1.30-mrv5q877.mjs +1 -0
  441. package/dist/chunks/ultrareviewCommand-1.1.30-5etzjedp.mjs +4 -0
  442. package/dist/chunks/update-1.1.30-ax60cy72.mjs +72 -0
  443. package/dist/chunks/upgrade-1.1.30-hrny7f12.mjs +1 -0
  444. package/dist/chunks/upload-1.1.30-s0z8kw2s.mjs +7 -0
  445. package/dist/chunks/upstreamproxy-1.1.30-tkvbafsh.mjs +14 -0
  446. package/dist/chunks/url-handler-napi-1.1.30-enhczdhm.mjs +1 -0
  447. package/dist/chunks/usage-1.1.30-ew9dakf2.mjs +1 -0
  448. package/dist/chunks/util-1.1.30-knp77fm5.mjs +1 -0
  449. package/dist/chunks/utils-1.1.30-74ykpfac.mjs +1 -0
  450. package/dist/chunks/vim-1.1.30-y01vnb23.mjs +1 -0
  451. package/dist/chunks/watchLoop-1.1.30-sjecqqx4.mjs +13 -0
  452. package/dist/chunks/watcher-1.1.30-qnfq5sma.mjs +1 -0
  453. package/dist/chunks/wiki-1.1.30-qddcp6x2.mjs +132 -0
  454. package/dist/chunks/workflows-1.1.30-j5wcb76g.mjs +1 -0
  455. package/dist/chunks/worktree-1.1.30-m6gvqkc9.mjs +1 -0
  456. package/dist/chunks/worktreeModeEnabled-1.1.30-nma5ggmd.mjs +1 -0
  457. package/dist/chunks/wrapper-1.1.30-c8vm3try.mjs +7 -0
  458. package/dist/cli.mjs +2 -2
  459. package/package.json +9 -9
  460. package/dist/chunks/AgentTool-1.1.28-hdgcephe.mjs +0 -1
  461. package/dist/chunks/App-1.1.28-rdhr58j6.mjs +0 -1
  462. package/dist/chunks/ApproveApiKey-1.1.28-dn460p70.mjs +0 -1
  463. package/dist/chunks/AssistantSessionChooser-1.1.28-k16de89c.mjs +0 -1
  464. package/dist/chunks/AutoModeOptInDialog-1.1.28-19td2te8.mjs +0 -1
  465. package/dist/chunks/BypassPermissionsModeDialog-1.1.28-011pgh7b.mjs +0 -1
  466. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.28-ych5693j.mjs +0 -1
  467. package/dist/chunks/ConsoleOAuthFlow-1.1.28-7p5bx0b5.mjs +0 -1
  468. package/dist/chunks/DiffDialog-1.1.28-nkct57y5.mjs +0 -6
  469. package/dist/chunks/Doctor-1.1.28-xerfvzx5.mjs +0 -1
  470. package/dist/chunks/ExplorerDialog-1.1.28-ne9ftnxx.mjs +0 -6
  471. package/dist/chunks/ITermBackend-1.1.28-07enf929.mjs +0 -1
  472. package/dist/chunks/InvalidConfigDialog-1.1.28-mcsd53vd.mjs +0 -1
  473. package/dist/chunks/InvalidSettingsDialog-1.1.28-rmrgfzbv.mjs +0 -1
  474. package/dist/chunks/MigrationDialog-1.1.28-w5mh2w2b.mjs +0 -1
  475. package/dist/chunks/Onboarding-1.1.28-7q9nc8c9.mjs +0 -1
  476. package/dist/chunks/ProviderManager-1.1.28-08ytr6ma.mjs +0 -1
  477. package/dist/chunks/REPL-1.1.28-pxy1ag0k.mjs +0 -1
  478. package/dist/chunks/ResumeConversation-1.1.28-b2pk1nan.mjs +0 -1
  479. package/dist/chunks/SnapshotUpdateDialog-1.1.28-xa772x92.mjs +0 -1
  480. package/dist/chunks/TeleportProgress-1.1.28-6x6ca6kq.mjs +0 -1
  481. package/dist/chunks/TeleportRepoMismatchDialog-1.1.28-vy7p3j3e.mjs +0 -1
  482. package/dist/chunks/TeleportResumeWrapper-1.1.28-egnv67by.mjs +0 -1
  483. package/dist/chunks/TmuxBackend-1.1.28-y1ss2e0h.mjs +0 -9
  484. package/dist/chunks/ToolSearchTool-1.1.28-7w099741.mjs +0 -1
  485. package/dist/chunks/TrustDialog-1.1.28-49aey2f6.mjs +0 -1
  486. package/dist/chunks/activeProvider-1.1.28-gw9e23bc.mjs +0 -1
  487. package/dist/chunks/add-dir-1.1.28-5j989gf2.mjs +0 -1
  488. package/dist/chunks/agentTypes-1.1.28-hxk0wpj5.mjs +0 -1
  489. package/dist/chunks/agents-1.1.28-3yth9sa4.mjs +0 -110
  490. package/dist/chunks/agents-1.1.28-4qdh001q.mjs +0 -3
  491. package/dist/chunks/api-1.1.28-znpy0eyy.mjs +0 -1
  492. package/dist/chunks/asciicast-1.1.28-r6dsend4.mjs +0 -1
  493. package/dist/chunks/assistant-1.1.28-16hn1f6b.mjs +0 -1
  494. package/dist/chunks/auth-1.1.28-bw7dane8.mjs +0 -1
  495. package/dist/chunks/auth-1.1.28-ht6j3ag3.mjs +0 -1
  496. package/dist/chunks/autoMode-1.1.28-nyaf1s0s.mjs +0 -52
  497. package/dist/chunks/autoModeSetup-1.1.28-sjjeha2m.mjs +0 -44
  498. package/dist/chunks/autoUpdater-1.1.28-070wmr6y.mjs +0 -1
  499. package/dist/chunks/backgroundHousekeeping-1.1.28-y5mjznxx.mjs +0 -1
  500. package/dist/chunks/branch-1.1.28-5d97ysjr.mjs +0 -4
  501. package/dist/chunks/bridge-1.1.28-62qv0wgq.mjs +0 -2
  502. package/dist/chunks/bridgeConfig-1.1.28-m986jcxg.mjs +0 -1
  503. package/dist/chunks/bridgeEnabled-1.1.28-0fs5tkxx.mjs +0 -1
  504. package/dist/chunks/bridgeMain-1.1.28-pyr5gvmx.mjs +0 -88
  505. package/dist/chunks/bridgePointer-1.1.28-wpzz2yca.mjs +0 -1
  506. package/dist/chunks/btw-1.1.28-p1tk901s.mjs +0 -1
  507. package/dist/chunks/buddy-1.1.28-thrnzpdp.mjs +0 -3
  508. package/dist/chunks/cache-probe-1.1.28-bb4xsnev.mjs +0 -21
  509. package/dist/chunks/cacheStats-1.1.28-9p9fmxas.mjs +0 -4
  510. package/dist/chunks/caches-1.1.28-t6dq2xtp.mjs +0 -1
  511. package/dist/chunks/cd-1.1.28-84z1kqam.mjs +0 -3
  512. package/dist/chunks/claudeDesktop-1.1.28-3x0y2w87.mjs +0 -1
  513. package/dist/chunks/claudemd-1.1.28-skmb6ar5.mjs +0 -1
  514. package/dist/chunks/clear-1.1.28-78f1rnc5.mjs +0 -1
  515. package/dist/chunks/clearTerminal-1.1.28-sx5qqtxb.mjs +0 -1
  516. package/dist/chunks/cli-1.1.28-01g60h7m.mjs +0 -2
  517. package/dist/chunks/cli-1.1.28-040xb4f8.mjs +0 -2
  518. package/dist/chunks/cli-1.1.28-0c0kb6x2.mjs +0 -24
  519. package/dist/chunks/cli-1.1.28-0njtm2nf.mjs +0 -60
  520. package/dist/chunks/cli-1.1.28-0vgve5rw.mjs +0 -24
  521. package/dist/chunks/cli-1.1.28-12g8qyfk.mjs +0 -58
  522. package/dist/chunks/cli-1.1.28-130w2y17.mjs +0 -50
  523. package/dist/chunks/cli-1.1.28-13j6r7pz.mjs +0 -2
  524. package/dist/chunks/cli-1.1.28-14abe08r.mjs +0 -4
  525. package/dist/chunks/cli-1.1.28-1jd8x2af.mjs +0 -2
  526. package/dist/chunks/cli-1.1.28-1mscaejt.mjs +0 -2
  527. package/dist/chunks/cli-1.1.28-1q409efb.mjs +0 -2
  528. package/dist/chunks/cli-1.1.28-1rrn1mhr.mjs +0 -2
  529. package/dist/chunks/cli-1.1.28-1vrff9a3.mjs +0 -5
  530. package/dist/chunks/cli-1.1.28-2arzkhzs.mjs +0 -2
  531. package/dist/chunks/cli-1.1.28-2dafhgjv.mjs +0 -34
  532. package/dist/chunks/cli-1.1.28-2esp2ssp.mjs +0 -6
  533. package/dist/chunks/cli-1.1.28-2q7dztmb.mjs +0 -2
  534. package/dist/chunks/cli-1.1.28-2wem9fnx.mjs +0 -2
  535. package/dist/chunks/cli-1.1.28-2ykcw73j.mjs +0 -2
  536. package/dist/chunks/cli-1.1.28-2zhmwh7t.mjs +0 -2
  537. package/dist/chunks/cli-1.1.28-30yw5q4z.mjs +0 -4
  538. package/dist/chunks/cli-1.1.28-347ygvzg.mjs +0 -6
  539. package/dist/chunks/cli-1.1.28-36891pwy.mjs +0 -2
  540. package/dist/chunks/cli-1.1.28-36y6830c.mjs +0 -2
  541. package/dist/chunks/cli-1.1.28-37rkgevh.mjs +0 -2
  542. package/dist/chunks/cli-1.1.28-3bj091x6.mjs +0 -2
  543. package/dist/chunks/cli-1.1.28-3fssr567.mjs +0 -2
  544. package/dist/chunks/cli-1.1.28-3p6j7k4a.mjs +0 -2
  545. package/dist/chunks/cli-1.1.28-4kda7s33.mjs +0 -2
  546. package/dist/chunks/cli-1.1.28-4kxqqtpz.mjs +0 -2
  547. package/dist/chunks/cli-1.1.28-4mpm44jj.mjs +0 -9
  548. package/dist/chunks/cli-1.1.28-4qh42y9g.mjs +0 -2
  549. package/dist/chunks/cli-1.1.28-4sx3zr2c.mjs +0 -3
  550. package/dist/chunks/cli-1.1.28-58rs1ja0.mjs +0 -2
  551. package/dist/chunks/cli-1.1.28-5edzsdcr.mjs +0 -6
  552. package/dist/chunks/cli-1.1.28-5y1xeh89.mjs +0 -206
  553. package/dist/chunks/cli-1.1.28-638dshxx.mjs +0 -42
  554. package/dist/chunks/cli-1.1.28-6bc84c0n.mjs +0 -2
  555. package/dist/chunks/cli-1.1.28-6x9c71q9.mjs +0 -2
  556. package/dist/chunks/cli-1.1.28-6y7vtevf.mjs +0 -17
  557. package/dist/chunks/cli-1.1.28-75thpvfa.mjs +0 -2
  558. package/dist/chunks/cli-1.1.28-7amn29ks.mjs +0 -2
  559. package/dist/chunks/cli-1.1.28-7e3nqd5c.mjs +0 -2
  560. package/dist/chunks/cli-1.1.28-7fz4fqgd.mjs +0 -2
  561. package/dist/chunks/cli-1.1.28-7g65bppm.mjs +0 -2
  562. package/dist/chunks/cli-1.1.28-7nye6zs7.mjs +0 -4
  563. package/dist/chunks/cli-1.1.28-7pmtq82j.mjs +0 -2
  564. package/dist/chunks/cli-1.1.28-7vvtkeeh.mjs +0 -25
  565. package/dist/chunks/cli-1.1.28-7x94aewp.mjs +0 -2
  566. package/dist/chunks/cli-1.1.28-7zpfvkxq.mjs +0 -2
  567. package/dist/chunks/cli-1.1.28-81p0zmxc.mjs +0 -2
  568. package/dist/chunks/cli-1.1.28-83k0knzj.mjs +0 -2
  569. package/dist/chunks/cli-1.1.28-8ahmbnjh.mjs +0 -2
  570. package/dist/chunks/cli-1.1.28-8avwqt1z.mjs +0 -4
  571. package/dist/chunks/cli-1.1.28-8jrfznkw.mjs +0 -2
  572. package/dist/chunks/cli-1.1.28-8v2vx373.mjs +0 -2
  573. package/dist/chunks/cli-1.1.28-943993zt.mjs +0 -2
  574. package/dist/chunks/cli-1.1.28-94sk1z8g.mjs +0 -5
  575. package/dist/chunks/cli-1.1.28-95fs05hq.mjs +0 -2
  576. package/dist/chunks/cli-1.1.28-9e74kqtd.mjs +0 -2
  577. package/dist/chunks/cli-1.1.28-9s4pee5a.mjs +0 -2
  578. package/dist/chunks/cli-1.1.28-a00k75hj.mjs +0 -2
  579. package/dist/chunks/cli-1.1.28-a79xcdg3.mjs +0 -2
  580. package/dist/chunks/cli-1.1.28-ad15rvp0.mjs +0 -2
  581. package/dist/chunks/cli-1.1.28-ak2bzv1v.mjs +0 -16
  582. package/dist/chunks/cli-1.1.28-atrbc4s7.mjs +0 -2
  583. package/dist/chunks/cli-1.1.28-avxe0zxq.mjs +0 -15
  584. package/dist/chunks/cli-1.1.28-b2jq83aj.mjs +0 -15
  585. package/dist/chunks/cli-1.1.28-be8cxh1e.mjs +0 -2
  586. package/dist/chunks/cli-1.1.28-bfs5hmfp.mjs +0 -3
  587. package/dist/chunks/cli-1.1.28-bqtpnyqr.mjs +0 -2
  588. package/dist/chunks/cli-1.1.28-brh6rw23.mjs +0 -2
  589. package/dist/chunks/cli-1.1.28-bsqgt8m4.mjs +0 -2
  590. package/dist/chunks/cli-1.1.28-bwbz3v3j.mjs +0 -2
  591. package/dist/chunks/cli-1.1.28-bwgr7j8z.mjs +0 -2
  592. package/dist/chunks/cli-1.1.28-by5acg3a.mjs +0 -2
  593. package/dist/chunks/cli-1.1.28-c9nh8cpr.mjs +0 -2
  594. package/dist/chunks/cli-1.1.28-cb5wemmj.mjs +0 -7
  595. package/dist/chunks/cli-1.1.28-cfq2wwx5.mjs +0 -2
  596. package/dist/chunks/cli-1.1.28-cyrrpdkd.mjs +0 -2
  597. package/dist/chunks/cli-1.1.28-d5h3kve6.mjs +0 -24
  598. package/dist/chunks/cli-1.1.28-davs3ve8.mjs +0 -58
  599. package/dist/chunks/cli-1.1.28-denmqz0s.mjs +0 -2
  600. package/dist/chunks/cli-1.1.28-dqsxqszf.mjs +0 -2
  601. package/dist/chunks/cli-1.1.28-dy3tnnyd.mjs +0 -3
  602. package/dist/chunks/cli-1.1.28-e2mfhtpx.mjs +0 -2
  603. package/dist/chunks/cli-1.1.28-egskcwa5.mjs +0 -2
  604. package/dist/chunks/cli-1.1.28-ek683x01.mjs +0 -2
  605. package/dist/chunks/cli-1.1.28-epzkhgww.mjs +0 -2
  606. package/dist/chunks/cli-1.1.28-erqn7gwg.mjs +0 -6
  607. package/dist/chunks/cli-1.1.28-es8var4t.mjs +0 -2
  608. package/dist/chunks/cli-1.1.28-ev0gfjgf.mjs +0 -24
  609. package/dist/chunks/cli-1.1.28-evvcbjb6.mjs +0 -2
  610. package/dist/chunks/cli-1.1.28-f0vrbk1t.mjs +0 -2
  611. package/dist/chunks/cli-1.1.28-f1n8p9v2.mjs +0 -12
  612. package/dist/chunks/cli-1.1.28-f3rdt4zg.mjs +0 -2
  613. package/dist/chunks/cli-1.1.28-f8av9yzr.mjs +0 -39
  614. package/dist/chunks/cli-1.1.28-fetsedc8.mjs +0 -2
  615. package/dist/chunks/cli-1.1.28-ffy07rnm.mjs +0 -2
  616. package/dist/chunks/cli-1.1.28-fjbefwwe.mjs +0 -2
  617. package/dist/chunks/cli-1.1.28-fnd6z5bq.mjs +0 -2
  618. package/dist/chunks/cli-1.1.28-fv1twt9b.mjs +0 -8
  619. package/dist/chunks/cli-1.1.28-h00s5n5y.mjs +0 -2
  620. package/dist/chunks/cli-1.1.28-h7p3dmnv.mjs +0 -2
  621. package/dist/chunks/cli-1.1.28-hb02sa63.mjs +0 -2
  622. package/dist/chunks/cli-1.1.28-hkfays5k.mjs +0 -2
  623. package/dist/chunks/cli-1.1.28-hx5j3q23.mjs +0 -17
  624. package/dist/chunks/cli-1.1.28-hxbkncxe.mjs +0 -2
  625. package/dist/chunks/cli-1.1.28-hyd7kkyr.mjs +0 -2
  626. package/dist/chunks/cli-1.1.28-j5m0kc75.mjs +0 -3
  627. package/dist/chunks/cli-1.1.28-j6nysca9.mjs +0 -2
  628. package/dist/chunks/cli-1.1.28-jqnzq23v.mjs +0 -3
  629. package/dist/chunks/cli-1.1.28-jr3jtfkf.mjs +0 -2
  630. package/dist/chunks/cli-1.1.28-jwg70mjs.mjs +0 -2
  631. package/dist/chunks/cli-1.1.28-k0ewezmj.mjs +0 -20
  632. package/dist/chunks/cli-1.1.28-k10f3f7z.mjs +0 -3
  633. package/dist/chunks/cli-1.1.28-k7pnt9ba.mjs +0 -2
  634. package/dist/chunks/cli-1.1.28-kaddwxsy.mjs +0 -2
  635. package/dist/chunks/cli-1.1.28-kc8f0nz7.mjs +0 -3
  636. package/dist/chunks/cli-1.1.28-khcgtk4a.mjs +0 -2
  637. package/dist/chunks/cli-1.1.28-knfg26kb.mjs +0 -2
  638. package/dist/chunks/cli-1.1.28-m6k4d2wx.mjs +0 -2
  639. package/dist/chunks/cli-1.1.28-mdexghj2.mjs +0 -2
  640. package/dist/chunks/cli-1.1.28-mk8zwqb2.mjs +0 -4
  641. package/dist/chunks/cli-1.1.28-mkm05wf9.mjs +0 -2
  642. package/dist/chunks/cli-1.1.28-mpjz8znf.mjs +0 -3
  643. package/dist/chunks/cli-1.1.28-mqmy0gy0.mjs +0 -2
  644. package/dist/chunks/cli-1.1.28-mvkxhjmj.mjs +0 -2
  645. package/dist/chunks/cli-1.1.28-mx413hqd.mjs +0 -3
  646. package/dist/chunks/cli-1.1.28-n2jx5w3n.mjs +0 -2
  647. package/dist/chunks/cli-1.1.28-n7v87yyn.mjs +0 -2
  648. package/dist/chunks/cli-1.1.28-n8d1x31e.mjs +0 -2
  649. package/dist/chunks/cli-1.1.28-neqd5cwa.mjs +0 -2
  650. package/dist/chunks/cli-1.1.28-nq2qxnzx.mjs +0 -10
  651. package/dist/chunks/cli-1.1.28-nqjbqqb6.mjs +0 -4
  652. package/dist/chunks/cli-1.1.28-nyvjfkx6.mjs +0 -2
  653. package/dist/chunks/cli-1.1.28-p11zcjmv.mjs +0 -2
  654. package/dist/chunks/cli-1.1.28-pabfwpqr.mjs +0 -2
  655. package/dist/chunks/cli-1.1.28-pdxwmetp.mjs +0 -25
  656. package/dist/chunks/cli-1.1.28-pfnc9p9n.mjs +0 -2
  657. package/dist/chunks/cli-1.1.28-prd0t983.mjs +0 -9
  658. package/dist/chunks/cli-1.1.28-pykx8k1j.mjs +0 -4
  659. package/dist/chunks/cli-1.1.28-q14qmewe.mjs +0 -2
  660. package/dist/chunks/cli-1.1.28-q43r6snq.mjs +0 -2
  661. package/dist/chunks/cli-1.1.28-q6dv65zx.mjs +0 -2
  662. package/dist/chunks/cli-1.1.28-qb921m5a.mjs +0 -3
  663. package/dist/chunks/cli-1.1.28-qf1qq8t0.mjs +0 -3
  664. package/dist/chunks/cli-1.1.28-qhqkr80z.mjs +0 -45
  665. package/dist/chunks/cli-1.1.28-qj312jgw.mjs +0 -2
  666. package/dist/chunks/cli-1.1.28-qjn28vhw.mjs +0 -2
  667. package/dist/chunks/cli-1.1.28-qrx5ata3.mjs +0 -2
  668. package/dist/chunks/cli-1.1.28-qvpamm5s.mjs +0 -4
  669. package/dist/chunks/cli-1.1.28-qvr8rkg2.mjs +0 -2
  670. package/dist/chunks/cli-1.1.28-qzg6n6hj.mjs +0 -2
  671. package/dist/chunks/cli-1.1.28-r81y1681.mjs +0 -3
  672. package/dist/chunks/cli-1.1.28-rbjeq16x.mjs +0 -2
  673. package/dist/chunks/cli-1.1.28-rbne7wtq.mjs +0 -4
  674. package/dist/chunks/cli-1.1.28-rez81jab.mjs +0 -6
  675. package/dist/chunks/cli-1.1.28-rq49kn4q.mjs +0 -2
  676. package/dist/chunks/cli-1.1.28-rt0aect8.mjs +0 -2
  677. package/dist/chunks/cli-1.1.28-rwfwz209.mjs +0 -2
  678. package/dist/chunks/cli-1.1.28-s1pbcd86.mjs +0 -3
  679. package/dist/chunks/cli-1.1.28-s2pcpdyc.mjs +0 -2
  680. package/dist/chunks/cli-1.1.28-s6w8jb6z.mjs +0 -2
  681. package/dist/chunks/cli-1.1.28-smb1frk6.mjs +0 -2
  682. package/dist/chunks/cli-1.1.28-ss8nzmnb.mjs +0 -12
  683. package/dist/chunks/cli-1.1.28-sx3mmc5d.mjs +0 -2
  684. package/dist/chunks/cli-1.1.28-sz8sgxj4.mjs +0 -2
  685. package/dist/chunks/cli-1.1.28-t5yawarz.mjs +0 -2
  686. package/dist/chunks/cli-1.1.28-tt0c354s.mjs +0 -2
  687. package/dist/chunks/cli-1.1.28-v1p12e3g.mjs +0 -2
  688. package/dist/chunks/cli-1.1.28-v5r7bmzh.mjs +0 -2
  689. package/dist/chunks/cli-1.1.28-v5ypq0r2.mjs +0 -2
  690. package/dist/chunks/cli-1.1.28-v6ewa1y0.mjs +0 -2
  691. package/dist/chunks/cli-1.1.28-vctvnrwx.mjs +0 -133
  692. package/dist/chunks/cli-1.1.28-vf3j29kt.mjs +0 -2
  693. package/dist/chunks/cli-1.1.28-vgfss8e4.mjs +0 -2
  694. package/dist/chunks/cli-1.1.28-vje1ac31.mjs +0 -7
  695. package/dist/chunks/cli-1.1.28-vphadsag.mjs +0 -2
  696. package/dist/chunks/cli-1.1.28-vyzp74xh.mjs +0 -3
  697. package/dist/chunks/cli-1.1.28-w0kxa99b.mjs +0 -2
  698. package/dist/chunks/cli-1.1.28-w6cd3j36.mjs +0 -20
  699. package/dist/chunks/cli-1.1.28-wew8jymx.mjs +0 -2
  700. package/dist/chunks/cli-1.1.28-wmyy1pdj.mjs +0 -2
  701. package/dist/chunks/cli-1.1.28-wvj52k91.mjs +0 -2
  702. package/dist/chunks/cli-1.1.28-wze93r29.mjs +0 -2
  703. package/dist/chunks/cli-1.1.28-x04zkwy5.mjs +0 -18
  704. package/dist/chunks/cli-1.1.28-x0ypcq4e.mjs +0 -2
  705. package/dist/chunks/cli-1.1.28-x13sctb2.mjs +0 -2
  706. package/dist/chunks/cli-1.1.28-xv2tg10n.mjs +0 -2
  707. package/dist/chunks/cli-1.1.28-y173v5ak.mjs +0 -133
  708. package/dist/chunks/cli-1.1.28-y4k1f7he.mjs +0 -2
  709. package/dist/chunks/cli-1.1.28-y5w3ev7m.mjs +0 -2
  710. package/dist/chunks/cli-1.1.28-yaa1gft3.mjs +0 -15
  711. package/dist/chunks/cli-1.1.28-ypzyse5q.mjs +0 -2
  712. package/dist/chunks/cli-1.1.28-yv5gzenz.mjs +0 -2
  713. package/dist/chunks/cli-1.1.28-yyk292aq.mjs +0 -6
  714. package/dist/chunks/cli-1.1.28-z4kzjv3v.mjs +0 -21
  715. package/dist/chunks/cli-1.1.28-z5mbbt38.mjs +0 -2
  716. package/dist/chunks/cli-1.1.28-zarbrcn7.mjs +0 -2
  717. package/dist/chunks/cli-1.1.28-ze1j03ww.mjs +0 -1
  718. package/dist/chunks/cli-1.1.28-zhftjycn.mjs +0 -5553
  719. package/dist/chunks/cli-1.1.28-zqpvgqxf.mjs +0 -2
  720. package/dist/chunks/cli-1.1.28-zv9zfwz9.mjs +0 -2
  721. package/dist/chunks/client-1.1.28-59t63af8.mjs +0 -1
  722. package/dist/chunks/color-1.1.28-gmbrq89g.mjs +0 -1
  723. package/dist/chunks/compact-1.1.28-14hmkmd6.mjs +0 -3
  724. package/dist/chunks/config-1.1.28-b69ey9g1.mjs +0 -1
  725. package/dist/chunks/config-1.1.28-cryax439.mjs +0 -1
  726. package/dist/chunks/constants-1.1.28-63cv4s6z.mjs +0 -1
  727. package/dist/chunks/context-1.1.28-09kfp2sa.mjs +0 -1
  728. package/dist/chunks/context-noninteractive-1.1.28-h9279pbh.mjs +0 -1
  729. package/dist/chunks/conversation-1.1.28-qnj7ywxq.mjs +0 -1
  730. package/dist/chunks/copilotHeaders-1.1.28-yjrmx9z1.mjs +0 -1
  731. package/dist/chunks/copy-1.1.28-az1n9y3n.mjs +0 -9
  732. package/dist/chunks/cost-1.1.28-507xt42s.mjs +0 -1
  733. package/dist/chunks/createSSHSession-1.1.28-m9ecjhc1.mjs +0 -1
  734. package/dist/chunks/createSession-1.1.28-gbrmw9ad.mjs +0 -1
  735. package/dist/chunks/debug-1.1.28-k9m06yz6.mjs +0 -1
  736. package/dist/chunks/defaultActionDeps-1.1.28-4sxh2jyw.mjs +0 -1534
  737. package/dist/chunks/desktop-1.1.28-ycc1hv5c.mjs +0 -1
  738. package/dist/chunks/detectRepository-1.1.28-mxrqqjv6.mjs +0 -1
  739. package/dist/chunks/detection-1.1.28-06p2mev8.mjs +0 -1
  740. package/dist/chunks/diff-1.1.28-d9a2n60t.mjs +0 -1
  741. package/dist/chunks/doctor-1.1.28-qef12k2p.mjs +0 -1
  742. package/dist/chunks/doctorDiagnostic-1.1.28-v5rq4x27.mjs +0 -1
  743. package/dist/chunks/earlyInput-1.1.28-xr89w719.mjs +0 -1
  744. package/dist/chunks/effort-1.1.28-yjbwr68r.mjs +0 -13
  745. package/dist/chunks/engine-1.1.28-yv6qdcgp.mjs +0 -1
  746. package/dist/chunks/envLessBridgeConfig-1.1.28-tpjzc2ar.mjs +0 -1
  747. package/dist/chunks/envUtils-1.1.28-n17cxj8h.mjs +0 -1
  748. package/dist/chunks/environmentSelection-1.1.28-c7vj172q.mjs +0 -1
  749. package/dist/chunks/environments-1.1.28-08b7gpg6.mjs +0 -1
  750. package/dist/chunks/errors-1.1.28-eysc80qa.mjs +0 -1
  751. package/dist/chunks/exampleCommands-1.1.28-gk1ma509.mjs +0 -1
  752. package/dist/chunks/execFileNoThrow-1.1.28-4nc53n56.mjs +0 -1
  753. package/dist/chunks/exit-1.1.28-7rjnfzc2.mjs +0 -1
  754. package/dist/chunks/explorer-1.1.28-hf7jvkfg.mjs +0 -1
  755. package/dist/chunks/export-1.1.28-3xgdy7gr.mjs +0 -2
  756. package/dist/chunks/extra-usage-1.1.28-6wkgsscs.mjs +0 -1
  757. package/dist/chunks/extra-usage-noninteractive-1.1.28-03hnqa8n.mjs +0 -1
  758. package/dist/chunks/fast-1.1.28-gf0rb9by.mjs +0 -1
  759. package/dist/chunks/feedback-1.1.28-dvdyq5v7.mjs +0 -14
  760. package/dist/chunks/firstPartyEventLogger-1.1.28-rd6eskzg.mjs +0 -1
  761. package/dist/chunks/git-1.1.28-ktf61jaz.mjs +0 -1
  762. package/dist/chunks/githubModelsCredentials-1.1.28-re8t0b2z.mjs +0 -1
  763. package/dist/chunks/goal-1.1.28-s7n55rqn.mjs +0 -4
  764. package/dist/chunks/growthbook-1.1.28-jcs0qzz8.mjs +0 -1
  765. package/dist/chunks/headless-1.1.28-yzfk04g2.mjs +0 -2
  766. package/dist/chunks/heapdump-1.1.28-hgfac8pe.mjs +0 -6
  767. package/dist/chunks/help-1.1.28-yhrv28x1.mjs +0 -1
  768. package/dist/chunks/hookChains-1.1.28-9y5pz734.mjs +0 -3
  769. package/dist/chunks/hooks-1.1.28-pwy1h39c.mjs +0 -79
  770. package/dist/chunks/hooks-1.1.28-xhtrbwa5.mjs +0 -1
  771. package/dist/chunks/ide-1.1.28-27vb56tk.mjs +0 -3
  772. package/dist/chunks/image-processor-napi-1.1.28-b092deny.mjs +0 -1
  773. package/dist/chunks/import-1.1.28-bqs6ebec.mjs +0 -261
  774. package/dist/chunks/inboundAttachments-1.1.28-0jb4nc2j.mjs +0 -1
  775. package/dist/chunks/index-1.1.28-0p3tfhd7.mjs +0 -23
  776. package/dist/chunks/index-1.1.28-30ges9rx.mjs +0 -1
  777. package/dist/chunks/index-1.1.28-3kg2kmpd.mjs +0 -1
  778. package/dist/chunks/index-1.1.28-76ztpb54.mjs +0 -1
  779. package/dist/chunks/index-1.1.28-a6fzpa8n.mjs +0 -1
  780. package/dist/chunks/index-1.1.28-ac1sbem8.mjs +0 -9
  781. package/dist/chunks/index-1.1.28-axnrgqkq.mjs +0 -1
  782. package/dist/chunks/index-1.1.28-b5b1qact.mjs +0 -1
  783. package/dist/chunks/index-1.1.28-bqm5cnw1.mjs +0 -1
  784. package/dist/chunks/index-1.1.28-bt937784.mjs +0 -1
  785. package/dist/chunks/index-1.1.28-bxtzy977.mjs +0 -2
  786. package/dist/chunks/index-1.1.28-dgnx1m4x.mjs +0 -9
  787. package/dist/chunks/index-1.1.28-dtfxav1q.mjs +0 -1
  788. package/dist/chunks/index-1.1.28-gk3v69b8.mjs +0 -1
  789. package/dist/chunks/index-1.1.28-m2nnkj3d.mjs +0 -1
  790. package/dist/chunks/index-1.1.28-qk8rhq5n.mjs +0 -1
  791. package/dist/chunks/index-1.1.28-vgc6r0g0.mjs +0 -1
  792. package/dist/chunks/index-1.1.28-w2a4k4md.mjs +0 -2
  793. package/dist/chunks/index-1.1.28-wajajmmp.mjs +0 -1
  794. package/dist/chunks/index-1.1.28-xaw4tf13.mjs +0 -30
  795. package/dist/chunks/index-1.1.28-y7jd8m9f.mjs +0 -1
  796. package/dist/chunks/index-1.1.28-ymg3kz4x.mjs +0 -5
  797. package/dist/chunks/index-1.1.28-z85wbmey.mjs +0 -1
  798. package/dist/chunks/init-1.1.28-vt168swt.mjs +0 -1
  799. package/dist/chunks/initReplBridge-1.1.28-vtkc85kf.mjs +0 -1
  800. package/dist/chunks/ink-1.1.28-8bcvzs97.mjs +0 -1
  801. package/dist/chunks/insights-1.1.28-hcccjwbm.mjs +0 -870
  802. package/dist/chunks/install-1.1.28-azeaj14w.mjs +0 -1
  803. package/dist/chunks/install-github-app-1.1.28-jr58yj7c.mjs +0 -149
  804. package/dist/chunks/install-slack-app-1.1.28-ca73e004.mjs +0 -1
  805. package/dist/chunks/instrumentation-1.1.28-v5fj6zfn.mjs +0 -1
  806. package/dist/chunks/interactiveHelpers-1.1.28-k8pjx51r.mjs +0 -1
  807. package/dist/chunks/keybindings-1.1.28-szefym9t.mjs +0 -2
  808. package/dist/chunks/knowledge-1.1.28-twc2bf6q.mjs +0 -2
  809. package/dist/chunks/latestVersionCache-1.1.28-swqk1ppm.mjs +0 -1
  810. package/dist/chunks/loadAgentsDir-1.1.28-gvzkk593.mjs +0 -1
  811. package/dist/chunks/loadPluginHooks-1.1.28-j5fvzh5b.mjs +0 -1
  812. package/dist/chunks/log-1.1.28-744tvnnz.mjs +0 -1
  813. package/dist/chunks/main-1.1.28-ngd4qj24.mjs +0 -1
  814. package/dist/chunks/managedEnv-1.1.28-v3t5y08t.mjs +0 -1
  815. package/dist/chunks/mcp-1.1.28-bjtwbjwv.mjs +0 -17
  816. package/dist/chunks/mcp-1.1.28-k0p4t3rs.mjs +0 -1
  817. package/dist/chunks/mcp-1.1.28-pxxge6kd.mjs +0 -4
  818. package/dist/chunks/mcpb-1.1.28-rjvsf8d4.mjs +0 -1
  819. package/dist/chunks/memory-1.1.28-437zyh3m.mjs +0 -77
  820. package/dist/chunks/model-1.1.28-1weg50dg.mjs +0 -2
  821. package/dist/chunks/model-1.1.28-qbnnaa17.mjs +0 -1
  822. package/dist/chunks/node-1.1.28-f9q7m0bb.mjs +0 -15
  823. package/dist/chunks/node-1.1.28-q18jbvyv.mjs +0 -1
  824. package/dist/chunks/oauth-1.1.28-nv1bmgrh.mjs +0 -1
  825. package/dist/chunks/openaiShim-1.1.28-qt0bgn0p.mjs +0 -14
  826. package/dist/chunks/output-style-1.1.28-xpmnvzvz.mjs +0 -1
  827. package/dist/chunks/package-OS7RONXY-1.1.28-s8fma63p.mjs +0 -1
  828. package/dist/chunks/parseConnectUrl-1.1.28-9e7g8r3q.mjs +0 -1
  829. package/dist/chunks/parser-1.1.28-hahczgmc.mjs +0 -1
  830. package/dist/chunks/passes-1.1.28-73vxd2mh.mjs +0 -1
  831. package/dist/chunks/permissions-1.1.28-4dzfyh6m.mjs +0 -1
  832. package/dist/chunks/permissions-1.1.28-mh27xg9k.mjs +0 -3
  833. package/dist/chunks/plan-1.1.28-awnhzrk0.mjs +0 -1
  834. package/dist/chunks/plist-1.1.28-yf5fjx19.mjs +0 -1
  835. package/dist/chunks/plugin-1.1.28-m9j8cnkz.mjs +0 -29
  836. package/dist/chunks/pluginStartupCheck-1.1.28-w4yvsmat.mjs +0 -1
  837. package/dist/chunks/plugins-1.1.28-rgr19gwa.mjs +0 -9
  838. package/dist/chunks/preActionHook-1.1.28-bq157gz5.mjs +0 -2
  839. package/dist/chunks/print-1.1.28-g8smjzce.mjs +0 -57
  840. package/dist/chunks/process-1.1.28-tk5w2b0a.mjs +0 -1
  841. package/dist/chunks/processBashCommand-1.1.28-0a601ws2.mjs +0 -1
  842. package/dist/chunks/processSlashCommand-1.1.28-2mq2y7nd.mjs +0 -9
  843. package/dist/chunks/prompt-1.1.28-tj8v37yx.mjs +0 -1
  844. package/dist/chunks/prompt-1.1.28-x4mxe7n2.mjs +0 -1
  845. package/dist/chunks/prompts-1.1.28-z2rx5cb6.mjs +0 -1
  846. package/dist/chunks/protocolHandler-1.1.28-cvce24s6.mjs +0 -13
  847. package/dist/chunks/provider-1.1.28-wd0k9dj9.mjs +0 -2
  848. package/dist/chunks/providerProfiles-1.1.28-ansdm0bp.mjs +0 -1
  849. package/dist/chunks/providerValidation-1.1.28-xkpar3nj.mjs +0 -6
  850. package/dist/chunks/rate-limit-options-1.1.28-kv8762wq.mjs +0 -1
  851. package/dist/chunks/registerSubcommands-1.1.28-464hjqs0.mjs +0 -26
  852. package/dist/chunks/registry-1.1.28-a9wz892f.mjs +0 -1
  853. package/dist/chunks/release-notes-1.1.28-3dsn738r.mjs +0 -5
  854. package/dist/chunks/reload-plugins-1.1.28-8kfgxbx6.mjs +0 -2
  855. package/dist/chunks/remote-env-1.1.28-x46beyd7.mjs +0 -1
  856. package/dist/chunks/remoteBridgeCore-1.1.28-1pr9890h.mjs +0 -1
  857. package/dist/chunks/remoteSession-1.1.28-0dbsb9gr.mjs +0 -1
  858. package/dist/chunks/rename-1.1.28-m7z3qe6s.mjs +0 -1
  859. package/dist/chunks/replBridgeHandle-1.1.28-h8cn3e2b.mjs +0 -1
  860. package/dist/chunks/replLauncher-1.1.28-dc94xnm0.mjs +0 -1
  861. package/dist/chunks/resume-1.1.28-mr6necqk.mjs +0 -2
  862. package/dist/chunks/rewind-1.1.28-dk5z09nd.mjs +0 -1
  863. package/dist/chunks/rootOptions-1.1.28-g6c2bc4a.mjs +0 -1
  864. package/dist/chunks/runWorkflowHeadless-1.1.28-2r5z099n.mjs +0 -10
  865. package/dist/chunks/sandbox-adapter-1.1.28-9gkyj8zg.mjs +0 -1
  866. package/dist/chunks/sandbox-toggle-1.1.28-mvyww40e.mjs +0 -1
  867. package/dist/chunks/session-1.1.28-8xwfxnzq.mjs +0 -2
  868. package/dist/chunks/sessionDiscovery-1.1.28-6twnc7gm.mjs +0 -1
  869. package/dist/chunks/sessionFileAccessHooks-1.1.28-w6yt6st1.mjs +0 -1
  870. package/dist/chunks/sessionStorage-1.1.28-rfvff5qy.mjs +0 -1
  871. package/dist/chunks/settings-1.1.28-b3wrgfej.mjs +0 -1
  872. package/dist/chunks/setup-1.1.28-6vt58sg8.mjs +0 -12
  873. package/dist/chunks/sinks-1.1.28-rdvsx829.mjs +0 -1
  874. package/dist/chunks/skills-1.1.28-b53h2c2v.mjs +0 -1
  875. package/dist/chunks/startupProfiler-1.1.28-mk4vmdef.mjs +0 -1
  876. package/dist/chunks/startupUpdateCheck-1.1.28-0p8x3xh5.mjs +0 -1
  877. package/dist/chunks/state-1.1.28-fd27gqw0.mjs +0 -1
  878. package/dist/chunks/stats-1.1.28-fmezsyc4.mjs +0 -1
  879. package/dist/chunks/status-1.1.28-67a4bkc3.mjs +0 -1
  880. package/dist/chunks/stickers-1.1.28-0g68m8nd.mjs +0 -1
  881. package/dist/chunks/subprocessEnv-1.1.28-548a2kyv.mjs +0 -1
  882. package/dist/chunks/tasks-1.1.28-h3xfz4f4.mjs +0 -1
  883. package/dist/chunks/teamHelpers-1.1.28-4twfmqhf.mjs +0 -1
  884. package/dist/chunks/teammateModeSnapshot-1.1.28-7p6f8wg0.mjs +0 -1
  885. package/dist/chunks/teleport-1.1.28-zdrc7v25.mjs +0 -1
  886. package/dist/chunks/terminalSetup-1.1.28-fbkk7v65.mjs +0 -1
  887. package/dist/chunks/theme-1.1.28-tj36fh0f.mjs +0 -1
  888. package/dist/chunks/thinkback-1.1.28-x1bq9k3h.mjs +0 -1
  889. package/dist/chunks/thinkback-play-1.1.28-3jdfk2q7.mjs +0 -1
  890. package/dist/chunks/toolPool-1.1.28-fpt8xrnv.mjs +0 -1
  891. package/dist/chunks/toolSearch-1.1.28-mvqt18a8.mjs +0 -1
  892. package/dist/chunks/tools-1.1.28-a9t3fc6d.mjs +0 -1
  893. package/dist/chunks/trustedDevice-1.1.28-9e0gqehg.mjs +0 -1
  894. package/dist/chunks/turndown.cjs-1.1.28-dhs0afg7.mjs +0 -69
  895. package/dist/chunks/types-1.1.28-51fcbp8c.mjs +0 -1
  896. package/dist/chunks/ultrareviewCommand-1.1.28-d4ca5c58.mjs +0 -4
  897. package/dist/chunks/update-1.1.28-t9v2gpbh.mjs +0 -72
  898. package/dist/chunks/upgrade-1.1.28-12174ed0.mjs +0 -1
  899. package/dist/chunks/upload-1.1.28-whe18m8m.mjs +0 -7
  900. package/dist/chunks/upstreamproxy-1.1.28-bnjrek99.mjs +0 -14
  901. package/dist/chunks/url-handler-napi-1.1.28-0gh9dbnj.mjs +0 -1
  902. package/dist/chunks/usage-1.1.28-6m1bv4x5.mjs +0 -1
  903. package/dist/chunks/util-1.1.28-cvpx898d.mjs +0 -1
  904. package/dist/chunks/utils-1.1.28-ztac8cf7.mjs +0 -1
  905. package/dist/chunks/vim-1.1.28-rrv9qbr2.mjs +0 -1
  906. package/dist/chunks/watchLoop-1.1.28-rtznty0c.mjs +0 -13
  907. package/dist/chunks/watcher-1.1.28-7v4bd9pm.mjs +0 -1
  908. package/dist/chunks/wiki-1.1.28-m0y2n8rc.mjs +0 -132
  909. package/dist/chunks/workflows-1.1.28-k9wt163q.mjs +0 -1
  910. package/dist/chunks/worktree-1.1.28-5bjehwgc.mjs +0 -1
  911. package/dist/chunks/worktreeModeEnabled-1.1.28-d1yy7627.mjs +0 -1
  912. package/dist/chunks/wrapper-1.1.28-qgyry9mh.mjs +0 -7
  913. /package/dist/chunks/{cli-1.1.28-qzdtd4w8.mjs → cli-1.1.30-2cmsx74f.mjs} +0 -0
  914. /package/dist/chunks/{cli-1.1.28-f658tc1w.mjs → cli-1.1.30-dy1jvt4f.mjs} +0 -0
  915. /package/dist/chunks/{cli-1.1.28-m37hk495.mjs → cli-1.1.30-fa5djn9v.mjs} +0 -0
  916. /package/dist/chunks/{cli-1.1.28-7d7hz6b4.mjs → cli-1.1.30-s27erhy7.mjs} +0 -0
  917. /package/dist/chunks/{cli-1.1.28-43p679k7.mjs → cli-1.1.30-vxh27fdj.mjs} +0 -0
  918. /package/dist/chunks/{cli-1.1.28-m7x3ax7z.mjs → cli-1.1.30-y1pn2vb5.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{s6 as M,t6 as D}from"./cli-1.1.30-zpss0nht.mjs";import{Bia as S,Dha as _,Eia as p,Oha as l,Rha as L,Sha as c,vha as F}from"./cli-1.1.30-mebteknr.mjs";import{kna as Y,qna as m}from"./cli-1.1.30-qdnzwgr7.mjs";import{Mua as B}from"./cli-1.1.30-7dtpd1ra.mjs";function R(J){if(!J)return;let Q=J.trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"");if(!Q||Q.toLowerCase()==="github.com")return;return Q}function b(J){return J?`https://${J}/login/device/code`:T}function v(J){return J?`https://${J}/login/oauth/access_token`:f}function h(J){return J?`https://api.${J}/copilot_internal/v2/token`:G}function H(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||E}function P(J){return new Promise((Q)=>setTimeout(Q,J))}async function r(J){let Q=J?.clientId??H();if(!Q)throw new q("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let Z=J?.fetchImpl??fetch,j=J?.scope?.trim()||C,$=j===C?[j]:[j,C],z="Device code request failed.",y=b(R(J?.domain));for(let V of $){let W=await Z(y,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Q,scope:V})});if(!W.ok){let x=await W.text().catch(()=>"");z=`Device code request failed: ${W.status} ${x}`;let k=/invalid_scope/i.test(x);if(V!==C&&k)continue;throw new q(z)}let X=await W.json(),N=X.device_code,K=X.user_code,w=X.verification_uri;if(typeof N!=="string"||typeof K!=="string"||typeof w!=="string")throw new q("Malformed device code response from GitHub");return{device_code:N,user_code:K,verification_uri:w,expires_in:typeof X.expires_in==="number"?X.expires_in:900,interval:typeof X.interval==="number"?X.interval:5}}throw new q(z)}async function o(J,Q){let Z=Q?.clientId??H();if(!Z)throw new q("client_id required for polling");let j=Math.max(1,Q?.initialInterval??5),$=Q?.timeoutSeconds??900,z=Q?.fetchImpl??fetch,y=v(R(Q?.domain)),V=Date.now();while((Date.now()-V)/1000<$){let W=await z(y,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Z,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!W.ok){let K=await W.text().catch(()=>"");throw new q(`Token request failed: ${W.status} ${K}`)}let X=await W.json(),N=X.error;if(N==null){let K=X.access_token;if(typeof K==="string"&&K)return K;throw new q("No access_token in response")}if(N==="authorization_pending"){await P(j*1000);continue}if(N==="slow_down"){j=typeof X.interval==="number"?X.interval:j+5,await P(j*1000);continue}if(N==="expired_token")throw new q("Device code expired. Start the login flow again.");if(N==="access_denied")throw new q("Authorization was denied or cancelled.");throw new q(`GitHub OAuth error: ${N}`)}throw new q("Timed out waiting for authorization.")}async function e(J){await M(J)}async function I(J,Q){let Z=typeof Q==="function"?{fetchImpl:Q}:Q??{},j=Z.fetchImpl??fetch,$=h(R(Z.domain)),z=await j($,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...u}});if(!z.ok){let K=await z.text().catch(()=>"");throw new q(`Copilot token exchange failed: ${z.status} ${K}`)}let y=await z.json(),V=y.token,W=y.expires_at,X=y.refresh_in,N=y.endpoints;if(typeof V!=="string"||typeof W!=="number"||typeof X!=="number"||!N||typeof N!=="object"||typeof N.api!=="string")throw new q("Malformed Copilot token response");return{token:V,expires_at:W,refresh_in:X,endpoints:N}}var E="Iv1.b507a08c87ecfe98",T="https://github.com/login/device/code",f="https://github.com/login/oauth/access_token",G="https://api.github.com/copilot_internal/v2/token",C="read:user",u,q;var O=B(()=>{D();u={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"};q=class q extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function g(){return S()?.transport==="github_copilot"}function d(J){let Q=J.match(/exp=(\d+)/);if(Q){let $=Number(Q[1]);if(!Number.isNaN($))return Date.now()>=$*1000?"expired":"valid"}let Z=J.split(".");if(Z.length===3&&Z.every(($)=>/^[A-Za-z0-9_-]+$/.test($)))try{let $=Z[1].replace(/-/g,"+").replace(/_/g,"/"),z=$+"=".repeat((4-$.length%4)%4),y=Buffer.from(z,"base64").toString("utf8"),V=JSON.parse(y);if(V&&typeof V==="object"&&V.exp)return Date.now()>=V.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function a(){if(Y())return;try{return L().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function WJ(){if(Y())return;try{return(await L().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function jJ(){if(!g())return;if(Y())return;if(a())return}async function yJ(){if(!g())return!1;if(Y())return!1;if(A)return A;return A=(async()=>{try{let Z=L().read()?.githubModels,j=Z?.accessToken?.trim()||"",$=Z?.oauthAccessToken?.trim()||"";if(!j&&!$)return!1;if((j?d(j):"expired")==="valid")return!1;if(!$)return!1;let y=Z?.enterpriseDomain?.trim()||void 0,V=await I($,{domain:y});if(!n(V.token,$,y).success)return!1;let X=F().find((N)=>N.provider==="openai"&&N.extras?.githubToken!==void 0);if(X)_(X.id,{provider:"openai",name:X.name,baseUrl:X.baseUrl,model:X.model,apiKey:V.token,extras:{...X.extras,githubToken:V.token}});return!0}catch{return!1}finally{A=null}})(),A}function n(J,Q,Z){if(Y())return{success:!1,warning:"Bare mode: secure storage is disabled."};let j=J.trim();if(!j)return{success:!1,warning:"Token is empty."};let $=L(),z=$.read()||{},y=z[U],V=Q?.trim(),W={accessToken:j};if(V){if(W.oauthAccessToken=V,Z?.trim())W.enterpriseDomain=Z.trim()}else{if(y?.oauthAccessToken?.trim())W.oauthAccessToken=y.oauthAccessToken.trim();let N=Z?.trim()||y?.enterpriseDomain?.trim();if(N)W.enterpriseDomain=N}let X={...z,[U]:W};return $.update(X)}function zJ(){if(Y())return{success:!0};let J=L(),Z={...J.read()||{}};return delete Z[U],J.update(Z)}var U="githubModels",VJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED",A=null;var s=B(()=>{p();m();c();O();l()});
2
+ export{R as P2,r as Q2,o as R2,e as S2,I as T2,O as U2,U as V2,VJ as W2,a as X2,WJ as Y2,jJ as Z2,yJ as _2,n as $2,zJ as a3,s as b3};
@@ -0,0 +1,2 @@
1
+ import{gg as A,hg as J,ig as $,lg as G}from"./cli-1.1.30-g4c9mx6r.mjs";import{Cha as x,Oha as h,Uga as O,Xga as R,pha as b,qha as w,uha as S,vha as C}from"./cli-1.1.30-mebteknr.mjs";import{kla as N,tla as m}from"./cli-1.1.30-c9xtenrd.mjs";import{fna as F,qna as D}from"./cli-1.1.30-qdnzwgr7.mjs";import{Mua as E}from"./cli-1.1.30-7dtpd1ra.mjs";import{existsSync as T}from"fs";import{dirname as f}from"path";function M(q,z,Q={}){if(!T(q))return{outcome:"noSource",copiedKeys:0};let B=A(q);if(!B)return{outcome:"unparseableSource",copiedKeys:0};let L=T(z),U=L?A(z)??{}:{},I={...U},W=0;for(let V of Q.keys??Object.keys(B)){if(!(V in B))continue;if(V in U)continue;I[V]=B[V],W+=1}if(W===0&&L)return{outcome:"merged",copiedKeys:0};try{$(f(z)),J(z,I)}catch(V){return{outcome:"writeFailed",copiedKeys:0,message:V instanceof Error?V.message:String(V)}}return{outcome:"merged",copiedKeys:W}}var k=E(()=>{G()});import{chmodSync as v,existsSync as _,readFileSync as j,writeFileSync as y}from"fs";import{homedir as H}from"os";import{join as Z}from"path";function P(q){return Z(q,".claude")}function d(q,z,Q,B){let L=Z(q,".credentials.json"),U=Z(z,".credentials.json");if(!_(L))return 0;try{if(_(U)){let W=j(L),V=j(U);if(W.equals(V))return v(U,384),0;return B.push(`${U} already exists with different content — kept new file untouched`),0}$(z);let I=j(L);return y(U,I),v(U,384),g(I)}catch(I){return Q.push(`failed to copy .credentials.json: ${I instanceof Error?I.message:String(I)}`),0}}function g(q){try{let z=JSON.parse(q.toString("utf8"));if(z&&typeof z==="object")return Object.keys(z).length}catch{}return 1}function c(q,z,Q){let B=M(Z(q,"settings.json"),Z(z,"settings.json"),{keys:u});if(B.outcome==="unparseableSource")Q.push("legacy settings.json could not be parsed; skipped");else if(B.outcome==="writeFailed")Q.push(`failed to write settings.json: ${B.message}`);return B.copiedKeys}function K(q){return Z(q,`.claude${N()}.json`)}function l(q){return Z(q,`config${N()}.json`)}function p(q,z,Q){let B=K(q),L=l(z),U=M(B,L);if(U.outcome==="unparseableSource")return Q.push(`legacy ${B} could not be parsed; skipped`),0;if(U.outcome==="writeFailed")return Q.push(`failed to write ${L}: ${U.message}`),0;if(U.outcome==="noSource")return 0;return b(null),U.copiedKeys}function a(){let z=R().claudeToClaudinMigratedAt;if(typeof z==="string"&&z.length>0)return{migrated:!0,at:z};return{migrated:!1}}function n(q){O((z)=>({...z,claudeToClaudinMigratedAt:q}))}async function Zq(q={}){let z=q.homeDir??H(),Q=P(z),B=q.newDir??F(),L=[],U=[],I={tokens:0,settingsKeys:0,globalConfigKeys:0,anthropicProfileCreated:!1,errors:L,warnings:U,alreadyMigrated:!1,legacyDir:Q,newDir:B},W=_(K(z));if(!_(Q)&&!W)return I;let V=a();if(V.migrated&&!q.force)return I.alreadyMigrated=!0,I.migratedAt=V.at,I;try{$(B)}catch(Y){return L.push(`failed to create ${B}: ${Y instanceof Error?Y.message:String(Y)}`),I}if(_(Q))I.tokens=d(Q,B,L,U),I.settingsKeys=c(Q,B,L);if(I.globalConfigKeys=p(z,B,U),I.anthropicProfileCreated=i(B,I.tokens,U),L.length===0){let Y=new Date().toISOString();n(Y),I.migratedAt=Y}return I}function i(q,z,Q){if(z<=0)return!1;let B=Z(q,".credentials.json"),L;try{L=JSON.parse(j(B,"utf8"))}catch(X){return Q.push(`failed to read migrated .credentials.json for profile bootstrap: ${X instanceof Error?X.message:String(X)}`),!1}let I=L?.claudeAiOauth?.accessToken;if(typeof I!=="string"||I.length===0)return!1;let W=C();if(W.some((X)=>X.provider==="anthropic"))return!1;let V=S("anthropic"),Y={provider:"anthropic",name:V.name,baseUrl:V.baseUrl,model:V.model};try{if(!x(Y,{makeActive:W.length===0}))return Q.push("anthropic profile could not be saved after migration"),!1;return!0}catch(X){return Q.push(`failed to create anthropic profile: ${X instanceof Error?X.message:String(X)}`),!1}}function _q(q){if(q.alreadyMigrated)return`nothing to do (last run: ${q.migratedAt??"unknown"}). Pass --force to re-run.`;let z=[];z.push(`${q.tokens} token${q.tokens===1?"":"s"}`),z.push(`${q.settingsKeys} settings key${q.settingsKeys===1?"":"s"}`),z.push(`${q.globalConfigKeys} global config key${q.globalConfigKeys===1?"":"s"}`),z.push(q.anthropicProfileCreated?"anthropic profile created":"anthropic profile already present");let Q=z.join(", "),B=`. ${q.legacyDir} kept untouched. Run /import to bring skills, MCP servers, agents and commands.`,L=`${Q}${B}`;if(q.warnings.length>0)L+=` Warnings: ${q.warnings.join("; ")}`;if(q.errors.length>0)L+=` Errors: ${q.errors.join("; ")}`;return L}function o(q=H()){return _(P(q))}function t(q=H()){return _(K(q))}function $q(q=H()){let z=R();if(z.claudeToClaudinMigratedAt)return!1;if(z.legacyMigrationSkipped===!0)return!1;return o(q)||t(q)}function jq(){O((q)=>({...q,legacyMigrationSkipped:!0}))}var u;var s=E(()=>{m();w();G();k();D();h();u=["customApiKeyResponses","providerProfiles","activeProviderProfileId"]});
2
+ export{Zq as gd,_q as hd,o as id,$q as jd,jq as kd,s as ld};
@@ -0,0 +1,2 @@
1
+ import{Mua as l}from"./cli-1.1.30-7dtpd1ra.mjs";function o(i,e,r){var t=null;if(r!==void 0&&(t=""+r),e.key!==void 0&&(t=""+e.key),"key"in e){r={};for(var s in e)s!=="key"&&(r[s]=e[s])}else r=e;return e=r.ref,{$$typeof:n,type:i,key:t,ref:e!==void 0?e:null,props:r}}var n,d,u,E,a;var c=l(()=>{n=Symbol.for("react.transitional.element"),d=Symbol.for("react.fragment");u=d,E=o,a=o});
2
+ export{u as R5,E as S5,a as T5,c as U5};
@@ -0,0 +1,2 @@
1
+ import{Qo as T,Ro as Cq,cy as Pq,gy as uq}from"./cli-1.1.30-pc2wp50b.mjs";import{AZ as Iq,DZ as kq,zZ as Uq}from"./cli-1.1.30-w9wdamqc.mjs";import{B1 as hq,GZ as aq,V0 as L,X0 as O}from"./cli-1.1.30-569esepc.mjs";import{S5 as J,T5 as Q,U5 as vq}from"./cli-1.1.30-92t0b3hs.mjs";import{K7 as bq,L7 as Mq,c8 as Sq}from"./cli-1.1.30-wmpgbhw0.mjs";import{Cda as Nq,Eda as Bq,Gba as Xq,Hba as jq,Xga as Rq,qha as fq}from"./cli-1.1.30-mebteknr.mjs";import{ika as nq}from"./cli-1.1.30-d3n6dp6r.mjs";import{Iua as yq,Mua as Gq}from"./cli-1.1.30-7dtpd1ra.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 Wf,eq as Xf,Wq as Yf,LH as Zf,cq as _f};
@@ -0,0 +1,2 @@
1
+ import{wj as p,xj as z}from"./cli-1.1.30-053d5ph7.mjs";import{yj as q,zj as A}from"./cli-1.1.30-vhh5kt6v.mjs";import{S5 as k,U5 as h}from"./cli-1.1.30-92t0b3hs.mjs";import{Mua as y}from"./cli-1.1.30-7dtpd1ra.mjs";async function G(b,v){let f=await q();if(f.type==="message")return b(f.value),null;return k(p,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(w)=>{v.onChangeAPIKey(),b(w?"Login successful":"Login interrupted")}})}var B=y(()=>{z();A();h()});
2
+ export{G as uj,B as vj};
@@ -0,0 +1,2 @@
1
+ import{jV as m,kV as b,lV as H,nV as N,oV as K}from"./cli-1.1.30-q00wdmf9.mjs";import{E_ as x,F_ as M,I_ as D,K_ as R,U_ as L,W_ as O,X_ as _}from"./cli-1.1.30-wfs29rd9.mjs";import{Ofa as X,Tfa as Y,Xga as Z,cda as j,eda as P,ega as A,qha as G}from"./cli-1.1.30-mebteknr.mjs";import{ina as $,qna as I}from"./cli-1.1.30-qdnzwgr7.mjs";import{Mua as F}from"./cli-1.1.30-7dtpd1ra.mjs";function V(q){if(!q||!process.env.ANTHROPIC_UNIX_SOCKET)return q||{};let{ANTHROPIC_UNIX_SOCKET:z,ANTHROPIC_BASE_URL:B,ANTHROPIC_API_KEY:Q,ANTHROPIC_AUTH_TOKEN:w,CLAUDE_CODE_OAUTH_TOKEN:C,...U}=q;return U}function k(q){if(!q)return{};if(!$(process.env.CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST))return q;let z={};for(let[B,Q]of Object.entries(q))if(!H(B))z[B]=Q;return z}function p(q){if(!q||!W)return q||{};let z={};for(let[B,Q]of Object.entries(q))if(!W.has(B))z[B]=Q;return z}function J(q){return p(k(V(q)))}function S(){if(W===void 0)W=process.env.CLAUDE_CODE_ENTRYPOINT==="claude-desktop"?new Set(Object.keys(process.env)):null;Object.assign(process.env,J(Z().env));for(let z of h){if(z==="policySettings")continue;if(!j(z))continue;Object.assign(process.env,J(X(z)?.env))}m(),Object.assign(process.env,J(X("policySettings")?.env));let q=J(Y()?.env);for(let[z,B]of Object.entries(q))if(N.has(z.toUpperCase()))process.env[z]=B}function a(){Object.assign(process.env,J(Z().env)),Object.assign(process.env,J(Y()?.env)),x(),D(),O(),L()}var W,h;var T=F(()=>{b();M();G();I();K();R();_();P();A();h=["userSettings","flagSettings","policySettings"]});
2
+ export{S as qd,a as rd,T as sd};
@@ -0,0 +1,4 @@
1
+ import{Rg as IJ,Sg as bQ}from"./cli-1.1.30-d9sphwgb.mjs";import{ah as eq,bh as sq,ch as aJ}from"./cli-1.1.30-f9cckkn6.mjs";import{dh as AJ,eh as OQ}from"./cli-1.1.30-8e36e2c1.mjs";import{fh as vJ,gh as AQ}from"./cli-1.1.30-fm4mj7wy.mjs";import{hh as nq,ih as rJ}from"./cli-1.1.30-9s9qp1m7.mjs";import{jh as wq,kh as tq,lh as oJ}from"./cli-1.1.30-bzjamz5p.mjs";import{mh as bJ,nh as hQ}from"./cli-1.1.30-nhfsct38.mjs";import{AU as QQ,KR as Iq,NR as JQ,SJ as hJ,TJ as OJ,Tt as BJ,Tx as g,UJ as WQ,Up as h,Ut as UQ,Vp as lq,Vt as UJ,Wt as wJ,Wx as FQ,Xt as wQ,cy as pq,dy as jq,fy as _q,gy as jJ,jU as Fq,mH as kq,mU as ZJ,nH as RQ,oH as LJ,pH as PJ,pU as zJ,qH as WJ,rH as PQ,tR as QJ,vR as qQ,xp as NJ,yp as BQ}from"./cli-1.1.30-pc2wp50b.mjs";import{cV as FJ,eV as HJ,hV as HQ}from"./cli-1.1.30-tc8vq728.mjs";import{uX as RJ,yX as LQ}from"./cli-1.1.30-51kze0eh.mjs";import{$Y as yJ,XY as XJ,YY as XQ,aZ as yQ,iZ as Cq,jZ as NQ}from"./cli-1.1.30-p3m6d618.mjs";import{B1 as bq,GZ as Oq,V0 as N,X0 as Q}from"./cli-1.1.30-569esepc.mjs";import{R5 as R,S5 as K,T5 as Z,U5 as c}from"./cli-1.1.30-92t0b3hs.mjs";import{V5 as VQ}from"./cli-1.1.30-cjetc80p.mjs";import{B8 as KJ,U8 as iq,i9 as VJ,j9 as KQ,u8 as oq}from"./cli-1.1.30-wmpgbhw0.mjs";import{Lca as YQ,Tfa as GJ,ega as GQ,ffa as aq,gfa as gJ,jfa as Aq,oca as Mq,paa as $,qaa as zQ,rfa as xJ}from"./cli-1.1.30-mebteknr.mjs";import{fna as YJ,qna as ZQ}from"./cli-1.1.30-qdnzwgr7.mjs";import{Vsa as rq,apa as Hq}from"./cli-1.1.30-ehk76t59.mjs";import{Iua as Bq,Mua as Uq}from"./cli-1.1.30-7dtpd1ra.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);yJ();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:wJ,upperLimit:UJ},{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(XJ(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}]`:"",":"," ",NJ(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=BJ(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();NQ();OQ();xq();bQ();AQ();yQ();bq();XQ();FQ();BQ();HQ();JJ();RQ();UQ();YQ();PQ();GQ();wQ();WQ();LQ();c();Dq=Bq(Oq(),1),F=Bq(VQ(),1)});
4
+ export{xZ as Pg,aQ as Qg};
@@ -0,0 +1,2 @@
1
+ import{Ae as j,Be as E}from"./cli-1.1.30-r4ap6bq3.mjs";import{BM as w,FM as _,HM as $,MM as f,oM as X,oq as W,qM as Y,rq as v,zM as Z}from"./cli-1.1.30-pc2wp50b.mjs";import{Kea as T,Qia as V,Yia as N,eha as S,qha as A,xea as Q}from"./cli-1.1.30-mebteknr.mjs";import{Ama as R,xma as B}from"./cli-1.1.30-7h45a0x6.mjs";import{Xma as L,cna as K}from"./cli-1.1.30-gv4z21b9.mjs";import{Mua as y}from"./cli-1.1.30-7dtpd1ra.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:Q(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(S()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){V(q)}})()}var J=null,G=null;var U=y(()=>{E();A();R();K();N();f();w();v();T()});
2
+ export{d as Ac,P as Bc,t as Cc,U as Dc};
@@ -0,0 +1,2 @@
1
+ import{Lj as M,Mj as W,PO as O,QO as P,RO as Q,SO as U,VO as X}from"./cli-1.1.30-pc2wp50b.mjs";import{Mua as V}from"./cli-1.1.30-7dtpd1ra.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
2
+ export{F as hh,$ as ih};
@@ -0,0 +1,2 @@
1
+ import{GZ as O}from"./cli-1.1.30-569esepc.mjs";import{S5 as X,U5 as Q}from"./cli-1.1.30-92t0b3hs.mjs";import{V5 as b}from"./cli-1.1.30-cjetc80p.mjs";import{cha as W,qha as P}from"./cli-1.1.30-mebteknr.mjs";import{Iua as U}from"./cli-1.1.30-7dtpd1ra.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
2
+ export{V as Rb,C as Sb};
@@ -0,0 +1,2 @@
1
+ import{Be as Tq,xe as Jq}from"./cli-1.1.30-r4ap6bq3.mjs";import{Ge as zq,He as bq}from"./cli-1.1.30-wgmdrp34.mjs";import{$o as yq,BM as Rq,FG as r,GG as Gq,IM as qq,MM as Fq,WL as S,ZL as Nq,_o as n,aN as D,dN as Cq,iM as s,jM as _q,nM as a,qM as l,uM as t,xI as h,yI as fq,zM as e}from"./cli-1.1.30-pc2wp50b.mjs";import{B1 as Oq,EZ as i,FZ as Kq,GZ as Bq,V0 as F,X0 as C}from"./cli-1.1.30-569esepc.mjs";import{S5 as v,T5 as R,U5 as p}from"./cli-1.1.30-92t0b3hs.mjs";import{V5 as Lq}from"./cli-1.1.30-cjetc80p.mjs";import{Gaa as $,Gba as o,Hba as Hq,Iaa as Xq,Lca as vq,Qia as m,Yia as wq,oca as x,taa as g,uaa as Zq}from"./cli-1.1.30-mebteknr.mjs";import{Ama as Yq,xma as B}from"./cli-1.1.30-7h45a0x6.mjs";import{Wma as P,Zma as u,cna as Wq}from"./cli-1.1.30-gv4z21b9.mjs";import{Iua as d,Mua as Vq}from"./cli-1.1.30-7dtpd1ra.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await D(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(u(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(u(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=o();$(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await D();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(h,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function hq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:uq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(h,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(hq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',uq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Zq();Gq();yq();fq();Kq();Oq();Tq();Yq();Wq();Xq();vq();wq();Hq();Nq();Fq();Rq();_q();Cq();bq();p();k=d(Bq(),1),K=d(Lq(),1)});
2
+ export{Iq as ne,Yz as oe,Dq as pe};
@@ -0,0 +1,18 @@
1
+ import{MJ as Q,PJ as F}from"./cli-1.1.30-pc2wp50b.mjs";import{Ama as y,xma as b}from"./cli-1.1.30-7h45a0x6.mjs";import{Zma as x,cna as f}from"./cli-1.1.30-gv4z21b9.mjs";import{fna as w,qna as R}from"./cli-1.1.30-qdnzwgr7.mjs";import{Vsa as K,_oa as $,bpa as j}from"./cli-1.1.30-ehk76t59.mjs";import{Mua as v}from"./cli-1.1.30-7dtpd1ra.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 sh,G as th,D as uh,g as vh,M as wh,U as xh};
@@ -0,0 +1,3 @@
1
+ import{F as x0}from"./cli-1.1.30-pc6nevmd.mjs";import{ba as d0}from"./cli-1.1.30-g17zgmea.mjs";import{Mb as u0}from"./cli-1.1.30-sdxgwxfm.mjs";import{Rb as c0}from"./cli-1.1.30-a1phf5vm.mjs";import{jd as y0,ld as Vf}from"./cli-1.1.30-917y0q4m.mjs";import{od as $,pd as Uf}from"./cli-1.1.30-f6tarbyn.mjs";import{rd as O0,sd as Lf}from"./cli-1.1.30-9h8mm4pg.mjs";import{Nd as q0,Od as o0}from"./cli-1.1.30-m5ta5zwh.mjs";import{Uh as m0,Vh as Rf}from"./cli-1.1.30-x960htw5.mjs";import{$o as a,AH as E0,AU as Yf,BH as Qf,DG as T0,DU as N0,EG as l0,FG as n,FU as Zf,LN as U0,MG as i0,NN as n0,RG as m,SG as Q0,So as p,Sx as E,TG as P0,To as g0,UG as Jf,Uo as f0,Vo as S0,Wo as F0,Wx as J0,Xo as $0,_o as _,cT as A0,eT as D0,gT as Xf,mU as _0,nN as R0,wU as C0,xN as a0,yU as b0}from"./cli-1.1.30-pc2wp50b.mjs";import{$0 as l,B1 as o,GZ as u,V0 as e,X0 as A}from"./cli-1.1.30-569esepc.mjs";import{H3 as K0,S3 as zf}from"./cli-1.1.30-5r9pakw5.mjs";import{R5 as t,S5 as q,T5 as G,U5 as w}from"./cli-1.1.30-92t0b3hs.mjs";import{N6 as I0,S6 as Tf,r7 as k0,s7 as qf}from"./cli-1.1.30-wmpgbhw0.mjs";import{Bia as M0,Eia as Ff,Oga as H0,Qfa as H,Tfa as K,Uga as j,Wfa as w0,Xga as i,Yfa as G0,Zga as B0,ega as d,qha as X0}from"./cli-1.1.30-mebteknr.mjs";import{Aja as W,Eja as e0}from"./cli-1.1.30-322advqh.mjs";import{Wja as W0,cka as h0,ika as ff}from"./cli-1.1.30-d3n6dp6r.mjs";import{ula as I,xla as c}from"./cli-1.1.30-pgx35gqd.mjs";import{Ama as s0}from"./cli-1.1.30-7h45a0x6.mjs";import{ina as S,qna as t0}from"./cli-1.1.30-qdnzwgr7.mjs";import{Fpa as Y0,Lra as Z0,Vsa as r0}from"./cli-1.1.30-ehk76t59.mjs";import{Iua as x,Nua as B}from"./cli-1.1.30-7dtpd1ra.mjs";c();Xf();r0();import{appendFileSync as Wf}from"fs";Zf();zf();Q0();ff();Ff();c();d();i0();a();var s=x(u(),1);o();w();var v=x(u(),1);function D(){let T=v.c(1),f;if(T[0]===Symbol.for("react.memo_cache_sentinel"))f=G(A,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",q(l,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),T[0]=f;else f=T[0];return f}w();function r(T){let f=s.c(13),{serverName:F,onDone:L}=T,U;if(f[0]!==L||f[1]!==F)U=function(h){I("",{choice:h});f:switch(h){case"yes":case"yes_all":{let M=(K()||{}).enabledMcpjsonServers||[];if(!M.includes(F))H("localSettings",{enabledMcpjsonServers:[...M,F]});if(h==="yes_all")H("localSettings",{enableAllProjectMcpServers:!0});L();break f}case"no":{let M=(K()||{}).disabledMcpjsonServers||[];if(!M.includes(F))H("localSettings",{disabledMcpjsonServers:[...M,F]});L()}}},f[0]=L,f[1]=F,f[2]=U;else U=f[2];let J=U,V=`New MCP server found in .mcp.json: ${F}`,Q;if(f[3]!==J)Q=()=>J("no"),f[3]=J,f[4]=Q;else Q=f[4];let z;if(f[5]===Symbol.for("react.memo_cache_sentinel"))z=q(D,{}),f[5]=z;else z=f[5];let R;if(f[6]===Symbol.for("react.memo_cache_sentinel"))R=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],f[6]=R;else R=f[6];let X;if(f[7]!==J)X=q(n,{options:R,onChange:(Z)=>J(Z),onCancel:()=>J("no")}),f[7]=J,f[8]=X;else X=f[8];let Y;if(f[9]!==V||f[10]!==Q||f[11]!==X)Y=G(_,{title:V,color:"warning",onCancel:Q,children:[z,X]}),f[9]=V,f[10]=Q,f[11]=X,f[12]=Y;else Y=f[12];return Y}o0();c();o();d();S0();l0();$0();a();g0();var L0=x(u(),1);w();function z0(T){let f=L0.c(21),{serverNames:F,onDone:L}=T,U;if(f[0]!==L||f[1]!==F)U=function(C){let y=K()||{},p0=y.enabledMcpjsonServers||[],j0=y.disabledMcpjsonServers||[],[b,N]=q0(F,(P)=>C.includes(P));if(I("",{approved:b.length,rejected:N.length}),b.length>0){let P=[...new Set([...p0,...b])];H("localSettings",{enabledMcpjsonServers:P})}if(N.length>0){let P=[...new Set([...j0,...N])];H("localSettings",{disabledMcpjsonServers:P})}L()},f[0]=L,f[1]=F,f[2]=U;else U=f[2];let J=U,V;if(f[3]!==L||f[4]!==F)V=()=>{let C=(K()||{}).disabledMcpjsonServers||[],y=[...new Set([...C,...F])];H("localSettings",{disabledMcpjsonServers:y}),L()},f[3]=L,f[4]=F,f[5]=V;else V=f[5];let Q=V,z=`${F.length} new MCP servers found in .mcp.json`,R;if(f[6]===Symbol.for("react.memo_cache_sentinel"))R=q(D,{}),f[6]=R;else R=f[6];let X;if(f[7]!==F)X=F.map(v0),f[7]=F,f[8]=X;else X=f[8];let Y;if(f[9]!==Q||f[10]!==J||f[11]!==F||f[12]!==X)Y=q(T0,{options:X,defaultValue:F,onSubmit:J,onCancel:Q,hideIndexes:!0}),f[9]=Q,f[10]=J,f[11]=F,f[12]=X,f[13]=Y;else Y=f[13];let Z;if(f[14]!==Q||f[15]!==z||f[16]!==Y)Z=G(_,{title:z,subtitle:"Select any you wish to enable.",color:"warning",onCancel:Q,hideInputGuide:!0,children:[R,Y]}),f[14]=Q,f[15]=z,f[16]=Y,f[17]=Z;else Z=f[17];let h;if(f[18]===Symbol.for("react.memo_cache_sentinel"))h=q(e,{paddingX:1,children:q(A,{dimColor:!0,italic:!0,children:G(F0,{children:[q(p,{shortcut:"Space",action:"select"}),q(p,{shortcut:"Enter",action:"confirm"}),q(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),f[18]=h;else h=f[18];let O;if(f[19]!==Z)O=G(t,{children:[Z,h]}),f[19]=Z,f[20]=O;else O=f[20];return O}function v0(T){return{label:T,value:T}}Q0();J0();a0();n0();w();async function V0(T){let{servers:f}=R0("project"),F=Object.keys(f).filter((L)=>U0(L)==="pending");if(F.length===0)return;await new Promise((L)=>{let U=()=>void L();if(F.length===1&&F[0]!==void 0){let J=F[0];T.render(q(E,{children:q(m,{children:q(r,{serverName:J,onDone:U})})}))}else T.render(q(E,{children:q(m,{children:q(z0,{serverNames:F,onDone:U})})}))})}J0();Uf();qf();Yf();X0();Vf();X0();s0();t0();class g{frameDurations=[];firstRenderTime;lastRenderTime;record(T){let f=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=f;this.lastRenderTime=f,this.frameDurations.push(T)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let T=this.lastRenderTime-this.firstRenderTime;if(T<=0)return;let F=this.frameDurations.length/(T/1000),L=this.frameDurations.slice().sort((Q,z)=>z-Q),U=Math.max(0,Math.ceil(L.length*0.01)-1),J=L[U],V=J>0?1000/J:0;return{averageFps:Math.round(F*100)/100,low1PctFps:Math.round(V*100)/100}}}Lf();Tf();Jf();Rf();Qf();d();e0();w();function hf(){j((T)=>({...T,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function wf(T,f){return new Promise((F)=>{let L=(U)=>void F(U);T.render(f(L))})}async function x9(T,f,F){return Gf(T,f,{color:"error",beforeExit:F})}async function Gf(T,f,F){let{Text:L}=await import("./ink-1.1.30-av1t4b54.mjs"),U=F?.color,J=F?.exitCode??1;T.render(U?q(L,{color:U,children:f}):q(L,{children:f})),T.unmount(),await F?.beforeExit?.(),process.exit(J)}function k(T,f,F){return wf(T,(L)=>q(E,{onChangeAppState:F?.onChangeAppState,children:q(m,{children:f(L)})}))}async function u9(T,f){T.render(f),x0(),await T.waitUntilExit(),await D0(0)}async function c9(T,f,F,L,U){if(S(!1)||process.env.IS_DEMO)return!1;W("setupScreens_start");let J=I0(),V=!1;if(y0()){let{MigrationDialog:z}=await import("./MigrationDialog-1.1.30-15c4h452.mjs");await k(T,(R)=>q(z,{onDone:()=>void R()}))}let Q=i();if(J&&(!Q.theme||!Q.hasCompletedOnboarding)){V=!0;let{Onboarding:z}=await import("./Onboarding-1.1.30-xajg2p3r.mjs");await k(T,(R)=>q(z,{onDone:()=>{hf(),R()}}),{onChangeAppState:$})}if(!S(process.env.CLAUBBIT)){if(J&&!H0()){let{TrustDialog:z}=await import("./TrustDialog-1.1.30-qp3cr0fk.mjs");await k(T,(R)=>q(z,{commands:L,onDone:R}))}if(Z0(!0),W("setupScreens_after_trust_accepted"),h0(),W0(),N0(),W("setupScreens_after_growthbook_kick"),J){let{errors:z}=E0();if(z.length===0)await V0(T);W("setupScreens_after_mcp_approvals");let R=await b0();if(W("setupScreens_after_claudemd_check"),R){let X=C0(await _0(!0)),{ClaudeMdExternalIncludesDialog:Y}=await import("./ClaudeMdExternalIncludesDialog-1.1.30-bexsqxcb.mjs");await k(T,(Z)=>q(Y,{onDone:Z,isStandaloneDialog:!0,externalIncludes:X}))}}}u0(),O0(),W("setupScreens_after_env_applied"),setImmediate(()=>d0());{let z=M0();W("setupScreens_after_tryGetActiveProvider");let R=z?.transport==="anthropic"?z.apiKey?.trim():void 0;if(R){let X=k0(R),Y=B0(X);if(W("setupScreens_after_keyStatus"),Y==="new"){let{ApproveApiKey:Z}=await import("./ApproveApiKey-1.1.30-wtpe9n8e.mjs");await k(T,(h)=>q(Z,{customApiKeyTruncated:X,onDone:h}),{onChangeAppState:$})}}}if(W("setupScreens_after_custom_api_key"),(f==="bypassPermissions"||F)&&!w0()){let{BypassPermissionsModeDialog:z}=await import("./BypassPermissionsModeDialog-1.1.30-rcy7msd9.mjs");await k(T,(R)=>q(z,{onAccept:R}))}if(f==="auto"&&!G0()){let{AutoModeOptInDialog:z}=await import("./AutoModeOptInDialog-1.1.30-bjm91hx0.mjs");await k(T,(R)=>q(z,{onAccept:R,onDecline:()=>A0(1),declineExits:!0}))}return W("setupScreens_end"),V}function d9(T){m0();let f=0,F=P0(T);if(F.stdin)I("",{});let L=new g,U=c0();Y0(U);let J=process.env.CLAUDIN_FRAME_TIMING_LOG;return{getFpsMetrics:()=>L.getMetrics(),stats:U,renderOptions:{...F,onFrame:(V)=>{if(L.record(V.durationMs),U.observe("frame_duration_ms",V.durationMs),J&&V.phases){let Q=JSON.stringify({total:V.durationMs,...V.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
2
+ `;Wf(J,Q)}if(K0())return;for(let Q of V.flickers){if(Q.reason==="resize")continue;let z=Date.now();if(z-f<1000)I("",{desiredHeight:Q.desiredHeight,actualHeight:Q.availableHeight,reason:Q.reason});f=z}}}}}
3
+ export{hf as x,wf as y,x9 as z,Gf as A,k as B,u9 as C,c9 as D,d9 as E};
@@ -0,0 +1,4 @@
1
+ import{Yh as g,Zh as Py}from"./cli-1.1.30-63ndyxgm.mjs";import{Aj as s,Cj as d,Dj as $y}from"./cli-1.1.30-cb34mrvh.mjs";import{BM as vy,Ct as O,Er as Wy,IM as x,IT as c,Kt as Xy,MM as Ny,Wl as F,_l as Iy,aQ as l,cU as py,dp as V,fp as Y,fr as u,hp as D,hy as q,iM as Q,iy as Zy,jM as Ry,kp as M,lm as L,lp as C,mp as T,op as f,or as A,pm as Jy,rM as n,up as Qy,vr as E}from"./cli-1.1.30-pc2wp50b.mjs";import{KX as i,LX as Oy}from"./cli-1.1.30-ty0pw373.mjs";import{lZ as _,mZ as a,nZ as t,rZ as Uy}from"./cli-1.1.30-p3m6d618.mjs";import{DZ as hy,xZ as o}from"./cli-1.1.30-w9wdamqc.mjs";import{T0 as k,U0 as Ky}from"./cli-1.1.30-569esepc.mjs";import{D_ as zy,U8 as qy,k_ as Z,t8 as m,u8 as B}from"./cli-1.1.30-wmpgbhw0.mjs";import{Z_ as p,__ as ry}from"./cli-1.1.30-4d90v0pd.mjs";import{Cda as j,Eba as wy,Eda as jy,Gba as X,Hba as Sy,Ofa as b,Tfa as K,Uga as R,Xga as w,ega as ky,hba as h,qha as v,xba as H}from"./cli-1.1.30-mebteknr.mjs";import{Yja as z,ika as Gy}from"./cli-1.1.30-d3n6dp6r.mjs";import{Ama as yy,xma as U}from"./cli-1.1.30-7h45a0x6.mjs";v();function Vy(y){let r=w().numStartups;R((G)=>{let S=G.tipsHistory??{};if(S[y]===r)return G;return{...G,tipsHistory:{...S,[y]:r}}})}function N(y){let r=w(),G=r.tipsHistory?.[y];if(!G)return 1/0;return r.numStartups-G}ry();yy();Xy();ky();hy();Ky();Py();Zy();Iy();zy();Oy();v();Wy();jy();Jy();wy();Qy();qy();Sy();Ny();vy();Ry();py();Gy();$y();Uy();var W;async function Hy(){if(W!==void 0)return W;let y=await n();return W=Q in y,W}async function P(y,r,G){if(!await Hy())return!1;if(x(`${y}@${Q}`))return!1;let{bashTools:S}=r??{};if(G.cli&&S?.size){if(G.cli.some((I)=>S.has(I)))return!0}if(G.filePath&&r?.readFileState){if(L(r.readFileState).some(($)=>G.filePath.test($)))return!0}return!1}var by=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return w().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=w();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=w(),r=K(),G=Boolean(y.lastPlanModeUse),S=Boolean(r?.permissions?.defaultMode);return G&&!S}catch(y){return U(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=w();return await H()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${q("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${q("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${q("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=w();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(c())return!1;return await i()>=2}},{id:"terminal-setup",content:async()=>j.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=w();if(j.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>j.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=w();return Boolean((j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>j.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!o())return!1;let y=w();return!(j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return w().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&p.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDIN_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>X()==="windows"&&process.env.CLAUDIN_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>K().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return w().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${j.terminal==="vscode"?"code":j.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!V())return!1;if(X()!=="macos")return!1;switch(j.terminal){case"vscode":return!await T();case"cursor":return!await M();case"windsurf":return!await C();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(Y())return!1;if((await D()).length!==0)return!1;return(await f()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!w().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!w().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return w().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!j.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>X()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!O()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>O()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>l()&&w().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return w().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${q("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${q("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=w(),G=m()==="opusplan",S=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return G&&S>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
2
+ ${k("suggestion",y.theme)(`/plugin install frontend-design@${Q}`)}`},cooldownSessions:3,isRelevant:async(y)=>P("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
3
+ ${k("suggestion",y.theme)(`/plugin install vercel@${Q}`)}`},cooldownSessions:3,isRelevant:async(y)=>P("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let G=k("suggestion",y.theme)("/effort high");return z("tengu_tide_elm","off")==="copy_b"?`Use ${G} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${G} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;if(!u(B()))return!1;if(b("policySettings")?.effortLevel!==void 0)return!1;if(E()!==void 0)return!1;let y=A();if(y==="high"||y==="max")return!1;return z("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${r("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${r('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;return z("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_timber_lark","off")==="copy_b"?`Use ${r("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${r("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;if(!F())return!1;return z("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let r=k("claude",y.theme),G=t();return G?`Share Claudin and earn ${r(a(G))} of extra usage · ${r("/passes")}`:`You have free guest passes to share · ${r("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(w().hasVisitedPasses)return!1;let{eligible:r}=_();return r}},{id:"overage-credit",content:async(y)=>{let r=k("claude",y.theme),G=s(),S=G?d(G):null;if(!S)return"";return`${r(`${S} in extra usage, on us`)} · third-party apps · ${r("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>g()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return w().numStartups>5}}],my=[];function By(){let r=K().spinnerTipsOverride;if(!r?.tips?.length)return[];return r.tips.map((G,S)=>({id:`custom-tip-${S}`,content:async()=>G,cooldownSessions:0,isRelevant:async()=>!0}))}async function kr(y){let G=K().spinnerTipsOverride,S=By();if(G?.excludeDefault&&S.length>0)return S;let I=[...by,...my],$=await Promise.all(I.map((J)=>J.isRelevant(y)));return[...I.filter((J,e)=>$[e]).filter((J)=>N(J.id)>=J.cooldownSessions),...S]}
4
+ export{Vy as wb,N as xb,kr as yb};
@@ -0,0 +1,2 @@
1
+ import{D_ as WB,l_ as Z,o_ as T,u_ as f}from"./cli-1.1.30-wmpgbhw0.mjs";import{Dda as _,Eda as KB,Xga as A,hha as v,qha as QB,taa as O,uaa as BB}from"./cli-1.1.30-mebteknr.mjs";import{Gka as w,Ika as JB}from"./cli-1.1.30-1ybfyckn.mjs";import{ina as F,qna as e}from"./cli-1.1.30-qdnzwgr7.mjs";import{Dna as S,Ena as s,Vsa as a,Woa as R,hoa as I,ioa as i,toa as M,uoa as m}from"./cli-1.1.30-ehk76t59.mjs";import{sta as q,tta as t}from"./cli-1.1.30-m62yy9h8.mjs";import{Mua as K}from"./cli-1.1.30-7dtpd1ra.mjs";function u(B,J){return B+b(h()*(J-B+1))}var b,h,D;var G=K(()=>{b=Math.floor,h=Math.random;D=u});function p(B){var J=B.length;return J?B[D(0,J-1)]:void 0}var Y;var H=K(()=>{G();Y=p});function l(B,J){return M(J,function(X){return B[X]})}var z;var P=K(()=>{m();z=l});function c(B){return B==null?[]:z(B,I(B))}var U;var C=K(()=>{P();i();U=c});function n(B){return Y(U(B))}var k;var E=K(()=>{H();C();k=n});function o(B){var J=S(B)?Y:k;return J(B)}var kB;var r=K(()=>{H();E();s();kB=o});async function vB(){if(W===null&&!Q)Q=YB(),W=await Q,Q=null,g.cache.clear?.()}function TB(){W=null,Q=null,g.cache.clear?.(),j.cache.clear?.()}function XB(){if(W!==null)return W;let B=Z();if(B?.emailAddress)return B.emailAddress;return}async function YB(){let B=Z();if(B?.emailAddress)return B.emailAddress;return j()}var W=null,Q=null,g,j;var ZB=K(()=>{BB();t();a();WB();QB();JB();KB();e();g=q((B)=>{let J=v(),X=A(),$,N,L;if(B){if($=T()??void 0,N=f()??void 0,$&&X.claudeCodeFirstTokenDate){let x=new Date(X.claudeCodeFirstTokenDate).getTime();if(!isNaN(x))L=x}}let V=Z(),d=V?.organizationUuid,y=V?.accountUuid;return{deviceId:J,sessionId:R(),email:XB(),appVersion:"99.0.0",platform:_(),organizationUuid:d,accountUuid:y,userType:void 0,subscriptionType:$,rateLimitTier:N,firstTokenTime:L,...F(process.env.GITHUB_ACTIONS)&&{githubActionsMetadata:{actor:process.env.GITHUB_ACTOR,actorId:process.env.GITHUB_ACTOR_ID,repository:process.env.GITHUB_REPOSITORY,repositoryId:process.env.GITHUB_REPOSITORY_ID,repositoryOwner:process.env.GITHUB_REPOSITORY_OWNER,repositoryOwnerId:process.env.GITHUB_REPOSITORY_OWNER_ID}}}});j=q(async()=>{let B=await O("git config --get user.email",{shell:!0,reject:!1,cwd:w()});return B.exitCode===0&&B.stdout?B.stdout.trim():void 0})});
2
+ export{kB as pV,r as qV,vB as rV,TB as sV,j as tV,ZB as uV};
@@ -0,0 +1,4 @@
1
+ import{Ae as A,Be as O,ve as j,we as w,xe as _,ye as D,ze as L}from"./cli-1.1.30-r4ap6bq3.mjs";import{HB as W,KB as V,MB as C,NM as X,OM as I,eT as h,gT as y,oq as R,rq as b}from"./cli-1.1.30-pc2wp50b.mjs";import{Qia as U,Yia as S,paa as Q,qaa as N}from"./cli-1.1.30-mebteknr.mjs";import{ula as K,xla as v}from"./cli-1.1.30-pgx35gqd.mjs";import{Cma as x,Gma as M}from"./cli-1.1.30-q8sd13v9.mjs";import{Xma as B,cna as F}from"./cli-1.1.30-gv4z21b9.mjs";N();F();y();S();I();b();M();C();v();O();function Z(z,J,q){U(z);let G=q?`${J} plugin "${q}"`:J==="disable-all"?"disable all plugins":`${J} plugins`;console.error(`${Q.cross} Failed to ${G}: ${B(z)}`);let H=q?(()=>{let{name:Y,marketplace:$}=R(q);return{_PROTO_plugin_name:Y,...$&&{_PROTO_marketplace_name:$},...W(Y,$,X())}})():{};K("",{command:J,error_category:V(z),...H}),process.exit(1)}async function g(z,J="user"){try{console.log(`Installing plugin "${z}"...`);let q=await j(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope||J,install_source:"cli-explicit",...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"install",z)}}async function a(z,J="user",q=!1){try{let G=await w(z,J,!q);if(!G.success)throw Error(G.message);console.log(`${Q.tick} ${G.message}`);let{name:H,marketplace:Y}=R(G.pluginId||z);K("",{_PROTO_plugin_name:H,...Y&&{_PROTO_marketplace_name:Y},scope:G.scope||J,...W(H,Y,X())}),process.exit(0)}catch(G){Z(G,"uninstall",z)}}async function i(z,J){try{let q=await _(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"enable",z)}}async function u(z,J){try{let q=await D(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"disable",z)}}async function n(){try{let z=await L();if(!z.success)throw Error(z.message);console.log(`${Q.tick} ${z.message}`),K("",{}),process.exit(0)}catch(z){Z(z,"disable-all")}}async function r(z,J){try{x(`Checking for updates for plugin "${z}" at ${J} scope…
2
+ `);let q=await A(z,J);if(!q.success)throw Error(q.message);if(x(`${Q.tick} ${q.message}
3
+ `),!q.alreadyUpToDate){let{name:G,marketplace:H}=R(q.pluginId||z);K("",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},old_version:q.oldVersion||"unknown",new_version:q.newVersion||"unknown",...W(G,H,X())})}await h(0)}catch(q){Z(q,"update",z)}}
4
+ export{g as h,a as i,i as j,u as k,n as l,r as m};
@@ -0,0 +1,2 @@
1
+ import{ina as z,qna as J}from"./cli-1.1.30-qdnzwgr7.mjs";import{Mua as F}from"./cli-1.1.30-7dtpd1ra.mjs";function V(b){D=b}function W(){let b=D?.()??{};if(!z(process.env.CLAUDIN_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let q={...process.env,...b};for(let w of L)delete q[w],delete q[`INPUT_${w}`];return q}var L,D;var M=F(()=>{J();L=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
2
+ export{V as VV,W as WV,M as XV};
@@ -0,0 +1,2 @@
1
+ import{Mua as s}from"./cli-1.1.30-7dtpd1ra.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/1.1.30 (${e}${n}${t})`}var r=()=>{};
2
+ export{c as d6,i as e6,r as f6};
@@ -0,0 +1,24 @@
1
+ import{Hb as vY}from"./cli-1.1.30-y1pn2vb5.mjs";import{Ad as iQ,xd as BY}from"./cli-1.1.30-1j4dyr5r.mjs";import{wh as Q0,xh as u6}from"./cli-1.1.30-a2xctbvc.mjs";import{jj as MY,kj as G6}from"./cli-1.1.30-fct5wt67.mjs";import{$v as n0,BB as bY,BM as r6,Ct as P0,DB as K6,FG as M0,Ft as F0,GG as r9,GL as iY,GQ as fY,Gt as TZ,JL as j6,Jl as B9,KK as o,Kl as x6,Kt as n9,Ll as L9,MS as kY,Mk as WZ,Ml as z9,Mn as yZ,Nl as bZ,OC as CY,Ol as eZ,PC as H6,PQ as hY,Pk as j0,Pl as v9,Pn as UZ,Pv as k0,QK as RY,Ql as QZ,Qn as f0,Qv as x0,RQ as SY,Rl as Z0,Rv as u0,Sl as q9,Sq as nZ,Sv as p0,TO as NY,Tl as D9,Tq as pY,Tv as c0,Tx as b0,Uk as EY,Ul as oY,Uq as PZ,Uv as m0,VO as nQ,VQ as B6,VS as xY,Vq as $Y,Vv as uZ,WA as wY,Wv as pZ,Wx as i9,XA as jY,XK as TY,Xv as d0,YA as Q6,Yv as g0,ZS as LY,Zv as l0,_v as a0,aT as zY,aw as i0,bw as r0,cw as o0,dS as SZ,dw as s0,ew as HQ,hB as JY,hS as kZ,hz as FY,iB as lQ,kz as W6,mE as HY,nB as OY,nE as aQ,oM as $9,pB as X6,qM as P9,uC as IY,uM as F9,vC as J6,vu as h0,wu as KQ,xE as a,xI as I0,xu as GY,yI as o9,yq as E9,yu as gQ,zE as N6,zS as jZ,zq as i6,zu as PY}from"./cli-1.1.30-pc2wp50b.mjs";import{CX as Y9,GX as R6}from"./cli-1.1.30-ty0pw373.mjs";import{$Y as E0,IY as O0,JY as d9,WY as y0,XY as U0,YY as g9,aZ as l9,gZ as $0,hZ as a9}from"./cli-1.1.30-p3m6d618.mjs";import{B1 as m9,GZ as c9,V0 as u,X0 as b}from"./cli-1.1.30-569esepc.mjs";import{R5 as l,S5 as y,T5 as M,U5 as K0}from"./cli-1.1.30-92t0b3hs.mjs";import{V5 as p9}from"./cli-1.1.30-cjetc80p.mjs";import{D_ as w6,G9 as nY,_7 as aY,c8 as _6}from"./cli-1.1.30-wmpgbhw0.mjs";import{Baa as KY,Daa as dQ,Dea as U9,Eba as l6,Jia as _0,Kea as n6,Lca as a6,Mia as u9,Qia as t,Rca as Z9,Tfa as lY,Vea as dY,Wca as C6,Wea as gY,Yea as D6,Yia as w0,cba as O9,ega as A6,jca as CZ,lca as k9,oca as y9,paa as AZ,qaa as S9}from"./cli-1.1.30-mebteknr.mjs";import{hja as H0,pja as N0,vja as h9}from"./cli-1.1.30-322advqh.mjs";import{Zja as rY,ika as U6}from"./cli-1.1.30-d3n6dp6r.mjs";import{Aka as Y,Bka as JZ,Cka as D,Dka as OZ}from"./cli-1.1.30-yy92v8yq.mjs";import{Gka as mY,Ika as q6,Kka as RZ,Nka as B0,Oka as L0,Pka as z0,Qka as v0,Ska as q0,Tka as D0,dla as A0,jla as x9}from"./cli-1.1.30-1ybfyckn.mjs";import{ula as d,xla as wZ}from"./cli-1.1.30-pgx35gqd.mjs";import{Ala as eY,Ama as GZ,Cla as I6,ama as e,bma as VY,fma as $Z,xma as I}from"./cli-1.1.30-7h45a0x6.mjs";import{Cma as WY,Gma as mQ}from"./cli-1.1.30-q8sd13v9.mjs";import{Jma as XY,Xma as j9,Yma as oZ,cna as dZ}from"./cli-1.1.30-gv4z21b9.mjs";import{Dra as G9,Era as vZ,Fra as J9,Hra as H9,Ira as Y0,Kra as N9,Ssa as _Y,Vsa as HZ,Woa as NZ,apa as X0,bpa as tY,lqa as cY}from"./cli-1.1.30-ehk76t59.mjs";import{Iua as J0,Lua as hZ,Mua as _Z,Nua as aZ}from"./cli-1.1.30-7dtpd1ra.mjs";var VQ={};hZ(VQ,{selectableUserMessagesFilter:()=>T0,messagesAfterAreOnlySynthetic:()=>XQ,MessageSelector:()=>t9});import{randomUUID as s9}from"crypto";import*as YZ from"path";function C0(Q){return Q.type==="text"}function fZ(Q){return Q==="summarize"||Q==="summarize_up_to"}function t9({messages:Q,onPreRestore:Z,onRestoreMessage:X,onRestoreCode:W,onSummarize:V,onClose:H,preselectedMessage:G}){let K=b0((j)=>j.fileHistory),[B,z]=R.useState(void 0),J=P0(),L=R.useMemo(s9,[]),_=R.useMemo(()=>[...Q.filter(T0),{...o({content:""}),uuid:L}],[Q,L]),[O,q]=R.useState(_.length-1),P=Math.max(0,Math.min(O-Math.floor(IZ/2),_.length-IZ)),f=_.length>1,[v,F]=R.useState(G),[U,h]=R.useState(void 0);R.useEffect(()=>{if(!G||!J)return;let j=!1;return TZ(K,G.uuid).then((T)=>{if(!j)h(T)}),()=>{j=!0}},[G,J,K]);let[E,w]=R.useState(!1),[p,i]=R.useState(null),[r,C]=R.useState("both"),[S,k]=R.useState(""),[A,$]=R.useState("");function N(j){let T=j?[{value:"both",label:"Restore code and conversation"},{value:"conversation",label:"Restore conversation"},{value:"code",label:"Restore code"}]:[{value:"conversation",label:"Restore conversation"}],c={type:"input",placeholder:"add context (optional)",initialValue:"",allowEmptySubmitToCancel:!0,showLabelWithValue:!0,labelValueSeparator:": "};return T.push({value:"summarize",label:"Summarize from here",...c,onChange:k}),T.push({value:"nevermind",label:"Never mind"}),T}R.useEffect(()=>{d("",{})},[]);async function x(j){Z(),w(!0);try{await X(j),w(!1),H()}catch(T){t(T),w(!1),z(`Failed to restore the conversation:
2
+ ${T}`)}}async function g(j){let T=Q.indexOf(j),c=Q.length-1-T;if(d("",{index_from_end:c,message_type:j.type,is_current_prompt:!1}),!Q.includes(j)){H();return}if(!J){await x(j);return}let m=await TZ(K,j.uuid);F(j),h(m)}async function XZ(j){if(d("",{option:j}),!v){z("Message not found.");return}if(j==="nevermind"){if(G)H();else F(void 0);return}if(fZ(j)){Z(),w(!0),i(j),z(void 0);try{let m=j==="summarize_up_to"?"up_to":"from",ZZ=(m==="up_to"?A:S).trim()||void 0;await V(v,ZZ,m),w(!1),i(null),F(void 0),H()}catch(m){t(m),w(!1),i(null),F(void 0),z(`Failed to summarize:
3
+ ${m}`)}return}Z(),w(!0),z(void 0);let T=null,c=null;if(j==="code"||j==="both")try{await W(v)}catch(m){T=m,t(T)}if(j==="conversation"||j==="both")try{await X(v)}catch(m){c=m,t(c)}if(w(!1),F(void 0),c&&T)z(`Failed to restore the conversation and code:
4
+ ${c}
5
+ ${T}`);else if(c)z(`Failed to restore the conversation:
6
+ ${c}`);else if(T)z(`Failed to restore the code:
7
+ ${T}`);else H()}let VZ=E0(),s=R.useCallback(()=>{if(v&&!G){F(void 0);return}d("",{}),H()},[H,v,G]),M9=R.useCallback(()=>q((j)=>Math.max(0,j-1)),[]),I9=R.useCallback(()=>q((j)=>Math.min(_.length-1,j+1)),[_.length]),C9=R.useCallback(()=>q(0),[]),R9=R.useCallback(()=>q(_.length-1),[_.length]),T9=R.useCallback(()=>{let j=_[O];if(j)g(j)},[_,O,g]);y0("confirm:no",s,{context:"Confirmation",isActive:!v}),U0({"messageSelector:up":M9,"messageSelector:down":I9,"messageSelector:top":C9,"messageSelector:bottom":R9,"messageSelector:select":T9},{context:"MessageSelector",isActive:!E&&!B&&!v&&f});let[V0,W0]=R.useState({});R.useEffect(()=>{async function j(){if(!J)return;Promise.all(_.map(async(T,c)=>{if(T.uuid!==L){let m=F0(K,T.uuid),ZZ=_.at(c+1),DZ=m?QQ(Q,T.uuid,ZZ?.uuid!==L?ZZ?.uuid:void 0):void 0;if(DZ!==void 0)W0((n)=>({...n,[c]:DZ}));else W0((n)=>({...n,[c]:void 0}))}}))}j()},[_,Q,L,K,J]);let qZ=J&&U?.filesChanged&&U.filesChanged.length>0,f9=!B&&!v&&!G&&f;return M(u,{flexDirection:"column",width:"100%",children:[y($0,{color:"suggestion"}),M(u,{flexDirection:"column",marginX:1,gap:1,children:[y(b,{bold:!0,color:"suggestion",children:"Rewind"}),B&&y(l,{children:M(b,{color:"error",children:["Error: ",B]})}),!f&&y(l,{children:y(b,{children:"Nothing to rewind to yet."})}),!B&&v&&f&&M(l,{children:[M(b,{children:["Confirm you want to restore"," ",!U&&"the conversation ","to the point before you sent this message:"]}),M(u,{flexDirection:"column",paddingLeft:1,borderStyle:"single",borderRight:!1,borderTop:!1,borderBottom:!1,borderLeft:!0,borderLeftDimColor:!0,children:[y(G0,{userMessage:v,color:"text",isCurrent:!1}),M(b,{dimColor:!0,children:["(",N0(new Date(v.timestamp)),")"]})]}),y(ZQ,{selectedRestoreOption:r,canRestoreCode:!!qZ,diffStatsForRestore:U}),E&&fZ(p)?M(u,{flexDirection:"row",gap:1,children:[y(I0,{}),y(b,{children:"Summarizing…"})]}):y(M0,{isDisabled:E,options:N(!!qZ),defaultFocusValue:qZ?"both":"conversation",onFocus:(j)=>C(j),onChange:(j)=>XZ(j),onCancel:()=>G?H():F(void 0)}),qZ&&y(u,{marginBottom:1,children:M(b,{dimColor:!0,children:[AZ.warning," Rewinding does not affect files edited manually or via bash."]})})]}),f9&&M(l,{children:[J?y(b,{children:"Restore the code and/or conversation to the point before…"}):y(b,{children:"Restore and fork the conversation to the point before…"}),y(u,{width:"100%",flexDirection:"column",children:_.slice(P,P+IZ).map((j,T)=>{let c=P+T,m=c===O,ZZ=j.uuid===L,DZ=c in V0,n=V0[c],MZ=n?.filesChanged&&n.filesChanged.length;return M(u,{height:J?3:2,overflow:"hidden",width:"100%",flexDirection:"row",children:[y(u,{width:2,minWidth:2,children:m?M(b,{color:"permission",bold:!0,children:[AZ.pointer," "]}):y(b,{children:" "})}),M(u,{flexDirection:"column",children:[y(u,{flexShrink:1,height:1,overflow:"hidden",children:y(G0,{userMessage:j,color:m?"suggestion":void 0,isCurrent:ZZ,paddingRight:10})}),J&&DZ&&y(u,{height:1,flexDirection:"row",children:n?y(l,{children:y(b,{dimColor:!m,color:"inactive",children:MZ?M(l,{children:[MZ===1&&n.filesChanged[0]?`${YZ.basename(n.filesChanged[0])} `:`${MZ} files changed `,y(R0,{diffStats:n})]}):y(l,{children:"No code changes"})})}):M(b,{dimColor:!0,color:"warning",children:[AZ.warning," No code restore"]})})]})]},j.uuid)})})]}),!v&&y(b,{dimColor:!0,italic:!0,children:VZ.pending?M(l,{children:["Press ",VZ.keyName," again to exit"]}):M(l,{children:[!B&&f&&"Enter to continue · ","Esc to exit"]})})]})]})}function e9(Q){switch(Q){case"summarize":return"Messages after this point will be summarized.";case"summarize_up_to":return"Preceding messages will be summarized. This and subsequent messages will remain unchanged — you will stay at the end of the conversation.";case"both":case"conversation":return"The conversation will be forked.";case"code":case"nevermind":return"The conversation will be unchanged."}}function ZQ(Q){let Z=KZ.c(11),{selectedRestoreOption:X,canRestoreCode:W,diffStatsForRestore:V}=Q,H=W&&(X==="both"||X==="code"),G;if(Z[0]!==X)G=e9(X),Z[0]=X,Z[1]=G;else G=Z[1];let K;if(Z[2]!==G)K=y(b,{dimColor:!0,children:G}),Z[2]=G,Z[3]=K;else K=Z[3];let B;if(Z[4]!==V||Z[5]!==X||Z[6]!==H)B=!fZ(X)&&(H?y(YQ,{diffStatsForRestore:V}):y(b,{dimColor:!0,children:"The code will be unchanged."})),Z[4]=V,Z[5]=X,Z[6]=H,Z[7]=B;else B=Z[7];let z;if(Z[8]!==K||Z[9]!==B)z=M(u,{flexDirection:"column",children:[K,B]}),Z[8]=K,Z[9]=B,Z[10]=z;else z=Z[10];return z}function YQ(Q){let Z=KZ.c(14),{diffStatsForRestore:X}=Q;if(X===void 0)return;if(!X.filesChanged||!X.filesChanged[0]){let K;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))K=y(b,{dimColor:!0,children:"The code has not changed (nothing will be restored)."}),Z[0]=K;else K=Z[0];return K}let W=X.filesChanged.length,V;if(W===1){let K;if(Z[1]!==X.filesChanged[0])K=YZ.basename(X.filesChanged[0]||""),Z[1]=X.filesChanged[0],Z[2]=K;else K=Z[2];V=K}else if(W===2){let K;if(Z[3]!==X.filesChanged[0])K=YZ.basename(X.filesChanged[0]||""),Z[3]=X.filesChanged[0],Z[4]=K;else K=Z[4];let B=K,z;if(Z[5]!==X.filesChanged[1])z=YZ.basename(X.filesChanged[1]||""),Z[5]=X.filesChanged[1],Z[6]=z;else z=Z[6];V=`${B} and ${z}`}else{let K;if(Z[7]!==X.filesChanged[0])K=YZ.basename(X.filesChanged[0]||""),Z[7]=X.filesChanged[0],Z[8]=K;else K=Z[8];V=`${K} and ${X.filesChanged.length-1} other files`}let H;if(Z[9]!==X)H=y(R0,{diffStats:X}),Z[9]=X,Z[10]=H;else H=Z[10];let G;if(Z[11]!==V||Z[12]!==H)G=y(l,{children:M(b,{dimColor:!0,children:["The code will be restored"," ",H," in ",V,"."]})}),Z[11]=V,Z[12]=H,Z[13]=G;else G=Z[13];return G}function R0(Q){let Z=KZ.c(7),{diffStats:X}=Q;if(!X||!X.filesChanged)return;let W;if(Z[0]!==X.insertions)W=M(b,{color:"diffAddedWord",children:["+",X.insertions," "]}),Z[0]=X.insertions,Z[1]=W;else W=Z[1];let V;if(Z[2]!==X.deletions)V=M(b,{color:"diffRemovedWord",children:["-",X.deletions]}),Z[2]=X.deletions,Z[3]=V;else V=Z[3];let H;if(Z[4]!==W||Z[5]!==V)H=M(l,{children:[W,V]}),Z[4]=W,Z[5]=V,Z[6]=H;else H=Z[6];return H}function G0(Q){let Z=KZ.c(31),{userMessage:X,color:W,dimColor:V,isCurrent:H,paddingRight:G}=Q,{columns:K}=O0();if(H){let h;if(Z[0]!==W||Z[1]!==V)h=y(u,{width:"100%",children:y(b,{italic:!0,color:W,dimColor:V,children:"(current)"})}),Z[0]=W,Z[1]=V,Z[2]=h;else h=Z[2];return h}let B=X.message.content,z=typeof B==="string"?null:B[B.length-1],J,L,_,O,q,P,f,v;if(Z[3]!==W||Z[4]!==K||Z[5]!==B||Z[6]!==V||Z[7]!==z||Z[8]!==G){v=Symbol.for("react.early_return_sentinel");Z:{let h=typeof B==="string"?B.trim():z&&C0(z)?z.text.trim():"(no prompt)",E=_0(h);if(j0(E)){let w;if(Z[17]!==W||Z[18]!==V)w=y(u,{flexDirection:"row",width:"100%",children:y(b,{italic:!0,color:W,dimColor:V,children:"((empty message))"})}),Z[17]=W,Z[18]=V,Z[19]=w;else w=Z[19];v=w;break Z}if(E.includes("<bash-input>")){let w=WZ(E,"bash-input");if(w){let p;if(Z[20]===Symbol.for("react.memo_cache_sentinel"))p=y(b,{color:"bashBorder",children:"!"}),Z[20]=p;else p=Z[20];v=M(u,{flexDirection:"row",width:"100%",children:[p,M(b,{color:W,dimColor:V,children:[" ",w]})]});break Z}}if(E.includes(`<${RZ}>`)){let w=WZ(E,RZ),p=WZ(E,"command-args"),i=WZ(E,"skill-format")==="true";if(w)if(i){v=y(u,{flexDirection:"row",width:"100%",children:M(b,{color:W,dimColor:V,children:["Skill(",w,")"]})});break Z}else{v=y(u,{flexDirection:"row",width:"100%",children:M(b,{color:W,dimColor:V,children:["/",w," ",p]})});break Z}}L=u,P="row",f="100%",J=b,_=W,O=V,q=G?H0(E,K-G,!0):E.slice(0,500).split(`
8
+ `).slice(0,4).join(`
9
+ `)}Z[3]=W,Z[4]=K,Z[5]=B,Z[6]=V,Z[7]=z,Z[8]=G,Z[9]=J,Z[10]=L,Z[11]=_,Z[12]=O,Z[13]=q,Z[14]=P,Z[15]=f,Z[16]=v}else J=Z[9],L=Z[10],_=Z[11],O=Z[12],q=Z[13],P=Z[14],f=Z[15],v=Z[16];if(v!==Symbol.for("react.early_return_sentinel"))return v;let F;if(Z[21]!==J||Z[22]!==_||Z[23]!==O||Z[24]!==q)F=y(J,{color:_,dimColor:O,children:q}),Z[21]=J,Z[22]=_,Z[23]=O,Z[24]=q,Z[25]=F;else F=Z[25];let U;if(Z[26]!==L||Z[27]!==P||Z[28]!==f||Z[29]!==F)U=y(L,{flexDirection:P,width:f,children:F}),Z[26]=L,Z[27]=P,Z[28]=f,Z[29]=F,Z[30]=U;else U=Z[30];return U}function QQ(Q,Z,X){let W=Q.findIndex((B)=>B.uuid===Z);if(W===-1)return;let V=X?Q.findIndex((B)=>B.uuid===X):Q.length;if(V===-1)V=Q.length;let H=[],G=0,K=0;for(let B=W+1;B<V;B++){let z=Q[B];if(!z||!kZ(z))continue;let J=z.toolUseResult;if(!J||!J.filePath||!J.structuredPatch)continue;if(!H.includes(J.filePath))H.push(J.filePath);try{if("type"in J&&J.type==="create")G+=J.content.split(/\r?\n/).length;else for(let L of J.structuredPatch){let _=CZ(L.lines,(q)=>q.startsWith("+")),O=CZ(L.lines,(q)=>q.startsWith("-"));G+=_,K+=O}}catch{continue}}return{filesChanged:H,insertions:G,deletions:K}}function T0(Q){if(Q.type!=="user")return!1;if(Array.isArray(Q.message.content)&&Q.message.content[0]?.type==="tool_result")return!1;if(SZ(Q))return!1;if(Q.isMeta)return!1;if(Q.isCompactSummary||Q.isVisibleInTranscriptOnly)return!1;let Z=Q.message.content,X=typeof Z==="string"?null:Z[Z.length-1],W=typeof Z==="string"?Z.trim():X&&C0(X)?X.text.trim():"";if(W.indexOf(`<${z0}>`)!==-1||W.indexOf(`<${v0}>`)!==-1||W.indexOf(`<${B0}>`)!==-1||W.indexOf(`<${L0}>`)!==-1||W.indexOf(`<${D0}>`)!==-1||W.indexOf(`<${q0}>`)!==-1||W.indexOf(`<${A0}`)!==-1)return!1;return!0}function XQ(Q,Z){for(let X=Z+1;X<Q.length;X++){let W=Q[X];if(!W)continue;if(SZ(W))continue;if(kZ(W))continue;if(W.type==="progress")continue;if(W.type==="system")continue;if(W.type==="attachment")continue;if(W.type==="user"&&W.isMeta)continue;if(W.type==="assistant"){let V=W.message.content;if(Array.isArray(V)){if(V.some((G)=>G.type==="text"&&G.text.trim()||G.type==="tool_use"))return!1}continue}if(W.type==="user")return!1}return!0}var KZ,R,IZ=7;var WQ=_Z(()=>{S9();wZ();i9();n9();w0();l9();m9();g9();u9();jZ();r9();o9();d9();x9();k9();h9();a9();K0();KZ=J0(c9(),1),R=J0(p9(),1)});var b6={};hZ(b6,{getCronJitterConfig:()=>F6});function F6(){let Q=rY("tengu_kairos_cron_config",QZ,E6),Z=P6().safeParse(Q);return Z.success?Z.data:QZ}var E6=60000,iZ=1800000,$6=2592000000,P6;var M6=_Z(()=>{JZ();U6();oY();OZ();P6=D(()=>Y.object({recurringFrac:Y.number().min(0).max(1),recurringCapMs:Y.number().int().min(0).max(iZ),oneShotMaxMs:Y.number().int().min(0).max(iZ),oneShotFloorMs:Y.number().int().min(0).max(iZ),oneShotMinuteMod:Y.number().int().min(1).max(60),recurringMaxAgeMs:Y.number().int().min(0).max($6).default(QZ.recurringMaxAgeMs)}).refine((Q)=>Q.oneShotFloorMs<=Q.oneShotMaxMs))});import{mkdir as T6,readFile as f6,unlink as Q9,writeFile as sZ}from"fs/promises";import{dirname as h6,join as X9}from"path";function LZ(Q){return X9(Q??tY(),S6)}async function V9(Q){let Z;try{Z=await f6(LZ(Q),"utf8")}catch{return}let X=k6().safeParse(Z9(Z,!1));return X.success?X.data:void 0}async function sY(Q,Z){let X=LZ(Z),W=e(Q);try{return await sZ(X,W,{flag:"wx"}),!0}catch(V){let H=oZ(V);if(H==="EEXIST")return!1;if(H==="ENOENT"){await T6(h6(X),{recursive:!0});try{return await sZ(X,W,{flag:"wx"}),!0}catch(G){if(oZ(G)==="EEXIST")return!1;throw G}}throw V}}function rZ(Q){FZ?.(),FZ=eY(async()=>{await zZ(Q)})}async function tZ(Q){let Z=Q?.dir,X=Q?.lockIdentity??NZ(),W={sessionId:X,pid:process.pid,acquiredAt:Date.now()};if(await sY(W,Z))return BZ=void 0,rZ(Q),I(`[ScheduledTasks] acquired scheduler lock (PID ${process.pid})`),!0;let V=await V9(Z);if(V?.sessionId===X){if(V.pid!==process.pid)await sZ(LZ(Z),e(W)),rZ(Q);return!0}if(V&&Y9(V.pid)){if(BZ!==V.sessionId)BZ=V.sessionId,I(`[ScheduledTasks] scheduler lock held by session ${V.sessionId} (PID ${V.pid})`);return!1}if(V)I(`[ScheduledTasks] recovering stale scheduler lock from PID ${V.pid}`);if(await Q9(LZ(Z)).catch(()=>{}),await sY(W,Z))return BZ=void 0,rZ(Q),!0;return!1}async function zZ(Q){FZ?.(),FZ=void 0,BZ=void 0;let Z=Q?.dir,X=Q?.lockIdentity??NZ(),W=await V9(Z);if(!W||W.sessionId!==X)return;try{await Q9(LZ(Z)),I("[ScheduledTasks] released scheduler lock")}catch{}}var S6,k6,FZ,BZ;var W9=_Z(()=>{JZ();HZ();I6();GZ();dZ();R6();C6();OZ();$Z();S6=X9(".claudin","scheduled_tasks.lock"),k6=D(()=>Y.object({sessionId:Y.string(),pid:Y.number(),acquiredAt:Y.number()}))});var d6={};hZ(d6,{takeDueSessionWakeup:()=>_9,isRecurringTaskAged:()=>A9,createCronScheduler:()=>m6,buildMissedTaskNotification:()=>w9});function A9(Q,Z,X){if(X===0)return!1;return Boolean(Q.recurring&&!Q.permanent&&Z-Q.createdAt>=X)}function _9(Q){let Z=Y0();if(!Z||Q<Z.fireAtMs)return null;return N9(),{prompt:Q0(Z.prompt),reason:Z.reason}}function m6(Q){let{onFire:Z,isLoading:X,assistantMode:W=!1,onFireTask:V,onMissed:H,onWakeupFire:G,dir:K,lockIdentity:B,getJitterConfig:z,isKilled:J,filter:L}=Q,_=K||B?{dir:K,lockIdentity:B}:void 0,O=[],q=new Map,P=new Set,f=new Set,v=null,F=null,U=null,h=null,E=!1,w=!1;async function p(C){let S=await z9(K);if(E)return;if(O=S,!C)return;let k=Date.now(),A=D9(S,k).filter(($)=>!$.recurring&&!P.has($.id)&&(!L||L($)));if(A.length>0){for(let $ of A)P.add($.id),q.set($.id,1/0);if(d("",{count:A.length,taskIds:A.map(($)=>$.id).join(",")}),H)H(A);else Z(w9(A));eZ(A.map(($)=>$.id),K).catch(($)=>I(`[ScheduledTasks] failed to remove missed tasks: ${$}`)),I(`[ScheduledTasks] surfaced ${A.length} missed one-shot task(s)`)}}function i(){if(J?.())return;if(X()&&!W)return;let C=Date.now(),S=new Set,k=[],A=z?.()??QZ;function $(N,x){if(L&&!L(N))return;if(S.add(N.id),f.has(N.id))return;let g=q.get(N.id);if(g===void 0)g=N.recurring?Z0(N.cron,N.lastFiredAt??N.createdAt,N.id,A)??1/0:q9(N.cron,N.createdAt,N.id,A)??1/0,q.set(N.id,g),I(`[ScheduledTasks] scheduled ${N.id} for ${g===1/0?"never":new Date(g).toISOString()}`);if(C<g)return;I(`[ScheduledTasks] firing ${N.id}${N.recurring?" (recurring)":""}`),d("",{recurring:N.recurring??!1,taskId:N.id});let XZ=K===void 0?Q0(N.prompt,void 0,N.agentId):N.prompt;if(V)V(XZ===N.prompt?N:{...N,prompt:XZ});else Z(XZ);let VZ=A9(N,C,A.recurringMaxAgeMs);if(VZ){let s=Math.floor((C-N.createdAt)/1000/60/60);I(`[ScheduledTasks] recurring task ${N.id} aged out (${s}h since creation), deleting after final fire`),d("",{taskId:N.id,ageHours:s})}if(N.recurring&&!VZ){let s=Z0(N.cron,C,N.id,A)??1/0;if(q.set(N.id,s),!x)k.push(N.id)}else if(x)H9([N.id]),q.delete(N.id);else f.add(N.id),eZ([N.id],K).catch((s)=>I(`[ScheduledTasks] failed to remove task ${N.id}: ${s}`)).finally(()=>f.delete(N.id)),q.delete(N.id)}if(w){for(let N of O)$(N,!1);if(k.length>0){for(let N of k)f.add(N);v9(k,C,K).catch((N)=>I(`[ScheduledTasks] failed to persist lastFiredAt: ${N}`)).finally(()=>{for(let N of k)f.delete(N)})}}if(K===void 0){for(let x of J9())$(x,!0);let N=_9(C);if(N!==null)if(I("[ScheduledTasks] firing pending ScheduleWakeup"),d("",{}),G)G(N.prompt,N.reason);else Z(N.prompt)}if(S.size===0){q.clear();return}for(let N of q.keys())if(!S.has(N))q.delete(N)}async function r(){if(E)return;if(v)clearInterval(v),v=null;let{default:C}=await import("./index-1.1.30-3z58evcj.mjs");if(E)return;if(w=await tZ(_).catch(()=>!1),E){if(w)w=!1,zZ(_);return}if(!w)U=setInterval(()=>{tZ(_).then((k)=>{if(E){if(k)zZ(_);return}if(k){if(w=!0,U)clearInterval(U),U=null}}).catch((k)=>I(String(k),{level:"error"}))},c6),U.unref?.();p(!0);let S=L9(K);h=C.watch(S,{persistent:!1,ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:p6},ignorePermissionErrors:!0}),h.on("add",()=>void p(!1)),h.on("change",()=>void p(!1)),h.on("unlink",()=>{if(!E)O=[],q.clear()}),F=setInterval(i,K9),F.unref?.()}return{start(){if(E=!1,K!==void 0){I(`[ScheduledTasks] scheduler start() — dir=${K}, hasTasks=${bZ(K)}`),r();return}if(I(`[ScheduledTasks] scheduler start() — enabled=${vZ()}, hasTasks=${bZ()}`),!vZ()&&(W||bZ()))G9(!0);if(vZ()){r();return}v=setInterval((C)=>{if(vZ())C()},K9,r),v.unref?.()},stop(){if(E=!0,v)clearInterval(v),v=null;if(F)clearInterval(F),F=null;if(U)clearInterval(U),U=null;if(h?.close(),h=null,w)w=!1,zZ(_)},getNextFireTime(){let C=1/0;for(let S of q.values())if(S<C)C=S;if(K===void 0){let S=Y0();if(S&&S.fireAtMs<C)C=S.fireAtMs}return C===1/0?null:C}}}function w9(Q){let Z=Q.length>1,X=`The following one-shot scheduled task${Z?"s were":" was"} missed while Claude was not running. ${Z?"They have":"It has"} already been removed from .claudin/scheduled_tasks.json.
10
+
11
+ Do NOT execute ${Z?"these prompts":"this prompt"} yet. First use the AskUserQuestion tool to ask whether to run ${Z?"each one":"it"} now. Only execute if the user confirms.`,W=Q.map((V)=>{let H=`[${B9(V.cron)}, created ${new Date(V.createdAt).toLocaleString()}]`,G=(V.prompt.match(/`+/g)??[]).reduce((B,z)=>Math.max(B,z.length),0),K="`".repeat(Math.max(3,G+1));return`${H}
12
+ ${K}
13
+ ${V.prompt}
14
+ ${K}`});return`${X}
15
+
16
+ ${W.join(`
17
+
18
+ `)}`}var K9=1000,p6=300,c6=5000;var g6=_Z(()=>{HZ();wZ();x6();oY();W9();GZ();u6()});JZ();GZ();OZ();f0();KQ();var UX=D(()=>Y.object({tool_name:Y.string().describe("The name of the tool requesting permission"),input:Y.record(Y.string(),Y.unknown()).describe("The input for the tool"),tool_use_id:Y.string().optional().describe("The unique tool use request ID")})),S0=D(()=>Y.enum(["user_temporary","user_permanent","user_reject"]).optional().catch(void 0)),GQ=D(()=>Y.object({behavior:Y.literal("allow"),updatedInput:Y.record(Y.string(),Y.unknown()),updatedPermissions:Y.array(h0()).optional().catch((Q)=>{I(`Malformed updatedPermissions from SDK host ignored: ${Q.error.issues[0]?.message??"unknown"}`,{level:"warn"});return}),toolUseID:Y.string().optional(),decisionClassification:S0()})),JQ=D(()=>Y.object({behavior:Y.literal("deny"),message:Y.string(),interrupt:Y.boolean().optional(),toolUseID:Y.string().optional(),decisionClassification:S0()})),xZ=D(()=>Y.union([GQ(),JQ()]));function EZ(Q,Z,X,W){let V={type:"permissionPromptTool",permissionPromptToolName:Z.name,toolResult:Q};if(Q.behavior==="allow"){let H=Q.updatedPermissions;if(H)W.setAppState((K)=>({...K,toolPermissionContext:yZ(K.toolPermissionContext,H)})),UZ(H);let G=Object.keys(Q.updatedInput).length>0?Q.updatedInput:X;return{...Q,updatedInput:G,decisionReason:V}}else if(Q.behavior==="deny"&&Q.interrupt)I(`SDK permission prompt deny+interrupt: tool=${Z.name} message=${Q.message}`),W.abortController.abort();return{...Q,decisionReason:V}}import{randomUUID as mZ}from"crypto";JZ();OZ();HQ();var NQ=D(()=>Y.unknown()),BQ=D(()=>Y.object({matcher:Y.string().optional(),hookCallbackIds:Y.array(Y.string()),timeout:Y.number().optional()}).describe("Configuration for matching and routing hook callbacks.")),LQ=D(()=>Y.object({subtype:Y.literal("initialize"),hooks:Y.record(c0(),Y.array(BQ())).optional(),sdkMcpServers:Y.array(Y.string()).optional(),jsonSchema:Y.record(Y.string(),Y.unknown()).optional(),systemPrompt:Y.string().optional(),appendSystemPrompt:Y.string().optional(),agents:Y.record(Y.string(),l0()).optional(),promptSuggestions:Y.boolean().optional(),agentProgressSummaries:Y.boolean().optional()}).describe("Initializes the SDK session with hooks, MCP servers, and agent configuration.")),bX=D(()=>Y.object({commands:Y.array(uZ()),agents:Y.array(pZ()),output_style:Y.string(),available_output_styles:Y.array(Y.string()),models:Y.array(d0()),account:g0(),pid:Y.number().optional().describe("@internal CLI process PID for tmux socket isolation"),fast_mode_state:s0().optional()}).describe("Response from session initialization with available commands, models, and account info.")),zQ=D(()=>Y.object({subtype:Y.literal("interrupt")}).describe("Interrupts the currently running conversation turn.")),vQ=D(()=>Y.object({subtype:Y.literal("can_use_tool"),tool_name:Y.string(),input:Y.record(Y.string(),Y.unknown()),permission_suggestions:Y.array(u0()).optional(),blocked_path:Y.string().optional(),decision_reason:Y.string().optional(),title:Y.string().optional(),display_name:Y.string().optional(),tool_use_id:Y.string(),agent_id:Y.string().optional(),description:Y.string().optional()}).describe("Requests permission to use a tool with the given input.")),qQ=D(()=>Y.object({subtype:Y.literal("set_permission_mode"),mode:p0(),ultraplan:Y.boolean().optional().describe("@internal CCR ultraplan session marker.")}).describe("Sets the permission mode for tool execution handling.")),DQ=D(()=>Y.object({subtype:Y.literal("set_model"),model:Y.string().optional()}).describe("Sets the model to use for subsequent conversation turns.")),AQ=D(()=>Y.object({subtype:Y.literal("set_max_thinking_tokens"),max_thinking_tokens:Y.number().nullable()}).describe("Sets the maximum number of thinking tokens for extended thinking.")),_Q=D(()=>Y.object({subtype:Y.literal("mcp_status")}).describe("Requests the current status of all MCP server connections.")),wQ=D(()=>Y.object({subtype:Y.literal("get_context_usage")}).describe("Requests a breakdown of current context window usage by category.")),jQ=D(()=>Y.object({name:Y.string(),tokens:Y.number(),color:Y.string(),isDeferred:Y.boolean().optional()})),OQ=D(()=>Y.object({color:Y.string(),isFilled:Y.boolean(),categoryName:Y.string(),tokens:Y.number(),percentage:Y.number(),squareFullness:Y.number()})),MX=D(()=>Y.object({categories:Y.array(jQ()),totalTokens:Y.number(),maxTokens:Y.number(),rawMaxTokens:Y.number(),percentage:Y.number(),gridRows:Y.array(Y.array(OQ())),model:Y.string(),memoryFiles:Y.array(Y.object({path:Y.string(),type:Y.string(),tokens:Y.number()})),mcpTools:Y.array(Y.object({name:Y.string(),serverName:Y.string(),tokens:Y.number(),isLoaded:Y.boolean().optional()})),deferredBuiltinTools:Y.array(Y.object({name:Y.string(),tokens:Y.number(),isLoaded:Y.boolean()})).optional(),systemTools:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),systemPromptSections:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),agents:Y.array(Y.object({agentType:Y.string(),source:Y.string(),tokens:Y.number()})),slashCommands:Y.object({totalCommands:Y.number(),includedCommands:Y.number(),tokens:Y.number()}).optional(),skills:Y.object({totalSkills:Y.number(),includedSkills:Y.number(),tokens:Y.number(),skillFrontmatter:Y.array(Y.object({name:Y.string(),source:Y.string(),tokens:Y.number()}))}).optional(),autoCompactThreshold:Y.number().optional(),isAutoCompactEnabled:Y.boolean(),messageBreakdown:Y.object({toolCallTokens:Y.number(),toolResultTokens:Y.number(),attachmentTokens:Y.number(),assistantMessageTokens:Y.number(),userMessageTokens:Y.number(),toolCallsByType:Y.array(Y.object({name:Y.string(),callTokens:Y.number(),resultTokens:Y.number()})),attachmentsByType:Y.array(Y.object({name:Y.string(),tokens:Y.number()}))}).optional(),apiUsage:Y.object({input_tokens:Y.number(),output_tokens:Y.number(),cache_creation_input_tokens:Y.number(),cache_read_input_tokens:Y.number()}).nullable()}).describe("Breakdown of current context window usage by category (system prompt, tools, messages, etc.).")),yQ=D(()=>Y.object({subtype:Y.literal("rewind_files"),user_message_id:Y.string(),dry_run:Y.boolean().optional()}).describe("Rewinds file changes made since a specific user message.")),UQ=D(()=>Y.object({subtype:Y.literal("cancel_async_message"),message_uuid:Y.string()}).describe("Drops a pending async user message from the command queue by uuid. No-op if already dequeued for execution.")),EQ=D(()=>Y.object({subtype:Y.literal("seed_read_state"),path:Y.string(),mtime:Y.number()}).describe("Seeds the readFileState cache with a path+mtime entry. Use when a prior Read was removed from context (e.g. by snip) so Edit validation would fail despite the client having observed the Read. The mtime lets the CLI detect if the file changed since the seeded Read — same staleness check as the normal path.")),$Q=D(()=>Y.object({subtype:Y.literal("hook_callback"),callback_id:Y.string(),input:m0(),tool_use_id:Y.string().optional()}).describe("Delivers a hook callback with its input data.")),PQ=D(()=>Y.object({subtype:Y.literal("mcp_message"),server_name:Y.string(),message:NQ()}).describe("Sends a JSON-RPC message to a specific MCP server.")),FQ=D(()=>Y.object({subtype:Y.literal("mcp_set_servers"),servers:Y.record(Y.string(),k0())}).describe("Replaces the set of dynamically managed MCP servers.")),IX=D(()=>Y.object({added:Y.array(Y.string()),removed:Y.array(Y.string()),errors:Y.record(Y.string(),Y.string())}).describe("Result of replacing the set of dynamically managed MCP servers.")),bQ=D(()=>Y.object({subtype:Y.literal("reload_plugins")}).describe("Reloads plugins from disk and returns the refreshed session components.")),CX=D(()=>Y.object({commands:Y.array(uZ()),agents:Y.array(pZ()),plugins:Y.array(Y.object({name:Y.string(),path:Y.string(),source:Y.string().optional()})),mcpServers:Y.array(x0()),error_count:Y.number()}).describe("Refreshed commands, agents, plugins, and MCP server status after reload.")),MQ=D(()=>Y.object({subtype:Y.literal("mcp_reconnect"),serverName:Y.string()}).describe("Reconnects a disconnected or failed MCP server.")),IQ=D(()=>Y.object({subtype:Y.literal("mcp_toggle"),serverName:Y.string(),enabled:Y.boolean()}).describe("Enables or disables an MCP server.")),CQ=D(()=>Y.object({subtype:Y.literal("stop_task"),task_id:Y.string()}).describe("Stops a running task.")),RQ=D(()=>Y.object({subtype:Y.literal("apply_flag_settings"),settings:Y.record(Y.string(),Y.unknown())}).describe("Merges the provided settings into the flag settings layer, updating the active configuration.")),TQ=D(()=>Y.object({subtype:Y.literal("get_settings")}).describe("Returns the effective merged settings and the raw per-source settings.")),RX=D(()=>Y.object({effective:Y.record(Y.string(),Y.unknown()),sources:Y.array(Y.object({source:Y.enum(["userSettings","projectSettings","localSettings","flagSettings","policySettings"]),settings:Y.record(Y.string(),Y.unknown())})).describe("Ordered low-to-high priority — later entries override earlier ones."),applied:Y.object({model:Y.string(),effort:Y.enum(["low","medium","high","max"]).nullable()}).optional().describe("Runtime-resolved values after env overrides, session state, and model-specific defaults are applied. Unlike `effective` (disk merge), these reflect what will actually be sent to the API.")}).describe("Effective merged settings plus raw per-source settings in merge order.")),fQ=D(()=>Y.object({subtype:Y.literal("elicitation"),mcp_server_name:Y.string(),message:Y.string(),mode:Y.enum(["form","url"]).optional(),url:Y.string().optional(),elicitation_id:Y.string().optional(),requested_schema:Y.record(Y.string(),Y.unknown()).optional()}).describe("Requests the SDK consumer to handle an MCP elicitation (user input request).")),t0=D(()=>Y.object({action:Y.enum(["accept","decline","cancel"]),content:Y.record(Y.string(),Y.unknown()).optional()}).describe("Response from the SDK consumer for an elicitation request.")),hQ=D(()=>Y.union([zQ(),vQ(),LQ(),qQ(),DQ(),AQ(),_Q(),wQ(),$Q(),PQ(),yQ(),UQ(),EQ(),FQ(),bQ(),MQ(),IQ(),CQ(),RQ(),TQ(),fQ()])),cZ=D(()=>Y.object({type:Y.literal("control_request"),request_id:Y.string(),request:hQ()})),SQ=D(()=>Y.object({subtype:Y.literal("success"),request_id:Y.string(),response:Y.record(Y.string(),Y.unknown()).optional()})),kQ=D(()=>Y.object({subtype:Y.literal("error"),request_id:Y.string(),error:Y.string(),pending_permission_requests:Y.array(Y.lazy(()=>cZ())).optional()})),e0=D(()=>Y.object({type:Y.literal("control_response"),response:Y.union([SQ(),kQ()])})),xQ=D(()=>Y.object({type:Y.literal("control_cancel_request"),request_id:Y.string()}).describe("Cancels a currently open control request.")),ZY=D(()=>Y.object({type:Y.literal("keep_alive")}).describe("Keep-alive message to maintain WebSocket connection.")),uQ=D(()=>Y.object({type:Y.literal("update_environment_variables"),variables:Y.record(Y.string(),Y.string())}).describe("Updates environment variables at runtime.")),TX=D(()=>Y.union([o0(),n0(),i0(),r0(),e0(),cZ(),xQ(),ZY()])),fX=D(()=>Y.union([a0(),cZ(),e0(),ZY(),uQ()]));gQ();GZ();dQ();dZ();nQ();mQ();$Z();JZ();aQ();zY();f0();iQ();$Z();lQ();$Z();var pQ=/\u2028|\u2029/g;function cQ(Q){return Q.replace(pQ,(Z)=>Z==="\u2028"?"\\u2028":"\\u2029")}function YY(Q){return cQ(e(Q))}var rQ="SandboxNetworkAccess";function oQ(Q){if(!Q)return;if(Q.type==="classifier")return Q.reason;switch(Q.type){case"rule":case"mode":case"subcommandResults":case"permissionPromptTool":return;case"hook":case"asyncAgent":case"sandboxOverride":case"workingDir":case"safetyCheck":case"other":return Q.reason}}function sQ(Q,Z,X,W){let V;try{V=Q.getActivityDescription?.(Z)??Q.getToolUseSummary?.(Z)??Q.userFacingName(Z)}catch{V=Q.name}return{tool_name:Q.name,action_description:V,tool_use_id:X,request_id:W,input:Z}}var tQ=1000;class eQ{input;replayUserMessages;structuredInput;pendingRequests=new Map;restoredWorkerState=Promise.resolve(null);inputClosed=!1;unexpectedResponseCallback;resolvedToolUseIds=new Set;prependedLines=[];onControlRequestSent;onControlRequestResolved;outbound=new JY;constructor(Q,Z){this.input=Q;this.replayUserMessages=Z;this.input=Q,this.structuredInput=this.read()}trackResolvedToolUseId(Q){if(Q.request.subtype==="can_use_tool"){if(this.resolvedToolUseIds.add(Q.request.tool_use_id),this.resolvedToolUseIds.size>tQ){let Z=this.resolvedToolUseIds.values().next().value;if(Z!==void 0)this.resolvedToolUseIds.delete(Z)}}}flushInternalEvents(){return Promise.resolve()}get internalEventsPending(){return 0}prependUserMessage(Q){this.prependedLines.push(e({type:"user",session_id:"",message:{role:"user",content:Q},parent_tool_use_id:null})+`
19
+ `)}async*read(){let Q="",Z=async function*(){for(;;){if(this.prependedLines.length>0)Q=this.prependedLines.join("")+Q,this.prependedLines=[];let X=Q.indexOf(`
20
+ `);if(X===-1)break;let W=Q.slice(0,X);Q=Q.slice(X+1);let V=await this.processLine(W);if(V)KY("info","cli_stdin_message_parsed",{type:V.type}),yield V}}.bind(this);yield*Z();for await(let X of this.input)Q+=X,yield*Z();if(Q){let X=await this.processLine(Q);if(X)yield X}this.inputClosed=!0;for(let X of this.pendingRequests.values())X.reject(Error("Tool permission stream closed before response received"))}getPendingPermissionRequests(){return Array.from(this.pendingRequests.values()).map((Q)=>Q.request).filter((Q)=>Q.request.subtype==="can_use_tool")}setUnexpectedResponseCallback(Q){this.unexpectedResponseCallback=Q}injectControlResponse(Q){let Z=Q.response?.request_id;if(!Z)return;let X=this.pendingRequests.get(Z);if(!X)return;if(this.trackResolvedToolUseId(X.request),this.pendingRequests.delete(Z),this.write({type:"control_cancel_request",request_id:Z}),Q.response.subtype==="error")X.reject(Error(Q.response.error));else{let W=Q.response.response;if(X.schema)try{X.resolve(X.schema.parse(W))}catch(V){X.reject(V)}else X.resolve({})}}setOnControlRequestSent(Q){this.onControlRequestSent=Q}setOnControlRequestResolved(Q){this.onControlRequestResolved=Q}async processLine(Q){if(!Q)return;try{let Z=vY(VY(Q));if(Z.type==="keep_alive")return;if(Z.type==="update_environment_variables"){let W=Object.keys(Z.variables);for(let[V,H]of Object.entries(Z.variables))process.env[V]=H;I(`[structuredIO] applied update_environment_variables: ${W.join(", ")}`);return}if(Z.type==="control_response"){let W="uuid"in Z&&typeof Z.uuid==="string"?Z.uuid:void 0;if(W)HY(W,"completed");let V=this.pendingRequests.get(Z.response.request_id);if(!V){let K=(Z.response.subtype==="success"?Z.response.response:void 0)?.toolUseID;if(typeof K==="string"&&this.resolvedToolUseIds.has(K)){I(`Ignoring duplicate control_response for already-resolved toolUseID=${K} request_id=${Z.response.request_id}`);return}if(this.unexpectedResponseCallback)await this.unexpectedResponseCallback(Z);return}if(this.trackResolvedToolUseId(V.request),this.pendingRequests.delete(Z.response.request_id),V.request.request.subtype==="can_use_tool"&&this.onControlRequestResolved)this.onControlRequestResolved(Z.response.request_id);if(Z.response.subtype==="error"){V.reject(Error(Z.response.error));return}let H=Z.response.response;if(V.schema)try{V.resolve(V.schema.parse(H))}catch(G){V.reject(G)}else V.resolve({});if(this.replayUserMessages)return Z;return}if(Z.type!=="user"&&Z.type!=="control_request"&&Z.type!=="assistant"&&Z.type!=="system"){I(`Ignoring unknown message type: ${Z.type}`,{level:"warn"});return}if(Z.type==="control_request"){if(!Z.request)QY("Error: Missing request on control_request");return Z}if(Z.type==="assistant"||Z.type==="system")return Z;let X=Z.message;if(X.role!=="user")QY(`Error: Expected message role 'user', got '${String(X.role)}'`);return Z}catch(Z){console.error(`Error parsing streaming input line: ${Q}: ${Z}`),process.exit(1)}}async write(Q){WY(YY(Q)+`
21
+ `)}async sendRequest(Q,Z,X,W=mZ()){let V={type:"control_request",request_id:W,request:Q};if(this.inputClosed)throw Error("Stream closed");if(X?.aborted)throw Error("Request aborted");if(this.outbound.enqueue(V),Q.subtype==="can_use_tool"&&this.onControlRequestSent)this.onControlRequestSent(V);let H=()=>{this.outbound.enqueue({type:"control_cancel_request",request_id:W});let G=this.pendingRequests.get(W);if(G)this.trackResolvedToolUseId(G.request),G.reject(new XY)};if(X)X.addEventListener("abort",H,{once:!0});try{return await new Promise((G,K)=>{this.pendingRequests.set(W,{request:{type:"control_request",request_id:W,request:Q},resolve:(B)=>{G(B)},reject:K,schema:Z})})}finally{if(X)X.removeEventListener("abort",H);this.pendingRequests.delete(W)}}createCanUseTool(Q){return async(Z,X,W,V,H,G)=>{let K=G??await NY(Z,X,W,V,H);if(K.behavior==="allow"||K.behavior==="deny")return K;let B=new AbortController,z=W.abortController.signal,J=()=>B.abort();z.addEventListener("abort",J,{once:!0});try{let L=Z6(Z.name,H,X,W,K.suggestions).then((P)=>({source:"hook",decision:P})),_=mZ();Q?.(sQ(Z,X,H,_));let O=this.sendRequest({subtype:"can_use_tool",tool_name:Z.name,input:X,permission_suggestions:K.suggestions,blocked_path:K.blockedPath,decision_reason:oQ(K.decisionReason),tool_use_id:H,agent_id:W.agentId},xZ(),B.signal,_).then((P)=>({source:"sdk",result:P})),q=await Promise.race([L,O]);if(q.source==="hook"){if(q.decision)return O.catch(()=>{}),B.abort(),q.decision;let P=await O;return EZ(P.result,Z,X,W)}return EZ(q.result,Z,X,W)}catch(L){return EZ({behavior:"deny",message:`Tool permission request failed: ${L}`,toolUseID:H},Z,X,W)}finally{if(this.getPendingPermissionRequests().length===0)BY("running");z.removeEventListener("abort",J)}}}createHookCallback(Q,Z){return{type:"callback",timeout:Z,callback:async(X,W,V)=>{try{return await this.sendRequest({subtype:"hook_callback",callback_id:Q,input:X,tool_use_id:W||void 0},GY(),V)}catch(H){return console.error(`Error in hook callback ${Q}:`,H),{}}}}}async handleElicitation(Q,Z,X,W,V,H,G){try{return await this.sendRequest({subtype:"elicitation",mcp_server_name:Q,message:Z,mode:V,url:H,elicitation_id:G,requested_schema:X},t0(),W)}catch{return{action:"cancel"}}}createSandboxAskCallback(){return async(Q)=>{try{return(await this.sendRequest({subtype:"can_use_tool",tool_name:rQ,input:{host:Q.host},tool_use_id:mZ(),description:`Allow network connection to ${Q.host}?`},xZ())).behavior==="allow"}catch{return!1}}}async sendMcpMessage(Q,Z){return(await this.sendRequest({subtype:"mcp_message",server_name:Q,message:Z},Y.object({mcp_response:Y.any()}))).mcp_response}}function QY(Q){console.error(Q),process.exit(1)}async function Z6(Q,Z,X,W,V){let G=W.getAppState().toolPermissionContext.mode,K=LY(Q,Z,X,W,G,V,W.abortController.signal);for await(let B of K)if(B.permissionRequestResult&&(B.permissionRequestResult.behavior==="allow"||B.permissionRequestResult.behavior==="deny")){let z=B.permissionRequestResult;if(z.behavior==="allow"){let J=z.updatedInput||X,L=z.updatedPermissions??[];if(L.length>0){UZ(L);let _=W.getAppState(),O=yZ(_.toolPermissionContext,L);W.setAppState((q)=>{if(q.toolPermissionContext===O)return q;return{...q,toolPermissionContext:O}})}return{behavior:"allow",updatedInput:J,userModified:!1,decisionReason:{type:"hook",hookName:"PermissionRequest"}}}else return{behavior:"deny",message:z.message||"Permission denied by PermissionRequest hook",decisionReason:{type:"hook",hookName:"PermissionRequest"}}}return}var qY={"`":"`",'"':'"',"<":">","{":"}","[":"]","(":")","'":"'"};function Y6(Q,Z){if(!new RegExp(Z,"i").test(Q))return[];if(Q.startsWith("/"))return[];let W=[],V=null,H=0,G=(J)=>!!J&&/[\p{L}\p{N}_]/u.test(J);for(let J=0;J<Q.length;J++){let L=Q[J];if(V){if(V==="["&&L==="["){H=J;continue}if(L!==qY[V])continue;if(V==="'"&&G(Q[J+1]))continue;W.push({start:H,end:J+1}),V=null}else if(L==="<"&&J+1<Q.length&&/[a-zA-Z/]/.test(Q[J+1])||L==="'"&&!G(Q[J-1])||L!=="<"&&L!=="'"&&L in qY)V=L,H=J}let K=[],B=new RegExp(`\\b${Z}\\b`,"gi"),z=Q.matchAll(B);for(let J of z){if(J.index===void 0)continue;let L=J.index,_=L+J[0].length;if(W.some((P)=>L>=P.start&&L<P.end))continue;let O=Q[L-1],q=Q[_];if(O==="/"||O==="\\"||O==="-")continue;if(q==="/"||q==="\\"||q==="-"||q==="?")continue;if(q==="."&&G(Q[_+1]))continue;K.push({word:J[0],start:L,end:_})}return K}function VV(Q){return Y6(Q,"ultrareview")}wZ();jZ();B6();J6();H6();K6();zY();$Y();W6();jZ();N6();G6();import{randomUUID as L6}from"crypto";HZ();wZ();jZ();Q6();X6();import{randomUUID as V6}from"crypto";function DY(Q){let Z=Q.toLowerCase();return/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b/.test(Z)}function AY(Q){let Z=Q.toLowerCase().trim();if(Z==="continue")return!0;return/\b(keep going|go on)\b/.test(Z)}function yY(Q,Z,X,W,V,H,G){let K=V6();_Y(K);let B=typeof Q==="string"?Q:Q.find((O)=>O.type==="text")?.text||"";OY(B);let z=typeof Q==="string"?Q:Q.findLast((O)=>O.type==="text")?.text||"";if(z)jY("user_prompt",{prompt_length:String(z.length),prompt:wY(z),"prompt.id":K});let J=DY(B),L=AY(B);if(d("",{is_negative:J,is_keep_going:L}),Z.length>0){let O=typeof Q==="string"?Q.trim()?[{type:"text",text:Q}]:[]:Q;return{messages:[o({content:[...O,...Z],uuid:V,imagePasteIds:X.length>0?X:void 0,permissionMode:H,isMeta:G||void 0}),...W],shouldQuery:!0}}return{messages:[o({content:Q,uuid:V,permissionMode:H,isMeta:G||void 0}),...W],shouldQuery:!0}}async function RV({input:Q,preExpansionInput:Z,mode:X,setToolJSX:W,context:V,pastedContents:H,ideSelection:G,messages:K,setUserInputOnProcessing:B,uuid:z,isAlreadyProcessing:J,querySource:L,canUseTool:_,skipSlashCommands:O,bridgeOrigin:q,isMeta:P,skipAttachments:f}){let v=typeof Q==="string"?Q:null;if(X==="prompt"&&v!==null&&!P)B?.(v);a("query_process_user_input_base_start");let F=V.getAppState(),U=await z6(Q,X,W,V,H,G,K,z,J,L,_,F.toolPermissionContext.mode,O,q,P,f,Z);if(a("query_process_user_input_base_end"),!U.shouldQuery)return U;a("query_hooks_start");let h=EY(Q)||"";for await(let E of xY(h,F.toolPermissionContext.mode,V,V.requestPrompt)){if(E.message?.type==="progress")continue;if(E.blockingError){let p=kY(E.blockingError);return{messages:[RY(`${p}
22
+
23
+ Original prompt: ${Q}`,"warning")],shouldQuery:!1,allowedTools:U.allowedTools}}if(E.preventContinuation){let p=E.stopReason?`Operation stopped by hook: ${E.stopReason}`:"Operation stopped by hook";return U.messages.push(o({content:p})),U.shouldQuery=!1,U}if(E.additionalContexts&&E.additionalContexts.length>0)U.messages.push(PY({type:"hook_additional_context",content:E.additionalContexts.map(UY),hookName:"UserPromptSubmit",toolUseID:`hook-${L6()}`,hookEvent:"UserPromptSubmit"}));let w=E.message;if(w&&w.type==="attachment")switch(w.attachment.type){case"hook_success":if(!w.attachment.content)break;U.messages.push({...w,attachment:{...w.attachment,content:UY(w.attachment.content)}});break;default:U.messages.push(w);break}else if(w)U.messages.push(w)}return a("query_hooks_end"),U}var gZ=1e4;function UY(Q){if(Q.length>gZ)return`${Q.substring(0,gZ)}… [output truncated - exceeded ${gZ} characters]`;return Q}async function z6(Q,Z,X,W,V,H,G,K,B,z,J,L,_,O,q,P,f){let v=null,F=[],U=[],h=Q;if(typeof Q==="string")v=Q;else if(Q.length>0){a("query_image_processing_start");let A=[];for(let N of Q)if(N.type==="image"){let x=await nZ(N);if(x.dimensions){let g=PZ(x.dimensions);if(g)U.push(g)}A.push(x.block)}else A.push(N);h=A,a("query_image_processing_end");let $=A[A.length-1];if($?.type==="text")v=$.text,F=A.slice(0,-1);else F=A}if(v===null&&Z!=="prompt")throw Error(`Mode: ${Z} requires a string input.`);let E=V?Object.values(V).filter(IY):[],w=E.map((A)=>A.id),p=V?await FY(V):new Map;a("query_pasted_image_processing_start");let i=await Promise.all(E.map(async(A)=>{let $={type:"image",source:{type:"base64",media_type:A.mediaType||"image/png",data:A.content}};return d("",{original_size_bytes:A.content.length}),{resized:await nZ($),originalDimensions:A.dimensions,sourcePath:A.sourcePath??p.get(A.id)}})),r=[];for(let{resized:A,originalDimensions:$,sourcePath:N}of i){if(A.dimensions){let x=PZ(A.dimensions,N);if(x)U.push(x)}else if($){let x=PZ($,N);if(x)U.push(x)}else if(N)U.push(`[Image source: ${N}]`);r.push(A.block)}a("query_pasted_image_processing_end");let C=_;if(O&&v!==null&&v.startsWith("/")){let A=MY(v),$=A?SY(A.commandName,W.options.commands):void 0;if($)if(hY($))C=!1;else{let N=`/${fY($)} isn't available over Remote Control.`;return{messages:[o({content:v,uuid:K}),TY(`<local-command-stdout>${N}</local-command-stdout>`)],shouldQuery:!1,resultText:N}}}let S=!P&&v!==null&&(Z!=="prompt"||C||!v.startsWith("/"));a("query_attachment_loading_start");let k=S?await bY(CY(v,W,H??null,[],G,z)):[];if(a("query_attachment_loading_end"),v!==null&&Z==="bash"){let{processBashCommand:A}=await import("./processBashCommand-1.1.30-5bzgcejg.mjs");return lZ(await A(v,F,k,W,X),U)}if(v!==null&&!C&&v.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-1.1.30-2bwd1kpt.mjs"),$=await A(v,F,r,k,W,X,K,B,J);return lZ($,U)}if(v!==null&&Z==="prompt"){let A=v.trim(),$=k.find((N)=>N.attachment.type==="agent_mention");if($){let N=`@agent-${$.attachment.agentType}`,x=A===N,g=A.startsWith(N)&&!x;d("",{is_subagent_only:x,is_prefix:g})}}return lZ(yY(h,r,w,k,K,L,q),U)}function lZ(Q,Z){if(Z.length>0)Q.messages.push(o({content:Z.map((X)=>({type:"text",text:X})),isMeta:!0}));return Q}$Y();function hV(Q){if(Q.type!=="user")return;let Z=Q.message?.content;if(!Z)return;if(Array.isArray(Z)&&Z.length===0)return;let X="uuid"in Q&&typeof Q.uuid==="string"?Q.uuid:void 0;return{content:Array.isArray(Z)?v6(Z):Z,uuid:X}}function v6(Q){if(!Q.some(uY))return Q;return Q.map((Z)=>{if(!uY(Z))return Z;let X=Z.source,W=typeof X.mediaType==="string"&&X.mediaType?X.mediaType:pY(Z.source.data);return{...Z,source:{type:"base64",media_type:W,data:Z.source.data}}})}function uY(Q){if(Q.type!=="image"||Q.source?.type!=="base64")return!1;return!Q.source.media_type}HZ();j6();D6();w6();q6();_6();A6();import{randomUUID as O6}from"crypto";function y6(Q){return Q===dY?gY:Q}function lV(Q){let X=lY()?.outputStyle??iY,W={type:"system",subtype:"init",cwd:mY(),session_id:NZ(),tools:Q.tools.map((V)=>y6(V.name)),mcp_servers:Q.mcpClients.map((V)=>({name:V.name,status:V.type})),model:Q.model,permissionMode:Q.permissionMode,slash_commands:Q.commands.filter((V)=>V.userInvocable!==!1).map((V)=>V.name),apiKeySource:nY().source,betas:cY(),claude_code_version:"99.0.0",output_style:X,agents:Q.agents.map((V)=>V.agentType),skills:Q.skills.filter((V)=>V.userInvocable!==!1).map((V)=>V.name),plugins:Q.plugins.map((V)=>({name:V.name,path:V.path,source:V.source})),uuid:O6()};return W.fast_mode_state=aY(Q.model,Q.fastMode),W}i6();HZ();GZ();dZ();a6();l6();w0();r6();n6();import{isAbsolute as o6,resolve as s6}from"path";function t6(Q,Z,X){let W=[],V=[],H=[];for(let[G,K]of Object.entries(Q)){let B=Z[G],z=b9(K.source,X?.projectRoot);if(!B)W.push(G);else if(K.sourceIsFallback)H.push(G);else if(!E9(z,B.source))V.push({name:G,declaredSource:z,materializedSource:B.source});else H.push(G)}return{missing:W,sourceChanged:V,upToDate:H}}async function PW(Q){let Z=$9();if(Object.keys(Z).length===0)return{installed:[],updated:[],failed:[],upToDate:[],skipped:[]};let X;try{X=await P9()}catch(J){t(J),X={}}let W=t6(Z,X,{projectRoot:X0()}),V=[...W.missing.map((J)=>({name:J,source:b9(Z[J].source),action:"install"})),...W.sourceChanged.map(({name:J,declaredSource:L})=>({name:J,source:L,action:"update"}))],H=[],G=[];for(let J of V){if(Q?.skip?.(J.name,J.source)){H.push(J.name);continue}if(J.action==="update"&&U9(J.source)&&!await y9(J.source.path)){I(`[reconcile] '${J.name}' declared path does not exist; keeping materialized entry`),H.push(J.name);continue}G.push(J)}if(G.length===0)return{installed:[],updated:[],failed:[],upToDate:W.upToDate,skipped:H};I(`[reconcile] ${G.length} marketplace(s): ${G.map((J)=>`${J.name}(${J.action})`).join(", ")}`);let K=[],B=[],z=[];for(let J=0;J<G.length;J++){let{name:L,source:_,action:O}=G[J];Q?.onProgress?.({type:"installing",name:L,action:O,index:J+1,total:G.length});try{let q=await F9(_);if(O==="install")K.push(L);else B.push(L);Q?.onProgress?.({type:"installed",name:L,alreadyMaterialized:q.alreadyMaterialized})}catch(q){let P=j9(q);z.push({name:L,error:P}),Q?.onProgress?.({type:"failed",name:L,error:P}),t(q)}}return{installed:K,updated:B,failed:z,upToDate:W.upToDate,skipped:H}}function b9(Q,Z){if((Q.source==="directory"||Q.source==="file")&&!o6(Q.path)){let X=Z??X0(),W=O9(X);return{...Q,path:s6(W??X,Q.path)}}return Q}
24
+ export{xZ as Qa,EZ as Ra,YY as Sa,rQ as Ta,eQ as Ua,t9 as Va,T0 as Wa,XQ as Xa,VQ as Ya,WQ as Za,VV as _a,RV as $a,hV as ab,y6 as bb,lV as cb,t6 as db,PW as eb,F6 as fb,b6 as gb,M6 as hb,m6 as ib,d6 as jb,g6 as kb};
@@ -0,0 +1,2 @@
1
+ import{KR as x,NR as B}from"./cli-1.1.30-pc2wp50b.mjs";import{Mua as z}from"./cli-1.1.30-7dtpd1ra.mjs";function H(q){if(!q)return 0;return q.activeAgents.filter((b)=>b.source!=="built-in").reduce((b,w)=>{let y=`${w.agentType}: ${w.whenToUse}`;return b+x(y)},0)}var G=15000;var A=z(()=>{B()});
2
+ export{G as jh,H as kh,A as lh};
@@ -0,0 +1,2 @@
1
+ import{Baa as B,Daa as E}from"./cli-1.1.30-mebteknr.mjs";import{ula as C,xla as y}from"./cli-1.1.30-pgx35gqd.mjs";import{Ama as p,bma as T,fma as M,xma as O}from"./cli-1.1.30-7h45a0x6.mjs";import{Xma as L,cna as x}from"./cli-1.1.30-gv4z21b9.mjs";y();p();E();x();M();function N(W){if(W<60000)return`${Math.round(W/1000)}s`;let Z=Math.floor(W/60000),z=Math.round(W%60000/1000);return z>0?`${Z}m ${z}s`:`${Z}m`}function F(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return T(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function c(W){let Z=F(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var h=300000,j=1800000,H=3,R=60000;function t({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=h}){let J=new Map,Y=new Map,w=new Map;function U(q){let Q=(w.get(q)??0)+1;return w.set(q,Q),Q}function A(q,Q){let $=c(Q);if(!$){O(`[${z}:token] Could not decode JWT expiry for sessionId=${q}, token prefix=${Q.slice(0,15)}…, keeping existing timer`);return}let V=J.get(q);if(V)clearTimeout(V);let v=U(q),X=new Date($*1000).toISOString(),G=$*1000-Date.now()-P;if(G<=0){O(`[${z}:token] Token for sessionId=${q} expires=${X} (past or within buffer), refreshing immediately`),K(q,v);return}O(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(G)} (expires=${X}, buffer=${P/1000}s)`);let k=setTimeout(K,G,q,v);J.set(q,k)}function D(q,Q){let $=J.get(q);if($)clearTimeout($);let V=U(q),v=Math.max(Q*1000-P,30000);O(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(v)} (expires_in=${Q}s, buffer=${P/1000}s)`);let X=setTimeout(K,v,q,V);J.set(q,X)}async function K(q,Q){let $;try{$=await W()}catch(v){O(`[${z}:token] getAccessToken threw for sessionId=${q}: ${L(v)}`,{level:"error"})}if(w.get(q)!==Q){O(`[${z}:token] doRefresh for sessionId=${q} stale (gen ${Q} vs ${w.get(q)}), skipping`);return}if(!$){let v=(Y.get(q)??0)+1;if(Y.set(q,v),O(`[${z}:token] No OAuth token available for refresh, sessionId=${q} (failure ${v}/${H})`,{level:"error"}),B("error","bridge_token_refresh_no_oauth"),v<H){let X=setTimeout(K,R,q,Q);J.set(q,X)}return}Y.delete(q),O(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),C("",{}),Z(q,$);let V=setTimeout(K,j,q,Q);J.set(q,V),O(`[${z}:token] Scheduled follow-up refresh for sessionId=${q} in ${N(j)}`)}function S(q){U(q);let Q=J.get(q);if(Q)clearTimeout(Q),J.delete(q);Y.delete(q)}function _(){for(let q of w.keys())U(q);for(let q of J.values())clearTimeout(q);J.clear(),Y.clear()}return{schedule:A,scheduleFromExpiresIn:D,cancel:S,cancelAll:_}}
2
+ export{c as Aa,t as Ba};
@@ -0,0 +1,2 @@
1
+ import{B1 as k,GZ as Z,X0 as K}from"./cli-1.1.30-569esepc.mjs";import{T5 as J,U5 as H}from"./cli-1.1.30-92t0b3hs.mjs";import{paa as v,qaa as Y}from"./cli-1.1.30-mebteknr.mjs";import{Iua as V,Mua as X}from"./cli-1.1.30-7dtpd1ra.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
2
+ export{N as yi,C as zi};
@@ -0,0 +1,2 @@
1
+ import{Mua as $}from"./cli-1.1.30-7dtpd1ra.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function A(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function N(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function m(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function q(z=1){return z===0?"":J(z,"A")}function D(z=1){return z===0?"":J(z,"B")}function M(z=1){return z===0?"":J(z,"C")}function W(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function b(z,Q){let V="";if(z<0)V+=W(-z);else if(z>0)V+=M(z);if(Q<0)V+=q(-Q);else if(Q>0)V+=D(Q);return V}function S(){return J("K")}function l(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=q(1);return Q+=k,Q}function o(z=1){return z===0?"":J(z,"S")}function y(z=1){return z===0?"":J(z,"T")}function a(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,k,v,F,K,E,c,t,n,i,r,e,s,zz,Jz;var X=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];k=J("G");v=J("H");F=J(2,"K"),K=J(2,"J"),E=J(3,"J");c=J("r"),t=J("200~"),n=J("201~"),i=J("I"),r=J("O"),e=J(">1u"),s=J("<u"),zz=J(">4;2m"),Jz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+v}var P,Zz;var f=$(()=>{X();P=J(0,"f");Zz=T()});
2
+ export{d as _3,Y as $3,h as a4,j as b4,H as c4,w as d4,L as e4,A as f4,N as g4,m as h4,J as i4,g as j4,I as k4,_ as l4,u as m4,R as n4,C as o4,v as p4,b as q4,S as r4,K as s4,l as t4,o as u4,y as v4,a as w4,c as x4,t as y4,n as z4,i as A4,r as B4,e as C4,s as D4,zz as E4,Jz as F4,X as G4,T as H4,Zz as I4,f as J4};