@claudiolabs/claudin 1.1.9 → 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 (911) 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-453rs0bh.mjs +3 -0
  88. package/dist/chunks/cli-1.1.10-49bvng33.mjs +2 -0
  89. package/dist/chunks/cli-1.1.10-4fjjvbb7.mjs +2 -0
  90. package/dist/chunks/cli-1.1.10-4h8gax7r.mjs +2 -0
  91. package/dist/chunks/cli-1.1.10-4xztz3b9.mjs +24 -0
  92. package/dist/chunks/cli-1.1.10-51vyhqae.mjs +2 -0
  93. package/dist/chunks/cli-1.1.10-5828mt9m.mjs +2 -0
  94. package/dist/chunks/cli-1.1.10-58e888gh.mjs +2 -0
  95. package/dist/chunks/cli-1.1.10-58vqqfgj.mjs +2 -0
  96. package/dist/chunks/cli-1.1.10-5hrs5rqr.mjs +2 -0
  97. package/dist/chunks/cli-1.1.10-5t6aryqe.mjs +2 -0
  98. package/dist/chunks/cli-1.1.10-5t95b8cn.mjs +2 -0
  99. package/dist/chunks/cli-1.1.10-5y236qn7.mjs +2 -0
  100. package/dist/chunks/cli-1.1.10-6g4fntdc.mjs +3 -0
  101. package/dist/chunks/cli-1.1.10-6km1ymnm.mjs +2 -0
  102. package/dist/chunks/cli-1.1.10-6m1jpn0s.mjs +24 -0
  103. package/dist/chunks/cli-1.1.10-6q7mx8f2.mjs +2 -0
  104. package/dist/chunks/cli-1.1.10-6smvkrsd.mjs +2 -0
  105. package/dist/chunks/cli-1.1.10-6vxxztf9.mjs +2 -0
  106. package/dist/chunks/cli-1.1.10-6ya9ptdc.mjs +2 -0
  107. package/dist/chunks/cli-1.1.10-795jmkhb.mjs +2 -0
  108. package/dist/chunks/cli-1.1.10-84ev8nya.mjs +2 -0
  109. package/dist/chunks/cli-1.1.10-85j5ems7.mjs +2 -0
  110. package/dist/chunks/cli-1.1.10-8fgppw70.mjs +2 -0
  111. package/dist/chunks/cli-1.1.10-8vmgbrks.mjs +2 -0
  112. package/dist/chunks/cli-1.1.10-8xx1v7p2.mjs +2 -0
  113. package/dist/chunks/cli-1.1.10-910qbqn7.mjs +133 -0
  114. package/dist/chunks/cli-1.1.10-9jy4caft.mjs +2 -0
  115. package/dist/chunks/cli-1.1.10-9pxnk8yg.mjs +6 -0
  116. package/dist/chunks/cli-1.1.10-9q1p3zj2.mjs +2 -0
  117. package/dist/chunks/cli-1.1.10-9r8td4sp.mjs +2 -0
  118. package/dist/chunks/cli-1.1.10-a0ypafa6.mjs +2 -0
  119. package/dist/chunks/cli-1.1.10-a565mgy8.mjs +2 -0
  120. package/dist/chunks/cli-1.1.10-a7j4a04g.mjs +2 -0
  121. package/dist/chunks/cli-1.1.10-a8e8n1bk.mjs +2 -0
  122. package/dist/chunks/cli-1.1.10-aq5a8xs2.mjs +2 -0
  123. package/dist/chunks/cli-1.1.10-azskxdmb.mjs +2 -0
  124. package/dist/chunks/cli-1.1.10-b0b04nbj.mjs +2 -0
  125. package/dist/chunks/cli-1.1.10-b1hac494.mjs +2 -0
  126. package/dist/chunks/cli-1.1.10-b41dat7h.mjs +2 -0
  127. package/dist/chunks/cli-1.1.10-b6my5t3h.mjs +2 -0
  128. package/dist/chunks/cli-1.1.10-ba3fhh55.mjs +2 -0
  129. package/dist/chunks/cli-1.1.10-bpcmdnpg.mjs +2 -0
  130. package/dist/chunks/cli-1.1.10-bs5xjsav.mjs +39 -0
  131. package/dist/chunks/cli-1.1.10-c2wdnady.mjs +3 -0
  132. package/dist/chunks/cli-1.1.10-c3g5ab8n.mjs +2 -0
  133. package/dist/chunks/cli-1.1.10-c67v6p50.mjs +2 -0
  134. package/dist/chunks/cli-1.1.10-c77kxdjj.mjs +2 -0
  135. package/dist/chunks/cli-1.1.10-cbgx6hw2.mjs +9 -0
  136. package/dist/chunks/cli-1.1.10-cn0a8vwn.mjs +2 -0
  137. package/dist/chunks/cli-1.1.10-ct81y4qh.mjs +4 -0
  138. package/dist/chunks/cli-1.1.10-cvxq4g91.mjs +2 -0
  139. package/dist/chunks/cli-1.1.10-cyv1wwen.mjs +3 -0
  140. package/dist/chunks/cli-1.1.10-d15qrtw2.mjs +2 -0
  141. package/dist/chunks/cli-1.1.10-d4ncq82f.mjs +8 -0
  142. package/dist/chunks/cli-1.1.10-dppcc1yx.mjs +6 -0
  143. package/dist/chunks/cli-1.1.10-dvxkr02c.mjs +2 -0
  144. package/dist/chunks/cli-1.1.10-e7wxspgz.mjs +4 -0
  145. package/dist/chunks/cli-1.1.10-e8zhf6q8.mjs +2 -0
  146. package/dist/chunks/cli-1.1.10-ecahzspx.mjs +2 -0
  147. package/dist/chunks/cli-1.1.10-effpqe7k.mjs +2 -0
  148. package/dist/chunks/cli-1.1.10-ejwjw031.mjs +6 -0
  149. package/dist/chunks/cli-1.1.10-eqscqpev.mjs +3 -0
  150. package/dist/chunks/cli-1.1.10-erh9bkn9.mjs +24 -0
  151. package/dist/chunks/cli-1.1.10-ex9enqps.mjs +2 -0
  152. package/dist/chunks/cli-1.1.10-f00rps59.mjs +2 -0
  153. package/dist/chunks/cli-1.1.10-f2zv6ggd.mjs +2 -0
  154. package/dist/chunks/cli-1.1.10-f7dqg4nd.mjs +2 -0
  155. package/dist/chunks/cli-1.1.10-f8q95jfw.mjs +2 -0
  156. package/dist/chunks/cli-1.1.10-f8znbdgf.mjs +4 -0
  157. package/dist/chunks/cli-1.1.10-fdxccf2v.mjs +3 -0
  158. package/dist/chunks/cli-1.1.10-fkqba8ty.mjs +58 -0
  159. package/dist/chunks/cli-1.1.10-fsq46r6j.mjs +2 -0
  160. package/dist/chunks/cli-1.1.10-fz99ag3y.mjs +2 -0
  161. package/dist/chunks/cli-1.1.10-gafedg04.mjs +2 -0
  162. package/dist/chunks/cli-1.1.10-gjdh1yvr.mjs +2 -0
  163. package/dist/chunks/cli-1.1.10-gnmyahda.mjs +7 -0
  164. package/dist/chunks/cli-1.1.10-gr69gke8.mjs +15 -0
  165. package/dist/chunks/cli-1.1.10-gydf5ktx.mjs +2 -0
  166. package/dist/chunks/cli-1.1.10-h0b2x5t4.mjs +2 -0
  167. package/dist/chunks/cli-1.1.10-h49727f7.mjs +3 -0
  168. package/dist/chunks/cli-1.1.10-h4m6563f.mjs +4 -0
  169. package/dist/chunks/cli-1.1.10-hdz1r66z.mjs +2 -0
  170. package/dist/chunks/cli-1.1.10-hg2m67ya.mjs +15 -0
  171. package/dist/chunks/cli-1.1.10-hhkgpzgz.mjs +2 -0
  172. package/dist/chunks/cli-1.1.10-hk2c91wp.mjs +5379 -0
  173. package/dist/chunks/cli-1.1.10-hr4ety9s.mjs +2 -0
  174. package/dist/chunks/cli-1.1.10-hs44pkht.mjs +2 -0
  175. package/dist/chunks/cli-1.1.10-hx9513je.mjs +2 -0
  176. package/dist/chunks/cli-1.1.10-j20txpzn.mjs +2 -0
  177. package/dist/chunks/cli-1.1.10-j4vg803f.mjs +25 -0
  178. package/dist/chunks/cli-1.1.10-jd00fn0g.mjs +34 -0
  179. package/dist/chunks/cli-1.1.10-jeaf93w2.mjs +2 -0
  180. package/dist/chunks/cli-1.1.10-jfmgqmt5.mjs +17 -0
  181. package/dist/chunks/cli-1.1.10-jfwqa1gq.mjs +3 -0
  182. package/dist/chunks/cli-1.1.10-jn6w68wj.mjs +6 -0
  183. package/dist/chunks/cli-1.1.10-jp5ga1mx.mjs +2 -0
  184. package/dist/chunks/cli-1.1.10-jrpxc13y.mjs +2 -0
  185. package/dist/chunks/cli-1.1.10-jyk734bb.mjs +2 -0
  186. package/dist/chunks/cli-1.1.10-k9q658g7.mjs +2 -0
  187. package/dist/chunks/cli-1.1.10-kdvf271d.mjs +4 -0
  188. package/dist/chunks/cli-1.1.10-kdxm85xx.mjs +20 -0
  189. package/dist/chunks/cli-1.1.10-kw60xwcx.mjs +3 -0
  190. package/dist/chunks/cli-1.1.10-kxqtg1q9.mjs +2 -0
  191. package/dist/chunks/cli-1.1.10-kzbg67rw.mjs +5 -0
  192. package/dist/chunks/cli-1.1.10-m0pdck7q.mjs +202 -0
  193. package/dist/chunks/cli-1.1.10-m0xgys17.mjs +2 -0
  194. package/dist/chunks/cli-1.1.10-m10z6jbs.mjs +4 -0
  195. package/dist/chunks/cli-1.1.10-m86zy5vy.mjs +2 -0
  196. package/dist/chunks/cli-1.1.10-mawng745.mjs +12 -0
  197. package/dist/chunks/cli-1.1.10-mdkc2azc.mjs +2 -0
  198. package/dist/chunks/cli-1.1.10-mnbek10k.mjs +2 -0
  199. package/dist/chunks/cli-1.1.10-msg7sda2.mjs +59 -0
  200. package/dist/chunks/cli-1.1.10-mx6xpamf.mjs +2 -0
  201. package/dist/chunks/cli-1.1.10-n8ed7a8a.mjs +4 -0
  202. package/dist/chunks/cli-1.1.10-nfpy32s8.mjs +66 -0
  203. package/dist/chunks/cli-1.1.10-njf3620e.mjs +2 -0
  204. package/dist/chunks/cli-1.1.10-np84s5kd.mjs +2 -0
  205. package/dist/chunks/cli-1.1.10-ntrb7636.mjs +3 -0
  206. package/dist/chunks/cli-1.1.10-p28vy0yz.mjs +2 -0
  207. package/dist/chunks/cli-1.1.10-pkyv2v8k.mjs +2 -0
  208. package/dist/chunks/cli-1.1.10-ppft1w3p.mjs +2 -0
  209. package/dist/chunks/cli-1.1.10-psqaker4.mjs +2 -0
  210. package/dist/chunks/cli-1.1.10-pxdj0vvb.mjs +3 -0
  211. package/dist/chunks/cli-1.1.10-q2nbtgde.mjs +15 -0
  212. package/dist/chunks/cli-1.1.10-qh2qrbg9.mjs +2 -0
  213. package/dist/chunks/cli-1.1.10-qk19t6fd.mjs +2 -0
  214. package/dist/chunks/cli-1.1.10-qnswwjvv.mjs +4 -0
  215. package/dist/chunks/cli-1.1.10-qny1442k.mjs +2 -0
  216. package/dist/chunks/cli-1.1.10-qtkktme0.mjs +2 -0
  217. package/dist/chunks/cli-1.1.10-rgpghq5k.mjs +6 -0
  218. package/dist/chunks/cli-1.1.10-ryjne6pb.mjs +2 -0
  219. package/dist/chunks/cli-1.1.10-saacbyca.mjs +2 -0
  220. package/dist/chunks/cli-1.1.10-sbfv4gg3.mjs +2 -0
  221. package/dist/chunks/cli-1.1.10-sc2myky4.mjs +25 -0
  222. package/dist/chunks/cli-1.1.10-sdgrrb7v.mjs +2 -0
  223. package/dist/chunks/cli-1.1.10-sgrbnxr1.mjs +2 -0
  224. package/dist/chunks/cli-1.1.10-sv5wy20e.mjs +2 -0
  225. package/dist/chunks/cli-1.1.10-syrhp8d1.mjs +12 -0
  226. package/dist/chunks/cli-1.1.10-sz5x71xt.mjs +42 -0
  227. package/dist/chunks/cli-1.1.10-szjm5cs0.mjs +2 -0
  228. package/dist/chunks/cli-1.1.10-t0ypk4ke.mjs +2 -0
  229. package/dist/chunks/cli-1.1.10-t1vfqzsp.mjs +4 -0
  230. package/dist/chunks/cli-1.1.10-t3pn4ww9.mjs +2 -0
  231. package/dist/chunks/cli-1.1.10-t8n5jx0z.mjs +2 -0
  232. package/dist/chunks/cli-1.1.10-tntdtvhr.mjs +2 -0
  233. package/dist/chunks/cli-1.1.10-tnymg33g.mjs +2 -0
  234. package/dist/chunks/cli-1.1.10-tqfkjw71.mjs +2 -0
  235. package/dist/chunks/cli-1.1.10-trsts9v3.mjs +2 -0
  236. package/dist/chunks/cli-1.1.10-tv3hs8t2.mjs +2 -0
  237. package/dist/chunks/cli-1.1.10-ty52w0t8.mjs +2 -0
  238. package/dist/chunks/cli-1.1.10-v4mtt7fd.mjs +2 -0
  239. package/dist/chunks/cli-1.1.10-v9q9ddhz.mjs +2 -0
  240. package/dist/chunks/cli-1.1.10-vr1kd1f6.mjs +1 -0
  241. package/dist/chunks/cli-1.1.10-w6tkqgvq.mjs +2 -0
  242. package/dist/chunks/cli-1.1.10-w7zqsk0a.mjs +2 -0
  243. package/dist/chunks/cli-1.1.10-wb8bcef1.mjs +2 -0
  244. package/dist/chunks/cli-1.1.10-wjc9jsjt.mjs +2 -0
  245. package/dist/chunks/cli-1.1.10-wjcgsn42.mjs +24 -0
  246. package/dist/chunks/cli-1.1.10-wkzbqdmr.mjs +2 -0
  247. package/dist/chunks/cli-1.1.10-wm2kd8d3.mjs +5 -0
  248. package/dist/chunks/cli-1.1.10-wqc9fp4g.mjs +18 -0
  249. package/dist/chunks/cli-1.1.10-x7s7dnjf.mjs +2 -0
  250. package/dist/chunks/cli-1.1.10-x83wfqf9.mjs +4 -0
  251. package/dist/chunks/cli-1.1.10-x8dpgrgj.mjs +2 -0
  252. package/dist/chunks/cli-1.1.10-y4afn758.mjs +2 -0
  253. package/dist/chunks/cli-1.1.10-y8334h0w.mjs +3 -0
  254. package/dist/chunks/cli-1.1.10-y95f28g5.mjs +2 -0
  255. package/dist/chunks/cli-1.1.10-yzpymdrc.mjs +16 -0
  256. package/dist/chunks/cli-1.1.10-z0ddrtr1.mjs +2 -0
  257. package/dist/chunks/cli-1.1.10-z0zzjeej.mjs +4 -0
  258. package/dist/chunks/cli-1.1.10-z1mewb4a.mjs +3 -0
  259. package/dist/chunks/cli-1.1.10-zaq3qp5f.mjs +12 -0
  260. package/dist/chunks/client-1.1.10-n6skmcnp.mjs +1 -0
  261. package/dist/chunks/color-1.1.10-xgpy38nc.mjs +1 -0
  262. package/dist/chunks/compact-1.1.10-ywm45c47.mjs +3 -0
  263. package/dist/chunks/config-1.1.10-070kwjeg.mjs +1 -0
  264. package/dist/chunks/config-1.1.10-bvmgcws9.mjs +1 -0
  265. package/dist/chunks/constants-1.1.10-bfbmy8wz.mjs +1 -0
  266. package/dist/chunks/context-1.1.10-hfeqyewx.mjs +1 -0
  267. package/dist/chunks/context-noninteractive-1.1.10-ayept5ex.mjs +1 -0
  268. package/dist/chunks/conversation-1.1.10-eqnmzmgt.mjs +1 -0
  269. package/dist/chunks/copilotHeaders-1.1.10-rjwess9f.mjs +1 -0
  270. package/dist/chunks/copy-1.1.10-dvs7kz34.mjs +9 -0
  271. package/dist/chunks/cost-1.1.10-dk74vep1.mjs +1 -0
  272. package/dist/chunks/createSSHSession-1.1.10-dx93q1fp.mjs +1 -0
  273. package/dist/chunks/createSession-1.1.10-m7x38yn5.mjs +1 -0
  274. package/dist/chunks/debug-1.1.10-14v3zx1d.mjs +1 -0
  275. package/dist/chunks/defaultActionDeps-1.1.10-qa7ksxxs.mjs +1526 -0
  276. package/dist/chunks/desktop-1.1.10-yexkfd86.mjs +1 -0
  277. package/dist/chunks/detectRepository-1.1.10-71gvqxzs.mjs +1 -0
  278. package/dist/chunks/detection-1.1.10-ccdhhprp.mjs +1 -0
  279. package/dist/chunks/diff-1.1.10-m3gq5b6x.mjs +1 -0
  280. package/dist/chunks/doctor-1.1.10-td2cwcvc.mjs +1 -0
  281. package/dist/chunks/doctorDiagnostic-1.1.10-9c7dzt7n.mjs +1 -0
  282. package/dist/chunks/earlyInput-1.1.10-hz3yh50c.mjs +1 -0
  283. package/dist/chunks/effort-1.1.10-19pz34nx.mjs +13 -0
  284. package/dist/chunks/engine-1.1.10-44xhf5x0.mjs +1 -0
  285. package/dist/chunks/envLessBridgeConfig-1.1.10-4xe76fe7.mjs +1 -0
  286. package/dist/chunks/envUtils-1.1.10-dg023dvr.mjs +1 -0
  287. package/dist/chunks/environmentSelection-1.1.10-wrrx6jm9.mjs +1 -0
  288. package/dist/chunks/environments-1.1.10-x9feeaeq.mjs +1 -0
  289. package/dist/chunks/errors-1.1.10-yhgdas17.mjs +1 -0
  290. package/dist/chunks/exampleCommands-1.1.10-t5sggm4m.mjs +1 -0
  291. package/dist/chunks/execFileNoThrow-1.1.10-rgt8yj28.mjs +1 -0
  292. package/dist/chunks/exit-1.1.10-f5jn3kgb.mjs +1 -0
  293. package/dist/chunks/explorer-1.1.10-hex7p7et.mjs +1 -0
  294. package/dist/chunks/export-1.1.10-tqf9qfs4.mjs +2 -0
  295. package/dist/chunks/extra-usage-1.1.10-2ess7s1c.mjs +1 -0
  296. package/dist/chunks/extra-usage-noninteractive-1.1.10-rjjrh2xh.mjs +1 -0
  297. package/dist/chunks/fast-1.1.10-j2pmqx3f.mjs +1 -0
  298. package/dist/chunks/feedback-1.1.10-ae5vhd02.mjs +14 -0
  299. package/dist/chunks/firstPartyEventLogger-1.1.10-909y3hrr.mjs +1 -0
  300. package/dist/chunks/git-1.1.10-0v4t8ap3.mjs +1 -0
  301. package/dist/chunks/githubModelsCredentials-1.1.10-zfjn71v3.mjs +1 -0
  302. package/dist/chunks/goal-1.1.10-c1ngzwh9.mjs +4 -0
  303. package/dist/chunks/grove-1.1.10-1btbm4ss.mjs +1 -0
  304. package/dist/chunks/growthbook-1.1.10-jb56c9h4.mjs +1 -0
  305. package/dist/chunks/headless-1.1.10-ef38srvy.mjs +2 -0
  306. package/dist/chunks/heapdump-1.1.10-tp8h06gk.mjs +6 -0
  307. package/dist/chunks/help-1.1.10-d0kff6qz.mjs +1 -0
  308. package/dist/chunks/hookChains-1.1.10-dey6b4ns.mjs +3 -0
  309. package/dist/chunks/hooks-1.1.10-76n26ek9.mjs +79 -0
  310. package/dist/chunks/hooks-1.1.10-ke0jh0zh.mjs +1 -0
  311. package/dist/chunks/ide-1.1.10-8dv11nsj.mjs +3 -0
  312. package/dist/chunks/image-processor-napi-1.1.10-pdf041f5.mjs +1 -0
  313. package/dist/chunks/inboundAttachments-1.1.10-qaypt5tq.mjs +1 -0
  314. package/dist/chunks/index-1.1.10-21s5496v.mjs +23 -0
  315. package/dist/chunks/index-1.1.10-2eg2nfya.mjs +5 -0
  316. package/dist/chunks/index-1.1.10-3cnyfq9h.mjs +2 -0
  317. package/dist/chunks/index-1.1.10-4t4pr0x3.mjs +1 -0
  318. package/dist/chunks/index-1.1.10-5ckjpq80.mjs +1 -0
  319. package/dist/chunks/index-1.1.10-5mechh5k.mjs +1 -0
  320. package/dist/chunks/index-1.1.10-7hmv8qcy.mjs +30 -0
  321. package/dist/chunks/index-1.1.10-9v096e06.mjs +1 -0
  322. package/dist/chunks/index-1.1.10-abgftsv6.mjs +1 -0
  323. package/dist/chunks/index-1.1.10-ckjn4w4s.mjs +1 -0
  324. package/dist/chunks/index-1.1.10-ctta1ge7.mjs +1 -0
  325. package/dist/chunks/index-1.1.10-d57z21y9.mjs +9 -0
  326. package/dist/chunks/index-1.1.10-fnhrat0c.mjs +1 -0
  327. package/dist/chunks/index-1.1.10-fw2aa53g.mjs +1 -0
  328. package/dist/chunks/index-1.1.10-p4xpsvnc.mjs +1 -0
  329. package/dist/chunks/index-1.1.10-qzkv1wgv.mjs +1 -0
  330. package/dist/chunks/index-1.1.10-vk9vb3b3.mjs +9 -0
  331. package/dist/chunks/index-1.1.10-vxy96cge.mjs +1 -0
  332. package/dist/chunks/index-1.1.10-wsc6cpqa.mjs +1 -0
  333. package/dist/chunks/index-1.1.10-yvr6d150.mjs +1 -0
  334. package/dist/chunks/index-1.1.10-ywef0hmk.mjs +1 -0
  335. package/dist/chunks/index-1.1.10-zj3yzybb.mjs +1 -0
  336. package/dist/chunks/index-1.1.10-znghd3d1.mjs +2 -0
  337. package/dist/chunks/init-1.1.10-vd74ec5b.mjs +1 -0
  338. package/dist/chunks/initReplBridge-1.1.10-sgkbmqqp.mjs +1 -0
  339. package/dist/chunks/ink-1.1.10-n9qcenb6.mjs +1 -0
  340. package/dist/chunks/insights-1.1.10-jfrnsmw1.mjs +870 -0
  341. package/dist/chunks/install-1.1.10-wxs00yc5.mjs +1 -0
  342. package/dist/chunks/install-github-app-1.1.10-zxbkcqd1.mjs +149 -0
  343. package/dist/chunks/install-slack-app-1.1.10-tv0p6dq9.mjs +1 -0
  344. package/dist/chunks/instrumentation-1.1.10-fxcjzzc0.mjs +1 -0
  345. package/dist/chunks/interactiveHelpers-1.1.10-f7cwwren.mjs +1 -0
  346. package/dist/chunks/keybindings-1.1.10-b8121c36.mjs +2 -0
  347. package/dist/chunks/knowledge-1.1.10-tmxkye8d.mjs +2 -0
  348. package/dist/chunks/latestVersionCache-1.1.10-dtghtfgq.mjs +1 -0
  349. package/dist/chunks/loadAgentsDir-1.1.10-hh30mnyw.mjs +1 -0
  350. package/dist/chunks/loadPluginHooks-1.1.10-32f6reyc.mjs +1 -0
  351. package/dist/chunks/log-1.1.10-kvrqr31p.mjs +1 -0
  352. package/dist/chunks/main-1.1.10-fpywq82b.mjs +1 -0
  353. package/dist/chunks/managedEnv-1.1.10-0x8ncmb7.mjs +1 -0
  354. package/dist/chunks/mcp-1.1.10-0trfp77x.mjs +17 -0
  355. package/dist/chunks/mcp-1.1.10-j59azp3f.mjs +4 -0
  356. package/dist/chunks/mcp-1.1.10-tz7gvpxy.mjs +1 -0
  357. package/dist/chunks/mcpb-1.1.10-2ypk133j.mjs +1 -0
  358. package/dist/chunks/memory-1.1.10-hgcgdw39.mjs +72 -0
  359. package/dist/chunks/model-1.1.10-27ysny3w.mjs +1 -0
  360. package/dist/chunks/model-1.1.10-m4n7t06v.mjs +2 -0
  361. package/dist/chunks/node-1.1.10-gtb48qhp.mjs +12 -0
  362. package/dist/chunks/oauth-1.1.10-d6p06vbt.mjs +1 -0
  363. package/dist/chunks/openaiShim-1.1.10-e130485k.mjs +14 -0
  364. package/dist/chunks/output-style-1.1.10-mb75wr50.mjs +1 -0
  365. package/dist/chunks/package-L37ZVTF4-1.1.10-9a2hkd1x.mjs +1 -0
  366. package/dist/chunks/parseConnectUrl-1.1.10-h0c8png1.mjs +1 -0
  367. package/dist/chunks/parser-1.1.10-mw2brrzk.mjs +1 -0
  368. package/dist/chunks/passes-1.1.10-d8xzm3jv.mjs +1 -0
  369. package/dist/chunks/permissions-1.1.10-01fgr8vp.mjs +3 -0
  370. package/dist/chunks/permissions-1.1.10-jxhg9dnn.mjs +1 -0
  371. package/dist/chunks/plan-1.1.10-cqaej565.mjs +1 -0
  372. package/dist/chunks/plist-1.1.10-cssvr9wq.mjs +1 -0
  373. package/dist/chunks/plugin-1.1.10-zh92hjbn.mjs +29 -0
  374. package/dist/chunks/pluginStartupCheck-1.1.10-dk9bb5aj.mjs +1 -0
  375. package/dist/chunks/plugins-1.1.10-e40pek7s.mjs +9 -0
  376. package/dist/chunks/preActionHook-1.1.10-59kjxx2m.mjs +2 -0
  377. package/dist/chunks/print-1.1.10-exvxk5s6.mjs +57 -0
  378. package/dist/chunks/privacy-settings-1.1.10-4bdpnrms.mjs +1 -0
  379. package/dist/chunks/process-1.1.10-km5rbq9n.mjs +1 -0
  380. package/dist/chunks/processBashCommand-1.1.10-h4jmaj4v.mjs +1 -0
  381. package/dist/chunks/processSlashCommand-1.1.10-r7k9bvny.mjs +9 -0
  382. package/dist/chunks/prompt-1.1.10-01smdx9v.mjs +1 -0
  383. package/dist/chunks/prompt-1.1.10-e7736a74.mjs +1 -0
  384. package/dist/chunks/prompts-1.1.10-xq2654jw.mjs +1 -0
  385. package/dist/chunks/protocolHandler-1.1.10-y0y188tv.mjs +13 -0
  386. package/dist/chunks/provider-1.1.10-6w0w7pgq.mjs +2 -0
  387. package/dist/chunks/providerProfiles-1.1.10-z18shscr.mjs +1 -0
  388. package/dist/chunks/providerValidation-1.1.10-1dsjh7z9.mjs +6 -0
  389. package/dist/chunks/rate-limit-options-1.1.10-fe3cq8zn.mjs +1 -0
  390. package/dist/chunks/registerSubcommands-1.1.10-r3mc5gga.mjs +34 -0
  391. package/dist/chunks/registry-1.1.10-n9xv1qjw.mjs +1 -0
  392. package/dist/chunks/release-notes-1.1.10-2ecqsjx0.mjs +5 -0
  393. package/dist/chunks/reload-plugins-1.1.10-pb7wpz5e.mjs +2 -0
  394. package/dist/chunks/remote-env-1.1.10-tybykfn7.mjs +1 -0
  395. package/dist/chunks/remoteBridgeCore-1.1.10-crdtgqbs.mjs +1 -0
  396. package/dist/chunks/remoteSession-1.1.10-1egxb08k.mjs +1 -0
  397. package/dist/chunks/rename-1.1.10-0j2dbrfg.mjs +1 -0
  398. package/dist/chunks/replBridgeHandle-1.1.10-yf9vdp0m.mjs +1 -0
  399. package/dist/chunks/replLauncher-1.1.10-y2ykrkt0.mjs +1 -0
  400. package/dist/chunks/resume-1.1.10-e4w4vqsa.mjs +2 -0
  401. package/dist/chunks/rewind-1.1.10-2sjz5jw8.mjs +1 -0
  402. package/dist/chunks/rootOptions-1.1.10-5hysyde5.mjs +1 -0
  403. package/dist/chunks/runWorkflowHeadless-1.1.10-nengktmv.mjs +10 -0
  404. package/dist/chunks/sandbox-adapter-1.1.10-svdktpkg.mjs +1 -0
  405. package/dist/chunks/sandbox-toggle-1.1.10-q8da9hjz.mjs +1 -0
  406. package/dist/chunks/session-1.1.10-1g27gvqt.mjs +2 -0
  407. package/dist/chunks/sessionDiscovery-1.1.10-0hb3n5na.mjs +1 -0
  408. package/dist/chunks/sessionFileAccessHooks-1.1.10-z13dd76y.mjs +1 -0
  409. package/dist/chunks/sessionStorage-1.1.10-60nqzt83.mjs +1 -0
  410. package/dist/chunks/settings-1.1.10-95zpybsa.mjs +1 -0
  411. package/dist/chunks/setup-1.1.10-400hhq7t.mjs +5 -0
  412. package/dist/chunks/sinks-1.1.10-w9vqb1fc.mjs +1 -0
  413. package/dist/chunks/skills-1.1.10-4rvw7gjv.mjs +1 -0
  414. package/dist/chunks/startupProfiler-1.1.10-va3s727x.mjs +1 -0
  415. package/dist/chunks/startupUpdateCheck-1.1.10-en1qgfv4.mjs +1 -0
  416. package/dist/chunks/state-1.1.10-m7z4cc4k.mjs +1 -0
  417. package/dist/chunks/stats-1.1.10-zr2qwhhw.mjs +6 -0
  418. package/dist/chunks/status-1.1.10-shjkyaf2.mjs +1 -0
  419. package/dist/chunks/stickers-1.1.10-2q6r4f9v.mjs +1 -0
  420. package/dist/chunks/subprocessEnv-1.1.10-whznjthj.mjs +1 -0
  421. package/dist/chunks/tasks-1.1.10-xvxjn48w.mjs +1 -0
  422. package/dist/chunks/teamHelpers-1.1.10-3a06a8cd.mjs +1 -0
  423. package/dist/chunks/teammateModeSnapshot-1.1.10-yns217pf.mjs +1 -0
  424. package/dist/chunks/teleport-1.1.10-gc3e0hfm.mjs +1 -0
  425. package/dist/chunks/terminalSetup-1.1.10-4tqezn3j.mjs +1 -0
  426. package/dist/chunks/theme-1.1.10-qp7v8yaq.mjs +1 -0
  427. package/dist/chunks/thinkback-1.1.10-xyd2apjc.mjs +1 -0
  428. package/dist/chunks/thinkback-play-1.1.10-a5hhp9ca.mjs +1 -0
  429. package/dist/chunks/toolPool-1.1.10-n1hm8qqk.mjs +1 -0
  430. package/dist/chunks/toolSearch-1.1.10-29584y2q.mjs +1 -0
  431. package/dist/chunks/tools-1.1.10-yd9tmhpe.mjs +1 -0
  432. package/dist/chunks/trustedDevice-1.1.10-qs4pk9wc.mjs +1 -0
  433. package/dist/chunks/turndown.cjs-1.1.10-m0c9pvs3.mjs +69 -0
  434. package/dist/chunks/types-1.1.10-gz59ngmz.mjs +1 -0
  435. package/dist/chunks/ultrareviewCommand-1.1.10-8arx59cc.mjs +4 -0
  436. package/dist/chunks/update-1.1.10-1w823rha.mjs +72 -0
  437. package/dist/chunks/upgrade-1.1.10-0h5fvvfp.mjs +1 -0
  438. package/dist/chunks/upload-1.1.10-ge981abh.mjs +7 -0
  439. package/dist/chunks/upstreamproxy-1.1.10-80kjt167.mjs +14 -0
  440. package/dist/chunks/url-handler-napi-1.1.10-x60fj9h0.mjs +1 -0
  441. package/dist/chunks/usage-1.1.10-gxymk7vd.mjs +1 -0
  442. package/dist/chunks/util-1.1.10-s4sj88my.mjs +1 -0
  443. package/dist/chunks/utils-1.1.10-haynqk5y.mjs +1 -0
  444. package/dist/chunks/vim-1.1.10-6yhqt71v.mjs +1 -0
  445. package/dist/chunks/watchLoop-1.1.10-cg0f8n71.mjs +13 -0
  446. package/dist/chunks/watcher-1.1.10-y1qwkajd.mjs +1 -0
  447. package/dist/chunks/wiki-1.1.10-1djxp3tb.mjs +132 -0
  448. package/dist/chunks/workflows-1.1.10-brkbd7wc.mjs +1 -0
  449. package/dist/chunks/worktree-1.1.10-bn0ac41k.mjs +1 -0
  450. package/dist/chunks/worktreeModeEnabled-1.1.10-rhvwpn43.mjs +1 -0
  451. package/dist/chunks/wrapper-1.1.10-dthrwggp.mjs +7 -0
  452. package/dist/cli.mjs +2 -2
  453. package/package.json +9 -9
  454. package/dist/chunks/AgentTool-1.1.9-wkz9sjmc.mjs +0 -1
  455. package/dist/chunks/App-1.1.9-xgs7khyz.mjs +0 -1
  456. package/dist/chunks/ApproveApiKey-1.1.9-7gfmxnyz.mjs +0 -1
  457. package/dist/chunks/AssistantSessionChooser-1.1.9-pf08j23x.mjs +0 -1
  458. package/dist/chunks/AutoModeOptInDialog-1.1.9-4ze1tfxe.mjs +0 -1
  459. package/dist/chunks/BypassPermissionsModeDialog-1.1.9-ztaz7kpc.mjs +0 -1
  460. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.9-hzpy5qvh.mjs +0 -1
  461. package/dist/chunks/ConsoleOAuthFlow-1.1.9-ajjzhfrp.mjs +0 -1
  462. package/dist/chunks/DiffDialog-1.1.9-m3n0bamd.mjs +0 -7
  463. package/dist/chunks/Doctor-1.1.9-74y6nka7.mjs +0 -1
  464. package/dist/chunks/ExplorerDialog-1.1.9-9av1q0k2.mjs +0 -6
  465. package/dist/chunks/Grove-1.1.9-me7gmbqp.mjs +0 -1
  466. package/dist/chunks/ITermBackend-1.1.9-776dpey8.mjs +0 -1
  467. package/dist/chunks/InvalidConfigDialog-1.1.9-gzyybqqn.mjs +0 -1
  468. package/dist/chunks/InvalidSettingsDialog-1.1.9-e71y6pr4.mjs +0 -1
  469. package/dist/chunks/MigrationDialog-1.1.9-4bkckq3q.mjs +0 -1
  470. package/dist/chunks/Onboarding-1.1.9-d6c3hrvj.mjs +0 -1
  471. package/dist/chunks/ProviderManager-1.1.9-2dk7z5b6.mjs +0 -1
  472. package/dist/chunks/REPL-1.1.9-ds8mvm64.mjs +0 -1
  473. package/dist/chunks/ResumeConversation-1.1.9-2z1ye829.mjs +0 -1
  474. package/dist/chunks/SnapshotUpdateDialog-1.1.9-68k8x7yf.mjs +0 -1
  475. package/dist/chunks/TeleportProgress-1.1.9-anh2z73y.mjs +0 -1
  476. package/dist/chunks/TeleportRepoMismatchDialog-1.1.9-tedma9q3.mjs +0 -1
  477. package/dist/chunks/TeleportResumeWrapper-1.1.9-3n1b2vrf.mjs +0 -1
  478. package/dist/chunks/TmuxBackend-1.1.9-63awezwe.mjs +0 -9
  479. package/dist/chunks/ToolSearchTool-1.1.9-msa503cz.mjs +0 -1
  480. package/dist/chunks/TrustDialog-1.1.9-w058z417.mjs +0 -1
  481. package/dist/chunks/activeProvider-1.1.9-t27aw1nb.mjs +0 -1
  482. package/dist/chunks/add-dir-1.1.9-dxvbnrfa.mjs +0 -1
  483. package/dist/chunks/agentTypes-1.1.9-3kevh6af.mjs +0 -1
  484. package/dist/chunks/agents-1.1.9-eabf2wdc.mjs +0 -3
  485. package/dist/chunks/agents-1.1.9-nj93ac5m.mjs +0 -110
  486. package/dist/chunks/api-1.1.9-m1mrnd2p.mjs +0 -1
  487. package/dist/chunks/asciicast-1.1.9-d0kjtphm.mjs +0 -1
  488. package/dist/chunks/assistant-1.1.9-e3zkxz2m.mjs +0 -1
  489. package/dist/chunks/auth-1.1.9-8qm9p05y.mjs +0 -1
  490. package/dist/chunks/auth-1.1.9-gm4sybx1.mjs +0 -1
  491. package/dist/chunks/autoMode-1.1.9-p9fppced.mjs +0 -48
  492. package/dist/chunks/autoUpdater-1.1.9-m6etj2pr.mjs +0 -1
  493. package/dist/chunks/backgroundHousekeeping-1.1.9-4hvzygqr.mjs +0 -1
  494. package/dist/chunks/branch-1.1.9-wqszm8z2.mjs +0 -4
  495. package/dist/chunks/bridge-1.1.9-h886wtcd.mjs +0 -2
  496. package/dist/chunks/bridgeConfig-1.1.9-ehv4dp42.mjs +0 -1
  497. package/dist/chunks/bridgeEnabled-1.1.9-8qkc9feq.mjs +0 -1
  498. package/dist/chunks/bridgeMain-1.1.9-1sdw2z47.mjs +0 -88
  499. package/dist/chunks/bridgePointer-1.1.9-bvwdykpj.mjs +0 -1
  500. package/dist/chunks/btw-1.1.9-sm4j5bt8.mjs +0 -1
  501. package/dist/chunks/buddy-1.1.9-fesnzyh6.mjs +0 -3
  502. package/dist/chunks/cache-probe-1.1.9-6kzb7z5q.mjs +0 -21
  503. package/dist/chunks/cacheStats-1.1.9-9j06fcrx.mjs +0 -4
  504. package/dist/chunks/caches-1.1.9-4g38wyxp.mjs +0 -1
  505. package/dist/chunks/claudeDesktop-1.1.9-gd3bgkhe.mjs +0 -1
  506. package/dist/chunks/claudemd-1.1.9-7xr0h7qv.mjs +0 -1
  507. package/dist/chunks/clear-1.1.9-nadfsynk.mjs +0 -1
  508. package/dist/chunks/clearTerminal-1.1.9-48k9fftx.mjs +0 -1
  509. package/dist/chunks/cli-1.1.9-06k8vem7.mjs +0 -3
  510. package/dist/chunks/cli-1.1.9-0da4szeq.mjs +0 -2
  511. package/dist/chunks/cli-1.1.9-0dcyhvk3.mjs +0 -2
  512. package/dist/chunks/cli-1.1.9-0evqvwgb.mjs +0 -2
  513. package/dist/chunks/cli-1.1.9-0h7f33hw.mjs +0 -66
  514. package/dist/chunks/cli-1.1.9-0s7kmsaa.mjs +0 -6
  515. package/dist/chunks/cli-1.1.9-0w9c82qd.mjs +0 -2
  516. package/dist/chunks/cli-1.1.9-1932rbs7.mjs +0 -2
  517. package/dist/chunks/cli-1.1.9-1b1mw6v2.mjs +0 -6
  518. package/dist/chunks/cli-1.1.9-1ganj1qj.mjs +0 -1
  519. package/dist/chunks/cli-1.1.9-1gg4qe92.mjs +0 -4
  520. package/dist/chunks/cli-1.1.9-1q40zcz0.mjs +0 -2
  521. package/dist/chunks/cli-1.1.9-1ydmnrp6.mjs +0 -2
  522. package/dist/chunks/cli-1.1.9-223enqdr.mjs +0 -2
  523. package/dist/chunks/cli-1.1.9-22gp283h.mjs +0 -2
  524. package/dist/chunks/cli-1.1.9-260z6ry3.mjs +0 -3
  525. package/dist/chunks/cli-1.1.9-2t4pp98q.mjs +0 -133
  526. package/dist/chunks/cli-1.1.9-2wrs8key.mjs +0 -9
  527. package/dist/chunks/cli-1.1.9-2zeypqcv.mjs +0 -3
  528. package/dist/chunks/cli-1.1.9-3ajc04xt.mjs +0 -4
  529. package/dist/chunks/cli-1.1.9-3mgd7wkd.mjs +0 -20
  530. package/dist/chunks/cli-1.1.9-3nfhvvzw.mjs +0 -3
  531. package/dist/chunks/cli-1.1.9-3t9by3gn.mjs +0 -2
  532. package/dist/chunks/cli-1.1.9-4eqcxefk.mjs +0 -4
  533. package/dist/chunks/cli-1.1.9-4k5khbp0.mjs +0 -5
  534. package/dist/chunks/cli-1.1.9-4p8zymhf.mjs +0 -2
  535. package/dist/chunks/cli-1.1.9-4qctf8p1.mjs +0 -2
  536. package/dist/chunks/cli-1.1.9-4ygmyvas.mjs +0 -2
  537. package/dist/chunks/cli-1.1.9-4z0nxn7p.mjs +0 -3
  538. package/dist/chunks/cli-1.1.9-4z7ddbsc.mjs +0 -3
  539. package/dist/chunks/cli-1.1.9-573zndr8.mjs +0 -2
  540. package/dist/chunks/cli-1.1.9-5cr2dpgf.mjs +0 -2
  541. package/dist/chunks/cli-1.1.9-5hzaexj9.mjs +0 -2
  542. package/dist/chunks/cli-1.1.9-5v03p4xq.mjs +0 -2
  543. package/dist/chunks/cli-1.1.9-6a8pdm8s.mjs +0 -2
  544. package/dist/chunks/cli-1.1.9-6h5nwsn1.mjs +0 -18
  545. package/dist/chunks/cli-1.1.9-6kcc57kb.mjs +0 -42
  546. package/dist/chunks/cli-1.1.9-6mwsk9z2.mjs +0 -2
  547. package/dist/chunks/cli-1.1.9-6sv92w0b.mjs +0 -2
  548. package/dist/chunks/cli-1.1.9-79wdzxep.mjs +0 -4
  549. package/dist/chunks/cli-1.1.9-7y42yxmj.mjs +0 -2
  550. package/dist/chunks/cli-1.1.9-840ckwq8.mjs +0 -2
  551. package/dist/chunks/cli-1.1.9-890aswmq.mjs +0 -2
  552. package/dist/chunks/cli-1.1.9-8f0a6ved.mjs +0 -2
  553. package/dist/chunks/cli-1.1.9-8gkjdbxs.mjs +0 -202
  554. package/dist/chunks/cli-1.1.9-8gypdqm2.mjs +0 -2
  555. package/dist/chunks/cli-1.1.9-8sktt26v.mjs +0 -2
  556. package/dist/chunks/cli-1.1.9-8vfhjyxn.mjs +0 -2
  557. package/dist/chunks/cli-1.1.9-8xy2498p.mjs +0 -2
  558. package/dist/chunks/cli-1.1.9-8zhwfv3p.mjs +0 -2
  559. package/dist/chunks/cli-1.1.9-914mh2gv.mjs +0 -16
  560. package/dist/chunks/cli-1.1.9-97jvvqrz.mjs +0 -2
  561. package/dist/chunks/cli-1.1.9-98ypzgj0.mjs +0 -25
  562. package/dist/chunks/cli-1.1.9-9bqrz8qn.mjs +0 -2
  563. package/dist/chunks/cli-1.1.9-9f1te59e.mjs +0 -2
  564. package/dist/chunks/cli-1.1.9-9t7xx2r9.mjs +0 -2
  565. package/dist/chunks/cli-1.1.9-9yrwnzf6.mjs +0 -2
  566. package/dist/chunks/cli-1.1.9-a4c57zxm.mjs +0 -21
  567. package/dist/chunks/cli-1.1.9-a5z84t63.mjs +0 -2
  568. package/dist/chunks/cli-1.1.9-a6yyaw1d.mjs +0 -2
  569. package/dist/chunks/cli-1.1.9-a7x6qt7v.mjs +0 -6
  570. package/dist/chunks/cli-1.1.9-agbzpv77.mjs +0 -2
  571. package/dist/chunks/cli-1.1.9-ajr585mm.mjs +0 -4
  572. package/dist/chunks/cli-1.1.9-aqbj20gg.mjs +0 -2
  573. package/dist/chunks/cli-1.1.9-atdcgnab.mjs +0 -2
  574. package/dist/chunks/cli-1.1.9-atge24ab.mjs +0 -2
  575. package/dist/chunks/cli-1.1.9-ax8tkq65.mjs +0 -2
  576. package/dist/chunks/cli-1.1.9-b353901w.mjs +0 -2
  577. package/dist/chunks/cli-1.1.9-b78c2fws.mjs +0 -8
  578. package/dist/chunks/cli-1.1.9-b9ykbj6y.mjs +0 -17
  579. package/dist/chunks/cli-1.1.9-bc22evty.mjs +0 -2
  580. package/dist/chunks/cli-1.1.9-bftwnbgn.mjs +0 -5390
  581. package/dist/chunks/cli-1.1.9-bfyz4xjz.mjs +0 -2
  582. package/dist/chunks/cli-1.1.9-bwhdpxw6.mjs +0 -12
  583. package/dist/chunks/cli-1.1.9-c27gt3w1.mjs +0 -2
  584. package/dist/chunks/cli-1.1.9-c5wsttrd.mjs +0 -2
  585. package/dist/chunks/cli-1.1.9-c6nqtzv9.mjs +0 -2
  586. package/dist/chunks/cli-1.1.9-ckr5mgw1.mjs +0 -25
  587. package/dist/chunks/cli-1.1.9-ct1yqfqn.mjs +0 -2
  588. package/dist/chunks/cli-1.1.9-cwtcnyyj.mjs +0 -2
  589. package/dist/chunks/cli-1.1.9-d9wz5g8s.mjs +0 -2
  590. package/dist/chunks/cli-1.1.9-de902mzz.mjs +0 -2
  591. package/dist/chunks/cli-1.1.9-dh5213n0.mjs +0 -2
  592. package/dist/chunks/cli-1.1.9-dxt1d7jm.mjs +0 -2
  593. package/dist/chunks/cli-1.1.9-e0bejpfk.mjs +0 -2
  594. package/dist/chunks/cli-1.1.9-e1ak8jhn.mjs +0 -12
  595. package/dist/chunks/cli-1.1.9-e2ny87k0.mjs +0 -15
  596. package/dist/chunks/cli-1.1.9-e4jhw8xj.mjs +0 -2
  597. package/dist/chunks/cli-1.1.9-e5xq1msp.mjs +0 -58
  598. package/dist/chunks/cli-1.1.9-e6x7cyw4.mjs +0 -2
  599. package/dist/chunks/cli-1.1.9-egv4z3tf.mjs +0 -2
  600. package/dist/chunks/cli-1.1.9-ena9w4sg.mjs +0 -24
  601. package/dist/chunks/cli-1.1.9-etmwe3pd.mjs +0 -2
  602. package/dist/chunks/cli-1.1.9-ewst4gvt.mjs +0 -2
  603. package/dist/chunks/cli-1.1.9-ezkc7ag5.mjs +0 -2
  604. package/dist/chunks/cli-1.1.9-fcqz89mq.mjs +0 -2
  605. package/dist/chunks/cli-1.1.9-fdzgypr3.mjs +0 -3
  606. package/dist/chunks/cli-1.1.9-fqk44arm.mjs +0 -45
  607. package/dist/chunks/cli-1.1.9-frwdaeyw.mjs +0 -2
  608. package/dist/chunks/cli-1.1.9-fxyfgpjj.mjs +0 -2
  609. package/dist/chunks/cli-1.1.9-fy9kv0hx.mjs +0 -2
  610. package/dist/chunks/cli-1.1.9-fygnj03b.mjs +0 -2
  611. package/dist/chunks/cli-1.1.9-fzh3d8n1.mjs +0 -2
  612. package/dist/chunks/cli-1.1.9-ga16e8rd.mjs +0 -3
  613. package/dist/chunks/cli-1.1.9-gbtz45hn.mjs +0 -3
  614. package/dist/chunks/cli-1.1.9-gmb2wpqf.mjs +0 -2
  615. package/dist/chunks/cli-1.1.9-grhcdmgm.mjs +0 -2
  616. package/dist/chunks/cli-1.1.9-gttthtg1.mjs +0 -2
  617. package/dist/chunks/cli-1.1.9-gv5x5e8a.mjs +0 -2
  618. package/dist/chunks/cli-1.1.9-h45gam34.mjs +0 -2
  619. package/dist/chunks/cli-1.1.9-h66p9ghw.mjs +0 -2
  620. package/dist/chunks/cli-1.1.9-hq4kcpxc.mjs +0 -2
  621. package/dist/chunks/cli-1.1.9-j1bj4zfy.mjs +0 -2
  622. package/dist/chunks/cli-1.1.9-jah1vcdm.mjs +0 -2
  623. package/dist/chunks/cli-1.1.9-jaq6r6ba.mjs +0 -2
  624. package/dist/chunks/cli-1.1.9-jfyv5vb1.mjs +0 -7
  625. package/dist/chunks/cli-1.1.9-jmwr69v2.mjs +0 -2
  626. package/dist/chunks/cli-1.1.9-jn9kh16z.mjs +0 -39
  627. package/dist/chunks/cli-1.1.9-jqs0ktme.mjs +0 -2
  628. package/dist/chunks/cli-1.1.9-jqz75k6h.mjs +0 -4
  629. package/dist/chunks/cli-1.1.9-k0b62q76.mjs +0 -2
  630. package/dist/chunks/cli-1.1.9-k3tzdef2.mjs +0 -50
  631. package/dist/chunks/cli-1.1.9-k4gthvh4.mjs +0 -4
  632. package/dist/chunks/cli-1.1.9-k8kz8k9t.mjs +0 -2
  633. package/dist/chunks/cli-1.1.9-k9bbqwgs.mjs +0 -2
  634. package/dist/chunks/cli-1.1.9-kaxffmz4.mjs +0 -2
  635. package/dist/chunks/cli-1.1.9-kdavw6zm.mjs +0 -2
  636. package/dist/chunks/cli-1.1.9-kdgc8zvn.mjs +0 -24
  637. package/dist/chunks/cli-1.1.9-kdpv38ab.mjs +0 -2
  638. package/dist/chunks/cli-1.1.9-kgtexer1.mjs +0 -2
  639. package/dist/chunks/cli-1.1.9-khhnt4hq.mjs +0 -2
  640. package/dist/chunks/cli-1.1.9-khskdxps.mjs +0 -6
  641. package/dist/chunks/cli-1.1.9-kvk6ba28.mjs +0 -2
  642. package/dist/chunks/cli-1.1.9-kyn85fwa.mjs +0 -15
  643. package/dist/chunks/cli-1.1.9-kzqqvms6.mjs +0 -34
  644. package/dist/chunks/cli-1.1.9-m2x94hxw.mjs +0 -5
  645. package/dist/chunks/cli-1.1.9-md4ratv1.mjs +0 -4
  646. package/dist/chunks/cli-1.1.9-mdd84pmt.mjs +0 -2
  647. package/dist/chunks/cli-1.1.9-mgm6zdpx.mjs +0 -2
  648. package/dist/chunks/cli-1.1.9-mk4nfh2a.mjs +0 -2
  649. package/dist/chunks/cli-1.1.9-mp2pqq66.mjs +0 -24
  650. package/dist/chunks/cli-1.1.9-mt1mshmr.mjs +0 -2
  651. package/dist/chunks/cli-1.1.9-mw0y14ny.mjs +0 -133
  652. package/dist/chunks/cli-1.1.9-mz91g55f.mjs +0 -4
  653. package/dist/chunks/cli-1.1.9-n2qz0enm.mjs +0 -2
  654. package/dist/chunks/cli-1.1.9-n886v2tr.mjs +0 -2
  655. package/dist/chunks/cli-1.1.9-nacg7asv.mjs +0 -2
  656. package/dist/chunks/cli-1.1.9-nadf4arq.mjs +0 -2
  657. package/dist/chunks/cli-1.1.9-nbdn95s0.mjs +0 -2
  658. package/dist/chunks/cli-1.1.9-nbtds7y5.mjs +0 -2
  659. package/dist/chunks/cli-1.1.9-p24jbscq.mjs +0 -2
  660. package/dist/chunks/cli-1.1.9-pdcfc5y5.mjs +0 -3
  661. package/dist/chunks/cli-1.1.9-pjfvmwr9.mjs +0 -2
  662. package/dist/chunks/cli-1.1.9-ppnsbsqg.mjs +0 -2
  663. package/dist/chunks/cli-1.1.9-pr2kkmf8.mjs +0 -15
  664. package/dist/chunks/cli-1.1.9-pxbfakmz.mjs +0 -2
  665. package/dist/chunks/cli-1.1.9-qc93tafw.mjs +0 -2
  666. package/dist/chunks/cli-1.1.9-qr51aqsa.mjs +0 -2
  667. package/dist/chunks/cli-1.1.9-r5gk3nve.mjs +0 -2
  668. package/dist/chunks/cli-1.1.9-r7g33857.mjs +0 -2
  669. package/dist/chunks/cli-1.1.9-r7gng5fx.mjs +0 -2
  670. package/dist/chunks/cli-1.1.9-rawga9ty.mjs +0 -2
  671. package/dist/chunks/cli-1.1.9-rh6wjwvg.mjs +0 -2
  672. package/dist/chunks/cli-1.1.9-rjztj1ez.mjs +0 -9
  673. package/dist/chunks/cli-1.1.9-rmd68sfp.mjs +0 -2
  674. package/dist/chunks/cli-1.1.9-rvmgrj4q.mjs +0 -2
  675. package/dist/chunks/cli-1.1.9-s52npgq0.mjs +0 -2
  676. package/dist/chunks/cli-1.1.9-s5b8svr6.mjs +0 -3
  677. package/dist/chunks/cli-1.1.9-sbmesghv.mjs +0 -2
  678. package/dist/chunks/cli-1.1.9-se5tezpj.mjs +0 -3
  679. package/dist/chunks/cli-1.1.9-spn11xgr.mjs +0 -2
  680. package/dist/chunks/cli-1.1.9-sqfgvaz9.mjs +0 -2
  681. package/dist/chunks/cli-1.1.9-sxsgvz9x.mjs +0 -2
  682. package/dist/chunks/cli-1.1.9-tcx9qwzz.mjs +0 -18
  683. package/dist/chunks/cli-1.1.9-tt85wfyx.mjs +0 -2
  684. package/dist/chunks/cli-1.1.9-txs7wza6.mjs +0 -59
  685. package/dist/chunks/cli-1.1.9-tze0002b.mjs +0 -4
  686. package/dist/chunks/cli-1.1.9-v4hh4r8g.mjs +0 -2
  687. package/dist/chunks/cli-1.1.9-v6dh85e0.mjs +0 -4
  688. package/dist/chunks/cli-1.1.9-vhsgp7b5.mjs +0 -2
  689. package/dist/chunks/cli-1.1.9-vmggmsba.mjs +0 -2
  690. package/dist/chunks/cli-1.1.9-w3xqbxyp.mjs +0 -2
  691. package/dist/chunks/cli-1.1.9-w462299v.mjs +0 -3
  692. package/dist/chunks/cli-1.1.9-w4yjadk7.mjs +0 -2
  693. package/dist/chunks/cli-1.1.9-wg00txsx.mjs +0 -2
  694. package/dist/chunks/cli-1.1.9-wscqghf9.mjs +0 -2
  695. package/dist/chunks/cli-1.1.9-wsqhh56s.mjs +0 -2
  696. package/dist/chunks/cli-1.1.9-wx0fgtgp.mjs +0 -3
  697. package/dist/chunks/cli-1.1.9-wydc25pa.mjs +0 -2
  698. package/dist/chunks/cli-1.1.9-x1ame9j0.mjs +0 -2
  699. package/dist/chunks/cli-1.1.9-x9jz46tx.mjs +0 -2
  700. package/dist/chunks/cli-1.1.9-xa48sv5y.mjs +0 -6
  701. package/dist/chunks/cli-1.1.9-xccq68bp.mjs +0 -2
  702. package/dist/chunks/cli-1.1.9-xmqye6j6.mjs +0 -2
  703. package/dist/chunks/cli-1.1.9-xn1fx31s.mjs +0 -2
  704. package/dist/chunks/cli-1.1.9-xxwf95xq.mjs +0 -17
  705. package/dist/chunks/cli-1.1.9-ygp7jfm9.mjs +0 -2
  706. package/dist/chunks/cli-1.1.9-ytgc0me8.mjs +0 -2
  707. package/dist/chunks/cli-1.1.9-yw9403an.mjs +0 -24
  708. package/dist/chunks/cli-1.1.9-z0wenj5y.mjs +0 -6
  709. package/dist/chunks/cli-1.1.9-zhyjqy1b.mjs +0 -2
  710. package/dist/chunks/cli-1.1.9-zp9cpxw5.mjs +0 -12
  711. package/dist/chunks/cli-1.1.9-zv6e4k6z.mjs +0 -2
  712. package/dist/chunks/cli-1.1.9-zy71vgyg.mjs +0 -2
  713. package/dist/chunks/client-1.1.9-ew20apkg.mjs +0 -1
  714. package/dist/chunks/color-1.1.9-r9fb3e7k.mjs +0 -1
  715. package/dist/chunks/compact-1.1.9-ea493ntb.mjs +0 -3
  716. package/dist/chunks/config-1.1.9-6fxf7dj2.mjs +0 -1
  717. package/dist/chunks/config-1.1.9-snnk2z79.mjs +0 -1
  718. package/dist/chunks/constants-1.1.9-adx0a3k9.mjs +0 -1
  719. package/dist/chunks/context-1.1.9-nxs61bmq.mjs +0 -1
  720. package/dist/chunks/context-noninteractive-1.1.9-cppfq9pr.mjs +0 -1
  721. package/dist/chunks/conversation-1.1.9-3x6s0c83.mjs +0 -1
  722. package/dist/chunks/copilotHeaders-1.1.9-vvy4jfh7.mjs +0 -1
  723. package/dist/chunks/copy-1.1.9-sx84nhzr.mjs +0 -9
  724. package/dist/chunks/cost-1.1.9-msc3677c.mjs +0 -1
  725. package/dist/chunks/createSSHSession-1.1.9-cpa9c11q.mjs +0 -1
  726. package/dist/chunks/createSession-1.1.9-kapv4jes.mjs +0 -1
  727. package/dist/chunks/debug-1.1.9-h57648ft.mjs +0 -1
  728. package/dist/chunks/defaultActionDeps-1.1.9-j6kdarmk.mjs +0 -1526
  729. package/dist/chunks/desktop-1.1.9-4z5p38ma.mjs +0 -1
  730. package/dist/chunks/detectRepository-1.1.9-9c8ws2cg.mjs +0 -1
  731. package/dist/chunks/detection-1.1.9-2vb502cf.mjs +0 -1
  732. package/dist/chunks/diff-1.1.9-8m7str6k.mjs +0 -1
  733. package/dist/chunks/doctor-1.1.9-0f6jzgas.mjs +0 -1
  734. package/dist/chunks/doctorDiagnostic-1.1.9-w983dv1c.mjs +0 -1
  735. package/dist/chunks/earlyInput-1.1.9-c047s7qm.mjs +0 -1
  736. package/dist/chunks/effort-1.1.9-5qnffzr4.mjs +0 -13
  737. package/dist/chunks/engine-1.1.9-5jjj151c.mjs +0 -1
  738. package/dist/chunks/envLessBridgeConfig-1.1.9-jex25t6e.mjs +0 -1
  739. package/dist/chunks/envUtils-1.1.9-krdbmbwa.mjs +0 -1
  740. package/dist/chunks/environmentSelection-1.1.9-nbbgerx3.mjs +0 -1
  741. package/dist/chunks/environments-1.1.9-1t7bdxn2.mjs +0 -1
  742. package/dist/chunks/errors-1.1.9-e3vc9p8s.mjs +0 -1
  743. package/dist/chunks/exampleCommands-1.1.9-xazstg5e.mjs +0 -1
  744. package/dist/chunks/execFileNoThrow-1.1.9-c14n54h8.mjs +0 -1
  745. package/dist/chunks/exit-1.1.9-r4x4th0b.mjs +0 -1
  746. package/dist/chunks/explorer-1.1.9-wdzp1dsf.mjs +0 -1
  747. package/dist/chunks/export-1.1.9-0zmn3m1m.mjs +0 -2
  748. package/dist/chunks/extra-usage-1.1.9-v3cypezj.mjs +0 -1
  749. package/dist/chunks/extra-usage-noninteractive-1.1.9-1b722pj8.mjs +0 -1
  750. package/dist/chunks/fast-1.1.9-ys3bnnx1.mjs +0 -1
  751. package/dist/chunks/feedback-1.1.9-xtbxr07t.mjs +0 -14
  752. package/dist/chunks/firstPartyEventLogger-1.1.9-anc9n41n.mjs +0 -1
  753. package/dist/chunks/git-1.1.9-9dmxfhs7.mjs +0 -1
  754. package/dist/chunks/githubModelsCredentials-1.1.9-tyw52d6k.mjs +0 -1
  755. package/dist/chunks/goal-1.1.9-64kdsaz8.mjs +0 -4
  756. package/dist/chunks/grove-1.1.9-feqpprte.mjs +0 -1
  757. package/dist/chunks/growthbook-1.1.9-5haradn1.mjs +0 -1
  758. package/dist/chunks/headless-1.1.9-x413dfed.mjs +0 -2
  759. package/dist/chunks/heapdump-1.1.9-z0mn192y.mjs +0 -6
  760. package/dist/chunks/help-1.1.9-fsng3h1g.mjs +0 -1
  761. package/dist/chunks/hookChains-1.1.9-h0b5hx6z.mjs +0 -3
  762. package/dist/chunks/hooks-1.1.9-gsjxxhxg.mjs +0 -79
  763. package/dist/chunks/hooks-1.1.9-hhydka88.mjs +0 -1
  764. package/dist/chunks/ide-1.1.9-ke6a38yk.mjs +0 -3
  765. package/dist/chunks/image-processor-napi-1.1.9-0cf7sh4j.mjs +0 -1
  766. package/dist/chunks/inboundAttachments-1.1.9-j5vez7jv.mjs +0 -1
  767. package/dist/chunks/index-1.1.9-1cqvjp5p.mjs +0 -1
  768. package/dist/chunks/index-1.1.9-1pambxgy.mjs +0 -1
  769. package/dist/chunks/index-1.1.9-2gb6syse.mjs +0 -1
  770. package/dist/chunks/index-1.1.9-2sk8q3x9.mjs +0 -30
  771. package/dist/chunks/index-1.1.9-3wevfp37.mjs +0 -1
  772. package/dist/chunks/index-1.1.9-3xm5j58t.mjs +0 -1
  773. package/dist/chunks/index-1.1.9-66dcm0v8.mjs +0 -1
  774. package/dist/chunks/index-1.1.9-6skqhhzf.mjs +0 -1
  775. package/dist/chunks/index-1.1.9-97yrmssd.mjs +0 -1
  776. package/dist/chunks/index-1.1.9-a0nf5r6f.mjs +0 -1
  777. package/dist/chunks/index-1.1.9-a6c1xz4e.mjs +0 -2
  778. package/dist/chunks/index-1.1.9-ad1rhnqp.mjs +0 -9
  779. package/dist/chunks/index-1.1.9-bw0cax5s.mjs +0 -2
  780. package/dist/chunks/index-1.1.9-h341k1xk.mjs +0 -1
  781. package/dist/chunks/index-1.1.9-jneayavn.mjs +0 -23
  782. package/dist/chunks/index-1.1.9-nc3014dy.mjs +0 -1
  783. package/dist/chunks/index-1.1.9-r1qk4xvr.mjs +0 -1
  784. package/dist/chunks/index-1.1.9-sfyz5cb7.mjs +0 -9
  785. package/dist/chunks/index-1.1.9-sg4e7zkb.mjs +0 -5
  786. package/dist/chunks/index-1.1.9-wkj78xgk.mjs +0 -1
  787. package/dist/chunks/index-1.1.9-wqjwb4zm.mjs +0 -1
  788. package/dist/chunks/index-1.1.9-x3yr70wm.mjs +0 -1
  789. package/dist/chunks/index-1.1.9-yznkq9s3.mjs +0 -1
  790. package/dist/chunks/init-1.1.9-0pss5n1w.mjs +0 -1
  791. package/dist/chunks/initReplBridge-1.1.9-xn4x74kj.mjs +0 -1
  792. package/dist/chunks/ink-1.1.9-zwhy78y6.mjs +0 -1
  793. package/dist/chunks/insights-1.1.9-hgpde32q.mjs +0 -870
  794. package/dist/chunks/install-1.1.9-34x0hj9y.mjs +0 -1
  795. package/dist/chunks/install-github-app-1.1.9-9sw6tr8d.mjs +0 -149
  796. package/dist/chunks/install-slack-app-1.1.9-sddcp9xd.mjs +0 -1
  797. package/dist/chunks/instrumentation-1.1.9-b52jmsm9.mjs +0 -1
  798. package/dist/chunks/interactiveHelpers-1.1.9-9d7d8js5.mjs +0 -1
  799. package/dist/chunks/keybindings-1.1.9-8amnba42.mjs +0 -2
  800. package/dist/chunks/knowledge-1.1.9-kz84fs8v.mjs +0 -2
  801. package/dist/chunks/latestVersionCache-1.1.9-d4kwr00h.mjs +0 -1
  802. package/dist/chunks/loadAgentsDir-1.1.9-smk51q1t.mjs +0 -1
  803. package/dist/chunks/loadPluginHooks-1.1.9-a8ny49aa.mjs +0 -1
  804. package/dist/chunks/log-1.1.9-e9py7g1v.mjs +0 -1
  805. package/dist/chunks/main-1.1.9-vx43js6g.mjs +0 -1
  806. package/dist/chunks/managedEnv-1.1.9-zdhg1zfw.mjs +0 -1
  807. package/dist/chunks/mcp-1.1.9-66xztk7e.mjs +0 -4
  808. package/dist/chunks/mcp-1.1.9-6q4s5vpd.mjs +0 -1
  809. package/dist/chunks/mcp-1.1.9-sgvnwe73.mjs +0 -17
  810. package/dist/chunks/mcpb-1.1.9-67ew9jzm.mjs +0 -1
  811. package/dist/chunks/memory-1.1.9-d580fc8g.mjs +0 -72
  812. package/dist/chunks/model-1.1.9-n7gjmzqe.mjs +0 -2
  813. package/dist/chunks/model-1.1.9-r24h6ebx.mjs +0 -1
  814. package/dist/chunks/node-1.1.9-kx2wx79w.mjs +0 -12
  815. package/dist/chunks/oauth-1.1.9-mb03cbrk.mjs +0 -1
  816. package/dist/chunks/openaiShim-1.1.9-7n9g3sj8.mjs +0 -14
  817. package/dist/chunks/output-style-1.1.9-eb07k735.mjs +0 -1
  818. package/dist/chunks/package-L37ZVTF4-1.1.9-s5ve90jq.mjs +0 -1
  819. package/dist/chunks/parseConnectUrl-1.1.9-zdgekp41.mjs +0 -1
  820. package/dist/chunks/parser-1.1.9-v7w400w6.mjs +0 -1
  821. package/dist/chunks/passes-1.1.9-eq2gaejx.mjs +0 -1
  822. package/dist/chunks/permissions-1.1.9-e410dndk.mjs +0 -1
  823. package/dist/chunks/permissions-1.1.9-qdtk36nc.mjs +0 -3
  824. package/dist/chunks/plan-1.1.9-fz63v9vy.mjs +0 -1
  825. package/dist/chunks/plist-1.1.9-vvf1dmeh.mjs +0 -1
  826. package/dist/chunks/plugin-1.1.9-5wgxw7e5.mjs +0 -29
  827. package/dist/chunks/pluginStartupCheck-1.1.9-wsqp215d.mjs +0 -1
  828. package/dist/chunks/plugins-1.1.9-gn7vrvsn.mjs +0 -9
  829. package/dist/chunks/preActionHook-1.1.9-hk5p06zk.mjs +0 -2
  830. package/dist/chunks/print-1.1.9-ccqx25s0.mjs +0 -57
  831. package/dist/chunks/privacy-settings-1.1.9-53703vc6.mjs +0 -1
  832. package/dist/chunks/process-1.1.9-6e5jfgee.mjs +0 -1
  833. package/dist/chunks/processBashCommand-1.1.9-q27mqh31.mjs +0 -1
  834. package/dist/chunks/processSlashCommand-1.1.9-pmx45pst.mjs +0 -9
  835. package/dist/chunks/prompt-1.1.9-2374kg79.mjs +0 -1
  836. package/dist/chunks/prompt-1.1.9-rmzk76ja.mjs +0 -1
  837. package/dist/chunks/prompts-1.1.9-vw2cgjmn.mjs +0 -1
  838. package/dist/chunks/protocolHandler-1.1.9-5qy2tmvh.mjs +0 -13
  839. package/dist/chunks/provider-1.1.9-a55a0767.mjs +0 -2
  840. package/dist/chunks/providerProfiles-1.1.9-0qf6737w.mjs +0 -1
  841. package/dist/chunks/providerValidation-1.1.9-xy0peh3y.mjs +0 -6
  842. package/dist/chunks/rate-limit-options-1.1.9-3mv4vcm2.mjs +0 -1
  843. package/dist/chunks/registerSubcommands-1.1.9-xwrrc93y.mjs +0 -34
  844. package/dist/chunks/registry-1.1.9-nhs76azt.mjs +0 -1
  845. package/dist/chunks/release-notes-1.1.9-evdvm41n.mjs +0 -5
  846. package/dist/chunks/reload-plugins-1.1.9-nsan544v.mjs +0 -2
  847. package/dist/chunks/remote-env-1.1.9-wqd0jdhv.mjs +0 -1
  848. package/dist/chunks/remoteBridgeCore-1.1.9-epxhjpaw.mjs +0 -1
  849. package/dist/chunks/remoteSession-1.1.9-80pvqseg.mjs +0 -1
  850. package/dist/chunks/rename-1.1.9-t6q4frnz.mjs +0 -1
  851. package/dist/chunks/replBridgeHandle-1.1.9-fhcz3nmf.mjs +0 -1
  852. package/dist/chunks/replLauncher-1.1.9-k6bt66pp.mjs +0 -1
  853. package/dist/chunks/resume-1.1.9-f8pqevkb.mjs +0 -2
  854. package/dist/chunks/rewind-1.1.9-mqnvjgnw.mjs +0 -1
  855. package/dist/chunks/rootOptions-1.1.9-hm3xq5ew.mjs +0 -1
  856. package/dist/chunks/runWorkflowHeadless-1.1.9-yzzt2wgy.mjs +0 -10
  857. package/dist/chunks/sandbox-adapter-1.1.9-djbmdqmh.mjs +0 -1
  858. package/dist/chunks/sandbox-toggle-1.1.9-ca1f9nar.mjs +0 -1
  859. package/dist/chunks/session-1.1.9-1h4w7jv2.mjs +0 -2
  860. package/dist/chunks/sessionDiscovery-1.1.9-4xav26hz.mjs +0 -1
  861. package/dist/chunks/sessionFileAccessHooks-1.1.9-76sy9frv.mjs +0 -1
  862. package/dist/chunks/sessionStorage-1.1.9-054r3b21.mjs +0 -1
  863. package/dist/chunks/settings-1.1.9-6xnvy3wf.mjs +0 -1
  864. package/dist/chunks/setup-1.1.9-ryytyyyq.mjs +0 -5
  865. package/dist/chunks/sinks-1.1.9-1tmn5q67.mjs +0 -1
  866. package/dist/chunks/skills-1.1.9-21b3ema9.mjs +0 -1
  867. package/dist/chunks/startupProfiler-1.1.9-4cynjbh6.mjs +0 -1
  868. package/dist/chunks/startupUpdateCheck-1.1.9-0zeaaev8.mjs +0 -1
  869. package/dist/chunks/state-1.1.9-4vnhh3s5.mjs +0 -1
  870. package/dist/chunks/stats-1.1.9-n37acpyb.mjs +0 -6
  871. package/dist/chunks/status-1.1.9-e7fgh9na.mjs +0 -1
  872. package/dist/chunks/stickers-1.1.9-vpzantjb.mjs +0 -1
  873. package/dist/chunks/subprocessEnv-1.1.9-qja4apm2.mjs +0 -1
  874. package/dist/chunks/tasks-1.1.9-xvrvpcpf.mjs +0 -1
  875. package/dist/chunks/teamHelpers-1.1.9-kc45263x.mjs +0 -1
  876. package/dist/chunks/teammateModeSnapshot-1.1.9-5jf6f8yz.mjs +0 -1
  877. package/dist/chunks/teleport-1.1.9-f1mzkj3j.mjs +0 -1
  878. package/dist/chunks/terminalSetup-1.1.9-7xczc9pg.mjs +0 -1
  879. package/dist/chunks/theme-1.1.9-xnntw39r.mjs +0 -1
  880. package/dist/chunks/thinkback-1.1.9-2agv1je1.mjs +0 -1
  881. package/dist/chunks/thinkback-play-1.1.9-0f61agae.mjs +0 -1
  882. package/dist/chunks/toolPool-1.1.9-x4dvej7a.mjs +0 -1
  883. package/dist/chunks/toolSearch-1.1.9-2n3qz8m6.mjs +0 -1
  884. package/dist/chunks/tools-1.1.9-2st9wxya.mjs +0 -1
  885. package/dist/chunks/trustedDevice-1.1.9-24j13chh.mjs +0 -1
  886. package/dist/chunks/turndown.cjs-1.1.9-6a2bdbmc.mjs +0 -69
  887. package/dist/chunks/types-1.1.9-hx767c40.mjs +0 -1
  888. package/dist/chunks/ultrareviewCommand-1.1.9-1d65a9qv.mjs +0 -4
  889. package/dist/chunks/update-1.1.9-2qs71qk6.mjs +0 -72
  890. package/dist/chunks/upgrade-1.1.9-4m89wfqh.mjs +0 -1
  891. package/dist/chunks/upload-1.1.9-141vg13j.mjs +0 -7
  892. package/dist/chunks/upstreamproxy-1.1.9-1hh4dkwb.mjs +0 -14
  893. package/dist/chunks/url-handler-napi-1.1.9-awan17cf.mjs +0 -1
  894. package/dist/chunks/usage-1.1.9-3e6gg2kg.mjs +0 -1
  895. package/dist/chunks/util-1.1.9-jy80stt8.mjs +0 -1
  896. package/dist/chunks/utils-1.1.9-k4q7cea1.mjs +0 -1
  897. package/dist/chunks/vim-1.1.9-s13xmm4h.mjs +0 -1
  898. package/dist/chunks/watchLoop-1.1.9-cbww8p0b.mjs +0 -13
  899. package/dist/chunks/watcher-1.1.9-2mym56cs.mjs +0 -1
  900. package/dist/chunks/wiki-1.1.9-yyjrhwn4.mjs +0 -132
  901. package/dist/chunks/workflows-1.1.9-4jccerzk.mjs +0 -1
  902. package/dist/chunks/worktree-1.1.9-fq2ry5d2.mjs +0 -1
  903. package/dist/chunks/worktreeModeEnabled-1.1.9-42k3m5c3.mjs +0 -1
  904. package/dist/chunks/wrapper-1.1.9-8kjvkg3x.mjs +0 -7
  905. /package/dist/chunks/{cli-1.1.9-gpmbky2h.mjs → cli-1.1.10-436vz31m.mjs} +0 -0
  906. /package/dist/chunks/{cli-1.1.9-q384fwfa.mjs → cli-1.1.10-99ep1sr9.mjs} +0 -0
  907. /package/dist/chunks/{cli-1.1.9-jew2xd4p.mjs → cli-1.1.10-cgan8hpz.mjs} +0 -0
  908. /package/dist/chunks/{cli-1.1.9-b3za9cts.mjs → cli-1.1.10-fnvz77rd.mjs} +0 -0
  909. /package/dist/chunks/{cli-1.1.9-fws7k6ak.mjs → cli-1.1.10-gmf5w0a4.mjs} +0 -0
  910. /package/dist/chunks/{cli-1.1.9-bk3tqt6v.mjs → cli-1.1.10-wvw85hk5.mjs} +0 -0
  911. /package/dist/chunks/{cli-1.1.9-s66nvzb4.mjs → cli-1.1.10-xkq6mdj6.mjs} +0 -0
