@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,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./location-services-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./pty-xcz499sa.js";
6
+ } from "./location-services-h0v62rke.js";
7
7
  import {
8
- Service75,
9
- node79
10
- } from "./pty-de14jcft.js";
8
+ Service78,
9
+ node82
10
+ } from "./location-services-vhyp5dk4.js";
11
11
  import {
12
- Service56,
13
- node59
14
- } from "./pty-4c10g6d9.js";
12
+ Service67,
13
+ node71
14
+ } from "./location-services-wsd1ss6t.js";
15
15
  import {
16
16
  __export
17
- } from "./pty-9rqn6x4v.js";
17
+ } from "./location-services-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service55,
25
+ Service: () => Service16,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node58,
27
+ node: () => node18,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service55 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service16 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service55, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
- const location = yield* Service75;
61
- const permission = yield* Service56;
60
+ const location = yield* Service78;
61
+ const permission = yield* Service67;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service55.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service16.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node58 = makeLocationNode({ service: Service55, layer, deps: [FSUtil.node, node79, node59] });
112
+ var node18 = makeLocationNode({ service: Service16, layer, deps: [FSUtil.node, node82, node71] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service55, resolvePath2, node58, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service16, resolvePath2, node18, exports_file_access };
@@ -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
  KVTable2
7
- } from "./pty-3hepkmqq.js";
7
+ } from "./location-services-3hepkmqq.js";
8
8
  import {
9
9
  __export
10
- } from "./pty-9rqn6x4v.js";
10
+ } from "./location-services-9rqn6x4v.js";
11
11
 
