@claudiolabs/claudin 1.1.16 → 1.1.18

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 (915) hide show
  1. package/dist/chunks/AgentTool-1.1.18-8r539yq1.mjs +1 -0
  2. package/dist/chunks/App-1.1.18-9qegazdp.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.18-75srd2ah.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.18-8s0prsvd.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.18-8908as3d.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.18-hzr5qznb.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.18-11b01q4g.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.18-gdmxhc4c.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.18-0ve87kmt.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.18-bm9y9hp0.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.18-s5gycf8y.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.18-ck22r980.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.18-k4rxj60y.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.18-7jtsdcvz.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.18-79c4xptb.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.18-at9smz0c.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.18-fmn6pds0.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.18-ethctbw9.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.18-7jny2tma.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.18-4tt9s4sx.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.18-9y6kadd2.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.18-0zp920qr.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.18-ywhxqdw4.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.18-cfmzwnnw.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.18-7czxxmxn.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.18-q46q6gnr.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.18-0s9sbdx0.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.18-2v7nqdda.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.18-5tbxn6cp.mjs +1 -0
  30. package/dist/chunks/agents-1.1.18-1zj1bttk.mjs +110 -0
  31. package/dist/chunks/agents-1.1.18-n28gzp6b.mjs +3 -0
  32. package/dist/chunks/api-1.1.18-kb26phxt.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.18-q0418p4r.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.18-ky0pcnme.mjs +1 -0
  35. package/dist/chunks/auth-1.1.18-4de9sj97.mjs +1 -0
  36. package/dist/chunks/auth-1.1.18-6yqhszf3.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.18-63jx6p2w.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.18-bk6w4529.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.18-bg5z208x.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.18-3m48d47f.mjs +1 -0
  41. package/dist/chunks/branch-1.1.18-sgfz4w61.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.18-ewtwajff.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.18-6aeg22kg.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.18-2ybc4ee8.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.18-pt5dztgy.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.18-w72zdv7w.mjs +1 -0
  47. package/dist/chunks/btw-1.1.18-w43t3mem.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.18-zfhza9df.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.18-ap6m4e42.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.18-gcvx2d6q.mjs +4 -0
  51. package/dist/chunks/caches-1.1.18-warrda1f.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.18-v3ghw0k9.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.18-b6tnjsjw.mjs +1 -0
  54. package/dist/chunks/clear-1.1.18-8abstaz1.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.18-wgv6q897.mjs +1 -0
  56. package/dist/chunks/cli-1.1.18-018bk764.mjs +2 -0
  57. package/dist/chunks/cli-1.1.18-049a81dd.mjs +25 -0
  58. package/dist/chunks/cli-1.1.18-0aakxjsk.mjs +2 -0
  59. package/dist/chunks/cli-1.1.18-0h118vrj.mjs +2 -0
  60. package/dist/chunks/cli-1.1.18-0tg14dph.mjs +2 -0
  61. package/dist/chunks/cli-1.1.18-0xknnw9q.mjs +2 -0
  62. package/dist/chunks/cli-1.1.18-0y6qt71a.mjs +2 -0
  63. package/dist/chunks/cli-1.1.18-0yhfm17h.mjs +2 -0
  64. package/dist/chunks/cli-1.1.18-0z5526z3.mjs +4 -0
  65. package/dist/chunks/cli-1.1.18-12tzkcxz.mjs +2 -0
  66. package/dist/chunks/cli-1.1.18-18rbpjbc.mjs +2 -0
  67. package/dist/chunks/cli-1.1.18-1c8pr80a.mjs +2 -0
  68. package/dist/chunks/cli-1.1.18-1spz0azv.mjs +3 -0
  69. package/dist/chunks/cli-1.1.18-1t3rb5a8.mjs +2 -0
  70. package/dist/chunks/cli-1.1.18-251zfmjp.mjs +5 -0
  71. package/dist/chunks/cli-1.1.18-27b82jjj.mjs +3 -0
  72. package/dist/chunks/cli-1.1.18-2ach0t0d.mjs +7 -0
  73. package/dist/chunks/cli-1.1.18-2gvrr93b.mjs +2 -0
  74. package/dist/chunks/cli-1.1.18-2k96kgmz.mjs +2 -0
  75. package/dist/chunks/cli-1.1.18-2qvvz2tv.mjs +2 -0
  76. package/dist/chunks/cli-1.1.18-2vdwwm5f.mjs +3 -0
  77. package/dist/chunks/cli-1.1.18-2w9274tq.mjs +59 -0
  78. package/dist/chunks/cli-1.1.18-2wsf8n3w.mjs +3 -0
  79. package/dist/chunks/cli-1.1.18-3b5j4jfq.mjs +2 -0
  80. package/dist/chunks/cli-1.1.18-3pn5knk8.mjs +2 -0
  81. package/dist/chunks/cli-1.1.18-3rm83ba2.mjs +2 -0
  82. package/dist/chunks/cli-1.1.18-3rxhxwbk.mjs +4 -0
  83. package/dist/chunks/cli-1.1.18-3s03nva1.mjs +2 -0
  84. package/dist/chunks/cli-1.1.18-3w57qes2.mjs +2 -0
  85. package/dist/chunks/cli-1.1.18-3y4pftxb.mjs +206 -0
  86. package/dist/chunks/cli-1.1.18-3z65nz4z.mjs +2 -0
  87. package/dist/chunks/cli-1.1.18-417wb57s.mjs +2 -0
  88. package/dist/chunks/cli-1.1.18-462kn9pt.mjs +2 -0
  89. package/dist/chunks/cli-1.1.18-4c3jqppx.mjs +2 -0
  90. package/dist/chunks/cli-1.1.18-4f2ncqzp.mjs +45 -0
  91. package/dist/chunks/cli-1.1.18-4h2r40da.mjs +2 -0
  92. package/dist/chunks/cli-1.1.18-4j0hy93x.mjs +3 -0
  93. package/dist/chunks/cli-1.1.18-4jy396p1.mjs +6 -0
  94. package/dist/chunks/cli-1.1.18-553zzrge.mjs +2 -0
  95. package/dist/chunks/cli-1.1.18-56vce0gb.mjs +2 -0
  96. package/dist/chunks/cli-1.1.18-5dw1bb8m.mjs +2 -0
  97. package/dist/chunks/cli-1.1.18-5fhws40c.mjs +2 -0
  98. package/dist/chunks/cli-1.1.18-5mr13yxz.mjs +2 -0
  99. package/dist/chunks/cli-1.1.18-5pa0bk59.mjs +2 -0
  100. package/dist/chunks/cli-1.1.18-5s8f8gd5.mjs +3 -0
  101. package/dist/chunks/cli-1.1.18-6hjdcw80.mjs +2 -0
  102. package/dist/chunks/cli-1.1.18-6nxyz9v3.mjs +2 -0
  103. package/dist/chunks/cli-1.1.18-6w9m5m4s.mjs +2 -0
  104. package/dist/chunks/cli-1.1.18-6wrbe4ft.mjs +4 -0
  105. package/dist/chunks/cli-1.1.18-703emt7y.mjs +16 -0
  106. package/dist/chunks/cli-1.1.18-70jytem3.mjs +2 -0
  107. package/dist/chunks/cli-1.1.18-70ktef72.mjs +2 -0
  108. package/dist/chunks/cli-1.1.18-71zz07m4.mjs +3 -0
  109. package/dist/chunks/cli-1.1.18-7g6xwfbz.mjs +2 -0
  110. package/dist/chunks/cli-1.1.18-7nsrr2k0.mjs +2 -0
  111. package/dist/chunks/cli-1.1.18-7pcfwrhj.mjs +2 -0
  112. package/dist/chunks/cli-1.1.18-7set7d4d.mjs +3 -0
  113. package/dist/chunks/cli-1.1.18-7wccrsx9.mjs +2 -0
  114. package/dist/chunks/cli-1.1.18-7xc4d1d9.mjs +2 -0
  115. package/dist/chunks/cli-1.1.18-86jznh5v.mjs +2 -0
  116. package/dist/chunks/cli-1.1.18-8fpwak2g.mjs +4 -0
  117. package/dist/chunks/cli-1.1.18-8thyc5yy.mjs +2 -0
  118. package/dist/chunks/cli-1.1.18-8vxrthte.mjs +4 -0
  119. package/dist/chunks/cli-1.1.18-8zrm4yfd.mjs +2 -0
  120. package/dist/chunks/cli-1.1.18-948h21gh.mjs +2 -0
  121. package/dist/chunks/cli-1.1.18-99wvb94x.mjs +2 -0
  122. package/dist/chunks/cli-1.1.18-9cpcw7fg.mjs +2 -0
  123. package/dist/chunks/cli-1.1.18-9jkqy8de.mjs +2 -0
  124. package/dist/chunks/cli-1.1.18-9zvacjd0.mjs +2 -0
  125. package/dist/chunks/cli-1.1.18-a888prq4.mjs +6 -0
  126. package/dist/chunks/cli-1.1.18-aek1gddg.mjs +2 -0
  127. package/dist/chunks/cli-1.1.18-af7txyky.mjs +133 -0
  128. package/dist/chunks/cli-1.1.18-aj93qvyc.mjs +3 -0
  129. package/dist/chunks/cli-1.1.18-avas0dtp.mjs +2 -0
  130. package/dist/chunks/cli-1.1.18-avhbxgh1.mjs +2 -0
  131. package/dist/chunks/cli-1.1.18-awvejq1d.mjs +2 -0
  132. package/dist/chunks/cli-1.1.18-b4azpwk0.mjs +18 -0
  133. package/dist/chunks/cli-1.1.18-b5h22srd.mjs +2 -0
  134. package/dist/chunks/cli-1.1.18-bfzft69m.mjs +2 -0
  135. package/dist/chunks/cli-1.1.18-c9h4ga5f.mjs +2 -0
  136. package/dist/chunks/cli-1.1.18-cahfd7zp.mjs +15 -0
  137. package/dist/chunks/cli-1.1.18-ccbh77pf.mjs +2 -0
  138. package/dist/chunks/cli-1.1.18-cd5r9mfb.mjs +2 -0
  139. package/dist/chunks/cli-1.1.18-cj8tr93q.mjs +2 -0
  140. package/dist/chunks/cli-1.1.18-cjkn7t4k.mjs +2 -0
  141. package/dist/chunks/cli-1.1.18-cphcr3xr.mjs +15 -0
  142. package/dist/chunks/cli-1.1.18-cqmjby3t.mjs +24 -0
  143. package/dist/chunks/cli-1.1.18-crpxak5f.mjs +2 -0
  144. package/dist/chunks/cli-1.1.18-cxg522yt.mjs +4 -0
  145. package/dist/chunks/cli-1.1.18-cy0ypdkd.mjs +2 -0
  146. package/dist/chunks/cli-1.1.18-dcrg5hwd.mjs +2 -0
  147. package/dist/chunks/cli-1.1.18-ddreb78e.mjs +2 -0
  148. package/dist/chunks/cli-1.1.18-dq2vate5.mjs +2 -0
  149. package/dist/chunks/cli-1.1.18-dvyh5qzn.mjs +2 -0
  150. package/dist/chunks/cli-1.1.18-dzbn08g2.mjs +2 -0
  151. package/dist/chunks/cli-1.1.18-e107yrwx.mjs +2 -0
  152. package/dist/chunks/cli-1.1.18-e8stczm5.mjs +2 -0
  153. package/dist/chunks/cli-1.1.18-ecds9fxm.mjs +2 -0
  154. package/dist/chunks/cli-1.1.18-ek85fj6n.mjs +2 -0
  155. package/dist/chunks/cli-1.1.18-erjpjwnr.mjs +4 -0
  156. package/dist/chunks/cli-1.1.18-esvp6n4e.mjs +66 -0
  157. package/dist/chunks/cli-1.1.18-ezpyhrzw.mjs +133 -0
  158. package/dist/chunks/cli-1.1.18-f2j32mha.mjs +2 -0
  159. package/dist/chunks/cli-1.1.18-f5ggv7be.mjs +2 -0
  160. package/dist/chunks/cli-1.1.18-f6m259he.mjs +2 -0
  161. package/dist/chunks/cli-1.1.18-f7jag2rr.mjs +2 -0
  162. package/dist/chunks/cli-1.1.18-f8sy5pe3.mjs +3 -0
  163. package/dist/chunks/cli-1.1.18-fh3h37zy.mjs +8 -0
  164. package/dist/chunks/cli-1.1.18-fr4nmsgv.mjs +3 -0
  165. package/dist/chunks/cli-1.1.18-fst0kx9m.mjs +24 -0
  166. package/dist/chunks/cli-1.1.18-gdvh8p4h.mjs +2 -0
  167. package/dist/chunks/cli-1.1.18-gnd39prj.mjs +18 -0
  168. package/dist/chunks/cli-1.1.18-gvzkraze.mjs +2 -0
  169. package/dist/chunks/cli-1.1.18-gz2c86d2.mjs +2 -0
  170. package/dist/chunks/cli-1.1.18-hbv881pn.mjs +2 -0
  171. package/dist/chunks/cli-1.1.18-heh8xz6x.mjs +2 -0
  172. package/dist/chunks/cli-1.1.18-hg5srcxb.mjs +7 -0
  173. package/dist/chunks/cli-1.1.18-hgn94jwm.mjs +2 -0
  174. package/dist/chunks/cli-1.1.18-hjp96a36.mjs +2 -0
  175. package/dist/chunks/cli-1.1.18-hphxdvpd.mjs +17 -0
  176. package/dist/chunks/cli-1.1.18-hsqq1hdd.mjs +9 -0
  177. package/dist/chunks/cli-1.1.18-hvd9yyb4.mjs +2 -0
  178. package/dist/chunks/cli-1.1.18-j1ryg6qv.mjs +2 -0
  179. package/dist/chunks/cli-1.1.18-j372h4fv.mjs +4 -0
  180. package/dist/chunks/cli-1.1.18-j461dthr.mjs +2 -0
  181. package/dist/chunks/cli-1.1.18-j5zh2pdx.mjs +17 -0
  182. package/dist/chunks/cli-1.1.18-jcqz5j7y.mjs +2 -0
  183. package/dist/chunks/cli-1.1.18-jgwwkx62.mjs +58 -0
  184. package/dist/chunks/cli-1.1.18-jjekxppq.mjs +25 -0
  185. package/dist/chunks/cli-1.1.18-jp0phw3q.mjs +2 -0
  186. package/dist/chunks/cli-1.1.18-k05shz35.mjs +2 -0
  187. package/dist/chunks/cli-1.1.18-k11n6026.mjs +3 -0
  188. package/dist/chunks/cli-1.1.18-k1pkc44n.mjs +2 -0
  189. package/dist/chunks/cli-1.1.18-kj7gj6vk.mjs +3 -0
  190. package/dist/chunks/cli-1.1.18-kkr6w2g7.mjs +2 -0
  191. package/dist/chunks/cli-1.1.18-m04wmdz7.mjs +9 -0
  192. package/dist/chunks/cli-1.1.18-mfjtdkn6.mjs +20 -0
  193. package/dist/chunks/cli-1.1.18-mg0s34rf.mjs +2 -0
  194. package/dist/chunks/cli-1.1.18-mg7jmbh9.mjs +2 -0
  195. package/dist/chunks/cli-1.1.18-mhy7qzsz.mjs +21 -0
  196. package/dist/chunks/cli-1.1.18-mm8bkmax.mjs +2 -0
  197. package/dist/chunks/cli-1.1.18-mqwcfz14.mjs +2 -0
  198. package/dist/chunks/cli-1.1.18-mrrbn0jj.mjs +6 -0
  199. package/dist/chunks/cli-1.1.18-mwevzyy2.mjs +2 -0
  200. package/dist/chunks/cli-1.1.18-mycrby1p.mjs +2 -0
  201. package/dist/chunks/cli-1.1.18-mz10pywc.mjs +2 -0
  202. package/dist/chunks/cli-1.1.18-n05vxdaj.mjs +2 -0
  203. package/dist/chunks/cli-1.1.18-n7dkmrv9.mjs +24 -0
  204. package/dist/chunks/cli-1.1.18-ndct9t5e.mjs +4 -0
  205. package/dist/chunks/cli-1.1.18-npdweafk.mjs +6 -0
  206. package/dist/chunks/cli-1.1.18-ns45fmht.mjs +2 -0
  207. package/dist/chunks/cli-1.1.18-p0ey1z9w.mjs +2 -0
  208. package/dist/chunks/cli-1.1.18-p28wy0mz.mjs +2 -0
  209. package/dist/chunks/cli-1.1.18-p3yf1aq6.mjs +42 -0
  210. package/dist/chunks/cli-1.1.18-p5rqk1qq.mjs +2 -0
  211. package/dist/chunks/cli-1.1.18-pbdm30bs.mjs +2 -0
  212. package/dist/chunks/cli-1.1.18-psb6qqc1.mjs +2 -0
  213. package/dist/chunks/cli-1.1.18-pt16bxrm.mjs +2 -0
  214. package/dist/chunks/cli-1.1.18-pzeg2p3k.mjs +2 -0
  215. package/dist/chunks/cli-1.1.18-q7qp6pv5.mjs +2 -0
  216. package/dist/chunks/cli-1.1.18-qfz5keqx.mjs +2 -0
  217. package/dist/chunks/cli-1.1.18-qrz1vgy2.mjs +2 -0
  218. package/dist/chunks/cli-1.1.18-qs28eyy1.mjs +2 -0
  219. package/dist/chunks/cli-1.1.18-qykcs1fr.mjs +4 -0
  220. package/dist/chunks/cli-1.1.18-r50x1ezt.mjs +2 -0
  221. package/dist/chunks/cli-1.1.18-ra67yknr.mjs +6 -0
  222. package/dist/chunks/cli-1.1.18-rbfhhwym.mjs +2 -0
  223. package/dist/chunks/cli-1.1.18-rbkz8pj4.mjs +2 -0
  224. package/dist/chunks/cli-1.1.18-rnqtkprk.mjs +2 -0
  225. package/dist/chunks/cli-1.1.18-rp84hvn4.mjs +2 -0
  226. package/dist/chunks/cli-1.1.18-rykfqnyd.mjs +2 -0
  227. package/dist/chunks/cli-1.1.18-s5nhwqft.mjs +2 -0
  228. package/dist/chunks/cli-1.1.18-sdsvkqmn.mjs +2 -0
  229. package/dist/chunks/cli-1.1.18-sq93n51h.mjs +2 -0
  230. package/dist/chunks/cli-1.1.18-t526ry94.mjs +34 -0
  231. package/dist/chunks/cli-1.1.18-ta6r8qry.mjs +2 -0
  232. package/dist/chunks/cli-1.1.18-tm7nmhz8.mjs +2 -0
  233. package/dist/chunks/cli-1.1.18-ts8ermsd.mjs +2 -0
  234. package/dist/chunks/cli-1.1.18-v42h6ekh.mjs +15 -0
  235. package/dist/chunks/cli-1.1.18-v4gc446r.mjs +2 -0
  236. package/dist/chunks/cli-1.1.18-v5btk93t.mjs +3 -0
  237. package/dist/chunks/cli-1.1.18-v75xqnbv.mjs +2 -0
  238. package/dist/chunks/cli-1.1.18-vgfpa3bs.mjs +5 -0
  239. package/dist/chunks/cli-1.1.18-vnsqk2vn.mjs +2 -0
  240. package/dist/chunks/cli-1.1.18-vx2rxj7b.mjs +2 -0
  241. package/dist/chunks/cli-1.1.18-vymgw42z.mjs +2 -0
  242. package/dist/chunks/cli-1.1.18-vzrv28w4.mjs +24 -0
  243. package/dist/chunks/cli-1.1.18-wp7r00wk.mjs +2 -0
  244. package/dist/chunks/cli-1.1.18-wzpxr762.mjs +50 -0
  245. package/dist/chunks/cli-1.1.18-x0bha3jf.mjs +2 -0
  246. package/dist/chunks/cli-1.1.18-x7jyxff1.mjs +3 -0
  247. package/dist/chunks/cli-1.1.18-x7k6y949.mjs +39 -0
  248. package/dist/chunks/cli-1.1.18-x9wfjwnm.mjs +2 -0
  249. package/dist/chunks/cli-1.1.18-xfb4pete.mjs +5410 -0
  250. package/dist/chunks/cli-1.1.18-xpxkw4js.mjs +2 -0
  251. package/dist/chunks/cli-1.1.18-y0eah2b9.mjs +2 -0
  252. package/dist/chunks/cli-1.1.18-y89tqne6.mjs +2 -0
  253. package/dist/chunks/cli-1.1.18-ybazgea3.mjs +1 -0
  254. package/dist/chunks/cli-1.1.18-ybfayy4j.mjs +2 -0
  255. package/dist/chunks/cli-1.1.18-yk1f4vsx.mjs +2 -0
  256. package/dist/chunks/cli-1.1.18-ypcye8ae.mjs +6 -0
  257. package/dist/chunks/cli-1.1.18-ythtynpe.mjs +12 -0
  258. package/dist/chunks/cli-1.1.18-yymp5d28.mjs +12 -0
  259. package/dist/chunks/cli-1.1.18-yysexesh.mjs +2 -0
  260. package/dist/chunks/cli-1.1.18-z2dx0w6b.mjs +2 -0
  261. package/dist/chunks/cli-1.1.18-zd969gzb.mjs +2 -0
  262. package/dist/chunks/cli-1.1.18-zdx4ywwf.mjs +2 -0
  263. package/dist/chunks/cli-1.1.18-zhq044yz.mjs +26 -0
  264. package/dist/chunks/cli-1.1.18-ztyf20j1.mjs +2 -0
  265. package/dist/chunks/client-1.1.18-zdqzxpen.mjs +1 -0
  266. package/dist/chunks/color-1.1.18-qt7znj00.mjs +1 -0
  267. package/dist/chunks/compact-1.1.18-qev191am.mjs +3 -0
  268. package/dist/chunks/config-1.1.18-9kjysdvn.mjs +1 -0
  269. package/dist/chunks/config-1.1.18-am3webex.mjs +1 -0
  270. package/dist/chunks/constants-1.1.18-hdfyvthe.mjs +1 -0
  271. package/dist/chunks/context-1.1.18-ywdzshyf.mjs +1 -0
  272. package/dist/chunks/context-noninteractive-1.1.18-ncf3febd.mjs +1 -0
  273. package/dist/chunks/conversation-1.1.18-h1q8gp2k.mjs +1 -0
  274. package/dist/chunks/copilotHeaders-1.1.18-t0s2718z.mjs +1 -0
  275. package/dist/chunks/copy-1.1.18-66cbtmsa.mjs +9 -0
  276. package/dist/chunks/cost-1.1.18-350gegdk.mjs +1 -0
  277. package/dist/chunks/createSSHSession-1.1.18-vgmc8evp.mjs +1 -0
  278. package/dist/chunks/createSession-1.1.18-0e04rk8g.mjs +1 -0
  279. package/dist/chunks/debug-1.1.18-c4v63z13.mjs +1 -0
  280. package/dist/chunks/defaultActionDeps-1.1.18-jg2xdcgn.mjs +1534 -0
  281. package/dist/chunks/desktop-1.1.18-sghgn08z.mjs +1 -0
  282. package/dist/chunks/detectRepository-1.1.18-m0xvtgqt.mjs +1 -0
  283. package/dist/chunks/detection-1.1.18-d7kpetjp.mjs +1 -0
  284. package/dist/chunks/diff-1.1.18-y9e1gbv0.mjs +1 -0
  285. package/dist/chunks/doctor-1.1.18-me0b6eyh.mjs +1 -0
  286. package/dist/chunks/doctorDiagnostic-1.1.18-d85k2x5j.mjs +1 -0
  287. package/dist/chunks/earlyInput-1.1.18-6jzg1a3e.mjs +1 -0
  288. package/dist/chunks/effort-1.1.18-kzqkmbjd.mjs +13 -0
  289. package/dist/chunks/engine-1.1.18-z5jbth81.mjs +1 -0
  290. package/dist/chunks/envLessBridgeConfig-1.1.18-1cqrnkp2.mjs +1 -0
  291. package/dist/chunks/envUtils-1.1.18-x298f5cb.mjs +1 -0
  292. package/dist/chunks/environmentSelection-1.1.18-6k9hzg6p.mjs +1 -0
  293. package/dist/chunks/environments-1.1.18-r0dv94mx.mjs +1 -0
  294. package/dist/chunks/errors-1.1.18-q6s6h2zs.mjs +1 -0
  295. package/dist/chunks/exampleCommands-1.1.18-0zc9623h.mjs +1 -0
  296. package/dist/chunks/execFileNoThrow-1.1.18-spcbfmbw.mjs +1 -0
  297. package/dist/chunks/exit-1.1.18-zvcsa8gc.mjs +1 -0
  298. package/dist/chunks/explorer-1.1.18-wf8yy5vj.mjs +1 -0
  299. package/dist/chunks/export-1.1.18-qeyf86rn.mjs +2 -0
  300. package/dist/chunks/extra-usage-1.1.18-t0cm4v50.mjs +1 -0
  301. package/dist/chunks/extra-usage-noninteractive-1.1.18-w6zswndv.mjs +1 -0
  302. package/dist/chunks/fast-1.1.18-c6bbr2sj.mjs +1 -0
  303. package/dist/chunks/feedback-1.1.18-8c9j05d9.mjs +14 -0
  304. package/dist/chunks/firstPartyEventLogger-1.1.18-mk3qv1p1.mjs +1 -0
  305. package/dist/chunks/git-1.1.18-716sc7rw.mjs +1 -0
  306. package/dist/chunks/githubModelsCredentials-1.1.18-60dnzg1p.mjs +1 -0
  307. package/dist/chunks/goal-1.1.18-8em4jke5.mjs +4 -0
  308. package/dist/chunks/growthbook-1.1.18-b3tgw6y3.mjs +1 -0
  309. package/dist/chunks/headless-1.1.18-b5szxwsw.mjs +2 -0
  310. package/dist/chunks/heapdump-1.1.18-vjq0hc7v.mjs +6 -0
  311. package/dist/chunks/help-1.1.18-21j0mh6r.mjs +1 -0
  312. package/dist/chunks/hookChains-1.1.18-hptz3v0e.mjs +3 -0
  313. package/dist/chunks/hooks-1.1.18-0zec4dds.mjs +1 -0
  314. package/dist/chunks/hooks-1.1.18-ha1g38hn.mjs +79 -0
  315. package/dist/chunks/ide-1.1.18-rkvs3qqd.mjs +3 -0
  316. package/dist/chunks/image-processor-napi-1.1.18-nakzgnn7.mjs +1 -0
  317. package/dist/chunks/inboundAttachments-1.1.18-qxn6m4rg.mjs +1 -0
  318. package/dist/chunks/index-1.1.18-0ha3tnh6.mjs +1 -0
  319. package/dist/chunks/index-1.1.18-18y0bk36.mjs +1 -0
  320. package/dist/chunks/index-1.1.18-1kzcw8rj.mjs +9 -0
  321. package/dist/chunks/index-1.1.18-3yaj9awp.mjs +1 -0
  322. package/dist/chunks/index-1.1.18-427vyn1s.mjs +1 -0
  323. package/dist/chunks/index-1.1.18-5aebjh6r.mjs +2 -0
  324. package/dist/chunks/index-1.1.18-7qw763sw.mjs +1 -0
  325. package/dist/chunks/index-1.1.18-9p90ysn2.mjs +23 -0
  326. package/dist/chunks/index-1.1.18-a31cga5m.mjs +1 -0
  327. package/dist/chunks/index-1.1.18-awg146jw.mjs +1 -0
  328. package/dist/chunks/index-1.1.18-bsk8rb63.mjs +1 -0
  329. package/dist/chunks/index-1.1.18-cvzxd0hz.mjs +1 -0
  330. package/dist/chunks/index-1.1.18-ejew46p1.mjs +1 -0
  331. package/dist/chunks/index-1.1.18-gdwz7smf.mjs +1 -0
  332. package/dist/chunks/index-1.1.18-hcwn8mp8.mjs +1 -0
  333. package/dist/chunks/index-1.1.18-j843bxtx.mjs +9 -0
  334. package/dist/chunks/index-1.1.18-jhj8ae5j.mjs +30 -0
  335. package/dist/chunks/index-1.1.18-k9471m74.mjs +1 -0
  336. package/dist/chunks/index-1.1.18-kvv48kwq.mjs +5 -0
  337. package/dist/chunks/index-1.1.18-n6ntpnas.mjs +1 -0
  338. package/dist/chunks/index-1.1.18-n8a9f3dp.mjs +2 -0
  339. package/dist/chunks/index-1.1.18-ppwdm9bc.mjs +1 -0
  340. package/dist/chunks/index-1.1.18-zaqj0a20.mjs +1 -0
  341. package/dist/chunks/init-1.1.18-kgjtv56b.mjs +1 -0
  342. package/dist/chunks/initReplBridge-1.1.18-we3h7znp.mjs +1 -0
  343. package/dist/chunks/ink-1.1.18-s45xz0d5.mjs +1 -0
  344. package/dist/chunks/insights-1.1.18-qxdn050x.mjs +870 -0
  345. package/dist/chunks/install-1.1.18-hrtjazqa.mjs +1 -0
  346. package/dist/chunks/install-github-app-1.1.18-9y1kn2dm.mjs +149 -0
  347. package/dist/chunks/install-slack-app-1.1.18-yfeb37pz.mjs +1 -0
  348. package/dist/chunks/instrumentation-1.1.18-0s0n0snp.mjs +1 -0
  349. package/dist/chunks/interactiveHelpers-1.1.18-vsnpskhb.mjs +1 -0
  350. package/dist/chunks/keybindings-1.1.18-6zbse835.mjs +2 -0
  351. package/dist/chunks/knowledge-1.1.18-6ex2a771.mjs +2 -0
  352. package/dist/chunks/latestVersionCache-1.1.18-8dq1wk9a.mjs +1 -0
  353. package/dist/chunks/loadAgentsDir-1.1.18-4vpps6mn.mjs +1 -0
  354. package/dist/chunks/loadPluginHooks-1.1.18-4j6dvx4m.mjs +1 -0
  355. package/dist/chunks/log-1.1.18-ft9dg3fj.mjs +1 -0
  356. package/dist/chunks/main-1.1.18-s1hnrh3q.mjs +1 -0
  357. package/dist/chunks/managedEnv-1.1.18-jqjx86ng.mjs +1 -0
  358. package/dist/chunks/mcp-1.1.18-24906cg4.mjs +1 -0
  359. package/dist/chunks/mcp-1.1.18-7t3h9h66.mjs +4 -0
  360. package/dist/chunks/mcp-1.1.18-ast61twg.mjs +17 -0
  361. package/dist/chunks/mcpb-1.1.18-snfk9dz9.mjs +1 -0
  362. package/dist/chunks/memory-1.1.18-7k51bcr6.mjs +72 -0
  363. package/dist/chunks/model-1.1.18-0njn3xdn.mjs +2 -0
  364. package/dist/chunks/model-1.1.18-ny459y9j.mjs +1 -0
  365. package/dist/chunks/node-1.1.18-gk5h7jp4.mjs +12 -0
  366. package/dist/chunks/oauth-1.1.18-w9bt5qvg.mjs +1 -0
  367. package/dist/chunks/openaiShim-1.1.18-xzt8j2wx.mjs +14 -0
  368. package/dist/chunks/output-style-1.1.18-q591t8v1.mjs +1 -0
  369. package/dist/chunks/package-KQCMZM5L-1.1.18-whakyscr.mjs +1 -0
  370. package/dist/chunks/parseConnectUrl-1.1.18-bwgbwc1r.mjs +1 -0
  371. package/dist/chunks/parser-1.1.18-qad863f5.mjs +1 -0
  372. package/dist/chunks/passes-1.1.18-t0hq8ewm.mjs +1 -0
  373. package/dist/chunks/permissions-1.1.18-5a7765tc.mjs +1 -0
  374. package/dist/chunks/permissions-1.1.18-ed8ysk2a.mjs +3 -0
  375. package/dist/chunks/plan-1.1.18-4hc85kck.mjs +1 -0
  376. package/dist/chunks/plist-1.1.18-7sdbzzm0.mjs +1 -0
  377. package/dist/chunks/plugin-1.1.18-9tkb7bap.mjs +29 -0
  378. package/dist/chunks/pluginStartupCheck-1.1.18-j31xzm3k.mjs +1 -0
  379. package/dist/chunks/plugins-1.1.18-ab7msm6m.mjs +9 -0
  380. package/dist/chunks/preActionHook-1.1.18-dkhj1e0v.mjs +2 -0
  381. package/dist/chunks/print-1.1.18-j2g7hv0n.mjs +57 -0
  382. package/dist/chunks/process-1.1.18-fvq9b7q3.mjs +1 -0
  383. package/dist/chunks/processBashCommand-1.1.18-vq69a3e4.mjs +1 -0
  384. package/dist/chunks/processSlashCommand-1.1.18-n1yqhpgg.mjs +9 -0
  385. package/dist/chunks/prompt-1.1.18-acbj3trk.mjs +1 -0
  386. package/dist/chunks/prompt-1.1.18-wh5jv6ay.mjs +1 -0
  387. package/dist/chunks/prompts-1.1.18-m0az7ynn.mjs +1 -0
  388. package/dist/chunks/protocolHandler-1.1.18-k2shdefe.mjs +13 -0
  389. package/dist/chunks/provider-1.1.18-g384d5y0.mjs +2 -0
  390. package/dist/chunks/providerProfiles-1.1.18-sehcrk96.mjs +1 -0
  391. package/dist/chunks/providerValidation-1.1.18-ge2ffym5.mjs +6 -0
  392. package/dist/chunks/rate-limit-options-1.1.18-9dst3c2h.mjs +1 -0
  393. package/dist/chunks/registerSubcommands-1.1.18-7t053hjx.mjs +26 -0
  394. package/dist/chunks/registry-1.1.18-xrd7m0b5.mjs +1 -0
  395. package/dist/chunks/release-notes-1.1.18-ayafp97j.mjs +5 -0
  396. package/dist/chunks/reload-plugins-1.1.18-hmvtf1f4.mjs +2 -0
  397. package/dist/chunks/remote-env-1.1.18-w9k53dqm.mjs +1 -0
  398. package/dist/chunks/remoteBridgeCore-1.1.18-ex403g4q.mjs +1 -0
  399. package/dist/chunks/remoteSession-1.1.18-4axy7j90.mjs +1 -0
  400. package/dist/chunks/rename-1.1.18-2v175525.mjs +1 -0
  401. package/dist/chunks/replBridgeHandle-1.1.18-z7ttbjsb.mjs +1 -0
  402. package/dist/chunks/replLauncher-1.1.18-4z8q3518.mjs +1 -0
  403. package/dist/chunks/resume-1.1.18-7s9nkn6h.mjs +2 -0
  404. package/dist/chunks/rewind-1.1.18-wwasabaf.mjs +1 -0
  405. package/dist/chunks/rootOptions-1.1.18-drrms6kn.mjs +1 -0
  406. package/dist/chunks/runWorkflowHeadless-1.1.18-grdmbjgn.mjs +10 -0
  407. package/dist/chunks/sandbox-adapter-1.1.18-4290hdqx.mjs +1 -0
  408. package/dist/chunks/sandbox-toggle-1.1.18-859vsbae.mjs +1 -0
  409. package/dist/chunks/session-1.1.18-ndwcefxm.mjs +2 -0
  410. package/dist/chunks/sessionDiscovery-1.1.18-mqhk62gm.mjs +1 -0
  411. package/dist/chunks/sessionFileAccessHooks-1.1.18-2ypck9c4.mjs +1 -0
  412. package/dist/chunks/sessionStorage-1.1.18-w8jyzxb1.mjs +1 -0
  413. package/dist/chunks/settings-1.1.18-8tv1qyh6.mjs +1 -0
  414. package/dist/chunks/setup-1.1.18-frcmhac0.mjs +12 -0
  415. package/dist/chunks/sinks-1.1.18-zxg6qwxv.mjs +1 -0
  416. package/dist/chunks/skills-1.1.18-zxh8yk9d.mjs +1 -0
  417. package/dist/chunks/startupProfiler-1.1.18-h7ey8bj0.mjs +1 -0
  418. package/dist/chunks/startupUpdateCheck-1.1.18-bws73cnz.mjs +1 -0
  419. package/dist/chunks/state-1.1.18-12hrspsf.mjs +1 -0
  420. package/dist/chunks/stats-1.1.18-kmhwdmq9.mjs +6 -0
  421. package/dist/chunks/status-1.1.18-4aep2t86.mjs +1 -0
  422. package/dist/chunks/stickers-1.1.18-20nhxd0w.mjs +1 -0
  423. package/dist/chunks/subprocessEnv-1.1.18-a6f6xtx7.mjs +1 -0
  424. package/dist/chunks/tasks-1.1.18-5brzcp4c.mjs +1 -0
  425. package/dist/chunks/teamHelpers-1.1.18-ewst0n42.mjs +1 -0
  426. package/dist/chunks/teammateModeSnapshot-1.1.18-n1rgqqyr.mjs +1 -0
  427. package/dist/chunks/teleport-1.1.18-e63krqkp.mjs +1 -0
  428. package/dist/chunks/terminalSetup-1.1.18-6nf0ex7b.mjs +1 -0
  429. package/dist/chunks/theme-1.1.18-egp4mwdb.mjs +1 -0
  430. package/dist/chunks/thinkback-1.1.18-wphxbpgs.mjs +1 -0
  431. package/dist/chunks/thinkback-play-1.1.18-rjmn2eej.mjs +1 -0
  432. package/dist/chunks/toolPool-1.1.18-s1ssr2ef.mjs +1 -0
  433. package/dist/chunks/toolSearch-1.1.18-c9cwkafr.mjs +1 -0
  434. package/dist/chunks/tools-1.1.18-1dqtpknx.mjs +1 -0
  435. package/dist/chunks/trustedDevice-1.1.18-3h8z5wdy.mjs +1 -0
  436. package/dist/chunks/turndown.cjs-1.1.18-e9b2pss1.mjs +69 -0
  437. package/dist/chunks/types-1.1.18-31emf7xp.mjs +1 -0
  438. package/dist/chunks/ultrareviewCommand-1.1.18-x96n2df3.mjs +4 -0
  439. package/dist/chunks/update-1.1.18-rfhbgb3x.mjs +72 -0
  440. package/dist/chunks/upgrade-1.1.18-5dd5b35g.mjs +1 -0
  441. package/dist/chunks/upload-1.1.18-6rcbt5xr.mjs +7 -0
  442. package/dist/chunks/upstreamproxy-1.1.18-xx3jrk14.mjs +14 -0
  443. package/dist/chunks/url-handler-napi-1.1.18-y4e042py.mjs +1 -0
  444. package/dist/chunks/usage-1.1.18-q3y9c6vk.mjs +1 -0
  445. package/dist/chunks/util-1.1.18-2vgfzdph.mjs +1 -0
  446. package/dist/chunks/utils-1.1.18-8tjbjr7v.mjs +1 -0
  447. package/dist/chunks/vim-1.1.18-44eqnfwb.mjs +1 -0
  448. package/dist/chunks/watchLoop-1.1.18-c2shb8qc.mjs +13 -0
  449. package/dist/chunks/watcher-1.1.18-cb1x3sr6.mjs +1 -0
  450. package/dist/chunks/wiki-1.1.18-r1abckjp.mjs +132 -0
  451. package/dist/chunks/workflows-1.1.18-jtx40wvq.mjs +1 -0
  452. package/dist/chunks/worktree-1.1.18-ds3kez7h.mjs +1 -0
  453. package/dist/chunks/worktreeModeEnabled-1.1.18-2wj8e6bc.mjs +1 -0
  454. package/dist/chunks/wrapper-1.1.18-shbmq2kg.mjs +7 -0
  455. package/dist/cli.mjs +2 -2
  456. package/dist/help-doctor.txt +3 -3
  457. package/dist/help-install.txt +2 -2
  458. package/dist/help-mcp.txt +2 -2
  459. package/dist/help-plugin.txt +2 -2
  460. package/dist/help-plugins.txt +2 -2
  461. package/dist/help.txt +3 -3
  462. package/package.json +9 -9
  463. package/dist/chunks/AgentTool-1.1.16-d8xg1846.mjs +0 -1
  464. package/dist/chunks/App-1.1.16-1qyat349.mjs +0 -1
  465. package/dist/chunks/ApproveApiKey-1.1.16-gphm4kr9.mjs +0 -1
  466. package/dist/chunks/AssistantSessionChooser-1.1.16-ae0771hz.mjs +0 -1
  467. package/dist/chunks/AutoModeOptInDialog-1.1.16-ntf57kwj.mjs +0 -1
  468. package/dist/chunks/BypassPermissionsModeDialog-1.1.16-z8km64vb.mjs +0 -1
  469. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.16-9c1nen0b.mjs +0 -1
  470. package/dist/chunks/ConsoleOAuthFlow-1.1.16-e52dm35b.mjs +0 -1
  471. package/dist/chunks/DiffDialog-1.1.16-frav7jtc.mjs +0 -6
  472. package/dist/chunks/Doctor-1.1.16-rnr2zeqm.mjs +0 -1
  473. package/dist/chunks/ExplorerDialog-1.1.16-32sa07f8.mjs +0 -6
  474. package/dist/chunks/ITermBackend-1.1.16-wcn0wvqj.mjs +0 -1
  475. package/dist/chunks/InvalidConfigDialog-1.1.16-ptpv0yby.mjs +0 -1
  476. package/dist/chunks/InvalidSettingsDialog-1.1.16-2c80150t.mjs +0 -1
  477. package/dist/chunks/MigrationDialog-1.1.16-xf5ytnvw.mjs +0 -1
  478. package/dist/chunks/Onboarding-1.1.16-mq6axxmv.mjs +0 -1
  479. package/dist/chunks/ProviderManager-1.1.16-df81g99v.mjs +0 -1
  480. package/dist/chunks/REPL-1.1.16-67e78vej.mjs +0 -1
  481. package/dist/chunks/ResumeConversation-1.1.16-nfz9vfxh.mjs +0 -1
  482. package/dist/chunks/SnapshotUpdateDialog-1.1.16-nmypjs9s.mjs +0 -1
  483. package/dist/chunks/TeleportProgress-1.1.16-8xp4cat6.mjs +0 -1
  484. package/dist/chunks/TeleportRepoMismatchDialog-1.1.16-b873egjf.mjs +0 -1
  485. package/dist/chunks/TeleportResumeWrapper-1.1.16-p12j7gbz.mjs +0 -1
  486. package/dist/chunks/TmuxBackend-1.1.16-wfj4hbxa.mjs +0 -9
  487. package/dist/chunks/ToolSearchTool-1.1.16-t59p4sqb.mjs +0 -1
  488. package/dist/chunks/TrustDialog-1.1.16-6gnr1pgn.mjs +0 -1
  489. package/dist/chunks/activeProvider-1.1.16-pz7hzyed.mjs +0 -1
  490. package/dist/chunks/add-dir-1.1.16-whsjbedt.mjs +0 -1
  491. package/dist/chunks/agentTypes-1.1.16-7fxyjypa.mjs +0 -1
  492. package/dist/chunks/agents-1.1.16-1d6y0xda.mjs +0 -3
  493. package/dist/chunks/agents-1.1.16-s5e41ewr.mjs +0 -110
  494. package/dist/chunks/api-1.1.16-k1mytgsx.mjs +0 -1
  495. package/dist/chunks/asciicast-1.1.16-bxvyntn8.mjs +0 -1
  496. package/dist/chunks/assistant-1.1.16-acqmddet.mjs +0 -1
  497. package/dist/chunks/auth-1.1.16-7nwthv6n.mjs +0 -1
  498. package/dist/chunks/auth-1.1.16-c46k0chb.mjs +0 -1
  499. package/dist/chunks/autoMode-1.1.16-t7thnrw0.mjs +0 -48
  500. package/dist/chunks/autoUpdater-1.1.16-5k3bxrjz.mjs +0 -1
  501. package/dist/chunks/backgroundHousekeeping-1.1.16-nhb6p8p3.mjs +0 -1
  502. package/dist/chunks/branch-1.1.16-72eesr6a.mjs +0 -4
  503. package/dist/chunks/bridge-1.1.16-8n6h1b8c.mjs +0 -2
  504. package/dist/chunks/bridgeConfig-1.1.16-jmz78ab3.mjs +0 -1
  505. package/dist/chunks/bridgeEnabled-1.1.16-nwrn0y9j.mjs +0 -1
  506. package/dist/chunks/bridgeMain-1.1.16-04vqwa21.mjs +0 -88
  507. package/dist/chunks/bridgePointer-1.1.16-krkxjxkj.mjs +0 -1
  508. package/dist/chunks/btw-1.1.16-h0jqrzph.mjs +0 -1
  509. package/dist/chunks/buddy-1.1.16-k6dwkrbz.mjs +0 -3
  510. package/dist/chunks/cache-probe-1.1.16-rk6d7v9j.mjs +0 -21
  511. package/dist/chunks/cacheStats-1.1.16-f3tggvs4.mjs +0 -4
  512. package/dist/chunks/caches-1.1.16-kxkg6hxt.mjs +0 -1
  513. package/dist/chunks/claudeDesktop-1.1.16-jggzvahb.mjs +0 -1
  514. package/dist/chunks/claudemd-1.1.16-7dtnkedr.mjs +0 -1
  515. package/dist/chunks/clear-1.1.16-qrpawrqq.mjs +0 -1
  516. package/dist/chunks/clearTerminal-1.1.16-hcv9w964.mjs +0 -1
  517. package/dist/chunks/cli-1.1.16-00hws7wd.mjs +0 -15
  518. package/dist/chunks/cli-1.1.16-02ynr76s.mjs +0 -2
  519. package/dist/chunks/cli-1.1.16-06f5zq2n.mjs +0 -3
  520. package/dist/chunks/cli-1.1.16-07smcaht.mjs +0 -2
  521. package/dist/chunks/cli-1.1.16-08mt7pd3.mjs +0 -26
  522. package/dist/chunks/cli-1.1.16-0chc168e.mjs +0 -2
  523. package/dist/chunks/cli-1.1.16-0w56n0k6.mjs +0 -2
  524. package/dist/chunks/cli-1.1.16-11vm4ckb.mjs +0 -3
  525. package/dist/chunks/cli-1.1.16-14fn34eq.mjs +0 -2
  526. package/dist/chunks/cli-1.1.16-14qj3fgz.mjs +0 -2
  527. package/dist/chunks/cli-1.1.16-16cpmrsq.mjs +0 -2
  528. package/dist/chunks/cli-1.1.16-1p0006m7.mjs +0 -2
  529. package/dist/chunks/cli-1.1.16-1rw7f88z.mjs +0 -2
  530. package/dist/chunks/cli-1.1.16-21rqtmb8.mjs +0 -2
  531. package/dist/chunks/cli-1.1.16-2c672gb7.mjs +0 -12
  532. package/dist/chunks/cli-1.1.16-2mzk1cmm.mjs +0 -2
  533. package/dist/chunks/cli-1.1.16-2ssqta47.mjs +0 -2
  534. package/dist/chunks/cli-1.1.16-2v8aceee.mjs +0 -2
  535. package/dist/chunks/cli-1.1.16-2xgcx2pv.mjs +0 -2
  536. package/dist/chunks/cli-1.1.16-3ha615b6.mjs +0 -2
  537. package/dist/chunks/cli-1.1.16-3k3hzdbv.mjs +0 -9
  538. package/dist/chunks/cli-1.1.16-3wey4s8m.mjs +0 -2
  539. package/dist/chunks/cli-1.1.16-48pfhgz1.mjs +0 -2
  540. package/dist/chunks/cli-1.1.16-49bqpfq6.mjs +0 -16
  541. package/dist/chunks/cli-1.1.16-4azerbgs.mjs +0 -2
  542. package/dist/chunks/cli-1.1.16-4eszpnge.mjs +0 -2
  543. package/dist/chunks/cli-1.1.16-4kbzs997.mjs +0 -2
  544. package/dist/chunks/cli-1.1.16-4pr1991p.mjs +0 -8
  545. package/dist/chunks/cli-1.1.16-4qysqchs.mjs +0 -24
  546. package/dist/chunks/cli-1.1.16-4v9hjjtt.mjs +0 -3
  547. package/dist/chunks/cli-1.1.16-50vqanyq.mjs +0 -4
  548. package/dist/chunks/cli-1.1.16-54087k9r.mjs +0 -2
  549. package/dist/chunks/cli-1.1.16-5a4a2nqs.mjs +0 -2
  550. package/dist/chunks/cli-1.1.16-5bx6tpmw.mjs +0 -2
  551. package/dist/chunks/cli-1.1.16-5dtt0nsq.mjs +0 -15
  552. package/dist/chunks/cli-1.1.16-5hfex73v.mjs +0 -2
  553. package/dist/chunks/cli-1.1.16-5vc6gf8n.mjs +0 -2
  554. package/dist/chunks/cli-1.1.16-5wsywzcq.mjs +0 -2
  555. package/dist/chunks/cli-1.1.16-65skb0g1.mjs +0 -2
  556. package/dist/chunks/cli-1.1.16-67hp7vy9.mjs +0 -2
  557. package/dist/chunks/cli-1.1.16-67yh08z2.mjs +0 -2
  558. package/dist/chunks/cli-1.1.16-69ma6qdv.mjs +0 -2
  559. package/dist/chunks/cli-1.1.16-6fekr49f.mjs +0 -2
  560. package/dist/chunks/cli-1.1.16-6ptafg83.mjs +0 -59
  561. package/dist/chunks/cli-1.1.16-72wxrwg0.mjs +0 -2
  562. package/dist/chunks/cli-1.1.16-7aatqp3z.mjs +0 -2
  563. package/dist/chunks/cli-1.1.16-7c9cj19v.mjs +0 -2
  564. package/dist/chunks/cli-1.1.16-7j9fntrz.mjs +0 -2
  565. package/dist/chunks/cli-1.1.16-7k62y2m1.mjs +0 -45
  566. package/dist/chunks/cli-1.1.16-7k7w1py7.mjs +0 -39
  567. package/dist/chunks/cli-1.1.16-7xaxs3ra.mjs +0 -18
  568. package/dist/chunks/cli-1.1.16-7z989ymx.mjs +0 -24
  569. package/dist/chunks/cli-1.1.16-892pqd2m.mjs +0 -3
  570. package/dist/chunks/cli-1.1.16-8azzqa5w.mjs +0 -2
  571. package/dist/chunks/cli-1.1.16-8brzp1nw.mjs +0 -6
  572. package/dist/chunks/cli-1.1.16-8efk3qjx.mjs +0 -2
  573. package/dist/chunks/cli-1.1.16-8pms22dq.mjs +0 -2
  574. package/dist/chunks/cli-1.1.16-90p1j6wj.mjs +0 -3
  575. package/dist/chunks/cli-1.1.16-9bvj95e0.mjs +0 -2
  576. package/dist/chunks/cli-1.1.16-9gc3v32k.mjs +0 -2
  577. package/dist/chunks/cli-1.1.16-9mjvq93j.mjs +0 -2
  578. package/dist/chunks/cli-1.1.16-9vaffwrt.mjs +0 -2
  579. package/dist/chunks/cli-1.1.16-9wfv4nx7.mjs +0 -2
  580. package/dist/chunks/cli-1.1.16-9zybbj79.mjs +0 -2
  581. package/dist/chunks/cli-1.1.16-a09ca16c.mjs +0 -2
  582. package/dist/chunks/cli-1.1.16-a2heems6.mjs +0 -2
  583. package/dist/chunks/cli-1.1.16-a6z5s072.mjs +0 -58
  584. package/dist/chunks/cli-1.1.16-aae4w645.mjs +0 -42
  585. package/dist/chunks/cli-1.1.16-acbajet0.mjs +0 -2
  586. package/dist/chunks/cli-1.1.16-amvj9fsw.mjs +0 -3
  587. package/dist/chunks/cli-1.1.16-b06spwrg.mjs +0 -21
  588. package/dist/chunks/cli-1.1.16-b7t8n05k.mjs +0 -2
  589. package/dist/chunks/cli-1.1.16-b80x5mp6.mjs +0 -2
  590. package/dist/chunks/cli-1.1.16-c6ydw1c8.mjs +0 -2
  591. package/dist/chunks/cli-1.1.16-c839tmen.mjs +0 -2
  592. package/dist/chunks/cli-1.1.16-c9b05x0s.mjs +0 -2
  593. package/dist/chunks/cli-1.1.16-cc5chgna.mjs +0 -2
  594. package/dist/chunks/cli-1.1.16-cddsh2r4.mjs +0 -25
  595. package/dist/chunks/cli-1.1.16-cmfztzmq.mjs +0 -2
  596. package/dist/chunks/cli-1.1.16-cmw3ar20.mjs +0 -2
  597. package/dist/chunks/cli-1.1.16-cnwnk7gb.mjs +0 -2
  598. package/dist/chunks/cli-1.1.16-cs3aeka5.mjs +0 -12
  599. package/dist/chunks/cli-1.1.16-d6tf8dzn.mjs +0 -20
  600. package/dist/chunks/cli-1.1.16-df44y8yq.mjs +0 -3
  601. package/dist/chunks/cli-1.1.16-dfr9axye.mjs +0 -2
  602. package/dist/chunks/cli-1.1.16-dh0eqfrb.mjs +0 -25
  603. package/dist/chunks/cli-1.1.16-dn98cknd.mjs +0 -6
  604. package/dist/chunks/cli-1.1.16-dqwre8s7.mjs +0 -2
  605. package/dist/chunks/cli-1.1.16-dqxwanh1.mjs +0 -2
  606. package/dist/chunks/cli-1.1.16-dtwt84pe.mjs +0 -6
  607. package/dist/chunks/cli-1.1.16-dtyn1qwz.mjs +0 -2
  608. package/dist/chunks/cli-1.1.16-dxyq8q3t.mjs +0 -18
  609. package/dist/chunks/cli-1.1.16-e0fmjnmt.mjs +0 -2
  610. package/dist/chunks/cli-1.1.16-e15bgq0q.mjs +0 -2
  611. package/dist/chunks/cli-1.1.16-eabt3s19.mjs +0 -2
  612. package/dist/chunks/cli-1.1.16-eatavqvn.mjs +0 -2
  613. package/dist/chunks/cli-1.1.16-eg2wh4gb.mjs +0 -2
  614. package/dist/chunks/cli-1.1.16-egxjzfe2.mjs +0 -34
  615. package/dist/chunks/cli-1.1.16-ejy0gvv1.mjs +0 -2
  616. package/dist/chunks/cli-1.1.16-f3tex0kv.mjs +0 -24
  617. package/dist/chunks/cli-1.1.16-f6arq2qw.mjs +0 -3
  618. package/dist/chunks/cli-1.1.16-f9d79a6c.mjs +0 -2
  619. package/dist/chunks/cli-1.1.16-fd7yx131.mjs +0 -2
  620. package/dist/chunks/cli-1.1.16-g0z56bnb.mjs +0 -2
  621. package/dist/chunks/cli-1.1.16-g2m8cf2k.mjs +0 -2
  622. package/dist/chunks/cli-1.1.16-gqgat9ps.mjs +0 -2
  623. package/dist/chunks/cli-1.1.16-gtw5ckd8.mjs +0 -2
  624. package/dist/chunks/cli-1.1.16-gyw71nnw.mjs +0 -2
  625. package/dist/chunks/cli-1.1.16-gze584gt.mjs +0 -2
  626. package/dist/chunks/cli-1.1.16-h1rfrt5t.mjs +0 -1
  627. package/dist/chunks/cli-1.1.16-haqxs2zy.mjs +0 -2
  628. package/dist/chunks/cli-1.1.16-hbzd5k64.mjs +0 -2
  629. package/dist/chunks/cli-1.1.16-hd541yqt.mjs +0 -5
  630. package/dist/chunks/cli-1.1.16-hf9kpgyk.mjs +0 -2
  631. package/dist/chunks/cli-1.1.16-hq7j37g9.mjs +0 -2
  632. package/dist/chunks/cli-1.1.16-htk59n0r.mjs +0 -2
  633. package/dist/chunks/cli-1.1.16-hwr77b8n.mjs +0 -5469
  634. package/dist/chunks/cli-1.1.16-hyxvna5x.mjs +0 -2
  635. package/dist/chunks/cli-1.1.16-j1hg5tkr.mjs +0 -3
  636. package/dist/chunks/cli-1.1.16-jcye29qq.mjs +0 -202
  637. package/dist/chunks/cli-1.1.16-k7hg3739.mjs +0 -2
  638. package/dist/chunks/cli-1.1.16-kf5fv5t0.mjs +0 -2
  639. package/dist/chunks/cli-1.1.16-kndxajhc.mjs +0 -2
  640. package/dist/chunks/cli-1.1.16-kpxhnxpz.mjs +0 -2
  641. package/dist/chunks/cli-1.1.16-kxckvss5.mjs +0 -4
  642. package/dist/chunks/cli-1.1.16-kz0jkcdc.mjs +0 -2
  643. package/dist/chunks/cli-1.1.16-m0b6tw88.mjs +0 -3
  644. package/dist/chunks/cli-1.1.16-m68wgnx0.mjs +0 -50
  645. package/dist/chunks/cli-1.1.16-manqzza5.mjs +0 -2
  646. package/dist/chunks/cli-1.1.16-mbr5p7h4.mjs +0 -2
  647. package/dist/chunks/cli-1.1.16-n37yee4e.mjs +0 -5
  648. package/dist/chunks/cli-1.1.16-n9r7jwvf.mjs +0 -4
  649. package/dist/chunks/cli-1.1.16-nbxzev2y.mjs +0 -3
  650. package/dist/chunks/cli-1.1.16-nh0pt7e0.mjs +0 -2
  651. package/dist/chunks/cli-1.1.16-njacmwr1.mjs +0 -4
  652. package/dist/chunks/cli-1.1.16-p0fj6fyd.mjs +0 -2
  653. package/dist/chunks/cli-1.1.16-pdga6t1k.mjs +0 -133
  654. package/dist/chunks/cli-1.1.16-pj3sbyjh.mjs +0 -2
  655. package/dist/chunks/cli-1.1.16-pzq1a8yw.mjs +0 -2
  656. package/dist/chunks/cli-1.1.16-q827fp1q.mjs +0 -2
  657. package/dist/chunks/cli-1.1.16-qh481y6y.mjs +0 -2
  658. package/dist/chunks/cli-1.1.16-qwgc24yv.mjs +0 -2
  659. package/dist/chunks/cli-1.1.16-qy3897dn.mjs +0 -2
  660. package/dist/chunks/cli-1.1.16-qyhfqd1t.mjs +0 -4
  661. package/dist/chunks/cli-1.1.16-r0tgqw2k.mjs +0 -4
  662. package/dist/chunks/cli-1.1.16-r102pkgg.mjs +0 -3
  663. package/dist/chunks/cli-1.1.16-r2q5qzd6.mjs +0 -2
  664. package/dist/chunks/cli-1.1.16-r3n44d17.mjs +0 -2
  665. package/dist/chunks/cli-1.1.16-r41v96xz.mjs +0 -6
  666. package/dist/chunks/cli-1.1.16-rb7paxmn.mjs +0 -2
  667. package/dist/chunks/cli-1.1.16-rmn7pfkz.mjs +0 -2
  668. package/dist/chunks/cli-1.1.16-rvyqa9q1.mjs +0 -2
  669. package/dist/chunks/cli-1.1.16-s404wy1x.mjs +0 -6
  670. package/dist/chunks/cli-1.1.16-s73aeg9m.mjs +0 -3
  671. package/dist/chunks/cli-1.1.16-sbck6gp1.mjs +0 -2
  672. package/dist/chunks/cli-1.1.16-sk0nvcb8.mjs +0 -2
  673. package/dist/chunks/cli-1.1.16-sk5cfvaa.mjs +0 -2
  674. package/dist/chunks/cli-1.1.16-t0vza3m9.mjs +0 -2
  675. package/dist/chunks/cli-1.1.16-t3hq60ht.mjs +0 -2
  676. package/dist/chunks/cli-1.1.16-t52j6pb6.mjs +0 -6
  677. package/dist/chunks/cli-1.1.16-t7jxtkz8.mjs +0 -2
  678. package/dist/chunks/cli-1.1.16-the4daty.mjs +0 -17
  679. package/dist/chunks/cli-1.1.16-tjqwb7e1.mjs +0 -2
  680. package/dist/chunks/cli-1.1.16-tjzxdkkt.mjs +0 -17
  681. package/dist/chunks/cli-1.1.16-tpxwx276.mjs +0 -2
  682. package/dist/chunks/cli-1.1.16-tv4kjnwq.mjs +0 -24
  683. package/dist/chunks/cli-1.1.16-tv97myza.mjs +0 -7
  684. package/dist/chunks/cli-1.1.16-v2e4pd3g.mjs +0 -2
  685. package/dist/chunks/cli-1.1.16-vchwnr3f.mjs +0 -2
  686. package/dist/chunks/cli-1.1.16-vf5x3nc4.mjs +0 -2
  687. package/dist/chunks/cli-1.1.16-vhwypfn6.mjs +0 -2
  688. package/dist/chunks/cli-1.1.16-vkc2wbwd.mjs +0 -2
  689. package/dist/chunks/cli-1.1.16-vngrsrs8.mjs +0 -3
  690. package/dist/chunks/cli-1.1.16-vq6g4ncg.mjs +0 -2
  691. package/dist/chunks/cli-1.1.16-vra6hr5d.mjs +0 -2
  692. package/dist/chunks/cli-1.1.16-vzv60xz8.mjs +0 -4
  693. package/dist/chunks/cli-1.1.16-w4zy236d.mjs +0 -2
  694. package/dist/chunks/cli-1.1.16-w5ns6t4b.mjs +0 -2
  695. package/dist/chunks/cli-1.1.16-way1d0g7.mjs +0 -2
  696. package/dist/chunks/cli-1.1.16-wbzh2wm5.mjs +0 -2
  697. package/dist/chunks/cli-1.1.16-wpgdph2x.mjs +0 -7
  698. package/dist/chunks/cli-1.1.16-wv6e57r1.mjs +0 -2
  699. package/dist/chunks/cli-1.1.16-wxyxm2zp.mjs +0 -2
  700. package/dist/chunks/cli-1.1.16-wysnfmek.mjs +0 -4
  701. package/dist/chunks/cli-1.1.16-wzzrc1xq.mjs +0 -2
  702. package/dist/chunks/cli-1.1.16-x0gywt7y.mjs +0 -2
  703. package/dist/chunks/cli-1.1.16-x1r7521q.mjs +0 -133
  704. package/dist/chunks/cli-1.1.16-x4k8bzvc.mjs +0 -2
  705. package/dist/chunks/cli-1.1.16-x9m0y8t1.mjs +0 -2
  706. package/dist/chunks/cli-1.1.16-xaye0g9z.mjs +0 -2
  707. package/dist/chunks/cli-1.1.16-xe8wmqtk.mjs +0 -15
  708. package/dist/chunks/cli-1.1.16-xfke0ngj.mjs +0 -2
  709. package/dist/chunks/cli-1.1.16-xqk1znpb.mjs +0 -2
  710. package/dist/chunks/cli-1.1.16-y11gejtr.mjs +0 -9
  711. package/dist/chunks/cli-1.1.16-y1vrwcq4.mjs +0 -2
  712. package/dist/chunks/cli-1.1.16-y4qp7bb2.mjs +0 -2
  713. package/dist/chunks/cli-1.1.16-ynvgphfk.mjs +0 -2
  714. package/dist/chunks/cli-1.1.16-yqaq6eek.mjs +0 -2
  715. package/dist/chunks/cli-1.1.16-yv8wazsp.mjs +0 -2
  716. package/dist/chunks/cli-1.1.16-yymrc4dd.mjs +0 -2
  717. package/dist/chunks/cli-1.1.16-yzrxqdz1.mjs +0 -4
  718. package/dist/chunks/cli-1.1.16-z56ew2eh.mjs +0 -66
  719. package/dist/chunks/cli-1.1.16-z93174n6.mjs +0 -2
  720. package/dist/chunks/cli-1.1.16-zedxs5mz.mjs +0 -2
  721. package/dist/chunks/cli-1.1.16-zgwt3v22.mjs +0 -2
  722. package/dist/chunks/cli-1.1.16-ztv6fvbq.mjs +0 -4
  723. package/dist/chunks/cli-1.1.16-zx2pqyak.mjs +0 -2
  724. package/dist/chunks/cli-1.1.16-zy1hy3m7.mjs +0 -3
  725. package/dist/chunks/cli-1.1.16-zzc307e7.mjs +0 -2
  726. package/dist/chunks/client-1.1.16-mxfnn25v.mjs +0 -1
  727. package/dist/chunks/color-1.1.16-kxb5k02m.mjs +0 -1
  728. package/dist/chunks/compact-1.1.16-zn3r524w.mjs +0 -3
  729. package/dist/chunks/config-1.1.16-866900pg.mjs +0 -1
  730. package/dist/chunks/config-1.1.16-pnqk3e4x.mjs +0 -1
  731. package/dist/chunks/constants-1.1.16-y8q2q4nx.mjs +0 -1
  732. package/dist/chunks/context-1.1.16-g23rxjdc.mjs +0 -1
  733. package/dist/chunks/context-noninteractive-1.1.16-cccdk7gt.mjs +0 -1
  734. package/dist/chunks/conversation-1.1.16-b3c8ysvx.mjs +0 -1
  735. package/dist/chunks/copilotHeaders-1.1.16-n2gqvrz3.mjs +0 -1
  736. package/dist/chunks/copy-1.1.16-evtbz4pr.mjs +0 -9
  737. package/dist/chunks/cost-1.1.16-je2dhky8.mjs +0 -1
  738. package/dist/chunks/createSSHSession-1.1.16-7bjctayt.mjs +0 -1
  739. package/dist/chunks/createSession-1.1.16-q7ezgde2.mjs +0 -1
  740. package/dist/chunks/debug-1.1.16-rwekwqaz.mjs +0 -1
  741. package/dist/chunks/defaultActionDeps-1.1.16-drefjcq7.mjs +0 -1534
  742. package/dist/chunks/desktop-1.1.16-s5p2s8z1.mjs +0 -1
  743. package/dist/chunks/detectRepository-1.1.16-0mj2v70d.mjs +0 -1
  744. package/dist/chunks/detection-1.1.16-a6g1ea8w.mjs +0 -1
  745. package/dist/chunks/diff-1.1.16-5c3cx6ex.mjs +0 -1
  746. package/dist/chunks/doctor-1.1.16-41p56y0f.mjs +0 -1
  747. package/dist/chunks/doctorDiagnostic-1.1.16-w0td1z7t.mjs +0 -1
  748. package/dist/chunks/earlyInput-1.1.16-fb3qxbjk.mjs +0 -1
  749. package/dist/chunks/effort-1.1.16-9gw3x1mz.mjs +0 -13
  750. package/dist/chunks/engine-1.1.16-35cg9rmx.mjs +0 -1
  751. package/dist/chunks/envLessBridgeConfig-1.1.16-1d34y7k2.mjs +0 -1
  752. package/dist/chunks/envUtils-1.1.16-4t6p0jjh.mjs +0 -1
  753. package/dist/chunks/environmentSelection-1.1.16-63yqca4b.mjs +0 -1
  754. package/dist/chunks/environments-1.1.16-zg1cebes.mjs +0 -1
  755. package/dist/chunks/errors-1.1.16-5ry90xtn.mjs +0 -1
  756. package/dist/chunks/exampleCommands-1.1.16-gctdwyey.mjs +0 -1
  757. package/dist/chunks/execFileNoThrow-1.1.16-ja5wfnqk.mjs +0 -1
  758. package/dist/chunks/exit-1.1.16-gp3attw5.mjs +0 -1
  759. package/dist/chunks/explorer-1.1.16-ksz2kh3r.mjs +0 -1
  760. package/dist/chunks/export-1.1.16-4q6eppsd.mjs +0 -2
  761. package/dist/chunks/extra-usage-1.1.16-gtvkswnt.mjs +0 -1
  762. package/dist/chunks/extra-usage-noninteractive-1.1.16-y936p9yp.mjs +0 -1
  763. package/dist/chunks/fast-1.1.16-9d3xqrpf.mjs +0 -1
  764. package/dist/chunks/feedback-1.1.16-3va6ar52.mjs +0 -14
  765. package/dist/chunks/firstPartyEventLogger-1.1.16-rzm5ms2c.mjs +0 -1
  766. package/dist/chunks/git-1.1.16-wxjpazsv.mjs +0 -1
  767. package/dist/chunks/githubModelsCredentials-1.1.16-8db65cwz.mjs +0 -1
  768. package/dist/chunks/goal-1.1.16-n6zn5hv0.mjs +0 -4
  769. package/dist/chunks/growthbook-1.1.16-595crq4b.mjs +0 -1
  770. package/dist/chunks/headless-1.1.16-ngrfttd2.mjs +0 -2
  771. package/dist/chunks/heapdump-1.1.16-xeq6wdmt.mjs +0 -6
  772. package/dist/chunks/help-1.1.16-cr6p1e9d.mjs +0 -1
  773. package/dist/chunks/hookChains-1.1.16-9h14zpb6.mjs +0 -3
  774. package/dist/chunks/hooks-1.1.16-1g8bmj2c.mjs +0 -79
  775. package/dist/chunks/hooks-1.1.16-n1gmh33c.mjs +0 -1
  776. package/dist/chunks/ide-1.1.16-9vtwyzje.mjs +0 -3
  777. package/dist/chunks/image-processor-napi-1.1.16-xs3s51me.mjs +0 -1
  778. package/dist/chunks/inboundAttachments-1.1.16-c6drgpf3.mjs +0 -1
  779. package/dist/chunks/index-1.1.16-18yhpv52.mjs +0 -23
  780. package/dist/chunks/index-1.1.16-2rsmxhr2.mjs +0 -30
  781. package/dist/chunks/index-1.1.16-2xc5zjwe.mjs +0 -5
  782. package/dist/chunks/index-1.1.16-3cscsx0v.mjs +0 -1
  783. package/dist/chunks/index-1.1.16-3vpat7c1.mjs +0 -9
  784. package/dist/chunks/index-1.1.16-3zhbr1qd.mjs +0 -1
  785. package/dist/chunks/index-1.1.16-54nbfa3c.mjs +0 -1
  786. package/dist/chunks/index-1.1.16-6f495kq6.mjs +0 -1
  787. package/dist/chunks/index-1.1.16-82gx3ah5.mjs +0 -1
  788. package/dist/chunks/index-1.1.16-ap17zed0.mjs +0 -1
  789. package/dist/chunks/index-1.1.16-b07w4tdb.mjs +0 -1
  790. package/dist/chunks/index-1.1.16-cca87zba.mjs +0 -9
  791. package/dist/chunks/index-1.1.16-dxjx9gq8.mjs +0 -1
  792. package/dist/chunks/index-1.1.16-ehk0dpk3.mjs +0 -1
  793. package/dist/chunks/index-1.1.16-g6p5h9x8.mjs +0 -1
  794. package/dist/chunks/index-1.1.16-hsmqsx4f.mjs +0 -2
  795. package/dist/chunks/index-1.1.16-n1gyvm02.mjs +0 -1
  796. package/dist/chunks/index-1.1.16-ppkq03k8.mjs +0 -1
  797. package/dist/chunks/index-1.1.16-qpdm2q81.mjs +0 -1
  798. package/dist/chunks/index-1.1.16-qww85f6n.mjs +0 -1
  799. package/dist/chunks/index-1.1.16-s5e31nps.mjs +0 -1
  800. package/dist/chunks/index-1.1.16-v1zrqah7.mjs +0 -2
  801. package/dist/chunks/index-1.1.16-vbj2a5jp.mjs +0 -1
  802. package/dist/chunks/init-1.1.16-6wdrdz2r.mjs +0 -1
  803. package/dist/chunks/initReplBridge-1.1.16-6bhkywe8.mjs +0 -1
  804. package/dist/chunks/ink-1.1.16-e7whmjxf.mjs +0 -1
  805. package/dist/chunks/insights-1.1.16-s2czmsxt.mjs +0 -870
  806. package/dist/chunks/install-1.1.16-hm3j0jqe.mjs +0 -1
  807. package/dist/chunks/install-github-app-1.1.16-xmkdh35y.mjs +0 -149
  808. package/dist/chunks/install-slack-app-1.1.16-1a8z176x.mjs +0 -1
  809. package/dist/chunks/instrumentation-1.1.16-5tqqjvsb.mjs +0 -1
  810. package/dist/chunks/interactiveHelpers-1.1.16-49sn5m39.mjs +0 -1
  811. package/dist/chunks/keybindings-1.1.16-c6n8k84r.mjs +0 -2
  812. package/dist/chunks/knowledge-1.1.16-08yzaswd.mjs +0 -2
  813. package/dist/chunks/latestVersionCache-1.1.16-a0dks1p1.mjs +0 -1
  814. package/dist/chunks/loadAgentsDir-1.1.16-jbfc3ync.mjs +0 -1
  815. package/dist/chunks/loadPluginHooks-1.1.16-0pym4ad2.mjs +0 -1
  816. package/dist/chunks/log-1.1.16-yahqz556.mjs +0 -1
  817. package/dist/chunks/main-1.1.16-2egj6bns.mjs +0 -1
  818. package/dist/chunks/managedEnv-1.1.16-tgd635vq.mjs +0 -1
  819. package/dist/chunks/mcp-1.1.16-fkx2awnj.mjs +0 -17
  820. package/dist/chunks/mcp-1.1.16-n7sgsh7q.mjs +0 -1
  821. package/dist/chunks/mcp-1.1.16-ry6g2t33.mjs +0 -4
  822. package/dist/chunks/mcpb-1.1.16-74c05aj3.mjs +0 -1
  823. package/dist/chunks/memory-1.1.16-6jbqggnn.mjs +0 -72
  824. package/dist/chunks/model-1.1.16-3bvzfbem.mjs +0 -2
  825. package/dist/chunks/model-1.1.16-sjpwhja7.mjs +0 -1
  826. package/dist/chunks/node-1.1.16-gsj0fpm7.mjs +0 -12
  827. package/dist/chunks/oauth-1.1.16-bt9x98w7.mjs +0 -1
  828. package/dist/chunks/openaiShim-1.1.16-8gems3mz.mjs +0 -14
  829. package/dist/chunks/output-style-1.1.16-embrry9v.mjs +0 -1
  830. package/dist/chunks/package-KQCMZM5L-1.1.16-d3m1d21p.mjs +0 -1
  831. package/dist/chunks/parseConnectUrl-1.1.16-zffe39j3.mjs +0 -1
  832. package/dist/chunks/parser-1.1.16-3ps9dtdr.mjs +0 -1
  833. package/dist/chunks/passes-1.1.16-n0a3pvdf.mjs +0 -1
  834. package/dist/chunks/permissions-1.1.16-jk4pmrmf.mjs +0 -3
  835. package/dist/chunks/permissions-1.1.16-wnz2vr3h.mjs +0 -1
  836. package/dist/chunks/plan-1.1.16-rtkh7eh3.mjs +0 -1
  837. package/dist/chunks/plist-1.1.16-t71wt7sc.mjs +0 -1
  838. package/dist/chunks/plugin-1.1.16-t9jaj1gv.mjs +0 -29
  839. package/dist/chunks/pluginStartupCheck-1.1.16-c6cf7tmk.mjs +0 -1
  840. package/dist/chunks/plugins-1.1.16-73hwgvfk.mjs +0 -9
  841. package/dist/chunks/preActionHook-1.1.16-nthzxbp9.mjs +0 -2
  842. package/dist/chunks/print-1.1.16-armgf1aq.mjs +0 -57
  843. package/dist/chunks/process-1.1.16-3ct2vh70.mjs +0 -1
  844. package/dist/chunks/processBashCommand-1.1.16-89y7gsbx.mjs +0 -1
  845. package/dist/chunks/processSlashCommand-1.1.16-1kjtbhx2.mjs +0 -9
  846. package/dist/chunks/prompt-1.1.16-0386v4at.mjs +0 -1
  847. package/dist/chunks/prompt-1.1.16-k5y0dpf7.mjs +0 -1
  848. package/dist/chunks/prompts-1.1.16-xsnbw92m.mjs +0 -1
  849. package/dist/chunks/protocolHandler-1.1.16-yx039y6v.mjs +0 -13
  850. package/dist/chunks/provider-1.1.16-m0kk3yhs.mjs +0 -2
  851. package/dist/chunks/providerProfiles-1.1.16-2v2pwv6d.mjs +0 -1
  852. package/dist/chunks/providerValidation-1.1.16-282tqjjx.mjs +0 -6
  853. package/dist/chunks/rate-limit-options-1.1.16-avgds6pk.mjs +0 -1
  854. package/dist/chunks/registerSubcommands-1.1.16-mzwjj9v6.mjs +0 -26
  855. package/dist/chunks/registry-1.1.16-n34j5qfk.mjs +0 -1
  856. package/dist/chunks/release-notes-1.1.16-8q4sx928.mjs +0 -5
  857. package/dist/chunks/reload-plugins-1.1.16-7znfn6r1.mjs +0 -2
  858. package/dist/chunks/remote-env-1.1.16-pv7edzf2.mjs +0 -1
  859. package/dist/chunks/remoteBridgeCore-1.1.16-jv7q72cp.mjs +0 -1
  860. package/dist/chunks/remoteSession-1.1.16-mmf3btpt.mjs +0 -1
  861. package/dist/chunks/rename-1.1.16-m3xv2hvc.mjs +0 -1
  862. package/dist/chunks/replBridgeHandle-1.1.16-0vph2kjs.mjs +0 -1
  863. package/dist/chunks/replLauncher-1.1.16-g5z9jade.mjs +0 -1
  864. package/dist/chunks/resume-1.1.16-40c9ahqr.mjs +0 -2
  865. package/dist/chunks/rewind-1.1.16-tpy93a43.mjs +0 -1
  866. package/dist/chunks/rootOptions-1.1.16-3apcbhbp.mjs +0 -1
  867. package/dist/chunks/runWorkflowHeadless-1.1.16-ejyeyghc.mjs +0 -10
  868. package/dist/chunks/sandbox-adapter-1.1.16-xb7gb62s.mjs +0 -1
  869. package/dist/chunks/sandbox-toggle-1.1.16-pm4wkyc5.mjs +0 -1
  870. package/dist/chunks/session-1.1.16-vrf7bvfv.mjs +0 -2
  871. package/dist/chunks/sessionDiscovery-1.1.16-e919fb36.mjs +0 -1
  872. package/dist/chunks/sessionFileAccessHooks-1.1.16-6sbxmck5.mjs +0 -1
  873. package/dist/chunks/sessionStorage-1.1.16-1pd52qxc.mjs +0 -1
  874. package/dist/chunks/settings-1.1.16-0twvg2yc.mjs +0 -1
  875. package/dist/chunks/setup-1.1.16-mhj053ej.mjs +0 -12
  876. package/dist/chunks/sinks-1.1.16-10wxx1a3.mjs +0 -1
  877. package/dist/chunks/skills-1.1.16-r7v633j2.mjs +0 -1
  878. package/dist/chunks/startupProfiler-1.1.16-mmrhkw7p.mjs +0 -1
  879. package/dist/chunks/startupUpdateCheck-1.1.16-8tj1n7gt.mjs +0 -1
  880. package/dist/chunks/state-1.1.16-8zy52d2r.mjs +0 -1
  881. package/dist/chunks/stats-1.1.16-mrmhzc8j.mjs +0 -6
  882. package/dist/chunks/status-1.1.16-qpanvb67.mjs +0 -1
  883. package/dist/chunks/stickers-1.1.16-0d4zm7x4.mjs +0 -1
  884. package/dist/chunks/subprocessEnv-1.1.16-3pz224am.mjs +0 -1
  885. package/dist/chunks/tasks-1.1.16-cv8bsqt6.mjs +0 -1
  886. package/dist/chunks/teamHelpers-1.1.16-yrkqrc58.mjs +0 -1
  887. package/dist/chunks/teammateModeSnapshot-1.1.16-xgaxxh5q.mjs +0 -1
  888. package/dist/chunks/teleport-1.1.16-rhtckzvp.mjs +0 -1
  889. package/dist/chunks/terminalSetup-1.1.16-fptwmgph.mjs +0 -1
  890. package/dist/chunks/theme-1.1.16-4tskjw6p.mjs +0 -1
  891. package/dist/chunks/thinkback-1.1.16-d1x5jsx0.mjs +0 -1
  892. package/dist/chunks/thinkback-play-1.1.16-54xyd092.mjs +0 -1
  893. package/dist/chunks/toolPool-1.1.16-ga5s9f1k.mjs +0 -1
  894. package/dist/chunks/toolSearch-1.1.16-xw1xa379.mjs +0 -1
  895. package/dist/chunks/tools-1.1.16-h2yhp23r.mjs +0 -1
  896. package/dist/chunks/trustedDevice-1.1.16-nrdjhk2z.mjs +0 -1
  897. package/dist/chunks/turndown.cjs-1.1.16-4yvp9q16.mjs +0 -69
  898. package/dist/chunks/types-1.1.16-47y90s0f.mjs +0 -1
  899. package/dist/chunks/ultrareviewCommand-1.1.16-ej1e8hkt.mjs +0 -4
  900. package/dist/chunks/update-1.1.16-rtkcq95j.mjs +0 -72
  901. package/dist/chunks/upgrade-1.1.16-52bm5sf9.mjs +0 -1
  902. package/dist/chunks/upload-1.1.16-m2wyhzek.mjs +0 -7
  903. package/dist/chunks/upstreamproxy-1.1.16-vwczyqak.mjs +0 -14
  904. package/dist/chunks/url-handler-napi-1.1.16-qa109pxx.mjs +0 -1
  905. package/dist/chunks/usage-1.1.16-yqk04de2.mjs +0 -1
  906. package/dist/chunks/util-1.1.16-5f2kcd2a.mjs +0 -1
  907. package/dist/chunks/utils-1.1.16-pgvxvt37.mjs +0 -1
  908. package/dist/chunks/vim-1.1.16-9pd3j7qj.mjs +0 -1
  909. package/dist/chunks/watchLoop-1.1.16-wdxk66eb.mjs +0 -13
  910. package/dist/chunks/watcher-1.1.16-cd9fad12.mjs +0 -1
  911. package/dist/chunks/wiki-1.1.16-8290ftnh.mjs +0 -132
  912. package/dist/chunks/workflows-1.1.16-f4k926bs.mjs +0 -1
  913. package/dist/chunks/worktree-1.1.16-4s4hp83q.mjs +0 -1
  914. package/dist/chunks/worktreeModeEnabled-1.1.16-je59whhd.mjs +0 -1
  915. package/dist/chunks/wrapper-1.1.16-dfsehczs.mjs +0 -7
