@claudiolabs/claudin 0.7.4 → 0.7.6

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 (910) hide show
  1. package/README.md +6 -5
  2. package/dist/chunks/AgentTool-0.7.6-02vh9vk8.mjs +1 -0
  3. package/dist/chunks/App-0.7.6-6rm9fw7h.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-0.7.6-3ds3vmhq.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-0.7.6-tdwszj02.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-0.7.6-5axvmtp3.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-0.7.6-014qynp3.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.6-z3wrhmsy.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-0.7.6-92nz3x2x.mjs +1 -0
  10. package/dist/chunks/DiffDialog-0.7.6-4303tcnm.mjs +7 -0
  11. package/dist/chunks/Doctor-0.7.6-084ce5s2.mjs +1 -0
  12. package/dist/chunks/ExplorerDialog-0.7.6-vp1m6ffx.mjs +6 -0
  13. package/dist/chunks/Grove-0.7.6-1d3f84xj.mjs +1 -0
  14. package/dist/chunks/ITermBackend-0.7.6-wdyeyjcs.mjs +1 -0
  15. package/dist/chunks/InvalidConfigDialog-0.7.6-j0gs8ee7.mjs +1 -0
  16. package/dist/chunks/InvalidSettingsDialog-0.7.6-5gtntvxr.mjs +1 -0
  17. package/dist/chunks/MigrationDialog-0.7.6-jqrhx95e.mjs +1 -0
  18. package/dist/chunks/Onboarding-0.7.6-18f6pde2.mjs +1 -0
  19. package/dist/chunks/ProviderManager-0.7.6-2q5s7q6j.mjs +1 -0
  20. package/dist/chunks/REPL-0.7.6-ayp94stx.mjs +1 -0
  21. package/dist/chunks/ResumeConversation-0.7.6-zgn8p1b4.mjs +1 -0
  22. package/dist/chunks/SnapshotUpdateDialog-0.7.6-apn9hx86.mjs +1 -0
  23. package/dist/chunks/TeleportProgress-0.7.6-1mvkc8e6.mjs +1 -0
  24. package/dist/chunks/TeleportRepoMismatchDialog-0.7.6-74t499kc.mjs +1 -0
  25. package/dist/chunks/TeleportResumeWrapper-0.7.6-aj7acqex.mjs +1 -0
  26. package/dist/chunks/TmuxBackend-0.7.6-werejha1.mjs +9 -0
  27. package/dist/chunks/ToolSearchTool-0.7.6-n01pcadg.mjs +1 -0
  28. package/dist/chunks/TrustDialog-0.7.6-bsjh0666.mjs +1 -0
  29. package/dist/chunks/activeProvider-0.7.6-eqwet2j4.mjs +1 -0
  30. package/dist/chunks/add-dir-0.7.6-8rvjxj57.mjs +1 -0
  31. package/dist/chunks/agentTypes-0.7.6-49zjnpvv.mjs +1 -0
  32. package/dist/chunks/agents-0.7.6-f2wq0zdm.mjs +3 -0
  33. package/dist/chunks/agents-0.7.6-n608c3qr.mjs +110 -0
  34. package/dist/chunks/api-0.7.6-f2fsvxyj.mjs +1 -0
  35. package/dist/chunks/asciicast-0.7.6-fv6ypvrh.mjs +1 -0
  36. package/dist/chunks/assistant-0.7.6-3d939v1n.mjs +1 -0
  37. package/dist/chunks/auth-0.7.6-e9ggcrw2.mjs +1 -0
  38. package/dist/chunks/auth-0.7.6-vprbhg4e.mjs +1 -0
  39. package/dist/chunks/autoMode-0.7.6-p12j05a6.mjs +48 -0
  40. package/dist/chunks/autoUpdater-0.7.6-nrc4g1jz.mjs +1 -0
  41. package/dist/chunks/backgroundHousekeeping-0.7.6-rb8ftxsa.mjs +1 -0
  42. package/dist/chunks/branch-0.7.6-05rh36he.mjs +4 -0
  43. package/dist/chunks/bridge-0.7.6-wddny37r.mjs +2 -0
  44. package/dist/chunks/bridgeConfig-0.7.6-b5h1a634.mjs +1 -0
  45. package/dist/chunks/bridgeEnabled-0.7.6-0fhtxtzs.mjs +1 -0
  46. package/dist/chunks/bridgeMain-0.7.6-nj17223b.mjs +88 -0
  47. package/dist/chunks/bridgePointer-0.7.6-f0qs1e6e.mjs +1 -0
  48. package/dist/chunks/btw-0.7.6-cjm6v0b9.mjs +1 -0
  49. package/dist/chunks/buddy-0.7.6-1j68vknm.mjs +3 -0
  50. package/dist/chunks/cacache-0.7.6-3mr30mas.mjs +1 -0
  51. package/dist/chunks/cache-probe-0.7.6-e8g8d94t.mjs +21 -0
  52. package/dist/chunks/cacheStats-0.7.6-4x5zqxyf.mjs +4 -0
  53. package/dist/chunks/caches-0.7.6-fpr85z6h.mjs +1 -0
  54. package/dist/chunks/claudeDesktop-0.7.6-hh4vstgr.mjs +1 -0
  55. package/dist/chunks/claudemd-0.7.6-fqehvs8g.mjs +1 -0
  56. package/dist/chunks/clear-0.7.6-h2vf452p.mjs +1 -0
  57. package/dist/chunks/clearTerminal-0.7.6-qscrqy5p.mjs +1 -0
  58. package/dist/chunks/cli-0.7.6-010st6wr.mjs +2 -0
  59. package/dist/chunks/cli-0.7.6-07eesex8.mjs +2 -0
  60. package/dist/chunks/cli-0.7.6-09hcxer2.mjs +2 -0
  61. package/dist/chunks/cli-0.7.6-0b47jy2g.mjs +2 -0
  62. package/dist/chunks/cli-0.7.6-0ekx5n2q.mjs +4 -0
  63. package/dist/chunks/cli-0.7.6-0gzsv22g.mjs +2 -0
  64. package/dist/chunks/cli-0.7.6-0h46deez.mjs +2 -0
  65. package/dist/chunks/cli-0.7.6-0mgbtp8x.mjs +6 -0
  66. package/dist/chunks/cli-0.7.6-0n7tfcxz.mjs +4 -0
  67. package/dist/chunks/cli-0.7.6-0tt8ccr8.mjs +2 -0
  68. package/dist/chunks/cli-0.7.6-0wr25ecz.mjs +2 -0
  69. package/dist/chunks/cli-0.7.6-1bfz5qa5.mjs +2 -0
  70. package/dist/chunks/cli-0.7.6-1bvzdjfc.mjs +2 -0
  71. package/dist/chunks/cli-0.7.6-1dqh462b.mjs +2 -0
  72. package/dist/chunks/cli-0.7.6-1j4p4cz3.mjs +2 -0
  73. package/dist/chunks/cli-0.7.6-1s1nbm58.mjs +2 -0
  74. package/dist/chunks/cli-0.7.6-1v73pjt7.mjs +2 -0
  75. package/dist/chunks/cli-0.7.6-1yn63f2j.mjs +2 -0
  76. package/dist/chunks/cli-0.7.6-29snre4z.mjs +2 -0
  77. package/dist/chunks/cli-0.7.6-2ff9pq9s.mjs +3 -0
  78. package/dist/chunks/cli-0.7.6-2kjdfns9.mjs +6 -0
  79. package/dist/chunks/cli-0.7.6-2nmq534s.mjs +26 -0
  80. package/dist/chunks/cli-0.7.6-2qwpkx4w.mjs +12 -0
  81. package/dist/chunks/cli-0.7.6-2rwpq77s.mjs +2 -0
  82. package/dist/chunks/cli-0.7.6-310844c3.mjs +4 -0
  83. package/dist/chunks/cli-0.7.6-39q0e172.mjs +2 -0
  84. package/dist/chunks/cli-0.7.6-3vqf88sk.mjs +2 -0
  85. package/dist/chunks/cli-0.7.6-43kp2p25.mjs +2 -0
  86. package/dist/chunks/cli-0.7.6-471rvdw2.mjs +2 -0
  87. package/dist/chunks/cli-0.7.6-4e2e6mkj.mjs +3 -0
  88. package/dist/chunks/cli-0.7.6-4eaywsgw.mjs +2 -0
  89. package/dist/chunks/cli-0.7.6-4q91n1nr.mjs +2 -0
  90. package/dist/chunks/cli-0.7.6-4v3f036y.mjs +2 -0
  91. package/dist/chunks/cli-0.7.6-4ybzx76m.mjs +2 -0
  92. package/dist/chunks/cli-0.7.6-4z1q2wge.mjs +2 -0
  93. package/dist/chunks/cli-0.7.6-517m3gcx.mjs +2 -0
  94. package/dist/chunks/cli-0.7.6-56h0kfkw.mjs +59 -0
  95. package/dist/chunks/cli-0.7.6-5dk57g7k.mjs +2 -0
  96. package/dist/chunks/cli-0.7.6-5ktehyvf.mjs +2 -0
  97. package/dist/chunks/cli-0.7.6-5qabm4xe.mjs +2 -0
  98. package/dist/chunks/cli-0.7.6-5vj0s5hg.mjs +5 -0
  99. package/dist/chunks/cli-0.7.6-5wj27v22.mjs +18 -0
  100. package/dist/chunks/cli-0.7.6-5ynmp8av.mjs +2 -0
  101. package/dist/chunks/cli-0.7.6-62ea895q.mjs +2 -0
  102. package/dist/chunks/cli-0.7.6-67tqckbs.mjs +133 -0
  103. package/dist/chunks/cli-0.7.6-69b0cq0a.mjs +4 -0
  104. package/dist/chunks/cli-0.7.6-69hzrwk9.mjs +2 -0
  105. package/dist/chunks/cli-0.7.6-73gkdy2f.mjs +2 -0
  106. package/dist/chunks/cli-0.7.6-73h798cq.mjs +2 -0
  107. package/dist/chunks/cli-0.7.6-7g2b4q32.mjs +2 -0
  108. package/dist/chunks/cli-0.7.6-7ktebmzc.mjs +2 -0
  109. package/dist/chunks/cli-0.7.6-7mzraehr.mjs +16 -0
  110. package/dist/chunks/cli-0.7.6-7szsqp12.mjs +2 -0
  111. package/dist/chunks/cli-0.7.6-7ybdp9j0.mjs +3 -0
  112. package/dist/chunks/cli-0.7.6-7yce2cw8.mjs +2 -0
  113. package/dist/chunks/cli-0.7.6-8g9rtj1f.mjs +2 -0
  114. package/dist/chunks/cli-0.7.6-8h5rwm21.mjs +2 -0
  115. package/dist/chunks/cli-0.7.6-8k508w7p.mjs +2 -0
  116. package/dist/chunks/cli-0.7.6-8srvcg12.mjs +2 -0
  117. package/dist/chunks/cli-0.7.6-8vdxmbjt.mjs +2 -0
  118. package/dist/chunks/cli-0.7.6-8vftkjgf.mjs +2 -0
  119. package/dist/chunks/cli-0.7.6-8wv8rjqd.mjs +2 -0
  120. package/dist/chunks/cli-0.7.6-9508tj8e.mjs +17 -0
  121. package/dist/chunks/cli-0.7.6-96qqpq0c.mjs +2 -0
  122. package/dist/chunks/cli-0.7.6-9a706kh3.mjs +2 -0
  123. package/dist/chunks/cli-0.7.6-9w6egknj.mjs +8 -0
  124. package/dist/chunks/cli-0.7.6-ajv6cevv.mjs +4 -0
  125. package/dist/chunks/cli-0.7.6-am0sf3er.mjs +2 -0
  126. package/dist/chunks/cli-0.7.6-ama4wyv2.mjs +12 -0
  127. package/dist/chunks/cli-0.7.6-ayd8297m.mjs +3 -0
  128. package/dist/chunks/cli-0.7.6-azjnjp5p.mjs +2 -0
  129. package/dist/chunks/cli-0.7.6-b39v6rz1.mjs +2 -0
  130. package/dist/chunks/cli-0.7.6-bbmxy27v.mjs +2 -0
  131. package/dist/chunks/cli-0.7.6-berqrfpz.mjs +2 -0
  132. package/dist/chunks/cli-0.7.6-bese1aqp.mjs +2 -0
  133. package/dist/chunks/cli-0.7.6-bfwq4dm5.mjs +2 -0
  134. package/dist/chunks/cli-0.7.6-c3npkenn.mjs +1 -0
  135. package/dist/chunks/cli-0.7.6-ccbtfaqn.mjs +2 -0
  136. package/dist/chunks/cli-0.7.6-ccy8mp4f.mjs +2 -0
  137. package/dist/chunks/cli-0.7.6-cedrx1f7.mjs +2 -0
  138. package/dist/chunks/cli-0.7.6-chcjfb2p.mjs +2 -0
  139. package/dist/chunks/cli-0.7.6-cmxr1gyd.mjs +3 -0
  140. package/dist/chunks/cli-0.7.6-cq95q0m7.mjs +2 -0
  141. package/dist/chunks/cli-0.7.6-cxchkx7a.mjs +18 -0
  142. package/dist/chunks/cli-0.7.6-d4rmetja.mjs +2 -0
  143. package/dist/chunks/cli-0.7.6-d5nss1kz.mjs +2 -0
  144. package/dist/chunks/cli-0.7.6-d8hz302t.mjs +2 -0
  145. package/dist/chunks/cli-0.7.6-dd5tgszn.mjs +4 -0
  146. package/dist/chunks/cli-0.7.6-dfkaq7z7.mjs +2 -0
  147. package/dist/chunks/cli-0.7.6-dhp0vn09.mjs +4 -0
  148. package/dist/chunks/cli-0.7.6-dpfh7ypk.mjs +2 -0
  149. package/dist/chunks/cli-0.7.6-dq87daze.mjs +2 -0
  150. package/dist/chunks/cli-0.7.6-dynrpsf9.mjs +10 -0
  151. package/dist/chunks/cli-0.7.6-e01s0kjn.mjs +2 -0
  152. package/dist/chunks/cli-0.7.6-e3dwvde8.mjs +58 -0
  153. package/dist/chunks/cli-0.7.6-edjsszs3.mjs +12 -0
  154. package/dist/chunks/cli-0.7.6-ehkh8f7m.mjs +2 -0
  155. package/dist/chunks/cli-0.7.6-ejjekwys.mjs +2 -0
  156. package/dist/chunks/cli-0.7.6-ejk8n0sg.mjs +2 -0
  157. package/dist/chunks/cli-0.7.6-ek2a439r.mjs +2 -0
  158. package/dist/chunks/cli-0.7.6-ex7sezdt.mjs +2 -0
  159. package/dist/chunks/cli-0.7.6-f4nmb6r2.mjs +3 -0
  160. package/dist/chunks/cli-0.7.6-f9mzvngv.mjs +2 -0
  161. package/dist/chunks/cli-0.7.6-ffk5hz3x.mjs +2 -0
  162. package/dist/chunks/cli-0.7.6-fkshg1fg.mjs +2 -0
  163. package/dist/chunks/cli-0.7.6-fmmr53nv.mjs +2 -0
  164. package/dist/chunks/cli-0.7.6-fn56g2cc.mjs +199 -0
  165. package/dist/chunks/cli-0.7.6-frf6ynaj.mjs +2 -0
  166. package/dist/chunks/cli-0.7.6-ftdrd7jk.mjs +17 -0
  167. package/dist/chunks/cli-0.7.6-fvydk0w1.mjs +2 -0
  168. package/dist/chunks/cli-0.7.6-g1gd1372.mjs +5 -0
  169. package/dist/chunks/cli-0.7.6-g2437s1w.mjs +2 -0
  170. package/dist/chunks/cli-0.7.6-g44g34fb.mjs +2 -0
  171. package/dist/chunks/cli-0.7.6-g5cva69z.mjs +2 -0
  172. package/dist/chunks/cli-0.7.6-g736y207.mjs +39 -0
  173. package/dist/chunks/cli-0.7.6-g802sp0p.mjs +2 -0
  174. package/dist/chunks/cli-0.7.6-gkd2v7ek.mjs +45 -0
  175. package/dist/chunks/cli-0.7.6-gxbeg3ny.mjs +3 -0
  176. package/dist/chunks/cli-0.7.6-hrw7nyyq.mjs +2 -0
  177. package/dist/chunks/cli-0.7.6-hsa9j8sb.mjs +2 -0
  178. package/dist/chunks/cli-0.7.6-hsm2w1qr.mjs +2 -0
  179. package/dist/chunks/cli-0.7.6-hw3n6j75.mjs +9 -0
  180. package/dist/chunks/cli-0.7.6-j59ty8yt.mjs +15 -0
  181. package/dist/chunks/cli-0.7.6-j63vtmfa.mjs +2 -0
  182. package/dist/chunks/cli-0.7.6-j9p952mf.mjs +2 -0
  183. package/dist/chunks/cli-0.7.6-jjmm4f40.mjs +2 -0
  184. package/dist/chunks/cli-0.7.6-jmpc9xmj.mjs +6 -0
  185. package/dist/chunks/cli-0.7.6-jpjn976y.mjs +2 -0
  186. package/dist/chunks/cli-0.7.6-jtdgswpn.mjs +2 -0
  187. package/dist/chunks/cli-0.7.6-jwqgj667.mjs +2 -0
  188. package/dist/chunks/cli-0.7.6-jzk3fxqa.mjs +3 -0
  189. package/dist/chunks/cli-0.7.6-k1tjb02q.mjs +4 -0
  190. package/dist/chunks/cli-0.7.6-k5r0yz41.mjs +67 -0
  191. package/dist/chunks/cli-0.7.6-k7fsgwdr.mjs +2 -0
  192. package/dist/chunks/cli-0.7.6-m51wgngt.mjs +2 -0
  193. package/dist/chunks/cli-0.7.6-md1ramb7.mjs +2 -0
  194. package/dist/chunks/cli-0.7.6-md31wz8f.mjs +2 -0
  195. package/dist/chunks/cli-0.7.6-md4x57wd.mjs +2 -0
  196. package/dist/chunks/cli-0.7.6-n6qsqdjv.mjs +2 -0
  197. package/dist/chunks/cli-0.7.6-ngmxmw82.mjs +2 -0
  198. package/dist/chunks/cli-0.7.6-ngsbbrk7.mjs +3 -0
  199. package/dist/chunks/cli-0.7.6-nxxj5qzs.mjs +2 -0
  200. package/dist/chunks/cli-0.7.6-p2268sge.mjs +2 -0
  201. package/dist/chunks/cli-0.7.6-pasrzvza.mjs +2 -0
  202. package/dist/chunks/cli-0.7.6-pbzty9n9.mjs +2 -0
  203. package/dist/chunks/cli-0.7.6-pwvs4p1w.mjs +3 -0
  204. package/dist/chunks/cli-0.7.6-pzk668w8.mjs +2 -0
  205. package/dist/chunks/cli-0.7.6-qan5xxdc.mjs +5471 -0
  206. package/dist/chunks/cli-0.7.6-qeq5tx23.mjs +6 -0
  207. package/dist/chunks/cli-0.7.6-qkcrt37c.mjs +2 -0
  208. package/dist/chunks/cli-0.7.6-qyk1jtmh.mjs +2 -0
  209. package/dist/chunks/cli-0.7.6-r6nhsg12.mjs +2 -0
  210. package/dist/chunks/cli-0.7.6-r78s2g03.mjs +18 -0
  211. package/dist/chunks/cli-0.7.6-r9dxvg8q.mjs +5 -0
  212. package/dist/chunks/cli-0.7.6-rp0xgr6t.mjs +2 -0
  213. package/dist/chunks/cli-0.7.6-rs07s8yh.mjs +2 -0
  214. package/dist/chunks/cli-0.7.6-rzhf46t3.mjs +2 -0
  215. package/dist/chunks/cli-0.7.6-s0jpd03j.mjs +2 -0
  216. package/dist/chunks/cli-0.7.6-s3kvpq11.mjs +24 -0
  217. package/dist/chunks/cli-0.7.6-se7x2a1f.mjs +7 -0
  218. package/dist/chunks/cli-0.7.6-sjbap7zg.mjs +2 -0
  219. package/dist/chunks/cli-0.7.6-svqwyxab.mjs +42 -0
  220. package/dist/chunks/cli-0.7.6-sznceb3v.mjs +2 -0
  221. package/dist/chunks/cli-0.7.6-t224fm0b.mjs +2 -0
  222. package/dist/chunks/cli-0.7.6-t3wkyhpb.mjs +2 -0
  223. package/dist/chunks/cli-0.7.6-tnxct9wp.mjs +2 -0
  224. package/dist/chunks/cli-0.7.6-tp1mp7kg.mjs +2 -0
  225. package/dist/chunks/cli-0.7.6-tp4xkdj6.mjs +2 -0
  226. package/dist/chunks/cli-0.7.6-v3rjsfcr.mjs +2 -0
  227. package/dist/chunks/cli-0.7.6-vhan81qg.mjs +2 -0
  228. package/dist/chunks/cli-0.7.6-vhn7sz5q.mjs +2 -0
  229. package/dist/chunks/cli-0.7.6-vrcja2t1.mjs +2 -0
  230. package/dist/chunks/cli-0.7.6-w4bq1f08.mjs +4 -0
  231. package/dist/chunks/cli-0.7.6-w5smxper.mjs +2 -0
  232. package/dist/chunks/cli-0.7.6-w65xvz9z.mjs +2 -0
  233. package/dist/chunks/cli-0.7.6-w66170ej.mjs +2 -0
  234. package/dist/chunks/cli-0.7.6-w7k9x0kq.mjs +3 -0
  235. package/dist/chunks/cli-0.7.6-wch5kwc6.mjs +3 -0
  236. package/dist/chunks/cli-0.7.6-wepz3cym.mjs +4 -0
  237. package/dist/chunks/cli-0.7.6-wmhr2zkd.mjs +2 -0
  238. package/dist/chunks/cli-0.7.6-wmk10em6.mjs +2 -0
  239. package/dist/chunks/cli-0.7.6-wthbw2r0.mjs +2 -0
  240. package/dist/chunks/cli-0.7.6-wz34s2yk.mjs +2 -0
  241. package/dist/chunks/cli-0.7.6-wz5w8hmh.mjs +2 -0
  242. package/dist/chunks/cli-0.7.6-xczzrd9d.mjs +34 -0
  243. package/dist/chunks/cli-0.7.6-xfap6qa6.mjs +20 -0
  244. package/dist/chunks/cli-0.7.6-xg6ka3pp.mjs +2 -0
  245. package/dist/chunks/cli-0.7.6-xjemjs4e.mjs +25 -0
  246. package/dist/chunks/cli-0.7.6-xkmg4sc9.mjs +2 -0
  247. package/dist/chunks/cli-0.7.6-xky4ty14.mjs +2 -0
  248. package/dist/chunks/cli-0.7.6-xtjps7gq.mjs +2 -0
  249. package/dist/chunks/cli-0.7.6-xyx40s83.mjs +21 -0
  250. package/dist/chunks/cli-0.7.6-y36b0e0y.mjs +24 -0
  251. package/dist/chunks/cli-0.7.6-y3a6zp1r.mjs +2 -0
  252. package/dist/chunks/cli-0.7.6-y7bdxnmf.mjs +133 -0
  253. package/dist/chunks/cli-0.7.6-y8ga5pny.mjs +15 -0
  254. package/dist/chunks/cli-0.7.6-ye7kz4cr.mjs +24 -0
  255. package/dist/chunks/cli-0.7.6-ymhtbnyk.mjs +2 -0
  256. package/dist/chunks/cli-0.7.6-yv3stfxm.mjs +12 -0
  257. package/dist/chunks/cli-0.7.6-ywg6e349.mjs +25 -0
  258. package/dist/chunks/cli-0.7.6-z13va0jc.mjs +2 -0
  259. package/dist/chunks/cli-0.7.6-z4k83sx6.mjs +2 -0
  260. package/dist/chunks/cli-0.7.6-z5zw7sdz.mjs +3 -0
  261. package/dist/chunks/cli-0.7.6-zepjez10.mjs +50 -0
  262. package/dist/chunks/cli-0.7.6-zmkr521v.mjs +15 -0
  263. package/dist/chunks/cli-0.7.6-zrjrmccd.mjs +2 -0
  264. package/dist/chunks/cli-0.7.6-zrwpmp3s.mjs +2 -0
  265. package/dist/chunks/client-0.7.6-s5r00qzn.mjs +1 -0
  266. package/dist/chunks/color-0.7.6-c5m7hk8y.mjs +1 -0
  267. package/dist/chunks/compact-0.7.6-dx4c91sb.mjs +3 -0
  268. package/dist/chunks/config-0.7.6-0wrs7d25.mjs +1 -0
  269. package/dist/chunks/config-0.7.6-28k8xgy7.mjs +1 -0
  270. package/dist/chunks/constants-0.7.6-yxc2ccra.mjs +1 -0
  271. package/dist/chunks/context-0.7.6-efvp1txb.mjs +1 -0
  272. package/dist/chunks/context-noninteractive-0.7.6-8bp73hyq.mjs +1 -0
  273. package/dist/chunks/conversation-0.7.6-cqwzbr0d.mjs +1 -0
  274. package/dist/chunks/copilotHeaders-0.7.6-qm7k7b4w.mjs +1 -0
  275. package/dist/chunks/copy-0.7.6-tb3stmba.mjs +9 -0
  276. package/dist/chunks/cost-0.7.6-t2pss4xp.mjs +1 -0
  277. package/dist/chunks/createSSHSession-0.7.6-gxjfefp4.mjs +1 -0
  278. package/dist/chunks/createSession-0.7.6-s5cd1p2c.mjs +1 -0
  279. package/dist/chunks/debug-0.7.6-29wym0xr.mjs +1 -0
  280. package/dist/chunks/defaultActionDeps-0.7.6-1thsnj41.mjs +1446 -0
  281. package/dist/chunks/desktop-0.7.6-jb15m9tp.mjs +1 -0
  282. package/dist/chunks/detectRepository-0.7.6-0cp7fygx.mjs +1 -0
  283. package/dist/chunks/detection-0.7.6-rg544p2p.mjs +1 -0
  284. package/dist/chunks/diff-0.7.6-53gzzxnd.mjs +1 -0
  285. package/dist/chunks/doctor-0.7.6-95kk3h2p.mjs +1 -0
  286. package/dist/chunks/doctorDiagnostic-0.7.6-ybe5naeq.mjs +1 -0
  287. package/dist/chunks/earlyInput-0.7.6-2frqt87k.mjs +1 -0
  288. package/dist/chunks/effort-0.7.6-3hhjz5rt.mjs +10 -0
  289. package/dist/chunks/engine-0.7.6-r4hy6gpj.mjs +1 -0
  290. package/dist/chunks/envLessBridgeConfig-0.7.6-6gxkp63s.mjs +1 -0
  291. package/dist/chunks/envUtils-0.7.6-70jnybbw.mjs +1 -0
  292. package/dist/chunks/environmentSelection-0.7.6-mtg8g15a.mjs +1 -0
  293. package/dist/chunks/environments-0.7.6-4vj956d6.mjs +1 -0
  294. package/dist/chunks/errors-0.7.6-3rfme91e.mjs +1 -0
  295. package/dist/chunks/exampleCommands-0.7.6-3rwnb01j.mjs +1 -0
  296. package/dist/chunks/exit-0.7.6-1zq90j34.mjs +1 -0
  297. package/dist/chunks/explorer-0.7.6-7yxdvz4c.mjs +1 -0
  298. package/dist/chunks/export-0.7.6-6annregx.mjs +2 -0
  299. package/dist/chunks/extra-usage-0.7.6-1d8afeer.mjs +1 -0
  300. package/dist/chunks/extra-usage-noninteractive-0.7.6-yv74b9va.mjs +1 -0
  301. package/dist/chunks/fast-0.7.6-83xw5a4z.mjs +1 -0
  302. package/dist/chunks/feedback-0.7.6-r3gmhtzb.mjs +14 -0
  303. package/dist/chunks/firstPartyEventLogger-0.7.6-sxwwnk4h.mjs +1 -0
  304. package/dist/chunks/git-0.7.6-z2fwspdf.mjs +1 -0
  305. package/dist/chunks/githubModelsCredentials-0.7.6-fe39tsv6.mjs +1 -0
  306. package/dist/chunks/goal-0.7.6-ejhqdg3h.mjs +4 -0
  307. package/dist/chunks/grove-0.7.6-wq7pmtc4.mjs +1 -0
  308. package/dist/chunks/growthbook-0.7.6-268c3zv1.mjs +1 -0
  309. package/dist/chunks/headless-0.7.6-0624t1g9.mjs +2 -0
  310. package/dist/chunks/heapdump-0.7.6-0h7m92s6.mjs +6 -0
  311. package/dist/chunks/help-0.7.6-cgg68b97.mjs +1 -0
  312. package/dist/chunks/hookChains-0.7.6-r667d77r.mjs +3 -0
  313. package/dist/chunks/hooks-0.7.6-7tnwk63p.mjs +79 -0
  314. package/dist/chunks/hooks-0.7.6-btfaw4b9.mjs +1 -0
  315. package/dist/chunks/ide-0.7.6-fq0f5srk.mjs +3 -0
  316. package/dist/chunks/image-processor-napi-0.7.6-2ks1h23p.mjs +1 -0
  317. package/dist/chunks/inboundAttachments-0.7.6-femb5yew.mjs +1 -0
  318. package/dist/chunks/index-0.7.6-2rpgkwj4.mjs +9 -0
  319. package/dist/chunks/index-0.7.6-2zatk70c.mjs +1 -0
  320. package/dist/chunks/index-0.7.6-415hw608.mjs +1 -0
  321. package/dist/chunks/index-0.7.6-7wrzedvg.mjs +1 -0
  322. package/dist/chunks/index-0.7.6-98ws3n8p.mjs +1 -0
  323. package/dist/chunks/index-0.7.6-9k6nvjv8.mjs +1 -0
  324. package/dist/chunks/index-0.7.6-bbdqqv1x.mjs +1 -0
  325. package/dist/chunks/index-0.7.6-djapsy32.mjs +1 -0
  326. package/dist/chunks/index-0.7.6-efatyc79.mjs +17 -0
  327. package/dist/chunks/index-0.7.6-egyaf79a.mjs +5 -0
  328. package/dist/chunks/index-0.7.6-ew2v6b0x.mjs +1 -0
  329. package/dist/chunks/index-0.7.6-h2kqerxv.mjs +1 -0
  330. package/dist/chunks/index-0.7.6-h5xh1kf2.mjs +1 -0
  331. package/dist/chunks/index-0.7.6-jk32t8wg.mjs +1 -0
  332. package/dist/chunks/index-0.7.6-k60v4n8g.mjs +9 -0
  333. package/dist/chunks/index-0.7.6-kb22mqnf.mjs +2 -0
  334. package/dist/chunks/index-0.7.6-mj4y74z8.mjs +1 -0
  335. package/dist/chunks/index-0.7.6-pkyqwagx.mjs +1 -0
  336. package/dist/chunks/index-0.7.6-sdw9kjcj.mjs +1 -0
  337. package/dist/chunks/index-0.7.6-tc2zr05j.mjs +2 -0
  338. package/dist/chunks/index-0.7.6-tk8kmvah.mjs +1 -0
  339. package/dist/chunks/index-0.7.6-vhgb870z.mjs +1 -0
  340. package/dist/chunks/index-0.7.6-yndsc291.mjs +30 -0
  341. package/dist/chunks/init-0.7.6-w0mqjmeg.mjs +1 -0
  342. package/dist/chunks/initReplBridge-0.7.6-rf60qv0p.mjs +1 -0
  343. package/dist/chunks/ink-0.7.6-3eyfg9zt.mjs +1 -0
  344. package/dist/chunks/insights-0.7.6-7btcyfzb.mjs +870 -0
  345. package/dist/chunks/install-0.7.6-mdtm3sg3.mjs +1 -0
  346. package/dist/chunks/install-github-app-0.7.6-jvncztq4.mjs +149 -0
  347. package/dist/chunks/install-slack-app-0.7.6-yqkgptfz.mjs +1 -0
  348. package/dist/chunks/instrumentation-0.7.6-1ctp56r7.mjs +1 -0
  349. package/dist/chunks/interactiveHelpers-0.7.6-hnfccr2a.mjs +1 -0
  350. package/dist/chunks/keybindings-0.7.6-cm2a4esz.mjs +2 -0
  351. package/dist/chunks/knowledge-0.7.6-2m4hj4wv.mjs +2 -0
  352. package/dist/chunks/latestVersionCache-0.7.6-3p0jwsk1.mjs +1 -0
  353. package/dist/chunks/loadAgentsDir-0.7.6-7n8wpd6m.mjs +1 -0
  354. package/dist/chunks/loadPluginHooks-0.7.6-668vved3.mjs +1 -0
  355. package/dist/chunks/loadPluginHooks-0.7.6-fvexrndy.mjs +1 -0
  356. package/dist/chunks/log-0.7.6-n1gwe75k.mjs +1 -0
  357. package/dist/chunks/main-0.7.6-787at8bh.mjs +1 -0
  358. package/dist/chunks/managedEnv-0.7.6-b17rcr8m.mjs +1 -0
  359. package/dist/chunks/mcp-0.7.6-a2gt46m1.mjs +4 -0
  360. package/dist/chunks/mcp-0.7.6-ehgr4hy2.mjs +1 -0
  361. package/dist/chunks/mcp-0.7.6-z5yz782z.mjs +17 -0
  362. package/dist/chunks/mcpb-0.7.6-x3w00evk.mjs +1 -0
  363. package/dist/chunks/memory-0.7.6-ce56tv6x.mjs +3 -0
  364. package/dist/chunks/model-0.7.6-10bxpdy1.mjs +2 -0
  365. package/dist/chunks/model-0.7.6-463cgk44.mjs +1 -0
  366. package/dist/chunks/node-0.7.6-yq8nb00v.mjs +12 -0
  367. package/dist/chunks/oauth-0.7.6-bbgjzwfb.mjs +1 -0
  368. package/dist/chunks/openaiShim-0.7.6-kwwv7ntf.mjs +14 -0
  369. package/dist/chunks/output-style-0.7.6-cs808te7.mjs +1 -0
  370. package/dist/chunks/package-ZZWOLTXM-0.7.6-kjjaeshn.mjs +1 -0
  371. package/dist/chunks/parseConnectUrl-0.7.6-k3n1pn17.mjs +1 -0
  372. package/dist/chunks/parser-0.7.6-eae6w23n.mjs +1 -0
  373. package/dist/chunks/passes-0.7.6-k46cf658.mjs +1 -0
  374. package/dist/chunks/permissions-0.7.6-1nws00wm.mjs +1 -0
  375. package/dist/chunks/permissions-0.7.6-jq6ebtnw.mjs +3 -0
  376. package/dist/chunks/plan-0.7.6-ry44stze.mjs +1 -0
  377. package/dist/chunks/plist-0.7.6-0vee72zr.mjs +1 -0
  378. package/dist/chunks/plugin-0.7.6-vwa3avby.mjs +29 -0
  379. package/dist/chunks/pluginStartupCheck-0.7.6-wvmq9d6r.mjs +1 -0
  380. package/dist/chunks/plugins-0.7.6-sksmmrbb.mjs +9 -0
  381. package/dist/chunks/preActionHook-0.7.6-qtz2v7cq.mjs +2 -0
  382. package/dist/chunks/print-0.7.6-qddcs91f.mjs +57 -0
  383. package/dist/chunks/privacy-settings-0.7.6-5gzw6mn1.mjs +1 -0
  384. package/dist/chunks/process-0.7.6-6b1s37w1.mjs +1 -0
  385. package/dist/chunks/processBashCommand-0.7.6-yb92143k.mjs +1 -0
  386. package/dist/chunks/processSlashCommand-0.7.6-bc9jxvge.mjs +9 -0
  387. package/dist/chunks/prompt-0.7.6-sps6z4za.mjs +1 -0
  388. package/dist/chunks/prompt-0.7.6-t8yabss3.mjs +1 -0
  389. package/dist/chunks/prompts-0.7.6-x3ndp7gh.mjs +1 -0
  390. package/dist/chunks/protocolHandler-0.7.6-m1pgssvd.mjs +13 -0
  391. package/dist/chunks/provider-0.7.6-yxmt6yve.mjs +2 -0
  392. package/dist/chunks/providerProfiles-0.7.6-3027t9pt.mjs +1 -0
  393. package/dist/chunks/providerValidation-0.7.6-vpv75gd1.mjs +6 -0
  394. package/dist/chunks/rate-limit-options-0.7.6-6w5cdwx1.mjs +1 -0
  395. package/dist/chunks/registerSubcommands-0.7.6-vz4yvks2.mjs +34 -0
  396. package/dist/chunks/registry-0.7.6-gat54dy3.mjs +1 -0
  397. package/dist/chunks/release-notes-0.7.6-myz4h7d7.mjs +5 -0
  398. package/dist/chunks/reload-plugins-0.7.6-64w73d8b.mjs +2 -0
  399. package/dist/chunks/remote-env-0.7.6-zz9a22zn.mjs +1 -0
  400. package/dist/chunks/remoteBridgeCore-0.7.6-9mnzebzz.mjs +1 -0
  401. package/dist/chunks/remoteSession-0.7.6-0geea7cr.mjs +1 -0
  402. package/dist/chunks/rename-0.7.6-y40kz5p4.mjs +1 -0
  403. package/dist/chunks/replBridgeHandle-0.7.6-9q86nfkb.mjs +1 -0
  404. package/dist/chunks/replLauncher-0.7.6-appht20k.mjs +1 -0
  405. package/dist/chunks/resume-0.7.6-za9pttkz.mjs +2 -0
  406. package/dist/chunks/rewind-0.7.6-23eb1s5k.mjs +1 -0
  407. package/dist/chunks/rootOptions-0.7.6-89a7srwx.mjs +1 -0
  408. package/dist/chunks/sandbox-adapter-0.7.6-zxpg8tbn.mjs +1 -0
  409. package/dist/chunks/sandbox-toggle-0.7.6-12ddnvsb.mjs +1 -0
  410. package/dist/chunks/session-0.7.6-qtvc9q8w.mjs +2 -0
  411. package/dist/chunks/sessionDiscovery-0.7.6-d2h1v026.mjs +1 -0
  412. package/dist/chunks/sessionFileAccessHooks-0.7.6-j8rejm9s.mjs +1 -0
  413. package/dist/chunks/sessionStorage-0.7.6-whqhsy0v.mjs +1 -0
  414. package/dist/chunks/settings-0.7.6-d1x6h71y.mjs +1 -0
  415. package/dist/chunks/setup-0.7.6-f52y5q94.mjs +5 -0
  416. package/dist/chunks/sinks-0.7.6-p38qk6rn.mjs +1 -0
  417. package/dist/chunks/skills-0.7.6-4x49mjqs.mjs +1 -0
  418. package/dist/chunks/startupProfiler-0.7.6-kehr3zds.mjs +1 -0
  419. package/dist/chunks/startupUpdateCheck-0.7.6-m95yf5v2.mjs +1 -0
  420. package/dist/chunks/state-0.7.6-exkbe4vf.mjs +1 -0
  421. package/dist/chunks/stats-0.7.6-y4qxdfqk.mjs +6 -0
  422. package/dist/chunks/status-0.7.6-etkntf2w.mjs +1 -0
  423. package/dist/chunks/stickers-0.7.6-jfaby3j3.mjs +1 -0
  424. package/dist/chunks/subprocessEnv-0.7.6-2bme852w.mjs +1 -0
  425. package/dist/chunks/tasks-0.7.6-vc8j66yr.mjs +1 -0
  426. package/dist/chunks/teamHelpers-0.7.6-ax1nev6h.mjs +1 -0
  427. package/dist/chunks/teammateModeSnapshot-0.7.6-9tjnw4x3.mjs +1 -0
  428. package/dist/chunks/teleport-0.7.6-xjeqw992.mjs +1 -0
  429. package/dist/chunks/terminalSetup-0.7.6-cx56kmpg.mjs +1 -0
  430. package/dist/chunks/theme-0.7.6-artxd1km.mjs +1 -0
  431. package/dist/chunks/thinkback-0.7.6-ar7ssxsq.mjs +1 -0
  432. package/dist/chunks/thinkback-play-0.7.6-7d5g791f.mjs +1 -0
  433. package/dist/chunks/toolPool-0.7.6-58r85xft.mjs +1 -0
  434. package/dist/chunks/toolSearch-0.7.6-29hekpkv.mjs +1 -0
  435. package/dist/chunks/tools-0.7.6-6bhsctcm.mjs +1 -0
  436. package/dist/chunks/trustedDevice-0.7.6-aay0bw3y.mjs +1 -0
  437. package/dist/chunks/turndown.cjs-0.7.6-cfbcqt7b.mjs +69 -0
  438. package/dist/chunks/types-0.7.6-z2j2wxhd.mjs +1 -0
  439. package/dist/chunks/ultrareviewCommand-0.7.6-7w7yx7mv.mjs +4 -0
  440. package/dist/chunks/update-0.7.6-6s5hvmvc.mjs +86 -0
  441. package/dist/chunks/upgrade-0.7.6-nrvaa7qs.mjs +1 -0
  442. package/dist/chunks/upload-0.7.6-6880h5gd.mjs +7 -0
  443. package/dist/chunks/upstreamproxy-0.7.6-d4xfvwf7.mjs +14 -0
  444. package/dist/chunks/url-handler-napi-0.7.6-hcyxzqg6.mjs +1 -0
  445. package/dist/chunks/usage-0.7.6-vbbt70v9.mjs +1 -0
  446. package/dist/chunks/util-0.7.6-0cm7xj78.mjs +1 -0
  447. package/dist/chunks/utils-0.7.6-h3fwyhxw.mjs +1 -0
  448. package/dist/chunks/vim-0.7.6-k6evwpd5.mjs +1 -0
  449. package/dist/chunks/watcher-0.7.6-gc6rbcvg.mjs +1 -0
  450. package/dist/chunks/wiki-0.7.6-3sjbdwmf.mjs +132 -0
  451. package/dist/chunks/workflows-0.7.6-rg3kvwhe.mjs +1 -0
  452. package/dist/chunks/worktree-0.7.6-hhewj19d.mjs +1 -0
  453. package/dist/chunks/worktreeModeEnabled-0.7.6-a27ekdvp.mjs +1 -0
  454. package/dist/chunks/wrapper-0.7.6-01s6r78y.mjs +7 -0
  455. package/dist/claudin-vscode.vsix +0 -0
  456. package/dist/cli.mjs +2 -2
  457. package/package.json +7 -15
  458. package/dist/chunks/AgentTool-0.7.4-n3w81nr0.mjs +0 -1
  459. package/dist/chunks/App-0.7.4-f82nhj4b.mjs +0 -1
  460. package/dist/chunks/ApproveApiKey-0.7.4-27gdpx41.mjs +0 -1
  461. package/dist/chunks/AssistantSessionChooser-0.7.4-dfwr2199.mjs +0 -1
  462. package/dist/chunks/AutoModeOptInDialog-0.7.4-y9fxqce2.mjs +0 -1
  463. package/dist/chunks/BypassPermissionsModeDialog-0.7.4-vqmkfdv5.mjs +0 -1
  464. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.4-yya4exxc.mjs +0 -1
  465. package/dist/chunks/ConsoleOAuthFlow-0.7.4-pkmm3hrc.mjs +0 -1
  466. package/dist/chunks/DiffDialog-0.7.4-c524vxrv.mjs +0 -7
  467. package/dist/chunks/Doctor-0.7.4-pa6ms0qn.mjs +0 -1
  468. package/dist/chunks/ExplorerDialog-0.7.4-bmp67p2b.mjs +0 -6
  469. package/dist/chunks/Grove-0.7.4-9acw1m3r.mjs +0 -1
  470. package/dist/chunks/ITermBackend-0.7.4-dy75k5qx.mjs +0 -1
  471. package/dist/chunks/InvalidConfigDialog-0.7.4-8ra8bj22.mjs +0 -1
  472. package/dist/chunks/InvalidSettingsDialog-0.7.4-n4h644pz.mjs +0 -1
  473. package/dist/chunks/MigrationDialog-0.7.4-cnays88h.mjs +0 -1
  474. package/dist/chunks/Onboarding-0.7.4-fqvxpdtd.mjs +0 -1
  475. package/dist/chunks/ProviderManager-0.7.4-e21vv07m.mjs +0 -1
  476. package/dist/chunks/REPL-0.7.4-n38hda18.mjs +0 -1
  477. package/dist/chunks/ResumeConversation-0.7.4-f3xp8e01.mjs +0 -1
  478. package/dist/chunks/SnapshotUpdateDialog-0.7.4-39wyejgx.mjs +0 -1
  479. package/dist/chunks/TeleportProgress-0.7.4-6373v72h.mjs +0 -1
  480. package/dist/chunks/TeleportRepoMismatchDialog-0.7.4-y6km4665.mjs +0 -1
  481. package/dist/chunks/TeleportResumeWrapper-0.7.4-wh96svjn.mjs +0 -1
  482. package/dist/chunks/TmuxBackend-0.7.4-grwq5d7n.mjs +0 -9
  483. package/dist/chunks/ToolSearchTool-0.7.4-k0kt2bxp.mjs +0 -1
  484. package/dist/chunks/TrustDialog-0.7.4-xhgj5jat.mjs +0 -1
  485. package/dist/chunks/activeProvider-0.7.4-vzfmpvjc.mjs +0 -1
  486. package/dist/chunks/add-dir-0.7.4-mfwwzt70.mjs +0 -1
  487. package/dist/chunks/agentTypes-0.7.4-9fgk10yx.mjs +0 -1
  488. package/dist/chunks/agents-0.7.4-9fxas1pf.mjs +0 -110
  489. package/dist/chunks/agents-0.7.4-eart70kj.mjs +0 -3
  490. package/dist/chunks/api-0.7.4-eqsmhts7.mjs +0 -1
  491. package/dist/chunks/asciicast-0.7.4-900ptry2.mjs +0 -1
  492. package/dist/chunks/assistant-0.7.4-qp02hgvg.mjs +0 -1
  493. package/dist/chunks/auth-0.7.4-ccf1t8td.mjs +0 -1
  494. package/dist/chunks/auth-0.7.4-tzph01c0.mjs +0 -1
  495. package/dist/chunks/autoMode-0.7.4-5m9bs574.mjs +0 -48
  496. package/dist/chunks/autoUpdater-0.7.4-s4krk2je.mjs +0 -1
  497. package/dist/chunks/backgroundHousekeeping-0.7.4-zqytsqmx.mjs +0 -1
  498. package/dist/chunks/branch-0.7.4-29eypmvg.mjs +0 -4
  499. package/dist/chunks/bridge-0.7.4-45nq3nxm.mjs +0 -2
  500. package/dist/chunks/bridgeConfig-0.7.4-fb2nwbxq.mjs +0 -1
  501. package/dist/chunks/bridgeEnabled-0.7.4-rreg4xyn.mjs +0 -1
  502. package/dist/chunks/bridgeMain-0.7.4-m4rjydb5.mjs +0 -88
  503. package/dist/chunks/bridgePointer-0.7.4-mjexaxq5.mjs +0 -1
  504. package/dist/chunks/btw-0.7.4-rw5186va.mjs +0 -1
  505. package/dist/chunks/buddy-0.7.4-mwgfqb1k.mjs +0 -3
  506. package/dist/chunks/cacache-0.7.4-254mqspw.mjs +0 -1
  507. package/dist/chunks/cache-probe-0.7.4-kjrs8qh8.mjs +0 -21
  508. package/dist/chunks/cacheStats-0.7.4-2pfk76t7.mjs +0 -4
  509. package/dist/chunks/caches-0.7.4-qjs93vrb.mjs +0 -1
  510. package/dist/chunks/claudeDesktop-0.7.4-e2h7mp9r.mjs +0 -1
  511. package/dist/chunks/claudemd-0.7.4-tv76d8c5.mjs +0 -1
  512. package/dist/chunks/clear-0.7.4-2qt378q0.mjs +0 -1
  513. package/dist/chunks/clearTerminal-0.7.4-5jfekabd.mjs +0 -1
  514. package/dist/chunks/cli-0.7.4-00n6rj7y.mjs +0 -3
  515. package/dist/chunks/cli-0.7.4-0a7934k3.mjs +0 -21
  516. package/dist/chunks/cli-0.7.4-0a9kv7ps.mjs +0 -2
  517. package/dist/chunks/cli-0.7.4-0c1vbfmd.mjs +0 -2
  518. package/dist/chunks/cli-0.7.4-0h9b4tge.mjs +0 -2
  519. package/dist/chunks/cli-0.7.4-0thtf513.mjs +0 -2
  520. package/dist/chunks/cli-0.7.4-0ytxwr14.mjs +0 -2
  521. package/dist/chunks/cli-0.7.4-12k33ng9.mjs +0 -2
  522. package/dist/chunks/cli-0.7.4-15xs793c.mjs +0 -2
  523. package/dist/chunks/cli-0.7.4-1ba5bwdq.mjs +0 -42
  524. package/dist/chunks/cli-0.7.4-1tkzz9x6.mjs +0 -5469
  525. package/dist/chunks/cli-0.7.4-2apswqf5.mjs +0 -59
  526. package/dist/chunks/cli-0.7.4-2fxnz89x.mjs +0 -6
  527. package/dist/chunks/cli-0.7.4-2haqz80h.mjs +0 -16
  528. package/dist/chunks/cli-0.7.4-2p5w6279.mjs +0 -45
  529. package/dist/chunks/cli-0.7.4-33k7j18b.mjs +0 -3
  530. package/dist/chunks/cli-0.7.4-3e7assg4.mjs +0 -2
  531. package/dist/chunks/cli-0.7.4-3gn2tfsb.mjs +0 -2
  532. package/dist/chunks/cli-0.7.4-40m5mk3s.mjs +0 -2
  533. package/dist/chunks/cli-0.7.4-47nyf9j2.mjs +0 -2
  534. package/dist/chunks/cli-0.7.4-489pp4nd.mjs +0 -2
  535. package/dist/chunks/cli-0.7.4-4a6hn01n.mjs +0 -133
  536. package/dist/chunks/cli-0.7.4-4br84c8j.mjs +0 -2
  537. package/dist/chunks/cli-0.7.4-4ee9swqr.mjs +0 -2
  538. package/dist/chunks/cli-0.7.4-4pagjrxs.mjs +0 -18
  539. package/dist/chunks/cli-0.7.4-4sh782tn.mjs +0 -2
  540. package/dist/chunks/cli-0.7.4-507dp6s1.mjs +0 -2
  541. package/dist/chunks/cli-0.7.4-510c371d.mjs +0 -12
  542. package/dist/chunks/cli-0.7.4-51t8p2qe.mjs +0 -2
  543. package/dist/chunks/cli-0.7.4-533hdyc8.mjs +0 -2
  544. package/dist/chunks/cli-0.7.4-53k7apn9.mjs +0 -2
  545. package/dist/chunks/cli-0.7.4-58p1wenr.mjs +0 -2
  546. package/dist/chunks/cli-0.7.4-5fjrbavz.mjs +0 -2
  547. package/dist/chunks/cli-0.7.4-5k1t5jcn.mjs +0 -2
  548. package/dist/chunks/cli-0.7.4-61etrp8x.mjs +0 -2
  549. package/dist/chunks/cli-0.7.4-61svw97d.mjs +0 -3
  550. package/dist/chunks/cli-0.7.4-6265e9tz.mjs +0 -2
  551. package/dist/chunks/cli-0.7.4-62ac47x8.mjs +0 -2
  552. package/dist/chunks/cli-0.7.4-66p94pps.mjs +0 -3
  553. package/dist/chunks/cli-0.7.4-68dbzpkf.mjs +0 -3
  554. package/dist/chunks/cli-0.7.4-6cft4ytf.mjs +0 -15
  555. package/dist/chunks/cli-0.7.4-6n295sx3.mjs +0 -2
  556. package/dist/chunks/cli-0.7.4-6sqa761d.mjs +0 -2
  557. package/dist/chunks/cli-0.7.4-6tvnyqjj.mjs +0 -2
  558. package/dist/chunks/cli-0.7.4-6zr3mpvn.mjs +0 -2
  559. package/dist/chunks/cli-0.7.4-729n63er.mjs +0 -2
  560. package/dist/chunks/cli-0.7.4-7ftm6c0s.mjs +0 -26
  561. package/dist/chunks/cli-0.7.4-7k74b1yf.mjs +0 -1
  562. package/dist/chunks/cli-0.7.4-7mzefe20.mjs +0 -2
  563. package/dist/chunks/cli-0.7.4-7t2zsdm5.mjs +0 -2
  564. package/dist/chunks/cli-0.7.4-7tr153ha.mjs +0 -2
  565. package/dist/chunks/cli-0.7.4-7wr3z77e.mjs +0 -2
  566. package/dist/chunks/cli-0.7.4-85txq06q.mjs +0 -2
  567. package/dist/chunks/cli-0.7.4-8hskaxte.mjs +0 -2
  568. package/dist/chunks/cli-0.7.4-8nss0n1a.mjs +0 -25
  569. package/dist/chunks/cli-0.7.4-8vd2zhhw.mjs +0 -2
  570. package/dist/chunks/cli-0.7.4-8wbk60h9.mjs +0 -2
  571. package/dist/chunks/cli-0.7.4-8xxafyv0.mjs +0 -18
  572. package/dist/chunks/cli-0.7.4-90d95m4d.mjs +0 -2
  573. package/dist/chunks/cli-0.7.4-9kf16ber.mjs +0 -2
  574. package/dist/chunks/cli-0.7.4-9kzgbrwj.mjs +0 -2
  575. package/dist/chunks/cli-0.7.4-9r1s7xtv.mjs +0 -6
  576. package/dist/chunks/cli-0.7.4-9vph2ayc.mjs +0 -2
  577. package/dist/chunks/cli-0.7.4-9zsty6c5.mjs +0 -2
  578. package/dist/chunks/cli-0.7.4-abs9vv3n.mjs +0 -2
  579. package/dist/chunks/cli-0.7.4-ae96heq4.mjs +0 -2
  580. package/dist/chunks/cli-0.7.4-ahm3gnaw.mjs +0 -2
  581. package/dist/chunks/cli-0.7.4-akf6rhsn.mjs +0 -4
  582. package/dist/chunks/cli-0.7.4-aswaa5m4.mjs +0 -2
  583. package/dist/chunks/cli-0.7.4-at2fkgpk.mjs +0 -2
  584. package/dist/chunks/cli-0.7.4-b5qdnvdg.mjs +0 -2
  585. package/dist/chunks/cli-0.7.4-bh4xsr2c.mjs +0 -4
  586. package/dist/chunks/cli-0.7.4-bkgx5wz7.mjs +0 -2
  587. package/dist/chunks/cli-0.7.4-bmw3qchp.mjs +0 -2
  588. package/dist/chunks/cli-0.7.4-bqk5rkrz.mjs +0 -2
  589. package/dist/chunks/cli-0.7.4-c0e99xn9.mjs +0 -24
  590. package/dist/chunks/cli-0.7.4-cfsjq69q.mjs +0 -2
  591. package/dist/chunks/cli-0.7.4-d82gqb10.mjs +0 -2
  592. package/dist/chunks/cli-0.7.4-d9y5wx3y.mjs +0 -2
  593. package/dist/chunks/cli-0.7.4-da69w12w.mjs +0 -3
  594. package/dist/chunks/cli-0.7.4-deyaxrbc.mjs +0 -2
  595. package/dist/chunks/cli-0.7.4-djbdmzgq.mjs +0 -2
  596. package/dist/chunks/cli-0.7.4-dwjhqjan.mjs +0 -2
  597. package/dist/chunks/cli-0.7.4-e2bhfh6d.mjs +0 -2
  598. package/dist/chunks/cli-0.7.4-ee9ansx1.mjs +0 -24
  599. package/dist/chunks/cli-0.7.4-eg7xj51b.mjs +0 -2
  600. package/dist/chunks/cli-0.7.4-egc286gx.mjs +0 -2
  601. package/dist/chunks/cli-0.7.4-ejm88apc.mjs +0 -2
  602. package/dist/chunks/cli-0.7.4-emdbzgja.mjs +0 -2
  603. package/dist/chunks/cli-0.7.4-en1ggcz7.mjs +0 -2
  604. package/dist/chunks/cli-0.7.4-evtmfc7t.mjs +0 -2
  605. package/dist/chunks/cli-0.7.4-f23ty9s6.mjs +0 -39
  606. package/dist/chunks/cli-0.7.4-f8qmyn41.mjs +0 -4
  607. package/dist/chunks/cli-0.7.4-fhgnbfvj.mjs +0 -2
  608. package/dist/chunks/cli-0.7.4-g9hc44qq.mjs +0 -2
  609. package/dist/chunks/cli-0.7.4-g9w5x5ns.mjs +0 -4
  610. package/dist/chunks/cli-0.7.4-ge77h9d7.mjs +0 -2
  611. package/dist/chunks/cli-0.7.4-ghq0kwkv.mjs +0 -2
  612. package/dist/chunks/cli-0.7.4-gjn70n3p.mjs +0 -2
  613. package/dist/chunks/cli-0.7.4-gr1feczd.mjs +0 -2
  614. package/dist/chunks/cli-0.7.4-gxccpbef.mjs +0 -3
  615. package/dist/chunks/cli-0.7.4-h0ze5j97.mjs +0 -2
  616. package/dist/chunks/cli-0.7.4-h24m11yy.mjs +0 -2
  617. package/dist/chunks/cli-0.7.4-h5274d0h.mjs +0 -2
  618. package/dist/chunks/cli-0.7.4-h57hq23q.mjs +0 -2
  619. package/dist/chunks/cli-0.7.4-h5wxsd2h.mjs +0 -9
  620. package/dist/chunks/cli-0.7.4-h94hrj45.mjs +0 -2
  621. package/dist/chunks/cli-0.7.4-hayqy916.mjs +0 -2
  622. package/dist/chunks/cli-0.7.4-hegk157e.mjs +0 -6
  623. package/dist/chunks/cli-0.7.4-hnfm0p8b.mjs +0 -2
  624. package/dist/chunks/cli-0.7.4-hsa9khw7.mjs +0 -17
  625. package/dist/chunks/cli-0.7.4-hvnq08bj.mjs +0 -24
  626. package/dist/chunks/cli-0.7.4-hvnzwb5v.mjs +0 -194
  627. package/dist/chunks/cli-0.7.4-hvs3h0hc.mjs +0 -3
  628. package/dist/chunks/cli-0.7.4-hw93j7vq.mjs +0 -2
  629. package/dist/chunks/cli-0.7.4-hz7s1rtn.mjs +0 -2
  630. package/dist/chunks/cli-0.7.4-jg5ajbyb.mjs +0 -2
  631. package/dist/chunks/cli-0.7.4-jgg33mak.mjs +0 -2
  632. package/dist/chunks/cli-0.7.4-jgswqtvj.mjs +0 -3
  633. package/dist/chunks/cli-0.7.4-k735e5sg.mjs +0 -133
  634. package/dist/chunks/cli-0.7.4-k7s78hkt.mjs +0 -58
  635. package/dist/chunks/cli-0.7.4-kmgvx19r.mjs +0 -5
  636. package/dist/chunks/cli-0.7.4-kmxpdkne.mjs +0 -2
  637. package/dist/chunks/cli-0.7.4-kpp23hbz.mjs +0 -2
  638. package/dist/chunks/cli-0.7.4-kz0h2jkr.mjs +0 -15
  639. package/dist/chunks/cli-0.7.4-m1f3fc2v.mjs +0 -2
  640. package/dist/chunks/cli-0.7.4-m2yz2rtr.mjs +0 -2
  641. package/dist/chunks/cli-0.7.4-m6n2gga8.mjs +0 -4
  642. package/dist/chunks/cli-0.7.4-mdv26096.mjs +0 -6
  643. package/dist/chunks/cli-0.7.4-mg4yp3b0.mjs +0 -2
  644. package/dist/chunks/cli-0.7.4-mmzkb167.mjs +0 -2
  645. package/dist/chunks/cli-0.7.4-mq3qzben.mjs +0 -2
  646. package/dist/chunks/cli-0.7.4-mqbmk6y6.mjs +0 -4
  647. package/dist/chunks/cli-0.7.4-n9arxrya.mjs +0 -12
  648. package/dist/chunks/cli-0.7.4-naanktx2.mjs +0 -34
  649. package/dist/chunks/cli-0.7.4-nbnqrjgm.mjs +0 -2
  650. package/dist/chunks/cli-0.7.4-nnd4g2nm.mjs +0 -2
  651. package/dist/chunks/cli-0.7.4-nst28yat.mjs +0 -2
  652. package/dist/chunks/cli-0.7.4-p85h0qry.mjs +0 -17
  653. package/dist/chunks/cli-0.7.4-pgtn2eay.mjs +0 -2
  654. package/dist/chunks/cli-0.7.4-pjfb6eq2.mjs +0 -2
  655. package/dist/chunks/cli-0.7.4-pyyaz246.mjs +0 -2
  656. package/dist/chunks/cli-0.7.4-q23avgwg.mjs +0 -2
  657. package/dist/chunks/cli-0.7.4-q4g37dxk.mjs +0 -2
  658. package/dist/chunks/cli-0.7.4-q4q5x19y.mjs +0 -2
  659. package/dist/chunks/cli-0.7.4-q83h4xz7.mjs +0 -10
  660. package/dist/chunks/cli-0.7.4-qcc7kfkv.mjs +0 -2
  661. package/dist/chunks/cli-0.7.4-qcqz94w2.mjs +0 -2
  662. package/dist/chunks/cli-0.7.4-qjfmn9db.mjs +0 -2
  663. package/dist/chunks/cli-0.7.4-r0fkpzp3.mjs +0 -2
  664. package/dist/chunks/cli-0.7.4-r0nqh5aw.mjs +0 -2
  665. package/dist/chunks/cli-0.7.4-r1ebyx3p.mjs +0 -2
  666. package/dist/chunks/cli-0.7.4-r6ste2g4.mjs +0 -2
  667. package/dist/chunks/cli-0.7.4-rn8x06p3.mjs +0 -2
  668. package/dist/chunks/cli-0.7.4-rr7x6s9y.mjs +0 -2
  669. package/dist/chunks/cli-0.7.4-rskynrc5.mjs +0 -4
  670. package/dist/chunks/cli-0.7.4-rszd2m9d.mjs +0 -3
  671. package/dist/chunks/cli-0.7.4-rts5twex.mjs +0 -2
  672. package/dist/chunks/cli-0.7.4-rxsb2bkg.mjs +0 -2
  673. package/dist/chunks/cli-0.7.4-rzkdke3e.mjs +0 -4
  674. package/dist/chunks/cli-0.7.4-s97t3v7z.mjs +0 -2
  675. package/dist/chunks/cli-0.7.4-sm8wf8qx.mjs +0 -67
  676. package/dist/chunks/cli-0.7.4-sw7nh3hq.mjs +0 -2
  677. package/dist/chunks/cli-0.7.4-sxvnky38.mjs +0 -2
  678. package/dist/chunks/cli-0.7.4-syg2nab8.mjs +0 -18
  679. package/dist/chunks/cli-0.7.4-t68xf0hs.mjs +0 -2
  680. package/dist/chunks/cli-0.7.4-tcwf7yvv.mjs +0 -2
  681. package/dist/chunks/cli-0.7.4-te9nvehv.mjs +0 -2
  682. package/dist/chunks/cli-0.7.4-tkcchh6p.mjs +0 -2
  683. package/dist/chunks/cli-0.7.4-tme1sywb.mjs +0 -2
  684. package/dist/chunks/cli-0.7.4-tny04z8h.mjs +0 -2
  685. package/dist/chunks/cli-0.7.4-tsf2s2bg.mjs +0 -2
  686. package/dist/chunks/cli-0.7.4-tz5hgphm.mjs +0 -3
  687. package/dist/chunks/cli-0.7.4-v70q1qwp.mjs +0 -2
  688. package/dist/chunks/cli-0.7.4-ve6x1t8v.mjs +0 -5
  689. package/dist/chunks/cli-0.7.4-vq696c8w.mjs +0 -2
  690. package/dist/chunks/cli-0.7.4-vtnqj21e.mjs +0 -2
  691. package/dist/chunks/cli-0.7.4-vw2w38z0.mjs +0 -2
  692. package/dist/chunks/cli-0.7.4-wa74g17n.mjs +0 -2
  693. package/dist/chunks/cli-0.7.4-wb89zsbs.mjs +0 -2
  694. package/dist/chunks/cli-0.7.4-wes9w04e.mjs +0 -2
  695. package/dist/chunks/cli-0.7.4-wh44hxq2.mjs +0 -5
  696. package/dist/chunks/cli-0.7.4-wmw8fpv7.mjs +0 -12
  697. package/dist/chunks/cli-0.7.4-wtz9ed9r.mjs +0 -2
  698. package/dist/chunks/cli-0.7.4-wv6x6pzr.mjs +0 -50
  699. package/dist/chunks/cli-0.7.4-x1w88hnn.mjs +0 -12
  700. package/dist/chunks/cli-0.7.4-x5fcmgcd.mjs +0 -4
  701. package/dist/chunks/cli-0.7.4-xgw8jjs2.mjs +0 -2
  702. package/dist/chunks/cli-0.7.4-xhw7cmg0.mjs +0 -2
  703. package/dist/chunks/cli-0.7.4-xt87yshe.mjs +0 -20
  704. package/dist/chunks/cli-0.7.4-y3z3j4d9.mjs +0 -8
  705. package/dist/chunks/cli-0.7.4-y4w46256.mjs +0 -2
  706. package/dist/chunks/cli-0.7.4-y7sxx7d0.mjs +0 -2
  707. package/dist/chunks/cli-0.7.4-ybvnfxcf.mjs +0 -4
  708. package/dist/chunks/cli-0.7.4-yces9dz7.mjs +0 -2
  709. package/dist/chunks/cli-0.7.4-yjqyy8n2.mjs +0 -2
  710. package/dist/chunks/cli-0.7.4-yrbhzggw.mjs +0 -3
  711. package/dist/chunks/cli-0.7.4-yvdbdncp.mjs +0 -2
  712. package/dist/chunks/cli-0.7.4-z1vgf16g.mjs +0 -25
  713. package/dist/chunks/cli-0.7.4-z48enz4n.mjs +0 -2
  714. package/dist/chunks/cli-0.7.4-z88n7a08.mjs +0 -2
  715. package/dist/chunks/cli-0.7.4-za9xa1j8.mjs +0 -3
  716. package/dist/chunks/cli-0.7.4-zaa684f4.mjs +0 -15
  717. package/dist/chunks/cli-0.7.4-zbdceewq.mjs +0 -7
  718. package/dist/chunks/cli-0.7.4-zdkph0g9.mjs +0 -2
  719. package/dist/chunks/cli-0.7.4-zzze6t7f.mjs +0 -2
  720. package/dist/chunks/client-0.7.4-hxpb2apz.mjs +0 -1
  721. package/dist/chunks/color-0.7.4-pkanvtan.mjs +0 -1
  722. package/dist/chunks/compact-0.7.4-sjz49brs.mjs +0 -3
  723. package/dist/chunks/config-0.7.4-f5dgrp7x.mjs +0 -1
  724. package/dist/chunks/config-0.7.4-mc1mvka6.mjs +0 -1
  725. package/dist/chunks/constants-0.7.4-q426cgcp.mjs +0 -1
  726. package/dist/chunks/context-0.7.4-ssay296s.mjs +0 -1
  727. package/dist/chunks/context-noninteractive-0.7.4-y9y9az38.mjs +0 -1
  728. package/dist/chunks/conversation-0.7.4-m00s33jt.mjs +0 -1
  729. package/dist/chunks/copilotHeaders-0.7.4-pv50vnpq.mjs +0 -1
  730. package/dist/chunks/copy-0.7.4-ktk8gabv.mjs +0 -9
  731. package/dist/chunks/cost-0.7.4-r3td1n69.mjs +0 -1
  732. package/dist/chunks/createSSHSession-0.7.4-hhqxxfmb.mjs +0 -1
  733. package/dist/chunks/createSession-0.7.4-ebs0k8yt.mjs +0 -1
  734. package/dist/chunks/debug-0.7.4-0nebad2s.mjs +0 -1
  735. package/dist/chunks/defaultActionDeps-0.7.4-jbzptdbp.mjs +0 -1446
  736. package/dist/chunks/desktop-0.7.4-fmsm731w.mjs +0 -1
  737. package/dist/chunks/detectRepository-0.7.4-qse5a13f.mjs +0 -1
  738. package/dist/chunks/detection-0.7.4-a7c8arz9.mjs +0 -1
  739. package/dist/chunks/diff-0.7.4-ayakpeyz.mjs +0 -1
  740. package/dist/chunks/doctor-0.7.4-hwhyhjfr.mjs +0 -1
  741. package/dist/chunks/doctorDiagnostic-0.7.4-qm9knj52.mjs +0 -1
  742. package/dist/chunks/earlyInput-0.7.4-x3ysj16t.mjs +0 -1
  743. package/dist/chunks/effort-0.7.4-1sv0dhhk.mjs +0 -10
  744. package/dist/chunks/engine-0.7.4-gz82afzv.mjs +0 -1
  745. package/dist/chunks/envLessBridgeConfig-0.7.4-q1h5p7jv.mjs +0 -1
  746. package/dist/chunks/envUtils-0.7.4-ww7aa64y.mjs +0 -1
  747. package/dist/chunks/environmentSelection-0.7.4-r3g0hp0m.mjs +0 -1
  748. package/dist/chunks/environments-0.7.4-8n2fat2s.mjs +0 -1
  749. package/dist/chunks/errors-0.7.4-v9nwybq7.mjs +0 -1
  750. package/dist/chunks/exampleCommands-0.7.4-80n656nx.mjs +0 -1
  751. package/dist/chunks/exit-0.7.4-zmzt7mx8.mjs +0 -1
  752. package/dist/chunks/explorer-0.7.4-1knjqbak.mjs +0 -1
  753. package/dist/chunks/export-0.7.4-8b909kg4.mjs +0 -2
  754. package/dist/chunks/extra-usage-0.7.4-gwxf43jr.mjs +0 -1
  755. package/dist/chunks/extra-usage-noninteractive-0.7.4-vntrq9c8.mjs +0 -1
  756. package/dist/chunks/fast-0.7.4-7d198jes.mjs +0 -1
  757. package/dist/chunks/feedback-0.7.4-5q49cx0k.mjs +0 -14
  758. package/dist/chunks/firstPartyEventLogger-0.7.4-w1471f1j.mjs +0 -1
  759. package/dist/chunks/git-0.7.4-qm9bjwe1.mjs +0 -1
  760. package/dist/chunks/githubModelsCredentials-0.7.4-ecrp7kdj.mjs +0 -1
  761. package/dist/chunks/goal-0.7.4-ce3ysbxg.mjs +0 -4
  762. package/dist/chunks/grove-0.7.4-20a0nspg.mjs +0 -1
  763. package/dist/chunks/growthbook-0.7.4-85m0qnfn.mjs +0 -1
  764. package/dist/chunks/headless-0.7.4-g1me8a7s.mjs +0 -2
  765. package/dist/chunks/heapdump-0.7.4-sgk3zw0t.mjs +0 -6
  766. package/dist/chunks/help-0.7.4-aw6p8ena.mjs +0 -1
  767. package/dist/chunks/hookChains-0.7.4-3eqqv9t2.mjs +0 -3
  768. package/dist/chunks/hooks-0.7.4-q1wrys2h.mjs +0 -79
  769. package/dist/chunks/hooks-0.7.4-v782ktbj.mjs +0 -1
  770. package/dist/chunks/ide-0.7.4-nvtd5hpv.mjs +0 -3
  771. package/dist/chunks/image-processor-napi-0.7.4-a0arvwvs.mjs +0 -1
  772. package/dist/chunks/inboundAttachments-0.7.4-9hxndvnx.mjs +0 -1
  773. package/dist/chunks/index-0.7.4-0atnj624.mjs +0 -1
  774. package/dist/chunks/index-0.7.4-3yc5n58n.mjs +0 -1
  775. package/dist/chunks/index-0.7.4-46qessxk.mjs +0 -1
  776. package/dist/chunks/index-0.7.4-5x44zrgw.mjs +0 -2
  777. package/dist/chunks/index-0.7.4-97t4afz3.mjs +0 -1
  778. package/dist/chunks/index-0.7.4-9rhxb7ph.mjs +0 -1
  779. package/dist/chunks/index-0.7.4-9z6mgm05.mjs +0 -2
  780. package/dist/chunks/index-0.7.4-adfj0wz0.mjs +0 -1
  781. package/dist/chunks/index-0.7.4-bv491fah.mjs +0 -5
  782. package/dist/chunks/index-0.7.4-cxv3b9bg.mjs +0 -1
  783. package/dist/chunks/index-0.7.4-d7jstqgp.mjs +0 -1
  784. package/dist/chunks/index-0.7.4-fxa74szv.mjs +0 -1
  785. package/dist/chunks/index-0.7.4-hh3v0qz8.mjs +0 -1
  786. package/dist/chunks/index-0.7.4-kkcp2c2w.mjs +0 -9
  787. package/dist/chunks/index-0.7.4-n3dcdt88.mjs +0 -1
  788. package/dist/chunks/index-0.7.4-p8ts8cvg.mjs +0 -1
  789. package/dist/chunks/index-0.7.4-pamx7cgj.mjs +0 -17
  790. package/dist/chunks/index-0.7.4-pvvgj6g7.mjs +0 -1
  791. package/dist/chunks/index-0.7.4-rhf5p3mf.mjs +0 -1
  792. package/dist/chunks/index-0.7.4-rzztd31r.mjs +0 -1
  793. package/dist/chunks/index-0.7.4-sajaaw7k.mjs +0 -30
  794. package/dist/chunks/index-0.7.4-xdq0jf9r.mjs +0 -1
  795. package/dist/chunks/index-0.7.4-z3z8qmah.mjs +0 -9
  796. package/dist/chunks/init-0.7.4-4e9zty2q.mjs +0 -1
  797. package/dist/chunks/initReplBridge-0.7.4-yrparcz7.mjs +0 -1
  798. package/dist/chunks/ink-0.7.4-r1261h4c.mjs +0 -1
  799. package/dist/chunks/insights-0.7.4-t5dmav2c.mjs +0 -870
  800. package/dist/chunks/install-0.7.4-09cxj9vb.mjs +0 -1
  801. package/dist/chunks/install-github-app-0.7.4-hv9wkbxq.mjs +0 -149
  802. package/dist/chunks/install-slack-app-0.7.4-hgnea2d6.mjs +0 -1
  803. package/dist/chunks/instrumentation-0.7.4-17ca7p44.mjs +0 -1
  804. package/dist/chunks/interactiveHelpers-0.7.4-8jxj468e.mjs +0 -1
  805. package/dist/chunks/keybindings-0.7.4-raw68sen.mjs +0 -2
  806. package/dist/chunks/knowledge-0.7.4-xg9wb8wf.mjs +0 -2
  807. package/dist/chunks/latestVersionCache-0.7.4-60ks5x17.mjs +0 -1
  808. package/dist/chunks/loadAgentsDir-0.7.4-fg72pr2c.mjs +0 -1
  809. package/dist/chunks/loadPluginHooks-0.7.4-anp72ngw.mjs +0 -1
  810. package/dist/chunks/loadPluginHooks-0.7.4-jsx8r8aw.mjs +0 -1
  811. package/dist/chunks/log-0.7.4-12x7gw8q.mjs +0 -1
  812. package/dist/chunks/main-0.7.4-q6k044gc.mjs +0 -1
  813. package/dist/chunks/managedEnv-0.7.4-74e7mhhm.mjs +0 -1
  814. package/dist/chunks/mcp-0.7.4-4sr5rcvc.mjs +0 -17
  815. package/dist/chunks/mcp-0.7.4-9g6a64bt.mjs +0 -4
  816. package/dist/chunks/mcp-0.7.4-z4k2mzgy.mjs +0 -1
  817. package/dist/chunks/mcpb-0.7.4-jxskcyd8.mjs +0 -1
  818. package/dist/chunks/memory-0.7.4-541b29se.mjs +0 -3
  819. package/dist/chunks/model-0.7.4-mxvb5p7w.mjs +0 -2
  820. package/dist/chunks/model-0.7.4-nc7qk972.mjs +0 -1
  821. package/dist/chunks/node-0.7.4-hg387vyg.mjs +0 -12
  822. package/dist/chunks/oauth-0.7.4-e4sc7m0w.mjs +0 -1
  823. package/dist/chunks/openaiShim-0.7.4-mwtq6jnq.mjs +0 -14
  824. package/dist/chunks/output-style-0.7.4-b3vewghm.mjs +0 -1
  825. package/dist/chunks/package-GCDC7LJR-0.7.4-1e6194dg.mjs +0 -1
  826. package/dist/chunks/parseConnectUrl-0.7.4-46v5dfsp.mjs +0 -1
  827. package/dist/chunks/parser-0.7.4-2wt2btdd.mjs +0 -1
  828. package/dist/chunks/passes-0.7.4-182xeaj4.mjs +0 -1
  829. package/dist/chunks/permissions-0.7.4-hbqjvate.mjs +0 -3
  830. package/dist/chunks/permissions-0.7.4-qxf6e5nd.mjs +0 -1
  831. package/dist/chunks/plan-0.7.4-t5djkwkz.mjs +0 -1
  832. package/dist/chunks/plist-0.7.4-98g5pq7j.mjs +0 -1
  833. package/dist/chunks/plugin-0.7.4-0kmdzd88.mjs +0 -29
  834. package/dist/chunks/pluginStartupCheck-0.7.4-f1kq85sa.mjs +0 -1
  835. package/dist/chunks/plugins-0.7.4-52qggqw3.mjs +0 -9
  836. package/dist/chunks/preActionHook-0.7.4-qdyv0zgd.mjs +0 -2
  837. package/dist/chunks/print-0.7.4-1y1eqyhp.mjs +0 -57
  838. package/dist/chunks/privacy-settings-0.7.4-jrr06fw8.mjs +0 -1
  839. package/dist/chunks/process-0.7.4-bh0fjdst.mjs +0 -1
  840. package/dist/chunks/processBashCommand-0.7.4-8j3chrnm.mjs +0 -1
  841. package/dist/chunks/processSlashCommand-0.7.4-j53jaae7.mjs +0 -9
  842. package/dist/chunks/prompt-0.7.4-6eskezm8.mjs +0 -1
  843. package/dist/chunks/prompt-0.7.4-bnhsjhx3.mjs +0 -1
  844. package/dist/chunks/prompts-0.7.4-vevq7ae1.mjs +0 -1
  845. package/dist/chunks/protocolHandler-0.7.4-s4j6aeqh.mjs +0 -13
  846. package/dist/chunks/provider-0.7.4-jvtch160.mjs +0 -2
  847. package/dist/chunks/providerProfiles-0.7.4-yqetgvnq.mjs +0 -1
  848. package/dist/chunks/providerValidation-0.7.4-g6enpya6.mjs +0 -6
  849. package/dist/chunks/rate-limit-options-0.7.4-cwnmpqq9.mjs +0 -1
  850. package/dist/chunks/registerSubcommands-0.7.4-z1bdpgwx.mjs +0 -34
  851. package/dist/chunks/registry-0.7.4-5tne3d7e.mjs +0 -1
  852. package/dist/chunks/release-notes-0.7.4-sdsbw8s6.mjs +0 -5
  853. package/dist/chunks/reload-plugins-0.7.4-8fpph071.mjs +0 -2
  854. package/dist/chunks/remote-env-0.7.4-b1mzf95y.mjs +0 -1
  855. package/dist/chunks/remoteBridgeCore-0.7.4-9psc4fph.mjs +0 -1
  856. package/dist/chunks/remoteSession-0.7.4-8q76j945.mjs +0 -1
  857. package/dist/chunks/rename-0.7.4-x6q5drmn.mjs +0 -1
  858. package/dist/chunks/replBridgeHandle-0.7.4-dnp2by0g.mjs +0 -1
  859. package/dist/chunks/replLauncher-0.7.4-ztr3sg2j.mjs +0 -1
  860. package/dist/chunks/resume-0.7.4-zg3nxxte.mjs +0 -2
  861. package/dist/chunks/rewind-0.7.4-9j0zbj9a.mjs +0 -1
  862. package/dist/chunks/rootOptions-0.7.4-jrktzb1h.mjs +0 -1
  863. package/dist/chunks/sandbox-adapter-0.7.4-h71dwt2q.mjs +0 -1
  864. package/dist/chunks/sandbox-toggle-0.7.4-ks8gnbp8.mjs +0 -1
  865. package/dist/chunks/session-0.7.4-vc75bjkq.mjs +0 -2
  866. package/dist/chunks/sessionDiscovery-0.7.4-aqvmyy21.mjs +0 -1
  867. package/dist/chunks/sessionFileAccessHooks-0.7.4-7rw6txzf.mjs +0 -1
  868. package/dist/chunks/sessionStorage-0.7.4-820nxqcx.mjs +0 -1
  869. package/dist/chunks/settings-0.7.4-xn9kh7fk.mjs +0 -1
  870. package/dist/chunks/setup-0.7.4-ad98h634.mjs +0 -5
  871. package/dist/chunks/sinks-0.7.4-z7ad37zx.mjs +0 -1
  872. package/dist/chunks/skills-0.7.4-ad67cz1j.mjs +0 -1
  873. package/dist/chunks/startupProfiler-0.7.4-akaj65pe.mjs +0 -1
  874. package/dist/chunks/startupUpdateCheck-0.7.4-7r3vt1zf.mjs +0 -1
  875. package/dist/chunks/state-0.7.4-vjqm3ded.mjs +0 -1
  876. package/dist/chunks/stats-0.7.4-hqz1awtk.mjs +0 -6
  877. package/dist/chunks/status-0.7.4-e09aw5s3.mjs +0 -1
  878. package/dist/chunks/stickers-0.7.4-356twswm.mjs +0 -1
  879. package/dist/chunks/subprocessEnv-0.7.4-zjpbw9eg.mjs +0 -1
  880. package/dist/chunks/tasks-0.7.4-yqdwmw5j.mjs +0 -1
  881. package/dist/chunks/teamHelpers-0.7.4-0mtce030.mjs +0 -1
  882. package/dist/chunks/teammateModeSnapshot-0.7.4-q60shbd0.mjs +0 -1
  883. package/dist/chunks/teleport-0.7.4-6h25n23n.mjs +0 -1
  884. package/dist/chunks/terminalSetup-0.7.4-5fm9br3v.mjs +0 -1
  885. package/dist/chunks/theme-0.7.4-3cxdxqzd.mjs +0 -1
  886. package/dist/chunks/thinkback-0.7.4-k40dtctf.mjs +0 -1
  887. package/dist/chunks/thinkback-play-0.7.4-vmbx4r0v.mjs +0 -1
  888. package/dist/chunks/toolPool-0.7.4-fr9jcgkr.mjs +0 -1
  889. package/dist/chunks/toolSearch-0.7.4-72eq96x6.mjs +0 -1
  890. package/dist/chunks/tools-0.7.4-n2jj5cxj.mjs +0 -1
  891. package/dist/chunks/trustedDevice-0.7.4-5jh1e885.mjs +0 -1
  892. package/dist/chunks/turndown.cjs-0.7.4-3sq52e78.mjs +0 -69
  893. package/dist/chunks/types-0.7.4-cybkwcw1.mjs +0 -1
  894. package/dist/chunks/ultrareviewCommand-0.7.4-p3ykdjx4.mjs +0 -4
  895. package/dist/chunks/update-0.7.4-9hphbpbx.mjs +0 -86
  896. package/dist/chunks/upgrade-0.7.4-hhn879a5.mjs +0 -1
  897. package/dist/chunks/upload-0.7.4-rmfqa4n5.mjs +0 -7
  898. package/dist/chunks/upstreamproxy-0.7.4-f89cjzmp.mjs +0 -14
  899. package/dist/chunks/url-handler-napi-0.7.4-kdweyv4n.mjs +0 -1
  900. package/dist/chunks/usage-0.7.4-z5s6dhj7.mjs +0 -1
  901. package/dist/chunks/util-0.7.4-wf3hrc3w.mjs +0 -1
  902. package/dist/chunks/utils-0.7.4-f33hkvq8.mjs +0 -1
  903. package/dist/chunks/vim-0.7.4-pkw9kc18.mjs +0 -1
  904. package/dist/chunks/watcher-0.7.4-h80z0z8g.mjs +0 -1
  905. package/dist/chunks/wiki-0.7.4-5rfrx592.mjs +0 -132
  906. package/dist/chunks/workflows-0.7.4-7dgxra0n.mjs +0 -1
  907. package/dist/chunks/worktree-0.7.4-ar646nm5.mjs +0 -1
  908. package/dist/chunks/worktreeModeEnabled-0.7.4-1z56z896.mjs +0 -1
  909. package/dist/chunks/wrapper-0.7.4-bp55g4da.mjs +0 -7
  910. /package/dist/chunks/{cli-0.7.4-a8qv9b1x.mjs → cli-0.7.6-pef1cr89.mjs} +0 -0
