@opencode-ai/core 0.0.0-dev-18636 → 0.0.0-dev-18650

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 (768) hide show
  1. package/dist/account/sql.js +2 -2
  2. package/dist/agent.js +70 -70
  3. package/dist/aisdk-native.js +3 -3
  4. package/dist/aisdk.js +4 -4
  5. package/dist/app.js +2 -2
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +78 -78
  8. package/dist/chunks/{file-retention-02dbfq60.js → generate-02dbfq60.js} +1 -1
  9. package/dist/chunks/{file-retention-waz569bh.js → generate-0374nzbf.js} +3 -5
  10. package/dist/chunks/{file-retention-gtwctk8f.js → generate-05y4jwc6.js} +2 -2
  11. package/dist/chunks/{file-retention-0687t5rp.js → generate-0687t5rp.js} +4 -4
  12. package/dist/chunks/{file-retention-mxj5r48t.js → generate-0aj2syd9.js} +7 -7
  13. package/dist/chunks/{file-retention-0gcqkg3x.js → generate-0gcqkg3x.js} +2 -2
  14. package/dist/chunks/{file-retention-0kvmztkf.js → generate-0kvmztkf.js} +1 -1
  15. package/dist/chunks/{file-retention-e9mdxm5f.js → generate-0rqdqzkr.js} +4 -4
  16. package/dist/chunks/{file-retention-10p29vm9.js → generate-10p29vm9.js} +1 -1
  17. package/dist/chunks/{file-retention-nd51tec8.js → generate-114v76f0.js} +7 -7
  18. package/dist/chunks/{file-retention-15hpbjb6.js → generate-15hpbjb6.js} +1 -1
  19. package/dist/chunks/{file-retention-18pv8fg3.js → generate-18pv8fg3.js} +2 -2
  20. package/dist/chunks/{file-retention-9t4b9333.js → generate-1fg7bek0.js} +3 -3
  21. package/dist/chunks/{file-retention-aygzvrtq.js → generate-1pgnnz8e.js} +5 -7
  22. package/dist/chunks/{file-retention-wydqxn8a.js → generate-24gqhdrc.js} +10 -10
  23. package/dist/chunks/{file-retention-hh0n047t.js → generate-2bhqtz64.js} +4 -4
  24. package/dist/chunks/{file-retention-2knkewgs.js → generate-2knkewgs.js} +2 -2
  25. package/dist/chunks/{file-retention-2m0hgr65.js → generate-2m0hgr65.js} +1 -1
  26. package/dist/chunks/{file-retention-2nmyybe0.js → generate-2nmyybe0.js} +1 -1
  27. package/dist/chunks/generate-2pd1mgzx.js +95 -0
  28. package/dist/chunks/{file-retention-q6xhxvf3.js → generate-2rng5cvg.js} +9 -14
  29. package/dist/chunks/{file-retention-2wds5nk3.js → generate-2wds5nk3.js} +1 -1
  30. package/dist/chunks/{file-retention-w062eawq.js → generate-2zgdcfb3.js} +5 -5
  31. package/dist/chunks/{file-retention-393a352g.js → generate-393a352g.js} +2 -2
  32. package/dist/chunks/{file-retention-a4a08a6q.js → generate-39h0zntn.js} +2 -2
  33. package/dist/chunks/{file-retention-s0ysayca.js → generate-3asgab0j.js} +7 -7
  34. package/dist/chunks/{file-retention-3g8vftxb.js → generate-3g8vftxb.js} +2 -2
  35. package/dist/chunks/{file-retention-3qv8nf0b.js → generate-3qv8nf0b.js} +1 -1
  36. package/dist/chunks/{file-retention-8gw9awa4.js → generate-3teqxqcn.js} +6 -6
  37. package/dist/chunks/{file-retention-3thh6229.js → generate-3thh6229.js} +2 -2
  38. package/dist/chunks/{file-retention-ayewn4cs.js → generate-4j35napw.js} +25 -25
  39. package/dist/chunks/{file-retention-4zzdwbaz.js → generate-4zzdwbaz.js} +2 -2
  40. package/dist/chunks/{file-retention-p6gn84ek.js → generate-509ze8t8.js} +6 -6
  41. package/dist/chunks/{file-retention-50jxp3hw.js → generate-50jxp3hw.js} +1 -1
  42. package/dist/chunks/{file-retention-pp25d1ka.js → generate-50zw5v50.js} +11 -11
  43. package/dist/chunks/{file-retention-nn037054.js → generate-5438tek3.js} +8 -8
  44. package/dist/chunks/{file-retention-57ej80dx.js → generate-57ej80dx.js} +2 -2
  45. package/dist/chunks/{file-retention-57tzwnz4.js → generate-57tzwnz4.js} +1 -1
  46. package/dist/chunks/{file-retention-58xdvehb.js → generate-58xdvehb.js} +1 -1
  47. package/dist/chunks/{file-retention-vzykx8xa.js → generate-5axj4zdw.js} +4 -4
  48. package/dist/chunks/{file-retention-5fe026tx.js → generate-5fe026tx.js} +3 -3
  49. package/dist/chunks/{file-retention-5g0edsdt.js → generate-5fesa0jy.js} +3 -3
  50. package/dist/chunks/{file-retention-5rs65q6p.js → generate-5rs65q6p.js} +1 -1
  51. package/dist/chunks/{file-retention-5vcssjzn.js → generate-5vcssjzn.js} +1 -1
  52. package/dist/chunks/{file-retention-6272rtjg.js → generate-6272rtjg.js} +1 -1
  53. package/dist/chunks/{file-retention-6ky7rqk7.js → generate-6ky7rqk7.js} +1 -1
  54. package/dist/chunks/{file-retention-ee1kv8ef.js → generate-6p3gyxe3.js} +61 -61
  55. package/dist/chunks/{file-retention-6wkzvma0.js → generate-6wkzvma0.js} +2 -2
  56. package/dist/chunks/{file-retention-c7qwg17p.js → generate-6z0gke6z.js} +5 -5
  57. package/dist/chunks/{file-retention-kkmre562.js → generate-725mqybj.js} +8 -8
  58. package/dist/chunks/{file-retention-0fn7ze9e.js → generate-7ec90ngw.js} +3 -3
  59. package/dist/chunks/{file-retention-7khw64yh.js → generate-7khw64yh.js} +1 -1
  60. package/dist/chunks/{file-retention-7mrpdsq5.js → generate-7mrpdsq5.js} +1 -1
  61. package/dist/chunks/{file-retention-xehzjt5f.js → generate-7ttr1yh0.js} +15 -15
  62. package/dist/chunks/{file-retention-bqpqgmvg.js → generate-7vb24avq.js} +2 -2
  63. package/dist/chunks/{file-retention-7wcmqxrc.js → generate-7wcmqxrc.js} +1 -1
  64. package/dist/chunks/{file-retention-4h571v2x.js → generate-82dr4mx5.js} +9 -9
  65. package/dist/chunks/{file-retention-83ba1yz6.js → generate-83ba1yz6.js} +2 -2
  66. package/dist/chunks/{file-retention-yvh6kvhv.js → generate-8799zpb9.js} +10 -10
  67. package/dist/chunks/{file-retention-27nfsha0.js → generate-887cec8g.js} +3 -3
  68. package/dist/chunks/{file-retention-wjk9b8hz.js → generate-8a4hfbqs.js} +6 -6
  69. package/dist/chunks/{file-retention-8p3j8jzj.js → generate-8p3j8jzj.js} +6 -6
  70. package/dist/chunks/{file-retention-8pngjawd.js → generate-8pngjawd.js} +2 -2
  71. package/dist/chunks/{file-retention-fs15zf5f.js → generate-8r3atazp.js} +4 -4
  72. package/dist/chunks/{file-retention-dxc1ehyc.js → generate-8vsh34ve.js} +4 -4
  73. package/dist/chunks/{file-retention-kjsv769k.js → generate-8xyjee2p.js} +4 -4
  74. package/dist/chunks/{file-retention-43wem4wq.js → generate-94qqde79.js} +81 -81
  75. package/dist/chunks/{file-retention-jbzd8zgh.js → generate-9c5rvcy2.js} +3 -3
  76. package/dist/chunks/{file-retention-9f0rnpkn.js → generate-9f0rnpkn.js} +1 -1
  77. package/dist/chunks/{file-retention-4vex5vjn.js → generate-9nmje94z.js} +6 -6
  78. package/dist/chunks/{file-retention-s6sh6y4r.js → generate-9twk2dea.js} +3 -3
  79. package/dist/chunks/{file-retention-bwtwgpsa.js → generate-a4m8w33p.js} +24 -26
  80. package/dist/chunks/{file-retention-6a2db05k.js → generate-a7zsawpf.js} +2 -2
  81. package/dist/chunks/{file-retention-kn3mrzz6.js → generate-ac4vnbr3.js} +8 -20
  82. package/dist/chunks/{file-retention-rezbca9p.js → generate-asjzae5b.js} +10 -10
  83. package/dist/chunks/{file-retention-8jnsgpze.js → generate-ask63heb.js} +3 -3
  84. package/dist/chunks/{file-retention-awg5d31a.js → generate-awg5d31a.js} +1 -1
  85. package/dist/chunks/{file-retention-bbhffenw.js → generate-bbhffenw.js} +3 -3
  86. package/dist/chunks/{file-retention-g0ehpx58.js → generate-bfwfk5kj.js} +53 -53
  87. package/dist/chunks/{file-retention-bh1wr8rq.js → generate-bh1wr8rq.js} +2 -2
  88. package/dist/chunks/{file-retention-bn980987.js → generate-bn980987.js} +2 -2
  89. package/dist/chunks/{file-retention-fr56w3we.js → generate-bvhqmd2m.js} +10 -10
  90. package/dist/chunks/{file-retention-byab506k.js → generate-byab506k.js} +1 -1
  91. package/dist/chunks/{file-retention-j02kndzf.js → generate-bz46b964.js} +46 -30
  92. package/dist/chunks/{file-retention-xa1as6zn.js → generate-c47w7nbq.js} +3 -3
  93. package/dist/chunks/{file-retention-c4wcb9vc.js → generate-c4wcb9vc.js} +2 -2
  94. package/dist/chunks/{file-retention-c8ya26sa.js → generate-c8ya26sa.js} +2 -2
  95. package/dist/chunks/{file-retention-0wh86f99.js → generate-cd60877d.js} +6 -6
  96. package/dist/chunks/{file-retention-37ng30jt.js → generate-cpqd33tw.js} +8 -11
  97. package/dist/chunks/{file-retention-g3m3y0g8.js → generate-cxgs242t.js} +2 -2
  98. package/dist/chunks/{file-retention-d2gk9vpf.js → generate-d2gk9vpf.js} +2 -2
  99. package/dist/chunks/{file-retention-d4h7vwhh.js → generate-d4h7vwhh.js} +2 -2
  100. package/dist/chunks/{file-retention-dhphtf1x.js → generate-dhphtf1x.js} +1 -1
  101. package/dist/chunks/{file-retention-tcj8ed2y.js → generate-dk5hqrdq.js} +5 -5
  102. package/dist/chunks/{file-retention-bj1vxja0.js → generate-dkzckemh.js} +3 -3
  103. package/dist/chunks/{file-retention-f93563kf.js → generate-drk2w0k6.js} +7 -7
  104. package/dist/chunks/{file-retention-1c8kjghr.js → generate-drvg1mz5.js} +7 -7
  105. package/dist/chunks/{file-retention-qe2jct42.js → generate-dwbxn3a1.js} +79 -83
  106. package/dist/chunks/{file-retention-kt491qp2.js → generate-dyj7wa6j.js} +14 -14
  107. package/dist/chunks/{file-retention-e1z9a0ts.js → generate-e1z9a0ts.js} +2 -2
  108. package/dist/chunks/{file-retention-ec8vrfw5.js → generate-ec8vrfw5.js} +1 -1
  109. package/dist/chunks/{file-retention-enpg66yn.js → generate-enpg66yn.js} +1 -1
  110. package/dist/chunks/{file-retention-ep35cpen.js → generate-ep35cpen.js} +1 -1
  111. package/dist/chunks/{file-retention-9tx70vyf.js → generate-etqwmscy.js} +41 -41
  112. package/dist/chunks/{file-retention-d330xxye.js → generate-f89mrm26.js} +16 -16
  113. package/dist/chunks/{file-retention-f9wt0tjw.js → generate-f9wt0tjw.js} +2 -2
  114. package/dist/chunks/{file-retention-fb7nfzf2.js → generate-fb7nfzf2.js} +3 -3
  115. package/dist/chunks/{file-retention-per9wncb.js → generate-fbqan21d.js} +13 -13
  116. package/dist/chunks/{file-retention-6bpqanjp.js → generate-fdm2t1xg.js} +1 -1
  117. package/dist/chunks/{file-retention-8eden5jr.js → generate-feg635am.js} +3 -3
  118. package/dist/chunks/{file-retention-fgyjabww.js → generate-fgyjabww.js} +2 -2
  119. package/dist/chunks/{file-retention-c5d6s0gs.js → generate-fh84pr3d.js} +5 -5
  120. package/dist/chunks/{file-retention-fm3b2wbt.js → generate-fm3b2wbt.js} +2 -2
  121. package/dist/chunks/{file-retention-5cdnkd94.js → generate-fyaxe1pd.js} +4 -6
  122. package/dist/chunks/{file-retention-rdkydhre.js → generate-g17ayvhh.js} +9 -9
  123. package/dist/chunks/{file-retention-59j4p111.js → generate-g4xekz40.js} +7 -7
  124. package/dist/chunks/{file-retention-g5tvq2z7.js → generate-g5tvq2z7.js} +2 -2
  125. package/dist/chunks/{file-retention-gb1z7yet.js → generate-gb1z7yet.js} +2 -2
  126. package/dist/chunks/{file-retention-gcay93cp.js → generate-gcay93cp.js} +1 -1
  127. package/dist/chunks/{file-retention-gd2xppx8.js → generate-gd2xppx8.js} +1 -1
  128. package/dist/chunks/{file-retention-12kgmptd.js → generate-gg7r5kv6.js} +3 -3
  129. package/dist/chunks/{file-retention-rvjq2epr.js → generate-gnrdkcdd.js} +4 -4
  130. package/dist/chunks/{file-retention-h12kt9pa.js → generate-h12kt9pa.js} +2 -2
  131. package/dist/chunks/{file-retention-4s2xwh5d.js → generate-h5wnyjzw.js} +4 -21
  132. package/dist/chunks/{file-retention-rrfe7g7v.js → generate-h87mcn73.js} +36 -36
  133. package/dist/chunks/{file-retention-h94zdhz8.js → generate-h94zdhz8.js} +2 -2
  134. package/dist/chunks/{file-retention-xd08s1jw.js → generate-hddqeqem.js} +10 -10
  135. package/dist/chunks/{file-retention-e5tvgs84.js → generate-hkbd5bne.js} +4 -4
  136. package/dist/chunks/{file-retention-hp6rpdnc.js → generate-hp6rpdnc.js} +1 -1
  137. package/dist/chunks/{file-retention-mmvvcxj7.js → generate-hys92c07.js} +4 -4
  138. package/dist/chunks/{file-retention-zdr5xhrg.js → generate-hzvepznc.js} +3 -3
  139. package/dist/chunks/{file-retention-j0feex7e.js → generate-j0feex7e.js} +1 -1
  140. package/dist/chunks/{file-retention-j0sncrp4.js → generate-j0sncrp4.js} +3 -3
  141. package/dist/chunks/{file-retention-t0msbthe.js → generate-j281xcgt.js} +3 -3
  142. package/dist/chunks/{file-retention-t62c7nzb.js → generate-jedd9j89.js} +19 -19
  143. package/dist/chunks/{file-retention-yya8mcyh.js → generate-jgw744ce.js} +5 -5
  144. package/dist/chunks/{file-retention-hkafe332.js → generate-jjk4z14f.js} +5 -5
  145. package/dist/chunks/{file-retention-2vm35rx4.js → generate-js39rpka.js} +5 -5
  146. package/dist/chunks/{file-retention-r4h8681v.js → generate-jzec5acb.js} +4 -4
  147. package/dist/chunks/{file-retention-z9ka80y1.js → generate-k1ybn112.js} +89 -89
  148. package/dist/chunks/{file-retention-pk3a1a1e.js → generate-k49g8ymm.js} +5 -5
  149. package/dist/chunks/{file-retention-nsb760q1.js → generate-k960g971.js} +6 -6
  150. package/dist/chunks/{file-retention-kg1345f7.js → generate-kg1345f7.js} +1 -1
  151. package/dist/chunks/{file-retention-kp1t5rcy.js → generate-kp1t5rcy.js} +1 -1
  152. package/dist/chunks/{file-retention-krsqcmnj.js → generate-krsqcmnj.js} +1 -1
  153. package/dist/chunks/{file-retention-m55whf0h.js → generate-m55whf0h.js} +2 -2
  154. package/dist/chunks/{file-retention-yhcw9255.js → generate-m96907p7.js} +16 -16
  155. package/dist/chunks/{file-retention-j9ca6zex.js → generate-ma115c3z.js} +10 -10
  156. package/dist/chunks/{file-retention-1wwt7dv3.js → generate-mdsnarpb.js} +4 -4
  157. package/dist/chunks/{file-retention-mf0hyk7z.js → generate-mf0hyk7z.js} +1 -1
  158. package/dist/chunks/{file-retention-mnb85w6b.js → generate-mnb85w6b.js} +2 -2
  159. package/dist/chunks/{file-retention-8sjw2bpn.js → generate-mpr8x5ve.js} +4 -4
  160. package/dist/chunks/{file-retention-p20w0naz.js → generate-mt35eyn2.js} +6 -8
  161. package/dist/chunks/{file-retention-mxjff6xk.js → generate-mxjff6xk.js} +4 -4
  162. package/dist/chunks/{file-retention-mxvw03gv.js → generate-mxvw03gv.js} +1 -1
  163. package/dist/chunks/{file-retention-jamxwswv.js → generate-n163c54s.js} +5 -5
  164. package/dist/chunks/{file-retention-xxb62cen.js → generate-n1q40yyw.js} +5 -5
  165. package/dist/chunks/{file-retention-rknyqwt8.js → generate-n2wqdsep.js} +5 -5
  166. package/dist/chunks/{file-retention-b5bxbm34.js → generate-nfsc8k2e.js} +11 -11
  167. package/dist/chunks/{file-retention-nr76rjj3.js → generate-nr76rjj3.js} +2 -2
  168. package/dist/chunks/{file-retention-ns0sdez7.js → generate-ns0sdez7.js} +3 -3
  169. package/dist/chunks/{file-retention-bfg6mtyn.js → generate-nw5zhzym.js} +3 -3
  170. package/dist/chunks/{file-retention-x2tzmyc9.js → generate-nybztspw.js} +5 -5
  171. package/dist/chunks/{file-retention-nzrjycs5.js → generate-nzrjycs5.js} +1 -1
  172. package/dist/chunks/{file-retention-5czm6t4r.js → generate-p76k3kj0.js} +5 -5
  173. package/dist/chunks/{file-retention-pvw9a7xw.js → generate-pbnehdz3.js} +8 -8
  174. package/dist/chunks/{file-retention-7rs8he4a.js → generate-pd8kyp9m.js} +4 -4
  175. package/dist/chunks/{file-retention-q03pyvsr.js → generate-pgjvq5a1.js} +9 -9
  176. package/dist/chunks/{file-retention-pq4b4pqk.js → generate-pq4b4pqk.js} +2 -2
  177. package/dist/chunks/{file-retention-9bf832r1.js → generate-pyjtzqqx.js} +3 -3
  178. package/dist/chunks/{file-retention-eeta29b7.js → generate-pyrwc102.js} +6 -6
  179. package/dist/chunks/{file-retention-y1skp57t.js → generate-q4xtdgp6.js} +5 -5
  180. package/dist/chunks/{file-retention-q606pcse.js → generate-q606pcse.js} +3 -3
  181. package/dist/chunks/{file-retention-qe0d689s.js → generate-qe0d689s.js} +2 -2
  182. package/dist/chunks/{file-retention-bvgn5z69.js → generate-qe4g4j30.js} +9 -9
  183. package/dist/chunks/{file-retention-n7dca6xb.js → generate-qf9mj0md.js} +2 -2
  184. package/dist/chunks/{file-retention-8jnj5b4t.js → generate-qn60vp8j.js} +8 -8
  185. package/dist/chunks/{file-retention-xfbt7487.js → generate-qwxs2wch.js} +3 -3
  186. package/dist/chunks/{file-retention-r13w8t0w.js → generate-r13w8t0w.js} +2 -2
  187. package/dist/chunks/{file-retention-r3k9abhd.js → generate-r3k9abhd.js} +2 -2
  188. package/dist/chunks/{file-retention-6m4ryqrv.js → generate-r5ea2691.js} +3 -3
  189. package/dist/chunks/{file-retention-tvkswxpr.js → generate-r7kr0f7t.js} +5 -5
  190. package/dist/chunks/{file-retention-r9d3d23r.js → generate-r9d3d23r.js} +1 -1
  191. package/dist/chunks/{file-retention-0psbeq4x.js → generate-r9xjqp77.js} +9 -9
  192. package/dist/chunks/{file-retention-rahat93a.js → generate-rahat93a.js} +1 -1
  193. package/dist/chunks/{file-retention-rbnp2c85.js → generate-rbnp2c85.js} +3 -3
  194. package/dist/chunks/{file-retention-yt3n4qfe.js → generate-rry13cy2.js} +8 -8
  195. package/dist/chunks/{file-retention-knemxxgr.js → generate-rv0xmvdv.js} +11 -11
  196. package/dist/chunks/{file-retention-s2kjqxd3.js → generate-s2kjqxd3.js} +1 -1
  197. package/dist/chunks/{file-retention-s33fw6zm.js → generate-s33fw6zm.js} +1 -1
  198. package/dist/chunks/{file-retention-dbyqx2k1.js → generate-scf97rfs.js} +13 -15
  199. package/dist/chunks/{file-retention-jppywxxe.js → generate-se51jekf.js} +11 -11
  200. package/dist/chunks/{file-retention-sy1ggvrw.js → generate-semzyf70.js} +5 -7
  201. package/dist/chunks/{file-retention-sfg41mtw.js → generate-sfg41mtw.js} +4 -4
  202. package/dist/chunks/{file-retention-smpeg8c9.js → generate-smpeg8c9.js} +2 -2
  203. package/dist/chunks/{file-retention-8hckyh3d.js → generate-spkadez8.js} +14 -14
  204. package/dist/chunks/{file-retention-vd0736v7.js → generate-sttfqfh2.js} +17 -17
  205. package/dist/chunks/{file-retention-8wwrcpwy.js → generate-svfax67v.js} +14 -14
  206. package/dist/chunks/{file-retention-sw84ckhj.js → generate-sw84ckhj.js} +1 -1
  207. package/dist/chunks/{file-retention-9tr053ng.js → generate-szk3v4z1.js} +4 -4
  208. package/dist/chunks/{file-retention-t14kykx1.js → generate-t14kykx1.js} +1 -1
  209. package/dist/chunks/{file-retention-aj0mpv77.js → generate-t3n6dtjx.js} +9 -9
  210. package/dist/chunks/{file-retention-q990r40z.js → generate-t762g30n.js} +18 -17
  211. package/dist/chunks/{file-retention-6b1bsy71.js → generate-taa6z2rc.js} +6 -6
  212. package/dist/chunks/{file-retention-tcptxgyq.js → generate-tcptxgyq.js} +1 -1
  213. package/dist/chunks/{file-retention-tgbb2ckq.js → generate-tgbb2ckq.js} +2 -2
  214. package/dist/chunks/{file-retention-thstd87d.js → generate-thstd87d.js} +1 -1
  215. package/dist/chunks/{file-retention-tjrfm0xh.js → generate-tjrfm0xh.js} +2 -2
  216. package/dist/chunks/{file-retention-q1cxxbnr.js → generate-tshqk46x.js} +13 -13
  217. package/dist/chunks/{file-retention-hv8s8kvr.js → generate-ttreehrb.js} +3 -3
  218. package/dist/chunks/{file-retention-ndwmz6a5.js → generate-tz0t8tsa.js} +5 -5
  219. package/dist/chunks/{file-retention-v2wshkax.js → generate-v2wshkax.js} +1 -1
  220. package/dist/chunks/{file-retention-v80zsxnb.js → generate-v80zsxnb.js} +1 -1
  221. package/dist/chunks/{file-retention-v972xay6.js → generate-v972xay6.js} +1 -1
  222. package/dist/chunks/{file-retention-v9bfv94f.js → generate-v9bfv94f.js} +1 -1
  223. package/dist/chunks/{file-retention-vcwr2vpf.js → generate-vcwr2vpf.js} +1 -1
  224. package/dist/chunks/{file-retention-ghtx8vj7.js → generate-vdsj8jnq.js} +4 -4
  225. package/dist/chunks/{file-retention-v4c0awce.js → generate-vg77r0ys.js} +3 -3
  226. package/dist/chunks/{file-retention-p55dpr9e.js → generate-vncrx631.js} +7 -7
  227. package/dist/chunks/{file-retention-yvwm9g6t.js → generate-vp2hdqsw.js} +4 -4
  228. package/dist/chunks/{file-retention-vqbmgfq1.js → generate-vqbmgfq1.js} +3 -3
  229. package/dist/chunks/{file-retention-2qb111m4.js → generate-vy91wccp.js} +10 -10
  230. package/dist/chunks/{file-retention-vz89hfgr.js → generate-vz89hfgr.js} +1 -1
  231. package/dist/chunks/{file-retention-wbkt8qpj.js → generate-wbkt8qpj.js} +1 -1
  232. package/dist/chunks/{file-retention-dek6vzcz.js → generate-wdcyp6fy.js} +9 -9
  233. package/dist/chunks/{file-retention-f73r8dnw.js → generate-wdns50ay.js} +149 -149
  234. package/dist/chunks/{file-retention-7c79z1cy.js → generate-wh47v275.js} +3 -3
  235. package/dist/chunks/{file-retention-gqqj1vw3.js → generate-whg27bng.js} +5 -5
  236. package/dist/chunks/{file-retention-wmxdh12w.js → generate-wmxdh12w.js} +1 -1
  237. package/dist/chunks/{file-retention-3xcvz8vq.js → generate-wp4s5hjw.js} +4 -4
  238. package/dist/chunks/{file-retention-wps8gh8n.js → generate-wps8gh8n.js} +2 -2
  239. package/dist/chunks/{file-retention-pe3sx5d9.js → generate-wqpqbgfc.js} +15 -13
  240. package/dist/chunks/{file-retention-tvsxce71.js → generate-x0k05007.js} +33 -35
  241. package/dist/chunks/{file-retention-nepjvhqj.js → generate-x701awfr.js} +4 -4
  242. package/dist/chunks/{file-retention-x89rah0x.js → generate-x89rah0x.js} +1 -1
  243. package/dist/chunks/{file-retention-xczfw7dq.js → generate-xczfw7dq.js} +1 -1
  244. package/dist/chunks/{file-retention-hy9ctjva.js → generate-xefksck5.js} +7 -7
  245. package/dist/chunks/{file-retention-xgv25zxy.js → generate-xgv25zxy.js} +1 -1
  246. package/dist/chunks/{file-retention-xj0xhwdw.js → generate-xj0xhwdw.js} +1 -1
  247. package/dist/chunks/{file-retention-fzn5yx2h.js → generate-xpzem862.js} +2 -2
  248. package/dist/chunks/{file-retention-xwftk1fd.js → generate-xwftk1fd.js} +2 -2
  249. package/dist/chunks/{file-retention-xxpvz42q.js → generate-xxpvz42q.js} +3 -3
  250. package/dist/chunks/{file-retention-3sxtgana.js → generate-y06cv10f.js} +20 -22
  251. package/dist/chunks/{file-retention-y0x38cee.js → generate-y0x38cee.js} +1 -1
  252. package/dist/chunks/{file-retention-y198y2ra.js → generate-y198y2ra.js} +1 -1
  253. package/dist/chunks/{file-retention-d9catbc9.js → generate-y5rp6rd9.js} +10 -10
  254. package/dist/chunks/{file-retention-y67x6rf6.js → generate-y67x6rf6.js} +1 -1
  255. package/dist/chunks/{file-retention-yt02w91s.js → generate-yt02w91s.js} +2 -2
  256. package/dist/chunks/{file-retention-a64ktyt4.js → generate-yyevkzg5.js} +12 -12
  257. package/dist/chunks/{file-retention-9yd8khq9.js → generate-z01f9gd1.js} +6 -6
  258. package/dist/chunks/{file-retention-67x0xaxa.js → generate-z5x6qdqp.js} +13 -13
  259. package/dist/chunks/{file-retention-zbqqnp0n.js → generate-zbqqnp0n.js} +1 -1
  260. package/dist/chunks/{file-retention-7exm38q7.js → generate-zc74ffex.js} +4 -4
  261. package/dist/chunks/{file-retention-zdkg1k91.js → generate-zdkg1k91.js} +1 -1
  262. package/dist/chunks/{file-retention-qpwecsxv.js → generate-zknjchzn.js} +11 -11
  263. package/dist/chunks/{file-retention-zgbd98g2.js → generate-zm16rxw3.js} +4 -4
  264. package/dist/chunks/{file-retention-zs1qer6v.js → generate-zs1qer6v.js} +2 -2
  265. package/dist/chunks/{file-retention-d4nm042j.js → generate-zs6a6pjh.js} +9 -9
  266. package/dist/chunks/{file-retention-zxe9jjhn.js → generate-zxe9jjhn.js} +2 -2
  267. package/dist/chunks/{file-retention-zygzxh1b.js → generate-zygzxh1b.js} +2 -2
  268. package/dist/chunks/{file-retention-88ajxzqw.js → generate-zym1de1x.js} +38 -44
  269. package/dist/codemode/catalog.js +2 -2
  270. package/dist/codemode/instructions.js +4 -4
  271. package/dist/codemode/tool.js +3 -3
  272. package/dist/command.js +70 -70
  273. package/dist/config/markdown.js +2 -2
  274. package/dist/config/normalize.js +20 -20
  275. package/dist/config/plugin/agent.js +132 -132
  276. package/dist/config/plugin/command.js +118 -118
  277. package/dist/config/plugin/compaction.js +146 -146
  278. package/dist/config/plugin/entry-observer.js +114 -114
  279. package/dist/config/plugin/formatter.js +119 -119
  280. package/dist/config/plugin/image.js +131 -131
  281. package/dist/config/plugin/instruction.js +90 -90
  282. package/dist/config/plugin/location-watcher.js +117 -117
  283. package/dist/config/plugin/mcp.js +127 -127
  284. package/dist/config/plugin/policy.js +116 -116
  285. package/dist/config/plugin/provider.js +115 -115
  286. package/dist/config/plugin/reference.js +119 -119
  287. package/dist/config/plugin/shell.js +118 -118
  288. package/dist/config/plugin/skill-file.js +103 -103
  289. package/dist/config/plugin/skill.js +135 -135
  290. package/dist/config/plugin/snapshot.js +117 -117
  291. package/dist/config/plugin/source.js +114 -114
  292. package/dist/config/plugin/tool-output.js +119 -119
  293. package/dist/config/plugin/websearch.js +115 -115
  294. package/dist/config/variable.js +4 -4
  295. package/dist/config.js +113 -113
  296. package/dist/credential/sql.js +3 -3
  297. package/dist/credential.js +71 -71
  298. package/dist/database/database.js +65 -65
  299. package/dist/database/drizzle/effect-sqlite/driver.js +13 -13
  300. package/dist/database/drizzle/effect-sqlite/index.js +13 -13
  301. package/dist/database/drizzle/effect-sqlite/session.js +12 -12
  302. package/dist/database/drizzle/index.js +14 -14
  303. package/dist/database/drizzle/internal/drizzle-utils.js +2 -2
  304. package/dist/database/drizzle/sqlite-core/effect/count.js +2 -2
  305. package/dist/database/drizzle/sqlite-core/effect/db.js +10 -10
  306. package/dist/database/drizzle/sqlite-core/effect/delete.js +3 -3
  307. package/dist/database/drizzle/sqlite-core/effect/index.js +19 -19
  308. package/dist/database/drizzle/sqlite-core/effect/insert.js +3 -3
  309. package/dist/database/drizzle/sqlite-core/effect/query.js +2 -2
  310. package/dist/database/drizzle/sqlite-core/effect/raw.js +2 -2
  311. package/dist/database/drizzle/sqlite-core/effect/select.js +3 -3
  312. package/dist/database/drizzle/sqlite-core/effect/session.js +11 -11
  313. package/dist/database/drizzle/sqlite-core/effect/update.js +3 -3
  314. package/dist/database/drizzle.js +15 -15
  315. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +2 -2
  316. package/dist/database/migration/20260211171708_add_project_commands.js +2 -2
  317. package/dist/database/migration/20260213144116_wakeful_the_professor.js +2 -2
  318. package/dist/database/migration/20260225215848_workspace.js +2 -2
  319. package/dist/database/migration/20260227213759_add_session_workspace_id.js +2 -2
  320. package/dist/database/migration/20260228203230_blue_harpoon.js +2 -2
  321. package/dist/database/migration/20260303231226_add_workspace_fields.js +2 -2
  322. package/dist/database/migration/20260309230000_move_org_to_state.js +2 -2
  323. package/dist/database/migration/20260312043431_session_message_cursor.js +2 -2
  324. package/dist/database/migration/20260323234822_events.js +2 -2
  325. package/dist/database/migration/20260410174513_workspace-name.js +2 -2
  326. package/dist/database/migration/20260413175956_chief_energizer.js +2 -2
  327. package/dist/database/migration/20260423070820_add_icon_url_override.js +2 -2
  328. package/dist/database/migration/20260427172553_slow_nightmare.js +2 -2
  329. package/dist/database/migration/20260428004200_add_session_path.js +2 -2
  330. package/dist/database/migration/20260501142318_next_venus.js +2 -2
  331. package/dist/database/migration/20260504145000_add_sync_owner.js +2 -2
  332. package/dist/database/migration/20260507164347_add_workspace_time.js +2 -2
  333. package/dist/database/migration/20260510033149_session_usage.js +2 -2
  334. package/dist/database/migration/20260511000411_data_migration_state.js +2 -2
  335. package/dist/database/migration/20260511173437_session-metadata.js +2 -2
  336. package/dist/database/migration/20260601010001_normalize_storage_paths.js +2 -2
  337. package/dist/database/migration/20260601202201_amazing_prowler.js +2 -2
  338. package/dist/database/migration/20260602002951_lowly_union_jack.js +2 -2
  339. package/dist/database/migration/20260602182828_add_project_directories.js +2 -2
  340. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +2 -2
  341. package/dist/database/migration/20260603040000_session_message_projection_order.js +2 -2
  342. package/dist/database/migration/20260603141458_session_input_inbox.js +2 -2
  343. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +2 -2
  344. package/dist/database/migration/20260604172448_event_sourced_session_input.js +2 -2
  345. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +2 -2
  346. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +2 -2
  347. package/dist/database/migration/20260611035744_credential.js +2 -2
  348. package/dist/database/migration/20260611192811_lush_chimera.js +2 -2
  349. package/dist/database/migration/20260612174303_project_dir_strategy.js +2 -2
  350. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +2 -2
  351. package/dist/database/migration/20260622170816_reset_v2_session_state.js +2 -2
  352. package/dist/database/migration/20260622202450_simplify_session_input.js +2 -2
  353. package/dist/database/migration/20260804233008_loose_psylocke.js +2 -2
  354. package/dist/database/migration/20260805200742_import_legacy_credentials.js +2 -2
  355. package/dist/database/migration/20260808023530_workspace_domain.js +2 -2
  356. package/dist/database/migration/20260811161259_execution_claim_attempts.js +2 -2
  357. package/dist/database/migration/20260812181746_session_inbox.js +2 -2
  358. package/dist/database/migration/20260812213948_worktree.js +2 -2
  359. package/dist/database/migration/20260819222447_session_viewed_state.js +2 -2
  360. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +2 -2
  361. package/dist/database/migration.gen.js +48 -48
  362. package/dist/database/migration.js +50 -50
  363. package/dist/database/path.js +3 -3
  364. package/dist/database/schema.gen.js +2 -2
  365. package/dist/database/schema.sql.js +2 -2
  366. package/dist/database/sqlite.bun.js +2 -2
  367. package/dist/database/sqlite.js +2 -2
  368. package/dist/database/sqlite.node.js +2 -2
  369. package/dist/database/sqlite.workerd.js +2 -2
  370. package/dist/database/v1-migration.bun.js +77 -77
  371. package/dist/database/v1-migration.js +2 -2
  372. package/dist/database/v1-migration.noop.js +1 -1
  373. package/dist/effect/app-node-builder.js +333 -333
  374. package/dist/effect/app-node-platform.js +3 -3
  375. package/dist/effect/keyed-mutex.js +2 -2
  376. package/dist/effect/websocket-constructor.js +2 -2
  377. package/dist/environment/driver.js +1 -1
  378. package/dist/environment/environment.js +91 -91
  379. package/dist/environment/exec-defaults.js +3 -3
  380. package/dist/environment/files.js +2 -2
  381. package/dist/environment/index.js +93 -93
  382. package/dist/environment/local.js +3 -3
  383. package/dist/environment/memory.js +3 -3
  384. package/dist/environment/unavailable.js +1 -1
  385. package/dist/event/sql.js +2 -2
  386. package/dist/event-logger.js +68 -68
  387. package/dist/file-mutation.js +92 -92
  388. package/dist/file-retention.js +2 -2
  389. package/dist/file.js +2 -2
  390. package/dist/filesystem/fff.bun.js +2 -2
  391. package/dist/filesystem/fff.js +2 -2
  392. package/dist/filesystem/fff.node.js +2 -2
  393. package/dist/filesystem/fff.workerd.js +2 -2
  394. package/dist/filesystem/ignore.js +1 -1
  395. package/dist/filesystem/location-watcher-policy.js +3 -3
  396. package/dist/filesystem/location-watcher.js +309 -309
  397. package/dist/filesystem/protected.js +2 -2
  398. package/dist/filesystem/search.js +96 -96
  399. package/dist/filesystem/watcher-binding.js +2 -2
  400. package/dist/filesystem/watcher.js +4 -4
  401. package/dist/filesystem.js +97 -97
  402. package/dist/form.js +69 -69
  403. package/dist/formatter/builtins.js +3 -3
  404. package/dist/formatter.js +85 -85
  405. package/dist/generate.js +84 -84
  406. package/dist/git.js +5 -5
  407. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +2 -2
  408. package/dist/github-copilot/chat/get-response-metadata.js +2 -2
  409. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +2 -2
  410. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +8 -8
  411. package/dist/github-copilot/chat/openai-compatible-chat-options.js +2 -2
  412. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +2 -2
  413. package/dist/github-copilot/copilot-provider.js +18 -18
  414. package/dist/github-copilot/models.js +4 -4
  415. package/dist/github-copilot/openai-compatible-error.js +2 -2
  416. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +2 -2
  417. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +2 -2
  418. package/dist/github-copilot/responses/openai-error.js +2 -2
  419. package/dist/github-copilot/responses/openai-responses-language-model.js +11 -11
  420. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +7 -7
  421. package/dist/github-copilot/responses/tool/code-interpreter.js +2 -2
  422. package/dist/github-copilot/responses/tool/file-search.js +2 -2
  423. package/dist/github-copilot/responses/tool/image-generation.js +2 -2
  424. package/dist/github-copilot/responses/tool/web-search-preview.js +2 -2
  425. package/dist/github-copilot/responses/tool/web-search.js +2 -2
  426. package/dist/id/id.js +2 -2
  427. package/dist/image/photon-wasm.bun.js +1 -1
  428. package/dist/image/photon-wasm.node.js +1 -1
  429. package/dist/image/photon-wasm.workerd.js +1 -1
  430. package/dist/image/photon.js +99 -99
  431. package/dist/image.js +99 -99
  432. package/dist/instance.js +332 -332
  433. package/dist/instruction-discovery.js +72 -72
  434. package/dist/instructions/builtins.js +85 -86
  435. package/dist/instructions/index.js +2 -2
  436. package/dist/integration/connection.js +2 -2
  437. package/dist/integration.js +75 -75
  438. package/dist/job.js +72 -72
  439. package/dist/kv/sql.js +3 -3
  440. package/dist/kv.js +68 -68
  441. package/dist/location-activity.js +85 -85
  442. package/dist/location-mutation.js +84 -84
  443. package/dist/location-service-map.js +84 -84
  444. package/dist/location-services.js +333 -333
  445. package/dist/location.js +83 -83
  446. package/dist/mcp/client.js +92 -92
  447. package/dist/mcp/index.js +98 -98
  448. package/dist/mcp/instructions.js +127 -127
  449. package/dist/mcp/oauth.js +2 -2
  450. package/dist/mcp/stdio.js +92 -92
  451. package/dist/mime.js +2 -2
  452. package/dist/model-resolver.js +81 -81
  453. package/dist/model.js +3 -3
  454. package/dist/models-dev.js +75 -75
  455. package/dist/oauth/page.js +2 -2
  456. package/dist/permission/saved.js +71 -84
  457. package/dist/permission/sql.js +6 -6
  458. package/dist/permission.js +100 -100
  459. package/dist/persistent-pty/binary.bun.js +2 -2
  460. package/dist/persistent-pty/binary.node.js +1 -1
  461. package/dist/persistent-pty/binary.workerd.js +1 -1
  462. package/dist/persistent-pty/daemon.js +2 -2
  463. package/dist/persistent-pty/index.js +73 -73
  464. package/dist/persistent-pty/pty-binding.js +2 -2
  465. package/dist/persistent-pty.js +74 -74
  466. package/dist/plugin/agent.js +101 -101
  467. package/dist/plugin/command.js +99 -99
  468. package/dist/plugin/hooks.js +3 -3
  469. package/dist/plugin/host.js +174 -174
  470. package/dist/plugin/instance.js +2 -2
  471. package/dist/plugin/internal.js +302 -302
  472. package/dist/plugin/mcp-codemode-exclusion.js +2 -2
  473. package/dist/plugin/models-dev.js +76 -76
  474. package/dist/plugin/module.js +3 -3
  475. package/dist/plugin/plan.js +101 -101
  476. package/dist/plugin/promise.js +2 -2
  477. package/dist/plugin/provider/alibaba.js +3 -3
  478. package/dist/plugin/provider/amazon-bedrock.js +3 -3
  479. package/dist/plugin/provider/anthropic.js +3 -3
  480. package/dist/plugin/provider/azure.js +123 -123
  481. package/dist/plugin/provider/cerebras.js +3 -3
  482. package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
  483. package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
  484. package/dist/plugin/provider/cohere.js +3 -3
  485. package/dist/plugin/provider/configured.js +119 -119
  486. package/dist/plugin/provider/dynamic.js +3 -3
  487. package/dist/plugin/provider/factory.js +2 -2
  488. package/dist/plugin/provider/gateway.js +3 -3
  489. package/dist/plugin/provider/github-copilot.js +82 -82
  490. package/dist/plugin/provider/gitlab.js +4 -4
  491. package/dist/plugin/provider/google-vertex.js +3 -3
  492. package/dist/plugin/provider/kilo.js +3 -3
  493. package/dist/plugin/provider/llmgateway.js +77 -77
  494. package/dist/plugin/provider/lmstudio.js +120 -120
  495. package/dist/plugin/provider/mistral.js +3 -3
  496. package/dist/plugin/provider/nvidia.js +3 -3
  497. package/dist/plugin/provider/ollama.js +120 -120
  498. package/dist/plugin/provider/openai-compatible.js +2 -2
  499. package/dist/plugin/provider/openai.js +79 -79
  500. package/dist/plugin/provider/opencode.js +93 -93
  501. package/dist/plugin/provider/openrouter.js +4 -4
  502. package/dist/plugin/provider/perplexity.js +3 -3
  503. package/dist/plugin/provider/sap-ai-core.js +4 -4
  504. package/dist/plugin/provider/sdk-factory.js +2 -2
  505. package/dist/plugin/provider/snowflake-cortex.js +3 -3
  506. package/dist/plugin/provider/venice.js +3 -3
  507. package/dist/plugin/provider/vercel.js +3 -3
  508. package/dist/plugin/provider/vllm.js +120 -120
  509. package/dist/plugin/provider/xai.js +78 -78
  510. package/dist/plugin/provider/zenmux.js +3 -3
  511. package/dist/plugin/provider.js +159 -159
  512. package/dist/plugin/runtime.js +162 -162
  513. package/dist/plugin/sdk.js +69 -69
  514. package/dist/plugin/skill.js +133 -133
  515. package/dist/plugin/source-directory.js +2 -2
  516. package/dist/plugin/supervisor-service.js +2 -2
  517. package/dist/plugin/supervisor.js +308 -308
  518. package/dist/plugin/system-prompt.js +2 -2
  519. package/dist/plugin/variant.js +3 -4
  520. package/dist/plugin/vcs/git.js +85 -85
  521. package/dist/plugin/vcs/hg.js +85 -85
  522. package/dist/plugin/warming.js +114 -115
  523. package/dist/plugin/websearch/exa.js +4 -4
  524. package/dist/plugin/websearch/firecrawl.js +5 -5
  525. package/dist/plugin/websearch/index.js +9 -9
  526. package/dist/plugin/websearch/mcp.js +3 -3
  527. package/dist/plugin/websearch/parallel.js +5 -5
  528. package/dist/plugin/websearch/tavily.js +3 -3
  529. package/dist/plugin.js +175 -175
  530. package/dist/project/markers.js +74 -74
  531. package/dist/project/schema.js +3 -3
  532. package/dist/project/sql.js +5 -5
  533. package/dist/project.js +82 -82
  534. package/dist/provider.js +2 -2
  535. package/dist/pty/protocol.js +1 -1
  536. package/dist/pty/pty.bun.js +1 -1
  537. package/dist/pty/pty.node.js +1 -1
  538. package/dist/pty/pty.workerd.js +1 -1
  539. package/dist/pty/schema.js +2 -2
  540. package/dist/pty/ticket.js +2 -70
  541. package/dist/pty.js +89 -89
  542. package/dist/reference/instructions.js +77 -77
  543. package/dist/reference.js +75 -75
  544. package/dist/repository-cache.js +7 -7
  545. package/dist/repository.js +2 -2
  546. package/dist/ripgrep/binary.js +3 -3
  547. package/dist/ripgrep.js +94 -94
  548. package/dist/schema.js +2 -2
  549. package/dist/session/compaction.js +118 -118
  550. package/dist/session/context.js +318 -318
  551. package/dist/session/environment.js +3 -3
  552. package/dist/session/error.js +4 -4
  553. package/dist/session/event.js +2 -2
  554. package/dist/session/execution/restart.js +157 -157
  555. package/dist/session/execution.js +122 -122
  556. package/dist/session/generate-node.js +319 -319
  557. package/dist/session/generate.js +2 -2
  558. package/dist/session/history.js +77 -77
  559. package/dist/session/inbox.js +77 -77
  560. package/dist/session/info.js +4 -4
  561. package/dist/session/instruction-entry.js +73 -73
  562. package/dist/session/instruction-state.js +10 -10
  563. package/dist/session/instructions.js +94 -94
  564. package/dist/session/message-updater.js +4 -4
  565. package/dist/session/message.js +2 -2
  566. package/dist/session/model-request.js +139 -139
  567. package/dist/session/model-transport.js +5 -5
  568. package/dist/session/projector.js +83 -83
  569. package/dist/session/revert.js +90 -90
  570. package/dist/session/run-coordinator.js +2 -2
  571. package/dist/session/runner/index.js +84 -84
  572. package/dist/session/runner/llm.js +324 -324
  573. package/dist/session/runner/max-steps.js +2 -2
  574. package/dist/session/runner/model.js +83 -83
  575. package/dist/session/runner/publish-llm-event.js +4 -4
  576. package/dist/session/runner/retry.js +74 -74
  577. package/dist/session/runner/step.js +148 -148
  578. package/dist/session/runner/to-llm-message.js +2 -2
  579. package/dist/session/schema.js +2 -2
  580. package/dist/session/sql.js +6 -6
  581. package/dist/session/stats.js +71 -71
  582. package/dist/session/store.js +79 -79
  583. package/dist/session/system-prompt.js +2 -2
  584. package/dist/session/title.js +319 -319
  585. package/dist/session/to-session-error.js +113 -113
  586. package/dist/session/transfer.js +162 -167
  587. package/dist/session/usage.js +2 -2
  588. package/dist/session.js +157 -157
  589. package/dist/shell/parse.js +7 -7
  590. package/dist/shell/parser-wasm.bun.js +1 -1
  591. package/dist/shell/parser-wasm.node.js +1 -1
  592. package/dist/shell/parser-wasm.workerd.js +1 -1
  593. package/dist/shell/scan.js +1 -1
  594. package/dist/shell/select.js +4 -4
  595. package/dist/shell.js +99 -99
  596. package/dist/skill/discovery.js +3 -3
  597. package/dist/skill/instructions.js +102 -102
  598. package/dist/skill.js +101 -101
  599. package/dist/snapshot.js +85 -85
  600. package/dist/state.js +2 -2
  601. package/dist/tool/html-markdown.js +2 -2
  602. package/dist/tool/http-body.js +2 -2
  603. package/dist/tool/mcp.js +126 -126
  604. package/dist/tool/plugin/edit.js +113 -113
  605. package/dist/tool/plugin/file-diff.js +2 -2
  606. package/dist/tool/plugin/glob.js +116 -116
  607. package/dist/tool/plugin/grep.js +116 -116
  608. package/dist/tool/plugin/patch.js +113 -113
  609. package/dist/tool/plugin/question.js +102 -102
  610. package/dist/tool/plugin/read.js +119 -119
  611. package/dist/tool/plugin/shell.js +190 -190
  612. package/dist/tool/plugin/skill.js +102 -102
  613. package/dist/tool/plugin/subagent.js +187 -187
  614. package/dist/tool/plugin/webfetch.js +103 -103
  615. package/dist/tool/plugin/websearch.js +105 -105
  616. package/dist/tool/plugin/write.js +113 -113
  617. package/dist/tool/read-filesystem.js +99 -99
  618. package/dist/tool/runtime.js +2 -2
  619. package/dist/tool-output.js +5 -5
  620. package/dist/tool.js +119 -119
  621. package/dist/types/instructions/builtins.d.ts +2 -2
  622. package/dist/types/plugin/variant.d.ts +1 -1
  623. package/dist/types/pty/ticket.d.ts +1 -1
  624. package/dist/types/session/model-request.d.ts +3 -2
  625. package/dist/types/session/runner/model.d.ts +6 -6
  626. package/dist/types/session/runner/publish-llm-event.d.ts +7 -5
  627. package/dist/types/session/runner/retry.d.ts +28 -4
  628. package/dist/types/session/runner/step.d.ts +21 -17
  629. package/dist/types/session/runner/to-llm-message.d.ts +1 -1
  630. package/dist/types/skill.d.ts +1 -1
  631. package/dist/util/array.js +1 -1
  632. package/dist/util/error.js +2 -2
  633. package/dist/util/identifier.js +1 -1
  634. package/dist/util/iife.js +2 -2
  635. package/dist/util/lazy.js +2 -2
  636. package/dist/util/process-lock-ffi.bun.js +1 -1
  637. package/dist/util/process-lock-ffi.node.js +1 -1
  638. package/dist/util/process-lock-ffi.workerd.js +1 -1
  639. package/dist/util/process-lock.js +1 -1
  640. package/dist/util/slug.js +2 -2
  641. package/dist/util/token.js +2 -2
  642. package/dist/util/which.js +2 -2
  643. package/dist/util/wildcard.js +2 -2
  644. package/dist/v1/config/agent.js +4 -4
  645. package/dist/v1/config/attachment.js +3 -3
  646. package/dist/v1/config/command.js +2 -2
  647. package/dist/v1/config/config.js +15 -15
  648. package/dist/v1/config/error.js +3 -3
  649. package/dist/v1/config/formatter.js +2 -2
  650. package/dist/v1/config/layout.js +2 -2
  651. package/dist/v1/config/lsp.js +2 -2
  652. package/dist/v1/config/mcp.js +3 -3
  653. package/dist/v1/config/migrate.js +19 -19
  654. package/dist/v1/config/permission.js +2 -2
  655. package/dist/v1/config/plugin.js +2 -2
  656. package/dist/v1/config/provider-options.js +2 -2
  657. package/dist/v1/config/provider.js +3 -3
  658. package/dist/v1/config/server.js +3 -3
  659. package/dist/v1/config/skills.js +2 -2
  660. package/dist/v1/permission.js +1 -1
  661. package/dist/vcs/patch.js +2 -2
  662. package/dist/vcs.js +86 -86
  663. package/dist/websearch.js +73 -73
  664. package/dist/wellknown/plugin.js +73 -73
  665. package/dist/wellknown.js +72 -72
  666. package/dist/workspace/driver.js +2 -2
  667. package/dist/workspace/sql.js +2 -2
  668. package/dist/workspace.js +69 -69
  669. package/dist/worktree/directory.js +3 -3
  670. package/dist/worktree/git.js +7 -7
  671. package/dist/worktree/sql.js +6 -6
  672. package/dist/worktree.js +87 -87
  673. package/package.json +7 -7
  674. package/dist/chunks/file-retention-tqf07m3e.js +0 -62
  675. /package/dist/chunks/{file-retention-0cgt0xh2.js → generate-0cgt0xh2.js} +0 -0
  676. /package/dist/chunks/{file-retention-0f48qthw.js → generate-0f48qthw.js} +0 -0
  677. /package/dist/chunks/{file-retention-0zz82cjq.js → generate-0zz82cjq.js} +0 -0
  678. /package/dist/chunks/{file-retention-1fb7bmpf.js → generate-1fb7bmpf.js} +0 -0
  679. /package/dist/chunks/{file-retention-1wcz8fvj.js → generate-1wcz8fvj.js} +0 -0
  680. /package/dist/chunks/{file-retention-29n7vfk2.js → generate-29n7vfk2.js} +0 -0
  681. /package/dist/chunks/{file-retention-2qdx6zz3.js → generate-2qdx6zz3.js} +0 -0
  682. /package/dist/chunks/{file-retention-2xb0r1c6.js → generate-2xb0r1c6.js} +0 -0
  683. /package/dist/chunks/{file-retention-39ktntah.js → generate-39ktntah.js} +0 -0
  684. /package/dist/chunks/{file-retention-3g3rpp2x.js → generate-3g3rpp2x.js} +0 -0
  685. /package/dist/chunks/{file-retention-3w3ybtfd.js → generate-3w3ybtfd.js} +0 -0
  686. /package/dist/chunks/{file-retention-47ty4mvs.js → generate-47ty4mvs.js} +0 -0
  687. /package/dist/chunks/{file-retention-4b2tz2m9.js → generate-4b2tz2m9.js} +0 -0
  688. /package/dist/chunks/{file-retention-5a5ch9ts.js → generate-5a5ch9ts.js} +0 -0
  689. /package/dist/chunks/{file-retention-5va1yh78.js → generate-5va1yh78.js} +0 -0
  690. /package/dist/chunks/{file-retention-61ek4hj9.js → generate-61ek4hj9.js} +0 -0
  691. /package/dist/chunks/{file-retention-69qrqpw0.js → generate-69qrqpw0.js} +0 -0
  692. /package/dist/chunks/{file-retention-6zqxzw0a.js → generate-6zqxzw0a.js} +0 -0
  693. /package/dist/chunks/{file-retention-7n9qwqk4.js → generate-7n9qwqk4.js} +0 -0
  694. /package/dist/chunks/{file-retention-8nn8kqcn.js → generate-8nn8kqcn.js} +0 -0
  695. /package/dist/chunks/{file-retention-8rpfd2h6.js → generate-8rpfd2h6.js} +0 -0
  696. /package/dist/chunks/{file-retention-8sj3ajy5.js → generate-8sj3ajy5.js} +0 -0
  697. /package/dist/chunks/{file-retention-8w9tzfz1.js → generate-8w9tzfz1.js} +0 -0
  698. /package/dist/chunks/{file-retention-906y0b6d.js → generate-906y0b6d.js} +0 -0
  699. /package/dist/chunks/{file-retention-9dct5xhx.js → generate-9dct5xhx.js} +0 -0
  700. /package/dist/chunks/{file-retention-9maxscqf.js → generate-9maxscqf.js} +0 -0
  701. /package/dist/chunks/{file-retention-9sdtsapf.js → generate-9sdtsapf.js} +0 -0
  702. /package/dist/chunks/{file-retention-a02svayp.js → generate-a02svayp.js} +0 -0
  703. /package/dist/chunks/{file-retention-a83yvq99.js → generate-a83yvq99.js} +0 -0
  704. /package/dist/chunks/{file-retention-a9vdgkgd.js → generate-a9vdgkgd.js} +0 -0
  705. /package/dist/chunks/{file-retention-ayevdmef.js → generate-ayevdmef.js} +0 -0
  706. /package/dist/chunks/{file-retention-b02txbh8.js → generate-b02txbh8.js} +0 -0
  707. /package/dist/chunks/{file-retention-bbqs2y60.js → generate-bbqs2y60.js} +0 -0
  708. /package/dist/chunks/{file-retention-bjwj8hwv.js → generate-bjwj8hwv.js} +0 -0
  709. /package/dist/chunks/{file-retention-brsh5f65.js → generate-brsh5f65.js} +0 -0
  710. /package/dist/chunks/{file-retention-bxdhjb3y.js → generate-bxdhjb3y.js} +0 -0
  711. /package/dist/chunks/{file-retention-c77ad0vh.js → generate-c77ad0vh.js} +0 -0
  712. /package/dist/chunks/{file-retention-cm67rqy2.js → generate-cm67rqy2.js} +0 -0
  713. /package/dist/chunks/{file-retention-df3v2q6j.js → generate-df3v2q6j.js} +0 -0
  714. /package/dist/chunks/{file-retention-dhcq6c44.js → generate-dhcq6c44.js} +0 -0
  715. /package/dist/chunks/{file-retention-dht5baf0.js → generate-dht5baf0.js} +0 -0
  716. /package/dist/chunks/{file-retention-dkmkay92.js → generate-dkmkay92.js} +0 -0
  717. /package/dist/chunks/{file-retention-ehj9csmv.js → generate-ehj9csmv.js} +0 -0
  718. /package/dist/chunks/{file-retention-em6xpscd.js → generate-em6xpscd.js} +0 -0
  719. /package/dist/chunks/{file-retention-emmqknsm.js → generate-emmqknsm.js} +0 -0
  720. /package/dist/chunks/{file-retention-ezs3tagn.js → generate-ezs3tagn.js} +0 -0
  721. /package/dist/chunks/{file-retention-f14r7hfz.js → generate-f14r7hfz.js} +0 -0
  722. /package/dist/chunks/{file-retention-f1jj19e8.js → generate-f1jj19e8.js} +0 -0
  723. /package/dist/chunks/{file-retention-f4cp4g4a.js → generate-f4cp4g4a.js} +0 -0
  724. /package/dist/chunks/{file-retention-faypg4r1.js → generate-faypg4r1.js} +0 -0
  725. /package/dist/chunks/{file-retention-fg7fz4q3.js → generate-fg7fz4q3.js} +0 -0
  726. /package/dist/chunks/{file-retention-fgbfdq62.js → generate-fgbfdq62.js} +0 -0
  727. /package/dist/chunks/{file-retention-gd5xeqc2.js → generate-gd5xeqc2.js} +0 -0
  728. /package/dist/chunks/{file-retention-ghm4673n.js → generate-ghm4673n.js} +0 -0
  729. /package/dist/chunks/{file-retention-ghwjy7my.js → generate-ghwjy7my.js} +0 -0
  730. /package/dist/chunks/{file-retention-gy500k2r.js → generate-gy500k2r.js} +0 -0
  731. /package/dist/chunks/{file-retention-hzeg9cfr.js → generate-hzeg9cfr.js} +0 -0
  732. /package/dist/chunks/{file-retention-j07kk359.js → generate-j07kk359.js} +0 -0
  733. /package/dist/chunks/{file-retention-j32vdj8r.js → generate-j32vdj8r.js} +0 -0
  734. /package/dist/chunks/{file-retention-jqms80b0.js → generate-jqms80b0.js} +0 -0
  735. /package/dist/chunks/{file-retention-jve7t217.js → generate-jve7t217.js} +0 -0
  736. /package/dist/chunks/{file-retention-k3e42drn.js → generate-k3e42drn.js} +0 -0
  737. /package/dist/chunks/{file-retention-k8b45nas.js → generate-k8b45nas.js} +0 -0
  738. /package/dist/chunks/{file-retention-kpdbz7gn.js → generate-kpdbz7gn.js} +0 -0
  739. /package/dist/chunks/{file-retention-kxy11nzk.js → generate-kxy11nzk.js} +0 -0
  740. /package/dist/chunks/{file-retention-kyyqvx4s.js → generate-kyyqvx4s.js} +0 -0
  741. /package/dist/chunks/{file-retention-m8cbvarh.js → generate-m8cbvarh.js} +0 -0
  742. /package/dist/chunks/{file-retention-ma60vzgv.js → generate-ma60vzgv.js} +0 -0
  743. /package/dist/chunks/{file-retention-n3m50c2t.js → generate-n3m50c2t.js} +0 -0
  744. /package/dist/chunks/{file-retention-n6ag8q95.js → generate-n6ag8q95.js} +0 -0
  745. /package/dist/chunks/{file-retention-nkm1m8dz.js → generate-nkm1m8dz.js} +0 -0
  746. /package/dist/chunks/{file-retention-nsc0c3zb.js → generate-nsc0c3zb.js} +0 -0
  747. /package/dist/chunks/{file-retention-qaarhjrp.js → generate-qaarhjrp.js} +0 -0
  748. /package/dist/chunks/{file-retention-qc167nrn.js → generate-qc167nrn.js} +0 -0
  749. /package/dist/chunks/{file-retention-qp95y4jb.js → generate-qp95y4jb.js} +0 -0
  750. /package/dist/chunks/{file-retention-r8f4w671.js → generate-r8f4w671.js} +0 -0
  751. /package/dist/chunks/{file-retention-rdfev9jy.js → generate-rdfev9jy.js} +0 -0
  752. /package/dist/chunks/{file-retention-rvfvac9x.js → generate-rvfvac9x.js} +0 -0
  753. /package/dist/chunks/{file-retention-s7whb9gt.js → generate-s7whb9gt.js} +0 -0
  754. /package/dist/chunks/{file-retention-se76j685.js → generate-se76j685.js} +0 -0
  755. /package/dist/chunks/{file-retention-sem2g21k.js → generate-sem2g21k.js} +0 -0
  756. /package/dist/chunks/{file-retention-sp575ygv.js → generate-sp575ygv.js} +0 -0
  757. /package/dist/chunks/{file-retention-tmb1f636.js → generate-tmb1f636.js} +0 -0
  758. /package/dist/chunks/{file-retention-ttxf0gsy.js → generate-ttxf0gsy.js} +0 -0
  759. /package/dist/chunks/{file-retention-tvmhrvfj.js → generate-tvmhrvfj.js} +0 -0
  760. /package/dist/chunks/{file-retention-v2adqbbe.js → generate-v2adqbbe.js} +0 -0
  761. /package/dist/chunks/{file-retention-vac9eqd2.js → generate-vac9eqd2.js} +0 -0
  762. /package/dist/chunks/{file-retention-wj4sxzqa.js → generate-wj4sxzqa.js} +0 -0
  763. /package/dist/chunks/{file-retention-wwntjmk1.js → generate-wwntjmk1.js} +0 -0
  764. /package/dist/chunks/{file-retention-wyqjaaa5.js → generate-wyqjaaa5.js} +0 -0
  765. /package/dist/chunks/{file-retention-x4q807cx.js → generate-x4q807cx.js} +0 -0
  766. /package/dist/chunks/{file-retention-yrqrg4vp.js → generate-yrqrg4vp.js} +0 -0
  767. /package/dist/chunks/{file-retention-z47nswr2.js → generate-z47nswr2.js} +0 -0
  768. /package/dist/chunks/{file-retention-zsf8rs93.js → generate-zsf8rs93.js} +0 -0
