@opencode/core 0.0.0-dev-65 → 0.0.0-dev-75

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 (828) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +89 -89
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{image-ctzt1pxb.js → location-services-020zpnm4.js} +2 -2
  8. package/dist/chunks/{image-034tev2y.js → location-services-034tev2y.js} +2 -2
  9. package/dist/chunks/{image-e2mkdzja.js → location-services-06qvkc6e.js} +14 -14
  10. package/dist/chunks/{image-cb54j1zr.js → location-services-0eq01nmm.js} +9 -9
  11. package/dist/chunks/{image-47tt4h9h.js → location-services-0h8fm2ww.js} +15 -15
  12. package/dist/chunks/{image-e120pv1s.js → location-services-10698rvb.js} +27 -27
  13. package/dist/chunks/{image-x8nvjgx0.js → location-services-11hfp36g.js} +4 -4
  14. package/dist/chunks/{image-3yb585ta.js → location-services-123t004t.js} +28 -28
  15. package/dist/chunks/{image-0wfhhp80.js → location-services-17z6k6fn.js} +12 -12
  16. package/dist/chunks/{image-t944d0tj.js → location-services-189c2z7w.js} +20 -20
  17. package/dist/chunks/{image-ve3cxz5m.js → location-services-1c8tzkk0.js} +46 -46
  18. package/dist/chunks/{image-ytn9qz2k.js → location-services-1dx49z0n.js} +9 -9
  19. package/dist/chunks/{image-1ep2p91f.js → location-services-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{image-h35qexnb.js → location-services-1h8sxmja.js} +11 -11
  21. package/dist/chunks/{image-6fn1b7j4.js → location-services-1rs2921g.js} +21 -21
  22. package/dist/chunks/{image-1x2knyw4.js → location-services-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{image-ht7yjvhp.js → location-services-1z1y3x2j.js} +5 -5
  24. package/dist/chunks/{image-204s3925.js → location-services-204s3925.js} +1 -1
  25. package/dist/chunks/{image-b7qnq10s.js → location-services-23vb62x2.js} +42 -42
  26. package/dist/chunks/{image-frwd01yc.js → location-services-24tsn34s.js} +24 -24
  27. package/dist/chunks/{image-n6dpq3ym.js → location-services-2b9k209b.js} +16 -16
  28. package/dist/chunks/{image-529fs5v3.js → location-services-2czdh2k0.js} +11 -11
  29. package/dist/chunks/{image-rn91y4za.js → location-services-2fngxkhk.js} +26 -26
  30. package/dist/chunks/{image-enqfapnb.js → location-services-2qje8jvz.js} +13 -13
  31. package/dist/chunks/{image-cmvvs515.js → location-services-2rb4wbj4.js} +4 -4
  32. package/dist/chunks/{image-s06t763y.js → location-services-2xw6dmz5.js} +18 -18
  33. package/dist/chunks/{image-d0h96hzn.js → location-services-331p6xjh.js} +2 -2
  34. package/dist/chunks/{image-x2jrwfv9.js → location-services-3f6yms39.js} +23 -23
  35. package/dist/chunks/{image-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{image-c46s9eb3.js → location-services-3j1m3tq4.js} +5 -5
  37. package/dist/chunks/{image-jh5090wx.js → location-services-3jhf9wm6.js} +41 -41
  38. package/dist/chunks/{image-3nnrz6f6.js → location-services-3nnrz6f6.js} +1 -1
  39. package/dist/chunks/{image-3rbbh48r.js → location-services-3tv0ny9f.js} +44 -44
  40. package/dist/chunks/{image-at0tfsk4.js → location-services-47m4w8nw.js} +18 -18
  41. package/dist/chunks/{image-d3x5xz6w.js → location-services-4j7592es.js} +6 -6
  42. package/dist/chunks/{image-awhbjq5z.js → location-services-4ky4c703.js} +18 -18
  43. package/dist/chunks/{image-4pyp9zr9.js → location-services-4pyp9zr9.js} +1 -1
  44. package/dist/chunks/{image-4v008n1t.js → location-services-4v008n1t.js} +1 -1
  45. package/dist/chunks/{image-588j71sd.js → location-services-4v34atpz.js} +18 -18
  46. package/dist/chunks/{image-dqvc8sfz.js → location-services-5hqsswq2.js} +14 -14
  47. package/dist/chunks/{image-gav4yf66.js → location-services-5j8pr5g9.js} +10 -10
  48. package/dist/chunks/{image-801kwvge.js → location-services-5m3p3r5s.js} +29 -29
  49. package/dist/chunks/{image-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
  50. package/dist/chunks/{image-kasce6yj.js → location-services-5vms8twd.js} +30 -30
  51. package/dist/chunks/{image-mrtn6wxn.js → location-services-616zqkce.js} +13 -13
  52. package/dist/chunks/{image-6esdw8yj.js → location-services-6esdw8yj.js} +1 -1
  53. package/dist/chunks/{image-nqc1p4cr.js → location-services-6h2pa11h.js} +7 -7
  54. package/dist/chunks/{image-ae33yfcb.js → location-services-6mdzwzg7.js} +4 -4
  55. package/dist/chunks/{image-f65eap7w.js → location-services-6pgz6wzq.js} +35 -35
  56. package/dist/chunks/{image-3by90t2f.js → location-services-6v72x2ed.js} +11 -11
  57. package/dist/chunks/{image-gm9c01mp.js → location-services-6xqtwe1r.js} +15 -15
  58. package/dist/chunks/{image-2x7th5m9.js → location-services-70jyngdv.js} +9 -9
  59. package/dist/chunks/{image-nkjpm0m6.js → location-services-75qg15m1.js} +19 -19
  60. package/dist/chunks/{image-770pw0s1.js → location-services-770pw0s1.js} +1 -1
  61. package/dist/chunks/{image-k8x3akgt.js → location-services-776exhek.js} +82 -82
  62. package/dist/chunks/{image-44d0pdd8.js → location-services-7av4j0s6.js} +8 -8
  63. package/dist/chunks/{image-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  64. package/dist/chunks/{image-72kt1v3f.js → location-services-7efvqzhd.js} +18 -18
  65. package/dist/chunks/location-services-7g1sw78h.js +224 -0
  66. package/dist/chunks/{image-2jrrfqe1.js → location-services-7sdtxe0n.js} +4 -4
  67. package/dist/chunks/{image-0kzkx9hb.js → location-services-7vzj9awm.js} +5 -5
  68. package/dist/chunks/{image-7w2ypzdf.js → location-services-7w2ypzdf.js} +1 -1
  69. package/dist/chunks/{image-hxnsawmn.js → location-services-7wj339t1.js} +14 -14
  70. package/dist/chunks/{image-81pxtxxg.js → location-services-866wf2vs.js} +8 -8
  71. package/dist/chunks/{image-4de0wqn8.js → location-services-891xbxsq.js} +14 -14
  72. package/dist/chunks/{image-adcgab6n.js → location-services-8jry49zj.js} +3 -3
  73. package/dist/chunks/{image-sf90vvmw.js → location-services-8kvtxzpx.js} +10 -10
  74. package/dist/chunks/{image-73v0ycj1.js → location-services-8rg72s59.js} +13 -13
  75. package/dist/chunks/{image-q7wqfne8.js → location-services-8wawps64.js} +5 -5
  76. package/dist/chunks/{image-8wtp7s3z.js → location-services-8wtp7s3z.js} +1 -1
  77. package/dist/chunks/{image-vrcsa8qx.js → location-services-8x9y3wj0.js} +9 -9
  78. package/dist/chunks/{image-90zstvax.js → location-services-90zstvax.js} +1 -1
  79. package/dist/chunks/{image-m6fnj38p.js → location-services-91c7zjyq.js} +11 -11
  80. package/dist/chunks/{image-hhw78a7m.js → location-services-9437wt4d.js} +5 -5
  81. package/dist/chunks/{image-y4a9d8ex.js → location-services-97wtqrge.js} +11 -11
  82. package/dist/chunks/location-services-9aqem1v4.js +257 -0
  83. package/dist/chunks/{image-7pw8fmvb.js → location-services-9gx11wxw.js} +4 -4
  84. package/dist/chunks/{image-ra34yqmw.js → location-services-9nkjg9qd.js} +6 -6
  85. package/dist/chunks/location-services-9p9wbndj.js +26 -0
  86. package/dist/chunks/{image-k5369mvh.js → location-services-9whep7e0.js} +5 -5
  87. package/dist/chunks/{image-h7wy2gd0.js → location-services-a33a86vx.js} +47 -47
  88. package/dist/chunks/location-services-a610t88q.js +18 -0
  89. package/dist/chunks/{image-14qja218.js → location-services-agwgn61j.js} +16 -16
  90. package/dist/chunks/{image-bfxy1kzz.js → location-services-ah09kpwr.js} +12 -12
  91. package/dist/chunks/{image-b6fa0qpv.js → location-services-ap5257e6.js} +15 -15
  92. package/dist/chunks/{image-xx5emjc6.js → location-services-arv3g562.js} +4 -4
  93. package/dist/chunks/{image-ayjs7tqn.js → location-services-ayjs7tqn.js} +2 -2
  94. package/dist/chunks/{image-06ezgrzy.js → location-services-b1xakg4t.js} +8 -8
  95. package/dist/chunks/{image-b6vsg801.js → location-services-b6vsg801.js} +2 -2
  96. package/dist/chunks/{image-n7d88tpn.js → location-services-ba07h9gm.js} +3 -3
  97. package/dist/chunks/{image-avd8a0jz.js → location-services-bdphs8ne.js} +75 -75
  98. package/dist/chunks/{image-z8rzdy7d.js → location-services-bfg3b742.js} +11 -11
  99. package/dist/chunks/{image-202bxvr4.js → location-services-bgg6fpfq.js} +8 -8
  100. package/dist/chunks/{image-xd9cc171.js → location-services-bstexjd6.js} +5 -5
  101. package/dist/chunks/{image-b70g77th.js → location-services-c1zy16x8.js} +10 -10
  102. package/dist/chunks/{image-3kqrayhb.js → location-services-cdev0qw6.js} +2 -2
  103. package/dist/chunks/{image-6njdqq50.js → location-services-ct6n0aec.js} +30 -30
  104. package/dist/chunks/{image-h9jb662h.js → location-services-cwmfzxax.js} +18 -18
  105. package/dist/chunks/{image-cwrgdav8.js → location-services-cwrgdav8.js} +2 -2
  106. package/dist/chunks/{image-f2kgtz6y.js → location-services-cy5ef8hm.js} +11 -11
  107. package/dist/chunks/{image-cfy4dk7x.js → location-services-d00ag3b5.js} +5 -5
  108. package/dist/chunks/{image-qnax39s7.js → location-services-d1mr7tcc.js} +5 -5
  109. package/dist/chunks/{image-bjhzkqyk.js → location-services-d1v2vbzt.js} +4 -4
  110. package/dist/chunks/{image-ssfehs1z.js → location-services-d2887f8n.js} +4 -4
  111. package/dist/chunks/{image-84yzestz.js → location-services-d3ajd33x.js} +21 -21
  112. package/dist/chunks/{image-d4v9tmah.js → location-services-d4v9tmah.js} +2 -2
  113. package/dist/chunks/{image-z1meprhw.js → location-services-d95c94hx.js} +34 -34
  114. package/dist/chunks/{image-t8vx5scg.js → location-services-dhs69mq4.js} +23 -23
  115. package/dist/chunks/{image-dp0cf4ka.js → location-services-dmssmyv3.js} +8 -8
  116. package/dist/chunks/{image-dt77769w.js → location-services-dt77769w.js} +1 -1
  117. package/dist/chunks/{image-1szm5y2d.js → location-services-dtdkt915.js} +4 -4
  118. package/dist/chunks/{image-wxhrztje.js → location-services-dvxg9xas.js} +16 -16
  119. package/dist/chunks/{image-e07q2w5p.js → location-services-e07q2w5p.js} +1 -1
  120. package/dist/chunks/{image-yadma85d.js → location-services-e6ma8sks.js} +6 -6
  121. package/dist/chunks/{image-pwn4gbhb.js → location-services-e6ytsf2b.js} +11 -11
  122. package/dist/chunks/{image-e834z07m.js → location-services-e834z07m.js} +1 -1
  123. package/dist/chunks/{image-3ekrrnad.js → location-services-e884at7j.js} +5 -5
  124. package/dist/chunks/{image-sj2jw4nf.js → location-services-edmv2p4j.js} +54 -54
  125. package/dist/chunks/{image-jrpm365p.js → location-services-ehz01n6z.js} +11 -11
  126. package/dist/chunks/{image-h2qz9myx.js → location-services-ekas1cck.js} +4 -4
  127. package/dist/chunks/{image-a31t1wkd.js → location-services-evf857tp.js} +6 -6
  128. package/dist/chunks/{image-qkr4mn30.js → location-services-f09z3f4w.js} +20 -20
  129. package/dist/chunks/{image-0rn45avr.js → location-services-fb3jk243.js} +18 -18
  130. package/dist/chunks/{image-fffv3p7h.js → location-services-fffv3p7h.js} +1 -1
  131. package/dist/chunks/{image-0112ma1n.js → location-services-fqpk86s2.js} +7 -7
  132. package/dist/chunks/{image-j26tz46j.js → location-services-g05b3k58.js} +32 -32
  133. package/dist/chunks/{image-42fbwypt.js → location-services-g208md38.js} +5 -5
  134. package/dist/chunks/{image-64p9nehd.js → location-services-g219a0kq.js} +28 -28
  135. package/dist/chunks/{image-gg8p9cgs.js → location-services-gg8p9cgs.js} +3 -3
  136. package/dist/chunks/{image-absbpnym.js → location-services-ghh93d0s.js} +11 -11
  137. package/dist/chunks/{image-7pv810wb.js → location-services-gy2j584d.js} +17 -17
  138. package/dist/chunks/{image-t8fp5cf6.js → location-services-h0bc8af7.js} +18 -18
  139. package/dist/chunks/{image-a05fpj1z.js → location-services-h59wt0w5.js} +3 -3
  140. package/dist/chunks/{image-hdfrs5mg.js → location-services-hdfrs5mg.js} +2 -2
  141. package/dist/chunks/{image-zxcrckxn.js → location-services-hk9sbkrn.js} +26 -26
  142. package/dist/chunks/{image-hpg1pkwy.js → location-services-hpg1pkwy.js} +1 -1
  143. package/dist/chunks/{image-f4xcfgxg.js → location-services-hs2sf5yj.js} +17 -17
  144. package/dist/chunks/{image-5q96yxdq.js → location-services-hw7ke7j2.js} +35 -35
  145. package/dist/chunks/{image-kp4dj8rm.js → location-services-hxq68qpv.js} +15 -15
  146. package/dist/chunks/{image-awz6seh6.js → location-services-j3hxx2c6.js} +38 -38
  147. package/dist/chunks/{image-6qhe7r7r.js → location-services-j41s2q6a.js} +40 -40
  148. package/dist/chunks/{image-jfaecv01.js → location-services-jfaecv01.js} +1 -1
  149. package/dist/chunks/{image-jekatgz9.js → location-services-jg7yw0kp.js} +16 -16
  150. package/dist/chunks/{image-bnm05fa0.js → location-services-jtjptmzv.js} +9 -9
  151. package/dist/chunks/{image-jtnps1zs.js → location-services-jtnps1zs.js} +2 -2
  152. package/dist/chunks/{image-gsnc0xej.js → location-services-jze27bva.js} +14 -14
  153. package/dist/chunks/{image-w9d1ve95.js → location-services-k7g3tdkn.js} +8 -8
  154. package/dist/chunks/{image-k814nvkf.js → location-services-k814nvkf.js} +1 -1
  155. package/dist/chunks/{image-cppg2ckq.js → location-services-k88b30qa.js} +5 -5
  156. package/dist/chunks/{image-yb54zzjb.js → location-services-kdsywe1g.js} +6 -6
  157. package/dist/chunks/{image-p1cyes5e.js → location-services-kesvm3k7.js} +8 -8
  158. package/dist/chunks/{image-71vd6gg8.js → location-services-kf7yd5ke.js} +32 -32
  159. package/dist/chunks/{image-yq9gxbxn.js → location-services-kjaj9yp1.js} +20 -20
  160. package/dist/chunks/{image-62jamc5x.js → location-services-krdv4tqx.js} +8 -8
  161. package/dist/chunks/{image-kt3bjfbg.js → location-services-kt3bjfbg.js} +1 -1
  162. package/dist/chunks/{image-m4ger0wk.js → location-services-kzzr1kfy.js} +4 -4
  163. package/dist/chunks/{image-m1714858.js → location-services-m1714858.js} +1 -1
  164. package/dist/chunks/{image-wqkmpd8v.js → location-services-m45h31ff.js} +18 -18
  165. package/dist/chunks/{image-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  166. package/dist/chunks/{image-fzmrcvdp.js → location-services-mfr0p1x9.js} +11 -11
  167. package/dist/chunks/{image-4ma4sxxx.js → location-services-mhcbn2s9.js} +6 -6
  168. package/dist/chunks/{image-7sqpcfj4.js → location-services-mkr15vrz.js} +21 -21
  169. package/dist/chunks/{image-s7kyse9r.js → location-services-mmx1mfjr.js} +4 -4
  170. package/dist/chunks/{image-2zp5a6yg.js → location-services-mqe7nf5n.js} +3 -3
  171. package/dist/chunks/{image-23qxmpzy.js → location-services-mrng6hna.js} +16 -16
  172. package/dist/chunks/{image-6e5t6smq.js → location-services-mvh1rx9p.js} +12 -12
  173. package/dist/chunks/{image-4x4sy66g.js → location-services-mz1832ks.js} +15 -15
  174. package/dist/chunks/{image-43ptgj31.js → location-services-n8m0q05k.js} +7 -7
  175. package/dist/chunks/location-services-n8rtnxtw.js +517 -0
  176. package/dist/chunks/{image-ht967yvm.js → location-services-nbmqhqas.js} +22 -22
  177. package/dist/chunks/{image-p36jmt6b.js → location-services-ncmn4rz0.js} +28 -28
  178. package/dist/chunks/{image-5q3fxxrm.js → location-services-ndb69tfa.js} +33 -33
  179. package/dist/chunks/{image-df41f4dj.js → location-services-ng098k0q.js} +23 -23
  180. package/dist/chunks/{image-7ftgv2zj.js → location-services-nk85174p.js} +30 -30
  181. package/dist/chunks/{image-wt5d2fpe.js → location-services-nr97w2wj.js} +11 -11
  182. package/dist/chunks/{image-je2y9qtt.js → location-services-nwvs9qq5.js} +13 -13
  183. package/dist/chunks/{image-v6kwj96d.js → location-services-nym9wyb3.js} +6 -6
  184. package/dist/chunks/{image-p015t6z3.js → location-services-p015t6z3.js} +2 -2
  185. package/dist/chunks/{image-vcjq0n6d.js → location-services-p0a3b8hq.js} +32 -32
  186. package/dist/chunks/{image-ewtne36n.js → location-services-p1fvmphk.js} +11 -11
  187. package/dist/chunks/{image-gr02s00h.js → location-services-p3bccnsq.js} +24 -24
  188. package/dist/chunks/{image-nf3nsvxh.js → location-services-pbbktnbz.js} +4 -4
  189. package/dist/chunks/{image-nrsk8m4x.js → location-services-pe5cp1q8.js} +25 -25
  190. package/dist/chunks/{image-tdbxa85z.js → location-services-pfbg06sq.js} +53 -53
  191. package/dist/chunks/{image-a05d4hwx.js → location-services-pfswwbj2.js} +3 -3
  192. package/dist/chunks/{image-7f19aye0.js → location-services-pgd0patt.js} +28 -28
  193. package/dist/chunks/{image-b9zfcada.js → location-services-ph1jffse.js} +22 -22
  194. package/dist/chunks/{image-pknna89w.js → location-services-pknna89w.js} +1 -1
  195. package/dist/chunks/{image-6n5qea61.js → location-services-pnqyn77n.js} +6 -6
  196. package/dist/chunks/{image-pcpt5avy.js → location-services-ppf126py.js} +4 -4
  197. package/dist/chunks/{image-fg9p65nk.js → location-services-prq7xxp2.js} +6 -6
  198. package/dist/chunks/{image-jmmj9zjf.js → location-services-pwa1a8rs.js} +12 -12
  199. package/dist/chunks/{image-rmtm88gd.js → location-services-pyk1f59v.js} +4 -4
  200. package/dist/chunks/{image-xe1ee5za.js → location-services-q2merdcy.js} +114 -65
  201. package/dist/chunks/{image-m1c1babs.js → location-services-q5wj7mv8.js} +19 -19
  202. package/dist/chunks/{image-n7qzb94m.js → location-services-q8bjp0w9.js} +25 -25
  203. package/dist/chunks/{image-fdmqhh81.js → location-services-q9y3y3qn.js} +28 -28
  204. package/dist/chunks/{image-zf6fh7ra.js → location-services-qbhn9ys7.js} +10 -10
  205. package/dist/chunks/{image-72qnxd4s.js → location-services-qfkfn7d5.js} +30 -30
  206. package/dist/chunks/{image-qqg9c0kv.js → location-services-qft8hb75.js} +7 -7
  207. package/dist/chunks/{image-jrm02xk3.js → location-services-qn81gd5b.js} +8 -8
  208. package/dist/chunks/{image-pnmzqtn3.js → location-services-qnz6w04z.js} +9 -9
  209. package/dist/chunks/{image-qp7r0hxv.js → location-services-qp7r0hxv.js} +1 -1
  210. package/dist/chunks/{image-a2r4my07.js → location-services-qsekswpw.js} +14 -14
  211. package/dist/chunks/{image-q7cwhteq.js → location-services-qsvndp6j.js} +194 -188
  212. package/dist/chunks/{image-r0yr0wbs.js → location-services-r0yr0wbs.js} +1 -1
  213. package/dist/chunks/{image-7d5xs8kz.js → location-services-r26r40ph.js} +12 -12
  214. package/dist/chunks/{image-r542h3bh.js → location-services-r542h3bh.js} +1 -1
  215. package/dist/chunks/{image-6sa1zhac.js → location-services-r8a8jxpt.js} +11 -11
  216. package/dist/chunks/{image-2y2qbpy6.js → location-services-r8nzqyhk.js} +15 -15
  217. package/dist/chunks/{image-rb9dy4dg.js → location-services-rb9dy4dg.js} +1 -1
  218. package/dist/chunks/{image-1edr3xdq.js → location-services-rcvjkgve.js} +27 -27
  219. package/dist/chunks/{image-23y0g4wx.js → location-services-rfz97rvx.js} +5 -5
  220. package/dist/chunks/{image-r96ere88.js → location-services-rha71f46.js} +4 -4
  221. package/dist/chunks/{image-bvdsa3vs.js → location-services-rhg5jmsx.js} +19 -19
  222. package/dist/chunks/{image-2vw9972k.js → location-services-rstsnj2j.js} +15 -15
  223. package/dist/chunks/{image-rt5dr6hb.js → location-services-rt5dr6hb.js} +1 -1
  224. package/dist/chunks/{image-tzqdjrq8.js → location-services-rth2557w.js} +13 -13
  225. package/dist/chunks/{image-8334n7kj.js → location-services-rwnw28mr.js} +22 -22
  226. package/dist/chunks/{image-2x5k55vn.js → location-services-rz9cdrn3.js} +28 -28
  227. package/dist/chunks/{image-nqmap5kh.js → location-services-s1q3ndg4.js} +11 -11
  228. package/dist/chunks/{image-sa3fpqfw.js → location-services-sa3fpqfw.js} +2 -2
  229. package/dist/chunks/{image-sqjzf8x2.js → location-services-sqjzf8x2.js} +1 -1
  230. package/dist/chunks/{image-svcy3p9a.js → location-services-svcy3p9a.js} +1 -1
  231. package/dist/chunks/{image-8wc2fpae.js → location-services-szcgc7h4.js} +5 -5
  232. package/dist/chunks/{image-f0t2pr7g.js → location-services-t3wrh3sj.js} +24 -24
  233. package/dist/chunks/{image-tczq8hjw.js → location-services-tczq8hjw.js} +1 -1
  234. package/dist/chunks/{image-jg25qahj.js → location-services-td7x002b.js} +19 -19
  235. package/dist/chunks/{image-1be1mmgp.js → location-services-tdx723hm.js} +1 -1
  236. package/dist/chunks/{image-8d2bz6m6.js → location-services-tqx9c315.js} +8 -8
  237. package/dist/chunks/{image-twssxy5n.js → location-services-twssxy5n.js} +2 -2
  238. package/dist/chunks/{image-f43cgyzj.js → location-services-v1920fvr.js} +36 -36
  239. package/dist/chunks/{image-v2r1d0zg.js → location-services-v2r1d0zg.js} +1 -1
  240. package/dist/chunks/{image-5hx7d1d6.js → location-services-v6ghzfeb.js} +5 -5
  241. package/dist/chunks/{image-704d1ccs.js → location-services-v8xpr2tt.js} +9 -9
  242. package/dist/chunks/{image-1yq9hg58.js → location-services-v9ez2kgh.js} +5 -5
  243. package/dist/chunks/{image-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  244. package/dist/chunks/{image-fxvyraaq.js → location-services-vj669030.js} +6 -6
  245. package/dist/chunks/{image-6ttdsxes.js → location-services-vm24w91z.js} +9 -9
  246. package/dist/chunks/{image-b835xb9t.js → location-services-vpk136tn.js} +35 -35
  247. package/dist/chunks/{image-n66c6y3m.js → location-services-vzppetdn.js} +6 -6
  248. package/dist/chunks/{image-wwdh59sh.js → location-services-w06b5sd5.js} +37 -37
  249. package/dist/chunks/{image-vnr7c2p3.js → location-services-w074k2xe.js} +25 -25
  250. package/dist/chunks/{image-40za9wsf.js → location-services-w2eysc6j.js} +9 -9
  251. package/dist/chunks/{image-kzy3pgxv.js → location-services-w2ga2e0k.js} +25 -25
  252. package/dist/chunks/{image-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{image-w8qtt4th.js → location-services-w8qtt4th.js} +1 -1
  254. package/dist/chunks/{image-wakvkjy4.js → location-services-wakvkjy4.js} +1 -1
  255. package/dist/chunks/{image-wd87259q.js → location-services-wd87259q.js} +1 -1
  256. package/dist/chunks/{image-3wz6z8nw.js → location-services-wgsqw3r9.js} +47 -37
  257. package/dist/chunks/{image-ry7kp2db.js → location-services-wgvnftve.js} +8 -8
  258. package/dist/chunks/{image-9cx9sm2q.js → location-services-wnhgecwx.js} +34 -3
  259. package/dist/chunks/{image-wr3re1en.js → location-services-wr3re1en.js} +1 -1
  260. package/dist/chunks/{image-hgjt7rcd.js → location-services-wt7k060d.js} +16 -16
  261. package/dist/chunks/{image-p0cndaf0.js → location-services-wvv7736z.js} +24 -24
  262. package/dist/chunks/{image-q5y0er7q.js → location-services-x48bv8h6.js} +5 -5
  263. package/dist/chunks/{image-7fdqgk09.js → location-services-x82dhhxf.js} +4 -4
  264. package/dist/chunks/{image-7sp3wcf1.js → location-services-x9c7wxgr.js} +25 -25
  265. package/dist/chunks/{image-ky557a6k.js → location-services-x9jb8dde.js} +39 -39
  266. package/dist/chunks/{image-8mefhgqa.js → location-services-xdas633g.js} +1 -1
  267. package/dist/chunks/{image-g1fp68hz.js → location-services-xef9pswz.js} +16 -16
  268. package/dist/chunks/{image-4c0yqtm4.js → location-services-xn4shan3.js} +9 -9
  269. package/dist/chunks/{image-8y4jps98.js → location-services-xnh55p1t.js} +7 -7
  270. package/dist/chunks/{image-gtn9c16a.js → location-services-xt0z8zst.js} +4 -4
  271. package/dist/chunks/{image-58m33pqx.js → location-services-xw888kkr.js} +17 -17
  272. package/dist/chunks/{image-dmjpbpr6.js → location-services-y2wrmdpy.js} +12 -12
  273. package/dist/chunks/{image-a4rf43nz.js → location-services-y4q5gvzk.js} +13 -13
  274. package/dist/chunks/{image-yara3q77.js → location-services-yara3q77.js} +2 -2
  275. package/dist/chunks/{image-yb20nhc3.js → location-services-yb20nhc3.js} +1 -1
  276. package/dist/chunks/{image-t71js6b0.js → location-services-ycegergq.js} +27 -27
  277. package/dist/chunks/{image-b4etxd4c.js → location-services-ydwqkrat.js} +1 -1
  278. package/dist/chunks/{image-gwb7ykxy.js → location-services-yewtq9yt.js} +16 -16
  279. package/dist/chunks/{image-8j7b88ay.js → location-services-yggeett8.js} +17 -17
  280. package/dist/chunks/{image-4dw90k5p.js → location-services-ygm5nzp7.js} +12 -12
  281. package/dist/chunks/{image-kkvtdcv8.js → location-services-yjw1qs8k.js} +25 -25
  282. package/dist/chunks/{image-5adfyej6.js → location-services-yk5vm8dr.js} +21 -21
  283. package/dist/chunks/{image-yqveydy6.js → location-services-yqveydy6.js} +1 -1
  284. package/dist/chunks/{image-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{image-z38nccrw.js → location-services-z38nccrw.js} +1 -1
  286. package/dist/chunks/{image-j4pxep6a.js → location-services-z98eht19.js} +30 -30
  287. package/dist/chunks/{image-rnhtz47d.js → location-services-za7g5awc.js} +7 -7
  288. package/dist/chunks/{image-k8krsf06.js → location-services-za8t0eh5.js} +21 -21
  289. package/dist/chunks/{image-63hxqdg0.js → location-services-zc22tp4z.js} +14 -14
  290. package/dist/chunks/{image-pz9sk91a.js → location-services-zfmjcdad.js} +35 -35
  291. package/dist/chunks/{image-q4fcarhy.js → location-services-zgd8t41s.js} +9 -9
  292. package/dist/chunks/{image-zgkm4kzm.js → location-services-zgkm4kzm.js} +3 -3
  293. package/dist/chunks/{image-6c400rb5.js → location-services-zgmk89q5.js} +9 -9
  294. package/dist/chunks/{image-v7n5wjt1.js → location-services-zmzyb0q8.js} +9 -9
  295. package/dist/chunks/{image-6sybrdz7.js → location-services-znwbrpr9.js} +18 -18
  296. package/dist/codemode/catalog.js +1 -1
  297. package/dist/codemode/instructions.js +7 -7
  298. package/dist/codemode/tool.js +3 -3
  299. package/dist/codemode/web.js +1 -1
  300. package/dist/command.js +91 -91
  301. package/dist/config/discovery.js +90 -90
  302. package/dist/config/integration.js +1 -1
  303. package/dist/config/markdown.js +1 -1
  304. package/dist/config/normalize.js +107 -107
  305. package/dist/config/plugin/agent.js +123 -123
  306. package/dist/config/plugin/command.js +221 -221
  307. package/dist/config/plugin/compaction.js +162 -162
  308. package/dist/config/plugin/compatibility.js +142 -142
  309. package/dist/config/plugin/entry-observer.js +1 -1
  310. package/dist/config/plugin/formatter.js +122 -122
  311. package/dist/config/plugin/image.js +121 -121
  312. package/dist/config/plugin/instruction.js +121 -121
  313. package/dist/config/plugin/location-watcher.js +123 -123
  314. package/dist/config/plugin/mcp.js +132 -132
  315. package/dist/config/plugin/policy.js +123 -123
  316. package/dist/config/plugin/provider.js +122 -122
  317. package/dist/config/plugin/reference.js +123 -123
  318. package/dist/config/plugin/shell.js +121 -121
  319. package/dist/config/plugin/skill-file.js +138 -138
  320. package/dist/config/plugin/skill-scan.js +1 -1
  321. package/dist/config/plugin/skill.js +145 -145
  322. package/dist/config/plugin/snapshot.js +121 -121
  323. package/dist/config/plugin/source.js +124 -124
  324. package/dist/config/plugin/tool-output.js +122 -122
  325. package/dist/config/plugin/websearch.js +120 -120
  326. package/dist/config/plugin/worktree.js +123 -123
  327. package/dist/config/variable.js +1 -1
  328. package/dist/config/watch.js +1 -1
  329. package/dist/config.js +126 -126
  330. package/dist/console-access.js +1 -1
  331. package/dist/credential/sql.js +2 -2
  332. package/dist/credential.js +85 -85
  333. package/dist/database/database.js +72 -72
  334. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  336. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  337. package/dist/database/drizzle/index.js +15 -15
  338. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  341. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  349. package/dist/database/drizzle.js +16 -16
  350. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  351. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  352. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  353. package/dist/database/migration/20260225215848_workspace.js +1 -1
  354. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  355. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  356. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  357. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  358. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  359. package/dist/database/migration/20260323234822_events.js +1 -1
  360. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  361. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  362. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  363. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  364. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  365. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  366. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  367. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  368. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  369. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  370. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  371. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  372. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  373. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  374. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  375. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  376. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  377. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  378. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  379. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  380. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  381. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  382. package/dist/database/migration/20260611035744_credential.js +1 -1
  383. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  384. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  385. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  386. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  387. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  388. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  389. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  390. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  391. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  392. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  393. package/dist/database/migration/20260812213948_worktree.js +1 -1
  394. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  395. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  396. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  397. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  398. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  399. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  400. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  401. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  402. package/dist/database/migration/20261025123711_blob.js +1 -1
  403. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  404. package/dist/database/migration.gen.js +55 -55
  405. package/dist/database/migration.js +57 -57
  406. package/dist/database/path.js +2 -2
  407. package/dist/database/schema.gen.js +1 -1
  408. package/dist/database/schema.sql.js +1 -1
  409. package/dist/database/sqlite.bun.js +1 -1
  410. package/dist/database/sqlite.js +1 -1
  411. package/dist/database/sqlite.node.js +1 -1
  412. package/dist/database/sqlite.workerd.js +1 -1
  413. package/dist/database/v1-migration.bun.js +93 -93
  414. package/dist/database/v1-migration.js +1 -1
  415. package/dist/effect/app-node-builder.js +382 -382
  416. package/dist/effect/app-node-platform.js +2 -2
  417. package/dist/effect/keyed-mutex.js +3 -3
  418. package/dist/effect/websocket-constructor.js +1 -1
  419. package/dist/environment/driver.js +1 -1
  420. package/dist/environment/environment.js +101 -101
  421. package/dist/environment/exec-defaults.js +2 -2
  422. package/dist/environment/files.js +1 -1
  423. package/dist/environment/index.js +101 -101
  424. package/dist/environment/local.js +2 -2
  425. package/dist/environment/memory.js +2 -2
  426. package/dist/environment/unavailable.js +1 -1
  427. package/dist/event/sql.js +1 -1
  428. package/dist/event-logger.js +76 -76
  429. package/dist/file-access.js +148 -148
  430. package/dist/file-mutation.js +102 -102
  431. package/dist/file-retention.js +1 -1
  432. package/dist/filesystem/fff.bun.js +2 -2
  433. package/dist/filesystem/fff.js +1 -1
  434. package/dist/filesystem/fff.node.js +2 -2
  435. package/dist/filesystem/fff.workerd.js +2 -2
  436. package/dist/filesystem/file-watch.js +83 -83
  437. package/dist/filesystem/location-watcher-policy.js +6 -6
  438. package/dist/filesystem/location-watcher.js +234 -234
  439. package/dist/filesystem/protected.js +1 -1
  440. package/dist/filesystem/search.js +107 -107
  441. package/dist/filesystem/watcher-binding.js +1 -1
  442. package/dist/filesystem/watcher.js +11 -11
  443. package/dist/filesystem.js +112 -112
  444. package/dist/form.js +88 -88
  445. package/dist/formatter/builtins.js +4 -4
  446. package/dist/formatter.js +91 -91
  447. package/dist/generate.js +117 -109
  448. package/dist/git.js +7 -7
  449. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  450. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  451. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  453. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  455. package/dist/github-copilot/copilot-provider.js +17 -17
  456. package/dist/github-copilot/models.js +99 -99
  457. package/dist/github-copilot/openai-compatible-error.js +1 -1
  458. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  459. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  460. package/dist/github-copilot/responses/openai-error.js +1 -1
  461. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  462. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  463. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  464. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  465. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  467. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  468. package/dist/image/photon-normalize.js +1 -1
  469. package/dist/image/photon-worker.js +1 -1
  470. package/dist/image/photon.js +4 -4
  471. package/dist/image.js +6 -6
  472. package/dist/instance/service.js +5 -5
  473. package/dist/instance.js +373 -373
  474. package/dist/instruction-discovery.js +92 -92
  475. package/dist/instructions/builtins.js +95 -95
  476. package/dist/instructions/index.js +3 -3
  477. package/dist/integration/connection.js +3 -3
  478. package/dist/integration.js +95 -95
  479. package/dist/job.js +80 -80
  480. package/dist/kv/sql.js +2 -2
  481. package/dist/kv.js +79 -79
  482. package/dist/location-activity.js +157 -157
  483. package/dist/location-lifecycle.js +138 -138
  484. package/dist/location-service-map.js +94 -94
  485. package/dist/location-services.js +370 -370
  486. package/dist/location.js +97 -97
  487. package/dist/managed-policy.js +9 -9
  488. package/dist/mcp/client.js +99 -99
  489. package/dist/mcp/index.js +113 -113
  490. package/dist/mcp/instructions.js +168 -168
  491. package/dist/mcp/oauth.js +84 -84
  492. package/dist/mcp/socket-client.js +1 -1
  493. package/dist/mcp/stdio.js +98 -98
  494. package/dist/mime.js +1 -1
  495. package/dist/modal/models.js +99 -99
  496. package/dist/model-resolver.js +107 -107
  497. package/dist/model-retry.js +4 -2
  498. package/dist/model.js +104 -104
  499. package/dist/models-dev/v1.js +1 -1
  500. package/dist/models-dev.js +116 -116
  501. package/dist/oauth/page.js +1 -1
  502. package/dist/permission/saved.js +86 -86
  503. package/dist/permission/sql.js +5 -5
  504. package/dist/permission.js +143 -143
  505. package/dist/persistent-pty/binary.bun.js +1 -1
  506. package/dist/persistent-pty/daemon.js +1 -1
  507. package/dist/persistent-pty/index.js +96 -96
  508. package/dist/persistent-pty/pty-binding.js +1 -1
  509. package/dist/persistent-pty.js +81 -81
  510. package/dist/plugin/agent.js +82 -82
  511. package/dist/plugin/command.js +110 -110
  512. package/dist/plugin/hooks.js +5 -5
  513. package/dist/plugin/host.js +225 -225
  514. package/dist/plugin/identity.js +5 -5
  515. package/dist/plugin/instance.js +5 -5
  516. package/dist/plugin/internal.js +343 -343
  517. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  518. package/dist/plugin/models-dev.js +105 -105
  519. package/dist/plugin/module.js +123 -123
  520. package/dist/plugin/optimize.js +2 -2
  521. package/dist/plugin/plan.js +138 -138
  522. package/dist/plugin/promise.js +1 -1
  523. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  524. package/dist/plugin/provider/azure.js +121 -121
  525. package/dist/plugin/provider/cerebras.js +1 -1
  526. package/dist/plugin/provider/chatgpt.js +121 -121
  527. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  528. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  529. package/dist/plugin/provider/cohere.js +2 -2
  530. package/dist/plugin/provider/configured.js +117 -117
  531. package/dist/plugin/provider/databricks.js +1 -1
  532. package/dist/plugin/provider/digitalocean.js +101 -101
  533. package/dist/plugin/provider/dynamic.js +2 -2
  534. package/dist/plugin/provider/factory.js +1 -1
  535. package/dist/plugin/provider/github-copilot.js +103 -103
  536. package/dist/plugin/provider/gitlab.js +101 -101
  537. package/dist/plugin/provider/google-vertex.js +118 -118
  538. package/dist/plugin/provider/kilo.js +1 -1
  539. package/dist/plugin/provider/llmgateway.js +84 -84
  540. package/dist/plugin/provider/lmstudio.js +130 -130
  541. package/dist/plugin/provider/local.js +127 -127
  542. package/dist/plugin/provider/modal.js +100 -100
  543. package/dist/plugin/provider/neon.js +1 -1
  544. package/dist/plugin/provider/nvidia.js +1 -1
  545. package/dist/plugin/provider/ollama.js +130 -130
  546. package/dist/plugin/provider/openai-context-caps.js +98 -98
  547. package/dist/plugin/provider/openai.js +121 -121
  548. package/dist/plugin/provider/opencode-legacy.js +108 -108
  549. package/dist/plugin/provider/opencode.js +127 -127
  550. package/dist/plugin/provider/openrouter.js +99 -99
  551. package/dist/plugin/provider/perplexity.js +2 -2
  552. package/dist/plugin/provider/poe.js +85 -85
  553. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  554. package/dist/plugin/provider/sap-ai-core.js +99 -99
  555. package/dist/plugin/provider/sdk-factory.js +1 -1
  556. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  557. package/dist/plugin/provider/vercel.js +98 -98
  558. package/dist/plugin/provider/vllm.js +130 -130
  559. package/dist/plugin/provider/xai.js +99 -99
  560. package/dist/plugin/provider/zenmux.js +1 -1
  561. package/dist/plugin/provider.js +178 -178
  562. package/dist/plugin/sdk.js +82 -82
  563. package/dist/plugin/service.js +3 -3
  564. package/dist/plugin/skill.js +141 -141
  565. package/dist/plugin/source-directory.js +1 -1
  566. package/dist/plugin/supervisor.js +358 -358
  567. package/dist/plugin/tool-input-repair.js +4 -4
  568. package/dist/plugin/update.js +6 -6
  569. package/dist/plugin/vcs/git.js +94 -94
  570. package/dist/plugin/vcs/hg.js +94 -94
  571. package/dist/plugin/verbosity.js +101 -101
  572. package/dist/plugin/warming.js +119 -119
  573. package/dist/plugin/websearch/exa.js +5 -5
  574. package/dist/plugin/websearch/firecrawl.js +8 -8
  575. package/dist/plugin/websearch/index.js +9 -9
  576. package/dist/plugin/websearch/mcp.js +6 -6
  577. package/dist/plugin/websearch/parallel.js +8 -8
  578. package/dist/plugin/websearch/tavily.js +6 -6
  579. package/dist/plugin/websearch/tinyfish.js +8 -8
  580. package/dist/plugin.js +232 -232
  581. package/dist/project/icon.js +5 -5
  582. package/dist/project/schema.js +2 -2
  583. package/dist/project/sql.js +4 -4
  584. package/dist/project.js +88 -88
  585. package/dist/provider.js +107 -107
  586. package/dist/pty/protocol.js +1 -1
  587. package/dist/pty/ticket.js +1 -1
  588. package/dist/pty.js +98 -98
  589. package/dist/reference/instructions.js +96 -96
  590. package/dist/reference.js +94 -94
  591. package/dist/repository-cache.js +88 -88
  592. package/dist/repository.js +3 -3
  593. package/dist/ripgrep/binary.js +2 -2
  594. package/dist/ripgrep.js +105 -105
  595. package/dist/rpc.js +94 -94
  596. package/dist/schema.js +1 -1
  597. package/dist/session/affinity.js +1 -1
  598. package/dist/session/blob.js +120 -120
  599. package/dist/session/command.js +80 -80
  600. package/dist/session/compaction.js +164 -164
  601. package/dist/session/context.js +188 -188
  602. package/dist/session/diff.js +96 -96
  603. package/dist/session/environment.js +5 -5
  604. package/dist/session/error.js +5 -5
  605. package/dist/session/event.js +1 -1
  606. package/dist/session/execution/restart.js +222 -222
  607. package/dist/session/execution.js +150 -150
  608. package/dist/session/generate.js +188 -188
  609. package/dist/session/history.js +127 -127
  610. package/dist/session/inbox.js +134 -134
  611. package/dist/session/info.js +3 -3
  612. package/dist/session/instruction-entry.js +83 -83
  613. package/dist/session/instruction-state.js +8 -8
  614. package/dist/session/instructions.js +132 -132
  615. package/dist/session/message-updater.js +2 -2
  616. package/dist/session/message.js +1 -1
  617. package/dist/session/model-request.js +155 -155
  618. package/dist/session/model-transport.js +9 -9
  619. package/dist/session/move.js +156 -156
  620. package/dist/session/projector.js +134 -134
  621. package/dist/session/prompt.js +140 -140
  622. package/dist/session/recent-text.js +1 -1
  623. package/dist/session/revert.js +130 -130
  624. package/dist/session/run-coordinator.js +3 -3
  625. package/dist/session/runner/index.js +1 -1
  626. package/dist/session/runner/llm.js +236 -236
  627. package/dist/session/runner/max-steps.js +1 -1
  628. package/dist/session/runner/model.js +108 -108
  629. package/dist/session/runner/publish-llm-event.js +141 -141
  630. package/dist/session/runner/retry.js +5 -5
  631. package/dist/session/runner/step.js +152 -152
  632. package/dist/session/runner/to-llm-message.js +128 -128
  633. package/dist/session/schema.js +5 -5
  634. package/dist/session/session.js +172 -172
  635. package/dist/session/shell.js +135 -135
  636. package/dist/session/skill.js +139 -139
  637. package/dist/session/sql.js +5 -5
  638. package/dist/session/stats.js +79 -79
  639. package/dist/session/store.js +133 -133
  640. package/dist/session/stored.js +4 -4
  641. package/dist/session/subagent-completion.js +1 -1
  642. package/dist/session/subagent-job.js +219 -219
  643. package/dist/session/system-prompt.js +5 -5
  644. package/dist/session/title.js +186 -186
  645. package/dist/session/to-session-error.js +140 -140
  646. package/dist/session/transfer.js +221 -221
  647. package/dist/session/usage.js +1 -1
  648. package/dist/session.js +223 -223
  649. package/dist/shell/parse.js +6 -6
  650. package/dist/shell/result.js +1 -1
  651. package/dist/shell/scan.js +1 -1
  652. package/dist/shell/select.js +13 -13
  653. package/dist/shell.js +137 -137
  654. package/dist/skill/discovery.js +6 -6
  655. package/dist/skill/instructions.js +141 -141
  656. package/dist/skill.js +150 -150
  657. package/dist/snapshot.js +99 -99
  658. package/dist/state.js +1 -1
  659. package/dist/tool/html-markdown.js +1 -1
  660. package/dist/tool/http-body.js +1 -1
  661. package/dist/tool/mcp.js +167 -167
  662. package/dist/tool/plugin/edit.js +156 -156
  663. package/dist/tool/plugin/file-diff.js +1 -1
  664. package/dist/tool/plugin/glob.js +160 -160
  665. package/dist/tool/plugin/grep.js +160 -160
  666. package/dist/tool/plugin/mcp-resource.js +154 -154
  667. package/dist/tool/plugin/opencode.js +153 -153
  668. package/dist/tool/plugin/patch.js +158 -158
  669. package/dist/tool/plugin/question.js +140 -140
  670. package/dist/tool/plugin/read.js +161 -161
  671. package/dist/tool/plugin/shell.js +218 -218
  672. package/dist/tool/plugin/skill.js +147 -147
  673. package/dist/tool/plugin/subagent.js +224 -224
  674. package/dist/tool/plugin/todo.js +143 -143
  675. package/dist/tool/plugin/webfetch.js +147 -147
  676. package/dist/tool/plugin/websearch.js +145 -145
  677. package/dist/tool/plugin/write.js +158 -158
  678. package/dist/tool/read-filesystem.js +110 -110
  679. package/dist/tool/runtime.js +1 -1
  680. package/dist/tool-output.js +7 -7
  681. package/dist/tool.js +16 -16
  682. package/dist/types/generate.d.ts +39 -7
  683. package/dist/types/model-resolver.d.ts +6 -1
  684. package/dist/types/model-retry.d.ts +2 -0
  685. package/dist/types/model.d.ts +3 -0
  686. package/dist/types/provider.d.ts +2 -0
  687. package/dist/usage-limits.js +93 -93
  688. package/dist/util/error-summary.js +1 -1
  689. package/dist/util/git-executable.js +3 -3
  690. package/dist/util/lazy.js +1 -1
  691. package/dist/util/slug.js +1 -1
  692. package/dist/util/token.js +1 -1
  693. package/dist/util/which.js +1 -1
  694. package/dist/util/wildcard.js +1 -1
  695. package/dist/v1/config/agent.js +5 -5
  696. package/dist/v1/config/command.js +5 -5
  697. package/dist/v1/config/mcp.js +4 -4
  698. package/dist/v1/config/migrate.js +100 -100
  699. package/dist/v1/config/permission.js +3 -3
  700. package/dist/v1/config/plugin.js +3 -3
  701. package/dist/v1/config/provider-options.js +1 -1
  702. package/dist/v1/config/provider.js +4 -4
  703. package/dist/variant.js +101 -101
  704. package/dist/vcs/patch.js +1 -1
  705. package/dist/vcs.js +97 -97
  706. package/dist/voice.js +94 -94
  707. package/dist/websearch.js +90 -90
  708. package/dist/wellknown/plugin.js +82 -82
  709. package/dist/wellknown.js +87 -87
  710. package/dist/workspace/driver.js +7 -7
  711. package/dist/workspace/sql.js +1 -1
  712. package/dist/workspace.js +88 -88
  713. package/dist/worktree/directory.js +2 -2
  714. package/dist/worktree/git.js +11 -11
  715. package/dist/worktree/sql.js +5 -5
  716. package/dist/worktree/strategies.js +97 -97
  717. package/dist/worktree.js +106 -106
  718. package/package.json +8 -8
  719. package/dist/chunks/image-00ve6mdn.js +0 -18
  720. package/dist/chunks/image-1a45nw2b.js +0 -82
  721. package/dist/chunks/image-fb3wfc6a.js +0 -517
  722. package/dist/chunks/image-xenqwxwz.js +0 -257
  723. package/dist/chunks/image-xqm1qcbw.js +0 -26
  724. /package/dist/chunks/{image-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  725. /package/dist/chunks/{image-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  726. /package/dist/chunks/{image-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  727. /package/dist/chunks/{image-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  728. /package/dist/chunks/{image-1jakw16s.js → location-services-1jakw16s.js} +0 -0
  729. /package/dist/chunks/{image-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  730. /package/dist/chunks/{image-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  731. /package/dist/chunks/{image-2bv980vf.js → location-services-2bv980vf.js} +0 -0
  732. /package/dist/chunks/{image-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  733. /package/dist/chunks/{image-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  734. /package/dist/chunks/{image-3asan66x.js → location-services-3asan66x.js} +0 -0
  735. /package/dist/chunks/{image-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  736. /package/dist/chunks/{image-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  737. /package/dist/chunks/{image-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  738. /package/dist/chunks/{image-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  739. /package/dist/chunks/{image-4m86bj6y.js → location-services-4m86bj6y.js} +0 -0
  740. /package/dist/chunks/{image-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  741. /package/dist/chunks/{image-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  742. /package/dist/chunks/{image-53557ph1.js → location-services-53557ph1.js} +0 -0
  743. /package/dist/chunks/{image-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  744. /package/dist/chunks/{image-5w3e23ze.js → location-services-5w3e23ze.js} +0 -0
  745. /package/dist/chunks/{image-6prwharc.js → location-services-6prwharc.js} +0 -0
  746. /package/dist/chunks/{image-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
  747. /package/dist/chunks/{image-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  748. /package/dist/chunks/{image-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  749. /package/dist/chunks/{image-822emrt2.js → location-services-822emrt2.js} +0 -0
  750. /package/dist/chunks/{image-84wd9syh.js → location-services-84wd9syh.js} +0 -0
  751. /package/dist/chunks/{image-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  752. /package/dist/chunks/{image-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  753. /package/dist/chunks/{image-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
  754. /package/dist/chunks/{image-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  755. /package/dist/chunks/{image-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  756. /package/dist/chunks/{image-a058387c.js → location-services-a058387c.js} +0 -0
  757. /package/dist/chunks/{image-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  758. /package/dist/chunks/{image-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  759. /package/dist/chunks/{image-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  760. /package/dist/chunks/{image-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  761. /package/dist/chunks/{image-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  762. /package/dist/chunks/{image-beh6qq61.js → location-services-beh6qq61.js} +0 -0
  763. /package/dist/chunks/{image-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  764. /package/dist/chunks/{image-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  765. /package/dist/chunks/{image-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  766. /package/dist/chunks/{image-cqv5kn06.js → location-services-cqv5kn06.js} +0 -0
  767. /package/dist/chunks/{image-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  768. /package/dist/chunks/{image-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  769. /package/dist/chunks/{image-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  770. /package/dist/chunks/{image-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  771. /package/dist/chunks/{image-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  772. /package/dist/chunks/{image-df08tz66.js → location-services-df08tz66.js} +0 -0
  773. /package/dist/chunks/{image-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  774. /package/dist/chunks/{image-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  775. /package/dist/chunks/{image-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  776. /package/dist/chunks/{image-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  777. /package/dist/chunks/{image-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  778. /package/dist/chunks/{image-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  779. /package/dist/chunks/{image-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  780. /package/dist/chunks/{image-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  781. /package/dist/chunks/{image-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  782. /package/dist/chunks/{image-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  783. /package/dist/chunks/{image-fkpq3x5p.js → location-services-fkpq3x5p.js} +0 -0
  784. /package/dist/chunks/{image-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  785. /package/dist/chunks/{image-g86h250q.js → location-services-g86h250q.js} +0 -0
  786. /package/dist/chunks/{image-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  787. /package/dist/chunks/{image-gftt206x.js → location-services-gftt206x.js} +0 -0
  788. /package/dist/chunks/{image-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
  789. /package/dist/chunks/{image-hk9envan.js → location-services-hk9envan.js} +0 -0
  790. /package/dist/chunks/{image-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  791. /package/dist/chunks/{image-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  792. /package/dist/chunks/{image-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  793. /package/dist/chunks/{image-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  794. /package/dist/chunks/{image-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  795. /package/dist/chunks/{image-jwr30sdr.js → location-services-jwr30sdr.js} +0 -0
  796. /package/dist/chunks/{image-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
  797. /package/dist/chunks/{image-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  798. /package/dist/chunks/{image-m18g726c.js → location-services-m18g726c.js} +0 -0
  799. /package/dist/chunks/{image-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  800. /package/dist/chunks/{image-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  801. /package/dist/chunks/{image-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  802. /package/dist/chunks/{image-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  803. /package/dist/chunks/{image-ncqqe42p.js → location-services-ncqqe42p.js} +0 -0
  804. /package/dist/chunks/{image-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  805. /package/dist/chunks/{image-p71gwv9c.js → location-services-p71gwv9c.js} +0 -0
  806. /package/dist/chunks/{image-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  807. /package/dist/chunks/{image-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  808. /package/dist/chunks/{image-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  809. /package/dist/chunks/{image-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  810. /package/dist/chunks/{image-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  811. /package/dist/chunks/{image-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  812. /package/dist/chunks/{image-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  813. /package/dist/chunks/{image-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  814. /package/dist/chunks/{image-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  815. /package/dist/chunks/{image-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  816. /package/dist/chunks/{image-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
  817. /package/dist/chunks/{image-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  818. /package/dist/chunks/{image-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  819. /package/dist/chunks/{image-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  820. /package/dist/chunks/{image-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  821. /package/dist/chunks/{image-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  822. /package/dist/chunks/{image-x61499pn.js → location-services-x61499pn.js} +0 -0
  823. /package/dist/chunks/{image-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  824. /package/dist/chunks/{image-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  825. /package/dist/chunks/{image-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  826. /package/dist/chunks/{image-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  827. /package/dist/chunks/{image-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
  828. /package/dist/chunks/{image-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID13,
3
- Service75,
4
- node78
5
- } from "./image-7f19aye0.js";
2
+ ID14,
3
+ Service81,
4
+ node85
5
+ } from "./location-services-pgd0patt.js";
6
6
  import {
7
- ID12,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -15,24 +15,24 @@ import {
15
15
  encoding2,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service70,
19
- node73
20
- } from "./image-6njdqq50.js";
18
+ Service79,
19
+ node83
20
+ } from "./location-services-ct6n0aec.js";
21
21
  import {
22
- Service69,
23
- node72
24
- } from "./image-6e5t6smq.js";
22
+ Service51,
23
+ node53
24
+ } from "./location-services-mvh1rx9p.js";
25
25
  import {
26
26
  ID11,
27
27
  VariantID2,
28
28
  Ref3,
29
- Service65,
29
+ Service66,
30
30
  node68,
31
31
  supportsText2
32
- } from "./image-2x5k55vn.js";
32
+ } from "./location-services-rz9cdrn3.js";
33
33
  import {
34
34
  __export
35
- } from "./image-9rqn6x4v.js";
35
+ } from "./location-services-9rqn6x4v.js";
36
36
 
37
37
  // src/model-resolver.ts
38
38
  var exports_model_resolver = {};
@@ -41,25 +41,33 @@ __export(exports_model_resolver, {
41
41
  ModelConfigurationError: () => ModelConfigurationError2,
42
42
  ModelInitializationError: () => ModelInitializationError2,
43
43
  ModelResolver: () => exports_model_resolver,
44
- Service: () => Service49,
44
+ Service: () => Service50,
45
45
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
46
46
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
47
47
  UnsupportedPackageError: () => UnsupportedPackageError2,
48
48
  VariantUnavailableError: () => VariantUnavailableError2,
49
49
  fromCatalogModel: () => fromCatalogModel2,
50
50
  hasPackage: () => hasPackage2,
51
- layer: () => layer22,
52
- node: () => node51,
51
+ layer: () => layer21,
52
+ node: () => node52,
53
53
  resolveModel: () => resolveModel3,
54
54
  withVariant: () => withVariant2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
57
- import { HttpOptions, LanguageModel, ProviderConfigurationError } from "@opencode/ai/effect";
57
+ import {
58
+ DecisionModel,
59
+ DecisionModelCompatibility,
60
+ DecisionModelSchema,
61
+ HttpOptions,
62
+ ImageModelSchema,
63
+ LanguageModel,
64
+ ProviderConfigurationError
65
+ } from "@opencode/ai/effect";
58
66
  import { Auth, mergeHttpOptions } from "@opencode/ai/route";
59
67
  import { Context, Effect, Layer, Schema, Struct } from "effect";
60
68
  import { Npm } from "@opencode/util/npm";
61
69
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
62
- providerID: ID12,
70
+ providerID: ID13,
63
71
  modelID: ID11,
64
72
  variant: VariantID2
65
73
  }) {
@@ -69,7 +77,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
69
77
  }
70
78
 
71
79
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
72
- providerID: ID12,
80
+ providerID: ID13,
73
81
  modelID: ID11,
74
82
  package: Schema.String
75
83
  }) {
@@ -80,7 +88,7 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
80
88
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
81
89
 
82
90
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
83
- providerID: ID12,
91
+ providerID: ID13,
84
92
  modelID: ID11,
85
93
  package: Schema.String,
86
94
  detail: Schema.String
@@ -91,7 +99,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
91
99
  }
92
100
 
93
101
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
94
- providerID: ID12,
102
+ providerID: ID13,
95
103
  modelID: ID11,
96
104
  package: Schema.String,
97
105
  phase: InitializationPhase2,
@@ -103,7 +111,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
103
111
  }
104
112
 
105
113
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
106
- providerID: ID12,
114
+ providerID: ID13,
107
115
  modelID: ID11,
108
116
  variables: Schema.Array(Schema.String)
109
117
  }) {
@@ -113,7 +121,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
113
121
  }
114
122
 
115
123
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
116
- providerID: ID12,
124
+ providerID: ID13,
117
125
  modelID: ID11,
118
126
  route: Schema.String
119
127
  }) {
@@ -122,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
122
130
  }
123
131
  }
124
132
 
125
- class Service49 extends Context.Service()("@opencode/ModelResolver") {
133
+ class Service50 extends Context.Service()("@opencode/ModelResolver") {
126
134
  }
127
135
  var withVariant2 = (model, variantID) => {
128
136
  const id = variantID === "default" ? undefined : variantID;
@@ -146,9 +154,8 @@ var fromCatalogModel2 = (model, credential, dependencies) => resolveCatalogModel
146
154
  return Effect.fail(new UnsupportedCompactionError2({ providerID: model.providerID, modelID: model.id, route: resolved.route.id }));
147
155
  }));
148
156
  var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(function* (model, credential, dependencies) {
149
- const resolved = prepareRuntimeModel(model);
150
- const configured = { ...resolved.settings, ...credential?.metadata };
151
- if (isAISDK2(resolved.package)) {
157
+ if (isAISDK2(model.package)) {
158
+ const resolved = prepareRuntimeModel(model);
152
159
  const loadAISDK = dependencies?.loadAISDK;
153
160
  if (!loadAISDK)
154
161
  return yield* unsupported(resolved);
@@ -158,18 +165,7 @@ var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(functio
158
165
  }) ?? {});
159
166
  return yield* loadAISDK({ ...resolved, settings }).pipe(Effect.mapError((error) => initialization(resolved, "init", error.cause)));
160
167
  }
161
- const specifier = packageName2(resolved.package);
162
- if (!specifier)
163
- return yield* unsupported(resolved);
164
- const mapped = yield* prepareProviderSettings(resolved, nativeSettings2(configured));
165
- const module = yield* (dependencies?.loadPackage ?? loadPackage2)(specifier).pipe(Effect.mapError((error) => initialization(resolved, "load", error.cause)));
166
- const settings = {
167
- ...credential ? Struct.omit(mapped, ["accessToken", "apiKey", "authToken"]) : mapped,
168
- ...resolved.canonical === undefined ? {} : { provider: resolved.canonical },
169
- ...nativeCredentialSettings(resolved, specifier, credential),
170
- headers: resolved.headers,
171
- body: resolved.body
172
- };
168
+ const { resolved, configured, module, settings } = yield* loadCatalogPackage(model, credential, dependencies);
173
169
  return yield* Effect.try({
174
170
  try: () => {
175
171
  const runtime = module.model(resolved.modelID ?? resolved.id, settings);
@@ -182,14 +178,49 @@ var resolveCatalogModel = Effect.fn("ModelResolver.resolveCatalogModel")(functio
182
178
  }
183
179
  });
184
180
  },
185
- catch: (cause) => cause instanceof ProviderConfigurationError ? new ModelConfigurationError2({
186
- providerID: resolved.providerID,
187
- modelID: resolved.id,
188
- package: resolved.package ?? "unknown",
189
- detail: cause.message
190
- }) : initialization(resolved, "construct", cause)
181
+ catch: (cause) => constructionError(resolved, cause)
182
+ });
183
+ });
184
+ var loadCatalogPackage = Effect.fn("ModelResolver.loadCatalogPackage")(function* (model, credential, dependencies) {
185
+ const resolved = prepareRuntimeModel(model);
186
+ const configured = { ...resolved.settings, ...credential?.metadata };
187
+ const specifier = packageName2(resolved.package);
188
+ if (!specifier || isAISDK2(specifier))
189
+ return yield* unsupported(resolved);
190
+ const mapped = yield* prepareProviderSettings(resolved, nativeSettings2(configured));
191
+ const module = yield* (dependencies?.loadPackage ?? loadPackage2)(specifier).pipe(Effect.mapError((error) => initialization(resolved, "load", error.cause)));
192
+ const settings = {
193
+ ...credential ? Struct.omit(mapped, ["accessToken", "apiKey", "authToken"]) : mapped,
194
+ ...resolved.canonical === undefined ? {} : { provider: resolved.canonical },
195
+ ...nativeCredentialSettings(resolved, specifier, credential),
196
+ headers: resolved.headers,
197
+ body: resolved.body
198
+ };
199
+ return { resolved, configured, module, settings };
200
+ });
201
+ var fromCatalogMedia = Effect.fn("ModelResolver.fromCatalogMedia")(function* (model, is, credential, dependencies) {
202
+ const { resolved, module, settings } = yield* loadCatalogPackage(model, credential, dependencies);
203
+ const runtime = yield* Effect.try({
204
+ try: () => module.model(resolved.modelID ?? resolved.id, settings),
205
+ catch: (cause) => constructionError(resolved, cause)
191
206
  });
207
+ const mediaInput = resolved.compatibility?.mediaInput;
208
+ const adapted = runtime instanceof DecisionModel && mediaInput !== undefined ? new DecisionModel({
209
+ ...runtime,
210
+ compatibility: DecisionModelCompatibility.make({ ...runtime.compatibility, mediaInput })
211
+ }) : runtime;
212
+ if (!is(adapted))
213
+ return yield* unsupported(resolved);
214
+ return adapted;
192
215
  });
216
+ var constructionError = (model, cause) => cause instanceof ProviderConfigurationError ? new ModelConfigurationError2({
217
+ providerID: model.providerID,
218
+ modelID: model.id,
219
+ package: model.package ?? "unknown",
220
+ detail: cause.message
221
+ }) : initialization(model, "construct", cause);
222
+ var isImageModel = Schema.is(ImageModelSchema);
223
+ var isDecisionModel = Schema.is(DecisionModelSchema);
193
224
  function prepareRuntimeModel(model) {
194
225
  if (model.settings?.apiKey !== "")
195
226
  return model;
@@ -234,7 +265,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
234
265
  return tokenSettings(specifier, credential.access);
235
266
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
236
267
  return { auth: "sigv4" };
237
- if (model.providerID === ID12.azure)
268
+ if (model.providerID === ID13.azure)
238
269
  return tokenSettings(specifier, "azure-cli");
239
270
  return {};
240
271
  };
@@ -269,25 +300,30 @@ var causeMessage = (cause) => {
269
300
  };
270
301
  var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
271
302
  var hasPackage2 = (model) => Boolean(model.package);
272
- var layer22 = Layer.effect(Service49, Effect.gen(function* () {
273
- const providers = yield* Service70;
274
- const models = yield* Service65;
275
- const integrations = yield* Service75;
303
+ var layer21 = Layer.effect(Service50, Effect.gen(function* () {
304
+ const providers = yield* Service79;
305
+ const models = yield* Service66;
306
+ const integrations = yield* Service81;
276
307
  const npm = yield* Npm.Service;
277
- const aisdk = yield* Service69;
278
- const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
308
+ const aisdk = yield* Service51;
309
+ const dependencies = {
310
+ loadPackage: (specifier) => loadPackage2(specifier, npm),
311
+ loadAISDK: (model) => aisdk.model(model)
312
+ };
313
+ const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
279
314
  const provider = yield* providers.get(selected.providerID);
280
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
315
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
281
316
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
282
317
  const selectedVariant = yield* withVariant2(selected, variant);
283
318
  const runtimeInfo = {
284
319
  ...selectedVariant,
285
320
  settings: mergeOverlay2(provider?.settings, modelSettings2(selectedVariant.settings))
286
321
  };
287
- const model = yield* fromCatalogModel2(runtimeInfo, credential, {
288
- loadPackage: (specifier) => loadPackage2(specifier, npm),
289
- loadAISDK: (model) => aisdk.model(model)
290
- });
322
+ return { provider, credential, runtimeInfo };
323
+ });
324
+ const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
325
+ const { provider, credential, runtimeInfo } = yield* prepare(selected, variant);
326
+ const model = yield* fromCatalogModel2(runtimeInfo, credential, dependencies);
291
327
  const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
292
328
  return {
293
329
  model: runtime,
@@ -305,14 +341,27 @@ var layer22 = Layer.effect(Service49, Effect.gen(function* () {
305
341
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
306
342
  };
307
343
  });
308
- return Service49.of({
344
+ const loadMedia = Effect.fnUntraced(function* (ref, type, is) {
345
+ const info = (yield* models.available([type])).find((model) => model.providerID === ref.providerID && model.id === ref.id);
346
+ if (!info)
347
+ return;
348
+ const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
349
+ return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
350
+ });
351
+ return Service50.of({
309
352
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
310
353
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
311
354
  if (!selected)
312
355
  return;
313
356
  return yield* load(selected, requested?.variant);
314
357
  }),
315
- resolveModel: load
358
+ resolveModel: load,
359
+ resolveImage: Effect.fn("ModelResolver.resolveImage")(function* (ref) {
360
+ return yield* loadMedia(ref, "image", isImageModel);
361
+ }),
362
+ resolveDecision: Effect.fn("ModelResolver.resolveDecision")(function* (ref) {
363
+ return yield* loadMedia(ref, "decision", isDecisionModel);
364
+ })
316
365
  });
317
366
  }));
318
367
  function hasConfiguredAuth(model) {
@@ -322,10 +371,10 @@ function usesAPIKeyAuth(packageName) {
322
371
  const name = packageName2(packageName);
323
372
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
324
373
  }
325
- var node51 = makeLocationNode({
326
- service: Service49,
327
- layer: layer22,
328
- deps: [node73, node68, node78, Npm.node, node72]
374
+ var node52 = makeLocationNode({
375
+ service: Service50,
376
+ layer: layer21,
377
+ deps: [node83, node68, node85, Npm.node, node53]
329
378
  });
330
379
 
331
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service49, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer22, node51, exports_model_resolver };
380
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service50, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer21, node52, exports_model_resolver };
@@ -1,74 +1,74 @@
1
1
  import {
2
2
  Service87,
3
3
  node91
4
- } from "./image-a05d4hwx.js";
4
+ } from "./location-services-pfswwbj2.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service86,
8
8
  node90
9
- } from "./image-7fdqgk09.js";
9
+ } from "./location-services-x82dhhxf.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./image-ec1grn59.js";
12
+ } from "./location-services-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./image-gftt206x.js";
15
+ } from "./location-services-gftt206x.js";
16
16
  import {
17
17
  update2
18
- } from "./image-b6vsg801.js";
18
+ } from "./location-services-b6vsg801.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./image-z5v4ffb3.js";
22
+ } from "./location-services-z5v4ffb3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./image-034tev2y.js";
25
+ } from "./location-services-034tev2y.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./image-gg8p9cgs.js";
30
+ } from "./location-services-gg8p9cgs.js";
31
31
  import {
32
32
  User3
33
- } from "./image-fg9p65nk.js";
33
+ } from "./location-services-prq7xxp2.js";
34
34
  import {
35
35
  externalize2,
36
36
  recordRefs2,
37
37
  syncRefs2,
38
38
  releaseFrom2,
39
39
  releaseSession2
40
- } from "./image-4ma4sxxx.js";
40
+ } from "./location-services-mhcbn2s9.js";
41
41
  import {
42
42
  apply2,
43
43
  initialize3,
44
44
  advanceEpoch2,
45
45
  rewind2
46
- } from "./image-nf3nsvxh.js";
46
+ } from "./location-services-pbbktnbz.js";
47
47
  import {
48
48
  decodeMessageRowSync2
49
- } from "./image-4c0yqtm4.js";
49
+ } from "./location-services-xn4shan3.js";
50
50
  import {
51
51
  projectAdmitted2,
52
52
  projectDelivered2,
53
53
  projectCancelled2,
54
54
  projectDeliveryChanged2
55
- } from "./image-bvdsa3vs.js";
55
+ } from "./location-services-rhg5jmsx.js";
56
56
  import {
57
57
  initialize2
58
- } from "./image-enqfapnb.js";
58
+ } from "./location-services-2qje8jvz.js";
59
59
  import {
60
60
  Slug2
61
- } from "./image-gebd4c9n.js";
61
+ } from "./location-services-gebd4c9n.js";
62
62
  import {
63
63
  __export
64
- } from "./image-9rqn6x4v.js";
64
+ } from "./location-services-9rqn6x4v.js";
65
65
 
66
66
  // src/session/projector.ts
67
67
  var exports_projector = {};
68
68
  __export(exports_projector, {
69
69
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
70
70
  SessionProjector: () => exports_projector,
71
- node: () => node29
71
+ node: () => node31
72
72
  });
73
73
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
74
74
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -508,6 +508,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
508
508
  return publishSessionUsage(db, bus, event.data.sessionID);
509
509
  }), Effect.forkScoped({ startImmediately: true }));
510
510
  }));
511
- var node29 = makeGlobalNode({ name: "session-projector", layer, deps: [node90, node91] });
511
+ var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node90, node91] });
512
512
 
513
- export { SessionAlreadyProjected2, node29, exports_projector };
513
+ export { SessionAlreadyProjected2, node31, exports_projector };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./image-7fdqgk09.js";
4
+ } from "./location-services-x82dhhxf.js";
5
5
  import {
6
- Service68,
7
- node71
8
- } from "./image-b70g77th.js";
6
+ Service64,
7
+ node66
8
+ } from "./location-services-c1zy16x8.js";
9
9
  import {
10
10
  changes2,
11
11
  create3
12
- } from "./image-204s3925.js";
12
+ } from "./location-services-204s3925.js";
13
13
  import {
14
14
  __export
15
- } from "./image-9rqn6x4v.js";
15
+ } from "./location-services-9rqn6x4v.js";
16
16
 
17
17
  // src/websearch.ts
18
18
  var exports_websearch3 = {};
19
19
  __export(exports_websearch3, {
20
20
  DisabledError: () => DisabledError2,
21
- Event: () => Event9,
22
- ID: () => ID6,
23
- Input: () => Input15,
21
+ Event: () => Event5,
22
+ ID: () => ID4,
23
+ Input: () => Input14,
24
24
  Provider: () => Provider2,
25
25
  ProviderKey: () => ProviderKey2,
26
26
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -29,29 +29,29 @@ __export(exports_websearch3, {
29
29
  Response: () => Response3,
30
30
  Result: () => Result2,
31
31
  Selection: () => Selection2,
32
- Service: () => Service53,
32
+ Service: () => Service24,
33
33
  WebSearch: () => exports_websearch3,
34
- node: () => node55
34
+ node: () => node27
35
35
  });
36
36
  import { WebSearch } from "@opencode/schema/websearch";
37
37
  import { SessionEvent } from "@opencode/schema/session-event";
38
38
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
39
39
  import { HttpClientError } from "effect/http";
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
- import { Event as Event9 } from "@opencode/schema/websearch";
42
- var ID6 = WebSearch.ID;
41
+ import { Event as Event5 } from "@opencode/schema/websearch";
42
+ var ID4 = WebSearch.ID;
43
43
  var Provider2 = WebSearch.Provider;
44
- var Input15 = WebSearch.Input;
44
+ var Input14 = WebSearch.Input;
45
45
  var Result2 = WebSearch.Result;
46
46
  var Response3 = WebSearch.Response;
47
47
  var ProviderKey2 = "websearch:provider";
48
- var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
48
+ var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
49
49
 
50
50
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
51
51
  }
52
52
 
53
53
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
54
- providerID: ID6
54
+ providerID: ID4
55
55
  }) {
56
56
  }
57
57
 
@@ -59,16 +59,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
59
59
  }
60
60
 
61
61
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
62
- providerID: ID6,
62
+ providerID: ID4,
63
63
  cause: Schema.Defect()
64
64
  }) {
65
65
  }
66
66
 
67
- class Service53 extends Context.Service()("@opencode/WebSearch") {
67
+ class Service24 extends Context.Service()("@opencode/WebSearch") {
68
68
  }
69
- var layer = Layer.effect(Service53, Effect.gen(function* () {
69
+ var layer = Layer.effect(Service24, Effect.gen(function* () {
70
70
  const bus = yield* Service86;
71
- const kv = yield* Service68;
71
+ const kv = yield* Service64;
72
72
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
73
73
  const cooldowns = new Map;
74
74
  const preferred = new Map;
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
129
129
  }
130
130
  return choice ? state.get().providers.get(choice) : undefined;
131
131
  });
132
- return Service53.of({
132
+ return Service24.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -186,10 +186,10 @@ function cooldownMillis(value, now) {
186
186
  const date = Date.parse(value);
187
187
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
188
188
  }
189
- var node55 = makeLocationNode({
190
- service: Service53,
189
+ var node27 = makeLocationNode({
190
+ service: Service24,
191
191
  layer,
192
- deps: [node90, node71]
192
+ deps: [node90, node66]
193
193
  });
194
194
 
195
- export { ID6, Provider2, Input15, Result2, Response3, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service53, node55, exports_websearch3, Event9 };
195
+ export { ID4, Provider2, Input14, Result2, Response3, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service24, node27, exports_websearch3, Event5 };