@@ -1,2 +0,0 @@
1
- import{$n as Uf,$x as g,_n as Xf,ay as Zf,cy as _f}from"./cli-1.1.9-bftwnbgn.mjs";import{AY as Wf,BY as Tf}from"./cli-1.1.9-ezkc7ag5.mjs";import{BZ as n,F1 as a,HZ as s,IZ as If,Y0 as F,Z0 as cf,_0 as r,a1 as q,e1 as Vf}from"./cli-1.1.9-txs7wza6.mjs";import{h4 as Qf,i4 as H,j4 as X,k4 as T}from"./cli-1.1.9-5cr2dpgf.mjs";import{l4 as Rf}from"./cli-1.1.9-ax8tkq65.mjs";import{C6 as p,D6 as Ef,a6 as Nf,c6 as b,d6 as _,e6 as Hf,g6 as j,j6 as qf,l6 as zf,t6 as Jf,u6 as hf,z6 as M}from"./cli-1.1.9-914mh2gv.mjs";import{p9 as i,q9 as yf}from"./cli-1.1.9-xa48sv5y.mjs";import{Fba as w,Lda as Gf,Oea as l,Wba as Bf,Xda as Cf,hfa as Pf}from"./cli-1.1.9-8gkjdbxs.mjs";import{cha as mf,kha as Of}from"./cli-1.1.9-k4gthvh4.mjs";import{Jja as D,Mja as Lf}from"./cli-1.1.9-573zndr8.mjs";import{Usa as x,Ysa as o}from"./cli-1.1.9-fws7k6ak.mjs";function e(m){let f=t.c(2),{cooldown:G}=m;if(G){let z;if(f[0]===Symbol.for("react.memo_cache_sentinel"))z=H(q,{color:"promptBorder",dimColor:!0,children:w}),f[0]=z;else z=f[0];return z}let N;if(f[1]===Symbol.for("react.memo_cache_sentinel"))N=H(q,{color:"fastMode",children:w}),f[1]=N;else N=f[1];return N}function U(m=!0,f=!1){if(!m)return w;let G=s(l().theme);if(f)return i.dim(F("promptBorder",G)(w));return F("fastMode",G)(w)}var t;var ff=o(()=>{yf();Bf();a();Pf();If();cf();T();t=x(n(),1)});function S(m,f){if(zf(),Gf("userSettings",{fastMode:m?!0:void 0}),m)f((G)=>{let N=!j(G.mainLoopModel);return{...G,...N?{mainLoopModel:Hf(),mainLoopModelForSession:null}:{},fastMode:!0}});else f((G)=>({...G,fastMode:!1}))}function Df(m){let f=kf.c(30),{onDone:G,unavailableReason:N}=m,z=g(vf),V=g(Af),W=Zf(),[J,wf]=Kf.useState(V??!1),y;if(f[0]===Symbol.for("react.memo_cache_sentinel"))y=qf(),f[0]=y;else y=f[0];let B=y,$=B.status==="cooldown",Q=N!==null,P;if(f[1]===Symbol.for("react.memo_cache_sentinel"))P=p(M(!0)),f[1]=P;else P=f[1];let d=P,I;if(f[2]!==J||f[3]!==Q||f[4]!==z||f[5]!==G||f[6]!==W)I=function(){if(Q)return;if(S(J,W),D("tengu_fast_mode_toggled",{enabled:J,source:"picker"}),J){let v=U(J),rf=!j(z)?` · model set to ${_}`:"";G(`${v} Fast mode ON${rf} · ${d}`)}else W(uf),G("Fast mode OFF")},f[2]=J,f[3]=Q,f[4]=z,f[5]=G,f[6]=W,f[7]=I;else I=f[7];let u=I,c;if(f[8]!==V||f[9]!==Q||f[10]!==G||f[11]!==W)c=function(){if(Q){if(V)S(!1,W);G("Fast mode OFF",{display:"system"});return}let v=V?`${U()} Kept Fast mode ON`:"Kept Fast mode OFF";G(v,{display:"system"})},f[8]=V,f[9]=Q,f[10]=G,f[11]=W,f[12]=c;else c=f[12];let A=c,L;if(f[13]!==Q)L=function(){if(Q)return;wf(jf)},f[13]=Q,f[14]=L;else L=f[14];let Z=L,O;if(f[15]!==u||f[16]!==Z)O={"confirm:yes":u,"confirm:nextField":Z,"confirm:next":Z,"confirm:previous":Z,"confirm:cycleMode":Z,"confirm:toggle":Z},f[15]=u,f[16]=Z,f[17]=O;else O=f[17];let C;if(f[18]===Symbol.for("react.memo_cache_sentinel"))C={context:"Confirmation"},f[18]=C;else C=f[18];Wf(O,C);let h;if(f[19]===Symbol.for("react.memo_cache_sentinel"))h=X(q,{children:[H(e,{cooldown:$})," Fast mode (research preview)"]}),f[19]=h;else h=f[19];let Yf=h,k;if(f[20]!==Q)k=(Y)=>Y.pending?X(q,{children:["Press ",Y.keyName," again to exit"]}):Q?H(q,{children:"Esc to cancel"}):H(q,{children:"Tab to toggle · Enter to confirm · Esc to cancel"}),f[20]=Q,f[21]=k;else k=f[21];let K;if(f[22]!==J||f[23]!==N)K=N?H(r,{marginLeft:2,children:H(q,{color:"error",children:N})}):X(Qf,{children:[H(r,{flexDirection:"column",gap:0,marginLeft:2,children:X(r,{flexDirection:"row",gap:2,children:[H(q,{bold:!0,children:"Fast mode"}),H(q,{color:J?"fastMode":void 0,bold:J,children:J?"ON ":"OFF"}),H(q,{dimColor:!0,children:d})]})}),$&&B.status==="cooldown"&&H(r,{marginLeft:2,children:X(q,{color:"warning",children:[B.reason==="overloaded"?"Fast mode overloaded and is temporarily unavailable":"You've hit your fast limit"," · resets in ",mf(B.resetAt-Date.now(),{hideTrailingZeros:!0})]})})]}),f[22]=J,f[23]=N,f[24]=K;else K=f[24];let E;if(f[25]===Symbol.for("react.memo_cache_sentinel"))E=X(q,{dimColor:!0,children:["Learn more:"," ",H(Vf,{url:"https://code.claude.com/docs/en/fast-mode",children:"https://code.claude.com/docs/en/fast-mode"})]}),f[25]=E;else E=f[25];let R;if(f[26]!==A||f[27]!==K||f[28]!==k)R=X(Xf,{title:Yf,subtitle:`High-speed mode for ${_}. Billed as extra usage at a premium rate. Separate rate limits apply.`,onCancel:A,color:"fastMode",inputGuide:k,children:[K,E]}),f[26]=A,f[27]=K,f[28]=k,f[29]=R;else R=f[29];return R}function jf(m){return!m}function uf(m){return{...m,fastMode:!1}}function Af(m){return m.fastMode}function vf(m){return m.mainLoopModel}async function Ff(m,f,G){let N=b();if(N)return`Fast mode unavailable: ${N}`;let{mainLoopModel:z}=f();if(S(m,G),D("tengu_fast_mode_toggled",{enabled:m,source:"shortcut"}),m){let V=U(!0),W=!j(z)?` · model set to ${_}`:"",J=p(M(!0));return`${V} Fast mode ON${W} · ${J}`}else return"Fast mode OFF"}async function H0(m,f,G){if(!Nf())return null;await Jf();let N=G?.trim().toLowerCase();if(N==="on"||N==="off"){let V=await Ff(N==="on",f.getAppState,f.setAppState);return m(V),null}let z=b();return D("tengu_fast_mode_picker_shown",{unavailable_reason:z??""}),H(Df,{onDone:m,unavailableReason:z})}var kf,Kf;var xf=o(()=>{Uf();ff();a();Tf();Lf();_f();hf();Of();Ef();Cf();T();kf=x(n(),1),Kf=x(Rf(),1)});
2
- export{U as ge,ff as he,Df as ie,H0 as je,xf as ke};
@@ -1,12 +0,0 @@
1
- import{$n as Yq,Sn as E,Tn as Uq,Wn as r,Xn as Xq,_n as d,nF as x,oF as s,pF as C,rF as n,rG as o,sF as $,tG as Mq,uF as Zq}from"./cli-1.1.9-bftwnbgn.mjs";import{BZ as Jq,F1 as Qq,_0 as N,a1 as U,e1 as V,u1 as a}from"./cli-1.1.9-txs7wza6.mjs";import{h4 as u,i4 as J,j4 as X,k4 as g}from"./cli-1.1.9-5cr2dpgf.mjs";import{l4 as zq}from"./cli-1.1.9-ax8tkq65.mjs";import{Jja as w,Mja as qq}from"./cli-1.1.9-573zndr8.mjs";import{Usa as i,Ysa as t}from"./cli-1.1.9-fws7k6ak.mjs";function Fq(){let z=f.c(9),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=X(U,{children:["An update to our Consumer Terms and Privacy Policy will take effect on"," ",J(U,{bold:!0,children:"October 8, 2025"}),". You can accept the updated terms today."]}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y,Z;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=J(U,{children:"· "}),Z=J(U,{bold:!0,children:"You can help improve Claude "}),z[2]=Y,z[3]=Z;else Y=z[2],Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(N,{paddingLeft:1,children:X(U,{children:[Y,Z,X(U,{children:["— Allow the use of your chats and coding sessions to train and improve Anthropic AI models. Change anytime in your Privacy Settings (",J(V,{url:"https://claude.ai/settings/data-privacy-controls"}),")."]})]})}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=X(N,{flexDirection:"column",children:[F,W,J(N,{paddingLeft:1,children:X(U,{children:[J(U,{children:"· "}),J(U,{bold:!0,children:"Updates to data retention "}),J(U,{children:"— To help us improve our AI models and safety protections, we're extending data retention to 5 years."})]})})]}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[6]=Q;else Q=z[6];let H;if(z[7]===Symbol.for("react.memo_cache_sentinel"))H=J(V,{url:"https://anthropic.com/legal/terms"}),z[7]=H;else H=z[7];let O;if(z[8]===Symbol.for("react.memo_cache_sentinel"))O=X(u,{children:[q,P,X(U,{children:["Learn more (",Q,") or read the updated Consumer Terms (",H,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[8]=O;else O=z[8];return O}function Nq(){let z=f.c(7),q;if(z[0]===Symbol.for("react.memo_cache_sentinel"))q=J(U,{children:"We've updated our Consumer Terms and Privacy Policy."}),z[0]=q;else q=z[0];let F;if(z[1]===Symbol.for("react.memo_cache_sentinel"))F=J(U,{children:"What's changing?"}),z[1]=F;else F=z[1];let Y;if(z[2]===Symbol.for("react.memo_cache_sentinel"))Y=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Help improve Claude"}),J(U,{children:"Allow the use of your chats and coding sessions to train and improve Anthropic AI models. You can change this anytime in Privacy Settings"}),J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),z[2]=Y;else Y=z[2];let Z;if(z[3]===Symbol.for("react.memo_cache_sentinel"))Z=X(N,{flexDirection:"column",gap:1,children:[F,Y,X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"How this affects data retention"}),J(U,{children:"Turning ON the improve Claude setting extends data retention from 30 days to 5 years. Turning it OFF keeps the default 30-day data retention. Delete data anytime."})]})]}),z[3]=Z;else Z=z[3];let W;if(z[4]===Symbol.for("react.memo_cache_sentinel"))W=J(V,{url:"https://www.anthropic.com/news/updates-to-our-consumer-terms"}),z[4]=W;else W=z[4];let P;if(z[5]===Symbol.for("react.memo_cache_sentinel"))P=J(V,{url:"https://anthropic.com/legal/terms"}),z[5]=P;else P=z[5];let Q;if(z[6]===Symbol.for("react.memo_cache_sentinel"))Q=X(u,{children:[q,Z,X(U,{children:["Learn more (",W,") or read the updated Consumer Terms (",P,") and Privacy Policy (",J(V,{url:"https://anthropic.com/legal/privacy"}),")"]})]}),z[6]=Q;else Q=z[6];return Q}function kq(z){let q=f.c(34),{showIfAlreadyViewed:F,location:Y,onDone:Z}=z,[W,P]=_.useState(null),[Q,H]=_.useState(null),O,R;if(q[0]!==Y||q[1]!==Z||q[2]!==F)O=()=>{(async function(){let[e,c]=await Promise.all([x(),n()]),j=c.success?c.data:null;H(j);let l=$(e,c,F);if(P(l),!l){Z("skip_rendering");return}s(),w("tengu_grove_policy_viewed",{location:Y,dismissable:j?.notice_is_grace_period})})()},R=[F,Y,Z],q[0]=Y,q[1]=Z,q[2]=F,q[3]=O,q[4]=R;else O=q[3],R=q[4];if(_.useEffect(O,R),W===null)return null;if(!W)return null;let K;if(q[5]!==Q?.notice_is_grace_period||q[6]!==Z)K=async function(v){q:switch(v){case"accept_opt_in":{await C(!0),w("tengu_grove_policy_submitted",{state:!0,dismissable:Q?.notice_is_grace_period});break q}case"accept_opt_out":{await C(!1),w("tengu_grove_policy_submitted",{state:!1,dismissable:Q?.notice_is_grace_period});break q}case"defer":{w("tengu_grove_policy_dismissed",{state:!0});break q}case"escape":w("tengu_grove_policy_escaped",{})}Z(v)},q[5]=Q?.notice_is_grace_period,q[6]=Z,q[7]=K;else K=q[7];let A=K,L;if(q[8]!==Q?.domain_excluded)L=Q?.domain_excluded?[{label:"Accept terms · Help improve Claude: OFF (for emails with your domain)",value:"accept_opt_out"}]:[{label:"Accept terms · Help improve Claude: ON",value:"accept_opt_in"},{label:"Accept terms · Help improve Claude: OFF",value:"accept_opt_out"}],q[8]=Q?.domain_excluded,q[9]=L;else L=q[9];let I=L,G;if(q[10]!==Q?.notice_is_grace_period||q[11]!==A)G=function(){if(Q?.notice_is_grace_period){A("defer");return}A("escape")},q[10]=Q?.notice_is_grace_period,q[11]=A,q[12]=G;else G=q[12];let M=G,k;if(q[13]!==Q?.notice_is_grace_period)k=J(N,{flexDirection:"column",gap:1,flexGrow:1,children:Q?.notice_is_grace_period?J(Fq,{}):J(Nq,{})}),q[13]=Q?.notice_is_grace_period,q[14]=k;else k=q[14];let D;if(q[15]===Symbol.for("react.memo_cache_sentinel"))D=J(N,{flexShrink:0,children:J(U,{color:"professionalBlue",children:Wq})}),q[15]=D;else D=q[15];let B;if(q[16]!==k)B=X(N,{flexDirection:"row",children:[k,D]}),q[16]=k,q[17]=B;else B=q[17];let T;if(q[18]===Symbol.for("react.memo_cache_sentinel"))T=X(N,{flexDirection:"column",children:[J(U,{bold:!0,children:"Please select how you'd like to continue"}),J(U,{children:"Your choice takes effect immediately upon confirmation."})]}),q[18]=T;else T=q[18];let b;if(q[19]!==Q?.notice_is_grace_period)b=Q?.notice_is_grace_period?[{label:"Not now",value:"defer"}]:[],q[19]=Q?.notice_is_grace_period,q[20]=b;else b=q[20];let m;if(q[21]!==I||q[22]!==b)m=[...I,...b],q[21]=I,q[22]=b,q[23]=m;else m=q[23];let p;if(q[24]!==A)p=(h)=>A(h),q[24]=A,q[25]=p;else p=q[25];let y;if(q[26]!==M||q[27]!==m||q[28]!==p)y=X(N,{flexDirection:"column",gap:1,children:[T,J(o,{options:m,onChange:p,onCancel:M})]}),q[26]=M,q[27]=m,q[28]=p,q[29]=y;else y=q[29];let S;if(q[30]!==M||q[31]!==y||q[32]!==B)S=X(d,{title:"Updates to Consumer Terms and Policies",color:"professionalBlue",onCancel:M,inputGuide:Oq,children:[B,y]}),q[30]=M,q[31]=y,q[32]=B,q[33]=S;else S=q[33];return S}function Oq(z){return z.pending?X(U,{children:["Press ",z.keyName," again to exit"]}):X(r,{children:[J(E,{shortcut:"Enter",action:"confirm"}),J(E,{shortcut:"Esc",action:"cancel"})]})}function _q(z){let q=f.c(17),{settings:F,domainExcluded:Y,onDone:Z}=z,[W,P]=_.useState(F.grove_enabled),Q;if(q[0]===Symbol.for("react.memo_cache_sentinel"))Q=[],q[0]=Q;else Q=q[0];_.default.useEffect(Pq,Q);let H;if(q[1]!==Y||q[2]!==W)H=async(M,k)=>{if(!Y&&(k.tab||k.return||M===" ")){let D=!W;P(D),await C(D)}},q[1]=Y,q[2]=W,q[3]=H;else H=q[3];a(H);let O;if(q[4]===Symbol.for("react.memo_cache_sentinel"))O=J(U,{color:"error",children:"false"}),q[4]=O;else O=q[4];let R=O;if(Y){let M;if(q[5]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"error",children:"false (for emails with your domain)"}),q[5]=M;else M=q[5];R=M}else if(W){let M;if(q[6]===Symbol.for("react.memo_cache_sentinel"))M=J(U,{color:"success",children:"true"}),q[6]=M;else M=q[6];R=M}let K;if(q[7]!==Y)K=(M)=>M.pending?X(U,{children:["Press ",M.keyName," again to exit"]}):Y?J(E,{shortcut:"Esc",action:"cancel"}):X(r,{children:[J(E,{shortcut:"Enter/Tab/Space",action:"toggle"}),J(E,{shortcut:"Esc",action:"cancel"})]}),q[7]=Y,q[8]=K;else K=q[8];let A;if(q[9]===Symbol.for("react.memo_cache_sentinel"))A=X(U,{children:["Review and manage your privacy settings at"," ",J(V,{url:"https://claude.ai/settings/data-privacy-controls"})]}),q[9]=A;else A=q[9];let L;if(q[10]===Symbol.for("react.memo_cache_sentinel"))L=J(N,{width:44,children:J(U,{bold:!0,children:"Help improve Claude"})}),q[10]=L;else L=q[10];let I;if(q[11]!==R)I=X(N,{children:[L,J(N,{children:R})]}),q[11]=R,q[12]=I;else I=q[12];let G;if(q[13]!==Z||q[14]!==K||q[15]!==I)G=X(d,{title:"Data Privacy",color:"professionalBlue",onCancel:Z,inputGuide:K,children:[A,I]}),q[13]=Z,q[14]=K,q[15]=I,q[16]=G;else G=q[16];return G}function Pq(){w("tengu_grove_privacy_settings_viewed",{})}var f,_,Wq=` _____________
2
- | \\ \\
3
- | NEW TERMS \\__\\
4
- | |
5
- | ---------- |
6
- | ---------- |
7
- | ---------- |
8
- | ---------- |
9
- | ---------- |
10
- | |
11
- |______________|`;var Aq=t(()=>{qq();Qq();Zq();Mq();Xq();Yq();Uq();g();f=i(Jq(),1),_=i(zq(),1)});
12
- export{kq as pc,_q as qc,Aq as rc};
@@ -1,2 +0,0 @@
1
- import{Wb as Y}from"./cli-1.1.9-q384fwfa.mjs";import{RW as N,SW as C}from"./cli-1.1.9-s52npgq0.mjs";import{Bga as A,Dga as w}from"./cli-1.1.9-8gkjdbxs.mjs";import{Jja as B,Mja as k}from"./cli-1.1.9-573zndr8.mjs";import{Mka as W,Pka as j,qka as L,uka as E}from"./cli-1.1.9-1b1mw6v2.mjs";import{kla as G,rla as K}from"./cli-1.1.9-tze0002b.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};
@@ -1,2 +0,0 @@
1
- import{$n as p,_n as y,rG as O,tG as j}from"./cli-1.1.9-bftwnbgn.mjs";import{BZ as S,F1 as v,_0 as F,a1 as I,e1 as R}from"./cli-1.1.9-txs7wza6.mjs";import{i4 as Z,j4 as N,k4 as U}from"./cli-1.1.9-5cr2dpgf.mjs";import{l4 as d}from"./cli-1.1.9-ax8tkq65.mjs";import{Lda as M,Xda as E}from"./cli-1.1.9-8gkjdbxs.mjs";import{Jja as H,Mja as b}from"./cli-1.1.9-573zndr8.mjs";import{Usa as k}from"./cli-1.1.9-fws7k6ak.mjs";b();v();E();j();p();U();var T=k(S(),1),h=k(d(),1),x="Auto mode lets Claudin handle permission prompts automatically — Claudin checks each tool call for risky actions and prompt injection before executing. Actions Claudin identifies as safe are executed, while actions Claudin identifies as risky are blocked and Claudin may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claudin can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";function l(A){let f=T.c(18),{onAccept:J,onDecline:q,declineExits:C}=A,K;if(f[0]===Symbol.for("react.memo_cache_sentinel"))K=[],f[0]=K;else K=f[0];h.default.useEffect(_,K);let Q;if(f[1]!==J||f[2]!==q)Q=function(m){f:switch(m){case"accept":{H("tengu_auto_mode_opt_in_dialog_accept",{}),M("userSettings",{skipAutoPermissionPrompt:!0}),J();break f}case"accept-default":{H("tengu_auto_mode_opt_in_dialog_accept_default",{}),M("userSettings",{skipAutoPermissionPrompt:!0,permissions:{defaultMode:"auto"}}),J();break f}case"decline":H("tengu_auto_mode_opt_in_dialog_decline",{}),q()}},f[1]=J,f[2]=q,f[3]=Q;else Q=f[3];let B=Q,V;if(f[4]===Symbol.for("react.memo_cache_sentinel"))V=N(F,{flexDirection:"column",gap:1,children:[Z(I,{children:x}),Z(R,{url:"https://code.claude.com/docs/en/security"})]}),f[4]=V;else V=f[4];let W;if(f[5]===Symbol.for("react.memo_cache_sentinel"))W=[{label:"Yes, and make it my default mode",value:"accept-default"}],f[5]=W;else W=f[5];let X;if(f[6]===Symbol.for("react.memo_cache_sentinel"))X={label:"Yes, enable auto mode",value:"accept"},f[6]=X;else X=f[6];let L=C?"No, exit":"No, go back",w;if(f[7]!==L)w=[...W,X,{label:L,value:"decline"}],f[7]=L,f[8]=w;else w=f[8];let z;if(f[9]!==B)z=(P)=>B(P),f[9]=B,f[10]=z;else z=f[10];let G;if(f[11]!==q||f[12]!==w||f[13]!==z)G=Z(O,{options:w,onChange:z,onCancel:q}),f[11]=q,f[12]=w,f[13]=z,f[14]=G;else G=f[14];let Y;if(f[15]!==q||f[16]!==G)Y=N(y,{title:"Enable auto mode?",color:"warning",onCancel:q,children:[V,G]}),f[15]=q,f[16]=G,f[17]=Y;else Y=f[17];return Y}function _(){H("tengu_auto_mode_opt_in_dialog_shown",{})}
2
- export{x as Ya,l as Za};
@@ -1,2 +0,0 @@
1
- import{PM as C,ZM as N,gN as $,hN as k,nN as V}from"./cli-1.1.9-bftwnbgn.mjs";import{BZ as P,F1 as D,_0 as f,a1 as t,e1 as v}from"./cli-1.1.9-txs7wza6.mjs";import{i4 as n,j4 as i,k4 as M}from"./cli-1.1.9-5cr2dpgf.mjs";import{Usa as w,Ysa as L}from"./cli-1.1.9-fws7k6ak.mjs";function W(o){let e=b.c(26),{scope:r,parsingErrors:s,warnings:m}=o,a=s.length>0,g=m.length>0;if(!a&&!g)return null;let p;if(e[0]!==a||e[1]!==g)p=(a||g)&&i(t,{color:a?"error":"warning",children:["[",a?"Failed to parse":"Contains warnings","]"," "]}),e[0]=a,e[1]=g,e[2]=p;else p=e[2];let c;if(e[3]!==r)c=k(r),e[3]=r,e[4]=c;else c=e[4];let l;if(e[5]!==c)l=n(t,{children:c}),e[5]=c,e[6]=l;else l=e[6];let u;if(e[7]!==p||e[8]!==l)u=i(f,{children:[p,l]}),e[7]=p,e[8]=l,e[9]=u;else u=e[9];let E;if(e[10]===Symbol.for("react.memo_cache_sentinel"))E=n(t,{dimColor:!0,children:"Location: "}),e[10]=E;else E=e[10];let h;if(e[11]!==r)h=$(r),e[11]=r,e[12]=h;else h=e[12];let d;if(e[13]!==h)d=i(f,{children:[E,n(t,{dimColor:!0,children:h})]}),e[13]=h,e[14]=d;else d=e[14];let T;if(e[15]!==s)T=s.map(F),e[15]=s,e[16]=T;else T=e[16];let _;if(e[17]!==m)_=m.map(x),e[17]=m,e[18]=_;else _=e[18];let y;if(e[19]!==T||e[20]!==_)y=i(f,{marginLeft:1,flexDirection:"column",children:[T,_]}),e[19]=T,e[20]=_,e[21]=y;else y=e[21];let S;if(e[22]!==y||e[23]!==u||e[24]!==d)S=i(f,{flexDirection:"column",marginTop:1,children:[u,d,y]}),e[22]=y,e[23]=u,e[24]=d,e[25]=S;else S=e[25];return S}function x(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"warning",children:"[Warning]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`warning-${e}`)}function F(o,e){let r=o.mcpErrorMetadata?.serverName;return n(f,{children:i(t,{children:[n(t,{dimColor:!0,children:"└ "}),n(t,{color:"error",children:"[Error]"}),i(t,{dimColor:!0,children:[" ",r&&`[${r}] `,o.path&&o.path!==""?`${o.path}: `:"",o.message]})]})},`error-${e}`)}function J(){let o=b.c(6),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e={scope:"user",config:C("user")},o[0]=e;else e=o[0];let r;if(o[1]===Symbol.for("react.memo_cache_sentinel"))r={scope:"project",config:C("project")},o[1]=r;else r=o[1];let s;if(o[2]===Symbol.for("react.memo_cache_sentinel"))s={scope:"local",config:C("local")},o[2]=s;else s=o[2];let m;if(o[3]===Symbol.for("react.memo_cache_sentinel"))m=[e,r,s,{scope:"enterprise",config:C("enterprise")}],o[3]=m;else m=o[3];let a=m,g=a.some(q),p=a.some(R);if(!g&&!p)return null;let c;if(o[4]===Symbol.for("react.memo_cache_sentinel"))c=n(t,{bold:!0,children:"MCP Config Diagnostics"}),o[4]=c;else c=o[4];let l;if(o[5]===Symbol.for("react.memo_cache_sentinel"))l=i(f,{flexDirection:"column",marginTop:1,marginBottom:1,children:[c,n(f,{marginTop:1,children:i(t,{dimColor:!0,children:["For help configuring MCP servers, see:"," ",n(v,{url:"https://code.claude.com/docs/en/mcp",children:"https://code.claude.com/docs/en/mcp"})]})}),a.map(A)]}),o[5]=l;else l=o[5];return l}function A(o){let{scope:e,config:r}=o;return n(W,{scope:e,parsingErrors:B(r.errors,"fatal"),warnings:B(r.errors,"warning")},e)}function R(o){let{config:e}=o;return B(e.errors,"warning").length>0}function q(o){let{config:e}=o;return B(e.errors,"fatal").length>0}function B(o,e){return o.filter((r)=>r.mcpErrorMetadata?.severity===e)}var b;var z=L(()=>{N();V();D();M();b=w(P(),1)});
2
- export{J as wg,z as xg};
@@ -1,25 +0,0 @@
1
- import{$J as Jq,FK as Zq,HK as Uq,Jp as a,KJ as b,LJ as R,Lp as Kq,MJ as vq,Mu as s,PJ as p,QJ as S,Qx as e,RJ as zq,Rx as Nq,SJ as Bq,Su as t,TJ as I,UJ as k,Yk as r,Yu as Hq,_k as Wq,aK as Qq,eK as wq,hK as Vq,iB as qq,iK as Oq,jB as Xq,kK as Yq,tR as $q,yK as Pq,zR as yq}from"./cli-1.1.9-bftwnbgn.mjs";import{Hga as h,Pga as Fq}from"./cli-1.1.9-8gkjdbxs.mjs";import{Via as n,Xia as Lq}from"./cli-1.1.9-zy71vgyg.mjs";import{dla as y,rla as jq}from"./cli-1.1.9-tze0002b.mjs";import{Ysa as M}from"./cli-1.1.9-fws7k6ak.mjs";function x(B,z){let J=g[z]??1,Z=B!==void 0?g[B]:void 0;if(Z===void 0)return z;return Z<=J?B:z}var g;var m=M(()=>{g={plan:0,default:1,acceptEdits:2,bypassPermissions:3}});function C(B,z){if(B.length<=z)return B;return`${B.slice(0,z)}
2
- …[truncated ${B.length-z} chars]`}function u(B,z,J,Z){let Y=[];if(Y.push(`You are a worker agent in the "${B.name}" workflow, phase "${Z.name}".`),B.instructions.trim())Y.push(`Workflow instructions:
3
- ${B.instructions.trim()}`);if(Y.push(`Task:
4
- ${z}`),J.trim())Y.push(`Work so far (accumulated artifact from earlier phases):
5
- ${C(J.trim(),Gq)}`);return Y.push("Do your part of this phase and report your findings/output. Another agent (the orchestrator) will synthesize the phase and decide what happens next — you do not decide the flow."),Y.join(`
6
-
7
- `)}function c(B,z){let J=[];if(J.push(`You are the orchestrator (main) of the "${z.name}" workflow. You control the flow.`),z.instructions.trim())J.push(`Workflow instructions:
8
- ${z.instructions.trim()}`);J.push(`Task:
9
- ${B.task}`);let Z=z.steps.findIndex((V)=>V.name===B.currentStep),Y=z.steps.map((V,Q)=>{let j=Q<Z?"[done]":Q===Z?"[current]":"[pending]",H=I(V)?" (terminal)":"";return` ${Q+1}. ${V.name} ${j}${H}`}).join(`
10
- `);if(J.push(`Phases:
11
- ${Y}`),B.history.length>0){let V=B.history.map((Q)=>{let j=Q.agents.map((q)=>{let L=q.failed?" (FAILED)":"";return` • ${q.label}${L}:
12
- ${C(q.output,f).split(`
13
- `).map((N)=>` ${N}`).join(`
14
- `)}`}).join(`
15
- `),H=Q.decision?` decision: ${Q.decision.decision}${Q.decision.target?` → ${Q.decision.target}`:""} — ${Q.decision.notes}`:" decision: (pending — this is the phase you are deciding now)";return` Phase "${Q.step}":
16
- ${j}
17
- ${Q.synthesis?` synthesis: ${C(Q.synthesis,f)}
18
- `:""}${H}`}).join(`
19
-
20
- `);J.push(`History (all phases so far):
21
- ${V}`)}let G=z.steps[Z]?.handbackTo??[];return J.push(G.length>0?`From the current phase you may hand back to: ${G.join(", ")}.`:"The current phase has no handback targets; you may only advance or refine."),J.push("Synthesize the current phase's worker outputs into an updated artifact (your final text), then call the StructuredOutput tool with your decision: advance (next phase), refine (re-run this phase), or handback (return to an allowed earlier phase). Include a short `notes` explaining why."),J.join(`
22
-
23
- `)}var f=4000,Gq=6000;var l=M(()=>{k()});function d(B,z,J){let Z=J.steps,Y=Z.findIndex((j)=>j.name===B.currentStep),$={...B.refineCounts},G=B.transitions+1,V=B.currentStep,Q="running";if(z.decision==="advance"){let j=Z[Y+1];if(I(j)){if(Q="done",j)V=j.name}else V=j.name}else if(z.decision==="refine"){if($[V]=($[V]??0)+1,$[V]>S)Q="stalled"}else{let j=Z[Y]?.handbackTo??[];if(!z.target||!j.includes(z.target))Q="stalled";else if($[z.target]=($[z.target]??0)+1,$[z.target]>S)Q="stalled";else V=z.target}if(Q==="running"&&G>=p)Q="stalled";return{...B,currentStep:V,status:Q,refineCounts:$,transitions:G,updatedAt:Date.now()}}var i=M(()=>{k()});import Dq from"os";function Iq(){return Math.max(1,Math.min(8,Dq.cpus().length-1))}function hq(B){let z="",J=0;for(let Y=B.length-1;Y>=0;Y--){let $=B[Y];if($.type!=="assistant"||!$.message)continue;if(!z){let G=($.message.content??[]).filter((V)=>V.type==="text"&&V.text);if(G.length>0)z=G.map((V)=>V.text??"").join(`
24
- `)}if(J===0&&$.message.usage)J=$q($.message.usage);if(z&&J)break}let Z=e(B);return{text:z,tokens:J,tools:Z}}async function o(B){let{label:z,agentDef:J,promptText:Z,toolUseContext:Y,canUseTool:$,extraTools:G,runId:V}=B,Q=Date.now(),j=Y.getAppState(),H=j.toolPermissionContext.mode,q={...j.toolPermissionContext,mode:x(J.permissionMode,H)},L=Zq(q,j.mcp.tools);if(G&&G.length>0)L=[...L,...G];let N=J.model??String(Y.options.mainLoopModel??""),F=[],X,P=!1;try{let K=qq({agentDefinition:J,promptMessages:[Yq({content:Z})],toolUseContext:Y,canUseTool:$,isAsync:!1,querySource:a(J.agentType,s(J)),availableTools:L,transcriptSubdir:`workflows/${V}`,description:`${z} (workflow)`,override:{abortController:B.abortController}});for await(let w of K)if(F.push(w),w.type==="attachment"&&w.attachment?.type==="structured_output")X=w.attachment.data}catch(K){if(y(K))throw K;h(K),P=!0}let{text:E,tokens:_,tools:v}=hq(F);return{run:{label:z,model:N,tokens:_,tools:v,ms:Date.now()-Q,output:P?"":E,failed:P},structuredOutput:X}}async function tq(B){let{def:z,task:J,toolUseContext:Z,canUseTool:Y,onProgress:$,signal:G}=B,{allAgents:V}=await t(n()),Q=new Map(V.map((N)=>[N.agentType,N]));Q.set(b,R);let j=Q.get(z.main??b)??R,H=new AbortController;if(G)if(G.aborted)H.abort();else G.addEventListener("abort",()=>H.abort(),{once:!0});let q=await Jq({workflow:z.name,description:z.description,task:J,firstStep:z.steps[0].name});$?.(q);let L=async()=>{await Qq(q),$?.(q)};while(q.status==="running"){if(G?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let N=z.steps.findIndex((W)=>W.name===q.currentStep),F=z.steps[N];if(I(F)){q={...q,status:"done",updatedAt:Date.now()},await L();break}q={...q,agentsInPhase:F.agents.length,agentsDone:0,updatedAt:Date.now()},await L();let X;try{X=(await Vq(F.agents,async(O)=>{let T={run:{label:`${F.name}:${O}`,model:"",tokens:0,tools:0,ms:0,output:"",failed:!0}},A;try{let D=Q.get(O);A=D?await o({label:`${F.name}:${O}`,agentDef:D,promptText:u(z,J,q.artifact,F),toolUseContext:Z,canUseTool:Y,runId:q.runId,abortController:H}):T}catch(D){if(y(D))throw D;h(D),A=T}return q={...q,agentsDone:(q.agentsDone??0)+1,updatedAt:Date.now()},await L(),A},{concurrency:Iq()})).map((O)=>O.run)}catch(W){if(y(W)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw W}let P={step:F.name,stepIndex:N,agents:X,synthesis:"",decision:null,at:Date.now()};if(q={...q,history:[...q.history,P],totalTokens:q.totalTokens+X.reduce((W,O)=>W+O.tokens,0),updatedAt:Date.now()},await L(),F.agents.length>0&&X.every((W)=>W.failed)){h(Error(`workflow phase "${F.name}": all ${X.length} worker(s) failed`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}if(G?.aborted){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}let E=r(Bq(F));if(!("tool"in E)){h(Error(`workflow decision schema build failed: ${E.error}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let _=[E.tool],v;try{v=await o({label:"main",agentDef:j,promptText:c(q,z),toolUseContext:Z,canUseTool:Y,extraTools:_,runId:q.runId,abortController:H})}catch(W){if(y(W)){q={...q,status:"cancelled",updatedAt:Date.now()},await L();break}throw W}let K=zq.safeParse(v.structuredOutput),w=[...q.history];if(w[w.length-1]={...P,synthesis:v.run.output,decision:K.success?K.data:null,agents:[...X,v.run]},q={...q,history:w,artifact:v.run.output.trim()?v.run.output:q.artifact,totalTokens:q.totalTokens+v.run.tokens,updatedAt:Date.now()},!K.success){h(Error(`workflow main produced no valid decision: ${K.error?.message??"no decision"}`)),q={...q,status:"failed",updatedAt:Date.now()},await L();break}let U=d(q,K.data,z);q={...q,currentStep:U.currentStep,status:U.status,refineCounts:U.refineCounts,transitions:U.transitions,updatedAt:U.updatedAt},await L()}return q}var Eq=M(()=>{Oq();Uq();Hq();Nq();Xq();Wq();Lq();jq();Fq();Pq();Kq();yq();vq();m();l();wq();i();k()});
25
- export{tq as ti,Eq as ui};
@@ -1,2 +0,0 @@
1
- import{Oea as P,hfa as y}from"./cli-1.1.9-8gkjdbxs.mjs";import{Ysa as U}from"./cli-1.1.9-fws7k6ak.mjs";var j,D,G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T,w,L,O,X,$,e;var W=U(()=>{j=["common","uncommon","rare","epic","legendary"],D=String.fromCharCode,G=D(100,117,99,107),M=D(103,111,111,115,101),N=D(98,108,111,98),Y=D(99,97,116),C=D(100,114,97,103,111,110),_=D(111,99,116,111,112,117,115),R=D(111,119,108),f=D(112,101,110,103,117,105,110),E=D(116,117,114,116,108,101),I=D(115,110,97,105,108),k=D(103,104,111,115,116),A=D(97,120,111,108,111,116,108),b=D(99,97,112,121,98,97,114,97),h=D(99,97,99,116,117,115),m=D(114,111,98,111,116),p=D(114,97,98,98,105,116),u=D(109,117,115,104,114,111,111,109),T=D(99,104,111,110,107),w=[G,M,N,Y,C,_,R,f,E,I,k,A,b,h,m,p,u,T],L=["·","✦","×","◉","@","°"],O=["none","crown","tophat","propeller","halo","wizard","beanie","tinyduck"],X=["DEBUGGING","PATIENCE","CHAOS","WISDOM","SNARK"],$={common:60,uncommon:25,rare:10,epic:4,legendary:1},e={common:"inactive",uncommon:"success",rare:"permission",epic:"autoAccept",legendary:"warning"}});function v(q){let z=q>>>0;return function(){z|=0,z=z+1831565813|0;let B=Math.imul(z^z>>>15,1|z);return B=B+Math.imul(B^B>>>7,61|B)^B,((B^B>>>14)>>>0)/4294967296}}function F(q){if(typeof Bun<"u")return Number(BigInt(Bun.hash(q))&0xffffffffn);let z=2166136261;for(let B=0;B<q.length;B++)z^=q.charCodeAt(B),z=Math.imul(z,16777619);return z>>>0}function K(q,z){return z[Math.floor(q()*z.length)]}function S(q){let z=Object.values($).reduce((J,Q)=>J+Q,0),B=q()*z;for(let J of j)if(B-=$[J],B<0)return J;return"common"}function i(q,z){let B=d[z],J=K(q,X),Q=K(q,X);while(Q===J)Q=K(q,X);let Z={};for(let V of X)if(V===J)Z[V]=Math.min(100,B+50+Math.floor(q()*30));else if(V===Q)Z[V]=Math.max(1,B-10+Math.floor(q()*15));else Z[V]=B+Math.floor(q()*40);return Z}function H(q){let z=S(q);return{bones:{rarity:z,species:K(q,w),eye:K(q,L),hat:z==="common"?"none":K(q,O),shiny:q()<0.01,stats:i(q,z)},inspirationSeed:Math.floor(q()*1e9)}}function l(q){let z=q+c;if(x?.key===z)return x.value;let B=H(v(F(z)));return x={key:z,value:B},B}function a(q){return H(v(F(q)))}function s(){let q=P();return q.oauthAccount?.accountUuid??q.userID??"anon"}function r(){let q=P().companion;if(!q)return;let{bones:z}=l(s());return{...q,...z}}var d,c="friend-2026-401",x;var g=U(()=>{y();W();d={common:5,uncommon:15,rare:25,epic:35,legendary:50}});
2
- export{G as iX,M as jX,N as kX,Y as lX,C as mX,_ as nX,R as oX,f as pX,E as qX,I as rX,k as sX,A as tX,b as uX,h as vX,m as wX,p as xX,u as yX,T as zX,e as AX,W as BX,a as CX,s as DX,r as EX,g as FX};
@@ -1,2 +0,0 @@
1
- import{B5 as j,E5 as I,P7 as b,Q7 as c,V8 as d,v8 as f}from"./cli-1.1.9-914mh2gv.mjs";import{l_ as F,m_ as D}from"./cli-1.1.9-nbdn95s0.mjs";import{Hga as y,Pga as T}from"./cli-1.1.9-8gkjdbxs.mjs";import{Pia as $,Qia as R,Ria as _,Sia as E}from"./cli-1.1.9-0h7f33hw.mjs";import{Hja as q,Ija as m}from"./cli-1.1.9-9yrwnzf6.mjs";import{Mka as W,Pka as z,pka as M,uka as U}from"./cli-1.1.9-1b1mw6v2.mjs";import{jla as k,kla as Y,rla as O}from"./cli-1.1.9-tze0002b.mjs";import{esa as X,wsa as h}from"./cli-1.1.9-mp2pqq66.mjs";import{Ysa as A}from"./cli-1.1.9-fws7k6ak.mjs";import{randomUUID as l}from"crypto";function p(J){if(!X.isAxiosError(J))return!1;if(!J.response)return!0;if(J.response.status>=500)return!0;return!1}async function u(J,B){let N;for(let K=0;K<=x;K++)try{return await X.get(J,B)}catch(Q){if(N=Q,!p(Q))throw Q;if(K>=x)throw W(`Teleport request failed after ${K+1} attempts: ${Y(Q)}`),Q;let V=S[K]??2000;W(`Teleport request failed (attempt ${K+1}/${x+1}), retrying in ${V}ms: ${Y(Q)}`),await b(V)}throw N}async function C(){let J=f()?.accessToken;if(J===void 0)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let B=await j();if(!B)throw Error("Unable to get organization UUID");return{accessToken:J,orgUUID:B}}async function BJ(){let{accessToken:J,orgUUID:B}=await C(),N=`${q().BASE_API_URL}/v1/sessions`;try{let K={...L(J),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},Q=await u(N,{headers:K});if(Q.status!==200)throw Error(`Failed to fetch code sessions: ${Q.statusText}`);return Q.data.data.map((Z)=>{let v=Z.session_context.sources.find((G)=>G.type==="git_repository"),H=null;if(v?.url){let G=F(v.url);if(G){let[w,P]=G.split("/");if(w&&P)H={name:P,owner:{login:w},default_branch:v.revision||void 0}}}return{id:Z.id,title:Z.title||"Untitled",description:"",status:Z.session_status,repo:H,turns:[],created_at:Z.created_at,updated_at:Z.updated_at}})}catch(K){let Q=k(K);throw y(Q),K}}function L(J){return{Authorization:`Bearer ${J}`,"Content-Type":"application/json","anthropic-version":"2023-06-01"}}async function NJ(J){let{accessToken:B,orgUUID:N}=await C(),K=`${q().BASE_API_URL}/v1/sessions/${J}`,Q={...L(B),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":N},V=await X.get(K,{headers:Q,timeout:15000,validateStatus:(Z)=>Z<500});if(V.status!==200){let v=V.data?.error?.message;if(V.status===404)throw Error(`Session not found: ${J}`);if(V.status===401)throw Error("Session expired. Please run /login to sign in again.");throw Error(v||`Failed to fetch session: ${V.status} ${V.statusText}`)}return V.data}function WJ(J){return J.session_context.outcomes?.find((N)=>N.type==="git_repository")?.git_info?.branches[0]}async function GJ(J,B,N){try{let{accessToken:K,orgUUID:Q}=await C(),V=`${q().BASE_API_URL}/v1/sessions/${J}/events`,Z={...L(K),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":Q},H={events:[{uuid:N?.uuid??l(),session_id:J,type:"user",parent_tool_use_id:null,message:{role:"user",content:B}}]};W(`[sendEventToRemoteSession] Sending event to session ${J}`);let G=await X.post(V,H,{headers:Z,validateStatus:(w)=>w<500,timeout:30000});if(G.status===200||G.status===201)return W(`[sendEventToRemoteSession] Successfully sent event to session ${J}`),!0;return W(`[sendEventToRemoteSession] Failed with status ${G.status}: ${M(G.data)}`),!1}catch(K){return W(`[sendEventToRemoteSession] Error: ${Y(K)}`),!1}}async function vJ(J,B){try{let{accessToken:N,orgUUID:K}=await C(),Q=`${q().BASE_API_URL}/v1/sessions/${J}`,V={...L(N),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":K};W(`[updateSessionTitle] Updating title for session ${J}: "${B}"`);let Z=await X.patch(Q,{title:B},{headers:V,validateStatus:(v)=>v<500});if(Z.status===200)return W(`[updateSessionTitle] Successfully updated title for session ${J}`),!0;return W(`[updateSessionTitle] Failed with status ${Z.status}: ${M(Z.data)}`),!1}catch(N){return W(`[updateSessionTitle] Error: ${Y(N)}`),!1}}var S,x,$J;var g=A(()=>{h();m();I();R();d();z();D();O();E();T();c();U();S=[2000,4000,8000,16000],x=S.length;$J=_(()=>$.object({id:$.string(),title:$.string(),description:$.string(),status:$.enum(["idle","working","waiting","completed","archived","cancelled","rejected"]),repo:$.object({name:$.string(),owner:$.object({login:$.string()}),default_branch:$.string().optional()}).nullable(),turns:$.array($.string()),created_at:$.string(),updated_at:$.string()}))});
2
- export{p as y4,u as z4,$J as A4,C as B4,BJ as C4,L as D4,NJ as E4,WJ as F4,GJ as G4,vJ as H4,g as I4};
@@ -1,2 +0,0 @@
1
- import{Ysa as j}from"./cli-1.1.9-fws7k6ak.mjs";var q,w;var v=j(()=>{q=["acceptEdits","bypassPermissions","default","dontAsk","plan"],w=[...q,"auto"]});
2
- export{q as Bha,w as Cha,v as Dha};
@@ -1,2 +0,0 @@
1
- import{Ysa as o}from"./cli-1.1.9-fws7k6ak.mjs";var n=()=>null,e;var t=o(()=>{e=n});
2
- export{e as Gi,t as Hi};
@@ -1,2 +0,0 @@
1
- import{BZ as f,D1 as X,F1 as k,p1 as W}from"./cli-1.1.9-txs7wza6.mjs";import{h4 as V,i4 as J,k4 as K}from"./cli-1.1.9-5cr2dpgf.mjs";import{l4 as P}from"./cli-1.1.9-ax8tkq65.mjs";import{Sga as U,Tga as O}from"./cli-1.1.9-k4gthvh4.mjs";import{Usa as Q,Ysa as L}from"./cli-1.1.9-fws7k6ak.mjs";import{PassThrough as C}from"stream";function E(q){let b=Z.c(5),{children:w}=q,{exit:z}=W(),B,H;if(b[0]!==z)B=()=>{let D=setTimeout(z,0);return()=>clearTimeout(D)},H=[z],b[0]=z,b[1]=B,b[2]=H;else B=b[1],H=b[2];y.useLayoutEffect(B,H);let G;if(b[3]!==w)G=J(V,{children:w}),b[3]=w,b[4]=G;else G=b[4];return G}function Y(q){let b=q.indexOf(M);if(b===-1)return q;let w=b+M.length,z=q.indexOf(F,w);if(z===-1)return q;return q.slice(w,z)}function g(q,b){return new Promise(async(w)=>{let z="",B=new C;if(b!==void 0)B.columns=b;B.on("data",(G)=>{z+=G.toString()});let H=await X(J(E,{children:q}),{stdout:B,patchConsole:!1});await Promise.race([H.waitUntilExit(),new Promise((G)=>setTimeout(G,3000))]),await w(Y(z))})}async function N(q,b){let w=await g(q,b);return U(w)}var Z,y,M="\x1B[?2026h",F="\x1B[?2026l";var j=L(()=>{O();k();K();Z=Q(f(),1),y=Q(P(),1)});
2
- export{g as de,N as ee,j as fe};
@@ -1,2 +0,0 @@
1
- import{BZ as Z,F1 as k,a1 as K}from"./cli-1.1.9-txs7wza6.mjs";import{j4 as J,k4 as H}from"./cli-1.1.9-5cr2dpgf.mjs";import{v_ as v,w_ as Y}from"./cli-1.1.9-8gkjdbxs.mjs";import{Usa as V,Ysa as X}from"./cli-1.1.9-fws7k6ak.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
2
- export{N as sh,C as th};
@@ -1,2 +0,0 @@
1
- import{tf as R,vf as d}from"./cli-1.1.9-egv4z3tf.mjs";import{C2 as j,F2 as c}from"./cli-1.1.9-atdcgnab.mjs";import{Mka as K,Pka as D}from"./cli-1.1.9-1b1mw6v2.mjs";import{kla as C,rla as h}from"./cli-1.1.9-tze0002b.mjs";import{Ysa as I,Zsa as J}from"./cli-1.1.9-fws7k6ak.mjs";async function i({environmentId:X,title:Q,events:q,gitRepoUrl:$,branch:Y,signal:z,baseUrl:G,getAccessToken:L,permissionMode:W}){let{getClaudeAIOAuthTokens:B}=await import("./auth-1.1.9-gm4sybx1.mjs"),{getOrganizationUUID:Z}=await import("./client-1.1.9-ew20apkg.mjs"),{getOauthConfig:V}=await import("./oauth-1.1.9-mb03cbrk.mjs"),{getOAuthHeaders:P}=await import("./api-1.1.9-m1mrnd2p.mjs"),{parseGitHubRepository:N}=await import("./detectRepository-1.1.9-9c8ws2cg.mjs"),{getDefaultBranch:_}=await import("./git-1.1.9-9dmxfhs7.mjs"),{getMainLoopModel:M}=await import("./model-1.1.9-r24h6ebx.mjs"),{default:T}=await import("./index-1.1.9-3xm5j58t.mjs"),x=L?.()??B()?.accessToken;if(!x)return K("[bridge] No access token for session creation"),null;let k=await Z();if(!k)return K("[bridge] No org UUID for session creation"),null;let E=null,v=null;if($){let{parseGitRemote:y}=await import("./detectRepository-1.1.9-9c8ws2cg.mjs"),O=y($);if(O){let{host:A,owner:S,name:f}=O,F=Y||await _()||void 0;E={type:"git_repository",url:`https://${A}/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}else{let A=N($);if(A){let[S,f]=A.split("/");if(S&&f){let F=Y||await _()||void 0;E={type:"git_repository",url:`https://github.com/${S}/${f}`,revision:F},v={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${Y||"task"}`]}}}}}}let m={...Q!==void 0&&{title:Q},events:q,session_context:{sources:E?[E]:[],outcomes:v?[v]:[],model:M()},environment_id:X,source:"remote-control",...W&&{permission_mode:W}},U={...P(x),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":k},b=`${G??V().BASE_API_URL}/v1/sessions`,H;try{H=await T.post(b,m,{headers:U,signal:z,validateStatus:(y)=>y<500})}catch(y){return K(`[bridge] Session creation request failed: ${C(y)}`),null}if(!(H.status===200||H.status===201)){let y=R(H.data);return K(`[bridge] Session creation failed with status ${H.status}${y?`: ${y}`:""}`),null}let w=H.data;if(!w||typeof w!=="object"||!("id"in w)||typeof w.id!=="string")return K("[bridge] No session ID in response"),null;return w.id}async function r(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-1.1.9-gm4sybx1.mjs"),{getOrganizationUUID:$}=await import("./client-1.1.9-ew20apkg.mjs"),{getOauthConfig:Y}=await import("./oauth-1.1.9-mb03cbrk.mjs"),{getOAuthHeaders:z}=await import("./api-1.1.9-m1mrnd2p.mjs"),{default:G}=await import("./index-1.1.9-3xm5j58t.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L)return K("[bridge] No access token for session fetch"),null;let W=await $();if(!W)return K("[bridge] No org UUID for session fetch"),null;let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}`,V=1e4;K(`[bridge] Fetching session ${X}`);let P;try{P=await G.get(Z,{headers:B,timeout:V,validateStatus:(N)=>N<500})}catch(N){if(G.isAxiosError(N)){let _=N.response?.status??"no-response",M=N.code??"unknown-code",T=N.config?.url??Z,x=N.config?.method?.toUpperCase()??"GET",k=N.message??C(N),E=N.config?.timeout??V;K(`[bridge] Session fetch request failed: status=${_} code=${M} method=${x} url=${T} timeout=${E} message=${k}`)}else K(`[bridge] Session fetch request failed: url=${Z} timeout=${V} message=${C(N)}`);return null}if(P.status!==200){let N=R(P.data);return K(`[bridge] Session fetch failed with status ${P.status} url=${Z}${N?`: ${N}`:""}`),null}return P.data}async function t(X,Q){let{getClaudeAIOAuthTokens:q}=await import("./auth-1.1.9-gm4sybx1.mjs"),{getOrganizationUUID:$}=await import("./client-1.1.9-ew20apkg.mjs"),{getOauthConfig:Y}=await import("./oauth-1.1.9-mb03cbrk.mjs"),{getOAuthHeaders:z}=await import("./api-1.1.9-m1mrnd2p.mjs"),{default:G}=await import("./index-1.1.9-3xm5j58t.mjs"),L=Q?.getAccessToken?.()??q()?.accessToken;if(!L){K("[bridge] No access token for session archive");return}let W=await $();if(!W){K("[bridge] No org UUID for session archive");return}let B={...z(L),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":W},Z=`${Q?.baseUrl??Y().BASE_API_URL}/v1/sessions/${X}/archive`;K(`[bridge] Archiving session ${X}`);let V=await G.post(Z,{},{headers:B,timeout:Q?.timeoutMs??1e4,validateStatus:(P)=>P<500});if(V.status===200)K(`[bridge] Session ${X} archived successfully`);else{let P=R(V.data);K(`[bridge] Session archive failed with status ${V.status}${P?`: ${P}`:""}`)}}async function o(X,Q,q){let{getClaudeAIOAuthTokens:$}=await import("./auth-1.1.9-gm4sybx1.mjs"),{getOrganizationUUID:Y}=await import("./client-1.1.9-ew20apkg.mjs"),{getOauthConfig:z}=await import("./oauth-1.1.9-mb03cbrk.mjs"),{getOAuthHeaders:G}=await import("./api-1.1.9-m1mrnd2p.mjs"),{default:L}=await import("./index-1.1.9-3xm5j58t.mjs"),W=q?.getAccessToken?.()??$()?.accessToken;if(!W){K("[bridge] No access token for session title update");return}let B=await Y();if(!B){K("[bridge] No org UUID for session title update");return}let Z={...G(W),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":B},V=j(X),P=`${q?.baseUrl??z().BASE_API_URL}/v1/sessions/${V}`;K(`[bridge] Updating session title: ${V} → ${Q}`);try{let N=await L.patch(P,{title:Q},{headers:Z,timeout:1e4,validateStatus:(_)=>_<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let _=R(N.data);K(`[bridge] Session title update failed with status ${N.status}${_?`: ${_}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${C(N)}`)}}var p=I(()=>{D();h();d();c()});
2
- export{i as kf,r as lf,t as mf,o as nf,p as of};
@@ -1,12 +0,0 @@
1
- import{r9 as D}from"./cli-1.1.9-2t4pp98q.mjs";import{Cka as JG,Mka as W,Pka as a,yka as L}from"./cli-1.1.9-1b1mw6v2.mjs";import{Hla as GG,wla as c,xla as jG}from"./cli-1.1.9-jmwr69v2.mjs";import{Jra as U,Kra as g}from"./cli-1.1.9-r5gk3nve.mjs";import{esa as H,wsa as RG}from"./cli-1.1.9-mp2pqq66.mjs";import{Dsa as wG}from"./cli-1.1.9-0s7kmsaa.mjs";import{Usa as WG,Ysa as j,Zsa as e}from"./cli-1.1.9-fws7k6ak.mjs";function hG(){_.cache.clear?.(),W("Cleared CA certificates cache")}var _;var p=j(()=>{g();a();GG();JG();_=U(()=>{let G=c("--use-system-ca")||c("--use-openssl-ca"),J=process.env.NODE_EXTRA_CA_CERTS;if(W(`CA certs: useSystemCA=${G}, extraCertsPath=${J}`),!G&&!J)return;let Q=e("tls"),K=[];if(G){let Y=Q.getCACertificates,Z=Y?.("system");if(Z&&Z.length>0)K.push(...Z),W(`CA certs: Loaded ${K.length} system CA certificates (--use-system-ca)`);else if(!Y&&!J){W("CA certs: --use-system-ca set but system CA API unavailable, deferring to runtime");return}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base (--use-system-ca fallback)`)}else K.push(...Q.rootCertificates),W(`CA certs: Loaded ${K.length} bundled root certificates as base`);if(J)try{let Y=L().readFileSync(J,{encoding:"utf8"});K.push(Y),W(`CA certs: Appended extra certificates from NODE_EXTRA_CA_CERTS (${J})`)}catch(Y){W(`CA certs: Failed to read NODE_EXTRA_CA_CERTS file (${J}): ${Y}`,{level:"error"})}return K.length>0?K:void 0})});import{Agent as EG}from"https";function gG(){let G=F(),J=_();if(!G&&!J)return;return{...G,...J&&{ca:J}}}function v(){let G=F(),J=_();if(!G&&!J)return{};let Q={...G,...J&&{ca:J}};if(typeof Bun<"u")return{tls:Q};return W("TLS: Created undici agent with custom certificates"),{dispatcher:new(D()).Agent({connect:{cert:Q.cert,key:Q.key,passphrase:Q.passphrase,...Q.ca&&{ca:Q.ca}},pipelining:1})}}function aG(){F.cache.clear?.(),P.cache.clear?.(),W("Cleared mTLS configuration cache")}function pG(){if(!F())return;if(process.env.NODE_EXTRA_CA_CERTS)W("NODE_EXTRA_CA_CERTS detected - Node.js will automatically append to built-in CAs")}var F,P;var KG=j(()=>{g();p();a();JG();F=U(()=>{let G={};if(process.env.CLAUDE_CODE_CLIENT_CERT)try{G.cert=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_CERT,{encoding:"utf8"}),W("mTLS: Loaded client certificate from CLAUDE_CODE_CLIENT_CERT")}catch(J){W(`mTLS: Failed to load client certificate: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY)try{G.key=L().readFileSync(process.env.CLAUDE_CODE_CLIENT_KEY,{encoding:"utf8"}),W("mTLS: Loaded client key from CLAUDE_CODE_CLIENT_KEY")}catch(J){W(`mTLS: Failed to load client key: ${J}`,{level:"error"})}if(process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE)G.passphrase=process.env.CLAUDE_CODE_CLIENT_KEY_PASSPHRASE,W("mTLS: Using client key passphrase");if(Object.keys(G).length===0)return;return G}),P=U(()=>{let G=F(),J=_();if(!G&&!J)return;let Q={...G,...J&&{ca:J},keepAlive:!0};return W("mTLS: Creating HTTPS agent with custom certificates"),new EG(Q)})});var QG=()=>{};import*as YG from"net";import*as ZG from"http";import{Agent as SG}from"https";var B,i;var $G=j(()=>{QG();B=Symbol("AgentBaseInternalState");i=class i extends ZG.Agent{constructor(G){super(G);this[B]={}}isSecureEndpoint(G){if(G){if(typeof G.secureEndpoint==="boolean")return G.secureEndpoint;if(typeof G.protocol==="string")return G.protocol==="https:"}let{stack:J}=Error();if(typeof J!=="string")return!1;return J.split(`
2
- `).some((Q)=>Q.indexOf("(https.js:")!==-1||Q.indexOf("node:https:")!==-1)}incrementSockets(G){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[G])this.sockets[G]=[];let J=new YG.Socket({writable:!1});return this.sockets[G].push(J),this.totalSocketCount++,J}decrementSockets(G,J){if(!this.sockets[G]||J===null)return;let Q=this.sockets[G],K=Q.indexOf(J);if(K!==-1){if(Q.splice(K,1),this.totalSocketCount--,Q.length===0)delete this.sockets[G]}}getName(G){if(this.isSecureEndpoint(G))return SG.prototype.getName.call(this,G);return super.getName(G)}createSocket(G,J,Q){let K={...J,secureEndpoint:this.isSecureEndpoint(J)},Y=this.getName(K),Z=this.incrementSockets(Y);Promise.resolve().then(()=>this.connect(G,K)).then((w)=>{if(this.decrementSockets(Y,Z),typeof w.addRequest==="function")try{return w.addRequest(G,K)}catch($){return Q($)}this[B].currentSocket=w,super.createSocket(G,J,Q)},(w)=>{this.decrementSockets(Y,Z),Q(w)})}createConnection(){let G=this[B].currentSocket;if(this[B].currentSocket=void 0,!G)throw Error("No socket was returned in the `connect()` function");return G}get defaultPort(){return this[B].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(G){if(this[B])this[B].defaultPort=G}get protocol(){return this[B].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(G){if(this[B])this[B].protocol=G}}});function n(G){return new Promise((J,Q)=>{let K=0,Y=[];function Z(){let X=G.read();if(X)q(X);else G.once("readable",Z)}function w(){G.removeListener("end",$),G.removeListener("error",V),G.removeListener("readable",Z)}function $(){w(),C("onend"),Q(Error("Proxy connection ended before receiving CONNECT response"))}function V(X){w(),C("onerror %o",X),Q(X)}function q(X){Y.push(X),K+=X.length;let z=Buffer.concat(Y,K),O=z.indexOf(`\r
3
- \r
4
- `);if(O===-1){C("have not received end of HTTP headers yet..."),Z();return}let b=z.slice(0,O).toString("ascii").split(`\r
5
- `),f=b.shift();if(!f)return G.destroy(),Q(Error("No header received from proxy CONNECT response"));let t=f.split(" "),TG=+t[1],IG=t.slice(2).join(" "),E={};for(let S of b){if(!S)continue;let u=S.indexOf(":");if(u===-1)return G.destroy(),Q(Error(`Invalid header from proxy CONNECT response: "${S}"`));let d=S.slice(0,u).toLowerCase(),l=S.slice(u+1).trimStart(),A=E[d];if(typeof A==="string")E[d]=[A,l];else if(Array.isArray(A))A.push(l);else E[d]=l}C("got proxy server response: %o %o",f,E),w(),J({connect:{statusCode:TG,statusText:IG,headers:E},buffered:z})}G.on("error",V),G.on("end",$),Z()})}var XG,C;var zG=j(()=>{XG=WG(wG(),1),C=XG.default("https-proxy-agent:parse-proxy-response")});function VG(){return async({response:G,scheme:J})=>{if(J.toLowerCase()!=="negotiate")throw Error(`Expected Negotiate scheme but got "${J}"`);let Q;try{Q=await import("kerberos")}catch{throw Error('The "kerberos" package is required for Negotiate proxy authentication. Install it with: npm install kerberos')}let K=G.headers["proxy-authenticate"]||"",Y=Array.isArray(K)?K[0]:K,Z=typeof Y==="string"&&Y.includes(" ")?Y.split(" ").slice(1).join(" "):void 0,$=await(await Q.initializeClient("HTTP@proxy",{mechOID:Q.GSS_MECH_OID_SPNEGO})).step(Z||"");if(!$)throw Error("Kerberos client.step() returned no token");return{headers:{"Proxy-Authorization":`Negotiate ${$}`}}}}var BG=()=>{};import*as M from"net";import*as R from"tls";import LG from"assert";import{URL as DG}from"url";function MG(G){setImmediate(()=>{G.resume()})}function s(G,...J){let Q={},K;for(K in G)if(!J.includes(K))Q[K]=G[K];return Q}var HG,T,k=(G)=>{if(G.servername===void 0&&G.host&&!M.isIP(G.host))return{...G,servername:G.host};return G},x;var qG=j(()=>{$G();zG();BG();HG=WG(wG(),1),T=HG.default("https-proxy-agent");x=class x extends i{constructor(G,J){super(J);if(this.options={path:void 0},this.proxy=typeof G==="string"?new DG(G):G,this.proxyHeaders=J?.headers??{},T("Creating new HttpsProxyAgent instance: %o",this.proxy.href),J?.negotiate)this.onProxyAuth=VG();else if(J?.onProxyAuth)this.onProxyAuth=J.onProxyAuth;let Q=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),K=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...J?s(J,"headers","onProxyAuth","negotiate"):null,host:Q,port:K}}async connect(G,J){let{proxy:Q}=this;if(!J.host)throw TypeError('No "host" provided');let K;if(Q.protocol==="https:")T("Creating `tls.Socket`: %o",this.connectOpts),K=R.connect(k(this.connectOpts));else T("Creating `net.Socket`: %o",this.connectOpts),K=M.connect(this.connectOpts);let Y=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},Z=M.isIPv6(J.host)?`[${J.host}]`:J.host,w=`CONNECT ${Z}:${J.port} HTTP/1.1\r
6
- `;if(Q.username||Q.password){let z=`${decodeURIComponent(Q.username)}:${decodeURIComponent(Q.password)}`;Y["Proxy-Authorization"]=`Basic ${Buffer.from(z).toString("base64")}`}if(Y.Host=`${Z}:${J.port}`,!Y["Proxy-Connection"])Y["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let z of Object.keys(Y))w+=`${z}: ${Y[z]}\r
7
- `;let $=n(K);K.write(`${w}\r
8
- `);let{connect:V,buffered:q}=await $;if(G.emit("proxyConnect",V),this.emit("proxyConnect",V,G),G.emit("proxy",{proxy:this.proxy.href,socket:K}),V.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:K});return K}if(V.statusCode===407&&this.onProxyAuth){T("Got 407 response, invoking onProxyAuth callback"),K.destroy();let z=V.headers["proxy-authenticate"]||"",O=Array.isArray(z)?z[0].split(/\s/)[0]:z.split(/\s/)[0],b=await this.onProxyAuth({response:V,scheme:O});return this._connectWithAuth(G,J,b.headers)}K.destroy();let X=new M.Socket({writable:!1});return X.readable=!0,G.once("socket",(z)=>{T("Replaying proxy buffer for failed request"),LG(z.listenerCount("data")>0),z.push(q),z.push(null)}),X}async _connectWithAuth(G,J,Q){let{proxy:K}=this,Y;if(K.protocol==="https:")Y=R.connect(k(this.connectOpts));else Y=M.connect(this.connectOpts);let Z=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},w=M.isIPv6(J.host)?`[${J.host}]`:J.host,$=`CONNECT ${w}:${J.port} HTTP/1.1\r
9
- `;if(K.username||K.password){let X=`${decodeURIComponent(K.username)}:${decodeURIComponent(K.password)}`;Z["Proxy-Authorization"]=`Basic ${Buffer.from(X).toString("base64")}`}if(Object.assign(Z,Q),Z.Host=`${w}:${J.port}`,!Z["Proxy-Connection"])Z["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let X of Object.keys(Z))$+=`${X}: ${Z[X]}\r
10
- `;let V=n(Y);Y.write(`${$}\r
11
- `);let{connect:q}=await V;if(G.emit("proxyConnect",q),this.emit("proxyConnect",q,G),q.statusCode===200){if(G.once("socket",MG),J.secureEndpoint)return T("Upgrading socket connection to TLS"),R.connect({...s(k(J),"host","path","port"),socket:Y});return Y}throw Y.destroy(),Error(`Proxy authentication failed with status ${q.statusCode} after retry`)}};x.protocols=["http","https"]});function MJ(G){r.set(G,!0),UG(G)}function UG(G){NG.cache.delete?.(G)}function HJ(G){_G.set(G,!0),UG(G)}function OG(G){return _G.get(G)===!0}function bG(G){switch(G.family){case 0:case 4:case 6:return G.family;case"IPv6":return 6;case"IPv4":case void 0:return 4;default:throw Error(`Unsupported address family: ${G.family}`)}}function I(G=process.env){return G.https_proxy||G.HTTPS_PROXY||G.http_proxy||G.HTTP_PROXY}function AG(G=process.env){return G.no_proxy||G.NO_PROXY}function h(G,J=AG()){if(!J)return!1;if(J==="*")return!0;try{let Q=new URL(G),K=Q.hostname.toLowerCase(),Y=Q.port||(Q.protocol==="https:"||Q.protocol==="wss:"?"443":"80"),Z=`${K}:${Y}`;return J.split(/[,\s]+/).filter(Boolean).some(($)=>{if($=$.toLowerCase().trim(),$.includes(":"))return Z===$;if($.startsWith(".")){let V=$;return K===$.substring(1)||K.endsWith(V)}return K===$||K.endsWith("."+$)})}catch{return!1}}function y(G,J={}){let Q=F(),K=_(),Y={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};if(jG(process.env.CLAUDE_CODE_PROXY_RESOLVES_HOSTS))Y.lookup=(Z,w,$)=>{$(null,Z,bG(w))};return new x(G,{...Y,...J})}function qJ(G={}){let J=I(),Q=P(),K=H.create({proxy:!1});if(!J){if(Q)K.defaults.httpsAgent=Q;return K}let Y=y(J,G);return K.interceptors.request.use((Z)=>{if(Z.url&&h(Z.url))Z.httpsAgent=Q,Z.httpAgent=Q;else Z.httpsAgent=Y,Z.httpAgent=Y;return Z}),K}function jJ(G){let J=I();if(!J)return;if(h(G))return;return y(J)}function UJ(G){let J=I();if(!J)return;if(h(G))return;return J}function _J(G){let J=G?.provider&&r.get(G.provider)?{keepalive:!1}:{};if(G?.forAnthropicAPI){let Y=process.env.ANTHROPIC_UNIX_SOCKET;if(Y&&typeof Bun<"u")return{...J,unix:Y}}let Q=I();if(Q){if(typeof Bun<"u")return{...J,proxy:Q,...v()};return{...J,dispatcher:o(Q)}}let K=v();if(G?.provider&&!K.dispatcher)return{...J,...K,dispatcher:NG(G.provider)};return{...J,...K}}function FJ(){let G=I(),J=P();if(m!==void 0)H.interceptors.request.eject(m),m=void 0;if(H.defaults.proxy=void 0,H.defaults.httpAgent=void 0,H.defaults.httpsAgent=void 0,G){H.defaults.proxy=!1;let Q=y(G);m=H.interceptors.request.use((K)=>{if(K.url&&h(K.url))if(J)K.httpsAgent=J,K.httpAgent=J;else delete K.httpsAgent,delete K.httpAgent;else K.httpsAgent=Q,K.httpAgent=Q;return K}),D().setGlobalDispatcher(o(G))}else if(J){H.defaults.httpsAgent=J;let Q=v();if(Q.dispatcher)D().setGlobalDispatcher(Q.dispatcher)}}async function NJ(){let G=I();if(!G)return{};let[{NodeHttpHandler:J},{defaultProvider:Q}]=await Promise.all([import("./index-1.1.9-yznkq9s3.mjs"),import("./index-1.1.9-ad1rhnqp.mjs")]),K=y(G),Y=new J({httpAgent:K,httpsAgent:K});return{requestHandler:Y,credentials:Q({clientConfig:{requestHandler:Y}})}}function TJ(){o.cache.clear?.(),W("Cleared proxy agent cache")}var r,_G,o,N,FG,PG,NG,m;var vG=j(()=>{RG();qG();g();p();a();GG();KG();r=new Map;_G=new Map;o=U((G)=>{let J=D(),Q=F(),K=_(),Y={httpProxy:G,httpsProxy:G,noProxy:process.env.NO_PROXY||process.env.no_proxy};if(Q||K){let Z={...Q&&{cert:Q.cert,key:Q.key,passphrase:Q.passphrase},...K&&{ca:K}};Y.connect=Z,Y.requestTls=Z}return new J.EnvHttpProxyAgent(Y)}),N={connections:12,keepAliveTimeout:30000,pipelining:1},FG={firstParty:{...N,allowH2:!0},openai:{...N,allowH2:!0},gemini:{...N,allowH2:!0},mistral:{...N,allowH2:!0},github:{...N,allowH2:!0},codex:{...N,allowH2:!0},"nvidia-nim":{...N,allowH2:!0},minimax:{...N,allowH2:!0}},PG=FG.openai,NG=U((G)=>{let J=D(),Q=FG[G]??PG,K={...Q,allowH2:Q.allowH2&&!OG(G),keepAliveTimeout:r.get(G)?100:Q.keepAliveTimeout};return new J.Agent(K)})});
12
- export{hG as W8,p as X8,F as Y8,gG as Z8,aG as _8,pG as $8,KG as a9,MJ as b9,HJ as c9,OG as d9,I as e9,h as f9,qJ as g9,jJ as h9,UJ as i9,_J as j9,FJ as k9,NJ as l9,TJ as m9,vG as n9};
@@ -1,15 +0,0 @@
1
- import{cS as _,hk as J,rO as f,tO as z,xx as L,yx as k}from"./cli-1.1.9-bftwnbgn.mjs";import{Vaa as F,_aa as A}from"./cli-1.1.9-8gkjdbxs.mjs";import{Oia as Y,Qia as h,Ria as H,Sia as X}from"./cli-1.1.9-0h7f33hw.mjs";import{Jja as W,Mja as M}from"./cli-1.1.9-573zndr8.mjs";import{Mka as D,Pka as R}from"./cli-1.1.9-1b1mw6v2.mjs";import{apa as q,kra as C}from"./cli-1.1.9-gttthtg1.mjs";import{Ysa as V}from"./cli-1.1.9-fws7k6ak.mjs";function S(U){let Q=[];for(let w of U){if(w.type!=="user"&&w.type!=="assistant")continue;if("isMeta"in w&&w.isMeta)continue;if("origin"in w&&w.origin&&w.origin.kind!=="human")continue;let K=w.message.content;if(typeof K==="string")Q.push(K);else if(Array.isArray(K)){for(let B of K)if("type"in B&&B.type==="text"&&"text"in B)Q.push(B.text)}}let G=Q.join(`
2
- `);return G.length>$?G.slice(-$):G}async function T(U,Q){let G=U.trim();if(!G)return null;try{let w=await f({systemPrompt:L([P]),userPrompt:G,outputFormat:{type:"json_schema",schema:{type:"object",properties:{title:{type:"string"}},required:["title"],additionalProperties:!1}},signal:Q,options:{querySource:"generate_session_title",agents:[],isNonInteractiveSession:q(),hasAppendSystemPrompt:!1,mcpTools:[]}}),K=J(w.message.content),B=v().safeParse(F(K)),Z=B.success?B.data.title.trim()||null:null;return W("tengu_session_title_generated",{success:Z!==null}),Z}catch(w){return D(`generateSessionTitle failed: ${w}`,{level:"error"}),W("tengu_session_title_generated",{success:!1}),"Claudin"}}var $=1000,P=`Generate a concise, sentence-case title (3-7 words) that captures the main topic or goal of this coding session. The title should be clear enough that the user recognizes the session in a list. Use sentence case: capitalize only the first word and proper nouns.
3
-
4
- Return JSON with a single "title" field.
5
-
6
- Good examples:
7
- {"title": "Fix login button on mobile"}
8
- {"title": "Add OAuth authentication"}
9
- {"title": "Debug failing CI tests"}
10
- {"title": "Refactor API client error handling"}
11
-
12
- Bad (too vague): {"title": "Code changes"}
13
- Bad (too long): {"title": "Investigate and fix the issue where the login button does not respond on mobile devices"}
14
- Bad (wrong case): {"title": "Fix Login Button On Mobile"}`,v;var I=V(()=>{h();C();M();z();R();A();X();_();k();v=H(()=>Y.object({title:Y.string()}))});
15
- export{S as ne,T as oe,I as pe};
@@ -1,2 +0,0 @@
1
- import{eI as U,fI as w}from"./cli-1.1.9-bftwnbgn.mjs";import{BZ as f,F1 as k,_0 as N,a1 as O}from"./cli-1.1.9-txs7wza6.mjs";import{i4 as M,j4 as H,k4 as R}from"./cli-1.1.9-5cr2dpgf.mjs";import{Usa as Y,Ysa as Z}from"./cli-1.1.9-fws7k6ak.mjs";function _(X){let q=V.c(10),{message:I,bold:P,dimColor:Q,subtitle:D}=X,J=P===void 0?!1:P,K=Q===void 0?!1:Q,E;if(q[0]===Symbol.for("react.memo_cache_sentinel"))E=M(U,{}),q[0]=E;else E=q[0];let v;if(q[1]!==J||q[2]!==K||q[3]!==I)v=H(N,{flexDirection:"row",children:[E,H(O,{bold:J,dimColor:K,children:[" ",I]})]}),q[1]=J,q[2]=K,q[3]=I,q[4]=v;else v=q[4];let z;if(q[5]!==D)z=D&&M(O,{dimColor:!0,children:D}),q[5]=D,q[6]=z;else z=q[6];let G;if(q[7]!==v||q[8]!==z)G=H(N,{flexDirection:"column",children:[v,z]}),q[7]=v,q[8]=z,q[9]=G;else G=q[9];return G}var V;var A=Z(()=>{k();w();R();V=Y(f(),1)});
2
- export{_ as Gg,A as Hg};
@@ -1,58 +0,0 @@
1
- import{LR as P,aD as A,bD as p,cS as s,dj as $,gj as T,iB as U,jB as I,kK as F,ur as O,xr as m}from"./cli-1.1.9-bftwnbgn.mjs";import{P4 as b,Q4 as h}from"./cli-1.1.9-914mh2gv.mjs";import{Cka as C,yka as S}from"./cli-1.1.9-1b1mw6v2.mjs";import{pla as k,rla as M}from"./cli-1.1.9-tze0002b.mjs";import{Hla as x,ula as y}from"./cli-1.1.9-jmwr69v2.mjs";import{Ysa as N}from"./cli-1.1.9-fws7k6ak.mjs";import{join as E}from"path";function D(){return`IMPORTANT: This message and these instructions are NOT part of the actual user conversation. Do NOT include any references to "documentation updates", "magic docs", or these update instructions in the document content.
2
-
3
- Based on the user conversation above (EXCLUDING this documentation update instruction message), update the Magic Doc file to incorporate any NEW learnings, insights, or information that would be valuable to preserve.
4
-
5
- The file {{docPath}} has already been read for you. Here are its current contents:
6
- <current_doc_content>
7
- {{docContents}}
8
- </current_doc_content>
9
-
10
- Document title: {{docTitle}}
11
- {{customInstructions}}
12
-
13
- Your ONLY task is to use the Edit tool to update the documentation file if there is substantial new information to add, then stop. You can make multiple edits (update multiple sections as needed) - make all Edit tool calls in parallel in a single message. If there's nothing substantial to add, simply respond with a brief explanation and do not call any tools.
14
-
15
- CRITICAL RULES FOR EDITING:
16
- - Preserve the Magic Doc header exactly as-is: # MAGIC DOC: {{docTitle}}
17
- - If there's an italicized line immediately after the header, preserve it exactly as-is
18
- - Keep the document CURRENT with the latest state of the codebase - this is NOT a changelog or history
19
- - Update information IN-PLACE to reflect the current state - do NOT append historical notes or track changes over time
20
- - Remove or replace outdated information rather than adding "Previously..." or "Updated to..." notes
21
- - Clean up or DELETE sections that are no longer relevant or don't align with the document's purpose
22
- - Fix obvious errors: typos, grammar mistakes, broken formatting, incorrect information, or confusing statements
23
- - Keep the document well organized: use clear headings, logical section order, consistent formatting, and proper nesting
24
-
25
- DOCUMENTATION PHILOSOPHY - READ CAREFULLY:
26
- - BE TERSE. High signal only. No filler words or unnecessary elaboration.
27
- - Documentation is for OVERVIEWS, ARCHITECTURE, and ENTRY POINTS - not detailed code walkthroughs
28
- - Do NOT duplicate information that's already obvious from reading the source code
29
- - Do NOT document every function, parameter, or line number reference
30
- - Focus on: WHY things exist, HOW components connect, WHERE to start reading, WHAT patterns are used
31
- - Skip: detailed implementation steps, exhaustive API docs, play-by-play narratives
32
-
33
- What TO document:
34
- - High-level architecture and system design
35
- - Non-obvious patterns, conventions, or gotchas
36
- - Key entry points and where to start reading code
37
- - Important design decisions and their rationale
38
- - Critical dependencies or integration points
39
- - References to related files, docs, or code (like a wiki) - help readers navigate to relevant context
40
-
41
- What NOT to document:
42
- - Anything obvious from reading the code itself
43
- - Exhaustive lists of files, functions, or parameters
44
- - Step-by-step implementation details
45
- - Low-level code mechanics
46
- - Information already in CLAUDE.md or other project docs
47
-
48
- Use the Edit tool with file_path: {{docPath}}
49
-
50
- REMEMBER: Only update if there is substantial new information. The Magic Doc header (# MAGIC DOC: {{docTitle}}) must remain unchanged.`}async function f(){let w=S(),z=E(y(),"magic-docs","prompt.md");try{return await w.readFile(z,{encoding:"utf-8"})}catch{return D()}}function g(w,z){return w.replace(/\{\{(\w+)\}\}/g,(B,J)=>Object.prototype.hasOwnProperty.call(z,J)?z[J]:B)}async function R(w,z,B,J){let Y=await f(),K=J?`
51
-
52
- DOCUMENT-SPECIFIC UPDATE INSTRUCTIONS:
53
- The document author has provided specific instructions for how this file should be updated. Pay extra attention to these instructions and follow them carefully:
54
-
55
- "${J}"
56
-
57
- These instructions take priority over the general rules below. Make sure your updates align with these specific guidelines.`:"";return g(Y,{docContents:w,docPath:z,docTitle:B,customInstructions:K})}var j=N(()=>{x();C()});function Xw(){G.clear()}function d(w){let z=w.match(u);if(!z||!z[1])return null;let B=z[1].trim(),J=z.index+z[0].length,K=w.slice(J).match(/^\s*\n(?:\s*\n)?(.+?)(?:\n|$)/);if(K&&K[1]){let X=K[1].match(r);if(X&&X[1]){let Z=X[1].trim();return{title:B,instructions:Z}}}return{title:B}}function l(){return{agentType:"magic-docs",whenToUse:"Update Magic Docs",tools:[$],model:"sonnet",source:"built-in",baseDir:"built-in",getSystemPrompt:()=>""}}async function i(w,z){let{messages:B,systemPrompt:J,userContext:Y,systemContext:K,toolUseContext:V}=z,X=O(V.readFileState);X.delete(w.path);let Z={...V,readFileState:X},q="";try{let W=(await A.call({file_path:w.path},Z)).data;if(W.type==="text")q=W.file.content}catch(Q){if(k(Q)||Q instanceof Error&&Q.message.startsWith("File does not exist")){G.delete(w.path);return}throw Q}let H=d(q);if(!H){G.delete(w.path);return}let L=await R(q,w.path,H.title,H.instructions),_=async(Q,W)=>{if(Q.name===$&&typeof W==="object"&&W!==null&&"file_path"in W){let v=W.file_path;if(typeof v==="string"&&v===w.path)return{behavior:"allow",updatedInput:W}}return{behavior:"deny",message:`only ${$} is allowed for ${w.path}`,decisionReason:{type:"other",reason:`only ${$} is allowed`}}};for await(let Q of U({agentDefinition:l(),promptMessages:[F({content:L})],toolUseContext:Z,canUseTool:_,isAsync:!0,forkContextMessages:B,querySource:"magic_docs",override:{systemPrompt:J,userContext:Y,systemContext:K},availableTools:Z.options.tools}));}async function Zw(){}var u,r,G,Yw;var a=N(()=>{I();T();p();M();m();s();h();j();u=/^#\s*MAGIC\s+DOC:\s*(.+)$/im,r=/^[_*](.+?)[_*]\s*$/m,G=new Map;Yw=b(async function(w){let{messages:z,querySource:B}=w;if(B!=="repl_main_thread")return;if(P(z))return;if(G.size===0)return;for(let K of Array.from(G.values()))await i(K,w)})});
58
- export{Xw as Vh,Zw as Wh,a as Xh};
@@ -1,2 +0,0 @@
1
- import{Wsa as H,Ysa as UJ}from"./cli-1.1.9-fws7k6ak.mjs";var N=H((IJ,Oq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=H((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var C=H((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var I1=L.re=[],O1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),Z=w1++;F1(q,Z,$),z[q]=Z,j[Z]=$,H1[Z]=Q,I1[Z]=new RegExp($,J?"g":void 0),O1[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=H((HJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=H((wJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var G=H((yJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),P1=b(),{compareIdentifiers:e}=o(),_1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=P1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let Z=+Q;if(Z>=0&&Z<f)return Z}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let Z=[$,Q];if(J===!1)Z=[$];if(_1(this.prerelease,$)){let W=this.prerelease[$.split(".").length];if(isNaN(W))this.prerelease=Z}else this.prerelease=Z}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=H((BJ,_q)=>{var Pq=G(),X1=(q,$,J=!1)=>{if(q instanceof Pq)return q;try{return new Pq(q,$)}catch(Q){if(!J)return null;throw Q}};_q.exports=X1});var Aq=H((xJ,Xq)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};Xq.exports=L1});var Eq=H((DJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=H((GJ,Cq)=>{var Nq=G(),C1=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Cq.exports=C1});var uq=H((VJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,Y=W?Q:J,F=!!K.prerelease.length;if(!!Y.prerelease.length&&!F){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let I=F?"pre":"";if(J.major!==Q.major)return I+"major";if(J.minor!==Q.minor)return I+"minor";if(J.patch!==Q.patch)return I+"patch";return"prerelease"};kq.exports=S1});var Mq=H((PJ,Tq)=>{var R1=G(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=H((_J,bq)=>{var u1=G(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=H((XJ,fq)=>{var M1=G(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=H((AJ,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var _=H((LJ,cq)=>{var gq=G(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=H((EJ,mq)=>{var d1=_(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=H((NJ,sq)=>{var g1=_(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=H((CJ,tq)=>{var nq=G(),m1=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};tq.exports=m1});var rq=H((SJ,iq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));iq.exports=s1});var eq=H((RJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=H((kJ,q0)=>{var t1=_(),i1=(q,$,J)=>t1(q,$,J)>0;q0.exports=i1});var g=H((uJ,$0)=>{var r1=_(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=H((TJ,J0)=>{var e1=_(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=H((MJ,Q0)=>{var $$=_(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=H((bJ,W0)=>{var Q$=_(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=H((hJ,Z0)=>{var Z$=_(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=H((fJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),I$=m(),O$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return I$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=O$});var z0=H((vJ,j0)=>{var H$=G(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let F=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],U;while((U=F.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||U.index+U[0].length!==J.index+J[0].length)J=U;F.lastIndex=U.index+U[1].length+U[2].length}F.lastIndex=-1}if(J===null)return null;let Q=J[2],Z=J[3]||"0",W=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${Z}.${W}${K}${Y}`,$)};j0.exports=y$});var U0=H((dJ,Y0)=>{var B$=E(),x$=N(),D$=G(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&P$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},P$=(q,$)=>{if(_$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},_$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var O0=H((lJ,I0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}I0.exports=F0});var X=H((gJ,B0)=>{var X$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(X$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?P[V.HYPHENRANGELOOSE]:P[V.HYPHENRANGE];q=q.replace(W,s$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(P[V.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(P[V.TILDETRIM],S$),B("tilde trim",q),q=q.replace(P[V.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((I)=>b$(I,this.options)).join(" ").split(/\s+/).map((I)=>p$(I,this.options));if(Z)K=K.filter((I)=>{return B("loose invalid filter",I,this.options),!!I.match(P[V.COMPARATORLOOSE])});B("range list",K);let Y=new Map,F=K.map((I)=>new Qq(I,this.options));for(let I of F){if(w0(I))return[I];Y.set(I.value,I)}if(Y.size>1&&Y.has(""))Y.delete("");let U=[...Y.values()];return H0.set(J,U),U}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((Z)=>{return Q.every((W)=>{return Z.intersects(W,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(a$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=O0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=G(),{safeRe:P,src:N$,t:V,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[V.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),Z=Q.pop();while(J&&Q.length)J=Q.every((W)=>{return Z.intersects(W,$)}),Z=Q.pop();return J},b$=(q,$)=>{return q=q.replace(P[V.BUILD],""),B("comp",q,$),q=d$(q,$),B("caret",q),q=f$(q,$),B("tildes",q),q=g$(q,$),B("xrange",q),q=m$(q,$),B("stars",q),q},D=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$,J)=>D(q)&&!D($)||D($)&&J&&!D(J),f$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>v$(J,$)).join(" ")},v$=(q,$)=>{let J=$.loose?P[V.TILDELOOSE]:P[V.TILDE],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("tilde",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else if(F)B("replaceTilde pr",F),U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;return B("tilde return",U),U})},d$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>l$(J,$)).join(" ")},l$=(q,$)=>{B("caret",q,$);let J=$.loose?P[V.CARETLOOSE]:P[V.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("caret",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))if(W==="0")U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(F)if(B("replaceCaret pr",F),W==="0")if(K==="0")U=`>=${W}.${K}.${Y}-${F} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y}-${F} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")U=`>=${W}.${K}.${Y} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${+W+1}.0.0-0`;return B("caret return",U),U})},g$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>c$(J,$)).join(" ")},c$=(q,$)=>{q=q.trim();let J=$.loose?P[V.XRANGELOOSE]:P[V.XRANGE];return q.replace(J,(Q,Z,W,K,Y,F)=>{if(B("xRange",q,Q,Z,W,K,Y,F),h$(W,K,Y))return q;let U=D(W),I=U||D(K),y=I||D(Y),x=y;if(Z==="="&&x)Z="";if(F=$.includePrerelease?"-0":"",U)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(I)K=0;if(Y=0,Z===">")if(Z=">=",I)W=+W+1,K=0,Y=0;else K=+K+1,Y=0;else if(Z==="<=")if(Z="<",I)W=+W+1;else K=+K+1;if(Z==="<")F="-0";Q=`${Z+W}.${K}.${Y}${F}`}else if(I)Q=`>=${W}.0.0${F} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${F} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},m$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(P[V.STAR],"")},p$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(P[$.includePrerelease?V.GTE0PRE:V.GTE0],"")},s$=(q)=>($,J,Q,Z,W,K,Y,F,U,I,y,x)=>{if(D(Q))J="";else if(D(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(D(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(D(U))F="";else if(D(I))F=`<${+U+1}.0.0-0`;else if(D(y))F=`<${U}.${+I+1}.0-0`;else if(x)F=`<=${U}.${I}.${y}-${x}`;else if(q)F=`<${U}.${I}.${+y+1}-0`;else F=`<=${F}`;return`${J} ${F}`.trim()},a$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let Z=q[Q].semver;if(Z.major===$.major&&Z.minor===$.minor&&Z.patch===$.patch)return!0}}return!1}return!0}});var u=H((cJ,_0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new P0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new P0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}_0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=G(),P0=X()});var M=H((mJ,X0)=>{var n$=X(),t$=(q,$,J)=>{try{$=new n$($,J)}catch(Q){return!1}return $.test(q)};X0.exports=t$});var L0=H((pJ,A0)=>{var i$=X(),r$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=r$});var N0=H((sJ,E0)=>{var o$=G(),e$=X(),q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new e$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new o$(Q,J)}}),Q};E0.exports=q9});var S0=H((aJ,C0)=>{var $9=G(),J9=X(),Q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new J9($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new $9(Q,J)}}),Q};C0.exports=Q9});var u0=H((nJ,k0)=>{var Kq=G(),W9=X(),R0=R(),Z9=(q,$)=>{q=new W9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let Z=q.set[Q],W=null;if(Z.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!W||R0(Y,W))W=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||R0(J,W)))J=W}if(J&&q.test(J))return J;return null};k0.exports=Z9});var M0=H((tJ,T0)=>{var K9=X(),j9=(q,$)=>{try{return new K9(q,$).range||"*"}catch(J){return null}};T0.exports=j9});var n=H((iJ,v0)=>{var z9=G(),f0=u(),{ANY:Y9}=f0,U9=X(),F9=M(),b0=R(),h0=g(),I9=m(),O9=c(),H9=(q,$,J,Q)=>{q=new z9(q,Q),$=new U9($,Q);let Z,W,K,Y,F;switch(J){case">":Z=b0,W=I9,K=h0,Y=">",F=">=";break;case"<":Z=h0,W=O9,K=b0,Y="<",F="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(F9(q,$,Q))return!1;for(let U=0;U<$.set.length;++U){let I=$.set[U],y=null,x=null;if(I.forEach((O)=>{if(O.semver===Y9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,Z(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===F)return!1;if((!x.operator||x.operator===Y)&&W(q,x.semver))return!1;else if(x.operator===F&&K(q,x.semver))return!1}return!0};v0.exports=H9});var l0=H((rJ,d0)=>{var w9=n(),y9=(q,$,J)=>w9(q,$,">",J);d0.exports=y9});var c0=H((oJ,g0)=>{var B9=n(),x9=(q,$,J)=>B9(q,$,"<",J);g0.exports=x9});var s0=H((eJ,p0)=>{var m0=X(),D9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=D9});var n0=H((qQ,a0)=>{var G9=M(),V9=_();a0.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((I,y)=>V9(I,y,J));for(let I of K)if(G9(I,$,J)){if(W=I,!Z)Z=I}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let Y=[];for(let[I,y]of Q)if(I===y)Y.push(I);else if(!y&&I===K[0])Y.push("*");else if(!y)Y.push(`>=${I}`);else if(I===K[0])Y.push(`<=${y}`);else Y.push(`${I} - ${y}`);let F=Y.join(" || "),U=typeof $.raw==="string"?$.raw:String($);return F.length<U.length?F:$}});var q1=H(($Q,e0)=>{var t0=X(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=_(),P9=(q,$,J={})=>{if(q===$)return!0;q=new t0(q,J),$=new t0($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=X9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},_9=[new Yq(">=0.0.0-0")],i0=[new Yq(">=0.0.0")],X9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===jq)if($.length===1&&$[0].semver===jq)return!0;else if(J.includePrerelease)q=_9;else q=i0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=i0;let Q=new Set,Z,W;for(let O of q)if(O.operator===">"||O.operator===">=")Z=r0(Z,O,J);else if(O.operator==="<"||O.operator==="<=")W=o0(W,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Uq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let O of Q){if(Z&&!zq(O,String(Z),J))return null;if(W&&!zq(O,String(W),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,F,U,I,y=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1,x=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1;if(y&&y.prerelease.length===1&&W.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(I=I||O.operator===">"||O.operator===">=",U=U||O.operator==="<"||O.operator==="<=",Z){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(Z,O,J),Y===O&&Y!==Z)return!1}else if(Z.operator===">="&&!O.test(Z.semver))return!1}if(W){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(F=o0(W,O,J),F===O&&F!==W)return!1}else if(W.operator==="<="&&!O.test(W.semver))return!1}if(!O.operator&&(W||Z)&&K!==0)return!1}if(Z&&U&&!W&&K!==0)return!1;if(W&&I&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=P9});var W1=H((JQ,Q1)=>{var Fq=C(),$1=N(),A9=G(),J1=o(),L9=E(),E9=Aq(),N9=Eq(),C9=Sq(),S9=uq(),R9=Mq(),k9=hq(),u9=vq(),T9=lq(),M9=_(),b9=pq(),h9=aq(),f9=l(),v9=rq(),d9=eq(),l9=R(),g9=g(),c9=qq(),m9=$q(),p9=c(),s9=m(),a9=Jq(),n9=z0(),t9=U0(),i9=u(),r9=X(),o9=M(),e9=L0(),qJ=N0(),$J=S0(),JJ=u0(),QJ=M0(),WJ=n(),ZJ=l0(),KJ=c0(),jJ=s0(),zJ=n0(),YJ=q1();Q1.exports={parse:L9,valid:E9,clean:N9,inc:C9,diff:S9,major:R9,minor:k9,patch:u9,prerelease:T9,compare:M9,rcompare:b9,compareLoose:h9,compareBuild:f9,sort:v9,rsort:d9,gt:l9,lt:g9,eq:c9,neq:m9,gte:p9,lte:s9,cmp:a9,coerce:n9,truncate:t9,Comparator:i9,Range:r9,satisfies:o9,toComparators:e9,maxSatisfying:qJ,minSatisfying:$J,minVersion:JJ,validRange:QJ,outside:WJ,gtr:ZJ,ltr:KJ,intersects:jJ,simplifyRange:zJ,subset:YJ,SemVer:A9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function t(){if(!Iq)Iq=W1();return Iq}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return t().gt(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return t().gte(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return t().lt(q,$,{loose:!0})}function KQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return t().satisfies(q,$,{loose:!0})}var Iq;var FJ=()=>{};
2
- export{W1 as v2,QQ as w2,WQ as x2,ZQ as y2,KQ as z2,FJ as A2};
@@ -1,2 +0,0 @@
1
- import{Jja as X,Mja as z}from"./cli-1.1.9-573zndr8.mjs";import{Mka as $,Pka as P,pka as Z,uka as O}from"./cli-1.1.9-1b1mw6v2.mjs";import{kla as Y,rla as H}from"./cli-1.1.9-tze0002b.mjs";import{Ysa as x}from"./cli-1.1.9-fws7k6ak.mjs";function h(q){return q.replace(w,(K,J,Q)=>{if(Q.length<F)return`"${J}":"[REDACTED]"`;let V=`${Q.slice(0,8)}...${Q.slice(-4)}`;return`"${J}":"${V}"`})}function N(q){let K=q.replace(/\n/g,"\\n");if(K.length<=W)return K;return K.slice(0,W)+`... (${K.length} chars)`}function R(q){let K=typeof q==="string"?q:Z(q),J=h(K);if(J.length<=W)return J;return J.slice(0,W)+`... (${J.length} chars)`}function U(q){let K=Y(q);if(q&&typeof q==="object"&&"response"in q){let J=q.response;if(J?.data&&typeof J.data==="object"){let Q=J.data,V=typeof Q.message==="string"?Q.message:typeof Q.error==="object"&&Q.error&&("message"in Q.error)&&typeof Q.error.message==="string"?Q.error.message:void 0;if(V)return`${K}: ${V}`}}return K}function j(q){if(q&&typeof q==="object"&&"response"in q&&q.response&&typeof q.response.status==="number")return q.response.status;return}function D(q){if(!q||typeof q!=="object")return;if("message"in q&&typeof q.message==="string")return q.message;if("error"in q&&q.error!==null&&typeof q.error==="object"&&"message"in q.error&&typeof q.error.message==="string")return q.error.message;return}function L(q,K,J){if(K)$(K);X("tengu_bridge_repl_skipped",{reason:q,...J!==void 0&&{v2:J}})}var W=2000,k,w,F=16;var m=x(()=>{z();P();H();O();k=["session_ingress_token","environment_secret","access_token","secret","token"],w=new RegExp(`"(${k.join("|")})"\\s*:\\s*"([^"]*)"`,"g")});
2
- export{N as pf,R as qf,U as rf,j as sf,D as tf,L as uf,m as vf};
@@ -1,24 +0,0 @@
1
- import{Bg as _Q,Dg as iQ}from"./cli-1.1.9-m2x94hxw.mjs";import{ti as WQ,ui as zX}from"./cli-1.1.9-ckr5mgw1.mjs";import{Bp as ZQ,Cp as uQ,Gs as CQ,NJ as JJ,OJ as mJ,Qs as qX,VJ as GQ,WJ as KQ,XJ as VQ,YJ as OQ,_J as NQ,bK as IJ,cK as nJ,dK as rJ,eK as gQ,hG as SJ,iG as YQ}from"./cli-1.1.9-bftwnbgn.mjs";import{BY as ZX,EY as FQ,FY as $X,LY as zJ,MY as iJ,lY as bJ,mY as aJ,zY as AQ}from"./cli-1.1.9-ezkc7ag5.mjs";import{F1 as WJ,KZ as AJ,V0 as FJ,W0 as CJ,X0 as oJ,_0 as N,a1 as M,k1 as t,rZ as LJ,sZ as lJ,u1 as e}from"./cli-1.1.9-txs7wza6.mjs";import{i4 as q,j4 as _,k4 as s}from"./cli-1.1.9-5cr2dpgf.mjs";import{l4 as BJ}from"./cli-1.1.9-ax8tkq65.mjs";import{p9 as i,q9 as dJ}from"./cli-1.1.9-xa48sv5y.mjs";import{Hga as x,Pga as DJ}from"./cli-1.1.9-8gkjdbxs.mjs";import{$ga as uJ,Uga as f,Vga as pJ,Xga as n,eha as vJ,kha as kQ}from"./cli-1.1.9-k4gthvh4.mjs";import{Via as UQ,Xia as aQ}from"./cli-1.1.9-zy71vgyg.mjs";import{Usa as OJ,Ysa as qJ,Zsa as oQ}from"./cli-1.1.9-fws7k6ak.mjs";import{writeFile as fQ}from"fs/promises";import{join as hQ}from"path";function PJ(J){if(J<1000)return`${J}ms`;let U=Math.round(J/1000);if(U<60)return`${U}s`;return`${Math.floor(U/60)}m ${U%60}s`}function sJ(J){if(J==="done")return"success";if(J==="stalled"||J==="failed")return"error";if(J==="cancelled")return"warning";return"permission"}function cQ(J){if(J==="running")return"▸";if(J==="failed"||J==="stalled")return"✗";if(J==="cancelled")return"⊘";return"✓"}function tJ(J){let U=0,K=0;for(let H of J.history)for(let B of HJ(H.agents))if(K+=1,!B.failed)U+=1;return{done:U,total:K}}function eJ(J){let U=J.history.map((K)=>{let H=HJ(K.agents);return{step:K.step,done:H.filter((B)=>!B.failed).length,total:H.length,agents:K.agents,decision:K.decision}});if(J.status==="running"&&!J.history.some((K)=>K.step===J.currentStep))U.push({step:J.currentStep,done:J.agentsDone??0,total:J.agentsInPhase??0,agents:null,decision:null});return U}function JQ(J,U){return`${CJ(J)}${U}\x1B[39m`}function jJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function xQ(J,U,K){let H=J.failed?"✗ ":"✓ ",B=JQ(J.failed?K.error:K.success,H.trimEnd())+" ",W=PJ(J.ms),X=f(W),I=Math.max(4,U-f(H)-X-1),w=n(`${J.label} ${J.model||"inherit"} · ${vJ(J.tokens)} tok`,I),S=w.length<=J.label.length?i.bold(w):i.bold(w.slice(0,J.label.length))+i.dim(w.slice(J.label.length)),F=Math.max(1,U-f(H)-f(w)-X);return B+S+" ".repeat(F)+i.dim(W)}function pQ({run:J,phaseIndex:U}){let{columns:K,rows:H}=bJ(),B=eJ(J),W=Math.min(U,Math.max(0,B.length-1)),X=B[W],{done:I,total:w}=tJ(J),[S]=AJ(),F=FJ(S),g=Math.max(6,H-6),R=g-2,l=TJ-4,v=Math.max(20,K-4-TJ-1-4-4),k=X?` ${X.step} · ${X.agents?HJ(X.agents).length:X.total} agents `:" phase ",C=B.map((D,L)=>{let V=L===W,O=D.total>0&&D.done===D.total?"✓":D.agents===null?"▸":"✓",m=n(`${V?") ":" "}${O} ${D.step}${D.total>0?` ${D.done}/${D.total}`:""}`,l);return jJ(V?JQ(F.permission,m):m,f(m),l)});while(C.length<R)C.push(" ".repeat(l));let j=!X?[jJ(i.dim("starting…"),f("starting…"),v)]:X.agents===null?[jJ(i.dim(`running… ${X.done}/${X.total} done`),f(`running… ${X.done}/${X.total} done`),v)]:HJ(X.agents).map((D)=>xQ(D,v,F));while(j.length<R)j.push(" ".repeat(v));return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[_(N,{flexDirection:"column",flexShrink:1,minWidth:0,children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:J.workflow}),J.description?q(M,{dimColor:!0,wrap:"truncate",children:J.description}):null]}),_(M,{color:sJ(J.status),wrap:"truncate",children:[I,"/",w," agents · ",PJ(J.updatedAt-J.startedAt)," · ",J.status]})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:TJ,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:C.slice(0,R),width:l})}),q(N,{flexDirection:"column",flexGrow:1,height:g,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:k,position:"top",align:"start"},children:q(t,{lines:j.slice(0,R),width:v})})]})]})}function QQ({liveRun:J,onStop:U,initialRunId:K,onViewChange:H}){let[B,W]=y.useState([]),[X,I]=y.useState(0),[w,S]=y.useState(0),[F,g]=y.useState(K?{mode:"detail",runId:K}:{mode:"list"}),[R,l]=y.useState(null),[v,k]=y.useState(!1),[C,j]=y.useState(new Set);y.useEffect(()=>{IJ().then(W).catch(($)=>x($))},[J?.runId,J?.updatedAt]);let D=(J?[J,...B.filter(($)=>$.runId!==J.runId)]:B).filter(($)=>!C.has($.runId)),L=D[Math.min(X,Math.max(0,D.length-1))],V=F.mode==="detail"?D.find(($)=>$.runId===F.runId):void 0;y.useEffect(()=>{H?.(F.mode==="detail")},[F.mode,H]);let O=y.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]),m=y.useRef(!1);y.useEffect(()=>{if(m.current||!K)return;let $=D.findIndex((Y)=>Y.runId===K);if($>=0)I($),m.current=!0},[K,D]);let T=F.mode==="detail"?V:L,h=y.useCallback(async()=>{if(!T)return;try{let $=hQ(JJ(),`run-${T.runId}.md`);await fQ($,rJ(T)),l($)}catch($){x($)}},[T]),c=y.useCallback(async()=>{if(!L)return;try{await nJ(L.runId),j(($)=>new Set($).add(L.runId)),I(($)=>Math.max(0,Math.min($,D.length-2))),W(await IJ())}catch($){x($)}},[L,D.length]);if(e(($,Y)=>{if(F.mode==="detail"){let P=V?eJ(V).length:0;if(Y.escape)O(),g({mode:"list"});else if(Y.upArrow)O(),S((A)=>Math.max(0,A-1));else if(Y.downArrow)O(),S((A)=>Math.min(Math.max(0,P-1),A+1));else if($==="s")h();else if($==="x"&&V&&J&&V.runId===J.runId)U();return}if(v){if(k(!1),$==="y")c();return}if(Y.upArrow)I((P)=>Math.max(0,P-1));else if(Y.downArrow)I((P)=>Math.min(D.length-1,P+1));else if(Y.return&&L)O(),S(0),g({mode:"detail",runId:L.runId});else if($==="s")h();else if($==="x"&&L&&J&&L.runId===J.runId)U();else if($==="d"&&L&&L.status!=="running")k(!0)},{isActive:!0}),F.mode==="detail"){if(!V)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Run not found."})});return _(N,{flexDirection:"column",paddingX:2,children:[q(pQ,{run:V,phaseIndex:w}),R&&_(M,{color:"success",children:["Saved → ",R]})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission",padding:4}),D.length===0?q(N,{paddingX:2,marginTop:1,children:q(M,{dimColor:!0,children:"No workflow runs yet. Start one from the Library tab."})}):_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[D.map(($,Y)=>{let{total:P}=tJ($);return _(M,{inverse:Y===X,wrap:"truncate",children:[Y===X?"▸ ":" ",q(M,{color:sJ($.status),children:cQ($.status)})," ",$.workflow," ",P," agents · ",vJ($.totalTokens)," tok · ",PJ($.updatedAt-$.startedAt)]},$.runId)}),R&&q(N,{marginTop:1,children:_(M,{color:"success",children:["Saved → ",R]})}),v&&L&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete run "',L.workflow,'" (',PJ(L.updatedAt-L.startedAt),")? (y/n)"]})})]})]})}var y,HJ=(J)=>J.filter((U)=>U.label!=="main"),TJ=26;var XQ=qJ(()=>{dJ();WJ();lJ();pJ();kQ();DJ();oJ();uJ();aJ();iJ();gQ();mJ();s();y=OJ(BJ(),1)});function lQ(J){let U={name:J.name};if(J.agents.length>0)U.agents=J.agents;if(J.handbackTo?.length)U.handbackTo=J.handbackTo;return U}function $Q(J,U={}){let K={name:J.name,description:J.description};if(J.main)K.main=J.main;K.steps=J.steps.map(lQ);for(let[W,X]of Object.entries(U))if(!dQ.has(W))K[W]=X;let H=ZQ(K).trimEnd(),B=J.instructions.trim();return`---
2
- ${H}
3
- ---
4
- ${B?`${B}
5
- `:""}`}function qQ(J,U,K){let H=J[U]?.name;return J.map((B,W)=>({...B,name:W===U?K:B.name,handbackTo:B.handbackTo?.map((X)=>X===H?K:X)}))}var dQ;var zQ=qJ(()=>{uQ();dQ=new Set(["name","description","main","steps"])});import{unlinkSync as nQ,writeFileSync as rQ}from"fs";import{readFile as sQ,writeFile as tQ}from"fs/promises";import{tmpdir as eQ}from"os";import{join as yJ}from"path";function UJ(J,U){return`${CJ(J)}${U}\x1B[39m`}function ZJ(J,U,K){return J+" ".repeat(Math.max(0,K-U))}function EJ(J,U,K){let H=J.slice(0,U);while(H.length<U)H.push(" ".repeat(K));return H}function MQ({sourceFile:J,onClose:U}){let{columns:K,rows:H}=bJ(),[B]=AJ(),W=FJ(B),[X,I]=E.useState(null),[w,S]=E.useState({}),[F,g]=E.useState(null),[R,l]=E.useState(!1),[v,k]=E.useState("phases"),[C,j]=E.useState(0),[D,L]=E.useState(0),[V,O]=E.useState(null),[m,T]=E.useState(null),[h,c]=E.useState(null),$=E.useCallback(()=>{LJ.get(process.stdout)?.prepareFullRepaint()},[]);E.useEffect(()=>{sQ(yJ(JJ(),J),"utf-8").then((Q)=>{let Z=GQ(Q,J.replace(/\.md$/,""));if(Z.def)I(Z.def),S(Z.rawFrontmatter);else g(Z.errors.join("; "))}).catch((Q)=>{x(Q),g("Failed to read workflow file.")})},[J]),E.useEffect(()=>{import("./agentTypes-1.1.9-3kevh6af.mjs").then((Q)=>Q.getKnownAgentTypes(UQ())).then(c).catch((Q)=>x(Q))},[]);let Y=E.useMemo(()=>{if(!X)return[];let Q=KQ(X);if(h)Q.push(...VQ(X,h));return Q},[X,h]),P=E.useCallback((Q)=>{$(),I((Z)=>Z?Q(Z):Z),l(!0),T(null)},[$]),A=C-1,u=X&&A>=0?X.steps[A]:void 0,YJ=C===0?["description","main"]:["name","agents","handbackTo"],bQ=E.useCallback(async()=>{if(!X)return;try{let Q=yJ(JJ(),J);await tQ(Q,$Q(X,w)),l(!1),T(`Saved → ${Q}`)}catch(Q){x(Q),T("Failed to save.")}},[X,w,J]),EQ=E.useCallback(()=>{if(!X)return;let Q=yJ(eQ(),`claudin-wf-prompt-${Date.now()}.md`);try{rQ(Q,X.instructions?`${X.instructions}
6
- `:"");let Z=_Q(Q);if(Z.error)T(Z.error);else if(Z.content===null)T("No external editor available — set $EDITOR or $VISUAL.");else{let z=Z.content.trim();if(z!==X.instructions)P((G)=>({...G,instructions:z}))}}catch(Z){x(Z),T("Failed to open editor.")}finally{try{nQ(Q)}catch{}}},[X,P]),SQ=E.useCallback(()=>{if(!X)return;let Q=YJ[D];if($(),C===0){if(Q==="description")O({kind:"input",target:"description",value:X.description,cursor:X.description.length});else{let Z=["(default)",...[...h??[]].sort()];O({kind:"picker",target:"main",options:Z,checked:new Set([X.main??"(default)"]),cursor:Math.max(0,Z.indexOf(X.main??"(default)")),multi:!1})}return}if(!u)return;if(Q==="name")O({kind:"input",target:"name",value:u.name,cursor:u.name.length});else if(Q==="agents"){let Z=[...new Set([...[...h??[]].sort(),...u.agents])];O({kind:"picker",target:"agents",options:Z,checked:new Set(u.agents),cursor:0,multi:!0})}else{let Z=X.steps.slice(0,A).map((z)=>z.name);if(Z.length===0){T("No earlier phases to hand back to.");return}O({kind:"picker",target:"handbackTo",options:Z,checked:new Set(u.handbackTo??[]),cursor:0,multi:!0})}},[X,YJ,D,C,u,A,h,$]),RQ=E.useCallback((Q,Z)=>{let z=Z.trim();if($(),O(null),!z)return;if(Q==="description")P((G)=>({...G,description:z}));else if(Q==="name"&&A>=0)P((G)=>({...G,steps:qQ(G.steps,A,z)}));else if(Q==="addStep"){let G=C===0?0:C;P((b)=>({...b,steps:[...b.steps.slice(0,G),{name:z,agents:[]},...b.steps.slice(G)]})),j(G+1),k("phases")}},[$,C,A,P]),TQ=E.useCallback((Q)=>{if($(),O(null),Q.target==="main"){let z=Q.options[Q.cursor];P((G)=>({...G,main:z==="(default)"?void 0:z}));return}let Z=Q.options.filter((z)=>Q.checked.has(z));if(Q.target==="agents"&&A>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===A?{...G,agents:Z}:G)}));else if(Q.target==="handbackTo"&&A>=0)P((z)=>({...z,steps:z.steps.map((G,b)=>b===A?{...G,handbackTo:Z.length?Z:void 0}:G)}))},[$,A,P]),jQ=E.useCallback(()=>{if(A<0)return;P((Q)=>({...Q,steps:Q.steps.filter((Z,z)=>z!==A)})),j((Q)=>Math.max(0,Math.min(Q,(X?.steps.length??1)-1))),k("phases")},[X,A,P]),gJ=E.useCallback((Q)=>{if(!X||A<0)return;let Z=A+Q;if(Z<0||Z>=X.steps.length)return;P((z)=>{let G=[...z.steps],[b]=G.splice(A,1);return G.splice(Z,0,b),{...z,steps:G}}),j(Z+1)},[X,A,P]);if(e((Q,Z)=>{if(!X){if(Z.escape)U();return}if(V?.kind==="input")return;if(V?.kind==="confirmDelete"){if($(),O(null),Q==="y")jQ();return}if(V?.kind==="confirmDiscard"){if($(),O(null),Q==="y")U();return}if(V?.kind==="picker"){let z=(G)=>{$(),O((b)=>b?.kind==="picker"?G(b):b)};if(Z.upArrow)z((G)=>({...G,cursor:Math.max(0,G.cursor-1)}));else if(Z.downArrow)z((G)=>({...G,cursor:Math.min(G.options.length-1,G.cursor+1)}));else if(Q===" "&&V.multi)z((G)=>{let b=G.options[G.cursor];if(b===void 0)return G;let a=new Set(G.checked);if(a.has(b))a.delete(b);else a.add(b);return{...G,checked:a}});else if(Z.return)TQ(V);else if(Z.escape)$(),O(null);return}if(Q==="s"){bQ();return}if(Q==="p"){EQ();return}if(v==="fields"){if(Z.escape)$(),k("phases");else if(Z.upArrow)$(),L((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),L((z)=>Math.min(YJ.length-1,z+1));else if(Z.return)SQ();return}if(Z.escape)if(R)$(),O({kind:"confirmDiscard"});else U();else if(Z.upArrow)$(),j((z)=>Math.max(0,z-1));else if(Z.downArrow)$(),j((z)=>Math.min(X.steps.length,z+1));else if(Z.return)$(),k("fields"),L(0);else if(Q==="a")$(),O({kind:"input",target:"addStep",value:"",cursor:0});else if(Q==="d"&&C>0)$(),O({kind:"confirmDelete"});else if(Q==="K")gJ(-1);else if(Q==="J")gJ(1)},{isActive:!0}),F)return _(N,{flexDirection:"column",paddingX:2,paddingTop:1,children:[_(M,{color:"error",children:["⚠ ",F]}),_(M,{dimColor:!0,children:["Esc to go back — fix the file by hand at .claudin/workflows/",J,"."]})]});if(!X)return q(N,{paddingX:2,paddingTop:1,children:q(M,{dimColor:!0,children:"Loading…"})});let $J=Math.max(6,H-6),r=wJ-4,o=Math.max(20,K-4-wJ-1-4-4),IQ=$J-2,GJ=(Q)=>Q?") ":" ",KJ=[];{let Q=n(`${GJ(C===0)}${X.name}`,r);KJ.push(ZJ(C===0?UJ(W.permission,Q):i.bold(Q),f(Q),r));let Z=` ${"─".repeat(Math.max(1,r-2))}`;KJ.push(ZJ(i.dim(Z),f(Z),r)),X.steps.forEach((z,G)=>{let b=C===G+1,a=n(`${GJ(b)}${z.name} ${z.agents.length}`,r);KJ.push(ZJ(b?UJ(W.permission,a):a,f(a),r))})}let fJ=V?.kind==="picker",VJ,NJ,vQ=" Prompt (p to edit) ",_J=[],mQ=kJ-2,hJ=Math.max(3,$J-kJ),cJ=hJ-2;if(fJ){let Q=V;VJ=Q.target==="main"?" main orchestrator ":` ${Q.target==="agents"?"agents":"hand back to"} · ${u?.name??X.name} `;let Z=$J-2,z=Math.max(0,Math.min(Q.cursor-Math.floor(Z/2),Q.options.length-Z));NJ=Q.options.slice(z,z+Z).map((G,b)=>{let XJ=z+b===Q.cursor,RJ=Q.multi?Q.checked.has(G)?"[x] ":"[ ] ":"",xJ=Q.target==="agents"&&h&&!h.has(G),MJ=n(`${GJ(XJ)}${RJ}${G}${xJ?" (unknown)":""}`,o),wQ=XJ?UJ(W.permission,MJ):xJ?UJ(W.error,MJ):MJ;return ZJ(wQ,f(MJ),o)})}else{VJ=C===0?` ${X.name} `:` phase: ${u?.name??""} `;let Q=(z)=>{if(z==="description")return X.description||"(empty)";if(z==="main")return X.main??"(default)";if(z==="name")return u?.name??"";if(z==="agents")return u?.agents.join(", ")||"(none)";return u?.handbackTo?.join(", ")??"—"};if(NJ=YJ.map((z,G)=>{let b=v==="fields"&&G===D,a=z==="handbackTo"?"handback":z,XJ=n(`${GJ(b)}${a}: ${Q(z)}`,o),RJ=b?UJ(W.permission,XJ):i.dim(XJ.slice(0,2+a.length+1))+XJ.slice(2+a.length+1);return ZJ(RJ,f(XJ),o)}),_J=(X.instructions?X.instructions.split(`
7
- `):[]).slice(0,cJ).map((z)=>{let G=n(z,o);return ZJ(i.dim(G),f(G),o)}),_J.length===0)_J=[ZJ(i.dim("(empty — press p to write the prompt)"),f("(empty — press p to write the prompt)"),o)]}let QJ=V?.kind==="input"?V:null,yQ=QJ?.target==="addStep"?"New phase name:":QJ?.target==="name"?"Rename phase:":"Description:";return _(N,{flexDirection:"column",marginTop:1,children:[_(N,{flexDirection:"row",justifyContent:"space-between",children:[q(M,{bold:!0,color:"permission",wrap:"truncate",children:X.name}),q(M,{color:R?"warning":"success",wrap:"truncate",children:R?"● unsaved":"saved"})]}),_(N,{flexDirection:"row",marginTop:1,gap:1,children:[q(N,{flexDirection:"column",flexShrink:0,width:wJ,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:" Phases ",position:"top",align:"start"},children:q(t,{lines:EJ(KJ,IQ,r),width:r})}),fJ?q(N,{flexDirection:"column",flexGrow:1,height:$J,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,$J-2,o),width:o})}):_(N,{flexDirection:"column",flexGrow:1,children:[q(N,{flexDirection:"column",height:kJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:VJ,position:"top",align:"start"},children:q(t,{lines:EJ(NJ,mQ,o),width:o})}),q(N,{flexDirection:"column",height:hJ,overflow:"hidden",borderStyle:"round",borderColor:"subtle",paddingX:1,borderText:{content:vQ,position:"top",align:"start"},children:q(t,{lines:EJ(_J,cJ,o),width:o})})]})]}),QJ&&_(N,{flexDirection:"column",children:[q(M,{children:yQ}),q(N,{borderStyle:"round",borderDimColor:!0,paddingLeft:1,children:q(SJ,{value:QJ.value,onChange:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,value:Q}:Z),onSubmit:()=>RQ(QJ.target,QJ.value),columns:80,cursorOffset:QJ.cursor,onChangeCursorOffset:(Q)=>O((Z)=>Z?.kind==="input"?{...Z,cursor:Q}:Z),showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]}),V?.kind==="confirmDelete"&&u&&_(M,{color:"warning",children:['Delete phase "',u.name,'"? (y/n)']}),V?.kind==="confirmDiscard"&&q(M,{color:"warning",children:"Discard unsaved changes? (y/n)"}),Y.length>0&&_(M,{color:"error",wrap:"truncate",children:["⚠ ",Y.join(" · ")]}),m&&q(M,{dimColor:!0,wrap:"truncate",children:m})]})}var E,wJ=26,kJ=7;var PQ=qJ(()=>{dJ();WJ();lJ();pJ();YQ();aJ();aQ();DJ();iQ();oJ();uJ();NQ();mJ();zQ();s();E=OJ(BJ(),1)});import{unlink as JX,writeFile as QX}from"fs/promises";import{join as HQ}from"path";function DQ({onRun:J,onInputActiveChange:U,onViewChange:K}){let[H,B]=p.useState([]),[W,X]=p.useState({}),[I,w]=p.useState(0),[S,F]=p.useState("list"),[g,R]=p.useState(""),[l,v]=p.useState(0),[k,C]=p.useState(null),[j,D]=p.useState(null),L=p.useCallback(()=>{OQ().then(({defs:Y,errorsByFile:P})=>{B(Y),X(P)}).catch((Y)=>x(Y))},[]);p.useEffect(L,[L]),p.useEffect(()=>{U(S!=="list")},[S,U]),p.useEffect(()=>{K?.(j!==null)},[j,K]);let V=H[Math.min(I,Math.max(0,H.length-1))],O=(Y)=>Y.sourceFile??`${Y.name}.md`,m=V?W[O(V)]:void 0,T=(Y)=>{R(""),v(0),C(null),F(Y)},h=()=>{if(V&&g.trim())J(V,g.trim());F("list")},c=async()=>{let Y=g.trim();if(!Y){F("list");return}try{let P=HQ(JJ(),`${Y}.md`);await QX(P,XX(Y)),L(),D(`${Y}.md`)}catch(P){x(P),C("Failed to create workflow.")}F("list")},$=async()=>{if(V)try{await JX(HQ(JJ(),O(V))),C(`Deleted ${V.name}.`),L()}catch(Y){x(Y),C("Failed to delete workflow.")}F("list")};if(e((Y,P)=>{if(j!==null)return;if(S==="confirmDelete"){if(Y==="y")$();else F("list");return}if(S!=="list")return;if(P.upArrow)w((A)=>Math.max(0,A-1));else if(P.downArrow)w((A)=>Math.min(H.length-1,A+1));else if(P.return&&V)T("task");else if(Y==="n")T("new");else if(Y==="d"&&V)F("confirmDelete");else if(Y==="e"&&V)C(null),D(O(V));else if(Y==="r")L()},{isActive:!0}),j!==null)return q(N,{paddingX:2,children:q(MQ,{sourceFile:j,onClose:()=>{D(null),L()}})});if(S==="task"||S==="new"){let Y=S==="task"?`Task for "${V?.name}":`:"New workflow name:";return _(N,{flexDirection:"column",paddingTop:1,paddingX:2,children:[q(zJ,{color:"permission"}),q(N,{marginTop:1,children:q(M,{children:Y})}),q(N,{borderStyle:"round",borderDimColor:!0,marginY:1,paddingLeft:1,children:q(SJ,{value:g,onChange:R,onSubmit:S==="task"?h:()=>void c(),columns:80,cursorOffset:l,onChangeCursorOffset:v,showCursor:!0})}),q(M,{dimColor:!0,children:"Enter to confirm · empty + Enter to cancel"})]})}return _(N,{flexDirection:"column",paddingTop:1,children:[q(zJ,{color:"permission"}),_(N,{flexDirection:"column",paddingX:2,marginTop:1,children:[H.length===0?q(M,{dimColor:!0,children:'No workflows. Press "n" to create one at .claudin/workflows/.'}):H.map((Y,P)=>{let A=Boolean(W[O(Y)]?.length);return _(M,{inverse:P===I,children:[P===I?"▸ ":" ",Y.name,A?" ⚠":""," ",_(M,{dimColor:!0,children:["· ",Y.steps.length," phases"]})]},Y.name)}),V&&_(N,{flexDirection:"column",marginTop:1,children:[q(M,{dimColor:!0,children:V.description}),V.steps.map((Y)=>_(M,{dimColor:!0,children:[" ",Y.name,": ",Y.agents.join(", ")||"(terminal)",Y.handbackTo?.length?` ↩ ${Y.handbackTo.join(",")}`:""]},Y.name)),m?.length?_(M,{color:"error",children:["⚠ ",m.join("; ")]}):null]}),S==="confirmDelete"&&V&&q(N,{marginTop:1,children:_(M,{color:"warning",children:['Delete "',V.name,'"? (y/n)']})}),k&&q(N,{marginTop:1,children:q(M,{dimColor:!0,children:k})})]})]})}var p,XX=(J)=>`---
8
- name: ${J}
9
- description: What this workflow does
10
- steps:
11
- - name: explore
12
- agents: [explorer]
13
- - name: synthesize
14
- agents: [synthesizer]
15
- handbackTo: [explore]
16
- - name: done
17
- ---
18
- Describe the goal and any house rules for this workflow.
19
- `;var LQ=qJ(()=>{WJ();YQ();DJ();iJ();NQ();mJ();PQ();s();p=OJ(BJ(),1)});function BQ({hint:J,onExit:U,escActive:K=!0}){let H=FQ();return AQ("confirm:no",U,{context:"Settings",isActive:K}),q(N,{marginLeft:2,marginTop:1,children:q(M,{dimColor:!0,children:H.pending?`Press ${H.keyName} again to exit`:J})})}function NZ({context:J,onExit:U,initialTab:K,initialRunId:H}){let[B,W]=d.useState(K??"library"),[X,I]=d.useState(null),[w,S]=d.useState(!1),[F,g]=d.useState(!1),[R,l]=d.useState(!1),v=d.useRef(null),k=d.useRef(!0);d.useEffect(()=>{return k.current=!0,()=>{k.current=!1}},[]);let C=J.canUseTool??UX,j=d.useCallback((O,m)=>{v.current?.abort();let T=new AbortController;v.current=T,W("running");let h={...J,setAppState:()=>{},setAppStateForTasks:J.setAppStateForTasks??J.setAppState};WQ({def:O,task:m,toolUseContext:h,canUseTool:C,signal:T.signal,onProgress:(c)=>{if(k.current)I({...c})}}).then((c)=>{if(k.current)I({...c});let $=(c.artifact||"").slice(0,2000);CQ({value:`<task-notification>
20
- <status>${c.status}</status>
21
- <summary>Workflow "${O.name}" ${c.status} (run ${c.runId})</summary>
22
- <result>${$}</result>
23
- </task-notification>`,mode:"task-notification"})}).catch((c)=>x(c))},[J,C]),D=d.useCallback(()=>{v.current?.abort()},[]);e((O,m)=>{if(m.tab||m.leftArrow)W((T)=>T==="running"?"library":"running");else if(m.rightArrow)W("running")},{isActive:!w&&!F&&!R});let L=_(N,{flexDirection:"row",gap:1,children:[q(M,{bold:!0,color:"permission",children:"Workflows"}),_(M,{bold:B==="running",inverse:B==="running",children:[" ","Running"," "]}),_(M,{bold:B==="library",inverse:B==="library",children:[" ","Library"," "]})]}),V=()=>U("Workflows dialog dismissed",{display:"system"});if(B==="running")return _(N,{flexDirection:"column",children:[!F&&L,q(QQ,{liveRun:X,onStop:D,initialRunId:H,onViewChange:g}),q(BQ,{hint:F?"↑↓ select · esc back · s save":"Tab tabs · ↑↓ select · Enter view · s save · x stop · d delete · Esc close",escActive:!F,onExit:V})]});return _(N,{flexDirection:"column",children:[!R&&L,q(DQ,{onRun:j,onInputActiveChange:S,onViewChange:l}),q(BQ,{hint:R?"↑↓ nav · Enter edit · a add · d del · K/J move · p prompt · s save · Esc back":"Tab tabs · ↑↓ select · Enter run · n new · e edit · d delete · Esc close",escActive:!R,onExit:V})]})}var d,UX=async(J,U)=>({behavior:"allow",updatedInput:U});var YX=qJ(()=>{WJ();$X();ZX();DJ();qX();zX();XQ();LQ();s();d=OJ(BJ(),1)});
24
- export{NZ as Xb,YX as Yb};
@@ -1,2 +0,0 @@
1
- import{A3 as y,E3 as V}from"./cli-1.1.9-8zhwfv3p.mjs";import{M_ as p,O_ as K,xba as q,zba as Q}from"./cli-1.1.9-8gkjdbxs.mjs";import{Ysa as J}from"./cli-1.1.9-fws7k6ak.mjs";function j(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function P(){return W||null}async function w(){return(await p(y,["-V"])).code===0}function E(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function F(){return(await p(Y,["session","list"])).code===0}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{Q();K();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
2
- export{j as p3,D as q3,P as r3,w as s3,E as t3,Y as u3,F as v3,Z as w3};
@@ -1,2 +0,0 @@
1
- import{K4 as M,L4 as E}from"./cli-1.1.9-se5tezpj.mjs";import{Ffa as l,Ifa as L,Jfa as c,mfa as _,sga as S,ufa as F,vga as p}from"./cli-1.1.9-8gkjdbxs.mjs";import{Hla as m,zla as Y}from"./cli-1.1.9-jmwr69v2.mjs";import{Ysa as B}from"./cli-1.1.9-fws7k6ak.mjs";function R(J){if(!J)return;let Q=J.trim().replace(/^https?:\/\//i,"").replace(/\/+$/,"");if(!Q||Q.toLowerCase()==="github.com")return;return Q}function b(J){return J?`https://${J}/login/device/code`:g}function v(J){return J?`https://${J}/login/oauth/access_token`:f}function h(J){return J?`https://api.${J}/copilot_internal/v2/token`:G}function H(){return process.env.GITHUB_DEVICE_FLOW_CLIENT_ID?.trim()||T}function P(J){return new Promise((Q)=>setTimeout(Q,J))}async function r(J){let Q=J?.clientId??H();if(!Q)throw new q("No OAuth client ID: set GITHUB_DEVICE_FLOW_CLIENT_ID.");let Z=J?.fetchImpl??fetch,y=J?.scope?.trim()||C,$=y===C?[y]:[y,C],j="Device code request failed.",z=b(R(J?.domain));for(let V of $){let W=await Z(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Q,scope:V})});if(!W.ok){let w=await W.text().catch(()=>"");j=`Device code request failed: ${W.status} ${w}`;let D=/invalid_scope/i.test(w);if(V!==C&&D)continue;throw new q(j)}let X=await W.json(),N=X.device_code,K=X.user_code,x=X.verification_uri;if(typeof N!=="string"||typeof K!=="string"||typeof x!=="string")throw new q("Malformed device code response from GitHub");return{device_code:N,user_code:K,verification_uri:x,expires_in:typeof X.expires_in==="number"?X.expires_in:900,interval:typeof X.interval==="number"?X.interval:5}}throw new q(j)}async function o(J,Q){let Z=Q?.clientId??H();if(!Z)throw new q("client_id required for polling");let y=Math.max(1,Q?.initialInterval??5),$=Q?.timeoutSeconds??900,j=Q?.fetchImpl??fetch,z=v(R(Q?.domain)),V=Date.now();while((Date.now()-V)/1000<$){let W=await j(z,{method:"POST",headers:{Accept:"application/json"},body:new URLSearchParams({client_id:Z,device_code:J,grant_type:"urn:ietf:params:oauth:grant-type:device_code"})});if(!W.ok){let K=await W.text().catch(()=>"");throw new q(`Token request failed: ${W.status} ${K}`)}let X=await W.json(),N=X.error;if(N==null){let K=X.access_token;if(typeof K==="string"&&K)return K;throw new q("No access_token in response")}if(N==="authorization_pending"){await P(y*1000);continue}if(N==="slow_down"){y=typeof X.interval==="number"?X.interval:y+5,await P(y*1000);continue}if(N==="expired_token")throw new q("Device code expired. Start the login flow again.");if(N==="access_denied")throw new q("Authorization was denied or cancelled.");throw new q(`GitHub OAuth error: ${N}`)}throw new q("Timed out waiting for authorization.")}async function e(J){await M(J)}async function I(J,Q){let Z=typeof Q==="function"?{fetchImpl:Q}:Q??{},y=Z.fetchImpl??fetch,$=h(R(Z.domain)),j=await y($,{method:"GET",headers:{Accept:"application/json",Authorization:`Bearer ${J}`,...u}});if(!j.ok){let K=await j.text().catch(()=>"");throw new q(`Copilot token exchange failed: ${j.status} ${K}`)}let z=await j.json(),V=z.token,W=z.expires_at,X=z.refresh_in,N=z.endpoints;if(typeof V!=="string"||typeof W!=="number"||typeof X!=="number"||!N||typeof N!=="object"||typeof N.api!=="string")throw new q("Malformed Copilot token response");return{token:V,expires_at:W,refresh_in:X,endpoints:N}}var T="Iv1.b507a08c87ecfe98",g="https://github.com/login/device/code",f="https://github.com/login/oauth/access_token",G="https://api.github.com/copilot_internal/v2/token",C="read:user",u,q;var O=B(()=>{E();u={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"};q=class q extends Error{constructor(J){super(J);this.name="GitHubDeviceFlowError"}}});function k(){return S()?.transport==="github_copilot"}function d(J){let Q=J.match(/exp=(\d+)/);if(Q){let $=Number(Q[1]);if(!Number.isNaN($))return Date.now()>=$*1000?"expired":"valid"}let Z=J.split(".");if(Z.length===3&&Z.every(($)=>/^[A-Za-z0-9_-]+$/.test($)))try{let $=Z[1].replace(/-/g,"+").replace(/_/g,"/"),j=$+"=".repeat((4-$.length%4)%4),z=Buffer.from(j,"base64").toString("utf8"),V=JSON.parse(z);if(V&&typeof V==="object"&&V.exp)return Date.now()>=V.exp*1000?"expired":"valid"}catch{return"invalid_format"}return"invalid_format"}function a(){if(Y())return;try{return L().read()?.githubModels?.accessToken?.trim()||void 0}catch{return}}async function WJ(){if(Y())return;try{return(await L().readAsync())?.githubModels?.accessToken?.trim()||void 0}catch{return}}function yJ(){if(!k())return;if(Y())return;if(a())return}async function zJ(){if(!k())return!1;if(Y())return!1;if(A)return A;return A=(async()=>{try{let Z=L().read()?.githubModels,y=Z?.accessToken?.trim()||"",$=Z?.oauthAccessToken?.trim()||"";if(!y&&!$)return!1;if((y?d(y):"expired")==="valid")return!1;if(!$)return!1;let z=Z?.enterpriseDomain?.trim()||void 0,V=await I($,{domain:z});if(!n(V.token,$,z).success)return!1;let X=_().find((N)=>N.provider==="openai"&&N.extras?.githubToken!==void 0);if(X)F(X.id,{provider:"openai",name:X.name,baseUrl:X.baseUrl,model:X.model,apiKey:V.token,extras:{...X.extras,githubToken:V.token}});return!0}catch{return!1}finally{A=null}})(),A}function n(J,Q,Z){if(Y())return{success:!1,warning:"Bare mode: secure storage is disabled."};let y=J.trim();if(!y)return{success:!1,warning:"Token is empty."};let $=L(),j=$.read()||{},z=j[U],V=Q?.trim(),W={accessToken:y};if(V){if(W.oauthAccessToken=V,Z?.trim())W.enterpriseDomain=Z.trim()}else{if(z?.oauthAccessToken?.trim())W.oauthAccessToken=z.oauthAccessToken.trim();let N=Z?.trim()||z?.enterpriseDomain?.trim();if(N)W.enterpriseDomain=N}let X={...j,[U]:W};return $.update(X)}function jJ(){if(Y())return{success:!0};let J=L(),Z={...J.read()||{}};return delete Z[U],J.update(Z)}var U="githubModels",VJ="CLAUDE_CODE_GITHUB_TOKEN_HYDRATED",A=null;var s=B(()=>{p();m();c();O();l()});
2
- export{R as G2,r as H2,o as I2,e as J2,I as K2,O as L2,U as M2,VJ as N2,a as O2,WJ as P2,yJ as Q2,zJ as R2,n as S2,jJ as T2,s as U2};
@@ -1,2 +0,0 @@
1
- import{BZ as u,F1 as a,N0 as QQ,O0 as uQ,_0 as g,a1 as h,g1 as RQ,p1 as jQ,q1 as aQ,u1 as d}from"./cli-1.1.9-txs7wza6.mjs";import{i4 as K,j4 as k,k4 as f}from"./cli-1.1.9-5cr2dpgf.mjs";import{l4 as v}from"./cli-1.1.9-ax8tkq65.mjs";import{B4 as n,D4 as t,I4 as YV}from"./cli-1.1.9-cwtcnyyj.mjs";import{A8 as $Q,D8 as P,G8 as pQ,V8 as XV}from"./cli-1.1.9-914mh2gv.mjs";import{Hga as CQ,Lea as mQ,Oea as b,Pga as VV,hea as fQ,hfa as QV,iea as eQ}from"./cli-1.1.9-8gkjdbxs.mjs";import{Uga as AQ,Vga as sQ}from"./cli-1.1.9-k4gthvh4.mjs";import{Hja as r,Ija as nQ}from"./cli-1.1.9-9yrwnzf6.mjs";import{Mka as E,Pka as iQ}from"./cli-1.1.9-1b1mw6v2.mjs";import{esa as i,wsa as tQ}from"./cli-1.1.9-mp2pqq66.mjs";import{Usa as S,Ysa as F}from"./cli-1.1.9-fws7k6ak.mjs";function XQ(){let X=VQ.useContext(QQ);if(!X)throw Error("useTerminalSize must be used within an Ink App component");return X}var VQ;var YQ=F(()=>{uQ();VQ=S(v(),1)});function ZQ(X,Q){if(Q.escape)return"escape";if(Q.return)return"enter";if(Q.tab)return"tab";if(Q.backspace)return"backspace";if(Q.delete)return"delete";if(Q.upArrow)return"up";if(Q.downArrow)return"down";if(Q.leftArrow)return"left";if(Q.rightArrow)return"right";if(Q.pageUp)return"pageup";if(Q.pageDown)return"pagedown";if(Q.wheelUp)return"wheelup";if(Q.wheelDown)return"wheeldown";if(Q.home)return"home";if(Q.end)return"end";if(X.length===1)return X.toLowerCase();return null}var JQ=()=>{};function GQ(X){let Q=X.split("+"),V={key:"",ctrl:!1,alt:!1,shift:!1,meta:!1,super:!1};for(let Z of Q){let Y=Z.toLowerCase();switch(Y){case"ctrl":case"control":V.ctrl=!0;break;case"alt":case"opt":case"option":V.alt=!0;break;case"shift":V.shift=!0;break;case"meta":V.meta=!0;break;case"cmd":case"command":case"super":case"win":V.super=!0;break;case"esc":V.key="escape";break;case"return":V.key="enter";break;case"space":V.key=" ";break;case"↑":V.key="up";break;case"↓":V.key="down";break;case"←":V.key="left";break;case"→":V.key="right";break;default:V.key=Y;break}}return V}function yQ(X){if(X===" ")return[GQ("space")];return X.trim().split(/\s+/).map(GQ)}function hQ(X){let Q=[];if(X.ctrl)Q.push("ctrl");if(X.alt)Q.push("alt");if(X.shift)Q.push("shift");if(X.meta)Q.push("meta");if(X.super)Q.push("cmd");let V=kQ(X.key);return Q.push(V),Q.join("+")}function kQ(X){switch(X){case"escape":return"Esc";case" ":return"Space";case"tab":return"tab";case"enter":return"Enter";case"backspace":return"Backspace";case"delete":return"Delete";case"up":return"↑";case"down":return"↓";case"left":return"←";case"right":return"→";case"pageup":return"PageUp";case"pagedown":return"PageDown";case"home":return"Home";case"end":return"End";default:return X}}function l(X){return X.map(hQ).join(" ")}function BV(X){let Q=[];for(let V of X)for(let[Z,Y]of Object.entries(V.bindings))Q.push({chord:yQ(Z),action:Y,context:V.context});return Q}var qQ=()=>{};function LQ(X,Q,V){let Z=V.findLast((Y)=>Y.action===X&&Y.context===Q);return Z?l(Z.chord):void 0}function gQ(X,Q){let V=ZQ(X,Q);if(!V)return null;let Z=Q.escape?!1:Q.meta;return{key:V,ctrl:Q.ctrl,alt:Z,shift:Q.shift,meta:Z,super:Q.super}}function HQ(X,Q){return X.key===Q.key&&X.ctrl===Q.ctrl&&X.shift===Q.shift&&(X.alt||X.meta)===(Q.alt||Q.meta)&&X.super===Q.super}function lQ(X,Q){if(X.length>=Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function cQ(X,Q){if(X.length!==Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function zQ(X,Q,V,Z,Y){if(Q.escape&&Y!==null)return{type:"chord_cancelled"};let J=gQ(X,Q);if(!J){if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}let G=Y?[...Y,J]:[J],q=new Set(V),B=Z.filter((L)=>q.has(L.context)),z=new Map;for(let L of B)if(L.chord.length>G.length&&lQ(G,L))z.set(l(L.chord),L.action);let N=!1;for(let L of z.values())if(L!==null){N=!0;break}if(N)return{type:"chord_started",pending:G};let H;for(let L of B)if(cQ(G,L))H=L;if(H){if(H.action===null)return{type:"unbound"};return{type:"match",action:H.action}}if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}var BQ=F(()=>{JQ();qQ()});function SV(X){let Q=c.c(24),{bindings:V,pendingChordRef:Z,pendingChord:Y,setPendingChord:J,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,handlerRegistryRef:z,children:N}=X,H;if(Q[0]!==V)H=(U,O)=>LQ(U,O,V),Q[0]=V,Q[1]=H;else H=Q[1];let L=H,_;if(Q[2]!==z)_=(U)=>{let O=z.current;if(!O)return dQ;if(!O.has(U.action))O.set(U.action,new Set);return O.get(U.action).add(U),()=>{let M=O.get(U.action);if(M){if(M.delete(U),M.size===0)O.delete(U.action)}}},Q[2]=z,Q[3]=_;else _=Q[3];let p=_,D;if(Q[4]!==G||Q[5]!==z)D=(U)=>{let O=z.current;if(!O)return!1;let M=O.get(U);if(!M||M.size===0)return!1;for(let e of M)if(G.has(e.context))return e.handler(),!0;return!1},Q[4]=G,Q[5]=z,Q[6]=D;else D=Q[6];let I=D,j;if(Q[7]!==V||Q[8]!==Z)j=(U,O,M)=>zQ(U,O,M,V,Z.current),Q[7]=V,Q[8]=Z,Q[9]=j;else j=Q[9];let A;if(Q[10]!==G||Q[11]!==V||Q[12]!==L||Q[13]!==I||Q[14]!==Y||Q[15]!==q||Q[16]!==p||Q[17]!==J||Q[18]!==j||Q[19]!==B)A={resolve:j,setPendingChord:J,getDisplayText:L,bindings:V,pendingChord:Y,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,registerHandler:p,invokeAction:I},Q[10]=G,Q[11]=V,Q[12]=L,Q[13]=I,Q[14]=Y,Q[15]=q,Q[16]=p,Q[17]=J,Q[18]=j,Q[19]=B,Q[20]=A;else A=Q[20];let w=A,W;if(Q[21]!==N||Q[22]!==w)W=K(NQ.Provider,{value:w,children:N}),Q[21]=N,Q[22]=w,Q[23]=W;else W=Q[23];return W}function dQ(){}function y(){return m.useContext(NQ)}function KV(X,Q){let V=c.c(5),Z=Q===void 0?!0:Q,Y=y(),J,G;if(V[0]!==X||V[1]!==Z||V[2]!==Y)J=()=>{if(!Y||!Z)return;return Y.registerActiveContext(X),()=>{Y.unregisterActiveContext(X)}},G=[X,Y,Z],V[0]=X,V[1]=Z,V[2]=Y,V[3]=J,V[4]=G;else J=V[3],G=V[4];m.useLayoutEffect(J,G)}var c,m,NQ;var UQ=F(()=>{BQ();f();c=S(u(),1),m=S(v(),1),NQ=m.createContext(null)});function TV(X,Q,V={}){let{context:Z="Global",isActive:Y=!0}=V,J=y();C.useEffect(()=>{if(!J||!Y)return;return J.registerHandler({action:X,context:Z,handler:Q})},[X,Z,Q,J,Y]);let G=C.useCallback((q,B,z)=>{if(!J)return;let N=[...J.activeContexts,Z,"Global"],H=[...new Set(N)],L=J.resolve(q,B,H);switch(L.type){case"match":if(J.setPendingChord(null),L.action===X){if(Q()!==!1)z.stopImmediatePropagation()}break;case"chord_started":J.setPendingChord(L.pending),z.stopImmediatePropagation();break;case"chord_cancelled":J.setPendingChord(null);break;case"unbound":J.setPendingChord(null),z.stopImmediatePropagation();break;case"none":break}},[X,Z,Q,J]);d(G,{isActive:Y})}function OQ(X,Q={}){let{context:V="Global",isActive:Z=!0}=Q,Y=y();C.useEffect(()=>{if(!Y||!Z)return;let G=[];for(let[q,B]of Object.entries(X))G.push(Y.registerHandler({action:q,context:V,handler:B}));return()=>{for(let q of G)q()}},[V,X,Y,Z]);let J=C.useCallback((G,q,B)=>{if(!Y)return;let z=[...Y.activeContexts,V,"Global"],N=[...new Set(z)],H=Y.resolve(G,q,N);switch(H.type){case"match":if(Y.setPendingChord(null),H.action in X){let L=X[H.action];if(L&&L()!==!1)B.stopImmediatePropagation()}break;case"chord_started":Y.setPendingChord(H.pending),B.stopImmediatePropagation();break;case"chord_cancelled":Y.setPendingChord(null);break;case"unbound":Y.setPendingChord(null),B.stopImmediatePropagation();break;case"none":break}},[V,X,Y]);d(J,{isActive:Z})}var C;var _Q=F(()=>{a();UQ();C=S(v(),1)});function o(X,Q,V){let Z=R.useRef(0),Y=R.useRef(void 0),J=R.useCallback(()=>{if(Y.current)clearTimeout(Y.current),Y.current=void 0},[]);return R.useEffect(()=>{return()=>{J()}},[J]),R.useCallback(()=>{let G=Date.now();if(G-Z.current<=FQ&&Y.current!==void 0)J(),X(!1),Q();else V?.(),X(!0),J(),Y.current=setTimeout((z,N)=>{z(!1),N.current=void 0},FQ,X,Y);Z.current=G},[X,Q,V,J])}var R,FQ=800;var WQ=F(()=>{R=S(v(),1)});function wQ(X,Q,V,Z=!0){let{exit:Y}=jQ(),[J,G]=T.useState({pending:!1,keyName:null}),q=T.useMemo(()=>V??Y,[V,Y]),B=o((_)=>G({pending:_,keyName:"Ctrl-C"}),q),z=o((_)=>G({pending:_,keyName:"Ctrl-D"}),q),N=T.useCallback(()=>{if(Q?.())return;B()},[B,Q]),H=T.useCallback(()=>{z()},[z]),L=T.useMemo(()=>({"app:interrupt":N,"app:exit":H}),[N,H]);return X(L,{context:"Global",isActive:Z}),J}var T;var SQ=F(()=>{aQ();WQ();T=S(v(),1)});function $V(X,Q,V){return wQ(OQ,Q,X,V)}var oQ=F(()=>{_Q();SQ()});function MQ(){return $.useContext(s)!==null}function xV(X){let Q=KQ.c(3),V=$.useContext(s),Z;if(Q[0]!==V||Q[1]!==X)Z=V?{rows:V.rows,columns:V.columns}:X,Q[0]=V,Q[1]=X,Q[2]=Z;else Z=Q[2];return Z}function bV(){return $.useContext(s)?.scrollRef??null}var KQ,$,s;var IQ=F(()=>{KQ=S(u(),1),$=S(v(),1),s=$.createContext(null)});function DQ(X){let Q=TQ.c(21),{width:V,color:Z,char:Y,padding:J,title:G}=X,q=Y===void 0?"─":Y,B=J===void 0?0:J,{columns:z}=XQ(),N=Math.max(0,(V??z)-B);if(G){let p=AQ(G)+2,D=Math.max(0,N-p),I=Math.floor(D/2),j=D-I,A=!Z,w;if(Q[0]!==q||Q[1]!==I)w=q.repeat(I),Q[0]=q,Q[1]=I,Q[2]=w;else w=Q[2];let W;if(Q[3]!==G)W=K(h,{dimColor:!0,children:K(RQ,{children:G})}),Q[3]=G,Q[4]=W;else W=Q[4];let U;if(Q[5]!==q||Q[6]!==j)U=q.repeat(j),Q[5]=q,Q[6]=j,Q[7]=U;else U=Q[7];let O;if(Q[8]!==Z||Q[9]!==A||Q[10]!==w||Q[11]!==W||Q[12]!==U)O=k(h,{color:Z,dimColor:A,children:[w," ",W," ",U]}),Q[8]=Z,Q[9]=A,Q[10]=w,Q[11]=W,Q[12]=U,Q[13]=O;else O=Q[13];return O}let H=!Z,L;if(Q[14]!==q||Q[15]!==N)L=q.repeat(N),Q[14]=q,Q[15]=N,Q[16]=L;else L=Q[16];let _;if(Q[17]!==Z||Q[18]!==H||Q[19]!==L)_=K(h,{color:Z,dimColor:H,children:L}),Q[17]=Z,Q[18]=H,Q[19]=L,Q[20]=_;else _=Q[20];return _}var TQ;var EQ=F(()=>{YQ();sQ();a();f();TQ=S(u(),1)});function oV(X){let Q=PQ.c(9),{children:V,color:Z}=X;if(MQ()){let q;if(Q[0]!==V)q=K(g,{flexDirection:"column",paddingX:1,flexShrink:0,children:V}),Q[0]=V,Q[1]=q;else q=Q[1];return q}let Y;if(Q[2]!==Z)Y=K(DQ,{color:Z}),Q[2]=Z,Q[3]=Y;else Y=Q[3];let J;if(Q[4]!==V)J=K(g,{flexDirection:"column",paddingX:2,children:V}),Q[4]=V,Q[5]=J;else J=Q[5];let G;if(Q[6]!==Y||Q[7]!==J)G=k(g,{flexDirection:"column",paddingTop:1,children:[Y,J]}),Q[6]=Y,Q[7]=J,Q[8]=G;else G=Q[8];return G}var PQ;var rQ=F(()=>{IQ();a();EQ();f();PQ=S(u(),1)});async function ZV(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/eligibility`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:5000})).data}async function ZX(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/redemptions`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:1e4})).data}function bQ(){return!!(P()?.organizationUuid&&$Q()&&pQ()==="max")}function JX(){if(!bQ())return{eligible:!1,needsRefresh:!1,hasCache:!1};let X=P()?.organizationUuid;if(!X)return{eligible:!1,needsRefresh:!1,hasCache:!1};let V=b().passesEligibilityCache?.[X];if(!V)return{eligible:!1,needsRefresh:!0,hasCache:!1};let{eligible:Z,timestamp:Y}=V,G=Date.now()-Y>xQ;return{eligible:Z,needsRefresh:G,hasCache:!0}}function GX(X){let Q=JV[X.currency]??`${X.currency} `,V=X.amount_minor_units/100,Z=V%1===0?V.toString():V.toFixed(2);return`${Q}${Z}`}function qX(){let X=P()?.organizationUuid;if(!X)return null;return b().passesEligibilityCache?.[X]?.referrer_reward??null}function LX(){let X=P()?.organizationUuid;if(!X)return null;return b().passesEligibilityCache?.[X]?.remaining_passes??null}async function vQ(){if(x)return E("Passes: Reusing in-flight eligibility fetch"),x;let X=P()?.organizationUuid;if(!X)return null;return x=(async()=>{try{let Q=await ZV(),V={...Q,timestamp:Date.now()};return mQ((Z)=>({...Z,passesEligibilityCache:{...Z.passesEligibilityCache,[X]:V}})),E(`Passes eligibility cached for org ${X}: ${Q.eligible}`),Q}catch(Q){return E("Failed to fetch and cache passes eligibility"),CQ(Q),null}finally{x=null}})(),x}async function GV(){if(!bQ())return null;let X=P()?.organizationUuid;if(!X)return null;let V=b().passesEligibilityCache?.[X],Z=Date.now();if(!V)return E("Passes: No cache, fetching eligibility in background (command unavailable this session)"),vQ(),null;if(Z-V.timestamp>xQ){E("Passes: Cache stale, returning cached data and refreshing in background"),vQ();let{timestamp:G,...q}=V;return q}E("Passes: Using fresh cached eligibility data");let{timestamp:Y,...J}=V;return J}async function HX(){if(fQ())return;GV()}var xQ=86400000,x=null,JV;var qV=F(()=>{tQ();nQ();XV();QV();iQ();VV();eQ();YV();JV={USD:"$",EUR:"€",GBP:"£",BRL:"R$",CAD:"CA$",AUD:"A$",NZD:"NZ$",SGD:"S$"}});
2
- export{XQ as lY,YQ as mY,GQ as nY,yQ as oY,l as pY,BV as qY,qQ as rY,LQ as sY,zQ as tY,BQ as uY,SV as vY,y as wY,KV as xY,UQ as yY,TV as zY,OQ as AY,_Q as BY,o as CY,WQ as DY,$V as EY,oQ as FY,s as GY,MQ as HY,xV as IY,bV as JY,IQ as KY,DQ as LY,EQ as MY,oV as NY,rQ as OY,ZX as PY,JX as QY,GX as RY,qX as SY,LX as TY,GV as UY,HX as VY,qV as WY};