@@ -1,118 +1,118 @@
1
1
  import {
2
2
  exports_supervisor_service
3
- } from "./file-retention-s33fw6zm.js";
4
- import {
5
- exports_revert
6
- } from "./file-retention-d4nm042j.js";
7
- import {
8
- exports_generate
9
- } from "./file-retention-xgv25zxy.js";
3
+ } from "./generate-s33fw6zm.js";
10
4
  import {
11
5
  exports_projector
12
- } from "./file-retention-vd0736v7.js";
6
+ } from "./generate-sttfqfh2.js";
13
7
  import {
14
8
  exports_instruction_entry
15
- } from "./file-retention-fs15zf5f.js";
9
+ } from "./generate-8r3atazp.js";
10
+ import {
11
+ exports_revert
12
+ } from "./generate-zs6a6pjh.js";
16
13
  import {
17
14
  exports_execution
18
- } from "./file-retention-8wwrcpwy.js";
15
+ } from "./generate-svfax67v.js";
19
16
  import {
20
17
  exports_inbox
21
- } from "./file-retention-8p3j8jzj.js";
18
+ } from "./generate-8p3j8jzj.js";
22
19
  import {
23
20
  exports_model_transport
24
- } from "./file-retention-tjrfm0xh.js";
25
- import {
26
- exports_command
27
- } from "./file-retention-jamxwswv.js";
21
+ } from "./generate-tjrfm0xh.js";
28
22
  import {
29
- exports_location_service_map
30
- } from "./file-retention-zdkg1k91.js";
23
+ exports_generate
24
+ } from "./generate-xgv25zxy.js";
31
25
  import {
32
26
  exports_app
33
- } from "./file-retention-50jxp3hw.js";
27
+ } from "./generate-50jxp3hw.js";
34
28
  import {
35
29
  exports_mime
36
- } from "./file-retention-dhphtf1x.js";
30
+ } from "./generate-dhphtf1x.js";
31
+ import {
32
+ exports_shell
33
+ } from "./generate-zknjchzn.js";
34
+ import {
35
+ exports_environment
36
+ } from "./generate-6ky7rqk7.js";
37
+ import {
38
+ exports_location_service_map
39
+ } from "./generate-zdkg1k91.js";
37
40
  import {
38
41
  exports_skill
39
- } from "./file-retention-8gw9awa4.js";
42
+ } from "./generate-3teqxqcn.js";
43
+ import {
44
+ Slug
45
+ } from "./generate-df3v2q6j.js";
46
+ import {
47
+ exports_image
48
+ } from "./generate-39h0zntn.js";
40
49
  import {
41
50
  exports_store
42
- } from "./file-retention-tvkswxpr.js";
51
+ } from "./generate-r7kr0f7t.js";
43
52
  import {
44
53
  fromRow
45
- } from "./file-retention-bn980987.js";
54
+ } from "./generate-bn980987.js";
46
55
  import {
47
56
  exports_history
48
- } from "./file-retention-dek6vzcz.js";
49
- import {
50
- exports_instruction_state
51
- } from "./file-retention-0687t5rp.js";
57
+ } from "./generate-wdcyp6fy.js";
52
58
  import {
53
59
  ForkEmptyError,
54
60
  MessageDecodeError,
55
61
  NotFoundError
56
- } from "./file-retention-fb7nfzf2.js";
62
+ } from "./generate-fb7nfzf2.js";
63
+ import {
64
+ exports_instruction_state
65
+ } from "./generate-0687t5rp.js";
57
66
  import {
58
67
  SessionMessageTable,
59
68
  SessionTable
60
- } from "./file-retention-q606pcse.js";
69
+ } from "./generate-q606pcse.js";
61
70
  import {
62
71
  SessionEvent
63
- } from "./file-retention-a83yvq99.js";
64
- import {
65
- Slug
66
- } from "./file-retention-df3v2q6j.js";
67
- import {
68
- exports_image
69
- } from "./file-retention-a4a08a6q.js";
70
- import {
71
- exports_shell
72
- } from "./file-retention-qpwecsxv.js";
73
- import {
74
- exports_environment
75
- } from "./file-retention-6ky7rqk7.js";
72
+ } from "./generate-a83yvq99.js";
76
73
  import {
77
74
  exports_hooks
78
- } from "./file-retention-v2wshkax.js";
75
+ } from "./generate-v2wshkax.js";
79
76
  import {
80
77
  exports_location
81
- } from "./file-retention-g3m3y0g8.js";
78
+ } from "./generate-cxgs242t.js";
82
79
  import {
83
80
  exports_project
84
- } from "./file-retention-pp25d1ka.js";
81
+ } from "./generate-50zw5v50.js";
85
82
  import {
86
83
  upsertProject
87
- } from "./file-retention-c8ya26sa.js";
84
+ } from "./generate-c8ya26sa.js";
88
85
  import {
89
86
  AbsolutePath,
90
87
  PositiveInt,
91
88
  RelativePath
92
- } from "./file-retention-j07kk359.js";
89
+ } from "./generate-j07kk359.js";
90
+ import {
91
+ exports_command
92
+ } from "./generate-n163c54s.js";
93
93
  import {
94
94
  exports_bus
95
- } from "./file-retention-ghtx8vj7.js";
95
+ } from "./generate-vdsj8jnq.js";
96
96
  import {
97
97
  exports_keyed_mutex
98
- } from "./file-retention-0kvmztkf.js";
98
+ } from "./generate-0kvmztkf.js";
99
99
  import {
100
100
  exports_job
101
- } from "./file-retention-p55dpr9e.js";
101
+ } from "./generate-vncrx631.js";
102
102
  import {
103
103
  SessionMessage
104
- } from "./file-retention-8rpfd2h6.js";
104
+ } from "./generate-8rpfd2h6.js";
105
105
  import {
106
106
  ID,
107
107
  Info,
108
108
  SessionSchema
109
- } from "./file-retention-bjwj8hwv.js";
109
+ } from "./generate-bjwj8hwv.js";
110
110
  import {
111
111
  exports_database
112
- } from "./file-retention-8jnsgpze.js";
112
+ } from "./generate-ask63heb.js";
113
113
  import {
114
114
  __export
115
- } from "./file-retention-rvfvac9x.js";
115
+ } from "./generate-rvfvac9x.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  exports_app
3
- } from "./file-retention-50jxp3hw.js";
3
+ } from "./generate-50jxp3hw.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-rvfvac9x.js";
6
+ } from "./generate-rvfvac9x.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath,
3
3
  RelativePath
