@claudiolabs/claudin 1.1.8 → 1.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (918) hide show
  1. package/dist/chunks/AgentTool-1.1.10-gj63wvsc.mjs +1 -0
  2. package/dist/chunks/App-1.1.10-sk0bjxfk.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.10-7yenejkw.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.10-0aa0zy1a.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.10-vyft90yk.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.10-657b3x88.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.10-2vb72aje.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.10-dcrmyx9b.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.10-3k4xatjv.mjs +7 -0
  10. package/dist/chunks/Doctor-1.1.10-rgy7nenk.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.10-7tka6rrk.mjs +6 -0
  12. package/dist/chunks/Grove-1.1.10-mzvca2vd.mjs +1 -0
  13. package/dist/chunks/ITermBackend-1.1.10-zf1cxr4h.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.1.10-xbvct858.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.1.10-29tqjn4y.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.1.10-0fdsdbna.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.1.10-pwtdmht6.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.1.10-qdhkgymy.mjs +1 -0
  19. package/dist/chunks/REPL-1.1.10-d1wzzd1a.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.1.10-qxv36tqp.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.1.10-1w85m05k.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.1.10-qsf4xmkj.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.1.10-b0js9xk0.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.1.10-v8g7z6vy.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.1.10-mh9af70m.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.1.10-23pzjxjm.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.1.10-561ps5mb.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.1.10-1spf7213.mjs +1 -0
  29. package/dist/chunks/add-dir-1.1.10-pvac31nq.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.1.10-1g7w3dx1.mjs +1 -0
  31. package/dist/chunks/agents-1.1.10-8m9yb7xs.mjs +110 -0
  32. package/dist/chunks/agents-1.1.10-spgs7zfh.mjs +3 -0
  33. package/dist/chunks/api-1.1.10-6md4ym02.mjs +1 -0
  34. package/dist/chunks/asciicast-1.1.10-r808f4jx.mjs +1 -0
  35. package/dist/chunks/assistant-1.1.10-2jgdpy2m.mjs +1 -0
  36. package/dist/chunks/auth-1.1.10-c58sakkr.mjs +1 -0
  37. package/dist/chunks/auth-1.1.10-sfzbw010.mjs +1 -0
  38. package/dist/chunks/autoMode-1.1.10-c8tm40pq.mjs +48 -0
  39. package/dist/chunks/autoUpdater-1.1.10-avtbnsyp.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.10-n208vt88.mjs +1 -0
  41. package/dist/chunks/branch-1.1.10-qtvf52jq.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.10-ryc7krfd.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.10-3j77pwcn.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.10-mdqzrmk6.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.10-0da3j9a0.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.10-hjbfhk32.mjs +1 -0
  47. package/dist/chunks/btw-1.1.10-k6ndf81e.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.10-t5yrtkdq.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.10-tkh4t0g0.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.10-q4zvr7r5.mjs +4 -0
  51. package/dist/chunks/caches-1.1.10-107p4aea.mjs +1 -0
  52. package/dist/chunks/claudeDesktop-1.1.10-fkx2a88x.mjs +1 -0
  53. package/dist/chunks/claudemd-1.1.10-n325a040.mjs +1 -0
  54. package/dist/chunks/clear-1.1.10-evfcfpzq.mjs +1 -0
  55. package/dist/chunks/clearTerminal-1.1.10-9c6e5w18.mjs +1 -0
  56. package/dist/chunks/cli-1.1.10-051sym72.mjs +2 -0
  57. package/dist/chunks/cli-1.1.10-05ry3ydz.mjs +2 -0
  58. package/dist/chunks/cli-1.1.10-0hqk157z.mjs +2 -0
  59. package/dist/chunks/cli-1.1.10-0j2bz40j.mjs +2 -0
  60. package/dist/chunks/cli-1.1.10-0ss6k2ta.mjs +133 -0
  61. package/dist/chunks/cli-1.1.10-0sxx8rkz.mjs +21 -0
  62. package/dist/chunks/cli-1.1.10-0t3bda7e.mjs +45 -0
  63. package/dist/chunks/cli-1.1.10-0v84m667.mjs +2 -0
  64. package/dist/chunks/cli-1.1.10-0v8v9gwe.mjs +17 -0
  65. package/dist/chunks/cli-1.1.10-0vae4j38.mjs +2 -0
  66. package/dist/chunks/cli-1.1.10-0vm5evaf.mjs +2 -0
  67. package/dist/chunks/cli-1.1.10-0yx9c9s1.mjs +2 -0
  68. package/dist/chunks/cli-1.1.10-12dzgaq4.mjs +2 -0
  69. package/dist/chunks/cli-1.1.10-15m7f0r3.mjs +50 -0
  70. package/dist/chunks/cli-1.1.10-1jkxjyqd.mjs +2 -0
  71. package/dist/chunks/cli-1.1.10-1mh77njj.mjs +2 -0
  72. package/dist/chunks/cli-1.1.10-1qxr18wg.mjs +2 -0
  73. package/dist/chunks/cli-1.1.10-220cer0v.mjs +9 -0
  74. package/dist/chunks/cli-1.1.10-250q8bef.mjs +2 -0
  75. package/dist/chunks/cli-1.1.10-2rygdbq2.mjs +2 -0
  76. package/dist/chunks/cli-1.1.10-2scx8n6c.mjs +2 -0
  77. package/dist/chunks/cli-1.1.10-2thwcpkf.mjs +18 -0
  78. package/dist/chunks/cli-1.1.10-2w383pwf.mjs +2 -0
  79. package/dist/chunks/cli-1.1.10-2w4c9red.mjs +3 -0
  80. package/dist/chunks/cli-1.1.10-2wkvf65f.mjs +2 -0
  81. package/dist/chunks/cli-1.1.10-2x1a8qcr.mjs +2 -0
  82. package/dist/chunks/cli-1.1.10-374zmax8.mjs +2 -0
  83. package/dist/chunks/cli-1.1.10-39crhqg8.mjs +2 -0
  84. package/dist/chunks/cli-1.1.10-3a3dw1b0.mjs +6 -0
  85. package/dist/chunks/cli-1.1.10-3pch2a3h.mjs +2 -0
  86. package/dist/chunks/cli-1.1.10-3vfwktcp.mjs +2 -0
  87. package/dist/chunks/cli-1.1.10-436vz31m.mjs +2 -0
  88. package/dist/chunks/cli-1.1.10-453rs0bh.mjs +3 -0
  89. package/dist/chunks/cli-1.1.10-49bvng33.mjs +2 -0
  90. package/dist/chunks/cli-1.1.10-4fjjvbb7.mjs +2 -0
  91. package/dist/chunks/cli-1.1.10-4h8gax7r.mjs +2 -0
  92. package/dist/chunks/cli-1.1.10-4xztz3b9.mjs +24 -0
  93. package/dist/chunks/cli-1.1.10-51vyhqae.mjs +2 -0
  94. package/dist/chunks/cli-1.1.10-5828mt9m.mjs +2 -0
  95. package/dist/chunks/cli-1.1.10-58e888gh.mjs +2 -0
  96. package/dist/chunks/cli-1.1.10-58vqqfgj.mjs +2 -0
  97. package/dist/chunks/cli-1.1.10-5hrs5rqr.mjs +2 -0
  98. package/dist/chunks/cli-1.1.10-5t6aryqe.mjs +2 -0
  99. package/dist/chunks/cli-1.1.10-5t95b8cn.mjs +2 -0
  100. package/dist/chunks/cli-1.1.10-5y236qn7.mjs +2 -0
  101. package/dist/chunks/cli-1.1.10-6g4fntdc.mjs +3 -0
  102. package/dist/chunks/cli-1.1.10-6km1ymnm.mjs +2 -0
  103. package/dist/chunks/cli-1.1.10-6m1jpn0s.mjs +24 -0
  104. package/dist/chunks/cli-1.1.10-6q7mx8f2.mjs +2 -0
  105. package/dist/chunks/cli-1.1.10-6smvkrsd.mjs +2 -0
  106. package/dist/chunks/cli-1.1.10-6vxxztf9.mjs +2 -0
  107. package/dist/chunks/cli-1.1.10-6ya9ptdc.mjs +2 -0
  108. package/dist/chunks/cli-1.1.10-795jmkhb.mjs +2 -0
  109. package/dist/chunks/cli-1.1.10-84ev8nya.mjs +2 -0
  110. package/dist/chunks/cli-1.1.10-85j5ems7.mjs +2 -0
  111. package/dist/chunks/cli-1.1.10-8fgppw70.mjs +2 -0
  112. package/dist/chunks/cli-1.1.10-8vmgbrks.mjs +2 -0
  113. package/dist/chunks/cli-1.1.10-8xx1v7p2.mjs +2 -0
  114. package/dist/chunks/cli-1.1.10-910qbqn7.mjs +133 -0
  115. package/dist/chunks/cli-1.1.10-99ep1sr9.mjs +2 -0
  116. package/dist/chunks/cli-1.1.10-9jy4caft.mjs +2 -0
  117. package/dist/chunks/cli-1.1.10-9pxnk8yg.mjs +6 -0
  118. package/dist/chunks/cli-1.1.10-9q1p3zj2.mjs +2 -0
  119. package/dist/chunks/cli-1.1.10-9r8td4sp.mjs +2 -0
  120. package/dist/chunks/cli-1.1.10-a0ypafa6.mjs +2 -0
  121. package/dist/chunks/cli-1.1.10-a565mgy8.mjs +2 -0
  122. package/dist/chunks/cli-1.1.10-a7j4a04g.mjs +2 -0
  123. package/dist/chunks/cli-1.1.10-a8e8n1bk.mjs +2 -0
  124. package/dist/chunks/cli-1.1.10-aq5a8xs2.mjs +2 -0
  125. package/dist/chunks/cli-1.1.10-azskxdmb.mjs +2 -0
  126. package/dist/chunks/cli-1.1.10-b0b04nbj.mjs +2 -0
  127. package/dist/chunks/cli-1.1.10-b1hac494.mjs +2 -0
  128. package/dist/chunks/cli-1.1.10-b41dat7h.mjs +2 -0
  129. package/dist/chunks/cli-1.1.10-b6my5t3h.mjs +2 -0
  130. package/dist/chunks/cli-1.1.10-ba3fhh55.mjs +2 -0
  131. package/dist/chunks/cli-1.1.10-bpcmdnpg.mjs +2 -0
  132. package/dist/chunks/cli-1.1.10-bs5xjsav.mjs +39 -0
  133. package/dist/chunks/cli-1.1.10-c2wdnady.mjs +3 -0
  134. package/dist/chunks/cli-1.1.10-c3g5ab8n.mjs +2 -0
  135. package/dist/chunks/cli-1.1.10-c67v6p50.mjs +2 -0
  136. package/dist/chunks/cli-1.1.10-c77kxdjj.mjs +2 -0
  137. package/dist/chunks/cli-1.1.10-cbgx6hw2.mjs +9 -0
  138. package/dist/chunks/cli-1.1.10-cgan8hpz.mjs +2 -0
  139. package/dist/chunks/cli-1.1.10-cn0a8vwn.mjs +2 -0
  140. package/dist/chunks/cli-1.1.10-ct81y4qh.mjs +4 -0
  141. package/dist/chunks/cli-1.1.10-cvxq4g91.mjs +2 -0
  142. package/dist/chunks/cli-1.1.10-cyv1wwen.mjs +3 -0
  143. package/dist/chunks/cli-1.1.10-d15qrtw2.mjs +2 -0
  144. package/dist/chunks/cli-1.1.10-d4ncq82f.mjs +8 -0
  145. package/dist/chunks/cli-1.1.10-dppcc1yx.mjs +6 -0
  146. package/dist/chunks/cli-1.1.10-dvxkr02c.mjs +2 -0
  147. package/dist/chunks/cli-1.1.10-e7wxspgz.mjs +4 -0
  148. package/dist/chunks/cli-1.1.10-e8zhf6q8.mjs +2 -0
  149. package/dist/chunks/cli-1.1.10-ecahzspx.mjs +2 -0
  150. package/dist/chunks/cli-1.1.10-effpqe7k.mjs +2 -0
  151. package/dist/chunks/cli-1.1.10-ejwjw031.mjs +6 -0
  152. package/dist/chunks/cli-1.1.10-eqscqpev.mjs +3 -0
  153. package/dist/chunks/cli-1.1.10-erh9bkn9.mjs +24 -0
  154. package/dist/chunks/cli-1.1.10-ex9enqps.mjs +2 -0
  155. package/dist/chunks/cli-1.1.10-f00rps59.mjs +2 -0
  156. package/dist/chunks/cli-1.1.10-f2zv6ggd.mjs +2 -0
  157. package/dist/chunks/cli-1.1.10-f7dqg4nd.mjs +2 -0
  158. package/dist/chunks/cli-1.1.10-f8q95jfw.mjs +2 -0
  159. package/dist/chunks/cli-1.1.10-f8znbdgf.mjs +4 -0
  160. package/dist/chunks/cli-1.1.10-fdxccf2v.mjs +3 -0
  161. package/dist/chunks/cli-1.1.10-fkqba8ty.mjs +58 -0
  162. package/dist/chunks/cli-1.1.10-fnvz77rd.mjs +2 -0
  163. package/dist/chunks/cli-1.1.10-fsq46r6j.mjs +2 -0
  164. package/dist/chunks/cli-1.1.10-fz99ag3y.mjs +2 -0
  165. package/dist/chunks/cli-1.1.10-gafedg04.mjs +2 -0
  166. package/dist/chunks/cli-1.1.10-gjdh1yvr.mjs +2 -0
  167. package/dist/chunks/cli-1.1.10-gmf5w0a4.mjs +2 -0
  168. package/dist/chunks/cli-1.1.10-gnmyahda.mjs +7 -0
  169. package/dist/chunks/cli-1.1.10-gr69gke8.mjs +15 -0
  170. package/dist/chunks/cli-1.1.10-gydf5ktx.mjs +2 -0
  171. package/dist/chunks/cli-1.1.10-h0b2x5t4.mjs +2 -0
  172. package/dist/chunks/cli-1.1.10-h49727f7.mjs +3 -0
  173. package/dist/chunks/cli-1.1.10-h4m6563f.mjs +4 -0
  174. package/dist/chunks/cli-1.1.10-hdz1r66z.mjs +2 -0
  175. package/dist/chunks/cli-1.1.10-hg2m67ya.mjs +15 -0
  176. package/dist/chunks/cli-1.1.10-hhkgpzgz.mjs +2 -0
  177. package/dist/chunks/cli-1.1.10-hk2c91wp.mjs +5379 -0
  178. package/dist/chunks/cli-1.1.10-hr4ety9s.mjs +2 -0
  179. package/dist/chunks/cli-1.1.10-hs44pkht.mjs +2 -0
  180. package/dist/chunks/cli-1.1.10-hx9513je.mjs +2 -0
  181. package/dist/chunks/cli-1.1.10-j20txpzn.mjs +2 -0
  182. package/dist/chunks/cli-1.1.10-j4vg803f.mjs +25 -0
  183. package/dist/chunks/cli-1.1.10-jd00fn0g.mjs +34 -0
  184. package/dist/chunks/cli-1.1.10-jeaf93w2.mjs +2 -0
  185. package/dist/chunks/cli-1.1.10-jfmgqmt5.mjs +17 -0
  186. package/dist/chunks/cli-1.1.10-jfwqa1gq.mjs +3 -0
  187. package/dist/chunks/cli-1.1.10-jn6w68wj.mjs +6 -0
  188. package/dist/chunks/cli-1.1.10-jp5ga1mx.mjs +2 -0
  189. package/dist/chunks/cli-1.1.10-jrpxc13y.mjs +2 -0
  190. package/dist/chunks/cli-1.1.10-jyk734bb.mjs +2 -0
  191. package/dist/chunks/cli-1.1.10-k9q658g7.mjs +2 -0
  192. package/dist/chunks/cli-1.1.10-kdvf271d.mjs +4 -0
  193. package/dist/chunks/cli-1.1.10-kdxm85xx.mjs +20 -0
  194. package/dist/chunks/cli-1.1.10-kw60xwcx.mjs +3 -0
  195. package/dist/chunks/cli-1.1.10-kxqtg1q9.mjs +2 -0
  196. package/dist/chunks/cli-1.1.10-kzbg67rw.mjs +5 -0
  197. package/dist/chunks/cli-1.1.10-m0pdck7q.mjs +202 -0
  198. package/dist/chunks/cli-1.1.10-m0xgys17.mjs +2 -0
  199. package/dist/chunks/cli-1.1.10-m10z6jbs.mjs +4 -0
  200. package/dist/chunks/cli-1.1.10-m86zy5vy.mjs +2 -0
  201. package/dist/chunks/cli-1.1.10-mawng745.mjs +12 -0
  202. package/dist/chunks/cli-1.1.10-mdkc2azc.mjs +2 -0
  203. package/dist/chunks/cli-1.1.10-mnbek10k.mjs +2 -0
  204. package/dist/chunks/cli-1.1.10-msg7sda2.mjs +59 -0
  205. package/dist/chunks/cli-1.1.10-mx6xpamf.mjs +2 -0
  206. package/dist/chunks/cli-1.1.10-n8ed7a8a.mjs +4 -0
  207. package/dist/chunks/cli-1.1.10-nfpy32s8.mjs +66 -0
  208. package/dist/chunks/cli-1.1.10-njf3620e.mjs +2 -0
  209. package/dist/chunks/cli-1.1.10-np84s5kd.mjs +2 -0
  210. package/dist/chunks/cli-1.1.10-ntrb7636.mjs +3 -0
  211. package/dist/chunks/cli-1.1.10-p28vy0yz.mjs +2 -0
  212. package/dist/chunks/cli-1.1.10-pkyv2v8k.mjs +2 -0
  213. package/dist/chunks/cli-1.1.10-ppft1w3p.mjs +2 -0
  214. package/dist/chunks/cli-1.1.10-psqaker4.mjs +2 -0
  215. package/dist/chunks/cli-1.1.10-pxdj0vvb.mjs +3 -0
  216. package/dist/chunks/cli-1.1.10-q2nbtgde.mjs +15 -0
  217. package/dist/chunks/cli-1.1.10-qh2qrbg9.mjs +2 -0
  218. package/dist/chunks/cli-1.1.10-qk19t6fd.mjs +2 -0
  219. package/dist/chunks/cli-1.1.10-qnswwjvv.mjs +4 -0
  220. package/dist/chunks/cli-1.1.10-qny1442k.mjs +2 -0
  221. package/dist/chunks/cli-1.1.10-qtkktme0.mjs +2 -0
  222. package/dist/chunks/cli-1.1.10-rgpghq5k.mjs +6 -0
  223. package/dist/chunks/cli-1.1.10-ryjne6pb.mjs +2 -0
  224. package/dist/chunks/cli-1.1.10-saacbyca.mjs +2 -0
  225. package/dist/chunks/cli-1.1.10-sbfv4gg3.mjs +2 -0
  226. package/dist/chunks/cli-1.1.10-sc2myky4.mjs +25 -0
  227. package/dist/chunks/cli-1.1.10-sdgrrb7v.mjs +2 -0
  228. package/dist/chunks/cli-1.1.10-sgrbnxr1.mjs +2 -0
  229. package/dist/chunks/cli-1.1.10-sv5wy20e.mjs +2 -0
  230. package/dist/chunks/cli-1.1.10-syrhp8d1.mjs +12 -0
  231. package/dist/chunks/cli-1.1.10-sz5x71xt.mjs +42 -0
  232. package/dist/chunks/cli-1.1.10-szjm5cs0.mjs +2 -0
  233. package/dist/chunks/cli-1.1.10-t0ypk4ke.mjs +2 -0
  234. package/dist/chunks/cli-1.1.10-t1vfqzsp.mjs +4 -0
  235. package/dist/chunks/cli-1.1.10-t3pn4ww9.mjs +2 -0
  236. package/dist/chunks/cli-1.1.10-t8n5jx0z.mjs +2 -0
  237. package/dist/chunks/cli-1.1.10-tntdtvhr.mjs +2 -0
  238. package/dist/chunks/cli-1.1.10-tnymg33g.mjs +2 -0
  239. package/dist/chunks/cli-1.1.10-tqfkjw71.mjs +2 -0
  240. package/dist/chunks/cli-1.1.10-trsts9v3.mjs +2 -0
  241. package/dist/chunks/cli-1.1.10-tv3hs8t2.mjs +2 -0
  242. package/dist/chunks/cli-1.1.10-ty52w0t8.mjs +2 -0
  243. package/dist/chunks/cli-1.1.10-v4mtt7fd.mjs +2 -0
  244. package/dist/chunks/cli-1.1.10-v9q9ddhz.mjs +2 -0
  245. package/dist/chunks/cli-1.1.10-vr1kd1f6.mjs +1 -0
  246. package/dist/chunks/cli-1.1.10-w6tkqgvq.mjs +2 -0
  247. package/dist/chunks/cli-1.1.10-w7zqsk0a.mjs +2 -0
  248. package/dist/chunks/cli-1.1.10-wb8bcef1.mjs +2 -0
  249. package/dist/chunks/cli-1.1.10-wjc9jsjt.mjs +2 -0
  250. package/dist/chunks/cli-1.1.10-wjcgsn42.mjs +24 -0
  251. package/dist/chunks/cli-1.1.10-wkzbqdmr.mjs +2 -0
  252. package/dist/chunks/cli-1.1.10-wm2kd8d3.mjs +5 -0
  253. package/dist/chunks/cli-1.1.10-wqc9fp4g.mjs +18 -0
  254. package/dist/chunks/cli-1.1.10-wvw85hk5.mjs +26 -0
  255. package/dist/chunks/cli-1.1.10-x7s7dnjf.mjs +2 -0
  256. package/dist/chunks/cli-1.1.10-x83wfqf9.mjs +4 -0
  257. package/dist/chunks/cli-1.1.10-x8dpgrgj.mjs +2 -0
  258. package/dist/chunks/cli-1.1.10-y4afn758.mjs +2 -0
  259. package/dist/chunks/cli-1.1.10-y8334h0w.mjs +3 -0
  260. package/dist/chunks/cli-1.1.10-y95f28g5.mjs +2 -0
  261. package/dist/chunks/cli-1.1.10-yzpymdrc.mjs +16 -0
  262. package/dist/chunks/cli-1.1.10-z0ddrtr1.mjs +2 -0
  263. package/dist/chunks/cli-1.1.10-z0zzjeej.mjs +4 -0
  264. package/dist/chunks/cli-1.1.10-z1mewb4a.mjs +3 -0
  265. package/dist/chunks/cli-1.1.10-zaq3qp5f.mjs +12 -0
  266. package/dist/chunks/client-1.1.10-n6skmcnp.mjs +1 -0
  267. package/dist/chunks/color-1.1.10-xgpy38nc.mjs +1 -0
  268. package/dist/chunks/compact-1.1.10-ywm45c47.mjs +3 -0
  269. package/dist/chunks/config-1.1.10-070kwjeg.mjs +1 -0
  270. package/dist/chunks/config-1.1.10-bvmgcws9.mjs +1 -0
  271. package/dist/chunks/constants-1.1.10-bfbmy8wz.mjs +1 -0
  272. package/dist/chunks/context-1.1.10-hfeqyewx.mjs +1 -0
  273. package/dist/chunks/context-noninteractive-1.1.10-ayept5ex.mjs +1 -0
  274. package/dist/chunks/conversation-1.1.10-eqnmzmgt.mjs +1 -0
  275. package/dist/chunks/copilotHeaders-1.1.10-rjwess9f.mjs +1 -0
  276. package/dist/chunks/copy-1.1.10-dvs7kz34.mjs +9 -0
  277. package/dist/chunks/cost-1.1.10-dk74vep1.mjs +1 -0
  278. package/dist/chunks/createSSHSession-1.1.10-dx93q1fp.mjs +1 -0
  279. package/dist/chunks/createSession-1.1.10-m7x38yn5.mjs +1 -0
  280. package/dist/chunks/debug-1.1.10-14v3zx1d.mjs +1 -0
  281. package/dist/chunks/defaultActionDeps-1.1.10-qa7ksxxs.mjs +1526 -0
  282. package/dist/chunks/desktop-1.1.10-yexkfd86.mjs +1 -0
  283. package/dist/chunks/detectRepository-1.1.10-71gvqxzs.mjs +1 -0
  284. package/dist/chunks/detection-1.1.10-ccdhhprp.mjs +1 -0
  285. package/dist/chunks/diff-1.1.10-m3gq5b6x.mjs +1 -0
  286. package/dist/chunks/doctor-1.1.10-td2cwcvc.mjs +1 -0
  287. package/dist/chunks/doctorDiagnostic-1.1.10-9c7dzt7n.mjs +1 -0
  288. package/dist/chunks/earlyInput-1.1.10-hz3yh50c.mjs +1 -0
  289. package/dist/chunks/effort-1.1.10-19pz34nx.mjs +13 -0
  290. package/dist/chunks/engine-1.1.10-44xhf5x0.mjs +1 -0
  291. package/dist/chunks/envLessBridgeConfig-1.1.10-4xe76fe7.mjs +1 -0
  292. package/dist/chunks/envUtils-1.1.10-dg023dvr.mjs +1 -0
  293. package/dist/chunks/environmentSelection-1.1.10-wrrx6jm9.mjs +1 -0
  294. package/dist/chunks/environments-1.1.10-x9feeaeq.mjs +1 -0
  295. package/dist/chunks/errors-1.1.10-yhgdas17.mjs +1 -0
  296. package/dist/chunks/exampleCommands-1.1.10-t5sggm4m.mjs +1 -0
  297. package/dist/chunks/execFileNoThrow-1.1.10-rgt8yj28.mjs +1 -0
  298. package/dist/chunks/exit-1.1.10-f5jn3kgb.mjs +1 -0
  299. package/dist/chunks/explorer-1.1.10-hex7p7et.mjs +1 -0
  300. package/dist/chunks/export-1.1.10-tqf9qfs4.mjs +2 -0
  301. package/dist/chunks/extra-usage-1.1.10-2ess7s1c.mjs +1 -0
  302. package/dist/chunks/extra-usage-noninteractive-1.1.10-rjjrh2xh.mjs +1 -0
  303. package/dist/chunks/fast-1.1.10-j2pmqx3f.mjs +1 -0
  304. package/dist/chunks/feedback-1.1.10-ae5vhd02.mjs +14 -0
  305. package/dist/chunks/firstPartyEventLogger-1.1.10-909y3hrr.mjs +1 -0
  306. package/dist/chunks/git-1.1.10-0v4t8ap3.mjs +1 -0
  307. package/dist/chunks/githubModelsCredentials-1.1.10-zfjn71v3.mjs +1 -0
  308. package/dist/chunks/goal-1.1.10-c1ngzwh9.mjs +4 -0
  309. package/dist/chunks/grove-1.1.10-1btbm4ss.mjs +1 -0
  310. package/dist/chunks/growthbook-1.1.10-jb56c9h4.mjs +1 -0
  311. package/dist/chunks/headless-1.1.10-ef38srvy.mjs +2 -0
  312. package/dist/chunks/heapdump-1.1.10-tp8h06gk.mjs +6 -0
  313. package/dist/chunks/help-1.1.10-d0kff6qz.mjs +1 -0
  314. package/dist/chunks/hookChains-1.1.10-dey6b4ns.mjs +3 -0
  315. package/dist/chunks/hooks-1.1.10-76n26ek9.mjs +79 -0
  316. package/dist/chunks/hooks-1.1.10-ke0jh0zh.mjs +1 -0
  317. package/dist/chunks/ide-1.1.10-8dv11nsj.mjs +3 -0
  318. package/dist/chunks/image-processor-napi-1.1.10-pdf041f5.mjs +1 -0
  319. package/dist/chunks/inboundAttachments-1.1.10-qaypt5tq.mjs +1 -0
  320. package/dist/chunks/index-1.1.10-21s5496v.mjs +23 -0
  321. package/dist/chunks/index-1.1.10-2eg2nfya.mjs +5 -0
  322. package/dist/chunks/index-1.1.10-3cnyfq9h.mjs +2 -0
  323. package/dist/chunks/index-1.1.10-4t4pr0x3.mjs +1 -0
  324. package/dist/chunks/index-1.1.10-5ckjpq80.mjs +1 -0
  325. package/dist/chunks/index-1.1.10-5mechh5k.mjs +1 -0
  326. package/dist/chunks/index-1.1.10-7hmv8qcy.mjs +30 -0
  327. package/dist/chunks/index-1.1.10-9v096e06.mjs +1 -0
  328. package/dist/chunks/index-1.1.10-abgftsv6.mjs +1 -0
  329. package/dist/chunks/index-1.1.10-ckjn4w4s.mjs +1 -0
  330. package/dist/chunks/index-1.1.10-ctta1ge7.mjs +1 -0
  331. package/dist/chunks/index-1.1.10-d57z21y9.mjs +9 -0
  332. package/dist/chunks/index-1.1.10-fnhrat0c.mjs +1 -0
  333. package/dist/chunks/index-1.1.10-fw2aa53g.mjs +1 -0
  334. package/dist/chunks/index-1.1.10-p4xpsvnc.mjs +1 -0
  335. package/dist/chunks/index-1.1.10-qzkv1wgv.mjs +1 -0
  336. package/dist/chunks/index-1.1.10-vk9vb3b3.mjs +9 -0
  337. package/dist/chunks/index-1.1.10-vxy96cge.mjs +1 -0
  338. package/dist/chunks/index-1.1.10-wsc6cpqa.mjs +1 -0
  339. package/dist/chunks/index-1.1.10-yvr6d150.mjs +1 -0
  340. package/dist/chunks/index-1.1.10-ywef0hmk.mjs +1 -0
  341. package/dist/chunks/index-1.1.10-zj3yzybb.mjs +1 -0
  342. package/dist/chunks/index-1.1.10-znghd3d1.mjs +2 -0
  343. package/dist/chunks/init-1.1.10-vd74ec5b.mjs +1 -0
  344. package/dist/chunks/initReplBridge-1.1.10-sgkbmqqp.mjs +1 -0
  345. package/dist/chunks/ink-1.1.10-n9qcenb6.mjs +1 -0
  346. package/dist/chunks/insights-1.1.10-jfrnsmw1.mjs +870 -0
  347. package/dist/chunks/install-1.1.10-wxs00yc5.mjs +1 -0
  348. package/dist/chunks/install-github-app-1.1.10-zxbkcqd1.mjs +149 -0
  349. package/dist/chunks/install-slack-app-1.1.10-tv0p6dq9.mjs +1 -0
  350. package/dist/chunks/instrumentation-1.1.10-fxcjzzc0.mjs +1 -0
  351. package/dist/chunks/interactiveHelpers-1.1.10-f7cwwren.mjs +1 -0
  352. package/dist/chunks/keybindings-1.1.10-b8121c36.mjs +2 -0
  353. package/dist/chunks/knowledge-1.1.10-tmxkye8d.mjs +2 -0
  354. package/dist/chunks/latestVersionCache-1.1.10-dtghtfgq.mjs +1 -0
  355. package/dist/chunks/loadAgentsDir-1.1.10-hh30mnyw.mjs +1 -0
  356. package/dist/chunks/loadPluginHooks-1.1.10-32f6reyc.mjs +1 -0
  357. package/dist/chunks/log-1.1.10-kvrqr31p.mjs +1 -0
  358. package/dist/chunks/main-1.1.10-fpywq82b.mjs +1 -0
  359. package/dist/chunks/managedEnv-1.1.10-0x8ncmb7.mjs +1 -0
  360. package/dist/chunks/mcp-1.1.10-0trfp77x.mjs +17 -0
  361. package/dist/chunks/mcp-1.1.10-j59azp3f.mjs +4 -0
  362. package/dist/chunks/mcp-1.1.10-tz7gvpxy.mjs +1 -0
  363. package/dist/chunks/mcpb-1.1.10-2ypk133j.mjs +1 -0
  364. package/dist/chunks/memory-1.1.10-hgcgdw39.mjs +72 -0
  365. package/dist/chunks/model-1.1.10-27ysny3w.mjs +1 -0
  366. package/dist/chunks/model-1.1.10-m4n7t06v.mjs +2 -0
  367. package/dist/chunks/node-1.1.10-gtb48qhp.mjs +12 -0
  368. package/dist/chunks/oauth-1.1.10-d6p06vbt.mjs +1 -0
  369. package/dist/chunks/openaiShim-1.1.10-e130485k.mjs +14 -0
  370. package/dist/chunks/output-style-1.1.10-mb75wr50.mjs +1 -0
  371. package/dist/chunks/package-L37ZVTF4-1.1.10-9a2hkd1x.mjs +1 -0
  372. package/dist/chunks/parseConnectUrl-1.1.10-h0c8png1.mjs +1 -0
  373. package/dist/chunks/parser-1.1.10-mw2brrzk.mjs +1 -0
  374. package/dist/chunks/passes-1.1.10-d8xzm3jv.mjs +1 -0
  375. package/dist/chunks/permissions-1.1.10-01fgr8vp.mjs +3 -0
  376. package/dist/chunks/permissions-1.1.10-jxhg9dnn.mjs +1 -0
  377. package/dist/chunks/plan-1.1.10-cqaej565.mjs +1 -0
  378. package/dist/chunks/plist-1.1.10-cssvr9wq.mjs +1 -0
  379. package/dist/chunks/plugin-1.1.10-zh92hjbn.mjs +29 -0
  380. package/dist/chunks/pluginStartupCheck-1.1.10-dk9bb5aj.mjs +1 -0
  381. package/dist/chunks/plugins-1.1.10-e40pek7s.mjs +9 -0
  382. package/dist/chunks/preActionHook-1.1.10-59kjxx2m.mjs +2 -0
  383. package/dist/chunks/print-1.1.10-exvxk5s6.mjs +57 -0
  384. package/dist/chunks/privacy-settings-1.1.10-4bdpnrms.mjs +1 -0
  385. package/dist/chunks/process-1.1.10-km5rbq9n.mjs +1 -0
  386. package/dist/chunks/processBashCommand-1.1.10-h4jmaj4v.mjs +1 -0
  387. package/dist/chunks/processSlashCommand-1.1.10-r7k9bvny.mjs +9 -0
  388. package/dist/chunks/prompt-1.1.10-01smdx9v.mjs +1 -0
  389. package/dist/chunks/prompt-1.1.10-e7736a74.mjs +1 -0
  390. package/dist/chunks/prompts-1.1.10-xq2654jw.mjs +1 -0
  391. package/dist/chunks/protocolHandler-1.1.10-y0y188tv.mjs +13 -0
  392. package/dist/chunks/provider-1.1.10-6w0w7pgq.mjs +2 -0
  393. package/dist/chunks/providerProfiles-1.1.10-z18shscr.mjs +1 -0
  394. package/dist/chunks/providerValidation-1.1.10-1dsjh7z9.mjs +6 -0
  395. package/dist/chunks/rate-limit-options-1.1.10-fe3cq8zn.mjs +1 -0
  396. package/dist/chunks/registerSubcommands-1.1.10-r3mc5gga.mjs +34 -0
  397. package/dist/chunks/registry-1.1.10-n9xv1qjw.mjs +1 -0
  398. package/dist/chunks/release-notes-1.1.10-2ecqsjx0.mjs +5 -0
  399. package/dist/chunks/reload-plugins-1.1.10-pb7wpz5e.mjs +2 -0
  400. package/dist/chunks/remote-env-1.1.10-tybykfn7.mjs +1 -0
  401. package/dist/chunks/remoteBridgeCore-1.1.10-crdtgqbs.mjs +1 -0
  402. package/dist/chunks/remoteSession-1.1.10-1egxb08k.mjs +1 -0
  403. package/dist/chunks/rename-1.1.10-0j2dbrfg.mjs +1 -0
  404. package/dist/chunks/replBridgeHandle-1.1.10-yf9vdp0m.mjs +1 -0
  405. package/dist/chunks/replLauncher-1.1.10-y2ykrkt0.mjs +1 -0
  406. package/dist/chunks/resume-1.1.10-e4w4vqsa.mjs +2 -0
  407. package/dist/chunks/rewind-1.1.10-2sjz5jw8.mjs +1 -0
  408. package/dist/chunks/rootOptions-1.1.10-5hysyde5.mjs +1 -0
  409. package/dist/chunks/runWorkflowHeadless-1.1.10-nengktmv.mjs +10 -0
  410. package/dist/chunks/sandbox-adapter-1.1.10-svdktpkg.mjs +1 -0
  411. package/dist/chunks/sandbox-toggle-1.1.10-q8da9hjz.mjs +1 -0
  412. package/dist/chunks/session-1.1.10-1g27gvqt.mjs +2 -0
  413. package/dist/chunks/sessionDiscovery-1.1.10-0hb3n5na.mjs +1 -0
  414. package/dist/chunks/sessionFileAccessHooks-1.1.10-z13dd76y.mjs +1 -0
  415. package/dist/chunks/sessionStorage-1.1.10-60nqzt83.mjs +1 -0
  416. package/dist/chunks/settings-1.1.10-95zpybsa.mjs +1 -0
  417. package/dist/chunks/setup-1.1.10-400hhq7t.mjs +5 -0
  418. package/dist/chunks/sinks-1.1.10-w9vqb1fc.mjs +1 -0
  419. package/dist/chunks/skills-1.1.10-4rvw7gjv.mjs +1 -0
  420. package/dist/chunks/startupProfiler-1.1.10-va3s727x.mjs +1 -0
  421. package/dist/chunks/startupUpdateCheck-1.1.10-en1qgfv4.mjs +1 -0
  422. package/dist/chunks/state-1.1.10-m7z4cc4k.mjs +1 -0
  423. package/dist/chunks/stats-1.1.10-zr2qwhhw.mjs +6 -0
  424. package/dist/chunks/status-1.1.10-shjkyaf2.mjs +1 -0
  425. package/dist/chunks/stickers-1.1.10-2q6r4f9v.mjs +1 -0
  426. package/dist/chunks/subprocessEnv-1.1.10-whznjthj.mjs +1 -0
  427. package/dist/chunks/tasks-1.1.10-xvxjn48w.mjs +1 -0
  428. package/dist/chunks/teamHelpers-1.1.10-3a06a8cd.mjs +1 -0
  429. package/dist/chunks/teammateModeSnapshot-1.1.10-yns217pf.mjs +1 -0
  430. package/dist/chunks/teleport-1.1.10-gc3e0hfm.mjs +1 -0
  431. package/dist/chunks/terminalSetup-1.1.10-4tqezn3j.mjs +1 -0
  432. package/dist/chunks/theme-1.1.10-qp7v8yaq.mjs +1 -0
  433. package/dist/chunks/thinkback-1.1.10-xyd2apjc.mjs +1 -0
  434. package/dist/chunks/thinkback-play-1.1.10-a5hhp9ca.mjs +1 -0
  435. package/dist/chunks/toolPool-1.1.10-n1hm8qqk.mjs +1 -0
  436. package/dist/chunks/toolSearch-1.1.10-29584y2q.mjs +1 -0
  437. package/dist/chunks/tools-1.1.10-yd9tmhpe.mjs +1 -0
  438. package/dist/chunks/trustedDevice-1.1.10-qs4pk9wc.mjs +1 -0
  439. package/dist/chunks/turndown.cjs-1.1.10-m0c9pvs3.mjs +69 -0
  440. package/dist/chunks/types-1.1.10-gz59ngmz.mjs +1 -0
  441. package/dist/chunks/ultrareviewCommand-1.1.10-8arx59cc.mjs +4 -0
  442. package/dist/chunks/update-1.1.10-1w823rha.mjs +72 -0
  443. package/dist/chunks/upgrade-1.1.10-0h5fvvfp.mjs +1 -0
  444. package/dist/chunks/upload-1.1.10-ge981abh.mjs +7 -0
  445. package/dist/chunks/upstreamproxy-1.1.10-80kjt167.mjs +14 -0
  446. package/dist/chunks/url-handler-napi-1.1.10-x60fj9h0.mjs +1 -0
  447. package/dist/chunks/usage-1.1.10-gxymk7vd.mjs +1 -0
  448. package/dist/chunks/util-1.1.10-s4sj88my.mjs +1 -0
  449. package/dist/chunks/utils-1.1.10-haynqk5y.mjs +1 -0
  450. package/dist/chunks/vim-1.1.10-6yhqt71v.mjs +1 -0
  451. package/dist/chunks/watchLoop-1.1.10-cg0f8n71.mjs +13 -0
  452. package/dist/chunks/watcher-1.1.10-y1qwkajd.mjs +1 -0
  453. package/dist/chunks/wiki-1.1.10-1djxp3tb.mjs +132 -0
  454. package/dist/chunks/workflows-1.1.10-brkbd7wc.mjs +1 -0
  455. package/dist/chunks/worktree-1.1.10-bn0ac41k.mjs +1 -0
  456. package/dist/chunks/worktreeModeEnabled-1.1.10-rhvwpn43.mjs +1 -0
  457. package/dist/chunks/wrapper-1.1.10-dthrwggp.mjs +7 -0
  458. package/dist/cli.mjs +2 -2
  459. package/package.json +9 -9
  460. package/dist/chunks/AgentTool-1.1.8-6z4gxak1.mjs +0 -1
  461. package/dist/chunks/App-1.1.8-d07z7cbf.mjs +0 -1
  462. package/dist/chunks/ApproveApiKey-1.1.8-fsyn77jc.mjs +0 -1
  463. package/dist/chunks/AssistantSessionChooser-1.1.8-z6j52pp3.mjs +0 -1
  464. package/dist/chunks/AutoModeOptInDialog-1.1.8-nxgt8y8q.mjs +0 -1
  465. package/dist/chunks/BypassPermissionsModeDialog-1.1.8-bjsz0qfp.mjs +0 -1
  466. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.8-2mwsqmhp.mjs +0 -1
  467. package/dist/chunks/ConsoleOAuthFlow-1.1.8-24z6s4j5.mjs +0 -1
  468. package/dist/chunks/DiffDialog-1.1.8-abc9qq6c.mjs +0 -7
  469. package/dist/chunks/Doctor-1.1.8-8ja3a3f1.mjs +0 -1
  470. package/dist/chunks/ExplorerDialog-1.1.8-nsj1wjz4.mjs +0 -6
  471. package/dist/chunks/Grove-1.1.8-hkq9z22m.mjs +0 -1
  472. package/dist/chunks/ITermBackend-1.1.8-a8tfxk9n.mjs +0 -1
  473. package/dist/chunks/InvalidConfigDialog-1.1.8-nt3tgbzz.mjs +0 -1
  474. package/dist/chunks/InvalidSettingsDialog-1.1.8-ybdh3drb.mjs +0 -1
  475. package/dist/chunks/MigrationDialog-1.1.8-qvkzvfgf.mjs +0 -1
  476. package/dist/chunks/Onboarding-1.1.8-2bkd7rzz.mjs +0 -1
  477. package/dist/chunks/ProviderManager-1.1.8-v45zy151.mjs +0 -1
  478. package/dist/chunks/REPL-1.1.8-mdyssah9.mjs +0 -1
  479. package/dist/chunks/ResumeConversation-1.1.8-2d6r24bp.mjs +0 -1
  480. package/dist/chunks/SnapshotUpdateDialog-1.1.8-bkt80qn7.mjs +0 -1
  481. package/dist/chunks/TeleportProgress-1.1.8-35s6scr9.mjs +0 -1
  482. package/dist/chunks/TeleportRepoMismatchDialog-1.1.8-gddzn3ac.mjs +0 -1
  483. package/dist/chunks/TeleportResumeWrapper-1.1.8-sqrxwgy6.mjs +0 -1
  484. package/dist/chunks/TmuxBackend-1.1.8-21pehb0t.mjs +0 -9
  485. package/dist/chunks/ToolSearchTool-1.1.8-h78w5ftj.mjs +0 -1
  486. package/dist/chunks/TrustDialog-1.1.8-pqvwnbce.mjs +0 -1
  487. package/dist/chunks/activeProvider-1.1.8-rnbk6kxv.mjs +0 -1
  488. package/dist/chunks/add-dir-1.1.8-mdmcq32z.mjs +0 -1
  489. package/dist/chunks/agentTypes-1.1.8-h8nnkdmz.mjs +0 -1
  490. package/dist/chunks/agents-1.1.8-4f1tz8xm.mjs +0 -110
  491. package/dist/chunks/agents-1.1.8-6kv8h0fa.mjs +0 -3
  492. package/dist/chunks/api-1.1.8-mp8twdfj.mjs +0 -1
  493. package/dist/chunks/asciicast-1.1.8-t2mar25c.mjs +0 -1
  494. package/dist/chunks/assistant-1.1.8-t54n390j.mjs +0 -1
  495. package/dist/chunks/auth-1.1.8-pv29fraf.mjs +0 -1
  496. package/dist/chunks/auth-1.1.8-qm8h71j7.mjs +0 -1
  497. package/dist/chunks/autoMode-1.1.8-ahgyhzep.mjs +0 -48
  498. package/dist/chunks/autoUpdater-1.1.8-sdsx7fz9.mjs +0 -1
  499. package/dist/chunks/backgroundHousekeeping-1.1.8-b37pdha5.mjs +0 -1
  500. package/dist/chunks/branch-1.1.8-2emyy03d.mjs +0 -4
  501. package/dist/chunks/bridge-1.1.8-dkk2n1jt.mjs +0 -2
  502. package/dist/chunks/bridgeConfig-1.1.8-bv7zrzb6.mjs +0 -1
  503. package/dist/chunks/bridgeEnabled-1.1.8-z1sv63ct.mjs +0 -1
  504. package/dist/chunks/bridgeMain-1.1.8-rqp8q7sc.mjs +0 -88
  505. package/dist/chunks/bridgePointer-1.1.8-5hg7c4c6.mjs +0 -1
  506. package/dist/chunks/btw-1.1.8-td5e11qz.mjs +0 -1
  507. package/dist/chunks/buddy-1.1.8-jmk0bgcs.mjs +0 -3
  508. package/dist/chunks/cacache-1.1.8-qzw8r9my.mjs +0 -1
  509. package/dist/chunks/cache-probe-1.1.8-889g7w4k.mjs +0 -21
  510. package/dist/chunks/cacheStats-1.1.8-nzgv89d1.mjs +0 -4
  511. package/dist/chunks/caches-1.1.8-f09m1b12.mjs +0 -1
  512. package/dist/chunks/claudeDesktop-1.1.8-2rww6nv3.mjs +0 -1
  513. package/dist/chunks/claudemd-1.1.8-wygkqnb3.mjs +0 -1
  514. package/dist/chunks/clear-1.1.8-71j589cf.mjs +0 -1
  515. package/dist/chunks/clearTerminal-1.1.8-5j0t6dtd.mjs +0 -1
  516. package/dist/chunks/cli-1.1.8-05yz3n3m.mjs +0 -2
  517. package/dist/chunks/cli-1.1.8-0fqp4nd4.mjs +0 -2
  518. package/dist/chunks/cli-1.1.8-0pb52yqp.mjs +0 -6
  519. package/dist/chunks/cli-1.1.8-0vkk8zhj.mjs +0 -2
  520. package/dist/chunks/cli-1.1.8-0xw30z19.mjs +0 -2
  521. package/dist/chunks/cli-1.1.8-125zncm7.mjs +0 -2
  522. package/dist/chunks/cli-1.1.8-12gxg7dk.mjs +0 -3
  523. package/dist/chunks/cli-1.1.8-15q52swp.mjs +0 -2
  524. package/dist/chunks/cli-1.1.8-1as5wwed.mjs +0 -2
  525. package/dist/chunks/cli-1.1.8-1at0q43h.mjs +0 -2
  526. package/dist/chunks/cli-1.1.8-1e4hz1dh.mjs +0 -4
  527. package/dist/chunks/cli-1.1.8-1m910jhy.mjs +0 -2
  528. package/dist/chunks/cli-1.1.8-205c5ayn.mjs +0 -45
  529. package/dist/chunks/cli-1.1.8-20fqtbb0.mjs +0 -2
  530. package/dist/chunks/cli-1.1.8-231ktrsd.mjs +0 -2
  531. package/dist/chunks/cli-1.1.8-2afqpefw.mjs +0 -2
  532. package/dist/chunks/cli-1.1.8-2nq1cm30.mjs +0 -39
  533. package/dist/chunks/cli-1.1.8-2q9w1hnc.mjs +0 -2
  534. package/dist/chunks/cli-1.1.8-2smp07zs.mjs +0 -2
  535. package/dist/chunks/cli-1.1.8-2vsq8a0w.mjs +0 -2
  536. package/dist/chunks/cli-1.1.8-2zp9e9zh.mjs +0 -2
  537. package/dist/chunks/cli-1.1.8-30zhxwg9.mjs +0 -16
  538. package/dist/chunks/cli-1.1.8-35pzh2ts.mjs +0 -2
  539. package/dist/chunks/cli-1.1.8-38vrxm77.mjs +0 -3
  540. package/dist/chunks/cli-1.1.8-3btvsdx3.mjs +0 -2
  541. package/dist/chunks/cli-1.1.8-3j80fvcv.mjs +0 -2
  542. package/dist/chunks/cli-1.1.8-3tazs3h1.mjs +0 -2
  543. package/dist/chunks/cli-1.1.8-462maymv.mjs +0 -2
  544. package/dist/chunks/cli-1.1.8-49wtksqb.mjs +0 -2
  545. package/dist/chunks/cli-1.1.8-4cgcvt3g.mjs +0 -15
  546. package/dist/chunks/cli-1.1.8-4cvb8vj8.mjs +0 -2
  547. package/dist/chunks/cli-1.1.8-5862s9mq.mjs +0 -9
  548. package/dist/chunks/cli-1.1.8-59r0krp6.mjs +0 -4
  549. package/dist/chunks/cli-1.1.8-5e3xx9db.mjs +0 -8
  550. package/dist/chunks/cli-1.1.8-5s0ctz15.mjs +0 -25
  551. package/dist/chunks/cli-1.1.8-6118xjzf.mjs +0 -2
  552. package/dist/chunks/cli-1.1.8-61d813en.mjs +0 -2
  553. package/dist/chunks/cli-1.1.8-656pm2np.mjs +0 -2
  554. package/dist/chunks/cli-1.1.8-67d0fesx.mjs +0 -18
  555. package/dist/chunks/cli-1.1.8-6kg3tp3t.mjs +0 -2
  556. package/dist/chunks/cli-1.1.8-6t8wtnyz.mjs +0 -15
  557. package/dist/chunks/cli-1.1.8-6w5tvkaj.mjs +0 -2
  558. package/dist/chunks/cli-1.1.8-74586mpw.mjs +0 -9
  559. package/dist/chunks/cli-1.1.8-7536y3yr.mjs +0 -3
  560. package/dist/chunks/cli-1.1.8-7e1cxc2r.mjs +0 -2
  561. package/dist/chunks/cli-1.1.8-7ghn9sgt.mjs +0 -2
  562. package/dist/chunks/cli-1.1.8-7gv7j9wf.mjs +0 -2
  563. package/dist/chunks/cli-1.1.8-7j6ztazy.mjs +0 -2
  564. package/dist/chunks/cli-1.1.8-7kf0prpp.mjs +0 -2
  565. package/dist/chunks/cli-1.1.8-7mtk34ry.mjs +0 -4
  566. package/dist/chunks/cli-1.1.8-7sft4tp3.mjs +0 -2
  567. package/dist/chunks/cli-1.1.8-85hnxfzw.mjs +0 -2
  568. package/dist/chunks/cli-1.1.8-8ethv98x.mjs +0 -3
  569. package/dist/chunks/cli-1.1.8-8gj0g1hd.mjs +0 -2
  570. package/dist/chunks/cli-1.1.8-8x1wf6wg.mjs +0 -59
  571. package/dist/chunks/cli-1.1.8-8xe9c3tx.mjs +0 -2
  572. package/dist/chunks/cli-1.1.8-8zf4nnw6.mjs +0 -15
  573. package/dist/chunks/cli-1.1.8-98pq375b.mjs +0 -2
  574. package/dist/chunks/cli-1.1.8-9bx144d4.mjs +0 -2
  575. package/dist/chunks/cli-1.1.8-9d0730ff.mjs +0 -3
  576. package/dist/chunks/cli-1.1.8-9egsv8kb.mjs +0 -2
  577. package/dist/chunks/cli-1.1.8-9mr8erq2.mjs +0 -2
  578. package/dist/chunks/cli-1.1.8-9nnn67wx.mjs +0 -2
  579. package/dist/chunks/cli-1.1.8-9yhtna2t.mjs +0 -2
  580. package/dist/chunks/cli-1.1.8-a1qac4fc.mjs +0 -3
  581. package/dist/chunks/cli-1.1.8-a3etddaa.mjs +0 -2
  582. package/dist/chunks/cli-1.1.8-a3w8yas2.mjs +0 -24
  583. package/dist/chunks/cli-1.1.8-a52qejcb.mjs +0 -20
  584. package/dist/chunks/cli-1.1.8-akxxvxcg.mjs +0 -2
  585. package/dist/chunks/cli-1.1.8-arxr9t30.mjs +0 -2
  586. package/dist/chunks/cli-1.1.8-b46m1pa5.mjs +0 -2
  587. package/dist/chunks/cli-1.1.8-bdesaqqn.mjs +0 -2
  588. package/dist/chunks/cli-1.1.8-bf0h6s2a.mjs +0 -2
  589. package/dist/chunks/cli-1.1.8-bh494psb.mjs +0 -6
  590. package/dist/chunks/cli-1.1.8-bxbg70bf.mjs +0 -2
  591. package/dist/chunks/cli-1.1.8-bzs61r0e.mjs +0 -2
  592. package/dist/chunks/cli-1.1.8-c0knk34t.mjs +0 -2
  593. package/dist/chunks/cli-1.1.8-c3rz4cxf.mjs +0 -2
  594. package/dist/chunks/cli-1.1.8-c4xc2d6s.mjs +0 -2
  595. package/dist/chunks/cli-1.1.8-cpgd4r16.mjs +0 -2
  596. package/dist/chunks/cli-1.1.8-czskf284.mjs +0 -2
  597. package/dist/chunks/cli-1.1.8-d092mrgm.mjs +0 -2
  598. package/dist/chunks/cli-1.1.8-d2gfswc3.mjs +0 -2
  599. package/dist/chunks/cli-1.1.8-d3s7xdkk.mjs +0 -2
  600. package/dist/chunks/cli-1.1.8-d4878nn2.mjs +0 -2
  601. package/dist/chunks/cli-1.1.8-d5afbx68.mjs +0 -6
  602. package/dist/chunks/cli-1.1.8-db100c4h.mjs +0 -202
  603. package/dist/chunks/cli-1.1.8-dgbh9n27.mjs +0 -6
  604. package/dist/chunks/cli-1.1.8-dv1edxg1.mjs +0 -4
  605. package/dist/chunks/cli-1.1.8-e1by1s5j.mjs +0 -2
  606. package/dist/chunks/cli-1.1.8-e3ev48gp.mjs +0 -2
  607. package/dist/chunks/cli-1.1.8-edw6k2f7.mjs +0 -2
  608. package/dist/chunks/cli-1.1.8-ee9qyzkj.mjs +0 -2
  609. package/dist/chunks/cli-1.1.8-efjw6x2m.mjs +0 -2
  610. package/dist/chunks/cli-1.1.8-ekmm2znm.mjs +0 -2
  611. package/dist/chunks/cli-1.1.8-epqqq77y.mjs +0 -1
  612. package/dist/chunks/cli-1.1.8-ernbjcgb.mjs +0 -2
  613. package/dist/chunks/cli-1.1.8-evk4j7cq.mjs +0 -2
  614. package/dist/chunks/cli-1.1.8-f0kaq070.mjs +0 -2
  615. package/dist/chunks/cli-1.1.8-f2gv8js5.mjs +0 -2
  616. package/dist/chunks/cli-1.1.8-f75mhnpd.mjs +0 -17
  617. package/dist/chunks/cli-1.1.8-fd4rat7s.mjs +0 -2
  618. package/dist/chunks/cli-1.1.8-ffx8vwwt.mjs +0 -3
  619. package/dist/chunks/cli-1.1.8-fgw4h53q.mjs +0 -2
  620. package/dist/chunks/cli-1.1.8-fqgcppxc.mjs +0 -2
  621. package/dist/chunks/cli-1.1.8-g0t0qtsv.mjs +0 -12
  622. package/dist/chunks/cli-1.1.8-g8sjkk8z.mjs +0 -7
  623. package/dist/chunks/cli-1.1.8-gf6w1neb.mjs +0 -2
  624. package/dist/chunks/cli-1.1.8-gfzzaejq.mjs +0 -2
  625. package/dist/chunks/cli-1.1.8-gqqjkrq0.mjs +0 -4
  626. package/dist/chunks/cli-1.1.8-gtw37r6f.mjs +0 -2
  627. package/dist/chunks/cli-1.1.8-gvkpq2k1.mjs +0 -26
  628. package/dist/chunks/cli-1.1.8-h5zqw021.mjs +0 -2
  629. package/dist/chunks/cli-1.1.8-hws56n0s.mjs +0 -2
  630. package/dist/chunks/cli-1.1.8-hzkgx15v.mjs +0 -3
  631. package/dist/chunks/cli-1.1.8-j2mvpcgh.mjs +0 -2
  632. package/dist/chunks/cli-1.1.8-jk6kcgkf.mjs +0 -4
  633. package/dist/chunks/cli-1.1.8-jkp8ynyx.mjs +0 -2
  634. package/dist/chunks/cli-1.1.8-jmp76vj2.mjs +0 -2
  635. package/dist/chunks/cli-1.1.8-jtxcccqb.mjs +0 -2
  636. package/dist/chunks/cli-1.1.8-jv4y43ct.mjs +0 -2
  637. package/dist/chunks/cli-1.1.8-jzk8xgkw.mjs +0 -2
  638. package/dist/chunks/cli-1.1.8-k0wdtx54.mjs +0 -2
  639. package/dist/chunks/cli-1.1.8-k2q3jd4x.mjs +0 -2
  640. package/dist/chunks/cli-1.1.8-k3jmtdxb.mjs +0 -2
  641. package/dist/chunks/cli-1.1.8-k4q05xpp.mjs +0 -4
  642. package/dist/chunks/cli-1.1.8-k6xa7zcq.mjs +0 -2
  643. package/dist/chunks/cli-1.1.8-k878kyye.mjs +0 -2
  644. package/dist/chunks/cli-1.1.8-kgq0wj8c.mjs +0 -2
  645. package/dist/chunks/cli-1.1.8-kkzcmrxs.mjs +0 -2
  646. package/dist/chunks/cli-1.1.8-knfkgncm.mjs +0 -5721
  647. package/dist/chunks/cli-1.1.8-mayxghnz.mjs +0 -2
  648. package/dist/chunks/cli-1.1.8-mdybbj2p.mjs +0 -133
  649. package/dist/chunks/cli-1.1.8-mgz0nyed.mjs +0 -50
  650. package/dist/chunks/cli-1.1.8-mhv5xrf1.mjs +0 -4
  651. package/dist/chunks/cli-1.1.8-mkzsens1.mjs +0 -4
  652. package/dist/chunks/cli-1.1.8-mq7t5jca.mjs +0 -3
  653. package/dist/chunks/cli-1.1.8-mza3p36d.mjs +0 -2
  654. package/dist/chunks/cli-1.1.8-n14gnq6x.mjs +0 -42
  655. package/dist/chunks/cli-1.1.8-n5d4px5z.mjs +0 -2
  656. package/dist/chunks/cli-1.1.8-nh485h9b.mjs +0 -2
  657. package/dist/chunks/cli-1.1.8-nrr32j4a.mjs +0 -2
  658. package/dist/chunks/cli-1.1.8-nt403561.mjs +0 -2
  659. package/dist/chunks/cli-1.1.8-nv123ysj.mjs +0 -5
  660. package/dist/chunks/cli-1.1.8-nv181dzv.mjs +0 -2
  661. package/dist/chunks/cli-1.1.8-nv79qg54.mjs +0 -2
  662. package/dist/chunks/cli-1.1.8-nvt7cbzg.mjs +0 -2
  663. package/dist/chunks/cli-1.1.8-nx84ctb0.mjs +0 -2
  664. package/dist/chunks/cli-1.1.8-nzs4skf4.mjs +0 -2
  665. package/dist/chunks/cli-1.1.8-p3fzx1sj.mjs +0 -24
  666. package/dist/chunks/cli-1.1.8-p6bd42xj.mjs +0 -2
  667. package/dist/chunks/cli-1.1.8-pwdb2y2v.mjs +0 -2
  668. package/dist/chunks/cli-1.1.8-px4ph853.mjs +0 -6
  669. package/dist/chunks/cli-1.1.8-q6c1w0dw.mjs +0 -2
  670. package/dist/chunks/cli-1.1.8-qcyhp9k8.mjs +0 -3
  671. package/dist/chunks/cli-1.1.8-qgweycgj.mjs +0 -6
  672. package/dist/chunks/cli-1.1.8-qgzhmw5w.mjs +0 -2
  673. package/dist/chunks/cli-1.1.8-qpqcr4wt.mjs +0 -2
  674. package/dist/chunks/cli-1.1.8-r9vd968y.mjs +0 -2
  675. package/dist/chunks/cli-1.1.8-rk2akmnh.mjs +0 -67
  676. package/dist/chunks/cli-1.1.8-rk40pf8s.mjs +0 -2
  677. package/dist/chunks/cli-1.1.8-rkw1dz9x.mjs +0 -2
  678. package/dist/chunks/cli-1.1.8-rqqgbjy2.mjs +0 -133
  679. package/dist/chunks/cli-1.1.8-sc8428te.mjs +0 -12
  680. package/dist/chunks/cli-1.1.8-sw7sne7p.mjs +0 -25
  681. package/dist/chunks/cli-1.1.8-sxkrzwwg.mjs +0 -18
  682. package/dist/chunks/cli-1.1.8-sxmsdz7p.mjs +0 -2
  683. package/dist/chunks/cli-1.1.8-syhhv2xq.mjs +0 -21
  684. package/dist/chunks/cli-1.1.8-syttwgv4.mjs +0 -3
  685. package/dist/chunks/cli-1.1.8-t1a3d6s9.mjs +0 -2
  686. package/dist/chunks/cli-1.1.8-t4hx0et2.mjs +0 -2
  687. package/dist/chunks/cli-1.1.8-t62hkyhg.mjs +0 -2
  688. package/dist/chunks/cli-1.1.8-t8xxt1pf.mjs +0 -2
  689. package/dist/chunks/cli-1.1.8-t93r8p95.mjs +0 -4
  690. package/dist/chunks/cli-1.1.8-t9cqvdhd.mjs +0 -2
  691. package/dist/chunks/cli-1.1.8-ta0zzaw5.mjs +0 -17
  692. package/dist/chunks/cli-1.1.8-tf20w2jn.mjs +0 -2
  693. package/dist/chunks/cli-1.1.8-tw2q1gej.mjs +0 -2
  694. package/dist/chunks/cli-1.1.8-tx519hkn.mjs +0 -2
  695. package/dist/chunks/cli-1.1.8-v8hp2y41.mjs +0 -2
  696. package/dist/chunks/cli-1.1.8-vqpn0kq9.mjs +0 -2
  697. package/dist/chunks/cli-1.1.8-vrszw55m.mjs +0 -2
  698. package/dist/chunks/cli-1.1.8-vw9jfqt2.mjs +0 -2
  699. package/dist/chunks/cli-1.1.8-w1ktcdzx.mjs +0 -34
  700. package/dist/chunks/cli-1.1.8-w2e3c7g6.mjs +0 -2
  701. package/dist/chunks/cli-1.1.8-w99f42k9.mjs +0 -3
  702. package/dist/chunks/cli-1.1.8-w9h3mvb4.mjs +0 -2
  703. package/dist/chunks/cli-1.1.8-w9tz8aaw.mjs +0 -2
  704. package/dist/chunks/cli-1.1.8-wdfxmkc7.mjs +0 -2
  705. package/dist/chunks/cli-1.1.8-wew0nf1q.mjs +0 -12
  706. package/dist/chunks/cli-1.1.8-wkyr3v6g.mjs +0 -24
  707. package/dist/chunks/cli-1.1.8-x05h2zp4.mjs +0 -2
  708. package/dist/chunks/cli-1.1.8-x3vk9h1m.mjs +0 -24
  709. package/dist/chunks/cli-1.1.8-x9e1306p.mjs +0 -2
  710. package/dist/chunks/cli-1.1.8-xa445fak.mjs +0 -2
  711. package/dist/chunks/cli-1.1.8-xmcyv92d.mjs +0 -2
  712. package/dist/chunks/cli-1.1.8-xqdr42wv.mjs +0 -2
  713. package/dist/chunks/cli-1.1.8-xzb74dgc.mjs +0 -58
  714. package/dist/chunks/cli-1.1.8-y3tr91m8.mjs +0 -2
  715. package/dist/chunks/cli-1.1.8-y50med5h.mjs +0 -4
  716. package/dist/chunks/cli-1.1.8-yjmxxj4y.mjs +0 -2
  717. package/dist/chunks/cli-1.1.8-yptj5mm3.mjs +0 -2
  718. package/dist/chunks/cli-1.1.8-yv4mw1z8.mjs +0 -2
  719. package/dist/chunks/cli-1.1.8-yx9yzca1.mjs +0 -5
  720. package/dist/chunks/cli-1.1.8-yzrpw572.mjs +0 -2
  721. package/dist/chunks/cli-1.1.8-zav01h3c.mjs +0 -2
  722. package/dist/chunks/cli-1.1.8-zc2wv1d7.mjs +0 -2
  723. package/dist/chunks/cli-1.1.8-zcrckt5v.mjs +0 -2
  724. package/dist/chunks/cli-1.1.8-zfx1k21c.mjs +0 -2
  725. package/dist/chunks/client-1.1.8-h43htzv0.mjs +0 -1
  726. package/dist/chunks/color-1.1.8-zdg5fqma.mjs +0 -1
  727. package/dist/chunks/compact-1.1.8-1af2hhhd.mjs +0 -3
  728. package/dist/chunks/config-1.1.8-bs3j0bh7.mjs +0 -1
  729. package/dist/chunks/config-1.1.8-mwcwa3ha.mjs +0 -1
  730. package/dist/chunks/constants-1.1.8-6qsgmarg.mjs +0 -1
  731. package/dist/chunks/context-1.1.8-y2smmd8y.mjs +0 -1
  732. package/dist/chunks/context-noninteractive-1.1.8-7m4c952c.mjs +0 -1
  733. package/dist/chunks/conversation-1.1.8-2hmabtxd.mjs +0 -1
  734. package/dist/chunks/copilotHeaders-1.1.8-nh4ys57g.mjs +0 -1
  735. package/dist/chunks/copy-1.1.8-vxmgrtv3.mjs +0 -9
  736. package/dist/chunks/cost-1.1.8-70bsspf5.mjs +0 -1
  737. package/dist/chunks/createSSHSession-1.1.8-4axzt4k5.mjs +0 -1
  738. package/dist/chunks/createSession-1.1.8-c1fbb9pm.mjs +0 -1
  739. package/dist/chunks/debug-1.1.8-02x6g655.mjs +0 -1
  740. package/dist/chunks/defaultActionDeps-1.1.8-a1dxrpdz.mjs +0 -1446
  741. package/dist/chunks/desktop-1.1.8-tdtzcad0.mjs +0 -1
  742. package/dist/chunks/detectRepository-1.1.8-6h2qfjfb.mjs +0 -1
  743. package/dist/chunks/detection-1.1.8-mwwyzmcq.mjs +0 -1
  744. package/dist/chunks/diff-1.1.8-dcm7epcs.mjs +0 -1
  745. package/dist/chunks/doctor-1.1.8-a29dgfa8.mjs +0 -1
  746. package/dist/chunks/doctorDiagnostic-1.1.8-njzmwvmq.mjs +0 -1
  747. package/dist/chunks/earlyInput-1.1.8-7genxy96.mjs +0 -1
  748. package/dist/chunks/effort-1.1.8-y36797j4.mjs +0 -13
  749. package/dist/chunks/engine-1.1.8-fqyd5m01.mjs +0 -1
  750. package/dist/chunks/envLessBridgeConfig-1.1.8-ef7qwkd5.mjs +0 -1
  751. package/dist/chunks/envUtils-1.1.8-99wqsc2g.mjs +0 -1
  752. package/dist/chunks/environmentSelection-1.1.8-cc9g8r4w.mjs +0 -1
  753. package/dist/chunks/environments-1.1.8-hw1xqjcd.mjs +0 -1
  754. package/dist/chunks/errors-1.1.8-1493t2ga.mjs +0 -1
  755. package/dist/chunks/exampleCommands-1.1.8-zdxcd2qw.mjs +0 -1
  756. package/dist/chunks/execFileNoThrow-1.1.8-ntrztjxv.mjs +0 -1
  757. package/dist/chunks/exit-1.1.8-hg0x8rb4.mjs +0 -1
  758. package/dist/chunks/explorer-1.1.8-45jxm6r3.mjs +0 -1
  759. package/dist/chunks/export-1.1.8-tjbc3yps.mjs +0 -2
  760. package/dist/chunks/extra-usage-1.1.8-m07zw7z7.mjs +0 -1
  761. package/dist/chunks/extra-usage-noninteractive-1.1.8-x0nk6gpq.mjs +0 -1
  762. package/dist/chunks/fast-1.1.8-16bcey2v.mjs +0 -1
  763. package/dist/chunks/feedback-1.1.8-ybfs6p31.mjs +0 -14
  764. package/dist/chunks/firstPartyEventLogger-1.1.8-0a07kg5a.mjs +0 -1
  765. package/dist/chunks/git-1.1.8-yhtjgapj.mjs +0 -1
  766. package/dist/chunks/githubModelsCredentials-1.1.8-8m2kfpj0.mjs +0 -1
  767. package/dist/chunks/goal-1.1.8-m18wqymf.mjs +0 -4
  768. package/dist/chunks/grove-1.1.8-hq8trmvx.mjs +0 -1
  769. package/dist/chunks/growthbook-1.1.8-jnc5s1gr.mjs +0 -1
  770. package/dist/chunks/headless-1.1.8-g6y7x6p5.mjs +0 -2
  771. package/dist/chunks/heapdump-1.1.8-bdd4tbc4.mjs +0 -6
  772. package/dist/chunks/help-1.1.8-adn9yj5b.mjs +0 -1
  773. package/dist/chunks/hookChains-1.1.8-jvx26rvp.mjs +0 -3
  774. package/dist/chunks/hooks-1.1.8-10bepv2t.mjs +0 -79
  775. package/dist/chunks/hooks-1.1.8-wxrar4bk.mjs +0 -1
  776. package/dist/chunks/ide-1.1.8-e1kgf08v.mjs +0 -3
  777. package/dist/chunks/image-processor-napi-1.1.8-7qq6cd9d.mjs +0 -1
  778. package/dist/chunks/inboundAttachments-1.1.8-tmvsb72y.mjs +0 -1
  779. package/dist/chunks/index-1.1.8-075w4nhz.mjs +0 -9
  780. package/dist/chunks/index-1.1.8-0hkas4xw.mjs +0 -1
  781. package/dist/chunks/index-1.1.8-0vs7xmac.mjs +0 -30
  782. package/dist/chunks/index-1.1.8-15y0r0yw.mjs +0 -1
  783. package/dist/chunks/index-1.1.8-26b73x3g.mjs +0 -2
  784. package/dist/chunks/index-1.1.8-4etv37ta.mjs +0 -1
  785. package/dist/chunks/index-1.1.8-6p8c8t6k.mjs +0 -1
  786. package/dist/chunks/index-1.1.8-7ykg7nw4.mjs +0 -1
  787. package/dist/chunks/index-1.1.8-8t0g6s4j.mjs +0 -1
  788. package/dist/chunks/index-1.1.8-cgcvj82j.mjs +0 -23
  789. package/dist/chunks/index-1.1.8-cm3fqyj1.mjs +0 -1
  790. package/dist/chunks/index-1.1.8-cpf2mfhc.mjs +0 -1
  791. package/dist/chunks/index-1.1.8-f3qfkewa.mjs +0 -1
  792. package/dist/chunks/index-1.1.8-gyhxyh37.mjs +0 -1
  793. package/dist/chunks/index-1.1.8-hyz5kb4e.mjs +0 -1
  794. package/dist/chunks/index-1.1.8-k0eafjj9.mjs +0 -1
  795. package/dist/chunks/index-1.1.8-qhk5dps0.mjs +0 -9
  796. package/dist/chunks/index-1.1.8-rcyqt694.mjs +0 -1
  797. package/dist/chunks/index-1.1.8-sv9wq8vm.mjs +0 -1
  798. package/dist/chunks/index-1.1.8-tz0fvmye.mjs +0 -5
  799. package/dist/chunks/index-1.1.8-vaqk09sc.mjs +0 -1
  800. package/dist/chunks/index-1.1.8-vd2csf3e.mjs +0 -2
  801. package/dist/chunks/index-1.1.8-y6bn96fs.mjs +0 -1
  802. package/dist/chunks/init-1.1.8-e7kkbgzq.mjs +0 -1
  803. package/dist/chunks/initReplBridge-1.1.8-0cctke88.mjs +0 -1
  804. package/dist/chunks/ink-1.1.8-20q0h10k.mjs +0 -1
  805. package/dist/chunks/insights-1.1.8-e9hjnmbn.mjs +0 -870
  806. package/dist/chunks/install-1.1.8-fnb2k88m.mjs +0 -1
  807. package/dist/chunks/install-github-app-1.1.8-dgabwyh1.mjs +0 -149
  808. package/dist/chunks/install-slack-app-1.1.8-2vh4newn.mjs +0 -1
  809. package/dist/chunks/instrumentation-1.1.8-kth6vzt4.mjs +0 -1
  810. package/dist/chunks/interactiveHelpers-1.1.8-3g33kfsm.mjs +0 -1
  811. package/dist/chunks/keybindings-1.1.8-c69hmddw.mjs +0 -2
  812. package/dist/chunks/knowledge-1.1.8-sngea3j8.mjs +0 -2
  813. package/dist/chunks/latestVersionCache-1.1.8-1srnp86b.mjs +0 -1
  814. package/dist/chunks/loadAgentsDir-1.1.8-wmvpm36a.mjs +0 -1
  815. package/dist/chunks/loadPluginHooks-1.1.8-9hrrn6b1.mjs +0 -1
  816. package/dist/chunks/loadPluginHooks-1.1.8-ae5zxvnn.mjs +0 -1
  817. package/dist/chunks/log-1.1.8-2wvsfegd.mjs +0 -1
  818. package/dist/chunks/main-1.1.8-53c8p1hf.mjs +0 -1
  819. package/dist/chunks/managedEnv-1.1.8-3qxf1b2m.mjs +0 -1
  820. package/dist/chunks/mcp-1.1.8-12tszewv.mjs +0 -4
  821. package/dist/chunks/mcp-1.1.8-2yw2qynw.mjs +0 -1
  822. package/dist/chunks/mcp-1.1.8-awep4hb5.mjs +0 -17
  823. package/dist/chunks/mcpb-1.1.8-14gyeqdt.mjs +0 -1
  824. package/dist/chunks/memory-1.1.8-v7hbdb18.mjs +0 -72
  825. package/dist/chunks/model-1.1.8-70r35ayh.mjs +0 -2
  826. package/dist/chunks/model-1.1.8-wncbw1nv.mjs +0 -1
  827. package/dist/chunks/node-1.1.8-0bpza0gv.mjs +0 -12
  828. package/dist/chunks/oauth-1.1.8-1zj1geby.mjs +0 -1
  829. package/dist/chunks/openaiShim-1.1.8-eaxqv9jn.mjs +0 -14
  830. package/dist/chunks/output-style-1.1.8-v8kk4mmm.mjs +0 -1
  831. package/dist/chunks/package-L37ZVTF4-1.1.8-f4krrwjg.mjs +0 -1
  832. package/dist/chunks/parseConnectUrl-1.1.8-tns55hj7.mjs +0 -1
  833. package/dist/chunks/parser-1.1.8-y6rm14pk.mjs +0 -1
  834. package/dist/chunks/passes-1.1.8-hyd8bv5h.mjs +0 -1
  835. package/dist/chunks/permissions-1.1.8-e32fqvvk.mjs +0 -3
  836. package/dist/chunks/permissions-1.1.8-j0scmex7.mjs +0 -1
  837. package/dist/chunks/plan-1.1.8-1csevcqv.mjs +0 -1
  838. package/dist/chunks/plist-1.1.8-47419hwn.mjs +0 -1
  839. package/dist/chunks/plugin-1.1.8-xcj7jz75.mjs +0 -29
  840. package/dist/chunks/pluginStartupCheck-1.1.8-hqbc3c4d.mjs +0 -1
  841. package/dist/chunks/plugins-1.1.8-nrra8gx1.mjs +0 -9
  842. package/dist/chunks/preActionHook-1.1.8-2fgj7c0d.mjs +0 -2
  843. package/dist/chunks/print-1.1.8-3qy5nfzr.mjs +0 -57
  844. package/dist/chunks/privacy-settings-1.1.8-zsp6fsh1.mjs +0 -1
  845. package/dist/chunks/process-1.1.8-t92an9g0.mjs +0 -1
  846. package/dist/chunks/processBashCommand-1.1.8-5j7f3zj5.mjs +0 -1
  847. package/dist/chunks/processSlashCommand-1.1.8-97yy5hpk.mjs +0 -9
  848. package/dist/chunks/prompt-1.1.8-mges4wt5.mjs +0 -1
  849. package/dist/chunks/prompt-1.1.8-tfg4jhbt.mjs +0 -1
  850. package/dist/chunks/prompts-1.1.8-q1wrrwdr.mjs +0 -1
  851. package/dist/chunks/protocolHandler-1.1.8-ymb7yfxx.mjs +0 -13
  852. package/dist/chunks/provider-1.1.8-j317q85s.mjs +0 -2
  853. package/dist/chunks/providerProfiles-1.1.8-f2symnwy.mjs +0 -1
  854. package/dist/chunks/providerValidation-1.1.8-k2r5q4vk.mjs +0 -6
  855. package/dist/chunks/rate-limit-options-1.1.8-8chtnkxk.mjs +0 -1
  856. package/dist/chunks/registerSubcommands-1.1.8-9wd8cb3g.mjs +0 -34
  857. package/dist/chunks/registry-1.1.8-d06az15f.mjs +0 -1
  858. package/dist/chunks/release-notes-1.1.8-rmg47yy1.mjs +0 -5
  859. package/dist/chunks/reload-plugins-1.1.8-wej3bnvx.mjs +0 -2
  860. package/dist/chunks/remote-env-1.1.8-bht3nad5.mjs +0 -1
  861. package/dist/chunks/remoteBridgeCore-1.1.8-j57ggr86.mjs +0 -1
  862. package/dist/chunks/remoteSession-1.1.8-rmrphzwh.mjs +0 -1
  863. package/dist/chunks/rename-1.1.8-t9s0vyfm.mjs +0 -1
  864. package/dist/chunks/replBridgeHandle-1.1.8-0hp49nj3.mjs +0 -1
  865. package/dist/chunks/replLauncher-1.1.8-vw8ysvak.mjs +0 -1
  866. package/dist/chunks/resume-1.1.8-g13vfwpe.mjs +0 -2
  867. package/dist/chunks/rewind-1.1.8-k2bp0x9p.mjs +0 -1
  868. package/dist/chunks/rootOptions-1.1.8-jjagdnm4.mjs +0 -1
  869. package/dist/chunks/runWorkflowHeadless-1.1.8-szat8e81.mjs +0 -10
  870. package/dist/chunks/sandbox-adapter-1.1.8-gcn8vt8z.mjs +0 -1
  871. package/dist/chunks/sandbox-toggle-1.1.8-9k1xg4b5.mjs +0 -1
  872. package/dist/chunks/session-1.1.8-09hwr9j5.mjs +0 -2
  873. package/dist/chunks/sessionDiscovery-1.1.8-f8mhpp1n.mjs +0 -1
  874. package/dist/chunks/sessionFileAccessHooks-1.1.8-bahxxqhe.mjs +0 -1
  875. package/dist/chunks/sessionStorage-1.1.8-hjk3adja.mjs +0 -1
  876. package/dist/chunks/settings-1.1.8-5vc7cx5w.mjs +0 -1
  877. package/dist/chunks/setup-1.1.8-trp83ayz.mjs +0 -5
  878. package/dist/chunks/sinks-1.1.8-mwbk48v4.mjs +0 -1
  879. package/dist/chunks/skills-1.1.8-danp83p4.mjs +0 -1
  880. package/dist/chunks/startupProfiler-1.1.8-02jr5z55.mjs +0 -1
  881. package/dist/chunks/startupUpdateCheck-1.1.8-69wzwvc1.mjs +0 -1
  882. package/dist/chunks/state-1.1.8-nsdn5anj.mjs +0 -1
  883. package/dist/chunks/stats-1.1.8-t5pza2rr.mjs +0 -6
  884. package/dist/chunks/status-1.1.8-68h5gqvx.mjs +0 -1
  885. package/dist/chunks/stickers-1.1.8-0h3kkr20.mjs +0 -1
  886. package/dist/chunks/subprocessEnv-1.1.8-kabvqrxh.mjs +0 -1
  887. package/dist/chunks/tasks-1.1.8-zepre4hr.mjs +0 -1
  888. package/dist/chunks/teamHelpers-1.1.8-fcp2jsnp.mjs +0 -1
  889. package/dist/chunks/teammateModeSnapshot-1.1.8-qvmhwh7w.mjs +0 -1
  890. package/dist/chunks/teleport-1.1.8-7wdmygej.mjs +0 -1
  891. package/dist/chunks/terminalSetup-1.1.8-p7bj9pmp.mjs +0 -1
  892. package/dist/chunks/theme-1.1.8-3szcwvrn.mjs +0 -1
  893. package/dist/chunks/thinkback-1.1.8-gap3zzg0.mjs +0 -1
  894. package/dist/chunks/thinkback-play-1.1.8-v89ne249.mjs +0 -1
  895. package/dist/chunks/toolPool-1.1.8-3vtrmmhc.mjs +0 -1
  896. package/dist/chunks/toolSearch-1.1.8-c86299rc.mjs +0 -1
  897. package/dist/chunks/tools-1.1.8-fgh8e1kf.mjs +0 -1
  898. package/dist/chunks/trustedDevice-1.1.8-nysjtcf4.mjs +0 -1
  899. package/dist/chunks/turndown.cjs-1.1.8-cqczbjvz.mjs +0 -69
  900. package/dist/chunks/types-1.1.8-paq7e73r.mjs +0 -1
  901. package/dist/chunks/ultrareviewCommand-1.1.8-3k0h42t7.mjs +0 -4
  902. package/dist/chunks/update-1.1.8-c8rb7gzn.mjs +0 -72
  903. package/dist/chunks/upgrade-1.1.8-nmgtg5re.mjs +0 -1
  904. package/dist/chunks/upload-1.1.8-bwrxfje4.mjs +0 -7
  905. package/dist/chunks/upstreamproxy-1.1.8-9n7d40g6.mjs +0 -14
  906. package/dist/chunks/url-handler-napi-1.1.8-zd3gsw0r.mjs +0 -1
  907. package/dist/chunks/usage-1.1.8-n15nggj5.mjs +0 -1
  908. package/dist/chunks/util-1.1.8-jz0kvsrr.mjs +0 -1
  909. package/dist/chunks/utils-1.1.8-zmtfqjk6.mjs +0 -1
  910. package/dist/chunks/vim-1.1.8-f0gtc89f.mjs +0 -1
  911. package/dist/chunks/watchLoop-1.1.8-rw3vn991.mjs +0 -13
  912. package/dist/chunks/watcher-1.1.8-jcxwjkvy.mjs +0 -1
  913. package/dist/chunks/wiki-1.1.8-e7rt9td4.mjs +0 -132
  914. package/dist/chunks/workflows-1.1.8-crtrj2rc.mjs +0 -1
  915. package/dist/chunks/worktree-1.1.8-50mfr61r.mjs +0 -1
  916. package/dist/chunks/worktreeModeEnabled-1.1.8-a7h96pt2.mjs +0 -1
  917. package/dist/chunks/wrapper-1.1.8-x1j8x6bc.mjs +0 -7
  918. /package/dist/chunks/{cli-1.1.8-n7gqm17w.mjs → cli-1.1.10-xkq6mdj6.mjs} +0 -0