@@ -1,2 +0,0 @@
1
- import{Ssa as M}from"./cli-1.1.16-w5ns6t4b.mjs";function P(j){return j.message?.role??j.role}function G(j){return j.message?j.message.content:j.content}function K(j){if(!j||typeof j!=="object")return!1;if(j.type==="image")return!0;if(j.type==="tool_result"&&Array.isArray(j.content))return j.content.some((q)=>K(q));return!1}function Q(j){if(!Array.isArray(j))return!1;return j.some((q)=>K(q))}function U(j){if(!Array.isArray(j)||j.length===0)return!1;return j.every((q)=>{let w=q;return w&&typeof w==="object"&&w.type==="tool_result"})}function V(j){let q=j[j.length-1];if(!q||typeof q!=="object")return"user";if(P(q)!=="user")return"agent";if(U(G(q)))return"agent";return"user"}function W(j){return j.some((q)=>Q(G(q)))}function X(j){let q={"x-initiator":V(j)};if(W(j))q["Copilot-Vision-Request"]="true";return q}function Z(j,q={}){return(w,B)=>{let E=new Headers(B?.headers);for(let[z,F]of Object.entries(q))if(!E.has(z))E.set(z,F);try{if(typeof B?.body==="string"){let z=JSON.parse(B.body);if(Array.isArray(z?.messages))for(let[F,L]of Object.entries(X(z.messages)))E.set(F,L)}}catch{}return j(w,{...B,headers:E})}}var Y=()=>{};
2
- export{V as Ki,W as Li,X as Mi,Z as Ni,Y as Oi};
@@ -1,2 +0,0 @@
1
- import{Kea as P,dfa as y}from"./cli-1.1.16-jcye29qq.mjs";import{Ssa as U}from"./cli-1.1.16-w5ns6t4b.mjs";var j,D,G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),E=D(112,101,110,103,117,105,110),I=D(116,117,114,116,108,101),f=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),h=D(99,97,112,121,98,97,114,97),b=D(99,97,99,116,117,115),u=D(114,111,98,111,116),T=D(114,97,98,98,105,116),p=D(109,117,115,104,114,111,111,109),m=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,E,I,f,k,A,h,b,u,T,p,m],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
2
- export{G as eX,M as fX,N as gX,Y as hX,C as iX,_ as jX,R as kX,E as lX,I as mX,f as nX,k as oX,A as pX,h as qX,b as rX,u as sX,T as tX,p as uX,m as vX,e as wX,W as xX,a as yX,s as zX,r as AX,g as BX};
@@ -1,2 +0,0 @@
1
- import{Dga as B,Kea as A,Lga as N,dfa as L}from"./cli-1.1.16-jcye29qq.mjs";import{Ika as z,Lka as K}from"./cli-1.1.16-s404wy1x.mjs";import{Rsa as I,Ssa as J}from"./cli-1.1.16-w5ns6t4b.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
2
- export{P as WU,Q as XU,R as YU,H as ZU,U as _U,V as $U,W as aV};
@@ -1,2 +0,0 @@
1
- import{xZ as O}from"./cli-1.1.16-6ptafg83.mjs";import{$3 as Q,Z3 as X}from"./cli-1.1.16-72wxrwg0.mjs";import{a4 as b}from"./cli-1.1.16-2mzk1cmm.mjs";import{Rea as W,dfa as P}from"./cli-1.1.16-jcye29qq.mjs";import{Osa as U}from"./cli-1.1.16-w5ns6t4b.mjs";P();Q();var Y=U(O(),1),J=U(b(),1);function L(D,z){let F=z/100*(D.length-1),q=Math.floor(F),k=Math.ceil(F);if(q===k)return D[q];return D[q]+(D[k]-D[q])*(F-q)}var T=1024;function V(){let D=new Map,z=new Map,F=new Map;return{increment(q,k=1){D.set(q,(D.get(q)??0)+k)},set(q,k){D.set(q,k)},observe(q,k){let y=z.get(q);if(!y)y={reservoir:[],count:0,sum:0,min:k,max:k},z.set(q,y);if(y.count++,y.sum+=k,k<y.min)y.min=k;if(k>y.max)y.max=k;if(y.reservoir.length<T)y.reservoir.push(k);else{let B=Math.floor(Math.random()*y.count);if(B<T)y.reservoir[B]=k}},add(q,k){let y=F.get(q);if(!y)y=new Set,F.set(q,y);y.add(k)},getAll(){let q=Object.fromEntries(D);for(let[k,y]of z){if(y.count===0)continue;q[`${k}_count`]=y.count,q[`${k}_min`]=y.min,q[`${k}_max`]=y.max,q[`${k}_avg`]=y.sum/y.count;let B=[...y.reservoir].sort((G,H)=>G-H);q[`${k}_p50`]=L(B,50),q[`${k}_p95`]=L(B,95),q[`${k}_p99`]=L(B,99)}for(let[k,y]of F)q[k]=y.size;return q}}}var Z=J.createContext(null);function C(D){let z=Y.c(7),{store:F,children:q}=D,k;if(z[0]===Symbol.for("react.memo_cache_sentinel"))k=V(),z[0]=k;else k=z[0];let B=F??k,G,H;if(z[1]!==B)G=()=>{let M=()=>{let N=B.getAll();if(Object.keys(N).length>0)W((A)=>({...A,lastSessionMetrics:N}))};return process.on("exit",M),()=>{process.off("exit",M)}},H=[B],z[1]=B,z[2]=G,z[3]=H;else G=z[2],H=z[3];J.useEffect(G,H);let K;if(z[4]!==q||z[5]!==B)K=X(Z.Provider,{value:B,children:q}),z[4]=q,z[5]=B,z[6]=K;else K=z[6];return K}
2
- export{V as fb,C as gb};
@@ -1,2 +0,0 @@
1
- import{Wi as J,Yi as K,Zi as M}from"./cli-1.1.16-w4zy236d.mjs";import{B1 as X,xZ as P}from"./cli-1.1.16-6ptafg83.mjs";import{$3 as q}from"./cli-1.1.16-72wxrwg0.mjs";import{a4 as N}from"./cli-1.1.16-2mzk1cmm.mjs";import{Kea as H,dfa as Z}from"./cli-1.1.16-jcye29qq.mjs";import{gha as Y}from"./cli-1.1.16-r0tgqw2k.mjs";import{Ija as V}from"./cli-1.1.16-5a4a2nqs.mjs";import{Osa as z,Ssa as Q}from"./cli-1.1.16-w5ns6t4b.mjs";function B(){let k=J();if(!k||!k.available||k.granted)return!1;return K(k)!==null}function E(){if(!B())return!1;let k=H();if(k.hasVisitedExtraUsage)return!1;if((k.overageCreditUpsellSeenCount??0)>=A)return!1;return!0}var R,y,A=3;var D=Q(()=>{X();V();M();Z();Y();q();R=z(P(),1),y=z(N(),1)});
2
- export{E as Wg,D as Xg};
@@ -1,2 +0,0 @@
1
- import{xN as Q,yN as $}from"./cli-1.1.16-hwr77b8n.mjs";import{Ola as V,Pla as P,Qma as W,Rma as E}from"./cli-1.1.16-eabt3s19.mjs";import{Ssa as L}from"./cli-1.1.16-w5ns6t4b.mjs";function Z(x,q,D,G){var H=-1,J=x==null?0:x.length;while(++H<J){var K=x[H];q(G,K,D(K),x)}return G}var M;var N=L(()=>{M=Z});function B(x,q,D,G){return Q(x,function(H,J,K){q(G,H,D(H),K)}),G}var S;var U=L(()=>{$();S=B});function I(x,q){return function(D,G){var H=V(D)?M:S,J=q?q():{};return H(D,x,W(G,2),J)}}var X;var Y=L(()=>{N();U();E();P();X=I});var R,v;var C=L(()=>{Y();R=X(function(x,q,D){x[D?0:1].push(q)},function(){return[[],[]]}),v=R});
2
- export{v as bd,C as cd};
@@ -1,4 +0,0 @@
1
- import{Pg as nJ,Qg as tY}from"./cli-1.1.16-eatavqvn.mjs";import{Rg as aJ,Sg as sJ,Tg as s0,Vg as qX}from"./cli-1.1.16-htk59n0r.mjs";import{Xg as sX}from"./cli-1.1.16-qwgc24yv.mjs";import{jh as a0,kh as aY,lh as iJ,mh as sY}from"./cli-1.1.16-gqgat9ps.mjs";import{nh as lJ,oh as oY}from"./cli-1.1.16-67yh08z2.mjs";import{ph as rJ,qh as eY,rh as oJ,sh as ZX}from"./cli-1.1.16-16cpmrsq.mjs";import{th as VY,uh as O0,wh as cJ,xh as uJ}from"./cli-1.1.16-wzzrc1xq.mjs";import{$i as rX,_i as JY}from"./cli-1.1.16-kf5fv5t0.mjs";import{$T as YX,Bz as Aq,Cz as bZ,DT as hY,Eo as uY,Ez as aX,Gm as qY,Hm as nX,Ij as bQ,Ky as oX,Lj as Oq,NT as qQ,OP as vQ,PI as xJ,QI as iY,Qj as wX,Rp as bJ,Sp as dY,TP as _X,Vx as EZ,Wx as vJ,XT as JQ,Xx as gJ,YT as QQ,Yx as yq,ao as PZ,bo as cY,co as T,do as cZ,eo as qZ,fL as o0,fo as E0,gL as nY,gT as dq,io as dZ,jo as g0,kL as U0,lG as JJ,lL as aq,mG as jY,mL as sq,nH as Tq,nL as tq,oH as jq,pH as $q,po as r0,qH as wq,rH as _q,sH as bq,tH as vq,to as _J,uH as gq,vG as lZ,vH as mq,vN as sZ,wG as fY,wH as pq,wN as Qq,xG as lq,xH as LY,ym as ZY,zm as iX}from"./cli-1.1.16-hwr77b8n.mjs";import{XU as mJ,YU as pJ,aV as lY}from"./cli-1.1.16-q827fp1q.mjs";import{MW as dJ,UW as rY}from"./cli-1.1.16-vngrsrs8.mjs";import{AY as XY,BY as qG,DY as uZ,EY as T0,GY as M0,JY as GY,KY as JG,hY as RZ,iY as X0,vY as b,wY as wJ,xY as iZ}from"./cli-1.1.16-cnwnk7gb.mjs";import{A0 as $J,B1 as SZ,GZ as xZ,HZ as TJ,MZ as f0,OZ as lX,VZ as n0,W0 as U,WZ as jJ,Y0 as K,_Z as xY,g1 as eQ,xZ as $Z}from"./cli-1.1.16-6ptafg83.mjs";import{$3 as x,Y3 as WZ,Z3 as G,_3 as z}from"./cli-1.1.16-72wxrwg0.mjs";import{a4 as FZ}from"./cli-1.1.16-2mzk1cmm.mjs";import{l4 as CQ,m4 as kX}from"./cli-1.1.16-vq6g4ncg.mjs";import{$6 as yJ,K6 as Pq,K8 as dX,P6 as fJ,R5 as Y0,S5 as l0,T4 as sQ,U5 as CJ,V5 as i0,X5 as SJ,X6 as k0,Z4 as uX,a6 as hJ,j6 as pY,v8 as tQ,y5 as nZ,z5 as mY}from"./cli-1.1.16-49bqpfq6.mjs";import{e9 as KZ,f9 as OJ}from"./cli-1.1.16-dtwt84pe.mjs";import{Dga as MZ,Fda as u0,Hda as ZZ,Hea as y,Kda as d0,Kea as f,Lea as RJ,Lga as I0,Qea as BJ,Qfa as GQ,Tda as gY,Tfa as VQ,Uea as UJ,Ufa as XX,Vba as PJ,Vea as kJ,Wba as AJ,Wfa as KQ,Xba as LJ,Yba as MJ,bca as vY,bga as HQ,dfa as IJ,dga as WQ,hga as zQ,lga as GX,oga as wZ,r_ as CZ,rga as EJ,s_ as v0}from"./cli-1.1.16-jcye29qq.mjs";import{$ga as LZ,_ga as D0,aha as aQ,fha as S0,gha as Jq}from"./cli-1.1.16-r0tgqw2k.mjs";import{yha as NJ}from"./cli-1.1.16-c9b05x0s.mjs";import{Jha as FJ,Vha as bY}from"./cli-1.1.16-way1d0g7.mjs";import{Ria as L0,Tia as fq}from"./cli-1.1.16-kz0jkcdc.mjs";import{Fja as S,Ija as _Y}from"./cli-1.1.16-5a4a2nqs.mjs";import{Ika as _Z,Lka as qq,qka as cX}from"./cli-1.1.16-s404wy1x.mjs";import{lla as Dq,nla as $X}from"./cli-1.1.16-njacmwr1.mjs";import{Bla as DJ,tla as zJ,vla as XQ}from"./cli-1.1.16-b80x5mp6.mjs";import{Ana as iQ,Una as nQ,Vna as rQ,era as hq,fna as Sq,foa as Nq,fpa as c0,gpa as WJ,qoa as oQ,wna as dQ,xna as lQ}from"./cli-1.1.16-eabt3s19.mjs";import{Osa as u,Ssa as r}from"./cli-1.1.16-w5ns6t4b.mjs";function MY(){let q=Sq(),Q=dq(q)??G(K,{dimColor:!0,children:"/rename to add a name"});return[{label:"Version",value:"1.1.16"},{label:"Session name",value:Q},{label:"Session ID",value:q},{label:"cwd",value:L0()},...gq(),...mq()]}function RY({mainLoopModel:q,mcp:Z,theme:Q,context:Y}){return[{label:"Model",value:pq(q)},...jq(Z.clients,Y.options.ideInstallationStatus,Q),...$q(Z.clients,Q),...Tq(),..._q()]}async function xq(){return[...await bq(),...await vq(),...await wq()]}function BY(q){let Z=R0.c(8),{value:Q}=q;if(Array.isArray(Q)){let Y;if(Z[0]!==Q){let W;if(Z[2]!==Q.length)W=(D,N)=>z(K,{children:[D,N<Q.length-1?",":""]},N),Z[2]=Q.length,Z[3]=W;else W=Z[3];Y=Q.map(W),Z[0]=Q,Z[1]=Y}else Y=Z[1];let V;if(Z[4]!==Y)V=G(U,{flexWrap:"wrap",columnGap:1,flexShrink:99,children:Y}),Z[4]=Y,Z[5]=V;else V=Z[5];return V}if(typeof Q==="string"){let Y;if(Z[6]!==Q)Y=G(K,{children:Q}),Z[6]=Q,Z[7]=Y;else Y=Z[7];return Y}return Q}function cq(q){let Z=R0.c(20),{context:Q,diagnosticsPromise:Y}=q,V=EZ(EY),W=EZ(IY),[D]=xZ(),N;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))N=MY(),Z[0]=N;else N=Z[0];let L;if(Z[1]!==Q||Z[2]!==V||Z[3]!==W||Z[4]!==D)L=RY({mainLoopModel:V,mcp:W,theme:D,context:Q}),Z[1]=Q,Z[2]=V,Z[3]=W,Z[4]=D,Z[5]=L;else L=Z[5];let M;if(Z[6]!==L)M=[N,L],Z[6]=L,Z[7]=M;else M=Z[7];let H=M,O=uZ()?1:void 0,F;if(Z[8]!==H)F=H.map(UY),Z[8]=H,Z[9]=F;else F=Z[9];let P;if(Z[10]!==Y)P=G(B0.Suspense,{fallback:null,children:G(CY,{promise:Y})}),Z[10]=Y,Z[11]=P;else P=Z[11];let R;if(Z[12]!==O||Z[13]!==F||Z[14]!==P)R=z(U,{flexDirection:"column",gap:1,flexGrow:O,children:[F,P]}),Z[12]=O,Z[13]=F,Z[14]=P,Z[15]=R;else R=Z[15];let I;if(Z[16]===Symbol.for("react.memo_cache_sentinel"))I=G(K,{dimColor:!0,children:G(T,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})}),Z[16]=I;else I=Z[16];let k;if(Z[17]!==O||Z[18]!==R)k=z(U,{flexDirection:"column",flexGrow:O,children:[R,I]}),Z[17]=O,Z[18]=R,Z[19]=k;else k=Z[19];return k}function UY(q,Z){return q.length>0&&G(U,{flexDirection:"column",children:q.map(kY)},Z)}function kY(q,Z){let{label:Q,value:Y}=q;return z(U,{flexDirection:"row",gap:1,flexShrink:0,children:[Q!==void 0&&z(K,{bold:!0,children:[Q,":"]}),G(BY,{value:Y})]},Z)}function IY(q){return q.mcp}function EY(q){return q.mainLoopModel}function CY(q){let Z=R0.c(5),{promise:Q}=q,Y=B0.use(Q);if(Y.length===0)return null;let V;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))V=G(K,{bold:!0,children:"System Diagnostics"}),Z[0]=V;else V=Z[0];let W;if(Z[1]!==Y)W=Y.map(SY),Z[1]=Y,Z[2]=W;else W=Z[2];let D;if(Z[3]!==W)D=z(U,{flexDirection:"column",paddingBottom:1,children:[V,W]}),Z[3]=W,Z[4]=D;else D=Z[4];return D}function SY(q,Z){return z(U,{flexDirection:"row",gap:1,paddingX:1,children:[G(K,{color:"error",children:CZ.warning}),typeof q==="string"?G(K,{wrap:"wrap",children:q}):q]},Z)}var R0,B0;var uq=r(()=>{v0();hq();M0();SZ();yq();fq();hY();LY();cZ();x();R0=u($Z(),1),B0=u(FZ(),1)});function nq(q){let Z=iq.c(17),{currentVersion:Q,onChoice:Y}=q,V;if(Z[0]!==Y)V=function(k){Y(k)},Z[0]=Y,Z[1]=V;else V=Z[1];let W=V,D;if(Z[2]!==Y)D=function(){Y("cancel")},Z[2]=Y,Z[3]=D;else D=Z[3];let N=D,L;if(Z[4]!==Q)L=z(K,{children:["The stable channel may have an older version than what you're currently running (",Q,")."]}),Z[4]=Q,Z[5]=L;else L=Z[5];let M;if(Z[6]===Symbol.for("react.memo_cache_sentinel"))M=G(K,{dimColor:!0,children:"How would you like to handle this?"}),Z[6]=M;else M=Z[6];let H;if(Z[7]===Symbol.for("react.memo_cache_sentinel"))H={label:"Allow possible downgrade to stable version",value:"downgrade"},Z[7]=H;else H=Z[7];let O=`Stay on current version (${Q}) until stable catches up`,F;if(Z[8]!==O)F=[H,{label:O,value:"stay"}],Z[8]=O,Z[9]=F;else F=Z[9];let P;if(Z[10]!==W||Z[11]!==F)P=G(lZ,{options:F,onChange:W}),Z[10]=W,Z[11]=F,Z[12]=P;else P=Z[12];let R;if(Z[13]!==N||Z[14]!==L||Z[15]!==P)R=z(dZ,{title:"Switch to Stable Channel",onCancel:N,color:"permission",hideBorder:!0,hideInputGuide:!0,children:[L,M,P]}),Z[13]=N,Z[14]=L,Z[15]=P,Z[16]=R;else R=Z[16];return R}var iq;var rq=r(()=>{SZ();lq();g0();x();iq=u($Z(),1)});function oq(q){return Object.entries(q).map(([Z,Q])=>({label:Q?.name??yY,value:Z,description:Q?.description??TY}))}function ZJ(q){let Z=eq.c(16),{initialStyle:Q,onComplete:Y,onCancel:V,isStandaloneCommand:W}=q,D;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))D=[],Z[0]=D;else D=Z[0];let[N,L]=q0.useState(D),[M,H]=q0.useState(!0),O,F;if(Z[1]===Symbol.for("react.memo_cache_sentinel"))O=()=>{sq(L0()).then((d)=>{let m=oq(d);L(m),H(!1)}).catch(()=>{let d=oq(aq);L(d),H(!1)})},F=[],Z[1]=O,Z[2]=F;else O=Z[1],F=Z[2];q0.useEffect(O,F);let P;if(Z[3]!==Y)P=(d)=>{Y(d)},Z[3]=Y,Z[4]=P;else P=Z[4];let R=P,I=!W,k=!W,_;if(Z[5]===Symbol.for("react.memo_cache_sentinel"))_=G(U,{marginTop:1,children:G(K,{dimColor:!0,children:"This changes how Claudin communicates with you"})}),Z[5]=_;else _=Z[5];let t;if(Z[6]!==R||Z[7]!==Q||Z[8]!==M||Z[9]!==N)t=z(U,{flexDirection:"column",gap:1,children:[_,M?G(K,{dimColor:!0,children:"Loading output styles…"}):G(lZ,{options:N,onChange:R,visibleOptionCount:10,defaultValue:Q})]}),Z[6]=R,Z[7]=Q,Z[8]=M,Z[9]=N,Z[10]=t;else t=Z[10];let w;if(Z[11]!==V||Z[12]!==I||Z[13]!==k||Z[14]!==t)w=G(dZ,{title:"Preferred output style",onCancel:V,hideInputGuide:I,hideBorder:k,children:t}),Z[11]=V,Z[12]=I,Z[13]=k,Z[14]=t,Z[15]=w;else w=Z[15];return w}var eq,q0,yY="Default",TY="Claudin completes coding tasks efficiently and provides concise responses";var qJ=r(()=>{tq();SZ();fq();fY();g0();x();eq=u($Z(),1),q0=u(FZ(),1)});function YJ(q){let Z=QJ.c(13),{initialLanguage:Q,onComplete:Y,onCancel:V}=q,[W,D]=m0.useState(Q),[N,L]=m0.useState((Q??"").length),M;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))M={context:"Settings"},Z[0]=M;else M=Z[0];b("confirm:no",V,M);let H;if(Z[1]!==W||Z[2]!==Y)H=function(){let w=W?.trim();Y(w||void 0)},Z[1]=W,Z[2]=Y,Z[3]=H;else H=Z[3];let O=H,F;if(Z[4]===Symbol.for("react.memo_cache_sentinel"))F=G(K,{children:"Enter your preferred response and voice language:"}),Z[4]=F;else F=Z[4];let P;if(Z[5]===Symbol.for("react.memo_cache_sentinel"))P=G(K,{children:CZ.pointer}),Z[5]=P;else P=Z[5];let R=W??"",I;if(Z[6]!==N||Z[7]!==O||Z[8]!==R)I=z(U,{flexDirection:"row",gap:1,children:[P,G(JJ,{value:R,onChange:D,onSubmit:O,focus:!0,showCursor:!0,placeholder:`e.g., Japanese, 日本語, Español${CZ.ellipsis}`,columns:60,cursorOffset:N,onChangeCursorOffset:L})]}),Z[6]=N,Z[7]=O,Z[8]=R,Z[9]=I;else I=Z[9];let k;if(Z[10]===Symbol.for("react.memo_cache_sentinel"))k=G(K,{dimColor:!0,children:"Leave empty for default (English)"}),Z[10]=k;else k=Z[10];let _;if(Z[11]!==I)_=z(U,{flexDirection:"column",gap:1,children:[F,I,k]}),Z[11]=I,Z[12]=_;else _=Z[12];return _}var QJ,m0;var XJ=r(()=>{v0();SZ();iZ();jY();x();QJ=u($Z(),1),m0=u(FZ(),1)});function GJ(q,{grouped:Z=!0}={}){if(!Z)return q.map((W)=>({kind:"setting",id:W.id,item:W}));let Q=new Map;for(let W of q){let D=Q.get(W.id);if(D)D.push(W);else Q.set(W.id,[W])}let Y=[],V=(W,D)=>{if(D.length===0)return;if(Y.length>0)Y.push({kind:"spacer",id:`spacer:${W.id}`});Y.push({kind:"header",id:`header:${W.id}`,label:W.label});for(let N of D)Y.push({kind:"setting",id:N.id,item:N})};for(let W of $Y){let D=[];for(let N of W.settingIds){let L=Q.get(N);if(!L)continue;D.push(...L),Q.delete(N)}V(W,D)}return V(wY,[...Q.values()].flat()),Y}function hZ(q){return q?.kind==="setting"}function Q0(q){return q.findIndex((Z)=>hZ(Z))}function p0(q){for(let Z=q.length-1;Z>=0;Z--)if(hZ(q[Z]))return Z;return-1}function J0(q,Z,Q){for(let Y=Z+Q;Y>=0&&Y<q.length;Y+=Q)if(hZ(q[Y]))return Y;return hZ(q[Z])?Z:Q0(q)}function VJ(q,Z,Q){if(Q===1){for(let V=Z+1;V<q.length;V++)if(q[V]?.kind==="header")return J0(q,V,1);return p0(q)}let Y=-1;for(let V=Z-1;V>=0;V--)if(q[V]?.kind==="header"){Y=V;break}for(let V=Y-1;V>=0;V--)if(q[V]?.kind==="header")return J0(q,V,1);return Q0(q)}function x0(q){return q.reduce((Z,Q)=>hZ(Q)?Z+1:Z,0)}var $Y,wY;var KJ=r(()=>{$Y=[{id:"model",label:"Model & thinking",settingIds:["model","thinkingEnabled","fastMode","outputStyle","language","autoCompactEnabled"]},{id:"agents",label:"Agents & workflows",settingIds:["autoBackgroundAgentsEnabled","workflowsDefaultBackground","teammateMode","teammateDefaultModel"]},{id:"tools",label:"Tools & permissions",settingIds:["defaultPermissionMode","useAutoModeDuringPlan","bashOutputFilterEnabled","toolResultSummarizerEnabled","repeatedFailureHintEnabled","fileCheckpointingEnabled","respectGitignore"]},{id:"interface",label:"Interface",settingIds:["theme","defaultView","verbose","showTurnDuration","collapseFileWritesEnabled","showCacheStats","spinnerTipsEnabled","prefersReducedMotion","prStatusFooterEnabled","promptSuggestionEnabled","editorMode","inlineImagesMode"]},{id:"terminal",label:"Terminal",settingIds:["terminalRenderer","frameRate","terminalProgressBarEnabled","showStatusInTerminalTab","copyOnSelect","copyFullResponse"]},{id:"notifications",label:"Notifications",settingIds:["notifChannel","taskCompleteNotifEnabled","inputNeededNotifEnabled","agentPushNotifEnabled"]},{id:"integrations",label:"Integrations",settingIds:["diffTool","autoConnectIde","autoInstallIdeExtension","remoteControlAtStartup"]},{id:"context",label:"Context & privacy",settingIds:["thinkingHistoryRedactionEnabled","narrationHistoryRedactionEnabled","showExternalIncludesDialog"]},{id:"updates",label:"Updates & account",settingIds:["autoUpdatesChannel","apiKey"]}],wY={id:"other",label:"Other",settingIds:[]}});function eJ({onClose:q,context:Z,setTabsHidden:Q,onIsSearchModeChange:Y,contentHeight:V}){let{headerFocused:W,focusHeader:D}=cJ(),N=uZ(),[,L]=xZ(),M=TJ(),[H,O]=v.useState(f()),F=i.useRef(f()),[P,R]=v.useState(d0()),I=i.useRef(d0()),[k,_]=v.useState(P?.outputStyle||U0),t=i.useRef(k),[w,d]=v.useState(P?.language),m=i.useRef(w),[j,QZ]=v.useState(0),[o,YZ]=v.useState(0),[n,zZ]=v.useState(!0),jZ=$J(),[e]=v.useState(()=>n0()),{rows:vZ,columns:XZ}=RZ(),F0=Math.max(24,Math.min(44,XZ-18)),C=V??Math.min(Math.floor(vZ*0.8),30),p=Math.max(5,C-10),BZ=EZ((J)=>J.mainLoopModel),N0=EZ((J)=>J.verbose),gZ=EZ((J)=>J.thinkingEnabled),mZ=EZ((J)=>Y0()?J.fastMode:!1),pZ=EZ((J)=>J.promptSuggestionEnabled),j0=!1,GZ=vJ(),[tZ,E]=v.useState({}),$=i.useRef(gZ),[a]=v.useState(()=>u0("localSettings")),[VZ]=v.useState(()=>u0("userSettings")),HZ=i.useRef(M),eZ=gJ(),[UZ]=v.useState(()=>{let J=eZ.getState();return{mainLoopModel:J.mainLoopModel,mainLoopModelForSession:J.mainLoopModelForSession,verbose:J.verbose,thinkingEnabled:J.thinkingEnabled,fastMode:J.fastMode,promptSuggestionEnabled:J.promptSuggestionEnabled,isBriefOnly:J.isBriefOnly,replBridgeEnabled:J.replBridgeEnabled,replBridgeOutboundOnly:J.replBridgeOutboundOnly,settings:J.settings}}),[$0]=v.useState(()=>c0()),NZ=i.useRef(!1),[HY,Z0]=v.useState(!1),[l,g]=v.useState(null),{query:kZ,setQuery:P0,cursorOffset:WY}=oJ({isActive:n&&l===null&&!W,onExit:()=>zZ(!1),onExitUp:D,passthroughCtrlKeys:["c","d"]}),Mq=n&&!W;i.useEffect(()=>{Y?.(Mq)},[Mq,Y]);let zY=_J(Z.options.mcpClients),DY=!zJ(process.env.CLAUDIN_DISABLE_FILE_CHECKPOINTING),Rq=i.use(qQ(!0)),OY=QQ(Rq),IZ=kJ();function Bq(J){S("",{from_model:BZ,to_model:J}),GZ((A)=>({...A,mainLoopModel:J,mainLoopModelForSession:null})),E((A)=>{let B=k0(J)+(iJ(J,!1,fJ())?" · Billed as extra usage":"");if("model"in A){let{model:h,...DZ}=A;return{...DZ,model:B}}return{...A,model:B}})}function FY(J){y((X)=>({...X,verbose:J})),O({...f(),verbose:J}),GZ((X)=>({...X,verbose:J})),E((X)=>{if("verbose"in X){let{verbose:A,...B}=X;return B}return{...X,verbose:J}})}let w0=[{id:"autoCompactEnabled",label:"Auto-compact",value:H.autoCompactEnabled,type:"boolean",onChange(J){y((X)=>({...X,autoCompactEnabled:J})),O({...f(),autoCompactEnabled:J}),S("",{enabled:J})}},{id:"thinkingHistoryRedactionEnabled",label:"Thinking history redaction",value:H.thinkingHistoryRedactionEnabled,type:"boolean",onChange(J){y((X)=>({...X,thinkingHistoryRedactionEnabled:J})),O({...f(),thinkingHistoryRedactionEnabled:J}),S("claudin_thinking_history_redaction_setting_changed",{enabled:J})}},{id:"narrationHistoryRedactionEnabled",label:"Narration history redaction",value:H.narrationHistoryRedactionEnabled,type:"boolean",onChange(J){y((X)=>({...X,narrationHistoryRedactionEnabled:J})),O({...f(),narrationHistoryRedactionEnabled:J}),S("claudin_narration_history_redaction_setting_changed",{enabled:J})}},{id:"showCacheStats",label:"Cache stats display",value:H.showCacheStats,options:["off","compact","full"],type:"enum",onChange(J){let X=J==="off"||J==="compact"||J==="full"?J:"compact";y((A)=>({...A,showCacheStats:X})),O({...f(),showCacheStats:X}),S("",{mode:X})}},{id:"toolResultSummarizerEnabled",label:"Tool result summarizer",value:H.toolResultSummarizerEnabled,type:"boolean",onChange(J){y((X)=>({...X,toolResultSummarizerEnabled:J})),O({...f(),toolResultSummarizerEnabled:J}),S("claudin_tool_result_summarizer_setting_changed",{enabled:J})}},{id:"bashOutputFilterEnabled",label:"Bash output filter",value:H.bashOutputFilterEnabled!==!1,type:"boolean",onChange(J){y((X)=>({...X,bashOutputFilterEnabled:J})),O({...f(),bashOutputFilterEnabled:J}),S("claudin_bash_output_filter_setting_changed",{enabled:J})}},{id:"autoBackgroundAgentsEnabled",label:"Auto-background agents",value:H.autoBackgroundAgentsEnabled===!0,type:"boolean",onChange(J){y((X)=>({...X,autoBackgroundAgentsEnabled:J})),O({...f(),autoBackgroundAgentsEnabled:J}),S("claudin_auto_background_agents_setting_changed",{enabled:J})}},{id:"repeatedFailureHintEnabled",label:"Repeated-failure hint",value:H.repeatedFailureHintEnabled!==!1,type:"boolean",onChange(J){y((X)=>({...X,repeatedFailureHintEnabled:J})),O({...f(),repeatedFailureHintEnabled:J}),S("claudin_repeated_failure_hint_setting_changed",{enabled:J})}},{id:"collapseFileWritesEnabled",label:"Collapse file writes",value:H.collapseFileWritesEnabled!==!1,type:"boolean",onChange(J){y((X)=>({...X,collapseFileWritesEnabled:J})),O({...f(),collapseFileWritesEnabled:J}),S("claudin_collapse_file_writes_setting_changed",{enabled:J})}},{id:"workflowsDefaultBackground",label:"Workflows run in background",value:H.workflowsDefaultBackground===!0,type:"boolean",onChange(J){y((X)=>({...X,workflowsDefaultBackground:J})),O({...f(),workflowsDefaultBackground:J})}},{id:"inlineImagesMode",label:"Inline terminal images",value:H.inlineImagesMode??"auto",options:["auto","enable","disable"],type:"enum",onChange(J){let X=J==="auto"||J==="enable"||J==="disable"?J:"auto";y((A)=>({...A,inlineImagesMode:X})),O({...f(),inlineImagesMode:X}),S("claudin_inline_images_setting_changed",{mode:X})}},{id:"spinnerTipsEnabled",label:"Show tips",value:P?.spinnerTipsEnabled??!0,type:"boolean",onChange(J){ZZ("localSettings",{spinnerTipsEnabled:J}),R((X)=>({...X,spinnerTipsEnabled:J})),S("",{enabled:J})}},{id:"prefersReducedMotion",label:"Reduce motion",value:P?.prefersReducedMotion??!1,type:"boolean",onChange(J){ZZ("localSettings",{prefersReducedMotion:J}),R((X)=>({...X,prefersReducedMotion:J})),GZ((X)=>({...X,settings:{...X.settings,prefersReducedMotion:J}})),S("",{enabled:J})}},{id:"thinkingEnabled",label:"Thinking mode",value:gZ??!0,type:"boolean",onChange(J){GZ((X)=>({...X,thinkingEnabled:J})),ZZ("userSettings",{alwaysThinkingEnabled:J?void 0:!1}),S("",{enabled:J})}},...Y0()&&l0()?[{id:"fastMode",label:`Fast mode (${CJ} only)`,value:!!mZ,type:"boolean",onChange(J){if(hJ(),ZZ("userSettings",{fastMode:J?!0:void 0}),J)GZ((X)=>({...X,mainLoopModel:i0(),mainLoopModelForSession:null,fastMode:!0})),E((X)=>({...X,model:i0(),"Fast mode":"ON"}));else GZ((X)=>({...X,fastMode:!1})),E((X)=>({...X,"Fast mode":"OFF"}))}}]:[],{id:"promptSuggestionEnabled",label:"Prompt suggestions",value:pZ,type:"boolean",onChange(J){GZ((X)=>({...X,promptSuggestionEnabled:J})),ZZ("userSettings",{promptSuggestionEnabled:J?void 0:!1})}},...DY?[{id:"fileCheckpointingEnabled",label:"Rewind code (checkpoints)",value:H.fileCheckpointingEnabled,type:"boolean",onChange(J){y((X)=>({...X,fileCheckpointingEnabled:J})),O({...f(),fileCheckpointingEnabled:J}),S("",{enabled:J})}}]:[],{id:"verbose",label:"Verbose output",value:N0,type:"boolean",onChange:FY},{id:"terminalProgressBarEnabled",label:"Terminal progress bar",value:H.terminalProgressBarEnabled,type:"boolean",onChange(J){y((X)=>({...X,terminalProgressBarEnabled:J})),O({...f(),terminalProgressBarEnabled:J}),S("",{enabled:J})}},...FJ("tengu_terminal_sidebar",!1)?[{id:"showStatusInTerminalTab",label:"Show status in terminal tab",value:H.showStatusInTerminalTab??!1,type:"boolean",onChange(J){y((X)=>({...X,showStatusInTerminalTab:J})),O({...f(),showStatusInTerminalTab:J}),S("",{enabled:J})}}]:[],{id:"showTurnDuration",label:"Show turn duration",value:H.showTurnDuration,type:"boolean",onChange(J){y((X)=>({...X,showTurnDuration:J})),O({...f(),showTurnDuration:J}),S("",{enabled:J})}},{id:"defaultPermissionMode",label:"Default permission mode",value:P?.permissions?.defaultMode||"default",options:(()=>{let J=["default","plan"],X=NJ,A=["bypassPermissions"];return[...J,...X.filter((B)=>!J.includes(B)&&!A.includes(B))]})(),type:"enum",onChange(J){let X=LJ(J),A=PJ(X)?AJ(X):X,B=ZZ("userSettings",{permissions:{...P?.permissions,defaultMode:A}});if(B.error){MZ(B.error);return}R((h)=>({...h,permissions:{...h?.permissions,defaultMode:A}})),E((h)=>({...h,defaultPermissionMode:J})),S("",{setting:"defaultPermissionMode",value:J})}},{id:"useAutoModeDuringPlan",label:"Use auto mode during plan",value:P?.useAutoModeDuringPlan??!0,type:"boolean",onChange(J){ZZ("userSettings",{useAutoModeDuringPlan:J}),R((X)=>({...X,useAutoModeDuringPlan:J})),GZ((X)=>{let A=o0(X.toolPermissionContext);if(A===X.toolPermissionContext)return X;return{...X,toolPermissionContext:A}}),E((X)=>({...X,"Use auto mode during plan":J}))}},{id:"respectGitignore",label:"Respect .gitignore in file picker",value:H.respectGitignore,type:"boolean",onChange(J){y((X)=>({...X,respectGitignore:J})),O({...f(),respectGitignore:J}),S("",{enabled:J})}},{id:"copyFullResponse",label:"Always copy full response (skip /copy)",searchText:"Always copy full response skip /copy picker",value:H.copyFullResponse,type:"boolean",onChange(J){y((X)=>({...X,copyFullResponse:J})),O({...f(),copyFullResponse:J}),S("",{setting:"copyFullResponse",value:String(J)})}},...e?[{id:"copyOnSelect",label:"Copy on select",value:H.copyOnSelect??!0,type:"boolean",onChange(J){y((X)=>({...X,copyOnSelect:J})),O({...f(),copyOnSelect:J}),S("",{setting:"copyOnSelect",value:String(J)})}}]:[],{id:"terminalRenderer",label:jJ()?"Terminal UI renderer (env)":"Terminal UI renderer",searchText:"terminal ui renderer fullscreen flicker-free alt-screen",value:n0()?"fullscreen":"default",options:["default","fullscreen"],type:"enum",onChange(J){let X=J==="fullscreen";y((A)=>({...A,flickerFreeMode:X})),O({...f(),flickerFreeMode:X}),S("",{setting:"flickerFreeMode",value:String(X)})}},{id:"frameRate",label:sJ()?`Frame rate (env, ${s0()}fps)`:`Frame rate (${s0()}fps)`,searchText:"frame rate fps animation smoothness gpu terminal refresh",value:H.renderFrameRate??"auto",options:[...aJ],type:"enum",onChange(J){y((X)=>({...X,renderFrameRate:J})),O({...f(),renderFrameRate:J}),S("",{setting:"renderFrameRate",value:String(J)})}},IZ?{id:"autoUpdatesChannel",label:"Auto-update channel",value:"disabled",type:"managedEnum",onChange(){}}:{id:"autoUpdatesChannel",label:"Auto-update channel",value:P?.autoUpdatesChannel??"latest",type:"managedEnum",onChange(){}},{id:"theme",label:"Theme",value:M,type:"managedEnum",onChange:L},{id:"notifChannel",label:"Notifications",value:H.preferredNotifChannel,options:["auto","iterm2","terminal_bell","iterm2_with_bell","kitty","ghostty","os_native","notifications_disabled"],type:"enum",onChange(J){y((X)=>({...X,preferredNotifChannel:J})),O({...f(),preferredNotifChannel:J})}},{id:"outputStyle",label:"Output style",value:k,type:"managedEnum",onChange:()=>{}},{id:"language",label:"Language",value:w??"Default (English)",type:"managedEnum",onChange:()=>{}},{id:"editorMode",label:"Editor mode",value:H.editorMode==="emacs"?"normal":H.editorMode||"normal",options:["normal","vim"],type:"enum",onChange(J){y((X)=>({...X,editorMode:J})),O({...f(),editorMode:J}),S("",{mode:J,source:"config_panel"})}},{id:"prStatusFooterEnabled",label:"Show PR/MR status footer",value:H.prStatusFooterEnabled??!0,type:"boolean",onChange(J){y((X)=>{if(X.prStatusFooterEnabled===J)return X;return{...X,prStatusFooterEnabled:J}}),O({...f(),prStatusFooterEnabled:J}),S("",{enabled:J})}},{id:"model",label:"Model",value:BZ===null?"Default (recommended)":BZ,type:"managedEnum",onChange:Bq},...zY?[{id:"diffTool",label:"Diff tool",value:H.diffTool??"auto",options:["terminal","auto"],type:"enum",onChange(J){y((X)=>({...X,diffTool:J})),O({...f(),diffTool:J}),S("",{tool:J,source:"config_panel"})}}]:[],...!r0()?[{id:"autoConnectIde",label:"Auto-connect to IDE (external terminal)",value:H.autoConnectIde??!1,type:"boolean",onChange(J){y((X)=>({...X,autoConnectIde:J})),O({...f(),autoConnectIde:J}),S("",{enabled:J,source:"config_panel"})}}]:[],...r0()?[{id:"autoInstallIdeExtension",label:"Auto-install IDE extension",value:H.autoInstallIdeExtension??!0,type:"boolean",onChange(J){y((X)=>({...X,autoInstallIdeExtension:J})),O({...f(),autoInstallIdeExtension:J}),S("",{enabled:J,source:"config_panel"})}}]:[],...bJ()?(()=>{let J=mJ();return[{id:"teammateMode",label:J?`Teammate mode [overridden: ${J}]`:"Teammate mode",value:H.teammateMode??"auto",options:["auto","tmux","in-process"],type:"enum",onChange(A){if(A!=="auto"&&A!=="tmux"&&A!=="in-process")return;pJ(A),y((B)=>({...B,teammateMode:A})),O({...f(),teammateMode:A}),S("",{mode:A})}},{id:"teammateDefaultModel",label:"Default teammate model",value:HJ(H.teammateDefaultModel),type:"managedEnum",onChange(){}}]})():[],...dJ()?[{id:"remoteControlAtStartup",label:"Enable Remote Control for all sessions",value:H.remoteControlAtStartup===void 0?"default":String(H.remoteControlAtStartup),options:["true","false","default"],type:"enum",onChange(J){if(J==="default")y((A)=>{if(A.remoteControlAtStartup===void 0)return A;let B={...A};return delete B.remoteControlAtStartup,B}),O({...f(),remoteControlAtStartup:void 0});else{let A=J==="true";y((B)=>{if(B.remoteControlAtStartup===A)return B;return{...B,remoteControlAtStartup:A}}),O({...f(),remoteControlAtStartup:A})}let X=RJ();GZ((A)=>{if(A.replBridgeEnabled===X&&!A.replBridgeOutboundOnly)return A;return{...A,replBridgeEnabled:X,replBridgeOutboundOnly:!1}})}}]:[],...OY?[{id:"showExternalIncludesDialog",label:"External CLAUDE.md includes",value:(()=>{if(BJ().hasClaudeMdExternalIncludesApproved)return"true";else return"false"})(),type:"managedEnum",onChange(){}}]:[],...(()=>{let J=wZ(),X=J?.transport==="anthropic"?J.apiKey?.trim():void 0;if(!X)return[];return[{id:"apiKey",label:z(K,{children:["Use custom API key:"," ",G(K,{bold:!0,children:nZ(X)})]}),searchText:"Use custom API key",value:Boolean(H.customApiKeyResponses?.approved?.includes(nZ(X))),type:"boolean",onChange(A){y((B)=>{let h={...B};if(!h.customApiKeyResponses)h.customApiKeyResponses={approved:[],rejected:[]};if(!h.customApiKeyResponses.approved)h.customApiKeyResponses={...h.customApiKeyResponses,approved:[]};if(!h.customApiKeyResponses.rejected)h.customApiKeyResponses={...h.customApiKeyResponses,rejected:[]};{let DZ=nZ(X);if(A)h.customApiKeyResponses={...h.customApiKeyResponses,approved:[...(h.customApiKeyResponses.approved??[]).filter((OZ)=>OZ!==DZ),DZ],rejected:(h.customApiKeyResponses.rejected??[]).filter((OZ)=>OZ!==DZ)};else h.customApiKeyResponses={...h.customApiKeyResponses,approved:(h.customApiKeyResponses.approved??[]).filter((OZ)=>OZ!==DZ),rejected:[...(h.customApiKeyResponses.rejected??[]).filter((OZ)=>OZ!==DZ),DZ]}}return h}),O(f())}}]})()],Uq=i.useMemo(()=>{if(!kZ)return w0;let J=kZ.toLowerCase();return w0.filter((X)=>{if(X.id.toLowerCase().includes(J))return!0;return("searchText"in X?X.searchText:X.label).toLowerCase().includes(J)})},[w0,kZ]),s=i.useMemo(()=>GJ(Uq,{grouped:kZ===""}),[Uq,kZ]),kq=x0(s.slice(0,o)),Iq=x0(s.slice(o+p));i.useEffect(()=>{if(j>=s.length){let J=Math.max(0,p0(s));QZ(J),YZ(Math.max(0,J-p+1));return}if(!hZ(s[j])){let J=Math.max(0,J0(s,j,1));QZ(J),YZ((X)=>J>=X+p?J-p+1:X);return}YZ((J)=>{if(j<J)return j;if(j>=J+p)return j-p+1;return J})},[s,j,p]);let _0=v.useCallback((J)=>{YZ((X)=>{if(J<X)return J;if(J>=X+p)return J-p+1;return X})},[p]),NY=v.useCallback(()=>{if(l!==null)return;let J=Object.entries(tZ).map(([OZ,Cq])=>{return S("",{key:OZ,value:Cq}),`Set ${OZ} to ${KZ.bold(Cq)}`}),X=wZ(),B=X?.transport==="anthropic"?X.apiKey?.trim():void 0,h=Boolean(B&&F.current.customApiKeyResponses?.approved?.includes(nZ(B))),DZ=Boolean(B&&H.customApiKeyResponses?.approved?.includes(nZ(B)));if(h!==DZ)J.push(`${DZ?"Enabled":"Disabled"} custom API key`),S("",{key:"env.ANTHROPIC_API_KEY",value:DZ});if(H.theme!==F.current.theme)J.push(`Set theme to ${KZ.bold(H.theme)}`);if(H.preferredNotifChannel!==F.current.preferredNotifChannel)J.push(`Set notifications to ${KZ.bold(H.preferredNotifChannel)}`);if(k!==t.current)J.push(`Set output style to ${KZ.bold(k)}`);if(w!==m.current)J.push(`Set response language to ${KZ.bold(w??"Default (English)")}`);if(H.editorMode!==F.current.editorMode)J.push(`Set editor mode to ${KZ.bold(H.editorMode||"emacs")}`);if(H.diffTool!==F.current.diffTool)J.push(`Set diff tool to ${KZ.bold(H.diffTool)}`);if(H.autoConnectIde!==F.current.autoConnectIde)J.push(`${H.autoConnectIde?"Enabled":"Disabled"} auto-connect to IDE`);if(H.autoInstallIdeExtension!==F.current.autoInstallIdeExtension)J.push(`${H.autoInstallIdeExtension?"Enabled":"Disabled"} auto-install IDE extension`);if(H.autoCompactEnabled!==F.current.autoCompactEnabled)J.push(`${H.autoCompactEnabled?"Enabled":"Disabled"} auto-compact`);if(H.thinkingHistoryRedactionEnabled!==F.current.thinkingHistoryRedactionEnabled)J.push(`${H.thinkingHistoryRedactionEnabled?"Enabled":"Disabled"} thinking history redaction`);if(H.narrationHistoryRedactionEnabled!==F.current.narrationHistoryRedactionEnabled)J.push(`${H.narrationHistoryRedactionEnabled?"Enabled":"Disabled"} narration history redaction`);if(H.toolResultSummarizerEnabled!==F.current.toolResultSummarizerEnabled)J.push(`${H.toolResultSummarizerEnabled?"Enabled":"Disabled"} tool result summarizer`);if(H.autoBackgroundAgentsEnabled!==F.current.autoBackgroundAgentsEnabled)J.push(`${H.autoBackgroundAgentsEnabled===!0?"Enabled":"Disabled"} auto-background agents`);if(H.workflowsDefaultBackground!==F.current.workflowsDefaultBackground)J.push(`${H.workflowsDefaultBackground===!0?"Enabled":"Disabled"} workflows run in background`);if(H.bashOutputFilterEnabled!==F.current.bashOutputFilterEnabled)J.push(`${H.bashOutputFilterEnabled!==!1?"Enabled":"Disabled"} bash output filter`);if(H.repeatedFailureHintEnabled!==F.current.repeatedFailureHintEnabled)J.push(`${H.repeatedFailureHintEnabled!==!1?"Enabled":"Disabled"} repeated-failure hint`);if(H.collapseFileWritesEnabled!==F.current.collapseFileWritesEnabled)J.push(`${H.collapseFileWritesEnabled!==!1?"Enabled":"Disabled"} collapse file writes`);if(H.respectGitignore!==F.current.respectGitignore)J.push(`${H.respectGitignore?"Enabled":"Disabled"} respect .gitignore in file picker`);if(H.copyFullResponse!==F.current.copyFullResponse)J.push(`${H.copyFullResponse?"Enabled":"Disabled"} always copy full response`);if(H.copyOnSelect!==F.current.copyOnSelect)J.push(`${H.copyOnSelect?"Enabled":"Disabled"} copy on select`);if(H.flickerFreeMode!==F.current.flickerFreeMode)J.push(`Set terminal UI renderer to ${KZ.bold(H.flickerFreeMode?"fullscreen":"default")}`);if(H.renderFrameRate!==F.current.renderFrameRate)J.push(`Set frame rate to ${KZ.bold(H.renderFrameRate??"auto")} (applies on restart)`);if(H.terminalProgressBarEnabled!==F.current.terminalProgressBarEnabled)J.push(`${H.terminalProgressBarEnabled?"Enabled":"Disabled"} terminal progress bar`);if(H.showStatusInTerminalTab!==F.current.showStatusInTerminalTab)J.push(`${H.showStatusInTerminalTab?"Enabled":"Disabled"} terminal tab status`);if(H.showTurnDuration!==F.current.showTurnDuration)J.push(`${H.showTurnDuration?"Enabled":"Disabled"} turn duration`);if(H.remoteControlAtStartup!==F.current.remoteControlAtStartup){let OZ=H.remoteControlAtStartup===void 0?"Reset Remote Control to default":`${H.remoteControlAtStartup?"Enabled":"Disabled"} Remote Control for all sessions`;J.push(OZ)}if(P?.autoUpdatesChannel!==I.current?.autoUpdatesChannel)J.push(`Set auto-update channel to ${KZ.bold(P?.autoUpdatesChannel??"latest")}`);if(J.length>0)q(J.join(`
2
- `));else q("Config dialog dismissed",{display:"system"})},[l,tZ,H,BZ,k,w,P?.autoUpdatesChannel,Y0()?P?.fastMode:void 0,q]),Eq=v.useCallback(()=>{if(M!==HZ.current)L(HZ.current);y(()=>F.current);let J=a;ZZ("localSettings",{spinnerTipsEnabled:J?.spinnerTipsEnabled,prefersReducedMotion:J?.prefersReducedMotion,defaultView:J?.defaultView,outputStyle:J?.outputStyle});let X=VZ;ZZ("userSettings",{alwaysThinkingEnabled:X?.alwaysThinkingEnabled,fastMode:X?.fastMode,promptSuggestionEnabled:X?.promptSuggestionEnabled,autoUpdatesChannel:X?.autoUpdatesChannel,minimumVersion:X?.minimumVersion,language:X?.language,...{useAutoModeDuringPlan:X?.useAutoModeDuringPlan},syntaxHighlightingDisabled:X?.syntaxHighlightingDisabled,permissions:X?.permissions===void 0?void 0:{...X.permissions,defaultMode:X.permissions.defaultMode}});let A=UZ;if(GZ((B)=>({...B,mainLoopModel:A.mainLoopModel,mainLoopModelForSession:A.mainLoopModelForSession,verbose:A.verbose,thinkingEnabled:A.thinkingEnabled,fastMode:A.fastMode,promptSuggestionEnabled:A.promptSuggestionEnabled,isBriefOnly:A.isBriefOnly,replBridgeEnabled:A.replBridgeEnabled,replBridgeOutboundOnly:A.replBridgeOutboundOnly,settings:A.settings,toolPermissionContext:o0(B.toolPermissionContext)})),c0()!==$0)WJ($0)},[M,L,a,VZ,UZ,$0,GZ]),PY=v.useCallback(()=>{if(l!==null)return;if(NZ.current)Eq();q("Config dialog dismissed",{display:"system"})},[l,Eq,q]);b("confirm:no",PY,{context:"Settings",isActive:l===null&&!n&&!W}),b("settings:close",NY,{context:"Settings",isActive:l===null&&!n&&!W});let b0=v.useCallback(()=>{let J=s[j];if(!hZ(J))return;let X=J.item;if(!X.onChange)return;if(X.type==="boolean"){if(NZ.current=!0,X.onChange(!X.value),X.id==="thinkingEnabled"){if(!X.value===$.current)Z0(!1);else if(Z.messages.some((h)=>h.type==="assistant"))Z0(!0)}return}if(X.id==="theme"||X.id==="model"||X.id==="teammateDefaultModel"||X.id==="showExternalIncludesDialog"||X.id==="outputStyle"||X.id==="language")switch(X.id){case"theme":g("Theme"),Q(!0);return;case"model":g("Model"),Q(!0);return;case"teammateDefaultModel":g("TeammateModel"),Q(!0);return;case"showExternalIncludesDialog":g("ExternalIncludes"),Q(!0);return;case"outputStyle":g("OutputStyle"),Q(!0);return;case"language":g("Language"),Q(!0);return}if(X.id==="autoUpdatesChannel"){if(IZ){g("EnableAutoUpdates"),Q(!0);return}if((P?.autoUpdatesChannel??"latest")==="latest")g("ChannelDowngrade"),Q(!0);else NZ.current=!0,ZZ("userSettings",{autoUpdatesChannel:"latest",minimumVersion:void 0}),R((B)=>({...B,autoUpdatesChannel:"latest",minimumVersion:void 0})),S("",{channel:"latest"});return}if(X.type==="enum"){NZ.current=!0;let B=(X.options.indexOf(X.value)+1)%X.options.length;X.onChange(X.options[B]);return}},[IZ,s,j,P?.autoUpdatesChannel,Q]),A0=(J)=>{Z0(!1);let X=J0(s,j,J);if(X<0)return;QZ(X),_0(X)};wJ({"select:previous":()=>{let J=Q0(s);if(J<0||j<=J)Z0(!1),zZ(!0),YZ(0);else A0(-1)},"select:next":()=>A0(1),"scroll:lineUp":()=>A0(-1),"scroll:lineDown":()=>A0(1),"select:accept":b0,"settings:search":()=>{zZ(!0),P0("")}},{context:"Settings",isActive:l===null&&!n&&!W});let AY=v.useCallback((J)=>{if(l!==null)return;if(W)return;if(n){if(J.key==="escape"){if(J.preventDefault(),kZ.length>0)P0("");else zZ(!1);return}if(J.key==="return"||J.key==="down"||J.key==="wheeldown")J.preventDefault(),zZ(!1),QZ(Math.max(0,Q0(s))),YZ(0);return}if(J.key==="left"||J.key==="right"||J.key==="tab"){J.preventDefault(),b0();return}if(J.key==="["||J.key==="]"){J.preventDefault();let X=VJ(s,j,J.key==="["?-1:1);if(X>=0)Z0(!1),QZ(X),_0(X);return}if(J.ctrl||J.meta)return;if(J.key==="j"||J.key==="k"||J.key==="/")return;if(J.key.length===1&&J.key!==" ")J.preventDefault(),zZ(!0),P0(J.key)},[l,W,n,kZ,P0,b0,s,j,_0]);return G(U,{flexDirection:"column",width:"100%",tabIndex:0,autoFocus:!0,onKeyDown:AY,children:l==="Theme"?z(WZ,{children:[G(lJ,{onThemeSelect:(J)=>{NZ.current=!0,L(J),g(null),Q(!1)},onCancel:()=>{g(null),Q(!1)},hideEscToCancel:!0,skipExitHandling:!0}),G(U,{children:G(K,{dimColor:!0,italic:!0,children:z(qZ,{children:[G(PZ,{shortcut:"Enter",action:"select"}),G(T,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})})]}):l==="Model"?z(WZ,{children:[G(a0,{initial:BZ,onSelect:(J,X)=>{NZ.current=!0,Bq(J),g(null),Q(!1)},onCancel:()=>{g(null),Q(!1)},showFastModeNotice:Y0()?mZ&&SJ(BZ)&&l0():!1}),G(K,{dimColor:!0,children:z(qZ,{children:[G(PZ,{shortcut:"Enter",action:"confirm"}),G(T,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})]}):l==="TeammateModel"?z(WZ,{children:[G(a0,{initial:H.teammateDefaultModel??null,skipSettingsWrite:!0,headerText:"Default model for newly spawned teammates. The leader can override via the tool call's model parameter.",onSelect:(J,X)=>{if(g(null),Q(!1),H.teammateDefaultModel===void 0&&J===null)return;NZ.current=!0,y((A)=>A.teammateDefaultModel===J?A:{...A,teammateDefaultModel:J}),O({...f(),teammateDefaultModel:J}),E((A)=>({...A,teammateDefaultModel:HJ(J)})),S("",{model:J})},onCancel:()=>{g(null),Q(!1)}}),G(K,{dimColor:!0,children:z(qZ,{children:[G(PZ,{shortcut:"Enter",action:"confirm"}),G(T,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})]}):l==="ExternalIncludes"?z(WZ,{children:[G(nJ,{onDone:()=>{g(null),Q(!1)},externalIncludes:JQ(Rq)}),G(K,{dimColor:!0,children:z(qZ,{children:[G(PZ,{shortcut:"Enter",action:"confirm"}),G(T,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"disable external includes"})]})})]}):l==="OutputStyle"?z(WZ,{children:[G(ZJ,{initialStyle:k,onComplete:(J)=>{NZ.current=!0,_(J??U0),g(null),Q(!1),ZZ("localSettings",{outputStyle:J}),S("",{style:J??U0,source:"config_panel",settings_source:"localSettings"})},onCancel:()=>{g(null),Q(!1)}}),G(K,{dimColor:!0,children:z(qZ,{children:[G(PZ,{shortcut:"Enter",action:"confirm"}),G(T,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"cancel"})]})})]}):l==="Language"?z(WZ,{children:[G(YJ,{initialLanguage:w,onComplete:(J)=>{NZ.current=!0,d(J),g(null),Q(!1),ZZ("userSettings",{language:J}),S("",{language:J??"default",source:"config_panel"})},onCancel:()=>{g(null),Q(!1)}}),G(K,{dimColor:!0,children:z(qZ,{children:[G(PZ,{shortcut:"Enter",action:"confirm"}),G(T,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]}):l==="EnableAutoUpdates"?G(dZ,{title:"Enable Auto-Updates",onCancel:()=>{g(null),Q(!1)},hideBorder:!0,hideInputGuide:!0,children:IZ?.type!=="config"?z(WZ,{children:[G(K,{children:IZ?.type==="env"?"Auto-updates are controlled by an environment variable and cannot be changed here.":"Auto-updates are disabled in development builds."}),IZ?.type==="env"&&z(K,{dimColor:!0,children:["Unset ",IZ.envVar," to re-enable auto-updates."]})]}):G(lZ,{options:[{label:"Enable with latest channel",value:"latest"},{label:"Enable with stable channel",value:"stable"}],onChange:(J)=>{NZ.current=!0,g(null),Q(!1),y((X)=>({...X,autoUpdates:!0})),O({...f(),autoUpdates:!0}),ZZ("userSettings",{autoUpdatesChannel:J,minimumVersion:void 0}),R((X)=>({...X,autoUpdatesChannel:J,minimumVersion:void 0})),S("",{channel:J})}})}):l==="ChannelDowngrade"?G(nq,{currentVersion:"99.0.0",onChoice:(J)=>{if(g(null),Q(!1),J==="cancel")return;NZ.current=!0;let X={autoUpdatesChannel:"stable"};if(J==="stay")X.minimumVersion="99.0.0";ZZ("userSettings",X),R((A)=>({...A,...X})),S("",{channel:"stable",minimum_version_set:J==="stay"})}}):z(U,{flexDirection:"column",gap:1,marginY:N?void 0:1,children:[G(rJ,{query:kZ,isFocused:n&&!W,isTerminalFocused:jZ,cursorOffset:WY,placeholder:"Search settings…"}),G(U,{flexDirection:"column",children:s.length===0?z(K,{dimColor:!0,italic:!0,children:['No settings match "',kZ,'"']}):z(WZ,{children:[kq>0&&z(K,{dimColor:!0,children:[CZ.arrowUp," ",kq," more above"]}),s.slice(o,o+p).map((J,X)=>{let A=o+X;if(J.kind==="spacer")return G(K,{children:" "},J.id);if(J.kind==="header")return z(K,{dimColor:!0,children:[" ",J.label]},J.id);let B=J.item,h=A===j&&!W&&!n;return G(i.Fragment,{children:z(U,{children:[G(U,{width:F0,flexShrink:0,paddingRight:1,children:z(K,{color:h?"suggestion":void 0,wrap:"truncate-end",children:[h?CZ.pointer:" "," ",B.label]})}),G(U,{children:B.type==="boolean"?z(WZ,{children:[G(K,{color:h?"suggestion":void 0,wrap:"truncate-end",children:B.value.toString()}),HY&&B.id==="thinkingEnabled"&&z(K,{color:"warning",children:[" ","Changing thinking mode mid-conversation will increase latency and may reduce quality."]})]}):B.id==="theme"?G(K,{color:h?"suggestion":void 0,wrap:"truncate-end",children:JX[B.value.toString()]??B.value.toString()}):B.id==="notifChannel"?G(K,{color:h?"suggestion":void 0,wrap:"truncate-end",children:G(QX,{value:B.value.toString()})}):B.id==="defaultPermissionMode"?G(K,{color:h?"suggestion":void 0,wrap:"truncate-end",children:MJ(B.value)}):B.id==="autoUpdatesChannel"&&IZ?z(K,{color:h?"suggestion":void 0,wrap:"truncate-end",children:["disabled"," ",z(K,{dimColor:!0,children:["(",UJ(IZ),")"]})]}):G(K,{color:h?"suggestion":void 0,wrap:"truncate-end",children:B.value.toString()})},h?"selected":"unselected")]})},B.id)}),Iq>0&&z(K,{dimColor:!0,children:[CZ.arrowDown," ",Iq," more below"]})]})}),W?G(K,{dimColor:!0,children:z(qZ,{children:[G(PZ,{shortcut:"←/→ tab",action:"switch"}),G(PZ,{shortcut:"↓",action:"return"}),G(T,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"close"})]})}):n?G(K,{dimColor:!0,children:z(qZ,{children:[G(K,{children:"Type to filter"}),G(PZ,{shortcut:"Enter/↓",action:"select"}),G(PZ,{shortcut:"↑",action:"tabs"}),G(T,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"clear"})]})}):G(K,{dimColor:!0,children:z(qZ,{children:[G(T,{action:"select:accept",context:"Settings",fallback:"Space",description:"change"}),G(T,{action:"settings:close",context:"Settings",fallback:"Enter",description:"save"}),G(T,{action:"settings:search",context:"Settings",fallback:"/",description:"search"}),G(T,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]})})}function HJ(q){if(q===void 0)return k0(xJ());if(q===null)return"Default (leader's model)";return k0(q)}function QX(q){let Z=tJ.c(4),{value:Q}=q;switch(Q){case"auto":return"Auto";case"iterm2":{let Y;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))Y=z(K,{children:["iTerm2 ",G(K,{dimColor:!0,children:"(OSC 9)"})]}),Z[0]=Y;else Y=Z[0];return Y}case"terminal_bell":{let Y;if(Z[1]===Symbol.for("react.memo_cache_sentinel"))Y=z(K,{children:["Terminal Bell ",G(K,{dimColor:!0,children:"(\\a)"})]}),Z[1]=Y;else Y=Z[1];return Y}case"kitty":{let Y;if(Z[2]===Symbol.for("react.memo_cache_sentinel"))Y=z(K,{children:["Kitty ",G(K,{dimColor:!0,children:"(OSC 99)"})]}),Z[2]=Y;else Y=Z[2];return Y}case"ghostty":{let Y;if(Z[3]===Symbol.for("react.memo_cache_sentinel"))Y=z(K,{children:["Ghostty ",G(K,{dimColor:!0,children:"(OSC 777)"})]}),Z[3]=Y;else Y=Z[3];return Y}case"iterm2_with_bell":return"iTerm2 w/ Bell";case"notifications_disabled":return"Disabled";default:return Q}}var tJ,i,v,JX;var ZQ=r(()=>{SZ();iZ();v0();IJ();mY();EJ();IJ();OJ();vY();nY();I0();_Y();rY();oY();yq();aY();yJ();sY();tY();rq();g0();lq();qJ();XJ();YX();cY();cZ();E0();uJ();M0();eY();uY();gY();hq();tq();DJ();bY();dY();lY();iY();ZX();X0();pY();xY();qX();KJ();x();tJ=u($Z(),1),i=u(FZ(),1),v=u(FZ(),1);JX={auto:"Auto (match terminal)",dark:"Dark mode",light:"Light mode","dark-daltonized":"Dark mode (colorblind-friendly)","light-daltonized":"Light mode (colorblind-friendly)","dark-ansi":"Dark mode (ANSI colors only)","light-ansi":"Light mode (ANSI colors only)",terminal:"Terminal default (inherit colors)",dracula:"Dracula","catppuccin-mocha":"Catppuccin Mocha (dark)","catppuccin-latte":"Catppuccin Latte (light)","tokyo-night":"Tokyo Night",nord:"Nord","gruvbox-dark":"Gruvbox Dark"}});function V0(q){return typeof q==="object"&&q!==null}function AZ(q){return typeof q==="string"&&q.trim()?q.trim():void 0}function rZ(q){return typeof q==="number"&&Number.isFinite(q)?q:void 0}function t0(q){return typeof q==="boolean"?q:void 0}function e0(q){let Z=rZ(q);if(Z===void 0)return;return new Date(Z*1000).toISOString()}function C0(q){if(!V0(q))return;let Z=rZ(q.used_percent)??rZ(q.usedPercent);if(Z===void 0)return;let Q=rZ(q.window_minutes)??rZ(q.windowDurationMins)??(()=>{let V=rZ(q.limit_window_seconds);return V===void 0?void 0:Math.round(V/60)})(),Y=e0(q.resets_at)??e0(q.resetsAt)??e0(q.reset_at);return{usedPercent:Z,windowMinutes:Q,resetsAt:Y}}function DQ(q){if(!V0(q))return;let Z=t0(q.has_credits)??t0(q.hasCredits)??!1,Q=t0(q.unlimited)??!1,Y=AZ(q.balance);if(!Z&&!Q&&!Y)return;return{hasCredits:Z,unlimited:Q,balance:Y}}function G0(q,Z){if(!V0(q))return;let Q=AZ(q.limit_name)??AZ(q.limitName)??AZ(q.limit_id)??AZ(q.limitId)??Z,Y=C0(q.primary)??C0(q.primary_window),V=C0(q.secondary)??C0(q.secondary_window),W=DQ(q.credits);if(!Y&&!V&&!W)return;return{limitName:Q,primary:Y,secondary:V,credits:W}}function Zq(q,Z="codex"){if(Array.isArray(q))return q.map((Q,Y)=>G0(Q,Y===0?Z:`${Z}-${Y+1}`)).filter((Q)=>Q!==void 0);if(!V0(q))return[];return Object.entries(q).map(([Q,Y])=>G0(Y,Q)).filter((Q)=>Q!==void 0)}function VX(q){let Z=AZ(q.plan_type)??AZ(q.planType),Q=[],Y=DQ(q.credits),V=G0(q.rate_limit,"codex");if(V)V.credits??=Y,Q.push(V);else if(Y)Q.push({limitName:"codex",credits:Y});let W=G0(q.code_review_rate_limit,"code review");if(W)Q.push(W);return Q.push(...Zq(q.additional_rate_limits??q.additionalRateLimits,"additional")),{planType:Z,snapshots:Q}}function KX(q){if(Array.isArray(q))return{snapshots:Zq(q)};if(!V0(q))return{snapshots:[]};if("rate_limit"in q||"code_review_rate_limit"in q||"additional_rate_limits"in q||"credits"in q)return VX(q);let Z=q.rate_limits??q.rateLimits??q.rate_limits_by_limit_id??q.rateLimitsByLimitId;if(Z!==void 0)return{planType:AZ(q.plan_type)??AZ(q.planType),snapshots:Zq(Z)};let Q=G0(q,"codex");return{planType:AZ(q.plan_type)??AZ(q.planType),snapshots:Q?[Q]:[]}}function oZ(q){if(!q)return q;return q[0].toUpperCase()+q.slice(1)}function YQ(q,Z){if(q===void 0||q<=0)return Z;if(q===10080)return"weekly";if(q%1440===0)return`${q/1440}d`;if(q%60===0)return`${q/60}h`;return`${q}m`}function HX(q){let Z=q?.trim();if(!Z)return;let Q=Number.parseInt(Z,10);if(Number.isFinite(Q)&&`${Q}`===Z&&Q>0)return`${Q}`;let Y=Number.parseFloat(Z);if(Number.isFinite(Y)&&Y>0)return`${Math.round(Y)}`;return}function WX(q){if(!q?.hasCredits)return;if(q.unlimited)return{kind:"text",label:"Credits",value:"Unlimited"};let Z=HX(q.balance);if(!Z)return;return{kind:"text",label:"Credits",value:`${Z} credits`}}function OQ(q){let Z=[];for(let Q of q){let Y=Q.limitName.trim()||"codex",V=WX(Q.credits);if(!(Q.primary!==void 0||Q.secondary!==void 0||V!==void 0))continue;let D=Y.toLowerCase()!=="codex",N=Number(Q.primary!==void 0)+Number(Q.secondary!==void 0),L=D&&N===1;if(D&&!L)Z.push({kind:"text",label:`${oZ(Y)} limit`,value:""});if(Q.primary){let M=oZ(YQ(Q.primary.windowMinutes,"5h"));Z.push({kind:"window",label:L?`${oZ(Y)} ${M} limit`:`${M} limit`,usedPercent:Q.primary.usedPercent,resetsAt:Q.primary.resetsAt})}if(Q.secondary){let M=oZ(YQ(Q.secondary.windowMinutes,"weekly"));Z.push({kind:"window",label:L?`${oZ(Y)} ${M} limit`:`${M} limit`,usedPercent:Q.secondary.usedPercent,resetsAt:Q.secondary.resetsAt})}if(V)Z.push(V)}return Z}function FQ(q){if(!q)return;return q.split(/[_\s-]+/).filter(Boolean).map((Z)=>oZ(Z.toLowerCase())).join(" ")}function zX(q=KQ){return new URL("/backend-api/wham/usage",q).toString()}async function NQ(){let q=await VQ().catch(async(V)=>{return _Z(`[codex] access token refresh failed before usage fetch: ${V instanceof Error?V.message:String(V)}`,{level:"warn"}),{refreshed:!1,credentials:await GQ()}}),Z=WQ();if(!HQ(Z.baseUrl))throw Error("Codex usage is only available with the official ChatGPT Codex backend.");let Q=zQ({storedCredentials:q.credentials});if(!Q.apiKey){let V=XQ()?"":", choose Codex OAuth in /provider",W=Q.authPath?`${V} or place a Codex auth.json at ${Q.authPath}`:V;throw Error(`Codex auth is required. Set CODEX_API_KEY${W}.`)}if(!Q.accountId)throw Error("Codex auth is missing chatgpt_account_id. Re-login with Codex OAuth, the Codex CLI, or set CHATGPT_ACCOUNT_ID/CODEX_ACCOUNT_ID.");let Y=await fetch(zX(Z.baseUrl),{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${Q.apiKey}`,"chatgpt-account-id":Q.accountId,originator:"claudin"},signal:AbortSignal.timeout(5000)});if(!Y.ok){let V=await Y.text().catch(()=>"unknown error");throw Error(`Codex usage error ${Y.status}: ${V}`)}return KX(await Y.json())}var PQ=r(()=>{XX();qq();DJ();GX()});function DX({label:q,usedPercent:Z,resetsAt:Q,maxWidth:Y}){let V=Math.max(0,Math.min(100,Z)),W=`${Math.floor(V)}% used`,D=Q?`Resets ${S0(Q,!0,!0)}`:void 0;if(Y>=62)return z(U,{flexDirection:"column",children:[G(K,{bold:!0,children:q}),z(U,{flexDirection:"row",gap:1,children:[G(sZ,{ratio:V/100,width:50,fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),G(K,{children:W})]}),D?G(K,{dimColor:!0,children:D}):null]});return z(U,{flexDirection:"column",children:[z(K,{children:[G(K,{bold:!0,children:q}),D?z(WZ,{children:[G(K,{children:" "}),z(K,{dimColor:!0,children:["· ",D]})]}):null]}),G(sZ,{ratio:V/100,width:Y,fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),G(K,{children:W})]})}function OX({label:q,value:Z}){if(!Z)return G(K,{bold:!0,children:q});return z(K,{children:[G(K,{bold:!0,children:q}),z(K,{dimColor:!0,children:[" · ",Z]})]})}function LQ(){let[q,Z]=aZ.useState(null),[Q,Y]=aZ.useState(null),[V,W]=aZ.useState(!0),{columns:D}=RZ(),N=D-2,L=Math.min(N,80),M=AQ.useCallback(async()=>{W(!0),Y(null);try{Z(await NQ())}catch(F){MZ(F),Y(F instanceof Error?F.message:"Failed to load Codex usage")}finally{W(!1)}},[]);if(aZ.useEffect(()=>{M()},[M]),b("settings:retry",()=>{M()},{context:"Settings",isActive:!!Q&&!V}),Q)return z(U,{flexDirection:"column",gap:1,children:[z(K,{color:"error",children:["Error: ",Q]}),G(K,{dimColor:!0,children:z(qZ,{children:[G(T,{action:"settings:retry",context:"Settings",fallback:"r",description:"retry"}),G(T,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]});if(!q)return z(U,{flexDirection:"column",gap:1,children:[G(K,{dimColor:!0,children:"Loading Codex usage data…"}),G(K,{dimColor:!0,children:G(T,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]});let H=OQ(q.snapshots),O=FQ(q.planType);return z(U,{flexDirection:"column",gap:1,width:"100%",children:[O?z(K,{dimColor:!0,children:["Plan: ",O]}):null,H.length===0?G(K,{dimColor:!0,children:"Codex usage data is not available for this account."}):null,H.map((F,P)=>F.kind==="window"?G(DX,{label:F.label,usedPercent:F.usedPercent,resetsAt:F.resetsAt,maxWidth:L},`${F.label}-${P}`):G(OX,{label:F.label,value:F.value},`${F.label}-${P}`)),G(K,{dimColor:!0,children:G(T,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]})}var AQ,aZ;var MQ=r(()=>{X0();SZ();iZ();PQ();Jq();I0();cZ();E0();Qq();x();AQ=u(FZ(),1),aZ=u(FZ(),1)});var K0="https://api.minimax.io/v1",H0="Usage details are not available for this MiniMax account. This plan or MiniMax endpoint may not expose quota status.";var Yq=()=>{};function fZ(q){return typeof q==="object"&&q!==null}function JZ(q){return typeof q==="string"&&q.trim()?q.trim():void 0}function Gq(q){if(typeof q==="number"&&Number.isFinite(q))return q;if(typeof q==="string"&&q.trim()){let Z=Number.parseFloat(q);if(Number.isFinite(Z))return Z}return}function h0(q){return Math.max(0,Math.min(100,Math.round(q)))}function FX(q){if(typeof q==="string"){let Y=Date.parse(q);return Number.isNaN(Y)?q:new Date(Y).toISOString()}let Z=Gq(q);if(Z===void 0)return;let Q=Z>1000000000000?Z:Z*1000;return new Date(Q).toISOString()}function NX(q,Z){let Q=Gq(q);if(/remains?_time/i.test(Z)&&Q!==void 0){let Y=Q>604800?Q:Q*1000;return new Date(Date.now()+Y).toISOString()}return FX(q)}function W0(q,Z){for(let Q of Z){let Y=Gq(q[Q]);if(Y!==void 0)return Y}return}function PX(q,Z){for(let Q of Z)if(q[Q]!==void 0)return NX(q[Q],Q);return}function z0(q,Z){return Z.some((Q)=>q[Q]!==void 0)}function UQ(q){return q?q[0].toUpperCase()+q.slice(1):q}function AX(q){if(!q)return"MiniMax";let Z=q.trim();if(!Z)return"MiniMax";if(/[A-Z]/.test(Z))return Z;return Z.split(/[_\s-]+/).filter(Boolean).map((Q)=>UQ(Q.toLowerCase())).join(" ")}function LX(q){if(!q)return;return q.split(/[_\s-]+/).filter(Boolean).map((Z)=>UQ(Z.toLowerCase())).join(" ")}function kQ(q,Z){let Q=W0(q,Z.percentKeys),Y=W0(q,Z.remainingPercentKeys),V=W0(q,Z.totalKeys),W=W0(q,Z.remainingKeys),D=W0(q,Z.usedKeys),N=V!==void 0&&D!==void 0?V-D:W,L;if(V!==void 0&&V>0&&D!==void 0)L=h0(D/V*100);else if(V!==void 0&&V>0&&W!==void 0)L=h0((V-W)/V*100);else if(Q!==void 0)L=h0(Q);else if(Y!==void 0)L=h0(100-Y);if(L===void 0)return;return{label:Z.label,usedPercent:L,remaining:N,total:V,resetsAt:PX(q,Z.resetKeys)}}function MX(q){let Z=JZ(q.label)??JZ(q.name)??JZ(q.window_name)??JZ(q.windowName)??"Limit";return kQ(q,{label:Z,percentKeys:["used_percent","usedPercent","utilization","usage_percentage","usagePercentage"],remainingPercentKeys:["usage_percent","usagePercent","remaining_percent","remainingPercent","percent_remaining","percentRemaining"],totalKeys:["total","quota","limit","max","entitlement"],remainingKeys:["remaining","remain","remains","left"],usedKeys:["used","usage","consumed"],resetKeys:["resets_at","reset_at","resetsAt","resetAt"]})}function BX(q){if(z0(q,RX))return!0;return IQ.some((Z)=>z0(q,Z.totalKeys)||z0(q,Z.remainingKeys)||z0(q,Z.usedKeys)||z0(q,Z.percentKeys))}function Xq(q,Z){if(!fZ(q))return;let Q=IQ.map((V)=>kQ(q,V)).filter((V)=>V!==void 0);if(Q.length===0){let V=MX(q);if(V)Q.push(V)}if(Q.length===0)return;return{limitName:JZ(q.limit_name)??JZ(q.limitName)??JZ(q.model_name)??JZ(q.modelName)??JZ(q.name)??Z,windows:Q}}function RQ(q,Z="MiniMax"){if(Array.isArray(q))return q.map((Q,Y)=>Xq(Q,Y===0?Z:`${Z}-${Y+1}`)).filter((Q)=>Q!==void 0);if(!fZ(q))return[];if(BX(q)){let Q=Xq(q,Z);return Q?[Q]:[]}return Object.entries(q).map(([Q,Y])=>Xq(Y,Q)).filter((Q)=>Q!==void 0)}function BQ(q=H0,Z){return{availability:"unknown",planType:Z,snapshots:[],message:q}}function Vq(q){if(!fZ(q))return BQ();let Z=LX(JZ(q.plan_type)??JZ(q.planType)??JZ(q.subscription_type)??JZ(q.subscriptionType)??JZ(q.plan_name)??JZ(q.planName)),Y=[q.data,q.result,q.model_remains,q.modelRemains,q.remains,q.usage,q.quotas,q.models,fZ(q.data)?q.data.model_remains:void 0,fZ(q.data)?q.data.modelRemains:void 0,fZ(q.data)?q.data.models:void 0,fZ(q.data)?q.data.quotas:void 0,fZ(q.data)?q.data.remains:void 0].flatMap((W)=>RQ(W)).filter((W,D,N)=>{let L=`${W.limitName}:${W.windows.map((M)=>M.label).join("|")}`;return N.findIndex((M)=>`${M.limitName}:${M.windows.map((H)=>H.label).join("|")}`===L)===D});if(Y.length>0)return{availability:"available",planType:Z,snapshots:Y};let V=RQ(q);if(V.length>0)return{availability:"available",planType:Z,snapshots:V};return BQ(void 0,Z)}function UX(q){if(q.remaining===void 0||q.total===void 0||q.total<=0)return;return`${q.remaining}/${q.total} remaining`}function Kq(q){let Z=[];for(let Q of q){let Y=AX(Q.limitName),V=Y.toLowerCase()!=="minimax",W=V&&Q.windows.length===1;if(V&&!W)Z.push({kind:"text",label:`${Y} quota`,value:""});for(let D of Q.windows)Z.push({kind:"window",label:W?`${Y} ${D.label}`:D.label,usedPercent:D.usedPercent,resetsAt:D.resetsAt,extraSubtext:UX(D)})}return Z}var IQ,RX;var Hq=r(()=>{Yq();IQ=[{label:"5h limit",percentKeys:["interval_used_percent","intervalUsedPercent"],remainingPercentKeys:["usage_percent","usagePercent","interval_remaining_percent","intervalRemainingPercent"],totalKeys:["current_interval_total_count","currentIntervalTotalCount","max_interval_usage_count","maxIntervalUsageCount","interval_quota","intervalQuota","interval_limit","intervalLimit"],remainingKeys:["current_interval_remaining_count","currentIntervalRemainingCount","current_interval_remains_count","currentIntervalRemainsCount","interval_remaining","intervalRemaining","remaining_interval_usage_count","remainingIntervalUsageCount"],usedKeys:["current_interval_usage_count","currentIntervalUsageCount","interval_used","intervalUsed","current_interval_used_count","currentIntervalUsedCount","used_interval_usage_count","usedIntervalUsageCount"],resetKeys:["end_time","endTime","interval_resets_at","intervalResetsAt","interval_reset_at","intervalResetAt","remains_time","remainsTime"]},{label:"Weekly limit",percentKeys:["weekly_used_percent","weeklyUsedPercent"],remainingPercentKeys:["weekly_remaining_percent","weeklyRemainingPercent"],totalKeys:["max_weekly_usage_count","maxWeeklyUsageCount","weekly_quota","weeklyQuota","weekly_limit","weeklyLimit"],remainingKeys:["weekly_remaining","weeklyRemaining","remaining_weekly_usage_count","remainingWeeklyUsageCount"],usedKeys:["current_weekly_usage_count","currentWeeklyUsageCount","weekly_used","weeklyUsed","used_weekly_usage_count","usedWeeklyUsageCount"],resetKeys:["weekly_resets_at","weeklyResetsAt","weekly_reset_at","weeklyResetAt"]},{label:"Daily limit",percentKeys:["daily_used_percent","dailyUsedPercent"],remainingPercentKeys:["daily_remaining_percent","dailyRemainingPercent"],totalKeys:["max_daily_usage_count","maxDailyUsageCount","daily_quota","dailyQuota","daily_limit","dailyLimit"],remainingKeys:["daily_remaining","dailyRemaining","remaining_daily_usage_count","remainingDailyUsageCount"],usedKeys:["current_daily_usage_count","currentDailyUsageCount","daily_used","dailyUsed","used_daily_usage_count","usedDailyUsageCount"],resetKeys:["daily_resets_at","dailyResetsAt","daily_reset_at","dailyResetAt"]}],RX=["used_percent","usedPercent","utilization","usage_percentage","usagePercentage","total","quota","limit","max","entitlement","remaining","remain","remains","left","usage_percent","usagePercent","current_interval_total_count","current_interval_usage_count","current_interval_remaining_count","current_interval_remains_count","max_interval_usage_count","current_weekly_usage_count","max_weekly_usage_count","current_daily_usage_count","max_daily_usage_count"]});function IX(q){return q.replace(/\/+$/,"")}function EX(q=wZ()?.baseUrl??K0){let Z=q.trim();return Z?IX(Z):K0}function CX(q){let Z=q??wZ()?.baseUrl;if(!Z?.trim())return{baseUrl:K0,usedDefault:!0};return{baseUrl:EX(Z),usedDefault:!1}}function EQ(q){return{availability:"unknown",snapshots:[],message:q}}function SQ(q){let{baseUrl:Z,usedDefault:Q}=CX(q);try{let Y=new URL(`${Z}/`);return[new URL("token_plan/remains",Y).toString(),new URL("api/openplatform/coding_plan/remains",Y).toString()]}catch{if(Q){let Y=new URL(`${K0}/`);return[new URL("token_plan/remains",Y).toString(),new URL("api/openplatform/coding_plan/remains",Y).toString()]}throw Error(`MiniMax usage base URL is invalid: ${Z}`)}}async function Wq(){let q=wZ()?.apiKey;if(!q)throw Error("MiniMax auth is required. Run /provider and configure a MiniMax profile.");let Z=SQ(),Q=[],Y=null;for(let V of Z){let W;try{W=await fetch(V,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${q}`,"Content-Type":"application/json","User-Agent":CQ()},signal:AbortSignal.timeout(5000)})}catch(N){_Z(`[minimax] usage request failed for ${V}: ${N instanceof Error?N.message:String(N)}`,{level:"warn"}),Y=N instanceof Error?N:Error(String(N));continue}if(!W.ok){let N=await W.text().catch(()=>"");if([400,401,403,404].includes(W.status)){Q.push({status:W.status,body:N});continue}Y=Error(`MiniMax usage error ${W.status}: ${N||"unknown error"}`);continue}let D=Vq(await W.json());if(D.availability==="available")return D}if(Q.length>0){let V=Q[Q.length-1];return _Z(`[minimax] usage endpoint returned non-fatal status ${V.status}: ${V.body}`,{level:"warn"}),EQ(H0)}if(Y)throw Y;return EQ(H0)}var hQ=r(()=>{EJ();qq();kX();Yq();Hq()});var fQ=r(()=>{Hq();hQ()});function fX(q){let Z=Math.max(1,Math.ceil(q/60000)),Q=Math.floor(Z/1440),Y=Math.floor(Z%1440/60),V=Z%60;if(Q>0)return Y>0?`${Q}d ${Y}h`:`${Q}d`;if(Y>0)return V>0?`${Y}h ${V}m`:`${Y}h`;return`${V}m`}function yX(q,Z){if(!q)return;let Q=Date.parse(q);if(!Number.isFinite(Q))return;let Y=Q-Z;if(Y<=0)return"Resetting now";return`Resets in ${fX(Y)}`}function TX({label:q,usedPercent:Z,resetsAt:Q,extraSubtext:Y,maxWidth:V,nowMs:W}){let D=Math.max(0,Math.min(100,Z)),N=`${Math.floor(D)}% used`,L=yX(Q,W),M=[N,Y].filter((H)=>Boolean(H));return z(U,{flexDirection:"column",children:[z(K,{children:[G(K,{bold:!0,children:q}),L?z(K,{dimColor:!0,children:[" · ",L]}):null]}),z(U,{flexDirection:"row",gap:1,children:[G(sZ,{ratio:D/100,width:Math.min(hX,Math.max(1,V)),fillColor:"rate_limit_fill",emptyColor:"rate_limit_empty"}),M.length>0?G(K,{dimColor:!0,children:M.join(" · ")}):null]})]})}function jX({label:q,value:Z}){if(!Z)return G(K,{bold:!0,children:q});return z(K,{children:[G(K,{bold:!0,children:q}),z(K,{dimColor:!0,children:[" · ",Z]})]})}function TQ(){let[q,Z]=yZ.useState(null),[Q,Y]=yZ.useState(null),[V,W]=yZ.useState(!0),[D,N]=yZ.useState(()=>Date.now()),{columns:L}=RZ(),M=L-2,H=Math.min(M,80),O=yQ.useCallback(async()=>{W(!0),Y(null);try{Z(await Wq())}catch(P){MZ(P),Y(P instanceof Error?P.message:"Failed to load MiniMax usage")}finally{W(!1)}},[]);if(yZ.useEffect(()=>{O()},[O]),yZ.useEffect(()=>{let P=setInterval(()=>{N(Date.now())},SX);return()=>clearInterval(P)},[]),b("settings:retry",()=>{O()},{context:"Settings",isActive:!!Q&&!V}),Q)return z(U,{flexDirection:"column",gap:1,children:[z(K,{color:"error",children:["Error: ",Q]}),G(K,{dimColor:!0,children:z(qZ,{children:[G(T,{action:"settings:retry",context:"Settings",fallback:"r",description:"retry"}),G(T,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})})]});if(!q)return z(U,{flexDirection:"column",gap:1,children:[G(K,{dimColor:!0,children:"Loading MiniMax usage data…"}),G(K,{dimColor:!0,children:G(T,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]});let F=q.availability==="available"?Kq(q.snapshots):[];return z(U,{flexDirection:"column",gap:1,width:"100%",children:[q.planType?z(K,{dimColor:!0,children:["Plan: ",q.planType]}):null,q.availability==="unknown"?G(K,{dimColor:!0,children:q.message}):F.length===0?G(K,{dimColor:!0,children:"No MiniMax usage windows were returned for this account."}):null,F.map((P,R)=>P.kind==="window"?G(TX,{label:P.label,usedPercent:P.usedPercent,resetsAt:P.resetsAt,extraSubtext:P.extraSubtext,maxWidth:H,nowMs:D},`${P.label}-${R}`):G(jX,{label:P.label,value:P.value},`${P.label}-${R}`)),G(K,{dimColor:!0,children:G(T,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]})}var yQ,yZ,SX=30000,hX=18;var jQ=r(()=>{X0();SZ();iZ();fQ();I0();cZ();E0();Qq();x();yQ=u(FZ(),1),yZ=u(FZ(),1)});function $Q({providerLabel:q}){return z(U,{flexDirection:"column",gap:1,children:[z(K,{dimColor:!0,children:["Usage details are not currently available for ",q,"."]}),G(K,{dimColor:!0,children:G(T,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})})]})}var wQ=r(()=>{SZ();cZ();x()});import{readdir as gQ,readFile as mQ}from"fs/promises";import{join as zq}from"path";async function _Q(q,Z){let Q;try{Q=await mQ(q,"utf-8")}catch(V){if(!Dq(V))_Z(`usageContribution: skip ${q}: ${String(V)}`);return 0}if(Q.length>Oq)return 0;let Y=0;for(let V of Q.split(`
3
- `)){if(!V)continue;let W;try{W=JSON.parse(V)}catch{continue}if(W.type!=="assistant")continue;if(!W.timestamp)continue;let D=Date.parse(W.timestamp);if(Number.isNaN(D)||D<Z)continue;let N=W.message?.usage;if(!N)continue;Y+=(N.input_tokens??0)+(N.output_tokens??0)+(N.cache_creation_input_tokens??0)+(N.cache_read_input_tokens??0)}return Y}async function pQ(q){let Z;try{Z=await gQ(q,{withFileTypes:!0})}catch(Y){if(Dq(Y))return[];throw Y}let Q=[];for(let Y of Z){let V=zq(q,Y.name);if(Y.isDirectory())Q.push(...await pQ(V));else if(Y.isFile()&&pX.test(Y.name))Q.push(V)}return Q}async function xX(q){let Z=q.replace(/\.jsonl$/,".meta.json");try{let Q=await mQ(Z,"utf-8");return JSON.parse(Q).agentType||"subagent"}catch{return"subagent"}}async function Fq(q){let Z=Date.now()-bX[q],Q={window:q,totalTokens:0,sessionCount:0,subagentHeavyPct:0,agentBreakdown:[]},Y=bQ(),V;try{V=await gQ(Y,{withFileTypes:!0})}catch{return Q}let W=V.filter((O)=>O.isDirectory()).map((O)=>zq(Y,O.name)),D=0,N=0,L=0,M=new Map;for(let O=0;O<W.length;O++){let F=W[O],P=await vQ(F);for(let[R,I]of P){if(I.mtime<Z)continue;let k=I.size>Oq?0:await _Q(I.path,Z),_=0,t=zq(F,R,"subagents");for(let d of await pQ(t)){let m=await _Q(d,Z);if(m<=0)continue;_+=m;let j=await xX(d);M.set(j,(M.get(j)??0)+m)}let w=k+_;if(w<=0)continue;if(L++,D+=w,_/w>vX)N+=w}if(O%10===9)await new Promise((R)=>setImmediate(R))}if(D===0)return Q;let H=[...M.entries()].map(([O,F])=>({agentType:O,tokens:F,pct:F/D*100})).filter((O)=>O.tokens/D>=gX).sort((O,F)=>F.tokens-O.tokens).slice(0,mX);return{window:q,totalTokens:D,sessionCount:L,subagentHeavyPct:N/D*100,agentBreakdown:H}}var bX,vX=0.5,gX=0.05,mX=5,pX;var xQ=r(()=>{qq();$X();wX();_X();bX={day:86400000,week:604800000},pX=/^agent-.*\.jsonl$/});function cQ(q){let{title:Z,totalCost:Q,apiDuration:Y,wallDuration:V,linesAdded:W,linesRemoved:D,modelUsage:N,unknownCost:L,bytesSaved:M}=q,H=Object.entries(N);if(Q===0&&H.length===0&&W===0&&D===0)return null;let O={};for(let[P,R]of H){let I=Pq(P);if(!O[I])O[I]={inputTokens:0,outputTokens:0,cacheReadInputTokens:0,cacheCreationInputTokens:0,webSearchRequests:0,costUSD:0};let k=O[I];k.inputTokens+=R.inputTokens,k.outputTokens+=R.outputTokens,k.cacheReadInputTokens+=R.cacheReadInputTokens,k.cacheCreationInputTokens+=R.cacheCreationInputTokens,k.webSearchRequests+=R.webSearchRequests,k.costUSD+=R.costUSD}let F=Object.entries(O);return z(U,{flexDirection:"column",children:[G(K,{bold:!0,children:Z}),z(K,{children:[G(K,{children:"Total cost: "}),G(K,{children:bZ(Q)}),L&&G(K,{dimColor:!0,children:" (costs may be inaccurate due to usage of unknown models)"})]}),z(K,{children:["Total duration (API): ",D0(Y)]}),z(K,{children:["Total duration (wall): ",D0(V)]}),z(K,{children:["Total code changes: ",W," ",W===1?"line":"lines"," added, ",D," ",D===1?"line":"lines"," removed"]}),M!==void 0&&M>0&&z(K,{children:["Context tokens saved: ~",aQ(M/ZY)," tokens"]}),F.length>0&&G(K,{children:"Usage by model:"}),F.map(([P,R])=>{let I=`${LZ(R.inputTokens)} input, ${LZ(R.outputTokens)} output`;if(R.cacheReadInputTokens>0)I+=`, ${LZ(R.cacheReadInputTokens)} cache read`;if(R.cacheCreationInputTokens>0)I+=`, ${LZ(R.cacheCreationInputTokens)} cache write`;if(R.webSearchRequests>0)I+=`, ${LZ(R.webSearchRequests)} web search`;return I+=` (${bZ(R.costUSD)})`,z(K,{children:[`${P}:`.padStart(21)," ",I]},P)})]})}function uQ(q={}){let Z=q.view??"global",[,Q]=c.useReducer((D)=>D+1,0);c.useEffect(()=>{let D=setInterval(()=>Q(),1000);return()=>clearInterval(D)},[]);let Y=Nq();if(Z==="session"){let D=dQ(),N=oQ(),L=nQ(),M=rQ();return G(cQ,{title:"Current session",totalCost:D,apiDuration:lQ(),wallDuration:iQ(),linesAdded:L,linesRemoved:M,modelUsage:N,unknownCost:Y,bytesSaved:qY()})}let V=Aq();if(!(V.totalCost!==0||Object.keys(V.modelUsage).length>0||V.totalLinesAdded!==0||V.totalLinesRemoved!==0))return null;return z(U,{flexDirection:"column",gap:1,children:[G(cQ,{title:"Project total (all sessions)",totalCost:V.totalCost,apiDuration:V.totalAPIDuration,wallDuration:V.totalDuration,linesAdded:V.totalLinesAdded,linesRemoved:V.totalLinesRemoved,modelUsage:V.modelUsage,unknownCost:Y}),G(K,{dimColor:!0,children:"Aggregated across all sessions in this project — includes the current session live."})]})}function Lq(q={}){if((q.view??"global")==="session")return G(U,{flexDirection:"column",gap:1,width:"100%",children:G(uQ,{view:"session"})});let Q=sQ();if(Q==="firstParty")return G(ZG,{});let Y;if(Q==="codex")Y=G(LQ,{});else if(Q==="minimax")Y=G(TQ,{});else{let V={openai:"this OpenAI-compatible provider",gemini:"Google Gemini",github:"GitHub Copilot",mistral:"Mistral","nvidia-nim":"NVIDIA NIM",bedrock:"AWS Bedrock",vertex:"Google Vertex AI",foundry:"Microsoft Foundry"}[Q]??"this provider";Y=G($Q,{providerLabel:V})}return z(U,{flexDirection:"column",gap:1,width:"100%",children:[G(uQ,{view:"global"}),Y,G(eX,{})]})}function eX(){let[q,Z]=c.useState("day"),[Q,Y]=c.useState(null),[V,W]=c.useState(!0),D=y0.useCallback(async(M)=>{W(!0);try{Y(await Fq(M))}catch(H){MZ(H),Y(null)}finally{W(!1)}},[]);c.useEffect(()=>{D(q)},[D,q]),b("settings:usageDay",()=>Z("day"),{context:"Settings",isActive:!0}),b("settings:usageWeek",()=>Z("week"),{context:"Settings",isActive:!0});let N=q==="day"?"last 24h":"last week",L=Q?.agentBreakdown[0];return z(U,{flexDirection:"column",width:"100%",children:[G(K,{bold:!0,children:"What's driving your token usage?"}),G(K,{dimColor:!0,children:"Approximate, based on local sessions on this machine — does not include other devices."}),G(K,{dimColor:!0,children:`${N[0].toUpperCase()}${N.slice(1)} · a characteristic of your usage, not a full breakdown`}),V&&!Q?G(K,{dimColor:!0,children:"Analyzing local sessions…"}):!Q||Q.totalTokens===0?G(K,{dimColor:!0,children:`No local session activity in the ${N}.`}):z(U,{flexDirection:"column",marginTop:1,children:[Q.subagentHeavyPct>=5&&z(U,{flexDirection:"column",children:[G(K,{children:`${Math.round(Q.subagentHeavyPct)}% of your token usage came from subagent-heavy sessions.`}),G(K,{dimColor:!0,children:QY})]}),L&&G(U,{flexDirection:"column",marginTop:Q.subagentHeavyPct>=5?1:0,children:G(K,{children:`${Math.round(L.pct)}% of your token usage came from subagents under '${L.agentType}'.`})}),Q.agentBreakdown.length>0&&z(U,{flexDirection:"column",marginTop:1,children:[z(K,{children:[G(K,{children:"Subagents".padEnd(24)}),G(K,{children:"% of usage"})]}),Q.agentBreakdown.map((M)=>z(K,{children:[G(K,{children:M.agentType.padEnd(24)}),G(K,{children:`${Math.round(M.pct)}%`})]},M.agentType))]})]}),G(K,{dimColor:!0,children:"d to day · w to week"})]})}function ZG(){let q=xZ(),Z=RZ(),{columns:Q}=Z,{rows:Y}=T0(Z),V=Math.min(Math.max(20,Q-2),80),W=Math.min(50,Math.max(20,V-14)),D=Math.max(15,Math.min(Math.floor(Y*0.8),30)),N=Math.max(5,D-3),[L,M]=c.useState(null),[H,O]=c.useState(null),[F,P]=c.useState(!0),[R,I]=c.useState("day"),[k,_]=c.useState(null),[t,w]=c.useState(!0),[d,m]=c.useState(0),[,j]=c.useReducer((E)=>E+1,0),QZ=y0.useCallback(async()=>{P(!0),O(null);try{M(await JY())}catch(E){MZ(E),O(E?.message||"Failed to load usage data")}finally{P(!1)}},[]),o=y0.useCallback(async(E)=>{w(!0);try{_(await Fq(E))}catch($){MZ($),_(null)}finally{w(!1)}},[]);c.useEffect(()=>{QZ()},[QZ]),c.useEffect(()=>{o(R)},[o,R]),c.useEffect(()=>{let E=setInterval(()=>j(),1000);return()=>clearInterval(E)},[]);let YZ=()=>m((E)=>Math.max(0,E-1)),n=()=>m((E)=>E+1),zZ=()=>m((E)=>Math.max(0,E-N)),jZ=()=>m((E)=>E+N),e={context:"Settings",isActive:!0};b("select:previous",YZ,e),b("select:next",n,e),b("scroll:lineUp",YZ,e),b("scroll:lineDown",n,e),b("scroll:pageUp",zZ,e),b("scroll:pageDown",jZ,e),b("settings:usageDay",()=>I("day"),e),b("settings:usageWeek",()=>I("week"),e),b("settings:retry",()=>{QZ(),o(R)},{context:"Settings",isActive:!!H&&!F});let vZ=(E)=>KZ.bold(E),XZ=(E)=>KZ.dim(E),F0=(E)=>{let $=Math.min(1,Math.max(0,E)),a=Math.floor($*W),VZ="█".repeat(a),HZ=" ".repeat(Math.max(0,W-a));return f0(VZ,q.rate_limit_fill,"foreground")+f0(HZ,q.rate_limit_empty,"background")},C=[],p=Aq();C.push(vZ("Project total (all sessions)")),C.push("Total cost: "+bZ(p.totalCost)+(Nq()?XZ(" (costs may be inaccurate)"):"")),C.push("Total duration (API): "+D0(p.totalAPIDuration)),C.push("Total duration (wall): "+D0(p.totalDuration)),C.push(`Total code changes: ${p.totalLinesAdded} ${p.totalLinesAdded===1?"line":"lines"} added, ${p.totalLinesRemoved} ${p.totalLinesRemoved===1?"line":"lines"} removed`);let BZ={};for(let[E,$]of Object.entries(p.modelUsage)){let a=Pq(E),VZ=BZ[a]??={inputTokens:0,outputTokens:0,cacheReadInputTokens:0,cacheCreationInputTokens:0,webSearchRequests:0,costUSD:0};VZ.inputTokens+=$.inputTokens,VZ.outputTokens+=$.outputTokens,VZ.cacheReadInputTokens+=$.cacheReadInputTokens,VZ.cacheCreationInputTokens+=$.cacheCreationInputTokens,VZ.webSearchRequests+=$.webSearchRequests,VZ.costUSD+=$.costUSD}let N0=Object.entries(BZ);if(N0.length>0)C.push("Usage by model:");for(let[E,$]of N0){let a=`${LZ($.inputTokens)} input, ${LZ($.outputTokens)} output`;if($.cacheReadInputTokens>0)a+=`, ${LZ($.cacheReadInputTokens)} cache read`;if($.cacheCreationInputTokens>0)a+=`, ${LZ($.cacheCreationInputTokens)} cache write`;if($.webSearchRequests>0)a+=`, ${LZ($.webSearchRequests)} web search`;a+=` (${bZ($.costUSD)})`,C.push(`${`${E}:`.padStart(21)} ${a}`)}if(C.push(XZ("Aggregated across all sessions in this project — includes the current session live.")),C.push(""),F&&!L)C.push(XZ("Loading usage data…"));else if(H)C.push(f0(`Could not load rate-limit data: ${H}`,q.error,"foreground")),C.push(XZ("(cost/usage totals above are unaffected) · r to retry"));else if(L){let E=tQ(),$=E==="max"||E==="team"||E===null,a=[["Current session",L.five_hour],["Current week (all models)",L.seven_day],...$?[["Current week (Sonnet only)",L.seven_day_sonnet]]:[]];if(!a.some(([,eZ])=>eZ))C.push(XZ("/usage is only available for subscription plans."));let VZ=!0;for(let[eZ,UZ]of a){if(!UZ||UZ.utilization===null)continue;if(!VZ)C.push("");if(VZ=!1,C.push(vZ(eZ)),C.push(`${F0(UZ.utilization/100)} ${Math.floor(UZ.utilization)}% used`),UZ.resets_at)C.push(XZ(`Resets ${S0(UZ.resets_at,!0,!0)}`))}let HZ=L.extra_usage;if(HZ?.is_enabled&&typeof HZ.used_credits==="number"&&typeof HZ.utilization==="number"&&HZ.monthly_limit!=null)C.push(""),C.push(vZ("Extra usage")),C.push(`${F0(HZ.utilization/100)} ${Math.floor(HZ.utilization)}% used`),C.push(XZ(`${bZ(HZ.used_credits/100,2)} / ${bZ(HZ.monthly_limit/100,2)} spent`))}C.push("");let gZ=R==="day"?"last 24h":"last week";if(C.push(vZ("What's driving your token usage?")),C.push(XZ("Approximate, based on local sessions on this machine — does not include other devices.")),C.push(XZ(`${gZ[0].toUpperCase()}${gZ.slice(1)} · a characteristic of your usage, not a full breakdown`)),t&&!k)C.push(XZ("Analyzing local sessions…"));else if(!k||k.totalTokens===0)C.push(XZ(`No local session activity in the ${gZ}.`));else{if(k.subagentHeavyPct>=5)C.push(""),C.push(`${Math.round(k.subagentHeavyPct)}% of your token usage came from subagent-heavy sessions.`),C.push(XZ(QY));let E=k.agentBreakdown[0];if(E)C.push(""),C.push(`${Math.round(E.pct)}% of your token usage came from subagents under '${E.agentType}'.`);if(k.agentBreakdown.length>0){C.push(""),C.push("Subagents".padEnd(24)+"% of usage");for(let $ of k.agentBreakdown)C.push($.agentType.padEnd(24)+`${Math.round($.pct)}%`)}}let mZ=Math.max(0,C.length-N);if(d>mZ)m(mZ);let pZ=Math.min(d,mZ),j0=C.slice(pZ,pZ+N),GZ=pZ,tZ=C.length-(pZ+j0.length);return z(U,{flexDirection:"column",width:"100%",children:[G(K,{dimColor:!0,children:GZ>0?`↑ ${GZ} more above`:" "}),G(eQ,{lines:j0,width:V}),G(K,{dimColor:!0,children:tZ>0?`↓ ${tZ} more below`:" "}),G(K,{dimColor:!0,children:"↑↓ scroll · d to day · w to week · Esc to close"})]})}var tX,y0,c,QY="Each subagent runs its own requests. Be deliberate about spawning them — and consider a cheaper model for simpler subagents.";var YY=r(()=>{oX();aX();yJ();Jq();nX();iX();dX();OJ();X0();SZ();lX();M0();iZ();rX();Jq();I0();uX();cX();cZ();E0();Qq();sX();MQ();jQ();wQ();xQ();x();tX=u($Z(),1),y0=u(FZ(),1),c=u(FZ(),1)});function N9(q){let Z=KY.c(25),{onClose:Q,context:Y,defaultTab:V}=q,[W,D]=TZ.useState(V),[N,L]=TZ.useState(!1),[M,H]=TZ.useState(!1),[O,F]=TZ.useState(!1),P=uZ(),{rows:R}=T0(RZ()),I=P?R+1:Math.max(15,Math.min(Math.floor(R*0.8),30)),[k]=TZ.useState(QG);XY();let _;if(Z[0]!==Q||Z[1]!==N)_=()=>{if(N)return;Q("Status dialog dismissed",{display:"system"})},Z[0]=Q,Z[1]=N,Z[2]=_;else _=Z[2];let t=_,w=!N&&!(W==="Config"&&M)&&!(W==="Gates"&&O),d;if(Z[3]!==w)d={context:"Settings",isActive:w},Z[3]=w,Z[4]=d;else d=Z[4];b("confirm:no",t,d);let m;if(Z[5]!==Y||Z[6]!==k)m=G(O0,{title:"Status",children:G(cq,{context:Y,diagnosticsPromise:k})},"status"),Z[5]=Y,Z[6]=k,Z[7]=m;else m=Z[7];let j;if(Z[8]!==I||Z[9]!==Y||Z[10]!==Q)j=G(O0,{title:"Config",children:G(TZ.Suspense,{fallback:null,children:G(eJ,{context:Y,onClose:Q,setTabsHidden:L,onIsSearchModeChange:H,contentHeight:I})})},"config"),Z[8]=I,Z[9]=Y,Z[10]=Q,Z[11]=j;else j=Z[11];let QZ;if(Z[12]===Symbol.for("react.memo_cache_sentinel"))QZ=[G(O0,{title:"Usage",children:G(Lq,{view:"global"})},"usage"),G(O0,{title:"Session",children:G(Lq,{view:"session"})},"session")],Z[12]=QZ;else QZ=Z[12];let o;if(Z[13]!==I)o=[],Z[13]=I,Z[14]=o;else o=Z[14];let YZ;if(Z[15]!==m||Z[16]!==j||Z[17]!==o)YZ=[m,j,...QZ,...o],Z[15]=m,Z[16]=j,Z[17]=o,Z[18]=YZ;else YZ=Z[18];let n=YZ,zZ=V!=="Config"&&V!=="Gates",jZ=N||P?void 0:I,e;if(Z[19]!==W||Z[20]!==jZ||Z[21]!==zZ||Z[22]!==n||Z[23]!==N)e=G(GY,{color:"permission",children:G(VY,{color:"permission",selectedTab:W,onTabChange:D,hidden:N,initialHeaderFocused:zZ,contentHeight:jZ,children:n})}),Z[19]=W,Z[20]=jZ,Z[21]=zZ,Z[22]=n,Z[23]=N,Z[24]=e;else e=Z[24];return e}function QG(){return xq().catch(YG)}function YG(){return[]}var KY,TZ;var XG=r(()=>{iZ();qG();X0();M0();JG();uJ();uq();ZQ();YY();x();KY=u($Z(),1),TZ=u(FZ(),1)});
4
- export{N9 as Ng,XG as Og};
@@ -1,4 +0,0 @@
1
- import{qha as X,uha as w,vha as L,wha as _}from"./cli-1.1.16-b7t8n05k.mjs";import{Fja as MD,Ija as cD}from"./cli-1.1.16-5a4a2nqs.mjs";import{Ika as x,Lka as dD,oka as ND,qka as rD,uka as jD,yka as aD}from"./cli-1.1.16-s404wy1x.mjs";import{Bla as mD,qla as zD,tla as HD}from"./cli-1.1.16-b80x5mp6.mjs";import{era as PD,fna as UD}from"./cli-1.1.16-eabt3s19.mjs";import{Osa as LD,Qsa as bD,Ssa as V,Tsa as hD}from"./cli-1.1.16-w5ns6t4b.mjs";var T=bD((Cu,S)=>{S.exports=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});var W=161,f=1114109,p,l=12288,g=65510,h,P=4352,c=262141,j;var m=V(()=>{p=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],h=[12288,12288,65281,65376,65504,65510],j=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141]});var Z=(D,F)=>{let u=0,C=Math.floor(D.length/2)-1;while(u<=C){let E=Math.floor((u+C)/2),B=E*2;if(F<D[B])C=E-1;else if(F>D[B+1])u=E+1;else return!0}return!1};var r=()=>{};function kD(D){let F=D[0],u=D[1];for(let C=0;C<D.length;C+=2){let E=D[C],B=D[C+1];if(a>=E&&a<=B)return[E,B];if(B-E>u-F)F=E,u=B}return[F,u]}var a=19968,_D,yD,d=(D)=>{if(D<W||D>f)return!1;return Z(p,D)},s=(D)=>{if(D<l||D>g)return!1;return Z(h,D)},n=(D)=>{if(D>=_D&&D<=yD)return!0;if(D<P||D>c)return!1;return Z(j,D)};var i=V(()=>{m();r();[_D,yD]=kD(j)});function RD(D){if(!Number.isSafeInteger(D))throw TypeError(`Expected a code point, got \`${typeof D}\`.`)}function v(D,{ambiguousAsWide:F=!1}={}){if(RD(D),s(D)||n(D)||F&&d(D))return 2;return 1}var o=V(()=>{i()});function G({onlyFirst:D=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",D?void 0:"g")}var e=()=>{};function O(D){if(typeof D!=="string")throw TypeError(`Expected a \`string\`, got \`${typeof D}\``);if(!D.includes("\x1B")&&!D.includes("›"))return D;return D.replace(wD,"")}var wD;var t=V(()=>{e();wD=G()});function BD(D){let F=0,u=D.replace(ID,()=>{return F++,""});return{count:F,stripped:u}}function AD(D){if(typeof D!=="string"||D.length===0)return 0;if(D.includes(ED)){let{count:C,stripped:E}=BD(D);return C+AD(E)}let F=!0;for(let C=0;C<D.length;C++){let E=D.charCodeAt(C);if(E>=127||E===27){F=!1;break}}if(F){let C=0;for(let E=0;E<D.length;E++)if(D.charCodeAt(E)>31)C++;return C}if(D.includes("\x1B")){if(D=O(D),D.length===0)return 0}if(!xD(D)){let C=0;for(let E of D){let B=E.codePointAt(0);if(!uD(B))C+=v(B,{ambiguousAsWide:!1})}return C}let u=0;for(let{segment:C}of X().segment(D)){if(DD.lastIndex=0,DD.test(C)){u+=SD(C);continue}for(let E of C){let B=E.codePointAt(0);if(!uD(B)){u+=v(B,{ambiguousAsWide:!1});break}}}return u}function xD(D){for(let F of D){let u=F.codePointAt(0);if(u>=127744&&u<=129791)return!0;if(u>=9728&&u<=10175)return!0;if(u>=127462&&u<=127487)return!0;if(u>=65024&&u<=65039)return!0;if(u===8205)return!0}return!1}function SD(D){let F=D.codePointAt(0);if(F>=127462&&F<=127487){let u=0;for(let C of D)u++;return u===1?1:2}if(D.length===2){if(D.codePointAt(1)===65039&&(F>=48&&F<=57||F===35||F===42))return 1}return 2}function uD(D){if(D>=32&&D<127)return!1;if(D>=160&&D<768)return D===173;if(D<=31||D>=127&&D<=159)return!0;if(D>=8203&&D<=8205||D===65279||D>=8288&&D<=8292)return!0;if(D>=65024&&D<=65039||D>=917760&&D<=917999)return!0;if(D>=768&&D<=879||D>=6832&&D<=6911||D>=7616&&D<=7679||D>=8400&&D<=8447||D>=65056&&D<=65071)return!0;if(D>=2304&&D<=3407){let F=D&127;if(F<=3)return!0;if(F>=58&&F<=79)return!0;if(F>=81&&F<=87)return!0;if(F>=98&&F<=99)return!0}if(D===3633||D>=3636&&D<=3642||D>=3655&&D<=3662||D===3761||D>=3764&&D<=3772||D>=3784&&D<=3789)return!0;if(D>=1536&&D<=1541||D===1757||D===1807||D===2274)return!0;if(D>=55296&&D<=57343)return!0;if(D>=917504&&D<=917631)return!0;return!1}var CD,DD,ED="\uDBFB\uDEEE",ID,b,FD,$;var QD=V(()=>{o();t();_();CD=LD(T(),1),DD=CD.default(),ID=/\u{10EEEE}\p{M}{0,3}/gu;b=typeof Bun<"u"&&typeof Bun.stringWidth==="function"?Bun.stringWidth:null,FD={ambiguousIsNarrow:!0},$=b?(D)=>{if(D.includes(ED)){let{count:F,stripped:u}=BD(D);return F+(u.length>0?b(u,FD):0)}return b(D,FD)}:AD});function TD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"…";if(F<5)return K(u,F);let C=u.lastIndexOf("/"),E=C>=0?u.slice(C):u,B=C>=0?u.slice(0,C):"",A=$(E);if(A>=F-1)return y(D,F);let Q=F-1-A;if(Q<=0)return y(E,F);return VD(B,Q)+"…"+E}function K(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F-1)break;E+=B,C+=A}return E+"…"}function y(D,F){let u=D??"";if($(u)<=F)return u;if(F<=1)return"…";let C=[...X().segment(u)],E=0,B=C.length;for(let A=C.length-1;A>=0;A--){let Q=$(C[A].segment);if(E+Q>F-1)break;E+=Q,B=A}return"…"+C.slice(B).map((A)=>A.segment).join("")}function VD(D,F){let u=D??"";if($(u)<=F)return u;if(F<=0)return"";let C=0,E="";for(let{segment:B}of X().segment(u)){let A=$(B);if(C+A>F)break;E+=B,C+=A}return E}function WD(D,F,u=!1){let C=D??"";if(C==="")return"";let E=C;if(u){let B=C.indexOf(`
2
- `);if(B!==-1){if(E=C.substring(0,B),$(E)+1>F)return K(E,F);return`${E}…`}}if($(E)<=F)return E;return K(E,F)}var $D=V(()=>{QD();_()});function U(D){let F=D/1024;if(F<1)return`${D} bytes`;if(F<1024)return`${F.toFixed(1).replace(/\.0$/,"")}KB`;let u=F/1024;if(u<1024)return`${u.toFixed(1).replace(/\.0$/,"")}MB`;return`${(u/1024).toFixed(1).replace(/\.0$/,"")}GB`}function Ru(D){return`${(D/1000).toFixed(1)}s`}function wu(D,F){if(D<60000){if(D===0)return"0s";if(D<1000)return`${(D/1000).toFixed(1)}s`;return`${Math.floor(D/1000).toString()}s`}let u=Math.floor(D/86400000),C=Math.floor(D%86400000/3600000),E=Math.floor(D%3600000/60000),B=Math.round(D%60000/1000);if(B===60)B=0,E++;if(E===60)E=0,C++;if(C===24)C=0,u++;let A=F?.hideTrailingZeros;if(F?.mostSignificantOnly){if(u>0)return`${u}d`;if(C>0)return`${C}h`;if(E>0)return`${E}m`;return`${B}s`}if(u>0){if(A&&C===0&&E===0)return`${u}d`;if(A&&E===0)return`${u}d ${C}h`;return`${u}d ${C}h ${E}m`}if(C>0){if(A&&E===0&&B===0)return`${C}h`;if(A&&B===0)return`${C}h ${E}m`;return`${C}h ${E}m ${B}s`}if(E>0){if(A&&B===0)return`${E}m`;return`${E}m ${B}s`}return`${B}s`}function pD(D){let F=D>=1000;return fD(F).format(D).toLowerCase()}function Lu(D){return pD(D).replace(".0","")}function qD(D,F={}){let{style:u="narrow",numeric:C="always",now:E=new Date}=F,B=D.getTime()-E.getTime(),A=Math.trunc(B/1000),Q=[{unit:"year",seconds:31536000,shortUnit:"y"},{unit:"month",seconds:2592000,shortUnit:"mo"},{unit:"week",seconds:604800,shortUnit:"w"},{unit:"day",seconds:86400,shortUnit:"d"},{unit:"hour",seconds:3600,shortUnit:"h"},{unit:"minute",seconds:60,shortUnit:"m"},{unit:"second",seconds:1,shortUnit:"s"}];for(let{unit:q,seconds:Y,shortUnit:N}of Q)if(Math.abs(A)>=Y){let J=Math.trunc(A/Y);if(u==="narrow")return A<0?`${Math.abs(J)}${N} ago`:`in ${J}${N}`;return w("long",C).format(J,q)}if(u==="narrow")return A<=0?"0s ago":"in 0s";return w(u,C).format(0,"second")}function lD(D,F={}){let{now:u=new Date,...C}=F;if(D>u)return qD(D,{...C,now:u});return qD(D,{...C,numeric:"always",now:u})}function Iu(D){let F=D.fileSize!==void 0?U(D.fileSize):`${D.messageCount} messages`,u=[lD(D.modified,{style:"short"}),...D.gitBranch?[D.gitBranch]:[],F];if(D.tag)u.push(`#${D.tag}`);if(D.agentSetting)u.push(`@${D.agentSetting}`);if(D.prNumber)u.push(D.prRepository?`${D.prRepository}#${D.prNumber}`:`#${D.prNumber}`);return u.join(" · ")}function gD(D,F=!1,u=!0){if(!D)return;let C=new Date(D*1000),E=new Date,B=C.getMinutes();if((C.getTime()-E.getTime())/3600000>24){let q={month:"short",day:"numeric",hour:u?"numeric":void 0,minute:!u||B===0?void 0:"2-digit",hour12:u?!0:void 0};if(C.getFullYear()!==E.getFullYear())q.year="numeric";return C.toLocaleString("en-US",q).replace(/ ([AP]M)/i,(N,J)=>J.toLowerCase())+(F?` (${L()})`:"")}return C.toLocaleTimeString("en-US",{hour:"numeric",minute:B===0?void 0:"2-digit",hour12:!0}).replace(/ ([AP]M)/i,(q,Y)=>Y.toLowerCase())+(F?` (${L()})`:"")}function xu(D,F=!1,u=!0){let C=new Date(D);return`${gD(Math.floor(C.getTime()/1000),F,u)}`}var k=null,R=null,fD=(D)=>{if(D){if(!k)k=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:1});return k}else{if(!R)R=new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1,minimumFractionDigits:0});return R}};var XD=V(()=>{_();$D()});function z(){if(!I)I=hD("perf_hooks").performance;return I}function M(D){return D.toFixed(3)}function YD(D,F,u,C,E,B,A=""){let Q=C?` | RSS: ${U(C.rss)}, Heap: ${U(C.heapUsed)}`:"";return`[+${M(D).padStart(E)}ms] (+${M(F).padStart(B)}ms) ${u}${A}${Q}`}var I=null;var JD=V(()=>{XD()});import{dirname as sD,join as nD}from"path";function eD(D){if(!GD)return;if(z().mark(D),H)OD.push(process.memoryUsage())}function ZD(){if(!H)return"Startup profiling not enabled";let F=z().getEntriesByType("mark");if(F.length===0)return"No profiling checkpoints recorded";let u=[];u.push("=".repeat(80)),u.push("STARTUP PROFILING REPORT"),u.push("=".repeat(80)),u.push("");let C=0;for(let[B,A]of F.entries())u.push(YD(A.startTime,A.startTime-C,A.name,OD[B],8,7)),C=A.startTime;let E=F[F.length-1];return u.push(""),u.push(`Total startup time: ${M(E?.startTime??0)}ms`),u.push("=".repeat(80)),u.join(`
3
- `)}function tD(){if(KD)return;if(KD=!0,uu(),H){let D=Du(),F=sD(D);jD().mkdirSync(F),ND(D,ZD(),{encoding:"utf8",flush:!0}),x("Startup profiling report:"),x(ZD())}}function Du(){return nD(zD(),"startup-perf",`${UD()}.txt`)}function uu(){if(!vD)return;let F=z().getEntriesByType("mark");if(F.length===0)return;let u=new Map;for(let E of F)u.set(E.name,E.startTime);let C={};for(let[E,[B,A]]of Object.entries(oD)){let Q=u.get(B),q=u.get(A);if(Q!==void 0&&q!==void 0)C[`${E}_ms`]=Math.round(q-Q)}C.checkpoint_count=F.length,MD("",C)}var H,iD=0.005,vD,GD,OD,oD,KD=!1;var Fu=V(()=>{PD();cD();dD();mD();aD();JD();rD();H=HD(process.env.CLAUDIN_PROFILE_STARTUP),vD=Math.random()<iD,GD=H||vD,OD=[],oD={import_time:["cli_entry","main_tsx_imports_loaded"],init_time:["init_function_start","init_function_end"],settings_time:["eagerLoadSettings_start","eagerLoadSettings_end"],total_time:["cli_entry","main_after_run"]};if(GD)eD("profiler_initialized"),process.on("exit",()=>{try{tD()}catch{}})});
4
- export{v as Mga,o as Nga,O as Oga,t as Pga,$ as Qga,QD as Rga,TD as Sga,K as Tga,y as Uga,VD as Vga,WD as Wga,$D as Xga,U as Yga,Ru as Zga,wu as _ga,pD as $ga,Lu as aha,qD as bha,lD as cha,Iu as dha,gD as eha,xu as fha,XD as gha,z as hha,M as iha,YD as jha,JD as kha,eD as lha,tD as mha,Du as nha,uu as oha,Fu as pha};
@@ -1,3 +0,0 @@
1
- import{UU as O,VU as S}from"./cli-1.1.16-hq7j37g9.mjs";import{Dga as G,G$ as I,J_ as D,K_ as x,Lga as y,Qea as z,Rea as A,dfa as k,i$ as B,j$ as M,tba as R,vba as _}from"./cli-1.1.16-jcye29qq.mjs";import{Ria as q,Tia as v}from"./cli-1.1.16-kz0jkcdc.mjs";import{Dra as K,Era as W}from"./cli-1.1.16-vhwypfn6.mjs";W();v();k();_();x();I();y();S();var b=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function F(L){return!b.some((Q)=>Q.test(L))}function P(L,Q){let J=[],X=new Set,U=new Map;for(let H=1;J.length<Q&&H<=Q;H++)for(let V of L){if(J.length>=Q)break;if(!F(V))continue;let Y=Math.max(V.lastIndexOf("/"),V.lastIndexOf("\\")),Z=Y>=0?V.slice(Y+1):V;if(!Z||X.has(Z))continue;let $=Y>=0?V.slice(0,Y):".";if((U.get($)??0)>=H)continue;J.push(Z),X.add(Z),U.set($,(U.get($)??0)+1)}return J.length>=Q?J:[]}async function N(){if(R.platform==="win32")return[];if(!await M())return[];try{let L=await O(),Q=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],J=new Map,X=(H)=>{for(let V of H.split(`
2
- `)){let Y=V.trim();if(Y)J.set(Y,(J.get(Y)??0)+1)}};if(L){let{stdout:H}=await D("git",[...Q,`--author=${L}`],{cwd:q()});X(H)}if(J.size<10){let{stdout:H}=await D(B(),Q,{cwd:q()});X(H)}let U=Array.from(J.entries()).sort((H,V)=>V[1]-H[1]).map(([H])=>H);return P(U,5)}catch(L){return G(L),[]}}var T=604800000;function E(L){let Q=z(),J=Q.exampleFiles?.length?Q.exampleFiles:["<filepath>"],U=[...["fix lint errors","fix typecheck errors",`how does ${J[0]} work?`,`refactor ${J[Math.floor(J.length/2)]}`,"how do I log an error?",`edit ${J[J.length-1]} to...`,`write a test for ${J[0]}`,"create a util logging.py that..."]];for(let H=U.length-1;H>0;H--){let V=Math.floor(Math.random()*(H+1));[U[H],U[V]]=[U[V],U[H]]}return U.slice(0,L).map((H)=>`Try "${H}"`)}var d=K((L)=>{return E(L)}),p=K(async()=>{let L=z(),Q=Date.now(),J=L.exampleFilesGeneratedAt??0;if(Q-J>T)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((X)=>{if(X.length)A((U)=>({...U,exampleFiles:X,exampleFilesGeneratedAt:Date.now()}))})});
3
- export{P as Ta,d as Ua,p as Va};
@@ -1,2 +0,0 @@
1
- import{kR as x,nR as B}from"./cli-1.1.16-hwr77b8n.mjs";import{Ssa as z}from"./cli-1.1.16-w5ns6t4b.mjs";function H(q){if(!q)return 0;return q.activeAgents.filter((b)=>b.source!=="built-in").reduce((b,w)=>{let y=`${w.agentType}: ${w.whenToUse}`;return b+x(y)},0)}var G=15000;var A=z(()=>{B()});
2
- export{G as yg,H as zg,A as Ag};
@@ -1,2 +0,0 @@
1
- import{pf as R,rf as p}from"./cli-1.1.16-zzc307e7.mjs";import{B2 as d,y2 as O}from"./cli-1.1.16-x0gywt7y.mjs";import{Ika as K,Lka as h}from"./cli-1.1.16-s404wy1x.mjs";import{gla as f,nla as D}from"./cli-1.1.16-njacmwr1.mjs";import{Ssa as I,Tsa as J}from"./cli-1.1.16-w5ns6t4b.mjs";async function g({environmentId:X,title:Q,events:q,gitRepoUrl:_,branch:Y,signal:z,baseUrl:G,getAccessToken:$,permissionMode:W}){let{getClaudeAIOAuthTokens:B}=await import("./auth-1.1.16-7nwthv6n.mjs"),{getOrganizationUUID:Z}=await import("./client-1.1.16-mxfnn25v.mjs"),{getOauthConfig:V}=await import("./oauth-1.1.16-bt9x98w7.mjs"),{getOAuthHeaders:P}=await import("./api-1.1.16-k1mytgsx.mjs"),{parseGitHubRepository:N}=await import("./detectRepository-1.1.16-0mj2v70d.mjs"),{getDefaultBranch:L}=await import("./git-1.1.16-wxjpazsv.mjs"),{getMainLoopModel:T}=await import("./model-1.1.16-sjpwhja7.mjs"),{default:v}=await import("./index-1.1.16-6f495kq6.mjs"),x=$?.()??B()?.accessToken;if(!x)return K("[bridge] No access token for session creation"),null;let M=await Z();if(!M)return K("[bridge] No org UUID for session creation"),null;let E=null,k=null;if(_){let{parseGitRemote:y}=await import("./detectRepository-1.1.16-0mj2v70d.mjs"),F=y(_);if(F){let{host:A,owner:S,name:w}=F,j=Y||await L()||void 0;E={type:"git_repository",url:`https://${A}/${S}/${w}`,revision:j},k={type:"git_repository",git_info:{type:"github",repo:`${S}/${w}`,branches:[`claude/${Y||"task"}`]}}}else{let A=N(_);if(A){let[S,w]=A.split("/");if(S&&w){let j=Y||await L()||void 0;E={type:"git_repository",url:`https://github.com/${S}/${w}`,revision:j},k={type:"git_repository",git_info:{type:"github",repo:`${S}/${w}`,branches:[`claude/${Y||"task"}`]}}}}}}let m={...Q!==void 0&&{title:Q},events:q,session_context:{sources:E?[E]:[],outcomes:k?[k]:[],model:T()},environment_id:X,source:"remote-control",...W&&{permission_mode:W}},U={...P(x),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":M},b=`${G??V().BASE_API_URL}/v1/sessions`,H;try{H=await v.post(b,m,{headers:U,signal:z,validateStatus:(y)=>y<500})}catch(y){return K(`[bridge] Session creation request failed: ${f(y)}`),null}if(!(H.status===200||H.status===201)){let y=R(H.data);return K(`[bridge] Session creation failed with status ${H.status}${y?`: ${y}`:""}`),null}let C=H.data;if(!C||typeof C!=="object"||!("id"in C)||typeof C.id!=="string")return K("[bridge] No session ID in response"),null;return C.id}async function t(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-1.1.16-7nwthv6n.mjs"),{getOrganizationUUID:_}=await import("./client-1.1.16-mxfnn25v.mjs"),{getOauthConfig:Y}=await import("./oauth-1.1.16-bt9x98w7.mjs"),{getOAuthHeaders:z}=await import("./api-1.1.16-k1mytgsx.mjs"),{default:G}=await import("./index-1.1.16-6f495kq6.mjs"),$=Q?.getAccessToken?.()??q()?.accessToken;if(!$)return K("[bridge] No access token for session fetch"),null;let W=await _();if(!W)return K("[bridge] No org UUID for session fetch"),null;let B={...z($),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}`,V=1e4;K(`[bridge] Fetching session ${X}`);let P;try{P=await G.get(Z,{headers:B,timeout:V,validateStatus:(N)=>N<500})}catch(N){if(G.isAxiosError(N)){let L=N.response?.status??"no-response",T=N.code??"unknown-code",v=N.config?.url??Z,x=N.config?.method?.toUpperCase()??"GET",M=N.message??f(N),E=N.config?.timeout??V;K(`[bridge] Session fetch request failed: status=${L} code=${T} method=${x} url=${v} timeout=${E} message=${M}`)}else K(`[bridge] Session fetch request failed: url=${Z} timeout=${V} message=${f(N)}`);return null}if(P.status!==200){let N=R(P.data);return K(`[bridge] Session fetch failed with status ${P.status} url=${Z}${N?`: ${N}`:""}`),null}return P.data}async function r(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-1.1.16-7nwthv6n.mjs"),{getOrganizationUUID:_}=await import("./client-1.1.16-mxfnn25v.mjs"),{getOauthConfig:Y}=await import("./oauth-1.1.16-bt9x98w7.mjs"),{getOAuthHeaders:z}=await import("./api-1.1.16-k1mytgsx.mjs"),{default:G}=await import("./index-1.1.16-6f495kq6.mjs"),$=Q?.getAccessToken?.()??q()?.accessToken;if(!$){K("[bridge] No access token for session archive");return}let W=await _();if(!W){K("[bridge] No org UUID for session archive");return}let B={...z($),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}/archive`;K(`[bridge] Archiving session ${X}`);let V=await G.post(Z,{},{headers:B,timeout:Q?.timeoutMs??1e4,validateStatus:(P)=>P<500});if(V.status===200)K(`[bridge] Session ${X} archived successfully`);else{let P=R(V.data);K(`[bridge] Session archive failed with status ${V.status}${P?`: ${P}`:""}`)}}async function o(X,Q,q){let{getClaudeAIOAuthTokens:_}=await import("./auth-1.1.16-7nwthv6n.mjs"),{getOrganizationUUID:Y}=await import("./client-1.1.16-mxfnn25v.mjs"),{getOauthConfig:z}=await import("./oauth-1.1.16-bt9x98w7.mjs"),{getOAuthHeaders:G}=await import("./api-1.1.16-k1mytgsx.mjs"),{default:$}=await import("./index-1.1.16-6f495kq6.mjs"),W=q?.getAccessToken?.()??_()?.accessToken;if(!W){K("[bridge] No access token for session title update");return}let B=await Y();if(!B){K("[bridge] No org UUID for session title update");return}let Z={...G(W),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},V=O(X),P=`${q?.baseUrl??z().BASE_API_URL}/v1/sessions/${V}`;K(`[bridge] Updating session title: ${V} → ${Q}`);try{let N=await $.patch(P,{title:Q},{headers:Z,timeout:1e4,validateStatus:(L)=>L<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let L=R(N.data);K(`[bridge] Session title update failed with status ${N.status}${L?`: ${L}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${f(N)}`)}}var c=I(()=>{h();D();p();d()});
2
- export{g as gf,t as hf,r as if,o as jf,c as kf};
@@ -1,6 +0,0 @@
1
- import{Asa as M0,Bsa as H0}from"./cli-1.1.16-zgwt3v22.mjs";import{Psa as L0,Qsa as J,Ssa as R0,Tsa as E}from"./cli-1.1.16-w5ns6t4b.mjs";var u_=J((Ch,b_)=>{var T=1000,$=T*60,O=$*60,U=O*24,rS=U*7,sS=U*365.25;b_.exports=function(_,S){S=S||{};var z=typeof _;if(z==="string"&&_.length>0)return aS(_);else if(z==="number"&&isFinite(_))return S.long?_0(_):eS(_);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(_))};function aS(_){if(_=String(_),_.length>100)return;var S=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(_);if(!S)return;var z=parseFloat(S[1]),h=(S[2]||"ms").toLowerCase();switch(h){case"years":case"year":case"yrs":case"yr":case"y":return z*sS;case"weeks":case"week":case"w":return z*rS;case"days":case"day":case"d":return z*U;case"hours":case"hour":case"hrs":case"hr":case"h":return z*O;case"minutes":case"minute":case"mins":case"min":case"m":return z*$;case"seconds":case"second":case"secs":case"sec":case"s":return z*T;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return z;default:return}}function eS(_){var S=Math.abs(_);if(S>=U)return Math.round(_/U)+"d";if(S>=O)return Math.round(_/O)+"h";if(S>=$)return Math.round(_/$)+"m";if(S>=T)return Math.round(_/T)+"s";return _+"ms"}function _0(_){var S=Math.abs(_);if(S>=U)return t(_,S,U,"day");if(S>=O)return t(_,S,O,"hour");if(S>=$)return t(_,S,$,"minute");if(S>=T)return t(_,S,T,"second");return _+" ms"}function t(_,S,z,h){var K=S>=z*1.5;return Math.round(_/z)+" "+h+(K?"s":"")}});var J_=J((Ih,m_)=>{function z0(_){z.debug=z,z.default=z,z.coerce=M,z.disable=W,z.enable=K,z.enabled=V,z.humanize=u_(),z.destroy=F,Object.keys(_).forEach((Z)=>{z[Z]=_[Z]}),z.names=[],z.skips=[],z.formatters={};function S(Z){let Y=0;for(let G=0;G<Z.length;G++)Y=(Y<<5)-Y+Z.charCodeAt(G),Y|=0;return z.colors[Math.abs(Y)%z.colors.length]}z.selectColor=S;function z(Z){let Y,G=null,L,x;function H(...N){if(!H.enabled)return;let A=H,n=Number(new Date),lS=n-(Y||n);if(A.diff=lS,A.prev=Y,A.curr=n,Y=n,N[0]=z.coerce(N[0]),typeof N[0]!=="string")N.unshift("%O");let l=0;N[0]=N[0].replace(/%([a-zA-Z%])/g,(Z_,tS)=>{if(Z_==="%%")return"%";l++;let g_=z.formatters[tS];if(typeof g_==="function"){let oS=N[l];Z_=g_.call(A,oS),N.splice(l,1),l--}return Z_}),z.formatArgs.call(A,N),(A.log||z.log).apply(A,N)}if(H.namespace=Z,H.useColors=z.useColors(),H.color=z.selectColor(Z),H.extend=h,H.destroy=z.destroy,Object.defineProperty(H,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(G!==null)return G;if(L!==z.namespaces)L=z.namespaces,x=z.enabled(Z);return x},set:(N)=>{G=N}}),typeof z.init==="function")z.init(H);return H}function h(Z,Y){let G=z(this.namespace+(typeof Y>"u"?":":Y)+Z);return G.log=this.log,G}function K(Z){z.save(Z),z.namespaces=Z,z.names=[],z.skips=[];let Y=(typeof Z==="string"?Z:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let G of Y)if(G[0]==="-")z.skips.push(G.slice(1));else z.names.push(G)}function Q(Z,Y){let G=0,L=0,x=-1,H=0;while(G<Z.length)if(L<Y.length&&(Y[L]===Z[G]||Y[L]==="*"))if(Y[L]==="*")x=L,H=G,L++;else G++,L++;else if(x!==-1)L=x+1,H++,G=H;else return!1;while(L<Y.length&&Y[L]==="*")L++;return L===Y.length}function W(){let Z=[...z.names,...z.skips.map((Y)=>"-"+Y)].join(",");return z.enable(""),Z}function V(Z){for(let Y of z.skips)if(Q(Z,Y))return!1;for(let Y of z.names)if(Q(Z,Y))return!0;return!1}function M(Z){if(Z instanceof Error)return Z.stack||Z.message;return Z}function F(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return z.enable(z.load()),z}m_.exports=z0});var i_=J((p_,o)=>{p_.formatArgs=h0;p_.save=K0;p_.load=Q0;p_.useColors=S0;p_.storage=Z0();p_.destroy=(()=>{let _=!1;return()=>{if(!_)_=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();p_.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function S0(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let _;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(_=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(_[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function h0(_){if(_[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+_[0]+(this.useColors?"%c ":" ")+"+"+o.exports.humanize(this.diff),!this.useColors)return;let S="color: "+this.color;_.splice(1,0,S,"color: inherit");let z=0,h=0;_[0].replace(/%[a-zA-Z%]/g,(K)=>{if(K==="%%")return;if(z++,K==="%c")h=z}),_.splice(h,0,S)}p_.log=console.debug||console.log||(()=>{});function K0(_){try{if(_)p_.storage.setItem("debug",_);else p_.storage.removeItem("debug")}catch(S){}}function Q0(){let _;try{_=p_.storage.getItem("debug")||p_.storage.getItem("DEBUG")}catch(S){}if(!_&&typeof process<"u"&&"env"in process)_=process.env.DEBUG;return _}function Z0(){try{return localStorage}catch(_){}}o.exports=J_()(p_);var{formatters:J0}=o.exports;J0.j=function(_){try{return JSON.stringify(_)}catch(S){return"[UnexpectedJSONParseError]: "+S.message}}});var l_=J((c_,s)=>{var q0=E("tty"),r=E("util");c_.init=U0;c_.log=E0;c_.formatArgs=N0;c_.save=D0;c_.load=A0;c_.useColors=w0;c_.destroy=r.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");c_.colors=[6,2,3,4,5,1];try{let _=(H0(),L0(M0));if(_&&(_.stderr||_).level>=2)c_.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(_){}c_.inspectOpts=Object.keys(process.env).filter((_)=>{return/^debug_/i.test(_)}).reduce((_,S)=>{let z=S.substring(6).toLowerCase().replace(/_([a-z])/g,(K,Q)=>{return Q.toUpperCase()}),h=process.env[S];if(/^(yes|on|true|enabled)$/i.test(h))h=!0;else if(/^(no|off|false|disabled)$/i.test(h))h=!1;else if(h==="null")h=null;else h=Number(h);return _[z]=h,_},{});function w0(){return"colors"in c_.inspectOpts?Boolean(c_.inspectOpts.colors):q0.isatty(process.stderr.fd)}function N0(_){let{namespace:S,useColors:z}=this;if(z){let h=this.color,K="\x1B[3"+(h<8?h:"8;5;"+h),Q=` ${K};1m${S} \x1B[0m`;_[0]=Q+_[0].split(`
2
- `).join(`
3
- `+Q),_.push(K+"m+"+s.exports.humanize(this.diff)+"\x1B[0m")}else _[0]=x0()+S+" "+_[0]}function x0(){if(c_.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function E0(..._){return process.stderr.write(r.formatWithOptions(c_.inspectOpts,..._)+`
4
- `)}function D0(_){if(_)process.env.DEBUG=_;else delete process.env.DEBUG}function A0(){return process.env.DEBUG}function U0(_){_.inspectOpts={};let S=Object.keys(c_.inspectOpts);for(let z=0;z<S.length;z++)_.inspectOpts[S[z]]=c_.inspectOpts[S[z]]}s.exports=J_()(c_);var{formatters:d_}=s.exports;d_.o=function(_){return this.inspectOpts.colors=this.useColors,r.inspect(_,this.inspectOpts).split(`
5
- `).map((S)=>S.trim()).join(" ")};d_.O=function(_){return this.inspectOpts.colors=this.useColors,r.inspect(_,this.inspectOpts)}});var t_=J((Oh,Y_)=>{if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)Y_.exports=i_();else Y_.exports=l_()});function y0(_){try{return new URL(_)}catch{return null}}function Rh(_){var S=(typeof _==="string"?y0(_):_)||{},z=S.protocol,h=S.host,K=S.port;if(typeof h!=="string"||!h||typeof z!=="string")return"";if(z=z.split(":",1)[0],h=h.replace(/:\d*$/,""),K=parseInt(K)||P0[z]||0,!k0(h,K))return"";var Q=W_(z+"_proxy")||W_("all_proxy");if(Q&&Q.indexOf("://")===-1)Q=z+"://"+Q;return Q}function k0(_,S){var z=W_("no_proxy").toLowerCase();if(!z)return!0;if(z==="*")return!1;return z.split(/[,\s]/).every(function(h){if(!h)return!0;var K=h.match(/^(.+):(\d+)$/),Q=K?K[1]:h,W=K?parseInt(K[2]):0;if(W&&W!==S)return!0;if(!/^[.*]/.test(Q))return _!==Q;if(Q.charAt(0)==="*")Q=Q.slice(1);return!_.endsWith(Q)})}function W_(_){return process.env[_.toLowerCase()]||process.env[_.toUpperCase()]||""}var P0;var v0=R0(()=>{P0={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443}});var r_=J((yh,o_)=>{var b;o_.exports=function(){if(!b){try{b=t_()("follow-redirects")}catch(_){}if(typeof b!=="function")b=function(){}}b.apply(null,arguments)}});var a0=J((kh,x_)=>{var m=E("url"),u=m.URL,g0=E("http"),b0=E("https"),X_=E("stream").Writable,L_=E("assert"),s_=r_();(function(){var S=typeof process<"u",z=typeof window<"u"&&typeof document<"u",h=C(Error.captureStackTrace);if(!S&&(z||!h))console.warn("The follow-redirects package should be excluded from browser builds.")})();var M_=!1;try{L_(new u(""))}catch(_){M_=_.code==="ERR_INVALID_URL"}var u0=["Authorization","Proxy-Authorization","Cookie"],m0=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],H_=["abort","aborted","connect","error","socket","timeout"],q_=Object.create(null);H_.forEach(function(_){q_[_]=function(S,z,h){this._redirectable.emit(_,S,z,h)}});var G_=p("ERR_INVALID_URL","Invalid URL",TypeError),V_=p("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),p0=p("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",V_),i0=p("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),d0=p("ERR_STREAM_WRITE_AFTER_END","write after end"),c0=X_.prototype.destroy||e_;function w(_,S){if(X_.call(this),this._sanitizeOptions(_),this._options=_,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],S)this.on("response",S);var z=this;this._onNativeResponse=function(h){try{z._processResponse(h)}catch(K){z.emit("error",K instanceof V_?K:new V_({cause:K}))}},this._headerFilter=new RegExp("^(?:"+u0.concat(_.sensitiveHeaders).map(s0).join("|")+")$","i"),this._performRequest()}w.prototype=Object.create(X_.prototype);w.prototype.abort=function(){N_(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};w.prototype.destroy=function(_){return N_(this._currentRequest,_),c0.call(this,_),this};w.prototype.write=function(_,S,z){if(this._ending)throw new d0;if(!j(_)&&!o0(_))throw TypeError("data should be a string, Buffer or Uint8Array");if(C(S))z=S,S=null;if(_.length===0){if(z)z();return}if(this._requestBodyLength+_.length<=this._options.maxBodyLength)this._requestBodyLength+=_.length,this._requestBodyBuffers.push({data:_,encoding:S}),this._currentRequest.write(_,S,z);else this.emit("error",new i0),this.abort()};w.prototype.end=function(_,S,z){if(C(_))z=_,_=S=null;else if(C(S))z=S,S=null;if(!_)this._ended=this._ending=!0,this._currentRequest.end(null,null,z);else{var h=this,K=this._currentRequest;this.write(_,S,function(){h._ended=!0,K.end(null,null,z)}),this._ending=!0}};w.prototype.setHeader=function(_,S){this._options.headers[_]=S,this._currentRequest.setHeader(_,S)};w.prototype.removeHeader=function(_){delete this._options.headers[_],this._currentRequest.removeHeader(_)};w.prototype.setTimeout=function(_,S){var z=this;function h(W){W.setTimeout(_),W.removeListener("timeout",W.destroy),W.addListener("timeout",W.destroy)}function K(W){if(z._timeout)clearTimeout(z._timeout);z._timeout=setTimeout(function(){z.emit("timeout"),Q()},_),h(W)}function Q(){if(z._timeout)clearTimeout(z._timeout),z._timeout=null;if(z.removeListener("abort",Q),z.removeListener("error",Q),z.removeListener("response",Q),z.removeListener("close",Q),S)z.removeListener("timeout",S);if(!z.socket)z._currentRequest.removeListener("socket",K)}if(S)this.on("timeout",S);if(this.socket)K(this.socket);else this._currentRequest.once("socket",K);return this.on("socket",h),this.on("abort",Q),this.on("error",Q),this.on("response",Q),this.on("close",Q),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(_){w.prototype[_]=function(S,z){return this._currentRequest[_](S,z)}});["aborted","connection","socket"].forEach(function(_){Object.defineProperty(w.prototype,_,{get:function(){return this._currentRequest[_]}})});w.prototype._sanitizeOptions=function(_){if(!_.headers)_.headers={};if(!t0(_.sensitiveHeaders))_.sensitiveHeaders=[];if(_.host){if(!_.hostname)_.hostname=_.host;delete _.host}if(!_.pathname&&_.path){var S=_.path.indexOf("?");if(S<0)_.pathname=_.path;else _.pathname=_.path.substring(0,S),_.search=_.path.substring(S)}};w.prototype._performRequest=function(){var _=this._options.protocol,S=this._options.nativeProtocols[_];if(!S)throw TypeError("Unsupported protocol "+_);if(this._options.agents){var z=_.slice(0,-1);this._options.agent=this._options.agents[z]}var h=this._currentRequest=S.request(this._options,this._onNativeResponse);h._redirectable=this;for(var K of H_)h.on(K,q_[K]);if(this._currentUrl=/^\//.test(this._options.path)?m.format(this._options):this._options.path,this._isRedirect){var Q=0,W=this,V=this._requestBodyBuffers;(function M(F){if(h===W._currentRequest){if(F)W.emit("error",F);else if(Q<V.length){var Z=V[Q++];if(!h.finished)h.write(Z.data,Z.encoding,M)}else if(W._ended)h.end()}})()}};w.prototype._processResponse=function(_){var S=_.statusCode;if(this._options.trackRedirects)this._redirects.push({url:this._currentUrl,headers:_.headers,statusCode:S});var z=_.headers.location;if(!z||this._options.followRedirects===!1||S<300||S>=400){_.responseUrl=this._currentUrl,_.redirects=this._redirects,this.emit("response",_),this._requestBodyBuffers=[];return}if(N_(this._currentRequest),_.destroy(),++this._redirectCount>this._options.maxRedirects)throw new p0;var h,K=this._options.beforeRedirect;if(K)h=Object.assign({Host:_.req.getHeader("host")},this._options.headers);var Q=this._options.method;if((S===301||S===302)&&this._options.method==="POST"||S===303&&!/^(?:GET|HEAD)$/.test(this._options.method))this._options.method="GET",this._requestBodyBuffers=[],B_(/^content-/i,this._options.headers);var W=B_(/^host$/i,this._options.headers),V=w_(this._currentUrl),M=W||V.host,F=/^\w+:/.test(z)?this._currentUrl:m.format(Object.assign(V,{host:M})),Z=n0(z,F);if(s_("redirecting to",Z.href),this._isRedirect=!0,F_(Z,this._options),Z.protocol!==V.protocol&&Z.protocol!=="https:"||Z.host!==M&&!l0(Z.host,M))B_(this._headerFilter,this._options.headers);if(C(K)){var Y={headers:_.headers,statusCode:S},G={url:F,method:Q,headers:h};K(this._options,Y,G),this._sanitizeOptions(this._options)}this._performRequest()};function a_(_){var S={maxRedirects:21,maxBodyLength:10485760},z={};return Object.keys(_).forEach(function(h){var K=h+":",Q=z[K]=_[h],W=S[h]=Object.create(Q);function V(F,Z,Y){if(r0(F))F=F_(F);else if(j(F))F=F_(w_(F));else Y=Z,Z=_z(F),F={protocol:K};if(C(Z))Y=Z,Z=null;if(Z=Object.assign({maxRedirects:S.maxRedirects,maxBodyLength:S.maxBodyLength},F,Z),Z.nativeProtocols=z,!j(Z.host)&&!j(Z.hostname))Z.hostname="::1";return L_.equal(Z.protocol,K,"protocol mismatch"),s_("options",Z),new w(Z,Y)}function M(F,Z,Y){var G=W.request(F,Z,Y);return G.end(),G}Object.defineProperties(W,{request:{value:V,configurable:!0,enumerable:!0,writable:!0},get:{value:M,configurable:!0,enumerable:!0,writable:!0}})}),S}function e_(){}function w_(_){var S;if(M_)S=new u(_);else if(S=_z(m.parse(_)),!j(S.protocol))throw new G_({input:_});return S}function n0(_,S){return M_?new u(_,S):w_(m.resolve(S,_))}function _z(_){if(/^\[/.test(_.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(_.hostname))throw new G_({input:_.href||_});if(/^\[/.test(_.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(_.host))throw new G_({input:_.href||_});return _}function F_(_,S){var z=S||{};for(var h of m0)z[h]=_[h];if(z.hostname.startsWith("["))z.hostname=z.hostname.slice(1,-1);if(z.port!=="")z.port=Number(z.port);return z.path=z.search?z.pathname+z.search:z.pathname,z}function B_(_,S){var z;for(var h in S)if(_.test(h))z=S[h],delete S[h];return z===null||typeof z>"u"?void 0:String(z).trim()}function p(_,S,z){function h(K){if(C(Error.captureStackTrace))Error.captureStackTrace(this,this.constructor);Object.assign(this,K||{}),this.code=_,this.message=this.cause?S+": "+this.cause.message:S}return h.prototype=new(z||Error),Object.defineProperties(h.prototype,{constructor:{value:h,enumerable:!1},name:{value:"Error ["+_+"]",enumerable:!1}}),h}function N_(_,S){for(var z of H_)_.removeListener(z,q_[z]);_.on("error",e_),_.destroy(S)}function l0(_,S){L_(j(_)&&j(S));var z=_.length-S.length-1;return z>0&&_[z]==="."&&_.endsWith(S)}function t0(_){return _ instanceof Array}function j(_){return typeof _==="string"||_ instanceof String}function C(_){return typeof _==="function"}function o0(_){return typeof _==="object"&&"length"in _}function r0(_){return u&&_ instanceof u}function s0(_){return _.replace(/[\]\\/()*+?.$]/g,"\\$&")}x_.exports=a_({http:g0,https:b0});x_.exports.wrap=a_});var hz=J((vh,Sz)=>{var zz=E("stream").Stream,e0=E("util");Sz.exports=D;function D(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e0.inherits(D,zz);D.create=function(_,S){var z=new this;S=S||{};for(var h in S)z[h]=S[h];z.source=_;var K=_.emit;if(_.emit=function(){return z._handleEmit(arguments),K.apply(_,arguments)},_.on("error",function(){}),z.pauseStream)_.pause();return z};Object.defineProperty(D.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});D.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};D.prototype.resume=function(){if(!this._released)this.release();this.source.resume()};D.prototype.pause=function(){this.source.pause()};D.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(_){this.emit.apply(this,_)}.bind(this)),this._bufferedEvents=[]};D.prototype.pipe=function(){var _=zz.prototype.pipe.apply(this,arguments);return this.resume(),_};D.prototype._handleEmit=function(_){if(this._released){this.emit.apply(this,_);return}if(_[0]==="data")this.dataSize+=_[1].length,this._checkIfMaxDataSizeExceeded();this._bufferedEvents.push(_)};D.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded)return;if(this.dataSize<=this.maxDataSize)return;this._maxDataSizeExceeded=!0;var _="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(_))}});var z1=J((gh,Zz)=>{var _1=E("util"),Qz=E("stream").Stream,Kz=hz();Zz.exports=X;function X(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}_1.inherits(X,Qz);X.create=function(_){var S=new this;_=_||{};for(var z in _)S[z]=_[z];return S};X.isStreamLike=function(_){return typeof _!=="function"&&typeof _!=="string"&&typeof _!=="boolean"&&typeof _!=="number"&&!Buffer.isBuffer(_)};X.prototype.append=function(_){var S=X.isStreamLike(_);if(S){if(!(_ instanceof Kz)){var z=Kz.create(_,{maxDataSize:1/0,pauseStream:this.pauseStreams});_.on("data",this._checkDataSize.bind(this)),_=z}if(this._handleErrors(_),this.pauseStreams)_.pause()}return this._streams.push(_),this};X.prototype.pipe=function(_,S){return Qz.prototype.pipe.call(this,_,S),this.resume(),_};X.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};X.prototype._realGetNext=function(){var _=this._streams.shift();if(typeof _>"u"){this.end();return}if(typeof _!=="function"){this._pipeNext(_);return}var S=_;S(function(z){var h=X.isStreamLike(z);if(h)z.on("data",this._checkDataSize.bind(this)),this._handleErrors(z);this._pipeNext(z)}.bind(this))};X.prototype._pipeNext=function(_){this._currentStream=_;var S=X.isStreamLike(_);if(S){_.on("end",this._getNext.bind(this)),_.pipe(this,{end:!1});return}var z=_;this.write(z),this._getNext()};X.prototype._handleErrors=function(_){var S=this;_.on("error",function(z){S._emitError(z)})};X.prototype.write=function(_){this.emit("data",_)};X.prototype.pause=function(){if(!this.pauseStreams)return;if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};X.prototype.resume=function(){if(!this._released)this._released=!0,this.writable=!0,this._getNext();if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};X.prototype.end=function(){this._reset(),this.emit("end")};X.prototype.destroy=function(){this._reset(),this.emit("close")};X.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};X.prototype._checkDataSize=function(){if(this._updateDataSize(),this.dataSize<=this.maxDataSize)return;var _="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(_))};X.prototype._updateDataSize=function(){this.dataSize=0;var _=this;if(this._streams.forEach(function(S){if(!S.dataSize)return;_.dataSize+=S.dataSize}),this._currentStream&&this._currentStream.dataSize)this.dataSize+=this._currentStream.dataSize};X.prototype._emitError=function(_){this._reset(),this.emit("error",_)}});var Yz=J((bh,Jz)=>{Jz.exports=S1;function S1(_){var S=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(S)S(_);else setTimeout(_,0)}});var E_=J((uh,Bz)=>{var Wz=Yz();Bz.exports=h1;function h1(_){var S=!1;return Wz(function(){S=!0}),function(h,K){if(S)_(h,K);else Wz(function(){_(h,K)})}}});var D_=J((mh,Gz)=>{Gz.exports=K1;function K1(_){Object.keys(_.jobs).forEach(Q1.bind(_)),_.jobs={}}function Q1(_){if(typeof this.jobs[_]=="function")this.jobs[_]()}});var A_=J((ph,Fz)=>{var Vz=E_(),Z1=D_();Fz.exports=J1;function J1(_,S,z,h){var K=z.keyedList?z.keyedList[z.index]:z.index;z.jobs[K]=Y1(S,K,_[K],function(Q,W){if(!(K in z.jobs))return;if(delete z.jobs[K],Q)Z1(z);else z.results[K]=W;h(Q,z.results)})}function Y1(_,S,z,h){var K;if(_.length==2)K=_(z,Vz(h));else K=_(z,S,Vz(h));return K}});var U_=J((ih,Xz)=>{Xz.exports=W1;function W1(_,S){var z=!Array.isArray(_),h={index:0,keyedList:z||S?Object.keys(_):null,jobs:{},results:z?{}:[],size:z?Object.keys(_).length:_.length};if(S)h.keyedList.sort(z?S:function(K,Q){return S(_[K],_[Q])});return h}});var f_=J((dh,Lz)=>{var B1=D_(),G1=E_();Lz.exports=V1;function V1(_){if(!Object.keys(this.jobs).length)return;this.index=this.size,B1(this),G1(_)(null,this.results)}});var Hz=J((ch,Mz)=>{var F1=A_(),X1=U_(),L1=f_();Mz.exports=M1;function M1(_,S,z){var h=X1(_);while(h.index<(h.keyedList||_).length)F1(_,S,h,function(K,Q){if(K){z(K,Q);return}if(Object.keys(h.jobs).length===0){z(null,h.results);return}}),h.index++;return L1.bind(h,z)}});var j_=J((nh,a)=>{var qz=A_(),H1=U_(),q1=f_();a.exports=w1;a.exports.ascending=wz;a.exports.descending=N1;function w1(_,S,z,h){var K=H1(_,z);return qz(_,S,K,function Q(W,V){if(W){h(W,V);return}if(K.index++,K.index<(K.keyedList||_).length){qz(_,S,K,Q);return}h(null,K.results)}),q1.bind(K,h)}function wz(_,S){return _<S?-1:_>S?1:0}function N1(_,S){return-1*wz(_,S)}});var xz=J((lh,Nz)=>{var x1=j_();Nz.exports=E1;function E1(_,S,z){return x1(_,S,null,z)}});var D1=J((th,Ez)=>{Ez.exports={parallel:Hz(),serial:xz(),serialOrdered:j_()}});var C_=J((oh,Dz)=>{Dz.exports=Object});var Uz=J((rh,Az)=>{Az.exports=Error});var jz=J((sh,fz)=>{fz.exports=EvalError});var Iz=J((ah,Cz)=>{Cz.exports=RangeError});var $z=J((eh,Tz)=>{Tz.exports=ReferenceError});var Rz=J((_2,Oz)=>{Oz.exports=SyntaxError});var e=J((z2,Pz)=>{Pz.exports=TypeError});var kz=J((S2,yz)=>{yz.exports=URIError});var gz=J((h2,vz)=>{vz.exports=Math.abs});var uz=J((K2,bz)=>{bz.exports=Math.floor});var pz=J((Q2,mz)=>{mz.exports=Math.max});var dz=J((Z2,iz)=>{iz.exports=Math.min});var nz=J((J2,cz)=>{cz.exports=Math.pow});var tz=J((Y2,lz)=>{lz.exports=Math.round});var rz=J((W2,oz)=>{oz.exports=Number.isNaN||function(S){return S!==S}});var az=J((B2,sz)=>{var A1=rz();sz.exports=function(S){if(A1(S)||S===0)return S;return S<0?-1:1}});var _S=J((G2,ez)=>{ez.exports=Object.getOwnPropertyDescriptor});var I_=J((V2,zS)=>{var __=_S();if(__)try{__([],"length")}catch(_){__=null}zS.exports=__});var hS=J((F2,SS)=>{var z_=Object.defineProperty||!1;if(z_)try{z_({},"a",{value:1})}catch(_){z_=!1}SS.exports=z_});var T_=J((X2,KS)=>{KS.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var S={},z=Symbol("test"),h=Object(z);if(typeof z==="string")return!1;if(Object.prototype.toString.call(z)!=="[object Symbol]")return!1;if(Object.prototype.toString.call(h)!=="[object Symbol]")return!1;var K=42;S[z]=K;for(var Q in S)return!1;if(typeof Object.keys==="function"&&Object.keys(S).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(S).length!==0)return!1;var W=Object.getOwnPropertySymbols(S);if(W.length!==1||W[0]!==z)return!1;if(!Object.prototype.propertyIsEnumerable.call(S,z))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var V=Object.getOwnPropertyDescriptor(S,z);if(V.value!==K||V.enumerable!==!0)return!1}return!0}});var JS=J((L2,ZS)=>{var QS=typeof Symbol<"u"&&Symbol,U1=T_();ZS.exports=function(){if(typeof QS!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof QS("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return U1()}});var $_=J((M2,YS)=>{YS.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var O_=J((H2,WS)=>{var f1=C_();WS.exports=f1.getPrototypeOf||null});var VS=J((q2,GS)=>{var j1="Function.prototype.bind called on incompatible ",C1=Object.prototype.toString,I1=Math.max,T1="[object Function]",BS=function(S,z){var h=[];for(var K=0;K<S.length;K+=1)h[K]=S[K];for(var Q=0;Q<z.length;Q+=1)h[Q+S.length]=z[Q];return h},$1=function(S,z){var h=[];for(var K=z||0,Q=0;K<S.length;K+=1,Q+=1)h[Q]=S[K];return h},O1=function(_,S){var z="";for(var h=0;h<_.length;h+=1)if(z+=_[h],h+1<_.length)z+=S;return z};GS.exports=function(S){var z=this;if(typeof z!=="function"||C1.apply(z)!==T1)throw TypeError(j1+z);var h=$1(arguments,1),K,Q=function(){if(this instanceof K){var Z=z.apply(this,BS(h,arguments));if(Object(Z)===Z)return Z;return this}return z.apply(S,BS(h,arguments))},W=I1(0,z.length-h.length),V=[];for(var M=0;M<W;M++)V[M]="$"+M;if(K=Function("binder","return function ("+O1(V,",")+"){ return binder.apply(this,arguments); }")(Q),z.prototype){var F=function(){};F.prototype=z.prototype,K.prototype=new F,F.prototype=null}return K}});var R=J((w2,FS)=>{var R1=VS();FS.exports=Function.prototype.bind||R1});var S_=J((N2,XS)=>{XS.exports=Function.prototype.call});var R_=J((x2,LS)=>{LS.exports=Function.prototype.apply});var HS=J((E2,MS)=>{MS.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var wS=J((D2,qS)=>{var P1=R(),y1=R_(),k1=S_(),v1=HS();qS.exports=v1||P1.call(k1,y1)});var xS=J((A2,NS)=>{var g1=R(),b1=e(),u1=S_(),m1=wS();NS.exports=function(S){if(S.length<1||typeof S[0]!=="function")throw new b1("a function is required");return m1(g1,u1,S)}});var jS=J((U2,fS)=>{var p1=xS(),ES=I_(),AS;try{AS=[].__proto__===Array.prototype}catch(_){if(!_||typeof _!=="object"||!("code"in _)||_.code!=="ERR_PROTO_ACCESS")throw _}var P_=!!AS&&ES&&ES(Object.prototype,"__proto__"),US=Object,DS=US.getPrototypeOf;fS.exports=P_&&typeof P_.get==="function"?p1([P_.get]):typeof DS==="function"?function(S){return DS(S==null?S:US(S))}:!1});var OS=J((f2,$S)=>{var CS=$_(),IS=O_(),TS=jS();$S.exports=CS?function(S){return CS(S)}:IS?function(S){if(!S||typeof S!=="object"&&typeof S!=="function")throw TypeError("getProto: not an object");return IS(S)}:TS?function(S){return TS(S)}:null});var PS=J((j2,RS)=>{var i1=Function.prototype.call,d1=Object.prototype.hasOwnProperty,c1=R();RS.exports=c1.call(i1,d1)});var uS=J((C2,bS)=>{var B,n1=C_(),l1=Uz(),t1=jz(),o1=Iz(),r1=$z(),v=Rz(),k=e(),s1=kz(),a1=gz(),e1=uz(),_h=pz(),zh=dz(),Sh=nz(),hh=tz(),Kh=az(),vS=Function,y_=function(_){try{return vS('"use strict"; return ('+_+").constructor;")()}catch(S){}},i=I_(),Qh=hS(),k_=function(){throw new k},Zh=i?function(){try{return arguments.callee,k_}catch(_){try{return i(arguments,"callee").get}catch(S){return k_}}}():k_,P=JS()(),q=OS(),Jh=O_(),Yh=$_(),gS=R_(),d=S_(),y={},Wh=typeof Uint8Array>"u"||!q?B:q(Uint8Array),I={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?B:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?B:ArrayBuffer,"%ArrayIteratorPrototype%":P&&q?q([][Symbol.iterator]()):B,"%AsyncFromSyncIteratorPrototype%":B,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":typeof Atomics>"u"?B:Atomics,"%BigInt%":typeof BigInt>"u"?B:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?B:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?B:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?B:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":l1,"%eval%":eval,"%EvalError%":t1,"%Float16Array%":typeof Float16Array>"u"?B:Float16Array,"%Float32Array%":typeof Float32Array>"u"?B:Float32Array,"%Float64Array%":typeof Float64Array>"u"?B:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?B:FinalizationRegistry,"%Function%":vS,"%GeneratorFunction%":y,"%Int8Array%":typeof Int8Array>"u"?B:Int8Array,"%Int16Array%":typeof Int16Array>"u"?B:Int16Array,"%Int32Array%":typeof Int32Array>"u"?B:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":P&&q?q(q([][Symbol.iterator]())):B,"%JSON%":typeof JSON==="object"?JSON:B,"%Map%":typeof Map>"u"?B:Map,"%MapIteratorPrototype%":typeof Map>"u"||!P||!q?B:q(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n1,"%Object.getOwnPropertyDescriptor%":i,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?B:Promise,"%Proxy%":typeof Proxy>"u"?B:Proxy,"%RangeError%":o1,"%ReferenceError%":r1,"%Reflect%":typeof Reflect>"u"?B:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?B:Set,"%SetIteratorPrototype%":typeof Set>"u"||!P||!q?B:q(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?B:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":P&&q?q(""[Symbol.iterator]()):B,"%Symbol%":P?Symbol:B,"%SyntaxError%":v,"%ThrowTypeError%":Zh,"%TypedArray%":Wh,"%TypeError%":k,"%Uint8Array%":typeof Uint8Array>"u"?B:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?B:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?B:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?B:Uint32Array,"%URIError%":s1,"%WeakMap%":typeof WeakMap>"u"?B:WeakMap,"%WeakRef%":typeof WeakRef>"u"?B:WeakRef,"%WeakSet%":typeof WeakSet>"u"?B:WeakSet,"%Function.prototype.call%":d,"%Function.prototype.apply%":gS,"%Object.defineProperty%":Qh,"%Object.getPrototypeOf%":Jh,"%Math.abs%":a1,"%Math.floor%":e1,"%Math.max%":_h,"%Math.min%":zh,"%Math.pow%":Sh,"%Math.round%":hh,"%Math.sign%":Kh,"%Reflect.getPrototypeOf%":Yh};if(q)try{null.error}catch(_){v_=q(q(_)),I["%Error.prototype%"]=v_}var v_,Bh=function _(S){var z;if(S==="%AsyncFunction%")z=y_("async function () {}");else if(S==="%GeneratorFunction%")z=y_("function* () {}");else if(S==="%AsyncGeneratorFunction%")z=y_("async function* () {}");else if(S==="%AsyncGenerator%"){var h=_("%AsyncGeneratorFunction%");if(h)z=h.prototype}else if(S==="%AsyncIteratorPrototype%"){var K=_("%AsyncGenerator%");if(K&&q)z=q(K.prototype)}return I[S]=z,z},yS={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},c=R(),h_=PS(),Gh=c.call(d,Array.prototype.concat),Vh=c.call(gS,Array.prototype.splice),kS=c.call(d,String.prototype.replace),K_=c.call(d,String.prototype.slice),Fh=c.call(d,RegExp.prototype.exec),Xh=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Lh=/\\(\\)?/g,Mh=function(S){var z=K_(S,0,1),h=K_(S,-1);if(z==="%"&&h!=="%")throw new v("invalid intrinsic syntax, expected closing `%`");else if(h==="%"&&z!=="%")throw new v("invalid intrinsic syntax, expected opening `%`");var K=[];return kS(S,Xh,function(Q,W,V,M){K[K.length]=V?kS(M,Lh,"$1"):W||Q}),K},Hh=function(S,z){var h=S,K;if(h_(yS,h))K=yS[h],h="%"+K[0]+"%";if(h_(I,h)){var Q=I[h];if(Q===y)Q=Bh(h);if(typeof Q>"u"&&!z)throw new k("intrinsic "+S+" exists, but is not available. Please file an issue!");return{alias:K,name:h,value:Q}}throw new v("intrinsic "+S+" does not exist!")};bS.exports=function(S,z){if(typeof S!=="string"||S.length===0)throw new k("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof z!=="boolean")throw new k('"allowMissing" argument must be a boolean');if(Fh(/^%?[^%]*%?$/,S)===null)throw new v("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var h=Mh(S),K=h.length>0?h[0]:"",Q=Hh("%"+K+"%",z),W=Q.name,V=Q.value,M=!1,F=Q.alias;if(F)K=F[0],Vh(h,Gh([0,1],F));for(var Z=1,Y=!0;Z<h.length;Z+=1){var G=h[Z],L=K_(G,0,1),x=K_(G,-1);if((L==='"'||L==="'"||L==="`"||(x==='"'||x==="'"||x==="`"))&&L!==x)throw new v("property names with quotes must have matching quotes");if(G==="constructor"||!Y)M=!0;if(K+="."+G,W="%"+K+"%",h_(I,W))V=I[W];else if(V!=null){if(!(G in V)){if(!z)throw new k("base intrinsic for "+S+" exists, but the property is not available.");return}if(i&&Z+1>=h.length){var H=i(V,G);if(Y=!!H,Y&&"get"in H&&!("originalValue"in H.get))V=H.get;else V=V[G]}else Y=h_(V,G),V=V[G];if(Y&&!M)I[W]=V}}return V}});var pS=J((I2,mS)=>{var qh=T_();mS.exports=function(){return qh()&&!!Symbol.toStringTag}});var dS=J((T2,iS)=>{var wh=Function.prototype.call,Nh=Object.prototype.hasOwnProperty,xh=R();iS.exports=xh.call(wh,Nh)});var fh=J(($2,nS)=>{var Eh=uS(),cS=Eh("%Object.defineProperty%",!0),Dh=pS()(),Ah=dS(),Uh=e(),Q_=Dh?Symbol.toStringTag:null;nS.exports=function(S,z){var h=arguments.length>2&&!!arguments[2]&&arguments[2].force,K=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof h<"u"&&typeof h!=="boolean"||typeof K<"u"&&typeof K!=="boolean")throw new Uh("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(Q_&&(h||!Ah(S,Q_)))if(cS)cS(S,Q_,{configurable:!K,enumerable:!1,value:z,writable:!1});else S[Q_]=z}});
6
- export{z1 as rsa,D1 as ssa,R as tsa,fh as usa,Rh as vsa,v0 as wsa,t_ as xsa,a0 as ysa};
@@ -1,2 +0,0 @@
1
- import{B1 as e2,GZ as Z,W0 as Y,Y0 as u,xZ as u2}from"./cli-1.1.16-6ptafg83.mjs";import{$3 as U,Z3 as t,_3 as o}from"./cli-1.1.16-72wxrwg0.mjs";import{tba as X,vba as j}from"./cli-1.1.16-jcye29qq.mjs";import{Osa as s}from"./cli-1.1.16-w5ns6t4b.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claudin"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,O,R,k,A,a,I,i,V;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.1.16"," "]})]}),O=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),R=t(u,{children:" "}),k=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),l[2]=c,l[3]=O,l[4]=R,l[5]=k,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=V;else c=l[2],O=l[3],R=l[4],k=l[5],A=l[6],a=l[7],I=l[8],i=l[9],V=l[10];let M;if(l[11]===Symbol.for("react.memo_cache_sentinel"))M=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=M;else M=l[11];let E,W;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),W=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=W;else E=l[12],W=l[13];let N;if(l[14]===Symbol.for("react.memo_cache_sentinel"))N=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=N;else N=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let P;if(l[16]===Symbol.for("react.memo_cache_sentinel"))P=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=P;else P=l[16];let v;if(l[17]===Symbol.for("react.memo_cache_sentinel"))v=t(Y,{width:K,children:o(u,{children:[c,O,R,k,A,a,I,i,V,M,E,W,N,L,P,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=v;else v=l[17];return v}let B,r,D,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))B=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","1.1.16"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),D=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=B,l[19]=r,l[20]=D,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else B=l[18],r=l[19],D=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let p;if(l[34]===Symbol.for("react.memo_cache_sentinel"))p=t(Y,{width:K,children:o(u,{children:[B,r,D,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=p;else p=l[34];return p}function t2(l){let e=Q.c(44),{theme:B,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(B)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","1.1.16"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let V,M,E,W,N,L,P,v;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),W=t(u,{children:" "}),N=t(u,{children:" "}),L=t(u,{children:" "}),P=t(u,{children:" ░░░░░░ "}),v=t(u,{children:" ░░░ ░░░░░░░░░░ "}),V=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),e[5]=V,e[6]=M,e[7]=E,e[8]=W,e[9]=N,e[10]=L,e[11]=P,e[12]=v;else V=e[5],M=e[6],E=e[7],W=e[8],N=e[9],L=e[10],P=e[11],v=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,W,N,L,P,v,V,M,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","1.1.16"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,p;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),p=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=p;else C=e[33],S=e[34],w=e[35],g=e[36],p=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let O;if(e[39]===Symbol.for("react.memo_cache_sentinel"))O=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=O;else O=e[39];let R;if(e[40]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=R;else R=e[40];let k;if(e[41]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=k;else k=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,p,c,O,R,k]})}),e[42]=m,e[43]=A;else A=e[43];return A}
2
- export{c2 as ba};
@@ -1,2 +0,0 @@
1
- import{Ssa as B}from"./cli-1.1.16-w5ns6t4b.mjs";function D(g,q){switch(q.type){case"set_local_jsx":{if(q.generation<g.generation)return g;return{state:{...q.payload,isLocalJSXCommand:!0},generation:g.generation+1,hasLocalJSXActive:!0}}case"clear_local_jsx":return{state:null,generation:g.generation+1,hasLocalJSXActive:!1};case"set_regular":{if(g.hasLocalJSXActive)return g;return{...g,state:q.payload}}case"set_null":{if(g.hasLocalJSXActive)return g;if(g.state===null)return g;return{...g,state:null}}}}var C;var F=B(()=>{C={state:null,generation:0,hasLocalJSXActive:!1}});function K(g){return z=g,()=>{if(z===g)z=null}}function L(g){let q=D(w,g);if(q===w)return;w=q,z?.(q.state)}function M(){return w.generation}var w,z=null;var G=B(()=>{F();w=C});
2
- export{K as Bi,L as Ci,M as Di,G as Ei};
@@ -1,2 +0,0 @@
1
- import{Ssa as P}from"./cli-1.1.16-w5ns6t4b.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
2
- export{k as YW,w as ZW,H as _W,g as $W,V as aX,W as bX,L as cX,Y as dX};
@@ -1,6 +0,0 @@
1
- import{Oka as ZX,Rka as y8}from"./cli-1.1.16-cmw3ar20.mjs";import{hla as r,nla as R8}from"./cli-1.1.16-njacmwr1.mjs";import{Bla as j8,qla as $X,tla as NJ}from"./cli-1.1.16-b80x5mp6.mjs";import{Cla as dQ,Dla as P6,Ila as qJ,Jla as oX,Mla as eJ,Nla as fX,Ola as fQ,Pla as T6,Qla as $Q,Rla as cX,Ula as JQ,Vla as pX,Wla as g,Xla as oJ,Yla as n,Zla as LQ,ama as pQ,bma as v6,ema as l,era as sQ,fma as wQ,fna as XX,gma as w,hma as kQ,kma as yJ,lma as OX,mma as h,nma as vJ,oma as tJ,pma as hX,qma as hJ,rma as wX,sma as y,tma as OJ,uma as gQ,vma as m6,yma as O,zma as GJ}from"./cli-1.1.16-eabt3s19.mjs";import{Dra as V,Era as xJ,fra as SJ,gra as CX,lra as cJ,mra as TX,nra as HJ,ora as J6,rra as L,sra as XJ,xra as LJ,yra as zX}from"./cli-1.1.16-vhwypfn6.mjs";import{Rsa as uJ,Ssa as U,Usa as N,Vsa as W}from"./cli-1.1.16-w5ns6t4b.mjs";function zJ({writeFn:J,flushIntervalMs:Q=1000,maxBufferSize:X=100,maxBufferBytes:$=1/0,immediateMode:Y=!1}){let Z=[],q=0,H=null,G=null;function I(){if(H)clearTimeout(H),H=null}function B(){if(G)J(G.join("")),G=null;if(Z.length===0)return;J(Z.join("")),Z=[],q=0,I()}function M(){if(!H)H=setTimeout(B,Q)}function F(){if(G){G.push(...Z),Z=[],q=0,I();return}let x=Z;Z=[],q=0,I(),G=x,setImmediate(()=>{let v=G;if(G=null,v)J(v.join(""))})}return{write(x){if(Y){J(x);return}if(Z.push(x),q+=x.length,M(),Z.length>=X||q>=$)F()},flush:B,dispose(){B()}}}var BJ=()=>{};function IJ(J){return t.add(J),()=>t.delete(J)}async function r8(){await Promise.all(Array.from(t).map((J)=>J()))}var t;var CJ=U(()=>{t=new Set});function WX(J){let Q=[],X=J.match(/^MCP server ["']([^"']+)["']/);if(X&&X[1])Q.push("mcp"),Q.push(X[1].toLowerCase());else{let Z=J.match(/^([^:[]+):/);if(Z&&Z[1])Q.push(Z[1].trim().toLowerCase())}let $=J.match(/^\[([^\]]+)]/);if($&&$[1])Q.push($[1].trim().toLowerCase());if(J.toLowerCase().includes("1p event:"))Q.push("1p");let Y=J.match(/:\s*([^:]+?)(?:\s+(?:type|mode|status|event))?:/);if(Y&&Y[1]){let Z=Y[1].trim().toLowerCase();if(Z.length<30&&!Z.includes(" "))Q.push(Z)}return Array.from(new Set(Q))}function EX(J,Q){if(!Q)return!0;if(J.length===0)return!1;if(Q.isExclusive)return!J.some((X)=>Q.exclude.includes(X));else return J.some((X)=>Q.include.includes(X))}function VJ(J,Q){if(!Q)return!0;let X=WX(J);return EX(X,Q)}var FJ;var DJ=U(()=>{xJ();FJ=V((J)=>{if(!J||J.trim()==="")return null;let Q=J.split(",").map((Z)=>Z.trim()).filter(Boolean);if(Q.length===0)return null;let X=Q.some((Z)=>Z.startsWith("!")),$=Q.some((Z)=>!Z.startsWith("!"));if(X&&$)return null;let Y=Q.map((Z)=>Z.replace(/^!/,"").toLowerCase());return{include:X?[]:Y,exclude:X?Y:[],isExclusive:X}})});function MX(J,Q){var X=-1,$=J==null?0:J.length;while(++X<$)if(Q(J[X],X,J)===!1)break;return J}var RJ;var AJ=U(()=>{RJ=MX});var BX,e;var _J=U(()=>{zX();BX=function(){try{var J=LJ(Object,"defineProperty");return J({},"",{}),J}catch(Q){}}(),e=BX});function IX(J,Q,X){if(Q=="__proto__"&&e)e(J,Q,{configurable:!0,enumerable:!0,value:X,writable:!0});else J[Q]=X}var m;var JJ=U(()=>{_J();m=IX});function VX(J,Q,X){var $=J[Q];if(!(FX.call(J,Q)&&SJ($,X))||X===void 0&&!(Q in J))m(J,Q,X)}var xX,FX,j;var QJ=U(()=>{JJ();CX();xX=Object.prototype,FX=xX.hasOwnProperty;j=VX});function DX(J,Q,X,$){var Y=!X;X||(X={});var Z=-1,q=Q.length;while(++Z<q){var H=Q[Z],G=$?$(X[H],J[H],H,X,J):void 0;if(G===void 0)G=J[H];if(Y)m(X,H,G);else j(X,H,G)}return X}var R;var k=U(()=>{QJ();JJ();R=DX});function RX(J,Q){return J&&R(Q,y(Q),J)}var wJ;var kJ=U(()=>{k();OJ();wJ=RX});function AX(J){var Q=[];if(J!=null)for(var X in Object(J))Q.push(X);return Q}var PJ;var TJ=U(()=>{PJ=AX});function SX(J){if(!L(J))return PJ(J);var Q=h(J),X=[];for(var $ in J)if(!($=="constructor"&&(Q||!_X.call(J,$))))X.push($);return X}var LX,_X,mJ;var jJ=U(()=>{XJ();vJ();TJ();LX=Object.prototype,_X=LX.hasOwnProperty;mJ=SX});function kX(J){return hJ(J)?yJ(J,!0):mJ(J)}var _;var d=U(()=>{OX();jJ();wX();_=kX});function PX(J,Q){return J&&R(Q,_(Q),J)}var dJ;var fJ=U(()=>{k();d();dJ=PX});var p={};uJ(p,{default:()=>$J});function mX(J,Q){if(Q)return J.slice();var X=J.length,$=bJ?bJ(X):new J.constructor(X);return J.copy($),$}var nJ,pJ,vX,gJ,bJ,$J;var lJ=U(()=>{TX();nJ=typeof p=="object"&&p&&!p.nodeType&&p,pJ=nJ&&typeof f=="object"&&f&&!f.nodeType&&f,vX=pJ&&pJ.exports===nJ,gJ=vX?cJ.Buffer:void 0,bJ=gJ?gJ.allocUnsafe:void 0;$J=mX});function jX(J,Q){var X=-1,$=J.length;Q||(Q=Array($));while(++X<$)Q[X]=J[X];return Q}var iJ;var rJ=U(()=>{iJ=jX});function yX(J,Q){return R(J,g(J),Q)}var sJ;var aJ=U(()=>{k();oJ();sJ=yX});var dX,b;var ZJ=U(()=>{hX();dX=tJ(Object.getPrototypeOf,Object),b=dX});var gX,bX,u;var YJ=U(()=>{fX();ZJ();oJ();pX();gX=Object.getOwnPropertySymbols,bX=!gX?JQ:function(J){var Q=[];while(J)eJ(Q,g(J)),J=b(J);return Q},u=bX});function uX(J,Q){return R(J,u(J),Q)}var QQ;var XQ=U(()=>{k();YJ();QQ=uX});function nX(J){return $Q(J,_,u)}var ZQ;var YQ=U(()=>{cX();YJ();d();ZQ=nX});function rX(J){var Q=J.length,X=new J.constructor(Q);if(Q&&typeof J[0]=="string"&&iX.call(J,"index"))X.index=J.index,X.input=J.input;return X}var lX,iX,qQ;var HQ=U(()=>{lX=Object.prototype,iX=lX.hasOwnProperty;qQ=rX});function sX(J){var Q=new J.constructor(J.byteLength);return new qJ(Q).set(new qJ(J)),Q}var S;var c=U(()=>{oX();S=sX});function aX(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.byteLength)}var GQ;var KQ=U(()=>{c();GQ=aX});function eX(J){var Q=new J.constructor(J.source,tX.exec(J));return Q.lastIndex=J.lastIndex,Q}var tX,UQ;var NQ=U(()=>{tX=/\w*$/;UQ=eX});function Q6(J){return EQ?Object(EQ.call(J)):{}}var WQ,EQ,MQ;var zQ=U(()=>{J6();WQ=HJ?HJ.prototype:void 0,EQ=WQ?WQ.valueOf:void 0;MQ=Q6});function X6(J,Q){var X=Q?S(J.buffer):J.buffer;return new J.constructor(X,J.byteOffset,J.length)}var BQ;var IQ=U(()=>{c();BQ=X6});function D6(J,Q,X){var $=J.constructor;switch(Q){case N6:return S(J);case $6:case Z6:return new $(+J);case W6:return GQ(J,X);case E6:case M6:case z6:case B6:case I6:case C6:case x6:case F6:case V6:return BQ(J,X);case Y6:return new $;case q6:case K6:return new $(J);case H6:return UQ(J);case G6:return new $;case U6:return MQ(J)}}var $6="[object Boolean]",Z6="[object Date]",Y6="[object Map]",q6="[object Number]",H6="[object RegExp]",G6="[object Set]",K6="[object String]",U6="[object Symbol]",N6="[object ArrayBuffer]",W6="[object DataView]",E6="[object Float32Array]",M6="[object Float64Array]",z6="[object Int8Array]",B6="[object Int16Array]",I6="[object Int32Array]",C6="[object Uint8Array]",x6="[object Uint8ClampedArray]",F6="[object Uint16Array]",V6="[object Uint32Array]",CQ;var xQ=U(()=>{c();KQ();NQ();zQ();IQ();CQ=D6});var FQ,R6,VQ;var DQ=U(()=>{XJ();FQ=Object.create,R6=function(){function J(){}return function(Q){if(!L(Q))return{};if(FQ)return FQ(Q);J.prototype=Q;var X=new J;return J.prototype=void 0,X}}(),VQ=R6});function A6(J){return typeof J.constructor=="function"&&!h(J)?VQ(b(J)):{}}var RQ;var AQ=U(()=>{DQ();ZJ();vJ();RQ=A6});function _6(J){return n(J)&&O(J)==L6}var L6="[object Map]",_Q;var SQ=U(()=>{GJ();LQ();_Q=_6});var OQ,S6,PQ;var TQ=U(()=>{SQ();wQ();kQ();OQ=w&&w.isMap,S6=OQ?l(OQ):_Q,PQ=S6});function w6(J){return n(J)&&O(J)==O6}var O6="[object Set]",vQ;var mQ=U(()=>{GJ();LQ();vQ=w6});var jQ,k6,yQ;var hQ=U(()=>{mQ();wQ();kQ();jQ=w&&w.isSet,k6=jQ?l(jQ):vQ,yQ=k6});function i(J,Q,X,$,Y,Z){var q,H=Q&j6,G=Q&y6,I=Q&h6;if(X)q=Y?X(J,$,Y,Z):X(J);if(q!==void 0)return q;if(!L(J))return J;var B=fQ(J);if(B){if(q=qQ(J),!H)return iJ(J,q)}else{var M=O(J),F=M==uQ||M==b6;if(pQ(J))return $J(J,H);if(M==cQ||M==bQ||F&&!Y){if(q=G||F?{}:RQ(J),!H)return G?QQ(J,dJ(q,J)):sJ(J,wJ(q,J))}else{if(!z[M])return Y?J:{};q=CQ(J,M,H)}}Z||(Z=new dQ);var x=Z.get(J);if(x)return x;if(Z.set(J,q),yQ(J))J.forEach(function(D){q.add(i(D,Q,X,D,J,Z))});else if(PQ(J))J.forEach(function(D,A){q.set(A,i(D,Q,X,A,J,Z))});var v=I?G?ZQ:gQ:G?_:y,MJ=B?void 0:v(J);return RJ(MJ||J,function(D,A){if(MJ)A=D,D=J[A];j(q,A,i(D,Q,X,A,J,Z))}),q}var j6=1,y6=2,h6=4,bQ="[object Arguments]",d6="[object Array]",f6="[object Boolean]",p6="[object Date]",g6="[object Error]",uQ="[object Function]",b6="[object GeneratorFunction]",u6="[object Map]",c6="[object Number]",cQ="[object Object]",n6="[object RegExp]",l6="[object Set]",i6="[object String]",r6="[object Symbol]",o6="[object WeakMap]",s6="[object ArrayBuffer]",a6="[object DataView]",t6="[object Float32Array]",e6="[object Float64Array]",J8="[object Int8Array]",Q8="[object Int16Array]",X8="[object Int32Array]",$8="[object Uint8Array]",Z8="[object Uint8ClampedArray]",Y8="[object Uint16Array]",q8="[object Uint32Array]",z,nQ;var lQ=U(()=>{P6();AJ();QJ();kJ();fJ();lJ();rJ();aJ();XQ();m6();YQ();GJ();HQ();xQ();AQ();T6();v6();TQ();XJ();hQ();OJ();d();z={};z[bQ]=z[d6]=z[s6]=z[a6]=z[f6]=z[p6]=z[t6]=z[e6]=z[J8]=z[Q8]=z[X8]=z[u6]=z[c6]=z[cQ]=z[n6]=z[l6]=z[i6]=z[r6]=z[$8]=z[Z8]=z[Y8]=z[q8]=!0;z[g6]=z[uQ]=z[o6]=!1;nQ=i});function K8(J){return nQ(J,H8|G8)}var H8=1,G8=4,iQ;var rQ=U(()=>{lQ();iQ=K8});var V8={};uJ(V8,{writeFileSync_DEPRECATED:()=>F8,slowLogging:()=>E,jsonStringify:()=>KJ,jsonParse:()=>I8,cloneDeep:()=>x8,clone:()=>C8,callerFrame:()=>M8,SLOW_OPERATION_THRESHOLD_MS:()=>E8});import{closeSync as U8,writeFileSync as oQ,fsyncSync as N8,openSync as W8}from"fs";function M8(J){if(!J)return"";for(let Q of J.split(`
2
- `)){if(Q.includes("slowOperations"))continue;let X=Q.match(/([^/\\]+?):(\d+):\d+\)?$/);if(X)return` @ ${X[1]}:${X[2]}`}return""}function B8(){return z8}function KJ(J,Q,X){let Y=[];try{const $=N(Y,E`JSON.stringify(${J})`,0);return JSON.stringify(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}}function C8(J,Q){let $=[];try{const X=N($,E`structuredClone(${J})`,0);return structuredClone(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}}function x8(J){let X=[];try{const Q=N(X,E`cloneDeep(${J})`,0);return iQ(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}}function F8(J,Q,X){let Z=[];try{const $=N(Z,E`fs.writeFileSync(${J}, ${Q})`,0);let Y=X!==null&&typeof X==="object"&&"flush"in X&&X.flush===!0;if(Y){let I=typeof X==="object"&&"encoding"in X?X.encoding:void 0,B=typeof X==="object"&&"mode"in X?X.mode:void 0,M;try{M=W8(J,"w",B),oQ(M,Q,{encoding:I??void 0}),N8(M)}finally{if(M!==void 0)U8(M)}}else oQ(J,Q,X)}catch(q){var H=q,G=1}finally{W(Z,H,G)}}var E8,z8,E,I8=(J,Q)=>{let $=[];try{const X=N($,E`JSON.parse(${J})`,0);return typeof Q>"u"?JSON.parse(J):JSON.parse(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}};var UJ=U(()=>{rQ();sQ();aQ();E8=(()=>{let J=process.env.CLAUDIN_SLOW_OPERATION_THRESHOLD_MS;if(J!==void 0){let Q=Number(J);if(!Number.isNaN(Q)&&Q>=0)return Q}return 1/0})();z8={[Symbol.dispose](){}};E=B8});import*as K from"fs";import{mkdir as A8,open as o,readdir as L8,readFile as tQ,copyFile as _8,rename as S8,rmdir as O8,rm as w8,stat as k8,unlink as P8}from"fs/promises";import{homedir as eQ}from"os";import*as C from"path";function JX(J,Q){if(Q.startsWith("//")||Q.startsWith("\\\\"))return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};try{let X=J.lstatSync(Q);if(X.isFIFO()||X.isSocket()||X.isCharacterDevice()||X.isBlockDevice())return{resolvedPath:Q,isSymlink:!1,isCanonical:!1};let $=J.realpathSync(Q);return{resolvedPath:$,isSymlink:$!==Q,isCanonical:!0}}catch(X){return{resolvedPath:Q,isSymlink:!1,isCanonical:!1}}}function H1(J,Q,X){let{resolvedPath:$}=JX(J,Q);if(X.has($))return!0;return X.add($),!1}function T8(J,Q){let X=Q,$=[];while(X!==C.dirname(X)){let Y;try{Y=J.lstatSync(X)}catch{$.unshift(C.basename(X)),X=C.dirname(X);continue}if(Y.isSymbolicLink())try{let Z=J.realpathSync(X);return $.length===0?Z:C.join(Z,...$)}catch{let Z=J.readlinkSync(X),q=C.isAbsolute(Z)?Z:C.resolve(C.dirname(X),Z);return $.length===0?q:C.join(q,...$)}try{let Z=J.realpathSync(X);if(Z!==X)return $.length===0?Z:C.join(Z,...$)}catch{}return}return}function G1(J){let Q=J;if(Q==="~")Q=eQ().normalize("NFC");else if(Q.startsWith("~/"))Q=C.join(eQ().normalize("NFC"),Q.slice(2));let X=new Set,$=s();if(X.add(Q),Q.startsWith("//")||Q.startsWith("\\\\"))return Array.from(X);try{let q=Q,H=new Set,G=40;for(let I=0;I<G;I++){if(H.has(q))break;if(H.add(q),!$.existsSync(q)){if(q===Q){let x=T8($,Q);if(x!==void 0)X.add(x)}break}let B=$.lstatSync(q);if(B.isFIFO()||B.isSocket()||B.isCharacterDevice()||B.isBlockDevice())break;if(!B.isSymbolicLink())break;let M=$.readlinkSync(q),F=C.isAbsolute(M)?M:C.resolve(C.dirname(q),M);X.add(F),q=F}}catch{}let{resolvedPath:Y,isSymlink:Z}=JX($,Q);if(Z&&Y!==Q)X.add(Y);return Array.from(X)}function s(){return m8}async function K1(J,Q,X){let G=[];try{const $=N(G,await o(J,"r"),1);let Y=(await $.stat()).size;if(Y<=Q)return null;let Z=Math.min(Y-Q,X);let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await $.read(q,H,Z-H,Q+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:Y}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function U1(J,Q){let G=[];try{const X=N(G,await o(J,"r"),1);let $=(await X.stat()).size;if($===0)return{content:"",bytesRead:0,bytesTotal:0};let Y=Math.max(0,$-Q);let Z=$-Y;let q=Buffer.allocUnsafe(Z);let H=0;while(H<Z){let{bytesRead:x}=await X.read(q,H,Z-H,Y+H);if(x===0)break;H+=x}return{content:q.toString("utf8",0,H),bytesRead:H,bytesTotal:$}}catch(I){var B=I,M=1}finally{var F=W(G,B,M);F&&await F}}async function*N1(J){let X=await o(J,"r");try{let Y=(await X.stat()).size,Z=Buffer.alloc(0),q=Buffer.alloc(4096);while(Y>0){let H=Math.min(4096,Y);Y-=H,await X.read(q,0,H,Y);let G=Buffer.concat([q.subarray(0,H),Z]),I=G.indexOf(10);if(I===-1){Z=G;continue}Z=Buffer.from(G.subarray(0,I));let B=G.toString("utf8",I+1).split(`
3
- `);for(let M=B.length-1;M>=0;M--){let F=B[M];if(F)yield F}}if(Z.length>0)yield Z.toString("utf8")}finally{await X.close()}}var v8,m8;var QX=U(()=>{R8();UJ();v8={cwd(){return process.cwd()},existsSync(J){let X=[];try{const Q=N(X,E`fs.existsSync(${J})`,0);return K.existsSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},async stat(J){return k8(J)},async readdir(J){return L8(J,{withFileTypes:!0})},async unlink(J){return P8(J)},async rmdir(J){return O8(J)},async rm(J,Q){return w8(J,Q)},async mkdir(J,Q){try{await A8(J,{recursive:!0,...Q})}catch(X){if(r(X)!=="EEXIST")throw X}},async readFile(J,Q){return tQ(J,{encoding:Q.encoding})},async rename(J,Q){return S8(J,Q)},async copyFile(J,Q){let $=[];try{const X=N($,E`fs.copyFile(${J} → ${Q})`,0);return _8(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},statSync(J){let X=[];try{const Q=N(X,E`fs.statSync(${J})`,0);return K.statSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},lstatSync(J){let X=[];try{const Q=N(X,E`fs.lstatSync(${J})`,0);return K.lstatSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readFileSync(J,Q){let $=[];try{const X=N($,E`fs.readFileSync(${J})`,0);return K.readFileSync(J,{encoding:Q.encoding})}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},readFileBytesSync(J){let X=[];try{const Q=N(X,E`fs.readFileBytesSync(${J})`,0);return K.readFileSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readSync(J,Q){let Y=[];try{const X=N(Y,E`fs.readSync(${J}, ${Q.length} bytes)`,0);let $=void 0;try{$=K.openSync(J,"r");let G=Buffer.alloc(Q.length),I=K.readSync($,G,0,Q.length,0);return{buffer:G,bytesRead:I}}finally{if($)K.closeSync($)}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},appendFileSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.appendFileSync(${J}, ${Q.length} chars)`,0);if(X?.mode!==void 0)try{let G=K.openSync(J,"ax",X.mode);try{K.appendFileSync(G,Q)}finally{K.closeSync(G)}return}catch(G){if(r(G)!=="EEXIST")throw G}K.appendFileSync(J,Q)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},copyFileSync(J,Q){let $=[];try{const X=N($,E`fs.copyFileSync(${J} → ${Q})`,0);K.copyFileSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},unlinkSync(J){let X=[];try{const Q=N(X,E`fs.unlinkSync(${J})`,0);K.unlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},renameSync(J,Q){let $=[];try{const X=N($,E`fs.renameSync(${J} → ${Q})`,0);K.renameSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},linkSync(J,Q){let $=[];try{const X=N($,E`fs.linkSync(${J} → ${Q})`,0);K.linkSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},symlinkSync(J,Q,X){let Y=[];try{const $=N(Y,E`fs.symlinkSync(${J} → ${Q})`,0);K.symlinkSync(J,Q,X)}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readlinkSync(J){let X=[];try{const Q=N(X,E`fs.readlinkSync(${J})`,0);return K.readlinkSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},realpathSync(J){let X=[];try{const Q=N(X,E`fs.realpathSync(${J})`,0);return K.realpathSync(J).normalize("NFC")}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},mkdirSync(J,Q){let Y=[];try{const X=N(Y,E`fs.mkdirSync(${J})`,0);let $={recursive:!0};if(Q?.mode!==void 0)$.mode=Q.mode;try{K.mkdirSync(J,$)}catch(G){if(r(G)!=="EEXIST")throw G}}catch(Z){var q=Z,H=1}finally{W(Y,q,H)}},readdirSync(J){let X=[];try{const Q=N(X,E`fs.readdirSync(${J})`,0);return K.readdirSync(J,{withFileTypes:!0})}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},readdirStringSync(J){let X=[];try{const Q=N(X,E`fs.readdirStringSync(${J})`,0);return K.readdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},isDirEmptySync(J){let $=[];try{const Q=N($,E`fs.isDirEmptySync(${J})`,0);let X=this.readdirSync(J);return X.length===0}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},rmdirSync(J){let X=[];try{const Q=N(X,E`fs.rmdirSync(${J})`,0);K.rmdirSync(J)}catch($){var Y=$,Z=1}finally{W(X,Y,Z)}},rmSync(J,Q){let $=[];try{const X=N($,E`fs.rmSync(${J})`,0);K.rmSync(J,Q)}catch(Y){var Z=Y,q=1}finally{W($,Z,q)}},createWriteStream(J){return K.createWriteStream(J)},async readFileBytes(J,Q){if(Q===void 0)return tQ(J);let X=await o(J,"r");try{let{size:$}=await X.stat(),Y=Math.min($,Q),Z=Buffer.allocUnsafe(Y),q=0;while(q<Y){let{bytesRead:H}=await X.read(Z,q,Y-q,q);if(H===0)break;q+=H}return q<Y?Z.subarray(0,q):Z}finally{await X.close()}}},m8=v8});import{appendFile as h8,mkdir as d8,symlink as f8,unlink as p8}from"fs/promises";import{dirname as YX,join as qX}from"path";function L1(){let J=T();return HX=!0,T.cache.clear?.(),J}function u8(J){if(!T())return!1;if(typeof process>"u"||typeof process.versions>"u"||typeof process.versions.node>"u")return!1;let Q=b8();return VJ(J,Q)}function _1(J){EJ=J}function S1(){return EJ}async function c8(J,Q,X,$){if(J)await d8(Q,{recursive:!0}).catch(()=>{});await h8(X,$),NX()}function n8(){}function l8(){if(!P){let J=null;P=zJ({writeFn:(Q)=>{let X=UX(),$=YX(X),Y=J!==$;if(J=$,T()){if(Y)try{s().mkdirSync($)}catch{}s().appendFileSync(X,Q),NX();return}a=a.then(c8.bind(null,Y,$,X,Q)).catch(n8)},flushIntervalMs:1000,maxBufferSize:100,immediateMode:T()}),IJ(async()=>{P?.dispose(),await a})}return P}async function O1(){P?.flush(),await a}function D8(J,{level:Q}={level:"debug"}){if(WJ[Q]<WJ[g8()])return;if(!u8(J))return;if(EJ&&J.includes(`
4
- `))J=KJ(J);let $=`${new Date().toISOString()} [${Q.toUpperCase()}] ${J.trim()}
5
- `;if(GX()){ZX($);return}l8().write($)}function UX(){return KX()??process.env.CLAUDIN_DEBUG_LOGS_DIR??qX($X(),"debug",`${XX()}.txt`)}function w1(J,Q){}var WJ,g8,HX=!1,T,b8,GX,KX,EJ=!1,P=null,a,NX;var aQ=U(()=>{xJ();sQ();BJ();CJ();DJ();j8();QX();y8();UJ();WJ={verbose:0,debug:1,info:2,warn:3,error:4},g8=V(()=>{let J=process.env.CLAUDIN_DEBUG_LOG_LEVEL?.toLowerCase().trim();if(J&&Object.hasOwn(WJ,J))return J;return"debug"}),T=V(()=>{return HX||NJ(process.env.DEBUG)||NJ(process.env.DEBUG_SDK)||process.argv.includes("--debug")||process.argv.includes("-d")||GX()||process.argv.some((J)=>J.startsWith("--debug="))||KX()!==null});b8=V(()=>{let J=process.argv.find((X)=>X.startsWith("--debug="));if(!J)return null;let Q=J.substring(8);return FJ(Q)}),GX=V(()=>{return process.argv.includes("--debug-to-stderr")||process.argv.includes("-D")}),KX=V(()=>{for(let J=0;J<process.argv.length;J++){let Q=process.argv[J];if(Q.startsWith("--debug-file="))return Q.substring(13);if(Q==="--debug-file"&&J+1<process.argv.length)return process.argv[J+1]}return null});a=Promise.resolve();NX=V(async()=>{try{let J=UX(),Q=YX(J),X=qX(Q,"latest");await p8(X).catch(()=>{}),await f8(J,X)}catch{}})});
6
- export{zJ as Jja,BJ as Kja,IJ as Lja,r8 as Mja,CJ as Nja,e as Oja,_J as Pja,m as Qja,JJ as Rja,j as Sja,QJ as Tja,R as Uja,k as Vja,_ as Wja,d as Xja,$J as Yja,lJ as Zja,iJ as _ja,rJ as $ja,b as aka,ZJ as bka,ZQ as cka,YQ as dka,BQ as eka,IQ as fka,RQ as gka,AQ as hka,nQ as ika,lQ as jka,E as kka,KJ as lka,I8 as mka,C8 as nka,F8 as oka,V8 as pka,UJ as qka,JX as rka,H1 as ska,G1 as tka,s as uka,K1 as vka,U1 as wka,N1 as xka,QX as yka,g8 as zka,T as Aka,L1 as Bka,b8 as Cka,GX as Dka,KX as Eka,_1 as Fka,S1 as Gka,O1 as Hka,D8 as Ika,UX as Jka,w1 as Kka,aQ as Lka};