@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,32 +1,32 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./vcs-j9s0qvjv.js";
4
+ } from "./models-dev-1qaejmwp.js";
5
5
  import {
6
6
  create3
7
- } from "./vcs-rdw6cm16.js";
7
+ } from "./models-dev-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./vcs-cv00cvbs.js";
10
+ } from "./models-dev-cjcd0dx4.js";
11
11
  import {
12
12
  __export
13
- } from "./vcs-9rqn6x4v.js";
13
+ } from "./models-dev-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event5,
21
- ID: () => ID3,
22
- Info: () => Info5,
20
+ Event: () => Event6,
21
+ ID: () => ID5,
22
+ Info: () => Info7,
23
23
  Name: () => Name2,
24
- Service: () => Service33,
24
+ Service: () => Service35,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available3,
29
- node: () => node36,
29
+ node: () => node38,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event5 } from "@opencode/schema/skill";
37
+ import { Event as Event6 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source4 = Skill.Source;
42
- var Info5 = Skill.Info;
43
- var ID3 = Skill.ID;
41
+ var Source3 = Skill.Source;
42
+ var Info7 = Skill.Info;
43
+ var ID5 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service33 extends Context.Service()("@opencode/Skill") {
74
+ class Service35 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service33, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
77
77
  const bus = yield* Service85;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID3.make(id)),
83
+ get: (id) => editor.skills.get(ID5.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID3.make(id));
88
+ const current = editor.skills.get(ID5.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID3.make(id);
92
+ current.id = ID5.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID3.make(id));
95
+ editor.skills.delete(ID5.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service33.of({
100
+ return Service35.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node36 = makeLocationNode({
112
- service: Service33,
111
+ var node38 = makeLocationNode({
112
+ service: Service35,
113
113
  layer,
114
114
  deps: [node89]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info5, ID3, Name2, available3, toModelOutput3, prepare3, Service33, node36, exports_skill5, Event5 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info7, ID5, Name2, available3, toModelOutput3, prepare3, Service35, node38, exports_skill5, Event6 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./vcs-gftt206x.js";
3
+ } from "./models-dev-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./vcs-9rqn6x4v.js";
6
+ } from "./models-dev-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update3
12
+ update: () => update2
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update3(adapter, event) {
24
+ function update2(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -403,4 +403,4 @@ function update3(adapter, event) {
403
403
  return project(event);
404
404
  }
405
405
 
406
- export { update3, exports_message_updater };
406
+ export { update2, exports_message_updater };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./vcs-y1fvbwt7.js";
3
+ } from "./models-dev-y1fvbwt7.js";
4
4
  import {
5
5
  __export
6
- } from "./vcs-9rqn6x4v.js";
6
+ } from "./models-dev-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service53,
12
+ Service: () => Service15,
13
13
  decision: () => decision2,
14
- layer: () => layer24,
15
- node: () => node55,
14
+ layer: () => layer9,
15
+ node: () => node17,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service53 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service15 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer24 = Layer.effect(Service53, Effect.gen(function* () {
24
+ var layer9 = Layer.effect(Service15, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service53.of({
27
+ return Service15.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer24 = Layer.effect(Service53, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node55 = makeGlobalNode({ service: Service53, layer: layer24, deps: [] });
39
+ var node17 = makeGlobalNode({ service: Service15, layer: layer9, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service53, layer24, node55, statements2, decision2, exports_managed_policy };
53
+ export { Service15, layer9, node17, statements2, decision2, exports_managed_policy };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/environment/files.ts
6
6
  var exports_files = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./vcs-9rqn6x4v.js";
3
+ } from "./models-dev-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: () => layer6,
9
+ layer: () => layer5,
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 layer6 = Layer.succeed(ChildProcessSpawner, spawner2);
20
+ var layer5 = Layer.succeed(ChildProcessSpawner, spawner2);
21
21
 
22
- export { spawner2, layer6, exports_unavailable };
22
+ export { spawner2, layer5, exports_unavailable };
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service85,
4
4
  node89
5
- } from "./vcs-j9s0qvjv.js";
5
+ } from "./models-dev-1qaejmwp.js";
6
6
  import {
7
7
  __export
8
- } from "./vcs-9rqn6x4v.js";
8
+ } from "./models-dev-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service3,
14
+ Service: () => Service2,
15
15
  Updated: () => Updated2,
16
- layer: () => layer5,
17
- node: () => node5
16
+ layer: () => layer4,
17
+ node: () => node3
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service3 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service2 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service3, Effect.gen(function* () {
25
+ var layer4 = Layer.effect(Service2, Effect.gen(function* () {
26
26
  const bus = yield* Service85;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service3.of({
29
+ return Service2.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node5 = makeGlobalNode({ service: Service3, layer: layer5, deps: [node89] });
36
+ var node3 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node89] });
37
37
 
38
- export { Updated2, Service3, layer5, node5, exports_sdk };
38
+ export { Updated2, Service2, layer4, node3, exports_sdk };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./vcs-rdw6cm16.js";
3
+ } from "./models-dev-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./vcs-qaymkmh1.js";
6
+ } from "./models-dev-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./vcs-9rqn6x4v.js";
9
+ } from "./models-dev-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options8,
15
- Service: () => Service50,
14
+ Options: () => Options5,
15
+ Service: () => Service53,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured7,
18
+ configured: () => configured5,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node52,
24
+ node: () => node55,
25
25
  ps: () => ps2,
26
- resolve: () => resolve3
26
+ resolve: () => resolve2
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options8 = Schema.Struct({
46
+ var Options5 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service50 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service53 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve3(input, configShell, options, bin) {
167
+ function resolve2(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve3(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve3.reset = () => {
183
+ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service50, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service50.of({
202
+ return Service53.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured7(options) {
210
- return makeLocationNode({ service: Service50, layer: layer(options), deps: [Global.node] });
209
+ function configured5(options) {
210
+ return makeLocationNode({ service: Service53, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node52 = configured7();
212
+ var node55 = configured5();
213
213
 
214
- export { Options8, Service50, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured7, node52, exports_select };
214
+ export { Options5, Service53, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list4, configured5, node55, exports_select };
@@ -7,21 +7,21 @@ import {
7
7
  deletePatch2,
8
8
  countPatch2,
9
9
  chunksByFile2
10
- } from "./vcs-tazgh4e4.js";
10
+ } from "./models-dev-tazgh4e4.js";
11
11
  import {
12
- Service82
13
- } from "./vcs-st8atvy4.js";
12
+ Service78
13
+ } from "./models-dev-pj3deymp.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./vcs-py94f0e0.js";
16
+ } from "./models-dev-c0w1yt3d.js";
17
17
  import {
18
18
  __export
19
- } from "./vcs-9rqn6x4v.js";
19
+ } from "./models-dev-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin16,
24
+ Plugin: () => Plugin3,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin16 = define({
33
+ var Plugin3 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service82;
36
+ const location = yield* Service78;
37
37
  if (location.vcs && location.vcs.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
198
198
  return { status, diff, branch, ancestor, cat };
199
199
  }
200
200
 
201
- export { Plugin16, exports_hg };
201
+ export { Plugin3, exports_hg };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID8
3
- } from "./vcs-mq3zggt6.js";
2
+ ID9
3
+ } from "./models-dev-3s4aw0kp.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./vcs-z5v4ffb3.js";
6
+ } from "./models-dev-z5v4ffb3.js";
7
7
  import {
8
- Info8
9
- } from "./vcs-1bmjn0qh.js";
8
+ Info13
9
+ } from "./models-dev-dys7k0s0.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./vcs-wt2f84b9.js";
12
+ } from "./models-dev-e198z0mp.js";
13
13
  import {
14
14
  latest2,
15
- Service41
16
- } from "./vcs-eyn1arby.js";
15
+ Service54
16
+ } from "./models-dev-gda0ts7c.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./vcs-8m6m0r52.js";
19
+ } from "./models-dev-8m6m0r52.js";
20
20
  import {
21
21
  __export
22
- } from "./vcs-9rqn6x4v.js";
22
+ } from "./models-dev-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent2 = {};
26
26
  __export(exports_agent2, {
27
27
  ConfigAgentPlugin: () => exports_agent2,
28
- Plugin: () => Plugin40
28
+ Plugin: () => Plugin35
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info8);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info13);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin40 = define({
47
+ var Plugin35 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service41;
50
+ const config = yield* Service54;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin40 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID8.make(configuredDefault));
79
+ editor.default(ID9.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID8.make(id);
85
+ const agentID = ID9.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin40, exports_agent2 };
164
+ export { Plugin35, exports_agent2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  requestExecutor2
3
- } from "./vcs-775gj3j1.js";
3
+ } from "./models-dev-775gj3j1.js";
4
4
  import {
5
- ID13,
6
- Service73,
7
- node76
8
- } from "./vcs-70n7ee7d.js";
5
+ ID16,
6
+ Service82,
7
+ node86
8
+ } from "./models-dev-p0hsc1b3.js";
9
9
  import {
10
10
  __export
11
- } from "./vcs-9rqn6x4v.js";
11
+ } from "./models-dev-9rqn6x4v.js";
12
12
 
13
13
  // src/voice.ts
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service16,
18
- UnavailableError: () => UnavailableError2,
17
+ Service: () => Service81,
18
+ UnavailableError: () => UnavailableError4,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer10,
21
- node: () => node18
20
+ layer: () => layer27,
21
+ node: () => node85
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -31,36 +31,36 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
31
31
  }) {
32
32
  }
33
33
 
34
- class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
34
+ class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
35
35
  message: Schema.String,
36
36
  service: Schema.optional(Schema.String)
37
37
  }) {
38
38
  }
39
39
 
40
- class Service16 extends Context.Service()("@opencode/Voice") {
40
+ class Service81 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer10 = Layer.effect(Service16, Effect.gen(function* () {
42
+ var layer27 = Layer.effect(Service81, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service73;
44
+ const integrations = yield* Service82;
45
45
  const session = Effect.fn("Voice.session")(function* (input) {
46
46
  const engine = Realtime.engine(input.model);
47
47
  if (!engine)
48
48
  return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
49
- const connection = (yield* integrations.get(ID13.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
50
- const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: engine.provider, message: error.message }))) : undefined;
49
+ const connection = (yield* integrations.get(ID16.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
50
+ const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
51
51
  if (credential?.type !== "key")
52
- return yield* new UnavailableError2({
52
+ return yield* new UnavailableError4({
53
53
  service: engine.provider,
54
54
  message: engine.provider === "openai" ? "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions." : "Voice needs an xAI API key on the server (a stored key or XAI_API_KEY)."
55
55
  });
56
- return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
56
+ return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
57
57
  });
58
- return Service16.of({ session });
58
+ return Service81.of({ session });
59
59
  }));
60
- var node18 = makeLocationNode({
61
- service: Service16,
62
- layer: layer10,
63
- deps: [node76, requestExecutor2]
60
+ var node85 = makeLocationNode({
61
+ service: Service81,
62
+ layer: layer27,
63
+ deps: [node86, requestExecutor2]
64
64
  });
65
65
 
66
- export { InvalidRequestError2, UnavailableError2, Service16, layer10, node18, exports_voice };
66
+ export { InvalidRequestError2, UnavailableError4, Service81, layer27, node85, exports_voice };