@opencode/core 2.0.2 → 2.0.3

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{location-services-eaj1djv9.js → mime-02a7j1yb.js} +8 -8
  9. package/dist/chunks/{location-services-34cjg5aj.js → mime-05gwmh6x.js} +11 -11
  10. package/dist/chunks/{location-services-5adankya.js → mime-07jv6yz6.js} +15 -15
  11. package/dist/chunks/{location-services-js2cb58t.js → mime-0e70zyzp.js} +17 -17
  12. package/dist/chunks/{location-services-3qccx5hy.js → mime-0f9vejxt.js} +26 -26
  13. package/dist/chunks/{location-services-awf1vrqt.js → mime-0gc96ev3.js} +16 -16
  14. package/dist/chunks/{location-services-xwwz9aqf.js → mime-0gr7cw0d.js} +4 -4
  15. package/dist/chunks/{location-services-a2jtfxjw.js → mime-0kcg9p5c.js} +14 -14
  16. package/dist/chunks/{location-services-bx9k359n.js → mime-0mtmygp7.js} +12 -12
  17. package/dist/chunks/{location-services-3z34j0cx.js → mime-0nhe5bzg.js} +7 -7
  18. package/dist/chunks/{location-services-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  19. package/dist/chunks/{location-services-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
  20. package/dist/chunks/{location-services-r4p7g342.js → mime-0x7565bv.js} +8 -8
  21. package/dist/chunks/{location-services-p3sqqmz6.js → mime-0xcwyxas.js} +32 -32
  22. package/dist/chunks/{location-services-r9x9035c.js → mime-1ajjaskr.js} +17 -17
  23. package/dist/chunks/{location-services-1bbkgx8g.js → mime-1bbkgx8g.js} +1 -1
  24. package/dist/chunks/{location-services-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{location-services-mjbh00zx.js → mime-1drzz6a4.js} +6 -6
  26. package/dist/chunks/{location-services-1emffesh.js → mime-1h4ppwsj.js} +11 -11
  27. package/dist/chunks/{location-services-ghv2730f.js → mime-1khmrxma.js} +41 -41
  28. package/dist/chunks/{location-services-4tka16dg.js → mime-1s7fk0j0.js} +16 -16
  29. package/dist/chunks/{location-services-33w4ejhs.js → mime-1ygqh575.js} +6 -6
  30. package/dist/chunks/{location-services-21r38tys.js → mime-21r38tys.js} +1 -1
  31. package/dist/chunks/{location-services-6h73sxmp.js → mime-2402vzrj.js} +5 -5
  32. package/dist/chunks/{location-services-wajnf5bs.js → mime-2419kjk7.js} +9 -9
  33. package/dist/chunks/{location-services-qr5f7037.js → mime-26m96hf0.js} +16 -16
  34. package/dist/chunks/{location-services-3hrj6hc1.js → mime-27cjkq2h.js} +22 -22
  35. package/dist/chunks/{location-services-hj95hp1y.js → mime-29seat8c.js} +22 -22
  36. package/dist/chunks/{location-services-z63w68vq.js → mime-29x78va6.js} +6 -6
  37. package/dist/chunks/{location-services-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  38. package/dist/chunks/{location-services-e1m73h80.js → mime-2b4vkxet.js} +32 -32
  39. package/dist/chunks/{location-services-wcg6xr7g.js → mime-2ff821eq.js} +11 -11
  40. package/dist/chunks/{location-services-vpbqjthg.js → mime-2h1k6vak.js} +10 -10
  41. package/dist/chunks/{location-services-jxyew9fw.js → mime-2magtmd2.js} +4 -4
  42. package/dist/chunks/{location-services-sas8pg5s.js → mime-2t5kqt1k.js} +1 -1
  43. package/dist/chunks/{location-services-byj6491s.js → mime-2vr1hr03.js} +20 -20
  44. package/dist/chunks/{location-services-vzaj5ab4.js → mime-2zdv8wt0.js} +26 -26
  45. package/dist/chunks/{location-services-0mt0kscd.js → mime-31je9t57.js} +24 -24
  46. package/dist/chunks/{location-services-ccxa221s.js → mime-348n1k1m.js} +5 -5
  47. package/dist/chunks/{location-services-t71tw57v.js → mime-34f33jfe.js} +13 -13
  48. package/dist/chunks/{location-services-csqhwd0e.js → mime-3ac6cy74.js} +23 -23
  49. package/dist/chunks/{location-services-2tfmgkzg.js → mime-3amprz0f.js} +4 -4
  50. package/dist/chunks/{location-services-vjngb1jq.js → mime-3ax7whkq.js} +7 -7
  51. package/dist/chunks/{location-services-03g9n59p.js → mime-3bca72pz.js} +4 -4
  52. package/dist/chunks/{location-services-pz39f4ja.js → mime-3c5r44ez.js} +33 -33
  53. package/dist/chunks/{location-services-2est6f04.js → mime-3es18rb9.js} +9 -9
  54. package/dist/chunks/{location-services-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  55. package/dist/chunks/{location-services-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  56. package/dist/chunks/{location-services-wv08tht3.js → mime-3k5rp9zq.js} +20 -20
  57. package/dist/chunks/{location-services-76h67nm5.js → mime-3mp8pt0x.js} +12 -12
  58. package/dist/chunks/{location-services-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  59. package/dist/chunks/{location-services-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  60. package/dist/chunks/{location-services-69j49pks.js → mime-3wjgak91.js} +4 -4
  61. package/dist/chunks/{location-services-b1h6aq5y.js → mime-3xz6hyac.js} +24 -24
  62. package/dist/chunks/{location-services-rmmsmjb4.js → mime-3zf9b344.js} +4 -4
  63. package/dist/chunks/{location-services-e7vk223c.js → mime-3zpd0x8a.js} +27 -27
  64. package/dist/chunks/{location-services-1cw6jyks.js → mime-4e18mqjd.js} +9 -9
  65. package/dist/chunks/{location-services-n9qvx0dx.js → mime-4ey0fprp.js} +14 -14
  66. package/dist/chunks/{location-services-nh7bjnck.js → mime-4nncm24z.js} +25 -25
  67. package/dist/chunks/{location-services-tbbfetw3.js → mime-4w46mhc5.js} +13 -13
  68. package/dist/chunks/{location-services-1m7gs3ah.js → mime-53c48grp.js} +49 -49
  69. package/dist/chunks/{location-services-rh0bdmv0.js → mime-56yeekyc.js} +13 -13
  70. package/dist/chunks/{location-services-219neeqh.js → mime-5ahh7ntp.js} +5 -5
  71. package/dist/chunks/{location-services-5daktx2q.js → mime-5daktx2q.js} +1 -1
  72. package/dist/chunks/{location-services-xvqk5qet.js → mime-5gzmb6dp.js} +32 -32
  73. package/dist/chunks/{location-services-tnrzkm65.js → mime-5hf3fyzy.js} +15 -15
  74. package/dist/chunks/{location-services-cgryk3d0.js → mime-5psmcwnn.js} +20 -20
  75. package/dist/chunks/{location-services-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  76. package/dist/chunks/{location-services-669tq793.js → mime-669tq793.js} +1 -1
  77. package/dist/chunks/{location-services-6xpnb31x.js → mime-66v7x5gy.js} +32 -32
  78. package/dist/chunks/{location-services-endx0wqw.js → mime-6b2vme4h.js} +2 -2
  79. package/dist/chunks/{location-services-d9627bvv.js → mime-6ean1s1z.js} +11 -11
  80. package/dist/chunks/{location-services-6hh8tjw2.js → mime-6hh8tjw2.js} +1 -1
  81. package/dist/chunks/{location-services-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
  82. package/dist/chunks/{location-services-req99jdj.js → mime-6q31zrbr.js} +36 -36
  83. package/dist/chunks/{location-services-2xh74eyw.js → mime-6vz9gfbd.js} +15 -15
  84. package/dist/chunks/{location-services-71q4at8m.js → mime-71q4at8m.js} +1 -1
  85. package/dist/chunks/{location-services-q6fregp6.js → mime-771dt0vh.js} +3 -3
  86. package/dist/chunks/{location-services-20ct9c8y.js → mime-77hmfzz5.js} +41 -41
  87. package/dist/chunks/{location-services-cvtmmhw6.js → mime-79w795fr.js} +1 -1
  88. package/dist/chunks/{location-services-x0mzf5sc.js → mime-7assmfkm.js} +5 -5
  89. package/dist/chunks/{location-services-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  90. package/dist/chunks/{location-services-0jwsre1p.js → mime-7dqw4kz8.js} +5 -5
  91. package/dist/chunks/{location-services-2p1x4cae.js → mime-7rntk513.js} +18 -18
  92. package/dist/chunks/{location-services-xfm7bwgx.js → mime-824vcv1n.js} +20 -20
  93. package/dist/chunks/{location-services-c293rtmv.js → mime-83qrv3hw.js} +6 -6
  94. package/dist/chunks/{location-services-garbmm90.js → mime-8815nq26.js} +6 -6
  95. package/dist/chunks/{location-services-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{location-services-pqxmvtn6.js → mime-8fjx57rb.js} +13 -13
  97. package/dist/chunks/{location-services-cydqfn8g.js → mime-8kdf3zjj.js} +33 -33
  98. package/dist/chunks/{location-services-dgmwn8ez.js → mime-8mfdap3f.js} +8 -8
  99. package/dist/chunks/{location-services-dj2t23y0.js → mime-8p4f9s12.js} +2 -2
  100. package/dist/chunks/{location-services-zk8c4w5t.js → mime-8ryk0bb9.js} +5 -5
  101. package/dist/chunks/{location-services-20tey5zg.js → mime-8z221vkh.js} +28 -28
  102. package/dist/chunks/{location-services-9q7w8qe9.js → mime-95wcbadv.js} +5 -5
  103. package/dist/chunks/{location-services-fmcxa852.js → mime-9e5xqeqt.js} +12 -12
  104. package/dist/chunks/mime-9jxymrt4.js +247 -0
  105. package/dist/chunks/{location-services-cfq2tqyc.js → mime-9k690w47.js} +27 -27
  106. package/dist/chunks/{location-services-h0e829jw.js → mime-9nydp2f6.js} +32 -32
  107. package/dist/chunks/{location-services-jj63jgrn.js → mime-9pm6y0s1.js} +8 -8
  108. package/dist/chunks/{location-services-w365kw1b.js → mime-9xrpzr2m.js} +8 -8
  109. package/dist/chunks/{location-services-a5nry4jq.js → mime-9zqg8qpq.js} +5 -5
  110. package/dist/chunks/{location-services-x8f1tbsj.js → mime-a0amxwx8.js} +14 -14
  111. package/dist/chunks/{location-services-r6qxwhmr.js → mime-a13hqwzr.js} +6 -6
  112. package/dist/chunks/{location-services-5c4hm403.js → mime-a1bz86dw.js} +3 -3
  113. package/dist/chunks/{location-services-t0x5rdq8.js → mime-a5gt7g2r.js} +9 -9
  114. package/dist/chunks/{location-services-aaet6srn.js → mime-aaet6srn.js} +2 -2
  115. package/dist/chunks/{location-services-sczemkxt.js → mime-ak7sjf8k.js} +10 -10
  116. package/dist/chunks/{location-services-fkbdwje6.js → mime-ar6rwxgq.js} +18 -18
  117. package/dist/chunks/mime-b1jrztkg.js +26 -0
  118. package/dist/chunks/{location-services-70d2s7af.js → mime-b2vqmjat.js} +1 -1
  119. package/dist/chunks/{location-services-9yz08dhv.js → mime-b315ag2q.js} +17 -17
  120. package/dist/chunks/{location-services-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{location-services-k46ek28k.js → mime-b8cmw211.js} +9 -9
  122. package/dist/chunks/{location-services-k4e7wm7p.js → mime-bawj3v5d.js} +17 -17
  123. package/dist/chunks/{location-services-hajzqnjk.js → mime-bb4ztexx.js} +18 -18
  124. package/dist/chunks/{location-services-paegk39x.js → mime-bccb6npm.js} +4 -4
  125. package/dist/chunks/{location-services-v9b1dqp1.js → mime-bhp9fn5h.js} +3 -3
  126. package/dist/chunks/{location-services-fv23cpfe.js → mime-bjbqe5j4.js} +5 -5
  127. package/dist/chunks/{location-services-b1yrrjjr.js → mime-bst9cd68.js} +6 -6
  128. package/dist/chunks/{location-services-3w0fmcng.js → mime-c78bbtc9.js} +5 -5
  129. package/dist/chunks/{location-services-xd2p8b6x.js → mime-caw866h7.js} +11 -11
  130. package/dist/chunks/{location-services-m0jqrx5p.js → mime-cfpkc3c9.js} +2 -2
  131. package/dist/chunks/{location-services-dv1qgsyq.js → mime-cmwkp3r5.js} +8 -8
  132. package/dist/chunks/{location-services-1a66p2eq.js → mime-crfhge7d.js} +20 -20
  133. package/dist/chunks/{location-services-1ezhg5n2.js → mime-cvt7tjwh.js} +33 -33
  134. package/dist/chunks/{location-services-jwd472vv.js → mime-cx2dw8ng.js} +5 -5
  135. package/dist/chunks/{location-services-akybccbs.js → mime-depwzj9d.js} +9 -9
  136. package/dist/chunks/{location-services-bscb95cy.js → mime-dg5bcj4q.js} +6 -6
  137. package/dist/chunks/{location-services-4y66k410.js → mime-e5nv3ght.js} +12 -5
  138. package/dist/chunks/{location-services-c04yyk0p.js → mime-efp1nzpe.js} +12 -12
  139. package/dist/chunks/{location-services-tx9qvpbt.js → mime-eraanh1f.js} +2 -2
  140. package/dist/chunks/{location-services-hkn3d3em.js → mime-esaayfhr.js} +12 -12
  141. package/dist/chunks/{location-services-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{location-services-jxnawz51.js → mime-ex0mzm10.js} +9 -9
  143. package/dist/chunks/{location-services-t9wdc6hm.js → mime-ex105f0g.js} +7 -7
  144. package/dist/chunks/{location-services-1acjjqhc.js → mime-f2n192rq.js} +4 -4
  145. package/dist/chunks/{location-services-hdnk95c8.js → mime-f828m53h.js} +2 -2
  146. package/dist/chunks/{location-services-vbjhd26x.js → mime-fap8rsc6.js} +36 -36
  147. package/dist/chunks/{location-services-fme7gyv2.js → mime-fce3k32g.js} +21 -21
  148. package/dist/chunks/{location-services-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{location-services-2mk0xfrn.js → mime-g04bxtcn.js} +4 -4
  150. package/dist/chunks/{location-services-3kx4em2y.js → mime-g6878fex.js} +18 -18
  151. package/dist/chunks/{location-services-542ghrza.js → mime-g7jyz10z.js} +44 -44
  152. package/dist/chunks/{location-services-2gv9ss0t.js → mime-g7nm1tr2.js} +26 -26
  153. package/dist/chunks/{location-services-qwkytnft.js → mime-ga6hqhxm.js} +9 -9
  154. package/dist/chunks/{location-services-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{location-services-r986sde3.js → mime-ggch0ev5.js} +15 -15
  156. package/dist/chunks/{location-services-107p1e5w.js → mime-gmw5hd0s.js} +30 -30
  157. package/dist/chunks/{location-services-sxat3wmc.js → mime-gnq13918.js} +9 -9
  158. package/dist/chunks/{location-services-w79zsp0s.js → mime-gqrjg9m0.js} +2 -1
  159. package/dist/chunks/{location-services-0pb75hch.js → mime-gqrsst1j.js} +5 -5
  160. package/dist/chunks/{location-services-zvt5dnpc.js → mime-gst7axd9.js} +4 -4
  161. package/dist/chunks/{location-services-h43s0y1m.js → mime-gwk6svk5.js} +2 -2
  162. package/dist/chunks/{location-services-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
  163. package/dist/chunks/{location-services-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  164. package/dist/chunks/mime-h7v0c4h9.js +97 -0
  165. package/dist/chunks/{location-services-6vgebzwc.js → mime-hdrc7pzh.js} +24 -24
  166. package/dist/chunks/{location-services-db0ywk9p.js → mime-hf6kd63r.js} +20 -20
  167. package/dist/chunks/{location-services-42etq36e.js → mime-hk1cyxmr.js} +49 -44
  168. package/dist/chunks/{location-services-b2r28sfe.js → mime-hkgwg6cc.js} +20 -20
  169. package/dist/chunks/{location-services-585kdyqn.js → mime-hkjvptd8.js} +19 -19
  170. package/dist/chunks/{location-services-jv01nqvq.js → mime-hnr5yq9h.js} +5 -5
  171. package/dist/chunks/{location-services-cj7k1vck.js → mime-hxnftcv1.js} +26 -26
  172. package/dist/chunks/{location-services-tf1j6dqp.js → mime-j0xvhg4t.js} +23 -23
  173. package/dist/chunks/{location-services-b3frasm9.js → mime-j1tqpjge.js} +11 -11
  174. package/dist/chunks/{location-services-j56e64zr.js → mime-j56e64zr.js} +1 -1
  175. package/dist/chunks/{location-services-paphc93g.js → mime-j935v87r.js} +2 -2
  176. package/dist/chunks/{location-services-2hf86re2.js → mime-jg33m14x.js} +38 -38
  177. package/dist/chunks/{location-services-pn0ragf5.js → mime-jq13afhk.js} +7 -7
  178. package/dist/chunks/{location-services-8pysh2wa.js → mime-js4jadbf.js} +4 -4
  179. package/dist/chunks/{location-services-sng378jj.js → mime-jvw2nnm0.js} +9 -9
  180. package/dist/chunks/{location-services-tqntqbg3.js → mime-jwttd70a.js} +32 -32
  181. package/dist/chunks/{location-services-bcb9n2af.js → mime-jzp1tdep.js} +13 -13
  182. package/dist/chunks/{location-services-t1y5sq03.js → mime-k12bwzmm.js} +86 -86
  183. package/dist/chunks/{location-services-kg06axw8.js → mime-kg06axw8.js} +1 -1
  184. package/dist/chunks/{location-services-pvdm847m.js → mime-kghzffp5.js} +18 -18
  185. package/dist/chunks/{location-services-cv4zdsrn.js → mime-kxmcqd0q.js} +25 -25
  186. package/dist/chunks/{location-services-xg9t41r3.js → mime-ky3seynh.js} +2 -2
  187. package/dist/chunks/{location-services-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{location-services-1txhhsar.js → mime-mkgf31e5.js} +4 -4
  189. package/dist/chunks/{location-services-j26kwb45.js → mime-mr645x8e.js} +63 -53
  190. package/dist/chunks/{location-services-fx8h9evn.js → mime-n0ta87th.js} +3 -3
  191. package/dist/chunks/{location-services-y5r1chhz.js → mime-n6wnmytb.js} +8 -8
  192. package/dist/chunks/{location-services-kj36tdkt.js → mime-n9pgkqx1.js} +9 -9
  193. package/dist/chunks/{location-services-hjt4xg1x.js → mime-nhy5jxhy.js} +4 -4
  194. package/dist/chunks/{location-services-5a8my2dm.js → mime-nxa5rjjz.js} +13 -13
  195. package/dist/chunks/{location-services-vv213pfm.js → mime-nxrdkmqf.js} +30 -30
  196. package/dist/chunks/{location-services-bna2jm49.js → mime-nzwzy72p.js} +9 -9
  197. package/dist/chunks/mime-p2h6zvwc.js +18 -0
  198. package/dist/chunks/{location-services-m9e6zxeh.js → mime-p7ks6zyz.js} +11 -11
  199. package/dist/chunks/{location-services-vgm7d86c.js → mime-pcedqjxk.js} +28 -28
  200. package/dist/chunks/{location-services-kqd2wwpf.js → mime-pck3w1ab.js} +4 -4
  201. package/dist/chunks/{location-services-mz6ae2yf.js → mime-pd4btrn7.js} +1 -1
  202. package/dist/chunks/{location-services-x9k84rm6.js → mime-pe4b2cf4.js} +173 -173
  203. package/dist/chunks/{location-services-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{location-services-pknna89w.js → mime-pknna89w.js} +1 -1
  205. package/dist/chunks/{location-services-m2d0j7c0.js → mime-pnv527nz.js} +9 -9
  206. package/dist/chunks/{location-services-1ewwg606.js → mime-q2fb3trg.js} +45 -45
  207. package/dist/chunks/{location-services-adadcvct.js → mime-q2yns0nb.js} +5 -5
  208. package/dist/chunks/{location-services-y7wy22rx.js → mime-q4w5h7cm.js} +28 -28
  209. package/dist/chunks/{location-services-8qgkpww5.js → mime-q6sszjbn.js} +9 -9
  210. package/dist/chunks/{location-services-p0a23dx6.js → mime-qfzde7bh.js} +6 -6
  211. package/dist/chunks/{location-services-drkq60sc.js → mime-qhvmp4yv.js} +35 -35
  212. package/dist/chunks/{location-services-h2r7bbkd.js → mime-qs001aqx.js} +11 -11
  213. package/dist/chunks/{location-services-qsdy395h.js → mime-qsdy395h.js} +1 -1
  214. package/dist/chunks/{location-services-ssjhvfxk.js → mime-qvkfnpew.js} +56 -56
  215. package/dist/chunks/{location-services-nqntf4eh.js → mime-r27v71mw.js} +62 -62
  216. package/dist/chunks/{location-services-vncycja5.js → mime-r98e92ep.js} +4 -4
  217. package/dist/chunks/{location-services-r9mregkx.js → mime-r9mregkx.js} +2 -2
  218. package/dist/chunks/{location-services-24w6x0js.js → mime-raczhzft.js} +18 -18
  219. package/dist/chunks/{location-services-rsym84ch.js → mime-rk0rec3h.js} +9 -9
  220. package/dist/chunks/{location-services-hyqjefsy.js → mime-rme0s8je.js} +108 -86
  221. package/dist/chunks/{location-services-1s3p39g4.js → mime-rph3zd4r.js} +6 -6
  222. package/dist/chunks/{location-services-kke3pb1j.js → mime-rpqc7xtd.js} +5 -5
  223. package/dist/chunks/{location-services-m91gvp7t.js → mime-rqcbxq1a.js} +8 -8
  224. package/dist/chunks/{location-services-948cxjmy.js → mime-rvw86qrh.js} +24 -24
  225. package/dist/chunks/{location-services-yj94a1d5.js → mime-s2azsgc2.js} +47 -47
  226. package/dist/chunks/{location-services-yrznvahk.js → mime-s4enseaf.js} +2 -2
  227. package/dist/chunks/{location-services-htcxsbd3.js → mime-s6khr2z3.js} +28 -28
  228. package/dist/chunks/{location-services-7mrkexn2.js → mime-s74jw2kt.js} +39 -39
  229. package/dist/chunks/{location-services-nvksyjxq.js → mime-s957sxhe.js} +21 -21
  230. package/dist/chunks/{location-services-0artwwxx.js → mime-sc497s7j.js} +3 -3
  231. package/dist/chunks/{location-services-5agpr7j3.js → mime-spb3hsfg.js} +16 -16
  232. package/dist/chunks/{location-services-jy6ssemz.js → mime-szb4ct1t.js} +20 -20
  233. package/dist/chunks/{location-services-p1qy1t52.js → mime-t1xxg50c.js} +11 -11
  234. package/dist/chunks/{location-services-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{location-services-tcezcvh9.js → mime-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{location-services-tdstcens.js → mime-tdstcens.js} +1 -1
  237. package/dist/chunks/{location-services-ywn91hmh.js → mime-teqxmgy8.js} +20 -20
  238. package/dist/chunks/{location-services-gv6a8nnw.js → mime-th5km1p3.js} +5 -5
  239. package/dist/chunks/{location-services-yd6mkx5z.js → mime-tnf45s15.js} +5 -5
  240. package/dist/chunks/{location-services-v64gcnw2.js → mime-ttkasvj9.js} +5 -5
  241. package/dist/chunks/{location-services-tvtrv512.js → mime-tvtrv512.js} +1 -1
  242. package/dist/chunks/{location-services-rq8nv58m.js → mime-v5bprabd.js} +20 -20
  243. package/dist/chunks/{location-services-j7t2khjb.js → mime-vbedh2fb.js} +13 -13
  244. package/dist/chunks/{location-services-615073jg.js → mime-vc2f4mv3.js} +3 -3
  245. package/dist/chunks/{location-services-veqvce7d.js → mime-veqvce7d.js} +1 -1
  246. package/dist/chunks/{location-services-a8kyr2x4.js → mime-vz9r8jjr.js} +11 -11
  247. package/dist/chunks/{location-services-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{location-services-97gsetns.js → mime-w3mesfdc.js} +9 -9
  249. package/dist/chunks/{location-services-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{location-services-0r684n0p.js → mime-w49382pb.js} +8 -8
  251. package/dist/chunks/{location-services-wd87259q.js → mime-wd87259q.js} +1 -1
  252. package/dist/chunks/{location-services-z4fsc67a.js → mime-wgqr0wr2.js} +13 -13
  253. package/dist/chunks/{location-services-eqtkqxc7.js → mime-wq0697zs.js} +31 -31
  254. package/dist/chunks/{location-services-265kqrgy.js → mime-wqgnyshj.js} +1 -1
  255. package/dist/chunks/{location-services-9bxfga2g.js → mime-wwr0k6jb.js} +6 -6
  256. package/dist/chunks/{location-services-dpv3ckk4.js → mime-wzfbm1pf.js} +24 -24
  257. package/dist/chunks/{location-services-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{location-services-wavq5vqb.js → mime-xc0y5txa.js} +1 -1
  259. package/dist/chunks/{location-services-ha8q569c.js → mime-xcggh081.js} +4 -4
  260. package/dist/chunks/{location-services-sjzmzw6k.js → mime-xcz029a5.js} +22 -22
  261. package/dist/chunks/{location-services-jw80jp6b.js → mime-xdk9p2qn.js} +21 -21
  262. package/dist/chunks/{location-services-twbrtgyh.js → mime-xmvnw2y2.js} +6 -6
  263. package/dist/chunks/{location-services-33n3bzdy.js → mime-xnqxh1k4.js} +6 -6
  264. package/dist/chunks/{location-services-rkkpgdp7.js → mime-xnxgv7d0.js} +18 -18
  265. package/dist/chunks/mime-xrsqh21y.js +4 -0
  266. package/dist/chunks/{location-services-gsr2pv6w.js → mime-xvssc1kt.js} +17 -17
  267. package/dist/chunks/{location-services-j7wq2tw5.js → mime-xxynqx5z.js} +3 -3
  268. package/dist/chunks/{location-services-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{location-services-nwd6ekzm.js → mime-y1hy1c31.js} +30 -30
  270. package/dist/chunks/{location-services-35wynegs.js → mime-y6fqbdb6.js} +2 -2
  271. package/dist/chunks/{location-services-t6wppts7.js → mime-y6r7tp3a.js} +6 -6
  272. package/dist/chunks/{location-services-dpkg50ah.js → mime-y71avatq.js} +4 -4
  273. package/dist/chunks/{location-services-8ztsynak.js → mime-yk45fjth.js} +10 -10
  274. package/dist/chunks/{location-services-7fyj755m.js → mime-yrgys5zv.js} +40 -40
  275. package/dist/chunks/{location-services-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{location-services-7gvwkz6m.js → mime-yt0fqk68.js} +5 -5
  277. package/dist/chunks/{location-services-nsme3wtk.js → mime-yz87v98p.js} +24 -24
  278. package/dist/chunks/{location-services-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{location-services-15f8axbg.js → mime-z159gw3g.js} +17 -17
  280. package/dist/chunks/{location-services-yqzynv2p.js → mime-z2gbnfa5.js} +23 -23
  281. package/dist/chunks/{location-services-d5t04rjd.js → mime-z3af23pk.js} +19 -19
  282. package/dist/chunks/{location-services-fe7neb4g.js → mime-z3zadmjk.js} +57 -57
  283. package/dist/chunks/mime-z7q0mhzt.js +462 -0
  284. package/dist/chunks/{location-services-n5xg6qpj.js → mime-zch57v4g.js} +10 -10
  285. package/dist/chunks/{location-services-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{location-services-yz6937d7.js → mime-zg7qrvva.js} +16 -16
  287. package/dist/chunks/{location-services-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{location-services-97x9kwse.js → mime-zxh2e4w2.js} +37 -37
  289. package/dist/chunks/{location-services-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +82 -82
  294. package/dist/config/discovery.js +79 -78
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +19 -19
  297. package/dist/config/plugin/agent.js +117 -116
  298. package/dist/config/plugin/command.js +208 -206
  299. package/dist/config/plugin/compaction.js +157 -156
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +119 -118
  302. package/dist/config/plugin/image.js +117 -116
  303. package/dist/config/plugin/instruction.js +87 -86
  304. package/dist/config/plugin/location-watcher.js +119 -118
  305. package/dist/config/plugin/mcp.js +126 -125
  306. package/dist/config/plugin/policy.js +116 -115
  307. package/dist/config/plugin/provider.js +115 -114
  308. package/dist/config/plugin/reference.js +119 -118
  309. package/dist/config/plugin/shell.js +118 -117
  310. package/dist/config/plugin/skill-file.js +99 -98
  311. package/dist/config/plugin/skill.js +136 -135
  312. package/dist/config/plugin/snapshot.js +117 -116
  313. package/dist/config/plugin/source.js +117 -116
  314. package/dist/config/plugin/tool-output.js +119 -118
  315. package/dist/config/plugin/websearch.js +115 -114
  316. package/dist/config/plugin/worktree.js +120 -119
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +119 -118
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +16 -16
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  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 +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +363 -362
  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 +90 -89
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +92 -91
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +101 -100
  412. package/dist/file-mutation.js +91 -90
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +224 -223
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +101 -100
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +13 -13
  426. package/dist/filesystem.js +102 -101
  427. package/dist/form.js +85 -85
  428. package/dist/formatter/builtins.js +2 -2
  429. package/dist/formatter.js +84 -83
  430. package/dist/generate.js +92 -92
  431. package/dist/git.js +8 -7
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +7 -7
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +354 -353
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +84 -83
  458. package/dist/instructions/index.js +5 -5
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +132 -131
  465. package/dist/location-mutation.js +101 -100
  466. package/dist/location-service-map.js +85 -84
  467. package/dist/location-services.js +351 -350
  468. package/dist/location.js +86 -85
  469. package/dist/mcp/client.js +88 -87
  470. package/dist/mcp/index.js +105 -104
  471. package/dist/mcp/instructions.js +122 -121
  472. package/dist/mcp/oauth.js +3 -3
  473. package/dist/mcp/stdio.js +87 -86
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +7 -7
  476. package/dist/model-resolver.js +87 -87
  477. package/dist/model.js +10 -10
  478. package/dist/models-dev.js +87 -87
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +81 -81
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +112 -111
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +87 -87
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +99 -98
  489. package/dist/plugin/command.js +96 -95
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +215 -214
  492. package/dist/plugin/instance.js +5 -5
  493. package/dist/plugin/internal.js +325 -324
  494. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  495. package/dist/plugin/models-dev.js +76 -76
  496. package/dist/plugin/module.js +5 -5
  497. package/dist/plugin/optimize.js +2 -2
  498. package/dist/plugin/plan.js +99 -98
  499. package/dist/plugin/promise.js +1 -1
  500. package/dist/plugin/provider/alibaba.js +2 -2
  501. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  502. package/dist/plugin/provider/azure.js +120 -119
  503. package/dist/plugin/provider/cerebras.js +2 -2
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -118
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -118
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +116 -115
  508. package/dist/plugin/provider/digitalocean.js +80 -80
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +81 -81
  513. package/dist/plugin/provider/gitlab.js +3 -3
  514. package/dist/plugin/provider/google-vertex.js +2 -2
  515. package/dist/plugin/provider/kilo.js +2 -2
  516. package/dist/plugin/provider/llmgateway.js +77 -77
  517. package/dist/plugin/provider/lmstudio.js +117 -116
  518. package/dist/plugin/provider/modal.js +80 -80
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -116
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +79 -79
  523. package/dist/plugin/provider/opencode.js +80 -80
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +119 -118
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -116
  533. package/dist/plugin/provider/xai.js +78 -78
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -157
  536. package/dist/plugin/sdk.js +69 -69
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +135 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +342 -341
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +83 -83
  544. package/dist/plugin/vcs/hg.js +83 -83
  545. package/dist/plugin/warming.js +114 -113
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +226 -225
  554. package/dist/project/schema.js +8 -8
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +85 -84
  557. package/dist/provider.js +5 -5
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +94 -93
  562. package/dist/reference/instructions.js +86 -85
  563. package/dist/reference.js +88 -87
  564. package/dist/repository-cache.js +78 -77
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +95 -94
  568. package/dist/rpc.js +83 -82
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +131 -130
  572. package/dist/session/context.js +149 -148
  573. package/dist/session/diff.js +94 -0
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +7 -7
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +219 -217
  578. package/dist/session/execution.js +124 -123
  579. package/dist/session/generate.js +148 -147
  580. package/dist/session/history.js +15 -15
  581. package/dist/session/inbox.js +87 -87
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +94 -93
  586. package/dist/session/message-updater.js +2 -2
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +115 -114
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +128 -127
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +102 -101
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +87 -86
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +227 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +87 -87
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +110 -109
  602. package/dist/session/runner/step.js +123 -122
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +5 -5
  605. package/dist/session/session.js +171 -170
  606. package/dist/session/shell.js +133 -132
  607. package/dist/session/skill.js +100 -99
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +208 -206
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +153 -152
  615. package/dist/session/to-session-error.js +109 -108
  616. package/dist/session/transfer.js +215 -213
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +219 -214
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +9 -9
  623. package/dist/shell.js +135 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +104 -103
  626. package/dist/skill.js +109 -108
  627. package/dist/snapshot.js +86 -85
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +121 -120
  632. package/dist/tool/plugin/edit.js +117 -116
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +120 -119
  635. package/dist/tool/plugin/grep.js +122 -121
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +119 -118
  638. package/dist/tool/plugin/question.js +98 -97
  639. package/dist/tool/plugin/read.js +123 -122
  640. package/dist/tool/plugin/shell.js +213 -211
  641. package/dist/tool/plugin/skill.js +110 -109
  642. package/dist/tool/plugin/subagent.js +217 -215
  643. package/dist/tool/plugin/webfetch.js +109 -108
  644. package/dist/tool/plugin/websearch.js +103 -102
  645. package/dist/tool/plugin/write.js +119 -118
  646. package/dist/tool/read-filesystem.js +98 -97
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +13 -13
  650. package/dist/types/session/diff.d.ts +48 -0
  651. package/dist/types/session/history.d.ts +40 -0
  652. package/dist/types/session/sql.d.ts +1 -1
  653. package/dist/types/session/transfer.d.ts +12 -1
  654. package/dist/types/session.d.ts +10 -0
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +7 -7
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +1 -1
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +4 -4
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +4 -4
  673. package/dist/v1/config/permission.js +7 -7
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +86 -86
  682. package/dist/websearch.js +81 -81
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +78 -78
  685. package/dist/workspace/driver.js +7 -7
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +77 -77
  688. package/dist/worktree/directory.js +4 -4
  689. package/dist/worktree/git.js +8 -7
  690. package/dist/worktree/refresh.js +343 -342
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree.js +91 -90
  693. package/package.json +8 -8
  694. package/dist/chunks/location-services-0mesazry.js +0 -4
  695. package/dist/chunks/location-services-69vkpgwa.js +0 -26
  696. package/dist/chunks/location-services-pd96nw7e.js +0 -462
  697. package/dist/chunks/location-services-sakrjbba.js +0 -247
  698. package/dist/chunks/location-services-v1faaxn9.js +0 -18
  699. /package/dist/chunks/{location-services-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{location-services-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{location-services-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{location-services-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{location-services-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{location-services-2710q6r3.js → mime-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{location-services-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{location-services-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{location-services-359p4xyc.js → mime-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{location-services-3asan66x.js → mime-3asan66x.js} +0 -0
  709. /package/dist/chunks/{location-services-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{location-services-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{location-services-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{location-services-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{location-services-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{location-services-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{location-services-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{location-services-53557ph1.js → mime-53557ph1.js} +0 -0
  717. /package/dist/chunks/{location-services-550bvhaj.js → mime-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{location-services-6prwharc.js → mime-6prwharc.js} +0 -0
  719. /package/dist/chunks/{location-services-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{location-services-7m9af43g.js → mime-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{location-services-822emrt2.js → mime-822emrt2.js} +0 -0
  722. /package/dist/chunks/{location-services-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{location-services-8n3pysct.js → mime-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{location-services-922hggd3.js → mime-922hggd3.js} +0 -0
  725. /package/dist/chunks/{location-services-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{location-services-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{location-services-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{location-services-af5trqkr.js → mime-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{location-services-afrmfg78.js → mime-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{location-services-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{location-services-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{location-services-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{location-services-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{location-services-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{location-services-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{location-services-d9fn303g.js → mime-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{location-services-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{location-services-dajrwvna.js → mime-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{location-services-dap0rakb.js → mime-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{location-services-df08tz66.js → mime-df08tz66.js} +0 -0
  741. /package/dist/chunks/{location-services-dy18nga0.js → mime-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{location-services-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{location-services-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{location-services-ec1grn59.js → mime-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{location-services-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{location-services-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{location-services-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{location-services-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{location-services-faypxj3z.js → mime-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{location-services-fd410y7t.js → mime-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{location-services-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  752. /package/dist/chunks/{location-services-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{location-services-g86h250q.js → mime-g86h250q.js} +0 -0
  754. /package/dist/chunks/{location-services-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{location-services-gftt206x.js → mime-gftt206x.js} +0 -0
  756. /package/dist/chunks/{location-services-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
  757. /package/dist/chunks/{location-services-hk9envan.js → mime-hk9envan.js} +0 -0
  758. /package/dist/chunks/{location-services-hrnqkpcd.js → mime-hrnqkpcd.js} +0 -0
  759. /package/dist/chunks/{location-services-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{location-services-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{location-services-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{location-services-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{location-services-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{location-services-mp448xyj.js → mime-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{location-services-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{location-services-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{location-services-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{location-services-njntx4h6.js → mime-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{location-services-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  770. /package/dist/chunks/{location-services-q74kybfr.js → mime-q74kybfr.js} +0 -0
  771. /package/dist/chunks/{location-services-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  772. /package/dist/chunks/{location-services-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  773. /package/dist/chunks/{location-services-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  774. /package/dist/chunks/{location-services-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{location-services-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{location-services-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{location-services-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
  778. /package/dist/chunks/{location-services-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  779. /package/dist/chunks/{location-services-twg0f83k.js → mime-twg0f83k.js} +0 -0
  780. /package/dist/chunks/{location-services-w803qqfp.js → mime-w803qqfp.js} +0 -0
  781. /package/dist/chunks/{location-services-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{location-services-wtztk69x.js → mime-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{location-services-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{location-services-x61499pn.js → mime-x61499pn.js} +0 -0
  785. /package/dist/chunks/{location-services-y44na4kk.js → mime-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{location-services-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{location-services-y8f7s663.js → mime-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{location-services-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{location-services-ym463w8f.js → mime-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{location-services-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,36 +1,36 @@
1
1
  import {
2
- ID18,
2
+ ID17,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  nativeSettings2,
7
7
  mergeOverlay2,
8
8
  mergeHeaders2
9
- } from "./location-services-33n3bzdy.js";
9
+ } from "./mime-xnqxh1k4.js";
10
10
  import {
11
- Service52,
12
- node56
13
- } from "./location-services-34cjg5aj.js";
11
+ Service74,
12
+ node79
13
+ } from "./mime-05gwmh6x.js";
14
14
  import {
15
15
  map2
16
- } from "./location-services-35wynegs.js";
16
+ } from "./mime-y6fqbdb6.js";
17
17
  import {
18
- ID5,
18
+ ID16,
19
19
  VariantID2,
20
- Ref2
21
- } from "./location-services-a2jtfxjw.js";
20
+ Ref4
21
+ } from "./mime-0kcg9p5c.js";
22
22
  import {
23
- ID8,
24
- Service65,
25
- node70
26
- } from "./location-services-htcxsbd3.js";
23
+ ID14,
24
+ Service76,
25
+ node81
26
+ } from "./mime-s6khr2z3.js";
27
27
  import {
28
- Service51,
29
- node55
30
- } from "./location-services-cv4zdsrn.js";
28
+ Service75,
29
+ node80
30
+ } from "./mime-kxmcqd0q.js";
31
31
  import {
32
32
  __export
33
- } from "./location-services-9rqn6x4v.js";
33
+ } from "./mime-9rqn6x4v.js";
34
34
 
35
35
  // src/model-resolver.ts
36
36
  var exports_model_resolver = {};
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
39
39
  ModelConfigurationError: () => ModelConfigurationError3,
40
40
  ModelInitializationError: () => ModelInitializationError3,
41
41
  ModelResolver: () => exports_model_resolver,
42
- Service: () => Service50,
42
+ Service: () => Service73,
43
43
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
44
44
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
45
45
  UnsupportedPackageError: () => UnsupportedPackageError3,
46
46
  VariantUnavailableError: () => VariantUnavailableError3,
47
47
  fromCatalogModel: () => fromCatalogModel2,
48
48
  hasPackage: () => hasPackage2,
49
- layer: () => layer20,
50
- node: () => node54,
49
+ layer: () => layer24,
50
+ node: () => node78,
51
51
  resolveModel: () => resolveModel2,
52
52
  withVariant: () => withVariant2
53
53
  });
@@ -57,8 +57,8 @@ import { Auth } from "@opencode/ai/route";
57
57
  import { Context, Effect, Layer, Schema, Struct } from "effect";
58
58
  import { Npm } from "@opencode/util/npm";
59
59
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
60
- providerID: ID18,
61
- modelID: ID5,
60
+ providerID: ID17,
61
+ modelID: ID16,
62
62
  variant: VariantID2
63
63
  }) {
64
64
  get message() {
@@ -67,8 +67,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
67
67
  }
68
68
 
69
69
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
70
- providerID: ID18,
71
- modelID: ID5,
70
+ providerID: ID17,
71
+ modelID: ID16,
72
72
  package: Schema.String
73
73
  }) {
74
74
  get message() {
@@ -78,8 +78,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
78
78
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
79
79
 
80
80
  class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
81
- providerID: ID18,
82
- modelID: ID5,
81
+ providerID: ID17,
82
+ modelID: ID16,
83
83
  package: Schema.String,
84
84
  detail: Schema.String
85
85
  }) {
@@ -89,8 +89,8 @@ class ModelConfigurationError3 extends Schema.TaggedError()("SessionRunnerModel.
89
89
  }
90
90
 
91
91
  class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
92
- providerID: ID18,
93
- modelID: ID5,
92
+ providerID: ID17,
93
+ modelID: ID16,
94
94
  package: Schema.String,
95
95
  phase: InitializationPhase2,
96
96
  detail: Schema.String
@@ -101,8 +101,8 @@ class ModelInitializationError3 extends Schema.TaggedError()("SessionRunnerModel
101
101
  }
102
102
 
103
103
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
104
- providerID: ID18,
105
- modelID: ID5,
104
+ providerID: ID17,
105
+ modelID: ID16,
106
106
  variables: Schema.Array(Schema.String)
107
107
  }) {
108
108
  get message() {
@@ -111,8 +111,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
111
111
  }
112
112
 
113
113
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
114
- providerID: ID18,
115
- modelID: ID5,
114
+ providerID: ID17,
115
+ modelID: ID16,
116
116
  route: Schema.String
117
117
  }) {
118
118
  get message() {
@@ -120,7 +120,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
120
120
  }
121
121
  }
122
122
 
123
- class Service50 extends Context.Service()("@opencode/ModelResolver") {
123
+ class Service73 extends Context.Service()("@opencode/ModelResolver") {
124
124
  }
125
125
  var withVariant2 = (model, variantID) => {
126
126
  const id = variantID === "default" ? undefined : variantID;
@@ -268,14 +268,14 @@ var causeMessage = (cause) => {
268
268
  };
269
269
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
270
270
  var hasPackage2 = (model) => Boolean(model.package);
271
- var layer20 = Layer.effect(Service50, Effect.gen(function* () {
272
- const catalog = yield* Service51;
273
- const integrations = yield* Service65;
271
+ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
272
+ const catalog = yield* Service75;
273
+ const integrations = yield* Service76;
274
274
  const npm = yield* Npm.Service;
275
- const aisdk = yield* Service52;
275
+ const aisdk = yield* Service74;
276
276
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
277
277
  const provider = yield* catalog.provider.get(selected.providerID);
278
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
278
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
279
279
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
280
280
  const runtimeInfo = yield* withVariant2(selected, variant);
281
281
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -285,7 +285,7 @@ var layer20 = Layer.effect(Service50, Effect.gen(function* () {
285
285
  const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
286
286
  return {
287
287
  model: runtime,
288
- ref: Ref2.make({
288
+ ref: Ref4.make({
289
289
  id: selected.id,
290
290
  providerID: selected.providerID,
291
291
  ...variant === undefined ? {} : { variant }
@@ -297,7 +297,7 @@ var layer20 = Layer.effect(Service50, Effect.gen(function* () {
297
297
  websocket: selected.websocket ?? false
298
298
  };
299
299
  });
300
- return Service50.of({
300
+ return Service73.of({
301
301
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
302
302
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
303
303
  if (!selected)
@@ -314,10 +314,10 @@ function usesAPIKeyAuth(packageName) {
314
314
  const name = packageName2(packageName);
315
315
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
316
316
  }
317
- var node54 = makeLocationNode({
318
- service: Service50,
319
- layer: layer20,
320
- deps: [node55, node70, Npm.node, node56]
317
+ var node78 = makeLocationNode({
318
+ service: Service73,
319
+ layer: layer24,
320
+ deps: [node80, node81, Npm.node, node79]
321
321
  });
322
322
 
323
- export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service50, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node54, exports_model_resolver };
323
+ export { VariantUnavailableError3, UnsupportedPackageError3, InitializationPhase2, ModelConfigurationError3, ModelInitializationError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service73, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node78, exports_model_resolver };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID5,
2
+ ID16,
3
3
  Family2
4
- } from "./location-services-a2jtfxjw.js";
4
+ } from "./mime-0kcg9p5c.js";
5
5
  import {
6
6
  Service55
7
- } from "./location-services-req99jdj.js";
7
+ } from "./mime-6q31zrbr.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./location-services-fv23cpfe.js";
10
+ } from "./mime-bjbqe5j4.js";
11
11
 
12
12
  // src/plugin/provider/ollama.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -77,7 +77,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
77
77
  });
78
78
  for (const item of loaded.models) {
79
79
  catalog.model.update(providerID, item.model, (model) => {
80
- model.modelID = ID5.make(item.model);
80
+ model.modelID = ID16.make(item.model);
81
81
  model.name = item.name || item.model;
82
82
  model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
83
83
  model.capabilities = {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./location-services-922hggd3.js";
4
+ } from "./mime-922hggd3.js";
5
5
  import {
6
- Service74,
7
- node79
8
- } from "./location-services-k4e7wm7p.js";
6
+ Service66,
7
+ node71
8
+ } from "./mime-bawj3v5d.js";
9
9
  import {
10
- Service18,
11
- node21
12
- } from "./location-services-vv213pfm.js";
10
+ Service47,
11
+ node50
12
+ } from "./mime-nxrdkmqf.js";
13
13
  import {
14
14
  __export
15
- } from "./location-services-9rqn6x4v.js";
15
+ } from "./mime-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
@@ -21,18 +21,18 @@ __export(exports_filesystem, {
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event4,
24
+ Event: () => Event10,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
28
28
  GrepInput: () => GrepInput2,
29
- ListInput: () => ListInput2,
29
+ ListInput: () => ListInput5,
30
30
  Match: () => Match2,
31
- NotFoundError: () => NotFoundError3,
31
+ NotFoundError: () => NotFoundError7,
32
32
  ReadInput: () => ReadInput2,
33
- Service: () => Service17,
33
+ Service: () => Service46,
34
34
  Submatch: () => Submatch2,
35
- node: () => node20
35
+ node: () => node49
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import path from "path";
@@ -44,7 +44,7 @@ var ReadInput2 = Schema.Struct({
44
44
  path: RelativePath2
45
45
  });
46
46
 
47
- class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
47
+ class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
48
48
  path: RelativePath2
49
49
  }) {
50
50
  }
@@ -55,7 +55,7 @@ var Content2 = Schema.Struct({
55
55
  encoding: Schema.Literals(["utf8", "base64"]),
56
56
  mime: Schema.String
57
57
  }).annotate({ identifier: "FileSystem.Content" });
58
- var ListInput2 = Schema.Struct({
58
+ var ListInput5 = Schema.Struct({
59
59
  path: Schema.String.pipe(Schema.optional)
60
60
  });
61
61
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -78,14 +78,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
78
78
  limit: Schema.optionalKey(PositiveInt2)
79
79
  }) {
80
80
  }
81
- var Event4 = FileSystem.Event;
81
+ var Event10 = FileSystem.Event;
82
82
 
83
- class Service17 extends Context.Service()("@opencode/FileSystem") {
83
+ class Service46 extends Context.Service()("@opencode/FileSystem") {
84
84
  }
85
- var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
85
+ var baseLayer = Layer.effect(Service46, Effect.gen(function* () {
86
86
  const fs = yield* FSUtil.Service;
87
- const location = yield* Service74;
88
- const search = yield* Service18;
87
+ const location = yield* Service66;
88
+ const search = yield* Service47;
89
89
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
90
90
  const resolve = Effect.fnUntraced(function* (input) {
91
91
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -96,15 +96,15 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
96
96
  return yield* Effect.die(new Error("Path escapes the location"));
97
97
  return { absolute, real, directory: location.directory };
98
98
  });
99
- return Service17.of({
99
+ return Service46.of({
100
100
  find: search.find,
101
101
  read: Effect.fn("FileSystem.read")(function* (input) {
102
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
103
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
102
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
103
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
104
104
  if (info.type !== "File")
105
105
  return yield* Effect.die(new Error("Path is not a file"));
106
106
  return {
107
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
107
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error))),
108
108
  mime: FSUtil.mimeType(target.real)
109
109
  };
110
110
  }),
@@ -128,10 +128,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
128
128
  })
129
129
  });
130
130
  }));
131
- var node20 = makeLocationNode({
132
- service: Service17,
131
+ var node49 = makeLocationNode({
132
+ service: Service46,
133
133
  layer: baseLayer,
134
- deps: [FSUtil.node, node79, node21]
134
+ deps: [FSUtil.node, node71, node50]
135
135
  });
136
136
 
137
- export { FindInput2, ReadInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service17, node20, exports_filesystem, Entry2, Match2, Submatch2 };
137
+ export { FindInput2, ReadInput2, NotFoundError7, Content2, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event10, Service46, node49, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-services-b3frasm9.js";
3
+ } from "./mime-j1tqpjge.js";
4
4
  import {
5
5
  call2
6
- } from "./location-services-33w4ejhs.js";
6
+ } from "./mime-1ygqh575.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./mime-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/firecrawl.ts
12
12
  var exports_firecrawl = {};
13
13
  __export(exports_firecrawl, {
14
- Plugin: () => Plugin18,
14
+ Plugin: () => Plugin4,
15
15
  WebSearchFirecrawl: () => exports_firecrawl,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Option, Schema } from "effect";
20
20
  import { HttpClient } from "effect/unstable/http";
21
- var endpoint6 = "https://mcp.firecrawl.dev/v2/mcp";
21
+ var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  query: Schema.String,
24
24
  limit: Schema.Number.pipe(Schema.optional)
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
37
37
  })
38
38
  }));
39
39
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
40
- var Plugin18 = define({
40
+ var Plugin4 = define({
41
41
  id: "opencode.websearch.firecrawl",
42
42
  effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
43
43
  const http = yield* HttpClient.HttpClient;
@@ -59,7 +59,7 @@ var Plugin18 = define({
59
59
  execute: (input) => Effect.gen(function* () {
60
60
  const connection = yield* ctx.integration.connection.active("firecrawl");
61
61
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
62
- const result = yield* call2(http, endpoint6, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
62
+ const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
63
63
  "User-Agent": useragent2(ctx.app),
64
64
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
65
65
  });
@@ -77,4 +77,4 @@ var Plugin18 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint6, Plugin18, exports_firecrawl };
80
+ export { endpoint2, Plugin4, exports_firecrawl };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/instance/service.ts
6
6
  var exports_service2 = {};
7
7
  __export(exports_service2, {
8
8
  Instance: () => exports_service2,
9
- Service: () => Service45,
10
- node: () => node49
9
+ Service: () => Service40,
10
+ node: () => node43
11
11
  });
12
12
  import { Context } from "effect";
13
13
  import { Node } from "@opencode/util/effect/app-node";
14
14
  import { LayerNode } from "@opencode/util/effect/layer-node";
15
15
 
16
- class Service45 extends Context.Service()("@opencode/Instance") {
16
+ class Service40 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node49 = LayerNode.unbound(Service45, Node.tags.values.global);
18
+ var node43 = LayerNode.unbound(Service40, Node.tags.values.global);
19
19
 
20
- export { Service45, node49, exports_service2 };
20
+ export { Service40, node43, exports_service2 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./location-services-2a5m3afh.js";
3
+ } from "./mime-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./location-services-922hggd3.js";
6
+ } from "./mime-922hggd3.js";
7
7
  import {
8
- Service74
9
- } from "./location-services-k4e7wm7p.js";
8
+ Service66
9
+ } from "./mime-bawj3v5d.js";
10
10
  import {
11
- Service63
12
- } from "./location-services-b1h6aq5y.js";
11
+ Service58
12
+ } from "./mime-3xz6hyac.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service19
16
- } from "./location-services-hajzqnjk.js";
15
+ Service48
16
+ } from "./mime-bb4ztexx.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./location-services-y7wy22rx.js";
23
+ } from "./mime-q4w5h7cm.js";
24
24
  import {
25
- Service69
26
- } from "./location-services-fe7neb4g.js";
25
+ Service41
26
+ } from "./mime-z3zadmjk.js";
27
27
  import {
28
- Service16
29
- } from "./location-services-fkbdwje6.js";
28
+ Service14
29
+ } from "./mime-ar6rwxgq.js";
30
30
  import {
31
31
  __export
32
- } from "./location-services-9rqn6x4v.js";
32
+ } from "./mime-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input9,
39
- Output: () => Output6,
40
- Plugin: () => Plugin10,
41
- name: () => name9,
42
- toModelContent: () => toModelContent5
38
+ Input: () => Input8,
39
+ Output: () => Output7,
40
+ Plugin: () => Plugin23,
41
+ name: () => name8,
42
+ toModelContent: () => toModelContent6
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name9 = "grep";
48
- var Input9 = Schema.Struct({
47
+ var name8 = "grep";
48
+ var Input8 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output6 = Schema.Array(Match2);
69
- var toModelContent5 = (matches, truncated = false) => {
68
+ var Output7 = Schema.Array(Match2);
69
+ var toModelContent6 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin10 = {
86
+ var Plugin23 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service63;
90
- const ripgrep = yield* Service19;
91
- const location = yield* Service74;
92
- const access = yield* Service16;
93
- const permission = yield* Service69;
89
+ const environment = yield* Service58;
90
+ const ripgrep = yield* Service48;
91
+ const location = yield* Service66;
92
+ const access = yield* Service14;
93
+ const permission = yield* Service41;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name9,
95
+ name: name8,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input9,
99
- output: Output6,
98
+ input: Input8,
99
+ output: Output7,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name9,
105
+ action: name8,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin10 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent5(result.matches.map((match) => ({
147
+ content: toModelContent6(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin10 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name9, Input9, Output6, toModelContent5, Plugin10, exports_grep };
157
+ export { name8, Input8, Output7, toModelContent6, Plugin23, exports_grep };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./location-services-922hggd3.js";
3
+ } from "./mime-922hggd3.js";
4
4
  import {
5
- Info17
6
- } from "./location-services-jw80jp6b.js";
5
+ Info21
6
+ } from "./mime-xdk9p2qn.js";
7
7
  import {
8
8
  __export
9
- } from "./location-services-9rqn6x4v.js";
9
+ } from "./mime-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent3 = {};
13
- __export(exports_agent3, {
14
- ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info16
12
+ var exports_agent4 = {};
13
+ __export(exports_agent4, {
14
+ ConfigAgentV1: () => exports_agent4,
15
+ Info: () => Info20
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info17)
47
+ permission: Schema.optional(Info21)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info16 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info20 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info16, exports_agent3 };
74
+ export { Info20, exports_agent4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-services-9rqn6x4v.js";
3
+ } from "./mime-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};