@claudiolabs/claudin 0.6.13 → 0.6.14

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 (889) hide show
  1. package/dist/chunks/AgentTool-0.6.14-xrhjvxqt.mjs +1 -0
  2. package/dist/chunks/App-0.6.14-nfgrt17c.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.6.14-4394rxge.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.6.14-k9ycen5r.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.6.14-83erp0by.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.6.14-yg241yyt.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.14-h284g2h5.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.6.14-1j52jykj.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.6.14-qf3p4jd6.mjs +7 -0
  10. package/dist/chunks/Doctor-0.6.14-9tzq86fq.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-0.6.14-ngnzawn3.mjs +6 -0
  12. package/dist/chunks/Grove-0.6.14-nf1j5862.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.6.14-fcrrth30.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.6.14-pc5rtmwz.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.6.14-f2aqj7b2.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.6.14-y72q04xs.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.6.14-z4c051ds.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.6.14-5v58y8rq.mjs +1 -0
  19. package/dist/chunks/REPL-0.6.14-m1rtq4nq.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.6.14-58nmeyhm.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.6.14-hy43hxaf.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.6.14-5kncw55y.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.6.14-nwfww4kk.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.6.14-z2dt3f1b.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.6.14-pqjfnrw6.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.6.14-0cce0b2h.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.6.14-5yzgt2bj.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.6.14-mw3fqk9q.mjs +1 -0
  29. package/dist/chunks/add-dir-0.6.14-yw3tymgp.mjs +1 -0
  30. package/dist/chunks/agents-0.6.14-kjhjevhb.mjs +3 -0
  31. package/dist/chunks/agents-0.6.14-nv6zbrmz.mjs +110 -0
  32. package/dist/chunks/api-0.6.14-fv7cq859.mjs +1 -0
  33. package/dist/chunks/asciicast-0.6.14-f74vgv8x.mjs +1 -0
  34. package/dist/chunks/assistant-0.6.14-1gccdgy8.mjs +1 -0
  35. package/dist/chunks/auth-0.6.14-f22qzwg0.mjs +1 -0
  36. package/dist/chunks/auth-0.6.14-ngdv38z5.mjs +1 -0
  37. package/dist/chunks/autoMode-0.6.14-fav4fw0r.mjs +48 -0
  38. package/dist/chunks/autoUpdater-0.6.14-y0g8h11s.mjs +1 -0
  39. package/dist/chunks/backgroundHousekeeping-0.6.14-fhkm64fw.mjs +1 -0
  40. package/dist/chunks/branch-0.6.14-yc20c8aq.mjs +4 -0
  41. package/dist/chunks/bridge-0.6.14-7gf7tehd.mjs +2 -0
  42. package/dist/chunks/bridgeConfig-0.6.14-wt7r4fwp.mjs +1 -0
  43. package/dist/chunks/bridgeEnabled-0.6.14-hztrqdk5.mjs +1 -0
  44. package/dist/chunks/bridgeMain-0.6.14-5zr5zygz.mjs +88 -0
  45. package/dist/chunks/bridgePointer-0.6.14-18tfrr2m.mjs +1 -0
  46. package/dist/chunks/btw-0.6.14-85qdeh59.mjs +1 -0
  47. package/dist/chunks/buddy-0.6.14-76httc04.mjs +3 -0
  48. package/dist/chunks/cacache-0.6.14-8azhr0nq.mjs +1 -0
  49. package/dist/chunks/cache-probe-0.6.14-baevy66q.mjs +21 -0
  50. package/dist/chunks/cacheStats-0.6.14-gyeh90zg.mjs +4 -0
  51. package/dist/chunks/caches-0.6.14-pjn29fse.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-0.6.14-eqfeec6n.mjs +1 -0
  53. package/dist/chunks/claudemd-0.6.14-axn98g3r.mjs +1 -0
  54. package/dist/chunks/clear-0.6.14-rqxgps7y.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.6.14-qv4wd3dp.mjs +1 -0
  56. package/dist/chunks/cli-0.6.14-00n6mq14.mjs +2 -0
  57. package/dist/chunks/cli-0.6.14-01m8v54j.mjs +59 -0
  58. package/dist/chunks/cli-0.6.14-02qtx9sh.mjs +2 -0
  59. package/dist/chunks/cli-0.6.14-04m30ved.mjs +2 -0
  60. package/dist/chunks/cli-0.6.14-06eabjt6.mjs +2 -0
  61. package/dist/chunks/cli-0.6.14-0a0ncvrs.mjs +2 -0
  62. package/dist/chunks/cli-0.6.14-0bsm5jn0.mjs +2 -0
  63. package/dist/chunks/cli-0.6.14-0h1s6fwr.mjs +5 -0
  64. package/dist/chunks/cli-0.6.14-0kj0zvsp.mjs +2 -0
  65. package/dist/chunks/cli-0.6.14-0kk6g260.mjs +2 -0
  66. package/dist/chunks/cli-0.6.14-0ycrhwsw.mjs +6 -0
  67. package/dist/chunks/cli-0.6.14-1007zfjt.mjs +2 -0
  68. package/dist/chunks/cli-0.6.14-106t4q8a.mjs +2 -0
  69. package/dist/chunks/cli-0.6.14-11n72npf.mjs +4 -0
  70. package/dist/chunks/cli-0.6.14-198q94mb.mjs +2 -0
  71. package/dist/chunks/cli-0.6.14-1mp3bqqa.mjs +2 -0
  72. package/dist/chunks/cli-0.6.14-1rd9c9zq.mjs +2 -0
  73. package/dist/chunks/cli-0.6.14-1rk4shzr.mjs +4 -0
  74. package/dist/chunks/cli-0.6.14-1wfs4a9y.mjs +34 -0
  75. package/dist/chunks/cli-0.6.14-1whzwvvw.mjs +1 -0
  76. package/dist/chunks/cli-0.6.14-1wqr5xn1.mjs +15 -0
  77. package/dist/chunks/cli-0.6.14-1ys7hxgb.mjs +2 -0
  78. package/dist/chunks/cli-0.6.14-21808d8s.mjs +2 -0
  79. package/dist/chunks/cli-0.6.14-28qb772v.mjs +2 -0
  80. package/dist/chunks/cli-0.6.14-28ysbvb3.mjs +2 -0
  81. package/dist/chunks/cli-0.6.14-2bs3j4p8.mjs +2 -0
  82. package/dist/chunks/cli-0.6.14-2cexfn3w.mjs +2 -0
  83. package/dist/chunks/cli-0.6.14-2hzx798v.mjs +2 -0
  84. package/dist/chunks/cli-0.6.14-2javagj5.mjs +2 -0
  85. package/dist/chunks/cli-0.6.14-2jgq14za.mjs +2 -0
  86. package/dist/chunks/cli-0.6.14-2kj6t828.mjs +2 -0
  87. package/dist/chunks/cli-0.6.14-2nwr8x55.mjs +2 -0
  88. package/dist/chunks/cli-0.6.14-2wn0hvep.mjs +2 -0
  89. package/dist/chunks/cli-0.6.14-3hq9q0xq.mjs +2 -0
  90. package/dist/chunks/cli-0.6.14-41a9k5hf.mjs +2 -0
  91. package/dist/chunks/cli-0.6.14-45cmq90s.mjs +2 -0
  92. package/dist/chunks/cli-0.6.14-45zdemyc.mjs +2 -0
  93. package/dist/chunks/cli-0.6.14-474e3rz7.mjs +2 -0
  94. package/dist/chunks/cli-0.6.14-480kc454.mjs +2 -0
  95. package/dist/chunks/cli-0.6.14-4jf7959w.mjs +2 -0
  96. package/dist/chunks/cli-0.6.14-4txh6031.mjs +2 -0
  97. package/dist/chunks/cli-0.6.14-4x6ppgsd.mjs +2 -0
  98. package/dist/chunks/cli-0.6.14-50e0q2ad.mjs +42 -0
  99. package/dist/chunks/cli-0.6.14-54jnnybp.mjs +8 -0
  100. package/dist/chunks/cli-0.6.14-58f16f68.mjs +2 -0
  101. package/dist/chunks/cli-0.6.14-645ardy7.mjs +2 -0
  102. package/dist/chunks/cli-0.6.14-666a7kck.mjs +2 -0
  103. package/dist/chunks/cli-0.6.14-67c3dtne.mjs +3 -0
  104. package/dist/chunks/cli-0.6.14-697075tj.mjs +133 -0
  105. package/dist/chunks/cli-0.6.14-6aay4k94.mjs +4 -0
  106. package/dist/chunks/cli-0.6.14-6bagc6mm.mjs +3 -0
  107. package/dist/chunks/cli-0.6.14-6ewrcjxp.mjs +2 -0
  108. package/dist/chunks/cli-0.6.14-6fqpmby9.mjs +2 -0
  109. package/dist/chunks/cli-0.6.14-6g4tz2xj.mjs +2 -0
  110. package/dist/chunks/cli-0.6.14-6jfxad27.mjs +2 -0
  111. package/dist/chunks/cli-0.6.14-6qk1tfbt.mjs +3 -0
  112. package/dist/chunks/cli-0.6.14-70gt6pyh.mjs +2 -0
  113. package/dist/chunks/cli-0.6.14-7202pzsa.mjs +2 -0
  114. package/dist/chunks/cli-0.6.14-742r2xc2.mjs +2 -0
  115. package/dist/chunks/cli-0.6.14-7dv884y9.mjs +2 -0
  116. package/dist/chunks/cli-0.6.14-7e258xyd.mjs +2 -0
  117. package/dist/chunks/cli-0.6.14-7r0v4vgc.mjs +4 -0
  118. package/dist/chunks/cli-0.6.14-7v6ykh0a.mjs +3 -0
  119. package/dist/chunks/cli-0.6.14-8br8tabm.mjs +2 -0
  120. package/dist/chunks/cli-0.6.14-8byhrd64.mjs +15 -0
  121. package/dist/chunks/cli-0.6.14-8csp6x7m.mjs +2 -0
  122. package/dist/chunks/cli-0.6.14-8fwb0rxq.mjs +28 -0
  123. package/dist/chunks/cli-0.6.14-8n7jces4.mjs +18 -0
  124. package/dist/chunks/cli-0.6.14-8y4djf48.mjs +2 -0
  125. package/dist/chunks/cli-0.6.14-91q3yxr1.mjs +7 -0
  126. package/dist/chunks/cli-0.6.14-96g9dpcc.mjs +2 -0
  127. package/dist/chunks/cli-0.6.14-99fa5ayv.mjs +2 -0
  128. package/dist/chunks/cli-0.6.14-99js5k5c.mjs +2 -0
  129. package/dist/chunks/cli-0.6.14-9byxqpdv.mjs +2 -0
  130. package/dist/chunks/cli-0.6.14-9cx1z2pw.mjs +2 -0
  131. package/dist/chunks/cli-0.6.14-9hvsvn95.mjs +2 -0
  132. package/dist/chunks/cli-0.6.14-9vb8dn9c.mjs +2 -0
  133. package/dist/chunks/cli-0.6.14-agy54y78.mjs +2 -0
  134. package/dist/chunks/cli-0.6.14-ahr7p5ae.mjs +2 -0
  135. package/dist/chunks/cli-0.6.14-aq75zv9g.mjs +2 -0
  136. package/dist/chunks/cli-0.6.14-atdabjtf.mjs +2 -0
  137. package/dist/chunks/cli-0.6.14-b84drszx.mjs +133 -0
  138. package/dist/chunks/cli-0.6.14-bxkmnd7t.mjs +2 -0
  139. package/dist/chunks/cli-0.6.14-by6pfc25.mjs +2 -0
  140. package/dist/chunks/cli-0.6.14-bypp2d0a.mjs +2 -0
  141. package/dist/chunks/cli-0.6.14-caxxj8jv.mjs +4 -0
  142. package/dist/chunks/cli-0.6.14-cwgdsa6g.mjs +2 -0
  143. package/dist/chunks/cli-0.6.14-czceqk0q.mjs +2 -0
  144. package/dist/chunks/cli-0.6.14-d7hwk3k9.mjs +6 -0
  145. package/dist/chunks/cli-0.6.14-dvpqcja3.mjs +2 -0
  146. package/dist/chunks/cli-0.6.14-dxbqd9pq.mjs +12 -0
  147. package/dist/chunks/cli-0.6.14-e4k2wv6r.mjs +6 -0
  148. package/dist/chunks/cli-0.6.14-ebpc2q9b.mjs +17 -0
  149. package/dist/chunks/cli-0.6.14-edddpydh.mjs +3 -0
  150. package/dist/chunks/cli-0.6.14-ejemjmg6.mjs +2 -0
  151. package/dist/chunks/cli-0.6.14-et3604gq.mjs +39 -0
  152. package/dist/chunks/cli-0.6.14-f2qf9rpv.mjs +2 -0
  153. package/dist/chunks/cli-0.6.14-f5hmncvj.mjs +2 -0
  154. package/dist/chunks/cli-0.6.14-f7cc62eb.mjs +2 -0
  155. package/dist/chunks/cli-0.6.14-f8c4q74r.mjs +2 -0
  156. package/dist/chunks/cli-0.6.14-fde4ab0h.mjs +2 -0
  157. package/dist/chunks/cli-0.6.14-fdqtsv1m.mjs +20 -0
  158. package/dist/chunks/cli-0.6.14-ffm0j5zp.mjs +2 -0
  159. package/dist/chunks/cli-0.6.14-fj1s0rkp.mjs +2 -0
  160. package/dist/chunks/cli-0.6.14-frt92hs0.mjs +9 -0
  161. package/dist/chunks/cli-0.6.14-fz53f5mk.mjs +2 -0
  162. package/dist/chunks/cli-0.6.14-g50h10rn.mjs +2 -0
  163. package/dist/chunks/cli-0.6.14-g6dh1cms.mjs +2 -0
  164. package/dist/chunks/cli-0.6.14-g818hb3n.mjs +67 -0
  165. package/dist/chunks/cli-0.6.14-gva5ynrb.mjs +5 -0
  166. package/dist/chunks/cli-0.6.14-h16dbgdt.mjs +12 -0
  167. package/dist/chunks/cli-0.6.14-h57ntdbv.mjs +4 -0
  168. package/dist/chunks/cli-0.6.14-h7ta197w.mjs +2 -0
  169. package/dist/chunks/cli-0.6.14-h9nhb76w.mjs +24 -0
  170. package/dist/chunks/cli-0.6.14-hphp4crf.mjs +2 -0
  171. package/dist/chunks/cli-0.6.14-hwwpzjf6.mjs +16 -0
  172. package/dist/chunks/cli-0.6.14-jccr8khp.mjs +2 -0
  173. package/dist/chunks/cli-0.6.14-jd419b75.mjs +2 -0
  174. package/dist/chunks/cli-0.6.14-jrza7rgy.mjs +2 -0
  175. package/dist/chunks/cli-0.6.14-jsk6pprz.mjs +3 -0
  176. package/dist/chunks/cli-0.6.14-jt2n5c1v.mjs +2 -0
  177. package/dist/chunks/cli-0.6.14-k0xhn7g8.mjs +2 -0
  178. package/dist/chunks/cli-0.6.14-k2gx4ab3.mjs +2 -0
  179. package/dist/chunks/cli-0.6.14-ka8hq4g3.mjs +2 -0
  180. package/dist/chunks/cli-0.6.14-kf6m200b.mjs +17 -0
  181. package/dist/chunks/cli-0.6.14-kkgqr44y.mjs +2 -0
  182. package/dist/chunks/cli-0.6.14-kwnf1xer.mjs +2 -0
  183. package/dist/chunks/cli-0.6.14-m3bx95g6.mjs +2 -0
  184. package/dist/chunks/cli-0.6.14-m43ydag7.mjs +2 -0
  185. package/dist/chunks/cli-0.6.14-mb6vtzwv.mjs +24 -0
  186. package/dist/chunks/cli-0.6.14-mfccnezj.mjs +21 -0
  187. package/dist/chunks/cli-0.6.14-mg7c9km9.mjs +2 -0
  188. package/dist/chunks/cli-0.6.14-n33bnafx.mjs +2 -0
  189. package/dist/chunks/cli-0.6.14-n3mgs3pe.mjs +2 -0
  190. package/dist/chunks/cli-0.6.14-n83d4d40.mjs +3 -0
  191. package/dist/chunks/cli-0.6.14-nwprj5e9.mjs +2 -0
  192. package/dist/chunks/cli-0.6.14-nynda58b.mjs +45 -0
  193. package/dist/chunks/cli-0.6.14-nz0nygqh.mjs +18 -0
  194. package/dist/chunks/cli-0.6.14-p0w8rth4.mjs +10 -0
  195. package/dist/chunks/cli-0.6.14-p1b2fr7h.mjs +15 -0
  196. package/dist/chunks/cli-0.6.14-p1tqmfbz.mjs +2 -0
  197. package/dist/chunks/cli-0.6.14-p380n7ja.mjs +12 -0
  198. package/dist/chunks/cli-0.6.14-p722jmps.mjs +2 -0
  199. package/dist/chunks/cli-0.6.14-p9g6q20d.mjs +2 -0
  200. package/dist/chunks/cli-0.6.14-q1pvwt5p.mjs +3 -0
  201. package/dist/chunks/cli-0.6.14-q565grvj.mjs +25 -0
  202. package/dist/chunks/cli-0.6.14-q9jdrh1d.mjs +2 -0
  203. package/dist/chunks/cli-0.6.14-qc8cmr0r.mjs +3 -0
  204. package/dist/chunks/cli-0.6.14-qx9bvx4j.mjs +2 -0
  205. package/dist/chunks/cli-0.6.14-qy6pdc22.mjs +3 -0
  206. package/dist/chunks/cli-0.6.14-qygdwtnt.mjs +2 -0
  207. package/dist/chunks/cli-0.6.14-qysasn12.mjs +2 -0
  208. package/dist/chunks/cli-0.6.14-qzya6w20.mjs +2 -0
  209. package/dist/chunks/cli-0.6.14-rmxstabz.mjs +58 -0
  210. package/dist/chunks/cli-0.6.14-rn7sy805.mjs +2 -0
  211. package/dist/chunks/cli-0.6.14-s1dz4xc5.mjs +2 -0
  212. package/dist/chunks/cli-0.6.14-sbxb46et.mjs +2 -0
  213. package/dist/chunks/cli-0.6.14-sfan5yg2.mjs +5420 -0
  214. package/dist/chunks/cli-0.6.14-sydjzmja.mjs +2 -0
  215. package/dist/chunks/cli-0.6.14-t0h283eb.mjs +2 -0
  216. package/dist/chunks/cli-0.6.14-t2qdx2z0.mjs +2 -0
  217. package/dist/chunks/cli-0.6.14-t88fpm4q.mjs +2 -0
  218. package/dist/chunks/cli-0.6.14-tag8j147.mjs +2 -0
  219. package/dist/chunks/cli-0.6.14-tdxev2bd.mjs +2 -0
  220. package/dist/chunks/cli-0.6.14-tme0rm4s.mjs +2 -0
  221. package/dist/chunks/cli-0.6.14-tsj8ceqz.mjs +4 -0
  222. package/dist/chunks/cli-0.6.14-twrb9ymv.mjs +2 -0
  223. package/dist/chunks/cli-0.6.14-v3f1f3sz.mjs +2 -0
  224. package/dist/chunks/cli-0.6.14-vatc2ew2.mjs +6 -0
  225. package/dist/chunks/cli-0.6.14-vcc877tq.mjs +5 -0
  226. package/dist/chunks/cli-0.6.14-vdt75vby.mjs +4 -0
  227. package/dist/chunks/cli-0.6.14-vtvsgpwy.mjs +2 -0
  228. package/dist/chunks/cli-0.6.14-wadqcwj7.mjs +4 -0
  229. package/dist/chunks/cli-0.6.14-wat8851e.mjs +2 -0
  230. package/dist/chunks/cli-0.6.14-wgfwkbbx.mjs +2 -0
  231. package/dist/chunks/cli-0.6.14-wmh9wt8e.mjs +2 -0
  232. package/dist/chunks/cli-0.6.14-wnqatmtw.mjs +2 -0
  233. package/dist/chunks/cli-0.6.14-x5c5tsdg.mjs +50 -0
  234. package/dist/chunks/cli-0.6.14-x5v6ap8c.mjs +2 -0
  235. package/dist/chunks/cli-0.6.14-x95b1v8n.mjs +2 -0
  236. package/dist/chunks/cli-0.6.14-xkdca0es.mjs +4 -0
  237. package/dist/chunks/cli-0.6.14-y6edg2da.mjs +2 -0
  238. package/dist/chunks/cli-0.6.14-y6jp1vbw.mjs +2 -0
  239. package/dist/chunks/cli-0.6.14-yqgjsp01.mjs +2 -0
  240. package/dist/chunks/cli-0.6.14-yzehn0ck.mjs +3 -0
  241. package/dist/chunks/cli-0.6.14-z0d41c6a.mjs +3 -0
  242. package/dist/chunks/cli-0.6.14-z2f9x7q6.mjs +2 -0
  243. package/dist/chunks/cli-0.6.14-zaq2td5m.mjs +2 -0
  244. package/dist/chunks/cli-0.6.14-zbg4rtam.mjs +2 -0
  245. package/dist/chunks/cli-0.6.14-zcj7h5kt.mjs +2 -0
  246. package/dist/chunks/cli-0.6.14-zdxkyktd.mjs +2 -0
  247. package/dist/chunks/cli-0.6.14-zdzmxpyn.mjs +2 -0
  248. package/dist/chunks/cli-0.6.14-zkvgknj2.mjs +2 -0
  249. package/dist/chunks/cli-0.6.14-zqc493f5.mjs +2 -0
  250. package/dist/chunks/cli-0.6.14-zs6qf39k.mjs +193 -0
  251. package/dist/chunks/cli-0.6.14-zz49ny6n.mjs +3 -0
  252. package/dist/chunks/client-0.6.14-a37v2hkc.mjs +1 -0
  253. package/dist/chunks/color-0.6.14-bzg7gay9.mjs +1 -0
  254. package/dist/chunks/compact-0.6.14-tc6cp8fp.mjs +3 -0
  255. package/dist/chunks/config-0.6.14-3wmc0969.mjs +1 -0
  256. package/dist/chunks/config-0.6.14-b68r8gag.mjs +1 -0
  257. package/dist/chunks/constants-0.6.14-v7badbs1.mjs +1 -0
  258. package/dist/chunks/context-0.6.14-xp245pp8.mjs +1 -0
  259. package/dist/chunks/context-noninteractive-0.6.14-hd0hk9h9.mjs +1 -0
  260. package/dist/chunks/conversation-0.6.14-891b08cf.mjs +1 -0
  261. package/dist/chunks/copilotHeaders-0.6.14-b9a2v65h.mjs +1 -0
  262. package/dist/chunks/copy-0.6.14-azcjvt9f.mjs +9 -0
  263. package/dist/chunks/cost-0.6.14-f4y2w5f0.mjs +1 -0
  264. package/dist/chunks/createSSHSession-0.6.14-8vvxmzhm.mjs +1 -0
  265. package/dist/chunks/createSession-0.6.14-9mbn7pxm.mjs +1 -0
  266. package/dist/chunks/debug-0.6.14-72pxzjer.mjs +1 -0
  267. package/dist/chunks/defaultActionDeps-0.6.14-576scmq8.mjs +1367 -0
  268. package/dist/chunks/desktop-0.6.14-hb7yxjq0.mjs +1 -0
  269. package/dist/chunks/detectRepository-0.6.14-y7mnfkm3.mjs +1 -0
  270. package/dist/chunks/detection-0.6.14-rfe82fdp.mjs +1 -0
  271. package/dist/chunks/diff-0.6.14-z24ty79x.mjs +1 -0
  272. package/dist/chunks/doctor-0.6.14-t7aa116a.mjs +1 -0
  273. package/dist/chunks/doctorDiagnostic-0.6.14-3pvysh1e.mjs +1 -0
  274. package/dist/chunks/earlyInput-0.6.14-4sras35a.mjs +1 -0
  275. package/dist/chunks/effort-0.6.14-6km9yng9.mjs +10 -0
  276. package/dist/chunks/envLessBridgeConfig-0.6.14-g7kb3d4z.mjs +1 -0
  277. package/dist/chunks/envUtils-0.6.14-4hmq0b5a.mjs +1 -0
  278. package/dist/chunks/environmentSelection-0.6.14-yf31rwvq.mjs +1 -0
  279. package/dist/chunks/environments-0.6.14-npzg2j62.mjs +1 -0
  280. package/dist/chunks/errors-0.6.14-86nj6401.mjs +1 -0
  281. package/dist/chunks/exampleCommands-0.6.14-n1qk8rhj.mjs +1 -0
  282. package/dist/chunks/exit-0.6.14-5za2fg93.mjs +1 -0
  283. package/dist/chunks/explorer-0.6.14-hexd7b76.mjs +1 -0
  284. package/dist/chunks/export-0.6.14-1v7e95q9.mjs +2 -0
  285. package/dist/chunks/extra-usage-0.6.14-gx6570zn.mjs +1 -0
  286. package/dist/chunks/extra-usage-noninteractive-0.6.14-vdwdwnz9.mjs +1 -0
  287. package/dist/chunks/fast-0.6.14-pnkczy1j.mjs +1 -0
  288. package/dist/chunks/feedback-0.6.14-gtmr1g2q.mjs +14 -0
  289. package/dist/chunks/firstPartyEventLogger-0.6.14-t9nfzshv.mjs +1 -0
  290. package/dist/chunks/git-0.6.14-f74k03xt.mjs +1 -0
  291. package/dist/chunks/githubModelsCredentials-0.6.14-ez3p2wg3.mjs +1 -0
  292. package/dist/chunks/goal-0.6.14-5d0ya1j2.mjs +4 -0
  293. package/dist/chunks/grove-0.6.14-sxnhb95y.mjs +1 -0
  294. package/dist/chunks/growthbook-0.6.14-gge4tqg1.mjs +1 -0
  295. package/dist/chunks/headless-0.6.14-b2wxjfrs.mjs +2 -0
  296. package/dist/chunks/heapdump-0.6.14-mms7s76k.mjs +6 -0
  297. package/dist/chunks/help-0.6.14-pqn4adtv.mjs +1 -0
  298. package/dist/chunks/hookChains-0.6.14-pqje8ftz.mjs +3 -0
  299. package/dist/chunks/hooks-0.6.14-ctdgjqej.mjs +1 -0
  300. package/dist/chunks/hooks-0.6.14-m71syqtm.mjs +79 -0
  301. package/dist/chunks/ide-0.6.14-0jxzgh55.mjs +3 -0
  302. package/dist/chunks/image-processor-napi-0.6.14-q7t6pn66.mjs +1 -0
  303. package/dist/chunks/inboundAttachments-0.6.14-q86263h2.mjs +1 -0
  304. package/dist/chunks/index-0.6.14-0cq48avx.mjs +1 -0
  305. package/dist/chunks/index-0.6.14-1mbqhpsc.mjs +1 -0
  306. package/dist/chunks/index-0.6.14-2862bv8a.mjs +2 -0
  307. package/dist/chunks/index-0.6.14-30t6majr.mjs +9 -0
  308. package/dist/chunks/index-0.6.14-3bzm9qc7.mjs +1 -0
  309. package/dist/chunks/index-0.6.14-61adtkwy.mjs +1 -0
  310. package/dist/chunks/index-0.6.14-6wed8pvs.mjs +1 -0
  311. package/dist/chunks/index-0.6.14-7s3sge6q.mjs +1 -0
  312. package/dist/chunks/index-0.6.14-8zzk0q1e.mjs +5 -0
  313. package/dist/chunks/index-0.6.14-9f0htcmg.mjs +1 -0
  314. package/dist/chunks/index-0.6.14-9rp3a2yc.mjs +1 -0
  315. package/dist/chunks/index-0.6.14-b8e5bnmy.mjs +1 -0
  316. package/dist/chunks/index-0.6.14-cjbhcv9x.mjs +1 -0
  317. package/dist/chunks/index-0.6.14-dstgm3mq.mjs +1 -0
  318. package/dist/chunks/index-0.6.14-grrxerr7.mjs +30 -0
  319. package/dist/chunks/index-0.6.14-hzpvqqxz.mjs +1 -0
  320. package/dist/chunks/index-0.6.14-ma34hgd2.mjs +1 -0
  321. package/dist/chunks/index-0.6.14-pe5f6erk.mjs +1 -0
  322. package/dist/chunks/index-0.6.14-q7ycrfky.mjs +1 -0
  323. package/dist/chunks/index-0.6.14-tj7zcx0j.mjs +2 -0
  324. package/dist/chunks/index-0.6.14-vsmnqyw7.mjs +9 -0
  325. package/dist/chunks/index-0.6.14-wjwtw877.mjs +1 -0
  326. package/dist/chunks/index-0.6.14-xr4ygqd8.mjs +1 -0
  327. package/dist/chunks/init-0.6.14-xsyn9ype.mjs +1 -0
  328. package/dist/chunks/initReplBridge-0.6.14-4xf599ff.mjs +1 -0
  329. package/dist/chunks/ink-0.6.14-nmt32hk2.mjs +1 -0
  330. package/dist/chunks/insights-0.6.14-19xzs05z.mjs +870 -0
  331. package/dist/chunks/install-0.6.14-vqtax3vj.mjs +1 -0
  332. package/dist/chunks/install-github-app-0.6.14-763gk6yh.mjs +149 -0
  333. package/dist/chunks/install-slack-app-0.6.14-errj5jgt.mjs +1 -0
  334. package/dist/chunks/instrumentation-0.6.14-5hpeqy3p.mjs +1 -0
  335. package/dist/chunks/interactiveHelpers-0.6.14-b57szzcn.mjs +1 -0
  336. package/dist/chunks/keybindings-0.6.14-xrfkf4ee.mjs +2 -0
  337. package/dist/chunks/knowledge-0.6.14-afa9zk0n.mjs +2 -0
  338. package/dist/chunks/latestVersionCache-0.6.14-srzyzbck.mjs +1 -0
  339. package/dist/chunks/loadAgentsDir-0.6.14-fa11st0a.mjs +1 -0
  340. package/dist/chunks/loadPluginHooks-0.6.14-pxqawxmk.mjs +1 -0
  341. package/dist/chunks/loadPluginHooks-0.6.14-q996y4ys.mjs +1 -0
  342. package/dist/chunks/log-0.6.14-r5g98evz.mjs +1 -0
  343. package/dist/chunks/main-0.6.14-t80arejb.mjs +1 -0
  344. package/dist/chunks/managedEnv-0.6.14-c69sc493.mjs +1 -0
  345. package/dist/chunks/mcp-0.6.14-kgz52fqg.mjs +17 -0
  346. package/dist/chunks/mcp-0.6.14-rp59xhps.mjs +1 -0
  347. package/dist/chunks/mcp-0.6.14-tsyhv9kh.mjs +4 -0
  348. package/dist/chunks/mcpb-0.6.14-t3tjab75.mjs +1 -0
  349. package/dist/chunks/memory-0.6.14-m03pztgw.mjs +3 -0
  350. package/dist/chunks/model-0.6.14-jdqn7n40.mjs +1 -0
  351. package/dist/chunks/model-0.6.14-qv4hzczr.mjs +2 -0
  352. package/dist/chunks/node-0.6.14-hjvhe7hn.mjs +12 -0
  353. package/dist/chunks/oauth-0.6.14-wy6c29gv.mjs +1 -0
  354. package/dist/chunks/openaiShim-0.6.14-da1kj5v4.mjs +14 -0
  355. package/dist/chunks/output-style-0.6.14-t6v2gb8n.mjs +1 -0
  356. package/dist/chunks/package-FMOR3ELU-0.6.14-emy5wf3r.mjs +1 -0
  357. package/dist/chunks/parseConnectUrl-0.6.14-3vqsr0kx.mjs +1 -0
  358. package/dist/chunks/parser-0.6.14-1sqra6j7.mjs +1 -0
  359. package/dist/chunks/passes-0.6.14-myy267ws.mjs +1 -0
  360. package/dist/chunks/permissions-0.6.14-3z8pbz2g.mjs +3 -0
  361. package/dist/chunks/permissions-0.6.14-79t7ebq2.mjs +1 -0
  362. package/dist/chunks/plan-0.6.14-y045axp0.mjs +1 -0
  363. package/dist/chunks/plist-0.6.14-ab99byjh.mjs +1 -0
  364. package/dist/chunks/plugin-0.6.14-qz01xk73.mjs +29 -0
  365. package/dist/chunks/pluginStartupCheck-0.6.14-qzs78ynj.mjs +1 -0
  366. package/dist/chunks/plugins-0.6.14-aswnzxep.mjs +9 -0
  367. package/dist/chunks/preActionHook-0.6.14-1d096j7q.mjs +2 -0
  368. package/dist/chunks/print-0.6.14-ar39mndx.mjs +57 -0
  369. package/dist/chunks/privacy-settings-0.6.14-87dkr1af.mjs +1 -0
  370. package/dist/chunks/process-0.6.14-c0akc420.mjs +1 -0
  371. package/dist/chunks/processBashCommand-0.6.14-es5xezck.mjs +1 -0
  372. package/dist/chunks/processSlashCommand-0.6.14-gqdsehy1.mjs +9 -0
  373. package/dist/chunks/prompt-0.6.14-9ry1h9sp.mjs +1 -0
  374. package/dist/chunks/prompt-0.6.14-tjm76x4x.mjs +1 -0
  375. package/dist/chunks/prompts-0.6.14-jvcj7380.mjs +1 -0
  376. package/dist/chunks/protocolHandler-0.6.14-ef5v3zyh.mjs +13 -0
  377. package/dist/chunks/provider-0.6.14-eey11cp2.mjs +2 -0
  378. package/dist/chunks/providerProfiles-0.6.14-svsc9dz2.mjs +1 -0
  379. package/dist/chunks/providerValidation-0.6.14-gnv5n4kb.mjs +6 -0
  380. package/dist/chunks/rate-limit-options-0.6.14-bmz8ww7q.mjs +1 -0
  381. package/dist/chunks/registerSubcommands-0.6.14-fywkqked.mjs +34 -0
  382. package/dist/chunks/registry-0.6.14-kphmp02w.mjs +1 -0
  383. package/dist/chunks/release-notes-0.6.14-3avcrn6e.mjs +5 -0
  384. package/dist/chunks/reload-plugins-0.6.14-gfg76jqa.mjs +2 -0
  385. package/dist/chunks/remote-env-0.6.14-rsbq7bet.mjs +1 -0
  386. package/dist/chunks/remoteBridgeCore-0.6.14-qp6qx722.mjs +1 -0
  387. package/dist/chunks/remoteSession-0.6.14-7ms8beek.mjs +1 -0
  388. package/dist/chunks/rename-0.6.14-8gj3cr0t.mjs +1 -0
  389. package/dist/chunks/replBridgeHandle-0.6.14-e4vhwyxz.mjs +1 -0
  390. package/dist/chunks/replLauncher-0.6.14-n2w77h31.mjs +1 -0
  391. package/dist/chunks/resume-0.6.14-kq4j9a02.mjs +2 -0
  392. package/dist/chunks/rewind-0.6.14-t4kjyzca.mjs +1 -0
  393. package/dist/chunks/rootOptions-0.6.14-m544z408.mjs +1 -0
  394. package/dist/chunks/sandbox-adapter-0.6.14-1gefp492.mjs +1 -0
  395. package/dist/chunks/sandbox-toggle-0.6.14-rrm1sx8h.mjs +1 -0
  396. package/dist/chunks/session-0.6.14-c4fxdqq4.mjs +2 -0
  397. package/dist/chunks/sessionDiscovery-0.6.14-xa35ttn0.mjs +1 -0
  398. package/dist/chunks/sessionFileAccessHooks-0.6.14-sadh6z4m.mjs +1 -0
  399. package/dist/chunks/sessionStorage-0.6.14-f5hcr3w9.mjs +1 -0
  400. package/dist/chunks/settings-0.6.14-kadpzkck.mjs +1 -0
  401. package/dist/chunks/setup-0.6.14-e9fxzm03.mjs +5 -0
  402. package/dist/chunks/sinks-0.6.14-6ykwkv40.mjs +1 -0
  403. package/dist/chunks/skills-0.6.14-txsmfaj3.mjs +1 -0
  404. package/dist/chunks/startupProfiler-0.6.14-3v8z482z.mjs +1 -0
  405. package/dist/chunks/startupUpdateCheck-0.6.14-41zkqddn.mjs +1 -0
  406. package/dist/chunks/state-0.6.14-4n3ak598.mjs +1 -0
  407. package/dist/chunks/stats-0.6.14-ea3435fh.mjs +6 -0
  408. package/dist/chunks/status-0.6.14-phzcwc8s.mjs +1 -0
  409. package/dist/chunks/stickers-0.6.14-6qww40c0.mjs +1 -0
  410. package/dist/chunks/subprocessEnv-0.6.14-4t9m3vaq.mjs +1 -0
  411. package/dist/chunks/tasks-0.6.14-1jwxz28f.mjs +1 -0
  412. package/dist/chunks/teamHelpers-0.6.14-vyhakypg.mjs +1 -0
  413. package/dist/chunks/teammateModeSnapshot-0.6.14-12r7yt67.mjs +1 -0
  414. package/dist/chunks/teleport-0.6.14-55jrt6fb.mjs +1 -0
  415. package/dist/chunks/terminalSetup-0.6.14-d79aqeyc.mjs +1 -0
  416. package/dist/chunks/theme-0.6.14-4859e0jg.mjs +1 -0
  417. package/dist/chunks/thinkback-0.6.14-5hxy4f53.mjs +1 -0
  418. package/dist/chunks/thinkback-play-0.6.14-rcstrvmt.mjs +1 -0
  419. package/dist/chunks/toolPool-0.6.14-dgws7ran.mjs +1 -0
  420. package/dist/chunks/toolSearch-0.6.14-wy210e1q.mjs +1 -0
  421. package/dist/chunks/tools-0.6.14-4brh5a3k.mjs +1 -0
  422. package/dist/chunks/trustedDevice-0.6.14-bvc0mt34.mjs +1 -0
  423. package/dist/chunks/turndown.cjs-0.6.14-wq5f2s7f.mjs +69 -0
  424. package/dist/chunks/types-0.6.14-zbh1a4yy.mjs +1 -0
  425. package/dist/chunks/ultrareviewCommand-0.6.14-pjr2ry7s.mjs +4 -0
  426. package/dist/chunks/update-0.6.14-gh8hbk2s.mjs +86 -0
  427. package/dist/chunks/upgrade-0.6.14-p84xqcx2.mjs +1 -0
  428. package/dist/chunks/upload-0.6.14-n7wr7bpj.mjs +7 -0
  429. package/dist/chunks/upstreamproxy-0.6.14-dfrtndvx.mjs +14 -0
  430. package/dist/chunks/url-handler-napi-0.6.14-dxy70q48.mjs +1 -0
  431. package/dist/chunks/usage-0.6.14-xxq4jwr7.mjs +1 -0
  432. package/dist/chunks/util-0.6.14-8cvteh10.mjs +1 -0
  433. package/dist/chunks/utils-0.6.14-310awtc9.mjs +1 -0
  434. package/dist/chunks/vim-0.6.14-j69d6qse.mjs +1 -0
  435. package/dist/chunks/watcher-0.6.14-5getwwq0.mjs +1 -0
  436. package/dist/chunks/wiki-0.6.14-d818xacs.mjs +132 -0
  437. package/dist/chunks/worktree-0.6.14-jfb07r4d.mjs +1 -0
  438. package/dist/chunks/worktreeModeEnabled-0.6.14-25qk5mhk.mjs +1 -0
  439. package/dist/chunks/wrapper-0.6.14-ecgg0wpw.mjs +7 -0
  440. package/dist/claudin-vscode.vsix +0 -0
  441. package/dist/cli.mjs +2 -2
  442. package/package.json +1 -1
  443. package/dist/chunks/AgentTool-0.6.13-372t6jvm.mjs +0 -1
  444. package/dist/chunks/App-0.6.13-qvfyfba9.mjs +0 -1
  445. package/dist/chunks/ApproveApiKey-0.6.13-6nmfyyev.mjs +0 -1
  446. package/dist/chunks/AssistantSessionChooser-0.6.13-b6yfhres.mjs +0 -1
  447. package/dist/chunks/AutoModeOptInDialog-0.6.13-dyqtw95c.mjs +0 -1
  448. package/dist/chunks/BypassPermissionsModeDialog-0.6.13-5pgva0rj.mjs +0 -1
  449. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.13-waw1tn55.mjs +0 -1
  450. package/dist/chunks/ConsoleOAuthFlow-0.6.13-hjwa1fbn.mjs +0 -1
  451. package/dist/chunks/DiffDialog-0.6.13-dk52swdy.mjs +0 -7
  452. package/dist/chunks/Doctor-0.6.13-1a58bmer.mjs +0 -1
  453. package/dist/chunks/ExplorerDialog-0.6.13-2jsr1kdp.mjs +0 -6
  454. package/dist/chunks/Grove-0.6.13-ndwmcy2m.mjs +0 -1
  455. package/dist/chunks/ITermBackend-0.6.13-nf00ba9t.mjs +0 -1
  456. package/dist/chunks/InvalidConfigDialog-0.6.13-5tjcywmj.mjs +0 -1
  457. package/dist/chunks/InvalidSettingsDialog-0.6.13-hfvttszy.mjs +0 -1
  458. package/dist/chunks/MigrationDialog-0.6.13-8kny4cnv.mjs +0 -1
  459. package/dist/chunks/Onboarding-0.6.13-kq8ksp1e.mjs +0 -1
  460. package/dist/chunks/ProviderManager-0.6.13-qk3hqkes.mjs +0 -1
  461. package/dist/chunks/REPL-0.6.13-61en5qve.mjs +0 -1
  462. package/dist/chunks/ResumeConversation-0.6.13-3fqxexjm.mjs +0 -1
  463. package/dist/chunks/SnapshotUpdateDialog-0.6.13-62cd6tth.mjs +0 -1
  464. package/dist/chunks/TeleportProgress-0.6.13-15xb363h.mjs +0 -1
  465. package/dist/chunks/TeleportRepoMismatchDialog-0.6.13-dsedgexe.mjs +0 -1
  466. package/dist/chunks/TeleportResumeWrapper-0.6.13-9j8hn55r.mjs +0 -1
  467. package/dist/chunks/TmuxBackend-0.6.13-8vwnn7q5.mjs +0 -9
  468. package/dist/chunks/ToolSearchTool-0.6.13-zh1xxj19.mjs +0 -1
  469. package/dist/chunks/TrustDialog-0.6.13-bxhrfq4g.mjs +0 -1
  470. package/dist/chunks/activeProvider-0.6.13-czzs1epn.mjs +0 -1
  471. package/dist/chunks/add-dir-0.6.13-j5n5k274.mjs +0 -1
  472. package/dist/chunks/agents-0.6.13-0m0b4n5a.mjs +0 -3
  473. package/dist/chunks/agents-0.6.13-v7mba2z1.mjs +0 -110
  474. package/dist/chunks/api-0.6.13-1s3mg09p.mjs +0 -1
  475. package/dist/chunks/asciicast-0.6.13-3mbwg05w.mjs +0 -1
  476. package/dist/chunks/assistant-0.6.13-bg17bbaf.mjs +0 -1
  477. package/dist/chunks/auth-0.6.13-586trvnj.mjs +0 -1
  478. package/dist/chunks/auth-0.6.13-jkzs3jr4.mjs +0 -1
  479. package/dist/chunks/autoMode-0.6.13-9sxgpw8z.mjs +0 -48
  480. package/dist/chunks/autoUpdater-0.6.13-0rtsfmyq.mjs +0 -1
  481. package/dist/chunks/backgroundHousekeeping-0.6.13-dfn3gpk2.mjs +0 -1
  482. package/dist/chunks/branch-0.6.13-nncg27cq.mjs +0 -4
  483. package/dist/chunks/bridge-0.6.13-p1vtbdeq.mjs +0 -2
  484. package/dist/chunks/bridgeConfig-0.6.13-99p1h4gg.mjs +0 -1
  485. package/dist/chunks/bridgeEnabled-0.6.13-jxfgwjry.mjs +0 -1
  486. package/dist/chunks/bridgeMain-0.6.13-fthkw7s3.mjs +0 -88
  487. package/dist/chunks/bridgePointer-0.6.13-zs37h6xx.mjs +0 -1
  488. package/dist/chunks/btw-0.6.13-hhztcxbv.mjs +0 -1
  489. package/dist/chunks/buddy-0.6.13-0j9feqm5.mjs +0 -3
  490. package/dist/chunks/cacache-0.6.13-kqpn2432.mjs +0 -1
  491. package/dist/chunks/cache-probe-0.6.13-d98620ds.mjs +0 -21
  492. package/dist/chunks/cacheStats-0.6.13-yktwg0rm.mjs +0 -4
  493. package/dist/chunks/caches-0.6.13-5s0az6ex.mjs +0 -1
  494. package/dist/chunks/claudeDesktop-0.6.13-ecqnvr2j.mjs +0 -1
  495. package/dist/chunks/claudemd-0.6.13-yae0af2s.mjs +0 -1
  496. package/dist/chunks/clear-0.6.13-nqy8a9yn.mjs +0 -1
  497. package/dist/chunks/clearTerminal-0.6.13-72xf6n5m.mjs +0 -1
  498. package/dist/chunks/cli-0.6.13-004msxtb.mjs +0 -2
  499. package/dist/chunks/cli-0.6.13-03nk0m3d.mjs +0 -24
  500. package/dist/chunks/cli-0.6.13-05yxsqtw.mjs +0 -2
  501. package/dist/chunks/cli-0.6.13-0602v59h.mjs +0 -2
  502. package/dist/chunks/cli-0.6.13-0fqa9efa.mjs +0 -2
  503. package/dist/chunks/cli-0.6.13-0k53jyws.mjs +0 -2
  504. package/dist/chunks/cli-0.6.13-0q2ceerc.mjs +0 -2
  505. package/dist/chunks/cli-0.6.13-0xg54q0q.mjs +0 -3
  506. package/dist/chunks/cli-0.6.13-15925v1q.mjs +0 -2
  507. package/dist/chunks/cli-0.6.13-17fmkp6v.mjs +0 -3
  508. package/dist/chunks/cli-0.6.13-1ax2v1qb.mjs +0 -24
  509. package/dist/chunks/cli-0.6.13-1hj4de9z.mjs +0 -18
  510. package/dist/chunks/cli-0.6.13-1jhzkjnr.mjs +0 -2
  511. package/dist/chunks/cli-0.6.13-1pb6yp4f.mjs +0 -2
  512. package/dist/chunks/cli-0.6.13-27ey3345.mjs +0 -17
  513. package/dist/chunks/cli-0.6.13-2999v1f0.mjs +0 -5
  514. package/dist/chunks/cli-0.6.13-2d7gmnka.mjs +0 -2
  515. package/dist/chunks/cli-0.6.13-2k50jqzf.mjs +0 -2
  516. package/dist/chunks/cli-0.6.13-2s33ahe4.mjs +0 -5420
  517. package/dist/chunks/cli-0.6.13-31zhsxsz.mjs +0 -2
  518. package/dist/chunks/cli-0.6.13-35rszksn.mjs +0 -2
  519. package/dist/chunks/cli-0.6.13-3812a7q8.mjs +0 -34
  520. package/dist/chunks/cli-0.6.13-3c8w16xp.mjs +0 -3
  521. package/dist/chunks/cli-0.6.13-3w1r3c0v.mjs +0 -2
  522. package/dist/chunks/cli-0.6.13-45x35nyh.mjs +0 -2
  523. package/dist/chunks/cli-0.6.13-46hqxeb7.mjs +0 -2
  524. package/dist/chunks/cli-0.6.13-4hknb5dd.mjs +0 -2
  525. package/dist/chunks/cli-0.6.13-50wr9g3w.mjs +0 -2
  526. package/dist/chunks/cli-0.6.13-56b3061c.mjs +0 -18
  527. package/dist/chunks/cli-0.6.13-56j5q7d2.mjs +0 -42
  528. package/dist/chunks/cli-0.6.13-5gh7ptbm.mjs +0 -4
  529. package/dist/chunks/cli-0.6.13-5t9gd5mv.mjs +0 -2
  530. package/dist/chunks/cli-0.6.13-643zsnv9.mjs +0 -2
  531. package/dist/chunks/cli-0.6.13-667dsr1w.mjs +0 -2
  532. package/dist/chunks/cli-0.6.13-77hs0qtg.mjs +0 -2
  533. package/dist/chunks/cli-0.6.13-79mne5jt.mjs +0 -2
  534. package/dist/chunks/cli-0.6.13-7c9n56f7.mjs +0 -2
  535. package/dist/chunks/cli-0.6.13-7ga8d4j1.mjs +0 -2
  536. package/dist/chunks/cli-0.6.13-7pva2mmr.mjs +0 -3
  537. package/dist/chunks/cli-0.6.13-7vd0kdw5.mjs +0 -2
  538. package/dist/chunks/cli-0.6.13-82datd4w.mjs +0 -2
  539. package/dist/chunks/cli-0.6.13-86pqnjyd.mjs +0 -2
  540. package/dist/chunks/cli-0.6.13-881js45c.mjs +0 -2
  541. package/dist/chunks/cli-0.6.13-8t0ttrk7.mjs +0 -2
  542. package/dist/chunks/cli-0.6.13-8ws8a2xy.mjs +0 -3
  543. package/dist/chunks/cli-0.6.13-949racwr.mjs +0 -7
  544. package/dist/chunks/cli-0.6.13-94nwan0d.mjs +0 -2
  545. package/dist/chunks/cli-0.6.13-97cs7c2r.mjs +0 -2
  546. package/dist/chunks/cli-0.6.13-9h9fp7zs.mjs +0 -2
  547. package/dist/chunks/cli-0.6.13-9wktvaax.mjs +0 -50
  548. package/dist/chunks/cli-0.6.13-ac8nyfp1.mjs +0 -58
  549. package/dist/chunks/cli-0.6.13-aekttw5a.mjs +0 -2
  550. package/dist/chunks/cli-0.6.13-ajc8203j.mjs +0 -2
  551. package/dist/chunks/cli-0.6.13-axsf5w7q.mjs +0 -2
  552. package/dist/chunks/cli-0.6.13-aztg2ca1.mjs +0 -2
  553. package/dist/chunks/cli-0.6.13-b3zncvcq.mjs +0 -16
  554. package/dist/chunks/cli-0.6.13-b55baxv4.mjs +0 -2
  555. package/dist/chunks/cli-0.6.13-bthkgbv5.mjs +0 -2
  556. package/dist/chunks/cli-0.6.13-c3452432.mjs +0 -5
  557. package/dist/chunks/cli-0.6.13-cc118njq.mjs +0 -2
  558. package/dist/chunks/cli-0.6.13-cc2eb8bm.mjs +0 -2
  559. package/dist/chunks/cli-0.6.13-cwm0q4km.mjs +0 -2
  560. package/dist/chunks/cli-0.6.13-cxnnt8b1.mjs +0 -2
  561. package/dist/chunks/cli-0.6.13-d2rfg5mp.mjs +0 -2
  562. package/dist/chunks/cli-0.6.13-da6fhpes.mjs +0 -133
  563. package/dist/chunks/cli-0.6.13-dada1afp.mjs +0 -6
  564. package/dist/chunks/cli-0.6.13-dayy1aa4.mjs +0 -2
  565. package/dist/chunks/cli-0.6.13-dh1skxhh.mjs +0 -2
  566. package/dist/chunks/cli-0.6.13-dvfmqzm9.mjs +0 -2
  567. package/dist/chunks/cli-0.6.13-e1t2dda2.mjs +0 -2
  568. package/dist/chunks/cli-0.6.13-ea52zrzt.mjs +0 -2
  569. package/dist/chunks/cli-0.6.13-eaev9cr7.mjs +0 -2
  570. package/dist/chunks/cli-0.6.13-erzcm5hv.mjs +0 -2
  571. package/dist/chunks/cli-0.6.13-esv4y00y.mjs +0 -2
  572. package/dist/chunks/cli-0.6.13-etytm730.mjs +0 -2
  573. package/dist/chunks/cli-0.6.13-ew05qjsa.mjs +0 -4
  574. package/dist/chunks/cli-0.6.13-f58v0vk7.mjs +0 -6
  575. package/dist/chunks/cli-0.6.13-f67v536f.mjs +0 -59
  576. package/dist/chunks/cli-0.6.13-f6qwz2h0.mjs +0 -2
  577. package/dist/chunks/cli-0.6.13-fkaxh655.mjs +0 -2
  578. package/dist/chunks/cli-0.6.13-fspszw8w.mjs +0 -2
  579. package/dist/chunks/cli-0.6.13-fw6m0fbm.mjs +0 -10
  580. package/dist/chunks/cli-0.6.13-fxj1zytn.mjs +0 -2
  581. package/dist/chunks/cli-0.6.13-fy3vgkpz.mjs +0 -2
  582. package/dist/chunks/cli-0.6.13-fzzdrhms.mjs +0 -4
  583. package/dist/chunks/cli-0.6.13-g65dfg11.mjs +0 -6
  584. package/dist/chunks/cli-0.6.13-gkfcc3c2.mjs +0 -2
  585. package/dist/chunks/cli-0.6.13-gpb93cvz.mjs +0 -2
  586. package/dist/chunks/cli-0.6.13-grrshx1z.mjs +0 -2
  587. package/dist/chunks/cli-0.6.13-gsfs6kre.mjs +0 -2
  588. package/dist/chunks/cli-0.6.13-gyq9mepg.mjs +0 -2
  589. package/dist/chunks/cli-0.6.13-h3ymv3nd.mjs +0 -2
  590. package/dist/chunks/cli-0.6.13-h5dej6se.mjs +0 -3
  591. package/dist/chunks/cli-0.6.13-hd0sd535.mjs +0 -193
  592. package/dist/chunks/cli-0.6.13-hp0r1ftj.mjs +0 -12
  593. package/dist/chunks/cli-0.6.13-hx71w6e6.mjs +0 -3
  594. package/dist/chunks/cli-0.6.13-hxfvksxq.mjs +0 -2
  595. package/dist/chunks/cli-0.6.13-j6mr3jmk.mjs +0 -4
  596. package/dist/chunks/cli-0.6.13-jhhmjq66.mjs +0 -133
  597. package/dist/chunks/cli-0.6.13-jjx7jq0w.mjs +0 -2
  598. package/dist/chunks/cli-0.6.13-jmzvtd06.mjs +0 -2
  599. package/dist/chunks/cli-0.6.13-jrdsk8wb.mjs +0 -3
  600. package/dist/chunks/cli-0.6.13-k0kyv254.mjs +0 -2
  601. package/dist/chunks/cli-0.6.13-kd5h1s1s.mjs +0 -2
  602. package/dist/chunks/cli-0.6.13-kdm4832x.mjs +0 -2
  603. package/dist/chunks/cli-0.6.13-kekrwb08.mjs +0 -45
  604. package/dist/chunks/cli-0.6.13-kmg491hy.mjs +0 -2
  605. package/dist/chunks/cli-0.6.13-kqq5n5q3.mjs +0 -12
  606. package/dist/chunks/cli-0.6.13-kxjmrbfd.mjs +0 -3
  607. package/dist/chunks/cli-0.6.13-m4pb5k9v.mjs +0 -2
  608. package/dist/chunks/cli-0.6.13-me17wefv.mjs +0 -2
  609. package/dist/chunks/cli-0.6.13-mreqrsw2.mjs +0 -2
  610. package/dist/chunks/cli-0.6.13-mt7jkjdp.mjs +0 -39
  611. package/dist/chunks/cli-0.6.13-mxr0y1kd.mjs +0 -2
  612. package/dist/chunks/cli-0.6.13-n4qwe0a1.mjs +0 -2
  613. package/dist/chunks/cli-0.6.13-n67mrj2g.mjs +0 -15
  614. package/dist/chunks/cli-0.6.13-n9fz7y3a.mjs +0 -4
  615. package/dist/chunks/cli-0.6.13-nqd696hv.mjs +0 -2
  616. package/dist/chunks/cli-0.6.13-nvcr131g.mjs +0 -4
  617. package/dist/chunks/cli-0.6.13-p02kfjzd.mjs +0 -8
  618. package/dist/chunks/cli-0.6.13-p2k33k0d.mjs +0 -2
  619. package/dist/chunks/cli-0.6.13-p5xafpx4.mjs +0 -3
  620. package/dist/chunks/cli-0.6.13-pa4yv2ra.mjs +0 -2
  621. package/dist/chunks/cli-0.6.13-pbk4h5n3.mjs +0 -3
  622. package/dist/chunks/cli-0.6.13-pezf5r7h.mjs +0 -2
  623. package/dist/chunks/cli-0.6.13-pmwrb4jf.mjs +0 -2
  624. package/dist/chunks/cli-0.6.13-prh9py3z.mjs +0 -2
  625. package/dist/chunks/cli-0.6.13-pyh5s43x.mjs +0 -2
  626. package/dist/chunks/cli-0.6.13-q161snt1.mjs +0 -2
  627. package/dist/chunks/cli-0.6.13-q2ssb82w.mjs +0 -2
  628. package/dist/chunks/cli-0.6.13-q4spcjyn.mjs +0 -2
  629. package/dist/chunks/cli-0.6.13-q8qzja14.mjs +0 -2
  630. package/dist/chunks/cli-0.6.13-qbn7xx3z.mjs +0 -2
  631. package/dist/chunks/cli-0.6.13-qemvn3t7.mjs +0 -4
  632. package/dist/chunks/cli-0.6.13-qfh8s56n.mjs +0 -2
  633. package/dist/chunks/cli-0.6.13-qj9zpvjy.mjs +0 -2
  634. package/dist/chunks/cli-0.6.13-qtea9rcg.mjs +0 -2
  635. package/dist/chunks/cli-0.6.13-qyd73z97.mjs +0 -2
  636. package/dist/chunks/cli-0.6.13-r043ksv1.mjs +0 -1
  637. package/dist/chunks/cli-0.6.13-r1exgbp8.mjs +0 -4
  638. package/dist/chunks/cli-0.6.13-r2w3m6g9.mjs +0 -2
  639. package/dist/chunks/cli-0.6.13-r4z5mchw.mjs +0 -2
  640. package/dist/chunks/cli-0.6.13-r7gkf1df.mjs +0 -2
  641. package/dist/chunks/cli-0.6.13-rkm2drsy.mjs +0 -6
  642. package/dist/chunks/cli-0.6.13-s2vxndky.mjs +0 -2
  643. package/dist/chunks/cli-0.6.13-s3r638fw.mjs +0 -2
  644. package/dist/chunks/cli-0.6.13-s9rv2pr3.mjs +0 -4
  645. package/dist/chunks/cli-0.6.13-sa8gmxxv.mjs +0 -3
  646. package/dist/chunks/cli-0.6.13-t5bkdhfz.mjs +0 -2
  647. package/dist/chunks/cli-0.6.13-tbg0cceg.mjs +0 -15
  648. package/dist/chunks/cli-0.6.13-tecj2x0d.mjs +0 -2
  649. package/dist/chunks/cli-0.6.13-tfaydn5r.mjs +0 -2
  650. package/dist/chunks/cli-0.6.13-tj2kvtza.mjs +0 -2
  651. package/dist/chunks/cli-0.6.13-tss2yk53.mjs +0 -2
  652. package/dist/chunks/cli-0.6.13-tvy6tmhe.mjs +0 -2
  653. package/dist/chunks/cli-0.6.13-tyd40vcz.mjs +0 -2
  654. package/dist/chunks/cli-0.6.13-tzsj5e1c.mjs +0 -17
  655. package/dist/chunks/cli-0.6.13-v05nfcar.mjs +0 -2
  656. package/dist/chunks/cli-0.6.13-v160yjcc.mjs +0 -2
  657. package/dist/chunks/cli-0.6.13-v2vt3snq.mjs +0 -2
  658. package/dist/chunks/cli-0.6.13-v7kg9gbp.mjs +0 -2
  659. package/dist/chunks/cli-0.6.13-v824ppa4.mjs +0 -3
  660. package/dist/chunks/cli-0.6.13-v83qp6b0.mjs +0 -2
  661. package/dist/chunks/cli-0.6.13-v8ksdm64.mjs +0 -2
  662. package/dist/chunks/cli-0.6.13-vkbwqnxx.mjs +0 -2
  663. package/dist/chunks/cli-0.6.13-vv2qqj0d.mjs +0 -2
  664. package/dist/chunks/cli-0.6.13-vxq8z40t.mjs +0 -2
  665. package/dist/chunks/cli-0.6.13-w039mymy.mjs +0 -2
  666. package/dist/chunks/cli-0.6.13-w0qrn825.mjs +0 -2
  667. package/dist/chunks/cli-0.6.13-w1jqswyq.mjs +0 -2
  668. package/dist/chunks/cli-0.6.13-w91d8mwx.mjs +0 -2
  669. package/dist/chunks/cli-0.6.13-waf5mvv3.mjs +0 -5
  670. package/dist/chunks/cli-0.6.13-wer1zp9j.mjs +0 -20
  671. package/dist/chunks/cli-0.6.13-wtc8585b.mjs +0 -2
  672. package/dist/chunks/cli-0.6.13-x28t8s6n.mjs +0 -2
  673. package/dist/chunks/cli-0.6.13-xc81kqm2.mjs +0 -2
  674. package/dist/chunks/cli-0.6.13-xdedyafk.mjs +0 -12
  675. package/dist/chunks/cli-0.6.13-xf37gba3.mjs +0 -21
  676. package/dist/chunks/cli-0.6.13-xkw3qe38.mjs +0 -2
  677. package/dist/chunks/cli-0.6.13-xpjrhgmy.mjs +0 -2
  678. package/dist/chunks/cli-0.6.13-y1j0jnkt.mjs +0 -2
  679. package/dist/chunks/cli-0.6.13-y20earfr.mjs +0 -2
  680. package/dist/chunks/cli-0.6.13-y4v6kta5.mjs +0 -2
  681. package/dist/chunks/cli-0.6.13-y6xnb20z.mjs +0 -28
  682. package/dist/chunks/cli-0.6.13-y8bhbkcr.mjs +0 -2
  683. package/dist/chunks/cli-0.6.13-yamxpaqw.mjs +0 -67
  684. package/dist/chunks/cli-0.6.13-ykg1yrfj.mjs +0 -2
  685. package/dist/chunks/cli-0.6.13-yrjy4at4.mjs +0 -2
  686. package/dist/chunks/cli-0.6.13-ytn0a18c.mjs +0 -2
  687. package/dist/chunks/cli-0.6.13-ywdbvmgd.mjs +0 -2
  688. package/dist/chunks/cli-0.6.13-z8s5yfv6.mjs +0 -9
  689. package/dist/chunks/cli-0.6.13-zcy8dsbx.mjs +0 -25
  690. package/dist/chunks/cli-0.6.13-zd9jp62z.mjs +0 -15
  691. package/dist/chunks/cli-0.6.13-ze0ah657.mjs +0 -4
  692. package/dist/chunks/cli-0.6.13-zktd03aq.mjs +0 -2
  693. package/dist/chunks/cli-0.6.13-zw3t7bxg.mjs +0 -2
  694. package/dist/chunks/client-0.6.13-apag8p3w.mjs +0 -1
  695. package/dist/chunks/color-0.6.13-m7e3xes9.mjs +0 -1
  696. package/dist/chunks/compact-0.6.13-064k380y.mjs +0 -3
  697. package/dist/chunks/config-0.6.13-2gskfa7r.mjs +0 -1
  698. package/dist/chunks/config-0.6.13-m7tbch3j.mjs +0 -1
  699. package/dist/chunks/constants-0.6.13-bq183whd.mjs +0 -1
  700. package/dist/chunks/context-0.6.13-4jm66js8.mjs +0 -1
  701. package/dist/chunks/context-noninteractive-0.6.13-2c2pa7c4.mjs +0 -1
  702. package/dist/chunks/conversation-0.6.13-gb8qd0a6.mjs +0 -1
  703. package/dist/chunks/copilotHeaders-0.6.13-sdz00vtr.mjs +0 -1
  704. package/dist/chunks/copy-0.6.13-11ksdws3.mjs +0 -9
  705. package/dist/chunks/cost-0.6.13-ht9hjse5.mjs +0 -1
  706. package/dist/chunks/createSSHSession-0.6.13-9nj8wxrq.mjs +0 -1
  707. package/dist/chunks/createSession-0.6.13-zx0ak0ar.mjs +0 -1
  708. package/dist/chunks/debug-0.6.13-1b2b2vfp.mjs +0 -1
  709. package/dist/chunks/defaultActionDeps-0.6.13-4ypccnwe.mjs +0 -1367
  710. package/dist/chunks/desktop-0.6.13-5jae65dg.mjs +0 -1
  711. package/dist/chunks/detectRepository-0.6.13-e3va8684.mjs +0 -1
  712. package/dist/chunks/detection-0.6.13-5kdd4ryt.mjs +0 -1
  713. package/dist/chunks/diff-0.6.13-3qr723e3.mjs +0 -1
  714. package/dist/chunks/doctor-0.6.13-ykby6vex.mjs +0 -1
  715. package/dist/chunks/doctorDiagnostic-0.6.13-m5tnyxr2.mjs +0 -1
  716. package/dist/chunks/earlyInput-0.6.13-e90ax06h.mjs +0 -1
  717. package/dist/chunks/effort-0.6.13-tqkv5tt7.mjs +0 -10
  718. package/dist/chunks/envLessBridgeConfig-0.6.13-m8pp5emf.mjs +0 -1
  719. package/dist/chunks/envUtils-0.6.13-6q29pewb.mjs +0 -1
  720. package/dist/chunks/environmentSelection-0.6.13-ajfa3pm0.mjs +0 -1
  721. package/dist/chunks/environments-0.6.13-gpjjpygt.mjs +0 -1
  722. package/dist/chunks/errors-0.6.13-amqhpv1w.mjs +0 -1
  723. package/dist/chunks/exampleCommands-0.6.13-yscjfr02.mjs +0 -1
  724. package/dist/chunks/exit-0.6.13-aex1mh9r.mjs +0 -1
  725. package/dist/chunks/explorer-0.6.13-g670396m.mjs +0 -1
  726. package/dist/chunks/export-0.6.13-zytxcpn5.mjs +0 -2
  727. package/dist/chunks/extra-usage-0.6.13-js9s3mpg.mjs +0 -1
  728. package/dist/chunks/extra-usage-noninteractive-0.6.13-1y21hfpz.mjs +0 -1
  729. package/dist/chunks/fast-0.6.13-eqx76m6v.mjs +0 -1
  730. package/dist/chunks/feedback-0.6.13-b2yh5zgv.mjs +0 -14
  731. package/dist/chunks/firstPartyEventLogger-0.6.13-29x54d6r.mjs +0 -1
  732. package/dist/chunks/git-0.6.13-r45r70q4.mjs +0 -1
  733. package/dist/chunks/githubModelsCredentials-0.6.13-3saqxp80.mjs +0 -1
  734. package/dist/chunks/goal-0.6.13-jm5f9y8r.mjs +0 -4
  735. package/dist/chunks/grove-0.6.13-9vr9ry8t.mjs +0 -1
  736. package/dist/chunks/growthbook-0.6.13-r6367yym.mjs +0 -1
  737. package/dist/chunks/headless-0.6.13-gfageb5h.mjs +0 -2
  738. package/dist/chunks/heapdump-0.6.13-m8g832m5.mjs +0 -6
  739. package/dist/chunks/help-0.6.13-781b4zzf.mjs +0 -1
  740. package/dist/chunks/hookChains-0.6.13-ztaa33k2.mjs +0 -3
  741. package/dist/chunks/hooks-0.6.13-2vp3h6tg.mjs +0 -1
  742. package/dist/chunks/hooks-0.6.13-ma0g96bd.mjs +0 -79
  743. package/dist/chunks/ide-0.6.13-ev74eqfz.mjs +0 -3
  744. package/dist/chunks/image-processor-napi-0.6.13-1yfk6729.mjs +0 -1
  745. package/dist/chunks/inboundAttachments-0.6.13-15y4n0ap.mjs +0 -1
  746. package/dist/chunks/index-0.6.13-22g8yp33.mjs +0 -1
  747. package/dist/chunks/index-0.6.13-3d9rd6ba.mjs +0 -1
  748. package/dist/chunks/index-0.6.13-3yrze12y.mjs +0 -2
  749. package/dist/chunks/index-0.6.13-4mx71hjt.mjs +0 -2
  750. package/dist/chunks/index-0.6.13-68g8rnf9.mjs +0 -1
  751. package/dist/chunks/index-0.6.13-6t8yz88d.mjs +0 -1
  752. package/dist/chunks/index-0.6.13-af1dgcmj.mjs +0 -1
  753. package/dist/chunks/index-0.6.13-afmvxwx2.mjs +0 -1
  754. package/dist/chunks/index-0.6.13-by0wfak3.mjs +0 -9
  755. package/dist/chunks/index-0.6.13-cx9jy8c2.mjs +0 -1
  756. package/dist/chunks/index-0.6.13-fd4kgsd2.mjs +0 -1
  757. package/dist/chunks/index-0.6.13-jte6phkv.mjs +0 -1
  758. package/dist/chunks/index-0.6.13-m632g3gy.mjs +0 -1
  759. package/dist/chunks/index-0.6.13-mwpm4arf.mjs +0 -5
  760. package/dist/chunks/index-0.6.13-nwvcwdkk.mjs +0 -30
  761. package/dist/chunks/index-0.6.13-nwy6gtkk.mjs +0 -1
  762. package/dist/chunks/index-0.6.13-ptnyngf8.mjs +0 -1
  763. package/dist/chunks/index-0.6.13-q3shbg14.mjs +0 -1
  764. package/dist/chunks/index-0.6.13-qbgadtxv.mjs +0 -1
  765. package/dist/chunks/index-0.6.13-sv4q66cp.mjs +0 -1
  766. package/dist/chunks/index-0.6.13-waxz0ekk.mjs +0 -1
  767. package/dist/chunks/index-0.6.13-why7ggz3.mjs +0 -9
  768. package/dist/chunks/index-0.6.13-y16k48ab.mjs +0 -1
  769. package/dist/chunks/init-0.6.13-4hnytb22.mjs +0 -1
  770. package/dist/chunks/initReplBridge-0.6.13-7zgngybp.mjs +0 -1
  771. package/dist/chunks/ink-0.6.13-tzqbb17q.mjs +0 -1
  772. package/dist/chunks/insights-0.6.13-jydg844c.mjs +0 -870
  773. package/dist/chunks/install-0.6.13-n2sd9y79.mjs +0 -1
  774. package/dist/chunks/install-github-app-0.6.13-e0f07703.mjs +0 -149
  775. package/dist/chunks/install-slack-app-0.6.13-bf4yjq6t.mjs +0 -1
  776. package/dist/chunks/instrumentation-0.6.13-adfxdg5f.mjs +0 -1
  777. package/dist/chunks/interactiveHelpers-0.6.13-xp328y9v.mjs +0 -1
  778. package/dist/chunks/keybindings-0.6.13-ktc3mjr7.mjs +0 -2
  779. package/dist/chunks/knowledge-0.6.13-187esqxd.mjs +0 -2
  780. package/dist/chunks/latestVersionCache-0.6.13-m4bhcjqa.mjs +0 -1
  781. package/dist/chunks/loadAgentsDir-0.6.13-6zpt11ke.mjs +0 -1
  782. package/dist/chunks/loadPluginHooks-0.6.13-828skfe0.mjs +0 -1
  783. package/dist/chunks/loadPluginHooks-0.6.13-aft854e2.mjs +0 -1
  784. package/dist/chunks/log-0.6.13-k8w72xt1.mjs +0 -1
  785. package/dist/chunks/main-0.6.13-g9fjc6sv.mjs +0 -1
  786. package/dist/chunks/managedEnv-0.6.13-gqrx16t7.mjs +0 -1
  787. package/dist/chunks/mcp-0.6.13-dyg98wmq.mjs +0 -1
  788. package/dist/chunks/mcp-0.6.13-mzkm1215.mjs +0 -4
  789. package/dist/chunks/mcp-0.6.13-zkt6y77x.mjs +0 -17
  790. package/dist/chunks/mcpb-0.6.13-dre8w2ra.mjs +0 -1
  791. package/dist/chunks/memory-0.6.13-atsckryz.mjs +0 -3
  792. package/dist/chunks/model-0.6.13-0atttv57.mjs +0 -1
  793. package/dist/chunks/model-0.6.13-2jvx0cgc.mjs +0 -2
  794. package/dist/chunks/node-0.6.13-x2bbeer9.mjs +0 -12
  795. package/dist/chunks/oauth-0.6.13-57mmwqmy.mjs +0 -1
  796. package/dist/chunks/openaiShim-0.6.13-yb751f6g.mjs +0 -14
  797. package/dist/chunks/output-style-0.6.13-m28me769.mjs +0 -1
  798. package/dist/chunks/package-FMOR3ELU-0.6.13-dfhez176.mjs +0 -1
  799. package/dist/chunks/parseConnectUrl-0.6.13-6ckj0vmf.mjs +0 -1
  800. package/dist/chunks/parser-0.6.13-cmp0vgjm.mjs +0 -1
  801. package/dist/chunks/passes-0.6.13-q60h610m.mjs +0 -1
  802. package/dist/chunks/permissions-0.6.13-9cf5bca2.mjs +0 -3
  803. package/dist/chunks/permissions-0.6.13-nqms1fh9.mjs +0 -1
  804. package/dist/chunks/plan-0.6.13-jnph14bx.mjs +0 -1
  805. package/dist/chunks/plist-0.6.13-fwm9pvp5.mjs +0 -1
  806. package/dist/chunks/plugin-0.6.13-4hpbymfw.mjs +0 -29
  807. package/dist/chunks/pluginStartupCheck-0.6.13-yftpxhh1.mjs +0 -1
  808. package/dist/chunks/plugins-0.6.13-jkptkxsv.mjs +0 -9
  809. package/dist/chunks/preActionHook-0.6.13-jxg6wxk8.mjs +0 -2
  810. package/dist/chunks/print-0.6.13-7cpe5d4z.mjs +0 -57
  811. package/dist/chunks/privacy-settings-0.6.13-5a5rxfdv.mjs +0 -1
  812. package/dist/chunks/process-0.6.13-38dsvzca.mjs +0 -1
  813. package/dist/chunks/processBashCommand-0.6.13-2hx0q8zw.mjs +0 -1
  814. package/dist/chunks/processSlashCommand-0.6.13-5r7afr4g.mjs +0 -9
  815. package/dist/chunks/prompt-0.6.13-pafq1qab.mjs +0 -1
  816. package/dist/chunks/prompt-0.6.13-y81g0m1b.mjs +0 -1
  817. package/dist/chunks/prompts-0.6.13-702ak30b.mjs +0 -1
  818. package/dist/chunks/protocolHandler-0.6.13-t8f8haqj.mjs +0 -13
  819. package/dist/chunks/provider-0.6.13-2sx115qq.mjs +0 -2
  820. package/dist/chunks/providerProfiles-0.6.13-f8x8hr6k.mjs +0 -1
  821. package/dist/chunks/providerValidation-0.6.13-tf07v3tj.mjs +0 -6
  822. package/dist/chunks/rate-limit-options-0.6.13-aensbess.mjs +0 -1
  823. package/dist/chunks/registerSubcommands-0.6.13-656h79d4.mjs +0 -34
  824. package/dist/chunks/registry-0.6.13-pstf339a.mjs +0 -1
  825. package/dist/chunks/release-notes-0.6.13-hrppyszt.mjs +0 -5
  826. package/dist/chunks/reload-plugins-0.6.13-je6wrn33.mjs +0 -2
  827. package/dist/chunks/remote-env-0.6.13-z246d03z.mjs +0 -1
  828. package/dist/chunks/remoteBridgeCore-0.6.13-ynnqhw07.mjs +0 -1
  829. package/dist/chunks/remoteSession-0.6.13-mv8v6s9c.mjs +0 -1
  830. package/dist/chunks/rename-0.6.13-xpt0c85z.mjs +0 -1
  831. package/dist/chunks/replBridgeHandle-0.6.13-rrpbzf13.mjs +0 -1
  832. package/dist/chunks/replLauncher-0.6.13-waeszqvx.mjs +0 -1
  833. package/dist/chunks/resume-0.6.13-sr7y57a2.mjs +0 -2
  834. package/dist/chunks/rewind-0.6.13-8czd98jc.mjs +0 -1
  835. package/dist/chunks/rootOptions-0.6.13-9h4cq5pq.mjs +0 -1
  836. package/dist/chunks/sandbox-adapter-0.6.13-hs1rvj4e.mjs +0 -1
  837. package/dist/chunks/sandbox-toggle-0.6.13-8j9r0wf9.mjs +0 -1
  838. package/dist/chunks/session-0.6.13-83jr96cj.mjs +0 -2
  839. package/dist/chunks/sessionDiscovery-0.6.13-wvzp1v01.mjs +0 -1
  840. package/dist/chunks/sessionFileAccessHooks-0.6.13-4fkbba35.mjs +0 -1
  841. package/dist/chunks/sessionStorage-0.6.13-rswa4zsd.mjs +0 -1
  842. package/dist/chunks/settings-0.6.13-6t3fk1ch.mjs +0 -1
  843. package/dist/chunks/setup-0.6.13-q8jrvatq.mjs +0 -5
  844. package/dist/chunks/sinks-0.6.13-zatt5gaw.mjs +0 -1
  845. package/dist/chunks/skills-0.6.13-3c0whjxb.mjs +0 -1
  846. package/dist/chunks/startupProfiler-0.6.13-cphqp37f.mjs +0 -1
  847. package/dist/chunks/startupUpdateCheck-0.6.13-hstp7str.mjs +0 -1
  848. package/dist/chunks/state-0.6.13-257cjw4h.mjs +0 -1
  849. package/dist/chunks/stats-0.6.13-cg0xacnc.mjs +0 -6
  850. package/dist/chunks/status-0.6.13-cefspgtr.mjs +0 -1
  851. package/dist/chunks/stickers-0.6.13-6e4t4ej1.mjs +0 -1
  852. package/dist/chunks/subprocessEnv-0.6.13-am2fa4tp.mjs +0 -1
  853. package/dist/chunks/tasks-0.6.13-2v9gfhwe.mjs +0 -1
  854. package/dist/chunks/teamHelpers-0.6.13-nesaxh5h.mjs +0 -1
  855. package/dist/chunks/teammateModeSnapshot-0.6.13-s8fahdkf.mjs +0 -1
  856. package/dist/chunks/teleport-0.6.13-15chrxd3.mjs +0 -1
  857. package/dist/chunks/terminalSetup-0.6.13-45tchntj.mjs +0 -1
  858. package/dist/chunks/theme-0.6.13-xzb35tqq.mjs +0 -1
  859. package/dist/chunks/thinkback-0.6.13-t9v5q33p.mjs +0 -1
  860. package/dist/chunks/thinkback-play-0.6.13-3zft02zv.mjs +0 -1
  861. package/dist/chunks/toolPool-0.6.13-v9s7e0g9.mjs +0 -1
  862. package/dist/chunks/toolSearch-0.6.13-yx9rjn17.mjs +0 -1
  863. package/dist/chunks/tools-0.6.13-heefxcxe.mjs +0 -1
  864. package/dist/chunks/trustedDevice-0.6.13-x08npyhs.mjs +0 -1
  865. package/dist/chunks/turndown.cjs-0.6.13-tqfk5xkj.mjs +0 -69
  866. package/dist/chunks/types-0.6.13-26eegce9.mjs +0 -1
  867. package/dist/chunks/ultrareviewCommand-0.6.13-pg8b86h2.mjs +0 -4
  868. package/dist/chunks/update-0.6.13-tj94pp6r.mjs +0 -86
  869. package/dist/chunks/upgrade-0.6.13-3qy3gqyq.mjs +0 -1
  870. package/dist/chunks/upload-0.6.13-jgydpvy4.mjs +0 -7
  871. package/dist/chunks/upstreamproxy-0.6.13-3jmepw2f.mjs +0 -14
  872. package/dist/chunks/url-handler-napi-0.6.13-cqr9xp6y.mjs +0 -1
  873. package/dist/chunks/usage-0.6.13-whrgny68.mjs +0 -1
  874. package/dist/chunks/util-0.6.13-dcwcf9pm.mjs +0 -1
  875. package/dist/chunks/utils-0.6.13-jybbphy0.mjs +0 -1
  876. package/dist/chunks/vim-0.6.13-rt1g3nw1.mjs +0 -1
  877. package/dist/chunks/watcher-0.6.13-jr5jxn5j.mjs +0 -1
  878. package/dist/chunks/wiki-0.6.13-pt6cr77j.mjs +0 -132
  879. package/dist/chunks/worktree-0.6.13-efnvp677.mjs +0 -1
  880. package/dist/chunks/worktreeModeEnabled-0.6.13-zdfe46d8.mjs +0 -1
  881. package/dist/chunks/wrapper-0.6.13-w672jy5j.mjs +0 -7
  882. /package/dist/chunks/{cli-0.6.13-e3h2z83b.mjs → cli-0.6.14-2rgps43t.mjs} +0 -0
  883. /package/dist/chunks/{cli-0.6.13-tsz6mx5f.mjs → cli-0.6.14-74vp9e0h.mjs} +0 -0
  884. /package/dist/chunks/{cli-0.6.13-1dwgndg5.mjs → cli-0.6.14-75anr16f.mjs} +0 -0
  885. /package/dist/chunks/{cli-0.6.13-5qvssn7h.mjs → cli-0.6.14-mjqpmr9h.mjs} +0 -0
  886. /package/dist/chunks/{cli-0.6.13-p839x5sj.mjs → cli-0.6.14-qtx4mpnr.mjs} +0 -0
  887. /package/dist/chunks/{cli-0.6.13-h2yxttam.mjs → cli-0.6.14-vd0wy56c.mjs} +0 -0
  888. /package/dist/chunks/{cli-0.6.13-s9yqkgwe.mjs → cli-0.6.14-yhc397bd.mjs} +0 -0
  889. /package/dist/chunks/{cli-0.6.13-rmzzvjt2.mjs → cli-0.6.14-zaf65t8e.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{Fo as Z,Ko as G}from"./cli-0.6.14-sfan5yg2.mjs";import{nea as X,vea as R}from"./cli-0.6.14-zs6qf39k.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.14-e4k2wv6r.mjs";import{Vpa as b}from"./cli-0.6.14-mjqpmr9h.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};
@@ -0,0 +1,2 @@
1
+ import{RX as O}from"./cli-0.6.14-01m8v54j.mjs";import{X1 as X,Z1 as Q}from"./cli-0.6.14-4txh6031.mjs";import{_1 as b}from"./cli-0.6.14-f2qf9rpv.mjs";import{Dca as W,Rca as P}from"./cli-0.6.14-zs6qf39k.mjs";import{Rpa as U}from"./cli-0.6.14-mjqpmr9h.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
2
+ export{V as Ob,C as Pb};
@@ -0,0 +1,2 @@
1
+ import{nh as e,qh as fq}from"./cli-0.6.14-99js5k5c.mjs";import{rh as t,th as Hq}from"./cli-0.6.14-fj1s0rkp.mjs";import{Bn as S,Cn as Nq,Dn as g,En as Vq,Fn as $,Gn as Wq,Jn as i,Kn as Yq,fN as o,gN as s,hN as Oq,nF as r,oF as kq,xF as n,yF as Mq}from"./cli-0.6.14-sfan5yg2.mjs";import{PW as u,RW as Zq}from"./cli-0.6.14-p1tqmfbz.mjs";import{EZ as c,FZ as Uq,RX as Qq,RZ as Xq,kZ as M,mZ as F}from"./cli-0.6.14-01m8v54j.mjs";import{X1 as L,Y1 as R,Z1 as l}from"./cli-0.6.14-4txh6031.mjs";import{_1 as Lq}from"./cli-0.6.14-f2qf9rpv.mjs";import{f8 as d,g8 as Jq}from"./cli-0.6.14-zs6qf39k.mjs";import{Rpa as a,Vpa as Gq}from"./cli-0.6.14-mjqpmr9h.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claude Code will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(r,{showCursor:!0,placeholder:`Directory path${d.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let m;if(q[6]===Symbol.for("react.memo_cache_sentinel"))m=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=m;else m=q[6];let zq=m,_;if(q[7]!==X||q[8]!==N)_=async(z)=>{let G=await o(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(s(G))},q[7]=X,q[8]=N,q[9]=_;else _=q[9];let K=_,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];u("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(n,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(i,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R($,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(g,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Oq();kq();Xq();Zq();fq();Vq();Mq();Wq();Yq();Nq();Hq();l();T=a(Qq(),1),H=a(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
2
+ export{lq as lh,Fq as mh};
@@ -0,0 +1,2 @@
1
+ import{Vpa as B}from"./cli-0.6.14-mjqpmr9h.mjs";function F(z){let k=z.trim();if(!k.startsWith("/"))return null;let b=k.slice(1).split(" ");if(!b[0])return null;let j=b[0],l=!1,q=1;if(b.length>1&&b[1]==="(MCP)")j=j+" (MCP)",l=!0,q=2;let A=b.slice(q).join(" ");return{commandName:j,args:A,isMcp:l}}var C=()=>{};
2
+ export{F as li,C as mi};
@@ -0,0 +1,2 @@
1
+ import{yd as x,zd as o}from"./cli-0.6.14-z2f9x7q6.mjs";import{$t as v,IJ as R,LJ as i,OK as W,Qo as Y,RK as t,So as g,Vt as Z,Yv as K,_v as m,gu as $,hu as d,lu as y,nu as u,pC as M,vC as l,wJ as O,xJ as a}from"./cli-0.6.14-sfan5yg2.mjs";import{nea as X,vea as h}from"./cli-0.6.14-zs6qf39k.mjs";import{$ha as c,Yha as I}from"./cli-0.6.14-e4k2wv6r.mjs";import{qia as V,xia as f}from"./cli-0.6.14-tsj8ceqz.mjs";import{ooa as _,xka as U}from"./cli-0.6.14-f8c4q74r.mjs";import{Vpa as C}from"./cli-0.6.14-mjqpmr9h.mjs";async function Lj(w){I("refreshActivePlugins: clearing all plugin caches"),R(),K();let G=await W(),[E,F]=await Promise.all([O(),Z(U())]),{enabled:z,disabled:B,errors:H}=G;x(E);let[P,S]=await Promise.all([Promise.all(z.map(async(j)=>{if(j.mcpServers)return Object.keys(j.mcpServers).length;let q=await Y(j,H);if(q)j.mcpServers=q;return q?Object.keys(q).length:0})),Promise.all(z.map(async(j)=>{if(j.lspServers)return Object.keys(j.lspServers).length;let q=await $(j,H);if(q)j.lspServers=q;return q?Object.keys(q).length:0}))]),J=P.reduce((j,q)=>j+q,0),L=S.reduce((j,q)=>j+q,0);w((j)=>({...j,plugins:{...j.plugins,enabled:z,disabled:B,commands:[],errors:n(j.plugins.errors,H),needsRefresh:!1},agentDefinitions:F,mcp:{...j.mcp,pluginReconnectKey:j.mcp.pluginReconnectKey+1}})),y();let N=!1;try{await M()}catch(j){N=!0,X(j),I(`refreshActivePlugins: loadPluginHooks failed: ${V(j)}`)}let Q=z.reduce((j,q)=>{if(!q.hooksConfig)return j;return j+Object.values(q.hooksConfig).reduce((k,A)=>k+(A?.reduce((D,b)=>D+b.hooks.length,0)??0),0)},0);return I(`refreshActivePlugins: ${z.length} enabled, ${E.length} commands, ${F.allAgents.length} agents, ${Q} hooks, ${J} MCP, ${L} LSP`),{enabled_count:z.length,disabled_count:B.length,command_count:E.length,agent_count:F.allAgents.length,hook_count:Q,mcp_count:J,lsp_count:L,error_count:H.length+(N?1:0),agentDefinitions:F,pluginCommands:E}}function n(w,G){let E=w.filter((B)=>B.source==="lsp-manager"||B.source.startsWith("plugin:")),F=new Set(G.map(T));return[...E.filter((B)=>!F.has(T(B))),...G]}function T(w){return w.type==="generic-error"?`generic-error:${w.source}:${w.error}`:`${w.type}:${w.source}`}var p=C(()=>{_();u();o();v();c();f();h();i();a();l();d();g();m();t()});
2
+ export{Lj as ud,p as vd};
@@ -0,0 +1,2 @@
1
+ import{Hpa as p,Ipa as a}from"./cli-0.6.14-frt92hs0.mjs";import{Tpa as i}from"./cli-0.6.14-mjqpmr9h.mjs";var u=i((V)=>{var v=p(),T=a(),_="AWS_ACCESS_KEY_ID",N="AWS_SECRET_ACCESS_KEY",S="AWS_SESSION_TOKEN",C="AWS_CREDENTIAL_EXPIRATION",A="AWS_CREDENTIAL_SCOPE",I="AWS_ACCOUNT_ID",d=(e)=>async()=>{e?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");let r=process.env[_],s=process.env[N],E=process.env[S],o=process.env[C],n=process.env[A],t=process.env[I];if(r&&s){let c={accessKeyId:r,secretAccessKey:s,...E&&{sessionToken:E},...o&&{expiration:new Date(o)},...n&&{credentialScope:n},...t&&{accountId:t}};return v.setCredentialFeature(c,"CREDENTIALS_ENV_VARS","g"),c}throw new T.CredentialsProviderError("Unable to find environment variable credentials.",{logger:e?.logger})};V.ENV_ACCOUNT_ID=I;V.ENV_CREDENTIAL_SCOPE=A;V.ENV_EXPIRATION=C;V.ENV_KEY=_;V.ENV_SECRET=N;V.ENV_SESSION=S;V.fromEnv=d});
2
+ export{u as n7};
@@ -0,0 +1,2 @@
1
+ import{BE as L,CE as h,nG as z,oG as M,ov as J,pv as Z}from"./cli-0.6.14-sfan5yg2.mjs";import{RX as X}from"./cli-0.6.14-01m8v54j.mjs";import{_1 as W}from"./cli-0.6.14-f2qf9rpv.mjs";import{Lna as H,ooa as V}from"./cli-0.6.14-f8c4q74r.mjs";import{Rpa as D,Vpa as U}from"./cli-0.6.14-mjqpmr9h.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{h();V();M();Z();P=D(X(),1),x=D(W(),1)});
2
+ export{v as gg,A as hg};
@@ -0,0 +1,4 @@
1
+ import{Uoa as K,hpa as Y}from"./cli-0.6.14-50e0q2ad.mjs";import{Vpa as X}from"./cli-0.6.14-mjqpmr9h.mjs";function T(j){return j instanceof Q||j instanceof K||j instanceof Error&&j.name==="AbortError"}function D(j,z){return j instanceof Error&&j.message===z}function U(j){return j instanceof Error?j:Error(String(j))}function B(j){return j instanceof Error?j.message:String(j)}function V(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function O(j){return V(j)==="ENOENT"}function P(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function R(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
2
+ `),H=G[0]??j.message,J=G.slice(1).filter((W)=>W.trim().startsWith("at "));if(J.length<=z)return j.stack;return[H,...J.slice(0,z)].join(`
3
+ `)}function b(j){let z=V(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function N(j){let z=B(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var Z,_,Q,$,q,v,w;var I=X(()=>{Y();Z=class Z extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};_=class _ extends Error{};Q=class Q extends Error{constructor(j){super(j);this.name="AbortError"}};$=class $ extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};q=class q extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};v=class v extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};w=class w extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
4
+ export{Z as gia,_ as hia,Q as iia,T as jia,$ as kia,q as lia,v as mia,w as nia,D as oia,U as pia,B as qia,V as ria,O as sia,P as tia,R as uia,b as via,N as wia,I as xia};
@@ -0,0 +1,2 @@
1
+ import{E6 as WB,m6 as Z,p6 as T,v6 as f}from"./cli-0.6.14-hwwpzjf6.mjs";import{Ica as v,Rca as QB,g$ as _,h$ as KB,k8 as O,l8 as BB,wca as A}from"./cli-0.6.14-zs6qf39k.mjs";import{fga as w,gga as JB}from"./cli-0.6.14-45cmq90s.mjs";import{Dia as F,Nia as e}from"./cli-0.6.14-rn7sy805.mjs";import{$ia as s,Eja as I,Fja as c,Qja as M,Rja as m,_ia as S,ooa as a,rka as R}from"./cli-0.6.14-f8c4q74r.mjs";import{Noa as q,Ooa as t}from"./cli-0.6.14-zqc493f5.mjs";import{Vpa as K}from"./cli-0.6.14-mjqpmr9h.mjs";function p(B,J){return B+b(h()*(J-B+1))}var b,h,D;var G=K(()=>{b=Math.floor,h=Math.random;D=p});function u(B){var J=B.length;return J?B[D(0,J-1)]:void 0}var Y;var H=K(()=>{G();Y=u});function l(B,J){return M(J,function(X){return B[X]})}var z;var P=K(()=>{m();z=l});function i(B){return B==null?[]:z(B,I(B))}var U;var C=K(()=>{P();c();U=i});function n(B){return Y(U(B))}var k;var E=K(()=>{H();C();k=n});function o(B){var J=S(B)?Y:k;return J(B)}var kB;var r=K(()=>{H();E();s();kB=o});async function vB(){if(W===null&&!Q)Q=YB(),W=await Q,Q=null,d.cache.clear?.()}function TB(){W=null,Q=null,d.cache.clear?.(),g.cache.clear?.()}function XB(){if(W!==null)return W;let B=Z();if(B?.emailAddress)return B.emailAddress;return}async function YB(){let B=Z();if(B?.emailAddress)return B.emailAddress;return g()}var W=null,Q=null,d,g;var ZB=K(()=>{BB();t();a();WB();QB();JB();KB();e();d=q((B)=>{let J=v(),X=A(),$,N,L;if(B){if($=T()??void 0,N=f()??void 0,$&&X.claudeCodeFirstTokenDate){let x=new Date(X.claudeCodeFirstTokenDate).getTime();if(!isNaN(x))L=x}}let V=Z(),j=V?.organizationUuid,y=V?.accountUuid;return{deviceId:J,sessionId:R(),email:XB(),appVersion:"99.0.0",platform:_(),organizationUuid:j,accountUuid:y,userType:void 0,subscriptionType:$,rateLimitTier:N,firstTokenTime:L,...F(process.env.GITHUB_ACTIONS)&&{githubActionsMetadata:{actor:process.env.GITHUB_ACTOR,actorId:process.env.GITHUB_ACTOR_ID,repository:process.env.GITHUB_REPOSITORY,repositoryId:process.env.GITHUB_REPOSITORY_ID,repositoryOwner:process.env.GITHUB_REPOSITORY_OWNER,repositoryOwnerId:process.env.GITHUB_REPOSITORY_OWNER_ID}}}});g=q(async()=>{let B=await O("git config --get user.email",{shell:!0,reject:!1,cwd:w()});return B.exitCode===0&&B.stdout?B.stdout.trim():void 0})});
2
+ export{kB as lT,r as mT,vB as nT,TB as oT,g as pT,ZB as qT};
@@ -0,0 +1,2 @@
1
+ import{Ff as N0,Gf as U0,If as VP}from"./cli-0.6.14-jrza7rgy.mjs";import{Bn as h,Cn as c0,Dn as p,En as w0,Fn as r,Gn as W0,Jn as O0,Kn as EP,WL as ZP,XL as m0,ZL as qP,aL as WP,cM as CP,jL as cP,kL as fP,mH as G0,mL as M0,nF as XP,nH as YP,nL as h0,oF as mP,oL as T0,pL as d0,sL as R0,tM as C0,vv as J0,wv as QP,xF as L0,xM as pP,yv as j0,zF as i0,zL as u0}from"./cli-0.6.14-sfan5yg2.mjs";import{BW as JP,CW as hP,PW as z0,RW as TP,UW as D0,VW as LP}from"./cli-0.6.14-p1tqmfbz.mjs";import{GZ as GP,LX as PP,QX as AP,RX as I0,RZ as q0,_X as k0,iZ as C,kZ as X,mZ as L,qZ as F0}from"./cli-0.6.14-01m8v54j.mjs";import{W1 as n,X1 as J,Y1 as Q,Z1 as a}from"./cli-0.6.14-4txh6031.mjs";import{_1 as $0}from"./cli-0.6.14-f2qf9rpv.mjs";import{v2 as A0,w2 as dP}from"./cli-0.6.14-67c3dtne.mjs";import{E6 as gP,m6 as e0}from"./cli-0.6.14-hwwpzjf6.mjs";import{Naa as H0,Oaa as zP,Waa as p0,f8 as _,g8 as r0,sea as s0,vaa as y0,vea as SP,waa as B0,xaa as KP}from"./cli-0.6.14-zs6qf39k.mjs";import{Tga as g0,Uga as _P}from"./cli-0.6.14-41a9k5hf.mjs";import{Vga as m,Yga as IP}from"./cli-0.6.14-106t4q8a.mjs";import{qia as f0,xia as t0}from"./cli-0.6.14-tsj8ceqz.mjs";import{Rpa as e,Vpa as P0}from"./cli-0.6.14-mjqpmr9h.mjs";function K0(G){let P=o0.c(9),{serverToolsCount:Y,serverPromptsCount:z,serverResourcesCount:Z}=G,f;if(P[0]!==z||P[1]!==Z||P[2]!==Y){if(f=[],Y>0)f.push("tools");if(Z>0)f.push("resources");if(z>0)f.push("prompts");P[0]=z,P[1]=Z,P[2]=Y,P[3]=f}else f=P[3];let H;if(P[4]===Symbol.for("react.memo_cache_sentinel"))H=J(L,{bold:!0,children:"Capabilities: "}),P[4]=H;else H=P[4];let W;if(P[5]!==f)W=f.length>0?J(r,{children:f}):"none",P[5]=f,P[6]=W;else W=P[6];let k;if(P[7]!==W)k=Q(X,{children:[H,J(L,{color:"text",children:W})]}),P[7]=W,P[8]=k;else k=P[8];return k}var o0;var _0=P0(()=>{q0();W0();a();o0=e(I0(),1)});function E0(G,P){switch(G.client.type){case"connected":return{message:`Reconnected to ${P}.`,success:!0};case"needs-auth":return{message:`${P} requires authentication. Use the 'Authenticate' option.`,success:!1};case"failed":return{message:`Failed to reconnect to ${P}.`,success:!1};default:return{message:`Unknown result when reconnecting to ${P}.`,success:!1}}}function V0(G,P){let Y=G instanceof Error?G.message:String(G);return`Error reconnecting to ${P}: ${Y}`}var S0=()=>{};function bG({server:G,serverToolsCount:P,onViewTools:Y,onCancel:z,onComplete:Z,borderless:f=!1}){let[H]=k0(),W=D0(),{columns:k}=JP(),[B,N]=E.default.useState(!1),[$,U]=E.default.useState(null),S=J0((q)=>q.mcp),M=QP(),[b,K]=E.default.useState(null),[V,D]=E.useState(!1),R=E.useRef(null),[g,c]=E.useState(!1),[j,T]=E.useState(null),[A,y]=E.useState(!1),[i,u]=E.useState(null),[l,v]=E.useState(!1),[o,s]=E.useState(!1),x=E.useRef(void 0),O=E.useRef(!1),[x0,Q0]=E.useState(""),[kP,DP]=E.useState(0),[a0,n0]=E.useState(null);E.useEffect(()=>()=>{if(O.current=!0,R.current?.abort(),x.current!==void 0)clearTimeout(x.current)},[]);let X0=G.isAuthenticated||G.client.type==="connected"&&P>0,Y0=N0(),wP=E.default.useCallback(async()=>{c(!1),T(null),D(!0);try{let q=await Y0(G.name),F=q.client.type==="connected";if(m("tengu_claudeai_mcp_auth_completed",{success:F}),F)Z?.(`Authentication successful. Connected to ${G.name}.`);else if(q.client.type==="needs-auth")Z?.("Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.");else Z?.("Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.")}catch(q){m("tengu_claudeai_mcp_auth_completed",{success:!1}),Z?.(V0(q,G.name))}finally{D(!1)}},[Y0,G.name,Z]),MP=E.default.useCallback(async()=>{await C0(G.name,{...G.config,scope:G.scope}),M((q)=>{let F=q.mcp.clients.map((t)=>t.name===G.name?{...t,type:"needs-auth"}:t),w=h0(q.mcp.tools,G.name),d=T0(q.mcp.commands,G.name),Z0=d0(q.mcp.resources,G.name);return{...q,mcp:{...q.mcp,clients:F,tools:w,commands:d,resources:Z0}}}),m("tengu_claudeai_mcp_clear_auth_completed",{}),Z?.(`Disconnected from ${G.name}.`),y(!1),u(null),v(!1)},[G.name,G.config,G.scope,M,Z]);z0("confirm:no",()=>{R.current?.abort(),R.current=null,N(!1),K(null)},{context:"Confirmation",isActive:B}),z0("confirm:no",()=>{c(!1),T(null)},{context:"Confirmation",isActive:g}),z0("confirm:no",()=>{y(!1),u(null),v(!1)},{context:"Confirmation",isActive:A}),GP((q,F)=>{if(F.return&&g)wP();if(F.return&&A)if(l)MP();else{let w=`${g0().CLAUDE_AI_ORIGIN}/settings/connectors`;u(w),v(!0),A0(w)}if(q==="c"&&!o){let w=b||j||i;if(w)PP(w).then((d)=>{if(O.current)return;if(d)process.stdout.write(d);if(s(!0),x.current!==void 0)clearTimeout(x.current);x.current=setTimeout(s,2000,!1)})}});let RP=H0(String(G.name)),NP=M0(S.commands,G.name).length,l0=U0(),UP=E.default.useCallback(async()=>{let q=g0().CLAUDE_AI_ORIGIN,w=e0()?.organizationUuid,d;if(w&&G.config.type==="claudeai-proxy"&&G.config.id){let Z0=G.config.id.startsWith("mcprs")?"mcpsrv"+G.config.id.slice(5):G.config.id,t=encodeURIComponent(process.env.CLAUDE_CODE_ENTRYPOINT||"cli");d=`${q}/api/organizations/${w}/mcp/start-auth/${Z0}?product_surface=${t}`}else d=`${q}/settings/connectors`;T(d),c(!0),m("tengu_claudeai_mcp_auth_started",{}),await A0(d)},[G.config]),bP=E.default.useCallback(()=>{y(!0),m("tengu_claudeai_mcp_clear_auth_started",{})},[]),yP=E.default.useCallback(async()=>{let q=G.client.type!=="disabled";try{if(await l0(G.name),G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_toggle",{new_state:q?"disabled":"enabled"});z()}catch(F){Z?.(`Failed to ${q?"disable":"enable"} MCP server '${G.name}': ${f0(F)}`)}},[G.client.type,G.config.type,G.name,l0,z,Z]),BP=E.default.useCallback(async()=>{if(G.config.type==="claudeai-proxy")return;N(!0),U(null);let q=new AbortController;R.current=q;try{if(G.isAuthenticated&&G.config)await m0(G.name,G.config,{preserveStepUpState:!0});if(G.config){await qP(G.name,G.config,K,q.signal,{onWaitingForCallback:(w)=>{n0(()=>w)}}),m("tengu_mcp_auth_config_authenticate",{wasAuthenticated:G.isAuthenticated});let F=await Y0(G.name);if(F.client.type==="connected"){let w=X0?`Authentication successful. Reconnected to ${G.name}.`:`Authentication successful. Connected to ${G.name}.`;Z?.(w)}else if(F.client.type==="needs-auth")Z?.("Authentication successful, but server still requires authentication. You may need to manually restart Claude Code.");else s0(G.name,"Reconnection failed after authentication"),Z?.("Authentication successful, but server reconnection failed. You may need to manually restart Claude Code for the changes to take effect.")}}catch(F){if(F instanceof Error&&!(F instanceof ZP))U(F.message)}finally{N(!1),R.current=null,n0(null),Q0("")}},[G.isAuthenticated,G.config,G.name,Z,Y0,X0]),OP=async()=>{if(G.config.type==="claudeai-proxy")return;if(G.config)await m0(G.name,G.config),m("tengu_mcp_auth_config_clear",{}),await C0(G.name,{...G.config,scope:G.scope}),M((q)=>{let F=q.mcp.clients.map((t)=>t.name===G.name?{...t,type:"failed"}:t),w=h0(q.mcp.tools,G.name),d=T0(q.mcp.commands,G.name),Z0=d0(q.mcp.resources,G.name);return{...q,mcp:{...q.mcp,clients:F,tools:w,commands:d,resources:Z0}}}),Z?.(`Authentication cleared for ${G.name}.`)};if(B){let q=G.config.type!=="claudeai-proxy"&&G.config.oauth?.xaa?" Authenticating via your identity provider":" A browser window will open for authentication";return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Authenticating with ",G.name,"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:q})]}),b&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:b})]}),B&&b&&a0&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{dimColor:!0,children:"If the redirect page shows a connection error, paste the URL from your browser's address bar:"}),Q(X,{children:[Q(L,{dimColor:!0,children:["URL ",">"," "]}),J(XP,{value:x0,onChange:Q0,onSubmit:(F)=>{a0(F.trim()),Q0("")},cursorOffset:kP,onChangeCursorOffset:DP,columns:k-8})]})]}),J(X,{marginLeft:3,children:J(L,{dimColor:!0,children:"Return here after authenticating in your browser. Press Esc to go back."})})]})}if(g)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Authenticating with ",G.name,"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:" A browser window will open for authentication"})]}),j&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser doesn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:j})]}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," after authenticating in your browser."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]});if(A)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"claude",children:["Clear authentication for ",G.name]}),l?Q(n,{children:[J(L,{children:'Find the MCP server in the browser and click "Disconnect".'}),i&&Q(X,{flexDirection:"column",children:[Q(X,{children:[Q(L,{dimColor:!0,children:["If your browser didn't open automatically, copy this URL manually"," "]}),o?J(L,{color:"success",children:"(Copied!)"}):J(L,{dimColor:!0,children:J(h,{shortcut:"c",action:"copy",parens:!0})})]}),J(F0,{url:i})]}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," when done."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]}):Q(n,{children:[J(L,{children:'This will open claude.ai in the browser. Find the MCP server in the list and click "Disconnect".'}),Q(X,{marginLeft:3,flexDirection:"column",children:[Q(L,{color:"permission",children:["Press ",J(L,{bold:!0,children:"Enter"})," to open the browser."]}),J(L,{dimColor:!0,italic:!0,children:J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})})]})]})]});if(V)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"text",children:["Connecting to ",J(L,{bold:!0,children:G.name}),"…"]}),Q(X,{children:[J(G0,{}),J(L,{children:" Establishing connection to MCP server"})]}),J(L,{dimColor:!0,children:"This may take a few moments."})]});let I=[];if(G.client.type==="disabled")I.push({label:"Enable",value:"toggle-enabled"});if(G.client.type==="connected"&&P>0)I.push({label:"View tools",value:"tools"});if(G.config.type==="claudeai-proxy"){if(G.client.type==="connected")I.push({label:"Clear authentication",value:"claudeai-clear-auth"});else if(G.client.type!=="disabled")I.push({label:"Authenticate",value:"claudeai-auth"})}else{if(X0)I.push({label:"Re-authenticate",value:"reauth"}),I.push({label:"Clear authentication",value:"clear-auth"});if(!X0)I.push({label:"Authenticate",value:"auth"})}if(G.client.type!=="disabled"){if(G.client.type!=="needs-auth")I.push({label:"Reconnect",value:"reconnectMcpServer"});I.push({label:"Disable",value:"toggle-enabled"})}if(I.length===0)I.push({label:"Back",value:"back"});return Q(X,{flexDirection:"column",children:[Q(X,{flexDirection:"column",paddingX:1,borderStyle:f?void 0:"round",children:[J(X,{marginBottom:1,children:Q(L,{bold:!0,children:[RP," MCP Server"]})}),Q(X,{flexDirection:"column",gap:0,children:[Q(X,{children:[J(L,{bold:!0,children:"Status: "}),G.client.type==="disabled"?Q(L,{children:[C("inactive",H)(_.radioOff)," disabled"]}):G.client.type==="connected"?Q(L,{children:[C("success",H)(_.tick)," connected"]}):G.client.type==="pending"?Q(n,{children:[J(L,{dimColor:!0,children:_.radioOff}),J(L,{children:" connecting…"})]}):G.client.type==="needs-auth"?Q(L,{children:[C("warning",H)(_.triangleUpOutline)," needs authentication"]}):Q(L,{children:[C("error",H)(_.cross)," failed"]})]}),G.transport!=="claudeai-proxy"&&Q(X,{children:[J(L,{bold:!0,children:"Auth: "}),X0?Q(L,{children:[C("success",H)(_.tick)," authenticated"]}):Q(L,{children:[C("error",H)(_.cross)," not authenticated"]})]}),Q(X,{children:[J(L,{bold:!0,children:"URL: "}),J(L,{dimColor:!0,children:G.config.url})]}),Q(X,{children:[J(L,{bold:!0,children:"Config location: "}),J(L,{dimColor:!0,children:R0(G.scope)})]}),G.client.type==="connected"&&J(K0,{serverToolsCount:P,serverPromptsCount:NP,serverResourcesCount:S.resources[G.name]?.length||0}),G.client.type==="connected"&&P>0&&Q(X,{children:[J(L,{bold:!0,children:"Tools: "}),Q(L,{dimColor:!0,children:[P," tools"]})]})]}),$&&J(X,{marginTop:1,children:Q(L,{color:"error",children:["Error: ",$]})}),I.length>0&&J(X,{marginTop:1,children:J(L0,{options:I,onChange:async(q)=>{switch(q){case"tools":Y();break;case"auth":case"reauth":await BP();break;case"clear-auth":await OP();break;case"claudeai-auth":await UP();break;case"claudeai-clear-auth":bP();break;case"reconnectMcpServer":D(!0);try{let F=await Y0(G.name);if(G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_reconnect",{success:F.client.type==="connected"});let{message:w}=E0(F,G.name);Z?.(w)}catch(F){if(G.config.type==="claudeai-proxy")m("tengu_claudeai_mcp_reconnect",{success:!1});Z?.(V0(F,G.name))}finally{D(!1)}break;case"toggle-enabled":await yP();break;case"back":z();break}},onCancel:z})})]}),J(X,{marginTop:1,children:J(L,{dimColor:!0,italic:!0,children:W.pending?Q(n,{children:["Press ",W.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var E;var $P=P0(()=>{r0();IP();_P();LP();hP();AP();q0();TP();CP();pP();VP();u0();j0();gP();dP();t0();SP();p0();w0();i0();W0();c0();YP();mP();_0();S0();a();E=e($0(),1)});function uG({server:G,serverToolsCount:P,onViewTools:Y,onCancel:z,onComplete:Z,borderless:f=!1}){let[H]=k0(),W=D0(),k=J0((V)=>V.mcp),B=N0(),N=U0(),[$,U]=b0.useState(!1),S=b0.default.useCallback(async()=>{let V=G.client.type!=="disabled";try{await N(G.name),z()}catch(D){Z(`Failed to ${V?"disable":"enable"} MCP server '${G.name}': ${f0(D)}`)}},[G.client.type,G.name,N,z,Z]),M=H0(String(G.name)),b=M0(k.commands,G.name).length,K=[];if(G.client.type!=="disabled"&&P>0)K.push({label:"View tools",value:"tools"});if(G.client.type!=="disabled")K.push({label:"Reconnect",value:"reconnectMcpServer"});if(K.push({label:G.client.type!=="disabled"?"Disable":"Enable",value:"toggle-enabled"}),K.length===0)K.push({label:"Back",value:"back"});if($)return Q(X,{flexDirection:"column",gap:1,padding:1,children:[Q(L,{color:"text",children:["Reconnecting to ",J(L,{bold:!0,children:G.name})]}),Q(X,{children:[J(G0,{}),J(L,{children:" Restarting MCP server process"})]}),J(L,{dimColor:!0,children:"This may take a few moments."})]});return Q(X,{flexDirection:"column",children:[Q(X,{flexDirection:"column",paddingX:1,borderStyle:f?void 0:"round",children:[J(X,{marginBottom:1,children:Q(L,{bold:!0,children:[M," MCP Server"]})}),Q(X,{flexDirection:"column",gap:0,children:[Q(X,{children:[J(L,{bold:!0,children:"Status: "}),G.client.type==="disabled"?Q(L,{children:[C("inactive",H)(_.radioOff)," disabled"]}):G.client.type==="connected"?Q(L,{children:[C("success",H)(_.tick)," connected"]}):G.client.type==="pending"?Q(n,{children:[J(L,{dimColor:!0,children:_.radioOff}),J(L,{children:" connecting…"})]}):Q(L,{children:[C("error",H)(_.cross)," failed"]})]}),Q(X,{children:[J(L,{bold:!0,children:"Command: "}),J(L,{dimColor:!0,children:G.config.command})]}),G.config.args&&G.config.args.length>0&&Q(X,{children:[J(L,{bold:!0,children:"Args: "}),J(L,{dimColor:!0,children:G.config.args.join(" ")})]}),Q(X,{children:[J(L,{bold:!0,children:"Config location: "}),J(L,{dimColor:!0,children:R0(WP(G.name)?.scope??"dynamic")})]}),G.client.type==="connected"&&J(K0,{serverToolsCount:P,serverPromptsCount:b,serverResourcesCount:k.resources[G.name]?.length||0}),G.client.type==="connected"&&P>0&&Q(X,{children:[J(L,{bold:!0,children:"Tools: "}),Q(L,{dimColor:!0,children:[P," tools"]})]})]}),K.length>0&&J(X,{marginTop:1,children:J(L0,{options:K,onChange:async(V)=>{if(V==="tools")Y();else if(V==="reconnectMcpServer"){U(!0);try{let D=await B(G.name),{message:R}=E0(D,G.name);Z?.(R)}catch(D){Z?.(V0(D,G.name))}finally{U(!1)}}else if(V==="toggle-enabled")await S();else if(V==="back")z()},onCancel:z})})]}),J(X,{marginTop:1,children:J(L,{dimColor:!0,italic:!0,children:W.pending?Q(n,{children:["Press ",W.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})})})]})}var b0;var jP=P0(()=>{r0();LP();q0();cP();VP();u0();j0();t0();p0();w0();i0();W0();c0();YP();_0();S0();a();b0=e($0(),1)});function tG(G){let P=FP.c(44),{tool:Y,server:z,onBack:Z}=G,[f,H]=v0.default.useState(""),W,k;if(P[0]!==z.name||P[1]!==Y){k=y0(Y.name,z.name);let s=Y.userFacingName?Y.userFacingName({}):k;W=B0(s),P[0]=z.name,P[1]=Y,P[2]=W,P[3]=k}else W=P[2],k=P[3];let B=W,N;if(P[4]!==Y)N=Y.isReadOnly?.({})??!1,P[4]=Y,P[5]=N;else N=P[5];let $=N,U;if(P[6]!==Y)U=Y.isDestructive?.({})??!1,P[6]=Y,P[7]=U;else U=P[7];let S=U,M;if(P[8]!==Y)M=Y.isOpenWorld?.({})??!1,P[8]=Y,P[9]=M;else M=P[9];let b=M,K,V;if(P[10]!==Y)K=()=>{(async function(){try{let O=await Y.description({},{isNonInteractiveSession:!1,toolPermissionContext:{mode:"default",additionalWorkingDirectories:new Map,alwaysAllowRules:{},alwaysDenyRules:{},alwaysAskRules:{},isBypassPermissionsModeAvailable:!1},tools:[]});H(O)}catch{H("Failed to load description")}})()},V=[Y],P[10]=Y,P[11]=K,P[12]=V;else K=P[11],V=P[12];v0.default.useEffect(K,V);let D;if(P[13]!==$)D=$&&J(L,{color:"success",children:" [read-only]"}),P[13]=$,P[14]=D;else D=P[14];let R;if(P[15]!==S)R=S&&J(L,{color:"error",children:" [destructive]"}),P[15]=S,P[16]=R;else R=P[16];let g;if(P[17]!==b)g=b&&J(L,{dimColor:!0,children:" [open-world]"}),P[17]=b,P[18]=g;else g=P[18];let c;if(P[19]!==B||P[20]!==D||P[21]!==R||P[22]!==g)c=Q(n,{children:[B,D,R,g]}),P[19]=B,P[20]=D,P[21]=R,P[22]=g,P[23]=c;else c=P[23];let j=c,T;if(P[24]===Symbol.for("react.memo_cache_sentinel"))T=J(L,{bold:!0,children:"Tool name: "}),P[24]=T;else T=P[24];let A;if(P[25]!==k)A=Q(X,{children:[T,J(L,{dimColor:!0,children:k})]}),P[25]=k,P[26]=A;else A=P[26];let y;if(P[27]===Symbol.for("react.memo_cache_sentinel"))y=J(L,{bold:!0,children:"Full name: "}),P[27]=y;else y=P[27];let i;if(P[28]!==Y.name)i=Q(X,{children:[y,J(L,{dimColor:!0,children:Y.name})]}),P[28]=Y.name,P[29]=i;else i=P[29];let u;if(P[30]!==f)u=f&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{bold:!0,children:"Description:"}),J(L,{wrap:"wrap",children:f})]}),P[30]=f,P[31]=u;else u=P[31];let l;if(P[32]!==Y.inputJSONSchema)l=Y.inputJSONSchema&&Y.inputJSONSchema.properties&&Object.keys(Y.inputJSONSchema.properties).length>0&&Q(X,{flexDirection:"column",marginTop:1,children:[J(L,{bold:!0,children:"Parameters:"}),J(X,{marginLeft:2,flexDirection:"column",children:Object.entries(Y.inputJSONSchema.properties).map((s)=>{let[x,O]=s,Q0=Y.inputJSONSchema?.required?.includes(x);return Q(L,{children:["• ",x,Q0&&J(L,{dimColor:!0,children:" (required)"}),":"," ",J(L,{dimColor:!0,children:typeof O==="object"&&O&&"type"in O?String(O.type):"unknown"}),typeof O==="object"&&O&&"description"in O&&Q(L,{dimColor:!0,children:[" - ",String(O.description)]})]},x)})})]}),P[32]=Y.inputJSONSchema,P[33]=l;else l=P[33];let v;if(P[34]!==A||P[35]!==i||P[36]!==u||P[37]!==l)v=Q(X,{flexDirection:"column",children:[A,i,u,l]}),P[34]=A,P[35]=i,P[36]=u,P[37]=l,P[38]=v;else v=P[38];let o;if(P[39]!==Z||P[40]!==z.name||P[41]!==v||P[42]!==j)o=J(O0,{title:j,subtitle:z.name,onCancel:Z,inputGuide:iP,children:v}),P[39]=Z,P[40]=z.name,P[41]=v,P[42]=j,P[43]=o;else o=P[43];return o}function iP(G){return G.pending?Q(L,{children:["Press ",G.keyName," again to exit"]}):J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"go back"})}var FP,v0;var uP=P0(()=>{q0();KP();w0();EP();a();FP=e(I0(),1),v0=e($0(),1)});function VJ(G){let P=HP.c(21),{server:Y,onSelectTool:z,onBack:Z}=G,f=J0(xP),H;P:{if(Y.client.type!=="connected"){let V;if(P[0]===Symbol.for("react.memo_cache_sentinel"))V=[],P[0]=V;else V=P[0];H=V;break P}let K;if(P[1]!==f||P[2]!==Y.name)K=fP(f,Y.name),P[1]=f,P[2]=Y.name,P[3]=K;else K=P[3];H=K}let W=H,k;if(P[4]!==Y.name||P[5]!==W){let K;if(P[7]!==Y.name)K=(V,D)=>{let R=y0(V.name,Y.name),g=V.userFacingName?V.userFacingName({}):R,c=B0(g),j=V.isReadOnly?.({})??!1,T=V.isDestructive?.({})??!1,A=V.isOpenWorld?.({})??!1,y=[];if(j)y.push("read-only");if(T)y.push("destructive");if(A)y.push("open-world");return{label:c,value:D.toString(),description:y.length>0?y.join(", "):void 0,descriptionColor:T?"error":j?"success":void 0}},P[7]=Y.name,P[8]=K;else K=P[8];k=W.map(K),P[4]=Y.name,P[5]=W,P[6]=k}else k=P[6];let B=k,N=`Tools for ${Y.name}`,$=W.length,U;if(P[9]!==W.length)U=zP(W.length,"tool"),P[9]=W.length,P[10]=U;else U=P[10];let S=`${$} ${U}`,M;if(P[11]!==Z||P[12]!==z||P[13]!==W||P[14]!==B)M=W.length===0?J(L,{dimColor:!0,children:"No tools available"}):J(L0,{options:B,onChange:(K)=>{let V=parseInt(K),D=W[V];if(D)z(D,V)},onCancel:Z}),P[11]=Z,P[12]=z,P[13]=W,P[14]=B,P[15]=M;else M=P[15];let b;if(P[16]!==Z||P[17]!==N||P[18]!==S||P[19]!==M)b=J(O0,{title:N,subtitle:S,onCancel:Z,inputGuide:vP,children:M}),P[16]=Z,P[17]=N,P[18]=S,P[19]=M,P[20]=b;else b=P[20];return b}function vP(G){return G.pending?Q(L,{children:["Press ",G.keyName," again to exit"]}):Q(r,{children:[J(h,{shortcut:"↑↓",action:"navigate"}),J(h,{shortcut:"Enter",action:"select"}),J(p,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"back"})]})}function xP(G){return G.mcp.tools}var HP;var aP=P0(()=>{q0();KP();u0();j0();p0();w0();i0();W0();EP();c0();a();HP=e(I0(),1)});
2
+ export{bG as wf,$P as xf,uG as yf,jP as zf,tG as Af,uP as Bf,VJ as Cf,aP as Df};
@@ -0,0 +1,6 @@
1
+ import{uh as e,vh as qq,wh as Jq,xh as _q}from"./cli-0.6.14-k0xhn7g8.mjs";import{yh as Zq,zh as Pq}from"./cli-0.6.14-y6edg2da.mjs";import{Eu as j,Fu as y,Ju as x}from"./cli-0.6.14-sfan5yg2.mjs";import{RZ as Iq,kZ as F,mZ as K}from"./cli-0.6.14-01m8v54j.mjs";import{X1 as Y,Y1 as L,Z1 as Qq}from"./cli-0.6.14-4txh6031.mjs";import{_1 as m}from"./cli-0.6.14-f2qf9rpv.mjs";import{Oaa as r,V8 as w,Waa as Vq,X8 as h,c9 as f,f8 as I,g8 as t,u9 as Uq}from"./cli-0.6.14-zs6qf39k.mjs";import{Dea as Xq,Eea as Mq,Sea as Eq}from"./cli-0.6.14-xkdca0es.mjs";import{Rpa as R,Vpa as D}from"./cli-0.6.14-mjqpmr9h.mjs";function p(q,J){let{perFileStats:$}=q,z=[];for(let[Q,Z]of $){let A=J.get(Q),M=Z.isUntracked??!1,U=!Z.isBinary&&!M&&!A&&!Z.renamedFrom,H=Z.added+Z.removed,V=!U&&!Z.isBinary&&H>Kq;z.push({path:Q,linesAdded:Z.added,linesRemoved:Z.removed,isBinary:Z.isBinary,isLargeFile:U,isTruncated:V,isUntracked:M,...Z.renamedFrom?{renamedFrom:Z.renamedFrom}:{}})}return z.sort((Q,Z)=>Q.path.localeCompare(Z.path)),z}var b,Kq=400;var u=D(()=>{x();b=R(m(),1)});import{basename as S}from"path";function wq(q,J){let[$,z]=O.useState([]),[Q,Z]=O.useState([]),[A,M]=O.useState(!0),[U,H]=O.useState(0),V=q.join(`
2
+ `),X=J.join(`
3
+ `);O.useEffect(()=>{let v=!1;M(!0);async function G(){let N=V?V.split(`
4
+ `):[],_=X?X.split(`
5
+ `):[],E=(await Promise.all(_.map((B)=>h(B)))).flat(),P=w(E).filter((B)=>!N.includes(B)).sort((B,C)=>S(B).localeCompare(S(C))),k=w([...N,...P]),Yq=await Promise.all(k.map(async(B)=>{let[C,g,Aq]=await Promise.all([j(B),y(B),f(B)]);return{root:B,name:S(B),branch:Aq,files:C?p(C,g):[],hunks:g}}));if(!v)z(Yq),Z(k),M(!1)}return G().catch(()=>{if(!v)z([]),Z([]),M(!1)}),()=>{v=!0}},[V,X,U]);let W=O.useCallback(()=>H((v)=>v+1),[]);return{groups:$,roots:Q,loading:A,refresh:W}}var O;var Hq=D(()=>{Uq();x();u();O=R(m(),1)});import{basename as c}from"path";function n(q,J,$){if(q===0)return"";return J.join("")+($?vq:a)}function d(q){return{name:q,dirs:new Map,files:[]}}function Gq(q){let J=d("");for(let $ of q){let z=$.path.split("/");z.pop();let Q=J;for(let Z of z){let A=Q.dirs.get(Z);if(!A)A=d(Z),Q.dirs.set(Z,A);Q=A}Q.files.push($)}return J}function l(q,J,$,z,Q,Z,A,M){let U=[...q.dirs.values()].sort((X,W)=>X.name.localeCompare(W.name)),H=[...q.files].sort((X,W)=>c(X.path).localeCompare(c(W.path))),V=H.length>0;for(let X=0;X<U.length;X++){let W=U[X],v=W.name,G=J?`${J}/${W.name}`:W.name;while(W.files.length===0&&W.dirs.size===1){let P=W.dirs.values().next().value;v=`${v}/${P.name}`,G=`${G}/${P.name}`,W=P}let N=X===U.length-1&&!V,_=`${Q}\x00${G}`,E=z.has(_);if(A.push({kind:"dir",key:_,label:v,depth:$,collapsed:E,guides:n($,M,N)}),!E){let P=$>=1?[...M,N?Bq:a]:M;l(W,G,$+1,z,Q,Z,A,P)}}for(let X=0;X<H.length;X++){let W=H[X],v=X===H.length-1;A.push({kind:"file",file:W,root:Q,hunks:Z(W.path),depth:$,guides:n($,M,v)})}}function Nq(q,J){let $=[],z=q.length>1,Q=0;for(let Z of q){let A=z?1:0;if(z){let M=J.has(Z.root);if($.push({kind:"group",key:Z.root,name:Z.name,meta:`${Z.files.length} ${r(Z.files.length,"file")} changed`,branch:Z.branch,repoIndex:Q++,collapsed:M,depth:0}),M)continue}l(Gq(Z.files),"",A,J,Z.root,(M)=>Z.hunks.get(M)??[],$,[])}return $}var a="│ ",vq="└ ",Bq=" ";var i=D(()=>{Vq()});function hq(q){let J=0;for(let $=0;$<q.length;$++)J=Math.imul(J,31)+q.charCodeAt($)|0;return T[Math.abs(J)%T.length]}function o(q){let J=T.length;return T[(q%J+J)%J]}var T;var s=D(()=>{T=["cyan_FOR_SUBAGENTS_ONLY","green_FOR_SUBAGENTS_ONLY","yellow_FOR_SUBAGENTS_ONLY","purple_FOR_SUBAGENTS_ONLY","orange_FOR_SUBAGENTS_ONLY","pink_FOR_SUBAGENTS_ONLY","blue_FOR_SUBAGENTS_ONLY","red_FOR_SUBAGENTS_ONLY"]});function $q(){let q=Zq();return{enabled:q,fileIcon:(J)=>q?Jq(J):"",folderIcon:(J)=>q?J?qq:e:"",repoIcon:q?Oq:"",branchIcon:q?Fq:"",pointer:I.pointer}}var Oq="",Fq="";var zq=D(()=>{t();_q();Pq()});import{basename as Lq}from"path";function Dq(q,J,$){if(q<=$)return{start:0,end:q};let z=Math.max(0,J-Math.floor($/2)),Q=z+$;if(Q>q)Q=q,z=Math.max(0,Q-$);return{start:z,end:Q}}function JJ(q){return q.flatMap((J)=>J.files)}function ZJ({rows:q,selectedIndex:J,maxVisible:$,width:z,statusByPath:Q,alignFiles:Z}){let A=Wq.useMemo($q,[]),M=q.length;if(M===0)return Y(K,{dimColor:!0,children:"No changed files"});let{start:U,end:H}=Dq(M,J,$),V=[];for(let X=U;X<H;X++){let W=q[X];V.push(Y(kq,{row:W,isSelected:X===J,width:z,glyphs:A,alignFiles:Z,statusColor:W.kind==="file"?Q?.get(W.file.path):void 0},X))}return L(F,{flexDirection:"column",children:[U>0&&Y(K,{dimColor:!0,children:` ↑ ${U} more`}),V,H<M&&Y(K,{dimColor:!0,children:` ↓ ${M-H} more`})]})}function kq({row:q,isSelected:J,width:$,glyphs:z,statusColor:Q,alignFiles:Z}){if(q.kind==="group"){let N=J?`${z.pointer} `:" ",_=q.collapsed?I.triangleRight:I.triangleDown;return L(K,{dimColor:!J,bold:J,children:[`${N}${_} `,z.repoIcon&&Y(K,{color:o(q.repoIndex),dimColor:!1,children:`${z.repoIcon} `}),q.name," ",Y(K,{bold:!0,children:q.meta}),q.branch&&Y(K,{children:` ${z.branchIcon?`${z.branchIcon} `:"· "}${q.branch}`})]})}let A=J?`${z.pointer} `:" ",M=q.guides,U=2+q.depth*2;if(q.kind==="dir"){let N=q.collapsed?I.triangleRight:I.triangleDown,_=z.folderIcon(!q.collapsed),E=_?`${_} `:"",P=Math.max(4,$-U-2-(E?2:0)-1),k=Mq(q.label,P);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),`${N} ${E}${k}`]})}),Y(F,{flexGrow:1})]})}let H=z.fileIcon(q.file.path),V=H?`${H} `:"",X=Z?" ":"",W=q.file.isBinary||q.file.isLargeFile||q.file.renamedFrom?9:0,v=Math.max(4,$-U-X.length-(V?2:0)-W-1),G=Xq(Lq(q.file.path),v);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),X,V,Q&&!J?Y(K,{color:Q,children:G}):G]})}),Y(F,{flexGrow:1}),Y(F,{flexShrink:0,children:Y(Cq,{file:q.file,isSelected:J})})]})}function Cq({file:q,isSelected:J}){if(q.isBinary)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"binary"});if(q.isLargeFile)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"large"});if(q.renamedFrom)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"renamed"});return null}var Wq;var Tq=D(()=>{t();Iq();Eq();s();i();zq();Qq();Wq=R(m(),1)});
6
+ export{wq as Rf,Hq as Sf,$q as Tf,zq as Uf,hq as Vf,s as Wf,Nq as Xf,i as Yf,JJ as Zf,ZJ as _f,Tq as $f};
@@ -0,0 +1,5 @@
1
+ import{lb as U}from"./cli-0.6.14-91q3yxr1.mjs";import{Is as N,Js as b}from"./cli-0.6.14-sfan5yg2.mjs";import{OU as F,RU as d,SU as _,TU as M,YU as I}from"./cli-0.6.14-28qb772v.mjs";import{I6 as B,L6 as T,S6 as x,T6 as H,Y6 as v}from"./cli-0.6.14-p380n7ja.mjs";import{s8 as Z,u8 as P}from"./cli-0.6.14-zs6qf39k.mjs";import{Vga as O,Yga as D}from"./cli-0.6.14-106t4q8a.mjs";import{$ha as A,Bha as z,Gha as S,Yha as Y}from"./cli-0.6.14-e4k2wv6r.mjs";import{Dia as L,Nia as f}from"./cli-0.6.14-rn7sy805.mjs";import{Bpa as i,jpa as y}from"./cli-0.6.14-8fwb0rxq.mjs";import{Wpa as k}from"./cli-0.6.14-mjqpmr9h.mjs";i();A();P();d();D();b();A();P();f();T();v();I();S();var C=`{"type":"keep_alive"}
2
+ `,u=1000,h=1000,R=30000,w=600000,p=1e4,m=300000,E=R*2,c=new Set([1002,4001,4003]);class W{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new N(u)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:H(this.url.href),tls:B()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-0.6.14-ecgg0wpw.mjs"),Q=new K(this.url.href,{headers:J,agent:x(this.url.href),...B()});this.ws=Q,this.isBunWs=!1,Q.on("open",this.onNodeOpen),Q.on("message",this.onNodeMessage),Q.on("error",this.onNodeError),Q.on("close",this.onNodeClose),Q.on("pong",this.onPong)}}onBunOpen=()=>{if(this.handleOpenEvent(),this.lastSentId)this.replayBufferedMessages("")};onBunMessage=(J)=>{let K=typeof J.data==="string"?J.data:String(J.data);if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onBunError=()=>{Y("WebSocketTransport: Error",{level:"error"}),Z("error","cli_websocket_connect_error")};onBunClose=(J)=>{let K=J.code===1000||J.code===1001;Y(`WebSocketTransport: Closed: ${J.code}`,K?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J.code)};onNodeOpen=()=>{let J=this.ws;if(this.handleOpenEvent(),!J)return;let Q=J.upgradeReq;if(Q?.headers?.["x-last-request-id"]){let X=Q.headers["x-last-request-id"];this.replayBufferedMessages(X)}};onNodeMessage=(J)=>{let K=J.toString();if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onNodeError=(J)=>{Y(`WebSocketTransport: Error: ${J.message}`,{level:"error"}),Z("error","cli_websocket_connect_error")};onNodeClose=(J,K)=>{let Q=J===1000||J===1001;Y(`WebSocketTransport: Closed: ${J}`,Q?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J)};onPong=()=>{this.pongReceived=!0};handleOpenEvent(){let J=Date.now()-this.connectStartTime;if(Y("WebSocketTransport: Connected"),Z("info","cli_websocket_connect_connected",{duration_ms:J}),this.isBridge&&this.reconnectStartTime!==null)O("tengu_ws_transport_reconnected",{attempts:this.reconnectAttempts,downtimeMs:Date.now()-this.reconnectStartTime});this.reconnectAttempts=0,this.reconnectStartTime=null,this.lastReconnectAttemptTime=null,this.lastActivityTime=Date.now(),this.state="connected",this.onConnectCallback?.(),this.startPingInterval(),this.startKeepaliveInterval(),_(()=>{this.write({type:"keep_alive"})})}sendLine(J){if(!this.ws||this.state!=="connected")return Y("WebSocketTransport: Not connected"),Z("info","cli_websocket_send_not_connected"),!1;try{return this.ws.send(J),this.lastActivityTime=Date.now(),!0}catch(K){return Y(`WebSocketTransport: Failed to send: ${K}`,{level:"error"}),Z("error","cli_websocket_send_error"),this.handleConnectionError(),!1}}removeWsListeners(J){if(this.isBunWs){let K=J;K.removeEventListener("open",this.onBunOpen),K.removeEventListener("message",this.onBunMessage),K.removeEventListener("error",this.onBunError),K.removeEventListener("close",this.onBunClose),K.removeEventListener("pong",this.onPong)}else{let K=J;K.off("open",this.onNodeOpen),K.off("message",this.onNodeMessage),K.off("error",this.onNodeError),K.off("close",this.onNodeClose),K.off("pong",this.onPong)}}doDisconnect(){if(this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.ws)this.removeWsListeners(this.ws),this.ws.close(),this.ws=null}handleConnectionError(J){if(Y(`WebSocketTransport: Disconnected from ${this.url.href}`+(J!=null?` (code ${J})`:"")),Z("info","cli_websocket_disconnected"),this.isBridge)O("tengu_ws_transport_closed",{closeCode:J,msSinceLastActivity:this.lastActivityTime>0?Date.now()-this.lastActivityTime:-1,wasConnected:this.state==="connected",reconnectAttempts:this.reconnectAttempts});if(this.doDisconnect(),this.state==="closing"||this.state==="closed")return;let K=!1;if(J===4003&&this.refreshHeaders){let $=this.refreshHeaders();if($.Authorization!==this.headers.Authorization)Object.assign(this.headers,$),K=!0,Y("WebSocketTransport: 4003 received but headers refreshed, scheduling reconnect"),Z("info","cli_websocket_4003_token_refreshed")}if(J!=null&&c.has(J)&&!K){Y(`WebSocketTransport: Permanent close code ${J}, not reconnecting`,{level:"error"}),Z("error","cli_websocket_permanent_close",{closeCode:J}),this.state="closed",this.onCloseCallback?.(J);return}if(!this.autoReconnect){this.state="closed",this.onCloseCallback?.(J);return}let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;if(this.lastReconnectAttemptTime!==null&&Q-this.lastReconnectAttemptTime>E)Y(`WebSocketTransport: Detected system sleep (${Math.round((Q-this.lastReconnectAttemptTime)/1000)}s gap), resetting reconnection budget`),Z("info","cli_websocket_sleep_detected",{gapMs:Q-this.lastReconnectAttemptTime}),this.reconnectStartTime=Q,this.reconnectAttempts=0;this.lastReconnectAttemptTime=Q;let X=Q-this.reconnectStartTime;if(X<w){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(!K&&this.refreshHeaders){let V=this.refreshHeaders();Object.assign(this.headers,V),Y("WebSocketTransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let $=Math.min(h*Math.pow(2,this.reconnectAttempts-1),R),G=Math.max(0,$+$*0.25*(2*Math.random()-1));if(Y(`WebSocketTransport: Reconnecting in ${Math.round(G)}ms (attempt ${this.reconnectAttempts}, ${Math.round(X/1000)}s elapsed)`),Z("error","cli_websocket_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.isBridge)O("tengu_ws_transport_reconnecting",{attempt:this.reconnectAttempts,elapsedMs:X,delayMs:Math.round(G)});this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},G)}else if(Y(`WebSocketTransport: Reconnection time budget exhausted after ${Math.round(X/1000)}s for ${this.url.href}`,{level:"error"}),Z("error","cli_websocket_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:X}),this.state="closed",this.onCloseCallback)this.onCloseCallback(J)}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.state="closing",this.doDisconnect()}replayBufferedMessages(J){let K=this.messageBuffer.toArray();if(K.length===0)return;let Q=0;if(J){let $=K.findIndex((G)=>("uuid"in G)&&G.uuid===J);if($>=0){Q=$+1;let G=K.slice(Q);if(this.messageBuffer.clear(),this.messageBuffer.addAll(G),G.length===0)this.lastSentId=null;Y(`WebSocketTransport: Evicted ${Q} confirmed messages, ${G.length} remaining`),Z("info","cli_websocket_evicted_confirmed_messages",{evicted:Q,remaining:G.length})}}let X=K.slice(Q);if(X.length===0){Y("WebSocketTransport: No new messages to replay"),Z("info","cli_websocket_no_messages_to_replay");return}Y(`WebSocketTransport: Replaying ${X.length} buffered messages`),Z("info","cli_websocket_messages_to_replay",{count:X.length});for(let $ of X){let G=z($)+`
3
+ `;if(!this.sendLine(G)){this.handleConnectionError();break}}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnConnect(J){this.onConnectCallback=J}setOnClose(J){this.onCloseCallback=J}getStateLabel(){return this.state}async write(J){if("uuid"in J&&typeof J.uuid==="string")this.messageBuffer.add(J),this.lastSentId=J.uuid;let K=z(J)+`
4
+ `;if(this.state!=="connected")return;let Q=this.sessionId?` session=${this.sessionId}`:"",X=this.getControlMessageDetailLabel(J);Y(`WebSocketTransport: Sending message type=${J.type}${Q}${X}`),this.sendLine(K)}getControlMessageDetailLabel(J){if(J.type==="control_request"){let{request_id:K,request:Q}=J,X=Q.subtype==="can_use_tool"?Q.tool_name:"";return` subtype=${Q.subtype} request_id=${K}${X?` tool=${X}`:""}`}if(J.type==="control_response"){let{subtype:K,request_id:Q}=J.response;return` subtype=${K} request_id=${Q}`}return""}startPingInterval(){this.stopPingInterval(),this.pongReceived=!0;let J=Date.now();this.pingInterval=setInterval(()=>{if(this.state==="connected"&&this.ws){let K=Date.now(),Q=K-J;if(J=K,Q>E){Y(`WebSocketTransport: ${Math.round(Q/1000)}s tick gap detected — process was suspended, forcing reconnect`),Z("info","cli_websocket_sleep_detected_on_ping",{gapMs:Q}),this.handleConnectionError();return}if(!this.pongReceived){Y("WebSocketTransport: No pong received, connection appears dead",{level:"error"}),Z("error","cli_websocket_pong_timeout"),this.handleConnectionError();return}this.pongReceived=!1;try{this.ws.ping?.()}catch(X){Y(`WebSocketTransport: Ping failed: ${X}`,{level:"error"}),Z("error","cli_websocket_ping_failed")}}},p)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}startKeepaliveInterval(){if(this.stopKeepaliveInterval(),L(process.env.CLAUDE_CODE_REMOTE))return;this.keepAliveInterval=setInterval(()=>{if(this.state==="connected"&&this.ws)try{this.ws.send(C),this.lastActivityTime=Date.now(),Y("WebSocketTransport: Sent periodic keep_alive data frame")}catch(J){Y(`WebSocketTransport: Periodic keep_alive failed: ${J}`,{level:"error"}),Z("error","cli_websocket_keepalive_failed")}},m)}stopKeepaliveInterval(){if(this.keepAliveInterval)clearInterval(this.keepAliveInterval),this.keepAliveInterval=null}}var g=100,t=15000,l=3000;class n extends W{postUrl;uploader;streamEventBuffer=[];streamEventTimer=null;constructor(J,K={},Q,X,$){super(J,K,Q,X,$);let{maxConsecutiveFailures:G,onBatchDropped:V}=$??{};this.postUrl=r(J),this.uploader=new U({maxBatchSize:500,maxQueueSize:1e5,baseDelayMs:500,maxDelayMs:8000,jitterMs:1000,maxConsecutiveFailures:G,onBatchDropped:(j,q)=>{Z("error","cli_hybrid_batch_dropped_max_failures",{batchSize:j,failures:q}),V?.(j,q)},send:(j)=>this.postOnce(j)}),Y(`HybridTransport: POST URL = ${this.postUrl}`),Z("info","cli_hybrid_transport_initialized")}async write(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>this.flushStreamEvents(),g);return}return await this.uploader.enqueue([...this.takeStreamEvents(),J]),this.uploader.flush()}async writeBatch(J){return await this.uploader.enqueue([...this.takeStreamEvents(),...J]),this.uploader.flush()}get droppedBatchCount(){return this.uploader.droppedBatchCount}flush(){return this.uploader.enqueue(this.takeStreamEvents()),this.uploader.flush()}takeStreamEvents(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;let J=this.streamEventBuffer;return this.streamEventBuffer=[],J}flushStreamEvents(){this.streamEventTimer=null,this.uploader.enqueue(this.takeStreamEvents())}close(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[];let J=this.uploader,K;Promise.race([J.flush(),new Promise((Q)=>{K=setTimeout(Q,l)})]).finally(()=>{clearTimeout(K),J.close()}),super.close()}async postOnce(J){let K=F();if(!K){Y("HybridTransport: No session token available for POST"),Z("warn","cli_hybrid_post_no_token");return}let Q={Authorization:`Bearer ${K}`,"Content-Type":"application/json"},X;try{X=await y.post(this.postUrl,{events:J},{headers:Q,validateStatus:()=>!0,timeout:t})}catch($){throw Y(`HybridTransport: POST error: ${$.message}`),Z("warn","cli_hybrid_post_network_error"),$}if(X.status>=200&&X.status<300){Y(`HybridTransport: POST success count=${J.length}`);return}if(X.status>=400&&X.status<500&&X.status!==429){Y(`HybridTransport: POST returned ${X.status} (permanent), dropping`),Z("warn","cli_hybrid_post_client_error",{status:X.status});return}throw Y(`HybridTransport: POST returned ${X.status} (retryable)`),Z("warn","cli_hybrid_post_retryable_error",{status:X.status}),Error(`POST failed with ${X.status}`)}}function r(J){let K=J.protocol==="wss:"?"https:":"http:",Q=J.pathname;if(Q=Q.replace("/ws/","/session/"),!Q.endsWith("/events"))Q=Q.endsWith("/")?Q+"events":Q+"/events";return`${K}//${J.host}${Q}${J.search}`}
5
+ export{W as _a,n as $a};
@@ -0,0 +1,4 @@
1
+ import{$r as D,LD as k,MD as HJ,Zo as G,ap as a,as as hJ,nn as R,on as BJ}from"./cli-0.6.14-sfan5yg2.mjs";import{E6 as bJ,e6 as ZJ,p6 as $J}from"./cli-0.6.14-hwwpzjf6.mjs";import{Gba as jJ,K9 as C,L9 as GJ,M9 as h,N9 as FJ,O9 as u,P9 as kJ,rba as WJ}from"./cli-0.6.14-zs6qf39k.mjs";import{Hfa as gJ,vfa as x}from"./cli-0.6.14-2kj6t828.mjs";import{_fa as q,aga as s,bga as Y,cga as r}from"./cli-0.6.14-g818hb3n.mjs";import{Fga as M,Kga as yJ}from"./cli-0.6.14-45cmq90s.mjs";import{iha as o,jha as CJ,sha as n,tha as EJ,yha as l,zha as TJ}from"./cli-0.6.14-e4k2wv6r.mjs";import{$ia as wJ,Qja as c,Rja as OJ,Uja as H,Una as QJ,Vja as F,Wja as I,Xja as YJ,Yia as g,Yja as P,Zia as zJ,Zja as XJ,_ia as A,kja as f,lja as PJ,ooa as mJ}from"./cli-0.6.14-f8c4q74r.mjs";import{xoa as K,yoa as DJ}from"./cli-0.6.14-zqc493f5.mjs";import{Vpa as B}from"./cli-0.6.14-mjqpmr9h.mjs";function UJ(J,Q){return Q.length<2?J:P(J,R(Q,0,-1))}var z;var L=B(()=>{XJ();BJ();z=UJ});function xJ(J,Q){Q=H(Q,J);var W=-1,$=Q.length;if(!$)return!0;while(++W<$){var Z=I(Q[W]);if(Z==="__proto__"&&!KJ.call(J,"__proto__"))return!1;if((Z==="constructor"||Z==="prototype")&&W<$-1)return!1}var X=z(J,Q);return X==null||delete X[I(k(Q))]}var IJ,KJ,N;var O=B(()=>{F();HJ();L();YJ();IJ=Object.prototype,KJ=IJ.hasOwnProperty;N=xJ});function MJ(J){return C(J)?void 0:J}var E;var T=B(()=>{GJ();E=MJ});function RJ(J){return A(J)||f(J)||!!(S&&J&&J[S])}var S,d;var _=B(()=>{DJ();PJ();wJ();S=K?K.isConcatSpreadable:void 0;d=RJ});function v(J,Q,W,$,Z){var X=-1,V=J.length;W||(W=d),Z||(Z=[]);while(++X<V){var U=J[X];if(Q>0&&W(U))if(Q>1)v(U,Q-1,W,$,Z);else g(Z,U);else if(!$)Z[Z.length]=U}return Z}var m;var j=B(()=>{zJ();_();m=v});function LJ(J){var Q=J==null?0:J.length;return Q?m(J,1):[]}var y;var b=B(()=>{j();y=LJ});function NJ(J){return u(h(J,void 0,y),J+"")}var i;var p=B(()=>{b();FJ();kJ();i=NJ});var SJ=1,AJ=2,fJ=4,dJ,NQ;var _J=B(()=>{OJ();TJ();O();F();CJ();T();p();EJ();dJ=i(function(J,Q){var W={};if(J==null)return W;var $=!1;if(Q=c(Q,function(X){return X=H(X,J),$||($=X.length>1),X}),o(J,n(J),W),$)W=l(W,SJ|AJ|fJ,E);var Z=Q.length;while(Z--)N(W,Q[Z]);return W}),NQ=dJ});function t(){let J=x("tengu_harbor_ledger",[]),Q=vJ().safeParse(J);return Q.success?Q.data:[]}function e(){return x("tengu_harbor",!1)}var vJ;var JJ=B(()=>{s();r();a();gJ();vJ=Y(()=>q.array(q.object({marketplace:q.string(),plugin:q.string()})))});function uQ(J,Q,W){let $=Object.entries(W??{}).filter(([Z])=>iJ.test(Z)).map(([Z,X])=>` ${Z}="${D(X)}"`).join("");return`<${M} source="${D(J)}"${$}>
2
+ ${Q}
3
+ </${M}>`}function pJ(J,Q){if((J==="team"||J==="enterprise")&&Q)return{entries:Q,source:"org"};return{entries:t(),source:"ledger"}}function cJ(J,Q){let W=J.split(":");return Q.find(($)=>$.kind==="server"?J===$.name:W[0]==="plugin"&&W[1]===$.name)}function iQ(J,Q,W){if(!Q?.experimental?.["claude/channel"])return{action:"skip",kind:"capability",reason:"server did not declare claude/channel capability"};if(!e())return{action:"skip",kind:"disabled",reason:"channels feature is not currently available"};if(!ZJ()?.accessToken)return{action:"skip",kind:"auth",reason:"channels requires claude.ai authentication (run /login)"};let $=$J(),Z=$==="team"||$==="enterprise",X=Z?WJ("policySettings"):void 0;if(Z&&X?.channelsEnabled!==!0)return{action:"skip",kind:"policy",reason:"channels not enabled by org policy (set channelsEnabled: true in managed settings)"};let V=cJ(J,QJ());if(!V)return{action:"skip",kind:"session",reason:`server ${J} not in --channels list for this session`};if(V.kind==="plugin"){let U=W?G(W).marketplace:void 0;if(U!==V.marketplace)return{action:"skip",kind:"marketplace",reason:`you asked for plugin:${V.name}@${V.marketplace} but the installed ${V.name} plugin is from ${U??"an unknown source"}`};if(!V.dev){let{entries:qJ,source:VJ}=pJ($,X?.allowedChannelPlugins);if(!qJ.some((w)=>w.plugin===V.name&&w.marketplace===V.marketplace))return{action:"skip",kind:"allowlist",reason:VJ==="org"?`plugin ${V.name}@${V.marketplace} is not on your org's approved channels list (set allowedChannelPlugins in managed settings)`:`plugin ${V.name}@${V.marketplace} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`}}}else if(!V.dev)return{action:"skip",kind:"allowlist",reason:`server ${V.name} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`};return{action:"register"}}var bQ,uJ="notifications/claude/channel/permission",hQ,iJ;var oJ=B(()=>{s();mJ();yJ();bJ();r();a();jJ();hJ();JJ();bQ=Y(()=>q.object({method:q.literal("notifications/claude/channel"),params:q.object({content:q.string(),meta:q.record(q.string(),q.string()).optional()})})),hQ=Y(()=>q.object({method:q.literal(uJ),params:q.object({request_id:q.string(),behavior:q.enum(["allow","deny"])})})),iJ=/^[a-zA-Z_][a-zA-Z0-9_]*$/});
4
+ export{NQ as Jf,_J as Kf,JJ as Lf,bQ as Mf,uQ as Nf,cJ as Of,iQ as Pf,oJ as Qf};
@@ -0,0 +1,2 @@
1
+ import{$E as w,WE as R,XE as E,YE as l,ZE as i,_E as c,aF as O,eF as y,fF as e}from"./cli-0.6.14-sfan5yg2.mjs";import{BW as x,CW as s}from"./cli-0.6.14-p1tqmfbz.mjs";import{$Y as j,GZ as Q,RX as n,RZ as K,aZ as r,kZ as k,mZ as W}from"./cli-0.6.14-01m8v54j.mjs";import{W1 as A,X1 as V,Y1 as D,Z1 as v}from"./cli-0.6.14-4txh6031.mjs";import{_1 as t}from"./cli-0.6.14-f2qf9rpv.mjs";import{Rpa as q,Vpa as p}from"./cli-0.6.14-mjqpmr9h.mjs";function X1(J){let b=S.c(17),{query:$,placeholder:N,isFocused:Z,isTerminalFocused:H,prefix:g,width:P,cursorOffset:_,borderless:Y}=J,G=N===void 0?"Search…":N,h=g===void 0?"⌕":g,L=Y===void 0?!1:Y,B=_??$.length,m=L?void 0:"round",z=Z?"suggestion":void 0,d=!Z,F=L?0:1,T=!Z,X;if(b[0]!==Z||b[1]!==H||b[2]!==B||b[3]!==G||b[4]!==$)X=Z?V(A,{children:$?H?D(A,{children:[V(W,{children:$.slice(0,B)}),V(W,{inverse:!0,children:B<$.length?$[B]:" "}),B<$.length&&V(W,{children:$.slice(B+1)})]}):V(W,{children:$}):H?D(A,{children:[V(W,{inverse:!0,children:G.charAt(0)}),V(W,{dimColor:!0,children:G.slice(1)})]}):V(W,{dimColor:!0,children:G})}):$?V(W,{children:$}):V(W,{children:G}),b[0]=Z,b[1]=H,b[2]=B,b[3]=G,b[4]=$,b[5]=X;else X=b[5];let M;if(b[6]!==h||b[7]!==T||b[8]!==X)M=D(W,{dimColor:T,children:[h," ",X]}),b[6]=h,b[7]=T,b[8]=X,b[9]=M;else M=b[9];let I;if(b[10]!==M||b[11]!==m||b[12]!==z||b[13]!==d||b[14]!==F||b[15]!==P)I=V(k,{flexShrink:0,borderStyle:m,borderColor:z,borderDimColor:d,paddingX:F,width:P,children:M}),b[10]=M,b[11]=m,b[12]=z,b[13]=d,b[14]=F,b[15]=P,b[16]=I;else I=b[16];return I}var S;var u=p(()=>{K();v();S=q(n(),1)});function d1(J){if(J.ctrl&&(J.key==="k"||J.key==="u"||J.key==="w"))return!0;if(J.meta&&J.key==="backspace")return!0;return!1}function T1(J){return(J.ctrl||J.meta)&&J.key==="y"}function W1({isActive:J,onExit:b,onCancel:$,onExitUp:N,columns:Z,passthroughCtrlKeys:H=[],initialQuery:g="",backspaceExitsOnEmpty:P=!0}){let{columns:_}=x(),Y=Z??_,[G,h]=U.useState(g),[L,B]=U.useState(g.length),m=U.useCallback((d)=>{h(d),B(d.length)},[]),z=(d)=>{if(!J)return;let F=y.fromText(G,Y,L);if(d.ctrl&&H.includes(d.key.toLowerCase()))return;if(!d1(d))l();if(!T1(d))O();if(d.key==="return"||d.key==="down"){d.preventDefault(),b();return}if(d.key==="up"){if(d.preventDefault(),N)N();return}if(d.key==="escape"){if(d.preventDefault(),$)$();else if(G.length>0)h(""),B(0);else b();return}if(d.key==="backspace"){if(d.preventDefault(),d.meta){let{cursor:X,killed:M}=F.deleteWordBefore();R(M,"prepend"),h(X.text),B(X.offset);return}if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}if(d.key==="delete"){d.preventDefault();let T=F.del();h(T.text),B(T.offset);return}if(d.key==="left"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.prevWord();B(T.offset);return}if(d.key==="right"&&(d.ctrl||d.meta||d.fn)){d.preventDefault();let T=F.nextWord();B(T.offset);return}if(d.key==="left"){d.preventDefault();let T=F.left();B(T.offset);return}if(d.key==="right"){d.preventDefault();let T=F.right();B(T.offset);return}if(d.key==="home"){d.preventDefault(),B(0);return}if(d.key==="end"){d.preventDefault(),B(G.length);return}if(d.ctrl){switch(d.preventDefault(),d.key.toLowerCase()){case"a":B(0);return;case"e":B(G.length);return;case"b":B(F.left().offset);return;case"f":B(F.right().offset);return;case"d":{if(G.length===0){($??b)();return}let T=F.del();h(T.text),B(T.offset);return}case"h":{if(G.length===0){if(P)($??b)();return}let T=F.backspace();h(T.text),B(T.offset);return}case"k":{let{cursor:T,killed:X}=F.deleteToLineEnd();R(X,"append"),h(T.text),B(T.offset);return}case"u":{let{cursor:T,killed:X}=F.deleteToLineStart();R(X,"prepend"),h(T.text),B(T.offset);return}case"w":{let{cursor:T,killed:X}=F.deleteWordBefore();R(X,"prepend"),h(T.text),B(T.offset);return}case"y":{let T=E();if(T.length>0){let X=F.offset,M=F.insert(T);i(X,T.length),h(M.text),B(M.offset)}return}case"g":case"c":if($){$();return}}return}if(d.meta){switch(d.preventDefault(),d.key.toLowerCase()){case"b":B(F.prevWord().offset);return;case"f":B(F.nextWord().offset);return;case"d":{let T=F.deleteWordAfter();h(T.text),B(T.offset);return}case"y":{let T=c();if(T){let{text:X,start:M,length:I}=T,f=G.slice(0,M),a=G.slice(M+I),C=f+X+a,o=M+X.length;w(X.length),h(C),B(o)}return}}return}if(d.key==="tab")return;if(d.key.length>=1&&!b1.has(d.key)){d.preventDefault();let T=F.insert(d.key);h(T.text),B(T.offset)}};return Q((d,F,T)=>{z(new j(T.keypress))},{isActive:J}),{query:G,setQuery:m,cursorOffset:L,handleKeyDown:z}}var U,b1;var B1=p(()=>{r();K();e();s();U=q(t(),1);b1=new Set(["pageup","pagedown","insert","wheelup","wheeldown","mouse","f1","f2","f3","f4","f5","f6","f7","f8","f9","f10","f11","f12"])});
2
+ export{X1 as Zg,u as _g,W1 as $g,B1 as ah};
@@ -0,0 +1,4 @@
1
+ import{Qd as c,Wd as Eq}from"./cli-0.6.14-s1dz4xc5.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.14-sfan5yg2.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.14-zs6qf39k.mjs";import{Kha as p,Oha as Wq}from"./cli-0.6.14-e4k2wv6r.mjs";import{pia as o,sia as N,xia as Uq}from"./cli-0.6.14-tsj8ceqz.mjs";import{ooa as xq,xka as f}from"./cli-0.6.14-f8c4q74r.mjs";import{Vpa as Zq}from"./cli-0.6.14-mjqpmr9h.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};
@@ -0,0 +1,2 @@
1
+ import{Vpa as o}from"./cli-0.6.14-mjqpmr9h.mjs";var n=()=>null,e;var t=o(()=>{e=n});
2
+ export{e as yi,t as zi};
@@ -0,0 +1,2 @@
1
+ import{Hh as g,Ih as Uf}from"./cli-0.6.14-nwprj5e9.mjs";import{Mh as A,Oh as Kf}from"./cli-0.6.14-nz0nygqh.mjs";import{AC as jf,BR as k,Fj as w,Gj as zf,Gw as M,Hw as $f,Kl as Jf,LB as c,MB as bf,SP as l,WD as v,Wl as N,am as Qf,au as m,bE as Df,bS as Hf,bu as Zf,cS as d,fs as h,gs as Yf,hR as S,il as Bf,im as L,jl as Gf,nm as Vf,pl as y,qu as C,sQ as Ff,sj as W,uR as p,uu as T,wB as I,wr as E,xC as u,xr as P,yr as Xf,yu as _f}from"./cli-0.6.14-sfan5yg2.mjs";import{nea as R,vea as ff}from"./cli-0.6.14-zs6qf39k.mjs";import{Vga as O,Yga as e}from"./cli-0.6.14-106t4q8a.mjs";import{dna as H,ooa as s,qla as F,rka as U,ska as q,xka as x}from"./cli-0.6.14-f8c4q74r.mjs";import{Spa as K,Vpa as t}from"./cli-0.6.14-mjqpmr9h.mjs";import{randomUUID as qf}from"crypto";async function lf({setMessages:V,readFileState:i,discoveredSkillNames:n,loadedNestedMemoryPaths:r,getAppState:G,setAppState:J,setConversationId:X}){let Y=l();await I("clear",{getAppState:G,setAppState:J,signal:AbortSignal.timeout(Y),timeoutMs:Y});let Z=F();if(Z)O("tengu_cache_eviction_hint",{scope:"conversation_clear",last_request_id:Z});let Q=new Set,_=[],$=(f)=>("isBackgrounded"in f)&&f.isBackgrounded===!1;if(G)for(let f of Object.values(G().tasks)){if($(f))continue;if(v(f))Q.add(f.agentId),_.push(f);else if(M(f))Q.add(f.identity.agentId)}if(V(()=>[]),X)X(qf());if(g(Q),c(x()),i.clear(),n?.clear(),r?.clear(),J)J((f)=>{let B={};for(let[D,z]of Object.entries(f.tasks)){if(!$(z)){B[D]=z;continue}try{if(z.status==="running"){if(h(z)){if(z.shellCommand?.kill(),z.shellCommand?.cleanup(),z.cleanupTimeoutId)clearTimeout(z.cleanupTimeoutId)}if("abortController"in z)z.abortController?.abort();if("unregisterCleanup"in z)z.unregisterCleanup?.()}}catch(a){R(a)}E(D)}return{...f,tasks:B,attribution:m(),standaloneAgentContext:void 0,fileHistory:{snapshots:[],trackedFiles:new Set,snapshotSequence:0},mcp:{clients:[],tools:[],commands:[],resources:{},pluginReconnectKey:f.mcp.pluginReconnectKey}}});N(),p(),H(),A(),T(),C();let o=U();q({setCurrentAsParent:!0}),L(o),await S();for(let f of _){if(f.status!=="running")continue;P(f.id,W(w(f.agentId)))}{let{saveMode:f}=(d(),K(Hf)),{isCoordinatorMode:B}=(Gf(),K(Bf));f(B()?"coordinator":"normal")}let b=y();if(b)k(b);let j=await u("clear");if(j.length>0)V(()=>j)}var xf=t(()=>{s();e();$f();Df();Yf();zf();_f();Zf();Ff();ff();Kf();Qf();bf();jf();d();Xf();Vf();Jf();Uf()});
2
+ export{lf as Fh,xf as Gh};
@@ -0,0 +1,2 @@
1
+ import{ie as V,ke as B}from"./cli-0.6.14-1wqr5xn1.mjs";import{Ay as q,HM as U,JM as w,RP as F,Tj as L,zy as Q}from"./cli-0.6.14-sfan5yg2.mjs";import{E_ as K,J_ as k}from"./cli-0.6.14-zs6qf39k.mjs";import{$ha as $,Yha as I}from"./cli-0.6.14-e4k2wv6r.mjs";import{qia as G,xia as _}from"./cli-0.6.14-tsj8ceqz.mjs";import{Vpa as Z}from"./cli-0.6.14-mjqpmr9h.mjs";async function h(W,X){let E=V(W);if(!E)return null;try{let A=await U({systemPrompt:Q(['Generate a short kebab-case name (2-4 words) that captures the main topic of this conversation. Use lowercase words separated by hyphens. Examples: "fix-login-bug", "add-auth-feature", "refactor-api-client", "debug-test-failures". Return JSON with a "name" field.']),userPrompt:E,outputFormat:{type:"json_schema",schema:{type:"object",properties:{name:{type:"string"}},required:["name"],additionalProperties:!1}},signal:X,options:{querySource:"rename_generate_name",agents:[],isNonInteractiveSession:!1,hasAppendSystemPrompt:!1,mcpTools:[]}}),Y=L(A.message.content),z=K(Y);if(z&&typeof z==="object"&&"name"in z&&typeof z.name==="string")return z.name;return null}catch(A){return I(`generateSessionName failed: ${G(A)}`,{level:"error"}),null}}var D=Z(()=>{w();$();_();k();F();B();q()});
2
+ export{h as ge,D as he};
@@ -0,0 +1,2 @@
1
+ import{Vga as X,Yga as z}from"./cli-0.6.14-106t4q8a.mjs";import{$ha as P,Bha as Z,Gha as O,Yha as $}from"./cli-0.6.14-e4k2wv6r.mjs";import{qia as Y,xia as H}from"./cli-0.6.14-tsj8ceqz.mjs";import{Vpa as x}from"./cli-0.6.14-mjqpmr9h.mjs";function h(q){return q.replace(w,(K,J,Q)=>{if(Q.length<F)return`"${J}":"[REDACTED]"`;let V=`${Q.slice(0,8)}...${Q.slice(-4)}`;return`"${J}":"${V}"`})}function N(q){let K=q.replace(/\n/g,"\\n");if(K.length<=W)return K;return K.slice(0,W)+`... (${K.length} chars)`}function R(q){let K=typeof q==="string"?q:Z(q),J=h(K);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function U(q){let K=Y(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let Q=J.data,V=typeof Q.message==="string"?Q.message:typeof Q.error==="object"&&Q.error&&("message"in Q.error)&&typeof Q.error.message==="string"?Q.error.message:void 0;if(V)return`${K}: ${V}`}}return K}function j(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function D(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function L(q,K,J){if(K)$(K);X("tengu_bridge_repl_skipped",{reason:q,...J!==void 0&&{v2:J}})}var W=2000,k,w,F=16;var m=x(()=>{z();P();H();O();k=["session_ingress_token","environment_secret","access_token","secret","token"],w=new RegExp(`"(${k.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
2
+ export{N as kf,R as lf,U as mf,j as nf,D as of,L as pf,m as qf};
@@ -0,0 +1,50 @@
1
+ import{qc as Kc,rc as da}from"./cli-0.6.14-bypp2d0a.mjs";import{sc as An,tc as Ht,uc as Xt,vc as Zc,xc as ea}from"./cli-0.6.14-m3bx95g6.mjs";import{Bc as ma,yc as wt}from"./cli-0.6.14-7e258xyd.mjs";import{Ap as mn,Bp as Uu,Cp as Lc,Ep as zc,Fp as Nc,Hp as fc,OF as nc,PF as Gu,QF as cc,RF as uc,SF as ac,TF as Vu,Yp as Mc,Zp as aa,ly as Gc,mH as Hn,my as Vc,nF as yt,nH as Au,ny as Yc,oF as Kn,oy as Jc,pH as la,py as ra,qH as oa,tp as yc,up as Wu,vp as Cc,wp as bc,wv as Qc,xF as V,xp as wc,yF as gu,yp as Oc,yv as ha,zF as ia,zp as D}from"./cli-0.6.14-sfan5yg2.mjs";import{PW as v,RW as ca,bX as Fc,cX as ua}from"./cli-0.6.14-p1tqmfbz.mjs";import{RZ as Ln,kZ as g,mZ as i}from"./cli-0.6.14-01m8v54j.mjs";import{U0 as Nn,V0 as Mn,W0 as Qn,X0 as Gn,Y0 as Vn,Z0 as su,a1 as Yn,e1 as Jn,f1 as $c,g1 as Zn}from"./cli-0.6.14-70gt6pyh.mjs";import{W1 as dt,X1 as u,Y1 as y,Z1 as Qt}from"./cli-0.6.14-4txh6031.mjs";import{_1 as Vt}from"./cli-0.6.14-f2qf9rpv.mjs";import{v2 as lc,w2 as Hu}from"./cli-0.6.14-67c3dtne.mjs";import{M2 as $n,O2 as Ou}from"./cli-0.6.14-hwwpzjf6.mjs";import{$ca as ft,Ada as tc,Bda as Qu,Cda as On,Dda as rc,Eda as sn,Gda as ic,Ida as Sc,Jda as gn,Sca as qc,Tca as bt,Uca as ta,Vca as Tt,Wca as nt,Xda as na,Yca as W,Zca as Kt,ada as Cn,bda as ct,cda as At,f8 as Ct,g8 as vu,gda as Rt,hda as bn,jda as wn,nda as Fn,sda as hn,tda as xn,uda as jn,vda as Yt,wda as rn,xda as Dn,yda as an,zda as vn}from"./cli-0.6.14-zs6qf39k.mjs";import{Fia as ut,Nia as on}from"./cli-0.6.14-rn7sy805.mjs";import{Rpa as Gt,Spa as Du,Vpa as j}from"./cli-0.6.14-mjqpmr9h.mjs";function zu(t,c=tn,a){let r=nt().find((m)=>m.provider==="openai"&&m.extras?.githubToken!==void 0);if(r)return At(r.id,{provider:"openai",name:r.name,baseUrl:a||r.baseUrl,model:r.model||c,apiKey:t,extras:{...r.extras,githubToken:t}}),Rt(r.id),{mode:"updated"};return ct({provider:"openai",name:"GitHub Copilot",baseUrl:a||Ru,model:c,apiKey:t,extras:{githubToken:t}},{makeActive:!0}),{mode:"created"}}function Tn({onDone:t,onBack:c,onChangeAPIKey:a}){let r=Yn()?.trim()?"already-authed":"menu",[m,e]=E.useState(r),[A,O]=E.useState(null),[X,w]=E.useState(""),[z,S]=E.useState(0),[L,Z]=E.useState(null),N=E.useCallback(async(Y,q=tn,tt,f)=>{let T=Jn(Y,tt,f?.enterpriseDomain);if(!T.success){O(T.warning??"Could not save token to secure storage."),e("error");return}zu(Y,q,f?.baseUrl),$n(),a?.(),t("GitHub Copilot onboard complete. Copilot token stored in secure storage and as the active /provider profile.",{display:"user"})},[a,t]),C=E.useCallback(async(Y)=>{e("device-busy"),O(null),Z(null);try{let q=await Mn({domain:Y});Z({user_code:q.user_code,verification_uri:q.verification_uri}),await Gn(q.verification_uri);let tt=await Qn(q.device_code,{initialInterval:q.interval,timeoutSeconds:q.expires_in,domain:Y}),f=await Vn(tt,{domain:Y});await N(f.token,tn,tt,{baseUrl:f.endpoints.api?.replace(/\/+$/,"")||void 0,enterpriseDomain:Y})}catch(q){O(q instanceof Error?q.message:String(q)),e("error")}},[N]);if(m==="already-authed")return y(g,{flexDirection:"column",gap:1,children:[u(i,{bold:!0,children:"GitHub Copilot"}),u(i,{children:"You are already signed in to GitHub Copilot."}),u(i,{dimColor:!0,children:'Choose "Sign in again" to refresh your token, or go back to the provider menu.'}),u(V,{options:[{label:"Sign in again",value:"sign-in-again"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:c?"Back to /provider menu":"Cancel",value:"back"}],onChange:(q)=>{if(q==="sign-in-again"){C();return}if(q==="enterprise"){e("enterprise-domain");return}if(c){c();return}t("GitHub onboard cancelled",{display:"system"})}})]});if(m==="enterprise-domain")return y(g,{flexDirection:"column",gap:1,children:[u(i,{bold:!0,children:"GitHub Enterprise sign-in"}),u(i,{dimColor:!0,children:"Enter your GitHub Enterprise domain (e.g. github.acme.com). Leave empty for github.com."}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:">"}),u(yt,{value:X,onChange:w,onSubmit:()=>{let q=Nn(X);if(!q){C();return}C(q)},onExit:()=>e(r),focus:!0,showCursor:!0,placeholder:"github.acme.com",columns:80,cursorOffset:z,onChangeCursorOffset:S})]}),u(i,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]});if(m==="error"&&A)return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"red",children:A}),u(V,{options:[{label:c?"Back to /provider menu":"Back to menu",value:"back"},{label:"Exit",value:"exit"}],onChange:(q)=>{if(q==="back"){if(c){c();return}e("menu"),O(null);return}t("GitHub onboard cancelled",{display:"system"})}})]});if(m==="device-busy")return y(g,{flexDirection:"column",gap:1,children:[u(i,{children:"GitHub Copilot sign-in"}),L?y(dt,{children:[y(i,{children:["Enter code ",u(i,{bold:!0,children:L.user_code})," at"," ",L.verification_uri]}),u(i,{dimColor:!0,children:"A browser window may have opened. Waiting for authorization..."})]}):u(i,{dimColor:!0,children:"Requesting device code from GitHub..."}),u(Hn,{})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{bold:!0,children:"GitHub Copilot setup"}),u(i,{dimColor:!0,children:"Stores your token in the OS credential store (macOS Keychain when available) and creates a /provider profile so Copilot is the active provider — no manual env exports required."}),u(V,{options:[{label:"Sign in with browser",value:"device"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:c?"Back to /provider menu":"Cancel",value:"cancel"}],onChange:(Y)=>{if(Y==="cancel"){if(c){c();return}t("GitHub onboard cancelled",{display:"system"});return}if(Y==="enterprise"){e("enterprise-domain");return}C()}})]})}var E,tn="github:copilot",Ru="https://api.githubcopilot.com";var Wn=j(()=>{gu();Au();Kn();Ln();su();Zn();Ou();Fn();Qt();E=Gt(Vt(),1)});function En(t){return[t.name,t.family??"",...t.families??[],t.parameterSize??"",t.quantizationLevel??""].join(" ").toLowerCase()}function zt(t,c){return c.some((a)=>t.includes(a))}function _u(t){return!zt(En(t),Un)}function qu(t){return t.find(_u)??null}function nn(t){let a=`${t.parameterSize??""} ${t.name}`.toLowerCase().match(/(\d+(?:\.\d+)?)\s*b\b/);if(a?.[1])return Number(a[1]);if(typeof t.sizeBytes==="number"&&t.sizeBytes>0)return Number((t.sizeBytes/1e9).toFixed(1));return null}function Su(t){return(t.quantizationLevel??t.name).toLowerCase()}function Fu(t,c,a){if(t===null)return a.push("unknown size"),0;if(c==="latency"){if(t<=4)return a.push("tiny model for low latency"),32;if(t<=8)return a.push("small model for fast responses"),26;if(t<=14)return a.push("mid-sized model with acceptable latency"),16;if(t<=24)return a.push("larger model may be slower"),8;return a.push("large model likely slower locally"),t<=40?0:-8}if(c==="coding"){if(t>=7&&t<=14)return a.push("strong coding size tier"),24;if(t>14&&t<=34)return a.push("large coding-capable size tier"),28;if(t>34)return a.push("very large model with higher quality potential"),18;return a.push("compact model may trade off coding depth"),12}if(t>=7&&t<=14)return a.push("great balanced size tier"),26;if(t>=3&&t<7)return a.push("compact balanced size tier"),18;if(t>14&&t<=24)return a.push("high quality balanced size tier"),20;if(t>24)return a.push("large model for quality-first usage"),10;return a.push("very small model for general usage"),8}function $u(t,c,a){let r=Su(t);if(r.includes("q4"))return a.push("efficient Q4 quantization"),c==="latency"?8:4;if(r.includes("q5"))return a.push("balanced Q5 quantization"),c==="latency"?6:5;if(r.includes("q8"))return a.push("higher quality Q8 quantization"),c==="latency"?2:5;return 0}function Lu(t,c,a){if(c.score!==t.score)return c.score-t.score;let r=nn(t)??Number.POSITIVE_INFINITY,m=nn(c)??Number.POSITIVE_INFINITY;if(a==="latency")return r-m;if(a==="coding")return m-r;let e=14;return Math.abs(r-e)-Math.abs(m-e)}function cn(t,c){return t.map((a)=>{let r=En(a),m=[],e=0;if(zt(r,Un))e-=40,m.push("not a chat-first model");if(zt(r,fu))e+=c==="coding"?24:c==="balanced"?10:4,m.push("coding-oriented model family");if(zt(r,Xu))e+=c==="latency"?4:c==="coding"?6:8,m.push("strong general-purpose model family");if(zt(r,ku))e+=c==="latency"?2:6,m.push("chat/instruct tuned");if(r.includes("vision")||r.includes("vl"))e-=2,m.push("vision model adds extra overhead");e+=Fu(nn(a),c,m),e+=$u(a,c,m);let A=m.slice(0,3).join(", ");return{...a,score:e,reasons:m,summary:A}}).sort((a,r)=>Lu(a,r,c))}function Pn(t,c){return qu(cn(t,c))}var fu,Xu,ku,Un;var Bn=j(()=>{fu=["coder","codellama","codegemma","codestral","devstral","starcoder","deepseek-coder","qwen2.5-coder","qwen-coder"],Xu=["llama","qwen","mistral","gemma","phi","deepseek"],ku=["instruct","chat","assistant"],Un=["embed","embedding","rerank","bge","whisper"]});function Mu(t){let c=t.toLowerCase();return Nu.some((a)=>c.includes(a))}function un(t){try{let c=new URL(t);if(c.username)c.username="redacted";if(c.password)c.password="redacted";for(let a of c.searchParams.keys())if(Mu(a))c.searchParams.set(a,"redacted");return c.toString()}catch{return t.replace(/\/\/[^/@\s]+(?::[^/@\s]*)?@/g,"//redacted@").replace(/([?&](?:token|access_token|refresh_token|api_key|apikey|key|password|passwd|pwd|auth|authorization|signature|sig|secret)=)[^&#]*/gi,"$1redacted")}}var Nu;var In=j(()=>{Nu=["api_key","apikey","key","token","access_token","refresh_token","signature","sig","secret","password","passwd","pwd","auth","authorization"]});function Yu(t){let c=`http://localhost:${t.port}/auth/callback`,a=new URL(`${hn}/oauth/authorize`);return a.searchParams.append("response_type","code"),a.searchParams.append("client_id",rn()),a.searchParams.append("redirect_uri",c),a.searchParams.append("scope",xn),a.searchParams.append("code_challenge",t.codeChallenge),a.searchParams.append("code_challenge_method","S256"),a.searchParams.append("id_token_add_organizations","true"),a.searchParams.append("codex_cli_simplified_flow","true"),a.searchParams.append("state",t.state),a.searchParams.append("originator",jn),a.toString()}function Ju(){return`<!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Codex Login Complete</title>
6
+ <style>
7
+ body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
8
+ h1 { margin: 0 0 12px; font-size: 22px; }
9
+ p { margin: 0 0 10px; }
10
+ </style>
11
+ </head>
12
+ <body>
13
+ <h1>Codex login complete</h1>
14
+ <p>You can return to Claudin now.</p>
15
+ <p>Claudin will finish activating your new Codex OAuth login.</p>
16
+ </body>
17
+ </html>`}function Zu(t){return`<!doctype html>
18
+ <html lang="en">
19
+ <head>
20
+ <meta charset="utf-8" />
21
+ <title>Codex Login Failed</title>
22
+ <style>
23
+ body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
24
+ h1 { margin: 0 0 12px; font-size: 22px; color: #991b1b; }
25
+ p { margin: 0 0 10px; }
26
+ </style>
27
+ </head>
28
+ <body>
29
+ <h1>Codex login failed</h1>
30
+ <p>${vn(t)}</p>
31
+ <p>You can close this window and try again in Claudin.</p>
32
+ </body>
33
+ </html>`}function pn(){return`<!doctype html>
34
+ <html lang="en">
35
+ <head>
36
+ <meta charset="utf-8" />
37
+ <title>Codex Login Cancelled</title>
38
+ <style>
39
+ body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
40
+ h1 { margin: 0 0 12px; font-size: 22px; }
41
+ p { margin: 0 0 10px; }
42
+ </style>
43
+ </head>
44
+ <body>
45
+ <h1>Codex login cancelled</h1>
46
+ <p>You can close this window and retry in Claudin.</p>
47
+ </body>
48
+ </html>`}async function Ku(t){let c=`http://localhost:${t.port}/auth/callback`,a=new URLSearchParams({grant_type:"authorization_code",code:t.authorizationCode,redirect_uri:c,client_id:rn(),code_verifier:t.codeVerifier}),r=await fetch(`${hn}/oauth/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:a,signal:t.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000)});if(!r.ok){let w=await r.text().catch(()=>"");throw Error(w.trim()?`Codex OAuth token exchange failed (${r.status}): ${w.trim()}`:`Codex OAuth token exchange failed with status ${r.status}.`)}let m=await r.json(),e=Yt(m.access_token),A=Yt(m.refresh_token);if(!e||!A)throw Error("Codex OAuth completed, but the token response was missing credentials.");let O=Yt(m.id_token);return{apiKey:O?await tc(O).catch(()=>{return}):void 0,accessToken:e,refreshToken:A,idToken:O,accountId:an(O)??an(e)}}class ln{authCodeListener=null;port=null;tokenExchangeAbortController=null;buildCancellationError(){return Error("Codex OAuth flow was cancelled.")}async startOAuthFlow(t){let c=cc(),a=Dn(),r=new nc("/auth/callback");this.authCodeListener=r,this.port=null;try{let m=await r.start(a);this.port=m;let e=ac(),A=await uc(c),O=Yu({port:m,codeChallenge:A,state:e});try{let X=await r.waitForAuthorization(e,async()=>{await t(O)}),w=new AbortController;this.tokenExchangeAbortController=w;let z;try{z=await Ku({authorizationCode:X,codeVerifier:c,port:m,signal:w.signal})}finally{if(this.tokenExchangeAbortController===w)this.tokenExchangeAbortController=null}if(this.authCodeListener!==r)throw this.buildCancellationError();return r.handleSuccessRedirect([],(S)=>{S.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),S.end(Ju())}),z}catch(X){let w=this.authCodeListener===r?X:this.buildCancellationError();if(r.hasPendingResponse()){let z=w instanceof Error&&w.message==="Codex OAuth flow was cancelled.";r.handleErrorRedirect((S)=>{S.writeHead(z?200:400,{"Content-Type":"text/html; charset=utf-8"}),S.end(z?pn():Zu(w instanceof Error?w.message:String(w)))})}throw w}finally{this.cleanup()}}catch(m){let e=m instanceof Error?m.message:String(m);if(e.includes("EADDRINUSE")||e.includes(String(a)))throw Error(`Codex OAuth needs localhost:${a} for its callback. Close any app already using that port and try again.`);throw m}}cleanup(){let t=this.buildCancellationError();if(this.tokenExchangeAbortController?.abort(t),this.tokenExchangeAbortController=null,this.authCodeListener?.hasPendingResponse())this.authCodeListener.handleErrorRedirect((c)=>{c.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),c.end(pn())});this.authCodeListener?.cancelPendingAuthorization(t),this.authCodeListener=null,this.port=null}}var hc=j(()=>{Gu();Vu();Qu()});function Tu(){return new ln}function oc(t){let{onAuthenticated:c}=t,a=t.deps?.createOAuthService??Tu,r=t.deps?.openBrowser??lc,m=t.deps?.saveCodexCredentials??rc,e=t.deps?.isBareMode??ut,[A,O]=Jt.useState({state:"starting"});return Jt.useEffect(()=>{if(e()){O({state:"error",message:"Codex OAuth is unavailable in --bare because secure storage is disabled."});return}let X=!1,w=a();return w.startOAuthFlow(async(z)=>{if(X)return;O({state:"waiting",authUrl:z,browserOpened:null});let S=await r(z);if(X)return;O({state:"waiting",authUrl:z,browserOpened:S})}).then(async(z)=>{if(X)return;await c(z,(L)=>{let Z=m({apiKey:z.apiKey,accessToken:z.accessToken,refreshToken:z.refreshToken,idToken:z.idToken,accountId:z.accountId,profileId:L?.profileId});if(!Z.success)throw Error(Z.warning??"Codex OAuth succeeded, but credentials could not be saved securely.")})}).catch((z)=>{if(X)return;O({state:"error",message:z instanceof Error?z.message:String(z)})}),()=>{X=!0,w.cleanup()}},[a,e,c,r,m]),A}var Jt;var mc=j(()=>{hc();Hu();ic();on();Jt=Gt(Vt(),1)});function Ac(){return{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","User-Agent":yc()}}function dc(t,c){let a=Number(t);return Number.isFinite(a)&&a>0?a*1000:c}function Iu(t,c){if(c?.aborted)return Promise.resolve();return new Promise((a)=>{let r=setTimeout(()=>{c?.removeEventListener("abort",m),a()},t),m=()=>{clearTimeout(r),a()};c?.addEventListener("abort",m,{once:!0})})}async function pu(t){let c=t?.fetchImpl??fetch,a=t?.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000),r=await c(bc,{method:"POST",headers:Ac(),body:new URLSearchParams({client_id:mn(),scope:Oc}).toString(),signal:a});if(!r.ok){let X=await r.text().catch(()=>"");throw Error(`xAI device code request failed (${r.status})${X?`: ${X.trim()}`:""}`)}let m=await r.json(),e=D(m.device_code),A=D(m.user_code),O=D(m.verification_uri);if(!e||!A||!O)throw Error("xAI device code response is missing device_code / user_code / verification_uri.");return{device_code:e,user_code:A,verification_uri:O,verification_uri_complete:D(m.verification_uri_complete),expires_in:typeof m.expires_in==="number"&&m.expires_in>0?m.expires_in:gc/1000,interval:typeof m.interval==="number"&&m.interval>0?m.interval:sc/1000}}async function xu(t,c){let a=c?.fetchImpl??fetch,r=c?.sleep??Iu,m=c?.now??(()=>Date.now()),e=dc(t.expires_in,gc),A=m()+e,O=Math.max(dc(t.interval,sc),Eu);while(m()<A){if(c?.signal?.aborted)throw Error("xAI device authorization was cancelled.");let X=await a(Cc,{method:"POST",headers:Ac(),body:new URLSearchParams({grant_type:wc,client_id:mn(),device_code:t.device_code}).toString(),signal:c?.signal});if(X.ok){let L=await X.json(),Z=D(L.access_token),N=D(L.refresh_token);if(!Z||!N)throw Error("xAI OAuth completed, but the token response was missing credentials.");let C=typeof L.expires_in==="number"&&Number.isFinite(L.expires_in)&&L.expires_in>0?L.expires_in:3600;return{accessToken:Z,refreshToken:N,idToken:D(L.id_token),expiresAt:m()+C*1000}}let w=await X.json().catch(()=>({})),z=Math.max(0,A-m());if(w.error==="authorization_pending"){await r(Math.min(O+ec,z),c?.signal);continue}if(w.error==="slow_down"){O=Math.min(O+Pu,Bu),await r(Math.min(O+ec,z),c?.signal);continue}if(w.error==="access_denied"||w.error==="authorization_denied")throw Error("xAI device authorization was denied.");if(w.error==="expired_token")throw Error("xAI device code expired - please re-run login.");let S=w.error_description??w.error??"";throw Error(`xAI device token exchange failed (${X.status})${S?`: ${S}`:""}`)}throw Error("xAI device authorization timed out.")}class en{abortController=null;async startDeviceFlow(t){let c=new AbortController;this.abortController=c;try{let a=await pu({signal:c.signal});return await t(a),await xu(a,{signal:c.signal})}finally{if(this.abortController===c)this.abortController=null}}cleanup(){this.abortController?.abort(Error("xAI device authorization was cancelled.")),this.abortController=null}}var sc=5000,Eu=1000,Pu=5000,Bu=60000,gc=300000,ec=3000;var Rc=j(()=>{Wu();Uu()});function ju(){return new en}function Xc(t){let{onAuthenticated:c}=t,a=t.deps?.createOAuthService??ju,r=t.deps?.saveXaiCredentials??zc,m=t.deps?.isBareMode??ut,[e,A]=Zt.useState({state:"starting"});return Zt.useEffect(()=>{if(m()){A({state:"error",message:"xAI OAuth is unavailable in --bare because secure storage is disabled."});return}let O=!1,X=a();return X.startDeviceFlow(async(w)=>{if(O)return;A({state:"waiting",userCode:w.user_code,verificationUri:w.verification_uri,verificationUriComplete:w.verification_uri_complete})}).then(async(w)=>{if(O)return;await c(w,(S)=>{let L=r({accessToken:w.accessToken,refreshToken:w.refreshToken,idToken:w.idToken,expiresAt:w.expiresAt,profileId:S?.profileId});if(!L.success)throw Error(L.warning??"xAI OAuth succeeded, but credentials could not be saved securely.")})}).catch((w)=>{if(O)return;A({state:"error",message:w instanceof Error?w.message:String(w)})}),()=>{O=!0,X.cleanup()}},[a,m,c,r]),e}var Zt;var kc=j(()=>{Rc();on();fc();Zt=Gt(Vt(),1)});function sa(t){return{name:t.name,baseUrl:t.baseUrl,model:t.model,apiKey:t.apiKey??""}}function ga(t){let c=Tt(t);return{name:c.name,baseUrl:c.baseUrl,model:c.model,apiKey:c.apiKey??""}}function Aa(t){let c={};for(let a of t.split(/\r?\n/)){let r=a.trim();if(!r)continue;let m=r.indexOf(":");if(m<=0)continue;let e=r.slice(0,m).trim(),A=r.slice(m+1).trim();if(e&&A)c[e]=A}return c}function Ra(t){if(!t)return"";return Object.entries(t).map(([c,a])=>`${c}: ${a}`).join(`
49
+ `)}function za(t,c){let a={},r=t.awsRegion?.trim();if(r)a.awsRegion=r;let m=t.gcpProject?.trim();if(m)a.gcpProject=m;let e=t.gcpRegion?.trim();if(e)a.gcpRegion=e;let A=t.azureResource?.trim();if(A)a.azureResource=A;let O=Aa(c);if(Object.keys(O).length>0)a.customHeaders=O;return Object.keys(a).length>0?a:void 0}function Xa(t,c){let a=c?" (active)":"",r=t.apiKey?"key set":"no key",m=t.provider==="anthropic"?"anthropic":"openai-compatible",e=qc(t.model),A=e.length<=3?e.join(", "):`${e[0]}, ${e[1]} + ${e.length-2} more`;return`${m} · ${t.baseUrl} · ${A} · ${r}${a}`}function ka(t,c){if(t.state==="unreachable")return`Could not reach Atomic Chat at ${un(c)}. Start the Atomic Chat app first, or enter the endpoint manually.`;if(t.state==="no_models")return"Atomic Chat is running, but no models are loaded. Download and load a model inside the Atomic Chat app first, or enter details manually.";return""}function _a(t,c){if(t.state==="unreachable")return`Could not reach Ollama at ${un(c)}. Start Ollama first, or enter the endpoint manually.`;if(t.state==="no_models")return"Ollama is running, but no installed models were found. Pull a chat model such as qwen2.5-coder:7b or llama3.1:8b first, or enter details manually.";if(t.state==="generation_failed"){let a=t.probeModel??"the selected model",r=t.detail?` Details: ${t.detail}.`:"";return`Ollama is reachable and models are installed, but a generation probe failed for ${a}.${r} Run "ollama run ${a}" once and retry, or enter details manually.`}return""}function yn(t,c){if(!c)return;return t.find((a)=>a.id===c)}function _c(t,c){return Boolean(t&&c&&t.id===c)}function qa({onBack:t,onConfigured:c}){let a=b.useCallback(async(m,e)=>{await c(m,e)},[c]);v("confirm:no",t,[t]);let r=oc({onAuthenticated:a});if(r.state==="error")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"error",bold:!0,children:"Codex OAuth failed"}),u(i,{children:r.message}),u(i,{dimColor:!0,children:"Press Enter or Esc to go back."}),u(V,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Codex OAuth"}),u(i,{children:"Sign in with your ChatGPT account in the browser. Claudin will store the resulting Codex credentials securely and switch this session to the new Codex login when setup completes."}),r.state==="starting"?u(i,{dimColor:!0,children:"Starting local callback and preparing your browser..."}):r.browserOpened===!1?y(dt,{children:[u(i,{color:"warning",children:"Browser did not open automatically. Visit this URL to continue:"}),u(i,{children:r.authUrl})]}):r.browserOpened===!0?y(dt,{children:[u(i,{dimColor:!0,children:"Browser opened. Finish the ChatGPT sign-in there and this setup will complete automatically."}),u(i,{children:r.authUrl})]}):u(i,{dimColor:!0,children:"Opening your browser..."}),u(i,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function Sa({onBack:t,onConfigured:c}){let a=b.useCallback(async(m,e)=>{await c(m,e)},[c]);v("confirm:no",t,[t]);let r=Xc({onAuthenticated:a});if(r.state==="error")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"error",bold:!0,children:"xAI OAuth failed"}),u(i,{children:r.message}),u(i,{dimColor:!0,children:"Press Enter or Esc to go back."}),u(V,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"xAI / Grok OAuth"}),r.state==="starting"?u(i,{dimColor:!0,children:"Requesting a device code from xAI..."}):y(dt,{children:[y(i,{children:["Open this URL on any device:"," ",u(i,{bold:!0,children:r.verificationUri})]}),y(i,{children:["Enter code ",u(i,{bold:!0,children:r.userCode})]}),r.verificationUriComplete&&r.verificationUriComplete!==r.verificationUri?y(i,{dimColor:!0,children:["Or open this prefilled URL: ",r.verificationUriComplete]}):null,u(i,{dimColor:!0,children:"Waiting for you to authorize in the browser..."})]}),u(i,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function Sh({mode:t,onDone:c}){let a=Qc(),[r,m]=b.useState([]),[e,A]=b.useState(),[O,X]=b.useState(),[w,z]=b.useState(!1),[S,L]=b.useState(),Z=b.useRef(0),[N,C]=b.useState(t==="first-run"?"select-preset":"menu"),[ht,Y]=b.useState(null),[q,tt]=b.useState("openai"),[f,T]=b.useState(()=>ga("ollama")),[Wt,kt]=b.useState({}),[Rn,Ut]=b.useState(""),[Hc,Tc]=b.useState(0),[Wc,Uc]=b.useState(0),[Et,zn]=b.useState(null),[rt,Ot]=b.useState(0),[it,P]=b.useState(0),[Ec,B]=b.useState(0),[fn,M]=b.useState(),[lt,R]=b.useState(),[Pc,Bc]=b.useState(),[Xn,_t]=b.useState(!1),[st,gt]=b.useState(),[I,qt]=b.useState({state:"idle"}),[p,St]=b.useState({state:"idle"}),[x,Pt]=b.useState({state:"idle"}),[Ic,pc]=b.useState(!0),[xc,H]=b.useState(!1),Bt=b.useRef(!1),[It,pt]=b.useState(()=>Xt()),[kn,jc]=b.useState(()=>Zc());b.useEffect(()=>{queueMicrotask(()=>{let n=nt(),h=W()?.id;m(n),A(h),X(Kt()),L(Cn()),z(ft()),pc(!1)})},[]);let ot=at[it]??at[0],Ft=ot.key,Dc=f[Ft],xt=r.length>0,$t=xt,_n=b.useMemo(()=>[{value:"add",label:"Add provider",description:"Create a new provider profile"},...It?[{value:"import-legacy",label:"Import from Claude Code",description:"Copy ~/.claude/ tokens, settings, skills, agents, plugins."}]:[],{value:"activate",label:"Set active provider (Global)",description:S?`Currently: ${r.find((n)=>n.id===S)?.name??"unknown"}`:"Default profile for projects without an override",disabled:!$t},{value:"activate-project",label:"Set active provider (Project)",description:O?`Currently: ${r.find((n)=>n.id===O)?.name??"unknown"} (this project)`:"Override the global default for this project only",disabled:!$t},...w?[{value:"clear-project-override",label:"Clear project provider override",description:O?"Stop overriding for this project; fall back to global":"Project override points to a missing profile; clear it"}]:[],{value:"edit",label:"Edit provider",description:"Update URL, model, or key",disabled:!xt},{value:"delete",label:"Delete provider",description:"Remove a provider profile",disabled:!$t},...Xn?[{value:"logout-codex-oauth",label:"Log out Codex OAuth",description:"Clear securely stored Codex OAuth credentials"}]:[],{value:"done",label:"Done",description:"Return to chat"}],[$t,xt,Xn,It,S,O,r]),jt=b.useCallback(()=>{if(ut()){Z.current+=1,_t(!1),gt(void 0);return}let n=++Z.current;(async()=>{let h=await On();if(n!==Z.current)return;_t(Boolean(h?.apiKey||h?.accessToken||h?.refreshToken||h?.idToken)),gt(h?.profileId)})()},[]);b.useEffect(()=>{return jt(),()=>{Z.current+=1}},[jt]),b.useEffect(()=>{if(N!=="select-ollama-model")return;let n=!1;return qt({state:"loading"}),(async()=>{let h=await Jc({baseUrl:f.baseUrl});if(h.state!=="ready"){if(!n)qt({state:"unavailable",message:_a(h,f.baseUrl)});return}let o=cn(h.models,"balanced"),l=Pn(h.models,"balanced");if(!n)qt({state:"ready",defaultValue:l?.name??o[0]?.name,options:o.map((d)=>({label:d.name,value:d.name,description:d.summary}))})})(),()=>{n=!0}},[f.baseUrl,N]),b.useEffect(()=>{if(N!=="select-atomic-chat-model")return;let n=!1;return St({state:"loading"}),(async()=>{let h=await Yc({baseUrl:f.baseUrl});if(h.state!=="ready"){if(!n)St({state:"unavailable",message:ka(h,f.baseUrl)});return}if(!n)St({state:"ready",defaultValue:h.models[0],options:h.models.map((o)=>({label:o,value:o}))})})(),()=>{n=!0}},[f.baseUrl,N]),b.useEffect(()=>{if(N!=="select-openai-model")return;let n=!1;return Pt({state:"loading"}),(async()=>{let h=await Gc({baseUrl:f.baseUrl,apiKey:f.apiKey||void 0});if(n)return;if(!h||h.length===0){Pt({state:"unavailable",message:"Couldn't list models from this provider. Enter the model id manually, or go back to check the base URL and API key."});return}let{options:o,defaultValue:l}=Vc(h,f.model);Pt({state:"ready",options:o,defaultValue:l})})(),()=>{n=!0}},[f.baseUrl,f.apiKey,N]);function Q(){if(Bt.current)return;Bt.current=!0,queueMicrotask(()=>{let n=nt();m(n),A(W()?.id),X(Kt()),L(Cn()),z(ft()),jt(),Bt.current=!1})}function mt(){return null}function Dt(n){if(n.activationWarning)return`${n.prefix}. Saved for next startup. Warning: ${n.warnings.join("; ")}.`;if(n.warnings.length>0)return`${n.prefix}. Claudin switched to it for this session with warnings: ${n.warnings.join("; ")}.`;return`${n.prefix}. Claudin switched to it for this session.`}async function vt(n){if(n?.accessToken&&n.accountId)return null;let h=await On();if(!h)return"stored Codex OAuth credentials could not be loaded";if(!h.accountId)return"stored Codex OAuth credentials are missing a ChatGPT account id";return null}function qn(){Mc()}async function vc(n){let h="provider";H(!0),M("Activating provider...");try{await new Promise((U)=>queueMicrotask(U));let o=ft(),l=Rt(n);if(!l){R("Could not change active provider."),H(!1),k();return}let d=o?W()??l:l,s=bt(d.model);if(!o)a((U)=>({...U,mainLoopModel:s,mainLoopModelForSession:null}));h=l.name;let _=mt(),J=_c(l,st),$=J?await vt():null;Q();let K=o&&d.id!==l.id?` (project override still active — this project keeps using ${d.name}; use "Clear project provider override" to apply the new default here)`:"",F=J?Dt({prefix:`Active provider: ${l.name}${K}`,activationWarning:$,warnings:[$,_?`could not clear startup provider override (${_})`:null].filter((U)=>Boolean(U))}):_?`Active provider: ${l.name}${K}. Warning: could not clear startup provider override (${_}).`:`Active provider: ${l.name}${K}`;M(F),H(!1),c({action:"activated",activeProfileId:l.id,activeProviderName:l.name,activeProviderModel:s,message:`Provider switched to ${l.name} (${s})`}),k()}catch(o){Q(),M(void 0),H(!1);let l=o instanceof Error?o.message:String(o);R(`Could not finish activating ${h}: ${l}`),k()}}async function tu(){H(!0),M("Clearing project provider override...");try{await new Promise((h)=>queueMicrotask(h)),bn(null),Q();let n=W();if(n){let h=bt(n.model);wt(),a((o)=>({...o,mainLoopModel:h,mainLoopModelForSession:null})),M(`Project override cleared. Using global default: ${n.name}.`),H(!1),c({action:"activated",activeProfileId:n.id,activeProviderName:n.name,activeProviderModel:h,message:`Project override cleared — using ${n.name} (${h})`}),k()}else M("Project provider override cleared. No global default set."),H(!1),c({action:"saved",message:"Project provider override cleared. No global default set."}),k()}catch(n){Q(),M(void 0),H(!1);let h=n instanceof Error?n.message:String(n);R(`Could not clear project provider override: ${h}`),k()}}async function nu(n){let h="provider";H(!0),M("Setting provider for this project...");try{await new Promise((F)=>queueMicrotask(F));let o=Kt(),l=bn(n);if(!l){R("Could not set project provider override."),H(!1),k();return}let d=bt(l.model);if(o===l.id)wt();a((F)=>({...F,mainLoopModel:d,mainLoopModelForSession:null})),h=l.name;let s=mt(),_=_c(l,st),J=_?await vt():null;Q();let $=`Active provider for this project: ${l.name}. Other projects keep the global default.`,K=_?Dt({prefix:$,activationWarning:J,warnings:[J,s?`could not clear startup provider override (${s})`:null].filter((F)=>Boolean(F))}):s?`${$} Warning: could not clear startup provider override (${s}).`:$;M(K),H(!1),c({action:"activated",activeProfileId:l.id,activeProviderName:l.name,activeProviderModel:d,message:`Provider switched to ${l.name} (${d}) for this project`}),k()}catch(o){Q(),M(void 0),H(!1);let l=o instanceof Error?o.message:String(o);R(`Could not finish setting ${h} for this project: ${l}`),k()}}function k(){Bc("done"),C("menu")}function Lt(n){c({action:"cancelled",message:n})}function cu(n){let h=Tt(n),o={name:h.name,baseUrl:h.baseUrl,model:h.model,apiKey:h.apiKey??""};if(Y(null),tt(h.provider??"openai"),T(o),kt({}),Ut(""),zn(n),P(0),Ot(0),B(o.name.length),R(void 0),n==="ollama"){qt({state:"loading"}),C("select-ollama-model");return}if(n==="atomic-chat"){St({state:"loading"}),C("select-atomic-chat-model");return}if(n==="anthropic"){C("anthropic-auth-choice");return}if(n==="bedrock"||n==="vertex"||n==="foundry"){C("cloud-extras");return}C("form")}function uu(n){let h=r.find((l)=>l.id===n);if(!h)return;let o=sa(h);Y(n),tt(h.provider??"openai"),T(o),kt({awsRegion:h.extras?.awsRegion,gcpProject:h.extras?.gcpProject,gcpRegion:h.extras?.gcpRegion,azureResource:h.extras?.azureResource}),Ut(Ra(h.extras?.customHeaders)),zn(null),P(0),Ot(0),B(o.name.length),R(void 0),C("form")}function Nt(n=f){let h=za(Wt,Rn),o={provider:q,name:n.name,baseUrl:n.baseUrl,model:n.model,apiKey:n.apiKey,extras:h},l=ht?At(ht,o):ct(o,{makeActive:!0});if(!l){R("Could not save provider. Fill all required fields.");return}let d=W()?.id===l.id;if(d)wt(),a((K)=>({...K,mainLoopModel:bt(l.model),mainLoopModelForSession:null}));let s=d?mt():null;Q();let _=!ht&&ft()&&!d,J=_?W()?.name??"override target":null,$=ht?`Updated provider: ${l.name}`:_?`Added provider: ${l.name} (now global default — project keeps using ${J}; use "Clear project provider override" to apply here)`:`Added provider: ${l.name} (now active)`;if(M(s?`${$}. Warning: could not clear startup provider override (${s}).`:$),t==="first-run"){c({action:"saved",activeProfileId:l.id,message:`Provider configured: ${l.name}`});return}Y(null),P(0),R(void 0),k()}function au(){if(p.state==="loading"||p.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Checking Atomic Chat"}),u(i,{dimColor:!0,children:"Looking for loaded Atomic Chat models..."})]});if(p.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Atomic Chat setup"}),u(i,{dimColor:!0,children:p.message}),u(V,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(n)=>{if(n==="manual"){P(0),B(f.name.length),C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:2})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose an Atomic Chat model"}),u(i,{dimColor:!0,children:"Pick one of the models loaded in Atomic Chat to save into a local provider profile."}),u(V,{options:p.options,defaultValue:p.defaultValue,defaultFocusValue:p.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,p.options.length),onChange:(n)=>{let h={...f,model:n};T(h),Nt(h)},onCancel:()=>C("select-preset")})]})}function hu(){if(I.state==="loading"||I.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Checking Ollama"}),u(i,{dimColor:!0,children:"Looking for installed Ollama models..."})]});if(I.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Ollama setup"}),u(i,{dimColor:!0,children:I.message}),u(V,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(n)=>{if(n==="manual"){P(0),B(f.name.length),C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:2})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose an Ollama model"}),u(i,{dimColor:!0,children:"Pick one of the installed Ollama models to save into a local provider profile."}),u(V,{options:I.options,defaultValue:I.defaultValue,defaultFocusValue:I.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,I.options.length),onChange:(n)=>{let h={...f,model:n};T(h),Nt(h)},onCancel:()=>C("select-preset")})]})}function et(n){let h=at.findIndex((o)=>o.key===n);P(h<0?0:h),B(f[n].length),R(void 0),C("form")}function ru(){if(x.state==="loading"||x.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Fetching models"}),u(i,{dimColor:!0,children:"Looking for models on your OpenAI-compatible provider…"}),u(i,{dimColor:!0,children:"Press Esc to enter the model manually."})]});if(x.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose a model"}),u(i,{dimColor:!0,children:x.message}),u(V,{options:[{value:"manual",label:"Enter manually",description:"Type the model id yourself"},{value:"back",label:"Back",description:"Return to the API key step"}],onChange:(o)=>{if(o==="manual"){et("model");return}et("apiKey")},onCancel:()=>et("apiKey"),visibleOptionCount:2})]});let n=[...x.options,{value:dn,label:"Enter a model id manually",description:"Type an id the provider did not list"}],h=x.defaultValue??dn;return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose a model"}),u(i,{dimColor:!0,children:"Models from your OpenAI-compatible provider."}),u(V,{options:n,defaultValue:h,defaultFocusValue:h,inlineDescriptions:!0,visibleOptionCount:Math.min(8,n.length),onChange:(o)=>{if(o===dn){et("model");return}let l={...f,model:o};T(l),Sn(l)},onCancel:()=>et("apiKey")}),u(i,{dimColor:!0,children:"Enter to select · Esc to go back"})]})}function Sn(n){if(Et==="anthropic"||Et==="custom"){T(n),C("custom-headers");return}Nt(n)}function iu(n){let h=n.trim();if(!ot.optional&&h.length===0){R(`${ot.label} is required.`);return}let o={...f,[Ft]:h};if(T(o),R(void 0),it<at.length-1){let l=it+1,d=at[l]?.key??"name";if(d==="model"&&!ya.has(q)&&o.baseUrl.trim().length>0){C("select-openai-model");return}P(l),B(o[d].length);return}Sn(o)}function lu(){if(R(void 0),it>0){let n=it-1,h=at[n]?.key??"name";P(n),B(f[h].length);return}if(t==="first-run"){C("select-preset");return}k()}v("confirm:no",lu,{context:"Settings",isActive:N==="form"}),v("confirm:no",()=>et("model"),{context:"Settings",isActive:N==="select-openai-model"&&(x.state==="loading"||x.state==="idle")});function ou(){if(R(void 0),rt>0){Ot(rt-1);return}C("select-preset")}v("confirm:no",ou,{context:"Settings",isActive:N==="cloud-extras"}),v("confirm:no",()=>C("form"),{context:"Settings",isActive:N==="custom-headers"}),v("confirm:no",()=>C("select-preset"),{context:"Settings",isActive:N==="anthropic-auth-choice"||N==="anthropic-oauth"});function mu(){let n=!ut(),h=[...It?[{value:"import-legacy",label:"Import from Claude Code",description:"Reuse ~/.claude/ tokens, settings, theme, MCP, skills, agents, plugins."}]:[],{value:"dashscope-intl",label:"Alibaba Coding Plan",description:"Alibaba DashScope International endpoint"},{value:"dashscope-cn",label:"Alibaba Coding Plan (China)",description:"Alibaba DashScope China endpoint"},{value:"anthropic",label:"Anthropic",description:"Native Claude API (x-api-key auth)"},{value:"atomic-chat",label:"Atomic Chat",description:"Local Model Provider"},{value:"azure-openai",label:"Azure OpenAI",description:"Azure OpenAI endpoint (model=deployment name)"},{value:"foundry",label:"Azure AI Foundry",description:"Anthropic models hosted on Azure AI Foundry (resource-scoped)"},{value:"bedrock",label:"AWS Bedrock",description:"Anthropic models on AWS Bedrock (region-scoped, AWS creds)"},{value:"bankr",label:"Bankr",description:"Bankr LLM Gateway (OpenAI-compatible)"},{value:"cloudflare-workers-ai",label:"Cloudflare Workers AI",description:"Cloudflare Workers AI (OpenAI-compatible); set your account ID in the base URL"},{value:"cloudflare-ai-gateway",label:"Cloudflare AI Gateway",description:"Cloudflare AI Gateway unified endpoint; set your account ID in the base URL"},...n?[{value:"codex-oauth",label:"Codex OAuth",description:"Sign in with ChatGPT in your browser and store Codex credentials securely"},{value:"xai-oauth",label:"xAI / Grok (OAuth)",description:"Sign in with xAI in your browser and store Grok credentials securely"}]:[],{value:"github-onboard",label:"GitHub Copilot",description:"Sign in with GitHub in your browser to use Copilot models"},{value:"deepseek",label:"DeepSeek",description:"DeepSeek OpenAI-compatible endpoint"},{value:"gemini",label:"Google Gemini",description:"Gemini OpenAI-compatible endpoint"},{value:"vertex",label:"Google Vertex AI",description:"Anthropic models on Vertex AI (project + region, ADC)"},{value:"groq",label:"Groq",description:"Groq OpenAI-compatible endpoint"},{value:"lmstudio",label:"LM Studio",description:"Local LM Studio endpoint"},{value:"minimax",label:"MiniMax",description:"MiniMax API endpoint"},{value:"mistral",label:"Mistral",description:"Mistral OpenAI-compatible endpoint"},{value:"moonshotai",label:"Moonshot AI - API",description:"Moonshot AI - API endpoint"},{value:"kimi-code",label:"Moonshot AI - Kimi Code",description:"Moonshot AI - Kimi Code Subscription endpoint"},{value:"nvidia-nim",label:"NVIDIA NIM",description:"NVIDIA NIM endpoint"},{value:"opencode-go",label:"OpenCode GO",description:"OpenCode GO OpenAI-compatible endpoint"},{value:"opencode-zen",label:"OpenCode Zen",description:"OpenCode Zen OpenAI-compatible endpoint"},{value:"ollama",label:"Ollama",description:"Local or remote Ollama endpoint"},{value:"openai",label:"OpenAI",description:"OpenAI API with API key"},{value:"openrouter",label:"OpenRouter",description:"OpenRouter OpenAI-compatible endpoint"},{value:"together",label:"Together AI",description:"Together chat/completions endpoint"},{value:"zai",label:"Z.AI (GLM Coding Plan)",description:"Z.AI GLM Coding Plan (OpenAI-compatible)"},{value:"custom",label:"Custom",description:"Any OpenAI-compatible provider"},...t==="first-run"?[{value:"skip",label:"Skip for now",description:"Continue with current defaults"}]:[]];return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:t==="first-run"?"Set up provider":"Choose provider preset"}),u(i,{dimColor:!0,children:"Pick a preset, then confirm base URL, model, and API key."}),u(V,{options:h,onChange:(o)=>{if(o==="skip"){Lt("Provider setup skipped");return}if(o==="codex-oauth"){C("codex-oauth");return}if(o==="xai-oauth"){C("xai-oauth");return}if(o==="github-onboard"){C("github-onboard");return}if(o==="import-legacy"){(async()=>{let l=await An({force:!0});pt(Xt()),Q();let d=Ht(l);if(l.errors.length>0){R(d);return}let s=W();if(t==="first-run"&&s){c({action:"saved",activeProfileId:s.id,activeProviderName:s.name,activeProviderModel:s.model,message:d});return}if(M(d),R(void 0),t==="manage")k()})();return}cu(o)},onCancel:()=>{if(t==="first-run"){Lt("Provider setup skipped");return}k()},visibleOptionCount:Math.min(13,h.length)})]})}function eu(){return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Anthropic — choose authentication"}),u(i,{dimColor:!0,children:"Sign in with your Anthropic account in the browser, or paste an API key."}),u(V,{options:[{value:"oauth",label:"Sign in with web (OAuth)",description:"Open a browser, sign in to Claude, and store tokens in ~/.claudin/.credentials.json"},{value:"apiKey",label:"Use API key",description:"Paste an x-api-key value (sk-ant-…)"},{value:"back",label:"Back",description:"Choose a different provider"}],onChange:(n)=>{if(n==="oauth"){C("anthropic-oauth");return}if(n==="apiKey"){C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:3})]})}function du(){let n=(oa(),Du(la)).ConsoleOAuthFlow;return u(g,{flexDirection:"column",gap:1,children:u(n,{mode:"login",onDone:()=>{let h=Tt("anthropic"),o={provider:"anthropic",name:h.name,baseUrl:h.baseUrl,model:h.model},l=ct(o,{makeActive:!0});if(!l){R("OAuth completed, but the Anthropic profile could not be saved."),C("select-preset");return}let d=`Anthropic OAuth configured: ${l.name}`;if(Q(),t==="first-run"){c({action:"saved",activeProfileId:l.id,message:d});return}M(d),R(void 0),k()}})})}function yu(){let n=Et;if(n!=="bedrock"&&n!=="vertex"&&n!=="foundry")return null;let h=fa[n],o=h[rt]??h[0],l=Wt[o.key]??"";function d(s){let _=s.trim();if(_.length===0){R(`${o.label} is required.`);return}let J={...Wt,[o.key]:_};if(kt(J),R(void 0),rt<h.length-1){Ot(rt+1);return}Ot(0),C("form")}return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:`${n==="bedrock"?"AWS Bedrock":n==="vertex"?"Google Vertex AI":"Azure AI Foundry"} setup`}),u(i,{dimColor:!0,children:o.helpText}),y(i,{dimColor:!0,children:["Step ",rt+1," of ",h.length,": ",o.label]}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:Ct.pointer}),u(yt,{value:l,onChange:(s)=>kt((_)=>({..._,[o.key]:s})),onSubmit:d,focus:!0,showCursor:!0,placeholder:`${o.placeholder}${Ct.ellipsis}`,columns:80,cursorOffset:Hc,onChangeCursorOffset:Tc})]}),lt&&u(i,{color:"error",children:lt}),u(i,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function Cu(){return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Custom headers (optional)"}),y(i,{dimColor:!0,children:["Add HTTP headers sent on every request. One header per line as"," ",u(i,{children:"Header: Value"}),". Leave empty to skip."]}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:Ct.pointer}),u(yt,{value:Rn,onChange:Ut,onSubmit:()=>Nt(f),focus:!0,showCursor:!0,placeholder:"X-Header: value",columns:80,multiline:!0,cursorOffset:Wc,onChangeCursorOffset:Uc})]}),lt&&u(i,{color:"error",children:lt}),u(i,{dimColor:!0,children:"Press Enter on a blank line to save. Press Esc to go back."})]})}function bu(){return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:ht?"Edit provider profile":"Create provider profile"}),u(i,{dimColor:!0,children:ot.helpText}),y(i,{dimColor:!0,children:["Provider type:"," ",q==="anthropic"?"Anthropic native API":"OpenAI-compatible API"]}),y(i,{dimColor:!0,children:["Step ",it+1," of ",at.length,": ",ot.label]}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:Ct.pointer}),u(yt,{value:Dc,onChange:(n)=>T((h)=>({...h,[Ft]:n})),onSubmit:iu,focus:!0,showCursor:!0,placeholder:`${ot.placeholder}${Ct.ellipsis}`,mask:Ft==="apiKey"?"*":void 0,columns:80,cursorOffset:Ec,onChangeCursorOffset:B})]}),lt&&u(i,{color:"error",children:lt}),u(i,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function wu(){let n=r.length>0,h=n;return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Provider manager"}),u(i,{dimColor:!0,children:"Active profile controls base URL, model, and API key used by this session."}),fn&&u(i,{children:fn}),u(g,{flexDirection:"column",children:r.length===0?u(i,{dimColor:!0,children:"No provider profiles configured yet."}):r.map((o)=>y(i,{dimColor:!0,children:["- ",o.name,": ",Xa(o,o.id===e)]},o.id))}),u(V,{options:_n,onChange:(o)=>{switch(R(void 0),o){case"add":C("select-preset");break;case"import-legacy":{(async()=>{let l=await An({force:!0});if(pt(Xt()),Q(),l.errors.length>0)R(Ht(l));else M(Ht(l))})();break}case"activate":if(h)C("select-active");break;case"activate-project":if(h)C("select-active-project");break;case"clear-project-override":tu();break;case"edit":if(n)C("select-edit");break;case"delete":if(h)C("select-delete");break;case"logout-codex-oauth":{let l=sn();if(!l.success){R(l.warning??"Could not clear Codex OAuth credentials.");break}_t(!1),gt(void 0);let d=yn(nt(),st),s=null;if(d){let _=wn(d.id);if(!_.removed){R("Codex OAuth credentials were cleared, but the Codex profile could not be removed."),Q();break}qn(),s=_.activeProfileId?mt():null}Q(),M(s?`Codex OAuth logged out. Warning: could not clear startup provider override (${s}).`:"Codex OAuth logged out.");break}default:Lt("Provider manager closed");break}},onCancel:()=>Lt("Provider manager closed"),defaultFocusValue:Pc,visibleOptionCount:_n.length})]})}function Mt(n,h,o){let l=r.map((d)=>{let s=[];if(d.id===e)s.push("active");if(O&&d.id===O)s.push("this project");if(S&&d.id===S)s.push("global default");let _=s.length>0?` (${s.join(", ")})`:"";return{value:d.id,label:`${d.name}${_}`,description:`${d.provider==="anthropic"?"anthropic":"openai-compatible"} · ${d.baseUrl} · ${d.model}`}});if(l.length===0)return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:n}),u(i,{dimColor:!0,children:h}),u(V,{options:[{value:"back",label:"Back",description:"Return to provider manager"}],onChange:()=>k(),onCancel:()=>k(),visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:n}),u(V,{options:l,onChange:o,onCancel:()=>k(),visibleOptionCount:Math.min(10,Math.max(2,l.length))})]})}let G;switch(N){case"select-preset":G=mu();break;case"select-ollama-model":G=hu();break;case"select-openai-model":G=ru();break;case"select-atomic-chat-model":G=au();break;case"codex-oauth":G=u(qa,{onBack:()=>C("select-preset"),onConfigured:async(n,h)=>{let o={provider:"openai",name:Ca,baseUrl:Sc,model:ba,apiKey:""},l=yn(nt(),st),d=l?At(l.id,o):ct(o,{makeActive:!0});if(!d){R("Codex OAuth login finished, but the provider profile could not be saved."),k();return}let s=l&&e!==d.id?Rt(d.id):d;if(!s){R("Codex OAuth login finished, but the provider could not be set as the startup provider."),k();return}h({profileId:d.id});let _=mt(),J=await vt(n);_t(!0),gt(d.id),Q();let $=[J,_?`could not clear startup provider override (${_})`:null].filter((F)=>Boolean(F)),K=Dt({prefix:"Codex OAuth configured",activationWarning:J,warnings:$});if(t==="first-run"){c({action:"saved",activeProfileId:s.id,message:K});return}M(K),R(void 0),k()}});break;case"xai-oauth":G=u(Sa,{onBack:()=>C("select-preset"),onConfigured:async(n,h)=>{let l=ct({provider:"openai",name:wa,baseUrl:gn,model:Oa,apiKey:""},{makeActive:!0});if(!l){R("xAI OAuth login finished, but the provider profile could not be saved."),k();return}try{h({profileId:l.id})}catch(s){R(s instanceof Error?s.message:String(s)),k();return}Q();let d="xAI / Grok configured. Claudin switched to it for this session.";if(t==="first-run"){c({action:"saved",activeProfileId:l.id,message:d});return}M(d),R(void 0),k()}});break;case"github-onboard":G=u(Tn,{onDone:(n)=>{if(n)M(n),R(void 0);Q(),k()},onBack:()=>C("select-preset"),onChangeAPIKey:Q});break;case"anthropic-auth-choice":G=eu();break;case"anthropic-oauth":G=du();break;case"cloud-extras":G=yu();break;case"custom-headers":G=Cu();break;case"form":G=bu();break;case"select-active":G=Mt("Set active provider (Global)","No providers available. Add one first.",(n)=>{vc(n)});break;case"select-active-project":G=Mt("Set active provider (Project)","No providers available. Add one first.",(n)=>{nu(n)});break;case"select-edit":G=Mt("Edit provider","No providers available. Add one first.",(n)=>{uu(n)});break;case"select-delete":G=Mt("Delete provider","No providers available. Add one first.",(n)=>{let h=r.find(($)=>$.id===n),o=h?.provider==="openai"&&h?.extras?.githubToken!==void 0,l=yn(r,st)?.id===n,d=Lc()?.profileId,s=h?.provider==="openai"&&h.baseUrl===gn&&!h.apiKey&&d===n,_=W()?.id===n,J=wn(n);if(!J.removed)R("Could not delete provider.");else{let $=[];if(l){let F=sn();if(!F.success)$.push(F.warning??"could not clear Codex OAuth credentials");else gt(void 0);qn()}if(o){let F=$c();if(!F.success)$.push(F.warning??"could not clear GitHub Copilot token")}if(s){let F=Nc();if(!F.success)$.push(F.warning??"could not clear xAI OAuth credentials")}let K=J.activeProfileId?mt():null;if(K)$.push(`could not clear startup provider override (${K})`);if(Q(),_){let F=W();if(F)wt(),a((U)=>({...U,mainLoopModel:bt(F.model),mainLoopModelForSession:null}));else wt(),a((U)=>({...U,mainLoopModel:null,mainLoopModelForSession:null}))}M($.length>0?`Provider deleted. Warning: ${$.join("; ")}.`:"Provider deleted")}k()});break;case"menu":default:G=wu();break}return y(Fc,{color:"permission",children:[u(Kc,{enabled:kn,onDismiss:(n)=>{pt(Xt()),jc(!1),Q();let h=W();if(n==="migrated"&&t==="first-run"&&h)c({action:"saved",activeProfileId:h.id,activeProviderName:h.name,activeProviderModel:h.model})}}),kn?null:Ic?y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Loading providers..."}),u(i,{dimColor:!0,children:"Reading provider profiles from disk."})]}):xc?y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Activating provider..."}),u(i,{dimColor:!0,children:"Please wait while the provider is being configured."})]}):G]})}var b,at,dn="\x00__manual__",ya,Ca="Codex OAuth",ba="codexplan",wa="xAI / Grok (OAuth)",Oa="grok-4",fa;var Fa=j(()=>{vu();Wn();na();Ln();ca();ha();ma();ic();on();ta();aa();Fn();Zn();ra();Bn();In();ia();ua();da();Kn();mc();kc();fc();ea();Qt();b=Gt(Vt(),1),at=[{key:"name",label:"Provider name",placeholder:"e.g. Ollama Home, OpenAI Work",helpText:"A short label shown in /provider and startup setup."},{key:"baseUrl",label:"Base URL",placeholder:"e.g. http://localhost:11434/v1",helpText:"API base URL used for this provider profile."},{key:"apiKey",label:"API key",placeholder:"Leave empty if your provider does not require one",helpText:"Optional. Press Enter with empty value to skip.",optional:!0},{key:"model",label:"Default model",placeholder:"e.g. llama3.1:8b or glm-4.7; glm-4.7-flash",helpText:'Model name(s) to use. Separate multiple with ";" or ","; first is default.'}],ya=new Set(["anthropic","bedrock","vertex","foundry"]);fa={bedrock:[{key:"awsRegion",label:"AWS region",placeholder:"e.g. us-east-1",helpText:"Region of your Bedrock-enabled AWS account. Credentials are picked up from the AWS SDK chain."}],vertex:[{key:"gcpProject",label:"GCP project ID",placeholder:"e.g. my-project-123456",helpText:"Google Cloud project where Vertex AI is enabled. Credentials are picked up from ADC."},{key:"gcpRegion",label:"GCP region",placeholder:"e.g. us-central1",helpText:"Vertex AI region for the model."}],foundry:[{key:"azureResource",label:"Azure resource",placeholder:"e.g. my-foundry-resource",helpText:"Name of your Azure AI Foundry resource. Credentials are picked up from DefaultAzureCredential."}]}});
50
+ export{un as lc,In as mc,Aa as nc,Sh as oc,Fa as pc};
@@ -0,0 +1,2 @@
1
+ import{Ga as S}from"./cli-0.6.14-yhc397bd.mjs";import{Ia as c}from"./cli-0.6.14-6ewrcjxp.mjs";import{od as P,sd as Vq}from"./cli-0.6.14-sydjzmja.mjs";import{wd as I,xd as v,yd as $,zd as Wq}from"./cli-0.6.14-z2f9x7q6.mjs";import{At as N,BE as M,Bt as e,CE as Jq,OK as f,Qo as C,RK as Tq,So as r,gu as L,hu as qq,lu as h,nu as Bq,vv as A,wJ as E,wv as _,xJ as Qq,yv as Gq}from"./cli-0.6.14-sfan5yg2.mjs";import{_1 as s}from"./cli-0.6.14-f2qf9rpv.mjs";import{$9 as w,b_ as t,nea as F,s8 as D,u8 as n,vea as a}from"./cli-0.6.14-zs6qf39k.mjs";import{Vga as x,Yga as d}from"./cli-0.6.14-106t4q8a.mjs";import{$ha as o,Yha as j}from"./cli-0.6.14-e4k2wv6r.mjs";import{pia as y,xia as l}from"./cli-0.6.14-tsj8ceqz.mjs";import{Rpa as p}from"./cli-0.6.14-mjqpmr9h.mjs";Jq();d();Bq();Gq();Wq();t();o();n();l();a();e();Qq();var V=p(s(),1);qq();r();Vq();Tq();function Lq({enabled:W=!0}={}){let b=V.useSyncExternalStore(v,I,I),H=_(),O=A((J)=>J.plugins.needsRefresh),{addNotification:z}=M(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await f();await c();let X=P();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await E(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await N()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await S()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await C(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await L(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);h(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=y(J);return F(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR};x("tengu_plugins_loaded",{...X,...T!==void 0&&{enabled_names:T}}),D("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
2
+ export{Lq as Fa};
@@ -0,0 +1,2 @@
1
+ import{Dia as w,Nia as F}from"./cli-0.6.14-rn7sy805.mjs";import{Vpa as D}from"./cli-0.6.14-mjqpmr9h.mjs";function Q(b){z=b}function V(){let b=z?.()??{};if(!w(process.env.CLAUDE_CODE_SUBPROCESS_ENV_SCRUB))return Object.keys(b).length>0?{...process.env,...b}:process.env;let d={...process.env,...b};for(let q of J)delete d[q],delete d[`INPUT_${q}`];return d}var J,z;var L=D(()=>{F();J=["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","ANTHROPIC_AUTH_TOKEN","ANTHROPIC_FOUNDRY_API_KEY","ANTHROPIC_CUSTOM_HEADERS","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_TRACES_HEADERS","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_BEARER_TOKEN_BEDROCK","GOOGLE_APPLICATION_CREDENTIALS","AZURE_CLIENT_SECRET","AZURE_CLIENT_CERTIFICATE_PATH","ACTIONS_ID_TOKEN_REQUEST_TOKEN","ACTIONS_ID_TOKEN_REQUEST_URL","ACTIONS_RUNTIME_TOKEN","ACTIONS_RUNTIME_URL","ALL_INPUTS","OVERRIDE_GITHUB_TOKEN","DEFAULT_WORKFLOW_TOKEN","SSH_SIGNING_KEY"]});
2
+ export{Q as IT,V as JT,L as KT};
@@ -0,0 +1,4 @@
1
+ import{bfa as X,ffa as w,gfa as L,hfa as _}from"./cli-0.6.14-zaq2td5m.mjs";import{Vga as MD,Yga as cD}from"./cli-0.6.14-106t4q8a.mjs";import{$ha as dD,Eha as jD,Gha as rD,Kha as ND,Oha as aD,Yha as x}from"./cli-0.6.14-e4k2wv6r.mjs";import{Aia as zD,Dia as HD,Nia as mD}from"./cli-0.6.14-rn7sy805.mjs";import{ooa as PD,rka as UD}from"./cli-0.6.14-f8c4q74r.mjs";import{Rpa as LD,Tpa as bD,Vpa as V,Wpa as hD}from"./cli-0.6.14-mjqpmr9h.mjs";var T=bD((Cu,S)=>{S.exports=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});var W=161,f=1114109,p,l=12288,g=65510,h,P=4352,c=262141,N;var m=V(()=>{p=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],h=[12288,12288,65281,65376,65504,65510],N=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141]});var K=(D,F)=>{let u=0,C=Math.floor(D.length/2)-1;while(u<=C){let E=Math.floor((u+C)/2),B=E*2;if(F<D[B])C=E-1;else if(F>D[B+1])u=E+1;else return!0}return!1};var r=()=>{};function kD(D){let F=D[0],u=D[1];for(let C=0;C<D.length;C+=2){let E=D[C],B=D[C+1];if(a>=E&&a<=B)return[E,B];if(B-E>u-F)F=E,u=B}return[F,u]}var a=19968,_D,yD,d=(D)=>{if(D<W||D>f)return!1;return K(p,D)},s=(D)=>{if(D<l||D>g)return!1;return K(h,D)},n=(D)=>{if(D>=_D&&D<=yD)return!0;if(D<P||D>c)return!1;return K(N,D)};var i=V(()=>{m();r();[_D,yD]=kD(N)});function RD(D){if(!Number.isSafeInteger(D))throw TypeError(`Expected a code point, got \`${typeof D}\`.`)}function v(D,{ambiguousAsWide:F=!1}={}){if(RD(D),s(D)||n(D)||F&&d(D))return 2;return 1}var o=V(()=>{i()});function G({onlyFirst:D=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",D?void 0:"g")}var e=()=>{};function O(D){if(typeof D!=="string")throw TypeError(`Expected a \`string\`, got \`${typeof D}\``);if(!D.includes("\x1B")&&!D.includes("›"))return D;return D.replace(wD,"")}var wD;var t=V(()=>{e();wD=G()});function BD(D){let F=0,u=D.replace(ID,()=>{return F++,""});return{count:F,stripped:u}}function AD(D){if(typeof D!=="string"||D.length===0)return 0;if(D.includes(ED)){let{count:C,stripped:E}=BD(D);return C+AD(E)}let F=!0;for(let C=0;C<D.length;C++){let E=D.charCodeAt(C);if(E>=127||E===27){F=!1;break}}if(F){let C=0;for(let E=0;E<D.length;E++)if(D.charCodeAt(E)>31)C++;return C}if(D.includes("\x1B")){if(D=O(D),D.length===0)return 0}if(!xD(D)){let C=0;for(let E of D){let B=E.codePointAt(0);if(!uD(B))C+=v(B,{ambiguousAsWide:!1})}return C}let u=0;for(let{segment:C}of X().segment(D)){if(DD.lastIndex=0,DD.test(C)){u+=SD(C);continue}for(let E of C){let B=E.codePointAt(0);if(!uD(B)){u+=v(B,{ambiguousAsWide:!1});break}}}return u}function xD(D){for(let F of D){let u=F.codePointAt(0);if(u>=127744&&u<=129791)return!0;if(u>=9728&&u<=10175)return!0;if(u>=127462&&u<=127487)return!0;if(u>=65024&&u<=65039)return!0;if(u===8205)return!0}return!1}function SD(D){let F=D.codePointAt(0);if(F>=127462&&F<=127487){let u=0;for(let C of D)u++;return u===1?1:2}if(D.length===2){if(D.codePointAt(1)===65039&&(F>=48&&F<=57||F===35||F===42))return 1}return 2}function uD(D){if(D>=32&&D<127)return!1;if(D>=160&&D<768)return D===173;if(D<=31||D>=127&&D<=159)return!0;if(D>=8203&&D<=8205||D===65279||D>=8288&&D<=8292)return!0;if(D>=65024&&D<=65039||D>=917760&&D<=917999)return!0;if(D>=768&&D<=879||D>=6832&&D<=6911||D>=7616&&D<=7679||D>=8400&&D<=8447||D>=65056&&D<=65071)return!0;if(D>=2304&&D<=3407){let F=D&127;if(F<=3)return!0;if(F>=58&&F<=79)return!0;if(F>=81&&F<=87)return!0;if(F>=98&&F<=99)return!0}if(D===3633||D>=3636&&D<=3642||D>=3655&&D<=3662||D===3761||D>=3764&&D<=3772||D>=3784&&D<=3789)return!0;if(D>=1536&&D<=1541||D===1757||D===1807||D===2274)return!0;if(D>=55296&&D<=57343)return!0;if(D>=917504&&D<=917631)return!0;return!1}var CD,DD,ED="\uDBFB\uDEEE",ID,b,FD,$;var QD=V(()=>{o();t();_();CD=LD(T(),1),DD=CD.default(),ID=/\u{10EEEE}\p{M}{0,3}/gu;b=typeof Bun<"u"&&typeof Bun.stringWidth==="function"?Bun.stringWidth:null,FD={ambiguousIsNarrow:!0},$=b?(D)=>{if(D.includes(ED)){let{count:F,stripped:u}=BD(D);return F+(u.length>0?b(u,FD):0)}return b(D,FD)}:AD});function TD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"…";if(F<5)return U(u,F);let C=u.lastIndexOf("/"),E=C>=0?u.slice(C):u,B=C>=0?u.slice(0,C):"",A=$(E);if(A>=F-1)return y(D,F);let Q=F-1-A;if(Q<=0)return y(E,F);return VD(B,Q)+"…"+E}function U(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F-1)break;E+=B,C+=A}return E+"…"}function y(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=[...X().segment(u)],E=0,B=C.length;for(let A=C.length-1;A>=0;A--){let Q=$(C[A].segment);if(E+Q>F-1)break;E+=Q,B=A}return"…"+C.slice(B).map((A)=>A.segment).join("")}function VD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F)break;E+=B,C+=A}return E}function WD(D,F,u=!1){let C=D??"";if(C==="")return"";let E=C;if(u){let B=C.indexOf(`
2
+ `);if(B!==-1){if(E=C.substring(0,B),$(E)+1>F)return U(E,F);return`${E}…`}}if($(E)<=F)return E;return U(E,F)}var $D=V(()=>{QD();_()});function M(D){let F=D/1024;if(F<1)return`${D} bytes`;if(F<1024)return`${F.toFixed(1).replace(/\.0$/,"")}KB`;let u=F/1024;if(u<1024)return`${u.toFixed(1).replace(/\.0$/,"")}MB`;return`${(u/1024).toFixed(1).replace(/\.0$/,"")}GB`}function wu(D){return`${(D/1000).toFixed(1)}s`}function Lu(D,F){if(D<60000){if(D===0)return"0s";if(D<1)return`${(D/1000).toFixed(1)}s`;return`${Math.floor(D/1000).toString()}s`}let u=Math.floor(D/86400000),C=Math.floor(D%86400000/3600000),E=Math.floor(D%3600000/60000),B=Math.round(D%60000/1000);if(B===60)B=0,E++;if(E===60)E=0,C++;if(C===24)C=0,u++;let A=F?.hideTrailingZeros;if(F?.mostSignificantOnly){if(u>0)return`${u}d`;if(C>0)return`${C}h`;if(E>0)return`${E}m`;return`${B}s`}if(u>0){if(A&&C===0&&E===0)return`${u}d`;if(A&&E===0)return`${u}d ${C}h`;return`${u}d ${C}h ${E}m`}if(C>0){if(A&&E===0&&B===0)return`${C}h`;if(A&&B===0)return`${C}h ${E}m`;return`${C}h ${E}m ${B}s`}if(E>0){if(A&&B===0)return`${E}m`;return`${E}m ${B}s`}return`${B}s`}function pD(D){let F=D>=1000;return fD(F).format(D).toLowerCase()}function Iu(D){return pD(D).replace(".0","")}function qD(D,F={}){let{style:u="narrow",numeric:C="always",now:E=new Date}=F,B=D.getTime()-E.getTime(),A=Math.trunc(B/1000),Q=[{unit:"year",seconds:31536000,shortUnit:"y"},{unit:"month",seconds:2592000,shortUnit:"mo"},{unit:"week",seconds:604800,shortUnit:"w"},{unit:"day",seconds:86400,shortUnit:"d"},{unit:"hour",seconds:3600,shortUnit:"h"},{unit:"minute",seconds:60,shortUnit:"m"},{unit:"second",seconds:1,shortUnit:"s"}];for(let{unit:q,seconds:Y,shortUnit:j}of Q)if(Math.abs(A)>=Y){let J=Math.trunc(A/Y);if(u==="narrow")return A<0?`${Math.abs(J)}${j} ago`:`in ${J}${j}`;return w("long",C).format(J,q)}if(u==="narrow")return A<=0?"0s ago":"in 0s";return w(u,C).format(0,"second")}function lD(D,F={}){let{now:u=new Date,...C}=F;if(D>u)return qD(D,{...C,now:u});return qD(D,{...C,numeric:"always",now:u})}function xu(D){let F=D.fileSize!==void 0?M(D.fileSize):`${D.messageCount} messages`,u=[lD(D.modified,{style:"short"}),...D.gitBranch?[D.gitBranch]:[],F];if(D.tag)u.push(`#${D.tag}`);if(D.agentSetting)u.push(`@${D.agentSetting}`);if(D.prNumber)u.push(D.prRepository?`${D.prRepository}#${D.prNumber}`:`#${D.prNumber}`);return u.join(" · ")}function gD(D,F=!1,u=!0){if(!D)return;let C=new Date(D*1000),E=new Date,B=C.getMinutes();if((C.getTime()-E.getTime())/3600000>24){let q={month:"short",day:"numeric",hour:u?"numeric":void 0,minute:!u||B===0?void 0:"2-digit",hour12:u?!0:void 0};if(C.getFullYear()!==E.getFullYear())q.year="numeric";return C.toLocaleString("en-US",q).replace(/ ([AP]M)/i,(j,J)=>J.toLowerCase())+(F?` (${L()})`:"")}return C.toLocaleTimeString("en-US",{hour:"numeric",minute:B===0?void 0:"2-digit",hour12:!0}).replace(/ ([AP]M)/i,(q,Y)=>Y.toLowerCase())+(F?` (${L()})`:"")}function Su(D,F=!1,u=!0){let C=new Date(D);return`${gD(Math.floor(C.getTime()/1000),F,u)}`}var k=null,R=null,fD=(D)=>{if(D){if(!k)k=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:1});return k}else{if(!R)R=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:0});return R}};var XD=V(()=>{_();$D()});function H(){if(!I)I=hD("perf_hooks").performance;return I}function z(D){return D.toFixed(3)}function YD(D,F,u,C,E,B,A=""){let Q=C?` | RSS: ${M(C.rss)}, Heap: ${M(C.heapUsed)}`:"";return`[+${z(D).padStart(E)}ms] (+${z(F).padStart(B)}ms) ${u}${A}${Q}`}var I=null;var JD=V(()=>{XD()});import{dirname as sD,join as nD}from"path";function eD(D){if(!GD)return;if(H().mark(D),Z)OD.push(process.memoryUsage())}function ZD(){if(!Z)return"Startup profiling not enabled";let F=H().getEntriesByType("mark");if(F.length===0)return"No profiling checkpoints recorded";let u=[];u.push("=".repeat(80)),u.push("STARTUP PROFILING REPORT"),u.push("=".repeat(80)),u.push("");let C=0;for(let[B,A]of F.entries())u.push(YD(A.startTime,A.startTime-C,A.name,OD[B],8,7)),C=A.startTime;let E=F[F.length-1];return u.push(""),u.push(`Total startup time: ${z(E?.startTime??0)}ms`),u.push("=".repeat(80)),u.join(`
3
+ `)}function tD(){if(KD)return;if(KD=!0,uu(),Z){let D=Du(),F=sD(D);ND().mkdirSync(F),jD(D,ZD(),{encoding:"utf8",flush:!0}),x("Startup profiling report:"),x(ZD())}}function du(){return Z}function Du(){return nD(zD(),"startup-perf",`${UD()}.txt`)}function uu(){if(!vD)return;let F=H().getEntriesByType("mark");if(F.length===0)return;let u=new Map;for(let E of F)u.set(E.name,E.startTime);let C={};for(let[E,[B,A]]of Object.entries(oD)){let Q=u.get(B),q=u.get(A);if(Q!==void 0&&q!==void 0)C[`${E}_ms`]=Math.round(q-Q)}C.checkpoint_count=F.length,MD("tengu_startup_perf",C)}var Z,iD=0.005,vD,GD,OD,oD,KD=!1;var Fu=V(()=>{PD();cD();dD();mD();aD();JD();rD();Z=HD(process.env.CLAUDE_CODE_PROFILE_STARTUP),vD=Math.random()<iD,GD=Z||vD,OD=[],oD={import_time:["cli_entry","main_tsx_imports_loaded"],init_time:["init_function_start","init_function_end"],settings_time:["eagerLoadSettings_start","eagerLoadSettings_end"],total_time:["cli_entry","main_after_run"]};if(GD)eD("profiler_initialized"),process.on("exit",()=>{try{tD()}catch{}})});
4
+ export{v as wea,o as xea,O as yea,t as zea,$ as Aea,QD as Bea,TD as Cea,U as Dea,y as Eea,VD as Fea,WD as Gea,$D as Hea,M as Iea,wu as Jea,Lu as Kea,pD as Lea,Iu as Mea,qD as Nea,lD as Oea,xu as Pea,gD as Qea,Su as Rea,XD as Sea,H as Tea,z as Uea,YD as Vea,JD as Wea,eD as Xea,tD as Yea,du as Zea,Du as _ea,uu as $ea,Fu as afa};
@@ -0,0 +1,2 @@
1
+ import{Dia as B,Eia as H,Nia as V}from"./cli-0.6.14-rn7sy805.mjs";import{Vpa as Q}from"./cli-0.6.14-mjqpmr9h.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};