@claudiolabs/claudin 1.1.19 → 1.1.21

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 (905) hide show
  1. package/README.md +15 -0
  2. package/dist/chunks/AgentTool-1.1.21-enrxqdsb.mjs +1 -0
  3. package/dist/chunks/App-1.1.21-x1hrya65.mjs +1 -0
  4. package/dist/chunks/ApproveApiKey-1.1.21-q3rfm86r.mjs +1 -0
  5. package/dist/chunks/AssistantSessionChooser-1.1.21-djjt8wjf.mjs +1 -0
  6. package/dist/chunks/AutoModeOptInDialog-1.1.21-8rxzv91c.mjs +1 -0
  7. package/dist/chunks/BypassPermissionsModeDialog-1.1.21-2mv1yf69.mjs +1 -0
  8. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.21-qk8b7h6c.mjs +1 -0
  9. package/dist/chunks/ConsoleOAuthFlow-1.1.21-26vykmpr.mjs +1 -0
  10. package/dist/chunks/DiffDialog-1.1.21-3xgr69zd.mjs +6 -0
  11. package/dist/chunks/Doctor-1.1.21-yv90ebbh.mjs +1 -0
  12. package/dist/chunks/ExplorerDialog-1.1.21-xbb9damr.mjs +6 -0
  13. package/dist/chunks/ITermBackend-1.1.21-vghjz16w.mjs +1 -0
  14. package/dist/chunks/InvalidConfigDialog-1.1.21-s80vswk4.mjs +1 -0
  15. package/dist/chunks/InvalidSettingsDialog-1.1.21-vcrwctz5.mjs +1 -0
  16. package/dist/chunks/MigrationDialog-1.1.21-dx1ga7w0.mjs +1 -0
  17. package/dist/chunks/Onboarding-1.1.21-v9s07bhb.mjs +1 -0
  18. package/dist/chunks/ProviderManager-1.1.21-r9zcajjp.mjs +1 -0
  19. package/dist/chunks/REPL-1.1.21-6jn26haf.mjs +1 -0
  20. package/dist/chunks/ResumeConversation-1.1.21-s9pjbbba.mjs +1 -0
  21. package/dist/chunks/SnapshotUpdateDialog-1.1.21-e2efafxn.mjs +1 -0
  22. package/dist/chunks/TeleportProgress-1.1.21-sbtxsq9w.mjs +1 -0
  23. package/dist/chunks/TeleportRepoMismatchDialog-1.1.21-jbdthnzv.mjs +1 -0
  24. package/dist/chunks/TeleportResumeWrapper-1.1.21-rg1e4ya1.mjs +1 -0
  25. package/dist/chunks/TmuxBackend-1.1.21-th8y0yfa.mjs +9 -0
  26. package/dist/chunks/ToolSearchTool-1.1.21-ns92ypnd.mjs +1 -0
  27. package/dist/chunks/TrustDialog-1.1.21-tk81657g.mjs +1 -0
  28. package/dist/chunks/activeProvider-1.1.21-8b6473mc.mjs +1 -0
  29. package/dist/chunks/add-dir-1.1.21-y2qcrtjr.mjs +1 -0
  30. package/dist/chunks/agentTypes-1.1.21-0c6btjcc.mjs +1 -0
  31. package/dist/chunks/agents-1.1.21-1t7q92hk.mjs +3 -0
  32. package/dist/chunks/agents-1.1.21-jppr4jq8.mjs +110 -0
  33. package/dist/chunks/api-1.1.21-g8sbqk15.mjs +1 -0
  34. package/dist/chunks/asciicast-1.1.21-bvqngtzz.mjs +1 -0
  35. package/dist/chunks/assistant-1.1.21-1zc3dwty.mjs +1 -0
  36. package/dist/chunks/auth-1.1.21-65a9bbnh.mjs +1 -0
  37. package/dist/chunks/auth-1.1.21-f0ghh3mq.mjs +1 -0
  38. package/dist/chunks/autoMode-1.1.21-n2a8t9t3.mjs +52 -0
  39. package/dist/chunks/autoModeSetup-1.1.21-9fx83p2j.mjs +44 -0
  40. package/dist/chunks/autoUpdater-1.1.21-52ky9ghk.mjs +1 -0
  41. package/dist/chunks/backgroundHousekeeping-1.1.21-j6t4h3jn.mjs +1 -0
  42. package/dist/chunks/branch-1.1.21-71gampws.mjs +4 -0
  43. package/dist/chunks/bridge-1.1.21-d1gzs1zz.mjs +2 -0
  44. package/dist/chunks/bridgeConfig-1.1.21-9pps44qe.mjs +1 -0
  45. package/dist/chunks/bridgeEnabled-1.1.21-50r8crvp.mjs +1 -0
  46. package/dist/chunks/bridgeMain-1.1.21-e92yewh9.mjs +88 -0
  47. package/dist/chunks/bridgePointer-1.1.21-ckngyn7x.mjs +1 -0
  48. package/dist/chunks/btw-1.1.21-aqj4z7z7.mjs +1 -0
  49. package/dist/chunks/buddy-1.1.21-74rtch74.mjs +3 -0
  50. package/dist/chunks/cache-probe-1.1.21-a8ne39rt.mjs +21 -0
  51. package/dist/chunks/cacheStats-1.1.21-pw082ztb.mjs +4 -0
  52. package/dist/chunks/caches-1.1.21-7s65hxx4.mjs +1 -0
  53. package/dist/chunks/claudeDesktop-1.1.21-0fp1r8xs.mjs +1 -0
  54. package/dist/chunks/claudemd-1.1.21-q4k3d1km.mjs +1 -0
  55. package/dist/chunks/clear-1.1.21-9jjttvr0.mjs +1 -0
  56. package/dist/chunks/clearTerminal-1.1.21-jr9rxdmx.mjs +1 -0
  57. package/dist/chunks/cli-1.1.21-03kdy8xc.mjs +2 -0
  58. package/dist/chunks/cli-1.1.21-04brya8b.mjs +2 -0
  59. package/dist/chunks/cli-1.1.21-0dp6e2at.mjs +2 -0
  60. package/dist/chunks/cli-1.1.21-0etv5x2s.mjs +2 -0
  61. package/dist/chunks/cli-1.1.21-0g1a3shp.mjs +2 -0
  62. package/dist/chunks/cli-1.1.21-0mn9qshg.mjs +2 -0
  63. package/dist/chunks/cli-1.1.21-0n54q1mb.mjs +12 -0
  64. package/dist/chunks/cli-1.1.21-0sqcznka.mjs +4 -0
  65. package/dist/chunks/cli-1.1.21-0w4y6zch.mjs +2 -0
  66. package/dist/chunks/cli-1.1.21-13kr6en7.mjs +2 -0
  67. package/dist/chunks/cli-1.1.21-15f55e7j.mjs +2 -0
  68. package/dist/chunks/cli-1.1.21-1a9968t0.mjs +3 -0
  69. package/dist/chunks/cli-1.1.21-1h90n4wy.mjs +2 -0
  70. package/dist/chunks/cli-1.1.21-1hdfkyjv.mjs +2 -0
  71. package/dist/chunks/cli-1.1.21-1mhmk0z3.mjs +2 -0
  72. package/dist/chunks/cli-1.1.21-1mxg753a.mjs +2 -0
  73. package/dist/chunks/cli-1.1.21-1y508j57.mjs +2 -0
  74. package/dist/chunks/cli-1.1.21-27a8sw98.mjs +2 -0
  75. package/dist/chunks/cli-1.1.21-29jp27ks.mjs +2 -0
  76. package/dist/chunks/cli-1.1.21-2b91fkp9.mjs +66 -0
  77. package/dist/chunks/cli-1.1.21-2cj3wv9s.mjs +3 -0
  78. package/dist/chunks/cli-1.1.21-2cqbdmfj.mjs +2 -0
  79. package/dist/chunks/cli-1.1.21-2gsy9rkt.mjs +7 -0
  80. package/dist/chunks/cli-1.1.21-2nezc8rm.mjs +2 -0
  81. package/dist/chunks/cli-1.1.21-2txzm68v.mjs +2 -0
  82. package/dist/chunks/cli-1.1.21-2zvrsnnb.mjs +15 -0
  83. package/dist/chunks/cli-1.1.21-36nmjsvc.mjs +3 -0
  84. package/dist/chunks/cli-1.1.21-3g5qq5vn.mjs +2 -0
  85. package/dist/chunks/cli-1.1.21-3n2szerd.mjs +2 -0
  86. package/dist/chunks/cli-1.1.21-3v1e2mge.mjs +3 -0
  87. package/dist/chunks/cli-1.1.21-3x0d0qkq.mjs +2 -0
  88. package/dist/chunks/cli-1.1.21-4010086n.mjs +39 -0
  89. package/dist/chunks/cli-1.1.21-4jzagkc6.mjs +2 -0
  90. package/dist/chunks/cli-1.1.21-4ka4k9j1.mjs +2 -0
  91. package/dist/chunks/cli-1.1.21-4s3mz86q.mjs +2 -0
  92. package/dist/chunks/cli-1.1.21-510h0rfd.mjs +2 -0
  93. package/dist/chunks/cli-1.1.21-5bxzgpbd.mjs +16 -0
  94. package/dist/chunks/cli-1.1.21-5jkvz9tr.mjs +2 -0
  95. package/dist/chunks/cli-1.1.21-5srfgw0e.mjs +2 -0
  96. package/dist/chunks/cli-1.1.21-5znk8g89.mjs +2 -0
  97. package/dist/chunks/cli-1.1.21-61eyxvr8.mjs +2 -0
  98. package/dist/chunks/cli-1.1.21-6drn6rpn.mjs +2 -0
  99. package/dist/chunks/cli-1.1.21-71yrrgxv.mjs +2 -0
  100. package/dist/chunks/cli-1.1.21-72p8ma2g.mjs +2 -0
  101. package/dist/chunks/cli-1.1.21-76ttz1tt.mjs +2 -0
  102. package/dist/chunks/cli-1.1.21-7bq44n89.mjs +2 -0
  103. package/dist/chunks/cli-1.1.21-7fymk48z.mjs +2 -0
  104. package/dist/chunks/cli-1.1.21-7gxr15wj.mjs +2 -0
  105. package/dist/chunks/cli-1.1.21-7q6ajew6.mjs +6 -0
  106. package/dist/chunks/cli-1.1.21-8022a544.mjs +3 -0
  107. package/dist/chunks/cli-1.1.21-811zr6vq.mjs +15 -0
  108. package/dist/chunks/cli-1.1.21-87rs5rvq.mjs +2 -0
  109. package/dist/chunks/cli-1.1.21-89hqsfpf.mjs +2 -0
  110. package/dist/chunks/cli-1.1.21-8db7fdfr.mjs +133 -0
  111. package/dist/chunks/cli-1.1.21-8f3dmt8c.mjs +2 -0
  112. package/dist/chunks/cli-1.1.21-8mbdp47n.mjs +34 -0
  113. package/dist/chunks/cli-1.1.21-8p4zm65z.mjs +4 -0
  114. package/dist/chunks/cli-1.1.21-8w2yv4xp.mjs +3 -0
  115. package/dist/chunks/cli-1.1.21-92zh5twv.mjs +2 -0
  116. package/dist/chunks/cli-1.1.21-93zvwec9.mjs +6 -0
  117. package/dist/chunks/cli-1.1.21-9fnv418t.mjs +24 -0
  118. package/dist/chunks/cli-1.1.21-9jq126pc.mjs +2 -0
  119. package/dist/chunks/cli-1.1.21-9za692z5.mjs +2 -0
  120. package/dist/chunks/cli-1.1.21-a6pwx2r1.mjs +2 -0
  121. package/dist/chunks/cli-1.1.21-aa0dfxt3.mjs +17 -0
  122. package/dist/chunks/cli-1.1.21-admbc6bh.mjs +2 -0
  123. package/dist/chunks/cli-1.1.21-adykpnkk.mjs +2 -0
  124. package/dist/chunks/cli-1.1.21-an07xgtv.mjs +25 -0
  125. package/dist/chunks/cli-1.1.21-arjp8fch.mjs +50 -0
  126. package/dist/chunks/cli-1.1.21-as9g92fa.mjs +4 -0
  127. package/dist/chunks/cli-1.1.21-atvca4b4.mjs +2 -0
  128. package/dist/chunks/cli-1.1.21-ayg2p1x9.mjs +133 -0
  129. package/dist/chunks/cli-1.1.21-b7q4e2tp.mjs +2 -0
  130. package/dist/chunks/cli-1.1.21-b7y0x2mz.mjs +3 -0
  131. package/dist/chunks/cli-1.1.21-b92n11f5.mjs +2 -0
  132. package/dist/chunks/cli-1.1.21-badssmqg.mjs +25 -0
  133. package/dist/chunks/cli-1.1.21-bbnxyfz6.mjs +4 -0
  134. package/dist/chunks/cli-1.1.21-bc6x1hhj.mjs +2 -0
  135. package/dist/chunks/cli-1.1.21-bjdtgm9x.mjs +2 -0
  136. package/dist/chunks/cli-1.1.21-bp86y1rn.mjs +2 -0
  137. package/dist/chunks/cli-1.1.21-c27qrh9k.mjs +2 -0
  138. package/dist/chunks/cli-1.1.21-cb82p9ss.mjs +24 -0
  139. package/dist/chunks/cli-1.1.21-ccarwr2t.mjs +2 -0
  140. package/dist/chunks/cli-1.1.21-cdk96yzq.mjs +2 -0
  141. package/dist/chunks/cli-1.1.21-cgspbjjg.mjs +2 -0
  142. package/dist/chunks/cli-1.1.21-cqsmyvsx.mjs +6 -0
  143. package/dist/chunks/cli-1.1.21-dvkgw1dj.mjs +4 -0
  144. package/dist/chunks/cli-1.1.21-e28mvxq4.mjs +2 -0
  145. package/dist/chunks/cli-1.1.21-e4qvgw9g.mjs +4 -0
  146. package/dist/chunks/cli-1.1.21-e8cbfmn6.mjs +2 -0
  147. package/dist/chunks/cli-1.1.21-ekphtr04.mjs +6 -0
  148. package/dist/chunks/cli-1.1.21-eqmp9rz1.mjs +2 -0
  149. package/dist/chunks/cli-1.1.21-er4j34m5.mjs +4 -0
  150. package/dist/chunks/cli-1.1.21-eray52nd.mjs +5426 -0
  151. package/dist/chunks/cli-1.1.21-ev8srpeg.mjs +18 -0
  152. package/dist/chunks/cli-1.1.21-exwxjwrp.mjs +17 -0
  153. package/dist/chunks/cli-1.1.21-f3caatgb.mjs +2 -0
  154. package/dist/chunks/cli-1.1.21-fbxz5jg5.mjs +21 -0
  155. package/dist/chunks/cli-1.1.21-fdf1j366.mjs +3 -0
  156. package/dist/chunks/cli-1.1.21-fn4xyb5w.mjs +2 -0
  157. package/dist/chunks/cli-1.1.21-ftenq1jj.mjs +24 -0
  158. package/dist/chunks/cli-1.1.21-fyryzam5.mjs +2 -0
  159. package/dist/chunks/cli-1.1.21-g2fr5c6z.mjs +3 -0
  160. package/dist/chunks/cli-1.1.21-g6wtm4qg.mjs +206 -0
  161. package/dist/chunks/cli-1.1.21-g7ve83cr.mjs +2 -0
  162. package/dist/chunks/cli-1.1.21-g9rmmx1z.mjs +6 -0
  163. package/dist/chunks/cli-1.1.21-gg6ksnw9.mjs +2 -0
  164. package/dist/chunks/cli-1.1.21-gyh1fxbr.mjs +20 -0
  165. package/dist/chunks/cli-1.1.21-h2y2n4jq.mjs +2 -0
  166. package/dist/chunks/cli-1.1.21-h82yh3wp.mjs +2 -0
  167. package/dist/chunks/cli-1.1.21-hdc9e0dr.mjs +2 -0
  168. package/dist/chunks/cli-1.1.21-hjkr35qk.mjs +2 -0
  169. package/dist/chunks/cli-1.1.21-hmex7wtk.mjs +4 -0
  170. package/dist/chunks/cli-1.1.21-hn93q5ch.mjs +1 -0
  171. package/dist/chunks/cli-1.1.21-j0qbp8ym.mjs +2 -0
  172. package/dist/chunks/cli-1.1.21-j5f9b05q.mjs +2 -0
  173. package/dist/chunks/cli-1.1.21-jkqtb9j1.mjs +2 -0
  174. package/dist/chunks/cli-1.1.21-jmrjkgt7.mjs +2 -0
  175. package/dist/chunks/cli-1.1.21-jqy3a4ze.mjs +9 -0
  176. package/dist/chunks/cli-1.1.21-kc7af745.mjs +5 -0
  177. package/dist/chunks/cli-1.1.21-kf8s641e.mjs +2 -0
  178. package/dist/chunks/cli-1.1.21-kkaftzqq.mjs +2 -0
  179. package/dist/chunks/cli-1.1.21-krwdkyza.mjs +18 -0
  180. package/dist/chunks/cli-1.1.21-kv15mvd0.mjs +3 -0
  181. package/dist/chunks/cli-1.1.21-m53y3ydn.mjs +2 -0
  182. package/dist/chunks/cli-1.1.21-m7dy7yxc.mjs +2 -0
  183. package/dist/chunks/cli-1.1.21-m84cxaww.mjs +2 -0
  184. package/dist/chunks/cli-1.1.21-mqxc9x6p.mjs +3 -0
  185. package/dist/chunks/cli-1.1.21-mysvm055.mjs +8 -0
  186. package/dist/chunks/cli-1.1.21-n00fkex6.mjs +15 -0
  187. package/dist/chunks/cli-1.1.21-nh0wz4ab.mjs +2 -0
  188. package/dist/chunks/cli-1.1.21-nqzn2wyp.mjs +2 -0
  189. package/dist/chunks/cli-1.1.21-ns0xhhjk.mjs +2 -0
  190. package/dist/chunks/cli-1.1.21-pbxjvmxd.mjs +2 -0
  191. package/dist/chunks/cli-1.1.21-phnkc3q1.mjs +2 -0
  192. package/dist/chunks/cli-1.1.21-pq9par9t.mjs +2 -0
  193. package/dist/chunks/cli-1.1.21-pqweg9t6.mjs +3 -0
  194. package/dist/chunks/cli-1.1.21-q2k4myze.mjs +2 -0
  195. package/dist/chunks/cli-1.1.21-q2xyk8fc.mjs +2 -0
  196. package/dist/chunks/cli-1.1.21-qgc6dd5n.mjs +2 -0
  197. package/dist/chunks/cli-1.1.21-qj7gkh71.mjs +2 -0
  198. package/dist/chunks/cli-1.1.21-qs47skyh.mjs +2 -0
  199. package/dist/chunks/cli-1.1.21-qvxw9ea2.mjs +2 -0
  200. package/dist/chunks/cli-1.1.21-qxx08ev5.mjs +2 -0
  201. package/dist/chunks/cli-1.1.21-qz8ykx4a.mjs +2 -0
  202. package/dist/chunks/cli-1.1.21-r90yap4s.mjs +4 -0
  203. package/dist/chunks/cli-1.1.21-rb0ytqxh.mjs +2 -0
  204. package/dist/chunks/cli-1.1.21-rtcccwys.mjs +2 -0
  205. package/dist/chunks/cli-1.1.21-rvm9rmen.mjs +2 -0
  206. package/dist/chunks/cli-1.1.21-rwr3npv8.mjs +2 -0
  207. package/dist/chunks/cli-1.1.21-s076czd6.mjs +60 -0
  208. package/dist/chunks/cli-1.1.21-sa93ge05.mjs +2 -0
  209. package/dist/chunks/cli-1.1.21-sk1w1xc8.mjs +2 -0
  210. package/dist/chunks/cli-1.1.21-sqrqvfx9.mjs +2 -0
  211. package/dist/chunks/cli-1.1.21-srp2gqhn.mjs +2 -0
  212. package/dist/chunks/cli-1.1.21-st3azfy2.mjs +2 -0
  213. package/dist/chunks/cli-1.1.21-syphtp6b.mjs +2 -0
  214. package/dist/chunks/cli-1.1.21-t4e7t3gb.mjs +2 -0
  215. package/dist/chunks/cli-1.1.21-tf5jnyct.mjs +2 -0
  216. package/dist/chunks/cli-1.1.21-tgkmdth7.mjs +3 -0
  217. package/dist/chunks/cli-1.1.21-tjgcqqx5.mjs +12 -0
  218. package/dist/chunks/cli-1.1.21-v8edsbtk.mjs +24 -0
  219. package/dist/chunks/cli-1.1.21-vb6krv5p.mjs +2 -0
  220. package/dist/chunks/cli-1.1.21-vbewc9m8.mjs +2 -0
  221. package/dist/chunks/cli-1.1.21-vgqvfdjj.mjs +45 -0
  222. package/dist/chunks/cli-1.1.21-vhz2g6dh.mjs +2 -0
  223. package/dist/chunks/cli-1.1.21-vpc12nrb.mjs +2 -0
  224. package/dist/chunks/cli-1.1.21-vqyps5tc.mjs +2 -0
  225. package/dist/chunks/cli-1.1.21-vtnh7am3.mjs +2 -0
  226. package/dist/chunks/cli-1.1.21-vtrbe9na.mjs +2 -0
  227. package/dist/chunks/cli-1.1.21-vyzdf2h8.mjs +2 -0
  228. package/dist/chunks/cli-1.1.21-w17d43nx.mjs +2 -0
  229. package/dist/chunks/cli-1.1.21-wermyahx.mjs +2 -0
  230. package/dist/chunks/cli-1.1.21-wq125rgf.mjs +2 -0
  231. package/dist/chunks/cli-1.1.21-wwrjy8z7.mjs +2 -0
  232. package/dist/chunks/cli-1.1.21-x34spqyp.mjs +2 -0
  233. package/dist/chunks/cli-1.1.21-x652vc6g.mjs +7 -0
  234. package/dist/chunks/cli-1.1.21-xa36je2k.mjs +2 -0
  235. package/dist/chunks/cli-1.1.21-xc1ka519.mjs +2 -0
  236. package/dist/chunks/cli-1.1.21-xds4bha6.mjs +2 -0
  237. package/dist/chunks/cli-1.1.21-xg5fsk6h.mjs +6 -0
  238. package/dist/chunks/cli-1.1.21-xkd51fv8.mjs +2 -0
  239. package/dist/chunks/cli-1.1.21-xngg1p8f.mjs +2 -0
  240. package/dist/chunks/cli-1.1.21-xrh2trhz.mjs +2 -0
  241. package/dist/chunks/cli-1.1.21-xsjr5sq9.mjs +2 -0
  242. package/dist/chunks/cli-1.1.21-xtdgxynh.mjs +9 -0
  243. package/dist/chunks/cli-1.1.21-xtysnd33.mjs +2 -0
  244. package/dist/chunks/cli-1.1.21-xx8dx3jd.mjs +4 -0
  245. package/dist/chunks/cli-1.1.21-y0d1dgzh.mjs +58 -0
  246. package/dist/chunks/cli-1.1.21-ybbcrjyr.mjs +2 -0
  247. package/dist/chunks/cli-1.1.21-ym854mnb.mjs +2 -0
  248. package/dist/chunks/cli-1.1.21-ymepfykz.mjs +2 -0
  249. package/dist/chunks/cli-1.1.21-ypkp1djh.mjs +5 -0
  250. package/dist/chunks/cli-1.1.21-yt2eqsfh.mjs +2 -0
  251. package/dist/chunks/cli-1.1.21-ytgz6a2f.mjs +2 -0
  252. package/dist/chunks/cli-1.1.21-yx5x54tp.mjs +2 -0
  253. package/dist/chunks/cli-1.1.21-yxj3mby7.mjs +2 -0
  254. package/dist/chunks/cli-1.1.21-yzg6k72r.mjs +2 -0
  255. package/dist/chunks/cli-1.1.21-z008y1nv.mjs +2 -0
  256. package/dist/chunks/cli-1.1.21-z3qkwz5y.mjs +2 -0
  257. package/dist/chunks/cli-1.1.21-z6tzkkrz.mjs +2 -0
  258. package/dist/chunks/cli-1.1.21-zmkcqsqx.mjs +42 -0
  259. package/dist/chunks/cli-1.1.21-zyz9s3k0.mjs +3 -0
  260. package/dist/chunks/client-1.1.21-2z9qpd9x.mjs +1 -0
  261. package/dist/chunks/color-1.1.21-hx6pdrvg.mjs +1 -0
  262. package/dist/chunks/compact-1.1.21-nwq0kqfv.mjs +3 -0
  263. package/dist/chunks/config-1.1.21-6a9bh364.mjs +1 -0
  264. package/dist/chunks/config-1.1.21-mk64wy1s.mjs +1 -0
  265. package/dist/chunks/constants-1.1.21-6t9m2kc1.mjs +1 -0
  266. package/dist/chunks/context-1.1.21-0q6bzccr.mjs +1 -0
  267. package/dist/chunks/context-noninteractive-1.1.21-4hsfsph7.mjs +1 -0
  268. package/dist/chunks/conversation-1.1.21-7b7x9kge.mjs +1 -0
  269. package/dist/chunks/copilotHeaders-1.1.21-h7jcrbjr.mjs +1 -0
  270. package/dist/chunks/copy-1.1.21-733m4ede.mjs +9 -0
  271. package/dist/chunks/cost-1.1.21-wygsny1s.mjs +1 -0
  272. package/dist/chunks/createSSHSession-1.1.21-xbfgy7b5.mjs +1 -0
  273. package/dist/chunks/createSession-1.1.21-mz06dkby.mjs +1 -0
  274. package/dist/chunks/debug-1.1.21-1mr7a9zd.mjs +1 -0
  275. package/dist/chunks/defaultActionDeps-1.1.21-vax6c0kp.mjs +1534 -0
  276. package/dist/chunks/desktop-1.1.21-pgp4t084.mjs +1 -0
  277. package/dist/chunks/detectRepository-1.1.21-4kgqz7gj.mjs +1 -0
  278. package/dist/chunks/detection-1.1.21-fpdqjz2w.mjs +1 -0
  279. package/dist/chunks/diff-1.1.21-eh8phe15.mjs +1 -0
  280. package/dist/chunks/doctor-1.1.21-qsk3dp6v.mjs +1 -0
  281. package/dist/chunks/doctorDiagnostic-1.1.21-vk3kxvax.mjs +1 -0
  282. package/dist/chunks/earlyInput-1.1.21-hhk47ba3.mjs +1 -0
  283. package/dist/chunks/effort-1.1.21-ekeecb10.mjs +13 -0
  284. package/dist/chunks/engine-1.1.21-d6pnpzs9.mjs +1 -0
  285. package/dist/chunks/envLessBridgeConfig-1.1.21-45xt8y53.mjs +1 -0
  286. package/dist/chunks/envUtils-1.1.21-602cy0p0.mjs +1 -0
  287. package/dist/chunks/environmentSelection-1.1.21-sdkr95ba.mjs +1 -0
  288. package/dist/chunks/environments-1.1.21-xc2zd8j5.mjs +1 -0
  289. package/dist/chunks/errors-1.1.21-zpsc24qr.mjs +1 -0
  290. package/dist/chunks/exampleCommands-1.1.21-wktrh3tf.mjs +1 -0
  291. package/dist/chunks/execFileNoThrow-1.1.21-h0jd5fma.mjs +1 -0
  292. package/dist/chunks/exit-1.1.21-s6bxy0s5.mjs +1 -0
  293. package/dist/chunks/explorer-1.1.21-yecddj8m.mjs +1 -0
  294. package/dist/chunks/export-1.1.21-b5aa7w8q.mjs +2 -0
  295. package/dist/chunks/extra-usage-1.1.21-ccmxd1ga.mjs +1 -0
  296. package/dist/chunks/extra-usage-noninteractive-1.1.21-jysky3gv.mjs +1 -0
  297. package/dist/chunks/fast-1.1.21-wdpp74vz.mjs +1 -0
  298. package/dist/chunks/feedback-1.1.21-gc3be80r.mjs +14 -0
  299. package/dist/chunks/firstPartyEventLogger-1.1.21-cs1b38yg.mjs +1 -0
  300. package/dist/chunks/git-1.1.21-ncfwpbjz.mjs +1 -0
  301. package/dist/chunks/githubModelsCredentials-1.1.21-qya4z4p9.mjs +1 -0
  302. package/dist/chunks/goal-1.1.21-a70wv2cb.mjs +4 -0
  303. package/dist/chunks/growthbook-1.1.21-hmscgg3x.mjs +1 -0
  304. package/dist/chunks/headless-1.1.21-dwdnz8rt.mjs +2 -0
  305. package/dist/chunks/heapdump-1.1.21-tvazwzf0.mjs +6 -0
  306. package/dist/chunks/help-1.1.21-c9hbdjta.mjs +1 -0
  307. package/dist/chunks/hookChains-1.1.21-acyv2xry.mjs +3 -0
  308. package/dist/chunks/hooks-1.1.21-cfmmnnah.mjs +1 -0
  309. package/dist/chunks/hooks-1.1.21-w12e5h5b.mjs +79 -0
  310. package/dist/chunks/ide-1.1.21-wywpj723.mjs +3 -0
  311. package/dist/chunks/image-processor-napi-1.1.21-yhb521r3.mjs +1 -0
  312. package/dist/chunks/inboundAttachments-1.1.21-kk58cty9.mjs +1 -0
  313. package/dist/chunks/index-1.1.21-3b6xa2yf.mjs +1 -0
  314. package/dist/chunks/index-1.1.21-3d6h7ke1.mjs +1 -0
  315. package/dist/chunks/index-1.1.21-57kd6ptp.mjs +1 -0
  316. package/dist/chunks/index-1.1.21-593vrygw.mjs +23 -0
  317. package/dist/chunks/index-1.1.21-5fmfkm8y.mjs +9 -0
  318. package/dist/chunks/index-1.1.21-6zxs2rfg.mjs +1 -0
  319. package/dist/chunks/index-1.1.21-8bhdk6jc.mjs +5 -0
  320. package/dist/chunks/index-1.1.21-adb7btws.mjs +1 -0
  321. package/dist/chunks/index-1.1.21-etcjfd99.mjs +1 -0
  322. package/dist/chunks/index-1.1.21-fy80jkp2.mjs +1 -0
  323. package/dist/chunks/index-1.1.21-hbxv4pgp.mjs +1 -0
  324. package/dist/chunks/index-1.1.21-hytfcvqs.mjs +1 -0
  325. package/dist/chunks/index-1.1.21-m0a3fv04.mjs +30 -0
  326. package/dist/chunks/index-1.1.21-m167t33s.mjs +1 -0
  327. package/dist/chunks/index-1.1.21-q5vrbm1a.mjs +1 -0
  328. package/dist/chunks/index-1.1.21-s1aj62xz.mjs +1 -0
  329. package/dist/chunks/index-1.1.21-srxg6mfj.mjs +1 -0
  330. package/dist/chunks/index-1.1.21-vcbqyp49.mjs +1 -0
  331. package/dist/chunks/index-1.1.21-wqh7rgwt.mjs +2 -0
  332. package/dist/chunks/index-1.1.21-xc8hadvs.mjs +9 -0
  333. package/dist/chunks/index-1.1.21-y0mjkxt4.mjs +1 -0
  334. package/dist/chunks/index-1.1.21-zn4zb4j6.mjs +2 -0
  335. package/dist/chunks/index-1.1.21-zphh9zyt.mjs +1 -0
  336. package/dist/chunks/init-1.1.21-3rsjrj70.mjs +1 -0
  337. package/dist/chunks/initReplBridge-1.1.21-t8zgkgkq.mjs +1 -0
  338. package/dist/chunks/ink-1.1.21-zrg02gjq.mjs +1 -0
  339. package/dist/chunks/insights-1.1.21-08rs6ycg.mjs +870 -0
  340. package/dist/chunks/install-1.1.21-fvsrnj75.mjs +1 -0
  341. package/dist/chunks/install-github-app-1.1.21-kbd8kwxx.mjs +149 -0
  342. package/dist/chunks/install-slack-app-1.1.21-pvac1nvj.mjs +1 -0
  343. package/dist/chunks/instrumentation-1.1.21-3ah0jawp.mjs +1 -0
  344. package/dist/chunks/interactiveHelpers-1.1.21-y8fy1vbg.mjs +1 -0
  345. package/dist/chunks/keybindings-1.1.21-wmvt9cka.mjs +2 -0
  346. package/dist/chunks/knowledge-1.1.21-z92hhppb.mjs +2 -0
  347. package/dist/chunks/latestVersionCache-1.1.21-cv8x9bkm.mjs +1 -0
  348. package/dist/chunks/loadAgentsDir-1.1.21-kwpyjgm3.mjs +1 -0
  349. package/dist/chunks/loadPluginHooks-1.1.21-m59wf0fn.mjs +1 -0
  350. package/dist/chunks/log-1.1.21-xwc604af.mjs +1 -0
  351. package/dist/chunks/main-1.1.21-mpr5depp.mjs +1 -0
  352. package/dist/chunks/managedEnv-1.1.21-nk3htdmq.mjs +1 -0
  353. package/dist/chunks/mcp-1.1.21-e7spj6dg.mjs +1 -0
  354. package/dist/chunks/mcp-1.1.21-mv23tsxc.mjs +17 -0
  355. package/dist/chunks/mcp-1.1.21-wa8c077q.mjs +4 -0
  356. package/dist/chunks/mcpb-1.1.21-bv8pwy9m.mjs +1 -0
  357. package/dist/chunks/memory-1.1.21-gqa797mn.mjs +72 -0
  358. package/dist/chunks/model-1.1.21-3dg8jye0.mjs +1 -0
  359. package/dist/chunks/model-1.1.21-3x98v8x4.mjs +2 -0
  360. package/dist/chunks/node-1.1.21-zxmyqm2z.mjs +14 -0
  361. package/dist/chunks/oauth-1.1.21-4ffdtf1q.mjs +1 -0
  362. package/dist/chunks/openaiShim-1.1.21-9p741891.mjs +14 -0
  363. package/dist/chunks/output-style-1.1.21-kxvx8zbe.mjs +1 -0
  364. package/dist/chunks/package-ZOVFJE7Z-1.1.21-myehvasc.mjs +1 -0
  365. package/dist/chunks/parseConnectUrl-1.1.21-dtjr5vb7.mjs +1 -0
  366. package/dist/chunks/parser-1.1.21-jaqdwq7t.mjs +1 -0
  367. package/dist/chunks/passes-1.1.21-g830qx07.mjs +1 -0
  368. package/dist/chunks/permissions-1.1.21-ec5a6xxt.mjs +3 -0
  369. package/dist/chunks/permissions-1.1.21-qdday4sh.mjs +1 -0
  370. package/dist/chunks/plan-1.1.21-f5qe7hem.mjs +1 -0
  371. package/dist/chunks/plist-1.1.21-y82gjgzs.mjs +1 -0
  372. package/dist/chunks/plugin-1.1.21-0kfwxmv2.mjs +29 -0
  373. package/dist/chunks/pluginStartupCheck-1.1.21-f5ddb5rc.mjs +1 -0
  374. package/dist/chunks/plugins-1.1.21-exphk1gb.mjs +9 -0
  375. package/dist/chunks/preActionHook-1.1.21-jhp4m01m.mjs +2 -0
  376. package/dist/chunks/print-1.1.21-rcjs5pc4.mjs +57 -0
  377. package/dist/chunks/process-1.1.21-03zz92gq.mjs +1 -0
  378. package/dist/chunks/processBashCommand-1.1.21-zey1mfgx.mjs +1 -0
  379. package/dist/chunks/processSlashCommand-1.1.21-cwxbh5pw.mjs +9 -0
  380. package/dist/chunks/prompt-1.1.21-49amsrvt.mjs +1 -0
  381. package/dist/chunks/prompt-1.1.21-gv2b1rk5.mjs +1 -0
  382. package/dist/chunks/prompts-1.1.21-hggxct4d.mjs +1 -0
  383. package/dist/chunks/protocolHandler-1.1.21-e974kgtb.mjs +13 -0
  384. package/dist/chunks/provider-1.1.21-xnprbehk.mjs +2 -0
  385. package/dist/chunks/providerProfiles-1.1.21-b4tnf9te.mjs +1 -0
  386. package/dist/chunks/providerValidation-1.1.21-0n0739n4.mjs +6 -0
  387. package/dist/chunks/rate-limit-options-1.1.21-s59gtr3x.mjs +1 -0
  388. package/dist/chunks/registerSubcommands-1.1.21-wb1mef7h.mjs +26 -0
  389. package/dist/chunks/registry-1.1.21-knz7xa0h.mjs +1 -0
  390. package/dist/chunks/release-notes-1.1.21-mvr373q4.mjs +5 -0
  391. package/dist/chunks/reload-plugins-1.1.21-b4czg147.mjs +2 -0
  392. package/dist/chunks/remote-env-1.1.21-dbnxeqkg.mjs +1 -0
  393. package/dist/chunks/remoteBridgeCore-1.1.21-fr3w35kv.mjs +1 -0
  394. package/dist/chunks/remoteSession-1.1.21-5fvz5bsw.mjs +1 -0
  395. package/dist/chunks/rename-1.1.21-6rvag2s4.mjs +1 -0
  396. package/dist/chunks/replBridgeHandle-1.1.21-tay6v7n4.mjs +1 -0
  397. package/dist/chunks/replLauncher-1.1.21-nzx71pts.mjs +1 -0
  398. package/dist/chunks/resume-1.1.21-mp3a9npp.mjs +2 -0
  399. package/dist/chunks/rewind-1.1.21-njh0btq2.mjs +1 -0
  400. package/dist/chunks/rootOptions-1.1.21-7j3b02hm.mjs +1 -0
  401. package/dist/chunks/runWorkflowHeadless-1.1.21-d1v7f1sh.mjs +10 -0
  402. package/dist/chunks/sandbox-adapter-1.1.21-1vd13wkq.mjs +1 -0
  403. package/dist/chunks/sandbox-toggle-1.1.21-c7fw2ksr.mjs +1 -0
  404. package/dist/chunks/session-1.1.21-9gpkxas1.mjs +2 -0
  405. package/dist/chunks/sessionDiscovery-1.1.21-w4676wtk.mjs +1 -0
  406. package/dist/chunks/sessionFileAccessHooks-1.1.21-ecwm1cfg.mjs +1 -0
  407. package/dist/chunks/sessionStorage-1.1.21-kan90ps9.mjs +1 -0
  408. package/dist/chunks/settings-1.1.21-4s7ew4vh.mjs +1 -0
  409. package/dist/chunks/setup-1.1.21-nmfqd6pa.mjs +12 -0
  410. package/dist/chunks/sinks-1.1.21-grwc3mac.mjs +1 -0
  411. package/dist/chunks/skills-1.1.21-c7mykz5q.mjs +1 -0
  412. package/dist/chunks/startupProfiler-1.1.21-mtr244kh.mjs +1 -0
  413. package/dist/chunks/startupUpdateCheck-1.1.21-k1569a6r.mjs +1 -0
  414. package/dist/chunks/state-1.1.21-006s6xsy.mjs +1 -0
  415. package/dist/chunks/stats-1.1.21-bdpn78b9.mjs +6 -0
  416. package/dist/chunks/status-1.1.21-dkepakb3.mjs +1 -0
  417. package/dist/chunks/stickers-1.1.21-xk8yr9yt.mjs +1 -0
  418. package/dist/chunks/subprocessEnv-1.1.21-tjx2d81b.mjs +1 -0
  419. package/dist/chunks/tasks-1.1.21-9qx5fz1q.mjs +1 -0
  420. package/dist/chunks/teamHelpers-1.1.21-pnhycdw4.mjs +1 -0
  421. package/dist/chunks/teammateModeSnapshot-1.1.21-279f713t.mjs +1 -0
  422. package/dist/chunks/teleport-1.1.21-t3yfsxqf.mjs +1 -0
  423. package/dist/chunks/terminalSetup-1.1.21-6t0x22pz.mjs +1 -0
  424. package/dist/chunks/theme-1.1.21-qp0w8xbb.mjs +1 -0
  425. package/dist/chunks/thinkback-1.1.21-my7w4nms.mjs +1 -0
  426. package/dist/chunks/thinkback-play-1.1.21-67cnrtz7.mjs +1 -0
  427. package/dist/chunks/toolPool-1.1.21-njaz40qd.mjs +1 -0
  428. package/dist/chunks/toolSearch-1.1.21-7b0wbg1q.mjs +1 -0
  429. package/dist/chunks/tools-1.1.21-zaawccjz.mjs +1 -0
  430. package/dist/chunks/trustedDevice-1.1.21-2h0kxwkb.mjs +1 -0
  431. package/dist/chunks/turndown.cjs-1.1.21-tajysy6v.mjs +69 -0
  432. package/dist/chunks/types-1.1.21-dpz3pqyf.mjs +1 -0
  433. package/dist/chunks/ultrareviewCommand-1.1.21-3r3a34tb.mjs +4 -0
  434. package/dist/chunks/update-1.1.21-v9n06gej.mjs +72 -0
  435. package/dist/chunks/upgrade-1.1.21-f40x8myx.mjs +1 -0
  436. package/dist/chunks/upload-1.1.21-x63yx03n.mjs +7 -0
  437. package/dist/chunks/upstreamproxy-1.1.21-4d1nmmca.mjs +14 -0
  438. package/dist/chunks/url-handler-napi-1.1.21-f8egwk04.mjs +1 -0
  439. package/dist/chunks/usage-1.1.21-ajfcrtj1.mjs +1 -0
  440. package/dist/chunks/util-1.1.21-raqpgawk.mjs +1 -0
  441. package/dist/chunks/utils-1.1.21-ae7844cz.mjs +1 -0
  442. package/dist/chunks/vim-1.1.21-stgjbrez.mjs +1 -0
  443. package/dist/chunks/watchLoop-1.1.21-3mrb2p44.mjs +13 -0
  444. package/dist/chunks/watcher-1.1.21-71vsydsx.mjs +1 -0
  445. package/dist/chunks/wiki-1.1.21-m8wt2ppx.mjs +132 -0
  446. package/dist/chunks/workflows-1.1.21-j7gtgean.mjs +1 -0
  447. package/dist/chunks/worktree-1.1.21-acv1xtvb.mjs +1 -0
  448. package/dist/chunks/worktreeModeEnabled-1.1.21-2sg0072j.mjs +1 -0
  449. package/dist/chunks/wrapper-1.1.21-zbvep84d.mjs +7 -0
  450. package/dist/cli.mjs +2 -2
  451. package/package.json +9 -9
  452. package/dist/chunks/AgentTool-1.1.19-ap09svyk.mjs +0 -1
  453. package/dist/chunks/App-1.1.19-k77n3357.mjs +0 -1
  454. package/dist/chunks/ApproveApiKey-1.1.19-tcembk4t.mjs +0 -1
  455. package/dist/chunks/AssistantSessionChooser-1.1.19-m4nrahdt.mjs +0 -1
  456. package/dist/chunks/AutoModeOptInDialog-1.1.19-taks8xn7.mjs +0 -1
  457. package/dist/chunks/BypassPermissionsModeDialog-1.1.19-yme7vhwa.mjs +0 -1
  458. package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.19-tfvmz7pe.mjs +0 -1
  459. package/dist/chunks/ConsoleOAuthFlow-1.1.19-zkq642rw.mjs +0 -1
  460. package/dist/chunks/DiffDialog-1.1.19-2d75g9t9.mjs +0 -6
  461. package/dist/chunks/Doctor-1.1.19-0h26y250.mjs +0 -1
  462. package/dist/chunks/ExplorerDialog-1.1.19-664kb4w5.mjs +0 -6
  463. package/dist/chunks/ITermBackend-1.1.19-yebbvfbc.mjs +0 -1
  464. package/dist/chunks/InvalidConfigDialog-1.1.19-69vb23j7.mjs +0 -1
  465. package/dist/chunks/InvalidSettingsDialog-1.1.19-xd8y62c2.mjs +0 -1
  466. package/dist/chunks/MigrationDialog-1.1.19-1629rwte.mjs +0 -1
  467. package/dist/chunks/Onboarding-1.1.19-jpbdr4ek.mjs +0 -1
  468. package/dist/chunks/ProviderManager-1.1.19-gsjnpy2f.mjs +0 -1
  469. package/dist/chunks/REPL-1.1.19-pqppw8hp.mjs +0 -1
  470. package/dist/chunks/ResumeConversation-1.1.19-gvqa5kzm.mjs +0 -1
  471. package/dist/chunks/SnapshotUpdateDialog-1.1.19-jqd47gb8.mjs +0 -1
  472. package/dist/chunks/TeleportProgress-1.1.19-m9xykegt.mjs +0 -1
  473. package/dist/chunks/TeleportRepoMismatchDialog-1.1.19-4x4m771g.mjs +0 -1
  474. package/dist/chunks/TeleportResumeWrapper-1.1.19-4ywpbgq0.mjs +0 -1
  475. package/dist/chunks/TmuxBackend-1.1.19-znn3cy0j.mjs +0 -9
  476. package/dist/chunks/ToolSearchTool-1.1.19-z4htsqk6.mjs +0 -1
  477. package/dist/chunks/TrustDialog-1.1.19-fqjjhqxh.mjs +0 -1
  478. package/dist/chunks/activeProvider-1.1.19-sgb7b5wy.mjs +0 -1
  479. package/dist/chunks/add-dir-1.1.19-y55kbgfe.mjs +0 -1
  480. package/dist/chunks/agentTypes-1.1.19-cfvc6wt9.mjs +0 -1
  481. package/dist/chunks/agents-1.1.19-hc4xvq4r.mjs +0 -110
  482. package/dist/chunks/agents-1.1.19-k8kx3pej.mjs +0 -3
  483. package/dist/chunks/api-1.1.19-gbh2sz3k.mjs +0 -1
  484. package/dist/chunks/asciicast-1.1.19-6mnps2vx.mjs +0 -1
  485. package/dist/chunks/assistant-1.1.19-vmkknmbc.mjs +0 -1
  486. package/dist/chunks/auth-1.1.19-h46w2e1a.mjs +0 -1
  487. package/dist/chunks/auth-1.1.19-s68ybx6f.mjs +0 -1
  488. package/dist/chunks/autoMode-1.1.19-qpevvt9x.mjs +0 -52
  489. package/dist/chunks/autoModeSetup-1.1.19-63yyncht.mjs +0 -44
  490. package/dist/chunks/autoUpdater-1.1.19-vxn3t7f7.mjs +0 -1
  491. package/dist/chunks/backgroundHousekeeping-1.1.19-tg6rqb4x.mjs +0 -1
  492. package/dist/chunks/branch-1.1.19-e4gkb2sb.mjs +0 -4
  493. package/dist/chunks/bridge-1.1.19-zwf5vbc6.mjs +0 -2
  494. package/dist/chunks/bridgeConfig-1.1.19-wc27ha2s.mjs +0 -1
  495. package/dist/chunks/bridgeEnabled-1.1.19-6gq8j1d7.mjs +0 -1
  496. package/dist/chunks/bridgeMain-1.1.19-yzzr33jg.mjs +0 -88
  497. package/dist/chunks/bridgePointer-1.1.19-xdqatsm3.mjs +0 -1
  498. package/dist/chunks/btw-1.1.19-qkfvd0ms.mjs +0 -1
  499. package/dist/chunks/buddy-1.1.19-08xe7ppf.mjs +0 -3
  500. package/dist/chunks/cache-probe-1.1.19-w4a9xacm.mjs +0 -21
  501. package/dist/chunks/cacheStats-1.1.19-exn70h4b.mjs +0 -4
  502. package/dist/chunks/caches-1.1.19-d4jfvwhp.mjs +0 -1
  503. package/dist/chunks/claudeDesktop-1.1.19-kxx2an1b.mjs +0 -1
  504. package/dist/chunks/claudemd-1.1.19-xsbhz7tg.mjs +0 -1
  505. package/dist/chunks/clear-1.1.19-a1znba6q.mjs +0 -1
  506. package/dist/chunks/clearTerminal-1.1.19-ahv4wsvx.mjs +0 -1
  507. package/dist/chunks/cli-1.1.19-00q9c51a.mjs +0 -2
  508. package/dist/chunks/cli-1.1.19-00zv4s06.mjs +0 -2
  509. package/dist/chunks/cli-1.1.19-0cyysv3s.mjs +0 -2
  510. package/dist/chunks/cli-1.1.19-0m8cwm30.mjs +0 -2
  511. package/dist/chunks/cli-1.1.19-0n5vcvqz.mjs +0 -2
  512. package/dist/chunks/cli-1.1.19-0s56yqjm.mjs +0 -2
  513. package/dist/chunks/cli-1.1.19-0zq6911y.mjs +0 -2
  514. package/dist/chunks/cli-1.1.19-10jx9qt3.mjs +0 -2
  515. package/dist/chunks/cli-1.1.19-126eyddd.mjs +0 -2
  516. package/dist/chunks/cli-1.1.19-1mqhgz4n.mjs +0 -2
  517. package/dist/chunks/cli-1.1.19-25szxvwt.mjs +0 -2
  518. package/dist/chunks/cli-1.1.19-29wgse8t.mjs +0 -2
  519. package/dist/chunks/cli-1.1.19-2cb4p1hk.mjs +0 -2
  520. package/dist/chunks/cli-1.1.19-2jkn8w89.mjs +0 -2
  521. package/dist/chunks/cli-1.1.19-2rbw0277.mjs +0 -2
  522. package/dist/chunks/cli-1.1.19-2rnpr99c.mjs +0 -1
  523. package/dist/chunks/cli-1.1.19-2xxxjdpp.mjs +0 -2
  524. package/dist/chunks/cli-1.1.19-35evt5gy.mjs +0 -2
  525. package/dist/chunks/cli-1.1.19-38ya9kd8.mjs +0 -2
  526. package/dist/chunks/cli-1.1.19-3e9krkhy.mjs +0 -2
  527. package/dist/chunks/cli-1.1.19-3ep6p0sf.mjs +0 -2
  528. package/dist/chunks/cli-1.1.19-3jjgtf8t.mjs +0 -2
  529. package/dist/chunks/cli-1.1.19-3q0sj4zp.mjs +0 -3
  530. package/dist/chunks/cli-1.1.19-3tzh16np.mjs +0 -4
  531. package/dist/chunks/cli-1.1.19-3wwc3q32.mjs +0 -2
  532. package/dist/chunks/cli-1.1.19-3xpqyp64.mjs +0 -7
  533. package/dist/chunks/cli-1.1.19-48a6gxnh.mjs +0 -2
  534. package/dist/chunks/cli-1.1.19-4ba4a8jg.mjs +0 -9
  535. package/dist/chunks/cli-1.1.19-4dp1vkze.mjs +0 -2
  536. package/dist/chunks/cli-1.1.19-4hek4kyb.mjs +0 -2
  537. package/dist/chunks/cli-1.1.19-4n6cth1a.mjs +0 -2
  538. package/dist/chunks/cli-1.1.19-53hanqff.mjs +0 -2
  539. package/dist/chunks/cli-1.1.19-5a8wm97m.mjs +0 -2
  540. package/dist/chunks/cli-1.1.19-5eb8a4wn.mjs +0 -2
  541. package/dist/chunks/cli-1.1.19-5kaw3aa5.mjs +0 -2
  542. package/dist/chunks/cli-1.1.19-5xy2q2yt.mjs +0 -2
  543. package/dist/chunks/cli-1.1.19-5z5xyy4e.mjs +0 -34
  544. package/dist/chunks/cli-1.1.19-61nar796.mjs +0 -4
  545. package/dist/chunks/cli-1.1.19-61tem8qm.mjs +0 -2
  546. package/dist/chunks/cli-1.1.19-6jvzyjts.mjs +0 -3
  547. package/dist/chunks/cli-1.1.19-6mq64vhw.mjs +0 -3
  548. package/dist/chunks/cli-1.1.19-6pp1614z.mjs +0 -4
  549. package/dist/chunks/cli-1.1.19-6smqyzzn.mjs +0 -50
  550. package/dist/chunks/cli-1.1.19-779zeaga.mjs +0 -2
  551. package/dist/chunks/cli-1.1.19-7djbq218.mjs +0 -3
  552. package/dist/chunks/cli-1.1.19-7rmk4fz4.mjs +0 -2
  553. package/dist/chunks/cli-1.1.19-7s1yy832.mjs +0 -2
  554. package/dist/chunks/cli-1.1.19-7sfdatrg.mjs +0 -12
  555. package/dist/chunks/cli-1.1.19-7v3pjgvw.mjs +0 -5
  556. package/dist/chunks/cli-1.1.19-7zdwszrb.mjs +0 -2
  557. package/dist/chunks/cli-1.1.19-82vfm05a.mjs +0 -2
  558. package/dist/chunks/cli-1.1.19-89n0ppp5.mjs +0 -2
  559. package/dist/chunks/cli-1.1.19-8dpft679.mjs +0 -2
  560. package/dist/chunks/cli-1.1.19-8zwh2ky5.mjs +0 -2
  561. package/dist/chunks/cli-1.1.19-93bb0mpz.mjs +0 -2
  562. package/dist/chunks/cli-1.1.19-946kz0h0.mjs +0 -2
  563. package/dist/chunks/cli-1.1.19-96rdwb5m.mjs +0 -2
  564. package/dist/chunks/cli-1.1.19-99dfxebe.mjs +0 -2
  565. package/dist/chunks/cli-1.1.19-9a8d2pxp.mjs +0 -2
  566. package/dist/chunks/cli-1.1.19-9dkavmxz.mjs +0 -2
  567. package/dist/chunks/cli-1.1.19-9kbnb3tc.mjs +0 -2
  568. package/dist/chunks/cli-1.1.19-9nfxc159.mjs +0 -3
  569. package/dist/chunks/cli-1.1.19-9vf7tt9g.mjs +0 -2
  570. package/dist/chunks/cli-1.1.19-a26wdy1v.mjs +0 -24
  571. package/dist/chunks/cli-1.1.19-a32dnq28.mjs +0 -2
  572. package/dist/chunks/cli-1.1.19-a5hfs685.mjs +0 -45
  573. package/dist/chunks/cli-1.1.19-a6e1antc.mjs +0 -15
  574. package/dist/chunks/cli-1.1.19-a75p9zey.mjs +0 -2
  575. package/dist/chunks/cli-1.1.19-ac73knxp.mjs +0 -2
  576. package/dist/chunks/cli-1.1.19-acez5n0m.mjs +0 -24
  577. package/dist/chunks/cli-1.1.19-aj7yfbb6.mjs +0 -2
  578. package/dist/chunks/cli-1.1.19-awkva6qc.mjs +0 -24
  579. package/dist/chunks/cli-1.1.19-b7fbqawk.mjs +0 -2
  580. package/dist/chunks/cli-1.1.19-bg1d8zv9.mjs +0 -2
  581. package/dist/chunks/cli-1.1.19-bmy2183w.mjs +0 -2
  582. package/dist/chunks/cli-1.1.19-bxvvef3z.mjs +0 -2
  583. package/dist/chunks/cli-1.1.19-c8xs9vjb.mjs +0 -2
  584. package/dist/chunks/cli-1.1.19-cb7496nq.mjs +0 -5
  585. package/dist/chunks/cli-1.1.19-cc266ybe.mjs +0 -2
  586. package/dist/chunks/cli-1.1.19-cfgdvk8n.mjs +0 -12
  587. package/dist/chunks/cli-1.1.19-cjq368e9.mjs +0 -24
  588. package/dist/chunks/cli-1.1.19-cma77m08.mjs +0 -2
  589. package/dist/chunks/cli-1.1.19-cq5hegwz.mjs +0 -6
  590. package/dist/chunks/cli-1.1.19-csfx7v0e.mjs +0 -2
  591. package/dist/chunks/cli-1.1.19-d00hzr89.mjs +0 -2
  592. package/dist/chunks/cli-1.1.19-d1qdwt16.mjs +0 -2
  593. package/dist/chunks/cli-1.1.19-d2x1fpvn.mjs +0 -3
  594. package/dist/chunks/cli-1.1.19-d7wb13f8.mjs +0 -2
  595. package/dist/chunks/cli-1.1.19-dq0a7g9x.mjs +0 -2
  596. package/dist/chunks/cli-1.1.19-dt84yfk2.mjs +0 -206
  597. package/dist/chunks/cli-1.1.19-dw8jwdzq.mjs +0 -3
  598. package/dist/chunks/cli-1.1.19-dzbss10b.mjs +0 -3
  599. package/dist/chunks/cli-1.1.19-e4krk6kp.mjs +0 -2
  600. package/dist/chunks/cli-1.1.19-e5k83shq.mjs +0 -17
  601. package/dist/chunks/cli-1.1.19-ec5kkxdm.mjs +0 -2
  602. package/dist/chunks/cli-1.1.19-edv500a7.mjs +0 -25
  603. package/dist/chunks/cli-1.1.19-esk8qemt.mjs +0 -3
  604. package/dist/chunks/cli-1.1.19-eyhpgp73.mjs +0 -4
  605. package/dist/chunks/cli-1.1.19-f1g12hnb.mjs +0 -2
  606. package/dist/chunks/cli-1.1.19-f1vb0eyp.mjs +0 -2
  607. package/dist/chunks/cli-1.1.19-f6m8mqsf.mjs +0 -2
  608. package/dist/chunks/cli-1.1.19-fgfwa8xc.mjs +0 -2
  609. package/dist/chunks/cli-1.1.19-fqwvhznj.mjs +0 -2
  610. package/dist/chunks/cli-1.1.19-ftnf2s7k.mjs +0 -6
  611. package/dist/chunks/cli-1.1.19-g1bp4mfb.mjs +0 -2
  612. package/dist/chunks/cli-1.1.19-g70qb326.mjs +0 -2
  613. package/dist/chunks/cli-1.1.19-grvgykf5.mjs +0 -58
  614. package/dist/chunks/cli-1.1.19-gvdrxej7.mjs +0 -6
  615. package/dist/chunks/cli-1.1.19-gw9jb8fv.mjs +0 -2
  616. package/dist/chunks/cli-1.1.19-h5psdt4j.mjs +0 -2
  617. package/dist/chunks/cli-1.1.19-h6a1zywh.mjs +0 -2
  618. package/dist/chunks/cli-1.1.19-h6nqzwdx.mjs +0 -8
  619. package/dist/chunks/cli-1.1.19-hdmxb06r.mjs +0 -2
  620. package/dist/chunks/cli-1.1.19-hph7gbkv.mjs +0 -42
  621. package/dist/chunks/cli-1.1.19-hqbspnvc.mjs +0 -5419
  622. package/dist/chunks/cli-1.1.19-hr45csak.mjs +0 -3
  623. package/dist/chunks/cli-1.1.19-j9kyrhvv.mjs +0 -3
  624. package/dist/chunks/cli-1.1.19-jn7xm69z.mjs +0 -2
  625. package/dist/chunks/cli-1.1.19-k4gwmyp2.mjs +0 -17
  626. package/dist/chunks/cli-1.1.19-k5svbvzd.mjs +0 -2
  627. package/dist/chunks/cli-1.1.19-kc4rvbe3.mjs +0 -18
  628. package/dist/chunks/cli-1.1.19-kjbxevhz.mjs +0 -2
  629. package/dist/chunks/cli-1.1.19-kjhw0mpy.mjs +0 -6
  630. package/dist/chunks/cli-1.1.19-kxz28gf8.mjs +0 -21
  631. package/dist/chunks/cli-1.1.19-m8w4as34.mjs +0 -16
  632. package/dist/chunks/cli-1.1.19-m9vwd2bt.mjs +0 -2
  633. package/dist/chunks/cli-1.1.19-mam509fm.mjs +0 -2
  634. package/dist/chunks/cli-1.1.19-mn9sb0en.mjs +0 -2
  635. package/dist/chunks/cli-1.1.19-mqs96k5w.mjs +0 -4
  636. package/dist/chunks/cli-1.1.19-mrft54r6.mjs +0 -2
  637. package/dist/chunks/cli-1.1.19-n24w651m.mjs +0 -3
  638. package/dist/chunks/cli-1.1.19-n5xxe310.mjs +0 -133
  639. package/dist/chunks/cli-1.1.19-nb1256fg.mjs +0 -4
  640. package/dist/chunks/cli-1.1.19-nqznsj8y.mjs +0 -2
  641. package/dist/chunks/cli-1.1.19-nrpwj6d0.mjs +0 -3
  642. package/dist/chunks/cli-1.1.19-p1nzrjj5.mjs +0 -25
  643. package/dist/chunks/cli-1.1.19-p8pd4mmb.mjs +0 -2
  644. package/dist/chunks/cli-1.1.19-pdmgnq2h.mjs +0 -39
  645. package/dist/chunks/cli-1.1.19-pn1pyg9c.mjs +0 -2
  646. package/dist/chunks/cli-1.1.19-q2b2zy0e.mjs +0 -2
  647. package/dist/chunks/cli-1.1.19-q5kbe656.mjs +0 -2
  648. package/dist/chunks/cli-1.1.19-q7cjyz1z.mjs +0 -2
  649. package/dist/chunks/cli-1.1.19-qb3sg611.mjs +0 -2
  650. package/dist/chunks/cli-1.1.19-qvzf4mzn.mjs +0 -2
  651. package/dist/chunks/cli-1.1.19-qw2a73hz.mjs +0 -2
  652. package/dist/chunks/cli-1.1.19-r3km7nzk.mjs +0 -2
  653. package/dist/chunks/cli-1.1.19-r4qc48rf.mjs +0 -2
  654. package/dist/chunks/cli-1.1.19-rk4mqvc5.mjs +0 -2
  655. package/dist/chunks/cli-1.1.19-rkxy1dsw.mjs +0 -2
  656. package/dist/chunks/cli-1.1.19-ry92fd54.mjs +0 -7
  657. package/dist/chunks/cli-1.1.19-s3zhxkk4.mjs +0 -2
  658. package/dist/chunks/cli-1.1.19-sbrpsrtp.mjs +0 -4
  659. package/dist/chunks/cli-1.1.19-shgmqysk.mjs +0 -2
  660. package/dist/chunks/cli-1.1.19-shgqfcam.mjs +0 -2
  661. package/dist/chunks/cli-1.1.19-snq43w01.mjs +0 -6
  662. package/dist/chunks/cli-1.1.19-swfswrx1.mjs +0 -2
  663. package/dist/chunks/cli-1.1.19-t7yahhjv.mjs +0 -4
  664. package/dist/chunks/cli-1.1.19-t87ew64x.mjs +0 -2
  665. package/dist/chunks/cli-1.1.19-t9xz3682.mjs +0 -20
  666. package/dist/chunks/cli-1.1.19-tar53fbc.mjs +0 -15
  667. package/dist/chunks/cli-1.1.19-tefbgf43.mjs +0 -2
  668. package/dist/chunks/cli-1.1.19-tm3821yd.mjs +0 -2
  669. package/dist/chunks/cli-1.1.19-tqv8yds0.mjs +0 -2
  670. package/dist/chunks/cli-1.1.19-tw6zn01k.mjs +0 -2
  671. package/dist/chunks/cli-1.1.19-v35x8svk.mjs +0 -15
  672. package/dist/chunks/cli-1.1.19-v619rbr5.mjs +0 -59
  673. package/dist/chunks/cli-1.1.19-vbq3h0rr.mjs +0 -2
  674. package/dist/chunks/cli-1.1.19-vfed8ert.mjs +0 -2
  675. package/dist/chunks/cli-1.1.19-vgfqexte.mjs +0 -4
  676. package/dist/chunks/cli-1.1.19-vpabfve5.mjs +0 -6
  677. package/dist/chunks/cli-1.1.19-vr8jf7k6.mjs +0 -2
  678. package/dist/chunks/cli-1.1.19-vv09y4gs.mjs +0 -2
  679. package/dist/chunks/cli-1.1.19-vx87jjbs.mjs +0 -18
  680. package/dist/chunks/cli-1.1.19-vyqgdds6.mjs +0 -2
  681. package/dist/chunks/cli-1.1.19-w9tb5j4s.mjs +0 -2
  682. package/dist/chunks/cli-1.1.19-wrgbrnhw.mjs +0 -9
  683. package/dist/chunks/cli-1.1.19-wtkads83.mjs +0 -2
  684. package/dist/chunks/cli-1.1.19-wzm0j7nd.mjs +0 -133
  685. package/dist/chunks/cli-1.1.19-x1grwt9b.mjs +0 -2
  686. package/dist/chunks/cli-1.1.19-x522f12c.mjs +0 -2
  687. package/dist/chunks/cli-1.1.19-x6xnsxay.mjs +0 -2
  688. package/dist/chunks/cli-1.1.19-x86k1gy8.mjs +0 -2
  689. package/dist/chunks/cli-1.1.19-x8set46s.mjs +0 -2
  690. package/dist/chunks/cli-1.1.19-x9jccx03.mjs +0 -4
  691. package/dist/chunks/cli-1.1.19-xnas5w2g.mjs +0 -2
  692. package/dist/chunks/cli-1.1.19-xst2kbax.mjs +0 -2
  693. package/dist/chunks/cli-1.1.19-xvrj0zyj.mjs +0 -2
  694. package/dist/chunks/cli-1.1.19-y6p80wj3.mjs +0 -3
  695. package/dist/chunks/cli-1.1.19-ybe27dz9.mjs +0 -66
  696. package/dist/chunks/cli-1.1.19-ykspd2ax.mjs +0 -2
  697. package/dist/chunks/cli-1.1.19-ykvwaeht.mjs +0 -2
  698. package/dist/chunks/cli-1.1.19-yrjfmdg0.mjs +0 -2
  699. package/dist/chunks/cli-1.1.19-ys9280nx.mjs +0 -2
  700. package/dist/chunks/cli-1.1.19-yw33djbn.mjs +0 -2
  701. package/dist/chunks/cli-1.1.19-z9t89h8r.mjs +0 -2
  702. package/dist/chunks/cli-1.1.19-zcbfxmsm.mjs +0 -2
  703. package/dist/chunks/cli-1.1.19-zdb14mt2.mjs +0 -2
  704. package/dist/chunks/cli-1.1.19-zebz0x46.mjs +0 -2
  705. package/dist/chunks/cli-1.1.19-zg8m3n8n.mjs +0 -2
  706. package/dist/chunks/cli-1.1.19-zm9nhjfe.mjs +0 -2
  707. package/dist/chunks/cli-1.1.19-ztvzhgye.mjs +0 -2
  708. package/dist/chunks/cli-1.1.19-ztxdhvw3.mjs +0 -2
  709. package/dist/chunks/cli-1.1.19-zv4hb0hf.mjs +0 -2
  710. package/dist/chunks/client-1.1.19-rydegw5h.mjs +0 -1
  711. package/dist/chunks/color-1.1.19-p5265vaz.mjs +0 -1
  712. package/dist/chunks/compact-1.1.19-7c9mxrm8.mjs +0 -3
  713. package/dist/chunks/config-1.1.19-2wsgrxvp.mjs +0 -1
  714. package/dist/chunks/config-1.1.19-d62j9tgx.mjs +0 -1
  715. package/dist/chunks/constants-1.1.19-cyxrtszj.mjs +0 -1
  716. package/dist/chunks/context-1.1.19-mtt1t5p4.mjs +0 -1
  717. package/dist/chunks/context-noninteractive-1.1.19-xry25hh6.mjs +0 -1
  718. package/dist/chunks/conversation-1.1.19-y6cahyhg.mjs +0 -1
  719. package/dist/chunks/copilotHeaders-1.1.19-esh8mxyx.mjs +0 -1
  720. package/dist/chunks/copy-1.1.19-tyf8daxj.mjs +0 -9
  721. package/dist/chunks/cost-1.1.19-pvrac5v6.mjs +0 -1
  722. package/dist/chunks/createSSHSession-1.1.19-8jd28zhc.mjs +0 -1
  723. package/dist/chunks/createSession-1.1.19-88gw4fqs.mjs +0 -1
  724. package/dist/chunks/debug-1.1.19-xz3040cz.mjs +0 -1
  725. package/dist/chunks/defaultActionDeps-1.1.19-x39zq6wr.mjs +0 -1534
  726. package/dist/chunks/desktop-1.1.19-a40h3fh1.mjs +0 -1
  727. package/dist/chunks/detectRepository-1.1.19-g0rbffr6.mjs +0 -1
  728. package/dist/chunks/detection-1.1.19-kzpx83pk.mjs +0 -1
  729. package/dist/chunks/diff-1.1.19-g76zmzb1.mjs +0 -1
  730. package/dist/chunks/doctor-1.1.19-03zspk7d.mjs +0 -1
  731. package/dist/chunks/doctorDiagnostic-1.1.19-df18kr26.mjs +0 -1
  732. package/dist/chunks/earlyInput-1.1.19-n9y2y9sm.mjs +0 -1
  733. package/dist/chunks/effort-1.1.19-503r3dqe.mjs +0 -13
  734. package/dist/chunks/engine-1.1.19-0ad61bvx.mjs +0 -1
  735. package/dist/chunks/envLessBridgeConfig-1.1.19-qf1fj44h.mjs +0 -1
  736. package/dist/chunks/envUtils-1.1.19-8en4zy66.mjs +0 -1
  737. package/dist/chunks/environmentSelection-1.1.19-91hc6n75.mjs +0 -1
  738. package/dist/chunks/environments-1.1.19-tfjfkh09.mjs +0 -1
  739. package/dist/chunks/errors-1.1.19-fs48fz9y.mjs +0 -1
  740. package/dist/chunks/exampleCommands-1.1.19-pbb6kk50.mjs +0 -1
  741. package/dist/chunks/execFileNoThrow-1.1.19-m6am19yr.mjs +0 -1
  742. package/dist/chunks/exit-1.1.19-mqpwd363.mjs +0 -1
  743. package/dist/chunks/explorer-1.1.19-epqv5k1e.mjs +0 -1
  744. package/dist/chunks/export-1.1.19-t8tpvak9.mjs +0 -2
  745. package/dist/chunks/extra-usage-1.1.19-r9kte59s.mjs +0 -1
  746. package/dist/chunks/extra-usage-noninteractive-1.1.19-xnxm4sqt.mjs +0 -1
  747. package/dist/chunks/fast-1.1.19-c4n0rr8a.mjs +0 -1
  748. package/dist/chunks/feedback-1.1.19-7k5rya63.mjs +0 -14
  749. package/dist/chunks/firstPartyEventLogger-1.1.19-5bjmyd6a.mjs +0 -1
  750. package/dist/chunks/git-1.1.19-1njw7gwq.mjs +0 -1
  751. package/dist/chunks/githubModelsCredentials-1.1.19-k4csmysh.mjs +0 -1
  752. package/dist/chunks/goal-1.1.19-e08g4net.mjs +0 -4
  753. package/dist/chunks/growthbook-1.1.19-gw9m906y.mjs +0 -1
  754. package/dist/chunks/headless-1.1.19-gckc9qf1.mjs +0 -2
  755. package/dist/chunks/heapdump-1.1.19-cy0bczwr.mjs +0 -6
  756. package/dist/chunks/help-1.1.19-bbfsbt36.mjs +0 -1
  757. package/dist/chunks/hookChains-1.1.19-n01ssw8c.mjs +0 -3
  758. package/dist/chunks/hooks-1.1.19-488gkyjk.mjs +0 -1
  759. package/dist/chunks/hooks-1.1.19-b2x6yc66.mjs +0 -79
  760. package/dist/chunks/ide-1.1.19-zf9hpj81.mjs +0 -3
  761. package/dist/chunks/image-processor-napi-1.1.19-1m270wr0.mjs +0 -1
  762. package/dist/chunks/inboundAttachments-1.1.19-h4bsnn75.mjs +0 -1
  763. package/dist/chunks/index-1.1.19-06ccpd87.mjs +0 -1
  764. package/dist/chunks/index-1.1.19-263v6qeb.mjs +0 -1
  765. package/dist/chunks/index-1.1.19-2d944pv5.mjs +0 -1
  766. package/dist/chunks/index-1.1.19-7ngy3yfc.mjs +0 -9
  767. package/dist/chunks/index-1.1.19-apzfwtnm.mjs +0 -1
  768. package/dist/chunks/index-1.1.19-efdm8cp5.mjs +0 -30
  769. package/dist/chunks/index-1.1.19-exbss9tj.mjs +0 -1
  770. package/dist/chunks/index-1.1.19-f53qyqj8.mjs +0 -2
  771. package/dist/chunks/index-1.1.19-fae0sgd8.mjs +0 -5
  772. package/dist/chunks/index-1.1.19-g4rv8gvj.mjs +0 -2
  773. package/dist/chunks/index-1.1.19-ha3e4f70.mjs +0 -1
  774. package/dist/chunks/index-1.1.19-ht9s8yra.mjs +0 -9
  775. package/dist/chunks/index-1.1.19-j9awq55c.mjs +0 -1
  776. package/dist/chunks/index-1.1.19-jdvmsx9x.mjs +0 -1
  777. package/dist/chunks/index-1.1.19-ks262nbe.mjs +0 -1
  778. package/dist/chunks/index-1.1.19-mppepmze.mjs +0 -23
  779. package/dist/chunks/index-1.1.19-nthw1gda.mjs +0 -1
  780. package/dist/chunks/index-1.1.19-rs8fazy9.mjs +0 -1
  781. package/dist/chunks/index-1.1.19-sze2q9g5.mjs +0 -1
  782. package/dist/chunks/index-1.1.19-vkfm4msr.mjs +0 -1
  783. package/dist/chunks/index-1.1.19-vs2nyqte.mjs +0 -1
  784. package/dist/chunks/index-1.1.19-z8fcr2ec.mjs +0 -1
  785. package/dist/chunks/index-1.1.19-zy7mntdp.mjs +0 -1
  786. package/dist/chunks/init-1.1.19-8d53tmw6.mjs +0 -1
  787. package/dist/chunks/initReplBridge-1.1.19-p00njb6f.mjs +0 -1
  788. package/dist/chunks/ink-1.1.19-vr4g8jdg.mjs +0 -1
  789. package/dist/chunks/insights-1.1.19-6ag4d7qh.mjs +0 -870
  790. package/dist/chunks/install-1.1.19-74g8qyvc.mjs +0 -1
  791. package/dist/chunks/install-github-app-1.1.19-3nj645m2.mjs +0 -149
  792. package/dist/chunks/install-slack-app-1.1.19-sw02tcfh.mjs +0 -1
  793. package/dist/chunks/instrumentation-1.1.19-fshq5kr2.mjs +0 -1
  794. package/dist/chunks/interactiveHelpers-1.1.19-npmh2sbc.mjs +0 -1
  795. package/dist/chunks/keybindings-1.1.19-xy665r7j.mjs +0 -2
  796. package/dist/chunks/knowledge-1.1.19-e4pdfkhx.mjs +0 -2
  797. package/dist/chunks/latestVersionCache-1.1.19-fktnyx5h.mjs +0 -1
  798. package/dist/chunks/loadAgentsDir-1.1.19-j4732ykz.mjs +0 -1
  799. package/dist/chunks/loadPluginHooks-1.1.19-99a4nfjq.mjs +0 -1
  800. package/dist/chunks/log-1.1.19-y3spcye6.mjs +0 -1
  801. package/dist/chunks/main-1.1.19-06jy3aye.mjs +0 -1
  802. package/dist/chunks/managedEnv-1.1.19-19k3jdqh.mjs +0 -1
  803. package/dist/chunks/mcp-1.1.19-833sdc7d.mjs +0 -17
  804. package/dist/chunks/mcp-1.1.19-x0sfjzjt.mjs +0 -1
  805. package/dist/chunks/mcp-1.1.19-z5x59bca.mjs +0 -4
  806. package/dist/chunks/mcpb-1.1.19-bbswp853.mjs +0 -1
  807. package/dist/chunks/memory-1.1.19-d1ke4kha.mjs +0 -72
  808. package/dist/chunks/model-1.1.19-sm0ftpna.mjs +0 -1
  809. package/dist/chunks/model-1.1.19-v68fjcdh.mjs +0 -2
  810. package/dist/chunks/node-1.1.19-nj9qe6mk.mjs +0 -12
  811. package/dist/chunks/oauth-1.1.19-y016e4dk.mjs +0 -1
  812. package/dist/chunks/openaiShim-1.1.19-njr80kze.mjs +0 -14
  813. package/dist/chunks/output-style-1.1.19-rj9tfcg1.mjs +0 -1
  814. package/dist/chunks/package-KQCMZM5L-1.1.19-4f1z2hmg.mjs +0 -1
  815. package/dist/chunks/parseConnectUrl-1.1.19-qtk1xf04.mjs +0 -1
  816. package/dist/chunks/parser-1.1.19-sfrfy1dm.mjs +0 -1
  817. package/dist/chunks/passes-1.1.19-nhfrcsrb.mjs +0 -1
  818. package/dist/chunks/permissions-1.1.19-bfjnq5mz.mjs +0 -1
  819. package/dist/chunks/permissions-1.1.19-vzcjg874.mjs +0 -3
  820. package/dist/chunks/plan-1.1.19-qzr3m454.mjs +0 -1
  821. package/dist/chunks/plist-1.1.19-19wsvxjw.mjs +0 -1
  822. package/dist/chunks/plugin-1.1.19-p0h9mbar.mjs +0 -29
  823. package/dist/chunks/pluginStartupCheck-1.1.19-7pvtzbb1.mjs +0 -1
  824. package/dist/chunks/plugins-1.1.19-xrbe4y5a.mjs +0 -9
  825. package/dist/chunks/preActionHook-1.1.19-wfp4vavy.mjs +0 -2
  826. package/dist/chunks/print-1.1.19-rzw2njmz.mjs +0 -57
  827. package/dist/chunks/process-1.1.19-k7h4qsz0.mjs +0 -1
  828. package/dist/chunks/processBashCommand-1.1.19-p1ffejkb.mjs +0 -1
  829. package/dist/chunks/processSlashCommand-1.1.19-gy6nfdzs.mjs +0 -9
  830. package/dist/chunks/prompt-1.1.19-9aq4jr0c.mjs +0 -1
  831. package/dist/chunks/prompt-1.1.19-kkwb835d.mjs +0 -1
  832. package/dist/chunks/prompts-1.1.19-qq19kp1k.mjs +0 -1
  833. package/dist/chunks/protocolHandler-1.1.19-6n3sh10m.mjs +0 -13
  834. package/dist/chunks/provider-1.1.19-46f6x4wt.mjs +0 -2
  835. package/dist/chunks/providerProfiles-1.1.19-xxzvjngj.mjs +0 -1
  836. package/dist/chunks/providerValidation-1.1.19-t3qsn8f5.mjs +0 -6
  837. package/dist/chunks/rate-limit-options-1.1.19-j7xrp805.mjs +0 -1
  838. package/dist/chunks/registerSubcommands-1.1.19-v2jjs3tt.mjs +0 -26
  839. package/dist/chunks/registry-1.1.19-7chtcyjj.mjs +0 -1
  840. package/dist/chunks/release-notes-1.1.19-pbbxph7n.mjs +0 -5
  841. package/dist/chunks/reload-plugins-1.1.19-qgvazhrx.mjs +0 -2
  842. package/dist/chunks/remote-env-1.1.19-4ftd6zk8.mjs +0 -1
  843. package/dist/chunks/remoteBridgeCore-1.1.19-w92h77yd.mjs +0 -1
  844. package/dist/chunks/remoteSession-1.1.19-e5nd7ypy.mjs +0 -1
  845. package/dist/chunks/rename-1.1.19-zmextayk.mjs +0 -1
  846. package/dist/chunks/replBridgeHandle-1.1.19-4vqnj6br.mjs +0 -1
  847. package/dist/chunks/replLauncher-1.1.19-s2btrsvw.mjs +0 -1
  848. package/dist/chunks/resume-1.1.19-jn7pe69d.mjs +0 -2
  849. package/dist/chunks/rewind-1.1.19-rahxdd24.mjs +0 -1
  850. package/dist/chunks/rootOptions-1.1.19-hjwkw6vt.mjs +0 -1
  851. package/dist/chunks/runWorkflowHeadless-1.1.19-hjwsqxd5.mjs +0 -10
  852. package/dist/chunks/sandbox-adapter-1.1.19-4aqxxq3m.mjs +0 -1
  853. package/dist/chunks/sandbox-toggle-1.1.19-x2n1fkv0.mjs +0 -1
  854. package/dist/chunks/session-1.1.19-je5j810m.mjs +0 -2
  855. package/dist/chunks/sessionDiscovery-1.1.19-t595d3pg.mjs +0 -1
  856. package/dist/chunks/sessionFileAccessHooks-1.1.19-bng1xsd6.mjs +0 -1
  857. package/dist/chunks/sessionStorage-1.1.19-6agd7cfq.mjs +0 -1
  858. package/dist/chunks/settings-1.1.19-cpxbjwr6.mjs +0 -1
  859. package/dist/chunks/setup-1.1.19-11b5cjgj.mjs +0 -12
  860. package/dist/chunks/sinks-1.1.19-m4ce6s8b.mjs +0 -1
  861. package/dist/chunks/skills-1.1.19-scwgh73s.mjs +0 -1
  862. package/dist/chunks/startupProfiler-1.1.19-j0kpxw4n.mjs +0 -1
  863. package/dist/chunks/startupUpdateCheck-1.1.19-k05gx3h1.mjs +0 -1
  864. package/dist/chunks/state-1.1.19-r1dtdp9g.mjs +0 -1
  865. package/dist/chunks/stats-1.1.19-zwc97973.mjs +0 -6
  866. package/dist/chunks/status-1.1.19-8m7tf3e1.mjs +0 -1
  867. package/dist/chunks/stickers-1.1.19-51p3tyxv.mjs +0 -1
  868. package/dist/chunks/subprocessEnv-1.1.19-bq634ryk.mjs +0 -1
  869. package/dist/chunks/tasks-1.1.19-xtpcttgb.mjs +0 -1
  870. package/dist/chunks/teamHelpers-1.1.19-37de1g3x.mjs +0 -1
  871. package/dist/chunks/teammateModeSnapshot-1.1.19-0zaw34nq.mjs +0 -1
  872. package/dist/chunks/teleport-1.1.19-1yrce0fg.mjs +0 -1
  873. package/dist/chunks/terminalSetup-1.1.19-n3qgcbse.mjs +0 -1
  874. package/dist/chunks/theme-1.1.19-qfd87sgp.mjs +0 -1
  875. package/dist/chunks/thinkback-1.1.19-gss5am06.mjs +0 -1
  876. package/dist/chunks/thinkback-play-1.1.19-7j20scs3.mjs +0 -1
  877. package/dist/chunks/toolPool-1.1.19-tmtwkgcj.mjs +0 -1
  878. package/dist/chunks/toolSearch-1.1.19-01pt7axx.mjs +0 -1
  879. package/dist/chunks/tools-1.1.19-1y8gx9m2.mjs +0 -1
  880. package/dist/chunks/trustedDevice-1.1.19-d1avnq7v.mjs +0 -1
  881. package/dist/chunks/turndown.cjs-1.1.19-q8rxrnz3.mjs +0 -69
  882. package/dist/chunks/types-1.1.19-3n28bh66.mjs +0 -1
  883. package/dist/chunks/ultrareviewCommand-1.1.19-vhhfbsfg.mjs +0 -4
  884. package/dist/chunks/update-1.1.19-xzwgsapn.mjs +0 -72
  885. package/dist/chunks/upgrade-1.1.19-5ydc5rb9.mjs +0 -1
  886. package/dist/chunks/upload-1.1.19-evxky0ry.mjs +0 -7
  887. package/dist/chunks/upstreamproxy-1.1.19-6t7vnxjf.mjs +0 -14
  888. package/dist/chunks/url-handler-napi-1.1.19-zgpfdrf1.mjs +0 -1
  889. package/dist/chunks/usage-1.1.19-f61vnt3h.mjs +0 -1
  890. package/dist/chunks/util-1.1.19-yqzpdqqe.mjs +0 -1
  891. package/dist/chunks/utils-1.1.19-hhq6836h.mjs +0 -1
  892. package/dist/chunks/vim-1.1.19-k2aqex53.mjs +0 -1
  893. package/dist/chunks/watchLoop-1.1.19-e3ar1gjj.mjs +0 -13
  894. package/dist/chunks/watcher-1.1.19-09ahtfef.mjs +0 -1
  895. package/dist/chunks/wiki-1.1.19-h6tfdmnw.mjs +0 -132
  896. package/dist/chunks/workflows-1.1.19-kgd61yya.mjs +0 -1
  897. package/dist/chunks/worktree-1.1.19-8vn5pmy9.mjs +0 -1
  898. package/dist/chunks/worktreeModeEnabled-1.1.19-je6hz46c.mjs +0 -1
  899. package/dist/chunks/wrapper-1.1.19-dn4wk1mg.mjs +0 -7
  900. /package/dist/chunks/{cli-1.1.19-4tssw0qf.mjs → cli-1.1.21-7snn7kbs.mjs} +0 -0
  901. /package/dist/chunks/{cli-1.1.19-jepkkjbh.mjs → cli-1.1.21-7sx1arjq.mjs} +0 -0
  902. /package/dist/chunks/{cli-1.1.19-mnfgg84d.mjs → cli-1.1.21-cx7tkkx6.mjs} +0 -0
  903. /package/dist/chunks/{cli-1.1.19-j2p355hg.mjs → cli-1.1.21-ftamxg3e.mjs} +0 -0
  904. /package/dist/chunks/{cli-1.1.19-caqq41md.mjs → cli-1.1.21-rte0df0y.mjs} +0 -0
  905. /package/dist/chunks/{cli-1.1.19-er0hdy0x.mjs → cli-1.1.21-srd8n2bc.mjs} +0 -0
