claude-code-best 1.3.7 → 1.4.1

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 (378) hide show
  1. package/README.md +1 -0
  2. package/dist/{chunk-cdgv0k77.js → chunk-00vfg42v.js} +61 -59
  3. package/dist/{chunk-6ex0f5ej.js → chunk-01ysfcs0.js} +6 -8
  4. package/dist/{chunk-1vzb650a.js → chunk-04ws37gv.js} +6 -8
  5. package/dist/{chunk-7etmzq13.js → chunk-0b0fq180.js} +27 -27
  6. package/dist/{chunk-drsh1vv8.js → chunk-0cs46nj6.js} +63 -62
  7. package/dist/chunk-0fzcyd0s.js +116 -0
  8. package/dist/{chunk-7nebst32.js → chunk-0knhp7v5.js} +2 -2
  9. package/dist/{chunk-n42nvr59.js → chunk-0xth516w.js} +14 -14
  10. package/dist/{chunk-egcx83tp.js → chunk-0y6h57c5.js} +6 -6
  11. package/dist/{chunk-d267stxj.js → chunk-0z0m6mm5.js} +1 -1
  12. package/dist/{chunk-y10byvag.js → chunk-196qs1ty.js} +30 -29
  13. package/dist/chunk-1d39h7zf.js +57 -0
  14. package/dist/{chunk-antr836n.js → chunk-1k3ahc24.js} +59 -57
  15. package/dist/{chunk-5scrgrwv.js → chunk-1nhx3qpn.js} +2 -2
  16. package/dist/{chunk-zv5yt0g4.js → chunk-1qbype3e.js} +9 -9
  17. package/dist/{chunk-bkzs71af.js → chunk-1r70yykn.js} +3 -3
  18. package/dist/{chunk-tvnrwrg3.js → chunk-1x1wb96n.js} +62 -60
  19. package/dist/{chunk-j44ngncb.js → chunk-1yscv3t1.js} +7 -9
  20. package/dist/{chunk-zhe3rws3.js → chunk-27ppq985.js} +7 -9
  21. package/dist/{chunk-kbshq7zc.js → chunk-28a1ffp7.js} +59 -56
  22. package/dist/{chunk-m95fj0wm.js → chunk-2ag1bjqx.js} +4 -4
  23. package/dist/{chunk-2fx2x8qp.js → chunk-2cz1rwf3.js} +22 -21
  24. package/dist/{chunk-v1chtgnf.js → chunk-2m6jk78c.js} +1 -1
  25. package/dist/{chunk-nzchm0f2.js → chunk-2mhgyhns.js} +1 -1
  26. package/dist/{chunk-n5pe3jtt.js → chunk-2pjptqfa.js} +2 -2
  27. package/dist/{chunk-5r3wgr44.js → chunk-2qfb22ax.js} +29 -1399
  28. package/dist/{chunk-n0rn505k.js → chunk-2rcaw0yh.js} +4 -4
  29. package/dist/{chunk-wp9nwczx.js → chunk-2rtngpm1.js} +8 -10
  30. package/dist/{chunk-s2cwz71x.js → chunk-2tzmvvew.js} +60 -57
  31. package/dist/{chunk-ydraa9ey.js → chunk-2xrp0wp0.js} +70 -68
  32. package/dist/{chunk-jty4xkhc.js → chunk-313nbvgt.js} +5 -5
  33. package/dist/chunk-3e2a6c4k.js +33 -0
  34. package/dist/{chunk-hbf3y5tw.js → chunk-3fnhdnj6.js} +22 -21
  35. package/dist/{chunk-qahkzpj6.js → chunk-3g6kvmg4.js} +6 -8
  36. package/dist/{chunk-kz13d2bs.js → chunk-3mapywg0.js} +2 -2
  37. package/dist/{chunk-tw4tjc73.js → chunk-3rk983b5.js} +1 -1
  38. package/dist/chunk-3vc6mx77.js +119 -0
  39. package/dist/{chunk-nsxw7en4.js → chunk-3yzyedet.js} +23 -22
  40. package/dist/{chunk-1q82ecz5.js → chunk-40w1c21c.js} +58 -55
  41. package/dist/{chunk-bnvd1jc1.js → chunk-4brmjvph.js} +4 -4
  42. package/dist/{chunk-zwrt0s3s.js → chunk-4er46edn.js} +69 -141
  43. package/dist/{chunk-fsex4yt2.js → chunk-4h9ek408.js} +7 -9
  44. package/dist/chunk-4mdqm8b7.js +115 -0
  45. package/dist/{chunk-9p95042q.js → chunk-4qjh89qr.js} +1 -1
  46. package/dist/chunk-506gq3zq.js +104 -0
  47. package/dist/{chunk-w6rh4zpx.js → chunk-5158j5ph.js} +8 -10
  48. package/dist/{chunk-d969b8ne.js → chunk-524xgs6r.js} +7 -7
  49. package/dist/{chunk-76hrbqgr.js → chunk-52rnpp5t.js} +16 -18
  50. package/dist/{chunk-0a2qnsbr.js → chunk-54bwa086.js} +61 -57
  51. package/dist/{chunk-qn4cbm38.js → chunk-5famfv4a.js} +23 -22
  52. package/dist/{chunk-kmgp6prw.js → chunk-5khwvj1z.js} +112 -5
  53. package/dist/{chunk-9byk2a4b.js → chunk-5m7095hq.js} +25 -25
  54. package/dist/{chunk-g14ex9z0.js → chunk-5mv51kkx.js} +59 -56
  55. package/dist/{chunk-p2sww3pd.js → chunk-5vqwq0f9.js} +59 -56
  56. package/dist/{chunk-s26mv9yh.js → chunk-5zbp0a48.js} +7 -8
  57. package/dist/{chunk-pvtzf6vs.js → chunk-60xm3v9r.js} +3 -3
  58. package/dist/chunk-6356tyx5.js +32 -0
  59. package/dist/{chunk-1vzaw5f6.js → chunk-66s9m31j.js} +23 -22
  60. package/dist/{chunk-c1cm8km0.js → chunk-6ebb5ym0.js} +58 -55
  61. package/dist/{chunk-yp2yx0qj.js → chunk-6f0296p8.js} +5 -7
  62. package/dist/{chunk-m2cskgz4.js → chunk-6gftrxn5.js} +86 -81
  63. package/dist/{chunk-y95se10r.js → chunk-6h1reb8m.js} +22 -21
  64. package/dist/{chunk-fy6tp8zj.js → chunk-6pb9n4m3.js} +2 -2
  65. package/dist/{chunk-ardzdtan.js → chunk-6y2wszkc.js} +1 -1
  66. package/dist/{chunk-4ydmya8m.js → chunk-6y8e5c85.js} +24 -22
  67. package/dist/{chunk-rshk7m9c.js → chunk-718k4vsj.js} +62 -60
  68. package/dist/{chunk-tm4w23dp.js → chunk-72091jsk.js} +1 -1
  69. package/dist/{chunk-xtaw765g.js → chunk-760hjt0a.js} +3 -3
  70. package/dist/chunk-77dnrj5q.js +119 -0
  71. package/dist/{chunk-gz4r3k7a.js → chunk-77w9ffyy.js} +5 -5
  72. package/dist/{chunk-xaw4scep.js → chunk-78009jh9.js} +2 -2
  73. package/dist/{chunk-6xr5mayh.js → chunk-79vh2q13.js} +58 -55
  74. package/dist/{chunk-p7d5ms03.js → chunk-7ba2qns8.js} +22 -21
  75. package/dist/{chunk-6wrs3ahh.js → chunk-7dy65axk.js} +22 -21
  76. package/dist/{chunk-n35gnb9g.js → chunk-7hmy36fh.js} +121 -2
  77. package/dist/{chunk-erxndz83.js → chunk-7kfps7yt.js} +7 -9
  78. package/dist/chunk-7r3d9nyj.js +113 -0
  79. package/dist/{chunk-dne2ghq6.js → chunk-7yfxza07.js} +16 -22
  80. package/dist/chunk-7zw138yt.js +32 -0
  81. package/dist/{chunk-6ye6d9gw.js → chunk-81dxa3fd.js} +1 -1
  82. package/dist/{chunk-540608wh.js → chunk-86jhenxk.js} +66 -57
  83. package/dist/chunk-88mfsn97.js +115 -0
  84. package/dist/{chunk-zy4fsy90.js → chunk-8gs07wbw.js} +18 -18
  85. package/dist/{chunk-4ayhftnk.js → chunk-8h4gpg9r.js} +83 -119
  86. package/dist/{chunk-brnc96x6.js → chunk-8h7bg6q9.js} +203 -24
  87. package/dist/chunk-8mspr5sg.js +47 -0
  88. package/dist/{chunk-62dx37pf.js → chunk-8pskaz4y.js} +9 -11
  89. package/dist/{chunk-sn3wbs2w.js → chunk-8xbwczap.js} +58 -55
  90. package/dist/{chunk-tw2wjsnb.js → chunk-8xsjtkh4.js} +4 -4
  91. package/dist/{chunk-ky85ntn8.js → chunk-8y0ghcs4.js} +69 -66
  92. package/dist/chunk-8zzqydag.js +101 -0
  93. package/dist/{chunk-cpvn0j86.js → chunk-924n94wb.js} +22 -21
  94. package/dist/{chunk-0asd58w2.js → chunk-92p2k7yk.js} +11 -11
  95. package/dist/{chunk-qvywetwr.js → chunk-93cd0z7w.js} +66 -64
  96. package/dist/{chunk-db82mfh9.js → chunk-97svwq59.js} +73 -71
  97. package/dist/{chunk-3j857x3k.js → chunk-99cjjht1.js} +60 -58
  98. package/dist/{chunk-pedmqmrf.js → chunk-9awawyvh.js} +6 -6
  99. package/dist/{chunk-22rs73mh.js → chunk-9b6wqcyk.js} +60 -57
  100. package/dist/{chunk-cxf74p1t.js → chunk-9datyj43.js} +2 -2
  101. package/dist/{chunk-n1pa72ns.js → chunk-9qh5f9r3.js} +7 -12
  102. package/dist/{chunk-vb6w46m9.js → chunk-9revwk5g.js} +59 -56
  103. package/dist/{chunk-g71q1n7x.js → chunk-a0m994d6.js} +58 -55
  104. package/dist/{chunk-ftajx4gw.js → chunk-a0qhdfct.js} +49 -160
  105. package/dist/{chunk-0xq2bfvv.js → chunk-a5w8nyhg.js} +2 -2
  106. package/dist/{chunk-ms9225af.js → chunk-a85wqwq4.js} +58 -55
  107. package/dist/{chunk-3c81vb6k.js → chunk-a92eevfn.js} +6 -8
  108. package/dist/{chunk-2katyzq9.js → chunk-ab6gc90x.js} +3 -5
  109. package/dist/{chunk-j50zvssc.js → chunk-ad6rg8vz.js} +5 -5
  110. package/dist/{chunk-z7svjppe.js → chunk-admwpsa6.js} +10 -14
  111. package/dist/{chunk-v081mpyx.js → chunk-ahexmj4s.js} +24 -26
  112. package/dist/{chunk-7z0078sp.js → chunk-att0rknb.js} +2 -2
  113. package/dist/{chunk-prgsmrmy.js → chunk-axenqvc8.js} +2 -2
  114. package/dist/{chunk-mfzgqp0c.js → chunk-azq1qstz.js} +10 -14
  115. package/dist/{chunk-zajs1j2b.js → chunk-b125aa22.js} +59 -57
  116. package/dist/{chunk-9f01qpne.js → chunk-b4wfv4fx.js} +73 -71
  117. package/dist/{chunk-ns3babbs.js → chunk-b5wxetbv.js} +224 -1
  118. package/dist/chunk-b62vj92a.js +94 -0
  119. package/dist/{chunk-9v5bwvbm.js → chunk-b6drr9se.js} +63 -61
  120. package/dist/chunk-b7kfr260.js +168 -0
  121. package/dist/chunk-b9pqgq8z.js +37 -0
  122. package/dist/{chunk-c8rgc3hw.js → chunk-bevwqet9.js} +66 -64
  123. package/dist/{chunk-m2rx2dtd.js → chunk-bgf5zvvv.js} +91 -89
  124. package/dist/{chunk-fye86v7m.js → chunk-bq8zdg7m.js} +58 -55
  125. package/dist/chunk-bww2h6d4.js +114 -0
  126. package/dist/{chunk-m83vaktc.js → chunk-bx165r58.js} +1 -1
  127. package/dist/{chunk-4q5a5mjb.js → chunk-c092k38b.js} +3532 -1684
  128. package/dist/{chunk-163379k5.js → chunk-c0avjkfn.js} +58 -55
  129. package/dist/{chunk-ermvk1xn.js → chunk-c3s22pgw.js} +61 -58
  130. package/dist/{chunk-zahg0adp.js → chunk-c4g5qaey.js} +5 -5
  131. package/dist/{chunk-f6wypwa6.js → chunk-c6nthjxa.js} +6 -4
  132. package/dist/{chunk-wmd0v561.js → chunk-c7d1acex.js} +5 -7
  133. package/dist/{chunk-wmbpegg3.js → chunk-c7t69jmn.js} +1 -1
  134. package/dist/{chunk-vm0b9vaz.js → chunk-cg3bb5pe.js} +9 -9
  135. package/dist/{chunk-m8v1x99r.js → chunk-chzfw06n.js} +3 -5
  136. package/dist/chunk-cm2xfg7q.js +1394 -0
  137. package/dist/{chunk-4yxd0e7k.js → chunk-crj9bjh5.js} +58 -55
  138. package/dist/{chunk-v4nrk2f9.js → chunk-cstkqpd5.js} +7 -8
  139. package/dist/{chunk-3nwsgn73.js → chunk-ctj2ehwz.js} +59 -56
  140. package/dist/{chunk-mcbqmbp2.js → chunk-cwwfyvbq.js} +6 -4
  141. package/dist/{chunk-9nddm5c7.js → chunk-cxf9amp4.js} +2 -3
  142. package/dist/chunk-cxmyg49v.js +104 -0
  143. package/dist/{chunk-5wb5ym2h.js → chunk-cy1z66c2.js} +3 -5
  144. package/dist/{chunk-nbzntnkz.js → chunk-d2q17m4k.js} +60 -58
  145. package/dist/{chunk-ymtkahxp.js → chunk-d2wzkwws.js} +69 -66
  146. package/dist/{chunk-x4t0n8t3.js → chunk-d4qdesrx.js} +3 -4
  147. package/dist/chunk-d4zyytan.js +3802 -0
  148. package/dist/{chunk-8q4yg5pk.js → chunk-d57t992t.js} +9 -96
  149. package/dist/{chunk-g2tmm7k7.js → chunk-dafnbqhh.js} +76 -74
  150. package/dist/{chunk-tjbjxrqz.js → chunk-dfcm57ek.js} +6 -6
  151. package/dist/{chunk-ynjbppdn.js → chunk-dgnwk906.js} +60 -58
  152. package/dist/{chunk-7gxyarah.js → chunk-dhwpmz98.js} +61 -58
  153. package/dist/{chunk-yevbmk5g.js → chunk-djzvjzdg.js} +3 -3
  154. package/dist/chunk-dm5e2sj0.js +187 -0
  155. package/dist/{chunk-145d3809.js → chunk-dnpy3zcs.js} +63 -60
  156. package/dist/{chunk-h7ffkxg4.js → chunk-drvfxfe5.js} +26 -25
  157. package/dist/{chunk-c14sp904.js → chunk-dv4dsh0t.js} +7 -7
  158. package/dist/{chunk-9ejadhq8.js → chunk-dyp88vca.js} +64 -62
  159. package/dist/{chunk-xfft38wf.js → chunk-dytg8n15.js} +12 -12
  160. package/dist/{chunk-j3ctqpsn.js → chunk-e1bt4m2g.js} +2 -2
  161. package/dist/{chunk-vvm5az9j.js → chunk-e23snepr.js} +3 -3
  162. package/dist/{chunk-hgfw7nx2.js → chunk-e6sqr0av.js} +58 -55
  163. package/dist/{chunk-v7xwthvg.js → chunk-e9eyqwk5.js} +405 -283
  164. package/dist/{chunk-2wvxqpfc.js → chunk-efkjha6m.js} +8 -9
  165. package/dist/{chunk-3s2gjp2n.js → chunk-ekpm458a.js} +67 -65
  166. package/dist/{chunk-vf3etxnx.js → chunk-emxnq07z.js} +1 -1
  167. package/dist/{chunk-c4x4fb6d.js → chunk-erkssp71.js} +58 -55
  168. package/dist/chunk-es08rrda.js +112 -0
  169. package/dist/{chunk-c209ascy.js → chunk-ewxpkqxt.js} +9 -9
  170. package/dist/{chunk-1wykga1n.js → chunk-f25pnrvx.js} +4 -6
  171. package/dist/chunk-f2y3t9hh.js +295 -0
  172. package/dist/{chunk-427mfnyx.js → chunk-f31b63fd.js} +1 -1
  173. package/dist/{chunk-2dsqf7sp.js → chunk-f57cvf1d.js} +1 -1
  174. package/dist/{chunk-ry1jb15g.js → chunk-f872fekv.js} +58 -55
  175. package/dist/{chunk-r7s0jwb1.js → chunk-faey4sqw.js} +59 -56
  176. package/dist/{chunk-40ax4h54.js → chunk-fbbjchdz.js} +60 -58
  177. package/dist/{chunk-fskf0b3x.js → chunk-fbedkst6.js} +6 -8
  178. package/dist/{chunk-9msn8xwq.js → chunk-fckykghd.js} +2 -3
  179. package/dist/{chunk-ztrgnar4.js → chunk-fdbvcs34.js} +7 -9
  180. package/dist/{chunk-667f3w39.js → chunk-ffpz33kr.js} +23 -22
  181. package/dist/{chunk-0fpkjw2j.js → chunk-ffvja87d.js} +8 -10
  182. package/dist/{chunk-r6gyed9y.js → chunk-fjpdtr6s.js} +9 -9
  183. package/dist/{chunk-8y1zs48n.js → chunk-fnpd8cnq.js} +1 -1
  184. package/dist/{chunk-eef1npre.js → chunk-fxpsa506.js} +4 -6
  185. package/dist/{chunk-2z6bv21c.js → chunk-fxrrsvnw.js} +23 -27
  186. package/dist/chunk-fz4wmnm6.js +157 -0
  187. package/dist/{chunk-2c4jgf3n.js → chunk-g3dbfhxa.js} +5 -7
  188. package/dist/{chunk-s13m8efn.js → chunk-g86dg6h5.js} +5 -5
  189. package/dist/{chunk-h7mpryyc.js → chunk-gc4x22mt.js} +59 -56
  190. package/dist/{chunk-5s1bctjb.js → chunk-gfxebcsw.js} +28 -28
  191. package/dist/chunk-ghbtnfr2.js +117 -0
  192. package/dist/{chunk-gpk30ekc.js → chunk-gqftywrx.js} +23 -22
  193. package/dist/{chunk-z2aps7d9.js → chunk-gwrngewt.js} +3 -3
  194. package/dist/{chunk-psp1n9vg.js → chunk-gxfbedta.js} +1 -1
  195. package/dist/{chunk-fq1j9zm0.js → chunk-gybj15eh.js} +2 -3
  196. package/dist/chunk-h0vzd5vg.js +1012 -0
  197. package/dist/{chunk-0ahxmrws.js → chunk-h14dkna4.js} +23 -22
  198. package/dist/{chunk-x42kc5wj.js → chunk-h26xfh6d.js} +22 -21
  199. package/dist/{chunk-nwgkkhk7.js → chunk-h2vfn30x.js} +4 -4
  200. package/dist/{chunk-mh8752jz.js → chunk-h37gar4j.js} +1 -1
  201. package/dist/{chunk-n612gr22.js → chunk-h4k9kgjw.js} +59 -56
  202. package/dist/{chunk-1av0kkwh.js → chunk-hc1tkwfn.js} +3 -5
  203. package/dist/{chunk-h5dk6k0g.js → chunk-hf086e2e.js} +58 -55
  204. package/dist/{chunk-66j7fn6z.js → chunk-hhwqk5as.js} +58 -55
  205. package/dist/{chunk-e8zmtbry.js → chunk-hjw03d0k.js} +60 -58
  206. package/dist/{chunk-e1t8jh0t.js → chunk-hkh1vbm6.js} +58 -55
  207. package/dist/{chunk-81dq52pk.js → chunk-hnxmafvc.js} +2 -2
  208. package/dist/{chunk-cj8m3h8r.js → chunk-hqpzpr71.js} +2 -2
  209. package/dist/{chunk-s3aygngf.js → chunk-hrz2d28r.js} +62 -60
  210. package/dist/chunk-hxb3js2g.js +91 -0
  211. package/dist/{chunk-j06y02aw.js → chunk-hxc8e6wd.js} +1 -1
  212. package/dist/chunk-hyy2fcba.js +351 -0
  213. package/dist/{chunk-dvf5921w.js → chunk-hyz9tx05.js} +15 -17
  214. package/dist/{chunk-ag3hbrat.js → chunk-j34h8cfj.js} +23 -22
  215. package/dist/{chunk-b31v41mz.js → chunk-j5w0b4d2.js} +23 -22
  216. package/dist/{chunk-2tcznfv0.js → chunk-j66ragf9.js} +1 -1
  217. package/dist/chunk-j7b884wk.js +397 -0
  218. package/dist/{chunk-35xyzbd2.js → chunk-ja21qbpj.js} +65 -62
  219. package/dist/{chunk-dchgtage.js → chunk-ja3eb4h9.js} +3 -3
  220. package/dist/{chunk-2crz81z3.js → chunk-jac470kz.js} +1 -1
  221. package/dist/{chunk-9nydmbm4.js → chunk-jaqtnpbt.js} +2 -2
  222. package/dist/{chunk-e03zrq9n.js → chunk-jc5dtv57.js} +60 -58
  223. package/dist/{chunk-jg7na104.js → chunk-jda4vjad.js} +58 -55
  224. package/dist/{chunk-drnxbc1w.js → chunk-jeqt4y47.js} +2 -2
  225. package/dist/{chunk-r7r3jm3y.js → chunk-jga4j8jp.js} +59 -57
  226. package/dist/{chunk-58rg6rn2.js → chunk-jge10dbd.js} +4 -6
  227. package/dist/{chunk-9k2c5sxb.js → chunk-jhbj5mnf.js} +58 -55
  228. package/dist/{chunk-zh6xf1fd.js → chunk-jje04m6z.js} +2 -2
  229. package/dist/{chunk-qkrenskm.js → chunk-jnfd01as.js} +9 -11
  230. package/dist/chunk-jpbkdg47.js +131 -0
  231. package/dist/{chunk-xcq3rdb0.js → chunk-jwb3bqa7.js} +27 -31
  232. package/dist/{chunk-s1p2w5a5.js → chunk-jy4dnnjk.js} +5 -5
  233. package/dist/{chunk-c9p5eyxf.js → chunk-k27dq4vd.js} +60 -57
  234. package/dist/{chunk-kmcaa88h.js → chunk-k81zec2p.js} +1 -1
  235. package/dist/{chunk-fxqp3yt4.js → chunk-kb2b4rkg.js} +4 -5
  236. package/dist/{chunk-h6dqpbac.js → chunk-kbsckx2r.js} +3 -3
  237. package/dist/{chunk-451hjtv9.js → chunk-kvezjrjy.js} +58 -55
  238. package/dist/{chunk-zc1s4swn.js → chunk-kw2ymvyv.js} +6 -8
  239. package/dist/{chunk-9jg130e9.js → chunk-kymh4vxw.js} +58 -55
  240. package/dist/{chunk-z66q1nam.js → chunk-kz3q1ce0.js} +58 -55
  241. package/dist/chunk-m089kb0s.js +312 -0
  242. package/dist/{chunk-86tz7yxt.js → chunk-m1efbjqe.js} +58 -55
  243. package/dist/chunk-m1xw79dd.js +1757 -0
  244. package/dist/{chunk-k303kw9v.js → chunk-m365zhp8.js} +59 -56
  245. package/dist/{chunk-0h4sw1v3.js → chunk-m97dyxn0.js} +61 -60
  246. package/dist/{chunk-e4jqbn4d.js → chunk-m9w972ny.js} +2 -4
  247. package/dist/{chunk-eserktyd.js → chunk-mb93ek5j.js} +4 -6
  248. package/dist/{chunk-c96k89rp.js → chunk-mgjc0yj9.js} +59 -57
  249. package/dist/{chunk-qmckdcc4.js → chunk-mh2pdxpc.js} +60 -58
  250. package/dist/{chunk-hnx0eg6x.js → chunk-mkae8zj9.js} +3 -3
  251. package/dist/{chunk-h0s737p0.js → chunk-mmq55gyp.js} +4 -4
  252. package/dist/{chunk-5k4kh5n9.js → chunk-ndrn50x0.js} +59 -57
  253. package/dist/{chunk-0pxmxyxv.js → chunk-ng2xq7ey.js} +3 -3
  254. package/dist/{chunk-gdb6dvba.js → chunk-nsbpzpmf.js} +61 -59
  255. package/dist/{chunk-18mm4jf8.js → chunk-nz7sgbbr.js} +5 -5
  256. package/dist/{chunk-t0b0bas5.js → chunk-nzfwsrd7.js} +3 -3
  257. package/dist/{chunk-rhxtttx1.js → chunk-p3zbzfbn.js} +3 -3
  258. package/dist/{chunk-9tc901nb.js → chunk-p5jssxha.js} +24 -24
  259. package/dist/{chunk-zmpygkz6.js → chunk-p7es39d1.js} +47 -122
  260. package/dist/{chunk-qwj4n799.js → chunk-p7pj6wf8.js} +1 -1
  261. package/dist/{chunk-855katq2.js → chunk-p9f12fp9.js} +60 -57
  262. package/dist/chunk-pb73zgyd.js +55 -0
  263. package/dist/chunk-prpjmapz.js +117 -0
  264. package/dist/{chunk-379rspd7.js → chunk-ps01q3n9.js} +64 -63
  265. package/dist/{chunk-ay9wm3tf.js → chunk-q19p9j0v.js} +5 -5
  266. package/dist/{chunk-536fmbtq.js → chunk-q7e12ymw.js} +4 -4
  267. package/dist/{chunk-w65283w4.js → chunk-qgajfxr7.js} +7 -7
  268. package/dist/{chunk-24qcj0k5.js → chunk-qgnsf30p.js} +24 -23
  269. package/dist/{chunk-xvjdbsfa.js → chunk-qs2atqgy.js} +60 -58
  270. package/dist/chunk-r469z4mx.js +183 -0
  271. package/dist/chunk-r5mqktt5.js +100 -0
  272. package/dist/chunk-r854e43q.js +25 -0
  273. package/dist/{chunk-fx6ghdvg.js → chunk-rbgr86hh.js} +59 -57
  274. package/dist/{chunk-qxv21mcq.js → chunk-rbvawtdz.js} +59 -56
  275. package/dist/chunk-rce8gj2b.js +93 -0
  276. package/dist/{chunk-t0twk3e5.js → chunk-rd2884ff.js} +1 -1
  277. package/dist/{chunk-c2ktjyc0.js → chunk-reqz49y3.js} +336 -1149
  278. package/dist/{chunk-b4twmt0s.js → chunk-rhjb0dgd.js} +24 -23
  279. package/dist/{chunk-bpmw0wp2.js → chunk-rq1nfp7x.js} +60 -58
  280. package/dist/{chunk-qhbchv06.js → chunk-rsr0mksm.js} +61 -59
  281. package/dist/{chunk-txeekahj.js → chunk-rz3rq0gt.js} +4 -6
  282. package/dist/{chunk-14mkqwft.js → chunk-rz69sqyh.js} +70 -68
  283. package/dist/{chunk-gfk81w5r.js → chunk-s2n5kxm0.js} +5 -5
  284. package/dist/{chunk-3b9ar57s.js → chunk-s39ksgef.js} +4 -6
  285. package/dist/{chunk-3er4wswe.js → chunk-s70z817q.js} +197 -196
  286. package/dist/{chunk-5h17d17z.js → chunk-se153zng.js} +1 -1
  287. package/dist/chunk-spqq5qf1.js +116 -0
  288. package/dist/{chunk-xjd32sva.js → chunk-srnstx2s.js} +23 -22
  289. package/dist/{chunk-s9nr589x.js → chunk-sv7afh51.js} +6 -8
  290. package/dist/{chunk-b6whrv9m.js → chunk-swzfr1f5.js} +24 -23
  291. package/dist/{chunk-2h06sph0.js → chunk-t2822cex.js} +63 -60
  292. package/dist/{chunk-h93tjx98.js → chunk-t2re5hhc.js} +125 -119
  293. package/dist/{chunk-r325sbz7.js → chunk-t7e9etws.js} +23 -25
  294. package/dist/{chunk-59mg8c5k.js → chunk-tnx1zk9t.js} +62 -59
  295. package/dist/{chunk-rgpxnjx4.js → chunk-tw24rz1x.js} +11 -13
  296. package/dist/{chunk-r8m19xnp.js → chunk-v038k0we.js} +4 -6
  297. package/dist/chunk-v2qqkqxp.js +116 -0
  298. package/dist/{chunk-fjne3x6c.js → chunk-v4qke3cz.js} +8 -8
  299. package/dist/{chunk-qwa5erw8.js → chunk-v6p3019x.js} +24 -23
  300. package/dist/{chunk-4stgesb0.js → chunk-vatz6gan.js} +25 -27
  301. package/dist/chunk-vfmx405p.js +14 -0
  302. package/dist/{chunk-x639j7py.js → chunk-vnn4x6jw.js} +62 -59
  303. package/dist/{chunk-b4btw5kv.js → chunk-vpe2s4eq.js} +7 -9
  304. package/dist/{chunk-2t5ve6ev.js → chunk-vsbyhpfy.js} +1 -1
  305. package/dist/{chunk-52evx0rm.js → chunk-w0pf4mvz.js} +12 -16
  306. package/dist/chunk-w5j0dhpp.js +14 -0
  307. package/dist/{chunk-vqawqpkx.js → chunk-w7zp9j8v.js} +72 -70
  308. package/dist/{chunk-d2vb6m9e.js → chunk-wd8mqz95.js} +3 -5
  309. package/dist/chunk-wj0c0zfa.js +36 -0
  310. package/dist/{chunk-ps5rsyxe.js → chunk-wqdr8v9x.js} +58 -55
  311. package/dist/{chunk-vpp13z80.js → chunk-wxa2hdfg.js} +2 -2
  312. package/dist/{chunk-kh04yrpx.js → chunk-wy3f5b81.js} +59 -56
  313. package/dist/{chunk-5dn1m1r7.js → chunk-x0ym1db4.js} +2 -4
  314. package/dist/{chunk-d73t8nhj.js → chunk-x1t80e36.js} +39 -39
  315. package/dist/{chunk-08a6n2pp.js → chunk-x63c39tp.js} +5 -7
  316. package/dist/{chunk-q890kpff.js → chunk-x6622cb2.js} +23 -22
  317. package/dist/{chunk-wcxc5m91.js → chunk-x95fhbwq.js} +1 -1
  318. package/dist/{chunk-px27vhxx.js → chunk-x9gbnheg.js} +8 -10
  319. package/dist/{chunk-9gypgvd7.js → chunk-xahpt5e2.js} +3 -5
  320. package/dist/{chunk-y3rg86fk.js → chunk-xct1m4sf.js} +23 -22
  321. package/dist/chunk-xee276gg.js +367 -0
  322. package/dist/{chunk-n8whv674.js → chunk-xfkf8q6w.js} +5 -6
  323. package/dist/chunk-xhesahm0.js +15 -0
  324. package/dist/{chunk-tbma29g4.js → chunk-xk1wdwxq.js} +60 -57
  325. package/dist/{chunk-gwah3f17.js → chunk-xpj4qca4.js} +58 -55
  326. package/dist/{chunk-h6wkvzrd.js → chunk-xqk8srdh.js} +6 -8
  327. package/dist/{chunk-39zy97qa.js → chunk-xsc3ccj0.js} +3 -3
  328. package/dist/{chunk-y82s03p7.js → chunk-xwc8e4yv.js} +2 -2
  329. package/dist/{chunk-8wv29424.js → chunk-xxmxv448.js} +8 -9
  330. package/dist/{chunk-symd8dvh.js → chunk-xz7cf7fa.js} +69 -66
  331. package/dist/{chunk-h7bkf3h2.js → chunk-y3qdyf8r.js} +28 -27
  332. package/dist/{chunk-j5eb93j4.js → chunk-y48wfwm4.js} +1 -517
  333. package/dist/{chunk-6qexrv9a.js → chunk-y7vzcjyn.js} +60 -58
  334. package/dist/chunk-yb03gvd8.js +271 -0
  335. package/dist/chunk-yem3ge7z.js +182 -0
  336. package/dist/{chunk-vmpcmvqq.js → chunk-yf5qwpnp.js} +3 -3
  337. package/dist/{chunk-awwfrm4f.js → chunk-yrnbgtk0.js} +26 -25
  338. package/dist/{chunk-64mwy58c.js → chunk-yrs92qya.js} +5 -7
  339. package/dist/{chunk-y29pdynp.js → chunk-ys6cza46.js} +7 -9
  340. package/dist/{chunk-kcp8svja.js → chunk-yvgmpc5z.js} +5 -5
  341. package/dist/{chunk-3avnvgnv.js → chunk-yxr0yf6h.js} +4 -4
  342. package/dist/{chunk-ar8awa36.js → chunk-yyc1yvnr.js} +59 -57
  343. package/dist/{chunk-kmzv85ze.js → chunk-z0vk43bt.js} +69 -66
  344. package/dist/chunk-z1seyvya.js +110 -0
  345. package/dist/{chunk-2pdcq92c.js → chunk-z6hqga26.js} +3 -4
  346. package/dist/{chunk-5ccpwbk7.js → chunk-z7hv619f.js} +58 -55
  347. package/dist/{chunk-1ez8vf1y.js → chunk-zb0mctxm.js} +6 -6
  348. package/dist/{chunk-49n22kr8.js → chunk-zhyc7npp.js} +58 -55
  349. package/dist/{chunk-9r28w6ye.js → chunk-zttmdag3.js} +1 -1
  350. package/dist/{chunk-p1af059d.js → chunk-zvegtrc4.js} +63 -60
  351. package/dist/{chunk-n2gc23dm.js → chunk-zwsrj2yy.js} +9 -11
  352. package/dist/cli.js +58 -22
  353. package/package.json +12 -4
  354. package/dist/chunk-0731m51q.js +0 -8
  355. package/dist/chunk-2fwze72g.js +0 -24
  356. package/dist/chunk-3ev51j3h.js +0 -117
  357. package/dist/chunk-5cc50ecq.js +0 -116
  358. package/dist/chunk-74v2mh4t.js +0 -40
  359. package/dist/chunk-9b0btjar.js +0 -114
  360. package/dist/chunk-bhvmpf9m.js +0 -113
  361. package/dist/chunk-bzps3qec.js +0 -113
  362. package/dist/chunk-e6nenv5n.js +0 -112
  363. package/dist/chunk-ez958w7j.js +0 -110
  364. package/dist/chunk-fve53rbk.js +0 -22
  365. package/dist/chunk-g5rf37hh.js +0 -116
  366. package/dist/chunk-ga2vcmhy.js +0 -111
  367. package/dist/chunk-k5c76pvm.js +0 -114
  368. package/dist/chunk-npf5eh3g.js +0 -8
  369. package/dist/chunk-ppwjyveh.js +0 -8
  370. package/dist/chunk-t38536jf.js +0 -254
  371. package/dist/chunk-tf8gr3bs.js +0 -112
  372. package/dist/chunk-vam5at9t.js +0 -175
  373. package/dist/chunk-vxnvzfnv.js +0 -233
  374. package/dist/chunk-wef34bk5.js +0 -107
  375. package/dist/chunk-wkjjv1jr.js +0 -1026
  376. package/dist/chunk-wkx2xsed.js +0 -113
  377. package/dist/chunk-x6r4v44b.js +0 -8
  378. package/dist/chunk-xwhmcc3g.js +0 -109
@@ -9,25 +9,21 @@ import {
9
9
  initializeTeammateContextFromSession,
10
10
  recordTipShown,
11
11
  shouldShowDesktopUpsellStartup
12
- } from "./chunk-xcq3rdb0.js";
12
+ } from "./chunk-jwb3bqa7.js";
13
13
  import {
14
14
  useManagePlugins
15
- } from "./chunk-px27vhxx.js";
15
+ } from "./chunk-x9gbnheg.js";
16
+ import {
17
+ BoundedUUIDSet
18
+ } from "./chunk-vpe2s4eq.js";
16
19
  import {
17
- MessageSelector,
18
20
  createCronScheduler,
19
21
  diffMarketplaces,
20
- findUltraplanTriggerPositions,
21
- findUltrareviewTriggerPositions,
22
22
  getCronJitterConfig,
23
- init_MessageSelector,
24
23
  init_cronJitterConfig,
25
24
  init_cronScheduler,
26
- messagesAfterAreOnlySynthetic,
27
- processUserInput,
28
- reconcileMarketplaces,
29
- selectableUserMessagesFilter
30
- } from "./chunk-5r3wgr44.js";
25
+ reconcileMarketplaces
26
+ } from "./chunk-2qfb22ax.js";
31
27
  import {
32
28
  computeStandaloneAgentContext,
33
29
  exitRestoredWorktree,
@@ -35,55 +31,61 @@ import {
35
31
  restoreSessionStateFromLog,
36
32
  restoreWorktreeForResume,
37
33
  skillChangeDetector
38
- } from "./chunk-r6gyed9y.js";
34
+ } from "./chunk-fjpdtr6s.js";
39
35
  import {
40
36
  applySkillImprovement,
41
37
  startBackgroundHousekeeping
42
- } from "./chunk-xfft38wf.js";
43
- import {
44
- BoundedUUIDSet
45
- } from "./chunk-b4btw5kv.js";
38
+ } from "./chunk-dytg8n15.js";
46
39
  import {
47
40
  PermissionDialog,
48
41
  PermissionRequestTitle,
49
42
  init_PermissionDialog,
50
43
  init_PermissionRequestTitle
51
- } from "./chunk-n5pe3jtt.js";
44
+ } from "./chunk-2pjptqfa.js";
52
45
  import {
53
46
  useFpsMetrics
54
- } from "./chunk-5dn1m1r7.js";
47
+ } from "./chunk-x0ym1db4.js";
55
48
  import {
56
49
  consumeEarlyInput
57
50
  } from "./chunk-46fcr28b.js";