4
- } from "./file-retention-j07kk359.js";
4
+ } from "./generate-j07kk359.js";
5
5
  import {
6
6
  SessionSchema
7
- } from "./file-retention-bjwj8hwv.js";
7
+ } from "./generate-bjwj8hwv.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  exports_mcp
3
- } from "./file-retention-knemxxgr.js";
3
+ } from "./generate-rv0xmvdv.js";
4
+ import {
5
+ exports_persistent_pty
6
+ } from "./generate-wp4s5hjw.js";
4
7
  import {
5
8
  exports_session
6
- } from "./file-retention-g0ehpx58.js";
9
+ } from "./generate-bfwfk5kj.js";
7
10
  import {
8
11
  exports_location_service_map
9
- } from "./file-retention-zdkg1k91.js";
10
- import {
11
- exports_persistent_pty
12
- } from "./file-retention-3xcvz8vq.js";
12
+ } from "./generate-zdkg1k91.js";
13
13
  import {
14
14
  exports_agent
15
- } from "./file-retention-c7qwg17p.js";
15
+ } from "./generate-6z0gke6z.js";
16
16
  import {
17
17
  exports_location
18
- } from "./file-retention-g3m3y0g8.js";
18
+ } from "./generate-cxgs242t.js";
19
19
  import {
20
20
  exports_job
21
- } from "./file-retention-p55dpr9e.js";
21
+ } from "./generate-vncrx631.js";
22
22
  import {
23
23
  __export
24
- } from "./file-retention-rvfvac9x.js";
24
+ } from "./generate-rvfvac9x.js";
25
25
 