12
12
  // src/kv.ts
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service79,
17
- node: () => node83
16
+ Service: () => Service63,
17
+ node: () => node66
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service79 extends Context.Service()("@opencode/KV") {
22
+ class Service63 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service79, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
25
25
  const db = (yield* Service82).db;
26
- return Service79.of({
26
+ return Service63.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node83 = makeGlobalNode({ service: Service79, layer, deps: [node86] });
54
+ var node66 = makeGlobalNode({ service: Service63, layer, deps: [node86] });
55
55
 
56
- export { Service79, node83, exports_kv };
56
+ export { Service63, node66, exports_kv };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./pty-tazgh4e4.js";
3
+ } from "./location-services-tazgh4e4.js";
4
4
  import {
5
- ID5,
6
- Service51
7
- } from "./pty-zm0k5bkg.js";
5
+ ID4,
6
+ Service39
7
+ } from "./location-services-ybkzn9j1.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./pty-8jmaqybk.js";
10
+ } from "./location-services-6bsje7ws.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./pty-ja4wy4ee.js";
13
+ } from "./location-services-1qghmjy0.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./pty-5c4hm403.js";
16
+ } from "./location-services-5c4hm403.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./location-services-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service51;
84
+ const snapshot = yield* Service39;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID5.make(from),
91
- to: ID5.make(to),
90
+ from: ID4.make(from),
91
+ to: ID4.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./location-services-922hggd3.js";
4
4
  import {
5
5
  node84
6
- } from "./pty-db54agdm.js";
6
+ } from "./location-services-1v6wmkfd.js";
7
7
  import {
8
- Service75,
9
- node79
10
- } from "./pty-de14jcft.js";
8
+ Service78,
9
+ node82
10
+ } from "./location-services-vhyp5dk4.js";
11
11
  import {
12
12
  create3
13
- } from "./pty-rdw6cm16.js";
13
+ } from "./location-services-rdw6cm16.js";
14
14
  import {
15
- make15
16
- } from "./pty-7yygdjqk.js";
15
+ make12
16
+ } from "./location-services-dt2x0zh0.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./location-services-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service35,
24
+ Service: () => Service23,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node38
26
+ node: () => node26
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service35 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service23 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service35, Effect.gen(function* () {
37
- const location = yield* Service75;
36
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
37
+ const location = yield* Service78;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make15;
39
+ const git = yield* make12;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service35.of({ ...state, directory: location.directory });
58
+ return Service23.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node38 = makeLocationNode({
61
- service: Service35,
60
+ var node26 = makeLocationNode({
61
+ service: Service23,
62
62
  layer,
63
- deps: [node79, Global.node, node84, FSUtil.node]
63
+ deps: [node82, Global.node, node84, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service35, node38, exports_strategies };
66
+ export { Service23, node26, exports_strategies };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./pty-88xbtdfr.js";
3
+ } from "./location-services-88xbtdfr.js";
4
4
  import {
5
- load5
6
- } from "./pty-e3qxr5gk.js";
5
+ load4
6
+ } from "./location-services-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event13,
14
+ Event: () => Event9,
15
15
  Native: () => Native3,
16
- Options: () => Options9,
17
- Service: () => Service67,
16
+ Options: () => Options7,
17
+ Service: () => Service56,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured11,
20
+ configured: () => configured7,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer24,
22
+ layer: () => layer22,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node71,
25
+ node: () => node59,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event13 = { Updated: FileSystem.Event.Changed };
36
+ var Event9 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
- return createWrapper(load5());
39
+ return createWrapper(load4());
40
40
  } catch {
41
41
  return;
42
42
  }
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options9 = Schema.Struct({
56
+ var Options7 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service67 extends Context.Service()("@opencode/Watcher") {
60
+ class Service56 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
65
+ var layer22 = (options) => Layer.effect(Service56, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service67.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service56.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service67, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service67.of({ subscribe });
108
+ return Service56.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service67).subscribe,
134
+ subscribe: Context.get(context, Service56).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service67, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service56, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured11(options) {
168
- return makeGlobalNode({ service: Service67, layer: layer24(options), deps: [nativeNode2] });
167
+ function configured7(options) {
168
+ return makeGlobalNode({ service: Service56, layer: layer22(options), deps: [nativeNode2] });
169
169
  }
170
- var node71 = configured11();
170
+ var node59 = configured7();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event13, hasNativeBinding2, Native3, Options9, Service67, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured11, node71, exports_watcher };
190
+ export { Event9, hasNativeBinding2, Native3, Options7, Service56, Test3, layer22, testLayer3, nativeLayer2, nativeNode2, configured7, node59, exports_watcher };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service66
3
- } from "./pty-2qk91kwd.js";
2
+ Service55
3
+ } from "./location-services-39rqm1tv.js";
4
4
  import {
5
- Service39
6
- } from "./pty-y0mc46pw.js";
5
+ Service41
6
+ } from "./location-services-hc9acsgr.js";
7
7
  import {
8
8
  observe2
9
- } from "./pty-qsdy395h.js";
9
+ } from "./location-services-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./location-services-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin14
18
+ Plugin: () => Plugin35
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin14 = define({
22
+ var Plugin35 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service66;
26
- const image = yield* Service39;
25
+ const config = yield* Service55;
26
+ const image = yield* Service41;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin14 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin14, exports_image };
46
+ export { Plugin35, exports_image };
@@ -1,22 +1,22 @@
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
  Key4,
7
- Service74,
8
- node78
9
- } from "./pty-vsv8ttad.js";
7
+ Service76,
8
+ node80
9
+ } from "./location-services-y25vqx85.js";
10
10
  import {
11
11
  create3
12
- } from "./pty-rdw6cm16.js";
12
+ } from "./location-services-rdw6cm16.js";
13
13
  import {
14
14
  validateAnswer2,
15
15
  validateFields2
16
- } from "./pty-t1w33hkx.js";
16
+ } from "./location-services-gc2d77n3.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./location-services-9rqn6x4v.js";
20
20
 
21
21
  // src/integration.ts
22
22
  var exports_integration = {};
@@ -31,17 +31,17 @@ __export(exports_integration, {
31
31
  CommandAttemptStatus: () => CommandAttemptStatus2,
32
32
  CommandMethod: () => CommandMethod2,
33
33
  EnvMethod: () => EnvMethod2,
34
- Event: () => Event17,
34
+ Event: () => Event18,
35
35
  ID: () => ID14,
36
- Info: () => Info28,
36
+ Info: () => Info29,
37
37
  Integration: () => exports_integration,
38
38
  KeyMethod: () => KeyMethod2,
39
39
  Method: () => Method2,
40
40
  MethodID: () => MethodID2,
41
41
  OAuthMethod: () => OAuthMethod2,
42
42
  Ref: () => Ref3,
43
- Service: () => Service72,
44
- node: () => node76
43
+ Service: () => Service75,
44
+ node: () => node79
45
45
  });
46
46
  import { makeLocationNode } from "@opencode/util/effect/app-node";