51
+ import {
52
+ MessageSelector,
53
+ findUltraplanTriggerPositions,
54
+ findUltrareviewTriggerPositions,
55
+ init_MessageSelector,
56
+ messagesAfterAreOnlySynthetic,
57
+ processUserInput,
58
+ selectableUserMessagesFilter
59
+ } from "./chunk-cm2xfg7q.js";
58
60
  import {
59
61
  exports_useVoice,
60
62
  init_useVoice
61
- } from "./chunk-rgpxnjx4.js";
63
+ } from "./chunk-tw24rz1x.js";
64
+ import {
65
+ init_setup,
66
+ isChromeExtensionInstalled,
67
+ shouldEnableClaudeInChrome
68
+ } from "./chunk-5158j5ph.js";
62
69
  import {
63
70
  ExitFlow,
64
71
  init_ExitFlow
65
- } from "./chunk-qahkzpj6.js";
72
+ } from "./chunk-3g6kvmg4.js";
66
73
  import {
67
74
  init_exportRenderer,
68
75
  renderMessagesToPlainText
69
- } from "./chunk-zc1s4swn.js";
76
+ } from "./chunk-kw2ymvyv.js";
70
77
  import {
71
78
  init_useMergedTools,
72
79
  useMergedTools
73
- } from "./chunk-pvtzf6vs.js";
80
+ } from "./chunk-60xm3v9r.js";
74
81
  import {
75
82
  init_toolPool,
76
83
  mergeAndFilterTools
77
- } from "./chunk-y82s03p7.js";
84
+ } from "./chunk-xwc8e4yv.js";
78
85
  import {
79
86
  init_refresh,
80
87
  refreshActivePlugins
81
- } from "./chunk-wmd0v561.js";
82
- import {
83
- init_setup,
84
- isChromeExtensionInstalled,
85
- shouldEnableClaudeInChrome
86
- } from "./chunk-w6rh4zpx.js";
88
+ } from "./chunk-c7d1acex.js";
87
89
  import {
88
90
  init_autoModeDenials
89
91
  } from "./chunk-0paqc2yw.js";
