@opencode/core 0.0.0-dev-21108 → 0.0.0-dev-21109

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 (791) 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 +71 -71
  7. package/dist/chunks/{vcs-cjmfqnq2.js → models-dev-018fz2md.js} +32 -32
  8. package/dist/chunks/models-dev-02hhvmqy.js +257 -0
  9. package/dist/chunks/{vcs-gqmeawtn.js → models-dev-04a9k7zc.js} +20 -20
  10. package/dist/chunks/{vcs-8vkwsqvz.js → models-dev-08h9zhev.js} +19 -19
  11. package/dist/chunks/{vcs-kqx1b4hy.js → models-dev-0b5g1ynf.js} +4 -4
  12. package/dist/chunks/{vcs-6fh64ftw.js → models-dev-0txbw99a.js} +18 -18
  13. package/dist/chunks/{vcs-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
  14. package/dist/chunks/{vcs-w7xw82wb.js → models-dev-0x6j275b.js} +11 -11
  15. package/dist/chunks/models-dev-13wj90a4.js +26 -0
  16. package/dist/chunks/{vcs-kbgg0xp7.js → models-dev-14zctcmx.js} +23 -23
  17. package/dist/chunks/{vcs-c44mjgcb.js → models-dev-1fqrv75a.js} +24 -24
  18. package/dist/chunks/{vcs-abwx4fz1.js → models-dev-1h80wfj2.js} +11 -11
  19. package/dist/chunks/{vcs-xa1ekjr5.js → models-dev-1mt90trw.js} +21 -21
  20. package/dist/chunks/{vcs-cqwdbp8s.js → models-dev-1n61k2j4.js} +20 -20
  21. package/dist/chunks/{vcs-az977ysh.js → models-dev-1nxkmdr2.js} +30 -30
  22. package/dist/chunks/{vcs-tcdv4xxx.js → models-dev-1q4ekm1s.js} +1 -1
  23. package/dist/chunks/{vcs-j9s0qvjv.js → models-dev-1qaejmwp.js} +4 -4
  24. package/dist/chunks/{vcs-xset6v8e.js → models-dev-1x09take.js} +24 -24
  25. package/dist/chunks/{vcs-2kz8np98.js → models-dev-25dpty04.js} +34 -34
  26. package/dist/chunks/{vcs-fn9t717r.js → models-dev-25yddszk.js} +6 -6
  27. package/dist/chunks/{vcs-9dawpgdd.js → models-dev-29wrk7cw.js} +6 -6
  28. package/dist/chunks/{vcs-3febqyrh.js → models-dev-2cm368az.js} +15 -15
  29. package/dist/chunks/{vcs-ewcy99y7.js → models-dev-2fh35bp5.js} +25 -25
  30. package/dist/chunks/{vcs-qgn6gcr1.js → models-dev-2k8khapm.js} +5 -5
  31. package/dist/chunks/{vcs-my4qtva3.js → models-dev-2rh1mj1j.js} +19 -19
  32. package/dist/chunks/{vcs-gz9sjfgx.js → models-dev-37cqxn50.js} +6 -6
  33. package/dist/chunks/{vcs-apbzx1qy.js → models-dev-3b50v19g.js} +1 -1
  34. package/dist/chunks/{vcs-stwte7t7.js → models-dev-3d30t3xk.js} +24 -24
  35. package/dist/chunks/{vcs-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{vcs-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
  37. package/dist/chunks/{vcs-3hwn7j4h.js → models-dev-3hwn7j4h.js} +2 -2
  38. package/dist/chunks/{vcs-7ar02ars.js → models-dev-3jmrzwyy.js} +20 -20
  39. package/dist/chunks/{vcs-z0c53cnc.js → models-dev-3p3bq4k7.js} +17 -17
  40. package/dist/chunks/{vcs-jhf3jymm.js → models-dev-3ppptnan.js} +6 -6
  41. package/dist/chunks/{vcs-jypkjyjj.js → models-dev-3q7r66tp.js} +172 -172
  42. package/dist/chunks/{vcs-mq3zggt6.js → models-dev-3s4aw0kp.js} +17 -17
  43. package/dist/chunks/{vcs-aqab6bvk.js → models-dev-3s4mbjk1.js} +4 -4
  44. package/dist/chunks/{vcs-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{vcs-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{vcs-mxvxcxwy.js → models-dev-3y377wv9.js} +4 -4
  47. package/dist/chunks/{vcs-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{vcs-kr3za5q8.js → models-dev-429fcsen.js} +38 -38
  49. package/dist/chunks/{vcs-v0es1rhs.js → models-dev-4434d9q2.js} +9 -9
  50. package/dist/chunks/{vcs-gzx41zxb.js → models-dev-4572g32s.js} +26 -26
  51. package/dist/chunks/{vcs-pn9m0qmr.js → models-dev-4867c7tx.js} +2 -2
  52. package/dist/chunks/{vcs-gdvrp62c.js → models-dev-48cw6fh0.js} +13 -13
  53. package/dist/chunks/{vcs-jxg22agt.js → models-dev-4djjp8w2.js} +14 -14
  54. package/dist/chunks/{vcs-qzawr4c0.js → models-dev-4dt8p5gd.js} +46 -46
  55. package/dist/chunks/{vcs-3xxwenrj.js → models-dev-4q529qz9.js} +9 -9
  56. package/dist/chunks/{vcs-k80zjrbm.js → models-dev-4shbge4a.js} +26 -26
  57. package/dist/chunks/models-dev-4v7qdvcn.js +18 -0
  58. package/dist/chunks/{vcs-t7nkm7zy.js → models-dev-4vvz6d59.js} +11 -11
  59. package/dist/chunks/{vcs-54ma36ye.js → models-dev-54ma36ye.js} +1 -1
  60. package/dist/chunks/{vcs-74g3bhj7.js → models-dev-5ey37cyz.js} +8 -8
  61. package/dist/chunks/{vcs-kbvzwwv7.js → models-dev-5gwsadgq.js} +14 -14
  62. package/dist/chunks/{vcs-5m9w47nd.js → models-dev-5m9w47nd.js} +1 -1
  63. package/dist/chunks/{vcs-y1kqc1p7.js → models-dev-5nke03s7.js} +28 -28
  64. package/dist/chunks/{vcs-bf12m7kx.js → models-dev-64w4nbgf.js} +11 -11
  65. package/dist/chunks/{vcs-g72yd4k4.js → models-dev-6kgydgrk.js} +12 -12
  66. package/dist/chunks/{vcs-8mnysrst.js → models-dev-6mgmbzeg.js} +5 -5
  67. package/dist/chunks/{vcs-t08z9s5h.js → models-dev-6rrewwnv.js} +8 -8
  68. package/dist/chunks/{vcs-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{vcs-wqffb857.js → models-dev-6z2jnbav.js} +15 -15
  70. package/dist/chunks/{vcs-775gj3j1.js → models-dev-775gj3j1.js} +2 -2
  71. package/dist/chunks/{vcs-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{vcs-m27qakrx.js → models-dev-7n61w1pq.js} +15 -15
  73. package/dist/chunks/{vcs-wbzy543d.js → models-dev-7q3x8t4f.js} +19 -19
  74. package/dist/chunks/{vcs-wdk0efzn.js → models-dev-7r5rc0px.js} +27 -27
  75. package/dist/chunks/{vcs-q6cvmfpv.js → models-dev-7xe1rbj0.js} +13 -13
  76. package/dist/chunks/{vcs-sesj2hvf.js → models-dev-7z683adc.js} +55 -55
  77. package/dist/chunks/{vcs-kwztdq7h.js → models-dev-80fab04m.js} +17 -17
  78. package/dist/chunks/{vcs-84txncab.js → models-dev-84txncab.js} +1 -1
  79. package/dist/chunks/{vcs-kzc3h1h3.js → models-dev-86qzxe6p.js} +4 -4
  80. package/dist/chunks/{vcs-gcr4j17e.js → models-dev-88ntk3wd.js} +36 -36
  81. package/dist/chunks/{vcs-fkyvq0kx.js → models-dev-88x17rpf.js} +21 -21
  82. package/dist/chunks/{vcs-yh2wrcre.js → models-dev-8ejeq2b5.js} +19 -19
  83. package/dist/chunks/{vcs-9zm0mfan.js → models-dev-8jwbh1w5.js} +3 -3
  84. package/dist/chunks/{vcs-8m6m0r52.js → models-dev-8m6m0r52.js} +1 -1
  85. package/dist/chunks/{vcs-bsegt2fq.js → models-dev-91ggt2dm.js} +5 -5
  86. package/dist/chunks/{vcs-91qna3x0.js → models-dev-91qna3x0.js} +3 -3
  87. package/dist/chunks/{vcs-tre5yt63.js → models-dev-94drmy7f.js} +8 -8
  88. package/dist/chunks/{vcs-xbarvga5.js → models-dev-99hcjxde.js} +48 -48
  89. package/dist/chunks/{vcs-gj71zhbs.js → models-dev-9hwaqfsw.js} +5 -5
  90. package/dist/chunks/{vcs-yw1yd8am.js → models-dev-9nh53x3n.js} +11 -11
  91. package/dist/chunks/{vcs-t1n56gek.js → models-dev-9nk08j85.js} +65 -65
  92. package/dist/chunks/{vcs-2hcv2g42.js → models-dev-9qe767rg.js} +9 -9
  93. package/dist/chunks/{vcs-mm8g4k7x.js → models-dev-9v8j2wcp.js} +37 -37
  94. package/dist/chunks/{vcs-5z6fkxtw.js → models-dev-9x1w8y0r.js} +7 -7
  95. package/dist/chunks/{vcs-bcq6ngff.js → models-dev-a0d2fhz5.js} +89 -89
  96. package/dist/chunks/{vcs-8wpwcw2c.js → models-dev-a4nhb8xp.js} +30 -30
  97. package/dist/chunks/{vcs-57mezkvj.js → models-dev-aagxtpba.js} +26 -26
  98. package/dist/chunks/{vcs-sdkx3pjx.js → models-dev-an5spve5.js} +45 -45
  99. package/dist/chunks/{vcs-5ywzfb3j.js → models-dev-at37vfd1.js} +9 -9
  100. package/dist/chunks/{vcs-6e6k9ee1.js → models-dev-b28mnwwt.js} +6 -6
  101. package/dist/chunks/{vcs-zrq8kphx.js → models-dev-bjmt3h04.js} +7 -7
  102. package/dist/chunks/{vcs-1ffvrpkg.js → models-dev-bjx1sjef.js} +6 -6
  103. package/dist/chunks/{vcs-z3nay82g.js → models-dev-bkxyw0dr.js} +9 -9
  104. package/dist/chunks/{vcs-d1pkjdrj.js → models-dev-brp2h1yk.js} +22 -22
  105. package/dist/chunks/{vcs-at768xak.js → models-dev-bybvw7jw.js} +18 -18
  106. package/dist/chunks/{vcs-py94f0e0.js → models-dev-c0w1yt3d.js} +21 -21
  107. package/dist/chunks/{vcs-c1dxt66b.js → models-dev-c1ebjx9s.js} +11 -11
  108. package/dist/chunks/{vcs-c1fqxshp.js → models-dev-c1fqxshp.js} +3 -3
  109. package/dist/chunks/{vcs-c8zwaxmp.js → models-dev-c2sed5cq.js} +3 -3
  110. package/dist/chunks/{vcs-a72zk5vh.js → models-dev-c7gefaxx.js} +2 -2
  111. package/dist/chunks/{vcs-cv00cvbs.js → models-dev-cjcd0dx4.js} +44 -44
  112. package/dist/chunks/{vcs-b3xja3vs.js → models-dev-cjtnjdfr.js} +11 -11
  113. package/dist/chunks/{vcs-e7w08kap.js → models-dev-crap2ys2.js} +32 -32
  114. package/dist/chunks/{vcs-w6xajd1d.js → models-dev-cs1bbd5r.js} +17 -17
  115. package/dist/chunks/{vcs-qkfkzs5q.js → models-dev-cv485zaq.js} +20 -20
  116. package/dist/chunks/{vcs-pymsrck8.js → models-dev-cx6xa6px.js} +16 -16
  117. package/dist/chunks/{vcs-vrja8bfg.js → models-dev-cy2k9m9k.js} +1 -1
  118. package/dist/chunks/{vcs-f00h63f7.js → models-dev-d1bwbx6h.js} +25 -25
  119. package/dist/chunks/{vcs-ecja6gpk.js → models-dev-d43w6w8d.js} +5 -5
  120. package/dist/chunks/{vcs-3bz86aqc.js → models-dev-d8zhqnqd.js} +10 -10
  121. package/dist/chunks/{vcs-y71avatq.js → models-dev-dpkg50ah.js} +4 -4
  122. package/dist/chunks/{vcs-dqxsqydv.js → models-dev-dqxsqydv.js} +1 -1
  123. package/dist/chunks/{vcs-drwq78ky.js → models-dev-drwq78ky.js} +1 -1
  124. package/dist/chunks/{vcs-23fmqdqn.js → models-dev-ds14744m.js} +10 -10
  125. package/dist/chunks/{vcs-9jvzcmy4.js → models-dev-dsw8mzy0.js} +1 -1
  126. package/dist/chunks/{vcs-ec487xam.js → models-dev-dvm4dasd.js} +16 -16
  127. package/dist/chunks/{vcs-bh74vh5r.js → models-dev-dx52c3tb.js} +13 -13
  128. package/dist/chunks/{vcs-1bmjn0qh.js → models-dev-dys7k0s0.js} +8 -8
  129. package/dist/chunks/{vcs-wt2f84b9.js → models-dev-e198z0mp.js} +4 -4
  130. package/dist/chunks/{vcs-0p6hghjm.js → models-dev-e424n3e7.js} +11 -11
  131. package/dist/chunks/{vcs-rqds5wzt.js → models-dev-e6n82m9d.js} +14 -14
  132. package/dist/chunks/{vcs-ksqkdsfg.js → models-dev-ebrw6ces.js} +28 -28
  133. package/dist/chunks/{vcs-eej6y6fw.js → models-dev-eej6y6fw.js} +2 -2
  134. package/dist/chunks/{vcs-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{vcs-29m6mk6w.js → models-dev-eg678sd6.js} +5 -5
  136. package/dist/chunks/{vcs-8chrd1c9.js → models-dev-eh5454n1.js} +10 -10
  137. package/dist/chunks/{vcs-zbzfepeb.js → models-dev-ep7maze5.js} +4 -4
  138. package/dist/chunks/{vcs-x1bbg2xd.js → models-dev-esb6nxn8.js} +13 -13
  139. package/dist/chunks/{vcs-1a430sh5.js → models-dev-ev9s2k0h.js} +15 -15
  140. package/dist/chunks/{vcs-nrkkc40d.js → models-dev-ewcyzw42.js} +75 -75
  141. package/dist/chunks/{vcs-ah9qjh8p.js → models-dev-ewjhws0n.js} +11 -11
  142. package/dist/chunks/{vcs-rnn4727b.js → models-dev-f32ybve0.js} +13 -13
  143. package/dist/chunks/{vcs-kbs69a2x.js → models-dev-f8ee66y8.js} +3 -3
  144. package/dist/chunks/{vcs-n1f7gktn.js → models-dev-f9vqewha.js} +32 -32
  145. package/dist/chunks/{vcs-qf76qvkk.js → models-dev-fced994e.js} +5 -5
  146. package/dist/chunks/{vcs-fcy631f0.js → models-dev-fcy631f0.js} +1 -1
  147. package/dist/chunks/{vcs-6kbcj5hv.js → models-dev-ftrqhxzm.js} +10 -10
  148. package/dist/chunks/{vcs-3k043h5p.js → models-dev-fxksqsfg.js} +14 -14
  149. package/dist/chunks/{vcs-jf22arnf.js → models-dev-ga2k9c5r.js} +6 -6
  150. package/dist/chunks/{vcs-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{vcs-eyn1arby.js → models-dev-gda0ts7c.js} +47 -47
  152. package/dist/chunks/{vcs-mwpybj7y.js → models-dev-ggsdx269.js} +12 -12
  153. package/dist/chunks/{vcs-t0pyhqcw.js → models-dev-ghz6dcrw.js} +11 -11
  154. package/dist/chunks/{vcs-kw0erqyq.js → models-dev-gmf8cn46.js} +14 -14
  155. package/dist/chunks/{vcs-bbpptzmy.js → models-dev-gp476xk8.js} +32 -32
  156. package/dist/chunks/{vcs-tz4n1mmd.js → models-dev-gst7axd9.js} +4 -4
  157. package/dist/chunks/{vcs-a8r1ndjr.js → models-dev-gwe042x5.js} +13 -13
  158. package/dist/chunks/{vcs-6xnzn5r9.js → models-dev-h2knq904.js} +15 -15
  159. package/dist/chunks/{vcs-zz2r6mts.js → models-dev-h6hp0kt1.js} +24 -24
  160. package/dist/chunks/{vcs-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{vcs-31xfzrxg.js → models-dev-h7s7r6s9.js} +5 -5
  162. package/dist/chunks/{vcs-7h4aqy0s.js → models-dev-hfbyhya8.js} +10 -10
  163. package/dist/chunks/{vcs-hgz4x7wa.js → models-dev-hgz4x7wa.js} +1 -1
  164. package/dist/chunks/{vcs-fxaymqdw.js → models-dev-hq3c8me3.js} +4 -4
  165. package/dist/chunks/{vcs-0pnx5nh0.js → models-dev-j0whrta5.js} +10 -10
  166. package/dist/chunks/{vcs-gxv64e4w.js → models-dev-j1vf9jgh.js} +19 -19
  167. package/dist/chunks/{vcs-9s83jr1p.js → models-dev-jby4v498.js} +9 -9
  168. package/dist/chunks/{vcs-81ncqz2m.js → models-dev-jdvnpeh9.js} +17 -17
  169. package/dist/chunks/{vcs-q0qjy1zt.js → models-dev-jetgc7z7.js} +24 -24
  170. package/dist/chunks/{vcs-5bvwnfz3.js → models-dev-jevaq2sf.js} +9 -9
  171. package/dist/chunks/{vcs-j2s852az.js → models-dev-jh51r71r.js} +31 -31
  172. package/dist/chunks/{vcs-98v90pwc.js → models-dev-jn3ecnfv.js} +23 -23
  173. package/dist/chunks/{vcs-j758eka2.js → models-dev-jrq45ekn.js} +9 -9
  174. package/dist/chunks/{vcs-7hvkf8ba.js → models-dev-k33z6p3z.js} +33 -33
  175. package/dist/chunks/{vcs-5ryha89e.js → models-dev-kgv9g9m4.js} +19 -19
  176. package/dist/chunks/{vcs-e497y9d1.js → models-dev-khh7p1y8.js} +9 -9
  177. package/dist/chunks/{vcs-jj5ks10b.js → models-dev-kpspzzpt.js} +2 -2
  178. package/dist/chunks/{vcs-kwb1v3vj.js → models-dev-kwb1v3vj.js} +1 -1
  179. package/dist/chunks/{vcs-zae46mp4.js → models-dev-m44sf8vb.js} +5 -5
  180. package/dist/chunks/{vcs-0aqfmf5v.js → models-dev-m8yschaf.js} +32 -32
  181. package/dist/chunks/{vcs-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{vcs-maspj1v3.js → models-dev-maspj1v3.js} +1 -1
  183. package/dist/chunks/{vcs-2cybgqhz.js → models-dev-mb14aw74.js} +2 -2
  184. package/dist/chunks/{vcs-b6770wny.js → models-dev-mvbr08xd.js} +42 -42
  185. package/dist/chunks/{vcs-84msw036.js → models-dev-naag4epy.js} +11 -11
  186. package/dist/chunks/{vcs-0xqyf95c.js → models-dev-ngyhb3xw.js} +4 -4
  187. package/dist/chunks/{vcs-3wvege5j.js → models-dev-nm6fqd4m.js} +5 -5
  188. package/dist/chunks/{vcs-e80seqcp.js → models-dev-nma959mg.js} +3 -3
  189. package/dist/chunks/{vcs-tx5fk5pn.js → models-dev-npkv4pb4.js} +4 -4
  190. package/dist/chunks/{vcs-6jn4zywt.js → models-dev-nqfd0r50.js} +25 -25
  191. package/dist/chunks/{vcs-70n7ee7d.js → models-dev-p0hsc1b3.js} +28 -28
  192. package/dist/chunks/{vcs-1xwjxjf0.js → models-dev-p12c6vr7.js} +42 -42
  193. package/dist/chunks/{vcs-tprpskj3.js → models-dev-p2taazqe.js} +3 -3
  194. package/dist/chunks/{vcs-de3tz8ce.js → models-dev-p32s5qak.js} +6 -6
  195. package/dist/chunks/{vcs-mp6m6hpj.js → models-dev-p33ckn3v.js} +11 -11
  196. package/dist/chunks/{vcs-pa8pe2x7.js → models-dev-p37cw4rj.js} +8 -8
  197. package/dist/chunks/{vcs-ssprmpe5.js → models-dev-p5z45nn9.js} +46 -46
  198. package/dist/chunks/{vcs-st8atvy4.js → models-dev-pj3deymp.js} +17 -17
  199. package/dist/chunks/{vcs-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
  200. package/dist/chunks/{vcs-pknna89w.js → models-dev-pknna89w.js} +1 -1
  201. package/dist/chunks/{vcs-6xcvt31d.js → models-dev-pnzf6mjf.js} +1 -1
  202. package/dist/chunks/{vcs-7jsc1qpe.js → models-dev-prgtw01z.js} +3 -3
  203. package/dist/chunks/{vcs-82rhge12.js → models-dev-prq7hedt.js} +9 -9
  204. package/dist/chunks/{vcs-694900vg.js → models-dev-psmzd26b.js} +17 -17
  205. package/dist/chunks/{vcs-278dshqs.js → models-dev-q2famck6.js} +11 -11
  206. package/dist/chunks/{vcs-vh1d1c6z.js → models-dev-qc3eb908.js} +18 -18
  207. package/dist/chunks/{vcs-15fn43ap.js → models-dev-qkqsjsba.js} +10 -10
  208. package/dist/chunks/{vcs-z4rktwb2.js → models-dev-qmrcfj17.js} +17 -17
  209. package/dist/chunks/{vcs-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{vcs-r5tp3nbh.js → models-dev-qqhgytfg.js} +4 -4
  211. package/dist/chunks/{vcs-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
  212. package/dist/chunks/{vcs-snhrfy7w.js → models-dev-qv8n7gxq.js} +32 -32
  213. package/dist/chunks/{vcs-cwa6csj7.js → models-dev-r2m716tb.js} +9 -9
  214. package/dist/chunks/{vcs-ps6734b0.js → models-dev-r3453g7b.js} +17 -17
  215. package/dist/chunks/{vcs-2x84g0hg.js → models-dev-r4fjq33x.js} +16 -16
  216. package/dist/chunks/{vcs-q4rtw0sm.js → models-dev-r790j5dn.js} +50 -50
  217. package/dist/chunks/{vcs-trt0dew0.js → models-dev-r9dgaffw.js} +21 -21
  218. package/dist/chunks/{vcs-sswp2h42.js → models-dev-r9myb6mq.js} +11 -11
  219. package/dist/chunks/{vcs-r70na3yp.js → models-dev-ra67jj04.js} +5 -5
  220. package/dist/chunks/{vcs-z1z60s25.js → models-dev-rd9g82ww.js} +4 -4
  221. package/dist/chunks/{vcs-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{vcs-rert0e01.js → models-dev-rert0e01.js} +2 -2
  223. package/dist/chunks/{vcs-rj3eygr5.js → models-dev-rj3eygr5.js} +2 -2
  224. package/dist/chunks/{vcs-rd3e5ygt.js → models-dev-rkmtmhsy.js} +7 -7
  225. package/dist/chunks/{vcs-rkprpv83.js → models-dev-rkprpv83.js} +2 -2
  226. package/dist/chunks/{vcs-n8rrra3a.js → models-dev-rn41q46b.js} +10 -10
  227. package/dist/chunks/{vcs-pa2b1817.js → models-dev-rqn1e5t9.js} +41 -41
  228. package/dist/chunks/{vcs-j0bxzt0p.js → models-dev-rrk228c4.js} +4 -4
  229. package/dist/chunks/{vcs-cqbghwqx.js → models-dev-s3sw9wzj.js} +20 -20
  230. package/dist/chunks/{vcs-sa8ekw3f.js → models-dev-sa8ekw3f.js} +2 -2
  231. package/dist/chunks/{vcs-v9cgcx37.js → models-dev-se49g0hz.js} +28 -28
  232. package/dist/chunks/{vcs-p1j52kwe.js → models-dev-sgnt8r5w.js} +8 -8
  233. package/dist/chunks/{vcs-syv4x271.js → models-dev-syv4x271.js} +1 -1
  234. package/dist/chunks/{vcs-8034592z.js → models-dev-sz9gegs6.js} +20 -20
  235. package/dist/chunks/{vcs-d216944b.js → models-dev-t2fc4mz5.js} +7 -7
  236. package/dist/chunks/{vcs-p9p9s22a.js → models-dev-t40m281k.js} +11 -11
  237. package/dist/chunks/{vcs-rhjbct0v.js → models-dev-t550f9t1.js} +4 -4
  238. package/dist/chunks/{vcs-02e36gs3.js → models-dev-t9ebbrej.js} +11 -11
  239. package/dist/chunks/{vcs-regzcayk.js → models-dev-ta12ejh7.js} +9 -9
  240. package/dist/chunks/{vcs-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{vcs-89znhe33.js → models-dev-tcezcvh9.js} +4 -4
  242. package/dist/chunks/{vcs-tdstcens.js → models-dev-tdstcens.js} +1 -1
  243. package/dist/chunks/{vcs-tm0kqsz3.js → models-dev-tm0kqsz3.js} +1 -1
  244. package/dist/chunks/{vcs-7evj5wva.js → models-dev-tsdxsxn8.js} +3 -3
  245. package/dist/chunks/{vcs-a2wv01vg.js → models-dev-tsyxp5w9.js} +15 -15
  246. package/dist/chunks/{vcs-tyytaxap.js → models-dev-tyytaxap.js} +1 -1
  247. package/dist/chunks/{vcs-5wzb8f99.js → models-dev-tz4rnvt3.js} +20 -20
  248. package/dist/chunks/{vcs-v7p4zvkq.js → models-dev-v7p4zvkq.js} +2 -2
  249. package/dist/chunks/{vcs-g1kppfdc.js → models-dev-vce41d5d.js} +24 -24
  250. package/dist/chunks/{vcs-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
  251. package/dist/chunks/{vcs-2cmv458r.js → models-dev-vnwmzs4a.js} +5 -5
  252. package/dist/chunks/{vcs-1vayj7pv.js → models-dev-vpnmpst2.js} +7 -7
  253. package/dist/chunks/{vcs-pgcq6gba.js → models-dev-vsg1s5gy.js} +10 -10
  254. package/dist/chunks/{vcs-ppbmqrvr.js → models-dev-vwpcpzep.js} +8 -8
  255. package/dist/chunks/{vcs-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{vcs-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{vcs-yx0rmv9r.js → models-dev-w4axh9wz.js} +4 -4
  258. package/dist/chunks/{vcs-5hpssq55.js → models-dev-wan3f8ty.js} +32 -32
  259. package/dist/chunks/{vcs-mv3hx7wz.js → models-dev-waskdk5r.js} +4 -4
  260. package/dist/chunks/{vcs-wd87259q.js → models-dev-wd87259q.js} +1 -1
  261. package/dist/chunks/{vcs-5fykfdj7.js → models-dev-wh6zw745.js} +5 -5
  262. package/dist/chunks/{vcs-y4v5ah6d.js → models-dev-wttkh064.js} +20 -20
  263. package/dist/chunks/{vcs-ev6xeesc.js → models-dev-x230ck08.js} +8 -8
  264. package/dist/chunks/{vcs-zsaystjn.js → models-dev-x525dgj0.js} +15 -15
  265. package/dist/chunks/{vcs-jwrbm3d8.js → models-dev-x5f9nxxw.js} +16 -16
  266. package/dist/chunks/{vcs-80vk4pbp.js → models-dev-x5h44zm2.js} +12 -12
  267. package/dist/chunks/{vcs-b4gkm0yn.js → models-dev-xp5djccy.js} +17 -17
  268. package/dist/chunks/{vcs-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{vcs-tb2eav5j.js → models-dev-y8qa0wgt.js} +27 -27
  270. package/dist/chunks/{vcs-e7x5qhf1.js → models-dev-y8rqn1sx.js} +320 -320
  271. package/dist/chunks/{vcs-7em5ghts.js → models-dev-ymtzxja7.js} +20 -20
  272. package/dist/chunks/{vcs-f2n192rq.js → models-dev-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{vcs-my0tytnd.js → models-dev-yq5ncrpt.js} +24 -24
  274. package/dist/chunks/{vcs-nxe4pcap.js → models-dev-yrcj3v3g.js} +4 -4
  275. package/dist/chunks/{vcs-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{vcs-tf57n56z.js → models-dev-z3xee66j.js} +14 -14
  277. package/dist/chunks/{vcs-9h5geed1.js → models-dev-z56ekth6.js} +17 -17
  278. package/dist/chunks/{vcs-0qke7b7v.js → models-dev-zdkjbeg6.js} +18 -18
  279. package/dist/chunks/{vcs-yyjjzvwv.js → models-dev-zqn9n131.js} +30 -30
  280. package/dist/chunks/{vcs-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{vcs-wtv33j88.js → models-dev-zt64k235.js} +28 -28
  282. package/dist/chunks/{vcs-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{vcs-4ztejm5p.js → models-dev-zxxyq1zs.js} +24 -24
  284. package/dist/chunks/{vcs-749m9j3c.js → models-dev-zy19vr0v.js} +7 -7
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +87 -87
  290. package/dist/config/discovery.js +86 -86
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +116 -116
  294. package/dist/config/plugin/command.js +206 -206
  295. package/dist/config/plugin/compaction.js +155 -155
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +116 -116
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +123 -123
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +116 -116
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +1 -1
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +3 -3
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +221 -221
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +108 -108
  425. package/dist/form.js +86 -86
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +106 -106
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +82 -82
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +91 -91
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +107 -107
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +91 -91
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +109 -109
  469. package/dist/mcp/instructions.js +127 -127
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model-retry.js +1 -1
  476. package/dist/model.js +100 -100
  477. package/dist/models-dev.js +109 -109
  478. package/dist/oauth/page.js +1 -1
  479. package/dist/permission/saved.js +78 -78
  480. package/dist/permission/sql.js +5 -5
  481. package/dist/permission.js +109 -109
  482. package/dist/persistent-pty/binary.bun.js +1 -1
  483. package/dist/persistent-pty/daemon.js +1 -1
  484. package/dist/persistent-pty/index.js +86 -86
  485. package/dist/persistent-pty/pty-binding.js +1 -1
  486. package/dist/persistent-pty.js +77 -77
  487. package/dist/plugin/agent.js +76 -76
  488. package/dist/plugin/command.js +102 -102
  489. package/dist/plugin/hooks.js +3 -3
  490. package/dist/plugin/host.js +212 -212
  491. package/dist/plugin/identity.js +3 -3
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +330 -330
  494. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  495. package/dist/plugin/models-dev.js +98 -98
  496. package/dist/plugin/module.js +117 -117
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +104 -104
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  501. package/dist/plugin/provider/azure.js +116 -116
  502. package/dist/plugin/provider/cerebras.js +1 -1
  503. package/dist/plugin/provider/chatgpt.js +116 -116
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +112 -112
  508. package/dist/plugin/provider/databricks.js +1 -1
  509. package/dist/plugin/provider/digitalocean.js +95 -95
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/github-copilot.js +97 -97
  513. package/dist/plugin/provider/gitlab.js +95 -95
  514. package/dist/plugin/provider/google-vertex.js +113 -113
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +80 -80
  517. package/dist/plugin/provider/lmstudio.js +125 -125
  518. package/dist/plugin/provider/local.js +122 -122
  519. package/dist/plugin/provider/modal.js +94 -94
  520. package/dist/plugin/provider/neon.js +1 -1
  521. package/dist/plugin/provider/nvidia.js +1 -1
  522. package/dist/plugin/provider/ollama.js +125 -125
  523. package/dist/plugin/provider/openai.js +116 -116
  524. package/dist/plugin/provider/opencode.js +100 -100
  525. package/dist/plugin/provider/openrouter.js +93 -93
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +81 -81
  528. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  529. package/dist/plugin/provider/sap-ai-core.js +93 -93
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  532. package/dist/plugin/provider/vercel.js +92 -92
  533. package/dist/plugin/provider/vllm.js +125 -125
  534. package/dist/plugin/provider/xai.js +93 -93
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +168 -168
  537. package/dist/plugin/sdk.js +78 -78
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +134 -134
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +349 -349
  542. package/dist/plugin/tool-input-repair.js +4 -4
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/vcs/git.js +88 -88
  545. package/dist/plugin/vcs/hg.js +88 -88
  546. package/dist/plugin/verbosity.js +95 -95
  547. package/dist/plugin/warming.js +114 -114
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +4 -4
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +219 -219
  556. package/dist/project/schema.js +8 -8
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +92 -92
  559. package/dist/provider.js +99 -99
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +99 -99
  563. package/dist/reference/instructions.js +87 -87
  564. package/dist/reference.js +93 -93
  565. package/dist/repository-cache.js +83 -83
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +97 -97
  569. package/dist/rpc.js +86 -86
  570. package/dist/schema.js +1 -1
  571. package/dist/session/affinity.js +1 -1
  572. package/dist/session/command.js +76 -76
  573. package/dist/session/compaction.js +138 -138
  574. package/dist/session/context.js +153 -153
  575. package/dist/session/diff.js +90 -90
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +215 -215
  580. package/dist/session/execution.js +129 -129
  581. package/dist/session/generate.js +157 -157
  582. package/dist/session/history.js +13 -13
  583. package/dist/session/inbox.js +90 -90
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +81 -81
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +99 -99
  588. package/dist/session/message-updater.js +4 -4
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +122 -122
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +131 -131
  593. package/dist/session/projector.js +88 -88
  594. package/dist/session/prompt.js +107 -107
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +92 -92
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +225 -225
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +100 -100
  602. package/dist/session/runner/publish-llm-event.js +115 -115
  603. package/dist/session/runner/retry.js +5 -5
  604. package/dist/session/runner/step.js +128 -128
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +162 -162
  608. package/dist/session/shell.js +130 -130
  609. package/dist/session/skill.js +105 -105
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +75 -75
  612. package/dist/session/store.js +89 -89
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +206 -206
  615. package/dist/session/system-prompt.js +1 -1
  616. package/dist/session/title.js +159 -159
  617. package/dist/session/to-session-error.js +113 -113
  618. package/dist/session/transfer.js +211 -211
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +210 -210
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +132 -132
  626. package/dist/skill/discovery.js +4 -4
  627. package/dist/skill/instructions.js +109 -109
  628. package/dist/skill.js +114 -114
  629. package/dist/snapshot.js +95 -95
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +128 -128
  634. package/dist/tool/plugin/edit.js +122 -122
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +124 -124
  637. package/dist/tool/plugin/grep.js +124 -124
  638. package/dist/tool/plugin/mcp-resource.js +119 -119
  639. package/dist/tool/plugin/opencode.js +111 -111
  640. package/dist/tool/plugin/patch.js +124 -124
  641. package/dist/tool/plugin/question.js +103 -103
  642. package/dist/tool/plugin/read.js +127 -127
  643. package/dist/tool/plugin/shell.js +211 -211
  644. package/dist/tool/plugin/skill.js +115 -115
  645. package/dist/tool/plugin/subagent.js +211 -211
  646. package/dist/tool/plugin/webfetch.js +112 -112
  647. package/dist/tool/plugin/websearch.js +114 -114
  648. package/dist/tool/plugin/write.js +116 -116
  649. package/dist/tool/read-filesystem.js +102 -102
  650. package/dist/tool/runtime.js +1 -1
  651. package/dist/tool-output.js +7 -7
  652. package/dist/tool.js +16 -16
  653. package/dist/util/error-summary.js +1 -1
  654. package/dist/util/error.js +1 -1
  655. package/dist/util/git-executable.js +2 -2
  656. package/dist/util/iife.js +1 -1
  657. package/dist/util/lazy.js +1 -1
  658. package/dist/util/slug.js +1 -1
  659. package/dist/util/token.js +1 -1
  660. package/dist/util/which.js +1 -1
  661. package/dist/util/wildcard.js +1 -1
  662. package/dist/v1/config/agent.js +5 -5
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +94 -94
  667. package/dist/v1/config/permission.js +3 -3
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/variant.js +93 -93
  672. package/dist/vcs/patch.js +1 -1
  673. package/dist/vcs.js +91 -91
  674. package/dist/voice.js +90 -90
  675. package/dist/websearch.js +84 -84
  676. package/dist/wellknown/plugin.js +78 -78
  677. package/dist/wellknown.js +83 -83
  678. package/dist/workspace/driver.js +3 -3
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +82 -82
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +10 -10
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +91 -91
  685. package/dist/worktree.js +98 -98
  686. package/package.json +8 -8
  687. package/dist/chunks/vcs-ht5y0zrb.js +0 -18
  688. package/dist/chunks/vcs-jwkxpzhb.js +0 -257
  689. package/dist/chunks/vcs-xb6h6tjx.js +0 -26
  690. /package/dist/chunks/{vcs-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{vcs-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{vcs-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{vcs-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{vcs-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{vcs-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{vcs-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{vcs-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{vcs-2bv980vf.js → models-dev-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{vcs-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{vcs-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{vcs-3asan66x.js → models-dev-3asan66x.js} +0 -0
  702. /package/dist/chunks/{vcs-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{vcs-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{vcs-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{vcs-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{vcs-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{vcs-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{vcs-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{vcs-53557ph1.js → models-dev-53557ph1.js} +0 -0
  710. /package/dist/chunks/{vcs-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{vcs-5qd3pb7m.js → models-dev-5qd3pb7m.js} +0 -0
  712. /package/dist/chunks/{vcs-6prwharc.js → models-dev-6prwharc.js} +0 -0
  713. /package/dist/chunks/{vcs-6q2bdcd1.js → models-dev-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{vcs-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{vcs-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{vcs-822emrt2.js → models-dev-822emrt2.js} +0 -0
  717. /package/dist/chunks/{vcs-84wd9syh.js → models-dev-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{vcs-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{vcs-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{vcs-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{vcs-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{vcs-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{vcs-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{vcs-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{vcs-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{vcs-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{vcs-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{vcs-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{vcs-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{vcs-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{vcs-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{vcs-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{vcs-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{vcs-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{vcs-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{vcs-df08tz66.js → models-dev-df08tz66.js} +0 -0
  737. /package/dist/chunks/{vcs-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{vcs-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{vcs-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{vcs-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{vcs-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{vcs-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{vcs-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{vcs-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{vcs-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{vcs-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{vcs-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{vcs-g86h250q.js → models-dev-g86h250q.js} +0 -0
  749. /package/dist/chunks/{vcs-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{vcs-gftt206x.js → models-dev-gftt206x.js} +0 -0
  751. /package/dist/chunks/{vcs-hcxmzztb.js → models-dev-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{vcs-hk9envan.js → models-dev-hk9envan.js} +0 -0
  753. /package/dist/chunks/{vcs-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{vcs-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{vcs-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{vcs-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{vcs-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{vcs-jze0r7bz.js → models-dev-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{vcs-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{vcs-m18g726c.js → models-dev-m18g726c.js} +0 -0
  761. /package/dist/chunks/{vcs-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{vcs-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{vcs-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{vcs-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{vcs-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{vcs-pkyv6v7h.js → models-dev-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{vcs-pyv0edze.js → models-dev-pyv0edze.js} +0 -0
  768. /package/dist/chunks/{vcs-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{vcs-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{vcs-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{vcs-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{vcs-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{vcs-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{vcs-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{vcs-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{vcs-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{vcs-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{vcs-ve7vex1e.js → models-dev-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{vcs-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{vcs-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{vcs-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{vcs-wjj7prxr.js → models-dev-wjj7prxr.js} +0 -0
  783. /package/dist/chunks/{vcs-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{vcs-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{vcs-x61499pn.js → models-dev-x61499pn.js} +0 -0
  786. /package/dist/chunks/{vcs-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{vcs-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{vcs-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{vcs-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{vcs-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
  791. /package/dist/chunks/{vcs-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./vcs-7jsc1qpe.js";
4
+ } from "./models-dev-prgtw01z.js";
5
5
  import {
6
6
  Service85,
7
7
  node89
8
- } from "./vcs-j9s0qvjv.js";
8
+ } from "./models-dev-1qaejmwp.js";
9
9
  import {
10
- Service46,
11
- node48
12
- } from "./vcs-2x84g0hg.js";
10
+ Service41,
11
+ node43
12
+ } from "./models-dev-r4fjq33x.js";
13
13
  import {
14
- Service37,
15
- node39
16
- } from "./vcs-jhf3jymm.js";
14
+ Service40,
15
+ node42
16
+ } from "./models-dev-3ppptnan.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./vcs-ec1grn59.js";
19
+ } from "./models-dev-ec1grn59.js";
20
20
  import {
21
- make15
22
- } from "./vcs-f2n192rq.js";
21
+ make16
22
+ } from "./models-dev-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service35
26
- } from "./vcs-tz4n1mmd.js";
25
+ Service37
26
+ } from "./models-dev-gst7axd9.js";
27
27
  import {
28
- Service61,
29
- node64
30
- } from "./vcs-rqds5wzt.js";
28
+ Service63,
29
+ node65
30
+ } from "./models-dev-e6n82m9d.js";
31
31
  import {
32
32
  toSessionError2
33
- } from "./vcs-bsegt2fq.js";
33
+ } from "./models-dev-91ggt2dm.js";
34
34
  import {
35
35
  nextPromotable2
36
- } from "./vcs-y4v5ah6d.js";
36
+ } from "./models-dev-wttkh064.js";
37
37
  import {
38
38
  __export
39
- } from "./vcs-9rqn6x4v.js";
39
+ } from "./models-dev-9rqn6x4v.js";
40
40
 
41
41
  // src/session/execution.ts
42
42
  var exports_execution = {};
43
43
  __export(exports_execution, {
44
- Service: () => Service34,
44
+ Service: () => Service36,
45
45
  SessionExecution: () => exports_execution,
46
- layer: () => layer18,
47
- node: () => node37,
48
- noopLayer: () => noopLayer2,
46
+ layer: () => layer17,
47
+ node: () => node39,
48
+ noopLayer: () => noopLayer3,
49
49
  terminal: () => terminal2
50
50
  });
51
51
  import { Cause, Context, Effect, Exit, Layer } from "effect";
52
52
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
53
- class Service34 extends Context.Service()("@opencode/SessionExecution") {
53
+ class Service36 extends Context.Service()("@opencode/SessionExecution") {
54
54
  }
55
55
  function terminal2(exit, reason) {
56
56
  if (Exit.isSuccess(exit))
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
59
59
  return { type: "interrupted", reason: reason ?? "shutdown" };
60
60
  return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
61
61
  }
62
- var layer18 = Layer.effect(Service34, Effect.gen(function* () {
63
- const store = yield* Service61;
64
- const instances = yield* Service37;
62
+ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
63
+ const store = yield* Service63;
64
+ const instances = yield* Service40;
65
65
  const bus = yield* Service85;
66
- const jobs = yield* Service46;
66
+ const jobs = yield* Service41;
67
67
  const db = (yield* Service86).db;
68
68
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
69
69
  const claimOnCommit = (sessionID) => ({
@@ -76,14 +76,14 @@ var layer18 = Layer.effect(Service34, Effect.gen(function* () {
76
76
  const session = yield* store.get(sessionID);
77
77
  if (!session)
78
78
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
79
- const result = yield* Service35.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
79
+ const result = yield* Service37.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
80
80
  return yield* DrainResult2.$match(result, {
81
81
  Complete: () => Effect.void,
82
82
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
83
83
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
84
84
  });
85
85
  });
86
- const coordinator = yield* make15({
86
+ const coordinator = yield* make16({
87
87
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
88
88
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
89
89
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -104,7 +104,7 @@ var layer18 = Layer.effect(Service34, Effect.gen(function* () {
104
104
  }, releaseOnCommit(sessionID));
105
105
  }))
106
106
  });
107
- return Service34.of({
107
+ return Service36.of({
108
108
  active: coordinator.active,
109
109
  isActive: coordinator.isActive,
110
110
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service34, Effect.gen(function* () {
123
123
  awaitIdle: coordinator.awaitIdle
124
124
  });
125
125
  }));
126
- var node37 = makeGlobalNode({
127
- service: Service34,
128
- layer: layer18,
129
- deps: [node64, node39, node89, node90, node48]
126
+ var node39 = makeGlobalNode({
127
+ service: Service36,
128
+ layer: layer17,
129
+ deps: [node65, node42, node89, node90, node43]
130
130
  });
131
- var noopLayer2 = Layer.succeed(Service34, Service34.of({
131
+ var noopLayer3 = Layer.succeed(Service36, Service36.of({
132
132
  active: Effect.succeed(new Set),
133
133
  isActive: () => Effect.succeed(false),
134
134
  resume: () => Effect.void,
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service34, Service34.of({
137
137
  awaitIdle: () => Effect.void
138
138
  }));
139
139
 
140
- export { Service34, terminal2, layer18, node37, noopLayer2, exports_execution };
140
+ export { Service36, terminal2, layer17, node39, noopLayer3, exports_execution };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service85
3
- } from "./vcs-j9s0qvjv.js";
3
+ } from "./models-dev-1qaejmwp.js";
4
4
  import {
5
5
  supportsText2
6
- } from "./vcs-f00h63f7.js";
6
+ } from "./models-dev-d1bwbx6h.js";
7
7
  import {
8
- Service15,
9
- Event2
10
- } from "./vcs-y1kqc1p7.js";
8
+ Service68,
9
+ Event15
10
+ } from "./models-dev-5nke03s7.js";
11
11
 
12
12
  // src/plugin/models-dev.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -38,7 +38,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
38
38
  var ModelsDevPlugin2 = define({
39
39
  id: "opencode.models.dev",
40
40
  effect: Effect.fn(function* (ctx) {
41
- const modelsDev = yield* Service15;
41
+ const modelsDev = yield* Service68;
42
42
  const bus = yield* Service85;
43
43
  const loaded = { data: snapshots(yield* modelsDev.get()) };
44
44
  yield* ctx.integration.transform((integrations) => {
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
72
72
  loaded.data = snapshots(data);
73
73
  return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
74
74
  };
75
- yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
75
+ yield* bus.subscribe(Event15.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
76
76
  const latest = yield* modelsDev.get();
77
77
  if (snapshots(latest) !== loaded.data)
78
78
  yield* apply(latest);
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID7,
3
- Info16,
2
+ ID10,
3
+ Info18,
4
4
  SessionSchema2
5
- } from "./vcs-c8zwaxmp.js";
5
+ } from "./models-dev-c2sed5cq.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./vcs-z5v4ffb3.js";
8
+ } from "./models-dev-z5v4ffb3.js";
9
9
  import {
10
10
  Service86,
11
11
  node90
12
- } from "./vcs-7jsc1qpe.js";
12
+ } from "./models-dev-prgtw01z.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service85,
16
16
  node89
17
- } from "./vcs-j9s0qvjv.js";
17
+ } from "./models-dev-1qaejmwp.js";
18
18
  import {
19
- Service83,
20
- node87
21
- } from "./vcs-ssprmpe5.js";
19
+ Service79,
20
+ node83
21
+ } from "./models-dev-p5z45nn9.js";
22
22
  import {
23
- Service37,
24
- node39
25
- } from "./vcs-jhf3jymm.js";
23
+ Service40,
24
+ node42
25
+ } from "./models-dev-3ppptnan.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./vcs-ec1grn59.js";
28
+ } from "./models-dev-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./vcs-c1fqxshp.js";
31
+ } from "./models-dev-c1fqxshp.js";
32
32
  import {
33
- node38
34
- } from "./vcs-y4v5ah6d.js";
33
+ node40
34
+ } from "./models-dev-wttkh064.js";
35
35
  import {
36
36
  current2
37
- } from "./vcs-kqx1b4hy.js";
37
+ } from "./models-dev-0b5g1ynf.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./vcs-m27qakrx.js";
40
+ } from "./models-dev-7n61w1pq.js";
41
41
  import {
42
42
  Slug2
43
- } from "./vcs-gebd4c9n.js";
43
+ } from "./models-dev-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node29
47
- } from "./vcs-6fh64ftw.js";
46
+ node22
47
+ } from "./models-dev-0txbw99a.js";
48
48
  import {
49
49
  Metadata2,
50
- node56
51
- } from "./vcs-84msw036.js";
50
+ node71
51
+ } from "./models-dev-naag4epy.js";
52
52
  import {
53
- NotFoundError7,
53
+ NotFoundError9,
54
54
  InvalidListCursorError2,
55
55
  MessageNotFoundError2,
56
56
  ForkEmptyError2,
@@ -62,58 +62,58 @@ import {
62
62
  BusyError2,
63
63
  InboxConflictError2,
64
64
  SkillNotFoundError2
65
- } from "./vcs-gz9sjfgx.js";
65
+ } from "./models-dev-37cqxn50.js";
66
66
  import {
67
- ListInput3,
68
- Service61,
69
- node64
70
- } from "./vcs-rqds5wzt.js";
67
+ ListInput5,
68
+ Service63,
69
+ node65
70
+ } from "./models-dev-e6n82m9d.js";
71
71
  import {
72
- Service46,
73
- node48
74
- } from "./vcs-2x84g0hg.js";
72
+ Service41,
73
+ node43
74
+ } from "./models-dev-r4fjq33x.js";
75
75
  import {
76
- Service34,
77
- node37
78
- } from "./vcs-mm8g4k7x.js";
76
+ Service36,
77
+ node39
78
+ } from "./models-dev-9v8j2wcp.js";
79
79
  import {
80
80
  llmClient2
81
- } from "./vcs-775gj3j1.js";
81
+ } from "./models-dev-775gj3j1.js";
82
82
  import {
83
- Service31,
84
- node34
85
- } from "./vcs-mp6m6hpj.js";
83
+ Service28,
84
+ node32
85
+ } from "./models-dev-p33ckn3v.js";
86
86
  import {
87
87
  generate2
88
- } from "./vcs-zsaystjn.js";
88
+ } from "./models-dev-x525dgj0.js";
89
89
  import {
90
90
  execute2
91
- } from "./vcs-t08z9s5h.js";
91
+ } from "./models-dev-6rrewwnv.js";
92
92
  import {
93
- Service65,
94
- node68
95
- } from "./vcs-p9p9s22a.js";
93
+ Service67,
94
+ node69
95
+ } from "./models-dev-t40m281k.js";
96
96
  import {
97
97
  DestinationNotFoundError2,
98
98
  DestinationNotDirectoryError2,
99
99
  DestinationUnavailableError2,
100
- Service25,
101
- node28
102
- } from "./vcs-sesj2hvf.js";
100
+ Service18,
101
+ node21
102
+ } from "./models-dev-7z683adc.js";
103
103
  import {
104
- Service40,
105
- node42
106
- } from "./vcs-ppbmqrvr.js";
104
+ Service51,
105
+ node53
106
+ } from "./models-dev-vwpcpzep.js";
107
107
  import {
108
108
  make12
109
- } from "./vcs-az977ysh.js";
109
+ } from "./models-dev-1nxkmdr2.js";
110
110
  import {
111
111
  TurnRangeError2,
112
112
  turn2
113
- } from "./vcs-ah9qjh8p.js";
113
+ } from "./models-dev-ewjhws0n.js";
114
114
  import {
115
115
  __export
116
- } from "./vcs-9rqn6x4v.js";
116
+ } from "./models-dev-9rqn6x4v.js";
117
117
 
118
118
  // src/session.ts
119
119
  var exports_session = {};
@@ -124,24 +124,24 @@ __export(exports_session, {
124
124
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
125
125
  DestinationNotFoundError: () => DestinationNotFoundError2,
126
126
  DestinationUnavailableError: () => DestinationUnavailableError2,
127
- ID: () => ID7,
127
+ ID: () => ID10,
128
128
  InboxConflictError: () => InboxConflictError2,
129
- Info: () => Info16,
129
+ Info: () => Info18,
130
130
  InvalidListCursorError: () => InvalidListCursorError2,
131
131
  ListAnchor: () => ListAnchor2,
132
132
  ListCursor: () => ListCursor2,
133
133
  ListInput: () => ListInput2,
134
134
  MessageDecodeError: () => MessageDecodeError2,
135
135
  MessageNotFoundError: () => MessageNotFoundError2,
136
- NotFoundError: () => NotFoundError7,
136
+ NotFoundError: () => NotFoundError9,
137
137
  PromptConflictError: () => PromptConflictError2,
138
- Service: () => Service19,
138
+ Service: () => Service17,
139
139
  Session: () => exports_session,
140
140
  SessionSchema: () => SessionSchema2,
141
141
  SkillNotFoundError: () => SkillNotFoundError2,
142
142
  SyntheticConflictError: () => SyntheticConflictError2,
143
143
  TurnRangeError: () => TurnRangeError2,
144
- node: () => node22
144
+ node: () => node20
145
145
  });
146
146
  import { DateTime, Effect, Layer, Schema, Context, Stream } from "effect";
147
147
  import { LLMClient } from "@opencode/ai";
@@ -151,28 +151,28 @@ import { Model } from "@opencode/schema/model";
151
151
  import path from "path";
152
152
  import { Node } from "@opencode/util/effect/app-node";
153
153
  import { FSUtil } from "@opencode/util/fs-util";
154
- var ListInput2 = ListInput3;
154
+ var ListInput2 = ListInput5;
155
155
  var DefaultListLimit = 50;
156
- class Service19 extends Context.Service()("@opencode/Session") {
156
+ class Service17 extends Context.Service()("@opencode/Session") {
157
157
  }
158
- var layer = Layer.effect(Service19, Effect.gen(function* () {
158
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
159
159
  const app = yield* Metadata2;
160
160
  const database = yield* Service86;
161
161
  const db = database.db;
162
162
  const bus = yield* Service85;
163
- const projects = yield* Service83;
164
- const execution = yield* Service34;
163
+ const projects = yield* Service79;
164
+ const execution = yield* Service36;
165
165
  const llm = yield* LLMClient.Service;
166
- const transport = yield* Service31;
167
- const store = yield* Service61;
168
- const instances = yield* Service37;
169
- const moves = yield* Service25;
170
- const jobs = yield* Service46;
171
- const environments = yield* Service40;
172
- const locations = yield* Service65;
166
+ const transport = yield* Service28;
167
+ const store = yield* Service63;
168
+ const instances = yield* Service40;
169
+ const moves = yield* Service18;
170
+ const jobs = yield* Service41;
171
+ const environments = yield* Service51;
172
+ const locations = yield* Service67;
173
173
  const sessions = yield* make12();
174
174
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
175
- const result = Service19.of({
175
+ const result = Service17.of({
176
176
  create: Effect.fn("Session.create")(function* (input) {
177
177
  const sessionID = input.id ?? SessionSchema2.ID.create();
178
178
  const recorded = yield* store.get(sessionID);
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
180
180
  return recorded;
181
181
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
182
182
  if (input.parentID && parent === undefined)
183
- return yield* new NotFoundError7({ sessionID: input.parentID });
183
+ return yield* new NotFoundError9({ sessionID: input.parentID });
184
184
  const location = parent?.location ?? input.location;
185
185
  if (location === undefined)
186
186
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -301,11 +301,11 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
301
301
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
302
302
  generate: Effect.fn("Session.generate")(function* (input) {
303
303
  const session = yield* result.get(input.sessionID);
304
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service37, instances), Effect.provideService(Service86, database), Effect.provideService(LLMClient.Service, llm));
304
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service86, database), Effect.provideService(LLMClient.Service, llm));
305
305
  }),
306
306
  command: Effect.fn("Session.command")(function* (input) {
307
307
  const session = yield* result.get(input.sessionID);
308
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service37, instances));
308
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service40, instances));
309
309
  }),
310
310
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
311
311
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -347,27 +347,27 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
347
347
  });
348
348
  return result;
349
349
  }));
350
- var node22 = Node.makeGlobalNode({
351
- service: Service19,
350
+ var node20 = Node.makeGlobalNode({
351
+ service: Service17,
352
352
  layer,
353
353
  deps: [
354
- node48,
355
- node42,
354
+ node43,
355
+ node53,
356
356
  node90,
357
357
  node89,
358
- node87,
359
- node37,
360
- node34,
361
- llmClient2,
362
- node64,
358
+ node83,
363
359
  node39,
364
- node38,
365
- node28,
366
- node29,
367
- node68,
360
+ node32,
361
+ llmClient2,
362
+ node65,
363
+ node42,
364
+ node40,
365
+ node21,
366
+ node22,
367
+ node69,
368
368
  FSUtil.node,
369
- node56
369
+ node71
370
370
  ]
371
371
  });
372
372
 
373
- export { ListAnchor2, ListCursor2, ListInput2, Service19, node22, exports_session };
373
+ export { ListAnchor2, ListCursor2, ListInput2, Service17, node20, exports_session };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node56
5
- } from "./vcs-84msw036.js";
4
+ node71
5
+ } from "./models-dev-naag4epy.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./vcs-nxe4pcap.js";
9
+ } from "./models-dev-yrcj3v3g.js";
10
10
  import {
11
- Service64,
11
+ Service65,
12
12
  node67
13
- } from "./vcs-zrq8kphx.js";
13
+ } from "./models-dev-bjmt3h04.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./vcs-cv00cvbs.js";
16
+ } from "./models-dev-cjcd0dx4.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./vcs-rd3e5ygt.js";
19
+ } from "./models-dev-rkmtmhsy.js";
20
20
  import {
21
- Error2
22
- } from "./vcs-my0tytnd.js";
21
+ Error3
22
+ } from "./models-dev-yq5ncrpt.js";
23
23
  import {
24
24
  get5
25
- } from "./vcs-54ma36ye.js";
25
+ } from "./models-dev-54ma36ye.js";
26
26
  import {
27
- Service31,
28
- node34
29
- } from "./vcs-mp6m6hpj.js";
27
+ Service28,
28
+ node32
29
+ } from "./models-dev-p33ckn3v.js";
30
30
  import {
31
31
  make14
32
- } from "./vcs-drwq78ky.js";
32
+ } from "./models-dev-drwq78ky.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./vcs-6xcvt31d.js";
35
+ } from "./models-dev-pnzf6mjf.js";
36
36
  import {
37
37
  __export
38
- } from "./vcs-9rqn6x4v.js";
38
+ } from "./models-dev-9rqn6x4v.js";
39
39
 
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service30,
43
+ Service: () => Service27,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
- layer: () => layer16,
48
- node: () => node33,
47
+ layer: () => layer13,
48
+ node: () => node31,
49
49
  outputLimit: () => outputLimit2,
50
50
  unsupportedParts: () => unsupportedParts2
51
51
  });
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
156
156
  });
157
157
  };
158
158
 
159
- class Service30 extends Context.Service()("@opencode/SessionModelRequest") {
159
+ class Service27 extends Context.Service()("@opencode/SessionModelRequest") {
160
160
  }
161
- var layer16 = Layer.effect(Service30, Effect.gen(function* () {
162
- const hooks = yield* Service64;
163
- const transport = yield* Service31;
161
+ var layer13 = Layer.effect(Service27, Effect.gen(function* () {
162
+ const hooks = yield* Service65;
163
+ const transport = yield* Service28;
164
164
  const app = yield* Metadata2;
165
165
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
166
166
  const session = input.session;
@@ -168,7 +168,7 @@ var layer16 = Layer.effect(Service30, Effect.gen(function* () {
168
168
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
169
169
  const tools = input.tools ?? {
170
170
  definitions: [],
171
- execute: () => new Error2({ message: "Tools are not available for this request" })
171
+ execute: () => new Error3({ message: "Tools are not available for this request" })
172
172
  };
173
173
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
174
174
  const shaped = yield* shape({
@@ -265,17 +265,17 @@ var layer16 = Layer.effect(Service30, Effect.gen(function* () {
265
265
  };
266
266
  });
267
267
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
268
- return Service30.of({
268
+ return Service27.of({
269
269
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
270
270
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
271
271
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
272
272
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
273
273
  });
274
274
  }));
275
- var node33 = makeLocationNode({
276
- service: Service30,
277
- layer: layer16,
278
- deps: [node67, node34, node56]
275
+ var node31 = makeLocationNode({
276
+ service: Service27,
277
+ layer: layer13,
278
+ deps: [node67, node32, node71]
279
279
  });
280
280
 
281
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service30, layer16, node33, exports_model_request };
281
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service27, layer13, node31, exports_model_request };