@claudiolabs/claudin 1.1.7 → 1.1.8

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 (913) hide show
  1. package/dist/chunks/AgentTool-1.1.8-6z4gxak1.mjs +1 -0
  2. package/dist/chunks/App-1.1.8-d07z7cbf.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.8-fsyn77jc.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.8-z6j52pp3.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.8-nxgt8y8q.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.8-bjsz0qfp.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.8-2mwsqmhp.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.8-24z6s4j5.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.8-abc9qq6c.mjs +7 -0
  10. package/dist/chunks/Doctor-1.1.8-8ja3a3f1.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.8-nsj1wjz4.mjs +6 -0
  12. package/dist/chunks/Grove-1.1.8-hkq9z22m.mjs +1 -0
  13. package/dist/chunks/ITermBackend-1.1.8-a8tfxk9n.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.1.8-nt3tgbzz.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.1.8-ybdh3drb.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.1.8-qvkzvfgf.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.1.8-2bkd7rzz.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.1.8-v45zy151.mjs +1 -0
  19. package/dist/chunks/REPL-1.1.8-mdyssah9.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.1.8-2d6r24bp.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.1.8-bkt80qn7.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.1.8-35s6scr9.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.1.8-gddzn3ac.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.1.8-sqrxwgy6.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.1.8-21pehb0t.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.1.8-h78w5ftj.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.1.8-pqvwnbce.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.1.8-rnbk6kxv.mjs +1 -0
  29. package/dist/chunks/add-dir-1.1.8-mdmcq32z.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.1.8-h8nnkdmz.mjs +1 -0
  31. package/dist/chunks/agents-1.1.8-4f1tz8xm.mjs +110 -0
  32. package/dist/chunks/agents-1.1.8-6kv8h0fa.mjs +3 -0
  33. package/dist/chunks/api-1.1.8-mp8twdfj.mjs +1 -0
  34. package/dist/chunks/asciicast-1.1.8-t2mar25c.mjs +1 -0
  35. package/dist/chunks/assistant-1.1.8-t54n390j.mjs +1 -0
  36. package/dist/chunks/auth-1.1.8-pv29fraf.mjs +1 -0
  37. package/dist/chunks/auth-1.1.8-qm8h71j7.mjs +1 -0
  38. package/dist/chunks/autoMode-1.1.8-ahgyhzep.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.1.8-sdsx7fz9.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.8-b37pdha5.mjs +1 -0
  41. package/dist/chunks/branch-1.1.8-2emyy03d.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.8-dkk2n1jt.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.8-bv7zrzb6.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.8-z1sv63ct.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.8-rqp8q7sc.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.8-5hg7c4c6.mjs +1 -0
  47. package/dist/chunks/btw-1.1.8-td5e11qz.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.8-jmk0bgcs.mjs +3 -0
  49. package/dist/chunks/cacache-1.1.8-qzw8r9my.mjs +1 -0
  50. package/dist/chunks/cache-probe-1.1.8-889g7w4k.mjs +21 -0
  51. package/dist/chunks/cacheStats-1.1.8-nzgv89d1.mjs +4 -0
  52. package/dist/chunks/caches-1.1.8-f09m1b12.mjs +1 -0
  53. package/dist/chunks/claudeDesktop-1.1.8-2rww6nv3.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.8-wygkqnb3.mjs +1 -0
  55. package/dist/chunks/clear-1.1.8-71j589cf.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.8-5j0t6dtd.mjs +1 -0
  57. package/dist/chunks/cli-1.1.8-05yz3n3m.mjs +2 -0
  58. package/dist/chunks/cli-1.1.8-0fqp4nd4.mjs +2 -0
  59. package/dist/chunks/cli-1.1.8-0pb52yqp.mjs +6 -0
  60. package/dist/chunks/cli-1.1.8-0vkk8zhj.mjs +2 -0
  61. package/dist/chunks/cli-1.1.8-0xw30z19.mjs +2 -0
  62. package/dist/chunks/cli-1.1.8-125zncm7.mjs +2 -0
  63. package/dist/chunks/cli-1.1.8-12gxg7dk.mjs +3 -0
  64. package/dist/chunks/cli-1.1.8-1as5wwed.mjs +2 -0
  65. package/dist/chunks/cli-1.1.8-1at0q43h.mjs +2 -0
  66. package/dist/chunks/cli-1.1.8-1e4hz1dh.mjs +4 -0
  67. package/dist/chunks/cli-1.1.8-1m910jhy.mjs +2 -0
  68. package/dist/chunks/cli-1.1.8-205c5ayn.mjs +45 -0
  69. package/dist/chunks/cli-1.1.8-20fqtbb0.mjs +2 -0
  70. package/dist/chunks/cli-1.1.8-231ktrsd.mjs +2 -0
  71. package/dist/chunks/cli-1.1.8-2afqpefw.mjs +2 -0
  72. package/dist/chunks/cli-1.1.8-2nq1cm30.mjs +39 -0
  73. package/dist/chunks/cli-1.1.8-2q9w1hnc.mjs +2 -0
  74. package/dist/chunks/cli-1.1.8-2smp07zs.mjs +2 -0
  75. package/dist/chunks/cli-1.1.8-2vsq8a0w.mjs +2 -0
  76. package/dist/chunks/cli-1.1.8-2zp9e9zh.mjs +2 -0
  77. package/dist/chunks/cli-1.1.8-30zhxwg9.mjs +16 -0
  78. package/dist/chunks/cli-1.1.8-35pzh2ts.mjs +2 -0
  79. package/dist/chunks/cli-1.1.8-38vrxm77.mjs +3 -0
  80. package/dist/chunks/cli-1.1.8-3btvsdx3.mjs +2 -0
  81. package/dist/chunks/cli-1.1.8-3j80fvcv.mjs +2 -0
  82. package/dist/chunks/cli-1.1.8-3tazs3h1.mjs +2 -0
  83. package/dist/chunks/cli-1.1.8-462maymv.mjs +2 -0
  84. package/dist/chunks/cli-1.1.8-49wtksqb.mjs +2 -0
  85. package/dist/chunks/cli-1.1.8-4cgcvt3g.mjs +15 -0
  86. package/dist/chunks/cli-1.1.8-4cvb8vj8.mjs +2 -0
  87. package/dist/chunks/cli-1.1.8-5862s9mq.mjs +9 -0
  88. package/dist/chunks/cli-1.1.8-59r0krp6.mjs +4 -0
  89. package/dist/chunks/cli-1.1.8-5e3xx9db.mjs +8 -0
  90. package/dist/chunks/cli-1.1.8-5s0ctz15.mjs +25 -0
  91. package/dist/chunks/cli-1.1.8-6118xjzf.mjs +2 -0
  92. package/dist/chunks/cli-1.1.8-61d813en.mjs +2 -0
  93. package/dist/chunks/cli-1.1.8-656pm2np.mjs +2 -0
  94. package/dist/chunks/cli-1.1.8-67d0fesx.mjs +18 -0
  95. package/dist/chunks/cli-1.1.8-6kg3tp3t.mjs +2 -0
  96. package/dist/chunks/cli-1.1.8-6t8wtnyz.mjs +15 -0
  97. package/dist/chunks/cli-1.1.8-6w5tvkaj.mjs +2 -0
  98. package/dist/chunks/cli-1.1.8-74586mpw.mjs +9 -0
  99. package/dist/chunks/cli-1.1.8-7536y3yr.mjs +3 -0
  100. package/dist/chunks/cli-1.1.8-7e1cxc2r.mjs +2 -0
  101. package/dist/chunks/cli-1.1.8-7ghn9sgt.mjs +2 -0
  102. package/dist/chunks/cli-1.1.8-7gv7j9wf.mjs +2 -0
  103. package/dist/chunks/cli-1.1.8-7j6ztazy.mjs +2 -0
  104. package/dist/chunks/cli-1.1.8-7kf0prpp.mjs +2 -0
  105. package/dist/chunks/cli-1.1.8-7mtk34ry.mjs +4 -0
  106. package/dist/chunks/cli-1.1.8-7sft4tp3.mjs +2 -0
  107. package/dist/chunks/cli-1.1.8-85hnxfzw.mjs +2 -0
  108. package/dist/chunks/cli-1.1.8-8ethv98x.mjs +3 -0
  109. package/dist/chunks/cli-1.1.8-8gj0g1hd.mjs +2 -0
  110. package/dist/chunks/cli-1.1.8-8x1wf6wg.mjs +59 -0
  111. package/dist/chunks/cli-1.1.8-8xe9c3tx.mjs +2 -0
  112. package/dist/chunks/cli-1.1.8-8zf4nnw6.mjs +15 -0
  113. package/dist/chunks/cli-1.1.8-98pq375b.mjs +2 -0
  114. package/dist/chunks/cli-1.1.8-9bx144d4.mjs +2 -0
  115. package/dist/chunks/cli-1.1.8-9d0730ff.mjs +3 -0
  116. package/dist/chunks/cli-1.1.8-9egsv8kb.mjs +2 -0
  117. package/dist/chunks/cli-1.1.8-9mr8erq2.mjs +2 -0
  118. package/dist/chunks/cli-1.1.8-9nnn67wx.mjs +2 -0
  119. package/dist/chunks/cli-1.1.8-9yhtna2t.mjs +2 -0
  120. package/dist/chunks/cli-1.1.8-a1qac4fc.mjs +3 -0
  121. package/dist/chunks/cli-1.1.8-a3etddaa.mjs +2 -0
  122. package/dist/chunks/cli-1.1.8-a3w8yas2.mjs +24 -0
  123. package/dist/chunks/cli-1.1.8-a52qejcb.mjs +20 -0
  124. package/dist/chunks/cli-1.1.8-akxxvxcg.mjs +2 -0
  125. package/dist/chunks/cli-1.1.8-arxr9t30.mjs +2 -0
  126. package/dist/chunks/cli-1.1.8-b46m1pa5.mjs +2 -0
  127. package/dist/chunks/cli-1.1.8-bdesaqqn.mjs +2 -0
  128. package/dist/chunks/cli-1.1.8-bf0h6s2a.mjs +2 -0
  129. package/dist/chunks/cli-1.1.8-bh494psb.mjs +6 -0
  130. package/dist/chunks/cli-1.1.8-bxbg70bf.mjs +2 -0
  131. package/dist/chunks/cli-1.1.8-bzs61r0e.mjs +2 -0
  132. package/dist/chunks/cli-1.1.8-c0knk34t.mjs +2 -0
  133. package/dist/chunks/cli-1.1.8-c3rz4cxf.mjs +2 -0
  134. package/dist/chunks/cli-1.1.8-c4xc2d6s.mjs +2 -0
  135. package/dist/chunks/cli-1.1.8-cpgd4r16.mjs +2 -0
  136. package/dist/chunks/cli-1.1.8-czskf284.mjs +2 -0
  137. package/dist/chunks/cli-1.1.8-d092mrgm.mjs +2 -0
  138. package/dist/chunks/cli-1.1.8-d2gfswc3.mjs +2 -0
  139. package/dist/chunks/cli-1.1.8-d3s7xdkk.mjs +2 -0
  140. package/dist/chunks/cli-1.1.8-d4878nn2.mjs +2 -0
  141. package/dist/chunks/cli-1.1.8-d5afbx68.mjs +6 -0
  142. package/dist/chunks/cli-1.1.8-db100c4h.mjs +202 -0
  143. package/dist/chunks/cli-1.1.8-dgbh9n27.mjs +6 -0
  144. package/dist/chunks/cli-1.1.8-dv1edxg1.mjs +4 -0
  145. package/dist/chunks/cli-1.1.8-e1by1s5j.mjs +2 -0
  146. package/dist/chunks/cli-1.1.8-e3ev48gp.mjs +2 -0
  147. package/dist/chunks/cli-1.1.8-edw6k2f7.mjs +2 -0
  148. package/dist/chunks/cli-1.1.8-ee9qyzkj.mjs +2 -0
  149. package/dist/chunks/cli-1.1.8-efjw6x2m.mjs +2 -0
  150. package/dist/chunks/cli-1.1.8-ekmm2znm.mjs +2 -0
  151. package/dist/chunks/cli-1.1.8-epqqq77y.mjs +1 -0
  152. package/dist/chunks/cli-1.1.8-ernbjcgb.mjs +2 -0
  153. package/dist/chunks/cli-1.1.8-evk4j7cq.mjs +2 -0
  154. package/dist/chunks/cli-1.1.8-f0kaq070.mjs +2 -0
  155. package/dist/chunks/cli-1.1.8-f2gv8js5.mjs +2 -0
  156. package/dist/chunks/cli-1.1.8-f75mhnpd.mjs +17 -0
  157. package/dist/chunks/cli-1.1.8-fd4rat7s.mjs +2 -0
  158. package/dist/chunks/cli-1.1.8-ffx8vwwt.mjs +3 -0
  159. package/dist/chunks/cli-1.1.8-fgw4h53q.mjs +2 -0
  160. package/dist/chunks/cli-1.1.8-fqgcppxc.mjs +2 -0
  161. package/dist/chunks/cli-1.1.8-g0t0qtsv.mjs +12 -0
  162. package/dist/chunks/cli-1.1.8-g8sjkk8z.mjs +7 -0
  163. package/dist/chunks/cli-1.1.8-gf6w1neb.mjs +2 -0
  164. package/dist/chunks/cli-1.1.8-gfzzaejq.mjs +2 -0
  165. package/dist/chunks/cli-1.1.8-gqqjkrq0.mjs +4 -0
  166. package/dist/chunks/cli-1.1.8-h5zqw021.mjs +2 -0
  167. package/dist/chunks/cli-1.1.8-hws56n0s.mjs +2 -0
  168. package/dist/chunks/cli-1.1.8-hzkgx15v.mjs +3 -0
  169. package/dist/chunks/cli-1.1.8-j2mvpcgh.mjs +2 -0
  170. package/dist/chunks/cli-1.1.8-jk6kcgkf.mjs +4 -0
  171. package/dist/chunks/cli-1.1.8-jkp8ynyx.mjs +2 -0
  172. package/dist/chunks/cli-1.1.8-jmp76vj2.mjs +2 -0
  173. package/dist/chunks/cli-1.1.8-jtxcccqb.mjs +2 -0
  174. package/dist/chunks/cli-1.1.8-jv4y43ct.mjs +2 -0
  175. package/dist/chunks/cli-1.1.8-jzk8xgkw.mjs +2 -0
  176. package/dist/chunks/cli-1.1.8-k2q3jd4x.mjs +2 -0
  177. package/dist/chunks/cli-1.1.8-k3jmtdxb.mjs +2 -0
  178. package/dist/chunks/cli-1.1.8-k4q05xpp.mjs +4 -0
  179. package/dist/chunks/cli-1.1.8-k6xa7zcq.mjs +2 -0
  180. package/dist/chunks/cli-1.1.8-k878kyye.mjs +2 -0
  181. package/dist/chunks/cli-1.1.8-kgq0wj8c.mjs +2 -0
  182. package/dist/chunks/cli-1.1.8-kkzcmrxs.mjs +2 -0
  183. package/dist/chunks/cli-1.1.8-knfkgncm.mjs +5721 -0
  184. package/dist/chunks/cli-1.1.8-mayxghnz.mjs +2 -0
  185. package/dist/chunks/cli-1.1.8-mdybbj2p.mjs +133 -0
  186. package/dist/chunks/cli-1.1.8-mgz0nyed.mjs +50 -0
  187. package/dist/chunks/cli-1.1.8-mhv5xrf1.mjs +4 -0
  188. package/dist/chunks/cli-1.1.8-mkzsens1.mjs +4 -0
  189. package/dist/chunks/cli-1.1.8-mq7t5jca.mjs +3 -0
  190. package/dist/chunks/cli-1.1.8-mza3p36d.mjs +2 -0
  191. package/dist/chunks/cli-1.1.8-n14gnq6x.mjs +42 -0
  192. package/dist/chunks/cli-1.1.8-n5d4px5z.mjs +2 -0
  193. package/dist/chunks/cli-1.1.8-nh485h9b.mjs +2 -0
  194. package/dist/chunks/cli-1.1.8-nrr32j4a.mjs +2 -0
  195. package/dist/chunks/cli-1.1.8-nt403561.mjs +2 -0
  196. package/dist/chunks/cli-1.1.8-nv123ysj.mjs +5 -0
  197. package/dist/chunks/cli-1.1.8-nv181dzv.mjs +2 -0
  198. package/dist/chunks/cli-1.1.8-nv79qg54.mjs +2 -0
  199. package/dist/chunks/cli-1.1.8-nvt7cbzg.mjs +2 -0
  200. package/dist/chunks/cli-1.1.8-nx84ctb0.mjs +2 -0
  201. package/dist/chunks/cli-1.1.8-nzs4skf4.mjs +2 -0
  202. package/dist/chunks/cli-1.1.8-p3fzx1sj.mjs +24 -0
  203. package/dist/chunks/cli-1.1.8-p6bd42xj.mjs +2 -0
  204. package/dist/chunks/cli-1.1.8-pwdb2y2v.mjs +2 -0
  205. package/dist/chunks/cli-1.1.8-px4ph853.mjs +6 -0
  206. package/dist/chunks/cli-1.1.8-q6c1w0dw.mjs +2 -0
  207. package/dist/chunks/cli-1.1.8-qcyhp9k8.mjs +3 -0
  208. package/dist/chunks/cli-1.1.8-qgweycgj.mjs +6 -0
  209. package/dist/chunks/cli-1.1.8-qgzhmw5w.mjs +2 -0
  210. package/dist/chunks/cli-1.1.8-qpqcr4wt.mjs +2 -0
  211. package/dist/chunks/cli-1.1.8-r9vd968y.mjs +2 -0
  212. package/dist/chunks/cli-1.1.8-rk2akmnh.mjs +67 -0
  213. package/dist/chunks/cli-1.1.8-rk40pf8s.mjs +2 -0
  214. package/dist/chunks/cli-1.1.8-rqqgbjy2.mjs +133 -0
  215. package/dist/chunks/cli-1.1.8-sc8428te.mjs +12 -0
  216. package/dist/chunks/cli-1.1.8-sw7sne7p.mjs +25 -0
  217. package/dist/chunks/cli-1.1.8-sxkrzwwg.mjs +18 -0
  218. package/dist/chunks/cli-1.1.8-sxmsdz7p.mjs +2 -0
  219. package/dist/chunks/cli-1.1.8-syhhv2xq.mjs +21 -0
  220. package/dist/chunks/cli-1.1.8-syttwgv4.mjs +3 -0
  221. package/dist/chunks/cli-1.1.8-t4hx0et2.mjs +2 -0
  222. package/dist/chunks/cli-1.1.8-t62hkyhg.mjs +2 -0
  223. package/dist/chunks/cli-1.1.8-t8xxt1pf.mjs +2 -0
  224. package/dist/chunks/cli-1.1.8-t93r8p95.mjs +4 -0
  225. package/dist/chunks/cli-1.1.8-t9cqvdhd.mjs +2 -0
  226. package/dist/chunks/cli-1.1.8-ta0zzaw5.mjs +17 -0
  227. package/dist/chunks/cli-1.1.8-tf20w2jn.mjs +2 -0
  228. package/dist/chunks/cli-1.1.8-tw2q1gej.mjs +2 -0
  229. package/dist/chunks/cli-1.1.8-tx519hkn.mjs +2 -0
  230. package/dist/chunks/cli-1.1.8-v8hp2y41.mjs +2 -0
  231. package/dist/chunks/cli-1.1.8-vqpn0kq9.mjs +2 -0
  232. package/dist/chunks/cli-1.1.8-vrszw55m.mjs +2 -0
  233. package/dist/chunks/cli-1.1.8-vw9jfqt2.mjs +2 -0
  234. package/dist/chunks/cli-1.1.8-w1ktcdzx.mjs +34 -0
  235. package/dist/chunks/cli-1.1.8-w2e3c7g6.mjs +2 -0
  236. package/dist/chunks/cli-1.1.8-w99f42k9.mjs +3 -0
  237. package/dist/chunks/cli-1.1.8-w9h3mvb4.mjs +2 -0
  238. package/dist/chunks/cli-1.1.8-w9tz8aaw.mjs +2 -0
  239. package/dist/chunks/cli-1.1.8-wdfxmkc7.mjs +2 -0
  240. package/dist/chunks/cli-1.1.8-wew0nf1q.mjs +12 -0
  241. package/dist/chunks/cli-1.1.8-wkyr3v6g.mjs +24 -0
  242. package/dist/chunks/cli-1.1.8-x05h2zp4.mjs +2 -0
  243. package/dist/chunks/cli-1.1.8-x3vk9h1m.mjs +24 -0
  244. package/dist/chunks/cli-1.1.8-x9e1306p.mjs +2 -0
  245. package/dist/chunks/cli-1.1.8-xa445fak.mjs +2 -0
  246. package/dist/chunks/cli-1.1.8-xmcyv92d.mjs +2 -0
  247. package/dist/chunks/cli-1.1.8-xqdr42wv.mjs +2 -0
  248. package/dist/chunks/cli-1.1.8-xzb74dgc.mjs +58 -0
  249. package/dist/chunks/cli-1.1.8-y3tr91m8.mjs +2 -0
  250. package/dist/chunks/cli-1.1.8-y50med5h.mjs +4 -0
  251. package/dist/chunks/cli-1.1.8-yjmxxj4y.mjs +2 -0
  252. package/dist/chunks/cli-1.1.8-yptj5mm3.mjs +2 -0
  253. package/dist/chunks/cli-1.1.8-yv4mw1z8.mjs +2 -0
  254. package/dist/chunks/cli-1.1.8-yx9yzca1.mjs +5 -0
  255. package/dist/chunks/cli-1.1.8-yzrpw572.mjs +2 -0
  256. package/dist/chunks/cli-1.1.8-zav01h3c.mjs +2 -0
  257. package/dist/chunks/cli-1.1.8-zc2wv1d7.mjs +2 -0
  258. package/dist/chunks/cli-1.1.8-zcrckt5v.mjs +2 -0
  259. package/dist/chunks/cli-1.1.8-zfx1k21c.mjs +2 -0
  260. package/dist/chunks/client-1.1.8-h43htzv0.mjs +1 -0
  261. package/dist/chunks/color-1.1.8-zdg5fqma.mjs +1 -0
  262. package/dist/chunks/compact-1.1.8-1af2hhhd.mjs +3 -0
  263. package/dist/chunks/config-1.1.8-bs3j0bh7.mjs +1 -0
  264. package/dist/chunks/config-1.1.8-mwcwa3ha.mjs +1 -0
  265. package/dist/chunks/constants-1.1.8-6qsgmarg.mjs +1 -0
  266. package/dist/chunks/context-1.1.8-y2smmd8y.mjs +1 -0
  267. package/dist/chunks/context-noninteractive-1.1.8-7m4c952c.mjs +1 -0
  268. package/dist/chunks/conversation-1.1.8-2hmabtxd.mjs +1 -0
  269. package/dist/chunks/copilotHeaders-1.1.8-nh4ys57g.mjs +1 -0
  270. package/dist/chunks/copy-1.1.8-vxmgrtv3.mjs +9 -0
  271. package/dist/chunks/cost-1.1.8-70bsspf5.mjs +1 -0
  272. package/dist/chunks/createSSHSession-1.1.8-4axzt4k5.mjs +1 -0
  273. package/dist/chunks/createSession-1.1.8-c1fbb9pm.mjs +1 -0
  274. package/dist/chunks/debug-1.1.8-02x6g655.mjs +1 -0
  275. package/dist/chunks/defaultActionDeps-1.1.8-a1dxrpdz.mjs +1446 -0
  276. package/dist/chunks/desktop-1.1.8-tdtzcad0.mjs +1 -0
  277. package/dist/chunks/detectRepository-1.1.8-6h2qfjfb.mjs +1 -0
  278. package/dist/chunks/detection-1.1.8-mwwyzmcq.mjs +1 -0
  279. package/dist/chunks/diff-1.1.8-dcm7epcs.mjs +1 -0
  280. package/dist/chunks/doctor-1.1.8-a29dgfa8.mjs +1 -0
  281. package/dist/chunks/doctorDiagnostic-1.1.8-njzmwvmq.mjs +1 -0
  282. package/dist/chunks/earlyInput-1.1.8-7genxy96.mjs +1 -0
  283. package/dist/chunks/effort-1.1.8-y36797j4.mjs +13 -0
  284. package/dist/chunks/engine-1.1.8-fqyd5m01.mjs +1 -0
  285. package/dist/chunks/envLessBridgeConfig-1.1.8-ef7qwkd5.mjs +1 -0
  286. package/dist/chunks/envUtils-1.1.8-99wqsc2g.mjs +1 -0
  287. package/dist/chunks/environmentSelection-1.1.8-cc9g8r4w.mjs +1 -0
  288. package/dist/chunks/environments-1.1.8-hw1xqjcd.mjs +1 -0
  289. package/dist/chunks/errors-1.1.8-1493t2ga.mjs +1 -0
  290. package/dist/chunks/exampleCommands-1.1.8-zdxcd2qw.mjs +1 -0
  291. package/dist/chunks/execFileNoThrow-1.1.8-ntrztjxv.mjs +1 -0
  292. package/dist/chunks/exit-1.1.8-hg0x8rb4.mjs +1 -0
  293. package/dist/chunks/explorer-1.1.8-45jxm6r3.mjs +1 -0
  294. package/dist/chunks/export-1.1.8-tjbc3yps.mjs +2 -0
  295. package/dist/chunks/extra-usage-1.1.8-m07zw7z7.mjs +1 -0
  296. package/dist/chunks/extra-usage-noninteractive-1.1.8-x0nk6gpq.mjs +1 -0
  297. package/dist/chunks/fast-1.1.8-16bcey2v.mjs +1 -0
  298. package/dist/chunks/feedback-1.1.8-ybfs6p31.mjs +14 -0
  299. package/dist/chunks/firstPartyEventLogger-1.1.8-0a07kg5a.mjs +1 -0
  300. package/dist/chunks/git-1.1.8-yhtjgapj.mjs +1 -0
  301. package/dist/chunks/githubModelsCredentials-1.1.8-8m2kfpj0.mjs +1 -0
  302. package/dist/chunks/goal-1.1.8-m18wqymf.mjs +4 -0
  303. package/dist/chunks/grove-1.1.8-hq8trmvx.mjs +1 -0
  304. package/dist/chunks/growthbook-1.1.8-jnc5s1gr.mjs +1 -0
  305. package/dist/chunks/headless-1.1.8-g6y7x6p5.mjs +2 -0
  306. package/dist/chunks/heapdump-1.1.8-bdd4tbc4.mjs +6 -0
  307. package/dist/chunks/help-1.1.8-adn9yj5b.mjs +1 -0
  308. package/dist/chunks/hookChains-1.1.8-jvx26rvp.mjs +3 -0
  309. package/dist/chunks/hooks-1.1.8-10bepv2t.mjs +79 -0
  310. package/dist/chunks/hooks-1.1.8-wxrar4bk.mjs +1 -0
  311. package/dist/chunks/ide-1.1.8-e1kgf08v.mjs +3 -0
  312. package/dist/chunks/image-processor-napi-1.1.8-7qq6cd9d.mjs +1 -0
  313. package/dist/chunks/inboundAttachments-1.1.8-tmvsb72y.mjs +1 -0
  314. package/dist/chunks/index-1.1.8-075w4nhz.mjs +9 -0
  315. package/dist/chunks/index-1.1.8-0hkas4xw.mjs +1 -0
  316. package/dist/chunks/index-1.1.8-0vs7xmac.mjs +30 -0
  317. package/dist/chunks/index-1.1.8-15y0r0yw.mjs +1 -0
  318. package/dist/chunks/index-1.1.8-26b73x3g.mjs +2 -0
  319. package/dist/chunks/index-1.1.8-4etv37ta.mjs +1 -0
  320. package/dist/chunks/index-1.1.8-6p8c8t6k.mjs +1 -0
  321. package/dist/chunks/index-1.1.8-7ykg7nw4.mjs +1 -0
  322. package/dist/chunks/index-1.1.8-8t0g6s4j.mjs +1 -0
  323. package/dist/chunks/index-1.1.8-cgcvj82j.mjs +23 -0
  324. package/dist/chunks/index-1.1.8-cm3fqyj1.mjs +1 -0
  325. package/dist/chunks/index-1.1.8-cpf2mfhc.mjs +1 -0
  326. package/dist/chunks/index-1.1.8-f3qfkewa.mjs +1 -0
  327. package/dist/chunks/index-1.1.8-gyhxyh37.mjs +1 -0
  328. package/dist/chunks/index-1.1.8-hyz5kb4e.mjs +1 -0
  329. package/dist/chunks/index-1.1.8-k0eafjj9.mjs +1 -0
  330. package/dist/chunks/index-1.1.8-qhk5dps0.mjs +9 -0
  331. package/dist/chunks/index-1.1.8-rcyqt694.mjs +1 -0
  332. package/dist/chunks/index-1.1.8-sv9wq8vm.mjs +1 -0
  333. package/dist/chunks/index-1.1.8-tz0fvmye.mjs +5 -0
  334. package/dist/chunks/index-1.1.8-vaqk09sc.mjs +1 -0
  335. package/dist/chunks/index-1.1.8-vd2csf3e.mjs +2 -0
  336. package/dist/chunks/index-1.1.8-y6bn96fs.mjs +1 -0
  337. package/dist/chunks/init-1.1.8-e7kkbgzq.mjs +1 -0
  338. package/dist/chunks/initReplBridge-1.1.8-0cctke88.mjs +1 -0
  339. package/dist/chunks/ink-1.1.8-20q0h10k.mjs +1 -0
  340. package/dist/chunks/insights-1.1.8-e9hjnmbn.mjs +870 -0
  341. package/dist/chunks/install-1.1.8-fnb2k88m.mjs +1 -0
  342. package/dist/chunks/install-github-app-1.1.8-dgabwyh1.mjs +149 -0
  343. package/dist/chunks/install-slack-app-1.1.8-2vh4newn.mjs +1 -0
  344. package/dist/chunks/instrumentation-1.1.8-kth6vzt4.mjs +1 -0
  345. package/dist/chunks/interactiveHelpers-1.1.8-3g33kfsm.mjs +1 -0
  346. package/dist/chunks/keybindings-1.1.8-c69hmddw.mjs +2 -0
  347. package/dist/chunks/knowledge-1.1.8-sngea3j8.mjs +2 -0
  348. package/dist/chunks/latestVersionCache-1.1.8-1srnp86b.mjs +1 -0
  349. package/dist/chunks/loadAgentsDir-1.1.8-wmvpm36a.mjs +1 -0
  350. package/dist/chunks/loadPluginHooks-1.1.8-9hrrn6b1.mjs +1 -0
  351. package/dist/chunks/loadPluginHooks-1.1.8-ae5zxvnn.mjs +1 -0
  352. package/dist/chunks/log-1.1.8-2wvsfegd.mjs +1 -0
  353. package/dist/chunks/main-1.1.8-53c8p1hf.mjs +1 -0
  354. package/dist/chunks/managedEnv-1.1.8-3qxf1b2m.mjs +1 -0
  355. package/dist/chunks/mcp-1.1.8-12tszewv.mjs +4 -0
  356. package/dist/chunks/mcp-1.1.8-2yw2qynw.mjs +1 -0
  357. package/dist/chunks/mcp-1.1.8-awep4hb5.mjs +17 -0
  358. package/dist/chunks/mcpb-1.1.8-14gyeqdt.mjs +1 -0
  359. package/dist/chunks/memory-1.1.8-v7hbdb18.mjs +72 -0
  360. package/dist/chunks/model-1.1.8-70r35ayh.mjs +2 -0
  361. package/dist/chunks/model-1.1.8-wncbw1nv.mjs +1 -0
  362. package/dist/chunks/node-1.1.8-0bpza0gv.mjs +12 -0
  363. package/dist/chunks/oauth-1.1.8-1zj1geby.mjs +1 -0
  364. package/dist/chunks/openaiShim-1.1.8-eaxqv9jn.mjs +14 -0
  365. package/dist/chunks/output-style-1.1.8-v8kk4mmm.mjs +1 -0
  366. package/dist/chunks/package-L37ZVTF4-1.1.8-f4krrwjg.mjs +1 -0
  367. package/dist/chunks/parseConnectUrl-1.1.8-tns55hj7.mjs +1 -0
  368. package/dist/chunks/parser-1.1.8-y6rm14pk.mjs +1 -0
  369. package/dist/chunks/passes-1.1.8-hyd8bv5h.mjs +1 -0
  370. package/dist/chunks/permissions-1.1.8-e32fqvvk.mjs +3 -0
  371. package/dist/chunks/permissions-1.1.8-j0scmex7.mjs +1 -0
  372. package/dist/chunks/plan-1.1.8-1csevcqv.mjs +1 -0
  373. package/dist/chunks/plist-1.1.8-47419hwn.mjs +1 -0
  374. package/dist/chunks/plugin-1.1.8-xcj7jz75.mjs +29 -0
  375. package/dist/chunks/pluginStartupCheck-1.1.8-hqbc3c4d.mjs +1 -0
  376. package/dist/chunks/plugins-1.1.8-nrra8gx1.mjs +9 -0
  377. package/dist/chunks/preActionHook-1.1.8-2fgj7c0d.mjs +2 -0
  378. package/dist/chunks/print-1.1.8-3qy5nfzr.mjs +57 -0
  379. package/dist/chunks/privacy-settings-1.1.8-zsp6fsh1.mjs +1 -0
  380. package/dist/chunks/process-1.1.8-t92an9g0.mjs +1 -0
  381. package/dist/chunks/processBashCommand-1.1.8-5j7f3zj5.mjs +1 -0
  382. package/dist/chunks/processSlashCommand-1.1.8-97yy5hpk.mjs +9 -0
  383. package/dist/chunks/prompt-1.1.8-mges4wt5.mjs +1 -0
  384. package/dist/chunks/prompt-1.1.8-tfg4jhbt.mjs +1 -0
  385. package/dist/chunks/prompts-1.1.8-q1wrrwdr.mjs +1 -0
  386. package/dist/chunks/protocolHandler-1.1.8-ymb7yfxx.mjs +13 -0
  387. package/dist/chunks/provider-1.1.8-j317q85s.mjs +2 -0
  388. package/dist/chunks/providerProfiles-1.1.8-f2symnwy.mjs +1 -0
  389. package/dist/chunks/providerValidation-1.1.8-k2r5q4vk.mjs +6 -0
  390. package/dist/chunks/rate-limit-options-1.1.8-8chtnkxk.mjs +1 -0
  391. package/dist/chunks/registerSubcommands-1.1.8-9wd8cb3g.mjs +34 -0
  392. package/dist/chunks/registry-1.1.8-d06az15f.mjs +1 -0
  393. package/dist/chunks/release-notes-1.1.8-rmg47yy1.mjs +5 -0
  394. package/dist/chunks/reload-plugins-1.1.8-wej3bnvx.mjs +2 -0
  395. package/dist/chunks/remote-env-1.1.8-bht3nad5.mjs +1 -0
  396. package/dist/chunks/remoteBridgeCore-1.1.8-j57ggr86.mjs +1 -0
  397. package/dist/chunks/remoteSession-1.1.8-rmrphzwh.mjs +1 -0
  398. package/dist/chunks/rename-1.1.8-t9s0vyfm.mjs +1 -0
  399. package/dist/chunks/replBridgeHandle-1.1.8-0hp49nj3.mjs +1 -0
  400. package/dist/chunks/replLauncher-1.1.8-vw8ysvak.mjs +1 -0
  401. package/dist/chunks/resume-1.1.8-g13vfwpe.mjs +2 -0
  402. package/dist/chunks/rewind-1.1.8-k2bp0x9p.mjs +1 -0
  403. package/dist/chunks/rootOptions-1.1.8-jjagdnm4.mjs +1 -0
  404. package/dist/chunks/runWorkflowHeadless-1.1.8-szat8e81.mjs +10 -0
  405. package/dist/chunks/sandbox-adapter-1.1.8-gcn8vt8z.mjs +1 -0
  406. package/dist/chunks/sandbox-toggle-1.1.8-9k1xg4b5.mjs +1 -0
  407. package/dist/chunks/session-1.1.8-09hwr9j5.mjs +2 -0
  408. package/dist/chunks/sessionDiscovery-1.1.8-f8mhpp1n.mjs +1 -0
  409. package/dist/chunks/sessionFileAccessHooks-1.1.8-bahxxqhe.mjs +1 -0
  410. package/dist/chunks/sessionStorage-1.1.8-hjk3adja.mjs +1 -0
  411. package/dist/chunks/settings-1.1.8-5vc7cx5w.mjs +1 -0
  412. package/dist/chunks/setup-1.1.8-trp83ayz.mjs +5 -0
  413. package/dist/chunks/sinks-1.1.8-mwbk48v4.mjs +1 -0
  414. package/dist/chunks/skills-1.1.8-danp83p4.mjs +1 -0
  415. package/dist/chunks/startupProfiler-1.1.8-02jr5z55.mjs +1 -0
  416. package/dist/chunks/startupUpdateCheck-1.1.8-69wzwvc1.mjs +1 -0
  417. package/dist/chunks/state-1.1.8-nsdn5anj.mjs +1 -0
  418. package/dist/chunks/stats-1.1.8-t5pza2rr.mjs +6 -0
  419. package/dist/chunks/status-1.1.8-68h5gqvx.mjs +1 -0
  420. package/dist/chunks/stickers-1.1.8-0h3kkr20.mjs +1 -0
  421. package/dist/chunks/subprocessEnv-1.1.8-kabvqrxh.mjs +1 -0
  422. package/dist/chunks/tasks-1.1.8-zepre4hr.mjs +1 -0
  423. package/dist/chunks/teamHelpers-1.1.8-fcp2jsnp.mjs +1 -0
  424. package/dist/chunks/teammateModeSnapshot-1.1.8-qvmhwh7w.mjs +1 -0
  425. package/dist/chunks/teleport-1.1.8-7wdmygej.mjs +1 -0
  426. package/dist/chunks/terminalSetup-1.1.8-p7bj9pmp.mjs +1 -0
  427. package/dist/chunks/theme-1.1.8-3szcwvrn.mjs +1 -0
  428. package/dist/chunks/thinkback-1.1.8-gap3zzg0.mjs +1 -0
  429. package/dist/chunks/thinkback-play-1.1.8-v89ne249.mjs +1 -0
  430. package/dist/chunks/toolPool-1.1.8-3vtrmmhc.mjs +1 -0
  431. package/dist/chunks/toolSearch-1.1.8-c86299rc.mjs +1 -0
  432. package/dist/chunks/tools-1.1.8-fgh8e1kf.mjs +1 -0
  433. package/dist/chunks/trustedDevice-1.1.8-nysjtcf4.mjs +1 -0
  434. package/dist/chunks/turndown.cjs-1.1.8-cqczbjvz.mjs +69 -0
  435. package/dist/chunks/types-1.1.8-paq7e73r.mjs +1 -0
  436. package/dist/chunks/ultrareviewCommand-1.1.8-3k0h42t7.mjs +4 -0
  437. package/dist/chunks/update-1.1.8-c8rb7gzn.mjs +72 -0
  438. package/dist/chunks/upgrade-1.1.8-nmgtg5re.mjs +1 -0
  439. package/dist/chunks/upload-1.1.8-bwrxfje4.mjs +7 -0
  440. package/dist/chunks/upstreamproxy-1.1.8-9n7d40g6.mjs +14 -0
  441. package/dist/chunks/url-handler-napi-1.1.8-zd3gsw0r.mjs +1 -0
  442. package/dist/chunks/usage-1.1.8-n15nggj5.mjs +1 -0
  443. package/dist/chunks/util-1.1.8-jz0kvsrr.mjs +1 -0
  444. package/dist/chunks/utils-1.1.8-zmtfqjk6.mjs +1 -0
  445. package/dist/chunks/vim-1.1.8-f0gtc89f.mjs +1 -0
  446. package/dist/chunks/watchLoop-1.1.8-rw3vn991.mjs +13 -0
  447. package/dist/chunks/watcher-1.1.8-jcxwjkvy.mjs +1 -0
  448. package/dist/chunks/wiki-1.1.8-e7rt9td4.mjs +132 -0
  449. package/dist/chunks/workflows-1.1.8-crtrj2rc.mjs +1 -0
  450. package/dist/chunks/worktree-1.1.8-50mfr61r.mjs +1 -0
  451. package/dist/chunks/worktreeModeEnabled-1.1.8-a7h96pt2.mjs +1 -0
  452. package/dist/chunks/wrapper-1.1.8-x1j8x6bc.mjs +7 -0
  453. package/dist/cli.mjs +2 -2
  454. package/package.json +9 -9
  455. package/dist/chunks/AgentTool-1.1.7-ta4a3hax.mjs +0 -1
  456. package/dist/chunks/App-1.1.7-bb5w6zvz.mjs +0 -1
  457. package/dist/chunks/ApproveApiKey-1.1.7-92afe7m0.mjs +0 -1
  458. package/dist/chunks/AssistantSessionChooser-1.1.7-gx3qxf94.mjs +0 -1
  459. package/dist/chunks/AutoModeOptInDialog-1.1.7-d0as32bc.mjs +0 -1
  460. package/dist/chunks/BypassPermissionsModeDialog-1.1.7-etp5s6ps.mjs +0 -1
  461. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.7-9thhg137.mjs +0 -1
  462. package/dist/chunks/ConsoleOAuthFlow-1.1.7-wwv2cgzz.mjs +0 -1
  463. package/dist/chunks/DiffDialog-1.1.7-30wzw849.mjs +0 -7
  464. package/dist/chunks/Doctor-1.1.7-m040nz42.mjs +0 -1
  465. package/dist/chunks/ExplorerDialog-1.1.7-xemvy0mx.mjs +0 -6
  466. package/dist/chunks/Grove-1.1.7-0synn9dr.mjs +0 -1
  467. package/dist/chunks/ITermBackend-1.1.7-be5cx2dr.mjs +0 -1
  468. package/dist/chunks/InvalidConfigDialog-1.1.7-b37xct1d.mjs +0 -1
  469. package/dist/chunks/InvalidSettingsDialog-1.1.7-89avh225.mjs +0 -1
  470. package/dist/chunks/MigrationDialog-1.1.7-1k5yjmhb.mjs +0 -1
  471. package/dist/chunks/Onboarding-1.1.7-0qnmq973.mjs +0 -1
  472. package/dist/chunks/ProviderManager-1.1.7-h9tf58hn.mjs +0 -1
  473. package/dist/chunks/REPL-1.1.7-93jsr9mr.mjs +0 -1
  474. package/dist/chunks/ResumeConversation-1.1.7-gv6zzztg.mjs +0 -1
  475. package/dist/chunks/SnapshotUpdateDialog-1.1.7-p7e7703c.mjs +0 -1
  476. package/dist/chunks/TeleportProgress-1.1.7-p8bxj585.mjs +0 -1
  477. package/dist/chunks/TeleportRepoMismatchDialog-1.1.7-nz62ycxc.mjs +0 -1
  478. package/dist/chunks/TeleportResumeWrapper-1.1.7-p5pzbd37.mjs +0 -1
  479. package/dist/chunks/TmuxBackend-1.1.7-6wwv8wy2.mjs +0 -9
  480. package/dist/chunks/ToolSearchTool-1.1.7-cdgerv78.mjs +0 -1
  481. package/dist/chunks/TrustDialog-1.1.7-h6jenc4t.mjs +0 -1
  482. package/dist/chunks/activeProvider-1.1.7-3xbperzf.mjs +0 -1
  483. package/dist/chunks/add-dir-1.1.7-e1padvq0.mjs +0 -1
  484. package/dist/chunks/agentTypes-1.1.7-s8xd8r8v.mjs +0 -1
  485. package/dist/chunks/agents-1.1.7-a5ngvagv.mjs +0 -3
  486. package/dist/chunks/agents-1.1.7-c2hzc3gf.mjs +0 -110
  487. package/dist/chunks/api-1.1.7-fkvjxbac.mjs +0 -1
  488. package/dist/chunks/asciicast-1.1.7-9j8vqr1m.mjs +0 -1
  489. package/dist/chunks/assistant-1.1.7-fxfh1k7b.mjs +0 -1
  490. package/dist/chunks/auth-1.1.7-nrjefdt5.mjs +0 -1
  491. package/dist/chunks/auth-1.1.7-z48g7tsc.mjs +0 -1
  492. package/dist/chunks/autoMode-1.1.7-13583dda.mjs +0 -48
  493. package/dist/chunks/autoUpdater-1.1.7-s5qp83zy.mjs +0 -1
  494. package/dist/chunks/backgroundHousekeeping-1.1.7-4nc59aph.mjs +0 -1
  495. package/dist/chunks/branch-1.1.7-ar2367j0.mjs +0 -4
  496. package/dist/chunks/bridge-1.1.7-qk1825qz.mjs +0 -2
  497. package/dist/chunks/bridgeConfig-1.1.7-dfwv9704.mjs +0 -1
  498. package/dist/chunks/bridgeEnabled-1.1.7-ergk9b5s.mjs +0 -1
  499. package/dist/chunks/bridgeMain-1.1.7-re0t745d.mjs +0 -88
  500. package/dist/chunks/bridgePointer-1.1.7-pcfmgmj9.mjs +0 -1
  501. package/dist/chunks/btw-1.1.7-g8g55nje.mjs +0 -1
  502. package/dist/chunks/buddy-1.1.7-m8tx1e1a.mjs +0 -3
  503. package/dist/chunks/cacache-1.1.7-5t3nj244.mjs +0 -1
  504. package/dist/chunks/cache-probe-1.1.7-wk6sr8ma.mjs +0 -21
  505. package/dist/chunks/cacheStats-1.1.7-3wd7pt08.mjs +0 -4
  506. package/dist/chunks/caches-1.1.7-rwrwkfmc.mjs +0 -1
  507. package/dist/chunks/claudeDesktop-1.1.7-3pkhb5wd.mjs +0 -1
  508. package/dist/chunks/claudemd-1.1.7-zw1vywa0.mjs +0 -1
  509. package/dist/chunks/clear-1.1.7-xme70phr.mjs +0 -1
  510. package/dist/chunks/clearTerminal-1.1.7-cjgtkhn0.mjs +0 -1
  511. package/dist/chunks/cli-1.1.7-00r59ren.mjs +0 -2
  512. package/dist/chunks/cli-1.1.7-00xwy80x.mjs +0 -2
  513. package/dist/chunks/cli-1.1.7-07qdmr1e.mjs +0 -15
  514. package/dist/chunks/cli-1.1.7-0dn48gxn.mjs +0 -2
  515. package/dist/chunks/cli-1.1.7-0ptzaz8z.mjs +0 -15
  516. package/dist/chunks/cli-1.1.7-0sbdqb04.mjs +0 -45
  517. package/dist/chunks/cli-1.1.7-0yczgbvg.mjs +0 -133
  518. package/dist/chunks/cli-1.1.7-17ye23zw.mjs +0 -2
  519. package/dist/chunks/cli-1.1.7-1fyag9qs.mjs +0 -18
  520. package/dist/chunks/cli-1.1.7-1pt67y2k.mjs +0 -2
  521. package/dist/chunks/cli-1.1.7-1sjzdsvt.mjs +0 -2
  522. package/dist/chunks/cli-1.1.7-1wwtwdd5.mjs +0 -2
  523. package/dist/chunks/cli-1.1.7-237ea9et.mjs +0 -2
  524. package/dist/chunks/cli-1.1.7-247qq37c.mjs +0 -2
  525. package/dist/chunks/cli-1.1.7-29jtrc18.mjs +0 -6
  526. package/dist/chunks/cli-1.1.7-2j5f9qsg.mjs +0 -2
  527. package/dist/chunks/cli-1.1.7-370fzee5.mjs +0 -202
  528. package/dist/chunks/cli-1.1.7-37vw5n8s.mjs +0 -4
  529. package/dist/chunks/cli-1.1.7-3c1fz3tj.mjs +0 -3
  530. package/dist/chunks/cli-1.1.7-3c59vjgs.mjs +0 -3
  531. package/dist/chunks/cli-1.1.7-3s5h7xwp.mjs +0 -2
  532. package/dist/chunks/cli-1.1.7-3yd94afn.mjs +0 -2
  533. package/dist/chunks/cli-1.1.7-45h3r40v.mjs +0 -2
  534. package/dist/chunks/cli-1.1.7-4jb3802k.mjs +0 -6
  535. package/dist/chunks/cli-1.1.7-4vn54hra.mjs +0 -2
  536. package/dist/chunks/cli-1.1.7-4w65nb7a.mjs +0 -2
  537. package/dist/chunks/cli-1.1.7-53ptk5md.mjs +0 -2
  538. package/dist/chunks/cli-1.1.7-55sdnwxx.mjs +0 -2
  539. package/dist/chunks/cli-1.1.7-5a7dx8xv.mjs +0 -67
  540. package/dist/chunks/cli-1.1.7-5afzqeez.mjs +0 -2
  541. package/dist/chunks/cli-1.1.7-5hy6nrtz.mjs +0 -2
  542. package/dist/chunks/cli-1.1.7-5jtj2ksb.mjs +0 -2
  543. package/dist/chunks/cli-1.1.7-5p7dfxc8.mjs +0 -3
  544. package/dist/chunks/cli-1.1.7-5xg15za9.mjs +0 -2
  545. package/dist/chunks/cli-1.1.7-6327xnsa.mjs +0 -16
  546. package/dist/chunks/cli-1.1.7-6393tfa4.mjs +0 -2
  547. package/dist/chunks/cli-1.1.7-6k9j331s.mjs +0 -2
  548. package/dist/chunks/cli-1.1.7-709xp7h3.mjs +0 -2
  549. package/dist/chunks/cli-1.1.7-70dq06tj.mjs +0 -2
  550. package/dist/chunks/cli-1.1.7-77fv8msz.mjs +0 -4
  551. package/dist/chunks/cli-1.1.7-78k36t0w.mjs +0 -2
  552. package/dist/chunks/cli-1.1.7-7m4h7kpa.mjs +0 -4
  553. package/dist/chunks/cli-1.1.7-7ykpgzpd.mjs +0 -2
  554. package/dist/chunks/cli-1.1.7-7zf1vqxk.mjs +0 -2
  555. package/dist/chunks/cli-1.1.7-80x28qvs.mjs +0 -50
  556. package/dist/chunks/cli-1.1.7-89xnqhx8.mjs +0 -2
  557. package/dist/chunks/cli-1.1.7-8e3qerv0.mjs +0 -59
  558. package/dist/chunks/cli-1.1.7-8f779vem.mjs +0 -2
  559. package/dist/chunks/cli-1.1.7-8hfhdq9h.mjs +0 -2
  560. package/dist/chunks/cli-1.1.7-8ht7sy5z.mjs +0 -2
  561. package/dist/chunks/cli-1.1.7-8pdn9bvd.mjs +0 -2
  562. package/dist/chunks/cli-1.1.7-8wevpaq4.mjs +0 -25
  563. package/dist/chunks/cli-1.1.7-903dbpsw.mjs +0 -2
  564. package/dist/chunks/cli-1.1.7-91mbg6d2.mjs +0 -2
  565. package/dist/chunks/cli-1.1.7-9cr42mkf.mjs +0 -2
  566. package/dist/chunks/cli-1.1.7-9twa1dgn.mjs +0 -2
  567. package/dist/chunks/cli-1.1.7-9wapsqqm.mjs +0 -2
  568. package/dist/chunks/cli-1.1.7-a16gq5s9.mjs +0 -2
  569. package/dist/chunks/cli-1.1.7-a1sffgeq.mjs +0 -2
  570. package/dist/chunks/cli-1.1.7-a34vkb0g.mjs +0 -2
  571. package/dist/chunks/cli-1.1.7-a59w1d0k.mjs +0 -3
  572. package/dist/chunks/cli-1.1.7-a5zb1mk0.mjs +0 -4
  573. package/dist/chunks/cli-1.1.7-aa0r6myz.mjs +0 -3
  574. package/dist/chunks/cli-1.1.7-ac6ve6ks.mjs +0 -2
  575. package/dist/chunks/cli-1.1.7-ah2nkq02.mjs +0 -2
  576. package/dist/chunks/cli-1.1.7-aq4f719n.mjs +0 -2
  577. package/dist/chunks/cli-1.1.7-asb7164v.mjs +0 -18
  578. package/dist/chunks/cli-1.1.7-asnfms2j.mjs +0 -15
  579. package/dist/chunks/cli-1.1.7-avggtwyk.mjs +0 -2
  580. package/dist/chunks/cli-1.1.7-avhh3ykn.mjs +0 -2
  581. package/dist/chunks/cli-1.1.7-avqm93yx.mjs +0 -2
  582. package/dist/chunks/cli-1.1.7-avsxepp6.mjs +0 -2
  583. package/dist/chunks/cli-1.1.7-az0v3sy4.mjs +0 -39
  584. package/dist/chunks/cli-1.1.7-b9n3ev12.mjs +0 -2
  585. package/dist/chunks/cli-1.1.7-be3bepsr.mjs +0 -2
  586. package/dist/chunks/cli-1.1.7-bgyeh9f1.mjs +0 -5
  587. package/dist/chunks/cli-1.1.7-bmf232xq.mjs +0 -2
  588. package/dist/chunks/cli-1.1.7-bn38catj.mjs +0 -2
  589. package/dist/chunks/cli-1.1.7-bsg2jwaz.mjs +0 -2
  590. package/dist/chunks/cli-1.1.7-c32f3enb.mjs +0 -2
  591. package/dist/chunks/cli-1.1.7-ca9b0k53.mjs +0 -3
  592. package/dist/chunks/cli-1.1.7-cfchvspf.mjs +0 -12
  593. package/dist/chunks/cli-1.1.7-cgcj8thk.mjs +0 -2
  594. package/dist/chunks/cli-1.1.7-cs5v2rwy.mjs +0 -2
  595. package/dist/chunks/cli-1.1.7-czrff7za.mjs +0 -3
  596. package/dist/chunks/cli-1.1.7-d44wcebs.mjs +0 -2
  597. package/dist/chunks/cli-1.1.7-dax2hwtd.mjs +0 -2
  598. package/dist/chunks/cli-1.1.7-dc8xhdv8.mjs +0 -4
  599. package/dist/chunks/cli-1.1.7-dnhbz3wm.mjs +0 -2
  600. package/dist/chunks/cli-1.1.7-dy1j64nd.mjs +0 -2
  601. package/dist/chunks/cli-1.1.7-e30xkgx8.mjs +0 -2
  602. package/dist/chunks/cli-1.1.7-e3ks80fz.mjs +0 -6
  603. package/dist/chunks/cli-1.1.7-e8rpt6jw.mjs +0 -2
  604. package/dist/chunks/cli-1.1.7-e9p7j4yw.mjs +0 -2
  605. package/dist/chunks/cli-1.1.7-esfdh0fz.mjs +0 -4
  606. package/dist/chunks/cli-1.1.7-eskazk5w.mjs +0 -4
  607. package/dist/chunks/cli-1.1.7-f47dycnc.mjs +0 -2
  608. package/dist/chunks/cli-1.1.7-fdmx4e0y.mjs +0 -2
  609. package/dist/chunks/cli-1.1.7-fh4kn809.mjs +0 -2
  610. package/dist/chunks/cli-1.1.7-fhatjz8y.mjs +0 -2
  611. package/dist/chunks/cli-1.1.7-fq766b4m.mjs +0 -2
  612. package/dist/chunks/cli-1.1.7-ftcsqcsq.mjs +0 -2
  613. package/dist/chunks/cli-1.1.7-ftxzdrxy.mjs +0 -2
  614. package/dist/chunks/cli-1.1.7-fzz66s7r.mjs +0 -2
  615. package/dist/chunks/cli-1.1.7-g69xsadf.mjs +0 -5652
  616. package/dist/chunks/cli-1.1.7-g84cjr3b.mjs +0 -2
  617. package/dist/chunks/cli-1.1.7-g9j8sjq1.mjs +0 -2
  618. package/dist/chunks/cli-1.1.7-gejatr5b.mjs +0 -3
  619. package/dist/chunks/cli-1.1.7-gjhe5v32.mjs +0 -3
  620. package/dist/chunks/cli-1.1.7-gm3vnavd.mjs +0 -4
  621. package/dist/chunks/cli-1.1.7-gsqhqm2p.mjs +0 -2
  622. package/dist/chunks/cli-1.1.7-gzqe35hp.mjs +0 -2
  623. package/dist/chunks/cli-1.1.7-h3m2ycf6.mjs +0 -2
  624. package/dist/chunks/cli-1.1.7-h6bad0y5.mjs +0 -2
  625. package/dist/chunks/cli-1.1.7-hht84q9b.mjs +0 -2
  626. package/dist/chunks/cli-1.1.7-j5s1nhz9.mjs +0 -2
  627. package/dist/chunks/cli-1.1.7-k0cy37cc.mjs +0 -9
  628. package/dist/chunks/cli-1.1.7-kbdranyx.mjs +0 -2
  629. package/dist/chunks/cli-1.1.7-m09c3zsc.mjs +0 -1
  630. package/dist/chunks/cli-1.1.7-m20ny6y6.mjs +0 -2
  631. package/dist/chunks/cli-1.1.7-m2jc7mts.mjs +0 -2
  632. package/dist/chunks/cli-1.1.7-m2rq9nq2.mjs +0 -2
  633. package/dist/chunks/cli-1.1.7-m4c2snne.mjs +0 -42
  634. package/dist/chunks/cli-1.1.7-m554nr3m.mjs +0 -2
  635. package/dist/chunks/cli-1.1.7-m7cx26gk.mjs +0 -2
  636. package/dist/chunks/cli-1.1.7-m7nyg4k2.mjs +0 -2
  637. package/dist/chunks/cli-1.1.7-m8kaqtm6.mjs +0 -2
  638. package/dist/chunks/cli-1.1.7-mxwxnfss.mjs +0 -24
  639. package/dist/chunks/cli-1.1.7-n642xdmn.mjs +0 -2
  640. package/dist/chunks/cli-1.1.7-n7ne87b1.mjs +0 -8
  641. package/dist/chunks/cli-1.1.7-natjc2r8.mjs +0 -2
  642. package/dist/chunks/cli-1.1.7-nay1q35s.mjs +0 -2
  643. package/dist/chunks/cli-1.1.7-ncn26e96.mjs +0 -2
  644. package/dist/chunks/cli-1.1.7-nctcfgp0.mjs +0 -2
  645. package/dist/chunks/cli-1.1.7-ndrf1r31.mjs +0 -2
  646. package/dist/chunks/cli-1.1.7-nywqmry6.mjs +0 -2
  647. package/dist/chunks/cli-1.1.7-p3a6cf8x.mjs +0 -2
  648. package/dist/chunks/cli-1.1.7-pcg3fv2k.mjs +0 -2
  649. package/dist/chunks/cli-1.1.7-phntwycy.mjs +0 -21
  650. package/dist/chunks/cli-1.1.7-pm52s8y4.mjs +0 -2
  651. package/dist/chunks/cli-1.1.7-q5cm825a.mjs +0 -6
  652. package/dist/chunks/cli-1.1.7-q711j0bm.mjs +0 -2
  653. package/dist/chunks/cli-1.1.7-qgh6hg9x.mjs +0 -2
  654. package/dist/chunks/cli-1.1.7-qgj0pn3h.mjs +0 -2
  655. package/dist/chunks/cli-1.1.7-qrkqafcw.mjs +0 -2
  656. package/dist/chunks/cli-1.1.7-qztj9jjs.mjs +0 -17
  657. package/dist/chunks/cli-1.1.7-r4j6e9vx.mjs +0 -2
  658. package/dist/chunks/cli-1.1.7-r8e45107.mjs +0 -3
  659. package/dist/chunks/cli-1.1.7-r9bf07me.mjs +0 -9
  660. package/dist/chunks/cli-1.1.7-rb629pva.mjs +0 -2
  661. package/dist/chunks/cli-1.1.7-rj70j99r.mjs +0 -4
  662. package/dist/chunks/cli-1.1.7-rtcac49z.mjs +0 -2
  663. package/dist/chunks/cli-1.1.7-sf4he5ds.mjs +0 -17
  664. package/dist/chunks/cli-1.1.7-sj06qxbn.mjs +0 -2
  665. package/dist/chunks/cli-1.1.7-sqb51kyw.mjs +0 -34
  666. package/dist/chunks/cli-1.1.7-svmaept7.mjs +0 -2
  667. package/dist/chunks/cli-1.1.7-svpmye16.mjs +0 -2
  668. package/dist/chunks/cli-1.1.7-sy3nh37g.mjs +0 -2
  669. package/dist/chunks/cli-1.1.7-t3vmh9fp.mjs +0 -12
  670. package/dist/chunks/cli-1.1.7-t4band33.mjs +0 -133
  671. package/dist/chunks/cli-1.1.7-t7869eaw.mjs +0 -2
  672. package/dist/chunks/cli-1.1.7-t9k89a7f.mjs +0 -12
  673. package/dist/chunks/cli-1.1.7-tdw09vfy.mjs +0 -6
  674. package/dist/chunks/cli-1.1.7-tebqyjfs.mjs +0 -2
  675. package/dist/chunks/cli-1.1.7-tj4a73gm.mjs +0 -2
  676. package/dist/chunks/cli-1.1.7-tpjej6bk.mjs +0 -2
  677. package/dist/chunks/cli-1.1.7-ttgr0wt8.mjs +0 -5
  678. package/dist/chunks/cli-1.1.7-v90pc090.mjs +0 -2
  679. package/dist/chunks/cli-1.1.7-v9fzr2wc.mjs +0 -25
  680. package/dist/chunks/cli-1.1.7-vbkerts0.mjs +0 -58
  681. package/dist/chunks/cli-1.1.7-veert5hx.mjs +0 -7
  682. package/dist/chunks/cli-1.1.7-vegzg3sv.mjs +0 -2
  683. package/dist/chunks/cli-1.1.7-vgnyrdsx.mjs +0 -2
  684. package/dist/chunks/cli-1.1.7-vhahreqp.mjs +0 -2
  685. package/dist/chunks/cli-1.1.7-vyxrgqgm.mjs +0 -2
  686. package/dist/chunks/cli-1.1.7-w7qe5saq.mjs +0 -24
  687. package/dist/chunks/cli-1.1.7-wczms3t6.mjs +0 -3
  688. package/dist/chunks/cli-1.1.7-wfpdnn8a.mjs +0 -2
  689. package/dist/chunks/cli-1.1.7-wnveck2c.mjs +0 -2
  690. package/dist/chunks/cli-1.1.7-wtb39gjs.mjs +0 -2
  691. package/dist/chunks/cli-1.1.7-wv4k34jv.mjs +0 -20
  692. package/dist/chunks/cli-1.1.7-wxge1tea.mjs +0 -24
  693. package/dist/chunks/cli-1.1.7-x1mh9vnk.mjs +0 -2
  694. package/dist/chunks/cli-1.1.7-x20kjfvg.mjs +0 -6
  695. package/dist/chunks/cli-1.1.7-x3bpzsev.mjs +0 -24
  696. package/dist/chunks/cli-1.1.7-x5gz0q3n.mjs +0 -2
  697. package/dist/chunks/cli-1.1.7-xbk0ex0w.mjs +0 -2
  698. package/dist/chunks/cli-1.1.7-xr9v14yb.mjs +0 -2
  699. package/dist/chunks/cli-1.1.7-xtcz12t9.mjs +0 -3
  700. package/dist/chunks/cli-1.1.7-xv2n043b.mjs +0 -4
  701. package/dist/chunks/cli-1.1.7-xzys836y.mjs +0 -2
  702. package/dist/chunks/cli-1.1.7-yatnaq1h.mjs +0 -2
  703. package/dist/chunks/cli-1.1.7-ybe5t1at.mjs +0 -2
  704. package/dist/chunks/cli-1.1.7-yejce50d.mjs +0 -2
  705. package/dist/chunks/cli-1.1.7-yf8r2p8t.mjs +0 -2
  706. package/dist/chunks/cli-1.1.7-yvfbn06j.mjs +0 -2
  707. package/dist/chunks/cli-1.1.7-z10gdn10.mjs +0 -2
  708. package/dist/chunks/cli-1.1.7-z7aapeb8.mjs +0 -2
  709. package/dist/chunks/cli-1.1.7-zaz1vdc9.mjs +0 -2
  710. package/dist/chunks/cli-1.1.7-zcxfemky.mjs +0 -2
  711. package/dist/chunks/cli-1.1.7-zk6vqjve.mjs +0 -4
  712. package/dist/chunks/cli-1.1.7-zpr5n1k0.mjs +0 -2
  713. package/dist/chunks/cli-1.1.7-zxr9h2qd.mjs +0 -2
  714. package/dist/chunks/client-1.1.7-zsnn57xt.mjs +0 -1
  715. package/dist/chunks/color-1.1.7-71p1dnta.mjs +0 -1
  716. package/dist/chunks/compact-1.1.7-e6arr03s.mjs +0 -3
  717. package/dist/chunks/config-1.1.7-g3d8g7g2.mjs +0 -1
  718. package/dist/chunks/config-1.1.7-nejamxf1.mjs +0 -1
  719. package/dist/chunks/constants-1.1.7-454c76bh.mjs +0 -1
  720. package/dist/chunks/context-1.1.7-p0442d4z.mjs +0 -1
  721. package/dist/chunks/context-noninteractive-1.1.7-v71njac2.mjs +0 -1
  722. package/dist/chunks/conversation-1.1.7-8ywg16g5.mjs +0 -1
  723. package/dist/chunks/copilotHeaders-1.1.7-qw0bnew9.mjs +0 -1
  724. package/dist/chunks/copy-1.1.7-dfdpmxck.mjs +0 -9
  725. package/dist/chunks/cost-1.1.7-2r3rhrq2.mjs +0 -1
  726. package/dist/chunks/createSSHSession-1.1.7-abvj6vqh.mjs +0 -1
  727. package/dist/chunks/createSession-1.1.7-a0t9ns7c.mjs +0 -1
  728. package/dist/chunks/debug-1.1.7-r660pqwp.mjs +0 -1
  729. package/dist/chunks/defaultActionDeps-1.1.7-79kexp4a.mjs +0 -1446
  730. package/dist/chunks/desktop-1.1.7-sy4n39yq.mjs +0 -1
  731. package/dist/chunks/detectRepository-1.1.7-p52dxbn9.mjs +0 -1
  732. package/dist/chunks/detection-1.1.7-8e2z2aph.mjs +0 -1
  733. package/dist/chunks/diff-1.1.7-yt5nf8gj.mjs +0 -1
  734. package/dist/chunks/doctor-1.1.7-emta4vaz.mjs +0 -1
  735. package/dist/chunks/doctorDiagnostic-1.1.7-4tam9mf5.mjs +0 -1
  736. package/dist/chunks/earlyInput-1.1.7-93ms6qsc.mjs +0 -1
  737. package/dist/chunks/effort-1.1.7-1fp3rh9f.mjs +0 -13
  738. package/dist/chunks/engine-1.1.7-yngz7phq.mjs +0 -1
  739. package/dist/chunks/envLessBridgeConfig-1.1.7-j2h0sf63.mjs +0 -1
  740. package/dist/chunks/envUtils-1.1.7-9y71p8yv.mjs +0 -1
  741. package/dist/chunks/environmentSelection-1.1.7-pd11v0zx.mjs +0 -1
  742. package/dist/chunks/environments-1.1.7-ck5qxyqy.mjs +0 -1
  743. package/dist/chunks/errors-1.1.7-emnk1qwy.mjs +0 -1
  744. package/dist/chunks/exampleCommands-1.1.7-2ksd03w4.mjs +0 -1
  745. package/dist/chunks/execFileNoThrow-1.1.7-jqbw02pg.mjs +0 -1
  746. package/dist/chunks/exit-1.1.7-wpfmrwdn.mjs +0 -1
  747. package/dist/chunks/explorer-1.1.7-b8tcxb5d.mjs +0 -1
  748. package/dist/chunks/export-1.1.7-zz79hhsz.mjs +0 -2
  749. package/dist/chunks/extra-usage-1.1.7-dt936zfb.mjs +0 -1
  750. package/dist/chunks/extra-usage-noninteractive-1.1.7-shwjbctc.mjs +0 -1
  751. package/dist/chunks/fast-1.1.7-w7b1aqwk.mjs +0 -1
  752. package/dist/chunks/feedback-1.1.7-n9j2nr98.mjs +0 -14
  753. package/dist/chunks/firstPartyEventLogger-1.1.7-c0a02n4j.mjs +0 -1
  754. package/dist/chunks/git-1.1.7-9z0c0q3r.mjs +0 -1
  755. package/dist/chunks/githubModelsCredentials-1.1.7-akhn8qhf.mjs +0 -1
  756. package/dist/chunks/goal-1.1.7-aw2580k9.mjs +0 -4
  757. package/dist/chunks/grove-1.1.7-kjhhr548.mjs +0 -1
  758. package/dist/chunks/growthbook-1.1.7-w746wv7x.mjs +0 -1
  759. package/dist/chunks/headless-1.1.7-y4j0h9z8.mjs +0 -2
  760. package/dist/chunks/heapdump-1.1.7-rct22hze.mjs +0 -6
  761. package/dist/chunks/help-1.1.7-y0c2ms52.mjs +0 -1
  762. package/dist/chunks/hookChains-1.1.7-xzn9ad36.mjs +0 -3
  763. package/dist/chunks/hooks-1.1.7-emcz8q8s.mjs +0 -79
  764. package/dist/chunks/hooks-1.1.7-jp0h65wb.mjs +0 -1
  765. package/dist/chunks/ide-1.1.7-x8w21qd6.mjs +0 -3
  766. package/dist/chunks/image-processor-napi-1.1.7-wy6ecw5p.mjs +0 -1
  767. package/dist/chunks/inboundAttachments-1.1.7-nw4e83c9.mjs +0 -1
  768. package/dist/chunks/index-1.1.7-189vzkzr.mjs +0 -1
  769. package/dist/chunks/index-1.1.7-23d4va8a.mjs +0 -2
  770. package/dist/chunks/index-1.1.7-36msf70m.mjs +0 -1
  771. package/dist/chunks/index-1.1.7-6nnrrxjs.mjs +0 -9
  772. package/dist/chunks/index-1.1.7-78kw401a.mjs +0 -1
  773. package/dist/chunks/index-1.1.7-9ag3vjcz.mjs +0 -1
  774. package/dist/chunks/index-1.1.7-abraka41.mjs +0 -1
  775. package/dist/chunks/index-1.1.7-apb8ray2.mjs +0 -1
  776. package/dist/chunks/index-1.1.7-b2e78mb7.mjs +0 -1
  777. package/dist/chunks/index-1.1.7-cxtqz2cx.mjs +0 -1
  778. package/dist/chunks/index-1.1.7-ep7qax1n.mjs +0 -5
  779. package/dist/chunks/index-1.1.7-fahb6z70.mjs +0 -1
  780. package/dist/chunks/index-1.1.7-g7me7k35.mjs +0 -1
  781. package/dist/chunks/index-1.1.7-gsdssjta.mjs +0 -2
  782. package/dist/chunks/index-1.1.7-n6c5mp02.mjs +0 -1
  783. package/dist/chunks/index-1.1.7-ngf7447d.mjs +0 -9
  784. package/dist/chunks/index-1.1.7-pbdmsdx4.mjs +0 -1
  785. package/dist/chunks/index-1.1.7-q3560epc.mjs +0 -23
  786. package/dist/chunks/index-1.1.7-ta1t48pj.mjs +0 -30
  787. package/dist/chunks/index-1.1.7-vrvbq3pq.mjs +0 -1
  788. package/dist/chunks/index-1.1.7-w3k1r4fj.mjs +0 -1
  789. package/dist/chunks/index-1.1.7-w40fc6hp.mjs +0 -1
  790. package/dist/chunks/index-1.1.7-wrysc35z.mjs +0 -1
  791. package/dist/chunks/init-1.1.7-35gnmfwk.mjs +0 -1
  792. package/dist/chunks/initReplBridge-1.1.7-tckq0ph3.mjs +0 -1
  793. package/dist/chunks/ink-1.1.7-00k9mpt1.mjs +0 -1
  794. package/dist/chunks/insights-1.1.7-0733jret.mjs +0 -870
  795. package/dist/chunks/install-1.1.7-hm4q4vg3.mjs +0 -1
  796. package/dist/chunks/install-github-app-1.1.7-td4vg9cd.mjs +0 -149
  797. package/dist/chunks/install-slack-app-1.1.7-wcg8aqqz.mjs +0 -1
  798. package/dist/chunks/instrumentation-1.1.7-c07a380v.mjs +0 -1
  799. package/dist/chunks/interactiveHelpers-1.1.7-46866tc9.mjs +0 -1
  800. package/dist/chunks/keybindings-1.1.7-8bb3ehzd.mjs +0 -2
  801. package/dist/chunks/knowledge-1.1.7-tvqfhagb.mjs +0 -2
  802. package/dist/chunks/latestVersionCache-1.1.7-21sf5wht.mjs +0 -1
  803. package/dist/chunks/loadAgentsDir-1.1.7-0fsxdwtb.mjs +0 -1
  804. package/dist/chunks/loadPluginHooks-1.1.7-dme9wkc4.mjs +0 -1
  805. package/dist/chunks/loadPluginHooks-1.1.7-tn0by9qv.mjs +0 -1
  806. package/dist/chunks/log-1.1.7-3ry9dq4f.mjs +0 -1
  807. package/dist/chunks/main-1.1.7-z35y86b1.mjs +0 -1
  808. package/dist/chunks/managedEnv-1.1.7-hkhdt6m1.mjs +0 -1
  809. package/dist/chunks/mcp-1.1.7-fhw7q8d8.mjs +0 -4
  810. package/dist/chunks/mcp-1.1.7-h76xwxj7.mjs +0 -1
  811. package/dist/chunks/mcp-1.1.7-qxaxb5n8.mjs +0 -17
  812. package/dist/chunks/mcpb-1.1.7-fh84mmcn.mjs +0 -1
  813. package/dist/chunks/memory-1.1.7-rja0b4e3.mjs +0 -72
  814. package/dist/chunks/model-1.1.7-8h1q1vva.mjs +0 -1
  815. package/dist/chunks/model-1.1.7-qn8a1vgp.mjs +0 -2
  816. package/dist/chunks/node-1.1.7-br2cm23q.mjs +0 -12
  817. package/dist/chunks/oauth-1.1.7-xprf6gf8.mjs +0 -1
  818. package/dist/chunks/openaiShim-1.1.7-xpv4sdj1.mjs +0 -14
  819. package/dist/chunks/output-style-1.1.7-gwp6rb3c.mjs +0 -1
  820. package/dist/chunks/package-L37ZVTF4-1.1.7-tv37rpat.mjs +0 -1
  821. package/dist/chunks/parseConnectUrl-1.1.7-hxb18rh0.mjs +0 -1
  822. package/dist/chunks/parser-1.1.7-gxryvbxk.mjs +0 -1
  823. package/dist/chunks/passes-1.1.7-pgn5svgj.mjs +0 -1
  824. package/dist/chunks/permissions-1.1.7-hgf49z9d.mjs +0 -3
  825. package/dist/chunks/permissions-1.1.7-vwc3xcnn.mjs +0 -1
  826. package/dist/chunks/plan-1.1.7-5pd1ezzt.mjs +0 -1
  827. package/dist/chunks/plist-1.1.7-bgk5tgcz.mjs +0 -1
  828. package/dist/chunks/plugin-1.1.7-b2da306j.mjs +0 -29
  829. package/dist/chunks/pluginStartupCheck-1.1.7-75pwt0x6.mjs +0 -1
  830. package/dist/chunks/plugins-1.1.7-wgq2tns5.mjs +0 -9
  831. package/dist/chunks/preActionHook-1.1.7-9jppavfm.mjs +0 -2
  832. package/dist/chunks/print-1.1.7-hcpp1psj.mjs +0 -57
  833. package/dist/chunks/privacy-settings-1.1.7-0rhg1990.mjs +0 -1
  834. package/dist/chunks/process-1.1.7-sz6mk2ax.mjs +0 -1
  835. package/dist/chunks/processBashCommand-1.1.7-h988ta18.mjs +0 -1
  836. package/dist/chunks/processSlashCommand-1.1.7-xj9yd54c.mjs +0 -9
  837. package/dist/chunks/prompt-1.1.7-9n1828tb.mjs +0 -1
  838. package/dist/chunks/prompt-1.1.7-xbh39c5a.mjs +0 -1
  839. package/dist/chunks/prompts-1.1.7-tm2b4n8b.mjs +0 -1
  840. package/dist/chunks/protocolHandler-1.1.7-x5r0fnay.mjs +0 -13
  841. package/dist/chunks/provider-1.1.7-8nkjfnp7.mjs +0 -2
  842. package/dist/chunks/providerProfiles-1.1.7-3hy3rra6.mjs +0 -1
  843. package/dist/chunks/providerValidation-1.1.7-wpwhgmgj.mjs +0 -6
  844. package/dist/chunks/rate-limit-options-1.1.7-qqwd9f98.mjs +0 -1
  845. package/dist/chunks/registerSubcommands-1.1.7-z933969a.mjs +0 -34
  846. package/dist/chunks/registry-1.1.7-zt717sdd.mjs +0 -1
  847. package/dist/chunks/release-notes-1.1.7-hkyqmgj0.mjs +0 -5
  848. package/dist/chunks/reload-plugins-1.1.7-90wc1rrg.mjs +0 -2
  849. package/dist/chunks/remote-env-1.1.7-gyhmvnmb.mjs +0 -1
  850. package/dist/chunks/remoteBridgeCore-1.1.7-kxpxxqbj.mjs +0 -1
  851. package/dist/chunks/remoteSession-1.1.7-931g1df4.mjs +0 -1
  852. package/dist/chunks/rename-1.1.7-pdcr2fqc.mjs +0 -1
  853. package/dist/chunks/replBridgeHandle-1.1.7-wp87p7xp.mjs +0 -1
  854. package/dist/chunks/replLauncher-1.1.7-7z04w8w8.mjs +0 -1
  855. package/dist/chunks/resume-1.1.7-8p8bahzg.mjs +0 -2
  856. package/dist/chunks/rewind-1.1.7-v2ajm3w0.mjs +0 -1
  857. package/dist/chunks/rootOptions-1.1.7-kj11gm8y.mjs +0 -1
  858. package/dist/chunks/runWorkflowHeadless-1.1.7-7d5db3vq.mjs +0 -10
  859. package/dist/chunks/sandbox-adapter-1.1.7-3waw05qr.mjs +0 -1
  860. package/dist/chunks/sandbox-toggle-1.1.7-zhrme3nq.mjs +0 -1
  861. package/dist/chunks/session-1.1.7-b11ew8hv.mjs +0 -2
  862. package/dist/chunks/sessionDiscovery-1.1.7-3w4gd5vr.mjs +0 -1
  863. package/dist/chunks/sessionFileAccessHooks-1.1.7-f1ktfmjp.mjs +0 -1
  864. package/dist/chunks/sessionStorage-1.1.7-0qj40f5g.mjs +0 -1
  865. package/dist/chunks/settings-1.1.7-ayf1fhp5.mjs +0 -1
  866. package/dist/chunks/setup-1.1.7-r7d17dtz.mjs +0 -5
  867. package/dist/chunks/sinks-1.1.7-agpm7pdt.mjs +0 -1
  868. package/dist/chunks/skills-1.1.7-xj1mgj1w.mjs +0 -1
  869. package/dist/chunks/startupProfiler-1.1.7-vy3ha1nb.mjs +0 -1
  870. package/dist/chunks/startupUpdateCheck-1.1.7-m03evcd7.mjs +0 -1
  871. package/dist/chunks/state-1.1.7-a4z499r3.mjs +0 -1
  872. package/dist/chunks/stats-1.1.7-jxbtehxs.mjs +0 -6
  873. package/dist/chunks/status-1.1.7-j7b4zw5r.mjs +0 -1
  874. package/dist/chunks/stickers-1.1.7-2feaa91e.mjs +0 -1
  875. package/dist/chunks/subprocessEnv-1.1.7-7yjfarpg.mjs +0 -1
  876. package/dist/chunks/tasks-1.1.7-74xbzaa7.mjs +0 -1
  877. package/dist/chunks/teamHelpers-1.1.7-y101nwrn.mjs +0 -1
  878. package/dist/chunks/teammateModeSnapshot-1.1.7-h5693rcg.mjs +0 -1
  879. package/dist/chunks/teleport-1.1.7-yjke98c8.mjs +0 -1
  880. package/dist/chunks/terminalSetup-1.1.7-tq3qth9s.mjs +0 -1
  881. package/dist/chunks/theme-1.1.7-5n3fsvh8.mjs +0 -1
  882. package/dist/chunks/thinkback-1.1.7-8wxb9n8q.mjs +0 -1
  883. package/dist/chunks/thinkback-play-1.1.7-rvzk8rt2.mjs +0 -1
  884. package/dist/chunks/toolPool-1.1.7-s3xnzfs1.mjs +0 -1
  885. package/dist/chunks/toolSearch-1.1.7-b99evmfg.mjs +0 -1
  886. package/dist/chunks/tools-1.1.7-1bs5mhnz.mjs +0 -1
  887. package/dist/chunks/trustedDevice-1.1.7-sk8ewavd.mjs +0 -1
  888. package/dist/chunks/turndown.cjs-1.1.7-tcj3tmer.mjs +0 -69
  889. package/dist/chunks/types-1.1.7-dt3wqg7h.mjs +0 -1
  890. package/dist/chunks/ultrareviewCommand-1.1.7-5d0eav8t.mjs +0 -4
  891. package/dist/chunks/update-1.1.7-cc4860dp.mjs +0 -72
  892. package/dist/chunks/upgrade-1.1.7-xnqh398m.mjs +0 -1
  893. package/dist/chunks/upload-1.1.7-e1023tbm.mjs +0 -7
  894. package/dist/chunks/upstreamproxy-1.1.7-54yd40wz.mjs +0 -14
  895. package/dist/chunks/url-handler-napi-1.1.7-98renjvs.mjs +0 -1
  896. package/dist/chunks/usage-1.1.7-vr50x59b.mjs +0 -1
  897. package/dist/chunks/util-1.1.7-07n3bcf9.mjs +0 -1
  898. package/dist/chunks/utils-1.1.7-2gs8qp9e.mjs +0 -1
  899. package/dist/chunks/vim-1.1.7-1hdr63bv.mjs +0 -1
  900. package/dist/chunks/watchLoop-1.1.7-dqnb4ew5.mjs +0 -13
  901. package/dist/chunks/watcher-1.1.7-0vhx6jqw.mjs +0 -1
  902. package/dist/chunks/wiki-1.1.7-hbab147s.mjs +0 -132
  903. package/dist/chunks/workflows-1.1.7-sqc7rhqm.mjs +0 -1
  904. package/dist/chunks/worktree-1.1.7-bgka176p.mjs +0 -1
  905. package/dist/chunks/worktreeModeEnabled-1.1.7-ddyrd6w3.mjs +0 -1
  906. package/dist/chunks/wrapper-1.1.7-tjp6nrw4.mjs +0 -7
  907. /package/dist/chunks/{cli-1.1.7-h8bj6vzr.mjs → cli-1.1.8-15q52swp.mjs} +0 -0
  908. /package/dist/chunks/{cli-1.1.7-k69a0vax.mjs → cli-1.1.8-gtw37r6f.mjs} +0 -0
  909. /package/dist/chunks/{cli-1.1.7-8yk0ktps.mjs → cli-1.1.8-gvkpq2k1.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.1.7-c1q5d5ds.mjs → cli-1.1.8-k0wdtx54.mjs} +0 -0
  911. /package/dist/chunks/{cli-1.1.7-hr9a4wzy.mjs → cli-1.1.8-n7gqm17w.mjs} +0 -0
  912. /package/dist/chunks/{cli-1.1.7-f0hcstcc.mjs → cli-1.1.8-rkw1dz9x.mjs} +0 -0
  913. /package/dist/chunks/{cli-1.1.7-72scj2da.mjs → cli-1.1.8-t1a3d6s9.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{md as K,nd as Y}from"./cli-1.1.7-wtb39gjs.mjs";import{Bl as G,Cl as B,Gl as U,Hl as V,Mp as H,Np as W,kN as J,sN as X}from"./cli-1.1.7-g69xsadf.mjs";import{hta as q,kta as v}from"./cli-1.1.7-a1sffgeq.mjs";function P(h){return x.some((g)=>h.endsWith(g))}function C(h){return h.filter((g)=>G.has(g.name)||P(g.name))}function A(h,g,E){let[Q,Z]=K(H([...h,...g],"name"),J),k=($,j)=>$.name.localeCompare(j.name),w=[...Z.sort(k),...Q.sort(k)];if(z){if(z.isCoordinatorMode())return C(w)}return w}var x,z;var D=v(()=>{Y();W();B();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];z=(V(),q(U))});
