@claudiolabs/claudin 1.1.8 → 1.1.10

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 (918) hide show
  1. package/dist/chunks/AgentTool-1.1.10-gj63wvsc.mjs +1 -0
  2. package/dist/chunks/App-1.1.10-sk0bjxfk.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.10-7yenejkw.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.10-0aa0zy1a.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.10-vyft90yk.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.10-657b3x88.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.10-2vb72aje.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.10-dcrmyx9b.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.10-3k4xatjv.mjs +7 -0
  10. package/dist/chunks/Doctor-1.1.10-rgy7nenk.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.10-7tka6rrk.mjs +6 -0
  12. package/dist/chunks/Grove-1.1.10-mzvca2vd.mjs +1 -0
  13. package/dist/chunks/ITermBackend-1.1.10-zf1cxr4h.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.1.10-xbvct858.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.1.10-29tqjn4y.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.1.10-0fdsdbna.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.1.10-pwtdmht6.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.1.10-qdhkgymy.mjs +1 -0
  19. package/dist/chunks/REPL-1.1.10-d1wzzd1a.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.1.10-qxv36tqp.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.1.10-1w85m05k.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.1.10-qsf4xmkj.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.1.10-b0js9xk0.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.1.10-v8g7z6vy.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.1.10-mh9af70m.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.1.10-23pzjxjm.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.1.10-561ps5mb.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.1.10-1spf7213.mjs +1 -0
  29. package/dist/chunks/add-dir-1.1.10-pvac31nq.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.1.10-1g7w3dx1.mjs +1 -0
  31. package/dist/chunks/agents-1.1.10-8m9yb7xs.mjs +110 -0
  32. package/dist/chunks/agents-1.1.10-spgs7zfh.mjs +3 -0
  33. package/dist/chunks/api-1.1.10-6md4ym02.mjs +1 -0
  34. package/dist/chunks/asciicast-1.1.10-r808f4jx.mjs +1 -0
  35. package/dist/chunks/assistant-1.1.10-2jgdpy2m.mjs +1 -0
  36. package/dist/chunks/auth-1.1.10-c58sakkr.mjs +1 -0
  37. package/dist/chunks/auth-1.1.10-sfzbw010.mjs +1 -0
  38. package/dist/chunks/autoMode-1.1.10-c8tm40pq.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.1.10-avtbnsyp.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.10-n208vt88.mjs +1 -0
  41. package/dist/chunks/branch-1.1.10-qtvf52jq.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.10-ryc7krfd.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.10-3j77pwcn.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.10-mdqzrmk6.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.10-0da3j9a0.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.10-hjbfhk32.mjs +1 -0
  47. package/dist/chunks/btw-1.1.10-k6ndf81e.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.10-t5yrtkdq.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.10-tkh4t0g0.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.10-q4zvr7r5.mjs +4 -0
  51. package/dist/chunks/caches-1.1.10-107p4aea.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.10-fkx2a88x.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.10-n325a040.mjs +1 -0
  54. package/dist/chunks/clear-1.1.10-evfcfpzq.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.10-9c6e5w18.mjs +1 -0
  56. package/dist/chunks/cli-1.1.10-051sym72.mjs +2 -0
  57. package/dist/chunks/cli-1.1.10-05ry3ydz.mjs +2 -0
  58. package/dist/chunks/cli-1.1.10-0hqk157z.mjs +2 -0
  59. package/dist/chunks/cli-1.1.10-0j2bz40j.mjs +2 -0
  60. package/dist/chunks/cli-1.1.10-0ss6k2ta.mjs +133 -0
  61. package/dist/chunks/cli-1.1.10-0sxx8rkz.mjs +21 -0
  62. package/dist/chunks/cli-1.1.10-0t3bda7e.mjs +45 -0
  63. package/dist/chunks/cli-1.1.10-0v84m667.mjs +2 -0
  64. package/dist/chunks/cli-1.1.10-0v8v9gwe.mjs +17 -0
  65. package/dist/chunks/cli-1.1.10-0vae4j38.mjs +2 -0
  66. package/dist/chunks/cli-1.1.10-0vm5evaf.mjs +2 -0
  67. package/dist/chunks/cli-1.1.10-0yx9c9s1.mjs +2 -0
  68. package/dist/chunks/cli-1.1.10-12dzgaq4.mjs +2 -0
  69. package/dist/chunks/cli-1.1.10-15m7f0r3.mjs +50 -0
  70. package/dist/chunks/cli-1.1.10-1jkxjyqd.mjs +2 -0
  71. package/dist/chunks/cli-1.1.10-1mh77njj.mjs +2 -0
  72. package/dist/chunks/cli-1.1.10-1qxr18wg.mjs +2 -0
  73. package/dist/chunks/cli-1.1.10-220cer0v.mjs +9 -0
  74. package/dist/chunks/cli-1.1.10-250q8bef.mjs +2 -0
  75. package/dist/chunks/cli-1.1.10-2rygdbq2.mjs +2 -0
  76. package/dist/chunks/cli-1.1.10-2scx8n6c.mjs +2 -0
  77. package/dist/chunks/cli-1.1.10-2thwcpkf.mjs +18 -0
  78. package/dist/chunks/cli-1.1.10-2w383pwf.mjs +2 -0
  79. package/dist/chunks/cli-1.1.10-2w4c9red.mjs +3 -0
  80. package/dist/chunks/cli-1.1.10-2wkvf65f.mjs +2 -0
  81. package/dist/chunks/cli-1.1.10-2x1a8qcr.mjs +2 -0
  82. package/dist/chunks/cli-1.1.10-374zmax8.mjs +2 -0
  83. package/dist/chunks/cli-1.1.10-39crhqg8.mjs +2 -0
  84. package/dist/chunks/cli-1.1.10-3a3dw1b0.mjs +6 -0
  85. package/dist/chunks/cli-1.1.10-3pch2a3h.mjs +2 -0
  86. package/dist/chunks/cli-1.1.10-3vfwktcp.mjs +2 -0
  87. package/dist/chunks/cli-1.1.10-436vz31m.mjs +2 -0
  88. package/dist/chunks/cli-1.1.10-453rs0bh.mjs +3 -0
  89. package/dist/chunks/cli-1.1.10-49bvng33.mjs +2 -0
  90. package/dist/chunks/cli-1.1.10-4fjjvbb7.mjs +2 -0
  91. package/dist/chunks/cli-1.1.10-4h8gax7r.mjs +2 -0
  92. package/dist/chunks/cli-1.1.10-4xztz3b9.mjs +24 -0
  93. package/dist/chunks/cli-1.1.10-51vyhqae.mjs +2 -0
  94. package/dist/chunks/cli-1.1.10-5828mt9m.mjs +2 -0
  95. package/dist/chunks/cli-1.1.10-58e888gh.mjs +2 -0
  96. package/dist/chunks/cli-1.1.10-58vqqfgj.mjs +2 -0
  97. package/dist/chunks/cli-1.1.10-5hrs5rqr.mjs +2 -0
  98. package/dist/chunks/cli-1.1.10-5t6aryqe.mjs +2 -0
  99. package/dist/chunks/cli-1.1.10-5t95b8cn.mjs +2 -0
  100. package/dist/chunks/cli-1.1.10-5y236qn7.mjs +2 -0
  101. package/dist/chunks/cli-1.1.10-6g4fntdc.mjs +3 -0
  102. package/dist/chunks/cli-1.1.10-6km1ymnm.mjs +2 -0
  103. package/dist/chunks/cli-1.1.10-6m1jpn0s.mjs +24 -0
  104. package/dist/chunks/cli-1.1.10-6q7mx8f2.mjs +2 -0
  105. package/dist/chunks/cli-1.1.10-6smvkrsd.mjs +2 -0
  106. package/dist/chunks/cli-1.1.10-6vxxztf9.mjs +2 -0
  107. package/dist/chunks/cli-1.1.10-6ya9ptdc.mjs +2 -0
  108. package/dist/chunks/cli-1.1.10-795jmkhb.mjs +2 -0
  109. package/dist/chunks/cli-1.1.10-84ev8nya.mjs +2 -0
  110. package/dist/chunks/cli-1.1.10-85j5ems7.mjs +2 -0
  111. package/dist/chunks/cli-1.1.10-8fgppw70.mjs +2 -0
  112. package/dist/chunks/cli-1.1.10-8vmgbrks.mjs +2 -0
  113. package/dist/chunks/cli-1.1.10-8xx1v7p2.mjs +2 -0
  114. package/dist/chunks/cli-1.1.10-910qbqn7.mjs +133 -0
  115. package/dist/chunks/cli-1.1.10-99ep1sr9.mjs +2 -0
  116. package/dist/chunks/cli-1.1.10-9jy4caft.mjs +2 -0
  117. package/dist/chunks/cli-1.1.10-9pxnk8yg.mjs +6 -0
  118. package/dist/chunks/cli-1.1.10-9q1p3zj2.mjs +2 -0
  119. package/dist/chunks/cli-1.1.10-9r8td4sp.mjs +2 -0
  120. package/dist/chunks/cli-1.1.10-a0ypafa6.mjs +2 -0
  121. package/dist/chunks/cli-1.1.10-a565mgy8.mjs +2 -0
  122. package/dist/chunks/cli-1.1.10-a7j4a04g.mjs +2 -0
  123. package/dist/chunks/cli-1.1.10-a8e8n1bk.mjs +2 -0
  124. package/dist/chunks/cli-1.1.10-aq5a8xs2.mjs +2 -0
  125. package/dist/chunks/cli-1.1.10-azskxdmb.mjs +2 -0
  126. package/dist/chunks/cli-1.1.10-b0b04nbj.mjs +2 -0
  127. package/dist/chunks/cli-1.1.10-b1hac494.mjs +2 -0
  128. package/dist/chunks/cli-1.1.10-b41dat7h.mjs +2 -0
  129. package/dist/chunks/cli-1.1.10-b6my5t3h.mjs +2 -0
  130. package/dist/chunks/cli-1.1.10-ba3fhh55.mjs +2 -0
  131. package/dist/chunks/cli-1.1.10-bpcmdnpg.mjs +2 -0
  132. package/dist/chunks/cli-1.1.10-bs5xjsav.mjs +39 -0
  133. package/dist/chunks/cli-1.1.10-c2wdnady.mjs +3 -0
  134. package/dist/chunks/cli-1.1.10-c3g5ab8n.mjs +2 -0
  135. package/dist/chunks/cli-1.1.10-c67v6p50.mjs +2 -0
  136. package/dist/chunks/cli-1.1.10-c77kxdjj.mjs +2 -0
  137. package/dist/chunks/cli-1.1.10-cbgx6hw2.mjs +9 -0
  138. package/dist/chunks/cli-1.1.10-cgan8hpz.mjs +2 -0
  139. package/dist/chunks/cli-1.1.10-cn0a8vwn.mjs +2 -0
  140. package/dist/chunks/cli-1.1.10-ct81y4qh.mjs +4 -0
  141. package/dist/chunks/cli-1.1.10-cvxq4g91.mjs +2 -0
  142. package/dist/chunks/cli-1.1.10-cyv1wwen.mjs +3 -0
  143. package/dist/chunks/cli-1.1.10-d15qrtw2.mjs +2 -0
  144. package/dist/chunks/cli-1.1.10-d4ncq82f.mjs +8 -0
  145. package/dist/chunks/cli-1.1.10-dppcc1yx.mjs +6 -0
  146. package/dist/chunks/cli-1.1.10-dvxkr02c.mjs +2 -0
  147. package/dist/chunks/cli-1.1.10-e7wxspgz.mjs +4 -0
  148. package/dist/chunks/cli-1.1.10-e8zhf6q8.mjs +2 -0
  149. package/dist/chunks/cli-1.1.10-ecahzspx.mjs +2 -0
  150. package/dist/chunks/cli-1.1.10-effpqe7k.mjs +2 -0
  151. package/dist/chunks/cli-1.1.10-ejwjw031.mjs +6 -0
  152. package/dist/chunks/cli-1.1.10-eqscqpev.mjs +3 -0
  153. package/dist/chunks/cli-1.1.10-erh9bkn9.mjs +24 -0
  154. package/dist/chunks/cli-1.1.10-ex9enqps.mjs +2 -0
  155. package/dist/chunks/cli-1.1.10-f00rps59.mjs +2 -0
  156. package/dist/chunks/cli-1.1.10-f2zv6ggd.mjs +2 -0
  157. package/dist/chunks/cli-1.1.10-f7dqg4nd.mjs +2 -0
  158. package/dist/chunks/cli-1.1.10-f8q95jfw.mjs +2 -0
  159. package/dist/chunks/cli-1.1.10-f8znbdgf.mjs +4 -0
  160. package/dist/chunks/cli-1.1.10-fdxccf2v.mjs +3 -0
  161. package/dist/chunks/cli-1.1.10-fkqba8ty.mjs +58 -0
  162. package/dist/chunks/cli-1.1.10-fnvz77rd.mjs +2 -0
  163. package/dist/chunks/cli-1.1.10-fsq46r6j.mjs +2 -0
  164. package/dist/chunks/cli-1.1.10-fz99ag3y.mjs +2 -0
  165. package/dist/chunks/cli-1.1.10-gafedg04.mjs +2 -0
  166. package/dist/chunks/cli-1.1.10-gjdh1yvr.mjs +2 -0
  167. package/dist/chunks/cli-1.1.10-gmf5w0a4.mjs +2 -0
  168. package/dist/chunks/cli-1.1.10-gnmyahda.mjs +7 -0
  169. package/dist/chunks/cli-1.1.10-gr69gke8.mjs +15 -0
  170. package/dist/chunks/cli-1.1.10-gydf5ktx.mjs +2 -0
  171. package/dist/chunks/cli-1.1.10-h0b2x5t4.mjs +2 -0
  172. package/dist/chunks/cli-1.1.10-h49727f7.mjs +3 -0
  173. package/dist/chunks/cli-1.1.10-h4m6563f.mjs +4 -0
  174. package/dist/chunks/cli-1.1.10-hdz1r66z.mjs +2 -0
  175. package/dist/chunks/cli-1.1.10-hg2m67ya.mjs +15 -0
  176. package/dist/chunks/cli-1.1.10-hhkgpzgz.mjs +2 -0
  177. package/dist/chunks/cli-1.1.10-hk2c91wp.mjs +5379 -0
  178. package/dist/chunks/cli-1.1.10-hr4ety9s.mjs +2 -0
  179. package/dist/chunks/cli-1.1.10-hs44pkht.mjs +2 -0
  180. package/dist/chunks/cli-1.1.10-hx9513je.mjs +2 -0
  181. package/dist/chunks/cli-1.1.10-j20txpzn.mjs +2 -0
  182. package/dist/chunks/cli-1.1.10-j4vg803f.mjs +25 -0
  183. package/dist/chunks/cli-1.1.10-jd00fn0g.mjs +34 -0
  184. package/dist/chunks/cli-1.1.10-jeaf93w2.mjs +2 -0
  185. package/dist/chunks/cli-1.1.10-jfmgqmt5.mjs +17 -0
  186. package/dist/chunks/cli-1.1.10-jfwqa1gq.mjs +3 -0
  187. package/dist/chunks/cli-1.1.10-jn6w68wj.mjs +6 -0
  188. package/dist/chunks/cli-1.1.10-jp5ga1mx.mjs +2 -0
  189. package/dist/chunks/cli-1.1.10-jrpxc13y.mjs +2 -0
  190. package/dist/chunks/cli-1.1.10-jyk734bb.mjs +2 -0
  191. package/dist/chunks/cli-1.1.10-k9q658g7.mjs +2 -0
  192. package/dist/chunks/cli-1.1.10-kdvf271d.mjs +4 -0
  193. package/dist/chunks/cli-1.1.10-kdxm85xx.mjs +20 -0
  194. package/dist/chunks/cli-1.1.10-kw60xwcx.mjs +3 -0
  195. package/dist/chunks/cli-1.1.10-kxqtg1q9.mjs +2 -0
  196. package/dist/chunks/cli-1.1.10-kzbg67rw.mjs +5 -0
  197. package/dist/chunks/cli-1.1.10-m0pdck7q.mjs +202 -0
  198. package/dist/chunks/cli-1.1.10-m0xgys17.mjs +2 -0
  199. package/dist/chunks/cli-1.1.10-m10z6jbs.mjs +4 -0
  200. package/dist/chunks/cli-1.1.10-m86zy5vy.mjs +2 -0
  201. package/dist/chunks/cli-1.1.10-mawng745.mjs +12 -0
  202. package/dist/chunks/cli-1.1.10-mdkc2azc.mjs +2 -0
  203. package/dist/chunks/cli-1.1.10-mnbek10k.mjs +2 -0
  204. package/dist/chunks/cli-1.1.10-msg7sda2.mjs +59 -0
  205. package/dist/chunks/cli-1.1.10-mx6xpamf.mjs +2 -0
  206. package/dist/chunks/cli-1.1.10-n8ed7a8a.mjs +4 -0
  207. package/dist/chunks/cli-1.1.10-nfpy32s8.mjs +66 -0
  208. package/dist/chunks/cli-1.1.10-njf3620e.mjs +2 -0
  209. package/dist/chunks/cli-1.1.10-np84s5kd.mjs +2 -0
  210. package/dist/chunks/cli-1.1.10-ntrb7636.mjs +3 -0
  211. package/dist/chunks/cli-1.1.10-p28vy0yz.mjs +2 -0
  212. package/dist/chunks/cli-1.1.10-pkyv2v8k.mjs +2 -0
  213. package/dist/chunks/cli-1.1.10-ppft1w3p.mjs +2 -0
  214. package/dist/chunks/cli-1.1.10-psqaker4.mjs +2 -0
  215. package/dist/chunks/cli-1.1.10-pxdj0vvb.mjs +3 -0
  216. package/dist/chunks/cli-1.1.10-q2nbtgde.mjs +15 -0
  217. package/dist/chunks/cli-1.1.10-qh2qrbg9.mjs +2 -0
  218. package/dist/chunks/cli-1.1.10-qk19t6fd.mjs +2 -0
  219. package/dist/chunks/cli-1.1.10-qnswwjvv.mjs +4 -0
  220. package/dist/chunks/cli-1.1.10-qny1442k.mjs +2 -0
  221. package/dist/chunks/cli-1.1.10-qtkktme0.mjs +2 -0
  222. package/dist/chunks/cli-1.1.10-rgpghq5k.mjs +6 -0
  223. package/dist/chunks/cli-1.1.10-ryjne6pb.mjs +2 -0
  224. package/dist/chunks/cli-1.1.10-saacbyca.mjs +2 -0
  225. package/dist/chunks/cli-1.1.10-sbfv4gg3.mjs +2 -0
  226. package/dist/chunks/cli-1.1.10-sc2myky4.mjs +25 -0
  227. package/dist/chunks/cli-1.1.10-sdgrrb7v.mjs +2 -0
  228. package/dist/chunks/cli-1.1.10-sgrbnxr1.mjs +2 -0
  229. package/dist/chunks/cli-1.1.10-sv5wy20e.mjs +2 -0
  230. package/dist/chunks/cli-1.1.10-syrhp8d1.mjs +12 -0
  231. package/dist/chunks/cli-1.1.10-sz5x71xt.mjs +42 -0
  232. package/dist/chunks/cli-1.1.10-szjm5cs0.mjs +2 -0
  233. package/dist/chunks/cli-1.1.10-t0ypk4ke.mjs +2 -0
  234. package/dist/chunks/cli-1.1.10-t1vfqzsp.mjs +4 -0
  235. package/dist/chunks/cli-1.1.10-t3pn4ww9.mjs +2 -0
  236. package/dist/chunks/cli-1.1.10-t8n5jx0z.mjs +2 -0
  237. package/dist/chunks/cli-1.1.10-tntdtvhr.mjs +2 -0
  238. package/dist/chunks/cli-1.1.10-tnymg33g.mjs +2 -0
  239. package/dist/chunks/cli-1.1.10-tqfkjw71.mjs +2 -0
  240. package/dist/chunks/cli-1.1.10-trsts9v3.mjs +2 -0
  241. package/dist/chunks/cli-1.1.10-tv3hs8t2.mjs +2 -0
  242. package/dist/chunks/cli-1.1.10-ty52w0t8.mjs +2 -0
  243. package/dist/chunks/cli-1.1.10-v4mtt7fd.mjs +2 -0
  244. package/dist/chunks/cli-1.1.10-v9q9ddhz.mjs +2 -0
  245. package/dist/chunks/cli-1.1.10-vr1kd1f6.mjs +1 -0
  246. package/dist/chunks/cli-1.1.10-w6tkqgvq.mjs +2 -0
  247. package/dist/chunks/cli-1.1.10-w7zqsk0a.mjs +2 -0
  248. package/dist/chunks/cli-1.1.10-wb8bcef1.mjs +2 -0
  249. package/dist/chunks/cli-1.1.10-wjc9jsjt.mjs +2 -0
  250. package/dist/chunks/cli-1.1.10-wjcgsn42.mjs +24 -0
  251. package/dist/chunks/cli-1.1.10-wkzbqdmr.mjs +2 -0
  252. package/dist/chunks/cli-1.1.10-wm2kd8d3.mjs +5 -0
  253. package/dist/chunks/cli-1.1.10-wqc9fp4g.mjs +18 -0
  254. package/dist/chunks/cli-1.1.10-wvw85hk5.mjs +26 -0
  255. package/dist/chunks/cli-1.1.10-x7s7dnjf.mjs +2 -0
  256. package/dist/chunks/cli-1.1.10-x83wfqf9.mjs +4 -0
  257. package/dist/chunks/cli-1.1.10-x8dpgrgj.mjs +2 -0
  258. package/dist/chunks/cli-1.1.10-y4afn758.mjs +2 -0
  259. package/dist/chunks/cli-1.1.10-y8334h0w.mjs +3 -0
  260. package/dist/chunks/cli-1.1.10-y95f28g5.mjs +2 -0
  261. package/dist/chunks/cli-1.1.10-yzpymdrc.mjs +16 -0
  262. package/dist/chunks/cli-1.1.10-z0ddrtr1.mjs +2 -0
  263. package/dist/chunks/cli-1.1.10-z0zzjeej.mjs +4 -0
  264. package/dist/chunks/cli-1.1.10-z1mewb4a.mjs +3 -0
  265. package/dist/chunks/cli-1.1.10-zaq3qp5f.mjs +12 -0
  266. package/dist/chunks/client-1.1.10-n6skmcnp.mjs +1 -0
  267. package/dist/chunks/color-1.1.10-xgpy38nc.mjs +1 -0
  268. package/dist/chunks/compact-1.1.10-ywm45c47.mjs +3 -0
  269. package/dist/chunks/config-1.1.10-070kwjeg.mjs +1 -0
  270. package/dist/chunks/config-1.1.10-bvmgcws9.mjs +1 -0
  271. package/dist/chunks/constants-1.1.10-bfbmy8wz.mjs +1 -0
  272. package/dist/chunks/context-1.1.10-hfeqyewx.mjs +1 -0
  273. package/dist/chunks/context-noninteractive-1.1.10-ayept5ex.mjs +1 -0
  274. package/dist/chunks/conversation-1.1.10-eqnmzmgt.mjs +1 -0
  275. package/dist/chunks/copilotHeaders-1.1.10-rjwess9f.mjs +1 -0
  276. package/dist/chunks/copy-1.1.10-dvs7kz34.mjs +9 -0
  277. package/dist/chunks/cost-1.1.10-dk74vep1.mjs +1 -0
  278. package/dist/chunks/createSSHSession-1.1.10-dx93q1fp.mjs +1 -0
  279. package/dist/chunks/createSession-1.1.10-m7x38yn5.mjs +1 -0
  280. package/dist/chunks/debug-1.1.10-14v3zx1d.mjs +1 -0
  281. package/dist/chunks/defaultActionDeps-1.1.10-qa7ksxxs.mjs +1526 -0
  282. package/dist/chunks/desktop-1.1.10-yexkfd86.mjs +1 -0
  283. package/dist/chunks/detectRepository-1.1.10-71gvqxzs.mjs +1 -0
  284. package/dist/chunks/detection-1.1.10-ccdhhprp.mjs +1 -0
  285. package/dist/chunks/diff-1.1.10-m3gq5b6x.mjs +1 -0
  286. package/dist/chunks/doctor-1.1.10-td2cwcvc.mjs +1 -0
  287. package/dist/chunks/doctorDiagnostic-1.1.10-9c7dzt7n.mjs +1 -0
  288. package/dist/chunks/earlyInput-1.1.10-hz3yh50c.mjs +1 -0
  289. package/dist/chunks/effort-1.1.10-19pz34nx.mjs +13 -0
  290. package/dist/chunks/engine-1.1.10-44xhf5x0.mjs +1 -0
  291. package/dist/chunks/envLessBridgeConfig-1.1.10-4xe76fe7.mjs +1 -0
  292. package/dist/chunks/envUtils-1.1.10-dg023dvr.mjs +1 -0
  293. package/dist/chunks/environmentSelection-1.1.10-wrrx6jm9.mjs +1 -0
  294. package/dist/chunks/environments-1.1.10-x9feeaeq.mjs +1 -0
  295. package/dist/chunks/errors-1.1.10-yhgdas17.mjs +1 -0
  296. package/dist/chunks/exampleCommands-1.1.10-t5sggm4m.mjs +1 -0
  297. package/dist/chunks/execFileNoThrow-1.1.10-rgt8yj28.mjs +1 -0
  298. package/dist/chunks/exit-1.1.10-f5jn3kgb.mjs +1 -0
  299. package/dist/chunks/explorer-1.1.10-hex7p7et.mjs +1 -0
  300. package/dist/chunks/export-1.1.10-tqf9qfs4.mjs +2 -0
  301. package/dist/chunks/extra-usage-1.1.10-2ess7s1c.mjs +1 -0
  302. package/dist/chunks/extra-usage-noninteractive-1.1.10-rjjrh2xh.mjs +1 -0
  303. package/dist/chunks/fast-1.1.10-j2pmqx3f.mjs +1 -0
  304. package/dist/chunks/feedback-1.1.10-ae5vhd02.mjs +14 -0
  305. package/dist/chunks/firstPartyEventLogger-1.1.10-909y3hrr.mjs +1 -0
  306. package/dist/chunks/git-1.1.10-0v4t8ap3.mjs +1 -0
  307. package/dist/chunks/githubModelsCredentials-1.1.10-zfjn71v3.mjs +1 -0
  308. package/dist/chunks/goal-1.1.10-c1ngzwh9.mjs +4 -0
  309. package/dist/chunks/grove-1.1.10-1btbm4ss.mjs +1 -0
  310. package/dist/chunks/growthbook-1.1.10-jb56c9h4.mjs +1 -0
  311. package/dist/chunks/headless-1.1.10-ef38srvy.mjs +2 -0
  312. package/dist/chunks/heapdump-1.1.10-tp8h06gk.mjs +6 -0
  313. package/dist/chunks/help-1.1.10-d0kff6qz.mjs +1 -0
  314. package/dist/chunks/hookChains-1.1.10-dey6b4ns.mjs +3 -0
  315. package/dist/chunks/hooks-1.1.10-76n26ek9.mjs +79 -0
  316. package/dist/chunks/hooks-1.1.10-ke0jh0zh.mjs +1 -0
  317. package/dist/chunks/ide-1.1.10-8dv11nsj.mjs +3 -0
  318. package/dist/chunks/image-processor-napi-1.1.10-pdf041f5.mjs +1 -0
  319. package/dist/chunks/inboundAttachments-1.1.10-qaypt5tq.mjs +1 -0
  320. package/dist/chunks/index-1.1.10-21s5496v.mjs +23 -0
  321. package/dist/chunks/index-1.1.10-2eg2nfya.mjs +5 -0
  322. package/dist/chunks/index-1.1.10-3cnyfq9h.mjs +2 -0
  323. package/dist/chunks/index-1.1.10-4t4pr0x3.mjs +1 -0
  324. package/dist/chunks/index-1.1.10-5ckjpq80.mjs +1 -0
  325. package/dist/chunks/index-1.1.10-5mechh5k.mjs +1 -0
  326. package/dist/chunks/index-1.1.10-7hmv8qcy.mjs +30 -0
  327. package/dist/chunks/index-1.1.10-9v096e06.mjs +1 -0
  328. package/dist/chunks/index-1.1.10-abgftsv6.mjs +1 -0
  329. package/dist/chunks/index-1.1.10-ckjn4w4s.mjs +1 -0
  330. package/dist/chunks/index-1.1.10-ctta1ge7.mjs +1 -0
  331. package/dist/chunks/index-1.1.10-d57z21y9.mjs +9 -0
  332. package/dist/chunks/index-1.1.10-fnhrat0c.mjs +1 -0
  333. package/dist/chunks/index-1.1.10-fw2aa53g.mjs +1 -0
  334. package/dist/chunks/index-1.1.10-p4xpsvnc.mjs +1 -0
  335. package/dist/chunks/index-1.1.10-qzkv1wgv.mjs +1 -0
  336. package/dist/chunks/index-1.1.10-vk9vb3b3.mjs +9 -0
  337. package/dist/chunks/index-1.1.10-vxy96cge.mjs +1 -0
  338. package/dist/chunks/index-1.1.10-wsc6cpqa.mjs +1 -0
  339. package/dist/chunks/index-1.1.10-yvr6d150.mjs +1 -0
  340. package/dist/chunks/index-1.1.10-ywef0hmk.mjs +1 -0
  341. package/dist/chunks/index-1.1.10-zj3yzybb.mjs +1 -0
  342. package/dist/chunks/index-1.1.10-znghd3d1.mjs +2 -0
  343. package/dist/chunks/init-1.1.10-vd74ec5b.mjs +1 -0
  344. package/dist/chunks/initReplBridge-1.1.10-sgkbmqqp.mjs +1 -0
  345. package/dist/chunks/ink-1.1.10-n9qcenb6.mjs +1 -0
  346. package/dist/chunks/insights-1.1.10-jfrnsmw1.mjs +870 -0
  347. package/dist/chunks/install-1.1.10-wxs00yc5.mjs +1 -0
  348. package/dist/chunks/install-github-app-1.1.10-zxbkcqd1.mjs +149 -0
  349. package/dist/chunks/install-slack-app-1.1.10-tv0p6dq9.mjs +1 -0
  350. package/dist/chunks/instrumentation-1.1.10-fxcjzzc0.mjs +1 -0
  351. package/dist/chunks/interactiveHelpers-1.1.10-f7cwwren.mjs +1 -0
  352. package/dist/chunks/keybindings-1.1.10-b8121c36.mjs +2 -0
  353. package/dist/chunks/knowledge-1.1.10-tmxkye8d.mjs +2 -0
  354. package/dist/chunks/latestVersionCache-1.1.10-dtghtfgq.mjs +1 -0
  355. package/dist/chunks/loadAgentsDir-1.1.10-hh30mnyw.mjs +1 -0
  356. package/dist/chunks/loadPluginHooks-1.1.10-32f6reyc.mjs +1 -0
  357. package/dist/chunks/log-1.1.10-kvrqr31p.mjs +1 -0
  358. package/dist/chunks/main-1.1.10-fpywq82b.mjs +1 -0
  359. package/dist/chunks/managedEnv-1.1.10-0x8ncmb7.mjs +1 -0
  360. package/dist/chunks/mcp-1.1.10-0trfp77x.mjs +17 -0
  361. package/dist/chunks/mcp-1.1.10-j59azp3f.mjs +4 -0
  362. package/dist/chunks/mcp-1.1.10-tz7gvpxy.mjs +1 -0
  363. package/dist/chunks/mcpb-1.1.10-2ypk133j.mjs +1 -0
  364. package/dist/chunks/memory-1.1.10-hgcgdw39.mjs +72 -0
  365. package/dist/chunks/model-1.1.10-27ysny3w.mjs +1 -0
  366. package/dist/chunks/model-1.1.10-m4n7t06v.mjs +2 -0
  367. package/dist/chunks/node-1.1.10-gtb48qhp.mjs +12 -0
  368. package/dist/chunks/oauth-1.1.10-d6p06vbt.mjs +1 -0
  369. package/dist/chunks/openaiShim-1.1.10-e130485k.mjs +14 -0
  370. package/dist/chunks/output-style-1.1.10-mb75wr50.mjs +1 -0
  371. package/dist/chunks/package-L37ZVTF4-1.1.10-9a2hkd1x.mjs +1 -0
  372. package/dist/chunks/parseConnectUrl-1.1.10-h0c8png1.mjs +1 -0
  373. package/dist/chunks/parser-1.1.10-mw2brrzk.mjs +1 -0
  374. package/dist/chunks/passes-1.1.10-d8xzm3jv.mjs +1 -0
  375. package/dist/chunks/permissions-1.1.10-01fgr8vp.mjs +3 -0
  376. package/dist/chunks/permissions-1.1.10-jxhg9dnn.mjs +1 -0
  377. package/dist/chunks/plan-1.1.10-cqaej565.mjs +1 -0
  378. package/dist/chunks/plist-1.1.10-cssvr9wq.mjs +1 -0
  379. package/dist/chunks/plugin-1.1.10-zh92hjbn.mjs +29 -0
  380. package/dist/chunks/pluginStartupCheck-1.1.10-dk9bb5aj.mjs +1 -0
  381. package/dist/chunks/plugins-1.1.10-e40pek7s.mjs +9 -0
  382. package/dist/chunks/preActionHook-1.1.10-59kjxx2m.mjs +2 -0
  383. package/dist/chunks/print-1.1.10-exvxk5s6.mjs +57 -0
  384. package/dist/chunks/privacy-settings-1.1.10-4bdpnrms.mjs +1 -0
  385. package/dist/chunks/process-1.1.10-km5rbq9n.mjs +1 -0
  386. package/dist/chunks/processBashCommand-1.1.10-h4jmaj4v.mjs +1 -0
  387. package/dist/chunks/processSlashCommand-1.1.10-r7k9bvny.mjs +9 -0
  388. package/dist/chunks/prompt-1.1.10-01smdx9v.mjs +1 -0
  389. package/dist/chunks/prompt-1.1.10-e7736a74.mjs +1 -0
  390. package/dist/chunks/prompts-1.1.10-xq2654jw.mjs +1 -0
  391. package/dist/chunks/protocolHandler-1.1.10-y0y188tv.mjs +13 -0
  392. package/dist/chunks/provider-1.1.10-6w0w7pgq.mjs +2 -0
  393. package/dist/chunks/providerProfiles-1.1.10-z18shscr.mjs +1 -0
  394. package/dist/chunks/providerValidation-1.1.10-1dsjh7z9.mjs +6 -0
  395. package/dist/chunks/rate-limit-options-1.1.10-fe3cq8zn.mjs +1 -0
  396. package/dist/chunks/registerSubcommands-1.1.10-r3mc5gga.mjs +34 -0
  397. package/dist/chunks/registry-1.1.10-n9xv1qjw.mjs +1 -0
  398. package/dist/chunks/release-notes-1.1.10-2ecqsjx0.mjs +5 -0
  399. package/dist/chunks/reload-plugins-1.1.10-pb7wpz5e.mjs +2 -0
  400. package/dist/chunks/remote-env-1.1.10-tybykfn7.mjs +1 -0
  401. package/dist/chunks/remoteBridgeCore-1.1.10-crdtgqbs.mjs +1 -0
  402. package/dist/chunks/remoteSession-1.1.10-1egxb08k.mjs +1 -0
  403. package/dist/chunks/rename-1.1.10-0j2dbrfg.mjs +1 -0
  404. package/dist/chunks/replBridgeHandle-1.1.10-yf9vdp0m.mjs +1 -0
  405. package/dist/chunks/replLauncher-1.1.10-y2ykrkt0.mjs +1 -0
  406. package/dist/chunks/resume-1.1.10-e4w4vqsa.mjs +2 -0
  407. package/dist/chunks/rewind-1.1.10-2sjz5jw8.mjs +1 -0
  408. package/dist/chunks/rootOptions-1.1.10-5hysyde5.mjs +1 -0
  409. package/dist/chunks/runWorkflowHeadless-1.1.10-nengktmv.mjs +10 -0
  410. package/dist/chunks/sandbox-adapter-1.1.10-svdktpkg.mjs +1 -0
  411. package/dist/chunks/sandbox-toggle-1.1.10-q8da9hjz.mjs +1 -0
  412. package/dist/chunks/session-1.1.10-1g27gvqt.mjs +2 -0
  413. package/dist/chunks/sessionDiscovery-1.1.10-0hb3n5na.mjs +1 -0
  414. package/dist/chunks/sessionFileAccessHooks-1.1.10-z13dd76y.mjs +1 -0
  415. package/dist/chunks/sessionStorage-1.1.10-60nqzt83.mjs +1 -0
  416. package/dist/chunks/settings-1.1.10-95zpybsa.mjs +1 -0
  417. package/dist/chunks/setup-1.1.10-400hhq7t.mjs +5 -0
  418. package/dist/chunks/sinks-1.1.10-w9vqb1fc.mjs +1 -0
  419. package/dist/chunks/skills-1.1.10-4rvw7gjv.mjs +1 -0
  420. package/dist/chunks/startupProfiler-1.1.10-va3s727x.mjs +1 -0
  421. package/dist/chunks/startupUpdateCheck-1.1.10-en1qgfv4.mjs +1 -0
  422. package/dist/chunks/state-1.1.10-m7z4cc4k.mjs +1 -0
  423. package/dist/chunks/stats-1.1.10-zr2qwhhw.mjs +6 -0
  424. package/dist/chunks/status-1.1.10-shjkyaf2.mjs +1 -0
  425. package/dist/chunks/stickers-1.1.10-2q6r4f9v.mjs +1 -0
  426. package/dist/chunks/subprocessEnv-1.1.10-whznjthj.mjs +1 -0
  427. package/dist/chunks/tasks-1.1.10-xvxjn48w.mjs +1 -0
  428. package/dist/chunks/teamHelpers-1.1.10-3a06a8cd.mjs +1 -0
  429. package/dist/chunks/teammateModeSnapshot-1.1.10-yns217pf.mjs +1 -0
  430. package/dist/chunks/teleport-1.1.10-gc3e0hfm.mjs +1 -0
  431. package/dist/chunks/terminalSetup-1.1.10-4tqezn3j.mjs +1 -0
  432. package/dist/chunks/theme-1.1.10-qp7v8yaq.mjs +1 -0
  433. package/dist/chunks/thinkback-1.1.10-xyd2apjc.mjs +1 -0
  434. package/dist/chunks/thinkback-play-1.1.10-a5hhp9ca.mjs +1 -0
  435. package/dist/chunks/toolPool-1.1.10-n1hm8qqk.mjs +1 -0
  436. package/dist/chunks/toolSearch-1.1.10-29584y2q.mjs +1 -0
  437. package/dist/chunks/tools-1.1.10-yd9tmhpe.mjs +1 -0
  438. package/dist/chunks/trustedDevice-1.1.10-qs4pk9wc.mjs +1 -0
  439. package/dist/chunks/turndown.cjs-1.1.10-m0c9pvs3.mjs +69 -0
  440. package/dist/chunks/types-1.1.10-gz59ngmz.mjs +1 -0
  441. package/dist/chunks/ultrareviewCommand-1.1.10-8arx59cc.mjs +4 -0
  442. package/dist/chunks/update-1.1.10-1w823rha.mjs +72 -0
  443. package/dist/chunks/upgrade-1.1.10-0h5fvvfp.mjs +1 -0
  444. package/dist/chunks/upload-1.1.10-ge981abh.mjs +7 -0
  445. package/dist/chunks/upstreamproxy-1.1.10-80kjt167.mjs +14 -0
  446. package/dist/chunks/url-handler-napi-1.1.10-x60fj9h0.mjs +1 -0
  447. package/dist/chunks/usage-1.1.10-gxymk7vd.mjs +1 -0
  448. package/dist/chunks/util-1.1.10-s4sj88my.mjs +1 -0
  449. package/dist/chunks/utils-1.1.10-haynqk5y.mjs +1 -0
  450. package/dist/chunks/vim-1.1.10-6yhqt71v.mjs +1 -0
  451. package/dist/chunks/watchLoop-1.1.10-cg0f8n71.mjs +13 -0
  452. package/dist/chunks/watcher-1.1.10-y1qwkajd.mjs +1 -0
  453. package/dist/chunks/wiki-1.1.10-1djxp3tb.mjs +132 -0
  454. package/dist/chunks/workflows-1.1.10-brkbd7wc.mjs +1 -0
  455. package/dist/chunks/worktree-1.1.10-bn0ac41k.mjs +1 -0
  456. package/dist/chunks/worktreeModeEnabled-1.1.10-rhvwpn43.mjs +1 -0
  457. package/dist/chunks/wrapper-1.1.10-dthrwggp.mjs +7 -0
  458. package/dist/cli.mjs +2 -2
  459. package/package.json +9 -9
  460. package/dist/chunks/AgentTool-1.1.8-6z4gxak1.mjs +0 -1
  461. package/dist/chunks/App-1.1.8-d07z7cbf.mjs +0 -1
  462. package/dist/chunks/ApproveApiKey-1.1.8-fsyn77jc.mjs +0 -1
  463. package/dist/chunks/AssistantSessionChooser-1.1.8-z6j52pp3.mjs +0 -1
  464. package/dist/chunks/AutoModeOptInDialog-1.1.8-nxgt8y8q.mjs +0 -1
  465. package/dist/chunks/BypassPermissionsModeDialog-1.1.8-bjsz0qfp.mjs +0 -1
  466. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.8-2mwsqmhp.mjs +0 -1
  467. package/dist/chunks/ConsoleOAuthFlow-1.1.8-24z6s4j5.mjs +0 -1
  468. package/dist/chunks/DiffDialog-1.1.8-abc9qq6c.mjs +0 -7
  469. package/dist/chunks/Doctor-1.1.8-8ja3a3f1.mjs +0 -1
  470. package/dist/chunks/ExplorerDialog-1.1.8-nsj1wjz4.mjs +0 -6
  471. package/dist/chunks/Grove-1.1.8-hkq9z22m.mjs +0 -1
  472. package/dist/chunks/ITermBackend-1.1.8-a8tfxk9n.mjs +0 -1
  473. package/dist/chunks/InvalidConfigDialog-1.1.8-nt3tgbzz.mjs +0 -1
  474. package/dist/chunks/InvalidSettingsDialog-1.1.8-ybdh3drb.mjs +0 -1
  475. package/dist/chunks/MigrationDialog-1.1.8-qvkzvfgf.mjs +0 -1
  476. package/dist/chunks/Onboarding-1.1.8-2bkd7rzz.mjs +0 -1
  477. package/dist/chunks/ProviderManager-1.1.8-v45zy151.mjs +0 -1
  478. package/dist/chunks/REPL-1.1.8-mdyssah9.mjs +0 -1
  479. package/dist/chunks/ResumeConversation-1.1.8-2d6r24bp.mjs +0 -1
  480. package/dist/chunks/SnapshotUpdateDialog-1.1.8-bkt80qn7.mjs +0 -1
  481. package/dist/chunks/TeleportProgress-1.1.8-35s6scr9.mjs +0 -1
  482. package/dist/chunks/TeleportRepoMismatchDialog-1.1.8-gddzn3ac.mjs +0 -1
  483. package/dist/chunks/TeleportResumeWrapper-1.1.8-sqrxwgy6.mjs +0 -1
  484. package/dist/chunks/TmuxBackend-1.1.8-21pehb0t.mjs +0 -9
  485. package/dist/chunks/ToolSearchTool-1.1.8-h78w5ftj.mjs +0 -1
  486. package/dist/chunks/TrustDialog-1.1.8-pqvwnbce.mjs +0 -1
  487. package/dist/chunks/activeProvider-1.1.8-rnbk6kxv.mjs +0 -1
  488. package/dist/chunks/add-dir-1.1.8-mdmcq32z.mjs +0 -1
  489. package/dist/chunks/agentTypes-1.1.8-h8nnkdmz.mjs +0 -1
  490. package/dist/chunks/agents-1.1.8-4f1tz8xm.mjs +0 -110
  491. package/dist/chunks/agents-1.1.8-6kv8h0fa.mjs +0 -3
  492. package/dist/chunks/api-1.1.8-mp8twdfj.mjs +0 -1
  493. package/dist/chunks/asciicast-1.1.8-t2mar25c.mjs +0 -1
  494. package/dist/chunks/assistant-1.1.8-t54n390j.mjs +0 -1
  495. package/dist/chunks/auth-1.1.8-pv29fraf.mjs +0 -1
  496. package/dist/chunks/auth-1.1.8-qm8h71j7.mjs +0 -1
  497. package/dist/chunks/autoMode-1.1.8-ahgyhzep.mjs +0 -48
  498. package/dist/chunks/autoUpdater-1.1.8-sdsx7fz9.mjs +0 -1
  499. package/dist/chunks/backgroundHousekeeping-1.1.8-b37pdha5.mjs +0 -1
  500. package/dist/chunks/branch-1.1.8-2emyy03d.mjs +0 -4
  501. package/dist/chunks/bridge-1.1.8-dkk2n1jt.mjs +0 -2
  502. package/dist/chunks/bridgeConfig-1.1.8-bv7zrzb6.mjs +0 -1
  503. package/dist/chunks/bridgeEnabled-1.1.8-z1sv63ct.mjs +0 -1
  504. package/dist/chunks/bridgeMain-1.1.8-rqp8q7sc.mjs +0 -88
  505. package/dist/chunks/bridgePointer-1.1.8-5hg7c4c6.mjs +0 -1
  506. package/dist/chunks/btw-1.1.8-td5e11qz.mjs +0 -1
  507. package/dist/chunks/buddy-1.1.8-jmk0bgcs.mjs +0 -3
  508. package/dist/chunks/cacache-1.1.8-qzw8r9my.mjs +0 -1
  509. package/dist/chunks/cache-probe-1.1.8-889g7w4k.mjs +0 -21
  510. package/dist/chunks/cacheStats-1.1.8-nzgv89d1.mjs +0 -4
  511. package/dist/chunks/caches-1.1.8-f09m1b12.mjs +0 -1
  512. package/dist/chunks/claudeDesktop-1.1.8-2rww6nv3.mjs +0 -1
  513. package/dist/chunks/claudemd-1.1.8-wygkqnb3.mjs +0 -1
  514. package/dist/chunks/clear-1.1.8-71j589cf.mjs +0 -1
  515. package/dist/chunks/clearTerminal-1.1.8-5j0t6dtd.mjs +0 -1
  516. package/dist/chunks/cli-1.1.8-05yz3n3m.mjs +0 -2
  517. package/dist/chunks/cli-1.1.8-0fqp4nd4.mjs +0 -2
  518. package/dist/chunks/cli-1.1.8-0pb52yqp.mjs +0 -6
  519. package/dist/chunks/cli-1.1.8-0vkk8zhj.mjs +0 -2
  520. package/dist/chunks/cli-1.1.8-0xw30z19.mjs +0 -2
  521. package/dist/chunks/cli-1.1.8-125zncm7.mjs +0 -2
  522. package/dist/chunks/cli-1.1.8-12gxg7dk.mjs +0 -3
  523. package/dist/chunks/cli-1.1.8-15q52swp.mjs +0 -2
  524. package/dist/chunks/cli-1.1.8-1as5wwed.mjs +0 -2
  525. package/dist/chunks/cli-1.1.8-1at0q43h.mjs +0 -2
  526. package/dist/chunks/cli-1.1.8-1e4hz1dh.mjs +0 -4
  527. package/dist/chunks/cli-1.1.8-1m910jhy.mjs +0 -2
  528. package/dist/chunks/cli-1.1.8-205c5ayn.mjs +0 -45
  529. package/dist/chunks/cli-1.1.8-20fqtbb0.mjs +0 -2
  530. package/dist/chunks/cli-1.1.8-231ktrsd.mjs +0 -2
  531. package/dist/chunks/cli-1.1.8-2afqpefw.mjs +0 -2
  532. package/dist/chunks/cli-1.1.8-2nq1cm30.mjs +0 -39
  533. package/dist/chunks/cli-1.1.8-2q9w1hnc.mjs +0 -2
  534. package/dist/chunks/cli-1.1.8-2smp07zs.mjs +0 -2
  535. package/dist/chunks/cli-1.1.8-2vsq8a0w.mjs +0 -2
  536. package/dist/chunks/cli-1.1.8-2zp9e9zh.mjs +0 -2
  537. package/dist/chunks/cli-1.1.8-30zhxwg9.mjs +0 -16
  538. package/dist/chunks/cli-1.1.8-35pzh2ts.mjs +0 -2
  539. package/dist/chunks/cli-1.1.8-38vrxm77.mjs +0 -3
  540. package/dist/chunks/cli-1.1.8-3btvsdx3.mjs +0 -2
  541. package/dist/chunks/cli-1.1.8-3j80fvcv.mjs +0 -2
  542. package/dist/chunks/cli-1.1.8-3tazs3h1.mjs +0 -2
  543. package/dist/chunks/cli-1.1.8-462maymv.mjs +0 -2
  544. package/dist/chunks/cli-1.1.8-49wtksqb.mjs +0 -2
  545. package/dist/chunks/cli-1.1.8-4cgcvt3g.mjs +0 -15
  546. package/dist/chunks/cli-1.1.8-4cvb8vj8.mjs +0 -2
  547. package/dist/chunks/cli-1.1.8-5862s9mq.mjs +0 -9
  548. package/dist/chunks/cli-1.1.8-59r0krp6.mjs +0 -4
  549. package/dist/chunks/cli-1.1.8-5e3xx9db.mjs +0 -8
  550. package/dist/chunks/cli-1.1.8-5s0ctz15.mjs +0 -25
  551. package/dist/chunks/cli-1.1.8-6118xjzf.mjs +0 -2
  552. package/dist/chunks/cli-1.1.8-61d813en.mjs +0 -2
  553. package/dist/chunks/cli-1.1.8-656pm2np.mjs +0 -2
  554. package/dist/chunks/cli-1.1.8-67d0fesx.mjs +0 -18
  555. package/dist/chunks/cli-1.1.8-6kg3tp3t.mjs +0 -2
  556. package/dist/chunks/cli-1.1.8-6t8wtnyz.mjs +0 -15
  557. package/dist/chunks/cli-1.1.8-6w5tvkaj.mjs +0 -2
  558. package/dist/chunks/cli-1.1.8-74586mpw.mjs +0 -9
  559. package/dist/chunks/cli-1.1.8-7536y3yr.mjs +0 -3
  560. package/dist/chunks/cli-1.1.8-7e1cxc2r.mjs +0 -2
  561. package/dist/chunks/cli-1.1.8-7ghn9sgt.mjs +0 -2
  562. package/dist/chunks/cli-1.1.8-7gv7j9wf.mjs +0 -2
  563. package/dist/chunks/cli-1.1.8-7j6ztazy.mjs +0 -2
  564. package/dist/chunks/cli-1.1.8-7kf0prpp.mjs +0 -2
  565. package/dist/chunks/cli-1.1.8-7mtk34ry.mjs +0 -4
  566. package/dist/chunks/cli-1.1.8-7sft4tp3.mjs +0 -2
  567. package/dist/chunks/cli-1.1.8-85hnxfzw.mjs +0 -2
  568. package/dist/chunks/cli-1.1.8-8ethv98x.mjs +0 -3
  569. package/dist/chunks/cli-1.1.8-8gj0g1hd.mjs +0 -2
  570. package/dist/chunks/cli-1.1.8-8x1wf6wg.mjs +0 -59
  571. package/dist/chunks/cli-1.1.8-8xe9c3tx.mjs +0 -2
  572. package/dist/chunks/cli-1.1.8-8zf4nnw6.mjs +0 -15
  573. package/dist/chunks/cli-1.1.8-98pq375b.mjs +0 -2
  574. package/dist/chunks/cli-1.1.8-9bx144d4.mjs +0 -2
  575. package/dist/chunks/cli-1.1.8-9d0730ff.mjs +0 -3
  576. package/dist/chunks/cli-1.1.8-9egsv8kb.mjs +0 -2
  577. package/dist/chunks/cli-1.1.8-9mr8erq2.mjs +0 -2
  578. package/dist/chunks/cli-1.1.8-9nnn67wx.mjs +0 -2
  579. package/dist/chunks/cli-1.1.8-9yhtna2t.mjs +0 -2
  580. package/dist/chunks/cli-1.1.8-a1qac4fc.mjs +0 -3
  581. package/dist/chunks/cli-1.1.8-a3etddaa.mjs +0 -2
  582. package/dist/chunks/cli-1.1.8-a3w8yas2.mjs +0 -24
  583. package/dist/chunks/cli-1.1.8-a52qejcb.mjs +0 -20
  584. package/dist/chunks/cli-1.1.8-akxxvxcg.mjs +0 -2
  585. package/dist/chunks/cli-1.1.8-arxr9t30.mjs +0 -2
  586. package/dist/chunks/cli-1.1.8-b46m1pa5.mjs +0 -2
  587. package/dist/chunks/cli-1.1.8-bdesaqqn.mjs +0 -2
  588. package/dist/chunks/cli-1.1.8-bf0h6s2a.mjs +0 -2
  589. package/dist/chunks/cli-1.1.8-bh494psb.mjs +0 -6
  590. package/dist/chunks/cli-1.1.8-bxbg70bf.mjs +0 -2
  591. package/dist/chunks/cli-1.1.8-bzs61r0e.mjs +0 -2
  592. package/dist/chunks/cli-1.1.8-c0knk34t.mjs +0 -2
  593. package/dist/chunks/cli-1.1.8-c3rz4cxf.mjs +0 -2
  594. package/dist/chunks/cli-1.1.8-c4xc2d6s.mjs +0 -2
  595. package/dist/chunks/cli-1.1.8-cpgd4r16.mjs +0 -2
  596. package/dist/chunks/cli-1.1.8-czskf284.mjs +0 -2
  597. package/dist/chunks/cli-1.1.8-d092mrgm.mjs +0 -2
  598. package/dist/chunks/cli-1.1.8-d2gfswc3.mjs +0 -2
  599. package/dist/chunks/cli-1.1.8-d3s7xdkk.mjs +0 -2
  600. package/dist/chunks/cli-1.1.8-d4878nn2.mjs +0 -2
  601. package/dist/chunks/cli-1.1.8-d5afbx68.mjs +0 -6
  602. package/dist/chunks/cli-1.1.8-db100c4h.mjs +0 -202
  603. package/dist/chunks/cli-1.1.8-dgbh9n27.mjs +0 -6
  604. package/dist/chunks/cli-1.1.8-dv1edxg1.mjs +0 -4
  605. package/dist/chunks/cli-1.1.8-e1by1s5j.mjs +0 -2
  606. package/dist/chunks/cli-1.1.8-e3ev48gp.mjs +0 -2
  607. package/dist/chunks/cli-1.1.8-edw6k2f7.mjs +0 -2
  608. package/dist/chunks/cli-1.1.8-ee9qyzkj.mjs +0 -2
  609. package/dist/chunks/cli-1.1.8-efjw6x2m.mjs +0 -2
  610. package/dist/chunks/cli-1.1.8-ekmm2znm.mjs +0 -2
  611. package/dist/chunks/cli-1.1.8-epqqq77y.mjs +0 -1
  612. package/dist/chunks/cli-1.1.8-ernbjcgb.mjs +0 -2
  613. package/dist/chunks/cli-1.1.8-evk4j7cq.mjs +0 -2
  614. package/dist/chunks/cli-1.1.8-f0kaq070.mjs +0 -2
  615. package/dist/chunks/cli-1.1.8-f2gv8js5.mjs +0 -2
  616. package/dist/chunks/cli-1.1.8-f75mhnpd.mjs +0 -17
  617. package/dist/chunks/cli-1.1.8-fd4rat7s.mjs +0 -2
  618. package/dist/chunks/cli-1.1.8-ffx8vwwt.mjs +0 -3
  619. package/dist/chunks/cli-1.1.8-fgw4h53q.mjs +0 -2
  620. package/dist/chunks/cli-1.1.8-fqgcppxc.mjs +0 -2
  621. package/dist/chunks/cli-1.1.8-g0t0qtsv.mjs +0 -12
  622. package/dist/chunks/cli-1.1.8-g8sjkk8z.mjs +0 -7
  623. package/dist/chunks/cli-1.1.8-gf6w1neb.mjs +0 -2
  624. package/dist/chunks/cli-1.1.8-gfzzaejq.mjs +0 -2
  625. package/dist/chunks/cli-1.1.8-gqqjkrq0.mjs +0 -4
  626. package/dist/chunks/cli-1.1.8-gtw37r6f.mjs +0 -2
  627. package/dist/chunks/cli-1.1.8-gvkpq2k1.mjs +0 -26
  628. package/dist/chunks/cli-1.1.8-h5zqw021.mjs +0 -2
  629. package/dist/chunks/cli-1.1.8-hws56n0s.mjs +0 -2
  630. package/dist/chunks/cli-1.1.8-hzkgx15v.mjs +0 -3
  631. package/dist/chunks/cli-1.1.8-j2mvpcgh.mjs +0 -2
  632. package/dist/chunks/cli-1.1.8-jk6kcgkf.mjs +0 -4
  633. package/dist/chunks/cli-1.1.8-jkp8ynyx.mjs +0 -2
  634. package/dist/chunks/cli-1.1.8-jmp76vj2.mjs +0 -2
  635. package/dist/chunks/cli-1.1.8-jtxcccqb.mjs +0 -2
  636. package/dist/chunks/cli-1.1.8-jv4y43ct.mjs +0 -2
  637. package/dist/chunks/cli-1.1.8-jzk8xgkw.mjs +0 -2
  638. package/dist/chunks/cli-1.1.8-k0wdtx54.mjs +0 -2
  639. package/dist/chunks/cli-1.1.8-k2q3jd4x.mjs +0 -2
  640. package/dist/chunks/cli-1.1.8-k3jmtdxb.mjs +0 -2
  641. package/dist/chunks/cli-1.1.8-k4q05xpp.mjs +0 -4
  642. package/dist/chunks/cli-1.1.8-k6xa7zcq.mjs +0 -2
  643. package/dist/chunks/cli-1.1.8-k878kyye.mjs +0 -2
  644. package/dist/chunks/cli-1.1.8-kgq0wj8c.mjs +0 -2
  645. package/dist/chunks/cli-1.1.8-kkzcmrxs.mjs +0 -2
  646. package/dist/chunks/cli-1.1.8-knfkgncm.mjs +0 -5721
  647. package/dist/chunks/cli-1.1.8-mayxghnz.mjs +0 -2
  648. package/dist/chunks/cli-1.1.8-mdybbj2p.mjs +0 -133
  649. package/dist/chunks/cli-1.1.8-mgz0nyed.mjs +0 -50
  650. package/dist/chunks/cli-1.1.8-mhv5xrf1.mjs +0 -4
  651. package/dist/chunks/cli-1.1.8-mkzsens1.mjs +0 -4
  652. package/dist/chunks/cli-1.1.8-mq7t5jca.mjs +0 -3
  653. package/dist/chunks/cli-1.1.8-mza3p36d.mjs +0 -2
  654. package/dist/chunks/cli-1.1.8-n14gnq6x.mjs +0 -42
  655. package/dist/chunks/cli-1.1.8-n5d4px5z.mjs +0 -2
  656. package/dist/chunks/cli-1.1.8-nh485h9b.mjs +0 -2
  657. package/dist/chunks/cli-1.1.8-nrr32j4a.mjs +0 -2
  658. package/dist/chunks/cli-1.1.8-nt403561.mjs +0 -2
  659. package/dist/chunks/cli-1.1.8-nv123ysj.mjs +0 -5
  660. package/dist/chunks/cli-1.1.8-nv181dzv.mjs +0 -2
  661. package/dist/chunks/cli-1.1.8-nv79qg54.mjs +0 -2
  662. package/dist/chunks/cli-1.1.8-nvt7cbzg.mjs +0 -2
  663. package/dist/chunks/cli-1.1.8-nx84ctb0.mjs +0 -2
  664. package/dist/chunks/cli-1.1.8-nzs4skf4.mjs +0 -2
  665. package/dist/chunks/cli-1.1.8-p3fzx1sj.mjs +0 -24
  666. package/dist/chunks/cli-1.1.8-p6bd42xj.mjs +0 -2
  667. package/dist/chunks/cli-1.1.8-pwdb2y2v.mjs +0 -2
  668. package/dist/chunks/cli-1.1.8-px4ph853.mjs +0 -6
  669. package/dist/chunks/cli-1.1.8-q6c1w0dw.mjs +0 -2
  670. package/dist/chunks/cli-1.1.8-qcyhp9k8.mjs +0 -3
  671. package/dist/chunks/cli-1.1.8-qgweycgj.mjs +0 -6
  672. package/dist/chunks/cli-1.1.8-qgzhmw5w.mjs +0 -2
  673. package/dist/chunks/cli-1.1.8-qpqcr4wt.mjs +0 -2
  674. package/dist/chunks/cli-1.1.8-r9vd968y.mjs +0 -2
  675. package/dist/chunks/cli-1.1.8-rk2akmnh.mjs +0 -67
  676. package/dist/chunks/cli-1.1.8-rk40pf8s.mjs +0 -2
  677. package/dist/chunks/cli-1.1.8-rkw1dz9x.mjs +0 -2
  678. package/dist/chunks/cli-1.1.8-rqqgbjy2.mjs +0 -133
  679. package/dist/chunks/cli-1.1.8-sc8428te.mjs +0 -12
  680. package/dist/chunks/cli-1.1.8-sw7sne7p.mjs +0 -25
  681. package/dist/chunks/cli-1.1.8-sxkrzwwg.mjs +0 -18
  682. package/dist/chunks/cli-1.1.8-sxmsdz7p.mjs +0 -2
  683. package/dist/chunks/cli-1.1.8-syhhv2xq.mjs +0 -21
  684. package/dist/chunks/cli-1.1.8-syttwgv4.mjs +0 -3
  685. package/dist/chunks/cli-1.1.8-t1a3d6s9.mjs +0 -2
  686. package/dist/chunks/cli-1.1.8-t4hx0et2.mjs +0 -2
  687. package/dist/chunks/cli-1.1.8-t62hkyhg.mjs +0 -2
  688. package/dist/chunks/cli-1.1.8-t8xxt1pf.mjs +0 -2
  689. package/dist/chunks/cli-1.1.8-t93r8p95.mjs +0 -4
  690. package/dist/chunks/cli-1.1.8-t9cqvdhd.mjs +0 -2
  691. package/dist/chunks/cli-1.1.8-ta0zzaw5.mjs +0 -17
  692. package/dist/chunks/cli-1.1.8-tf20w2jn.mjs +0 -2
  693. package/dist/chunks/cli-1.1.8-tw2q1gej.mjs +0 -2
  694. package/dist/chunks/cli-1.1.8-tx519hkn.mjs +0 -2
  695. package/dist/chunks/cli-1.1.8-v8hp2y41.mjs +0 -2
  696. package/dist/chunks/cli-1.1.8-vqpn0kq9.mjs +0 -2
  697. package/dist/chunks/cli-1.1.8-vrszw55m.mjs +0 -2
  698. package/dist/chunks/cli-1.1.8-vw9jfqt2.mjs +0 -2
  699. package/dist/chunks/cli-1.1.8-w1ktcdzx.mjs +0 -34
  700. package/dist/chunks/cli-1.1.8-w2e3c7g6.mjs +0 -2
  701. package/dist/chunks/cli-1.1.8-w99f42k9.mjs +0 -3
  702. package/dist/chunks/cli-1.1.8-w9h3mvb4.mjs +0 -2
  703. package/dist/chunks/cli-1.1.8-w9tz8aaw.mjs +0 -2
  704. package/dist/chunks/cli-1.1.8-wdfxmkc7.mjs +0 -2
  705. package/dist/chunks/cli-1.1.8-wew0nf1q.mjs +0 -12
  706. package/dist/chunks/cli-1.1.8-wkyr3v6g.mjs +0 -24
  707. package/dist/chunks/cli-1.1.8-x05h2zp4.mjs +0 -2
  708. package/dist/chunks/cli-1.1.8-x3vk9h1m.mjs +0 -24
  709. package/dist/chunks/cli-1.1.8-x9e1306p.mjs +0 -2
  710. package/dist/chunks/cli-1.1.8-xa445fak.mjs +0 -2
  711. package/dist/chunks/cli-1.1.8-xmcyv92d.mjs +0 -2
  712. package/dist/chunks/cli-1.1.8-xqdr42wv.mjs +0 -2
  713. package/dist/chunks/cli-1.1.8-xzb74dgc.mjs +0 -58
  714. package/dist/chunks/cli-1.1.8-y3tr91m8.mjs +0 -2
  715. package/dist/chunks/cli-1.1.8-y50med5h.mjs +0 -4
  716. package/dist/chunks/cli-1.1.8-yjmxxj4y.mjs +0 -2
  717. package/dist/chunks/cli-1.1.8-yptj5mm3.mjs +0 -2
  718. package/dist/chunks/cli-1.1.8-yv4mw1z8.mjs +0 -2
  719. package/dist/chunks/cli-1.1.8-yx9yzca1.mjs +0 -5
  720. package/dist/chunks/cli-1.1.8-yzrpw572.mjs +0 -2
  721. package/dist/chunks/cli-1.1.8-zav01h3c.mjs +0 -2
  722. package/dist/chunks/cli-1.1.8-zc2wv1d7.mjs +0 -2
  723. package/dist/chunks/cli-1.1.8-zcrckt5v.mjs +0 -2
  724. package/dist/chunks/cli-1.1.8-zfx1k21c.mjs +0 -2
  725. package/dist/chunks/client-1.1.8-h43htzv0.mjs +0 -1
  726. package/dist/chunks/color-1.1.8-zdg5fqma.mjs +0 -1
  727. package/dist/chunks/compact-1.1.8-1af2hhhd.mjs +0 -3
  728. package/dist/chunks/config-1.1.8-bs3j0bh7.mjs +0 -1
  729. package/dist/chunks/config-1.1.8-mwcwa3ha.mjs +0 -1
  730. package/dist/chunks/constants-1.1.8-6qsgmarg.mjs +0 -1
  731. package/dist/chunks/context-1.1.8-y2smmd8y.mjs +0 -1
  732. package/dist/chunks/context-noninteractive-1.1.8-7m4c952c.mjs +0 -1
  733. package/dist/chunks/conversation-1.1.8-2hmabtxd.mjs +0 -1
  734. package/dist/chunks/copilotHeaders-1.1.8-nh4ys57g.mjs +0 -1
  735. package/dist/chunks/copy-1.1.8-vxmgrtv3.mjs +0 -9
  736. package/dist/chunks/cost-1.1.8-70bsspf5.mjs +0 -1
  737. package/dist/chunks/createSSHSession-1.1.8-4axzt4k5.mjs +0 -1
  738. package/dist/chunks/createSession-1.1.8-c1fbb9pm.mjs +0 -1
  739. package/dist/chunks/debug-1.1.8-02x6g655.mjs +0 -1
  740. package/dist/chunks/defaultActionDeps-1.1.8-a1dxrpdz.mjs +0 -1446
  741. package/dist/chunks/desktop-1.1.8-tdtzcad0.mjs +0 -1
  742. package/dist/chunks/detectRepository-1.1.8-6h2qfjfb.mjs +0 -1
  743. package/dist/chunks/detection-1.1.8-mwwyzmcq.mjs +0 -1
  744. package/dist/chunks/diff-1.1.8-dcm7epcs.mjs +0 -1
  745. package/dist/chunks/doctor-1.1.8-a29dgfa8.mjs +0 -1
  746. package/dist/chunks/doctorDiagnostic-1.1.8-njzmwvmq.mjs +0 -1
  747. package/dist/chunks/earlyInput-1.1.8-7genxy96.mjs +0 -1
  748. package/dist/chunks/effort-1.1.8-y36797j4.mjs +0 -13
  749. package/dist/chunks/engine-1.1.8-fqyd5m01.mjs +0 -1
  750. package/dist/chunks/envLessBridgeConfig-1.1.8-ef7qwkd5.mjs +0 -1
  751. package/dist/chunks/envUtils-1.1.8-99wqsc2g.mjs +0 -1
  752. package/dist/chunks/environmentSelection-1.1.8-cc9g8r4w.mjs +0 -1
  753. package/dist/chunks/environments-1.1.8-hw1xqjcd.mjs +0 -1
  754. package/dist/chunks/errors-1.1.8-1493t2ga.mjs +0 -1
  755. package/dist/chunks/exampleCommands-1.1.8-zdxcd2qw.mjs +0 -1
  756. package/dist/chunks/execFileNoThrow-1.1.8-ntrztjxv.mjs +0 -1
  757. package/dist/chunks/exit-1.1.8-hg0x8rb4.mjs +0 -1
  758. package/dist/chunks/explorer-1.1.8-45jxm6r3.mjs +0 -1
  759. package/dist/chunks/export-1.1.8-tjbc3yps.mjs +0 -2
  760. package/dist/chunks/extra-usage-1.1.8-m07zw7z7.mjs +0 -1
  761. package/dist/chunks/extra-usage-noninteractive-1.1.8-x0nk6gpq.mjs +0 -1
  762. package/dist/chunks/fast-1.1.8-16bcey2v.mjs +0 -1
  763. package/dist/chunks/feedback-1.1.8-ybfs6p31.mjs +0 -14
  764. package/dist/chunks/firstPartyEventLogger-1.1.8-0a07kg5a.mjs +0 -1
  765. package/dist/chunks/git-1.1.8-yhtjgapj.mjs +0 -1
  766. package/dist/chunks/githubModelsCredentials-1.1.8-8m2kfpj0.mjs +0 -1
  767. package/dist/chunks/goal-1.1.8-m18wqymf.mjs +0 -4
  768. package/dist/chunks/grove-1.1.8-hq8trmvx.mjs +0 -1
  769. package/dist/chunks/growthbook-1.1.8-jnc5s1gr.mjs +0 -1
  770. package/dist/chunks/headless-1.1.8-g6y7x6p5.mjs +0 -2
  771. package/dist/chunks/heapdump-1.1.8-bdd4tbc4.mjs +0 -6
  772. package/dist/chunks/help-1.1.8-adn9yj5b.mjs +0 -1
  773. package/dist/chunks/hookChains-1.1.8-jvx26rvp.mjs +0 -3
  774. package/dist/chunks/hooks-1.1.8-10bepv2t.mjs +0 -79
  775. package/dist/chunks/hooks-1.1.8-wxrar4bk.mjs +0 -1
  776. package/dist/chunks/ide-1.1.8-e1kgf08v.mjs +0 -3
  777. package/dist/chunks/image-processor-napi-1.1.8-7qq6cd9d.mjs +0 -1
  778. package/dist/chunks/inboundAttachments-1.1.8-tmvsb72y.mjs +0 -1
  779. package/dist/chunks/index-1.1.8-075w4nhz.mjs +0 -9
  780. package/dist/chunks/index-1.1.8-0hkas4xw.mjs +0 -1
  781. package/dist/chunks/index-1.1.8-0vs7xmac.mjs +0 -30
  782. package/dist/chunks/index-1.1.8-15y0r0yw.mjs +0 -1
  783. package/dist/chunks/index-1.1.8-26b73x3g.mjs +0 -2
  784. package/dist/chunks/index-1.1.8-4etv37ta.mjs +0 -1
  785. package/dist/chunks/index-1.1.8-6p8c8t6k.mjs +0 -1
  786. package/dist/chunks/index-1.1.8-7ykg7nw4.mjs +0 -1
  787. package/dist/chunks/index-1.1.8-8t0g6s4j.mjs +0 -1
  788. package/dist/chunks/index-1.1.8-cgcvj82j.mjs +0 -23
  789. package/dist/chunks/index-1.1.8-cm3fqyj1.mjs +0 -1
  790. package/dist/chunks/index-1.1.8-cpf2mfhc.mjs +0 -1
  791. package/dist/chunks/index-1.1.8-f3qfkewa.mjs +0 -1
  792. package/dist/chunks/index-1.1.8-gyhxyh37.mjs +0 -1
  793. package/dist/chunks/index-1.1.8-hyz5kb4e.mjs +0 -1
  794. package/dist/chunks/index-1.1.8-k0eafjj9.mjs +0 -1
  795. package/dist/chunks/index-1.1.8-qhk5dps0.mjs +0 -9
  796. package/dist/chunks/index-1.1.8-rcyqt694.mjs +0 -1
  797. package/dist/chunks/index-1.1.8-sv9wq8vm.mjs +0 -1
  798. package/dist/chunks/index-1.1.8-tz0fvmye.mjs +0 -5
  799. package/dist/chunks/index-1.1.8-vaqk09sc.mjs +0 -1
  800. package/dist/chunks/index-1.1.8-vd2csf3e.mjs +0 -2
  801. package/dist/chunks/index-1.1.8-y6bn96fs.mjs +0 -1
  802. package/dist/chunks/init-1.1.8-e7kkbgzq.mjs +0 -1
  803. package/dist/chunks/initReplBridge-1.1.8-0cctke88.mjs +0 -1
  804. package/dist/chunks/ink-1.1.8-20q0h10k.mjs +0 -1
  805. package/dist/chunks/insights-1.1.8-e9hjnmbn.mjs +0 -870
  806. package/dist/chunks/install-1.1.8-fnb2k88m.mjs +0 -1
  807. package/dist/chunks/install-github-app-1.1.8-dgabwyh1.mjs +0 -149
  808. package/dist/chunks/install-slack-app-1.1.8-2vh4newn.mjs +0 -1
  809. package/dist/chunks/instrumentation-1.1.8-kth6vzt4.mjs +0 -1
  810. package/dist/chunks/interactiveHelpers-1.1.8-3g33kfsm.mjs +0 -1
  811. package/dist/chunks/keybindings-1.1.8-c69hmddw.mjs +0 -2
  812. package/dist/chunks/knowledge-1.1.8-sngea3j8.mjs +0 -2
  813. package/dist/chunks/latestVersionCache-1.1.8-1srnp86b.mjs +0 -1
  814. package/dist/chunks/loadAgentsDir-1.1.8-wmvpm36a.mjs +0 -1
  815. package/dist/chunks/loadPluginHooks-1.1.8-9hrrn6b1.mjs +0 -1
  816. package/dist/chunks/loadPluginHooks-1.1.8-ae5zxvnn.mjs +0 -1
  817. package/dist/chunks/log-1.1.8-2wvsfegd.mjs +0 -1
  818. package/dist/chunks/main-1.1.8-53c8p1hf.mjs +0 -1
  819. package/dist/chunks/managedEnv-1.1.8-3qxf1b2m.mjs +0 -1
  820. package/dist/chunks/mcp-1.1.8-12tszewv.mjs +0 -4
  821. package/dist/chunks/mcp-1.1.8-2yw2qynw.mjs +0 -1
  822. package/dist/chunks/mcp-1.1.8-awep4hb5.mjs +0 -17
  823. package/dist/chunks/mcpb-1.1.8-14gyeqdt.mjs +0 -1
  824. package/dist/chunks/memory-1.1.8-v7hbdb18.mjs +0 -72
  825. package/dist/chunks/model-1.1.8-70r35ayh.mjs +0 -2
  826. package/dist/chunks/model-1.1.8-wncbw1nv.mjs +0 -1
  827. package/dist/chunks/node-1.1.8-0bpza0gv.mjs +0 -12
  828. package/dist/chunks/oauth-1.1.8-1zj1geby.mjs +0 -1
  829. package/dist/chunks/openaiShim-1.1.8-eaxqv9jn.mjs +0 -14
  830. package/dist/chunks/output-style-1.1.8-v8kk4mmm.mjs +0 -1
  831. package/dist/chunks/package-L37ZVTF4-1.1.8-f4krrwjg.mjs +0 -1
  832. package/dist/chunks/parseConnectUrl-1.1.8-tns55hj7.mjs +0 -1
  833. package/dist/chunks/parser-1.1.8-y6rm14pk.mjs +0 -1
  834. package/dist/chunks/passes-1.1.8-hyd8bv5h.mjs +0 -1
  835. package/dist/chunks/permissions-1.1.8-e32fqvvk.mjs +0 -3
  836. package/dist/chunks/permissions-1.1.8-j0scmex7.mjs +0 -1
  837. package/dist/chunks/plan-1.1.8-1csevcqv.mjs +0 -1
  838. package/dist/chunks/plist-1.1.8-47419hwn.mjs +0 -1
  839. package/dist/chunks/plugin-1.1.8-xcj7jz75.mjs +0 -29
  840. package/dist/chunks/pluginStartupCheck-1.1.8-hqbc3c4d.mjs +0 -1
  841. package/dist/chunks/plugins-1.1.8-nrra8gx1.mjs +0 -9
  842. package/dist/chunks/preActionHook-1.1.8-2fgj7c0d.mjs +0 -2
  843. package/dist/chunks/print-1.1.8-3qy5nfzr.mjs +0 -57
  844. package/dist/chunks/privacy-settings-1.1.8-zsp6fsh1.mjs +0 -1
  845. package/dist/chunks/process-1.1.8-t92an9g0.mjs +0 -1
  846. package/dist/chunks/processBashCommand-1.1.8-5j7f3zj5.mjs +0 -1
  847. package/dist/chunks/processSlashCommand-1.1.8-97yy5hpk.mjs +0 -9
  848. package/dist/chunks/prompt-1.1.8-mges4wt5.mjs +0 -1
  849. package/dist/chunks/prompt-1.1.8-tfg4jhbt.mjs +0 -1
  850. package/dist/chunks/prompts-1.1.8-q1wrrwdr.mjs +0 -1
  851. package/dist/chunks/protocolHandler-1.1.8-ymb7yfxx.mjs +0 -13
  852. package/dist/chunks/provider-1.1.8-j317q85s.mjs +0 -2
  853. package/dist/chunks/providerProfiles-1.1.8-f2symnwy.mjs +0 -1
  854. package/dist/chunks/providerValidation-1.1.8-k2r5q4vk.mjs +0 -6
  855. package/dist/chunks/rate-limit-options-1.1.8-8chtnkxk.mjs +0 -1
  856. package/dist/chunks/registerSubcommands-1.1.8-9wd8cb3g.mjs +0 -34
  857. package/dist/chunks/registry-1.1.8-d06az15f.mjs +0 -1
  858. package/dist/chunks/release-notes-1.1.8-rmg47yy1.mjs +0 -5
  859. package/dist/chunks/reload-plugins-1.1.8-wej3bnvx.mjs +0 -2
  860. package/dist/chunks/remote-env-1.1.8-bht3nad5.mjs +0 -1
  861. package/dist/chunks/remoteBridgeCore-1.1.8-j57ggr86.mjs +0 -1
  862. package/dist/chunks/remoteSession-1.1.8-rmrphzwh.mjs +0 -1
  863. package/dist/chunks/rename-1.1.8-t9s0vyfm.mjs +0 -1
  864. package/dist/chunks/replBridgeHandle-1.1.8-0hp49nj3.mjs +0 -1
  865. package/dist/chunks/replLauncher-1.1.8-vw8ysvak.mjs +0 -1
  866. package/dist/chunks/resume-1.1.8-g13vfwpe.mjs +0 -2
  867. package/dist/chunks/rewind-1.1.8-k2bp0x9p.mjs +0 -1
  868. package/dist/chunks/rootOptions-1.1.8-jjagdnm4.mjs +0 -1
  869. package/dist/chunks/runWorkflowHeadless-1.1.8-szat8e81.mjs +0 -10
  870. package/dist/chunks/sandbox-adapter-1.1.8-gcn8vt8z.mjs +0 -1
  871. package/dist/chunks/sandbox-toggle-1.1.8-9k1xg4b5.mjs +0 -1
  872. package/dist/chunks/session-1.1.8-09hwr9j5.mjs +0 -2
  873. package/dist/chunks/sessionDiscovery-1.1.8-f8mhpp1n.mjs +0 -1
  874. package/dist/chunks/sessionFileAccessHooks-1.1.8-bahxxqhe.mjs +0 -1
  875. package/dist/chunks/sessionStorage-1.1.8-hjk3adja.mjs +0 -1
  876. package/dist/chunks/settings-1.1.8-5vc7cx5w.mjs +0 -1
  877. package/dist/chunks/setup-1.1.8-trp83ayz.mjs +0 -5
  878. package/dist/chunks/sinks-1.1.8-mwbk48v4.mjs +0 -1
  879. package/dist/chunks/skills-1.1.8-danp83p4.mjs +0 -1
  880. package/dist/chunks/startupProfiler-1.1.8-02jr5z55.mjs +0 -1
  881. package/dist/chunks/startupUpdateCheck-1.1.8-69wzwvc1.mjs +0 -1
  882. package/dist/chunks/state-1.1.8-nsdn5anj.mjs +0 -1
  883. package/dist/chunks/stats-1.1.8-t5pza2rr.mjs +0 -6
  884. package/dist/chunks/status-1.1.8-68h5gqvx.mjs +0 -1
  885. package/dist/chunks/stickers-1.1.8-0h3kkr20.mjs +0 -1
  886. package/dist/chunks/subprocessEnv-1.1.8-kabvqrxh.mjs +0 -1
  887. package/dist/chunks/tasks-1.1.8-zepre4hr.mjs +0 -1
  888. package/dist/chunks/teamHelpers-1.1.8-fcp2jsnp.mjs +0 -1
  889. package/dist/chunks/teammateModeSnapshot-1.1.8-qvmhwh7w.mjs +0 -1
  890. package/dist/chunks/teleport-1.1.8-7wdmygej.mjs +0 -1
  891. package/dist/chunks/terminalSetup-1.1.8-p7bj9pmp.mjs +0 -1
  892. package/dist/chunks/theme-1.1.8-3szcwvrn.mjs +0 -1
  893. package/dist/chunks/thinkback-1.1.8-gap3zzg0.mjs +0 -1
  894. package/dist/chunks/thinkback-play-1.1.8-v89ne249.mjs +0 -1
  895. package/dist/chunks/toolPool-1.1.8-3vtrmmhc.mjs +0 -1
  896. package/dist/chunks/toolSearch-1.1.8-c86299rc.mjs +0 -1
  897. package/dist/chunks/tools-1.1.8-fgh8e1kf.mjs +0 -1
  898. package/dist/chunks/trustedDevice-1.1.8-nysjtcf4.mjs +0 -1
  899. package/dist/chunks/turndown.cjs-1.1.8-cqczbjvz.mjs +0 -69
  900. package/dist/chunks/types-1.1.8-paq7e73r.mjs +0 -1
  901. package/dist/chunks/ultrareviewCommand-1.1.8-3k0h42t7.mjs +0 -4
  902. package/dist/chunks/update-1.1.8-c8rb7gzn.mjs +0 -72
  903. package/dist/chunks/upgrade-1.1.8-nmgtg5re.mjs +0 -1
  904. package/dist/chunks/upload-1.1.8-bwrxfje4.mjs +0 -7
  905. package/dist/chunks/upstreamproxy-1.1.8-9n7d40g6.mjs +0 -14
  906. package/dist/chunks/url-handler-napi-1.1.8-zd3gsw0r.mjs +0 -1
  907. package/dist/chunks/usage-1.1.8-n15nggj5.mjs +0 -1
  908. package/dist/chunks/util-1.1.8-jz0kvsrr.mjs +0 -1
  909. package/dist/chunks/utils-1.1.8-zmtfqjk6.mjs +0 -1
  910. package/dist/chunks/vim-1.1.8-f0gtc89f.mjs +0 -1
  911. package/dist/chunks/watchLoop-1.1.8-rw3vn991.mjs +0 -13
  912. package/dist/chunks/watcher-1.1.8-jcxwjkvy.mjs +0 -1
  913. package/dist/chunks/wiki-1.1.8-e7rt9td4.mjs +0 -132
  914. package/dist/chunks/workflows-1.1.8-crtrj2rc.mjs +0 -1
  915. package/dist/chunks/worktree-1.1.8-50mfr61r.mjs +0 -1
  916. package/dist/chunks/worktreeModeEnabled-1.1.8-a7h96pt2.mjs +0 -1
  917. package/dist/chunks/wrapper-1.1.8-x1j8x6bc.mjs +0 -7
  918. /package/dist/chunks/{cli-1.1.8-n7gqm17w.mjs → cli-1.1.10-xkq6mdj6.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ function t(s){if(s===null||typeof s!=="object")return s;let e=s;if("requestId"in e&&!("request_id"in e))e.request_id=e.requestId,delete e.requestId;if("response"in e&&e.response!==null&&typeof e.response==="object"){let n=e.response;if("requestId"in n&&!("request_id"in n))n.request_id=n.requestId,delete n.requestId}return s}
2
+ export{t as Wb};
@@ -0,0 +1,2 @@
1
+ import{Ki as J,Mi as K,Ni as M}from"./cli-1.1.10-8fgppw70.mjs";import{BZ as P,F1 as X}from"./cli-1.1.10-msg7sda2.mjs";import{k4 as q}from"./cli-1.1.10-t8n5jx0z.mjs";import{l4 as N}from"./cli-1.1.10-c67v6p50.mjs";import{Oea as H,hfa as Z}from"./cli-1.1.10-m0pdck7q.mjs";import{kha as Y}from"./cli-1.1.10-kdvf271d.mjs";import{Mja as V}from"./cli-1.1.10-fz99ag3y.mjs";import{Usa as z,Ysa as Q}from"./cli-1.1.10-gmf5w0a4.mjs";function B(){let k=J();if(!k||!k.available||k.granted)return!1;return K(k)!==null}function c(){if(!B())return!1;let k=H();if(k.hasVisitedExtraUsage)return!1;if((k.overageCreditUpsellSeenCount??0)>=A)return!1;return!0}var R,y,A=3;var D=Q(()=>{X();V();M();Z();Y();q();R=z(P(),1),y=z(N(),1)});
2
+ export{c as Rg,D as Sg};
@@ -0,0 +1,6 @@
1
+ import{Gh as qq,Hh as Jq,Ih as Zq,Jh as _q}from"./cli-1.1.10-wkzbqdmr.mjs";import{Kh as $q,Lh as Pq}from"./cli-1.1.10-psqaker4.mjs";import{Cz as j,Dz as y,Hz as p}from"./cli-1.1.10-hk2c91wp.mjs";import{F1 as Iq,_0 as F,a1 as K}from"./cli-1.1.10-msg7sda2.mjs";import{i4 as Y,j4 as L,k4 as Xq}from"./cli-1.1.10-t8n5jx0z.mjs";import{l4 as m}from"./cli-1.1.10-c67v6p50.mjs";import{K$ as Uq,eda as a,j$ as w,l$ as f,mda as Vq,s$ as c,v_ as I,w_ as e}from"./cli-1.1.10-m0pdck7q.mjs";import{Xga as Mq,Yga as x,kha as Eq}from"./cli-1.1.10-kdvf271d.mjs";import{Usa as T,Ysa as D}from"./cli-1.1.10-gmf5w0a4.mjs";function u(q,J){let{perFileStats:$}=q,z=[];for(let[Q,Z]of $){let A=J.get(Q),M=Z.isUntracked??!1,U=!Z.isBinary&&!M&&!A&&!Z.renamedFrom,H=Z.added+Z.removed,v=!U&&!Z.isBinary&&H>Kq;z.push({path:Q,linesAdded:Z.added,linesRemoved:Z.removed,isBinary:Z.isBinary,isLargeFile:U,isTruncated:v,isUntracked:M,...Z.renamedFrom?{renamedFrom:Z.renamedFrom}:{}})}return z.sort((Q,Z)=>Q.path.localeCompare(Z.path)),z}var b,Kq=400;var h=D(()=>{p();b=T(m(),1)});import{basename as S}from"path";function wq(q,J){let[$,z]=O.useState([]),[Q,Z]=O.useState([]),[A,M]=O.useState(!0),[U,H]=O.useState(0),v=q.join(`
2
+ `),X=J.join(`
3
+ `);O.useEffect(()=>{let V=!1;M(!0);async function G(){let N=v?v.split(`
4
+ `):[],_=X?X.split(`
5
+ `):[],E=(await Promise.all(_.map((B)=>f(B)))).flat(),P=w(E).filter((B)=>!N.includes(B)).sort((B,C)=>S(B).localeCompare(S(C))),k=w([...N,...P]),Yq=await Promise.all(k.map(async(B)=>{let[C,g,Aq]=await Promise.all([j(B),y(B),c(B)]);return{root:B,name:S(B),branch:Aq,files:C?u(C,g):[],hunks:g}}));if(!V)z(Yq),Z(k),M(!1)}return G().catch(()=>{if(!V)z([]),Z([]),M(!1)}),()=>{V=!0}},[v,X,U]);let W=O.useCallback(()=>H((V)=>V+1),[]);return{groups:$,roots:Q,loading:A,refresh:W}}var O;var Hq=D(()=>{Uq();p();h();O=T(m(),1)});import{basename as n}from"path";function d(q,J,$){if(q===0)return"";return J.join("")+($?vq:l)}function r(q){return{name:q,dirs:new Map,files:[]}}function Gq(q){let J=r("");for(let $ of q){let z=$.path.split("/");z.pop();let Q=J;for(let Z of z){let A=Q.dirs.get(Z);if(!A)A=r(Z),Q.dirs.set(Z,A);Q=A}Q.files.push($)}return J}function i(q,J,$,z,Q,Z,A,M){let U=[...q.dirs.values()].sort((X,W)=>X.name.localeCompare(W.name)),H=[...q.files].sort((X,W)=>n(X.path).localeCompare(n(W.path))),v=H.length>0;for(let X=0;X<U.length;X++){let W=U[X],V=W.name,G=J?`${J}/${W.name}`:W.name;while(W.files.length===0&&W.dirs.size===1){let P=W.dirs.values().next().value;V=`${V}/${P.name}`,G=`${G}/${P.name}`,W=P}let N=X===U.length-1&&!v,_=`${Q}\x00${G}`,E=z.has(_);if(A.push({kind:"dir",key:_,label:V,depth:$,collapsed:E,guides:d($,M,N)}),!E){let P=$>=1?[...M,N?Bq:l]:M;i(W,G,$+1,z,Q,Z,A,P)}}for(let X=0;X<H.length;X++){let W=H[X],V=X===H.length-1;A.push({kind:"file",file:W,root:Q,hunks:Z(W.path),depth:$,guides:d($,M,V)})}}function Nq(q,J){let $=[],z=q.length>1,Q=0;for(let Z of q){let A=z?1:0;if(z){let M=J.has(Z.root);if($.push({kind:"group",key:Z.root,name:Z.name,meta:`${Z.files.length} ${a(Z.files.length,"file")} changed`,branch:Z.branch,repoIndex:Q++,collapsed:M,depth:0}),M)continue}i(Gq(Z.files),"",A,J,Z.root,(M)=>Z.hunks.get(M)??[],$,[])}return $}var l="│ ",vq="└ ",Bq=" ";var o=D(()=>{Vq()});function hq(q){let J=0;for(let $=0;$<q.length;$++)J=Math.imul(J,31)+q.charCodeAt($)|0;return R[Math.abs(J)%R.length]}function s(q){let J=R.length;return R[(q%J+J)%J]}var R;var t=D(()=>{R=["cyan_FOR_SUBAGENTS_ONLY","green_FOR_SUBAGENTS_ONLY","yellow_FOR_SUBAGENTS_ONLY","purple_FOR_SUBAGENTS_ONLY","orange_FOR_SUBAGENTS_ONLY","pink_FOR_SUBAGENTS_ONLY","blue_FOR_SUBAGENTS_ONLY","red_FOR_SUBAGENTS_ONLY"]});function zq(){let q=$q();return{enabled:q,fileIcon:(J)=>q?Zq(J):"",folderIcon:(J)=>q?J?Jq:qq:"",repoIcon:q?Oq:"",branchIcon:q?Fq:"",pointer:I.pointer}}var Oq="",Fq="";var Qq=D(()=>{e();_q();Pq()});import{basename as Lq}from"path";function Dq(q,J,$){if(q<=$)return{start:0,end:q};let z=Math.max(0,J-Math.floor($/2)),Q=z+$;if(Q>q)Q=q,z=Math.max(0,Q-$);return{start:z,end:Q}}function ZJ(q){return q.flatMap((J)=>J.files)}function $J({rows:q,selectedIndex:J,maxVisible:$,width:z,statusByPath:Q,alignFiles:Z}){let A=Wq.useMemo(zq,[]),M=q.length;if(M===0)return Y(K,{dimColor:!0,children:"No changed files"});let{start:U,end:H}=Dq(M,J,$),v=[];for(let X=U;X<H;X++){let W=q[X];v.push(Y(kq,{row:W,isSelected:X===J,width:z,glyphs:A,alignFiles:Z,statusColor:W.kind==="file"?Q?.get(W.file.path):void 0},X))}return L(F,{flexDirection:"column",children:[U>0&&Y(K,{dimColor:!0,children:` ↑ ${U} more`}),v,H<M&&Y(K,{dimColor:!0,children:` ↓ ${M-H} more`})]})}function kq({row:q,isSelected:J,width:$,glyphs:z,statusColor:Q,alignFiles:Z}){if(q.kind==="group"){let N=J?`${z.pointer} `:" ",_=q.collapsed?I.triangleRight:I.triangleDown;return L(K,{dimColor:!J,bold:J,children:[`${N}${_} `,z.repoIcon&&Y(K,{color:s(q.repoIndex),dimColor:!1,children:`${z.repoIcon} `}),q.name," ",Y(K,{bold:!0,children:q.meta}),q.branch&&Y(K,{children:` ${z.branchIcon?`${z.branchIcon} `:"· "}${q.branch}`})]})}let A=J?`${z.pointer} `:" ",M=q.guides,U=2+q.depth*2;if(q.kind==="dir"){let N=q.collapsed?I.triangleRight:I.triangleDown,_=z.folderIcon(!q.collapsed),E=_?`${_} `:"",P=Math.max(4,$-U-2-(E?2:0)-1),k=x(q.label,P);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),`${N} ${E}${k}`]})}),Y(F,{flexGrow:1})]})}let H=z.fileIcon(q.file.path),v=H?`${H} `:"",X=Z?" ":"",W=q.file.isBinary||q.file.isLargeFile||q.file.renamedFrom?9:0,V=Math.max(4,$-U-X.length-(v?2:0)-W-1),G=q.label?x(q.label,V):Mq(Lq(q.file.path),V);return L(F,{width:$,flexDirection:"row",children:[Y(F,{flexShrink:1,overflow:"hidden",children:L(K,{wrap:"truncate",bold:J,inverse:J,children:[A,Y(K,{dimColor:!J,children:M}),X,v,Q&&!J?Y(K,{color:Q,children:G}):G]})}),Y(F,{flexGrow:1}),Y(F,{flexShrink:0,children:Y(Cq,{file:q.file,isSelected:J})})]})}function Cq({file:q,isSelected:J}){if(q.isBinary)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"binary"});if(q.isLargeFile)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"large"});if(q.renamedFrom)return Y(K,{dimColor:!J,italic:!0,wrap:"truncate",children:"renamed"});return null}var Wq,JJ=80;var Rq=D(()=>{e();Iq();Eq();t();o();Qq();Xq();Wq=T(m(),1)});
6
+ export{wq as Wf,Hq as Xf,zq as Yf,Qq as Zf,hq as _f,t as $f,Nq as ag,o as bg,JJ as cg,ZJ as dg,$J as eg,Rq as fg};
@@ -0,0 +1,2 @@
1
+ import{Ph as Vq,Qh as fq}from"./cli-1.1.10-hs44pkht.mjs";import{AY as o,BY as pq,HY as Qq,JY as Uq,KY as Hq,lY as Pq,mY as mq}from"./cli-1.1.10-qk19t6fd.mjs";import{BZ as Sq,F1 as Wq,_0 as M,a1 as g}from"./cli-1.1.10-msg7sda2.mjs";import{i4 as Z,j4 as F,k4 as Jq}from"./cli-1.1.10-t8n5jx0z.mjs";import{l4 as _q}from"./cli-1.1.10-c67v6p50.mjs";import{Uga as s,Vga as jq}from"./cli-1.1.10-kdvf271d.mjs";import{Usa as Lq,Ysa as wq}from"./cli-1.1.10-gmf5w0a4.mjs";function lq(A){let q=C.c(25),{title:J,color:V,defaultTab:Q,children:L,hidden:G,useFullWidth:K,selectedTab:E,onTabChange:k,banner:T,disableNavigation:a,initialHeaderFocused:n,contentHeight:y,navFromContent:d}=A,Xq=n===void 0?!0:n,Yq=d===void 0?!1:d,{columns:t}=Pq(),X=L.map(Iq),e=Q?X.findIndex((U)=>Q===U[0]):0,x=E!==void 0,[Zq,kq]=P.useState(e!==-1?e:0),qq=x?X.findIndex((U)=>U[0]===E):-1,z=x?qq!==-1?qq:0:Zq,N=Uq(),[Y,v]=P.useState(Xq),O;if(q[0]===Symbol.for("react.memo_cache_sentinel"))O=()=>v(!0),q[0]=O;else O=q[0];let zq=O,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>v(!1),q[1]=R;else R=q[1];let Eq=R,[Nq,Aq]=P.useState(0),w;if(q[2]===Symbol.for("react.memo_cache_sentinel"))w=()=>{return Aq(Cq),()=>Aq(gq)},q[2]=w;else w=q[2];let vq=w,j=Nq>0,_=(U)=>{let H=(z+X.length+U)%X.length,f=X[H]?.[0];if(x&&k&&f)k(f);else kq(H);v(!0)},b=!G&&!a&&Y,S;if(q[3]!==b)S={context:"Tabs",isActive:b},q[3]=b,q[4]=S;else S=q[4];o({"tabs:next":()=>_(1),"tabs:previous":()=>_(-1)},S);let W;if(q[5]!==Y||q[6]!==G||q[7]!==j)W=(U)=>{if(!Y||!j||G)return;if(U.key==="down")U.preventDefault(),v(!1)},q[5]=Y,q[6]=G,q[7]=j,q[8]=W;else W=q[8];let u=W,$=Yq&&!Y&&j&&!G&&!a,m;if(q[9]!==$)m={context:"Tabs",isActive:$},q[9]=$,q[10]=m;else m=q[10];o({"tabs:next":()=>{_(1),v(!0)},"tabs:previous":()=>{_(-1),v(!0)}},m);let Dq=J?s(J)+1:0,Mq=X.reduce(Fq,0),Bq=Dq+Mq,Gq=K?Math.max(0,t-Bq):0,B=K?t:void 0,h=M,Kq="column",yq=0,Oq=!0,c=N?0:void 0,r=!G&&F(M,{flexDirection:"row",gap:1,flexShrink:N?0:void 0,children:[J!==void 0&&Z(g,{bold:!0,color:V,children:J}),X.map((U,H)=>{let[f,Rq]=U,i=z===H,l=V&&i&&Y;return F(g,{backgroundColor:l?V:void 0,color:l?"inverseText":void 0,inverse:i&&!l,bold:i,children:[" ",Rq," "]},f)}),Gq>0&&Z(g,{children:" ".repeat(Gq)})]},`${z}-${Y?"focused":"blurred"}`),D;if(q[11]!==L||q[12]!==y||q[13]!==B||q[14]!==G||q[15]!==N||q[16]!==z)D=N?Z(M,{width:B,marginTop:G?0:1,flexShrink:0,children:Z(Vq,{ref:N,flexDirection:"column",flexShrink:0,children:L},z)}):Z(M,{width:B,marginTop:G?0:1,height:y,overflowY:y!==void 0?"hidden":void 0,children:L}),q[11]=L,q[12]=y,q[13]=B,q[14]=G,q[15]=N,q[16]=z,q[17]=D;else D=q[17];let p;if(q[18]!==h||q[19]!==T||q[20]!==u||q[21]!==c||q[22]!==r||q[23]!==D)p=F(h,{flexDirection:Kq,tabIndex:yq,autoFocus:Oq,onKeyDown:u,flexShrink:c,children:[r,T,D]}),q[18]=h,q[19]=T,q[20]=u,q[21]=c,q[22]=r,q[23]=D,q[24]=p;else p=q[24];return Z(I.Provider,{value:{selectedTab:X[z][0],width:B,headerFocused:Y,focusHeader:zq,blurHeader:Eq,registerOptIn:vq},children:p})}function Fq(A,q){let[,J]=q;return A+(J?s(J):0)+2+1}function gq(A){return A-1}function Cq(A){return A+1}function Iq(A){return[A.props.id??A.props.title,A.props.title]}function oq(A){let q=C.c(4),{title:J,id:V,children:Q}=A,{selectedTab:L,width:G}=P.useContext(I),K=Qq();if(L!==(V??J))return null;let E=K?0:void 0,k;if(q[0]!==Q||q[1]!==E||q[2]!==G)k=Z(M,{width:G,flexShrink:E,children:Q}),q[0]=Q,q[1]=E,q[2]=G,q[3]=k;else k=q[3];return k}function sq(){let{width:A}=P.useContext(I);return A}function aq(){let A=C.c(6),{headerFocused:q,focusHeader:J,blurHeader:V,registerOptIn:Q}=P.useContext(I),L;if(A[0]!==Q)L=[Q],A[0]=Q,A[1]=L;else L=A[1];P.useEffect(Q,L);let G;if(A[2]!==V||A[3]!==J||A[4]!==q)G={headerFocused:q,focusHeader:J,blurHeader:V},A[2]=V,A[3]=J,A[4]=q,A[5]=G;else G=A[5];return G}var C,P,I;var Tq=wq(()=>{Hq();mq();fq();jq();Wq();pq();Jq();C=Lq(Sq(),1),P=Lq(_q(),1),I=P.createContext({selectedTab:void 0,width:void 0,headerFocused:!1,focusHeader:()=>{},blurHeader:()=>{},registerOptIn:()=>()=>{}})});
2
+ export{lq as nh,oq as oh,sq as ph,aq as qh,Tq as rh};
@@ -0,0 +1,2 @@
1
+ import{pka as E,qka as F,uka as M}from"./cli-1.1.10-jn6w68wj.mjs";import{esa as H,wsa as N}from"./cli-1.1.10-6m1jpn0s.mjs";N();M();function V(z){let C=Buffer.from(z,"base64url").toString("utf-8"),q=F(C);if(!q||typeof q!=="object"||!("version"in q)||q.version!==1)throw Error(`Unsupported work secret version: ${q&&typeof q==="object"&&"version"in q?q.version:"unknown"}`);let A=q;if(typeof A.session_ingress_token!=="string"||A.session_ingress_token.length===0)throw Error("Invalid work secret: missing or empty session_ingress_token");if(typeof A.api_base_url!=="string")throw Error("Invalid work secret: missing api_base_url");return q}function W(z,C){let q=new URL(z).hostname,A=q==="localhost"||q==="127.0.0.1",D=A?"ws":"wss",J=A?"v2":"v1",K=z.replace(/^https?:\/\//,"").replace(/\/+$/,"");return`${D}://${K}/${J}/session_ingress/ws/${C}`}function X(z,C){if(z===C)return!0;let q=z.slice(z.lastIndexOf("_")+1),A=C.slice(C.lastIndexOf("_")+1);return q.length>=4&&q===A}function Y(z,C){return`${z.replace(/\/+$/,"")}/v1/code/sessions/${C}`}async function Z(z,C){let q=await H.post(`${z}/worker/register`,{},{headers:{Authorization:`Bearer ${C}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"},timeout:1e4}),A=q.data?.worker_epoch,D=typeof A==="string"?Number(A):A;if(typeof D!=="number"||!Number.isFinite(D)||!Number.isSafeInteger(D))throw Error(`registerWorker: invalid worker_epoch in response: ${E(q.data)}`);return D}
2
+ export{V as Jb,W as Kb,X as Lb,Y as Mb,Z as Nb};
@@ -0,0 +1,2 @@
1
+ import{ed as K,fd as Y}from"./cli-1.1.10-t0ypk4ke.mjs";import{Al as V,Fp as H,Gp as W,fN as J,nN as X,ul as G,vl as B,zl as U}from"./cli-1.1.10-hk2c91wp.mjs";import{Vsa as q,Ysa as v}from"./cli-1.1.10-gmf5w0a4.mjs";function P(h){return x.some((g)=>h.endsWith(g))}function C(h){return h.filter((g)=>G.has(g.name)||P(g.name))}function A(h,g,E){let[Q,Z]=K(H([...h,...g],"name"),J),k=($,j)=>$.name.localeCompare(j.name),w=[...Z.sort(k),...Q.sort(k)];if(z){if(z.isCoordinatorMode())return C(w)}return w}var x,z;var D=v(()=>{Y();W();B();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];z=(V(),q(U))});
2
+ export{P as ad,C as bd,A as cd,D as dd};
@@ -0,0 +1,2 @@
1
+ import{h_ as Z,l_ as _,m_ as w}from"./cli-1.1.10-cn0a8vwn.mjs";import{K$ as T,Lea as W,Oea as V,Raa as D,X_ as Y,Y_ as U,h$ as $,hfa as j,uaa as k}from"./cli-1.1.10-m0pdck7q.mjs";import{Mka as N,Pka as M}from"./cli-1.1.10-jn6w68wj.mjs";import{kra as O,rna as X}from"./cli-1.1.10-f00rps59.mjs";O();j();M();w();D();U();T();import{realpath as v}from"fs/promises";async function b(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await v(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function y(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function c(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
2
+ export{b as hb,y as ib,P as jb,d as kb,c as lb};
@@ -0,0 +1,2 @@
1
+ import{Rd as Jq,Vd as Tq}from"./cli-1.1.10-f8znbdgf.mjs";import{$d as bq,_d as zq}from"./cli-1.1.10-w6tkqgvq.mjs";import{$L as e,$n as yq,CM as D,FM as Cq,KL as s,LL as _q,PL as a,SL as l,WL as t,_n as n,bM as Rq,eI as u,fI as fq,iM as qq,mM as Fq,rG as r,sG as Gq,wL as S,zL as Nq}from"./cli-1.1.10-hk2c91wp.mjs";import{BZ as Bq,F1 as Oq,_0 as F,a1 as C,rZ as i,sZ as Kq}from"./cli-1.1.10-msg7sda2.mjs";import{i4 as v,j4 as R,k4 as p}from"./cli-1.1.10-t8n5jx0z.mjs";import{l4 as Lq}from"./cli-1.1.10-c67v6p50.mjs";import{A_ as Zq,Hga as m,M$ as o,M_ as $,N$ as Hq,O_ as Xq,Pga as wq,Raa as vq,uaa as x,z_ as g}from"./cli-1.1.10-m0pdck7q.mjs";import{Mka as B,Pka as Yq}from"./cli-1.1.10-jn6w68wj.mjs";import{jla as P,mla as h,rla as Wq}from"./cli-1.1.10-e7wxspgz.mjs";import{Usa as d,Ysa as Vq}from"./cli-1.1.10-gmf5w0a4.mjs";import{readFile as c}from"fs/promises";import{join as j}from"path";function Qq(){return s}function Aq(){return Mq}function Uq(){return`thinkback@${Qq()}`}async function jq(){let{enabled:H}=await D(),q=H.find((U)=>U.name==="thinkback"||U.source&&U.source.includes(Uq()));if(!q)return null;let J=j(q.path,"skills",Sq);if(await x(J))return J;return null}async function Iq(H){let q=j(H,"year_in_review.js"),J=j(H,"player.js");try{await c(q)}catch(z){if(h(z))return{success:!1,message:"No animation found. Run /think-back first to generate one."};return m(z),{success:!1,message:`Could not access animation data: ${P(z).message}`}}try{await c(J)}catch(z){if(h(z))return{success:!1,message:"Player script not found. The player.js file is missing from the thinkback skill."};return m(z),{success:!1,message:`Could not access player script: ${P(z).message}`}}let U=i.get(process.stdout);if(!U)return{success:!1,message:"Failed to access terminal instance"};U.enterAlternateScreen();try{await g("node",[J],{stdio:"inherit",cwd:H,reject:!1})}catch{}finally{U.exitAlternateScreen()}let O=j(H,"year_in_review.html");if(await x(O)){let z=o();$(z==="macos"?"open":z==="windows"?"start":"xdg-open",[O])}return{success:!0,message:"Year in review animation complete!"}}function Pq({onReady:H,onError:q}){let[J,U]=K.useState({phase:"checking"}),[O,z]=K.useState("");if(K.useEffect(()=>{async function Z(){try{let y=await l(),Y=Qq(),G=Aq(),X=Uq(),_=Y in y,L=qq(X);if(!_)U({phase:"installing-marketplace"}),B(`Installing marketplace ${G}`),await t({source:"github",repo:G},(V)=>{z(V)}),S(),B(`Marketplace ${Y} installed`);else if(!L)U({phase:"installing-marketplace"}),z("Updating marketplace…"),B(`Refreshing marketplace ${Y}`),await e(Y,(V)=>{z(V)}),a(),S(),B(`Marketplace ${Y} refreshed`);if(!L){U({phase:"installing-plugin"}),B(`Installing plugin ${X}`);let V=await zq([X]);if(V.failed.length>0){let w=V.failed.map((W)=>`${W.name}: ${W.error}`).join(", ");throw Error(`Failed to install plugin: ${w}`)}S(),B(`Plugin ${X} installed`)}else{let{disabled:V}=await D();if(V.some((W)=>W.name==="thinkback"||W.source?.includes(X))){U({phase:"enabling-plugin"}),B(`Enabling plugin ${X}`);let W=await Jq(X);if(!W.success)throw Error(`Failed to enable plugin: ${W.message}`);S(),B(`Plugin ${X} enabled`)}}U({phase:"ready"}),H()}catch(y){let Y=P(y);m(Y),U({phase:"error",message:Y.message}),q(Y.message)}}Z()},[H,q]),J.phase==="error")return v(F,{flexDirection:"column",children:R(C,{color:"error",children:["Error: ",J.message]})});if(J.phase==="ready")return null;let T=J.phase==="checking"?"Checking thinkback installation…":J.phase==="installing-marketplace"?"Installing marketplace…":J.phase==="enabling-plugin"?"Enabling thinkback plugin…":"Installing thinkback plugin…";return v(F,{flexDirection:"column",children:R(F,{children:[v(u,{}),v(C,{children:O||T})]})})}function mq(H){let q=k.c(19),{onDone:J,onAction:U,skillDir:O,hasGenerated:z}=H,[T,Z]=K.useState(!1),y;if(q[0]!==z)y=z?[{label:"Play animation",value:"play",description:"Watch your year in review"},{label:"Edit content",value:"edit",description:"Modify the animation"},{label:"Fix errors",value:"fix",description:"Fix validation or rendering issues"},{label:"Regenerate",value:"regenerate",description:"Create a new animation from scratch"}]:[{label:"Let's go!",value:"regenerate",description:"Generate your personalized animation"}],q[0]=z,q[1]=y;else y=q[1];let Y=y,G;if(q[2]!==U||q[3]!==J||q[4]!==O)G=function(b){if(Z(!0),b==="play")Iq(O).then(()=>{J(void 0,{display:"skip"})});else U(b)},q[2]=U,q[3]=J,q[4]=O,q[5]=G;else G=q[5];let X=G,_;if(q[6]!==J)_=function(){J(void 0,{display:"skip"})},q[6]=J,q[7]=_;else _=q[7];let L=_;if(T)return null;let V;if(q[8]!==z)V=!z&&R(F,{flexDirection:"column",children:[v(C,{children:"Relive your year of coding with Claude."}),v(C,{dimColor:!0,children:"We'll create a personalized ASCII animation celebrating your journey."})]}),q[8]=z,q[9]=V;else V=q[9];let w;if(q[10]!==X||q[11]!==Y)w=v(r,{options:Y,onChange:X,visibleOptionCount:5}),q[10]=X,q[11]=Y,q[12]=w;else w=q[12];let W;if(q[13]!==V||q[14]!==w)W=R(F,{flexDirection:"column",gap:1,children:[V,w]}),q[13]=V,q[14]=w,q[15]=W;else W=q[15];let f;if(q[16]!==L||q[17]!==W)f=v(n,{title:"Think Back on 2025 with Claude Code",subtitle:"Generate your 2025 Claude Code Think Back (takes a few minutes to run)",onCancel:L,color:"claude",children:W}),q[16]=L,q[17]=W,q[18]=f;else f=q[18];return f}function uq(H){let q=k.c(27),{onDone:J}=H,[U,O]=K.useState(!1),[z,T]=K.useState(null),[Z,y]=K.useState(null),[Y,G]=K.useState(null),X;if(q[0]===Symbol.for("react.memo_cache_sentinel"))X=function(){O(!0)},q[0]=X;else X=q[0];let _=X,L;if(q[1]!==J)L=(Q)=>{T(Q),J(`Error with thinkback: ${Q}. Try running /plugin to manually install the think-back plugin.`,{display:"system"})},q[1]=J,q[2]=L;else L=q[2];let V=L,w,W;if(q[3]!==V||q[4]!==U||q[5]!==z||q[6]!==Z)w=()=>{if(U&&!Z&&!z)jq().then((Q)=>{if(Q)B(`Thinkback skill directory: ${Q}`),y(Q);else V("Could not find thinkback skill directory")})},W=[U,Z,z,V],q[3]=V,q[4]=U,q[5]=z,q[6]=Z,q[7]=w,q[8]=W;else w=q[7],W=q[8];K.useEffect(w,W);let f,M;if(q[9]!==Z)f=()=>{if(!Z)return;let Q=j(Z,"year_in_review.js");x(Q).then((N)=>{B(`Checking for ${Q}: ${N?"found":"not found"}`),G(N)})},M=[Z],q[9]=Z,q[10]=f,q[11]=M;else f=q[10],M=q[11];K.useEffect(f,M);let b;if(q[12]!==J)b=function(N){J({edit:xq,fix:Eq,regenerate:hq}[N],{display:"user",shouldQuery:!0})},q[12]=J,q[13]=b;else b=q[13];let E=b;if(z){let Q;if(q[14]!==z)Q=R(C,{color:"error",children:["Error: ",z]}),q[14]=z,q[15]=Q;else Q=q[15];let N;if(q[16]===Symbol.for("react.memo_cache_sentinel"))N=v(C,{dimColor:!0,children:"Try running /plugin to manually install the think-back plugin."}),q[16]=N;else N=q[16];let A;if(q[17]!==Q)A=R(F,{flexDirection:"column",children:[Q,N]}),q[17]=Q,q[18]=A;else A=q[18];return A}if(!U){let Q;if(q[19]!==V)Q=v(Pq,{onReady:_,onError:V}),q[19]=V,q[20]=Q;else Q=q[20];return Q}if(!Z||Y===null){let Q;if(q[21]===Symbol.for("react.memo_cache_sentinel"))Q=R(F,{children:[v(u,{}),v(C,{children:"Loading thinkback skill…"})]}),q[21]=Q;else Q=q[21];return Q}let I;if(q[22]!==E||q[23]!==Y||q[24]!==J||q[25]!==Z)I=v(mq,{onDone:J,onAction:E,skillDir:Z,hasGenerated:Y}),q[22]=E,q[23]=Y,q[24]=J,q[25]=Z,q[26]=I;else I=q[26];return I}async function Yz(H){return v(uq,{onDone:H})}var k,K,Mq="anthropics/claude-plugins-official",Sq="thinkback",xq='Use the Skill tool to invoke the "thinkback" skill with mode=edit to modify my existing Claude Code year in review animation. Ask me what I want to change. When the animation is ready, tell the user to run /think-back again to play it.',Eq='Use the Skill tool to invoke the "thinkback" skill with mode=fix to fix validation or rendering errors in my existing Claude Code year in review animation. Run the validator, identify errors, and fix them. When the animation is ready, tell the user to run /think-back again to play it.',hq='Use the Skill tool to invoke the "thinkback" skill with mode=regenerate to create a completely new Claude Code year in review animation from scratch. Delete the existing animation and start fresh. When the animation is ready, tell the user to run /think-back again to play it.';var Dq=Vq(()=>{Zq();Gq();yq();fq();Kq();Oq();Tq();Yq();Wq();Xq();vq();wq();Hq();Nq();Fq();Rq();_q();Cq();bq();p();k=d(Bq(),1),K=d(Lq(),1)});
2
+ export{Iq as Hd,Yz as Id,Dq as Jd};
@@ -0,0 +1,2 @@
1
+ import{Ysa as K}from"./cli-1.1.10-gmf5w0a4.mjs";function C(f){return(j)=>{if(j.code==="EPIPE")f.destroy()}}function M(){process.stdout.on("error",C(process.stdout)),process.stderr.on("error",C(process.stderr))}function G(f,j){if(f.destroyed)return;f.write(j)}function N(f){G(process.stdout,f)}function Q(f){G(process.stderr,f)}function R(f){console.error(f),process.exit(1)}function S(f,j){return new Promise((H)=>{let q=(J)=>{clearTimeout(B),f.off("end",z),f.off("data",A),H(J)},z=()=>q(!1),A=()=>clearTimeout(B),B=setTimeout(q,j,!0);f.once("end",z),f.once("data",A)})}var L=()=>{};
2
+ export{M as Qka,N as Rka,Q as Ska,R as Tka,S as Uka,L as Vka};
@@ -0,0 +1,2 @@
1
+ import{cS as R,jK as Y,om as W,rm as P,tk as Q,uk as I}from"./cli-1.1.10-hk2c91wp.mjs";import{Sga as B,Tga as f}from"./cli-1.1.10-kdvf271d.mjs";import{cja as H,dja as J,yja as F}from"./cli-1.1.10-3pch2a3h.mjs";import{kra as $,lna as v}from"./cli-1.1.10-f00rps59.mjs";import{Ysa as Z}from"./cli-1.1.10-gmf5w0a4.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:z(h),session_id:v(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:v(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:v(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let x=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:Y({content:x}).message,parent_tool_use_id:null,session_id:v(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let x=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:x}}var G=Z(()=>{$();F();I();f();R();P()});
2
+ export{S as Te,V as Ue,X as Ve,r as We,w as Xe,T as Ye,G as Ze};
@@ -0,0 +1,2 @@
1
+ import{$C as p,EQ as r,FS as i,WC as K,YC as I,ZC as _,dC as P,jC as b,nv as T,pC as j,tQ as f,uQ as L}from"./cli-1.1.10-hk2c91wp.mjs";import{lW as A,mW as n}from"./cli-1.1.10-1mh77njj.mjs";import{Jja as E,Mja as C}from"./cli-1.1.10-fz99ag3y.mjs";import{Cka as m,Mka as Z,Pja as F,Pka as u,Rja as S,yka as M}from"./cli-1.1.10-jn6w68wj.mjs";import{Oqa as v,hna as Y,ina as k,kra as c}from"./cli-1.1.10-f00rps59.mjs";n();c();r();C();p();P();S();u();m();i();k();import*as H from"path";var d=1000,o=500,l=300,e=2000,h=typeof Bun<"u",x=null,y=null,Q=new Set,B=!1,D=!1,V=!1,X=null,W=Y(),U=null;async function t(){if(B||D)return;if(B=!0,!V)V=!0,_(()=>{f(),W.emit()});let q=await a();if(q.length===0)return;Z(`Watching for changes in skill/command directories: ${q.join(", ")}...`),x=A.watch(q,{persistent:!1,ignoreInitial:!0,depth:2,awaitWriteFinish:{stabilityThreshold:U?.stabilityThreshold??d,pollInterval:U?.pollInterval??o},ignored:(w,z)=>{if(z&&!z.isFile()&&!z.isDirectory())return!0;return w.split(H.sep).some((J)=>J===".git")},ignorePermissionErrors:!0,usePolling:h,interval:U?.chokidarInterval??e,atomic:!0}),x.on("add",$),x.on("change",$),x.on("unlink",$),X=F(async()=>{await g()})}function g(){if(D=!0,X)X(),X=null;let q=Promise.resolve();if(x)q=x.close(),x=null;if(y)clearTimeout(y),y=null;return Q.clear(),W.clear(),q}var s=W.subscribe;async function a(){let q=M(),w=[],z=K("userSettings","skills");if(z)try{await q.stat(z),w.push(z)}catch{}let J=K("userSettings","commands");if(J)try{await q.stat(J),w.push(J)}catch{}let N=K("projectSettings","skills");if(N)try{let G=H.resolve(N);await q.stat(G),w.push(G)}catch{}let O=K("projectSettings","commands");if(O)try{let G=H.resolve(O);await q.stat(G),w.push(G)}catch{}for(let G of v()){let R=H.join(G,".claudin","skills");try{await q.stat(R),w.push(R)}catch{}}return w}function $(q){Z(`Detected skill change: ${q}`),E("tengu_skill_file_changed",{source:"chokidar"}),qq(q)}function qq(q){if(Q.add(q),y)clearTimeout(y);y=setTimeout(async()=>{y=null;let w=[...Q];Q.clear();let z=await j("skills",w[0]);if(b(z)){Z(`ConfigChange hook blocked skill reload (${w.length} paths)`);return}I(),L(),T(),W.emit()},U?.reloadDebounce??l)}async function wq(q){if(x)await x.close(),x=null;if(y)clearTimeout(y),y=null;Q.clear(),W.clear(),B=!1,D=!1,U=q??null}var Zq={initialize:t,dispose:g,subscribe:s,resetForTesting:wq};
2
+ export{Zq as bb};
@@ -0,0 +1,2 @@
1
+ import{v4 as x,w4 as D,x4 as j}from"./cli-1.1.10-3vfwktcp.mjs";import{A8 as Q,G8 as q,V7 as U,V8 as _,W7 as X,c5 as G,i5 as I,v8 as Z,x8 as P}from"./cli-1.1.10-yzpymdrc.mjs";import{Oea as $,hfa as S}from"./cli-1.1.10-m0pdck7q.mjs";import{Cja as V,Ija as K}from"./cli-1.1.10-2wkvf65f.mjs";import{Hla as R,xla as B}from"./cli-1.1.10-49bvng33.mjs";import{esa as W,wsa as E}from"./cli-1.1.10-6m1jpn0s.mjs";import{Ysa as N}from"./cli-1.1.10-gmf5w0a4.mjs";function y(){let z=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",J=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claude-cli/99.0.0 (${process.env.CLAUDE_CODE_ENTRYPOINT??"cli"}${z}${J})`}function b(){let z=[];if(process.env.CLAUDE_CODE_ENTRYPOINT)z.push(process.env.CLAUDE_CODE_ENTRYPOINT);if(process.env.CLAUDE_AGENT_SDK_VERSION)z.push(`agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`);if(process.env.CLAUDE_AGENT_SDK_CLIENT_APP)z.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);return`claude-code/99.0.0${z.length>0?` (${z.join(", ")})`:""}`}function k(){if(G()==="firstParty")return`Claude-User (${x()}; +https://support.anthropic.com/)`;return`Claudin-User (${D()})`}function A(){if(Q()){let J=Z();if(!J?.accessToken)return{headers:{},error:"No OAuth token available"};return{headers:{Authorization:`Bearer ${J.accessToken}`,"anthropic-beta":V}}}let z=X();if(!z)return{headers:{},error:"No API key available"};return{headers:{"x-api-key":z}}}async function p(z,J){try{return await z()}catch(F){if(!W.isAxiosError(F))throw F;let L=F.response?.status;if(!(L===401||J?.also403Revoked&&L===403&&typeof F.response?.data==="string"&&F.response.data.includes("OAuth token has been revoked")))throw F;let M=Z()?.accessToken;if(!M)throw F;return await P(M),await z()}}var w=N(()=>{E();K();_();I();j()});function u(){if(B(process.env.DISABLE_COST_WARNINGS))return!1;if(Q())return!1;let J=U(),F=X()!==null;if(!J.hasToken&&!F)return!1;let L=$(),Y=L.oauthAccount?.organizationRole,M=L.oauthAccount?.workspaceRole;if(!Y||!M)return!1;return["admin","billing"].includes(Y)||["workspace_admin","workspace_billing"].includes(M)}function l(){if(H!==null)return H;if(!Q())return!1;let z=q();if(z==="max"||z==="pro")return!0;let F=$().oauthAccount?.organizationRole;return!!F&&["admin","billing","owner","primary_owner"].includes(F)}var H=null;var m=N(()=>{_();S();R()});
2
+ export{y as m4,b as n4,k as o4,A as p4,p as q4,w as r4,u as s4,l as t4,m as u4};
@@ -0,0 +1,2 @@
1
+ import{Hga as U,Pga as m,T$ as F,X$ as f,Z_ as K,__ as E}from"./cli-1.1.10-m0pdck7q.mjs";import{Via as v,Xia as x}from"./cli-1.1.10-3pch2a3h.mjs";import{Cka as g,yka as D}from"./cli-1.1.10-jn6w68wj.mjs";import{Ysa as S}from"./cli-1.1.10-gmf5w0a4.mjs";import{basename as H,dirname as b,join as I,sep as O}from"path";function _(q,B){if(!q)return{directory:B||v(),prefix:""};let G=F(q,B);if(q.endsWith("/")||q.endsWith(O))return{directory:G,prefix:""};let N=b(G),J=H(q);return{directory:N,prefix:J}}async function k(q){let B=Z.get(q);if(B)return B;try{let J=(await D().readdir(q)).filter((M)=>M.isDirectory()&&!M.name.startsWith(".")).map((M)=>({name:M.name,path:I(q,M.name),type:"directory"})).slice(0,100);return Z.set(q,J),J}catch(G){return U(G),[]}}async function P(q,B={}){let{basePath:G=v(),maxResults:N=10}=B,{directory:J,prefix:M}=_(q,G),V=await k(J),z=M.toLowerCase();return V.filter((X)=>X.name.toLowerCase().startsWith(z)).slice(0,N).map((X)=>({id:X.path,displayText:X.name+"/",description:"directory",metadata:{type:"directory"}}))}function o(q){return q.startsWith("~/")||q.startsWith("/")||q.startsWith("./")||q.startsWith("../")||q==="~"||q==="."||q===".."}async function u(q,B=!1){let G=`${q}:${B}`,N=A.get(G);if(N)return N;try{let V=(await D().readdir(q)).filter((z)=>B||!z.name.startsWith(".")).map((z)=>({name:z.name,path:I(q,z.name),type:z.isDirectory()?"directory":"file"})).sort((z,W)=>{if(z.type==="directory"&&W.type!=="directory")return-1;if(z.type!=="directory"&&W.type==="directory")return 1;return z.name.localeCompare(W.name)}).slice(0,100);return A.set(G,V),V}catch(J){return U(J),[]}}async function h(q,B={}){let{basePath:G=v(),maxResults:N=10,includeFiles:J=!0,includeHidden:M=!1}=B,{directory:V,prefix:z}=_(q,G),W=await u(V,M),X=z.toLowerCase(),j=W.filter((Q)=>{if(!J&&Q.type==="file")return!1;return Q.name.toLowerCase().startsWith(X)}).slice(0,N),w=q.includes("/")||q.includes(O),Y="";if(w){let Q=q.lastIndexOf("/"),$=q.lastIndexOf(O),L=Math.max(Q,$);Y=q.substring(0,L+1)}if(Y.startsWith("./")||Y.startsWith("."+O))Y=Y.slice(2);return j.map((Q)=>{let $=Y+Q.name;return{id:$,displayText:Q.type==="directory"?$+"/":$,metadata:{type:Q.type}}})}var R=500,T=300000,Z,A;var C=S(()=>{E();x();g();m();f();Z=new K({max:R,ttl:T}),A=new K({max:R,ttl:T})});
2
+ export{P as zh,o as Ah,h as Bh,C as Ch};
@@ -0,0 +1,2 @@
1
+ import{Ysa as o}from"./cli-1.1.10-gmf5w0a4.mjs";var n=()=>null,e;var t=o(()=>{e=n});
2
+ export{e as Gi,t as Hi};
@@ -0,0 +1,2 @@
1
+ import{Wb as Y}from"./cli-1.1.10-99ep1sr9.mjs";import{RW as N,SW as C}from"./cli-1.1.10-t3pn4ww9.mjs";import{Bga as A,Dga as w}from"./cli-1.1.10-m0pdck7q.mjs";import{Jja as B,Mja as k}from"./cli-1.1.10-fz99ag3y.mjs";import{Mka as W,Pka as j,qka as L,uka as E}from"./cli-1.1.10-jn6w68wj.mjs";import{kla as G,rla as K}from"./cli-1.1.10-e7wxspgz.mjs";k();C();import{randomUUID as O}from"crypto";j();w();K();E();function T(f){return f!==null&&typeof f==="object"&&"type"in f&&typeof f.type==="string"}function P(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_response"&&"response"in f}function S(f){return f!==null&&typeof f==="object"&&"type"in f&&f.type==="control_request"&&"request_id"in f&&"request"in f}function v(f){if((f.type==="user"||f.type==="assistant")&&f.isVirtual)return!1;return f.type==="user"||f.type==="assistant"||f.type==="system"&&f.subtype==="local_command"}function q(f){if(f.type!=="user"||f.isMeta||f.toolUseResult||f.isCompactSummary)return;if(f.origin&&f.origin.kind!=="human")return;let X=f.message.content,Q;if(typeof X==="string")Q=X;else for(let Z of X)if(Z.type==="text"){Q=Z.text;break}if(!Q)return;return A(Q)||void 0}function p(f,X,Q,$,Z,z){try{let H=Y(L(f));if(P(H)){W("[bridge:repl] Ingress message type=control_response"),Z?.(H);return}if(S(H)){W(`[bridge:repl] Inbound control_request subtype=${H.request.subtype}`),z?.(H);return}if(!T(H))return;let J="uuid"in H&&typeof H.uuid==="string"?H.uuid:void 0;if(J&&X.has(J)){W(`[bridge:repl] Ignoring echo: type=${H.type} uuid=${J}`);return}if(J&&Q.has(J)){W(`[bridge:repl] Ignoring re-delivered inbound: type=${H.type} uuid=${J}`);return}if(W(`[bridge:repl] Ingress message type=${H.type}${J?` uuid=${J}`:""}`),H.type==="user"){if(J)Q.add(J);B("tengu_bridge_message_received",{is_repl:!0}),$?.(H)}else W(`[bridge:repl] Ignoring non-user inbound message: type=${H.type}`)}catch(H){W(`[bridge:repl] Failed to parse ingress message: ${G(H)}`)}}var y="This session is outbound-only. Enable Remote Control locally to allow inbound control.";function g(f,X){let{transport:Q,sessionId:$,outboundOnly:Z,onInterrupt:z,onSetModel:H,onSetMaxThinkingTokens:J,onSetPermissionMode:h}=X;if(!Q){W("[bridge:repl] Cannot respond to control_request: transport not configured");return}let V;if(Z&&f.request.subtype!=="initialize"){V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:y}};let x={...V,session_id:$};Q.write(x),W(`[bridge:repl] Rejected ${f.request.subtype} (outbound-only) request_id=${f.request_id}`);return}switch(f.request.subtype){case"initialize":V={type:"control_response",response:{subtype:"success",request_id:f.request_id,response:{commands:[],output_style:"normal",available_output_styles:["normal"],models:[],account:{},pid:process.pid}}};break;case"set_model":H?.(f.request.model),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_max_thinking_tokens":J?.(f.request.max_thinking_tokens),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;case"set_permission_mode":{let x=h?.(f.request.mode)??{ok:!1,error:"set_permission_mode is not supported in this context (onSetPermissionMode callback not registered)"};if(x.ok)V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};else V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:x.error}};break}case"interrupt":z?.(),V={type:"control_response",response:{subtype:"success",request_id:f.request_id}};break;default:V={type:"control_response",response:{subtype:"error",request_id:f.request_id,error:`REPL bridge does not handle control_request subtype: ${f.request.subtype}`}}}let _={...V,session_id:$};Q.write(_),W(`[bridge:repl] Sent control_response for ${f.request.subtype} request_id=${f.request_id} result=${V.response.subtype}`)}function d(f){return{type:"result",subtype:"success",duration_ms:0,duration_api_ms:0,is_error:!1,num_turns:0,result:"",stop_reason:null,total_cost_usd:0,usage:{...N},modelUsage:{},permission_denials:[],session_id:f,uuid:O()}}class R{capacity;ring;set=new Set;writeIdx=0;constructor(f){this.capacity=f,this.ring=Array(f)}add(f){if(this.set.has(f))return;let X=this.ring[this.writeIdx];if(X!==void 0)this.set.delete(X);this.ring[this.writeIdx]=f,this.set.add(f),this.writeIdx=(this.writeIdx+1)%this.capacity}has(f){return this.set.has(f)}clear(){this.set.clear(),this.ring.fill(void 0),this.writeIdx=0}}
2
+ export{v as Qb,q as Rb,p as Sb,g as Tb,d as Ub,R as Vb};
@@ -0,0 +1,2 @@
1
+ import{Gi as a,Hi as l}from"./cli-1.1.10-b41dat7h.mjs";import{Ii as m,Ji as c}from"./cli-1.1.10-2x1a8qcr.mjs";import{i4 as e,k4 as n}from"./cli-1.1.10-t8n5jx0z.mjs";import{Ysa as s}from"./cli-1.1.10-gmf5w0a4.mjs";async function f(o,r){let t=await m();if(t.type==="message")return o(t.value),null;return e(a,{startingMessage:"Starting new login following /extra-usage. Exit with Ctrl-C to use existing account.",onDone:(i)=>{r.onChangeAPIKey(),o(i?"Login successful":"Login interrupted")}})}var g=s(()=>{l();c();n()});
2
+ export{f as Ei,g as Fi};
@@ -0,0 +1,2 @@
1
+ import{Ysa as H}from"./cli-1.1.10-gmf5w0a4.mjs";function F(){if(!A)A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return A}function K(b){if(!b)return"";return F().segment(b)[Symbol.iterator]().next().value?.segment??""}function M(b){if(!b)return"";let j="";for(let{segment:q}of F().segment(b))j=q;return j}function N(){if(!B)B=new Intl.Segmenter(void 0,{granularity:"word"});return B}function O(b,j){let q=`${b}:${j}`,z=E.get(q);if(!z)z=new Intl.RelativeTimeFormat("en",{style:b,numeric:j}),E.set(q,z);return z}function P(){if(!D)D=Intl.DateTimeFormat().resolvedOptions().timeZone;return D}var A=null,B=null,E,D=null;var J=H(()=>{E=new Map});
2
+ export{F as uha,K as vha,M as wha,N as xha,O as yha,P as zha,J as Aha};
@@ -0,0 +1,39 @@
1
+ import{$Q as L,QR as N,aR as w,cS as d,cx as B,ex as U}from"./cli-1.1.10-hk2c91wp.mjs";import{bba as z,iba as F,mda as P}from"./cli-1.1.10-m0pdck7q.mjs";import{eha as H,kha as v}from"./cli-1.1.10-kdvf271d.mjs";import{Ysa as j}from"./cli-1.1.10-gmf5w0a4.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
2
+
3
+ `;h+=`**Model:** ${Z}
4
+ `,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
5
+ `,h+=`
6
+ `;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
7
+
8
+ `,h+=`| Category | Tokens | Percentage |
9
+ `,h+=`|----------|--------|------------|
10
+ `;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
11
+ `}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
12
+ `}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
13
+ `}h+=`
14
+ `}if(X.length>0){h+=`### MCP Tools
15
+
16
+ `,h+=`| Tool | Server | Tokens |
17
+ `,h+=`|------|--------|--------|
18
+ `;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
19
+ `;h+=`
20
+ `}if(Q.length>0){h+=`### Custom Agents
21
+
22
+ `,h+=`| Agent Type | Source | Tokens |
23
+ `,h+=`|------------|--------|--------|
24
+ `;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
25
+ `}h+=`
26
+ `}if(W.length>0){h+=`### Memory Files
27
+
28
+ `,h+=`| Type | Path | Tokens |
29
+ `,h+=`|------|------|--------|
30
+ `;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
31
+ `;h+=`
32
+ `}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
33
+
34
+ `,h+=`| Skill | Source | Tokens |
35
+ `,h+=`|-------|--------|--------|
36
+ `;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
37
+ `;h+=`
38
+ `}return h}var A=j(()=>{U();w();v();d();F();P()});
39
+ export{V as uh,g as vh,A as wh};
@@ -0,0 +1,3 @@
1
+ import{YU as O,ZU as F}from"./cli-1.1.10-k9q658g7.mjs";import{Hga as G,K$ as I,N_ as D,O_ as x,Pga as S,Uea as B,Vea as A,hfa as y,m$ as M,n$ as R,xba as z,zba as _}from"./cli-1.1.10-m0pdck7q.mjs";import{Via as q,Xia as v}from"./cli-1.1.10-3pch2a3h.mjs";import{Jra as K,Kra as W}from"./cli-1.1.10-j20txpzn.mjs";W();v();y();_();x();I();S();F();var P=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function b(L){return!P.some((Q)=>Q.test(L))}function N(L,Q){let J=[],X=new Set,U=new Map;for(let H=1;J.length<Q&&H<=Q;H++)for(let V of L){if(J.length>=Q)break;if(!b(V))continue;let Y=Math.max(V.lastIndexOf("/"),V.lastIndexOf("\\")),Z=Y>=0?V.slice(Y+1):V;if(!Z||X.has(Z))continue;let $=Y>=0?V.slice(0,Y):".";if((U.get($)??0)>=H)continue;J.push(Z),X.add(Z),U.set($,(U.get($)??0)+1)}return J.length>=Q?J:[]}async function T(){if(z.platform==="win32")return[];if(!await R())return[];try{let L=await O(),Q=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],J=new Map,X=(H)=>{for(let V of H.split(`
2
+ `)){let Y=V.trim();if(Y)J.set(Y,(J.get(Y)??0)+1)}};if(L){let{stdout:H}=await D("git",[...Q,`--author=${L}`],{cwd:q()});X(H)}if(J.size<10){let{stdout:H}=await D(M(),Q,{cwd:q()});X(H)}let U=Array.from(J.entries()).sort((H,V)=>V[1]-H[1]).map(([H])=>H);return N(U,5)}catch(L){return G(L),[]}}var k=604800000;function E(L){let Q=B(),J=Q.exampleFiles?.length?Q.exampleFiles:["<filepath>"],U=[...["fix lint errors","fix typecheck errors",`how does ${J[0]} work?`,`refactor ${J[Math.floor(J.length/2)]}`,"how do I log an error?",`edit ${J[J.length-1]} to...`,`write a test for ${J[0]}`,"create a util logging.py that..."]];for(let H=U.length-1;H>0;H--){let V=Math.floor(Math.random()*(H+1));[U[H],U[V]]=[U[V],U[H]]}return U.slice(0,L).map((H)=>`Try "${H}"`)}var d=K((L)=>{return E(L)}),p=K(async()=>{let L=B(),Q=Date.now(),J=L.exampleFilesGeneratedAt??0;if(Q-J>k)L.exampleFiles=[];if(!L.exampleFiles?.length)T().then((X)=>{if(X.length)A((U)=>({...U,exampleFiles:X,exampleFilesGeneratedAt:Date.now()}))})});
3
+ export{N as Ia,d as Ja,p as Ka};
@@ -0,0 +1,2 @@
1
+ import{Ch as fq,zh as e}from"./cli-1.1.10-b1hac494.mjs";import{Dh as t,Fh as Hq}from"./cli-1.1.10-v4mtt7fd.mjs";import{$n as Yq,RO as o,SO as s,Sn as S,TO as Oq,Tn as Nq,Un as g,Vn as Vq,Wn as $,Xn as Wq,_n as i,hG as r,iG as kq,rG as n,sG as Mq}from"./cli-1.1.10-hk2c91wp.mjs";import{BY as Zq,zY as u}from"./cli-1.1.10-qk19t6fd.mjs";import{BZ as Qq,F1 as Xq,_0 as M,a1 as F,s1 as c,t1 as Uq}from"./cli-1.1.10-msg7sda2.mjs";import{i4 as L,j4 as R,k4 as l}from"./cli-1.1.10-t8n5jx0z.mjs";import{l4 as Lq}from"./cli-1.1.10-c67v6p50.mjs";import{v_ as d,w_ as Jq}from"./cli-1.1.10-m0pdck7q.mjs";import{Usa as a,Ysa as Gq}from"./cli-1.1.10-gmf5w0a4.mjs";function qq(){let Z=T.c(1),q;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))q=L(F,{dimColor:!0,children:"Claude Code will be able to read files in this directory and make edits when auto-accept edits is on."}),Z[0]=q;else q=Z[0];return q}function wq(Z){let q=T.c(5),{path:X}=Z,Q;if(q[0]!==X)Q=L(F,{color:"permission",children:X}),q[0]=X,q[1]=Q;else Q=q[1];let N;if(q[2]===Symbol.for("react.memo_cache_sentinel"))N=L(qq,{}),q[2]=N;else N=q[2];let J;if(q[3]!==Q)J=R(M,{flexDirection:"column",paddingX:2,gap:1,children:[Q,N]}),q[3]=Q,q[4]=J;else J=q[4];return J}function Kq(Z){let q=T.c(14),{value:X,onChange:Q,onSubmit:N,error:J,suggestions:V,selectedSuggestion:w}=Z,k;if(q[0]===Symbol.for("react.memo_cache_sentinel"))k=L(F,{children:"Enter the path to the directory:"}),q[0]=k;else k=q[0];let Y;if(q[1]!==Q||q[2]!==N||q[3]!==X)Y=L(M,{borderDimColor:!0,borderStyle:"round",marginY:1,paddingLeft:1,children:L(r,{showCursor:!0,placeholder:`Directory path${d.ellipsis}`,value:X,onChange:Q,onSubmit:N,columns:80,cursorOffset:X.length,onChangeCursorOffset:Aq})}),q[1]=Q,q[2]=N,q[3]=X,q[4]=Y;else Y=q[4];let W;if(q[5]!==w||q[6]!==V)W=V.length>0&&L(M,{marginBottom:1,children:L(t,{suggestions:V,selectedSuggestion:w})}),q[5]=w,q[6]=V,q[7]=W;else W=q[7];let U;if(q[8]!==J)U=J&&L(F,{color:"error",children:J}),q[8]=J,q[9]=U;else U=q[9];let O;if(q[10]!==Y||q[11]!==W||q[12]!==U)O=R(M,{flexDirection:"column",children:[k,Y,W,U]}),q[10]=Y,q[11]=W,q[12]=U,q[13]=O;else O=q[13];return O}function Aq(){}function lq(Z){let q=T.c(34),{onAddDirectory:X,onCancel:Q,permissionContext:N,directoryPath:J}=Z,[V,w]=H.useState(""),[k,Y]=H.useState(null),W;if(q[0]===Symbol.for("react.memo_cache_sentinel"))W=[],q[0]=W;else W=q[0];let[U,O]=H.useState(W),[f,B]=H.useState(0),v;if(q[1]===Symbol.for("react.memo_cache_sentinel"))v=async(z)=>{if(!z){O([]),B(0);return}let G=await e(z);O(G),B(0)},q[1]=v;else v=q[1];let I=c(v,100),C,P;if(q[2]!==I||q[3]!==V)C=()=>{I(V)},P=[V,I],q[2]=I,q[3]=V,q[4]=C,q[5]=P;else C=q[4],P=q[5];H.useEffect(C,P);let m;if(q[6]===Symbol.for("react.memo_cache_sentinel"))m=(z)=>{let G=z.id+"/";w(G),Y(null)},q[6]=m;else m=q[6];let zq=m,_;if(q[7]!==X||q[8]!==N)_=async(z)=>{let G=await o(z,N);if(G.resultType==="success")X(G.absolutePath,!1);else Y(s(G))},q[7]=X,q[8]=N,q[9]=_;else _=q[9];let K=_,D;if(q[10]===Symbol.for("react.memo_cache_sentinel"))D={context:"Settings"},q[10]=D;else D=q[10];u("confirm:no",Q,D);let b;if(q[11]!==K||q[12]!==f||q[13]!==U)b=(z)=>{if(U.length>0){if(z.key==="tab"){z.preventDefault();let G=U[f];if(G)zq(G);return}if(z.key==="return"){z.preventDefault();let G=U[f];if(G)K(G.id+"/");return}if(z.key==="up"||z.ctrl&&z.key==="p"){z.preventDefault(),B((G)=>G<=0?U.length-1:G-1);return}if(z.key==="down"||z.ctrl&&z.key==="n"){z.preventDefault(),B((G)=>G>=U.length-1?0:G+1);return}}},q[11]=K,q[12]=f,q[13]=U,q[14]=b;else b=q[14];let x=b,j;if(q[15]!==J||q[16]!==X||q[17]!==Q)j=(z)=>{if(!J)return;let G=z;q:switch(G){case"yes-session":{X(J,!1);break q}case"yes-remember":{X(J,!0);break q}case"no":Q()}},q[15]=J,q[16]=X,q[17]=Q,q[18]=j;else j=q[18];let y=j,p=J?void 0:Eq,A;if(q[19]!==V||q[20]!==J||q[21]!==k||q[22]!==y||q[23]!==K||q[24]!==f||q[25]!==U)A=J?R(M,{flexDirection:"column",gap:1,children:[L(wq,{path:J}),L(n,{options:Rq,onChange:y,onCancel:()=>y("no")})]}):R(M,{flexDirection:"column",gap:1,marginX:2,children:[L(qq,{}),L(Kq,{value:V,onChange:w,onSubmit:K,error:k,suggestions:U,selectedSuggestion:f})]}),q[19]=V,q[20]=J,q[21]=k,q[22]=y,q[23]=K,q[24]=f,q[25]=U,q[26]=A;else A=q[26];let E;if(q[27]!==Q||q[28]!==p||q[29]!==A)E=L(i,{title:"Add directory to workspace",onCancel:Q,color:"permission",isCancelActive:!1,inputGuide:p,children:A}),q[27]=Q,q[28]=p,q[29]=A,q[30]=E;else E=q[30];let h;if(q[31]!==x||q[32]!==E)h=L(M,{flexDirection:"column",tabIndex:0,autoFocus:!0,onKeyDown:x,children:E}),q[31]=x,q[32]=E,q[33]=h;else h=q[33];return h}function Eq(Z){return Z.pending?R(F,{children:["Press ",Z.keyName," again to exit"]}):R($,{children:[L(S,{shortcut:"Tab",action:"complete"}),L(S,{shortcut:"Enter",action:"add"}),L(g,{action:"confirm:no",context:"Settings",fallback:"Esc",description:"cancel"})]})}var T,H,Rq;var Fq=Gq(()=>{Jq();Uq();Oq();kq();Xq();Zq();fq();Vq();Mq();Wq();Yq();Nq();Hq();l();T=a(Qq(),1),H=a(Lq(),1),Rq=[{value:"yes-session",label:"Yes, for this session"},{value:"yes-remember",label:"Yes, and remember this directory"},{value:"no",label:"No"}]});
2
+ export{lq as xh,Fq as yh};
@@ -0,0 +1,2 @@
1
+ import{Wsa as j}from"./cli-1.1.10-gmf5w0a4.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.8"});
2
+ export{Lt as l4};
@@ -0,0 +1,2 @@
1
+ import{Ysa as q}from"./cli-1.1.10-gmf5w0a4.mjs";function x(k){j=[k,...j.slice(0,v-1)]}function y(){return j}var j,v=20;var w=q(()=>{j=[]});
2
+ export{x as ae,y as be,w as ce};
@@ -0,0 +1,9 @@
1
+ import{Psa as V_,Qsa as su,Ssa as K_,Tsa as f_}from"./cli-1.1.10-jfmgqmt5.mjs";import{Wsa as H,Zsa as $_}from"./cli-1.1.10-gmf5w0a4.mjs";var W_=H((k_)=>{var z_=$_("node:stream"),v=V_(),K=f_(),q=K_(),m=(_)=>_?.body instanceof z_.Readable||typeof ReadableStream<"u"&&_?.body instanceof ReadableStream,G_=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],J_=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],X_=["TimeoutError","RequestTimeout","RequestTimeoutException"],C_=[500,502,503,504],d_=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],Z_=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"],A=(_)=>_?.$retryable!==void 0,p=(_)=>G_.includes(_.name),y=(_)=>_.$metadata?.clockSkewCorrected,s=(_)=>{let u=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);if(!(_&&_ instanceof TypeError))return!1;return u.has(_.message)},J=(_)=>_.$metadata?.httpStatusCode===429||J_.includes(_.name)||_.$retryable?.throttling==!0,X=(_,u=0)=>A(_)||y(_)||_.name==="InvalidSignatureException"&&_.message?.includes("Signature expired")||X_.includes(_.name)||d_.includes(_?.code||"")||Z_.includes(_?.code||"")||C_.includes(_.$metadata?.httpStatusCode||0)||s(_)||o(_)||_.cause!==void 0&&u<=10&&X(_.cause,u+1),a=(_)=>{if(_.$metadata?.httpStatusCode!==void 0){let u=_.$metadata.httpStatusCode;if(500<=u&&u<=599&&!X(_))return!0;return!1}return!1};function o(_){return _.code==="ERR_HTTP2_STREAM_ERROR"&&_.message.includes("NGHTTP2_REFUSED_STREAM")}var e=100,Q=20000,t=500,Z=500,r=5,__=10,g=1,c="amz-sdk-invocation-id",w="amz-sdk-request";function u_(_,u){if(!K.HttpResponse.isInstance(_))return;for(let E of Object.keys(_.headers)){let O=E.toLowerCase();if(O==="retry-after"){let T=_.headers[E],b=NaN;if(T.endsWith("GMT"))try{b=(q.parseRfc7231DateTime(T).getTime()-Date.now())/1000}catch(L){u?.trace?.("Failed to parse retry-after header"),u?.trace?.(L)}else if(T.match(/ GMT, ((\d+)|(\d+\.\d+))$/))b=Number(T.match(/ GMT, ([\d.]+)$/)?.[1]);else if(T.match(/^((\d+)|(\d+\.\d+))$/))b=Number(T);else if(Date.parse(T)>=Date.now())b=(Date.parse(T)-Date.now())/1000;if(isNaN(b))return;return new Date(Date.now()+b*1000)}else if(O==="x-amz-retry-after"){let T=_.headers[E],b=Number(T);if(isNaN(b)){u?.trace?.(`Failed to parse x-amz-retry-after=${T}`);return}return new Date(Date.now()+b)}}}function H_(_,u){return u_(_,u)}var E_=(_)=>{if(_ instanceof Error)return _;if(_ instanceof Object)return Object.assign(Error(),_);if(typeof _==="string")return Error(_);return Error(`AWS SDK error wrapper for ${_}`)};function O_(_){return(u)=>(E,O)=>async(T)=>{let b=await u.retryStrategy(),L=await u.maxAttempts();if(Q_(b)){b=b;let N=await b.acquireInitialRetryToken((O.partition_id??"")+(O.__retryLongPoll?":longpoll":"")),j=Error(),Y=0,F=0,{request:I}=T,R=K.HttpRequest.isInstance(I);if(R)I.headers[c]=q.v4();while(!0)try{if(R)I.headers[w]=`attempt=${Y+1}; max=${L}`;let{response:V,output:z}=await E(T);return b.recordSuccess(N),z.$metadata.attempts=Y+1,z.$metadata.totalRetryDelay=F,{response:V,output:z}}catch(V){let z=c_(V,u.logger);if(j=E_(V),R&&_(I))throw(O.logger instanceof v.NoOpLogger?console:O.logger)?.warn("An error was encountered in a non-retryable streaming request."),j;try{N=await b.refreshRetryTokenForRetry(N,z)}catch(x){if(typeof x.$backoff==="number")await l(x.$backoff);if(!j.$metadata)j.$metadata={};throw j.$metadata.attempts=Y+1,j.$metadata.totalRetryDelay=F,j}Y=N.getRetryCount();let k=N.getRetryDelay();F+=k,await l(k)}}else{if(b=b,b?.mode)O.userAgent=[...O.userAgent||[],["cfg/retry-mode",b.mode]];return b.retry(E,T)}}}var l=(_)=>new Promise((u)=>setTimeout(u,_)),Q_=(_)=>typeof _.acquireInitialRetryToken<"u"&&typeof _.refreshRetryTokenForRetry<"u"&&typeof _.recordSuccess<"u",c_=(_,u)=>{let E={error:_,errorType:w_(_)},O=u_(_.$response,u);if(O)E.retryAfterHint=O;return E},w_=(_)=>{if(J(_))return"THROTTLING";if(X(_))return"TRANSIENT";if(a(_))return"SERVER_ERROR";return"CLIENT_ERROR"},b_={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};function B_(_){let u=O_(_);return(E)=>({applyToStack:(O)=>{O.add(u(E),b_)}})}class C{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(_){this.beta=_?.beta??0.7,this.minCapacity=_?.minCapacity??1,this.minFillRate=_?.minFillRate??0.5,this.scaleConstant=_?.scaleConstant??0.4,this.smooth=_?.smooth??0.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(_){let u;this.updateMeasuredRate();let E=_;if(E?.errorType==="THROTTLING"||J(E?.error??_)){let b=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=b,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),u=this.cubicThrottle(b),this.enableTokenBucket()}else this.calculateTimeWindow(),u=this.cubicSuccess(this.getCurrentTimeInSeconds());let T=Math.min(u,2*this.measuredTxRate);this.updateTokenBucketRate(T)}getCurrentTimeInSeconds(){return Date.now()/1000}async acquireTokenBucket(_){if(!this.enabled)return;this.refillTokenBucket();while(_>this.availableTokens){let u=(_-this.availableTokens)/this.fillRate*1000;await new Promise((E)=>C.setTimeoutFn(E,u)),this.refillTokenBucket()}this.availableTokens=this.availableTokens-_}refillTokenBucket(){let _=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=_;return}let u=(_-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+u),this.lastTimestamp=_}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(_){return this.getPrecise(_*this.beta)}cubicSuccess(_){return this.getPrecise(this.scaleConstant*Math.pow(_-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(_){this.refillTokenBucket(),this.fillRate=Math.max(_,this.minFillRate),this.maxCapacity=Math.max(_,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let _=this.getCurrentTimeInSeconds(),u=Math.floor(_*2)/2;if(this.requestCount++,u>this.lastTxRateBucket){let E=this.requestCount/(u-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(E*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=u}}getPrecise(_){return parseFloat(_.toFixed(8))}}class M{static v2026=typeof process<"u"&&process.env?.SMITHY_NEW_RETRIES_2026==="true";static delay(){return M.v2026?50:100}static throttlingDelay(){return M.v2026?1000:500}static cost(){return M.v2026?14:5}static throttlingCost(){return M.v2026?5:10}static modifiedCostType(){return M.v2026?"THROTTLING":"TRANSIENT"}}class T_{x=M.delay();computeNextBackoffDelay(_){let u=Math.random(),E=2,O=u*Math.min(this.x*2**_,Q);return Math.floor(O)}setDelayBase(_){this.x=_}}class h{delay;count;cost;longPoll;constructor(_,u,E,O){this.delay=_,this.count=u,this.cost=E,this.longPoll=O}getRetryCount(){return this.count}getRetryDelay(){return Math.min(Q,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}}k_.RETRY_MODES=void 0;(function(_){_.STANDARD="standard",_.ADAPTIVE="adaptive"})(k_.RETRY_MODES||(k_.RETRY_MODES={}));var $=3,Y_=k_.RETRY_MODES.STANDARD,d={incompatible:1,attempts:2,capacity:3},G=class{mode=k_.RETRY_MODES.STANDARD;capacity=Z;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(u){if(typeof u==="number")this.maxAttemptsProvider=async()=>u;else if(typeof u==="function")this.maxAttemptsProvider=u;else if(u&&typeof u==="object")this.maxAttemptsProvider=async()=>u.maxAttempts,this.baseDelay=u.baseDelay,this.retryBackoffStrategy=u.backoff;this.maxAttemptsProvider??=async()=>$,this.baseDelay??=M.delay(),this.retryBackoffStrategy??=new T_}async acquireInitialRetryToken(u){return new h(M.delay(),0,void 0,M.v2026&&u.includes(":longpoll"))}async refreshRetryTokenForRetry(u,E){let O=await this.getMaxAttempts(),T=this.retryCode(u,E,O),b=T===0,L=u.isLongPoll?.();if(b||L){let N=E.errorType;this.retryBackoffStrategy.setDelayBase(N==="THROTTLING"?M.throttlingDelay():this.baseDelay);let j=this.retryBackoffStrategy.computeNextBackoffDelay(u.getRetryCount()),Y=j;if(E.retryAfterHint instanceof Date)Y=Math.max(j,Math.min(E.retryAfterHint.getTime()-Date.now(),j+5000));if(!b)throw Object.assign(Error("No retry token available"),{$backoff:M.v2026&&T===d.capacity&&L?Y:0});else{let F=this.getCapacityCost(N);return this.capacity-=F,new h(Y,u.getRetryCount()+1,F,u.isLongPoll?.()??!1)}}throw Error("No retry token available")}recordSuccess(u){this.capacity=Math.min(Z,this.capacity+(u.getRetryCost()??g))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(u){return console.warn(`Max attempts provider could not resolve. Using default of ${$}`),$}}retryCode(u,E,O){let T=u.getRetryCount()+1,b=this.isRetryableError(E.errorType)?0:d.incompatible,L=T<O?0:d.attempts,N=this.capacity>=this.getCapacityCost(E.errorType)?0:d.capacity;return b||L||N}getCapacityCost(u){return u===M.modifiedCostType()?M.throttlingCost():M.cost()}isRetryableError(u){return u==="THROTTLING"||u==="TRANSIENT"}},j_=class{mode=k_.RETRY_MODES.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(u,E){let{rateLimiter:O}=E??{};this.rateLimiter=O??new C,this.standardRetryStrategy=E?new G({maxAttempts:typeof u==="number"?u:3,...E}):new G(u)}async acquireInitialRetryToken(u){let E=await this.standardRetryStrategy.acquireInitialRetryToken(u);return await this.rateLimiter.getSendToken(),E}async refreshRetryTokenForRetry(u,E){this.rateLimiter.updateClientSendingRate(E);let O=await this.standardRetryStrategy.refreshRetryTokenForRetry(u,E);return await this.rateLimiter.getSendToken(),O}recordSuccess(u){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(u)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};class P_ extends G{computeNextBackoffDelay;constructor(_,u=M.delay()){super(typeof _==="function"?_:async()=>_);if(typeof u==="number")this.computeNextBackoffDelay=()=>u;else this.computeNextBackoffDelay=u}async refreshRetryTokenForRetry(_,u){let E=await super.refreshRetryTokenForRetry(_,u);return E.getRetryDelay=()=>this.computeNextBackoffDelay(E.getRetryCount()),E}}var v_=(_,u)=>{let E=_,O=g,T=r,b=__,L=_,N=(I)=>I.name==="TimeoutError"?b:T,j=(I)=>N(I)<=L;return Object.freeze({hasRetryTokens:j,retrieveRetryTokens:(I)=>{if(!j(I))throw Error("No retry token available");let R=N(I);return L-=R,R},releaseRetryTokens:(I)=>{L+=I??O,L=Math.min(L,E)}})},L_=(_,u)=>Math.floor(Math.min(Q,Math.random()*2**u*_)),N_=(_)=>{if(!_)return!1;return A(_)||p(_)||J(_)||X(_)};class n{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=k_.RETRY_MODES.STANDARD;constructor(_,u){this.maxAttemptsProvider=_,this.retryDecider=u?.retryDecider??N_,this.delayDecider=u?.delayDecider??L_,this.retryQuota=u?.retryQuota??v_(Z)}shouldRetry(_,u,E){return u<E&&this.retryDecider(_)&&this.retryQuota.hasRetryTokens(_)}async getMaxAttempts(){let _;try{_=await this.maxAttemptsProvider()}catch(u){_=$}return _}async retry(_,u,E){let O,T=0,b=0,L=await this.getMaxAttempts(),{request:N}=u;if(K.HttpRequest.isInstance(N))N.headers[c]=q.v4();while(!0)try{if(K.HttpRequest.isInstance(N))N.headers[w]=`attempt=${T+1}; max=${L}`;if(E?.beforeRequest)await E.beforeRequest();let{response:j,output:Y}=await _(u);if(E?.afterRequest)E.afterRequest(j);return this.retryQuota.releaseRetryTokens(O),Y.$metadata.attempts=T+1,Y.$metadata.totalRetryDelay=b,{response:j,output:Y}}catch(j){let Y=E_(j);if(T++,this.shouldRetry(Y,T,L)){O=this.retryQuota.retrieveRetryTokens(Y);let F=this.delayDecider(J(Y)?t:e,T),I=h_(Y.$response),R=Math.max(I||0,F);b+=R,await new Promise((V)=>setTimeout(V,R));continue}if(!Y.$metadata)Y.$metadata={};throw Y.$metadata.attempts=T,Y.$metadata.totalRetryDelay=b,Y}}}var h_=(_)=>{if(!K.HttpResponse.isInstance(_))return;let u=Object.keys(_.headers).find((b)=>b.toLowerCase()==="retry-after");if(!u)return;let E=_.headers[u],O=Number(E);if(!Number.isNaN(O))return O*1000;return new Date(E).getTime()-Date.now()};class M_ extends n{rateLimiter;constructor(_,u){let{rateLimiter:E,...O}=u??{};super(_,O);this.rateLimiter=E??new C,this.mode=k_.RETRY_MODES.ADAPTIVE}async retry(_,u){return super.retry(_,u,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(E)=>{this.rateLimiter.updateClientSendingRate(E)}})}}var S="AWS_MAX_ATTEMPTS",i="max_attempts",S_={environmentVariableSelector:(_)=>{let u=_[S];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Environment variable ${S} mast be a number, got "${u}"`);return E},configFileSelector:(_)=>{let u=_[i];if(!u)return;let E=parseInt(u);if(Number.isNaN(E))throw Error(`Shared config file entry ${i} mast be a number, got "${u}"`);return E},default:$},i_=(_)=>{let{retryStrategy:u,retryMode:E}=_,O=v.normalizeProvider(_.maxAttempts??$),T=u?Promise.resolve(u):void 0,b=async()=>await v.normalizeProvider(E)()===k_.RETRY_MODES.ADAPTIVE?new j_(O):new G(O);return Object.assign(_,{maxAttempts:O,retryStrategy:()=>T??=b()})},U_="AWS_RETRY_MODE",I_="retry_mode",q_={environmentVariableSelector:(_)=>_[U_],configFileSelector:(_)=>_[I_],default:Y_},F_=()=>(_)=>async(u)=>{let{request:E}=u;if(K.HttpRequest.isInstance(E))delete E.headers[c],delete E.headers[w];return _(u)},R_={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},A_=(_)=>({applyToStack:(u)=>{u.addRelativeTo(F_(),R_)}}),g_=O_(m),n_=B_(m);k_.AdaptiveRetryStrategy=j_;k_.CONFIG_MAX_ATTEMPTS=i;k_.CONFIG_RETRY_MODE=I_;k_.ConfiguredRetryStrategy=P_;k_.DEFAULT_MAX_ATTEMPTS=$;k_.DEFAULT_RETRY_DELAY_BASE=e;k_.DEFAULT_RETRY_MODE=Y_;k_.DefaultRateLimiter=C;k_.DeprecatedAdaptiveRetryStrategy=M_;k_.DeprecatedStandardRetryStrategy=n;k_.ENV_MAX_ATTEMPTS=S;k_.ENV_RETRY_MODE=U_;k_.INITIAL_RETRY_TOKENS=Z;k_.INVOCATION_ID_HEADER=c;k_.MAXIMUM_RETRY_DELAY=Q;k_.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=S_;k_.NODE_RETRY_MODE_CONFIG_OPTIONS=q_;k_.NO_RETRY_INCREMENT=g;k_.REQUEST_HEADER=w;k_.RETRY_COST=r;k_.Retry=M;k_.StandardRetryStrategy=G;k_.THROTTLING_RETRY_DELAY_BASE=t;k_.TIMEOUT_RETRY_COST=__;k_.defaultDelayDecider=L_;k_.defaultRetryDecider=N_;k_.getOmitRetryHeadersPlugin=A_;k_.getRetryAfterHint=H_;k_.getRetryPlugin=n_;k_.isBrowserNetworkError=s;k_.isClockSkewCorrectedError=y;k_.isClockSkewError=p;k_.isNodeJsHttp2TransientError=o;k_.isRetryableByTrait=A;k_.isServerError=a;k_.isThrottlingError=J;k_.isTransientError=X;k_.omitRetryHeadersMiddleware=F_;k_.omitRetryHeadersMiddlewareOptions=R_;k_.resolveRetryConfig=i_;k_.retryMiddleware=g_;k_.retryMiddlewareOptions=b_});var D_=H((P)=>{Object.defineProperty(P,"__esModule",{value:!0});P.TIMEOUT_RETRY_COST=P.THROTTLING_RETRY_DELAY_BASE=P.Retry=P.RETRY_MODES=P.RETRY_COST=P.NO_RETRY_INCREMENT=P.REQUEST_HEADER=P.MAXIMUM_RETRY_DELAY=P.INVOCATION_ID_HEADER=P.INITIAL_RETRY_TOKENS=P.DEFAULT_RETRY_MODE=P.DEFAULT_RETRY_DELAY_BASE=P.DEFAULT_MAX_ATTEMPTS=P.StandardRetryStrategy=P.DefaultRateLimiter=P.ConfiguredRetryStrategy=P.AdaptiveRetryStrategy=void 0;var U=W_();Object.defineProperty(P,"AdaptiveRetryStrategy",{enumerable:!0,get:function(){return U.AdaptiveRetryStrategy}});Object.defineProperty(P,"ConfiguredRetryStrategy",{enumerable:!0,get:function(){return U.ConfiguredRetryStrategy}});Object.defineProperty(P,"DefaultRateLimiter",{enumerable:!0,get:function(){return U.DefaultRateLimiter}});Object.defineProperty(P,"StandardRetryStrategy",{enumerable:!0,get:function(){return U.StandardRetryStrategy}});Object.defineProperty(P,"DEFAULT_MAX_ATTEMPTS",{enumerable:!0,get:function(){return U.DEFAULT_MAX_ATTEMPTS}});Object.defineProperty(P,"DEFAULT_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_DELAY_BASE}});Object.defineProperty(P,"DEFAULT_RETRY_MODE",{enumerable:!0,get:function(){return U.DEFAULT_RETRY_MODE}});Object.defineProperty(P,"INITIAL_RETRY_TOKENS",{enumerable:!0,get:function(){return U.INITIAL_RETRY_TOKENS}});Object.defineProperty(P,"INVOCATION_ID_HEADER",{enumerable:!0,get:function(){return U.INVOCATION_ID_HEADER}});Object.defineProperty(P,"MAXIMUM_RETRY_DELAY",{enumerable:!0,get:function(){return U.MAXIMUM_RETRY_DELAY}});Object.defineProperty(P,"REQUEST_HEADER",{enumerable:!0,get:function(){return U.REQUEST_HEADER}});Object.defineProperty(P,"NO_RETRY_INCREMENT",{enumerable:!0,get:function(){return U.NO_RETRY_INCREMENT}});Object.defineProperty(P,"RETRY_COST",{enumerable:!0,get:function(){return U.RETRY_COST}});Object.defineProperty(P,"RETRY_MODES",{enumerable:!0,get:function(){return U.RETRY_MODES}});Object.defineProperty(P,"Retry",{enumerable:!0,get:function(){return U.Retry}});Object.defineProperty(P,"THROTTLING_RETRY_DELAY_BASE",{enumerable:!0,get:function(){return U.THROTTLING_RETRY_DELAY_BASE}});Object.defineProperty(P,"TIMEOUT_RETRY_COST",{enumerable:!0,get:function(){return U.TIMEOUT_RETRY_COST}})});var yu=H((gu)=>{var wu=D_(),B={warningEmitted:!1},Bu=(_)=>{if(_&&!B.warningEmitted){if(process.env.AWS_SDK_JS_NODE_VERSION_SUPPORT_WARNING_DISABLED==="true"){B.warningEmitted=!0;return}let u=parseInt(_.substring(1,_.indexOf("."))),E=22;if(u<E)B.warningEmitted=!0,process.emitWarning(`NodeVersionSupportWarning: The AWS SDK for JavaScript (v3)
2
+ versions published after the first week of January 2027
3
+ will require node >=${E}. You are running node ${_}.
4
+
5
+ To continue receiving updates to AWS services, bug fixes,
6
+ and security updates please upgrade to node >=${E}.
7
+
8
+ More information can be found at: https://a.co/c895JFp`)}},vu=()=>(_,u)=>async(E)=>{return u.__retryLongPoll=!0,_(E)},hu={name:"longPollMiddleware",tags:["RETRY"],step:"initialize",override:!0},Su=(_)=>({applyToStack:(u)=>{u.add(vu(),hu)}});function iu(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}wu.Retry.v2026||=typeof process==="object"&&process.env?.AWS_NEW_RETRIES_2026==="true";function qu(_,u,E){if(!_.__aws_sdk_context)_.__aws_sdk_context={features:{}};else if(!_.__aws_sdk_context.features)_.__aws_sdk_context.features={};_.__aws_sdk_context.features[u]=E}function Au(_,u,E){if(!_.$source)_.$source={};return _.$source[u]=E,_}gu.emitWarningIfUnsupportedVersion=Bu;gu.getLongPollPlugin=Su;gu.setCredentialFeature=iu;gu.setFeature=qu;gu.setTokenFeature=Au;gu.state=B});var ou=H((D)=>{Object.defineProperty(D,"__esModule",{value:!0});D.memoize=D.fromStatic=D.chain=D.TokenProviderError=D.CredentialsProviderError=D.ProviderError=void 0;var f=su();Object.defineProperty(D,"ProviderError",{enumerable:!0,get:function(){return f.ProviderError}});Object.defineProperty(D,"CredentialsProviderError",{enumerable:!0,get:function(){return f.CredentialsProviderError}});Object.defineProperty(D,"TokenProviderError",{enumerable:!0,get:function(){return f.TokenProviderError}});Object.defineProperty(D,"chain",{enumerable:!0,get:function(){return f.chain}});Object.defineProperty(D,"fromStatic",{enumerable:!0,get:function(){return f.fromValue}});Object.defineProperty(D,"memoize",{enumerable:!0,get:function(){return f.memoize}})});
9
+ export{W_ as Isa,D_ as Jsa,yu as Ksa,ou as Lsa};
@@ -0,0 +1,2 @@
1
+ function n(s,a=process.argv){for(let e=0;e<a.length;e++){let r=a[e];if(r?.startsWith(`${s}=`))return r.slice(s.length+1);if(r===s&&e+1<a.length)return a[e+1]}return}
2
+ export{n as cb};
@@ -0,0 +1,2 @@
1
+ import{K$ as _,u$ as Q}from"./cli-1.1.10-m0pdck7q.mjs";import{Via as I,Xia as X}from"./cli-1.1.10-3pch2a3h.mjs";import{Mka as B,Pka as V}from"./cli-1.1.10-jn6w68wj.mjs";import{Ysa as T}from"./cli-1.1.10-gmf5w0a4.mjs";function j(){A.clear()}async function P(){let f=await Y();if(!f)return null;if(f.host!=="github.com")return null;return`${f.owner}/${f.name}`}async function Y(){let f=I();if(A.has(f))return A.get(f)??null;try{let q=await Q();if(B(`Git remote URL: ${q}`),!q)return B("No git remote URL found"),A.set(f,null),null;let x=O(q);return B(`Parsed repository: ${x?`${x.host}/${x.owner}/${x.name}`:null} from URL: ${q}`),A.set(f,x),x}catch(q){return B(`Error detecting repository: ${q}`),A.set(f,null),null}}function S(){let f=A.get(I());if(!f||f.host!=="github.com")return null;return`${f.owner}/${f.name}`}function O(f){let q=f.trim(),x=q.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(x?.[1]&&x[2]&&x[3]){if(!N(x[1]))return null;return{host:x[1],owner:x[2],name:x[3]}}let z=q.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]&&z[4]){let E=z[1],J=z[2],K=J.split(":")[0]??"";if(!N(K))return null;return{host:E==="https"||E==="http"?J:K,owner:z[3],name:z[4]}}return null}function D(f){let q=f.trim(),x=O(q);if(x){if(x.host!=="github.com")return null;return`${x.owner}/${x.name}`}if(!q.includes("://")&&!q.includes("@")&&q.includes("/")){let z=q.split("/");if(z.length===2&&z[0]&&z[1]){let E=z[1].replace(/\.git$/,"");return`${z[0]}/${E}`}}return B(`Could not parse repository from: ${q}`),null}function N(f){if(!f.includes("."))return!1;let q=f.split(".").pop();if(!q)return!1;return/^[a-zA-Z]+$/.test(q)}var A;var Z=T(()=>{X();V();_();A=new Map});
2
+ export{j as g_,P as h_,Y as i_,S as j_,O as k_,D as l_,Z as m_};
@@ -0,0 +1,4 @@
1
+ import{Tsa as Z}from"./cli-1.1.10-jfmgqmt5.mjs";import{Wsa as Y,Zsa as O}from"./cli-1.1.10-gmf5w0a4.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
2
+ See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
3
+ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
4
+ export{ye as Msa};
@@ -0,0 +1,2 @@
1
+ import{V8 as D,v8 as q}from"./cli-1.1.10-yzpymdrc.mjs";import{Hja as m,Ija as z}from"./cli-1.1.10-2wkvf65f.mjs";import{Ysa as x}from"./cli-1.1.10-gmf5w0a4.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
2
+ export{E as oi,F as pi,K as qi,M as ri,G as si};
@@ -0,0 +1,3 @@
1
+ import{A2 as N,v2 as d,w2 as X}from"./cli-1.1.10-pkyv2v8k.mjs";import{Hga as B,Lea as U,Oea as G,Pga as p,hea as O,hfa as y,iea as f}from"./cli-1.1.10-m0pdck7q.mjs";import{jla as x,rla as b}from"./cli-1.1.10-e7wxspgz.mjs";import{Hla as E,ula as H}from"./cli-1.1.10-49bvng33.mjs";import{apa as w,kra as P}from"./cli-1.1.10-f00rps59.mjs";import{esa as k,wsa as S}from"./cli-1.1.10-6m1jpn0s.mjs";import{Usa as M,Ysa as R}from"./cli-1.1.10-gmf5w0a4.mjs";import{mkdir as _,readFile as V,writeFile as A}from"fs/promises";import{dirname as L,join as m}from"path";function W(){return m(H(),"cache","changelog.md")}async function Jq(){let J=G();if(!J.cachedChangelog)return;let q=W();try{await _(L(q),{recursive:!0}),await A(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}U(({cachedChangelog:Y,...z})=>z)}async function C(){if(w())return;if(O())return;let J=await k.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=W();await _(L(Y),{recursive:!0}),await A(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();U((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=W();try{let q=await V(J,"utf-8");return $=q,q}catch{return $="",""}}function j(){return $??""}function F(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
2
+ `);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let D=K.slice(1).filter((I)=>I.trim().startsWith("- ")).map((I)=>I.trim().substring(2).trim()).filter(Boolean);if(D.length>0)q[Z]=D}return q}catch(q){return B(x(q)),{}}}function l(J,q,Y=j()){try{let z=F(Y),K=T.coerce(J),Q=q?T.coerce(q):null;if(!Q||K&&X(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||X(Z,Q.version)).sort(([Z],[D])=>X(Z,D)?-1:1).flatMap(([Z,D])=>D).filter(Boolean).slice(0,u)}catch(z){return B(x(z)),[]}return[]}function Kq(J=j()){try{let q=F(J);return Object.keys(q).sort((z,K)=>X(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return B(x(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>B(x(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var T,u=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var g=R(()=>{S();P();y();E();b();p();f();N();T=M(d(),1)});
3
+ export{zq as df,Jq as ef,C as ff,h as gf,Kq as hf,Qq as if,g as jf};
@@ -0,0 +1,2 @@
1
+ import{AF as h,Wx as J,Xx as Z,hH as z,iH as M,zF as L}from"./cli-1.1.10-hk2c91wp.mjs";import{BZ as X}from"./cli-1.1.10-msg7sda2.mjs";import{l4 as W}from"./cli-1.1.10-c67v6p50.mjs";import{Hqa as H,kra as V}from"./cli-1.1.10-f00rps59.mjs";import{Usa as D,Ysa as U}from"./cli-1.1.10-gmf5w0a4.mjs";function v(){let b=P.c(6),{addNotification:k,removeNotification:l}=L(),[j,Q]=x.useState(u),p;if(b[0]===Symbol.for("react.memo_cache_sentinel"))p=()=>{let{errors:y}=z();Q(y)},b[0]=p;else p=b[0];J(p);let q,w;if(b[1]!==k||b[2]!==j||b[3]!==l)q=()=>{if(H())return;if(j.length>0){let y=`Found ${j.length} settings ${j.length===1?"issue":"issues"} · /doctor for details`;k({key:B,text:y,color:"warning",priority:"high",timeoutMs:60000})}else l(B)},w=[j,k,l],b[1]=k,b[2]=j,b[3]=l,b[4]=q,b[5]=w;else q=b[4],w=b[5];return x.useEffect(q,w),j}function u(){let{errors:b}=z();return b}var P,x,B="settings-errors";var A=U(()=>{h();V();M();Z();P=D(X(),1),x=D(W(),1)});
2
+ export{v as pg,A as qg};
@@ -0,0 +1,8 @@
1
+ import{cb as v}from"./cli-1.1.10-cgan8hpz.mjs";import{ef as QK,jf as gK}from"./cli-1.1.10-cyv1wwen.mjs";import{$o as hK,DM as KK,EQ as yK,FM as uK,Rm as oz,Tm as SK,Uo as M,Vo as fK,WK as kz,Xo as sz,bB as tz,cL as FK,dB as ez,eB as mK,fv as jz,gU as b,iJ as pK,iU as aK,jJ as cK,mv as wK,nM as zK,oM as dK,vQ as bz}from"./cli-1.1.10-hk2c91wp.mjs";import{jZ as Kz,oZ as GK,pZ as Qz,qZ as OK}from"./cli-1.1.10-msg7sda2.mjs";import{B7 as vK,H8 as Fz,J8 as wz,K6 as Dz,L8 as R,O6 as Iz,S6 as Az,T6 as rz,V8 as yz,_6 as Gz,c5 as U,d7 as G,f7 as Nz,i5 as T,k7 as k,x7 as iz}from"./cli-1.1.10-yzpymdrc.mjs";import{p9 as A,q9 as UK}from"./cli-1.1.10-dppcc1yx.mjs";import{A_ as xK,D$ as gz,Fea as lz,H_ as x,Hga as V,J_ as jK,Jda as H,K$ as bK,Lda as $,Lea as q,Nda as az,Oda as O,Oea as W,Pga as I,Rda as Jz,Uea as Wz,Vaa as t,Vea as Bz,Wea as nz,Xda as B,_aa as DK,e$ as $z,eba as e,g$ as MK,hfa as N,iba as IK,n$ as uz,pba as zz,sba as AK,z_ as Zz}from"./cli-1.1.10-m0pdck7q.mjs";import{pha as j,tha as CK}from"./cli-1.1.10-kdvf271d.mjs";import{Via as dz,Xia as EK}from"./cli-1.1.10-3pch2a3h.mjs";import{Jja as Z,Mja as L}from"./cli-1.1.10-fz99ag3y.mjs";import{Cka as LK,ska as r,uka as _K,vka as i,yka as o}from"./cli-1.1.10-jn6w68wj.mjs";import{Uka as s,Vka as NK}from"./cli-1.1.10-a8e8n1bk.mjs";import{kla as P,mla as n,rla as BK}from"./cli-1.1.10-e7wxspgz.mjs";import{Fla as cz,Hla as kK,wla as E,xla as S,zla as pz}from"./cli-1.1.10-49bvng33.mjs";import{Aoa as xz,Coa as fz,Mpa as l,apa as hz,cna as w,gna as WK,kra as y,mpa as mz,tpa as a,yoa as Rz,zoa as Sz}from"./cli-1.1.10-f00rps59.mjs";import{Vsa as PK}from"./cli-1.1.10-gmf5w0a4.mjs";UK();GK();y();AK();BK();LK();DK();I();NK();IK();WK();_K();OK();import{readFileSync as TK}from"node:fs";var RK=/--inspect(-brk)?/,g=/--inspect(-brk)?|--debug(-brk)?/;function qQ(){let z=zz()?RK:g,Q=process.execArgv.some((Y)=>z.test(Y)),X=!!process.env.NODE_OPTIONS&&g.test(process.env.NODE_OPTIONS);try{return!!global.require("inspector").url()||Q||X}catch{return Q||X}}function HQ(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(Kz)}function JQ(K){if(typeof K!=="object"||K===null)return{};let z=K,Q=z.teammateMode;return{agentId:typeof z.agentId==="string"?z.agentId:void 0,agentName:typeof z.agentName==="string"?z.agentName:void 0,teamName:typeof z.teamName==="string"?z.teamName:void 0,agentColor:typeof z.agentColor==="string"?z.agentColor:void 0,planModeRequired:typeof z.planModeRequired==="boolean"?z.planModeRequired:void 0,parentSessionId:typeof z.parentSessionId==="string"?z.parentSessionId:void 0,teammateMode:Q==="auto"||Q==="tmux"||Q==="in-process"?Q:void 0,agentType:typeof z.agentType==="string"?z.agentType:void 0}}function Xz(K){try{let z=K.trim(),Q=z.startsWith("{")&&z.endsWith("}"),X;if(Q){if(!t(z))process.stderr.write(A.red(`Error: Invalid JSON provided to --settings
2
+ `)),process.exit(1);X=Qz("claude-settings",".json",{contentHash:z}),r(X,z,"utf8")}else{let{resolvedPath:Y}=i(o(),K);try{TK(Y,"utf8")}catch(J){if(n(J))process.stderr.write(A.red(`Error: Settings file not found: ${Y}
3
+ `)),process.exit(1);throw J}X=Y}a(X),w()}catch(z){if(z instanceof Error)V(z);process.stderr.write(A.red(`Error processing settings: ${P(z)}
4
+ `)),process.exit(1)}}function Yz(K){try{let z=e(K);l(z),w()}catch(z){if(z instanceof Error)V(z);process.stderr.write(A.red(`Error processing --setting-sources: ${P(z)}
5
+ `)),process.exit(1)}}async function VQ(K,z){if(!process.stdin.isTTY&&!process.argv.includes("mcp")){if(z==="stream-json")return process.stdin;process.stdin.setEncoding("utf8");let Q="",X=(J)=>{Q+=J};process.stdin.on("data",X);let Y=await s(process.stdin,3000);if(process.stdin.off("data",X),Y)process.stderr.write(`Warning: no stdin data received in 3s, proceeding without it. If piping from a slow command, redirect stdin explicitly: < /dev/null to skip, or wait longer.
6
+ `);return[K,Q].filter(Boolean).join(`
7
+ `)}return K}CK();aK();L();SK();N();vK();jK();kK();bK();xK();MK();async function qz(){if(!await $z("gh"))return"not_installed";let{exitCode:z}=await Zz("gh",["auth","token"],{stdout:"ignore",stderr:"ignore",timeout:5000,reject:!1});return z===0?"authenticated":"not_authenticated"}I();k();dK();hK();uK();L();N();I();B();function Hz(){let K=W();if(K.autoUpdates!==!1||K.autoUpdatesProtectedForNative===!0)return;try{let z=H("userSettings")||{};$("userSettings",{...z,env:{...z.env,DISABLE_AUTOUPDATER:"1"}}),Z("tengu_migrate_autoupdates_to_settings",{was_user_preference:!0,already_had_env_var:!!z.env?.DISABLE_AUTOUPDATER}),process.env.DISABLE_AUTOUPDATER="1",q((Q)=>{let{autoUpdates:X,autoUpdatesProtectedForNative:Y,...J}=Q;return J})}catch(z){V(Error(`Failed to migrate auto-updates: ${z}`)),Z("tengu_migrate_autoupdates_error",{has_error:!0})}}L();N();I();B();function Vz(){if(!W().bypassPermissionsModeAccepted)return;try{if(!Jz())$("userSettings",{skipDangerousModePermissionPrompt:!0});Z("tengu_migrate_bypass_permissions_accepted",{}),q((z)=>{if(!("bypassPermissionsModeAccepted"in z))return z;let{bypassPermissionsModeAccepted:Q,...X}=z;return X})}catch(z){V(Error(`Failed to migrate bypass permissions accepted: ${z}`))}}L();N();I();B();function _z(){let K=Wz(),z=K.enableAllProjectMcpServers!==void 0,Q=K.enabledMcpjsonServers&&K.enabledMcpjsonServers.length>0,X=K.disabledMcpjsonServers&&K.disabledMcpjsonServers.length>0;if(!z&&!Q&&!X)return;try{let Y=H("localSettings")||{},J={},_=[];if(z&&Y.enableAllProjectMcpServers===void 0)J.enableAllProjectMcpServers=K.enableAllProjectMcpServers,_.push("enableAllProjectMcpServers");else if(z)_.push("enableAllProjectMcpServers");if(Q&&K.enabledMcpjsonServers){let D=Y.enabledMcpjsonServers||[];J.enabledMcpjsonServers=[...new Set([...D,...K.enabledMcpjsonServers])],_.push("enabledMcpjsonServers")}if(X&&K.disabledMcpjsonServers){let D=Y.disabledMcpjsonServers||[];J.disabledMcpjsonServers=[...new Set([...D,...K.disabledMcpjsonServers])],_.push("disabledMcpjsonServers")}if(Object.keys(J).length>0)$("localSettings",J);if(_.includes("enableAllProjectMcpServers")||_.includes("enabledMcpjsonServers")||_.includes("disabledMcpjsonServers"))Bz((D)=>{let{enableAllProjectMcpServers:f,enabledMcpjsonServers:h,disabledMcpjsonServers:m,...F}=D;return F});Z("tengu_migrate_mcp_approval_fields_success",{migratedCount:_.length})}catch(Y){V(Y),Z("tengu_migrate_mcp_approval_fields_error",{})}}B();function Lz(){let z=H("userSettings")?.model;if(typeof z==="string"){if(z.startsWith("fennec-latest[1m]"))$("userSettings",{model:"opus[1m]"});else if(z.startsWith("fennec-latest"))$("userSettings",{model:"opus"});else if(z.startsWith("fennec-fast-latest")||z.startsWith("opus-4-5-fast"))$("userSettings",{model:"opus[1m]",fastMode:!0})}}L();N();k();T();B();function Uz(){if(U()!=="firstParty")return;if(!Nz())return;let K=H("userSettings")?.model;if(K!=="claude-opus-4-20250514"&&K!=="claude-opus-4-1-20250805"&&K!=="claude-opus-4-0"&&K!=="claude-opus-4-1")return;$("userSettings",{model:"opus"}),q((z)=>({...z,legacyOpusMigrationTimestamp:Date.now()})),Z("tengu_legacy_opus_migration",{from_model:K})}L();k();B();function Oz(){if(!Gz())return;if(H("userSettings")?.model!=="opus")return;if(Dz(Iz()))return;let z="opus[1m]",Q=G(z)===G(Az())?void 0:z;$("userSettings",{model:Q}),Z("tengu_opus_to_opus1m_migration",{})}N();function Tz(){q((K)=>{let z=K.replBridgeEnabled;if(z===void 0)return K;if(K.remoteControlAtStartup!==void 0)return K;let Q={...K,remoteControlAtStartup:Boolean(z)};return delete Q.replBridgeEnabled,Q})}y();N();T();B();function Mz(){if(U()!=="firstParty")return;if(W().sonnet1m45MigrationComplete)return;if(H("userSettings")?.model==="sonnet[1m]")$("userSettings",{model:"sonnet-4-5-20250929[1m]"});if(Rz()==="sonnet[1m]")xz("sonnet-4-5-20250929[1m]");q((X)=>({...X,sonnet1m45MigrationComplete:!0}))}L();yz();N();T();B();function Pz(){if(U()!=="firstParty")return;if(!R()&&!Fz()&&!wz())return;let K=H("userSettings")?.model;if(K!=="claude-sonnet-4-5-20250929"&&K!=="claude-sonnet-4-5-20250929[1m]"&&K!=="sonnet-4-5-20250929"&&K!=="sonnet-4-5-20250929[1m]")return;let z=K.endsWith("[1m]");if($("userSettings",{model:z?"sonnet[1m]":"sonnet"}),W().numStartups>1)q((X)=>({...X,sonnet45To46MigrationTimestamp:Date.now()}));Z("tengu_sonnet45_to_46_migration",{from_model:K,has_1m:z})}L();N();I();FK();B();function Cz(){if(W().hasResetAutoModeOptInForDefaultOffer)return;if(kz()!=="enabled")return;try{let z=H("userSettings");if(z?.skipAutoPermissionPrompt&&z?.permissions?.defaultMode!=="auto")$("userSettings",{skipAutoPermissionPrompt:void 0}),Z("tengu_migrate_reset_auto_opt_in_for_default_offer",{});q((Q)=>{if(Q.hasResetAutoModeOptInForDefaultOffer)return Q;return{...Q,hasResetAutoModeOptInForDefaultOffer:!0}})}catch(z){V(Error(`Failed to reset auto mode opt-in: ${z}`))}}L();yz();N();T();B();function Ez(){if(W().opusProMigrationComplete)return;if(U()!=="firstParty"||!R()){q((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!0});return}if(O()?.model===void 0){let X=Date.now();q((Y)=>({...Y,opusProMigrationComplete:!0,opusProMigrationTimestamp:X})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!1})}else q((X)=>({...X,opusProMigrationComplete:!0})),Z("tengu_reset_pro_to_opus_default",{skipped:!1,had_custom_model:!0})}gK();fK();y();EK();B();yK();L();wK();async function vz(K,z){let Q=await bz(K),X=jz(z);for(let Y of Q){if(Y.type!=="prompt")continue;Z("tengu_skill_loaded",{_PROTO_skill_name:Y.name,skill_source:Y.source,skill_loaded_from:Y.loadedFrom,skill_budget:X,...Y.kind&&{skill_kind:Y.kind}})}}mK();function tX(){try{let K=H("policySettings");if(K){let z=az(K);Z("tengu_managed_settings_loaded",{keyCount:z.length,keys:z.join(",")})}}catch{}}function eX(){let K=G(Sz()??rz());vz(dz(),iz(K,fz())),KK().then(({enabled:z,errors:Q})=>{let X=zK();tz(z,X,sz()),ez(Q,X)}).catch((z)=>V(z))}function lK(){let K={};if(process.env.NODE_EXTRA_CA_CERTS)K.has_node_extra_ca_certs=!0;if(process.env.CLAUDE_CODE_CLIENT_CERT)K.has_client_cert=!0;if(E("--use-system-ca"))K.has_use_system_ca=!0;if(E("--use-openssl-ca"))K.has_use_openssl_ca=!0;return K}async function zY(){if(oz())return;let[K,z,Q]=await Promise.all([uz(),gz(),qz()]);Z("tengu_startup_telemetry",{is_git:K,worktree_count:z,gh_auth_status:Q,sandbox_enabled:M.isSandboxingEnabled(),are_unsandboxed_commands_allowed:M.areUnsandboxedCommandsAllowed(),is_auto_bash_allowed_if_sandbox_enabled:M.isAutoAllowBashIfSandboxedEnabled(),auto_updater_disabled:nz(),prefers_reduced_motion:O().prefersReducedMotion??!1,...lK()})}var C=12;function KY(){if(W().migrationVersion!==C)Hz(),Vz(),_z(),Ez(),Mz(),Uz(),Pz(),Lz(),Oz(),Tz(),Cz(),q((K)=>K.migrationVersion===C?K:{...K,migrationVersion:C});QK().catch(()=>{})}function QY(){if(hz()){x("info","prefetch_system_context_non_interactive"),b();return}if(lz())x("info","prefetch_system_context_has_trust"),b();else x("info","prefetch_system_context_skipped_no_trust")}function XY(){j("eagerLoadSettings_start");let K=v("--settings");if(K)Xz(K);let z=v("--setting-sources");if(z!==void 0)Yz(z);j("eagerLoadSettings_end")}function YY(K){if(process.env.CLAUDE_CODE_ENTRYPOINT)return;let z=process.argv.slice(2),Q=z.indexOf("mcp");if(Q!==-1&&z[Q+1]==="serve"){process.env.CLAUDE_CODE_ENTRYPOINT="mcp";return}if(S(process.env.CLAUDE_CODE_ACTION)){process.env.CLAUDE_CODE_ENTRYPOINT="claude-code-github-action";return}process.env.CLAUDE_CODE_ENTRYPOINT=K?"sdk-cli":"cli"}async function ZY({hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:_,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktreeEnabled:F,skipWebFetchPreflight:XK,githubActionInputs:p,dangerouslySkipPermissionsPassed:YK,permissionMode:ZK,modeIsBypass:$K,allowDangerouslySkipPermissionsPassed:qK,systemPromptFlag:c,appendSystemPromptFlag:d,thinkingConfig:HK,assistantActivationPath:u,isCoordinator:JK}){try{Z("tengu_init",{entrypoint:"claude",hasInitialPrompt:K,hasStdin:z,verbose:Q,debug:X,debugToStderr:Y,print:J,outputFormat:_,inputFormat:D,numAllowedTools:f,numDisallowedTools:h,mcpClientCount:m,worktree:F,skipWebFetchPreflight:XK,...p&&{githubActionInputs:p},dangerouslySkipPermissionsPassed:YK,permissionMode:ZK,modeIsBypass:$K,inProtectedNamespace:cz(),allowDangerouslySkipPermissionsPassed:qK,thinkingType:HK.type,...c&&{systemPromptFlag:c},...d&&{appendSystemPromptFlag:d},is_simple:pz()||void 0,is_coordinator:JK||void 0,...u&&{assistantActivationPath:u},autoUpdatesChannel:O().autoUpdatesChannel??"latest"})}catch(VK){V(VK)}}function $Y(K){}function qY(K){return}
8
+ export{qQ as J,HQ as K,JQ as L,VQ as M,tX as N,eX as O,zY as P,KY as Q,QY as R,XY as S,YY as T,ZY as U,$Y as V,qY as W};
@@ -0,0 +1,6 @@
1
+ import{Ysa as I}from"./cli-1.1.10-gmf5w0a4.mjs";function R($,q,H){let J=$.indexOf(q);if(J===-1)return $;let K=q.length,Z=0,Q="";do Q+=$.slice(Z,J)+q+H,Z=J+K,J=$.indexOf(q,Z);while(J!==-1);return Q+=$.slice(Z),Q}function T($,q,H,J){let K=0,Z="";do{let Q=$[J-1]==="\r";Z+=$.slice(K,Q?J-1:J)+q+(Q?`\r
2
+ `:`
3
+ `)+H,K=J+1,J=$.indexOf(`
4
+ `,K)}while(J!==-1);return Z+=$.slice(K),Z}var _=()=>{};function a(){let $=new Map;for(let[q,H]of Object.entries(X)){for(let[J,K]of Object.entries(H))X[J]={open:`\x1B[${K[0]}m`,close:`\x1B[${K[1]}m`},H[J]=X[J],$.set(Number.parseInt(K[0],10),K[1]);Object.defineProperty(X,q,{value:H,enumerable:!1})}return Object.defineProperty(X,"codes",{value:$,enumerable:!1}),X.color.close="\x1B[39m",X.bgColor.close="\x1B[49m",X.underlineColor.close="\x1B[59m",X.color.ansi=A(),X.color.ansi256=Y(),X.color.ansi16m=k(),X.bgColor.ansi=A(10),X.bgColor.ansi256=Y(10),X.bgColor.ansi16m=k(10),X.underlineColor.ansi=g,X.underlineColor.ansi256=Y(20),X.underlineColor.ansi16m=k(20),Object.defineProperties(X,{rgbToAnsi256:{value(q,H,J){if(q===H&&H===J){if(q<8)return 16;if(q>248)return 231;return Math.round((q-8)/247*24)+232}return 16+36*Math.round(q/255*5)+6*Math.round(H/255*5)+Math.round(J/255*5)},enumerable:!1},hexToRgb:{value(q){let H=/[\da-f]{6}|[\da-f]{3}/i.exec(q.toString(16));if(!H)return[0,0,0];let[J]=H;if(J.length===3)J=[...J].map((Z)=>Z+Z).join("");let K=Number.parseInt(J,16);return[K>>16&255,K>>8&255,K&255]},enumerable:!1},hexToAnsi256:{value:(q)=>X.rgbToAnsi256(...X.hexToRgb(q)),enumerable:!1},ansi256ToAnsi:{value(q){if(q<8)return 30+q;if(q<16)return 90+(q-8);let H,J,K;if(q>=232)H=((q-232)*10+8)/255,J=H,K=H;else{q-=16;let D=q%36;H=Math.floor(q/36)/5,J=Math.floor(D/6)/5,K=D%6/5}let Z=Math.max(H,J,K)*2;if(Z===0)return 30;let Q=30+(Math.round(K)<<2|Math.round(J)<<1|Math.round(H));if(Z===2)Q+=60;return Q},enumerable:!1},rgbToAnsi:{value:(q,H,J)=>X.ansi256ToAnsi(X.rgbToAnsi256(q,H,J)),enumerable:!1},hexToAnsi:{value:(q)=>X.ansi256ToAnsi(X.hexToAnsi256(q)),enumerable:!1}}),X}var A=($=0)=>(q)=>`\x1B[${q+$}m`,Y=($=0)=>(q)=>`\x1B[${38+$};5;${q}m`,k=($=0)=>(q,H,J)=>`\x1B[${38+$};2;${q};${H};${J}m`,g=($)=>`\x1B[58;5;${$<90?$-30:$-90+8}m`,X,U1,d,i,W1,z1,n,z;var E=I(()=>{X={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],underlineDouble:["4:2",24],underlineCurly:["4:3",24],underlineDotted:["4:4",24],underlineDashed:["4:5",24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},underlineColor:{underlineBlack:["58;5;0",59],underlineRed:["58;5;1",59],underlineGreen:["58;5;2",59],underlineYellow:["58;5;3",59],underlineBlue:["58;5;4",59],underlineMagenta:["58;5;5",59],underlineCyan:["58;5;6",59],underlineWhite:["58;5;7",59],underlineBlackBright:["58;5;8",59],underlineGray:["58;5;8",59],underlineGrey:["58;5;8",59],underlineRedBright:["58;5;9",59],underlineGreenBright:["58;5;10",59],underlineYellowBright:["58;5;11",59],underlineBlueBright:["58;5;12",59],underlineMagentaBright:["58;5;13",59],underlineCyanBright:["58;5;14",59],underlineWhiteBright:["58;5;15",59]}},U1=Object.keys(X.modifier),d=Object.keys(X.color),i=Object.keys(X.bgColor),W1=Object.keys(X.underlineColor),z1=[...d,...i];n=a(),z=n});import x from"node:process";import t from"node:os";import S from"node:tty";function W($,q=globalThis.Deno?globalThis.Deno.args:x.argv){let H=$.startsWith("-")?"":$.length===1?"-":"--",J=q.indexOf(H+$),K=q.indexOf("--");return J!==-1&&(K===-1||J<K)}function b(){return/^\d+$/.test(U.FORCE_COLOR)}function o(){if(!("FORCE_COLOR"in U))return;if(U.FORCE_COLOR==="false")return 0;if(U.FORCE_COLOR==="true"||U.FORCE_COLOR.length===0)return 1;if(!b())return;return Math.min(Number.parseInt(U.FORCE_COLOR,10),3)}function r($){if($===0)return!1;return{level:$,hasBasic:!0,has256:$>=2,has16m:$>=3}}function l($,{streamIsTTY:q,sniffFlags:H=!0}={}){let J=o();if(J!==void 0)P=J;let K=H?P:J;if(K===0)return 0;if(H){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if(K!==void 0&&b())return K;if("TF_BUILD"in U&&"AGENT_NAME"in U)return 1;if($&&!q&&K===void 0)return 0;let Z=K||0;if(U.TERM==="dumb")return Z;if(x.platform==="win32"){let Q=t.release().split(".");if(Number(Q[0])>=10&&Number(Q[2])>=10586)return Number(Q[2])>=14931?3:2;return 1}if("CI"in U){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((Q)=>(Q in U)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Q)=>(Q in U))||U.CI_NAME==="codeship")return 1;return Z}if("TEAMCITY_VERSION"in U)return/^(?:9\.0*[1-9]\d*\.|\d{2,}\.)/.test(U.TEAMCITY_VERSION)?1:0;if(U.COLORTERM==="truecolor")return 3;if(U.TERM==="xterm-kitty")return 3;if(U.TERM==="xterm-ghostty")return 3;if(U.TERM==="wezterm")return 3;if("TERM_PROGRAM"in U){let Q=Number.parseInt((U.TERM_PROGRAM_VERSION||"").split(".",1)[0],10);switch(U.TERM_PROGRAM){case"iTerm.app":return Q>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(?:color)?$/i.test(U.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(U.TERM))return 1;if("COLORTERM"in U)return 1;return Z}function F($,q={}){let H=l($,{streamIsTTY:$&&$.isTTY,...q});return r(H)}var U,P,s,C;var h=I(()=>{({env:U}=x);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))P=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))P=1;s={stdout:F({isTTY:S.isatty(1)}),stderr:F({isTTY:S.isatty(2)})},C=s});class q1{constructor($){return v($)}}function O($){return v($)}var f,m,G,V,M,w,j,u=($)=>{if(!Number.isSafeInteger($)||$<0||$>3)throw Error("The `level` should be an integer from 0 to 3")},e,$1=($,q={})=>{if(q.level!==void 0)u(q.level);let H=f?f.level:0;$[w]=q.level===void 0?H:q.level},v=($)=>{let q=(...H)=>H.join(" ");return $1(q,$),Object.setPrototypeOf(q,O.prototype),q},H1=($,q)=>{let H=z[q];if($==="rgb"){let K=(Q,D,B)=>H.ansi(z.rgbToAnsi(Q,D,B));return[K,K,(Q,D,B)=>H.ansi256(z.rgbToAnsi256(Q,D,B)),H.ansi16m]}if($==="hex"){let K=(Q)=>H.ansi(z.hexToAnsi(Q));return[K,K,(Q)=>H.ansi256(z.hexToAnsi256(Q)),(Q)=>H.ansi16m(...z.hexToRgb(Q))]}let J=(K)=>H.ansi(z.ansi256ToAnsi(K));return[J,J,H.ansi256,H.ansi256]},J1,K1,p=($,q,H)=>{let J,K;if(H===void 0)J=$,K=q;else J=H.openAll+$,K=q+H.closeAll;return{open:$,close:q,openAll:J,closeAll:K,parent:H}},N=($,q,H)=>{let J=(...K)=>{if(K.length===1)return L(J,""+K[0]);if(K.length===2)return L(J,K[0]+" "+K[1]);return L(J,K.join(" "))};return Object.setPrototypeOf(J,K1),J[G]=$[G]??$,J[V]=q,J[M]=H,J},L=($,q)=>{if($[G][w]<=0||!q)return $[M]?"":q;let H=$[V];if(H===void 0)return q;let{openAll:J,closeAll:K}=H;if(q.includes("\x1B"))while(H!==void 0)q=R(q,H.close,H.open),H=H.parent;let Z=q.indexOf(`
5
+ `);if(Z!==-1)q=T(q,K,J,Z);return J+q+K},Q1,w1,Y1;var X1=I(()=>{_();E();h();({stdout:f,stderr:m}=C),G=Symbol("GENERATOR"),V=Symbol("STYLER"),M=Symbol("IS_EMPTY"),w=Symbol("LEVEL"),j=Object.create(null),e={enumerable:!0,get(){return this[w]},set($){u($),this[w]=$}};Object.setPrototypeOf(O.prototype,Function.prototype);for(let[$,q]of Object.entries(z))j[$]={get(){let H=N(this,p(q.open,q.close,this[V]),this[M]);return Object.defineProperty(this,$,{value:H}),H}};j.visible={get(){let $=N(this,this[V],!0);return Object.defineProperty(this,"visible",{value:$}),$}};J1=["rgb","hex","ansi256"];for(let $ of J1){let q=$[0].toUpperCase()+$.slice(1);for(let[H,J]of[[$,"color"],["bg"+q,"bgColor"],["underline"+q,"underlineColor"]]){let{close:K}=z[J],Z=H1($,J);j[H]={get(){let Q=function(D,B,c){let y=Z[this.level](D,B,c);return N(this,p(y,K,this[V]),this[M])};return Object.defineProperty(this,H,{value:Q}),Q}}}}K1=Object.defineProperties(()=>{},{...j,level:{enumerable:!0,get(){return this[G].level},set($){this[G].level=$}}});Object.defineProperties(O.prototype,{...j,level:e});Q1=O(),w1=O({level:m?m.level:0}),Y1=Q1});
6
+ export{q1 as o9,Y1 as p9,X1 as q9};
@@ -0,0 +1,2 @@
1
+ import{Ysa as C}from"./cli-1.1.10-gmf5w0a4.mjs";import E from"node:fs";import G from"node:path";import H from"node:os";function A(){if(q!==void 0)return;try{let b=process.env.CLAUDE_FEATURE_FLAGS_FILE||G.join(H.homedir(),".claudin","feature-flags.json"),j=JSON.parse(E.readFileSync(b,"utf-8"));q=j&&typeof j==="object"&&!Array.isArray(j)?j:null}catch{q=null}}function x(b,j){if(A(),q!=null&&Object.hasOwn(q,b))return q[b];if(Object.hasOwn(z,b))return z[b];return j}function O(){return I}function Q(){return!1}function R(){return A(),q||{}}function S(){return{}}function T(){}function U(){}function W(){return}async function Y(b,j){return x(b,j)}function Z(b,j){return x(b,j)}function $(b,j){return x(b,j)}function v(b){return Boolean(x(b,!1))}async function w(b){return!1}async function P(b){return Boolean(x(b,!1))}function B(){}function D(){q=void 0}async function h(){q=void 0}function N(){}function m(){}async function c(b,j){return x(b,j)}function F(b,j){return x(b,j)}var q=void 0,z,I=()=>{},X=async()=>null;var J=C(()=>{z={tengu_sedge_lantern:!0,tengu_passport_quail:!0,tengu_coral_fern:!0,tengu_bramble_lintel:15,tengu_glacier_2xr:!0}});
2
+ export{O as Eha,Q as Fha,R as Gha,S as Hha,T as Iha,U as Jha,W as Kha,X as Lha,Y as Mha,Z as Nha,$ as Oha,v as Pha,w as Qha,P as Rha,B as Sha,D as Tha,h as Uha,N as Vha,m as Wha,c as Xha,F as Yha,J as Zha};
@@ -0,0 +1,4 @@
1
+ import{Pra as Q,Qra as V,Rra as W,Sra as X,Tra as Y,Ura as Z,dsa as w}from"./cli-1.1.10-sz5x71xt.mjs";import{Ysa as v}from"./cli-1.1.10-gmf5w0a4.mjs";function J(j,z){if(!(j instanceof Error))return!1;for(let G=Object.getPrototypeOf(j);G!==null;G=Object.getPrototypeOf(G))if(G.constructor?.name===z)return!0;return!1}function S(j){return j instanceof Q||J(j,"APIError")}function k(j){return j instanceof W||J(j,"APIConnectionError")}function F(j){return j instanceof X||J(j,"APIConnectionTimeoutError")}function D(j){return j instanceof V||J(j,"APIUserAbortError")}function P(j){return j instanceof Y||J(j,"AuthenticationError")}function x(j){return j instanceof Z||J(j,"NotFoundError")}function y(j){return j instanceof _||D(j)||j instanceof Error&&j.name==="AbortError"}function f(j,z){return j instanceof Error&&j.message===z}function N(j){return j instanceof Error?j:Error(String(j))}function I(j){return j instanceof Error?j.message:String(j)}function $(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function A(j){return $(j)==="ENOENT"}function p(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function C(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
2
+ `),H=G[0]??j.message,K=G.slice(1).filter((q)=>q.trim().startsWith("at "));if(K.length<=z)return j.stack;return[H,...K.slice(0,z)].join(`
3
+ `)}function h(j){let z=$(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function E(j){let z=I(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var B,L,_,T,O,R,U;var b=v(()=>{w();B=class B extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};L=class L extends Error{};_=class _ extends Error{constructor(j){super(j);this.name="AbortError"}};T=class T extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};O=class O extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};R=class R extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};U=class U extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
4
+ export{B as Wka,L as Xka,_ as Yka,S as Zka,k as _ka,F as $ka,D as ala,P as bla,x as cla,y as dla,T as ela,O as fla,R as gla,U as hla,f as ila,N as jla,I as kla,$ as lla,A as mla,p as nla,C as ola,h as pla,E as qla,b as rla};
@@ -0,0 +1,2 @@
1
+ import{Mja as f}from"./cli-1.1.10-fz99ag3y.mjs";import{Pka as h}from"./cli-1.1.10-jn6w68wj.mjs";import{Ysa as Z}from"./cli-1.1.10-gmf5w0a4.mjs";var $=()=>{};var F=Z(()=>{$()});var K;var G=Z(()=>{K=new Set(["if","then","elif","else","fi","while","until","for","in","do","done","case","esac","function","select"])});var M=Z(()=>{G();$();F();_();O()});var _=Z(()=>{G();$();F();M()});var O=Z(()=>{G();$();F();_();M()});var Sz;var w=Z(()=>{$();F();O();G();Sz=Promise.resolve()});async function kz(z){if(!z||z.length>D)return null;return null}async function pz(z){if(!z||z.length>D)return null;return null}function dz(z){if(z.type==="declaration_command"){let J=z.children[0];return J&&x.has(J.text)?[J.text]:[]}let X=[],V=!1;for(let J of z.children){if(J.type==="variable_assignment")continue;if(J.type==="command_name"||!V&&J.type==="word"){V=!0,X.push(J.text);continue}if(v.has(J.type))X.push(l(J.text));else if(m.has(J.type))break}return X}function l(z){return z.length>=2&&(z[0]==='"'&&z.at(-1)==='"'||z[0]==="'"&&z.at(-1)==="'")?z.slice(1,-1):z}var D=1e4,x,v,m,oz;var L=Z(()=>{f();h();w();x=new Set(["export","declare","typeset","readonly","local","unset","unsetenv"]),v=new Set(["word","string","raw_string","number"]),m=new Set(["command_substitution","process_substitution"]);oz=Symbol("parse-aborted")});
2
+ export{K as i3,w as j3,kz as k3,oz as l3,pz as m3,dz as n3,L as o3};
@@ -0,0 +1,2 @@
1
+ import{Kh as B,Lh as EJ}from"./cli-1.1.10-psqaker4.mjs";import{$q as NJ,$x as gq,Ay as kq,By as _q,Cy as xJ,Gn as GJ,Hn as nJ,Kq as Sq,Mq as n,Nq as PJ,Sn as AJ,Tn as rJ,Un as LJ,Vn as oJ,Wn as RJ,Wq as VJ,Xn as lJ,Zq as jJ,ay as MJ,cy as eJ,dr as qJ,er as $q,hr as TJ,ir as JJ,qx as OJ,rG as wJ,rx as tJ,tG as qQ}from"./cli-1.1.10-hk2c91wp.mjs";import{AY as HJ,BY as sJ,EY as IJ,FY as hJ,NY as DJ,OY as aJ}from"./cli-1.1.10-qk19t6fd.mjs";import{BZ as pJ,F1 as dJ,_0 as O,a1 as D,c1 as dq,d1 as SJ}from"./cli-1.1.10-msg7sda2.mjs";import{h4 as WJ,i4 as H,j4 as j,k4 as ZJ}from"./cli-1.1.10-t8n5jx0z.mjs";import{l4 as iJ}from"./cli-1.1.10-c67v6p50.mjs";import{A8 as BJ,B7 as KQ,T6 as uq,V6 as s,V8 as UQ,a6 as mq,b6 as KJ,d6 as yq,d7 as i,g7 as Cq,k7 as cJ,p6 as UJ,u6 as fJ,w7 as FJ}from"./cli-1.1.10-yzpymdrc.mjs";import{p9 as K,q9 as vJ}from"./cli-1.1.10-dppcc1yx.mjs";import{Gba as oq,Hba as lq,Iba as vq,Jba as aq,Kba as tq,Lba as eq,Wba as mJ}from"./cli-1.1.10-m0pdck7q.mjs";import{Jja as XJ,Mja as $J}from"./cli-1.1.10-fz99ag3y.mjs";import{Usa as YJ,Ysa as Rq}from"./cli-1.1.10-gmf5w0a4.mjs";function sq(J){let q=J.messageActionsBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function gJ(J){let q=J.userMessageBackground;return q==="ansi:white"||q==="ansi:whiteBright"?J.inactive:q}function z(J,q,Q){if(q.startsWith("ansi:")){let Y=q.slice(5);if(Q==="fg")return J[Y]??J;let X=`bg${Y[0].toUpperCase()}${Y.slice(1)}`;return J[X]??J}if(q.startsWith("#"))return Q==="fg"?J.hex(q):J.bgHex(q);if(q.startsWith("ansi256(")){let Y=parseInt(q.slice(8));return Q==="fg"?J.ansi256(Y):J.bgAnsi256(Y)}let Z=CJ.exec(q);if(Z){let[Y,X,U]=[+Z[1],+Z[2],+Z[3]];return Q==="fg"?J.rgb(Y,X,U):J.bgRgb(Y,X,U)}return J}function LQ(J,q,Q,Z,Y){if(!B())return bJ(J,q,Q,Z,Y);let{suggestion:X,messageActionsBackground:U}=Y,G=U==="ansi:white"||U==="ansi:whiteBright"?Y.inactive:U,R=Y.inverseText,I=Y.suggestion,F=z(z(K,X,"bg"),R,"fg").bold,L=z(z(K,X,"fg"),G,"bg"),A=z(z(K,G,"bg"),I,"fg"),T=z(K,G,"fg"),Pq=z(K,X,"fg"),P=F(` ${J} `);if(q){if(P+=L(w),P+=A(` ${nq} ${q}`),Q>0||Z>0){if(P+=A(" ("),Q>0)P+=z(z(K,G,"bg"),Y.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)P+=A(" ");if(Z>0)P+=z(z(K,G,"bg"),Y.warning,"fg")(`↓${Z}`);P+=A(")")}P+=A(" "),P+=T(w)}else P+=Pq(w);return P}function RQ(J,q,Q){if(!B()){let G=z(K,q.suggestion,"fg").bold;return`[ ${G(J)} ]`}let{suggestion:Z,inverseText:Y}=q,X=z(z(K,Z,"bg"),Y,"fg").bold,U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J} `)+U(w)}function DQ(J,q,Q){if(!J)return"";if(!B()){let G=z(K,q.suggestion,"fg").bold;return`[ ${G(J.trim())} ]`}let{suggestion:Z,inverseText:Y}=q,X=z(z(K,Z,"bg"),Y,"fg").bold,U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J}`)+U(w)}function PQ(J,q,Q){if(!J)return"";if(!B())return`[ ${z(K,q.suggestion,"fg")(J.trim())} ]`;let Z=sq(q),Y=q.suggestion,X=z(z(K,Z,"bg"),Y,"fg"),U=Q?z(z(K,Q,"bg"),Z,"fg"):z(K,Z,"fg");return X(` ${J}`)+U(w)}function hq(J,q,Q){if(!J)return"";if(!B())return`[ ${J} ]`;let Z=z(z(K,q,"bg"),Q.inverseText,"fg").bold,Y=z(K,q,"fg");return Z(` ${J} `)+Y(w)}function VQ(J,q,Q,Z,Y){if(!J)return"";if(!B()){let L=z(K,Z.suggestion,"fg")(J);if(q>0||Q>0){if(L+=" (",q>0)L+=z(K,Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)L+=" ";if(Q>0)L+=z(K,Z.warning,"fg")(`↓${Q}`);L+=")"}return`[ ${L} ]`}let X=sq(Z),U=Z.suggestion,G=z(z(K,X,"bg"),U,"fg"),R=Y?z(z(K,Y,"bg"),X,"fg"):z(K,X,"fg"),I=G(` ${nq} ${J}`);if(q>0||Q>0){if(I+=G(" ("),q>0)I+=z(z(K,X,"bg"),Z.success,"fg")(`↑${q}`);if(q>0&&Q>0)I+=G(" ");if(Q>0)I+=z(z(K,X,"bg"),Z.warning,"fg")(`↓${Q}`);I+=G(")")}return I+=G(" "),I+=R(w),I}function pq(J,q){if(!q||!dq())return J;return`${kq}${q}${_q}${J}${kq}${_q}`}function jQ(J,q,Q,Z="PR",Y){if(!B()){let F=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,L=pq(z(K,F,"fg")(`#${J}`),Y);return`[ ${z(K,Q.inactive,"fg")(Z)} ${L} ]`}let X=gJ(Q),U=q==="approved"?Q.success:q==="changes_requested"?Q.error:q==="pending"?Q.warning:q==="merged"?Q.merged:Q.inactive,G=z(z(K,X,"bg"),Q.inactive,"fg"),R=z(z(K,X,"bg"),U,"fg"),I=z(K,X,"fg");return G(` ${yJ} `)+pq(R(`#${J}`),Y)+G(" ")+I(w)}function bJ(J,q,Q,Z,Y){let X=z(K,Y.suggestion,"fg").bold,U=`[ ${X(J)} ]`;if(q){let R=z(K,Y.suggestion,"fg")(q);if(Q>0||Z>0){if(R+=" (",Q>0)R+=z(K,Y.success,"fg")(`↑${Q}`);if(Q>0&&Z>0)R+=" ";if(Z>0)R+=z(K,Y.warning,"fg")(`↓${Z}`);R+=")"}U+=` [ ${R} ]`}return U}var w="",nq="",yJ="",CJ;var rq=Rq(()=>{vJ();SJ();xJ();EJ();CJ=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/});function uJ(J,q){if(Sq(J))return q.suggestion;switch(J){case"low":return q.inactive;case"medium":return q.warning;case"high":return q.claude;case"xhigh":return q.error;case"max":return q.merged;default:return q.error}}function wQ(J,q,Q){if(!n(q))return;let Z=qJ(q,J),Y=uJ(Z,Q);return{pill:hq(`${xq(Z)} ${Z}`,Y,Q),bg:Y}}function xq(J){if(Sq(J))return eq;switch(J){case"low":return oq;case"medium":return lq;case"high":return vq;case"xhigh":return aq;case"max":return tq;default:return vq}}var QJ=Rq(()=>{mJ();JJ();rq()});function dQ(J){let q=fq.c(82),{initial:Q,sessionModel:Z,onSelect:Y,onCancel:X,isStandaloneCommand:U,showFastModeNotice:G,headerText:R,skipSettingsWrite:I}=J,F=MJ(),L=IJ(),A=Q===null?h:Q,[T,Pq]=Dq.useState(A),P=gq(zQ),[k,kJ]=Dq.useState(!1),_=gq(ZQ),r;if(q[0]!==_)r=_!==void 0?$q(_):void 0,q[0]=_,q[1]=r;else r=q[1];let[v,cq]=Dq.useState(r),Vq=P??!1,o;if(q[2]!==Vq)o=OJ(Vq),q[2]=Vq,q[3]=o;else o=q[3];let p=o,jq;q:{if(Q!==null&&!p.some((W)=>{if(W.value===Q)return!0;if(W.value===null)return!1;try{return s(i(String(W.value)))===s(i(Q))}catch{return!1}})){let W;if(q[4]!==Q)W=Cq(Q),q[4]=Q,q[5]=W;else W=q[5];let V;if(q[6]!==Q||q[7]!==W)V={value:Q,label:W,description:"Current model"},q[6]=Q,q[7]=W,q[8]=V;else V=q[8];let S;if(q[9]!==p||q[10]!==V)S=[...p,V],q[9]=p,q[10]=V,q[11]=S;else S=q[11];jq=S;break q}jq=p}let Nq=jq,l;if(q[12]!==Nq)l=Nq.map(QQ),q[12]=Nq,q[13]=l;else l=q[13];let N=l,a;if(q[14]!==A||q[15]!==N)a=N.find((W)=>{if(W.value===A)return!0;if(A===h||W.value===null)return!1;try{return s(i(String(W.value)))===s(i(String(A)))}catch{return!1}})?.value??N[0]?.value??void 0,q[14]=A,q[15]=N,q[16]=a;else a=q[16];let Tq=a,t=Math.min(10,N.length),e=Math.max(0,N.length-t),qq;if(q[17]!==T||q[18]!==N)qq=N.find((W)=>W.value===T)?.label,q[17]=T,q[18]=N,q[19]=qq;else qq=q[19];let Jq=qq,M,Qq;if(q[20]!==T){let W=bq(T);M=W?n(W):!1,Qq=W?PJ(W):!1,q[20]=T,q[21]=M,q[22]=Qq}else M=q[21],Qq=q[22];let Zq=Qq,zq;if(q[23]!==T)zq=Eq(T),q[23]=T,q[24]=zq;else zq=q[24];let x=zq,d=v==="max"&&!Zq?"high":v,Yq;if(q[25]!==_||q[26]!==k)Yq=(W)=>{if(Pq(W),!k&&_===void 0)cq(Eq(W))},q[25]=_,q[26]=k,q[27]=Yq;else Yq=q[27];let Oq=Yq,Xq;if(q[28]!==x||q[29]!==M||q[30]!==Zq)Xq=(W)=>{if(!M)return;cq((V)=>YQ(V??x,W,Zq)),kJ(!0)},q[28]=x,q[29]=M,q[30]=Zq,q[31]=Xq;else Xq=q[31];let Kq=Xq,Uq;if(q[32]!==Kq)Uq={"modelPicker:decreaseEffort":()=>Kq("left"),"modelPicker:increaseEffort":()=>Kq("right")},q[32]=Kq,q[33]=Uq;else Uq=q[33];let Wq;if(q[34]===Symbol.for("react.memo_cache_sentinel"))Wq={context:"ModelPicker"},q[34]=Wq;else Wq=q[34];HJ(Uq,Wq);let Gq;if(q[35]!==v||q[36]!==k||q[37]!==Y||q[38]!==F||q[39]!==I)Gq=function(V){if(XJ("tengu_model_command_menu_effort",{effort:v}),!I){let Bq=NJ(v,Eq(V),jJ(),k);if(Bq!==void 0)VJ(Bq);F((_J)=>({..._J,effortValue:Bq}))}let S=bq(V),iq=k&&S&&n(S)?v:void 0;if(V===h){Y(null,iq);return}Y(V,iq)},q[35]=v,q[36]=k,q[37]=Y,q[38]=F,q[39]=I,q[40]=Gq;else Gq=q[40];let Mq=Gq,Hq;if(q[41]===Symbol.for("react.memo_cache_sentinel"))Hq=H(D,{color:"remember",bold:!0,children:"Select model"}),q[41]=Hq;else Hq=q[41];let wq=R??"Switch between Claude models. Applies to this session and future Claude Code sessions. For other/previous model names, specify with --model.",E;if(q[42]!==wq)E=H(D,{dimColor:!0,children:wq}),q[42]=wq,q[43]=E;else E=q[43];let y;if(q[44]!==Z)y=Z&&j(D,{dimColor:!0,children:["Currently using ",Cq(Z)," for this session (set by plan mode). Selecting a model will undo this."]}),q[44]=Z,q[45]=y;else y=q[45];let C;if(q[46]!==E||q[47]!==y)C=j(O,{marginBottom:1,flexDirection:"column",children:[Hq,E,y]}),q[46]=E,q[47]=y,q[48]=C;else C=q[48];let Fq=X??JQ,g;if(q[49]!==Oq||q[50]!==Mq||q[51]!==Tq||q[52]!==A||q[53]!==N||q[54]!==Fq||q[55]!==t)g=H(O,{flexDirection:"column",children:H(wJ,{defaultValue:A,defaultFocusValue:Tq,options:N,onChange:Mq,onFocus:Oq,onCancel:Fq,visibleOptionCount:t})}),q[49]=Oq,q[50]=Mq,q[51]=Tq,q[52]=A,q[53]=N,q[54]=Fq,q[55]=t,q[56]=g;else g=q[56];let b;if(q[57]!==e)b=e>0&&H(O,{paddingLeft:3,children:j(D,{dimColor:!0,children:["and ",e," more…"]})}),q[57]=e,q[58]=b;else b=q[58];let m;if(q[59]!==g||q[60]!==b)m=j(O,{flexDirection:"column",marginBottom:1,children:[g,b]}),q[59]=g,q[60]=b,q[61]=m;else m=q[61];let u;if(q[62]!==d||q[63]!==x||q[64]!==Jq||q[65]!==M)u=H(O,{marginBottom:1,flexDirection:"column",children:M?j(D,{dimColor:!0,children:[H(zJ,{effort:d})," ",GJ(d)," effort",d===x?" (default)":""," ",H(D,{color:"subtle",children:"← → to adjust"})]}):j(D,{color:"subtle",children:[H(zJ,{effort:void 0})," Effort not supported",Jq?` for ${Jq}`:""]})}),q[62]=d,q[63]=x,q[64]=Jq,q[65]=M,q[66]=u;else u=q[66];let $;if(q[67]!==G)$=mq()?G?H(O,{marginBottom:1,children:j(D,{dimColor:!0,children:["Fast mode is ",H(D,{bold:!0,children:"ON"})," and available with"," ",yq," only (/fast). Switching to other models turn off fast mode."]})}):KJ()&&!UJ()?H(O,{marginBottom:1,children:j(D,{dimColor:!0,children:["Use ",H(D,{bold:!0,children:"/fast"})," to turn on Fast mode (",yq," only)."]})}):null:null,q[67]=G,q[68]=$;else $=q[68];let f;if(q[69]!==C||q[70]!==m||q[71]!==u||q[72]!==$)f=j(O,{flexDirection:"column",children:[C,m,u,$]}),q[69]=C,q[70]=m,q[71]=u,q[72]=$,q[73]=f;else f=q[73];let c;if(q[74]!==L||q[75]!==U)c=U&&H(D,{dimColor:!0,italic:!0,children:L.pending?j(WJ,{children:["Press ",L.keyName," again to exit"]}):j(RJ,{children:[H(AJ,{shortcut:"Enter",action:"confirm"}),H(LJ,{action:"select:cancel",context:"Select",fallback:"Esc",description:"exit"})]})}),q[74]=L,q[75]=U,q[76]=c;else c=q[76];let Iq;if(q[77]!==f||q[78]!==c)Iq=j(O,{flexDirection:"column",children:[f,c]}),q[77]=f,q[78]=c,q[79]=Iq;else Iq=q[79];let Aq=Iq;if(!U)return Aq;let Lq;if(q[80]!==Aq)Lq=H(DJ,{color:"permission",children:Aq}),q[80]=Aq,q[81]=Lq;else Lq=q[81];return Lq}function JQ(){}function QQ(J){return{...J,value:J.value===null?h:J.value}}function ZQ(J){return J.effortValue}function zQ(J){return mq()?J.fastMode:!1}function bq(J){if(!J)return;return J===h?uq():i(J)}function zJ(J){let q=fq.c(5),{effort:Q}=J,Z=Q?"claude":"subtle",Y=Q??"low",X;if(q[0]!==Y)X=xq(Y),q[0]=Y,q[1]=X;else X=q[1];let U;if(q[2]!==Z||q[3]!==X)U=H(D,{color:Z,children:X}),q[2]=Z,q[3]=X,q[4]=U;else U=q[4];return U}function YQ(J,q,Q){let Z=Q?["low","medium","high","max"]:["low","medium","high"],Y=Z.indexOf(J),X=Y!==-1?Y:Z.indexOf("high");if(q==="right")return Z[(X+1)%Z.length];else return Z[(X-1+Z.length)%Z.length]}function Eq(J){let q=bq(J)??uq(),Q=TJ(q);return Q!==void 0?$q(Q):"high"}var fq,Dq,h="__NO_PREFERENCE__";var XQ=Rq(()=>{nJ();hJ();$J();fJ();dJ();sJ();eJ();JJ();cJ();tJ();oJ();qQ();lJ();rJ();aJ();QJ();ZJ();fq=YJ(pJ(),1),Dq=YJ(iJ(),1)});function oQ(J,q,Q){if(!BJ())return!1;if(q)return!0;if(J===null||!FJ(J))return!1;let Z=J.toLowerCase().replace(/\[1m\]$/,"").trim(),Y=Z==="opus"||Z.includes("opus-4-6")||Z.includes("opus-4-7"),X=Z==="sonnet"||Z.includes("sonnet-4-6");if(Y&&Q)return!1;return Y||X}var WQ=Rq(()=>{UQ();KQ()});
2
+ export{sq as Tg,gJ as Ug,LQ as Vg,RQ as Wg,DQ as Xg,PQ as Yg,VQ as Zg,jQ as _g,rq as $g,wQ as ah,xq as bh,QJ as ch,dQ as dh,XQ as eh,oQ as fh,WQ as gh};
@@ -0,0 +1,2 @@
1
+ import{BZ as s,F1 as f,a1 as t}from"./cli-1.1.10-msg7sda2.mjs";import{i4 as n,j4 as c,k4 as r}from"./cli-1.1.10-t8n5jx0z.mjs";import{Usa as m,Ysa as l}from"./cli-1.1.10-gmf5w0a4.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
2
+ export{T as ng,p as og};