@@ -0,0 +1,2 @@
1
+ import{V8 as f,Y7 as M,c5 as G,h5 as W,i5 as V,v8 as j}from"./cli-1.1.10-yzpymdrc.mjs";import{hea as x,iea as B,jaa as w,kaa as z,naa as Y}from"./cli-1.1.10-m0pdck7q.mjs";import{Aja as J,Ija as F}from"./cli-1.1.10-2wkvf65f.mjs";import{Ysa as Z}from"./cli-1.1.10-gmf5w0a4.mjs";function g(){q=void 0,w()}function p(){if(q!==void 0)return q;if(G()!=="firstParty")return q=z(!1);if(!W())return q=z(!1);if(x())return q=z(!1);if(process.env.CLAUDE_CODE_ENTRYPOINT==="local-agent")return q=z(!1);let Q=j();if(Q?.accessToken&&Q.subscriptionType===null)return q=z(!0);if(Q?.accessToken&&Q.scopes?.includes(J)&&(Q.subscriptionType==="enterprise"||Q.subscriptionType==="team"))return q=z(!0);try{let{key:$}=M({skipRetrievingKeyFromApiKeyHelper:!0});if($)return q=z(!0)}catch{}return q=z(!1)}var q;var X=Z(()=>{F();f();V();B();Y()});function S(Q){let $=Q.toUpperCase();return K.has($)||k.some((m)=>$.startsWith(m))}var K,k,y,I;var b=Z(()=>{K=new Set(["CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_VERTEX","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","ANTHROPIC_BASE_URL","ANTHROPIC_BEDROCK_BASE_URL","ANTHROPIC_VERTEX_BASE_URL","ANTHROPIC_FOUNDRY_BASE_URL","ANTHROPIC_FOUNDRY_RESOURCE","ANTHROPIC_VERTEX_PROJECT_ID","CLOUD_ML_REGION","ANTHROPIC_API_KEY","ANTHROPIC_AUTH_TOKEN","CLAUDE_CODE_OAUTH_TOKEN","AWS_BEARER_TOKEN_BEDROCK","ANTHROPIC_FOUNDRY_API_KEY","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","ANTHROPIC_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_SMALL_FAST_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","CLAUDE_CODE_SUBAGENT_MODEL"]),k=["VERTEX_REGION_CLAUDE_"];y=["apiKeyHelper","awsAuthRefresh","awsCredentialExport","gcpAuthRefresh","otelHeadersHelper","statusLine"],I=new Set(["ANTHROPIC_CUSTOM_HEADERS","ANTHROPIC_CUSTOM_MODEL_OPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_DESCRIPTION","ANTHROPIC_CUSTOM_MODEL_OPTION_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL","ANTHROPIC_DEFAULT_HAIKU_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_HAIKU_MODEL_NAME","ANTHROPIC_DEFAULT_HAIKU_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_OPUS_MODEL","ANTHROPIC_DEFAULT_OPUS_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_OPUS_MODEL_NAME","ANTHROPIC_DEFAULT_OPUS_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_DEFAULT_SONNET_MODEL","ANTHROPIC_DEFAULT_SONNET_MODEL_DESCRIPTION","ANTHROPIC_DEFAULT_SONNET_MODEL_NAME","ANTHROPIC_DEFAULT_SONNET_MODEL_SUPPORTED_CAPABILITIES","ANTHROPIC_MODEL","ANTHROPIC_SMALL_FAST_MODEL_AWS_REGION","ANTHROPIC_SMALL_FAST_MODEL","AWS_DEFAULT_REGION","AWS_PROFILE","AWS_REGION","BASH_DEFAULT_TIMEOUT_MS","BASH_MAX_OUTPUT_LENGTH","BASH_MAX_TIMEOUT_MS","CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR","CLAUDE_CODE_API_KEY_HELPER_TTL_MS","CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS","CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC","CLAUDE_CODE_DISABLE_TERMINAL_TITLE","CLAUDE_CODE_ENABLE_TELEMETRY","CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS","CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL","CLAUDE_CODE_MAX_OUTPUT_TOKENS","CLAUDE_CODE_SKIP_BEDROCK_AUTH","CLAUDE_CODE_SKIP_FOUNDRY_AUTH","CLAUDE_CODE_SKIP_VERTEX_AUTH","CLAUDE_CODE_SUBAGENT_MODEL","CLAUDE_CODE_USE_BEDROCK","CLAUDE_CODE_USE_FOUNDRY","CLAUDE_CODE_USE_GITHUB","CLAUDE_CODE_USE_VERTEX","DISABLE_AUTOUPDATER","DISABLE_BUG_COMMAND","DISABLE_COST_WARNINGS","DISABLE_ERROR_REPORTING","DISABLE_FEEDBACK_COMMAND","DISABLE_TELEMETRY","ENABLE_TOOL_SEARCH","MAX_MCP_OUTPUT_TOKENS","MAX_THINKING_TOKENS","MCP_TIMEOUT","MCP_TOOL_TIMEOUT","OTEL_EXPORTER_OTLP_HEADERS","OTEL_EXPORTER_OTLP_LOGS_HEADERS","OTEL_EXPORTER_OTLP_LOGS_PROTOCOL","OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE","OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY","OTEL_EXPORTER_OTLP_METRICS_HEADERS","OTEL_EXPORTER_OTLP_METRICS_PROTOCOL","OTEL_EXPORTER_OTLP_PROTOCOL","OTEL_EXPORTER_OTLP_TRACES_HEADERS","OTEL_LOG_TOOL_DETAILS","OTEL_LOG_USER_PROMPTS","OTEL_LOGS_EXPORT_INTERVAL","OTEL_LOGS_EXPORTER","OTEL_METRIC_EXPORT_INTERVAL","OTEL_METRICS_EXPORTER","OTEL_METRICS_INCLUDE_ACCOUNT_UUID","OTEL_METRICS_INCLUDE_SESSION_ID","OTEL_METRICS_INCLUDE_VERSION","OTEL_RESOURCE_ATTRIBUTES","USE_BUILTIN_RIPGREP","VERTEX_REGION_CLAUDE_3_5_HAIKU","VERTEX_REGION_CLAUDE_3_5_SONNET","VERTEX_REGION_CLAUDE_3_7_SONNET","VERTEX_REGION_CLAUDE_4_0_OPUS","VERTEX_REGION_CLAUDE_4_0_SONNET","VERTEX_REGION_CLAUDE_4_1_OPUS","VERTEX_REGION_CLAUDE_4_5_SONNET","VERTEX_REGION_CLAUDE_4_6_SONNET","VERTEX_REGION_CLAUDE_HAIKU_4_5"])});
2
+ export{g as lU,p as mU,X as nU,S as oU,y as pU,I as qU,b as rU};
@@ -0,0 +1,2 @@
1
+ import{BZ as Z,F1 as k,a1 as K}from"./cli-1.1.10-msg7sda2.mjs";import{j4 as J,k4 as H}from"./cli-1.1.10-t8n5jx0z.mjs";import{v_ as v,w_ as Y}from"./cli-1.1.10-m0pdck7q.mjs";import{Usa as V,Ysa as X}from"./cli-1.1.10-gmf5w0a4.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};
@@ -0,0 +1,2 @@
1
+ import{Ih as v,Jh as i}from"./cli-1.1.10-wkzbqdmr.mjs";import{Kh as E,Lh as t}from"./cli-1.1.10-psqaker4.mjs";import{lY as b,mY as s}from"./cli-1.1.10-qk19t6fd.mjs";import{F1 as m,_0 as L,a1 as X}from"./cli-1.1.10-msg7sda2.mjs";import{i4 as $,k4 as F}from"./cli-1.1.10-t8n5jx0z.mjs";import{l4 as d}from"./cli-1.1.10-c67v6p50.mjs";import{v_ as C,w_ as n}from"./cli-1.1.10-m0pdck7q.mjs";import{Uga as O,Vga as l,Wga as P,Xga as k,kha as o}from"./cli-1.1.10-kdvf271d.mjs";import{Usa as g,Ysa as a}from"./cli-1.1.10-gmf5w0a4.mjs";function Kq(J,q,H){if(J.startsWith("file-"))return H?v(q):"+";if(J.startsWith("mcp-resource-"))return"◇";if(J.startsWith("agent-"))return"*";return"+"}function Oq(J){return J.startsWith("file-")||J.startsWith("mcp-resource-")||J.startsWith("agent-")}function Qq(J){let q=J.metadata?.type;return q==="directory"||q==="file"}function Zq({suggestions:J,selectedSuggestion:q,maxColumnWidth:H,overlay:K}){let{rows:A}=b(),Y=A-2,G=Y>=e?Math.min(qq,Y):Math.max(1,Y);if(J.length===0)return null;let w=H??Math.max(...J.map((Q)=>O(Q.displayText)))+5,V=Math.max(0,Math.min(q-Math.floor(G/2),J.length-G)),U=Math.min(V+G,J.length),Z=J.slice(V,U);return $(L,{flexDirection:"column",justifyContent:K?void 0:"flex-end",children:Z.map((Q)=>$(Yq,{item:Q,maxColumnWidth:w,isSelected:Q.id===J[q]?.id},`${Q.id}:${Q.id===J[q]?.id?"selected":"idle"}`))})}var _,e=8,qq=15,y,Jq=" ",B,j,Yq,Mq;var $q=a(()=>{n();s();l();m();i();o();t();F();_=g(d(),1),y=`${C.pointer} `,B=O(y),j=E();Yq=_.memo(function({item:q,maxColumnWidth:H,isSelected:K}){let A=b().columns,Y=K?y:Jq,G=K?"suggestion":void 0,w=K?"inverseText":void 0;if(Oq(q.id)){let D=Kq(q.id,q.displayText,j),I=!K,x=q.id.startsWith("file-"),c=q.id.startsWith("mcp-resource-"),Aq=2,Gq=4,R=q.description?3:0,z;if(x){let N=q.description?Math.min(20,O(q.description)):0,r=A-B-2-4-R-N;z=P(q.displayText,r)}else if(c)z=k(q.displayText,30);else z=q.displayText;let u=A-B-2-O(z)-R-4,M;if(q.description){let N=k(q.description.replace(/\s+/g," "),Math.max(0,u));M=`${Y}${D} ${z} - ${N}`}else M=`${Y}${D} ${z}`;return $(L,{width:"100%",opaque:!0,backgroundColor:G,children:$(X,{color:w,dimColor:I,bold:K,wrap:"truncate",children:M})})}let V=Math.floor(A*0.4),U=Math.min(H??O(q.displayText)+5,V),Z=q.displayText;if(O(Z)>U-2)Z=k(Z,U-2);let Q=Qq(q)?`${j?v(q.displayText):"+"} `:"",W=Y+Q+Z+" ".repeat(Math.max(0,U-O(Z))),f=q.tag?`[${q.tag}] `:"",S=O(f),h=Math.max(0,A-B-U-S-4),p=q.description?k(q.description.replace(/\s+/g," "),h):"",T=`${W}${f}${p}`;return $(L,{width:"100%",opaque:!0,backgroundColor:G,children:$(X,{color:w,dimColor:!K,bold:K,wrap:"truncate",children:T})})});Mq=_.memo(Zq)});
2
+ export{Zq as Dh,Mq as Eh,$q as Fh};
@@ -0,0 +1,2 @@
1
+ import{Qn as T,Rn as Cq,ky as Pq,oy as cq}from"./cli-1.1.10-hk2c91wp.mjs";import{cZ as Uq,dZ as Iq,gZ as kq}from"./cli-1.1.10-jd00fn0g.mjs";import{BZ as aq,F1 as hq,_0 as L,a1 as O}from"./cli-1.1.10-msg7sda2.mjs";import{i4 as J,j4 as Q,k4 as vq}from"./cli-1.1.10-t8n5jx0z.mjs";import{a6 as bq,b6 as Mq,u6 as Sq}from"./cli-1.1.10-yzpymdrc.mjs";import{M$ as Xq,N$ as jq,Oea as Rq,hfa as Bq,xba as Nq,zba as fq}from"./cli-1.1.10-m0pdck7q.mjs";import{Zha as nq}from"./cli-1.1.10-dvxkr02c.mjs";import{Usa as yq,Ysa as Gq}from"./cli-1.1.10-gmf5w0a4.mjs";function dq(){return Rq().editorMode==="vim"}function Kq(){if(Nq.terminal==="Apple_Terminal"&&process.platform==="darwin")return"shift + ⏎ for newline";if(Uq())return"shift + ⏎ for newline";return Iq()?"\\⏎ for newline":"backslash (\\) + return (⏎) for newline"}function eq(Y,q){if(q.ctrl||q.meta||q.escape||q.return||q.tab||q.backspace||q.delete||q.upArrow||q.downArrow||q.leftArrow||q.rightArrow||q.pageUp||q.pageDown||q.home||q.end)return!1;return Y.length>0&&!/^\s/.test(Y)&&!Y.startsWith("\x1B")}var Wq=Gq(()=>{kq();Bq();fq()});function V(Y){return Y.replace(/\+/g," + ")}function LH(Y){let q=Eq.c(99),{dimColor:H,fixedWidth:Dq,gap:x,paddingX:l}=Y,m=T("app:toggleTranscript","Global","ctrl+o"),p;if(q[0]!==m)p=V(m),q[0]=m,q[1]=p;else p=q[1];let d=p,e=T("app:toggleTodos","Global","ctrl+t"),f;if(q[2]!==e)f=V(e),q[2]=e,q[3]=f;else f=q[3];let s=f,i=T("chat:undo","Chat","ctrl+_"),B;if(q[4]!==i)B=V(i),q[4]=i,q[5]=B;else B=q[5];let r=B,$=T("chat:stash","Chat","ctrl+s"),k;if(q[6]!==$)k=V($),q[6]=$,q[7]=k;else k=q[7];let o=k,t=T("chat:cycleMode","Chat","shift+tab"),y;if(q[8]!==t)y=V(t),q[8]=t,q[9]=y;else y=q[9];let qq=y,Hq=T("chat:modelPicker","Chat","alt+p"),n;if(q[10]!==Hq)n=V(Hq),q[10]=Hq,q[11]=n;else n=q[11];let Jq=n,Lq=T("chat:fastMode","Chat","alt+o"),j;if(q[12]!==Lq)j=V(Lq),q[12]=Lq,q[13]=j;else j=q[13];let Oq=j,Qq=T("chat:externalEditor","Chat","ctrl+g"),S;if(q[14]!==Qq)S=V(Qq),q[14]=Qq,q[15]=S;else S=q[15];let Tq=S,Vq=T("app:toggleTerminal","Global","meta+j"),a;if(q[16]!==Vq)a=V(Vq),q[16]=Vq,q[17]=a;else a=q[17];let Fq=a,Yq=T("chat:imagePaste","Chat","ctrl+v"),h;if(q[18]!==Yq)h=V(Yq),q[18]=Yq,q[19]=h;else h=q[19];let Zq=h,gq=V(T("chat:increaseEffort","Chat","shift+right")),_q=V(T("chat:openDiff","Chat","ctrl+g")),pq=V(T("chat:openExplorer","Chat","ctrl+e")),C;if(q[20]!==H||q[21]!==Fq)C=null,q[20]=H,q[21]=Fq,q[22]=C;else C=q[22];let wq=C,zq=Dq?28:void 0,Z;if(q[23]!==H)Z=J(L,{children:J(O,{dimColor:H,children:"! for bash mode"})}),q[23]=H,q[24]=Z;else Z=q[24];let w;if(q[25]!==H)w=J(L,{children:J(O,{dimColor:H,children:"/ for commands"})}),q[25]=H,q[26]=w;else w=q[26];let z;if(q[27]!==H)z=J(L,{children:J(O,{dimColor:H,children:"@ for file paths"})}),q[27]=H,q[28]=z;else z=q[28];let A;if(q[29]!==H)A=J(L,{children:J(O,{dimColor:H,children:"& for background"})}),q[29]=H,q[30]=A;else A=q[30];let D;if(q[31]!==H)D=J(L,{children:J(O,{dimColor:H,children:"/btw for side question"})}),q[31]=H,q[32]=D;else D=q[32];let F;if(q[33]!==zq||q[34]!==Z||q[35]!==w||q[36]!==z||q[37]!==A||q[38]!==D)F=Q(L,{flexDirection:"column",width:zq,children:[Z,w,z,A,D,J(L,{children:Q(O,{dimColor:H,children:[pq," for file explorer"]})}),J(L,{children:Q(O,{dimColor:H,children:[_q," for diff reviewer"]})})]}),q[33]=zq,q[34]=Z,q[35]=w,q[36]=z,q[37]=A,q[38]=D,q[39]=F;else F=q[39];let Aq=Dq?35:void 0,G;if(q[40]!==H)G=J(L,{children:J(O,{dimColor:H,children:"double tap esc to clear input"})}),q[40]=H,q[41]=G;else G=q[41];let N;if(q[42]!==qq||q[43]!==H)N=J(L,{children:Q(O,{dimColor:H,children:[qq," ","to auto-accept edits"]})}),q[42]=qq,q[43]=H,q[44]=N;else N=q[44];let R;if(q[45]!==H||q[46]!==d)R=J(L,{children:Q(O,{dimColor:H,children:[d," for verbose output"]})}),q[45]=H,q[46]=d,q[47]=R;else R=q[47];let U;if(q[48]!==H||q[49]!==s)U=J(L,{children:Q(O,{dimColor:H,children:[s," to toggle tasks"]})}),q[48]=H,q[49]=s,q[50]=U;else U=q[50];let c;if(q[51]===Symbol.for("react.memo_cache_sentinel"))c=Kq(),q[51]=c;else c=q[51];let I;if(q[52]!==H)I=J(L,{children:J(O,{dimColor:H,children:c})}),q[52]=H,q[53]=I;else I=q[53];let K;if(q[54]!==Aq||q[55]!==G||q[56]!==N||q[57]!==R||q[58]!==U||q[59]!==I||q[60]!==wq)K=Q(L,{flexDirection:"column",width:Aq,children:[G,N,R,U,wq,I]}),q[54]=Aq,q[55]=G,q[56]=N,q[57]=R,q[58]=U,q[59]=I,q[60]=wq,q[61]=K;else K=q[61];let W;if(q[62]!==H||q[63]!==r)W=J(L,{children:Q(O,{dimColor:H,children:[r," to undo"]})}),q[62]=H,q[63]=r,q[64]=W;else W=q[64];let v;if(q[65]!==H)v=Xq()!=="windows"&&J(L,{children:J(O,{dimColor:H,children:"ctrl + z to suspend"})}),q[65]=H,q[66]=v;else v=q[66];let X;if(q[67]!==H||q[68]!==Zq)X=J(L,{children:Q(O,{dimColor:H,children:[Zq," to paste images"]})}),q[67]=H,q[68]=Zq,q[69]=X;else X=q[69];let b;if(q[70]!==H||q[71]!==Jq)b=J(L,{children:Q(O,{dimColor:H,children:[Jq," to switch model"]})}),q[70]=H,q[71]=Jq,q[72]=b;else b=q[72];let M;if(q[73]!==H||q[74]!==Oq)M=bq()&&Mq()&&J(L,{children:Q(O,{dimColor:H,children:[Oq," to toggle fast mode"]})}),q[73]=H,q[74]=Oq,q[75]=M;else M=q[75];let P;if(q[76]!==H||q[77]!==o)P=J(L,{children:Q(O,{dimColor:H,children:[o," to stash prompt"]})}),q[76]=H,q[77]=o,q[78]=P;else P=q[78];let E;if(q[79]!==H||q[80]!==Tq)E=J(L,{children:Q(O,{dimColor:H,children:[Tq," to edit in $EDITOR"]})}),q[79]=H,q[80]=Tq,q[81]=E;else E=q[81];let g;if(q[82]!==H)g=Pq()&&J(L,{children:J(O,{dimColor:H,children:"/keybindings to customize"})}),q[82]=H,q[83]=g;else g=q[83];let _;if(q[84]!==W||q[85]!==v||q[86]!==X||q[87]!==b||q[88]!==M||q[89]!==P||q[90]!==E||q[91]!==g)_=Q(L,{flexDirection:"column",children:[W,v,X,b,J(L,{children:Q(O,{dimColor:H,children:[gq," to change effort"]})}),M,P,E,g]}),q[84]=W,q[85]=v,q[86]=X,q[87]=b,q[88]=M,q[89]=P,q[90]=E,q[91]=g,q[92]=_;else _=q[92];let u;if(q[93]!==x||q[94]!==l||q[95]!==F||q[96]!==K||q[97]!==_)u=Q(L,{paddingX:l,flexDirection:"row",gap:x,children:[F,K,_]}),q[93]=x,q[94]=l,q[95]=F,q[96]=K,q[97]=_,q[98]=u;else u=q[98];return u}var Eq;var uq=Gq(()=>{hq();jq();cq();Cq();nq();Sq();Wq();vq();Eq=yq(aq(),1)});
2
+ export{dq as wf,eq as xf,Wq as yf,LH as zf,uq as Af};
@@ -0,0 +1 @@
1
+ import{Oia as q,Qia as A,Ria as x,Sia as B}from"./cli-1.1.10-nfpy32s8.mjs";import{uka as J}from"./cli-1.1.10-jn6w68wj.mjs";import{rla as G}from"./cli-1.1.10-e7wxspgz.mjs";G();J();A();B();var F=x(()=>q.object({session_id:q.string(),ws_url:q.string(),work_dir:q.string().optional()}));
@@ -0,0 +1,2 @@
1
+ import{ZL as _,bM as S,eM as w,kM as M,lp as L,mM as P,mp as j,np as C,qp as O,rM as f,rp as b,sM as m,wM as c}from"./cli-1.1.10-hk2c91wp.mjs";import{Fca as E,Hga as k,Jda as N,Lda as x,Oda as A,Pga as D,Xda as T,xca as U}from"./cli-1.1.10-m0pdck7q.mjs";import{Via as R,Xia as v}from"./cli-1.1.10-3pch2a3h.mjs";import{Mka as G,Pka as F}from"./cli-1.1.10-jn6w68wj.mjs";import{Ysa as y}from"./cli-1.1.10-gmf5w0a4.mjs";import{join as I}from"path";async function e(){let q=A(),J=[],Q=L();for(let[z,K]of Object.entries(Q))if(z.includes("@")&&K)J.push(z);if(q.enabledPlugins)for(let[z,K]of Object.entries(q.enabledPlugins)){if(!z.includes("@"))continue;let W=J.indexOf(z);if(K){if(W===-1)J.push(z)}else if(W!==-1)J.splice(W,1)}return J}function qq(){let q=new Map,J=L();for(let[z,K]of Object.entries(J)){if(!z.includes("@"))continue;if(K===!0)q.set(z,"flag");else if(K===!1)q.delete(z)}let Q=[{scope:"managed",source:"policySettings"},{scope:"user",source:"userSettings"},{scope:"project",source:"projectSettings"},{scope:"local",source:"localSettings"},{scope:"flag",source:"flagSettings"}];for(let{scope:z,source:K}of Q){let W=N(K);if(!W?.enabledPlugins)continue;for(let[V,Y]of Object.entries(W.enabledPlugins)){if(!V.includes("@"))continue;if(V in J&&J[V]!==Y)G(`Plugin ${V} from --add-dir (${J[V]}) overridden by ${K} (${Y})`);if(Y===!0)q.set(V,z);else if(Y===!1)q.delete(V)}}return G(`Found ${q.size} enabled plugins with scopes: ${Array.from(q.entries()).map(([z,K])=>`${z}(${K})`).join(", ")}`),q}function zq(q){return C[q]}async function Jq(){M().catch((Q)=>{k(Q)});let q=w(),J=Object.keys(q.plugins);return G(`Found ${J.length} installed plugins`),J}async function Kq(q,J,Q="user"){let z=Q!=="user"?R():void 0,K=O(Q),W=N(K),V={...W?.enabledPlugins},Y=[],H=[];for(let B=0;B<q.length;B++){let X=q[B];if(!X)continue;if(J)J(X,B+1,q.length);try{let Z=await _(X);if(!Z){H.push({name:X,error:"Plugin not found in any marketplace"});continue}let{entry:$,marketplaceInstallLocation:h}=Z;if(!U($.source))await f(X,$,Q,z);else m({pluginId:X,installPath:I(h,$.source),version:$.version},Q,z);V[X]=!0,Y.push(X)}catch(Z){let $=Z instanceof Error?Z.message:String(Z);H.push({name:X,error:$}),k(Z)}}return x(K,{...W,enabledPlugins:V}),{installed:Y,failed:H}}var p=y(()=>{v();F();D();T();j();P();S();b();c();E()});
2
+ export{e as Wd,qq as Xd,zq as Yd,Jq as Zd,Kq as _d,p as $d};
@@ -0,0 +1,2 @@
1
+ import{Ysa as e}from"./cli-1.1.10-gmf5w0a4.mjs";function o(){return!0}var t=()=>{};
2
+ export{o as jU,t as kU};
@@ -0,0 +1,2 @@
1
+ import{Kc as k,Lc as P}from"./cli-1.1.10-hhkgpzgz.mjs";import{Rc as O,Sc as A,Tc as f}from"./cli-1.1.10-mnbek10k.mjs";import{V8 as E,e8 as U,i8 as V,n8 as j}from"./cli-1.1.10-yzpymdrc.mjs";import{$ba as H,Ffa as h,Hga as K,Lea as N,Oea as J,Pga as b,Vea as Y,_ba as X,fca as x,hfa as G,ofa as I}from"./cli-1.1.10-m0pdck7q.mjs";import{jla as F,rla as L}from"./cli-1.1.10-e7wxspgz.mjs";import{Aoa as W,kra as T}from"./cli-1.1.10-f00rps59.mjs";import{Ysa as y}from"./cli-1.1.10-gmf5w0a4.mjs";function d(){Z=!0}function m(){if(!Z)return!1;return Z=!1,!0}function l(q){return(B)=>({...B,...typeof q.permission_mode==="string"?{toolPermissionContext:{...B.toolPermissionContext,mode:H(q.permission_mode)}}:{},...typeof q.is_ultraplan_mode==="boolean"?{isUltraplanMode:q.is_ultraplan_mode}:{}})}function S({newState:q,oldState:B}){let _=m(),$=B.toolPermissionContext.mode,Q=q.toolPermissionContext.mode;if($!==Q){let z=X($),D=X(Q);if(z!==D){let R=D==="plan"&&q.isUltraplanMode&&!B.isUltraplanMode?!0:null;O({permission_mode:D,is_ultraplan_mode:R})}A(Q)}if(q.mainLoopModel!==B.mainLoopModel&&q.mainLoopModel===null){if(W(null),!_)Y((z)=>({...z,activeModelForProject:void 0,activeModelForProjectProfileId:void 0}))}if(q.mainLoopModel!==B.mainLoopModel&&q.mainLoopModel!==null){if(W(q.mainLoopModel),!_){let z=I()?.id;Y((D)=>({...D,activeModelForProject:q.mainLoopModel??void 0,activeModelForProjectProfileId:z}))}}if(q.expandedView!==B.expandedView){let z=q.expandedView==="tasks",D=q.expandedView==="teammates";if(J().showExpandedTodos!==z||J().showSpinnerTree!==D)N((R)=>({...R,showExpandedTodos:z,showSpinnerTree:D}))}if(q.verbose!==B.verbose&&J().verbose!==q.verbose){let z=q.verbose;N((D)=>({...D,verbose:z}))}if(q.collapseSubagentProgress!==B.collapseSubagentProgress&&J().collapseSubagentProgress!==q.collapseSubagentProgress){let z=q.collapseSubagentProgress;N((D)=>({...D,collapseSubagentProgress:z}))}if(q.settings!==B.settings)try{if(U(),V(),j(),q.settings.env!==B.settings.env)k()}catch(z){K(F(z))}}var Z=!1;var u=y(()=>{T();E();G();L();b();P();h();x();f()});
2
+ export{d as Fc,l as Gc,S as Hc,u as Ic};
@@ -0,0 +1,2 @@
1
+ import{Ac as m,Dc as u,Ec as y,zc as l}from"./cli-1.1.10-jrpxc13y.mjs";import{rG as p,tG as b}from"./cli-1.1.10-hk2c91wp.mjs";import{F1 as C,_0 as s,a1 as e}from"./cli-1.1.10-msg7sda2.mjs";import{i4 as i,j4 as r,k4 as g}from"./cli-1.1.10-t8n5jx0z.mjs";import{l4 as M}from"./cli-1.1.10-c67v6p50.mjs";import{Usa as h,Ysa as f}from"./cli-1.1.10-gmf5w0a4.mjs";function T({enabled:c,onDismiss:a}){let[n,t]=k.useState(()=>c?{kind:"prompt"}:{kind:"hidden"});if(!c||n.kind==="hidden")return null;if(n.kind==="running")return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),i(e,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(n.kind==="success"||n.kind==="error"){let d=n.kind==="success"?"success":"warning",o=n.kind==="success"?"Migration complete":"Migration finished with warnings";return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:d,bold:!0,children:o}),i(e,{children:m(n.report)})]})}return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),i(e,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),i(p,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(d)=>{if(d==="skip"){u(),t({kind:"hidden"}),a?.("skipped");return}t({kind:"running"}),(async()=>{let o=await l();t({kind:o.errors.length===0?"success":"error",report:o}),a?.("migrated")})()},onCancel:()=>{t({kind:"hidden"}),a?.("skipped")},visibleOptionCount:2})]})}var k;var w=f(()=>{C();y();b();g();k=h(M(),1)});
2
+ export{T as xc,w as yc};
@@ -0,0 +1,24 @@
1
+ import{Bg as _Q,Dg as iQ}from"./cli-1.1.10-kzbg67rw.mjs";import{ti as WQ,ui as zX}from"./cli-1.1.10-sc2myky4.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.10-hk2c91wp.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.10-qk19t6fd.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.10-msg7sda2.mjs";import{i4 as q,j4 as _,k4 as s}from"./cli-1.1.10-t8n5jx0z.mjs";import{l4 as BJ}from"./cli-1.1.10-c67v6p50.mjs";import{p9 as i,q9 as dJ}from"./cli-1.1.10-dppcc1yx.mjs";import{Hga as x,Pga as DJ}from"./cli-1.1.10-m0pdck7q.mjs";import{$ga as uJ,Uga as f,Vga as pJ,Xga as n,eha as vJ,kha as kQ}from"./cli-1.1.10-kdvf271d.mjs";import{Via as UQ,Xia as aQ}from"./cli-1.1.10-3pch2a3h.mjs";import{Usa as OJ,Ysa as qJ,Zsa as oQ}from"./cli-1.1.10-gmf5w0a4.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.10-1g7w3dx1.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};
@@ -0,0 +1,2 @@
1
+ import{Ysa as J}from"./cli-1.1.10-gmf5w0a4.mjs";import v from"node:path";function Z(q){if(q.endsWith(v.sep)||q.endsWith("/"))return K;let j=v.basename(q).toLowerCase();if(j.startsWith("readme"))return B[".md"];if(j.startsWith(".env"))return Q;let z=U[j];if(z)return z;let H=v.extname(j);return B[H]??P}var K="",Y="",P="",Q="",U,B;var V=J(()=>{U={"package.json":"",dockerfile:"",".dockerignore":"",".gitignore":"",".gitattributes":"",license:"","bun.lock":""},B={".ts":"",".tsx":"",".js":"",".jsx":"",".mjs":"",".cjs":"",".json":"",".md":"",".markdown":"",".toml":"",".yaml":"",".yml":"",".py":"",".rs":"",".go":"",".sh":"",".bash":"",".zsh":"",".css":"",".scss":"",".html":"",".htm":"",".png":"",".jpg":"",".jpeg":"",".gif":"",".svg":"",".webp":"",".lock":""}});
2
+ export{K as Gh,Y as Hh,Z as Ih,V as Jh};
@@ -0,0 +1,5 @@
1
+ import{Fb as U}from"./cli-1.1.10-gnmyahda.mjs";import{It as N,Jt as b}from"./cli-1.1.10-hk2c91wp.mjs";import{GW as F,JW as d,KW as _,LW as M,QW as I}from"./cli-1.1.10-t3pn4ww9.mjs";import{Z8 as B,a9 as T,h9 as x,i9 as H,n9 as v}from"./cli-1.1.10-syrhp8d1.mjs";import{H_ as Z,J_ as P}from"./cli-1.1.10-m0pdck7q.mjs";import{Jja as O,Mja as D}from"./cli-1.1.10-fz99ag3y.mjs";import{Mka as Y,Pka as A,pka as z,uka as S}from"./cli-1.1.10-jn6w68wj.mjs";import{Hla as f,xla as L}from"./cli-1.1.10-49bvng33.mjs";import{esa as y,wsa as i}from"./cli-1.1.10-6m1jpn0s.mjs";import{Zsa as k}from"./cli-1.1.10-gmf5w0a4.mjs";i();A();P();d();D();b();A();P();f();T();v();I();S();var C=`{"type":"keep_alive"}
2
+ `,u=1000,h=1000,R=30000,w=600000,p=1e4,m=300000,E=R*2,c=new Set([1002,4001,4003]);class W{ws=null;lastSentId=null;url;state="idle";onData;onCloseCallback;onConnectCallback;headers;sessionId;autoReconnect;isBridge;reconnectAttempts=0;reconnectStartTime=null;reconnectTimer=null;lastReconnectAttemptTime=null;lastActivityTime=0;pingInterval=null;pongReceived=!0;keepAliveInterval=null;messageBuffer;isBunWs=!1;connectStartTime=0;refreshHeaders;constructor(J,K={},Q,X,$){this.url=J,this.headers=K,this.sessionId=Q,this.refreshHeaders=X,this.autoReconnect=$?.autoReconnect??!0,this.isBridge=$?.isBridge??!1,this.messageBuffer=new N(u)}async connect(){if(this.state!=="idle"&&this.state!=="reconnecting"){Y(`WebSocketTransport: Cannot connect, current state is ${this.state}`,{level:"error"}),Z("error","cli_websocket_connect_failed");return}this.state="reconnecting",this.connectStartTime=Date.now(),Y(`WebSocketTransport: Opening ${this.url.href}`),Z("info","cli_websocket_connect_opening");let J={...this.headers};if(this.lastSentId)J["X-Last-Request-Id"]=this.lastSentId,Y(`WebSocketTransport: Adding X-Last-Request-Id header: ${this.lastSentId}`);if(typeof Bun<"u"){let K=new globalThis.WebSocket(this.url.href,{headers:J,proxy:H(this.url.href),tls:B()||void 0});this.ws=K,this.isBunWs=!0,K.addEventListener("open",this.onBunOpen),K.addEventListener("message",this.onBunMessage),K.addEventListener("error",this.onBunError),K.addEventListener("close",this.onBunClose),K.addEventListener("pong",this.onPong)}else{let{default:K}=await import("./wrapper-1.1.10-dthrwggp.mjs"),Q=new K(this.url.href,{headers:J,agent:x(this.url.href),...B()});this.ws=Q,this.isBunWs=!1,Q.on("open",this.onNodeOpen),Q.on("message",this.onNodeMessage),Q.on("error",this.onNodeError),Q.on("close",this.onNodeClose),Q.on("pong",this.onPong)}}onBunOpen=()=>{if(this.handleOpenEvent(),this.lastSentId)this.replayBufferedMessages("")};onBunMessage=(J)=>{let K=typeof J.data==="string"?J.data:String(J.data);if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onBunError=()=>{Y("WebSocketTransport: Error",{level:"error"}),Z("error","cli_websocket_connect_error")};onBunClose=(J)=>{let K=J.code===1000||J.code===1001;Y(`WebSocketTransport: Closed: ${J.code}`,K?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J.code)};onNodeOpen=()=>{let J=this.ws;if(this.handleOpenEvent(),!J)return;let Q=J.upgradeReq;if(Q?.headers?.["x-last-request-id"]){let X=Q.headers["x-last-request-id"];this.replayBufferedMessages(X)}};onNodeMessage=(J)=>{let K=J.toString();if(this.lastActivityTime=Date.now(),Z("info","cli_websocket_message_received",{length:K.length}),this.onData)this.onData(K)};onNodeError=(J)=>{Y(`WebSocketTransport: Error: ${J.message}`,{level:"error"}),Z("error","cli_websocket_connect_error")};onNodeClose=(J,K)=>{let Q=J===1000||J===1001;Y(`WebSocketTransport: Closed: ${J}`,Q?void 0:{level:"error"}),Z("error","cli_websocket_connect_closed"),this.handleConnectionError(J)};onPong=()=>{this.pongReceived=!0};handleOpenEvent(){let J=Date.now()-this.connectStartTime;if(Y("WebSocketTransport: Connected"),Z("info","cli_websocket_connect_connected",{duration_ms:J}),this.isBridge&&this.reconnectStartTime!==null)O("tengu_ws_transport_reconnected",{attempts:this.reconnectAttempts,downtimeMs:Date.now()-this.reconnectStartTime});this.reconnectAttempts=0,this.reconnectStartTime=null,this.lastReconnectAttemptTime=null,this.lastActivityTime=Date.now(),this.state="connected",this.onConnectCallback?.(),this.startPingInterval(),this.startKeepaliveInterval(),_(()=>{this.write({type:"keep_alive"})})}sendLine(J){if(!this.ws||this.state!=="connected")return Y("WebSocketTransport: Not connected"),Z("info","cli_websocket_send_not_connected"),!1;try{return this.ws.send(J),this.lastActivityTime=Date.now(),!0}catch(K){return Y(`WebSocketTransport: Failed to send: ${K}`,{level:"error"}),Z("error","cli_websocket_send_error"),this.handleConnectionError(),!1}}removeWsListeners(J){if(this.isBunWs){let K=J;K.removeEventListener("open",this.onBunOpen),K.removeEventListener("message",this.onBunMessage),K.removeEventListener("error",this.onBunError),K.removeEventListener("close",this.onBunClose),K.removeEventListener("pong",this.onPong)}else{let K=J;K.off("open",this.onNodeOpen),K.off("message",this.onNodeMessage),K.off("error",this.onNodeError),K.off("close",this.onNodeClose),K.off("pong",this.onPong)}}doDisconnect(){if(this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.ws)this.removeWsListeners(this.ws),this.ws.close(),this.ws=null}handleConnectionError(J){if(Y(`WebSocketTransport: Disconnected from ${this.url.href}`+(J!=null?` (code ${J})`:"")),Z("info","cli_websocket_disconnected"),this.isBridge)O("tengu_ws_transport_closed",{closeCode:J,msSinceLastActivity:this.lastActivityTime>0?Date.now()-this.lastActivityTime:-1,wasConnected:this.state==="connected",reconnectAttempts:this.reconnectAttempts});if(this.doDisconnect(),this.state==="closing"||this.state==="closed")return;let K=!1;if(J===4003&&this.refreshHeaders){let $=this.refreshHeaders();if($.Authorization!==this.headers.Authorization)Object.assign(this.headers,$),K=!0,Y("WebSocketTransport: 4003 received but headers refreshed, scheduling reconnect"),Z("info","cli_websocket_4003_token_refreshed")}if(J!=null&&c.has(J)&&!K){Y(`WebSocketTransport: Permanent close code ${J}, not reconnecting`,{level:"error"}),Z("error","cli_websocket_permanent_close",{closeCode:J}),this.state="closed",this.onCloseCallback?.(J);return}if(!this.autoReconnect){this.state="closed",this.onCloseCallback?.(J);return}let Q=Date.now();if(!this.reconnectStartTime)this.reconnectStartTime=Q;if(this.lastReconnectAttemptTime!==null&&Q-this.lastReconnectAttemptTime>E)Y(`WebSocketTransport: Detected system sleep (${Math.round((Q-this.lastReconnectAttemptTime)/1000)}s gap), resetting reconnection budget`),Z("info","cli_websocket_sleep_detected",{gapMs:Q-this.lastReconnectAttemptTime}),this.reconnectStartTime=Q,this.reconnectAttempts=0;this.lastReconnectAttemptTime=Q;let X=Q-this.reconnectStartTime;if(X<w){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;if(!K&&this.refreshHeaders){let V=this.refreshHeaders();Object.assign(this.headers,V),Y("WebSocketTransport: Refreshed headers for reconnect")}this.state="reconnecting",this.reconnectAttempts++;let $=Math.min(h*Math.pow(2,this.reconnectAttempts-1),R),G=Math.max(0,$+$*0.25*(2*Math.random()-1));if(Y(`WebSocketTransport: Reconnecting in ${Math.round(G)}ms (attempt ${this.reconnectAttempts}, ${Math.round(X/1000)}s elapsed)`),Z("error","cli_websocket_reconnect_attempt",{reconnectAttempts:this.reconnectAttempts}),this.isBridge)O("tengu_ws_transport_reconnecting",{attempt:this.reconnectAttempts,elapsedMs:X,delayMs:Math.round(G)});this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.connect()},G)}else if(Y(`WebSocketTransport: Reconnection time budget exhausted after ${Math.round(X/1000)}s for ${this.url.href}`,{level:"error"}),Z("error","cli_websocket_reconnect_exhausted",{reconnectAttempts:this.reconnectAttempts,elapsedMs:X}),this.state="closed",this.onCloseCallback)this.onCloseCallback(J)}close(){if(this.reconnectTimer)clearTimeout(this.reconnectTimer),this.reconnectTimer=null;this.stopPingInterval(),this.stopKeepaliveInterval(),M(),this.state="closing",this.doDisconnect()}replayBufferedMessages(J){let K=this.messageBuffer.toArray();if(K.length===0)return;let Q=0;if(J){let $=K.findIndex((G)=>("uuid"in G)&&G.uuid===J);if($>=0){Q=$+1;let G=K.slice(Q);if(this.messageBuffer.clear(),this.messageBuffer.addAll(G),G.length===0)this.lastSentId=null;Y(`WebSocketTransport: Evicted ${Q} confirmed messages, ${G.length} remaining`),Z("info","cli_websocket_evicted_confirmed_messages",{evicted:Q,remaining:G.length})}}let X=K.slice(Q);if(X.length===0){Y("WebSocketTransport: No new messages to replay"),Z("info","cli_websocket_no_messages_to_replay");return}Y(`WebSocketTransport: Replaying ${X.length} buffered messages`),Z("info","cli_websocket_messages_to_replay",{count:X.length});for(let $ of X){let G=z($)+`
3
+ `;if(!this.sendLine(G)){this.handleConnectionError();break}}}isConnectedStatus(){return this.state==="connected"}isClosedStatus(){return this.state==="closed"}setOnData(J){this.onData=J}setOnConnect(J){this.onConnectCallback=J}setOnClose(J){this.onCloseCallback=J}getStateLabel(){return this.state}async write(J){if("uuid"in J&&typeof J.uuid==="string")this.messageBuffer.add(J),this.lastSentId=J.uuid;let K=z(J)+`
4
+ `;if(this.state!=="connected")return;let Q=this.sessionId?` session=${this.sessionId}`:"",X=this.getControlMessageDetailLabel(J);Y(`WebSocketTransport: Sending message type=${J.type}${Q}${X}`),this.sendLine(K)}getControlMessageDetailLabel(J){if(J.type==="control_request"){let{request_id:K,request:Q}=J,X=Q.subtype==="can_use_tool"?Q.tool_name:"";return` subtype=${Q.subtype} request_id=${K}${X?` tool=${X}`:""}`}if(J.type==="control_response"){let{subtype:K,request_id:Q}=J.response;return` subtype=${K} request_id=${Q}`}return""}startPingInterval(){this.stopPingInterval(),this.pongReceived=!0;let J=Date.now();this.pingInterval=setInterval(()=>{if(this.state==="connected"&&this.ws){let K=Date.now(),Q=K-J;if(J=K,Q>E){Y(`WebSocketTransport: ${Math.round(Q/1000)}s tick gap detected — process was suspended, forcing reconnect`),Z("info","cli_websocket_sleep_detected_on_ping",{gapMs:Q}),this.handleConnectionError();return}if(!this.pongReceived){Y("WebSocketTransport: No pong received, connection appears dead",{level:"error"}),Z("error","cli_websocket_pong_timeout"),this.handleConnectionError();return}this.pongReceived=!1;try{this.ws.ping?.()}catch(X){Y(`WebSocketTransport: Ping failed: ${X}`,{level:"error"}),Z("error","cli_websocket_ping_failed")}}},p)}stopPingInterval(){if(this.pingInterval)clearInterval(this.pingInterval),this.pingInterval=null}startKeepaliveInterval(){if(this.stopKeepaliveInterval(),L(process.env.CLAUDE_CODE_REMOTE))return;this.keepAliveInterval=setInterval(()=>{if(this.state==="connected"&&this.ws)try{this.ws.send(C),this.lastActivityTime=Date.now(),Y("WebSocketTransport: Sent periodic keep_alive data frame")}catch(J){Y(`WebSocketTransport: Periodic keep_alive failed: ${J}`,{level:"error"}),Z("error","cli_websocket_keepalive_failed")}},m)}stopKeepaliveInterval(){if(this.keepAliveInterval)clearInterval(this.keepAliveInterval),this.keepAliveInterval=null}}var g=100,t=15000,l=3000;class n extends W{postUrl;uploader;streamEventBuffer=[];streamEventTimer=null;constructor(J,K={},Q,X,$){super(J,K,Q,X,$);let{maxConsecutiveFailures:G,onBatchDropped:V}=$??{};this.postUrl=r(J),this.uploader=new U({maxBatchSize:500,maxQueueSize:1e5,baseDelayMs:500,maxDelayMs:8000,jitterMs:1000,maxConsecutiveFailures:G,onBatchDropped:(j,q)=>{Z("error","cli_hybrid_batch_dropped_max_failures",{batchSize:j,failures:q}),V?.(j,q)},send:(j)=>this.postOnce(j)}),Y(`HybridTransport: POST URL = ${this.postUrl}`),Z("info","cli_hybrid_transport_initialized")}async write(J){if(J.type==="stream_event"){if(this.streamEventBuffer.push(J),!this.streamEventTimer)this.streamEventTimer=setTimeout(()=>this.flushStreamEvents(),g);return}return await this.uploader.enqueue([...this.takeStreamEvents(),J]),this.uploader.flush()}async writeBatch(J){return await this.uploader.enqueue([...this.takeStreamEvents(),...J]),this.uploader.flush()}get droppedBatchCount(){return this.uploader.droppedBatchCount}flush(){return this.uploader.enqueue(this.takeStreamEvents()),this.uploader.flush()}takeStreamEvents(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;let J=this.streamEventBuffer;return this.streamEventBuffer=[],J}flushStreamEvents(){this.streamEventTimer=null,this.uploader.enqueue(this.takeStreamEvents())}close(){if(this.streamEventTimer)clearTimeout(this.streamEventTimer),this.streamEventTimer=null;this.streamEventBuffer=[];let J=this.uploader,K;Promise.race([J.flush(),new Promise((Q)=>{K=setTimeout(Q,l)})]).finally(()=>{clearTimeout(K),J.close()}),super.close()}async postOnce(J){let K=F();if(!K){Y("HybridTransport: No session token available for POST"),Z("warn","cli_hybrid_post_no_token");return}let Q={Authorization:`Bearer ${K}`,"Content-Type":"application/json"},X;try{X=await y.post(this.postUrl,{events:J},{headers:Q,validateStatus:()=>!0,timeout:t})}catch($){throw Y(`HybridTransport: POST error: ${$.message}`),Z("warn","cli_hybrid_post_network_error"),$}if(X.status>=200&&X.status<300){Y(`HybridTransport: POST success count=${J.length}`);return}if(X.status>=400&&X.status<500&&X.status!==429){Y(`HybridTransport: POST returned ${X.status} (permanent), dropping`),Z("warn","cli_hybrid_post_client_error",{status:X.status});return}throw Y(`HybridTransport: POST returned ${X.status} (retryable)`),Z("warn","cli_hybrid_post_retryable_error",{status:X.status}),Error(`POST failed with ${X.status}`)}}function r(J){let K=J.protocol==="wss:"?"https:":"http:",Q=J.pathname;if(Q=Q.replace("/ws/","/session/"),!Q.endsWith("/events"))Q=Q.endsWith("/")?Q+"events":Q+"/events";return`${K}//${J.host}${Q}${J.search}`}
5
+ export{W as sb,n as tb};
@@ -0,0 +1,18 @@
1
+ import{mJ as Q,pJ as F}from"./cli-1.1.10-hk2c91wp.mjs";import{Mka as b,Pka as y}from"./cli-1.1.10-jn6w68wj.mjs";import{mla as x,rla as f}from"./cli-1.1.10-e7wxspgz.mjs";import{Hla as R,ula as w}from"./cli-1.1.10-49bvng33.mjs";import{kra as K,pna as $,sna as j}from"./cli-1.1.10-f00rps59.mjs";import{Ysa as v}from"./cli-1.1.10-gmf5w0a4.mjs";import{statSync as u}from"fs";import{join as Z}from"path";function P(k,q){return`${q} ${k}`}function g(){J.clear()}function C(){return{projectLoopMdPath:Z(j(),".claudin","loop.md"),userLoopMdPath:Z(w(),"loop.md")}}function h(k){for(let q of[k.projectLoopMdPath,k.userLoopMdPath])try{let z=u(q);return`${q}:${z.mtimeMs}:${z.size}`}catch(z){if(!x(z))b(`[loopSentinels] failed to stat ${q}: ${z}`)}return null}function M(k,q,z=m){let B=k.trim();if(B!==Y&&B!==G)return k;let V=h(q??C()),W=P(B,z),H=J.get(W);J.set(W,{firedOnce:!0,loopMdFingerprint:V});let X=H!==void 0&&H.loopMdFingerprint!==V;if(H===void 0||X)return d(B,X);return L(B)}function d(k,q){let z=q?`Note: the loop.md instructions changed since the last tick — re-read them and follow the updated version.
2
+
3
+ `:"",B=k===G?`
4
+
5
+ ${c}`:"";return`Scheduled loop tick.
6
+
7
+ ${z}${D}${B}`}function L(k){if(k!==G)return"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md).";return`${"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md)."} Then, as the LAST action of the turn, call ${Q} again (prompt: ${G}) to continue the loop, or omit it to end the loop.`}var Y="<<autonomous-loop>>",G="<<autonomous-loop-dynamic>>",D=`Scheduled maintenance loop iteration.
8
+
9
+ If .claudin/loop.md exists, read it and follow it.
10
+ Otherwise, if ~/.claudin/loop.md exists, read it and follow it.
11
+ Otherwise:
12
+ - continue any unfinished work from the conversation
13
+ - tend to the current branch's pull request: review comments, failed CI runs, merge conflicts
14
+ - run cleanup passes such as bug hunts or simplification when nothing else is pending
15
+
16
+ Do not start new initiatives outside that scope.
17
+ Irreversible actions such as pushing or deleting only proceed when they continue something the transcript already authorized.`,c,m="lead",J;var U=v(()=>{K();F();y();R();f();c=`This loop is self-paced (/loop dynamic mode): when this iteration's work is done, as the LAST action of the turn either call ${Q} again — prompt set to exactly ${G}, with a delay chosen per the tool description and a one-sentence reason — to continue the loop, or omit the call to end it.`,J=new Map;$(g)});
18
+ export{Y as Yh,G as Zh,D as _h,g as $h,M as ai,U as bi};
@@ -0,0 +1,26 @@
1
+ class H extends Error{constructor(z,J,Q){super(Q);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=J,this.exitCode=z,this.nestedError=void 0}}class K extends H{constructor(z){super(1,"commander.invalidArgument",z);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}class S{constructor(z,J){this.flags=z,this.description=J||"",this.required=z.includes("<"),this.optional=z.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(z),this.mandatory=!1;let Q=w(z);if(this.short=Q.shortFlag,this.long=Q.longFlag,this.negate=!1,this.long)this.negate=this.long.startsWith("--no-");this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0,this.helpGroupHeading=void 0}default(z,J){return this.defaultValue=z,this.defaultValueDescription=J,this}preset(z){return this.presetArg=z,this}conflicts(z){return this.conflictsWith=this.conflictsWith.concat(z),this}implies(z){let J=z;if(typeof z==="string")J={[z]:!0};return this.implied=Object.assign(this.implied||{},J),this}env(z){return this.envVar=z,this}argParser(z){return this.parseArg=z,this}makeOptionMandatory(z=!0){return this.mandatory=!!z,this}hideHelp(z=!0){return this.hidden=!!z,this}_collectValue(z,J){if(J===this.defaultValue||!Array.isArray(J))return[z];return J.push(z),J}choices(z){return this.argChoices=z.slice(),this.parseArg=(J,Q)=>{if(!this.argChoices.includes(J))throw new K(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(J,Q);return J},this}name(){if(this.long)return this.long.replace(/^--/,"");return this.short.replace(/^-/,"")}attributeName(){if(this.negate)return F(this.name().replace(/^no-/,""));return F(this.name())}helpGroup(z){return this.helpGroupHeading=z,this}is(z){return this.short===z||this.long===z}isBoolean(){return!this.required&&!this.optional&&!this.negate}}class V{constructor(z){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,z.forEach((J)=>{if(J.negate)this.negativeOptions.set(J.attributeName(),J);else this.positiveOptions.set(J.attributeName(),J)}),this.negativeOptions.forEach((J,Q)=>{if(this.positiveOptions.has(Q))this.dualOptions.add(Q)})}valueFromOption(z,J){let Q=J.attributeName();if(!this.dualOptions.has(Q))return!0;let X=this.negativeOptions.get(Q).presetArg,Y=X!==void 0?X:!1;return J.negate===(Y===z)}}function F(z){return z.split("-").reduce((J,Q)=>{return J+Q[0].toUpperCase()+Q.slice(1)})}function w(z){let J,Q,X=/^-[^-]$/,Y=/^--[^-]/,Z=z.split(/[ |,]+/).concat("guard");if(X.test(Z[0]))J=Z.shift();if(Y.test(Z[0]))Q=Z.shift();if(!J&&X.test(Z[0]))J=Z.shift();if(!J&&Y.test(Z[0]))J=Q,Q=Z.shift();if(Z[0].startsWith("-")){let $=Z[0],_=`option creation failed due to '${$}' in option flags '${z}'`;if(/^-[^-][^-]/.test($))throw Error(`${_}
2
+ - a short flag is a single dash and a single character
3
+ - either use a single dash and a single character (for a short flag)
4
+ - or use a double dash for a long option (and can have two, like '--ws, --workspace')`);if(X.test($))throw Error(`${_}
5
+ - too many short flags`);if(Y.test($))throw Error(`${_}
6
+ - too many long flags`);throw Error(`${_}
7
+ - unrecognised flag format`)}if(J===void 0&&Q===void 0)throw Error(`option creation failed due to no flags found in '${z}'.`);return{shortFlag:J,longFlag:Q}}import{EventEmitter as O}from"node:events";import N from"node:child_process";import U from"node:path";import I from"node:fs";import G from"node:process";import{stripVTControlCharacters as x}from"node:util";class W{constructor(z,J){switch(this.description=J||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,z[0]){case"<":this.required=!0,this._name=z.slice(1,-1);break;case"[":this.required=!1,this._name=z.slice(1,-1);break;default:this.required=!0,this._name=z;break}if(this._name.endsWith("..."))this.variadic=!0,this._name=this._name.slice(0,-3)}name(){return this._name}_collectValue(z,J){if(J===this.defaultValue||!Array.isArray(J))return[z];return J.push(z),J}default(z,J){return this.defaultValue=z,this.defaultValueDescription=J,this}argParser(z){return this.parseArg=z,this}choices(z){return this.argChoices=z.slice(),this.parseArg=(J,Q)=>{if(!this.argChoices.includes(J))throw new K(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._collectValue(J,Q);return J},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}}function P(z){let J=z.name()+(z.variadic===!0?"...":"");return z.required?"<"+J+">":"["+J+"]"}import{stripVTControlCharacters as k}from"node:util";class j{constructor(){this.helpWidth=void 0,this.minWidthToWrap=40,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}prepareContext(z){this.helpWidth=this.helpWidth??z.helpWidth??80}visibleCommands(z){let J=z.commands.filter((X)=>!X._hidden),Q=z._getHelpCommand();if(Q&&!Q._hidden)J.push(Q);if(this.sortSubcommands)J.sort((X,Y)=>{return X.name().localeCompare(Y.name())});return J}compareOptions(z,J){let Q=(X)=>{return X.short?X.short.replace(/^-/,""):X.long.replace(/^--/,"")};return Q(z).localeCompare(Q(J))}visibleOptions(z){let J=z.options.filter((X)=>!X.hidden),Q=z._getHelpOption();if(Q&&!Q.hidden){let X=Q.short&&z._findOption(Q.short),Y=Q.long&&z._findOption(Q.long);if(!X&&!Y)J.push(Q);else if(Q.long&&!Y)J.push(z.createOption(Q.long,Q.description));else if(Q.short&&!X)J.push(z.createOption(Q.short,Q.description))}if(this.sortOptions)J.sort(this.compareOptions);return J}visibleGlobalOptions(z){if(!this.showGlobalOptions)return[];let J=[];for(let Q=z.parent;Q;Q=Q.parent){let X=Q.options.filter((Y)=>!Y.hidden);J.push(...X)}if(this.sortOptions)J.sort(this.compareOptions);return J}visibleArguments(z){if(z._argsDescription)z.registeredArguments.forEach((J)=>{J.description=J.description||z._argsDescription[J.name()]||""});if(z.registeredArguments.find((J)=>J.description))return z.registeredArguments;return[]}subcommandTerm(z){let J=z.registeredArguments.map((Q)=>P(Q)).join(" ");return z._name+(z._aliases[0]?"|"+z._aliases[0]:"")+(z.options.length?" [options]":"")+(J?" "+J:"")}optionTerm(z){return z.flags}argumentTerm(z){return z.name()}longestSubcommandTermLength(z,J){return J.visibleCommands(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleSubcommandTerm(J.subcommandTerm(X))))},0)}longestOptionTermLength(z,J){return J.visibleOptions(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleOptionTerm(J.optionTerm(X))))},0)}longestGlobalOptionTermLength(z,J){return J.visibleGlobalOptions(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleOptionTerm(J.optionTerm(X))))},0)}longestArgumentTermLength(z,J){return J.visibleArguments(z).reduce((Q,X)=>{return Math.max(Q,this.displayWidth(J.styleArgumentTerm(J.argumentTerm(X))))},0)}commandUsage(z){let J=z._name;if(z._aliases[0])J=J+"|"+z._aliases[0];let Q="";for(let X=z.parent;X;X=X.parent)Q=X.name()+" "+Q;return Q+J+" "+z.usage()}commandDescription(z){return z.description()}subcommandDescription(z){return z.summary()||z.description()}optionDescription(z){let J=[];if(z.argChoices)J.push(`choices: ${z.argChoices.map((Q)=>JSON.stringify(Q)).join(", ")}`);if(z.defaultValue!==void 0){if(z.required||z.optional||z.isBoolean()&&typeof z.defaultValue==="boolean")J.push(`default: ${z.defaultValueDescription||JSON.stringify(z.defaultValue)}`)}if(z.presetArg!==void 0&&z.optional)J.push(`preset: ${JSON.stringify(z.presetArg)}`);if(z.envVar!==void 0)J.push(`env: ${z.envVar}`);if(J.length>0){let Q=`(${J.join(", ")})`;if(z.description)return`${z.description} ${Q}`;return Q}return z.description}argumentDescription(z){let J=[];if(z.argChoices)J.push(`choices: ${z.argChoices.map((Q)=>JSON.stringify(Q)).join(", ")}`);if(z.defaultValue!==void 0)J.push(`default: ${z.defaultValueDescription||JSON.stringify(z.defaultValue)}`);if(J.length>0){let Q=`(${J.join(", ")})`;if(z.description)return`${z.description} ${Q}`;return Q}return z.description}formatItemList(z,J,Q){if(J.length===0)return[];return[Q.styleTitle(z),...J,""]}groupItems(z,J,Q){let X=new Map;return z.forEach((Y)=>{let Z=Q(Y);if(!X.has(Z))X.set(Z,[])}),J.forEach((Y)=>{let Z=Q(Y);if(!X.has(Z))X.set(Z,[]);X.get(Z).push(Y)}),X}formatHelp(z,J){let Q=J.padWidth(z,J),X=J.helpWidth??80;function Y(R,B){return J.formatItem(R,Q,B,J)}let Z=[`${J.styleTitle("Usage:")} ${J.styleUsage(J.commandUsage(z))}`,""],$=J.commandDescription(z);if($.length>0)Z=Z.concat([J.boxWrap(J.styleCommandDescription($),X),""]);let _=J.visibleArguments(z).map((R)=>{return Y(J.styleArgumentTerm(J.argumentTerm(R)),J.styleArgumentDescription(J.argumentDescription(R)))});if(Z=Z.concat(this.formatItemList("Arguments:",_,J)),this.groupItems(z.options,J.visibleOptions(z),(R)=>R.helpGroupHeading??"Options:").forEach((R,B)=>{let L=R.map((M)=>{return Y(J.styleOptionTerm(J.optionTerm(M)),J.styleOptionDescription(J.optionDescription(M)))});Z=Z.concat(this.formatItemList(B,L,J))}),J.showGlobalOptions){let R=J.visibleGlobalOptions(z).map((B)=>{return Y(J.styleOptionTerm(J.optionTerm(B)),J.styleOptionDescription(J.optionDescription(B)))});Z=Z.concat(this.formatItemList("Global Options:",R,J))}return this.groupItems(z.commands,J.visibleCommands(z),(R)=>R.helpGroup()||"Commands:").forEach((R,B)=>{let L=R.map((M)=>{return Y(J.styleSubcommandTerm(J.subcommandTerm(M)),J.styleSubcommandDescription(J.subcommandDescription(M)))});Z=Z.concat(this.formatItemList(B,L,J))}),Z.join(`
8
+ `)}displayWidth(z){return k(z).length}styleTitle(z){return z}styleUsage(z){return z.split(" ").map((J)=>{if(J==="[options]")return this.styleOptionText(J);if(J==="[command]")return this.styleSubcommandText(J);if(J[0]==="["||J[0]==="<")return this.styleArgumentText(J);return this.styleCommandText(J)}).join(" ")}styleCommandDescription(z){return this.styleDescriptionText(z)}styleOptionDescription(z){return this.styleDescriptionText(z)}styleSubcommandDescription(z){return this.styleDescriptionText(z)}styleArgumentDescription(z){return this.styleDescriptionText(z)}styleDescriptionText(z){return z}styleOptionTerm(z){return this.styleOptionText(z)}styleSubcommandTerm(z){return z.split(" ").map((J)=>{if(J==="[options]")return this.styleOptionText(J);if(J[0]==="["||J[0]==="<")return this.styleArgumentText(J);return this.styleSubcommandText(J)}).join(" ")}styleArgumentTerm(z){return this.styleArgumentText(z)}styleOptionText(z){return z}styleArgumentText(z){return z}styleSubcommandText(z){return z}styleCommandText(z){return z}padWidth(z,J){return Math.max(J.longestOptionTermLength(z,J),J.longestGlobalOptionTermLength(z,J),J.longestSubcommandTermLength(z,J),J.longestArgumentTermLength(z,J))}preformatted(z){return/\n[^\S\r\n]/.test(z)}formatItem(z,J,Q,X){let Z=" ".repeat(2);if(!Q)return Z+z;let $=z.padEnd(J+z.length-X.displayWidth(z)),_=2,q=(this.helpWidth??80)-J-_-2,R;if(q<this.minWidthToWrap||X.preformatted(Q))R=Q;else R=X.boxWrap(Q,q).replace(/\n/g,`
9
+ `+" ".repeat(J+_));return Z+$+" ".repeat(_)+R.replace(/\n/g,`
10
+ ${Z}`)}boxWrap(z,J){if(J<this.minWidthToWrap)return z;let Q=z.split(/\r\n|\n/),X=/[\s]*[^\s]+/g,Y=[];return Q.forEach((Z)=>{let $=Z.match(X);if($===null){Y.push("");return}let _=[$.shift()],T=this.displayWidth(_[0]);$.forEach((q)=>{let R=this.displayWidth(q);if(T+R<=J){_.push(q),T+=R;return}Y.push(_.join(""));let B=q.trimStart();_=[B],T=this.displayWidth(B)}),Y.push(_.join(""))}),Y.join(`
11
+ `)}}function C(z,J){if(Math.abs(z.length-J.length)>3)return Math.max(z.length,J.length);let Q=[];for(let X=0;X<=z.length;X++)Q[X]=[X];for(let X=0;X<=J.length;X++)Q[0][X]=X;for(let X=1;X<=J.length;X++)for(let Y=1;Y<=z.length;Y++){let Z;if(z[Y-1]===J[X-1])Z=0;else Z=1;if(Q[Y][X]=Math.min(Q[Y-1][X]+1,Q[Y][X-1]+1,Q[Y-1][X-1]+Z),Y>1&&X>1&&z[Y-1]===J[X-2]&&z[Y-2]===J[X-1])Q[Y][X]=Math.min(Q[Y][X],Q[Y-2][X-2]+1)}return Q[z.length][J.length]}function D(z,J){if(!J||J.length===0)return"";J=Array.from(new Set(J));let Q=z.startsWith("--");if(Q)z=z.slice(2),J=J.map(($)=>$.slice(2));let X=[],Y=3,Z=0.4;if(J.forEach(($)=>{if($.length<=1)return;let _=C(z,$),T=Math.max(z.length,$.length);if((T-_)/T>Z){if(_<Y)Y=_,X=[$];else if(_===Y)X.push($)}}),X.sort(($,_)=>$.localeCompare(_)),Q)X=X.map(($)=>`--${$}`);if(X.length>1)return`
12
+ (Did you mean one of ${X.join(", ")}?)`;if(X.length===1)return`
13
+ (Did you mean ${X[0]}?)`;return""}class E extends O{constructor(z){super();this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!1,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=z||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._savedState=null,this._outputConfiguration={writeOut:(J)=>G.stdout.write(J),writeErr:(J)=>G.stderr.write(J),outputError:(J,Q)=>Q(J),getOutHelpWidth:()=>G.stdout.isTTY?G.stdout.columns:void 0,getErrHelpWidth:()=>G.stderr.isTTY?G.stderr.columns:void 0,getOutHasColors:()=>A()??(G.stdout.isTTY&&G.stdout.hasColors?.()),getErrHasColors:()=>A()??(G.stderr.isTTY&&G.stderr.hasColors?.()),stripColor:(J)=>x(J)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={},this._helpGroupHeading=void 0,this._defaultCommandGroup=void 0,this._defaultOptionGroup=void 0}copyInheritedSettings(z){return this._outputConfiguration=z._outputConfiguration,this._helpOption=z._helpOption,this._helpCommand=z._helpCommand,this._helpConfiguration=z._helpConfiguration,this._exitCallback=z._exitCallback,this._storeOptionsAsProperties=z._storeOptionsAsProperties,this._combineFlagAndOptionalValue=z._combineFlagAndOptionalValue,this._allowExcessArguments=z._allowExcessArguments,this._enablePositionalOptions=z._enablePositionalOptions,this._showHelpAfterError=z._showHelpAfterError,this._showSuggestionAfterError=z._showSuggestionAfterError,this}_getCommandAndAncestors(){let z=[];for(let J=this;J;J=J.parent)z.push(J);return z}command(z,J,Q){let X=J,Y=Q;if(typeof X==="object"&&X!==null)Y=X,X=null;Y=Y||{};let[,Z,$]=z.match(/([^ ]+) *(.*)/),_=this.createCommand(Z);if(X)_.description(X),_._executableHandler=!0;if(Y.isDefault)this._defaultCommandName=_._name;if(_._hidden=!!(Y.noHelp||Y.hidden),_._executableFile=Y.executableFile||null,$)_.arguments($);if(this._registerCommand(_),_.parent=this,_.copyInheritedSettings(this),X)return this;return _}createCommand(z){return new E(z)}createHelp(){return Object.assign(new j,this.configureHelp())}configureHelp(z){if(z===void 0)return this._helpConfiguration;return this._helpConfiguration=z,this}configureOutput(z){if(z===void 0)return this._outputConfiguration;return this._outputConfiguration={...this._outputConfiguration,...z},this}showHelpAfterError(z=!0){if(typeof z!=="string")z=!!z;return this._showHelpAfterError=z,this}showSuggestionAfterError(z=!0){return this._showSuggestionAfterError=!!z,this}addCommand(z,J){if(!z._name)throw Error(`Command passed to .addCommand() must have a name
14
+ - specify the name in Command constructor or using .name()`);if(J=J||{},J.isDefault)this._defaultCommandName=z._name;if(J.noHelp||J.hidden)z._hidden=!0;return this._registerCommand(z),z.parent=this,z._checkForBrokenPassThrough(),this}createArgument(z,J){return new W(z,J)}argument(z,J,Q,X){let Y=this.createArgument(z,J);if(typeof Q==="function")Y.default(X).argParser(Q);else Y.default(Q);return this.addArgument(Y),this}arguments(z){return z.trim().split(/ +/).forEach((J)=>{this.argument(J)}),this}addArgument(z){let J=this.registeredArguments.slice(-1)[0];if(J?.variadic)throw Error(`only the last argument can be variadic '${J.name()}'`);if(z.required&&z.defaultValue!==void 0&&z.parseArg===void 0)throw Error(`a default value for a required argument is never used: '${z.name()}'`);return this.registeredArguments.push(z),this}helpCommand(z,J){if(typeof z==="boolean"){if(this._addImplicitHelpCommand=z,z&&this._defaultCommandGroup)this._initCommandGroup(this._getHelpCommand());return this}let Q=z??"help [command]",[,X,Y]=Q.match(/([^ ]+) *(.*)/),Z=J??"display help for command",$=this.createCommand(X);if($.helpOption(!1),Y)$.arguments(Y);if(Z)$.description(Z);if(this._addImplicitHelpCommand=!0,this._helpCommand=$,z||J)this._initCommandGroup($);return this}addHelpCommand(z,J){if(typeof z!=="object")return this.helpCommand(z,J),this;return this._addImplicitHelpCommand=!0,this._helpCommand=z,this._initCommandGroup(z),this}_getHelpCommand(){if(this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))){if(this._helpCommand===void 0)this.helpCommand(void 0,void 0);return this._helpCommand}return null}hook(z,J){let Q=["preSubcommand","preAction","postAction"];if(!Q.includes(z))throw Error(`Unexpected value for event passed to hook : '${z}'.
15
+ Expecting one of '${Q.join("', '")}'`);if(this._lifeCycleHooks[z])this._lifeCycleHooks[z].push(J);else this._lifeCycleHooks[z]=[J];return this}exitOverride(z){if(z)this._exitCallback=z;else this._exitCallback=(J)=>{if(J.code!=="commander.executeSubCommandAsync")throw J};return this}_exit(z,J,Q){if(this._exitCallback)this._exitCallback(new H(z,J,Q));G.exit(z)}action(z){let J=(Q)=>{let X=this.registeredArguments.length,Y=Q.slice(0,X);if(this._storeOptionsAsProperties)Y[X]=this;else Y[X]=this.opts();return Y.push(this),z.apply(this,Y)};return this._actionHandler=J,this}createOption(z,J){return new S(z,J)}_callParseArg(z,J,Q,X){try{return z.parseArg(J,Q)}catch(Y){if(Y.code==="commander.invalidArgument"){let Z=`${X} ${Y.message}`;this.error(Z,{exitCode:Y.exitCode,code:Y.code})}throw Y}}_registerOption(z){let J=z.short&&this._findOption(z.short)||z.long&&this._findOption(z.long);if(J){let Q=z.long&&this._findOption(z.long)?z.long:z.short;throw Error(`Cannot add option '${z.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${Q}'
16
+ - already used by option '${J.flags}'`)}this._initOptionGroup(z),this.options.push(z)}_registerCommand(z){let J=(X)=>{return[X.name()].concat(X.aliases())},Q=J(z).find((X)=>this._findCommand(X));if(Q){let X=J(this._findCommand(Q)).join("|"),Y=J(z).join("|");throw Error(`cannot add command '${Y}' as already have command '${X}'`)}this._initCommandGroup(z),this.commands.push(z)}addOption(z){this._registerOption(z);let J=z.name(),Q=z.attributeName();if(z.defaultValue!==void 0)this.setOptionValueWithSource(Q,z.defaultValue,"default");let X=(Y,Z,$)=>{if(Y==null&&z.presetArg!==void 0)Y=z.presetArg;let _=this.getOptionValue(Q);if(Y!==null&&z.parseArg)Y=this._callParseArg(z,Y,_,Z);else if(Y!==null&&z.variadic)Y=z._collectValue(Y,_);if(Y==null)if(z.negate)Y=!1;else if(z.isBoolean()||z.optional)Y=!0;else Y="";this.setOptionValueWithSource(Q,Y,$)};if(this.on("option:"+J,(Y)=>{let Z=`error: option '${z.flags}' argument '${Y}' is invalid.`;X(Y,Z,"cli")}),z.envVar)this.on("optionEnv:"+J,(Y)=>{let Z=`error: option '${z.flags}' value '${Y}' from env '${z.envVar}' is invalid.`;X(Y,Z,"env")});return this}_optionEx(z,J,Q,X,Y){if(typeof J==="object"&&J instanceof S)throw Error("To add an Option object use addOption() instead of option() or requiredOption()");let Z=this.createOption(J,Q);if(Z.makeOptionMandatory(!!z.mandatory),typeof X==="function")Z.default(Y).argParser(X);else if(X instanceof RegExp){let $=X;X=(_,T)=>{let q=$.exec(_);return q?q[0]:T},Z.default(Y).argParser(X)}else Z.default(X);return this.addOption(Z)}option(z,J,Q,X){return this._optionEx({},z,J,Q,X)}requiredOption(z,J,Q,X){return this._optionEx({mandatory:!0},z,J,Q,X)}combineFlagAndOptionalValue(z=!0){return this._combineFlagAndOptionalValue=!!z,this}allowUnknownOption(z=!0){return this._allowUnknownOption=!!z,this}allowExcessArguments(z=!0){return this._allowExcessArguments=!!z,this}enablePositionalOptions(z=!0){return this._enablePositionalOptions=!!z,this}passThroughOptions(z=!0){return this._passThroughOptions=!!z,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(z=!0){if(this.options.length)throw Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!z,this}getOptionValue(z){if(this._storeOptionsAsProperties)return this[z];return this._optionValues[z]}setOptionValue(z,J){return this.setOptionValueWithSource(z,J,void 0)}setOptionValueWithSource(z,J,Q){if(this._storeOptionsAsProperties)this[z]=J;else this._optionValues[z]=J;return this._optionValueSources[z]=Q,this}getOptionValueSource(z){return this._optionValueSources[z]}getOptionValueSourceWithGlobals(z){let J;return this._getCommandAndAncestors().forEach((Q)=>{if(Q.getOptionValueSource(z)!==void 0)J=Q.getOptionValueSource(z)}),J}_prepareUserArgs(z,J){if(z!==void 0&&!Array.isArray(z))throw Error("first parameter to parse must be array or undefined");if(J=J||{},z===void 0&&J.from===void 0){if(G.versions?.electron)J.from="electron";let X=G.execArgv??[];if(X.includes("-e")||X.includes("--eval")||X.includes("-p")||X.includes("--print"))J.from="eval"}if(z===void 0)z=G.argv;this.rawArgs=z.slice();let Q;switch(J.from){case void 0:case"node":this._scriptPath=z[1],Q=z.slice(2);break;case"electron":if(G.defaultApp)this._scriptPath=z[1],Q=z.slice(2);else Q=z.slice(1);break;case"user":Q=z.slice(0);break;case"eval":Q=z.slice(1);break;default:throw Error(`unexpected parse option { from: '${J.from}' }`)}if(!this._name&&this._scriptPath)this.nameFromFilename(this._scriptPath);return this._name=this._name||"program",Q}parse(z,J){this._prepareForParse();let Q=this._prepareUserArgs(z,J);return this._parseCommand([],Q),this}async parseAsync(z,J){this._prepareForParse();let Q=this._prepareUserArgs(z,J);return await this._parseCommand([],Q),this}_prepareForParse(){if(this._savedState===null)this.options.filter((z)=>z.negate&&z.defaultValue===void 0&&this.getOptionValue(z.attributeName())===void 0).forEach((z)=>{let J=z.long.replace(/^--no-/,"--");if(!this._findOption(J))this.setOptionValueWithSource(z.attributeName(),!0,"default")}),this.saveStateBeforeParse();else this.restoreStateBeforeParse()}saveStateBeforeParse(){this._savedState={_name:this._name,_optionValues:{...this._optionValues},_optionValueSources:{...this._optionValueSources}}}restoreStateBeforeParse(){if(this._storeOptionsAsProperties)throw Error(`Can not call parse again when storeOptionsAsProperties is true.
17
+ - either make a new Command for each call to parse, or stop storing options as properties`);this._name=this._savedState._name,this._scriptPath=null,this.rawArgs=[],this._optionValues={...this._savedState._optionValues},this._optionValueSources={...this._savedState._optionValueSources},this.args=[],this.processedArgs=[]}_checkForMissingExecutable(z,J,Q){if(I.existsSync(z))return;let X=J?`searched for local subcommand relative to directory '${J}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",Y=`'${z}' does not exist
18
+ - if '${Q}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
19
+ - if the default executable name is not suitable, use the executableFile option to supply a custom name or path
20
+ - ${X}`;throw Error(Y)}_executeSubCommand(z,J){J=J.slice();let Q=[".js",".ts",".tsx",".mjs",".cjs"];function X(q,R){let B=U.resolve(q,R);if(I.existsSync(B))return B;if(Q.includes(U.extname(R)))return;let L=Q.find((M)=>I.existsSync(`${B}${M}`));if(L)return`${B}${L}`;return}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let Y=z._executableFile||`${this._name}-${z._name}`,Z=this._executableDir||"";if(this._scriptPath){let q;try{q=I.realpathSync(this._scriptPath)}catch{q=this._scriptPath}Z=U.resolve(U.dirname(q),Z)}if(Z){let q=X(Z,Y);if(!q&&!z._executableFile&&this._scriptPath){let R=U.basename(this._scriptPath,U.extname(this._scriptPath));if(R!==this._name)q=X(Z,`${R}-${z._name}`)}Y=q||Y}let $=Q.includes(U.extname(Y)),_;if(G.platform!=="win32")if($)J.unshift(Y),J=y(G.execArgv).concat(J),_=N.spawn(G.argv[0],J,{stdio:"inherit"});else _=N.spawn(Y,J,{stdio:"inherit"});else this._checkForMissingExecutable(Y,Z,z._name),J.unshift(Y),J=y(G.execArgv).concat(J),_=N.spawn(G.execPath,J,{stdio:"inherit"});if(!_.killed)["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach((R)=>{G.on(R,()=>{if(_.killed===!1&&_.exitCode===null)_.kill(R)})});let T=this._exitCallback;_.on("close",(q)=>{if(q=q??1,!T)G.exit(q);else T(new H(q,"commander.executeSubCommandAsync","(close)"))}),_.on("error",(q)=>{if(q.code==="ENOENT")this._checkForMissingExecutable(Y,Z,z._name);else if(q.code==="EACCES")throw Error(`'${Y}' not executable`);if(!T)G.exit(1);else{let R=new H(1,"commander.executeSubCommandAsync","(error)");R.nestedError=q,T(R)}}),this.runningCommand=_}_dispatchSubcommand(z,J,Q){let X=this._findCommand(z);if(!X)this.help({error:!0});X._prepareForParse();let Y;return Y=this._chainOrCallSubCommandHook(Y,X,"preSubcommand"),Y=this._chainOrCall(Y,()=>{if(X._executableHandler)this._executeSubCommand(X,J.concat(Q));else return X._parseCommand(J,Q)}),Y}_dispatchHelpCommand(z){if(!z)this.help();let J=this._findCommand(z);if(J&&!J._executableHandler)J.help();return this._dispatchSubcommand(z,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){if(this.registeredArguments.forEach((z,J)=>{if(z.required&&this.args[J]==null)this.missingArgument(z.name())}),this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)return;if(this.args.length>this.registeredArguments.length)this._excessArguments(this.args)}_processArguments(){let z=(Q,X,Y)=>{let Z=X;if(X!==null&&Q.parseArg){let $=`error: command-argument value '${X}' is invalid for argument '${Q.name()}'.`;Z=this._callParseArg(Q,X,Y,$)}return Z};this._checkNumberOfArguments();let J=[];this.registeredArguments.forEach((Q,X)=>{let Y=Q.defaultValue;if(Q.variadic){if(X<this.args.length){if(Y=this.args.slice(X),Q.parseArg)Y=Y.reduce((Z,$)=>{return z(Q,$,Z)},Q.defaultValue)}else if(Y===void 0)Y=[]}else if(X<this.args.length){if(Y=this.args[X],Q.parseArg)Y=z(Q,Y,Q.defaultValue)}J[X]=Y}),this.processedArgs=J}_chainOrCall(z,J){if(z?.then&&typeof z.then==="function")return z.then(()=>J());return J()}_chainOrCallHooks(z,J){let Q=z,X=[];if(this._getCommandAndAncestors().reverse().filter((Y)=>Y._lifeCycleHooks[J]!==void 0).forEach((Y)=>{Y._lifeCycleHooks[J].forEach((Z)=>{X.push({hookedCommand:Y,callback:Z})})}),J==="postAction")X.reverse();return X.forEach((Y)=>{Q=this._chainOrCall(Q,()=>{return Y.callback(Y.hookedCommand,this)})}),Q}_chainOrCallSubCommandHook(z,J,Q){let X=z;if(this._lifeCycleHooks[Q]!==void 0)this._lifeCycleHooks[Q].forEach((Y)=>{X=this._chainOrCall(X,()=>{return Y(this,J)})});return X}_parseCommand(z,J){let Q=this.parseOptions(J);if(this._parseOptionsEnv(),this._parseOptionsImplied(),z=z.concat(Q.operands),J=Q.unknown,this.args=z.concat(J),z&&this._findCommand(z[0]))return this._dispatchSubcommand(z[0],z.slice(1),J);if(this._getHelpCommand()&&z[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(z[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(J),this._dispatchSubcommand(this._defaultCommandName,z,J);if(this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName)this.help({error:!0});this._outputHelpIfRequested(Q.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let X=()=>{if(Q.unknown.length>0)this.unknownOption(Q.unknown[0])},Y=`command:${this.name()}`;if(this._actionHandler){X(),this._processArguments();let Z;if(Z=this._chainOrCallHooks(Z,"preAction"),Z=this._chainOrCall(Z,()=>this._actionHandler(this.processedArgs)),this.parent)Z=this._chainOrCall(Z,()=>{this.parent.emit(Y,z,J)});return Z=this._chainOrCallHooks(Z,"postAction"),Z}if(this.parent?.listenerCount(Y))X(),this._processArguments(),this.parent.emit(Y,z,J);else if(z.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",z,J);if(this.listenerCount("command:*"))this.emit("command:*",z,J);else if(this.commands.length)this.unknownCommand();else X(),this._processArguments()}else if(this.commands.length)X(),this.help({error:!0});else X(),this._processArguments()}_findCommand(z){if(!z)return;return this.commands.find((J)=>J._name===z||J._aliases.includes(z))}_findOption(z){return this.options.find((J)=>J.is(z))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach((z)=>{z.options.forEach((J)=>{if(J.mandatory&&z.getOptionValue(J.attributeName())===void 0)z.missingMandatoryOptionValue(J)})})}_checkForConflictingLocalOptions(){let z=this.options.filter((Q)=>{let X=Q.attributeName();if(this.getOptionValue(X)===void 0)return!1;return this.getOptionValueSource(X)!=="default"});z.filter((Q)=>Q.conflictsWith.length>0).forEach((Q)=>{let X=z.find((Y)=>Q.conflictsWith.includes(Y.attributeName()));if(X)this._conflictingOption(Q,X)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach((z)=>{z._checkForConflictingLocalOptions()})}parseOptions(z){let J=[],Q=[],X=J;function Y(q){return q.length>1&&q[0]==="-"}let Z=(q)=>{if(!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(q))return!1;return!this._getCommandAndAncestors().some((R)=>R.options.map((B)=>B.short).some((B)=>/^-\d$/.test(B)))},$=null,_=null,T=0;while(T<z.length||_){let q=_??z[T++];if(_=null,q==="--"){if(X===Q)X.push(q);X.push(...z.slice(T));break}if($&&(!Y(q)||Z(q))){this.emit(`option:${$.name()}`,q);continue}if($=null,Y(q)){let R=this._findOption(q);if(R){if(R.required){let B=z[T++];if(B===void 0)this.optionMissingArgument(R);this.emit(`option:${R.name()}`,B)}else if(R.optional){let B=null;if(T<z.length&&(!Y(z[T])||Z(z[T])))B=z[T++];this.emit(`option:${R.name()}`,B)}else this.emit(`option:${R.name()}`);$=R.variadic?R:null;continue}}if(q.length>2&&q[0]==="-"&&q[1]!=="-"){let R=this._findOption(`-${q[1]}`);if(R){if(R.required||R.optional&&this._combineFlagAndOptionalValue)this.emit(`option:${R.name()}`,q.slice(2));else this.emit(`option:${R.name()}`),_=`-${q.slice(2)}`;continue}}if(/^--[^=]+=/.test(q)){let R=q.indexOf("="),B=this._findOption(q.slice(0,R));if(B&&(B.required||B.optional)){this.emit(`option:${B.name()}`,q.slice(R+1));continue}}if(X===J&&Y(q)&&!(this.commands.length===0&&Z(q)))X=Q;if((this._enablePositionalOptions||this._passThroughOptions)&&J.length===0&&Q.length===0){if(this._findCommand(q)){J.push(q),Q.push(...z.slice(T));break}else if(this._getHelpCommand()&&q===this._getHelpCommand().name()){J.push(q,...z.slice(T));break}else if(this._defaultCommandName){Q.push(q,...z.slice(T));break}}if(this._passThroughOptions){X.push(q,...z.slice(T));break}X.push(q)}return{operands:J,unknown:Q}}opts(){if(this._storeOptionsAsProperties){let z={},J=this.options.length;for(let Q=0;Q<J;Q++){let X=this.options[Q].attributeName();z[X]=X===this._versionOptionName?this._version:this[X]}return z}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((z,J)=>Object.assign(z,J.opts()),{})}error(z,J){if(this._outputConfiguration.outputError(`${z}
21
+ `,this._outputConfiguration.writeErr),typeof this._showHelpAfterError==="string")this._outputConfiguration.writeErr(`${this._showHelpAfterError}
22
+ `);else if(this._showHelpAfterError)this._outputConfiguration.writeErr(`
23
+ `),this.outputHelp({error:!0});let Q=J||{},X=Q.exitCode||1,Y=Q.code||"commander.error";this._exit(X,Y,z)}_parseOptionsEnv(){this.options.forEach((z)=>{if(z.envVar&&z.envVar in G.env){let J=z.attributeName();if(this.getOptionValue(J)===void 0||["default","config","env"].includes(this.getOptionValueSource(J)))if(z.required||z.optional)this.emit(`optionEnv:${z.name()}`,G.env[z.envVar]);else this.emit(`optionEnv:${z.name()}`)}})}_parseOptionsImplied(){let z=new V(this.options),J=(Q)=>{return this.getOptionValue(Q)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(Q))};this.options.filter((Q)=>Q.implied!==void 0&&J(Q.attributeName())&&z.valueFromOption(this.getOptionValue(Q.attributeName()),Q)).forEach((Q)=>{Object.keys(Q.implied).filter((X)=>!J(X)).forEach((X)=>{this.setOptionValueWithSource(X,Q.implied[X],"implied")})})}missingArgument(z){let J=`error: missing required argument '${z}'`;this.error(J,{code:"commander.missingArgument"})}optionMissingArgument(z){let J=`error: option '${z.flags}' argument missing`;this.error(J,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(z){let J=`error: required option '${z.flags}' not specified`;this.error(J,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(z,J){let Q=(Z)=>{let $=Z.attributeName(),_=this.getOptionValue($),T=this.options.find((R)=>R.negate&&$===R.attributeName()),q=this.options.find((R)=>!R.negate&&$===R.attributeName());if(T&&(T.presetArg===void 0&&_===!1||T.presetArg!==void 0&&_===T.presetArg))return T;return q||Z},X=(Z)=>{let $=Q(Z),_=$.attributeName();if(this.getOptionValueSource(_)==="env")return`environment variable '${$.envVar}'`;return`option '${$.flags}'`},Y=`error: ${X(z)} cannot be used with ${X(J)}`;this.error(Y,{code:"commander.conflictingOption"})}unknownOption(z){if(this._allowUnknownOption)return;let J="";if(z.startsWith("--")&&this._showSuggestionAfterError){let X=[],Y=this;do{let Z=Y.createHelp().visibleOptions(Y).filter(($)=>$.long).map(($)=>$.long);X=X.concat(Z),Y=Y.parent}while(Y&&!Y._enablePositionalOptions);J=D(z,X)}let Q=`error: unknown option '${z}'${J}`;this.error(Q,{code:"commander.unknownOption"})}_excessArguments(z){if(this._allowExcessArguments)return;let J=this.registeredArguments.length,Q=J===1?"":"s",X=z.length,Y=this.parent?` for '${this.name()}'`:"",Z=z.join(", "),$=`error: too many arguments${Y}. Expected ${J} argument${Q} but got ${X}: ${Z}.`;this.error($,{code:"commander.excessArguments"})}unknownCommand(){let z=this.args[0],J="";if(this._showSuggestionAfterError){let X=[];this.createHelp().visibleCommands(this).forEach((Y)=>{if(X.push(Y.name()),Y.alias())X.push(Y.alias())}),J=D(z,X)}let Q=`error: unknown command '${z}'${J}`;this.error(Q,{code:"commander.unknownCommand"})}version(z,J,Q){if(z===void 0)return this._version;this._version=z,J=J||"-V, --version",Q=Q||"output the version number";let X=this.createOption(J,Q);return this._versionOptionName=X.attributeName(),this._registerOption(X),this.on("option:"+X.name(),()=>{this._outputConfiguration.writeOut(`${z}
24
+ `),this._exit(0,"commander.version",z)}),this}description(z,J){if(z===void 0&&J===void 0)return this._description;if(this._description=z,J)this._argsDescription=J;return this}summary(z){if(z===void 0)return this._summary;return this._summary=z,this}alias(z){if(z===void 0)return this._aliases[0];let J=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler)J=this.commands[this.commands.length-1];if(z===J._name)throw Error("Command alias can't be the same as its name");let Q=this.parent?._findCommand(z);if(Q){let X=[Q.name()].concat(Q.aliases()).join("|");throw Error(`cannot add alias '${z}' to command '${this.name()}' as already have command '${X}'`)}return J._aliases.push(z),this}aliases(z){if(z===void 0)return this._aliases;return z.forEach((J)=>this.alias(J)),this}usage(z){if(z===void 0){if(this._usage)return this._usage;let J=this.registeredArguments.map((Q)=>{return P(Q)});return[].concat(this.options.length||this._helpOption!==null?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?J:[]).join(" ")}return this._usage=z,this}name(z){if(z===void 0)return this._name;return this._name=z,this}helpGroup(z){if(z===void 0)return this._helpGroupHeading??"";return this._helpGroupHeading=z,this}commandsGroup(z){if(z===void 0)return this._defaultCommandGroup??"";return this._defaultCommandGroup=z,this}optionsGroup(z){if(z===void 0)return this._defaultOptionGroup??"";return this._defaultOptionGroup=z,this}_initOptionGroup(z){if(this._defaultOptionGroup&&!z.helpGroupHeading)z.helpGroup(this._defaultOptionGroup)}_initCommandGroup(z){if(this._defaultCommandGroup&&!z.helpGroup())z.helpGroup(this._defaultCommandGroup)}nameFromFilename(z){return this._name=U.basename(z,U.extname(z)),this}executableDir(z){if(z===void 0)return this._executableDir;return this._executableDir=z,this}helpInformation(z){let J=this.createHelp(),Q=this._getOutputContext(z);J.prepareContext({error:Q.error,helpWidth:Q.helpWidth,outputHasColors:Q.hasColors});let X=J.formatHelp(this,J);if(Q.hasColors)return X;return this._outputConfiguration.stripColor(X)}_getOutputContext(z){z=z||{};let J=!!z.error,Q,X,Y;if(J)Q=($)=>this._outputConfiguration.writeErr($),X=this._outputConfiguration.getErrHasColors(),Y=this._outputConfiguration.getErrHelpWidth();else Q=($)=>this._outputConfiguration.writeOut($),X=this._outputConfiguration.getOutHasColors(),Y=this._outputConfiguration.getOutHelpWidth();return{error:J,write:($)=>{if(!X)$=this._outputConfiguration.stripColor($);return Q($)},hasColors:X,helpWidth:Y}}outputHelp(z){let J;if(typeof z==="function")J=z,z=void 0;let Q=this._getOutputContext(z),X={error:Q.error,write:Q.write,command:this};this._getCommandAndAncestors().reverse().forEach((Z)=>Z.emit("beforeAllHelp",X)),this.emit("beforeHelp",X);let Y=this.helpInformation({error:Q.error});if(J){if(Y=J(Y),typeof Y!=="string"&&!Buffer.isBuffer(Y))throw Error("outputHelp callback must return a string or a Buffer")}if(Q.write(Y),this._getHelpOption()?.long)this.emit(this._getHelpOption().long);this.emit("afterHelp",X),this._getCommandAndAncestors().forEach((Z)=>Z.emit("afterAllHelp",X))}helpOption(z,J){if(typeof z==="boolean"){if(z){if(this._helpOption===null)this._helpOption=void 0;if(this._defaultOptionGroup)this._initOptionGroup(this._getHelpOption())}else this._helpOption=null;return this}if(this._helpOption=this.createOption(z??"-h, --help",J??"display help for command"),z||J)this._initOptionGroup(this._helpOption);return this}_getHelpOption(){if(this._helpOption===void 0)this.helpOption(void 0,void 0);return this._helpOption}addHelpOption(z){return this._helpOption=z,this._initOptionGroup(z),this}help(z){this.outputHelp(z);let J=Number(G.exitCode??0);if(J===0&&z&&typeof z!=="function"&&z.error)J=1;this._exit(J,"commander.help","(outputHelp)")}addHelpText(z,J){let Q=["beforeAll","before","after","afterAll"];if(!Q.includes(z))throw Error(`Unexpected value for position to addHelpText.
25
+ Expecting one of '${Q.join("', '")}'`);let X=`${z}Help`;return this.on(X,(Y)=>{let Z;if(typeof J==="function")Z=J({error:Y.error,command:Y.command});else Z=J;if(Z)Y.write(`${Z}
26
+ `)}),this}_outputHelpIfRequested(z){let J=this._getHelpOption();if(J&&z.find((X)=>J.is(X)))this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)")}}function y(z){return z.map((J)=>{if(!J.startsWith("--inspect"))return J;let Q,X="127.0.0.1",Y="9229",Z;if((Z=J.match(/^(--inspect(-brk)?)$/))!==null)Q=Z[1];else if((Z=J.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null)if(Q=Z[1],/^\d+$/.test(Z[3]))Y=Z[3];else X=Z[3];else if((Z=J.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null)Q=Z[1],X=Z[3],Y=Z[4];if(Q&&Y!=="0")return`${Q}=${X}:${parseInt(Y)+1}`;return J})}function A(){if(G.env.NO_COLOR||G.env.FORCE_COLOR==="0"||G.env.FORCE_COLOR==="false")return!1;if(G.env.FORCE_COLOR||G.env.CLICOLOR_FORCE!==void 0)return!0;return}var qz=new E;export{K as x,S as y,E as z};
@@ -0,0 +1,2 @@
1
+ import{$n as Uf,$x as g,_n as Xf,ay as Zf,cy as _f}from"./cli-1.1.10-hk2c91wp.mjs";import{AY as Wf,BY as Tf}from"./cli-1.1.10-qk19t6fd.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.10-msg7sda2.mjs";import{h4 as Qf,i4 as H,j4 as X,k4 as T}from"./cli-1.1.10-t8n5jx0z.mjs";import{l4 as Rf}from"./cli-1.1.10-c67v6p50.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.10-yzpymdrc.mjs";import{p9 as i,q9 as yf}from"./cli-1.1.10-dppcc1yx.mjs";import{Fba as w,Lda as Gf,Oea as l,Wba as Bf,Xda as Cf,hfa as Pf}from"./cli-1.1.10-m0pdck7q.mjs";import{cha as mf,kha as Of}from"./cli-1.1.10-kdvf271d.mjs";import{Jja as D,Mja as Lf}from"./cli-1.1.10-fz99ag3y.mjs";import{Usa as x,Ysa as o}from"./cli-1.1.10-gmf5w0a4.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};
@@ -0,0 +1,4 @@
1
+ import{Rg as g,Sg as Py}from"./cli-1.1.10-9jy4caft.mjs";import{Ki as s,Mi as d,Ni as $y}from"./cli-1.1.10-8fgppw70.mjs";import{Bt as Xy,HT as py,KL as Q,LL as Ry,LP as l,Mq as f,TL as n,Vq as u,ar as A,bM as vy,do as L,fo as V,ho as Y,iM as x,ir as Qy,ko as D,lT as c,lo as M,mM as Ny,ml as F,mo as C,oo as T,py as q,ql as Iy,qy as Zy,tr as E,tt as O,uo as Ky,xr as Wy}from"./cli-1.1.10-hk2c91wp.mjs";import{OX as i,PX as Oy}from"./cli-1.1.10-4xztz3b9.mjs";import{QY as _,RY as a,SY as t,WY as Uy}from"./cli-1.1.10-qk19t6fd.mjs";import{aZ as o,gZ as hy}from"./cli-1.1.10-jd00fn0g.mjs";import{Y0 as k,Z0 as Jy}from"./cli-1.1.10-msg7sda2.mjs";import{C8 as Z,L6 as m,M6 as B,V8 as zy,k7 as qy}from"./cli-1.1.10-yzpymdrc.mjs";import{p9 as p,q9 as ry}from"./cli-1.1.10-dppcc1yx.mjs";import{D$ as H,Jda as b,K$ as wy,Lea as R,M$ as X,N$ as Sy,Oda as K,Oea as w,Xda as ky,hfa as v,n$ as h,xba as j,zba as jy}from"./cli-1.1.10-m0pdck7q.mjs";import{Nha as z,Zha as Gy}from"./cli-1.1.10-dvxkr02c.mjs";import{Mka as U,Pka as yy}from"./cli-1.1.10-jn6w68wj.mjs";v();function Vy(y){let r=w().numStartups;R((G)=>{let S=G.tipsHistory??{};if(S[y]===r)return G;return{...G,tipsHistory:{...S,[y]:r}}})}function N(y){let r=w(),G=r.tipsHistory?.[y];if(!G)return 1/0;return r.numStartups-G}ry();yy();Xy();ky();hy();Jy();Py();Zy();Iy();zy();Oy();v();Qy();jy();Wy();wy();Ky();qy();Sy();Ny();vy();Ry();py();Gy();$y();Uy();var W;async function Hy(){if(W!==void 0)return W;let y=await n();return W=Q in y,W}async function P(y,r,G){if(!await Hy())return!1;if(x(`${y}@${Q}`))return!1;let{bashTools:S}=r??{};if(G.cli&&S?.size){if(G.cli.some((I)=>S.has(I)))return!0}if(G.filePath&&r?.readFileState){if(E(r.readFileState).some(($)=>G.filePath.test($)))return!0}return!1}var by=[{id:"new-user-warmup",content:async()=>"Start with small features or bug fixes, tell Claudin to propose a plan, and verify its suggested edits",cooldownSessions:3,async isRelevant(){return w().numStartups<10}},{id:"plan-mode-for-complex-tasks",content:async()=>`Use Plan Mode to prepare for a complex request before making changes. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to enable.`,cooldownSessions:5,isRelevant:async()=>{let y=w();return(y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0)>7}},{id:"default-permission-mode-config",content:async()=>"Use /config to change your default permission mode (including Plan Mode)",cooldownSessions:10,isRelevant:async()=>{try{let y=w(),r=K(),G=Boolean(y.lastPlanModeUse),S=Boolean(r?.permissions?.defaultMode);return G&&!S}catch(y){return U(`Failed to check default-permission-mode-config tip relevance: ${y}`,{level:"warn"}),!1}}},{id:"git-worktrees",content:async()=>"Use git worktrees to run multiple Claudin sessions in parallel.",cooldownSessions:10,isRelevant:async()=>{try{let y=w();return await H()<=1&&y.numStartups>50}catch(y){return!1}}},{id:"diff-reviewer",content:async()=>`Review local changes, stashes and the git log side by side — run /diff or hit ${q("chat:openDiff","Chat","ctrl+g")}.`,cooldownSessions:10,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"diff-git-log",content:async()=>`Scroll back through your git log and open any commit's diff in /diff (or hit ${q("chat:openDiff","Chat","ctrl+g")}).`,cooldownSessions:15,isRelevant:async()=>{try{return await h()}catch(y){return!1}}},{id:"file-explorer",content:async()=>`Browse and edit files without leaving the REPL — run /explorer or hit ${q("chat:openExplorer","Chat","ctrl+e")} for a file tree with a built-in nvim-style editor.`,cooldownSessions:10,isRelevant:async()=>!0},{id:"explorer-fuzzy-find",content:async()=>"Inside /explorer, press / to fuzzy-find any file by name, or @ to drop it into your prompt.",cooldownSessions:15,isRelevant:async()=>!0},{id:"explorer-create-delete",content:async()=>"Inside /explorer, press a to create, r to rename, or d to delete the selected file.",cooldownSessions:15,isRelevant:async()=>!0},{id:"bash-output-filter-token-saving",content:async()=>"Bash output filter is active — redundant command output is trimmed before reaching the model, reducing token usage. Disable in /config.",cooldownSessions:20,async isRelevant(){let y=w();return y.numStartups>5&&y.bashOutputFilterEnabled!==!1}},{id:"color-when-multi-clauding",content:async()=>"Running multiple Claudin sessions? Use /color and /rename to tell them apart at a glance.",cooldownSessions:10,isRelevant:async()=>{if(c())return!1;return await i()>=2}},{id:"terminal-setup",content:async()=>j.terminal==="Apple_Terminal"?"Run /terminal-setup to enable convenient terminal integration like Option + Enter for new line and more":"Run /terminal-setup to enable convenient terminal integration like Shift + Enter for new line and more",cooldownSessions:10,async isRelevant(){let y=w();if(j.terminal==="Apple_Terminal")return!y.optionAsMetaKeyInstalled;return!y.shiftEnterKeyBindingInstalled}},{id:"shift-enter",content:async()=>j.terminal==="Apple_Terminal"?"Press Option+Enter to send a multi-line message":"Press Shift+Enter to send a multi-line message",cooldownSessions:10,async isRelevant(){let y=w();return Boolean((j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)&&y.numStartups>3)}},{id:"shift-enter-setup",content:async()=>j.terminal==="Apple_Terminal"?"Run /terminal-setup to enable Option+Enter for new lines":"Run /terminal-setup to enable Shift+Enter for new lines",cooldownSessions:10,async isRelevant(){if(!o())return!1;let y=w();return!(j.terminal==="Apple_Terminal"?y.optionAsMetaKeyInstalled:y.shiftEnterKeyBindingInstalled)}},{id:"memory-command",content:async()=>"Use /memory to view and manage Claudin memory",cooldownSessions:15,async isRelevant(){return w().memoryUsageCount<=0}},{id:"theme-command",content:async()=>"Use /theme to change the color theme",cooldownSessions:20,isRelevant:async()=>!0},{id:"colorterm-truecolor",content:async()=>"Try setting environment variable COLORTERM=truecolor for richer colors",cooldownSessions:30,isRelevant:async()=>!process.env.COLORTERM&&p.level<3},{id:"powershell-tool-env",content:async()=>"Set CLAUDE_CODE_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>X()==="windows"&&process.env.CLAUDE_CODE_USE_POWERSHELL_TOOL===void 0},{id:"status-line",content:async()=>"Use /statusline to set up a custom status line that will display beneath the input box",cooldownSessions:25,isRelevant:async()=>K().statusLine===void 0},{id:"prompt-queue",content:async()=>"Hit Enter to queue up additional messages while Claudin is working.",cooldownSessions:5,async isRelevant(){return w().promptQueueUseCount<=3}},{id:"enter-to-steer-in-relatime",content:async()=>"Send messages to Claudin while it works to steer Claudin in real-time",cooldownSessions:20,isRelevant:async()=>!0},{id:"todo-list",content:async()=>"Ask Claudin to create a todo list when working on complex tasks to track progress and remain on track",cooldownSessions:20,isRelevant:async()=>!0},{id:"vscode-command-install",content:async()=>`Open the Command Palette (Cmd+Shift+P) and run "Shell Command: Install '${j.terminal==="vscode"?"code":j.terminal}' command in PATH" to enable IDE integration`,cooldownSessions:0,async isRelevant(){if(!L())return!1;if(X()!=="macos")return!1;switch(j.terminal){case"vscode":return!await C();case"cursor":return!await D();case"windsurf":return!await M();default:return!1}}},{id:"ide-upsell-external-terminal",content:async()=>"Connect Claudin to your IDE · /ide",cooldownSessions:4,async isRelevant(){if(V())return!1;if((await Y()).length!==0)return!1;return(await T()).length>0}},{id:"install-github-app",content:async()=>"Run /install-github-app to tag @claude right from your Github issues and PRs",cooldownSessions:10,isRelevant:async()=>!w().githubActionSetupCount},{id:"install-slack-app",content:async()=>"Run /install-slack-app to use Claude in Slack",cooldownSessions:10,isRelevant:async()=>!w().slackAppInstallCount},{id:"permissions",content:async()=>"Use /permissions to pre-approve and pre-deny bash, edit, and MCP tools",cooldownSessions:10,async isRelevant(){return w().numStartups>10}},{id:"drag-and-drop-images",content:async()=>"Did you know you can drag and drop image files into your terminal?",cooldownSessions:10,isRelevant:async()=>!j.isSSH()},{id:"paste-images-mac",content:async()=>"Paste images into Claudin using control+v (not cmd+v!)",cooldownSessions:10,isRelevant:async()=>X()==="macos"},{id:"double-esc",content:async()=>"Double-tap esc to rewind the conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>!O()},{id:"double-esc-code-restore",content:async()=>"Double-tap esc to rewind the code and/or conversation to a previous point in time",cooldownSessions:10,isRelevant:async()=>O()},{id:"continue",content:async()=>"Run claudin --continue or claudin --resume to resume a conversation",cooldownSessions:10,isRelevant:async()=>!0},{id:"rename-conversation",content:async()=>"Name your conversations with /rename to find them easily in /resume later",cooldownSessions:15,isRelevant:async()=>l()&&w().numStartups>10},{id:"custom-commands",content:async()=>"Create skills by adding .md files to .claudin/skills/ in your project or ~/.claudin/skills/ for skills that work in any project",cooldownSessions:15,async isRelevant(){return w().numStartups>10}},{id:"shift-tab",content:async()=>`Hit ${q("chat:cycleMode","Chat","shift+tab")} to cycle between default mode, auto-accept edit mode, and plan mode`,cooldownSessions:10,isRelevant:async()=>!0},{id:"image-paste",content:async()=>`Use ${q("chat:imagePaste","Chat","ctrl+v")} to paste images from your clipboard`,cooldownSessions:20,isRelevant:async()=>!0},{id:"custom-agents",content:async()=>"Use /agents to optimize specific tasks. Eg. Software Architect, Code Writer, Code Reviewer",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"agent-flag",content:async()=>"Use --agent <agent_name> to directly start a conversation with a subagent",cooldownSessions:15,async isRelevant(){return w().numStartups>5}},{id:"opusplan-mode-reminder",content:async()=>`Your default model setting is Opus Plan Mode. Press ${q("chat:cycleMode","Chat","shift+tab")} twice to activate Plan Mode and plan with Claude Opus.`,cooldownSessions:2,async isRelevant(){let y=w(),G=m()==="opusplan",S=y.lastPlanModeUse?(Date.now()-y.lastPlanModeUse)/86400000:1/0;return G&&S>3}},{id:"frontend-design-plugin",content:async(y)=>{return`Working with HTML/CSS? Install the frontend-design plugin:
2
+ ${k("suggestion",y.theme)(`/plugin install frontend-design@${Q}`)}`},cooldownSessions:3,isRelevant:async(y)=>P("frontend-design",y,{filePath:/\.(html|css|htm)$/i})},{id:"vercel-plugin",content:async(y)=>{return`Working with Vercel? Install the vercel plugin:
3
+ ${k("suggestion",y.theme)(`/plugin install vercel@${Q}`)}`},cooldownSessions:3,isRelevant:async(y)=>P("vercel",y,{filePath:/(?:^|[/\\])vercel\.json$/i,cli:["vercel"]})},{id:"effort-high-nudge",content:async(y)=>{let G=k("suggestion",y.theme)("/effort high");return z("tengu_tide_elm","off")==="copy_b"?`Use ${G} for better one-shot answers. Claudin thinks it through first.`:`Working on something tricky? ${G} gives better first answers`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;if(!f(B()))return!1;if(b("policySettings")?.effortLevel!==void 0)return!1;if(A()!==void 0)return!1;let y=u();if(y==="high"||y==="max")return!1;return z("tengu_tide_elm","off")!=="off"}},{id:"subagent-fanout-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_tern_alloy","off")==="copy_b"?`For big tasks, tell Claudin to ${r("use subagents")}. They work in parallel and keep your main thread clean.`:`Say ${r('"fan out subagents"')} and Claudin sends a team. Each one digs deep so nothing gets missed.`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;return z("tengu_tern_alloy","off")!=="off"}},{id:"loop-command-nudge",content:async(y)=>{let r=k("suggestion",y.theme);return z("tengu_timber_lark","off")==="copy_b"?`Use ${r("/loop 5m check the deploy")} to run any prompt on a schedule. Set it and forget it.`:`${r("/loop")} runs any prompt on a recurring schedule. Great for monitoring deploys, babysitting PRs, or polling status.`},cooldownSessions:3,isRelevant:async()=>{if(!Z())return!1;if(!F())return!1;return z("tengu_timber_lark","off")!=="off"}},{id:"guest-passes",content:async(y)=>{let r=k("claude",y.theme),G=t();return G?`Share Claudin and earn ${r(a(G))} of extra usage · ${r("/passes")}`:`You have free guest passes to share · ${r("/passes")}`},cooldownSessions:3,isRelevant:async()=>{if(w().hasVisitedPasses)return!1;let{eligible:r}=_();return r}},{id:"overage-credit",content:async(y)=>{let r=k("claude",y.theme),G=s(),S=G?d(G):null;if(!S)return"";return`${r(`${S} in extra usage, on us`)} · third-party apps · ${r("/extra-usage")}`},cooldownSessions:3,isRelevant:async()=>g()},{id:"feedback-command",content:async()=>"Use /feedback to help us improve!",cooldownSessions:15,async isRelevant(){return w().numStartups>5}}],my=[];function By(){let r=K().spinnerTipsOverride;if(!r?.tips?.length)return[];return r.tips.map((G,S)=>({id:`custom-tip-${S}`,content:async()=>G,cooldownSessions:0,isRelevant:async()=>!0}))}async function kr(y){let G=K().spinnerTipsOverride,S=By();if(G?.excludeDefault&&S.length>0)return S;let I=[...by,...my],$=await Promise.all(I.map((J)=>J.isRelevant(y)));return[...I.filter((J,e)=>$[e]).filter((J)=>N(J.id)>=J.cooldownSessions),...S]}
4
+ export{Vy as _a,N as $a,kr as ab};
@@ -0,0 +1,2 @@
1
+ import{Ysa as $}from"./cli-1.1.10-gmf5w0a4.mjs";function w(z){return z>=48&&z<=126}var d,Y="\x1B",h="\x07",j=";",H;var L=$(()=>{d={NUL:0,SOH:1,STX:2,ETX:3,EOT:4,ENQ:5,ACK:6,BEL:7,BS:8,HT:9,LF:10,VT:11,FF:12,CR:13,SO:14,SI:15,DLE:16,DC1:17,DC2:18,DC3:19,DC4:20,NAK:21,SYN:22,ETB:23,CAN:24,EM:25,SUB:26,ESC:27,FS:28,GS:29,RS:30,US:31,DEL:127},H={CSI:91,OSC:93,DCS:80,APC:95,PM:94,SOS:88,ST:92}});function x(z){return z>=Z.PARAM_START&&z<=Z.PARAM_END}function A(z){return z>=Z.INTERMEDIATE_START&&z<=Z.INTERMEDIATE_END}function N(z){return z>=Z.FINAL_START&&z<=Z.FINAL_END}function J(...z){if(z.length===0)return B;if(z.length===1)return`${B}${z[0]}`;let Q=z.slice(0,-1),V=z[z.length-1];return`${B}${Q.join(j)}${V}`}function k(z=1){return z===0?"":J(z,"A")}function X(z=1){return z===0?"":J(z,"B")}function D(z=1){return z===0?"":J(z,"C")}function M(z=1){return z===0?"":J(z,"D")}function R(z){return J(z,"G")}function C(z,Q){return J(z,Q,"H")}function b(z,Q){let V="";if(z<0)V+=M(-z);else if(z>0)V+=D(z);if(Q<0)V+=k(-Q);else if(Q>0)V+=X(Q);return V}function S(){return J("K")}function o(z){if(z<=0)return"";let Q="";for(let V=0;V<z;V++)if(Q+=F,V<z-1)Q+=k(1);return Q+=W,Q}function E(z=1){return z===0?"":J(z,"S")}function y(z=1){return z===0?"":J(z,"T")}function a(z,Q){return J(z,Q,"r")}var B,Z,g,I,_,u,W,q,F,K,l,c,t,n,i,r,e,s,zz,Jz;var v=$(()=>{L();B=Y+String.fromCharCode(H.CSI),Z={PARAM_START:48,PARAM_END:63,INTERMEDIATE_START:32,INTERMEDIATE_END:47,FINAL_START:64,FINAL_END:126};g={CUU:65,CUD:66,CUF:67,CUB:68,CNL:69,CPL:70,CHA:71,CUP:72,CHT:73,VPA:100,HVP:102,ED:74,EL:75,ECH:88,IL:76,DL:77,ICH:64,DCH:80,SU:83,SD:84,SM:104,RM:108,SGR:109,DSR:110,DECSCUSR:113,DECSTBM:114,SCOSC:115,SCORC:117,CBT:90},I=["toEnd","toStart","all","scrollback"],_=["toEnd","toStart","all"],u=[{style:"block",blinking:!0},{style:"block",blinking:!0},{style:"block",blinking:!1},{style:"underline",blinking:!0},{style:"underline",blinking:!1},{style:"bar",blinking:!0},{style:"bar",blinking:!1}];W=J("G");q=J("H");F=J(2,"K"),K=J(2,"J"),l=J(3,"J");c=J("r"),t=J("200~"),n=J("201~"),i=J("I"),r=J("O"),e=J(">1u"),s=J("<u"),zz=J(">4;2m"),Jz=J(">4m")});function U(){return process.platform==="win32"&&!!process.env.WT_SESSION}function p(){if(process.env.TERM_PROGRAM==="mintty")return!0;if(process.platform==="win32"&&process.env.MSYSTEM)return!0;return!1}function G(){if(U())return!0;if(process.platform==="win32"&&process.env.TERM_PROGRAM==="vscode"&&process.env.TERM_PROGRAM_VERSION)return!0;if(p())return!0;return!1}function T(){if(process.platform==="win32"&&!G())return K+P;return K+q}var P,Zz;var f=$(()=>{v();P=J(0,"f");Zz=T()});
2
+ export{d as L1,Y as M1,h as N1,j as O1,H as P1,w as Q1,L as R1,x as S1,A as T1,N as U1,J as V1,g as W1,I as X1,_ as Y1,u as Z1,R as _1,C as $1,q as a2,b as b2,S as c2,K as d2,o as e2,E as f2,y as g2,a as h2,c as i2,t as j2,n as k2,i as l2,r as m2,e as n2,s as o2,zz as p2,Jz as q2,v as r2,T as s2,Zz as t2,f as u2};
@@ -0,0 +1,2 @@
1
+ import{$n as G,_n as M,rG as A,tG as O}from"./cli-1.1.10-hk2c91wp.mjs";import{BZ as U,F1 as W,_0 as w,a1 as d,e1 as v}from"./cli-1.1.10-msg7sda2.mjs";import{i4 as i,j4 as a,k4 as S}from"./cli-1.1.10-t8n5jx0z.mjs";import{l4 as N}from"./cli-1.1.10-c67v6p50.mjs";import{Vea as I,hfa as P}from"./cli-1.1.10-m0pdck7q.mjs";import{Jja as h,Mja as L}from"./cli-1.1.10-fz99ag3y.mjs";import{Usa as b,Ysa as B}from"./cli-1.1.10-gmf5w0a4.mjs";function V(t){let e=T.c(18),{onDone:g,isStandaloneDialog:D,externalIncludes:r}=t,s;if(e[0]===Symbol.for("react.memo_cache_sentinel"))s=[],e[0]=s;else s=e[0];k.default.useEffect(q,s);let c;if(e[1]!==g)c=(E)=>{if(E==="no")h("tengu_claude_md_external_includes_dialog_declined",{}),I($);else h("tengu_claude_md_external_includes_dialog_accepted",{}),I(Y);g()},e[1]=g,e[2]=c;else c=e[2];let l=c,u;if(e[3]!==l)u=()=>{l("no")},e[3]=l,e[4]=u;else u=e[4];let y=u,C=!D,x=!D,m;if(e[5]===Symbol.for("react.memo_cache_sentinel"))m=i(d,{children:"This project's CLAUDE.md imports files outside the current working directory. Never allow this for third-party repositories."}),e[5]=m;else m=e[5];let o;if(e[6]!==r)o=r&&r.length>0&&a(w,{flexDirection:"column",children:[i(d,{dimColor:!0,children:"External imports:"}),r.map(R)]}),e[6]=r,e[7]=o;else o=e[7];let p;if(e[8]===Symbol.for("react.memo_cache_sentinel"))p=a(d,{dimColor:!0,children:["Important: Only use Claudin with files you trust. Accessing untrusted files may pose security risks"," ",i(v,{url:"https://code.claude.com/docs/en/security"})," "]}),e[8]=p;else p=e[8];let f;if(e[9]===Symbol.for("react.memo_cache_sentinel"))f=[{label:"Yes, allow external imports",value:"yes"},{label:"No, disable external imports",value:"no"}],e[9]=f;else f=e[9];let n;if(e[10]!==l)n=i(A,{options:f,onChange:(E)=>l(E)}),e[10]=l,e[11]=n;else n=e[11];let _;if(e[12]!==y||e[13]!==n||e[14]!==C||e[15]!==x||e[16]!==o)_=a(M,{title:"Allow external CLAUDE.md file imports?",color:"warning",onCancel:y,hideBorder:C,hideInputGuide:x,children:[m,o,p,n]}),e[12]=y,e[13]=n,e[14]=C,e[15]=x,e[16]=o,e[17]=_;else _=e[17];return _}function R(t,e){return a(d,{dimColor:!0,children:[" ",t.path]},e)}function Y(t){return{...t,hasClaudeMdExternalIncludesApproved:!0,hasClaudeMdExternalIncludesWarningShown:!0}}function $(t){return{...t,hasClaudeMdExternalIncludesApproved:!1,hasClaudeMdExternalIncludesWarningShown:!0}}function q(){h("tengu_claude_md_includes_dialog_shown",{})}var T,k;var z=B(()=>{L();W();P();O();G();S();T=b(U(),1),k=b(N(),1)});
2
+ export{V as Kg,z as Lg};
@@ -0,0 +1,3 @@
1
+ import{Jc as m,Kc as v,Lc as wk}from"./cli-1.1.10-hhkgpzgz.mjs";import{CG as n,DG as V,EG as i,GS as r,HG as Tk,HS as kk,LO as o,LS as jk,Mn as p,NO as t,Nn as zk,QO as Dk,UO as e,VO as Uk,WA as s,XA as Gk,bF as g,cF as a,kF as Lk,yz as l,zz as Vk}from"./cli-1.1.10-hk2c91wp.mjs";import{C5 as d,E5 as Ok,c5 as T,i5 as Jk}from"./cli-1.1.10-yzpymdrc.mjs";import{$8 as f,a9 as Ik,k9 as c,n9 as Mk}from"./cli-1.1.10-syrhp8d1.mjs";import{h_ as S,m_ as _k}from"./cli-1.1.10-cn0a8vwn.mjs";import{$ea as u,H_ as K,J_ as Zk,Jda as j,O$ as P,Oea as x,S$ as $k,Sea as b,Xda as Kk,hfa as $,sga as _,vga as Hk}from"./cli-1.1.10-m0pdck7q.mjs";import{pha as J,tha as Yk}from"./cli-1.1.10-kdvf271d.mjs";import{Hja as L,Ija as Bk}from"./cli-1.1.10-2wkvf65f.mjs";import{Mka as B,Pja as O,Pka as U,Rja as Rk}from"./cli-1.1.10-jn6w68wj.mjs";import{ela as h,kla as Y,rla as Xk}from"./cli-1.1.10-e7wxspgz.mjs";import{Hla as Wk,xla as E}from"./cli-1.1.10-49bvng33.mjs";import{Koa as F,Moa as y,apa as w,kra as z}from"./cli-1.1.10-f00rps59.mjs";import{Jra as A,Kra as Qk}from"./cli-1.1.10-j20txpzn.mjs";import{Zsa as W}from"./cli-1.1.10-gmf5w0a4.mjs";Yk();z();$();Qk();z();z();Vk();Ok();Lk();Tk();Bk();Hk();Jk();var G=!1;function D(){if(G)return;if(G=!0,T()!=="firstParty")return;let k=_()?.transport;if(k==="bedrock"||k==="vertex"||k==="foundry")return;if(process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||process.env.ANTHROPIC_UNIX_SOCKET||process.env.CLAUDE_CODE_CLIENT_CERT||process.env.CLAUDE_CODE_CLIENT_KEY)return;let q=_(),N=(q?.transport==="anthropic"?q.baseUrl:void 0)||L().BASE_API_URL;fetch(N,{method:"HEAD",signal:AbortSignal.timeout(1e4)}).catch(()=>{})}$();U();Kk();function C(){if(process.env.NODE_EXTRA_CA_CERTS)return;let k=Nk();if(k)process.env.NODE_EXTRA_CA_CERTS=k,B(`CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${k}`)}function Nk(){try{let q=x()?.env,Q=j("userSettings")?.env;B(`CA certs: Config fallback - globalEnv keys: ${q?Object.keys(q).join(","):"none"}, settingsEnv keys: ${Q?Object.keys(Q).join(","):"none"}`);let R=Q?.NODE_EXTRA_CA_CERTS||q?.NODE_EXTRA_CA_CERTS;if(R)B(`CA certs: Found NODE_EXTRA_CA_CERTS in config/settings: ${R}`);return R}catch(k){B(`CA certs: Config fallback failed: ${k}`,{level:"error"});return}}Rk();$();U();_k();Zk();zk();Wk();Xk();jk();wk();Ik();Dk();Mk();Uk();Gk();$k();var I=!1,Yq=A(async()=>{let k=Date.now();K("info","init_started"),J("init_function_start");try{let q=Date.now();b(),K("info","init_configs_enabled",{duration_ms:Date.now()-q}),J("init_configs_enabled");let N=Date.now();if(m(),C(),K("info","init_safe_env_vars_applied",{duration_ms:Date.now()-N}),J("init_safe_env_vars_applied"),r(),J("init_after_graceful_shutdown"),Promise.all([import("./firstPartyEventLogger-1.1.10-909y3hrr.mjs"),import("./growthbook-1.1.10-jb56c9h4.mjs")]).then(([H,X])=>{H.initialize1PEventLogging(),X.onGrowthBookRefresh(()=>{H.reinitialize1PEventLoggingIfConfigChanged()})}),J("init_after_1p_event_logging"),d(),J("init_after_oauth_populate"),p(),J("init_after_jetbrains_detection"),S(),V())n();if(a())g();J("init_after_remote_settings_check"),u();let Q=Date.now();B("[init] configureGlobalMTLS starting"),f(),K("info","init_mtls_configured",{duration_ms:Date.now()-Q}),B("[init] configureGlobalMTLS complete");let R=Date.now();if(B("[init] configureGlobalAgents starting"),c(),K("info","init_proxy_configured",{duration_ms:Date.now()-R}),B("[init] configureGlobalAgents complete"),J("init_network_configured"),D(),E(process.env.CLAUDE_CODE_REMOTE))try{let{initUpstreamProxy:H,getUpstreamProxyEnv:X}=await import("./upstreamproxy-1.1.10-80kjt167.mjs"),{registerUpstreamProxyEnvFn:Z}=await import("./subprocessEnv-1.1.10-whznjthj.mjs");Z(X),await H()}catch(H){B(`[init] upstreamproxy init failed: ${H instanceof Error?H.message:String(H)}; continuing without proxy`,{level:"warn"})}if(P(),O(l),O(async()=>{let{cleanupSessionTeams:H}=await import("./teamHelpers-1.1.10-3a06a8cd.mjs");await H()}),o()){let H=Date.now();await t(),K("info","init_scratchpad_created",{duration_ms:Date.now()-H})}K("info","init_completed",{duration_ms:Date.now()-k}),J("init_function_end")}catch(q){if(q instanceof h){if(w()){process.stderr.write(`Configuration error in ${q.filePath}: ${q.message}
2
+ `),kk(1);return}return import("./InvalidConfigDialog-1.1.10-xbvct858.mjs").then((N)=>N.showInvalidConfigDialog({error:q}))}else throw q}});function Zq(){if(V()){if(w()&&e())M().catch((k)=>{B(`[3P telemetry] Eager telemetry init failed (beta tracing): ${Y(k)}`,{level:"error"})});B("[3P telemetry] Waiting for remote managed settings before telemetry init"),i().then(async()=>{B("[3P telemetry] Remote managed settings loaded, initializing telemetry"),v(),await M()}).catch((k)=>{B(`[3P telemetry] Telemetry init failed (remote settings path): ${Y(k)}`,{level:"error"})})}else M().catch((k)=>{B(`[3P telemetry] Telemetry init failed: ${Y(k)}`,{level:"error"})})}async function M(){if(I)return;I=!0;try{await xk()}catch(k){throw I=!1,k}}async function xk(){let{initializeTelemetry:k}=await import("./instrumentation-1.1.10-fxcjzzc0.mjs"),q=await k();if(q)F(q,(Q,R)=>{let H=q?.createCounter(Q,R);return{add(X,Z={}){let qk={...s(),...Z};H?.add(X,qk)}}}),y()?.add(1)}
3
+ export{Yq as _,Zq as $};
@@ -0,0 +1,2 @@
1
+ import{$i as M,AO as O,BO as P,CO as Q,DO as U,GO as X,aj as W}from"./cli-1.1.10-hk2c91wp.mjs";import{Ysa as V}from"./cli-1.1.10-gmf5w0a4.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
2
+ export{F as rg,$ as sg};