2
- export{P as id,C as jd,A as kd,D as ld};
@@ -1,2 +0,0 @@
1
- import{Ak as Q,Bk as I,fS as R,oK as Y,vm as W,ym as P}from"./cli-1.1.7-g69xsadf.mjs";import{aha as B,bha as f}from"./cli-1.1.7-xv2n043b.mjs";import{Mja as F,qja as H,rja as J}from"./cli-1.1.7-svpmye16.mjs";import{yra as $,zna as v}from"./cli-1.1.7-avggtwyk.mjs";import{kta as Z}from"./cli-1.1.7-a1sffgeq.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:z(h),session_id:v(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:v(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:v(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let x=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:Y({content:x}).message,parent_tool_use_id:null,session_id:v(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let x=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:x}}var G=Z(()=>{$();F();I();f();R();P()});
2
- export{S as bf,V as cf,X as df,r as ef,w as ff,T as gf,G as hf};
@@ -1,2 +0,0 @@
1
- import{Rh as B,Sh as EJ}from"./cli-1.1.7-5afzqeez.mjs";import{$n as LJ,AG as qQ,Ax as OJ,Bx as tJ,Ky as kq,Ly as _q,My as xJ,Nn as GJ,On as nJ,Rq as Sq,Tq as n,Uq as PJ,Zn as AJ,_n as rJ,ao as oJ,bo as RJ,br as VJ,co as aJ,er as jJ,gr as NJ,jy as gq,kr as qJ,ky as MJ,lr as $q,my as eJ,or as TJ,pr as JJ,yG as wJ}from"./cli-1.1.7-g69xsadf.mjs";import{DY as HJ,EY as sJ,HY as IJ,IY as hJ,QY as DJ,RY as lJ}from"./cli-1.1.7-rb629pva.mjs";import{EZ as pJ,I1 as dJ,b1 as O,d1 as D,f1 as dq,g1 as SJ}from"./cli-1.1.7-8e3qerv0.mjs";import{o4 as WJ,p4 as H,q4 as j,r4 as ZJ}from"./cli-1.1.7-1pt67y2k.mjs";import{s4 as iJ}from"./cli-1.1.7-ac6ve6ks.mjs";import{$6 as uq,C6 as fJ,E7 as FJ,I8 as BJ,J7 as KQ,b7 as s,b9 as UQ,i6 as mq,j6 as KJ,l6 as yq,l7 as i,o7 as Cq,s7 as cJ,x6 as UJ}from"./cli-1.1.7-6327xnsa.mjs";import{x9 as K,y9 as vJ}from"./cli-1.1.7-x20kjfvg.mjs";import{Pba as oq,Qba as aq,Rba as vq,Sba as lq,Tba as tq,Uba as eq,dca as mJ}from"./cli-1.1.7-370fzee5.mjs";import{Xja as XJ,_ja as $J}from"./cli-1.1.7-tj4a73gm.mjs";import{gta as YJ,kta as Rq}from"./cli-1.1.7-a1sffgeq.mjs";function sq(J){let q=J.messageActionsBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function gJ(J){let q=J.userMessageBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function z(J,q,Q){if(q.startsWith("ansi:")){let Y=q.slice(5);if(Q==="fg")return J[Y]??J;let X=`bg${Y[0].toUpperCase()}${Y.slice(1)}`;return J[X]??J}if(q.startsWith("#"))return Q==="fg"?J.hex(q):J.bgHex(q);if(q.startsWith("ansi256(")){let Y=parseInt(q.slice(8));return Q==="fg"?J.ansi256(Y):J.bgAnsi256(Y)}let Z=CJ.exec(q);if(Z){let[Y,X,U]=[+Z[1],+Z[2],+Z[3]];return Q==="fg"?J.rgb(Y,X,U):J.bgRgb(Y,X,U)}return J}function LQ(J,q,Q,Z,Y){if(!B())return bJ(J,q,Q,Z,Y);let{suggestion:X,messageActionsBackground:U}=Y,G=U==="ansi:white"||U==="ansi:whiteBright"?Y.inactive:U,R=Y.inverseText,I=Y.suggestion,F=z(z(K,X,"bg"),R,"fg").bold,L=z(z(K,X,"fg"),G,"bg"),A=z(z(K,G,"bg"),I,"fg"),T=z(K,G,"fg"),Pq=z(K,X,"fg"),P=F(` ${J} `);if(q){if(P+=L(w),P+=A(` ${nq} ${q}`),Q>0||Z>0){if(P+=A(" ("),Q>0)P+=z(z(K,G,"bg"),Y.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)P+=A(" ");if(Z>0)P+=z(z(K,G,"bg"),Y.warning,"fg")(`↓${Z}`);P+=A(")")}P+=A(" "),P+=T(w)}else P+=Pq(w);return P}function RQ(J,q,Q){if(!B()){let G=z(K,q.suggestion,"fg").bold;return`[ ${G(J)} ]`}let{suggestion:Z,inverseText:Y}=q,X=z(z(K,Z,"bg"),Y,"fg").bold,U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J} `)+U(w)}function DQ(J,q,Q){if(!J)return"";if(!B()){let G=z(K,q.suggestion,"fg").bold;return`[ ${G(J.trim())} ]`}let{suggestion:Z,inverseText:Y}=q,X=z(z(K,Z,"bg"),Y,"fg").bold,U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J}`)+U(w)}function PQ(J,q,Q){if(!J)return"";if(!B())return`[ ${z(K,q.suggestion,"fg")(J.trim())} ]`;let Z=sq(q),Y=q.suggestion,X=z(z(K,Z,"bg"),Y,"fg"),U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J}`)+U(w)}function hq(J,q,Q){if(!J)return"";if(!B())return`[ ${J} ]`;let Z=z(z(K,q,"bg"),Q.inverseText,"fg").bold,Y=z(K,q,"fg");return Z(` ${J} `)+Y(w)}function VQ(J,q,Q,Z,Y){if(!J)return"";if(!B()){let L=z(K,Z.suggestion,"fg")(J);if(q>0||Q>0){if(L+=" (",q>0)L+=z(K,Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)L+=" ";if(Q>0)L+=z(K,Z.warning,"fg")(`↓${Q}`);L+=")"}return`[ ${L} ]`}let X=sq(Z),U=Z.suggestion,G=z(z(K,X,"bg"),U,"fg"),R=Y?z(z(K,Y,"bg"),X,"fg"):z(K,X,"fg"),I=G(` ${nq} ${J}`);if(q>0||Q>0){if(I+=G(" ("),q>0)I+=z(z(K,X,"bg"),Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)I+=G(" ");if(Q>0)I+=z(z(K,X,"bg"),Z.warning,"fg")(`↓${Q}`);I+=G(")")}return I+=G(" "),I+=R(w),I}function pq(J,q){if(!q||!dq())return J;return`${kq}${q}${_q}${J}${kq}${_q}`}function jQ(J,q,Q,Z="PR",Y){if(!B()){let F=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,L=pq(z(K,F,"fg")(`#${J}`),Y);return`[ ${z(K,Q.inactive,"fg")(Z)} ${L} ]`}let X=gJ(Q),U=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,G=z(z(K,X,"bg"),Q.inactive,"fg"),R=z(z(K,X,"bg"),U,"fg"),I=z(K,X,"fg");return G(` ${yJ} `)+pq(R(`#${J}`),Y)+G(" ")+I(w)}function bJ(J,q,Q,Z,Y){let X=z(K,Y.suggestion,"fg").bold,U=`[ ${X(J)} ]`;if(q){let R=z(K,Y.suggestion,"fg")(q);if(Q>0||Z>0){if(R+=" (",Q>0)R+=z(K,Y.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)R+=" ";if(Z>0)R+=z(K,Y.warning,"fg")(`↓${Z}`);R+=")"}U+=` [ ${R} ]`}return U}var w="",nq="",yJ="",CJ;var rq=Rq(()=>{vJ();SJ();xJ();EJ();CJ=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/});function uJ(J,q){if(Sq(J))return q.suggestion;switch(J){case"low":return q.inactive;case"medium":return q.warning;case"high":return q.claude;case"xhigh":return q.error;case"max":return q.merged;default:return q.error}}function wQ(J,q,Q){if(!n(q))return;let Z=qJ(q,J),Y=uJ(Z,Q);return{pill:hq(`${xq(Z)} ${Z}`,Y,Q),bg:Y}}function xq(J){if(Sq(J))return eq;switch(J){case"low":return oq;case"medium":return aq;case"high":return vq;case"xhigh":return lq;case"max":return tq;default:return vq}}var QJ=Rq(()=>{mJ();JJ();rq()});function dQ(J){let q=fq.c(82),{initial:Q,sessionModel:Z,onSelect:Y,onCancel:X,isStandaloneCommand:U,showFastModeNotice:G,headerText:R,skipSettingsWrite:I}=J,F=MJ(),L=IJ(),A=Q===null?h:Q,[T,Pq]=Dq.useState(A),P=gq(zQ),[k,kJ]=Dq.useState(!1),_=gq(ZQ),r;if(q[0]!==_)r=_!==void 0?$q(_):void 0,q[0]=_,q[1]=r;else r=q[1];let[v,cq]=Dq.useState(r),Vq=P??!1,o;if(q[2]!==Vq)o=OJ(Vq),q[2]=Vq,q[3]=o;else o=q[3];let p=o,jq;q:{if(Q!==null&&!p.some((W)=>{if(W.value===Q)return!0;if(W.value===null)return!1;try{return s(i(String(W.value)))===s(i(Q))}catch{return!1}})){let W;if(q[4]!==Q)W=Cq(Q),q[4]=Q,q[5]=W;else W=q[5];let V;if(q[6]!==Q||q[7]!==W)V={value:Q,label:W,description:"Current model"},q[6]=Q,q[7]=W,q[8]=V;else V=q[8];let S;if(q[9]!==p||q[10]!==V)S=[...p,V],q[9]=p,q[10]=V,q[11]=S;else S=q[11];jq=S;break q}jq=p}let Nq=jq,a;if(q[12]!==Nq)a=Nq.map(QQ),q[12]=Nq,q[13]=a;else a=q[13];let N=a,l;if(q[14]!==A||q[15]!==N)l=N.find((W)=>{if(W.value===A)return!0;if(A===h||W.value===null)return!1;try{return s(i(String(W.value)))===s(i(String(A)))}catch{return!1}})?.value??N[0]?.value??void 0,q[14]=A,q[15]=N,q[16]=l;else l=q[16];let Tq=l,t=Math.min(10,N.length),e=Math.max(0,N.length-t),qq;if(q[17]!==T||q[18]!==N)qq=N.find((W)=>W.value===T)?.label,q[17]=T,q[18]=N,q[19]=qq;else qq=q[19];let Jq=qq,M,Qq;if(q[20]!==T){let W=bq(T);M=W?n(W):!1,Qq=W?PJ(W):!1,q[20]=T,q[21]=M,q[22]=Qq}else M=q[21],Qq=q[22];let Zq=Qq,zq;if(q[23]!==T)zq=Eq(T),q[23]=T,q[24]=zq;else zq=q[24];let x=zq,d=v==="max"&&!Zq?"high":v,Yq;if(q[25]!==_||q[26]!==k)Yq=(W)=>{if(Pq(W),!k&&_===void 0)cq(Eq(W))},q[25]=_,q[26]=k,q[27]=Yq;else Yq=q[27];let Oq=Yq,Xq;if(q[28]!==x||q[29]!==M||q[30]!==Zq)Xq=(W)=>{if(!M)return;cq((V)=>YQ(V??x,W,Zq)),kJ(!0)},q[28]=x,q[29]=M,q[30]=Zq,q[31]=Xq;else Xq=q[31];let Kq=Xq,Uq;if(q[32]!==Kq)Uq={"modelPicker:decreaseEffort":()=>Kq("left"),"modelPicker:increaseEffort":()=>Kq("right")},q[32]=Kq,q[33]=Uq;else Uq=q[33];let Wq;if(q[34]===Symbol.for("react.memo_cache_sentinel"))Wq={context:"ModelPicker"},q[34]=Wq;else Wq=q[34];HJ(Uq,Wq);let Gq;if(q[35]!==v||q[36]!==k||q[37]!==Y||q[38]!==F||q[39]!==I)Gq=function(V){if(XJ("tengu_model_command_menu_effort",{effort:v}),!I){let Bq=NJ(v,Eq(V),jJ(),k);if(Bq!==void 0)VJ(Bq);F((_J)=>({..._J,effortValue:Bq}))}let S=bq(V),iq=k&&S&&n(S)?v:void 0;if(V===h){Y(null,iq);return}Y(V,iq)},q[35]=v,q[36]=k,q[37]=Y,q[38]=F,q[39]=I,q[40]=Gq;else Gq=q[40];let Mq=Gq,Hq;if(q[41]===Symbol.for("react.memo_cache_sentinel"))Hq=H(D,{color:"remember",bold:!0,children:"Select model"}),q[41]=Hq;else Hq=q[41];let wq=R??"Switch between Claude models. Applies to this session and future Claude Code sessions. For other/previous model names, specify with --model.",E;if(q[42]!==wq)E=H(D,{dimColor:!0,children:wq}),q[42]=wq,q[43]=E;else E=q[43];let y;if(q[44]!==Z)y=Z&&j(D,{dimColor:!0,children:["Currently using ",Cq(Z)," for this session (set by plan mode). Selecting a model will undo this."]}),q[44]=Z,q[45]=y;else y=q[45];let C;if(q[46]!==E||q[47]!==y)C=j(O,{marginBottom:1,flexDirection:"column",children:[Hq,E,y]}),q[46]=E,q[47]=y,q[48]=C;else C=q[48];let Fq=X??JQ,g;if(q[49]!==Oq||q[50]!==Mq||q[51]!==Tq||q[52]!==A||q[53]!==N||q[54]!==Fq||q[55]!==t)g=H(O,{flexDirection:"column",children:H(wJ,{defaultValue:A,defaultFocusValue:Tq,options:N,onChange:Mq,onFocus:Oq,onCancel:Fq,visibleOptionCount:t})}),q[49]=Oq,q[50]=Mq,q[51]=Tq,q[52]=A,q[53]=N,q[54]=Fq,q[55]=t,q[56]=g;else g=q[56];let b;if(q[57]!==e)b=e>0&&H(O,{paddingLeft:3,children:j(D,{dimColor:!0,children:["and ",e," more…"]})}),q[57]=e,q[58]=b;else b=q[58];let m;if(q[59]!==g||q[60]!==b)m=j(O,{flexDirection:"column",marginBottom:1,children:[g,b]}),q[59]=g,q[60]=b,q[61]=m;else m=q[61];let u;if(q[62]!==d||q[63]!==x||q[64]!==Jq||q[65]!==M)u=H(O,{marginBottom:1,flexDirection:"column",children:M?j(D,{dimColor:!0,children:[H(zJ,{effort:d})," ",GJ(d)," effort",d===x?" (default)":""," ",H(D,{color:"subtle",children:"← → to adjust"})]}):j(D,{color:"subtle",children:[H(zJ,{effort:void 0})," Effort not supported",Jq?` for ${Jq}`:""]})}),q[62]=d,q[63]=x,q[64]=Jq,q[65]=M,q[66]=u;else u=q[66];let $;if(q[67]!==G)$=mq()?G?H(O,{marginBottom:1,children:j(D,{dimColor:!0,children:["Fast mode is ",H(D,{bold:!0,children:"ON"})," and available with"," ",yq," only (/fast). Switching to other models turn off fast mode."]})}):KJ()&&!UJ()?H(O,{marginBottom:1,children:j(D,{dimColor:!0,children:["Use ",H(D,{bold:!0,children:"/fast"})," to turn on Fast mode (",yq," only)."]})}):null:null,q[67]=G,q[68]=$;else $=q[68];let f;if(q[69]!==C||q[70]!==m||q[71]!==u||q[72]!==$)f=j(O,{flexDirection:"column",children:[C,m,u,$]}),q[69]=C,q[70]=m,q[71]=u,q[72]=$,q[73]=f;else f=q[73];let c;if(q[74]!==L||q[75]!==U)c=U&&H(D,{dimColor:!0,italic:!0,children:L.pending?j(WJ,{children:["Press ",L.keyName," again to exit"]}):j(RJ,{children:[H(AJ,{shortcut:"Enter",action:"confirm"}),H(LJ,{action:"select:cancel",context:"Select",fallback:"Esc",description:"exit"})]})}),q[74]=L,q[75]=U,q[76]=c;else c=q[76];let Iq;if(q[77]!==f||q[78]!==c)Iq=j(O,{flexDirection:"column",children:[f,c]}),q[77]=f,q[78]=c,q[79]=Iq;else Iq=q[79];let Aq=Iq;if(!U)return Aq;let Lq;if(q[80]!==Aq)Lq=H(DJ,{color:"permission",children:Aq}),q[80]=Aq,q[81]=Lq;else Lq=q[81];return Lq}function JQ(){}function QQ(J){return{...J,value:J.value===null?h:J.value}}function ZQ(J){return J.effortValue}function zQ(J){return mq()?J.fastMode:!1}function bq(J){if(!J)return;return J===h?uq():i(J)}function zJ(J){let q=fq.c(5),{effort:Q}=J,Z=Q?"claude":"subtle",Y=Q??"low",X;if(q[0]!==Y)X=xq(Y),q[0]=Y,q[1]=X;else X=q[1];let U;if(q[2]!==Z||q[3]!==X)U=H(D,{color:Z,children:X}),q[2]=Z,q[3]=X,q[4]=U;else U=q[4];return U}function YQ(J,q,Q){let Z=Q?["low","medium","high","max"]:["low","medium","high"],Y=Z.indexOf(J),X=Y!==-1?Y:Z.indexOf("high");if(q==="right")return Z[(X+1)%Z.length];else return Z[(X-1+Z.length)%Z.length]}function Eq(J){let q=bq(J)??uq(),Q=TJ(q);return Q!==void 0?$q(Q):"high"}var fq,Dq,h="__NO_PREFERENCE__";var XQ=Rq(()=>{nJ();hJ();$J();fJ();dJ();sJ();eJ();JJ();cJ();tJ();oJ();qQ();aJ();rJ();lJ();QJ();ZJ();fq=YJ(pJ(),1),Dq=YJ(iJ(),1)});function oQ(J,q,Q){if(!BJ())return!1;if(q)return!0;if(J===null||!FJ(J))return!1;let Z=J.toLowerCase().replace(/\[1m\]$/,"").trim(),Y=Z==="opus"||Z.includes("opus-4-6")||Z.includes("opus-4-7"),X=Z==="sonnet"||Z.includes("sonnet-4-6");if(Y&&Q)return!1;return Y||X}var WQ=Rq(()=>{UQ();KQ()});
2
- export{sq as _g,gJ as $g,LQ as ah,RQ as bh,DQ as ch,PQ as dh,VQ as eh,jQ as fh,rq as gh,wQ as hh,xq as ih,QJ as jh,dQ as kh,XQ as lh,oQ as mh,WQ as nh};
@@ -1,2 +0,0 @@
1
- import{EZ as u2,I1 as e2,NZ as Z,b1 as Y,d1 as u}from"./cli-1.1.7-8e3qerv0.mjs";import{p4 as t,q4 as o,r4 as U}from"./cli-1.1.7-1pt67y2k.mjs";import{Gba as X,Iba as j}from"./cli-1.1.7-370fzee5.mjs";import{gta as s}from"./cli-1.1.7-a1sffgeq.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claudin"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,R,k,p,A,a,I,i,M;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.1.7"," "]})]}),R=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),k=t(u,{children:" "}),p=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),l[2]=c,l[3]=R,l[4]=k,l[5]=p,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=M;else c=l[2],R=l[3],k=l[4],p=l[5],A=l[6],a=l[7],I=l[8],i=l[9],M=l[10];let V;if(l[11]===Symbol.for("react.memo_cache_sentinel"))V=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=V;else V=l[11];let E,N;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),N=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=N;else E=l[12],N=l[13];let W;if(l[14]===Symbol.for("react.memo_cache_sentinel"))W=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=W;else W=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let v;if(l[16]===Symbol.for("react.memo_cache_sentinel"))v=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=v;else v=l[16];let B;if(l[17]===Symbol.for("react.memo_cache_sentinel"))B=t(Y,{width:K,children:o(u,{children:[c,R,k,p,A,a,I,i,M,V,E,N,W,L,v,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=B;else B=l[17];return B}let D,r,P,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))D=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.1.7"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),P=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=D,l[19]=r,l[20]=P,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else D=l[18],r=l[19],P=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let O;if(l[34]===Symbol.for("react.memo_cache_sentinel"))O=t(Y,{width:K,children:o(u,{children:[D,r,P,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=O;else O=l[34];return O}function t2(l){let e=Q.c(44),{theme:D,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(D)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","1.1.7"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let M,V,E,N,W,L,v,B;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),N=t(u,{children:" "}),W=t(u,{children:" "}),L=t(u,{children:" "}),v=t(u,{children:" ░░░░░░ "}),B=t(u,{children:" ░░░ ░░░░░░░░░░ "}),M=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),e[5]=M,e[6]=V,e[7]=E,e[8]=N,e[9]=W,e[10]=L,e[11]=v,e[12]=B;else M=e[5],V=e[6],E=e[7],N=e[8],W=e[9],L=e[10],v=e[11],B=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,N,W,L,v,B,M,V,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","1.1.7"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,O;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),O=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=O;else C=e[33],S=e[34],w=e[35],g=e[36],O=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let R;if(e[39]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=R;else R=e[39];let k;if(e[40]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=k;else k=e[40];let p;if(e[41]===Symbol.for("react.memo_cache_sentinel"))p=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=p;else p=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,O,c,R,k,p]})}),e[42]=m,e[43]=A;else A=e[43];return A}
2
- export{c2 as ba};
@@ -1,25 +0,0 @@
1
- import{$x as Nq,CR as yq,DK as Pq,KK as Zq,MK as Uq,PJ as b,QJ as R,Qp as a,RJ as vq,Sp as Kq,UJ as p,VJ as S,WJ as zq,Wu as s,XJ as Bq,YJ as I,ZJ as k,_x as e,av as t,dl as r,eK as Jq,fK as Qq,fl as Wq,gv as Hq,jK as wq,mK as Vq,nK as Oq,pK as Yq,sB as qq,tB as Xq,wR as $q}from"./cli-1.1.7-g69xsadf.mjs";import{Rga as h,Zga as Fq}from"./cli-1.1.7-370fzee5.mjs";import{hja as n,jja as Lq}from"./cli-1.1.7-svpmye16.mjs";import{Fla as jq,rla as y}from"./cli-1.1.7-gm3vnavd.mjs";import{kta as M}from"./cli-1.1.7-a1sffgeq.mjs";function x(B,z){let J=g[z]??1,Z=B!==void 0?g[B]:void 0;if(Z===void 0)return z;return Z<=J?B:z}var g;var m=M(()=>{g={plan:0,default:1,acceptEdits:2,bypassPermissions:3}});function C(B,z){if(B.length<=z)return B;return`${B.slice(0,z)}
2
- …[truncated ${B.length-z} chars]`}function u(B,z,J,Z){let Y=[];if(Y.push(`You are a worker agent in the "${B.name}" workflow, phase "${Z.name}".`),B.instructions.trim())Y.push(`Workflow instructions:
3
- ${B.instructions.trim()}`);if(Y.push(`Task:
4
- ${z}`),J.trim())Y.push(`Work so far (accumulated artifact from earlier phases):
5
- ${C(J.trim(),Gq)}`);return Y.push("Do your part of this phase and report your findings/output. Another agent (the orchestrator) will synthesize the phase and decide what happens next — you do not decide the flow."),Y.join(`
6
-
7
- `)}function c(B,z){let J=[];if(J.push(`You are the orchestrator (main) of the "${z.name}" workflow. You control the flow.`),z.instructions.trim())J.push(`Workflow instructions:
8
- ${z.instructions.trim()}`);J.push(`Task:
9
- ${B.task}`);let Z=z.steps.findIndex((V)=>V.name===B.currentStep),Y=z.steps.map((V,Q)=>{let j=Q<Z?"[done]":Q===Z?"[current]":"[pending]",H=I(V)?" (terminal)":"";return` ${Q+1}. ${V.name} ${j}${H}`}).join(`
10
- `);if(J.push(`Phases:
11
- ${Y}`),B.history.length>0){let V=B.history.map((Q)=>{let j=Q.agents.map((q)=>{let L=q.failed?" (FAILED)":"";return` • ${q.label}${L}:
12
- ${C(q.output,f).split(`
13
- `).map((N)=>` ${N}`).join(`
14
- `)}`}).join(`
15
- `),H=Q.decision?` decision: ${Q.decision.decision}${Q.decision.target?` → ${Q.decision.target}`:""} — ${Q.decision.notes}`:" decision: (pending — this is the phase you are deciding now)";return` Phase "${Q.step}":
16
- ${j}
17
- ${Q.synthesis?` synthesis: ${C(Q.synthesis,f)}
18
- `:""}${H}`}).join(`
19
-
20
- `);J.push(`History (all phases so far):
21
- ${V}`)}let G=z.steps[Z]?.handbackTo??[];return J.push(G.length>0?`From the current phase you may hand back to: ${G.join(", ")}.`:"The current phase has no handback targets; you may only advance or refine."),J.push("Synthesize the current phase's worker outputs into an updated artifact (your final text), then call the StructuredOutput tool with your decision: advance (next phase), refine (re-run this phase), or handback (return to an allowed earlier phase). Include a short `notes` explaining why."),J.join(`
22
-
23
- `)}var f=4000,Gq=6000;var l=M(()=>{k()});function d(B,z,J){let Z=J.steps,Y=Z.findIndex((j)=>j.name===B.currentStep),$={...B.refineCounts},G=B.transitions+1,V=B.currentStep,Q="running";if(z.decision==="advance"){let j=Z[Y+1];if(I(j)){if(Q="done",j)V=j.name}else V=j.name}else if(z.decision==="refine"){if($[V]=($[V]??0)+1,$[V]>S)Q="stalled"}else{let j=Z[Y]?.handbackTo??[];if(!z.target||!j.includes(z.target))Q="stalled";else if($[z.target]=($[z.target]??0)+1,$[z.target]>S)Q="stalled";else V=z.target}if(Q==="running"&&G>=p)Q="stalled";return{...B,currentStep:V,status:Q,refineCounts:$,transitions:G,updatedAt:Date.now()}}var i=M(()=>{k()});import Dq from"os";function Iq(){return Math.max(1,Math.min(8,Dq.cpus().length-1))}function hq(B){let z="",J=0;for(let Y=B.length-1;Y>=0;Y--){let $=B[Y];if($.type!=="assistant"||!$.message)continue;if(!z){let G=($.message.content??[]).filter((V)=>V.type==="text"&&V.text);if(G.length>0)z=G.map((V)=>V.text??"").join(`
24
- `)}if(J===0&&$.message.usage)J=$q($.message.usage);if(z&&J)break}let Z=e(B);return{text:z,tokens:J,tools:Z}}async function o(B){let{label:z,agentDef:J,promptText:Z,toolUseContext:Y,canUseTool:$,extraTools:G,runId:V}=B,Q=Date.now(),j=Y.getAppState(),H=j.toolPermissionContext.mode,q={...j.toolPermissionContext,mode:x(J.permissionMode,H)},L=Zq(q,j.mcp.tools);if(G&&G.length>0)L=[...L,...G];let N=J.model??String(Y.options.mainLoopModel??""),F=[],X,P=!1;try{let K=qq({agentDefinition:J,promptMessages:[Yq({content:Z})],toolUseContext:Y,canUseTool:$,isAsync:!1,querySource:a(J.agentType,s(J)),availableTools:L,transcriptSubdir:`workflows/${V}`,description:`${z} (workflow)`,override:{abortController:B.abortController}});for await(let w of K)if(F.push(w),w.type==="attachment"&&w.attachment?.type==="structured_output")X=w.attachment.data}catch(K){if(y(K))throw K;h(K),P=!0}let{text:E,tokens:_,tools:v}=hq(F);return{run:{label:z,model:N,tokens:_,tools:v,ms:Date.now()-Q,output:P?"":E,failed:P},structuredOutput:X}}async function tq(B){let{def:z,task:J,toolUseContext:Z,canUseTool:Y,onProgress:$,signal:G}=B,{allAgents:V}=await t(n()),Q=new Map(V.map((N)=>[N.agentType,N]));Q.set(b,R);let j=Q.get(z.main??b)??R,H=new AbortController;if(G)if(G.aborted)H.abort();else G.addEventListener("abort",()=>H.abort(),{once:!0});let q=await Jq({workflow:z.name,description:z.description,task:J,firstStep:z.steps[0].name});$?.(q);let L=async()=>{await Qq(q),$?.(q)};while(q.status==="running"){if(G?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let N=z.steps.findIndex((W)=>W.name===q.currentStep),F=z.steps[N];if(I(F)){q={...q,status:"done",updatedAt:Date.now()},await L();break}q={...q,agentsInPhase:F.agents.length,agentsDone:0,updatedAt:Date.now()},await L();let X;try{X=(await Vq(F.agents,async(O)=>{let T={run:{label:`${F.name}:${O}`,model:"",tokens:0,tools:0,ms:0,output:"",failed:!0}},A;try{let D=Q.get(O);A=D?await o({label:`${F.name}:${O}`,agentDef:D,promptText:u(z,J,q.artifact,F),toolUseContext:Z,canUseTool:Y,runId:q.runId,abortController:H}):T}catch(D){if(y(D))throw D;h(D),A=T}return q={...q,agentsDone:(q.agentsDone??0)+1,updatedAt:Date.now()},await L(),A},{concurrency:Iq()})).map((O)=>O.run)}catch(W){if(y(W)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw W}let P={step:F.name,stepIndex:N,agents:X,synthesis:"",decision:null,at:Date.now()};if(q={...q,history:[...q.history,P],totalTokens:q.totalTokens+X.reduce((W,O)=>W+O.tokens,0),updatedAt:Date.now()},await L(),F.agents.length>0&&X.every((W)=>W.failed)){h(Error(`workflow phase "${F.name}": all ${X.length} worker(s) failed`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}if(G?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let E=r(Bq(F));if(!("tool"in E)){h(Error(`workflow decision schema build failed: ${E.error}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let _=[E.tool],v;try{v=await o({label:"main",agentDef:j,promptText:c(q,z),toolUseContext:Z,canUseTool:Y,extraTools:_,runId:q.runId,abortController:H})}catch(W){if(y(W)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw W}let K=zq.safeParse(v.structuredOutput),w=[...q.history];if(w[w.length-1]={...P,synthesis:v.run.output,decision:K.success?K.data:null,agents:[...X,v.run]},q={...q,history:w,artifact:v.run.output.trim()?v.run.output:q.artifact,totalTokens:q.totalTokens+v.run.tokens,updatedAt:Date.now()},!K.success){h(Error(`workflow main produced no valid decision: ${K.error?.message??"no decision"}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let U=d(q,K.data,z);q={...q,currentStep:U.currentStep,status:U.status,refineCounts:U.refineCounts,transitions:U.transitions,updatedAt:U.updatedAt},await L()}return q}var Eq=M(()=>{Oq();Uq();Hq();Nq();Xq();Wq();Lq();jq();Fq();Pq();Kq();yq();vq();m();l();wq();i();k()});
25
- export{tq as Ai,Eq as Bi};
@@ -1,2 +0,0 @@
1
- import{I4 as N,N4 as $}from"./cli-1.1.7-nay1q35s.mjs";import{D8 as M,J5 as L,M5 as Y,b9 as Z}from"./cli-1.1.7-6327xnsa.mjs";import{Rga as Q,Zga as X}from"./cli-1.1.7-370fzee5.mjs";import{Vja as J,Wja as V}from"./cli-1.1.7-1sjzdsvt.mjs";import{Fla as S,xla as P}from"./cli-1.1.7-gm3vnavd.mjs";import{Ksa as W,ssa as K}from"./cli-1.1.7-w7qe5saq.mjs";import{kta as R}from"./cli-1.1.7-a1sffgeq.mjs";async function C(){let F=M()?.accessToken;if(!F)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let y=await L();if(!y)throw Error("Unable to get organization UUID");let G=`${J().BASE_API_URL}/v1/environment_providers`;try{let B={...N(F),"x-organization-uuid":y},q=await K.get(G,{headers:B,timeout:15000});if(q.status!==200)throw Error(`Failed to fetch environments: ${q.status} ${q.statusText}`);return q.data.environments}catch(B){let q=P(B);throw Q(q),Error(`Failed to fetch environments: ${q.message}`)}}async function j(F){let y=M()?.accessToken;if(!y)throw Error("No access token available");let G=await L();if(!G)throw Error("Unable to get organization UUID");let B=`${J().BASE_API_URL}/v1/environment_providers/cloud/create`;return(await K.post(B,{name:F,kind:"anthropic_cloud",description:"",config:{environment_type:"anthropic",cwd:"/home/user",init_script:null,environment:{},languages:[{name:"python",version:"3.11"},{name:"node",version:"20"}],network_config:{allowed_hosts:[],allow_default_hosts:!0}}},{headers:{...N(y),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":G},timeout:15000})).data}var b=R(()=>{W();V();Y();Z();S();X();$()});
2
- export{C as iX,j as jX,b as kX};
@@ -1,2 +0,0 @@
1
- import{ai as j,ci as l}from"./cli-1.1.7-vbkerts0.mjs";import{mi as W,si as i}from"./cli-1.1.7-dc8xhdv8.mjs";import{$O as b,AO as M,CO as n,HQ as s,Mx as U,Nx as m,XT as G,Yw as B,Zj as Z,_j as P,aP as o,bj as Y,bw as $,bx as p,cj as A,cw as D,ex as N,fD as L,fx as g,gD as h,iU as r,jU as R,kC as d,kU as f,lU as F,mU as u,nU as t,oC as E,pC as C,xQ as x,xv as _,xz as V,zz as S}from"./cli-1.1.7-g69xsadf.mjs";import{p_ as Q,v_ as k}from"./cli-1.1.7-pm52s8y4.mjs";import{Baa as X,Caa as v,__ as O,f$ as I}from"./cli-1.1.7-370fzee5.mjs";import{$qa as K,Pqa as J,yra as T}from"./cli-1.1.7-avggtwyk.mjs";import{kta as y,lta as w}from"./cli-1.1.7-a1sffgeq.mjs";function Mq(H=new Set){let z=H.size>0;if(u.cache.clear?.(),F.cache.clear?.(),f.cache.clear?.(),Y.cache.clear?.(),W(),x(),!z)N();if(R(null),K(null),b(),_(),G("session_start"),V(),X.clear(),Z(),!z)B();if(Q(),M(),!z)U();J(H),O(),L(),$(),j(),E(),import("./utils-1.1.7-2gs8qp9e.mjs").then(({clearWebFetchCache:q})=>q()),import("./ToolSearchTool-1.1.7-cdgerv78.mjs").then(({clearToolSearchDescriptionCache:q})=>q()),import("./loadAgentsDir-1.1.7-0fsxdwtb.mjs").then(({clearAgentDefinitionsCache:q})=>q()),import("./prompt-1.1.7-9n1828tb.mjs").then(({clearPromptCache:q})=>q())}var c=y(()=>{T();s();A();t();i();p();m();g();P();o();D();l();h();d();n();r();k();I();v();S();C()});
2
- export{Mq as _h,c as $h};
@@ -1,2 +0,0 @@
1
- import{kta as P}from"./cli-1.1.7-a1sffgeq.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
2
- export{k as BW,w as CW,H as DW,g as EW,V as FW,W as GW,L as HW,Y as IW};
@@ -1,2 +0,0 @@
1
- import{Za as S}from"./cli-1.1.7-72scj2da.mjs";import{$a as c}from"./cli-1.1.7-5xg15za9.mjs";import{Dd as P,Hd as Vq}from"./cli-1.1.7-ftxzdrxy.mjs";import{Ld as I,Md as v,Nd as $,Od as Wq}from"./cli-1.1.7-sj06qxbn.mjs";import{Cz as A,Dz as Bq,GF as M,HF as Jq,HM as f,Hu as N,Hz as _,Iu as e,Jz as Gq,KM as Tq,jy as L,ky as h,mp as C,my as qq,op as r,pL as E,qL as Qq}from"./cli-1.1.7-g69xsadf.mjs";import{s4 as s}from"./cli-1.1.7-ac6ve6ks.mjs";import{Aaa as t,Q_ as D,Rga as F,S_ as n,Zga as a,yaa as w}from"./cli-1.1.7-370fzee5.mjs";import{Xja as x,_ja as d}from"./cli-1.1.7-tj4a73gm.mjs";import{_ka as j,bla as o}from"./cli-1.1.7-4jb3802k.mjs";import{Fla as l,xla as y}from"./cli-1.1.7-gm3vnavd.mjs";import{gta as p}from"./cli-1.1.7-a1sffgeq.mjs";Jq();d();Gq();qq();Wq();t();o();n();l();a();e();Qq();var V=p(s(),1);Bq();r();Vq();Tq();function Lq({enabled:W=!0}={}){let b=V.useSyncExternalStore(v,I,I),H=h(),O=L((J)=>J.plugins.needsRefresh),{addNotification:z}=M(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await f();await c();let X=P();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await E(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await N()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await S()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await C(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await A(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);_(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=y(J);return F(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR};x("tengu_plugins_loaded",{...X,...T!==void 0&&{enabled_names:T}}),D("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
2
- export{Lq as Ya};
@@ -1,2 +0,0 @@
1
- import{jy as C,my as X}from"./cli-1.1.7-g69xsadf.mjs";import{s4 as W}from"./cli-1.1.7-ac6ve6ks.mjs";import{_6 as I,l7 as J,s7 as V}from"./cli-1.1.7-6327xnsa.mjs";import{Qha as H,jia as T}from"./cli-1.1.7-avhh3ykn.mjs";import{gta as P,kta as Q}from"./cli-1.1.7-a1sffgeq.mjs";function v(){let K=C((q)=>q.mainLoopModel),N=C((q)=>q.mainLoopModelForSession),[,O]=z.useReducer((q)=>q+1,0);return z.useEffect(()=>H(O),[]),J(N??K??I())}var z;var Y=Q(()=>{T();X();V();z=P(W(),1)});
2
- export{v as od,Y as pd};
@@ -1,2 +0,0 @@
1
- import{kta as j}from"./cli-1.1.7-a1sffgeq.mjs";var q,v,z;var w=j(()=>{q=["acceptEdits","bypassPermissions","default","dontAsk","plan"],v=[...q,"auto"],z=v});
2
- export{q as Mha,v as Nha,z as Oha,w as Pha};
@@ -1,2 +0,0 @@
1
- import{createRequire as w}from"node:module";var p=Object.create;var{getPrototypeOf:q,defineProperty:k,getOwnPropertyNames:m,getOwnPropertyDescriptor:r}=Object,n=Object.prototype.hasOwnProperty;function o(a){return this[a]}var s,t,z=(a,b,c)=>{var d=a!=null&&typeof a==="object";if(d){var h=b?s??=new WeakMap:t??=new WeakMap,g=h.get(a);if(g)return g}c=a!=null?p(q(a)):{};let e=b||!a||!a.__esModule?k(c,"default",{value:a,enumerable:!0}):c;for(let f of m(a))if(!n.call(e,f))k(e,f,{get:o.bind(a,f),enumerable:!0});if(d)h.set(a,e);return e},A=(a)=>{var b=(l??=new WeakMap).get(a),c;if(b)return b;if(b=k({},"__esModule",{value:!0}),a&&typeof a==="object"||typeof a==="function"){for(var d of m(a))if(!n.call(b,d))k(b,d,{get:o.bind(a,d),enumerable:!(c=r(a,d))||c.enumerable})}return l.set(a,b),b},l,B=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports);var u=(a)=>a;function v(a,b){this[a]=u.bind(null,b)}var C=(a,b)=>{for(var c in b)k(a,c,{get:b[c],enumerable:!0,configurable:!0,set:v.bind(b,c)})};var D=(a,b)=>()=>(a&&(b=a(a=0)),b);var F=w(import.meta.url),x=Symbol.dispose||Symbol.for("Symbol.dispose"),y=Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose"),G=(a,b,c)=>{if(b!=null){if(typeof b!=="object"&&typeof b!=="function")throw TypeError('Object expected to be assigned to "using" declaration');var d;if(c)d=b[y];if(d===void 0)d=b[x];if(typeof d!=="function")throw TypeError("Object not disposable");a.push([c,d,b])}else if(c)a.push([c]);return b},H=(a,b,c)=>{var d=typeof SuppressedError==="function"?SuppressedError:function(e,f,i,j){return j=Error(i),j.name="SuppressedError",j.error=e,j.suppressed=f,j},h=(e)=>b=c?new d(e,b,"An error was suppressed during disposal"):(c=!0,e),g=(e)=>{while(e=a.pop())try{var f=e[1]&&e[1].call(e[2]);if(e[0])return Promise.resolve(f).then(g,(i)=>(h(i),g()))}catch(i){h(i)}if(c)throw b};return g()};
2
- export{z as gta,A as hta,B as ita,C as jta,D as kta,F as lta,G as mta,H as nta};
@@ -1,2 +0,0 @@
1
- import{Go as E,Ho as m,Hp as l,Io as Xq,Jp as Rq,Kp as i,Lp as Aq,bp as S,gp as Zq}from"./cli-1.1.7-g69xsadf.mjs";import{Dca as u,Fca as g,Ica as h,Jca as n,Oca as vq,Rga as D,Zga as Qq}from"./cli-1.1.7-370fzee5.mjs";import{aja as d,cja as Uq}from"./cli-1.1.7-5a7dx8xv.mjs";import{Dka as P,Eka as v,Ika as f,Mka as M,Qka as y,_ka as V,bla as e}from"./cli-1.1.7-4jb3802k.mjs";import{Ala as C,Fla as _,yla as W,zla as O}from"./cli-1.1.7-gm3vnavd.mjs";import{Ksa as qq,ssa as p}from"./cli-1.1.7-w7qe5saq.mjs";import{kta as N}from"./cli-1.1.7-a1sffgeq.mjs";import{homedir as a}from"os";import{resolve as t}from"path";async function Fq(Z){let q=Z.trim(),$=M(),Q=q.match(/^([a-zA-Z0-9._-]+@[^:]+:.+?(?:\.git)?)(#(.+))?$/);if(Q?.[1]){let z=Q[1],G=Q[3];return G?{source:"git",url:z,ref:G}:{source:"git",url:z}}if(q.startsWith("http://")||q.startsWith("https://")){let z=q.match(/^([^#]+)(#(.+))?$/),G=z?.[1]||q,X=z?.[3];if(G.endsWith(".git")||G.includes("/_git/"))return X?{source:"git",url:G,ref:X}:{source:"git",url:G};let Y;try{Y=new URL(G)}catch(J){return{source:"url",url:G}}if(Y.hostname==="github.com"||Y.hostname==="www.github.com"){if(Y.pathname.match(/^\/([^/]+\/[^/]+?)(\/|\.git|$)/)?.[1]){let K=G.endsWith(".git")?G:`${G}.git`;return X?{source:"git",url:K,ref:X}:{source:"git",url:K}}}return{source:"url",url:G}}let x=process.platform==="win32"&&(q.startsWith(".\\")||q.startsWith("..\\")||/^[a-zA-Z]:[/\\]/.test(q));if(q.startsWith("./")||q.startsWith("../")||q.startsWith("/")||q.startsWith("~")||x){let z=t(q.startsWith("~")?q.replace(/^~/,a()):q),G;try{G=await $.stat(z)}catch(X){let Y=O(X);return{error:Y==="ENOENT"?`Path does not exist: ${z}`:`Cannot access path: ${z} (${Y??X})`}}if(G.isFile())if(z.endsWith(".json"))return{source:"file",path:z};else return{error:`File path must point to a .json file (marketplace.json), but got: ${z}`};else if(G.isDirectory())return{source:"directory",path:z};else return{error:`Path is neither a file nor a directory: ${z}`}}if(q.includes("/")&&!q.startsWith("@")){if(q.includes(":"))return null;let z=q.match(/^([^#@]+)(?:[#@](.+))?$/),G=z?.[1]||q,X=z?.[2];return X?{source:"github",repo:G,ref:X}:{source:"github",repo:G}}return null}var r=N(()=>{_();y()});import{randomBytes as $q}from"crypto";import{readFile as Bq,rename as Gq,unlink as Yq,writeFile as Jq}from"fs/promises";import{join as Kq}from"path";function c(){return Kq(S(),xq)}async function Hq(){let Z=c();try{let q=await Bq(Z,{encoding:"utf-8"}),$=v(q);if(typeof $!=="object"||$===null||!("version"in $)||!("fetchedAt"in $)||!("counts"in $))return V("Install counts cache has invalid structure"),null;let Q=$;if(Q.version!==L)return V(`Install counts cache version mismatch (got ${Q.version}, expected ${L})`),null;if(typeof Q.fetchedAt!=="string"||!Array.isArray(Q.counts))return V("Install counts cache has invalid structure"),null;let B=new Date(Q.fetchedAt).getTime();if(Number.isNaN(B))return V("Install counts cache has invalid fetchedAt timestamp"),null;if(!Q.counts.every((G)=>typeof G==="object"&&G!==null&&typeof G.plugin==="string"&&typeof G.unique_installs==="number"))return V("Install counts cache has malformed entries"),null;if(Date.now()-B>zq)return V("Install counts cache is stale (>24h old)"),null;return{version:Q.version,fetchedAt:Q.fetchedAt,counts:Q.counts}}catch(q){if(O(q)!=="ENOENT")V(`Failed to load install counts cache: ${W(q)}`);return null}}async function Vq(Z){let q=c(),$=`${q}.${$q(8).toString("hex")}.tmp`;try{let Q=S();await M().mkdir(Q);let B=P(Z,null,2);await Jq($,B,{encoding:"utf-8",mode:384}),await Gq($,q),V("Install counts cache saved successfully")}catch(Q){D(Q);try{await Yq($)}catch{}}}async function Wq(){V(`Fetching install counts from ${I}`);let Z=performance.now();try{let q=await p.get(I,{timeout:1e4});if(!q.data?.plugins||!Array.isArray(q.data.plugins))throw Error("Invalid response format from install counts API");return E("install_counts",I,"success",performance.now()-Z),q.data.plugins}catch(q){throw E("install_counts",I,"failure",performance.now()-Z,m(q)),q}}async function nq(){let Z=await Hq();if(Z){V("Using cached install counts"),E("install_counts",I,"cache_hit",0);let q=new Map;for(let $ of Z.counts)q.set($.plugin,$.unique_installs);return q}try{let q=await Wq(),$={version:L,fetchedAt:new Date().toISOString(),counts:q};await Vq($);let Q=new Map;for(let B of q)Q.set(B.plugin,B.unique_installs);return Q}catch(q){return D(q),V(`Failed to fetch install counts: ${W(q)}`),null}}function lq(Z){if(Z<1000)return String(Z);if(Z<1e6){let B=(Z/1000).toFixed(1);return B.endsWith(".0")?`${B.slice(0,-2)}K`:`${B}K`}let $=(Z/1e6).toFixed(1);return $.endsWith(".0")?`${$.slice(0,-2)}M`:`${$}M`}var L=1,xq="install-counts-cache.json",I="https://raw.githubusercontent.com/anthropics/claude-plugins-official/refs/heads/stats/stats/plugin-installs.json",zq=86400000;var Oq=N(()=>{qq();e();_();y();Qq();f();Xq();Zq()});import{readdir as Iq,readFile as A,stat as wq}from"fs/promises";import*as H from"path";function Eq(Z){let q=H.basename(Z),$=H.basename(H.dirname(Z));if(q==="plugin.json")return"plugin";if(q==="marketplace.json")return"marketplace";if($===".claude-plugin")return"plugin";return"unknown"}function F(Z){return Z.issues.map((q)=>({path:q.path.join(".")||"root",message:q.message,code:q.code}))}function w(Z,q,$,Q){if(Z.includes(".."))$.push({path:q,message:Q?`Path contains "..": ${Z}. ${Q}`:`Path contains ".." which could be a path traversal attempt: ${Z}`})}function Nq(Z){let q=Z.replace(/^(\.\.\/)+/,"");return`Plugin source paths are resolved relative to the marketplace root (the directory containing .claude-plugin/), not relative to marketplace.json. Use "${q!==Z?`./${q}`:"./plugins/my-plugin"}" instead of "${Z}".`}async function j(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"plugin"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"plugin"}}if(x&&typeof x==="object"){let X=x;if(X.commands)(Array.isArray(X.commands)?X.commands:[X.commands]).forEach((J,K)=>{if(typeof J==="string")w(J,`commands[${K}]`,q)});if(X.agents)(Array.isArray(X.agents)?X.agents:[X.agents]).forEach((J,K)=>{if(typeof J==="string")w(J,`agents[${K}]`,q)});if(X.skills)(Array.isArray(X.skills)?X.skills:[X.skills]).forEach((J,K)=>{if(typeof J==="string")w(J,`skills[${K}]`,q)})}let z=x;if(typeof x==="object"&&x!==null){let X=x,Y=Object.keys(X).filter((J)=>Mq.has(J));if(Y.length>0){let J={...X};for(let K of Y)delete J[K],$.push({path:K,message:`Field '${K}' belongs in the marketplace entry (marketplace.json), `+"not plugin.json. It's harmless here but unused — Claude Code "+"ignores it at load time."});z=J}}let G=g().strict().safeParse(z);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!/^[a-z0-9]+(-[a-z0-9]+)*$/.test(X.name))$.push({path:"name",message:`Plugin name "${X.name}" is not kebab-case. Claude Code accepts it, but the Claude.ai marketplace sync requires kebab-case (lowercase letters, digits, and hyphens only, e.g., "my-plugin").`});if(!X.version)$.push({path:"version",message:'No version specified. Consider adding a version following semver (e.g., "1.0.0")'});if(!X.description)$.push({path:"description",message:"No description provided. Adding a description helps users understand what your plugin does"});if(!X.author)$.push({path:"author",message:"No author information provided. Consider adding author details for plugin attribution"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"plugin"}}async function k(Z){let q=[],$=[],Q=H.resolve(Z),B;try{B=await A(Q,{encoding:"utf-8"})}catch(X){let Y=O(X),J;if(Y==="ENOENT")J=`File not found: ${Q}`;else if(Y==="EISDIR")J=`Path is not a file: ${Q}`;else J=`Failed to read file: ${W(X)}`;return{success:!1,errors:[{path:"file",message:J,code:Y}],warnings:[],filePath:Q,fileType:"marketplace"}}let x;try{x=v(B)}catch(X){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(X)}`}],warnings:[],filePath:Q,fileType:"marketplace"}}if(x&&typeof x==="object"){let X=x;if(Array.isArray(X.plugins))X.plugins.forEach((Y,J)=>{if(Y&&typeof Y==="object"&&"source"in Y){let K=Y.source;if(typeof K==="string")w(K,`plugins[${J}].source`,q,Nq(K));if(K&&typeof K==="object"&&"path"in K&&typeof K.path==="string")w(K.path,`plugins[${J}].source.path`,q)}})}let G=n().extend({plugins:d.array(h().strict())}).strict().safeParse(x);if(!G.success)q.push(...F(G.error));if(G.success){let X=G.data;if(!X.plugins||X.plugins.length===0)$.push({path:"plugins",message:"Marketplace has no plugins defined"});if(X.plugins){X.plugins.forEach((K,U)=>{if(X.plugins.filter((R)=>R.name===K.name).length>1)q.push({path:`plugins[${U}].name`,message:`Duplicate plugin name "${K.name}" found in marketplace`})});let Y=H.dirname(Q),J=H.basename(Y)===".claude-plugin"?H.dirname(Y):Y;for(let[K,U]of X.plugins.entries()){if(!U.version||typeof U.source!=="string"||!U.source.startsWith("./"))continue;let T=H.join(J,U.source,".claude-plugin","plugin.json"),R;try{let s=await A(T,{encoding:"utf-8"}),b=v(s);if(typeof b.version==="string")R=b.version}catch{continue}if(R&&R!==U.version)$.push({path:`plugins[${K}].version`,message:`Entry declares version "${U.version}" but ${U.source}/.claude-plugin/plugin.json says "${R}". `+"At install time, plugin.json wins (calculatePluginVersion precedence) — the entry version is silently ignored. "+`Update this entry to "${R}" to match.`})}}if(!X.metadata?.description)$.push({path:"metadata.description",message:"No marketplace description provided. Adding a description helps users understand what this marketplace offers"})}return{success:q.length===0,errors:q,warnings:$,filePath:Q,fileType:"marketplace"}}function _q(Z,q,$){let Q=[],B=[],x=q.match(i);if(!x)return B.push({path:"frontmatter",message:"No frontmatter block found. Add YAML frontmatter between --- delimiters at the top of the file to set description and other metadata."}),{success:!0,errors:Q,warnings:B,filePath:Z,fileType:$};let z=x[1]||"",G;try{G=l(z)}catch(K){return Q.push({path:"frontmatter",message:`YAML frontmatter failed to parse: ${W(K)}. At runtime this ${$} loads with empty metadata (all frontmatter fields silently dropped).`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$}}if(G===null||typeof G!=="object"||Array.isArray(G))return Q.push({path:"frontmatter",message:`Frontmatter must be a YAML mapping (key: value pairs), got ${Array.isArray(G)?"an array":G===null?"null":typeof G}.`}),{success:!1,errors:Q,warnings:B,filePath:Z,fileType:$};let X=G;if(X.description!==void 0){let K=X.description;if(typeof K!=="string"&&typeof K!=="number"&&typeof K!=="boolean"&&K!==null)Q.push({path:"description",message:`description must be a string, got ${Array.isArray(K)?"array":typeof K}. At runtime this value is dropped.`})}else B.push({path:"description",message:`No description in frontmatter. A description helps users and Claude understand when to use this ${$}.`});if(X.name!==void 0&&X.name!==null&&typeof X.name!=="string")Q.push({path:"name",message:`name must be a string, got ${typeof X.name}.`});let Y=X["allowed-tools"];if(Y!==void 0&&Y!==null){if(typeof Y!=="string"&&!Array.isArray(Y))Q.push({path:"allowed-tools",message:`allowed-tools must be a string or array of strings, got ${typeof Y}.`});else if(Array.isArray(Y)&&Y.some((K)=>typeof K!=="string"))Q.push({path:"allowed-tools",message:"allowed-tools array must contain only strings."})}let J=X.shell;if(J!==void 0&&J!==null)if(typeof J!=="string")Q.push({path:"shell",message:`shell must be a string, got ${typeof J}.`});else{let K=J.trim().toLowerCase();if(K!=="bash"&&K!=="powershell")Q.push({path:"shell",message:`shell must be 'bash' or 'powershell', got '${J}'.`})}return{success:Q.length===0,errors:Q,warnings:B,filePath:Z,fileType:$}}async function Lq(Z){let q;try{q=await A(Z,{encoding:"utf-8"})}catch(B){if(O(B)==="ENOENT")return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"};return{success:!1,errors:[{path:"file",message:`Failed to read file: ${W(B)}`}],warnings:[],filePath:Z,fileType:"hooks"}}let $;try{$=v(q)}catch(B){return{success:!1,errors:[{path:"json",message:`Invalid JSON syntax: ${W(B)}. At runtime this breaks the entire plugin load.`}],warnings:[],filePath:Z,fileType:"hooks"}}let Q=u().safeParse($);if(!Q.success)return{success:!1,errors:F(Q.error),warnings:[],filePath:Z,fileType:"hooks"};return{success:!0,errors:[],warnings:[],filePath:Z,fileType:"hooks"}}async function o(Z,q){let $;try{$=await Iq(Z,{withFileTypes:!0})}catch(B){let x=O(B);if(x==="ENOENT"||x==="ENOTDIR")return[];throw B}if(q)return $.filter((B)=>B.isDirectory()).map((B)=>H.join(Z,B.name,"SKILL.md"));let Q=[];for(let B of $){let x=H.join(Z,B.name);if(B.isDirectory())Q.push(...await o(x,!1));else if(B.isFile()&&B.name.toLowerCase().endsWith(".md"))Q.push(x)}return Q}async function QQ(Z){let q=[],$=[["skill",H.join(Z,"skills")],["agent",H.join(Z,"agents")],["command",H.join(Z,"commands")]];for(let[B,x]of $){let z=await o(x,B==="skill");for(let G of z){let X;try{X=await A(G,{encoding:"utf-8"})}catch(J){if(C(J))continue;q.push({success:!1,errors:[{path:"file",message:`Failed to read: ${W(J)}`}],warnings:[],filePath:G,fileType:B});continue}let Y=_q(G,X,B);if(Y.errors.length>0||Y.warnings.length>0)q.push(Y)}}let Q=await Lq(H.join(Z,"hooks","hooks.json"));if(Q.errors.length>0||Q.warnings.length>0)q.push(Q);return q}async function XQ(Z){let q=H.resolve(Z),$=null;try{$=await wq(q)}catch(B){if(!C(B))throw B}if($?.isDirectory()){let B=H.join(q,".claude-plugin","marketplace.json"),x=await k(B);if(x.errors[0]?.code!=="ENOENT")return x;let z=H.join(q,".claude-plugin","plugin.json"),G=await j(z);if(G.errors[0]?.code!=="ENOENT")return G;return{success:!1,errors:[{path:"directory",message:"No manifest found in directory. Expected .claude-plugin/marketplace.json or .claude-plugin/plugin.json"}],warnings:[],filePath:q,fileType:"plugin"}}switch(Eq(Z)){case"plugin":return j(Z);case"marketplace":return k(Z);case"unknown":{try{let B=await A(q,{encoding:"utf-8"}),x=v(B);if(Array.isArray(x.plugins))return k(Z)}catch(B){if(O(B)==="ENOENT")return{success:!1,errors:[{path:"file",message:`File not found: ${q}`}],warnings:[],filePath:q,fileType:"plugin"}}return j(Z)}}}var Mq;var Dq=N(()=>{Uq();_();Aq();f();Rq();vq();Mq=new Set(["category","source","tags","strict","id"])});
2
- export{Fq as qd,r as rd,nq as sd,lq as td,Oq as ud,QQ as vd,XQ as wd,Dq as xd};
@@ -1,3 +0,0 @@
1
- import{K as E0}from"./cli-1.1.7-70dq06tj.mjs";import{aa as s0}from"./cli-1.1.7-r8e45107.mjs";import{lb as k0}from"./cli-1.1.7-bmf232xq.mjs";import{qb as p0}from"./cli-1.1.7-dy1j64nd.mjs";import{Kc as W0,Mc as ac}from"./cli-1.1.7-4vn54hra.mjs";import{Pc as N,Qc as Ic}from"./cli-1.1.7-sy3nh37g.mjs";import{Sc as Q0,Tc as oc}from"./cli-1.1.7-2j5f9qsg.mjs";import{md as n0,nd as S0}from"./cli-1.1.7-wtb39gjs.mjs";import{Wg as P0,Xg as Fc}from"./cli-1.1.7-t7869eaw.mjs";import{$n as f0,AG as K0,BF as Mc,FG as Y,GG as M0,HG as Z0,IG as _c,KS as d,MS as O0,OS as Tc,UM as _0,VT as b0,Zn as p,_n as N0,ao as d0,bo as i0,cN as r0,co as g0,dU as B0,fU as D0,fo as W,go as j,iU as Rc,iy as X,lU as G0,my as l0,nU as Cc,oH as y0,pH as uc,qN as u0,sN as $0,wG as m0,xF as Y0,xG as x0,yG as r}from"./cli-1.1.7-g69xsadf.mjs";import{$Z as lc,EZ as G,I1 as x,WZ as X0,b1 as c0,d1 as y,h1 as g}from"./cli-1.1.7-8e3qerv0.mjs";import{o4 as e,p4 as m,q4 as U,r4 as C}from"./cli-1.1.7-1pt67y2k.mjs";import{R5 as J0,S5 as hc,i5 as H0,n5 as nc}from"./cli-1.1.7-6327xnsa.mjs";import{$da as w0,Cga as z0,Fga as mc,Pea as V0,Uda as V,Vea as s,Yda as J,Yea as t,_ea as q0,bea as U0,fea as k,rfa as I0}from"./cli-1.1.7-370fzee5.mjs";import{Eha as fc,zha as R}from"./cli-1.1.7-xv2n043b.mjs";import{Xha as C0,dia as L0,jia as ic}from"./cli-1.1.7-avhh3ykn.mjs";import{Xja as q,_ja as E}from"./cli-1.1.7-tj4a73gm.mjs";import{bla as v0}from"./cli-1.1.7-4jb3802k.mjs";import{Lla as K,Sla as R0,Vla as cc}from"./cli-1.1.7-aq4f719n.mjs";import{ioa as a0,oqa as T0,yra as e0}from"./cli-1.1.7-avggtwyk.mjs";import{gta as D,lta as L}from"./cli-1.1.7-a1sffgeq.mjs";E();Tc();e0();import{appendFileSync as Lc}from"fs";Cc();lc();M0();ic();mc();Mc();E();k();K0();j();var $=D(G(),1);x();C();var S=D(G(),1);function P(){let f=S.c(1),c;if(f[0]===Symbol.for("react.memo_cache_sentinel"))c=U(y,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",m(g,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),f[0]=c;else c=f[0];return c}C();function v(f){let c=$.c(13),{serverName:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(T){q("tengu_mcp_dialog_choice",{choice:T});c:switch(T){case"yes":case"yes_all":{let H=(J()||{}).enabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{enabledMcpjsonServers:[...H,i]});if(T==="yes_all")V("localSettings",{enableAllProjectMcpServers:!0});n();break c}case"no":{let H=(J()||{}).disabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{disabledMcpjsonServers:[...H,i]});n()}}},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u=`New MCP server found in .mcp.json: ${i}`,M;if(c[3]!==l)M=()=>l("no"),c[3]=l,c[4]=M;else M=c[4];let I;if(c[5]===Symbol.for("react.memo_cache_sentinel"))I=m(P,{}),c[5]=I;else I=c[5];let o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=[{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"}],c[6]=o;else o=c[6];let h;if(c[7]!==l)h=m(r,{options:o,onChange:(a)=>l(a),onCancel:()=>l("no")}),c[7]=l,c[8]=h;else h=c[8];let F;if(c[9]!==u||c[10]!==M||c[11]!==h)F=U(W,{title:u,color:"warning",onCancel:M,children:[I,h]}),c[9]=u,c[10]=M,c[11]=h,c[12]=F;else F=c[12];return F}S0();E();x();k();d0();x0();g0();j();N0();var h0=D(G(),1);C();function o0(f){let c=h0.c(21),{serverNames:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(O){let Z=J()||{},t0=Z.enabledMcpjsonServers||[],A0=Z.disabledMcpjsonServers||[],[b,B]=n0(i,(Q)=>O.includes(Q));if(q("tengu_mcp_multidialog_choice",{approved:b.length,rejected:B.length}),b.length>0){let Q=[...new Set([...t0,...b])];V("localSettings",{enabledMcpjsonServers:Q})}if(B.length>0){let Q=[...new Set([...A0,...B])];V("localSettings",{disabledMcpjsonServers:Q})}n()},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u;if(c[3]!==n||c[4]!==i)u=()=>{let O=(J()||{}).disabledMcpjsonServers||[],Z=[...new Set([...O,...i])];V("localSettings",{disabledMcpjsonServers:Z}),n()},c[3]=n,c[4]=i,c[5]=u;else u=c[5];let M=u,I=`${i.length} new MCP servers found in .mcp.json`,o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=m(P,{}),c[6]=o;else o=c[6];let h;if(c[7]!==i)h=i.map(j0),c[7]=i,c[8]=h;else h=c[8];let F;if(c[9]!==M||c[10]!==l||c[11]!==i||c[12]!==h)F=m(m0,{options:h,defaultValue:i,onSubmit:l,onCancel:M,hideIndexes:!0}),c[9]=M,c[10]=l,c[11]=i,c[12]=h,c[13]=F;else F=c[13];let a;if(c[14]!==M||c[15]!==I||c[16]!==F)a=U(W,{title:I,subtitle:"Select any you wish to enable.",color:"warning",onCancel:M,hideInputGuide:!0,children:[o,F]}),c[14]=M,c[15]=I,c[16]=F,c[17]=a;else a=c[17];let T;if(c[18]===Symbol.for("react.memo_cache_sentinel"))T=m(c0,{paddingX:1,children:m(y,{dimColor:!0,italic:!0,children:U(i0,{children:[m(p,{shortcut:"Space",action:"select"}),m(p,{shortcut:"Enter",action:"confirm"}),m(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),c[18]=T;else T=c[18];let w;if(c[19]!==a)w=U(e,{children:[a,T]}),c[19]=a,c[20]=w;else w=c[20];return w}function j0(f){return{label:f,value:f}}M0();l0();r0();$0();C();async function F0(f){let{servers:c}=_0("project"),i=Object.keys(c).filter((n)=>u0(n)==="pending");if(i.length===0)return;await new Promise((n)=>{let _=()=>void n();if(i.length===1&&i[0]!==void 0){let l=i[0];f.render(m(X,{children:m(Y,{children:m(v,{serverName:l,onDone:_})})}))}else f.render(m(X,{children:m(Y,{children:m(o0,{serverNames:i,onDone:_})})}))})}l0();Ic();hc();Rc();I0();ac();I0();v0();cc();class A{frameDurations=[];firstRenderTime;lastRenderTime;record(f){let c=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=c;this.lastRenderTime=c,this.frameDurations.push(f)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let f=this.lastRenderTime-this.firstRenderTime;if(f<=0)return;let i=this.frameDurations.length/(f/1000),n=this.frameDurations.slice().sort((M,I)=>I-M),_=Math.max(0,Math.ceil(n.length*0.01)-1),l=n[_],u=l>0?1000/l:0;return{averageFps:Math.round(i*100)/100,low1PctFps:Math.round(u*100)/100}}}oc();nc();_c();Fc();uc();k();fc();C();function wc(){s((f)=>({...f,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function Uc(f,c){return new Promise((i)=>{let n=(_)=>void i(_);f.render(c(n))})}async function pf(f,c,i){return Vc(f,c,{color:"error",beforeExit:i})}async function Vc(f,c,i){let{Text:n}=await import("./ink-1.1.7-00k9mpt1.mjs"),_=i?.color,l=i?.exitCode??1;f.render(_?m(n,{color:_,children:c}):m(n,{children:c})),f.unmount(),await i?.beforeExit?.(),process.exit(l)}function z(f,c,i){return Uc(f,(n)=>m(X,{onChangeAppState:i?.onChangeAppState,children:m(Y,{children:c(n)})}))}async function sf(f,c){f.render(c),E0(),await f.waitUntilExit(),await O0(0)}async function tf(f,c,i,n,_){if(K(!1)||process.env.IS_DEMO)return!1;R("setupScreens_start");let l=H0(),u=!1;if(W0()){let{MigrationDialog:o}=await import("./MigrationDialog-1.1.7-1k5yjmhb.mjs");await z(f,(h)=>m(o,{onDone:()=>void h()}))}let M=t();if(l&&(!M.theme||!M.hasCompletedOnboarding)){u=!0;let{Onboarding:o}=await import("./Onboarding-1.1.7-0qnmq973.mjs");await z(f,(h)=>m(o,{onDone:()=>{wc(),h()}}),{onChangeAppState:N})}if(!K(process.env.CLAUBBIT)){if(l&&!V0()){let{TrustDialog:o}=await import("./TrustDialog-1.1.7-h6jenc4t.mjs");await z(f,(h)=>m(o,{commands:n,onDone:h}))}if(T0(!0),R("setupScreens_after_trust_accepted"),L0(),C0(),G0(),R("setupScreens_after_growthbook_kick"),l){let{errors:o}=y0();if(o.length===0)await F0(f);R("setupScreens_after_mcp_approvals");let h=await D0();if(R("setupScreens_after_claudemd_check"),h){let F=B0(await b0(!0)),{ClaudeMdExternalIncludesDialog:a}=await import("./ClaudeMdExternalIncludesDialog-1.1.7-9thhg137.mjs");await z(f,(T)=>m(a,{onDone:T,isStandaloneDialog:!0,externalIncludes:F}))}}}k0(),Q0(),R("setupScreens_after_env_applied"),setImmediate(()=>s0());let I=await Y0();if(R("setupScreens_after_grove_check"),I){R("setupScreens_grove_block_enter");let{GroveDialog:o}=await import("./Grove-1.1.7-0synn9dr.mjs");if(await z(f,(F)=>m(o,{showIfAlreadyViewed:!1,location:u?"onboarding":"policy_update_modal",onDone:F}))==="escape")return q("tengu_grove_policy_exited",{}),d(0),!1}{let o=z0();R("setupScreens_after_tryGetActiveProvider");let h=o?.transport==="anthropic"?o.apiKey?.trim():void 0;if(h&&!R0()){let F=J0(h),a=q0(F);if(R("setupScreens_after_keyStatus"),a==="new"){let{ApproveApiKey:T}=await import("./ApproveApiKey-1.1.7-92afe7m0.mjs");await z(f,(w)=>m(T,{customApiKeyTruncated:F,onDone:w}),{onChangeAppState:N})}}}if(R("setupScreens_after_custom_api_key"),(c==="bypassPermissions"||i)&&!w0()){let{BypassPermissionsModeDialog:o}=await import("./BypassPermissionsModeDialog-1.1.7-etp5s6ps.mjs");await z(f,(h)=>m(o,{onAccept:h}))}if(c==="auto"&&!U0()){let{AutoModeOptInDialog:o}=await import("./AutoModeOptInDialog-1.1.7-d0as32bc.mjs");await z(f,(h)=>m(o,{onAccept:h,onDecline:()=>d(1),declineExits:!0}))}return R("setupScreens_end"),u}function Af(f){P0();let c=0,i=Z0(f);if(i.stdin)q("tengu_stdin_interactive",{});let n=new A,_=p0();a0(_);let l=process.env.CLAUDE_CODE_FRAME_TIMING_LOG;return{getFpsMetrics:()=>n.getMetrics(),stats:_,renderOptions:{...i,onFrame:(u)=>{if(n.record(u.durationMs),_.observe("frame_duration_ms",u.durationMs),l&&u.phases){let M=JSON.stringify({total:u.durationMs,...u.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
2
- `;Lc(l,M)}if(X0())return;for(let M of u.flickers){if(M.reason==="resize")continue;let I=Date.now();if(I-c<1000)q("tengu_flicker",{desiredHeight:M.desiredHeight,actualHeight:M.availableHeight,reason:M.reason});c=I}}}}}
3
- export{wc as C,Uc as D,pf as E,Vc as F,z as G,sf as H,tf as I,Af as J};
@@ -1,4 +0,0 @@
1
- import{Ln as R,Mn as BJ,QE as k,RE as HJ,ft as D,gt as hJ,vp as G,yp as a}from"./cli-1.1.7-g69xsadf.mjs";import{D8 as ZJ,O8 as $J,b9 as bJ}from"./cli-1.1.7-6327xnsa.mjs";import{Sda as WJ,fea as jJ,haa as C,iaa as GJ,jaa as h,kaa as FJ,laa as u,maa as kJ}from"./cli-1.1.7-370fzee5.mjs";import{Zha as x,jia as gJ}from"./cli-1.1.7-avhh3ykn.mjs";import{aja as q,cja as s,dja as Y,eja as r}from"./cli-1.1.7-5a7dx8xv.mjs";import{Hja as M,Mja as yJ}from"./cli-1.1.7-svpmye16.mjs";import{Aka as l,Bka as TJ,kka as o,lka as CJ,uka as n,vka as EJ}from"./cli-1.1.7-4jb3802k.mjs";import{Yma as c,Zma as OJ,ana as H,bna as F,cna as I,cra as QJ,dna as YJ,ema as g,ena as P,fma as zJ,fna as XJ,gma as A,hma as wJ,sma as f,tma as PJ,yra as mJ}from"./cli-1.1.7-avggtwyk.mjs";import{Hra as K,Ira as DJ}from"./cli-1.1.7-kbdranyx.mjs";import{kta as B}from"./cli-1.1.7-a1sffgeq.mjs";function UJ(J,Q){return Q.length<2?J:P(J,R(Q,0,-1))}var z;var L=B(()=>{XJ();BJ();z=UJ});function xJ(J,Q){Q=H(Q,J);var W=-1,$=Q.length;if(!$)return!0;while(++W<$){var Z=I(Q[W]);if(Z==="__proto__"&&!KJ.call(J,"__proto__"))return!1;if((Z==="constructor"||Z==="prototype")&&W<$-1)return!1}var X=z(J,Q);return X==null||delete X[I(k(Q))]}var IJ,KJ,N;var O=B(()=>{F();HJ();L();YJ();IJ=Object.prototype,KJ=IJ.hasOwnProperty;N=xJ});function MJ(J){return C(J)?void 0:J}var E;var T=B(()=>{GJ();E=MJ});function RJ(J){return A(J)||f(J)||!!(S&&J&&J[S])}var S,d;var _=B(()=>{DJ();PJ();wJ();S=K?K.isConcatSpreadable:void 0;d=RJ});function v(J,Q,W,$,Z){var X=-1,V=J.length;W||(W=d),Z||(Z=[]);while(++X<V){var U=J[X];if(Q>0&&W(U))if(Q>1)v(U,Q-1,W,$,Z);else g(Z,U);else if(!$)Z[Z.length]=U}return Z}var m;var j=B(()=>{zJ();_();m=v});function LJ(J){var Q=J==null?0:J.length;return Q?m(J,1):[]}var y;var b=B(()=>{j();y=LJ});function NJ(J){return u(h(J,void 0,y),J+"")}var i;var p=B(()=>{b();FJ();kJ();i=NJ});var SJ=1,AJ=2,fJ=4,dJ,NQ;var _J=B(()=>{OJ();TJ();O();F();CJ();T();p();EJ();dJ=i(function(J,Q){var W={};if(J==null)return W;var $=!1;if(Q=c(Q,function(X){return X=H(X,J),$||($=X.length>1),X}),o(J,n(J),W),$)W=l(W,SJ|AJ|fJ,E);var Z=Q.length;while(Z--)N(W,Q[Z]);return W}),NQ=dJ});function t(){let J=x("tengu_harbor_ledger",[]),Q=vJ().safeParse(J);return Q.success?Q.data:[]}function e(){return x("tengu_harbor",!1)}var vJ;var JJ=B(()=>{s();r();a();gJ();vJ=Y(()=>q.array(q.object({marketplace:q.string(),plugin:q.string()})))});function uQ(J,Q,W){let $=Object.entries(W??{}).filter(([Z])=>iJ.test(Z)).map(([Z,X])=>` ${Z}="${D(X)}"`).join("");return`<${M} source="${D(J)}"${$}>
2
- ${Q}
3
- </${M}>`}function pJ(J,Q){if((J==="team"||J==="enterprise")&&Q)return{entries:Q,source:"org"};return{entries:t(),source:"ledger"}}function cJ(J,Q){let W=J.split(":");return Q.find(($)=>$.kind==="server"?J===$.name:W[0]==="plugin"&&W[1]===$.name)}function iQ(J,Q,W){if(!Q?.experimental?.["claude/channel"])return{action:"skip",kind:"capability",reason:"server did not declare claude/channel capability"};if(!e())return{action:"skip",kind:"disabled",reason:"channels feature is not currently available"};if(!ZJ()?.accessToken)return{action:"skip",kind:"auth",reason:"channels requires claude.ai authentication (run /login)"};let $=$J(),Z=$==="team"||$==="enterprise",X=Z?WJ("policySettings"):void 0;if(Z&&X?.channelsEnabled!==!0)return{action:"skip",kind:"policy",reason:"channels not enabled by org policy (set channelsEnabled: true in managed settings)"};let V=cJ(J,QJ());if(!V)return{action:"skip",kind:"session",reason:`server ${J} not in --channels list for this session`};if(V.kind==="plugin"){let U=W?G(W).marketplace:void 0;if(U!==V.marketplace)return{action:"skip",kind:"marketplace",reason:`you asked for plugin:${V.name}@${V.marketplace} but the installed ${V.name} plugin is from ${U??"an unknown source"}`};if(!V.dev){let{entries:qJ,source:VJ}=pJ($,X?.allowedChannelPlugins);if(!qJ.some((w)=>w.plugin===V.name&&w.marketplace===V.marketplace))return{action:"skip",kind:"allowlist",reason:VJ==="org"?`plugin ${V.name}@${V.marketplace} is not on your org's approved channels list (set allowedChannelPlugins in managed settings)`:`plugin ${V.name}@${V.marketplace} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`}}}else if(!V.dev)return{action:"skip",kind:"allowlist",reason:`server ${V.name} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`};return{action:"register"}}var bQ,uJ="notifications/claude/channel/permission",hQ,iJ;var oJ=B(()=>{s();mJ();yJ();bJ();r();a();jJ();hJ();JJ();bQ=Y(()=>q.object({method:q.literal("notifications/claude/channel"),params:q.object({content:q.string(),meta:q.record(q.string(),q.string()).optional()})})),hQ=Y(()=>q.object({method:q.literal(uJ),params:q.object({request_id:q.string(),behavior:q.enum(["allow","deny"])})})),iJ=/^[a-zA-Z_][a-zA-Z0-9_]*$/});
4
- export{NQ as Yf,_J as Zf,JJ as _f,bQ as $f,uQ as ag,cJ as bg,iQ as cg,oJ as dg};
@@ -1,3 +0,0 @@
1
- import{M as A}from"./cli-1.1.7-f0hcstcc.mjs";import{Iga as $,Jga as F,Pga as z,Qga as H,Zga as P}from"./cli-1.1.7-370fzee5.mjs";import{$ja as _,Dka as O,Ika as w,Mka as V,Qka as C,_ka as X,aka as N,bka as B,bla as E,dka as W}from"./cli-1.1.7-4jb3802k.mjs";import{yra as L,zna as Z}from"./cli-1.1.7-avggtwyk.mjs";import{Ksa as y,ssa as q}from"./cli-1.1.7-w7qe5saq.mjs";y();L();N();F();W();E();C();P();w();import{dirname as I,join as x}from"path";var T=z(new Date);function D(){return x($.errors(),T+".jsonl")}function J(G){return x($.mcpLogs(G),T+".jsonl")}function S(G){let K=_(G);return{write(Q){K.write(O(Q)+`
2
- `)},flush:K.flush,dispose:K.dispose}}var R=new Map;function M(G){let K=R.get(G);if(!K){let Q=I(G);K=S({writeFn:(U)=>{try{V().appendFileSync(G,U)}catch{V().mkdirSync(Q),V().appendFileSync(G,U)}},flushIntervalMs:1000,maxBufferSize:50}),R.set(G,K),B(async()=>K?.dispose())}return K}function f(G,K){}function v(G){if(typeof G==="string")return G;if(G&&typeof G==="object"){let K=G;if(typeof K.message==="string")return K.message;if(typeof K.error==="object"&&K.error&&"message"in K.error&&typeof K.error.message==="string")return K.error.message}return}function j(G){let K=G.stack||G.message,Q="";if(q.isAxiosError(G)&&G.config?.url){let U=[`url=${G.config.url}`];if(G.response?.status!==void 0)U.push(`status=${G.response.status}`);let Y=v(G.response?.data);if(Y)U.push(`body=${Y}`);Q=`[${U.join(",")}] `}X(`${G.name}: ${Q}${K}`,{level:"error"}),f(D(),{error:`${Q}${K}`})}function b(G,K){X(`MCP server "${G}" ${K}`,{level:"error"});let Q=J(G),Y={error:K instanceof Error?K.stack||K.message:String(K),timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(Y)}function u(G,K){X(`MCP server "${G}": ${K}`);let Q=J(G),U={debug:K,timestamp:new Date().toISOString(),sessionId:Z(),cwd:V().cwd()};M(Q).write(U)}function k(){H({logError:j,logMCPError:b,logMCPDebug:u,getErrorsPath:D,getMCPLogsPath:J}),X("Error log sink initialized")}function e(){k(),A()}
3
- export{e as x};
@@ -1,2 +0,0 @@
1
- import{ita as j}from"./cli-1.1.7-a1sffgeq.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.8"});
2
- export{Lt as s4};
@@ -1,2 +0,0 @@
1
- import{cc as Y}from"./cli-1.1.7-h8bj6vzr.mjs";import{UW as N,VW as C}from"./cli-1.1.7-yf8r2p8t.mjs";import{Lga as A,Nga as w}from"./cli-1.1.7-370fzee5.mjs";import{Xja as B,_ja as k}from"./cli-1.1.7-tj4a73gm.mjs";import{Eka as L,Ika as E,_ka as W,bla as j}from"./cli-1.1.7-4jb3802k.mjs";import{Fla as K,yla as G}from"./cli-1.1.7-gm3vnavd.mjs";k();C();import{randomUUID as O}from"crypto";j();w();K();E();function T(f){return f!==null&&typeof f==="object"&&"type"in f&&typeof f.type==="string"}function P(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_response"&&"response"in f}function S(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_request"&&"request_id"in f&&"request"in f}function v(f){if((f.type==="user"||f.type==="assistant")&&f.isVirtual)return!1;return f.type==="user"||f.type==="assistant"||f.type==="system"&&f.subtype==="local_command"}function q(f){if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary)return;if(f.origin&&f.origin.kind!=="human")return;let X=f.message.content,Q;if(typeof X==="string")Q=X;else for(let Z of X)if(Z.type==="text"){Q=Z.text;break}if(!Q)return;return A(Q)||void 0}function p(f,X,Q,$,Z,z){try{let H=Y(L(f));if(P(H)){W("[bridge:repl] Ingress message type=control_response"),Z?.(H);return}if(S(H)){W(`[bridge:repl] Inbound control_request subtype=${H.request.subtype}`),z?.(H);return}if(!T(H))return;let J="uuid"in H&&typeof H.uuid==="string"?H.uuid:void 0;if(J&&X.has(J)){W(`[bridge:repl] Ignoring echo: type=${H.type} uuid=${J}`);return}if(J&&Q.has(J)){W(`[bridge:repl] Ignoring re-delivered inbound: type=${H.type} uuid=${J}`);return}if(W(`[bridge:repl] Ingress message type=${H.type}${J?` uuid=${J}`:""}`),H.type==="user"){if(J)Q.add(J);B("tengu_bridge_message_received",{is_repl:!0}),$?.(H)}else W(`[bridge:repl] Ignoring non-user inbound message: type=${H.type}`)}catch(H){W(`[bridge:repl] Failed to parse ingress message: ${G(H)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(f,X){let{transport:Q,sessionId:$,outboundOnly:Z,onInterrupt:z,onSetModel:H,onSetMaxThinkingTokens:J,onSetPermissionMode:h}=X;if(!Q){W("[bridge:repl] Cannot respond to control_request: transport not configured");return}let V;if(Z&&f.request.subtype!=="initialize"){V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:y}};let x={...V,session_id:$};Q.write(x),W(`[bridge:repl] Rejected ${f.request.subtype} (outbound-only) request_id=${f.request_id}`);return}switch(f.request.subtype){case"initialize":V={type:"control_response",response:{subtype:"success",request_id:f.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":H?.(f.request.model),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_max_thinking_tokens":J?.(f.request.max_thinking_tokens),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_permission_mode":{let x=h?.(f.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(x.ok)V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};else V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:x.error}};break}case"interrupt":z?.(),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;default:V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:`REPL bridge does not handle control_request subtype: ${f.request.subtype}`}}}let _={...V,session_id:$};Q.write(_),W(`[bridge:repl] Sent control_response for ${f.request.subtype} request_id=${f.request_id} result=${V.response.subtype}`)}function d(f){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:f,uuid:O()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(f){this.capacity=f,this.ring=Array(f)}add(f){if(this.set.has(f))return;let X=this.ring[this.writeIdx];if(X!==void 0)this.set.delete(X);this.ring[this.writeIdx]=f,this.set.add(f),this.writeIdx=(this.writeIdx+1)%this.capacity}has(f){return this.set.has(f)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
2
- export{v as Yb,q as Zb,p as _b,g as $b,d as ac,R as bc};
@@ -1,2 +0,0 @@
1
- import{Xra as M,Yra as Y}from"./cli-1.1.7-kbdranyx.mjs";import{kta as W}from"./cli-1.1.7-a1sffgeq.mjs";import{homedir as Z}from"os";import{join as Q}from"path";function $(q){if(q?.configDirEnv)return q.configDirEnv.normalize("NFC");let B=q?.homeDir??Z();return Q(B,".claudin").normalize("NFC")}function N(){return process.env.CLAUDIN_CONFIG_DIR}function _(){return Q(X(),"teams")}function j(q){let B=process.env.NODE_OPTIONS;if(!B)return!1;return B.split(/\s+/).includes(q)}function U(q){if(!q)return!1;if(typeof q==="boolean")return q;let B=q.toLowerCase().trim();return["1","true","yes","on"].includes(B)}function I(q){if(q===void 0)return!1;if(typeof q==="boolean")return!q;if(!q)return!1;let B=q.toLowerCase().trim();return["0","false","no","off"].includes(B)}function S(){return U(process.env.CLAUDE_CODE_SIMPLE)||process.argv.includes("--bare")}function T(q){let B={};if(q)for(let F of q){let[J,...K]=F.split("=");if(!J||K.length===0)throw Error(`Invalid environment variable format: ${F}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);B[J]=K.join("=")}return B}function c(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}function L(){return process.env.CLOUD_ML_REGION||"us-east5"}function w(){return U(process.env.CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR)}function z(){return!1}function O(){return!1}function x(q){if(q){let B=b.find(([F])=>q.startsWith(F));if(B)return process.env[B[1]]||L()}return L()}var X,b;var k=W(()=>{Y();X=M(()=>$({configDirEnv:N()}),()=>process.env.CLAUDIN_CONFIG_DIR??"");b=[["claude-haiku-4-5","VERTEX_REGION_CLAUDE_HAIKU_4_5"],["claude-3-5-haiku","VERTEX_REGION_CLAUDE_3_5_HAIKU"],["claude-3-5-sonnet","VERTEX_REGION_CLAUDE_3_5_SONNET"],["claude-3-7-sonnet","VERTEX_REGION_CLAUDE_3_7_SONNET"],["claude-opus-5","VERTEX_REGION_CLAUDE_5_OPUS"],["claude-opus-4-7","VERTEX_REGION_CLAUDE_4_7_OPUS"],["claude-opus-4-6","VERTEX_REGION_CLAUDE_4_6_OPUS"],["claude-opus-4-1","VERTEX_REGION_CLAUDE_4_1_OPUS"],["claude-opus-4","VERTEX_REGION_CLAUDE_4_0_OPUS"],["claude-sonnet-4-6","VERTEX_REGION_CLAUDE_4_6_SONNET"],["claude-sonnet-4-5","VERTEX_REGION_CLAUDE_4_5_SONNET"],["claude-sonnet-4","VERTEX_REGION_CLAUDE_4_0_SONNET"]]});
2
- export{$ as Gla,N as Hla,X as Ila,_ as Jla,j as Kla,U as Lla,I as Mla,S as Nla,T as Ola,c as Pla,L as Qla,w as Rla,z as Sla,O as Tla,x as Ula,k as Vla};
@@ -1,18 +0,0 @@
1
- import{rJ as Q,uJ as F}from"./cli-1.1.7-g69xsadf.mjs";import{_ka as b,bla as y}from"./cli-1.1.7-4jb3802k.mjs";import{Ala as x,Fla as f}from"./cli-1.1.7-gm3vnavd.mjs";import{Ila as w,Vla as R}from"./cli-1.1.7-aq4f719n.mjs";import{Dna as $,Gna as j,yra as K}from"./cli-1.1.7-avggtwyk.mjs";import{kta as v}from"./cli-1.1.7-a1sffgeq.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 di,G as ei,D as fi,g as gi,M as hi,U as ii};
@@ -1,15 +0,0 @@
1
- import{C2 as qJ,F2 as VJ}from"./cli-1.1.7-h6bad0y5.mjs";import{Bba as E,Gba as ZJ,Iba as jJ,Rga as q,V$ as YJ,Vea as U,W$ as TJ,W_ as W,X_ as f,Xda as $J,Zga as u,fea as AJ,rfa as m,zba as y}from"./cli-1.1.7-370fzee5.mjs";import{Xja as F,_ja as NJ}from"./cli-1.1.7-tj4a73gm.mjs";import{Dka as b,Eka as N,Ika as P,Mka as w,Qka as D,_ka as K,bla as xJ}from"./cli-1.1.7-4jb3802k.mjs";import{Ala as v,Dla as n,Fla as j,ila as QJ,zla as M}from"./cli-1.1.7-gm3vnavd.mjs";import{Ila as O,Vla as k}from"./cli-1.1.7-aq4f719n.mjs";import{kta as T}from"./cli-1.1.7-a1sffgeq.mjs";import{access as d,chmod as vJ,writeFile as RJ}from"fs/promises";import{homedir as h}from"os";import{join as B}from"path";function A(){return B(O(),"local")}function _J(J=h()){return B(J,".claude","local")}function p(J){let Q=J?.homeDir??h(),Y=J?.configHomeDir??O();return Array.from(new Set([B(Y,"local"),_J(Q)]))}function c(J){return[B(J,"node_modules",".bin","claudin"),B(J,"node_modules",".bin","claude")]}function GJ(J){let Q=J.replace(/\\+/g,"/");return Q.includes("/.claudin/local/node_modules/")||Q.includes("/.claude/local/node_modules/")}function V(){return B(A(),"claudin")}function rJ(){return GJ(y())}async function I(J,Q,Y){try{return await RJ(J,Q,{encoding:"utf8",flag:"wx",mode:Y}),!0}catch(Z){if(M(Z)==="EEXIST")return!1;throw Z}}async function OJ(){try{let J=A();await w().mkdir(J),await I(B(J,"package.json"),b({name:"claudin-local",version:"0.0.1",private:!0},null,2));let Q=V();if(await I(Q,`#!/bin/sh
2
- exec "${J}/node_modules/.bin/claudin" "$@"`,493))await vJ(Q,493);return!0}catch(J){return q(J),!1}}async function JQ(J,Q){try{if(!await OJ())return"install_failed";let Z=await W("npm",["install",`@claudiolabs/claudin@${Q?Q:J==="stable"?"stable":"latest"}`],{cwd:A(),maxBuffer:1e6});if(Z.code!==0){let $=Error(`Failed to install Claude CLI package: ${Z.stderr}`);return q($),Z.code===190?"in_progress":"install_failed"}return U(($)=>({...$,installMethod:"local"})),"success"}catch(Y){return q(Y),"install_failed"}}async function QQ(){for(let J of p())for(let Q of c(J))try{return await d(Q),!0}catch{}return!1}async function YQ(){for(let J of p())for(let Q of c(J))try{return await d(Q),J}catch{}return null}function ZQ(){let J=process.env.SHELL||"";if(J.includes("zsh"))return"zsh";if(J.includes("bash"))return"bash";if(J.includes("fish"))return"fish";return"unknown"}var g=T(()=>{E();m();k();j();f();D();u();P()});import{open as MJ,readFile as wJ,stat as yJ}from"fs/promises";import{homedir as t}from"os";import{join as C}from"path";function S(J){let Q=J?.homedir??t(),Z=(J?.env??process.env).ZDOTDIR||Q;return{zsh:C(Z,".zshrc"),bash:C(Q,".bashrc"),fish:C(Q,".config/fish/config.fish")}}function a(J){let Q=!1;return{filtered:J.filter((Z)=>{if(s.test(Z)){let $=Z.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);if(!$)$=Z.match(/alias\s+claude\s*=\s*([^#\n]+)/);if($&&$[1]){if($[1].trim()===V())return Q=!0,!1}}return!0}),hadAlias:Q}}async function L(J){try{return(await wJ(J,{encoding:"utf8"})).split(`
3
- `)}catch(Q){if(n(Q))return null;throw Q}}async function l(J,Q){let Y=await MJ(J,"w");try{await Y.writeFile(Q.join(`
4
- `),{encoding:"utf8"}),await Y.datasync()}finally{await Y.close()}}async function UJ(J){let Q=S(J);for(let Y of Object.values(Q)){let Z=await L(Y);if(!Z)continue;for(let $ of Z)if(s.test($)){let X=$.match(/alias\s+claude=["']?([^"'\s]+)/);if(X&&X[1])return X[1]}}return null}async function HQ(J){let Q=await UJ(J);if(!Q)return null;let Y=J?.homedir??t(),Z=Q.startsWith("~")?Q.replace("~",Y):Q;try{let $=await yJ(Z);if($.isFile()||$.isSymbolicLink())return Q}catch{}return null}var s;var o=T(()=>{j();g();s=/^\s*alias\s+claude\s*=/});import{constants as KJ}from"fs";import{access as WJ,readFile as CJ,stat as SJ,writeFile as i}from"fs/promises";import{homedir as z}from"os";import{join as H}from"path";function LJ(){let J=y();if(J.includes("/.bun/install/global/"))return!0;let Q=process.env.BUN_INSTALL;if(Q&&J.startsWith(Q))return!0;return!1}function XJ(){return LJ()?"bun":"npm"}function zJ(){let J=process.env.BUN_INSTALL||H(z(),".bun");return H(J,"install","global","node_modules","@claudiolabs/claudin")}async function kJ(){let J=await W("npm",["-g","config","get","prefix"],{cwd:z()});if(J.code!==0)return null;let Q=J.stdout.trim();if(!Q)return null;return YJ()==="windows"?H(Q,"node_modules","@claudiolabs/claudin"):H(Q,"lib","node_modules","@claudiolabs/claudin")}async function e(J){try{let Q=await CJ(H(J,"package.json"),"utf8"),Y=N(Q);return typeof Y.version==="string"?Y.version:null}catch(Q){if(!v(Q))q(Q);return null}}function r(J){return J==="bun"?Promise.resolve(zJ()):kJ()}async function bJ(J,Q,Y){let Z=J==="npm"?"bun":"npm",$=await r(Z);if(!$)return;let X=await e($);if(!X)return;let _=await r(J),G=_?await e(_):null;if(G&&X===G)return;K(`update: repairing stale ${Z} install ${X} at ${$}`);let x=await W(Z,Z==="npm"?["install","-g","--force",Q]:["install","-g",Q],{cwd:z()});if(x.code!==0){q(new R(`Failed to refresh the ${Z} global install at ${$}: ${x.stdout} ${x.stderr}`));return}if(Z==="bun")await HJ();Y?.(`Repaired old version ${X} at ${$}`)}async function PJ(J,Q){let Y=await W("node",[J],{cwd:Q});if(Y.code===0)return!0;if(!IJ.test(Y.error??""))return q(new R(`Skipped postinstall failed under node: ${Y.stdout} ${Y.stderr}`)),!1;let Z=await W("bun",[J],{cwd:Q});if(Z.code===0)return!0;return q(new R(`Skipped postinstall failed under bun: ${Z.stdout} ${Z.stderr}`)),!1}async function HJ(){let J=zJ(),Q=H(J,"install.cjs"),Y=H(J,"bin","claudin.exe");try{await WJ(Q,KJ.F_OK)}catch(Z){if(!v(Z))q(Z);return!1}try{if((await SJ(Y)).size>FJ)return!1}catch(Z){if(!v(Z))return q(Z),!1}if(!await PJ(Q,J))return!1;return K("update: repaired Bun global launcher via install.cjs"),!0}async function IQ(){}async function kQ(){return}async function bQ(){return}function PQ(J){let Y=$J()?.minimumVersion;if(!Y)return!1;let Z=!qJ(J,Y);if(Z)K(`Skipping update to ${J} - below minimumVersion ${Y}`);return Z}function BJ(){return H(O(),".update.lock")}async function DJ(){let J=w(),Q=BJ();try{let Y=await J.stat(Q);if(Date.now()-Y.mtimeMs<JJ)return!1;try{let $=await J.stat(Q);if(Date.now()-$.mtimeMs<JJ)return!1;await J.unlink(Q)}catch($){if(!v($))return q($),!1}}catch(Y){if(!v(Y))return q(Y),!1}try{return await i(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch(Y){let Z=M(Y);if(Z==="EEXIST")return!1;if(Z==="ENOENT")try{return await J.mkdir(O()),await i(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch($){if(M($)==="EEXIST")return!1;return q($),!1}return q(Y),!1}}async function fJ(){let J=w(),Q=BJ();try{if(await J.readFile(Q,{encoding:"utf8"})===`${process.pid}`)await J.unlink(Q)}catch(Y){if(v(Y))return;q(Y)}}async function EJ(){let J=XJ()==="bun",Q=null;if(J)Q=await W("bun",["pm","bin","-g"],{cwd:z()});else Q=await W("npm",["-g","config","get","prefix"],{cwd:z()});if(Q.code!==0)return q(Error(`Failed to check ${J?"bun":"npm"} permissions`)),null;return Q.stdout.trim()}async function mJ(){try{let J=await EJ();if(!J)return{hasPermissions:!1,npmPrefix:null};try{return await WJ(J,KJ.W_OK),{hasPermissions:!0,npmPrefix:J}}catch{return q(new R("Insufficient permissions for global npm install.")),{hasPermissions:!1,npmPrefix:J}}}catch(J){return q(J),{hasPermissions:!1,npmPrefix:null}}}async function DQ(J,Q={}){let Y=J==="stable"?"stable":"latest",Z=Q.timeoutMs??5000,$=await W("npm",["view",`@claudiolabs/claudin@${Y}`,"version","--prefer-online"],{abortSignal:AbortSignal.timeout(Z),cwd:z()});if($.code!==0){if(K(`npm view failed with code ${$.code}`),$.stderr)K(`npm stderr: ${$.stderr.trim()}`);else K("npm stderr: (empty)");if($.stdout)K(`npm stdout: ${$.stdout.trim()}`);return null}return $.stdout.trim()}async function fQ(){let J=await W("npm",["view","@claudiolabs/claudin","dist-tags","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(5000),cwd:z()});if(J.code!==0)return K(`npm view dist-tags failed with code ${J.code}`),{latest:null,stable:null};try{let Q=N(J.stdout.trim());return{latest:typeof Q.latest==="string"?Q.latest:null,stable:typeof Q.stable==="string"?Q.stable:null}}catch(Q){return K(`Failed to parse dist-tags: ${Q}`),{latest:null,stable:null}}}async function EQ(J){return null}async function mQ(){return{latest:null,stable:null}}async function uQ(J){let Y=await W("npm",["view","@claudiolabs/claudin","versions","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(30000),cwd:z()});if(Y.code!==0){if(K(`npm view versions failed with code ${Y.code}`),Y.stderr)K(`npm stderr: ${Y.stderr.trim()}`);return[]}try{return N(Y.stdout.trim()).slice(-J).reverse()}catch(Z){return K(`Failed to parse version history: ${Z}`),[]}}async function dQ(J,Q){if(!await DJ())return q(new R("Another process is currently installing an update")),F("tengu_auto_updater_lock_contention",{pid:process.pid,currentVersion:"99.0.0"}),"in_progress";try{await uJ();let Y=XJ();if(Y==="npm"&&ZJ.isNpmFromWindowsPath())return q(Error("Windows NPM detected in WSL environment")),F("tengu_auto_updater_windows_npm_in_wsl",{currentVersion:"99.0.0"}),console.error(`
5
- Error: Windows NPM detected in WSL
6
-
7
- You're running Claude Code in WSL but using the Windows NPM installation from /mnt/c/.
8
- This configuration is not supported for updates.
9
-
10
- To fix this issue:
11
- 1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
12
- 2. Make sure Linux NPM is in your PATH before the Windows version
13
- 3. Try updating again with 'claude update'
14
- `),"install_failed";let{hasPermissions:Z}=await mJ();if(!Z)return"no_permissions";let $=J?`@claudiolabs/claudin@${J}`:"@claudiolabs/claudin",_=await W(Y,Y==="npm"?["install","-g","--force",$]:["install","-g",$],{cwd:z()});if(_.code!==0){let G=new R(`Failed to install new version of claude: ${_.stdout} ${_.stderr}`);return q(G),"install_failed"}return await HJ(),await bJ(Y,$,Q?.onProgress),U((G)=>({...G,installMethod:"global"})),"success"}finally{await fJ()}}async function uJ(){let J=S();for(let[,Q]of Object.entries(J))try{let Y=await L(Q);if(!Y)continue;let{filtered:Z,hadAlias:$}=a(Y);if($)await l(Q,Z),K(`Removed claude alias from ${Q}`)}catch(Y){K(`Failed to remove alias from ${Q}: ${Y}`,{level:"error"})}}var R,FJ=4096,IJ,JJ=300000;var dJ=T(()=>{NJ();E();m();xJ();jJ();k();j();f();D();u();TJ();VJ();AJ();o();P();R=class R extends QJ{};IJ=/ENOENT/i});
15
- export{rJ as qU,JQ as rU,QQ as sU,YQ as tU,ZQ as uU,g as vU,S as wU,a as xU,L as yU,l as zU,UJ as AU,HQ as BU,o as CU,zJ as DU,HJ as EU,IQ as FU,kQ as GU,bQ as HU,PQ as IU,BJ as JU,mJ as KU,DQ as LU,fQ as MU,EQ as NU,mQ as OU,uQ as PU,dQ as QU,dJ as RU};
@@ -1,2 +0,0 @@
1
- import{Ara as YJ,Bra as v,Cra as P1,Dra as Y5,Era as w8,Fra as D,Gra as y,Hra as m,Ira as kQ,Jra as L,Kra as a,Lra as n5,Mra as e8,Nra as R5,Ora as _8,Pra as E,Qra as h8,Rra as P,Sra as x1,Tra as d,Ura as xQ,Vra as r,Wra as UQ,Xra as T5,Yra as UY,zra as _Q}from"./cli-1.1.7-kbdranyx.mjs";import{jta as aQ,kta as X}from"./cli-1.1.7-a1sffgeq.mjs";function h$(){this.__data__=new v,this.size=0}var QQ;var $Q=X(()=>{P1();QQ=h$});function n$(Q){var J=this.__data__,Y=J.delete(Q);return this.size=J.size,Y}var JQ;var YQ=X(()=>{JQ=n$});function b$(Q){return this.__data__.get(Q)}var ZQ;var XQ=X(()=>{ZQ=b$});function i$(Q){return this.__data__.has(Q)}var HQ;var WQ=X(()=>{HQ=i$});function l$(Q,J){var Y=this.__data__;if(Y instanceof v){var Z=Y.__data__;if(!d||Z.length<u$-1)return Z.push([Q,J]),this.size=++Y.size,this;Y=this.__data__=new r(Z)}return Y.set(Q,J),this.size=Y.size,this}var u$=200,KQ;var GQ=X(()=>{P1();xQ();UQ();KQ=l$});function g(Q){var J=this.__data__=new v(Q);this.size=J.size}var p;var I1=X(()=>{P1();$Q();YQ();XQ();WQ();GQ();g.prototype.clear=QQ;g.prototype.delete=JQ;g.prototype.get=ZQ;g.prototype.has=HQ;g.prototype.set=KQ;p=g});function c$(Q){return this.__data__.set(Q,T$),this}var T$="__lodash_hash_undefined__",BQ;var NQ=X(()=>{BQ=c$});function r$(Q){return this.__data__.has(Q)}var wQ;var zQ=X(()=>{wQ=r$});function o(Q){var J=-1,Y=Q==null?0:Q.length;this.__data__=new r;while(++J<Y)this.add(Q[J])}var FQ;var RQ=X(()=>{UQ();NQ();zQ();o.prototype.add=o.prototype.push=BQ;o.prototype.has=wQ;FQ=o});function o$(Q,J){var Y=-1,Z=Q==null?0:Q.length;while(++Y<Z)if(J(Q[Y],Y,Q))return!0;return!1}var DQ;var qQ=X(()=>{DQ=o$});function s$(Q,J){return Q.has(J)}var OQ;var VQ=X(()=>{OQ=s$});function e$(Q,J,Y,Z,H,W){var x=Y&a$,U=Q.length,B=J.length;if(U!=B&&!(x&&B>U))return!1;var K=W.get(Q),F=W.get(J);if(K&&F)return K==J&&F==Q;var z=-1,N=!0,V=Y&t$?new FQ:void 0;W.set(Q,J),W.set(J,Q);while(++z<U){var R=Q[z],q=J[z];if(Z)var f=x?Z(q,R,z,J,Q,W):Z(R,q,z,Q,J,W);if(f!==void 0){if(f)continue;N=!1;break}if(V){if(!DQ(J,function(C,_){if(!OQ(V,_)&&(R===C||H(R,C,Y,Z,W)))return V.push(_)})){N=!1;break}}else if(!(R===q||H(R,q,Y,Z,W))){N=!1;break}}return W.delete(Q),W.delete(J),N}var a$=1,t$=2,s;var C1=X(()=>{RQ();qQ();VQ();s=e$});var QJ,_1;var MQ=X(()=>{y();QJ=D.Uint8Array,_1=QJ});function $J(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z,H){Y[++J]=[H,Z]}),Y}var LQ;var fQ=X(()=>{LQ=$J});function JJ(Q){var J=-1,Y=Array(Q.size);return Q.forEach(function(Z){Y[++J]=Z}),Y}var PQ;var IQ=X(()=>{PQ=JJ});function RJ(Q,J,Y,Z,H,W,x){switch(Y){case FJ:if(Q.byteLength!=J.byteLength||Q.byteOffset!=J.byteOffset)return!1;Q=Q.buffer,J=J.buffer;case zJ:if(Q.byteLength!=J.byteLength||!W(new _1(Q),new _1(J)))return!1;return!0;case HJ:case WJ:case KJ:return _Q(+Q,+J);case xJ:return Q.name==J.name&&Q.message==J.message;case GJ:case NJ:return Q==J+"";case UJ:var U=LQ;case BJ:var B=Z&ZJ;if(U||(U=PQ),Q.size!=J.size&&!B)return!1;var K=x.get(Q);if(K)return K==J;Z|=XJ,x.set(Q,J);var F=s(U(Q),U(J),Z,H,W,x);return x.delete(Q),F;case wJ:if(k1)return k1.call(Q)==k1.call(J)}return!1}var ZJ=1,XJ=2,HJ="[object Boolean]",WJ="[object Date]",xJ="[object Error]",UJ="[object Map]",KJ="[object Number]",GJ="[object RegExp]",BJ="[object Set]",NJ="[object String]",wJ="[object Symbol]",zJ="[object ArrayBuffer]",FJ="[object DataView]",CQ,k1,EQ;var vQ=X(()=>{kQ();MQ();YJ();C1();fQ();IQ();CQ=m?m.prototype:void 0,k1=CQ?CQ.valueOf:void 0;EQ=RJ});function DJ(Q,J){var Y=-1,Z=J.length,H=Q.length;while(++Y<Z)Q[H+Y]=J[Y];return Q}var dQ;var gQ=X(()=>{dQ=DJ});var qJ,w;var M=X(()=>{qJ=Array.isArray,w=qJ});function OJ(Q,J,Y){var Z=J(Q);return w(Q)?Z:dQ(Z,Y(Q))}var pQ;var yQ=X(()=>{gQ();M();pQ=OJ});function VJ(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=0,W=[];while(++Y<Z){var x=Q[Y];if(J(x,Y,Q))W[H++]=x}return W}var mQ;var SQ=X(()=>{mQ=VJ});function MJ(){return[]}var AQ;var jQ=X(()=>{AQ=MJ});var LJ,fJ,hQ,PJ,nQ;var bQ=X(()=>{SQ();jQ();LJ=Object.prototype,fJ=LJ.propertyIsEnumerable,hQ=Object.getOwnPropertySymbols,PJ=!hQ?AQ:function(Q){if(Q==null)return[];return Q=Object(Q),mQ(hQ(Q),function(J){return fJ.call(Q,J)})},nQ=PJ});function IJ(Q,J){var Y=-1,Z=Array(Q);while(++Y<Q)Z[Y]=J(Y);return Z}var iQ;var uQ=X(()=>{iQ=IJ});function CJ(Q){return Q!=null&&typeof Q=="object"}var O;var S=X(()=>{O=CJ});function kJ(Q){return O(Q)&&L(Q)==_J}var _J="[object Arguments]",E1;var lQ=X(()=>{a();S();E1=kJ});var TQ,EJ,vJ,dJ,t;var v1=X(()=>{lQ();S();TQ=Object.prototype,EJ=TQ.hasOwnProperty,vJ=TQ.propertyIsEnumerable,dJ=E1(function(){return arguments}())?E1:function(Q){return O(Q)&&EJ.call(Q,"callee")&&!vJ.call(Q,"callee")},t=dJ});function gJ(){return!1}var cQ;var rQ=X(()=>{cQ=gJ});var Q1={};aQ(Q1,{default:()=>A});var tQ,oQ,pJ,sQ,yJ,mJ,A;var d1=X(()=>{y();rQ();tQ=typeof Q1=="object"&&Q1&&!Q1.nodeType&&Q1,oQ=tQ&&typeof e=="object"&&e&&!e.nodeType&&e,pJ=oQ&&oQ.exports===tQ,sQ=pJ?D.Buffer:void 0,yJ=sQ?sQ.isBuffer:void 0,mJ=yJ||cQ,A=mJ});function jJ(Q,J){var Y=typeof Q;return J=J==null?SJ:J,!!J&&(Y=="number"||Y!="symbol"&&AJ.test(Q))&&(Q>-1&&Q%1==0&&Q<J)}var SJ=9007199254740991,AJ,$1;var g1=X(()=>{AJ=/^(?:0|[1-9]\d*)$/;$1=jJ});function nJ(Q){return typeof Q=="number"&&Q>-1&&Q%1==0&&Q<=hJ}var hJ=9007199254740991,j;var J1=X(()=>{j=nJ});function B8(Q){return O(Q)&&j(Q.length)&&!!G[L(Q)]}var bJ="[object Arguments]",iJ="[object Array]",uJ="[object Boolean]",lJ="[object Date]",TJ="[object Error]",cJ="[object Function]",rJ="[object Map]",oJ="[object Number]",sJ="[object Object]",aJ="[object RegExp]",tJ="[object Set]",eJ="[object String]",Q8="[object WeakMap]",$8="[object ArrayBuffer]",J8="[object DataView]",Y8="[object Float32Array]",Z8="[object Float64Array]",X8="[object Int8Array]",H8="[object Int16Array]",W8="[object Int32Array]",x8="[object Uint8Array]",U8="[object Uint8ClampedArray]",K8="[object Uint16Array]",G8="[object Uint32Array]",G,eQ;var Q5=X(()=>{a();J1();S();G={};G[Y8]=G[Z8]=G[X8]=G[H8]=G[W8]=G[x8]=G[U8]=G[K8]=G[G8]=!0;G[bJ]=G[iJ]=G[$8]=G[uJ]=G[J8]=G[lJ]=G[TJ]=G[cJ]=G[rJ]=G[oJ]=G[sJ]=G[aJ]=G[tJ]=G[eJ]=G[Q8]=!1;eQ=B8});function N8(Q){return function(J){return Q(J)}}var $5;var J5=X(()=>{$5=N8});var Z1={};aQ(Z1,{default:()=>X1});var Z5,i,z8,p1,F8,X1;var X5=X(()=>{w8();Z5=typeof Z1=="object"&&Z1&&!Z1.nodeType&&Z1,i=Z5&&typeof Y1=="object"&&Y1&&!Y1.nodeType&&Y1,z8=i&&i.exports===Z5,p1=z8&&Y5.process,F8=function(){try{var Q=i&&i.require&&i.require("util").types;if(Q)return Q;return p1&&p1.binding&&p1.binding("util")}catch(J){}}(),X1=F8});var H5,R8,H1;var y1=X(()=>{Q5();J5();X5();H5=X1&&X1.isTypedArray,R8=H5?$5(H5):eQ,H1=R8});function O8(Q,J){var Y=w(Q),Z=!Y&&t(Q),H=!Y&&!Z&&A(Q),W=!Y&&!Z&&!H&&H1(Q),x=Y||Z||H||W,U=x?iQ(Q.length,String):[],B=U.length;for(var K in Q)if((J||q8.call(Q,K))&&!(x&&(K=="length"||H&&(K=="offset"||K=="parent")||W&&(K=="buffer"||K=="byteLength"||K=="byteOffset")||$1(K,B))))U.push(K);return U}var D8,q8,W5;var x5=X(()=>{uQ();v1();M();d1();g1();y1();D8=Object.prototype,q8=D8.hasOwnProperty;W5=O8});function M8(Q){var J=Q&&Q.constructor,Y=typeof J=="function"&&J.prototype||V8;return Q===Y}var V8,U5;var K5=X(()=>{V8=Object.prototype;U5=M8});function L8(Q,J){return function(Y){return Q(J(Y))}}var G5;var B5=X(()=>{G5=L8});var f8,N5;var w5=X(()=>{B5();f8=G5(Object.keys,Object),N5=f8});function C8(Q){if(!U5(Q))return N5(Q);var J=[];for(var Y in Object(Q))if(I8.call(Q,Y)&&Y!="constructor")J.push(Y);return J}var P8,I8,z5;var F5=X(()=>{K5();w5();P8=Object.prototype,I8=P8.hasOwnProperty;z5=C8});function k8(Q){return Q!=null&&j(Q.length)&&!R5(Q)}var D5;var q5=X(()=>{_8();J1();D5=k8});function E8(Q){return D5(Q)?W5(Q):z5(Q)}var W1;var m1=X(()=>{x5();F5();q5();W1=E8});function v8(Q){return pQ(Q,W1,nQ)}var S1;var O5=X(()=>{yQ();bQ();m1();S1=v8});function y8(Q,J,Y,Z,H,W){var x=Y&d8,U=S1(Q),B=U.length,K=S1(J),F=K.length;if(B!=F&&!x)return!1;var z=B;while(z--){var N=U[z];if(!(x?N in J:p8.call(J,N)))return!1}var V=W.get(Q),R=W.get(J);if(V&&R)return V==J&&R==Q;var q=!0;W.set(Q,J),W.set(J,Q);var f=x;while(++z<B){N=U[z];var C=Q[N],_=J[N];if(Z)var e1=x?Z(_,C,N,J,Q,W):Z(C,_,N,Q,J,W);if(!(e1===void 0?C===_||H(C,_,Y,Z,W):e1)){q=!1;break}f||(f=N=="constructor")}if(q&&!f){var T=Q.constructor,c=J.constructor;if(T!=c&&(("constructor"in Q)&&("constructor"in J))&&!(typeof T=="function"&&T instanceof T&&typeof c=="function"&&c instanceof c))q=!1}return W.delete(Q),W.delete(J),q}var d8=1,g8,p8,V5;var M5=X(()=>{O5();g8=Object.prototype,p8=g8.hasOwnProperty;V5=y8});var m8,U1;var L5=X(()=>{x1();y();m8=P(D,"DataView"),U1=m8});var S8,K1;var f5=X(()=>{x1();y();S8=P(D,"Promise"),K1=S8});var A8,G1;var P5=X(()=>{x1();y();A8=P(D,"Set"),G1=A8});var j8,B1;var I5=X(()=>{x1();y();j8=P(D,"WeakMap"),B1=j8});var C5="[object Map]",n8="[object Object]",_5="[object Promise]",k5="[object Set]",E5="[object WeakMap]",v5="[object DataView]",b8,i8,u8,l8,T8,k,A1;var d5=X(()=>{L5();xQ();f5();P5();I5();a();h8();b8=E(U1),i8=E(d),u8=E(K1),l8=E(G1),T8=E(B1),k=L;if(U1&&k(new U1(new ArrayBuffer(1)))!=v5||d&&k(new d)!=C5||K1&&k(K1.resolve())!=_5||G1&&k(new G1)!=k5||B1&&k(new B1)!=E5)k=function(Q){var J=L(Q),Y=J==n8?Q.constructor:void 0,Z=Y?E(Y):"";if(Z)switch(Z){case b8:return v5;case i8:return C5;case u8:return _5;case l8:return k5;case T8:return E5}return J};A1=k});function o8(Q,J,Y,Z,H,W){var x=w(Q),U=w(J),B=x?p5:A1(Q),K=U?p5:A1(J);B=B==g5?N1:B,K=K==g5?N1:K;var F=B==N1,z=K==N1,N=B==K;if(N&&A(Q)){if(!A(J))return!1;x=!0,F=!1}if(N&&!F)return W||(W=new p),x||H1(Q)?s(Q,J,Y,Z,H,W):EQ(Q,J,B,Y,Z,H,W);if(!(Y&c8)){var V=F&&y5.call(Q,"__wrapped__"),R=z&&y5.call(J,"__wrapped__");if(V||R){var q=V?Q.value():Q,f=R?J.value():J;return W||(W=new p),H(q,f,Y,Z,W)}}if(!N)return!1;return W||(W=new p),V5(Q,J,Y,Z,H,W)}var c8=1,g5="[object Arguments]",p5="[object Array]",N1="[object Object]",r8,y5,m5;var S5=X(()=>{I1();C1();vQ();M5();d5();M();d1();y1();r8=Object.prototype,y5=r8.hasOwnProperty;m5=o8});function A5(Q,J,Y,Z,H){if(Q===J)return!0;if(Q==null||J==null||!O(Q)&&!O(J))return Q!==Q&&J!==J;return m5(Q,J,Y,Z,A5,H)}var w1;var j1=X(()=>{S5();S();w1=A5});function t8(Q,J,Y,Z){var H=Y.length,W=H,x=!Z;if(Q==null)return!W;Q=Object(Q);while(H--){var U=Y[H];if(x&&U[2]?U[1]!==Q[U[0]]:!(U[0]in Q))return!1}while(++H<W){U=Y[H];var B=U[0],K=Q[B],F=U[1];if(x&&U[2]){if(K===void 0&&!(B in Q))return!1}else{var z=new p;if(Z)var N=Z(K,F,B,Q,J,z);if(!(N===void 0?w1(F,K,s8|a8,Z,z):N))return!1}}return!0}var s8=1,a8=2,j5;var h5=X(()=>{I1();j1();j5=t8});function QY(Q){return Q===Q&&!n5(Q)}var z1;var h1=X(()=>{e8();z1=QY});function $Y(Q){var J=W1(Q),Y=J.length;while(Y--){var Z=J[Y],H=Q[Z];J[Y]=[Z,H,z1(H)]}return J}var b5;var i5=X(()=>{h1();m1();b5=$Y});function JY(Q,J){return function(Y){if(Y==null)return!1;return Y[Q]===J&&(J!==void 0||(Q in Object(Y)))}}var F1;var n1=X(()=>{F1=JY});function YY(Q){var J=b5(Q);if(J.length==1&&J[0][2])return F1(J[0][0],J[0][1]);return function(Y){return Y===Q||j5(Y,Q,J)}}var u5;var l5=X(()=>{h5();i5();n1();u5=YY});function XY(Q){return typeof Q=="symbol"||O(Q)&&L(Q)==ZY}var ZY="[object Symbol]",h;var R1=X(()=>{a();S();h=XY});function xY(Q,J){if(w(Q))return!1;var Y=typeof Q;if(Y=="number"||Y=="symbol"||Y=="boolean"||Q==null||h(Q))return!0;return WY.test(Q)||!HY.test(Q)||J!=null&&Q in Object(J)}var HY,WY,n;var D1=X(()=>{M();R1();HY=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,WY=/^\w*$/;n=xY});function GY(Q){var J=T5(Q,function(Z){if(Y.size===KY)Y.clear();return Z}),Y=J.cache;return J}var KY=500,c5;var r5=X(()=>{UY();c5=GY});var BY,NY,wY,o5;var s5=X(()=>{r5();BY=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NY=/\\(\\)?/g,wY=c5(function(Q){var J=[];if(Q.charCodeAt(0)===46)J.push("");return Q.replace(BY,function(Y,Z,H,W){J.push(H?W.replace(NY,"$1"):Z||Y)}),J}),o5=wY});function zY(Q,J){var Y=-1,Z=Q==null?0:Q.length,H=Array(Z);while(++Y<Z)H[Y]=J(Q[Y],Y,Q);return H}var a5;var t5=X(()=>{a5=zY});function $$(Q){if(typeof Q=="string")return Q;if(w(Q))return a5(Q,$$)+"";if(h(Q))return Q$?Q$.call(Q):"";var J=Q+"";return J=="0"&&1/Q==-FY?"-0":J}var FY=1/0,e5,Q$,J$;var Y$=X(()=>{kQ();t5();M();R1();e5=m?m.prototype:void 0,Q$=e5?e5.toString:void 0;J$=$$});function RY(Q){return Q==null?"":J$(Q)}var Z$;var X$=X(()=>{Y$();Z$=RY});function DY(Q,J){if(w(Q))return Q;return n(Q,J)?[Q]:o5(Z$(Q))}var q1;var b1=X(()=>{M();D1();s5();X$();q1=DY});function OY(Q){if(typeof Q=="string"||h(Q))return Q;var J=Q+"";return J=="0"&&1/Q==-qY?"-0":J}var qY=1/0,I;var u=X(()=>{R1();I=OY});function VY(Q,J){J=q1(J,Q);var Y=0,Z=J.length;while(Q!=null&&Y<Z)Q=Q[I(J[Y++])];return Y&&Y==Z?Q:void 0}var O1;var i1=X(()=>{b1();u();O1=VY});function MY(Q,J,Y){var Z=Q==null?void 0:O1(Q,J);return Z===void 0?Y:Z}var H$;var W$=X(()=>{i1();H$=MY});function LY(Q,J){return Q!=null&&J in Object(Q)}var x$;var U$=X(()=>{x$=LY});function fY(Q,J,Y){J=q1(J,Q);var Z=-1,H=J.length,W=!1;while(++Z<H){var x=I(J[Z]);if(!(W=Q!=null&&Y(Q,x)))break;Q=Q[x]}if(W||++Z!=H)return W;return H=Q==null?0:Q.length,!!H&&j(H)&&$1(x,H)&&(w(Q)||t(Q))}var K$;var G$=X(()=>{b1();v1();M();g1();J1();u();K$=fY});function PY(Q,J){return Q!=null&&K$(Q,J,x$)}var B$;var N$=X(()=>{U$();G$();B$=PY});function _Y(Q,J){if(n(Q)&&z1(J))return F1(I(Q),J);return function(Y){var Z=H$(Y,Q);return Z===void 0&&Z===J?B$(Y,Q):w1(J,Z,IY|CY)}}var IY=1,CY=2,w$;var z$=X(()=>{j1();W$();N$();D1();h1();n1();u();w$=_Y});function kY(Q){return Q}var F$;var R$=X(()=>{F$=kY});function EY(Q){return function(J){return J==null?void 0:J[Q]}}var D$;var q$=X(()=>{D$=EY});function vY(Q){return function(J){return O1(J,Q)}}var O$;var V$=X(()=>{i1();O$=vY});function dY(Q){return n(Q)?D$(I(Q)):O$(Q)}var M$;var L$=X(()=>{q$();V$();D1();u();M$=dY});function gY(Q){if(typeof Q=="function")return Q;if(Q==null)return F$;if(typeof Q=="object")return w(Q)?w$(Q[0],Q[1]):u5(Q);return M$(Q)}var f$;var P$=X(()=>{l5();z$();R$();M();L$();f$=gY});function pY(Q,J){var Y,Z=-1,H=Q.length;while(++Z<H){var W=J(Q[Z]);if(W!==void 0)Y=Y===void 0?W:Y+W}return Y}var I$;var C$=X(()=>{I$=pY});function yY(Q,J){return Q&&Q.length?I$(Q,f$(J,2)):0}var b;var _$=X(()=>{P$();C$();b=yY});import{randomUUID as u1}from"crypto";var k$=()=>{};function nX(){return l1}function bX(Q){l1=Q}function iX(Q){return V1.has(Q)?V1.get(Q):void 0}function uX(Q,J){V1.set(Q,J)}function lX(Q){return T1.get(Q)}function TX(Q,J){T1.set(Q,J)}function E$(){l1=null,V1.clear(),T1.clear()}function cX(){return c1}function rX(Q){c1=Q}function oX(){c1=void 0}var l1=null,V1,T1,c1;var v$=X(()=>{V1=new Map;T1=new Map});function d$(){let Q=new Set;return{subscribe(J){return Q.add(J),()=>{Q.delete(J)}},emit(...J){for(let Y of Q)Y(...J)},clear(){Q.clear()}}}var g$=()=>{};import{realpathSync as p$}from"fs";import{cwd as mY}from"process";function Z9(Q){return r1.add(Q),()=>r1.delete(Q)}function X9(){L1()}function L1(){for(let Q of r1)try{Q()}catch{}}function y$(){let Q="";if(typeof process<"u"&&typeof process.cwd==="function"&&typeof p$==="function"){let Y=mY();try{Q=p$(Y).normalize("NFC")}catch{Q=Y.normalize("NFC")}}return{originalCwd:Q,projectRoot:Q,totalCostUSD:0,totalAPIDuration:0,totalAPIDurationWithoutRetries:0,totalToolDuration:0,turnHookDurationMs:0,turnToolDurationMs:0,turnClassifierDurationMs:0,turnToolCount:0,turnHookCount:0,turnClassifierCount:0,startTime:Date.now(),activeDurationMs:0,turnActiveSince:null,lastInteractionTime:Date.now(),totalLinesAdded:0,totalLinesRemoved:0,hasUnknownModelCost:!1,cwd:Q,modelUsage:{},mainLoopModelOverride:void 0,initialMainLoopModel:null,modelStrings:null,isInteractive:!1,kairosActive:!1,strictToolResultPairing:!1,sdkAgentProgressSummariesEnabled:!1,userMsgOptIn:!1,clientType:"cli",sessionSource:void 0,questionPreviewFormat:void 0,sessionIngressToken:void 0,oauthTokenFromFd:void 0,apiKeyFromFd:void 0,flagSettingsPath:void 0,flagSettingsInline:null,allowedSettingSources:["userSettings","projectSettings","localSettings","flagSettings","policySettings"],meter:null,sessionCounter:null,locCounter:null,prCounter:null,commitCounter:null,costCounter:null,tokenCounter:null,codeEditToolDecisionCounter:null,activeTimeCounter:null,statsStore:null,sessionId:u1(),parentSessionId:void 0,loggerProvider:null,eventLogger:null,meterProvider:null,tracerProvider:null,agentColorMap:new Map,agentColorIndex:0,lastAPIRequest:null,lastAPIRequestMessages:null,lastClassifierRequests:null,cachedClaudeMdContent:null,inMemoryErrorLog:[],inlinePlugins:[],useCoworkPlugins:!1,sessionBypassPermissionsMode:!1,scheduledTasksEnabled:!1,sessionCronTasks:[],pendingSessionWakeup:null,sessionCreatedTeams:new Set,sessionTrustAccepted:!1,sessionPersistenceDisabled:!1,hasExitedPlanMode:!1,needsPlanModeExitAttachment:!1,needsAutoModeExitAttachment:!1,initJsonSchema:null,registeredHooks:null,planSlugCache:new Map,teleportedSessionInfo:null,invokedSkills:new Map,slowOperations:[],sdkBetas:void 0,mainThreadAgentType:void 0,isRemoteMode:!1,directConnectServerUrl:void 0,systemPromptSectionCache:new Map,lastEmittedDate:null,additionalDirectoriesForClaudeMd:[],allowedChannels:[],hasDevChannels:!1,sessionProjectDir:null,largeSystemPromptDetected:null,afkModeHeaderLatched:null,fastModeHeaderLatched:null,thinkingClearLatched:null,lspDeferLatchedTools:null,deferredDeltaLegacySession:!1,sessionEpochMs:Date.now()-process.uptime()*1000,promptId:null,lastMainRequestId:void 0,lastApiCompletionTimestamp:null,pendingPostCompaction:!1}}function H9(){return $.sessionId}function W9(Q={}){if(Q.setCurrentAsParent)$.parentSessionId=$.sessionId;return $.planSlugCache.delete($.sessionId),$.sessionId=u1(),$.sessionProjectDir=null,m$($.sessionId),$.sessionId}function x9(){return $.parentSessionId}function U9(Q,J=null){$.planSlugCache.delete($.sessionId),$.sessionId=Q,$.sessionProjectDir=J,m$(Q)}function m$(Q){$.pendingSessionWakeup=null,jY(),$.sessionEpochMs=Date.now(),o1.emit(Q)}function G9(){return $.sessionProjectDir}function B9(){return $.originalCwd}function N9(){return $.projectRoot}function w9(Q){$.originalCwd=Q.normalize("NFC")}function z9(Q){$.projectRoot=Q.normalize("NFC")}function F9(){return $.cwd}function R9(Q){$.cwd=Q.normalize("NFC")}function D9(){return $.directConnectServerUrl}function q9(Q){$.directConnectServerUrl=Q}function O9(Q,J){$.totalAPIDuration+=Q,$.totalAPIDurationWithoutRetries+=J}function V9(){$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalCostUSD=0}function M9(Q,J,Y){$.modelUsage[Y]=J,$.totalCostUSD+=Q}function L9(){return $.totalCostUSD}function f9(){return $.totalAPIDuration}function P9(){if($.turnActiveSince==null)$.turnActiveSince=Date.now()}function I9(){if($.turnActiveSince!=null)$.activeDurationMs+=Date.now()-$.turnActiveSince,$.turnActiveSince=null}function C9(){return $.activeDurationMs+($.turnActiveSince!=null?Date.now()-$.turnActiveSince:0)}function _9(){return $.totalAPIDurationWithoutRetries}function k9(){return $.totalToolDuration}function E9(Q){$.totalToolDuration+=Q,$.turnToolDurationMs+=Q,$.turnToolCount++}function v9(){return $.turnHookDurationMs}function d9(Q){$.turnHookDurationMs+=Q,$.turnHookCount++}function g9(){$.turnHookDurationMs=0,$.turnHookCount=0}function p9(){return $.turnHookCount}function y9(){return $.turnToolDurationMs}function m9(){$.turnToolDurationMs=0,$.turnToolCount=0}function S9(){return $.turnToolCount}function A9(){return $.turnClassifierDurationMs}function j9(Q){$.turnClassifierDurationMs+=Q,$.turnClassifierCount++}function h9(){$.turnClassifierDurationMs=0,$.turnClassifierCount=0}function n9(){return $.turnClassifierCount}function b9(){return $.statsStore}function i9(Q){$.statsStore=Q}function u9(Q){if(Q)S$();else s1=!0}function l9(){if(s1)S$()}function S$(){$.lastInteractionTime=Date.now(),s1=!1}function T9(Q,J){$.totalLinesAdded+=Q,$.totalLinesRemoved+=J}function c9(){return $.totalLinesAdded}function r9(){return $.totalLinesRemoved}function o9(){return b(Object.values($.modelUsage),"inputTokens")}function A$(){return b(Object.values($.modelUsage),"outputTokens")}function s9(){return b(Object.values($.modelUsage),"cacheReadInputTokens")}function a9(){return b(Object.values($.modelUsage),"cacheCreationInputTokens")}function t9(){return b(Object.values($.modelUsage),"webSearchRequests")}function e9(){return A$()-a1}function QH(){return t1}function $H(Q){a1=A$(),t1=Q,f1=0}function JH(){return f1}function YH(){f1++}function ZH(){$.hasUnknownModelCost=!0}function XH(){return $.hasUnknownModelCost}function HH(){return $.lastMainRequestId}function WH(Q){$.lastMainRequestId=Q}function xH(){return $.lastApiCompletionTimestamp}function UH(Q){$.lastApiCompletionTimestamp=Q}function KH(){$.pendingPostCompaction=!0}function GH(){let Q=$.pendingPostCompaction;return $.pendingPostCompaction=!1,Q}function BH(){return $.lastInteractionTime}function NH(){if(M1=!0,l)clearTimeout(l);l=setTimeout(()=>{M1=!1,l=void 0},j$),l.unref?.()}function wH(){return M1}async function zH(){while(M1)await new Promise((Q)=>setTimeout(Q,j$).unref?.())}function FH(){return $.modelUsage}function RH(Q){return $.modelUsage[Q]}function DH(){return $.mainLoopModelOverride}function qH(){return $.initialMainLoopModel}function OH(Q){$.mainLoopModelOverride=Q}function VH(Q){$.initialMainLoopModel=Q}function MH(){return $.sdkBetas}function LH(Q){$.sdkBetas=Q}function fH(){$.totalCostUSD=0,$.totalAPIDuration=0,$.totalAPIDurationWithoutRetries=0,$.totalToolDuration=0,$.startTime=Date.now(),$.activeDurationMs=0,$.turnActiveSince=null,$.totalLinesAdded=0,$.totalLinesRemoved=0,$.hasUnknownModelCost=!1,$.modelUsage={},$.promptId=null}function PH({totalCostUSD:Q,totalAPIDuration:J,totalAPIDurationWithoutRetries:Y,totalToolDuration:Z,totalLinesAdded:H,totalLinesRemoved:W,lastDuration:x,modelUsage:U}){if($.totalCostUSD=Q,$.totalAPIDuration=J,$.totalAPIDurationWithoutRetries=Y,$.totalToolDuration=Z,$.totalLinesAdded=H,$.totalLinesRemoved=W,U)$.modelUsage=U;$.activeDurationMs=x??0,$.turnActiveSince=null}function IH(){throw Error("resetStateForTests can only be called in tests")}function CH(){return $.modelStrings}function _H(Q){$.modelStrings=Q}function kH(){$.modelStrings=null}function EH(Q,J){$.meter=Q,$.sessionCounter=J("claude_code.session.count",{description:"Count of CLI sessions started"}),$.locCounter=J("claude_code.lines_of_code.count",{description:"Count of lines of code modified, with the 'type' attribute indicating whether lines were added or removed"}),$.prCounter=J("claude_code.pull_request.count",{description:"Number of pull requests created"}),$.commitCounter=J("claude_code.commit.count",{description:"Number of git commits created"}),$.costCounter=J("claude_code.cost.usage",{description:"Cost of the Claude Code session",unit:"USD"}),$.tokenCounter=J("claude_code.token.usage",{description:"Number of tokens used",unit:"tokens"}),$.codeEditToolDecisionCounter=J("claude_code.code_edit_tool.decision",{description:"Count of code editing tool permission decisions (accept/reject) for Edit, Write, and NotebookEdit tools"}),$.activeTimeCounter=J("claude_code.active_time.total",{description:"Total active time in seconds",unit:"s"})}function vH(){return $.meter}function dH(){return $.sessionCounter}function gH(){return $.locCounter}function pH(){return $.prCounter}function yH(){return $.commitCounter}function mH(){return $.costCounter}function SH(){return $.tokenCounter}function AH(){return $.codeEditToolDecisionCounter}function jH(){return $.activeTimeCounter}function hH(){return $.loggerProvider}function nH(Q){$.loggerProvider=Q}function bH(){return $.eventLogger}function iH(Q){$.eventLogger=Q}function uH(){return $.meterProvider}function lH(Q){$.meterProvider=Q}function TH(){return $.tracerProvider}function cH(Q){$.tracerProvider=Q}function SY(){return!$.isInteractive}function rH(){return $.isInteractive}function oH(Q){$.isInteractive=Q}function sH(){return $.clientType}function aH(Q){$.clientType=Q}function tH(){return $.sdkAgentProgressSummariesEnabled}function eH(Q){$.sdkAgentProgressSummariesEnabled=Q}function Q4(){return $.kairosActive}function $4(Q){$.kairosActive=Q,L1()}function J4(){return $.strictToolResultPairing}function Y4(Q){$.strictToolResultPairing=Q}function Z4(){return $.userMsgOptIn}function X4(Q){$.userMsgOptIn=Q,L1()}function H4(){return $.sessionSource}function W4(Q){$.sessionSource=Q}function x4(){return $.questionPreviewFormat}function U4(Q){$.questionPreviewFormat=Q}function K4(){return $.agentColorMap}function G4(){return $.flagSettingsPath}function B4(Q){$.flagSettingsPath=Q}function N4(){return $.flagSettingsInline}function w4(Q){$.flagSettingsInline=Q}function z4(){return $.sessionIngressToken}function F4(Q){$.sessionIngressToken=Q}function R4(){return $.oauthTokenFromFd}function D4(Q){$.oauthTokenFromFd=Q}function q4(){return $.apiKeyFromFd}function O4(Q){$.apiKeyFromFd=Q}function V4(Q){$.lastAPIRequest=Q}function M4(){return $.lastAPIRequest}function L4(Q){$.lastAPIRequestMessages=Q}function f4(){return $.lastAPIRequestMessages}function P4(Q){$.lastClassifierRequests=Q}function I4(){return $.lastClassifierRequests}function C4(Q){$.cachedClaudeMdContent=Q}function _4(){return $.cachedClaudeMdContent}function k4(Q){if($.inMemoryErrorLog.length>=100)$.inMemoryErrorLog.shift();$.inMemoryErrorLog.push(Q)}function E4(){return $.allowedSettingSources}function v4(Q){$.allowedSettingSources=Q}function d4(){return SY()&&$.clientType!=="claude-vscode"}function g4(Q){$.inlinePlugins=Q}function p4(){return $.inlinePlugins}function y4(Q){$.useCoworkPlugins=Q,E$()}function m4(){return $.useCoworkPlugins}function S4(Q){$.sessionBypassPermissionsMode=Q}function A4(){return $.sessionBypassPermissionsMode}function j4(Q){$.scheduledTasksEnabled=Q}function h4(){return $.scheduledTasksEnabled}function n4(){return $.sessionCronTasks}function b4(Q){$.sessionCronTasks.push(Q)}function i4(Q){if(Q.length===0)return 0;let J=new Set(Q),Y=$.sessionCronTasks.filter((H)=>!J.has(H.id)),Z=$.sessionCronTasks.length-Y.length;if(Z===0)return 0;return $.sessionCronTasks=Y,Z}function u4(){return $.pendingSessionWakeup}function l4(Q){let J=$.pendingSessionWakeup!==null;return $.pendingSessionWakeup=Q,J}function T4(){$.pendingSessionWakeup=null}function c4(Q){$.sessionTrustAccepted=Q}function r4(){return $.sessionTrustAccepted}function o4(Q){$.sessionPersistenceDisabled=Q}function s4(){return $.sessionPersistenceDisabled}function a4(){return $.hasExitedPlanMode}function t4(Q){$.hasExitedPlanMode=Q}function e4(){return $.needsPlanModeExitAttachment}function Q3(Q){$.needsPlanModeExitAttachment=Q}function $3(Q,J){if(J==="plan"&&Q!=="plan")$.needsPlanModeExitAttachment=!1;if(Q==="plan"&&J!=="plan")$.needsPlanModeExitAttachment=!0}function J3(){return $.needsAutoModeExitAttachment}function Y3(Q){$.needsAutoModeExitAttachment=Q}function Z3(Q,J){if(Q==="auto"&&J==="plan"||Q==="plan"&&J==="auto")return;let Y=Q==="auto",Z=J==="auto";if(Z&&!Y)$.needsAutoModeExitAttachment=!1;if(Y&&!Z)$.needsAutoModeExitAttachment=!0}function X3(Q){$.initJsonSchema=Q}function H3(){return $.initJsonSchema}function W3(Q){if(!$.registeredHooks)$.registeredHooks={};for(let[J,Y]of Object.entries(Q)){let Z=J;if(!$.registeredHooks[Z])$.registeredHooks[Z]=[];$.registeredHooks[Z].push(...Y)}}function x3(){return $.registeredHooks}function U3(){$.registeredHooks=null}function K3(){if(!$.registeredHooks)return;let Q={};for(let[J,Y]of Object.entries($.registeredHooks)){let Z=Y.filter((H)=>!("pluginRoot"in H));if(Z.length>0)Q[J]=Z}$.registeredHooks=Object.keys(Q).length>0?Q:null}function G3(){$.initJsonSchema=null,$.registeredHooks=null}function B3(){return $.planSlugCache}function N3(){return $.sessionCreatedTeams}function w3(Q){$.teleportedSessionInfo={isTeleported:!0,hasLoggedFirstMessage:!1,sessionId:Q.sessionId}}function z3(){return $.teleportedSessionInfo}function F3(){if($.teleportedSessionInfo)$.teleportedSessionInfo.hasLoggedFirstMessage=!0}function R3(Q,J,Y,Z=null){let H=`${Z??""}:${Q}`;$.invokedSkills.set(H,{skillName:Q,skillPath:J,content:Y,invokedAt:Date.now(),agentId:Z})}function D3(){return $.invokedSkills}function q3(Q){let J=Q??null,Y=new Map;for(let[Z,H]of $.invokedSkills)if(H.agentId===J)Y.set(Z,H);return Y}function O3(Q){if(!Q||Q.size===0){$.invokedSkills.clear();return}for(let[J,Y]of $.invokedSkills)if(Y.agentId===null||!Q.has(Y.agentId))$.invokedSkills.delete(J)}function V3(Q){for(let[J,Y]of $.invokedSkills)if(Y.agentId===Q)$.invokedSkills.delete(J)}function M3(Q,J){}function L3(){return AY}function f3(){return $.mainThreadAgentType}function P3(Q){$.mainThreadAgentType=Q}function I3(){return $.isRemoteMode}function C3(Q){$.isRemoteMode=Q}function _3(){return $.systemPromptSectionCache}function k3(Q,J){$.systemPromptSectionCache.set(Q,J)}function E3(){$.systemPromptSectionCache.clear()}function v3(){return $.lastEmittedDate}function d3(Q){$.lastEmittedDate=Q}function g3(){return $.additionalDirectoriesForClaudeMd}function p3(Q){$.additionalDirectoriesForClaudeMd=Q}function y3(){return $.allowedChannels}function m3(Q){$.allowedChannels=Q,L1()}function S3(){return $.hasDevChannels}function A3(Q){$.hasDevChannels=Q}function j3(){return $.largeSystemPromptDetected}function h3(Q){$.largeSystemPromptDetected=Q}function n3(){return $.afkModeHeaderLatched}function b3(Q){$.afkModeHeaderLatched=Q}function i3(){return $.fastModeHeaderLatched}function u3(Q){$.fastModeHeaderLatched=Q}function l3(){return $.thinkingClearLatched}function T3(Q){$.thinkingClearLatched=Q}function c3(Q){return $.lspDeferLatchedTools?.has(Q)??!1}function r3(Q){if(!$.lspDeferLatchedTools)$.lspDeferLatchedTools=new Set;$.lspDeferLatchedTools.add(Q)}function o3(){return $.deferredDeltaLegacySession}function s3(Q){$.deferredDeltaLegacySession=Q}function jY(){$.afkModeHeaderLatched=null,$.fastModeHeaderLatched=null,$.thinkingClearLatched=null,$.lspDeferLatchedTools=null,$.deferredDeltaLegacySession=!1}function a3(){return $.sessionEpochMs}function t3(){return $.promptId}function e3(Q){$.promptId=Q}function QW(){return!1}function $W(){return null}var r1,$,o1,K9,s1=!1,a1=0,t1=null,f1=0,M1=!1,l,j$=150,AY;var hY=X(()=>{_$();k$();v$();g$();r1=new Set;$=y$();o1=d$();K9=o1.subscribe;AY=[]});
2
- export{p as Wla,I1 as Xla,FQ as Yla,RQ as Zla,OQ as _la,VQ as $la,_1 as ama,MQ as bma,PQ as cma,IQ as dma,dQ as ema,gQ as fma,w as gma,M as hma,pQ as ima,yQ as jma,mQ as kma,SQ as lma,AQ as mma,jQ as nma,nQ as oma,bQ as pma,O as qma,S as rma,t as sma,v1 as tma,A as uma,d1 as vma,$1 as wma,g1 as xma,$5 as yma,J5 as zma,X1 as Ama,X5 as Bma,H1 as Cma,y1 as Dma,W5 as Ema,x5 as Fma,U5 as Gma,K5 as Hma,G5 as Ima,B5 as Jma,D5 as Kma,q5 as Lma,W1 as Mma,m1 as Nma,S1 as Oma,O5 as Pma,G1 as Qma,P5 as Rma,A1 as Sma,d5 as Tma,w1 as Uma,j1 as Vma,h as Wma,R1 as Xma,a5 as Yma,t5 as Zma,Z$ as _ma,X$ as $ma,q1 as ana,b1 as bna,I as cna,u as dna,O1 as ena,i1 as fna,F$ as gna,R$ as hna,f$ as ina,P$ as jna,nX as kna,bX as lna,iX as mna,uX as nna,lX as ona,TX as pna,E$ as qna,cX as rna,rX as sna,oX as tna,v$ as una,d$ as vna,g$ as wna,Z9 as xna,X9 as yna,H9 as zna,W9 as Ana,x9 as Bna,U9 as Cna,K9 as Dna,G9 as Ena,B9 as Fna,N9 as Gna,w9 as Hna,z9 as Ina,F9 as Jna,R9 as Kna,D9 as Lna,q9 as Mna,O9 as Nna,V9 as Ona,M9 as Pna,L9 as Qna,f9 as Rna,P9 as Sna,I9 as Tna,C9 as Una,_9 as Vna,k9 as Wna,E9 as Xna,v9 as Yna,d9 as Zna,g9 as _na,p9 as $na,y9 as aoa,m9 as boa,S9 as coa,A9 as doa,j9 as eoa,h9 as foa,n9 as goa,b9 as hoa,i9 as ioa,u9 as joa,l9 as koa,T9 as loa,c9 as moa,r9 as noa,o9 as ooa,A$ as poa,s9 as qoa,a9 as roa,t9 as soa,e9 as toa,QH as uoa,$H as voa,JH as woa,YH as xoa,ZH as yoa,XH as zoa,HH as Aoa,WH as Boa,xH as Coa,UH as Doa,KH as Eoa,GH as Foa,BH as Goa,NH as Hoa,wH as Ioa,zH as Joa,FH as Koa,RH as Loa,DH as Moa,qH as Noa,OH as Ooa,VH as Poa,MH as Qoa,LH as Roa,fH as Soa,PH as Toa,IH as Uoa,CH as Voa,_H as Woa,kH as Xoa,EH as Yoa,vH as Zoa,dH as _oa,gH as $oa,pH as apa,yH as bpa,mH as cpa,SH as dpa,AH as epa,jH as fpa,hH as gpa,nH as hpa,bH as ipa,iH as jpa,uH as kpa,lH as lpa,TH as mpa,cH as npa,SY as opa,rH as ppa,oH as qpa,sH as rpa,aH as spa,tH as tpa,eH as upa,Q4 as vpa,$4 as wpa,J4 as xpa,Y4 as ypa,Z4 as zpa,X4 as Apa,H4 as Bpa,W4 as Cpa,x4 as Dpa,U4 as Epa,K4 as Fpa,G4 as Gpa,B4 as Hpa,N4 as Ipa,w4 as Jpa,z4 as Kpa,F4 as Lpa,R4 as Mpa,D4 as Npa,q4 as Opa,O4 as Ppa,V4 as Qpa,M4 as Rpa,L4 as Spa,f4 as Tpa,P4 as Upa,I4 as Vpa,C4 as Wpa,_4 as Xpa,k4 as Ypa,E4 as Zpa,v4 as _pa,d4 as $pa,g4 as aqa,p4 as bqa,y4 as cqa,m4 as dqa,S4 as eqa,A4 as fqa,j4 as gqa,h4 as hqa,n4 as iqa,b4 as jqa,i4 as kqa,u4 as lqa,l4 as mqa,T4 as nqa,c4 as oqa,r4 as pqa,o4 as qqa,s4 as rqa,a4 as sqa,t4 as tqa,e4 as uqa,Q3 as vqa,$3 as wqa,J3 as xqa,Y3 as yqa,Z3 as zqa,X3 as Aqa,H3 as Bqa,W3 as Cqa,x3 as Dqa,U3 as Eqa,K3 as Fqa,G3 as Gqa,B3 as Hqa,N3 as Iqa,w3 as Jqa,z3 as Kqa,F3 as Lqa,R3 as Mqa,D3 as Nqa,q3 as Oqa,O3 as Pqa,V3 as Qqa,M3 as Rqa,L3 as Sqa,f3 as Tqa,P3 as Uqa,I3 as Vqa,C3 as Wqa,_3 as Xqa,k3 as Yqa,E3 as Zqa,v3 as _qa,d3 as $qa,g3 as ara,p3 as bra,y3 as cra,m3 as dra,S3 as era,A3 as fra,j3 as gra,h3 as hra,n3 as ira,b3 as jra,i3 as kra,u3 as lra,l3 as mra,T3 as nra,c3 as ora,r3 as pra,o3 as qra,s3 as rra,jY as sra,a3 as tra,t3 as ura,e3 as vra,QW as wra,$W as xra,hY as yra};
@@ -1,2 +0,0 @@
1
- import{kta as C}from"./cli-1.1.7-a1sffgeq.mjs";import E from"node:fs";import G from"node:path";import H from"node:os";function A(){if(q!==void 0)return;try{let b=process.env.CLAUDE_FEATURE_FLAGS_FILE||G.join(H.homedir(),".claudin","feature-flags.json"),j=JSON.parse(E.readFileSync(b,"utf-8"));q=j&&typeof j==="object"&&!Array.isArray(j)?j:null}catch{q=null}}function x(b,j){if(A(),q!=null&&Object.hasOwn(q,b))return q[b];if(Object.hasOwn(z,b))return z[b];return j}function O(){return I}function Q(){return!1}function R(){return A(),q||{}}function S(){return{}}function T(){}function U(){}function W(){return}async function Y(b,j){return x(b,j)}function Z(b,j){return x(b,j)}function $(b,j){return x(b,j)}function v(b){return Boolean(x(b,!1))}async function w(b){return!1}async function P(b){return Boolean(x(b,!1))}function B(){}function D(){q=void 0}async function h(){q=void 0}function N(){}function m(){}async function c(b,j){return x(b,j)}function F(b,j){return x(b,j)}var q=void 0,z,I=()=>{},X=async()=>null;var J=C(()=>{z={tengu_sedge_lantern:!0,tengu_passport_quail:!0,tengu_coral_fern:!0,tengu_bramble_lintel:15,tengu_glacier_2xr:!0}});
2
- export{O as Qha,Q as Rha,R as Sha,S as Tha,T as Uha,U as Vha,W as Wha,X as Xha,Y as Yha,Z as Zha,$ as _ha,v as $ha,w as aia,P as bia,B as cia,D as dia,h as eia,N as fia,m as gia,c as hia,F as iia,J as jia};
@@ -1,2 +0,0 @@
1
- import{kta as C}from"./cli-1.1.7-a1sffgeq.mjs";function F(m,q){switch(q.type){case"set_local_jsx":{if(q.generation<m.generation)return m;return{state:{...q.payload,isLocalJSXCommand:!0},generation:m.generation+1,hasLocalJSXActive:!0}}case"clear_local_jsx":return{state:null,generation:m.generation+1,hasLocalJSXActive:!1};case"set_regular":{if(m.hasLocalJSXActive)return m;return{...m,state:q.payload}}case"set_null":{if(m.hasLocalJSXActive)return m;if(m.state===null)return m;return{...m,state:null}}}}var D;var G=C(()=>{D={state:null,generation:0,hasLocalJSXActive:!1}});function L(m){return B=m,()=>{if(B===m)B=null}}function M(m){let q=F(z,m);if(q===z)return;z=q,B?.(q.state)}function N(){return z.generation}var z,B=null;var H=C(()=>{G();z=D});
2
- export{L as Xi,M as Yi,N as Zi,H as _i};
@@ -1,2 +0,0 @@
1
- import{T$ as x,b$ as X,f$ as k,x$ as Y}from"./cli-1.1.7-370fzee5.mjs";import{uha as $}from"./cli-1.1.7-xv2n043b.mjs";import{kta as Z}from"./cli-1.1.7-a1sffgeq.mjs";import{stat as I}from"fs/promises";import{join as Q,sep as P}from"path";async function H(J){let q=await Y(J);if(!q)return;let K=await X(q),[z,B]=await Promise.all([V(Q(q,"FETCH_HEAD")),K?V(Q(K,"FETCH_HEAD")):Promise.resolve(void 0)]);if(z&&B)return z>B?z:B;return z??B}async function V(J){try{let{mtime:q}=await I(J);return q}catch{return}}var M=Z(()=>{$();k();x()});
2
- export{H as jb,M as kb};
@@ -1,39 +0,0 @@
1
- import{TR as N,cR as L,dR as w,fS as d,mx as B,ox as U}from"./cli-1.1.7-g69xsadf.mjs";import{kba as z,rba as F,vda as P}from"./cli-1.1.7-370fzee5.mjs";import{oha as H,uha as v}from"./cli-1.1.7-xv2n043b.mjs";import{kta as j}from"./cli-1.1.7-a1sffgeq.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
2
-
3
- `;h+=`**Model:** ${Z}
4
- `,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
5
- `,h+=`
6
- `;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
7
-
8
- `,h+=`| Category | Tokens | Percentage |
9
- `,h+=`|----------|--------|------------|
10
- `;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
11
- `}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
12
- `}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
13
- `}h+=`
14
- `}if(X.length>0){h+=`### MCP Tools
15
-
16
- `,h+=`| Tool | Server | Tokens |
17
- `,h+=`|------|--------|--------|
18
- `;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
19
- `;h+=`
20
- `}if(Q.length>0){h+=`### Custom Agents
21
-
22
- `,h+=`| Agent Type | Source | Tokens |
23
- `,h+=`|------------|--------|--------|
24
- `;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
25
- `}h+=`
26
- `}if(W.length>0){h+=`### Memory Files
27
-
28
- `,h+=`| Type | Path | Tokens |
29
- `,h+=`|------|------|--------|
30
- `;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
31
- `;h+=`
32
- `}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
33
-
34
- `,h+=`| Skill | Source | Tokens |
35
- `,h+=`|-------|--------|--------|
36
- `;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
37
- `;h+=`
38
- `}return h}var A=j(()=>{U();w();v();d();F();P()});
39
- export{V as Bh,g as Ch,A as Dh};
@@ -1,2 +0,0 @@
1
- import{Ri as J,Ti as K,Ui as M}from"./cli-1.1.7-m8kaqtm6.mjs";import{EZ as P,I1 as X}from"./cli-1.1.7-8e3qerv0.mjs";import{r4 as q}from"./cli-1.1.7-1pt67y2k.mjs";import{s4 as N}from"./cli-1.1.7-ac6ve6ks.mjs";import{Yea as H,rfa as Z}from"./cli-1.1.7-370fzee5.mjs";import{uha as Y}from"./cli-1.1.7-xv2n043b.mjs";import{_ja as V}from"./cli-1.1.7-tj4a73gm.mjs";import{gta as z,kta as Q}from"./cli-1.1.7-a1sffgeq.mjs";function B(){let k=J();if(!k||!k.available||k.granted)return!1;return K(k)!==null}function c(){if(!B())return!1;let k=H();if(k.hasVisitedExtraUsage)return!1;if((k.overageCreditUpsellSeenCount??0)>=A)return!1;return!0}var R,y,A=3;var D=Q(()=>{X();V();M();Z();Y();q();R=z(P(),1),y=z(N(),1)});
2
- export{c as Yg,D as Zg};
@@ -1,2 +0,0 @@
1
- import{_ja as f}from"./cli-1.1.7-tj4a73gm.mjs";import{bla as h}from"./cli-1.1.7-4jb3802k.mjs";import{kta as Z}from"./cli-1.1.7-a1sffgeq.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var w=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(){}async function oz(z){if(!z||z.length>D)return null;return null}async function dz(z){if(!z||z.length>D)return null;return null}function nz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(l(J.text));else if(m.has(J.type))break}return X}function l(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,m,pz;var L=Z(()=>{f();h();w();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),m=new Set(["command_substitution","process_substitution"]);pz=Symbol("parse-aborted")});
2
- export{K as n3,w as o3,kz as p3,oz as q3,pz as r3,dz as s3,nz as t3,L as u3};