@@ -0,0 +1,50 @@
1
+ import{Ac as Kc,Bc as da}from"./cli-0.7.6-7g2b4q32.mjs";import{Cc as An,Dc as Ht,Ec as Xt,Fc as Zc,Hc as ea}from"./cli-0.7.6-ccbtfaqn.mjs";import{Ic as wt,Lc as ma}from"./cli-0.7.6-v3rjsfcr.mjs";import{Cx as Jc,DH as Hn,EF as yt,EH as Au,Ex as ra,FF as Kn,GH as la,HH as oa,Kp as yc,Lp as Wu,Lw as Qc,Mp as Cc,Mw as Gc,Np as bc,Nw as Vc,OF as V,Op as wc,Ow as Yc,PF as gu,Pp as Oc,Pw as ha,QF as ia,Qp as D,Rp as mn,Sp as Uu,Tp as Lc,Vp as zc,Wp as Nc,Yp as fc,dG as nc,eG as Gu,fG as cc,gG as uc,hG as ac,iG as Vu,nq as Mc,oq as aa}from"./cli-0.7.6-qan5xxdc.mjs";import{GX as v,IX as ca,UX as Fc,VX as ua}from"./cli-0.7.6-chcjfb2p.mjs";import{I0 as Ln,b0 as g,d0 as i}from"./cli-0.7.6-56h0kfkw.mjs";import{L1 as Nn,M1 as Mn,N1 as Qn,O1 as Gn,P1 as Vn,Q1 as su,T1 as Yn,X1 as Jn,Y1 as $c,Z1 as Zn}from"./cli-0.7.6-62ea895q.mjs";import{N2 as dt,O2 as u,P2 as y,Q2 as Qt}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as Vt}from"./cli-0.7.6-471rvdw2.mjs";import{m3 as lc,n3 as Hu}from"./cli-0.7.6-wch5kwc6.mjs";import{D3 as $n,F3 as Ou}from"./cli-0.7.6-7mzraehr.mjs";import{$da as Rt,Bea as Sc,Cea as gn,Lda as qc,Mda as bt,Nda as ta,Oda as Tt,Pda as nt,Qea as na,Rda as W,Sda as Kt,Uda as ft,Vda as Cn,Wda as ct,Xda as At,Y8 as Ct,Z8 as vu,aea as bn,cea as wn,gea as Fn,lea as hn,mea as xn,nea as jn,oea as Yt,pea as rn,qea as Dn,rea as an,sea as vn,tea as tc,uea as Qu,vea as On,wea as rc,xea as sn,zea as ic}from"./cli-0.7.6-fn56g2cc.mjs";import{Dja as ut,Lja as on}from"./cli-0.7.6-0wr25ecz.mjs";import{Tqa as Gt,Uqa as Du,Xqa as j}from"./cli-0.7.6-jpjn976y.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=Jc(),[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 Yc({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 Vc({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 Qc({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}=Gc(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();ra();ma();ic();on();ta();aa();Fn();Zn();ha();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 vc,In as wc,Aa as xc,Sh as yc,Fa as zc};
@@ -0,0 +1,15 @@
1
+ import{IQ as _,MN as f,ON as z,Zw as L,_w as k,fk as J}from"./cli-0.7.6-qan5xxdc.mjs";import{B$ as A,w$ as F}from"./cli-0.7.6-fn56g2cc.mjs";import{Tga as Y,Vga as h,Wga as H,Xga as X}from"./cli-0.7.6-k5r0yz41.mjs";import{Nha as W,Qha as M}from"./cli-0.7.6-z4k83sx6.mjs";import{Qia as D,Tia as R}from"./cli-0.7.6-jmpc9xmj.mjs";import{cna as q,mpa as C}from"./cli-0.7.6-bfwq4dm5.mjs";import{Xqa as V}from"./cli-0.7.6-jpjn976y.mjs";function S(U){let Q=[];for(let w of U){if(w.type!=="user"&&w.type!=="assistant")continue;if("isMeta"in w&&w.isMeta)continue;if("origin"in w&&w.origin&&w.origin.kind!=="human")continue;let K=w.message.content;if(typeof K==="string")Q.push(K);else if(Array.isArray(K)){for(let B of K)if("type"in B&&B.type==="text"&&"text"in B)Q.push(B.text)}}let G=Q.join(`
2
+ `);return G.length>$?G.slice(-$):G}async function T(U,Q){let G=U.trim();if(!G)return null;try{let w=await f({systemPrompt:L([P]),userPrompt:G,outputFormat:{type:"json_schema",schema:{type:"object",properties:{title:{type:"string"}},required:["title"],additionalProperties:!1}},signal:Q,options:{querySource:"generate_session_title",agents:[],isNonInteractiveSession:q(),hasAppendSystemPrompt:!1,mcpTools:[]}}),K=J(w.message.content),B=v().safeParse(F(K)),Z=B.success?B.data.title.trim()||null:null;return W("tengu_session_title_generated",{success:Z!==null}),Z}catch(w){return D(`generateSessionTitle failed: ${w}`,{level:"error"}),W("tengu_session_title_generated",{success:!1}),"Claudin"}}var $=1000,P=`Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
3
+
4
+ Return JSON with a single "title" field.
5
+
6
+ Good examples:
7
+ {"title": "Fix login button on mobile"}
8
+ {"title": "Add OAuth authentication"}
9
+ {"title": "Debug failing CI tests"}
10
+ {"title": "Refactor API client error handling"}
11
+
12
+ Bad (too vague): {"title": "Code changes"}
13
+ Bad (too long): {"title": "Investigate and fix the issue where the login button does not respond on mobile devices"}
14
+ Bad (wrong case): {"title": "Fix Login Button On Mobile"}`,v;var I=V(()=>{h();C();M();z();R();A();X();_();k();v=H(()=>Y.object({title:Y.string()}))});
15
+ export{S as se,T as te,I as ue};
@@ -0,0 +1,2 @@
1
+ import{Ji as H,Li as C}from"./cli-0.7.6-1bfz5qa5.mjs";import{Mi as k,Ni as y}from"./cli-0.7.6-5ktehyvf.mjs";import{d3 as X,f3 as Y,k3 as R}from"./cli-0.7.6-vhan81qg.mjs";import{m3 as G,n3 as m}from"./cli-0.7.6-wch5kwc6.mjs";import{Q3 as w,R3 as E,g7 as B,v7 as f}from"./cli-0.7.6-7mzraehr.mjs";import{Kda as x,gfa as Q,mda as S,ofa as D,pda as j}from"./cli-0.7.6-fn56g2cc.mjs";import{Lha as V,Mha as b}from"./cli-0.7.6-5qabm4xe.mjs";import{gqa as W,yqa as I}from"./cli-0.7.6-r78s2g03.mjs";import{Xqa as Z}from"./cli-0.7.6-jpjn976y.mjs";async function _(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests`;return(await W.post(J,L,{headers:K})).data}async function $(L,N){let{accessToken:P,orgUUID:K}=await X(),J={...Y(P),"x-organization-uuid":K},F=`${V().BASE_API_URL}/api/oauth/organizations/${K}/admin_requests/me?request_type=${L}`;for(let v of N)F+=`&statuses=${v}`;return(await W.get(F,{headers:J})).data}async function z(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests/eligibility?request_type=${L}`;return(await W.get(J,{headers:K})).data}var M=Z(()=>{I();b();R()});async function i(){if(!j().hasVisitedExtraUsage)S((J)=>({...J,hasVisitedExtraUsage:!0}));H();let L=B(),N=L==="team"||L==="enterprise";if(!w()&&N){let J;try{J=(await k())?.extra_usage}catch(F){Q(F)}if(J?.is_enabled&&J.monthly_limit===null)return{type:"message",value:"Your organization already has unlimited extra usage. No request needed."};try{if((await z("limit_increase"))?.is_allowed===!1)return{type:"message",value:"Please contact your admin to manage extra usage settings."}}catch(F){Q(F)}try{let F=await $("limit_increase",["pending","dismissed"]);if(F&&F.length>0)return{type:"message",value:"You have already submitted a request for extra usage to your admin."}}catch(F){Q(F)}try{return await _({request_type:"limit_increase",details:null}),{type:"message",value:J?.is_enabled?"Request sent to your admin to increase extra usage.":"Request sent to your admin to enable extra usage."}}catch(F){Q(F)}return{type:"message",value:"Please contact your admin to manage extra usage settings."}}let K=N?"https://claude.ai/admin-settings/usage":"https://claude.ai/settings/usage";try{let J=await G(K);return{type:"browser-opened",url:K,opened:J}}catch(J){return Q(J),{type:"message",value:`Failed to open browser. Please visit ${K} to manage extra usage.`}}}var A=Z(()=>{M();C();y();f();E();m();x();D()});
2
+ export{i as Gi,A as Hi};
@@ -0,0 +1,2 @@
1
+ import{Xd as j,Yd as E}from"./cli-0.7.6-k1tjb02q.mjs";import{AL as $,FL as f,hL as X,jL as Y,mp as W,pp as v,sL as Z,uL as w,yL as _}from"./cli-0.7.6-qan5xxdc.mjs";import{Kda as A,Uaa as Q,fba as T,gfa as V,ofa as N,yda as S}from"./cli-0.7.6-fn56g2cc.mjs";import{Qia as B,Tia as R}from"./cli-0.7.6-jmpc9xmj.mjs";import{oja as L,vja as K}from"./cli-0.7.6-310844c3.mjs";import{Xqa as y}from"./cli-0.7.6-jpjn976y.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:Q(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(S()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){V(q)}})()}var J=null,G=null;var U=y(()=>{E();A();R();K();N();f();w();v();T()});
2
+ export{d as td,P as ud,t as vd,U as wd};
@@ -0,0 +1 @@
1
+ import{$3 as d,Y3 as a,Z3 as b,_3 as c,a4 as e,b4 as f,c4 as g,d4 as h,e4 as i,f4 as j,g4 as k,h4 as l,i4 as m}from"./cli-0.7.6-7mzraehr.mjs";import"./cli-0.7.6-2qwpkx4w.mjs";import"./cli-0.7.6-2kjdfns9.mjs";import"./cli-0.7.6-67tqckbs.mjs";import"./cli-0.7.6-4q91n1nr.mjs";import"./cli-0.7.6-fn56g2cc.mjs";import"./cli-0.7.6-0ekx5n2q.mjs";import"./cli-0.7.6-1dqh462b.mjs";import"./cli-0.7.6-09hcxer2.mjs";import"./cli-0.7.6-ek2a439r.mjs";import"./cli-0.7.6-k5r0yz41.mjs";import"./cli-0.7.6-8h5rwm21.mjs";import"./cli-0.7.6-5qabm4xe.mjs";import"./cli-0.7.6-z4k83sx6.mjs";import"./cli-0.7.6-jmpc9xmj.mjs";import"./cli-0.7.6-73h798cq.mjs";import"./cli-0.7.6-310844c3.mjs";import"./cli-0.7.6-0wr25ecz.mjs";import"./cli-0.7.6-bfwq4dm5.mjs";import"./cli-0.7.6-xg6ka3pp.mjs";import"./cli-0.7.6-svqwyxab.mjs";import"./cli-0.7.6-r78s2g03.mjs";import"./cli-0.7.6-ama4wyv2.mjs";import"./cli-0.7.6-jtdgswpn.mjs";import"./cli-0.7.6-jpjn976y.mjs";m();export{l as storeOAuthAccountInfo,a as shouldUseClaudeAIAuth,e as refreshOAuthToken,k as populateOAuthAccountInfoIfNeeded,b as parseScopes,h as isOAuthTokenExpired,j as getOrganizationUUID,i as fetchProfileInfo,f as fetchAndStoreUserRoles,d as exchangeCodeForTokens,g as createAndStoreApiKey,c as buildAuthUrl};
@@ -0,0 +1 @@
1
+ import{Bj as F,VS as f,Vt as w,Zt as Z,oS as H}from"./cli-0.7.6-qan5xxdc.mjs";import"./cli-0.7.6-dfkaq7z7.mjs";import"./cli-0.7.6-frf6ynaj.mjs";import"./cli-0.7.6-y8ga5pny.mjs";import"./cli-0.7.6-md31wz8f.mjs";import"./cli-0.7.6-g2437s1w.mjs";import"./cli-0.7.6-9508tj8e.mjs";import"./cli-0.7.6-ngmxmw82.mjs";import"./cli-0.7.6-am0sf3er.mjs";import"./cli-0.7.6-xky4ty14.mjs";import"./cli-0.7.6-43kp2p25.mjs";import"./cli-0.7.6-tp4xkdj6.mjs";import"./cli-0.7.6-cedrx1f7.mjs";import"./cli-0.7.6-dq87daze.mjs";import"./cli-0.7.6-2ff9pq9s.mjs";import"./cli-0.7.6-w66170ej.mjs";import"./cli-0.7.6-vrcja2t1.mjs";import"./cli-0.7.6-y36b0e0y.mjs";import{jX as K,rX as Y}from"./cli-0.7.6-4v3f036y.mjs";import"./cli-0.7.6-chcjfb2p.mjs";import"./cli-0.7.6-xczzrd9d.mjs";import"./cli-0.7.6-56h0kfkw.mjs";import"./cli-0.7.6-f4nmb6r2.mjs";import"./cli-0.7.6-t224fm0b.mjs";import"./cli-0.7.6-0tt8ccr8.mjs";import"./cli-0.7.6-1bvzdjfc.mjs";import"./cli-0.7.6-62ea895q.mjs";import"./cli-0.7.6-w5smxper.mjs";import"./cli-0.7.6-qeq5tx23.mjs";import"./cli-0.7.6-rzhf46t3.mjs";import"./cli-0.7.6-jjmm4f40.mjs";import"./cli-0.7.6-wthbw2r0.mjs";import"./cli-0.7.6-g1gd1372.mjs";import"./cli-0.7.6-8k508w7p.mjs";import"./cli-0.7.6-471rvdw2.mjs";import"./cli-0.7.6-7szsqp12.mjs";import"./cli-0.7.6-0gzsv22g.mjs";import"./cli-0.7.6-vhan81qg.mjs";import"./cli-0.7.6-wch5kwc6.mjs";import"./cli-0.7.6-7mzraehr.mjs";import"./cli-0.7.6-2qwpkx4w.mjs";import"./cli-0.7.6-2kjdfns9.mjs";import"./cli-0.7.6-67tqckbs.mjs";import"./cli-0.7.6-4q91n1nr.mjs";import"./cli-0.7.6-hsa9j8sb.mjs";import"./cli-0.7.6-fn56g2cc.mjs";import"./cli-0.7.6-0ekx5n2q.mjs";import"./cli-0.7.6-1dqh462b.mjs";import"./cli-0.7.6-09hcxer2.mjs";import"./cli-0.7.6-ek2a439r.mjs";import"./cli-0.7.6-k5r0yz41.mjs";import"./cli-0.7.6-8h5rwm21.mjs";import"./cli-0.7.6-5qabm4xe.mjs";import"./cli-0.7.6-z4k83sx6.mjs";import"./cli-0.7.6-jmpc9xmj.mjs";import"./cli-0.7.6-73h798cq.mjs";import"./cli-0.7.6-310844c3.mjs";import"./cli-0.7.6-0wr25ecz.mjs";import{mpa as X,pla as B}from"./cli-0.7.6-bfwq4dm5.mjs";import"./cli-0.7.6-xg6ka3pp.mjs";import"./cli-0.7.6-svqwyxab.mjs";import"./cli-0.7.6-r78s2g03.mjs";import"./cli-0.7.6-ama4wyv2.mjs";import"./cli-0.7.6-jtdgswpn.mjs";import{Xqa as W}from"./cli-0.7.6-jpjn976y.mjs";async function h(q,J,y){if(K())return q("Cannot set color: This session is a swarm teammate. Teammate colors are assigned by the team leader.",{display:"system"}),null;if(!y||y.trim()===""){let b=w.join(", ");return q(`Please provide a color. Available colors: ${b}, default`,{display:"system"}),null}let k=y.trim().toLowerCase();if($.includes(k)){let b=B(),V=F();return await H(b,"default",V),J.setAppState((z)=>({...z,standaloneAgentContext:{...z.standaloneAgentContext,name:z.standaloneAgentContext?.name??"",color:void 0}})),q("Session color reset to default",{display:"system"}),null}if(!w.includes(k)){let b=w.join(", ");return q(`Invalid color "${k}". Available colors: ${b}, default`,{display:"system"}),null}let Q=B(),U=F();return await H(Q,k,U),J.setAppState((b)=>({...b,standaloneAgentContext:{...b.standaloneAgentContext,name:b.standaloneAgentContext?.name??"",color:k}})),q(`Session color set to: ${k}`,{display:"system"}),null}var $;var M=W(()=>{X();Z();f();Y();$=["default","reset","none","gray","grey"]});M();export{h as call};
@@ -0,0 +1,3 @@
1
+ import{Bw as X,Cw as m,DP as qj,Ew as N,Gw as a,HO as o,IQ as wj,JB as f,JO as P,KO as e,QC as Y,RC as I,Rx as U,SC as Z,Sx as r,TC as $,UC as O,VC as _,XC as n,gI as y,hI as c,jR as zj,ny as b,oy as x,pO as B,qO as s,sT as R,tT as W,uP as l,uQ as C,uT as Hj,vO as k,vw as A,xw as u}from"./cli-0.7.6-qan5xxdc.mjs";import"./cli-0.7.6-dfkaq7z7.mjs";import"./cli-0.7.6-frf6ynaj.mjs";import"./cli-0.7.6-y8ga5pny.mjs";import"./cli-0.7.6-md31wz8f.mjs";import"./cli-0.7.6-g2437s1w.mjs";import"./cli-0.7.6-9508tj8e.mjs";import"./cli-0.7.6-ngmxmw82.mjs";import"./cli-0.7.6-am0sf3er.mjs";import"./cli-0.7.6-xky4ty14.mjs";import"./cli-0.7.6-43kp2p25.mjs";import"./cli-0.7.6-tp4xkdj6.mjs";import"./cli-0.7.6-cedrx1f7.mjs";import"./cli-0.7.6-dq87daze.mjs";import"./cli-0.7.6-2ff9pq9s.mjs";import"./cli-0.7.6-w66170ej.mjs";import"./cli-0.7.6-vrcja2t1.mjs";import"./cli-0.7.6-y36b0e0y.mjs";import"./cli-0.7.6-4v3f036y.mjs";import"./cli-0.7.6-chcjfb2p.mjs";import"./cli-0.7.6-xczzrd9d.mjs";import"./cli-0.7.6-56h0kfkw.mjs";import"./cli-0.7.6-f4nmb6r2.mjs";import"./cli-0.7.6-t224fm0b.mjs";import"./cli-0.7.6-0tt8ccr8.mjs";import"./cli-0.7.6-1bvzdjfc.mjs";import"./cli-0.7.6-62ea895q.mjs";import"./cli-0.7.6-w5smxper.mjs";import"./cli-0.7.6-qeq5tx23.mjs";import"./cli-0.7.6-rzhf46t3.mjs";import"./cli-0.7.6-jjmm4f40.mjs";import"./cli-0.7.6-wthbw2r0.mjs";import"./cli-0.7.6-g1gd1372.mjs";import"./cli-0.7.6-8k508w7p.mjs";import"./cli-0.7.6-471rvdw2.mjs";import"./cli-0.7.6-7szsqp12.mjs";import"./cli-0.7.6-0gzsv22g.mjs";import"./cli-0.7.6-vhan81qg.mjs";import"./cli-0.7.6-wch5kwc6.mjs";import"./cli-0.7.6-7mzraehr.mjs";import"./cli-0.7.6-2qwpkx4w.mjs";import{R7 as h,S7 as p}from"./cli-0.7.6-2kjdfns9.mjs";import"./cli-0.7.6-67tqckbs.mjs";import"./cli-0.7.6-4q91n1nr.mjs";import"./cli-0.7.6-hsa9j8sb.mjs";import{gfa as D,ofa as g}from"./cli-0.7.6-fn56g2cc.mjs";import"./cli-0.7.6-0ekx5n2q.mjs";import"./cli-0.7.6-1dqh462b.mjs";import"./cli-0.7.6-09hcxer2.mjs";import"./cli-0.7.6-ek2a439r.mjs";import"./cli-0.7.6-k5r0yz41.mjs";import"./cli-0.7.6-8h5rwm21.mjs";import"./cli-0.7.6-5qabm4xe.mjs";import"./cli-0.7.6-z4k83sx6.mjs";import"./cli-0.7.6-jmpc9xmj.mjs";import"./cli-0.7.6-73h798cq.mjs";import{mja as v,vja as E}from"./cli-0.7.6-310844c3.mjs";import"./cli-0.7.6-0wr25ecz.mjs";import{mpa as i,sma as T}from"./cli-0.7.6-bfwq4dm5.mjs";import"./cli-0.7.6-xg6ka3pp.mjs";import"./cli-0.7.6-svqwyxab.mjs";import"./cli-0.7.6-r78s2g03.mjs";import"./cli-0.7.6-ama4wyv2.mjs";import"./cli-0.7.6-jtdgswpn.mjs";import{Xqa as M}from"./cli-0.7.6-jpjn976y.mjs";async function t(q,j,H,w){j.onCompactProgress?.({type:"hooks_start",hookType:"pre_compact"}),j.setSDKStatus?.("compacting");try{let[z,J]=await Promise.all([f({trigger:"manual",customInstructions:H||null},j.abortController.signal),d(j,q)]),Q=O(H,z.newCustomInstructions);j.setStreamMode?.("requesting"),j.setResponseLength?.(()=>0),j.onCompactProgress?.({type:"compact_start"});let K=await w.reactiveCompactOnPromptTooLong(q,J,{customInstructions:Q,trigger:"manual"});if(!K.ok)switch(K.reason){case"too_few_groups":throw Error(Y);case"aborted":throw Error(I);case"exhausted":case"error":case"media_unstrippable":throw Error(Z)}k(void 0);let F=$(K.result);B(void 0,F,j.contentReplacementState),X(),W.cache.clear?.();let V=[z.userDisplayMessage,K.result.userDisplayMessage].filter(Boolean).join(`
2
+ `)||void 0;return{type:"compact",compactionResult:{...K.result,userDisplayMessage:V},displayText:L(j,V)}}finally{j.setStreamMode?.("requesting"),j.setResponseLength?.(()=>0),j.onCompactProgress?.({type:"compact_end"}),j.setSDKStatus?.(null)}}function L(q,j){let H=b("tip"),w=U("app:toggleTranscript","Global","ctrl+o"),z=[...q.options.verbose?[]:[`(${w} to see full summary)`],...j?[j]:[],...H?[H]:[]];return h.dim("Compacted "+z.join(`
3
+ `))}async function d(q,j){let H=q.getAppState(),w=await l(q.options.tools,q.options.mainLoopModel,Array.from(H.toolPermissionContext.additionalWorkingDirectories.keys()),q.options.mcpClients),z=y({mainThreadAgentDefinition:void 0,toolUseContext:q,customSystemPrompt:q.options.customSystemPrompt,defaultSystemPrompt:w,appendSystemPrompt:q.options.appendSystemPrompt}),[J,Q]=await Promise.all([W(),R()]);return{systemPrompt:z,userContext:J,systemContext:Q,toolUseContext:q,forkContextMessages:j}}var G=null,Aj=async(q,j)=>{let{abortController:H}=j,{messages:w}=j;if(w=C(w),w.length===0)throw Error("No messages to compact");let z=q.trim();try{if(!z){let V=await P(w,j.agentId);if(V){W.cache.clear?.();let S=$(V);return B(void 0,S,j.contentReplacementState),A(j.options.querySource??"compact",j.agentId),T(),X(),{type:"compact",compactionResult:V,displayText:L(j)}}}if(G?.isReactiveOnlyMode())return await t(w,j,z,G);let Q=(await N(w,j)).messages,K=await _(Q,j,await d(j,Q),!1,z,!1);k(void 0),X(),W.cache.clear?.();let F=$(K);return B(void 0,F,j.contentReplacementState),{type:"compact",compactionResult:K,displayText:L(j,K.userDisplayMessage)}}catch(J){if(H.signal.aborted)throw Error("Compaction canceled.");else if(v(J,Y))throw Error(Y);else if(v(J,Z))throw Error(Z);else throw D(J),Error(`Error during compaction: ${J}`)}};var jj=M(()=>{p();i();qj();Hj();r();u();n();m();a();s();e();o();E();zj();g();wj();x();c()});jj();export{Aj as call};
@@ -0,0 +1 @@
1
+ import{Ada as C,Bda as D,Cda as E,Dda as F,Eda as G,Fda as H,Gda as I,Hda as J,Ida as K,Jda as L,Kda as M,Sca as a,Tca as b,ada as c,bda as d,cda as e,dda as f,eda as g,fda as h,gda as i,hda as j,ida as k,jda as l,kda as m,lda as n,mda as o,nda as p,oda as q,pda as r,qda as s,rda as t,sda as u,tda as v,uda as w,vda as x,wda as y,xda as z,yda as A,zda as B}from"./cli-0.7.6-fn56g2cc.mjs";import"./cli-0.7.6-0ekx5n2q.mjs";import"./cli-0.7.6-1dqh462b.mjs";import"./cli-0.7.6-09hcxer2.mjs";import"./cli-0.7.6-ek2a439r.mjs";import"./cli-0.7.6-k5r0yz41.mjs";import"./cli-0.7.6-8h5rwm21.mjs";import"./cli-0.7.6-5qabm4xe.mjs";import"./cli-0.7.6-z4k83sx6.mjs";import"./cli-0.7.6-jmpc9xmj.mjs";import"./cli-0.7.6-73h798cq.mjs";import"./cli-0.7.6-310844c3.mjs";import"./cli-0.7.6-0wr25ecz.mjs";import"./cli-0.7.6-bfwq4dm5.mjs";import"./cli-0.7.6-xg6ka3pp.mjs";import"./cli-0.7.6-svqwyxab.mjs";import"./cli-0.7.6-jpjn976y.mjs";M();export{A as shouldSkipPluginAutoupdate,o as saveGlobalConfig,y as saveCurrentProjectConfig,h as resetTrustDialogAcceptedCacheForTesting,l as resetProjectConfigForTests,k as resetGlobalConfigForTests,E as recordFirstStartTime,n as onGlobalConfigChange,m as isProjectConfigKey,j as isPathTrusted,f as isGlobalConfigKey,u as isConfigReadingAllowed,z as isAutoUpdaterDisabled,H as getUserClaudeRulesDir,s as getRemoteControlAtStartup,w as getProjectPathForConfig,D as getOrCreateUserID,F as getMemoryPath,G as getManagedClaudeRulesDir,p as getGlobalConfigWriteCount,r as getGlobalConfig,t as getCustomApiKeyStatus,x as getCurrentProjectConfig,C as getAutoUpdaterDisabledReason,B as formatAutoUpdaterDisabledReason,v as enableConfigs,i as checkHasTrustDialogAccepted,J as _wouldLoseAuthStateForTesting,L as _setGlobalConfigCacheForTesting,I as _getConfigForTesting,K as _buildWrittenGlobalConfig,c as SHOW_CACHE_STATS_MODES,g as PROJECT_CONFIG_KEYS,a as NOTIFICATION_CHANNELS,e as GLOBAL_CONFIG_KEYS,b as EDITOR_MODES,d as DEFAULT_GLOBAL_CONFIG,q as CONFIG_WRITE_DISPLAY_THRESHOLD};
@@ -0,0 +1 @@
1
+ import{Jg as f,Kg as q}from"./cli-0.7.6-z5zw7sdz.mjs";import"./cli-0.7.6-qkcrt37c.mjs";import"./cli-0.7.6-29snre4z.mjs";import"./cli-0.7.6-g5cva69z.mjs";import"./cli-0.7.6-qyk1jtmh.mjs";import"./cli-0.7.6-9a706kh3.mjs";import"./cli-0.7.6-md4x57wd.mjs";import"./cli-0.7.6-5dk57g7k.mjs";import"./cli-0.7.6-tnxct9wp.mjs";import"./cli-0.7.6-1bfz5qa5.mjs";import"./cli-0.7.6-5ktehyvf.mjs";import"./cli-0.7.6-qan5xxdc.mjs";import"./cli-0.7.6-dfkaq7z7.mjs";import"./cli-0.7.6-frf6ynaj.mjs";import"./cli-0.7.6-y8ga5pny.mjs";import"./cli-0.7.6-md31wz8f.mjs";import"./cli-0.7.6-g2437s1w.mjs";import"./cli-0.7.6-9508tj8e.mjs";import"./cli-0.7.6-ngmxmw82.mjs";import"./cli-0.7.6-am0sf3er.mjs";import"./cli-0.7.6-xky4ty14.mjs";import"./cli-0.7.6-43kp2p25.mjs";import"./cli-0.7.6-tp4xkdj6.mjs";import"./cli-0.7.6-cedrx1f7.mjs";import"./cli-0.7.6-dq87daze.mjs";import"./cli-0.7.6-2ff9pq9s.mjs";import"./cli-0.7.6-w66170ej.mjs";import"./cli-0.7.6-vrcja2t1.mjs";import"./cli-0.7.6-y36b0e0y.mjs";import"./cli-0.7.6-4v3f036y.mjs";import"./cli-0.7.6-chcjfb2p.mjs";import"./cli-0.7.6-xczzrd9d.mjs";import"./cli-0.7.6-56h0kfkw.mjs";import"./cli-0.7.6-f4nmb6r2.mjs";import"./cli-0.7.6-t224fm0b.mjs";import"./cli-0.7.6-0tt8ccr8.mjs";import"./cli-0.7.6-1bvzdjfc.mjs";import"./cli-0.7.6-62ea895q.mjs";import"./cli-0.7.6-w5smxper.mjs";import"./cli-0.7.6-qeq5tx23.mjs";import"./cli-0.7.6-rzhf46t3.mjs";import"./cli-0.7.6-jjmm4f40.mjs";import"./cli-0.7.6-wthbw2r0.mjs";import"./cli-0.7.6-g1gd1372.mjs";import{O2 as d,Q2 as b}from"./cli-0.7.6-8k508w7p.mjs";import"./cli-0.7.6-471rvdw2.mjs";import"./cli-0.7.6-7szsqp12.mjs";import"./cli-0.7.6-0gzsv22g.mjs";import"./cli-0.7.6-vhan81qg.mjs";import"./cli-0.7.6-wch5kwc6.mjs";import"./cli-0.7.6-7mzraehr.mjs";import"./cli-0.7.6-2qwpkx4w.mjs";import"./cli-0.7.6-2kjdfns9.mjs";import"./cli-0.7.6-67tqckbs.mjs";import"./cli-0.7.6-4q91n1nr.mjs";import"./cli-0.7.6-hsa9j8sb.mjs";import"./cli-0.7.6-fn56g2cc.mjs";import"./cli-0.7.6-0ekx5n2q.mjs";import"./cli-0.7.6-1dqh462b.mjs";import"./cli-0.7.6-09hcxer2.mjs";import"./cli-0.7.6-ek2a439r.mjs";import"./cli-0.7.6-k5r0yz41.mjs";import"./cli-0.7.6-8h5rwm21.mjs";import"./cli-0.7.6-5qabm4xe.mjs";import"./cli-0.7.6-z4k83sx6.mjs";import"./cli-0.7.6-jmpc9xmj.mjs";import"./cli-0.7.6-73h798cq.mjs";import"./cli-0.7.6-310844c3.mjs";import"./cli-0.7.6-0wr25ecz.mjs";import"./cli-0.7.6-bfwq4dm5.mjs";import"./cli-0.7.6-xg6ka3pp.mjs";import"./cli-0.7.6-svqwyxab.mjs";import"./cli-0.7.6-r78s2g03.mjs";import"./cli-0.7.6-ama4wyv2.mjs";import"./cli-0.7.6-jtdgswpn.mjs";import{Xqa as l}from"./cli-0.7.6-jpjn976y.mjs";var y=async(h,k)=>{return d(f,{onClose:h,context:k,defaultTab:"Config"})};var v=l(()=>{q();b()});v();export{y as call};
@@ -0,0 +1 @@
1
+ import{$7 as h,U7 as a,V7 as b,W7 as c,X7 as d,Y7 as e,Z7 as f,_7 as g,a8 as i,b8 as j,c8 as k,d8 as l}from"./cli-0.7.6-4q91n1nr.mjs";import"./cli-0.7.6-jpjn976y.mjs";l();export{k as SENSITIVE_URL_QUERY_PARAM_NAMES,f as MOONSHOT_API_HOSTS,g as KIMI_CODE_API_HOST,h as GLM_API_HOSTS,a as GITHUB_COPILOT_BASE,b as GITHUB_429_MAX_RETRIES,d as GITHUB_429_MAX_DELAY_SEC,c as GITHUB_429_BASE_DELAY_SEC,e as GEMINI_API_HOST,i as DEEPSEEK_API_HOSTS,j as COPILOT_HEADERS};
@@ -0,0 +1 @@
1
+ import{qh as O0,rh as Hv}from"./cli-0.7.6-ffk5hz3x.mjs";import{$i as w0,Ew as p0,FP as g0,GP as lv,Gw as dv,IQ as cv,Zi as b0,_i as r0,aj as a0,fj as Y0,gj as o0,tk as L0,uQ as m0,uk as e0}from"./cli-0.7.6-qan5xxdc.mjs";import"./cli-0.7.6-dfkaq7z7.mjs";import"./cli-0.7.6-frf6ynaj.mjs";import"./cli-0.7.6-y8ga5pny.mjs";import"./cli-0.7.6-md31wz8f.mjs";import"./cli-0.7.6-g2437s1w.mjs";import"./cli-0.7.6-9508tj8e.mjs";import"./cli-0.7.6-ngmxmw82.mjs";import"./cli-0.7.6-am0sf3er.mjs";import"./cli-0.7.6-xky4ty14.mjs";import"./cli-0.7.6-43kp2p25.mjs";import"./cli-0.7.6-tp4xkdj6.mjs";import"./cli-0.7.6-cedrx1f7.mjs";import"./cli-0.7.6-dq87daze.mjs";import"./cli-0.7.6-2ff9pq9s.mjs";import"./cli-0.7.6-w66170ej.mjs";import"./cli-0.7.6-vrcja2t1.mjs";import"./cli-0.7.6-y36b0e0y.mjs";import"./cli-0.7.6-4v3f036y.mjs";import{LX as k0,MX as pv}from"./cli-0.7.6-chcjfb2p.mjs";import"./cli-0.7.6-xczzrd9d.mjs";import{I0 as F0,IY as S0,b0 as H,d0 as z,x0 as u0}from"./cli-0.7.6-56h0kfkw.mjs";import"./cli-0.7.6-f4nmb6r2.mjs";import"./cli-0.7.6-t224fm0b.mjs";import"./cli-0.7.6-0tt8ccr8.mjs";import"./cli-0.7.6-1bvzdjfc.mjs";import"./cli-0.7.6-62ea895q.mjs";import"./cli-0.7.6-w5smxper.mjs";import"./cli-0.7.6-qeq5tx23.mjs";import"./cli-0.7.6-rzhf46t3.mjs";import"./cli-0.7.6-jjmm4f40.mjs";import"./cli-0.7.6-wthbw2r0.mjs";import"./cli-0.7.6-g1gd1372.mjs";import{O2 as K,P2 as Z,Q2 as T}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as kv}from"./cli-0.7.6-471rvdw2.mjs";import"./cli-0.7.6-7szsqp12.mjs";import"./cli-0.7.6-0gzsv22g.mjs";import"./cli-0.7.6-vhan81qg.mjs";import"./cli-0.7.6-wch5kwc6.mjs";import"./cli-0.7.6-7mzraehr.mjs";import"./cli-0.7.6-2qwpkx4w.mjs";import"./cli-0.7.6-2kjdfns9.mjs";import"./cli-0.7.6-67tqckbs.mjs";import"./cli-0.7.6-4q91n1nr.mjs";import"./cli-0.7.6-hsa9j8sb.mjs";import{E$ as y0,L$ as Vv,Oba as Yv,Y8 as P0,Z8 as Kv,e$ as Z0,s$ as I0}from"./cli-0.7.6-fn56g2cc.mjs";import{Ffa as V,Lfa as V0}from"./cli-0.7.6-0ekx5n2q.mjs";import"./cli-0.7.6-1dqh462b.mjs";import"./cli-0.7.6-09hcxer2.mjs";import"./cli-0.7.6-ek2a439r.mjs";import"./cli-0.7.6-k5r0yz41.mjs";import"./cli-0.7.6-8h5rwm21.mjs";import"./cli-0.7.6-5qabm4xe.mjs";import"./cli-0.7.6-z4k83sx6.mjs";import"./cli-0.7.6-jmpc9xmj.mjs";import"./cli-0.7.6-73h798cq.mjs";import"./cli-0.7.6-310844c3.mjs";import"./cli-0.7.6-0wr25ecz.mjs";import"./cli-0.7.6-bfwq4dm5.mjs";import"./cli-0.7.6-xg6ka3pp.mjs";import"./cli-0.7.6-svqwyxab.mjs";import"./cli-0.7.6-r78s2g03.mjs";import"./cli-0.7.6-ama4wyv2.mjs";import"./cli-0.7.6-jtdgswpn.mjs";import{Tqa as q0,Xqa as X0}from"./cli-0.7.6-jpjn976y.mjs";function D0(J){let v=[];return Jv(J,v),Qv(J,v),Zv(J,v),zv(J,v),Wv(J,v),v.sort((Q,X)=>{if(Q.severity!==X.severity)return Q.severity==="warning"?-1:1;return(X.savingsTokens??0)-(Q.savingsTokens??0)}),v}function Jv(J,v){if(J.percentage>=h0)v.push({severity:"warning",title:`Context is ${J.percentage}% full`,detail:J.isAutoCompactEnabled?"Autocompact will trigger soon, which discards older messages. Use /compact now to control what gets kept.":"Autocompact is disabled. Use /compact to free space, or enable autocompact in /config."})}function Qv(J,v){if(!J.messageBreakdown)return;for(let Q of J.messageBreakdown.toolCallsByType){let X=Q.callTokens+Q.resultTokens,U=X/J.rawMaxTokens*100;if(U<N0||X<U0)continue;let W=Xv(Q.name,X,U);if(W)v.push(W)}}function Xv(J,v,Q){let X=V(v);switch(J){case b0:return{severity:"warning",title:`Bash results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Pipe output through head, tail, or grep to reduce result size. Avoid cat on large files — use Read with offset/limit instead.",savingsTokens:Math.floor(v*0.5)};case Y0:return{severity:"info",title:`Read results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Use offset and limit parameters to read only the sections you need. Avoid re-reading entire files when you only need a few lines.",savingsTokens:Math.floor(v*0.3)};case w0:return{severity:"info",title:`Grep results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Add more specific patterns or use the glob or type parameter to narrow file types. Consider Glob for file discovery instead of Grep.",savingsTokens:Math.floor(v*0.3)};case L0:return{severity:"info",title:`WebFetch results using ${X} tokens (${Q.toFixed(0)}%)`,detail:"Web page content can be very large. Consider extracting only the specific information needed.",savingsTokens:Math.floor(v*0.4)};default:if(Q>=20)return{severity:"info",title:`${J} using ${X} tokens (${Q.toFixed(0)}%)`,detail:"This tool is consuming a significant portion of context.",savingsTokens:Math.floor(v*0.2)};return null}}function Zv(J,v){if(!J.messageBreakdown)return;let X=J.messageBreakdown.toolCallsByType.find((F)=>F.name===Y0);if(!X)return;let U=X.callTokens+X.resultTokens,W=U/J.rawMaxTokens*100,Y=X.resultTokens/J.rawMaxTokens*100;if(W>=N0&&U>=U0)return;if(Y>=s0&&X.resultTokens>=U0)v.push({severity:"info",title:`File reads using ${V(X.resultTokens)} tokens (${Y.toFixed(0)}%)`,detail:"If you are re-reading files, consider referencing earlier reads. Use offset/limit for large files.",savingsTokens:Math.floor(X.resultTokens*0.3)})}function zv(J,v){let Q=J.memoryFiles.reduce((U,W)=>U+W.tokens,0),X=Q/J.rawMaxTokens*100;if(X>=t0&&Q>=vv){let U=[...J.memoryFiles].sort((W,Y)=>Y.tokens-W.tokens).slice(0,3).map((W)=>{return`${Z0(W.path)} (${V(W.tokens)})`}).join(", ");v.push({severity:"info",title:`Memory files using ${V(Q)} tokens (${X.toFixed(0)}%)`,detail:`Largest: ${U}. Use /memory to review and prune stale entries.`,savingsTokens:Math.floor(Q*0.3)})}}function Wv(J,v){if(!J.isAutoCompactEnabled&&J.percentage>=50&&J.percentage<h0)v.push({severity:"info",title:"Autocompact is disabled",detail:"Without autocompact, you will hit context limits and lose the conversation. Enable it in /config or use /compact manually."})}var N0=15,U0=1e4,s0=5,h0=80,t0=5,vv=5000;var C0=X0(()=>{r0();o0();a0();e0();I0();V0()});function f0(J){let v=A0.c(5),{suggestions:Q}=J;if(Q.length===0)return null;let X;if(v[0]===Symbol.for("react.memo_cache_sentinel"))X=K(z,{bold:!0,children:"Suggestions"}),v[0]=X;else X=v[0];let U;if(v[1]!==Q)U=Q.map(Uv),v[1]=Q,v[2]=U;else U=v[2];let W;if(v[3]!==U)W=Z(H,{flexDirection:"column",marginTop:1,children:[X,U]}),v[3]=U,v[4]=W;else W=v[4];return W}function Uv(J,v){return Z(H,{flexDirection:"column",marginTop:v===0?0:1,children:[Z(H,{children:[K(O0,{status:J.severity,withSpace:!0}),K(z,{bold:!0,children:J.title}),J.savingsTokens?Z(z,{dimColor:!0,children:[" ",P0.arrowRight," save ~",V(J.savingsTokens)]}):null]}),K(H,{marginLeft:2,children:K(z,{dimColor:!0,children:J.detail})})]},v)}var A0;var M0=X0(()=>{Kv();F0();V0();Hv();T();A0=q0(S0(),1)});function $(J,v){return J===v.length-1?"└":"├"}function qv(){let J=G0.c(2);return null}function B0(J){let v=new Map;for(let X of J){let U=y0(X.source),W=v.get(U)||[];W.push(X),v.set(U,W)}for(let[X,U]of v.entries())v.set(X,U.sort((W,Y)=>Y.tokens-W.tokens));let Q=new Map;for(let X of Fv){let U=v.get(X);if(U)Q.set(X,U)}return Q}function R0(J){let v=G0.c(87),{data:Q}=J,{categories:X,totalTokens:U,rawMaxTokens:W,percentage:Y,gridRows:F,model:G,memoryFiles:I,mcpTools:q,deferredBuiltinTools:x,systemTools:r,systemPromptSections:a,agents:o,skills:n,messageBreakdown:W0}=Q,h,D,C,P,b,S,O,A,w,L;if(v[0]!==X||v[1]!==F||v[2]!==q||v[3]!==G||v[4]!==Y||v[5]!==W||v[6]!==r||v[7]!==x||v[8]!==U){let j0=x===void 0?[]:x,l0=X.filter(uv),s;if(v[19]!==X)s=X.some(Ev),v[19]=X,v[20]=s;else s=v[20];let _=s,c0=j0.length>0,p=X.find(Rv);if(D=H,O="column",A=1,v[21]===Symbol.for("react.memo_cache_sentinel"))w=K(z,{bold:!0,children:"Context Usage"}),v[21]=w;else w=v[21];let d;if(v[22]!==F)d=F.map(Bv),v[22]=F,v[23]=d;else d=v[23];let g;if(v[24]!==d)g=K(H,{flexDirection:"column",flexShrink:0,marginLeft:-1,children:d}),v[24]=d,v[25]=g;else g=v[25];let m;if(v[26]!==U)m=V(U),v[26]=U,v[27]=m;else m=v[27];let j;if(v[28]!==W)j=V(W),v[28]=W,v[29]=j;else j=v[29];let l;if(v[30]!==G||v[31]!==Y||v[32]!==m||v[33]!==j)l=Z(z,{dimColor:!0,children:[G," · ",m,"/",j," ","tokens (",Y,"%)"]}),v[30]=G,v[31]=Y,v[32]=m,v[33]=j,v[34]=l;else l=v[34];let t,v0,J0;if(v[35]===Symbol.for("react.memo_cache_sentinel"))t=K(qv,{}),v0=K(z,{children:" "}),J0=K(z,{dimColor:!0,italic:!0,children:"Estimated usage by category"}),v[35]=t,v[36]=v0,v[37]=J0;else t=v[35],v0=v[36],J0=v[37];let Q0;if(v[38]!==W)Q0=(N,i0)=>{let T0=V(N.tokens),$0=N.isDeferred?"N/A":`${(N.tokens/W*100).toFixed(1)}%`,n0=N.name===z0,_0=N.name,x0=N.isDeferred?" ":n0?"⛝":"⛁";return Z(H,{children:[K(z,{color:N.color,children:x0}),Z(z,{children:[" ",_0,": "]}),Z(z,{dimColor:!0,children:[T0," tokens (",$0,")"]})]},i0)},v[38]=W,v[39]=Q0;else Q0=v[39];let K0=l0.map(Q0),c;if(v[40]!==X||v[41]!==W)c=(X.find(Mv)?.tokens??0)>0&&Z(H,{children:[K(z,{dimColor:!0,children:"⛶"}),K(z,{children:" Free space: "}),Z(z,{dimColor:!0,children:[V(X.find(fv)?.tokens||0)," ","(",((X.find(Av)?.tokens||0)/W*100).toFixed(1),"%)"]})]}),v[40]=X,v[41]=W,v[42]=c;else c=v[42];let H0=p&&p.tokens>0&&Z(H,{children:[K(z,{color:p.color,children:"⛝"}),Z(z,{dimColor:!0,children:[" ",p.name,": "]}),Z(z,{dimColor:!0,children:[V(p.tokens)," tokens (",(p.tokens/W*100).toFixed(1),"%)"]})]}),i;if(v[43]!==l||v[44]!==K0||v[45]!==c||v[46]!==H0)i=Z(H,{flexDirection:"column",gap:0,flexShrink:0,children:[l,t,v0,J0,K0,c,H0]}),v[43]=l,v[44]=K0,v[45]=c,v[46]=H0,v[47]=i;else i=v[47];if(v[48]!==g||v[49]!==i)L=Z(H,{flexDirection:"row",gap:2,children:[g,i]}),v[48]=g,v[49]=i,v[50]=L;else L=v[50];if(h=H,C="column",P=-1,v[51]!==_||v[52]!==q)b=q.length>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"MCP tools"}),Z(z,{dimColor:!0,children:[" ","· /mcp",_?" (loaded on-demand)":""]})]}),q.some(Ov)&&Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:"Loaded"}),q.filter(Sv).map(Pv)]}),_&&q.some(Cv)&&Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:"Available"}),q.filter(Dv).map(hv)]}),!_&&q.map(Nv)]}),v[51]=_,v[52]=q,v[53]=b;else b=v[53];S=(r&&r.length>0||c0)&&!1,v[0]=X,v[1]=F,v[2]=q,v[3]=G,v[4]=Y,v[5]=W,v[6]=r,v[7]=x,v[8]=U,v[9]=h,v[10]=D,v[11]=C,v[12]=P,v[13]=b,v[14]=S,v[15]=O,v[16]=A,v[17]=w,v[18]=L}else h=v[9],D=v[10],C=v[11],P=v[12],b=v[13],S=v[14],O=v[15],A=v[16],w=v[17],L=v[18];let f;if(v[54]!==a)f=a&&a.length>0&&!1,v[54]=a,v[55]=f;else f=v[55];let M;if(v[56]!==o)M=o.length>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"Custom agents"}),K(z,{dimColor:!0,children:" · /agents"})]}),Array.from(B0(o).entries()).map(wv)]}),v[56]=o,v[57]=M;else M=v[57];let B;if(v[58]!==I)B=I.length>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"Memory files"}),K(z,{dimColor:!0,children:" · /memory"})]}),I.map(bv)]}),v[58]=I,v[59]=B;else B=v[59];let y;if(v[60]!==n)y=n&&n.tokens>0&&Z(H,{flexDirection:"column",marginTop:1,children:[Z(H,{children:[K(z,{bold:!0,children:"Skills"}),K(z,{dimColor:!0,children:" · /skills"})]}),Array.from(B0(n.skillFrontmatter).entries()).map(Gv)]}),v[60]=n,v[61]=y;else y=v[61];let R;if(v[62]!==W0)R=W0&&!1,v[62]=W0,v[63]=R;else R=v[63];let E;if(v[64]!==h||v[65]!==f||v[66]!==M||v[67]!==B||v[68]!==y||v[69]!==R||v[70]!==C||v[71]!==P||v[72]!==b||v[73]!==S)E=Z(h,{flexDirection:C,marginLeft:P,children:[b,S,f,M,B,y,R]}),v[64]=h,v[65]=f,v[66]=M,v[67]=B,v[68]=y,v[69]=R,v[70]=C,v[71]=P,v[72]=b,v[73]=S,v[74]=E;else E=v[74];let u;if(v[75]!==Q)u=D0(Q),v[75]=Q,v[76]=u;else u=v[76];let k;if(v[77]!==u)k=K(f0,{suggestions:u}),v[77]=u,v[78]=k;else k=v[78];let e;if(v[79]!==D||v[80]!==E||v[81]!==k||v[82]!==O||v[83]!==A||v[84]!==w||v[85]!==L)e=Z(D,{flexDirection:O,paddingLeft:A,children:[w,L,E,k]}),v[79]=D,v[80]=E,v[81]=k,v[82]=O,v[83]=A,v[84]=w,v[85]=L,v[86]=e;else e=v[86];return e}function Gv(J){let[v,Q]=J;return Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:v}),Q.map(Iv)]},v)}function Iv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.name,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function bv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",Z0(J.path),": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function wv(J){let[v,Q]=J;return Z(H,{flexDirection:"column",marginTop:1,children:[K(z,{dimColor:!0,children:v}),Q.map(Lv)]},v)}function Lv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.agentType,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function Nv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.name,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function hv(J,v,Q){return K(H,{children:Z(z,{dimColor:!0,children:[$(v,Q)," ",J.name]})},v)}function Dv(J){return!J.isLoaded}function Cv(J){return!J.isLoaded}function Pv(J,v,Q){return Z(H,{children:[Z(z,{children:[$(v,Q)," ",J.name,": "]}),Z(z,{dimColor:!0,children:[V(J.tokens)," tokens"]})]},v)}function Sv(J){return J.isLoaded}function Ov(J){return J.isLoaded}function Av(J){return J.name==="Free space"}function fv(J){return J.name==="Free space"}function Mv(J){return J.name==="Free space"}function Bv(J,v){return K(H,{flexDirection:"row",children:J.map(yv)},v)}function yv(J,v){if(J.categoryName==="Free space")return K(z,{dimColor:!0,children:"⛶ "},v);if(J.categoryName===z0)return K(z,{color:J.color,children:"⛝ "},v);return K(z,{color:J.color,children:J.squareFullness>=0.7?"⛁ ":"⛀ "},v)}function Rv(J){return J.name===z0}function Ev(J){return J.isDeferred&&J.name.includes("MCP")}function uv(J){return J.tokens>0&&J.name!=="Free space"&&J.name!==z0&&!J.isDeferred}var G0,z0="Autocompact buffer",Fv;var E0=X0(()=>{F0();C0();I0();V0();Vv();Yv();M0();T();G0=q0(S0(),1);Fv=["Project","User","Managed","Plugin","Built-in"]});function gv({data:J,onDone:v}){let Q=d0.useCallback(()=>v("Context dialog dismissed",{display:"system"}),[v]),X=k0(Q);return u0((U,W)=>{if(W.escape||W.return)Q()}),Z(H,{flexDirection:"column",children:[K(R0,{data:J}),K(z,{dimColor:!0,children:X.pending?`Press ${X.keyName} again to exit`:"Press esc or enter to close"})]})}function mv(J){return m0(J)}async function LJ(J,v){let{messages:Q,getAppState:X,options:{mainLoopModel:U,tools:W}}=v,Y=mv(Q),{messages:F}=await p0(Y),G=process.stdout.columns||80,I=X(),q=await g0(F,U,async()=>I.toolPermissionContext,W,I.agentDefinitions,G,v,void 0,Y);return K(gv,{data:q,onDone:J})}var d0;var jv=X0(()=>{F0();E0();pv();dv();lv();cv();T();d0=q0(kv(),1)});jv();export{LJ as call};
@@ -0,0 +1 @@
1
+ import{sh as a,th as b,uh as c}from"./cli-0.7.6-g736y207.mjs";import"./cli-0.7.6-qan5xxdc.mjs";import"./cli-0.7.6-dfkaq7z7.mjs";import"./cli-0.7.6-frf6ynaj.mjs";import"./cli-0.7.6-y8ga5pny.mjs";import"./cli-0.7.6-md31wz8f.mjs";import"./cli-0.7.6-g2437s1w.mjs";import"./cli-0.7.6-9508tj8e.mjs";import"./cli-0.7.6-ngmxmw82.mjs";import"./cli-0.7.6-am0sf3er.mjs";import"./cli-0.7.6-xky4ty14.mjs";import"./cli-0.7.6-43kp2p25.mjs";import"./cli-0.7.6-tp4xkdj6.mjs";import"./cli-0.7.6-cedrx1f7.mjs";import"./cli-0.7.6-dq87daze.mjs";import"./cli-0.7.6-2ff9pq9s.mjs";import"./cli-0.7.6-w66170ej.mjs";import"./cli-0.7.6-vrcja2t1.mjs";import"./cli-0.7.6-y36b0e0y.mjs";import"./cli-0.7.6-4v3f036y.mjs";import"./cli-0.7.6-chcjfb2p.mjs";import"./cli-0.7.6-xczzrd9d.mjs";import"./cli-0.7.6-56h0kfkw.mjs";import"./cli-0.7.6-f4nmb6r2.mjs";import"./cli-0.7.6-t224fm0b.mjs";import"./cli-0.7.6-0tt8ccr8.mjs";import"./cli-0.7.6-1bvzdjfc.mjs";import"./cli-0.7.6-62ea895q.mjs";import"./cli-0.7.6-w5smxper.mjs";import"./cli-0.7.6-qeq5tx23.mjs";import"./cli-0.7.6-rzhf46t3.mjs";import"./cli-0.7.6-jjmm4f40.mjs";import"./cli-0.7.6-wthbw2r0.mjs";import"./cli-0.7.6-g1gd1372.mjs";import"./cli-0.7.6-8k508w7p.mjs";import"./cli-0.7.6-471rvdw2.mjs";import"./cli-0.7.6-7szsqp12.mjs";import"./cli-0.7.6-0gzsv22g.mjs";import"./cli-0.7.6-vhan81qg.mjs";import"./cli-0.7.6-wch5kwc6.mjs";import"./cli-0.7.6-7mzraehr.mjs";import"./cli-0.7.6-2qwpkx4w.mjs";import"./cli-0.7.6-2kjdfns9.mjs";import"./cli-0.7.6-67tqckbs.mjs";import"./cli-0.7.6-4q91n1nr.mjs";import"./cli-0.7.6-hsa9j8sb.mjs";import"./cli-0.7.6-fn56g2cc.mjs";import"./cli-0.7.6-0ekx5n2q.mjs";import"./cli-0.7.6-1dqh462b.mjs";import"./cli-0.7.6-09hcxer2.mjs";import"./cli-0.7.6-ek2a439r.mjs";import"./cli-0.7.6-k5r0yz41.mjs";import"./cli-0.7.6-8h5rwm21.mjs";import"./cli-0.7.6-5qabm4xe.mjs";import"./cli-0.7.6-z4k83sx6.mjs";import"./cli-0.7.6-jmpc9xmj.mjs";import"./cli-0.7.6-73h798cq.mjs";import"./cli-0.7.6-310844c3.mjs";import"./cli-0.7.6-0wr25ecz.mjs";import"./cli-0.7.6-bfwq4dm5.mjs";import"./cli-0.7.6-xg6ka3pp.mjs";import"./cli-0.7.6-svqwyxab.mjs";import"./cli-0.7.6-r78s2g03.mjs";import"./cli-0.7.6-ama4wyv2.mjs";import"./cli-0.7.6-jtdgswpn.mjs";import"./cli-0.7.6-jpjn976y.mjs";c();export{a as collectContextData,b as call};
@@ -0,0 +1 @@
1
+ import{Ph as a,Qh as b}from"./cli-0.7.6-j63vtmfa.mjs";import"./cli-0.7.6-d5nss1kz.mjs";import"./cli-0.7.6-5wj27v22.mjs";import"./cli-0.7.6-e3dwvde8.mjs";import"./cli-0.7.6-w4bq1f08.mjs";import"./cli-0.7.6-qan5xxdc.mjs";import"./cli-0.7.6-dfkaq7z7.mjs";import"./cli-0.7.6-frf6ynaj.mjs";import"./cli-0.7.6-y8ga5pny.mjs";import"./cli-0.7.6-md31wz8f.mjs";import"./cli-0.7.6-g2437s1w.mjs";import"./cli-0.7.6-9508tj8e.mjs";import"./cli-0.7.6-ngmxmw82.mjs";import"./cli-0.7.6-am0sf3er.mjs";import"./cli-0.7.6-xky4ty14.mjs";import"./cli-0.7.6-43kp2p25.mjs";import"./cli-0.7.6-tp4xkdj6.mjs";import"./cli-0.7.6-cedrx1f7.mjs";import"./cli-0.7.6-dq87daze.mjs";import"./cli-0.7.6-2ff9pq9s.mjs";import"./cli-0.7.6-w66170ej.mjs";import"./cli-0.7.6-vrcja2t1.mjs";import"./cli-0.7.6-y36b0e0y.mjs";import"./cli-0.7.6-4v3f036y.mjs";import"./cli-0.7.6-chcjfb2p.mjs";import"./cli-0.7.6-xczzrd9d.mjs";import"./cli-0.7.6-56h0kfkw.mjs";import"./cli-0.7.6-f4nmb6r2.mjs";import"./cli-0.7.6-t224fm0b.mjs";import"./cli-0.7.6-0tt8ccr8.mjs";import"./cli-0.7.6-1bvzdjfc.mjs";import"./cli-0.7.6-62ea895q.mjs";import"./cli-0.7.6-w5smxper.mjs";import"./cli-0.7.6-qeq5tx23.mjs";import"./cli-0.7.6-rzhf46t3.mjs";import"./cli-0.7.6-jjmm4f40.mjs";import"./cli-0.7.6-wthbw2r0.mjs";import"./cli-0.7.6-g1gd1372.mjs";import"./cli-0.7.6-8k508w7p.mjs";import"./cli-0.7.6-471rvdw2.mjs";import"./cli-0.7.6-7szsqp12.mjs";import"./cli-0.7.6-0gzsv22g.mjs";import"./cli-0.7.6-vhan81qg.mjs";import"./cli-0.7.6-wch5kwc6.mjs";import"./cli-0.7.6-7mzraehr.mjs";import"./cli-0.7.6-2qwpkx4w.mjs";import"./cli-0.7.6-2kjdfns9.mjs";import"./cli-0.7.6-67tqckbs.mjs";import"./cli-0.7.6-4q91n1nr.mjs";import"./cli-0.7.6-hsa9j8sb.mjs";import"./cli-0.7.6-fn56g2cc.mjs";import"./cli-0.7.6-0ekx5n2q.mjs";import"./cli-0.7.6-1dqh462b.mjs";import"./cli-0.7.6-09hcxer2.mjs";import"./cli-0.7.6-ek2a439r.mjs";import"./cli-0.7.6-k5r0yz41.mjs";import"./cli-0.7.6-8h5rwm21.mjs";import"./cli-0.7.6-5qabm4xe.mjs";import"./cli-0.7.6-z4k83sx6.mjs";import"./cli-0.7.6-jmpc9xmj.mjs";import"./cli-0.7.6-73h798cq.mjs";import"./cli-0.7.6-310844c3.mjs";import"./cli-0.7.6-0wr25ecz.mjs";import"./cli-0.7.6-bfwq4dm5.mjs";import"./cli-0.7.6-xg6ka3pp.mjs";import"./cli-0.7.6-svqwyxab.mjs";import"./cli-0.7.6-r78s2g03.mjs";import"./cli-0.7.6-ama4wyv2.mjs";import"./cli-0.7.6-jtdgswpn.mjs";import"./cli-0.7.6-jpjn976y.mjs";b();export{a as clearConversation};
@@ -0,0 +1 @@
1
+ import{Ai as e,wi as a,xi as b,yi as c,zi as d}from"./cli-0.7.6-ejk8n0sg.mjs";import"./cli-0.7.6-jpjn976y.mjs";e();export{d as wrapFetchWithCopilotHeaders,b as messagesContainImage,a as detectCopilotInitiator,c as buildCopilotDynamicHeaders};
@@ -0,0 +1,9 @@
1
+ import{IQ as Tq,OF as n,PF as Fq,Qn as T,Rn as Nq,Un as l,Vn as Iq,Xi as d,Yi as Yq,ak as a,fk as i}from"./cli-0.7.6-qan5xxdc.mjs";import"./cli-0.7.6-dfkaq7z7.mjs";import"./cli-0.7.6-frf6ynaj.mjs";import"./cli-0.7.6-y8ga5pny.mjs";import"./cli-0.7.6-md31wz8f.mjs";import"./cli-0.7.6-g2437s1w.mjs";import"./cli-0.7.6-9508tj8e.mjs";import"./cli-0.7.6-ngmxmw82.mjs";import"./cli-0.7.6-am0sf3er.mjs";import"./cli-0.7.6-xky4ty14.mjs";import"./cli-0.7.6-43kp2p25.mjs";import"./cli-0.7.6-tp4xkdj6.mjs";import"./cli-0.7.6-cedrx1f7.mjs";import"./cli-0.7.6-dq87daze.mjs";import"./cli-0.7.6-2ff9pq9s.mjs";import"./cli-0.7.6-w66170ej.mjs";import"./cli-0.7.6-vrcja2t1.mjs";import"./cli-0.7.6-y36b0e0y.mjs";import"./cli-0.7.6-4v3f036y.mjs";import{UX as s,VX as vq}from"./cli-0.7.6-chcjfb2p.mjs";import"./cli-0.7.6-xczzrd9d.mjs";import{CY as $,HY as zq,I0 as Mq,IY as Hq,b0 as c,d0 as u}from"./cli-0.7.6-56h0kfkw.mjs";import"./cli-0.7.6-f4nmb6r2.mjs";import"./cli-0.7.6-t224fm0b.mjs";import"./cli-0.7.6-0tt8ccr8.mjs";import"./cli-0.7.6-1bvzdjfc.mjs";import"./cli-0.7.6-62ea895q.mjs";import"./cli-0.7.6-w5smxper.mjs";import"./cli-0.7.6-qeq5tx23.mjs";import"./cli-0.7.6-rzhf46t3.mjs";import"./cli-0.7.6-jjmm4f40.mjs";import"./cli-0.7.6-wthbw2r0.mjs";import"./cli-0.7.6-g1gd1372.mjs";import{O2 as I,P2 as h,Q2 as k}from"./cli-0.7.6-8k508w7p.mjs";import{R2 as Gq}from"./cli-0.7.6-471rvdw2.mjs";import"./cli-0.7.6-7szsqp12.mjs";import"./cli-0.7.6-0gzsv22g.mjs";import"./cli-0.7.6-vhan81qg.mjs";import"./cli-0.7.6-wch5kwc6.mjs";import"./cli-0.7.6-7mzraehr.mjs";import"./cli-0.7.6-2qwpkx4w.mjs";import"./cli-0.7.6-2kjdfns9.mjs";import"./cli-0.7.6-67tqckbs.mjs";import"./cli-0.7.6-4q91n1nr.mjs";import"./cli-0.7.6-hsa9j8sb.mjs";import{Iba as b,Kda as Xq,Oba as Uq,mda as r,pda as _}from"./cli-0.7.6-fn56g2cc.mjs";import{tfa as f,ufa as Zq}from"./cli-0.7.6-0ekx5n2q.mjs";import"./cli-0.7.6-1dqh462b.mjs";import"./cli-0.7.6-09hcxer2.mjs";import"./cli-0.7.6-ek2a439r.mjs";import"./cli-0.7.6-k5r0yz41.mjs";import"./cli-0.7.6-8h5rwm21.mjs";import"./cli-0.7.6-5qabm4xe.mjs";import{Nha as P,Qha as Vq}from"./cli-0.7.6-z4k83sx6.mjs";import"./cli-0.7.6-jmpc9xmj.mjs";import"./cli-0.7.6-73h798cq.mjs";import"./cli-0.7.6-310844c3.mjs";import"./cli-0.7.6-0wr25ecz.mjs";import"./cli-0.7.6-bfwq4dm5.mjs";import"./cli-0.7.6-xg6ka3pp.mjs";import"./cli-0.7.6-svqwyxab.mjs";import"./cli-0.7.6-r78s2g03.mjs";import"./cli-0.7.6-ama4wyv2.mjs";import"./cli-0.7.6-jtdgswpn.mjs";import{Tqa as g,Xqa as Qq}from"./cli-0.7.6-jpjn976y.mjs";import{mkdir as Kq,writeFile as Rq}from"fs/promises";import{tmpdir as Oq}from"os";import{join as t}from"path";function Pq(Q){let q=d.lexer(a(Q)),V=[];for(let J of q)if(J.type==="code"){let Z=J;V.push({code:Z.text,lang:Z.lang})}return V}function wq(Q){let q=[];for(let V=Q.length-1;V>=0&&q.length<Wq;V--){let J=Q[V];if(J?.type!=="assistant"||J.isApiErrorMessage)continue;let Z=J.message.content;if(!Array.isArray(Z))continue;let U=i(Z,`
2
+
3
+ `);if(U)q.push(U)}return q}function yq(Q){if(Q){let q=Q.replace(/[^a-zA-Z0-9]/g,"");if(q&&q!=="plaintext")return`.${q}`}return".txt"}async function Jq(Q,q){let V=t(x,q);return await Kq(x,{recursive:!0}),await Rq(V,Q,"utf-8"),V}async function m(Q,q){let V=await $(Q);if(V)process.stdout.write(V);let J=b(Q,`
4
+ `)+1,Z=Q.length;try{let U=await Jq(Q,q);return`Copied to clipboard (${Z} characters, ${J} lines)
5
+ Also written to ${U}`}catch{return`Copied to clipboard (${Z} characters, ${J} lines)`}}function Aq(Q,q){let V=Q.split(`
6
+ `)[0]??"";if(f(V)<=q)return V;let J="",Z=0,U=q-1;for(let H of V){let G=f(H);if(Z+G>U)break;J+=H,Z+=G}return J+"…"}function pq(Q){let q=o.c(33),{fullText:V,codeBlocks:J,messageAge:Z,onDone:U}=Q,H=e.useRef("full"),G=`${V.length} chars, ${b(V,`
7
+ `)+1} lines`,M;if(q[0]!==G)M={label:"Full response",value:"full",description:G},q[0]=G,q[1]=M;else M=q[1];let z;if(q[2]!==J||q[3]!==M){let Y;if(q[5]===Symbol.for("react.memo_cache_sentinel"))Y={label:"Always copy full response",value:"always",description:"Skip this picker in the future (revert via /config)"},q[5]=Y;else Y=q[5];z=[M,...J.map(Lq),Y],q[2]=J,q[3]=M,q[4]=z}else z=q[4];let B=z,w;if(q[6]!==J||q[7]!==V)w=function(N){if(N==="full"||N==="always")return{text:V,filename:qq};let X=J[N];return{text:X.code,filename:`copy${yq(X.lang)}`,blockIndex:N}},q[6]=J,q[7]=V,q[8]=w;else w=q[8];let v=w,y;if(q[9]!==J.length||q[10]!==v||q[11]!==Z||q[12]!==U)y=async function(N){let X=v(N);if(N==="always"){if(!_().copyFullResponse)r(Eq);P("tengu_copy",{block_count:J.length,always:!0,message_age:Z});let W=await m(X.text,X.filename);U(`${W}
8
+ Preference saved. Use /config to change copyFullResponse`);return}P("tengu_copy",{selected_block:X.blockIndex,block_count:J.length,message_age:Z});let O=await m(X.text,X.filename);U(O)},q[9]=J.length,q[10]=v,q[11]=Z,q[12]=U,q[13]=y;else y=q[13];let S=y,A;if(q[14]!==J.length||q[15]!==v||q[16]!==Z||q[17]!==U){let Y=async function(X){let O=v(X);P("tengu_copy",{selected_block:O.blockIndex,block_count:J.length,message_age:Z,write_shortcut:!0});try{let W=await Jq(O.text,O.filename);U(`Written to ${W}`)}catch(W){let D=W;U(`Failed to write file: ${D instanceof Error?D.message:D}`)}};A=function(X){if(X.key==="w")X.preventDefault(),Y(H.current)},q[14]=J.length,q[15]=v,q[16]=Z,q[17]=U,q[18]=A}else A=q[18];let C=A,p;if(q[19]===Symbol.for("react.memo_cache_sentinel"))p=I(u,{dimColor:!0,children:"Select content to copy:"}),q[19]=p;else p=q[19];let E;if(q[20]===Symbol.for("react.memo_cache_sentinel"))E=(Y)=>{H.current=Y},q[20]=E;else E=q[20];let F;if(q[21]!==S)F=(Y)=>{S(Y)},q[21]=S,q[22]=F;else F=q[22];let K;if(q[23]!==U)K=()=>{U("Copy cancelled",{display:"system"})},q[23]=U,q[24]=K;else K=q[24];let R;if(q[25]!==B||q[26]!==K||q[27]!==F)R=I(n,{options:B,hideIndexes:!1,onFocus:E,onChange:F,onCancel:K}),q[25]=B,q[26]=K,q[27]=F,q[28]=R;else R=q[28];let L;if(q[29]===Symbol.for("react.memo_cache_sentinel"))L=I(u,{dimColor:!0,children:h(l,{children:[I(T,{shortcut:"enter",action:"copy"}),I(T,{shortcut:"w",action:"write to file"}),I(T,{shortcut:"esc",action:"cancel"})]})}),q[29]=L;else L=q[29];let j;if(q[30]!==C||q[31]!==R)j=I(s,{children:h(c,{flexDirection:"column",gap:1,tabIndex:0,autoFocus:!0,onKeyDown:C,children:[p,R,L]})}),q[30]=C,q[31]=R,q[32]=j;else j=q[32];return j}function Eq(Q){return{...Q,copyFullResponse:!0}}function Lq(Q,q){let V=b(Q.code,`
9
+ `)+1;return{label:Aq(Q.code,60),value:q,description:[Q.lang,V>1?`${V} lines`:void 0].filter(Boolean).join(", ")||void 0}}var o,e,x,qq="response.md",Wq=20,aq=async(Q,q,V)=>{let J=wq(q.messages);if(J.length===0)return Q("No assistant message to copy"),null;let Z=0,U=V?.trim();if(U){let z=Number(U);if(!Number.isInteger(z)||z<1)return Q(`Usage: /copy [N] where N is 1 (latest), 2, 3, … Got: ${U}`),null;if(z>J.length)return Q(`Only ${J.length} assistant ${J.length===1?"message":"messages"} available to copy`),null;Z=z-1}let H=J[Z],G=Pq(H),M=_();if(G.length===0||M.copyFullResponse){P("tengu_copy",{always:M.copyFullResponse,block_count:G.length,message_age:Z});let z=await m(H,qq);return Q(z),null}return I(pq,{fullText:H,codeBlocks:G,messageAge:Z,onDone:Q})};var jq=Qq(()=>{Yq();Fq();Iq();Nq();vq();Zq();zq();Mq();Vq();Xq();Tq();Uq();k();o=g(Hq(),1),e=g(Gq(),1),x=t(Oq(),"claude")});jq();export{yq as fileExtension,wq as collectRecentAssistantTexts,aq as call};
@@ -0,0 +1 @@
1
+ import{Qq as p,Uq as y,Yu as q,Zu as z}from"./cli-0.7.6-qan5xxdc.mjs";import"./cli-0.7.6-dfkaq7z7.mjs";import"./cli-0.7.6-frf6ynaj.mjs";import"./cli-0.7.6-y8ga5pny.mjs";import"./cli-0.7.6-md31wz8f.mjs";import"./cli-0.7.6-g2437s1w.mjs";import"./cli-0.7.6-9508tj8e.mjs";import"./cli-0.7.6-ngmxmw82.mjs";import"./cli-0.7.6-am0sf3er.mjs";import"./cli-0.7.6-xky4ty14.mjs";import"./cli-0.7.6-43kp2p25.mjs";import"./cli-0.7.6-tp4xkdj6.mjs";import"./cli-0.7.6-cedrx1f7.mjs";import"./cli-0.7.6-dq87daze.mjs";import"./cli-0.7.6-2ff9pq9s.mjs";import"./cli-0.7.6-w66170ej.mjs";import"./cli-0.7.6-vrcja2t1.mjs";import"./cli-0.7.6-y36b0e0y.mjs";import"./cli-0.7.6-4v3f036y.mjs";import"./cli-0.7.6-chcjfb2p.mjs";import"./cli-0.7.6-xczzrd9d.mjs";import"./cli-0.7.6-56h0kfkw.mjs";import"./cli-0.7.6-f4nmb6r2.mjs";import"./cli-0.7.6-t224fm0b.mjs";import"./cli-0.7.6-0tt8ccr8.mjs";import"./cli-0.7.6-1bvzdjfc.mjs";import"./cli-0.7.6-62ea895q.mjs";import"./cli-0.7.6-w5smxper.mjs";import"./cli-0.7.6-qeq5tx23.mjs";import"./cli-0.7.6-rzhf46t3.mjs";import"./cli-0.7.6-jjmm4f40.mjs";import"./cli-0.7.6-wthbw2r0.mjs";import"./cli-0.7.6-g1gd1372.mjs";import"./cli-0.7.6-8k508w7p.mjs";import"./cli-0.7.6-471rvdw2.mjs";import"./cli-0.7.6-7szsqp12.mjs";import"./cli-0.7.6-0gzsv22g.mjs";import"./cli-0.7.6-vhan81qg.mjs";import"./cli-0.7.6-wch5kwc6.mjs";import{a7 as k,v7 as x}from"./cli-0.7.6-7mzraehr.mjs";import"./cli-0.7.6-2qwpkx4w.mjs";import"./cli-0.7.6-2kjdfns9.mjs";import"./cli-0.7.6-67tqckbs.mjs";import"./cli-0.7.6-4q91n1nr.mjs";import"./cli-0.7.6-hsa9j8sb.mjs";import"./cli-0.7.6-fn56g2cc.mjs";import"./cli-0.7.6-0ekx5n2q.mjs";import"./cli-0.7.6-1dqh462b.mjs";import"./cli-0.7.6-09hcxer2.mjs";import"./cli-0.7.6-ek2a439r.mjs";import"./cli-0.7.6-k5r0yz41.mjs";import"./cli-0.7.6-8h5rwm21.mjs";import"./cli-0.7.6-5qabm4xe.mjs";import"./cli-0.7.6-z4k83sx6.mjs";import"./cli-0.7.6-jmpc9xmj.mjs";import"./cli-0.7.6-73h798cq.mjs";import"./cli-0.7.6-310844c3.mjs";import"./cli-0.7.6-0wr25ecz.mjs";import"./cli-0.7.6-bfwq4dm5.mjs";import"./cli-0.7.6-xg6ka3pp.mjs";import"./cli-0.7.6-svqwyxab.mjs";import"./cli-0.7.6-r78s2g03.mjs";import"./cli-0.7.6-ama4wyv2.mjs";import"./cli-0.7.6-jtdgswpn.mjs";import{Xqa as w}from"./cli-0.7.6-jpjn976y.mjs";var G=async()=>{if(k()){let g;if(p.isUsingOverage)g="You are currently using your overages to power your Claude Code usage. We will automatically switch you back to your subscription rate limits when they reset";else g="You are currently using your subscription to power your Claude Code usage";return{type:"text",value:g}}return{type:"text",value:q()}};var B=w(()=>{z();y();x()});B();export{G as call};
@@ -0,0 +1 @@
1
+ import"./cli-0.7.6-jpjn976y.mjs";var o=()=>null,n=o;export{n as default};
@@ -0,0 +1 @@
1
+ import{pf as a,qf as b,rf as c,sf as d,tf as e}from"./cli-0.7.6-pasrzvza.mjs";import"./cli-0.7.6-m51wgngt.mjs";import"./cli-0.7.6-1bvzdjfc.mjs";import"./cli-0.7.6-z4k83sx6.mjs";import"./cli-0.7.6-jmpc9xmj.mjs";import"./cli-0.7.6-73h798cq.mjs";import"./cli-0.7.6-310844c3.mjs";import"./cli-0.7.6-0wr25ecz.mjs";import"./cli-0.7.6-bfwq4dm5.mjs";import"./cli-0.7.6-xg6ka3pp.mjs";import"./cli-0.7.6-svqwyxab.mjs";import"./cli-0.7.6-jpjn976y.mjs";e();export{d as updateBridgeSessionTitle,b as getBridgeSession,a as createBridgeSession,c as archiveBridgeSession};
@@ -0,0 +1 @@
1
+ import{Hia as a,Iia as b,Jia as c,Kia as d,Lia as e,Mia as f,Nia as g,Oia as h,Pia as i,Qia as j,Ria as k,Sia as l,Tia as m}from"./cli-0.7.6-jmpc9xmj.mjs";import"./cli-0.7.6-73h798cq.mjs";import"./cli-0.7.6-310844c3.mjs";import"./cli-0.7.6-0wr25ecz.mjs";import"./cli-0.7.6-bfwq4dm5.mjs";import"./cli-0.7.6-xg6ka3pp.mjs";import"./cli-0.7.6-svqwyxab.mjs";import"./cli-0.7.6-jpjn976y.mjs";m();export{g as setHasFormattedOutput,j as logForDebugging,l as logAntError,e as isDebugToStdErr,b as isDebugMode,a as getMinDebugLogLevel,h as getHasFormattedOutput,k as getDebugLogPath,d as getDebugFilter,f as getDebugFilePath,i as flushDebugLogs,c as enableDebugLogging};