26
26
  // src/plugin/runtime.ts
27
27
  var exports_runtime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-rvfvac9x.js";
3
+ } from "./generate-rvfvac9x.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,70 +1,70 @@
1
1
  import {
2
2
  MAX_STEPS_PROMPT
3
- } from "./file-retention-qaarhjrp.js";
3
+ } from "./generate-qaarhjrp.js";
4
4
  import {
5
5
  exports_step
6
- } from "./file-retention-q990r40z.js";
6
+ } from "./generate-t762g30n.js";
7
7
  import {
8
8
  exports_retry
9
- } from "./file-retention-tqf07m3e.js";
9
+ } from "./generate-2pd1mgzx.js";
10
10
  import {
11
11
  exports_title
12
- } from "./file-retention-rdkydhre.js";
12
+ } from "./generate-g17ayvhh.js";
13
13
  import {
14
14
  exports_context
15
- } from "./file-retention-tvsxce71.js";
15
+ } from "./generate-x0k05007.js";
16
16
  import {
17
17
  exports_supervisor
18
- } from "./file-retention-b5bxbm34.js";
18
+ } from "./generate-nfsc8k2e.js";
19
19
  import {
20
20
  exports_compaction
21
- } from "./file-retention-dbyqx2k1.js";
21
+ } from "./generate-scf97rfs.js";
22
22
  import {
23
23
  exports_model_request
24
- } from "./file-retention-pe3sx5d9.js";
24
+ } from "./generate-wqpqbgfc.js";
25
25
  import {
26
26
  exports_tool_output
27
- } from "./file-retention-sfg41mtw.js";
27
+ } from "./generate-sfg41mtw.js";
28
28
  import {
29
29
  DrainResult,
30
30
  Service
31
- } from "./file-retention-2m0hgr65.js";
31
+ } from "./generate-2m0hgr65.js";
32
32
  import {
33
33
  exports_inbox
34
- } from "./file-retention-8p3j8jzj.js";
34
+ } from "./generate-8p3j8jzj.js";
35
35
  import {
36
36
  exports_model_transport
37
- } from "./file-retention-tjrfm0xh.js";
38
- import {
39
- llmClient
40
- } from "./file-retention-393a352g.js";
37
+ } from "./generate-tjrfm0xh.js";
41
38
  import {
42
39
  exports_snapshot
43
- } from "./file-retention-tcj8ed2y.js";
40
+ } from "./generate-dk5hqrdq.js";
44
41
  import {
45
- exports_store
46
- } from "./file-retention-tvkswxpr.js";
42
+ llmClient
43
+ } from "./generate-393a352g.js";
47
44
  import {
48
- exports_instruction_state
49
- } from "./file-retention-0687t5rp.js";
45
+ exports_store
46
+ } from "./generate-r7kr0f7t.js";
50
47
  import {
51
48
  StepFailedError
52
- } from "./file-retention-fb7nfzf2.js";
49
+ } from "./generate-fb7nfzf2.js";
50
+ import {
51
+ exports_instruction_state
52
+ } from "./generate-0687t5rp.js";
53
53
  import {
54
54
  SessionEvent
55
- } from "./file-retention-a83yvq99.js";
55
+ } from "./generate-a83yvq99.js";
56
56
  import {
57
57
  exports_bus
58
- } from "./file-retention-ghtx8vj7.js";
58
+ } from "./generate-vdsj8jnq.js";
59
59
  import {
60
60
  SessionMessage
61
- } from "./file-retention-8rpfd2h6.js";
61
+ } from "./generate-8rpfd2h6.js";
62
62
  import {
63
63
  exports_database
64
- } from "./file-retention-8jnsgpze.js";
64
+ } from "./generate-ask63heb.js";
65
65
  import {
66
66
  __export
67
- } from "./file-retention-rvfvac9x.js";
67
+ } from "./generate-rvfvac9x.js";
68
68
 