@@ -92,31 +94,15 @@ import {
92
94
  getFastIconString,
93
95
  init_FastIcon,
94
96
  init_fast
95
- } from "./chunk-j44ngncb.js";
96
- import {
97
- BackgroundTasksDialog,
98
- enterTeammateView,
99
- exitTeammateView,
100
- init_BackgroundTasksDialog,
101
- init_Dialog,
102
- init_taskStatusUtils,
103
- init_teammateViewHelpers,
104
- isTerminalStatus,
105
- shouldHideTasksFooter,
106
- stopOrDismissAgent
107
- } from "./chunk-dne2ghq6.js";
108
- import {
109
- fromSDKCompactMetadata,
110
- init_mappers
111
- } from "./chunk-yevbmk5g.js";
97
+ } from "./chunk-1yscv3t1.js";
112
98
  import {
113
99
  generateSessionName,
114
100
  init_generateSessionName
115
- } from "./chunk-zv5yt0g4.js";
101
+ } from "./chunk-1qbype3e.js";
116
102
  import {
117
103
  generateSessionTitle,
118
104
  init_sessionTitle
119
- } from "./chunk-f6wypwa6.js";
105
+ } from "./chunk-c6nthjxa.js";
120
106
  import {
121
107
  Fuse,
122
108
  init_fuse
@@ -131,7 +117,29 @@ import {
131
117
  useSetPromptOverlay,
132
118
  useSetPromptOverlayDialog,
133
119
  useUnseenDivider
134
- } from "./chunk-4stgesb0.js";
120
+ } from "./chunk-vatz6gan.js";
121
+ import {
122
+ BackgroundTasksDialog,
123
+ enterTeammateView,
124
+ exitTeammateView,
125
+ init_BackgroundTasksDialog,
126
+ init_taskStatusUtils,
127
+ init_teammateViewHelpers,
128
+ isTerminalStatus,
129
+ shouldHideTasksFooter,
130
+ stopOrDismissAgent
131
+ } from "./chunk-7yfxza07.js";
132
+ import {
133
+ fromSDKCompactMetadata,
134
+ init_mappers
135
+ } from "./chunk-djzvjzdg.js";
136
+ import {
137
+ init_Dialog
138
+ } from "./chunk-w5j0dhpp.js";
139
+ import {
140
+ getResolvedLanguage,
141
+ init_language
142
+ } from "./chunk-wj0c0zfa.js";
135
143
  import {
136
144
  MCPConnectionManager,
137
145
  filterPermissionRelayClients,
@@ -139,16 +147,16 @@ import {
139
147
  init_channelPermissions,
140
148
  shortRequestId,
141
149
  truncateForPreview
142
- } from "./chunk-z7svjppe.js";
150
+ } from "./chunk-admwpsa6.js";
143
151
  import {
144
152
  init_pluginAutoupdate,
145
153
  onPluginsAutoUpdated
146
- } from "./chunk-0fpkjw2j.js";
154
+ } from "./chunk-ffvja87d.js";
147
155
  import {
148
156
  CHANNEL_PERMISSION_REQUEST_METHOD,
149
157
  findChannelEntry,
150
158
  init_channelNotification
151
- } from "./chunk-kcp8svja.js";
159
+ } from "./chunk-yvgmpc5z.js";
152
160
  import {
153
161
  $toString,
154
162
  init_server
@@ -156,18 +164,11 @@ import {
156
164
  import {
157
165
  init_useSettingsErrors,
158
166
  useSettingsErrors
159
- } from "./chunk-7z0078sp.js";
167
+ } from "./chunk-att0rknb.js";
160
168
  import {
161
169
  detectUnreachableRules,
162
170
  init_shadowedRuleDetection
163
- } from "./chunk-9p95042q.js";
164
- import {
165
- PromptInputHelpMenu,
166
- init_PromptInputHelpMenu,
167
- init_utils as init_utils3,
168
- isNonSpacePrintable,
169
- isVimModeEnabled
170
- } from "./chunk-c14sp904.js";
171
+ } from "./chunk-4qjh89qr.js";
171
172
  import {
172
173
  editFileInEditor,
173
174
  editPromptInEditor,
@@ -175,11 +176,30 @@ import {
175
176
  init_editor,
176
177
  init_promptEditor,
177
178
  openFileInExternalEditor
178
- } from "./chunk-ay9wm3tf.js";
179
+ } from "./chunk-q19p9j0v.js";
180
+ import {
181
+ PromptInputHelpMenu,
182
+ init_PromptInputHelpMenu,
183
+ init_utils as init_utils3,
184
+ isNonSpacePrintable,
185
+ isVimModeEnabled
186
+ } from "./chunk-dv4dsh0t.js";
187
+ import {
188
+ clearConversation,
189
+ init_conversation
190
+ } from "./chunk-4brmjvph.js";
191
+ import {
192
+ applyFileSuggestion,
193
+ findLongestCommonPrefix,
194
+ generateFileSuggestions,
195
+ init_fileSuggestions,
196
+ onIndexBuildComplete,
197
+ startBackgroundCacheRefresh
198
+ } from "./chunk-hyz9tx05.js";
179
199
  import {
180
200
  init_bridgeEnabled,
181
201
  isBridgeEnabled
182
- } from "./chunk-3avnvgnv.js";
202
+ } from "./chunk-yxr0yf6h.js";
183
203
  import {
184
204
  ModelPicker,
185
205
  effortLevelToSymbol,
@@ -188,51 +208,43 @@ import {
188
208
  init_ModelPicker,
189
209
  init_extraUsage,
190
210
  isBilledAsExtraUsage
191
- } from "./chunk-fsex4yt2.js";
211
+ } from "./chunk-4h9ek408.js";
192
212
  import {
193
213
  init_useSearchInput,
194
214
  useSearchInput
195
- } from "./chunk-vmpcmvqq.js";
196
- import {
197
- init_Feedback,
198
- redactSensitiveInfo
199
- } from "./chunk-n42nvr59.js";
200
- import {
201
- clearConversation,
202
- init_conversation
203
- } from "./chunk-bnvd1jc1.js";
204
- import {
205
- applyFileSuggestion,
206
- findLongestCommonPrefix,
207
- generateFileSuggestions,
208
- init_fileSuggestions,
209
- onIndexBuildComplete,
210
- startBackgroundCacheRefresh
211
- } from "./chunk-dvf5921w.js";
215
+ } from "./chunk-yf5qwpnp.js";
212
216
  import {
213
217
  getDirectoryCompletions,
214
218
  getPathCompletions,
215
219
  init_directoryCompletion,
216
220
  isPathLikeToken
217
- } from "./chunk-t0b0bas5.js";
221
+ } from "./chunk-nzfwsrd7.js";
218
222
  import {
219
223
  PromptInputFooterSuggestions,
220
224
  init_PromptInputFooterSuggestions
221
- } from "./chunk-64mwy58c.js";
225
+ } from "./chunk-yrs92qya.js";
222
226
  import {
223
227
  findBtwTriggerPositions,
224
228
  init_sideQuestion
225
- } from "./chunk-mcbqmbp2.js";
229
+ } from "./chunk-cwwfyvbq.js";
230
+ import {
231
+ init_Feedback,
232
+ redactSensitiveInfo
233
+ } from "./chunk-0xth516w.js";
234
+ import {
235
+ attachNdjsonFramer,
236
+ init_ndjsonFramer
237
+ } from "./chunk-r854e43q.js";
226
238
  import {
227
239
  checkAndDisableBypassPermissionsIfNeeded,
228
240
  init_bypassPermissionsKillswitch,
229
241
  useKickOffCheckAndDisableAutoModeIfNeeded,
230
242
  useKickOffCheckAndDisableBypassPermissionsIfNeeded
231
- } from "./chunk-9nydmbm4.js";
243
+ } from "./chunk-jaqtnpbt.js";
232
244
  import {
233
245
  init_useMainLoopModel,
234
246
  useMainLoopModel
235
- } from "./chunk-xtaw765g.js";
247
+ } from "./chunk-760hjt0a.js";
236
248
  import {
237
249
  AGENT_COLORS,
238
250
  AGENT_COLOR_TO_THEME_COLOR,
@@ -321,7 +333,6 @@ import {
321
333
  archiveRemoteSession,
322
334
  asAgentId,
323
335
  asSessionId,
324
- asSystemPrompt,
325
336
  assembleToolPool,
326
337
  axolotl,
327
338
  backgroundAll,
@@ -360,12 +371,14 @@ import {
360
371
  createApiMetricsMessage,
361
372
  createAssistantMessage,
362
373
  createAttachmentMessage,
374
+ createAutonomyQueuedPrompt,
363
375
  createAwaySummaryMessage,
364
376
  createBaseHookInput,
365
377
  createCommandInputMessage,
366
378
  createIdleNotification,
367
379
  createModeSetRequestMessage,
368
380
  createPermissionRequest,
381
+ createProactiveAutonomyCommands,
369
382
  createPromptRuleContent,
370
383
  createScheduledTaskFireMessage,
371
384
  createSystemMessage,
@@ -413,6 +426,8 @@ import {
413
426
  fileHistoryMakeSnapshot,
414
427
  fileHistoryRestoreStateFromLog,
415
428
  fileHistoryRewind,
429
+ finalizeAutonomyRunCompleted,
430
+ finalizeAutonomyRunFailed,
416
431
  findActualString,
417
432
  findInProcessTeammateTaskId,
418
433
  findTeammateTaskByAgentId,
@@ -588,6 +603,7 @@ import {
588
603
  init_argumentSubstitution,
589
604
  init_attachments,
590
605
  init_autoCompact,
606
+ init_autonomyRuns,
591
607
  init_bashClassifier,
592
608
  init_bashPermissions,
593
609
  init_bridgeStatusUtil,
@@ -709,7 +725,6 @@ import {
709
725
  init_sessionMemoryUtils,
710
726
  init_sessionStart,
711
727
  init_sessionStorage,
712
- init_shellQuote,
713
728
  init_shellRuleMatching,
714
729
  init_shortcutFormat,
715
730
  init_shouldUseSandbox,
@@ -757,6 +772,7 @@ import {
757
772
  isAutoCompactEnabled,
758
773
  isAutoManagedMemoryFile,
759
774
  isBackgroundTask,
775
+ isBgSession,
760
776
  isChainParticipant,
761
777
  isClassifierPermissionsEnabled,
762
778
  isCommandEnabled,
@@ -812,6 +828,8 @@ import {
812
828
  logSuggestionSuppressed,
813
829
  makeHistoryReader,
814
830
  markAgentsNotified,
831
+ markAutonomyRunFailed,
832
+ markAutonomyRunRunning,
815
833
  markGitUnavailable,
816
834
  markHintPluginShown,
817
835
  markMessagesAsRead,
@@ -851,7 +869,6 @@ import {
851
869
  queryHaiku,
852
870
  queryModelWithoutStreaming,
853
871
  queuePendingMessage,
854
- quote,
855
872
  rabbit,
856
873
  readCapped,
857
874
  readUnreadMessages,
@@ -913,11 +930,11 @@ import {
913
930
  toRGBColor,
914
931
  tokenCountFromLastAPIResponse,
915
932
  transitionPermissionMode,
916
- tryParseShellCommand,
917
933
  turtle,
918
934
  uniqBy_default,
919
935
  unregisterLeaderSetToolPermissionContext,
920
936
  unregisterLeaderToolUseConfirmQueue,
937
+ updateSessionActivity,
921
938
  updateSessionName,
922
939
  updateTaskState,
923
940
  useAppState,
@@ -943,14 +960,10 @@ import {
943
960
  verifyApiKey,
944
961
  withMemoryCorrectionHint,
945
962
  writeToMailbox
946
- } from "./chunk-4q5a5mjb.js";
963
+ } from "./chunk-c092k38b.js";
947
964
  import {
948
- init_undercover,
949
- isUndercover
950
- } from "./chunk-0xq2bfvv.js";
951
- import {
952
- init_commitAttribution
953
- } from "./chunk-gfk81w5r.js";
965
+ asSystemPrompt
966
+ } from "./chunk-m1xw79dd.js";
954
967
  import {
955
968
  DEFAULT_TASKS_MODE_TASK_LIST_ID,
956
969
  claimTask,
@@ -970,65 +983,77 @@ import {
970
983
  syncTeammateMode,
971
984
  unassignTeammateTasks,
972
985
  updateTask
973
- } from "./chunk-62dx37pf.js";
986
+ } from "./chunk-8pskaz4y.js";
987
+ import {
988
+ init_undercover,
989
+ isUndercover
990
+ } from "./chunk-a5w8nyhg.js";
991
+ import {
992
+ init_commitAttribution
993
+ } from "./chunk-s2n5kxm0.js";
974
994
  import {
975
995
  CLAUDE_IN_CHROME_MCP_SERVER_NAME,
976
996
  init_common,
977
997
  isTrackedClaudeInChromeTabId
978
- } from "./chunk-s9nr589x.js";
998
+ } from "./chunk-sv7afh51.js";
999
+ import {
1000
+ init_shellQuote,
1001
+ quote,
1002
+ tryParseShellCommand
1003
+ } from "./chunk-j7b884wk.js";
979
1004
  import {
980
1005
  init_useDoublePress,
981
1006
  init_useExitOnCtrlCDWithKeybindings,
982
1007
  useExitOnCtrlCDWithKeybindings
983
- } from "./chunk-w65283w4.js";
1008
+ } from "./chunk-qgajfxr7.js";
984
1009
  import {
985
1010
  READ_FILE_STATE_CACHE_SIZE,
986
1011
  createFileStateCacheWithSizeLimit,
987
1012
  init_fileStateCache,
988
1013
  mergeFileStateCaches
989
- } from "./chunk-9r28w6ye.js";
1014
+ } from "./chunk-zttmdag3.js";
990
1015
  import {
991
1016
  getNativeCSIuTerminalDisplayName,
992
1017
  init_projectOnboardingState,
993
1018
  init_terminalSetup,
994
1019
  maybeMarkProjectOnboardingComplete
995
- } from "./chunk-ftajx4gw.js";
1020
+ } from "./chunk-a0qhdfct.js";
996
1021
  import {
997
1022
  init_useKeybinding
998
- } from "./chunk-t0twk3e5.js";
1023
+ } from "./chunk-rd2884ff.js";
999
1024
  import {
1000
1025
  hasVoiceAuth,
1001
1026
  init_voiceModeEnabled,
1002
1027
  isVoiceGrowthBookEnabled
1003
- } from "./chunk-8y1zs48n.js";
1028
+ } from "./chunk-fnpd8cnq.js";
1004
1029
  import {
1005
1030
  IT2_COMMAND,
1006
1031
  init_detection,
1007
1032
  isInsideTmux,
1008
1033
  isInsideTmuxSync
1009
- } from "./chunk-vpp13z80.js";
1034
+ } from "./chunk-wxa2hdfg.js";
1010
1035
  import {
1011
1036
  TEAM_LEAD_NAME,
1012
1037
  TMUX_COMMAND,
1013
1038
  getSwarmSocketName,
1014
1039
  init_constants as init_constants7
1015
1040
  } from "./chunk-4jm600zv.js";
1016
- import {
1017
- init_browser,
1018
- openBrowser
1019
- } from "./chunk-2dsqf7sp.js";
1020
1041
  import {
1021
1042
  getOAuthHeaders,
1022
1043
  init_api,
1023
1044
  prepareApiRequest,
1024
1045
  updateSessionTitle
1025
- } from "./chunk-ztrgnar4.js";
1046
+ } from "./chunk-fdbvcs34.js";
1047
+ import {
1048
+ init_browser,
1049
+ openBrowser
1050
+ } from "./chunk-f57cvf1d.js";
1026
1051
  import {
1027
1052
  endInteractionSpan,
1028
1053
  init_events,
1029
1054
  init_sessionTracing,
1030
1055
  logOTelEvent
1031
- } from "./chunk-9gypgvd7.js";
1056
+ } from "./chunk-xahpt5e2.js";
1032
1057
  import {
1033
1058
  ALLOWED_OFFICIAL_MARKETPLACE_NAMES,
1034
1059
  AwsAuthStatusManager,
@@ -1135,17 +1160,17 @@ import {
1135
1160
  toExternalPermissionMode,
1136
1161
  truncateToLines,
1137
1162
  updateSettingsForSource
1138
- } from "./chunk-zmpygkz6.js";
1163
+ } from "./chunk-p7es39d1.js";
1139
1164
  import {
1140
1165
  init_json,
1141
1166
  safeParseJSON
1142
- } from "./chunk-hnx0eg6x.js";
1167
+ } from "./chunk-mkae8zj9.js";
1143
1168
  import {
1144
1169
  expandPath,
1145
1170
  getDirectoryForPath,
1146
1171
  init_path,
1147
1172
  toRelativePath
1148
- } from "./chunk-8q4yg5pk.js";
1173
+ } from "./chunk-cxmyg49v.js";
1149
1174
  import {
1150
1175
  count,
1151
1176
  getAgentName,
@@ -1168,7 +1193,7 @@ import {
1168
1193
  import {
1169
1194
  getPlatform,
1170
1195
  init_platform
1171
- } from "./chunk-7nebst32.js";
1196
+ } from "./chunk-0knhp7v5.js";
1172
1197
  import {
1173
1198
  init_v4
1174
1199
  } from "./chunk-8g747a8x.js";
@@ -1179,14 +1204,16 @@ import {
1179
1204
  extractCommandArguments,
1180
1205
  init_parser,
1181
1206
  parseCommand
1182
- } from "./chunk-wmbpegg3.js";
1207
+ } from "./chunk-c7t69jmn.js";
1183
1208
  import {
1184
1209
  env,
1185
1210
  getHostPlatformForAnalytics,
1211
+ init_env
1212
+ } from "./chunk-9qh5f9r3.js";
1213
+ import {
1186
1214
  init_bundledMode,
1187
- init_env,
1188
1215
  isInBundledMode
1189
- } from "./chunk-n1pa72ns.js";
1216
+ } from "./chunk-xhesahm0.js";
1190
1217
  import {
1191
1218
  getOauthConfig,
1192
1219
  init_oauth
@@ -1199,7 +1226,7 @@ import {
1199
1226
  formatTokens,
1200
1227
  init_format,
1201
1228
  truncateToWidth
1202
- } from "./chunk-prgsmrmy.js";
1229
+ } from "./chunk-axenqvc8.js";
1203
1230
  import {
1204
1231
  firstGrapheme,
1205
1232
  getGraphemeSegmenter,
@@ -1256,13 +1283,11 @@ import {
1256
1283
  use_input_default,
1257
1284
  use_stdin_default,
1258
1285
  wrapText
1259
- } from "./chunk-e4jqbn4d.js";
1260
- import {
1261
- require_jsx_dev_runtime
1262
- } from "./chunk-vxnvzfnv.js";
1286
+ } from "./chunk-m9w972ny.js";
1263
1287
  import {
1288
+ require_jsx_dev_runtime,
1264
1289
  require_react
1265
- } from "./chunk-ns3babbs.js";
1290
+ } from "./chunk-b5wxetbv.js";
1266
1291
  import {
1267
1292
  init_analytics,
1268
1293
  logEvent
@@ -1274,15 +1299,15 @@ import {
1274
1299
  init_diagLogs,
1275
1300
  init_git,
1276
1301
  logForDiagnosticsNoPII
1277
- } from "./chunk-pedmqmrf.js";
1302
+ } from "./chunk-9awawyvh.js";
1278
1303
  import {
1279
1304
  init_memoize,
1280
1305
  memoizeWithLRU
1281
- } from "./chunk-cj8m3h8r.js";
1306
+ } from "./chunk-hqpzpr71.js";
1282
1307
  import {
1283
1308
  execFileNoThrow,
1284
1309
  init_execFileNoThrow
1285
- } from "./chunk-81dq52pk.js";
1310
+ } from "./chunk-hnxmafvc.js";
1286
1311
  import {
1287
1312
  getCwd,
1288
1313
  init_cwd
@@ -1300,34 +1325,32 @@ import {
1300
1325
  init_log,
1301
1326
  init_xml,
1302
1327
  logError
1303
- } from "./chunk-d2vb6m9e.js";
1328
+ } from "./chunk-wd8mqz95.js";
1304
1329
  import {
1305
1330
  init_which,
1306
1331
  which
1307
- } from "./chunk-2t5ve6ev.js";
1332
+ } from "./chunk-vsbyhpfy.js";
1308
1333
  import {
1309
1334
  figures_default,
1310
1335
  init_figures
1311
1336
  } from "./chunk-qajrkk97.js";
1312
1337
  import {
1338
+ AbortError,
1339
+ errorMessage,
1313
1340
  getFsImplementation,
1314
1341
  init_cleanupRegistry,
1315
1342
  init_debug,
1343
+ init_errors,
1316
1344
  init_fsOperations,
1317
1345
  init_slowOperations,
1346
+ isENOENT,
1318
1347
  jsonParse,
1319
1348
  jsonStringify,
1320
1349
  logForDebugging,
1321
1350
  registerCleanup,
1322
- safeResolvePath
1323
- } from "./chunk-kmgp6prw.js";
1324
- import {
1325
- AbortError,
1326
- errorMessage,
1327
- init_errors,
1328
- isENOENT,
1351
+ safeResolvePath,
1329
1352
  toError
1330
- } from "./chunk-3ev51j3h.js";
1353
+ } from "./chunk-5khwvj1z.js";
1331
1354
  import {
1332
1355
  createSignal,
1333
1356
  getAllowedChannels,
@@ -2489,12 +2512,15 @@ function useProactive(opts) {
2489
2512
  scheduleTick();
2490
2513
  return;
2491
2514
  }
2492
- const tickContent = `<${TICK_TAG}>${new Date().toLocaleTimeString()}</${TICK_TAG}>`;
2493
- if (queuedCommandsLength === 0) {
2494
- optsRef.current.onSubmitTick(tickContent);
2495
- } else {
2496
- optsRef.current.onQueueTick(tickContent);
2497
- }
2515
+ (async () => {
2516
+ const commands = await createProactiveAutonomyCommands({
2517
+ basePrompt: `<${TICK_TAG}>${new Date().toLocaleTimeString()}</${TICK_TAG}>`,
2518
+ currentDir: getCwd()
2519
+ });
2520
+ for (const command of commands) {
2521
+ optsRef.current.onQueueTick(command);
2522
+ }
2523
+ })();
2498
2524
  scheduleTick();
2499
2525
  }, TICK_INTERVAL_MS);
