@claudiolabs/claudin 1.1.26 → 1.1.27

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 (914) hide show
  1. package/dist/chunks/AgentTool-1.1.27-db5m9gzv.mjs +1 -0
  2. package/dist/chunks/App-1.1.27-jz9pzpv7.mjs +1 -0
  3. package/dist/chunks/ApproveApiKey-1.1.27-b5mwy6bs.mjs +1 -0
  4. package/dist/chunks/AssistantSessionChooser-1.1.27-2kwhe57h.mjs +1 -0
  5. package/dist/chunks/AutoModeOptInDialog-1.1.27-g5rhes32.mjs +1 -0
  6. package/dist/chunks/BypassPermissionsModeDialog-1.1.27-jxn4ptdz.mjs +1 -0
  7. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.27-2veddc9s.mjs +1 -0
  8. package/dist/chunks/ConsoleOAuthFlow-1.1.27-mt31pcwm.mjs +1 -0
  9. package/dist/chunks/DiffDialog-1.1.27-ts2drs72.mjs +6 -0
  10. package/dist/chunks/Doctor-1.1.27-mh9ttzx4.mjs +1 -0
  11. package/dist/chunks/ExplorerDialog-1.1.27-qh4nye9z.mjs +6 -0
  12. package/dist/chunks/ITermBackend-1.1.27-054hfzze.mjs +1 -0
  13. package/dist/chunks/InvalidConfigDialog-1.1.27-gyk98cx3.mjs +1 -0
  14. package/dist/chunks/InvalidSettingsDialog-1.1.27-agv9khdv.mjs +1 -0
  15. package/dist/chunks/MigrationDialog-1.1.27-fhzyv0es.mjs +1 -0
  16. package/dist/chunks/Onboarding-1.1.27-e7a3yzxe.mjs +1 -0
  17. package/dist/chunks/ProviderManager-1.1.27-zc2zrqpt.mjs +1 -0
  18. package/dist/chunks/REPL-1.1.27-zm25dsxc.mjs +1 -0
  19. package/dist/chunks/ResumeConversation-1.1.27-93vdmd0g.mjs +1 -0
  20. package/dist/chunks/SnapshotUpdateDialog-1.1.27-rcmc5990.mjs +1 -0
  21. package/dist/chunks/TeleportProgress-1.1.27-7mwc4ntd.mjs +1 -0
  22. package/dist/chunks/TeleportRepoMismatchDialog-1.1.27-jyjyshza.mjs +1 -0
  23. package/dist/chunks/TeleportResumeWrapper-1.1.27-g4s9ej88.mjs +1 -0
  24. package/dist/chunks/TmuxBackend-1.1.27-bfqad2sg.mjs +9 -0
  25. package/dist/chunks/ToolSearchTool-1.1.27-b39dysny.mjs +1 -0
  26. package/dist/chunks/TrustDialog-1.1.27-nerfy2hh.mjs +1 -0
  27. package/dist/chunks/activeProvider-1.1.27-7akd7pzq.mjs +1 -0
  28. package/dist/chunks/add-dir-1.1.27-jfd8t81g.mjs +1 -0
  29. package/dist/chunks/agentTypes-1.1.27-gvc8sgz1.mjs +1 -0
  30. package/dist/chunks/agents-1.1.27-pdcva4bt.mjs +110 -0
  31. package/dist/chunks/agents-1.1.27-vdvjpsev.mjs +3 -0
  32. package/dist/chunks/api-1.1.27-v0jrrv5d.mjs +1 -0
  33. package/dist/chunks/asciicast-1.1.27-a6ydv5ce.mjs +1 -0
  34. package/dist/chunks/assistant-1.1.27-gazcm6s7.mjs +1 -0
  35. package/dist/chunks/auth-1.1.27-d561ngfq.mjs +1 -0
  36. package/dist/chunks/auth-1.1.27-gp1b9bvj.mjs +1 -0
  37. package/dist/chunks/autoMode-1.1.27-187c13xb.mjs +52 -0
  38. package/dist/chunks/autoModeSetup-1.1.27-v3ap18cy.mjs +44 -0
  39. package/dist/chunks/autoUpdater-1.1.27-hty6t0t8.mjs +1 -0
  40. package/dist/chunks/backgroundHousekeeping-1.1.27-efmykd33.mjs +1 -0
  41. package/dist/chunks/branch-1.1.27-d16zzy8m.mjs +4 -0
  42. package/dist/chunks/bridge-1.1.27-3znqrqgh.mjs +2 -0
  43. package/dist/chunks/bridgeConfig-1.1.27-bbn4xfe7.mjs +1 -0
  44. package/dist/chunks/bridgeEnabled-1.1.27-hky0jg83.mjs +1 -0
  45. package/dist/chunks/bridgeMain-1.1.27-j9tfnew8.mjs +88 -0
  46. package/dist/chunks/bridgePointer-1.1.27-95k3w0tb.mjs +1 -0
  47. package/dist/chunks/btw-1.1.27-wx6yv865.mjs +1 -0
  48. package/dist/chunks/buddy-1.1.27-9afpekx4.mjs +3 -0
  49. package/dist/chunks/cache-probe-1.1.27-f84tajyp.mjs +21 -0
  50. package/dist/chunks/cacheStats-1.1.27-g9qwr4y9.mjs +4 -0
  51. package/dist/chunks/caches-1.1.27-fw7fsfx6.mjs +1 -0
  52. package/dist/chunks/cd-1.1.27-y9t4zyf7.mjs +3 -0
  53. package/dist/chunks/claudeDesktop-1.1.27-182n35a2.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.27-gp9ndxg8.mjs +1 -0
  55. package/dist/chunks/clear-1.1.27-rrvq1asb.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.27-6esk4j27.mjs +1 -0
  57. package/dist/chunks/cli-1.1.27-090g18py.mjs +2 -0
  58. package/dist/chunks/cli-1.1.27-0h1xdjxp.mjs +2 -0
  59. package/dist/chunks/cli-1.1.27-0rz9qd34.mjs +4 -0
  60. package/dist/chunks/cli-1.1.27-0wv0k9sb.mjs +2 -0
  61. package/dist/chunks/cli-1.1.27-14xp8pk4.mjs +2 -0
  62. package/dist/chunks/cli-1.1.27-1hdrfsqd.mjs +2 -0
  63. package/dist/chunks/cli-1.1.27-1qrkn0zf.mjs +25 -0
  64. package/dist/chunks/cli-1.1.27-1rztfj2j.mjs +2 -0
  65. package/dist/chunks/cli-1.1.27-1vmmkyhn.mjs +3 -0
  66. package/dist/chunks/cli-1.1.27-1yvzf2v8.mjs +2 -0
  67. package/dist/chunks/cli-1.1.27-1yyef8w3.mjs +2 -0
  68. package/dist/chunks/cli-1.1.27-1ztbchyz.mjs +2 -0
  69. package/dist/chunks/cli-1.1.27-22f6jd6a.mjs +2 -0
  70. package/dist/chunks/cli-1.1.27-2922x4n2.mjs +5 -0
  71. package/dist/chunks/cli-1.1.27-2e7wwbbp.mjs +2 -0
  72. package/dist/chunks/cli-1.1.27-2mtc2dbf.mjs +2 -0
  73. package/dist/chunks/cli-1.1.27-3cjhx8c4.mjs +4 -0
  74. package/dist/chunks/cli-1.1.27-3eax0jv3.mjs +6 -0
  75. package/dist/chunks/cli-1.1.27-3mpdw95c.mjs +2 -0
  76. package/dist/chunks/cli-1.1.27-3qx1npht.mjs +2 -0
  77. package/dist/chunks/cli-1.1.27-42wr3qtg.mjs +2 -0
  78. package/dist/chunks/cli-1.1.27-48ezce33.mjs +206 -0
  79. package/dist/chunks/cli-1.1.27-4an77vdm.mjs +2 -0
  80. package/dist/chunks/cli-1.1.27-4ch8wq6c.mjs +3 -0
  81. package/dist/chunks/cli-1.1.27-4cjm0m5c.mjs +24 -0
  82. package/dist/chunks/cli-1.1.27-4pm4y79r.mjs +2 -0
  83. package/dist/chunks/cli-1.1.27-4xegg6js.mjs +2 -0
  84. package/dist/chunks/cli-1.1.27-51sqdnt6.mjs +2 -0
  85. package/dist/chunks/cli-1.1.27-55evh9sy.mjs +21 -0
  86. package/dist/chunks/cli-1.1.27-575dbhvc.mjs +2 -0
  87. package/dist/chunks/cli-1.1.27-5jvkkbcy.mjs +2 -0
  88. package/dist/chunks/cli-1.1.27-5vejs4bz.mjs +3 -0
  89. package/dist/chunks/cli-1.1.27-6dm0tj1c.mjs +2 -0
  90. package/dist/chunks/cli-1.1.27-6f5wmt15.mjs +2 -0
  91. package/dist/chunks/cli-1.1.27-6g67vpnz.mjs +2 -0
  92. package/dist/chunks/cli-1.1.27-6s7e0eyt.mjs +2 -0
  93. package/dist/chunks/cli-1.1.27-6spv5ha8.mjs +60 -0
  94. package/dist/chunks/cli-1.1.27-704q0rhh.mjs +2 -0
  95. package/dist/chunks/cli-1.1.27-79504h3t.mjs +2 -0
  96. package/dist/chunks/cli-1.1.27-7a101p3z.mjs +2 -0
  97. package/dist/chunks/cli-1.1.27-7gnbh46g.mjs +2 -0
  98. package/dist/chunks/cli-1.1.27-7hws4y92.mjs +4 -0
  99. package/dist/chunks/cli-1.1.27-7jakzfss.mjs +24 -0
  100. package/dist/chunks/cli-1.1.27-7jc0gzqt.mjs +4 -0
  101. package/dist/chunks/cli-1.1.27-7wrz865m.mjs +2 -0
  102. package/dist/chunks/cli-1.1.27-7zpnm6dn.mjs +2 -0
  103. package/dist/chunks/cli-1.1.27-83exfkej.mjs +2 -0
  104. package/dist/chunks/cli-1.1.27-8em170zt.mjs +2 -0
  105. package/dist/chunks/cli-1.1.27-8fve969w.mjs +2 -0
  106. package/dist/chunks/cli-1.1.27-8gsqhqyf.mjs +42 -0
  107. package/dist/chunks/cli-1.1.27-8vkygf4q.mjs +2 -0
  108. package/dist/chunks/cli-1.1.27-8vrv0ver.mjs +2 -0
  109. package/dist/chunks/cli-1.1.27-8zkr609d.mjs +4 -0
  110. package/dist/chunks/cli-1.1.27-91eh3cyz.mjs +3 -0
  111. package/dist/chunks/cli-1.1.27-9427t707.mjs +2 -0
  112. package/dist/chunks/cli-1.1.27-94qc7asn.mjs +2 -0
  113. package/dist/chunks/cli-1.1.27-96ccvbyj.mjs +2 -0
  114. package/dist/chunks/cli-1.1.27-96yksxag.mjs +2 -0
  115. package/dist/chunks/cli-1.1.27-98bpezgc.mjs +45 -0
  116. package/dist/chunks/cli-1.1.27-9chfrr9e.mjs +2 -0
  117. package/dist/chunks/cli-1.1.27-9d0bkxf6.mjs +15 -0
  118. package/dist/chunks/cli-1.1.27-9m09gcqr.mjs +2 -0
  119. package/dist/chunks/cli-1.1.27-9sswt66t.mjs +12 -0
  120. package/dist/chunks/cli-1.1.27-a454a3rb.mjs +2 -0
  121. package/dist/chunks/cli-1.1.27-aahmf6wc.mjs +2 -0
  122. package/dist/chunks/cli-1.1.27-b0s2nhr1.mjs +24 -0
  123. package/dist/chunks/cli-1.1.27-b3bkjfyh.mjs +2 -0
  124. package/dist/chunks/cli-1.1.27-b42yen3p.mjs +2 -0
  125. package/dist/chunks/cli-1.1.27-bpbp93hw.mjs +2 -0
  126. package/dist/chunks/cli-1.1.27-bwc1f1yx.mjs +15 -0
  127. package/dist/chunks/cli-1.1.27-byba8306.mjs +20 -0
  128. package/dist/chunks/cli-1.1.27-byxgdj3w.mjs +2 -0
  129. package/dist/chunks/cli-1.1.27-cth2wwrh.mjs +2 -0
  130. package/dist/chunks/cli-1.1.27-cth3rq9k.mjs +2 -0
  131. package/dist/chunks/cli-1.1.27-cw1p9ac2.mjs +3 -0
  132. package/dist/chunks/cli-1.1.27-cw9bqwta.mjs +2 -0
  133. package/dist/chunks/cli-1.1.27-cxy3fqs0.mjs +2 -0
  134. package/dist/chunks/cli-1.1.27-d0k9rgj1.mjs +2 -0
  135. package/dist/chunks/cli-1.1.27-d1zgycfk.mjs +2 -0
  136. package/dist/chunks/cli-1.1.27-d4km9s81.mjs +2 -0
  137. package/dist/chunks/cli-1.1.27-d4w9gqgs.mjs +50 -0
  138. package/dist/chunks/cli-1.1.27-d5q76t7c.mjs +3 -0
  139. package/dist/chunks/cli-1.1.27-d7r6x0ew.mjs +2 -0
  140. package/dist/chunks/cli-1.1.27-dfww0knt.mjs +2 -0
  141. package/dist/chunks/cli-1.1.27-dhzbmaf3.mjs +2 -0
  142. package/dist/chunks/cli-1.1.27-e2p4abq5.mjs +2 -0
  143. package/dist/chunks/cli-1.1.27-e53f6at7.mjs +2 -0
  144. package/dist/chunks/cli-1.1.27-eag2dgb4.mjs +2 -0
  145. package/dist/chunks/cli-1.1.27-es2rn3j6.mjs +2 -0
  146. package/dist/chunks/cli-1.1.27-eypype7d.mjs +8 -0
  147. package/dist/chunks/cli-1.1.27-f218cppx.mjs +34 -0
  148. package/dist/chunks/cli-1.1.27-f3cv6wk1.mjs +2 -0
  149. package/dist/chunks/cli-1.1.27-fary910g.mjs +2 -0
  150. package/dist/chunks/cli-1.1.27-fc1my4zp.mjs +2 -0
  151. package/dist/chunks/cli-1.1.27-fdhry9qy.mjs +2 -0
  152. package/dist/chunks/cli-1.1.27-fr8vw4x1.mjs +2 -0
  153. package/dist/chunks/cli-1.1.27-fw9r8cwg.mjs +4 -0
  154. package/dist/chunks/cli-1.1.27-fxmty4t4.mjs +5 -0
  155. package/dist/chunks/cli-1.1.27-g8n6nr2e.mjs +1 -0
  156. package/dist/chunks/cli-1.1.27-gan2msv5.mjs +3 -0
  157. package/dist/chunks/cli-1.1.27-ge84mp6e.mjs +2 -0
  158. package/dist/chunks/cli-1.1.27-ggg6m9qt.mjs +2 -0
  159. package/dist/chunks/cli-1.1.27-gmknn4xh.mjs +2 -0
  160. package/dist/chunks/cli-1.1.27-gnhg7s3x.mjs +2 -0
  161. package/dist/chunks/cli-1.1.27-gnvm8gat.mjs +2 -0
  162. package/dist/chunks/cli-1.1.27-h7ytc7jg.mjs +9 -0
  163. package/dist/chunks/cli-1.1.27-hafa2nxa.mjs +2 -0
  164. package/dist/chunks/cli-1.1.27-hcnrf84n.mjs +2 -0
  165. package/dist/chunks/cli-1.1.27-hh78rvvf.mjs +2 -0
  166. package/dist/chunks/cli-1.1.27-hhkkts5k.mjs +6 -0
  167. package/dist/chunks/cli-1.1.27-hrwxg46q.mjs +2 -0
  168. package/dist/chunks/cli-1.1.27-hs6hv3bh.mjs +20 -0
  169. package/dist/chunks/cli-1.1.27-j362egg2.mjs +2 -0
  170. package/dist/chunks/cli-1.1.27-jcn2gvsw.mjs +2 -0
  171. package/dist/chunks/cli-1.1.27-jfqvck1y.mjs +2 -0
  172. package/dist/chunks/cli-1.1.27-jg3tymed.mjs +2 -0
  173. package/dist/chunks/cli-1.1.27-jh817v59.mjs +2 -0
  174. package/dist/chunks/cli-1.1.27-jm7jbypb.mjs +2 -0
  175. package/dist/chunks/cli-1.1.27-jmegwyzr.mjs +2 -0
  176. package/dist/chunks/cli-1.1.27-jmz9pczh.mjs +3 -0
  177. package/dist/chunks/cli-1.1.27-jt1gb6nf.mjs +2 -0
  178. package/dist/chunks/cli-1.1.27-jvs6enw9.mjs +2 -0
  179. package/dist/chunks/cli-1.1.27-k115ge4q.mjs +6 -0
  180. package/dist/chunks/cli-1.1.27-k2fyp83y.mjs +2 -0
  181. package/dist/chunks/cli-1.1.27-k6dwtkrp.mjs +2 -0
  182. package/dist/chunks/cli-1.1.27-k9jt24bv.mjs +2 -0
  183. package/dist/chunks/cli-1.1.27-kdv6nw9e.mjs +12 -0
  184. package/dist/chunks/cli-1.1.27-kerbk21s.mjs +2 -0
  185. package/dist/chunks/cli-1.1.27-kgpk1m6k.mjs +2 -0
  186. package/dist/chunks/cli-1.1.27-kkt8se1z.mjs +2 -0
  187. package/dist/chunks/cli-1.1.27-kpqha1ce.mjs +2 -0
  188. package/dist/chunks/cli-1.1.27-krtd4rf3.mjs +3 -0
  189. package/dist/chunks/cli-1.1.27-m2n4m352.mjs +2 -0
  190. package/dist/chunks/cli-1.1.27-m5wtrd2b.mjs +2 -0
  191. package/dist/chunks/cli-1.1.27-m6ne80zc.mjs +2 -0
  192. package/dist/chunks/cli-1.1.27-maxx6jt7.mjs +4 -0
  193. package/dist/chunks/cli-1.1.27-me6jhh1k.mjs +2 -0
  194. package/dist/chunks/cli-1.1.27-mqt20a61.mjs +2 -0
  195. package/dist/chunks/cli-1.1.27-mr1wxvzb.mjs +3 -0
  196. package/dist/chunks/cli-1.1.27-n09bs0db.mjs +2 -0
  197. package/dist/chunks/cli-1.1.27-n3fg97y6.mjs +2 -0
  198. package/dist/chunks/cli-1.1.27-n6vfvfw4.mjs +2 -0
  199. package/dist/chunks/cli-1.1.27-nbgxr715.mjs +10 -0
  200. package/dist/chunks/cli-1.1.27-njcbrvnc.mjs +58 -0
  201. package/dist/chunks/cli-1.1.27-nmp82pea.mjs +3 -0
  202. package/dist/chunks/cli-1.1.27-nx2yxmg9.mjs +3 -0
  203. package/dist/chunks/cli-1.1.27-nxkc7nfr.mjs +2 -0
  204. package/dist/chunks/cli-1.1.27-ny95570d.mjs +133 -0
  205. package/dist/chunks/cli-1.1.27-p1sh0ft2.mjs +2 -0
  206. package/dist/chunks/cli-1.1.27-p7kjkqhn.mjs +2 -0
  207. package/dist/chunks/cli-1.1.27-p99q7a22.mjs +133 -0
  208. package/dist/chunks/cli-1.1.27-pab2avnw.mjs +2 -0
  209. package/dist/chunks/cli-1.1.27-pyjha53q.mjs +2 -0
  210. package/dist/chunks/cli-1.1.27-q2msmggk.mjs +2 -0
  211. package/dist/chunks/cli-1.1.27-q830jx95.mjs +2 -0
  212. package/dist/chunks/cli-1.1.27-qcvp3n4v.mjs +2 -0
  213. package/dist/chunks/cli-1.1.27-qkzc0vzs.mjs +2 -0
  214. package/dist/chunks/cli-1.1.27-qnzhd86k.mjs +2 -0
  215. package/dist/chunks/cli-1.1.27-r2qyxh4t.mjs +26 -0
  216. package/dist/chunks/cli-1.1.27-r32k5nw7.mjs +4 -0
  217. package/dist/chunks/cli-1.1.27-r335xv52.mjs +6 -0
  218. package/dist/chunks/cli-1.1.27-r3r36jvq.mjs +25 -0
  219. package/dist/chunks/cli-1.1.27-r4ck0s0j.mjs +2 -0
  220. package/dist/chunks/cli-1.1.27-r9jjyax0.mjs +7 -0
  221. package/dist/chunks/cli-1.1.27-rct7c74m.mjs +2 -0
  222. package/dist/chunks/cli-1.1.27-rnwaxvgf.mjs +2 -0
  223. package/dist/chunks/cli-1.1.27-rqdq9mhj.mjs +2 -0
  224. package/dist/chunks/cli-1.1.27-ryd2t3vk.mjs +2 -0
  225. package/dist/chunks/cli-1.1.27-s62prq89.mjs +2 -0
  226. package/dist/chunks/cli-1.1.27-sbj1hdj9.mjs +2 -0
  227. package/dist/chunks/cli-1.1.27-scfswqdr.mjs +2 -0
  228. package/dist/chunks/cli-1.1.27-sdw0p0c4.mjs +58 -0
  229. package/dist/chunks/cli-1.1.27-sngxwsap.mjs +2 -0
  230. package/dist/chunks/cli-1.1.27-sr4a2gd6.mjs +2 -0
  231. package/dist/chunks/cli-1.1.27-sw6tnehx.mjs +2 -0
  232. package/dist/chunks/cli-1.1.27-t13xq38e.mjs +2 -0
  233. package/dist/chunks/cli-1.1.27-t1dxp2pw.mjs +2 -0
  234. package/dist/chunks/cli-1.1.27-t32zh7r1.mjs +2 -0
  235. package/dist/chunks/cli-1.1.27-t4rm4dqf.mjs +6 -0
  236. package/dist/chunks/cli-1.1.27-tc4b7enb.mjs +17 -0
  237. package/dist/chunks/cli-1.1.27-tpefzkds.mjs +4 -0
  238. package/dist/chunks/cli-1.1.27-tw693ept.mjs +2 -0
  239. package/dist/chunks/cli-1.1.27-v24sqtag.mjs +24 -0
  240. package/dist/chunks/cli-1.1.27-v49qz5nz.mjs +2 -0
  241. package/dist/chunks/cli-1.1.27-v9dwxgsv.mjs +15 -0
  242. package/dist/chunks/cli-1.1.27-vh1r16sd.mjs +6 -0
  243. package/dist/chunks/cli-1.1.27-vhdd7ed4.mjs +39 -0
  244. package/dist/chunks/cli-1.1.27-w0jz23zw.mjs +2 -0
  245. package/dist/chunks/cli-1.1.27-w8pwj9ef.mjs +5522 -0
  246. package/dist/chunks/cli-1.1.27-wbtq2bbb.mjs +2 -0
  247. package/dist/chunks/cli-1.1.27-wj32ftfy.mjs +2 -0
  248. package/dist/chunks/cli-1.1.27-wpnpp1vg.mjs +2 -0
  249. package/dist/chunks/cli-1.1.27-wtthtmes.mjs +3 -0
  250. package/dist/chunks/cli-1.1.27-wz24bwzn.mjs +2 -0
  251. package/dist/chunks/cli-1.1.27-x6dqasdj.mjs +17 -0
  252. package/dist/chunks/cli-1.1.27-xdfkhk5m.mjs +16 -0
  253. package/dist/chunks/cli-1.1.27-xjabxtdd.mjs +7 -0
  254. package/dist/chunks/cli-1.1.27-xx0q9f0f.mjs +2 -0
  255. package/dist/chunks/cli-1.1.27-y6pe4jk6.mjs +2 -0
  256. package/dist/chunks/cli-1.1.27-y712t8h2.mjs +2 -0
  257. package/dist/chunks/cli-1.1.27-y935z28w.mjs +2 -0
  258. package/dist/chunks/cli-1.1.27-yghv5btz.mjs +2 -0
  259. package/dist/chunks/cli-1.1.27-z32qkf2d.mjs +18 -0
  260. package/dist/chunks/cli-1.1.27-zbbzy1ze.mjs +2 -0
  261. package/dist/chunks/cli-1.1.27-zgweqxf0.mjs +9 -0
  262. package/dist/chunks/cli-1.1.27-zq9wak2z.mjs +2 -0
  263. package/dist/chunks/cli-1.1.27-zr523fbq.mjs +3 -0
  264. package/dist/chunks/client-1.1.27-ex7wh5hg.mjs +1 -0
  265. package/dist/chunks/color-1.1.27-58s1yrz1.mjs +1 -0
  266. package/dist/chunks/compact-1.1.27-c1wgqww4.mjs +3 -0
  267. package/dist/chunks/config-1.1.27-7vwe1qph.mjs +1 -0
  268. package/dist/chunks/config-1.1.27-ymfcbn84.mjs +1 -0
  269. package/dist/chunks/constants-1.1.27-3r2715sd.mjs +1 -0
  270. package/dist/chunks/context-1.1.27-yznf0qn9.mjs +1 -0
  271. package/dist/chunks/context-noninteractive-1.1.27-g15en4j2.mjs +1 -0
  272. package/dist/chunks/conversation-1.1.27-jmmsnhbw.mjs +1 -0
  273. package/dist/chunks/copilotHeaders-1.1.27-g0p5y9rf.mjs +1 -0
  274. package/dist/chunks/copy-1.1.27-pr6pzthk.mjs +9 -0
  275. package/dist/chunks/cost-1.1.27-q1yqmxr9.mjs +1 -0
  276. package/dist/chunks/createSSHSession-1.1.27-4cwnpwje.mjs +1 -0
  277. package/dist/chunks/createSession-1.1.27-xdq80vrv.mjs +1 -0
  278. package/dist/chunks/debug-1.1.27-42bn4afg.mjs +1 -0
  279. package/dist/chunks/defaultActionDeps-1.1.27-t14xxt79.mjs +1534 -0
  280. package/dist/chunks/desktop-1.1.27-c8h6b96d.mjs +1 -0
  281. package/dist/chunks/detectRepository-1.1.27-qx3djtsx.mjs +1 -0
  282. package/dist/chunks/detection-1.1.27-0974kbef.mjs +1 -0
  283. package/dist/chunks/diff-1.1.27-1cb81w47.mjs +1 -0
  284. package/dist/chunks/doctor-1.1.27-5ky6nxzq.mjs +1 -0
  285. package/dist/chunks/doctorDiagnostic-1.1.27-jcx2c92k.mjs +1 -0
  286. package/dist/chunks/earlyInput-1.1.27-btzh8ch0.mjs +1 -0
  287. package/dist/chunks/effort-1.1.27-5yvfxd52.mjs +13 -0
  288. package/dist/chunks/engine-1.1.27-xcjbgefa.mjs +1 -0
  289. package/dist/chunks/envLessBridgeConfig-1.1.27-tdwb5zkz.mjs +1 -0
  290. package/dist/chunks/envUtils-1.1.27-r07jyd3m.mjs +1 -0
  291. package/dist/chunks/environmentSelection-1.1.27-dr64k9he.mjs +1 -0
  292. package/dist/chunks/environments-1.1.27-s1z96vy8.mjs +1 -0
  293. package/dist/chunks/errors-1.1.27-bm50fpjg.mjs +1 -0
  294. package/dist/chunks/exampleCommands-1.1.27-wnw6egjm.mjs +1 -0
  295. package/dist/chunks/execFileNoThrow-1.1.27-evt4sr84.mjs +1 -0
  296. package/dist/chunks/exit-1.1.27-vgdg65b7.mjs +1 -0
  297. package/dist/chunks/explorer-1.1.27-zkb8zkpf.mjs +1 -0
  298. package/dist/chunks/export-1.1.27-tda60v40.mjs +2 -0
  299. package/dist/chunks/extra-usage-1.1.27-2bmjnc65.mjs +1 -0
  300. package/dist/chunks/extra-usage-noninteractive-1.1.27-m7byqk30.mjs +1 -0
  301. package/dist/chunks/fast-1.1.27-8bjn4w16.mjs +1 -0
  302. package/dist/chunks/feedback-1.1.27-vzfx84xw.mjs +14 -0
  303. package/dist/chunks/firstPartyEventLogger-1.1.27-57d5r280.mjs +1 -0
  304. package/dist/chunks/git-1.1.27-pe9yjmar.mjs +1 -0
  305. package/dist/chunks/githubModelsCredentials-1.1.27-r2w00yyn.mjs +1 -0
  306. package/dist/chunks/goal-1.1.27-da40b321.mjs +4 -0
  307. package/dist/chunks/growthbook-1.1.27-rmhw14zh.mjs +1 -0
  308. package/dist/chunks/headless-1.1.27-gwzekzne.mjs +2 -0
  309. package/dist/chunks/heapdump-1.1.27-0702z5xd.mjs +6 -0
  310. package/dist/chunks/help-1.1.27-gwcwagyv.mjs +1 -0
  311. package/dist/chunks/hookChains-1.1.27-jyc4rzjs.mjs +3 -0
  312. package/dist/chunks/hooks-1.1.27-8p1xt4z2.mjs +1 -0
  313. package/dist/chunks/hooks-1.1.27-vvzpa77q.mjs +79 -0
  314. package/dist/chunks/ide-1.1.27-w2am9w2t.mjs +3 -0
  315. package/dist/chunks/image-processor-napi-1.1.27-fk490n21.mjs +1 -0
  316. package/dist/chunks/import-1.1.27-69zkqd7t.mjs +261 -0
  317. package/dist/chunks/inboundAttachments-1.1.27-7whcznny.mjs +1 -0
  318. package/dist/chunks/index-1.1.27-03qtf3bh.mjs +9 -0
  319. package/dist/chunks/index-1.1.27-2w3eyz3g.mjs +1 -0
  320. package/dist/chunks/index-1.1.27-4td4kk2r.mjs +2 -0
  321. package/dist/chunks/index-1.1.27-72s4gvww.mjs +1 -0
  322. package/dist/chunks/index-1.1.27-7rmx1z0f.mjs +9 -0
  323. package/dist/chunks/index-1.1.27-949q66tk.mjs +1 -0
  324. package/dist/chunks/index-1.1.27-9w6rbss1.mjs +1 -0
  325. package/dist/chunks/index-1.1.27-9w6y0sqf.mjs +5 -0
  326. package/dist/chunks/index-1.1.27-9za77x22.mjs +2 -0
  327. package/dist/chunks/index-1.1.27-av965j5w.mjs +1 -0
  328. package/dist/chunks/index-1.1.27-dpf9bwn3.mjs +1 -0
  329. package/dist/chunks/index-1.1.27-dzzkz91c.mjs +1 -0
  330. package/dist/chunks/index-1.1.27-ed0cj234.mjs +30 -0
  331. package/dist/chunks/index-1.1.27-fz6pezpj.mjs +1 -0
  332. package/dist/chunks/index-1.1.27-haym7ds6.mjs +1 -0
  333. package/dist/chunks/index-1.1.27-k2zye2ba.mjs +1 -0
  334. package/dist/chunks/index-1.1.27-ktav82bw.mjs +1 -0
  335. package/dist/chunks/index-1.1.27-qj3j1rkb.mjs +1 -0
  336. package/dist/chunks/index-1.1.27-r6ypg71x.mjs +1 -0
  337. package/dist/chunks/index-1.1.27-r8jqe3yp.mjs +1 -0
  338. package/dist/chunks/index-1.1.27-rcxd3h0n.mjs +23 -0
  339. package/dist/chunks/index-1.1.27-spc0z43g.mjs +1 -0
  340. package/dist/chunks/index-1.1.27-xvd24vg3.mjs +1 -0
  341. package/dist/chunks/init-1.1.27-kbwzggfn.mjs +1 -0
  342. package/dist/chunks/initReplBridge-1.1.27-r8gnhged.mjs +1 -0
  343. package/dist/chunks/ink-1.1.27-btbyg6z5.mjs +1 -0
  344. package/dist/chunks/insights-1.1.27-r17n37gt.mjs +870 -0
  345. package/dist/chunks/install-1.1.27-rst7c5sr.mjs +1 -0
  346. package/dist/chunks/install-github-app-1.1.27-qe83k348.mjs +149 -0
  347. package/dist/chunks/install-slack-app-1.1.27-9btj28ve.mjs +1 -0
  348. package/dist/chunks/instrumentation-1.1.27-zs5yatff.mjs +1 -0
  349. package/dist/chunks/interactiveHelpers-1.1.27-vkw6dmnx.mjs +1 -0
  350. package/dist/chunks/keybindings-1.1.27-1sx34z24.mjs +2 -0
  351. package/dist/chunks/knowledge-1.1.27-3vda7yge.mjs +2 -0
  352. package/dist/chunks/latestVersionCache-1.1.27-8vg474pc.mjs +1 -0
  353. package/dist/chunks/loadAgentsDir-1.1.27-ax53z9hj.mjs +1 -0
  354. package/dist/chunks/loadPluginHooks-1.1.27-34tp38m5.mjs +1 -0
  355. package/dist/chunks/log-1.1.27-trbh6pmv.mjs +1 -0
  356. package/dist/chunks/main-1.1.27-y8ep0qqz.mjs +1 -0
  357. package/dist/chunks/managedEnv-1.1.27-xf362k5y.mjs +1 -0
  358. package/dist/chunks/mcp-1.1.27-af12t0f2.mjs +1 -0
  359. package/dist/chunks/mcp-1.1.27-qzntdrh6.mjs +17 -0
  360. package/dist/chunks/mcp-1.1.27-vsgp33q0.mjs +4 -0
  361. package/dist/chunks/mcpb-1.1.27-m9bw286t.mjs +1 -0
  362. package/dist/chunks/memory-1.1.27-tzff1b9e.mjs +72 -0
  363. package/dist/chunks/model-1.1.27-968y8qcm.mjs +2 -0
  364. package/dist/chunks/model-1.1.27-p2b82a7t.mjs +1 -0
  365. package/dist/chunks/node-1.1.27-bghx5g4n.mjs +1 -0
  366. package/dist/chunks/node-1.1.27-rjfnqhpk.mjs +15 -0
  367. package/dist/chunks/oauth-1.1.27-19qatx62.mjs +1 -0
  368. package/dist/chunks/openaiShim-1.1.27-p50pa80m.mjs +14 -0
  369. package/dist/chunks/output-style-1.1.27-6h4astb5.mjs +1 -0
  370. package/dist/chunks/package-OS7RONXY-1.1.27-nvbtkqpn.mjs +1 -0
  371. package/dist/chunks/parseConnectUrl-1.1.27-3gy61f1e.mjs +1 -0
  372. package/dist/chunks/parser-1.1.27-6m7zhkr7.mjs +1 -0
  373. package/dist/chunks/passes-1.1.27-2n9jw11x.mjs +1 -0
  374. package/dist/chunks/permissions-1.1.27-ah7j2bj9.mjs +3 -0
  375. package/dist/chunks/permissions-1.1.27-qnhk36mh.mjs +1 -0
  376. package/dist/chunks/plan-1.1.27-vkhc8mq9.mjs +1 -0
  377. package/dist/chunks/plist-1.1.27-vg4h3pf9.mjs +1 -0
  378. package/dist/chunks/plugin-1.1.27-benemmgh.mjs +29 -0
  379. package/dist/chunks/pluginStartupCheck-1.1.27-tyd8w4ay.mjs +1 -0
  380. package/dist/chunks/plugins-1.1.27-er0je2r7.mjs +9 -0
  381. package/dist/chunks/preActionHook-1.1.27-8w2hxz61.mjs +2 -0
  382. package/dist/chunks/print-1.1.27-nf4vjdv0.mjs +57 -0
  383. package/dist/chunks/process-1.1.27-1en4vj8c.mjs +1 -0
  384. package/dist/chunks/processBashCommand-1.1.27-y2nx754j.mjs +1 -0
  385. package/dist/chunks/processSlashCommand-1.1.27-mert7w0e.mjs +9 -0
  386. package/dist/chunks/prompt-1.1.27-0qqepg5j.mjs +1 -0
  387. package/dist/chunks/prompt-1.1.27-40pnv6x7.mjs +1 -0
  388. package/dist/chunks/prompts-1.1.27-kvtvsbhd.mjs +1 -0
  389. package/dist/chunks/protocolHandler-1.1.27-27de09ht.mjs +13 -0
  390. package/dist/chunks/provider-1.1.27-g4r1c84c.mjs +2 -0
  391. package/dist/chunks/providerProfiles-1.1.27-tp6zknw0.mjs +1 -0
  392. package/dist/chunks/providerValidation-1.1.27-ntakvdzk.mjs +6 -0
  393. package/dist/chunks/rate-limit-options-1.1.27-fvdwd7xd.mjs +1 -0
  394. package/dist/chunks/registerSubcommands-1.1.27-5pprq81w.mjs +26 -0
  395. package/dist/chunks/registry-1.1.27-vccj3rtk.mjs +1 -0
  396. package/dist/chunks/release-notes-1.1.27-a7x9237x.mjs +5 -0
  397. package/dist/chunks/reload-plugins-1.1.27-7yf3667k.mjs +2 -0
  398. package/dist/chunks/remote-env-1.1.27-2vdhr1s9.mjs +1 -0
  399. package/dist/chunks/remoteBridgeCore-1.1.27-0qn70btv.mjs +1 -0
  400. package/dist/chunks/remoteSession-1.1.27-21n6mx7d.mjs +1 -0
  401. package/dist/chunks/rename-1.1.27-x0qfjvj2.mjs +1 -0
  402. package/dist/chunks/replBridgeHandle-1.1.27-661m032k.mjs +1 -0
  403. package/dist/chunks/replLauncher-1.1.27-48an8y55.mjs +1 -0
  404. package/dist/chunks/resume-1.1.27-0n7jaz71.mjs +2 -0
  405. package/dist/chunks/rewind-1.1.27-0dhz50d0.mjs +1 -0
  406. package/dist/chunks/rootOptions-1.1.27-8k0jbnfk.mjs +1 -0
  407. package/dist/chunks/runWorkflowHeadless-1.1.27-3a15vms4.mjs +10 -0
  408. package/dist/chunks/sandbox-adapter-1.1.27-j8pr6jz7.mjs +1 -0
  409. package/dist/chunks/sandbox-toggle-1.1.27-r1nrcxaz.mjs +1 -0
  410. package/dist/chunks/session-1.1.27-bv5zha49.mjs +2 -0
  411. package/dist/chunks/sessionDiscovery-1.1.27-z50hzta3.mjs +1 -0
  412. package/dist/chunks/sessionFileAccessHooks-1.1.27-vc8ajjh0.mjs +1 -0
  413. package/dist/chunks/sessionStorage-1.1.27-0vfss5b6.mjs +1 -0
  414. package/dist/chunks/settings-1.1.27-jar0d6ey.mjs +1 -0
  415. package/dist/chunks/setup-1.1.27-ggnhb2c8.mjs +12 -0
  416. package/dist/chunks/sinks-1.1.27-qevt5nft.mjs +1 -0
  417. package/dist/chunks/skills-1.1.27-wjq94pk8.mjs +1 -0
  418. package/dist/chunks/startupProfiler-1.1.27-q5yb3a35.mjs +1 -0
  419. package/dist/chunks/startupUpdateCheck-1.1.27-k3spb2gh.mjs +1 -0
  420. package/dist/chunks/state-1.1.27-fpyqkxby.mjs +1 -0
  421. package/dist/chunks/stats-1.1.27-xb10zj7e.mjs +1 -0
  422. package/dist/chunks/status-1.1.27-7vscpczw.mjs +1 -0
  423. package/dist/chunks/stickers-1.1.27-j4em7gfg.mjs +1 -0
  424. package/dist/chunks/subprocessEnv-1.1.27-0dm2v5n5.mjs +1 -0
  425. package/dist/chunks/tasks-1.1.27-a7d9cx1a.mjs +1 -0
  426. package/dist/chunks/teamHelpers-1.1.27-2jkv3830.mjs +1 -0
  427. package/dist/chunks/teammateModeSnapshot-1.1.27-8vmyznjc.mjs +1 -0
  428. package/dist/chunks/teleport-1.1.27-d6bgvctx.mjs +1 -0
  429. package/dist/chunks/terminalSetup-1.1.27-8k6bdqzf.mjs +1 -0
  430. package/dist/chunks/theme-1.1.27-dzme81zx.mjs +1 -0
  431. package/dist/chunks/thinkback-1.1.27-8hrqe8zc.mjs +1 -0
  432. package/dist/chunks/thinkback-play-1.1.27-7pf0t9jk.mjs +1 -0
  433. package/dist/chunks/toolPool-1.1.27-yndm4vnc.mjs +1 -0
  434. package/dist/chunks/toolSearch-1.1.27-m1tpg8zj.mjs +1 -0
  435. package/dist/chunks/tools-1.1.27-f6v2cxn6.mjs +1 -0
  436. package/dist/chunks/trustedDevice-1.1.27-bkp7wbqw.mjs +1 -0
  437. package/dist/chunks/turndown.cjs-1.1.27-ev0anxmd.mjs +69 -0
  438. package/dist/chunks/types-1.1.27-pgjcgwmr.mjs +1 -0
  439. package/dist/chunks/ultrareviewCommand-1.1.27-fzpef911.mjs +4 -0
  440. package/dist/chunks/update-1.1.27-0rwrmj8m.mjs +72 -0
  441. package/dist/chunks/upgrade-1.1.27-zacn9g92.mjs +1 -0
  442. package/dist/chunks/upload-1.1.27-9natjvcx.mjs +7 -0
  443. package/dist/chunks/upstreamproxy-1.1.27-484n2sck.mjs +14 -0
  444. package/dist/chunks/url-handler-napi-1.1.27-e0vf9zwd.mjs +1 -0
  445. package/dist/chunks/usage-1.1.27-qdx2zhbe.mjs +1 -0
  446. package/dist/chunks/util-1.1.27-m60qqy4m.mjs +1 -0
  447. package/dist/chunks/utils-1.1.27-bpj1f9q9.mjs +1 -0
  448. package/dist/chunks/vim-1.1.27-dvj5bk5p.mjs +1 -0
  449. package/dist/chunks/watchLoop-1.1.27-1vydfkzw.mjs +13 -0
  450. package/dist/chunks/watcher-1.1.27-jxayr96k.mjs +1 -0
  451. package/dist/chunks/wiki-1.1.27-t7nxcbah.mjs +132 -0
  452. package/dist/chunks/workflows-1.1.27-7bdgxjth.mjs +1 -0
  453. package/dist/chunks/worktree-1.1.27-6kkgvwks.mjs +1 -0
  454. package/dist/chunks/worktreeModeEnabled-1.1.27-ax7kv7qq.mjs +1 -0
  455. package/dist/chunks/wrapper-1.1.27-q9kmdf61.mjs +7 -0
  456. package/dist/cli.mjs +2 -2
  457. package/package.json +9 -9
  458. package/dist/chunks/AgentTool-1.1.26-pww3rzse.mjs +0 -1
  459. package/dist/chunks/App-1.1.26-4vaezrz4.mjs +0 -1
  460. package/dist/chunks/ApproveApiKey-1.1.26-rngrjmp0.mjs +0 -1
  461. package/dist/chunks/AssistantSessionChooser-1.1.26-n2977m3p.mjs +0 -1
  462. package/dist/chunks/AutoModeOptInDialog-1.1.26-9y3h164v.mjs +0 -1
  463. package/dist/chunks/BypassPermissionsModeDialog-1.1.26-qzf3wf2e.mjs +0 -1
  464. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.26-4rsh36df.mjs +0 -1
  465. package/dist/chunks/ConsoleOAuthFlow-1.1.26-g1kknwq5.mjs +0 -1
  466. package/dist/chunks/DiffDialog-1.1.26-4bt5rf4c.mjs +0 -6
  467. package/dist/chunks/Doctor-1.1.26-jnzpfe2z.mjs +0 -1
  468. package/dist/chunks/ExplorerDialog-1.1.26-h4ha2k3s.mjs +0 -6
  469. package/dist/chunks/ITermBackend-1.1.26-6vq713nq.mjs +0 -1
  470. package/dist/chunks/InvalidConfigDialog-1.1.26-5mpbyw8j.mjs +0 -1
  471. package/dist/chunks/InvalidSettingsDialog-1.1.26-y240kr8g.mjs +0 -1
  472. package/dist/chunks/MigrationDialog-1.1.26-bhdbn3pv.mjs +0 -1
  473. package/dist/chunks/Onboarding-1.1.26-v8am83rd.mjs +0 -1
  474. package/dist/chunks/ProviderManager-1.1.26-22a8rbdy.mjs +0 -1
  475. package/dist/chunks/REPL-1.1.26-z72g0j0z.mjs +0 -1
  476. package/dist/chunks/ResumeConversation-1.1.26-gh9s3rjn.mjs +0 -1
  477. package/dist/chunks/SnapshotUpdateDialog-1.1.26-r40qtar2.mjs +0 -1
  478. package/dist/chunks/TeleportProgress-1.1.26-23se9f85.mjs +0 -1
  479. package/dist/chunks/TeleportRepoMismatchDialog-1.1.26-7r52d8rv.mjs +0 -1
  480. package/dist/chunks/TeleportResumeWrapper-1.1.26-k6atzshz.mjs +0 -1
  481. package/dist/chunks/TmuxBackend-1.1.26-ym3spr0b.mjs +0 -9
  482. package/dist/chunks/ToolSearchTool-1.1.26-c332beft.mjs +0 -1
  483. package/dist/chunks/TrustDialog-1.1.26-sqqx0vck.mjs +0 -1
  484. package/dist/chunks/activeProvider-1.1.26-maqce1gv.mjs +0 -1
  485. package/dist/chunks/add-dir-1.1.26-qcws8kjg.mjs +0 -1
  486. package/dist/chunks/agentTypes-1.1.26-fw01kwc9.mjs +0 -1
  487. package/dist/chunks/agents-1.1.26-dasaamxr.mjs +0 -3
  488. package/dist/chunks/agents-1.1.26-p33pq694.mjs +0 -110
  489. package/dist/chunks/api-1.1.26-msb1jnzq.mjs +0 -1
  490. package/dist/chunks/asciicast-1.1.26-vf9e0v5b.mjs +0 -1
  491. package/dist/chunks/assistant-1.1.26-h2aycjkn.mjs +0 -1
  492. package/dist/chunks/auth-1.1.26-dk7wnv7t.mjs +0 -1
  493. package/dist/chunks/auth-1.1.26-q8xgzm5r.mjs +0 -1
  494. package/dist/chunks/autoMode-1.1.26-zrzav382.mjs +0 -52
  495. package/dist/chunks/autoModeSetup-1.1.26-x7k5ammk.mjs +0 -44
  496. package/dist/chunks/autoUpdater-1.1.26-6hmytwm6.mjs +0 -1
  497. package/dist/chunks/backgroundHousekeeping-1.1.26-09grqe05.mjs +0 -1
  498. package/dist/chunks/branch-1.1.26-e1qfc78k.mjs +0 -4
  499. package/dist/chunks/bridge-1.1.26-h1bxacst.mjs +0 -2
  500. package/dist/chunks/bridgeConfig-1.1.26-vpz1r911.mjs +0 -1
  501. package/dist/chunks/bridgeEnabled-1.1.26-xkeegvk7.mjs +0 -1
  502. package/dist/chunks/bridgeMain-1.1.26-dnv31x02.mjs +0 -88
  503. package/dist/chunks/bridgePointer-1.1.26-d2zjebn5.mjs +0 -1
  504. package/dist/chunks/btw-1.1.26-9hcjg1vm.mjs +0 -1
  505. package/dist/chunks/buddy-1.1.26-20xpa564.mjs +0 -3
  506. package/dist/chunks/cache-probe-1.1.26-p18jjck5.mjs +0 -21
  507. package/dist/chunks/cacheStats-1.1.26-tndvbhbh.mjs +0 -4
  508. package/dist/chunks/caches-1.1.26-g9aneehb.mjs +0 -1
  509. package/dist/chunks/cd-1.1.26-1mhwbmvw.mjs +0 -3
  510. package/dist/chunks/claudeDesktop-1.1.26-8970gddx.mjs +0 -1
  511. package/dist/chunks/claudemd-1.1.26-a0wvdz6h.mjs +0 -1
  512. package/dist/chunks/clear-1.1.26-8f7hbzks.mjs +0 -1
  513. package/dist/chunks/clearTerminal-1.1.26-yxrgchg6.mjs +0 -1
  514. package/dist/chunks/cli-1.1.26-01erqdx7.mjs +0 -6
  515. package/dist/chunks/cli-1.1.26-0qa3rcd8.mjs +0 -6
  516. package/dist/chunks/cli-1.1.26-132vkvj1.mjs +0 -2
  517. package/dist/chunks/cli-1.1.26-14kc3afb.mjs +0 -3
  518. package/dist/chunks/cli-1.1.26-14n169e4.mjs +0 -2
  519. package/dist/chunks/cli-1.1.26-16s9pjdh.mjs +0 -2
  520. package/dist/chunks/cli-1.1.26-1mbz2mcm.mjs +0 -2
  521. package/dist/chunks/cli-1.1.26-1v8jg7nn.mjs +0 -2
  522. package/dist/chunks/cli-1.1.26-1vdqjs9c.mjs +0 -21
  523. package/dist/chunks/cli-1.1.26-1ze7r6x4.mjs +0 -24
  524. package/dist/chunks/cli-1.1.26-28qe790b.mjs +0 -2
  525. package/dist/chunks/cli-1.1.26-2dzytde4.mjs +0 -2
  526. package/dist/chunks/cli-1.1.26-2fbt2m4z.mjs +0 -4
  527. package/dist/chunks/cli-1.1.26-2j0g9z56.mjs +0 -2
  528. package/dist/chunks/cli-1.1.26-2k53vhr6.mjs +0 -2
  529. package/dist/chunks/cli-1.1.26-2msjf68r.mjs +0 -2
  530. package/dist/chunks/cli-1.1.26-2s2gpj0g.mjs +0 -2
  531. package/dist/chunks/cli-1.1.26-31negda3.mjs +0 -2
  532. package/dist/chunks/cli-1.1.26-32vewh62.mjs +0 -6
  533. package/dist/chunks/cli-1.1.26-38m8cha0.mjs +0 -2
  534. package/dist/chunks/cli-1.1.26-3c44vscp.mjs +0 -2
  535. package/dist/chunks/cli-1.1.26-3gepexgn.mjs +0 -66
  536. package/dist/chunks/cli-1.1.26-3hemew00.mjs +0 -3
  537. package/dist/chunks/cli-1.1.26-3htpgh4y.mjs +0 -2
  538. package/dist/chunks/cli-1.1.26-3k8e9a3k.mjs +0 -2
  539. package/dist/chunks/cli-1.1.26-3p2ch222.mjs +0 -2
  540. package/dist/chunks/cli-1.1.26-3z39qjr1.mjs +0 -24
  541. package/dist/chunks/cli-1.1.26-4aztw2ex.mjs +0 -2
  542. package/dist/chunks/cli-1.1.26-4cj6rr02.mjs +0 -2
  543. package/dist/chunks/cli-1.1.26-4jbtcb3c.mjs +0 -17
  544. package/dist/chunks/cli-1.1.26-4jn0r6an.mjs +0 -2
  545. package/dist/chunks/cli-1.1.26-516p6zzp.mjs +0 -2
  546. package/dist/chunks/cli-1.1.26-55ayan24.mjs +0 -133
  547. package/dist/chunks/cli-1.1.26-5fv3wdye.mjs +0 -2
  548. package/dist/chunks/cli-1.1.26-5p6865dd.mjs +0 -2
  549. package/dist/chunks/cli-1.1.26-6ac72fwz.mjs +0 -5
  550. package/dist/chunks/cli-1.1.26-6c5rgjbj.mjs +0 -2
  551. package/dist/chunks/cli-1.1.26-6g0bq6h6.mjs +0 -26
  552. package/dist/chunks/cli-1.1.26-6p5bpbzy.mjs +0 -2
  553. package/dist/chunks/cli-1.1.26-6qzbf8mr.mjs +0 -3
  554. package/dist/chunks/cli-1.1.26-6v5e8fy8.mjs +0 -2
  555. package/dist/chunks/cli-1.1.26-73s95190.mjs +0 -4
  556. package/dist/chunks/cli-1.1.26-79g0hfrb.mjs +0 -4
  557. package/dist/chunks/cli-1.1.26-79j24jxp.mjs +0 -2
  558. package/dist/chunks/cli-1.1.26-7h1213xq.mjs +0 -1
  559. package/dist/chunks/cli-1.1.26-7pa47kxq.mjs +0 -2
  560. package/dist/chunks/cli-1.1.26-7q7jw0ck.mjs +0 -2
  561. package/dist/chunks/cli-1.1.26-7ssnr221.mjs +0 -4
  562. package/dist/chunks/cli-1.1.26-851khk0n.mjs +0 -2
  563. package/dist/chunks/cli-1.1.26-89reg5gc.mjs +0 -2
  564. package/dist/chunks/cli-1.1.26-8h5tr358.mjs +0 -2
  565. package/dist/chunks/cli-1.1.26-8vq4pfa8.mjs +0 -2
  566. package/dist/chunks/cli-1.1.26-8wng8tbf.mjs +0 -2
  567. package/dist/chunks/cli-1.1.26-945rz3ns.mjs +0 -2
  568. package/dist/chunks/cli-1.1.26-97w71raz.mjs +0 -2
  569. package/dist/chunks/cli-1.1.26-9kzdvxzw.mjs +0 -2
  570. package/dist/chunks/cli-1.1.26-9mg6k159.mjs +0 -2
  571. package/dist/chunks/cli-1.1.26-9x90xrtz.mjs +0 -2
  572. package/dist/chunks/cli-1.1.26-ab2xbv4t.mjs +0 -2
  573. package/dist/chunks/cli-1.1.26-abp7zq8a.mjs +0 -7
  574. package/dist/chunks/cli-1.1.26-agrrdhst.mjs +0 -12
  575. package/dist/chunks/cli-1.1.26-aj61ygn7.mjs +0 -2
  576. package/dist/chunks/cli-1.1.26-arx4za97.mjs +0 -2
  577. package/dist/chunks/cli-1.1.26-avyt487s.mjs +0 -4
  578. package/dist/chunks/cli-1.1.26-b3m57q7j.mjs +0 -24
  579. package/dist/chunks/cli-1.1.26-b5xvjyj6.mjs +0 -2
  580. package/dist/chunks/cli-1.1.26-bc7nnmyt.mjs +0 -4
  581. package/dist/chunks/cli-1.1.26-bmzjvqhh.mjs +0 -2
  582. package/dist/chunks/cli-1.1.26-bs6j2409.mjs +0 -2
  583. package/dist/chunks/cli-1.1.26-bv6bd469.mjs +0 -2
  584. package/dist/chunks/cli-1.1.26-c1s0antn.mjs +0 -2
  585. package/dist/chunks/cli-1.1.26-c9m56qw1.mjs +0 -4
  586. package/dist/chunks/cli-1.1.26-cdkkrgj3.mjs +0 -6
  587. package/dist/chunks/cli-1.1.26-chwpygff.mjs +0 -2
  588. package/dist/chunks/cli-1.1.26-cmeam5fv.mjs +0 -4
  589. package/dist/chunks/cli-1.1.26-crwbhf2k.mjs +0 -2
  590. package/dist/chunks/cli-1.1.26-d6m0sag3.mjs +0 -2
  591. package/dist/chunks/cli-1.1.26-dq31hqw9.mjs +0 -2
  592. package/dist/chunks/cli-1.1.26-dyyg0r9f.mjs +0 -2
  593. package/dist/chunks/cli-1.1.26-e807ek7h.mjs +0 -3
  594. package/dist/chunks/cli-1.1.26-e8stbnjk.mjs +0 -2
  595. package/dist/chunks/cli-1.1.26-eb90p21t.mjs +0 -10
  596. package/dist/chunks/cli-1.1.26-edg965cj.mjs +0 -2
  597. package/dist/chunks/cli-1.1.26-etwfcg1g.mjs +0 -2
  598. package/dist/chunks/cli-1.1.26-exd0gw3b.mjs +0 -3
  599. package/dist/chunks/cli-1.1.26-f0cvk9rp.mjs +0 -3
  600. package/dist/chunks/cli-1.1.26-f624n21e.mjs +0 -2
  601. package/dist/chunks/cli-1.1.26-fcnssbje.mjs +0 -2
  602. package/dist/chunks/cli-1.1.26-ft1bty40.mjs +0 -45
  603. package/dist/chunks/cli-1.1.26-g0jbhnrw.mjs +0 -3
  604. package/dist/chunks/cli-1.1.26-g1a27741.mjs +0 -3
  605. package/dist/chunks/cli-1.1.26-g3eqp15d.mjs +0 -2
  606. package/dist/chunks/cli-1.1.26-g54bqv9d.mjs +0 -2
  607. package/dist/chunks/cli-1.1.26-g825efx8.mjs +0 -3
  608. package/dist/chunks/cli-1.1.26-grerq74y.mjs +0 -4
  609. package/dist/chunks/cli-1.1.26-gt65gs27.mjs +0 -2
  610. package/dist/chunks/cli-1.1.26-h2bzv8a9.mjs +0 -2
  611. package/dist/chunks/cli-1.1.26-h8pwf3e5.mjs +0 -34
  612. package/dist/chunks/cli-1.1.26-hc0z3th3.mjs +0 -2
  613. package/dist/chunks/cli-1.1.26-hgr89jmg.mjs +0 -2
  614. package/dist/chunks/cli-1.1.26-hk66nk4j.mjs +0 -2
  615. package/dist/chunks/cli-1.1.26-hkn2maax.mjs +0 -12
  616. package/dist/chunks/cli-1.1.26-hwb66n0d.mjs +0 -20
  617. package/dist/chunks/cli-1.1.26-hxty6b5t.mjs +0 -24
  618. package/dist/chunks/cli-1.1.26-j0ggtb42.mjs +0 -2
  619. package/dist/chunks/cli-1.1.26-j0pfn318.mjs +0 -2
  620. package/dist/chunks/cli-1.1.26-j3g54xq9.mjs +0 -25
  621. package/dist/chunks/cli-1.1.26-j522h2zj.mjs +0 -2
  622. package/dist/chunks/cli-1.1.26-j5jzf8nr.mjs +0 -2
  623. package/dist/chunks/cli-1.1.26-jaq75h39.mjs +0 -2
  624. package/dist/chunks/cli-1.1.26-jcshhf4v.mjs +0 -2
  625. package/dist/chunks/cli-1.1.26-jp74zrnt.mjs +0 -2
  626. package/dist/chunks/cli-1.1.26-jstehae2.mjs +0 -25
  627. package/dist/chunks/cli-1.1.26-jv1escq9.mjs +0 -9
  628. package/dist/chunks/cli-1.1.26-jz95bmqy.mjs +0 -2
  629. package/dist/chunks/cli-1.1.26-k287xjcs.mjs +0 -2
  630. package/dist/chunks/cli-1.1.26-k827q3s7.mjs +0 -2
  631. package/dist/chunks/cli-1.1.26-kb5qx4tp.mjs +0 -15
  632. package/dist/chunks/cli-1.1.26-kk4ymgvj.mjs +0 -2
  633. package/dist/chunks/cli-1.1.26-kmpjjneg.mjs +0 -50
  634. package/dist/chunks/cli-1.1.26-krj2sk8f.mjs +0 -2
  635. package/dist/chunks/cli-1.1.26-ktfnpsqn.mjs +0 -2
  636. package/dist/chunks/cli-1.1.26-kvt0v6vq.mjs +0 -5459
  637. package/dist/chunks/cli-1.1.26-kvy3vgrt.mjs +0 -20
  638. package/dist/chunks/cli-1.1.26-kz0et72d.mjs +0 -2
  639. package/dist/chunks/cli-1.1.26-m2ajjr1n.mjs +0 -2
  640. package/dist/chunks/cli-1.1.26-m3gpc1yq.mjs +0 -6
  641. package/dist/chunks/cli-1.1.26-m8mebydd.mjs +0 -3
  642. package/dist/chunks/cli-1.1.26-mb749hsh.mjs +0 -2
  643. package/dist/chunks/cli-1.1.26-mdtsa5pq.mjs +0 -2
  644. package/dist/chunks/cli-1.1.26-mvjefec1.mjs +0 -206
  645. package/dist/chunks/cli-1.1.26-n0thzakv.mjs +0 -2
  646. package/dist/chunks/cli-1.1.26-n43rh2dq.mjs +0 -2
  647. package/dist/chunks/cli-1.1.26-nbkw9wa7.mjs +0 -2
  648. package/dist/chunks/cli-1.1.26-nkp41vem.mjs +0 -2
  649. package/dist/chunks/cli-1.1.26-np0se5jr.mjs +0 -2
  650. package/dist/chunks/cli-1.1.26-nr4x1ay3.mjs +0 -6
  651. package/dist/chunks/cli-1.1.26-nv2mgz6h.mjs +0 -60
  652. package/dist/chunks/cli-1.1.26-p2gpyynf.mjs +0 -2
  653. package/dist/chunks/cli-1.1.26-pdpvbn6t.mjs +0 -2
  654. package/dist/chunks/cli-1.1.26-pejnbqtd.mjs +0 -2
  655. package/dist/chunks/cli-1.1.26-pf85an2q.mjs +0 -2
  656. package/dist/chunks/cli-1.1.26-phdsw9kw.mjs +0 -2
  657. package/dist/chunks/cli-1.1.26-pp0zr4bw.mjs +0 -39
  658. package/dist/chunks/cli-1.1.26-pttfqxxh.mjs +0 -2
  659. package/dist/chunks/cli-1.1.26-pttr45sa.mjs +0 -2
  660. package/dist/chunks/cli-1.1.26-pzpydjmr.mjs +0 -2
  661. package/dist/chunks/cli-1.1.26-q4vaz10d.mjs +0 -2
  662. package/dist/chunks/cli-1.1.26-q77fmxtz.mjs +0 -2
  663. package/dist/chunks/cli-1.1.26-q9msymy9.mjs +0 -7
  664. package/dist/chunks/cli-1.1.26-qf02kggq.mjs +0 -2
  665. package/dist/chunks/cli-1.1.26-qr2ee3t2.mjs +0 -2
  666. package/dist/chunks/cli-1.1.26-qw49rw3y.mjs +0 -17
  667. package/dist/chunks/cli-1.1.26-qymrzn5k.mjs +0 -2
  668. package/dist/chunks/cli-1.1.26-r4ewzysx.mjs +0 -3
  669. package/dist/chunks/cli-1.1.26-rbxsj403.mjs +0 -8
  670. package/dist/chunks/cli-1.1.26-rgz7nebj.mjs +0 -2
  671. package/dist/chunks/cli-1.1.26-rkdk0vdh.mjs +0 -2
  672. package/dist/chunks/cli-1.1.26-rpd6k1rg.mjs +0 -2
  673. package/dist/chunks/cli-1.1.26-rr47cs5n.mjs +0 -2
  674. package/dist/chunks/cli-1.1.26-rrq5hxxh.mjs +0 -9
  675. package/dist/chunks/cli-1.1.26-rtk9fw0k.mjs +0 -2
  676. package/dist/chunks/cli-1.1.26-rzrs3g9w.mjs +0 -2
  677. package/dist/chunks/cli-1.1.26-sfz2mk5a.mjs +0 -15
  678. package/dist/chunks/cli-1.1.26-snnmp5qx.mjs +0 -2
  679. package/dist/chunks/cli-1.1.26-ssxrwqk2.mjs +0 -2
  680. package/dist/chunks/cli-1.1.26-swdk2n55.mjs +0 -2
  681. package/dist/chunks/cli-1.1.26-sx40y42s.mjs +0 -2
  682. package/dist/chunks/cli-1.1.26-syjzv1v1.mjs +0 -18
  683. package/dist/chunks/cli-1.1.26-t05x8de5.mjs +0 -2
  684. package/dist/chunks/cli-1.1.26-ta82bxzt.mjs +0 -3
  685. package/dist/chunks/cli-1.1.26-tcbtd5f6.mjs +0 -2
  686. package/dist/chunks/cli-1.1.26-tgtv1jp3.mjs +0 -16
  687. package/dist/chunks/cli-1.1.26-thxyzhdj.mjs +0 -42
  688. package/dist/chunks/cli-1.1.26-txmxmpj4.mjs +0 -2
  689. package/dist/chunks/cli-1.1.26-tyvfnyw1.mjs +0 -2
  690. package/dist/chunks/cli-1.1.26-v0vv0v6c.mjs +0 -58
  691. package/dist/chunks/cli-1.1.26-v440gznh.mjs +0 -3
  692. package/dist/chunks/cli-1.1.26-v6fnwae1.mjs +0 -2
  693. package/dist/chunks/cli-1.1.26-v7k7gw6h.mjs +0 -2
  694. package/dist/chunks/cli-1.1.26-vb3pa5k9.mjs +0 -2
  695. package/dist/chunks/cli-1.1.26-vne421we.mjs +0 -133
  696. package/dist/chunks/cli-1.1.26-vpdrb404.mjs +0 -2
  697. package/dist/chunks/cli-1.1.26-vxzeagvf.mjs +0 -2
  698. package/dist/chunks/cli-1.1.26-vypd5zf6.mjs +0 -5
  699. package/dist/chunks/cli-1.1.26-w94mate8.mjs +0 -2
  700. package/dist/chunks/cli-1.1.26-w9hym0b4.mjs +0 -2
  701. package/dist/chunks/cli-1.1.26-wy5w6zkt.mjs +0 -2
  702. package/dist/chunks/cli-1.1.26-x64s4kth.mjs +0 -2
  703. package/dist/chunks/cli-1.1.26-x82tpywr.mjs +0 -2
  704. package/dist/chunks/cli-1.1.26-xdcmgkcr.mjs +0 -15
  705. package/dist/chunks/cli-1.1.26-xkj6kd3c.mjs +0 -2
  706. package/dist/chunks/cli-1.1.26-xnqas0g4.mjs +0 -2
  707. package/dist/chunks/cli-1.1.26-xrb5tnj3.mjs +0 -2
  708. package/dist/chunks/cli-1.1.26-xrqbcbv5.mjs +0 -2
  709. package/dist/chunks/cli-1.1.26-xspr3ymb.mjs +0 -2
  710. package/dist/chunks/cli-1.1.26-xwryqq86.mjs +0 -2
  711. package/dist/chunks/cli-1.1.26-xzbv3dzb.mjs +0 -2
  712. package/dist/chunks/cli-1.1.26-y82xxzhw.mjs +0 -2
  713. package/dist/chunks/cli-1.1.26-yz9ks5m0.mjs +0 -2
  714. package/dist/chunks/cli-1.1.26-z2cjynpf.mjs +0 -2
  715. package/dist/chunks/cli-1.1.26-z5qgpexv.mjs +0 -3
  716. package/dist/chunks/cli-1.1.26-zb5hq3ry.mjs +0 -2
  717. package/dist/chunks/cli-1.1.26-zsf06fnj.mjs +0 -2
  718. package/dist/chunks/cli-1.1.26-zy2fcj67.mjs +0 -2
  719. package/dist/chunks/cli-1.1.26-zyt75y9a.mjs +0 -2
  720. package/dist/chunks/client-1.1.26-5m13dtqt.mjs +0 -1
  721. package/dist/chunks/color-1.1.26-hc4gee57.mjs +0 -1
  722. package/dist/chunks/compact-1.1.26-k29q801r.mjs +0 -3
  723. package/dist/chunks/config-1.1.26-20jye461.mjs +0 -1
  724. package/dist/chunks/config-1.1.26-f3tsx9mm.mjs +0 -1
  725. package/dist/chunks/constants-1.1.26-vyt7y0vq.mjs +0 -1
  726. package/dist/chunks/context-1.1.26-xg3zeq1z.mjs +0 -1
  727. package/dist/chunks/context-noninteractive-1.1.26-n05p37yd.mjs +0 -1
  728. package/dist/chunks/conversation-1.1.26-g9vfc7p7.mjs +0 -1
  729. package/dist/chunks/copilotHeaders-1.1.26-gr7hc6j5.mjs +0 -1
  730. package/dist/chunks/copy-1.1.26-t50s90xg.mjs +0 -9
  731. package/dist/chunks/cost-1.1.26-9hp3110j.mjs +0 -1
  732. package/dist/chunks/createSSHSession-1.1.26-hpzpfpqk.mjs +0 -1
  733. package/dist/chunks/createSession-1.1.26-4mxab0d8.mjs +0 -1
  734. package/dist/chunks/debug-1.1.26-m7p7fchf.mjs +0 -1
  735. package/dist/chunks/defaultActionDeps-1.1.26-0fr1vrkt.mjs +0 -1534
  736. package/dist/chunks/desktop-1.1.26-1qjp6a2c.mjs +0 -1
  737. package/dist/chunks/detectRepository-1.1.26-pmahtt3f.mjs +0 -1
  738. package/dist/chunks/detection-1.1.26-1wrkcwrj.mjs +0 -1
  739. package/dist/chunks/diff-1.1.26-c4nqg8fb.mjs +0 -1
  740. package/dist/chunks/doctor-1.1.26-0jtnwy0r.mjs +0 -1
  741. package/dist/chunks/doctorDiagnostic-1.1.26-x38xj5dq.mjs +0 -1
  742. package/dist/chunks/earlyInput-1.1.26-gp0650zq.mjs +0 -1
  743. package/dist/chunks/effort-1.1.26-8w1e6q0y.mjs +0 -13
  744. package/dist/chunks/engine-1.1.26-jt09gh12.mjs +0 -1
  745. package/dist/chunks/envLessBridgeConfig-1.1.26-p0x7avh5.mjs +0 -1
  746. package/dist/chunks/envUtils-1.1.26-p89sr6v4.mjs +0 -1
  747. package/dist/chunks/environmentSelection-1.1.26-d8vnmed1.mjs +0 -1
  748. package/dist/chunks/environments-1.1.26-fz5c214j.mjs +0 -1
  749. package/dist/chunks/errors-1.1.26-6bzb64g6.mjs +0 -1
  750. package/dist/chunks/exampleCommands-1.1.26-s4bn18p7.mjs +0 -1
  751. package/dist/chunks/execFileNoThrow-1.1.26-xh0x0cbp.mjs +0 -1
  752. package/dist/chunks/exit-1.1.26-55716s6k.mjs +0 -1
  753. package/dist/chunks/explorer-1.1.26-969pqrwa.mjs +0 -1
  754. package/dist/chunks/export-1.1.26-mgccr0ea.mjs +0 -2
  755. package/dist/chunks/extra-usage-1.1.26-sbe56spy.mjs +0 -1
  756. package/dist/chunks/extra-usage-noninteractive-1.1.26-h08e3n8t.mjs +0 -1
  757. package/dist/chunks/fast-1.1.26-rbaqsfka.mjs +0 -1
  758. package/dist/chunks/feedback-1.1.26-2m81mwds.mjs +0 -14
  759. package/dist/chunks/firstPartyEventLogger-1.1.26-ckqh8nb4.mjs +0 -1
  760. package/dist/chunks/git-1.1.26-0he7ww02.mjs +0 -1
  761. package/dist/chunks/githubModelsCredentials-1.1.26-xj1mdstq.mjs +0 -1
  762. package/dist/chunks/goal-1.1.26-n5s850gv.mjs +0 -4
  763. package/dist/chunks/growthbook-1.1.26-ka05jsbm.mjs +0 -1
  764. package/dist/chunks/headless-1.1.26-q9en6pe9.mjs +0 -2
  765. package/dist/chunks/heapdump-1.1.26-7ewvqmvf.mjs +0 -6
  766. package/dist/chunks/help-1.1.26-brf53t1m.mjs +0 -1
  767. package/dist/chunks/hookChains-1.1.26-rkf6y8rc.mjs +0 -3
  768. package/dist/chunks/hooks-1.1.26-9pdav42n.mjs +0 -1
  769. package/dist/chunks/hooks-1.1.26-szkj02ez.mjs +0 -79
  770. package/dist/chunks/ide-1.1.26-m5p57hjq.mjs +0 -3
  771. package/dist/chunks/image-processor-napi-1.1.26-rekvc35q.mjs +0 -1
  772. package/dist/chunks/import-1.1.26-7gbx5jy9.mjs +0 -261
  773. package/dist/chunks/inboundAttachments-1.1.26-tzg5nege.mjs +0 -1
  774. package/dist/chunks/index-1.1.26-1xcc10z3.mjs +0 -1
  775. package/dist/chunks/index-1.1.26-46seym0e.mjs +0 -1
  776. package/dist/chunks/index-1.1.26-4qsakkwp.mjs +0 -1
  777. package/dist/chunks/index-1.1.26-62wb3t76.mjs +0 -5
  778. package/dist/chunks/index-1.1.26-7dq7zd2s.mjs +0 -2
  779. package/dist/chunks/index-1.1.26-924a690m.mjs +0 -1
  780. package/dist/chunks/index-1.1.26-9hqzzjph.mjs +0 -1
  781. package/dist/chunks/index-1.1.26-bmzaqft1.mjs +0 -1
  782. package/dist/chunks/index-1.1.26-cpb34jqj.mjs +0 -9
  783. package/dist/chunks/index-1.1.26-cpx6j4xt.mjs +0 -1
  784. package/dist/chunks/index-1.1.26-gyna59qe.mjs +0 -1
  785. package/dist/chunks/index-1.1.26-h45zww68.mjs +0 -30
  786. package/dist/chunks/index-1.1.26-matsx1ed.mjs +0 -1
  787. package/dist/chunks/index-1.1.26-pm334xks.mjs +0 -1
  788. package/dist/chunks/index-1.1.26-qrbfj1zz.mjs +0 -1
  789. package/dist/chunks/index-1.1.26-sh5v696c.mjs +0 -1
  790. package/dist/chunks/index-1.1.26-srjepzh3.mjs +0 -2
  791. package/dist/chunks/index-1.1.26-syyhrh9b.mjs +0 -23
  792. package/dist/chunks/index-1.1.26-te4885d9.mjs +0 -1
  793. package/dist/chunks/index-1.1.26-tyjd8na6.mjs +0 -1
  794. package/dist/chunks/index-1.1.26-vk1z10tp.mjs +0 -1
  795. package/dist/chunks/index-1.1.26-vpyv4546.mjs +0 -9
  796. package/dist/chunks/index-1.1.26-xc6bagza.mjs +0 -1
  797. package/dist/chunks/init-1.1.26-bnpznn1w.mjs +0 -1
  798. package/dist/chunks/initReplBridge-1.1.26-c4s4p9cb.mjs +0 -1
  799. package/dist/chunks/ink-1.1.26-vgbt5egw.mjs +0 -1
  800. package/dist/chunks/insights-1.1.26-vcx1pevy.mjs +0 -870
  801. package/dist/chunks/install-1.1.26-4y132asw.mjs +0 -1
  802. package/dist/chunks/install-github-app-1.1.26-93zf234q.mjs +0 -149
  803. package/dist/chunks/install-slack-app-1.1.26-mhrfx4re.mjs +0 -1
  804. package/dist/chunks/instrumentation-1.1.26-c4qjkj2f.mjs +0 -1
  805. package/dist/chunks/interactiveHelpers-1.1.26-d3arqch8.mjs +0 -1
  806. package/dist/chunks/keybindings-1.1.26-vn76vb0k.mjs +0 -2
  807. package/dist/chunks/knowledge-1.1.26-tqdt6kx8.mjs +0 -2
  808. package/dist/chunks/latestVersionCache-1.1.26-nefaqy0s.mjs +0 -1
  809. package/dist/chunks/loadAgentsDir-1.1.26-w9zj8h13.mjs +0 -1
  810. package/dist/chunks/loadPluginHooks-1.1.26-p32pd0zg.mjs +0 -1
  811. package/dist/chunks/log-1.1.26-esy3mc70.mjs +0 -1
  812. package/dist/chunks/main-1.1.26-mj3gcxpm.mjs +0 -1
  813. package/dist/chunks/managedEnv-1.1.26-z6q7c9s8.mjs +0 -1
  814. package/dist/chunks/mcp-1.1.26-4c7syme5.mjs +0 -17
  815. package/dist/chunks/mcp-1.1.26-fhs36m57.mjs +0 -1
  816. package/dist/chunks/mcp-1.1.26-nadsprjm.mjs +0 -4
  817. package/dist/chunks/mcpb-1.1.26-ek6r8msb.mjs +0 -1
  818. package/dist/chunks/memory-1.1.26-b3m4e86v.mjs +0 -72
  819. package/dist/chunks/model-1.1.26-fhssfrx1.mjs +0 -1
  820. package/dist/chunks/model-1.1.26-v4t85ag1.mjs +0 -2
  821. package/dist/chunks/node-1.1.26-y7ck63cv.mjs +0 -15
  822. package/dist/chunks/oauth-1.1.26-8bftajjg.mjs +0 -1
  823. package/dist/chunks/openaiShim-1.1.26-wvmheb4c.mjs +0 -14
  824. package/dist/chunks/output-style-1.1.26-rgrmrr2a.mjs +0 -1
  825. package/dist/chunks/package-SHMK2LJE-1.1.26-grxx0tgk.mjs +0 -1
  826. package/dist/chunks/parseConnectUrl-1.1.26-64n8w8aa.mjs +0 -1
  827. package/dist/chunks/parser-1.1.26-p8fcgcbm.mjs +0 -1
  828. package/dist/chunks/passes-1.1.26-65c9vjm7.mjs +0 -1
  829. package/dist/chunks/permissions-1.1.26-bvde1j7e.mjs +0 -1
  830. package/dist/chunks/permissions-1.1.26-xx4tbm19.mjs +0 -3
  831. package/dist/chunks/plan-1.1.26-0p7zmpya.mjs +0 -1
  832. package/dist/chunks/plist-1.1.26-emtpv6yq.mjs +0 -1
  833. package/dist/chunks/plugin-1.1.26-6mz4s6ce.mjs +0 -29
  834. package/dist/chunks/pluginStartupCheck-1.1.26-zsxa12d4.mjs +0 -1
  835. package/dist/chunks/plugins-1.1.26-z4gc0hj4.mjs +0 -9
  836. package/dist/chunks/preActionHook-1.1.26-zja64r0y.mjs +0 -2
  837. package/dist/chunks/print-1.1.26-4jbs3r8a.mjs +0 -57
  838. package/dist/chunks/process-1.1.26-nkvbv24g.mjs +0 -1
  839. package/dist/chunks/processBashCommand-1.1.26-881sdvc5.mjs +0 -1
  840. package/dist/chunks/processSlashCommand-1.1.26-watbp07x.mjs +0 -9
  841. package/dist/chunks/prompt-1.1.26-734yg5r7.mjs +0 -1
  842. package/dist/chunks/prompt-1.1.26-ta9d8xgm.mjs +0 -1
  843. package/dist/chunks/prompts-1.1.26-cacdrcnk.mjs +0 -1
  844. package/dist/chunks/protocolHandler-1.1.26-qfw93skn.mjs +0 -13
  845. package/dist/chunks/provider-1.1.26-yk3xh49r.mjs +0 -2
  846. package/dist/chunks/providerProfiles-1.1.26-srvwhkc8.mjs +0 -1
  847. package/dist/chunks/providerValidation-1.1.26-57a6s8yj.mjs +0 -6
  848. package/dist/chunks/rate-limit-options-1.1.26-14exf6fk.mjs +0 -1
  849. package/dist/chunks/registerSubcommands-1.1.26-1yddk8hw.mjs +0 -26
  850. package/dist/chunks/registry-1.1.26-z88679pc.mjs +0 -1
  851. package/dist/chunks/release-notes-1.1.26-e7dkgbnp.mjs +0 -5
  852. package/dist/chunks/reload-plugins-1.1.26-6r85z0m0.mjs +0 -2
  853. package/dist/chunks/remote-env-1.1.26-rg1652ey.mjs +0 -1
  854. package/dist/chunks/remoteBridgeCore-1.1.26-jmhet39g.mjs +0 -1
  855. package/dist/chunks/remoteSession-1.1.26-5rva0545.mjs +0 -1
  856. package/dist/chunks/rename-1.1.26-vp06xehr.mjs +0 -1
  857. package/dist/chunks/replBridgeHandle-1.1.26-cs214vs7.mjs +0 -1
  858. package/dist/chunks/replLauncher-1.1.26-j0wpsd4v.mjs +0 -1
  859. package/dist/chunks/resume-1.1.26-agfxxd17.mjs +0 -2
  860. package/dist/chunks/rewind-1.1.26-dr3rgj2z.mjs +0 -1
  861. package/dist/chunks/rootOptions-1.1.26-nc1jrtkg.mjs +0 -1
  862. package/dist/chunks/runWorkflowHeadless-1.1.26-4xq2d4x0.mjs +0 -10
  863. package/dist/chunks/sandbox-adapter-1.1.26-v5bmtrnt.mjs +0 -1
  864. package/dist/chunks/sandbox-toggle-1.1.26-5pxvxje1.mjs +0 -1
  865. package/dist/chunks/session-1.1.26-7ejzc2bx.mjs +0 -2
  866. package/dist/chunks/sessionDiscovery-1.1.26-n6vex16t.mjs +0 -1
  867. package/dist/chunks/sessionFileAccessHooks-1.1.26-q07mz5fe.mjs +0 -1
  868. package/dist/chunks/sessionStorage-1.1.26-3x2gtfk1.mjs +0 -1
  869. package/dist/chunks/settings-1.1.26-5hc0bpnb.mjs +0 -1
  870. package/dist/chunks/setup-1.1.26-2qatx87q.mjs +0 -12
  871. package/dist/chunks/sinks-1.1.26-0d001pg9.mjs +0 -1
  872. package/dist/chunks/skills-1.1.26-5q1xvy1e.mjs +0 -1
  873. package/dist/chunks/startupProfiler-1.1.26-76scq5n6.mjs +0 -1
  874. package/dist/chunks/startupUpdateCheck-1.1.26-jw39czgq.mjs +0 -1
  875. package/dist/chunks/state-1.1.26-zh2a5cb0.mjs +0 -1
  876. package/dist/chunks/stats-1.1.26-3yvhzgsr.mjs +0 -1
  877. package/dist/chunks/status-1.1.26-ey3zzjzf.mjs +0 -1
  878. package/dist/chunks/stickers-1.1.26-pnx0arwe.mjs +0 -1
  879. package/dist/chunks/subprocessEnv-1.1.26-93d936pm.mjs +0 -1
  880. package/dist/chunks/tasks-1.1.26-05xaegas.mjs +0 -1
  881. package/dist/chunks/teamHelpers-1.1.26-zn888hhw.mjs +0 -1
  882. package/dist/chunks/teammateModeSnapshot-1.1.26-bhkgw59h.mjs +0 -1
  883. package/dist/chunks/teleport-1.1.26-9m3eaa2j.mjs +0 -1
  884. package/dist/chunks/terminalSetup-1.1.26-p0bvd0b7.mjs +0 -1
  885. package/dist/chunks/theme-1.1.26-ys6mqfn7.mjs +0 -1
  886. package/dist/chunks/thinkback-1.1.26-v4qbcex4.mjs +0 -1
  887. package/dist/chunks/thinkback-play-1.1.26-6gg066vk.mjs +0 -1
  888. package/dist/chunks/toolPool-1.1.26-g4p6wj1v.mjs +0 -1
  889. package/dist/chunks/toolSearch-1.1.26-0whd6fnj.mjs +0 -1
  890. package/dist/chunks/tools-1.1.26-m8c4e11h.mjs +0 -1
  891. package/dist/chunks/trustedDevice-1.1.26-w86xceqp.mjs +0 -1
  892. package/dist/chunks/turndown.cjs-1.1.26-kk4sc8q3.mjs +0 -69
  893. package/dist/chunks/types-1.1.26-myrve966.mjs +0 -1
  894. package/dist/chunks/ultrareviewCommand-1.1.26-fyxh8eqb.mjs +0 -4
  895. package/dist/chunks/update-1.1.26-96yjt7je.mjs +0 -72
  896. package/dist/chunks/upgrade-1.1.26-x2geqcxm.mjs +0 -1
  897. package/dist/chunks/upload-1.1.26-vpwb30tf.mjs +0 -7
  898. package/dist/chunks/upstreamproxy-1.1.26-xe96amnx.mjs +0 -14
  899. package/dist/chunks/url-handler-napi-1.1.26-2v7h396d.mjs +0 -1
  900. package/dist/chunks/usage-1.1.26-pbyahcbc.mjs +0 -1
  901. package/dist/chunks/util-1.1.26-f55brgp6.mjs +0 -1
  902. package/dist/chunks/utils-1.1.26-ntj5p9c6.mjs +0 -1
  903. package/dist/chunks/vim-1.1.26-n3dckyqd.mjs +0 -1
  904. package/dist/chunks/watchLoop-1.1.26-shv6pr8d.mjs +0 -13
  905. package/dist/chunks/watcher-1.1.26-bdahcrvk.mjs +0 -1
  906. package/dist/chunks/wiki-1.1.26-9q9evb0p.mjs +0 -132
  907. package/dist/chunks/workflows-1.1.26-pv1pmcm0.mjs +0 -1
  908. package/dist/chunks/worktree-1.1.26-k3z8qg36.mjs +0 -1
  909. package/dist/chunks/worktreeModeEnabled-1.1.26-c966pdm7.mjs +0 -1
  910. package/dist/chunks/wrapper-1.1.26-smg8ftbk.mjs +0 -7
  911. /package/dist/chunks/{cli-1.1.26-t8fgt5kw.mjs → cli-1.1.27-097en7tp.mjs} +0 -0
  912. /package/dist/chunks/{cli-1.1.26-sgj6knz9.mjs → cli-1.1.27-5mn2zxpk.mjs} +0 -0
  913. /package/dist/chunks/{cli-1.1.26-rbz29dt9.mjs → cli-1.1.27-f8njyndt.mjs} +0 -0
  914. /package/dist/chunks/{cli-1.1.26-nqygxkhw.mjs → cli-1.1.27-sgvc7y72.mjs} +0 -0