69
69
  // src/session/runner/llm.ts
70
70
  var exports_llm = {};
@@ -73,7 +73,7 @@ __export(exports_llm, {
73
73
  SessionRunnerLLM: () => exports_llm
74
74
  });
75
75
  import { Message } from "@opencode-ai/ai";
76
- import { Cause, Effect, Exit, FiberMap, Layer, Pull, Schedule } from "effect";
76
+ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
77
77
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
78
78
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
79
79
  var layer = Layer.effect(Service, Effect.gen(function* () {
@@ -188,7 +188,7 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
188
188
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
189
189
  const sessionID = first.session.id;
190
190
  let assistantMessageID = SessionMessage.ID.create();
191
- const retry = yield* Schedule.toStepWithSleep(exports_retry.schedule(bus, sessionID));
191
+ const retry = yield* exports_retry.make(bus, sessionID);
192
192
  let initial = first;
193
193
  let recoverOverflow = true;
194
194
  let recoverContinuation = true;
@@ -231,14 +231,30 @@ var layer = Layer.effect(Service, Effect.gen(function* () {
231
231
  agent: loaded.agent.id,
232
232
  model: loaded.model,
233
233
  prepared,
234
+ retry: (cause, error, proposed) => retry.decide({
235
+ cause,
236
+ error,
237
+ agent: loaded.agent.id,
238
+ model: loaded.model.ref,
239
+ hook: prepared.retry,
240
+ retry: proposed
241
+ }),
234
242
  recoverContinuation,
235
243
  recoverOverflow: Effect.suspend(() => recoverOverflow && compaction.enabled() ? compaction.compact(compactionInput).pipe(Effect.map((result) => result.status === "completed")) : Effect.succeed(false))
236
244
  });
237
245
  const completed = yield* exports_step.Outcome.$match(outcome, {
238
246
  Completed: (outcome2) => Effect.succeed(outcome2.needsContinuation),
239
- Retry: (outcome2) => retry({ cause: outcome2.cause, error: outcome2.error, assistantMessageID }).pipe(Pull.catchDone(() => bus.publish(SessionEvent.Step.Failed, { sessionID, assistantMessageID, error: outcome2.error }).pipe(Effect.andThen(outcome2.cause))), Effect.asVoid),
247
+ Retry: (outcome2) => retry.wait({
248
+ decision: outcome2.decision,
249
+ error: outcome2.error,
250
+ assistantMessageID
251
+ }),
240
252
  Continue: Effect.fnUntraced(function* (outcome2) {
241
- yield* retry({ cause: outcome2.cause, error: outcome2.error, assistantMessageID }).pipe(Pull.catchDone(() => outcome2.cause));
253
+ yield* retry.wait({
254
+ decision: outcome2.decision,
255
+ error: outcome2.error,
256
+ assistantMessageID
257
+ });
242
258
  yield* bus.publish(SessionEvent.Synthetic, { sessionID, text: CONTINUE_AFTER_INCOMPLETE_STREAM });
243
259
  assistantMessageID = SessionMessage.ID.create();
244
260
  }),
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  foldSettings
3
- } from "./file-retention-jbzd8zgh.js";
3
+ } from "./generate-9c5rvcy2.js";
4
4
  import {
5
5
  exports_config
6
- } from "./file-retention-67x0xaxa.js";
6
+ } from "./generate-z5x6qdqp.js";
7
7
  import {
8
8
  exports_model
9
- } from "./file-retention-r13w8t0w.js";
9
+ } from "./generate-r13w8t0w.js";
10
10
 
11
11
  // src/plugin/provider/lmstudio.ts
12
12
  import { define } from "@opencode-ai/plugin/effect/plugin";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  collectBoundedResponseBody
3
- } from "./file-retention-jve7t217.js";
3
+ } from "./generate-jve7t217.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-rvfvac9x.js";
6
+ } from "./generate-rvfvac9x.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteArrayColumn,
3
3
  absoluteColumn
