@claudiolabs/claudin 1.0.14 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (910) hide show
  1. package/dist/chunks/AgentTool-1.0.16-wvkhgtfr.mjs +1 -0
  2. package/dist/chunks/App-1.0.16-qj70q7bs.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.0.16-nwddyyxe.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.0.16-s0nz3m0m.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.0.16-mz0t23b9.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.0.16-v6q56p5k.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.16-pa48jvvz.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.0.16-8z8an98j.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.0.16-en5phhjv.mjs +7 -0
  10. package/dist/chunks/Doctor-1.0.16-c4vpjrpq.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.0.16-avpaznp7.mjs +6 -0
  12. package/dist/chunks/Grove-1.0.16-3n0wq2g4.mjs +1 -0
  13. package/dist/chunks/ITermBackend-1.0.16-3kamvnmb.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.0.16-anyrrqmz.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.0.16-xs7rnvw2.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.0.16-hvmezjv6.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.0.16-j9z9h03k.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.0.16-6sby2542.mjs +1 -0
  19. package/dist/chunks/REPL-1.0.16-2yn8p9d8.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.0.16-mf1fgs4p.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.0.16-acer2dt3.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.0.16-p5g78t71.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.0.16-w2cbt48d.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.0.16-zfsbr2j8.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.0.16-v0xt80ep.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.0.16-618gxr3s.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.0.16-xdf0qyft.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.0.16-fdvc9c5k.mjs +1 -0
  29. package/dist/chunks/add-dir-1.0.16-42s0pyww.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.0.16-ya0z3dtm.mjs +1 -0
  31. package/dist/chunks/agents-1.0.16-9kh1vnqr.mjs +3 -0
  32. package/dist/chunks/agents-1.0.16-fxzavm1v.mjs +110 -0
  33. package/dist/chunks/api-1.0.16-dmy8gm8w.mjs +1 -0
  34. package/dist/chunks/asciicast-1.0.16-te208gj5.mjs +1 -0
  35. package/dist/chunks/assistant-1.0.16-k7yyas10.mjs +1 -0
  36. package/dist/chunks/auth-1.0.16-0t089511.mjs +1 -0
  37. package/dist/chunks/auth-1.0.16-wsdndr43.mjs +1 -0
  38. package/dist/chunks/autoMode-1.0.16-9e04q56t.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.0.16-wsmefs36.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.0.16-pmqfyb9a.mjs +1 -0
  41. package/dist/chunks/branch-1.0.16-at6phph5.mjs +4 -0
  42. package/dist/chunks/bridge-1.0.16-jk00c19e.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.0.16-1f1hf2x8.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.0.16-pr05xsxb.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.0.16-df3kzv8s.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.0.16-brqbhgy2.mjs +1 -0
  47. package/dist/chunks/btw-1.0.16-xzfabxj6.mjs +1 -0
  48. package/dist/chunks/buddy-1.0.16-e678bdsk.mjs +3 -0
  49. package/dist/chunks/cacache-1.0.16-e2mwray8.mjs +1 -0
  50. package/dist/chunks/cache-probe-1.0.16-cgbyvz3q.mjs +21 -0
  51. package/dist/chunks/cacheStats-1.0.16-xg2k7b6y.mjs +4 -0
  52. package/dist/chunks/caches-1.0.16-9xt8fj7x.mjs +1 -0
  53. package/dist/chunks/claudeDesktop-1.0.16-etycr23t.mjs +1 -0
  54. package/dist/chunks/claudemd-1.0.16-05ycq87c.mjs +1 -0
  55. package/dist/chunks/clear-1.0.16-5rrp0dq2.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.0.16-hq8hxrw4.mjs +1 -0
  57. package/dist/chunks/cli-1.0.16-03b5jjz5.mjs +6 -0
  58. package/dist/chunks/cli-1.0.16-04tr8fw7.mjs +6 -0
  59. package/dist/chunks/cli-1.0.16-07b4f4bw.mjs +3 -0
  60. package/dist/chunks/cli-1.0.16-07x0893e.mjs +2 -0
  61. package/dist/chunks/cli-1.0.16-0bza13rj.mjs +2 -0
  62. package/dist/chunks/cli-1.0.16-0f0rbfq7.mjs +2 -0
  63. package/dist/chunks/cli-1.0.16-0mt6xxrt.mjs +6 -0
  64. package/dist/chunks/cli-1.0.16-0rqyx4re.mjs +2 -0
  65. package/dist/chunks/cli-1.0.16-0v8j55zf.mjs +2 -0
  66. package/dist/chunks/cli-1.0.16-133hhc86.mjs +6 -0
  67. package/dist/chunks/cli-1.0.16-16qr698n.mjs +2 -0
  68. package/dist/chunks/cli-1.0.16-19h7ddkz.mjs +2 -0
  69. package/dist/chunks/cli-1.0.16-1mfcpfa8.mjs +39 -0
  70. package/dist/chunks/cli-1.0.16-1qh4cd2a.mjs +2 -0
  71. package/dist/chunks/cli-1.0.16-21yhbzk0.mjs +3 -0
  72. package/dist/chunks/cli-1.0.16-22djnkp4.mjs +2 -0
  73. package/dist/chunks/cli-1.0.16-23fvr0wv.mjs +2 -0
  74. package/dist/chunks/cli-1.0.16-28kyenby.mjs +2 -0
  75. package/dist/chunks/cli-1.0.16-2ghvdh62.mjs +2 -0
  76. package/dist/chunks/cli-1.0.16-2gwj41fw.mjs +2 -0
  77. package/dist/chunks/cli-1.0.16-2hpbjz3s.mjs +3 -0
  78. package/dist/chunks/cli-1.0.16-2thxt6pw.mjs +59 -0
  79. package/dist/chunks/cli-1.0.16-2ybxhhr3.mjs +4 -0
  80. package/dist/chunks/cli-1.0.16-37d6r8fz.mjs +2 -0
  81. package/dist/chunks/cli-1.0.16-3fv6gk9q.mjs +2 -0
  82. package/dist/chunks/cli-1.0.16-3jqjnkzm.mjs +2 -0
  83. package/dist/chunks/cli-1.0.16-3pbtmmrt.mjs +4 -0
  84. package/dist/chunks/cli-1.0.16-430hp7w5.mjs +2 -0
  85. package/dist/chunks/cli-1.0.16-4621hbzw.mjs +25 -0
  86. package/dist/chunks/cli-1.0.16-49dw2eqx.mjs +5 -0
  87. package/dist/chunks/cli-1.0.16-4a2x18jw.mjs +2 -0
  88. package/dist/chunks/cli-1.0.16-4bw2zm4f.mjs +2 -0
  89. package/dist/chunks/cli-1.0.16-4k4qgyyq.mjs +2 -0
  90. package/dist/chunks/cli-1.0.16-4vns6894.mjs +2 -0
  91. package/dist/chunks/cli-1.0.16-58sv5vch.mjs +2 -0
  92. package/dist/chunks/cli-1.0.16-5axjzbba.mjs +2 -0
  93. package/dist/chunks/cli-1.0.16-5fpnmf91.mjs +15 -0
  94. package/dist/chunks/cli-1.0.16-5sj9hkp9.mjs +2 -0
  95. package/dist/chunks/cli-1.0.16-625x0153.mjs +2 -0
  96. package/dist/chunks/cli-1.0.16-66gzm80h.mjs +2 -0
  97. package/dist/chunks/cli-1.0.16-6d9kerj1.mjs +2 -0
  98. package/dist/chunks/cli-1.0.16-6gyjk1vp.mjs +2 -0
  99. package/dist/chunks/cli-1.0.16-6ynvs67w.mjs +3 -0
  100. package/dist/chunks/cli-1.0.16-7apw65y7.mjs +2 -0
  101. package/dist/chunks/cli-1.0.16-7bvmr4rf.mjs +3 -0
  102. package/dist/chunks/cli-1.0.16-7eybn78f.mjs +2 -0
  103. package/dist/chunks/cli-1.0.16-7hc7p9x4.mjs +4 -0
  104. package/dist/chunks/cli-1.0.16-7n29wghc.mjs +3 -0
  105. package/dist/chunks/cli-1.0.16-7nqp826t.mjs +2 -0
  106. package/dist/chunks/cli-1.0.16-7r5pnkgj.mjs +2 -0
  107. package/dist/chunks/cli-1.0.16-80nmsz9m.mjs +2 -0
  108. package/dist/chunks/cli-1.0.16-80w06txg.mjs +20 -0
  109. package/dist/chunks/cli-1.0.16-82rcbqg2.mjs +2 -0
  110. package/dist/chunks/cli-1.0.16-8m9pzkr8.mjs +15 -0
  111. package/dist/chunks/cli-1.0.16-8mggx8np.mjs +2 -0
  112. package/dist/chunks/cli-1.0.16-8svbg4t6.mjs +4 -0
  113. package/dist/chunks/cli-1.0.16-8vfwka4c.mjs +12 -0
  114. package/dist/chunks/cli-1.0.16-94c7kpx1.mjs +2 -0
  115. package/dist/chunks/cli-1.0.16-94eetd0b.mjs +2 -0
  116. package/dist/chunks/cli-1.0.16-997n0rpt.mjs +2 -0
  117. package/dist/chunks/cli-1.0.16-9m2dkrxt.mjs +2 -0
  118. package/dist/chunks/cli-1.0.16-a2d2s2cs.mjs +2 -0
  119. package/dist/chunks/cli-1.0.16-a4dr9ptz.mjs +3 -0
  120. package/dist/chunks/cli-1.0.16-aa0xse54.mjs +2 -0
  121. package/dist/chunks/cli-1.0.16-abxtgh7d.mjs +2 -0
  122. package/dist/chunks/cli-1.0.16-afng6ydq.mjs +2 -0
  123. package/dist/chunks/cli-1.0.16-ahn721qj.mjs +18 -0
  124. package/dist/chunks/cli-1.0.16-ar98yh40.mjs +2 -0
  125. package/dist/chunks/cli-1.0.16-ar9fmtxa.mjs +2 -0
  126. package/dist/chunks/cli-1.0.16-aw8qjvt6.mjs +1 -0
  127. package/dist/chunks/cli-1.0.16-b0ds811h.mjs +12 -0
  128. package/dist/chunks/cli-1.0.16-b475h1qv.mjs +2 -0
  129. package/dist/chunks/cli-1.0.16-bcax4sz5.mjs +15 -0
  130. package/dist/chunks/cli-1.0.16-bqa1thts.mjs +2 -0
  131. package/dist/chunks/cli-1.0.16-c0pqddvv.mjs +2 -0
  132. package/dist/chunks/cli-1.0.16-cheyjtmw.mjs +2 -0
  133. package/dist/chunks/cli-1.0.16-cnnfggd0.mjs +133 -0
  134. package/dist/chunks/cli-1.0.16-d3zrt3hs.mjs +2 -0
  135. package/dist/chunks/cli-1.0.16-d716n13b.mjs +2 -0
  136. package/dist/chunks/cli-1.0.16-d77bv0wx.mjs +2 -0
  137. package/dist/chunks/cli-1.0.16-datw1k5m.mjs +2 -0
  138. package/dist/chunks/cli-1.0.16-dawsz3cx.mjs +58 -0
  139. package/dist/chunks/cli-1.0.16-dff4252s.mjs +24 -0
  140. package/dist/chunks/cli-1.0.16-dggf3mwp.mjs +2 -0
  141. package/dist/chunks/cli-1.0.16-drphseh7.mjs +4 -0
  142. package/dist/chunks/cli-1.0.16-dsw73925.mjs +2 -0
  143. package/dist/chunks/cli-1.0.16-dxcve6pg.mjs +2 -0
  144. package/dist/chunks/cli-1.0.16-e0qj3bb7.mjs +2 -0
  145. package/dist/chunks/cli-1.0.16-e7hav3ez.mjs +2 -0
  146. package/dist/chunks/cli-1.0.16-e830ghzs.mjs +2 -0
  147. package/dist/chunks/cli-1.0.16-esgranzx.mjs +3 -0
  148. package/dist/chunks/cli-1.0.16-ewmczs5j.mjs +2 -0
  149. package/dist/chunks/cli-1.0.16-f4fr2jb2.mjs +2 -0
  150. package/dist/chunks/cli-1.0.16-fcfaz7s1.mjs +18 -0
  151. package/dist/chunks/cli-1.0.16-fcjskkf4.mjs +2 -0
  152. package/dist/chunks/cli-1.0.16-fehsf9kh.mjs +2 -0
  153. package/dist/chunks/cli-1.0.16-ffca1s3t.mjs +21 -0
  154. package/dist/chunks/cli-1.0.16-fhqg8pmc.mjs +2 -0
  155. package/dist/chunks/cli-1.0.16-fmpgxdqc.mjs +2 -0
  156. package/dist/chunks/cli-1.0.16-fskj6kkz.mjs +12 -0
  157. package/dist/chunks/cli-1.0.16-g1gw16yf.mjs +9 -0
  158. package/dist/chunks/cli-1.0.16-g1hxxcer.mjs +2 -0
  159. package/dist/chunks/cli-1.0.16-g2ya82h9.mjs +2 -0
  160. package/dist/chunks/cli-1.0.16-g3g33b7n.mjs +2 -0
  161. package/dist/chunks/cli-1.0.16-g3xbjpm0.mjs +6 -0
  162. package/dist/chunks/cli-1.0.16-grtt82kn.mjs +45 -0
  163. package/dist/chunks/cli-1.0.16-gvvtqw93.mjs +3 -0
  164. package/dist/chunks/cli-1.0.16-gydkk4pv.mjs +2 -0
  165. package/dist/chunks/cli-1.0.16-h8cqz7s4.mjs +2 -0
  166. package/dist/chunks/cli-1.0.16-hk1xetmm.mjs +133 -0
  167. package/dist/chunks/cli-1.0.16-hpznp2f1.mjs +2 -0
  168. package/dist/chunks/cli-1.0.16-hqqn22q3.mjs +2 -0
  169. package/dist/chunks/cli-1.0.16-ht8msgzn.mjs +5 -0
  170. package/dist/chunks/cli-1.0.16-hvfp394x.mjs +3 -0
  171. package/dist/chunks/cli-1.0.16-j89x551t.mjs +2 -0
  172. package/dist/chunks/cli-1.0.16-j8kkz0js.mjs +2 -0
  173. package/dist/chunks/cli-1.0.16-jd106qrc.mjs +4 -0
  174. package/dist/chunks/cli-1.0.16-jmc56c16.mjs +2 -0
  175. package/dist/chunks/cli-1.0.16-jrxss67w.mjs +2 -0
  176. package/dist/chunks/cli-1.0.16-js6p36qa.mjs +2 -0
  177. package/dist/chunks/cli-1.0.16-k3nksbe5.mjs +2 -0
  178. package/dist/chunks/cli-1.0.16-k6g22gyn.mjs +2 -0
  179. package/dist/chunks/cli-1.0.16-kcreqyt3.mjs +2 -0
  180. package/dist/chunks/cli-1.0.16-kdm4846g.mjs +2 -0
  181. package/dist/chunks/cli-1.0.16-kh0cfhgd.mjs +2 -0
  182. package/dist/chunks/cli-1.0.16-ksfap5at.mjs +24 -0
  183. package/dist/chunks/cli-1.0.16-m5f33qfn.mjs +2 -0
  184. package/dist/chunks/cli-1.0.16-m6x6p13f.mjs +2 -0
  185. package/dist/chunks/cli-1.0.16-m8et6040.mjs +2 -0
  186. package/dist/chunks/cli-1.0.16-mg53mrd2.mjs +17 -0
  187. package/dist/chunks/cli-1.0.16-mkaje15r.mjs +2 -0
  188. package/dist/chunks/cli-1.0.16-n6bm43be.mjs +2 -0
  189. package/dist/chunks/cli-1.0.16-n7vvc80d.mjs +4 -0
  190. package/dist/chunks/cli-1.0.16-natadjxz.mjs +2 -0
  191. package/dist/chunks/cli-1.0.16-nh58e5sn.mjs +2 -0
  192. package/dist/chunks/cli-1.0.16-nxg44e73.mjs +2 -0
  193. package/dist/chunks/cli-1.0.16-p36pcnvw.mjs +2 -0
  194. package/dist/chunks/cli-1.0.16-p68tp9h3.mjs +2 -0
  195. package/dist/chunks/cli-1.0.16-pdf0vmcs.mjs +2 -0
  196. package/dist/chunks/cli-1.0.16-pdjp1248.mjs +2 -0
  197. package/dist/chunks/cli-1.0.16-ph1tq97e.mjs +12 -0
  198. package/dist/chunks/cli-1.0.16-pj0vcmv0.mjs +2 -0
  199. package/dist/chunks/cli-1.0.16-pqmanw5v.mjs +2 -0
  200. package/dist/chunks/cli-1.0.16-pz654728.mjs +5557 -0
  201. package/dist/chunks/cli-1.0.16-q2g1eds7.mjs +2 -0
  202. package/dist/chunks/cli-1.0.16-q5te24ar.mjs +2 -0
  203. package/dist/chunks/cli-1.0.16-q6jt90mr.mjs +25 -0
  204. package/dist/chunks/cli-1.0.16-qc5nvbgq.mjs +2 -0
  205. package/dist/chunks/cli-1.0.16-qf932scm.mjs +2 -0
  206. package/dist/chunks/cli-1.0.16-qfnz1281.mjs +2 -0
  207. package/dist/chunks/cli-1.0.16-qw7khq2v.mjs +42 -0
  208. package/dist/chunks/cli-1.0.16-r1mtjt6j.mjs +2 -0
  209. package/dist/chunks/cli-1.0.16-r2fnj3sp.mjs +2 -0
  210. package/dist/chunks/cli-1.0.16-r4x4j4ex.mjs +2 -0
  211. package/dist/chunks/cli-1.0.16-r5zwwmrf.mjs +34 -0
  212. package/dist/chunks/cli-1.0.16-re32rapy.mjs +2 -0
  213. package/dist/chunks/cli-1.0.16-rfmqmp7n.mjs +67 -0
  214. package/dist/chunks/cli-1.0.16-rnjfc919.mjs +2 -0
  215. package/dist/chunks/cli-1.0.16-rvawnzma.mjs +50 -0
  216. package/dist/chunks/cli-1.0.16-s3ck0xny.mjs +2 -0
  217. package/dist/chunks/cli-1.0.16-s4pa3dqg.mjs +2 -0
  218. package/dist/chunks/cli-1.0.16-s5y2vt2x.mjs +16 -0
  219. package/dist/chunks/cli-1.0.16-s609frp5.mjs +2 -0
  220. package/dist/chunks/cli-1.0.16-s6nrn76q.mjs +2 -0
  221. package/dist/chunks/cli-1.0.16-scvxzb6x.mjs +2 -0
  222. package/dist/chunks/cli-1.0.16-srgnhrpx.mjs +2 -0
  223. package/dist/chunks/cli-1.0.16-srr48ecc.mjs +18 -0
  224. package/dist/chunks/cli-1.0.16-stm6nwy6.mjs +2 -0
  225. package/dist/chunks/cli-1.0.16-t1815494.mjs +7 -0
  226. package/dist/chunks/cli-1.0.16-t2ky4p5s.mjs +202 -0
  227. package/dist/chunks/cli-1.0.16-td1tnrvq.mjs +2 -0
  228. package/dist/chunks/cli-1.0.16-tjqve1gp.mjs +2 -0
  229. package/dist/chunks/cli-1.0.16-tkw512bx.mjs +2 -0
  230. package/dist/chunks/cli-1.0.16-tnx6xq60.mjs +2 -0
  231. package/dist/chunks/cli-1.0.16-v6rpymkv.mjs +2 -0
  232. package/dist/chunks/cli-1.0.16-vfk0g9d8.mjs +2 -0
  233. package/dist/chunks/cli-1.0.16-vj5p858w.mjs +3 -0
  234. package/dist/chunks/cli-1.0.16-w382p4f7.mjs +24 -0
  235. package/dist/chunks/cli-1.0.16-wg00dea4.mjs +2 -0
  236. package/dist/chunks/cli-1.0.16-wh1hwpa6.mjs +2 -0
  237. package/dist/chunks/cli-1.0.16-wk5szq3c.mjs +2 -0
  238. package/dist/chunks/cli-1.0.16-wmt878h4.mjs +2 -0
  239. package/dist/chunks/cli-1.0.16-wt9wh18d.mjs +3 -0
  240. package/dist/chunks/cli-1.0.16-x002k14w.mjs +4 -0
  241. package/dist/chunks/cli-1.0.16-x50z71rx.mjs +2 -0
  242. package/dist/chunks/cli-1.0.16-x7frspjb.mjs +2 -0
  243. package/dist/chunks/cli-1.0.16-xest14mj.mjs +2 -0
  244. package/dist/chunks/cli-1.0.16-xhrysm93.mjs +4 -0
  245. package/dist/chunks/cli-1.0.16-xjjsnafh.mjs +2 -0
  246. package/dist/chunks/cli-1.0.16-xqwz1zgk.mjs +2 -0
  247. package/dist/chunks/cli-1.0.16-xz63vy3x.mjs +2 -0
  248. package/dist/chunks/cli-1.0.16-y8etxx4t.mjs +2 -0
  249. package/dist/chunks/cli-1.0.16-ynm2hz21.mjs +2 -0
  250. package/dist/chunks/cli-1.0.16-yw011pcb.mjs +2 -0
  251. package/dist/chunks/cli-1.0.16-z2t6cws8.mjs +8 -0
  252. package/dist/chunks/cli-1.0.16-z3ew4yak.mjs +4 -0
  253. package/dist/chunks/cli-1.0.16-z8hf3965.mjs +2 -0
  254. package/dist/chunks/cli-1.0.16-z8vtm68p.mjs +4 -0
  255. package/dist/chunks/cli-1.0.16-zakynkzs.mjs +9 -0
  256. package/dist/chunks/cli-1.0.16-zsvkc5zm.mjs +2 -0
  257. package/dist/chunks/cli-1.0.16-zv0gp6y5.mjs +17 -0
  258. package/dist/chunks/client-1.0.16-xhs0p1sr.mjs +1 -0
  259. package/dist/chunks/color-1.0.16-4vz7gpcs.mjs +1 -0
  260. package/dist/chunks/compact-1.0.16-h9s4p0tq.mjs +3 -0
  261. package/dist/chunks/config-1.0.16-g2c7zr5h.mjs +1 -0
  262. package/dist/chunks/config-1.0.16-ktfgayty.mjs +1 -0
  263. package/dist/chunks/constants-1.0.16-dttepjbs.mjs +1 -0
  264. package/dist/chunks/context-1.0.16-qtcs6qm5.mjs +1 -0
  265. package/dist/chunks/context-noninteractive-1.0.16-rvjhqwht.mjs +1 -0
  266. package/dist/chunks/conversation-1.0.16-z503kkn8.mjs +1 -0
  267. package/dist/chunks/copilotHeaders-1.0.16-z5a555zn.mjs +1 -0
  268. package/dist/chunks/copy-1.0.16-yfb29y6y.mjs +9 -0
  269. package/dist/chunks/cost-1.0.16-417v6b1a.mjs +1 -0
  270. package/dist/chunks/createSSHSession-1.0.16-zz14vxmj.mjs +1 -0
  271. package/dist/chunks/createSession-1.0.16-k1128bhd.mjs +1 -0
  272. package/dist/chunks/debug-1.0.16-rtt7pq3d.mjs +1 -0
  273. package/dist/chunks/defaultActionDeps-1.0.16-qxzqz3wz.mjs +1446 -0
  274. package/dist/chunks/desktop-1.0.16-hkxhs9sk.mjs +1 -0
  275. package/dist/chunks/detectRepository-1.0.16-4p7e3f4d.mjs +1 -0
  276. package/dist/chunks/detection-1.0.16-gpt4y10p.mjs +1 -0
  277. package/dist/chunks/diff-1.0.16-hbcebmqq.mjs +1 -0
  278. package/dist/chunks/doctor-1.0.16-mbqv4b8m.mjs +1 -0
  279. package/dist/chunks/doctorDiagnostic-1.0.16-c64s8s2j.mjs +1 -0
  280. package/dist/chunks/earlyInput-1.0.16-cgk422bw.mjs +1 -0
  281. package/dist/chunks/effort-1.0.16-fk0fsqw1.mjs +10 -0
  282. package/dist/chunks/engine-1.0.16-5a0tr5hv.mjs +1 -0
  283. package/dist/chunks/envLessBridgeConfig-1.0.16-a88zsxm7.mjs +1 -0
  284. package/dist/chunks/envUtils-1.0.16-5gxzkt3m.mjs +1 -0
  285. package/dist/chunks/environmentSelection-1.0.16-3pg1req8.mjs +1 -0
  286. package/dist/chunks/environments-1.0.16-1aggyd97.mjs +1 -0
  287. package/dist/chunks/errors-1.0.16-vxy9cpnz.mjs +1 -0
  288. package/dist/chunks/exampleCommands-1.0.16-gw61yzy5.mjs +1 -0
  289. package/dist/chunks/execFileNoThrow-1.0.16-mg301nrg.mjs +1 -0
  290. package/dist/chunks/exit-1.0.16-rhqh0qcy.mjs +1 -0
  291. package/dist/chunks/explorer-1.0.16-dz7153c5.mjs +1 -0
  292. package/dist/chunks/export-1.0.16-grgk0hrd.mjs +2 -0
  293. package/dist/chunks/extra-usage-1.0.16-eh8c6s6q.mjs +1 -0
  294. package/dist/chunks/extra-usage-noninteractive-1.0.16-775rwnd4.mjs +1 -0
  295. package/dist/chunks/fast-1.0.16-j6006he1.mjs +1 -0
  296. package/dist/chunks/feedback-1.0.16-s0tshw39.mjs +14 -0
  297. package/dist/chunks/firstPartyEventLogger-1.0.16-h61b27k3.mjs +1 -0
  298. package/dist/chunks/git-1.0.16-zgmcchyv.mjs +1 -0
  299. package/dist/chunks/githubModelsCredentials-1.0.16-q2s6e4s8.mjs +1 -0
  300. package/dist/chunks/goal-1.0.16-w0e1trst.mjs +4 -0
  301. package/dist/chunks/grove-1.0.16-rm643s3n.mjs +1 -0
  302. package/dist/chunks/growthbook-1.0.16-234vever.mjs +1 -0
  303. package/dist/chunks/headless-1.0.16-0f9r1wnw.mjs +2 -0
  304. package/dist/chunks/heapdump-1.0.16-2g3xpm87.mjs +6 -0
  305. package/dist/chunks/help-1.0.16-fmhte0j0.mjs +1 -0
  306. package/dist/chunks/hookChains-1.0.16-5f5tk1dt.mjs +3 -0
  307. package/dist/chunks/hooks-1.0.16-35ge6dh4.mjs +1 -0
  308. package/dist/chunks/hooks-1.0.16-w3s2dqc3.mjs +79 -0
  309. package/dist/chunks/ide-1.0.16-k72t7fra.mjs +3 -0
  310. package/dist/chunks/image-processor-napi-1.0.16-wefqw84q.mjs +1 -0
  311. package/dist/chunks/inboundAttachments-1.0.16-d9p2etx1.mjs +1 -0
  312. package/dist/chunks/index-1.0.16-0yqaa9dp.mjs +1 -0
  313. package/dist/chunks/index-1.0.16-2cwev03b.mjs +1 -0
  314. package/dist/chunks/index-1.0.16-2q4smqnq.mjs +5 -0
  315. package/dist/chunks/index-1.0.16-43g8hr9c.mjs +1 -0
  316. package/dist/chunks/index-1.0.16-58jgyw37.mjs +1 -0
  317. package/dist/chunks/index-1.0.16-6pawckrk.mjs +1 -0
  318. package/dist/chunks/index-1.0.16-900z9kpq.mjs +1 -0
  319. package/dist/chunks/index-1.0.16-a6bdp9dx.mjs +1 -0
  320. package/dist/chunks/index-1.0.16-brq1353t.mjs +1 -0
  321. package/dist/chunks/index-1.0.16-dkpszwnc.mjs +30 -0
  322. package/dist/chunks/index-1.0.16-fvhbvz4e.mjs +1 -0
  323. package/dist/chunks/index-1.0.16-fxg85h4f.mjs +2 -0
  324. package/dist/chunks/index-1.0.16-jrbr0vgb.mjs +1 -0
  325. package/dist/chunks/index-1.0.16-kbpve4r7.mjs +1 -0
  326. package/dist/chunks/index-1.0.16-mcszpr4h.mjs +9 -0
  327. package/dist/chunks/index-1.0.16-mmxyq9n1.mjs +9 -0
  328. package/dist/chunks/index-1.0.16-mpgbpm0k.mjs +1 -0
  329. package/dist/chunks/index-1.0.16-qsmka6f6.mjs +1 -0
  330. package/dist/chunks/index-1.0.16-rrgfxza5.mjs +2 -0
  331. package/dist/chunks/index-1.0.16-rsr8xcrt.mjs +17 -0
  332. package/dist/chunks/index-1.0.16-ryw2h481.mjs +1 -0
  333. package/dist/chunks/index-1.0.16-stt2baps.mjs +1 -0
  334. package/dist/chunks/index-1.0.16-zpctfp06.mjs +1 -0
  335. package/dist/chunks/init-1.0.16-6d9mah78.mjs +1 -0
  336. package/dist/chunks/initReplBridge-1.0.16-rmj53r70.mjs +1 -0
  337. package/dist/chunks/ink-1.0.16-bhr33b23.mjs +1 -0
  338. package/dist/chunks/insights-1.0.16-7kd5gsq0.mjs +870 -0
  339. package/dist/chunks/install-1.0.16-ab2zfsp3.mjs +1 -0
  340. package/dist/chunks/install-github-app-1.0.16-7c40s5xx.mjs +149 -0
  341. package/dist/chunks/install-slack-app-1.0.16-5dv60ceq.mjs +1 -0
  342. package/dist/chunks/instrumentation-1.0.16-tynczjn9.mjs +1 -0
  343. package/dist/chunks/interactiveHelpers-1.0.16-9gbm21fb.mjs +1 -0
  344. package/dist/chunks/keybindings-1.0.16-saxm9cz1.mjs +2 -0
  345. package/dist/chunks/knowledge-1.0.16-t1e5qmmj.mjs +2 -0
  346. package/dist/chunks/latestVersionCache-1.0.16-x1vcspx5.mjs +1 -0
  347. package/dist/chunks/loadAgentsDir-1.0.16-73hvgtg1.mjs +1 -0
  348. package/dist/chunks/loadPluginHooks-1.0.16-nhgxn1vv.mjs +1 -0
  349. package/dist/chunks/loadPluginHooks-1.0.16-zsah8w7s.mjs +1 -0
  350. package/dist/chunks/log-1.0.16-1thaytya.mjs +1 -0
  351. package/dist/chunks/main-1.0.16-98hcbpah.mjs +1 -0
  352. package/dist/chunks/managedEnv-1.0.16-kehw592q.mjs +1 -0
  353. package/dist/chunks/mcp-1.0.16-279t3wwh.mjs +1 -0
  354. package/dist/chunks/mcp-1.0.16-44q8kwd8.mjs +4 -0
  355. package/dist/chunks/mcp-1.0.16-vtjz32eq.mjs +17 -0
  356. package/dist/chunks/mcpb-1.0.16-c57m9p34.mjs +1 -0
  357. package/dist/chunks/memory-1.0.16-kjsp1ta2.mjs +72 -0
  358. package/dist/chunks/model-1.0.16-sk96phs5.mjs +1 -0
  359. package/dist/chunks/model-1.0.16-ttvdftag.mjs +2 -0
  360. package/dist/chunks/node-1.0.16-20fb4ffh.mjs +12 -0
  361. package/dist/chunks/oauth-1.0.16-jxs2a70y.mjs +1 -0
  362. package/dist/chunks/openaiShim-1.0.16-1n9f8659.mjs +14 -0
  363. package/dist/chunks/output-style-1.0.16-a7amj8g1.mjs +1 -0
  364. package/dist/chunks/package-2VNCXFNY-1.0.16-09men0zm.mjs +1 -0
  365. package/dist/chunks/parseConnectUrl-1.0.16-46kkhskc.mjs +1 -0
  366. package/dist/chunks/parser-1.0.16-75k3wk1b.mjs +1 -0
  367. package/dist/chunks/passes-1.0.16-gapgbvp7.mjs +1 -0
  368. package/dist/chunks/permissions-1.0.16-6gc12sjy.mjs +1 -0
  369. package/dist/chunks/permissions-1.0.16-taf27235.mjs +3 -0
  370. package/dist/chunks/plan-1.0.16-4h9sahxh.mjs +1 -0
  371. package/dist/chunks/plist-1.0.16-00prnk6z.mjs +1 -0
  372. package/dist/chunks/plugin-1.0.16-jzbt7gzr.mjs +29 -0
  373. package/dist/chunks/pluginStartupCheck-1.0.16-v0g6m4h4.mjs +1 -0
  374. package/dist/chunks/plugins-1.0.16-vw4ae418.mjs +9 -0
  375. package/dist/chunks/preActionHook-1.0.16-cf53tkw8.mjs +2 -0
  376. package/dist/chunks/print-1.0.16-5trdtnez.mjs +57 -0
  377. package/dist/chunks/privacy-settings-1.0.16-tg3nb1jr.mjs +1 -0
  378. package/dist/chunks/process-1.0.16-nfkmm0cz.mjs +1 -0
  379. package/dist/chunks/processBashCommand-1.0.16-8kfkzt3n.mjs +1 -0
  380. package/dist/chunks/processSlashCommand-1.0.16-4g1pf3ny.mjs +9 -0
  381. package/dist/chunks/prompt-1.0.16-436taj0q.mjs +1 -0
  382. package/dist/chunks/prompt-1.0.16-a7sjgybs.mjs +1 -0
  383. package/dist/chunks/prompts-1.0.16-pv504jmf.mjs +1 -0
  384. package/dist/chunks/protocolHandler-1.0.16-4ewyrhnt.mjs +13 -0
  385. package/dist/chunks/provider-1.0.16-40avs022.mjs +2 -0
  386. package/dist/chunks/providerProfiles-1.0.16-19xj1cn0.mjs +1 -0
  387. package/dist/chunks/providerValidation-1.0.16-5kf26qqb.mjs +6 -0
  388. package/dist/chunks/rate-limit-options-1.0.16-r6wk8rnn.mjs +1 -0
  389. package/dist/chunks/registerSubcommands-1.0.16-ze1wp99c.mjs +34 -0
  390. package/dist/chunks/registry-1.0.16-kgejq595.mjs +1 -0
  391. package/dist/chunks/release-notes-1.0.16-scnheqw0.mjs +5 -0
  392. package/dist/chunks/reload-plugins-1.0.16-w0zg32ax.mjs +2 -0
  393. package/dist/chunks/remote-env-1.0.16-synwwy3m.mjs +1 -0
  394. package/dist/chunks/remoteBridgeCore-1.0.16-ymnjt039.mjs +1 -0
  395. package/dist/chunks/remoteSession-1.0.16-3aayhp1c.mjs +1 -0
  396. package/dist/chunks/rename-1.0.16-s36f1cwm.mjs +1 -0
  397. package/dist/chunks/replBridgeHandle-1.0.16-xcggq12t.mjs +1 -0
  398. package/dist/chunks/replLauncher-1.0.16-pvrqbab9.mjs +1 -0
  399. package/dist/chunks/resume-1.0.16-q2dep3y4.mjs +2 -0
  400. package/dist/chunks/rewind-1.0.16-dq4wm5h4.mjs +1 -0
  401. package/dist/chunks/rootOptions-1.0.16-r0kb1zct.mjs +1 -0
  402. package/dist/chunks/runWorkflowHeadless-1.0.16-dysdbd7q.mjs +10 -0
  403. package/dist/chunks/sandbox-adapter-1.0.16-7n9xg27z.mjs +1 -0
  404. package/dist/chunks/sandbox-toggle-1.0.16-xz2rf4ej.mjs +1 -0
  405. package/dist/chunks/session-1.0.16-xkrx4se2.mjs +2 -0
  406. package/dist/chunks/sessionDiscovery-1.0.16-3dphfc07.mjs +1 -0
  407. package/dist/chunks/sessionFileAccessHooks-1.0.16-jrwwz53s.mjs +1 -0
  408. package/dist/chunks/sessionStorage-1.0.16-ag63vscp.mjs +1 -0
  409. package/dist/chunks/settings-1.0.16-q87pq0zz.mjs +1 -0
  410. package/dist/chunks/setup-1.0.16-12fgxwkv.mjs +5 -0
  411. package/dist/chunks/sinks-1.0.16-36a05p86.mjs +1 -0
  412. package/dist/chunks/skills-1.0.16-7tmcq0a1.mjs +1 -0
  413. package/dist/chunks/startupProfiler-1.0.16-mqq1dtg8.mjs +1 -0
  414. package/dist/chunks/startupUpdateCheck-1.0.16-w07gte63.mjs +1 -0
  415. package/dist/chunks/state-1.0.16-gwzstmaj.mjs +1 -0
  416. package/dist/chunks/stats-1.0.16-2erbkz9h.mjs +6 -0
  417. package/dist/chunks/status-1.0.16-6qqf5na3.mjs +1 -0
  418. package/dist/chunks/stickers-1.0.16-jf9tyw9z.mjs +1 -0
  419. package/dist/chunks/subprocessEnv-1.0.16-ngfdv3rn.mjs +1 -0
  420. package/dist/chunks/tasks-1.0.16-f2mpvw3j.mjs +1 -0
  421. package/dist/chunks/teamHelpers-1.0.16-1zqfw5kt.mjs +1 -0
  422. package/dist/chunks/teammateModeSnapshot-1.0.16-wq9c6fn5.mjs +1 -0
  423. package/dist/chunks/teleport-1.0.16-j0nb65ep.mjs +1 -0
  424. package/dist/chunks/terminalSetup-1.0.16-c2aasdh0.mjs +1 -0
  425. package/dist/chunks/theme-1.0.16-bp7rwprg.mjs +1 -0
  426. package/dist/chunks/thinkback-1.0.16-s5q9hf1f.mjs +1 -0
  427. package/dist/chunks/thinkback-play-1.0.16-qcz7ewrc.mjs +1 -0
  428. package/dist/chunks/toolPool-1.0.16-8jzr0b7x.mjs +1 -0
  429. package/dist/chunks/toolSearch-1.0.16-rh3m1amv.mjs +1 -0
  430. package/dist/chunks/tools-1.0.16-acdg9mcz.mjs +1 -0
  431. package/dist/chunks/trustedDevice-1.0.16-4skvbzg2.mjs +1 -0
  432. package/dist/chunks/turndown.cjs-1.0.16-bt2mzb9v.mjs +69 -0
  433. package/dist/chunks/types-1.0.16-12v2wggf.mjs +1 -0
  434. package/dist/chunks/ultrareviewCommand-1.0.16-0sggaheg.mjs +4 -0
  435. package/dist/chunks/update-1.0.16-gaq5feph.mjs +88 -0
  436. package/dist/chunks/upgrade-1.0.16-4q1tw679.mjs +1 -0
  437. package/dist/chunks/upload-1.0.16-j0g88k8m.mjs +7 -0
  438. package/dist/chunks/upstreamproxy-1.0.16-dvxtbfnr.mjs +14 -0
  439. package/dist/chunks/url-handler-napi-1.0.16-41gcda5k.mjs +1 -0
  440. package/dist/chunks/usage-1.0.16-81hyem10.mjs +1 -0
  441. package/dist/chunks/util-1.0.16-vj3f24h4.mjs +1 -0
  442. package/dist/chunks/utils-1.0.16-b4gx7byh.mjs +1 -0
  443. package/dist/chunks/vim-1.0.16-jvbyy8tf.mjs +1 -0
  444. package/dist/chunks/watchLoop-1.0.16-rxr5a1c9.mjs +13 -0
  445. package/dist/chunks/watcher-1.0.16-c0bhk1zf.mjs +1 -0
  446. package/dist/chunks/wiki-1.0.16-36wp5225.mjs +132 -0
  447. package/dist/chunks/workflows-1.0.16-0es24xfj.mjs +1 -0
  448. package/dist/chunks/worktree-1.0.16-yhpvswv0.mjs +1 -0
  449. package/dist/chunks/worktreeModeEnabled-1.0.16-h6ctn92v.mjs +1 -0
  450. package/dist/chunks/wrapper-1.0.16-phy8pddr.mjs +7 -0
  451. package/dist/cli.mjs +2 -2
  452. package/package.json +9 -9
  453. package/dist/chunks/AgentTool-1.0.14-3eb94705.mjs +0 -1
  454. package/dist/chunks/App-1.0.14-g64njc6h.mjs +0 -1
  455. package/dist/chunks/ApproveApiKey-1.0.14-a2d84wb1.mjs +0 -1
  456. package/dist/chunks/AssistantSessionChooser-1.0.14-84m2b3pt.mjs +0 -1
  457. package/dist/chunks/AutoModeOptInDialog-1.0.14-p4sev4yv.mjs +0 -1
  458. package/dist/chunks/BypassPermissionsModeDialog-1.0.14-p1gf60x3.mjs +0 -1
  459. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.0.14-t9yhrffv.mjs +0 -1
  460. package/dist/chunks/ConsoleOAuthFlow-1.0.14-dfnr66ct.mjs +0 -1
  461. package/dist/chunks/DiffDialog-1.0.14-80b9fnfy.mjs +0 -7
  462. package/dist/chunks/Doctor-1.0.14-5xw1fdn8.mjs +0 -1
  463. package/dist/chunks/ExplorerDialog-1.0.14-2trgr2gt.mjs +0 -6
  464. package/dist/chunks/Grove-1.0.14-c11ddcj0.mjs +0 -1
  465. package/dist/chunks/ITermBackend-1.0.14-423w55et.mjs +0 -1
  466. package/dist/chunks/InvalidConfigDialog-1.0.14-chapmp71.mjs +0 -1
  467. package/dist/chunks/InvalidSettingsDialog-1.0.14-hsf9qywq.mjs +0 -1
  468. package/dist/chunks/MigrationDialog-1.0.14-bqpqw2qh.mjs +0 -1
  469. package/dist/chunks/Onboarding-1.0.14-snt041zc.mjs +0 -1
  470. package/dist/chunks/ProviderManager-1.0.14-p14kceqc.mjs +0 -1
  471. package/dist/chunks/REPL-1.0.14-6zpc8shq.mjs +0 -1
  472. package/dist/chunks/ResumeConversation-1.0.14-j0ps61bf.mjs +0 -1
  473. package/dist/chunks/SnapshotUpdateDialog-1.0.14-cgcfpjkf.mjs +0 -1
  474. package/dist/chunks/TeleportProgress-1.0.14-za0txxy6.mjs +0 -1
  475. package/dist/chunks/TeleportRepoMismatchDialog-1.0.14-yg4kf1y3.mjs +0 -1
  476. package/dist/chunks/TeleportResumeWrapper-1.0.14-8177pspx.mjs +0 -1
  477. package/dist/chunks/TmuxBackend-1.0.14-whbn5wgb.mjs +0 -9
  478. package/dist/chunks/ToolSearchTool-1.0.14-vfjpmp6q.mjs +0 -1
  479. package/dist/chunks/TrustDialog-1.0.14-egtqfjhd.mjs +0 -1
  480. package/dist/chunks/activeProvider-1.0.14-c06rhryc.mjs +0 -1
  481. package/dist/chunks/add-dir-1.0.14-sjnjjka0.mjs +0 -1
  482. package/dist/chunks/agentTypes-1.0.14-d05d7czp.mjs +0 -1
  483. package/dist/chunks/agents-1.0.14-68haybhf.mjs +0 -110
  484. package/dist/chunks/agents-1.0.14-jd8gzved.mjs +0 -3
  485. package/dist/chunks/api-1.0.14-sgt5erw2.mjs +0 -1
  486. package/dist/chunks/asciicast-1.0.14-3vzgbe4y.mjs +0 -1
  487. package/dist/chunks/assistant-1.0.14-3snwhy6g.mjs +0 -1
  488. package/dist/chunks/auth-1.0.14-5rcgzv6s.mjs +0 -1
  489. package/dist/chunks/auth-1.0.14-z9fp9b50.mjs +0 -1
  490. package/dist/chunks/autoMode-1.0.14-swb8aya1.mjs +0 -48
  491. package/dist/chunks/autoUpdater-1.0.14-an9g2egz.mjs +0 -1
  492. package/dist/chunks/backgroundHousekeeping-1.0.14-j9566tb7.mjs +0 -1
  493. package/dist/chunks/branch-1.0.14-wab7dp2w.mjs +0 -4
  494. package/dist/chunks/bridge-1.0.14-1vxrnevp.mjs +0 -2
  495. package/dist/chunks/bridgeConfig-1.0.14-9a6ecffc.mjs +0 -1
  496. package/dist/chunks/bridgeEnabled-1.0.14-xbqnxpd4.mjs +0 -1
  497. package/dist/chunks/bridgeMain-1.0.14-xsyfsnjc.mjs +0 -88
  498. package/dist/chunks/bridgePointer-1.0.14-rg9vg3mq.mjs +0 -1
  499. package/dist/chunks/btw-1.0.14-f5cv4zq4.mjs +0 -1
  500. package/dist/chunks/buddy-1.0.14-cbxx5n1c.mjs +0 -3
  501. package/dist/chunks/cacache-1.0.14-qpamcgt7.mjs +0 -1
  502. package/dist/chunks/cache-probe-1.0.14-03fqsejc.mjs +0 -21
  503. package/dist/chunks/cacheStats-1.0.14-1m7bkth3.mjs +0 -4
  504. package/dist/chunks/caches-1.0.14-ar7ea5ez.mjs +0 -1
  505. package/dist/chunks/claudeDesktop-1.0.14-qw8yg1j3.mjs +0 -1
  506. package/dist/chunks/claudemd-1.0.14-nf8prbr5.mjs +0 -1
  507. package/dist/chunks/clear-1.0.14-2k1a1te1.mjs +0 -1
  508. package/dist/chunks/clearTerminal-1.0.14-9vjx2459.mjs +0 -1
  509. package/dist/chunks/cli-1.0.14-02mjj2td.mjs +0 -2
  510. package/dist/chunks/cli-1.0.14-03dntq34.mjs +0 -2
  511. package/dist/chunks/cli-1.0.14-056vh6pz.mjs +0 -2
  512. package/dist/chunks/cli-1.0.14-06ay9th6.mjs +0 -2
  513. package/dist/chunks/cli-1.0.14-080f910z.mjs +0 -2
  514. package/dist/chunks/cli-1.0.14-0aznk4r2.mjs +0 -2
  515. package/dist/chunks/cli-1.0.14-0b8m5g1h.mjs +0 -2
  516. package/dist/chunks/cli-1.0.14-0egax5w7.mjs +0 -2
  517. package/dist/chunks/cli-1.0.14-0gjgczkc.mjs +0 -2
  518. package/dist/chunks/cli-1.0.14-0x37zvng.mjs +0 -2
  519. package/dist/chunks/cli-1.0.14-1bdy2pdx.mjs +0 -133
  520. package/dist/chunks/cli-1.0.14-1qwq14cj.mjs +0 -3
  521. package/dist/chunks/cli-1.0.14-1t5z0ek3.mjs +0 -3
  522. package/dist/chunks/cli-1.0.14-1vt2kg6r.mjs +0 -2
  523. package/dist/chunks/cli-1.0.14-255cjybd.mjs +0 -2
  524. package/dist/chunks/cli-1.0.14-2hd7h509.mjs +0 -2
  525. package/dist/chunks/cli-1.0.14-2m0sc9nm.mjs +0 -2
  526. package/dist/chunks/cli-1.0.14-2n1n5t44.mjs +0 -2
  527. package/dist/chunks/cli-1.0.14-2nq4pjya.mjs +0 -24
  528. package/dist/chunks/cli-1.0.14-2vr2yczh.mjs +0 -2
  529. package/dist/chunks/cli-1.0.14-2x3edt9r.mjs +0 -2
  530. package/dist/chunks/cli-1.0.14-2ygex7d3.mjs +0 -9
  531. package/dist/chunks/cli-1.0.14-2zyyyhb7.mjs +0 -3
  532. package/dist/chunks/cli-1.0.14-37ekvc0d.mjs +0 -18
  533. package/dist/chunks/cli-1.0.14-3psqc9e7.mjs +0 -39
  534. package/dist/chunks/cli-1.0.14-3twn11hz.mjs +0 -2
  535. package/dist/chunks/cli-1.0.14-494f4wzb.mjs +0 -2
  536. package/dist/chunks/cli-1.0.14-4hcxmq25.mjs +0 -2
  537. package/dist/chunks/cli-1.0.14-4jr9qd6b.mjs +0 -2
  538. package/dist/chunks/cli-1.0.14-4k924cg4.mjs +0 -2
  539. package/dist/chunks/cli-1.0.14-5d4wcwg0.mjs +0 -2
  540. package/dist/chunks/cli-1.0.14-5scjg1rq.mjs +0 -4
  541. package/dist/chunks/cli-1.0.14-5z2gnwr2.mjs +0 -2
  542. package/dist/chunks/cli-1.0.14-66xxje2h.mjs +0 -2
  543. package/dist/chunks/cli-1.0.14-67n1r865.mjs +0 -24
  544. package/dist/chunks/cli-1.0.14-68k1pwnn.mjs +0 -2
  545. package/dist/chunks/cli-1.0.14-6eecgnxv.mjs +0 -2
  546. package/dist/chunks/cli-1.0.14-6knmqxp0.mjs +0 -2
  547. package/dist/chunks/cli-1.0.14-6v1pc51c.mjs +0 -202
  548. package/dist/chunks/cli-1.0.14-75b7hq1n.mjs +0 -2
  549. package/dist/chunks/cli-1.0.14-75v98tkm.mjs +0 -6
  550. package/dist/chunks/cli-1.0.14-7ce0zgxz.mjs +0 -18
  551. package/dist/chunks/cli-1.0.14-7mc80f2n.mjs +0 -2
  552. package/dist/chunks/cli-1.0.14-7qay34rj.mjs +0 -2
  553. package/dist/chunks/cli-1.0.14-7sxsfqxa.mjs +0 -12
  554. package/dist/chunks/cli-1.0.14-85hb2c4v.mjs +0 -3
  555. package/dist/chunks/cli-1.0.14-86makc2k.mjs +0 -2
  556. package/dist/chunks/cli-1.0.14-8848tddm.mjs +0 -2
  557. package/dist/chunks/cli-1.0.14-8fgg3hse.mjs +0 -2
  558. package/dist/chunks/cli-1.0.14-8mxj80zx.mjs +0 -4
  559. package/dist/chunks/cli-1.0.14-95d1hyag.mjs +0 -2
  560. package/dist/chunks/cli-1.0.14-95vxrp6k.mjs +0 -2
  561. package/dist/chunks/cli-1.0.14-9at1y60d.mjs +0 -2
  562. package/dist/chunks/cli-1.0.14-9peasp0t.mjs +0 -15
  563. package/dist/chunks/cli-1.0.14-ac1ts3ak.mjs +0 -2
  564. package/dist/chunks/cli-1.0.14-adsfxzzd.mjs +0 -2
  565. package/dist/chunks/cli-1.0.14-adwprsmr.mjs +0 -2
  566. package/dist/chunks/cli-1.0.14-ap4xyggx.mjs +0 -2
  567. package/dist/chunks/cli-1.0.14-asbc8xx1.mjs +0 -16
  568. package/dist/chunks/cli-1.0.14-ayanma4c.mjs +0 -2
  569. package/dist/chunks/cli-1.0.14-b0ry3sh2.mjs +0 -25
  570. package/dist/chunks/cli-1.0.14-b11ne5s1.mjs +0 -12
  571. package/dist/chunks/cli-1.0.14-b72b8p5z.mjs +0 -2
  572. package/dist/chunks/cli-1.0.14-b745qv7t.mjs +0 -2
  573. package/dist/chunks/cli-1.0.14-bhtptg08.mjs +0 -2
  574. package/dist/chunks/cli-1.0.14-bk3ss9tt.mjs +0 -2
  575. package/dist/chunks/cli-1.0.14-bpe70zxn.mjs +0 -2
  576. package/dist/chunks/cli-1.0.14-brabf1jv.mjs +0 -2
  577. package/dist/chunks/cli-1.0.14-c71rqr9k.mjs +0 -2
  578. package/dist/chunks/cli-1.0.14-c75wkkj6.mjs +0 -2
  579. package/dist/chunks/cli-1.0.14-ccc05p60.mjs +0 -2
  580. package/dist/chunks/cli-1.0.14-ch132841.mjs +0 -2
  581. package/dist/chunks/cli-1.0.14-cm2p0ph3.mjs +0 -2
  582. package/dist/chunks/cli-1.0.14-ct1wcd17.mjs +0 -2
  583. package/dist/chunks/cli-1.0.14-cxd5b9bk.mjs +0 -2
  584. package/dist/chunks/cli-1.0.14-d0xsytrn.mjs +0 -2
  585. package/dist/chunks/cli-1.0.14-d92vvqs4.mjs +0 -2
  586. package/dist/chunks/cli-1.0.14-dbqfyv7s.mjs +0 -5
  587. package/dist/chunks/cli-1.0.14-dbvshaqg.mjs +0 -4
  588. package/dist/chunks/cli-1.0.14-dd57p59t.mjs +0 -2
  589. package/dist/chunks/cli-1.0.14-de21tard.mjs +0 -2
  590. package/dist/chunks/cli-1.0.14-df2x4fp2.mjs +0 -4
  591. package/dist/chunks/cli-1.0.14-dk082sx4.mjs +0 -17
  592. package/dist/chunks/cli-1.0.14-dnpdnyqq.mjs +0 -4
  593. package/dist/chunks/cli-1.0.14-dthw88h2.mjs +0 -2
  594. package/dist/chunks/cli-1.0.14-dxb8x0rz.mjs +0 -2
  595. package/dist/chunks/cli-1.0.14-dzhv160v.mjs +0 -2
  596. package/dist/chunks/cli-1.0.14-e4rbgkh3.mjs +0 -2
  597. package/dist/chunks/cli-1.0.14-emgfr0hx.mjs +0 -2
  598. package/dist/chunks/cli-1.0.14-erk3k0t8.mjs +0 -25
  599. package/dist/chunks/cli-1.0.14-et0mrzhj.mjs +0 -2
  600. package/dist/chunks/cli-1.0.14-ex26fc5j.mjs +0 -2
  601. package/dist/chunks/cli-1.0.14-f2zs9vhk.mjs +0 -2
  602. package/dist/chunks/cli-1.0.14-f5jcsqk6.mjs +0 -18
  603. package/dist/chunks/cli-1.0.14-f6q37w7a.mjs +0 -2
  604. package/dist/chunks/cli-1.0.14-f6w3w08h.mjs +0 -2
  605. package/dist/chunks/cli-1.0.14-f89n34mp.mjs +0 -3
  606. package/dist/chunks/cli-1.0.14-fhfpsmvp.mjs +0 -15
  607. package/dist/chunks/cli-1.0.14-ftd45b68.mjs +0 -2
  608. package/dist/chunks/cli-1.0.14-g06w6jm4.mjs +0 -2
  609. package/dist/chunks/cli-1.0.14-g3gc4e8t.mjs +0 -2
  610. package/dist/chunks/cli-1.0.14-ghnyd53e.mjs +0 -2
  611. package/dist/chunks/cli-1.0.14-gjg1vjat.mjs +0 -4
  612. package/dist/chunks/cli-1.0.14-gpyabssm.mjs +0 -1
  613. package/dist/chunks/cli-1.0.14-gwmbkjc2.mjs +0 -4
  614. package/dist/chunks/cli-1.0.14-h1w8rqag.mjs +0 -2
  615. package/dist/chunks/cli-1.0.14-h2s5yvb9.mjs +0 -2
  616. package/dist/chunks/cli-1.0.14-h3hwpsy4.mjs +0 -2
  617. package/dist/chunks/cli-1.0.14-hdmedxpt.mjs +0 -2
  618. package/dist/chunks/cli-1.0.14-hh96zphk.mjs +0 -2
  619. package/dist/chunks/cli-1.0.14-hhk3wp4p.mjs +0 -133
  620. package/dist/chunks/cli-1.0.14-hx5s9hne.mjs +0 -21
  621. package/dist/chunks/cli-1.0.14-j51dm8c6.mjs +0 -17
  622. package/dist/chunks/cli-1.0.14-j9twyr23.mjs +0 -2
  623. package/dist/chunks/cli-1.0.14-jnpffwq9.mjs +0 -2
  624. package/dist/chunks/cli-1.0.14-jskb8031.mjs +0 -2
  625. package/dist/chunks/cli-1.0.14-jstnvbzj.mjs +0 -2
  626. package/dist/chunks/cli-1.0.14-k1e7b44j.mjs +0 -7
  627. package/dist/chunks/cli-1.0.14-k2xrkqcw.mjs +0 -2
  628. package/dist/chunks/cli-1.0.14-k6hht81r.mjs +0 -2
  629. package/dist/chunks/cli-1.0.14-k8eysm02.mjs +0 -2
  630. package/dist/chunks/cli-1.0.14-knxqt3hz.mjs +0 -5
  631. package/dist/chunks/cli-1.0.14-m470pppj.mjs +0 -12
  632. package/dist/chunks/cli-1.0.14-m6ja76zk.mjs +0 -2
  633. package/dist/chunks/cli-1.0.14-m70b5kbd.mjs +0 -59
  634. package/dist/chunks/cli-1.0.14-m7rhvjxj.mjs +0 -2
  635. package/dist/chunks/cli-1.0.14-ma7qcx6q.mjs +0 -2
  636. package/dist/chunks/cli-1.0.14-mb9174ba.mjs +0 -2
  637. package/dist/chunks/cli-1.0.14-mkw8yfc5.mjs +0 -2
  638. package/dist/chunks/cli-1.0.14-mm39qawq.mjs +0 -2
  639. package/dist/chunks/cli-1.0.14-mm9zge4j.mjs +0 -2
  640. package/dist/chunks/cli-1.0.14-msjx38tg.mjs +0 -50
  641. package/dist/chunks/cli-1.0.14-mvmk9c18.mjs +0 -8
  642. package/dist/chunks/cli-1.0.14-mw3ntwdw.mjs +0 -2
  643. package/dist/chunks/cli-1.0.14-myb8xers.mjs +0 -2
  644. package/dist/chunks/cli-1.0.14-n0fpj4mm.mjs +0 -2
  645. package/dist/chunks/cli-1.0.14-n8jgkzhf.mjs +0 -2
  646. package/dist/chunks/cli-1.0.14-nac2j4df.mjs +0 -2
  647. package/dist/chunks/cli-1.0.14-p0y766gp.mjs +0 -2
  648. package/dist/chunks/cli-1.0.14-p124te80.mjs +0 -58
  649. package/dist/chunks/cli-1.0.14-p1mk8kvb.mjs +0 -2
  650. package/dist/chunks/cli-1.0.14-p66smv2r.mjs +0 -4
  651. package/dist/chunks/cli-1.0.14-p8g9b6qs.mjs +0 -6
  652. package/dist/chunks/cli-1.0.14-pccg4txr.mjs +0 -2
  653. package/dist/chunks/cli-1.0.14-pcpqbb0b.mjs +0 -3
  654. package/dist/chunks/cli-1.0.14-peg6ppst.mjs +0 -34
  655. package/dist/chunks/cli-1.0.14-ph2nbeey.mjs +0 -2
  656. package/dist/chunks/cli-1.0.14-phhmzjmr.mjs +0 -2
  657. package/dist/chunks/cli-1.0.14-psw8gbp1.mjs +0 -2
  658. package/dist/chunks/cli-1.0.14-pxda0cqk.mjs +0 -6
  659. package/dist/chunks/cli-1.0.14-q4mq73ef.mjs +0 -4
  660. package/dist/chunks/cli-1.0.14-q4pb7169.mjs +0 -67
  661. package/dist/chunks/cli-1.0.14-q5jd6yb5.mjs +0 -2
  662. package/dist/chunks/cli-1.0.14-qwte1vj6.mjs +0 -3
  663. package/dist/chunks/cli-1.0.14-r7268arv.mjs +0 -2
  664. package/dist/chunks/cli-1.0.14-ra3s73t4.mjs +0 -2
  665. package/dist/chunks/cli-1.0.14-rfzdprh2.mjs +0 -24
  666. package/dist/chunks/cli-1.0.14-rxvbbv8x.mjs +0 -3
  667. package/dist/chunks/cli-1.0.14-s2pgxnbv.mjs +0 -2
  668. package/dist/chunks/cli-1.0.14-s7a5ag77.mjs +0 -2
  669. package/dist/chunks/cli-1.0.14-sbczqn9p.mjs +0 -3
  670. package/dist/chunks/cli-1.0.14-sn3z317d.mjs +0 -2
  671. package/dist/chunks/cli-1.0.14-srfv9wh6.mjs +0 -2
  672. package/dist/chunks/cli-1.0.14-t15qp56h.mjs +0 -2
  673. package/dist/chunks/cli-1.0.14-t1sj3p5p.mjs +0 -3
  674. package/dist/chunks/cli-1.0.14-t5m38zm5.mjs +0 -15
  675. package/dist/chunks/cli-1.0.14-tdqp99kc.mjs +0 -2
  676. package/dist/chunks/cli-1.0.14-tdv8sv8w.mjs +0 -4
  677. package/dist/chunks/cli-1.0.14-tjcgmra3.mjs +0 -2
  678. package/dist/chunks/cli-1.0.14-ttcwqfwj.mjs +0 -4
  679. package/dist/chunks/cli-1.0.14-v4p41dwz.mjs +0 -5495
  680. package/dist/chunks/cli-1.0.14-ve3fgjyt.mjs +0 -2
  681. package/dist/chunks/cli-1.0.14-vrh3vmm8.mjs +0 -2
  682. package/dist/chunks/cli-1.0.14-vvvyddeg.mjs +0 -2
  683. package/dist/chunks/cli-1.0.14-vw06jpp7.mjs +0 -20
  684. package/dist/chunks/cli-1.0.14-vz26zg7a.mjs +0 -2
  685. package/dist/chunks/cli-1.0.14-w6v1zxks.mjs +0 -2
  686. package/dist/chunks/cli-1.0.14-wa45dqxz.mjs +0 -3
  687. package/dist/chunks/cli-1.0.14-wjjb5egc.mjs +0 -2
  688. package/dist/chunks/cli-1.0.14-xa9jge5n.mjs +0 -6
  689. package/dist/chunks/cli-1.0.14-xbbbmrs2.mjs +0 -2
  690. package/dist/chunks/cli-1.0.14-xc0yjk9p.mjs +0 -2
  691. package/dist/chunks/cli-1.0.14-xf07bsa7.mjs +0 -6
  692. package/dist/chunks/cli-1.0.14-xgqrwe2j.mjs +0 -12
  693. package/dist/chunks/cli-1.0.14-xmfxgg80.mjs +0 -2
  694. package/dist/chunks/cli-1.0.14-xtwtqzg9.mjs +0 -9
  695. package/dist/chunks/cli-1.0.14-xvkary9q.mjs +0 -2
  696. package/dist/chunks/cli-1.0.14-xwakys0q.mjs +0 -3
  697. package/dist/chunks/cli-1.0.14-xy0szsmx.mjs +0 -2
  698. package/dist/chunks/cli-1.0.14-y10j25g4.mjs +0 -2
  699. package/dist/chunks/cli-1.0.14-y8dgsh0x.mjs +0 -2
  700. package/dist/chunks/cli-1.0.14-y8hsq76p.mjs +0 -2
  701. package/dist/chunks/cli-1.0.14-ya2azx0f.mjs +0 -2
  702. package/dist/chunks/cli-1.0.14-ya91z6q2.mjs +0 -2
  703. package/dist/chunks/cli-1.0.14-yxqwd7s7.mjs +0 -45
  704. package/dist/chunks/cli-1.0.14-yzy55kht.mjs +0 -2
  705. package/dist/chunks/cli-1.0.14-z4q3a7ed.mjs +0 -2
  706. package/dist/chunks/cli-1.0.14-zak89hnm.mjs +0 -2
  707. package/dist/chunks/cli-1.0.14-zar1mrp1.mjs +0 -42
  708. package/dist/chunks/cli-1.0.14-zbhe3r2k.mjs +0 -2
  709. package/dist/chunks/cli-1.0.14-zvvarkm8.mjs +0 -2
  710. package/dist/chunks/client-1.0.14-ya6cmgvc.mjs +0 -1
  711. package/dist/chunks/color-1.0.14-hwkxtn4h.mjs +0 -1
  712. package/dist/chunks/compact-1.0.14-0m3pkmtt.mjs +0 -3
  713. package/dist/chunks/config-1.0.14-5v04cvqa.mjs +0 -1
  714. package/dist/chunks/config-1.0.14-b53qm2m7.mjs +0 -1
  715. package/dist/chunks/constants-1.0.14-6dwbhe8v.mjs +0 -1
  716. package/dist/chunks/context-1.0.14-r2e42wq4.mjs +0 -1
  717. package/dist/chunks/context-noninteractive-1.0.14-ecx4zas3.mjs +0 -1
  718. package/dist/chunks/conversation-1.0.14-r5y211pa.mjs +0 -1
  719. package/dist/chunks/copilotHeaders-1.0.14-293bscj5.mjs +0 -1
  720. package/dist/chunks/copy-1.0.14-4ac7bg5d.mjs +0 -9
  721. package/dist/chunks/cost-1.0.14-cpzf024x.mjs +0 -1
  722. package/dist/chunks/createSSHSession-1.0.14-7peb99vv.mjs +0 -1
  723. package/dist/chunks/createSession-1.0.14-pbp99z80.mjs +0 -1
  724. package/dist/chunks/debug-1.0.14-935d0xmm.mjs +0 -1
  725. package/dist/chunks/defaultActionDeps-1.0.14-k2n8eszz.mjs +0 -1446
  726. package/dist/chunks/desktop-1.0.14-877wpqh4.mjs +0 -1
  727. package/dist/chunks/detectRepository-1.0.14-y8xp07vm.mjs +0 -1
  728. package/dist/chunks/detection-1.0.14-v0x8bekt.mjs +0 -1
  729. package/dist/chunks/diff-1.0.14-zygrxp72.mjs +0 -1
  730. package/dist/chunks/doctor-1.0.14-9bd8ns97.mjs +0 -1
  731. package/dist/chunks/doctorDiagnostic-1.0.14-3d8wvpdr.mjs +0 -1
  732. package/dist/chunks/earlyInput-1.0.14-ctf7gf3b.mjs +0 -1
  733. package/dist/chunks/effort-1.0.14-1bzhbssf.mjs +0 -10
  734. package/dist/chunks/engine-1.0.14-xpw6spn1.mjs +0 -1
  735. package/dist/chunks/envLessBridgeConfig-1.0.14-kvp9ngpw.mjs +0 -1
  736. package/dist/chunks/envUtils-1.0.14-x69rnjtn.mjs +0 -1
  737. package/dist/chunks/environmentSelection-1.0.14-17kmf2g0.mjs +0 -1
  738. package/dist/chunks/environments-1.0.14-r2dd7zte.mjs +0 -1
  739. package/dist/chunks/errors-1.0.14-zt9a9ar1.mjs +0 -1
  740. package/dist/chunks/exampleCommands-1.0.14-88939k92.mjs +0 -1
  741. package/dist/chunks/execFileNoThrow-1.0.14-ved7dedv.mjs +0 -1
  742. package/dist/chunks/exit-1.0.14-ja0e3xan.mjs +0 -1
  743. package/dist/chunks/explorer-1.0.14-ae3278vr.mjs +0 -1
  744. package/dist/chunks/export-1.0.14-f5xsdta1.mjs +0 -2
  745. package/dist/chunks/extra-usage-1.0.14-jzhsm8m8.mjs +0 -1
  746. package/dist/chunks/extra-usage-noninteractive-1.0.14-kgecf4s4.mjs +0 -1
  747. package/dist/chunks/fast-1.0.14-2z2mjcs0.mjs +0 -1
  748. package/dist/chunks/feedback-1.0.14-va4ywxx6.mjs +0 -14
  749. package/dist/chunks/firstPartyEventLogger-1.0.14-4k32daar.mjs +0 -1
  750. package/dist/chunks/git-1.0.14-2j16rmzn.mjs +0 -1
  751. package/dist/chunks/githubModelsCredentials-1.0.14-yvj22nyn.mjs +0 -1
  752. package/dist/chunks/goal-1.0.14-k13hsq40.mjs +0 -4
  753. package/dist/chunks/grove-1.0.14-3372rcrv.mjs +0 -1
  754. package/dist/chunks/growthbook-1.0.14-0c5sw654.mjs +0 -1
  755. package/dist/chunks/headless-1.0.14-qf20wd4a.mjs +0 -2
  756. package/dist/chunks/heapdump-1.0.14-8q5mzb23.mjs +0 -6
  757. package/dist/chunks/help-1.0.14-fv0nfdpx.mjs +0 -1
  758. package/dist/chunks/hookChains-1.0.14-w7scty4f.mjs +0 -3
  759. package/dist/chunks/hooks-1.0.14-8dvj8g9e.mjs +0 -1
  760. package/dist/chunks/hooks-1.0.14-nferkpmp.mjs +0 -79
  761. package/dist/chunks/ide-1.0.14-bd6ym0zg.mjs +0 -3
  762. package/dist/chunks/image-processor-napi-1.0.14-cdgsapbd.mjs +0 -1
  763. package/dist/chunks/inboundAttachments-1.0.14-gqjk256b.mjs +0 -1
  764. package/dist/chunks/index-1.0.14-0gktvbaw.mjs +0 -30
  765. package/dist/chunks/index-1.0.14-2xbsva4c.mjs +0 -1
  766. package/dist/chunks/index-1.0.14-4jb8g44p.mjs +0 -1
  767. package/dist/chunks/index-1.0.14-4tsn7fzy.mjs +0 -1
  768. package/dist/chunks/index-1.0.14-76ed957m.mjs +0 -1
  769. package/dist/chunks/index-1.0.14-95wh21ee.mjs +0 -1
  770. package/dist/chunks/index-1.0.14-9mv1tydz.mjs +0 -1
  771. package/dist/chunks/index-1.0.14-bb2w8nxz.mjs +0 -1
  772. package/dist/chunks/index-1.0.14-bphvske3.mjs +0 -1
  773. package/dist/chunks/index-1.0.14-e9qzyyvx.mjs +0 -1
  774. package/dist/chunks/index-1.0.14-fr24eeaa.mjs +0 -1
  775. package/dist/chunks/index-1.0.14-hmqgg1qn.mjs +0 -1
  776. package/dist/chunks/index-1.0.14-mt1a6s7m.mjs +0 -5
  777. package/dist/chunks/index-1.0.14-njtcq7xt.mjs +0 -17
  778. package/dist/chunks/index-1.0.14-pfztmgj3.mjs +0 -2
  779. package/dist/chunks/index-1.0.14-pjvqwa0j.mjs +0 -1
  780. package/dist/chunks/index-1.0.14-q3b475mg.mjs +0 -1
  781. package/dist/chunks/index-1.0.14-qafjae7s.mjs +0 -1
  782. package/dist/chunks/index-1.0.14-t8y5yaxp.mjs +0 -9
  783. package/dist/chunks/index-1.0.14-tqttfghe.mjs +0 -1
  784. package/dist/chunks/index-1.0.14-xfx695vz.mjs +0 -9
  785. package/dist/chunks/index-1.0.14-xn2m6vyc.mjs +0 -1
  786. package/dist/chunks/index-1.0.14-y355w9gp.mjs +0 -2
  787. package/dist/chunks/init-1.0.14-1efcnp5z.mjs +0 -1
  788. package/dist/chunks/initReplBridge-1.0.14-kv23c7gd.mjs +0 -1
  789. package/dist/chunks/ink-1.0.14-9k6231ba.mjs +0 -1
  790. package/dist/chunks/insights-1.0.14-4ha85mj0.mjs +0 -870
  791. package/dist/chunks/install-1.0.14-nwvqnt31.mjs +0 -1
  792. package/dist/chunks/install-github-app-1.0.14-8acvsf50.mjs +0 -149
  793. package/dist/chunks/install-slack-app-1.0.14-fnsb39mp.mjs +0 -1
  794. package/dist/chunks/instrumentation-1.0.14-mtgqqxya.mjs +0 -1
  795. package/dist/chunks/interactiveHelpers-1.0.14-2wrq07e2.mjs +0 -1
  796. package/dist/chunks/keybindings-1.0.14-129wqq67.mjs +0 -2
  797. package/dist/chunks/knowledge-1.0.14-c3rf5j58.mjs +0 -2
  798. package/dist/chunks/latestVersionCache-1.0.14-jvj37pje.mjs +0 -1
  799. package/dist/chunks/loadAgentsDir-1.0.14-xvrmxww0.mjs +0 -1
  800. package/dist/chunks/loadPluginHooks-1.0.14-8940ydgw.mjs +0 -1
  801. package/dist/chunks/loadPluginHooks-1.0.14-k3qzacrz.mjs +0 -1
  802. package/dist/chunks/log-1.0.14-he8jphq3.mjs +0 -1
  803. package/dist/chunks/main-1.0.14-dh291att.mjs +0 -1
  804. package/dist/chunks/managedEnv-1.0.14-r390r05h.mjs +0 -1
  805. package/dist/chunks/mcp-1.0.14-dbp8b6yk.mjs +0 -1
  806. package/dist/chunks/mcp-1.0.14-nfyhp5dt.mjs +0 -17
  807. package/dist/chunks/mcp-1.0.14-qhvm23d4.mjs +0 -4
  808. package/dist/chunks/mcpb-1.0.14-g7pvytac.mjs +0 -1
  809. package/dist/chunks/memory-1.0.14-arny0fef.mjs +0 -72
  810. package/dist/chunks/model-1.0.14-ek671gpz.mjs +0 -1
  811. package/dist/chunks/model-1.0.14-xdb536jv.mjs +0 -2
  812. package/dist/chunks/node-1.0.14-8awswbzx.mjs +0 -12
  813. package/dist/chunks/oauth-1.0.14-yr32rz1f.mjs +0 -1
  814. package/dist/chunks/openaiShim-1.0.14-gx1b20d6.mjs +0 -14
  815. package/dist/chunks/output-style-1.0.14-63dfj4v0.mjs +0 -1
  816. package/dist/chunks/package-2VNCXFNY-1.0.14-18jyfqq1.mjs +0 -1
  817. package/dist/chunks/parseConnectUrl-1.0.14-hb82n0gc.mjs +0 -1
  818. package/dist/chunks/parser-1.0.14-zn3zyc77.mjs +0 -1
  819. package/dist/chunks/passes-1.0.14-bp7y0ga8.mjs +0 -1
  820. package/dist/chunks/permissions-1.0.14-7036mxvb.mjs +0 -3
  821. package/dist/chunks/permissions-1.0.14-z5gr66mc.mjs +0 -1
  822. package/dist/chunks/plan-1.0.14-xrx5wce4.mjs +0 -1
  823. package/dist/chunks/plist-1.0.14-6yv7va29.mjs +0 -1
  824. package/dist/chunks/plugin-1.0.14-mmkj7mtk.mjs +0 -29
  825. package/dist/chunks/pluginStartupCheck-1.0.14-1qed1emq.mjs +0 -1
  826. package/dist/chunks/plugins-1.0.14-5aje195c.mjs +0 -9
  827. package/dist/chunks/preActionHook-1.0.14-1cwrs307.mjs +0 -2
  828. package/dist/chunks/print-1.0.14-4f5y78jp.mjs +0 -57
  829. package/dist/chunks/privacy-settings-1.0.14-yzmdw47w.mjs +0 -1
  830. package/dist/chunks/process-1.0.14-7trwqmx6.mjs +0 -1
  831. package/dist/chunks/processBashCommand-1.0.14-yn16nwvc.mjs +0 -1
  832. package/dist/chunks/processSlashCommand-1.0.14-b1fm20sp.mjs +0 -9
  833. package/dist/chunks/prompt-1.0.14-0cnzws1z.mjs +0 -1
  834. package/dist/chunks/prompt-1.0.14-7anakmng.mjs +0 -1
  835. package/dist/chunks/prompts-1.0.14-qmww8jvd.mjs +0 -1
  836. package/dist/chunks/protocolHandler-1.0.14-4pff7d61.mjs +0 -13
  837. package/dist/chunks/provider-1.0.14-jkjnss6d.mjs +0 -2
  838. package/dist/chunks/providerProfiles-1.0.14-9g8b8pp7.mjs +0 -1
  839. package/dist/chunks/providerValidation-1.0.14-p1fpm7fn.mjs +0 -6
  840. package/dist/chunks/rate-limit-options-1.0.14-bhz1z031.mjs +0 -1
  841. package/dist/chunks/registerSubcommands-1.0.14-4caz1dxv.mjs +0 -34
  842. package/dist/chunks/registry-1.0.14-wgdd0gj4.mjs +0 -1
  843. package/dist/chunks/release-notes-1.0.14-z4zrd1et.mjs +0 -5
  844. package/dist/chunks/reload-plugins-1.0.14-wk9ec32x.mjs +0 -2
  845. package/dist/chunks/remote-env-1.0.14-k0dbz57q.mjs +0 -1
  846. package/dist/chunks/remoteBridgeCore-1.0.14-8r8xr5x5.mjs +0 -1
  847. package/dist/chunks/remoteSession-1.0.14-gsr8k9bv.mjs +0 -1
  848. package/dist/chunks/rename-1.0.14-pv4tpegh.mjs +0 -1
  849. package/dist/chunks/replBridgeHandle-1.0.14-8rwsfzb9.mjs +0 -1
  850. package/dist/chunks/replLauncher-1.0.14-kmxxcw37.mjs +0 -1
  851. package/dist/chunks/resume-1.0.14-gkb9015m.mjs +0 -2
  852. package/dist/chunks/rewind-1.0.14-fc3n2baf.mjs +0 -1
  853. package/dist/chunks/rootOptions-1.0.14-qv4qteet.mjs +0 -1
  854. package/dist/chunks/runWorkflowHeadless-1.0.14-5bp85pep.mjs +0 -10
  855. package/dist/chunks/sandbox-adapter-1.0.14-qgf6y50z.mjs +0 -1
  856. package/dist/chunks/sandbox-toggle-1.0.14-0wv4aywf.mjs +0 -1
  857. package/dist/chunks/session-1.0.14-1ckwnpxq.mjs +0 -2
  858. package/dist/chunks/sessionDiscovery-1.0.14-dv7ya6k8.mjs +0 -1
  859. package/dist/chunks/sessionFileAccessHooks-1.0.14-zcgj9ema.mjs +0 -1
  860. package/dist/chunks/sessionStorage-1.0.14-5tq43xzg.mjs +0 -1
  861. package/dist/chunks/settings-1.0.14-mtmb6qxs.mjs +0 -1
  862. package/dist/chunks/setup-1.0.14-qtq4ak7y.mjs +0 -5
  863. package/dist/chunks/sinks-1.0.14-7xzz4wz8.mjs +0 -1
  864. package/dist/chunks/skills-1.0.14-5d3kh6pf.mjs +0 -1
  865. package/dist/chunks/startupProfiler-1.0.14-2jhv1vxz.mjs +0 -1
  866. package/dist/chunks/startupUpdateCheck-1.0.14-zdan85zj.mjs +0 -1
  867. package/dist/chunks/state-1.0.14-8znfttb5.mjs +0 -1
  868. package/dist/chunks/stats-1.0.14-xam611xt.mjs +0 -6
  869. package/dist/chunks/status-1.0.14-68dgf0ne.mjs +0 -1
  870. package/dist/chunks/stickers-1.0.14-rc2n423z.mjs +0 -1
  871. package/dist/chunks/subprocessEnv-1.0.14-4kv8wbzd.mjs +0 -1
  872. package/dist/chunks/tasks-1.0.14-s5s4e0t3.mjs +0 -1
  873. package/dist/chunks/teamHelpers-1.0.14-1hcw931t.mjs +0 -1
  874. package/dist/chunks/teammateModeSnapshot-1.0.14-mjzq0rsa.mjs +0 -1
  875. package/dist/chunks/teleport-1.0.14-w1512p66.mjs +0 -1
  876. package/dist/chunks/terminalSetup-1.0.14-s4b4y9r3.mjs +0 -1
  877. package/dist/chunks/theme-1.0.14-e9d1ap8d.mjs +0 -1
  878. package/dist/chunks/thinkback-1.0.14-5m6b79h4.mjs +0 -1
  879. package/dist/chunks/thinkback-play-1.0.14-tgw5nk8p.mjs +0 -1
  880. package/dist/chunks/toolPool-1.0.14-7jvk5109.mjs +0 -1
  881. package/dist/chunks/toolSearch-1.0.14-jzsffb3f.mjs +0 -1
  882. package/dist/chunks/tools-1.0.14-04f8v0x1.mjs +0 -1
  883. package/dist/chunks/trustedDevice-1.0.14-y3ewcxzd.mjs +0 -1
  884. package/dist/chunks/turndown.cjs-1.0.14-4refdt7a.mjs +0 -69
  885. package/dist/chunks/types-1.0.14-6qqdzh50.mjs +0 -1
  886. package/dist/chunks/ultrareviewCommand-1.0.14-t1td5gnq.mjs +0 -4
  887. package/dist/chunks/update-1.0.14-dc0g2ak6.mjs +0 -88
  888. package/dist/chunks/upgrade-1.0.14-cya8ar2w.mjs +0 -1
  889. package/dist/chunks/upload-1.0.14-tx3ytzwx.mjs +0 -7
  890. package/dist/chunks/upstreamproxy-1.0.14-9w4fsavp.mjs +0 -14
  891. package/dist/chunks/url-handler-napi-1.0.14-w6s4yfb9.mjs +0 -1
  892. package/dist/chunks/usage-1.0.14-19mk4yn4.mjs +0 -1
  893. package/dist/chunks/util-1.0.14-gpjz2670.mjs +0 -1
  894. package/dist/chunks/utils-1.0.14-c4k982gy.mjs +0 -1
  895. package/dist/chunks/vim-1.0.14-90q3x97q.mjs +0 -1
  896. package/dist/chunks/watchLoop-1.0.14-9kg2qyp8.mjs +0 -13
  897. package/dist/chunks/watcher-1.0.14-0330jfrb.mjs +0 -1
  898. package/dist/chunks/wiki-1.0.14-pnbbj6wm.mjs +0 -132
  899. package/dist/chunks/workflows-1.0.14-fvdvr8sa.mjs +0 -1
  900. package/dist/chunks/worktree-1.0.14-ym8ap3k8.mjs +0 -1
  901. package/dist/chunks/worktreeModeEnabled-1.0.14-05552egx.mjs +0 -1
  902. package/dist/chunks/wrapper-1.0.14-k4kthmxq.mjs +0 -7
  903. /package/dist/chunks/{cli-1.0.14-d2q4akvz.mjs → cli-1.0.16-1mzm316y.mjs} +0 -0
  904. /package/dist/chunks/{cli-1.0.14-fnp8x3aj.mjs → cli-1.0.16-bsg2fea8.mjs} +0 -0
  905. /package/dist/chunks/{cli-1.0.14-skf34yk4.mjs → cli-1.0.16-fjg1p1sc.mjs} +0 -0
  906. /package/dist/chunks/{cli-1.0.14-0e04z9y7.mjs → cli-1.0.16-jz90b7gc.mjs} +0 -0
  907. /package/dist/chunks/{cli-1.0.14-b2z4y3qj.mjs → cli-1.0.16-vkzqt5g9.mjs} +0 -0
  908. /package/dist/chunks/{cli-1.0.14-z311x3av.mjs → cli-1.0.16-y02n1td1.mjs} +0 -0
  909. /package/dist/chunks/{cli-1.0.14-w1y6p2xa.mjs → cli-1.0.16-y98j8rxt.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.0.14-ks6tgvs0.mjs → cli-1.0.16-y9yxyd77.mjs} +0 -0