@@ -1,24 +0,0 @@
1
- import{Hb as qY}from"./cli-1.1.26-nqygxkhw.mjs";import{rd as LY,ud as rQ}from"./cli-1.1.26-swdk2n55.mjs";import{yi as X0,zi as p6}from"./cli-1.1.26-syjzv1v1.mjs";import{Xi as IY,Yi as J6}from"./cli-1.1.26-gt65gs27.mjs";import{$K as TY,$q as FZ,Al as Z0,BM as F9,Bk as O0,Bl as q9,Bz as K6,Cl as XZ,DE as NY,Dl as Y0,EB as yY,EE as nQ,El as D9,FM as b9,Fl as A9,GB as V6,Gk as $Y,Gl as sY,IS as OZ,KI as C0,LC as CY,LI as s9,MC as H6,MM as o6,OE as n,Ou as S0,Pu as GQ,QE as B6,Qu as JY,RL as rY,RQ as hY,Ru as lQ,SB as MY,SG as I0,Su as FY,TG as o9,UB as G6,UL as O6,VK as s,VS as xY,Vt as F0,Yp as $9,Yt as b0,Zp as r6,Zq as iZ,Zt as fZ,_Q as SY,_q as cY,aR as kY,ar as PY,bu as i9,cP as BY,cT as uY,dD as RY,eD as N6,eP as iQ,eR as L6,gL as fY,gT as zY,gw as x0,hw as u0,iw as p0,jT as vY,jw as c0,kn as UZ,kw as m0,ky as M0,lB as jY,lw as d0,mB as OY,mw as pZ,nB as X6,nS as kZ,nn as EZ,nw as cZ,ny as r9,on as h0,ow as g0,pw as l0,qw as a0,rS as xZ,rw as n0,sw as i0,tw as r0,uw as o0,vl as L9,vw as s0,wl as u6,ww as t0,xl as z9,xw as NQ,yB as HY,yk as KZ,yl as v9,yz as bY,zB as aQ,zM as P9,zl as MZ}from"./cli-1.1.26-kvt0v6vq.mjs";import{LX as Q9,PX as T6}from"./cli-1.1.26-3z39qjr1.mjs";import{RY as y0,SY as g9,dZ as U0,eZ as E0,fZ as l9,iZ as $0,jZ as a9,pZ as P0,qZ as n9}from"./cli-1.1.26-j0pfn318.mjs";import{E1 as p,G1 as b,f0 as m9,j2 as d9}from"./cli-1.1.26-nv2mgz6h.mjs";import{L4 as a,M4 as y,N4 as M,O4 as G0}from"./cli-1.1.26-qf02kggq.mjs";import{P4 as c9}from"./cli-1.1.26-kz0et72d.mjs";import{A8 as iY,U6 as nY,Y6 as w6,x9 as j6}from"./cli-1.1.26-tgtv1jp3.mjs";import{Aba as n6,Bha as p9,Fha as e,Gba as Y9,Iea as aY,Kda as gY,Lba as R6,Lda as lY,Nda as A6,Nha as j0,T$ as y9,Vea as _6,_aa as RZ,aba as x9,dba as U9,e$ as _Z,f$ as k9,q$ as GY,s$ as gQ,sda as E9,taa as a6,yha as w0,zda as i6}from"./cli-1.1.26-mvjefec1.mjs";import{Yha as N0,eia as B0,iia as S9}from"./cli-1.1.26-79g0hfrb.mjs";import{Mia as oY,Xia as E6}from"./cli-1.1.26-chwpygff.mjs";import{Nja as Y,Oja as S,Pja as HZ,Qja as D,Rja as yZ}from"./cli-1.1.26-3gepexgn.mjs";import{$ja as L0,Uja as dY,Wja as D6,Yja as TZ,aka as z0,bka as v0,cka as q0,eka as D0,fka as A0,rka as _0,xka as u9}from"./cli-1.1.26-pf85an2q.mjs";import{Ika as g,Lka as jZ}from"./cli-1.1.26-n0thzakv.mjs";import{Lla as I,Oka as Z9,Ola as JZ,Qka as C6,ola as ZZ,pla as WY,tla as PZ}from"./cli-1.1.26-nr4x1ay3.mjs";import{Qla as KY,Ula as dQ}from"./cli-1.1.26-79j24jxp.mjs";import{Xla as VY,jma as O9,kma as sZ,qma as gZ}from"./cli-1.1.26-7ssnr221.mjs";import{Rqa as J9,Sqa as qZ,Tqa as H9,Vqa as N9,Wqa as Q0,Yqa as B9,esa as wY,hsa as NZ,ioa as BZ,ooa as V0,poa as eY,zpa as mY}from"./cli-1.1.26-4aztw2ex.mjs";import{_ta as H0,bua as SZ,cua as wZ,dua as nZ}from"./cli-1.1.26-zb5hq3ry.mjs";var WQ={};SZ(WQ,{selectableUserMessagesFilter:()=>f0,messagesAfterAreOnlySynthetic:()=>VQ,MessageSelector:()=>e9});import{randomUUID as t9}from"crypto";import*as QZ from"path";function R0(Q){return Q.type==="text"}function hZ(Q){return Q==="summarize"||Q==="summarize_up_to"}function e9({messages:Q,onPreRestore:Z,onRestoreMessage:X,onRestoreCode:W,onSummarize:V,onClose:H,preselectedMessage:G}){let K=M0((j)=>j.fileHistory),[B,z]=R.useState(void 0),J=F0(),L=R.useMemo(t9,[]),_=R.useMemo(()=>[...Q.filter(f0),{...s({content:""}),uuid:L}],[Q,L]),[O,q]=R.useState(_.length-1),P=Math.max(0,Math.min(O-Math.floor(CZ/2),_.length-CZ)),f=_.length>1,[v,F]=R.useState(G),[U,h]=R.useState(void 0);R.useEffect(()=>{if(!G||!J)return;let j=!1;return fZ(K,G.uuid).then((T)=>{if(!j)h(T)}),()=>{j=!0}},[G,J,K]);let[E,w]=R.useState(!1),[c,r]=R.useState(null),[o,C]=R.useState("both"),[k,x]=R.useState(""),[A,$]=R.useState("");function N(j){let T=j?[{value:"both",label:"Restore code and conversation"},{value:"conversation",label:"Restore conversation"},{value:"code",label:"Restore code"}]:[{value:"conversation",label:"Restore conversation"}],m={type:"input",placeholder:"add context (optional)",initialValue:"",allowEmptySubmitToCancel:!0,showLabelWithValue:!0,labelValueSeparator:": "};return T.push({value:"summarize",label:"Summarize from here",...m,onChange:x}),T.push({value:"nevermind",label:"Never mind"}),T}R.useEffect(()=>{g("",{})},[]);async function u(j){Z(),w(!0);try{await X(j),w(!1),H()}catch(T){e(T),w(!1),z(`Failed to restore the conversation:
2
- ${T}`)}}async function l(j){let T=Q.indexOf(j),m=Q.length-1-T;if(g("",{index_from_end:m,message_type:j.type,is_current_prompt:!1}),!Q.includes(j)){H();return}if(!J){await u(j);return}let d=await fZ(K,j.uuid);F(j),h(d)}async function VZ(j){if(g("",{option:j}),!v){z("Message not found.");return}if(j==="nevermind"){if(G)H();else F(void 0);return}if(hZ(j)){Z(),w(!0),r(j),z(void 0);try{let d=j==="summarize_up_to"?"up_to":"from",YZ=(d==="up_to"?A:k).trim()||void 0;await V(v,YZ,d),w(!1),r(null),F(void 0),H()}catch(d){e(d),w(!1),r(null),F(void 0),z(`Failed to summarize:
3
- ${d}`)}return}Z(),w(!0),z(void 0);let T=null,m=null;if(j==="code"||j==="both")try{await W(v)}catch(d){T=d,e(T)}if(j==="conversation"||j==="both")try{await X(v)}catch(d){m=d,e(m)}if(w(!1),F(void 0),m&&T)z(`Failed to restore the conversation and code:
4
- ${m}
5
- ${T}`);else if(m)z(`Failed to restore the conversation:
6
- ${m}`);else if(T)z(`Failed to restore the code:
7
- ${T}`);else H()}let WZ=$0(),t=R.useCallback(()=>{if(v&&!G){F(void 0);return}g("",{}),H()},[H,v,G]),I9=R.useCallback(()=>q((j)=>Math.max(0,j-1)),[]),C9=R.useCallback(()=>q((j)=>Math.min(_.length-1,j+1)),[_.length]),R9=R.useCallback(()=>q(0),[]),T9=R.useCallback(()=>q(_.length-1),[_.length]),f9=R.useCallback(()=>{let j=_[O];if(j)l(j)},[_,O,l]);U0("confirm:no",t,{context:"Confirmation",isActive:!v}),E0({"messageSelector:up":I9,"messageSelector:down":C9,"messageSelector:top":R9,"messageSelector:bottom":T9,"messageSelector:select":f9},{context:"MessageSelector",isActive:!E&&!B&&!v&&f});let[W0,K0]=R.useState({});R.useEffect(()=>{async function j(){if(!J)return;Promise.all(_.map(async(T,m)=>{if(T.uuid!==L){let d=b0(K,T.uuid),YZ=_.at(m+1),AZ=d?XQ(Q,T.uuid,YZ?.uuid!==L?YZ?.uuid:void 0):void 0;if(AZ!==void 0)K0((i)=>({...i,[m]:AZ}));else K0((i)=>({...i,[m]:void 0}))}}))}j()},[_,Q,L,K,J]);let DZ=J&&U?.filesChanged&&U.filesChanged.length>0,h9=!B&&!v&&!G&&f;return M(p,{flexDirection:"column",width:"100%",children:[y(P0,{color:"suggestion"}),M(p,{flexDirection:"column",marginX:1,gap:1,children:[y(b,{bold:!0,color:"suggestion",children:"Rewind"}),B&&y(a,{children:M(b,{color:"error",children:["Error: ",B]})}),!f&&y(a,{children:y(b,{children:"Nothing to rewind to yet."})}),!B&&v&&f&&M(a,{children:[M(b,{children:["Confirm you want to restore"," ",!U&&"the conversation ","to the point before you sent this message:"]}),M(p,{flexDirection:"column",paddingLeft:1,borderStyle:"single",borderRight:!1,borderTop:!1,borderBottom:!1,borderLeft:!0,borderLeftDimColor:!0,children:[y(J0,{userMessage:v,color:"text",isCurrent:!1}),M(b,{dimColor:!0,children:["(",B0(new Date(v.timestamp)),")"]})]}),y(YQ,{selectedRestoreOption:o,canRestoreCode:!!DZ,diffStatsForRestore:U}),E&&hZ(c)?M(p,{flexDirection:"row",gap:1,children:[y(C0,{}),y(b,{children:"Summarizing…"})]}):y(I0,{isDisabled:E,options:N(!!DZ),defaultFocusValue:DZ?"both":"conversation",onFocus:(j)=>C(j),onChange:(j)=>VZ(j),onCancel:()=>G?H():F(void 0)}),DZ&&y(p,{marginBottom:1,children:M(b,{dimColor:!0,children:[_Z.warning," Rewinding does not affect files edited manually or via bash."]})})]}),h9&&M(a,{children:[J?y(b,{children:"Restore the code and/or conversation to the point before…"}):y(b,{children:"Restore and fork the conversation to the point before…"}),y(p,{width:"100%",flexDirection:"column",children:_.slice(P,P+CZ).map((j,T)=>{let m=P+T,d=m===O,YZ=j.uuid===L,AZ=m in W0,i=W0[m],IZ=i?.filesChanged&&i.filesChanged.length;return M(p,{height:J?3:2,overflow:"hidden",width:"100%",flexDirection:"row",children:[y(p,{width:2,minWidth:2,children:d?M(b,{color:"permission",bold:!0,children:[_Z.pointer," "]}):y(b,{children:" "})}),M(p,{flexDirection:"column",children:[y(p,{flexShrink:1,height:1,overflow:"hidden",children:y(J0,{userMessage:j,color:d?"suggestion":void 0,isCurrent:YZ,paddingRight:10})}),J&&AZ&&y(p,{height:1,flexDirection:"row",children:i?y(a,{children:y(b,{dimColor:!d,color:"inactive",children:IZ?M(a,{children:[IZ===1&&i.filesChanged[0]?`${QZ.basename(i.filesChanged[0])} `:`${IZ} files changed `,y(T0,{diffStats:i})]}):y(a,{children:"No code changes"})})}):M(b,{dimColor:!0,color:"warning",children:[_Z.warning," No code restore"]})})]})]},j.uuid)})})]}),!v&&y(b,{dimColor:!0,italic:!0,children:WZ.pending?M(a,{children:["Press ",WZ.keyName," again to exit"]}):M(a,{children:[!B&&f&&"Enter to continue · ","Esc to exit"]})})]})]})}function ZQ(Q){switch(Q){case"summarize":return"Messages after this point will be summarized.";case"summarize_up_to":return"Preceding messages will be summarized. This and subsequent messages will remain unchanged — you will stay at the end of the conversation.";case"both":case"conversation":return"The conversation will be forked.";case"code":case"nevermind":return"The conversation will be unchanged."}}function YQ(Q){let Z=GZ.c(11),{selectedRestoreOption:X,canRestoreCode:W,diffStatsForRestore:V}=Q,H=W&&(X==="both"||X==="code"),G;if(Z[0]!==X)G=ZQ(X),Z[0]=X,Z[1]=G;else G=Z[1];let K;if(Z[2]!==G)K=y(b,{dimColor:!0,children:G}),Z[2]=G,Z[3]=K;else K=Z[3];let B;if(Z[4]!==V||Z[5]!==X||Z[6]!==H)B=!hZ(X)&&(H?y(QQ,{diffStatsForRestore:V}):y(b,{dimColor:!0,children:"The code will be unchanged."})),Z[4]=V,Z[5]=X,Z[6]=H,Z[7]=B;else B=Z[7];let z;if(Z[8]!==K||Z[9]!==B)z=M(p,{flexDirection:"column",children:[K,B]}),Z[8]=K,Z[9]=B,Z[10]=z;else z=Z[10];return z}function QQ(Q){let Z=GZ.c(14),{diffStatsForRestore:X}=Q;if(X===void 0)return;if(!X.filesChanged||!X.filesChanged[0]){let K;if(Z[0]===Symbol.for("react.memo_cache_sentinel"))K=y(b,{dimColor:!0,children:"The code has not changed (nothing will be restored)."}),Z[0]=K;else K=Z[0];return K}let W=X.filesChanged.length,V;if(W===1){let K;if(Z[1]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[1]=X.filesChanged[0],Z[2]=K;else K=Z[2];V=K}else if(W===2){let K;if(Z[3]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[3]=X.filesChanged[0],Z[4]=K;else K=Z[4];let B=K,z;if(Z[5]!==X.filesChanged[1])z=QZ.basename(X.filesChanged[1]||""),Z[5]=X.filesChanged[1],Z[6]=z;else z=Z[6];V=`${B} and ${z}`}else{let K;if(Z[7]!==X.filesChanged[0])K=QZ.basename(X.filesChanged[0]||""),Z[7]=X.filesChanged[0],Z[8]=K;else K=Z[8];V=`${K} and ${X.filesChanged.length-1} other files`}let H;if(Z[9]!==X)H=y(T0,{diffStats:X}),Z[9]=X,Z[10]=H;else H=Z[10];let G;if(Z[11]!==V||Z[12]!==H)G=y(a,{children:M(b,{dimColor:!0,children:["The code will be restored"," ",H," in ",V,"."]})}),Z[11]=V,Z[12]=H,Z[13]=G;else G=Z[13];return G}function T0(Q){let Z=GZ.c(7),{diffStats:X}=Q;if(!X||!X.filesChanged)return;let W;if(Z[0]!==X.insertions)W=M(b,{color:"diffAddedWord",children:["+",X.insertions," "]}),Z[0]=X.insertions,Z[1]=W;else W=Z[1];let V;if(Z[2]!==X.deletions)V=M(b,{color:"diffRemovedWord",children:["-",X.deletions]}),Z[2]=X.deletions,Z[3]=V;else V=Z[3];let H;if(Z[4]!==W||Z[5]!==V)H=M(a,{children:[W,V]}),Z[4]=W,Z[5]=V,Z[6]=H;else H=Z[6];return H}function J0(Q){let Z=GZ.c(31),{userMessage:X,color:W,dimColor:V,isCurrent:H,paddingRight:G}=Q,{columns:K}=y0();if(H){let h;if(Z[0]!==W||Z[1]!==V)h=y(p,{width:"100%",children:y(b,{italic:!0,color:W,dimColor:V,children:"(current)"})}),Z[0]=W,Z[1]=V,Z[2]=h;else h=Z[2];return h}let B=X.message.content,z=typeof B==="string"?null:B[B.length-1],J,L,_,O,q,P,f,v;if(Z[3]!==W||Z[4]!==K||Z[5]!==B||Z[6]!==V||Z[7]!==z||Z[8]!==G){v=Symbol.for("react.early_return_sentinel");Z:{let h=typeof B==="string"?B.trim():z&&R0(z)?z.text.trim():"(no prompt)",E=w0(h);if(O0(E)){let w;if(Z[17]!==W||Z[18]!==V)w=y(p,{flexDirection:"row",width:"100%",children:y(b,{italic:!0,color:W,dimColor:V,children:"((empty message))"})}),Z[17]=W,Z[18]=V,Z[19]=w;else w=Z[19];v=w;break Z}if(E.includes("<bash-input>")){let w=KZ(E,"bash-input");if(w){let c;if(Z[20]===Symbol.for("react.memo_cache_sentinel"))c=y(b,{color:"bashBorder",children:"!"}),Z[20]=c;else c=Z[20];v=M(p,{flexDirection:"row",width:"100%",children:[c,M(b,{color:W,dimColor:V,children:[" ",w]})]});break Z}}if(E.includes(`<${TZ}>`)){let w=KZ(E,TZ),c=KZ(E,"command-args"),r=KZ(E,"skill-format")==="true";if(w)if(r){v=y(p,{flexDirection:"row",width:"100%",children:M(b,{color:W,dimColor:V,children:["Skill(",w,")"]})});break Z}else{v=y(p,{flexDirection:"row",width:"100%",children:M(b,{color:W,dimColor:V,children:["/",w," ",c]})});break Z}}L=p,P="row",f="100%",J=b,_=W,O=V,q=G?N0(E,K-G,!0):E.slice(0,500).split(`
8
- `).slice(0,4).join(`
9
- `)}Z[3]=W,Z[4]=K,Z[5]=B,Z[6]=V,Z[7]=z,Z[8]=G,Z[9]=J,Z[10]=L,Z[11]=_,Z[12]=O,Z[13]=q,Z[14]=P,Z[15]=f,Z[16]=v}else J=Z[9],L=Z[10],_=Z[11],O=Z[12],q=Z[13],P=Z[14],f=Z[15],v=Z[16];if(v!==Symbol.for("react.early_return_sentinel"))return v;let F;if(Z[21]!==J||Z[22]!==_||Z[23]!==O||Z[24]!==q)F=y(J,{color:_,dimColor:O,children:q}),Z[21]=J,Z[22]=_,Z[23]=O,Z[24]=q,Z[25]=F;else F=Z[25];let U;if(Z[26]!==L||Z[27]!==P||Z[28]!==f||Z[29]!==F)U=y(L,{flexDirection:P,width:f,children:F}),Z[26]=L,Z[27]=P,Z[28]=f,Z[29]=F,Z[30]=U;else U=Z[30];return U}function XQ(Q,Z,X){let W=Q.findIndex((B)=>B.uuid===Z);if(W===-1)return;let V=X?Q.findIndex((B)=>B.uuid===X):Q.length;if(V===-1)V=Q.length;let H=[],G=0,K=0;for(let B=W+1;B<V;B++){let z=Q[B];if(!z||!xZ(z))continue;let J=z.toolUseResult;if(!J||!J.filePath||!J.structuredPatch)continue;if(!H.includes(J.filePath))H.push(J.filePath);try{if("type"in J&&J.type==="create")G+=J.content.split(/\r?\n/).length;else for(let L of J.structuredPatch){let _=RZ(L.lines,(q)=>q.startsWith("+")),O=RZ(L.lines,(q)=>q.startsWith("-"));G+=_,K+=O}}catch{continue}}return{filesChanged:H,insertions:G,deletions:K}}function f0(Q){if(Q.type!=="user")return!1;if(Array.isArray(Q.message.content)&&Q.message.content[0]?.type==="tool_result")return!1;if(kZ(Q))return!1;if(Q.isMeta)return!1;if(Q.isCompactSummary||Q.isVisibleInTranscriptOnly)return!1;let Z=Q.message.content,X=typeof Z==="string"?null:Z[Z.length-1],W=typeof Z==="string"?Z.trim():X&&R0(X)?X.text.trim():"";if(W.indexOf(`<${v0}>`)!==-1||W.indexOf(`<${q0}>`)!==-1||W.indexOf(`<${L0}>`)!==-1||W.indexOf(`<${z0}>`)!==-1||W.indexOf(`<${A0}>`)!==-1||W.indexOf(`<${D0}>`)!==-1||W.indexOf(`<${_0}`)!==-1)return!1;return!0}function VQ(Q,Z){for(let X=Z+1;X<Q.length;X++){let W=Q[X];if(!W)continue;if(kZ(W))continue;if(xZ(W))continue;if(W.type==="progress")continue;if(W.type==="system")continue;if(W.type==="attachment")continue;if(W.type==="user"&&W.isMeta)continue;if(W.type==="assistant"){let V=W.message.content;if(Array.isArray(V)){if(V.some((G)=>G.type==="text"&&G.text.trim()||G.type==="tool_use"))return!1}continue}if(W.type==="user")return!1}return!0}var GZ,R,CZ=7;var KQ=wZ(()=>{k9();jZ();r9();i9();j0();a9();d9();l9();p9();OZ();o9();s9();g9();u9();x9();S9();n9();G0();GZ=H0(m9(),1),R=H0(c9(),1)});var M6={};SZ(M6,{getCronJitterConfig:()=>b6});function b6(){let Q=oY("tengu_kairos_cron_config",XZ,$6),Z=F6().safeParse(Q);return Z.success?Z.data:XZ}var $6=60000,rZ=1800000,P6=2592000000,F6;var I6=wZ(()=>{HZ();E6();sY();yZ();F6=D(()=>Y.object({recurringFrac:Y.number().min(0).max(1),recurringCapMs:Y.number().int().min(0).max(rZ),oneShotMaxMs:Y.number().int().min(0).max(rZ),oneShotFloorMs:Y.number().int().min(0).max(rZ),oneShotMinuteMod:Y.number().int().min(1).max(60),recurringMaxAgeMs:Y.number().int().min(0).max(P6).default(XZ.recurringMaxAgeMs)}).refine((Q)=>Q.oneShotFloorMs<=Q.oneShotMaxMs))});import{mkdir as f6,readFile as h6,unlink as X9,writeFile as tZ}from"fs/promises";import{dirname as S6,join as V9}from"path";function zZ(Q){return V9(Q??eY(),k6)}async function W9(Q){let Z;try{Z=await h6(zZ(Q),"utf8")}catch{return}let X=x6().safeParse(Y9(Z,!1));return X.success?X.data:void 0}async function tY(Q,Z){let X=zZ(Z),W=ZZ(Q);try{return await tZ(X,W,{flag:"wx"}),!0}catch(V){let H=sZ(V);if(H==="EEXIST")return!1;if(H==="ENOENT"){await f6(S6(X),{recursive:!0});try{return await tZ(X,W,{flag:"wx"}),!0}catch(G){if(sZ(G)==="EEXIST")return!1;throw G}}throw V}}function oZ(Q){bZ?.(),bZ=Z9(async()=>{await vZ(Q)})}async function eZ(Q){let Z=Q?.dir,X=Q?.lockIdentity??BZ(),W={sessionId:X,pid:process.pid,acquiredAt:Date.now()};if(await tY(W,Z))return LZ=void 0,oZ(Q),I(`[ScheduledTasks] acquired scheduler lock (PID ${process.pid})`),!0;let V=await W9(Z);if(V?.sessionId===X){if(V.pid!==process.pid)await tZ(zZ(Z),ZZ(W)),oZ(Q);return!0}if(V&&Q9(V.pid)){if(LZ!==V.sessionId)LZ=V.sessionId,I(`[ScheduledTasks] scheduler lock held by session ${V.sessionId} (PID ${V.pid})`);return!1}if(V)I(`[ScheduledTasks] recovering stale scheduler lock from PID ${V.pid}`);if(await X9(zZ(Z)).catch(()=>{}),await tY(W,Z))return LZ=void 0,oZ(Q),!0;return!1}async function vZ(Q){bZ?.(),bZ=void 0,LZ=void 0;let Z=Q?.dir,X=Q?.lockIdentity??BZ(),W=await W9(Z);if(!W||W.sessionId!==X)return;try{await X9(zZ(Z)),I("[ScheduledTasks] released scheduler lock")}catch{}}var k6,x6,bZ,LZ;var K9=wZ(()=>{HZ();NZ();C6();JZ();gZ();T6();R6();yZ();PZ();k6=V9(".claudin","scheduled_tasks.lock"),x6=D(()=>Y.object({sessionId:Y.string(),pid:Y.number(),acquiredAt:Y.number()}))});var g6={};SZ(g6,{takeDueSessionWakeup:()=>w9,isRecurringTaskAged:()=>_9,createCronScheduler:()=>d6,buildMissedTaskNotification:()=>j9});function _9(Q,Z,X){if(X===0)return!1;return Boolean(Q.recurring&&!Q.permanent&&Z-Q.createdAt>=X)}function w9(Q){let Z=Q0();if(!Z||Q<Z.fireAtMs)return null;return B9(),{prompt:X0(Z.prompt),reason:Z.reason}}function d6(Q){let{onFire:Z,isLoading:X,assistantMode:W=!1,onFireTask:V,onMissed:H,onWakeupFire:G,dir:K,lockIdentity:B,getJitterConfig:z,isKilled:J,filter:L}=Q,_=K||B?{dir:K,lockIdentity:B}:void 0,O=[],q=new Map,P=new Set,f=new Set,v=null,F=null,U=null,h=null,E=!1,w=!1;async function c(C){let k=await v9(K);if(E)return;if(O=k,!C)return;let x=Date.now(),A=A9(k,x).filter(($)=>!$.recurring&&!P.has($.id)&&(!L||L($)));if(A.length>0){for(let $ of A)P.add($.id),q.set($.id,1/0);if(g("",{count:A.length,taskIds:A.map(($)=>$.id).join(",")}),H)H(A);else Z(j9(A));Z0(A.map(($)=>$.id),K).catch(($)=>I(`[ScheduledTasks] failed to remove missed tasks: ${$}`)),I(`[ScheduledTasks] surfaced ${A.length} missed one-shot task(s)`)}}function r(){if(J?.())return;if(X()&&!W)return;let C=Date.now(),k=new Set,x=[],A=z?.()??XZ;function $(N,u){if(L&&!L(N))return;if(k.add(N.id),f.has(N.id))return;let l=q.get(N.id);if(l===void 0)l=N.recurring?Y0(N.cron,N.lastFiredAt??N.createdAt,N.id,A)??1/0:D9(N.cron,N.createdAt,N.id,A)??1/0,q.set(N.id,l),I(`[ScheduledTasks] scheduled ${N.id} for ${l===1/0?"never":new Date(l).toISOString()}`);if(C<l)return;I(`[ScheduledTasks] firing ${N.id}${N.recurring?" (recurring)":""}`),g("",{recurring:N.recurring??!1,taskId:N.id});let VZ=K===void 0?X0(N.prompt,void 0,N.agentId):N.prompt;if(V)V(VZ===N.prompt?N:{...N,prompt:VZ});else Z(VZ);let WZ=_9(N,C,A.recurringMaxAgeMs);if(WZ){let t=Math.floor((C-N.createdAt)/1000/60/60);I(`[ScheduledTasks] recurring task ${N.id} aged out (${t}h since creation), deleting after final fire`),g("",{taskId:N.id,ageHours:t})}if(N.recurring&&!WZ){let t=Y0(N.cron,C,N.id,A)??1/0;if(q.set(N.id,t),!u)x.push(N.id)}else if(u)N9([N.id]),q.delete(N.id);else f.add(N.id),Z0([N.id],K).catch((t)=>I(`[ScheduledTasks] failed to remove task ${N.id}: ${t}`)).finally(()=>f.delete(N.id)),q.delete(N.id)}if(w){for(let N of O)$(N,!1);if(x.length>0){for(let N of x)f.add(N);q9(x,C,K).catch((N)=>I(`[ScheduledTasks] failed to persist lastFiredAt: ${N}`)).finally(()=>{for(let N of x)f.delete(N)})}}if(K===void 0){for(let u of H9())$(u,!0);let N=w9(C);if(N!==null)if(I("[ScheduledTasks] firing pending ScheduleWakeup"),g("",{}),G)G(N.prompt,N.reason);else Z(N.prompt)}if(k.size===0){q.clear();return}for(let N of q.keys())if(!k.has(N))q.delete(N)}async function o(){if(E)return;if(v)clearInterval(v),v=null;let{default:C}=await import("./index-1.1.26-bmzaqft1.mjs");if(E)return;if(w=await eZ(_).catch(()=>!1),E){if(w)w=!1,vZ(_);return}if(!w)U=setInterval(()=>{eZ(_).then((x)=>{if(E){if(x)vZ(_);return}if(x){if(w=!0,U)clearInterval(U),U=null}}).catch((x)=>I(String(x),{level:"error"}))},m6),U.unref?.();c(!0);let k=z9(K);h=C.watch(k,{persistent:!1,ignoreInitial:!0,awaitWriteFinish:{stabilityThreshold:c6},ignorePermissionErrors:!0}),h.on("add",()=>void c(!1)),h.on("change",()=>void c(!1)),h.on("unlink",()=>{if(!E)O=[],q.clear()}),F=setInterval(r,G9),F.unref?.()}return{start(){if(E=!1,K!==void 0){I(`[ScheduledTasks] scheduler start() — dir=${K}, hasTasks=${MZ(K)}`),o();return}if(I(`[ScheduledTasks] scheduler start() — enabled=${qZ()}, hasTasks=${MZ()}`),!qZ()&&(W||MZ()))J9(!0);if(qZ()){o();return}v=setInterval((C)=>{if(qZ())C()},G9,o),v.unref?.()},stop(){if(E=!0,v)clearInterval(v),v=null;if(F)clearInterval(F),F=null;if(U)clearInterval(U),U=null;if(h?.close(),h=null,w)w=!1,vZ(_)},getNextFireTime(){let C=1/0;for(let k of q.values())if(k<C)C=k;if(K===void 0){let k=Q0();if(k&&k.fireAtMs<C)C=k.fireAtMs}return C===1/0?null:C}}}function j9(Q){let Z=Q.length>1,X=`The following one-shot scheduled task${Z?"s were":" was"} missed while Claude was not running. ${Z?"They have":"It has"} already been removed from .claudin/scheduled_tasks.json.
10
-
11
- Do NOT execute ${Z?"these prompts":"this prompt"} yet. First use the AskUserQuestion tool to ask whether to run ${Z?"each one":"it"} now. Only execute if the user confirms.`,W=Q.map((V)=>{let H=`[${L9(V.cron)}, created ${new Date(V.createdAt).toLocaleString()}]`,G=(V.prompt.match(/`+/g)??[]).reduce((B,z)=>Math.max(B,z.length),0),K="`".repeat(Math.max(3,G+1));return`${H}
12
- ${K}
13
- ${V.prompt}
14
- ${K}`});return`${X}
15
-
16
- ${W.join(`
17
-
18
- `)}`}var G9=1000,c6=300,m6=5000;var l6=wZ(()=>{NZ();jZ();u6();sY();K9();JZ();p6()});HZ();JZ();yZ();h0();GQ();var EX=D(()=>S.object({tool_name:S.string().describe("The name of the tool requesting permission"),input:S.record(S.string(),S.unknown()).describe("The input for the tool"),tool_use_id:S.string().optional().describe("The unique tool use request ID")})),k0=D(()=>S.enum(["user_temporary","user_permanent","user_reject"]).optional().catch(void 0)),JQ=D(()=>S.object({behavior:S.literal("allow"),updatedInput:S.record(S.string(),S.unknown()),updatedPermissions:S.array(S0()).optional().catch((Q)=>{I(`Malformed updatedPermissions from SDK host ignored: ${Q.error.issues[0]?.message??"unknown"}`,{level:"warn"});return}),toolUseID:S.string().optional(),decisionClassification:k0()})),HQ=D(()=>S.object({behavior:S.literal("deny"),message:S.string(),interrupt:S.boolean().optional(),toolUseID:S.string().optional(),decisionClassification:k0()})),uZ=D(()=>S.union([JQ(),HQ()]));function $Z(Q,Z,X,W){let V={type:"permissionPromptTool",permissionPromptToolName:Z.name,toolResult:Q};if(Q.behavior==="allow"){let H=Q.updatedPermissions;if(H)W.setAppState((K)=>({...K,toolPermissionContext:UZ(K.toolPermissionContext,H)})),EZ(H);let G=Object.keys(Q.updatedInput).length>0?Q.updatedInput:X;return{...Q,updatedInput:G,decisionReason:V}}else if(Q.behavior==="deny"&&Q.interrupt)I(`SDK permission prompt deny+interrupt: tool=${Z.name} message=${Q.message}`),W.abortController.abort();return{...Q,decisionReason:V}}import{randomUUID as dZ}from"crypto";HZ();yZ();NQ();var BQ=D(()=>Y.unknown()),LQ=D(()=>Y.object({matcher:Y.string().optional(),hookCallbackIds:Y.array(Y.string()),timeout:Y.number().optional()}).describe("Configuration for matching and routing hook callbacks.")),zQ=D(()=>Y.object({subtype:Y.literal("initialize"),hooks:Y.record(m0(),Y.array(LQ())).optional(),sdkMcpServers:Y.array(Y.string()).optional(),jsonSchema:Y.record(Y.string(),Y.unknown()).optional(),systemPrompt:Y.string().optional(),appendSystemPrompt:Y.string().optional(),agents:Y.record(Y.string(),a0()).optional(),promptSuggestions:Y.boolean().optional(),agentProgressSummaries:Y.boolean().optional()}).describe("Initializes the SDK session with hooks, MCP servers, and agent configuration.")),MX=D(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),output_style:Y.string(),available_output_styles:Y.array(Y.string()),models:Y.array(g0()),account:l0(),pid:Y.number().optional().describe("@internal CLI process PID for tmux socket isolation"),fast_mode_state:t0().optional()}).describe("Response from session initialization with available commands, models, and account info.")),vQ=D(()=>Y.object({subtype:Y.literal("interrupt")}).describe("Interrupts the currently running conversation turn.")),qQ=D(()=>Y.object({subtype:Y.literal("can_use_tool"),tool_name:Y.string(),input:Y.record(Y.string(),Y.unknown()),permission_suggestions:Y.array(p0()).optional(),blocked_path:Y.string().optional(),decision_reason:Y.string().optional(),title:Y.string().optional(),display_name:Y.string().optional(),tool_use_id:Y.string(),agent_id:Y.string().optional(),description:Y.string().optional()}).describe("Requests permission to use a tool with the given input.")),DQ=D(()=>Y.object({subtype:Y.literal("set_permission_mode"),mode:c0(),ultraplan:Y.boolean().optional().describe("@internal CCR ultraplan session marker.")}).describe("Sets the permission mode for tool execution handling.")),AQ=D(()=>Y.object({subtype:Y.literal("set_model"),model:Y.string().optional()}).describe("Sets the model to use for subsequent conversation turns.")),_Q=D(()=>Y.object({subtype:Y.literal("set_max_thinking_tokens"),max_thinking_tokens:Y.number().nullable()}).describe("Sets the maximum number of thinking tokens for extended thinking.")),wQ=D(()=>Y.object({subtype:Y.literal("mcp_status")}).describe("Requests the current status of all MCP server connections.")),jQ=D(()=>Y.object({subtype:Y.literal("get_context_usage")}).describe("Requests a breakdown of current context window usage by category.")),OQ=D(()=>Y.object({name:Y.string(),tokens:Y.number(),color:Y.string(),isDeferred:Y.boolean().optional()})),yQ=D(()=>Y.object({color:Y.string(),isFilled:Y.boolean(),categoryName:Y.string(),tokens:Y.number(),percentage:Y.number(),squareFullness:Y.number()})),IX=D(()=>Y.object({categories:Y.array(OQ()),totalTokens:Y.number(),maxTokens:Y.number(),rawMaxTokens:Y.number(),percentage:Y.number(),gridRows:Y.array(Y.array(yQ())),model:Y.string(),memoryFiles:Y.array(Y.object({path:Y.string(),type:Y.string(),tokens:Y.number()})),mcpTools:Y.array(Y.object({name:Y.string(),serverName:Y.string(),tokens:Y.number(),isLoaded:Y.boolean().optional()})),deferredBuiltinTools:Y.array(Y.object({name:Y.string(),tokens:Y.number(),isLoaded:Y.boolean()})).optional(),systemTools:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),systemPromptSections:Y.array(Y.object({name:Y.string(),tokens:Y.number()})).optional(),agents:Y.array(Y.object({agentType:Y.string(),source:Y.string(),tokens:Y.number()})),slashCommands:Y.object({totalCommands:Y.number(),includedCommands:Y.number(),tokens:Y.number()}).optional(),skills:Y.object({totalSkills:Y.number(),includedSkills:Y.number(),tokens:Y.number(),skillFrontmatter:Y.array(Y.object({name:Y.string(),source:Y.string(),tokens:Y.number()}))}).optional(),autoCompactThreshold:Y.number().optional(),isAutoCompactEnabled:Y.boolean(),messageBreakdown:Y.object({toolCallTokens:Y.number(),toolResultTokens:Y.number(),attachmentTokens:Y.number(),assistantMessageTokens:Y.number(),userMessageTokens:Y.number(),toolCallsByType:Y.array(Y.object({name:Y.string(),callTokens:Y.number(),resultTokens:Y.number()})),attachmentsByType:Y.array(Y.object({name:Y.string(),tokens:Y.number()}))}).optional(),apiUsage:Y.object({input_tokens:Y.number(),output_tokens:Y.number(),cache_creation_input_tokens:Y.number(),cache_read_input_tokens:Y.number()}).nullable()}).describe("Breakdown of current context window usage by category (system prompt, tools, messages, etc.).")),UQ=D(()=>Y.object({subtype:Y.literal("rewind_files"),user_message_id:Y.string(),dry_run:Y.boolean().optional()}).describe("Rewinds file changes made since a specific user message.")),EQ=D(()=>Y.object({subtype:Y.literal("cancel_async_message"),message_uuid:Y.string()}).describe("Drops a pending async user message from the command queue by uuid. No-op if already dequeued for execution.")),$Q=D(()=>Y.object({subtype:Y.literal("seed_read_state"),path:Y.string(),mtime:Y.number()}).describe("Seeds the readFileState cache with a path+mtime entry. Use when a prior Read was removed from context (e.g. by snip) so Edit validation would fail despite the client having observed the Read. The mtime lets the CLI detect if the file changed since the seeded Read — same staleness check as the normal path.")),PQ=D(()=>Y.object({subtype:Y.literal("hook_callback"),callback_id:Y.string(),input:d0(),tool_use_id:Y.string().optional()}).describe("Delivers a hook callback with its input data.")),FQ=D(()=>Y.object({subtype:Y.literal("mcp_message"),server_name:Y.string(),message:BQ()}).describe("Sends a JSON-RPC message to a specific MCP server.")),bQ=D(()=>Y.object({subtype:Y.literal("mcp_set_servers"),servers:Y.record(Y.string(),x0())}).describe("Replaces the set of dynamically managed MCP servers.")),CX=D(()=>Y.object({added:Y.array(Y.string()),removed:Y.array(Y.string()),errors:Y.record(Y.string(),Y.string())}).describe("Result of replacing the set of dynamically managed MCP servers.")),MQ=D(()=>Y.object({subtype:Y.literal("reload_plugins")}).describe("Reloads plugins from disk and returns the refreshed session components.")),RX=D(()=>Y.object({commands:Y.array(pZ()),agents:Y.array(cZ()),plugins:Y.array(Y.object({name:Y.string(),path:Y.string(),source:Y.string().optional()})),mcpServers:Y.array(u0()),error_count:Y.number()}).describe("Refreshed commands, agents, plugins, and MCP server status after reload.")),IQ=D(()=>Y.object({subtype:Y.literal("mcp_reconnect"),serverName:Y.string()}).describe("Reconnects a disconnected or failed MCP server.")),CQ=D(()=>Y.object({subtype:Y.literal("mcp_toggle"),serverName:Y.string(),enabled:Y.boolean()}).describe("Enables or disables an MCP server.")),RQ=D(()=>Y.object({subtype:Y.literal("stop_task"),task_id:Y.string()}).describe("Stops a running task.")),TQ=D(()=>Y.object({subtype:Y.literal("apply_flag_settings"),settings:Y.record(Y.string(),Y.unknown())}).describe("Merges the provided settings into the flag settings layer, updating the active configuration.")),fQ=D(()=>Y.object({subtype:Y.literal("get_settings")}).describe("Returns the effective merged settings and the raw per-source settings.")),TX=D(()=>Y.object({effective:Y.record(Y.string(),Y.unknown()),sources:Y.array(Y.object({source:Y.enum(["userSettings","projectSettings","localSettings","flagSettings","policySettings"]),settings:Y.record(Y.string(),Y.unknown())})).describe("Ordered low-to-high priority — later entries override earlier ones."),applied:Y.object({model:Y.string(),effort:Y.enum(["low","medium","high","max"]).nullable()}).optional().describe("Runtime-resolved values after env overrides, session state, and model-specific defaults are applied. Unlike `effective` (disk merge), these reflect what will actually be sent to the API.")}).describe("Effective merged settings plus raw per-source settings in merge order.")),hQ=D(()=>Y.object({subtype:Y.literal("elicitation"),mcp_server_name:Y.string(),message:Y.string(),mode:Y.enum(["form","url"]).optional(),url:Y.string().optional(),elicitation_id:Y.string().optional(),requested_schema:Y.record(Y.string(),Y.unknown()).optional()}).describe("Requests the SDK consumer to handle an MCP elicitation (user input request).")),e0=D(()=>Y.object({action:Y.enum(["accept","decline","cancel"]),content:Y.record(Y.string(),Y.unknown()).optional()}).describe("Response from the SDK consumer for an elicitation request.")),SQ=D(()=>Y.union([vQ(),qQ(),zQ(),DQ(),AQ(),_Q(),wQ(),jQ(),PQ(),FQ(),UQ(),EQ(),$Q(),bQ(),MQ(),IQ(),CQ(),RQ(),TQ(),fQ(),hQ()])),mZ=D(()=>Y.object({type:Y.literal("control_request"),request_id:Y.string(),request:SQ()})),kQ=D(()=>Y.object({subtype:Y.literal("success"),request_id:Y.string(),response:Y.record(Y.string(),Y.unknown()).optional()})),xQ=D(()=>Y.object({subtype:Y.literal("error"),request_id:Y.string(),error:Y.string(),pending_permission_requests:Y.array(Y.lazy(()=>mZ())).optional()})),ZY=D(()=>Y.object({type:Y.literal("control_response"),response:Y.union([kQ(),xQ()])})),uQ=D(()=>Y.object({type:Y.literal("control_cancel_request"),request_id:Y.string()}).describe("Cancels a currently open control request.")),YY=D(()=>Y.object({type:Y.literal("keep_alive")}).describe("Keep-alive message to maintain WebSocket connection.")),pQ=D(()=>Y.object({type:Y.literal("update_environment_variables"),variables:Y.record(Y.string(),Y.string())}).describe("Updates environment variables at runtime.")),fX=D(()=>Y.union([s0(),i0(),r0(),o0(),ZY(),mZ(),uQ(),YY()])),hX=D(()=>Y.union([n0(),mZ(),ZY(),YY(),pQ()]));lQ();JZ();gQ();gZ();iQ();dQ();PZ();HZ();nQ();vY();h0();rQ();PZ();aQ();PZ();var cQ=/\u2028|\u2029/g;function mQ(Q){return Q.replace(cQ,(Z)=>Z==="\u2028"?"\\u2028":"\\u2029")}function QY(Q){return mQ(ZZ(Q))}var oQ="SandboxNetworkAccess";function sQ(Q){if(!Q)return;if(Q.type==="classifier")return Q.reason;switch(Q.type){case"rule":case"mode":case"subcommandResults":case"permissionPromptTool":return;case"hook":case"asyncAgent":case"sandboxOverride":case"workingDir":case"safetyCheck":case"other":return Q.reason}}function tQ(Q,Z,X,W){let V;try{V=Q.getActivityDescription?.(Z)??Q.getToolUseSummary?.(Z)??Q.userFacingName(Z)}catch{V=Q.name}return{tool_name:Q.name,action_description:V,tool_use_id:X,request_id:W,input:Z}}var eQ=1000;class Z6{input;replayUserMessages;structuredInput;pendingRequests=new Map;restoredWorkerState=Promise.resolve(null);inputClosed=!1;unexpectedResponseCallback;resolvedToolUseIds=new Set;prependedLines=[];onControlRequestSent;onControlRequestResolved;outbound=new HY;constructor(Q,Z){this.input=Q;this.replayUserMessages=Z;this.input=Q,this.structuredInput=this.read()}trackResolvedToolUseId(Q){if(Q.request.subtype==="can_use_tool"){if(this.resolvedToolUseIds.add(Q.request.tool_use_id),this.resolvedToolUseIds.size>eQ){let Z=this.resolvedToolUseIds.values().next().value;if(Z!==void 0)this.resolvedToolUseIds.delete(Z)}}}flushInternalEvents(){return Promise.resolve()}get internalEventsPending(){return 0}prependUserMessage(Q){this.prependedLines.push(ZZ({type:"user",session_id:"",message:{role:"user",content:Q},parent_tool_use_id:null})+`
19
- `)}async*read(){let Q="",Z=async function*(){for(;;){if(this.prependedLines.length>0)Q=this.prependedLines.join("")+Q,this.prependedLines=[];let X=Q.indexOf(`
20
- `);if(X===-1)break;let W=Q.slice(0,X);Q=Q.slice(X+1);let V=await this.processLine(W);if(V)GY("info","cli_stdin_message_parsed",{type:V.type}),yield V}}.bind(this);yield*Z();for await(let X of this.input)Q+=X,yield*Z();if(Q){let X=await this.processLine(Q);if(X)yield X}this.inputClosed=!0;for(let X of this.pendingRequests.values())X.reject(Error("Tool permission stream closed before response received"))}getPendingPermissionRequests(){return Array.from(this.pendingRequests.values()).map((Q)=>Q.request).filter((Q)=>Q.request.subtype==="can_use_tool")}setUnexpectedResponseCallback(Q){this.unexpectedResponseCallback=Q}injectControlResponse(Q){let Z=Q.response?.request_id;if(!Z)return;let X=this.pendingRequests.get(Z);if(!X)return;if(this.trackResolvedToolUseId(X.request),this.pendingRequests.delete(Z),this.write({type:"control_cancel_request",request_id:Z}),Q.response.subtype==="error")X.reject(Error(Q.response.error));else{let W=Q.response.response;if(X.schema)try{X.resolve(X.schema.parse(W))}catch(V){X.reject(V)}else X.resolve({})}}setOnControlRequestSent(Q){this.onControlRequestSent=Q}setOnControlRequestResolved(Q){this.onControlRequestResolved=Q}async processLine(Q){if(!Q)return;try{let Z=qY(WY(Q));if(Z.type==="keep_alive")return;if(Z.type==="update_environment_variables"){let W=Object.keys(Z.variables);for(let[V,H]of Object.entries(Z.variables))process.env[V]=H;I(`[structuredIO] applied update_environment_variables: ${W.join(", ")}`);return}if(Z.type==="control_response"){let W="uuid"in Z&&typeof Z.uuid==="string"?Z.uuid:void 0;if(W)NY(W,"completed");let V=this.pendingRequests.get(Z.response.request_id);if(!V){let K=(Z.response.subtype==="success"?Z.response.response:void 0)?.toolUseID;if(typeof K==="string"&&this.resolvedToolUseIds.has(K)){I(`Ignoring duplicate control_response for already-resolved toolUseID=${K} request_id=${Z.response.request_id}`);return}if(this.unexpectedResponseCallback)await this.unexpectedResponseCallback(Z);return}if(this.trackResolvedToolUseId(V.request),this.pendingRequests.delete(Z.response.request_id),V.request.request.subtype==="can_use_tool"&&this.onControlRequestResolved)this.onControlRequestResolved(Z.response.request_id);if(Z.response.subtype==="error"){V.reject(Error(Z.response.error));return}let H=Z.response.response;if(V.schema)try{V.resolve(V.schema.parse(H))}catch(G){V.reject(G)}else V.resolve({});if(this.replayUserMessages)return Z;return}if(Z.type!=="user"&&Z.type!=="control_request"&&Z.type!=="assistant"&&Z.type!=="system"){I(`Ignoring unknown message type: ${Z.type}`,{level:"warn"});return}if(Z.type==="control_request"){if(!Z.request)XY("Error: Missing request on control_request");return Z}if(Z.type==="assistant"||Z.type==="system")return Z;let X=Z.message;if(X.role!=="user")XY(`Error: Expected message role 'user', got '${String(X.role)}'`);return Z}catch(Z){console.error(`Error parsing streaming input line: ${Q}: ${Z}`),process.exit(1)}}async write(Q){KY(QY(Q)+`
21
- `)}async sendRequest(Q,Z,X,W=dZ()){let V={type:"control_request",request_id:W,request:Q};if(this.inputClosed)throw Error("Stream closed");if(X?.aborted)throw Error("Request aborted");if(this.outbound.enqueue(V),Q.subtype==="can_use_tool"&&this.onControlRequestSent)this.onControlRequestSent(V);let H=()=>{this.outbound.enqueue({type:"control_cancel_request",request_id:W});let G=this.pendingRequests.get(W);if(G)this.trackResolvedToolUseId(G.request),G.reject(new VY)};if(X)X.addEventListener("abort",H,{once:!0});try{return await new Promise((G,K)=>{this.pendingRequests.set(W,{request:{type:"control_request",request_id:W,request:Q},resolve:(B)=>{G(B)},reject:K,schema:Z})})}finally{if(X)X.removeEventListener("abort",H);this.pendingRequests.delete(W)}}createCanUseTool(Q){return async(Z,X,W,V,H,G)=>{let K=G??await BY(Z,X,W,V,H);if(K.behavior==="allow"||K.behavior==="deny")return K;let B=new AbortController,z=W.abortController.signal,J=()=>B.abort();z.addEventListener("abort",J,{once:!0});try{let L=Y6(Z.name,H,X,W,K.suggestions).then((P)=>({source:"hook",decision:P})),_=dZ();Q?.(tQ(Z,X,H,_));let O=this.sendRequest({subtype:"can_use_tool",tool_name:Z.name,input:X,permission_suggestions:K.suggestions,blocked_path:K.blockedPath,decision_reason:sQ(K.decisionReason),tool_use_id:H,agent_id:W.agentId},uZ(),B.signal,_).then((P)=>({source:"sdk",result:P})),q=await Promise.race([L,O]);if(q.source==="hook"){if(q.decision)return O.catch(()=>{}),B.abort(),q.decision;let P=await O;return $Z(P.result,Z,X,W)}return $Z(q.result,Z,X,W)}catch(L){return $Z({behavior:"deny",message:`Tool permission request failed: ${L}`,toolUseID:H},Z,X,W)}finally{if(this.getPendingPermissionRequests().length===0)LY("running");z.removeEventListener("abort",J)}}}createHookCallback(Q,Z){return{type:"callback",timeout:Z,callback:async(X,W,V)=>{try{return await this.sendRequest({subtype:"hook_callback",callback_id:Q,input:X,tool_use_id:W||void 0},JY(),V)}catch(H){return console.error(`Error in hook callback ${Q}:`,H),{}}}}}async handleElicitation(Q,Z,X,W,V,H,G){try{return await this.sendRequest({subtype:"elicitation",mcp_server_name:Q,message:Z,mode:V,url:H,elicitation_id:G,requested_schema:X},e0(),W)}catch{return{action:"cancel"}}}createSandboxAskCallback(){return async(Q)=>{try{return(await this.sendRequest({subtype:"can_use_tool",tool_name:oQ,input:{host:Q.host},tool_use_id:dZ(),description:`Allow network connection to ${Q.host}?`},uZ())).behavior==="allow"}catch{return!1}}}async sendMcpMessage(Q,Z){return(await this.sendRequest({subtype:"mcp_message",server_name:Q,message:Z},Y.object({mcp_response:Y.any()}))).mcp_response}}function XY(Q){console.error(Q),process.exit(1)}async function Y6(Q,Z,X,W,V){let G=W.getAppState().toolPermissionContext.mode,K=zY(Q,Z,X,W,G,V,W.abortController.signal);for await(let B of K)if(B.permissionRequestResult&&(B.permissionRequestResult.behavior==="allow"||B.permissionRequestResult.behavior==="deny")){let z=B.permissionRequestResult;if(z.behavior==="allow"){let J=z.updatedInput||X,L=z.updatedPermissions??[];if(L.length>0){EZ(L);let _=W.getAppState(),O=UZ(_.toolPermissionContext,L);W.setAppState((q)=>{if(q.toolPermissionContext===O)return q;return{...q,toolPermissionContext:O}})}return{behavior:"allow",updatedInput:J,userModified:!1,decisionReason:{type:"hook",hookName:"PermissionRequest"}}}else return{behavior:"deny",message:z.message||"Permission denied by PermissionRequest hook",decisionReason:{type:"hook",hookName:"PermissionRequest"}}}return}var DY={"`":"`",'"':'"',"<":">","{":"}","[":"]","(":")","'":"'"};function Q6(Q,Z){if(!new RegExp(Z,"i").test(Q))return[];if(Q.startsWith("/"))return[];let W=[],V=null,H=0,G=(J)=>!!J&&/[\p{L}\p{N}_]/u.test(J);for(let J=0;J<Q.length;J++){let L=Q[J];if(V){if(V==="["&&L==="["){H=J;continue}if(L!==DY[V])continue;if(V==="'"&&G(Q[J+1]))continue;W.push({start:H,end:J+1}),V=null}else if(L==="<"&&J+1<Q.length&&/[a-zA-Z/]/.test(Q[J+1])||L==="'"&&!G(Q[J-1])||L!=="<"&&L!=="'"&&L in DY)V=L,H=J}let K=[],B=new RegExp(`\\b${Z}\\b`,"gi"),z=Q.matchAll(B);for(let J of z){if(J.index===void 0)continue;let L=J.index,_=L+J[0].length;if(W.some((P)=>L>=P.start&&L<P.end))continue;let O=Q[L-1],q=Q[_];if(O==="/"||O==="\\"||O==="-")continue;if(q==="/"||q==="\\"||q==="-"||q==="?")continue;if(q==="."&&G(Q[_+1]))continue;K.push({word:J[0],start:L,end:_})}return K}function WV(Q){return Q6(Q,"ultrareview")}jZ();OZ();L6();H6();N6();G6();vY();PY();K6();OZ();B6();J6();import{randomUUID as z6}from"crypto";NZ();jZ();OZ();X6();V6();import{randomUUID as W6}from"crypto";function AY(Q){let Z=Q.toLowerCase();return/\b(wtf|wth|ffs|omfg|shit(ty|tiest)?|dumbass|horrible|awful|piss(ed|ing)? off|piece of (shit|crap|junk)|what the (fuck|hell)|fucking? (broken|useless|terrible|awful|horrible)|fuck you|screw (this|you)|so frustrating|this sucks|damn it)\b/.test(Z)}function _Y(Q){let Z=Q.toLowerCase().trim();if(Z==="continue")return!0;return/\b(keep going|go on)\b/.test(Z)}function UY(Q,Z,X,W,V,H,G){let K=W6();wY(K);let B=typeof Q==="string"?Q:Q.find((O)=>O.type==="text")?.text||"";yY(B);let z=typeof Q==="string"?Q:Q.findLast((O)=>O.type==="text")?.text||"";if(z)OY("user_prompt",{prompt_length:String(z.length),prompt:jY(z),"prompt.id":K});let J=AY(B),L=_Y(B);if(g("",{is_negative:J,is_keep_going:L}),Z.length>0){let O=typeof Q==="string"?Q.trim()?[{type:"text",text:Q}]:[]:Q;return{messages:[s({content:[...O,...Z],uuid:V,imagePasteIds:X.length>0?X:void 0,permissionMode:H,isMeta:G||void 0}),...W],shouldQuery:!0}}return{messages:[s({content:Q,uuid:V,permissionMode:H,isMeta:G||void 0}),...W],shouldQuery:!0}}async function TV({input:Q,preExpansionInput:Z,mode:X,setToolJSX:W,context:V,pastedContents:H,ideSelection:G,messages:K,setUserInputOnProcessing:B,uuid:z,isAlreadyProcessing:J,querySource:L,canUseTool:_,skipSlashCommands:O,bridgeOrigin:q,isMeta:P,skipAttachments:f}){let v=typeof Q==="string"?Q:null;if(X==="prompt"&&v!==null&&!P)B?.(v);n("query_process_user_input_base_start");let F=V.getAppState(),U=await v6(Q,X,W,V,H,G,K,z,J,L,_,F.toolPermissionContext.mode,O,q,P,f,Z);if(n("query_process_user_input_base_end"),!U.shouldQuery)return U;n("query_hooks_start");let h=$Y(Q)||"";for await(let E of uY(h,F.toolPermissionContext.mode,V,V.requestPrompt)){if(E.message?.type==="progress")continue;if(E.blockingError){let c=xY(E.blockingError);return{messages:[TY(`${c}
22
-
23
- Original prompt: ${Q}`,"warning")],shouldQuery:!1,allowedTools:U.allowedTools}}if(E.preventContinuation){let c=E.stopReason?`Operation stopped by hook: ${E.stopReason}`:"Operation stopped by hook";return U.messages.push(s({content:c})),U.shouldQuery=!1,U}if(E.additionalContexts&&E.additionalContexts.length>0)U.messages.push(FY({type:"hook_additional_context",content:E.additionalContexts.map(EY),hookName:"UserPromptSubmit",toolUseID:`hook-${z6()}`,hookEvent:"UserPromptSubmit"}));let w=E.message;if(w&&w.type==="attachment")switch(w.attachment.type){case"hook_success":if(!w.attachment.content)break;U.messages.push({...w,attachment:{...w.attachment,content:EY(w.attachment.content)}});break;default:U.messages.push(w);break}else if(w)U.messages.push(w)}return n("query_hooks_end"),U}var lZ=1e4;function EY(Q){if(Q.length>lZ)return`${Q.substring(0,lZ)}… [output truncated - exceeded ${lZ} characters]`;return Q}async function v6(Q,Z,X,W,V,H,G,K,B,z,J,L,_,O,q,P,f){let v=null,F=[],U=[],h=Q;if(typeof Q==="string")v=Q;else if(Q.length>0){n("query_image_processing_start");let A=[];for(let N of Q)if(N.type==="image"){let u=await iZ(N);if(u.dimensions){let l=FZ(u.dimensions);if(l)U.push(l)}A.push(u.block)}else A.push(N);h=A,n("query_image_processing_end");let $=A[A.length-1];if($?.type==="text")v=$.text,F=A.slice(0,-1);else F=A}if(v===null&&Z!=="prompt")throw Error(`Mode: ${Z} requires a string input.`);let E=V?Object.values(V).filter(CY):[],w=E.map((A)=>A.id),c=V?await bY(V):new Map;n("query_pasted_image_processing_start");let r=await Promise.all(E.map(async(A)=>{let $={type:"image",source:{type:"base64",media_type:A.mediaType||"image/png",data:A.content}};return g("",{original_size_bytes:A.content.length}),{resized:await iZ($),originalDimensions:A.dimensions,sourcePath:A.sourcePath??c.get(A.id)}})),o=[];for(let{resized:A,originalDimensions:$,sourcePath:N}of r){if(A.dimensions){let u=FZ(A.dimensions,N);if(u)U.push(u)}else if($){let u=FZ($,N);if(u)U.push(u)}else if(N)U.push(`[Image source: ${N}]`);o.push(A.block)}n("query_pasted_image_processing_end");let C=_;if(O&&v!==null&&v.startsWith("/")){let A=IY(v),$=A?kY(A.commandName,W.options.commands):void 0;if($)if(SY($))C=!1;else{let N=`/${hY($)} isn't available over Remote Control.`;return{messages:[s({content:v,uuid:K}),fY(`<local-command-stdout>${N}</local-command-stdout>`)],shouldQuery:!1,resultText:N}}}let k=!P&&v!==null&&(Z!=="prompt"||C||!v.startsWith("/"));n("query_attachment_loading_start");let x=k?await MY(RY(v,W,H??null,[],G,z)):[];if(n("query_attachment_loading_end"),v!==null&&Z==="bash"){let{processBashCommand:A}=await import("./processBashCommand-1.1.26-881sdvc5.mjs");return aZ(await A(v,F,x,W,X),U)}if(v!==null&&!C&&v.startsWith("/")){let{processSlashCommand:A}=await import("./processSlashCommand-1.1.26-watbp07x.mjs"),$=await A(v,F,o,x,W,X,K,B,J);return aZ($,U)}if(v!==null&&Z==="prompt"){let A=v.trim(),$=x.find((N)=>N.attachment.type==="agent_mention");if($){let N=`@agent-${$.attachment.agentType}`,u=A===N,l=A.startsWith(N)&&!u;g("",{is_subagent_only:u,is_prefix:l})}}return aZ(UY(h,o,w,x,K,L,q),U)}function aZ(Q,Z){if(Z.length>0)Q.messages.push(s({content:Z.map((X)=>({type:"text",text:X})),isMeta:!0}));return Q}PY();function SV(Q){if(Q.type!=="user")return;let Z=Q.message?.content;if(!Z)return;if(Array.isArray(Z)&&Z.length===0)return;let X="uuid"in Q&&typeof Q.uuid==="string"?Q.uuid:void 0;return{content:Array.isArray(Z)?q6(Z):Z,uuid:X}}function q6(Q){if(!Q.some(pY))return Q;return Q.map((Z)=>{if(!pY(Z))return Z;let X=Z.source,W=typeof X.mediaType==="string"&&X.mediaType?X.mediaType:cY(Z.source.data);return{...Z,source:{type:"base64",media_type:W,data:Z.source.data}}})}function pY(Q){if(Q.type!=="image"||Q.source?.type!=="base64")return!1;return!Q.source.media_type}NZ();O6();A6();j6();D6();w6();_6();import{randomUUID as y6}from"crypto";function U6(Q){return Q===gY?lY:Q}function aV(Q){let X=aY()?.outputStyle??rY,W={type:"system",subtype:"init",cwd:dY(),session_id:BZ(),tools:Q.tools.map((V)=>U6(V.name)),mcp_servers:Q.mcpClients.map((V)=>({name:V.name,status:V.type})),model:Q.model,permissionMode:Q.permissionMode,slash_commands:Q.commands.filter((V)=>V.userInvocable!==!1).map((V)=>V.name),apiKeySource:iY().source,betas:mY(),claude_code_version:"99.0.0",output_style:X,agents:Q.agents.map((V)=>V.agentType),skills:Q.skills.filter((V)=>V.userInvocable!==!1).map((V)=>V.name),plugins:Q.plugins.map((V)=>({name:V.name,path:V.path,source:V.source})),uuid:y6()};return W.fast_mode_state=nY(Q.model,Q.fastMode),W}r6();NZ();JZ();gZ();n6();a6();j0();o6();i6();import{isAbsolute as s6,resolve as t6}from"path";function e6(Q,Z,X){let W=[],V=[],H=[];for(let[G,K]of Object.entries(Q)){let B=Z[G],z=M9(K.source,X?.projectRoot);if(!B)W.push(G);else if(K.sourceIsFallback)H.push(G);else if(!$9(z,B.source))V.push({name:G,declaredSource:z,materializedSource:B.source});else H.push(G)}return{missing:W,sourceChanged:V,upToDate:H}}async function FW(Q){let Z=P9();if(Object.keys(Z).length===0)return{installed:[],updated:[],failed:[],upToDate:[],skipped:[]};let X;try{X=await F9()}catch(J){e(J),X={}}let W=e6(Z,X,{projectRoot:V0()}),V=[...W.missing.map((J)=>({name:J,source:M9(Z[J].source),action:"install"})),...W.sourceChanged.map(({name:J,declaredSource:L})=>({name:J,source:L,action:"update"}))],H=[],G=[];for(let J of V){if(Q?.skip?.(J.name,J.source)){H.push(J.name);continue}if(J.action==="update"&&E9(J.source)&&!await U9(J.source.path)){I(`[reconcile] '${J.name}' declared path does not exist; keeping materialized entry`),H.push(J.name);continue}G.push(J)}if(G.length===0)return{installed:[],updated:[],failed:[],upToDate:W.upToDate,skipped:H};I(`[reconcile] ${G.length} marketplace(s): ${G.map((J)=>`${J.name}(${J.action})`).join(", ")}`);let K=[],B=[],z=[];for(let J=0;J<G.length;J++){let{name:L,source:_,action:O}=G[J];Q?.onProgress?.({type:"installing",name:L,action:O,index:J+1,total:G.length});try{let q=await b9(_);if(O==="install")K.push(L);else B.push(L);Q?.onProgress?.({type:"installed",name:L,alreadyMaterialized:q.alreadyMaterialized})}catch(q){let P=O9(q);z.push({name:L,error:P}),Q?.onProgress?.({type:"failed",name:L,error:P}),e(q)}}return{installed:K,updated:B,failed:z,upToDate:W.upToDate,skipped:H}}function M9(Q,Z){if((Q.source==="directory"||Q.source==="file")&&!s6(Q.path)){let X=Z??V0(),W=y9(X);return{...Q,path:t6(W??X,Q.path)}}return Q}
24
- export{uZ as La,$Z as Ma,QY as Na,oQ as Oa,Z6 as Pa,e9 as Qa,f0 as Ra,VQ as Sa,WQ as Ta,KQ as Ua,WV as Va,TV as Wa,SV as Xa,U6 as Ya,aV as Za,e6 as _a,FW as $a,b6 as ab,M6 as bb,I6 as cb,d6 as db,g6 as eb,l6 as fb};
@@ -1,2 +0,0 @@
1
- import{ad as O,bd as Q,ed as U,fd as $}from"./cli-1.1.26-5p6865dd.mjs";import{SG as N,ZG as _}from"./cli-1.1.26-kvt0v6vq.mjs";import{E1 as G,G1 as w,j2 as Z}from"./cli-1.1.26-nv2mgz6h.mjs";import{M4 as q,N4 as F,O4 as K}from"./cli-1.1.26-qf02kggq.mjs";import{P4 as Y}from"./cli-1.1.26-kz0et72d.mjs";import{_ta as W,cua as X}from"./cli-1.1.26-zb5hq3ry.mjs";function R({enabled:J,onDismiss:H}){let[z,A]=V.useState(()=>J?{kind:"prompt"}:{kind:"hidden"});if(!J||z.kind==="hidden")return null;if(z.kind==="running")return F(G,{flexDirection:"column",marginBottom:1,children:[q(w,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),q(w,{dimColor:!0,children:"Copying API tokens and provider profiles."})]});if(z.kind==="success"||z.kind==="error"){let I=z.kind==="success"?"success":"warning",E=z.kind==="success"?"Migration complete":"Migration finished with warnings";return F(G,{flexDirection:"column",marginBottom:1,children:[q(w,{color:I,bold:!0,children:E}),q(w,{children:Q(z.report)}),q(w,{dimColor:!0,children:"Next: /import brings skills, MCP servers, agents and slash commands — from Claude Code, and from Codex, Gemini CLI, Qwen Code, opencode, Kimi CLI and Cursor."})]})}return F(G,{flexDirection:"column",marginBottom:1,children:[q(w,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),q(w,{children:"Copy the Claude Code sign-in — API tokens and provider profiles — into ~/.claudin/?"}),q(N,{options:[{value:"migrate",label:"Copy my sign-in",description:"Tokens only. Run /import for skills, MCP, agents."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(I)=>{if(I==="skip"){U(),A({kind:"hidden"}),H?.("skipped");return}A({kind:"running"}),(async()=>{let E=await O();A({kind:E.errors.length===0?"success":"error",report:E}),H?.("migrated")})()},onCancel:()=>{A({kind:"hidden"}),H?.("skipped")},visibleOptionCount:2})]})}var V;var f=X(()=>{Z();$();_();K();V=W(Y(),1)});
2
- export{R as _c,f as $c};
@@ -1,2 +0,0 @@
1
- import{cua as D}from"./cli-1.1.26-zb5hq3ry.mjs";function $(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function Z(q,B){let z=q;for(let K of B){if(z==null||typeof z!=="object")return;z=z[K]}return z}function N(q){if(!q)return!1;let B="";try{B=new URL(q).hostname.toLowerCase()}catch{}if(!B){let W=q.toLowerCase();return W.includes("localhost")||W.includes("127.0.0.1")||W.includes("::1")}let z=B.startsWith("[")&&B.endsWith("]")?B.slice(1,-1):B;if(z==="localhost"||z.endsWith(".localhost")||z.endsWith(".local")||z.endsWith(".lan")||z.endsWith(".internal")||z.endsWith(".intranet")||z.endsWith(".home.arpa"))return!0;let K=z.match(O);if(K){let W=Number(K[1]),j=Number(K[2]);if(W===10)return!0;if(W===172&&j>=16&&j<=31)return!0;if(W===192&&j===168)return!0;if(W===127)return!0;if(W===169&&j===254)return!0;if(W===100&&j>=64&&j<=127)return!0}if(z==="::1"||z==="::")return!0;if(z.startsWith("fe80:")||k.test(z)||L.test(z))return!0;return!1}function S(q,B){if(q==="github")return B?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let z=B?.openAiBaseUrl??"";if(N(z))return"self-hosted";let K=z.toLowerCase();if(K.includes(":11434"))return"ollama";if(K.includes("moonshot")||K.includes("kimi"))return"kimi";if(K.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function A(q){if(!q||typeof q!=="object")return 0;let B=q,z=$(B.cache_read_input_tokens);if(z>0)return z;let K=$(Z(q,["input_tokens_details","cached_tokens"]))||$(Z(q,["prompt_tokens_details","cached_tokens"]));if(K>0)return K;let W=$(B.cached_tokens);if(W>0)return W;let j=$(B.prompt_cache_hit_tokens);if(j>0)return j;let Q=$(B.cached_content_token_count);if(Q>0)return Q;return 0}function Y(q){if(!q||typeof q!=="object")return 0;let z=$(q.cache_creation_input_tokens);if(z>0)return z;return $(Z(q,["cache_creation","ephemeral_5m_input_tokens"]))+$(Z(q,["cache_creation","ephemeral_1h_input_tokens"]))}function f(q){let B=A(q),z=q??{},K=$(z.input_tokens)||$(z.prompt_tokens),W=K>=B?K-B:K,j=$(z.output_tokens)||$(z.completion_tokens);return{input_tokens:W,output_tokens:j,cache_creation_input_tokens:Y(q),cache_read_input_tokens:B}}function T(q,B){if(!q||typeof q!=="object")return H;let z=q,K=$(z.cache_read_input_tokens),W=$(z.cache_creation_input_tokens),j=$(z.input_tokens);if(B==="copilot"||B==="ollama")return H;if(B==="self-hosted"&&K===0&&W===0)return H;let Q=K+W+j;return{read:K,created:W,total:Q,hitRate:Q>0?Math.min(1,K/Q):null,supported:!0}}function _(q,B,z){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let K=[`${X(q.read)} read`];if(q.hitRate!==null)K.push(`hit ${Math.round(q.hitRate*100)}%`);let W=I(B);if(W)K.push(W);if(z&&z.length>0)K.push(`prefix rewritten: ${z.join(", ")}`);return`[Cache: ${K.join(" • ")}]`}function b(q,B,z){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let K=[`read=${X(q.read)}`,`created=${X(q.created)}`];if(q.hitRate!==null)K.push(`hit=${Math.round(q.hitRate*100)}%`);else K.push("hit=n/a");if(B&&B.clearedInputTokens>0)K.push(`server_cleared=${B.clearedToolUses}(-${X(B.clearedInputTokens)})`);if(z&&z.length>0)K.push(`rewrite=${z.join("+")}`);return`[Cache: ${K.join(" ")}]`}function I(q){if(!q||q.clearedInputTokens===0)return"";let B=q.clearedToolUses===1?"tool result":"tool results";return`server cleared ${q.clearedToolUses} ${B} (-${X(q.clearedInputTokens)})`}function X(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(U,"")}k`;return`${(q/1e6).toFixed(1).replace(U,"")}m`}function y(q,B){if(!q.supported&&!B.supported)return H;if(!q.supported)return B;if(!B.supported)return q;let z=q.read+B.read,K=q.created+B.created,W=q.total+B.total;return{read:z,created:K,total:W,hitRate:W>0?z/W:null,supported:!0}}var H,O,k,L,U;var V=D(()=>{H={read:0,created:0,total:0,hitRate:null,supported:!1};O=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,k=/^fc[0-9a-f]{0,2}:/,L=/^fd[0-9a-f]{0,2}:/,U=/\.0$/});function x(q){return{currentTurn:G,session:G,currentTurnServerClears:F,sessionServerClears:F,currentTurnPrefixRewrites:[],history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function C(q,B){J.currentTurn=y(J.currentTurn,q),J.session=y(J.session,q);let z={timestamp:Date.now(),label:B,metrics:q};if(J.history[J.historyWriteIdx]=z,J.historyWriteIdx=(J.historyWriteIdx+1)%J.historyMax,J.historySize<J.historyMax)J.historySize++}function E(q){let B=(z)=>({events:z.events+1,clearedToolUses:z.clearedToolUses+q.clearedToolUses,clearedInputTokens:z.clearedInputTokens+q.clearedInputTokens});J.currentTurnServerClears=B(J.currentTurnServerClears),J.sessionServerClears=B(J.sessionServerClears)}function n(q){J.currentTurnPrefixRewrites=[...J.currentTurnPrefixRewrites,q]}function h(){J.currentTurn=G,J.currentTurnServerClears=F,J.currentTurnPrefixRewrites=[]}function R(){J.currentTurn=G,J.session=G,J.currentTurnServerClears=F,J.sessionServerClears=F,J.currentTurnPrefixRewrites=[],J.history=Array(J.historyMax),J.historyWriteIdx=0,J.historySize=0}function v(){return J.currentTurn}function l(){return J.currentTurnServerClears}function d(){return J.currentTurnPrefixRewrites}function m(){return J.sessionServerClears}function o(){return J.session}function u(){if(J.historySize<J.historyMax)return J.history.slice(0,J.historySize);let q=J.history.slice(J.historyWriteIdx),B=J.history.slice(0,J.historyWriteIdx);return q.concat(B)}var F,P=500,G,J;var M=D(()=>{V();F={events:0,clearedToolUses:0,clearedInputTokens:0},G={read:0,created:0,total:0,hitRate:null,supported:!1};J=x(P)});
2
- export{S as z3,f as A3,T as B3,_ as C3,b as D3,V as E3,C as F3,E as G3,n as H3,h as I3,R as J3,v as K3,l as L3,d as M3,m as N3,o as O3,u as P3,M as Q3};
@@ -1,4 +0,0 @@
1
- import{oh as g,ph as Py}from"./cli-1.1.26-mdtsa5pq.mjs";import{mj as s,oj as d,pj as $y}from"./cli-1.1.26-rkdk0vdh.mjs";import{Ay as q,By as Zy,CM as n,Cr as A,Do as L,Fo as V,Ho as Y,Il as F,Ko as D,Lo as M,Lr as Qy,MM as vy,Ml as Iy,Mo as C,Oo as T,RT as c,TM as x,Uo as Ky,Vt as O,Wr as E,XM as Ny,_r as Wy,bu as Xy,lQ as l,lU as py,mr as f,tM as Q,uM as Ry,vr as u}from"./cli-1.1.26-kvt0v6vq.mjs";import{TX as i,UX as Oy}from"./cli-1.1.26-3z39qjr1.mjs";import{AZ as Uy,uZ as _,vZ as a,wZ as t}from"./cli-1.1.26-j0pfn318.mjs";import{GZ as o,MZ as hy}from"./cli-1.1.26-h8pwf3e5.mjs";import{C1 as k,D1 as Jy}from"./cli-1.1.26-nv2mgz6h.mjs";import{O7 as qy,e9 as Z,n7 as m,o7 as B,x9 as zy}from"./cli-1.1.26-tgtv1jp3.mjs";import{T9 as p,U9 as ry}from"./cli-1.1.26-32vewh62.mjs";import{Dea as b,Iea as K,Jfa as R,Mfa as w,Vea as ky,Y$ as h,fga as v,maa as H,rca as j,taa as wy,tca as jy,vaa as X,waa as Sy}from"./cli-1.1.26-mvjefec1.mjs";import{Lia as z,Xia as Gy}from"./cli-1.1.26-chwpygff.mjs";import{Lla as U,Ola as yy}from"./cli-1.1.26-nr4x1ay3.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 CLAUDIN_USE_POWERSHELL_TOOL=1 to enable the PowerShell tool (preview)",cooldownSessions:10,isRelevant:async()=>X()==="windows"&&process.env.CLAUDIN_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 wb,N as xb,kr as yb};
@@ -1,2 +0,0 @@
1
- import{ri as j,ti as l}from"./cli-1.1.26-v0vv0v6c.mjs";import{Di as W,Ji as i}from"./cli-1.1.26-bc7nnmyt.mjs";import{$D as L,Bz as S,JU as r,KU as R,LU as f,Lx as U,MU as F,Mx as m,NU as u,OU as t,Rv as _,VO as M,WQ as x,XO as n,Zw as B,aE as h,cw as $,cx as p,dw as D,eD as d,eR as s,ex as N,fx as g,iD as E,jD as C,ok as Z,pk as P,sj as Y,tj as A,wP as b,xP as o,xU as G,zz as V}from"./cli-1.1.26-kvt0v6vq.mjs";import{R_ as Q,X_ as k}from"./cli-1.1.26-zsf06fnj.mjs";import{A$ as O,H$ as I,bba as X,cba as v}from"./cli-1.1.26-mvjefec1.mjs";import{Kra as K,hsa as T,yra as J}from"./cli-1.1.26-4aztw2ex.mjs";import{cua as y,dua as w}from"./cli-1.1.26-zb5hq3ry.mjs";function Mq(H=new Set){let z=H.size>0;if(u.cache.clear?.(),F.cache.clear?.(),f.cache.clear?.(),Y.cache.clear?.(),W(),x(),!z)N();if(R(null),K(null),b(),_(),G("session_start"),V(),X.clear(),Z(),!z)B();if(Q(),M(),!z)U();J(H),O(),L(),$(),j(),E(),import("./utils-1.1.26-ntj5p9c6.mjs").then(({clearWebFetchCache:q})=>q()),import("./ToolSearchTool-1.1.26-c332beft.mjs").then(({clearToolSearchDescriptionCache:q})=>q()),import("./loadAgentsDir-1.1.26-w9zj8h13.mjs").then(({clearAgentDefinitionsCache:q})=>q()),import("./prompt-1.1.26-734yg5r7.mjs").then(({clearPromptCache:q})=>q())}var c=y(()=>{T();s();A();t();i();p();m();g();P();o();D();l();h();d();n();r();k();I();v();S();C()});
2
- export{Mq as pi,c as qi};
@@ -1,2 +0,0 @@
1
- import{ta as S,ua as R}from"./cli-1.1.26-abp7zq8a.mjs";import{za as j}from"./cli-1.1.26-fcnssbje.mjs";import{ZW as W,_W as A}from"./cli-1.1.26-v7k7gw6h.mjs";import{r8 as T,s8 as F}from"./cli-1.1.26-tgtv1jp3.mjs";import{Lla as Q,Ola as P}from"./cli-1.1.26-nr4x1ay3.mjs";import{jma as z,qma as x}from"./cli-1.1.26-7ssnr221.mjs";P();x();A();function f(G){return{write:(J)=>G.write(J),writeBatch:(J)=>G.writeBatch(J),close:()=>G.close(),isConnectedStatus:()=>G.isConnectedStatus(),getStateLabel:()=>G.getStateLabel(),setOnData:(J)=>G.setOnData(J),setOnClose:(J)=>G.setOnClose(J),setOnConnect:(J)=>G.setOnConnect(J),connect:()=>void G.connect(),getLastSequenceNum:()=>0,get droppedBatchCount(){return G.droppedBatchCount},reportState:()=>{},reportMetadata:()=>{},reportDelivery:()=>{},flush:()=>Promise.resolve()}}async function m(G){let{sessionUrl:J,ingressToken:X,sessionId:V,initialSequenceNum:_,getAuthToken:$}=G,O;if($)O=()=>{let B=$();if(!B)return{};return{Authorization:`Bearer ${B}`}};else W(X);let Y=G.epoch??await j(J,X);Q(`[bridge:repl] CCR v2: worker sessionId=${V} epoch=${Y}${G.epoch!==void 0?" (from /bridge)":" (via registerWorker)"}`);let Z=new URL(J);Z.pathname=Z.pathname.replace(/\/$/,"")+"/worker/events/stream";let L=new R(Z,{},V,void 0,_,O),q,K=new S(L,new URL(J),{getAuthHeaders:O,heartbeatIntervalMs:G.heartbeatIntervalMs,heartbeatJitterFraction:G.heartbeatJitterFraction,onEpochMismatch:()=>{Q("[bridge:repl] CCR v2: epoch superseded (409) — closing for poll-loop recovery");try{K.close(),L.close(),q?.(4090)}catch(B){Q(`[bridge:repl] CCR v2: error during epoch-mismatch cleanup: ${z(B)}`,{level:"error"})}throw Error("epoch superseded")}});L.setOnEvent((B)=>{K.reportDelivery(B.event_id,"received"),K.reportDelivery(B.event_id,"processed")});let H,E=!1,M=!1;return{write(B){return K.writeEvent(B)},async writeBatch(B){for(let N of B){if(M)break;await K.writeEvent(N)}},close(){M=!0,K.close(),L.close()},isConnectedStatus(){return E},getStateLabel(){if(L.isClosedStatus())return"closed";if(L.isConnectedStatus())return E?"connected":"init";return"connecting"},setOnData(B){L.setOnData(B)},setOnClose(B){q=B,L.setOnClose((N)=>{K.close(),B(N??4092)})},setOnConnect(B){H=B},getLastSequenceNum(){return L.getLastSequenceNum()},droppedBatchCount:0,reportState(B){K.reportState(B)},reportMetadata(B){K.reportMetadata(B)},reportDelivery(B,N){K.reportDelivery(B,N)},flush(){return K.flush()},connect(){if(!G.outboundOnly)L.connect();K.initialize(Y).then(()=>{E=!0,Q(`[bridge:repl] v2 transport ready for writes (epoch=${Y}, sse=${L.isConnectedStatus()?"open":"opening"})`),H?.()},(B)=>{Q(`[bridge:repl] CCR v2 initialize failed: ${z(B)}`,{level:"error"}),K.close(),L.close(),q?.(4091)})}}}class U{_active=!1;_pending=[];get active(){return this._active}get pendingCount(){return this._pending.length}start(){this._active=!0}end(){return this._active=!1,this._pending.splice(0)}enqueue(...G){if(!this._active)return!1;return this._pending.push(...G),!0}drop(){this._active=!1;let G=this._pending.length;return this._pending.length=0,G}deactivate(){this._active=!1}}P();F();var g={maxAttempts:5,baseDelayMs:500,jitterFraction:0.25,maxDelayMs:4000};function I(G,J,X=Math.random){let V=J.baseDelayMs*2**(G-1),_=V*J.jitterFraction*(2*X()-1);return Math.min(V+_,J.maxDelayMs)}async function b(G,J){let{label:X,logPrefix:V="[bridge]",signal:_,isRetryable:$}=J;for(let O=1;O<=J.maxAttempts;O++){let Y=await G();if(Y!==null)return Y;if($&&!$())return Q(`${V} ${X} failed permanently on attempt ${O}/${J.maxAttempts}, not retrying`),null;if(_?.aborted)return Q(`${V} ${X} aborted after attempt ${O}/${J.maxAttempts}`),null;if(O<J.maxAttempts){let Z=I(O,J);Q(`${V} ${X} failed (attempt ${O}/${J.maxAttempts}), retrying in ${Math.round(Z)}ms`),await T(Z)}}return null}
2
- export{f as ma,m as na,U as oa,g as pa,b as qa};
@@ -1,2 +0,0 @@
1
- import{xe as j,ye as E}from"./cli-1.1.26-cmeam5fv.mjs";import{BM as Y,KM as Z,MM as w,Op as W,QM as _,Rp as v,SM as $,XM as f,zM as X}from"./cli-1.1.26-kvt0v6vq.mjs";import{Fha as V,Nha as N,Vfa as S,fga as A,mda as Q,zda as T}from"./cli-1.1.26-mvjefec1.mjs";import{Lla as B,Ola as R}from"./cli-1.1.26-nr4x1ay3.mjs";import{jma as L,qma as K}from"./cli-1.1.26-7ssnr221.mjs";import{cua as y}from"./cli-1.1.26-zb5hq3ry.mjs";function d(q){if(J=q,G!==null&&G.length>0)q(G),G=null;return()=>{J=null}}async function C(){let q=await Y(),D=X(),x=new Set;for(let[z,h]of Object.entries(q)){let F=D[z]?.autoUpdate;if(F!==void 0?F:Q(z,h))x.add(z.toLowerCase())}return x}async function M(q,D){let x=!1;for(let{scope:z}of D)try{let h=await j(q,z);if(h.success&&!h.alreadyUpToDate)x=!0,B(`Plugin autoupdate: updated ${q} from ${h.oldVersion} to ${h.newVersion}`);else if(!h.alreadyUpToDate)B(`Plugin autoupdate: failed to update ${q}: ${h.message}`,{level:"warn"})}catch(h){B(`Plugin autoupdate: error updating ${q}: ${L(h)}`,{level:"warn"})}return x?q:null}async function P(q){let D=_(),x=Object.keys(D.plugins);if(x.length===0)return[];return(await Promise.allSettled(x.map(async(h)=>{let{marketplace:F}=W(h);if(!F||!q.has(F.toLowerCase()))return null;let H=D.plugins[h];if(!H||H.length===0)return null;let O=H.filter($);if(O.length===0)return null;return M(h,O)}))).filter((h)=>h.status==="fulfilled"&&h.value!==null).map((h)=>h.value)}async function m(q){return P(q)}function t(){(async()=>{if(S()){B("Plugin autoupdate: skipped (auto-updater disabled)");return}try{let q=await C();if(q.size===0)return;let x=(await Promise.allSettled(Array.from(q).map(async(h)=>{try{await Z(h,void 0,{disableCredentialHelper:!0})}catch(F){B(`Plugin autoupdate: failed to refresh marketplace ${h}: ${L(F)}`,{level:"warn"})}}))).filter((h)=>h.status==="rejected");if(x.length>0)B(`Plugin autoupdate: ${x.length} marketplace refresh(es) failed`,{level:"warn"});B("Plugin autoupdate: checking installed plugins");let z=await m(q);if(z.length>0)if(J)J(z);else G=z}catch(q){V(q)}})()}var J=null,G=null;var U=y(()=>{E();A();R();K();N();f();w();v();T()});
2
- export{d as vc,P as wc,t as xc,U as yc};
@@ -1,2 +0,0 @@
1
- import{ZX as Xq,bY as wq,fY as xq,gY as c,hY as zq,pY as Yq}from"./cli-1.1.26-wy5w6zkt.mjs";import{$3 as vq,g4 as Nq}from"./cli-1.1.26-tcbtd5f6.mjs";import{Fha as b,Nha as yq,X$ as jq,cfa as C,efa as Mq,taa as Fq,w$ as Oq,x$ as Lq}from"./cli-1.1.26-mvjefec1.mjs";import{Nja as R,Pja as Qq,Qja as w,Rja as Vq}from"./cli-1.1.26-3gepexgn.mjs";import{Lla as G,Ola as Jq,ola as z,pla as y,tla as qq}from"./cli-1.1.26-nr4x1ay3.mjs";import{jma as W,kma as x,qma as e}from"./cli-1.1.26-7ssnr221.mjs";import{Ema as a,tma as s,uma as l,wma as t}from"./cli-1.1.26-dyyg0r9f.mjs";import{Zpa as i,eoa as r,foa as Aq,hsa as m,ioa as d,rra as u}from"./cli-1.1.26-4aztw2ex.mjs";import{cua as T,dua as Hq}from"./cli-1.1.26-zb5hq3ry.mjs";import{mkdir as Dq,readdir as I,readFile as Zq,unlink as $q,writeFile as h}from"fs/promises";import{join as D}from"path";function _J(q){if(M===q)return;M=q,E()}function WJ(){if(M===void 0)return;M=void 0,E()}function E(){try{Gq.emit()}catch{}}function Kq(q){return D(U(q),pq)}async function g(q){let J=Kq(q);try{let Q=(await Zq(J,"utf-8")).trim(),V=parseInt(Q,10);return isNaN(V)?0:V}catch{return 0}}async function Rq(q,J){let Q=Kq(q);await h(Q,String(J))}function BJ(){if(t(process.env.CLAUDIN_ENABLE_TASKS))return!0;return!i()}async function EJ(q){let J=U(q),Q=await o(q),V;try{V=await C(Q,f);let Y=await Wq(q);if(Y>0){let Z=await g(q);if(Y>Z)await Rq(q,Y)}let X;try{X=await I(J)}catch{X=[]}for(let Z of X)if(Z.endsWith(".json")&&!Z.startsWith(".")){let $=D(J,Z);try{await $q($)}catch{}}E()}finally{if(V)await V()}}async function HJ(q){let J=await P(q),Q=0;for(let V of J){if(V.status!=="completed"||V.metadata?._internal)continue;if(await v(q,V.id,{metadata:{...V.metadata,_internal:!0}}))Q++}return Q}function OJ(){if(process.env.CLAUDIN_TASK_LIST_ID)return process.env.CLAUDIN_TASK_LIST_ID;let q=Xq();if(q)return q.teamName;return c()||M||d()}function _q(q){return q.replace(/[^a-zA-Z0-9_-]/g,"-")}function U(q){return D(s(),"tasks",_q(q))}function S(q,J){return D(U(q),`${_q(J)}.json`)}async function bq(q){let J=U(q);try{await Dq(J,{recursive:!0})}catch{}}async function Wq(q){let J=U(q),Q;try{Q=await I(J)}catch{return 0}let V=0;for(let Y of Q){if(!Y.endsWith(".json"))continue;let X=parseInt(Y.replace(".json",""),10);if(!isNaN(X)&&X>V)V=X}return V}async function cq(q){let[J,Q]=await Promise.all([Wq(q),g(q)]);return Math.max(J,Q)}async function jJ(q,J){let Q=await o(q),V;try{V=await C(Q,f);let Y=await cq(q),X=String(Y+1),Z={id:X,...J},$=S(q,X);return await h($,z(Z,null,2)),E(),X}finally{if(V)await V()}}async function O(q,J){let Q=S(q,J);try{let V=await Zq(Q,"utf-8"),Y=y(V),X=Pq().safeParse(Y);if(!X.success)return G(`[Tasks] Task ${J} failed schema validation: ${X.error.message}`),null;return X.data}catch(V){if(x(V)==="ENOENT")return null;return G(`[Tasks] Failed to read task ${J}: ${W(V)}`),b(V),null}}async function Uq(q,J,Q){let V=await O(q,J);if(!V)return null;let Y={...V,...Q,id:J},X=S(q,J);return await h(X,z(Y,null,2)),E(),Y}async function v(q,J,Q){let V=S(q,J);if(!await O(q,J))return null;let X;try{return X=await C(V,f),await Uq(q,J,Q)}finally{await X?.()}}async function vJ(q,J){let Q=S(q,J);try{let V=parseInt(J,10);if(!isNaN(V)){let X=await g(q);if(V>X)await Rq(q,V)}try{await $q(Q)}catch(X){if(x(X)==="ENOENT")return!1;throw X}let Y=await P(q);for(let X of Y){let Z=X.blocks.filter((K)=>K!==J),$=X.blockedBy.filter((K)=>K!==J);if(Z.length!==X.blocks.length||$.length!==X.blockedBy.length)await v(q,X.id,{blocks:Z,blockedBy:$})}return E(),!0}catch{return!1}}async function P(q){let J=U(q),Q;try{Q=await I(J)}catch{return[]}let V=Q.filter((X)=>X.endsWith(".json")).map((X)=>X.replace(".json",""));return(await Promise.all(V.map((X)=>O(q,X)))).filter((X)=>X!==null)}async function xJ(q,J,Q){let[V,Y]=await Promise.all([O(q,J),O(q,Q)]);if(!V||!Y)return!1;if(!V.blocks.includes(Q))await v(q,J,{blocks:[...V.blocks,Q]});if(!Y.blockedBy.includes(J))await v(q,Q,{blockedBy:[...Y.blockedBy,J]});return!0}function hq(q){return D(U(q),".lock")}async function o(q){await bq(q);let J=hq(q);try{await h(J,"",{flag:"wx"})}catch{}return J}async function zJ(q,J,Q,V={}){let Y=S(q,J);if(!await O(q,J))return{success:!1,reason:"task_not_found"};if(V.checkAgentBusy)return uq(q,J,Q);let Z;try{Z=await C(Y,f);let $=await O(q,J);if(!$)return{success:!1,reason:"task_not_found"};if($.owner&&$.owner!==Q)return{success:!1,reason:"already_claimed",task:$};if($.status==="completed")return{success:!1,reason:"already_resolved",task:$};let K=await P(q),H=new Set(K.filter((A)=>A.status!=="completed").map((A)=>A.id)),N=$.blockedBy.filter((A)=>H.has(A));if(N.length>0)return{success:!1,reason:"blocked",task:$,blockedByTasks:N};return{success:!0,task:await Uq(q,J,{owner:Q})}}catch($){return G(`[Tasks] Failed to claim task ${J}: ${W($)}`),b($),{success:!1,reason:"task_not_found"}}finally{if(Z)await Z()}}async function uq(q,J,Q){let V=await o(q),Y;try{Y=await C(V,f);let X=await P(q),Z=X.find((_)=>_.id===J);if(!Z)return{success:!1,reason:"task_not_found"};if(Z.owner&&Z.owner!==Q)return{success:!1,reason:"already_claimed",task:Z};if(Z.status==="completed")return{success:!1,reason:"already_resolved",task:Z};let $=new Set(X.filter((_)=>_.status!=="completed").map((_)=>_.id)),K=Z.blockedBy.filter((_)=>$.has(_));if(K.length>0)return{success:!1,reason:"blocked",task:Z,blockedByTasks:K};let H=X.filter((_)=>_.status!=="completed"&&_.owner===Q&&_.id!==J);if(H.length>0)return{success:!1,reason:"agent_busy",task:Z,busyWithTasks:H.map((_)=>_.id)};return{success:!0,task:await v(q,J,{owner:Q})}}catch(X){return G(`[Tasks] Failed to claim task ${J} with busy check: ${W(X)}`),b(X),{success:!1,reason:"task_not_found"}}finally{if(Y)await Y()}}async function CJ(q,J,Q,V){let X=(await P(q)).filter((K)=>K.status!=="completed"&&(K.owner===J||K.owner===Q));for(let K of X)await v(q,K.id,{owner:void 0,status:"pending"});if(X.length>0)G(`[Tasks] Unassigned ${X.length} task(s) from ${Q}`);let $=`${Q} ${V==="terminated"?"was terminated":"has shut down"}.`;if(X.length>0){let K=X.map((H)=>`#${H.id} "${H.subject}"`).join(", ");$+=` ${X.length} task(s) were unassigned: ${K}. Use TaskList to check availability and TaskUpdate with owner to reassign them to idle teammates.`}return{unassignedTasks:X.map((K)=>({id:K.id,subject:K.subject})),notificationMessage:$}}var Gq,M,UJ,fq,Pq,pq=".highwatermark",f;var Bq=T(()=>{Qq();m();Jq();a();e();Vq();Mq();yq();Aq();qq();Yq();wq();Gq=r();UJ=Gq.subscribe;fq=w(()=>R.enum(["pending","in_progress","completed"])),Pq=w(()=>R.object({id:R.string(),subject:R.string(),description:R.string(),activeForm:R.string().optional(),owner:R.string().optional(),status:fq(),blocks:R.array(R.string()),blockedBy:R.array(R.string()),metadata:R.record(R.string(),R.unknown()).optional()})),f={retries:{retries:30,minTimeout:5,maxTimeout:100}}});function n(q){return q==="tmux"||q==="iterm2"}var Eq=()=>{};import{mkdirSync as Tq,readFileSync as lq,writeFileSync as Iq}from"fs";import{mkdir as gq,readFile as Cq,rm as k,writeFile as oq}from"fs/promises";import{join as p}from"path";function Sq(q){return q.replace(/[^a-zA-Z0-9]/g,"-").toLowerCase()}function gJ(q){return q.replace(/@/g,"-")}function L(q){return p(l(),Sq(q))}function F(q){return p(L(q),"config.json")}function B(q){try{let J=lq(F(q),"utf-8");return y(J)}catch(J){if(x(J)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${q}: ${W(J)}`),null}}async function nq(q){try{let J=await Cq(F(q),"utf-8");return y(J)}catch(J){if(x(J)==="ENOENT")return null;return G(`[TeammateTool] Failed to read team file for ${q}: ${W(J)}`),null}}function j(q,J){let Q=L(q);Tq(Q,{recursive:!0}),Iq(F(q),z(J,null,2))}async function kq(q,J){let Q=L(q);await gq(Q,{recursive:!0}),await oq(F(q),z(J,null,2))}function oJ(q,J){let Q=J.agentId||J.name;if(!Q)return G("[TeammateTool] removeTeammateFromTeamFile called with no identifier"),!1;let V=B(q);if(!V)return G(`[TeammateTool] Cannot remove teammate ${Q}: failed to read team file for "${q}"`),!1;let Y=V.members.length;if(V.members=V.members.filter((X)=>{if(J.agentId&&X.agentId===J.agentId)return!1;if(J.name&&X.name===J.name)return!1;return!0}),V.members.length===Y)return G(`[TeammateTool] Teammate ${Q} not found in team file for "${q}"`),!1;return j(q,V),G(`[TeammateTool] Removed teammate from team file: ${Q}`),!0}function nJ(q,J){let Q=B(q);if(!Q)return!1;let V=Q.hiddenPaneIds??[];if(!V.includes(J))V.push(J),Q.hiddenPaneIds=V,j(q,Q),G(`[TeammateTool] Added ${J} to hidden panes for team ${q}`);return!0}function kJ(q,J){let Q=B(q);if(!Q)return!1;let V=Q.hiddenPaneIds??[],Y=V.indexOf(J);if(Y!==-1)V.splice(Y,1),Q.hiddenPaneIds=V,j(q,Q),G(`[TeammateTool] Removed ${J} from hidden panes for team ${q}`);return!0}function rJ(q,J){let Q=B(q);if(!Q)return!1;let V=Q.members.findIndex((Y)=>Y.tmuxPaneId===J);if(V===-1)return!1;if(Q.members.splice(V,1),Q.hiddenPaneIds){let Y=Q.hiddenPaneIds.indexOf(J);if(Y!==-1)Q.hiddenPaneIds.splice(Y,1)}return j(q,Q),G(`[TeammateTool] Removed member with pane ${J} from team ${q}`),!0}function dJ(q,J){let Q=B(q);if(!Q)return!1;let V=Q.members.findIndex((Y)=>Y.agentId===J);if(V===-1)return!1;return Q.members.splice(V,1),j(q,Q),G(`[TeammateTool] Removed member ${J} from team ${q}`),!0}function rq(q,J,Q){let V=B(q);if(!V)return!1;let Y=V.members.find((Z)=>Z.name===J);if(!Y)return G(`[TeammateTool] Cannot set member mode: member ${J} not found in team ${q}`),!1;if(Y.mode===Q)return!0;let X=V.members.map((Z)=>Z.name===J?{...Z,mode:Q}:Z);return j(q,{...V,members:X}),G(`[TeammateTool] Set member ${J} in team ${q} to mode: ${Q}`),!0}function iJ(q,J){if(!zq())return;let Q=J??c(),V=xq();if(Q&&V)rq(Q,V,q)}function mJ(q,J){let Q=B(q);if(!Q)return!1;let V=new Map(J.map((Z)=>[Z.memberName,Z.mode])),Y=!1,X=Q.members.map((Z)=>{let $=V.get(Z.name);if($!==void 0&&Z.mode!==$)return Y=!0,{...Z,mode:$};return Z});if(Y)j(q,{...Q,members:X}),G(`[TeammateTool] Set ${J.length} member modes in team ${q}`);return!0}async function sJ(q,J,Q){let V=await nq(q);if(!V){G(`[TeammateTool] Cannot set member active: team ${q} not found`);return}let Y=V.members.find((X)=>X.name===J);if(!Y){G(`[TeammateTool] Cannot set member active: member ${J} not found in team ${q}`);return}if(Y.isActive===Q)return;Y.isActive=Q,await kq(q,V),G(`[TeammateTool] Set member ${J} in team ${q} to ${Q?"active":"idle"}`)}async function dq(q){let J=p(q,".git"),Q=null;try{let Y=(await Cq(J,"utf-8")).trim().match(/^gitdir:\s*(.+)$/);if(Y&&Y[1]){let X=Y[1],Z=p(X,"..","..");Q=p(Z,"..")}}catch{}if(Q){let V=await Oq(jq(),["worktree","remove","--force",q],{cwd:Q});if(V.code===0){G(`[TeammateTool] Removed worktree via git: ${q}`);return}if(V.stderr?.includes("not a working tree")){G(`[TeammateTool] Worktree already removed: ${q}`);return}G(`[TeammateTool] git worktree remove failed, falling back to rm: ${V.stderr}`)}try{await k(q,{recursive:!0,force:!0}),G(`[TeammateTool] Removed worktree directory manually: ${q}`)}catch(V){G(`[TeammateTool] Failed to remove worktree ${q}: ${W(V)}`)}}function tJ(q){u().add(q)}function aJ(q){u().delete(q)}async function eJ(){let q=u();if(q.size===0)return;let J=Array.from(q);G(`cleanupSessionTeams: removing ${J.length} orphan team dir(s): ${J.join(", ")}`),await Promise.allSettled(J.map((Q)=>iq(Q))),await Promise.allSettled(J.map((Q)=>mq(Q))),q.clear()}async function iq(q){let J=B(q);if(!J)return;let Q=J.members.filter(($)=>$.name!==vq&&$.tmuxPaneId&&$.backendType&&n($.backendType));if(Q.length===0)return;let[{ensureBackendsRegistered:V,getBackendByType:Y},{isInsideTmux:X}]=await Promise.all([import("./registry-1.1.26-z88679pc.mjs"),import("./detection-1.1.26-1wrkcwrj.mjs")]);await V();let Z=!await X();await Promise.allSettled(Q.map(async($)=>{if(!$.tmuxPaneId||!$.backendType||!n($.backendType))return;let K=await Y($.backendType).killPane($.tmuxPaneId,Z);G(`cleanupSessionTeams: killPane ${$.name} (${$.backendType} ${$.tmuxPaneId}) → ${K}`)}))}async function mq(q){let J=Sq(q),Q=B(q),V=[];if(Q){for(let Z of Q.members)if(Z.worktreePath)V.push(Z.worktreePath)}for(let Z of V)await dq(Z);let Y=L(q);try{await k(Y,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up team directory: ${Y}`)}catch(Z){G(`[TeammateTool] Failed to clean up team directory ${Y}: ${W(Z)}`)}let X=U(J);try{await k(X,{recursive:!0,force:!0}),G(`[TeammateTool] Cleaned up tasks directory: ${X}`),E()}catch(Z){G(`[TeammateTool] Failed to clean up tasks directory ${X}: ${W(Z)}`)}}var IJ;var sq=T(()=>{Qq();m();Jq();a();e();Lq();Fq();Vq();qq();Bq();Yq();Eq();Nq();IJ=w(()=>R.strictObject({operation:R.enum(["spawnTeam","cleanup"]).describe("Operation: spawnTeam to create a team, cleanup to remove team and task directories."),agent_type:R.string().optional().describe('Type/role of the team lead (e.g., "researcher", "test-runner"). Used for team file and inter-agent coordination.'),team_name:R.string().optional().describe("Name for the new team to create (required for spawnTeam)."),description:R.string().optional().describe("Team description/purpose (only used with spawnTeam).")}))});
2
- export{_J as fW,WJ as gW,UJ as hW,fq as iW,BJ as jW,EJ as kW,HJ as lW,OJ as mW,_q as nW,U as oW,bq as pW,jJ as qW,O as rW,v as sW,vJ as tW,P as uW,xJ as vW,zJ as wW,CJ as xW,Bq as yW,n as zW,Eq as AW,IJ as BW,Sq as CW,gJ as DW,L as EW,F as FW,B as GW,nq as HW,kq as IW,oJ as JW,nJ as KW,kJ as LW,rJ as MW,dJ as NW,rq as OW,iJ as PW,mJ as QW,sJ as RW,tJ as SW,aJ as TW,eJ as UW,mq as VW,sq as WW};
@@ -1,2 +0,0 @@
1
- import{Se as k,Ue as a}from"./cli-1.1.26-pttfqxxh.mjs";import{a3 as D,d3 as g}from"./cli-1.1.26-16s9pjdh.mjs";import{Lla as K,Ola as u}from"./cli-1.1.26-nr4x1ay3.mjs";import{jma as G,qma as l}from"./cli-1.1.26-7ssnr221.mjs";import{cua as c,dua as J}from"./cli-1.1.26-zb5hq3ry.mjs";function b(P){return P===200||P===201}function n(P,Q){return Q&&P===400}async function e({environmentId:P,title:Q,events:z,gitRepoUrl:q,branch:L,signal:H,baseUrl:y,getAccessToken:B,permissionMode:$,onFailure:Z}){let{getClaudeAIOAuthTokens:W}=await import("./auth-1.1.26-dk7wnv7t.mjs"),{getOrganizationUUID:_}=await import("./client-1.1.26-5m13dtqt.mjs"),{getOauthConfig:V}=await import("./oauth-1.1.26-8bftajjg.mjs"),{getOAuthHeaders:N}=await import("./api-1.1.26-msb1jnzq.mjs"),{parseGitHubRepository:E}=await import("./detectRepository-1.1.26-pmahtt3f.mjs"),{getDefaultBranch:T}=await import("./git-1.1.26-0he7ww02.mjs"),{getMainLoopModel:j}=await import("./model-1.1.26-fhssfrx1.mjs"),{default:x}=await import("./index-1.1.26-4qsakkwp.mjs"),R=B?.()??W()?.accessToken;if(!R)return K("[bridge] No access token for session creation"),Z?.({retryable:!1,detail:"not signed in"}),null;let v=await _();if(!v)return K("[bridge] No org UUID for session creation"),Z?.({retryable:!1,detail:"no organization for this account"}),null;let A=null,O=null;if(q){let{parseGitRemote:Y}=await import("./detectRepository-1.1.26-pmahtt3f.mjs"),w=Y(q);if(w){let{host:C,owner:S,name:f}=w,m=L||await T()||void 0;A={type:"git_repository",url:`https://${C}/${S}/${f}`,revision:m},O={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${L||"task"}`]}}}else{let C=E(q);if(C){let[S,f]=C.split("/");if(S&&f){let m=L||await T()||void 0;A={type:"git_repository",url:`https://github.com/${S}/${f}`,revision:m},O={type:"git_repository",git_info:{type:"github",repo:`${S}/${f}`,branches:[`claude/${L||"task"}`]}}}}}}let h=(Y)=>({...Q!==void 0&&{title:Q},events:z,session_context:{sources:Y&&A?[A]:[],outcomes:Y&&O?[O]:[],model:j()},environment_id:P,source:"remote-control",...$&&{permission_mode:$}}),d={...N(R),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":v},p=`${y??V().BASE_API_URL}/v1/sessions`,F=async(Y)=>{try{return await x.post(p,h(Y),{headers:d,signal:H,validateStatus:(w)=>w<500})}catch(w){return K(`[bridge] Session creation request failed: ${G(w)}`),Z?.({retryable:!0,detail:G(w)}),null}},U=A!==null&&!I,X=await F(U);if(!X)return null;if(!b(X.status)&&n(X.status,U)){let Y=k(X.data);if(K(`[bridge] Session creation rejected with status ${X.status}${Y?`: ${Y}`:""} — retrying without the git context`),I=!0,X=await F(!1),!X)return null}if(!b(X.status)){let Y=k(X.data);return K(`[bridge] Session creation failed with status ${X.status}${Y?`: ${Y}`:""}`),Z?.({status:X.status,detail:Y,retryable:X.status===429}),null}let M=X.data;if(!M||typeof M!=="object"||!("id"in M)||typeof M.id!=="string")return K("[bridge] No session ID in response"),Z?.({status:X.status,detail:"malformed session response",retryable:!1}),null;return M.id}async function JJ(P,Q){let{getClaudeAIOAuthTokens:z}=await import("./auth-1.1.26-dk7wnv7t.mjs"),{getOrganizationUUID:q}=await import("./client-1.1.26-5m13dtqt.mjs"),{getOauthConfig:L}=await import("./oauth-1.1.26-8bftajjg.mjs"),{getOAuthHeaders:H}=await import("./api-1.1.26-msb1jnzq.mjs"),{default:y}=await import("./index-1.1.26-4qsakkwp.mjs"),B=Q?.getAccessToken?.()??z()?.accessToken;if(!B)return K("[bridge] No access token for session fetch"),null;let $=await q();if(!$)return K("[bridge] No org UUID for session fetch"),null;let Z={...H(B),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":$},W=`${Q?.baseUrl??L().BASE_API_URL}/v1/sessions/${P}`,_=1e4;K(`[bridge] Fetching session ${P}`);let V;try{V=await y.get(W,{headers:Z,timeout:_,validateStatus:(N)=>N<500})}catch(N){if(y.isAxiosError(N)){let E=N.response?.status??"no-response",T=N.code??"unknown-code",j=N.config?.url??W,x=N.config?.method?.toUpperCase()??"GET",R=N.message??G(N),v=N.config?.timeout??_;K(`[bridge] Session fetch request failed: status=${E} code=${T} method=${x} url=${j} timeout=${v} message=${R}`)}else K(`[bridge] Session fetch request failed: url=${W} timeout=${_} message=${G(N)}`);return null}if(V.status!==200){let N=k(V.data);return K(`[bridge] Session fetch failed with status ${V.status} url=${W}${N?`: ${N}`:""}`),null}return V.data}async function KJ(P,Q){let{getClaudeAIOAuthTokens:z}=await import("./auth-1.1.26-dk7wnv7t.mjs"),{getOrganizationUUID:q}=await import("./client-1.1.26-5m13dtqt.mjs"),{getOauthConfig:L}=await import("./oauth-1.1.26-8bftajjg.mjs"),{getOAuthHeaders:H}=await import("./api-1.1.26-msb1jnzq.mjs"),{default:y}=await import("./index-1.1.26-4qsakkwp.mjs"),B=Q?.getAccessToken?.()??z()?.accessToken;if(!B){K("[bridge] No access token for session archive");return}let $=await q();if(!$){K("[bridge] No org UUID for session archive");return}let Z={...H(B),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":$},W=`${Q?.baseUrl??L().BASE_API_URL}/v1/sessions/${P}/archive`;K(`[bridge] Archiving session ${P}`);let _=await y.post(W,{},{headers:Z,timeout:Q?.timeoutMs??1e4,validateStatus:(V)=>V<500});if(_.status===200)K(`[bridge] Session ${P} archived successfully`);else{let V=k(_.data);K(`[bridge] Session archive failed with status ${_.status}${V?`: ${V}`:""}`)}}async function NJ(P,Q,z){let{getClaudeAIOAuthTokens:q}=await import("./auth-1.1.26-dk7wnv7t.mjs"),{getOrganizationUUID:L}=await import("./client-1.1.26-5m13dtqt.mjs"),{getOauthConfig:H}=await import("./oauth-1.1.26-8bftajjg.mjs"),{getOAuthHeaders:y}=await import("./api-1.1.26-msb1jnzq.mjs"),{default:B}=await import("./index-1.1.26-4qsakkwp.mjs"),$=z?.getAccessToken?.()??q()?.accessToken;if(!$){K("[bridge] No access token for session title update");return}let Z=await L();if(!Z){K("[bridge] No org UUID for session title update");return}let W={...y($),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":Z},_=D(P),V=`${z?.baseUrl??H().BASE_API_URL}/v1/sessions/${_}`;K(`[bridge] Updating session title: ${_} → ${Q}`);try{let N=await B.patch(V,{title:Q},{headers:W,timeout:1e4,validateStatus:(E)=>E<500});if(N.status===200)K("[bridge] Session title updated successfully");else{let E=k(N.data);K(`[bridge] Session title update failed with status ${N.status}${E?`: ${E}`:""}`)}}catch(N){K(`[bridge] Session title update request failed: ${G(N)}`)}}var I=!1;var i=c(()=>{u();l();a();g()});
2
- export{n as Ie,e as Je,JJ as Ke,KJ as Le,NJ as Me,i as Ne};
@@ -1,6 +0,0 @@
1
- import{cua as I}from"./cli-1.1.26-zb5hq3ry.mjs";function R($,q,H){let J=$.indexOf(q);if(J===-1)return $;let K=q.length,Z=0,Q="";do Q+=$.slice(Z,J)+q+H,Z=J+K,J=$.indexOf(q,Z);while(J!==-1);return Q+=$.slice(Z),Q}function T($,q,H,J){let K=0,Z="";do{let Q=$[J-1]==="\r";Z+=$.slice(K,Q?J-1:J)+q+(Q?`\r
2
- `:`
3
- `)+H,K=J+1,J=$.indexOf(`
4
- `,K)}while(J!==-1);return Z+=$.slice(K),Z}var _=()=>{};function a(){let $=new Map;for(let[q,H]of Object.entries(X)){for(let[J,K]of Object.entries(H))X[J]={open:`\x1B[${K[0]}m`,close:`\x1B[${K[1]}m`},H[J]=X[J],$.set(Number.parseInt(K[0],10),K[1]);Object.defineProperty(X,q,{value:H,enumerable:!1})}return Object.defineProperty(X,"codes",{value:$,enumerable:!1}),X.color.close="\x1B[39m",X.bgColor.close="\x1B[49m",X.underlineColor.close="\x1B[59m",X.color.ansi=A(),X.color.ansi256=Y(),X.color.ansi16m=k(),X.bgColor.ansi=A(10),X.bgColor.ansi256=Y(10),X.bgColor.ansi16m=k(10),X.underlineColor.ansi=g,X.underlineColor.ansi256=Y(20),X.underlineColor.ansi16m=k(20),Object.defineProperties(X,{rgbToAnsi256:{value(q,H,J){if(q===H&&H===J){if(q<8)return 16;if(q>248)return 231;return Math.round((q-8)/247*24)+232}return 16+36*Math.round(q/255*5)+6*Math.round(H/255*5)+Math.round(J/255*5)},enumerable:!1},hexToRgb:{value(q){let H=/[\da-f]{6}|[\da-f]{3}/i.exec(q.toString(16));if(!H)return[0,0,0];let[J]=H;if(J.length===3)J=[...J].map((Z)=>Z+Z).join("");let K=Number.parseInt(J,16);return[K>>16&255,K>>8&255,K&255]},enumerable:!1},hexToAnsi256:{value:(q)=>X.rgbToAnsi256(...X.hexToRgb(q)),enumerable:!1},ansi256ToAnsi:{value(q){if(q<8)return 30+q;if(q<16)return 90+(q-8);let H,J,K;if(q>=232)H=((q-232)*10+8)/255,J=H,K=H;else{q-=16;let D=q%36;H=Math.floor(q/36)/5,J=Math.floor(D/6)/5,K=D%6/5}let Z=Math.max(H,J,K)*2;if(Z===0)return 30;let Q=30+(Math.round(K)<<2|Math.round(J)<<1|Math.round(H));if(Z===2)Q+=60;return Q},enumerable:!1},rgbToAnsi:{value:(q,H,J)=>X.ansi256ToAnsi(X.rgbToAnsi256(q,H,J)),enumerable:!1},hexToAnsi:{value:(q)=>X.ansi256ToAnsi(X.hexToAnsi256(q)),enumerable:!1}}),X}var A=($=0)=>(q)=>`\x1B[${q+$}m`,Y=($=0)=>(q)=>`\x1B[${38+$};5;${q}m`,k=($=0)=>(q,H,J)=>`\x1B[${38+$};2;${q};${H};${J}m`,g=($)=>`\x1B[58;5;${$<90?$-30:$-90+8}m`,X,U1,d,i,W1,z1,n,z;var E=I(()=>{X={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],underlineDouble:["4:2",24],underlineCurly:["4:3",24],underlineDotted:["4:4",24],underlineDashed:["4:5",24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},underlineColor:{underlineBlack:["58;5;0",59],underlineRed:["58;5;1",59],underlineGreen:["58;5;2",59],underlineYellow:["58;5;3",59],underlineBlue:["58;5;4",59],underlineMagenta:["58;5;5",59],underlineCyan:["58;5;6",59],underlineWhite:["58;5;7",59],underlineBlackBright:["58;5;8",59],underlineGray:["58;5;8",59],underlineGrey:["58;5;8",59],underlineRedBright:["58;5;9",59],underlineGreenBright:["58;5;10",59],underlineYellowBright:["58;5;11",59],underlineBlueBright:["58;5;12",59],underlineMagentaBright:["58;5;13",59],underlineCyanBright:["58;5;14",59],underlineWhiteBright:["58;5;15",59]}},U1=Object.keys(X.modifier),d=Object.keys(X.color),i=Object.keys(X.bgColor),W1=Object.keys(X.underlineColor),z1=[...d,...i];n=a(),z=n});import x from"node:process";import t from"node:os";import S from"node:tty";function W($,q=globalThis.Deno?globalThis.Deno.args:x.argv){let H=$.startsWith("-")?"":$.length===1?"-":"--",J=q.indexOf(H+$),K=q.indexOf("--");return J!==-1&&(K===-1||J<K)}function b(){return/^\d+$/.test(U.FORCE_COLOR)}function o(){if(!("FORCE_COLOR"in U))return;if(U.FORCE_COLOR==="false")return 0;if(U.FORCE_COLOR==="true"||U.FORCE_COLOR.length===0)return 1;if(!b())return;return Math.min(Number.parseInt(U.FORCE_COLOR,10),3)}function r($){if($===0)return!1;return{level:$,hasBasic:!0,has256:$>=2,has16m:$>=3}}function l($,{streamIsTTY:q,sniffFlags:H=!0}={}){let J=o();if(J!==void 0)P=J;let K=H?P:J;if(K===0)return 0;if(H){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if(K!==void 0&&b())return K;if("TF_BUILD"in U&&"AGENT_NAME"in U)return 1;if($&&!q&&K===void 0)return 0;let Z=K||0;if(U.TERM==="dumb")return Z;if(x.platform==="win32"){let Q=t.release().split(".");if(Number(Q[0])>=10&&Number(Q[2])>=10586)return Number(Q[2])>=14931?3:2;return 1}if("CI"in U){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((Q)=>(Q in U)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Q)=>(Q in U))||U.CI_NAME==="codeship")return 1;return Z}if("TEAMCITY_VERSION"in U)return/^(?:9\.0*[1-9]\d*\.|\d{2,}\.)/.test(U.TEAMCITY_VERSION)?1:0;if(U.COLORTERM==="truecolor")return 3;if(U.TERM==="xterm-kitty")return 3;if(U.TERM==="xterm-ghostty")return 3;if(U.TERM==="wezterm")return 3;if("TERM_PROGRAM"in U){let Q=Number.parseInt((U.TERM_PROGRAM_VERSION||"").split(".",1)[0],10);switch(U.TERM_PROGRAM){case"iTerm.app":return Q>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(?:color)?$/i.test(U.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(U.TERM))return 1;if("COLORTERM"in U)return 1;return Z}function F($,q={}){let H=l($,{streamIsTTY:$&&$.isTTY,...q});return r(H)}var U,P,s,C;var h=I(()=>{({env:U}=x);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))P=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))P=1;s={stdout:F({isTTY:S.isatty(1)}),stderr:F({isTTY:S.isatty(2)})},C=s});class q1{constructor($){return v($)}}function O($){return v($)}var f,m,G,V,M,w,j,u=($)=>{if(!Number.isSafeInteger($)||$<0||$>3)throw Error("The `level` should be an integer from 0 to 3")},e,$1=($,q={})=>{if(q.level!==void 0)u(q.level);let H=f?f.level:0;$[w]=q.level===void 0?H:q.level},v=($)=>{let q=(...H)=>H.join(" ");return $1(q,$),Object.setPrototypeOf(q,O.prototype),q},H1=($,q)=>{let H=z[q];if($==="rgb"){let K=(Q,D,B)=>H.ansi(z.rgbToAnsi(Q,D,B));return[K,K,(Q,D,B)=>H.ansi256(z.rgbToAnsi256(Q,D,B)),H.ansi16m]}if($==="hex"){let K=(Q)=>H.ansi(z.hexToAnsi(Q));return[K,K,(Q)=>H.ansi256(z.hexToAnsi256(Q)),(Q)=>H.ansi16m(...z.hexToRgb(Q))]}let J=(K)=>H.ansi(z.ansi256ToAnsi(K));return[J,J,H.ansi256,H.ansi256]},J1,K1,p=($,q,H)=>{let J,K;if(H===void 0)J=$,K=q;else J=H.openAll+$,K=q+H.closeAll;return{open:$,close:q,openAll:J,closeAll:K,parent:H}},N=($,q,H)=>{let J=(...K)=>{if(K.length===1)return L(J,""+K[0]);if(K.length===2)return L(J,K[0]+" "+K[1]);return L(J,K.join(" "))};return Object.setPrototypeOf(J,K1),J[G]=$[G]??$,J[V]=q,J[M]=H,J},L=($,q)=>{if($[G][w]<=0||!q)return $[M]?"":q;let H=$[V];if(H===void 0)return q;let{openAll:J,closeAll:K}=H;if(q.includes("\x1B"))while(H!==void 0)q=R(q,H.close,H.open),H=H.parent;let Z=q.indexOf(`
5
- `);if(Z!==-1)q=T(q,K,J,Z);return J+q+K},Q1,w1,Y1;var X1=I(()=>{_();E();h();({stdout:f,stderr:m}=C),G=Symbol("GENERATOR"),V=Symbol("STYLER"),M=Symbol("IS_EMPTY"),w=Symbol("LEVEL"),j=Object.create(null),e={enumerable:!0,get(){return this[w]},set($){u($),this[w]=$}};Object.setPrototypeOf(O.prototype,Function.prototype);for(let[$,q]of Object.entries(z))j[$]={get(){let H=N(this,p(q.open,q.close,this[V]),this[M]);return Object.defineProperty(this,$,{value:H}),H}};j.visible={get(){let $=N(this,this[V],!0);return Object.defineProperty(this,"visible",{value:$}),$}};J1=["rgb","hex","ansi256"];for(let $ of J1){let q=$[0].toUpperCase()+$.slice(1);for(let[H,J]of[[$,"color"],["bg"+q,"bgColor"],["underline"+q,"underlineColor"]]){let{close:K}=z[J],Z=H1($,J);j[H]={get(){let Q=function(D,B,c){let y=Z[this.level](D,B,c);return N(this,p(y,K,this[V]),this[M])};return Object.defineProperty(this,H,{value:Q}),Q}}}}K1=Object.defineProperties(()=>{},{...j,level:{enumerable:!0,get(){return this[G].level},set($){this[G].level=$}}});Object.defineProperties(O.prototype,{...j,level:e});Q1=O(),w1=O({level:m?m.level:0}),Y1=Q1});
6
- export{q1 as S9,Y1 as T9,X1 as U9};
@@ -1,2 +0,0 @@
1
- import{f9 as Z,i9 as T,o9 as f,x9 as WB}from"./cli-1.1.26-tgtv1jp3.mjs";import{Mfa as A,Yfa as v,fga as QB,i$ as O,j$ as BB,sca as _,tca as KB}from"./cli-1.1.26-mvjefec1.mjs";import{Uja as w,Wja as JB}from"./cli-1.1.26-pf85an2q.mjs";import{Ema as e,wma as F}from"./cli-1.1.26-dyyg0r9f.mjs";import{Hna as M,Ina as m,Rma as S,Sma as s,hsa as a,ioa as R,vna as I,wna as i}from"./cli-1.1.26-4aztw2ex.mjs";import{Gsa as q,Hsa as t}from"./cli-1.1.26-jz95bmqy.mjs";import{cua as K}from"./cli-1.1.26-zb5hq3ry.mjs";function u(B,J){return B+b(h()*(J-B+1))}var b,h,D;var G=K(()=>{b=Math.floor,h=Math.random;D=u});function p(B){var J=B.length;return J?B[D(0,J-1)]:void 0}var Y;var H=K(()=>{G();Y=p});function l(B,J){return M(J,function(X){return B[X]})}var z;var P=K(()=>{m();z=l});function c(B){return B==null?[]:z(B,I(B))}var U;var C=K(()=>{P();i();U=c});function n(B){return Y(U(B))}var k;var E=K(()=>{H();C();k=n});function o(B){var J=S(B)?Y:k;return J(B)}var kB;var r=K(()=>{H();E();s();kB=o});async function vB(){if(W===null&&!Q)Q=YB(),W=await Q,Q=null,g.cache.clear?.()}function TB(){W=null,Q=null,g.cache.clear?.(),j.cache.clear?.()}function XB(){if(W!==null)return W;let B=Z();if(B?.emailAddress)return B.emailAddress;return}async function YB(){let B=Z();if(B?.emailAddress)return B.emailAddress;return j()}var W=null,Q=null,g,j;var ZB=K(()=>{BB();t();a();WB();QB();JB();KB();e();g=q((B)=>{let J=v(),X=A(),$,N,L;if(B){if($=T()??void 0,N=f()??void 0,$&&X.claudeCodeFirstTokenDate){let x=new Date(X.claudeCodeFirstTokenDate).getTime();if(!isNaN(x))L=x}}let V=Z(),d=V?.organizationUuid,y=V?.accountUuid;return{deviceId:J,sessionId:R(),email:XB(),appVersion:"99.0.0",platform:_(),organizationUuid:d,accountUuid:y,userType:void 0,subscriptionType:$,rateLimitTier:N,firstTokenTime:L,...F(process.env.GITHUB_ACTIONS)&&{githubActionsMetadata:{actor:process.env.GITHUB_ACTOR,actorId:process.env.GITHUB_ACTOR_ID,repository:process.env.GITHUB_REPOSITORY,repositoryId:process.env.GITHUB_REPOSITORY_ID,repositoryOwner:process.env.GITHUB_REPOSITORY_OWNER,repositoryOwnerId:process.env.GITHUB_REPOSITORY_OWNER_ID}}}});j=q(async()=>{let B=await O("git config --get user.email",{shell:!0,reject:!1,cwd:w()});return B.exitCode===0&&B.stdout?B.stdout.trim():void 0})});
2
- export{kB as yV,r as zV,vB as AV,TB as BV,j as CV,ZB as DV};
@@ -1,2 +0,0 @@
1
- import{cua as P}from"./cli-1.1.26-zb5hq3ry.mjs";import{homedir as Q}from"os";import{join as F}from"path";function J(q){return{env:q?.env??process.env,home:q?.homedir??process.env.HOME??Q()}}function k(q){let{env:x,home:B}=J(q);return x.XDG_STATE_HOME??F(B,".local","state")}function w(q){let{env:x,home:B}=J(q);return x.XDG_CACHE_HOME??F(B,".cache")}function H(q){let{env:x,home:B}=J(q);return x.XDG_DATA_HOME??F(B,".local","share")}function g(q){let{home:x}=J(q);return F(x,".local","bin")}var V=()=>{};function W(q){let x=q,B="",C=0,K=10;while(x!==B&&C<K)B=x,x=x.normalize("NFKC"),x=x.replace(/[\p{Cf}\p{Co}\p{Cn}]/gu,""),x=x.replace(/[\u200B-\u200F]/g,"").replace(/[\u202A-\u202E]/g,"").replace(/[\u2066-\u2069]/g,"").replace(/[\uFEFF]/g,"").replace(/[\uE000-\uF8FF]/g,""),C++;if(C>=K)throw Error(`Unicode sanitization reached maximum iterations (${K}) for input: ${q.slice(0,100)}`);return x}function L(q){if(typeof q==="string")return W(q);if(Array.isArray(q))return q.map(L);if(q!==null&&typeof q==="object"){let x={};for(let[B,C]of Object.entries(q))x[L(B)]=L(C);return x}return q}var Y=()=>{};
2
- export{k as BX,w as CX,H as DX,g as EX,V as FX,W as GX,L as HX,Y as IX};