4
- } from "./file-retention-zbqqnp0n.js";
4
+ } from "./generate-zbqqnp0n.js";
5
5
  import {
6
6
  Timestamps
7
- } from "./file-retention-sem2g21k.js";
7
+ } from "./generate-sem2g21k.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  exports_entry_observer
3
- } from "./file-retention-kp1t5rcy.js";
3
+ } from "./generate-kp1t5rcy.js";
4
4
  import {
5
5
  make
6
- } from "./file-retention-r9d3d23r.js";
6
+ } from "./generate-r9d3d23r.js";
7
7
  import {
8
8
  exports_config
9
- } from "./file-retention-67x0xaxa.js";
9
+ } from "./generate-z5x6qdqp.js";
10
10
  import {
11
11
  exports_formatter
12
- } from "./file-retention-v4c0awce.js";
12
+ } from "./generate-vg77r0ys.js";
13
13
  import {
14
14
  exports_location
15
- } from "./file-retention-g3m3y0g8.js";
15
+ } from "./generate-cxgs242t.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-rvfvac9x.js";
18
+ } from "./generate-rvfvac9x.js";
19
19
 
20
20
  // src/config/plugin/formatter.ts
21
21
  var exports_formatter2 = {};
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  exports_usage
3
- } from "./file-retention-sw84ckhj.js";
3
+ } from "./generate-sw84ckhj.js";
4
4
  import {
5
5
  SessionEvent
6
- } from "./file-retention-a83yvq99.js";
6
+ } from "./generate-a83yvq99.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Clock, Effect, Iterable } from "effect";
10
+ import { isArrayNonEmpty, isReadonlyArrayNonEmpty } from "effect/Array";
10
11
  var asRecord = (value) => typeof value === "object" && value !== null && !Array.isArray(value) ? value : { value };