@@ -0,0 +1,18 @@
1
+ import{wJ as Q,zJ as F}from"./cli-1.1.21-eray52nd.mjs";import{ala as b,dla as y}from"./cli-1.1.21-7q6ajew6.mjs";import{Cla as x,Hla as f}from"./cli-1.1.21-xx8dx3jd.mjs";import{Kla as w,Vla as R}from"./cli-1.1.21-atvca4b4.mjs";import{Dna as $,Gna as j,yra as K}from"./cli-1.1.21-hdc9e0dr.mjs";import{tta as v}from"./cli-1.1.21-13kr6en7.mjs";import{statSync as u}from"fs";import{join as Z}from"path";function P(k,q){return`${q} ${k}`}function g(){J.clear()}function C(){return{projectLoopMdPath:Z(j(),".claudin","loop.md"),userLoopMdPath:Z(w(),"loop.md")}}function h(k){for(let q of[k.projectLoopMdPath,k.userLoopMdPath])try{let z=u(q);return`${q}:${z.mtimeMs}:${z.size}`}catch(z){if(!x(z))b(`[loopSentinels] failed to stat ${q}: ${z}`)}return null}function M(k,q,z=m){let B=k.trim();if(B!==Y&&B!==G)return k;let V=h(q??C()),W=P(B,z),H=J.get(W);J.set(W,{firedOnce:!0,loopMdFingerprint:V});let X=H!==void 0&&H.loopMdFingerprint!==V;if(H===void 0||X)return d(B,X);return L(B)}function d(k,q){let z=q?`Note: the loop.md instructions changed since the last tick — re-read them and follow the updated version.
2
+
3
+ `:"",B=k===G?`
4
+
5
+ ${c}`:"";return`Scheduled loop tick.
6
+
7
+ ${z}${D}${B}`}function L(k){if(k!==G)return"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md).";return`${"Scheduled loop tick — continue the loop per the instructions earlier in this conversation. If they are no longer in context, re-read .claudin/loop.md (or ~/.claudin/loop.md)."} Then, as the LAST action of the turn, call ${Q} again (prompt: ${G}) to continue the loop, or omit it to end the loop.`}var Y="<<autonomous-loop>>",G="<<autonomous-loop-dynamic>>",D=`Scheduled maintenance loop iteration.
8
+
9
+ If .claudin/loop.md exists, read it and follow it.
10
+ Otherwise, if ~/.claudin/loop.md exists, read it and follow it.
11
+ Otherwise:
12
+ - continue any unfinished work from the conversation
13
+ - tend to the current branch's pull request: review comments, failed CI runs, merge conflicts
14
+ - run cleanup passes such as bug hunts or simplification when nothing else is pending
15
+
16
+ Do not start new initiatives outside that scope.
17
+ Irreversible actions such as pushing or deleting only proceed when they continue something the transcript already authorized.`,c,m="lead",J;var U=v(()=>{K();F();y();R();f();c=`This loop is self-paced (/loop dynamic mode): when this iteration's work is done, as the LAST action of the turn either call ${Q} again — prompt set to exactly ${G}, with a delay chosen per the tool description and a one-sentence reason — to continue the loop, or omit the call to end it.`,J=new Map;$(g)});
18
+ export{Y as di,G as ei,D as fi,g as gi,M as hi,U as ii};
@@ -0,0 +1,17 @@
1
+ import{D7 as x,J7 as K}from"./cli-1.1.21-5bxzgpbd.mjs";import{Zda as w,kea as J}from"./cli-1.1.21-g6wtm4qg.mjs";import{aia as v,mia as I}from"./cli-1.1.21-4ka4k9j1.mjs";import{Nla as q,Vla as G}from"./cli-1.1.21-atvca4b4.mjs";import{tta as z}from"./cli-1.1.21-13kr6en7.mjs";function W(h){return h.type==="advisor_tool_result"||h.type==="server_tool_use"&&h.name==="advisor"}function j(){return v("tengu_sage_compass",{})}function k(){if(q(process.env.CLAUDIN_DISABLE_ADVISOR_TOOL))return!1;if(!x())return!1;return j().enabled??!1}function N(){return k()&&(j().canUserConfigure??!1)}function X(){let h=j();return k()&&!N()&&h.baseModel&&h.advisorModel?{baseModel:h.baseModel,advisorModel:h.advisorModel}:void 0}function Z(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function $(h){let b=h.toLowerCase();return b.includes("opus-5")||b.includes("opus-4-8")||b.includes("opus-4-7")||b.includes("opus-4-6")||b.includes("sonnet-5")||b.includes("sonnet-4-6")}function B(){if(!k())return;return w().advisorModel}function D(h){let b=h.iterations;if(!b)return[];return b.filter((y)=>y.type==="advisor_message")}var F=`# Advisor Tool
2
+
3
+ You have access to an \`advisor\` tool backed by a stronger reviewer model. It takes NO parameters -- when you call it, your entire conversation history is automatically forwarded. The advisor sees the task, every tool call you've made, every result you've seen.
4
+
5
+ Call advisor BEFORE substantive work -- before writing code, before committing to an interpretation, before building on an assumption. If the task requires orientation first (finding files, reading code, seeing what's there), do that, then call advisor. Orientation is not substantive work. Writing, editing, and declaring an answer are.
6
+
7
+ Also call advisor:
8
+ - When you believe the task is complete. BEFORE this call, make your deliverable durable: write the file, stage the change, save the result. The advisor call takes time; if the session ends during it, a durable result persists and an unwritten one doesn't.
9
+ - When stuck -- errors recurring, approach not converging, results that don't fit.
10
+ - When considering a change of approach.
11
+
12
+ On tasks longer than a few steps, call advisor at least once before committing to an approach and once before declaring done. On short reactive tasks where the next action is dictated by tool output you just read, you don't need to keep calling -- the advisor adds most of its value on the first call, before the approach crystallizes.
13
+
14
+ Give the advice serious weight. If you follow a step and it fails empirically, or you have primary-source evidence that contradicts a specific claim (the file says X, the code does Y), adapt. A passing self-test is not evidence the advice is wrong -- it's evidence your test doesn't check what the advice is checking.
15
+
16
+ If you've already retrieved data pointing one way and the advisor points another: don't silently switch. Surface the conflict in one more advisor call -- "I found X, you suggest Y, which constraint breaks the tie?" The advisor saw your evidence but may have underweighted it; a reconcile call is cheaper than committing to the wrong branch.`;var O=z(()=>{I();K();G();J()});
17
+ export{W as aV,k as bV,N as cV,X as dV,Z as eV,$ as fV,B as gV,D as hV,F as iV,O as jV};
@@ -0,0 +1,2 @@
1
+ import{pb as d}from"./cli-1.1.21-rte0df0y.mjs";import{AK as f,Ez as C,Fz as D,JT as Vj,Kz as Gj,Lk as $,Mk as n,Ol as P,Ot as h,Pl as R,Qt as qj,Rm as E,Sm as e,UT as F,Uk as v,Vk as r,XE as Jj,bT as m,cT as S,ck as O,dT as A,eS as Qj,ek as o,ev as k,fU as Xj,gD as I,hD as Hj,hm as s,hv as V,nv as zj,oT as c,ov as w,pv as Bj,um as y,vT as p,wT as X,zm as t}from"./cli-1.1.21-eray52nd.mjs";import{NV as jj,yV as W}from"./cli-1.1.21-yx5x54tp.mjs";import{OX as x,RX as Kj}from"./cli-1.1.21-9fnv418t.mjs";import{_6 as T,f7 as u}from"./cli-1.1.21-5bxzgpbd.mjs";import{jja as Z,lja as i}from"./cli-1.1.21-fyryzam5.mjs";import{ala as b,dla as l}from"./cli-1.1.21-7q6ajew6.mjs";import{Cna as _,Hna as Y,Moa as M,Ooa as N,Uqa as K,yra as g,zna as U}from"./cli-1.1.21-hdc9e0dr.mjs";g();e();Gj();zj();r();o();import{dirname as Yj}from"path";Xj();Jj();Kj();i();l();qj();Qj();u();t();n();Hj();Vj();jj();Bj();s();function Zj(j){for(let q=j.length-1;q>=0;q--){let B=j[q];if(B?.type!=="assistant")continue;let z=B.message.content.find((J)=>J.type==="tool_use"&&J.name===v);if(!z||z.type!=="tool_use")continue;let G=z.input;if(G===null||typeof G!=="object")return[];let H=w().safeParse(G.todos);return H.success?H.data:[]}return[]}function aj(j,q){if(j.fileHistorySnapshots&&j.fileHistorySnapshots.length>0)h(j.fileHistorySnapshots,(B)=>{q((z)=>({...z,fileHistory:B}))});if(!W()&&j.messages&&j.messages.length>0){let B=Zj(j.messages);if(B.length>0){let z=U();q((G)=>({...G,todos:{...G.todos,[z]:B}}))}}}function $j(j){return}function Pj(j,q){if(!j&&!q)return;return{name:j??"",color:q==="default"?void 0:q}}function Rj(j,q,B){if(q)return{agentDefinition:q,agentType:void 0};if(!j)return K(void 0),{agentDefinition:void 0,agentType:void 0};let z=B.activeAgents.find((G)=>G.agentType===j);if(!z)return b(`Resumed session had agent "${j}" but it is no longer available. Using default behavior.`),K(void 0),{agentDefinition:void 0,agentType:void 0};if(K(z.agentType),!M()&&z.model&&z.model!=="inherit")N(T(z.model));return{agentDefinition:z,agentType:z.agentType}}async function yj(j,q,B,z){if(!j)return z;V.cache.clear?.();let G=await V(q),H=[...G.allAgents,...B];return{...G,allAgents:H,activeAgents:k(H)}}function Ej(j){let q=P();if(q){X(q);return}if(!j)return;try{process.chdir(j.worktreePath)}catch{X(null);return}I(j.worktreePath),Y(Z()),R(j),F(),E(),y.cache.clear?.(),$()}function gj(){let j=P();if(!j)return;R(null),F(),E(),y.cache.clear?.(),$();try{process.chdir(j.originalCwd)}catch{return}I(j.originalCwd),Y(Z())}async function lj(j,q,B){let z;if(z=B.modeApi?.matchSessionMode(j.mode),z)j.messages.push(f(z,"warning"));if(!q.forkSession){let Q=q.sessionIdOverride??j.sessionId;if(Q){if(_(O(Q),q.transcriptPath?Yj(q.transcriptPath):null),await d(),await S(),!C(Q))D(j.messages)}}else if(j.contentReplacements?.length)await m(j.contentReplacements);if(c(q.forkSession?{...j,worktreeSession:void 0}:j),!q.forkSession)Ej(j.worktreeSession),A();let{agentDefinition:G,agentType:H}=Rj(j.agentSetting,B.mainThreadAgentDefinition,B.agentDefinitions);p(B.modeApi?.isCoordinatorMode()?"coordinator":"normal");let J=q.includeAttribution?$j(j):void 0,L=Pj(j.agentName,j.agentColor);x(j.agentName);let a=await yj(!!z,B.currentCwd,B.cliAgents,B.agentDefinitions);return{messages:j.messages,fileHistorySnapshots:j.fileHistorySnapshots,contentReplacements:j.contentReplacements,agentName:j.agentName,agentColor:j.agentColor==="default"?void 0:j.agentColor,restoredAgentDef:G,initialState:{...B.initialState,...H&&{agent:H},...J&&{attribution:J},...L&&{standaloneAgentContext:L},agentDefinitions:a}}}
2
+ export{aj as Pa,Pj as Qa,Rj as Ra,Ej as Sa,gj as Ta,lj as Ua};
@@ -0,0 +1,21 @@
1
+ import{OE as L,PE as Y,eS as C,qs as K,rk as J,rs as X,uK as O}from"./cli-1.1.21-eray52nd.mjs";import{tta as V}from"./cli-1.1.21-13kr6en7.mjs";function N(z){let y=[],D=z.matchAll(Z);for(let v of D)if(v.index!==void 0)y.push({word:v[0],start:v.index,end:v.index+v[0].length});return y}async function W({question:z,cacheSafeParams:y}){let D=`<system-reminder>This is a side question from the user. You must answer this question directly in a single response.
2
+
3
+ IMPORTANT CONTEXT:
4
+ - You are a separate, lightweight agent spawned to answer this one question
5
+ - The main agent is NOT interrupted - it continues working independently in the background
6
+ - You share the conversation context but are a completely separate instance
7
+ - Do NOT reference being interrupted or what you were "previously doing" - that framing is incorrect
8
+
9
+ CRITICAL CONSTRAINTS:
10
+ - You have NO tools available - you cannot read files, run commands, search, or take any actions
11
+ - This is a one-off response - there will be no follow-up turns
12
+ - You can ONLY provide information based on what you already know from the conversation context
13
+ - NEVER say things like "Let me try...", "I'll now...", "Let me check...", or promise to take any action
14
+ - If you don't know the answer, say so - do not offer to look it up or investigate
15
+
16
+ Simply answer the question with the information you have.</system-reminder>
17
+
18
+ ${z}`,v=await L({promptMessages:[O({content:D})],cacheSafeParams:y,canUseTool:async()=>({behavior:"deny",message:"Side questions cannot use tools",decisionReason:{type:"other",reason:"side_question"}}),querySource:"side_question",forkLabel:"side_question",maxTurns:1,skipCacheWrite:!0});return{response:$(v.messages),usage:v.totalUsage}}function $(z){let y=z.flatMap((v)=>v.type==="assistant"?v.message.content:[]);if(y.length>0){let v=J(y,`
19
+
20
+ `).trim();if(v)return v;let G=y.find((H)=>H.type==="tool_use");if(G)return`(The model tried to call ${"name"in G?G.name:"a tool"} instead of answering directly. Try rephrasing or ask in the main conversation.)`}let D=z.find((v)=>v.type==="system"&&("subtype"in v)&&v.subtype==="api_error");if(D)return`(API error: ${K(D.error)})`;return null}var Z;var w=V(()=>{X();Y();C();Z=/^\/btw\b/gi});
21
+ export{N as Wh,W as Xh,w as Yh};
@@ -0,0 +1,3 @@
1
+ import{ita as x,kta as y,ota as C}from"./cli-1.1.21-aa0dfxt3.mjs";import{rta as k}from"./cli-1.1.21-13kr6en7.mjs";var MF=k((n)=>{var K=x(),b=C(),w=y(),f=(F)=>F[K.SMITHY_CONTEXT_KEY]||(F[K.SMITHY_CONTEXT_KEY]={}),h=(F,J)=>{if(!J||J.length===0)return F;let G=[];for(let L of J)for(let Q of F)if(Q.schemeId.split("#")[1]===L)G.push(Q);for(let L of F)if(!G.find(({schemeId:Q})=>Q===L.schemeId))G.push(L);return G};function v(F){let J=new Map;for(let G of F)J.set(G.schemeId,G);return J}var j=(F,J)=>(G,L)=>async(Q)=>{let V=F.httpAuthSchemeProvider(await J.httpAuthSchemeParametersProvider(F,L,Q.input)),W=F.authSchemePreference?await F.authSchemePreference():[],Z=h(V,W),Y=v(F.httpAuthSchemes),U=w.getSmithyContext(L),$=[];for(let X of Z){let B=Y.get(X.schemeId);if(!B){$.push(`HttpAuthScheme \`${X.schemeId}\` was not enabled for this service.`);continue}let D=B.identityProvider(await J.identityProviderConfigProvider(F));if(!D){$.push(`HttpAuthScheme \`${X.schemeId}\` did not have an IdentityProvider configured.`);continue}let{identityProperties:N={},signingProperties:R={}}=X.propertiesExtractor?.(F,L)||{};X.identityProperties=Object.assign(X.identityProperties||{},N),X.signingProperties=Object.assign(X.signingProperties||{},R),U.selectedHttpAuthScheme={httpAuthOption:X,identity:await D(X.identityProperties),signer:B.signer};break}if(!U.selectedHttpAuthScheme)throw Error($.join(`
2
+ `));return G(Q)},H={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"endpointV2Middleware"},P=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),H)}}),M={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:!0,relation:"before",toMiddleware:"serializerMiddleware"},l=(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G})=>({applyToStack:(L)=>{L.addRelativeTo(j(F,{httpAuthSchemeParametersProvider:J,identityProviderConfigProvider:G}),M)}}),m=(F)=>(J)=>{throw J},u=(F,J)=>{},O=(F)=>(J,G)=>async(L)=>{if(!b.HttpRequest.isInstance(L.request))return J(L);let V=w.getSmithyContext(G).selectedHttpAuthScheme;if(!V)throw Error("No HttpAuthScheme was selected: unable to sign request");let{httpAuthOption:{signingProperties:W={}},identity:Z,signer:Y}=V,U=await J({...L,request:await Y.sign(L.request,Z,W)}).catch((Y.errorHandler||m)(W));return(Y.successHandler||u)(U.response,W),U},I={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:!0,relation:"after",toMiddleware:"retryMiddleware"},c=(F)=>({applyToStack:(J)=>{J.addRelativeTo(O(),I)}}),a=(F)=>{if(typeof F==="function")return F;let J=Promise.resolve(F);return()=>J},d=async(F,J,G,L=(V)=>V,...Q)=>{let V=new F(G);return V=L(V)??V,await J.send(V,...Q)};function g(F,J,G,L,Q){return async function*(W,Z,...Y){let U=Z,$=W.startingToken??U[G],X=!0,B;while(X){if(U[G]=$,Q)U[Q]=U[Q]??W.pageSize;if(W.client instanceof F)B=await d(J,W.client,Z,W.withCommand,...Y);else throw Error(`Invalid client, expected instance of ${F.name}`);yield B;let D=$;$=p(B,L),X=!!($&&(!W.stopOnSameToken||$!==D))}return}}var p=(F,J)=>{let G=F,L=J.split(".");for(let Q of L){if(!G||typeof G!=="object")return;G=G[Q]}return G};function s(F,J,G){if(!F.__smithy_context)F.__smithy_context={features:{}};else if(!F.__smithy_context.features)F.__smithy_context.features={};F.__smithy_context.features[J]=G}class E{authSchemes=new Map;constructor(F){for(let J in F){let G=F[J];if(G!==void 0)this.authSchemes.set(J,G)}}getIdentityProvider(F){return this.authSchemes.get(F)}}class _{async sign(F,J,G){if(!G)throw Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing");if(!G.name)throw Error("request could not be signed with `apiKey` since the `name` signer property is missing");if(!G.in)throw Error("request could not be signed with `apiKey` since the `in` signer property is missing");if(!J.apiKey)throw Error("request could not be signed with `apiKey` since the `apiKey` is not defined");let L=b.HttpRequest.clone(F);if(G.in===K.HttpApiKeyAuthLocation.QUERY)L.query[G.name]=J.apiKey;else if(G.in===K.HttpApiKeyAuthLocation.HEADER)L.headers[G.name]=G.scheme?`${G.scheme} ${J.apiKey}`:J.apiKey;else throw Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `"+G.in+"`");return L}}class z{async sign(F,J,G){let L=b.HttpRequest.clone(F);if(!J.token)throw Error("request could not be signed with `token` since the `token` is not defined");return L.headers.Authorization=`Bearer ${J.token}`,L}}class A{async sign(F,J,G){return F}}var q=(F)=>function(G){return S(G)&&G.expiration.getTime()-Date.now()<F},T=300000,r=q(T),S=(F)=>F.expiration!==void 0,o=(F,J,G)=>{if(F===void 0)return;let L=typeof F!=="function"?async()=>Promise.resolve(F):F,Q,V,W,Z=!1,Y=async(U)=>{if(!V)V=L(U);try{Q=await V,W=!0,Z=!1}finally{V=void 0}return Q};if(J===void 0)return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);return Q};return async(U)=>{if(!W||U?.forceRefresh)Q=await Y(U);if(Z)return Q;if(!G(Q))return Z=!0,Q;if(J(Q))return await Y(U),Q;return Q}};n.requestBuilder=b.requestBuilder;n.DefaultIdentityProviderConfig=E;n.EXPIRATION_MS=T;n.HttpApiKeyAuthSigner=_;n.HttpBearerAuthSigner=z;n.NoAuthSigner=A;n.createIsIdentityExpiredFunction=q;n.createPaginator=g;n.doesIdentityRequireRefresh=S;n.getHttpAuthSchemeEndpointRuleSetPlugin=P;n.getHttpAuthSchemePlugin=l;n.getHttpSigningPlugin=c;n.getSmithyContext=f;n.httpAuthSchemeEndpointRuleSetMiddlewareOptions=H;n.httpAuthSchemeMiddleware=j;n.httpAuthSchemeMiddlewareOptions=M;n.httpSigningMiddleware=O;n.httpSigningMiddlewareOptions=I;n.isIdentityExpired=r;n.memoizeIdentityProvider=o;n.normalizeProvider=a;n.setFeature=s});
3
+ export{MF as g_};
@@ -0,0 +1,2 @@
1
+ import{Dk as Q,Ek as I,eS as R,tK as Y,wm as W,zm as P}from"./cli-1.1.21-eray52nd.mjs";import{fha as B,gha as f}from"./cli-1.1.21-r90yap4s.mjs";import{Oja as F,sja as H,tja as J}from"./cli-1.1.21-fyryzam5.mjs";import{yra as $,zna as x}from"./cli-1.1.21-hdc9e0dr.mjs";import{tta as Z}from"./cli-1.1.21-13kr6en7.mjs";import{randomUUID as U}from"crypto";function S(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:h.message,uuid:h.uuid,requestId:void 0,timestamp:new Date().toISOString()}];case"user":return[{type:"user",message:h.message,uuid:h.uuid??U(),timestamp:h.timestamp??new Date().toISOString(),isMeta:h.isSynthetic}];case"system":if(h.subtype==="compact_boundary")return[{type:"system",content:"Conversation compacted",level:"info",subtype:"compact_boundary",compactMetadata:X(h.compact_metadata),uuid:h.uuid,timestamp:new Date().toISOString()}];return[];default:return[]}})}function V(j){let h=j.preservedSegment;return{trigger:j.trigger,pre_tokens:j.preTokens,...h&&{preserved_segment:{head_uuid:h.headUuid,anchor_uuid:h.anchorUuid,tail_uuid:h.tailUuid}}}}function X(j){let h=j.preserved_segment;return{trigger:j.trigger,preTokens:j.pre_tokens,...h&&{preservedSegment:{headUuid:h.head_uuid,anchorUuid:h.anchor_uuid,tailUuid:h.tail_uuid}}}}function r(j){return j.flatMap((h)=>{switch(h.type){case"assistant":return[{type:"assistant",message:{...z(h),stop_details:null},session_id:x(),parent_tool_use_id:null,uuid:h.uuid,error:h.error}];case"user":return[{type:"user",message:h.message,session_id:x(),parent_tool_use_id:null,uuid:h.uuid,timestamp:h.timestamp,isSynthetic:h.isMeta||h.isVisibleInTranscriptOnly,...h.toolUseResult!==void 0?{tool_use_result:h.toolUseResult}:{}}];case"system":if(h.subtype==="compact_boundary"&&h.compactMetadata)return[{type:"system",subtype:"compact_boundary",session_id:x(),uuid:h.uuid,compact_metadata:V(h.compactMetadata)}];if(h.subtype==="local_command"&&(h.content.includes(`<${H}>`)||h.content.includes(`<${J}>`)))return[w(h.content,h.uuid)];return[];default:return[]}})}function w(j,h){let v=B(j).replace(/<local-command-stdout>([\s\S]*?)<\/local-command-stdout>/,"$1").replace(/<local-command-stderr>([\s\S]*?)<\/local-command-stderr>/,"$1").trim();return{type:"assistant",message:{...Y({content:v}).message,stop_details:null},parent_tool_use_id:null,session_id:x(),uuid:h}}function T(j){if(!j)return;return{status:j.status,...j.resetsAt!==void 0&&{resetsAt:j.resetsAt},...j.rateLimitType!==void 0&&{rateLimitType:j.rateLimitType},...j.utilization!==void 0&&{utilization:j.utilization},...j.overageStatus!==void 0&&{overageStatus:j.overageStatus},...j.overageResetsAt!==void 0&&{overageResetsAt:j.overageResetsAt},...j.overageDisabledReason!==void 0&&{overageDisabledReason:j.overageDisabledReason},...j.isUsingOverage!==void 0&&{isUsingOverage:j.isUsingOverage},...j.surpassedThreshold!==void 0&&{surpassedThreshold:j.surpassedThreshold}}}function z(j){let h=j.message.content;if(!Array.isArray(h))return j.message;let v=h.map((q)=>{if(q.type!=="tool_use")return q;if(q.name===Q){let y=W();if(y)return{...q,input:{...q.input,plan:y}}}return q});return{...j.message,content:v}}var G=Z(()=>{$();F();I();f();R();P()});
2
+ export{S as Se,V as Te,X as Ue,r as Ve,w as We,T as Xe,G as Ye};
@@ -0,0 +1,24 @@
1
+ import{Wb as qY}from"./cli-1.1.21-srd8n2bc.mjs";import{Nc as LY,Qc as rQ}from"./cli-1.1.21-0mn9qshg.mjs";import{hi as X0,ii as p6}from"./cli-1.1.21-ev8srpeg.mjs";import{Ji as IY,Ki as J6}from"./cli-1.1.21-nh0wz4ab.mjs";import{$A as jY,$m as EZ,$v as pZ,$x as M0,AC as H6,AK as TY,AS as uY,BG as I0,Bu as S0,CG as o9,Cu as GQ,DO as BY,DQ as L6,Du as JY,ES as zY,Eu as lQ,FO as iQ,Fu as FY,GB as MY,HC as RY,HK as fY,HS as vY,IB as G6,IC as N6,It as F0,Jq as iZ,Kp as $9,Kq as cY,LR as kZ,Lp as r6,Lq as FZ,Lt as b0,Mq as PY,Mt as fZ,PR as xZ,Qt as i9,Vv as x0,Wv as u0,Xv as p0,Ym as UZ,Yv as c0,Zv as m0,_L as P9,_v as d0,aB as OY,aM as F9,an as h0,aw as cZ,bB as X6,bw as g0,cw as l0,cy as r9,dw as a0,eM as b9,eS as OZ,ew as n0,fE as NY,fw as i0,gE as nQ,gw as r0,hl as L9,hw as o0,il as u6,iw as s0,jl as z9,jw as t0,kk as KZ,kl as v9,kw as NQ,lM as o6,ll as MZ,mB as HY,ml as Z0,mz as bY,nB as aQ,nk as O0,nl as q9,oI as C0,oQ as hY,ol as XZ,pI as s9,pl as Y0,pz as K6,qE as n,qL as rY,ql as D9,rS as xY,rl as A9,sB as yY,sE as B6,sk as $Y,sl as sY,tL as O6,uB as V6,uK as s,xQ as SY,zC as CY,zQ as kY}from"./cli-1.1.21-eray52nd.mjs";import{IX as Q9,MX as T6}from"./cli-1.1.21-9fnv418t.mjs";import{BY as U0,CY as E0,DY as l9,GY as $0,HY as a9,NY as P0,OY as n9,nY as y0,oY as g9}from"./cli-1.1.21-wermyahx.mjs";import{DZ as m9,H1 as d9,a1 as p,c1 as b}from"./cli-1.1.21-s076czd6.mjs";import{c4 as a,d4 as y,e4 as M,f4 as G0}from"./cli-1.1.21-7bq44n89.mjs";import{g4 as c9}from"./cli-1.1.21-phnkc3q1.mjs";import{Q8 as j6,T7 as iY,l6 as nY,p6 as w6}from"./cli-1.1.21-5bxzgpbd.mjs";import{$ca as gY,J_ as GY,Jca as E9,L_ as gQ,M$ as a6,Pga as w0,Qca as i6,Sga as p9,Taa as n6,Wga as e,Xaa as Y9,Zda as aY,aba as R6,ada as lY,cda as A6,cha as j0,k$ as y9,kea as _6,raa as RZ,taa as x9,waa as U9,x_ as _Z,y_ as k9}from"./cli-1.1.21-g6wtm4qg.mjs";import{nha as N0,vha as B0,zha as S9}from"./cli-1.1.21-r90yap4s.mjs";import{bia as oY,mia as E6}from"./cli-1.1.21-4ka4k9j1.mjs";import{cja as Y,dja as S,eja as HZ,fja as D,gja as yZ}from"./cli-1.1.21-2b91fkp9.mjs";import{Ija as _0,Oja as u9,jja as dY,lja as D6,nja as TZ,qja as L0,rja as z0,sja as v0,tja as q0,vja as D0,wja as A0}from"./cli-1.1.21-fyryzam5.mjs";import{Zja as g,aka as jZ}from"./cli-1.1.21-qj7gkh71.mjs";import{Fka as ZZ,Gka as WY,Kka as PZ,ala as I,dka as Z9,dla as JZ,fka as C6}from"./cli-1.1.21-7q6ajew6.mjs";import{fla as KY,jla as dQ}from"./cli-1.1.21-bc6x1hhj.mjs";import{Ala as O9,Bla as sZ,Hla as gZ,mla as VY}from"./cli-1.1.21-xx8dx3jd.mjs";import{Fna as V0,Gna as eY,Qoa as mY,gqa as J9,hqa as qZ,iqa as H9,kqa as N9,lqa as Q0,nqa as B9,vra as wY,yra as NZ,zna as BZ}from"./cli-1.1.21-hdc9e0dr.mjs";import{pta as H0,sta as SZ,tta as wZ,uta as nZ}from"./cli-1.1.21-13kr6en7.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.21-m167t33s.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.21-zey1mfgx.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.21-cwxbh5pw.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 ka,$Z as la,QY as ma,oQ as na,Z6 as oa,e9 as pa,f0 as qa,VQ as ra,WQ as sa,KQ as ta,WV as ua,TV as va,SV as wa,U6 as xa,aV as ya,e6 as za,FW as Aa,b6 as Ba,M6 as Ca,I6 as Da,d6 as Ea,g6 as Fa,l6 as Ga};
@@ -0,0 +1,2 @@
1
+ import{Fna as z,Jna as F,yra as I}from"./cli-1.1.21-hdc9e0dr.mjs";import{tta as E}from"./cli-1.1.21-13kr6en7.mjs";import{AsyncLocalStorage as J}from"async_hooks";function U(G,H){return D.run(G,H)}function K(){return D.getStore()??F()}function V(){try{return K()}catch{return z()}}function W(){return D.getStore()??z()}var D;var M=E(()=>{I();D=new J});var Y="command-name",Z="command-message",$="command-args",j="bash-input",q="bash-stdout",B="bash-stderr",L="local-command-stdout",R="local-command-stderr",_="local-command-caveat",b="tick",x="task-notification",A="task-id",T="tool-use-id",k="task-type",p="output-file",u="status",v="summary",y="worktree",f="worktreePath",C="worktreeBranch",S="remote-review",O="remote-review-progress",m="teammate-message",g="channel",h="fork-boilerplate",l="Your directive: ",w,c;var N=E(()=>{w=["help","-h","--help"],c=["list","show","display","current","view","get","check","describe","print","version","about","status","?"]});
2
+ export{U as hja,K as ija,V as jja,W as kja,M as lja,Y as mja,Z as nja,$ as oja,j as pja,q as qja,B as rja,L as sja,R as tja,_ as uja,b as vja,x as wja,A as xja,T as yja,k as zja,p as Aja,u as Bja,v as Cja,y as Dja,f as Eja,C as Fja,S as Gja,O as Hja,m as Ija,g as Jja,h as Kja,l as Lja,w as Mja,c as Nja,N as Oja};
@@ -0,0 +1,3 @@
1
+ import{Pg as p,Qg as Aq}from"./cli-1.1.21-z008y1nv.mjs";import{JT as bq,LS as l,NS as Rq,xT as a}from"./cli-1.1.21-eray52nd.mjs";import{DZ as Zq,H1 as yq,a1 as j,c1 as K,w1 as c}from"./cli-1.1.21-s076czd6.mjs";import{C2 as e,x2 as t,z2 as L}from"./cli-1.1.21-2cqbdmfj.mjs";import{d4 as B,e4 as M,f4 as S}from"./cli-1.1.21-7bq44n89.mjs";import{g4 as Yq}from"./cli-1.1.21-phnkc3q1.mjs";import{F4 as $,G4 as Gq}from"./cli-1.1.21-mqxc9x6p.mjs";import{O_ as y,Q_ as o,Taa as s,waa as m}from"./cli-1.1.21-g6wtm4qg.mjs";import{jja as w,lja as r}from"./cli-1.1.21-fyryzam5.mjs";import{ala as U,dla as n}from"./cli-1.1.21-7q6ajew6.mjs";import{Ala as D,Hla as Xq}from"./cli-1.1.21-xx8dx3jd.mjs";import{yra as i,zna as T}from"./cli-1.1.21-hdc9e0dr.mjs";import{pta as I,tta as h}from"./cli-1.1.21-13kr6en7.mjs";import{readdir as qq}from"fs/promises";import{join as zq}from"path";function _(){let H=[process.argv[1]||"",process.execPath||""],q=["/build-ant/","/build-ant-native/","/build-external/","/build-external-native/"];return H.some((z)=>q.some((Q)=>z.includes(Q)))}function Jq(H){let q=_()?"claude-dev":"claude",z=new URL(`${q}://resume`);return z.searchParams.set("session",H),z.searchParams.set("cwd",w()),z.toString()}async function g(){if(_())return!0;let H=process.platform;if(H==="darwin")return m("/Applications/Claude.app");else if(H==="linux"){let{code:q,stdout:z}=await y("xdg-mime",["query","default","x-scheme-handler/claude"]);return q===0&&z.trim().length>0}else if(H==="win32"){let{code:q}=await y("reg",["query","HKEY_CLASSES_ROOT\\claude","/ve"]);return q===0}return!1}async function Qq(){let H=process.platform;if(H==="darwin"){let{code:q,stdout:z}=await y("defaults",["read","/Applications/Claude.app/Contents/Info.plist","CFBundleShortVersionString"]);if(q!==0)return null;let Q=z.trim();return Q.length>0?Q:null}else if(H==="win32"){let q=process.env.LOCALAPPDATA;if(!q)return null;let z=zq(q,"AnthropicClaude");try{let Y=(await qq(z)).filter((W)=>W.startsWith("app-")).map((W)=>W.slice(4)).filter((W)=>V.coerce(W)!==null).sort((W,P)=>{let A=V.coerce(W),R=V.coerce(P);return A.compare(R)});return Y.length>0?Y[Y.length-1]:null}catch{return null}}return null}async function v(){if(!await g())return{status:"not-installed"};let q;try{q=await Qq()}catch{return{status:"ready",version:"unknown"}}if(!q)return{status:"ready",version:"unknown"};let z=V.coerce(q);if(!z||!L(z.version,Hq))return{status:"version-too-old",version:q};return{status:"ready",version:q}}async function Wq(H){let q=process.platform;if(U(`Opening deep link: ${H}`),q==="darwin"){if(_()){let{code:Q}=await y("osascript",["-e",`tell application "Electron" to open location "${H}"`]);return Q===0}let{code:z}=await y("open",[H]);return z===0}else if(q==="linux"){let{code:z}=await y("xdg-open",[H]);return z===0}else if(q==="win32"){let{code:z}=await y("cmd",["/c","start","",H]);return z===0}return!1}async function k(){let H=T();if(!await g())return{success:!1,error:"Claude Desktop is not installed. Install it from https://claude.ai/download"};let z=Jq(H);if(!await Wq(z))return{success:!1,error:"Failed to open Claude Desktop. Please try opening it manually.",deepLinkUrl:z};return{success:!0,deepLinkUrl:z}}var V,Hq="1.1.2396";var x=h(()=>{i();r();n();o();s();e();V=I(t(),1)});function Vq(){switch(process.platform){case"win32":return"https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";default:return"https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect"}}function kq(H){let q=d.c(20),{onDone:z}=H,[Q,Y]=G.useState("checking"),[W,P]=G.useState(null),[A,R]=G.useState(""),b;if(q[0]!==W||q[1]!==z||q[2]!==Q)b=(J)=>{if(Q==="error"){z(W??"Unknown error",{display:"system"});return}if(Q==="prompt-download"){if(J==="y"||J==="Y")$(Vq()).catch(Kq),z(`Starting download. Re-run /desktop once you’ve installed the app.
2
+ Learn more at ${u}`,{display:"system"});else if(J==="n"||J==="N")z(`The desktop app is required for /desktop. Learn more at ${u}`,{display:"system"})}},q[0]=W,q[1]=z,q[2]=Q,q[3]=b;else b=q[3];c(b);let O,E;if(q[4]!==z)O=()=>{(async function(){Y("checking");let X=await v();if(X.status==="not-installed"){R("Claude Desktop is not installed."),Y("prompt-download");return}if(X.status==="version-too-old"){R(`Claude Desktop needs to be updated (found v${X.version}, need v1.1.2396+).`),Y("prompt-download");return}Y("flushing"),await a(),Y("opening");let f=await k();if(!f.success){P(f.error??"Failed to open Claude Desktop"),Y("error");return}Y("success"),setTimeout(Bq,500,z)})().catch((Z)=>{P(D(Z)),Y("error")})},E=[z],q[4]=z,q[5]=O,q[6]=E;else O=q[5],E=q[6];if(G.useEffect(O,E),Q==="error"){let J;if(q[7]!==W)J=M(K,{color:"error",children:["Error: ",W]}),q[7]=W,q[8]=J;else J=q[8];let Z;if(q[9]===Symbol.for("react.memo_cache_sentinel"))Z=B(K,{dimColor:!0,children:"Press any key to continue…"}),q[9]=Z;else Z=q[9];let X;if(q[10]!==J)X=M(j,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[10]=J,q[11]=X;else X=q[11];return X}if(Q==="prompt-download"){let J;if(q[12]!==A)J=B(K,{children:A}),q[12]=A,q[13]=J;else J=q[13];let Z;if(q[14]===Symbol.for("react.memo_cache_sentinel"))Z=B(K,{children:"Download now? (y/n)"}),q[14]=Z;else Z=q[14];let X;if(q[15]!==J)X=M(j,{flexDirection:"column",paddingX:2,children:[J,Z]}),q[15]=J,q[16]=X;else X=q[16];return X}let C;if(q[17]===Symbol.for("react.memo_cache_sentinel"))C={checking:"Checking for Claude Desktop…",flushing:"Saving session…",opening:"Opening Claude Desktop…",success:"Opening in Claude Desktop…"},q[17]=C;else C=q[17];let N=C[Q],F;if(q[18]!==N)F=B(p,{message:N}),q[18]=N,q[19]=F;else F=q[19];return F}async function Bq(H){H("Session transferred to Claude Desktop",{display:"system"}),await l(0,"other")}function Kq(){}var d,G,u="https://clau.de/desktop";var Pq=h(()=>{yq();Gq();x();Xq();Rq();bq();Aq();S();d=I(Zq(),1),G=I(Yq(),1)});
3
+ export{kq as Ng,Pq as Og};