@opencode/core 0.0.0-dev-21266 → 0.0.0-dev-21267

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{bus-yn1b76hb.js → generate-00xf4nk1.js} +22 -22
  8. package/dist/chunks/{bus-zd33sdg2.js → generate-01m325sd.js} +46 -46
  9. package/dist/chunks/{bus-e01h0bn5.js → generate-05473zrx.js} +23 -23
  10. package/dist/chunks/{bus-ed3kz1mg.js → generate-090kmjxw.js} +17 -17
  11. package/dist/chunks/{bus-ydmc33ec.js → generate-0f09nngp.js} +4 -4
  12. package/dist/chunks/{bus-t550f9t1.js → generate-0gdmqesm.js} +4 -4
  13. package/dist/chunks/{bus-0jwsre1p.js → generate-0jwsre1p.js} +1 -1
  14. package/dist/chunks/{bus-kmdae88h.js → generate-0p56qr6s.js} +4 -4
  15. package/dist/chunks/{bus-yvvvp4gn.js → generate-0t9wd588.js} +8 -8
  16. package/dist/chunks/{bus-0vbcp93d.js → generate-0vbcp93d.js} +2 -2
  17. package/dist/chunks/{bus-jttnnx7f.js → generate-0ybe7mx1.js} +11 -11
  18. package/dist/chunks/{bus-yr283dpd.js → generate-0yfxsrzp.js} +20 -20
  19. package/dist/chunks/{bus-3jtdpmj5.js → generate-104pff1j.js} +13 -13
  20. package/dist/chunks/{bus-6sxwsw99.js → generate-16zn8v6x.js} +1 -1
  21. package/dist/chunks/{bus-wn64xv6f.js → generate-1hv113sc.js} +35 -35
  22. package/dist/chunks/{bus-vrhdrba6.js → generate-25553g2w.js} +29 -29
  23. package/dist/chunks/{bus-25yddszk.js → generate-25yddszk.js} +3 -3
  24. package/dist/chunks/{bus-0zsej0wv.js → generate-29fw136q.js} +12 -12
  25. package/dist/chunks/{bus-7knzy4e6.js → generate-2cj70478.js} +49 -49
  26. package/dist/chunks/{bus-yyxeh4v7.js → generate-2hsqkpxy.js} +17 -17
  27. package/dist/chunks/{bus-jg3dfvq9.js → generate-2ns20q01.js} +1 -1
  28. package/dist/chunks/{bus-8ydjhgne.js → generate-2vc2tgzp.js} +16 -16
  29. package/dist/chunks/{bus-10a4cy2j.js → generate-2y91agfv.js} +15 -15
  30. package/dist/chunks/{bus-98m0wdsg.js → generate-35a13mjs.js} +8 -8
  31. package/dist/chunks/{bus-za6q4rwa.js → generate-367nvyt8.js} +4 -4
  32. package/dist/chunks/{bus-d2gk5s1p.js → generate-369xw9xr.js} +9 -9
  33. package/dist/chunks/{bus-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{bus-3hwn7j4h.js → generate-3hwn7j4h.js} +2 -2
  35. package/dist/chunks/{bus-n1n192bv.js → generate-3sj8yt8v.js} +4 -4
  36. package/dist/chunks/{bus-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{bus-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{bus-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
  39. package/dist/chunks/{bus-gny60x6x.js → generate-41g0a9q5.js} +24 -24
  40. package/dist/chunks/{bus-x3gqap9d.js → generate-44ak30pa.js} +4 -4
  41. package/dist/chunks/{bus-k9mrgf25.js → generate-46006692.js} +26 -26
  42. package/dist/chunks/{bus-3zaa0540.js → generate-4kkbnph0.js} +17 -17
  43. package/dist/chunks/{bus-wgp98h27.js → generate-4wqv1m3b.js} +11 -11
  44. package/dist/chunks/{bus-54ma36ye.js → generate-54ma36ye.js} +1 -1
  45. package/dist/chunks/{bus-g72yd4k4.js → generate-55m81wnp.js} +12 -12
  46. package/dist/chunks/{bus-s711m03j.js → generate-58tzmscz.js} +4 -4
  47. package/dist/chunks/{bus-9s84h5c0.js → generate-5fychvb3.js} +8 -8
  48. package/dist/chunks/{bus-jpv0vfft.js → generate-5kn7dr7a.js} +31 -31
  49. package/dist/chunks/{bus-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
  50. package/dist/chunks/{bus-w82002tp.js → generate-5n0tzv7x.js} +18 -18
  51. package/dist/chunks/{bus-3g8j9he4.js → generate-5w9yjztw.js} +1 -1
  52. package/dist/chunks/{bus-6827pfxn.js → generate-6827pfxn.js} +1 -1
  53. package/dist/chunks/{bus-251hxpd6.js → generate-6ac9zck1.js} +2 -2
  54. package/dist/chunks/{bus-g3jc4v5k.js → generate-6fzxepjb.js} +25 -25
  55. package/dist/chunks/{bus-b3g5zr8e.js → generate-6gwn7aqx.js} +21 -21
  56. package/dist/chunks/{bus-yn1a7w67.js → generate-6je9mqj2.js} +50 -50
  57. package/dist/chunks/{bus-qypa7y1q.js → generate-6tkmm0gj.js} +22 -22
  58. package/dist/chunks/{bus-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
  59. package/dist/chunks/{bus-k0w1apbg.js → generate-76rvckpe.js} +5 -5
  60. package/dist/chunks/{bus-775gj3j1.js → generate-775gj3j1.js} +2 -2
  61. package/dist/chunks/{bus-bjmt3h04.js → generate-79mnhcfn.js} +8 -8
  62. package/dist/chunks/{bus-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
  63. package/dist/chunks/{bus-padvf0y2.js → generate-7ej2vx6g.js} +3 -3
  64. package/dist/chunks/{bus-g0tjp5kj.js → generate-7sfe249w.js} +18 -18
  65. package/dist/chunks/{bus-tjxj6aya.js → generate-7ydzythe.js} +11 -11
  66. package/dist/chunks/{bus-ndjvgv0p.js → generate-80qg8hhn.js} +24 -24
  67. package/dist/chunks/{bus-ygbt6n51.js → generate-84jvfywv.js} +45 -45
  68. package/dist/chunks/{bus-84txncab.js → generate-84txncab.js} +1 -1
  69. package/dist/chunks/{bus-ybfnsx4m.js → generate-86qzxe6p.js} +4 -4
  70. package/dist/chunks/{bus-59s08nwn.js → generate-86zv8aac.js} +23 -23
  71. package/dist/chunks/{bus-tcezcvh9.js → generate-89znhe33.js} +4 -4
  72. package/dist/chunks/{bus-tkaxmar1.js → generate-8ca6h76w.js} +42 -42
  73. package/dist/chunks/{bus-xxh9hqyg.js → generate-8e3x1n40.js} +12 -12
  74. package/dist/chunks/{bus-t1v6hbrs.js → generate-8e6zqeab.js} +23 -23
  75. package/dist/chunks/{bus-3m8g809g.js → generate-8frgrze6.js} +11 -11
  76. package/dist/chunks/{bus-f2g4a465.js → generate-8g3wkbtq.js} +11 -11
  77. package/dist/chunks/{bus-bbmcy7ch.js → generate-8h38gey0.js} +19 -19
  78. package/dist/chunks/{bus-8m6m0r52.js → generate-8m6m0r52.js} +1 -1
  79. package/dist/chunks/{bus-mwc34nj6.js → generate-8p6gc52r.js} +21 -21
  80. package/dist/chunks/{bus-ybzmr3mv.js → generate-8z95084d.js} +13 -13
  81. package/dist/chunks/{bus-sz15zhhw.js → generate-97aeaand.js} +4 -4
  82. package/dist/chunks/{bus-mftxrma4.js → generate-990wje9c.js} +34 -34
  83. package/dist/chunks/{bus-4ecaa909.js → generate-9apn9dpd.js} +27 -27
  84. package/dist/chunks/{bus-xrs412cv.js → generate-9ej0kez9.js} +8 -8
  85. package/dist/chunks/{bus-epdmq6ge.js → generate-9ejswvkp.js} +27 -27
  86. package/dist/chunks/{bus-jxyme2yx.js → generate-9en1v00j.js} +15 -15
  87. package/dist/chunks/{bus-47jkzegy.js → generate-9hwaqfsw.js} +5 -5
  88. package/dist/chunks/{bus-k0n84rb6.js → generate-9k5e52qd.js} +5 -5
  89. package/dist/chunks/{bus-1kpn42tv.js → generate-9r9t654e.js} +9 -9
  90. package/dist/chunks/{bus-xq54w83e.js → generate-9w3hv6tb.js} +11 -11
  91. package/dist/chunks/{bus-ced7p37b.js → generate-9xkywmt2.js} +17 -17
  92. package/dist/chunks/{bus-0hm7jcjh.js → generate-9xvs703c.js} +33 -33
  93. package/dist/chunks/{bus-91qna3x0.js → generate-a20pjse5.js} +39 -21
  94. package/dist/chunks/{bus-tnjg4dhx.js → generate-a4w0e3g0.js} +36 -36
  95. package/dist/chunks/{bus-9py8zj7h.js → generate-adr7sscw.js} +8 -8
  96. package/dist/chunks/{bus-hfbyhya8.js → generate-am1tmpj5.js} +9 -9
  97. package/dist/chunks/{bus-79hfyrv0.js → generate-aws61wts.js} +24 -24
  98. package/dist/chunks/{bus-mmv1cmp7.js → generate-ay0tswwg.js} +20 -20
  99. package/dist/chunks/{bus-41170nad.js → generate-b0av9spa.js} +21 -21
  100. package/dist/chunks/{bus-hjs6yvzy.js → generate-b4pznp96.js} +5 -5
  101. package/dist/chunks/{bus-c6m67ar4.js → generate-b5ywcw8t.js} +35 -35
  102. package/dist/chunks/{bus-9ajf8e0t.js → generate-bdpzzc2x.js} +11 -11
  103. package/dist/chunks/{bus-4tz4vp8b.js → generate-bf6bgs8n.js} +13 -13
  104. package/dist/chunks/{bus-ywt8jp22.js → generate-bjx1sjef.js} +9 -9
  105. package/dist/chunks/{bus-qdv0eqeg.js → generate-btnpkdvn.js} +20 -20
  106. package/dist/chunks/{bus-e8q9eb58.js → generate-bvkycppa.js} +7 -7
  107. package/dist/chunks/{bus-szgx7fbb.js → generate-bza9db00.js} +14 -14
  108. package/dist/chunks/{bus-bzeyqsqd.js → generate-bzeyqsqd.js} +1 -1
  109. package/dist/chunks/{bus-mchhdfqj.js → generate-c0gqk2ym.js} +6 -6
  110. package/dist/chunks/{bus-c1fqxshp.js → generate-c1fqxshp.js} +3 -3
  111. package/dist/chunks/{bus-kzgpxbsh.js → generate-c7mzjgkk.js} +11 -11
  112. package/dist/chunks/{bus-emgpt6je.js → generate-c9rn2ypc.js} +10 -10
  113. package/dist/chunks/{bus-xkffaem6.js → generate-cjr4jfwe.js} +16 -16
  114. package/dist/chunks/{bus-p37cw4rj.js → generate-cmwkp3r5.js} +8 -8
  115. package/dist/chunks/{bus-hpmv303z.js → generate-cv3qp16z.js} +29 -29
  116. package/dist/chunks/{bus-ncaher0w.js → generate-czpjcjhw.js} +35 -35
  117. package/dist/chunks/{bus-fvw8dq47.js → generate-d0anyxb0.js} +26 -26
  118. package/dist/chunks/{bus-egeb8arg.js → generate-d0dysfx8.js} +29 -29
  119. package/dist/chunks/{bus-m7mtmfzx.js → generate-d101pqd8.js} +28 -28
  120. package/dist/chunks/{bus-cwa6csj7.js → generate-d4he2qe1.js} +9 -9
  121. package/dist/chunks/{bus-4sb5mf0e.js → generate-d9ff5bxv.js} +4 -4
  122. package/dist/chunks/{bus-zg9emzrs.js → generate-dcpjzjzy.js} +6 -6
  123. package/dist/chunks/{bus-0p96nk55.js → generate-dcvnv4qb.js} +5 -5
  124. package/dist/chunks/{bus-yj7k2rcj.js → generate-de12mgtc.js} +6 -6
  125. package/dist/chunks/{bus-6gah7m4z.js → generate-dgkwachn.js} +9 -9
  126. package/dist/chunks/{bus-jn848ard.js → generate-dmx7sk54.js} +51 -51
  127. package/dist/chunks/{bus-cefkz2r6.js → generate-dqkkx36v.js} +4 -4
  128. package/dist/chunks/{bus-drwq78ky.js → generate-drwq78ky.js} +1 -1
  129. package/dist/chunks/{bus-wh6zw745.js → generate-dssbfrwz.js} +5 -5
  130. package/dist/chunks/{bus-55zbd5p9.js → generate-dx0kb2rv.js} +10 -10
  131. package/dist/chunks/{bus-wpja4rbj.js → generate-e40jp9gw.js} +18 -18
  132. package/dist/chunks/{bus-stjqqcmy.js → generate-eaxwmach.js} +13 -13
  133. package/dist/chunks/{bus-eej6y6fw.js → generate-eej6y6fw.js} +2 -2
  134. package/dist/chunks/{bus-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{bus-0w62qmxp.js → generate-eq20ba7x.js} +4 -4
  136. package/dist/chunks/{bus-q2e4fvgq.js → generate-exf1rp2q.js} +11 -11
  137. package/dist/chunks/{bus-fp6jbq7y.js → generate-f6s8y378.js} +7 -7
  138. package/dist/chunks/{bus-fcy631f0.js → generate-fcy631f0.js} +1 -1
  139. package/dist/chunks/{bus-1zjxwrfs.js → generate-fh261699.js} +30 -30
  140. package/dist/chunks/{bus-hq3c8me3.js → generate-fxaymqdw.js} +4 -4
  141. package/dist/chunks/{bus-gahz0pvf.js → generate-g00sp35w.js} +18 -18
  142. package/dist/chunks/{bus-btc59y3h.js → generate-g2yy5a74.js} +47 -47
  143. package/dist/chunks/{bus-9m6g250m.js → generate-ga5hpz79.js} +18 -18
  144. package/dist/chunks/{bus-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
  145. package/dist/chunks/{bus-5epw6tpg.js → generate-ge51s02a.js} +21 -21
  146. package/dist/chunks/{bus-dpz8vabp.js → generate-gg30gf2m.js} +3 -3
  147. package/dist/chunks/{bus-9yeatzar.js → generate-gksetf8c.js} +4 -4
  148. package/dist/chunks/{bus-5tvdg74g.js → generate-gs5b9ard.js} +23 -23
  149. package/dist/chunks/{bus-7s07e2p8.js → generate-h19hvyjb.js} +11 -11
  150. package/dist/chunks/{bus-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{bus-njhqdk9p.js → generate-h71w788e.js} +9 -9
  152. package/dist/chunks/{bus-tcay1cqt.js → generate-h896pcm5.js} +6 -6
  153. package/dist/chunks/{bus-h978070j.js → generate-h978070j.js} +2 -2
  154. package/dist/chunks/{bus-p44megvr.js → generate-hb8amrc1.js} +11 -11
  155. package/dist/chunks/{bus-vb6b6ptv.js → generate-hc80vjct.js} +37 -37
  156. package/dist/chunks/{bus-8qa3g5sa.js → generate-hetnczqw.js} +2 -2
  157. package/dist/chunks/{bus-93nrydk0.js → generate-hgnqc3f0.js} +15 -15
  158. package/dist/chunks/{bus-hgz4x7wa.js → generate-hgz4x7wa.js} +1 -1
  159. package/dist/chunks/{bus-yaa9s5bc.js → generate-hw19m2y8.js} +30 -30
  160. package/dist/chunks/{bus-ve88pny4.js → generate-hyay7qq8.js} +8 -8
  161. package/dist/chunks/{bus-6g52hg0z.js → generate-j5xd911s.js} +23 -23
  162. package/dist/chunks/{bus-h0w9gz23.js → generate-j9esqkaj.js} +33 -33
  163. package/dist/chunks/{bus-v93rceyp.js → generate-jsxs2ezn.js} +16 -16
  164. package/dist/chunks/{bus-azj3c9sj.js → generate-jt801djq.js} +40 -40
  165. package/dist/chunks/{bus-t2fc4mz5.js → generate-k76krqzs.js} +4 -4
  166. package/dist/chunks/{bus-2gszvvfr.js → generate-k7ymkhxy.js} +59 -59
  167. package/dist/chunks/{bus-rcfxrzrj.js → generate-kd5vgtqm.js} +21 -21
  168. package/dist/chunks/{bus-fey4ts1c.js → generate-kg45811x.js} +9 -9
  169. package/dist/chunks/{bus-rz8y5msv.js → generate-ksqm10am.js} +5 -5
  170. package/dist/chunks/{bus-rtdqzg6e.js → generate-kt569c0v.js} +8 -8
  171. package/dist/chunks/{bus-kwb1v3vj.js → generate-kwb1v3vj.js} +1 -1
  172. package/dist/chunks/{bus-7xndqqjf.js → generate-m28pths9.js} +43 -43
  173. package/dist/chunks/{bus-my4zabxr.js → generate-m5jcjszt.js} +3 -3
  174. package/dist/chunks/{bus-c4n2mq4q.js → generate-m85h8xbw.js} +75 -75
  175. package/dist/chunks/{bus-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
  176. package/dist/chunks/{bus-maspj1v3.js → generate-maspj1v3.js} +1 -1
  177. package/dist/chunks/{bus-n62bf944.js → generate-mhjdq6ms.js} +19 -19
  178. package/dist/chunks/{bus-npdnvv2y.js → generate-mmqcypja.js} +5 -5
  179. package/dist/chunks/{bus-8yqsymsg.js → generate-mpa2ejqj.js} +3 -3
  180. package/dist/chunks/{bus-tj6bwkjv.js → generate-mpb94e18.js} +6 -6
  181. package/dist/chunks/{bus-xjrr1tbj.js → generate-mzwdprrq.js} +18 -18
  182. package/dist/chunks/{bus-3xm18sx4.js → generate-n0ehqsbt.js} +32 -32
  183. package/dist/chunks/{bus-85kgbxfs.js → generate-n37wa2ef.js} +5 -5
  184. package/dist/chunks/{bus-y07syb1s.js → generate-n53bd8x0.js} +22 -22
  185. package/dist/chunks/{bus-qsc3f2wk.js → generate-n60k5ghq.js} +3 -3
  186. package/dist/chunks/{bus-5m84d531.js → generate-n61013np.js} +8 -8
  187. package/dist/chunks/{bus-9h6hha12.js → generate-nad40530.js} +4 -4
  188. package/dist/chunks/{bus-es0c3sc8.js → generate-nsqpyhg2.js} +45 -45
  189. package/dist/chunks/generate-nvmgv2ve.js +257 -0
  190. package/dist/chunks/{bus-5j85swdz.js → generate-nwvs2xsf.js} +28 -28
  191. package/dist/chunks/{bus-aw5wcttt.js → generate-nya2vtjv.js} +19 -19
  192. package/dist/chunks/{bus-876nd3zc.js → generate-p8jsg7pq.js} +97 -97
  193. package/dist/chunks/{bus-sm55xqtv.js → generate-pe1jyrm4.js} +18 -18
  194. package/dist/chunks/{bus-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
  195. package/dist/chunks/{bus-pknna89w.js → generate-pknna89w.js} +1 -1
  196. package/dist/chunks/{bus-wkmnxp3s.js → generate-pyeaw5nf.js} +15 -15
  197. package/dist/chunks/{bus-cmmtrxzf.js → generate-q0r0skws.js} +23 -23
  198. package/dist/chunks/{bus-9f4jxy4d.js → generate-q6pcr4cj.js} +8 -8
  199. package/dist/chunks/{bus-2vgzs72b.js → generate-q6yya7b3.js} +5 -5
  200. package/dist/chunks/{bus-evcv1wv7.js → generate-q7mytj03.js} +27 -27
  201. package/dist/chunks/{bus-tmheem2e.js → generate-q90qzcc3.js} +54 -54
  202. package/dist/chunks/{bus-xxnme27d.js → generate-q9p3axm1.js} +47 -47
  203. package/dist/chunks/{bus-brabvsjg.js → generate-qd25wvge.js} +14 -14
  204. package/dist/chunks/{bus-336dchah.js → generate-qgnk2xzv.js} +19 -19
  205. package/dist/chunks/{bus-k49f12m2.js → generate-qh3m0bt8.js} +22 -22
  206. package/dist/chunks/{bus-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{bus-qsdy395h.js → generate-qsdy395h.js} +1 -1
  208. package/dist/chunks/{bus-fkc22237.js → generate-qx2dcbnj.js} +31 -31
  209. package/dist/chunks/{bus-c7zza6wf.js → generate-r2z489rp.js} +3 -3
  210. package/dist/chunks/{bus-y0mc46pw.js → generate-r36qtfr5.js} +9 -9
  211. package/dist/chunks/{bus-hb57a7eh.js → generate-r6yt1a8r.js} +12 -12
  212. package/dist/chunks/{bus-b23dxy93.js → generate-rd90dz52.js} +194 -194
  213. package/dist/chunks/{bus-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{bus-9bawg3pe.js → generate-reppd9nn.js} +13 -13
  215. package/dist/chunks/{bus-rert0e01.js → generate-rert0e01.js} +2 -2
  216. package/dist/chunks/{bus-5a6w5e5z.js → generate-rgwsscdf.js} +9 -9
  217. package/dist/chunks/{bus-3d2wf493.js → generate-rh1ehjhp.js} +9 -9
  218. package/dist/chunks/{bus-njga2we6.js → generate-rhd650sz.js} +14 -14
  219. package/dist/chunks/{bus-rj3eygr5.js → generate-rj3eygr5.js} +2 -2
  220. package/dist/chunks/{bus-6pc27hjz.js → generate-rkprpv83.js} +6 -6
  221. package/dist/chunks/{bus-2c8a123h.js → generate-rq2az322.js} +14 -14
  222. package/dist/chunks/{bus-cs225cq5.js → generate-ryjck82n.js} +14 -14
  223. package/dist/chunks/{bus-tzdgzxxe.js → generate-rypx97jt.js} +17 -17
  224. package/dist/chunks/{bus-86a0m7b8.js → generate-s59wcpct.js} +18 -18
  225. package/dist/chunks/{bus-sa8ekw3f.js → generate-sa8ekw3f.js} +2 -2
  226. package/dist/chunks/{bus-m9kpzf6v.js → generate-sdds1ttc.js} +34 -34
  227. package/dist/chunks/{bus-tv49b8kf.js → generate-sgecb4a9.js} +4 -4
  228. package/dist/chunks/{bus-2v4tj28y.js → generate-sp1w0rbh.js} +35 -35
  229. package/dist/chunks/{bus-v0x2aaxa.js → generate-sphypsd8.js} +9 -9
  230. package/dist/chunks/{bus-3cyr61gt.js → generate-swvd7h3x.js} +7 -7
  231. package/dist/chunks/{bus-syv4x271.js → generate-syv4x271.js} +1 -1
  232. package/dist/chunks/{bus-16nkx76r.js → generate-szzeq7yn.js} +20 -20
  233. package/dist/chunks/{bus-wdevdys9.js → generate-ta2yzdag.js} +13 -13
  234. package/dist/chunks/{bus-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{bus-n9ddjvr3.js → generate-tc1xhxj3.js} +9 -9
  236. package/dist/chunks/{bus-tdstcens.js → generate-tdstcens.js} +1 -1
  237. package/dist/chunks/{bus-e3w1cn1z.js → generate-tj93jbcz.js} +32 -32
  238. package/dist/chunks/{bus-by4hyqsp.js → generate-tk3kjvjs.js} +26 -26
  239. package/dist/chunks/{bus-tm0kqsz3.js → generate-tm0kqsz3.js} +1 -1
  240. package/dist/chunks/{bus-7zekvavx.js → generate-tsw5e8b1.js} +22 -22
  241. package/dist/chunks/{bus-x5ydsv12.js → generate-tt004vec.js} +34 -34
  242. package/dist/chunks/{bus-tyytaxap.js → generate-tyytaxap.js} +1 -1
  243. package/dist/chunks/{bus-xg5mep4p.js → generate-v0dnza1z.js} +4 -4
  244. package/dist/chunks/{bus-jwf5bcwj.js → generate-v0nk6czx.js} +19 -19
  245. package/dist/chunks/{bus-w9cpnd43.js → generate-v3q0dy8p.js} +42 -42
  246. package/dist/chunks/{bus-80nyy4s7.js → generate-v47b7hyc.js} +25 -25
  247. package/dist/chunks/{bus-v7p4zvkq.js → generate-v7p4zvkq.js} +2 -2
  248. package/dist/chunks/{bus-14pd4da0.js → generate-v7w38sqv.js} +91 -91
  249. package/dist/chunks/{bus-veqvce7d.js → generate-veqvce7d.js} +1 -1
  250. package/dist/chunks/generate-vnkjks7b.js +18 -0
  251. package/dist/chunks/{bus-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{bus-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{bus-z29mdr8e.js → generate-w8xs7tx2.js} +32 -32
  254. package/dist/chunks/{bus-wd87259q.js → generate-wd87259q.js} +1 -1
  255. package/dist/chunks/{bus-tm6y6z8k.js → generate-wkt7fkw0.js} +5 -5
  256. package/dist/chunks/{bus-dhs3kjcy.js → generate-wzm8that.js} +3 -3
  257. package/dist/chunks/{bus-x5jhdhzv.js → generate-x5jhdhzv.js} +2 -2
  258. package/dist/chunks/{bus-y6bex35g.js → generate-x661k3y3.js} +4 -4
  259. package/dist/chunks/{bus-qdf4tda4.js → generate-xet4vjak.js} +27 -27
  260. package/dist/chunks/{bus-h3trcs2a.js → generate-xfnxesgc.js} +6 -6
  261. package/dist/chunks/{bus-1b5hrfer.js → generate-xr921mz0.js} +27 -27
  262. package/dist/chunks/{bus-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{bus-y71avatq.js → generate-y71avatq.js} +1 -1
  264. package/dist/chunks/{bus-g686f6pq.js → generate-y7nndgyc.js} +9 -9
  265. package/dist/chunks/{bus-fft97yb2.js → generate-y9068s8b.js} +13 -13
  266. package/dist/chunks/{bus-xten7zsb.js → generate-ycbz4zet.js} +38 -38
  267. package/dist/chunks/{bus-0yyzv7mm.js → generate-yfrv12an.js} +13 -13
  268. package/dist/chunks/{bus-jcnxew74.js → generate-yg3agy0r.js} +16 -16
  269. package/dist/chunks/{bus-rwbjkkrf.js → generate-yjcsa246.js} +34 -34
  270. package/dist/chunks/{bus-f2n192rq.js → generate-yp2x3t23.js} +4 -4
  271. package/dist/chunks/{bus-w6bawrs9.js → generate-yqcazjzb.js} +19 -19
  272. package/dist/chunks/{bus-8ktfsppy.js → generate-yr99bf11.js} +10 -10
  273. package/dist/chunks/{bus-139rzprj.js → generate-yy4tknq9.js} +13 -13
  274. package/dist/chunks/{bus-8b47pa13.js → generate-yyk0gn1k.js} +343 -343
  275. package/dist/chunks/{bus-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{bus-z18fegx4.js → generate-z18fegx4.js} +1 -1
  277. package/dist/chunks/{bus-7xn7f2f6.js → generate-z4tdvtz8.js} +11 -11
  278. package/dist/chunks/generate-z5m47y6j.js +26 -0
  279. package/dist/chunks/{bus-t7n9q6bq.js → generate-zav06jzw.js} +4 -4
  280. package/dist/chunks/{bus-grkckybk.js → generate-zne0chz1.js} +26 -26
  281. package/dist/chunks/{bus-0v0hc1bx.js → generate-zprz3bv1.js} +5 -5
  282. package/dist/chunks/{bus-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{bus-zaww7a0s.js → generate-zrhmxj1q.js} +22 -22
  284. package/dist/chunks/{bus-ct38gx52.js → generate-zw38a422.js} +33 -33
  285. package/dist/chunks/{bus-7c3td919.js → generate-zwgc0wm1.js} +16 -16
  286. package/dist/chunks/{bus-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +5 -5
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +85 -85
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +208 -208
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +125 -125
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +116 -116
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +115 -115
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +117 -117
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +85 -85
  322. package/dist/database/database.js +72 -72
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +81 -81
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +11 -11
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +108 -108
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +136 -136
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +89 -89
  469. package/dist/managed-policy.js +6 -6
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +78 -78
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +109 -109
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +115 -115
  500. package/dist/plugin/optimize.js +4 -4
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +118 -118
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +351 -351
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +6 -6
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +6 -6
  558. package/dist/plugin.js +221 -221
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +86 -86
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +99 -99
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +138 -138
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +129 -129
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +90 -90
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +88 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +92 -92
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +3 -3
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +162 -162
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +77 -77
  615. package/dist/session/store.js +89 -89
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +217 -217
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +212 -212
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +13 -13
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +110 -110
  632. package/dist/snapshot.js +93 -93
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +128 -128
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +122 -122
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +209 -209
  647. package/dist/tool/plugin/skill.js +113 -113
  648. package/dist/tool/plugin/subagent.js +211 -211
  649. package/dist/tool/plugin/todo.js +138 -138
  650. package/dist/tool/plugin/webfetch.js +108 -108
  651. package/dist/tool/plugin/websearch.js +114 -114
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/types/codemode/tool.d.ts +3 -3
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +3 -3
  673. package/dist/v1/config/plugin.js +1 -1
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +88 -88
  680. package/dist/websearch.js +82 -82
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +3 -3
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +98 -98
  691. package/package.json +8 -8
  692. package/dist/chunks/bus-1x11rq2a.js +0 -18
  693. package/dist/chunks/bus-eexcx3re.js +0 -257
  694. package/dist/chunks/bus-v8stgmvm.js +0 -26
  695. /package/dist/chunks/{bus-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{bus-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{bus-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{bus-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{bus-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{bus-24dcb14g.js → generate-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{bus-2710q6r3.js → generate-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{bus-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{bus-2bv980vf.js → generate-2bv980vf.js} +0 -0
  704. /package/dist/chunks/{bus-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{bus-359p4xyc.js → generate-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{bus-3asan66x.js → generate-3asan66x.js} +0 -0
  707. /package/dist/chunks/{bus-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
  708. /package/dist/chunks/{bus-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
  709. /package/dist/chunks/{bus-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{bus-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{bus-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{bus-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{bus-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{bus-53557ph1.js → generate-53557ph1.js} +0 -0
  715. /package/dist/chunks/{bus-550bvhaj.js → generate-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{bus-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
  717. /package/dist/chunks/{bus-6prwharc.js → generate-6prwharc.js} +0 -0
  718. /package/dist/chunks/{bus-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{bus-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{bus-7m9af43g.js → generate-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{bus-822emrt2.js → generate-822emrt2.js} +0 -0
  722. /package/dist/chunks/{bus-84wd9syh.js → generate-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{bus-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{bus-8n3pysct.js → generate-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{bus-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{bus-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{bus-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{bus-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{bus-af5trqkr.js → generate-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{bus-afrmfg78.js → generate-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{bus-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{bus-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{bus-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{bus-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{bus-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{bus-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{bus-d9fn303g.js → generate-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{bus-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{bus-dajrwvna.js → generate-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{bus-dap0rakb.js → generate-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{bus-df08tz66.js → generate-df08tz66.js} +0 -0
  742. /package/dist/chunks/{bus-dy18nga0.js → generate-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{bus-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{bus-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{bus-ec1grn59.js → generate-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{bus-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{bus-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{bus-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{bus-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{bus-faypxj3z.js → generate-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{bus-fd410y7t.js → generate-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{bus-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{bus-g86h250q.js → generate-g86h250q.js} +0 -0
  754. /package/dist/chunks/{bus-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{bus-gftt206x.js → generate-gftt206x.js} +0 -0
  756. /package/dist/chunks/{bus-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{bus-hk9envan.js → generate-hk9envan.js} +0 -0
  758. /package/dist/chunks/{bus-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{bus-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{bus-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{bus-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{bus-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{bus-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{bus-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{bus-m18g726c.js → generate-m18g726c.js} +0 -0
  766. /package/dist/chunks/{bus-mp448xyj.js → generate-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{bus-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{bus-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{bus-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{bus-njntx4h6.js → generate-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{bus-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{bus-pyv0edze.js → generate-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{bus-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{bus-q74kybfr.js → generate-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{bus-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{bus-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{bus-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{bus-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{bus-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{bus-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{bus-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{bus-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{bus-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{bus-w803qqfp.js → generate-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{bus-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{bus-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{bus-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{bus-wtztk69x.js → generate-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{bus-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{bus-x61499pn.js → generate-x61499pn.js} +0 -0
  791. /package/dist/chunks/{bus-y44na4kk.js → generate-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{bus-y8f7s663.js → generate-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{bus-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{bus-ym463w8f.js → generate-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{bus-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{bus-z9919s4g.js → generate-z9919s4g.js} +0 -0
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./bus-pyv0edze.js";
7
+ } from "./generate-pyv0edze.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./bus-91qna3x0.js";
11
+ } from "./generate-a20pjse5.js";
12
12
  import {
13
13
  create3
14
- } from "./bus-rdw6cm16.js";
14
+ } from "./generate-rdw6cm16.js";
15
15
  import {
16
- Service39,
17
- node42
18
- } from "./bus-y0mc46pw.js";
16
+ Service86,
17
+ node90
18
+ } from "./generate-r36qtfr5.js";
19
19
  import {
20
- Service65,
21
- node67
22
- } from "./bus-bjmt3h04.js";
20
+ Service56,
21
+ node58
22
+ } from "./generate-79mnhcfn.js";
23
23
  import {
24
24
  match2
25
- } from "./bus-y1fvbwt7.js";
25
+ } from "./generate-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./bus-9rqn6x4v.js";
28
+ } from "./generate-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
- Content: () => Content3,
35
- Error: () => Error3,
34
+ Content: () => Content2,
35
+ Error: () => Error2,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service38,
38
+ Service: () => Service32,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node41
41
+ node: () => node35
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service38 extends Context.Service()("@opencode/Tool") {
54
+ class Service32 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service38, Effect.gen(function* () {
57
- const hooks = yield* Service65;
58
- const image = yield* Service39;
56
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
57
+ const hooks = yield* Service56;
58
+ const image = yield* Service86;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service38.of({
187
+ return Service32.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -199,14 +199,14 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
199
199
  }
200
200
  const direct = new Map(Array.from(active).filter(([, tool]) => tool.options?.codemode === false));
201
201
  const codeModeTools = new Map(Array.from(active).filter(([, tool]) => tool.options?.codemode !== false));
202
- const namespaces = data.namespaces;
203
- const codeModeInventory = { tools: codeModeTools, namespaces };
202
+ const names = Array.from(codeModeTools.keys()).join("\x00");
204
203
  const codeModeEnabled = !whollyDisabled("execute", rules);
204
+ const cached = catalog?.data === data && catalog.names === names ? catalog : undefined;
205
+ const codeModeInventory = cached?.inventory ?? { tools: codeModeTools, namespaces: data.namespaces };
205
206
  const codeModeTool = codeModeEnabled ? create2(codeModeInventory, (name, tool, input, context) => beforeExecute(name, input, context).pipe(Effect.flatMap((event) => executeTool(tool, name, event.input, context)))) : undefined;
206
- const names = Array.from(codeModeTools.keys()).join("\x00");
207
- const codeModeCatalog = !codeModeEnabled ? undefined : catalog?.data === data && catalog.names === names ? catalog.value : catalog2(codeModeInventory);
207
+ const codeModeCatalog = !codeModeEnabled ? undefined : cached?.value ?? catalog2(codeModeInventory);
208
208
  if (codeModeCatalog)
209
- catalog = { data, names, value: codeModeCatalog };
209
+ catalog = { data, names, inventory: codeModeInventory, value: codeModeCatalog };
210
210
  return {
211
211
  ...codeModeCatalog === undefined ? {} : { codeModeCatalog },
212
212
  definitions: [
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node41 = makeLocationNode({
277
- service: Service38,
276
+ var node35 = makeLocationNode({
277
+ service: Service32,
278
278
  layer,
279
- deps: [node67, node42]
279
+ deps: [node58, node90]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service38, node41, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service32, node35, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/unavailable.ts
6
6
  var exports_unavailable = {};
7
7
  __export(exports_unavailable, {
8
8
  EnvironmentUnavailable: () => exports_unavailable,
9
- layer: () => layer5,
9
+ layer: () => layer6,
10
10
  spawner: () => spawner2
11
11
  });
12
12
  import { Effect, Layer, PlatformError } from "effect";
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
17
17
  method: "spawn",
18
18
  description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
19
19
  })));
20
- var layer5 = Layer.succeed(ChildProcessSpawner, spawner2);
20
+ var layer6 = Layer.succeed(ChildProcessSpawner, spawner2);
21
21
 
22
- export { spawner2, layer5, exports_unavailable };
22
+ export { spawner2, layer6, exports_unavailable };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./bus-z5v4ffb3.js";
3
+ } from "./generate-z5v4ffb3.js";
4
4
  import {
5
5
  root2
6
- } from "./bus-g3jc4v5k.js";
6
+ } from "./generate-6fzxepjb.js";
7
7
  import {
8
- Service80,
9
- node84
10
- } from "./bus-v93rceyp.js";
8
+ Service81,
9
+ node85
10
+ } from "./generate-jsxs2ezn.js";
11
11
  import {
12
- Service61,
13
- node63
14
- } from "./bus-ygbt6n51.js";
12
+ Service53,
13
+ node55
14
+ } from "./generate-84jvfywv.js";
15
15
  import {
16
16
  __export
17
- } from "./bus-9rqn6x4v.js";
17
+ } from "./generate-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,8 +22,8 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service60,
26
- node: () => node62,
25
+ Service: () => Service41,
26
+ node: () => node44,
27
27
  resolvePath: () => resolvePath2
28
28
  });
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
37
37
  kind: Kind2.pipe(Schema.optional)
38
38
  });
39
39
 
40
- class Service60 extends Context.Service()("@opencode/FileAccess") {
40
+ class Service41 extends Context.Service()("@opencode/FileAccess") {
41
41
  }
42
42
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
43
43
  const normalized = FSUtil.windowsPath(input);
@@ -49,10 +49,10 @@ var invocation = (context) => ({
49
49
  agent: context.agent,
50
50
  source: { type: "tool", messageID: context.messageID, id: context.id }
51
51
  });
52
- var layer = Layer.effect(Service60, Effect.gen(function* () {
52
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
53
53
  const fs = yield* FSUtil.Service;
54
- const location = yield* Service80;
55
- const permission = yield* Service61;
54
+ const location = yield* Service81;
55
+ const permission = yield* Service53;
56
56
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
57
57
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
58
58
  const worktree = path.resolve(location.project.directory);
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
101
101
  });
102
102
  return target;
103
103
  });
104
- return Service60.of({ resolve, authorizeExternal, authorizeRead });
104
+ return Service41.of({ resolve, authorizeExternal, authorizeRead });
105
105
  }));
106
- var node62 = makeLocationNode({ service: Service60, layer, deps: [FSUtil.node, node84, node63] });
106
+ var node44 = makeLocationNode({ service: Service41, layer, deps: [FSUtil.node, node85, node55] });
107
107
 
108
- export { Kind2, ResolveInput2, Service60, resolvePath2, node62, exports_file_access };
108
+ export { Kind2, ResolveInput2, Service41, resolvePath2, node44, exports_file_access };
@@ -1,83 +1,83 @@
1
- import {
2
- Service86,
3
- node90
4
- } from "./bus-7s07e2p8.js";
5
1
  import {
6
2
  Service85,
7
3
  node89
8
- } from "./bus-8ydjhgne.js";
4
+ } from "./generate-h19hvyjb.js";
5
+ import {
6
+ Service84,
7
+ node88
8
+ } from "./generate-2vc2tgzp.js";
9
9
  import {
10
10
  create3
11
- } from "./bus-rdw6cm16.js";
11
+ } from "./generate-rdw6cm16.js";
12
12
  import {
13
- ID9,
14
- Service64,
15
- node66
16
- } from "./bus-n62bf944.js";
13
+ ID10,
14
+ Service57,
15
+ node59
16
+ } from "./generate-mhjdq6ms.js";
17
17
  import {
18
18
  llmClient2
19
- } from "./bus-775gj3j1.js";
19
+ } from "./generate-775gj3j1.js";
20
20
  import {
21
- Service77,
22
- node81
23
- } from "./bus-m9kpzf6v.js";
21
+ Service64,
22
+ node67
23
+ } from "./generate-sdds1ttc.js";
24
24
  import {
25
25
  estimate2
26
- } from "./bus-h6vf3j39.js";
26
+ } from "./generate-h6vf3j39.js";
27
27
  import {
28
28
  SessionEvent2
29
- } from "./bus-ec1grn59.js";
29
+ } from "./generate-ec1grn59.js";
30
30
  import {
31
31
  provenance2,
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./bus-n1n192bv.js";
35
+ } from "./generate-3sj8yt8v.js";
36
36
  import {
37
37
  load5
38
- } from "./bus-9py8zj7h.js";
38
+ } from "./generate-adr7sscw.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./bus-3g8j9he4.js";
41
+ } from "./generate-5w9yjztw.js";
42
42
  import {
43
43
  outputLimit2,
44
44
  baseTranscript2,
45
45
  unsupportedParts2,
46
46
  boundImages2,
47
- Service31,
48
- node34
49
- } from "./bus-jpv0vfft.js";
47
+ Service24,
48
+ node27
49
+ } from "./generate-5kn7dr7a.js";
50
50
  import {
51
- Service47,
52
- node49
53
- } from "./bus-wdevdys9.js";
51
+ Service51,
52
+ node53
53
+ } from "./generate-ta2yzdag.js";
54
54
  import {
55
55
  isRetryable2,
56
56
  policy2
57
- } from "./bus-25yddszk.js";
57
+ } from "./generate-25yddszk.js";
58
58
  import {
59
59
  toSessionError2,
60
60
  contentFilterError2
61
- } from "./bus-0v0hc1bx.js";
61
+ } from "./generate-zprz3bv1.js";
62
62
  import {
63
63
  calculateCost2,
64
64
  record2,
65
65
  add2
66
- } from "./bus-tdstcens.js";
66
+ } from "./generate-tdstcens.js";
67
67
  import {
68
68
  __export
69
- } from "./bus-9rqn6x4v.js";
69
+ } from "./generate-9rqn6x4v.js";
70
70
 
71
71
  // src/session/compaction.ts
72
72
  var exports_compaction2 = {};
73
73
  __export(exports_compaction2, {
74
- Service: () => Service10,
74
+ Service: () => Service7,
75
75
  SessionCompaction: () => exports_compaction2,
76
76
  buildPrompt: () => buildPrompt2,
77
77
  estimateContext: () => estimateContext2,
78
78
  estimatePrompt: () => estimatePrompt2,
79
- layer: () => layer8,
80
- node: () => node12,
79
+ layer: () => layer7,
80
+ node: () => node9,
81
81
  recentUserMessages: () => recentUserMessages2
82
82
  });
83
83
  import {
@@ -93,7 +93,7 @@ import {
93
93
  } from "@opencode/ai";
94
94
  import { makeLocationNode } from "@opencode/util/effect/app-node";
95
95
  import { Context, Effect, Layer, Result, Stream } from "effect";
96
- class Service10 extends Context.Service()("@opencode/SessionCompaction") {
96
+ class Service7 extends Context.Service()("@opencode/SessionCompaction") {
97
97
  }
98
98
  var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
99
99
  var SHRINK_STEPS = [0.7, 0.5, 0.35];
@@ -173,14 +173,14 @@ var buildPrompt2 = (update, legacy = false) => {
173
173
  };
174
174
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
175
175
  var LEGACY_HEADING = "## Additional Context";
176
- var layer8 = Layer.effect(Service10, Effect.gen(function* () {
177
- const agents = yield* Service64;
178
- const bus = yield* Service85;
176
+ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
177
+ const agents = yield* Service57;
178
+ const bus = yield* Service84;
179
179
  const llm = yield* LLMClient.Service;
180
- const catalog = yield* Service77;
181
- const models = yield* Service47;
182
- const db = (yield* Service86).db;
183
- const requests = yield* Service31;
180
+ const catalog = yield* Service64;
181
+ const models = yield* Service51;
182
+ const db = (yield* Service85).db;
183
+ const requests = yield* Service24;
184
184
  const state = create3({
185
185
  name: "session-compaction",
186
186
  initial: () => ({ auto: true, keep: 15000 }),
@@ -198,7 +198,7 @@ var layer8 = Layer.effect(Service10, Effect.gen(function* () {
198
198
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
199
199
  return { status: "skipped" };
200
200
  const native = context.model.compaction?.type === "native";
201
- const agent = native ? undefined : yield* agents.get(ID9.make("compaction"));
201
+ const agent = native ? undefined : yield* agents.get(ID10.make("compaction"));
202
202
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
203
203
  return;
204
204
  })))) ?? context.model;
@@ -480,16 +480,16 @@ ${text}`;
480
480
  }, { metadata: outcome.metadata });
481
481
  return { status: "completed" };
482
482
  });
483
- return Service10.of({
483
+ return Service7.of({
484
484
  transform: state.transform,
485
485
  reload: state.reload,
486
486
  compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
487
487
  });
488
488
  }));
489
- var node12 = makeLocationNode({
490
- service: Service10,
491
- layer: layer8,
492
- deps: [node66, node89, node90, llmClient2, node81, node34, node49]
489
+ var node9 = makeLocationNode({
490
+ service: Service7,
491
+ layer: layer7,
492
+ deps: [node59, node88, node89, llmClient2, node67, node27, node53]
493
493
  });
494
494
  var previousCompaction = (messages) => {
495
495
  const [first] = messages;
@@ -707,4 +707,4 @@ var estimateMedia = (mime) => {
707
707
  return 0;
708
708
  };
709
709
 
710
- export { Service10, buildPrompt2, layer8, node12, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
710
+ export { Service7, buildPrompt2, layer7, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service71,
3
- node74
4
- } from "./bus-hpmv303z.js";
2
+ Service42,
3
+ node45
4
+ } from "./generate-cv3qp16z.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make19,
8
+ make18,
9
9
  diffByKey2
10
- } from "./bus-t550f9t1.js";
10
+ } from "./generate-0gdmqesm.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./generate-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions2 = {};
17
- __export(exports_instructions2, {
18
- ReferenceInstructions: () => exports_instructions2,
19
- Service: () => Service29,
20
- node: () => node32
16
+ var exports_instructions4 = {};
17
+ __export(exports_instructions4, {
18
+ ReferenceInstructions: () => exports_instructions4,
19
+ Service: () => Service27,
20
+ node: () => node30
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,18 +57,18 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service29 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service29, Effect.gen(function* () {
63
- const references = yield* Service71;
64
- return Service29.of({
62
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
63
+ const references = yield* Service42;
64
+ return Service27.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make19({
71
+ return make18({
72
72
  key: Key3.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node32 = makeLocationNode({ service: Service29, layer, deps: [node74] });
84
+ var node30 = makeLocationNode({ service: Service27, layer, deps: [node45] });
85
85
 
86
- export { Service29, node32, exports_instructions2 };
86
+ export { Service27, node30, exports_instructions4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./bus-9rqn6x4v.js";
3
+ } from "./generate-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service50
4
- } from "./bus-7knzy4e6.js";
3
+ Service36
4
+ } from "./generate-2cj70478.js";
5
5
  import {
6
6
  observe2
7
- } from "./bus-qsdy395h.js";
7
+ } from "./generate-qsdy395h.js";
8
8
  import {
9
- Service61
10
- } from "./bus-ygbt6n51.js";
9
+ Service53
10
+ } from "./generate-84jvfywv.js";
11
11
  import {
12
12
  __export
13
- } from "./bus-9rqn6x4v.js";
13
+ } from "./generate-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/todo.ts
16
16
  var exports_todo = {};
17
17
  __export(exports_todo, {
18
18
  Info: () => Info2,
19
- Input: () => Input12,
20
- Output: () => Output8,
21
- Plugin: () => Plugin33,
19
+ Input: () => Input6,
20
+ Output: () => Output4,
21
+ Plugin: () => Plugin43,
22
22
  TodoTool: () => exports_todo,
23
- name: () => name12,
23
+ name: () => name6,
24
24
  summarize: () => summarize2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
37
37
  `;
38
38
 
39
39
  // src/tool/plugin/todo.ts
40
- var name12 = "todowrite";
40
+ var name6 = "todowrite";
41
41
  var Info2 = Schema.Struct({
42
42
  content: Schema.String.annotate({ description: "Brief description of the task" }),
43
43
  status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
44
44
  description: "Current status of the task: pending, in_progress, completed, cancelled"
45
45
  })
46
46
  });
47
- var Input12 = Schema.Struct({
47
+ var Input6 = Schema.Struct({
48
48
  todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
49
49
  });
50
- var Output8 = Schema.Struct({
50
+ var Output4 = Schema.Struct({
51
51
  todos: Schema.Array(Info2)
52
52
  });
53
53
  var summarize2 = (todos) => {
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
61
61
  const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
62
62
  return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
63
63
  };
64
- var Plugin33 = {
64
+ var Plugin43 = {
65
65
  id: "opencode.tool.todo",
66
66
  effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
67
- const config = yield* Service50;
68
- const permission = yield* Service61;
67
+ const config = yield* Service36;
68
+ const permission = yield* Service53;
69
69
  const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
70
70
  const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
71
71
  yield* ctx.tool.transform((editor) => {
72
72
  if (!enabled())
73
73
  return;
74
74
  editor.add({
75
- name: name12,
75
+ name: name6,
76
76
  options: { codemode: false },
77
77
  description: todowrite_default,
78
- input: Input12,
79
- output: Output8,
78
+ input: Input6,
79
+ output: Output4,
80
80
  execute: (input, context) => permission.assert({
81
- action: name12,
81
+ action: name6,
82
82
  resources: ["*"],
83
83
  save: ["*"],
84
84
  sessionID: context.sessionID,
@@ -94,4 +94,4 @@ var Plugin33 = {
94
94
  })
95
95
  };
96
96
 
97
- export { name12, Info2, Input12, Output8, summarize2, Plugin33, exports_todo };
97
+ export { name6, Info2, Input6, Output4, summarize2, Plugin43, exports_todo };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./bus-m9kpzf6v.js";
2
+ ID11
3
+ } from "./generate-sdds1ttc.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID11.make("gpt-5-chat-latest"), ID11.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./bus-550bvhaj.js";
3
+ } from "./generate-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./bus-j5zkgpj8.js";
6
+ } from "./generate-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./bus-3asan66x.js";
9
+ } from "./generate-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./bus-2vgzs72b.js";
12
+ } from "./generate-q6yya7b3.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {