@claudiolabs/claudin 0.6.13 → 0.7.0

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 (891) hide show
  1. package/dist/chunks/AgentTool-0.7.0-9peg6t20.mjs +1 -0
  2. package/dist/chunks/App-0.7.0-q5hygb50.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.7.0-pdj2vakp.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.7.0-190csm4h.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.7.0-khhh5rz9.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.7.0-4n7jcjsf.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.0-vf636a5p.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.7.0-z9h5bckg.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.7.0-3kqmdg48.mjs +7 -0
  10. package/dist/chunks/Doctor-0.7.0-gep401wn.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-0.7.0-2t408ngs.mjs +6 -0
  12. package/dist/chunks/Grove-0.7.0-3knq53k5.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.7.0-by807q13.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.7.0-maxj2b37.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.7.0-2atqejbc.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.7.0-wqtqgs70.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.7.0-xe2s643k.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.7.0-4tbbvacv.mjs +1 -0
  19. package/dist/chunks/REPL-0.7.0-tvn2epfh.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.7.0-6ycqmhh2.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.7.0-xwjwtj2z.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.7.0-mwbsjw08.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.7.0-szdbz9rf.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.7.0-sg1whfhh.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.7.0-jdkh4z1a.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.7.0-f557bcbq.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.7.0-gfmvgcwc.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.7.0-vvs597t9.mjs +1 -0
  29. package/dist/chunks/add-dir-0.7.0-tqy1qj7k.mjs +1 -0
  30. package/dist/chunks/agents-0.7.0-7mz67ymz.mjs +110 -0
  31. package/dist/chunks/agents-0.7.0-rzfq4nj1.mjs +3 -0
  32. package/dist/chunks/api-0.7.0-3ddtm43n.mjs +1 -0
  33. package/dist/chunks/asciicast-0.7.0-4hfhh3bz.mjs +1 -0
  34. package/dist/chunks/assistant-0.7.0-hq9qp39j.mjs +1 -0
  35. package/dist/chunks/auth-0.7.0-j0ecrgmw.mjs +1 -0
  36. package/dist/chunks/auth-0.7.0-q33dw9jq.mjs +1 -0
  37. package/dist/chunks/autoMode-0.7.0-jt8mnf1a.mjs +48 -0
  38. package/dist/chunks/autoUpdater-0.7.0-pk6cxrr5.mjs +1 -0
  39. package/dist/chunks/backgroundHousekeeping-0.7.0-n50bjkpa.mjs +1 -0
  40. package/dist/chunks/branch-0.7.0-2nvgp1ch.mjs +4 -0
  41. package/dist/chunks/bridge-0.7.0-n76zrpx7.mjs +2 -0
  42. package/dist/chunks/bridgeConfig-0.7.0-wavdtzat.mjs +1 -0
  43. package/dist/chunks/bridgeEnabled-0.7.0-eqjw3fax.mjs +1 -0
  44. package/dist/chunks/bridgeMain-0.7.0-7n73zfpq.mjs +88 -0
  45. package/dist/chunks/bridgePointer-0.7.0-49x6tn3y.mjs +1 -0
  46. package/dist/chunks/btw-0.7.0-d2cavbgh.mjs +1 -0
  47. package/dist/chunks/buddy-0.7.0-3r0qt58d.mjs +3 -0
  48. package/dist/chunks/cacache-0.7.0-tsq5tf6t.mjs +1 -0
  49. package/dist/chunks/cache-probe-0.7.0-521yf1je.mjs +21 -0
  50. package/dist/chunks/cacheStats-0.7.0-xrpkvgry.mjs +4 -0
  51. package/dist/chunks/caches-0.7.0-khrzrs38.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-0.7.0-9vm9zdzp.mjs +1 -0
  53. package/dist/chunks/claudemd-0.7.0-06x6wykt.mjs +1 -0
  54. package/dist/chunks/clear-0.7.0-0hkt8avg.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.7.0-np2er6we.mjs +1 -0
  56. package/dist/chunks/cli-0.7.0-0bzz8t89.mjs +2 -0
  57. package/dist/chunks/cli-0.7.0-0cp32djm.mjs +2 -0
  58. package/dist/chunks/cli-0.7.0-0hzevdxp.mjs +8 -0
  59. package/dist/chunks/cli-0.7.0-0r9dgw51.mjs +3 -0
  60. package/dist/chunks/cli-0.7.0-0vdrrv1g.mjs +2 -0
  61. package/dist/chunks/cli-0.7.0-154gmfg4.mjs +2 -0
  62. package/dist/chunks/cli-0.7.0-15wmymmf.mjs +2 -0
  63. package/dist/chunks/cli-0.7.0-19swb9c9.mjs +2 -0
  64. package/dist/chunks/cli-0.7.0-1b6xe3b3.mjs +3 -0
  65. package/dist/chunks/cli-0.7.0-1evcxwvq.mjs +9 -0
  66. package/dist/chunks/cli-0.7.0-1tb38zvv.mjs +2 -0
  67. package/dist/chunks/cli-0.7.0-1vvj7vh2.mjs +4 -0
  68. package/dist/chunks/cli-0.7.0-21zw08ne.mjs +4 -0
  69. package/dist/chunks/cli-0.7.0-24z25c8v.mjs +2 -0
  70. package/dist/chunks/cli-0.7.0-252v8s5n.mjs +20 -0
  71. package/dist/chunks/cli-0.7.0-29zphpz9.mjs +2 -0
  72. package/dist/chunks/cli-0.7.0-2cdwx892.mjs +3 -0
  73. package/dist/chunks/cli-0.7.0-2etvr47t.mjs +24 -0
  74. package/dist/chunks/cli-0.7.0-2nytysyy.mjs +2 -0
  75. package/dist/chunks/cli-0.7.0-383nrwhr.mjs +18 -0
  76. package/dist/chunks/cli-0.7.0-3fnqxks0.mjs +5 -0
  77. package/dist/chunks/cli-0.7.0-3knzsvn6.mjs +2 -0
  78. package/dist/chunks/cli-0.7.0-3n9nagt9.mjs +2 -0
  79. package/dist/chunks/cli-0.7.0-3stm3k7p.mjs +12 -0
  80. package/dist/chunks/cli-0.7.0-3xtc467b.mjs +2 -0
  81. package/dist/chunks/cli-0.7.0-48ycf0c3.mjs +2 -0
  82. package/dist/chunks/cli-0.7.0-48yfvx4w.mjs +2 -0
  83. package/dist/chunks/cli-0.7.0-49k0drxj.mjs +2 -0
  84. package/dist/chunks/cli-0.7.0-4d58csqr.mjs +2 -0
  85. package/dist/chunks/cli-0.7.0-4s9f320h.mjs +2 -0
  86. package/dist/chunks/cli-0.7.0-4t41vxc0.mjs +2 -0
  87. package/dist/chunks/cli-0.7.0-4z8583dp.mjs +2 -0
  88. package/dist/chunks/cli-0.7.0-4z9nwzzv.mjs +2 -0
  89. package/dist/chunks/cli-0.7.0-4zvtjdd8.mjs +2 -0
  90. package/dist/chunks/cli-0.7.0-5df67dbk.mjs +2 -0
  91. package/dist/chunks/cli-0.7.0-5fx679he.mjs +2 -0
  92. package/dist/chunks/cli-0.7.0-5ktz31fq.mjs +67 -0
  93. package/dist/chunks/cli-0.7.0-5yvefnpr.mjs +3 -0
  94. package/dist/chunks/cli-0.7.0-68mgyfr7.mjs +2 -0
  95. package/dist/chunks/cli-0.7.0-6v89j1h0.mjs +2 -0
  96. package/dist/chunks/cli-0.7.0-747esby6.mjs +2 -0
  97. package/dist/chunks/cli-0.7.0-7c24mbsm.mjs +2 -0
  98. package/dist/chunks/cli-0.7.0-7g132rdj.mjs +5420 -0
  99. package/dist/chunks/cli-0.7.0-83nm3wtf.mjs +2 -0
  100. package/dist/chunks/cli-0.7.0-89798mg3.mjs +2 -0
  101. package/dist/chunks/cli-0.7.0-8begebnr.mjs +3 -0
  102. package/dist/chunks/cli-0.7.0-8p56ked8.mjs +2 -0
  103. package/dist/chunks/cli-0.7.0-8qwe028y.mjs +2 -0
  104. package/dist/chunks/cli-0.7.0-9jzkqcfv.mjs +16 -0
  105. package/dist/chunks/cli-0.7.0-9mk6sjcz.mjs +4 -0
  106. package/dist/chunks/cli-0.7.0-9p8vefz6.mjs +18 -0
  107. package/dist/chunks/cli-0.7.0-a088q8ep.mjs +2 -0
  108. package/dist/chunks/cli-0.7.0-a0dt04a7.mjs +2 -0
  109. package/dist/chunks/cli-0.7.0-a7rry8ha.mjs +2 -0
  110. package/dist/chunks/cli-0.7.0-ad4z1hfv.mjs +50 -0
  111. package/dist/chunks/cli-0.7.0-aewz8nz4.mjs +2 -0
  112. package/dist/chunks/cli-0.7.0-apkk9390.mjs +3 -0
  113. package/dist/chunks/cli-0.7.0-asw5nd1q.mjs +2 -0
  114. package/dist/chunks/cli-0.7.0-avczxk44.mjs +2 -0
  115. package/dist/chunks/cli-0.7.0-avw5kb07.mjs +2 -0
  116. package/dist/chunks/cli-0.7.0-ba1xb8x3.mjs +4 -0
  117. package/dist/chunks/cli-0.7.0-bacjkqga.mjs +2 -0
  118. package/dist/chunks/cli-0.7.0-bn0k1nzk.mjs +2 -0
  119. package/dist/chunks/cli-0.7.0-cb16hgkh.mjs +2 -0
  120. package/dist/chunks/cli-0.7.0-cjxpqpns.mjs +3 -0
  121. package/dist/chunks/cli-0.7.0-ct2kfpct.mjs +2 -0
  122. package/dist/chunks/cli-0.7.0-cwxeffcg.mjs +2 -0
  123. package/dist/chunks/cli-0.7.0-d56bajvn.mjs +2 -0
  124. package/dist/chunks/cli-0.7.0-d5bt2ahd.mjs +2 -0
  125. package/dist/chunks/cli-0.7.0-d6h4eqtj.mjs +2 -0
  126. package/dist/chunks/cli-0.7.0-d8vr3j93.mjs +2 -0
  127. package/dist/chunks/cli-0.7.0-dem9bmt6.mjs +2 -0
  128. package/dist/chunks/cli-0.7.0-dpaewdhn.mjs +2 -0
  129. package/dist/chunks/cli-0.7.0-dszmq0g3.mjs +2 -0
  130. package/dist/chunks/cli-0.7.0-dtxyc2mt.mjs +2 -0
  131. package/dist/chunks/cli-0.7.0-dxnyr5rv.mjs +2 -0
  132. package/dist/chunks/cli-0.7.0-dyhamqem.mjs +2 -0
  133. package/dist/chunks/cli-0.7.0-e1esnrzt.mjs +42 -0
  134. package/dist/chunks/cli-0.7.0-e1mycvjk.mjs +2 -0
  135. package/dist/chunks/cli-0.7.0-e39zcyhp.mjs +4 -0
  136. package/dist/chunks/cli-0.7.0-e6mves6r.mjs +2 -0
  137. package/dist/chunks/cli-0.7.0-eayr3nfv.mjs +2 -0
  138. package/dist/chunks/cli-0.7.0-ecwta6mh.mjs +2 -0
  139. package/dist/chunks/cli-0.7.0-eddwmcdn.mjs +2 -0
  140. package/dist/chunks/cli-0.7.0-es6y6s82.mjs +12 -0
  141. package/dist/chunks/cli-0.7.0-ewbn59cm.mjs +2 -0
  142. package/dist/chunks/cli-0.7.0-ewcemx0m.mjs +2 -0
  143. package/dist/chunks/cli-0.7.0-f62gcsfa.mjs +2 -0
  144. package/dist/chunks/cli-0.7.0-f7mqc27p.mjs +6 -0
  145. package/dist/chunks/cli-0.7.0-ffy8few4.mjs +3 -0
  146. package/dist/chunks/cli-0.7.0-ft5gef81.mjs +2 -0
  147. package/dist/chunks/cli-0.7.0-ftjagwyg.mjs +2 -0
  148. package/dist/chunks/cli-0.7.0-fxv77y2t.mjs +12 -0
  149. package/dist/chunks/cli-0.7.0-g2ekvm09.mjs +6 -0
  150. package/dist/chunks/cli-0.7.0-g46gs4dx.mjs +2 -0
  151. package/dist/chunks/cli-0.7.0-g5qxznar.mjs +2 -0
  152. package/dist/chunks/cli-0.7.0-gafgf0er.mjs +2 -0
  153. package/dist/chunks/cli-0.7.0-gkssrwr6.mjs +34 -0
  154. package/dist/chunks/cli-0.7.0-h6kfhzzd.mjs +193 -0
  155. package/dist/chunks/cli-0.7.0-hmjg8yfx.mjs +2 -0
  156. package/dist/chunks/cli-0.7.0-hrtdae85.mjs +6 -0
  157. package/dist/chunks/cli-0.7.0-hxf1ckjt.mjs +12 -0
  158. package/dist/chunks/cli-0.7.0-hxph4t80.mjs +2 -0
  159. package/dist/chunks/cli-0.7.0-j4jzhywr.mjs +3 -0
  160. package/dist/chunks/cli-0.7.0-je29e78f.mjs +2 -0
  161. package/dist/chunks/cli-0.7.0-jmsrj8j2.mjs +4 -0
  162. package/dist/chunks/cli-0.7.0-jvkyhn8x.mjs +2 -0
  163. package/dist/chunks/cli-0.7.0-k3qqc7gx.mjs +2 -0
  164. package/dist/chunks/cli-0.7.0-k7w5n7pe.mjs +2 -0
  165. package/dist/chunks/cli-0.7.0-kkpf8bhn.mjs +2 -0
  166. package/dist/chunks/cli-0.7.0-kngw06pw.mjs +4 -0
  167. package/dist/chunks/cli-0.7.0-kp7f47zq.mjs +2 -0
  168. package/dist/chunks/cli-0.7.0-kpfe5dkw.mjs +2 -0
  169. package/dist/chunks/cli-0.7.0-kr6jdp53.mjs +133 -0
  170. package/dist/chunks/cli-0.7.0-kw0wp8vs.mjs +2 -0
  171. package/dist/chunks/cli-0.7.0-kw554ntj.mjs +3 -0
  172. package/dist/chunks/cli-0.7.0-m07xma4d.mjs +2 -0
  173. package/dist/chunks/cli-0.7.0-m6ysmj08.mjs +39 -0
  174. package/dist/chunks/cli-0.7.0-mea2neea.mjs +133 -0
  175. package/dist/chunks/cli-0.7.0-mn3gdwp2.mjs +17 -0
  176. package/dist/chunks/cli-0.7.0-mnbdk339.mjs +3 -0
  177. package/dist/chunks/cli-0.7.0-n0s94kev.mjs +2 -0
  178. package/dist/chunks/cli-0.7.0-n0twknfk.mjs +2 -0
  179. package/dist/chunks/cli-0.7.0-na9s209m.mjs +2 -0
  180. package/dist/chunks/cli-0.7.0-p96azep2.mjs +7 -0
  181. package/dist/chunks/cli-0.7.0-p9c7eask.mjs +2 -0
  182. package/dist/chunks/cli-0.7.0-p9q4x3f1.mjs +59 -0
  183. package/dist/chunks/cli-0.7.0-pbs0cx53.mjs +2 -0
  184. package/dist/chunks/cli-0.7.0-petmjdha.mjs +2 -0
  185. package/dist/chunks/cli-0.7.0-pf2fr5cc.mjs +4 -0
  186. package/dist/chunks/cli-0.7.0-pfcabga3.mjs +2 -0
  187. package/dist/chunks/cli-0.7.0-ppqzq0zp.mjs +2 -0
  188. package/dist/chunks/cli-0.7.0-q5sbn5b2.mjs +4 -0
  189. package/dist/chunks/cli-0.7.0-q70ex7jy.mjs +2 -0
  190. package/dist/chunks/cli-0.7.0-qeg8v19s.mjs +2 -0
  191. package/dist/chunks/cli-0.7.0-qftredzy.mjs +2 -0
  192. package/dist/chunks/cli-0.7.0-qmckaxpm.mjs +2 -0
  193. package/dist/chunks/cli-0.7.0-r8g195r8.mjs +15 -0
  194. package/dist/chunks/cli-0.7.0-rmprwgax.mjs +2 -0
  195. package/dist/chunks/cli-0.7.0-rnahtcw9.mjs +5 -0
  196. package/dist/chunks/cli-0.7.0-rxhbb3ca.mjs +2 -0
  197. package/dist/chunks/cli-0.7.0-s0b5jjrj.mjs +2 -0
  198. package/dist/chunks/cli-0.7.0-s14kw5d6.mjs +2 -0
  199. package/dist/chunks/cli-0.7.0-s4at7t0q.mjs +2 -0
  200. package/dist/chunks/cli-0.7.0-s8rt9fpg.mjs +2 -0
  201. package/dist/chunks/cli-0.7.0-s9hgep30.mjs +3 -0
  202. package/dist/chunks/cli-0.7.0-sbwhas5a.mjs +18 -0
  203. package/dist/chunks/cli-0.7.0-tcxmyk2w.mjs +2 -0
  204. package/dist/chunks/cli-0.7.0-tjpp46xm.mjs +2 -0
  205. package/dist/chunks/cli-0.7.0-tvwks6zm.mjs +2 -0
  206. package/dist/chunks/cli-0.7.0-twxrndmz.mjs +4 -0
  207. package/dist/chunks/cli-0.7.0-v6ceqq5f.mjs +2 -0
  208. package/dist/chunks/cli-0.7.0-v7hc34ad.mjs +2 -0
  209. package/dist/chunks/cli-0.7.0-v92q5ffm.mjs +2 -0
  210. package/dist/chunks/cli-0.7.0-vf7bbn80.mjs +5 -0
  211. package/dist/chunks/cli-0.7.0-vfzbn5qv.mjs +2 -0
  212. package/dist/chunks/cli-0.7.0-vp89ypch.mjs +24 -0
  213. package/dist/chunks/cli-0.7.0-vvb9pc7x.mjs +3 -0
  214. package/dist/chunks/cli-0.7.0-vzpjsnyh.mjs +2 -0
  215. package/dist/chunks/cli-0.7.0-vzvrhx5c.mjs +2 -0
  216. package/dist/chunks/cli-0.7.0-w0nw2kkk.mjs +17 -0
  217. package/dist/chunks/cli-0.7.0-wb82h4c2.mjs +2 -0
  218. package/dist/chunks/cli-0.7.0-wf8v2b4s.mjs +15 -0
  219. package/dist/chunks/cli-0.7.0-wgy69726.mjs +2 -0
  220. package/dist/chunks/cli-0.7.0-wm0enq59.mjs +2 -0
  221. package/dist/chunks/cli-0.7.0-wntkecma.mjs +2 -0
  222. package/dist/chunks/cli-0.7.0-wspeyepj.mjs +2 -0
  223. package/dist/chunks/cli-0.7.0-wvpty7mm.mjs +2 -0
  224. package/dist/chunks/cli-0.7.0-wxynfqax.mjs +2 -0
  225. package/dist/chunks/cli-0.7.0-wzjrm1a0.mjs +2 -0
  226. package/dist/chunks/cli-0.7.0-x1xdxk52.mjs +2 -0
  227. package/dist/chunks/cli-0.7.0-x2vc8nds.mjs +2 -0
  228. package/dist/chunks/cli-0.7.0-xb864qfd.mjs +2 -0
  229. package/dist/chunks/cli-0.7.0-xfxprc47.mjs +2 -0
  230. package/dist/chunks/cli-0.7.0-xpzg1xfc.mjs +2 -0
  231. package/dist/chunks/cli-0.7.0-xvjaw51n.mjs +15 -0
  232. package/dist/chunks/cli-0.7.0-y003ay15.mjs +2 -0
  233. package/dist/chunks/cli-0.7.0-y6nkrrpn.mjs +2 -0
  234. package/dist/chunks/cli-0.7.0-ybdk9aq6.mjs +21 -0
  235. package/dist/chunks/cli-0.7.0-ybwa4x6g.mjs +2 -0
  236. package/dist/chunks/cli-0.7.0-ycew6bek.mjs +2 -0
  237. package/dist/chunks/cli-0.7.0-ye6sm33j.mjs +2 -0
  238. package/dist/chunks/cli-0.7.0-ytqbgtvc.mjs +2 -0
  239. package/dist/chunks/cli-0.7.0-yts7snkm.mjs +45 -0
  240. package/dist/chunks/cli-0.7.0-yw6r7fw4.mjs +58 -0
  241. package/dist/chunks/cli-0.7.0-z15a5zq0.mjs +2 -0
  242. package/dist/chunks/cli-0.7.0-z7sydqy8.mjs +2 -0
  243. package/dist/chunks/cli-0.7.0-z93va7tf.mjs +2 -0
  244. package/dist/chunks/cli-0.7.0-zd1q68sv.mjs +2 -0
  245. package/dist/chunks/cli-0.7.0-zdbaf370.mjs +10 -0
  246. package/dist/chunks/cli-0.7.0-zf3jaceq.mjs +2 -0
  247. package/dist/chunks/cli-0.7.0-zh93d2ez.mjs +2 -0
  248. package/dist/chunks/cli-0.7.0-zjfpqpke.mjs +1 -0
  249. package/dist/chunks/cli-0.7.0-zmfejrs2.mjs +25 -0
  250. package/dist/chunks/cli-0.7.0-zn444tdk.mjs +2 -0
  251. package/dist/chunks/cli-0.7.0-zqv149an.mjs +6 -0
  252. package/dist/chunks/cli-0.7.0-zscdr61q.mjs +2 -0
  253. package/dist/chunks/cli-0.7.0-ztc21898.mjs +2 -0
  254. package/dist/chunks/client-0.7.0-mxq1x2gd.mjs +1 -0
  255. package/dist/chunks/color-0.7.0-q8kx1h5f.mjs +1 -0
  256. package/dist/chunks/compact-0.7.0-wej8t29a.mjs +3 -0
  257. package/dist/chunks/config-0.7.0-1vqyzdss.mjs +1 -0
  258. package/dist/chunks/config-0.7.0-29b2exhr.mjs +1 -0
  259. package/dist/chunks/constants-0.7.0-cwe25jjg.mjs +1 -0
  260. package/dist/chunks/context-0.7.0-wzkh0ek3.mjs +1 -0
  261. package/dist/chunks/context-noninteractive-0.7.0-3knrv7yy.mjs +1 -0
  262. package/dist/chunks/conversation-0.7.0-5gwkat1n.mjs +1 -0
  263. package/dist/chunks/copilotHeaders-0.7.0-k7qbvwa0.mjs +1 -0
  264. package/dist/chunks/copy-0.7.0-g9547w2e.mjs +9 -0
  265. package/dist/chunks/cost-0.7.0-g07zzraf.mjs +1 -0
  266. package/dist/chunks/createSSHSession-0.7.0-x69ccesr.mjs +1 -0
  267. package/dist/chunks/createSession-0.7.0-eythrhrd.mjs +1 -0
  268. package/dist/chunks/debug-0.7.0-grf8etmz.mjs +1 -0
  269. package/dist/chunks/defaultActionDeps-0.7.0-3msvjhye.mjs +1367 -0
  270. package/dist/chunks/desktop-0.7.0-qv2bt4fq.mjs +1 -0
  271. package/dist/chunks/detectRepository-0.7.0-8kzz057x.mjs +1 -0
  272. package/dist/chunks/detection-0.7.0-d8z59p8p.mjs +1 -0
  273. package/dist/chunks/diff-0.7.0-wx4fgtnt.mjs +1 -0
  274. package/dist/chunks/doctor-0.7.0-dzm456q1.mjs +1 -0
  275. package/dist/chunks/doctorDiagnostic-0.7.0-jysj36mx.mjs +1 -0
  276. package/dist/chunks/earlyInput-0.7.0-31tzwhjp.mjs +1 -0
  277. package/dist/chunks/effort-0.7.0-w94qsmp1.mjs +10 -0
  278. package/dist/chunks/envLessBridgeConfig-0.7.0-2vzfvw7j.mjs +1 -0
  279. package/dist/chunks/envUtils-0.7.0-wak5qkkv.mjs +1 -0
  280. package/dist/chunks/environmentSelection-0.7.0-xe6h6x4v.mjs +1 -0
  281. package/dist/chunks/environments-0.7.0-cdxqsbrp.mjs +1 -0
  282. package/dist/chunks/errors-0.7.0-hrt3tamp.mjs +1 -0
  283. package/dist/chunks/exampleCommands-0.7.0-v49vtt40.mjs +1 -0
  284. package/dist/chunks/exit-0.7.0-xpc13d1z.mjs +1 -0
  285. package/dist/chunks/explorer-0.7.0-yy3jawy1.mjs +1 -0
  286. package/dist/chunks/export-0.7.0-689scwyv.mjs +2 -0
  287. package/dist/chunks/extra-usage-0.7.0-675a7x8f.mjs +1 -0
  288. package/dist/chunks/extra-usage-noninteractive-0.7.0-2h542mq6.mjs +1 -0
  289. package/dist/chunks/fast-0.7.0-dwxy8xan.mjs +1 -0
  290. package/dist/chunks/feedback-0.7.0-kms98grz.mjs +14 -0
  291. package/dist/chunks/firstPartyEventLogger-0.7.0-5gy0hbjg.mjs +1 -0
  292. package/dist/chunks/git-0.7.0-bsn50mym.mjs +1 -0
  293. package/dist/chunks/githubModelsCredentials-0.7.0-f9n1jk8g.mjs +1 -0
  294. package/dist/chunks/goal-0.7.0-ben8pbys.mjs +4 -0
  295. package/dist/chunks/grove-0.7.0-5vca5g43.mjs +1 -0
  296. package/dist/chunks/growthbook-0.7.0-ged09pjv.mjs +1 -0
  297. package/dist/chunks/headless-0.7.0-6gxn4ya0.mjs +2 -0
  298. package/dist/chunks/heapdump-0.7.0-jbnb1enq.mjs +6 -0
  299. package/dist/chunks/help-0.7.0-s11djcbq.mjs +1 -0
  300. package/dist/chunks/hookChains-0.7.0-q104805z.mjs +3 -0
  301. package/dist/chunks/hooks-0.7.0-3tzcnyt1.mjs +1 -0
  302. package/dist/chunks/hooks-0.7.0-m0qzy27a.mjs +79 -0
  303. package/dist/chunks/ide-0.7.0-rqh7pczf.mjs +3 -0
  304. package/dist/chunks/image-processor-napi-0.7.0-t874vmrb.mjs +1 -0
  305. package/dist/chunks/inboundAttachments-0.7.0-9h4k1v8p.mjs +1 -0
  306. package/dist/chunks/index-0.7.0-0pb4fykd.mjs +1 -0
  307. package/dist/chunks/index-0.7.0-339ebzg3.mjs +1 -0
  308. package/dist/chunks/index-0.7.0-3qc9y7vs.mjs +1 -0
  309. package/dist/chunks/index-0.7.0-8xaka5b5.mjs +1 -0
  310. package/dist/chunks/index-0.7.0-aghbrz36.mjs +1 -0
  311. package/dist/chunks/index-0.7.0-asx0vcnp.mjs +1 -0
  312. package/dist/chunks/index-0.7.0-at8f760s.mjs +2 -0
  313. package/dist/chunks/index-0.7.0-aw15r8m5.mjs +1 -0
  314. package/dist/chunks/index-0.7.0-b95077ct.mjs +1 -0
  315. package/dist/chunks/index-0.7.0-etmdkstm.mjs +1 -0
  316. package/dist/chunks/index-0.7.0-fhnz63fp.mjs +1 -0
  317. package/dist/chunks/index-0.7.0-fx8935ev.mjs +5 -0
  318. package/dist/chunks/index-0.7.0-hwyk7tea.mjs +30 -0
  319. package/dist/chunks/index-0.7.0-nb6m1jch.mjs +1 -0
  320. package/dist/chunks/index-0.7.0-p4n8wp5y.mjs +9 -0
  321. package/dist/chunks/index-0.7.0-rbb0bwpy.mjs +1 -0
  322. package/dist/chunks/index-0.7.0-rq05kg71.mjs +17 -0
  323. package/dist/chunks/index-0.7.0-vk7vxjae.mjs +1 -0
  324. package/dist/chunks/index-0.7.0-wjsr1d6k.mjs +2 -0
  325. package/dist/chunks/index-0.7.0-x03pfhyx.mjs +9 -0
  326. package/dist/chunks/index-0.7.0-y22a1z29.mjs +1 -0
  327. package/dist/chunks/index-0.7.0-yx3335f1.mjs +1 -0
  328. package/dist/chunks/index-0.7.0-zsw19y1x.mjs +1 -0
  329. package/dist/chunks/init-0.7.0-f0taef1q.mjs +1 -0
  330. package/dist/chunks/initReplBridge-0.7.0-wcvxy8w8.mjs +1 -0
  331. package/dist/chunks/ink-0.7.0-xpha78d8.mjs +1 -0
  332. package/dist/chunks/insights-0.7.0-x0rwvydg.mjs +870 -0
  333. package/dist/chunks/install-0.7.0-ncp2pec7.mjs +1 -0
  334. package/dist/chunks/install-github-app-0.7.0-trt9558z.mjs +149 -0
  335. package/dist/chunks/install-slack-app-0.7.0-kjz97cdh.mjs +1 -0
  336. package/dist/chunks/instrumentation-0.7.0-bey09njh.mjs +1 -0
  337. package/dist/chunks/interactiveHelpers-0.7.0-1qs1kree.mjs +1 -0
  338. package/dist/chunks/keybindings-0.7.0-ekf19qhh.mjs +2 -0
  339. package/dist/chunks/knowledge-0.7.0-adck5x26.mjs +2 -0
  340. package/dist/chunks/latestVersionCache-0.7.0-ark5pmnp.mjs +1 -0
  341. package/dist/chunks/loadAgentsDir-0.7.0-5ae7wa3t.mjs +1 -0
  342. package/dist/chunks/loadPluginHooks-0.7.0-vhwhvb6f.mjs +1 -0
  343. package/dist/chunks/loadPluginHooks-0.7.0-xb4qdrg0.mjs +1 -0
  344. package/dist/chunks/log-0.7.0-6mtk9ch7.mjs +1 -0
  345. package/dist/chunks/main-0.7.0-v0y4hrdm.mjs +1 -0
  346. package/dist/chunks/managedEnv-0.7.0-n64hpsst.mjs +1 -0
  347. package/dist/chunks/mcp-0.7.0-2j3bkwz5.mjs +1 -0
  348. package/dist/chunks/mcp-0.7.0-rqwvyycg.mjs +4 -0
  349. package/dist/chunks/mcp-0.7.0-t0pqt6hy.mjs +17 -0
  350. package/dist/chunks/mcpb-0.7.0-wmg0861b.mjs +1 -0
  351. package/dist/chunks/memory-0.7.0-gfe3p8h2.mjs +3 -0
  352. package/dist/chunks/model-0.7.0-anb8mgtp.mjs +2 -0
  353. package/dist/chunks/model-0.7.0-jxz0n7g1.mjs +1 -0
  354. package/dist/chunks/node-0.7.0-4sagcnk2.mjs +12 -0
  355. package/dist/chunks/oauth-0.7.0-n3tj8amn.mjs +1 -0
  356. package/dist/chunks/openaiShim-0.7.0-9bq5572t.mjs +14 -0
  357. package/dist/chunks/output-style-0.7.0-wmxwqrx6.mjs +1 -0
  358. package/dist/chunks/package-GCDC7LJR-0.7.0-fke68t3z.mjs +1 -0
  359. package/dist/chunks/parseConnectUrl-0.7.0-p5aq0xy4.mjs +1 -0
  360. package/dist/chunks/parser-0.7.0-a4qhvrn9.mjs +1 -0
  361. package/dist/chunks/passes-0.7.0-4wxjh63r.mjs +1 -0
  362. package/dist/chunks/permissions-0.7.0-cth9pb19.mjs +3 -0
  363. package/dist/chunks/permissions-0.7.0-nxre3gew.mjs +1 -0
  364. package/dist/chunks/plan-0.7.0-0t3hxxwf.mjs +1 -0
  365. package/dist/chunks/plist-0.7.0-ptbkp7b8.mjs +1 -0
  366. package/dist/chunks/plugin-0.7.0-4zewdh7s.mjs +29 -0
  367. package/dist/chunks/pluginStartupCheck-0.7.0-3zvpdbjz.mjs +1 -0
  368. package/dist/chunks/plugins-0.7.0-dyrrfzzb.mjs +9 -0
  369. package/dist/chunks/preActionHook-0.7.0-agzbsqyv.mjs +2 -0
  370. package/dist/chunks/print-0.7.0-m81z10rw.mjs +57 -0
  371. package/dist/chunks/privacy-settings-0.7.0-qvrhcvbv.mjs +1 -0
  372. package/dist/chunks/process-0.7.0-4rnq2g80.mjs +1 -0
  373. package/dist/chunks/processBashCommand-0.7.0-htmch7xm.mjs +1 -0
  374. package/dist/chunks/processSlashCommand-0.7.0-gj7mbd0a.mjs +9 -0
  375. package/dist/chunks/prompt-0.7.0-2d4qsrq9.mjs +1 -0
  376. package/dist/chunks/prompt-0.7.0-rkefqrwh.mjs +1 -0
  377. package/dist/chunks/prompts-0.7.0-ty3k4n75.mjs +1 -0
  378. package/dist/chunks/protocolHandler-0.7.0-aqsa4ph2.mjs +13 -0
  379. package/dist/chunks/provider-0.7.0-yw5h323y.mjs +2 -0
  380. package/dist/chunks/providerProfiles-0.7.0-vdm0m870.mjs +1 -0
  381. package/dist/chunks/providerValidation-0.7.0-rtzpgzra.mjs +6 -0
  382. package/dist/chunks/rate-limit-options-0.7.0-dqtjdpft.mjs +1 -0
  383. package/dist/chunks/registerSubcommands-0.7.0-r5wmbkz9.mjs +34 -0
  384. package/dist/chunks/registry-0.7.0-jjaxz6ve.mjs +1 -0
  385. package/dist/chunks/release-notes-0.7.0-h6me5mww.mjs +5 -0
  386. package/dist/chunks/reload-plugins-0.7.0-vtr0cnwe.mjs +2 -0
  387. package/dist/chunks/remote-env-0.7.0-h013vass.mjs +1 -0
  388. package/dist/chunks/remoteBridgeCore-0.7.0-fmh34c6f.mjs +1 -0
  389. package/dist/chunks/remoteSession-0.7.0-40yqbh78.mjs +1 -0
  390. package/dist/chunks/rename-0.7.0-wqs6kjb7.mjs +1 -0
  391. package/dist/chunks/replBridgeHandle-0.7.0-d192ahyh.mjs +1 -0
  392. package/dist/chunks/replLauncher-0.7.0-gtmcyxgm.mjs +1 -0
  393. package/dist/chunks/resume-0.7.0-6cy3j2e8.mjs +2 -0
  394. package/dist/chunks/rewind-0.7.0-kepxqnvs.mjs +1 -0
  395. package/dist/chunks/rootOptions-0.7.0-00ekm71j.mjs +1 -0
  396. package/dist/chunks/sandbox-adapter-0.7.0-env8r2gg.mjs +1 -0
  397. package/dist/chunks/sandbox-toggle-0.7.0-wk296sbw.mjs +1 -0
  398. package/dist/chunks/session-0.7.0-qbmq7k37.mjs +2 -0
  399. package/dist/chunks/sessionDiscovery-0.7.0-xf03hmpk.mjs +1 -0
  400. package/dist/chunks/sessionFileAccessHooks-0.7.0-gw8qw3zp.mjs +1 -0
  401. package/dist/chunks/sessionStorage-0.7.0-vcyz3dw7.mjs +1 -0
  402. package/dist/chunks/settings-0.7.0-3k9dr8ys.mjs +1 -0
  403. package/dist/chunks/setup-0.7.0-9ync2tk7.mjs +5 -0
  404. package/dist/chunks/sinks-0.7.0-g1bwkwh0.mjs +1 -0
  405. package/dist/chunks/skills-0.7.0-hjdx42cr.mjs +1 -0
  406. package/dist/chunks/startupProfiler-0.7.0-b32wtvbf.mjs +1 -0
  407. package/dist/chunks/startupUpdateCheck-0.7.0-m55han8a.mjs +1 -0
  408. package/dist/chunks/state-0.7.0-g9nbt1zn.mjs +1 -0
  409. package/dist/chunks/stats-0.7.0-429ntw0k.mjs +6 -0
  410. package/dist/chunks/status-0.7.0-h19n5a31.mjs +1 -0
  411. package/dist/chunks/stickers-0.7.0-q34hs61c.mjs +1 -0
  412. package/dist/chunks/subprocessEnv-0.7.0-gz4xjdce.mjs +1 -0
  413. package/dist/chunks/tasks-0.7.0-e2rrgr6x.mjs +1 -0
  414. package/dist/chunks/teamHelpers-0.7.0-jss9q0ak.mjs +1 -0
  415. package/dist/chunks/teammateModeSnapshot-0.7.0-c7ekrdae.mjs +1 -0
  416. package/dist/chunks/teleport-0.7.0-n0h6pqs8.mjs +1 -0
  417. package/dist/chunks/terminalSetup-0.7.0-ycw8nd2k.mjs +1 -0
  418. package/dist/chunks/theme-0.7.0-2dzcdk7a.mjs +1 -0
  419. package/dist/chunks/thinkback-0.7.0-9xhfd6ab.mjs +1 -0
  420. package/dist/chunks/thinkback-play-0.7.0-yqj7b8tt.mjs +1 -0
  421. package/dist/chunks/toolPool-0.7.0-xes3fby4.mjs +1 -0
  422. package/dist/chunks/toolSearch-0.7.0-wkaae53k.mjs +1 -0
  423. package/dist/chunks/tools-0.7.0-7qjq03x9.mjs +1 -0
  424. package/dist/chunks/trustedDevice-0.7.0-0jcs8sag.mjs +1 -0
  425. package/dist/chunks/turndown.cjs-0.7.0-evvr9k3e.mjs +69 -0
  426. package/dist/chunks/types-0.7.0-7t30qdm7.mjs +1 -0
  427. package/dist/chunks/ultrareviewCommand-0.7.0-mt2gyqrs.mjs +4 -0
  428. package/dist/chunks/update-0.7.0-d79xsjyx.mjs +86 -0
  429. package/dist/chunks/upgrade-0.7.0-29j99fm4.mjs +1 -0
  430. package/dist/chunks/upload-0.7.0-c88xwfr6.mjs +7 -0
  431. package/dist/chunks/upstreamproxy-0.7.0-qha2t9zm.mjs +14 -0
  432. package/dist/chunks/url-handler-napi-0.7.0-d2khwe8w.mjs +1 -0
  433. package/dist/chunks/usage-0.7.0-fz211dwp.mjs +1 -0
  434. package/dist/chunks/util-0.7.0-kre9h9qa.mjs +1 -0
  435. package/dist/chunks/utils-0.7.0-vw4eq452.mjs +1 -0
  436. package/dist/chunks/vim-0.7.0-2tzpxf7d.mjs +1 -0
  437. package/dist/chunks/watcher-0.7.0-dbb0csvt.mjs +1 -0
  438. package/dist/chunks/wiki-0.7.0-etkhyz2p.mjs +132 -0
  439. package/dist/chunks/worktree-0.7.0-ntn0xdnq.mjs +1 -0
  440. package/dist/chunks/worktreeModeEnabled-0.7.0-h5ak3bk5.mjs +1 -0
  441. package/dist/chunks/wrapper-0.7.0-zvn0r75t.mjs +7 -0
  442. package/dist/claudin-vscode.vsix +0 -0
  443. package/dist/cli.mjs +2 -2
  444. package/package.json +14 -14
  445. package/dist/chunks/AgentTool-0.6.13-372t6jvm.mjs +0 -1
  446. package/dist/chunks/App-0.6.13-qvfyfba9.mjs +0 -1
  447. package/dist/chunks/ApproveApiKey-0.6.13-6nmfyyev.mjs +0 -1
  448. package/dist/chunks/AssistantSessionChooser-0.6.13-b6yfhres.mjs +0 -1
  449. package/dist/chunks/AutoModeOptInDialog-0.6.13-dyqtw95c.mjs +0 -1
  450. package/dist/chunks/BypassPermissionsModeDialog-0.6.13-5pgva0rj.mjs +0 -1
  451. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.13-waw1tn55.mjs +0 -1
  452. package/dist/chunks/ConsoleOAuthFlow-0.6.13-hjwa1fbn.mjs +0 -1
  453. package/dist/chunks/DiffDialog-0.6.13-dk52swdy.mjs +0 -7
  454. package/dist/chunks/Doctor-0.6.13-1a58bmer.mjs +0 -1
  455. package/dist/chunks/ExplorerDialog-0.6.13-2jsr1kdp.mjs +0 -6
  456. package/dist/chunks/Grove-0.6.13-ndwmcy2m.mjs +0 -1
  457. package/dist/chunks/ITermBackend-0.6.13-nf00ba9t.mjs +0 -1
  458. package/dist/chunks/InvalidConfigDialog-0.6.13-5tjcywmj.mjs +0 -1
  459. package/dist/chunks/InvalidSettingsDialog-0.6.13-hfvttszy.mjs +0 -1
  460. package/dist/chunks/MigrationDialog-0.6.13-8kny4cnv.mjs +0 -1
  461. package/dist/chunks/Onboarding-0.6.13-kq8ksp1e.mjs +0 -1
  462. package/dist/chunks/ProviderManager-0.6.13-qk3hqkes.mjs +0 -1
  463. package/dist/chunks/REPL-0.6.13-61en5qve.mjs +0 -1
  464. package/dist/chunks/ResumeConversation-0.6.13-3fqxexjm.mjs +0 -1
  465. package/dist/chunks/SnapshotUpdateDialog-0.6.13-62cd6tth.mjs +0 -1
  466. package/dist/chunks/TeleportProgress-0.6.13-15xb363h.mjs +0 -1
  467. package/dist/chunks/TeleportRepoMismatchDialog-0.6.13-dsedgexe.mjs +0 -1
  468. package/dist/chunks/TeleportResumeWrapper-0.6.13-9j8hn55r.mjs +0 -1
  469. package/dist/chunks/TmuxBackend-0.6.13-8vwnn7q5.mjs +0 -9
  470. package/dist/chunks/ToolSearchTool-0.6.13-zh1xxj19.mjs +0 -1
  471. package/dist/chunks/TrustDialog-0.6.13-bxhrfq4g.mjs +0 -1
  472. package/dist/chunks/activeProvider-0.6.13-czzs1epn.mjs +0 -1
  473. package/dist/chunks/add-dir-0.6.13-j5n5k274.mjs +0 -1
  474. package/dist/chunks/agents-0.6.13-0m0b4n5a.mjs +0 -3
  475. package/dist/chunks/agents-0.6.13-v7mba2z1.mjs +0 -110
  476. package/dist/chunks/api-0.6.13-1s3mg09p.mjs +0 -1
  477. package/dist/chunks/asciicast-0.6.13-3mbwg05w.mjs +0 -1
  478. package/dist/chunks/assistant-0.6.13-bg17bbaf.mjs +0 -1
  479. package/dist/chunks/auth-0.6.13-586trvnj.mjs +0 -1
  480. package/dist/chunks/auth-0.6.13-jkzs3jr4.mjs +0 -1
  481. package/dist/chunks/autoMode-0.6.13-9sxgpw8z.mjs +0 -48
  482. package/dist/chunks/autoUpdater-0.6.13-0rtsfmyq.mjs +0 -1
  483. package/dist/chunks/backgroundHousekeeping-0.6.13-dfn3gpk2.mjs +0 -1
  484. package/dist/chunks/branch-0.6.13-nncg27cq.mjs +0 -4
  485. package/dist/chunks/bridge-0.6.13-p1vtbdeq.mjs +0 -2
  486. package/dist/chunks/bridgeConfig-0.6.13-99p1h4gg.mjs +0 -1
  487. package/dist/chunks/bridgeEnabled-0.6.13-jxfgwjry.mjs +0 -1
  488. package/dist/chunks/bridgeMain-0.6.13-fthkw7s3.mjs +0 -88
  489. package/dist/chunks/bridgePointer-0.6.13-zs37h6xx.mjs +0 -1
  490. package/dist/chunks/btw-0.6.13-hhztcxbv.mjs +0 -1
  491. package/dist/chunks/buddy-0.6.13-0j9feqm5.mjs +0 -3
  492. package/dist/chunks/cacache-0.6.13-kqpn2432.mjs +0 -1
  493. package/dist/chunks/cache-probe-0.6.13-d98620ds.mjs +0 -21
  494. package/dist/chunks/cacheStats-0.6.13-yktwg0rm.mjs +0 -4
  495. package/dist/chunks/caches-0.6.13-5s0az6ex.mjs +0 -1
  496. package/dist/chunks/claudeDesktop-0.6.13-ecqnvr2j.mjs +0 -1
  497. package/dist/chunks/claudemd-0.6.13-yae0af2s.mjs +0 -1
  498. package/dist/chunks/clear-0.6.13-nqy8a9yn.mjs +0 -1
  499. package/dist/chunks/clearTerminal-0.6.13-72xf6n5m.mjs +0 -1
  500. package/dist/chunks/cli-0.6.13-004msxtb.mjs +0 -2
  501. package/dist/chunks/cli-0.6.13-03nk0m3d.mjs +0 -24
  502. package/dist/chunks/cli-0.6.13-05yxsqtw.mjs +0 -2
  503. package/dist/chunks/cli-0.6.13-0602v59h.mjs +0 -2
  504. package/dist/chunks/cli-0.6.13-0fqa9efa.mjs +0 -2
  505. package/dist/chunks/cli-0.6.13-0k53jyws.mjs +0 -2
  506. package/dist/chunks/cli-0.6.13-0q2ceerc.mjs +0 -2
  507. package/dist/chunks/cli-0.6.13-0xg54q0q.mjs +0 -3
  508. package/dist/chunks/cli-0.6.13-15925v1q.mjs +0 -2
  509. package/dist/chunks/cli-0.6.13-17fmkp6v.mjs +0 -3
  510. package/dist/chunks/cli-0.6.13-1ax2v1qb.mjs +0 -24
  511. package/dist/chunks/cli-0.6.13-1hj4de9z.mjs +0 -18
  512. package/dist/chunks/cli-0.6.13-1jhzkjnr.mjs +0 -2
  513. package/dist/chunks/cli-0.6.13-1pb6yp4f.mjs +0 -2
  514. package/dist/chunks/cli-0.6.13-27ey3345.mjs +0 -17
  515. package/dist/chunks/cli-0.6.13-2999v1f0.mjs +0 -5
  516. package/dist/chunks/cli-0.6.13-2d7gmnka.mjs +0 -2
  517. package/dist/chunks/cli-0.6.13-2k50jqzf.mjs +0 -2
  518. package/dist/chunks/cli-0.6.13-2s33ahe4.mjs +0 -5420
  519. package/dist/chunks/cli-0.6.13-31zhsxsz.mjs +0 -2
  520. package/dist/chunks/cli-0.6.13-35rszksn.mjs +0 -2
  521. package/dist/chunks/cli-0.6.13-3812a7q8.mjs +0 -34
  522. package/dist/chunks/cli-0.6.13-3c8w16xp.mjs +0 -3
  523. package/dist/chunks/cli-0.6.13-3w1r3c0v.mjs +0 -2
  524. package/dist/chunks/cli-0.6.13-45x35nyh.mjs +0 -2
  525. package/dist/chunks/cli-0.6.13-46hqxeb7.mjs +0 -2
  526. package/dist/chunks/cli-0.6.13-4hknb5dd.mjs +0 -2
  527. package/dist/chunks/cli-0.6.13-50wr9g3w.mjs +0 -2
  528. package/dist/chunks/cli-0.6.13-56b3061c.mjs +0 -18
  529. package/dist/chunks/cli-0.6.13-56j5q7d2.mjs +0 -42
  530. package/dist/chunks/cli-0.6.13-5gh7ptbm.mjs +0 -4
  531. package/dist/chunks/cli-0.6.13-5qvssn7h.mjs +0 -2
  532. package/dist/chunks/cli-0.6.13-5t9gd5mv.mjs +0 -2
  533. package/dist/chunks/cli-0.6.13-643zsnv9.mjs +0 -2
  534. package/dist/chunks/cli-0.6.13-667dsr1w.mjs +0 -2
  535. package/dist/chunks/cli-0.6.13-77hs0qtg.mjs +0 -2
  536. package/dist/chunks/cli-0.6.13-79mne5jt.mjs +0 -2
  537. package/dist/chunks/cli-0.6.13-7c9n56f7.mjs +0 -2
  538. package/dist/chunks/cli-0.6.13-7ga8d4j1.mjs +0 -2
  539. package/dist/chunks/cli-0.6.13-7pva2mmr.mjs +0 -3
  540. package/dist/chunks/cli-0.6.13-7vd0kdw5.mjs +0 -2
  541. package/dist/chunks/cli-0.6.13-82datd4w.mjs +0 -2
  542. package/dist/chunks/cli-0.6.13-86pqnjyd.mjs +0 -2
  543. package/dist/chunks/cli-0.6.13-881js45c.mjs +0 -2
  544. package/dist/chunks/cli-0.6.13-8t0ttrk7.mjs +0 -2
  545. package/dist/chunks/cli-0.6.13-8ws8a2xy.mjs +0 -3
  546. package/dist/chunks/cli-0.6.13-949racwr.mjs +0 -7
  547. package/dist/chunks/cli-0.6.13-94nwan0d.mjs +0 -2
  548. package/dist/chunks/cli-0.6.13-97cs7c2r.mjs +0 -2
  549. package/dist/chunks/cli-0.6.13-9h9fp7zs.mjs +0 -2
  550. package/dist/chunks/cli-0.6.13-9wktvaax.mjs +0 -50
  551. package/dist/chunks/cli-0.6.13-ac8nyfp1.mjs +0 -58
  552. package/dist/chunks/cli-0.6.13-aekttw5a.mjs +0 -2
  553. package/dist/chunks/cli-0.6.13-ajc8203j.mjs +0 -2
  554. package/dist/chunks/cli-0.6.13-axsf5w7q.mjs +0 -2
  555. package/dist/chunks/cli-0.6.13-aztg2ca1.mjs +0 -2
  556. package/dist/chunks/cli-0.6.13-b3zncvcq.mjs +0 -16
  557. package/dist/chunks/cli-0.6.13-b55baxv4.mjs +0 -2
  558. package/dist/chunks/cli-0.6.13-bthkgbv5.mjs +0 -2
  559. package/dist/chunks/cli-0.6.13-c3452432.mjs +0 -5
  560. package/dist/chunks/cli-0.6.13-cc118njq.mjs +0 -2
  561. package/dist/chunks/cli-0.6.13-cc2eb8bm.mjs +0 -2
  562. package/dist/chunks/cli-0.6.13-cwm0q4km.mjs +0 -2
  563. package/dist/chunks/cli-0.6.13-cxnnt8b1.mjs +0 -2
  564. package/dist/chunks/cli-0.6.13-d2rfg5mp.mjs +0 -2
  565. package/dist/chunks/cli-0.6.13-da6fhpes.mjs +0 -133
  566. package/dist/chunks/cli-0.6.13-dada1afp.mjs +0 -6
  567. package/dist/chunks/cli-0.6.13-dayy1aa4.mjs +0 -2
  568. package/dist/chunks/cli-0.6.13-dh1skxhh.mjs +0 -2
  569. package/dist/chunks/cli-0.6.13-dvfmqzm9.mjs +0 -2
  570. package/dist/chunks/cli-0.6.13-e1t2dda2.mjs +0 -2
  571. package/dist/chunks/cli-0.6.13-ea52zrzt.mjs +0 -2
  572. package/dist/chunks/cli-0.6.13-eaev9cr7.mjs +0 -2
  573. package/dist/chunks/cli-0.6.13-erzcm5hv.mjs +0 -2
  574. package/dist/chunks/cli-0.6.13-esv4y00y.mjs +0 -2
  575. package/dist/chunks/cli-0.6.13-etytm730.mjs +0 -2
  576. package/dist/chunks/cli-0.6.13-ew05qjsa.mjs +0 -4
  577. package/dist/chunks/cli-0.6.13-f58v0vk7.mjs +0 -6
  578. package/dist/chunks/cli-0.6.13-f67v536f.mjs +0 -59
  579. package/dist/chunks/cli-0.6.13-f6qwz2h0.mjs +0 -2
  580. package/dist/chunks/cli-0.6.13-fkaxh655.mjs +0 -2
  581. package/dist/chunks/cli-0.6.13-fspszw8w.mjs +0 -2
  582. package/dist/chunks/cli-0.6.13-fw6m0fbm.mjs +0 -10
  583. package/dist/chunks/cli-0.6.13-fxj1zytn.mjs +0 -2
  584. package/dist/chunks/cli-0.6.13-fy3vgkpz.mjs +0 -2
  585. package/dist/chunks/cli-0.6.13-fzzdrhms.mjs +0 -4
  586. package/dist/chunks/cli-0.6.13-g65dfg11.mjs +0 -6
  587. package/dist/chunks/cli-0.6.13-gkfcc3c2.mjs +0 -2
  588. package/dist/chunks/cli-0.6.13-gpb93cvz.mjs +0 -2
  589. package/dist/chunks/cli-0.6.13-grrshx1z.mjs +0 -2
  590. package/dist/chunks/cli-0.6.13-gsfs6kre.mjs +0 -2
  591. package/dist/chunks/cli-0.6.13-gyq9mepg.mjs +0 -2
  592. package/dist/chunks/cli-0.6.13-h3ymv3nd.mjs +0 -2
  593. package/dist/chunks/cli-0.6.13-h5dej6se.mjs +0 -3
  594. package/dist/chunks/cli-0.6.13-hd0sd535.mjs +0 -193
  595. package/dist/chunks/cli-0.6.13-hp0r1ftj.mjs +0 -12
  596. package/dist/chunks/cli-0.6.13-hx71w6e6.mjs +0 -3
  597. package/dist/chunks/cli-0.6.13-hxfvksxq.mjs +0 -2
  598. package/dist/chunks/cli-0.6.13-j6mr3jmk.mjs +0 -4
  599. package/dist/chunks/cli-0.6.13-jhhmjq66.mjs +0 -133
  600. package/dist/chunks/cli-0.6.13-jjx7jq0w.mjs +0 -2
  601. package/dist/chunks/cli-0.6.13-jmzvtd06.mjs +0 -2
  602. package/dist/chunks/cli-0.6.13-jrdsk8wb.mjs +0 -3
  603. package/dist/chunks/cli-0.6.13-k0kyv254.mjs +0 -2
  604. package/dist/chunks/cli-0.6.13-kd5h1s1s.mjs +0 -2
  605. package/dist/chunks/cli-0.6.13-kdm4832x.mjs +0 -2
  606. package/dist/chunks/cli-0.6.13-kekrwb08.mjs +0 -45
  607. package/dist/chunks/cli-0.6.13-kmg491hy.mjs +0 -2
  608. package/dist/chunks/cli-0.6.13-kqq5n5q3.mjs +0 -12
  609. package/dist/chunks/cli-0.6.13-kxjmrbfd.mjs +0 -3
  610. package/dist/chunks/cli-0.6.13-m4pb5k9v.mjs +0 -2
  611. package/dist/chunks/cli-0.6.13-me17wefv.mjs +0 -2
  612. package/dist/chunks/cli-0.6.13-mreqrsw2.mjs +0 -2
  613. package/dist/chunks/cli-0.6.13-mt7jkjdp.mjs +0 -39
  614. package/dist/chunks/cli-0.6.13-mxr0y1kd.mjs +0 -2
  615. package/dist/chunks/cli-0.6.13-n4qwe0a1.mjs +0 -2
  616. package/dist/chunks/cli-0.6.13-n67mrj2g.mjs +0 -15
  617. package/dist/chunks/cli-0.6.13-n9fz7y3a.mjs +0 -4
  618. package/dist/chunks/cli-0.6.13-nqd696hv.mjs +0 -2
  619. package/dist/chunks/cli-0.6.13-nvcr131g.mjs +0 -4
  620. package/dist/chunks/cli-0.6.13-p02kfjzd.mjs +0 -8
  621. package/dist/chunks/cli-0.6.13-p2k33k0d.mjs +0 -2
  622. package/dist/chunks/cli-0.6.13-p5xafpx4.mjs +0 -3
  623. package/dist/chunks/cli-0.6.13-pa4yv2ra.mjs +0 -2
  624. package/dist/chunks/cli-0.6.13-pbk4h5n3.mjs +0 -3
  625. package/dist/chunks/cli-0.6.13-pezf5r7h.mjs +0 -2
  626. package/dist/chunks/cli-0.6.13-pmwrb4jf.mjs +0 -2
  627. package/dist/chunks/cli-0.6.13-prh9py3z.mjs +0 -2
  628. package/dist/chunks/cli-0.6.13-pyh5s43x.mjs +0 -2
  629. package/dist/chunks/cli-0.6.13-q161snt1.mjs +0 -2
  630. package/dist/chunks/cli-0.6.13-q2ssb82w.mjs +0 -2
  631. package/dist/chunks/cli-0.6.13-q4spcjyn.mjs +0 -2
  632. package/dist/chunks/cli-0.6.13-q8qzja14.mjs +0 -2
  633. package/dist/chunks/cli-0.6.13-qbn7xx3z.mjs +0 -2
  634. package/dist/chunks/cli-0.6.13-qemvn3t7.mjs +0 -4
  635. package/dist/chunks/cli-0.6.13-qfh8s56n.mjs +0 -2
  636. package/dist/chunks/cli-0.6.13-qj9zpvjy.mjs +0 -2
  637. package/dist/chunks/cli-0.6.13-qtea9rcg.mjs +0 -2
  638. package/dist/chunks/cli-0.6.13-qyd73z97.mjs +0 -2
  639. package/dist/chunks/cli-0.6.13-r043ksv1.mjs +0 -1
  640. package/dist/chunks/cli-0.6.13-r1exgbp8.mjs +0 -4
  641. package/dist/chunks/cli-0.6.13-r2w3m6g9.mjs +0 -2
  642. package/dist/chunks/cli-0.6.13-r4z5mchw.mjs +0 -2
  643. package/dist/chunks/cli-0.6.13-r7gkf1df.mjs +0 -2
  644. package/dist/chunks/cli-0.6.13-rkm2drsy.mjs +0 -6
  645. package/dist/chunks/cli-0.6.13-s2vxndky.mjs +0 -2
  646. package/dist/chunks/cli-0.6.13-s3r638fw.mjs +0 -2
  647. package/dist/chunks/cli-0.6.13-s9rv2pr3.mjs +0 -4
  648. package/dist/chunks/cli-0.6.13-sa8gmxxv.mjs +0 -3
  649. package/dist/chunks/cli-0.6.13-t5bkdhfz.mjs +0 -2
  650. package/dist/chunks/cli-0.6.13-tbg0cceg.mjs +0 -15
  651. package/dist/chunks/cli-0.6.13-tecj2x0d.mjs +0 -2
  652. package/dist/chunks/cli-0.6.13-tfaydn5r.mjs +0 -2
  653. package/dist/chunks/cli-0.6.13-tj2kvtza.mjs +0 -2
  654. package/dist/chunks/cli-0.6.13-tss2yk53.mjs +0 -2
  655. package/dist/chunks/cli-0.6.13-tvy6tmhe.mjs +0 -2
  656. package/dist/chunks/cli-0.6.13-tyd40vcz.mjs +0 -2
  657. package/dist/chunks/cli-0.6.13-tzsj5e1c.mjs +0 -17
  658. package/dist/chunks/cli-0.6.13-v05nfcar.mjs +0 -2
  659. package/dist/chunks/cli-0.6.13-v160yjcc.mjs +0 -2
  660. package/dist/chunks/cli-0.6.13-v2vt3snq.mjs +0 -2
  661. package/dist/chunks/cli-0.6.13-v7kg9gbp.mjs +0 -2
  662. package/dist/chunks/cli-0.6.13-v824ppa4.mjs +0 -3
  663. package/dist/chunks/cli-0.6.13-v83qp6b0.mjs +0 -2
  664. package/dist/chunks/cli-0.6.13-v8ksdm64.mjs +0 -2
  665. package/dist/chunks/cli-0.6.13-vkbwqnxx.mjs +0 -2
  666. package/dist/chunks/cli-0.6.13-vv2qqj0d.mjs +0 -2
  667. package/dist/chunks/cli-0.6.13-vxq8z40t.mjs +0 -2
  668. package/dist/chunks/cli-0.6.13-w039mymy.mjs +0 -2
  669. package/dist/chunks/cli-0.6.13-w0qrn825.mjs +0 -2
  670. package/dist/chunks/cli-0.6.13-w1jqswyq.mjs +0 -2
  671. package/dist/chunks/cli-0.6.13-w91d8mwx.mjs +0 -2
  672. package/dist/chunks/cli-0.6.13-waf5mvv3.mjs +0 -5
  673. package/dist/chunks/cli-0.6.13-wer1zp9j.mjs +0 -20
  674. package/dist/chunks/cli-0.6.13-wtc8585b.mjs +0 -2
  675. package/dist/chunks/cli-0.6.13-x28t8s6n.mjs +0 -2
  676. package/dist/chunks/cli-0.6.13-xc81kqm2.mjs +0 -2
  677. package/dist/chunks/cli-0.6.13-xdedyafk.mjs +0 -12
  678. package/dist/chunks/cli-0.6.13-xf37gba3.mjs +0 -21
  679. package/dist/chunks/cli-0.6.13-xkw3qe38.mjs +0 -2
  680. package/dist/chunks/cli-0.6.13-xpjrhgmy.mjs +0 -2
  681. package/dist/chunks/cli-0.6.13-y1j0jnkt.mjs +0 -2
  682. package/dist/chunks/cli-0.6.13-y20earfr.mjs +0 -2
  683. package/dist/chunks/cli-0.6.13-y4v6kta5.mjs +0 -2
  684. package/dist/chunks/cli-0.6.13-y6xnb20z.mjs +0 -28
  685. package/dist/chunks/cli-0.6.13-y8bhbkcr.mjs +0 -2
  686. package/dist/chunks/cli-0.6.13-yamxpaqw.mjs +0 -67
  687. package/dist/chunks/cli-0.6.13-ykg1yrfj.mjs +0 -2
  688. package/dist/chunks/cli-0.6.13-yrjy4at4.mjs +0 -2
  689. package/dist/chunks/cli-0.6.13-ytn0a18c.mjs +0 -2
  690. package/dist/chunks/cli-0.6.13-ywdbvmgd.mjs +0 -2
  691. package/dist/chunks/cli-0.6.13-z8s5yfv6.mjs +0 -9
  692. package/dist/chunks/cli-0.6.13-zcy8dsbx.mjs +0 -25
  693. package/dist/chunks/cli-0.6.13-zd9jp62z.mjs +0 -15
  694. package/dist/chunks/cli-0.6.13-ze0ah657.mjs +0 -4
  695. package/dist/chunks/cli-0.6.13-zktd03aq.mjs +0 -2
  696. package/dist/chunks/cli-0.6.13-zw3t7bxg.mjs +0 -2
  697. package/dist/chunks/client-0.6.13-apag8p3w.mjs +0 -1
  698. package/dist/chunks/color-0.6.13-m7e3xes9.mjs +0 -1
  699. package/dist/chunks/compact-0.6.13-064k380y.mjs +0 -3
  700. package/dist/chunks/config-0.6.13-2gskfa7r.mjs +0 -1
  701. package/dist/chunks/config-0.6.13-m7tbch3j.mjs +0 -1
  702. package/dist/chunks/constants-0.6.13-bq183whd.mjs +0 -1
  703. package/dist/chunks/context-0.6.13-4jm66js8.mjs +0 -1
  704. package/dist/chunks/context-noninteractive-0.6.13-2c2pa7c4.mjs +0 -1
  705. package/dist/chunks/conversation-0.6.13-gb8qd0a6.mjs +0 -1
  706. package/dist/chunks/copilotHeaders-0.6.13-sdz00vtr.mjs +0 -1
  707. package/dist/chunks/copy-0.6.13-11ksdws3.mjs +0 -9
  708. package/dist/chunks/cost-0.6.13-ht9hjse5.mjs +0 -1
  709. package/dist/chunks/createSSHSession-0.6.13-9nj8wxrq.mjs +0 -1
  710. package/dist/chunks/createSession-0.6.13-zx0ak0ar.mjs +0 -1
  711. package/dist/chunks/debug-0.6.13-1b2b2vfp.mjs +0 -1
  712. package/dist/chunks/defaultActionDeps-0.6.13-4ypccnwe.mjs +0 -1367
  713. package/dist/chunks/desktop-0.6.13-5jae65dg.mjs +0 -1
  714. package/dist/chunks/detectRepository-0.6.13-e3va8684.mjs +0 -1
  715. package/dist/chunks/detection-0.6.13-5kdd4ryt.mjs +0 -1
  716. package/dist/chunks/diff-0.6.13-3qr723e3.mjs +0 -1
  717. package/dist/chunks/doctor-0.6.13-ykby6vex.mjs +0 -1
  718. package/dist/chunks/doctorDiagnostic-0.6.13-m5tnyxr2.mjs +0 -1
  719. package/dist/chunks/earlyInput-0.6.13-e90ax06h.mjs +0 -1
  720. package/dist/chunks/effort-0.6.13-tqkv5tt7.mjs +0 -10
  721. package/dist/chunks/envLessBridgeConfig-0.6.13-m8pp5emf.mjs +0 -1
  722. package/dist/chunks/envUtils-0.6.13-6q29pewb.mjs +0 -1
  723. package/dist/chunks/environmentSelection-0.6.13-ajfa3pm0.mjs +0 -1
  724. package/dist/chunks/environments-0.6.13-gpjjpygt.mjs +0 -1
  725. package/dist/chunks/errors-0.6.13-amqhpv1w.mjs +0 -1
  726. package/dist/chunks/exampleCommands-0.6.13-yscjfr02.mjs +0 -1
  727. package/dist/chunks/exit-0.6.13-aex1mh9r.mjs +0 -1
  728. package/dist/chunks/explorer-0.6.13-g670396m.mjs +0 -1
  729. package/dist/chunks/export-0.6.13-zytxcpn5.mjs +0 -2
  730. package/dist/chunks/extra-usage-0.6.13-js9s3mpg.mjs +0 -1
  731. package/dist/chunks/extra-usage-noninteractive-0.6.13-1y21hfpz.mjs +0 -1
  732. package/dist/chunks/fast-0.6.13-eqx76m6v.mjs +0 -1
  733. package/dist/chunks/feedback-0.6.13-b2yh5zgv.mjs +0 -14
  734. package/dist/chunks/firstPartyEventLogger-0.6.13-29x54d6r.mjs +0 -1
  735. package/dist/chunks/git-0.6.13-r45r70q4.mjs +0 -1
  736. package/dist/chunks/githubModelsCredentials-0.6.13-3saqxp80.mjs +0 -1
  737. package/dist/chunks/goal-0.6.13-jm5f9y8r.mjs +0 -4
  738. package/dist/chunks/grove-0.6.13-9vr9ry8t.mjs +0 -1
  739. package/dist/chunks/growthbook-0.6.13-r6367yym.mjs +0 -1
  740. package/dist/chunks/headless-0.6.13-gfageb5h.mjs +0 -2
  741. package/dist/chunks/heapdump-0.6.13-m8g832m5.mjs +0 -6
  742. package/dist/chunks/help-0.6.13-781b4zzf.mjs +0 -1
  743. package/dist/chunks/hookChains-0.6.13-ztaa33k2.mjs +0 -3
  744. package/dist/chunks/hooks-0.6.13-2vp3h6tg.mjs +0 -1
  745. package/dist/chunks/hooks-0.6.13-ma0g96bd.mjs +0 -79
  746. package/dist/chunks/ide-0.6.13-ev74eqfz.mjs +0 -3
  747. package/dist/chunks/image-processor-napi-0.6.13-1yfk6729.mjs +0 -1
  748. package/dist/chunks/inboundAttachments-0.6.13-15y4n0ap.mjs +0 -1
  749. package/dist/chunks/index-0.6.13-22g8yp33.mjs +0 -1
  750. package/dist/chunks/index-0.6.13-3d9rd6ba.mjs +0 -1
  751. package/dist/chunks/index-0.6.13-3yrze12y.mjs +0 -2
  752. package/dist/chunks/index-0.6.13-4mx71hjt.mjs +0 -2
  753. package/dist/chunks/index-0.6.13-68g8rnf9.mjs +0 -1
  754. package/dist/chunks/index-0.6.13-6t8yz88d.mjs +0 -1
  755. package/dist/chunks/index-0.6.13-af1dgcmj.mjs +0 -1
  756. package/dist/chunks/index-0.6.13-afmvxwx2.mjs +0 -1
  757. package/dist/chunks/index-0.6.13-by0wfak3.mjs +0 -9
  758. package/dist/chunks/index-0.6.13-cx9jy8c2.mjs +0 -1
  759. package/dist/chunks/index-0.6.13-fd4kgsd2.mjs +0 -1
  760. package/dist/chunks/index-0.6.13-jte6phkv.mjs +0 -1
  761. package/dist/chunks/index-0.6.13-m632g3gy.mjs +0 -1
  762. package/dist/chunks/index-0.6.13-mwpm4arf.mjs +0 -5
  763. package/dist/chunks/index-0.6.13-nwvcwdkk.mjs +0 -30
  764. package/dist/chunks/index-0.6.13-nwy6gtkk.mjs +0 -1
  765. package/dist/chunks/index-0.6.13-ptnyngf8.mjs +0 -1
  766. package/dist/chunks/index-0.6.13-q3shbg14.mjs +0 -1
  767. package/dist/chunks/index-0.6.13-qbgadtxv.mjs +0 -1
  768. package/dist/chunks/index-0.6.13-sv4q66cp.mjs +0 -1
  769. package/dist/chunks/index-0.6.13-waxz0ekk.mjs +0 -1
  770. package/dist/chunks/index-0.6.13-why7ggz3.mjs +0 -9
  771. package/dist/chunks/index-0.6.13-y16k48ab.mjs +0 -1
  772. package/dist/chunks/init-0.6.13-4hnytb22.mjs +0 -1
  773. package/dist/chunks/initReplBridge-0.6.13-7zgngybp.mjs +0 -1
  774. package/dist/chunks/ink-0.6.13-tzqbb17q.mjs +0 -1
  775. package/dist/chunks/insights-0.6.13-jydg844c.mjs +0 -870
  776. package/dist/chunks/install-0.6.13-n2sd9y79.mjs +0 -1
  777. package/dist/chunks/install-github-app-0.6.13-e0f07703.mjs +0 -149
  778. package/dist/chunks/install-slack-app-0.6.13-bf4yjq6t.mjs +0 -1
  779. package/dist/chunks/instrumentation-0.6.13-adfxdg5f.mjs +0 -1
  780. package/dist/chunks/interactiveHelpers-0.6.13-xp328y9v.mjs +0 -1
  781. package/dist/chunks/keybindings-0.6.13-ktc3mjr7.mjs +0 -2
  782. package/dist/chunks/knowledge-0.6.13-187esqxd.mjs +0 -2
  783. package/dist/chunks/latestVersionCache-0.6.13-m4bhcjqa.mjs +0 -1
  784. package/dist/chunks/loadAgentsDir-0.6.13-6zpt11ke.mjs +0 -1
  785. package/dist/chunks/loadPluginHooks-0.6.13-828skfe0.mjs +0 -1
  786. package/dist/chunks/loadPluginHooks-0.6.13-aft854e2.mjs +0 -1
  787. package/dist/chunks/log-0.6.13-k8w72xt1.mjs +0 -1
  788. package/dist/chunks/main-0.6.13-g9fjc6sv.mjs +0 -1
  789. package/dist/chunks/managedEnv-0.6.13-gqrx16t7.mjs +0 -1
  790. package/dist/chunks/mcp-0.6.13-dyg98wmq.mjs +0 -1
  791. package/dist/chunks/mcp-0.6.13-mzkm1215.mjs +0 -4
  792. package/dist/chunks/mcp-0.6.13-zkt6y77x.mjs +0 -17
  793. package/dist/chunks/mcpb-0.6.13-dre8w2ra.mjs +0 -1
  794. package/dist/chunks/memory-0.6.13-atsckryz.mjs +0 -3
  795. package/dist/chunks/model-0.6.13-0atttv57.mjs +0 -1
  796. package/dist/chunks/model-0.6.13-2jvx0cgc.mjs +0 -2
  797. package/dist/chunks/node-0.6.13-x2bbeer9.mjs +0 -12
  798. package/dist/chunks/oauth-0.6.13-57mmwqmy.mjs +0 -1
  799. package/dist/chunks/openaiShim-0.6.13-yb751f6g.mjs +0 -14
  800. package/dist/chunks/output-style-0.6.13-m28me769.mjs +0 -1
  801. package/dist/chunks/package-FMOR3ELU-0.6.13-dfhez176.mjs +0 -1
  802. package/dist/chunks/parseConnectUrl-0.6.13-6ckj0vmf.mjs +0 -1
  803. package/dist/chunks/parser-0.6.13-cmp0vgjm.mjs +0 -1
  804. package/dist/chunks/passes-0.6.13-q60h610m.mjs +0 -1
  805. package/dist/chunks/permissions-0.6.13-9cf5bca2.mjs +0 -3
  806. package/dist/chunks/permissions-0.6.13-nqms1fh9.mjs +0 -1
  807. package/dist/chunks/plan-0.6.13-jnph14bx.mjs +0 -1
  808. package/dist/chunks/plist-0.6.13-fwm9pvp5.mjs +0 -1
  809. package/dist/chunks/plugin-0.6.13-4hpbymfw.mjs +0 -29
  810. package/dist/chunks/pluginStartupCheck-0.6.13-yftpxhh1.mjs +0 -1
  811. package/dist/chunks/plugins-0.6.13-jkptkxsv.mjs +0 -9
  812. package/dist/chunks/preActionHook-0.6.13-jxg6wxk8.mjs +0 -2
  813. package/dist/chunks/print-0.6.13-7cpe5d4z.mjs +0 -57
  814. package/dist/chunks/privacy-settings-0.6.13-5a5rxfdv.mjs +0 -1
  815. package/dist/chunks/process-0.6.13-38dsvzca.mjs +0 -1
  816. package/dist/chunks/processBashCommand-0.6.13-2hx0q8zw.mjs +0 -1
  817. package/dist/chunks/processSlashCommand-0.6.13-5r7afr4g.mjs +0 -9
  818. package/dist/chunks/prompt-0.6.13-pafq1qab.mjs +0 -1
  819. package/dist/chunks/prompt-0.6.13-y81g0m1b.mjs +0 -1
  820. package/dist/chunks/prompts-0.6.13-702ak30b.mjs +0 -1
  821. package/dist/chunks/protocolHandler-0.6.13-t8f8haqj.mjs +0 -13
  822. package/dist/chunks/provider-0.6.13-2sx115qq.mjs +0 -2
  823. package/dist/chunks/providerProfiles-0.6.13-f8x8hr6k.mjs +0 -1
  824. package/dist/chunks/providerValidation-0.6.13-tf07v3tj.mjs +0 -6
  825. package/dist/chunks/rate-limit-options-0.6.13-aensbess.mjs +0 -1
  826. package/dist/chunks/registerSubcommands-0.6.13-656h79d4.mjs +0 -34
  827. package/dist/chunks/registry-0.6.13-pstf339a.mjs +0 -1
  828. package/dist/chunks/release-notes-0.6.13-hrppyszt.mjs +0 -5
  829. package/dist/chunks/reload-plugins-0.6.13-je6wrn33.mjs +0 -2
  830. package/dist/chunks/remote-env-0.6.13-z246d03z.mjs +0 -1
  831. package/dist/chunks/remoteBridgeCore-0.6.13-ynnqhw07.mjs +0 -1
  832. package/dist/chunks/remoteSession-0.6.13-mv8v6s9c.mjs +0 -1
  833. package/dist/chunks/rename-0.6.13-xpt0c85z.mjs +0 -1
  834. package/dist/chunks/replBridgeHandle-0.6.13-rrpbzf13.mjs +0 -1
  835. package/dist/chunks/replLauncher-0.6.13-waeszqvx.mjs +0 -1
  836. package/dist/chunks/resume-0.6.13-sr7y57a2.mjs +0 -2
  837. package/dist/chunks/rewind-0.6.13-8czd98jc.mjs +0 -1
  838. package/dist/chunks/rootOptions-0.6.13-9h4cq5pq.mjs +0 -1
  839. package/dist/chunks/sandbox-adapter-0.6.13-hs1rvj4e.mjs +0 -1
  840. package/dist/chunks/sandbox-toggle-0.6.13-8j9r0wf9.mjs +0 -1
  841. package/dist/chunks/session-0.6.13-83jr96cj.mjs +0 -2
  842. package/dist/chunks/sessionDiscovery-0.6.13-wvzp1v01.mjs +0 -1
  843. package/dist/chunks/sessionFileAccessHooks-0.6.13-4fkbba35.mjs +0 -1
  844. package/dist/chunks/sessionStorage-0.6.13-rswa4zsd.mjs +0 -1
  845. package/dist/chunks/settings-0.6.13-6t3fk1ch.mjs +0 -1
  846. package/dist/chunks/setup-0.6.13-q8jrvatq.mjs +0 -5
  847. package/dist/chunks/sinks-0.6.13-zatt5gaw.mjs +0 -1
  848. package/dist/chunks/skills-0.6.13-3c0whjxb.mjs +0 -1
  849. package/dist/chunks/startupProfiler-0.6.13-cphqp37f.mjs +0 -1
  850. package/dist/chunks/startupUpdateCheck-0.6.13-hstp7str.mjs +0 -1
  851. package/dist/chunks/state-0.6.13-257cjw4h.mjs +0 -1
  852. package/dist/chunks/stats-0.6.13-cg0xacnc.mjs +0 -6
  853. package/dist/chunks/status-0.6.13-cefspgtr.mjs +0 -1
  854. package/dist/chunks/stickers-0.6.13-6e4t4ej1.mjs +0 -1
  855. package/dist/chunks/subprocessEnv-0.6.13-am2fa4tp.mjs +0 -1
  856. package/dist/chunks/tasks-0.6.13-2v9gfhwe.mjs +0 -1
  857. package/dist/chunks/teamHelpers-0.6.13-nesaxh5h.mjs +0 -1
  858. package/dist/chunks/teammateModeSnapshot-0.6.13-s8fahdkf.mjs +0 -1
  859. package/dist/chunks/teleport-0.6.13-15chrxd3.mjs +0 -1
  860. package/dist/chunks/terminalSetup-0.6.13-45tchntj.mjs +0 -1
  861. package/dist/chunks/theme-0.6.13-xzb35tqq.mjs +0 -1
  862. package/dist/chunks/thinkback-0.6.13-t9v5q33p.mjs +0 -1
  863. package/dist/chunks/thinkback-play-0.6.13-3zft02zv.mjs +0 -1
  864. package/dist/chunks/toolPool-0.6.13-v9s7e0g9.mjs +0 -1
  865. package/dist/chunks/toolSearch-0.6.13-yx9rjn17.mjs +0 -1
  866. package/dist/chunks/tools-0.6.13-heefxcxe.mjs +0 -1
  867. package/dist/chunks/trustedDevice-0.6.13-x08npyhs.mjs +0 -1
  868. package/dist/chunks/turndown.cjs-0.6.13-tqfk5xkj.mjs +0 -69
  869. package/dist/chunks/types-0.6.13-26eegce9.mjs +0 -1
  870. package/dist/chunks/ultrareviewCommand-0.6.13-pg8b86h2.mjs +0 -4
  871. package/dist/chunks/update-0.6.13-tj94pp6r.mjs +0 -86
  872. package/dist/chunks/upgrade-0.6.13-3qy3gqyq.mjs +0 -1
  873. package/dist/chunks/upload-0.6.13-jgydpvy4.mjs +0 -7
  874. package/dist/chunks/upstreamproxy-0.6.13-3jmepw2f.mjs +0 -14
  875. package/dist/chunks/url-handler-napi-0.6.13-cqr9xp6y.mjs +0 -1
  876. package/dist/chunks/usage-0.6.13-whrgny68.mjs +0 -1
  877. package/dist/chunks/util-0.6.13-dcwcf9pm.mjs +0 -1
  878. package/dist/chunks/utils-0.6.13-jybbphy0.mjs +0 -1
  879. package/dist/chunks/vim-0.6.13-rt1g3nw1.mjs +0 -1
  880. package/dist/chunks/watcher-0.6.13-jr5jxn5j.mjs +0 -1
  881. package/dist/chunks/wiki-0.6.13-pt6cr77j.mjs +0 -132
  882. package/dist/chunks/worktree-0.6.13-efnvp677.mjs +0 -1
  883. package/dist/chunks/worktreeModeEnabled-0.6.13-zdfe46d8.mjs +0 -1
  884. package/dist/chunks/wrapper-0.6.13-w672jy5j.mjs +0 -7
  885. /package/dist/chunks/{cli-0.6.13-s9yqkgwe.mjs → cli-0.7.0-59h7jbfm.mjs} +0 -0
  886. /package/dist/chunks/{cli-0.6.13-e3h2z83b.mjs → cli-0.7.0-5vszg5ys.mjs} +0 -0
  887. /package/dist/chunks/{cli-0.6.13-tsz6mx5f.mjs → cli-0.7.0-76wj8x34.mjs} +0 -0
  888. /package/dist/chunks/{cli-0.6.13-rmzzvjt2.mjs → cli-0.7.0-brqbb2d5.mjs} +0 -0
  889. /package/dist/chunks/{cli-0.6.13-p839x5sj.mjs → cli-0.7.0-jt2afswt.mjs} +0 -0
  890. /package/dist/chunks/{cli-0.6.13-h2yxttam.mjs → cli-0.7.0-m9eza7ry.mjs} +0 -0
  891. /package/dist/chunks/{cli-0.6.13-1dwgndg5.mjs → cli-0.7.0-z555y4ap.mjs} +0 -0