47
47
  import {
@@ -62,7 +62,7 @@ import {
62
62
  import { Integration } from "@opencode/schema/integration";
63
63
  import { AppProcess } from "@opencode/util/process";
64
64
  import { ChildProcess } from "effect/unstable/process";
65
- import { Event as Event17 } from "@opencode/schema/integration";
65
+ import { Event as Event18 } from "@opencode/schema/integration";
66
66
  var ID14 = Integration.ID;
67
67
  var MethodID2 = Integration.MethodID;
68
68
  var AttemptID2 = Integration.AttemptID;
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
71
71
  var KeyMethod2 = Integration.KeyMethod;
72
72
  var EnvMethod2 = Integration.EnvMethod;
73
73
  var Method2 = Integration.Method;
74
- var Info28 = Integration.Info;
74
+ var Info29 = Integration.Info;
75
75
  var Attempt2 = Integration.Attempt;
76
76
  var AttemptStatus2 = Integration.AttemptStatus;
77
77
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -85,6 +85,12 @@ class CodeRequiredError2 extends Schema.TaggedError()("Integration.CodeRequired"
85
85
  class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorization", {
86
86
  cause: Schema.Defect()
87
87
  }) {
88
+ get message() {
89
+ const cause = this.cause;
90
+ if (cause instanceof Error && cause.message)
91
+ return cause.message;
92
+ return "Authorization failed";
93
+ }
88
94
  }
89
95
 
90
96
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
@@ -94,13 +100,13 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
94
100
  }
95
101
  var Ref3 = Integration.Ref;
96
102
 
97
- class Service72 extends Context.Service()("@opencode/Integration") {
103
+ class Service75 extends Context.Service()("@opencode/Integration") {
98
104
  }
99
105
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
100
106
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
101
107
  var scrubInterval = Duration.seconds(30);
102
- var layer = Layer.effect(Service72, Effect.gen(function* () {
103
- const credentials = yield* Service74;
108
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
109
+ const credentials = yield* Service76;
104
110
  const bus = yield* Service81;
105
111
  const processes = yield* AppProcess.Service;
106
112
  const scope = yield* Scope.Scope;
@@ -194,7 +200,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
194
200
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
195
201
  return [...credentials, ...env];
196
202
  };
197
- const project = (entry, connections) => Info28.make({
203
+ const project = (entry, connections) => Info29.make({
198
204
  id: entry.ref.id,
199
205
  name: entry.ref.name,
200
206
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -424,7 +430,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
424
430
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
425
431
  return CommandAttempt2.make({ attemptID, time });
426
432
  });
427
- return Service72.of({
433
+ return Service75.of({
428
434
  transform: state.transform,
429
435
  reload: state.reload,
430
436
  revision: state.revision,
@@ -573,10 +579,10 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
573
579
  }
574
580
  });
575
581
  }));
576
- var node76 = makeLocationNode({
577
- service: Service72,
582
+ var node79 = makeLocationNode({
583
+ service: Service75,
578
584
  layer,
579
- deps: [node78, node85, AppProcess.node]
585
+ deps: [node80, node85, AppProcess.node]
580
586
  });
581
587
 
582
- export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service72, node76, exports_integration, Event17 };
588
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node79, exports_integration, Event18 };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./pty-3w5fmr99.js";
7
+ } from "./location-services-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./pty-r9mregkx.js";
11
+ } from "./location-services-r9mregkx.js";
12
12
  import {
13
13
  create3
14
- } from "./pty-rdw6cm16.js";
14
+ } from "./location-services-rdw6cm16.js";
15
15
  import {
16
- Service39,
17
- node42
18
- } from "./pty-y0mc46pw.js";
16
+ Service41,
17
+ node45
18
+ } from "./location-services-hc9acsgr.js";
19
19
  import {
20
- Service70,
21
- node74
22
- } from "./pty-pnaxc6j9.js";
20
+ Service71,
21
+ node75
22
+ } from "./location-services-qwjmgwmn.js";
23
23
  import {
24
24
  match2
25
- } from "./pty-y1fvbwt7.js";
25
+ } from "./location-services-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./pty-9rqn6x4v.js";
28
+ } from "./location-services-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error2,
35
+ Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service31,
38
+ Service: () => Service40,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node34
41
+ node: () => node43
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service31 extends Context.Service()("@opencode/Tool") {
54
+ class Service40 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service31, Effect.gen(function* () {
57
- const hooks = yield* Service70;
58
- const image = yield* Service39;
56
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
57
+ const hooks = yield* Service71;
58
+ const image = yield* Service41;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service31.of({
183
+ return Service40.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -264,10 +264,10 @@ function namespaceError(name) {
264
264
  return;
265
265
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
266
266
  }
267
- var node34 = makeLocationNode({
268
- service: Service31,
267
+ var node43 = makeLocationNode({
268
+ service: Service40,
269
269
  layer,
270
- deps: [node74, node42]
270
+ deps: [node75, node45]
271
271
  });
272
272
 
273
- export { RegistrationError2, Service31, node34, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
273
+ export { RegistrationError2, Service40, node43, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };