@claudiolabs/claudin 0.7.1 → 0.7.2

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 (892) hide show
  1. package/dist/chunks/AgentTool-0.7.2-9q9cf0s2.mjs +1 -0
  2. package/dist/chunks/App-0.7.2-1yazneaj.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-0.7.2-r6n7yk1e.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-0.7.2-bq8tfzkt.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-0.7.2-exq70cpt.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-0.7.2-4wq8e6bg.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.2-tfd9bwks.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-0.7.2-x4nff112.mjs +1 -0
  9. package/dist/chunks/DiffDialog-0.7.2-rynq65x0.mjs +7 -0
  10. package/dist/chunks/Doctor-0.7.2-47kvka8v.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-0.7.2-whxpmm57.mjs +6 -0
  12. package/dist/chunks/Grove-0.7.2-xd5sc9zj.mjs +1 -0
  13. package/dist/chunks/ITermBackend-0.7.2-d9gvx90g.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-0.7.2-caf92zwe.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-0.7.2-4ahhegj6.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-0.7.2-j7wxkhr6.mjs +1 -0
  17. package/dist/chunks/Onboarding-0.7.2-4rq70qsr.mjs +1 -0
  18. package/dist/chunks/ProviderManager-0.7.2-gjmzm35c.mjs +1 -0
  19. package/dist/chunks/REPL-0.7.2-a8j6n2qa.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-0.7.2-84wvvrx5.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-0.7.2-wk0qx8j6.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-0.7.2-dj8zvkv5.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-0.7.2-ey2mmrd3.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-0.7.2-j4vtrwzz.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-0.7.2-en2ev5fc.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-0.7.2-qkk7a91f.mjs +1 -0
  27. package/dist/chunks/TrustDialog-0.7.2-eh3tqgea.mjs +1 -0
  28. package/dist/chunks/activeProvider-0.7.2-53s4g0s8.mjs +1 -0
  29. package/dist/chunks/add-dir-0.7.2-p09yjmj7.mjs +1 -0
  30. package/dist/chunks/agents-0.7.2-0m73ejzs.mjs +3 -0
  31. package/dist/chunks/agents-0.7.2-a1zpb02y.mjs +110 -0
  32. package/dist/chunks/api-0.7.2-gwy9gs1j.mjs +1 -0
  33. package/dist/chunks/asciicast-0.7.2-5vqep6sv.mjs +1 -0
  34. package/dist/chunks/assistant-0.7.2-txvf934b.mjs +1 -0
  35. package/dist/chunks/auth-0.7.2-02q30rsb.mjs +1 -0
  36. package/dist/chunks/auth-0.7.2-x29x49yh.mjs +1 -0
  37. package/dist/chunks/autoMode-0.7.2-5jnc8v33.mjs +48 -0
  38. package/dist/chunks/autoUpdater-0.7.2-pdqvbd3c.mjs +1 -0
  39. package/dist/chunks/backgroundHousekeeping-0.7.2-1m4w90vq.mjs +1 -0
  40. package/dist/chunks/branch-0.7.2-wgyhx41x.mjs +4 -0
  41. package/dist/chunks/bridge-0.7.2-f4ryhejx.mjs +2 -0
  42. package/dist/chunks/bridgeConfig-0.7.2-g6w4rghz.mjs +1 -0
  43. package/dist/chunks/bridgeEnabled-0.7.2-5aspb655.mjs +1 -0
  44. package/dist/chunks/bridgeMain-0.7.2-fey03cj7.mjs +88 -0
  45. package/dist/chunks/bridgePointer-0.7.2-8k41syzc.mjs +1 -0
  46. package/dist/chunks/btw-0.7.2-syxbtnxj.mjs +1 -0
  47. package/dist/chunks/buddy-0.7.2-gge72j8t.mjs +3 -0
  48. package/dist/chunks/cacache-0.7.2-gztwvvrm.mjs +1 -0
  49. package/dist/chunks/cache-probe-0.7.2-1gytt4j5.mjs +21 -0
  50. package/dist/chunks/cacheStats-0.7.2-sd9n48k1.mjs +4 -0
  51. package/dist/chunks/caches-0.7.2-cqzt5zwn.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-0.7.2-7pna3peh.mjs +1 -0
  53. package/dist/chunks/claudemd-0.7.2-n2d9tbz6.mjs +1 -0
  54. package/dist/chunks/clear-0.7.2-v59pskrm.mjs +1 -0
  55. package/dist/chunks/clearTerminal-0.7.2-p4d7q5b7.mjs +1 -0
  56. package/dist/chunks/cli-0.7.2-0cmw1f4j.mjs +2 -0
  57. package/dist/chunks/cli-0.7.2-0mj25tns.mjs +2 -0
  58. package/dist/chunks/cli-0.7.2-0v8f8cx4.mjs +2 -0
  59. package/dist/chunks/cli-0.7.2-19vhaz2c.mjs +2 -0
  60. package/dist/chunks/cli-0.7.2-1a4j9k2f.mjs +2 -0
  61. package/dist/chunks/cli-0.7.2-1aerk8aa.mjs +2 -0
  62. package/dist/chunks/cli-0.7.2-1rwkghr2.mjs +2 -0
  63. package/dist/chunks/cli-0.7.2-21mtjks8.mjs +15 -0
  64. package/dist/chunks/cli-0.7.2-23xjb2nt.mjs +2 -0
  65. package/dist/chunks/cli-0.7.2-26rzbaez.mjs +2 -0
  66. package/dist/chunks/cli-0.7.2-29hh46ve.mjs +3 -0
  67. package/dist/chunks/cli-0.7.2-2dbmqwyn.mjs +2 -0
  68. package/dist/chunks/cli-0.7.2-2rj33835.mjs +6 -0
  69. package/dist/chunks/cli-0.7.2-31k7gjq7.mjs +2 -0
  70. package/dist/chunks/cli-0.7.2-358vh55m.mjs +2 -0
  71. package/dist/chunks/cli-0.7.2-3cc67r6d.mjs +2 -0
  72. package/dist/chunks/cli-0.7.2-3frg7csa.mjs +2 -0
  73. package/dist/chunks/cli-0.7.2-3s2zd715.mjs +3 -0
  74. package/dist/chunks/cli-0.7.2-3synxf81.mjs +2 -0
  75. package/dist/chunks/cli-0.7.2-40f37y02.mjs +2 -0
  76. package/dist/chunks/cli-0.7.2-40xymk1q.mjs +2 -0
  77. package/dist/chunks/cli-0.7.2-437jawbh.mjs +2 -0
  78. package/dist/chunks/cli-0.7.2-43d0yq0h.mjs +2 -0
  79. package/dist/chunks/cli-0.7.2-44rzmsbx.mjs +2 -0
  80. package/dist/chunks/cli-0.7.2-4d6z9fdj.mjs +2 -0
  81. package/dist/chunks/cli-0.7.2-4g4d682x.mjs +3 -0
  82. package/dist/chunks/cli-0.7.2-520tgkhw.mjs +5438 -0
  83. package/dist/chunks/cli-0.7.2-53qayxqk.mjs +2 -0
  84. package/dist/chunks/cli-0.7.2-5415yrkc.mjs +2 -0
  85. package/dist/chunks/cli-0.7.2-55ye29jy.mjs +2 -0
  86. package/dist/chunks/cli-0.7.2-5750g5et.mjs +2 -0
  87. package/dist/chunks/cli-0.7.2-59wm2srd.mjs +2 -0
  88. package/dist/chunks/cli-0.7.2-5aka4emf.mjs +133 -0
  89. package/dist/chunks/cli-0.7.2-5ca5nqtj.mjs +4 -0
  90. package/dist/chunks/cli-0.7.2-5e72m61f.mjs +25 -0
  91. package/dist/chunks/cli-0.7.2-5ff63f31.mjs +4 -0
  92. package/dist/chunks/cli-0.7.2-5gqht4d7.mjs +2 -0
  93. package/dist/chunks/cli-0.7.2-5qd0bn5g.mjs +193 -0
  94. package/dist/chunks/cli-0.7.2-5tacs42k.mjs +2 -0
  95. package/dist/chunks/cli-0.7.2-5y498dyr.mjs +2 -0
  96. package/dist/chunks/cli-0.7.2-5y75zyrv.mjs +15 -0
  97. package/dist/chunks/cli-0.7.2-5yrman6f.mjs +2 -0
  98. package/dist/chunks/cli-0.7.2-60exfzc0.mjs +2 -0
  99. package/dist/chunks/cli-0.7.2-65v6wt4g.mjs +2 -0
  100. package/dist/chunks/cli-0.7.2-68dn8am7.mjs +2 -0
  101. package/dist/chunks/cli-0.7.2-6pjgt9bx.mjs +2 -0
  102. package/dist/chunks/cli-0.7.2-6zd4a6yh.mjs +12 -0
  103. package/dist/chunks/cli-0.7.2-7dh7rk2t.mjs +2 -0
  104. package/dist/chunks/cli-0.7.2-7rjfehxm.mjs +2 -0
  105. package/dist/chunks/cli-0.7.2-7xfph0pz.mjs +2 -0
  106. package/dist/chunks/cli-0.7.2-81s45w7r.mjs +2 -0
  107. package/dist/chunks/cli-0.7.2-828f420c.mjs +7 -0
  108. package/dist/chunks/cli-0.7.2-83dd0h2c.mjs +2 -0
  109. package/dist/chunks/cli-0.7.2-88h70xrj.mjs +50 -0
  110. package/dist/chunks/cli-0.7.2-894093rv.mjs +2 -0
  111. package/dist/chunks/cli-0.7.2-89wj5h3q.mjs +2 -0
  112. package/dist/chunks/cli-0.7.2-8pfcc363.mjs +12 -0
  113. package/dist/chunks/cli-0.7.2-8qd7xft9.mjs +16 -0
  114. package/dist/chunks/cli-0.7.2-9156j3vm.mjs +6 -0
  115. package/dist/chunks/cli-0.7.2-9328ezjz.mjs +3 -0
  116. package/dist/chunks/cli-0.7.2-9953mwyy.mjs +2 -0
  117. package/dist/chunks/cli-0.7.2-99am4r15.mjs +4 -0
  118. package/dist/chunks/cli-0.7.2-9kn29b9a.mjs +4 -0
  119. package/dist/chunks/cli-0.7.2-9ry87dm1.mjs +2 -0
  120. package/dist/chunks/cli-0.7.2-9vr6ts7b.mjs +2 -0
  121. package/dist/chunks/cli-0.7.2-a5svqzyj.mjs +2 -0
  122. package/dist/chunks/cli-0.7.2-a6q1amed.mjs +2 -0
  123. package/dist/chunks/cli-0.7.2-a9324x4q.mjs +8 -0
  124. package/dist/chunks/cli-0.7.2-aaxbm02p.mjs +2 -0
  125. package/dist/chunks/cli-0.7.2-apg4ptg9.mjs +2 -0
  126. package/dist/chunks/cli-0.7.2-atsd6734.mjs +2 -0
  127. package/dist/chunks/cli-0.7.2-avk3azcp.mjs +2 -0
  128. package/dist/chunks/cli-0.7.2-aye3y5eg.mjs +2 -0
  129. package/dist/chunks/cli-0.7.2-b0v1mt53.mjs +2 -0
  130. package/dist/chunks/cli-0.7.2-bd97qyyb.mjs +2 -0
  131. package/dist/chunks/cli-0.7.2-bdnz1mnz.mjs +21 -0
  132. package/dist/chunks/cli-0.7.2-bjk14f5p.mjs +2 -0
  133. package/dist/chunks/cli-0.7.2-bmz47g1t.mjs +18 -0
  134. package/dist/chunks/cli-0.7.2-bttmh4fa.mjs +4 -0
  135. package/dist/chunks/cli-0.7.2-ccy16hvg.mjs +2 -0
  136. package/dist/chunks/cli-0.7.2-chg4zqj2.mjs +2 -0
  137. package/dist/chunks/cli-0.7.2-cjhzamwx.mjs +2 -0
  138. package/dist/chunks/cli-0.7.2-cqh66sd8.mjs +2 -0
  139. package/dist/chunks/cli-0.7.2-cqqj8v1e.mjs +6 -0
  140. package/dist/chunks/cli-0.7.2-czgmcj2j.mjs +2 -0
  141. package/dist/chunks/cli-0.7.2-dggndd24.mjs +2 -0
  142. package/dist/chunks/cli-0.7.2-drxj7wsn.mjs +2 -0
  143. package/dist/chunks/cli-0.7.2-ds7h4ntr.mjs +2 -0
  144. package/dist/chunks/cli-0.7.2-dxm2c139.mjs +24 -0
  145. package/dist/chunks/cli-0.7.2-dzt53r0y.mjs +2 -0
  146. package/dist/chunks/cli-0.7.2-e6dtw86q.mjs +2 -0
  147. package/dist/chunks/cli-0.7.2-ec60dmtg.mjs +2 -0
  148. package/dist/chunks/cli-0.7.2-edf740pd.mjs +5 -0
  149. package/dist/chunks/cli-0.7.2-eey9qnsc.mjs +2 -0
  150. package/dist/chunks/cli-0.7.2-eyjs1wq5.mjs +2 -0
  151. package/dist/chunks/cli-0.7.2-f4nt233k.mjs +3 -0
  152. package/dist/chunks/cli-0.7.2-fcadqwem.mjs +1 -0
  153. package/dist/chunks/cli-0.7.2-fkp8v4sr.mjs +2 -0
  154. package/dist/chunks/cli-0.7.2-g3k7m45h.mjs +12 -0
  155. package/dist/chunks/cli-0.7.2-g6cqgcyf.mjs +2 -0
  156. package/dist/chunks/cli-0.7.2-gar34ch2.mjs +4 -0
  157. package/dist/chunks/cli-0.7.2-gn8ff3x2.mjs +2 -0
  158. package/dist/chunks/cli-0.7.2-gssxkynf.mjs +2 -0
  159. package/dist/chunks/cli-0.7.2-gx0r7hs8.mjs +2 -0
  160. package/dist/chunks/cli-0.7.2-gysw8esj.mjs +2 -0
  161. package/dist/chunks/cli-0.7.2-h248q4gt.mjs +2 -0
  162. package/dist/chunks/cli-0.7.2-h3jq0nx1.mjs +2 -0
  163. package/dist/chunks/cli-0.7.2-h7m849rt.mjs +2 -0
  164. package/dist/chunks/cli-0.7.2-h903zfjz.mjs +2 -0
  165. package/dist/chunks/cli-0.7.2-hbmczrch.mjs +9 -0
  166. package/dist/chunks/cli-0.7.2-he1hdn59.mjs +18 -0
  167. package/dist/chunks/cli-0.7.2-hspcdhd7.mjs +2 -0
  168. package/dist/chunks/cli-0.7.2-hv1z3had.mjs +3 -0
  169. package/dist/chunks/cli-0.7.2-hvk7rgt3.mjs +2 -0
  170. package/dist/chunks/cli-0.7.2-j029dkan.mjs +3 -0
  171. package/dist/chunks/cli-0.7.2-j0s33kp5.mjs +2 -0
  172. package/dist/chunks/cli-0.7.2-j3vx2jqw.mjs +2 -0
  173. package/dist/chunks/cli-0.7.2-jbhdwhp3.mjs +2 -0
  174. package/dist/chunks/cli-0.7.2-jc7jm1vm.mjs +2 -0
  175. package/dist/chunks/cli-0.7.2-jkt40yfs.mjs +2 -0
  176. package/dist/chunks/cli-0.7.2-jn2497vh.mjs +2 -0
  177. package/dist/chunks/cli-0.7.2-jv6k1kz6.mjs +2 -0
  178. package/dist/chunks/cli-0.7.2-k40k933y.mjs +24 -0
  179. package/dist/chunks/cli-0.7.2-k6jnr159.mjs +2 -0
  180. package/dist/chunks/cli-0.7.2-k9qpm29e.mjs +2 -0
  181. package/dist/chunks/cli-0.7.2-kyd7mrxn.mjs +2 -0
  182. package/dist/chunks/cli-0.7.2-mapkx1gt.mjs +2 -0
  183. package/dist/chunks/cli-0.7.2-mg2tmjs3.mjs +12 -0
  184. package/dist/chunks/cli-0.7.2-mja3g8j0.mjs +2 -0
  185. package/dist/chunks/cli-0.7.2-mp7jnva5.mjs +15 -0
  186. package/dist/chunks/cli-0.7.2-mqv265gk.mjs +42 -0
  187. package/dist/chunks/cli-0.7.2-mw93dmjz.mjs +3 -0
  188. package/dist/chunks/cli-0.7.2-n1ncm3tc.mjs +2 -0
  189. package/dist/chunks/cli-0.7.2-n8kpba5n.mjs +2 -0
  190. package/dist/chunks/cli-0.7.2-ndt224p1.mjs +2 -0
  191. package/dist/chunks/cli-0.7.2-nf346apq.mjs +18 -0
  192. package/dist/chunks/cli-0.7.2-ngdtr2fz.mjs +2 -0
  193. package/dist/chunks/cli-0.7.2-nkafymh4.mjs +3 -0
  194. package/dist/chunks/cli-0.7.2-nxtag6y2.mjs +45 -0
  195. package/dist/chunks/cli-0.7.2-p42bcqhs.mjs +3 -0
  196. package/dist/chunks/cli-0.7.2-pbaedfkk.mjs +67 -0
  197. package/dist/chunks/cli-0.7.2-pjavf176.mjs +2 -0
  198. package/dist/chunks/cli-0.7.2-pm05qj0a.mjs +4 -0
  199. package/dist/chunks/cli-0.7.2-ppaeptkd.mjs +2 -0
  200. package/dist/chunks/cli-0.7.2-q2pk22xv.mjs +2 -0
  201. package/dist/chunks/cli-0.7.2-q85af7gm.mjs +2 -0
  202. package/dist/chunks/cli-0.7.2-q88h44qv.mjs +17 -0
  203. package/dist/chunks/cli-0.7.2-qdapr4dz.mjs +2 -0
  204. package/dist/chunks/cli-0.7.2-qf8435qy.mjs +2 -0
  205. package/dist/chunks/cli-0.7.2-qftw5wyw.mjs +5 -0
  206. package/dist/chunks/cli-0.7.2-qr706n52.mjs +10 -0
  207. package/dist/chunks/cli-0.7.2-qsx52bst.mjs +2 -0
  208. package/dist/chunks/cli-0.7.2-r1502pen.mjs +2 -0
  209. package/dist/chunks/cli-0.7.2-r26ghgw6.mjs +5 -0
  210. package/dist/chunks/cli-0.7.2-r7x165sf.mjs +17 -0
  211. package/dist/chunks/cli-0.7.2-rn3w4y3r.mjs +2 -0
  212. package/dist/chunks/cli-0.7.2-s0av8fr2.mjs +2 -0
  213. package/dist/chunks/cli-0.7.2-s3r1krp7.mjs +2 -0
  214. package/dist/chunks/cli-0.7.2-s41x7s9w.mjs +133 -0
  215. package/dist/chunks/cli-0.7.2-se4w3qaw.mjs +2 -0
  216. package/dist/chunks/cli-0.7.2-sjrnxjfp.mjs +2 -0
  217. package/dist/chunks/cli-0.7.2-sr9m45tm.mjs +2 -0
  218. package/dist/chunks/cli-0.7.2-t1wtmnh8.mjs +2 -0
  219. package/dist/chunks/cli-0.7.2-tds456xt.mjs +34 -0
  220. package/dist/chunks/cli-0.7.2-tf3mc20k.mjs +4 -0
  221. package/dist/chunks/cli-0.7.2-twx01hwg.mjs +2 -0
  222. package/dist/chunks/cli-0.7.2-tx2rxhrx.mjs +3 -0
  223. package/dist/chunks/cli-0.7.2-tytdzgnc.mjs +2 -0
  224. package/dist/chunks/cli-0.7.2-tz5zv753.mjs +6 -0
  225. package/dist/chunks/cli-0.7.2-tzc6qkph.mjs +3 -0
  226. package/dist/chunks/cli-0.7.2-vb0ja1yz.mjs +2 -0
  227. package/dist/chunks/cli-0.7.2-vgq7ce31.mjs +4 -0
  228. package/dist/chunks/cli-0.7.2-vqvfxb9x.mjs +2 -0
  229. package/dist/chunks/cli-0.7.2-vvbp0ycp.mjs +2 -0
  230. package/dist/chunks/cli-0.7.2-vx10940a.mjs +2 -0
  231. package/dist/chunks/cli-0.7.2-vx90v3pr.mjs +2 -0
  232. package/dist/chunks/cli-0.7.2-w07ksegr.mjs +2 -0
  233. package/dist/chunks/cli-0.7.2-waas8a1p.mjs +2 -0
  234. package/dist/chunks/cli-0.7.2-wahbzckp.mjs +58 -0
  235. package/dist/chunks/cli-0.7.2-whm7dq8a.mjs +2 -0
  236. package/dist/chunks/cli-0.7.2-wk3m6ndw.mjs +2 -0
  237. package/dist/chunks/cli-0.7.2-wmz88sxe.mjs +2 -0
  238. package/dist/chunks/cli-0.7.2-xced0m7v.mjs +2 -0
  239. package/dist/chunks/cli-0.7.2-xkbkgc1x.mjs +2 -0
  240. package/dist/chunks/cli-0.7.2-xmf0q5j5.mjs +39 -0
  241. package/dist/chunks/cli-0.7.2-xpw13d73.mjs +59 -0
  242. package/dist/chunks/cli-0.7.2-xtj79p8n.mjs +2 -0
  243. package/dist/chunks/cli-0.7.2-xwmd0gap.mjs +2 -0
  244. package/dist/chunks/cli-0.7.2-xzq4nj1z.mjs +2 -0
  245. package/dist/chunks/cli-0.7.2-ydcqkbay.mjs +20 -0
  246. package/dist/chunks/cli-0.7.2-yeym3pfk.mjs +4 -0
  247. package/dist/chunks/cli-0.7.2-ygx94a70.mjs +2 -0
  248. package/dist/chunks/cli-0.7.2-ymes9mpn.mjs +2 -0
  249. package/dist/chunks/cli-0.7.2-ze0wyhxh.mjs +2 -0
  250. package/dist/chunks/cli-0.7.2-zevvxkk3.mjs +2 -0
  251. package/dist/chunks/cli-0.7.2-zjn5drn1.mjs +3 -0
  252. package/dist/chunks/cli-0.7.2-zva1j44t.mjs +2 -0
  253. package/dist/chunks/cli-0.7.2-zvq6jw19.mjs +2 -0
  254. package/dist/chunks/client-0.7.2-5ayk0kpq.mjs +1 -0
  255. package/dist/chunks/color-0.7.2-qwk7wwhg.mjs +1 -0
  256. package/dist/chunks/compact-0.7.2-1htfptdq.mjs +3 -0
  257. package/dist/chunks/config-0.7.2-5qhqvs6r.mjs +1 -0
  258. package/dist/chunks/config-0.7.2-m4pjdgrd.mjs +1 -0
  259. package/dist/chunks/constants-0.7.2-pkxz3zw1.mjs +1 -0
  260. package/dist/chunks/context-0.7.2-sbj7xgcd.mjs +1 -0
  261. package/dist/chunks/context-noninteractive-0.7.2-0e342zm8.mjs +1 -0
  262. package/dist/chunks/conversation-0.7.2-8w1wm1xe.mjs +1 -0
  263. package/dist/chunks/copilotHeaders-0.7.2-qkkqpxf3.mjs +1 -0
  264. package/dist/chunks/copy-0.7.2-edx6f8tb.mjs +9 -0
  265. package/dist/chunks/cost-0.7.2-8arxgyd6.mjs +1 -0
  266. package/dist/chunks/createSSHSession-0.7.2-3n718ymh.mjs +1 -0
  267. package/dist/chunks/createSession-0.7.2-hm9d0q01.mjs +1 -0
  268. package/dist/chunks/debug-0.7.2-ngrc7p4e.mjs +1 -0
  269. package/dist/chunks/defaultActionDeps-0.7.2-dftsz493.mjs +1446 -0
  270. package/dist/chunks/desktop-0.7.2-vt6ymh81.mjs +1 -0
  271. package/dist/chunks/detectRepository-0.7.2-xgsqcqxv.mjs +1 -0
  272. package/dist/chunks/detection-0.7.2-m6c0amh8.mjs +1 -0
  273. package/dist/chunks/diff-0.7.2-7np6da8n.mjs +1 -0
  274. package/dist/chunks/doctor-0.7.2-spqx634t.mjs +1 -0
  275. package/dist/chunks/doctorDiagnostic-0.7.2-81rdywyn.mjs +1 -0
  276. package/dist/chunks/earlyInput-0.7.2-b7j7hx34.mjs +1 -0
  277. package/dist/chunks/effort-0.7.2-1jd0yvy3.mjs +10 -0
  278. package/dist/chunks/envLessBridgeConfig-0.7.2-x5wybzrg.mjs +1 -0
  279. package/dist/chunks/envUtils-0.7.2-srtr0ybx.mjs +1 -0
  280. package/dist/chunks/environmentSelection-0.7.2-drjpcqg5.mjs +1 -0
  281. package/dist/chunks/environments-0.7.2-c51gb5sh.mjs +1 -0
  282. package/dist/chunks/errors-0.7.2-4mfat7g5.mjs +1 -0
  283. package/dist/chunks/exampleCommands-0.7.2-c8b6smyk.mjs +1 -0
  284. package/dist/chunks/exit-0.7.2-0b21e2f4.mjs +1 -0
  285. package/dist/chunks/explorer-0.7.2-b2qgsg4r.mjs +1 -0
  286. package/dist/chunks/export-0.7.2-j6tnta5r.mjs +2 -0
  287. package/dist/chunks/extra-usage-0.7.2-8xrddgmh.mjs +1 -0
  288. package/dist/chunks/extra-usage-noninteractive-0.7.2-vzzkmfzw.mjs +1 -0
  289. package/dist/chunks/fast-0.7.2-kfcnj6wq.mjs +1 -0
  290. package/dist/chunks/feedback-0.7.2-cmhc12wj.mjs +14 -0
  291. package/dist/chunks/firstPartyEventLogger-0.7.2-pa49ax22.mjs +1 -0
  292. package/dist/chunks/git-0.7.2-9f7gvn9h.mjs +1 -0
  293. package/dist/chunks/githubModelsCredentials-0.7.2-qy1mhzsm.mjs +1 -0
  294. package/dist/chunks/goal-0.7.2-t9vq2zc6.mjs +4 -0
  295. package/dist/chunks/grove-0.7.2-9sxczf29.mjs +1 -0
  296. package/dist/chunks/growthbook-0.7.2-ch3yc64n.mjs +1 -0
  297. package/dist/chunks/headless-0.7.2-9kh4ecvm.mjs +2 -0
  298. package/dist/chunks/heapdump-0.7.2-jrxgec1e.mjs +6 -0
  299. package/dist/chunks/help-0.7.2-mkkkzv97.mjs +1 -0
  300. package/dist/chunks/hookChains-0.7.2-4rsz02te.mjs +3 -0
  301. package/dist/chunks/hooks-0.7.2-mpa8g97z.mjs +1 -0
  302. package/dist/chunks/hooks-0.7.2-yaybnthb.mjs +79 -0
  303. package/dist/chunks/ide-0.7.2-a5p1wn0n.mjs +3 -0
  304. package/dist/chunks/image-processor-napi-0.7.2-c971ey5m.mjs +1 -0
  305. package/dist/chunks/inboundAttachments-0.7.2-vkae77ac.mjs +1 -0
  306. package/dist/chunks/index-0.7.2-4qr2yjjg.mjs +1 -0
  307. package/dist/chunks/index-0.7.2-5mfmhd35.mjs +1 -0
  308. package/dist/chunks/index-0.7.2-62g62r4p.mjs +1 -0
  309. package/dist/chunks/index-0.7.2-7b6mkd4g.mjs +9 -0
  310. package/dist/chunks/index-0.7.2-87jrdmn3.mjs +2 -0
  311. package/dist/chunks/index-0.7.2-9h4tsef1.mjs +1 -0
  312. package/dist/chunks/index-0.7.2-9mk9g3c3.mjs +1 -0
  313. package/dist/chunks/index-0.7.2-a3w6at2z.mjs +1 -0
  314. package/dist/chunks/index-0.7.2-b296et1z.mjs +1 -0
  315. package/dist/chunks/index-0.7.2-c22bn4q9.mjs +1 -0
  316. package/dist/chunks/index-0.7.2-dn8m3dh3.mjs +9 -0
  317. package/dist/chunks/index-0.7.2-f8swc4mv.mjs +30 -0
  318. package/dist/chunks/index-0.7.2-fdsptfbt.mjs +17 -0
  319. package/dist/chunks/index-0.7.2-g2vfnmjs.mjs +1 -0
  320. package/dist/chunks/index-0.7.2-hjcptpaz.mjs +1 -0
  321. package/dist/chunks/index-0.7.2-hts44hhf.mjs +2 -0
  322. package/dist/chunks/index-0.7.2-k2y0b0h3.mjs +1 -0
  323. package/dist/chunks/index-0.7.2-nhtpksxs.mjs +5 -0
  324. package/dist/chunks/index-0.7.2-p5a52s17.mjs +1 -0
  325. package/dist/chunks/index-0.7.2-r0zwxc1g.mjs +1 -0
  326. package/dist/chunks/index-0.7.2-vfyvycvc.mjs +1 -0
  327. package/dist/chunks/index-0.7.2-vw5e1spt.mjs +1 -0
  328. package/dist/chunks/index-0.7.2-xp0gpx8w.mjs +1 -0
  329. package/dist/chunks/init-0.7.2-mdhax55g.mjs +1 -0
  330. package/dist/chunks/initReplBridge-0.7.2-sq5dka9e.mjs +1 -0
  331. package/dist/chunks/ink-0.7.2-xhfkzs8w.mjs +1 -0
  332. package/dist/chunks/insights-0.7.2-hnzbcbwt.mjs +870 -0
  333. package/dist/chunks/install-0.7.2-f33pbxz0.mjs +1 -0
  334. package/dist/chunks/install-github-app-0.7.2-rysxaqa4.mjs +149 -0
  335. package/dist/chunks/install-slack-app-0.7.2-nsg858f1.mjs +1 -0
  336. package/dist/chunks/instrumentation-0.7.2-6t0dw394.mjs +1 -0
  337. package/dist/chunks/interactiveHelpers-0.7.2-wqr53tgp.mjs +1 -0
  338. package/dist/chunks/keybindings-0.7.2-b6yhemd9.mjs +2 -0
  339. package/dist/chunks/knowledge-0.7.2-94b972dr.mjs +2 -0
  340. package/dist/chunks/latestVersionCache-0.7.2-1e9h6ycx.mjs +1 -0
  341. package/dist/chunks/loadAgentsDir-0.7.2-d3vy1hjh.mjs +1 -0
  342. package/dist/chunks/loadPluginHooks-0.7.2-9bdtab1f.mjs +1 -0
  343. package/dist/chunks/loadPluginHooks-0.7.2-v002c6d9.mjs +1 -0
  344. package/dist/chunks/log-0.7.2-n28x7jf3.mjs +1 -0
  345. package/dist/chunks/main-0.7.2-bbgx9tzn.mjs +1 -0
  346. package/dist/chunks/managedEnv-0.7.2-c7gnfsz5.mjs +1 -0
  347. package/dist/chunks/mcp-0.7.2-nakq1rhg.mjs +1 -0
  348. package/dist/chunks/mcp-0.7.2-v40gxs87.mjs +17 -0
  349. package/dist/chunks/mcp-0.7.2-wtmt0vpe.mjs +4 -0
  350. package/dist/chunks/mcpb-0.7.2-k7z7aa64.mjs +1 -0
  351. package/dist/chunks/memory-0.7.2-1hfh6410.mjs +3 -0
  352. package/dist/chunks/model-0.7.2-c8esc658.mjs +1 -0
  353. package/dist/chunks/model-0.7.2-sjw6chpt.mjs +2 -0
  354. package/dist/chunks/node-0.7.2-2bm5bpwx.mjs +12 -0
  355. package/dist/chunks/oauth-0.7.2-ze80cmtw.mjs +1 -0
  356. package/dist/chunks/openaiShim-0.7.2-qwqrcmfv.mjs +14 -0
  357. package/dist/chunks/output-style-0.7.2-mhfyzz5h.mjs +1 -0
  358. package/dist/chunks/package-GCDC7LJR-0.7.2-d271461v.mjs +1 -0
  359. package/dist/chunks/parseConnectUrl-0.7.2-5c6xzn22.mjs +1 -0
  360. package/dist/chunks/parser-0.7.2-ekqc81n3.mjs +1 -0
  361. package/dist/chunks/passes-0.7.2-dyr0j4xs.mjs +1 -0
  362. package/dist/chunks/permissions-0.7.2-ap5ve9y3.mjs +3 -0
  363. package/dist/chunks/permissions-0.7.2-pqbpv219.mjs +1 -0
  364. package/dist/chunks/plan-0.7.2-3qcvkebx.mjs +1 -0
  365. package/dist/chunks/plist-0.7.2-sfrs3sb5.mjs +1 -0
  366. package/dist/chunks/plugin-0.7.2-23zzkpzp.mjs +29 -0
  367. package/dist/chunks/pluginStartupCheck-0.7.2-hdbd4vjf.mjs +1 -0
  368. package/dist/chunks/plugins-0.7.2-8b79cq4h.mjs +9 -0
  369. package/dist/chunks/preActionHook-0.7.2-denqn35e.mjs +2 -0
  370. package/dist/chunks/print-0.7.2-k3jvb8xp.mjs +57 -0
  371. package/dist/chunks/privacy-settings-0.7.2-2a25e9zd.mjs +1 -0
  372. package/dist/chunks/process-0.7.2-bydxzc10.mjs +1 -0
  373. package/dist/chunks/processBashCommand-0.7.2-n8zeggtq.mjs +1 -0
  374. package/dist/chunks/processSlashCommand-0.7.2-8bkqmvyg.mjs +9 -0
  375. package/dist/chunks/prompt-0.7.2-xcyvamqv.mjs +1 -0
  376. package/dist/chunks/prompt-0.7.2-zgvfvr40.mjs +1 -0
  377. package/dist/chunks/prompts-0.7.2-v3chnzw2.mjs +1 -0
  378. package/dist/chunks/protocolHandler-0.7.2-pcar7hdp.mjs +13 -0
  379. package/dist/chunks/provider-0.7.2-amg0a8yq.mjs +2 -0
  380. package/dist/chunks/providerProfiles-0.7.2-nwbz4k4w.mjs +1 -0
  381. package/dist/chunks/providerValidation-0.7.2-acwg3yzh.mjs +6 -0
  382. package/dist/chunks/rate-limit-options-0.7.2-spv7s8hs.mjs +1 -0
  383. package/dist/chunks/registerSubcommands-0.7.2-7g1dds0b.mjs +34 -0
  384. package/dist/chunks/registry-0.7.2-kv34xe3p.mjs +1 -0
  385. package/dist/chunks/release-notes-0.7.2-amerc2cj.mjs +5 -0
  386. package/dist/chunks/reload-plugins-0.7.2-tx1872h3.mjs +2 -0
  387. package/dist/chunks/remote-env-0.7.2-hq2w0qkg.mjs +1 -0
  388. package/dist/chunks/remoteBridgeCore-0.7.2-5stcs58w.mjs +1 -0
  389. package/dist/chunks/remoteSession-0.7.2-zwc7cra7.mjs +1 -0
  390. package/dist/chunks/rename-0.7.2-gk2b22q0.mjs +1 -0
  391. package/dist/chunks/replBridgeHandle-0.7.2-17phx9ww.mjs +1 -0
  392. package/dist/chunks/replLauncher-0.7.2-th0j1erj.mjs +1 -0
  393. package/dist/chunks/resume-0.7.2-xmxzptvs.mjs +2 -0
  394. package/dist/chunks/rewind-0.7.2-bvjnkrk2.mjs +1 -0
  395. package/dist/chunks/rootOptions-0.7.2-2cy9mmwc.mjs +1 -0
  396. package/dist/chunks/sandbox-adapter-0.7.2-h0xxevv6.mjs +1 -0
  397. package/dist/chunks/sandbox-toggle-0.7.2-qhhmmtft.mjs +1 -0
  398. package/dist/chunks/session-0.7.2-c8me3g3x.mjs +2 -0
  399. package/dist/chunks/sessionDiscovery-0.7.2-3k39j4tc.mjs +1 -0
  400. package/dist/chunks/sessionFileAccessHooks-0.7.2-rv6etkhg.mjs +1 -0
  401. package/dist/chunks/sessionStorage-0.7.2-97nxk3y6.mjs +1 -0
  402. package/dist/chunks/settings-0.7.2-xc200363.mjs +1 -0
  403. package/dist/chunks/setup-0.7.2-c982wyvz.mjs +5 -0
  404. package/dist/chunks/sinks-0.7.2-95rk1mrs.mjs +1 -0
  405. package/dist/chunks/skills-0.7.2-6gdq6xgn.mjs +1 -0
  406. package/dist/chunks/startupProfiler-0.7.2-bx988amf.mjs +1 -0
  407. package/dist/chunks/startupUpdateCheck-0.7.2-n1cjfry1.mjs +1 -0
  408. package/dist/chunks/state-0.7.2-p9tevca2.mjs +1 -0
  409. package/dist/chunks/stats-0.7.2-8xhdefb7.mjs +6 -0
  410. package/dist/chunks/status-0.7.2-fh89jm1g.mjs +1 -0
  411. package/dist/chunks/stickers-0.7.2-8p2fssw5.mjs +1 -0
  412. package/dist/chunks/subprocessEnv-0.7.2-rxrfb67k.mjs +1 -0
  413. package/dist/chunks/tasks-0.7.2-e27mj4dh.mjs +1 -0
  414. package/dist/chunks/teamHelpers-0.7.2-m3z5pcdz.mjs +1 -0
  415. package/dist/chunks/teammateModeSnapshot-0.7.2-p7amb3d6.mjs +1 -0
  416. package/dist/chunks/teleport-0.7.2-5esyfq9r.mjs +1 -0
  417. package/dist/chunks/terminalSetup-0.7.2-yscmphsc.mjs +1 -0
  418. package/dist/chunks/theme-0.7.2-1zmsca02.mjs +1 -0
  419. package/dist/chunks/thinkback-0.7.2-17ff2vy3.mjs +1 -0
  420. package/dist/chunks/thinkback-play-0.7.2-mdnape3r.mjs +1 -0
  421. package/dist/chunks/toolPool-0.7.2-jbgwb4kh.mjs +1 -0
  422. package/dist/chunks/toolSearch-0.7.2-c6qby1zz.mjs +1 -0
  423. package/dist/chunks/tools-0.7.2-b04qyzf8.mjs +1 -0
  424. package/dist/chunks/trustedDevice-0.7.2-jz3zmc03.mjs +1 -0
  425. package/dist/chunks/turndown.cjs-0.7.2-bj6egxgk.mjs +69 -0
  426. package/dist/chunks/types-0.7.2-fsjvv1kt.mjs +1 -0
  427. package/dist/chunks/ultrareviewCommand-0.7.2-w2fbj23d.mjs +4 -0
  428. package/dist/chunks/update-0.7.2-4ccgmd4p.mjs +86 -0
  429. package/dist/chunks/upgrade-0.7.2-d7h7vmqn.mjs +1 -0
  430. package/dist/chunks/upload-0.7.2-p6je053d.mjs +7 -0
  431. package/dist/chunks/upstreamproxy-0.7.2-sjmkdjb8.mjs +14 -0
  432. package/dist/chunks/url-handler-napi-0.7.2-snjwvzje.mjs +1 -0
  433. package/dist/chunks/usage-0.7.2-2k2m3v75.mjs +1 -0
  434. package/dist/chunks/util-0.7.2-n4vdasdr.mjs +1 -0
  435. package/dist/chunks/utils-0.7.2-bmqt59ff.mjs +1 -0
  436. package/dist/chunks/vim-0.7.2-bd15xeza.mjs +1 -0
  437. package/dist/chunks/watcher-0.7.2-pjzeng3k.mjs +1 -0
  438. package/dist/chunks/wiki-0.7.2-2a655hhv.mjs +132 -0
  439. package/dist/chunks/worktree-0.7.2-gs72mnyb.mjs +1 -0
  440. package/dist/chunks/worktreeModeEnabled-0.7.2-gqtz9ha6.mjs +1 -0
  441. package/dist/chunks/wrapper-0.7.2-j420s6rc.mjs +7 -0
  442. package/dist/claudin-vscode.vsix +0 -0
  443. package/dist/cli.mjs +2 -2
  444. package/package.json +3 -1
  445. package/dist/chunks/AgentTool-0.7.1-d5a04rhw.mjs +0 -1
  446. package/dist/chunks/App-0.7.1-qe37xdwh.mjs +0 -1
  447. package/dist/chunks/ApproveApiKey-0.7.1-hcwrem4g.mjs +0 -1
  448. package/dist/chunks/AssistantSessionChooser-0.7.1-ed3kh69n.mjs +0 -1
  449. package/dist/chunks/AutoModeOptInDialog-0.7.1-9dhakyk3.mjs +0 -1
  450. package/dist/chunks/BypassPermissionsModeDialog-0.7.1-zqdx4k6r.mjs +0 -1
  451. package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.1-ja900v6h.mjs +0 -1
  452. package/dist/chunks/ConsoleOAuthFlow-0.7.1-p5f8b85c.mjs +0 -1
  453. package/dist/chunks/DiffDialog-0.7.1-frcnb58g.mjs +0 -7
  454. package/dist/chunks/Doctor-0.7.1-5a5bqzar.mjs +0 -1
  455. package/dist/chunks/ExplorerDialog-0.7.1-sp9zfyb5.mjs +0 -6
  456. package/dist/chunks/Grove-0.7.1-9ats64c9.mjs +0 -1
  457. package/dist/chunks/ITermBackend-0.7.1-160z9025.mjs +0 -1
  458. package/dist/chunks/InvalidConfigDialog-0.7.1-dm3mnxja.mjs +0 -1
  459. package/dist/chunks/InvalidSettingsDialog-0.7.1-94m5wc8k.mjs +0 -1
  460. package/dist/chunks/MigrationDialog-0.7.1-2sy3633s.mjs +0 -1
  461. package/dist/chunks/Onboarding-0.7.1-4ryf7vkp.mjs +0 -1
  462. package/dist/chunks/ProviderManager-0.7.1-m863v53f.mjs +0 -1
  463. package/dist/chunks/REPL-0.7.1-a1pdjtms.mjs +0 -1
  464. package/dist/chunks/ResumeConversation-0.7.1-39h2xh04.mjs +0 -1
  465. package/dist/chunks/SnapshotUpdateDialog-0.7.1-zwedgae2.mjs +0 -1
  466. package/dist/chunks/TeleportProgress-0.7.1-9anv6ssa.mjs +0 -1
  467. package/dist/chunks/TeleportRepoMismatchDialog-0.7.1-2awpvnbb.mjs +0 -1
  468. package/dist/chunks/TeleportResumeWrapper-0.7.1-nd5kypwz.mjs +0 -1
  469. package/dist/chunks/TmuxBackend-0.7.1-7cyfxvj8.mjs +0 -9
  470. package/dist/chunks/ToolSearchTool-0.7.1-9kyy73xn.mjs +0 -1
  471. package/dist/chunks/TrustDialog-0.7.1-k2dez79x.mjs +0 -1
  472. package/dist/chunks/activeProvider-0.7.1-vv0d3v6j.mjs +0 -1
  473. package/dist/chunks/add-dir-0.7.1-4mzgm2te.mjs +0 -1
  474. package/dist/chunks/agents-0.7.1-atjgpzds.mjs +0 -3
  475. package/dist/chunks/agents-0.7.1-fyqad9rz.mjs +0 -110
  476. package/dist/chunks/api-0.7.1-fsw86vpr.mjs +0 -1
  477. package/dist/chunks/asciicast-0.7.1-2wj656v8.mjs +0 -1
  478. package/dist/chunks/assistant-0.7.1-91m5tfq4.mjs +0 -1
  479. package/dist/chunks/auth-0.7.1-b9ybay2b.mjs +0 -1
  480. package/dist/chunks/auth-0.7.1-tbd13raw.mjs +0 -1
  481. package/dist/chunks/autoMode-0.7.1-jwnj54pb.mjs +0 -48
  482. package/dist/chunks/autoUpdater-0.7.1-e4v9zzkn.mjs +0 -1
  483. package/dist/chunks/backgroundHousekeeping-0.7.1-jxebk27x.mjs +0 -1
  484. package/dist/chunks/branch-0.7.1-qr35xar0.mjs +0 -4
  485. package/dist/chunks/bridge-0.7.1-8qbgc2e9.mjs +0 -2
  486. package/dist/chunks/bridgeConfig-0.7.1-5dz9y1gn.mjs +0 -1
  487. package/dist/chunks/bridgeEnabled-0.7.1-fqgbq6ry.mjs +0 -1
  488. package/dist/chunks/bridgeMain-0.7.1-hd9vv35g.mjs +0 -88
  489. package/dist/chunks/bridgePointer-0.7.1-rxxjfj3q.mjs +0 -1
  490. package/dist/chunks/btw-0.7.1-86yem67j.mjs +0 -1
  491. package/dist/chunks/buddy-0.7.1-kdmsha6s.mjs +0 -3
  492. package/dist/chunks/cacache-0.7.1-ahmz5znn.mjs +0 -1
  493. package/dist/chunks/cache-probe-0.7.1-jkjqgvf0.mjs +0 -21
  494. package/dist/chunks/cacheStats-0.7.1-wt820qhe.mjs +0 -4
  495. package/dist/chunks/caches-0.7.1-xjaktk6r.mjs +0 -1
  496. package/dist/chunks/claudeDesktop-0.7.1-pxv7ev3t.mjs +0 -1
  497. package/dist/chunks/claudemd-0.7.1-dzm84q1p.mjs +0 -1
  498. package/dist/chunks/clear-0.7.1-gx38nydx.mjs +0 -1
  499. package/dist/chunks/clearTerminal-0.7.1-5htkde19.mjs +0 -1
  500. package/dist/chunks/cli-0.7.1-01af799v.mjs +0 -2
  501. package/dist/chunks/cli-0.7.1-0ef7xs1s.mjs +0 -2
  502. package/dist/chunks/cli-0.7.1-0qwnf6wz.mjs +0 -16
  503. package/dist/chunks/cli-0.7.1-0sacamdc.mjs +0 -2
  504. package/dist/chunks/cli-0.7.1-0y31txhk.mjs +0 -2
  505. package/dist/chunks/cli-0.7.1-1188jq4p.mjs +0 -2
  506. package/dist/chunks/cli-0.7.1-1gbsnea3.mjs +0 -2
  507. package/dist/chunks/cli-0.7.1-1ts20eyt.mjs +0 -3
  508. package/dist/chunks/cli-0.7.1-21s047ay.mjs +0 -2
  509. package/dist/chunks/cli-0.7.1-24da357x.mjs +0 -3
  510. package/dist/chunks/cli-0.7.1-28433yep.mjs +0 -2
  511. package/dist/chunks/cli-0.7.1-2e97a1f7.mjs +0 -2
  512. package/dist/chunks/cli-0.7.1-2g1mhmsb.mjs +0 -2
  513. package/dist/chunks/cli-0.7.1-2q24e8yf.mjs +0 -6
  514. package/dist/chunks/cli-0.7.1-30b9rs2y.mjs +0 -2
  515. package/dist/chunks/cli-0.7.1-356bj7gh.mjs +0 -2
  516. package/dist/chunks/cli-0.7.1-37e4777p.mjs +0 -2
  517. package/dist/chunks/cli-0.7.1-3bfhg1sc.mjs +0 -2
  518. package/dist/chunks/cli-0.7.1-3cp4zkfv.mjs +0 -2
  519. package/dist/chunks/cli-0.7.1-3ehkpebq.mjs +0 -2
  520. package/dist/chunks/cli-0.7.1-3eywakdr.mjs +0 -15
  521. package/dist/chunks/cli-0.7.1-3m0mytg6.mjs +0 -2
  522. package/dist/chunks/cli-0.7.1-3s79d0ky.mjs +0 -2
  523. package/dist/chunks/cli-0.7.1-46gjthdy.mjs +0 -2
  524. package/dist/chunks/cli-0.7.1-497wkpjf.mjs +0 -2
  525. package/dist/chunks/cli-0.7.1-4ft7hrdc.mjs +0 -3
  526. package/dist/chunks/cli-0.7.1-4gvkgkvn.mjs +0 -4
  527. package/dist/chunks/cli-0.7.1-4hhqjvy4.mjs +0 -2
  528. package/dist/chunks/cli-0.7.1-4pp5s9hy.mjs +0 -2
  529. package/dist/chunks/cli-0.7.1-4t6v1n3h.mjs +0 -2
  530. package/dist/chunks/cli-0.7.1-57x4wzc4.mjs +0 -2
  531. package/dist/chunks/cli-0.7.1-5bbbwn2g.mjs +0 -2
  532. package/dist/chunks/cli-0.7.1-5fsqggqk.mjs +0 -3
  533. package/dist/chunks/cli-0.7.1-5pp47rx1.mjs +0 -18
  534. package/dist/chunks/cli-0.7.1-65bm304r.mjs +0 -133
  535. package/dist/chunks/cli-0.7.1-6d8y1qn4.mjs +0 -4
  536. package/dist/chunks/cli-0.7.1-6q9k674b.mjs +0 -2
  537. package/dist/chunks/cli-0.7.1-6rrxtyy0.mjs +0 -2
  538. package/dist/chunks/cli-0.7.1-6ta56xg1.mjs +0 -12
  539. package/dist/chunks/cli-0.7.1-6zk672en.mjs +0 -2
  540. package/dist/chunks/cli-0.7.1-71g0e9ze.mjs +0 -6
  541. package/dist/chunks/cli-0.7.1-7mmdptp2.mjs +0 -15
  542. package/dist/chunks/cli-0.7.1-7vnqyd9e.mjs +0 -6
  543. package/dist/chunks/cli-0.7.1-825msf79.mjs +0 -2
  544. package/dist/chunks/cli-0.7.1-84yhx3q1.mjs +0 -12
  545. package/dist/chunks/cli-0.7.1-88kwyk7r.mjs +0 -17
  546. package/dist/chunks/cli-0.7.1-8m2w4jnj.mjs +0 -2
  547. package/dist/chunks/cli-0.7.1-8vpv5q4z.mjs +0 -2
  548. package/dist/chunks/cli-0.7.1-90skq72m.mjs +0 -5
  549. package/dist/chunks/cli-0.7.1-9e4dha4t.mjs +0 -2
  550. package/dist/chunks/cli-0.7.1-9errxa1g.mjs +0 -2
  551. package/dist/chunks/cli-0.7.1-9fk02985.mjs +0 -2
  552. package/dist/chunks/cli-0.7.1-9jzbjqh3.mjs +0 -2
  553. package/dist/chunks/cli-0.7.1-9pspqj1n.mjs +0 -2
  554. package/dist/chunks/cli-0.7.1-9sy5d7re.mjs +0 -2
  555. package/dist/chunks/cli-0.7.1-a24fwkdp.mjs +0 -2
  556. package/dist/chunks/cli-0.7.1-a4x1wq4z.mjs +0 -2
  557. package/dist/chunks/cli-0.7.1-a4zjaz57.mjs +0 -2
  558. package/dist/chunks/cli-0.7.1-a680vzj5.mjs +0 -2
  559. package/dist/chunks/cli-0.7.1-aawgfrph.mjs +0 -3
  560. package/dist/chunks/cli-0.7.1-b1q31fh8.mjs +0 -50
  561. package/dist/chunks/cli-0.7.1-b8rrjfjb.mjs +0 -2
  562. package/dist/chunks/cli-0.7.1-bkp0aqdj.mjs +0 -2
  563. package/dist/chunks/cli-0.7.1-bmqpkffh.mjs +0 -2
  564. package/dist/chunks/cli-0.7.1-bnwqh4sh.mjs +0 -21
  565. package/dist/chunks/cli-0.7.1-bvd99qhf.mjs +0 -2
  566. package/dist/chunks/cli-0.7.1-bzk0abt1.mjs +0 -6
  567. package/dist/chunks/cli-0.7.1-c0ndrc74.mjs +0 -2
  568. package/dist/chunks/cli-0.7.1-c2g89e99.mjs +0 -2
  569. package/dist/chunks/cli-0.7.1-c5513023.mjs +0 -2
  570. package/dist/chunks/cli-0.7.1-c9fnmbwv.mjs +0 -12
  571. package/dist/chunks/cli-0.7.1-cekfrrmq.mjs +0 -8
  572. package/dist/chunks/cli-0.7.1-cf5wjthv.mjs +0 -2
  573. package/dist/chunks/cli-0.7.1-cgnzp3xh.mjs +0 -10
  574. package/dist/chunks/cli-0.7.1-cjg6h2ca.mjs +0 -2
  575. package/dist/chunks/cli-0.7.1-cxscssf3.mjs +0 -4
  576. package/dist/chunks/cli-0.7.1-cxtqva68.mjs +0 -2
  577. package/dist/chunks/cli-0.7.1-d32m4pzb.mjs +0 -2
  578. package/dist/chunks/cli-0.7.1-d566f9dm.mjs +0 -2
  579. package/dist/chunks/cli-0.7.1-dfhpzav5.mjs +0 -2
  580. package/dist/chunks/cli-0.7.1-dmk3nmr9.mjs +0 -4
  581. package/dist/chunks/cli-0.7.1-dnmrbd43.mjs +0 -2
  582. package/dist/chunks/cli-0.7.1-dr27dym5.mjs +0 -2
  583. package/dist/chunks/cli-0.7.1-dsh8dcz2.mjs +0 -2
  584. package/dist/chunks/cli-0.7.1-dw2af4d2.mjs +0 -3
  585. package/dist/chunks/cli-0.7.1-dwrmbzjk.mjs +0 -2
  586. package/dist/chunks/cli-0.7.1-dx2b4mwt.mjs +0 -2
  587. package/dist/chunks/cli-0.7.1-dxxszxaa.mjs +0 -2
  588. package/dist/chunks/cli-0.7.1-dyf7seqv.mjs +0 -4
  589. package/dist/chunks/cli-0.7.1-e59h3jkz.mjs +0 -2
  590. package/dist/chunks/cli-0.7.1-eaqxfq5j.mjs +0 -2
  591. package/dist/chunks/cli-0.7.1-ebdykdv4.mjs +0 -4
  592. package/dist/chunks/cli-0.7.1-ebkzwe4v.mjs +0 -2
  593. package/dist/chunks/cli-0.7.1-eda0jmy0.mjs +0 -3
  594. package/dist/chunks/cli-0.7.1-ef7vcnec.mjs +0 -2
  595. package/dist/chunks/cli-0.7.1-ehc0edr2.mjs +0 -2
  596. package/dist/chunks/cli-0.7.1-ehgqjz41.mjs +0 -2
  597. package/dist/chunks/cli-0.7.1-eqdjtwya.mjs +0 -2
  598. package/dist/chunks/cli-0.7.1-espp6s0y.mjs +0 -2
  599. package/dist/chunks/cli-0.7.1-ez0dpq8d.mjs +0 -2
  600. package/dist/chunks/cli-0.7.1-f6nk5cs1.mjs +0 -2
  601. package/dist/chunks/cli-0.7.1-fgtztd75.mjs +0 -2
  602. package/dist/chunks/cli-0.7.1-g2n9j9vd.mjs +0 -2
  603. package/dist/chunks/cli-0.7.1-gaqzbbr4.mjs +0 -133
  604. package/dist/chunks/cli-0.7.1-gc8m2z4s.mjs +0 -3
  605. package/dist/chunks/cli-0.7.1-gpj27qg9.mjs +0 -9
  606. package/dist/chunks/cli-0.7.1-hdhwyta7.mjs +0 -2
  607. package/dist/chunks/cli-0.7.1-hh3seyqe.mjs +0 -2
  608. package/dist/chunks/cli-0.7.1-hkjqfdbm.mjs +0 -2
  609. package/dist/chunks/cli-0.7.1-hx5avz23.mjs +0 -3
  610. package/dist/chunks/cli-0.7.1-hxqwphz3.mjs +0 -2
  611. package/dist/chunks/cli-0.7.1-j21wk954.mjs +0 -17
  612. package/dist/chunks/cli-0.7.1-j69yv5wv.mjs +0 -2
  613. package/dist/chunks/cli-0.7.1-j71sx09z.mjs +0 -2
  614. package/dist/chunks/cli-0.7.1-jdjhwj9r.mjs +0 -2
  615. package/dist/chunks/cli-0.7.1-jgx9y8hd.mjs +0 -2
  616. package/dist/chunks/cli-0.7.1-jpemgywy.mjs +0 -193
  617. package/dist/chunks/cli-0.7.1-k2r0wewv.mjs +0 -34
  618. package/dist/chunks/cli-0.7.1-k3wrch69.mjs +0 -5422
  619. package/dist/chunks/cli-0.7.1-k62svwx3.mjs +0 -2
  620. package/dist/chunks/cli-0.7.1-k9w4ggkt.mjs +0 -2
  621. package/dist/chunks/cli-0.7.1-kbyy07ta.mjs +0 -42
  622. package/dist/chunks/cli-0.7.1-kes4v4he.mjs +0 -39
  623. package/dist/chunks/cli-0.7.1-knxxgaxv.mjs +0 -58
  624. package/dist/chunks/cli-0.7.1-kwrsgjrs.mjs +0 -2
  625. package/dist/chunks/cli-0.7.1-m00xwwcc.mjs +0 -4
  626. package/dist/chunks/cli-0.7.1-m42mhk67.mjs +0 -2
  627. package/dist/chunks/cli-0.7.1-m4gfza1p.mjs +0 -2
  628. package/dist/chunks/cli-0.7.1-m5pd7m3r.mjs +0 -2
  629. package/dist/chunks/cli-0.7.1-m9xmxtwa.mjs +0 -2
  630. package/dist/chunks/cli-0.7.1-mcb9z58y.mjs +0 -2
  631. package/dist/chunks/cli-0.7.1-md6r4s60.mjs +0 -24
  632. package/dist/chunks/cli-0.7.1-mevd6vax.mjs +0 -2
  633. package/dist/chunks/cli-0.7.1-mky7mf90.mjs +0 -2
  634. package/dist/chunks/cli-0.7.1-mr2e3dyv.mjs +0 -12
  635. package/dist/chunks/cli-0.7.1-mt57tnps.mjs +0 -2
  636. package/dist/chunks/cli-0.7.1-mvq52b0y.mjs +0 -18
  637. package/dist/chunks/cli-0.7.1-mxjp359f.mjs +0 -2
  638. package/dist/chunks/cli-0.7.1-mzdb4t95.mjs +0 -2
  639. package/dist/chunks/cli-0.7.1-n7r3qbr7.mjs +0 -2
  640. package/dist/chunks/cli-0.7.1-n90a1d1a.mjs +0 -3
  641. package/dist/chunks/cli-0.7.1-nm9xqd0t.mjs +0 -4
  642. package/dist/chunks/cli-0.7.1-ns2p247a.mjs +0 -20
  643. package/dist/chunks/cli-0.7.1-nyy6gydm.mjs +0 -2
  644. package/dist/chunks/cli-0.7.1-p0fy9hz7.mjs +0 -2
  645. package/dist/chunks/cli-0.7.1-pfb1t2vv.mjs +0 -2
  646. package/dist/chunks/cli-0.7.1-pj2bwget.mjs +0 -2
  647. package/dist/chunks/cli-0.7.1-pzmph1bb.mjs +0 -5
  648. package/dist/chunks/cli-0.7.1-q22d0nn7.mjs +0 -2
  649. package/dist/chunks/cli-0.7.1-q27rb9ya.mjs +0 -2
  650. package/dist/chunks/cli-0.7.1-q32097ec.mjs +0 -2
  651. package/dist/chunks/cli-0.7.1-q4v2wwpa.mjs +0 -2
  652. package/dist/chunks/cli-0.7.1-qbg9kspq.mjs +0 -2
  653. package/dist/chunks/cli-0.7.1-qkcd1qhy.mjs +0 -2
  654. package/dist/chunks/cli-0.7.1-qmd1fgae.mjs +0 -2
  655. package/dist/chunks/cli-0.7.1-qydxc982.mjs +0 -2
  656. package/dist/chunks/cli-0.7.1-r3ykfxwq.mjs +0 -24
  657. package/dist/chunks/cli-0.7.1-rbby6bd5.mjs +0 -2
  658. package/dist/chunks/cli-0.7.1-rd1z70bz.mjs +0 -2
  659. package/dist/chunks/cli-0.7.1-rmj9pcnx.mjs +0 -15
  660. package/dist/chunks/cli-0.7.1-rmw8587w.mjs +0 -4
  661. package/dist/chunks/cli-0.7.1-rn9q2rxz.mjs +0 -2
  662. package/dist/chunks/cli-0.7.1-rrje9ahd.mjs +0 -2
  663. package/dist/chunks/cli-0.7.1-rt9yw2nh.mjs +0 -67
  664. package/dist/chunks/cli-0.7.1-rtpvm7nh.mjs +0 -2
  665. package/dist/chunks/cli-0.7.1-rz6n3grv.mjs +0 -2
  666. package/dist/chunks/cli-0.7.1-s2eya8px.mjs +0 -2
  667. package/dist/chunks/cli-0.7.1-seanve4t.mjs +0 -2
  668. package/dist/chunks/cli-0.7.1-sz0krng6.mjs +0 -5
  669. package/dist/chunks/cli-0.7.1-thfkavh1.mjs +0 -3
  670. package/dist/chunks/cli-0.7.1-va9tcjyz.mjs +0 -2
  671. package/dist/chunks/cli-0.7.1-vc1w3czg.mjs +0 -59
  672. package/dist/chunks/cli-0.7.1-vfekmem4.mjs +0 -3
  673. package/dist/chunks/cli-0.7.1-vfqcqg6s.mjs +0 -2
  674. package/dist/chunks/cli-0.7.1-vtqvv81d.mjs +0 -7
  675. package/dist/chunks/cli-0.7.1-w2rmty6t.mjs +0 -2
  676. package/dist/chunks/cli-0.7.1-w6mgjapm.mjs +0 -2
  677. package/dist/chunks/cli-0.7.1-wg6vf0hy.mjs +0 -2
  678. package/dist/chunks/cli-0.7.1-wjw73a3c.mjs +0 -3
  679. package/dist/chunks/cli-0.7.1-wp2jn3c0.mjs +0 -2
  680. package/dist/chunks/cli-0.7.1-wqk4b4mn.mjs +0 -2
  681. package/dist/chunks/cli-0.7.1-wzqmjfjs.mjs +0 -2
  682. package/dist/chunks/cli-0.7.1-xhtmjm5c.mjs +0 -2
  683. package/dist/chunks/cli-0.7.1-xjaebq17.mjs +0 -1
  684. package/dist/chunks/cli-0.7.1-xmj6ck32.mjs +0 -18
  685. package/dist/chunks/cli-0.7.1-xn7c84qw.mjs +0 -2
  686. package/dist/chunks/cli-0.7.1-xqxh1d0k.mjs +0 -45
  687. package/dist/chunks/cli-0.7.1-xrxje264.mjs +0 -2
  688. package/dist/chunks/cli-0.7.1-xvhh6hs3.mjs +0 -25
  689. package/dist/chunks/cli-0.7.1-xvp3ptcj.mjs +0 -2
  690. package/dist/chunks/cli-0.7.1-yevrh4dk.mjs +0 -2
  691. package/dist/chunks/cli-0.7.1-ygdm4xdq.mjs +0 -2
  692. package/dist/chunks/cli-0.7.1-yhn13w5s.mjs +0 -2
  693. package/dist/chunks/cli-0.7.1-ykypfrhj.mjs +0 -2
  694. package/dist/chunks/cli-0.7.1-zjw3v1mx.mjs +0 -4
  695. package/dist/chunks/cli-0.7.1-zrz7jgv0.mjs +0 -2
  696. package/dist/chunks/cli-0.7.1-zswdgbrk.mjs +0 -2
  697. package/dist/chunks/cli-0.7.1-zt8sj5mh.mjs +0 -2
  698. package/dist/chunks/client-0.7.1-5bbqygzn.mjs +0 -1
  699. package/dist/chunks/color-0.7.1-d97h4n6v.mjs +0 -1
  700. package/dist/chunks/compact-0.7.1-kq7n7064.mjs +0 -3
  701. package/dist/chunks/config-0.7.1-qw14rnwb.mjs +0 -1
  702. package/dist/chunks/config-0.7.1-vsbb5ybm.mjs +0 -1
  703. package/dist/chunks/constants-0.7.1-j99wnd0t.mjs +0 -1
  704. package/dist/chunks/context-0.7.1-nfbvwjm3.mjs +0 -1
  705. package/dist/chunks/context-noninteractive-0.7.1-w90a8b4k.mjs +0 -1
  706. package/dist/chunks/conversation-0.7.1-cabvk10y.mjs +0 -1
  707. package/dist/chunks/copilotHeaders-0.7.1-576y551e.mjs +0 -1
  708. package/dist/chunks/copy-0.7.1-zjy3ybzx.mjs +0 -9
  709. package/dist/chunks/cost-0.7.1-2sw1r4y9.mjs +0 -1
  710. package/dist/chunks/createSSHSession-0.7.1-ajjsgkcr.mjs +0 -1
  711. package/dist/chunks/createSession-0.7.1-hm73txww.mjs +0 -1
  712. package/dist/chunks/debug-0.7.1-qaj25ne7.mjs +0 -1
  713. package/dist/chunks/defaultActionDeps-0.7.1-xqmrxq95.mjs +0 -1422
  714. package/dist/chunks/desktop-0.7.1-sbjm4tw6.mjs +0 -1
  715. package/dist/chunks/detectRepository-0.7.1-ksy35c3e.mjs +0 -1
  716. package/dist/chunks/detection-0.7.1-h9q77x0f.mjs +0 -1
  717. package/dist/chunks/diff-0.7.1-65vdjrpz.mjs +0 -1
  718. package/dist/chunks/doctor-0.7.1-qpwe5hs1.mjs +0 -1
  719. package/dist/chunks/doctorDiagnostic-0.7.1-n9ez8jjp.mjs +0 -1
  720. package/dist/chunks/earlyInput-0.7.1-evw5t8gb.mjs +0 -1
  721. package/dist/chunks/effort-0.7.1-1gx253x4.mjs +0 -10
  722. package/dist/chunks/envLessBridgeConfig-0.7.1-e9nd930z.mjs +0 -1
  723. package/dist/chunks/envUtils-0.7.1-ymk55nnf.mjs +0 -1
  724. package/dist/chunks/environmentSelection-0.7.1-487w47dh.mjs +0 -1
  725. package/dist/chunks/environments-0.7.1-rafrq9ry.mjs +0 -1
  726. package/dist/chunks/errors-0.7.1-gehaqna3.mjs +0 -1
  727. package/dist/chunks/exampleCommands-0.7.1-nq55tbjv.mjs +0 -1
  728. package/dist/chunks/exit-0.7.1-680hz28c.mjs +0 -1
  729. package/dist/chunks/explorer-0.7.1-z0967d6r.mjs +0 -1
  730. package/dist/chunks/export-0.7.1-g9bdjstd.mjs +0 -2
  731. package/dist/chunks/extra-usage-0.7.1-xdwym2xk.mjs +0 -1
  732. package/dist/chunks/extra-usage-noninteractive-0.7.1-rnf1yy0q.mjs +0 -1
  733. package/dist/chunks/fast-0.7.1-315rzkyy.mjs +0 -1
  734. package/dist/chunks/feedback-0.7.1-p8r4xr11.mjs +0 -14
  735. package/dist/chunks/firstPartyEventLogger-0.7.1-h0ny1a03.mjs +0 -1
  736. package/dist/chunks/git-0.7.1-q9en18yj.mjs +0 -1
  737. package/dist/chunks/githubModelsCredentials-0.7.1-1ew0h3ve.mjs +0 -1
  738. package/dist/chunks/goal-0.7.1-qjzjey3j.mjs +0 -4
  739. package/dist/chunks/grove-0.7.1-4t3w9441.mjs +0 -1
  740. package/dist/chunks/growthbook-0.7.1-h7xxtrvf.mjs +0 -1
  741. package/dist/chunks/headless-0.7.1-6ae94wmy.mjs +0 -2
  742. package/dist/chunks/heapdump-0.7.1-srg8ym4e.mjs +0 -6
  743. package/dist/chunks/help-0.7.1-g1s4amj9.mjs +0 -1
  744. package/dist/chunks/hookChains-0.7.1-nvzpemqb.mjs +0 -3
  745. package/dist/chunks/hooks-0.7.1-19rxqk3m.mjs +0 -79
  746. package/dist/chunks/hooks-0.7.1-918zv23z.mjs +0 -1
  747. package/dist/chunks/ide-0.7.1-29f4xm8h.mjs +0 -3
  748. package/dist/chunks/image-processor-napi-0.7.1-21880z56.mjs +0 -1
  749. package/dist/chunks/inboundAttachments-0.7.1-vj4mtwgs.mjs +0 -1
  750. package/dist/chunks/index-0.7.1-05ga11b5.mjs +0 -1
  751. package/dist/chunks/index-0.7.1-08cj1sdf.mjs +0 -1
  752. package/dist/chunks/index-0.7.1-13drp9nj.mjs +0 -1
  753. package/dist/chunks/index-0.7.1-4xrmd4xj.mjs +0 -30
  754. package/dist/chunks/index-0.7.1-6m7fqnxf.mjs +0 -1
  755. package/dist/chunks/index-0.7.1-6w21gjac.mjs +0 -1
  756. package/dist/chunks/index-0.7.1-7pweww0b.mjs +0 -1
  757. package/dist/chunks/index-0.7.1-8753b2ed.mjs +0 -1
  758. package/dist/chunks/index-0.7.1-8yjbpdj3.mjs +0 -1
  759. package/dist/chunks/index-0.7.1-bcgceyp2.mjs +0 -2
  760. package/dist/chunks/index-0.7.1-bjckst5c.mjs +0 -1
  761. package/dist/chunks/index-0.7.1-drps39aq.mjs +0 -5
  762. package/dist/chunks/index-0.7.1-gfr5qm3n.mjs +0 -1
  763. package/dist/chunks/index-0.7.1-k15r2adh.mjs +0 -9
  764. package/dist/chunks/index-0.7.1-mhbm4m18.mjs +0 -1
  765. package/dist/chunks/index-0.7.1-mshav77m.mjs +0 -9
  766. package/dist/chunks/index-0.7.1-pcnfdjxe.mjs +0 -1
  767. package/dist/chunks/index-0.7.1-pcwfft21.mjs +0 -1
  768. package/dist/chunks/index-0.7.1-th8gnyjv.mjs +0 -1
  769. package/dist/chunks/index-0.7.1-tj6byrkd.mjs +0 -2
  770. package/dist/chunks/index-0.7.1-vezza4mb.mjs +0 -17
  771. package/dist/chunks/index-0.7.1-w0rz5trr.mjs +0 -1
  772. package/dist/chunks/index-0.7.1-wpzgm03y.mjs +0 -1
  773. package/dist/chunks/init-0.7.1-saq601q7.mjs +0 -1
  774. package/dist/chunks/initReplBridge-0.7.1-aqvbm3dc.mjs +0 -1
  775. package/dist/chunks/ink-0.7.1-8q2edv8t.mjs +0 -1
  776. package/dist/chunks/insights-0.7.1-2t65g57h.mjs +0 -870
  777. package/dist/chunks/install-0.7.1-ecee3epk.mjs +0 -1
  778. package/dist/chunks/install-github-app-0.7.1-yz6sr0n1.mjs +0 -149
  779. package/dist/chunks/install-slack-app-0.7.1-z2n7dzqn.mjs +0 -1
  780. package/dist/chunks/instrumentation-0.7.1-ejkfct84.mjs +0 -1
  781. package/dist/chunks/interactiveHelpers-0.7.1-3pgg93hb.mjs +0 -1
  782. package/dist/chunks/keybindings-0.7.1-zstbszpg.mjs +0 -2
  783. package/dist/chunks/knowledge-0.7.1-b5nd9y2x.mjs +0 -2
  784. package/dist/chunks/latestVersionCache-0.7.1-6bpfy1b6.mjs +0 -1
  785. package/dist/chunks/loadAgentsDir-0.7.1-p8rq7yzm.mjs +0 -1
  786. package/dist/chunks/loadPluginHooks-0.7.1-d63pgpzs.mjs +0 -1
  787. package/dist/chunks/loadPluginHooks-0.7.1-gjb8jztz.mjs +0 -1
  788. package/dist/chunks/log-0.7.1-fxt088jb.mjs +0 -1
  789. package/dist/chunks/main-0.7.1-0vqgtt6k.mjs +0 -1
  790. package/dist/chunks/managedEnv-0.7.1-hmbbthb1.mjs +0 -1
  791. package/dist/chunks/mcp-0.7.1-79bgprwt.mjs +0 -17
  792. package/dist/chunks/mcp-0.7.1-fah2dpxt.mjs +0 -1
  793. package/dist/chunks/mcp-0.7.1-y1qkvnjg.mjs +0 -4
  794. package/dist/chunks/mcpb-0.7.1-2dapw2hx.mjs +0 -1
  795. package/dist/chunks/memory-0.7.1-ebb517bx.mjs +0 -3
  796. package/dist/chunks/model-0.7.1-3arjsbnf.mjs +0 -2
  797. package/dist/chunks/model-0.7.1-k3apa82z.mjs +0 -1
  798. package/dist/chunks/node-0.7.1-cdt9e3gn.mjs +0 -12
  799. package/dist/chunks/oauth-0.7.1-x8bhb9nz.mjs +0 -1
  800. package/dist/chunks/openaiShim-0.7.1-z2g9xzcq.mjs +0 -14
  801. package/dist/chunks/output-style-0.7.1-6pse3vv2.mjs +0 -1
  802. package/dist/chunks/package-GCDC7LJR-0.7.1-gy8kt96r.mjs +0 -1
  803. package/dist/chunks/parseConnectUrl-0.7.1-gg6kkfk2.mjs +0 -1
  804. package/dist/chunks/parser-0.7.1-5tt8chsn.mjs +0 -1
  805. package/dist/chunks/passes-0.7.1-b7rbrgkm.mjs +0 -1
  806. package/dist/chunks/permissions-0.7.1-nenep4c2.mjs +0 -1
  807. package/dist/chunks/permissions-0.7.1-zrdsqk21.mjs +0 -3
  808. package/dist/chunks/plan-0.7.1-85aa5f5y.mjs +0 -1
  809. package/dist/chunks/plist-0.7.1-qp82sdff.mjs +0 -1
  810. package/dist/chunks/plugin-0.7.1-je74p85s.mjs +0 -29
  811. package/dist/chunks/pluginStartupCheck-0.7.1-mvcejqcq.mjs +0 -1
  812. package/dist/chunks/plugins-0.7.1-m3wj9r06.mjs +0 -9
  813. package/dist/chunks/preActionHook-0.7.1-r7jz8sy6.mjs +0 -2
  814. package/dist/chunks/print-0.7.1-gsrx6f37.mjs +0 -57
  815. package/dist/chunks/privacy-settings-0.7.1-7kr3zzrk.mjs +0 -1
  816. package/dist/chunks/process-0.7.1-2776jpyn.mjs +0 -1
  817. package/dist/chunks/processBashCommand-0.7.1-5x2898xr.mjs +0 -1
  818. package/dist/chunks/processSlashCommand-0.7.1-dr876jz7.mjs +0 -9
  819. package/dist/chunks/prompt-0.7.1-7af9fgbe.mjs +0 -1
  820. package/dist/chunks/prompt-0.7.1-dw1fgpwq.mjs +0 -1
  821. package/dist/chunks/prompts-0.7.1-nbx9nyb5.mjs +0 -1
  822. package/dist/chunks/protocolHandler-0.7.1-qy15fxqj.mjs +0 -13
  823. package/dist/chunks/provider-0.7.1-0m9xffbf.mjs +0 -2
  824. package/dist/chunks/providerProfiles-0.7.1-9cc9sgnd.mjs +0 -1
  825. package/dist/chunks/providerValidation-0.7.1-jfy1rksg.mjs +0 -6
  826. package/dist/chunks/rate-limit-options-0.7.1-pxbxm170.mjs +0 -1
  827. package/dist/chunks/registerSubcommands-0.7.1-jwn9g5j8.mjs +0 -34
  828. package/dist/chunks/registry-0.7.1-gkweb7m4.mjs +0 -1
  829. package/dist/chunks/release-notes-0.7.1-h92ctc9v.mjs +0 -5
  830. package/dist/chunks/reload-plugins-0.7.1-ke9qvkbd.mjs +0 -2
  831. package/dist/chunks/remote-env-0.7.1-36s0b9x3.mjs +0 -1
  832. package/dist/chunks/remoteBridgeCore-0.7.1-fz71fhjn.mjs +0 -1
  833. package/dist/chunks/remoteSession-0.7.1-syy16saz.mjs +0 -1
  834. package/dist/chunks/rename-0.7.1-pp0vxpxy.mjs +0 -1
  835. package/dist/chunks/replBridgeHandle-0.7.1-ym42egv0.mjs +0 -1
  836. package/dist/chunks/replLauncher-0.7.1-jk6m635f.mjs +0 -1
  837. package/dist/chunks/resume-0.7.1-2q37w3de.mjs +0 -2
  838. package/dist/chunks/rewind-0.7.1-3t95cz8k.mjs +0 -1
  839. package/dist/chunks/rootOptions-0.7.1-4veg3eep.mjs +0 -1
  840. package/dist/chunks/sandbox-adapter-0.7.1-jy6rr7mq.mjs +0 -1
  841. package/dist/chunks/sandbox-toggle-0.7.1-aqpewqqh.mjs +0 -1
  842. package/dist/chunks/session-0.7.1-y1xwe626.mjs +0 -2
  843. package/dist/chunks/sessionDiscovery-0.7.1-nvdbjq60.mjs +0 -1
  844. package/dist/chunks/sessionFileAccessHooks-0.7.1-bbx6cg5g.mjs +0 -1
  845. package/dist/chunks/sessionStorage-0.7.1-n4dhbzem.mjs +0 -1
  846. package/dist/chunks/settings-0.7.1-pecm5dv1.mjs +0 -1
  847. package/dist/chunks/setup-0.7.1-gqpnyen6.mjs +0 -5
  848. package/dist/chunks/sinks-0.7.1-cq5f40zp.mjs +0 -1
  849. package/dist/chunks/skills-0.7.1-5qchbh6n.mjs +0 -1
  850. package/dist/chunks/startupProfiler-0.7.1-q1mwtr5f.mjs +0 -1
  851. package/dist/chunks/startupUpdateCheck-0.7.1-ncttf1vf.mjs +0 -1
  852. package/dist/chunks/state-0.7.1-34txp9ap.mjs +0 -1
  853. package/dist/chunks/stats-0.7.1-v8hnv2t1.mjs +0 -6
  854. package/dist/chunks/status-0.7.1-g7ngz48p.mjs +0 -1
  855. package/dist/chunks/stickers-0.7.1-y53mmmdh.mjs +0 -1
  856. package/dist/chunks/subprocessEnv-0.7.1-1t25wkzh.mjs +0 -1
  857. package/dist/chunks/tasks-0.7.1-2yky7fwg.mjs +0 -1
  858. package/dist/chunks/teamHelpers-0.7.1-0wyvqbjp.mjs +0 -1
  859. package/dist/chunks/teammateModeSnapshot-0.7.1-cgf3g4j9.mjs +0 -1
  860. package/dist/chunks/teleport-0.7.1-353z35fj.mjs +0 -1
  861. package/dist/chunks/terminalSetup-0.7.1-nw69mcxs.mjs +0 -1
  862. package/dist/chunks/theme-0.7.1-nzx60j7s.mjs +0 -1
  863. package/dist/chunks/thinkback-0.7.1-9jvy533f.mjs +0 -1
  864. package/dist/chunks/thinkback-play-0.7.1-m2kx6nfn.mjs +0 -1
  865. package/dist/chunks/toolPool-0.7.1-qywync64.mjs +0 -1
  866. package/dist/chunks/toolSearch-0.7.1-snw68bwv.mjs +0 -1
  867. package/dist/chunks/tools-0.7.1-5btn07a6.mjs +0 -1
  868. package/dist/chunks/trustedDevice-0.7.1-hma4k1vw.mjs +0 -1
  869. package/dist/chunks/turndown.cjs-0.7.1-k8n9qvhg.mjs +0 -69
  870. package/dist/chunks/types-0.7.1-9mrce42m.mjs +0 -1
  871. package/dist/chunks/ultrareviewCommand-0.7.1-h5k5xdws.mjs +0 -4
  872. package/dist/chunks/update-0.7.1-tqtsan40.mjs +0 -86
  873. package/dist/chunks/upgrade-0.7.1-b5ktjkp0.mjs +0 -1
  874. package/dist/chunks/upload-0.7.1-5910sy8s.mjs +0 -7
  875. package/dist/chunks/upstreamproxy-0.7.1-5fyja3cf.mjs +0 -14
  876. package/dist/chunks/url-handler-napi-0.7.1-paf3bx7g.mjs +0 -1
  877. package/dist/chunks/usage-0.7.1-2j0rqtzd.mjs +0 -1
  878. package/dist/chunks/util-0.7.1-62f399jk.mjs +0 -1
  879. package/dist/chunks/utils-0.7.1-vdqtwham.mjs +0 -1
  880. package/dist/chunks/vim-0.7.1-ry9xqmcy.mjs +0 -1
  881. package/dist/chunks/watcher-0.7.1-wdz2r62h.mjs +0 -1
  882. package/dist/chunks/wiki-0.7.1-sdq9xgrk.mjs +0 -132
  883. package/dist/chunks/worktree-0.7.1-e7sx150a.mjs +0 -1
  884. package/dist/chunks/worktreeModeEnabled-0.7.1-s0gwv1pz.mjs +0 -1
  885. package/dist/chunks/wrapper-0.7.1-3xjvgc6e.mjs +0 -7
  886. /package/dist/chunks/{cli-0.7.1-75dek4k4.mjs → cli-0.7.2-1xbehmgb.mjs} +0 -0
  887. /package/dist/chunks/{cli-0.7.1-tyzsanrm.mjs → cli-0.7.2-5c89p68w.mjs} +0 -0
  888. /package/dist/chunks/{cli-0.7.1-3y886h54.mjs → cli-0.7.2-796x24s1.mjs} +0 -0
  889. /package/dist/chunks/{cli-0.7.1-3q21cp2p.mjs → cli-0.7.2-b9pdb0nv.mjs} +0 -0
  890. /package/dist/chunks/{cli-0.7.1-fs00krs3.mjs → cli-0.7.2-d5fbych4.mjs} +0 -0
  891. /package/dist/chunks/{cli-0.7.1-cj9e468m.mjs → cli-0.7.2-q9twb2tn.mjs} +0 -0
  892. /package/dist/chunks/{cli-0.7.1-fzf4j9hh.mjs → cli-0.7.2-yppcb6em.mjs} +0 -0
@@ -1,50 +0,0 @@
1
- import{qc as Kc,rc as da}from"./cli-0.7.1-6q9k674b.mjs";import{sc as An,tc as Ht,uc as Xt,vc as Zc,xc as ea}from"./cli-0.7.1-dx2b4mwt.mjs";import{Bc as ma,yc as wt}from"./cli-0.7.1-a4x1wq4z.mjs";import{Ap as mn,Bp as Uu,Cp as Lc,Ep as zc,Fp as Nc,Hp as fc,OF as nc,PF as Gu,QF as cc,RF as uc,SF as ac,TF as Vu,Yp as Mc,Zp as aa,ly as Gc,mH as Hn,my as Vc,nF as yt,nH as Au,ny as Yc,oF as Kn,oy as Jc,pH as la,py as ra,qH as oa,tp as yc,up as Wu,vp as Cc,wp as bc,wv as Qc,xF as V,xp as wc,yF as gu,yp as Oc,yv as ha,zF as ia,zp as D}from"./cli-0.7.1-k3wrch69.mjs";import{PW as v,RW as ca,bX as Fc,cX as ua}from"./cli-0.7.1-825msf79.mjs";import{RZ as Ln,kZ as g,mZ as i}from"./cli-0.7.1-vc1w3czg.mjs";import{U0 as Nn,V0 as Mn,W0 as Qn,X0 as Gn,Y0 as Vn,Z0 as su,a1 as Yn,e1 as Jn,f1 as $c,g1 as Zn}from"./cli-0.7.1-bkp0aqdj.mjs";import{W1 as dt,X1 as u,Y1 as y,Z1 as Qt}from"./cli-0.7.1-1188jq4p.mjs";import{_1 as Vt}from"./cli-0.7.1-a4zjaz57.mjs";import{v2 as lc,w2 as Hu}from"./cli-0.7.1-4ft7hrdc.mjs";import{M2 as $n,O2 as Ou}from"./cli-0.7.1-0qwnf6wz.mjs";import{$ca as ft,Ada as tc,Bda as Qu,Cda as On,Dda as rc,Eda as sn,Gda as ic,Ida as Sc,Jda as gn,Sca as qc,Tca as bt,Uca as ta,Vca as Tt,Wca as nt,Xda as na,Yca as W,Zca as Kt,ada as Cn,bda as ct,cda as At,f8 as Ct,g8 as vu,gda as Rt,hda as bn,jda as wn,nda as Fn,sda as hn,tda as xn,uda as jn,vda as Yt,wda as rn,xda as Dn,yda as an,zda as vn}from"./cli-0.7.1-jpemgywy.mjs";import{Fia as ut,Nia as on}from"./cli-0.7.1-mxjp359f.mjs";import{Vpa as Gt,Wpa as Du,Zpa as j}from"./cli-0.7.1-f6nk5cs1.mjs";function zu(t,c=tn,a){let r=nt().find((m)=>m.provider==="openai"&&m.extras?.githubToken!==void 0);if(r)return At(r.id,{provider:"openai",name:r.name,baseUrl:a||r.baseUrl,model:r.model||c,apiKey:t,extras:{...r.extras,githubToken:t}}),Rt(r.id),{mode:"updated"};return ct({provider:"openai",name:"GitHub Copilot",baseUrl:a||Ru,model:c,apiKey:t,extras:{githubToken:t}},{makeActive:!0}),{mode:"created"}}function Tn({onDone:t,onBack:c,onChangeAPIKey:a}){let r=Yn()?.trim()?"already-authed":"menu",[m,e]=E.useState(r),[A,O]=E.useState(null),[X,w]=E.useState(""),[z,S]=E.useState(0),[L,Z]=E.useState(null),N=E.useCallback(async(Y,q=tn,tt,f)=>{let T=Jn(Y,tt,f?.enterpriseDomain);if(!T.success){O(T.warning??"Could not save token to secure storage."),e("error");return}zu(Y,q,f?.baseUrl),$n(),a?.(),t("GitHub Copilot onboard complete. Copilot token stored in secure storage and as the active /provider profile.",{display:"user"})},[a,t]),C=E.useCallback(async(Y)=>{e("device-busy"),O(null),Z(null);try{let q=await Mn({domain:Y});Z({user_code:q.user_code,verification_uri:q.verification_uri}),await Gn(q.verification_uri);let tt=await Qn(q.device_code,{initialInterval:q.interval,timeoutSeconds:q.expires_in,domain:Y}),f=await Vn(tt,{domain:Y});await N(f.token,tn,tt,{baseUrl:f.endpoints.api?.replace(/\/+$/,"")||void 0,enterpriseDomain:Y})}catch(q){O(q instanceof Error?q.message:String(q)),e("error")}},[N]);if(m==="already-authed")return y(g,{flexDirection:"column",gap:1,children:[u(i,{bold:!0,children:"GitHub Copilot"}),u(i,{children:"You are already signed in to GitHub Copilot."}),u(i,{dimColor:!0,children:'Choose "Sign in again" to refresh your token, or go back to the provider menu.'}),u(V,{options:[{label:"Sign in again",value:"sign-in-again"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:c?"Back to /provider menu":"Cancel",value:"back"}],onChange:(q)=>{if(q==="sign-in-again"){C();return}if(q==="enterprise"){e("enterprise-domain");return}if(c){c();return}t("GitHub onboard cancelled",{display:"system"})}})]});if(m==="enterprise-domain")return y(g,{flexDirection:"column",gap:1,children:[u(i,{bold:!0,children:"GitHub Enterprise sign-in"}),u(i,{dimColor:!0,children:"Enter your GitHub Enterprise domain (e.g. github.acme.com). Leave empty for github.com."}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:">"}),u(yt,{value:X,onChange:w,onSubmit:()=>{let q=Nn(X);if(!q){C();return}C(q)},onExit:()=>e(r),focus:!0,showCursor:!0,placeholder:"github.acme.com",columns:80,cursorOffset:z,onChangeCursorOffset:S})]}),u(i,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]});if(m==="error"&&A)return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"red",children:A}),u(V,{options:[{label:c?"Back to /provider menu":"Back to menu",value:"back"},{label:"Exit",value:"exit"}],onChange:(q)=>{if(q==="back"){if(c){c();return}e("menu"),O(null);return}t("GitHub onboard cancelled",{display:"system"})}})]});if(m==="device-busy")return y(g,{flexDirection:"column",gap:1,children:[u(i,{children:"GitHub Copilot sign-in"}),L?y(dt,{children:[y(i,{children:["Enter code ",u(i,{bold:!0,children:L.user_code})," at"," ",L.verification_uri]}),u(i,{dimColor:!0,children:"A browser window may have opened. Waiting for authorization..."})]}):u(i,{dimColor:!0,children:"Requesting device code from GitHub..."}),u(Hn,{})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{bold:!0,children:"GitHub Copilot setup"}),u(i,{dimColor:!0,children:"Stores your token in the OS credential store (macOS Keychain when available) and creates a /provider profile so Copilot is the active provider — no manual env exports required."}),u(V,{options:[{label:"Sign in with browser",value:"device"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:c?"Back to /provider menu":"Cancel",value:"cancel"}],onChange:(Y)=>{if(Y==="cancel"){if(c){c();return}t("GitHub onboard cancelled",{display:"system"});return}if(Y==="enterprise"){e("enterprise-domain");return}C()}})]})}var E,tn="github:copilot",Ru="https://api.githubcopilot.com";var Wn=j(()=>{gu();Au();Kn();Ln();su();Zn();Ou();Fn();Qt();E=Gt(Vt(),1)});function En(t){return[t.name,t.family??"",...t.families??[],t.parameterSize??"",t.quantizationLevel??""].join(" ").toLowerCase()}function zt(t,c){return c.some((a)=>t.includes(a))}function _u(t){return!zt(En(t),Un)}function qu(t){return t.find(_u)??null}function nn(t){let a=`${t.parameterSize??""} ${t.name}`.toLowerCase().match(/(\d+(?:\.\d+)?)\s*b\b/);if(a?.[1])return Number(a[1]);if(typeof t.sizeBytes==="number"&&t.sizeBytes>0)return Number((t.sizeBytes/1e9).toFixed(1));return null}function Su(t){return(t.quantizationLevel??t.name).toLowerCase()}function Fu(t,c,a){if(t===null)return a.push("unknown size"),0;if(c==="latency"){if(t<=4)return a.push("tiny model for low latency"),32;if(t<=8)return a.push("small model for fast responses"),26;if(t<=14)return a.push("mid-sized model with acceptable latency"),16;if(t<=24)return a.push("larger model may be slower"),8;return a.push("large model likely slower locally"),t<=40?0:-8}if(c==="coding"){if(t>=7&&t<=14)return a.push("strong coding size tier"),24;if(t>14&&t<=34)return a.push("large coding-capable size tier"),28;if(t>34)return a.push("very large model with higher quality potential"),18;return a.push("compact model may trade off coding depth"),12}if(t>=7&&t<=14)return a.push("great balanced size tier"),26;if(t>=3&&t<7)return a.push("compact balanced size tier"),18;if(t>14&&t<=24)return a.push("high quality balanced size tier"),20;if(t>24)return a.push("large model for quality-first usage"),10;return a.push("very small model for general usage"),8}function $u(t,c,a){let r=Su(t);if(r.includes("q4"))return a.push("efficient Q4 quantization"),c==="latency"?8:4;if(r.includes("q5"))return a.push("balanced Q5 quantization"),c==="latency"?6:5;if(r.includes("q8"))return a.push("higher quality Q8 quantization"),c==="latency"?2:5;return 0}function Lu(t,c,a){if(c.score!==t.score)return c.score-t.score;let r=nn(t)??Number.POSITIVE_INFINITY,m=nn(c)??Number.POSITIVE_INFINITY;if(a==="latency")return r-m;if(a==="coding")return m-r;let e=14;return Math.abs(r-e)-Math.abs(m-e)}function cn(t,c){return t.map((a)=>{let r=En(a),m=[],e=0;if(zt(r,Un))e-=40,m.push("not a chat-first model");if(zt(r,fu))e+=c==="coding"?24:c==="balanced"?10:4,m.push("coding-oriented model family");if(zt(r,Xu))e+=c==="latency"?4:c==="coding"?6:8,m.push("strong general-purpose model family");if(zt(r,ku))e+=c==="latency"?2:6,m.push("chat/instruct tuned");if(r.includes("vision")||r.includes("vl"))e-=2,m.push("vision model adds extra overhead");e+=Fu(nn(a),c,m),e+=$u(a,c,m);let A=m.slice(0,3).join(", ");return{...a,score:e,reasons:m,summary:A}}).sort((a,r)=>Lu(a,r,c))}function Pn(t,c){return qu(cn(t,c))}var fu,Xu,ku,Un;var Bn=j(()=>{fu=["coder","codellama","codegemma","codestral","devstral","starcoder","deepseek-coder","qwen2.5-coder","qwen-coder"],Xu=["llama","qwen","mistral","gemma","phi","deepseek"],ku=["instruct","chat","assistant"],Un=["embed","embedding","rerank","bge","whisper"]});function Mu(t){let c=t.toLowerCase();return Nu.some((a)=>c.includes(a))}function un(t){try{let c=new URL(t);if(c.username)c.username="redacted";if(c.password)c.password="redacted";for(let a of c.searchParams.keys())if(Mu(a))c.searchParams.set(a,"redacted");return c.toString()}catch{return t.replace(/\/\/[^/@\s]+(?::[^/@\s]*)?@/g,"//redacted@").replace(/([?&](?:token|access_token|refresh_token|api_key|apikey|key|password|passwd|pwd|auth|authorization|signature|sig|secret)=)[^&#]*/gi,"$1redacted")}}var Nu;var In=j(()=>{Nu=["api_key","apikey","key","token","access_token","refresh_token","signature","sig","secret","password","passwd","pwd","auth","authorization"]});function Yu(t){let c=`http://localhost:${t.port}/auth/callback`,a=new URL(`${hn}/oauth/authorize`);return a.searchParams.append("response_type","code"),a.searchParams.append("client_id",rn()),a.searchParams.append("redirect_uri",c),a.searchParams.append("scope",xn),a.searchParams.append("code_challenge",t.codeChallenge),a.searchParams.append("code_challenge_method","S256"),a.searchParams.append("id_token_add_organizations","true"),a.searchParams.append("codex_cli_simplified_flow","true"),a.searchParams.append("state",t.state),a.searchParams.append("originator",jn),a.toString()}function Ju(){return`<!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <title>Codex Login Complete</title>
6
- <style>
7
- body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
8
- h1 { margin: 0 0 12px; font-size: 22px; }
9
- p { margin: 0 0 10px; }
10
- </style>
11
- </head>
12
- <body>
13
- <h1>Codex login complete</h1>
14
- <p>You can return to Claudin now.</p>
15
- <p>Claudin will finish activating your new Codex OAuth login.</p>
16
- </body>
17
- </html>`}function Zu(t){return`<!doctype html>
18
- <html lang="en">
19
- <head>
20
- <meta charset="utf-8" />
21
- <title>Codex Login Failed</title>
22
- <style>
23
- body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
24
- h1 { margin: 0 0 12px; font-size: 22px; color: #991b1b; }
25
- p { margin: 0 0 10px; }
26
- </style>
27
- </head>
28
- <body>
29
- <h1>Codex login failed</h1>
30
- <p>${vn(t)}</p>
31
- <p>You can close this window and try again in Claudin.</p>
32
- </body>
33
- </html>`}function pn(){return`<!doctype html>
34
- <html lang="en">
35
- <head>
36
- <meta charset="utf-8" />
37
- <title>Codex Login Cancelled</title>
38
- <style>
39
- body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
40
- h1 { margin: 0 0 12px; font-size: 22px; }
41
- p { margin: 0 0 10px; }
42
- </style>
43
- </head>
44
- <body>
45
- <h1>Codex login cancelled</h1>
46
- <p>You can close this window and retry in Claudin.</p>
47
- </body>
48
- </html>`}async function Ku(t){let c=`http://localhost:${t.port}/auth/callback`,a=new URLSearchParams({grant_type:"authorization_code",code:t.authorizationCode,redirect_uri:c,client_id:rn(),code_verifier:t.codeVerifier}),r=await fetch(`${hn}/oauth/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:a,signal:t.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000)});if(!r.ok){let w=await r.text().catch(()=>"");throw Error(w.trim()?`Codex OAuth token exchange failed (${r.status}): ${w.trim()}`:`Codex OAuth token exchange failed with status ${r.status}.`)}let m=await r.json(),e=Yt(m.access_token),A=Yt(m.refresh_token);if(!e||!A)throw Error("Codex OAuth completed, but the token response was missing credentials.");let O=Yt(m.id_token);return{apiKey:O?await tc(O).catch(()=>{return}):void 0,accessToken:e,refreshToken:A,idToken:O,accountId:an(O)??an(e)}}class ln{authCodeListener=null;port=null;tokenExchangeAbortController=null;buildCancellationError(){return Error("Codex OAuth flow was cancelled.")}async startOAuthFlow(t){let c=cc(),a=Dn(),r=new nc("/auth/callback");this.authCodeListener=r,this.port=null;try{let m=await r.start(a);this.port=m;let e=ac(),A=await uc(c),O=Yu({port:m,codeChallenge:A,state:e});try{let X=await r.waitForAuthorization(e,async()=>{await t(O)}),w=new AbortController;this.tokenExchangeAbortController=w;let z;try{z=await Ku({authorizationCode:X,codeVerifier:c,port:m,signal:w.signal})}finally{if(this.tokenExchangeAbortController===w)this.tokenExchangeAbortController=null}if(this.authCodeListener!==r)throw this.buildCancellationError();return r.handleSuccessRedirect([],(S)=>{S.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),S.end(Ju())}),z}catch(X){let w=this.authCodeListener===r?X:this.buildCancellationError();if(r.hasPendingResponse()){let z=w instanceof Error&&w.message==="Codex OAuth flow was cancelled.";r.handleErrorRedirect((S)=>{S.writeHead(z?200:400,{"Content-Type":"text/html; charset=utf-8"}),S.end(z?pn():Zu(w instanceof Error?w.message:String(w)))})}throw w}finally{this.cleanup()}}catch(m){let e=m instanceof Error?m.message:String(m);if(e.includes("EADDRINUSE")||e.includes(String(a)))throw Error(`Codex OAuth needs localhost:${a} for its callback. Close any app already using that port and try again.`);throw m}}cleanup(){let t=this.buildCancellationError();if(this.tokenExchangeAbortController?.abort(t),this.tokenExchangeAbortController=null,this.authCodeListener?.hasPendingResponse())this.authCodeListener.handleErrorRedirect((c)=>{c.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),c.end(pn())});this.authCodeListener?.cancelPendingAuthorization(t),this.authCodeListener=null,this.port=null}}var hc=j(()=>{Gu();Vu();Qu()});function Tu(){return new ln}function oc(t){let{onAuthenticated:c}=t,a=t.deps?.createOAuthService??Tu,r=t.deps?.openBrowser??lc,m=t.deps?.saveCodexCredentials??rc,e=t.deps?.isBareMode??ut,[A,O]=Jt.useState({state:"starting"});return Jt.useEffect(()=>{if(e()){O({state:"error",message:"Codex OAuth is unavailable in --bare because secure storage is disabled."});return}let X=!1,w=a();return w.startOAuthFlow(async(z)=>{if(X)return;O({state:"waiting",authUrl:z,browserOpened:null});let S=await r(z);if(X)return;O({state:"waiting",authUrl:z,browserOpened:S})}).then(async(z)=>{if(X)return;await c(z,(L)=>{let Z=m({apiKey:z.apiKey,accessToken:z.accessToken,refreshToken:z.refreshToken,idToken:z.idToken,accountId:z.accountId,profileId:L?.profileId});if(!Z.success)throw Error(Z.warning??"Codex OAuth succeeded, but credentials could not be saved securely.")})}).catch((z)=>{if(X)return;O({state:"error",message:z instanceof Error?z.message:String(z)})}),()=>{X=!0,w.cleanup()}},[a,e,c,r,m]),A}var Jt;var mc=j(()=>{hc();Hu();ic();on();Jt=Gt(Vt(),1)});function Ac(){return{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","User-Agent":yc()}}function dc(t,c){let a=Number(t);return Number.isFinite(a)&&a>0?a*1000:c}function Iu(t,c){if(c?.aborted)return Promise.resolve();return new Promise((a)=>{let r=setTimeout(()=>{c?.removeEventListener("abort",m),a()},t),m=()=>{clearTimeout(r),a()};c?.addEventListener("abort",m,{once:!0})})}async function pu(t){let c=t?.fetchImpl??fetch,a=t?.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000),r=await c(bc,{method:"POST",headers:Ac(),body:new URLSearchParams({client_id:mn(),scope:Oc}).toString(),signal:a});if(!r.ok){let X=await r.text().catch(()=>"");throw Error(`xAI device code request failed (${r.status})${X?`: ${X.trim()}`:""}`)}let m=await r.json(),e=D(m.device_code),A=D(m.user_code),O=D(m.verification_uri);if(!e||!A||!O)throw Error("xAI device code response is missing device_code / user_code / verification_uri.");return{device_code:e,user_code:A,verification_uri:O,verification_uri_complete:D(m.verification_uri_complete),expires_in:typeof m.expires_in==="number"&&m.expires_in>0?m.expires_in:gc/1000,interval:typeof m.interval==="number"&&m.interval>0?m.interval:sc/1000}}async function xu(t,c){let a=c?.fetchImpl??fetch,r=c?.sleep??Iu,m=c?.now??(()=>Date.now()),e=dc(t.expires_in,gc),A=m()+e,O=Math.max(dc(t.interval,sc),Eu);while(m()<A){if(c?.signal?.aborted)throw Error("xAI device authorization was cancelled.");let X=await a(Cc,{method:"POST",headers:Ac(),body:new URLSearchParams({grant_type:wc,client_id:mn(),device_code:t.device_code}).toString(),signal:c?.signal});if(X.ok){let L=await X.json(),Z=D(L.access_token),N=D(L.refresh_token);if(!Z||!N)throw Error("xAI OAuth completed, but the token response was missing credentials.");let C=typeof L.expires_in==="number"&&Number.isFinite(L.expires_in)&&L.expires_in>0?L.expires_in:3600;return{accessToken:Z,refreshToken:N,idToken:D(L.id_token),expiresAt:m()+C*1000}}let w=await X.json().catch(()=>({})),z=Math.max(0,A-m());if(w.error==="authorization_pending"){await r(Math.min(O+ec,z),c?.signal);continue}if(w.error==="slow_down"){O=Math.min(O+Pu,Bu),await r(Math.min(O+ec,z),c?.signal);continue}if(w.error==="access_denied"||w.error==="authorization_denied")throw Error("xAI device authorization was denied.");if(w.error==="expired_token")throw Error("xAI device code expired - please re-run login.");let S=w.error_description??w.error??"";throw Error(`xAI device token exchange failed (${X.status})${S?`: ${S}`:""}`)}throw Error("xAI device authorization timed out.")}class en{abortController=null;async startDeviceFlow(t){let c=new AbortController;this.abortController=c;try{let a=await pu({signal:c.signal});return await t(a),await xu(a,{signal:c.signal})}finally{if(this.abortController===c)this.abortController=null}}cleanup(){this.abortController?.abort(Error("xAI device authorization was cancelled.")),this.abortController=null}}var sc=5000,Eu=1000,Pu=5000,Bu=60000,gc=300000,ec=3000;var Rc=j(()=>{Wu();Uu()});function ju(){return new en}function Xc(t){let{onAuthenticated:c}=t,a=t.deps?.createOAuthService??ju,r=t.deps?.saveXaiCredentials??zc,m=t.deps?.isBareMode??ut,[e,A]=Zt.useState({state:"starting"});return Zt.useEffect(()=>{if(m()){A({state:"error",message:"xAI OAuth is unavailable in --bare because secure storage is disabled."});return}let O=!1,X=a();return X.startDeviceFlow(async(w)=>{if(O)return;A({state:"waiting",userCode:w.user_code,verificationUri:w.verification_uri,verificationUriComplete:w.verification_uri_complete})}).then(async(w)=>{if(O)return;await c(w,(S)=>{let L=r({accessToken:w.accessToken,refreshToken:w.refreshToken,idToken:w.idToken,expiresAt:w.expiresAt,profileId:S?.profileId});if(!L.success)throw Error(L.warning??"xAI OAuth succeeded, but credentials could not be saved securely.")})}).catch((w)=>{if(O)return;A({state:"error",message:w instanceof Error?w.message:String(w)})}),()=>{O=!0,X.cleanup()}},[a,m,c,r]),e}var Zt;var kc=j(()=>{Rc();on();fc();Zt=Gt(Vt(),1)});function sa(t){return{name:t.name,baseUrl:t.baseUrl,model:t.model,apiKey:t.apiKey??""}}function ga(t){let c=Tt(t);return{name:c.name,baseUrl:c.baseUrl,model:c.model,apiKey:c.apiKey??""}}function Aa(t){let c={};for(let a of t.split(/\r?\n/)){let r=a.trim();if(!r)continue;let m=r.indexOf(":");if(m<=0)continue;let e=r.slice(0,m).trim(),A=r.slice(m+1).trim();if(e&&A)c[e]=A}return c}function Ra(t){if(!t)return"";return Object.entries(t).map(([c,a])=>`${c}: ${a}`).join(`
49
- `)}function za(t,c){let a={},r=t.awsRegion?.trim();if(r)a.awsRegion=r;let m=t.gcpProject?.trim();if(m)a.gcpProject=m;let e=t.gcpRegion?.trim();if(e)a.gcpRegion=e;let A=t.azureResource?.trim();if(A)a.azureResource=A;let O=Aa(c);if(Object.keys(O).length>0)a.customHeaders=O;return Object.keys(a).length>0?a:void 0}function Xa(t,c){let a=c?" (active)":"",r=t.apiKey?"key set":"no key",m=t.provider==="anthropic"?"anthropic":"openai-compatible",e=qc(t.model),A=e.length<=3?e.join(", "):`${e[0]}, ${e[1]} + ${e.length-2} more`;return`${m} · ${t.baseUrl} · ${A} · ${r}${a}`}function ka(t,c){if(t.state==="unreachable")return`Could not reach Atomic Chat at ${un(c)}. Start the Atomic Chat app first, or enter the endpoint manually.`;if(t.state==="no_models")return"Atomic Chat is running, but no models are loaded. Download and load a model inside the Atomic Chat app first, or enter details manually.";return""}function _a(t,c){if(t.state==="unreachable")return`Could not reach Ollama at ${un(c)}. Start Ollama first, or enter the endpoint manually.`;if(t.state==="no_models")return"Ollama is running, but no installed models were found. Pull a chat model such as qwen2.5-coder:7b or llama3.1:8b first, or enter details manually.";if(t.state==="generation_failed"){let a=t.probeModel??"the selected model",r=t.detail?` Details: ${t.detail}.`:"";return`Ollama is reachable and models are installed, but a generation probe failed for ${a}.${r} Run "ollama run ${a}" once and retry, or enter details manually.`}return""}function yn(t,c){if(!c)return;return t.find((a)=>a.id===c)}function _c(t,c){return Boolean(t&&c&&t.id===c)}function qa({onBack:t,onConfigured:c}){let a=b.useCallback(async(m,e)=>{await c(m,e)},[c]);v("confirm:no",t,[t]);let r=oc({onAuthenticated:a});if(r.state==="error")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"error",bold:!0,children:"Codex OAuth failed"}),u(i,{children:r.message}),u(i,{dimColor:!0,children:"Press Enter or Esc to go back."}),u(V,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Codex OAuth"}),u(i,{children:"Sign in with your ChatGPT account in the browser. Claudin will store the resulting Codex credentials securely and switch this session to the new Codex login when setup completes."}),r.state==="starting"?u(i,{dimColor:!0,children:"Starting local callback and preparing your browser..."}):r.browserOpened===!1?y(dt,{children:[u(i,{color:"warning",children:"Browser did not open automatically. Visit this URL to continue:"}),u(i,{children:r.authUrl})]}):r.browserOpened===!0?y(dt,{children:[u(i,{dimColor:!0,children:"Browser opened. Finish the ChatGPT sign-in there and this setup will complete automatically."}),u(i,{children:r.authUrl})]}):u(i,{dimColor:!0,children:"Opening your browser..."}),u(i,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function Sa({onBack:t,onConfigured:c}){let a=b.useCallback(async(m,e)=>{await c(m,e)},[c]);v("confirm:no",t,[t]);let r=Xc({onAuthenticated:a});if(r.state==="error")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"error",bold:!0,children:"xAI OAuth failed"}),u(i,{children:r.message}),u(i,{dimColor:!0,children:"Press Enter or Esc to go back."}),u(V,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"xAI / Grok OAuth"}),r.state==="starting"?u(i,{dimColor:!0,children:"Requesting a device code from xAI..."}):y(dt,{children:[y(i,{children:["Open this URL on any device:"," ",u(i,{bold:!0,children:r.verificationUri})]}),y(i,{children:["Enter code ",u(i,{bold:!0,children:r.userCode})]}),r.verificationUriComplete&&r.verificationUriComplete!==r.verificationUri?y(i,{dimColor:!0,children:["Or open this prefilled URL: ",r.verificationUriComplete]}):null,u(i,{dimColor:!0,children:"Waiting for you to authorize in the browser..."})]}),u(i,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function Sh({mode:t,onDone:c}){let a=Qc(),[r,m]=b.useState([]),[e,A]=b.useState(),[O,X]=b.useState(),[w,z]=b.useState(!1),[S,L]=b.useState(),Z=b.useRef(0),[N,C]=b.useState(t==="first-run"?"select-preset":"menu"),[ht,Y]=b.useState(null),[q,tt]=b.useState("openai"),[f,T]=b.useState(()=>ga("ollama")),[Wt,kt]=b.useState({}),[Rn,Ut]=b.useState(""),[Hc,Tc]=b.useState(0),[Wc,Uc]=b.useState(0),[Et,zn]=b.useState(null),[rt,Ot]=b.useState(0),[it,P]=b.useState(0),[Ec,B]=b.useState(0),[fn,M]=b.useState(),[lt,R]=b.useState(),[Pc,Bc]=b.useState(),[Xn,_t]=b.useState(!1),[st,gt]=b.useState(),[I,qt]=b.useState({state:"idle"}),[p,St]=b.useState({state:"idle"}),[x,Pt]=b.useState({state:"idle"}),[Ic,pc]=b.useState(!0),[xc,H]=b.useState(!1),Bt=b.useRef(!1),[It,pt]=b.useState(()=>Xt()),[kn,jc]=b.useState(()=>Zc());b.useEffect(()=>{queueMicrotask(()=>{let n=nt(),h=W()?.id;m(n),A(h),X(Kt()),L(Cn()),z(ft()),pc(!1)})},[]);let ot=at[it]??at[0],Ft=ot.key,Dc=f[Ft],xt=r.length>0,$t=xt,_n=b.useMemo(()=>[{value:"add",label:"Add provider",description:"Create a new provider profile"},...It?[{value:"import-legacy",label:"Import from Claude Code",description:"Copy ~/.claude/ tokens, settings, skills, agents, plugins."}]:[],{value:"activate",label:"Set active provider (Global)",description:S?`Currently: ${r.find((n)=>n.id===S)?.name??"unknown"}`:"Default profile for projects without an override",disabled:!$t},{value:"activate-project",label:"Set active provider (Project)",description:O?`Currently: ${r.find((n)=>n.id===O)?.name??"unknown"} (this project)`:"Override the global default for this project only",disabled:!$t},...w?[{value:"clear-project-override",label:"Clear project provider override",description:O?"Stop overriding for this project; fall back to global":"Project override points to a missing profile; clear it"}]:[],{value:"edit",label:"Edit provider",description:"Update URL, model, or key",disabled:!xt},{value:"delete",label:"Delete provider",description:"Remove a provider profile",disabled:!$t},...Xn?[{value:"logout-codex-oauth",label:"Log out Codex OAuth",description:"Clear securely stored Codex OAuth credentials"}]:[],{value:"done",label:"Done",description:"Return to chat"}],[$t,xt,Xn,It,S,O,r]),jt=b.useCallback(()=>{if(ut()){Z.current+=1,_t(!1),gt(void 0);return}let n=++Z.current;(async()=>{let h=await On();if(n!==Z.current)return;_t(Boolean(h?.apiKey||h?.accessToken||h?.refreshToken||h?.idToken)),gt(h?.profileId)})()},[]);b.useEffect(()=>{return jt(),()=>{Z.current+=1}},[jt]),b.useEffect(()=>{if(N!=="select-ollama-model")return;let n=!1;return qt({state:"loading"}),(async()=>{let h=await Jc({baseUrl:f.baseUrl});if(h.state!=="ready"){if(!n)qt({state:"unavailable",message:_a(h,f.baseUrl)});return}let o=cn(h.models,"balanced"),l=Pn(h.models,"balanced");if(!n)qt({state:"ready",defaultValue:l?.name??o[0]?.name,options:o.map((d)=>({label:d.name,value:d.name,description:d.summary}))})})(),()=>{n=!0}},[f.baseUrl,N]),b.useEffect(()=>{if(N!=="select-atomic-chat-model")return;let n=!1;return St({state:"loading"}),(async()=>{let h=await Yc({baseUrl:f.baseUrl});if(h.state!=="ready"){if(!n)St({state:"unavailable",message:ka(h,f.baseUrl)});return}if(!n)St({state:"ready",defaultValue:h.models[0],options:h.models.map((o)=>({label:o,value:o}))})})(),()=>{n=!0}},[f.baseUrl,N]),b.useEffect(()=>{if(N!=="select-openai-model")return;let n=!1;return Pt({state:"loading"}),(async()=>{let h=await Gc({baseUrl:f.baseUrl,apiKey:f.apiKey||void 0});if(n)return;if(!h||h.length===0){Pt({state:"unavailable",message:"Couldn't list models from this provider. Enter the model id manually, or go back to check the base URL and API key."});return}let{options:o,defaultValue:l}=Vc(h,f.model);Pt({state:"ready",options:o,defaultValue:l})})(),()=>{n=!0}},[f.baseUrl,f.apiKey,N]);function Q(){if(Bt.current)return;Bt.current=!0,queueMicrotask(()=>{let n=nt();m(n),A(W()?.id),X(Kt()),L(Cn()),z(ft()),jt(),Bt.current=!1})}function mt(){return null}function Dt(n){if(n.activationWarning)return`${n.prefix}. Saved for next startup. Warning: ${n.warnings.join("; ")}.`;if(n.warnings.length>0)return`${n.prefix}. Claudin switched to it for this session with warnings: ${n.warnings.join("; ")}.`;return`${n.prefix}. Claudin switched to it for this session.`}async function vt(n){if(n?.accessToken&&n.accountId)return null;let h=await On();if(!h)return"stored Codex OAuth credentials could not be loaded";if(!h.accountId)return"stored Codex OAuth credentials are missing a ChatGPT account id";return null}function qn(){Mc()}async function vc(n){let h="provider";H(!0),M("Activating provider...");try{await new Promise((U)=>queueMicrotask(U));let o=ft(),l=Rt(n);if(!l){R("Could not change active provider."),H(!1),k();return}let d=o?W()??l:l,s=bt(d.model);if(!o)a((U)=>({...U,mainLoopModel:s,mainLoopModelForSession:null}));h=l.name;let _=mt(),J=_c(l,st),$=J?await vt():null;Q();let K=o&&d.id!==l.id?` (project override still active — this project keeps using ${d.name}; use "Clear project provider override" to apply the new default here)`:"",F=J?Dt({prefix:`Active provider: ${l.name}${K}`,activationWarning:$,warnings:[$,_?`could not clear startup provider override (${_})`:null].filter((U)=>Boolean(U))}):_?`Active provider: ${l.name}${K}. Warning: could not clear startup provider override (${_}).`:`Active provider: ${l.name}${K}`;M(F),H(!1),c({action:"activated",activeProfileId:l.id,activeProviderName:l.name,activeProviderModel:s,message:`Provider switched to ${l.name} (${s})`}),k()}catch(o){Q(),M(void 0),H(!1);let l=o instanceof Error?o.message:String(o);R(`Could not finish activating ${h}: ${l}`),k()}}async function tu(){H(!0),M("Clearing project provider override...");try{await new Promise((h)=>queueMicrotask(h)),bn(null),Q();let n=W();if(n){let h=bt(n.model);wt(),a((o)=>({...o,mainLoopModel:h,mainLoopModelForSession:null})),M(`Project override cleared. Using global default: ${n.name}.`),H(!1),c({action:"activated",activeProfileId:n.id,activeProviderName:n.name,activeProviderModel:h,message:`Project override cleared — using ${n.name} (${h})`}),k()}else M("Project provider override cleared. No global default set."),H(!1),c({action:"saved",message:"Project provider override cleared. No global default set."}),k()}catch(n){Q(),M(void 0),H(!1);let h=n instanceof Error?n.message:String(n);R(`Could not clear project provider override: ${h}`),k()}}async function nu(n){let h="provider";H(!0),M("Setting provider for this project...");try{await new Promise((F)=>queueMicrotask(F));let o=Kt(),l=bn(n);if(!l){R("Could not set project provider override."),H(!1),k();return}let d=bt(l.model);if(o===l.id)wt();a((F)=>({...F,mainLoopModel:d,mainLoopModelForSession:null})),h=l.name;let s=mt(),_=_c(l,st),J=_?await vt():null;Q();let $=`Active provider for this project: ${l.name}. Other projects keep the global default.`,K=_?Dt({prefix:$,activationWarning:J,warnings:[J,s?`could not clear startup provider override (${s})`:null].filter((F)=>Boolean(F))}):s?`${$} Warning: could not clear startup provider override (${s}).`:$;M(K),H(!1),c({action:"activated",activeProfileId:l.id,activeProviderName:l.name,activeProviderModel:d,message:`Provider switched to ${l.name} (${d}) for this project`}),k()}catch(o){Q(),M(void 0),H(!1);let l=o instanceof Error?o.message:String(o);R(`Could not finish setting ${h} for this project: ${l}`),k()}}function k(){Bc("done"),C("menu")}function Lt(n){c({action:"cancelled",message:n})}function cu(n){let h=Tt(n),o={name:h.name,baseUrl:h.baseUrl,model:h.model,apiKey:h.apiKey??""};if(Y(null),tt(h.provider??"openai"),T(o),kt({}),Ut(""),zn(n),P(0),Ot(0),B(o.name.length),R(void 0),n==="ollama"){qt({state:"loading"}),C("select-ollama-model");return}if(n==="atomic-chat"){St({state:"loading"}),C("select-atomic-chat-model");return}if(n==="anthropic"){C("anthropic-auth-choice");return}if(n==="bedrock"||n==="vertex"||n==="foundry"){C("cloud-extras");return}C("form")}function uu(n){let h=r.find((l)=>l.id===n);if(!h)return;let o=sa(h);Y(n),tt(h.provider??"openai"),T(o),kt({awsRegion:h.extras?.awsRegion,gcpProject:h.extras?.gcpProject,gcpRegion:h.extras?.gcpRegion,azureResource:h.extras?.azureResource}),Ut(Ra(h.extras?.customHeaders)),zn(null),P(0),Ot(0),B(o.name.length),R(void 0),C("form")}function Nt(n=f){let h=za(Wt,Rn),o={provider:q,name:n.name,baseUrl:n.baseUrl,model:n.model,apiKey:n.apiKey,extras:h},l=ht?At(ht,o):ct(o,{makeActive:!0});if(!l){R("Could not save provider. Fill all required fields.");return}let d=W()?.id===l.id;if(d)wt(),a((K)=>({...K,mainLoopModel:bt(l.model),mainLoopModelForSession:null}));let s=d?mt():null;Q();let _=!ht&&ft()&&!d,J=_?W()?.name??"override target":null,$=ht?`Updated provider: ${l.name}`:_?`Added provider: ${l.name} (now global default — project keeps using ${J}; use "Clear project provider override" to apply here)`:`Added provider: ${l.name} (now active)`;if(M(s?`${$}. Warning: could not clear startup provider override (${s}).`:$),t==="first-run"){c({action:"saved",activeProfileId:l.id,message:`Provider configured: ${l.name}`});return}Y(null),P(0),R(void 0),k()}function au(){if(p.state==="loading"||p.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Checking Atomic Chat"}),u(i,{dimColor:!0,children:"Looking for loaded Atomic Chat models..."})]});if(p.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Atomic Chat setup"}),u(i,{dimColor:!0,children:p.message}),u(V,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(n)=>{if(n==="manual"){P(0),B(f.name.length),C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:2})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose an Atomic Chat model"}),u(i,{dimColor:!0,children:"Pick one of the models loaded in Atomic Chat to save into a local provider profile."}),u(V,{options:p.options,defaultValue:p.defaultValue,defaultFocusValue:p.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,p.options.length),onChange:(n)=>{let h={...f,model:n};T(h),Nt(h)},onCancel:()=>C("select-preset")})]})}function hu(){if(I.state==="loading"||I.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Checking Ollama"}),u(i,{dimColor:!0,children:"Looking for installed Ollama models..."})]});if(I.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Ollama setup"}),u(i,{dimColor:!0,children:I.message}),u(V,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(n)=>{if(n==="manual"){P(0),B(f.name.length),C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:2})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose an Ollama model"}),u(i,{dimColor:!0,children:"Pick one of the installed Ollama models to save into a local provider profile."}),u(V,{options:I.options,defaultValue:I.defaultValue,defaultFocusValue:I.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,I.options.length),onChange:(n)=>{let h={...f,model:n};T(h),Nt(h)},onCancel:()=>C("select-preset")})]})}function et(n){let h=at.findIndex((o)=>o.key===n);P(h<0?0:h),B(f[n].length),R(void 0),C("form")}function ru(){if(x.state==="loading"||x.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Fetching models"}),u(i,{dimColor:!0,children:"Looking for models on your OpenAI-compatible provider…"}),u(i,{dimColor:!0,children:"Press Esc to enter the model manually."})]});if(x.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose a model"}),u(i,{dimColor:!0,children:x.message}),u(V,{options:[{value:"manual",label:"Enter manually",description:"Type the model id yourself"},{value:"back",label:"Back",description:"Return to the API key step"}],onChange:(o)=>{if(o==="manual"){et("model");return}et("apiKey")},onCancel:()=>et("apiKey"),visibleOptionCount:2})]});let n=[...x.options,{value:dn,label:"Enter a model id manually",description:"Type an id the provider did not list"}],h=x.defaultValue??dn;return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose a model"}),u(i,{dimColor:!0,children:"Models from your OpenAI-compatible provider."}),u(V,{options:n,defaultValue:h,defaultFocusValue:h,inlineDescriptions:!0,visibleOptionCount:Math.min(8,n.length),onChange:(o)=>{if(o===dn){et("model");return}let l={...f,model:o};T(l),Sn(l)},onCancel:()=>et("apiKey")}),u(i,{dimColor:!0,children:"Enter to select · Esc to go back"})]})}function Sn(n){if(Et==="anthropic"||Et==="custom"){T(n),C("custom-headers");return}Nt(n)}function iu(n){let h=n.trim();if(!ot.optional&&h.length===0){R(`${ot.label} is required.`);return}let o={...f,[Ft]:h};if(T(o),R(void 0),it<at.length-1){let l=it+1,d=at[l]?.key??"name";if(d==="model"&&!ya.has(q)&&o.baseUrl.trim().length>0){C("select-openai-model");return}P(l),B(o[d].length);return}Sn(o)}function lu(){if(R(void 0),it>0){let n=it-1,h=at[n]?.key??"name";P(n),B(f[h].length);return}if(t==="first-run"){C("select-preset");return}k()}v("confirm:no",lu,{context:"Settings",isActive:N==="form"}),v("confirm:no",()=>et("model"),{context:"Settings",isActive:N==="select-openai-model"&&(x.state==="loading"||x.state==="idle")});function ou(){if(R(void 0),rt>0){Ot(rt-1);return}C("select-preset")}v("confirm:no",ou,{context:"Settings",isActive:N==="cloud-extras"}),v("confirm:no",()=>C("form"),{context:"Settings",isActive:N==="custom-headers"}),v("confirm:no",()=>C("select-preset"),{context:"Settings",isActive:N==="anthropic-auth-choice"||N==="anthropic-oauth"});function mu(){let n=!ut(),h=[...It?[{value:"import-legacy",label:"Import from Claude Code",description:"Reuse ~/.claude/ tokens, settings, theme, MCP, skills, agents, plugins."}]:[],{value:"dashscope-intl",label:"Alibaba Coding Plan",description:"Alibaba DashScope International endpoint"},{value:"dashscope-cn",label:"Alibaba Coding Plan (China)",description:"Alibaba DashScope China endpoint"},{value:"anthropic",label:"Anthropic",description:"Native Claude API (x-api-key auth)"},{value:"atomic-chat",label:"Atomic Chat",description:"Local Model Provider"},{value:"azure-openai",label:"Azure OpenAI",description:"Azure OpenAI endpoint (model=deployment name)"},{value:"foundry",label:"Azure AI Foundry",description:"Anthropic models hosted on Azure AI Foundry (resource-scoped)"},{value:"bedrock",label:"AWS Bedrock",description:"Anthropic models on AWS Bedrock (region-scoped, AWS creds)"},{value:"bankr",label:"Bankr",description:"Bankr LLM Gateway (OpenAI-compatible)"},{value:"cloudflare-workers-ai",label:"Cloudflare Workers AI",description:"Cloudflare Workers AI (OpenAI-compatible); set your account ID in the base URL"},{value:"cloudflare-ai-gateway",label:"Cloudflare AI Gateway",description:"Cloudflare AI Gateway unified endpoint; set your account ID in the base URL"},...n?[{value:"codex-oauth",label:"Codex OAuth",description:"Sign in with ChatGPT in your browser and store Codex credentials securely"},{value:"xai-oauth",label:"xAI / Grok (OAuth)",description:"Sign in with xAI in your browser and store Grok credentials securely"}]:[],{value:"github-onboard",label:"GitHub Copilot",description:"Sign in with GitHub in your browser to use Copilot models"},{value:"deepseek",label:"DeepSeek",description:"DeepSeek OpenAI-compatible endpoint"},{value:"gemini",label:"Google Gemini",description:"Gemini OpenAI-compatible endpoint"},{value:"vertex",label:"Google Vertex AI",description:"Anthropic models on Vertex AI (project + region, ADC)"},{value:"groq",label:"Groq",description:"Groq OpenAI-compatible endpoint"},{value:"lmstudio",label:"LM Studio",description:"Local LM Studio endpoint"},{value:"minimax",label:"MiniMax",description:"MiniMax API endpoint"},{value:"mistral",label:"Mistral",description:"Mistral OpenAI-compatible endpoint"},{value:"moonshotai",label:"Moonshot AI - API",description:"Moonshot AI - API endpoint"},{value:"kimi-code",label:"Moonshot AI - Kimi Code",description:"Moonshot AI - Kimi Code Subscription endpoint"},{value:"nvidia-nim",label:"NVIDIA NIM",description:"NVIDIA NIM endpoint"},{value:"opencode-go",label:"OpenCode GO",description:"OpenCode GO OpenAI-compatible endpoint"},{value:"opencode-zen",label:"OpenCode Zen",description:"OpenCode Zen OpenAI-compatible endpoint"},{value:"ollama",label:"Ollama",description:"Local or remote Ollama endpoint"},{value:"openai",label:"OpenAI",description:"OpenAI API with API key"},{value:"openrouter",label:"OpenRouter",description:"OpenRouter OpenAI-compatible endpoint"},{value:"together",label:"Together AI",description:"Together chat/completions endpoint"},{value:"zai",label:"Z.AI (GLM Coding Plan)",description:"Z.AI GLM Coding Plan (OpenAI-compatible)"},{value:"custom",label:"Custom",description:"Any OpenAI-compatible provider"},...t==="first-run"?[{value:"skip",label:"Skip for now",description:"Continue with current defaults"}]:[]];return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:t==="first-run"?"Set up provider":"Choose provider preset"}),u(i,{dimColor:!0,children:"Pick a preset, then confirm base URL, model, and API key."}),u(V,{options:h,onChange:(o)=>{if(o==="skip"){Lt("Provider setup skipped");return}if(o==="codex-oauth"){C("codex-oauth");return}if(o==="xai-oauth"){C("xai-oauth");return}if(o==="github-onboard"){C("github-onboard");return}if(o==="import-legacy"){(async()=>{let l=await An({force:!0});pt(Xt()),Q();let d=Ht(l);if(l.errors.length>0){R(d);return}let s=W();if(t==="first-run"&&s){c({action:"saved",activeProfileId:s.id,activeProviderName:s.name,activeProviderModel:s.model,message:d});return}if(M(d),R(void 0),t==="manage")k()})();return}cu(o)},onCancel:()=>{if(t==="first-run"){Lt("Provider setup skipped");return}k()},visibleOptionCount:Math.min(13,h.length)})]})}function eu(){return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Anthropic — choose authentication"}),u(i,{dimColor:!0,children:"Sign in with your Anthropic account in the browser, or paste an API key."}),u(V,{options:[{value:"oauth",label:"Sign in with web (OAuth)",description:"Open a browser, sign in to Claude, and store tokens in ~/.claudin/.credentials.json"},{value:"apiKey",label:"Use API key",description:"Paste an x-api-key value (sk-ant-…)"},{value:"back",label:"Back",description:"Choose a different provider"}],onChange:(n)=>{if(n==="oauth"){C("anthropic-oauth");return}if(n==="apiKey"){C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:3})]})}function du(){let n=(oa(),Du(la)).ConsoleOAuthFlow;return u(g,{flexDirection:"column",gap:1,children:u(n,{mode:"login",onDone:()=>{let h=Tt("anthropic"),o={provider:"anthropic",name:h.name,baseUrl:h.baseUrl,model:h.model},l=ct(o,{makeActive:!0});if(!l){R("OAuth completed, but the Anthropic profile could not be saved."),C("select-preset");return}let d=`Anthropic OAuth configured: ${l.name}`;if(Q(),t==="first-run"){c({action:"saved",activeProfileId:l.id,message:d});return}M(d),R(void 0),k()}})})}function yu(){let n=Et;if(n!=="bedrock"&&n!=="vertex"&&n!=="foundry")return null;let h=fa[n],o=h[rt]??h[0],l=Wt[o.key]??"";function d(s){let _=s.trim();if(_.length===0){R(`${o.label} is required.`);return}let J={...Wt,[o.key]:_};if(kt(J),R(void 0),rt<h.length-1){Ot(rt+1);return}Ot(0),C("form")}return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:`${n==="bedrock"?"AWS Bedrock":n==="vertex"?"Google Vertex AI":"Azure AI Foundry"} setup`}),u(i,{dimColor:!0,children:o.helpText}),y(i,{dimColor:!0,children:["Step ",rt+1," of ",h.length,": ",o.label]}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:Ct.pointer}),u(yt,{value:l,onChange:(s)=>kt((_)=>({..._,[o.key]:s})),onSubmit:d,focus:!0,showCursor:!0,placeholder:`${o.placeholder}${Ct.ellipsis}`,columns:80,cursorOffset:Hc,onChangeCursorOffset:Tc})]}),lt&&u(i,{color:"error",children:lt}),u(i,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function Cu(){return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Custom headers (optional)"}),y(i,{dimColor:!0,children:["Add HTTP headers sent on every request. One header per line as"," ",u(i,{children:"Header: Value"}),". Leave empty to skip."]}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:Ct.pointer}),u(yt,{value:Rn,onChange:Ut,onSubmit:()=>Nt(f),focus:!0,showCursor:!0,placeholder:"X-Header: value",columns:80,multiline:!0,cursorOffset:Wc,onChangeCursorOffset:Uc})]}),lt&&u(i,{color:"error",children:lt}),u(i,{dimColor:!0,children:"Press Enter on a blank line to save. Press Esc to go back."})]})}function bu(){return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:ht?"Edit provider profile":"Create provider profile"}),u(i,{dimColor:!0,children:ot.helpText}),y(i,{dimColor:!0,children:["Provider type:"," ",q==="anthropic"?"Anthropic native API":"OpenAI-compatible API"]}),y(i,{dimColor:!0,children:["Step ",it+1," of ",at.length,": ",ot.label]}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:Ct.pointer}),u(yt,{value:Dc,onChange:(n)=>T((h)=>({...h,[Ft]:n})),onSubmit:iu,focus:!0,showCursor:!0,placeholder:`${ot.placeholder}${Ct.ellipsis}`,mask:Ft==="apiKey"?"*":void 0,columns:80,cursorOffset:Ec,onChangeCursorOffset:B})]}),lt&&u(i,{color:"error",children:lt}),u(i,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function wu(){let n=r.length>0,h=n;return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Provider manager"}),u(i,{dimColor:!0,children:"Active profile controls base URL, model, and API key used by this session."}),fn&&u(i,{children:fn}),u(g,{flexDirection:"column",children:r.length===0?u(i,{dimColor:!0,children:"No provider profiles configured yet."}):r.map((o)=>y(i,{dimColor:!0,children:["- ",o.name,": ",Xa(o,o.id===e)]},o.id))}),u(V,{options:_n,onChange:(o)=>{switch(R(void 0),o){case"add":C("select-preset");break;case"import-legacy":{(async()=>{let l=await An({force:!0});if(pt(Xt()),Q(),l.errors.length>0)R(Ht(l));else M(Ht(l))})();break}case"activate":if(h)C("select-active");break;case"activate-project":if(h)C("select-active-project");break;case"clear-project-override":tu();break;case"edit":if(n)C("select-edit");break;case"delete":if(h)C("select-delete");break;case"logout-codex-oauth":{let l=sn();if(!l.success){R(l.warning??"Could not clear Codex OAuth credentials.");break}_t(!1),gt(void 0);let d=yn(nt(),st),s=null;if(d){let _=wn(d.id);if(!_.removed){R("Codex OAuth credentials were cleared, but the Codex profile could not be removed."),Q();break}qn(),s=_.activeProfileId?mt():null}Q(),M(s?`Codex OAuth logged out. Warning: could not clear startup provider override (${s}).`:"Codex OAuth logged out.");break}default:Lt("Provider manager closed");break}},onCancel:()=>Lt("Provider manager closed"),defaultFocusValue:Pc,visibleOptionCount:_n.length})]})}function Mt(n,h,o){let l=r.map((d)=>{let s=[];if(d.id===e)s.push("active");if(O&&d.id===O)s.push("this project");if(S&&d.id===S)s.push("global default");let _=s.length>0?` (${s.join(", ")})`:"";return{value:d.id,label:`${d.name}${_}`,description:`${d.provider==="anthropic"?"anthropic":"openai-compatible"} · ${d.baseUrl} · ${d.model}`}});if(l.length===0)return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:n}),u(i,{dimColor:!0,children:h}),u(V,{options:[{value:"back",label:"Back",description:"Return to provider manager"}],onChange:()=>k(),onCancel:()=>k(),visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:n}),u(V,{options:l,onChange:o,onCancel:()=>k(),visibleOptionCount:Math.min(10,Math.max(2,l.length))})]})}let G;switch(N){case"select-preset":G=mu();break;case"select-ollama-model":G=hu();break;case"select-openai-model":G=ru();break;case"select-atomic-chat-model":G=au();break;case"codex-oauth":G=u(qa,{onBack:()=>C("select-preset"),onConfigured:async(n,h)=>{let o={provider:"openai",name:Ca,baseUrl:Sc,model:ba,apiKey:""},l=yn(nt(),st),d=l?At(l.id,o):ct(o,{makeActive:!0});if(!d){R("Codex OAuth login finished, but the provider profile could not be saved."),k();return}let s=l&&e!==d.id?Rt(d.id):d;if(!s){R("Codex OAuth login finished, but the provider could not be set as the startup provider."),k();return}h({profileId:d.id});let _=mt(),J=await vt(n);_t(!0),gt(d.id),Q();let $=[J,_?`could not clear startup provider override (${_})`:null].filter((F)=>Boolean(F)),K=Dt({prefix:"Codex OAuth configured",activationWarning:J,warnings:$});if(t==="first-run"){c({action:"saved",activeProfileId:s.id,message:K});return}M(K),R(void 0),k()}});break;case"xai-oauth":G=u(Sa,{onBack:()=>C("select-preset"),onConfigured:async(n,h)=>{let l=ct({provider:"openai",name:wa,baseUrl:gn,model:Oa,apiKey:""},{makeActive:!0});if(!l){R("xAI OAuth login finished, but the provider profile could not be saved."),k();return}try{h({profileId:l.id})}catch(s){R(s instanceof Error?s.message:String(s)),k();return}Q();let d="xAI / Grok configured. Claudin switched to it for this session.";if(t==="first-run"){c({action:"saved",activeProfileId:l.id,message:d});return}M(d),R(void 0),k()}});break;case"github-onboard":G=u(Tn,{onDone:(n)=>{if(n)M(n),R(void 0);Q(),k()},onBack:()=>C("select-preset"),onChangeAPIKey:Q});break;case"anthropic-auth-choice":G=eu();break;case"anthropic-oauth":G=du();break;case"cloud-extras":G=yu();break;case"custom-headers":G=Cu();break;case"form":G=bu();break;case"select-active":G=Mt("Set active provider (Global)","No providers available. Add one first.",(n)=>{vc(n)});break;case"select-active-project":G=Mt("Set active provider (Project)","No providers available. Add one first.",(n)=>{nu(n)});break;case"select-edit":G=Mt("Edit provider","No providers available. Add one first.",(n)=>{uu(n)});break;case"select-delete":G=Mt("Delete provider","No providers available. Add one first.",(n)=>{let h=r.find(($)=>$.id===n),o=h?.provider==="openai"&&h?.extras?.githubToken!==void 0,l=yn(r,st)?.id===n,d=Lc()?.profileId,s=h?.provider==="openai"&&h.baseUrl===gn&&!h.apiKey&&d===n,_=W()?.id===n,J=wn(n);if(!J.removed)R("Could not delete provider.");else{let $=[];if(l){let F=sn();if(!F.success)$.push(F.warning??"could not clear Codex OAuth credentials");else gt(void 0);qn()}if(o){let F=$c();if(!F.success)$.push(F.warning??"could not clear GitHub Copilot token")}if(s){let F=Nc();if(!F.success)$.push(F.warning??"could not clear xAI OAuth credentials")}let K=J.activeProfileId?mt():null;if(K)$.push(`could not clear startup provider override (${K})`);if(Q(),_){let F=W();if(F)wt(),a((U)=>({...U,mainLoopModel:bt(F.model),mainLoopModelForSession:null}));else wt(),a((U)=>({...U,mainLoopModel:null,mainLoopModelForSession:null}))}M($.length>0?`Provider deleted. Warning: ${$.join("; ")}.`:"Provider deleted")}k()});break;case"menu":default:G=wu();break}return y(Fc,{color:"permission",children:[u(Kc,{enabled:kn,onDismiss:(n)=>{pt(Xt()),jc(!1),Q();let h=W();if(n==="migrated"&&t==="first-run"&&h)c({action:"saved",activeProfileId:h.id,activeProviderName:h.name,activeProviderModel:h.model})}}),kn?null:Ic?y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Loading providers..."}),u(i,{dimColor:!0,children:"Reading provider profiles from disk."})]}):xc?y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Activating provider..."}),u(i,{dimColor:!0,children:"Please wait while the provider is being configured."})]}):G]})}var b,at,dn="\x00__manual__",ya,Ca="Codex OAuth",ba="codexplan",wa="xAI / Grok (OAuth)",Oa="grok-4",fa;var Fa=j(()=>{vu();Wn();na();Ln();ca();ha();ma();ic();on();ta();aa();Fn();Zn();ra();Bn();In();ia();ua();da();Kn();mc();kc();fc();ea();Qt();b=Gt(Vt(),1),at=[{key:"name",label:"Provider name",placeholder:"e.g. Ollama Home, OpenAI Work",helpText:"A short label shown in /provider and startup setup."},{key:"baseUrl",label:"Base URL",placeholder:"e.g. http://localhost:11434/v1",helpText:"API base URL used for this provider profile."},{key:"apiKey",label:"API key",placeholder:"Leave empty if your provider does not require one",helpText:"Optional. Press Enter with empty value to skip.",optional:!0},{key:"model",label:"Default model",placeholder:"e.g. llama3.1:8b or glm-4.7; glm-4.7-flash",helpText:'Model name(s) to use. Separate multiple with ";" or ","; first is default.'}],ya=new Set(["anthropic","bedrock","vertex","foundry"]);fa={bedrock:[{key:"awsRegion",label:"AWS region",placeholder:"e.g. us-east-1",helpText:"Region of your Bedrock-enabled AWS account. Credentials are picked up from the AWS SDK chain."}],vertex:[{key:"gcpProject",label:"GCP project ID",placeholder:"e.g. my-project-123456",helpText:"Google Cloud project where Vertex AI is enabled. Credentials are picked up from ADC."},{key:"gcpRegion",label:"GCP region",placeholder:"e.g. us-central1",helpText:"Vertex AI region for the model."}],foundry:[{key:"azureResource",label:"Azure resource",placeholder:"e.g. my-foundry-resource",helpText:"Name of your Azure AI Foundry resource. Credentials are picked up from DefaultAzureCredential."}]}});
50
- export{un as lc,In as mc,Aa as nc,Sh as oc,Fa as pc};
@@ -1,2 +0,0 @@
1
- import{X1 as v,Z1 as D}from"./cli-0.7.1-1188jq4p.mjs";import{_pa as B}from"./cli-0.7.1-f6nk5cs1.mjs";D();var w,z;function N(g,q){w=g,z=q}async function O(g,q,F,G){let H=w??import("./App-0.7.1-qe37xdwh.mjs"),J=z??import("./REPL-0.7.1-a1pdjtms.mjs");w=void 0,z=void 0;let[{App:K},{REPL:M}]=await Promise.all([H,J]);await G(g,v(K,{...q,children:v(M,{...F})}))}
2
- export{N as Sa,O as Ta};
@@ -1,2 +0,0 @@
1
- import{v2 as M,w2 as E}from"./cli-0.7.1-4ft7hrdc.mjs";import{Wca as _,_da as S,bea as p,cda as F,nda as l,qda as L,rda as c}from"./cli-0.7.1-jpemgywy.mjs";import{Fia as Y,Nia as m}from"./cli-0.7.1-mxjp359f.mjs";import{Zpa as B}from"./cli-0.7.1-f6nk5cs1.mjs";function R(J){if(!J)return;let Q=J.trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"");if(!Q||Q.toLowerCase()==="github.com")return;return Q}function b(J){return J?`https://${J}/login/device/code`:g}function v(J){return J?`https://${J}/login/oauth/access_token`:f}function h(J){return J?`https://api.${J}/copilot_internal/v2/token`:G}function H(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||T}function P(J){return new Promise((Q)=>setTimeout(Q,J))}async function r(J){let Q=J?.clientId??H();if(!Q)throw new q("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let Z=J?.fetchImpl??fetch,y=J?.scope?.trim()||C,$=y===C?[y]:[y,C],j="Device code request failed.",z=b(R(J?.domain));for(let V of $){let W=await Z(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Q,scope:V})});if(!W.ok){let w=await W.text().catch(()=>"");j=`Device code request failed: ${W.status} ${w}`;let D=/invalid_scope/i.test(w);if(V!==C&&D)continue;throw new q(j)}let X=await W.json(),N=X.device_code,K=X.user_code,x=X.verification_uri;if(typeof N!=="string"||typeof K!=="string"||typeof x!=="string")throw new q("Malformed device code response from GitHub");return{device_code:N,user_code:K,verification_uri:x,expires_in:typeof X.expires_in==="number"?X.expires_in:900,interval:typeof X.interval==="number"?X.interval:5}}throw new q(j)}async function o(J,Q){let Z=Q?.clientId??H();if(!Z)throw new q("client_id required for polling");let y=Math.max(1,Q?.initialInterval??5),$=Q?.timeoutSeconds??900,j=Q?.fetchImpl??fetch,z=v(R(Q?.domain)),V=Date.now();while((Date.now()-V)/1000<$){let W=await j(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Z,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!W.ok){let K=await W.text().catch(()=>"");throw new q(`Token request failed: ${W.status} ${K}`)}let X=await W.json(),N=X.error;if(N==null){let K=X.access_token;if(typeof K==="string"&&K)return K;throw new q("No access_token in response")}if(N==="authorization_pending"){await P(y*1000);continue}if(N==="slow_down"){y=typeof X.interval==="number"?X.interval:y+5,await P(y*1000);continue}if(N==="expired_token")throw new q("Device code expired. Start the login flow again.");if(N==="access_denied")throw new q("Authorization was denied or cancelled.");throw new q(`GitHub OAuth error: ${N}`)}throw new q("Timed out waiting for authorization.")}async function e(J){await M(J)}async function I(J,Q){let Z=typeof Q==="function"?{fetchImpl:Q}:Q??{},y=Z.fetchImpl??fetch,$=h(R(Z.domain)),j=await y($,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...u}});if(!j.ok){let K=await j.text().catch(()=>"");throw new q(`Copilot token exchange failed: ${j.status} ${K}`)}let z=await j.json(),V=z.token,W=z.expires_at,X=z.refresh_in,N=z.endpoints;if(typeof V!=="string"||typeof W!=="number"||typeof X!=="number"||!N||typeof N!=="object"||typeof N.api!=="string")throw new q("Malformed Copilot token response");return{token:V,expires_at:W,refresh_in:X,endpoints:N}}var T="Iv1.b507a08c87ecfe98",g="https://github.com/login/device/code",f="https://github.com/login/oauth/access_token",G="https://api.github.com/copilot_internal/v2/token",C="read:user",u,q;var O=B(()=>{E();u={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"};q=class q extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function k(){return S()?.transport==="github_copilot"}function d(J){let Q=J.match(/exp=(\d+)/);if(Q){let $=Number(Q[1]);if(!Number.isNaN($))return Date.now()>=$*1000?"expired":"valid"}let Z=J.split(".");if(Z.length===3&&Z.every(($)=>/^[A-Za-z0-9_-]+$/.test($)))try{let $=Z[1].replace(/-/g,"+").replace(/_/g,"/"),j=$+"=".repeat((4-$.length%4)%4),z=Buffer.from(j,"base64").toString("utf8"),V=JSON.parse(z);if(V&&typeof V==="object"&&V.exp)return Date.now()>=V.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function a(){if(Y())return;try{return L().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function WJ(){if(Y())return;try{return(await L().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function yJ(){if(!k())return;if(Y())return;if(a())return}async function zJ(){if(!k())return!1;if(Y())return!1;if(A)return A;return A=(async()=>{try{let Z=L().read()?.githubModels,y=Z?.accessToken?.trim()||"",$=Z?.oauthAccessToken?.trim()||"";if(!y&&!$)return!1;if((y?d(y):"expired")==="valid")return!1;if(!$)return!1;let z=Z?.enterpriseDomain?.trim()||void 0,V=await I($,{domain:z});if(!n(V.token,$,z).success)return!1;let X=_().find((N)=>N.provider==="openai"&&N.extras?.githubToken!==void 0);if(X)F(X.id,{provider:"openai",name:X.name,baseUrl:X.baseUrl,model:X.model,apiKey:V.token,extras:{...X.extras,githubToken:V.token}});return!0}catch{return!1}finally{A=null}})(),A}function n(J,Q,Z){if(Y())return{success:!1,warning:"Bare mode: secure storage is disabled."};let y=J.trim();if(!y)return{success:!1,warning:"Token is empty."};let $=L(),j=$.read()||{},z=j[U],V=Q?.trim(),W={accessToken:y};if(V){if(W.oauthAccessToken=V,Z?.trim())W.enterpriseDomain=Z.trim()}else{if(z?.oauthAccessToken?.trim())W.oauthAccessToken=z.oauthAccessToken.trim();let N=Z?.trim()||z?.enterpriseDomain?.trim();if(N)W.enterpriseDomain=N}let X={...j,[U]:W};return $.update(X)}function jJ(){if(Y())return{success:!0};let J=L(),Z={...J.read()||{}};return delete Z[U],J.update(Z)}var U="githubModels",VJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED",A=null;var s=B(()=>{p();m();c();O();l()});
2
- export{R as U0,r as V0,o as W0,e as X0,I as Y0,O as Z0,U as _0,VJ as $0,a as a1,WJ as b1,yJ as c1,zJ as d1,n as e1,jJ as f1,s as g1};
@@ -1,2 +0,0 @@
1
- import{Zpa as C}from"./cli-0.7.1-f6nk5cs1.mjs";import E from"node:fs";import G from"node:path";import H from"node:os";function A(){if(q!==void 0)return;try{let b=process.env.CLAUDE_FEATURE_FLAGS_FILE||G.join(H.homedir(),".claudin","feature-flags.json"),j=JSON.parse(E.readFileSync(b,"utf-8"));q=j&&typeof j==="object"&&!Array.isArray(j)?j:null}catch{q=null}}function x(b,j){if(A(),q!=null&&Object.hasOwn(q,b))return q[b];if(Object.hasOwn(z,b))return z[b];return j}function O(){return I}function Q(){return!1}function R(){return A(),q||{}}function S(){return{}}function T(){}function U(){}function W(){return}async function Y(b,j){return x(b,j)}function Z(b,j){return x(b,j)}function $(b,j){return x(b,j)}function v(b){return Boolean(x(b,!1))}async function w(b){return!1}async function P(b){return Boolean(x(b,!1))}function B(){}function D(){q=void 0}async function h(){q=void 0}function N(){}function m(){}async function c(b,j){return x(b,j)}function F(b,j){return x(b,j)}var q=void 0,z,I=()=>{},X=async()=>null;var J=C(()=>{z={tengu_sedge_lantern:!0,tengu_passport_quail:!0,tengu_coral_fern:!0,tengu_bramble_lintel:15,tengu_glacier_2xr:!0}});
2
- export{O as mfa,Q as nfa,R as ofa,S as pfa,T as qfa,U as rfa,W as sfa,X as tfa,Y as ufa,Z as vfa,$ as wfa,v as xfa,w as yfa,P as zfa,B as Afa,D as Bfa,h as Cfa,N as Dfa,m as Efa,c as Ffa,F as Gfa,J as Hfa};
@@ -1,21 +0,0 @@
1
- import{AD as V,BD as $,Fq as O,Gq as Z,RP as F,Tj as L,iP as X}from"./cli-0.7.1-k3wrch69.mjs";import{Zpa as Y}from"./cli-0.7.1-f6nk5cs1.mjs";function W(G){let D=[],H=G.matchAll(v);for(let z of H)if(z.index!==void 0)D.push({word:z[0],start:z.index,end:z.index+z[0].length});return D}async function b({question:G,cacheSafeParams:D}){let H=`<system-reminder>This is a side question from the user. You must answer this question directly in a single response.
2
-
3
- IMPORTANT CONTEXT:
4
- - You are a separate, lightweight agent spawned to answer this one question
5
- - The main agent is NOT interrupted - it continues working independently in the background
6
- - You share the conversation context but are a completely separate instance
7
- - Do NOT reference being interrupted or what you were "previously doing" - that framing is incorrect
8
-
9
- CRITICAL CONSTRAINTS:
10
- - You have NO tools available - you cannot read files, run commands, search, or take any actions
11
- - This is a one-off response - there will be no follow-up turns
12
- - You can ONLY provide information based on what you already know from the conversation context
13
- - NEVER say things like "Let me try...", "I'll now...", "Let me check...", or promise to take any action
14
- - If you don't know the answer, say so - do not offer to look it up or investigate
15
-
16
- Simply answer the question with the information you have.</system-reminder>
17
-
18
- ${G}`,z=await V({promptMessages:[X({content:H})],cacheSafeParams:D,canUseTool:async()=>({behavior:"deny",message:"Side questions cannot use tools",decisionReason:{type:"other",reason:"side_question"}}),querySource:"side_question",forkLabel:"side_question",maxTurns:1,skipCacheWrite:!0});return{response:y(z.messages),usage:z.totalUsage}}function y(G){let D=G.flatMap((z)=>z.type==="assistant"?z.message.content:[]);if(D.length>0){let z=L(D,`
19
-
20
- `).trim();if(z)return z;let J=D.find((K)=>K.type==="tool_use");if(J)return`(The model tried to call ${"name"in J?J.name:"a tool"} instead of answering directly. Try rephrasing or ask in the main conversation.)`}let H=G.find((z)=>z.type==="system"&&("subtype"in z)&&z.subtype==="api_error");if(H)return`(API error: ${O(H.error)})`;return null}var v;var C=Y(()=>{Z();$();F();v=/^\/btw\b/gi});
21
- export{W as Ah,b as Bh,C as Ch};
@@ -1,2 +0,0 @@
1
- import{Zpa as J}from"./cli-0.7.1-f6nk5cs1.mjs";import v from"node:path";function Z(q){if(q.endsWith(v.sep)||q.endsWith("/"))return K;let j=v.basename(q).toLowerCase();if(j.startsWith("readme"))return B[".md"];if(j.startsWith(".env"))return Q;let z=U[j];if(z)return z;let H=v.extname(j);return B[H]??P}var K="",Y="",P="",Q="",U,B;var V=J(()=>{U={"package.json":"",dockerfile:"",".dockerignore":"",".gitignore":"",".gitattributes":"",license:"","bun.lock":""},B={".ts":"",".tsx":"",".js":"",".jsx":"",".mjs":"",".cjs":"",".json":"",".md":"",".markdown":"",".toml":"",".yaml":"",".yml":"",".py":"",".rs":"",".go":"",".sh":"",".bash":"",".zsh":"",".css":"",".scss":"",".html":"",".htm":"",".png":"",".jpg":"",".jpeg":"",".gif":"",".svg":"",".webp":"",".lock":""}});
2
- export{K as uh,Y as vh,Z as wh,V as xh};
@@ -1,6 +0,0 @@
1
- import{uh as e,vh as qq,wh as Jq,xh as _q}from"./cli-0.7.1-bvd99qhf.mjs";import{yh as Zq,zh as Pq}from"./cli-0.7.1-yhn13w5s.mjs";import{Eu as j,Fu as y,Ju as x}from"./cli-0.7.1-k3wrch69.mjs";import{RZ as Iq,kZ as F,mZ as K}from"./cli-0.7.1-vc1w3czg.mjs";import{X1 as Y,Y1 as L,Z1 as Qq}from"./cli-0.7.1-1188jq4p.mjs";import{_1 as m}from"./cli-0.7.1-a4zjaz57.mjs";import{Oaa as r,V8 as w,Waa as Vq,X8 as h,c9 as f,f8 as I,g8 as t,u9 as Uq}from"./cli-0.7.1-jpemgywy.mjs";import{Dea as Xq,Eea as Mq,Sea as Eq}from"./cli-0.7.1-ebdykdv4.mjs";import{Vpa as R,Zpa as D}from"./cli-0.7.1-f6nk5cs1.mjs";function p(q,J){let{perFileStats:$}=q,z=[];for(let[Q,Z]of $){let A=J.get(Q),M=Z.isUntracked??!1,U=!Z.isBinary&&!M&&!A&&!Z.renamedFrom,H=Z.added+Z.removed,V=!U&&!Z.isBinary&&H>Kq;z.push({path:Q,linesAdded:Z.added,linesRemoved:Z.removed,isBinary:Z.isBinary,isLargeFile:U,isTruncated:V,isUntracked:M,...Z.renamedFrom?{renamedFrom:Z.renamedFrom}:{}})}return z.sort((Q,Z)=>Q.path.localeCompare(Z.path)),z}var b,Kq=400;var u=D(()=>{x();b=R(m(),1)});import{basename as S}from"path";function wq(q,J){let[$,z]=O.useState([]),[Q,Z]=O.useState([]),[A,M]=O.useState(!0),[U,H]=O.useState(0),V=q.join(`
2
- `),X=J.join(`
3
- `);O.useEffect(()=>{let v=!1;M(!0);async function G(){let N=V?V.split(`
4
- `):[],_=X?X.split(`
5
- `):[],E=(await Promise.all(_.map((B)=>h(B)))).flat(),P=w(E).filter((B)=>!N.includes(B)).sort((B,C)=>S(B).localeCompare(S(C))),k=w([...N,...P]),Yq=await Promise.all(k.map(async(B)=>{let[C,g,Aq]=await Promise.all([j(B),y(B),f(B)]);return{root:B,name:S(B),branch:Aq,files:C?p(C,g):[],hunks:g}}));if(!v)z(Yq),Z(k),M(!1)}return G().catch(()=>{if(!v)z([]),Z([]),M(!1)}),()=>{v=!0}},[V,X,U]);let W=O.useCallback(()=>H((v)=>v+1),[]);return{groups:$,roots:Q,loading:A,refresh:W}}var O;var Hq=D(()=>{Uq();x();u();O=R(m(),1)});import{basename as c}from"path";function n(q,J,$){if(q===0)return"";return J.join("")+($?vq:a)}function d(q){return{name:q,dirs:new Map,files:[]}}function Gq(q){let J=d("");for(let $ of q){let z=$.path.split("/");z.pop();let Q=J;for(let Z of z){let A=Q.dirs.get(Z);if(!A)A=d(Z),Q.dirs.set(Z,A);Q=A}Q.files.push($)}return J}function l(q,J,$,z,Q,Z,A,M){let U=[...q.dirs.values()].sort((X,W)=>X.name.localeCompare(W.name)),H=[...q.files].sort((X,W)=>c(X.path).localeCompare(c(W.path))),V=H.length>0;for(let X=0;X<U.length;X++){let W=U[X],v=W.name,G=J?`${J}/${W.name}`:W.name;while(W.files.length===0&&W.dirs.size===1){let P=W.dirs.values().next().value;v=`${v}/${P.name}`,G=`${G}/${P.name}`,W=P}let N=X===U.length-1&&!V,_=`${Q}\x00${G}`,E=z.has(_);if(A.push({kind:"dir",key:_,label:v,depth:$,collapsed:E,guides:n($,M,N)}),!E){let P=$>=1?[...M,N?Bq:a]:M;l(W,G,$+1,z,Q,Z,A,P)}}for(let X=0;X<H.length;X++){let W=H[X],v=X===H.length-1;A.push({kind:"file",file:W,root:Q,hunks:Z(W.path),depth:$,guides:n($,M,v)})}}function Nq(q,J){let $=[],z=q.length>1,Q=0;for(let Z of q){let A=z?1:0;if(z){let M=J.has(Z.root);if($.push({kind:"group",key:Z.root,name:Z.name,meta:`${Z.files.length} ${r(Z.files.length,"file")} changed`,branch:Z.branch,repoIndex:Q++,collapsed:M,depth:0}),M)continue}l(Gq(Z.files),"",A,J,Z.root,(M)=>Z.hunks.get(M)??[],$,[])}return $}var a="│ ",vq="└ ",Bq=" ";var i=D(()=>{Vq()});function hq(q){let J=0;for(let $=0;$<q.length;$++)J=Math.imul(J,31)+q.charCodeAt($)|0;return T[Math.abs(J)%T.length]}function o(q){let J=T.length;return T[(q%J+J)%J]}var T;var s=D(()=>{T=["cyan_FOR_SUBAGENTS_ONLY","green_FOR_SUBAGENTS_ONLY","yellow_FOR_SUBAGENTS_ONLY","purple_FOR_SUBAGENTS_ONLY","orange_FOR_SUBAGENTS_ONLY","pink_FOR_SUBAGENTS_ONLY","blue_FOR_SUBAGENTS_ONLY","red_FOR_SUBAGENTS_ONLY"]});function $q(){let q=Zq();return{enabled:q,fileIcon:(J)=>q?Jq(J):"",folderIcon:(J)=>q?J?qq:e:"",repoIcon:q?Oq:"",branchIcon:q?Fq:"",pointer:I.pointer}}var Oq="",Fq="";var zq=D(()=>{t();_q();Pq()});import{basename as Lq}from"path";function Dq(q,J,$){if(q<=$)return{start:0,end:q};let z=Math.max(0,J-Math.floor($/2)),Q=z+$;if(Q>q)Q=q,z=Math.max(0,Q-$);return{start:z,end:Q}}function JJ(q){return q.flatMap((J)=>J.files)}function ZJ({rows:q,selectedIndex:J,maxVisible:$,width:z,statusByPath:Q,alignFiles:Z}){let A=Wq.useMemo($q,[]),M=q.length;if(M===0)return Y(K,{dimColor:!0,children:"No changed files"});let{start:U,end:H}=Dq(M,J,$),V=[];for(let X=U;X<H;X++){let W=q[X];V.push(Y(kq,{row:W,isSelected:X===J,width:z,glyphs:A,alignFiles:Z,statusColor:W.kind==="file"?Q?.get(W.file.path):void 0},X))}return L(F,{flexDirection:"column",children:[U>0&&Y(K,{dimColor:!0,children:` ↑ ${U} more`}),V,H<M&&Y(K,{dimColor:!0,children:` ↓ ${M-H} more`})]})}function kq({row:q,isSelected:J,width:$,glyphs:z,statusColor:Q,alignFiles:Z}){if(q.kind==="group"){let N=J?`${z.pointer} `:" ",_=q.collapsed?I.triangleRight:I.triangleDown;return L(K,{dimColor:!J,bold:J,children:[`${N}${_} `,z.repoIcon&&Y(K,{color:o(q.repoIndex),dimColor:!1,children:`${z.repoIcon} `}),q.name," ",Y(K,{bold:!0,children:q.meta}),q.branch&&Y(K,{children:` ${z.branchIcon?`${z.branchIcon} `:"· "}${q.branch}`})]})}let A=J?`${z.pointer} `:" ",M=q.guides,U=2+q.depth*2;if(q.kind==="dir"){let N=q.collapsed?I.triangleRight:I.triangleDown,_=z.folderIcon(!q.collapsed),E=_?`${_} `:"",P=Math.max(4,$-U-2-(E?2:0)-1),k=Mq(q.label,P);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),`${N} ${E}${k}`]})}),Y(F,{flexGrow:1})]})}let H=z.fileIcon(q.file.path),V=H?`${H} `:"",X=Z?" ":"",W=q.file.isBinary||q.file.isLargeFile||q.file.renamedFrom?9:0,v=Math.max(4,$-U-X.length-(V?2:0)-W-1),G=Xq(Lq(q.file.path),v);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),X,V,Q&&!J?Y(K,{color:Q,children:G}):G]})}),Y(F,{flexGrow:1}),Y(F,{flexShrink:0,children:Y(Cq,{file:q.file,isSelected:J})})]})}function Cq({file:q,isSelected:J}){if(q.isBinary)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"binary"});if(q.isLargeFile)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"large"});if(q.renamedFrom)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"renamed"});return null}var Wq;var Tq=D(()=>{t();Iq();Eq();s();i();zq();Qq();Wq=R(m(),1)});
6
- export{wq as Rf,Hq as Sf,$q as Tf,zq as Uf,hq as Vf,s as Wf,Nq as Xf,i as Yf,JJ as Zf,ZJ as _f,Tq as $f};
@@ -1,2 +0,0 @@
1
- import{RX as Z,RZ as k,mZ as K}from"./cli-0.7.1-vc1w3czg.mjs";import{Y1 as J,Z1 as H}from"./cli-0.7.1-1188jq4p.mjs";import{f8 as v,g8 as Y}from"./cli-0.7.1-jpemgywy.mjs";import{Vpa as V,Zpa as X}from"./cli-0.7.1-f6nk5cs1.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
2
- export{N as gh,C as hh};
@@ -1,2 +0,0 @@
1
- import{Jn as g,Kn as k,xF as h,zF as I}from"./cli-0.7.1-k3wrch69.mjs";import{RX as S,RZ as _,mZ as s}from"./cli-0.7.1-vc1w3czg.mjs";import{X1 as c,Y1 as m,Z1 as T}from"./cli-0.7.1-1188jq4p.mjs";import{Rca as P,tca as b}from"./cli-0.7.1-jpemgywy.mjs";import{Vpa as D}from"./cli-0.7.1-f6nk5cs1.mjs";_();P();I();k();T();var v=D(S(),1);function E(C){let e=v.c(17),{customApiKeyTruncated:o,onDone:p}=C,r;if(e[0]!==o||e[1]!==p)r=function(R){e:switch(R){case"yes":{b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,approved:[...n.customApiKeyResponses?.approved??[],o]}})),p(!0);break e}case"no":b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,rejected:[...n.customApiKeyResponses?.rejected??[],o]}})),p(!1)}},e[0]=o,e[1]=p,e[2]=r;else r=e[2];let t=r,l;if(e[3]!==t)l=()=>t("no"),e[3]=t,e[4]=l;else l=e[4];let f;if(e[5]===Symbol.for("react.memo_cache_sentinel"))f=c(s,{bold:!0,children:"ANTHROPIC_API_KEY"}),e[5]=f;else f=e[5];let i;if(e[6]!==o)i=m(s,{children:[f,m(s,{children:[": sk-ant-...",o]})]}),e[6]=o,e[7]=i;else i=e[7];let u;if(e[8]===Symbol.for("react.memo_cache_sentinel"))u=c(s,{children:"Do you want to use this API key?"}),e[8]=u;else u=e[8];let y;if(e[9]===Symbol.for("react.memo_cache_sentinel"))y={label:"Yes",value:"yes"},e[9]=y;else y=e[9];let d;if(e[10]===Symbol.for("react.memo_cache_sentinel"))d=[y,{label:m(s,{children:["No (",c(s,{bold:!0,children:"recommended"}),")"]}),value:"no"}],e[10]=d;else d=e[10];let a;if(e[11]!==t)a=c(h,{defaultValue:"no",defaultFocusValue:"no",options:d,onChange:(K)=>t(K),onCancel:()=>t("no")}),e[11]=t,e[12]=a;else a=e[12];let A;if(e[13]!==l||e[14]!==i||e[15]!==a)A=m(g,{title:"Detected a custom API key in your environment",color:"warning",onCancel:l,children:[i,u,a]}),e[13]=l,e[14]=i,e[15]=a,e[16]=A;else A=e[16];return A}
2
- export{E as N};
@@ -1,2 +0,0 @@
1
- import{Hfa as K,wfa as G}from"./cli-0.7.1-bmqpkffh.mjs";import{_fa as j,aga as M,bga as J,cga as N}from"./cli-0.7.1-rt9yw2nh.mjs";M();K();N();var q={poll_interval_ms_not_at_capacity:2000,poll_interval_ms_at_capacity:600000,non_exclusive_heartbeat_interval_ms:0,multisession_poll_interval_ms_not_at_capacity:2000,multisession_poll_interval_ms_partial_capacity:2000,multisession_poll_interval_ms_at_capacity:600000,reclaim_older_than_ms:5000,session_keepalive_interval_v2_ms:120000};var B={message:"must be 0 (disabled) or ≥100ms"},P=J(()=>j.object({poll_interval_ms_not_at_capacity:j.number().int().min(100),poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B),non_exclusive_heartbeat_interval_ms:j.number().int().min(0).default(0),multisession_poll_interval_ms_not_at_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_not_at_capacity),multisession_poll_interval_ms_partial_capacity:j.number().int().min(100).default(q.multisession_poll_interval_ms_partial_capacity),multisession_poll_interval_ms_at_capacity:j.number().int().refine((b)=>b===0||b>=100,B).default(q.multisession_poll_interval_ms_at_capacity),reclaim_older_than_ms:j.number().int().min(1).default(5000),session_keepalive_interval_v2_ms:j.number().int().min(0).default(120000)}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or poll_interval_ms_at_capacity > 0"}).refine((b)=>b.non_exclusive_heartbeat_interval_ms>0||b.multisession_poll_interval_ms_at_capacity>0,{message:"at-capacity liveness requires non_exclusive_heartbeat_interval_ms > 0 or multisession_poll_interval_ms_at_capacity > 0"}));function $(){let b=G("tengu_bridge_poll_interval_config",q,300000),x=P().safeParse(b);return x.success?x.data:q}
2
- export{q as gb,$ as hb};
@@ -1,12 +0,0 @@
1
- import{Bn as E,Cn as Uq,Fn as r,Gn as Xq,Jn as d,Kn as Yq,pE as x,qE as s,rE as C,tE as n,uE as $,wE as Zq,xF as o,zF as Mq}from"./cli-0.7.1-k3wrch69.mjs";import{GZ as a,RX as Jq,RZ as Qq,kZ as N,mZ as U,qZ as V}from"./cli-0.7.1-vc1w3czg.mjs";import{W1 as u,X1 as J,Y1 as X,Z1 as g}from"./cli-0.7.1-1188jq4p.mjs";import{_1 as zq}from"./cli-0.7.1-a4zjaz57.mjs";import{Vga as w,Yga as qq}from"./cli-0.7.1-q4v2wwpa.mjs";import{Vpa as i,Zpa as t}from"./cli-0.7.1-f6nk5cs1.mjs";function Fq(){let z=f.c(9),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=X(U,{children:["An update to our Consumer Terms and Privacy Policy will take effect on"," ",J(U,{bold:!0,children:"October 8, 2025"}),". You can accept the updated terms today."]}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y,Z;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=J(U,{children:"· "}),Z=J(U,{bold:!0,children:"You can help improve Claude "}),z[2]=Y,z[3]=Z;else Y=z[2],Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(N,{paddingLeft:1,children:X(U,{children:[Y,Z,X(U,{children:["— Allow the use of your chats and coding sessions to train and improve Anthropic AI models. Change anytime in your Privacy Settings (",J(V,{url:"https://claude.ai/settings/data-privacy-controls"}),")."]})]})}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=X(N,{flexDirection:"column",children:[F,W,J(N,{paddingLeft:1,children:X(U,{children:[J(U,{children:"· "}),J(U,{bold:!0,children:"Updates to data retention "}),J(U,{children:"— To help us improve our AI models and safety protections, we're extending data retention to 5 years."})]})})]}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[6]=Q;else Q=z[6];let H;if(z[7]===Symbol.for("react.memo_cache_sentinel"))H=J(V,{url:"https://anthropic.com/legal/terms"}),z[7]=H;else H=z[7];let O;if(z[8]===Symbol.for("react.memo_cache_sentinel"))O=X(u,{children:[q,P,X(U,{children:["Learn more (",Q,") or read the updated Consumer Terms (",H,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[8]=O;else O=z[8];return O}function Nq(){let z=f.c(7),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=J(U,{children:"We've updated our Consumer Terms and Privacy Policy."}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Help improve Claude"}),J(U,{children:"Allow the use of your chats and coding sessions to train and improve Anthropic AI models. You can change this anytime in Privacy Settings"}),J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),z[2]=Y;else Y=z[2];let Z;if(z[3]===Symbol.for("react.memo_cache_sentinel"))Z=X(N,{flexDirection:"column",gap:1,children:[F,Y,X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"How this affects data retention"}),J(U,{children:"Turning ON the improve Claude setting extends data retention from 30 days to 5 years. Turning it OFF keeps the default 30-day data retention. Delete data anytime."})]})]}),z[3]=Z;else Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=J(V,{url:"https://anthropic.com/legal/terms"}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=X(u,{children:[q,Z,X(U,{children:["Learn more (",W,") or read the updated Consumer Terms (",P,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[6]=Q;else Q=z[6];return Q}function kq(z){let q=f.c(34),{showIfAlreadyViewed:F,location:Y,onDone:Z}=z,[W,P]=_.useState(null),[Q,H]=_.useState(null),O,R;if(q[0]!==Y||q[1]!==Z||q[2]!==F)O=()=>{(async function(){let[e,c]=await Promise.all([x(),n()]),j=c.success?c.data:null;H(j);let l=$(e,c,F);if(P(l),!l){Z("skip_rendering");return}s(),w("tengu_grove_policy_viewed",{location:Y,dismissable:j?.notice_is_grace_period})})()},R=[F,Y,Z],q[0]=Y,q[1]=Z,q[2]=F,q[3]=O,q[4]=R;else O=q[3],R=q[4];if(_.useEffect(O,R),W===null)return null;if(!W)return null;let K;if(q[5]!==Q?.notice_is_grace_period||q[6]!==Z)K=async function(v){q:switch(v){case"accept_opt_in":{await C(!0),w("tengu_grove_policy_submitted",{state:!0,dismissable:Q?.notice_is_grace_period});break q}case"accept_opt_out":{await C(!1),w("tengu_grove_policy_submitted",{state:!1,dismissable:Q?.notice_is_grace_period});break q}case"defer":{w("tengu_grove_policy_dismissed",{state:!0});break q}case"escape":w("tengu_grove_policy_escaped",{})}Z(v)},q[5]=Q?.notice_is_grace_period,q[6]=Z,q[7]=K;else K=q[7];let A=K,L;if(q[8]!==Q?.domain_excluded)L=Q?.domain_excluded?[{label:"Accept terms · Help improve Claude: OFF (for emails with your domain)",value:"accept_opt_out"}]:[{label:"Accept terms · Help improve Claude: ON",value:"accept_opt_in"},{label:"Accept terms · Help improve Claude: OFF",value:"accept_opt_out"}],q[8]=Q?.domain_excluded,q[9]=L;else L=q[9];let I=L,G;if(q[10]!==Q?.notice_is_grace_period||q[11]!==A)G=function(){if(Q?.notice_is_grace_period){A("defer");return}A("escape")},q[10]=Q?.notice_is_grace_period,q[11]=A,q[12]=G;else G=q[12];let M=G,k;if(q[13]!==Q?.notice_is_grace_period)k=J(N,{flexDirection:"column",gap:1,flexGrow:1,children:Q?.notice_is_grace_period?J(Fq,{}):J(Nq,{})}),q[13]=Q?.notice_is_grace_period,q[14]=k;else k=q[14];let D;if(q[15]===Symbol.for("react.memo_cache_sentinel"))D=J(N,{flexShrink:0,children:J(U,{color:"professionalBlue",children:Wq})}),q[15]=D;else D=q[15];let B;if(q[16]!==k)B=X(N,{flexDirection:"row",children:[k,D]}),q[16]=k,q[17]=B;else B=q[17];let T;if(q[18]===Symbol.for("react.memo_cache_sentinel"))T=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Please select how you'd like to continue"}),J(U,{children:"Your choice takes effect immediately upon confirmation."})]}),q[18]=T;else T=q[18];let b;if(q[19]!==Q?.notice_is_grace_period)b=Q?.notice_is_grace_period?[{label:"Not now",value:"defer"}]:[],q[19]=Q?.notice_is_grace_period,q[20]=b;else b=q[20];let m;if(q[21]!==I||q[22]!==b)m=[...I,...b],q[21]=I,q[22]=b,q[23]=m;else m=q[23];let p;if(q[24]!==A)p=(h)=>A(h),q[24]=A,q[25]=p;else p=q[25];let y;if(q[26]!==M||q[27]!==m||q[28]!==p)y=X(N,{flexDirection:"column",gap:1,children:[T,J(o,{options:m,onChange:p,onCancel:M})]}),q[26]=M,q[27]=m,q[28]=p,q[29]=y;else y=q[29];let S;if(q[30]!==M||q[31]!==y||q[32]!==B)S=X(d,{title:"Updates to Consumer Terms and Policies",color:"professionalBlue",onCancel:M,inputGuide:Oq,children:[B,y]}),q[30]=M,q[31]=y,q[32]=B,q[33]=S;else S=q[33];return S}function Oq(z){return z.pending?X(U,{children:["Press ",z.keyName," again to exit"]}):X(r,{children:[J(E,{shortcut:"Enter",action:"confirm"}),J(E,{shortcut:"Esc",action:"cancel"})]})}function _q(z){let q=f.c(17),{settings:F,domainExcluded:Y,onDone:Z}=z,[W,P]=_.useState(F.grove_enabled),Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q=[],q[0]=Q;else Q=q[0];_.default.useEffect(Pq,Q);let H;if(q[1]!==Y||q[2]!==W)H=async(M,k)=>{if(!Y&&(k.tab||k.return||M===" ")){let D=!W;P(D),await C(D)}},q[1]=Y,q[2]=W,q[3]=H;else H=q[3];a(H);let O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=J(U,{color:"error",children:"false"}),q[4]=O;else O=q[4];let R=O;if(Y){let M;if(q[5]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"error",children:"false (for emails with your domain)"}),q[5]=M;else M=q[5];R=M}else if(W){let M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"success",children:"true"}),q[6]=M;else M=q[6];R=M}let K;if(q[7]!==Y)K=(M)=>M.pending?X(U,{children:["Press ",M.keyName," again to exit"]}):Y?J(E,{shortcut:"Esc",action:"cancel"}):X(r,{children:[J(E,{shortcut:"Enter/Tab/Space",action:"toggle"}),J(E,{shortcut:"Esc",action:"cancel"})]}),q[7]=Y,q[8]=K;else K=q[8];let A;if(q[9]===Symbol.for("react.memo_cache_sentinel"))A=X(U,{children:["Review and manage your privacy settings at"," ",J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),q[9]=A;else A=q[9];let L;if(q[10]===Symbol.for("react.memo_cache_sentinel"))L=J(N,{width:44,children:J(U,{bold:!0,children:"Help improve Claude"})}),q[10]=L;else L=q[10];let I;if(q[11]!==R)I=X(N,{children:[L,J(N,{children:R})]}),q[11]=R,q[12]=I;else I=q[12];let G;if(q[13]!==Z||q[14]!==K||q[15]!==I)G=X(d,{title:"Data Privacy",color:"professionalBlue",onCancel:Z,inputGuide:K,children:[A,I]}),q[13]=Z,q[14]=K,q[15]=I,q[16]=G;else G=q[16];return G}function Pq(){w("tengu_grove_privacy_settings_viewed",{})}var f,_,Wq=` _____________
2
- | \\ \\
3
- | NEW TERMS \\__\\
4
- | |
5
- | ---------- |
6
- | ---------- |
7
- | ---------- |
8
- | ---------- |
9
- | ---------- |
10
- | |
11
- |______________|`;var Aq=t(()=>{qq();Qq();Zq();Mq();Xq();Yq();Uq();g();f=i(Jq(),1),_=i(zq(),1)});
12
- export{kq as ic,_q as jc,Aq as kc};
@@ -1,8 +0,0 @@
1
- import{Ra as b}from"./cli-0.7.1-fs00krs3.mjs";import{$e as zK,ef as dK}from"./cli-0.7.1-1ts20eyt.mjs";import{AK as pK,Am as rz,BS as j,Cm as bK,DS as uK,Do as M,Eo as vK,Ew as xK,Go as iz,Ko as SK,PK as ez,RK as cK,_N as Ez,gJ as wz,hO as FK,mA as oz,oA as sz,oJ as MK,pA as fK,qI as hK,rI as mK,xw as Cz,zK as tz}from"./cli-0.7.1-k3wrch69.mjs";import{EX as AK,FX as Qz,GX as GK,zX as Kz}from"./cli-0.7.1-vc1w3czg.mjs";import{E4 as Uz,E6 as xz,F4 as lz,L4 as Dz,P2 as U,Q4 as I,S4 as _z,U2 as O,X4 as k,g5 as nz,k5 as jK,q6 as Tz,s6 as Mz,u6 as R}from"./cli-0.7.1-0qwnf6wz.mjs";import{$6 as _K,_6 as G}from"./cli-0.7.1-2q24e8yf.mjs";import{Aba as Jz,Cca as Wz,Dca as Bz,E_ as t,Eca as az,Gba as _,J_ as LK,P_ as e,Q8 as $z,Rca as L,S8 as TK,T_ as UK,Z8 as cz,__ as zz,a$ as DK,k8 as Zz,l8 as RK,n9 as dz,nca as gz,nea as V,rba as q,s8 as T,tba as H,tca as $,u8 as CK,u9 as EK,vba as uz,vea as A,wba as S,wca as W,xba as kz}from"./cli-0.7.1-jpemgywy.mjs";import{Xea as E,afa as kK}from"./cli-0.7.1-ebdykdv4.mjs";import{fga as pz,gga as PK}from"./cli-0.7.1-zswdgbrk.mjs";import{Vga as Z,Yga as N}from"./cli-0.7.1-q4v2wwpa.mjs";import{Eha as r,Gha as WK,Hha as i,Kha as o,Oha as BK}from"./cli-0.7.1-7vnqyd9e.mjs";import{eia as s,fia as NK}from"./cli-0.7.1-qydxc982.mjs";import{qia as y,sia as n,xia as VK}from"./cli-0.7.1-6d8y1qn4.mjs";import{Cia as C,Dia as v,Fia as hz,Lia as mz,Nia as yK}from"./cli-0.7.1-mxjp359f.mjs";import{Cla as Iz,Dla as bz,Ela as Oz,Gla as vz,Qma as l,ema as Sz,ika as F,mka as JK,ooa as w,qma as fz,xma as a}from"./cli-0.7.1-356bj7gh.mjs";import{Wpa as wK}from"./cli-0.7.1-f6nk5cs1.mjs";_K();AK();w();DK();VK();BK();LK();A();NK();UK();JK();WK();GK();import{readFileSync as IK}from"node:fs";var OK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function ZQ(){let z=zz()?OK:g,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&g.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function $Q(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function qQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function Xz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!t(z))process.stderr.write(G.red(`Error: Invalid JSON provided to --settings
2
- `)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),r(X,z,"utf8")}else{let{resolvedPath:Y}=i(o(),K);try{IK(Y,"utf8")}catch(J){if(n(J))process.stderr.write(G.red(`Error: Settings file not found: ${Y}
3
- `)),process.exit(1);throw J}X=Y}a(X),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing settings: ${y(z)}
4
- `)),process.exit(1)}}function Yz(K){try{let z=e(K);l(z),F()}catch(z){if(z instanceof Error)V(z);process.stderr.write(G.red(`Error processing --setting-sources: ${y(z)}
5
- `)),process.exit(1)}}async function HQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(J)=>{Q+=J};process.stdin.on("data",X);let Y=await s(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
6
- `);return[K,Q].filter(Boolean).join(`
7
- `)}return K}kK();uK();N();bK();L();jK();CK();yK();EK();RK();TK();async function qz(){if(!await $z("gh"))return"not_installed";let{exitCode:z}=await Zz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}A();k();pK();SK();cK();N();L();A();_();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=q("userSettings")||{};H("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("tengu_migrate_autoupdates_to_settings",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",$((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("tengu_migrate_autoupdates_error",{has_error:!0})}}N();L();A();_();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())H("userSettings",{skipDangerousModePermissionPrompt:!0});Z("tengu_migrate_bypass_permissions_accepted",{}),$((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){V(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}N();L();A();_();function Nz(){let K=Wz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=q("localSettings")||{},J={},B=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,B.push("enableAllProjectMcpServers");else if(z)B.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let D=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...D,...K.enabledMcpjsonServers])],B.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let D=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...D,...K.disabledMcpjsonServers])],B.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)H("localSettings",J);if(B.includes("enableAllProjectMcpServers")||B.includes("enabledMcpjsonServers")||B.includes("disabledMcpjsonServers"))Bz((D)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:h,disabledMcpjsonServers:m,...x}=D;return x});Z("tengu_migrate_mcp_approval_fields_success",{migratedCount:B.length})}catch(Y){V(Y),Z("tengu_migrate_mcp_approval_fields_error",{})}}N();L();k();O();_();function Lz(){if(U()!=="firstParty")return;if(!_z())return;let K=q("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;H("userSettings",{model:"opus"}),$((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("tengu_legacy_opus_migration",{from_model:K})}N();k();_();function Az(){if(!Dz())return;if(q("userSettings")?.model!=="opus")return;let z="opus[1m]",Q=I(z)===I(Uz())?void 0:z;H("userSettings",{model:Q}),Z("tengu_opus_to_opus1m_migration",{})}L();function Gz(){$((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}w();L();O();_();function Rz(){if(U()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(q("userSettings")?.model==="sonnet[1m]")H("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Iz()==="sonnet[1m]")Oz("sonnet-4-5-20250929[1m]");$((X)=>({...X,sonnet1m45MigrationComplete:!0}))}N();xz();L();O();_();function Fz(){if(U()!=="firstParty")return;if(!R()&&!Tz()&&!Mz())return;let K=q("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if(H("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)$((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("tengu_sonnet45_to_46_migration",{from_model:K,has_1m:z})}N();L();A();MK();_();function yz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(wz()!=="enabled")return;try{let z=q("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")H("userSettings",{skipAutoPermissionPrompt:void 0}),Z("tengu_migrate_reset_auto_opt_in_for_default_offer",{});$((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}N();xz();L();O();_();function Pz(){if(W().opusProMigrationComplete)return;if(U()!=="firstParty"||!R()){$((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!0});return}if(kz()?.model===void 0){let X=Date.now();$((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!1})}else $((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!0})}dK();vK();w();PK();_();FK();N();xK();async function jz(K,z){let Q=await Ez(K),X=Cz(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("tengu_skill_loaded",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}fK();function nX(){try{let K=q("policySettings");if(K){let z=uz(K);Z("tengu_managed_settings_loaded",{keyCount:z.length,keys:z.join(",")})}}catch{}}function rX(){let K=I(bz()??lz());jz(pz(),nz(K,vz())),ez().then(({enabled:z,errors:Q})=>{let X=tz();oz(z,X,iz()),sz(Q,X)}).catch((z)=>V(z))}function gK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDE_CODE_CLIENT_CERT)K.has_client_cert=!0;if(C("--use-system-ca"))K.has_use_system_ca=!0;if(C("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function iX(){if(rz())return;let[K,z,Q]=await Promise.all([cz(),dz(),qz()]);Z("tengu_startup_telemetry",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:M.isSandboxingEnabled(),are_unsandboxed_commands_allowed:M.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:M.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:az(),prefers_reduced_motion:S().prefersReducedMotion??!1,...gK()})}var P=11;function oX(){if(W().migrationVersion!==P)Hz(),Vz(),Nz(),Pz(),Rz(),Lz(),Fz(),Az(),Gz(),yz(),$((K)=>K.migrationVersion===P?K:{...K,migrationVersion:P});zK().catch(()=>{})}function sX(){if(Sz()){T("info","prefetch_system_context_non_interactive"),j();return}if(gz())T("info","prefetch_system_context_has_trust"),j();else T("info","prefetch_system_context_skipped_no_trust")}function tX(){E("eagerLoadSettings_start");let K=b("--settings");if(K)Xz(K);let z=b("--setting-sources");if(z!==void 0)Yz(z);E("eagerLoadSettings_end")}function eX(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(v(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function zY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktreeEnabled:x,skipWebFetchPreflight:KK,githubActionInputs:p,dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,allowDangerouslySkipPermissionsPassed:ZK,systemPromptFlag:c,appendSystemPromptFlag:d,thinkingConfig:$K,assistantActivationPath:u,isCoordinator:qK}){try{Z("tengu_init",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:B,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktree:x,skipWebFetchPreflight:KK,...p&&{githubActionInputs:p},dangerouslySkipPermissionsPassed:QK,permissionMode:XK,modeIsBypass:YK,inProtectedNamespace:mz(),allowDangerouslySkipPermissionsPassed:ZK,thinkingType:$K.type,...c&&{systemPromptFlag:c},...d&&{appendSystemPromptFlag:d},is_simple:hz()||void 0,is_coordinator:qK||void 0,...u&&{assistantActivationPath:u},autoUpdatesChannel:S().autoUpdatesChannel??"latest"})}catch(HK){V(HK)}}function KY(K){}function QY(K){return}
8
- export{ZQ as x,$Q as y,qQ as z,HQ as A,nX as B,rX as C,iX as D,oX as E,sX as F,tX as G,eX as H,zY as I,KY as J,QY as K};
@@ -1,2 +0,0 @@
1
- import{Jn as y,Kn as p,xF as O,zF as j}from"./cli-0.7.1-k3wrch69.mjs";import{RX as S,RZ as v,kZ as F,mZ as I,qZ as R}from"./cli-0.7.1-vc1w3czg.mjs";import{X1 as Z,Y1 as N,Z1 as U}from"./cli-0.7.1-1188jq4p.mjs";import{_1 as d}from"./cli-0.7.1-a4zjaz57.mjs";import{Gba as E,tba as M}from"./cli-0.7.1-jpemgywy.mjs";import{Vga as H,Yga as b}from"./cli-0.7.1-q4v2wwpa.mjs";import{Vpa as k}from"./cli-0.7.1-f6nk5cs1.mjs";b();v();E();j();p();U();var T=k(S(),1),h=k(d(),1),x="Auto mode lets Claudin handle permission prompts automatically — Claudin checks each tool call for risky actions and prompt injection before executing. Actions Claudin identifies as safe are executed, while actions Claudin identifies as risky are blocked and Claudin may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claudin can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";function l(A){let f=T.c(18),{onAccept:J,onDecline:q,declineExits:C}=A,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];h.default.useEffect(_,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(m){f:switch(m){case"accept":{H("tengu_auto_mode_opt_in_dialog_accept",{}),M("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("tengu_auto_mode_opt_in_dialog_accept_default",{}),M("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("tengu_auto_mode_opt_in_dialog_decline",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let B=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=N(F,{flexDirection:"column",gap:1,children:[Z(I,{children:x}),Z(R,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let L=C?"No, exit":"No, go back",w;if(f[7]!==L)w=[...W,X,{label:L,value:"decline"}],f[7]=L,f[8]=w;else w=f[8];let z;if(f[9]!==B)z=(P)=>B(P),f[9]=B,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(O,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=N(y,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function _(){H("tengu_auto_mode_opt_in_dialog_shown",{})}
2
- export{x as Ja,l as Ka};