2500
2526
  }
@@ -2515,6 +2541,8 @@ function useProactive(opts) {
2515
2541
  var import_react125, TICK_INTERVAL_MS = 30000;
2516
2542
  var init_useProactive = __esm(() => {
2517
2543
  init_xml();
2544
+ init_cwd();
2545
+ init_autonomyRuns();
2518
2546
  init_proactive();
2519
2547
  import_react125 = __toESM(require_react(), 1);
2520
2548
  });
@@ -2536,29 +2564,66 @@ function useScheduledTasks({
2536
2564
  import_react126.useEffect(() => {
2537
2565
  if (!isKairosCronEnabled())
2538
2566
  return;
2539
- const enqueueForLead = (prompt) => enqueuePendingNotification({
2540
- value: prompt,
2541
- mode: "prompt",
2542
- priority: "later",
2543
- isMeta: true,
2544
- workload: WORKLOAD_CRON
2545
- });
2567
+ const enqueueForLead = async (prompt) => {
2568
+ const command = await createAutonomyQueuedPrompt({
2569
+ basePrompt: prompt,
2570
+ trigger: "scheduled-task",
2571
+ currentDir: getCwd(),
2572
+ workload: WORKLOAD_CRON
2573
+ });
2574
+ if (!command) {
2575
+ return;
2576
+ }
2577
+ enqueuePendingNotification(command);
2578
+ };
2546
2579
  const scheduler = createCronScheduler({
2547
- onFire: enqueueForLead,
2580
+ onFire: (prompt) => {
2581
+ enqueueForLead(prompt);
2582
+ },
2548
2583
  onFireTask: (task) => {
2549
- if (task.agentId) {
2550
- const teammate = findTeammateTaskByAgentId(task.agentId, store.getState().tasks);
2551
- if (teammate && !isTerminalTaskStatus(teammate.status)) {
2552
- injectUserMessageToTeammate(teammate.id, task.prompt, setAppState);
2584
+ (async () => {
2585
+ if (task.agentId) {
2586
+ const teammate = findTeammateTaskByAgentId(task.agentId, store.getState().tasks);
2587
+ if (teammate && !isTerminalTaskStatus(teammate.status)) {
2588
+ const command2 = await createAutonomyQueuedPrompt({
2589
+ basePrompt: task.prompt,
2590
+ trigger: "scheduled-task",
2591
+ currentDir: getCwd(),
2592
+ sourceId: task.id,
2593
+ sourceLabel: task.prompt,
2594
+ workload: WORKLOAD_CRON
2595
+ });
2596
+ if (!command2) {
2597
+ return;
2598
+ }
2599
+ const injected = injectUserMessageToTeammate(teammate.id, command2.value, {
2600
+ autonomyRunId: command2.autonomy?.runId,
2601
+ origin: command2.origin
2602
+ }, setAppState);
2603
+ if (!injected && command2.autonomy?.runId) {
2604
+ await markAutonomyRunFailed(command2.autonomy.runId, `Teammate ${task.agentId} exited before the scheduled message could be delivered.`);
2605
+ }
2606
+ return;
2607
+ }
2608
+ logForDebugging(`[ScheduledTasks] teammate ${task.agentId} gone, removing orphaned cron ${task.id}`);
2609
+ removeCronTasks([task.id]);
2553
2610
  return;
2554
2611
  }
2555
- logForDebugging(`[ScheduledTasks] teammate ${task.agentId} gone, removing orphaned cron ${task.id}`);
2556
- removeCronTasks([task.id]);
2557
- return;
2558
- }
2559
- const msg = createScheduledTaskFireMessage(`Running scheduled task (${formatCronFireTime(new Date)})`);
2560
- setMessages((prev) => [...prev, msg]);
2561
- enqueueForLead(task.prompt);
2612
+ const command = await createAutonomyQueuedPrompt({
2613
+ basePrompt: task.prompt,
2614
+ trigger: "scheduled-task",
2615
+ currentDir: getCwd(),
2616
+ sourceId: task.id,
2617
+ sourceLabel: task.prompt,
2618
+ workload: WORKLOAD_CRON
2619
+ });
2620
+ if (!command) {
2621
+ return;
2622
+ }
2623
+ const msg = createScheduledTaskFireMessage(`Running scheduled task (${formatCronFireTime(new Date)})`);
2624
+ setMessages((prev) => [...prev, msg]);
2625
+ enqueuePendingNotification(command);
2626
+ })();
2562
2627
  },
2563
2628
  isLoading: () => isLoadingRef.current,
2564
2629
  assistantMode,
@@ -2583,9 +2648,12 @@ var init_useScheduledTasks = __esm(() => {
2583
2648
  init_Task();
2584
2649
  init_InProcessTeammateTask();
2585
2650
  init_prompt3();
2651
+ init_cwd();
2586
2652
  init_cronJitterConfig();
2587
2653
  init_cronScheduler();
2588
2654
  init_cronTasks();
2655
+ init_autonomyRuns();
2656
+ init_autonomyRuns();
2589
2657
  init_debug();
2590
2658
  init_messageQueueManager();
2591
2659
  init_messages();
@@ -2635,6 +2703,7 @@ init_src();
2635
2703
  init_exportRenderer();
2636
2704
  init_editor();
2637
2705
  init_src();
2706
+ import { spawnSync } from "child_process";
2638
2707
  import { dirname, join as join6 } from "path";
2639
2708
  import { tmpdir } from "os";
2640
2709
  import { writeFile as writeFile3 } from "fs/promises";
@@ -2902,6 +2971,7 @@ class QueryGuard {
2902
2971
  // src/screens/REPL.tsx
2903
2972
  init_envUtils();
2904
2973
  init_format();
2974
+ init_autonomyRuns();
2905
2975
  init_teamHelpers();
2906
2976
  init_permissionSync();
2907
2977
  init_useSwarmPermissionPoller();
@@ -17857,30 +17927,11 @@ var import_react62 = __toESM(require_react(), 1);
17857
17927
  // src/utils/pipeTransport.ts
17858
17928
  init_envUtils();
17859
17929
  init_log();
17930
+ init_ndjsonFramer();
17860
17931
  import { createServer, createConnection } from "net";
17861
17932
  import { mkdir, unlink, readdir, writeFile } from "fs/promises";
17862
17933
  import { join as join2 } from "path";
17863
17934
  import { EventEmitter } from "events";
17864
-
17865
- // src/utils/ndjsonFramer.ts
17866
- function attachNdjsonFramer(socket, onMessage, parse = (text) => JSON.parse(text)) {
17867
- let buffer = "";
17868
- socket.on("data", (chunk) => {
17869
- buffer += chunk.toString();
17870
- const lines = buffer.split(`
17871
- `);
17872
- buffer = lines.pop() ?? "";
17873
- for (const line of lines) {
17874
- if (!line.trim())
17875
- continue;
17876
- try {
17877
- onMessage(parse(line));
17878
- } catch {}
17879
- }
17880
- });
17881
- }
17882
-
17883
- // src/utils/pipeTransport.ts
17884
17935
  function getPipesDir() {
17885
17936
  return join2(getClaudeConfigHomeDir(), "pipes");
17886
17937
  }
@@ -24198,6 +24249,7 @@ function useTeammateViewAutoExit() {
24198
24249
  init_errors();
24199
24250
  init_messagePredicates();
24200
24251
  init_log();
24252
+ init_cwd();
24201
24253
 
24202
24254
  // src/hooks/useCanUseTool.tsx
24203
24255
  init_sdk();
@@ -24253,10 +24305,13 @@ import { randomUUID as randomUUID7 } from "crypto";
24253
24305
  import { randomUUID as randomUUID6 } from "crypto";
24254
24306
  var pendingPipePermissions = new Map;
24255
24307
  var _pipeRelay = null;
24308
+ var _relayMuted = false;
24256
24309
  function getPipeSender() {
24257
24310
  return _pipeRelay ?? null;
24258
24311
  }
24259
24312
  function tryRelayPipePermissionRequest(toolUseConfirm, onResponse) {
24313
+ if (_relayMuted)
24314
+ return null;
24260
24315
  const send = getPipeSender();
24261
24316
  if (!send)
24262
24317
  return null;
@@ -24282,6 +24337,8 @@ function forgetPipePermissionRequest(requestId) {
24282
24337
  function notifyPipePermissionCancel(requestId, reason) {
24283
24338
  if (!requestId)
24284
24339
  return;
24340
+ if (_relayMuted)
24341
+ return;
24285
24342
  const send = getPipeSender();
24286
24343
  if (!send)
24287
24344
  return;
@@ -24957,6 +25014,7 @@ init_fileHistory();
24957
25014
  init_gracefulShutdown();
24958
25015
  init_messageQueueManager();
24959
25016
  init_model();
25017
+ init_autonomyRuns();
24960
25018
  init_queryProfiler();
24961
25019
  init_workloadContext();
24962
25020
  function exit() {
@@ -25178,89 +25236,118 @@ async function executeUserInput(params) {
25178
25236
  const commands = queuedCommands ?? [];
25179
25237
  const firstWorkload = commands[0]?.workload;
25180
25238
  const turnWorkload = firstWorkload !== undefined && commands.every((c) => c.workload === firstWorkload) ? firstWorkload : undefined;
25181
- await runWithWorkload(turnWorkload, async () => {
25182
- for (let i = 0;i < commands.length; i++) {
25183
- const cmd = commands[i];
25184
- const isFirst = i === 0;
25185
- const result = await processUserInput({
25186
- input: cmd.value,
25187
- preExpansionInput: cmd.preExpansionValue,
25188
- mode: cmd.mode,
25189
- setToolJSX,
25190
- context: makeContext(),
25191
- pastedContents: isFirst ? cmd.pastedContents : undefined,
25192
- messages,
25193
- setUserInputOnProcessing: isFirst ? setUserInputOnProcessing : undefined,
25194
- isAlreadyProcessing: !isFirst,
25195
- querySource,
25196
- canUseTool,
25197
- uuid: cmd.uuid,
25198
- ideSelection: isFirst ? ideSelection : undefined,
25199
- skipSlashCommands: cmd.skipSlashCommands,
25200
- bridgeOrigin: cmd.bridgeOrigin,
25201
- isMeta: cmd.isMeta,
25202
- skipAttachments: !isFirst
25203
- });
25204
- const origin = cmd.origin ?? (cmd.mode === "task-notification" ? { kind: "task-notification" } : undefined);
25205
- if (origin) {
25206
- for (const m of result.messages) {
25207
- if (m.type === "user")
25208
- m.origin = origin;
25239
+ let autonomyRunIds;
25240
+ try {
25241
+ await runWithWorkload(turnWorkload, async () => {
25242
+ for (let i = 0;i < commands.length; i++) {
25243
+ const cmd = commands[i];
25244
+ const isFirst = i === 0;
25245
+ if (cmd.autonomy?.runId) {
25246
+ (autonomyRunIds ??= []).push(cmd.autonomy.runId);
25247
+ await markAutonomyRunRunning(cmd.autonomy.runId);
25248
+ }
25249
+ const result = await processUserInput({
25250
+ input: cmd.value,
25251
+ preExpansionInput: cmd.preExpansionValue,
25252
+ mode: cmd.mode,
25253
+ setToolJSX,
25254
+ context: makeContext(),
25255
+ pastedContents: isFirst ? cmd.pastedContents : undefined,
25256
+ messages,
25257
+ setUserInputOnProcessing: isFirst ? setUserInputOnProcessing : undefined,
25258
+ isAlreadyProcessing: !isFirst,
25259
+ querySource,
25260
+ canUseTool,
25261
+ uuid: cmd.uuid,
25262
+ ideSelection: isFirst ? ideSelection : undefined,
25263
+ skipSlashCommands: cmd.skipSlashCommands,
25264
+ bridgeOrigin: cmd.bridgeOrigin,
25265
+ isMeta: cmd.isMeta,
25266
+ skipAttachments: !isFirst
25267
+ });
25268
+ const origin = cmd.origin ?? (cmd.mode === "task-notification" ? { kind: "task-notification" } : undefined);
25269
+ if (origin) {
25270
+ for (const m of result.messages) {
25271
+ if (m.type === "user")
25272
+ m.origin = origin;
25273
+ }
25274
+ }
25275
+ newMessages.push(...result.messages);
25276
+ if (isFirst) {
25277
+ shouldQuery = result.shouldQuery;
25278
+ allowedTools = result.allowedTools;
25279
+ model = result.model;
25280
+ effort = result.effort;
25281
+ nextInput = result.nextInput;
25282
+ submitNextInput = result.submitNextInput;
25209
25283
  }
25210
25284
  }
25211
- newMessages.push(...result.messages);
25212
- if (isFirst) {
25213
- shouldQuery = result.shouldQuery;
25214
- allowedTools = result.allowedTools;
25215
- model = result.model;
25216
- effort = result.effort;
25217
- nextInput = result.nextInput;
25218
- submitNextInput = result.submitNextInput;
25285
+ queryCheckpoint("query_process_user_input_end");
25286
+ if (fileHistoryEnabled()) {
25287
+ queryCheckpoint("query_file_history_snapshot_start");
25288
+ newMessages.filter(selectableUserMessagesFilter).forEach((message) => {
25289
+ fileHistoryMakeSnapshot((updater) => {
25290
+ setAppState((prev) => ({
25291
+ ...prev,
25292
+ fileHistory: updater(prev.fileHistory)
25293
+ }));
25294
+ }, message.uuid);
25295
+ });
25296
+ queryCheckpoint("query_file_history_snapshot_end");
25219
25297
  }
25220
- }
25221
- queryCheckpoint("query_process_user_input_end");
25222
- if (fileHistoryEnabled()) {
25223
- queryCheckpoint("query_file_history_snapshot_start");
25224
- newMessages.filter(selectableUserMessagesFilter).forEach((message) => {
25225
- fileHistoryMakeSnapshot((updater) => {
25226
- setAppState((prev) => ({
25227
- ...prev,
25228
- fileHistory: updater(prev.fileHistory)
25229
- }));
25230
- }, message.uuid);
25231
- });
25232
- queryCheckpoint("query_file_history_snapshot_end");
25233
- }
25234
- if (newMessages.length) {
25235
- resetHistory();
25236
- setToolJSX({
25237
- jsx: null,
25238
- shouldHidePromptInput: false,
25239
- clearLocalJSX: true
25240
- });
25241
- const primaryCmd = commands[0];
25242
- const primaryMode = primaryCmd?.mode ?? "prompt";
25243
- const primaryInput = primaryCmd && typeof primaryCmd.value === "string" ? primaryCmd.value : undefined;
25244
- const shouldCallBeforeQuery = primaryMode === "prompt";
25245
- await onQuery(newMessages, abortController, shouldQuery, allowedTools ?? [], model ? resolveSkillModelOverride(model, mainLoopModel) : mainLoopModel, shouldCallBeforeQuery ? onBeforeQuery : undefined, primaryInput, effort);
25246
- } else {
25247
- queryGuard.cancelReservation();
25248
- setToolJSX({
25249
- jsx: null,
25250
- shouldHidePromptInput: false,
25251
- clearLocalJSX: true
25252
- });
25253
- resetHistory();
25254
- setAbortController(null);
25255
- }
25256
- if (nextInput) {
25257
- if (submitNextInput) {
25258
- enqueue({ value: nextInput, mode: "prompt" });
25298
+ if (newMessages.length) {
25299
+ resetHistory();
25300
+ setToolJSX({
25301
+ jsx: null,
25302
+ shouldHidePromptInput: false,
25303
+ clearLocalJSX: true
25304
+ });
25305
+ const primaryCmd = commands[0];
25306
+ const primaryMode = primaryCmd?.mode ?? "prompt";
25307
+ const primaryInput = primaryCmd && typeof primaryCmd.value === "string" ? primaryCmd.value : undefined;
25308
+ const shouldCallBeforeQuery = primaryMode === "prompt";
25309
+ await onQuery(newMessages, abortController, shouldQuery, allowedTools ?? [], model ? resolveSkillModelOverride(model, mainLoopModel) : mainLoopModel, shouldCallBeforeQuery ? onBeforeQuery : undefined, primaryInput, effort);
25259
25310
  } else {
25260
- params.onInputChange(nextInput);
25311
+ queryGuard.cancelReservation();
25312
+ setToolJSX({
25313
+ jsx: null,
25314
+ shouldHidePromptInput: false,
25315
+ clearLocalJSX: true
25316
+ });
25317
+ resetHistory();
25318
+ setAbortController(null);
25319
+ }
25320
+ if (nextInput) {
25321
+ if (submitNextInput) {
25322
+ enqueue({ value: nextInput, mode: "prompt" });
25323
+ } else {
25324
+ params.onInputChange(nextInput);
25325
+ }
25326
+ }
25327
+ });
25328
+ if (autonomyRunIds?.length) {
25329
+ for (const runId of autonomyRunIds) {
25330
+ const nextCommands = await finalizeAutonomyRunCompleted({
25331
+ runId,
25332
+ priority: "later",
25333
+ workload: turnWorkload
25334
+ });
25335
+ for (const nextCommand of nextCommands) {
25336
+ enqueue(nextCommand);
25337
+ }
25261
25338
  }
25262
25339
  }
25263
- });
25340
+ } catch (error) {
25341
+ if (autonomyRunIds?.length) {
25342
+ for (const runId of autonomyRunIds) {
25343
+ await finalizeAutonomyRunFailed({
25344
+ runId,
25345
+ error: String(error)
25346
+ });
25347
+ }
25348
+ }
25349
+ throw error;
25350
+ }
25264
25351
  } finally {
25265
25352
  queryGuard.cancelReservation();
25266
25353
  setUserInputOnProcessing(undefined);
@@ -27758,15 +27845,19 @@ init_debug();
27758
27845
  init_messages();
27759
27846
  init_model();
27760
27847
  init_systemPromptType();
27848
+ init_language();
27761
27849
  init_claude();
27762
27850
  init_sessionMemoryUtils();
27763
27851
  var RECENT_MESSAGE_WINDOW = 30;
27852
+ var PROMPT_EN = "The user stepped away and is coming back. Write exactly 1-3 short sentences. Start by stating the high-level task \u2014 what they are building or debugging, not implementation details. Next: the concrete next step. Skip status reports and commit recaps.";
27853
+ var PROMPT_ZH = "\u7528\u6237\u79BB\u5F00\u540E\u56DE\u6765\u4E86\u3002\u7528\u4E2D\u6587\u5199 1-3 \u53E5\u8BDD\u3002\u5148\u8BF4\u660E\u7528\u6237\u5728\u505A\u4EC0\u4E48\uFF08\u9AD8\u5C42\u76EE\u6807\uFF0C\u4E0D\u662F\u5B9E\u73B0\u7EC6\u8282\uFF09\uFF0C\u7136\u540E\u8BF4\u660E\u4E0B\u4E00\u6B65\u5177\u4F53\u64CD\u4F5C\u3002\u4E0D\u8981\u5199\u72B6\u6001\u62A5\u544A\u6216\u63D0\u4EA4\u603B\u7ED3\u3002";
27764
27854
  function buildAwaySummaryPrompt(memory) {
27765
27855
  const memoryBlock = memory ? `Session memory (broader context):
27766
27856
  ${memory}
27767
27857
 
27768
27858
  ` : "";
27769
- return `${memoryBlock}The user stepped away and is coming back. Write exactly 1-3 short sentences. Start by stating the high-level task \u2014 what they are building or debugging, not implementation details. Next: the concrete next step. Skip status reports and commit recaps.`;
27859
+ const prompt = getResolvedLanguage() === "zh" ? PROMPT_ZH : PROMPT_EN;
27860
+ return `${memoryBlock}${prompt}`;
27770
27861
  }
27771
27862
  async function generateAwaySummary(messages, signal) {
27772
27863
  if (messages.length === 0) {
@@ -31598,6 +31689,9 @@ var usePipeRelay = () => ({ relayPipeMessage: () => false, pipeReturnHadErrorRef
31598
31689
  var usePipePermissionForward = () => {
31599
31690
  return;
31600
31691
  };
31692
+ var usePipeMuteSync = () => {
31693
+ return;
31694
+ };
31601
31695
  var usePipeRouter = () => ({ routeToSelectedPipes: () => false });
31602
31696
  var AntModelSwitchCallout2 = process.env.USER_TYPE === "ant" ? (init_AntModelSwitchCallout(), __toCommonJS(exports_AntModelSwitchCallout)).AntModelSwitchCallout : null;
31603
31697
  var shouldShowAntModelSwitch = process.env.USER_TYPE === "ant" ? (init_AntModelSwitchCallout(), __toCommonJS(exports_AntModelSwitchCallout)).shouldShowModelSwitchCallout : () => false;
@@ -32050,9 +32144,9 @@ function REPL({
32050
32144
  import_react128.useEffect(() => {
32051
32145
  if (process.env.USER_TYPE === "ant") {
32052
32146
  (async () => {
32053
- const { isInternalModelRepo } = await import("./chunk-ag3hbrat.js");
32147
+ const { isInternalModelRepo } = await import("./chunk-j34h8cfj.js");
32054
32148
  await isInternalModelRepo();
32055
- const { shouldShowUndercoverAutoNotice } = await import("./chunk-b6whrv9m.js");
32149
+ const { shouldShowUndercoverAutoNotice } = await import("./chunk-swzfr1f5.js");
32056
32150
  if (shouldShowUndercoverAutoNotice()) {
32057
32151
  setShowUndercoverCallout(true);
32058
32152
  }
@@ -32105,7 +32199,9 @@ function REPL({
32105
32199
  const sessionStatus = isWaitingForApproval || isShowingLocalJSXCommand ? "waiting" : isLoading ? "busy" : "idle";
32106
32200
  const waitingFor = sessionStatus !== "waiting" ? undefined : toolUseConfirmQueue.length > 0 ? `approve ${toolUseConfirmQueue[0].tool.name}` : pendingWorkerRequest ? "worker request" : pendingSandboxRequest ? "sandbox request" : isShowingLocalJSXCommand ? "dialog open" : "input needed";
32107
32201
  import_react128.useEffect(() => {
32108
- if (false) {}
32202
+ if (true) {
32203
+ updateSessionActivity({ status: sessionStatus, waitingFor });
32204
+ }
32109
32205
  }, [sessionStatus, waitingFor]);
32110
32206
  const tabStatusGateEnabled = getFeatureValue_CACHED_MAY_BE_STALE("tengu_terminal_sidebar", false);
32111
32207
  const showStatusInTerminalTab = tabStatusGateEnabled && (getGlobalConfig().showStatusInTerminalTab ?? false);
@@ -32485,7 +32581,7 @@ function REPL({
32485
32581
  saveCurrentSessionCosts();
32486
32582
  resetCostState();
32487
32583
  switchSession(asSessionId(sessionId), log.fullPath ? dirname(log.fullPath) : null);
32488
- const { renameRecordingForSession } = await import("./chunk-c209ascy.js");
32584
+ const { renameRecordingForSession } = await import("./chunk-ewxpkqxt.js");
32489
32585
  await renameRecordingForSession();
32490
32586
  await resetSessionFilePointer();
32491
32587
  clearSessionMetadata();
@@ -33334,7 +33430,7 @@ Error: sandbox required but unavailable: ${reason}
33334
33430
  async function processInitialMessage(initialMsg) {
33335
33431
  if (initialMsg.clearContext) {
33336
33432
  const oldPlanSlug = initialMsg.message.planContent ? getPlanSlug() : undefined;
33337
- const { clearConversation: clearConversation2 } = await import("./chunk-e6nenv5n.js");
33433
+ const { clearConversation: clearConversation2 } = await import("./chunk-4mdqm8b7.js");
33338
33434
  await clearConversation2({
33339
33435
  setMessages,
33340
33436
  readFileState: readFileState.current,
@@ -33352,21 +33448,13 @@ Error: sandbox required but unavailable: ${reason}
33352
33448
  setPlanSlug(getSessionId(), oldPlanSlug);
33353
33449
  }
33354
33450
  }
33355
- const shouldStorePlanForVerification = initialMsg.message.planContent && process.env.USER_TYPE === "ant" && isEnvTruthy(undefined);
33356
33451
  setAppState((prev) => {
33357
33452
  let updatedToolPermissionContext = initialMsg.mode ? applyPermissionUpdates(prev.toolPermissionContext, buildPermissionUpdates(initialMsg.mode, initialMsg.allowedPrompts)) : prev.toolPermissionContext;
33358
33453
  if (false) {}
33359
33454
  return {
33360
33455
  ...prev,
33361
33456
  initialMessage: null,
33362
- toolPermissionContext: updatedToolPermissionContext,
33363
- ...shouldStorePlanForVerification ? {
33364
- pendingPlanVerification: {
33365
- plan: initialMsg.message.planContent,
33366
- verificationStarted: false,
33367
- verificationCompleted: false
33368
- }
33369
- } : {}
33457
+ toolPermissionContext: updatedToolPermissionContext
33370
33458
  };
33371
33459
  });
33372
33460
  if (fileHistoryEnabled()) {
@@ -33701,7 +33789,7 @@ Error: sandbox required but unavailable: ${reason}
33701
33789
  });
33702
33790
  }
33703
33791
  } else {
33704
- injectUserMessageToTeammate(task.id, input, setAppState);
33792
+ injectUserMessageToTeammate(task.id, input, undefined, setAppState);
33705
33793
  }
33706
33794
  setInputValue("");
33707
33795
  helpers.setCursorOffset(0);
@@ -33742,7 +33830,11 @@ Error: sandbox required but unavailable: ${reason}
33742
33830
  }, []);
33743
33831
  const handleExit = import_react128.useCallback(async () => {
33744
33832
  setIsExiting(true);
33745
- if (false) {}
33833
+ if (isBgSession()) {
33834
+ spawnSync("tmux", ["detach-client"], { stdio: "ignore" });
33835
+ setIsExiting(false);
33836
+ return;
33837
+ }
33746
33838
  const showWorktree = getCurrentWorktreeSession() !== null;
33747
33839
  if (showWorktree) {
33748
33840
  setExitFlow(/* @__PURE__ */ jsx_dev_runtime99.jsxDEV(ExitFlow, {
@@ -34052,19 +34144,49 @@ ${fileList}`);
34052
34144
  idleHintShownRef.current = false;
34053
34145
  };
34054
34146
  }, [lastQueryCompletionTime, isLoading, addNotification, removeNotification]);
34055
- const handleIncomingPrompt = import_react128.useCallback((content, options) => {
34147
+ const handleIncomingPrompt = import_react128.useCallback((input, options) => {
34056
34148
  if (queryGuard.isActive)
34057
34149
  return false;
34058
34150
  if (getCommandQueue().some((cmd) => cmd.mode === "prompt" || cmd.mode === "bash")) {
34059
34151
  return false;
34060
34152
  }
34153
+ const queuedCommand = typeof input === "string" ? {
34154
+ value: input,
34155
+ mode: "prompt",
34156
+ isMeta: options?.isMeta ? true : undefined
34157
+ } : input;
34061
34158
  const newAbortController = createAbortController();
34062
34159
  setAbortController(newAbortController);
34063
34160
  const userMessage = createUserMessage({
34064
- content,
34065
- isMeta: options?.isMeta ? true : undefined
34161
+ content: queuedCommand.value,
34162
+ isMeta: queuedCommand.isMeta ? true : undefined,
34163
+ origin: queuedCommand.origin
34164
+ });
34165
+ const autonomyRunId = queuedCommand.autonomy?.runId;
34166
+ if (autonomyRunId) {
34167
+ markAutonomyRunRunning(autonomyRunId);
34168
+ }
34169
+ onQuery([userMessage], newAbortController, true, [], mainLoopModel).then(() => {
34170
+ if (autonomyRunId) {
34171
+ finalizeAutonomyRunCompleted({
34172
+ runId: autonomyRunId,
34173
+ currentDir: getCwd(),
34174
+ priority: "later"
34175
+ }).then((nextCommands) => {
34176
+ for (const command of nextCommands) {
34177
+ enqueue(command);
34178
+ }
34179
+ });
34180
+ }
34181
+ }).catch((error) => {
34182
+ if (autonomyRunId) {
34183
+ finalizeAutonomyRunFailed({
34184
+ runId: autonomyRunId,
34185
+ error: String(error)
34186
+ });
34187
+ }
34188
+ logError(toError(error));
34066
34189
  });
34067
- onQuery([userMessage], newAbortController, true, [], mainLoopModel);
34068
34190
  return true;
34069
34191
  }, [onQuery, mainLoopModel, store]);
34070
34192
  const { relayPipeMessage, pipeReturnHadErrorRef } = usePipeRelay();
@@ -34080,6 +34202,7 @@ ${fileList}`);
34080
34202
  useSlaveNotifications();
34081
34203
  const pipeIpcState = useAppState((s) => getPipeIpc(s));
34082
34204
  usePipePermissionForward({ store, tools, setMessages, setToolUseConfirmQueue, getToolUseContext, mainLoopModel });
34205
+ usePipeMuteSync({ setToolUseConfirmQueue });
34083
34206
  usePipeIpc({ store, handleIncomingPrompt });
34084
34207
  const { routeToSelectedPipes } = usePipeRouter({ store, setAppState, addNotification });
34085
34208
  if (true) {
@@ -34098,8 +34221,7 @@ ${fileList}`);
34098
34221
  queuedCommandsLength: queuedCommands.length,
34099
34222
  hasActiveLocalJsxUI: isShowingLocalJSXCommand,
34100
34223
  isInPlanMode: toolPermissionContext.mode === "plan",
34101
- onSubmitTick: (prompt) => handleIncomingPrompt(prompt, { isMeta: true }),
34102
- onQueueTick: (prompt) => enqueue({ mode: "prompt", value: prompt, isMeta: true })
34224
+ onQueueTick: (command) => enqueue(command)
34103
34225
  });
34104
34226
  import_react128.useEffect(() => {
34105
34227
  if (queuedCommands.some((cmd) => cmd.priority === "now")) {
@@ -34756,7 +34878,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
34756
34878
  });
34757
34879
  }
34758
34880
  if (action === "clear") {
34759
- const { clearConversation: clearConversation2 } = await import("./chunk-e6nenv5n.js");
34881
+ const { clearConversation: clearConversation2 } = await import("./chunk-4mdqm8b7.js");
34760
34882
  await clearConversation2({
34761
34883
  setMessages,
34762
34884
  readFileState: readFileState.current,