@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,27 +1,27 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./pty-h55jx3fv.js";
4
+ } from "./location-services-dkt3e60b.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./pty-rdw6cm16.js";
8
+ } from "./location-services-rdw6cm16.js";
9
9
  import {
10
- Service75,
11
- node79
12
- } from "./pty-de14jcft.js";
10
+ Service78,
11
+ node82
12
+ } from "./location-services-vhyp5dk4.js";
13
13
  import {
14
14
  rewrite2,
15
15
  ID13,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service71,
19
- node75,
20
- Event16
21
- } from "./pty-1f50zkgk.js";
18
+ Service74,
19
+ node78,
20
+ Event17
21
+ } from "./location-services-d5mtgc27.js";
22
22
  import {
23
23
  __export
24
- } from "./pty-9rqn6x4v.js";
24
+ } from "./location-services-9rqn6x4v.js";
25
25
 
26
26
  // src/model.ts
27
27
  var exports_model2 = {};
@@ -29,25 +29,25 @@ __export(exports_model2, {
29
29
  Capabilities: () => Capabilities2,
30
30
  Compatibility: () => Compatibility2,
31
31
  Cost: () => Cost2,
32
- Event: () => Event14,
32
+ Event: () => Event11,
33
33
  Family: () => Family2,
34
- ID: () => ID11,
35
- Info: () => Info24,
34
+ ID: () => ID5,
35
+ Info: () => Info20,
36
36
  Model: () => exports_model2,
37
37
  ReasoningField: () => ReasoningField2,
38
38
  Ref: () => Ref2,
39
- Service: () => Service68,
39
+ Service: () => Service59,
40
40
  VariantID: () => VariantID2,
41
41
  compatibility: () => compatibility2,
42
- node: () => node72,
42
+ node: () => node62,
43
43
  parse: () => parse4
44
44
  });
45
45
  import { Model } from "@opencode/schema/model";
46
46
  import { Context, Effect, Layer, Stream } from "effect";
47
47
  import { makeLocationNode } from "@opencode/util/effect/app-node";
48
48
  import { freeze } from "immer";
49
- import { Event as Event14 } from "@opencode/schema/model";
50
- var ID11 = Model.ID;
49
+ import { Event as Event11 } from "@opencode/schema/model";
50
+ var ID5 = Model.ID;
51
51
  var VariantID2 = Model.VariantID;
52
52
  var Family2 = Model.Family;
53
53
  var ReasoningField2 = Model.ReasoningField;
@@ -55,14 +55,14 @@ var Compatibility2 = Model.Compatibility;
55
55
  var Capabilities2 = Model.Capabilities;
56
56
  var Cost2 = Model.Cost;
57
57
  var Ref2 = Model.Ref;
58
- var Info24 = Model.Info;
58
+ var Info20 = Model.Info;
59
59
 
60
- class Service68 extends Context.Service()("@opencode/Model") {
60
+ class Service59 extends Context.Service()("@opencode/Model") {
61
61
  }
62
- var layer = Layer.effect(Service68, Effect.gen(function* () {
63
- const providers = yield* Service71;
62
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
63
+ const providers = yield* Service74;
64
64
  const bus = yield* Service81;
65
- const location = yield* Service75;
65
+ const location = yield* Service78;
66
66
  let input;
67
67
  const state = create3({
68
68
  name: "model",
@@ -86,7 +86,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
86
86
  const models = data.models.get(providerID);
87
87
  if (!models)
88
88
  return;
89
- const model = models.get(modelID) ?? Info24.default(providerID, modelID);
89
+ const model = models.get(modelID) ?? Info20.default(providerID, modelID);
90
90
  update(model);
91
91
  model.id = modelID;
92
92
  model.providerID = providerID;
@@ -170,8 +170,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
170
170
  location: { directory: location.directory, workspaceID: location.workspaceID }
171
171
  });
172
172
  });
173
- yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
174
- return Service68.of({
173
+ yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
174
+ return Service59.of({
175
175
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
176
176
  reload,
177
177
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -190,7 +190,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
190
190
  })
191
191
  });
192
192
  }));
193
- var node72 = makeLocationNode({ service: Service68, layer, deps: [node75, node85, node79] });
193
+ var node62 = makeLocationNode({ service: Service59, layer, deps: [node78, node85, node82] });
194
194
  function compatibility2(input) {
195
195
  if (typeof input === "string")
196
196
  return { reasoningField: input };
@@ -202,8 +202,8 @@ function parse4(input) {
202
202
  const index = input.indexOf("/");
203
203
  return {
204
204
  providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
205
- modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
205
+ modelID: ID5.make(index === -1 ? "" : input.slice(index + 1))
206
206
  };
207
207
  }
208
208
 
209
- export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info24, Service68, node72, compatibility2, parse4, exports_model2, Event14 };
209
+ export { ID5, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, Service59, node62, compatibility2, parse4, exports_model2, Event11 };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./pty-h55jx3fv.js";
4
+ } from "./location-services-dkt3e60b.js";
5
5
  import {
6
6
  create3
7
- } from "./pty-rdw6cm16.js";
7
+ } from "./location-services-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./location-services-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- Agent: () => exports_agent3,
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event12,
18
- ID: () => ID9,
19
- Info: () => Info12,
17
+ Event: () => Event16,
18
+ ID: () => ID11,
19
+ Info: () => Info25,
20
20
  Name: () => Name3,