11
- var nonEmpty = (content) => content.length > 0 ? content : undefined;
12
12
  var stringify = (value) => {
13
13
  if (typeof value === "string")
14
14
  return value;
@@ -19,11 +19,8 @@ var stringify = (value) => {
19
19
  }
20
20
  };
21
21
  var hostedContent = (result) => {
22
- if (result.type === "content") {
23
- const content = nonEmpty(result.value);
24
- if (content !== undefined)
25
- return content;
26
- }
22
+ if (result.type === "content" && isReadonlyArrayNonEmpty(result.value))
23
+ return result.value;
27
24
  return [{ type: "text", text: stringify(result.value) }];
28
25
  };
29
26
  var createLLMEventPublisher = (bus, input) => {
@@ -432,7 +429,7 @@ var createLLMEventPublisher = (bus, input) => {
432
429
  yield* failAssistant({ type: "provider.unknown", message: event.message });
433
430
  return;
434
431
  }
435
- });
432
+ }, Effect.uninterruptible);
436
433
  const publishTraced = Effect.fn("SessionRunner.publishLLMEvent")(publish);
437
434
  const progress = Effect.fnUntraced(function* (id, update) {
438
435
  const tool = tools.get(id);
@@ -456,13 +453,13 @@ var createLLMEventPublisher = (bus, input) => {
456
453
  return yield* Effect.die(new Error(`Duplicate tool execution: ${id}`));
457
454
  tool.settled = true;
458
455
  const content = typeof result.content === "string" ? [{ type: "text", text: result.content }] : result.content === undefined ? [] : [...result.content];
459
- if (content.length === 0)
456
+ if (!isArrayNonEmpty(content))
460
457
  return yield* Effect.die(new Error(`Tool execution has no content: ${id}`));
461
458
  yield* bus.publish(SessionEvent.Tool.Success, {
462
459
  sessionID: input.sessionID,
463
460
  assistantMessageID,
464
461
  id,
465
- content: [content[0], ...content.slice(1)],
462
+ content,
466
463
  ...result.metadata === undefined ? {} : { metadata: result.metadata },
467
464
  executed: tool.providerExecuted
468
465
  });
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  exports_project
3
- } from "./file-retention-pp25d1ka.js";
3
+ } from "./generate-50zw5v50.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-rvfvac9x.js";
6
+ } from "./generate-rvfvac9x.js";
7
7
 
