@opencode/core 0.0.0-dev-20124 → 0.0.0-dev-20125

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 (801) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{model-resolver-2j85j1qq.js → location-services-0emxgfas.js} +6 -6
  8. package/dist/chunks/{model-resolver-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  9. package/dist/chunks/{model-resolver-x8acjjg9.js → location-services-0q5ddrp3.js} +24 -24
  10. package/dist/chunks/{model-resolver-zytbb0rs.js → location-services-0yznvphr.js} +47 -47
  11. package/dist/chunks/{model-resolver-ar21n6zh.js → location-services-0zfnzv7s.js} +19 -19
  12. package/dist/chunks/{model-resolver-3y72t5s0.js → location-services-0znqkj0t.js} +25 -25
  13. package/dist/chunks/{model-resolver-bdqrk2vk.js → location-services-10jtetaj.js} +4 -4
  14. package/dist/chunks/{model-resolver-9018cb23.js → location-services-11at1pz6.js} +31 -31
  15. package/dist/chunks/{model-resolver-qcmdtp8c.js → location-services-15w2zb5v.js} +11 -11
  16. package/dist/chunks/{model-resolver-y2r7qy0e.js → location-services-16nf19rw.js} +13 -13
  17. package/dist/chunks/{model-resolver-kbq1152n.js → location-services-18qmnhfe.js} +13 -13
  18. package/dist/chunks/{model-resolver-156whzkq.js → location-services-19bt37k1.js} +2 -2
  19. package/dist/chunks/{model-resolver-1acjjqhc.js → location-services-1acjjqhc.js} +1 -1
  20. package/dist/chunks/{model-resolver-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{model-resolver-26mdse20.js → location-services-1pk0hzjw.js} +18 -18
  22. package/dist/chunks/{model-resolver-vvb15rdk.js → location-services-1rpr4sn0.js} +11 -11
  23. package/dist/chunks/{model-resolver-b3825faf.js → location-services-1zjkac87.js} +15 -15
  24. package/dist/chunks/{model-resolver-3vvy9r1q.js → location-services-1zm9zs82.js} +17 -17
  25. package/dist/chunks/{model-resolver-jw8j7y7p.js → location-services-20gy8amv.js} +8 -8
  26. package/dist/chunks/{model-resolver-21r38tys.js → location-services-21r38tys.js} +1 -1
  27. package/dist/chunks/{model-resolver-6h73sxmp.js → location-services-2402vzrj.js} +5 -5
  28. package/dist/chunks/{model-resolver-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{model-resolver-0ng4kf97.js → location-services-2fmdgrn5.js} +29 -29
  30. package/dist/chunks/{model-resolver-vxhnyb9j.js → location-services-2h18c6je.js} +48 -48
  31. package/dist/chunks/{model-resolver-fed82zpn.js → location-services-2h5c2y8g.js} +33 -33
  32. package/dist/chunks/{model-resolver-6vra413r.js → location-services-2m4n6kw6.js} +12 -12
  33. package/dist/chunks/{model-resolver-qmqgtz8f.js → location-services-2mq1h16s.js} +9 -9
  34. package/dist/chunks/{model-resolver-cvnss5v6.js → location-services-2wfk4wva.js} +24 -24
  35. package/dist/chunks/{model-resolver-j9fve04j.js → location-services-30cazatx.js} +14 -14
  36. package/dist/chunks/{model-resolver-04hnx7m6.js → location-services-31mcx224.js} +12 -12
  37. package/dist/chunks/{model-resolver-vfm0y0bg.js → location-services-392dz176.js} +21 -21
  38. package/dist/chunks/{model-resolver-9qkca2k4.js → location-services-3b3nb5w1.js} +28 -28
  39. package/dist/chunks/{model-resolver-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{model-resolver-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{model-resolver-sxvnd2nr.js → location-services-3j42n99x.js} +32 -32
  42. package/dist/chunks/{model-resolver-a48a702n.js → location-services-3qxrn9bz.js} +27 -27
  43. package/dist/chunks/{model-resolver-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{model-resolver-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{model-resolver-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{model-resolver-7ygvs13g.js → location-services-3zyen6e3.js} +5 -5
  47. package/dist/chunks/{model-resolver-sar4f7bt.js → location-services-40qawf9y.js} +22 -22
  48. package/dist/chunks/{model-resolver-gn2hfjap.js → location-services-4c2df9zx.js} +8 -8
  49. package/dist/chunks/{model-resolver-n7a0dxy8.js → location-services-4ddzww6s.js} +4 -4
  50. package/dist/chunks/{model-resolver-9egj2258.js → location-services-4hgdpg6g.js} +3 -3
  51. package/dist/chunks/{model-resolver-z3mr859t.js → location-services-4mcknjjt.js} +10 -10
  52. package/dist/chunks/{model-resolver-tdghhcp4.js → location-services-4qyxhmht.js} +9 -9
  53. package/dist/chunks/{model-resolver-7d2a7xbs.js → location-services-4v4bfvma.js} +5 -5
  54. package/dist/chunks/{model-resolver-5e19p4dw.js → location-services-510m7gjw.js} +5 -5
  55. package/dist/chunks/{model-resolver-k9d40v1y.js → location-services-53fyba40.js} +4 -4
  56. package/dist/chunks/{model-resolver-56gdpj1q.js → location-services-56gdpj1q.js} +2 -2
  57. package/dist/chunks/{model-resolver-jygqzb3h.js → location-services-57e9z27j.js} +8 -8
  58. package/dist/chunks/{model-resolver-d9s573fh.js → location-services-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{model-resolver-b18rdbr5.js → location-services-5asg57wg.js} +15 -15
  60. package/dist/chunks/{model-resolver-2f04pwep.js → location-services-5cmxdwv8.js} +2 -2
  61. package/dist/chunks/{model-resolver-vtjxg7xx.js → location-services-5d5xbkck.js} +22 -22
  62. package/dist/chunks/{model-resolver-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  63. package/dist/chunks/{model-resolver-z1dymymf.js → location-services-5jsw2xt7.js} +17 -17
  64. package/dist/chunks/{model-resolver-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{model-resolver-k4nv4f3v.js → location-services-5wg5q7vf.js} +1 -1
  66. package/dist/chunks/{model-resolver-emmx8e90.js → location-services-5xp4z7n8.js} +28 -28
  67. package/dist/chunks/location-services-619r8v3y.js +18 -0
  68. package/dist/chunks/{model-resolver-fg4tf8ta.js → location-services-659djk32.js} +10 -10
  69. package/dist/chunks/{model-resolver-173t7wcz.js → location-services-65b0tj0r.js} +8 -8
  70. package/dist/chunks/{model-resolver-669tq793.js → location-services-669tq793.js} +1 -1
  71. package/dist/chunks/location-services-67rk9me1.js +26 -0
  72. package/dist/chunks/{model-resolver-bfgskg5r.js → location-services-6cpevseb.js} +21 -21
  73. package/dist/chunks/{model-resolver-7d0nz2vs.js → location-services-6esbcq56.js} +18 -18
  74. package/dist/chunks/{model-resolver-q5v28ps9.js → location-services-6ewk1465.js} +20 -20
  75. package/dist/chunks/{model-resolver-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
  76. package/dist/chunks/{model-resolver-6pc27hjz.js → location-services-6pc27hjz.js} +2 -2
  77. package/dist/chunks/{model-resolver-9ssqh1pf.js → location-services-6rnbv420.js} +34 -34
  78. package/dist/chunks/{model-resolver-s5vxn3hm.js → location-services-6sentj5w.js} +13 -13
  79. package/dist/chunks/{model-resolver-gw5a5t0z.js → location-services-6v6f5jfp.js} +7 -7
  80. package/dist/chunks/{model-resolver-mv035zws.js → location-services-6w63ww4m.js} +29 -29
  81. package/dist/chunks/{model-resolver-49fmtcj3.js → location-services-70zp61gn.js} +22 -22
  82. package/dist/chunks/{model-resolver-2gmwjqmv.js → location-services-72k1ea8x.js} +19 -19
  83. package/dist/chunks/{model-resolver-80rghvf4.js → location-services-74hbrnmz.js} +28 -28
  84. package/dist/chunks/{model-resolver-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{model-resolver-19518qm9.js → location-services-7bs9y7h6.js} +11 -11
  86. package/dist/chunks/{model-resolver-qgn6gcr1.js → location-services-7dqw4kz8.js} +5 -5
  87. package/dist/chunks/{model-resolver-qxjcrr5t.js → location-services-7f3q6yqx.js} +7 -7
  88. package/dist/chunks/{model-resolver-ra46vd3y.js → location-services-7nxgccxd.js} +15 -15
  89. package/dist/chunks/{model-resolver-569et0xs.js → location-services-7pfrbv4x.js} +25 -25
  90. package/dist/chunks/{model-resolver-27z1xvbk.js → location-services-7thazvac.js} +18 -18
  91. package/dist/chunks/{model-resolver-2kewd2va.js → location-services-7v81x33d.js} +9 -9
  92. package/dist/chunks/{model-resolver-xwnzkdf1.js → location-services-7xab2va4.js} +23 -23
  93. package/dist/chunks/{model-resolver-vg07qq75.js → location-services-8ajm3ywz.js} +9 -9
  94. package/dist/chunks/{model-resolver-3fp3xcnb.js → location-services-8chsdpa2.js} +14 -14
  95. package/dist/chunks/{model-resolver-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  96. package/dist/chunks/{model-resolver-ft7xjps2.js → location-services-8kysg0nx.js} +8 -8
  97. package/dist/chunks/{model-resolver-bkfeammj.js → location-services-8tx3xb2f.js} +23 -23
  98. package/dist/chunks/{model-resolver-gfvb90ym.js → location-services-94ek1h2f.js} +2 -2
  99. package/dist/chunks/{model-resolver-emgtyv65.js → location-services-954vm9zf.js} +6 -6
  100. package/dist/chunks/{model-resolver-7efmbnhw.js → location-services-9901z4r2.js} +7 -7
  101. package/dist/chunks/{model-resolver-33vhehfz.js → location-services-99n1k344.js} +8 -8
  102. package/dist/chunks/{model-resolver-yecfnvqz.js → location-services-9qd8znf5.js} +17 -17
  103. package/dist/chunks/{model-resolver-cqxgg118.js → location-services-9rhqejhv.js} +22 -22
  104. package/dist/chunks/{model-resolver-fqtvmpfq.js → location-services-a2qe2ev9.js} +8 -8
  105. package/dist/chunks/{model-resolver-t8916jym.js → location-services-a9rrtyrz.js} +35 -35
  106. package/dist/chunks/{model-resolver-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  107. package/dist/chunks/{model-resolver-qq6mbj5a.js → location-services-ab3hzfp7.js} +33 -33
  108. package/dist/chunks/{model-resolver-w8xrrrrv.js → location-services-at9jh15n.js} +1 -1
  109. package/dist/chunks/{model-resolver-nrpdyjdp.js → location-services-axweeaxh.js} +25 -25
  110. package/dist/chunks/{model-resolver-8p1ggxfh.js → location-services-ay4q8r05.js} +12 -12
  111. package/dist/chunks/{model-resolver-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{model-resolver-bt1446pf.js → location-services-bmgx2yh5.js} +21 -21
  113. package/dist/chunks/{model-resolver-cmwkp3r5.js → location-services-br0tr5aq.js} +8 -8
  114. package/dist/chunks/{model-resolver-w0mbtrs6.js → location-services-bsba7pb1.js} +11 -11
  115. package/dist/chunks/{model-resolver-9hk60pt8.js → location-services-bzq82520.js} +23 -23
  116. package/dist/chunks/{model-resolver-sy26cvr2.js → location-services-c0ge5ze9.js} +8 -8
  117. package/dist/chunks/{model-resolver-p95nf0hr.js → location-services-c85bkqez.js} +11 -11
  118. package/dist/chunks/{model-resolver-es2axtbg.js → location-services-c97n56v4.js} +3 -3
  119. package/dist/chunks/{model-resolver-54tcyq79.js → location-services-ckecvw8r.js} +2 -2
  120. package/dist/chunks/{model-resolver-kfvedqw3.js → location-services-ckfwh0ft.js} +5 -5
  121. package/dist/chunks/{model-resolver-8z00fdkb.js → location-services-cpj0znwe.js} +4 -4
  122. package/dist/chunks/{model-resolver-9gdecscc.js → location-services-d1f8kr1w.js} +11 -11
  123. package/dist/chunks/{model-resolver-r5b1nhw7.js → location-services-d3dgreaz.js} +22 -22
  124. package/dist/chunks/{model-resolver-x0jpbkmn.js → location-services-dmcw5njr.js} +19 -19
  125. package/dist/chunks/{model-resolver-dpkg50ah.js → location-services-dpkg50ah.js} +1 -1
  126. package/dist/chunks/{model-resolver-8h519gpd.js → location-services-drs1kqv3.js} +8 -8
  127. package/dist/chunks/{model-resolver-drwq78ky.js → location-services-drwq78ky.js} +1 -1
  128. package/dist/chunks/{model-resolver-rpg9c19m.js → location-services-e2hjzebn.js} +4 -4
  129. package/dist/chunks/{model-resolver-0ryd0fps.js → location-services-e8qyrgb1.js} +5 -5
  130. package/dist/chunks/{model-resolver-02nrjc1r.js → location-services-eaj1djv9.js} +4 -4
  131. package/dist/chunks/{model-resolver-7c5c7hvy.js → location-services-eapcvek1.js} +6 -6
  132. package/dist/chunks/{model-resolver-ecfe7b91.js → location-services-ecfe7b91.js} +2 -2
  133. package/dist/chunks/{model-resolver-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{model-resolver-j1k7yznt.js → location-services-eht4x1f2.js} +43 -43
  135. package/dist/chunks/{model-resolver-mztje66g.js → location-services-emp69c0t.js} +20 -20
  136. package/dist/chunks/{model-resolver-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{model-resolver-4xbskmpe.js → location-services-evbgk2k8.js} +5 -5
  138. package/dist/chunks/{model-resolver-7kj39dgh.js → location-services-ey6gzjdn.js} +8 -8
  139. package/dist/chunks/{model-resolver-jb2d0ras.js → location-services-f803x2xd.js} +27 -27
  140. package/dist/chunks/{model-resolver-e8m9yhze.js → location-services-fbxx4ebc.js} +18 -18
  141. package/dist/chunks/{model-resolver-mvn2r3z4.js → location-services-fhs97t90.js} +2 -2
  142. package/dist/chunks/{model-resolver-fzft6rk9.js → location-services-fj5p2bdw.js} +27 -27
  143. package/dist/chunks/{model-resolver-jzn2qkj6.js → location-services-fk21kn01.js} +7 -7
  144. package/dist/chunks/{model-resolver-mjymc32g.js → location-services-g190xswt.js} +4 -4
  145. package/dist/chunks/{model-resolver-hdhk3cs9.js → location-services-g59gqwxm.js} +11 -11
  146. package/dist/chunks/{model-resolver-j4amppr9.js → location-services-g5mv2pxk.js} +166 -166
  147. package/dist/chunks/{model-resolver-ss6wnmcn.js → location-services-g77y8mjg.js} +14 -14
  148. package/dist/chunks/{model-resolver-b27vhd2z.js → location-services-g8d3gcyj.js} +7 -7
  149. package/dist/chunks/{model-resolver-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{model-resolver-pb97dx7z.js → location-services-gejgy2pm.js} +11 -11
  151. package/dist/chunks/{model-resolver-4m9cw4aw.js → location-services-ggex6fsv.js} +11 -11
  152. package/dist/chunks/{model-resolver-yyb7tjpc.js → location-services-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/{model-resolver-y3f947ba.js → location-services-h0rpvr5n.js} +54 -54
  154. package/dist/chunks/{model-resolver-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  155. package/dist/chunks/{model-resolver-9kbkhne8.js → location-services-hfjnb18e.js} +20 -20
  156. package/dist/chunks/{model-resolver-dyhdt8jb.js → location-services-j2n17bp2.js} +4 -4
  157. package/dist/chunks/{model-resolver-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  158. package/dist/chunks/{model-resolver-sk2hk6tq.js → location-services-j58c5xyq.js} +9 -9
  159. package/dist/chunks/{model-resolver-zj1cah0a.js → location-services-j6smyfjg.js} +29 -29
  160. package/dist/chunks/{model-resolver-q2b1ymqp.js → location-services-j83byb14.js} +4 -4
  161. package/dist/chunks/{model-resolver-vr7k8aqm.js → location-services-jc0bsjh2.js} +32 -32
  162. package/dist/chunks/{model-resolver-b62ps4b3.js → location-services-jev1dhp7.js} +10 -10
  163. package/dist/chunks/{model-resolver-d23g84s9.js → location-services-jfefyanm.js} +15 -15
  164. package/dist/chunks/{model-resolver-yb0aafdb.js → location-services-jh8c5v8n.js} +41 -41
  165. package/dist/chunks/{model-resolver-bfd0r08e.js → location-services-jjvhwfpq.js} +20 -20
  166. package/dist/chunks/{model-resolver-r0pftj6c.js → location-services-k0y01600.js} +29 -29
  167. package/dist/chunks/{model-resolver-k3c624dm.js → location-services-k3c624dm.js} +3 -3
  168. package/dist/chunks/{model-resolver-4bm5ja14.js → location-services-kkp8zx71.js} +4 -4
  169. package/dist/chunks/{model-resolver-r94xmz3e.js → location-services-kvbdntjf.js} +3 -3
  170. package/dist/chunks/{model-resolver-72f6taeg.js → location-services-kzyapyhx.js} +30 -30
  171. package/dist/chunks/{model-resolver-8xxayhk6.js → location-services-m21yf6dx.js} +12 -12
  172. package/dist/chunks/{model-resolver-fhhby8rf.js → location-services-m3bpdrrf.js} +8 -8
  173. package/dist/chunks/{model-resolver-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
  174. package/dist/chunks/{model-resolver-vsfsehjp.js → location-services-m6kevm74.js} +16 -16
  175. package/dist/chunks/{model-resolver-s0ga44w9.js → location-services-m8h3kvsx.js} +3 -3
  176. package/dist/chunks/{model-resolver-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{model-resolver-0mz149mz.js → location-services-mkfyqh68.js} +18 -18
  178. package/dist/chunks/{model-resolver-g17wn8cw.js → location-services-mvr5bn4j.js} +12 -12
  179. package/dist/chunks/{model-resolver-2dznbxmy.js → location-services-mvxzp4yn.js} +23 -23
  180. package/dist/chunks/{model-resolver-7x6bmn48.js → location-services-mz54m1cf.js} +23 -23
  181. package/dist/chunks/{model-resolver-3pm9m3n0.js → location-services-n8d8pzp3.js} +13 -13
  182. package/dist/chunks/{model-resolver-8n3bkser.js → location-services-ndtar9je.js} +16 -16
  183. package/dist/chunks/{model-resolver-ak724xxd.js → location-services-njkqnv2m.js} +30 -30
  184. package/dist/chunks/{model-resolver-87qhefk3.js → location-services-njp0gf2a.js} +5 -5
  185. package/dist/chunks/{model-resolver-cqg8v4c7.js → location-services-nqnxh7mc.js} +6 -6
  186. package/dist/chunks/{model-resolver-dvt6vme3.js → location-services-nqxnamtt.js} +29 -29
  187. package/dist/chunks/{model-resolver-0v374yjc.js → location-services-nr237r1d.js} +5 -5
  188. package/dist/chunks/{model-resolver-ptfyc8rg.js → location-services-nrr650rb.js} +87 -87
  189. package/dist/chunks/{model-resolver-79skyr14.js → location-services-nxqybc3w.js} +11 -11
  190. package/dist/chunks/{model-resolver-4xz89tjk.js → location-services-p44d8wdy.js} +5 -5
  191. package/dist/chunks/{model-resolver-fh6ss5gb.js → location-services-p4y0extq.js} +15 -15
  192. package/dist/chunks/{model-resolver-hep603q0.js → location-services-p6d50vvj.js} +9 -9
  193. package/dist/chunks/{model-resolver-w5efcytb.js → location-services-p8kvbvy7.js} +13 -13
  194. package/dist/chunks/{model-resolver-swhhnpja.js → location-services-pd6tq2tz.js} +5 -5
  195. package/dist/chunks/{model-resolver-7161yw90.js → location-services-pdtfdfzz.js} +7 -7
  196. package/dist/chunks/{model-resolver-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  197. package/dist/chunks/{model-resolver-pknna89w.js → location-services-pknna89w.js} +1 -1
  198. package/dist/chunks/{model-resolver-4p21y445.js → location-services-pmnhh4k7.js} +22 -22
  199. package/dist/chunks/{model-resolver-nna5qp8a.js → location-services-prjfewh6.js} +4 -4
  200. package/dist/chunks/{model-resolver-v4hswpd3.js → location-services-pxveyybe.js} +66 -66
  201. package/dist/chunks/location-services-qapv375x.js +4 -0
  202. package/dist/chunks/{model-resolver-qmb29zc9.js → location-services-qc636jkm.js} +38 -38
  203. package/dist/chunks/{model-resolver-4qqzqwb9.js → location-services-qe35vjqf.js} +5 -5
  204. package/dist/chunks/{model-resolver-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  205. package/dist/chunks/{model-resolver-chh4w0bc.js → location-services-r0h6jesp.js} +10 -10
  206. package/dist/chunks/{model-resolver-p49rk7zg.js → location-services-r0hpsfbs.js} +4 -4
  207. package/dist/chunks/{model-resolver-sqy4ahhk.js → location-services-r3c4069c.js} +1 -1
  208. package/dist/chunks/{model-resolver-yh08wsj3.js → location-services-r3zred37.js} +11 -11
  209. package/dist/chunks/{model-resolver-mvfsc1pv.js → location-services-r5x6zcsm.js} +3 -3
  210. package/dist/chunks/{model-resolver-qh8wc3pe.js → location-services-r756e8jm.js} +19 -19
  211. package/dist/chunks/location-services-rav463tp.js +252 -0
  212. package/dist/chunks/{model-resolver-8kqr9rea.js → location-services-rcm2pyze.js} +4 -4
  213. package/dist/chunks/{model-resolver-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  214. package/dist/chunks/{model-resolver-a3ykbbws.js → location-services-rekjz194.js} +18 -18
  215. package/dist/chunks/{model-resolver-6dr7817k.js → location-services-rfr0hfk5.js} +19 -19
  216. package/dist/chunks/{model-resolver-gzq5apsj.js → location-services-rk7s9xkn.js} +4 -4
  217. package/dist/chunks/{model-resolver-0gbss3fx.js → location-services-rnjf2mfy.js} +25 -25
  218. package/dist/chunks/{model-resolver-6zpb3hvq.js → location-services-rtd1zbsh.js} +9 -9
  219. package/dist/chunks/{model-resolver-wfdevf9j.js → location-services-rwjd94kv.js} +11 -11
  220. package/dist/chunks/{model-resolver-pr8smg67.js → location-services-ry8zayj3.js} +18 -18
  221. package/dist/chunks/{model-resolver-w9m2hjqa.js → location-services-s27102ja.js} +22 -22
  222. package/dist/chunks/{model-resolver-bsf62bbk.js → location-services-scx3ygn5.js} +13 -13
  223. package/dist/chunks/{model-resolver-4rqrtqc5.js → location-services-skyctjxw.js} +8 -8
  224. package/dist/chunks/{model-resolver-778t764x.js → location-services-smpcm6e3.js} +44 -44
  225. package/dist/chunks/{model-resolver-7bxnc6x6.js → location-services-sq54nhcy.js} +11 -11
  226. package/dist/chunks/{model-resolver-afcq0tqz.js → location-services-sv3kc9gc.js} +32 -32
  227. package/dist/chunks/{model-resolver-fxnvxn2a.js → location-services-t1nf5hrg.js} +6 -6
  228. package/dist/chunks/{model-resolver-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{model-resolver-89znhe33.js → location-services-tcezcvh9.js} +4 -4
  230. package/dist/chunks/{model-resolver-tdstcens.js → location-services-tdstcens.js} +1 -1
  231. package/dist/chunks/{model-resolver-x520n2qy.js → location-services-tgdwbfc8.js} +43 -43
  232. package/dist/chunks/{model-resolver-4s2padma.js → location-services-tnfqcryg.js} +9 -9
  233. package/dist/chunks/{model-resolver-tvtrv512.js → location-services-tvtrv512.js} +1 -1
  234. package/dist/chunks/{model-resolver-agd0d5z2.js → location-services-twe1sq19.js} +30 -30
  235. package/dist/chunks/location-services-tyryy8pr.js +507 -0
  236. package/dist/chunks/{model-resolver-40a4pq3k.js → location-services-v4vy6p0z.js} +3 -3
  237. package/dist/chunks/{model-resolver-1d64zjtd.js → location-services-v5qzn3t7.js} +10 -10
  238. package/dist/chunks/{model-resolver-d6ggdbw1.js → location-services-v6n3qzc8.js} +11 -11
  239. package/dist/chunks/{model-resolver-5jbstfnb.js → location-services-vdnaayn5.js} +21 -21
  240. package/dist/chunks/{model-resolver-3rf7mzjq.js → location-services-vdqtsfcb.js} +85 -85
  241. package/dist/chunks/{model-resolver-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  242. package/dist/chunks/{model-resolver-9amkr7ky.js → location-services-vjjpwh8d.js} +11 -11
  243. package/dist/chunks/{model-resolver-s8610hey.js → location-services-vmgq4x8b.js} +2 -2
  244. package/dist/chunks/{model-resolver-7p797550.js → location-services-vmwh049b.js} +3 -3
  245. package/dist/chunks/{model-resolver-qkdvh7fa.js → location-services-vxr8h3va.js} +11 -11
  246. package/dist/chunks/{model-resolver-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{model-resolver-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
  248. package/dist/chunks/{model-resolver-1g3fhskv.js → location-services-w130ws8s.js} +20 -20
  249. package/dist/chunks/{model-resolver-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{model-resolver-n97pwnhd.js → location-services-w47g9jnr.js} +12 -12
  251. package/dist/chunks/{model-resolver-58c90p9y.js → location-services-w6f3fvch.js} +2 -2
  252. package/dist/chunks/{model-resolver-0jfh7z55.js → location-services-w7eejp4m.js} +41 -41
  253. package/dist/chunks/{model-resolver-e8r9fk8v.js → location-services-w9ksjw7g.js} +5 -5
  254. package/dist/chunks/{model-resolver-psazpmmj.js → location-services-wd3x2cqz.js} +2 -2
  255. package/dist/chunks/{model-resolver-wd87259q.js → location-services-wd87259q.js} +1 -1
  256. package/dist/chunks/{model-resolver-myb1y6vq.js → location-services-wnfy9vff.js} +44 -44
  257. package/dist/chunks/{model-resolver-93kvt1p5.js → location-services-wq4mmp7m.js} +4 -4
  258. package/dist/chunks/{model-resolver-rgwzaj5r.js → location-services-wvv33cf4.js} +30 -30
  259. package/dist/chunks/{model-resolver-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{model-resolver-pm44etjj.js → location-services-x6x6kmpk.js} +46 -46
  261. package/dist/chunks/{model-resolver-bykc32a6.js → location-services-xawabwva.js} +5 -5
  262. package/dist/chunks/{model-resolver-kmx0na6r.js → location-services-xf0nr9dv.js} +4 -4
  263. package/dist/chunks/{model-resolver-1k3s6syq.js → location-services-xfskg7sv.js} +3 -3
  264. package/dist/chunks/{model-resolver-xkntkrq7.js → location-services-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{model-resolver-0kg3x5km.js → location-services-xvrhnmeg.js} +13 -13
  266. package/dist/chunks/{model-resolver-2f9f9n6j.js → location-services-xyja9mw2.js} +30 -30
  267. package/dist/chunks/{model-resolver-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{model-resolver-0tdm3y21.js → location-services-yhb1cynt.js} +10 -10
  269. package/dist/chunks/{model-resolver-kz7p30d5.js → location-services-ypqexdpc.js} +9 -9
  270. package/dist/chunks/{model-resolver-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{model-resolver-yrznvahk.js → location-services-yrznvahk.js} +2 -2
  272. package/dist/chunks/{model-resolver-kmaq4q5p.js → location-services-ysek0sym.js} +32 -32
  273. package/dist/chunks/{model-resolver-qw3sg1b0.js → location-services-yvcft4ah.js} +3 -3
  274. package/dist/chunks/{model-resolver-xhg1wmas.js → location-services-yw7qsmd6.js} +34 -34
  275. package/dist/chunks/{model-resolver-bjtzbw4r.js → location-services-z07pqspn.js} +3 -3
  276. package/dist/chunks/{model-resolver-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{model-resolver-csnfj2b0.js → location-services-z428gfq7.js} +32 -32
  278. package/dist/chunks/{model-resolver-mxmchy46.js → location-services-z5rd9rww.js} +8 -8
  279. package/dist/chunks/{model-resolver-z63w68vq.js → location-services-z63w68vq.js} +2 -2
  280. package/dist/chunks/{model-resolver-f3r70g5j.js → location-services-z6jh25qd.js} +5 -5
  281. package/dist/chunks/{model-resolver-0q26a2b3.js → location-services-z7sjnmbk.js} +18 -18
  282. package/dist/chunks/{model-resolver-d0k1g5nx.js → location-services-zdwe30dy.js} +6 -6
  283. package/dist/chunks/{model-resolver-63ctpfk7.js → location-services-ze282xkw.js} +23 -23
  284. package/dist/chunks/{model-resolver-rq775frq.js → location-services-zeh9ct20.js} +2 -2
  285. package/dist/chunks/{model-resolver-2n8bv8kh.js → location-services-zfb8mnxq.js} +3 -3
  286. package/dist/chunks/{model-resolver-s7d3q35h.js → location-services-zh3km4py.js} +4 -4
  287. package/dist/chunks/{model-resolver-36qt8gf5.js → location-services-zkec4d7v.js} +15 -15
  288. package/dist/chunks/{model-resolver-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{model-resolver-mdggx82f.js → location-services-ztfa9d4b.js} +11 -11
  290. package/dist/chunks/{model-resolver-6yqr96vd.js → location-services-zwczyea9.js} +33 -33
  291. package/dist/chunks/{model-resolver-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +3 -3
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +85 -85
  297. package/dist/config/discovery.js +84 -84
  298. package/dist/config/markdown.js +1 -1
  299. package/dist/config/normalize.js +106 -106
  300. package/dist/config/plugin/agent.js +123 -123
  301. package/dist/config/plugin/command.js +212 -212
  302. package/dist/config/plugin/compaction.js +160 -160
  303. package/dist/config/plugin/compatibility.js +141 -141
  304. package/dist/config/plugin/entry-observer.js +1 -1
  305. package/dist/config/plugin/formatter.js +124 -124
  306. package/dist/config/plugin/image.js +123 -123
  307. package/dist/config/plugin/instruction.js +90 -90
  308. package/dist/config/plugin/location-watcher.js +123 -123
  309. package/dist/config/plugin/mcp.js +130 -130
  310. package/dist/config/plugin/policy.js +124 -124
  311. package/dist/config/plugin/provider.js +123 -123
  312. package/dist/config/plugin/reference.js +125 -125
  313. package/dist/config/plugin/shell.js +125 -125
  314. package/dist/config/plugin/skill-file.js +102 -102
  315. package/dist/config/plugin/skill.js +144 -144
  316. package/dist/config/plugin/snapshot.js +123 -123
  317. package/dist/config/plugin/source.js +120 -120
  318. package/dist/config/plugin/tool-output.js +125 -125
  319. package/dist/config/plugin/websearch.js +124 -124
  320. package/dist/config/plugin/worktree.js +125 -125
  321. package/dist/config/variable.js +3 -3
  322. package/dist/config/watch.js +1 -1
  323. package/dist/config.js +128 -128
  324. package/dist/credential/sql.js +2 -2
  325. package/dist/credential.js +83 -83
  326. package/dist/database/database.js +70 -70
  327. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  330. package/dist/database/drizzle/index.js +13 -13
  331. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  334. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  341. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  342. package/dist/database/drizzle.js +14 -14
  343. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  344. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  345. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  346. package/dist/database/migration/20260225215848_workspace.js +1 -1
  347. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  348. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  349. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  350. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  351. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  352. package/dist/database/migration/20260323234822_events.js +1 -1
  353. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  354. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  355. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  356. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  357. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  358. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  359. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  360. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  361. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  362. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  363. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  364. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  365. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  366. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  367. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  368. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  369. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  370. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  371. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  372. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  373. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  374. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  375. package/dist/database/migration/20260611035744_credential.js +1 -1
  376. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  377. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  378. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  379. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  380. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  381. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  382. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  383. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  384. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  385. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  386. package/dist/database/migration/20260812213948_worktree.js +1 -1
  387. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  388. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  389. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  390. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  391. package/dist/database/migration.gen.js +49 -49
  392. package/dist/database/migration.js +51 -51
  393. package/dist/database/path.js +2 -2
  394. package/dist/database/schema.gen.js +1 -1
  395. package/dist/database/schema.sql.js +1 -1
  396. package/dist/database/sqlite.bun.js +1 -1
  397. package/dist/database/sqlite.js +1 -1
  398. package/dist/database/sqlite.node.js +1 -1
  399. package/dist/database/sqlite.workerd.js +1 -1
  400. package/dist/database/v1-migration.bun.js +79 -79
  401. package/dist/database/v1-migration.js +1 -1
  402. package/dist/effect/app-node-builder.js +371 -371
  403. package/dist/effect/app-node-platform.js +2 -2
  404. package/dist/effect/keyed-mutex.js +1 -1
  405. package/dist/effect/websocket-constructor.js +1 -1
  406. package/dist/environment/driver.js +1 -1
  407. package/dist/environment/environment.js +93 -93
  408. package/dist/environment/exec-defaults.js +2 -2
  409. package/dist/environment/files.js +1 -1
  410. package/dist/environment/index.js +95 -95
  411. package/dist/environment/local.js +2 -2
  412. package/dist/environment/memory.js +2 -2
  413. package/dist/environment/unavailable.js +1 -1
  414. package/dist/event/sql.js +1 -1
  415. package/dist/event-logger.js +74 -74
  416. package/dist/file-access.js +104 -104
  417. package/dist/file-mutation.js +94 -94
  418. package/dist/file-retention.js +1 -1
  419. package/dist/file.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +221 -221
  427. package/dist/filesystem/protected.js +3 -3
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +108 -108
  432. package/dist/form.js +80 -80
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +362 -362
  461. package/dist/instruction-discovery.js +81 -81
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +86 -86
  466. package/dist/job.js +77 -77
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +135 -135
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-mutation.js +104 -104
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +359 -359
  474. package/dist/location.js +81 -81
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +104 -104
  478. package/dist/mcp/instructions.js +126 -126
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +102 -102
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +78 -78
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +105 -105
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +84 -84
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +99 -99
  497. package/dist/plugin/compaction.js +131 -131
  498. package/dist/plugin/hooks.js +5 -5
  499. package/dist/plugin/host.js +218 -218
  500. package/dist/plugin/identity.js +3 -3
  501. package/dist/plugin/instance.js +5 -5
  502. package/dist/plugin/internal.js +333 -333
  503. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  504. package/dist/plugin/models-dev.js +96 -96
  505. package/dist/plugin/module.js +7 -7
  506. package/dist/plugin/optimize.js +2 -2
  507. package/dist/plugin/plan.js +102 -102
  508. package/dist/plugin/promise.js +1 -1
  509. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  510. package/dist/plugin/provider/azure.js +122 -122
  511. package/dist/plugin/provider/cerebras.js +1 -1
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +93 -93
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +77 -77
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +92 -92
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +78 -78
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +160 -160
  544. package/dist/plugin/sdk.js +70 -70
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +348 -348
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +229 -229
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +99 -99
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/schema.js +3 -3
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +94 -94
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +132 -132
  580. package/dist/session/context.js +152 -152
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +3 -3
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +224 -224
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +153 -153
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +119 -119
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +229 -229
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +112 -112
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +3 -3
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +75 -75
  618. package/dist/session/store.js +85 -85
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +210 -210
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +150 -150
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +218 -218
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +214 -214
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +138 -138
  632. package/dist/skill/discovery.js +2 -2
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +108 -108
  635. package/dist/snapshot.js +93 -93
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +127 -127
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +122 -122
  644. package/dist/tool/plugin/mcp-resource.js +116 -116
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +123 -123
  649. package/dist/tool/plugin/shell.js +217 -217
  650. package/dist/tool/plugin/skill.js +111 -111
  651. package/dist/tool/plugin/subagent.js +219 -219
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +120 -120
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +16 -16
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +3 -3
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +3 -3
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +3 -3
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +91 -91
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +74 -74
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/model-resolver-0mesazry.js +0 -4
  701. package/dist/chunks/model-resolver-ht5y0zrb.js +0 -18
  702. package/dist/chunks/model-resolver-sn674wr2.js +0 -26
  703. package/dist/chunks/model-resolver-x8rsv9gq.js +0 -252
  704. package/dist/chunks/model-resolver-zg1ez3dq.js +0 -507
  705. /package/dist/chunks/{model-resolver-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{model-resolver-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{model-resolver-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{model-resolver-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{model-resolver-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{model-resolver-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{model-resolver-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{model-resolver-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{model-resolver-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{model-resolver-3asan66x.js → location-services-3asan66x.js} +0 -0
  717. /package/dist/chunks/{model-resolver-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{model-resolver-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{model-resolver-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{model-resolver-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{model-resolver-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{model-resolver-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{model-resolver-53557ph1.js → location-services-53557ph1.js} +0 -0
  725. /package/dist/chunks/{model-resolver-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{model-resolver-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
  727. /package/dist/chunks/{model-resolver-6prwharc.js → location-services-6prwharc.js} +0 -0
  728. /package/dist/chunks/{model-resolver-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  729. /package/dist/chunks/{model-resolver-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  730. /package/dist/chunks/{model-resolver-822emrt2.js → location-services-822emrt2.js} +0 -0
  731. /package/dist/chunks/{model-resolver-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  732. /package/dist/chunks/{model-resolver-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  733. /package/dist/chunks/{model-resolver-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
  734. /package/dist/chunks/{model-resolver-922hggd3.js → location-services-922hggd3.js} +0 -0
  735. /package/dist/chunks/{model-resolver-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  736. /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  737. /package/dist/chunks/{model-resolver-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  738. /package/dist/chunks/{model-resolver-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  739. /package/dist/chunks/{model-resolver-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  740. /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  741. /package/dist/chunks/{model-resolver-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  742. /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  743. /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  744. /package/dist/chunks/{model-resolver-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  745. /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  746. /package/dist/chunks/{model-resolver-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  747. /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  748. /package/dist/chunks/{model-resolver-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  749. /package/dist/chunks/{model-resolver-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  750. /package/dist/chunks/{model-resolver-df08tz66.js → location-services-df08tz66.js} +0 -0
  751. /package/dist/chunks/{model-resolver-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  752. /package/dist/chunks/{model-resolver-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  753. /package/dist/chunks/{model-resolver-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  754. /package/dist/chunks/{model-resolver-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  755. /package/dist/chunks/{model-resolver-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  756. /package/dist/chunks/{model-resolver-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  757. /package/dist/chunks/{model-resolver-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  758. /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  759. /package/dist/chunks/{model-resolver-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  760. /package/dist/chunks/{model-resolver-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  761. /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  762. /package/dist/chunks/{model-resolver-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  763. /package/dist/chunks/{model-resolver-g86h250q.js → location-services-g86h250q.js} +0 -0
  764. /package/dist/chunks/{model-resolver-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  765. /package/dist/chunks/{model-resolver-gftt206x.js → location-services-gftt206x.js} +0 -0
  766. /package/dist/chunks/{model-resolver-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
  767. /package/dist/chunks/{model-resolver-hk9envan.js → location-services-hk9envan.js} +0 -0
  768. /package/dist/chunks/{model-resolver-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  769. /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  770. /package/dist/chunks/{model-resolver-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  771. /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  772. /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  773. /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  774. /package/dist/chunks/{model-resolver-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  775. /package/dist/chunks/{model-resolver-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  776. /package/dist/chunks/{model-resolver-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  777. /package/dist/chunks/{model-resolver-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  778. /package/dist/chunks/{model-resolver-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  779. /package/dist/chunks/{model-resolver-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  780. /package/dist/chunks/{model-resolver-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  781. /package/dist/chunks/{model-resolver-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  782. /package/dist/chunks/{model-resolver-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  783. /package/dist/chunks/{model-resolver-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  784. /package/dist/chunks/{model-resolver-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  785. /package/dist/chunks/{model-resolver-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  786. /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  787. /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  788. /package/dist/chunks/{model-resolver-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
  789. /package/dist/chunks/{model-resolver-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  790. /package/dist/chunks/{model-resolver-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  791. /package/dist/chunks/{model-resolver-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  792. /package/dist/chunks/{model-resolver-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  793. /package/dist/chunks/{model-resolver-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  794. /package/dist/chunks/{model-resolver-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  795. /package/dist/chunks/{model-resolver-x61499pn.js → location-services-x61499pn.js} +0 -0
  796. /package/dist/chunks/{model-resolver-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  797. /package/dist/chunks/{model-resolver-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  798. /package/dist/chunks/{model-resolver-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  799. /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  800. /package/dist/chunks/{model-resolver-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  801. /package/dist/chunks/{model-resolver-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./model-resolver-vsfsehjp.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-services-m6kevm74.js";
5
5
  import {
6
- Service29,
7
- node32
8
- } from "./model-resolver-zytbb0rs.js";
6
+ Service38,
7
+ node41
8
+ } from "./location-services-0yznvphr.js";
9
9
  import {
10
- Service72,
11
- node76
12
- } from "./model-resolver-9ssqh1pf.js";
10
+ Service75,
11
+ node79
12
+ } from "./location-services-6rnbv420.js";
13
13
  import {
14
- Service31,
15
- node34
16
- } from "./model-resolver-569et0xs.js";
14
+ Service42,
15
+ node45
16
+ } from "./location-services-7pfrbv4x.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./location-services-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service25,
26
- layer: () => layer11,
27
- name: () => name13,
25
+ Service: () => Service37,
26
+ layer: () => layer14,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node29
29
+ node: () => node40
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service25 extends Context.Service()("@opencode/McpTool") {
38
+ class Service37 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service25, Effect.gen(function* () {
41
- const mcp = yield* Service29;
42
- const tools = yield* Service31;
43
- const bus = yield* Service82;
44
- const permission = yield* Service72;
40
+ var layer14 = Layer.effect(Service37, Effect.gen(function* () {
41
+ const mcp = yield* Service38;
42
+ const tools = yield* Service42;
43
+ const bus = yield* Service83;
44
+ const permission = yield* Service75;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer11 = Layer.effect(Service25, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service25.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service37.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node29 = makeLocationNode({
124
- service: Service25,
125
- layer: layer11,
126
- deps: [node34, node32, node86, node76]
123
+ var node40 = makeLocationNode({
124
+ service: Service37,
125
+ layer: layer14,
126
+ deps: [node45, node41, node87, node79]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service25, layer11, node29, exports_mcp3 };
129
+ export { namespace2, name14, Service37, layer14, node40, exports_mcp3 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./model-resolver-w8xrrrrv.js";
5
+ } from "./location-services-at9jh15n.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make22,
10
10
  makeWithDefaults2
11
- } from "./model-resolver-es2axtbg.js";
11
+ } from "./location-services-c97n56v4.js";
12
12
  import {
13
13
  __export
14
- } from "./model-resolver-9rqn6x4v.js";
14
+ } from "./location-services-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./model-resolver-2a5m3afh.js";
5
+ } from "./location-services-2a5m3afh.js";
6
6
  import {
7
7
  Service80
8
- } from "./model-resolver-58c90p9y.js";
8
+ } from "./location-services-w6f3fvch.js";
9
9
  import {
10
- Service68
11
- } from "./model-resolver-bfgskg5r.js";
10
+ Service48
11
+ } from "./location-services-6cpevseb.js";
12
12
  import {
13
- Service39
14
- } from "./model-resolver-19518qm9.js";
13
+ Service16
14
+ } from "./location-services-7bs9y7h6.js";
15
15
  import {
16
- Service67,
16
+ Service17,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./model-resolver-kbq1152n.js";
19
+ } from "./location-services-18qmnhfe.js";
20
20
  import {
21
- Service72
22
- } from "./model-resolver-9ssqh1pf.js";
21
+ Service75
22
+ } from "./location-services-6rnbv420.js";
23
23
  import {
24
- Service13,
24
+ Service74,
25
25
  resolvePath2
26
- } from "./model-resolver-b18rdbr5.js";
26
+ } from "./location-services-5asg57wg.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./model-resolver-6prwharc.js";
29
+ } from "./location-services-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./model-resolver-9rqn6x4v.js";
32
+ } from "./location-services-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input10,
39
- Output: () => Output6,
38
+ Input: () => Input4,
39
+ Output: () => Output3,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin11,
42
- name: () => name10,
43
- toModelContent: () => toModelContent5
41
+ Plugin: () => Plugin22,
42
+ name: () => name4,
43
+ toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name10 = "patch";
89
- var Input10 = Schema.Struct({
88
+ var name4 = "patch";
89
+ var Input4 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output6 = Schema.Struct({
99
+ var Output3 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent5 = (output) => [
103
+ var toModelContent2 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin11 = {
108
+ var Plugin22 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service68;
112
- const access = yield* Service13;
113
- const fileMutation = yield* Service67;
114
- const formatter = yield* Service39;
111
+ const environment = yield* Service48;
112
+ const access = yield* Service74;
113
+ const fileMutation = yield* Service17;
114
+ const formatter = yield* Service16;
115
115
  const location = yield* Service80;
116
- const permission = yield* Service72;
116
+ const permission = yield* Service75;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name10,
118
+ name: name4,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input10,
122
- output: Output6,
121
+ input: Input4,
122
+ output: Output3,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin11 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent5(output),
269
+ content: toModelContent2(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name10, Input10, Applied2, Output6, toModelContent5, Plugin11, exports_patch };
329
+ export { name4, Input4, Applied2, Output3, toModelContent2, Plugin22, exports_patch };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./model-resolver-6msgmcgs.js";
4
+ } from "./location-services-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./model-resolver-qfa1cgps.js";
7
+ } from "./location-services-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./model-resolver-psazpmmj.js";
10
+ } from "./location-services-wd3x2cqz.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./model-resolver-ym463w8f.js";
3
+ } from "./location-services-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./model-resolver-vsfsehjp.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-services-m6kevm74.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./model-resolver-rdw6cm16.js";
8
+ } from "./location-services-rdw6cm16.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./model-resolver-58c90p9y.js";
12
+ } from "./location-services-w6f3fvch.js";
13
13
  import {
14
14
  rewrite2,
15
- ID6,
15
+ ID8,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service60,
20
- node63,
21
- Event12
22
- } from "./model-resolver-rgwzaj5r.js";
19
+ Service66,
20
+ node70,
21
+ Event13
22
+ } from "./location-services-wvv33cf4.js";
23
23
  import {
24
24
  __export
25
- } from "./model-resolver-9rqn6x4v.js";
25
+ } from "./location-services-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event11,
33
+ Event: () => Event12,
34
34
  Family: () => Family2,
35
- ID: () => ID5,
36
- Info: () => Info18,
35
+ ID: () => ID7,
36
+ Info: () => Info20,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service59,
40
+ Service: () => Service65,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
- node: () => node62,
44
- parse: () => parse4
43
+ node: () => node69,
44
+ parse: () => parse5
45
45
  });
46
46
  import { Model } from "@opencode/schema/model";
47
47
  import { Context, Effect, Layer, Stream } from "effect";
48
48
  import { makeLocationNode } from "@opencode/util/effect/app-node";
49
49
  import { freeze } from "immer";
50
- import { Event as Event11 } from "@opencode/schema/model";
51
- var ID5 = Model.ID;
50
+ import { Event as Event12 } from "@opencode/schema/model";
51
+ var ID7 = Model.ID;
52
52
  var VariantID2 = Model.VariantID;
53
53
  var Family2 = Model.Family;
54
54
  var ReasoningField2 = Model.ReasoningField;
@@ -56,13 +56,13 @@ var Compatibility2 = Model.Compatibility;
56
56
  var Capabilities2 = Model.Capabilities;
57
57
  var Cost2 = Model.Cost;
58
58
  var Ref2 = Model.Ref;
59
- var Info18 = Model.Info;
59
+ var Info20 = Model.Info;
60
60
 
61
- class Service59 extends Context.Service()("@opencode/Model") {
61
+ class Service65 extends Context.Service()("@opencode/Model") {
62
62
  }
63
- var layer = Layer.effect(Service59, Effect.gen(function* () {
64
- const providers = yield* Service60;
65
- const bus = yield* Service82;
63
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
64
+ const providers = yield* Service66;
65
+ const bus = yield* Service83;
66
66
  const location = yield* Service80;
67
67
  let input;
68
68
  const state = create3({
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
108
108
  const models = writable(providerID);
109
109
  if (!models)
110
110
  return;
111
- const model = draft(providerID, modelID) ?? Info18.default(providerID, modelID);
111
+ const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
112
112
  update(model);
113
113
  model.id = modelID;
114
114
  model.providerID = providerID;
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
197
197
  location: { directory: location.directory, workspaceID: location.workspaceID }
198
198
  });
199
199
  });
200
- yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
- return Service59.of({
200
+ yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
+ return Service65.of({
202
202
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
203
203
  reload,
204
204
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
217
217
  })
218
218
  });
219
219
  }));
220
- var node62 = makeLocationNode({ service: Service59, layer, deps: [node63, node86, node84] });
220
+ var node69 = makeLocationNode({ service: Service65, layer, deps: [node70, node87, node84] });
221
221
  function compatibility2(input) {
222
222
  if (typeof input === "string")
223
223
  return { reasoningField: input };
@@ -225,12 +225,12 @@ function compatibility2(input) {
225
225
  return;
226
226
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
227
227
  }
228
- function parse4(input) {
228
+ function parse5(input) {
229
229
  const index = input.indexOf("/");
230
230
  return {
231
- providerID: ID6.make(index === -1 ? input : input.slice(0, index)),
232
- modelID: ID5.make(index === -1 ? "" : input.slice(index + 1))
231
+ providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
232
+ modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
233
233
  };
234
234
  }
235
235
 
236
- export { ID5, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info18, Service59, node62, compatibility2, parse4, exports_model2, Event11 };
236
+ export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, Service65, node69, compatibility2, parse5, exports_model2, Event12 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/managed-policy.ts
6
6
  var exports_managed_policy = {};
7
7
  __export(exports_managed_policy, {
8
8
  ManagedPolicy: () => exports_managed_policy,
9
- Service: () => Service38,
10
- node: () => node42
9
+ Service: () => Service24,
10
+ node: () => node27
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service38 extends Context.Service()("@opencode/ManagedPolicy") {
15
+ class Service24 extends Context.Service()("@opencode/ManagedPolicy") {
16
16
  }
17
- var layer = Layer.sync(Service38, () => {
17
+ var layer = Layer.sync(Service24, () => {
18
18
  const state = { current: { statements: [] } };
19
- return Service38.of({
19
+ return Service24.of({
20
20
  current: () => state.current,
21
21
  set: (next) => Effect.sync(() => {
22
22
  state.current = next;
23
23
  })
24
24
  });
25
25
  });
26
- var node42 = makeGlobalNode({ service: Service38, layer, deps: [] });
26
+ var node27 = makeGlobalNode({ service: Service24, layer, deps: [] });
27
27
 
28
- export { Service38, node42, exports_managed_policy };
28
+ export { Service24, node27, exports_managed_policy };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NamedError2
3
- } from "./model-resolver-2axfhc9x.js";
3
+ } from "./location-services-2axfhc9x.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./location-services-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
9
  var exports_error = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
- ID6
3
- } from "./model-resolver-rgwzaj5r.js";
2
+ ID8
3
+ } from "./location-services-wvv33cf4.js";
4
4
  import {
5
5
  iife2
6
- } from "./model-resolver-1kg9ymc8.js";
6
+ } from "./location-services-1kg9ymc8.js";
7
7
  import {
8
8
  configuredSettings2
9
- } from "./model-resolver-2j85j1qq.js";
9
+ } from "./location-services-0emxgfas.js";
10
10
 
11
11
  // src/plugin/provider/cloudflare-workers-ai.ts
12
12
  import { Effect } from "effect";
13
13
  import { define } from "@opencode/plugin/effect/plugin";
14
14
  import { Form } from "@opencode/schema/form";
15
- var providerID = ID6.make("cloudflare-workers-ai");
15
+ var providerID = ID8.make("cloudflare-workers-ai");
16
16
  var CloudflareWorkersAIPlugin2 = define({
17
17
  id: "opencode.provider.cloudflare.workers.ai",
18
18
  effect: Effect.fn(function* (ctx) {
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./location-services-922hggd3.js";
4
4
  import {
5
- node88
6
- } from "./model-resolver-n97pwnhd.js";
5
+ node86
6
+ } from "./location-services-w47g9jnr.js";
7
7
  import {
8
8
  Service80,
9
9
  node84
10
- } from "./model-resolver-58c90p9y.js";
10
+ } from "./location-services-w6f3fvch.js";
11
11
  import {
12
12
  create3
13
- } from "./model-resolver-rdw6cm16.js";
13
+ } from "./location-services-rdw6cm16.js";
14
14
  import {
15
- make21
16
- } from "./model-resolver-sy26cvr2.js";
15
+ make20
16
+ } from "./location-services-c0ge5ze9.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./location-services-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service78,
24
+ Service: () => Service70,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node82
26
+ node: () => node74
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service78 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service70 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service78, Effect.gen(function* () {
36
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
37
37
  const location = yield* Service80;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make21;
39
+ const git = yield* make20;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service78.of({ ...state, directory: location.directory });
58
+ return Service70.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node82 = makeLocationNode({
61
- service: Service78,
60
+ var node74 = makeLocationNode({
61
+ service: Service70,
62
62
  layer,
63
- deps: [node84, Global.node, node88, FSUtil.node]
63
+ deps: [node84, Global.node, node86, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service78, node82, exports_strategies };
66
+ export { Service70, node74, exports_strategies };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-services-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: () => Service54,
10
- node: () => node57
9
+ Service: () => Service58,
10
+ node: () => node61
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 Service54 extends Context.Service()("@opencode/Instance") {
16
+ class Service58 extends Context.Service()("@opencode/Instance") {
17
17
  }
18
- var node57 = LayerNode.unbound(Service54, Node.tags.values.global);
18
+ var node61 = LayerNode.unbound(Service58, Node.tags.values.global);
19
19
 
20
- export { Service54, node57, exports_service2 };
20
+ export { Service58, node61, exports_service2 };