@@ -0,0 +1,4 @@
1
+ import{Sg as g,Tg as Py}from"./cli-1.0.16-r1mtjt6j.mjs";import{Li as s,Ni as d,Oi as $y}from"./cli-1.0.16-g1hxxcer.mjs";import{AL as Ry,CP as l,IL as n,Iv as E,Lv as Xy,Nq as u,SL as vy,YS as c,Yq as A,ZL as x,bM as Ny,eo as V,er as Qy,go as Y,io as D,it as R,lo as M,mo as C,nl as L,no as T,ny as q,oy as Zy,po as f,qt as Wy,rl as Iy,sT as py,vo as Ky,zL as K}from"./cli-1.0.16-pz654728.mjs";import{xX as i,yX as Oy}from"./cli-1.0.16-w382p4f7.mjs";import{AY as a,BY as t,FY as Uy,zY as _}from"./cli-1.0.16-b475h1qv.mjs";import{LY as o,RY as hy}from"./cli-1.0.16-r5zwwmrf.mjs";import{E0 as k,F0 as Jy}from"./cli-1.0.16-2thxt6pw.mjs";import{E8 as zy,V6 as qy,l8 as X,v6 as B,w6 as F}from"./cli-1.0.16-s5y2vt2x.mjs";import{$8 as ry,_8 as H}from"./cli-1.0.16-g3xbjpm0.mjs";import{Hda as ky,Tea as N,Z_ as h,gba as j,iba as jy,n$ as b,sda as m,u$ as wy,vea as v,w$ as W,x$ as Sy,xda as Z,yda as O,yea as w}from"./cli-1.0.16-t2ky4p5s.mjs";import{Kha as Gy,yha as z}from"./cli-1.0.16-hpznp2f1.mjs";import{_ja as p,bka as yy}from"./cli-1.0.16-04tr8fw7.mjs";N();function Vy(y){let r=w().numStartups;v((G)=>{let S=G.tipsHistory??{};if(S[y]===r)return G;return{...G,tipsHistory:{...S,[y]:r}}})}function P(y){let r=w(),G=r.tipsHistory?.[y];if(!G)return 1/0;return r.numStartups-G}ry();yy();Wy();ky();hy();Jy();Py();Zy();Iy();zy();Oy();N();Qy();jy();Xy();wy();Ky();qy();Sy();Ny();vy();Ry();py();Gy();$y();Uy();var Q;async function Hy(){if(Q!==void 0)return Q;let y=await n();return Q=K in y,Q}async function U(y,r,G){if(!await Hy())return!1;if(x(`${y}@${K}`))return!1;let{bashTools:S}=r??{};if(G.cli&&S?.size){if(G.cli.some((I)=>S.has(I)))return!0}if(G.filePath&&r?.readFileState){if(E(r.readFileState).some(($)=>G.filePath.test($)))return!0}return!1}var by=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return w().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=w();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=w(),r=O(),G=Boolean(y.lastPlanModeUse),S=Boolean(r?.permissions?.defaultMode);return G&&!S}catch(y){return p(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=w();return await b()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${q("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${q("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${q("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=w();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(c())return!1;return await i()>=2}},{id:"terminal-setup",content:async()=>j.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=w();if(j.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>j.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=w();return Boolean((j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>j.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!o())return!1;let y=w();return!(j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return w().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&H.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>W()==="windows"&&process.env.CLAUDE_CODE_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>O().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return w().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${j.terminal==="vscode"?"code":j.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!V())return!1;if(W()!=="macos")return!1;switch(j.terminal){case"vscode":return!await T();case"cursor":return!await M();case"windsurf":return!await C();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(Y())return!1;if((await D()).length!==0)return!1;return(await f()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!w().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!w().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return w().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!j.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>W()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!R()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>R()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>l()&&w().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return w().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${q("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${q("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=w(),G=B()==="opusplan",S=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return G&&S>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
2
+ ${k("suggestion",y.theme)(`/plugin install frontend-design@${K}`)}`},cooldownSessions:3,isRelevant:async(y)=>U("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
3
+ ${k("suggestion",y.theme)(`/plugin install vercel@${K}`)}`},cooldownSessions:3,isRelevant:async(y)=>U("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let G=k("suggestion",y.theme)("/effort high");return z("tengu_tide_elm","off")==="copy_b"?`Use ${G} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${G} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!X())return!1;if(!u(F()))return!1;if(m("policySettings")?.effortLevel!==void 0)return!1;if(A()!==void 0)return!1;let y=Z().effortLevel;if(y==="high"||y==="max")return!1;return z("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${r("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${r('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!X())return!1;return z("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_timber_lark","off")==="copy_b"?`Use ${r("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${r("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!X())return!1;if(!L())return!1;return z("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let r=k("claude",y.theme),G=t();return G?`Share Claudin and earn ${r(a(G))} of extra usage · ${r("/passes")}`:`You have free guest passes to share · ${r("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(w().hasVisitedPasses)return!1;let{eligible:r}=_();return r}},{id:"overage-credit",content:async(y)=>{let r=k("claude",y.theme),G=s(),S=G?d(G):null;if(!S)return"";return`${r(`${S} in extra usage, on us`)} · third-party apps · ${r("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>g()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return w().numStartups>5}}],my=[];function By(){let r=Z().spinnerTipsOverride;if(!r?.tips?.length)return[];return r.tips.map((G,S)=>({id:`custom-tip-${S}`,content:async()=>G,cooldownSessions:0,isRelevant:async()=>!0}))}async function kr(y){let G=Z().spinnerTipsOverride,S=By();if(G?.excludeDefault&&S.length>0)return S;let I=[...by,...my],$=await Promise.all(I.map((J)=>J.isRelevant(y)));return[...I.filter((J,e)=>$[e]).filter((J)=>P(J.id)>=J.cooldownSessions),...S]}
4
+ export{Vy as cb,P as db,kr as eb};
@@ -0,0 +1,12 @@
1
+ import{$n as d,Tn as E,Un as Uq,Xn as r,Yn as Xq,ao as Yq,cF as x,dF as s,eF as C,gF as n,gG as o,hF as $,iG as Mq,jF as Zq}from"./cli-1.0.16-pz654728.mjs";import{G0 as N,I0 as U,M0 as V,a1 as a,kZ as Jq,l1 as Qq}from"./cli-1.0.16-2thxt6pw.mjs";import{T3 as u,U3 as J,V3 as X,W3 as g}from"./cli-1.0.16-5axjzbba.mjs";import{X3 as zq}from"./cli-1.0.16-gydkk4pv.mjs";import{Xia as w,_ia as qq}from"./cli-1.0.16-6d9kerj1.mjs";import{dsa as i,hsa as t}from"./cli-1.0.16-y9yxyd77.mjs";function Fq(){let z=f.c(9),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=X(U,{children:["An update to our Consumer Terms and Privacy Policy will take effect on"," ",J(U,{bold:!0,children:"October 8, 2025"}),". You can accept the updated terms today."]}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y,Z;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=J(U,{children:"· "}),Z=J(U,{bold:!0,children:"You can help improve Claude "}),z[2]=Y,z[3]=Z;else Y=z[2],Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(N,{paddingLeft:1,children:X(U,{children:[Y,Z,X(U,{children:["— Allow the use of your chats and coding sessions to train and improve Anthropic AI models. Change anytime in your Privacy Settings (",J(V,{url:"https://claude.ai/settings/data-privacy-controls"}),")."]})]})}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=X(N,{flexDirection:"column",children:[F,W,J(N,{paddingLeft:1,children:X(U,{children:[J(U,{children:"· "}),J(U,{bold:!0,children:"Updates to data retention "}),J(U,{children:"— To help us improve our AI models and safety protections, we're extending data retention to 5 years."})]})})]}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[6]=Q;else Q=z[6];let H;if(z[7]===Symbol.for("react.memo_cache_sentinel"))H=J(V,{url:"https://anthropic.com/legal/terms"}),z[7]=H;else H=z[7];let O;if(z[8]===Symbol.for("react.memo_cache_sentinel"))O=X(u,{children:[q,P,X(U,{children:["Learn more (",Q,") or read the updated Consumer Terms (",H,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[8]=O;else O=z[8];return O}function Nq(){let z=f.c(7),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=J(U,{children:"We've updated our Consumer Terms and Privacy Policy."}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Help improve Claude"}),J(U,{children:"Allow the use of your chats and coding sessions to train and improve Anthropic AI models. You can change this anytime in Privacy Settings"}),J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),z[2]=Y;else Y=z[2];let Z;if(z[3]===Symbol.for("react.memo_cache_sentinel"))Z=X(N,{flexDirection:"column",gap:1,children:[F,Y,X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"How this affects data retention"}),J(U,{children:"Turning ON the improve Claude setting extends data retention from 30 days to 5 years. Turning it OFF keeps the default 30-day data retention. Delete data anytime."})]})]}),z[3]=Z;else Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=J(V,{url:"https://anthropic.com/legal/terms"}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=X(u,{children:[q,Z,X(U,{children:["Learn more (",W,") or read the updated Consumer Terms (",P,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[6]=Q;else Q=z[6];return Q}function kq(z){let q=f.c(34),{showIfAlreadyViewed:F,location:Y,onDone:Z}=z,[W,P]=_.useState(null),[Q,H]=_.useState(null),O,R;if(q[0]!==Y||q[1]!==Z||q[2]!==F)O=()=>{(async function(){let[e,c]=await Promise.all([x(),n()]),j=c.success?c.data:null;H(j);let l=$(e,c,F);if(P(l),!l){Z("skip_rendering");return}s(),w("tengu_grove_policy_viewed",{location:Y,dismissable:j?.notice_is_grace_period})})()},R=[F,Y,Z],q[0]=Y,q[1]=Z,q[2]=F,q[3]=O,q[4]=R;else O=q[3],R=q[4];if(_.useEffect(O,R),W===null)return null;if(!W)return null;let K;if(q[5]!==Q?.notice_is_grace_period||q[6]!==Z)K=async function(v){q:switch(v){case"accept_opt_in":{await C(!0),w("tengu_grove_policy_submitted",{state:!0,dismissable:Q?.notice_is_grace_period});break q}case"accept_opt_out":{await C(!1),w("tengu_grove_policy_submitted",{state:!1,dismissable:Q?.notice_is_grace_period});break q}case"defer":{w("tengu_grove_policy_dismissed",{state:!0});break q}case"escape":w("tengu_grove_policy_escaped",{})}Z(v)},q[5]=Q?.notice_is_grace_period,q[6]=Z,q[7]=K;else K=q[7];let A=K,L;if(q[8]!==Q?.domain_excluded)L=Q?.domain_excluded?[{label:"Accept terms · Help improve Claude: OFF (for emails with your domain)",value:"accept_opt_out"}]:[{label:"Accept terms · Help improve Claude: ON",value:"accept_opt_in"},{label:"Accept terms · Help improve Claude: OFF",value:"accept_opt_out"}],q[8]=Q?.domain_excluded,q[9]=L;else L=q[9];let I=L,G;if(q[10]!==Q?.notice_is_grace_period||q[11]!==A)G=function(){if(Q?.notice_is_grace_period){A("defer");return}A("escape")},q[10]=Q?.notice_is_grace_period,q[11]=A,q[12]=G;else G=q[12];let M=G,k;if(q[13]!==Q?.notice_is_grace_period)k=J(N,{flexDirection:"column",gap:1,flexGrow:1,children:Q?.notice_is_grace_period?J(Fq,{}):J(Nq,{})}),q[13]=Q?.notice_is_grace_period,q[14]=k;else k=q[14];let D;if(q[15]===Symbol.for("react.memo_cache_sentinel"))D=J(N,{flexShrink:0,children:J(U,{color:"professionalBlue",children:Wq})}),q[15]=D;else D=q[15];let B;if(q[16]!==k)B=X(N,{flexDirection:"row",children:[k,D]}),q[16]=k,q[17]=B;else B=q[17];let T;if(q[18]===Symbol.for("react.memo_cache_sentinel"))T=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Please select how you'd like to continue"}),J(U,{children:"Your choice takes effect immediately upon confirmation."})]}),q[18]=T;else T=q[18];let b;if(q[19]!==Q?.notice_is_grace_period)b=Q?.notice_is_grace_period?[{label:"Not now",value:"defer"}]:[],q[19]=Q?.notice_is_grace_period,q[20]=b;else b=q[20];let m;if(q[21]!==I||q[22]!==b)m=[...I,...b],q[21]=I,q[22]=b,q[23]=m;else m=q[23];let p;if(q[24]!==A)p=(h)=>A(h),q[24]=A,q[25]=p;else p=q[25];let y;if(q[26]!==M||q[27]!==m||q[28]!==p)y=X(N,{flexDirection:"column",gap:1,children:[T,J(o,{options:m,onChange:p,onCancel:M})]}),q[26]=M,q[27]=m,q[28]=p,q[29]=y;else y=q[29];let S;if(q[30]!==M||q[31]!==y||q[32]!==B)S=X(d,{title:"Updates to Consumer Terms and Policies",color:"professionalBlue",onCancel:M,inputGuide:Oq,children:[B,y]}),q[30]=M,q[31]=y,q[32]=B,q[33]=S;else S=q[33];return S}function Oq(z){return z.pending?X(U,{children:["Press ",z.keyName," again to exit"]}):X(r,{children:[J(E,{shortcut:"Enter",action:"confirm"}),J(E,{shortcut:"Esc",action:"cancel"})]})}function _q(z){let q=f.c(17),{settings:F,domainExcluded:Y,onDone:Z}=z,[W,P]=_.useState(F.grove_enabled),Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q=[],q[0]=Q;else Q=q[0];_.default.useEffect(Pq,Q);let H;if(q[1]!==Y||q[2]!==W)H=async(M,k)=>{if(!Y&&(k.tab||k.return||M===" ")){let D=!W;P(D),await C(D)}},q[1]=Y,q[2]=W,q[3]=H;else H=q[3];a(H);let O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=J(U,{color:"error",children:"false"}),q[4]=O;else O=q[4];let R=O;if(Y){let M;if(q[5]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"error",children:"false (for emails with your domain)"}),q[5]=M;else M=q[5];R=M}else if(W){let M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"success",children:"true"}),q[6]=M;else M=q[6];R=M}let K;if(q[7]!==Y)K=(M)=>M.pending?X(U,{children:["Press ",M.keyName," again to exit"]}):Y?J(E,{shortcut:"Esc",action:"cancel"}):X(r,{children:[J(E,{shortcut:"Enter/Tab/Space",action:"toggle"}),J(E,{shortcut:"Esc",action:"cancel"})]}),q[7]=Y,q[8]=K;else K=q[8];let A;if(q[9]===Symbol.for("react.memo_cache_sentinel"))A=X(U,{children:["Review and manage your privacy settings at"," ",J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),q[9]=A;else A=q[9];let L;if(q[10]===Symbol.for("react.memo_cache_sentinel"))L=J(N,{width:44,children:J(U,{bold:!0,children:"Help improve Claude"})}),q[10]=L;else L=q[10];let I;if(q[11]!==R)I=X(N,{children:[L,J(N,{children:R})]}),q[11]=R,q[12]=I;else I=q[12];let G;if(q[13]!==Z||q[14]!==K||q[15]!==I)G=X(d,{title:"Data Privacy",color:"professionalBlue",onCancel:Z,inputGuide:K,children:[A,I]}),q[13]=Z,q[14]=K,q[15]=I,q[16]=G;else G=q[16];return G}function Pq(){w("tengu_grove_privacy_settings_viewed",{})}var f,_,Wq=` _____________
2
+ | \\ \\
3
+ | NEW TERMS \\__\\
4
+ | |
5
+ | ---------- |
6
+ | ---------- |
7
+ | ---------- |
8
+ | ---------- |
9
+ | ---------- |
10
+ | |
11
+ |______________|`;var Aq=t(()=>{qq();Qq();Zq();Mq();Xq();Yq();Uq();g();f=i(Jq(),1),_=i(zq(),1)});
12
+ export{kq as xc,_q as yc,Aq as zc};
@@ -0,0 +1,2 @@
1
+ import{fsa as H,hsa as UJ}from"./cli-1.0.16-y9yxyd77.mjs";var N=H((IJ,Oq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=H((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var C=H((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var I1=L.re=[],O1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),Z=w1++;F1(q,Z,$),z[q]=Z,j[Z]=$,H1[Z]=Q,I1[Z]=new RegExp($,J?"g":void 0),O1[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=H((HJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=H((wJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var G=H((yJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),P1=b(),{compareIdentifiers:e}=o(),_1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=P1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let Z=+Q;if(Z>=0&&Z<f)return Z}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let Z=[$,Q];if(J===!1)Z=[$];if(_1(this.prerelease,$)){let W=this.prerelease[$.split(".").length];if(isNaN(W))this.prerelease=Z}else this.prerelease=Z}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=H((BJ,_q)=>{var Pq=G(),X1=(q,$,J=!1)=>{if(q instanceof Pq)return q;try{return new Pq(q,$)}catch(Q){if(!J)return null;throw Q}};_q.exports=X1});var Aq=H((xJ,Xq)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};Xq.exports=L1});var Eq=H((DJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=H((GJ,Cq)=>{var Nq=G(),C1=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Cq.exports=C1});var uq=H((VJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,Y=W?Q:J,F=!!K.prerelease.length;if(!!Y.prerelease.length&&!F){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let I=F?"pre":"";if(J.major!==Q.major)return I+"major";if(J.minor!==Q.minor)return I+"minor";if(J.patch!==Q.patch)return I+"patch";return"prerelease"};kq.exports=S1});var Mq=H((PJ,Tq)=>{var R1=G(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=H((_J,bq)=>{var u1=G(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=H((XJ,fq)=>{var M1=G(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=H((AJ,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var _=H((LJ,cq)=>{var gq=G(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=H((EJ,mq)=>{var d1=_(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=H((NJ,sq)=>{var g1=_(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=H((CJ,tq)=>{var nq=G(),m1=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};tq.exports=m1});var rq=H((SJ,iq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));iq.exports=s1});var eq=H((RJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=H((kJ,q0)=>{var t1=_(),i1=(q,$,J)=>t1(q,$,J)>0;q0.exports=i1});var g=H((uJ,$0)=>{var r1=_(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=H((TJ,J0)=>{var e1=_(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=H((MJ,Q0)=>{var $$=_(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=H((bJ,W0)=>{var Q$=_(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=H((hJ,Z0)=>{var Z$=_(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=H((fJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),I$=m(),O$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return I$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=O$});var z0=H((vJ,j0)=>{var H$=G(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let F=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],U;while((U=F.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||U.index+U[0].length!==J.index+J[0].length)J=U;F.lastIndex=U.index+U[1].length+U[2].length}F.lastIndex=-1}if(J===null)return null;let Q=J[2],Z=J[3]||"0",W=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${Z}.${W}${K}${Y}`,$)};j0.exports=y$});var U0=H((dJ,Y0)=>{var B$=E(),x$=N(),D$=G(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&P$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},P$=(q,$)=>{if(_$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},_$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var O0=H((lJ,I0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}I0.exports=F0});var X=H((gJ,B0)=>{var X$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(X$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?P[V.HYPHENRANGELOOSE]:P[V.HYPHENRANGE];q=q.replace(W,s$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(P[V.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(P[V.TILDETRIM],S$),B("tilde trim",q),q=q.replace(P[V.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((I)=>b$(I,this.options)).join(" ").split(/\s+/).map((I)=>p$(I,this.options));if(Z)K=K.filter((I)=>{return B("loose invalid filter",I,this.options),!!I.match(P[V.COMPARATORLOOSE])});B("range list",K);let Y=new Map,F=K.map((I)=>new Qq(I,this.options));for(let I of F){if(w0(I))return[I];Y.set(I.value,I)}if(Y.size>1&&Y.has(""))Y.delete("");let U=[...Y.values()];return H0.set(J,U),U}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((Z)=>{return Q.every((W)=>{return Z.intersects(W,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(a$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=O0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=G(),{safeRe:P,src:N$,t:V,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[V.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),Z=Q.pop();while(J&&Q.length)J=Q.every((W)=>{return Z.intersects(W,$)}),Z=Q.pop();return J},b$=(q,$)=>{return q=q.replace(P[V.BUILD],""),B("comp",q,$),q=d$(q,$),B("caret",q),q=f$(q,$),B("tildes",q),q=g$(q,$),B("xrange",q),q=m$(q,$),B("stars",q),q},D=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$,J)=>D(q)&&!D($)||D($)&&J&&!D(J),f$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>v$(J,$)).join(" ")},v$=(q,$)=>{let J=$.loose?P[V.TILDELOOSE]:P[V.TILDE],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("tilde",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else if(F)B("replaceTilde pr",F),U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;return B("tilde return",U),U})},d$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>l$(J,$)).join(" ")},l$=(q,$)=>{B("caret",q,$);let J=$.loose?P[V.CARETLOOSE]:P[V.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("caret",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))if(W==="0")U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(F)if(B("replaceCaret pr",F),W==="0")if(K==="0")U=`>=${W}.${K}.${Y}-${F} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y}-${F} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")U=`>=${W}.${K}.${Y} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${+W+1}.0.0-0`;return B("caret return",U),U})},g$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>c$(J,$)).join(" ")},c$=(q,$)=>{q=q.trim();let J=$.loose?P[V.XRANGELOOSE]:P[V.XRANGE];return q.replace(J,(Q,Z,W,K,Y,F)=>{if(B("xRange",q,Q,Z,W,K,Y,F),h$(W,K,Y))return q;let U=D(W),I=U||D(K),y=I||D(Y),x=y;if(Z==="="&&x)Z="";if(F=$.includePrerelease?"-0":"",U)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(I)K=0;if(Y=0,Z===">")if(Z=">=",I)W=+W+1,K=0,Y=0;else K=+K+1,Y=0;else if(Z==="<=")if(Z="<",I)W=+W+1;else K=+K+1;if(Z==="<")F="-0";Q=`${Z+W}.${K}.${Y}${F}`}else if(I)Q=`>=${W}.0.0${F} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${F} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},m$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(P[V.STAR],"")},p$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(P[$.includePrerelease?V.GTE0PRE:V.GTE0],"")},s$=(q)=>($,J,Q,Z,W,K,Y,F,U,I,y,x)=>{if(D(Q))J="";else if(D(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(D(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(D(U))F="";else if(D(I))F=`<${+U+1}.0.0-0`;else if(D(y))F=`<${U}.${+I+1}.0-0`;else if(x)F=`<=${U}.${I}.${y}-${x}`;else if(q)F=`<${U}.${I}.${+y+1}-0`;else F=`<=${F}`;return`${J} ${F}`.trim()},a$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let Z=q[Q].semver;if(Z.major===$.major&&Z.minor===$.minor&&Z.patch===$.patch)return!0}}return!1}return!0}});var u=H((cJ,_0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new P0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new P0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}_0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=G(),P0=X()});var M=H((mJ,X0)=>{var n$=X(),t$=(q,$,J)=>{try{$=new n$($,J)}catch(Q){return!1}return $.test(q)};X0.exports=t$});var L0=H((pJ,A0)=>{var i$=X(),r$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=r$});var N0=H((sJ,E0)=>{var o$=G(),e$=X(),q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new e$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new o$(Q,J)}}),Q};E0.exports=q9});var S0=H((aJ,C0)=>{var $9=G(),J9=X(),Q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new J9($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new $9(Q,J)}}),Q};C0.exports=Q9});var u0=H((nJ,k0)=>{var Kq=G(),W9=X(),R0=R(),Z9=(q,$)=>{q=new W9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let Z=q.set[Q],W=null;if(Z.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!W||R0(Y,W))W=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||R0(J,W)))J=W}if(J&&q.test(J))return J;return null};k0.exports=Z9});var M0=H((tJ,T0)=>{var K9=X(),j9=(q,$)=>{try{return new K9(q,$).range||"*"}catch(J){return null}};T0.exports=j9});var n=H((iJ,v0)=>{var z9=G(),f0=u(),{ANY:Y9}=f0,U9=X(),F9=M(),b0=R(),h0=g(),I9=m(),O9=c(),H9=(q,$,J,Q)=>{q=new z9(q,Q),$=new U9($,Q);let Z,W,K,Y,F;switch(J){case">":Z=b0,W=I9,K=h0,Y=">",F=">=";break;case"<":Z=h0,W=O9,K=b0,Y="<",F="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(F9(q,$,Q))return!1;for(let U=0;U<$.set.length;++U){let I=$.set[U],y=null,x=null;if(I.forEach((O)=>{if(O.semver===Y9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,Z(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===F)return!1;if((!x.operator||x.operator===Y)&&W(q,x.semver))return!1;else if(x.operator===F&&K(q,x.semver))return!1}return!0};v0.exports=H9});var l0=H((rJ,d0)=>{var w9=n(),y9=(q,$,J)=>w9(q,$,">",J);d0.exports=y9});var c0=H((oJ,g0)=>{var B9=n(),x9=(q,$,J)=>B9(q,$,"<",J);g0.exports=x9});var s0=H((eJ,p0)=>{var m0=X(),D9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=D9});var n0=H((qQ,a0)=>{var G9=M(),V9=_();a0.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((I,y)=>V9(I,y,J));for(let I of K)if(G9(I,$,J)){if(W=I,!Z)Z=I}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let Y=[];for(let[I,y]of Q)if(I===y)Y.push(I);else if(!y&&I===K[0])Y.push("*");else if(!y)Y.push(`>=${I}`);else if(I===K[0])Y.push(`<=${y}`);else Y.push(`${I} - ${y}`);let F=Y.join(" || "),U=typeof $.raw==="string"?$.raw:String($);return F.length<U.length?F:$}});var q1=H(($Q,e0)=>{var t0=X(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=_(),P9=(q,$,J={})=>{if(q===$)return!0;q=new t0(q,J),$=new t0($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=X9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},_9=[new Yq(">=0.0.0-0")],i0=[new Yq(">=0.0.0")],X9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===jq)if($.length===1&&$[0].semver===jq)return!0;else if(J.includePrerelease)q=_9;else q=i0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=i0;let Q=new Set,Z,W;for(let O of q)if(O.operator===">"||O.operator===">=")Z=r0(Z,O,J);else if(O.operator==="<"||O.operator==="<=")W=o0(W,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Uq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let O of Q){if(Z&&!zq(O,String(Z),J))return null;if(W&&!zq(O,String(W),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,F,U,I,y=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1,x=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1;if(y&&y.prerelease.length===1&&W.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(I=I||O.operator===">"||O.operator===">=",U=U||O.operator==="<"||O.operator==="<=",Z){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(Z,O,J),Y===O&&Y!==Z)return!1}else if(Z.operator===">="&&!O.test(Z.semver))return!1}if(W){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(F=o0(W,O,J),F===O&&F!==W)return!1}else if(W.operator==="<="&&!O.test(W.semver))return!1}if(!O.operator&&(W||Z)&&K!==0)return!1}if(Z&&U&&!W&&K!==0)return!1;if(W&&I&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=P9});var W1=H((JQ,Q1)=>{var Fq=C(),$1=N(),A9=G(),J1=o(),L9=E(),E9=Aq(),N9=Eq(),C9=Sq(),S9=uq(),R9=Mq(),k9=hq(),u9=vq(),T9=lq(),M9=_(),b9=pq(),h9=aq(),f9=l(),v9=rq(),d9=eq(),l9=R(),g9=g(),c9=qq(),m9=$q(),p9=c(),s9=m(),a9=Jq(),n9=z0(),t9=U0(),i9=u(),r9=X(),o9=M(),e9=L0(),qJ=N0(),$J=S0(),JJ=u0(),QJ=M0(),WJ=n(),ZJ=l0(),KJ=c0(),jJ=s0(),zJ=n0(),YJ=q1();Q1.exports={parse:L9,valid:E9,clean:N9,inc:C9,diff:S9,major:R9,minor:k9,patch:u9,prerelease:T9,compare:M9,rcompare:b9,compareLoose:h9,compareBuild:f9,sort:v9,rsort:d9,gt:l9,lt:g9,eq:c9,neq:m9,gte:p9,lte:s9,cmp:a9,coerce:n9,truncate:t9,Comparator:i9,Range:r9,satisfies:o9,toComparators:e9,maxSatisfying:qJ,minSatisfying:$J,minVersion:JJ,validRange:QJ,outside:WJ,gtr:ZJ,ltr:KJ,intersects:jJ,simplifyRange:zJ,subset:YJ,SemVer:A9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function t(){if(!Iq)Iq=W1();return Iq}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return t().gt(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return t().gte(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return t().lt(q,$,{loose:!0})}function KQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return t().satisfies(q,$,{loose:!0})}var Iq;var FJ=()=>{};
2
+ export{W1 as d2,QQ as e2,WQ as f2,ZQ as g2,KQ as h2,FJ as i2};
@@ -0,0 +1,2 @@
1
+ import{xb as d}from"./cli-1.0.16-fjg1p1sc.mjs";import{ET as F,Gm as E,Hk as $,Hl as P,Hm as e,Hu as k,Ik as n,Il as R,Ku as V,MS as m,NS as S,OS as A,PR as Qj,Pk as v,Qk as r,Qu as zj,Ru as w,ST as Xj,Su as Bj,Vj as O,Xj as o,ZS as c,am as s,eT as p,fK as f,fT as X,nm as y,ot as h,pv as C,qt as qj,qv as D,sT as Vj,sm as t,uE as Jj,vv as Gj,wC as I,xC as Hj}from"./cli-1.0.16-pz654728.mjs";import{iV as W,wV as jj}from"./cli-1.0.16-vfk0g9d8.mjs";import{vX as x,yX as Kj}from"./cli-1.0.16-w382p4f7.mjs";import{O6 as T,V6 as u}from"./cli-1.0.16-s5y2vt2x.mjs";import{iia as Z,jia as i}from"./cli-1.0.16-pj0vcmv0.mjs";import{_ja as b,bka as l}from"./cli-1.0.16-04tr8fw7.mjs";import{Cma as _,Hma as Y,Mna as M,Ona as N,Upa as K,yqa as g,zma as U}from"./cli-1.0.16-zsvkc5zm.mjs";g();e();Gj();zj();r();o();import{dirname as Yj}from"path";Xj();Jj();Kj();i();l();qj();Qj();u();t();n();Hj();Vj();jj();Bj();s();function Zj(j){for(let q=j.length-1;q>=0;q--){let B=j[q];if(B?.type!=="assistant")continue;let z=B.message.content.find((J)=>J.type==="tool_use"&&J.name===v);if(!z||z.type!=="tool_use")continue;let G=z.input;if(G===null||typeof G!=="object")return[];let H=w().safeParse(G.todos);return H.success?H.data:[]}return[]}function aj(j,q){if(j.fileHistorySnapshots&&j.fileHistorySnapshots.length>0)h(j.fileHistorySnapshots,(B)=>{q((z)=>({...z,fileHistory:B}))});if(!W()&&j.messages&&j.messages.length>0){let B=Zj(j.messages);if(B.length>0){let z=U();q((G)=>({...G,todos:{...G.todos,[z]:B}}))}}}function $j(j){return}function Pj(j,q){if(!j&&!q)return;return{name:j??"",color:q==="default"?void 0:q}}function Rj(j,q,B){if(q)return{agentDefinition:q,agentType:void 0};if(!j)return K(void 0),{agentDefinition:void 0,agentType:void 0};let z=B.activeAgents.find((G)=>G.agentType===j);if(!z)return b(`Resumed session had agent "${j}" but it is no longer available. Using default behavior.`),K(void 0),{agentDefinition:void 0,agentType:void 0};if(K(z.agentType),!M()&&z.model&&z.model!=="inherit")N(T(z.model));return{agentDefinition:z,agentType:z.agentType}}async function yj(j,q,B,z){if(!j)return z;V.cache.clear?.();let G=await V(q),H=[...G.allAgents,...B];return{...G,allAgents:H,activeAgents:k(H)}}function Ej(j){let q=P();if(q){X(q);return}if(!j)return;try{process.chdir(j.worktreePath)}catch{X(null);return}I(j.worktreePath),Y(Z()),R(j),F(),E(),y.cache.clear?.(),$()}function gj(){let j=P();if(!j)return;R(null),F(),E(),y.cache.clear?.(),$();try{process.chdir(j.originalCwd)}catch{return}I(j.originalCwd),Y(Z())}async function lj(j,q,B){let z;if(z=B.modeApi?.matchSessionMode(j.mode),z)j.messages.push(f(z,"warning"));if(!q.forkSession){let Q=q.sessionIdOverride??j.sessionId;if(Q){if(_(O(Q),q.transcriptPath?Yj(q.transcriptPath):null),await d(),await S(),!C(Q))D(j.messages)}}else if(j.contentReplacements?.length)await m(j.contentReplacements);if(c(q.forkSession?{...j,worktreeSession:void 0}:j),!q.forkSession)Ej(j.worktreeSession),A();let{agentDefinition:G,agentType:H}=Rj(j.agentSetting,B.mainThreadAgentDefinition,B.agentDefinitions);p(B.modeApi?.isCoordinatorMode()?"coordinator":"normal");let J=q.includeAttribution?$j(j):void 0,L=Pj(j.agentName,j.agentColor);x(j.agentName);let a=await yj(!!z,B.currentCwd,B.cliAgents,B.agentDefinitions);return{messages:j.messages,fileHistorySnapshots:j.fileHistorySnapshots,contentReplacements:j.contentReplacements,agentName:j.agentName,agentColor:j.agentColor==="default"?void 0:j.agentColor,restoredAgentDef:G,initialState:{...B.initialState,...H&&{agent:H},...J&&{attribution:J},...L&&{standaloneAgentContext:L},agentDefinitions:a}}}
2
+ export{aj as Sa,Pj as Ta,Rj as Ua,Ej as Va,gj as Wa,lj as Xa};
@@ -0,0 +1,2 @@
1
+ import{$ra as n}from"./cli-1.0.16-mg53mrd2.mjs";import{fsa as r}from"./cli-1.0.16-y9yxyd77.mjs";var i=r((e)=>{Object.defineProperty(e,"__esModule",{value:!0});e.readFile=e.externalDataInterceptor=e.parseKnownFiles=e.loadSsoSessionData=e.loadSharedConfigFiles=e.CONFIG_PREFIX_SEPARATOR=e.getSSOTokenFromFile=e.getSSOTokenFilepath=e.getProfileName=e.DEFAULT_PROFILE=e.ENV_PROFILE=e.getHomeDir=void 0;var t=n();Object.defineProperty(e,"getHomeDir",{enumerable:!0,get:function(){return t.getHomeDir}});Object.defineProperty(e,"ENV_PROFILE",{enumerable:!0,get:function(){return t.ENV_PROFILE}});Object.defineProperty(e,"DEFAULT_PROFILE",{enumerable:!0,get:function(){return t.DEFAULT_PROFILE}});Object.defineProperty(e,"getProfileName",{enumerable:!0,get:function(){return t.getProfileName}});Object.defineProperty(e,"getSSOTokenFilepath",{enumerable:!0,get:function(){return t.getSSOTokenFilepath}});Object.defineProperty(e,"getSSOTokenFromFile",{enumerable:!0,get:function(){return t.getSSOTokenFromFile}});Object.defineProperty(e,"CONFIG_PREFIX_SEPARATOR",{enumerable:!0,get:function(){return t.CONFIG_PREFIX_SEPARATOR}});Object.defineProperty(e,"loadSharedConfigFiles",{enumerable:!0,get:function(){return t.loadSharedConfigFiles}});Object.defineProperty(e,"loadSsoSessionData",{enumerable:!0,get:function(){return t.loadSsoSessionData}});Object.defineProperty(e,"parseKnownFiles",{enumerable:!0,get:function(){return t.parseKnownFiles}});Object.defineProperty(e,"externalDataInterceptor",{enumerable:!0,get:function(){return t.externalDataInterceptor}});Object.defineProperty(e,"readFile",{enumerable:!0,get:function(){return t.readFile}})});
2
+ export{i as R9};
@@ -0,0 +1,2 @@
1
+ import{QW as M,SW as X}from"./cli-1.0.16-wk5szq3c.mjs";import{Hda as W,Laa as B,Uaa as V,sda as K,yda as L}from"./cli-1.0.16-t2ky4p5s.mjs";import{hsa as Q}from"./cli-1.0.16-y9yxyd77.mjs";async function F(){let b=await M();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let z=L()?.remote?.defaultEnvironmentId,H=b.find((x)=>x.kind!=="bridge")??b[0],J=null;if(z){let x=b.find((q)=>q.environment_id===z);if(x){H=x;for(let q=B.length-1;q>=0;q--){let y=B[q];if(!y||y==="flagSettings")continue;if(K(y)?.remote?.defaultEnvironmentId===z){J=y;break}}}}return{availableEnvironments:b,selectedEnvironment:H,selectedEnvironmentSource:J}}var Y=Q(()=>{V();W();X()});
2
+ export{F as fc,Y as gc};
@@ -0,0 +1,2 @@
1
+ import{Hc as l,Ic as m,Lc as u,Mc as y}from"./cli-1.0.16-dggf3mwp.mjs";import{gG as p,iG as b}from"./cli-1.0.16-pz654728.mjs";import{G0 as s,I0 as e,l1 as C}from"./cli-1.0.16-2thxt6pw.mjs";import{U3 as i,V3 as r,W3 as g}from"./cli-1.0.16-5axjzbba.mjs";import{X3 as M}from"./cli-1.0.16-gydkk4pv.mjs";import{dsa as h,hsa as f}from"./cli-1.0.16-y9yxyd77.mjs";function T({enabled:c,onDismiss:a}){let[n,t]=k.useState(()=>c?{kind:"prompt"}:{kind:"hidden"});if(!c||n.kind==="hidden")return null;if(n.kind==="running")return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),i(e,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(n.kind==="success"||n.kind==="error"){let d=n.kind==="success"?"success":"warning",o=n.kind==="success"?"Migration complete":"Migration finished with warnings";return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:d,bold:!0,children:o}),i(e,{children:m(n.report)})]})}return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),i(e,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),i(p,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(d)=>{if(d==="skip"){u(),t({kind:"hidden"}),a?.("skipped");return}t({kind:"running"}),(async()=>{let o=await l();t({kind:o.errors.length===0?"success":"error",report:o}),a?.("migrated")})()},onCancel:()=>{t({kind:"hidden"}),a?.("skipped")},visibleOptionCount:2})]})}var k;var w=f(()=>{C();y();b();g();k=h(M(),1)});
2
+ export{T as Fc,w as Gc};
@@ -0,0 +1,3 @@
1
+ import{$n as l,Hk as m,Hl as c,Ik as pf,Sl as N,Vl as d,Wl as M,XH as v,YH as Bf,am as Of,ao as $f,gG as S,hG as zf,nm as V,rT as Hf,sT as If,sm as Yf,uS as r,wC as X,wS as Zf,xC as qf}from"./cli-1.0.16-pz654728.mjs";import{GU as u,HU as Kf}from"./cli-1.0.16-tjqve1gp.mjs";import{G0 as D,I0 as T,kZ as Jf,l1 as Af}from"./cli-1.0.16-2thxt6pw.mjs";import{U3 as A,V3 as R,W3 as L}from"./cli-1.0.16-5axjzbba.mjs";import{X3 as _f}from"./cli-1.0.16-gydkk4pv.mjs";import{w_ as W,y_ as yf}from"./cli-1.0.16-t2ky4p5s.mjs";import{Xia as F,_ia as ff}from"./cli-1.0.16-6d9kerj1.mjs";import{_ja as b,bka as Gf}from"./cli-1.0.16-04tr8fw7.mjs";import{dsa as g,esa as e,hsa as k}from"./cli-1.0.16-y9yxyd77.mjs";function E(){(If(),e(Hf)).saveWorktreeState(null),m()}function a({onDone:J,onCancel:O}){let[Y,y]=$.useState("loading"),[p,H]=$.useState([]),[G,q]=$.useState(0),[Z,_]=$.useState(),f=c();if($.useEffect(()=>{async function z(){let I=[],B=await W("git",["status","--porcelain"]);if(B.stdout)I=B.stdout.split(`
2
+ `).filter((Q)=>Q.trim()!==""),H(I);if(f){let{stdout:Q}=await W("git",["rev-list","--count",`${f.originalHeadCommit}..HEAD`]),w=parseInt(Q.trim())||0;if(q(w),I.length===0&&w===0){y("removing"),M().then(()=>{process.chdir(f.originalCwd),X(f.originalCwd),V.cache.clear?.(),_("Worktree removed (no changes)")}).catch((s)=>{b(`Failed to clean up worktree: ${s}`,{level:"error"}),_("Worktree cleanup failed, exiting anyway")}).finally(()=>{E()}).then(()=>{y("done")});return}else y("asking")}}z()},[f]),$.useEffect(()=>{if(Y==="done")J(Z)},[Y,J,Z]),!f)return J("No active worktree session found",{display:"system"}),null;if(Y==="loading"||Y==="done")return null;async function j(z){if(!f)return;let I=Boolean(f.tmuxSessionName);if(z==="keep"||z==="keep-with-tmux"){y("keeping"),F("tengu_worktree_kept",{commits:G,changed_files:p.length}),await d();try{process.chdir(f.originalCwd),X(f.originalCwd)}finally{E()}if(V.cache.clear?.(),I)_(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}. Reattach to tmux session with: tmux attach -t ${f.tmuxSessionName}`);else _(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}`);y("done")}else if(z==="keep-kill-tmux"){if(y("keeping"),F("tengu_worktree_kept",{commits:G,changed_files:p.length}),f.tmuxSessionName)await N(f.tmuxSessionName);await d();try{process.chdir(f.originalCwd),X(f.originalCwd)}finally{E()}V.cache.clear?.(),_(`Worktree kept at ${f.worktreePath} on branch ${f.worktreeBranch}. Tmux session terminated.`),y("done")}else if(z==="remove"||z==="remove-with-tmux"){if(y("removing"),F("tengu_worktree_removed",{commits:G,changed_files:p.length}),f.tmuxSessionName)await N(f.tmuxSessionName);try{await M(),process.chdir(f.originalCwd),X(f.originalCwd),V.cache.clear?.()}catch(Q){b(`Failed to clean up worktree: ${Q}`,{level:"error"}),_("Worktree cleanup failed, exiting anyway"),y("done");return}finally{E()}let B=I?" Tmux session terminated.":"";if(G>0&&p.length>0)_(`Worktree removed. ${G} ${G===1?"commit":"commits"} and uncommitted changes were discarded.${B}`);else if(G>0)_(`Worktree removed. ${G} ${G===1?"commit":"commits"} on ${f.worktreeBranch} ${G===1?"was":"were"} discarded.${B}`);else if(p.length>0)_(`Worktree removed. Uncommitted changes were discarded.${B}`);else _(`Worktree removed.${B}`);y("done")}}if(Y==="keeping")return R(D,{flexDirection:"row",marginY:1,children:[A(v,{}),A(T,{children:"Keeping worktree…"})]});if(Y==="removing")return R(D,{flexDirection:"row",marginY:1,children:[A(v,{}),A(T,{children:"Removing worktree…"})]});let x=f.worktreeBranch,P=p.length>0,U=G>0,K="";if(P&&U)K=`You have ${p.length} uncommitted ${p.length===1?"file":"files"} and ${G} ${G===1?"commit":"commits"} on ${x}. All will be lost if you remove.`;else if(P)K=`You have ${p.length} uncommitted ${p.length===1?"file":"files"}. These will be lost if you remove the worktree.`;else if(U)K=`You have ${G} ${G===1?"commit":"commits"} on ${x}. The branch will be deleted if you remove the worktree.`;else K="You are working in a worktree. Keep it to continue working there, or remove it to clean up.";function o(){if(O){O();return}j("keep")}let h=P||U?"All changes and commits will be lost.":"Clean up the worktree directory.",C=Boolean(f.tmuxSessionName),t=C?[{label:"Keep worktree and tmux session",value:"keep-with-tmux",description:`Stays at ${f.worktreePath}. Reattach with: tmux attach -t ${f.tmuxSessionName}`},{label:"Keep worktree, kill tmux session",value:"keep-kill-tmux",description:`Keeps worktree at ${f.worktreePath}, terminates tmux session.`},{label:"Remove worktree and tmux session",value:"remove-with-tmux",description:h}]:[{label:"Keep worktree",value:"keep",description:`Stays at ${f.worktreePath}`},{label:"Remove worktree",value:"remove",description:h}];return A(l,{title:"Exiting worktree session",subtitle:K,onCancel:o,children:A(S,{defaultFocusValue:C?"keep-with-tmux":"keep",options:t,onChange:j})})}var $;var i=k(()=>{ff();Gf();Af();yf();Yf();pf();qf();Of();zf();$f();Bf();L();$=g(_f(),1)});function Vf(){return u(Qf)??"Goodbye!"}function wf(J){let O=n.c(5),{showWorktree:Y,onDone:y,onCancel:p}=J,H;if(O[0]!==y)H=async function(Z){y(Z??Vf()),await r(0,"prompt_input_exit")},O[0]=y,O[1]=H;else H=O[1];let G=H;if(Y){let q;if(O[2]!==p||O[3]!==G)q=A(a,{onDone:G,onCancel:p}),O[2]=p,O[3]=G,O[4]=q;else q=O[4];return q}return null}var n,Qf;var Xf=k(()=>{Kf();Zf();i();L();n=g(Jf(),1),Qf=["Goodbye!","See ya!","Bye!","Catch you later!"]});
3
+ export{wf as rc,Xf as sc};
@@ -0,0 +1,2 @@
1
+ import{gsa as x,hsa as z}from"./cli-1.0.16-y9yxyd77.mjs";var H={};x(H,{toInfraSessionId:()=>G,toCompatSessionId:()=>F,setCseShimGate:()=>A});function A(j){q=j}function F(j){if(!j.startsWith("cse_"))return j;if(q&&!q())return j;return"session_"+j.slice(4)}function G(j){if(!j.startsWith("session_"))return j;return"cse_"+j.slice(8)}var q;var J=()=>{};
2
+ export{A as j2,F as k2,G as l2,H as m2,J as n2};
@@ -0,0 +1,2 @@
1
+ import{Lka as B,Mka as H,Vka as V}from"./cli-1.0.16-q2g1eds7.mjs";import{hsa as Q}from"./cli-1.0.16-y9yxyd77.mjs";function $(){let q=process.env.CLAUDIN_NERD_FONT;if(B(q))return!0;if(H(q))return!1;let z=process.env.TERM_PROGRAM;if(z&&W.has(z))return!0;let J=process.env.TERM?.toLowerCase()??"";if(X.some((K)=>J.includes(K)))return!0;return!1}var W,X;var Y=Q(()=>{V();W=new Set(["ghostty","kitty","WezTerm","iTerm.app","WarpTerminal"]),X=["kitty","ghostty","wezterm"]});
2
+ export{$ as Lh,Y as Mh};
@@ -0,0 +1,2 @@
1
+ import{hsa as b}from"./cli-1.0.16-y9yxyd77.mjs";var j=86400000,k="Remote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",q="Error: You must be logged in to use Remote Control.\n\nRemote Control is only available with claude.ai subscriptions. Run `/provider` and sign in with your claude.ai account.",w="Remote Control disconnected.";var g=()=>{};
2
+ export{j as if,k as jf,q as kf,w as lf,g as mf};
@@ -0,0 +1,18 @@
1
+ import{bJ as Q,eJ as F}from"./cli-1.0.16-pz654728.mjs";import{_ja as b,bka as y}from"./cli-1.0.16-04tr8fw7.mjs";import{Aka as x,Fka as f}from"./cli-1.0.16-7hc7p9x4.mjs";import{Ika as w,Vka as R}from"./cli-1.0.16-q2g1eds7.mjs";import{Dma as $,Gma as j,yqa as K}from"./cli-1.0.16-zsvkc5zm.mjs";import{hsa as v}from"./cli-1.0.16-y9yxyd77.mjs";import{statSync as u}from"fs";import{join as Z}from"path";function P(k,q){return`${q} ${k}`}function g(){J.clear()}function C(){return{projectLoopMdPath:Z(j(),".claudin","loop.md"),userLoopMdPath:Z(w(),"loop.md")}}function h(k){for(let q of[k.projectLoopMdPath,k.userLoopMdPath])try{let z=u(q);return`${q}:${z.mtimeMs}:${z.size}`}catch(z){if(!x(z))b(`[loopSentinels] failed to stat ${q}: ${z}`)}return null}function M(k,q,z=m){let B=k.trim();if(B!==Y&&B!==G)return k;let V=h(q??C()),W=P(B,z),H=J.get(W);J.set(W,{firedOnce:!0,loopMdFingerprint:V});let X=H!==void 0&&H.loopMdFingerprint!==V;if(H===void 0||X)return d(B,X);return L(B)}function d(k,q){let z=q?`Note: the loop.md instructions changed since the last tick — re-read them and follow the updated version.
2
+
3
+ `:"",B=k===G?`
4
+
5
+ ${c}`:"";return`Scheduled loop tick.
6
+
7
+ ${z}${D}${B}`}function L(k){if(k!==G)return"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md).";return`${"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md)."} Then, as the LAST action of the turn, call ${Q} again (prompt: ${G}) to continue the loop, or omit it to end the loop.`}var Y="<<autonomous-loop>>",G="<<autonomous-loop-dynamic>>",D=`Scheduled maintenance loop iteration.
8
+
9
+ If .claudin/loop.md exists, read it and follow it.
10
+ Otherwise, if ~/.claudin/loop.md exists, read it and follow it.
11
+ Otherwise:
12
+ - continue any unfinished work from the conversation
13
+ - tend to the current branch's pull request: review comments, failed CI runs, merge conflicts
14
+ - run cleanup passes such as bug hunts or simplification when nothing else is pending
15
+
16
+ Do not start new initiatives outside that scope.
17
+ Irreversible actions such as pushing or deleting only proceed when they continue something the transcript already authorized.`,c,m="lead",J;var U=v(()=>{K();F();y();R();f();c=`This loop is self-paced (/loop dynamic mode): when this iteration's work is done, as the LAST action of the turn either call ${Q} again — prompt set to exactly ${G}, with a delay chosen per the tool description and a one-sentence reason — to continue the loop, or omit the call to end it.`,J=new Map;$(g)});
18
+ export{Y as Zh,G as _h,D as $h,g as ai,M as bi,U as ci};
@@ -0,0 +1,2 @@
1
+ import{Nd as x,Od as o}from"./cli-1.0.16-bqa1thts.mjs";import{$K as O,Ku as Z,Qu as v,aD as M,aL as a,cA as K,eA as m,gD as l,gp as Y,ip as g,lL as R,oL as i,qz as $,rM as W,rz as d,uM as t,vz as y,xz as u}from"./cli-1.0.16-pz654728.mjs";import{qga as X,yga as h}from"./cli-1.0.16-t2ky4p5s.mjs";import{_ja as I,bka as c}from"./cli-1.0.16-04tr8fw7.mjs";import{Fka as f,yka as V}from"./cli-1.0.16-7hc7p9x4.mjs";import{Fma as U,yqa as _}from"./cli-1.0.16-zsvkc5zm.mjs";import{hsa as C}from"./cli-1.0.16-y9yxyd77.mjs";async function Lj(w){I("refreshActivePlugins: clearing all plugin caches"),R(),K();let G=await W(),[E,F]=await Promise.all([O(),Z(U())]),{enabled:z,disabled:B,errors:H}=G;x(E);let[P,S]=await Promise.all([Promise.all(z.map(async(j)=>{if(j.mcpServers)return Object.keys(j.mcpServers).length;let q=await Y(j,H);if(q)j.mcpServers=q;return q?Object.keys(q).length:0})),Promise.all(z.map(async(j)=>{if(j.lspServers)return Object.keys(j.lspServers).length;let q=await $(j,H);if(q)j.lspServers=q;return q?Object.keys(q).length:0}))]),J=P.reduce((j,q)=>j+q,0),L=S.reduce((j,q)=>j+q,0);w((j)=>({...j,plugins:{...j.plugins,enabled:z,disabled:B,commands:[],errors:n(j.plugins.errors,H),needsRefresh:!1},agentDefinitions:F,mcp:{...j.mcp,pluginReconnectKey:j.mcp.pluginReconnectKey+1}})),y();let N=!1;try{await M()}catch(j){N=!0,X(j),I(`refreshActivePlugins: loadPluginHooks failed: ${V(j)}`)}let Q=z.reduce((j,q)=>{if(!q.hooksConfig)return j;return j+Object.values(q.hooksConfig).reduce((k,A)=>k+(A?.reduce((D,b)=>D+b.hooks.length,0)??0),0)},0);return I(`refreshActivePlugins: ${z.length} enabled, ${E.length} commands, ${F.allAgents.length} agents, ${Q} hooks, ${J} MCP, ${L} LSP`),{enabled_count:z.length,disabled_count:B.length,command_count:E.length,agent_count:F.allAgents.length,hook_count:Q,mcp_count:J,lsp_count:L,error_count:H.length+(N?1:0),agentDefinitions:F,pluginCommands:E}}function n(w,G){let E=w.filter((B)=>B.source==="lsp-manager"||B.source.startsWith("plugin:")),F=new Set(G.map(T));return[...E.filter((B)=>!F.has(T(B))),...G]}function T(w){return w.type==="generic-error"?`generic-error:${w.source}:${w.error}`:`${w.type}:${w.source}`}var p=C(()=>{_();u();o();v();c();f();h();i();a();l();d();g();m();t()});
2
+ export{Lj as Jd,p as Kd};
@@ -0,0 +1,2 @@
1
+ import{D8 as v,E8 as C}from"./cli-1.0.16-s5y2vt2x.mjs";import{Tda as Z,Uda as V,sfa as x,tfa as Y}from"./cli-1.0.16-t2ky4p5s.mjs";import{Cha as W,Kha as O,yha as R}from"./cli-1.0.16-hpznp2f1.mjs";import{Via as Q,Wia as M}from"./cli-1.0.16-natadjxz.mjs";import{Dja as P,Ija as I,_ja as f,bka as L}from"./cli-1.0.16-04tr8fw7.mjs";import{Fka as H,yka as w}from"./cli-1.0.16-7hc7p9x4.mjs";import{Xqa as N,Yqa as F}from"./cli-1.0.16-0f0rbfq7.mjs";import{Kra as U,sra as X}from"./cli-1.0.16-fcfaz7s1.mjs";import{esa as h,hsa as B}from"./cli-1.0.16-y9yxyd77.mjs";import{hostname as E}from"os";function $(){return R(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await W(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await X.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{U();F();M();O();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
2
+ export{u as CW,n as DW,o as EW,t as FW,d as GW};
@@ -0,0 +1 @@
1
+ import{bia as q,dia as A,eia as x,fia as B}from"./cli-1.0.16-rfmqmp7n.mjs";import{Ija as J}from"./cli-1.0.16-04tr8fw7.mjs";import{Fka as G}from"./cli-1.0.16-7hc7p9x4.mjs";G();J();A();B();var F=x(()=>q.object({session_id:q.string(),ws_url:q.string(),work_dir:q.string().optional()}));
@@ -0,0 +1,12 @@
1
+ import{Ag as uZ,Bg as fz,zg as $Z}from"./cli-1.0.16-4a2x18jw.mjs";import{Fh as HJ,Gh as Vz}from"./cli-1.0.16-4vns6894.mjs";import{Qh as GJ,Rh as Bz}from"./cli-1.0.16-f4fr2jb2.mjs";import{BR as iQ,CR as lQ,DA as e0,DT as KQ,EA as gJ,ER as nZ,FA as mJ,FR as aQ,GA as nJ,GT as fZ,HA as yz,HR as g0,IR as rQ,Jn as zQ,Jy as pQ,KR as eJ,Kn as $z,Ky as PX,LR as ZQ,Lk as mZ,MR as oQ,Mk as FX,NR as tQ,PR as OZ,Rn as RQ,Ry as dQ,ST as BQ,Sn as wX,Sy as DX,Ys as NJ,Zx as $Q,_J as gQ,at as Uz,ay as AX,bk as _Z,ck as TQ,fo as XQ,ho as xZ,kk as IJ,lk as SJ,py as UQ,qy as jQ,ro as WQ,ry as uQ,sA as SZ,sk as pJ,sy as fQ,tA as hZ,uA as TZ,vA as dJ,vo as uz,wA as cQ,wy as MQ,xA as cJ,xR as nQ,xy as EQ,zT as VQ}from"./cli-1.0.16-pz654728.mjs";import{TU as xQ,aV as OX}from"./cli-1.0.16-zv0gp6y5.mjs";import{WX as FZ,XX as qJ,pY as YJ,tY as qz,uY as UZ,vY as NX}from"./cli-1.0.16-b475h1qv.mjs";import{A0 as KX,G0 as b,H0 as DQ,HZ as c0,I0 as g,J0 as JX,LZ as vZ,aZ as WJ,bZ as Wz,i0 as jZ,j0 as Jz,kZ as u0,l1 as p0,z0 as hQ}from"./cli-1.0.16-2thxt6pw.mjs";import{T3 as f0,U3 as B,V3 as $,W3 as F0}from"./cli-1.0.16-5axjzbba.mjs";import{X3 as S0}from"./cli-1.0.16-gydkk4pv.mjs";import{r4 as VJ,s4 as BJ,t4 as Yz}from"./cli-1.0.16-21yhbzk0.mjs";import{$7 as JQ,E7 as JZ,E8 as xz,H7 as QZ,j8 as QQ,y7 as PQ,z7 as ZX}from"./cli-1.0.16-s5y2vt2x.mjs";import{$8 as GX,_8 as gZ}from"./cli-1.0.16-g3xbjpm0.mjs";import{Fba as LX,Pca as LZ,Tea as HQ,Xca as XJ,f_ as v0,g_ as zJ,jba as SQ,yea as DZ}from"./cli-1.0.16-t2ky4p5s.mjs";import{Dga as PZ,Ega as TJ,Oga as ZZ,Vga as hz}from"./cli-1.0.16-x002k14w.mjs";import{Aia as NZ,Mia as Dz,iia as RZ,jia as Rz,uia as KZ,zia as wZ}from"./cli-1.0.16-pj0vcmv0.mjs";import{_ja as m0,bka as ez}from"./cli-1.0.16-04tr8fw7.mjs";import{Lka as IQ,Vka as HX}from"./cli-1.0.16-q2g1eds7.mjs";import{Vpa as kQ,yqa as BX}from"./cli-1.0.16-zsvkc5zm.mjs";import{dsa as N0,hsa as L0}from"./cli-1.0.16-y9yxyd77.mjs";function MZ(){if($0!==null)clearTimeout($0),$0=null;bZ=Date.now();for(let J of BZ)J()}function Qz(){if($0!==null)return;let J=Date.now()-bZ;if(J>=jZ){MZ();return}$0=setTimeout(MZ,jZ-J)}function iZ(){return EZ.useSyncExternalStore(s0.subscribe,s0.getSnapshot)}function TX(){return EZ.useSyncExternalStore(s0.subscribe,s0.getPresenceSnapshot)}var EZ,x0=null,BZ,$0=null,bZ=0,s0;var lZ=L0(()=>{Jz();EZ=N0(S0(),1),BZ=new Set;s0={update(J){let Z=x0;if(x0=J(Z),x0===Z)return;if(Z===null!==(x0===null))MZ();else Qz()},clear(){s0.update(()=>null)},read(){return x0},subscribe(J){return BZ.add(J),()=>{BZ.delete(J)}},getSnapshot(){return x0},getPresenceSnapshot(){return x0!==null},resetForTesting(){if($0!==null)clearTimeout($0),$0=null;x0=null,bZ=0,BZ.clear()}}});function sZ(J){let Z=HZ.c(6),{children:Q}=J,[z,X]=K0.useState(null),[W,q]=K0.useState(null),V;if(Z[0]!==Q||Z[1]!==W)V=B(oZ.Provider,{value:W,children:Q}),Z[0]=Q,Z[1]=W,Z[2]=V;else V=Z[2];let Y;if(Z[3]!==z||Z[4]!==V)Y=B(rZ.Provider,{value:X,children:B(tZ.Provider,{value:q,children:B(aZ.Provider,{value:z,children:V})})}),Z[3]=z,Z[4]=V,Z[5]=Y;else Y=Z[5];return Y}function eZ(){return K0.useContext(aZ)}function ZJ(){return K0.useContext(oZ)}function xX(J){let Z=HZ.c(8),Q=K0.useContext(rZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}function $X(J){let Z=HZ.c(8),Q=K0.useContext(tZ),z,X,W,q;if(Z[0]!==J||Z[1]!==Q)z=()=>{if(!Q)return;Q(J)},X=[Q,J],Z[0]=J,Z[1]=Q,Z[2]=z,Z[3]=X;else z=Z[2],X=Z[3];if(Z[4]!==Q)W=()=>{if(!Q)return;return()=>Q(null)},q=[Q],Z[4]=Q,Z[5]=W,Z[6]=q;else W=Z[5],q=Z[6];K0.useEffect(z,X),K0.useEffect(W,q)}var HZ,K0,aZ,rZ,oZ,tZ;var JJ=L0(()=>{F0();HZ=N0(u0(),1),K0=N0(S0(),1),aZ=K0.createContext(null),rZ=K0.createContext(null),oZ=K0.createContext(null),tZ=K0.createContext(null)});function GZ(J){return J.type==="attachment"&&Xz.has(J.attachment.type)}var zz,Xz;var CZ=L0(()=>{zz=["hook_success","hook_additional_context","hook_cancelled","command_permissions","agent_mention","budget_usd","critical_system_reminder","edited_image_file","edited_text_file","opened_file_in_ide","output_style","plan_mode","plan_mode_exit","plan_mode_reentry","structured_output","team_context","todo_reminder","context_efficiency","deferred_tools_delta","mcp_instructions_delta","companion_intro","token_usage","ultrathink_effort","max_turns_reached","task_reminder","auto_mode","auto_mode_exit","output_token_usage","pen_mode_enter","pen_mode_exit","verify_plan_reminder","current_session_memory","compaction_reminder","date_change","bash_git_instructions","claude_md_delta","git_status_delta","memory_delta","todo_reminder_delta"],Xz=new Set(zz)});import{fileURLToPath as Hz}from"url";function QW(J){let[Z,Q]=q0.useState(null),z=q0.useRef(J);z.current=J;let X=q0.useRef(null),W=q0.useCallback(()=>{Q(null)},[]),q=q0.useCallback((K)=>{let F=Math.max(0,K.getScrollHeight()-K.getViewportHeight());if(K.getScrollTop()+K.getPendingDelta()>=F)return;if(X.current===null)X.current=K.getScrollHeight(),Q(z.current)},[]),V=q0.useCallback((K)=>{if(!K)return;K.scrollToBottom()},[]);q0.useEffect(()=>{if(Z===null)X.current=null;else if(J<Z)X.current=null,Q(null)},[J,Z]);let Y=q0.useCallback((K,F)=>{if(Q((P)=>P===null?null:P+K),X.current!==null)X.current+=F},[]);return{dividerIndex:Z,dividerYRef:X,onScrollAway:q,onRepin:W,jumpToNew:V,shiftDivider:Y}}function Gz(J,Z){let Q=0,z=!1;for(let X=Z;X<J.length;X++){let W=J[X];if(W.type==="progress")continue;if(W.type==="assistant"&&!Lz(W))continue;let q=W.type==="assistant";if(q&&!z)Q++;z=q}return Q}function Lz(J){if(J.type!=="assistant")return!1;for(let Z of J.message.content)if(Z.type==="text"&&Z.text.trim()!=="")return!0;return!1}function zW(J,Z){if(Z===null)return;let Q=Z;while(Q<J.length&&(J[Q]?.type==="progress"||GZ(J[Q])))Q++;let z=J[Q]?.uuid;if(!z)return;let X=Gz(J,Z);return{firstUnseenUuid:z,count:Math.max(1,X)}}function XW(J){let Z=a0.c(47),{scrollable:Q,bottom:z,overlay:X,bottomFloat:W,modal:q,modalScrollRef:V,scrollRef:Y,dividerYRef:K,hidePill:F,hideSticky:P,newMessageCount:v,onPillClick:M}=J,S=F===void 0?!1:F,Z0=P===void 0?!1:P,d=v===void 0?0:v,{rows:O,columns:C}=FZ(),[_,w]=q0.useState(null),D;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))D={setStickyPrompt:w},Z[0]=D;else D=Z[0];let p=D,J0;if(Z[1]!==Y)J0=(h)=>Y?.current?.subscribe(h)??wz,Z[1]=Y,Z[2]=J0;else J0=Z[2];let E=J0,k;if(Z[3]!==K||Z[4]!==Y)k=()=>{let h=Y?.current,z0=K?.current;if(!h||z0==null)return!1;return h.getScrollTop()+h.getPendingDelta()+h.getViewportHeight()<z0},Z[3]=K,Z[4]=Y,Z[5]=k;else k=Z[5];let H0=q0.useSyncExternalStore(E,k),Y0;if(Z[6]===Symbol.for("react.memo_cache_sentinel"))Y0=[],Z[6]=Y0;else Y0=Z[6];if(q0.useLayoutEffect(Fz,Y0),c0()){let h=Z0?null:_,z0=h!=null&&h!=="clicked"&&X==null?h:null,Q0=h!=null&&X==null,X0;if(Z[7]!==z0)X0=z0&&B(Oz,{text:z0.text,onClick:z0.scrollTo}),Z[7]=z0,Z[8]=X0;else X0=Z[8];let O0=Q0?0:1,T;if(Z[9]!==Q)T=B(yZ,{value:p,children:Q}),Z[9]=Q,Z[10]=T;else T=Z[10];let i;if(Z[11]!==X||Z[12]!==Y||Z[13]!==T||Z[14]!==O0)i=$(GJ,{ref:Y,flexGrow:1,flexDirection:"column",paddingTop:O0,stickyScroll:!0,children:[T,X]}),Z[11]=X,Z[12]=Y,Z[13]=T,Z[14]=O0,Z[15]=i;else i=Z[15];let o;if(Z[16]!==S||Z[17]!==d||Z[18]!==M||Z[19]!==X||Z[20]!==H0)o=!S&&H0&&X==null&&B(Nz,{count:d,onClick:M}),Z[16]=S,Z[17]=d,Z[18]=M,Z[19]=X,Z[20]=H0,Z[21]=o;else o=Z[21];let t;if(Z[22]!==W)t=W!=null&&B(b,{position:"absolute",bottom:0,right:0,opaque:!0,children:W}),Z[22]=W,Z[23]=t;else t=Z[23];let I;if(Z[24]!==i||Z[25]!==o||Z[26]!==t||Z[27]!==X0)I=$(b,{flexGrow:1,flexDirection:"column",overflow:"hidden",children:[X0,i,o,t]}),Z[24]=i,Z[25]=o,Z[26]=t,Z[27]=X0,Z[28]=I;else I=Z[28];let W0,N;if(Z[29]===Symbol.for("react.memo_cache_sentinel"))W0=B(Az,{}),N=B(Pz,{}),Z[29]=W0,Z[30]=N;else W0=Z[29],N=Z[30];let U;if(Z[31]!==z)U=$(b,{flexDirection:"column",flexShrink:0,width:"100%",maxHeight:"50%",children:[W0,N,B(b,{flexDirection:"column",width:"100%",flexGrow:1,overflowY:"hidden",children:z})]}),Z[31]=z,Z[32]=U;else U=Z[32];let R;if(Z[33]!==C||Z[34]!==q||Z[35]!==V||Z[36]!==O)R=q!=null&&B(YJ,{value:{rows:O-QJ-1,columns:C-4,scrollRef:V??null},children:$(b,{position:"absolute",bottom:0,left:0,right:0,maxHeight:O-QJ,flexDirection:"column",overflow:"hidden",opaque:!0,children:[B(b,{flexShrink:0,children:B(g,{color:"permission",children:"▔".repeat(C)})}),B(b,{flexDirection:"column",paddingX:2,flexShrink:0,overflow:"hidden",children:q})]})}),Z[33]=C,Z[34]=q,Z[35]=V,Z[36]=O,Z[37]=R;else R=Z[37];let s;if(Z[38]!==I||Z[39]!==U||Z[40]!==R)s=$(sZ,{children:[I,U,R]}),Z[38]=I,Z[39]=U,Z[40]=R,Z[41]=s;else s=Z[41];return s}let l;if(Z[42]!==z||Z[43]!==q||Z[44]!==X||Z[45]!==Q)l=$(f0,{children:[Q,z,X,q]}),Z[42]=z,Z[43]=q,Z[44]=X,Z[45]=Q,Z[46]=l;else l=Z[46];return l}function Fz(){if(!c0())return;let J=WJ.get(process.stdout);if(!J)return;return J.onHyperlinkClick=Kz,()=>{J.onHyperlinkClick=void 0}}function Kz(J){if(J.startsWith("file:"))try{VJ(Hz(J))}catch{}else BJ(J)}function wz(){}function Nz(J){let Z=a0.c(10),{count:Q,onClick:z}=J,[X,W]=q0.useState(!1),q,V;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=()=>W(!0),V=()=>W(!1),Z[0]=q,Z[1]=V;else q=Z[0],V=Z[1];let Y=X?"userMessageBackgroundHover":"userMessageBackground",K;if(Z[2]!==Q)K=Q>0?`${Q} new ${LZ(Q,"message")}`:"Jump to bottom",Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==Y||Z[5]!==K)F=$(g,{backgroundColor:Y,dimColor:!0,children:[" ",K," ",v0.arrowDown," "]}),Z[4]=Y,Z[5]=K,Z[6]=F;else F=Z[6];let P;if(Z[7]!==z||Z[8]!==F)P=B(b,{position:"absolute",bottom:0,left:0,right:0,justifyContent:"center",children:B(b,{onClick:z,onMouseEnter:q,onMouseLeave:V,children:F})}),Z[7]=z,Z[8]=F,Z[9]=P;else P=Z[9];return P}function Oz(J){let Z=a0.c(8),{text:Q,onClick:z}=J,[X,W]=q0.useState(!1),q=X?"userMessageBackgroundHover":"userMessageBackground",V,Y;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))V=()=>W(!0),Y=()=>W(!1),Z[0]=V,Z[1]=Y;else V=Z[0],Y=Z[1];let K;if(Z[2]!==Q)K=$(g,{color:"subtle",wrap:"truncate-end",children:[v0.pointer," ",Q]}),Z[2]=Q,Z[3]=K;else K=Z[3];let F;if(Z[4]!==z||Z[5]!==q||Z[6]!==K)F=B(b,{flexShrink:0,width:"100%",height:1,paddingRight:1,backgroundColor:q,onClick:z,onMouseEnter:V,onMouseLeave:Y,children:K}),Z[4]=z,Z[5]=q,Z[6]=K,Z[7]=F;else F=Z[7];return F}function Az(){let J=a0.c(4),Z=eZ();if(!Z||Z.suggestions.length===0)return null;let Q;if(J[0]!==Z.maxColumnWidth||J[1]!==Z.selectedSuggestion||J[2]!==Z.suggestions)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,paddingX:2,paddingTop:1,flexDirection:"column",opaque:!0,children:B(HJ,{suggestions:Z.suggestions,selectedSuggestion:Z.selectedSuggestion,maxColumnWidth:Z.maxColumnWidth,overlay:!0})}),J[0]=Z.maxColumnWidth,J[1]=Z.selectedSuggestion,J[2]=Z.suggestions,J[3]=Q;else Q=J[3];return Q}function Pz(){let J=a0.c(2),Z=ZJ();if(!Z)return null;let Q;if(J[0]!==Z)Q=B(b,{position:"absolute",bottom:"100%",left:0,right:0,opaque:!0,children:Z}),J[0]=Z,J[1]=Q;else Q=J[1];return Q}var a0,q0,QJ=2,yZ;var LJ=L0(()=>{zJ();qz();JJ();qJ();Bz();Wz();p0();Yz();vZ();XJ();CZ();Vz();F0();a0=N0(u0(),1),q0=N0(S0(),1),yZ=q0.createContext({setStickyPrompt:()=>{}})});function FJ(J,Z){for(let Q of J)if(!Z.has(Q))return!1;return!0}var KJ=()=>{};function wJ(J){if(J.type!=="user")return!1;let Z=J.message.content[0];if(Z?.type!=="text")return!1;if(!Z.text.includes(`<${KZ}`))return!1;if(_Z(Z.text,wZ)!=="completed")return!1;return _Z(Z.text,NZ)?.startsWith(NJ)??!1}function OJ(J,Z){if(!c0())return J;if(Z)return J;let Q=[],z=0;while(z<J.length){let X=J[z];if(wJ(X)){let W=0;while(z<J.length&&wJ(J[z]))W++,z++;if(W===1)Q.push(X);else Q.push({...X,message:{role:"user",content:[{type:"text",text:`<${KZ}><${wZ}>completed</${wZ}><${NZ}>${W} background commands completed</${NZ}></${KZ}>`}]}})}else Q.push(X),z++}return Q}var AJ=L0(()=>{Dz();Uz();vZ();OZ()});function PJ(J){return J.type==="system"&&J.subtype==="stop_hook_summary"&&J.hookLabel!==void 0}function DJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(PJ(z)){let X=z.hookLabel,W=[];while(Q<J.length){let q=J[Q];if(!PJ(q)||q.hookLabel!==X)break;W.push(q),Q++}if(W.length===1)Z.push(z);else Z.push({...z,hookCount:W.reduce((q,V)=>q+V.hookCount,0),hookInfos:W.flatMap((q)=>q.hookInfos),hookErrors:W.flatMap((q)=>q.hookErrors),preventedContinuation:W.some((q)=>q.preventedContinuation),hasOutput:W.some((q)=>q.hasOutput),totalDurationMs:Math.max(...W.map((q)=>q.totalDurationMs??0))})}else Z.push(z),Q++}return Z}var UJ=()=>{};function jJ(J){return J.type==="attachment"&&J.attachment.type==="task_status"&&J.attachment.taskType==="in_process_teammate"&&J.attachment.status==="completed"}function MJ(J){let Z=[],Q=0;while(Q<J.length){let z=J[Q];if(jJ(z)){let X=0;while(Q<J.length&&jJ(J[Q]))X++,Q++;if(X===1)Z.push(z);else Z.push({type:"attachment",uuid:z.uuid,timestamp:z.timestamp,attachment:{type:"teammate_shutdown_batch",count:X}})}else Z.push(z),Q++}return Z}var EJ=()=>{};function jz(J){let Z=bJ.get(J);if(!Z)Z=new Set(J.filter((Q)=>Q.renderGroupedToolUse).map((Q)=>Q.name)),bJ.set(J,Z);return Z}function kZ(J){if(J.type==="assistant"&&J.message.content[0]?.type==="tool_use"){let Z=J.message.content[0];return{messageId:J.message.id,toolUseId:Z.id,toolName:Z.name}}return null}function CJ(J,Z,Q=!1){if(Q)return{messages:J};let z=jz(Z),X=new Map;for(let F of J){let P=kZ(F);if(P&&z.has(P.toolName)){let v=`${P.messageId}:${P.toolName}`,M=X.get(v)??[];M.push(F),X.set(v,M)}}let W=new Map,q=new Set;for(let[F,P]of X)if(P.length>=2){W.set(F,P);for(let v of P){let M=kZ(v);if(M)q.add(M.toolUseId)}}let V=new Map;for(let F of J)if(F.type==="user"){for(let P of F.message.content)if(P.type==="tool_result"&&q.has(P.tool_use_id))V.set(P.tool_use_id,F)}let Y=[],K=new Set;for(let F of J){let P=kZ(F);if(P){let v=`${P.messageId}:${P.toolName}`,M=W.get(v);if(M){if(!K.has(v)){K.add(v);let S=M[0],Z0=[];for(let O of M){let C=O.message.content[0].id,_=V.get(C);if(_)Z0.push(_)}let d={type:"grouped_tool_use",toolName:P.toolName,messages:M,results:Z0,displayMessage:S,uuid:`grouped-${S.uuid}`,timestamp:S.timestamp,messageId:P.messageId};Y.push(d)}continue}}if(F.type==="user"){let v=F.message.content.filter((M)=>M.type==="tool_result");if(v.length>0){if(v.every((S)=>q.has(S.tool_use_id)))continue}}Y.push(F)}return{messages:Y}}var bJ;var vJ=L0(()=>{bJ=new WeakMap});function AZ(J){let Z=kJ.get(J);if(Z!==void 0)return Z;let Q=Mz(J).toLowerCase();return kJ.set(J,Q),Q}function Mz(J){let Z="";switch(J.type){case"user":{let X=J.message.content;if(typeof X==="string")Z=_J.has(X)?"":X;else{let W=[];for(let q of X)if(q.type==="text"){if(!_J.has(q.text))W.push(q.text)}else if(q.type==="tool_result")W.push(bz(J.toolUseResult));Z=W.join(`
2
+ `)}break}case"assistant":{let X=J.message.content;if(Array.isArray(X))Z=X.flatMap((W)=>{if(W.type==="text")return[W.text];if(W.type==="tool_use")return[Ez(W.input)];return[]}).join(`
3
+ `);break}case"attachment":{if(J.attachment.type==="relevant_memories")Z=J.attachment.memories.map((X)=>X.content).join(`
4
+ `);else if(J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let X=J.attachment.prompt;Z=typeof X==="string"?X:X.flatMap((W)=>W.type==="text"?[W.text]:[]).join(`
5
+ `)}break}case"collapsed_read_search":{if(J.relevantMemories)Z=J.relevantMemories.map((X)=>X.content).join(`
6
+ `);break}default:break}let Q=Z,z=Q.indexOf("<system-reminder>");while(z>=0){let X=Q.indexOf(yJ,z);if(X<0)break;Q=Q.slice(0,z)+Q.slice(X+yJ.length),z=Q.indexOf("<system-reminder>")}return Q}function Ez(J){if(!J||typeof J!=="object")return"";let Z=J,Q=[];for(let z of["command","pattern","file_path","path","prompt","description","query","url","skill"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["args","files"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(" "))}return Q.join(`
7
+ `)}function bz(J){if(!J||typeof J!=="object")return typeof J==="string"?J:"";let Z=J;if(typeof Z.stdout==="string"){let z=typeof Z.stderr==="string"?Z.stderr:"";return Z.stdout+(z?`
8
+ `+z:"")}if(Z.file&&typeof Z.file==="object"&&typeof Z.file.content==="string")return Z.file.content;let Q=[];for(let z of["content","output","result","text","message"]){let X=Z[z];if(typeof X==="string")Q.push(X)}for(let z of["filenames","lines","results"]){let X=Z[z];if(Array.isArray(X)&&X.every((W)=>typeof W==="string"))Q.push(X.join(`
9
+ `))}return Q.join(`
10
+ `)}var yJ="</system-reminder>",_J,kJ;var IZ=L0(()=>{OZ();_J=new Set([IJ,SJ]),kJ=new WeakMap});function RJ(J){let Z=hJ.c(5),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.type==="assistant"&&Q.message.model&&Q.message.content.some(Cz)))return null;let W=PZ(Q.message.model)+8,q;if(Z[0]!==Q.message.model)q=B(g,{dimColor:!0,children:Q.message.model}),Z[0]=Q.message.model,Z[1]=q;else q=Z[1];let V;if(Z[2]!==W||Z[3]!==q)V=B(b,{minWidth:W,children:q}),Z[2]=W,Z[3]=q,Z[4]=V;else V=Z[4];return V}function Cz(J){return J.type==="text"}var hJ;var xJ=L0(()=>{TJ();p0();F0();hJ=N0(u0(),1)});function uJ(J){let Z=$J.c(10),{message:Q,isTranscriptMode:z}=J;if(!(z&&Q.timestamp&&Q.type==="assistant"&&Q.message.content.some(vz)))return null;let W,q,V;if(Z[0]!==Q.timestamp)q=new Date(Q.timestamp).toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!0}),W=b,V=PZ(q),Z[0]=Q.timestamp,Z[1]=W,Z[2]=q,Z[3]=V;else W=Z[1],q=Z[2],V=Z[3];let Y;if(Z[4]!==q)Y=B(g,{dimColor:!0,children:q}),Z[4]=q,Z[5]=Y;else Y=Z[5];let K;if(Z[6]!==W||Z[7]!==V||Z[8]!==Y)K=B(W,{minWidth:V,children:Y}),Z[6]=W,Z[7]=V,Z[8]=Y,Z[9]=K;else K=Z[9];return K}function vz(J){return J.type==="text"}var $J;var fJ=L0(()=>{TJ();p0();F0();$J=N0(u0(),1)});function aJ(J,Z,Q,z){for(let X=Z+1;X<J.length;X++){let W=J[X];if(W?.type==="assistant"){let q=W.message.content[0];if(q?.type==="thinking"||q?.type==="redacted_thinking")continue;if(q?.type==="tool_use"){if(SZ(q.name,q.input,Q).isCollapsible)continue;if(z.has(q.id))continue}return!0}if(W?.type==="system"||W?.type==="attachment")continue;if(W?.type==="user"){if(W.message.content[0]?.type==="tool_result")continue}if(W?.type==="grouped_tool_use"){let q=W.messages[0]?.message.content[0]?.input;if(SZ(W.toolName,q,Q).isCollapsible)continue}return!0}return!1}function _z(J){let Z=iJ.c(64),{message:Q,isUserContinuation:z,hasContentAfter:X,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,streamingToolUseIDs:K,screen:F,canAnimate:P,onOpenRateLimitOptions:v,lastThinkingBlockId:M,latestBashOutputUUID:S,columns:Z0,isLoading:d,lookups:O}=J,C=F==="transcript",_=Q.type==="grouped_tool_use",w=Q.type==="collapsed_read_search",D;if(Z[0]!==X||Z[1]!==Y||Z[2]!==w||Z[3]!==d||Z[4]!==Q)D=w&&(TZ(Q,Y)||d&&!X),Z[0]=X,Z[1]=Y,Z[2]=w,Z[3]=d,Z[4]=Q,Z[5]=D;else D=Z[5];let p=D,J0;if(Z[6]!==w||Z[7]!==_||Z[8]!==Q)J0=_?Q.displayMessage:w?dJ(Q):Q,Z[6]=w,Z[7]=_,Z[8]=Q,Z[9]=J0;else J0=Z[9];let E=J0,k;if(Z[10]!==w||Z[11]!==_||Z[12]!==O||Z[13]!==Q)k=_||w?[]:ZQ(Q,O),Z[10]=w,Z[11]=_,Z[12]=O,Z[13]=Q,Z[14]=k;else k=Z[14];let H0=k,Y0;if(Z[15]!==Y||Z[16]!==w||Z[17]!==_||Z[18]!==O||Z[19]!==Q||Z[20]!==F||Z[21]!==K){let I=_||w?pJ:eJ(Q,O);Y0=tJ(Q,K,Y,I,F,O),Z[15]=Y,Z[16]=w,Z[17]=_,Z[18]=O,Z[19]=Q,Z[20]=F,Z[21]=K,Z[22]=Y0}else Y0=Z[22];let l=Y0,h=!1;if(P)if(_){let I;if(Z[23]!==Y||Z[24]!==Q.messages){let W0;if(Z[26]!==Y)W0=(N)=>{let U=N.message.content[0];return U?.type==="tool_use"&&Y.has(U.id)},Z[26]=Y,Z[27]=W0;else W0=Z[27];I=Q.messages.some(W0),Z[23]=Y,Z[24]=Q.messages,Z[25]=I}else I=Z[25];h=I}else if(w){let I;if(Z[28]!==Y||Z[29]!==Q)I=TZ(Q,Y),Z[28]=Y,Z[29]=Q,Z[30]=I;else I=Z[30];h=I}else{let I;if(Z[31]!==Y||Z[32]!==Q){let W0=g0(Q);I=!W0||Y.has(W0),Z[31]=Y,Z[32]=Q,Z[33]=I}else I=Z[33];h=I}let z0;if(Z[34]!==E||Z[35]!==C)z0=C&&E.type==="assistant"&&E.message.content.some(kz)&&(E.timestamp||E.message.model),Z[34]=E,Z[35]=C,Z[36]=z0;else z0=Z[36];let Q0=z0,X0=!Q0,O0=Q0?void 0:Z0,T;if(Z[37]!==q||Z[38]!==Y||Z[39]!==p||Z[40]!==l||Z[41]!==C||Z[42]!==z||Z[43]!==M||Z[44]!==S||Z[45]!==O||Z[46]!==Q||Z[47]!==v||Z[48]!==H0||Z[49]!==h||Z[50]!==X0||Z[51]!==O0||Z[52]!==W||Z[53]!==V)T=B(nJ,{message:Q,lookups:O,addMargin:X0,containerWidth:O0,tools:W,commands:q,verbose:V,inProgressToolUseIDs:Y,progressMessagesForMessage:H0,shouldAnimate:h,shouldShowDot:!0,isTranscriptMode:C,isStatic:l,onOpenRateLimitOptions:v,isActiveCollapsedGroup:p,isUserContinuation:z,lastThinkingBlockId:M,latestBashOutputUUID:S}),Z[37]=q,Z[38]=Y,Z[39]=p,Z[40]=l,Z[41]=C,Z[42]=z,Z[43]=M,Z[44]=S,Z[45]=O,Z[46]=Q,Z[47]=v,Z[48]=H0,Z[49]=h,Z[50]=X0,Z[51]=O0,Z[52]=W,Z[53]=V,Z[54]=T;else T=Z[54];let i=T;if(!Q0){let I;if(Z[55]!==i)I=B(e0,{children:i}),Z[55]=i,Z[56]=I;else I=Z[56];return I}let o;if(Z[57]!==E||Z[58]!==C)o=$(b,{flexDirection:"row",justifyContent:"flex-end",gap:1,marginTop:1,children:[B(uJ,{message:E,isTranscriptMode:C}),B(RJ,{message:E,isTranscriptMode:C})]}),Z[57]=E,Z[58]=C,Z[59]=o;else o=Z[59];let t;if(Z[60]!==Z0||Z[61]!==i||Z[62]!==o)t=B(e0,{children:$(b,{width:Z0,flexDirection:"column",children:[o,i]})}),Z[60]=Z0,Z[61]=i,Z[62]=o,Z[63]=t;else t=Z[63];return t}function kz(J){return J.type==="text"}function Iz(J,Z){if(J.type==="grouped_tool_use")return J.messages.some((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return hZ(J).some((X)=>Z.has(X));let Q=g0(J);return!!Q&&Z.has(Q)}function Sz(J,Z){if(J.type==="grouped_tool_use")return J.messages.every((z)=>{let X=z.message.content[0];return X?.type==="tool_use"&&Z.has(X.id)});if(J.type==="collapsed_read_search")return hZ(J).every((X)=>Z.has(X));if(J.type==="assistant"){let z=J.message.content[0];if(z?.type==="server_tool_use")return Z.has(z.id)}let Q=g0(J);return!Q||Z.has(Q)}function Tz(J,Z){if(J.message!==Z.message)return!1;if(J.screen!==Z.screen)return!1;if(J.verbose!==Z.verbose)return!1;if(J.message.type==="collapsed_read_search"&&Z.screen!=="transcript")return!1;if(J.columns!==Z.columns)return!1;let Q=J.latestBashOutputUUID===J.message.uuid,z=Z.latestBashOutputUUID===Z.message.uuid;if(Q!==z)return!1;if(J.lastThinkingBlockId!==Z.lastThinkingBlockId&&mJ(Z.message))return!1;let X=Iz(J.message,J.streamingToolUseIDs),W=Sz(J.message,J.lookups.resolvedToolUseIDs);if(X||!W)return!1;return!0}var iJ,lJ,rJ;var oJ=L0(()=>{p0();cJ();OZ();yz();xJ();sJ();fJ();gJ();F0();iJ=N0(u0(),1),lJ=N0(S0(),1);rJ=lJ.memo(_z,Tz)});import{relative as pz}from"path";function qQ(J){return lz.filter((Z)=>Z.isActive(J))}var dz,cz,gz,mz,nz,iz,lz;var YQ=L0(()=>{p0();BQ();zJ();Rz();hz();xz();fz();uz();$z();F0();dz={id:"large-memory-files",type:"warning",isActive:(J)=>fZ(J.memoryFiles).length>0,render:(J)=>{let Z=fZ(J.memoryFiles);return B(f0,{children:Z.map((Q)=>{let z=Q.path.startsWith(RZ())?pz(RZ(),Q.path):Q.path;return $(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large ",B(g,{bold:!0,children:z})," will impact performance (",ZZ(Q.content.length)," chars >"," ",ZZ(VQ),")",B(g,{dimColor:!0,children:" · /memory to edit"})]})]},Q.path)})})}},cz={id:"claude-ai-external-token",type:"warning",isActive:()=>{let J=JZ();return QQ()&&(J.source==="ANTHROPIC_AUTH_TOKEN"||J.source==="apiKeyHelper")},render:()=>{let J=JZ();return $(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J.source," instead of Claude account subscription token. Either unset ",J.source,", or run `claude /logout`."]})]})}},gz={id:"api-key-conflict",type:"warning",isActive:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0});return!!JQ()&&(J==="ANTHROPIC_API_KEY"||J==="apiKeyHelper")},render:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0});return $(b,{flexDirection:"row",marginTop:1,children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Using ",J," instead of Anthropic Console key. Either unset ",J,", or run `claude /logout`."]})]})}},mz={id:"both-auth-methods",type:"warning",isActive:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=JZ();return J!=="none"&&Z.source!=="none"&&!(J==="apiKeyHelper"&&Z.source==="apiKeyHelper")},render:()=>{let{source:J}=QZ({skipRetrievingKeyFromApiKeyHelper:!0}),Z=JZ();return $(b,{flexDirection:"column",marginTop:1,children:[$(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Auth conflict: Both a token (",Z.source,") and an API key (",J,") are set. This may lead to unexpected behavior."]})]}),$(b,{flexDirection:"column",marginLeft:3,children:[$(g,{color:"warning",children:["· Trying to use"," ",Z.source==="claude.ai"?"claude.ai":Z.source,"?"," ",J==="ANTHROPIC_API_KEY"?'Unset the ANTHROPIC_API_KEY environment variable, or claude /logout then say "No" to the API key approval before login.':J==="apiKeyHelper"?"Unset the apiKeyHelper setting.":"claude /logout"]}),$(g,{color:"warning",children:["· Trying to use ",J,"?"," ",Z.source==="claude.ai"?"claude /logout to sign out of claude.ai.":`Unset the ${Z.source} environment variable.`]})]})]})}},nz={id:"large-agent-descriptions",type:"warning",isActive:(J)=>{return uZ(J.agentDefinitions)>$Z},render:(J)=>{let Z=uZ(J.agentDefinitions);return $(b,{flexDirection:"row",children:[B(g,{color:"warning",children:v0.warning}),$(g,{color:"warning",children:["Large cumulative agent descriptions will impact performance (~",ZZ(Z)," tokens >"," ",ZZ($Z),")",B(g,{dimColor:!0,children:" · /agents to manage"})]})]})}},iz={id:"jetbrains-plugin-install",type:"info",isActive:(J)=>{if(!XQ())return!1;if(!(J.config.autoInstallIdeExtension??!0))return!1;let Q=xZ();return Q!==null&&!zQ(Q)},render:()=>{let J=xZ(),Z=WQ(J);return $(b,{flexDirection:"row",gap:1,marginLeft:1,children:[B(g,{color:"ide",children:v0.arrowUp}),$(g,{children:["Install the ",B(g,{color:"ide",children:Z})," plugin from the JetBrains Marketplace:"," ",B(g,{bold:!0,children:"https://docs.claude.com/s/claude-code-jetbrains"})]})]})}},lz=[dz,nz,cz,gz,mz,iz]});async function az(){if(zZ)return zZ;return zZ=KQ().then((J)=>{XZ=J}).finally(()=>{zZ=null}),zZ}function LQ(J){let Z=GQ.c(8),{agentDefinitions:Q}=J===void 0?{}:J,[z,X]=r0.useState(XZ),W;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))W=()=>{if(XZ.length>0){X(XZ);return}az().then(()=>{X(XZ)})},Z[0]=W;else W=Z[0];r0.useEffect(W,[W]);let V={config:DZ(),agentDefinitions:Q,memoryFiles:z},Y=qQ(V);if(Y.length===0)return null;let K=b,F="column",P=1,v=Y.map((S)=>B(r0.Fragment,{children:S.render(V)},S.id)),M;if(Z[1]!==K||Z[2]!==v)M=B(K,{flexDirection:F,paddingLeft:P,children:v}),Z[1]=K,Z[2]=v,Z[3]=M;else M=Z[3];return M}var GQ,r0,XZ,zZ=null;var FQ=L0(()=>{p0();BQ();HQ();YQ();F0();GQ=N0(u0(),1),r0=N0(S0(),1),XZ=[]});function wQ(J,Z,Q){let z=m.useRef(new Map),X=m.useRef(0),W=m.useRef(0),q=m.useRef({arr:new Float64Array(0),version:-1,n:-1}),V=m.useRef(new Map),Y=m.useRef(new Map),K=m.useRef(Q),F=m.useRef(!1),P=m.useRef(null),v=m.useRef(0);if(K.current!==Q){let N=K.current/Q;K.current=Q;for(let[U,R]of z.current)z.current.set(U,Math.max(1,Math.round(R*N)));X.current++,F.current=!0,v.current=2}let M=v.current>0?P.current:null,S=m.useRef(0),Z0=m.useRef(null),d=m.useCallback((N)=>J.current?.subscribe(N)??sz,[J]);m.useSyncExternalStore(d,()=>{let N=J.current;if(!N)return NaN;let U=N.getScrollTop()+N.getPendingDelta(),R=Math.floor(U/tz);return N.isSticky()?~R:R});let O=J.current?.getScrollTop()??-1,C=J.current?.getPendingDelta()??0,_=J.current?.getViewportHeight()??0,w=J.current?.isSticky()??!0;m.useMemo(()=>{let N=new Set(Z),U=!1;for(let R of z.current.keys())if(!N.has(R))z.current.delete(R),U=!0;for(let R of Y.current.keys())if(!N.has(R))Y.current.delete(R);if(U)X.current++},[Z]);let D=Z.length;if(q.current.version!==X.current||q.current.n!==D){let N=q.current.arr.length>=D+1?q.current.arr:new Float64Array(D+1);N[0]=0;for(let U=0;U<D;U++)N[U+1]=N[U]+(z.current.get(Z[U])??rz);q.current={arr:N,version:X.current,n:D}}let p=q.current.arr,J0=p[D],E,k;if(M)[E,k]=M,E=Math.min(E,D),k=Math.min(k,D);else if(_===0||O<0)E=Math.max(0,D-oz),k=D;else{if(w){let V0=_+o0;E=D;while(E>0&&J0-p[E-1]<V0)E--;k=D}else{let V0=S.current,G0=_*3,M0=Math.min(O,O+C),n0=Math.max(O,O+C),y0=n0-M0,D0=y0>G0?C<0?n0-G0:M0:M0,T0=D0+Math.min(y0,G0),i0=Math.max(0,D0-V0),h0=T0-V0,b0=i0-o0;{let H=0,L=D;while(H<L){let A=H+L>>1;if(p[A+1]<=b0)H=A+1;else L=A}E=H}{let H=P.current;if(H&&H[0]<E)for(let L=H[0];L<Math.min(E,H[1]);L++){let A=Z[L];if(V.current.has(A)&&!z.current.has(A)){E=L;break}}}let l0=_+2*o0,t0=Math.min(D,E+WZ),_0=0;k=E;while(k<t0&&(_0<l0||p[k]<h0+_+o0))_0+=z.current.get(Z[k])??pZ,k++}let N=_+2*o0,U=Math.max(0,k-WZ),R=0;for(let V0=E;V0<k;V0++)R+=z.current.get(Z[V0])??pZ;while(E>U&&R<N)E--,R+=z.current.get(Z[E])??pZ;let s=P.current,A0=Math.abs(O-W.current)+Math.abs(C);if(s&&A0>_*2){let[V0,G0]=s;if(E<V0-qZ)E=V0-qZ;if(k>G0+qZ)k=G0+qZ;if(E>k)k=Math.min(E+qZ,D)}W.current=O}if(v.current>0)v.current--;else P.current=[E,k];let H0=m.useDeferredValue(E),Y0=m.useDeferredValue(k),l=E<H0?H0:E,h=k>Y0?Y0:k;if(l>h||w)l=E,h=k;if(C>0)h=k;if(h-l>WZ){let N=(p[l]+p[h])/2;if(O-S.current<N)h=l+WZ;else l=h-WZ}let z0=S.current,Q0=p[l],X0=l===0?0:Q0+z0,O0=h===D?1/0:Math.max(Q0,p[h]-_)+z0;m.useLayoutEffect(()=>{if(w)J.current?.setClampBounds(void 0,void 0);else J.current?.setClampBounds(X0,O0)}),m.useLayoutEffect(()=>{let N=Z0.current?.yogaNode;if(N&&N.getComputedWidth()>0)S.current=N.getComputedTop();if(F.current){F.current=!1;return}let U=!1;for(let[R,s]of V.current){let A0=s.yogaNode;if(!A0)continue;let V0=A0.getComputedHeight(),G0=z.current.get(R);if(V0>0){if(G0!==V0)z.current.set(R,V0),U=!0}else if(A0.getComputedWidth()>0&&G0!==0)z.current.set(R,0),U=!0}if(U)X.current++});let T=m.useCallback((N)=>{let U=Y.current.get(N);if(!U)U=(R)=>{if(R)V.current.set(N,R);else{let s=V.current.get(N)?.yogaNode;if(s&&!F.current){let A0=s.getComputedHeight();if((A0>0||s.getComputedWidth()>0)&&z.current.get(N)!==A0)z.current.set(N,A0),X.current++}V.current.delete(N)}},Y.current.set(N,U);return U},[]),i=m.useCallback((N)=>{let U=V.current.get(Z[N])?.yogaNode;if(!U||U.getComputedWidth()===0)return-1;return U.getComputedTop()},[Z]),o=m.useCallback((N)=>V.current.get(Z[N])??null,[Z]),t=m.useCallback((N)=>z.current.get(Z[N]),[Z]),I=m.useCallback((N)=>{let U=q.current;if(N<0||N>=U.n)return;J.current?.scrollTo(U.arr[N]+S.current)},[J]),W0=J0-p[h];return{range:[l,h],topSpacer:Q0,bottomSpacer:W0,measureRef:T,spacerRef:Z0,offsets:p,getItemTop:i,getItemElement:o,getItemHeight:t,scrollToIndex:I}}var m,rz=3,o0=80,oz=30,tz,pZ=1,WZ=300,qZ=25,sz=()=>{};var NQ=L0(()=>{m=N0(S0(),1),tz=o0>>1});function QX(J){let Z=OQ.get(J);if(Z!==void 0)return Z;let Q=AZ(J);return OQ.set(J,Q),Q}function XX(J){let Z=AQ.get(J);if(Z!==void 0)return Z;let Q=WX(J);return AQ.set(J,Q),Q}function WX(J){let Z=null;if(J.type==="user"){if(J.isMeta||J.isVisibleInTranscriptOnly)return null;let z=J.message.content[0];if(z?.type!=="text")return null;Z=z.text}else if(J.type==="attachment"&&J.attachment.type==="queued_command"&&J.attachment.commandMode!=="task-notification"&&!J.attachment.isMeta){let z=J.attachment.prompt;Z=typeof z==="string"?z:z.flatMap((X)=>X.type==="text"?[X.text]:[]).join(`
11
+ `)}if(Z===null)return null;let Q=MQ(Z);if(Q.startsWith("<")||Q==="")return null;return Q}function qX(J){let Z=bQ.c(30),{itemKey:Q,msg:z,idx:X,measureRef:W,expanded:q,hovered:V,clickable:Y,onClickK:K,onEnterK:F,onLeaveK:P,renderItem:v}=J,M;if(Z[0]!==Q||Z[1]!==W)M=W(Q),Z[0]=Q,Z[1]=W,Z[2]=M;else M=Z[2];let S=q?"userMessageBackgroundHover":void 0,Z0=q?1:void 0,d;if(Z[3]!==Y||Z[4]!==z||Z[5]!==K)d=Y?(J0)=>K(z,J0.cellIsBlank):void 0,Z[3]=Y,Z[4]=z,Z[5]=K,Z[6]=d;else d=Z[6];let O;if(Z[7]!==Y||Z[8]!==Q||Z[9]!==F)O=Y?()=>F(Q):void 0,Z[7]=Y,Z[8]=Q,Z[9]=F,Z[10]=O;else O=Z[10];let C;if(Z[11]!==Y||Z[12]!==Q||Z[13]!==P)C=Y?()=>P(Q):void 0,Z[11]=Y,Z[12]=Q,Z[13]=P,Z[14]=C;else C=Z[14];let _=V&&!q?"text":void 0,w;if(Z[15]!==X||Z[16]!==z||Z[17]!==v)w=v(z,X),Z[15]=X,Z[16]=z,Z[17]=v,Z[18]=w;else w=Z[18];let D;if(Z[19]!==_||Z[20]!==w)D=B(DQ.Provider,{value:_,children:w}),Z[19]=_,Z[20]=w,Z[21]=D;else D=Z[21];let p;if(Z[22]!==M||Z[23]!==S||Z[24]!==Z0||Z[25]!==d||Z[26]!==O||Z[27]!==C||Z[28]!==D)p=B(b,{ref:M,flexDirection:"column",backgroundColor:S,paddingBottom:Z0,onClick:d,onMouseEnter:O,onMouseLeave:C,children:D}),Z[22]=M,Z[23]=S,Z[24]=Z0,Z[25]=d,Z[26]=O,Z[27]=C,Z[28]=D,Z[29]=p;else p=Z[29];return p}function CQ({messages:J,scrollRef:Z,columns:Q,itemKey:z,renderItem:X,onItemClick:W,isItemClickable:q,isItemExpanded:V,extractSearchText:Y=QX,trackStickyPrompt:K,selectedIndex:F,cursorNavRef:P,setCursor:v,jumpRef:M,onSearchMatchesChange:S,scanElement:Z0,setPositions:d}){let O=y.useRef([]),C=y.useRef(J),_=y.useRef(z);if(_.current!==z||J.length<O.current.length||J[0]!==C.current[0])O.current=J.map((H)=>z(H));else for(let H=O.current.length;H<J.length;H++)O.current.push(z(J[H]));C.current=J,_.current=z;let w=O.current,{range:D,topSpacer:p,bottomSpacer:J0,measureRef:E,spacerRef:k,offsets:H0,getItemTop:Y0,getItemElement:l,getItemHeight:h,scrollToIndex:z0}=wQ(Z,w,Q),[Q0,X0]=D,O0=y.useCallback((H)=>{if(h(H)===0)return!1;return UQ(J[H])},[h,J]);y.useImperativeHandle(P,()=>{let H=(u)=>v?.({uuid:u.uuid,msgType:u.type,expanded:!1,toolName:jQ(u)?.name}),L=F??-1,A=(u,n,r=O0)=>{for(let c=u;c>=0&&c<J.length;c+=n)if(r(c))return H(J[c]),!0;return!1},x=(u)=>O0(u)&&J[u].type==="user";return{enterCursor:()=>A(J.length-1,-1,x),navigatePrev:()=>A(L-1,-1),navigateNext:()=>{if(A(L+1,1))return;Z.current?.scrollToBottom(),v?.(null)},navigatePrevUser:()=>A(L-1,-1,x),navigateNextUser:()=>A(L+1,1,x),navigateTop:()=>A(0,1),navigateBottom:()=>A(J.length-1,-1),getSelected:()=>L>=0?J[L]??null:null}},[J,F,v,O0]);let T=y.useRef({offsets:H0,start:Q0,getItemElement:l,getItemTop:Y0,messages:J,scrollToIndex:z0});T.current={offsets:H0,start:Q0,getItemElement:l,getItemTop:Y0,messages:J,scrollToIndex:z0},y.useEffect(()=>{if(F===void 0)return;let H=T.current,L=H.getItemElement(F);if(L)Z.current?.scrollToElement(L,1);else H.scrollToIndex(F)},[F,Z]);let i=y.useRef(null),o=y.useRef({msgIdx:-1,positions:[]}),t=y.useRef(-1),I=y.useRef(0),W0=y.useRef(0),N=y.useRef(()=>{}),U=y.useRef(()=>{}),R=y.useRef({matches:[],ptr:0,screenOrd:0,prefixSum:[]}),s=y.useRef(-1),A0=y.useRef(!1);function V0(H){let L=T.current.getItemTop(H);return Math.max(0,L-dZ)}function G0(H){let L=Z.current,{msgIdx:A,positions:x}=o.current;if(!L||x.length===0||A<0){d?.(null);return}let u=Math.max(0,Math.min(H,x.length-1)),n=x[u],r=T.current.getItemTop(A),c=L.getViewportTop(),e=r-L.getScrollTop(),R0=L.getViewportHeight(),P0=c+e+n.row;if(P0<c||P0>=c+R0)L.scrollTo(Math.max(0,r+n.row-dZ)),e=r-L.getScrollTop(),P0=c+e+n.row;d?.({positions:x,rowOffset:c+e,currentIdx:u});let E0=R.current,U0=E0.prefixSum.at(-1)??0,j0=(E0.prefixSum[E0.ptr]??0)+u+1;S?.(U0,j0),m0(`highlight(i=${A}, ord=${u}/${x.length}): pos={row:${n.row},col:${n.col}} lo=${e} screenRow=${P0} badge=${j0}/${U0}`)}U.current=G0;let[M0,n0]=y.useState(0),y0=y.useCallback(()=>n0((H)=>H+1),[]);y.useEffect(()=>{let H=i.current;if(!H)return;let{idx:L,wantLast:A,tries:x}=H,u=Z.current;if(!u)return;let{getItemElement:n,getItemTop:r,scrollToIndex:c}=T.current,e=n(L),R0=e?.yogaNode?.getComputedHeight()??0;if(!e||R0===0){if(x>1){i.current=null,m0(`seek(i=${L}): no mount after scrollToIndex, skip`),N.current(A?-1:1);return}i.current={idx:L,wantLast:A,tries:x+1},c(L),y0();return}i.current=null,u.scrollTo(Math.max(0,r(L)-dZ));let P0=Z0?.(e)??[];if(o.current={msgIdx:L,positions:P0},m0(`seek(i=${L} t=${x}): ${P0.length} positions`),P0.length===0){if(++I.current>20){I.current=0;return}N.current(A?-1:1);return}I.current=0;let E0=A?P0.length-1:0;R.current.screenOrd=E0,t.current=-1,U.current(E0);let U0=W0.current;if(U0)W0.current=0,N.current(U0)},[M0]);function D0(H,L){let A=Z.current;if(!A)return;let x=T.current,{getItemElement:u,scrollToIndex:n}=x;if(H<0||H>=x.messages.length)return;d?.(null),o.current={msgIdx:-1,positions:[]},i.current={idx:H,wantLast:L,tries:0};let r=u(H),c=r?.yogaNode?.getComputedHeight()??0;if(r&&c>0)A.scrollTo(V0(H));else n(H);y0()}function T0(H){let L=R.current,{matches:A,prefixSum:x}=L,u=x.at(-1)??0;if(A.length===0)return;if(i.current){W0.current=H;return}if(t.current<0)t.current=L.ptr;let{positions:n}=o.current,r=L.screenOrd+H;if(r>=0&&r<n.length){L.screenOrd=r,G0(r),t.current=-1;return}let c=(L.ptr+H+A.length)%A.length;if(c===t.current){d?.(null),t.current=-1,m0(`step: wraparound at ptr=${c}, all ${A.length} msgs phantoms`);return}L.ptr=c,L.screenOrd=0,D0(A[c],H<0);let e=H<0?x[c+1]??u:x[c]+1;S?.(u,e)}N.current=T0,y.useImperativeHandle(M,()=>({jumpToIndex:(H)=>{let L=Z.current;if(L)L.scrollTo(V0(H))},setSearchQuery:(H)=>{i.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1,d?.(null);let L=H.toLowerCase(),A=[],x=[0];if(L){let U0=T.current.messages;for(let j0=0;j0<U0.length;j0++){let k0=Y(U0[j0]),G=k0.indexOf(L),j=0;while(G>=0)j++,G=k0.indexOf(L,G+L.length);if(j>0)A.push(j0),x.push(x.at(-1)+j)}}let u=x.at(-1),n=0,r=Z.current,{offsets:c,start:e,getItemTop:R0}=T.current,P0=R0(e),E0=P0>=0?P0-c[e]:0;if(A.length>0&&r){let U0=s.current>=0?s.current:r.getScrollTop(),j0=1/0;for(let k0=0;k0<A.length;k0++){let G=Math.abs(E0+c[A[k0]]-U0);if(G<=j0)j0=G,n=k0}m0(`setSearchQuery('${H}'): ${A.length} msgs · ptr=${n} msgIdx=${A[n]} curTop=${U0} origin=${E0}`)}if(R.current={matches:A,ptr:n,screenOrd:0,prefixSum:x},A.length>0)D0(A[n],!0);else if(s.current>=0&&r)r.scrollTo(s.current);S?.(u,A.length>0?x[n+1]??u:0)},nextMatch:()=>T0(1),prevMatch:()=>T0(-1),setAnchor:()=>{let H=Z.current;if(H)s.current=H.getScrollTop()},disarmSearch:()=>{d?.(null),i.current=null,o.current={msgIdx:-1,positions:[]},t.current=-1},warmSearchIndex:async()=>{if(A0.current)return 0;let H=T.current.messages,L=500,A=0,x=performance.now();for(let n=0;n<H.length;n+=L){await PQ(0);let r=performance.now(),c=Math.min(n+L,H.length);for(let e=n;e<c;e++)Y(H[e]);A+=performance.now()-r}let u=Math.round(performance.now()-x);return m0(`warmSearchIndex: ${H.length} msgs · work=${Math.round(A)}ms wall=${u}ms chunks=${Math.ceil(H.length/L)}`),A0.current=!0,Math.round(A)}}),[Z]);let[i0,h0]=y.useState(null),b0=y.useRef({onItemClick:W,setHoveredKey:h0});b0.current={onItemClick:W,setHoveredKey:h0};let l0=y.useCallback((H,L)=>{let A=b0.current;if(!L&&A.onItemClick)A.onItemClick(H)},[]),t0=y.useCallback((H)=>{b0.current.setHoveredKey(H)},[]),_0=y.useCallback((H)=>{b0.current.setHoveredKey((L)=>L===H?null:L)},[]);return $(f0,{children:[B(b,{ref:k,height:p,flexShrink:0}),J.slice(Q0,X0).map((H,L)=>{let A=Q0+L,x=w[A],u=!!W&&(q?.(H)??!0),n=u&&i0===x,r=V?.(H);return B(qX,{itemKey:x,msg:H,idx:A,measureRef:E,expanded:r,hovered:n,clickable:u,onClickK:l0,onEnterK:t0,onLeaveK:_0,renderItem:X},x)}),J0>0&&B(b,{height:J0,flexShrink:0}),K&&B(VX,{messages:J,start:Q0,end:X0,offsets:H0,getItemTop:Y0,getItemElement:l,scrollRef:Z})]})}function VX({messages:J,start:Z,end:Q,offsets:z,getItemTop:X,getItemElement:W,scrollRef:q}){let{setStickyPrompt:V}=y.useContext(yZ),Y=y.useCallback((w)=>q.current?.subscribe(w)??YX,[q]);y.useSyncExternalStore(Y,()=>{let w=q.current;if(!w)return NaN;let D=w.getScrollTop()+w.getPendingDelta();return w.isSticky()?-1-D:D});let K=q.current?.isSticky()??!0,F=Math.max(0,(q.current?.getScrollTop()??0)+(q.current?.getPendingDelta()??0)),P=Z,v=-1;for(let w=Q-1;w>=Z;w--){let D=X(w);if(D>=0){if(D<F)break;v=D}P=w}let M=-1,S=null;if(P>0&&!K)for(let w=P-1;w>=0;w--){let D=XX(J[w]);if(D===null)continue;let p=X(w);if(p>=0&&p+1>=F)continue;M=w,S=D;break}let Z0=v>=0?v-z[P]:0,d=M>=0?Math.max(0,Z0+z[M]):-1,O=y.useRef({idx:-1,tries:0}),C=y.useRef("none"),_=y.useRef(-1);return y.useEffect(()=>{if(O.current.idx>=0)return;if(C.current==="armed"){C.current="force";return}let w=C.current==="force";if(C.current="none",!w&&_.current===M)return;if(_.current=M,S===null){V(null);return}let D=S.trimStart(),p=D.search(/\n\s*\n/),J0=(p>=0?D.slice(0,p):D).slice(0,zX).replace(/\s+/g," ").trim();if(J0===""){V(null);return}let E=M,k=d;V({text:J0,scrollTo:()=>{V("clicked"),C.current="armed";let H0=W(E);if(H0)q.current?.scrollToElement(H0,1);else q.current?.scrollTo(k),O.current={idx:E,tries:0}}})}),y.useEffect(()=>{if(O.current.idx<0)return;let w=W(O.current.idx);if(w)q.current?.scrollToElement(w,1),O.current={idx:-1,tries:0};else if(++O.current.tries>5)O.current={idx:-1,tries:0}}),null}var bQ,y,dZ=3,OQ,zX=500,AQ,YX=()=>{};var vQ=L0(()=>{NQ();p0();JX();LJ();ez();ZX();IZ();EQ();F0();bQ=N0(u0(),1),y=N0(S0(),1),OQ=new WeakMap;AQ=new WeakMap});function EX(J,Z){let Q=new Set(Z),z=new Set;return J.filter((X)=>{if(X.type==="system")return X.subtype!=="api_metrics";let W=X.message?.content[0];if(X.type==="assistant"){if(X.isApiErrorMessage)return!0;if(W?.type==="tool_use"&&W.name&&Q.has(W.name)){if("id"in W)z.add(W.id);return!0}return!1}if(X.type==="user"){if(W?.type==="tool_result")return W.tool_use_id!==void 0&&z.has(W.tool_use_id);return!X.isMeta}if(X.type==="attachment"){let q=X.attachment;return q?.type==="queued_command"&&q.commandMode==="prompt"&&!q.isMeta&&q.origin===void 0}return!1})}function bX(J,Z){let Q=new Set(Z),z=new Set,X=[],W=0;for(let q=0;q<J.length;q++){let V=J[q],Y=V.message?.content[0];if(V.type==="user"&&Y?.type!=="tool_result"&&!V.isMeta){W++;continue}if(V.type==="assistant"){if(Y?.type==="text")X[q]=W;else if(Y?.type==="tool_use"&&Y.name&&Q.has(Y.name))z.add(W)}}if(z.size===0)return J;return J.filter((q,V)=>{let Y=X[V];return Y===void 0||!z.has(Y)})}function yX(J,Z,Q=CX,z=vX){let X=Z.current,W=X?J.findIndex((Y)=>Y.uuid===X.uuid):-1,q=W>=0?W:X?Math.min(X.idx,Math.max(0,J.length-Q)):0;if(J.length-q>Q+z)q=J.length-Q;let V=J[q];if(V&&(X?.uuid!==V.uuid||X.idx!==q))Z.current={uuid:V.uuid,idx:q};else if(!V&&X)Z.current=null;return q}function _Q(J){return(J.type==="assistant"||J.type==="user"?g0(J):null)??J.uuid}function IX(J,Z){if(J.size!==Z.size)return!1;for(let Q of J)if(!Z.has(Q))return!1;return!0}function tJ(J,Z,Q,z,X,W){if(X==="transcript")return!0;switch(J.type){case"attachment":case"user":case"assistant":{if(J.type==="assistant"){let V=J.message.content[0];if(V?.type==="server_tool_use")return W.resolvedToolUseIDs.has(V.id)}let q=g0(J);if(!q)return!0;if(Z.has(q))return!1;if(Q.has(q))return!1;if(oQ(q,"PostToolUse",W))return!1;return FJ(z,W.resolvedToolUseIDs)}case"system":return J.subtype!=="api_error";case"grouped_tool_use":return J.messages.every((V)=>{let Y=V.message.content[0];return Y?.type==="tool_use"&&W.resolvedToolUseIDs.has(Y.id)});case"collapsed_read_search":return!1}}var mQ,YZ,f,UX,jX=null,yQ=null,MX=null,cZ=30,CX=200,vX=50,_X=({messages:J,tools:Z,commands:Q,verbose:z,toolJSX:X,toolUseConfirmQueue:W,inProgressToolUseIDs:q,isMessageSelectorVisible:V,conversationId:Y,screen:K,streamingToolUses:F,showAllInTranscript:P=!1,agentDefinitions:v,onOpenRateLimitOptions:M,hideLogo:S=!1,isLoading:Z0,hidePastThinking:d=!1,streamingThinking:O,hasStreamingText:C=!1,isBriefOnly:_=!1,unseenDivider:w,scrollRef:D,trackStickyPrompt:p,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,disableRenderCap:Y0=!1,cursor:l=null,setCursor:h,cursorNavRef:z0,renderRange:Q0})=>{let{columns:X0}=FZ(),O0=RQ("transcript:toggleShowAll","Transcript","Ctrl+E"),T=f.useMemo(()=>nZ(J).filter(nQ),[J]),i=f.useMemo(()=>{if(!O)return!1;if(O.isStreaming)return!0;if(O.streamingEndedAt)return Date.now()-O.streamingEndedAt<30000;return!1},[O]),o=f.useMemo(()=>{if(!d)return null;if(i)return"streaming";for(let G=T.length-1;G>=0;G--){let j=T[G];if(j?.type==="assistant"){let B0=j.message.content;for(let a=B0.length-1;a>=0;a--)if(B0[a]?.type==="thinking")return`${j.uuid}:${a}`}else if(j?.type==="user"){if(!j.message.content.some((a)=>a.type==="tool_result"))return"no-thinking"}}return null},[T,d,i]),t=f.useMemo(()=>{for(let G=T.length-1;G>=0;G--){let j=T[G];if(j?.type==="user"){let B0=j.message.content;for(let a of B0)if(a.type==="text"){let w0=a.text;if(w0.startsWith("<bash-stdout")||w0.startsWith("<bash-stderr"))return j.uuid}}}return null},[T]),I=f.useMemo(()=>tQ(T),[T]),W0=f.useMemo(()=>F.filter((G)=>!q.has(G.contentBlock.id)&&!I.has(G.contentBlock.id)),[F,q,I]),N=f.useMemo(()=>W0.flatMap((G)=>{let j=gQ({content:[G.contentBlock]});return j.uuid=TQ(G.contentBlock.id,0),nZ([j])}),[W0]),U=K==="transcript",R=f.useMemo(()=>IQ(process.env.CLAUDE_CODE_DISABLE_VIRTUAL_SCROLL),[]),s=D!=null&&!R,A0=U&&!P&&!s,V0=f.useRef(null),{collapsed:G0,lookups:M0,hasTruncatedMessages:n0,hiddenMessageCount:y0}=f.useMemo(()=>{let G=z||c0()?T:iQ(T,{includeSnipped:!0}),j=aQ(G.filter((I0)=>I0.type!=="progress").filter((I0)=>!GZ(I0)).filter((I0)=>lQ(I0,U)),N),B0=[yQ,MX].filter((I0)=>I0!==null),a=[yQ].filter((I0)=>I0!==null),w0=B0.length>0&&!U?_?EX(j,B0):a.length>0?bX(j,a):j:j,C0=A0?w0.slice(-cZ):w0,VZ=A0&&w0.length>cZ,{messages:d0}=CJ(C0,Z,z),sQ=OJ(DJ(MJ(cQ(d0,Z))),z),eQ=rQ(T,C0),Zz=j.length-cZ;return{collapsed:sQ,lookups:eQ,hasTruncatedMessages:VZ,hiddenMessageCount:Zz}},[z,T,U,N,A0,Z,_]),D0=f.useMemo(()=>{let j=!s&&!Y0?yX(G0,V0):0;return Q0?G0.slice(Q0[0],Q0[1]):j>0?G0.slice(j):G0},[G0,Q0,s,Y0]),T0=f.useMemo(()=>new Set(F.map((G)=>G.contentBlock.id)),[F]),i0=$Q((G)=>G.tasks),h0=M0.asyncLaunchedToolUseIDs,b0=f.useMemo(()=>{if(h0.size===0)return null;let G=new Set;for(let[j,B0]of h0){let a=i0?.[B0]?.status;if(a==="running"||a==="requested"||a==="queued")G.add(j)}return G.size>0?G:null},[i0,h0]),l0=f.useMemo(()=>{if(!b0)return q;let G=new Set(q);for(let j of b0)G.add(j);return G},[q,b0]),t0=f.useMemo(()=>{if(!w)return-1;let G=w.firstUnseenUuid.slice(0,24);return D0.findIndex((j)=>j.uuid.slice(0,24)===G)},[w,D0]),_0=f.useMemo(()=>{if(!l)return-1;return D0.findIndex((G)=>G.uuid===l.uuid)},[l,D0]),[H,L]=f.useState(()=>new Set),A=f.useCallback((G)=>{let j=_Q(G);L((B0)=>{let a=new Set(B0);if(a.has(j))a.delete(j);else a.add(j);return a})},[]),x=f.useCallback((G)=>H.size>0&&H.has(_Q(G)),[H]),u=f.useRef(M0);u.current=M0;let n=f.useCallback((G)=>{if(G.type==="collapsed_read_search")return!0;if(G.type==="assistant"){let w0=G.message.content[0];return w0!=null&&xQ(w0)&&w0.type==="advisor_tool_result"&&w0.content.type==="advisor_result"}if(G.type!=="user")return!1;let j=G.message.content[0];if(j?.type!=="tool_result"||j.is_error||!G.toolUseResult)return!1;let B0=u.current.toolUseByToolUseID.get(j.tool_use_id)?.name;return(B0?mZ(Z,B0):void 0)?.isResultTruncated?.(G.toolUseResult)??!1},[Z]),r=(!X||!!X.shouldContinueAnimation)&&!W.length&&!V,c=l0.size>0,{progress:e}=hQ(),R0=f.useRef(null),P0=DZ().terminalProgressBarEnabled&&!kQ()&&!(jX?.isProactiveActive()??!1);f.useEffect(()=>{let G=P0?c?"indeterminate":"completed":null;if(R0.current===G)return;R0.current=G,e(G)},[e,P0,c]),f.useEffect(()=>{return()=>e(null)},[e]);let E0=f.useCallback((G)=>`${G.uuid}-${Y}`,[Y]),U0=(G,j)=>{let B0=j>0?D0[j-1]?.type:void 0,a=G.type==="user"&&B0==="user",w0=G.type==="collapsed_read_search"&&(C||aJ(D0,j,Z,T0)),C0=E0(G),VZ=B(rJ,{message:G,isUserContinuation:a,hasContentAfter:w0,tools:Z,commands:Q,verbose:z||x(G)||l?.expanded===!0&&j===_0,inProgressToolUseIDs:l0,streamingToolUseIDs:T0,screen:K,canAnimate:r,onOpenRateLimitOptions:M,lastThinkingBlockId:o,latestBashOutputUUID:t,columns:X0,isLoading:Z0,lookups:M0},C0),d0=B(uQ.Provider,{value:j===_0,children:VZ},C0);if(w&&j===t0)return[B(b,{marginTop:1,children:B(UZ,{title:`${w.count} new ${LZ(w.count,"message")}`,width:X0,color:"inactive"})},"unseen-divider"),d0];return d0},j0=f.useRef(new WeakMap),k0=f.useCallback((G)=>{let j=j0.current.get(G);if(j!==void 0)return j;let B0=AZ(G);if(G.type==="user"&&G.toolUseResult&&Array.isArray(G.message.content)){let w0=G.message.content.find((C0)=>C0.type==="tool_result");if(w0&&"tool_use_id"in w0){let C0=M0.toolUseByToolUseID.get(w0.tool_use_id),d0=(C0&&mZ(Z,C0.name))?.extractSearchText?.(G.toolUseResult);if(d0!==void 0)B0=d0}}let a=B0.toLowerCase();return j0.current.set(G,a),a},[Z,M0]);return $(f0,{children:[!S&&!(Q0&&Q0[0]>0)&&B(UX,{agentDefinitions:v}),n0&&B(UZ,{title:`${O0} to show ${gZ.bold(y0)} previous messages`,width:X0}),U&&P&&y0>0&&!Y0&&B(UZ,{title:`${O0} to hide ${gZ.bold(y0)} previous messages`,width:X0}),s?B(fQ.Provider,{value:!0,children:B(CQ,{messages:D0,scrollRef:D,columns:X0,itemKey:E0,renderItem:U0,onItemClick:A,isItemClickable:n,isItemExpanded:x,trackStickyPrompt:p,selectedIndex:_0>=0?_0:void 0,cursorNavRef:z0,setCursor:h,jumpRef:J0,onSearchMatchesChange:E,scanElement:k,setPositions:H0,extractSearchText:k0})}):D0.flatMap(U0),C&&!_&&B(kX,{}),i&&O&&!_&&B(b,{marginTop:1,children:B(dQ,{param:{type:"thinking",thinking:O.thinking},addMargin:!1,isTranscriptMode:!0,verbose:z,hideInTranscript:!1})})]})},kX=()=>{let J=iZ();if(!J)return null;return B(b,{alignItems:"flex-start",flexDirection:"row",marginTop:1,width:"100%",children:$(b,{flexDirection:"row",children:[B(b,{minWidth:2,children:B(g,{color:"text",children:SQ})}),B(b,{flexDirection:"column",children:B(pQ,{children:J})})]})})},g8;var sJ=L0(()=>{GX();KJ();BX();LX();qJ();KX();p0();wX();AX();FX();OX();AJ();UJ();cJ();EJ();HQ();HX();vZ();vJ();OZ();XJ();IZ();NX();PX();lZ();oJ();EQ();DX();CZ();gJ();FQ();vQ();F0();mQ=N0(u0(),1),YZ=N0(S0(),1),f=N0(S0(),1),UX=YZ.memo(function(Z){let Q=mQ.c(3),{agentDefinitions:z}=Z,X;if(Q[0]===Symbol.for("react.memo_cache_sentinel"))X=null,Q[0]=X;else X=Q[0];let W;if(Q[1]!==z)W=B(e0,{children:$(b,{flexDirection:"column",gap:1,children:[X,B(YZ.Suspense,{fallback:null,children:B(LQ,{agentDefinitions:z})})]})}),Q[1]=z,Q[2]=W;else W=Q[2];return W});g8=YZ.memo(_X,(J,Z)=>{let Q=Object.keys(J);for(let z of Q){if(z==="onOpenRateLimitOptions"||z==="scrollRef"||z==="trackStickyPrompt"||z==="setCursor"||z==="cursorNavRef"||z==="jumpRef"||z==="onSearchMatchesChange"||z==="scanElement"||z==="setPositions")continue;if(J[z]!==Z[z]){if(z==="streamingToolUses"){let X=J.streamingToolUses,W=Z.streamingToolUses;if(X.length===W.length&&X.every((q,V)=>q.contentBlock===W[V]?.contentBlock))continue}if(z==="inProgressToolUseIDs"){if(IX(J.inProgressToolUseIDs,Z.inProgressToolUseIDs))continue}if(z==="unseenDivider"){let X=J.unseenDivider,W=Z.unseenDivider;if(X?.firstUnseenUuid===W?.firstUnseenUuid&&X?.count===W?.count)continue}if(z==="tools"){let X=J.tools,W=Z.tools;if(X.length===W.length&&X.every((q,V)=>q.name===W[V]?.name))continue}return!1}}return!0})});
12
+ export{s0 as Ge,TX as He,lZ as Ie,xX as Je,$X as Ke,JJ as Le,QW as Me,zW as Ne,XW as Oe,LJ as Pe,g8 as Qe,sJ as Re};
@@ -0,0 +1,2 @@
1
+ import{G0 as g,I0 as h,O0 as RQ,X0 as jQ,Y0 as aQ,a1 as d,kZ as u,l1 as a,t0 as QQ,u0 as uQ}from"./cli-1.0.16-2thxt6pw.mjs";import{U3 as S,V3 as k,W3 as f}from"./cli-1.0.16-5axjzbba.mjs";import{X3 as v}from"./cli-1.0.16-gydkk4pv.mjs";import{j4 as n,l4 as t,q4 as YV}from"./cli-1.0.16-16qr698n.mjs";import{E8 as XV,j8 as $Q,m8 as P,p8 as bQ}from"./cli-1.0.16-s5y2vt2x.mjs";import{Tda as fQ,Tea as QV,Uda as eQ,qga as CQ,vea as mQ,yea as x,yga as VV}from"./cli-1.0.16-t2ky4p5s.mjs";import{Dga as AQ,Ega as sQ}from"./cli-1.0.16-x002k14w.mjs";import{Via as r,Wia as nQ}from"./cli-1.0.16-natadjxz.mjs";import{_ja as D,bka as iQ}from"./cli-1.0.16-04tr8fw7.mjs";import{Kra as tQ,sra as i}from"./cli-1.0.16-fcfaz7s1.mjs";import{dsa as M,hsa as F}from"./cli-1.0.16-y9yxyd77.mjs";function XQ(){let X=VQ.useContext(QQ);if(!X)throw Error("useTerminalSize must be used within an Ink App component");return X}var VQ;var YQ=F(()=>{uQ();VQ=M(v(),1)});function ZQ(X,Q){if(Q.escape)return"escape";if(Q.return)return"enter";if(Q.tab)return"tab";if(Q.backspace)return"backspace";if(Q.delete)return"delete";if(Q.upArrow)return"up";if(Q.downArrow)return"down";if(Q.leftArrow)return"left";if(Q.rightArrow)return"right";if(Q.pageUp)return"pageup";if(Q.pageDown)return"pagedown";if(Q.wheelUp)return"wheelup";if(Q.wheelDown)return"wheeldown";if(Q.home)return"home";if(Q.end)return"end";if(X.length===1)return X.toLowerCase();return null}var JQ=()=>{};function GQ(X){let Q=X.split("+"),V={key:"",ctrl:!1,alt:!1,shift:!1,meta:!1,super:!1};for(let Z of Q){let Y=Z.toLowerCase();switch(Y){case"ctrl":case"control":V.ctrl=!0;break;case"alt":case"opt":case"option":V.alt=!0;break;case"shift":V.shift=!0;break;case"meta":V.meta=!0;break;case"cmd":case"command":case"super":case"win":V.super=!0;break;case"esc":V.key="escape";break;case"return":V.key="enter";break;case"space":V.key=" ";break;case"↑":V.key="up";break;case"↓":V.key="down";break;case"←":V.key="left";break;case"→":V.key="right";break;default:V.key=Y;break}}return V}function yQ(X){if(X===" ")return[GQ("space")];return X.trim().split(/\s+/).map(GQ)}function hQ(X){let Q=[];if(X.ctrl)Q.push("ctrl");if(X.alt)Q.push("alt");if(X.shift)Q.push("shift");if(X.meta)Q.push("meta");if(X.super)Q.push("cmd");let V=kQ(X.key);return Q.push(V),Q.join("+")}function kQ(X){switch(X){case"escape":return"Esc";case" ":return"Space";case"tab":return"tab";case"enter":return"Enter";case"backspace":return"Backspace";case"delete":return"Delete";case"up":return"↑";case"down":return"↓";case"left":return"←";case"right":return"→";case"pageup":return"PageUp";case"pagedown":return"PageDown";case"home":return"Home";case"end":return"End";default:return X}}function l(X){return X.map(hQ).join(" ")}function BV(X){let Q=[];for(let V of X)for(let[Z,Y]of Object.entries(V.bindings))Q.push({chord:yQ(Z),action:Y,context:V.context});return Q}var qQ=()=>{};function LQ(X,Q,V){let Z=V.findLast((Y)=>Y.action===X&&Y.context===Q);return Z?l(Z.chord):void 0}function gQ(X,Q){let V=ZQ(X,Q);if(!V)return null;let Z=Q.escape?!1:Q.meta;return{key:V,ctrl:Q.ctrl,alt:Z,shift:Q.shift,meta:Z,super:Q.super}}function HQ(X,Q){return X.key===Q.key&&X.ctrl===Q.ctrl&&X.shift===Q.shift&&(X.alt||X.meta)===(Q.alt||Q.meta)&&X.super===Q.super}function lQ(X,Q){if(X.length>=Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function cQ(X,Q){if(X.length!==Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function zQ(X,Q,V,Z,Y){if(Q.escape&&Y!==null)return{type:"chord_cancelled"};let J=gQ(X,Q);if(!J){if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}let G=Y?[...Y,J]:[J],q=new Set(V),B=Z.filter((L)=>q.has(L.context)),z=new Map;for(let L of B)if(L.chord.length>G.length&&lQ(G,L))z.set(l(L.chord),L.action);let N=!1;for(let L of z.values())if(L!==null){N=!0;break}if(N)return{type:"chord_started",pending:G};let H;for(let L of B)if(cQ(G,L))H=L;if(H){if(H.action===null)return{type:"unbound"};return{type:"match",action:H.action}}if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}var BQ=F(()=>{JQ();qQ()});function MV(X){let Q=c.c(24),{bindings:V,pendingChordRef:Z,pendingChord:Y,setPendingChord:J,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,handlerRegistryRef:z,children:N}=X,H;if(Q[0]!==V)H=(U,O)=>LQ(U,O,V),Q[0]=V,Q[1]=H;else H=Q[1];let L=H,_;if(Q[2]!==z)_=(U)=>{let O=z.current;if(!O)return dQ;if(!O.has(U.action))O.set(U.action,new Set);return O.get(U.action).add(U),()=>{let I=O.get(U.action);if(I){if(I.delete(U),I.size===0)O.delete(U.action)}}},Q[2]=z,Q[3]=_;else _=Q[3];let b=_,E;if(Q[4]!==G||Q[5]!==z)E=(U)=>{let O=z.current;if(!O)return!1;let I=O.get(U);if(!I||I.size===0)return!1;for(let e of I)if(G.has(e.context))return e.handler(),!0;return!1},Q[4]=G,Q[5]=z,Q[6]=E;else E=Q[6];let K=E,j;if(Q[7]!==V||Q[8]!==Z)j=(U,O,I)=>zQ(U,O,I,V,Z.current),Q[7]=V,Q[8]=Z,Q[9]=j;else j=Q[9];let A;if(Q[10]!==G||Q[11]!==V||Q[12]!==L||Q[13]!==K||Q[14]!==Y||Q[15]!==q||Q[16]!==b||Q[17]!==J||Q[18]!==j||Q[19]!==B)A={resolve:j,setPendingChord:J,getDisplayText:L,bindings:V,pendingChord:Y,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,registerHandler:b,invokeAction:K},Q[10]=G,Q[11]=V,Q[12]=L,Q[13]=K,Q[14]=Y,Q[15]=q,Q[16]=b,Q[17]=J,Q[18]=j,Q[19]=B,Q[20]=A;else A=Q[20];let w=A,W;if(Q[21]!==N||Q[22]!==w)W=S(NQ.Provider,{value:w,children:N}),Q[21]=N,Q[22]=w,Q[23]=W;else W=Q[23];return W}function dQ(){}function y(){return m.useContext(NQ)}function SV(X,Q){let V=c.c(5),Z=Q===void 0?!0:Q,Y=y(),J,G;if(V[0]!==X||V[1]!==Z||V[2]!==Y)J=()=>{if(!Y||!Z)return;return Y.registerActiveContext(X),()=>{Y.unregisterActiveContext(X)}},G=[X,Y,Z],V[0]=X,V[1]=Z,V[2]=Y,V[3]=J,V[4]=G;else J=V[3],G=V[4];m.useLayoutEffect(J,G)}var c,m,NQ;var UQ=F(()=>{BQ();f();c=M(u(),1),m=M(v(),1),NQ=m.createContext(null)});function TV(X,Q,V={}){let{context:Z="Global",isActive:Y=!0}=V,J=y();C.useEffect(()=>{if(!J||!Y)return;return J.registerHandler({action:X,context:Z,handler:Q})},[X,Z,Q,J,Y]);let G=C.useCallback((q,B,z)=>{if(!J)return;let N=[...J.activeContexts,Z,"Global"],H=[...new Set(N)],L=J.resolve(q,B,H);switch(L.type){case"match":if(J.setPendingChord(null),L.action===X){if(Q()!==!1)z.stopImmediatePropagation()}break;case"chord_started":J.setPendingChord(L.pending),z.stopImmediatePropagation();break;case"chord_cancelled":J.setPendingChord(null);break;case"unbound":J.setPendingChord(null),z.stopImmediatePropagation();break;case"none":break}},[X,Z,Q,J]);d(G,{isActive:Y})}function OQ(X,Q={}){let{context:V="Global",isActive:Z=!0}=Q,Y=y();C.useEffect(()=>{if(!Y||!Z)return;let G=[];for(let[q,B]of Object.entries(X))G.push(Y.registerHandler({action:q,context:V,handler:B}));return()=>{for(let q of G)q()}},[V,X,Y,Z]);let J=C.useCallback((G,q,B)=>{if(!Y)return;let z=[...Y.activeContexts,V,"Global"],N=[...new Set(z)],H=Y.resolve(G,q,N);switch(H.type){case"match":if(Y.setPendingChord(null),H.action in X){let L=X[H.action];if(L&&L()!==!1)B.stopImmediatePropagation()}break;case"chord_started":Y.setPendingChord(H.pending),B.stopImmediatePropagation();break;case"chord_cancelled":Y.setPendingChord(null);break;case"unbound":Y.setPendingChord(null),B.stopImmediatePropagation();break;case"none":break}},[V,X,Y]);d(J,{isActive:Z})}var C;var _Q=F(()=>{a();UQ();C=M(v(),1)});function o(X,Q,V){let Z=R.useRef(0),Y=R.useRef(void 0),J=R.useCallback(()=>{if(Y.current)clearTimeout(Y.current),Y.current=void 0},[]);return R.useEffect(()=>{return()=>{J()}},[J]),R.useCallback(()=>{let G=Date.now();if(G-Z.current<=FQ&&Y.current!==void 0)J(),X(!1),Q();else V?.(),X(!0),J(),Y.current=setTimeout((z,N)=>{z(!1),N.current=void 0},FQ,X,Y);Z.current=G},[X,Q,V,J])}var R,FQ=800;var WQ=F(()=>{R=M(v(),1)});function wQ(X,Q,V,Z=!0){let{exit:Y}=jQ(),[J,G]=T.useState({pending:!1,keyName:null}),q=T.useMemo(()=>V??Y,[V,Y]),B=o((_)=>G({pending:_,keyName:"Ctrl-C"}),q),z=o((_)=>G({pending:_,keyName:"Ctrl-D"}),q),N=T.useCallback(()=>{if(Q?.())return;B()},[B,Q]),H=T.useCallback(()=>{z()},[z]),L=T.useMemo(()=>({"app:interrupt":N,"app:exit":H}),[N,H]);return X(L,{context:"Global",isActive:Z}),J}var T;var MQ=F(()=>{aQ();WQ();T=M(v(),1)});function $V(X,Q,V){return wQ(OQ,Q,X,V)}var oQ=F(()=>{_Q();MQ()});function IQ(){return $.useContext(s)!==null}function pV(X){let Q=SQ.c(3),V=$.useContext(s),Z;if(Q[0]!==V||Q[1]!==X)Z=V?{rows:V.rows,columns:V.columns}:X,Q[0]=V,Q[1]=X,Q[2]=Z;else Z=Q[2];return Z}function xV(){return $.useContext(s)?.scrollRef??null}var SQ,$,s;var KQ=F(()=>{SQ=M(u(),1),$=M(v(),1),s=$.createContext(null)});function EQ(X){let Q=TQ.c(21),{width:V,color:Z,char:Y,padding:J,title:G}=X,q=Y===void 0?"─":Y,B=J===void 0?0:J,{columns:z}=XQ(),N=Math.max(0,(V??z)-B);if(G){let b=AQ(G)+2,E=Math.max(0,N-b),K=Math.floor(E/2),j=E-K,A=!Z,w;if(Q[0]!==q||Q[1]!==K)w=q.repeat(K),Q[0]=q,Q[1]=K,Q[2]=w;else w=Q[2];let W;if(Q[3]!==G)W=S(h,{dimColor:!0,children:S(RQ,{children:G})}),Q[3]=G,Q[4]=W;else W=Q[4];let U;if(Q[5]!==q||Q[6]!==j)U=q.repeat(j),Q[5]=q,Q[6]=j,Q[7]=U;else U=Q[7];let O;if(Q[8]!==Z||Q[9]!==A||Q[10]!==w||Q[11]!==W||Q[12]!==U)O=k(h,{color:Z,dimColor:A,children:[w," ",W," ",U]}),Q[8]=Z,Q[9]=A,Q[10]=w,Q[11]=W,Q[12]=U,Q[13]=O;else O=Q[13];return O}let H=!Z,L;if(Q[14]!==q||Q[15]!==N)L=q.repeat(N),Q[14]=q,Q[15]=N,Q[16]=L;else L=Q[16];let _;if(Q[17]!==Z||Q[18]!==H||Q[19]!==L)_=S(h,{color:Z,dimColor:H,children:L}),Q[17]=Z,Q[18]=H,Q[19]=L,Q[20]=_;else _=Q[20];return _}var TQ;var DQ=F(()=>{YQ();sQ();a();f();TQ=M(u(),1)});function oV(X){let Q=PQ.c(9),{children:V,color:Z}=X;if(IQ()){let q;if(Q[0]!==V)q=S(g,{flexDirection:"column",paddingX:1,flexShrink:0,children:V}),Q[0]=V,Q[1]=q;else q=Q[1];return q}let Y;if(Q[2]!==Z)Y=S(EQ,{color:Z}),Q[2]=Z,Q[3]=Y;else Y=Q[3];let J;if(Q[4]!==V)J=S(g,{flexDirection:"column",paddingX:2,children:V}),Q[4]=V,Q[5]=J;else J=Q[5];let G;if(Q[6]!==Y||Q[7]!==J)G=k(g,{flexDirection:"column",paddingTop:1,children:[Y,J]}),Q[6]=Y,Q[7]=J,Q[8]=G;else G=Q[8];return G}var PQ;var rQ=F(()=>{KQ();a();DQ();f();PQ=M(u(),1)});async function ZV(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/eligibility`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:5000})).data}async function ZX(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/redemptions`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:1e4})).data}function xQ(){return!!(P()?.organizationUuid&&$Q()&&bQ()==="max")}function JX(){if(!xQ())return{eligible:!1,needsRefresh:!1,hasCache:!1};let X=P()?.organizationUuid;if(!X)return{eligible:!1,needsRefresh:!1,hasCache:!1};let V=x().passesEligibilityCache?.[X];if(!V)return{eligible:!1,needsRefresh:!0,hasCache:!1};let{eligible:Z,timestamp:Y}=V,G=Date.now()-Y>pQ;return{eligible:Z,needsRefresh:G,hasCache:!0}}function GX(X){let Q=JV[X.currency]??`${X.currency} `,V=X.amount_minor_units/100,Z=V%1===0?V.toString():V.toFixed(2);return`${Q}${Z}`}function qX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.referrer_reward??null}function LX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.remaining_passes??null}async function vQ(){if(p)return D("Passes: Reusing in-flight eligibility fetch"),p;let X=P()?.organizationUuid;if(!X)return null;return p=(async()=>{try{let Q=await ZV(),V={...Q,timestamp:Date.now()};return mQ((Z)=>({...Z,passesEligibilityCache:{...Z.passesEligibilityCache,[X]:V}})),D(`Passes eligibility cached for org ${X}: ${Q.eligible}`),Q}catch(Q){return D("Failed to fetch and cache passes eligibility"),CQ(Q),null}finally{p=null}})(),p}async function GV(){if(!xQ())return null;let X=P()?.organizationUuid;if(!X)return null;let V=x().passesEligibilityCache?.[X],Z=Date.now();if(!V)return D("Passes: No cache, fetching eligibility in background (command unavailable this session)"),vQ(),null;if(Z-V.timestamp>pQ){D("Passes: Cache stale, returning cached data and refreshing in background"),vQ();let{timestamp:G,...q}=V;return q}D("Passes: Using fresh cached eligibility data");let{timestamp:Y,...J}=V;return J}async function HX(){if(fQ())return;GV()}var pQ=86400000,p=null,JV;var qV=F(()=>{tQ();nQ();XV();QV();iQ();VV();eQ();YV();JV={USD:"$",EUR:"€",GBP:"£",BRL:"R$",CAD:"CA$",AUD:"A$",NZD:"NZ$",SGD:"S$"}});
2
+ export{XQ as WX,YQ as XX,GQ as YX,yQ as ZX,l as _X,BV as $X,qQ as aY,LQ as bY,zQ as cY,BQ as dY,MV as eY,y as fY,SV as gY,UQ as hY,TV as iY,OQ as jY,_Q as kY,o as lY,WQ as mY,$V as nY,oQ as oY,s as pY,IQ as qY,pV as rY,xV as sY,KQ as tY,EQ as uY,DQ as vY,oV as wY,rQ as xY,ZX as yY,JX as zY,GX as AY,qX as BY,LX as CY,GV as DY,HX as EY,qV as FY};
@@ -0,0 +1,15 @@
1
+ import{f2 as r,i2 as OJ}from"./cli-1.0.16-94c7kpx1.mjs";import{Hda as MJ,Tea as P,gba as v,iba as _J,qga as q,vea as N,x_ as W,xda as o,y_ as D,yga as f}from"./cli-1.0.16-t2ky4p5s.mjs";import{Xia as A,_ia as GJ}from"./cli-1.0.16-6d9kerj1.mjs";import{Dja as k,Eja as L,Ija as F,Mja as O,Qja as I,_ja as K,bka as BJ}from"./cli-1.0.16-04tr8fw7.mjs";import{Aka as _,Dka as p,Fka as x,ika as i,zka as M}from"./cli-1.0.16-7hc7p9x4.mjs";import{Ika as B,Vka as b}from"./cli-1.0.16-q2g1eds7.mjs";import{hsa as w}from"./cli-1.0.16-y9yxyd77.mjs";import{access as E,chmod as ZJ,writeFile as $J}from"fs/promises";import{homedir as m}from"os";import{join as y}from"path";function U(){return y(B(),"local")}function qJ(J=m()){return y(J,".claude","local")}function d(J){let Q=J?.homeDir??m(),Y=J?.configHomeDir??B();return Array.from(new Set([y(Y,"local"),qJ(Q)]))}function u(J){return[y(J,"node_modules",".bin","claudin"),y(J,"node_modules",".bin","claude")]}function KJ(J){let Q=J.replace(/\\+/g,"/");return Q.includes("/.claudin/local/node_modules/")||Q.includes("/.claude/local/node_modules/")}function V(){return y(U(),"claudin")}function uJ(){return KJ(process.argv[1]||"")}async function C(J,Q,Y){try{return await $J(J,Q,{encoding:"utf8",flag:"wx",mode:Y}),!0}catch(Z){if(M(Z)==="EEXIST")return!1;throw Z}}async function WJ(){try{let J=U();await O().mkdir(J),await C(y(J,"package.json"),k({name:"claudin-local",version:"0.0.1",private:!0},null,2));let Q=V();if(await C(Q,`#!/bin/sh
2
+ exec "${J}/node_modules/.bin/claudin" "$@"`,493))await ZJ(Q,493);return!0}catch(J){return q(J),!1}}async function hJ(J,Q){try{if(!await WJ())return"install_failed";let Z=await W("npm",["install",`@claudiolabs/claudin@${Q?Q:J==="stable"?"stable":"latest"}`],{cwd:U(),maxBuffer:1e6});if(Z.code!==0){let $=Error(`Failed to install Claude CLI package: ${Z.stderr}`);return q($),Z.code===190?"in_progress":"install_failed"}return N(($)=>({...$,installMethod:"local"})),"success"}catch(Y){return q(Y),"install_failed"}}async function pJ(){for(let J of d())for(let Q of u(J))try{return await E(Q),!0}catch{}return!1}async function cJ(){for(let J of d())for(let Q of u(J))try{return await E(Q),J}catch{}return null}function gJ(){let J=process.env.SHELL||"";if(J.includes("zsh"))return"zsh";if(J.includes("bash"))return"bash";if(J.includes("fish"))return"fish";return"unknown"}var h=w(()=>{P();b();x();D();I();f();F()});import{open as XJ,readFile as zJ,stat as HJ}from"fs/promises";import{homedir as c}from"os";import{join as T}from"path";function S(J){let Q=J?.homedir??c(),Z=(J?.env??process.env).ZDOTDIR||Q;return{zsh:T(Z,".zshrc"),bash:T(Q,".bashrc"),fish:T(Q,".config/fish/config.fish")}}function n(J){let Q=!1;return{filtered:J.filter((Z)=>{if(g.test(Z)){let $=Z.match(/alias\s+claude\s*=\s*["']([^"']+)["']/);if(!$)$=Z.match(/alias\s+claude\s*=\s*([^#\n]+)/);if($&&$[1]){if($[1].trim()===V())return Q=!0,!1}}return!0}),hadAlias:Q}}async function j(J){try{return(await zJ(J,{encoding:"utf8"})).split(`
3
+ `)}catch(Q){if(p(Q))return null;throw Q}}async function s(J,Q){let Y=await XJ(J,"w");try{await Y.writeFile(Q.join(`
4
+ `),{encoding:"utf8"}),await Y.datasync()}finally{await Y.close()}}async function yJ(J){let Q=S(J);for(let Y of Object.values(Q)){let Z=await j(Y);if(!Z)continue;for(let $ of Z)if(g.test($)){let z=$.match(/alias\s+claude=["']?([^"'\s]+)/);if(z&&z[1])return z[1]}}return null}async function oJ(J){let Q=await yJ(J);if(!Q)return null;let Y=J?.homedir??c(),Z=Q.startsWith("~")?Q.replace("~",Y):Q;try{let $=await HJ(Z);if($.isFile()||$.isSymbolicLink())return Q}catch{}return null}var g;var a=w(()=>{x();h();g=/^\s*alias\s+claude\s*=/});import{constants as e}from"fs";import{access as JJ,stat as vJ,writeFile as t}from"fs/promises";import{homedir as X}from"os";import{join as R}from"path";function QJ(){let J=process.argv[1]||"";if(J.includes("/.bun/install/global/"))return!0;let Q=process.env.BUN_INSTALL;if(Q&&J.startsWith(Q))return!0;return!1}async function RJ(){let J=await W("bun",["pm","ls","-g"],{cwd:X()});if(J.code!==0)return!1;return J.stdout.includes("@claudiolabs/claudin")}function xJ(){let J=process.env.BUN_INSTALL||R(X(),".bun");return R(J,"install","global","node_modules","@claudiolabs/claudin")}async function UJ(J,Q){let Y=await W("node",[J],{cwd:Q});if(Y.code===0)return!0;if(!wJ.test(Y.error??""))return q(new G(`Skipped postinstall failed under node: ${Y.stdout} ${Y.stderr}`)),!1;let Z=await W("bun",[J],{cwd:Q});if(Z.code===0)return!0;return q(new G(`Skipped postinstall failed under bun: ${Z.stdout} ${Z.stderr}`)),!1}async function VJ(){let J=xJ(),Q=R(J,"install.cjs"),Y=R(J,"bin","claudin.exe");try{await JJ(Q,e.F_OK)}catch(Z){if(!_(Z))q(Z);return!1}try{if((await vJ(Y)).size>NJ)return!1}catch(Z){if(!_(Z))return q(Z),!1}if(!await UJ(Q,J))return!1;return K("update: repaired Bun global launcher via install.cjs"),!0}async function OQ(){}async function vQ(){return}async function RQ(){return}function NQ(J){let Y=o()?.minimumVersion;if(!Y)return!1;let Z=!r(J,Y);if(Z)K(`Skipping update to ${J} - below minimumVersion ${Y}`);return Z}function YJ(){return R(B(),".update.lock")}async function TJ(){let J=O(),Q=YJ();try{let Y=await J.stat(Q);if(Date.now()-Y.mtimeMs<l)return!1;try{let $=await J.stat(Q);if(Date.now()-$.mtimeMs<l)return!1;await J.unlink(Q)}catch($){if(!_($))return q($),!1}}catch(Y){if(!_(Y))return q(Y),!1}try{return await t(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch(Y){let Z=M(Y);if(Z==="EEXIST")return!1;if(Z==="ENOENT")try{return await J.mkdir(B()),await t(Q,`${process.pid}`,{encoding:"utf8",flag:"wx"}),!0}catch($){if(M($)==="EEXIST")return!1;return q($),!1}return q(Y),!1}}async function SJ(){let J=O(),Q=YJ();try{if(await J.readFile(Q,{encoding:"utf8"})===`${process.pid}`)await J.unlink(Q)}catch(Y){if(_(Y))return;q(Y)}}async function jJ(){let J=v.isRunningWithBun()||QJ(),Q=null;if(J)Q=await W("bun",["pm","bin","-g"],{cwd:X()});else Q=await W("npm",["-g","config","get","prefix"],{cwd:X()});if(Q.code!==0)return q(Error(`Failed to check ${J?"bun":"npm"} permissions`)),null;return Q.stdout.trim()}async function AJ(){try{let J=await jJ();if(!J)return{hasPermissions:!1,npmPrefix:null};try{return await JJ(J,e.W_OK),{hasPermissions:!0,npmPrefix:J}}catch{return q(new G("Insufficient permissions for global npm install.")),{hasPermissions:!1,npmPrefix:J}}}catch(J){return q(J),{hasPermissions:!1,npmPrefix:null}}}async function wQ(J,Q={}){let Y=J==="stable"?"stable":"latest",Z=Q.timeoutMs??5000,$=await W("npm",["view",`@claudiolabs/claudin@${Y}`,"version","--prefer-online"],{abortSignal:AbortSignal.timeout(Z),cwd:X()});if($.code!==0){if(K(`npm view failed with code ${$.code}`),$.stderr)K(`npm stderr: ${$.stderr.trim()}`);else K("npm stderr: (empty)");if($.stdout)K(`npm stdout: ${$.stdout.trim()}`);return null}return $.stdout.trim()}async function xQ(){let J=await W("npm",["view","@claudiolabs/claudin","dist-tags","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(5000),cwd:X()});if(J.code!==0)return K(`npm view dist-tags failed with code ${J.code}`),{latest:null,stable:null};try{let Q=L(J.stdout.trim());return{latest:typeof Q.latest==="string"?Q.latest:null,stable:typeof Q.stable==="string"?Q.stable:null}}catch(Q){return K(`Failed to parse dist-tags: ${Q}`),{latest:null,stable:null}}}async function UQ(J){return null}async function VQ(){return{latest:null,stable:null}}async function TQ(J){let Y=await W("npm",["view","@claudiolabs/claudin","versions","--json","--prefer-online"],{abortSignal:AbortSignal.timeout(30000),cwd:X()});if(Y.code!==0){if(K(`npm view versions failed with code ${Y.code}`),Y.stderr)K(`npm stderr: ${Y.stderr.trim()}`);return[]}try{return L(Y.stdout.trim()).slice(-J).reverse()}catch(Z){return K(`Failed to parse version history: ${Z}`),[]}}async function SQ(J){if(!await TJ())return q(new G("Another process is currently installing an update")),A("tengu_auto_updater_lock_contention",{pid:process.pid,currentVersion:"99.0.0"}),"in_progress";try{if(await LJ(),!v.isRunningWithBun()&&v.isNpmFromWindowsPath())return q(Error("Windows NPM detected in WSL environment")),A("tengu_auto_updater_windows_npm_in_wsl",{currentVersion:"99.0.0"}),console.error(`
5
+ Error: Windows NPM detected in WSL
6
+
7
+ You're running Claude Code in WSL but using the Windows NPM installation from /mnt/c/.
8
+ This configuration is not supported for updates.
9
+
10
+ To fix this issue:
11
+ 1. Install Node.js within your Linux distribution: e.g. sudo apt install nodejs npm
12
+ 2. Make sure Linux NPM is in your PATH before the Windows version
13
+ 3. Try updating again with 'claude update'
14
+ `),"install_failed";let{hasPermissions:Q}=await AJ();if(!Q)return"no_permissions";let Y=J?`@claudiolabs/claudin@${J}`:"@claudiolabs/claudin",Z=v.isRunningWithBun()||QJ()?"bun":"npm",z=await W(Z,Z==="npm"?["install","-g","--force",Y]:["install","-g",Y],{cwd:X()});if(z.code!==0){let H=new G(`Failed to install new version of claude: ${z.stdout} ${z.stderr}`);return q(H),"install_failed"}if(Z==="npm"&&await RJ()){let H=await W("bun",["install","-g",Y],{cwd:X()});if(H.code!==0)q(new G(`Failed to update bun global install: ${H.stdout} ${H.stderr}`))}return await VJ(),N((H)=>({...H,installMethod:"global"})),"success"}finally{await SJ()}}async function LJ(){let J=S();for(let[,Q]of Object.entries(J))try{let Y=await j(Q);if(!Y)continue;let{filtered:Z,hadAlias:$}=n(Y);if($)await s(Q,Z),K(`Removed claude alias from ${Q}`)}catch(Y){K(`Failed to remove alias from ${Q}: ${Y}`,{level:"error"})}}var G,NJ=4096,wJ,l=300000;var CJ=w(()=>{GJ();P();BJ();_J();b();x();D();I();f();OJ();MJ();a();F();G=class G extends i{};wJ=/ENOENT/i});
15
+ export{uJ as _T,hJ as $T,pJ as aU,cJ as bU,gJ as cU,h as dU,S as eU,n as fU,j as gU,s as hU,yJ as iU,oJ as jU,a as kU,VJ as lU,OQ as mU,vQ as nU,RQ as oU,NQ as pU,YJ as qU,AJ as rU,wQ as sU,xQ as tU,UQ as uU,VQ as vU,TQ as wU,SQ as xU,CJ as yU};
@@ -0,0 +1,2 @@
1
+ import{Ww as o,Xw as n}from"./cli-1.0.16-pz654728.mjs";import{hsa as e}from"./cli-1.0.16-y9yxyd77.mjs";function i(m){t.setState(()=>[...m])}var t,r=()=>t.getState(),d;var s=e(()=>{n();t=o([]),d=t.subscribe});
2
+ export{r as Ld,d as Md,i as Nd,s as Od};
@@ -0,0 +1,2 @@
1
+ import{qga as C,w_ as z,y_ as H,yga as J}from"./cli-1.0.16-t2ky4p5s.mjs";H();J();var K=/https:\/\/[^\s]+\/pull\/\d+/;function M(q){try{let k=JSON.parse(q);if(!Array.isArray(k))return[];return k.filter((v)=>typeof v==="object"&&v!==null&&typeof v.number==="number")}catch(k){return C(`failed to parse gh issue list output: ${k instanceof Error?k.message:String(k)}`),[]}}function O(q){let k=q.trim(),v=k.lastIndexOf("/");return v===-1?k||"main":k.slice(v+1)||"main"}function Q(q){let k=q.match(K);if(k)return k[0];let v=q.trim();return/^https?:\/\/\S+$/.test(v)?v:null}async function W(q){let{stdout:k,code:v,error:A}=await z("gh",["issue","list","--label",q,"--state","open","--json","number,title,body,updatedAt"]);if(v!==0){if(A)C(`gh issue list failed: ${A}`);return[]}return M(k)}async function X(){let{stdout:q,code:k}=await z("git",["rev-parse","--abbrev-ref","origin/HEAD"]);if(k!==0)return"main";return O(q)}async function Y(){let{stdout:q,code:k}=await z("git",["status","--porcelain"]);if(k!==0)return!1;return q.trim().length>0}async function Z(q){let k=await z("git",["add","-A"]);if(k.code!==0)return C(`git add failed: ${k.error??k.stderr}`),!1;let v=await z("git",["commit","-m",q]);if(v.code!==0)return C(`git commit failed: ${v.error??v.stderr}`),!1;return!0}async function $(q){let{code:k,stderr:v,error:A}=await z("git",["push","-u","origin",q]);if(k!==0)return C(`git push failed: ${A??v}`),!1;return!0}async function B(q){let{stdout:k,code:v,stderr:A,error:G}=await z("gh",["pr","create","--base",q.base,"--head",q.head,"--title",q.title,"--body-file",q.bodyFile]);if(v!==0)return C(`gh pr create failed: ${G??A}`),null;return Q(k)}async function D(q,k){let{code:v,stderr:A,error:G}=await z("gh",["issue","comment",String(q),"--body",k]);if(v!==0)return C(`gh issue comment failed: ${G??A}`),!1;return!0}
2
+ export{W as a,X as b,Y as c,Z as d,$ as e,B as f,D as g};
@@ -0,0 +1,2 @@
1
+ import{aj as M,bj as W,rO as O,sO as P,tO as Q,uO as U,xO as X}from"./cli-1.0.16-pz654728.mjs";import{hsa as V}from"./cli-1.0.16-y9yxyd77.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
2
+ export{F as xg,$ as yg};