@opencode/core 0.0.0-dev-19643 → 0.0.0-dev-19646

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{pty-yt0fqk68.js → location-services-0f9afca0.js} +5 -5
  8. package/dist/chunks/{pty-vzvreeh0.js → location-services-0jr2e6y1.js} +15 -15
  9. package/dist/chunks/{pty-fcrkznn8.js → location-services-0jwsre1p.js} +5 -5
  10. package/dist/chunks/location-services-0mesazry.js +4 -0
  11. package/dist/chunks/{pty-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{pty-0q0f95c6.js → location-services-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{pty-ba2esg0k.js → location-services-10ggzwzy.js} +26 -26
  14. package/dist/chunks/location-services-10w680va.js +478 -0
  15. package/dist/chunks/{pty-p4w4r7dh.js → location-services-12q1t22t.js} +17 -17
  16. package/dist/chunks/{pty-xqrhjvfz.js → location-services-139zgem4.js} +19 -19
  17. package/dist/chunks/{pty-w3k8r67b.js → location-services-167waerb.js} +3 -3
  18. package/dist/chunks/{pty-r8xr0va3.js → location-services-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{pty-mvfsc1pv.js → location-services-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{pty-n4nzzcpz.js → location-services-1ch5qaya.js} +12 -12
  21. package/dist/chunks/{pty-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{pty-rtjhe620.js → location-services-1dnbpee6.js} +13 -13
  23. package/dist/chunks/{pty-22321kh4.js → location-services-1f98cwtd.js} +37 -37
  24. package/dist/chunks/{pty-pmtnxrty.js → location-services-1p39h8sh.js} +30 -30
  25. package/dist/chunks/{pty-ja4wy4ee.js → location-services-1qghmjy0.js} +7 -7
  26. package/dist/chunks/{pty-yj0qx3n0.js → location-services-1rzrj0t8.js} +9 -9
  27. package/dist/chunks/{pty-c1e8wyn8.js → location-services-1sxjw9hv.js} +24 -24
  28. package/dist/chunks/{pty-db54agdm.js → location-services-1v6wmkfd.js} +5 -5
  29. package/dist/chunks/{pty-265qpxfd.js → location-services-1y4p7nrp.js} +9 -9
  30. package/dist/chunks/{pty-21r38tys.js → location-services-21r38tys.js} +1 -1
  31. package/dist/chunks/{pty-xk747vep.js → location-services-24dd53tp.js} +9 -9
  32. package/dist/chunks/{pty-9c2qq6zd.js → location-services-269f66cv.js} +1 -1
  33. package/dist/chunks/{pty-g05fqrxf.js → location-services-28tn16s0.js} +30 -30
  34. package/dist/chunks/{pty-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{pty-1sfcqhhy.js → location-services-2bah9vp1.js} +20 -20
  36. package/dist/chunks/{pty-q6d53jre.js → location-services-2bmpyzcd.js} +8 -8
  37. package/dist/chunks/{pty-q0mc0b5w.js → location-services-2et47t4y.js} +15 -15
  38. package/dist/chunks/{pty-zd7rxry8.js → location-services-2fajfwx1.js} +9 -9
  39. package/dist/chunks/{pty-ym31zdqs.js → location-services-2q8hmj7g.js} +15 -15
  40. package/dist/chunks/{pty-t63vnq2n.js → location-services-2rrz687z.js} +18 -18
  41. package/dist/chunks/{pty-mfqp6xfm.js → location-services-33w4ejhs.js} +9 -9
  42. package/dist/chunks/{pty-2qk91kwd.js → location-services-39rqm1tv.js} +41 -41
  43. package/dist/chunks/{pty-rx7f9tze.js → location-services-3d4q28mx.js} +3 -3
  44. package/dist/chunks/{pty-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{pty-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{pty-04kq0c7x.js → location-services-3s77hqr9.js} +11 -11
  47. package/dist/chunks/{pty-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{pty-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  49. package/dist/chunks/{pty-z3pw5915.js → location-services-3w2b2yj4.js} +5 -5
  50. package/dist/chunks/{pty-rec5x2c9.js → location-services-4cb531x0.js} +15 -15
  51. package/dist/chunks/{pty-81swgkk7.js → location-services-57ez7d0k.js} +7 -7
  52. package/dist/chunks/{pty-5c4hm403.js → location-services-5c4hm403.js} +3 -3
  53. package/dist/chunks/{pty-tkdspmrw.js → location-services-5cq9r6wf.js} +20 -20
  54. package/dist/chunks/{pty-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  55. package/dist/chunks/{pty-2tstmrdm.js → location-services-5gg6f7ne.js} +11 -11
  56. package/dist/chunks/{pty-9q9yqw35.js → location-services-5n4xgvhz.js} +27 -27
  57. package/dist/chunks/{pty-57jy6g3z.js → location-services-5pgkrn72.js} +3 -3
  58. package/dist/chunks/{pty-e3qxr5gk.js → location-services-5qd3pb7m.js} +2 -2
  59. package/dist/chunks/{pty-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{pty-p37cw4rj.js → location-services-5yzzbxa7.js} +8 -8
  61. package/dist/chunks/{pty-669tq793.js → location-services-669tq793.js} +1 -1
  62. package/dist/chunks/{pty-qpr8cphr.js → location-services-68fytkrv.js} +29 -29
  63. package/dist/chunks/{pty-8jmaqybk.js → location-services-6bsje7ws.js} +2 -2
  64. package/dist/chunks/{pty-6h73sxmp.js → location-services-6h73sxmp.js} +1 -1
  65. package/dist/chunks/{pty-ttcg97r3.js → location-services-6hbnmab1.js} +3 -3
  66. package/dist/chunks/{pty-zt03gkt5.js → location-services-6kkxyhkv.js} +4 -4
  67. package/dist/chunks/{pty-6msgmcgs.js → location-services-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{pty-ts2x07a1.js → location-services-6rybd781.js} +1 -1
  69. package/dist/chunks/{pty-88zqydxa.js → location-services-6x40s7vz.js} +4 -4
  70. package/dist/chunks/{pty-2e6e6kva.js → location-services-70kjx1n8.js} +26 -26
  71. package/dist/chunks/location-services-74b8z681.js +26 -0
  72. package/dist/chunks/{pty-0pk2jhda.js → location-services-76v7th7s.js} +15 -15
  73. package/dist/chunks/{pty-md73wrxd.js → location-services-781n25pw.js} +11 -11
  74. package/dist/chunks/{pty-fab8hzt3.js → location-services-7ac170kv.js} +4 -4
  75. package/dist/chunks/{pty-xp45px1z.js → location-services-7b6g25ep.js} +6 -6
  76. package/dist/chunks/{pty-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{pty-jbjr1a4g.js → location-services-7w3s9kd0.js} +6 -6
  78. package/dist/chunks/{pty-apwz9w6v.js → location-services-7xspgfqj.js} +15 -15
  79. package/dist/chunks/{pty-2bx55675.js → location-services-82zyvcah.js} +9 -9
  80. package/dist/chunks/{pty-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{pty-ccxvsmm1.js → location-services-8ks451pa.js} +27 -27
  82. package/dist/chunks/{pty-rgy7ctyq.js → location-services-8y62cfgq.js} +6 -6
  83. package/dist/chunks/{pty-bzv935yq.js → location-services-a36t319h.js} +8 -8
  84. package/dist/chunks/{pty-xg627qy4.js → location-services-a4w185c3.js} +34 -34
  85. package/dist/chunks/{pty-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  86. package/dist/chunks/{pty-vyxkaerb.js → location-services-adt7kv3m.js} +1 -1
  87. package/dist/chunks/{pty-5dyx496h.js → location-services-aj9pnh4n.js} +11 -11
  88. package/dist/chunks/{pty-0czgmh5m.js → location-services-atqsbchn.js} +6 -6
  89. package/dist/chunks/{pty-tpz8kgav.js → location-services-atrbvfby.js} +10 -10
  90. package/dist/chunks/{pty-tf51b0d7.js → location-services-avjf5276.js} +14 -14
  91. package/dist/chunks/{pty-nzz37pb4.js → location-services-azqhcxjd.js} +5 -5
  92. package/dist/chunks/{pty-19vf66h0.js → location-services-b27vhd2z.js} +4 -4
  93. package/dist/chunks/{pty-4ph2weht.js → location-services-b2frq1xf.js} +7 -7
  94. package/dist/chunks/{pty-bfddptag.js → location-services-b3frasm9.js} +8 -8
  95. package/dist/chunks/{pty-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  96. package/dist/chunks/{pty-6jqjnndr.js → location-services-b9txhqnf.js} +24 -24
  97. package/dist/chunks/{pty-qsrmn293.js → location-services-bbpz3t8j.js} +7 -7
  98. package/dist/chunks/{pty-4xat34hg.js → location-services-bdqj2w6e.js} +19 -19
  99. package/dist/chunks/{pty-6bymh0k8.js → location-services-btnc3pk1.js} +23 -23
  100. package/dist/chunks/{pty-fgfv3zgn.js → location-services-bvf11d5q.js} +6 -6
  101. package/dist/chunks/{pty-m4gv7951.js → location-services-bvjrvzat.js} +15 -15
  102. package/dist/chunks/{pty-g7hs1n9w.js → location-services-bzq0czea.js} +23 -23
  103. package/dist/chunks/{pty-dwax96b2.js → location-services-c09q68jz.js} +2 -2
  104. package/dist/chunks/{pty-80nfq4qt.js → location-services-cdbhm1yn.js} +15 -15
  105. package/dist/chunks/{pty-jjhhf8t1.js → location-services-ct1qeewn.js} +84 -84
  106. package/dist/chunks/{pty-r2m716tb.js → location-services-cwa6csj7.js} +9 -9
  107. package/dist/chunks/{pty-1f50zkgk.js → location-services-d5mtgc27.js} +26 -26
  108. package/dist/chunks/{pty-8dacsgkb.js → location-services-deadhj81.js} +22 -22
  109. package/dist/chunks/{pty-ve4pfa0n.js → location-services-dfe8djrf.js} +4 -4
  110. package/dist/chunks/{pty-dj2t23y0.js → location-services-dj2t23y0.js} +2 -2
  111. package/dist/chunks/{pty-jjd03mtq.js → location-services-djrp4qhb.js} +13 -13
  112. package/dist/chunks/{pty-h55jx3fv.js → location-services-dkt3e60b.js} +4 -4
  113. package/dist/chunks/{pty-dpkg50ah.js → location-services-dpkg50ah.js} +1 -1
  114. package/dist/chunks/{pty-7yygdjqk.js → location-services-dt2x0zh0.js} +6 -6
  115. package/dist/chunks/{pty-g8v17drp.js → location-services-e1a1pwhq.js} +6 -6
  116. package/dist/chunks/{pty-e5nv3ght.js → location-services-e5nv3ght.js} +2 -2
  117. package/dist/chunks/{pty-9ej2vq3a.js → location-services-e9qsksz7.js} +43 -43
  118. package/dist/chunks/{pty-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  119. package/dist/chunks/{pty-yg8nzkpe.js → location-services-em227t39.js} +19 -19
  120. package/dist/chunks/{pty-reqevd7p.js → location-services-ep9bxrrg.js} +11 -11
  121. package/dist/chunks/{pty-zet8ehz1.js → location-services-escff1en.js} +25 -25
  122. package/dist/chunks/{pty-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  123. package/dist/chunks/{pty-9hm81gvk.js → location-services-evfh7863.js} +30 -30
  124. package/dist/chunks/{pty-4y17mfxp.js → location-services-ezrbh4zz.js} +16 -16
  125. package/dist/chunks/{pty-es9gr8ew.js → location-services-f068e6wh.js} +44 -44
  126. package/dist/chunks/{pty-vsp1fds9.js → location-services-f3ngv102.js} +21 -21
  127. package/dist/chunks/{pty-gvkqbys6.js → location-services-f4rta1r6.js} +5 -5
  128. package/dist/chunks/{pty-p796yvag.js → location-services-fbqqrxjq.js} +47 -47
  129. package/dist/chunks/{pty-47ms443m.js → location-services-fc1cjeqt.js} +7 -7
  130. package/dist/chunks/{pty-x0600czv.js → location-services-ff0svapt.js} +2 -2
  131. package/dist/chunks/{pty-3gm7q0qp.js → location-services-fqnmpcgq.js} +10 -10
  132. package/dist/chunks/{pty-yktp2w1r.js → location-services-fr6z3a7g.js} +15 -15
  133. package/dist/chunks/{pty-96apsh6e.js → location-services-fvsy7c6q.js} +8 -8
  134. package/dist/chunks/{pty-fxbjtjnd.js → location-services-fxbjtjnd.js} +1 -1
  135. package/dist/chunks/{pty-xbvm8yz7.js → location-services-g3kb93e8.js} +16 -16
  136. package/dist/chunks/{pty-bsd4kq7r.js → location-services-g6hxn58d.js} +31 -31
  137. package/dist/chunks/{pty-3fnq4smn.js → location-services-g8pq9weq.js} +24 -24
  138. package/dist/chunks/{pty-t1w33hkx.js → location-services-gc2d77n3.js} +20 -20
  139. package/dist/chunks/{pty-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{pty-b68c1mkf.js → location-services-gf19svat.js} +4 -4
  141. package/dist/chunks/{pty-96hebhth.js → location-services-gk2jh81v.js} +11 -11
  142. package/dist/chunks/{pty-gr74bzj8.js → location-services-gp57js1t.js} +155 -155
  143. package/dist/chunks/{pty-v8qx4mjf.js → location-services-gr09cxn6.js} +13 -13
  144. package/dist/chunks/{pty-gv6a8nnw.js → location-services-gv6a8nnw.js} +2 -2
  145. package/dist/chunks/{pty-zw77fwag.js → location-services-gwns8bgm.js} +33 -33
  146. package/dist/chunks/{pty-st6vffwr.js → location-services-gx0vxm5t.js} +28 -28
  147. package/dist/chunks/{pty-15q9afzf.js → location-services-gx3sq1pv.js} +24 -24
  148. package/dist/chunks/{pty-h03wrkyp.js → location-services-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{pty-xcz499sa.js → location-services-h0v62rke.js} +22 -22
  150. package/dist/chunks/{pty-1dtwba70.js → location-services-h3vnthrd.js} +10 -10
  151. package/dist/chunks/{pty-4dgbcxzg.js → location-services-h6r3nrb9.js} +4 -4
  152. package/dist/chunks/{pty-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{pty-y0mc46pw.js → location-services-hc9acsgr.js} +9 -9
  154. package/dist/chunks/{pty-gg1mvr65.js → location-services-hcp4grc4.js} +34 -34
  155. package/dist/chunks/{pty-hdnk95c8.js → location-services-hdnk95c8.js} +2 -2
  156. package/dist/chunks/{pty-b2yd8hps.js → location-services-hdvwcw0z.js} +64 -64
  157. package/dist/chunks/{pty-ztwfyng4.js → location-services-hg2ajb6b.js} +4 -4
  158. package/dist/chunks/{pty-swye7zsf.js → location-services-hjhsnn6c.js} +12 -12
  159. package/dist/chunks/{pty-8s1fj8xg.js → location-services-hpfvhvya.js} +8 -8
  160. package/dist/chunks/{pty-rph3zd4r.js → location-services-j15mfg1p.js} +5 -5
  161. package/dist/chunks/{pty-afs310a1.js → location-services-j4nftgh5.js} +8 -8
  162. package/dist/chunks/{pty-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  163. package/dist/chunks/{pty-y56erjdm.js → location-services-jcrjmqjq.js} +9 -9
  164. package/dist/chunks/{pty-5273xt8y.js → location-services-je647k4c.js} +12 -12
  165. package/dist/chunks/{pty-g01xz703.js → location-services-k5ynfrnd.js} +15 -15
  166. package/dist/chunks/{pty-fkjmw100.js → location-services-k9kj6xed.js} +2 -2
  167. package/dist/chunks/{pty-7j92jdde.js → location-services-keat3kjn.js} +4 -4
  168. package/dist/chunks/{pty-6c80fjdq.js → location-services-kgfzjyt4.js} +9 -9
  169. package/dist/chunks/{pty-mhaczvzm.js → location-services-kht76ygp.js} +5 -5
  170. package/dist/chunks/{pty-04bs6xrx.js → location-services-kktnm5cw.js} +9 -9
  171. package/dist/chunks/{pty-h6g5nf3k.js → location-services-kv9e5br2.js} +9 -9
  172. package/dist/chunks/{pty-6gdcyvbq.js → location-services-kz603ydr.js} +34 -34
  173. package/dist/chunks/{pty-m0jqrx5p.js → location-services-m0jqrx5p.js} +2 -2
  174. package/dist/chunks/{pty-1603qf85.js → location-services-m91gvp7t.js} +4 -4
  175. package/dist/chunks/{pty-ghp6atvr.js → location-services-m91p7e2t.js} +20 -20
  176. package/dist/chunks/{pty-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{pty-kzqcaydz.js → location-services-mcfrtzmy.js} +8 -8
  178. package/dist/chunks/{pty-hy8cpyhv.js → location-services-mfe713bv.js} +11 -11
  179. package/dist/chunks/{pty-tjyfaxz9.js → location-services-mp6drm3w.js} +3 -3
  180. package/dist/chunks/{pty-qt5k3wn1.js → location-services-mthvd3x6.js} +16 -16
  181. package/dist/chunks/{pty-745a2tvp.js → location-services-myjt55zq.js} +18 -18
  182. package/dist/chunks/{pty-z94pkk3z.js → location-services-n8bvb90d.js} +10 -10
  183. package/dist/chunks/{pty-zper1j5h.js → location-services-nb0n8t9k.js} +11 -11
  184. package/dist/chunks/{pty-j375qb82.js → location-services-ne66tkmq.js} +20 -20
  185. package/dist/chunks/{pty-r4c8zd7v.js → location-services-netmb1kz.js} +24 -24
  186. package/dist/chunks/{pty-sc8yhsfz.js → location-services-np7skr3v.js} +11 -11
  187. package/dist/chunks/{pty-np9zq865.js → location-services-nq7qqy46.js} +28 -22
  188. package/dist/chunks/{pty-b98gxjfa.js → location-services-nqh98rja.js} +24 -24
  189. package/dist/chunks/{pty-mhs55g1f.js → location-services-nqm4p04r.js} +29 -29
  190. package/dist/chunks/{pty-2zc1mzmv.js → location-services-nyfcz8dg.js} +3 -3
  191. package/dist/chunks/{pty-p49bz645.js → location-services-p3ayzxyn.js} +14 -14
  192. package/dist/chunks/{pty-f8p08egg.js → location-services-pa0gt5x9.js} +24 -24
  193. package/dist/chunks/{pty-vjmzn78y.js → location-services-pg1wgx4z.js} +6 -6
  194. package/dist/chunks/{pty-3vt2r2mp.js → location-services-ph4cn991.js} +13 -13
  195. package/dist/chunks/{pty-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  196. package/dist/chunks/{pty-pknna89w.js → location-services-pknna89w.js} +1 -1
  197. package/dist/chunks/location-services-q509s3k3.js +18 -0
  198. package/dist/chunks/location-services-qghmpbmc.js +247 -0
  199. package/dist/chunks/{pty-hnr5yq9h.js → location-services-qn4ba14w.js} +5 -5
  200. package/dist/chunks/{pty-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  201. package/dist/chunks/{pty-pnaxc6j9.js → location-services-qwjmgwmn.js} +8 -8
  202. package/dist/chunks/{pty-r9mregkx.js → location-services-r9mregkx.js} +2 -2
  203. package/dist/chunks/{pty-4nj4bn9q.js → location-services-r9w3djhf.js} +9 -9
  204. package/dist/chunks/{pty-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  205. package/dist/chunks/{pty-g1x4ag33.js → location-services-rf569v5d.js} +3 -3
  206. package/dist/chunks/{pty-nrk5vjbf.js → location-services-rmm45jmv.js} +5 -5
  207. package/dist/chunks/{pty-s3efxrkp.js → location-services-rnk60ejx.js} +10 -10
  208. package/dist/chunks/{pty-q3hf676f.js → location-services-rq2ev7pp.js} +33 -33
  209. package/dist/chunks/{pty-v9shy27a.js → location-services-rrmvx1xt.js} +15 -15
  210. package/dist/chunks/{pty-csf2jhsg.js → location-services-rsdf2nvv.js} +4 -4
  211. package/dist/chunks/{pty-9h7evhkc.js → location-services-rwejf1ab.js} +9 -9
  212. package/dist/chunks/{pty-qhbr658c.js → location-services-ryaverbc.js} +10 -10
  213. package/dist/chunks/{pty-cbtxs2t3.js → location-services-s2y6tv1r.js} +10 -10
  214. package/dist/chunks/{pty-5jymwptv.js → location-services-s4mk8tc4.js} +20 -20
  215. package/dist/chunks/{pty-2q9g3xfa.js → location-services-s5gt9c9b.js} +7 -7
  216. package/dist/chunks/{pty-n4vcx0q5.js → location-services-s5vpnh3h.js} +6 -6
  217. package/dist/chunks/{pty-d6493rm2.js → location-services-s6zy68bd.js} +1 -1
  218. package/dist/chunks/{pty-9yp60h8y.js → location-services-s7tseabv.js} +2 -2
  219. package/dist/chunks/{pty-rhjbct0v.js → location-services-s8d7rejh.js} +4 -4
  220. package/dist/chunks/{pty-z0yx8wna.js → location-services-sp39rzf0.js} +23 -23
  221. package/dist/chunks/{pty-vh4jega5.js → location-services-srt412n5.js} +4 -4
  222. package/dist/chunks/{pty-t918kx73.js → location-services-st5ykjtm.js} +11 -11
  223. package/dist/chunks/{pty-4t14qv7d.js → location-services-t408tbvg.js} +24 -24
  224. package/dist/chunks/{pty-ep44vwp9.js → location-services-t4x8ybjh.js} +1 -1
  225. package/dist/chunks/{pty-zcrspsvn.js → location-services-t7n9q6bq.js} +4 -4
  226. package/dist/chunks/{pty-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{pty-rb2n45pq.js → location-services-tbp620s5.js} +28 -28
  228. package/dist/chunks/{pty-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  229. package/dist/chunks/{pty-tdstcens.js → location-services-tdstcens.js} +1 -1
  230. package/dist/chunks/{pty-dhwr7h25.js → location-services-tm1heg02.js} +11 -11
  231. package/dist/chunks/{pty-tvtrv512.js → location-services-tvtrv512.js} +1 -1
  232. package/dist/chunks/{pty-560fm0yr.js → location-services-v3b6g8zk.js} +20 -20
  233. package/dist/chunks/{pty-6da1v5x0.js → location-services-v4nysbcg.js} +1 -1
  234. package/dist/chunks/{pty-byg1vfgh.js → location-services-v75vanfq.js} +84 -84
  235. package/dist/chunks/{pty-qe5ndvxn.js → location-services-v7yf89ty.js} +31 -31
  236. package/dist/chunks/{pty-q90tpkk7.js → location-services-v8r25ppc.js} +11 -11
  237. package/dist/chunks/{pty-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  238. package/dist/chunks/{pty-de14jcft.js → location-services-vhyp5dk4.js} +16 -16
  239. package/dist/chunks/{pty-v5m3chc5.js → location-services-vk829m9g.js} +17 -17
  240. package/dist/chunks/{pty-7xdz4a7r.js → location-services-vs7hrzt9.js} +9 -9
  241. package/dist/chunks/{pty-knyjwg4b.js → location-services-vy7zhves.js} +30 -30
  242. package/dist/chunks/{pty-vzcthcp8.js → location-services-vzcthcp8.js} +1 -1
  243. package/dist/chunks/{pty-p693jj1c.js → location-services-vzh6wn7r.js} +2 -2
  244. package/dist/chunks/{pty-ve6nm2s5.js → location-services-w21bzq9q.js} +6 -6
  245. package/dist/chunks/{pty-m3fvcdnn.js → location-services-w3krsc1n.js} +10 -10
  246. package/dist/chunks/{pty-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{pty-q7vngajz.js → location-services-w7e82c7b.js} +4 -4
  248. package/dist/chunks/{pty-wd87259q.js → location-services-wd87259q.js} +1 -1
  249. package/dist/chunks/{pty-7v7z07mj.js → location-services-wk8kxcxf.js} +20 -20
  250. package/dist/chunks/{pty-4c10g6d9.js → location-services-wsd1ss6t.js} +51 -51
  251. package/dist/chunks/{pty-x1ezjp6w.js → location-services-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{pty-0gdya7rn.js → location-services-xc3sk8sy.js} +32 -32
  253. package/dist/chunks/{pty-drwq78ky.js → location-services-xfkkasph.js} +4 -4
  254. package/dist/chunks/{pty-prxmybba.js → location-services-xgyv9tjv.js} +7 -7
  255. package/dist/chunks/{pty-1rmrbrg3.js → location-services-xpqk3eh0.js} +33 -33
  256. package/dist/chunks/{pty-vyq5g53q.js → location-services-xqfzcbkh.js} +8 -8
  257. package/dist/chunks/{pty-269wx4qw.js → location-services-xsn4scgh.js} +13 -13
  258. package/dist/chunks/{pty-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  259. package/dist/chunks/{pty-1t48jgda.js → location-services-y1xhwned.js} +18 -18
  260. package/dist/chunks/{pty-vsv8ttad.js → location-services-y25vqx85.js} +16 -16
  261. package/dist/chunks/{pty-cv016f9e.js → location-services-y66019s9.js} +14 -14
  262. package/dist/chunks/{pty-qvn71t82.js → location-services-y8saezta.js} +41 -41
  263. package/dist/chunks/{pty-3hvf1h1m.js → location-services-yaw0dvfn.js} +35 -35
  264. package/dist/chunks/{pty-zm0k5bkg.js → location-services-ybkzn9j1.js} +22 -22
  265. package/dist/chunks/{pty-9qvcdm02.js → location-services-ydtevv15.js} +27 -27
  266. package/dist/chunks/{pty-j3deyfsj.js → location-services-yebec9g6.js} +10 -10
  267. package/dist/chunks/{pty-zrqpdph7.js → location-services-yjt0sm5p.js} +51 -51
  268. package/dist/chunks/{pty-yrhqyw5v.js → location-services-yrhqyw5v.js} +1 -1
  269. package/dist/chunks/{pty-s4enseaf.js → location-services-yrznvahk.js} +2 -2
  270. package/dist/chunks/{pty-3ysc0688.js → location-services-yv65nh8h.js} +20 -20
  271. package/dist/chunks/{pty-rxth5jgn.js → location-services-yvnj23bv.js} +3 -3
  272. package/dist/chunks/{pty-wgpcemkv.js → location-services-ywfgr7ts.js} +14 -14
  273. package/dist/chunks/{pty-3sd4rb0z.js → location-services-yx32magx.js} +30 -30
  274. package/dist/chunks/{pty-wb1q4cb2.js → location-services-yz88ab0y.js} +9 -9
  275. package/dist/chunks/{pty-6p272qmj.js → location-services-yzvbtrh0.js} +20 -20
  276. package/dist/chunks/{pty-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{pty-af9twatk.js → location-services-z59fwxgv.js} +3 -3
  278. package/dist/chunks/{pty-29x78va6.js → location-services-z63w68vq.js} +6 -6
  279. package/dist/chunks/{pty-7k4h75n7.js → location-services-z7wrdhz3.js} +3 -3
  280. package/dist/chunks/{pty-zeh9ct20.js → location-services-zeh9ct20.js} +2 -2
  281. package/dist/chunks/{pty-2jtkxc1j.js → location-services-zgxes4ak.js} +2 -2
  282. package/dist/chunks/{pty-dxcwrgb8.js → location-services-zmw5anwf.js} +11 -11
  283. package/dist/chunks/{pty-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{pty-b7a7q96r.js → location-services-zszn2v6m.js} +36 -36
  285. package/dist/chunks/{pty-hx0tmcbf.js → location-services-zv3d04tz.js} +27 -27
  286. package/dist/chunks/{pty-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +80 -80
  291. package/dist/config/discovery.js +81 -81
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +105 -105
  294. package/dist/config/plugin/agent.js +124 -124
  295. package/dist/config/plugin/command.js +212 -212
  296. package/dist/config/plugin/compaction.js +158 -158
  297. package/dist/config/plugin/compatibility.js +140 -140
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +123 -123
  300. package/dist/config/plugin/image.js +122 -122
  301. package/dist/config/plugin/instruction.js +89 -89
  302. package/dist/config/plugin/location-watcher.js +124 -124
  303. package/dist/config/plugin/mcp.js +131 -131
  304. package/dist/config/plugin/policy.js +122 -122
  305. package/dist/config/plugin/provider.js +122 -122
  306. package/dist/config/plugin/reference.js +124 -124
  307. package/dist/config/plugin/shell.js +124 -124
  308. package/dist/config/plugin/skill-file.js +101 -101
  309. package/dist/config/plugin/skill.js +143 -143
  310. package/dist/config/plugin/snapshot.js +122 -122
  311. package/dist/config/plugin/source.js +125 -125
  312. package/dist/config/plugin/tool-output.js +124 -124
  313. package/dist/config/plugin/websearch.js +123 -123
  314. package/dist/config/plugin/worktree.js +124 -124
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +127 -127
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +78 -78
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +103 -103
  410. package/dist/file-mutation.js +93 -93
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +225 -225
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +102 -102
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +101 -101
  425. package/dist/form.js +79 -79
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +86 -86
  428. package/dist/generate.js +102 -102
  429. package/dist/git.js +6 -6
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +90 -90
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +355 -355
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +86 -86
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +3 -3
  458. package/dist/integration.js +83 -83
  459. package/dist/job.js +76 -76
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +103 -103
  464. package/dist/location-service-map.js +85 -85
  465. package/dist/location-services.js +352 -352
  466. package/dist/location.js +86 -86
  467. package/dist/mcp/client.js +90 -90
  468. package/dist/mcp/index.js +101 -101
  469. package/dist/mcp/instructions.js +124 -124
  470. package/dist/mcp/oauth.js +77 -77
  471. package/dist/mcp/stdio.js +89 -89
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +90 -90
  474. package/dist/model-resolver.js +95 -95
  475. package/dist/model.js +99 -99
  476. package/dist/models-dev.js +106 -106
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +79 -79
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +112 -112
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +103 -103
  487. package/dist/plugin/command.js +100 -100
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +216 -216
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +327 -327
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +95 -95
  495. package/dist/plugin/module.js +5 -5
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +101 -101
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  500. package/dist/plugin/provider/azure.js +121 -121
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +118 -118
  506. package/dist/plugin/provider/digitalocean.js +92 -92
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +92 -92
  511. package/dist/plugin/provider/gitlab.js +90 -90
  512. package/dist/plugin/provider/google-vertex.js +89 -89
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +121 -121
  516. package/dist/plugin/provider/modal.js +91 -91
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +121 -121
  519. package/dist/plugin/provider/openai.js +91 -91
  520. package/dist/plugin/provider/opencode.js +92 -92
  521. package/dist/plugin/provider/openrouter.js +90 -90
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  525. package/dist/plugin/provider/sap-ai-core.js +90 -90
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +89 -89
  530. package/dist/plugin/provider/vllm.js +121 -121
  531. package/dist/plugin/provider/xai.js +90 -90
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +158 -158
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +138 -138
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +344 -344
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +85 -85
  541. package/dist/plugin/vcs/hg.js +85 -85
  542. package/dist/plugin/warming.js +120 -120
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +227 -227
  551. package/dist/project/schema.js +6 -6
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +85 -85
  554. package/dist/provider.js +96 -96
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +97 -97
  559. package/dist/reference/instructions.js +88 -88
  560. package/dist/reference.js +90 -90
  561. package/dist/repository-cache.js +80 -80
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +96 -96
  565. package/dist/rpc.js +85 -85
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +130 -130
  569. package/dist/session/context.js +150 -150
  570. package/dist/session/diff.js +87 -87
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +149 -149
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +85 -85
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +78 -78
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +96 -96
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +115 -115
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +104 -104
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +89 -89
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +228 -228
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +97 -97
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +113 -113
  599. package/dist/session/runner/step.js +124 -124
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +3 -3
  602. package/dist/session/session.js +171 -171
  603. package/dist/session/shell.js +137 -137
  604. package/dist/session/skill.js +102 -102
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +84 -84
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +208 -208
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +152 -152
  612. package/dist/session/to-session-error.js +110 -110
  613. package/dist/session/transfer.js +213 -213
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +210 -210
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +139 -139
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +106 -106
  623. package/dist/skill.js +111 -111
  624. package/dist/snapshot.js +90 -90
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +121 -121
  629. package/dist/tool/plugin/edit.js +119 -119
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +123 -123
  632. package/dist/tool/plugin/grep.js +123 -123
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +121 -121
  635. package/dist/tool/plugin/question.js +100 -100
  636. package/dist/tool/plugin/read.js +124 -124
  637. package/dist/tool/plugin/shell.js +215 -215
  638. package/dist/tool/plugin/skill.js +110 -110
  639. package/dist/tool/plugin/subagent.js +211 -211
  640. package/dist/tool/plugin/webfetch.js +111 -111
  641. package/dist/tool/plugin/websearch.js +113 -113
  642. package/dist/tool/plugin/write.js +121 -121
  643. package/dist/tool/read-filesystem.js +99 -99
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/types/integration.d.ts +1 -0
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/git-executable.js +2 -2
  651. package/dist/util/iife.js +1 -1
  652. package/dist/util/lazy.js +1 -1
  653. package/dist/util/slug.js +1 -1
  654. package/dist/util/token.js +1 -1
  655. package/dist/util/which.js +1 -1
  656. package/dist/util/wildcard.js +1 -1
  657. package/dist/v1/config/agent.js +7 -7
  658. package/dist/v1/config/attachment.js +4 -4
  659. package/dist/v1/config/command.js +3 -3
  660. package/dist/v1/config/config.js +16 -16
  661. package/dist/v1/config/error.js +4 -4
  662. package/dist/v1/config/formatter.js +5 -5
  663. package/dist/v1/config/layout.js +1 -1
  664. package/dist/v1/config/lsp.js +3 -3
  665. package/dist/v1/config/mcp.js +4 -4
  666. package/dist/v1/config/migrate.js +91 -91
  667. package/dist/v1/config/permission.js +7 -7
  668. package/dist/v1/config/plugin.js +3 -3
  669. package/dist/v1/config/provider-options.js +1 -1
  670. package/dist/v1/config/provider.js +4 -4
  671. package/dist/v1/config/server.js +2 -2
  672. package/dist/v1/config/skills.js +3 -3
  673. package/dist/v1/permission.js +1 -1
  674. package/dist/variant.js +90 -90
  675. package/dist/vcs/patch.js +1 -1
  676. package/dist/vcs.js +88 -88
  677. package/dist/websearch.js +81 -81
  678. package/dist/wellknown/plugin.js +73 -73
  679. package/dist/wellknown.js +80 -80
  680. package/dist/workspace/driver.js +3 -3
  681. package/dist/workspace/sql.js +1 -1
  682. package/dist/workspace.js +73 -73
  683. package/dist/worktree/directory.js +2 -2
  684. package/dist/worktree/git.js +10 -10
  685. package/dist/worktree/sql.js +5 -5
  686. package/dist/worktree/strategies.js +88 -88
  687. package/dist/worktree.js +95 -95
  688. package/package.json +8 -8
  689. package/dist/chunks/pty-45th5jwr.js +0 -18
  690. package/dist/chunks/pty-avkswajw.js +0 -247
  691. package/dist/chunks/pty-e6j17fg9.js +0 -26
  692. package/dist/chunks/pty-gbadjzag.js +0 -4
  693. package/dist/chunks/pty-y9pa59c6.js +0 -478
  694. /package/dist/chunks/{pty-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{pty-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{pty-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{pty-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{pty-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{pty-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{pty-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{pty-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{pty-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{pty-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{pty-3asan66x.js → location-services-3asan66x.js} +0 -0
  705. /package/dist/chunks/{pty-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{pty-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{pty-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{pty-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{pty-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{pty-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{pty-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{pty-53557ph1.js → location-services-53557ph1.js} +0 -0
  713. /package/dist/chunks/{pty-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{pty-6prwharc.js → location-services-6prwharc.js} +0 -0
  715. /package/dist/chunks/{pty-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{pty-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{pty-822emrt2.js → location-services-822emrt2.js} +0 -0
  718. /package/dist/chunks/{pty-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{pty-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{pty-922hggd3.js → location-services-922hggd3.js} +0 -0
  721. /package/dist/chunks/{pty-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{pty-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{pty-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{pty-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{pty-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{pty-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{pty-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{pty-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{pty-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{pty-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{pty-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{pty-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{pty-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{pty-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{pty-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{pty-df08tz66.js → location-services-df08tz66.js} +0 -0
  737. /package/dist/chunks/{pty-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{pty-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{pty-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{pty-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{pty-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{pty-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{pty-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{pty-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{pty-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{pty-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{pty-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{pty-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{pty-g86h250q.js → location-services-g86h250q.js} +0 -0
  750. /package/dist/chunks/{pty-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{pty-gftt206x.js → location-services-gftt206x.js} +0 -0
  752. /package/dist/chunks/{pty-hjbc5kem.js → location-services-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{pty-hk9envan.js → location-services-hk9envan.js} +0 -0
  754. /package/dist/chunks/{pty-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{pty-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{pty-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{pty-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{pty-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{pty-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{pty-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{pty-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{pty-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{pty-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{pty-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{pty-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{pty-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{pty-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{pty-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{pty-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{pty-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{pty-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{pty-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{pty-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{pty-sk3qaz4a.js → location-services-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{pty-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{pty-twg0f83k.js → location-services-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{pty-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{pty-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{pty-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{pty-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{pty-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{pty-x61499pn.js → location-services-x61499pn.js} +0 -0
  783. /package/dist/chunks/{pty-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{pty-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{pty-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{pty-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{pty-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{pty-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,40 +1,40 @@
1
1
  import {
2
- ID9,
3
- Service59
4
- } from "./pty-15q9afzf.js";
2
+ ID11,
3
+ Service70
4
+ } from "./location-services-gx3sq1pv.js";
5
5
  import {
6
6
  latest2,
7
- Service66
8
- } from "./pty-2qk91kwd.js";
7
+ Service55
8
+ } from "./location-services-39rqm1tv.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./pty-8jmaqybk.js";
11
+ } from "./location-services-6bsje7ws.js";
12
12
  import {
13
- Service46
14
- } from "./pty-ym31zdqs.js";
13
+ Service50
14
+ } from "./location-services-2q8hmj7g.js";
15
15
  import {
16
16
  evaluate2,
17
- Service56
18
- } from "./pty-4c10g6d9.js";
17
+ Service67
18
+ } from "./location-services-wsd1ss6t.js";
19
19
  import {
20
- Service18
21
- } from "./pty-byg1vfgh.js";
20
+ Service24
21
+ } from "./location-services-v75vanfq.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./pty-x1ezjp6w.js";
24
+ } from "./location-services-x1ezjp6w.js";
25
25
  import {
26
- make10
27
- } from "./pty-5dyx496h.js";
26
+ make8
27
+ } from "./location-services-aj9pnh4n.js";
28
28
  import {
29
29
  __export
30
- } from "./pty-9rqn6x4v.js";
30
+ } from "./location-services-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
35
  Input: () => Input6,
36
- Output: () => Output3,
37
- Plugin: () => Plugin38,
36
+ Output: () => Output4,
37
+ Plugin: () => Plugin6,
38
38
  SubagentTool: () => exports_subagent,
39
39
  description: () => description4,
40
40
  name: () => name6
@@ -63,7 +63,7 @@ var Input6 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output3 = Schema.Struct({
66
+ var Output4 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
@@ -77,21 +77,21 @@ var description4 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin38 = {
80
+ var Plugin6 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service18;
84
- const jobs = yield* Service46;
85
- const agents = yield* Service59;
86
- const config = yield* Service66;
87
- const permission = yield* Service56;
88
- const subagents = yield* make10;
83
+ const sessions = yield* Service24;
84
+ const jobs = yield* Service50;
85
+ const agents = yield* Service70;
86
+ const config = yield* Service55;
87
+ const permission = yield* Service67;
88
+ const subagents = yield* make8;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
90
  name: name6,
91
91
  options: { codemode: false },
92
92
  description: description4,
93
93
  input: Input6,
94
- output: Output3,
94
+ output: Output4,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -134,7 +134,7 @@ var Plugin38 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID9.make(input.agent),
137
+ agent: ID11.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -207,4 +207,4 @@ ${output.output}
207
207
  })
208
208
  };
209
209
 
210
- export { name6, Input6, Output3, description4, Plugin38, exports_subagent };
210
+ export { name6, Input6, Output4, description4, Plugin6, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID11
3
- } from "./pty-st6vffwr.js";
2
+ ID5
3
+ } from "./location-services-gx0vxm5t.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID11.make("gpt-5-chat-latest"), ID11.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID5.make("gpt-5-chat-latest"), ID5.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./pty-rxth5jgn.js";
4
+ } from "./location-services-yvnj23bv.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./pty-5c4hm403.js";
8
+ } from "./location-services-5c4hm403.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load4
12
- } from "./pty-hy8cpyhv.js";
11
+ load5
12
+ } from "./location-services-mfe713bv.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./pty-x0600czv.js";
15
+ } from "./location-services-ff0svapt.js";
16
16
  import {
17
17
  __export
18
- } from "./pty-9rqn6x4v.js";
18
+ } from "./location-services-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
23
  ListInput: () => ListInput5,
24
- Service: () => Service58,
24
+ Service: () => Service69,
25
25
  SessionStore: () => exports_store,
26
- node: () => node61
26
+ node: () => node73
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
53
  var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service58 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service69 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service58, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
58
58
  const { db } = yield* Service82;
59
- return Service58.of({
59
+ return Service69.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node61 = makeGlobalNode({ service: Service58, layer, deps: [node86] });
128
+ var node73 = makeGlobalNode({ service: Service69, layer, deps: [node86] });
129
129
 
130
- export { ListInput5, Service58, node61, exports_store };
130
+ export { ListInput5, Service69, node73, exports_store };
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./pty-rxth5jgn.js";
4
+ } from "./location-services-yvnj23bv.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./pty-h55jx3fv.js";
8
+ } from "./location-services-dkt3e60b.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./pty-5t3nmthw.js";
11
+ } from "./location-services-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./pty-ec1grn59.js";
14
+ } from "./location-services-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./pty-csf2jhsg.js";
20
+ } from "./location-services-rsdf2nvv.js";
21
21
  import {
22
- load4
23
- } from "./pty-hy8cpyhv.js";
22
+ load5
23
+ } from "./location-services-mfe713bv.js";
24
24
  import {
25
25
  create3
26
- } from "./pty-rdw6cm16.js";
26
+ } from "./location-services-rdw6cm16.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./pty-ts2x07a1.js";
29
+ } from "./location-services-6rybd781.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./pty-pmtnxrty.js";
34
+ } from "./location-services-1p39h8sh.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./pty-88zqydxa.js";
37
+ } from "./location-services-6x40s7vz.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./pty-fgfv3zgn.js";
41
+ } from "./location-services-bvf11d5q.js";
42
42
  import {
43
43
  estimate2
44
- } from "./pty-h6vf3j39.js";
44
+ } from "./location-services-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./pty-tdstcens.js";
49
+ } from "./location-services-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./pty-9rqn6x4v.js";
52
+ } from "./location-services-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction2 = {};
56
56
  __export(exports_compaction2, {
57
- Service: () => Service10,
57
+ Service: () => Service8,
58
58
  SessionCompaction: () => exports_compaction2,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
61
  layer: () => layer6,
62
- node: () => node12,
62
+ node: () => node10,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service10 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service8 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
298
298
  };
299
299
  var hasSummarySection = (summary) => summary.split(`
300
300
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
301
- var layer6 = Layer.effect(Service10, Effect.gen(function* () {
301
+ var layer6 = Layer.effect(Service8, Effect.gen(function* () {
302
302
  const bus = yield* Service81;
303
303
  const llm = yield* LLMClient.Service;
304
304
  const db = (yield* Service82).db;
@@ -374,7 +374,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
374
374
  webSocket
375
375
  });
376
376
  };
377
- const original = (sessionID) => load4(db, sessionID, "local").pipe(Effect.orDie);
377
+ const original = (sessionID) => load5(db, sessionID, "local").pipe(Effect.orDie);
378
378
  const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
379
379
  const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
380
380
  const context = input.context;
@@ -607,7 +607,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
607
607
  }
608
608
  }));
609
609
  });
610
- return Service10.of({
610
+ return Service8.of({
611
611
  transform: state.transform,
612
612
  reload: state.reload,
613
613
  enabled: () => state.get().auto,
@@ -616,10 +616,10 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
616
616
  compactManual
617
617
  });
618
618
  }));
619
- var node12 = makeLocationNode({
620
- service: Service10,
619
+ var node10 = makeLocationNode({
620
+ service: Service8,
621
621
  layer: layer6,
622
622
  deps: [node85, node86, llmClient2]
623
623
  });
624
624
 
625
- export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
625
+ export { Service8, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node10, exports_compaction2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service71
4
- } from "./pty-1f50zkgk.js";
3
+ Service74
4
+ } from "./location-services-d5mtgc27.js";
5
5
  import {
6
- Service66
7
- } from "./pty-2qk91kwd.js";
6
+ Service55
7
+ } from "./location-services-39rqm1tv.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service71;
12
+ const providers = yield* Service74;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service66);
14
+ const service = yield* Effect.serviceOption(Service55);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service45,
3
- node48,
2
+ Service49,
3
+ node52,
4
4
  canonical3
5
- } from "./pty-afs310a1.js";
5
+ } from "./location-services-j4nftgh5.js";
6
6
  import {
7
- Service43,
8
- node46
9
- } from "./pty-ve6nm2s5.js";
7
+ Service46,
8
+ node49
9
+ } from "./location-services-w21bzq9q.js";
10
10
  import {
11
- Service38
12
- } from "./pty-rec5x2c9.js";
11
+ Service42
12
+ } from "./location-services-4cb531x0.js";
13
13
  import {
14
14
  layer2
15
- } from "./pty-avkswajw.js";
15
+ } from "./location-services-qghmpbmc.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service45, Effect.gen(function* () {
20
+ return Layer.effect(Service49, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
28
28
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
29
29
  return Effect.void;
30
30
  if (Exit.isSuccess(exit)) {
31
- build.close = Context.get(exit.value, Service38).close;
31
+ build.close = Context.get(exit.value, Service42).close;
32
32
  return Effect.void;
33
33
  }
34
34
  MutableHashMap.remove(builds, ref);
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
50
50
  })
51
51
  };
52
52
  const bindings = [
53
- node46.replace(Layer.succeed(Service43, {
53
+ node49.replace(Layer.succeed(Service46, {
54
54
  provide: (session) => Effect.provide(map.get(session.location))
55
55
  })),
56
56
  ...replacements,
57
- node48.replace(Layer.succeed(Service45, map))
57
+ node52.replace(Layer.succeed(Service49, map))
58
58
  ];
59
59
  return map;
60
60
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./pty-qfa1cgps.js";
3
+ } from "./location-services-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./location-services-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service25,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service25 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service25.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service25, awaitActivation2, exports_service };