8
8
  // src/location.ts
9
9
  var exports_location = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  InvalidError
3
- } from "./file-retention-nr76rjj3.js";
3
+ } from "./generate-nr76rjj3.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-rvfvac9x.js";
6
+ } from "./generate-rvfvac9x.js";
7
7
 
8
8
  // src/config/variable.ts
9
9
  var exports_variable = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ProjectTable
3
- } from "./file-retention-c8ya26sa.js";
3
+ } from "./generate-c8ya26sa.js";
4
4
  import {
5
5
  Timestamps
6
- } from "./file-retention-sem2g21k.js";
6
+ } from "./generate-sem2g21k.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-rvfvac9x.js";
3
+ } from "./generate-rvfvac9x.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  exports_location
3
- } from "./file-retention-g3m3y0g8.js";
3
+ } from "./generate-cxgs242t.js";
4
4
  import {
5
5
  exports_git
6
- } from "./file-retention-kt491qp2.js";
6
+ } from "./generate-dyj7wa6j.js";
7
7
  import {
8
8
  AbsolutePath,
9
9
  RelativePath
10
- } from "./file-retention-j07kk359.js";
10
+ } from "./generate-j07kk359.js";
11
11
  import {
12
12
  exports_state
13
- } from "./file-retention-x89rah0x.js";
13
+ } from "./generate-x89rah0x.js";
14
14
  import {
15
15
  __export
16
- } from "./file-retention-rvfvac9x.js";
16
+ } from "./generate-rvfvac9x.js";
17
17
 
18
18
  // src/snapshot.ts
19
19
  var exports_snapshot = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  exports_environment1 as exports_environment
3
- } from "./file-retention-bvgn5z69.js";
3
+ } from "./generate-qe4g4j30.js";
4
4
  import {
5
5
  exports_keyed_mutex
6
- } from "./file-retention-0kvmztkf.js";
6
+ } from "./generate-0kvmztkf.js";
7
7
  import {
8
8
  __export
9
- } from "./file-retention-rvfvac9x.js";
9
+ } from "./generate-rvfvac9x.js";
10
10
 
11
11
  // src/file-mutation.ts
12
12
  var exports_file_mutation = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  exports_supervisor
3
- } from "./file-retention-b5bxbm34.js";
3
+ } from "./generate-nfsc8k2e.js";
4
4
  import {
5
5
  exports_location_watcher_policy
6
- } from "./file-retention-6wkzvma0.js";
6
+ } from "./generate-6wkzvma0.js";
7
7
  import {
8
8
  exports_watcher
9
- } from "./file-retention-ns0sdez7.js";
9
+ } from "./generate-ns0sdez7.js";
10
10
  import {
11
11
  exports_location
12
- } from "./file-retention-g3m3y0g8.js";
12
+ } from "./generate-cxgs242t.js";
13
13
  import {
14
14
  exports_git
15
- } from "./file-retention-kt491qp2.js";
15
+ } from "./generate-dyj7wa6j.js";
16
16
  import {
17
17
  exports_bus
18
- } from "./file-retention-ghtx8vj7.js";
18
+ } from "./generate-vdsj8jnq.js";
19
19
  import {
20
20
  __export
21
- } from "./file-retention-rvfvac9x.js";
21
+ } from "./generate-rvfvac9x.js";
22
22
 
23
23
  // src/filesystem/location-watcher.ts
24
24
  var exports_location_watcher = {};