21
- Service: () => Service59,
21
+ Service: () => Service70,
22
22
  defaultID: () => defaultID2,
23
- node: () => node62
23
+ node: () => node74
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event12 } from "@opencode/schema/agent";
30
+ import { Event as Event16 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID9 = Agent.ID;
33
+ var ID11 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID9.make("build");
35
+ var defaultID2 = ID11.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info12 = Agent.Info;
37
+ var Info25 = Agent.Info;
38
38
 
39
- class Service59 extends Context.Service()("@opencode/Agent") {
39
+ class Service70 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service59, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
42
42
  const bus = yield* Service81;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info12.default(id);
60
+ const defaults = Info25.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID9.make("build")));
82
+ const build = selectable(data.agents.get(ID11.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service59.of({
91
+ return Service70.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID9.make(id));
99
+ return state.get().agents.get(ID11.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID9.make(id);
104
+ const selected = ID11.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node62 = makeLocationNode({ service: Service59, layer, deps: [node85, Global.node] });
119
+ var node74 = makeLocationNode({ service: Service70, layer, deps: [node85, Global.node] });
120
120
 
121
- export { ID9, Name3, defaultID2, Color2, Info12, Service59, node62, exports_agent3, Event12 };
121
+ export { ID11, Name3, defaultID2, Color2, Info25, Service70, node74, exports_agent4, Event16 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./pty-ec1grn59.js";
3
+ } from "./location-services-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./pty-tdstcens.js";
6
+ } from "./location-services-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./location-services-922hggd3.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./pty-rxth5jgn.js";
7
+ } from "./location-services-yvnj23bv.js";
8
8
  import {
9
9
  Service81,
10
10
  node85
11
- } from "./pty-h55jx3fv.js";
11
+ } from "./location-services-dkt3e60b.js";
12
12
  import {
13
13
  Service80,
14
14
  node84
15
- } from "./pty-db54agdm.js";
15
+ } from "./location-services-1v6wmkfd.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
19
- Info33,
19
+ Info34,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event21,
22
22
  Vcs3
23
- } from "./pty-81swgkk7.js";
23
+ } from "./location-services-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./pty-dj2t23y0.js";
27
+ } from "./location-services-dj2t23y0.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./pty-m0jqrx5p.js";
30
+ } from "./location-services-m0jqrx5p.js";
31
31
  import {
32
32
  __export
33
- } from "./pty-9rqn6x4v.js";
33
+ } from "./location-services-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
39
  ID: () => ID17,
40
- Info: () => Info32,
40
+ Info: () => Info33,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service76,
43
+ Service: () => Service79,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node80,
46
+ node: () => node83,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -58,7 +58,7 @@ import { Hash } from "@opencode/util/hash";
58
58
  var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info32 = Info33;
61
+ var Info33 = Info34;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service76 extends Context.Service()("@opencode/Project") {
74
+ class Service79 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,7 +93,7 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service76, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
98
  const git = yield* Service80;
99
99
  const proc = yield* AppProcess.Service;
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
106
106
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
107
107
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
108
108
  if (row)
109
- yield* bus.publish(Event20.Updated, fromRow(row));
109
+ yield* bus.publish(Event21.Updated, fromRow(row));
110
110
  }
111
111
  if (!project.vcs)
112
112
  return project;
@@ -168,7 +168,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
168
168
  if (!row)
169
169
  return yield* new NotFoundError11({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event20.Updated, project);
171
+ yield* bus.publish(Event21.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
@@ -270,12 +270,12 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service76.of({ list, update, resolve });
273
+ return Service79.of({ list, update, resolve });
274
274
  }));