@@ -1,15 +0,0 @@
1
- import{Ay as k,HM as f,JM as z,RP as _,Tj as J,zy as L}from"./cli-0.6.13-2s33ahe4.mjs";import{E_ as F,J_ as A}from"./cli-0.6.13-hd0sd535.mjs";import{_fa as Y,aga as h,bga as H,cga as X}from"./cli-0.6.13-yamxpaqw.mjs";import{Vga as W,Yga as M}from"./cli-0.6.13-prh9py3z.mjs";import{$ha as R,Yha as D}from"./cli-0.6.13-dada1afp.mjs";import{ema as q,ooa as C}from"./cli-0.6.13-me17wefv.mjs";import{Vpa as V}from"./cli-0.6.13-5qvssn7h.mjs";function S(U){let Q=[];for(let w of U){if(w.type!=="user"&&w.type!=="assistant")continue;if("isMeta"in w&&w.isMeta)continue;if("origin"in w&&w.origin&&w.origin.kind!=="human")continue;let K=w.message.content;if(typeof K==="string")Q.push(K);else if(Array.isArray(K)){for(let B of K)if("type"in B&&B.type==="text"&&"text"in B)Q.push(B.text)}}let G=Q.join(`
2
- `);return G.length>$?G.slice(-$):G}async function T(U,Q){let G=U.trim();if(!G)return null;try{let w=await f({systemPrompt:L([P]),userPrompt:G,outputFormat:{type:"json_schema",schema:{type:"object",properties:{title:{type:"string"}},required:["title"],additionalProperties:!1}},signal:Q,options:{querySource:"generate_session_title",agents:[],isNonInteractiveSession:q(),hasAppendSystemPrompt:!1,mcpTools:[]}}),K=J(w.message.content),B=v().safeParse(F(K)),Z=B.success?B.data.title.trim()||null:null;return W("tengu_session_title_generated",{success:Z!==null}),Z}catch(w){return D(`generateSessionTitle failed: ${w}`,{level:"error"}),W("tengu_session_title_generated",{success:!1}),"Claudin"}}var $=1000,P=`Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
3
-
4
- Return JSON with a single "title" field.
5
-
6
- Good examples:
7
- {"title": "Fix login button on mobile"}
8
- {"title": "Add OAuth authentication"}
9
- {"title": "Debug failing CI tests"}
10
- {"title": "Refactor API client error handling"}
11
-
12
- Bad (too vague): {"title": "Code changes"}
13
- Bad (too long): {"title": "Investigate and fix the issue where the login button does not respond on mobile devices"}
14
- Bad (wrong case): {"title": "Fix Login Button On Mobile"}`,v;var I=V(()=>{h();C();M();z();R();A();X();_();k();v=H(()=>Y.object({title:Y.string()}))});
15
- export{S as ie,T as je,I as ke};
@@ -1,4 +0,0 @@
1
- import{Qd as c,Wd as Eq}from"./cli-0.6.13-d2rfg5mp.mjs";import{$o as D,BK as b,CK as Lq,Cs as l,Ds as wq,FK as Hq,GK as Jq,IJ as v,IK as vq,JJ as m,JK as y,Jo as s,KK as Qq,Ko as Tq,LJ as Oq,LK as Xq,MK as Yq,NK as $q,No as t,OK as d,Po as Mq,RK as Dq,To as i,Vo as Rq,Zo as A,ap as Aq,bp as h,cK as n,cp as S,dp as Fq,iK as e,jK as P,nK as jq,oK as O,pK as qq,rK as I,sK as Gq,yK as Cq}from"./cli-0.6.13-2s33ahe4.mjs";import{Gba as _q,Oaa as V,Waa as Kq,nea as a,rba as F,tba as L,vea as Bq}from"./cli-0.6.13-hd0sd535.mjs";import{Kha as p,Oha as Wq}from"./cli-0.6.13-dada1afp.mjs";import{pia as o,sia as N,xia as Uq}from"./cli-0.6.13-ze0ah657.mjs";import{ooa as xq,xka as f}from"./cli-0.6.13-me17wefv.mjs";import{Vpa as Zq}from"./cli-0.6.13-5qvssn7h.mjs";import{dirname as Nq,join as u}from"path";function g(q){if(!k.includes(q))throw Error(`Invalid scope "${q}". Must be one of: ${k.join(", ")}`)}function JG(q){return k.includes(q)}function zq(q){return q==="project"||q==="local"?f():void 0}function QG(q){return F("projectSettings")?.enabledPlugins?.[q]===!0}function Vq(q){let H=q.includes("@"),G=["local","project","user"];for(let X of G){let J=F(D(X))?.enabledPlugins;if(!J)continue;for(let Y of Object.keys(J))if(H?Y===q:Y.startsWith(`${q}@`))return{pluginId:Y,scope:X}}return null}function bq(q,H){let{name:G,marketplace:X}=A(q);return H.find((J)=>{if(J.name===q||J.name===G)return!0;if(X&&J.source)return J.name===G&&J.source.includes(`@${X}`);return!1})}function yq(q){let{name:H}=A(q),G=O();if(G.plugins[q]?.length)return{pluginId:q,pluginName:H};let X=Object.keys(G.plugins).find((J)=>{let{name:Y}=A(J);return Y===H&&(G.plugins[J]?.length??0)>0});if(X)return{pluginId:X,pluginName:H};return null}function kq(q){let G=O().plugins[q];if(!G||G.length===0)return{scope:"user"};let X=f(),J=G.find((Z)=>Z.scope==="local"&&Z.projectPath===X);if(J)return{scope:J.scope,projectPath:J.projectPath};let Y=G.find((Z)=>Z.scope==="project"&&Z.projectPath===X);if(Y)return{scope:Y.scope,projectPath:Y.projectPath};let z=G.find((Z)=>Z.scope==="user");if(z)return{scope:z.scope};return{scope:G[0].scope,projectPath:G[0].projectPath}}async function XG(q,H="user"){g(H);let{name:G,marketplace:X}=A(q),J,Y,z;if(X){let $=await P(q);if($)J=$.entry,Y=X,z=$.marketplaceInstallLocation}else{let $=await n();for(let[B,K]of Object.entries($))try{let M=(await e(B)).plugins.find((R)=>R.name===G);if(M){J=M,Y=B,z=K.installLocation;break}}catch(x){a(o(x));continue}}if(!J||!Y){let $=X?`marketplace "${X}"`:"any configured marketplace";return{success:!1,message:`Plugin "${G}" not found in ${$}`}}let Z=J,W=`${Z.name}@${Y}`,Q=await Jq({pluginId:W,entry:Z,scope:H,marketplaceInstallLocation:z});if(!Q.ok)switch(Q.reason){case"local-source-no-location":return{success:!1,message:`Cannot install local plugin "${Q.pluginName}" without marketplace install location`};case"settings-write-failed":return{success:!1,message:`Failed to update settings: ${Q.message}`};case"resolution-failed":return{success:!1,message:Hq(Q.resolution)};case"blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" is blocked by your organization's policy and cannot be installed`};case"dependency-blocked-by-policy":return{success:!1,message:`Plugin "${Q.pluginName}" depends on "${Q.blockedDependency}", which is blocked by your organization's policy`}}return{success:!0,message:`Successfully installed plugin: ${W} (scope: ${H})${Q.depNote}`,pluginId:W,pluginName:Z.name,scope:H}}async function YG(q,H="user",G=!0){g(H);let{enabled:X,disabled:J}=await d(),Y=[...X,...J],z=bq(q,Y),Z=D(H),W=F(Z),Q,$;if(z)Q=Object.keys(W?.enabledPlugins??{}).find((U)=>U===q||U===z.name||U.startsWith(`${z.name}@`))??(q.includes("@")?q:z.name),$=z.name;else{let U=yq(q);if(!U)return{success:!1,message:`Plugin "${q}" not found in installed plugins`};Q=U.pluginId,$=U.pluginName}let B=zq(H),x=O().plugins[Q],M=x?.find((U)=>U.scope===H&&U.projectPath===B);if(!M){let{scope:U}=kq(Q);if(U!==H&&x&&x.length>0){if(U==="project")return{success:!1,message:`Plugin "${q}" is enabled at project scope (.claudin/settings.json, shared with your team). To disable just for you: claudin plugin disable ${q} --scope local`};return{success:!1,message:`Plugin "${q}" is installed in ${U} scope, not ${H}. Use --scope ${U} to uninstall.`}}return{success:!1,message:`Plugin "${q}" is not installed in ${H} scope. Use --scope to specify the correct scope.`}}let R=M.installPath,_={...W?.enabledPlugins};_[Q]=void 0,L(Z,{enabledPlugins:_}),v(),qq(Q,H,B);let w=O().plugins[Q],j=!w||w.length===0;if(j&&R)await m(R);if(j){if(t(Q),G)await s(Q)}let C=h(Q,Y),E=S(C);return{success:!0,message:`Successfully uninstalled plugin: ${$} (scope: ${H})${E}`,pluginId:Q,pluginName:$,scope:H,reverseDependents:C.length>0?C:void 0}}async function r(q,H,G){let X=H?"enable":"disable";if(i(q)){let{error:_}=L("userSettings",{enabledPlugins:{...F("userSettings")?.enabledPlugins,[q]:H}});if(_)return{success:!1,message:`Failed to ${X} built-in plugin: ${_.message}`};v();let{name:T}=A(q);return{success:!0,message:`Successfully ${X}d built-in plugin: ${T}`,pluginId:q,pluginName:T,scope:"user"}}if(G)g(G);let J,Y,z=Vq(q);if(G)if(Y=G,z)J=z.pluginId;else if(q.includes("@"))J=q;else return{success:!1,message:`Plugin "${q}" not found in settings. Use plugin@marketplace format.`};else if(z)J=z.pluginId,Y=z.scope;else if(q.includes("@"))J=q,Y="user";else return{success:!1,message:`Plugin "${q}" not found in any editable settings scope. Use plugin@marketplace format.`};if(H&&l(J))return{success:!1,message:`Plugin "${J}" is blocked by your organization's policy and cannot be enabled`};let Z=D(Y),W=F(Z)?.enabledPlugins?.[J],Q={user:0,project:1,local:2},$=G&&z&&Q[G]>Q[z.scope];if(G&&W===void 0&&z&&z.scope!==G&&!$)return{success:!1,message:`Plugin "${q}" is installed at ${z.scope} scope, not ${G}. Use --scope ${z.scope} or omit --scope to auto-detect.`};let B=G&&!$?W===!0:c().has(J);if(H===B)return{success:!1,message:`Plugin "${q}" is already ${H?"enabled":"disabled"}${G?` at ${G} scope`:""}`};let K;if(!H){let{enabled:_,disabled:T}=await d(),w=h(J,[..._,...T]);if(w.length>0)K=w}let{error:x}=L(Z,{enabledPlugins:{...F(Z)?.enabledPlugins,[J]:H}});if(x)return{success:!1,message:`Failed to ${X} plugin: ${x.message}`};v();let{name:M}=A(J),R=S(K);return{success:!0,message:`Successfully ${X}d plugin: ${M} (scope: ${Y})${R}`,pluginId:J,pluginName:M,scope:Y,reverseDependents:K}}async function $G(q,H){return r(q,!0,H)}async function zG(q,H){return r(q,!1,H)}async function ZG(){let q=c();if(q.size===0)return{success:!0,message:"No enabled plugins to disable"};let H=[],G=[];for(let[X]of q){let J=await r(X,!1);if(J.success)H.push(X);else G.push(`${X}: ${J.message}`)}if(G.length>0)return{success:!1,message:`Disabled ${H.length} ${V(H.length,"plugin")}, ${G.length} failed:
2
- ${G.join(`
3
- `)}`};return{success:!0,message:`Disabled ${H.length} ${V(H.length,"plugin")}`}}async function xG(q,H){let{name:G,marketplace:X}=A(q),J=X?`${G}@${X}`:q,Y=await P(q);if(!Y)return{success:!1,message:`Plugin "${G}" not found`,pluginId:J,scope:H};let{entry:z,marketplaceInstallLocation:Z}=Y,Q=I().plugins[J];if(!Q||Q.length===0)return{success:!1,message:`Plugin "${G}" is not installed`,pluginId:J,scope:H};let $=zq(H),B=Q.find((K)=>K.scope===H&&K.projectPath===$);if(!B){let K=$?`${H} (${$})`:H;return{success:!1,message:`Plugin "${G}" is not installed at scope ${K}`,pluginId:J,scope:H}}return fq({pluginId:J,pluginName:G,entry:z,marketplaceInstallLocation:Z,installation:B,scope:H,projectPath:$})}async function fq({pluginId:q,pluginName:H,entry:G,marketplaceInstallLocation:X,installation:J,scope:Y,projectPath:z}){let Z=p(),W=J.version,Q,$,B=!1,K;if(typeof G.source!=="string"){let x=await Yq(G.source,{manifest:{name:G.name}});Q=x.path,B=!0,K=x.gitCommitSha,$=await b(q,G.source,x.manifest,x.path,G.version,x.gitCommitSha)}else{let x;try{x=await Z.stat(X)}catch(T){if(N(T))return{success:!1,message:`Marketplace directory not found at ${X}`,pluginId:q,scope:Y};throw T}let M=x.isDirectory()?X:Nq(X);Q=u(M,G.source);try{await Z.stat(Q)}catch(T){if(N(T))return{success:!1,message:`Plugin source not found at ${Q}`,pluginId:q,scope:Y};throw T}let R,_=u(Q,".claude-plugin","plugin.json");try{R=await $q(_,G.name,G.source)}catch{}$=await b(q,G.source,R,Q,G.version)}try{let x=y(q,$),M=Qq(q,$);if(J.version===$||J.installPath===x||J.installPath===M)return{success:!0,message:`${H} is already at the latest version (${$}).`,pluginId:q,newVersion:$,oldVersion:W,alreadyUpToDate:!0,scope:Y};x=await Xq(Q,q,$,G);let _=J.installPath;if(Gq(q,Y,z,x,$,K),_&&_!==x){let j=I();if(!Object.values(j.plugins).some((E)=>E.some((U)=>U.installPath===_)))await m(_)}let T=z?`${Y} (${z})`:Y;return{success:!0,message:`Plugin "${H}" updated from ${W||"unknown"} to ${$} for scope ${T}. Restart to apply changes.`,pluginId:q,newVersion:$,oldVersion:W,scope:Y}}finally{if(B&&Q!==y(q,$))await Z.rm(Q,{recursive:!0,force:!0})}}var k,HG;var hq=Zq(()=>{xq();Rq();Uq();Wq();Bq();Oq();Fq();Cq();jq();Tq();Aq();vq();Dq();Mq();wq();Eq();Lq();_q();Kq();k=["user","project","local"],HG=["user","project","local","managed"]});
4
- export{k as Dd,HG as Ed,JG as Fd,QG as Gd,kq as Hd,XG as Id,YG as Jd,$G as Kd,zG as Ld,ZG as Md,xG as Nd,hq as Od};
@@ -1,2 +0,0 @@
1
- import{o2 as N,t2 as $}from"./cli-0.6.13-643zsnv9.mjs";import{E6 as Z,e6 as M,o3 as L,r3 as Y}from"./cli-0.6.13-b3zncvcq.mjs";import{nea as Q,vea as X}from"./cli-0.6.13-hd0sd535.mjs";import{Tga as J,Uga as V}from"./cli-0.6.13-s2vxndky.mjs";import{pia as P,xia as S}from"./cli-0.6.13-ze0ah657.mjs";import{Bpa as W,jpa as K}from"./cli-0.6.13-y6xnb20z.mjs";import{Vpa as R}from"./cli-0.6.13-5qvssn7h.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 yW,j as zW,b as AW};
@@ -1,4 +0,0 @@
1
- import{cg as LJ,dg as WQ}from"./cli-0.6.13-3c8w16xp.mjs";import{eg as hJ,fg as RQ}from"./cli-0.6.13-3w1r3c0v.mjs";import{gg as PJ,hg as hQ}from"./cli-0.6.13-vkbwqnxx.mjs";import{ig as aq,jg as lJ}from"./cli-0.6.13-82datd4w.mjs";import{kg as Fq,lg as iq,mg as $J}from"./cli-0.6.13-etytm730.mjs";import{ng as WJ,og as HQ}from"./cli-0.6.13-tecj2x0d.mjs";import{$F as vq,AI as wQ,BO as iJ,Do as P,Eo as Tq,Ks as KJ,Ls as VQ,Ms as VJ,Ns as XJ,Os as XQ,PO as Aq,SO as oJ,Tu as uq,Uu as mq,Wu as pq,Xu as fJ,aG as BQ,bG as UJ,cG as FJ,dG as wJ,eG as FQ,fS as wq,go as GJ,ho as KQ,jS as sq,mS as tq,vv as g,yI as HJ,yS as nJ,yv as yQ,zI as RJ,zO as eq}from"./cli-0.6.13-2s33ahe4.mjs";import{fT as yJ,hT as NJ,kT as NQ}from"./cli-0.6.13-tbg0cceg.mjs";import{nV as BJ,rV as UQ}from"./cli-0.6.13-fkaxh655.mjs";import{QW as zJ,RW as zQ,UW as YJ,VW as YQ,bX as Mq,cX as GQ}from"./cli-0.6.13-79mne5jt.mjs";import{RX as Pq,RZ as Oq,kZ as y,mZ as Q}from"./cli-0.6.13-f67v536f.mjs";import{W1 as h,X1 as Y,Y1 as Z,Z1 as c}from"./cli-0.6.13-fy3vgkpz.mjs";import{_1 as ZQ}from"./cli-0.6.13-hxfvksxq.mjs";import{X4 as cJ,j5 as ZJ,k5 as QQ,y4 as rq}from"./cli-0.6.13-b3zncvcq.mjs";import{B_ as qQ,Gba as JQ,Kaa as gq,Laa as dJ,Oaa as xq,Waa as TJ,e_ as Iq,f8 as $,g8 as tJ,wba as QJ}from"./cli-0.6.13-hd0sd535.mjs";import{Aia as JJ,Nia as sJ}from"./cli-0.6.13-qyd73z97.mjs";import{ooa as eJ,xka as qJ}from"./cli-0.6.13-me17wefv.mjs";import{Rpa as Bq,Vpa as Uq}from"./cli-0.6.13-5qvssn7h.mjs";function _q(){let J=jq.c(2);if(!uq())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=pq();if(G.length===0){V=null;break q}let K=G.filter(pJ),X=G.filter(mJ);q=Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,color:K.length>0?"error":"warning",children:"Keybinding Configuration Issues"}),Z(y,{children:[Y(Q,{dimColor:!0,children:"Location: "}),Y(Q,{dimColor:!0,children:mq()})]}),Z(y,{marginLeft:1,flexDirection:"column",marginTop:1,children:[K.map(uJ),X.map(EJ)]})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function EJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"warning",children:"[Warning]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`warning-${q}`)}function uJ(J,q){return Z(y,{flexDirection:"column",children:[Z(y,{children:[Y(Q,{dimColor:!0,children:"└ "}),Y(Q,{color:"error",children:"[Error]"}),Z(Q,{dimColor:!0,children:[" ",J.message]})]}),J.suggestion&&Y(y,{marginLeft:3,children:Z(Q,{dimColor:!0,children:["→ ",J.suggestion]})})]},`error-${q}`)}function mJ(J){return J.severity==="warning"}function pJ(J){return J.severity==="error"}var jq;var dq=Uq(()=>{Oq();fJ();c();jq=Bq(Pq(),1)});function lq(){let J=cq.c(2);if(!P.isSupportedPlatform())return null;if(!P.isSandboxEnabledInSettings())return null;let q,V;if(J[0]===Symbol.for("react.memo_cache_sentinel")){V=Symbol.for("react.early_return_sentinel");q:{let G=P.checkDependencies(),K=G.errors.length>0,X=G.warnings.length>0;if(!K&&!X){V=null;break q}q=Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Sandbox"}),Z(Q,{children:["└ Status: ",Y(Q,{color:K?"error":"warning",children:K?"Missing dependencies":"Available (with warnings)"})]}),G.errors.map(_J),G.warnings.map(jJ),K&&Y(Q,{dimColor:!0,children:"└ Run /sandbox for install instructions"})]})}J[0]=q,J[1]=V}else q=J[0],V=J[1];if(V!==Symbol.for("react.early_return_sentinel"))return V;return q}function jJ(J,q){return Z(Q,{color:"warning",children:["└ ",J]},q)}function _J(J,q){return Z(Q,{color:"error",children:["└ ",J]},q)}var cq;var $q=Uq(()=>{Oq();Tq();c();cq=Bq(Pq(),1)});async function gJ(){let J=tq(await sq());if(J.length===0)return null;let q=J.sort((G,K)=>K.content.length-G.content.length).map((G)=>`${G.path}: ${G.content.length.toLocaleString()} chars`);return{type:"claudemd_files",severity:"warning",message:J.length===1?`Large CLAUDE.md file detected (${J[0].content.length.toLocaleString()} chars > ${wq.toLocaleString()})`:`${J.length} large CLAUDE.md files detected (each > ${wq.toLocaleString()} chars)`,details:q,currentValue:J.length,threshold:wq}}async function xJ(J){if(!J)return null;let q=iq(J);if(q<=Fq)return null;let V=J.activeAgents.filter((K)=>K.source!=="built-in").map((K)=>{let X=`${K.agentType}: ${K.whenToUse}`;return{name:K.agentType,tokens:Aq(X)}}).sort((K,X)=>X.tokens-K.tokens),G=V.slice(0,5).map((K)=>`${K.name}: ~${K.tokens.toLocaleString()} tokens`);if(V.length>5)G.push(`(${V.length-5} more custom agents)`);return{type:"agent_descriptions",severity:"warning",message:`Large agent descriptions (~${q.toLocaleString()} tokens > ${Fq.toLocaleString()})`,details:G,currentValue:q,threshold:Fq}}async function rJ(J,q,V){let G=J.filter((K)=>K.isMcp);if(G.length===0)return null;try{let K=rq(),{mcpToolTokens:X,mcpToolDetails:B}=await eq(J,q,V,K);if(X<=l)return null;let U=new Map;for(let R of B){let x=R.name.split("__")[1]||"unknown",N=U.get(x)||{count:0,tokens:0};U.set(x,{count:N.count+1,tokens:N.tokens+R.tokens})}let H=Array.from(U.entries()).sort((R,F)=>F[1].tokens-R[1].tokens),z=H.slice(0,5).map(([R,F])=>`${R}: ${F.count} tools (~${F.tokens.toLocaleString()} tokens)`);if(H.length>5)z.push(`(${H.length-5} more servers)`);return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens > ${l.toLocaleString()})`,details:z,currentValue:X,threshold:l}}catch(K){let X=G.reduce((B,U)=>{let H=(U.name?.length||0)+U.description.length;return B+Aq(H.toString())},0);if(X<=l)return null;return{type:"mcp_tools",severity:"warning",message:`Large MCP tools context (~${X.toLocaleString()} tokens estimated > ${l.toLocaleString()})`,details:[`${G.length} MCP tools detected (token count estimated)`],currentValue:X,threshold:l}}}async function aJ(J){let q=await J(),V=P.isSandboxingEnabled()&&P.isAutoAllowBashIfSandboxedEnabled(),G=aq(q,{sandboxAutoAllowEnabled:V});if(G.length===0)return null;let K=G.flatMap((X)=>[`${gq(X.rule.ruleValue)}: ${X.reason}`,` Fix: ${X.fix}`]);return{type:"unreachable_rules",severity:"warning",message:`${G.length} ${xq(G.length,"unreachable permission rule")} detected`,details:K,currentValue:G.length,threshold:0}}async function oq(J,q,V){let[G,K,X,B]=await Promise.all([gJ(),xJ(q),rJ(J,V,q),aJ(V)]);return{claudeMdWarning:G,agentWarning:K,mcpWarning:X,unreachableRulesWarning:B}}var l=25000;var nq=Uq(()=>{oJ();iJ();nJ();cJ();dJ();lJ();Tq();$J();TJ()});import{join as bq}from"path";function LQ(J){let q=Cq.c(8),{promise:V}=J,G=w.use(V);if(!G.latest){let U;if(q[0]===Symbol.for("react.memo_cache_sentinel"))U=Y(Q,{dimColor:!0,children:"└ Failed to fetch versions"}),q[0]=U;else U=q[0];return U}let K;if(q[1]!==G.stable)K=G.stable&&Z(Q,{children:["└ Stable version: ",G.stable]}),q[1]=G.stable,q[2]=K;else K=q[2];let X;if(q[3]!==G.latest)X=Z(Q,{children:["└ Latest version: ",G.latest]}),q[3]=G.latest,q[4]=X;else X=q[4];let B;if(q[5]!==K||q[6]!==X)B=Z(h,{children:[K,X]}),q[5]=K,q[6]=X,q[7]=B;else B=q[7];return B}function pZ(J){let q=Cq.c(84),{onDone:V}=J,G=g(TQ),K=g(dQ),X=g(_Q),B=g(jQ);YJ();let U;if(q[0]!==K)U=K||[],q[0]=K,q[1]=U;else U=q[1];let H=U,[z,R]=w.useState(null),[F,x]=w.useState(null),[N,OJ]=w.useState(null),[L,kq]=w.useState(null),Hq=PJ(),r;if(q[2]===Symbol.for("react.memo_cache_sentinel"))r=vq().then(mQ),q[2]=r;else r=q[2];let AJ=r,bJ=QJ()?.autoUpdatesChannel??"latest",a;if(q[3]!==Hq)a=Hq.filter(uQ),q[3]=Hq,q[4]=a;else a=q[4];let i=a,o;if(q[5]===Symbol.for("react.memo_cache_sentinel"))o=[{name:"BASH_MAX_OUTPUT_LENGTH",default:XJ,upperLimit:VJ},{name:"TASK_MAX_OUTPUT_LENGTH",default:RJ,upperLimit:HJ},{name:"CLAUDE_CODE_MAX_OUTPUT_TOKENS",...ZJ("claude-opus-4-8")}].map(EQ).filter(fQ),q[5]=o;else o=q[5];let Dq=o,n,e;if(q[6]!==G||q[7]!==X||q[8]!==H)n=()=>{vq().then(R),(async()=>{let W=bq(JJ(),"agents"),Sq=bq(qJ(),".claudin","agents"),{activeAgents:fq,allAgents:IJ,failedFiles:Eq}=G,[MJ,vJ]=await Promise.all([Iq(W),Iq(Sq)]),CJ={activeAgents:fq.map(SQ),userAgentsDir:W,projectAgentsDir:Sq,userDirExists:MJ,projectDirExists:vJ,failedFiles:Eq};x(CJ);let kJ=await oq(H,{activeAgents:fq,allAgents:IJ,failedFiles:Eq},async()=>X);if(OJ(kJ),UJ()){let Lq=bq(BJ(),"claude","locks"),DJ=wJ(Lq),SJ=FJ(Lq);kq({enabled:!0,locks:SJ,locksDir:Lq,staleLocksCleaned:DJ})}else kq({enabled:!1,locks:[],locksDir:"",staleLocksCleaned:0})})()},e=[X,H,G],q[6]=G,q[7]=X,q[8]=H,q[9]=n,q[10]=e;else n=q[9],e=q[10];w.useEffect(n,e);let s;if(q[11]!==V)s=()=>{V("Claude Code diagnostics dismissed",{display:"system"})},q[11]=V,q[12]=s;else s=q[12];let t=s,qq;if(q[13]!==t)qq={"confirm:yes":t,"confirm:no":t},q[13]=t,q[14]=qq;else qq=q[14];let Jq;if(q[15]===Symbol.for("react.memo_cache_sentinel"))Jq={context:"Confirmation"},q[15]=Jq;else Jq=q[15];if(zJ(qq,Jq),!z){let W;if(q[16]===Symbol.for("react.memo_cache_sentinel"))W=Y(Mq,{children:Y(Q,{dimColor:!0,children:"Checking installation status…"})}),q[16]=W;else W=q[16];return W}let Qq;if(q[17]===Symbol.for("react.memo_cache_sentinel"))Qq=Y(Q,{bold:!0,children:"Diagnostics"}),q[17]=Qq;else Qq=q[17];let O;if(q[18]!==z.installationType||q[19]!==z.version)O=Z(Q,{children:["└ Currently running: ",z.installationType," (",z.version,")"]}),q[18]=z.installationType,q[19]=z.version,q[20]=O;else O=q[20];let A;if(q[21]!==z.packageManager)A=z.packageManager&&Z(Q,{children:["└ Package manager: ",z.packageManager]}),q[21]=z.packageManager,q[22]=A;else A=q[22];let b;if(q[23]!==z.installationPath)b=Z(Q,{children:["└ Path: ",z.installationPath]}),q[23]=z.installationPath,q[24]=b;else b=q[24];let I;if(q[25]!==z.invokedBinary)I=Z(Q,{children:["└ Invoked: ",z.invokedBinary]}),q[25]=z.invokedBinary,q[26]=I;else I=q[26];let M;if(q[27]!==z.configInstallMethod)M=Z(Q,{children:["└ Config install method: ",z.configInstallMethod]}),q[27]=z.configInstallMethod,q[28]=M;else M=q[28];let Rq=z.ripgrepStatus.working?"OK":"Not working",Wq=z.ripgrepStatus.mode==="embedded"?"bundled":z.ripgrepStatus.mode==="builtin"?"vendor":z.ripgrepStatus.systemPath||"system",v;if(q[29]!==Rq||q[30]!==Wq)v=Z(Q,{children:["└ Search: ",Rq," (",Wq,")"]}),q[29]=Rq,q[30]=Wq,q[31]=v;else v=q[31];let C;if(q[32]!==z.recommendation)C=z.recommendation&&Z(h,{children:[Y(Q,{}),Z(Q,{color:"warning",children:["Recommendation: ",z.recommendation.split(`
2
- `)[0]]}),Y(Q,{dimColor:!0,children:z.recommendation.split(`
3
- `)[1]})]}),q[32]=z.recommendation,q[33]=C;else C=q[33];let k;if(q[34]!==z.multipleInstallations)k=z.multipleInstallations.length>1&&Z(h,{children:[Y(Q,{}),Y(Q,{color:"warning",children:"Warning: Multiple installations found"}),z.multipleInstallations.map(DQ)]}),q[34]=z.multipleInstallations,q[35]=k;else k=q[35];let D;if(q[36]!==z.warnings)D=z.warnings.length>0&&Z(h,{children:[Y(Q,{}),z.warnings.map(kQ)]}),q[36]=z.warnings,q[37]=D;else D=q[37];let S;if(q[38]!==i)S=i.length>0&&Z(y,{flexDirection:"column",marginTop:1,marginBottom:1,children:[Y(Q,{bold:!0,children:"Invalid Settings"}),Y(LJ,{errors:i})]}),q[38]=i,q[39]=S;else S=q[39];let f;if(q[40]!==O||q[41]!==A||q[42]!==b||q[43]!==I||q[44]!==M||q[45]!==v||q[46]!==C||q[47]!==k||q[48]!==D||q[49]!==S)f=Z(y,{flexDirection:"column",children:[Qq,O,A,b,I,M,v,C,k,D,S]}),q[40]=O,q[41]=A,q[42]=b,q[43]=I,q[44]=M,q[45]=v,q[46]=C,q[47]=k,q[48]=D,q[49]=S,q[50]=f;else f=q[50];let Zq;if(q[51]===Symbol.for("react.memo_cache_sentinel"))Zq=Y(Q,{bold:!0,children:"Updates"}),q[51]=Zq;else Zq=q[51];let hq=z.packageManager?"Managed by package manager":z.autoUpdates,E;if(q[52]!==hq)E=Z(Q,{children:["└ Auto-updates:"," ",hq]}),q[52]=hq,q[53]=E;else E=q[53];let u;if(q[54]!==z.hasUpdatePermissions)u=z.hasUpdatePermissions!==null&&Z(Q,{children:["└ Update permissions:"," ",z.hasUpdatePermissions?"Yes":"No (requires sudo)"]}),q[54]=z.hasUpdatePermissions,q[55]=u;else u=q[55];let zq;if(q[56]===Symbol.for("react.memo_cache_sentinel"))zq=Z(Q,{children:["└ Auto-update channel: ",bJ]}),q[56]=zq;else zq=q[56];let Yq;if(q[57]===Symbol.for("react.memo_cache_sentinel"))Yq=Y(w.Suspense,{fallback:null,children:Y(LQ,{promise:AJ})}),q[57]=Yq;else Yq=q[57];let m;if(q[58]!==E||q[59]!==u)m=Z(y,{flexDirection:"column",children:[Zq,E,u,zq,Yq]}),q[58]=E,q[59]=u,q[60]=m;else m=q[60];let Gq,Kq,Vq,Xq;if(q[61]===Symbol.for("react.memo_cache_sentinel"))Gq=Y(lq,{}),Kq=Y(WJ,{}),Vq=Y(_q,{}),Xq=Dq.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Environment Variables"}),Dq.map(CQ)]}),q[61]=Gq,q[62]=Kq,q[63]=Vq,q[64]=Xq;else Gq=q[61],Kq=q[62],Vq=q[63],Xq=q[64];let p;if(q[65]!==L)p=L?.enabled&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Version Locks"}),L.staleLocksCleaned>0&&Z(Q,{dimColor:!0,children:["└ Cleaned ",L.staleLocksCleaned," stale lock(s)"]}),L.locks.length===0?Y(Q,{dimColor:!0,children:"└ No active version locks"}):L.locks.map(vQ)]}),q[65]=L,q[66]=p;else p=q[66];let j;if(q[67]!==F)j=F?.failedFiles&&F.failedFiles.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Agent Parse Errors"}),Z(Q,{color:"error",children:["└ Failed to parse ",F.failedFiles.length," agent file(s):"]}),F.failedFiles.map(MQ)]}),q[67]=F,q[68]=j;else j=q[68];let _;if(q[69]!==B)_=B.length>0&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"error",children:"Plugin Errors"}),Z(Q,{color:"error",children:["└ ",B.length," plugin error(s) detected:"]}),B.map(IQ)]}),q[69]=B,q[70]=_;else _=q[70];let d;if(q[71]!==N)d=N?.unreachableRulesWarning&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,color:"warning",children:"Unreachable Permission Rules"}),Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.unreachableRulesWarning.message]})]}),N.unreachableRulesWarning.details.map(bQ)]}),q[71]=N,q[72]=d;else d=q[72];let T;if(q[73]!==N)T=N&&(N.claudeMdWarning||N.agentWarning||N.mcpWarning)&&Z(y,{flexDirection:"column",children:[Y(Q,{bold:!0,children:"Context Usage Warnings"}),N.claudeMdWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.claudeMdWarning.message]})]}),Z(Q,{children:[" ","└ Files:"]}),N.claudeMdWarning.details.map(AQ)]}),N.agentWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.agentWarning.message]})]}),Z(Q,{children:[" ","└ Top contributors:"]}),N.agentWarning.details.map(OQ)]}),N.mcpWarning&&Z(h,{children:[Z(Q,{children:["└"," ",Z(Q,{color:"warning",children:[$.warning," ",N.mcpWarning.message]})]}),Z(Q,{children:[" ","└ MCP servers:"]}),N.mcpWarning.details.map(PQ)]})]}),q[73]=N,q[74]=T;else T=q[74];let yq;if(q[75]===Symbol.for("react.memo_cache_sentinel"))yq=Y(y,{children:Y(hJ,{})}),q[75]=yq;else yq=q[75];let Nq;if(q[76]!==f||q[77]!==m||q[78]!==p||q[79]!==j||q[80]!==_||q[81]!==d||q[82]!==T)Nq=Z(Mq,{children:[f,m,Gq,Kq,Vq,Xq,p,j,_,d,T,yq]}),q[76]=f,q[77]=m,q[78]=p,q[79]=j,q[80]=_,q[81]=d,q[82]=T,q[83]=Nq;else Nq=q[83];return Nq}function PQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function OQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function AQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function bQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J]},q)}function IQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.source||"unknown","plugin"in J&&J.plugin?` [${J.plugin}]`:"",":"," ",GJ(J)]},q)}function MQ(J,q){return Z(Q,{dimColor:!0,children:[" ","└ ",J.path,": ",J.error]},q)}function vQ(J,q){return Z(Q,{children:["└ ",J.version,": PID ",J.pid," ",J.isProcessRunning?Y(Q,{children:"(running)"}):Y(Q,{color:"warning",children:"(stale)"})]},q)}function CQ(J,q){return Z(Q,{children:["└ ",J.name,":"," ",Y(Q,{color:J.status==="capped"?"warning":"error",children:J.message})]},q)}function kQ(J,q){return Z(y,{flexDirection:"column",children:[Z(Q,{color:"warning",children:["Warning: ",J.issue]}),Z(Q,{children:["Fix: ",J.fix]})]},q)}function DQ(J,q){return Z(Q,{children:["└ ",J.type," at ",J.path]},q)}function SQ(J){return{agentType:J.agentType,source:J.source}}function fQ(J){return J.status!=="valid"}function EQ(J){let q=process.env[J.name],V=KJ(J.name,q,J.default,J.upperLimit);return{name:J.name,...V}}function uQ(J){return J.mcpErrorMetadata===void 0}function mQ(J){return(J.installationType==="native"?NJ:yJ)().catch(pQ)}function pQ(){return{latest:null,stable:null}}function jQ(J){return J.plugins.errors}function _Q(J){return J.toolPermissionContext}function dQ(J){return J.mcp.tools}function TQ(J){return J.agentDefinitions}var Cq,w;var cQ=Uq(()=>{tJ();dq();HQ();QQ();sJ();eJ();GQ();RQ();$q();WQ();hQ();YQ();Oq();zQ();yQ();KQ();NQ();nq();BQ();VQ();qQ();FQ();JQ();XQ();wQ();UQ();c();Cq=Bq(Pq(),1),w=Bq(ZQ(),1)});
4
- export{pZ as ag,cQ as bg};
@@ -1,8 +0,0 @@
1
- import{Ra as b}from"./cli-0.6.13-e3h2z83b.mjs";import{$e as zK,ef as dK}from"./cli-0.6.13-sa8gmxxv.mjs";import{AK as pK,Am as rz,BS as j,Cm as bK,DS as uK,Do as M,Eo as vK,Ew as xK,Go as iz,Ko as SK,PK as ez,RK as cK,_N as Ez,gJ as wz,hO as FK,mA as oz,oA as sz,oJ as MK,pA as fK,qI as hK,rI as mK,xw as Cz,zK as tz}from"./cli-0.6.13-2s33ahe4.mjs";import{EX as AK,FX as Qz,GX as GK,zX as Kz}from"./cli-0.6.13-f67v536f.mjs";import{E4 as Uz,E6 as xz,F4 as lz,L4 as Dz,P2 as U,Q4 as I,S4 as _z,U2 as O,X4 as k,g5 as nz,k5 as jK,q6 as Tz,s6 as Mz,u6 as R}from"./cli-0.6.13-b3zncvcq.mjs";import{$6 as _K,_6 as G}from"./cli-0.6.13-g65dfg11.mjs";import{Aba as Jz,Cca as Wz,Dca as Bz,E_ as t,Eca as az,Gba as _,J_ as LK,P_ as e,Q8 as $z,Rca as L,S8 as TK,T_ as UK,Z8 as cz,__ as zz,a$ as DK,k8 as Zz,l8 as RK,n9 as dz,nca as gz,nea as V,rba as q,s8 as T,tba as H,tca as $,u8 as CK,u9 as EK,vba as uz,vea as A,wba as S,wca as W,xba as kz}from"./cli-0.6.13-hd0sd535.mjs";import{Xea as E,afa as kK}from"./cli-0.6.13-s9rv2pr3.mjs";import{fga as pz,gga as PK}from"./cli-0.6.13-gpb93cvz.mjs";import{Vga as Z,Yga as N}from"./cli-0.6.13-prh9py3z.mjs";import{Eha as r,Gha as WK,Hha as i,Kha as o,Oha as BK}from"./cli-0.6.13-dada1afp.mjs";import{eia as s,fia as NK}from"./cli-0.6.13-05yxsqtw.mjs";import{qia as y,sia as n,xia as VK}from"./cli-0.6.13-ze0ah657.mjs";import{Cia as C,Dia as v,Fia as hz,Lia as mz,Nia as yK}from"./cli-0.6.13-qyd73z97.mjs";import{Cla as Iz,Dla as bz,Ela as Oz,Gla as vz,Qma as l,ema as Sz,ika as F,mka as JK,ooa as w,qma as fz,xma as a}from"./cli-0.6.13-me17wefv.mjs";import{Spa as wK}from"./cli-0.6.13-5qvssn7h.mjs";_K();AK();w();DK();VK();BK();LK();A();NK();UK();JK();WK();GK();import{readFileSync as IK}from"node:fs";var OK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function ZQ(){let z=zz()?OK:g,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&g.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function $Q(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function qQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function Xz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!t(z))process.stderr.write(G.red(`Error: Invalid JSON provided to --settings
2
- `)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),r(X,z,"utf8")}else{let{resolvedPath:Y}=i(o(),K);try{IK(Y,"utf8")}catch(J){if(n(J))process.stderr.write(G.red(`Error: Settings file not found: ${Y}
3
- `)),process.exit(1);throw J}X=Y}a(X),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing settings: ${y(z)}
4
- `)),process.exit(1)}}function Yz(K){try{let z=e(K);l(z),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing --setting-sources: ${y(z)}
5
- `)),process.exit(1)}}async function HQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(J)=>{Q+=J};process.stdin.on("data",X);let Y=await s(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
6
- `);return[K,Q].filter(Boolean).join(`
7
- `)}return K}kK();uK();N();bK();L();jK();CK();yK();EK();RK();TK();async function qz(){if(!await $z("gh"))return"not_installed";let{exitCode:z}=await Zz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}A();k();pK();SK();cK();N();L();A();_();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=q("userSettings")||{};H("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("tengu_migrate_autoupdates_to_settings",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",$((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("tengu_migrate_autoupdates_error",{has_error:!0})}}N();L();A();_();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())H("userSettings",{skipDangerousModePermissionPrompt:!0});Z("tengu_migrate_bypass_permissions_accepted",{}),$((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){V(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}N();L();A();_();function Nz(){let K=Wz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=q("localSettings")||{},J={},B=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,B.push("enableAllProjectMcpServers");else if(z)B.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let D=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...D,...K.enabledMcpjsonServers])],B.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let D=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...D,...K.disabledMcpjsonServers])],B.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)H("localSettings",J);if(B.includes("enableAllProjectMcpServers")||B.includes("enabledMcpjsonServers")||B.includes("disabledMcpjsonServers"))Bz((D)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:h,disabledMcpjsonServers:m,...x}=D;return x});Z("tengu_migrate_mcp_approval_fields_success",{migratedCount:B.length})}catch(Y){V(Y),Z("tengu_migrate_mcp_approval_fields_error",{})}}N();L();k();O();_();function Lz(){if(U()!=="firstParty")return;if(!_z())return;let K=q("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;H("userSettings",{model:"opus"}),$((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("tengu_legacy_opus_migration",{from_model:K})}N();k();_();function Az(){if(!Dz())return;if(q("userSettings")?.model!=="opus")return;let z="opus[1m]",Q=I(z)===I(Uz())?void 0:z;H("userSettings",{model:Q}),Z("tengu_opus_to_opus1m_migration",{})}L();function Gz(){$((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}w();L();O();_();function Rz(){if(U()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(q("userSettings")?.model==="sonnet[1m]")H("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Iz()==="sonnet[1m]")Oz("sonnet-4-5-20250929[1m]");$((X)=>({...X,sonnet1m45MigrationComplete:!0}))}N();xz();L();O();_();function Fz(){if(U()!=="firstParty")return;if(!R()&&!Tz()&&!Mz())return;let K=q("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if(H("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)$((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("tengu_sonnet45_to_46_migration",{from_model:K,has_1m:z})}N();L();A();MK();_();function yz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(wz()!=="enabled")return;try{let z=q("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")H("userSettings",{skipAutoPermissionPrompt:void 0}),Z("tengu_migrate_reset_auto_opt_in_for_default_offer",{});$((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}N();xz();L();O();_();function Pz(){if(W().opusProMigrationComplete)return;if(U()!=="firstParty"||!R()){$((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!0});return}if(kz()?.model===void 0){let X=Date.now();$((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!1})}else $((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!0})}dK();vK();w();PK();_();FK();N();xK();async function jz(K,z){let Q=await Ez(K),X=Cz(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("tengu_skill_loaded",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}fK();function nX(){try{let K=q("policySettings");if(K){let z=uz(K);Z("tengu_managed_settings_loaded",{keyCount:z.length,keys:z.join(",")})}}catch{}}function rX(){let K=I(bz()??lz());jz(pz(),nz(K,vz())),ez().then(({enabled:z,errors:Q})=>{let X=tz();oz(z,X,iz()),sz(Q,X)}).catch((z)=>V(z))}function gK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDE_CODE_CLIENT_CERT)K.has_client_cert=!0;if(C("--use-system-ca"))K.has_use_system_ca=!0;if(C("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function iX(){if(rz())return;let[K,z,Q]=await Promise.all([cz(),dz(),qz()]);Z("tengu_startup_telemetry",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:M.isSandboxingEnabled(),are_unsandboxed_commands_allowed:M.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:M.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:az(),prefers_reduced_motion:S().prefersReducedMotion??!1,...gK()})}var P=11;function oX(){if(W().migrationVersion!==P)Hz(),Vz(),Nz(),Pz(),Rz(),Lz(),Fz(),Az(),Gz(),yz(),$((K)=>K.migrationVersion===P?K:{...K,migrationVersion:P});zK().catch(()=>{})}function sX(){if(Sz()){T("info","prefetch_system_context_non_interactive"),j();return}if(gz())T("info","prefetch_system_context_has_trust"),j();else T("info","prefetch_system_context_skipped_no_trust")}function tX(){E("eagerLoadSettings_start");let K=b("--settings");if(K)Xz(K);let z=b("--setting-sources");if(z!==void 0)Yz(z);E("eagerLoadSettings_end")}function eX(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(v(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function zY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktreeEnabled:x,skipWebFetchPreflight:KK,githubActionInputs:p,dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,allowDangerouslySkipPermissionsPassed:ZK,systemPromptFlag:c,appendSystemPromptFlag:d,thinkingConfig:$K,assistantActivationPath:u,isCoordinator:qK}){try{Z("tengu_init",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktree:x,skipWebFetchPreflight:KK,...p&&{githubActionInputs:p},dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,inProtectedNamespace:mz(),allowDangerouslySkipPermissionsPassed:ZK,thinkingType:$K.type,...c&&{systemPromptFlag:c},...d&&{appendSystemPromptFlag:d},is_simple:hz()||void 0,is_coordinator:qK||void 0,...u&&{assistantActivationPath:u},autoUpdatesChannel:S().autoUpdatesChannel??"latest"})}catch(HK){V(HK)}}function KY(K){}function QY(K){return}
8
- export{ZQ as x,$Q as y,qQ as z,HQ as A,nX as B,rX as C,iX as D,oX as E,sX as F,tX as G,eX as H,zY as I,KY as J,QY as K};
@@ -1,2 +0,0 @@
1
- import{Dia as B,Eia as H,Nia as V}from"./cli-0.6.13-qyd73z97.mjs";import{Vpa as Q}from"./cli-0.6.13-5qvssn7h.mjs";function $(){let q=process.env.CLAUDIN_NERD_FONT;if(B(q))return!0;if(H(q))return!1;let z=process.env.TERM_PROGRAM;if(z&&W.has(z))return!0;let J=process.env.TERM?.toLowerCase()??"";if(X.some((K)=>J.includes(K)))return!0;return!1}var W,X;var Y=Q(()=>{V();W=new Set(["ghostty","kitty","WezTerm","iTerm.app","WarpTerminal"]),X=["kitty","ghostty","wezterm"]});
2
- export{$ as yh,Y as zh};
@@ -1,3 +0,0 @@
1
- import{Rca as R,w8 as Q,wca as P,y8 as M}from"./cli-0.6.13-hd0sd535.mjs";import{$ha as C,Yha as G}from"./cli-0.6.13-dada1afp.mjs";import{Vpa as j}from"./cli-0.6.13-5qvssn7h.mjs";import{promises as I}from"node:fs";import{homedir as y}from"node:os";import K from"node:path";function O(q){let z;try{z=new URL(q)}catch(A){throw Error(`Invalid URL format: ${q}`)}if(z.protocol!=="http:"&&z.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${z.protocol}`)}async function g(q){try{let z=process.platform;if(z==="win32"){let{code:V}=await Q("explorer",[q]);return V===0}let A=z==="darwin"?"open":"xdg-open",{code:J}=await Q(A,[q]);return J===0}catch(z){return!1}}function U(){let q=process.env.XDG_DATA_HOME&&process.env.XDG_DATA_HOME.length>0?process.env.XDG_DATA_HOME:K.join(y(),".local","share");return[K.join(q,"applications"),"/usr/local/share/applications","/usr/share/applications","/var/lib/snapd/desktop/applications","/var/lib/flatpak/exports/share/applications"]}function k(q){let z=q.split(`
2
- `),A=!1;for(let J of z){let V=J.trim();if(V.startsWith("[")){A=V==="[Desktop Entry]";continue}if(!A)continue;if(!V.startsWith("Exec="))continue;let $=V.slice(5).replace(S,"").replace(/%%/g,"%").trim();if($.length===0)return null;let Y=$.match(/^"([^"]+)"|^(\S+)/);if(!Y)return null;return Y[1]??Y[2]??null}return null}async function L(q){for(let z of U()){let A=K.join(z,q);try{return await I.readFile(A,"utf8")}catch(J){}}return null}async function _(q){let{code:z}=await Q("which",[q],{timeout:X,useCwd:!1});return z===0}async function N(){let{code:q,stdout:z}=await Q("xdg-settings",["get","default-web-browser"],{timeout:X,useCwd:!1});if(q!==0)return null;let A=z.trim();if(A.length===0||!A.endsWith(".desktop"))return null;let J=await L(A);if(J==null)return null;return k(J)}async function B(){for(let q of v)if(await _(q))return q;return null}async function m(){if(Z!==void 0)return Z;try{let q=await N();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await B();return Z=q,q}catch(q){return G(`browser: probe list failed: ${String(q)}`),Z=null,null}}async function W(q,z){let{code:A}=await Q(q,[z]);return A===0}async function w(q){try{O(q);let z=process.env.BROWSER,A=process.platform;if(A==="win32"){if(z){let{code:H}=await Q(z,[`"${q}"`]);return H===0}let{code:Y}=await Q("rundll32",["url,OpenURL",q],{});return Y===0}if(A==="darwin"){let Y=z||"open",{code:H}=await Q(Y,[q]);return H===0}if(z){if(await W(z,q))return!0}let J;try{J=P().oauthBrowser}catch(Y){G(`browser: failed to read oauthBrowser setting: ${String(Y)}`)}if(J&&J.length>0){if(await W(J,q))return!0}let V=await m();if(V){if(await W(V,q))return!0}let{code:$}=await Q("xdg-open",[q]);return $===0}catch(z){return!1}}var S,v,X=2000,Z=void 0;var f=j(()=>{M();C();R();S=/%[fFuUdDnNickvm]/g,v=["brave-browser","brave","firefox","chromium","google-chrome","microsoft-edge"]});
3
- export{g as u2,w as v2,f as w2};
@@ -1,2 +0,0 @@
1
- import{RP as R,Zl as W,am as P,dk as Q,ek as I,hP as Y}from"./cli-0.6.13-2s33ahe4.mjs";import{yea as B,zea as f}from"./cli-0.6.13-s9rv2pr3.mjs";import{Kga as F,nga as H,oga as J}from"./cli-0.6.13-gpb93cvz.mjs";import{ooa as $,rka as v}from"./cli-0.6.13-me17wefv.mjs";import{Vpa as Z}from"./cli-0.6.13-5qvssn7h.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 Oe,V as Pe,X as Qe,r as Re,w as Se,T as Te,G as Ue};
@@ -1,3 +0,0 @@
1
- import{Kpa as x,Mpa as y,Qpa as C}from"./cli-0.6.13-27ey3345.mjs";import{Tpa as k}from"./cli-0.6.13-5qvssn7h.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
2
- `));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
3
- export{MF as Q7};
@@ -1,2 +0,0 @@
1
- import{s8 as B,u8 as p}from"./cli-0.6.13-hd0sd535.mjs";import{Vga as C,Yga as y}from"./cli-0.6.13-prh9py3z.mjs";import{$ha as M,Cha as T,Gha as x,Yha as V}from"./cli-0.6.13-dada1afp.mjs";import{qia as L,xia as c}from"./cli-0.6.13-ze0ah657.mjs";y();M();p();c();x();function N(W){if(W<60000)return`${Math.round(W/1000)}s`;let Z=Math.floor(W/60000),z=Math.round(W%60000/1000);return z>0?`${Z}m ${z}s`:`${Z}m`}function h(W){let z=(W.startsWith("sk-ant-si-")?W.slice(10):W).split(".");if(z.length!==3||!z[1])return null;try{return T(Buffer.from(z[1],"base64url").toString("utf8"))}catch{return null}}function E(W){let Z=h(W);if(Z!==null&&typeof Z==="object"&&"exp"in Z&&typeof Z.exp==="number")return Z.exp;return null}var F=300000,j=1800000,H=3,R=60000;function I({getAccessToken:W,onRefresh:Z,label:z,refreshBufferMs:P=F}){let O=new Map,v=new Map,w=new Map;function U(q){let Q=(w.get(q)??0)+1;return w.set(q,Q),Q}function A(q,Q){let $=E(Q);if(!$){V(`[${z}:token] Could not decode JWT expiry for sessionId=${q}, token prefix=${Q.slice(0,15)}…, keeping existing timer`);return}let X=O.get(q);if(X)clearTimeout(X);let J=U(q),Y=new Date($*1000).toISOString(),G=$*1000-Date.now()-P;if(G<=0){V(`[${z}:token] Token for sessionId=${q} expires=${Y} (past or within buffer), refreshing immediately`),K(q,J);return}V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(G)} (expires=${Y}, buffer=${P/1000}s)`);let k=setTimeout(K,G,q,J);O.set(q,k)}function D(q,Q){let $=O.get(q);if($)clearTimeout($);let X=U(q),J=Math.max(Q*1000-P,30000);V(`[${z}:token] Scheduled token refresh for sessionId=${q} in ${N(J)} (expires_in=${Q}s, buffer=${P/1000}s)`);let Y=setTimeout(K,J,q,X);O.set(q,Y)}async function K(q,Q){let $;try{$=await W()}catch(J){V(`[${z}:token] getAccessToken threw for sessionId=${q}: ${L(J)}`,{level:"error"})}if(w.get(q)!==Q){V(`[${z}:token] doRefresh for sessionId=${q} stale (gen ${Q} vs ${w.get(q)}), skipping`);return}if(!$){let J=(v.get(q)??0)+1;if(v.set(q,J),V(`[${z}:token] No OAuth token available for refresh, sessionId=${q} (failure ${J}/${H})`,{level:"error"}),B("error","bridge_token_refresh_no_oauth"),J<H){let Y=setTimeout(K,R,q,Q);O.set(q,Y)}return}v.delete(q),V(`[${z}:token] Refreshing token for sessionId=${q}: new token prefix=${$.slice(0,15)}…`),C("tengu_bridge_token_refreshed",{}),Z(q,$);let X=setTimeout(K,j,q,Q);O.set(q,X),V(`[${z}:token] Scheduled follow-up refresh for sessionId=${q} in ${N(j)}`)}function S(q){U(q);let Q=O.get(q);if(Q)clearTimeout(Q),O.delete(q);v.delete(q)}function _(){for(let q of w.keys())U(q);for(let q of O.values())clearTimeout(q);O.clear(),v.clear()}return{schedule:A,scheduleFromExpiresIn:D,cancel:S,cancelAll:_}}
2
- export{E as ub,I as vb};
@@ -1,2 +0,0 @@
1
- import{yi as W,zi as B}from"./cli-0.6.13-q4spcjyn.mjs";import{X1 as U,Z1 as J}from"./cli-0.6.13-fy3vgkpz.mjs";import{v2 as V,w2 as v}from"./cli-0.6.13-p5xafpx4.mjs";import{E6 as $,d3 as N,e3 as _,e6 as Q,j6 as R}from"./cli-0.6.13-b3zncvcq.mjs";import{nea as K,vea as Z}from"./cli-0.6.13-hd0sd535.mjs";import{Vpa as Y}from"./cli-0.6.13-5qvssn7h.mjs";async function w(y,X){try{if(R()){let q=Q(),z=!1;if(q?.subscriptionType&&q?.rateLimitTier)z=q.subscriptionType==="max"&&q.rateLimitTier==="default_claude_max_20x";else if(q?.accessToken){let H=await N(q.accessToken);z=H?.organization?.organization_type==="claude_max"&&H?.organization?.rate_limit_tier==="default_claude_max_20x"}if(z)return setTimeout(y,0,"You are already on the highest Max subscription plan. For additional usage, run /login to switch to an API usage-billed account."),null}return await V("https://claude.ai/upgrade/max"),U(W,{startingMessage:"Starting new login following /upgrade. Exit with Ctrl-C to use existing account.",onDone:(q)=>{X.onChangeAPIKey(),y(q?"Login successful":"Login interrupted")}})}catch(G){K(G),setTimeout(y,0,"Failed to open browser. Please visit https://claude.ai/upgrade/max to upgrade.")}return null}var E=Y(()=>{_();$();v();Z();B();J()});
2
- export{w as Ub,E as Vb};
@@ -1,2 +0,0 @@
1
- import{Upa as n,Vpa as o}from"./cli-0.6.13-5qvssn7h.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
2
- export{i as Vga,c as Wga,p as Xga,u as Yga};
@@ -1,2 +0,0 @@
1
- import{Fo as Z,Ko as G}from"./cli-0.6.13-2s33ahe4.mjs";import{nea as X,vea as R}from"./cli-0.6.13-hd0sd535.mjs";import{$ha as O,Bha as v,Cha as B,Gha as A,Kha as C,Oha as M,Yha as U}from"./cli-0.6.13-dada1afp.mjs";import{Vpa as b}from"./cli-0.6.13-5qvssn7h.mjs";import{randomBytes as L}from"crypto";import{readFile as N,rename as S,unlink as T,writeFile as _}from"fs/promises";import{join as E}from"path";function Y(){return E(Z(),j)}function k(q){let x=B(q);if(typeof x!=="object"||x===null||!("plugins"in x)||typeof x.plugins!=="object"||x.plugins===null)return{};let z=x.plugins,J={};for(let[Q,K]of Object.entries(z))if(K&&typeof K==="object"&&"flaggedAt"in K&&typeof K.flaggedAt==="string"){let $={flaggedAt:K.flaggedAt};if("seenAt"in K&&typeof K.seenAt==="string")$.seenAt=K.seenAt;J[Q]=$}return J}async function V(){try{let q=await N(Y(),{encoding:"utf-8"});return k(q)}catch{return{}}}async function W(q){let x=Y(),z=`${x}.${L(8).toString("hex")}.tmp`;try{await C().mkdir(Z());let J=v({plugins:q},null,2);await _(z,J,{encoding:"utf-8",mode:384}),await S(z,x),H=q}catch(J){X(J);try{await T(z)}catch{}}}async function o(){let q=await V(),x=Date.now(),z=!1;for(let[J,Q]of Object.entries(q))if(Q.seenAt&&x-new Date(Q.seenAt).getTime()>=f)delete q[J],z=!0;if(H=q,z)await W(q)}function c(){return H??{}}async function p(q){if(H===null)H=await V();let x={...H,[q]:{flaggedAt:new Date().toISOString()}};await W(x),U(`Flagged plugin: ${q}`)}async function d(q){if(H===null)H=await V();let x=new Date().toISOString(),z=!1,J={...H};for(let Q of q){let K=J[Q];if(K&&!K.seenAt)J[Q]={...K,seenAt:x},z=!0}if(z)await W(J)}async function g(q){if(H===null)H=await V();if(!(q in H))return;let{[q]:x,...z}=H;H=z,await W(z)}var j="flagged-plugins.json",f=172800000,H=null;var w=b(()=>{O();M();R();A();G()});
2
- export{o as nd,c as od,p as pd,d as qd,g as rd,w as sd};
@@ -1,2 +0,0 @@
1
- import{Cb as Y}from"./cli-0.6.13-tsz6mx5f.mjs";import{ZU as N,_U as C}from"./cli-0.6.13-ywdbvmgd.mjs";import{hea as A,jea as w}from"./cli-0.6.13-hd0sd535.mjs";import{Vga as B,Yga as k}from"./cli-0.6.13-prh9py3z.mjs";import{$ha as j,Cha as L,Gha as E,Yha as W}from"./cli-0.6.13-dada1afp.mjs";import{qia as G,xia as K}from"./cli-0.6.13-ze0ah657.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 wb,q as xb,p as yb,g as zb,d as Ab,R as Bb};
@@ -1,2 +0,0 @@
1
- import{Jn as M,Kn as G,xF as A,zF as O}from"./cli-0.6.13-2s33ahe4.mjs";import{RX as U,RZ as W,kZ as w,mZ as d,qZ as v}from"./cli-0.6.13-f67v536f.mjs";import{X1 as i,Y1 as a,Z1 as S}from"./cli-0.6.13-fy3vgkpz.mjs";import{_1 as N}from"./cli-0.6.13-hxfvksxq.mjs";import{Dca as I,Rca as P}from"./cli-0.6.13-hd0sd535.mjs";import{Vga as h,Yga as L}from"./cli-0.6.13-prh9py3z.mjs";import{Rpa as b,Vpa as B}from"./cli-0.6.13-5qvssn7h.mjs";function V(t){let e=T.c(18),{onDone:g,isStandaloneDialog:D,externalIncludes:r}=t,s;if(e[0]===Symbol.for("react.memo_cache_sentinel"))s=[],e[0]=s;else s=e[0];k.default.useEffect(q,s);let c;if(e[1]!==g)c=(E)=>{if(E==="no")h("tengu_claude_md_external_includes_dialog_declined",{}),I($);else h("tengu_claude_md_external_includes_dialog_accepted",{}),I(Y);g()},e[1]=g,e[2]=c;else c=e[2];let l=c,u;if(e[3]!==l)u=()=>{l("no")},e[3]=l,e[4]=u;else u=e[4];let y=u,C=!D,x=!D,m;if(e[5]===Symbol.for("react.memo_cache_sentinel"))m=i(d,{children:"This project's CLAUDE.md imports files outside the current working directory. Never allow this for third-party repositories."}),e[5]=m;else m=e[5];let o;if(e[6]!==r)o=r&&r.length>0&&a(w,{flexDirection:"column",children:[i(d,{dimColor:!0,children:"External imports:"}),r.map(R)]}),e[6]=r,e[7]=o;else o=e[7];let p;if(e[8]===Symbol.for("react.memo_cache_sentinel"))p=a(d,{dimColor:!0,children:["Important: Only use Claudin with files you trust. Accessing untrusted files may pose security risks"," ",i(v,{url:"https://code.claude.com/docs/en/security"})," "]}),e[8]=p;else p=e[8];let f;if(e[9]===Symbol.for("react.memo_cache_sentinel"))f=[{label:"Yes, allow external imports",value:"yes"},{label:"No, disable external imports",value:"no"}],e[9]=f;else f=e[9];let n;if(e[10]!==l)n=i(A,{options:f,onChange:(E)=>l(E)}),e[10]=l,e[11]=n;else n=e[11];let _;if(e[12]!==y||e[13]!==n||e[14]!==C||e[15]!==x||e[16]!==o)_=a(M,{title:"Allow external CLAUDE.md file imports?",color:"warning",onCancel:y,hideBorder:C,hideInputGuide:x,children:[m,o,p,n]}),e[12]=y,e[13]=n,e[14]=C,e[15]=x,e[16]=o,e[17]=_;else _=e[17];return _}function R(t,e){return a(d,{dimColor:!0,children:[" ",t.path]},e)}function Y(t){return{...t,hasClaudeMdExternalIncludesApproved:!0,hasClaudeMdExternalIncludesWarningShown:!0}}function $(t){return{...t,hasClaudeMdExternalIncludesApproved:!1,hasClaudeMdExternalIncludesWarningShown:!0}}function q(){h("tengu_claude_md_includes_dialog_shown",{})}var T,k;var z=B(()=>{L();W();P();O();G();S();T=b(U(),1),k=b(N(),1)});
2
- export{V as Bg,z as Cg};
@@ -1,2 +0,0 @@
1
- import{Vpa as o}from"./cli-0.6.13-5qvssn7h.mjs";var n=()=>null,e;var t=o(()=>{e=n});
2
- export{e as yi,t as zi};
@@ -1,2 +0,0 @@
1
- import{sc as l,tc as m,wc as u,xc as y}from"./cli-0.6.13-gkfcc3c2.mjs";import{xF as p,zF as b}from"./cli-0.6.13-2s33ahe4.mjs";import{RZ as C,kZ as s,mZ as e}from"./cli-0.6.13-f67v536f.mjs";import{X1 as i,Y1 as r,Z1 as g}from"./cli-0.6.13-fy3vgkpz.mjs";import{_1 as M}from"./cli-0.6.13-hxfvksxq.mjs";import{Rpa as h,Vpa as f}from"./cli-0.6.13-5qvssn7h.mjs";function T({enabled:c,onDismiss:a}){let[n,t]=k.useState(()=>c?{kind:"prompt"}:{kind:"hidden"});if(!c||n.kind==="hidden")return null;if(n.kind==="running")return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),i(e,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(n.kind==="success"||n.kind==="error"){let d=n.kind==="success"?"success":"warning",o=n.kind==="success"?"Migration complete":"Migration finished with warnings";return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:d,bold:!0,children:o}),i(e,{children:m(n.report)})]})}return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),i(e,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),i(p,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(d)=>{if(d==="skip"){u(),t({kind:"hidden"}),a?.("skipped");return}t({kind:"running"}),(async()=>{let o=await l();t({kind:o.errors.length===0?"success":"error",report:o}),a?.("migrated")})()},onCancel:()=>{t({kind:"hidden"}),a?.("skipped")},visibleOptionCount:2})]})}var k;var w=f(()=>{C();y();b();g();k=h(M(),1)});
2
- export{T as qc,w as rc};
@@ -1,2 +0,0 @@
1
- import{Vpa as s}from"./cli-0.6.13-5qvssn7h.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/0.6.13 (${e}${n}${t})`}var r=()=>{};
2
- export{c as f2,i as g2,r as h2};
@@ -1,4 +0,0 @@
1
- import{Ki as cJ,UP as UJ,pJ as DJ,qJ as BJ,rJ as lJ,rQ as jJ,sQ as $V,vo as IJ,xo as pJ}from"./cli-0.6.13-2s33ahe4.mjs";import{D9 as NJ,Gba as uJ,H9 as gJ,Rca as hJ,T8 as WJ,Y8 as l,nea as G,u9 as mJ,vea as dJ,wba as m,wca as YJ,x8 as p,y8 as fJ}from"./cli-0.6.13-hd0sd535.mjs";import{fga as U,gga as PJ}from"./cli-0.6.13-gpb93cvz.mjs";import{Vga as f,Yga as SJ}from"./cli-0.6.13-prh9py3z.mjs";import{$ha as kJ,Kha as VJ,Oha as bJ,Yha as Q}from"./cli-0.6.13-dada1afp.mjs";import{qia as JJ,xia as yJ}from"./cli-0.6.13-ze0ah657.mjs";import{nka as qJ,oka as zJ}from"./cli-0.6.13-me17wefv.mjs";import{Rpa as wJ,Vpa as _J}from"./cli-0.6.13-5qvssn7h.mjs";class c{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let X=0;X<J.length;X++){let _=J[X];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if((X&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let $=!0;for(let X=0;X<V.length;X++)if(this.indexPath(X),(X&255)===255&&performance.now()-Y>4){if(this.readyCount=X+1,$)W(),$=!1;await b(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=LJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let $=W.charCodeAt(Y);if($>=97&&$<=122)V|=1<<$-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),$=Array(Y),X=0;for(let M=0;M<Y;M++){let B=V.charAt(M);$[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)X|=1<<E-97}let _=Y*24+8+32,H=[],N=-1/0,{paths:I,lowerPaths:q,charBits:x,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((x[M]&X)!==X)continue;let B=Z?I[M]:q[M],E=B.indexOf($[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let A=1;A<Y;A++){if(E=B.indexOf($[A],h+1),E===-1)continue J;y[A]=E;let F=E-h-1;if(F===0)u+=4;else C+=3+F*1;h=E}if(H.length===W&&_+u-C<=N)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,y[A],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=H[0].fuzzScore}else if(T>N){let A=0,F=H.length;while(A<F){let d=A+F>>1;if(H[d].fuzzScore<T)A=d+1;else F=d}H.splice(A,0,{path:S,fuzzScore:T}),H.shift(),N=H[0].fuzzScore}}H.sort((M,B)=>B.fuzzScore-M.fuzzScore);let D=H.length,w=Math.max(D,1),z=Array(D);for(let M=0;M<D;M++){let B=H[M].path,E=M/w,C=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:C}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(RJ(V))return 8;if(GJ(V)&&CJ(J.charCodeAt(W)))return 6;return 0}function RJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function CJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function LJ(J,W){let Z=new Set;for(let Y of J){let $=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){$=_;break}}let X=Y.slice(0,$);if(X.length>0){if(Z.add(X),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,$)=>{let X=Y.length-$.length;if(X!==0)return X;return Y<$?-1:Y>$?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var QJ=4,y;var MJ=_J(()=>{y=new Int32Array(64)});import{statSync as nJ}from"fs";import*as O from"path";function n(){if(!K)K=new c;return K}function vV(){K=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let $=J[Y];for(let X=0;X<$.length;X++)V=(V^$.charCodeAt(X))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let $=0;$<Y.length;$++)V=(V^Y.charCodeAt($))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function sJ(){let J=WJ(U());if(!J)return null;try{return nJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function OJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function oJ(J){if(J.length===0)return;if(!K||L.length===0)return;let W=await FJ(J),Z=[...L,...$J,...XJ,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function EJ(J,W){let Z=`${J}:${W}`;if(o===Z)return s;let V=VJ(),Y=[".ignore",".rgignore"],$=[...new Set([J,W])],X=KJ.default(),_=!1,H=$.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(H.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;X.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[q]}`)}let I=_?X:null;return s=I,o=Z,I}async function aJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(U());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=U(),$=Date.now(),X=await p(l(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-$}ms`),X.code!==0)return Q(`[FileIndex] git ls-files failed (code=${X.code}, stderr=${X.stderr}), falling back to ripgrep`),null;let _=X.stdout.trim().split(`
2
- `).filter(Boolean),H=OJ(_,V,Y),N=await EJ(V,Y);if(N){let q=H.length;H=N.filter(H),Q(`[FileIndex] applied ignore patterns: ${q} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=R;k=p(l(),q,{timeout:1e4,cwd:V}).then(async(j)=>{if(x!==R)return;if(j.code===0){let g=j.stdout.trim().split(`
3
- `).filter(Boolean),D=OJ(g,V,Y),w=await EJ(V,Y);if(w&&D.length>0){let z=D.length;D=w.filter(D),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${D.length} files`)}Q(`[FileIndex] background untracked fetch: ${D.length} files`),oJ(D)}}).catch((j)=>{Q(`[FileIndex] background untracked fetch failed: ${j}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${JJ(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(iJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>QJ)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function iJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let $=O.dirname(J[Y]);while($!=="."&&!V.has($)){let X=O.dirname($);if(X===$)break;V.add($),$=X}}}async function rJ(J){return(await Promise.all(DJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function tJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await aJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;return Q("[FileIndex] git ls-files returned null, falling back to ripgrep"),TJ(J,W)}async function TJ(J,W){let Z=Date.now(),V=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)V.push("--no-ignore-vcs");let $=(await IJ(V,".",J)).map((_)=>O.relative(U(),_)),X=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${X}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:X}),$}async function RV(){let J=AbortSignal.timeout(1e4),W=m(),Z=YJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await TJ(J,V)}catch(Y){return G(Y),[]}}async function eJ(){let J=AbortSignal.timeout(1e4),W=n();try{let Z=m(),V=YJ(),Y=Z.respectGitignore??V.respectGitignore??!0,$=U(),[X,_]=await Promise.all([tJ(J,Y),rJ($)]);$J=_;let H=[...X,..._],N=await FJ(H);XJ=N;let I=[...N,...H],q=xJ(I);if(q!==r)await W.loadFromFileListAsync(I).done,r=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function JV(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function GV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=JV(Z,Y),Z==="")return""}return Z}function t(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function VV(J,W){return J.search(W,e).map((V)=>t(V.path,V.score))}function AJ(){if(v)return;let J=sJ();if(K){if(!(J!==null&&J!==i)&&Date.now()-a<WV)return}let W=R,Z=Date.now();n(),v=eJ().then((V)=>{if(W!==R)return V;return v=null,ZJ.emit(),i=J,a=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${JJ(V)}`),G(V),W===R)v=null;return n()})}async function YV(){let J=VJ(),W=U();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let $=V.isDirectory(),X=Y.isDirectory();if($!==X)return $?-1:1;let _=V.name.startsWith("."),H=Y.name.startsWith(".");if(_!==H)return _?-1:1;return V.name.toLowerCase().localeCompare(Y.name.toLowerCase())}),Z.map((V)=>{let Y=O.join(W,V.name),$=O.relative(W,Y);return V.isDirectory()?$+O.sep:$})}catch(Z){return G(Z),[]}}async function CV(J,W=!1){if(!J&&!W)return[];if(m().fileSuggestion?.type==="command"){let V={...UJ(),query:J};return(await jJ(V)).slice(0,e).map(t)}if(J===""||J==="."||J==="./"){let V=await YV();return AJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;AJ();let Y=J,$="."+O.sep;if(J.startsWith($))Y=J.substring(2);if(Y.startsWith("~"))Y=NJ(Y);let X=K?VV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${X.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:X.length,query_length:J.length}),X}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,$){let X=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+X+W.substring(V+Z.length);Y(_);let H=V+X.length;$(H)}var KJ,K=null,v=null,ZJ,jV,R=0,k=null,L,$J,XJ,s=null,o=null,a=0,i=null,r=null,P=null,e=100,WV=5000;var ZV=_J(()=>{lJ();MJ();SJ();hJ();PJ();kJ();yJ();fJ();bJ();mJ();$V();dJ();gJ();pJ();uJ();zJ();KJ=wJ(cJ(),1);ZJ=qJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
4
- export{c as Sh,MJ as Th,jV as Uh,vV as Vh,RV as Wh,GV as Xh,AJ as Yh,CV as Zh,LV as _h,ZV as $h};
@@ -1,2 +0,0 @@
1
- import{Vpa as g}from"./cli-0.6.13-5qvssn7h.mjs";import{lstat as c,readdir as Cq,realpath as Mq,stat as Kq}from"node:fs/promises";import{join as Nq,relative as Hq,resolve as l,sep as Yq}from"node:path";import{Readable as Oq}from"node:stream";function i(q,J={}){let X=J.entryType||J.type;if(X==="both")X=H.FILE_DIR_TYPE;if(X)J.type=X;if(!q)throw Error("readdirp: root argument is required. Usage: readdirp(root, options)");else if(typeof q!=="string")throw TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");else if(X&&!o.includes(X))throw Error(`readdirp: Invalid type passed. Use one of ${o.join(", ")}`);return J.root=q,new u(J)}var H,_,h="READDIRP_RECURSIVE_ERROR",Iq,o,bq,Dq,Vq=(q)=>Iq.has(q.code),Lq,p=(q)=>!0,n=(q)=>{if(q===void 0)return p;if(typeof q==="function")return q;if(typeof q==="string"){let J=q.trim();return(X)=>X.basename===J}if(Array.isArray(q)){let J=q.map((X)=>X.trim());return(X)=>J.some((Q)=>X.basename===Q)}return p},u;var s=g(()=>{H={FILE_TYPE:"files",DIR_TYPE:"directories",FILE_DIR_TYPE:"files_directories",EVERYTHING_TYPE:"all"},_={root:".",fileFilter:(q)=>!0,directoryFilter:(q)=>!0,type:H.FILE_TYPE,lstat:!1,depth:2147483648,alwaysStat:!1,highWaterMark:4096};Object.freeze(_);Iq=new Set(["ENOENT","EPERM","EACCES","ELOOP",h]),o=[H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE],bq=new Set([H.DIR_TYPE,H.EVERYTHING_TYPE,H.FILE_DIR_TYPE]),Dq=new Set([H.EVERYTHING_TYPE,H.FILE_DIR_TYPE,H.FILE_TYPE]),Lq=process.platform==="win32";u=class u extends Oq{parents;reading;parent;_stat;_maxDepth;_wantsDir;_wantsFile;_wantsEverything;_root;_isDirent;_statsProp;_rdOptions;_fileFilter;_directoryFilter;constructor(q={}){super({objectMode:!0,autoDestroy:!0,highWaterMark:q.highWaterMark});let J={..._,...q},{root:X,type:Q}=J;this._fileFilter=n(J.fileFilter),this._directoryFilter=n(J.directoryFilter);let Z=J.lstat?c:Kq;if(Lq)this._stat=(z)=>Z(z,{bigint:!0});else this._stat=Z;this._maxDepth=J.depth!=null&&Number.isSafeInteger(J.depth)?J.depth:_.depth,this._wantsDir=Q?bq.has(Q):!1,this._wantsFile=Q?Dq.has(Q):!1,this._wantsEverything=Q===H.EVERYTHING_TYPE,this._root=l(X),this._isDirent=!J.alwaysStat,this._statsProp=this._isDirent?"dirent":"stats",this._rdOptions={encoding:"utf8",withFileTypes:this._isDirent},this.parents=[this._exploreDir(X,1)],this.reading=!1,this.parent=void 0}async _read(q){if(this.reading)return;this.reading=!0;try{while(!this.destroyed&&q>0){let J=this.parent,X=J&&J.files;if(X&&X.length>0){let{path:Q,depth:Z}=J,z=X.splice(0,q).map((G)=>this._formatEntry(G,Q)),$=await Promise.all(z);for(let G of $){if(!G)continue;if(this.destroyed)return;let U=await this._getEntryType(G);if(U==="directory"&&this._directoryFilter(G)){if(Z<=this._maxDepth)this.parents.push(this._exploreDir(G.fullPath,Z+1));if(this._wantsDir)this.push(G),q--}else if((U==="file"||this._includeAsFile(G))&&this._fileFilter(G)){if(this._wantsFile)this.push(G),q--}}}else{let Q=this.parents.pop();if(!Q){this.push(null);break}if(this.parent=await Q,this.destroyed)return}}}catch(J){this.destroy(J)}finally{this.reading=!1}}async _exploreDir(q,J){let X;try{X=await Cq(q,this._rdOptions)}catch(Q){this._onError(Q)}return{files:X,depth:J,path:q}}async _formatEntry(q,J){let X,Q=this._isDirent?q.name:q;try{let Z=l(Nq(J,Q));X={path:Hq(this._root,Z),fullPath:Z,basename:Q},X[this._statsProp]=this._isDirent?q:await this._stat(Z)}catch(Z){this._onError(Z);return}return X}_onError(q){if(Vq(q)&&!this.destroyed)this.emit("warn",q);else this.destroy(q)}async _getEntryType(q){if(!q&&this._statsProp in q)return"";let J=q[this._statsProp];if(J.isFile())return"file";if(J.isDirectory())return"directory";if(J&&J.isSymbolicLink()){let X=q.fullPath;try{let Q=await Mq(X),Z=await c(Q);if(Z.isFile())return"file";if(Z.isDirectory()){let z=Q.length;if(X.startsWith(Q)&&X.substr(z,1)===Yq){let $=Error(`Circular symlink detected: "${X}" points to "${Q}"`);return $.code=h,this._onError($)}return"directory"}}catch(Q){return this._onError(Q),""}}}_includeAsFile(q){let J=q&&q[this._statsProp];return J&&this._wantsEverything&&!J.isDirectory()}}});import{watch as Aq,unwatchFile as a,watchFile as Wq}from"node:fs";import{realpath as P,lstat as Fq,open as Rq,stat as e}from"node:fs/promises";import{type as Tq}from"node:os";import*as M from"node:path";function r(q,J,X,Q,Z){let z=($,G)=>{if(X(q),Z($,G,{watchedPath:q}),G&&q!==G)W(M.resolve(q,G),I,M.join(q,G))};try{return Aq(q,{persistent:J.persistent},z)}catch($){Q($);return}}class f{fsw;_boundHandleError;constructor(q){this.fsw=q,this._boundHandleError=(J)=>q._handleError(J)}_watchWithNodeFs(q,J){let X=this.fsw.options,Q=M.dirname(q),Z=M.basename(q);this.fsw._getWatchedDir(Q).add(Z);let $=M.resolve(q),G={persistent:X.persistent};if(!J)J=F;let U;if(X.usePolling){let x=X.interval!==X.binaryInterval;G.interval=x&&fq(Z)?X.binaryInterval:X.interval,U=dq(q,$,G,{listener:J,rawEmitter:this.fsw._emitRaw})}else U=mq(q,$,G,{listener:J,errHandler:this._boundHandleError,rawEmitter:this.fsw._emitRaw});return U}_handleFile(q,J,X){if(this.fsw.closed)return;let Q=M.dirname(q),Z=M.basename(q),z=this.fsw._getWatchedDir(Q),$=J;if(z.has(Z))return;let G=async(x,j)=>{if(!this.fsw._throttle(Sq,q,5))return;if(!j||j.mtimeMs===0)try{let k=await e(q);if(this.fsw.closed)return;let{atimeMs:K,mtimeMs:N}=k;if(!K||K<=N||N!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,k);if((gq||uq||Pq)&&$.ino!==k.ino){this.fsw._closeFile(x),$=k;let O=this._watchWithNodeFs(q,G);if(O)this.fsw._addPathCloser(x,O)}else $=k}catch(k){this.fsw._remove(Q,Z)}else if(z.has(Z)){let{atimeMs:k,mtimeMs:K}=j;if(!k||k<=K||K!==$.mtimeMs)this.fsw._emit(Y.CHANGE,q,j);$=j}},U=this._watchWithNodeFs(q,G);if(!(X&&this.fsw.options.ignoreInitial)&&this.fsw._isntIgnored(q)){if(!this.fsw._throttle(Y.ADD,q,0))return;this.fsw._emit(Y.ADD,q,J)}return U}async _handleSymlink(q,J,X,Q){if(this.fsw.closed)return;let Z=q.fullPath,z=this.fsw._getWatchedDir(J);if(!this.fsw.options.followSymlinks){this.fsw._incrReadyCount();let $;try{$=await P(X)}catch(G){return this.fsw._emitReady(),!0}if(this.fsw.closed)return;if(z.has(Q)){if(this.fsw._symlinkPaths.get(Z)!==$)this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.CHANGE,X,q.stats)}else z.add(Q),this.fsw._symlinkPaths.set(Z,$),this.fsw._emit(Y.ADD,X,q.stats);return this.fsw._emitReady(),!0}if(this.fsw._symlinkPaths.has(Z))return!0;this.fsw._symlinkPaths.set(Z,!0)}_handleRead(q,J,X,Q,Z,z,$){q=M.join(q,"");let G=Q?`${q}:${Q}`:q;if($=this.fsw._throttle("readdir",G,1000),!$)return;let U=this.fsw._getWatchedDir(X.path),x=new Set,j=this.fsw._readdirp(q,{fileFilter:(k)=>X.filterPath(k),directoryFilter:(k)=>X.filterDir(k)});if(!j)return;return j.on(_q,async(k)=>{if(this.fsw.closed){j=void 0;return}let K=k.path,N=M.join(q,K);if(x.add(K),k.stats.isSymbolicLink()&&await this._handleSymlink(k,q,N,K))return;if(this.fsw.closed){j=void 0;return}if(K===Q||!Q&&!U.has(K))this.fsw._incrReadyCount(),N=M.join(Z,M.relative(Z,N)),this._addToNodeFs(N,J,X,z+1)}).on(Y.ERROR,this._boundHandleError),new Promise((k,K)=>{if(!j)return K();j.once(w,()=>{if(this.fsw.closed){j=void 0;return}let N=$?$.clear():!1;if(k(void 0),U.getChildren().filter((O)=>{return O!==q&&!x.has(O)}).forEach((O)=>{this.fsw._remove(q,O)}),j=void 0,N)this._handleRead(q,!1,X,Q,Z,z,$)})})}async _handleDir(q,J,X,Q,Z,z,$){let G=this.fsw._getWatchedDir(M.dirname(q)),U=G.has(M.basename(q));if(!(X&&this.fsw.options.ignoreInitial)&&!Z&&!U)this.fsw._emit(Y.ADD_DIR,q,J);G.add(M.basename(q)),this.fsw._getWatchedDir(q);let x,j,k=this.fsw.options.depth;if((k==null||Q<=k)&&!this.fsw._symlinkPaths.has($)){if(!Z){if(await this._handleRead(q,X,z,Z,q,Q,x),this.fsw.closed)return}j=this._watchWithNodeFs(q,(K,N)=>{if(N&&N.mtimeMs===0)return;this._handleRead(K,!1,z,Z,q,Q,x)})}return j}async _addToNodeFs(q,J,X,Q,Z){let z=this.fsw._emitReady;if(this.fsw._isIgnored(q)||this.fsw.closed)return z(),!1;let $=this.fsw._getWatchHelpers(q);if(X)$.filterPath=(G)=>X.filterPath(G),$.filterDir=(G)=>X.filterDir(G);try{let G=await vq[$.statMethod]($.watchPath);if(this.fsw.closed)return;if(this.fsw._isIgnored($.watchPath,G))return z(),!1;let U=this.fsw.options.followSymlinks,x;if(G.isDirectory()){let j=M.resolve(q),k=U?await P(q):q;if(this.fsw.closed)return;if(x=await this._handleDir($.watchPath,G,J,Q,Z,$,k),this.fsw.closed)return;if(j!==k&&k!==void 0)this.fsw._symlinkPaths.set(j,k)}else if(G.isSymbolicLink()){let j=U?await P(q):q;if(this.fsw.closed)return;let k=M.dirname($.watchPath);if(this.fsw._getWatchedDir(k).add($.watchPath),this.fsw._emit(Y.ADD,$.watchPath,G),x=await this._handleDir(k,G,J,Q,q,$,j),this.fsw.closed)return;if(j!==void 0)this.fsw._symlinkPaths.set(M.resolve(q),j)}else x=this._handleFile($.watchPath,G,J);if(z(),x)this.fsw._addPathCloser(q,x);return!1}catch(G){if(this.fsw._handleError(G))return z(),q}}}var _q="data",w="end",t="close",F=()=>{},R,E,gq,uq,Pq,qq,C,Y,Sq="watch",vq,I="listeners",L="errHandlers",b="rawEmitters",wq,Eq,fq=(q)=>Eq.has(M.extname(q).slice(1).toLowerCase()),v=(q,J)=>{if(q instanceof Set)q.forEach(J);else J(q)},D=(q,J,X)=>{let Q=q[J];if(!(Q instanceof Set))q[J]=Q=new Set([Q]);Q.add(X)},yq=(q)=>(J)=>{let X=q[J];if(X instanceof Set)X.clear();else delete q[J]},V=(q,J,X)=>{let Q=q[J];if(Q instanceof Set)Q.delete(X);else if(Q===X)delete q[J]},Jq=(q)=>q instanceof Set?q.size===0:!q,A,W=(q,J,X,Q,Z)=>{let z=A.get(q);if(!z)return;v(z[J],($)=>{$(X,Q,Z)})},mq=(q,J,X,Q)=>{let{listener:Z,errHandler:z,rawEmitter:$}=Q,G=A.get(J),U;if(!X.persistent){if(U=r(q,X,Z,z,$),!U)return;return U.close.bind(U)}if(G)D(G,I,Z),D(G,L,z),D(G,b,$);else{if(U=r(q,X,W.bind(null,J,I),z,W.bind(null,J,b)),!U)return;U.on(Y.ERROR,async(x)=>{let j=W.bind(null,J,L);if(G)G.watcherUnusable=!0;if(E&&x.code==="EPERM")try{await(await Rq(q,"r")).close(),j(x)}catch(k){}else j(x)}),G={listeners:Z,errHandlers:z,rawEmitters:$,watcher:U},A.set(J,G)}return()=>{if(V(G,I,Z),V(G,L,z),V(G,b,$),Jq(G.listeners))G.watcher.close(),A.delete(J),wq.forEach(yq(G)),G.watcher=void 0,Object.freeze(G)}},S,dq=(q,J,X,Q)=>{let{listener:Z,rawEmitter:z}=Q,$=S.get(J),G=$&&$.options;if(G&&(G.persistent<X.persistent||G.interval>X.interval))a(J),$=void 0;if($)D($,I,Z),D($,b,z);else $={listeners:Z,rawEmitters:z,options:X,watcher:Wq(J,X,(U,x)=>{v($.rawEmitters,(k)=>{k(Y.CHANGE,J,{curr:U,prev:x})});let j=U.mtimeMs;if(U.size!==x.size||j>x.mtimeMs||j===0)v($.listeners,(k)=>k(q,U))})},S.set(J,$);return()=>{if(V($,I,Z),V($,b,z),Jq($.listeners))S.delete(J),a(J),$.options=$.watcher=void 0,Object.freeze($)}};var Qq=g(()=>{R=process.platform,E=R==="win32",gq=R==="darwin",uq=R==="linux",Pq=R==="freebsd",qq=Tq()==="OS400",C={ALL:"all",READY:"ready",ADD:"add",CHANGE:"change",ADD_DIR:"addDir",UNLINK:"unlink",UNLINK_DIR:"unlinkDir",RAW:"raw",ERROR:"error"},Y=C,vq={lstat:Fq,stat:e},wq=[I,L,b],Eq=new Set(["3dm","3ds","3g2","3gp","7z","a","aac","adp","afdesign","afphoto","afpub","ai","aif","aiff","alz","ape","apk","appimage","ar","arj","asf","au","avi","bak","baml","bh","bin","bk","bmp","btif","bz2","bzip2","cab","caf","cgm","class","cmx","cpio","cr2","cur","dat","dcm","deb","dex","djvu","dll","dmg","dng","doc","docm","docx","dot","dotm","dra","DS_Store","dsk","dts","dtshd","dvb","dwg","dxf","ecelp4800","ecelp7470","ecelp9600","egg","eol","eot","epub","exe","f4v","fbs","fh","fla","flac","flatpak","fli","flv","fpx","fst","fvt","g3","gh","gif","graffle","gz","gzip","h261","h263","h264","icns","ico","ief","img","ipa","iso","jar","jpeg","jpg","jpgv","jpm","jxr","key","ktx","lha","lib","lvp","lz","lzh","lzma","lzo","m3u","m4a","m4v","mar","mdi","mht","mid","midi","mj2","mka","mkv","mmr","mng","mobi","mov","movie","mp3","mp4","mp4a","mpeg","mpg","mpga","mxu","nef","npx","numbers","nupkg","o","odp","ods","odt","oga","ogg","ogv","otf","ott","pages","pbm","pcx","pdb","pdf","pea","pgm","pic","png","pnm","pot","potm","potx","ppa","ppam","ppm","pps","ppsm","ppsx","ppt","pptm","pptx","psd","pya","pyc","pyo","pyv","qt","rar","ras","raw","resources","rgb","rip","rlc","rmf","rmvb","rpm","rtf","rz","s3m","s7z","scpt","sgi","shar","snap","sil","sketch","slk","smv","snk","so","stl","suo","sub","swf","tar","tbz","tbz2","tga","tgz","thmx","tif","tiff","tlz","ttc","ttf","txz","udf","uvh","uvi","uvm","uvp","uvs","uvu","viv","vob","war","wav","wax","wbmp","wdp","weba","webm","webp","whl","wim","wm","wma","wmv","wmx","woff","woff2","wrm","wvx","xbm","xif","xla","xlam","xls","xlsb","xlsm","xlsx","xlt","xltm","xltx","xm","xmind","xpi","xpm","xwd","xz","z","zip","zipx"]),A=new Map;S=new Map});import{EventEmitter as cq}from"node:events";import{stat as lq,Stats as YJ}from"node:fs";import{readdir as oq,stat as pq}from"node:fs/promises";import*as B from"node:path";function T(q){return Array.isArray(q)?q:[q]}function eq(q){if(typeof q==="function")return q;if(typeof q==="string")return(J)=>q===J;if(q instanceof RegExp)return(J)=>q.test(J);if(typeof q==="object"&&q!==null)return(J)=>{if(q.path===J)return!0;if(q.recursive){let X=B.relative(q.path,J);if(!X)return!1;return!X.startsWith("..")&&!B.isAbsolute(X)}return!1};return()=>!1}function tq(q){if(typeof q!=="string")throw Error("string expected");q=B.normalize(q),q=q.replace(/\\/g,"/");let J=!1;if(q.startsWith("//"))J=!0;if(q=q.replace(Uq,"/"),J)q="/"+q;return q}function Xq(q,J,X){let Q=tq(J);for(let Z=0;Z<q.length;Z++){let z=q[Z];if(z(Q,X))return!0}return!1}function qJ(q,J){if(q==null)throw TypeError("anymatch: specify first argument");let Q=T(q).map((Z)=>eq(Z));if(J==null)return(Z,z)=>{return Xq(Q,Z,z)};return Xq(Q,J)}class kq{path;_removeWatcher;items;constructor(q,J){this.path=q,this._removeWatcher=J,this.items=new Set}add(q){let{items:J}=this;if(!J)return;if(q!==zq&&q!==hq)J.add(q)}async remove(q){let{items:J}=this;if(!J)return;if(J.delete(q),J.size>0)return;let X=this.path;try{await oq(X)}catch(Q){if(this._removeWatcher)this._removeWatcher(B.dirname(X),B.basename(X))}}has(q){let{items:J}=this;if(!J)return;return J.has(q)}getChildren(){let{items:q}=this;if(!q)return[];return[...q.values()]}dispose(){this.items.clear(),this.path="",this._removeWatcher=F,this.items=QJ,Object.freeze(this)}}class Bq{fsw;path;watchPath;fullWatchPath;dirParts;followSymlinks;statMethod;constructor(q,J,X){this.fsw=X;let Q=q;this.path=q=q.replace(rq,""),this.watchPath=Q,this.fullWatchPath=B.resolve(Q),this.dirParts=[],this.dirParts.forEach((Z)=>{if(Z.length>1)Z.pop()}),this.followSymlinks=J,this.statMethod=J?XJ:ZJ}entryPath(q){return B.join(this.watchPath,B.relative(this.watchPath,q.fullPath))}filterPath(q){let{stats:J}=q;if(J&&J.isSymbolicLink())return this.filterDir(q);let X=this.entryPath(q);return this.fsw._isntIgnored(X,J)&&this.fsw._hasReadPermissions(J)}filterDir(q){return this.fsw._isntIgnored(this.entryPath(q),q.stats)}}function $J(q,J={}){let X=new d(J);return X.add(q),X}var y="/",nq="//",zq=".",hq="..",iq="string",sq,Uq,aq,rq,m=(q)=>typeof q==="object"&&q!==null&&!(q instanceof RegExp),Zq=(q)=>{let J=T(q).flat();if(!J.every((X)=>typeof X===iq))throw TypeError(`Non-string provided as watch path: ${J}`);return J.map(xq)},$q=(q)=>{let J=q.replace(sq,y),X=!1;if(J.startsWith(nq))X=!0;if(J=J.replace(Uq,y),X)J=y+J;return J},xq=(q)=>$q(B.normalize($q(q))),Gq=(q="")=>(J)=>{if(typeof J==="string")return xq(B.isAbsolute(J)?J:B.join(q,J));else return J},JJ=(q,J)=>{if(B.isAbsolute(q))return q;return B.join(J,q)},QJ,XJ="stat",ZJ="lstat",d,DJ;var GJ=g(()=>{s();Qq();/*! chokidar - MIT License (c) 2012 Paul Miller (paulmillr.com) */sq=/\\/g,Uq=/\/\//g,aq=/\..*\.(sw[px])$|~$|\.subl.*\.tmp/,rq=/^\.[/\\]/;QJ=Object.freeze(new Set);d=class d extends cq{closed;options;_closers;_ignoredPaths;_throttled;_streams;_symlinkPaths;_watched;_pendingWrites;_pendingUnlinks;_readyCount;_emitReady;_closePromise;_userIgnored;_readyEmitted;_emitRaw;_boundRemove;_nodeFsHandler;constructor(q={}){super();this.closed=!1,this._closers=new Map,this._ignoredPaths=new Set,this._throttled=new Map,this._streams=new Set,this._symlinkPaths=new Map,this._watched=new Map,this._pendingWrites=new Map,this._pendingUnlinks=new Map,this._readyCount=0,this._readyEmitted=!1;let J=q.awaitWriteFinish,X={stabilityThreshold:2000,pollInterval:100},Q={persistent:!0,ignoreInitial:!1,ignorePermissionErrors:!1,interval:100,binaryInterval:300,followSymlinks:!0,usePolling:!1,atomic:!0,...q,ignored:q.ignored?T(q.ignored):T([]),awaitWriteFinish:J===!0?X:typeof J==="object"?{...X,...J}:!1};if(qq)Q.usePolling=!0;if(Q.atomic===void 0)Q.atomic=!Q.usePolling;let Z=process.env.CHOKIDAR_USEPOLLING;if(Z!==void 0){let G=Z.toLowerCase();if(G==="false"||G==="0")Q.usePolling=!1;else if(G==="true"||G==="1")Q.usePolling=!0;else Q.usePolling=!!G}let z=process.env.CHOKIDAR_INTERVAL;if(z)Q.interval=Number.parseInt(z,10);let $=0;this._emitReady=()=>{if($++,$>=this._readyCount)this._emitReady=F,this._readyEmitted=!0,process.nextTick(()=>this.emit(C.READY))},this._emitRaw=(...G)=>this.emit(C.RAW,...G),this._boundRemove=this._remove.bind(this),this.options=Q,this._nodeFsHandler=new f(this),Object.freeze(Q)}_addIgnoredPath(q){if(m(q)){for(let J of this._ignoredPaths)if(m(J)&&J.path===q.path&&J.recursive===q.recursive)return}this._ignoredPaths.add(q)}_removeIgnoredPath(q){if(this._ignoredPaths.delete(q),typeof q==="string"){for(let J of this._ignoredPaths)if(m(J)&&J.path===q)this._ignoredPaths.delete(J)}}add(q,J,X){let{cwd:Q}=this.options;this.closed=!1,this._closePromise=void 0;let Z=Zq(q);if(Q)Z=Z.map((z)=>{return JJ(z,Q)});if(Z.forEach((z)=>{this._removeIgnoredPath(z)}),this._userIgnored=void 0,!this._readyCount)this._readyCount=0;return this._readyCount+=Z.length,Promise.all(Z.map(async(z)=>{let $=await this._nodeFsHandler._addToNodeFs(z,!X,void 0,0,J);if($)this._emitReady();return $})).then((z)=>{if(this.closed)return;z.forEach(($)=>{if($)this.add(B.dirname($),B.basename(J||$))})}),this}unwatch(q){if(this.closed)return this;let J=Zq(q),{cwd:X}=this.options;return J.forEach((Q)=>{if(!B.isAbsolute(Q)&&!this._closers.has(Q)){if(X)Q=B.join(X,Q);Q=B.resolve(Q)}if(this._closePath(Q),this._addIgnoredPath(Q),this._watched.has(Q))this._addIgnoredPath({path:Q,recursive:!0});this._userIgnored=void 0}),this}close(){if(this._closePromise)return this._closePromise;this.closed=!0,this.removeAllListeners();let q=[];return this._closers.forEach((J)=>J.forEach((X)=>{let Q=X();if(Q instanceof Promise)q.push(Q)})),this._streams.forEach((J)=>J.destroy()),this._userIgnored=void 0,this._readyCount=0,this._readyEmitted=!1,this._watched.forEach((J)=>J.dispose()),this._closers.clear(),this._watched.clear(),this._streams.clear(),this._symlinkPaths.clear(),this._throttled.clear(),this._closePromise=q.length?Promise.all(q).then(()=>{return}):Promise.resolve(),this._closePromise}getWatched(){let q={};return this._watched.forEach((J,X)=>{let Z=(this.options.cwd?B.relative(this.options.cwd,X):X)||zq;q[Z]=J.getChildren().sort()}),q}emitWithAll(q,J){if(this.emit(q,...J),q!==C.ERROR)this.emit(C.ALL,q,...J)}async _emit(q,J,X){if(this.closed)return;let Q=this.options;if(E)J=B.normalize(J);if(Q.cwd)J=B.relative(Q.cwd,J);let Z=[J];if(X!=null)Z.push(X);let z=Q.awaitWriteFinish,$;if(z&&($=this._pendingWrites.get(J)))return $.lastChange=new Date,this;if(Q.atomic){if(q===C.UNLINK)return this._pendingUnlinks.set(J,[q,...Z]),setTimeout(()=>{this._pendingUnlinks.forEach((G,U)=>{this.emit(...G),this.emit(C.ALL,...G),this._pendingUnlinks.delete(U)})},typeof Q.atomic==="number"?Q.atomic:100),this;if(q===C.ADD&&this._pendingUnlinks.has(J))q=C.CHANGE,this._pendingUnlinks.delete(J)}if(z&&(q===C.ADD||q===C.CHANGE)&&this._readyEmitted){let G=(U,x)=>{if(U)q=C.ERROR,Z[0]=U,this.emitWithAll(q,Z);else if(x){if(Z.length>1)Z[1]=x;else Z.push(x);this.emitWithAll(q,Z)}};return this._awaitWriteFinish(J,z.stabilityThreshold,q,G),this}if(q===C.CHANGE){if(!this._throttle(C.CHANGE,J,50))return this}if(Q.alwaysStat&&X===void 0&&(q===C.ADD||q===C.ADD_DIR||q===C.CHANGE)){let G=Q.cwd?B.join(Q.cwd,J):J,U;try{U=await pq(G)}catch(x){}if(!U||this.closed)return;Z.push(U)}return this.emitWithAll(q,Z),this}_handleError(q){let J=q&&q.code;if(q&&J!=="ENOENT"&&J!=="ENOTDIR"&&(!this.options.ignorePermissionErrors||J!=="EPERM"&&J!=="EACCES"))this.emit(C.ERROR,q);return q||this.closed}_throttle(q,J,X){if(!this._throttled.has(q))this._throttled.set(q,new Map);let Q=this._throttled.get(q);if(!Q)throw Error("invalid throttle");let Z=Q.get(J);if(Z)return Z.count++,!1;let z,$=()=>{let U=Q.get(J),x=U?U.count:0;if(Q.delete(J),clearTimeout(z),U)clearTimeout(U.timeoutObject);return x};z=setTimeout($,X);let G={timeoutObject:z,clear:$,count:0};return Q.set(J,G),G}_incrReadyCount(){return this._readyCount++}_awaitWriteFinish(q,J,X,Q){let Z=this.options.awaitWriteFinish;if(typeof Z!=="object")return;let z=Z.pollInterval,$,G=q;if(this.options.cwd&&!B.isAbsolute(q))G=B.join(this.options.cwd,q);let U=new Date,x=this._pendingWrites;function j(k){lq(G,(K,N)=>{if(K||!x.has(q)){if(K&&K.code!=="ENOENT")Q(K);return}let O=Number(new Date);if(k&&N.size!==k.size)x.get(q).lastChange=O;let jq=x.get(q);if(O-jq.lastChange>=J)x.delete(q),Q(void 0,N);else $=setTimeout(j,z,N)})}if(!x.has(q))x.set(q,{lastChange:U,cancelWait:()=>{return x.delete(q),clearTimeout($),X}}),$=setTimeout(j,z)}_isIgnored(q,J){if(this.options.atomic&&aq.test(q))return!0;if(!this._userIgnored){let{cwd:X}=this.options,Z=(this.options.ignored||[]).map(Gq(X)),$=[...[...this._ignoredPaths].map(Gq(X)),...Z];this._userIgnored=qJ($,void 0)}return this._userIgnored(q,J)}_isntIgnored(q,J){return!this._isIgnored(q,J)}_getWatchHelpers(q){return new Bq(q,this.options.followSymlinks,this)}_getWatchedDir(q){let J=B.resolve(q);if(!this._watched.has(J))this._watched.set(J,new kq(J,this._boundRemove));return this._watched.get(J)}_hasReadPermissions(q){if(this.options.ignorePermissionErrors)return!0;return Boolean(Number(q.mode)&256)}_remove(q,J,X){let Q=B.join(q,J),Z=B.resolve(Q);if(X=X!=null?X:this._watched.has(Q)||this._watched.has(Z),!this._throttle("remove",Q,100))return;if(!X&&this._watched.size===1)this.add(q,J,!0);this._getWatchedDir(Q).getChildren().forEach((k)=>this._remove(Q,k));let G=this._getWatchedDir(q),U=G.has(J);if(G.remove(J),this._symlinkPaths.has(Z))this._symlinkPaths.delete(Z);let x=Q;if(this.options.cwd)x=B.relative(this.options.cwd,Q);if(this.options.awaitWriteFinish&&this._pendingWrites.has(x)){if(this._pendingWrites.get(x).cancelWait()===C.ADD)return}this._watched.delete(Q),this._watched.delete(Z);let j=X?C.UNLINK_DIR:C.UNLINK;if(U&&!this._isIgnored(Q))this._emit(j,Q);this._closePath(Q)}_closePath(q){this._closeFile(q);let J=B.dirname(q);this._getWatchedDir(J).remove(B.basename(q))}_closeFile(q){let J=this._closers.get(q);if(!J)return;J.forEach((X)=>X()),this._closers.delete(q)}_addPathCloser(q,J){if(!J)return;let X=this._closers.get(q);if(!X)X=[],this._closers.set(q,X);X.push(J)}_readdirp(q,J){if(this.closed)return;let X={type:C.ALL,alwaysStat:!0,lstat:!0,...J,depth:0},Q=i(q,X);return this._streams.add(Q),Q.once(t,()=>{Q=void 0}),Q.once(w,()=>{if(Q)this._streams.delete(Q),Q=void 0}),Q}};DJ={watch:$J,FSWatcher:d}});
2
- export{Bq as AU,d as BU,$J as CU,DJ as DU,GJ as EU};
@@ -1,2 +0,0 @@
1
- import{CF as V,DF as E,xF as U,yF as A}from"./cli-0.6.13-2s33ahe4.mjs";import{eV as W,mV as G}from"./cli-0.6.13-hx71w6e6.mjs";import{RZ as O,kZ as F,mZ as H}from"./cli-0.6.13-f67v536f.mjs";import{X1 as q,Y1 as K,Z1 as L}from"./cli-0.6.13-fy3vgkpz.mjs";import{_1 as I}from"./cli-0.6.13-hxfvksxq.mjs";import{E6 as p,e6 as Q}from"./cli-0.6.13-b3zncvcq.mjs";import{Rca as $,tca as M,wca as N}from"./cli-0.6.13-hd0sd535.mjs";import{Rpa as Z,Vpa as _}from"./cli-0.6.13-5qvssn7h.mjs";function b({onDone:J}){let z=w.useRef(J);z.current=J;let X=w.useCallback(()=>{z.current("dismiss")},[]);w.useEffect(()=>{M((y)=>{if(y.remoteDialogSeen)return y;return{...y,remoteDialogSeen:!0}})},[]);let Y=w.useCallback((y)=>{z.current(y)},[]);return q(V,{title:"Remote Control",children:K(F,{flexDirection:"column",paddingX:2,paddingY:1,children:[K(F,{marginBottom:1,flexDirection:"column",children:[q(H,{children:"Remote Control lets you access this CLI session from the web (claude.ai/code) or the Claude app, so you can pick up where you left off on any device."}),q(H,{children:" "}),q(H,{children:"You can disconnect remote access anytime by running /remote-control again."})]}),q(F,{children:q(U,{options:[{label:"Enable Remote Control for this session",description:"Opens a secure connection to claude.ai.",value:"enable"},{label:"Never mind",description:"You can always enable it later with /remote-control.",value:"dismiss"}],onChange:Y,onCancel:X})})]})})}function d(){if(N().remoteDialogSeen)return!1;if(!W())return!1;if(!Q()?.accessToken)return!1;return!0}var w;var P=_(()=>{G();O();p();$();A();E();L();w=Z(I(),1)});
2
- export{b as Wb,d as Xb,P as Yb};
@@ -1,2 +0,0 @@
1
- import{_d as _,ae as v}from"./cli-0.6.13-r2w3m6g9.mjs";import{Be as Z,Ce as P}from"./cli-0.6.13-xdedyafk.mjs";import{Vu as X,Xu as K,uv as Y,yv as A}from"./cli-0.6.13-2s33ahe4.mjs";import{LW as V,OW as C}from"./cli-0.6.13-79mne5jt.mjs";import{X1 as H,Z1 as Q}from"./cli-0.6.13-fy3vgkpz.mjs";import{_1 as W}from"./cli-0.6.13-hxfvksxq.mjs";import{yea as L,zea as U}from"./cli-0.6.13-s9rv2pr3.mjs";import{Rpa as B,Vpa as M}from"./cli-0.6.13-5qvssn7h.mjs";function x({children:q}){let{bindings:D}=X(),F=J.useRef(null),E=J.useRef(new Map),G=J.useRef(new Set).current;return H(V,{bindings:D,pendingChordRef:F,pendingChord:null,setPendingChord:()=>{},activeContexts:G,registerActiveContext:()=>{},unregisterActiveContext:()=>{},handlerRegistryRef:E,children:q})}function y(q){if(!("message"in q))return 1;let D=q.message.content;return Array.isArray(D)?D.length:1}async function b(q,D,F,{columns:E,verbose:G=!1,chunkSize:I=40,onProgress:$}={}){let T=(w)=>_(H(Y,{children:H(x,{children:H(Z,{messages:q,tools:D,commands:[],verbose:G,toolJSX:null,toolUseConfirmQueue:[],inProgressToolUseIDs:new Set,isMessageSelectorVisible:!1,conversationId:"export",screen:"prompt",streamingToolUses:[],showAllInTranscript:!0,isLoading:!1,renderRange:w})})}),E),N=I;for(let w of q)N+=y(w);for(let w=0;w<N;w+=I){let O=await T([w,w+I]);if(L(O).trim()==="")break;await F(O),$?.(w+I)}}async function l(q,D=[],F){let E=[];return await b(q,D,(G)=>void E.push(L(G)),{columns:F}),E.join("")}var J;var j=M(()=>{U();P();C();K();A();v();Q();J=B(W(),1)});
2
- export{l as ec,j as fc};
@@ -1,2 +0,0 @@
1
- import{Noa as M,Ooa as Y}from"./cli-0.6.13-dvfmqzm9.mjs";import{Vpa as W}from"./cli-0.6.13-5qvssn7h.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-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 yia,N as zia,X as Aia,_ as Bia,j as Cia,U as Dia,I as Eia,S as Fia,T as Gia,c as Hia,L as Iia,w as Jia,z as Kia,O as Lia,x as Mia,k as Nia};
@@ -1 +0,0 @@
1
- import{_fa as q,aga as A,bga as x,cga as B}from"./cli-0.6.13-yamxpaqw.mjs";import{Gha as J}from"./cli-0.6.13-dada1afp.mjs";import{xia as G}from"./cli-0.6.13-ze0ah657.mjs";G();J();A();B();var F=x(()=>q.object({session_id:q.string(),ws_url:q.string(),work_dir:q.string().optional()}));
@@ -1,4 +0,0 @@
1
- import{pT as W,qT as P}from"./cli-0.6.13-xkw3qe38.mjs";import{Cca as B,Dca as G,Rca as S,Y8 as M,Z8 as R,f$ as A,h$ as y,nea as O,u9 as _,vea as F,x8 as K,y8 as I}from"./cli-0.6.13-hd0sd535.mjs";import{fga as D,gga as x}from"./cli-0.6.13-gpb93cvz.mjs";import{Noa as $,Ooa as z}from"./cli-0.6.13-dvfmqzm9.mjs";z();x();S();y();I();_();F();P();var T=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function k(L){return!T.some((U)=>U.test(L))}function d(L,U=20){let H=new Map;for(let V of L)H.set(V,(H.get(V)||0)+1);return Array.from(H.entries()).sort((V,Q)=>Q[1]-V[1]).slice(0,U).map(([V,Q])=>`${Q.toString().padStart(6)} ${V}`).join(`
2
- `)}function E(L,U){let H=[],V=new Set,Q=new Map;for(let J=1;H.length<U&&J<=U;J++)for(let X of L){if(H.length>=U)break;if(!k(X))continue;let Y=Math.max(X.lastIndexOf("/"),X.lastIndexOf("\\")),Z=Y>=0?X.slice(Y+1):X;if(!Z||V.has(Z))continue;let q=Y>=0?X.slice(0,Y):".";if((Q.get(q)??0)>=J)continue;H.push(Z),V.add(Z),Q.set(q,(Q.get(q)??0)+1)}return H.length>=U?H:[]}async function N(){if(A.platform==="win32")return[];if(!await R())return[];try{let L=await W(),U=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],H=new Map,V=(J)=>{for(let X of J.split(`
3
- `)){let Y=X.trim();if(Y)H.set(Y,(H.get(Y)??0)+1)}};if(L){let{stdout:J}=await K("git",[...U,`--author=${L}`],{cwd:D()});V(J)}if(H.size<10){let{stdout:J}=await K(M(),U,{cwd:D()});V(J)}let Q=Array.from(H.entries()).sort((J,X)=>X[1]-J[1]).map(([J])=>J);return E(Q,5)}catch(L){return O(L),[]}}var b=604800000;function v(L){let U=B(),H=U.exampleFiles?.length?U.exampleFiles:["<filepath>"],Q=[...["fix lint errors","fix typecheck errors",`how does ${H[0]} work?`,`refactor ${H[Math.floor(H.length/2)]}`,"how do I log an error?",`edit ${H[H.length-1]} to...`,`write a test for ${H[0]}`,"create a util logging.py that..."]];for(let J=Q.length-1;J>0;J--){let X=Math.floor(Math.random()*(J+1));[Q[J],Q[X]]=[Q[X],Q[J]]}return Q.slice(0,L).map((J)=>`Try "${J}"`)}var p=$(()=>{return v(1)[0]??'Try "fix lint errors"'}),c=$((L)=>{return v(L)}),r=$(async()=>{let L=B(),U=Date.now(),H=L.exampleFilesGeneratedAt??0;if(U-H>b)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((V)=>{if(V.length)G((Q)=>({...Q,exampleFiles:V,exampleFilesGeneratedAt:Date.now()}))})});
4
- export{d as Aa,E as Ba,p as Ca,c as Da,r as Ea};
@@ -1,2 +0,0 @@
1
- import{BZ as W,PZ as X,RX as f,RZ as k}from"./cli-0.6.13-f67v536f.mjs";import{W1 as V,X1 as J,Z1 as K}from"./cli-0.6.13-fy3vgkpz.mjs";import{_1 as P}from"./cli-0.6.13-hxfvksxq.mjs";import{yea as U,zea as O}from"./cli-0.6.13-s9rv2pr3.mjs";import{Rpa as Q,Vpa as L}from"./cli-0.6.13-5qvssn7h.mjs";import{PassThrough as C}from"stream";function E(q){let b=Z.c(5),{children:w}=q,{exit:z}=W(),B,H;if(b[0]!==z)B=()=>{let D=setTimeout(z,0);return()=>clearTimeout(D)},H=[z],b[0]=z,b[1]=B,b[2]=H;else B=b[1],H=b[2];y.useLayoutEffect(B,H);let G;if(b[3]!==w)G=J(V,{children:w}),b[3]=w,b[4]=G;else G=b[4];return G}function Y(q){let b=q.indexOf(M);if(b===-1)return q;let w=b+M.length,z=q.indexOf(F,w);if(z===-1)return q;return q.slice(w,z)}function g(q,b){return new Promise(async(w)=>{let z="",B=new C;if(b!==void 0)B.columns=b;B.on("data",(G)=>{z+=G.toString()});let H=await X(J(E,{children:q}),{stdout:B,patchConsole:!1});await Promise.race([H.waitUntilExit(),new Promise((G)=>setTimeout(G,3000))]),await w(Y(z))})}async function N(q,b){let w=await g(q,b);return U(w)}var Z,y,M="\x1B[?2026h",F="\x1B[?2026l";var j=L(()=>{O();k();K();Z=Q(f(),1),y=Q(P(),1)});
2
- export{g as _d,N as $d,j as ae};
@@ -1,2 +0,0 @@
1
- import{Vpa as n}from"./cli-0.6.13-5qvssn7h.mjs";function o(){return{}}function e(){return null}async function i(){}function g(){return!1}function r(){}function u(){}function f(){}async function l(){}var t=()=>{};
2
- export{o as FU,e as GU,i as HU,g as IU,r as JU,u as KU,f as LU,l as MU,t as NU};
@@ -1,2 +0,0 @@
1
- import{RX as f}from"./cli-0.6.13-f67v536f.mjs";import{X1 as p,Z1 as c}from"./cli-0.6.13-fy3vgkpz.mjs";import{_1 as M}from"./cli-0.6.13-hxfvksxq.mjs";import{Rpa as o}from"./cli-0.6.13-5qvssn7h.mjs";c();var n=o(f(),1),r=o(M(),1),d=r.createContext(void 0);function a(F){let e=n.c(3),{getFpsMetrics:s,children:i}=F,t;if(e[0]!==i||e[1]!==s)t=p(d.Provider,{value:s,children:i}),e[0]=i,e[1]=s,e[2]=t;else t=e[2];return t}function l(){return r.useContext(d)}
2
- export{a as Qb,l as Rb};