@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,32 +1,32 @@
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
  create3
7
- } from "./model-resolver-rdw6cm16.js";
7
+ } from "./location-services-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./model-resolver-9ssqh1pf.js";
10
+ } from "./location-services-6rnbv420.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./location-services-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event17,
20
+ Event: () => Event18,
21
21
  ID: () => ID12,
22
- Info: () => Info26,
22
+ Info: () => Info27,
23
23
  Name: () => Name2,
24
- Service: () => Service71,
24
+ Service: () => Service72,
25
25
  Skill: () => exports_skill5,
26
26
  Source: () => Source4,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node75,
29
+ node: () => node76,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event17 } from "@opencode/schema/skill";
37
+ import { Event as Event18 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
41
  var Source4 = Skill.Source;
42
- var Info26 = Skill.Info;
42
+ var Info27 = Skill.Info;
43
43
  var ID12 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
@@ -71,10 +71,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service71 extends Context.Service()("@opencode/Skill") {
74
+ class Service72 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service71, Effect.gen(function* () {
77
- const bus = yield* Service82;
76
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
77
+ const bus = yield* Service83;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service71.of({
100
+ return Service72.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node75 = makeLocationNode({
112
- service: Service71,
111
+ var node76 = makeLocationNode({
112
+ service: Service72,
113
113
  layer,
114
- deps: [node86]
114
+ deps: [node87]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info26, ID12, Name2, available2, toModelOutput3, prepare3, Service71, node75, exports_skill5, Event17 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info27, ID12, Name2, available2, toModelOutput3, prepare3, Service72, node76, exports_skill5, Event18 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/database/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./location-services-922hggd3.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/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info14
13
+ Info: () => Info13
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info14 = Schema.Struct({
30
+ var Info13 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info14, exports_attachment };
34
+ export { Image2, Info13, exports_attachment };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-w0mbtrs6.js";
3
+ } from "./location-services-bsba7pb1.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./location-services-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin41,
11
+ Plugin: () => Plugin35,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint5
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint5 = "https://api.tavily.com/search";
18
+ var endpoint2 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin41 = define({
32
+ var Plugin35 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin41 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin41 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint5, Plugin41, exports_tavily };
80
+ export { endpoint2, Plugin35, exports_tavily };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service62
3
- } from "./model-resolver-7x6bmn48.js";
2
+ Service68
3
+ } from "./location-services-mz54m1cf.js";
4
4
  import {
5
- Service72
6
- } from "./model-resolver-9ssqh1pf.js";
5
+ Service75
6
+ } from "./location-services-6rnbv420.js";
7
7
  import {
8
8
  ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service50
14
- } from "./model-resolver-9hk60pt8.js";
13
+ Service23
14
+ } from "./location-services-bzq82520.js";
15
15
  import {
16
16
  __export
17
- } from "./model-resolver-9rqn6x4v.js";
17
+ } from "./location-services-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input8,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input2,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin9,
25
- WebSearchTool: () => exports_websearch,
26
- description: () => description5,
27
- name: () => name8
24
+ Plugin: () => Plugin20,
25
+ WebSearchTool: () => exports_websearch2,
26
+ description: () => description2,
27
+ name: () => name2
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name8 = "websearch";
32
+ var name2 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input8 = Schema.Struct({
42
+ var Input2 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
46
  provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin9 = {
49
+ var Plugin20 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service72;
53
- const forms = yield* Service62;
54
- const websearch = yield* Service50;
52
+ const permission = yield* Service75;
53
+ const forms = yield* Service68;
54
+ const websearch = yield* Service23;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name8,
56
+ name: name2,
57
57
  options: { codemode: false },
58
- description: description5,
59
- input: Input8,
58
+ description: description2,
59
+ input: Input2,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name8,
63
+ action: name2,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name8];
179
+ delete event.tools[name2];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name8, NO_RESULTS2, description5, Input8, Plugin9, exports_websearch };
187
+ export { name2, NO_RESULTS2, description2, Input2, Plugin20, exports_websearch2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./model-resolver-7bxnc6x6.js";
2
+ Service84,
3
+ node88
4
+ } from "./location-services-sq54nhcy.js";
5
5
  import {
6
6
  Key4,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  combine2
10
- } from "./model-resolver-02nrjc1r.js";
10
+ } from "./location-services-eaj1djv9.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./model-resolver-bjtzbw4r.js";
13
+ } from "./location-services-z07pqspn.js";
14
14
  import {
15
15
  __export
16
- } from "./model-resolver-9rqn6x4v.js";
16
+ } from "./location-services-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service22,
25
+ Service: () => Service29,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node26,
29
+ node: () => node33,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service22 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service29 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make20({
64
+ var source = (entry) => make21({
65
65
  key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,8 +75,8 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service22, Effect.gen(function* () {
79
- const { db } = yield* Service83;
78
+ var layer = Layer.effect(Service29, Effect.gen(function* () {
79
+ const { db } = yield* Service84;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service22.of({ list, put, remove, load });
111
+ return Service29.of({ list, put, remove, load });
112
112
  }));
113
- var node26 = makeLocationNode({ service: Service22, layer, deps: [node87] });
113
+ var node33 = makeLocationNode({ service: Service29, layer, deps: [node88] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service22, node26, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service29, node33, exports_instruction_entry };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./location-services-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./location-services-9rqn6x4v.js";
7
7
 
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
@@ -1,29 +1,29 @@
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
  environment2
7
- } from "./model-resolver-qh8wc3pe.js";
7
+ } from "./location-services-r756e8jm.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./model-resolver-sk3qaz4a.js";
10
+ } from "./location-services-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./model-resolver-9rqn6x4v.js";
13
+ } from "./location-services-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError3,
19
+ NotFoundError: () => NotFoundError4,
20
20
  Options: () => Options3,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service16,
23
- UnavailableError: () => UnavailableError2,
22
+ Service: () => Service25,
23
+ UnavailableError: () => UnavailableError3,
24
24
  configured: () => configured3,
25
- layer: () => layer9,
26
- node: () => node19
25
+ layer: () => layer10,
26
+ node: () => node28
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -37,20 +37,20 @@ import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
38
  var Options3 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError3 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service16 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service25 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* () {
53
- const bus = yield* Service82;
52
+ var makeLayer = (options = {}) => Layer.effect(Service25, Effect.gen(function* () {
53
+ const bus = yield* Service83;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError3({ ptyID: id });
75
+ return yield* new NotFoundError4({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service16.of({
242
+ return Service25.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service16, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer9 = makeLayer();
258
+ var layer10 = makeLayer();
259
259
  var configured3 = (options) => makeGlobalNode({
260
- service: Service16,
261
- layer: options === undefined ? layer9 : makeLayer(options),
262
- deps: [node86, Global.node]
260
+ service: Service25,
261
+ layer: options === undefined ? layer10 : makeLayer(options),
262
+ deps: [node87, Global.node]
263
263
  });
264
- var node19 = configured3();
264
+ var node28 = configured3();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError2, NotFoundError3, Service16, layer9, configured3, node19, exports_persistent_pty, Handoff2 };
304
+ export { Options3, UnavailableError3, NotFoundError4, Service25, layer10, configured3, node28, exports_persistent_pty, Handoff2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./model-resolver-f0mxakyp.js";
3
+ } from "./location-services-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./model-resolver-w3wsvvr9.js";
6
+ } from "./location-services-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./model-resolver-7bmhse3q.js";
9
+ } from "./location-services-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./model-resolver-cf4snx6d.js";
12
+ } from "./location-services-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./model-resolver-822emrt2.js";
15
+ } from "./location-services-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./model-resolver-wd87259q.js";
18
+ } from "./location-services-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./model-resolver-m9w0rfyh.js";
21
+ } from "./location-services-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
7
7
  __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info11,
10
+ Info: () => Info16,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule2
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info11 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info11, exports_permission };
41
+ export { Action2, Object2, Rule2, Info16, exports_permission };
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID6,
2
+ ID8,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./model-resolver-rgwzaj5r.js";
6
+ } from "./location-services-wvv33cf4.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service58,
16
+ Service: () => Service62,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node61
18
+ node: () => node65
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
151
151
  }
152
152
 
153
153
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
154
- providerID: ID6,
154
+ providerID: ID8,
155
155
  cause: Schema.Defect()
156
156
  }) {
157
157
  }
@@ -159,9 +159,9 @@ function initError(providerID) {
159
159
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
160
160
  }
161
161
 
162
- class Service58 extends Context.Service()("@opencode/AISDK") {
162
+ class Service62 extends Context.Service()("@opencode/AISDK") {
163
163
  }
164
- var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
164
+ var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
165
165
  let sdkHooks = [];
166
166
  let languageHooks = [];
167
167
  const languages = new Map;
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service58, Effect.gen(function* () {
199
199
  }
200
200
  return event;
201
201
  });
202
- const service = Service58.of({
202
+ const service = Service62.of({
203
203
  hook: {
204
204
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
205
205
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
862
862
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
863
863
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
864
864
  }
865
- var node61 = makeLocationNode({ service: Service58, layer: locationLayer2, deps: [] });
865
+ var node65 = makeLocationNode({ service: Service62, layer: locationLayer2, deps: [] });
866
866
 
867
- export { InitError2, Service58, locationLayer2, node61, exports_aisdk };
867
+ export { InitError2, Service62, locationLayer2, node65, exports_aisdk };