275
- var node80 = makeGlobalNode({
276
- service: Service76,
275
+ var node83 = makeGlobalNode({
276
+ service: Service79,
277
277
  layer,
278
278
  deps: [node85, node86, FSUtil.node, node84, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service76, node80, exports_project };
281
+ export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service81,
4
4
  node85
5
- } from "./pty-h55jx3fv.js";
5
+ } from "./location-services-dkt3e60b.js";
6
6
  import {
7
7
  __export
8
- } from "./pty-9rqn6x4v.js";
8
+ } from "./location-services-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service6,
14
+ Service: () => Service3,
15
15
  Updated: () => Updated2,
16
- layer: () => layer5,
17
- node: () => node7
16
+ layer: () => layer4,
17
+ node: () => node4
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service6 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service3 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service6, Effect.gen(function* () {
25
+ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
26
26
  const bus = yield* Service81;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service6.of({
29
+ return Service3.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node7 = makeGlobalNode({ service: Service6, layer: layer5, deps: [node85] });
36
+ var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node85] });
37
37
 
38
- export { Updated2, Service6, layer5, node7, exports_sdk };
38
+ export { Updated2, Service3, layer4, node4, exports_sdk };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info27,
10
+ Info: () => Info28,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  key: () => key2
13
13
  });
14
14
  import { Connection } from "@opencode/schema/connection";
15
15
  var CredentialInfo2 = Connection.CredentialInfo;
16
16
  var EnvInfo2 = Connection.EnvInfo;
17
- var Info27 = Connection.Info;
17
+ var Info28 = Connection.Info;
18
18
  function key2(connection) {
19
19
  if (!connection)
20
20
  return;
21
21
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
22
22
  }
23
23
 
24
- export { CredentialInfo2, EnvInfo2, Info27, key2, exports_connection };
24
+ export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
@@ -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/util/token.ts
6
6
  var exports_token = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./pty-rdw6cm16.js";
3
+ } from "./location-services-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./pty-9rqn6x4v.js";
6
+ } from "./location-services-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service39,
14
+ Service: () => Service41,
15
15
  SizeError: () => SizeError2,
16
- node: () => node42
16
+ node: () => node45
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service39 extends Context.Service()("@opencode/Image") {
45
+ class Service41 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service39, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service39.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service41.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node42 = makeLocationNode({ service: Service39, layer, deps: [] });
79
+ var node45 = makeLocationNode({ service: Service41, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service39, node42, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service41, node45, exports_image2 };
@@ -2,45 +2,45 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./pty-2a5m3afh.js";
5
+ } from "./location-services-2a5m3afh.js";
6
6
  import {
7
- Service75
8
- } from "./pty-de14jcft.js";
7
+ Service78
8
+ } from "./location-services-vhyp5dk4.js";
9
9
  import {
10
10
  Service64
11
- } from "./pty-2tstmrdm.js";
11
+ } from "./location-services-5gg6f7ne.js";
12
12
  import {
13
- Service17
14
- } from "./pty-0pk2jhda.js";
13
+ Service13
14
+ } from "./location-services-76v7th7s.js";
15
15
  import {
16
- Service16,
16
+ Service20,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./pty-tpz8kgav.js";
19
+ } from "./location-services-atrbvfby.js";
20
20
  import {
21
- Service56
22
- } from "./pty-4c10g6d9.js";
21
+ Service67
22
+ } from "./location-services-wsd1ss6t.js";
23
23
  import {
24
- Service55,
24
+ Service16,
25
25
  resolvePath2
26
- } from "./pty-745a2tvp.js";
26
+ } from "./location-services-myjt55zq.js";
27
27
  import {
28
28
  fileDiff2
29
- } from "./pty-6prwharc.js";
29
+ } from "./location-services-6prwharc.js";
30
30
  import {
31
31
  __export
32
- } from "./pty-9rqn6x4v.js";
32
+ } from "./location-services-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/patch.ts
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input12,
39
- Output: () => Output8,
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin45,
42
- name: () => name12,
43
- toModelContent: () => toModelContent6
41
+ Plugin: () => Plugin2,
42
+ name: () => name2,
43
+ toModelContent: () => toModelContent2
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name12 = "patch";
89
- var Input12 = Schema.Struct({
88
+ var name2 = "patch";
89
+ var Input2 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output8 = Schema.Struct({
99
+ var Output2 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent6 = (output) => [
103
+ var toModelContent2 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin45 = {
108
+ var Plugin2 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
111
  const environment = yield* Service64;
112
- const access = yield* Service55;
113
- const fileMutation = yield* Service16;
114
- const formatter = yield* Service17;
115
- const location = yield* Service75;
116
- const permission = yield* Service56;
112
+ const access = yield* Service16;
113
+ const fileMutation = yield* Service20;
114
+ const formatter = yield* Service13;
115
+ const location = yield* Service78;
116
+ const permission = yield* Service67;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name12,
118
+ name: name2,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input12,
122
- output: Output8,
121
+ input: Input2,
122
+ output: Output2,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin45 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent6(output),
269
+ content: toModelContent2(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name12, Input12, Applied2, Output8, toModelContent6, Plugin45, exports_patch };
329
+ export { name2, Input2, Applied2, Output2, toModelContent2, Plugin2, exports_patch };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./pty-qfa1cgps.js";
3
+ } from "./location-services-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./pty-dj2t23y0.js";
6
+ } from "./location-services-dj2t23y0.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";