@opencode/core 0.0.0-dev-19552 → 0.0.0-dev-19553

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{location-service-map-1hc11dc4.js → tool-output-06dxphr1.js} +4 -4
  9. package/dist/chunks/{location-service-map-hkfg6fzm.js → tool-output-0f9afca0.js} +5 -5
  10. package/dist/chunks/{location-service-map-qgn6gcr1.js → tool-output-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{location-service-map-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{location-service-map-0q0f95c6.js → tool-output-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{location-service-map-jzfqxv0w.js → tool-output-0rx68sr6.js} +34 -34
  14. package/dist/chunks/{location-service-map-2x3gmgzq.js → tool-output-0x6k1yyf.js} +8 -8
  15. package/dist/chunks/{location-service-map-r47pemy4.js → tool-output-0y6ej3m2.js} +47 -47
  16. package/dist/chunks/{location-service-map-ygzcvm48.js → tool-output-0zg9j80n.js} +16 -16
  17. package/dist/chunks/{location-service-map-ke09fp5x.js → tool-output-17ymfh2y.js} +70 -70
  18. package/dist/chunks/{location-service-map-yp2x3t23.js → tool-output-1acjjqhc.js} +4 -4
  19. package/dist/chunks/{location-service-map-7yh4e7ss.js → tool-output-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{location-service-map-c0y6yxzg.js → tool-output-1cmb3mqm.js} +9 -9
  21. package/dist/chunks/{location-service-map-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{location-service-map-pmqjxjy4.js → tool-output-1sw69r4e.js} +15 -15
  23. package/dist/chunks/{location-service-map-e8f63d7z.js → tool-output-1xsnzhxk.js} +31 -31
  24. package/dist/chunks/{location-service-map-21r38tys.js → tool-output-21r38tys.js} +1 -1
  25. package/dist/chunks/{location-service-map-6h73sxmp.js → tool-output-2402vzrj.js} +5 -5
  26. package/dist/chunks/{location-service-map-se72k407.js → tool-output-2448zhsg.js} +11 -11
  27. package/dist/chunks/{location-service-map-4m4tze6k.js → tool-output-25a3s41e.js} +31 -31
  28. package/dist/chunks/{location-service-map-b3c2pfxq.js → tool-output-27m8pmk1.js} +25 -25
  29. package/dist/chunks/{location-service-map-x0f4tm25.js → tool-output-29pd7jmr.js} +4 -4
  30. package/dist/chunks/{location-service-map-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{location-service-map-kzcdzd76.js → tool-output-3081eqt5.js} +9 -9
  32. package/dist/chunks/{location-service-map-s2bwkcja.js → tool-output-32yqznb7.js} +24 -24
  33. package/dist/chunks/{location-service-map-xc92hv3t.js → tool-output-33nevm3v.js} +34 -34
  34. package/dist/chunks/{location-service-map-56gdpj1q.js → tool-output-33w4ejhs.js} +6 -6
  35. package/dist/chunks/{location-service-map-d216944b.js → tool-output-34rkz0x9.js} +4 -4
  36. package/dist/chunks/{location-service-map-7vxzg2vc.js → tool-output-3bbcshph.js} +14 -14
  37. package/dist/chunks/{location-service-map-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{location-service-map-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{location-service-map-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{location-service-map-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{location-service-map-vf28y74r.js → tool-output-3zz31926.js} +3 -3
  42. package/dist/chunks/{location-service-map-997cse46.js → tool-output-410f9172.js} +35 -35
  43. package/dist/chunks/{location-service-map-317r0s1v.js → tool-output-44br5crg.js} +13 -13
  44. package/dist/chunks/{location-service-map-ew77m1g6.js → tool-output-48w4w6ne.js} +15 -15
  45. package/dist/chunks/{location-service-map-tzetj9gw.js → tool-output-500ye4gx.js} +21 -21
  46. package/dist/chunks/{location-service-map-6prt122c.js → tool-output-51d9jexv.js} +11 -11
  47. package/dist/chunks/{location-service-map-aec01vg2.js → tool-output-53h6jvr4.js} +13 -13
  48. package/dist/chunks/{location-service-map-v3920tdr.js → tool-output-56n9fxap.js} +11 -11
  49. package/dist/chunks/{location-service-map-a1bz86dw.js → tool-output-5c4hm403.js} +3 -3
  50. package/dist/chunks/{location-service-map-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
  51. package/dist/chunks/{location-service-map-8vabwf9j.js → tool-output-5ns0hmk4.js} +34 -34
  52. package/dist/chunks/{location-service-map-y27d2q66.js → tool-output-5q8917fr.js} +17 -17
  53. package/dist/chunks/{location-service-map-4zer0vva.js → tool-output-5rj7e89z.js} +23 -23
  54. package/dist/chunks/{location-service-map-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
  55. package/dist/chunks/tool-output-5zrr549n.js +247 -0
  56. package/dist/chunks/{location-service-map-2akkhxs7.js → tool-output-62am4esv.js} +41 -41
  57. package/dist/chunks/{location-service-map-3q9crshv.js → tool-output-64ddj6v7.js} +1 -1
  58. package/dist/chunks/{location-service-map-669tq793.js → tool-output-669tq793.js} +1 -1
  59. package/dist/chunks/{location-service-map-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
  60. package/dist/chunks/{location-service-map-654442pr.js → tool-output-6v9s4sje.js} +35 -35
  61. package/dist/chunks/{location-service-map-fg9ka16a.js → tool-output-6xvztx9x.js} +16 -16
  62. package/dist/chunks/{location-service-map-71q4at8m.js → tool-output-71q4at8m.js} +1 -1
  63. package/dist/chunks/tool-output-7apsgyan.js +26 -0
  64. package/dist/chunks/{location-service-map-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
  65. package/dist/chunks/{location-service-map-bjvqytpm.js → tool-output-7n2dt51x.js} +7 -7
  66. package/dist/chunks/{location-service-map-dwvzh0g2.js → tool-output-7w3s9kd0.js} +6 -6
  67. package/dist/chunks/{location-service-map-10jrjq8g.js → tool-output-7z1dbq5f.js} +11 -11
  68. package/dist/chunks/{location-service-map-gt91ywfc.js → tool-output-80va3pbr.js} +18 -18
  69. package/dist/chunks/{location-service-map-81swgkk7.js → tool-output-81swgkk7.js} +2 -2
  70. package/dist/chunks/{location-service-map-hcgra2vb.js → tool-output-82ypv6pv.js} +29 -29
  71. package/dist/chunks/{location-service-map-5mmafj64.js → tool-output-84r56gr5.js} +1 -1
  72. package/dist/chunks/{location-service-map-ynxdgvan.js → tool-output-85dpmdhy.js} +26 -26
  73. package/dist/chunks/{location-service-map-z76rvear.js → tool-output-8bcx3nez.js} +4 -4
  74. package/dist/chunks/{location-service-map-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
  75. package/dist/chunks/{location-service-map-7qfhcbsz.js → tool-output-8k55qeyd.js} +19 -19
  76. package/dist/chunks/{location-service-map-gjmk74th.js → tool-output-8q9myf25.js} +6 -6
  77. package/dist/chunks/{location-service-map-tk63fv4z.js → tool-output-8zqda560.js} +30 -30
  78. package/dist/chunks/{location-service-map-g7g2taf3.js → tool-output-97fmyryk.js} +6 -6
  79. package/dist/chunks/{location-service-map-j64q48wm.js → tool-output-983zejhe.js} +28 -28
  80. package/dist/chunks/{location-service-map-jjjbjh7r.js → tool-output-9bxy0ra3.js} +30 -30
  81. package/dist/chunks/{location-service-map-0tgsmd7v.js → tool-output-9cxz2p3g.js} +30 -30
  82. package/dist/chunks/{location-service-map-mm9xhac3.js → tool-output-9e47yq11.js} +8 -8
  83. package/dist/chunks/{location-service-map-9nafkwrb.js → tool-output-9k24p8hs.js} +23 -23
  84. package/dist/chunks/{location-service-map-be40ghdv.js → tool-output-9kmbd9mt.js} +2 -2
  85. package/dist/chunks/{location-service-map-cr3108w9.js → tool-output-9kvbt2b0.js} +169 -169
  86. package/dist/chunks/{location-service-map-vdyyrf70.js → tool-output-9vtsvkk2.js} +6 -6
  87. package/dist/chunks/{location-service-map-5d17xbav.js → tool-output-9w4ppqge.js} +5 -5
  88. package/dist/chunks/{location-service-map-2rn2h9f8.js → tool-output-9xd5w3qq.js} +11 -11
  89. package/dist/chunks/{location-service-map-pb1eahw5.js → tool-output-a68v6zx7.js} +8 -8
  90. package/dist/chunks/{location-service-map-0pbvnr44.js → tool-output-a9v01vfp.js} +11 -11
  91. package/dist/chunks/{location-service-map-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
  92. package/dist/chunks/{location-service-map-d9q2j4ef.js → tool-output-atmy3q3t.js} +13 -13
  93. package/dist/chunks/{location-service-map-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
  94. package/dist/chunks/{location-service-map-0bqdyxn3.js → tool-output-b6r17kzf.js} +59 -59
  95. package/dist/chunks/{location-service-map-0aq61y81.js → tool-output-bep0w5gt.js} +13 -13
  96. package/dist/chunks/{location-service-map-ve70vzjq.js → tool-output-bfbcq9g8.js} +25 -25
  97. package/dist/chunks/tool-output-bjr9n51k.js +462 -0
  98. package/dist/chunks/{location-service-map-zfq801h6.js → tool-output-bqszwq89.js} +6 -6
  99. package/dist/chunks/{location-service-map-tjgznnzj.js → tool-output-bsd21wvh.js} +32 -32
  100. package/dist/chunks/{location-service-map-ksptet1t.js → tool-output-bvbrzwy4.js} +7 -7
  101. package/dist/chunks/{location-service-map-g71e5xjd.js → tool-output-c9arwkaa.js} +8 -8
  102. package/dist/chunks/{location-service-map-z1zkz7bk.js → tool-output-c9ycaxtf.js} +28 -28
  103. package/dist/chunks/{location-service-map-jk6ry76n.js → tool-output-cgagfye5.js} +4 -4
  104. package/dist/chunks/{location-service-map-a3j4qjep.js → tool-output-chkb7edh.js} +13 -13
  105. package/dist/chunks/{location-service-map-cvsewcrj.js → tool-output-cp507nym.js} +5 -5
  106. package/dist/chunks/{location-service-map-ftyndhpk.js → tool-output-d4jews6t.js} +23 -23
  107. package/dist/chunks/{location-service-map-j7tjkwgq.js → tool-output-d5d1bzfc.js} +18 -18
  108. package/dist/chunks/{location-service-map-scyxgb5t.js → tool-output-d76dz6fc.js} +94 -94
  109. package/dist/chunks/{location-service-map-8x525ht7.js → tool-output-d9jac9yd.js} +5 -5
  110. package/dist/chunks/{location-service-map-4czx790g.js → tool-output-ddkxxk60.js} +18 -18
  111. package/dist/chunks/{location-service-map-zt5h3yfa.js → tool-output-depwzj9d.js} +9 -9
  112. package/dist/chunks/{location-service-map-8p4f9s12.js → tool-output-dj2t23y0.js} +2 -2
  113. package/dist/chunks/{location-service-map-mb6b436h.js → tool-output-dt2vszrs.js} +18 -18
  114. package/dist/chunks/{location-service-map-wphpgvta.js → tool-output-dtza9wsp.js} +30 -30
  115. package/dist/chunks/{location-service-map-z6yn5rdq.js → tool-output-dym5mc0w.js} +9 -9
  116. package/dist/chunks/{location-service-map-p5pv5dqm.js → tool-output-e3hd6zgs.js} +10 -10
  117. package/dist/chunks/{location-service-map-e5nv3ght.js → tool-output-e5nv3ght.js} +2 -2
  118. package/dist/chunks/{location-service-map-7add2r42.js → tool-output-e6599acx.js} +25 -25
  119. package/dist/chunks/{location-service-map-qy7pps2e.js → tool-output-ea6zyd4v.js} +4 -4
  120. package/dist/chunks/{location-service-map-c5rbgjy2.js → tool-output-eh7kfqe7.js} +29 -29
  121. package/dist/chunks/{location-service-map-da6kr1wx.js → tool-output-eraanh1f.js} +6 -6
  122. package/dist/chunks/{location-service-map-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
  123. package/dist/chunks/{location-service-map-jsp84pdj.js → tool-output-evsz25f7.js} +14 -14
  124. package/dist/chunks/{location-service-map-w4w5xb5g.js → tool-output-ex94xgb3.js} +18 -18
  125. package/dist/chunks/{location-service-map-mdh9akjb.js → tool-output-eyqffhkg.js} +28 -28
  126. package/dist/chunks/{location-service-map-ssg3q9nf.js → tool-output-f711xdp6.js} +42 -42
  127. package/dist/chunks/{location-service-map-1g07dsdm.js → tool-output-fegtcdpg.js} +6 -6
  128. package/dist/chunks/{location-service-map-9cgxzq7f.js → tool-output-fjqhqcz7.js} +22 -22
  129. package/dist/chunks/{location-service-map-bqf5xey6.js → tool-output-fk7wkjv4.js} +11 -11
  130. package/dist/chunks/{location-service-map-g9anyfky.js → tool-output-fkt296b9.js} +18 -18
  131. package/dist/chunks/{location-service-map-fxbjtjnd.js → tool-output-fxbjtjnd.js} +1 -1
  132. package/dist/chunks/{location-service-map-bfzg93v9.js → tool-output-g0kzx32f.js} +10 -10
  133. package/dist/chunks/{location-service-map-hgb4h9fq.js → tool-output-g4bd99vw.js} +16 -16
  134. package/dist/chunks/{location-service-map-e9yc490d.js → tool-output-gbt50e34.js} +27 -27
  135. package/dist/chunks/{location-service-map-abxpafsh.js → tool-output-gd35dwva.js} +14 -14
  136. package/dist/chunks/{location-service-map-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{location-service-map-cst0wzct.js → tool-output-gea7vc3h.js} +5 -5
  138. package/dist/chunks/{location-service-map-hsxajhbd.js → tool-output-gewkt4tc.js} +13 -13
  139. package/dist/chunks/{location-service-map-p1wf2k30.js → tool-output-gfqzzqy5.js} +9 -9
  140. package/dist/chunks/{location-service-map-wntp8vrc.js → tool-output-gkg6avwa.js} +42 -42
  141. package/dist/chunks/{location-service-map-enxy5whv.js → tool-output-gsezjzb9.js} +16 -16
  142. package/dist/chunks/{location-service-map-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
  143. package/dist/chunks/{location-service-map-h03wrkyp.js → tool-output-h03wrkyp.js} +2 -2
  144. package/dist/chunks/{location-service-map-gcyndpkk.js → tool-output-h6nbnr35.js} +14 -14
  145. package/dist/chunks/{location-service-map-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
  146. package/dist/chunks/{location-service-map-f828m53h.js → tool-output-hdnk95c8.js} +2 -2
  147. package/dist/chunks/{location-service-map-yg5frs05.js → tool-output-hn9cpaxe.js} +8 -8
  148. package/dist/chunks/{location-service-map-987964v3.js → tool-output-hndr1rtw.js} +87 -87
  149. package/dist/chunks/{location-service-map-qjnxxf51.js → tool-output-hnr5yq9h.js} +5 -5
  150. package/dist/chunks/{location-service-map-q5t0te5a.js → tool-output-j15mfg1p.js} +6 -6
  151. package/dist/chunks/{location-service-map-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
  152. package/dist/chunks/{location-service-map-6s6yzpxb.js → tool-output-j5bk5ffn.js} +6 -6
  153. package/dist/chunks/{location-service-map-9wxvjxv5.js → tool-output-jwfsf2kw.js} +29 -29
  154. package/dist/chunks/{location-service-map-9gp2hts1.js → tool-output-k5t8czcn.js} +15 -15
  155. package/dist/chunks/{location-service-map-a5t9jfkz.js → tool-output-k7q6hj49.js} +20 -20
  156. package/dist/chunks/{location-service-map-vgs16dzz.js → tool-output-k9e137ey.js} +13 -13
  157. package/dist/chunks/{location-service-map-kg06axw8.js → tool-output-kg06axw8.js} +1 -1
  158. package/dist/chunks/{location-service-map-04dw59v1.js → tool-output-kwd7jcpa.js} +11 -11
  159. package/dist/chunks/{location-service-map-cfpkc3c9.js → tool-output-m0jqrx5p.js} +2 -2
  160. package/dist/chunks/{location-service-map-9pa73182.js → tool-output-m1t2h00z.js} +7 -7
  161. package/dist/chunks/{location-service-map-h7ygw6q4.js → tool-output-m2d0j7c0.js} +9 -9
  162. package/dist/chunks/{location-service-map-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
  163. package/dist/chunks/{location-service-map-93hpb89x.js → tool-output-mf9m2v67.js} +3 -3
  164. package/dist/chunks/{location-service-map-r60jfj5j.js → tool-output-mjydk635.js} +9 -9
  165. package/dist/chunks/{location-service-map-q45tp9fg.js → tool-output-mxy7bqqm.js} +4 -4
  166. package/dist/chunks/{location-service-map-9rqr5dz2.js → tool-output-myk4ckkr.js} +5 -5
  167. package/dist/chunks/{location-service-map-xxmcww3w.js → tool-output-n10ns13s.js} +8 -8
  168. package/dist/chunks/{location-service-map-dafzyq9v.js → tool-output-n6sw2qcy.js} +11 -11
  169. package/dist/chunks/{location-service-map-hjt4xg1x.js → tool-output-nhy5jxhy.js} +4 -4
  170. package/dist/chunks/{location-service-map-3zqjh76q.js → tool-output-nn7883ae.js} +51 -51
  171. package/dist/chunks/{location-service-map-magykp64.js → tool-output-nrdmrqsx.js} +4 -4
  172. package/dist/chunks/{location-service-map-qhqrvy71.js → tool-output-nvskbz6s.js} +28 -28
  173. package/dist/chunks/{location-service-map-paedcfg6.js → tool-output-nzn05r5g.js} +6 -6
  174. package/dist/chunks/{location-service-map-n10h5dcc.js → tool-output-p0ydpdje.js} +1 -1
  175. package/dist/chunks/{location-service-map-mgv4r7hs.js → tool-output-p1g84q7q.js} +17 -17
  176. package/dist/chunks/{location-service-map-q8m64rd2.js → tool-output-p3dmqj27.js} +6 -6
  177. package/dist/chunks/{location-service-map-vswh10km.js → tool-output-p6d5ygvj.js} +22 -22
  178. package/dist/chunks/{location-service-map-b3p2rche.js → tool-output-p730pwrk.js} +31 -31
  179. package/dist/chunks/{location-service-map-844ef7ks.js → tool-output-pa8pe2x7.js} +6 -6
  180. package/dist/chunks/{location-service-map-ya7f0mnv.js → tool-output-pbky73a2.js} +3 -3
  181. package/dist/chunks/{location-service-map-rmx7d75k.js → tool-output-pjhhwqp3.js} +6 -6
  182. package/dist/chunks/{location-service-map-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
  183. package/dist/chunks/{location-service-map-pknna89w.js → tool-output-pknna89w.js} +1 -1
  184. package/dist/chunks/{location-service-map-zmqdb3c2.js → tool-output-pxexgfqn.js} +5 -5
  185. package/dist/chunks/{location-service-map-zq6pbv0a.js → tool-output-q0hpqd2h.js} +1 -1
  186. package/dist/chunks/{location-service-map-78qgck3m.js → tool-output-q5a2pztx.js} +12 -12
  187. package/dist/chunks/{location-service-map-zav06jzw.js → tool-output-q5asdkn4.js} +4 -4
  188. package/dist/chunks/{location-service-map-1f8bms4k.js → tool-output-q5e9w6qx.js} +10 -10
  189. package/dist/chunks/{location-service-map-0ebpgxeh.js → tool-output-qa3vdgc2.js} +9 -9
  190. package/dist/chunks/{location-service-map-gz9sd8ds.js → tool-output-qc5sn4cp.js} +4 -4
  191. package/dist/chunks/{location-service-map-rtathh62.js → tool-output-qcr3pcr3.js} +8 -8
  192. package/dist/chunks/{location-service-map-3zz4dsv8.js → tool-output-qjr7sh6r.js} +6 -6
  193. package/dist/chunks/{location-service-map-9yeeq8z5.js → tool-output-qjzr9d90.js} +9 -9
  194. package/dist/chunks/{location-service-map-m0e5qf6k.js → tool-output-qmdnxg00.js} +12 -12
  195. package/dist/chunks/{location-service-map-c8zs60ab.js → tool-output-qpde438z.js} +55 -55
  196. package/dist/chunks/{location-service-map-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
  197. package/dist/chunks/{location-service-map-tv567pe4.js → tool-output-qshh0se8.js} +43 -43
  198. package/dist/chunks/{location-service-map-x41as614.js → tool-output-qy6qxnan.js} +24 -24
  199. package/dist/chunks/{location-service-map-q6b944ev.js → tool-output-r28dgecg.js} +43 -43
  200. package/dist/chunks/{location-service-map-2ht9wr58.js → tool-output-r5j91kvy.js} +20 -20
  201. package/dist/chunks/{location-service-map-r9mregkx.js → tool-output-r9mregkx.js} +2 -2
  202. package/dist/chunks/{location-service-map-5ay59zs2.js → tool-output-rd3jsed3.js} +10 -10
  203. package/dist/chunks/{location-service-map-gbt6w4kb.js → tool-output-rhjbct0v.js} +8 -8
  204. package/dist/chunks/{location-service-map-pqjwfpfc.js → tool-output-rj0m9tej.js} +16 -16
  205. package/dist/chunks/{location-service-map-zvtyh981.js → tool-output-rk3xpj8q.js} +11 -11
  206. package/dist/chunks/{location-service-map-hb7jvn94.js → tool-output-rkd9zq17.js} +26 -26
  207. package/dist/chunks/{location-service-map-3hf7z3yq.js → tool-output-rngvahqc.js} +11 -11
  208. package/dist/chunks/{location-service-map-kxgkzzte.js → tool-output-rrhh8349.js} +32 -32
  209. package/dist/chunks/{location-service-map-x19khr0k.js → tool-output-rxjvbk8n.js} +1 -1
  210. package/dist/chunks/{location-service-map-9sbh5z1p.js → tool-output-s143544w.js} +13 -13
  211. package/dist/chunks/{location-service-map-6kjb5nmm.js → tool-output-s4g69t21.js} +10 -10
  212. package/dist/chunks/{location-service-map-e66rv14v.js → tool-output-s7n3ne41.js} +8 -8
  213. package/dist/chunks/{location-service-map-0emhk73y.js → tool-output-sdwfzfqg.js} +20 -20
  214. package/dist/chunks/{location-service-map-43wywh7z.js → tool-output-sjdbjet5.js} +28 -28
  215. package/dist/chunks/{location-service-map-vfm9gp6q.js → tool-output-smh9r5za.js} +15 -15
  216. package/dist/chunks/{location-service-map-92azbete.js → tool-output-sr17v8dg.js} +4 -4
  217. package/dist/chunks/{location-service-map-37s12vcn.js → tool-output-t0fxg8b9.js} +5 -5
  218. package/dist/chunks/{location-service-map-6espw6g8.js → tool-output-t3j0f89m.js} +18 -18
  219. package/dist/chunks/{location-service-map-q2b1ymqp.js → tool-output-t9zs3egg.js} +4 -4
  220. package/dist/chunks/{location-service-map-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{location-service-map-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
  222. package/dist/chunks/{location-service-map-f6ppewy4.js → tool-output-tdegjb08.js} +29 -29
  223. package/dist/chunks/{location-service-map-tdstcens.js → tool-output-tdstcens.js} +1 -1
  224. package/dist/chunks/{location-service-map-mq96jf65.js → tool-output-tk4wgrh8.js} +11 -11
  225. package/dist/chunks/{location-service-map-e8zqc9x3.js → tool-output-tqv7368x.js} +18 -18
  226. package/dist/chunks/{location-service-map-j2ty36mn.js → tool-output-tsn7a10h.js} +20 -20
  227. package/dist/chunks/{location-service-map-qz57tn8f.js → tool-output-tsqvd881.js} +36 -36
  228. package/dist/chunks/{location-service-map-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
  229. package/dist/chunks/{location-service-map-era4rpc7.js → tool-output-tw82j2bg.js} +20 -20
  230. package/dist/chunks/{location-service-map-zbsbj1es.js → tool-output-twh77t5b.js} +30 -30
  231. package/dist/chunks/{location-service-map-08fkss2z.js → tool-output-v45wa97a.js} +20 -20
  232. package/dist/chunks/{location-service-map-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
  233. package/dist/chunks/{location-service-map-whdpvypb.js → tool-output-vmarth84.js} +28 -28
  234. package/dist/chunks/tool-output-vnkjks7b.js +18 -0
  235. package/dist/chunks/{location-service-map-yhqybqhb.js → tool-output-vp0b3tb4.js} +23 -23
  236. package/dist/chunks/{location-service-map-axhk3gw2.js → tool-output-vp59gbjy.js} +4 -4
  237. package/dist/chunks/{location-service-map-8tyg6ffg.js → tool-output-vp702ess.js} +15 -15
  238. package/dist/chunks/{location-service-map-snhpdyga.js → tool-output-vve6xm6r.js} +22 -22
  239. package/dist/chunks/{location-service-map-3198gv8b.js → tool-output-vxtx4rpx.js} +9 -9
  240. package/dist/chunks/{location-service-map-bbyzhkdb.js → tool-output-vywwb7xw.js} +2 -2
  241. package/dist/chunks/{location-service-map-86v902bt.js → tool-output-vz41dpjb.js} +10 -10
  242. package/dist/chunks/{location-service-map-j10w18fe.js → tool-output-vz6wxk13.js} +20 -20
  243. package/dist/chunks/{location-service-map-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
  244. package/dist/chunks/{location-service-map-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
  245. package/dist/chunks/{location-service-map-p007xxfp.js → tool-output-w556py1h.js} +11 -11
  246. package/dist/chunks/{location-service-map-vyy6cxw9.js → tool-output-wcge806m.js} +4 -4
  247. package/dist/chunks/{location-service-map-wd87259q.js → tool-output-wd87259q.js} +1 -1
  248. package/dist/chunks/{location-service-map-wzeezdkg.js → tool-output-wfz0ytz1.js} +18 -18
  249. package/dist/chunks/{location-service-map-27p1k2h6.js → tool-output-wg0bp805.js} +8 -8
  250. package/dist/chunks/{location-service-map-hgdz7fj9.js → tool-output-wg0fnz40.js} +41 -41
  251. package/dist/chunks/{location-service-map-shj1d2j6.js → tool-output-wptqc3da.js} +22 -22
  252. package/dist/chunks/{location-service-map-jv4nf67n.js → tool-output-wqk2ast5.js} +8 -8
  253. package/dist/chunks/{location-service-map-fw2c9v4r.js → tool-output-x0qm4064.js} +7 -7
  254. package/dist/chunks/{location-service-map-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{location-service-map-f0ah23sg.js → tool-output-x3812y1v.js} +20 -20
  256. package/dist/chunks/{location-service-map-a98ysnss.js → tool-output-x46dne7g.js} +13 -13
  257. package/dist/chunks/{location-service-map-wbjms32a.js → tool-output-x65d1ngh.js} +7 -7
  258. package/dist/chunks/{location-service-map-c2wmt4cg.js → tool-output-xcgcvrcw.js} +11 -11
  259. package/dist/chunks/{location-service-map-dz7374aj.js → tool-output-xg954myy.js} +8 -8
  260. package/dist/chunks/{location-service-map-xs5622zf.js → tool-output-xjqj3swt.js} +13 -13
  261. package/dist/chunks/{location-service-map-0h54jqbs.js → tool-output-xn5rvdk3.js} +8 -8
  262. package/dist/chunks/{location-service-map-pz69wcke.js → tool-output-xs60qhkz.js} +11 -11
  263. package/dist/chunks/{location-service-map-d8nc1xcx.js → tool-output-xwwz9aqf.js} +4 -4
  264. package/dist/chunks/{location-service-map-nzxmnaqk.js → tool-output-xxj3pgp3.js} +1 -1
  265. package/dist/chunks/{location-service-map-9687ankn.js → tool-output-xy08ds9x.js} +13 -13
  266. package/dist/chunks/{location-service-map-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{location-service-map-86ba19xk.js → tool-output-y2ha7ynf.js} +3 -3
  268. package/dist/chunks/{location-service-map-bam9yq1b.js → tool-output-y68xz9fb.js} +22 -22
  269. package/dist/chunks/{location-service-map-jwcy2c2z.js → tool-output-y71avatq.js} +4 -4
  270. package/dist/chunks/{location-service-map-96jnx1h8.js → tool-output-y8rq7gk1.js} +22 -22
  271. package/dist/chunks/{location-service-map-vvgz4s0w.js → tool-output-yacgqk72.js} +2 -2
  272. package/dist/chunks/{location-service-map-x5xt91nb.js → tool-output-yd58s3pz.js} +13 -13
  273. package/dist/chunks/{location-service-map-03t8xqg9.js → tool-output-ym7qtc9x.js} +11 -11
  274. package/dist/chunks/{location-service-map-cj21nk0n.js → tool-output-yqtqx2tb.js} +1 -1
  275. package/dist/chunks/{location-service-map-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{location-service-map-wabr7zyh.js → tool-output-yrz8q0k0.js} +5 -5
  277. package/dist/chunks/{location-service-map-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
  278. package/dist/chunks/{location-service-map-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{location-service-map-bkd71825.js → tool-output-z3dhw9aw.js} +31 -31
  280. package/dist/chunks/{location-service-map-gsh65bkt.js → tool-output-z5893sa5.js} +49 -49
  281. package/dist/chunks/{location-service-map-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
  282. package/dist/chunks/{location-service-map-9dyac9w5.js → tool-output-za5mjvka.js} +6 -6
  283. package/dist/chunks/{location-service-map-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{location-service-map-8ga9vm0q.js → tool-output-zgcqd1q7.js} +6 -6
  285. package/dist/chunks/{location-service-map-rb8vb6bw.js → tool-output-znaqgwg4.js} +16 -16
  286. package/dist/chunks/{location-service-map-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{location-service-map-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +82 -82
  292. package/dist/config/discovery.js +79 -79
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +119 -119
  296. package/dist/config/plugin/command.js +212 -212
  297. package/dist/config/plugin/compaction.js +157 -157
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +119 -119
  300. package/dist/config/plugin/image.js +117 -117
  301. package/dist/config/plugin/instruction.js +87 -87
  302. package/dist/config/plugin/location-watcher.js +117 -117
  303. package/dist/config/plugin/mcp.js +128 -128
  304. package/dist/config/plugin/policy.js +116 -116
  305. package/dist/config/plugin/provider.js +115 -115
  306. package/dist/config/plugin/reference.js +119 -119
  307. package/dist/config/plugin/shell.js +120 -120
  308. package/dist/config/plugin/skill-file.js +99 -99
  309. package/dist/config/plugin/skill.js +138 -138
  310. package/dist/config/plugin/snapshot.js +117 -117
  311. package/dist/config/plugin/source.js +117 -117
  312. package/dist/config/plugin/tool-output.js +119 -119
  313. package/dist/config/plugin/websearch.js +117 -117
  314. package/dist/config/plugin/worktree.js +120 -120
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +121 -121
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +84 -84
  320. package/dist/database/database.js +71 -71
  321. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +90 -90
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +92 -92
  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 +73 -73
  409. package/dist/file-access.js +97 -97
  410. package/dist/file-mutation.js +91 -91
  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 +222 -222
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +97 -97
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +94 -94
  425. package/dist/form.js +85 -85
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +84 -84
  428. package/dist/generate.js +94 -94
  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 +7 -7
  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 +354 -354
  454. package/dist/instruction-discovery.js +82 -82
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +85 -85
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +133 -133
  463. package/dist/location-mutation.js +97 -97
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +351 -351
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +88 -88
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +124 -124
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +87 -87
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +7 -7
  474. package/dist/model-resolver.js +87 -87
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +87 -87
  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 +110 -110
  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 +101 -101
  487. package/dist/plugin/command.js +98 -98
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +215 -215
  490. package/dist/plugin/instance.js +3 -3
  491. package/dist/plugin/internal.js +325 -325
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +99 -99
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/azure.js +120 -120
  501. package/dist/plugin/provider/cerebras.js +2 -2
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +116 -116
  506. package/dist/plugin/provider/digitalocean.js +80 -80
  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 +81 -81
  511. package/dist/plugin/provider/gitlab.js +3 -3
  512. package/dist/plugin/provider/google-vertex.js +2 -2
  513. package/dist/plugin/provider/kilo.js +2 -2
  514. package/dist/plugin/provider/llmgateway.js +77 -77
  515. package/dist/plugin/provider/lmstudio.js +119 -119
  516. package/dist/plugin/provider/modal.js +80 -80
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +119 -119
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +81 -81
  521. package/dist/plugin/provider/opencode.js +80 -80
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/poe.js +77 -77
  525. package/dist/plugin/provider/sap-ai-core.js +3 -3
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +119 -119
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +2 -2
  530. package/dist/plugin/provider/vllm.js +119 -119
  531. package/dist/plugin/provider/xai.js +78 -78
  532. package/dist/plugin/provider/zenmux.js +2 -2
  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 +135 -135
  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/variant.js +4 -4
  541. package/dist/plugin/vcs/git.js +83 -83
  542. package/dist/plugin/vcs/hg.js +83 -83
  543. package/dist/plugin/warming.js +114 -114
  544. package/dist/plugin/websearch/exa.js +7 -7
  545. package/dist/plugin/websearch/firecrawl.js +6 -6
  546. package/dist/plugin/websearch/index.js +9 -9
  547. package/dist/plugin/websearch/mcp.js +4 -4
  548. package/dist/plugin/websearch/parallel.js +8 -8
  549. package/dist/plugin/websearch/tavily.js +6 -6
  550. package/dist/plugin/websearch/tinyfish.js +6 -6
  551. package/dist/plugin.js +220 -220
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +81 -81
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +1 -1
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +84 -84
  560. package/dist/reference/instructions.js +86 -86
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +78 -78
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +95 -95
  566. package/dist/rpc.js +83 -83
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +73 -73
  569. package/dist/session/compaction.js +131 -131
  570. package/dist/session/context.js +149 -149
  571. package/dist/session/diff.js +85 -85
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +222 -222
  576. package/dist/session/execution.js +126 -126
  577. package/dist/session/generate.js +150 -150
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +89 -89
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +90 -90
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +115 -115
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +128 -128
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +102 -102
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +87 -87
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +227 -227
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +87 -87
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +112 -112
  600. package/dist/session/runner/step.js +123 -123
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +171 -171
  604. package/dist/session/shell.js +133 -133
  605. package/dist/session/skill.js +100 -100
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +72 -72
  608. package/dist/session/store.js +84 -84
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +208 -208
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +153 -153
  613. package/dist/session/to-session-error.js +109 -109
  614. package/dist/session/transfer.js +219 -219
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +214 -214
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +11 -11
  621. package/dist/shell.js +135 -135
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +104 -104
  624. package/dist/skill.js +107 -107
  625. package/dist/snapshot.js +90 -90
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +123 -123
  630. package/dist/tool/plugin/edit.js +117 -117
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +122 -122
  633. package/dist/tool/plugin/grep.js +122 -122
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +113 -113
  636. package/dist/tool/plugin/question.js +102 -102
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +211 -211
  639. package/dist/tool/plugin/skill.js +110 -110
  640. package/dist/tool/plugin/subagent.js +217 -217
  641. package/dist/tool/plugin/webfetch.js +107 -107
  642. package/dist/tool/plugin/websearch.js +111 -111
  643. package/dist/tool/plugin/write.js +119 -119
  644. package/dist/tool/read-filesystem.js +98 -98
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +11 -11
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +86 -86
  675. package/dist/websearch.js +83 -83
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +76 -76
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +79 -79
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +8 -8
  683. package/dist/worktree/refresh.js +343 -343
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +91 -91
  686. package/package.json +8 -8
  687. package/dist/chunks/location-service-map-5j56thpe.js +0 -462
  688. package/dist/chunks/location-service-map-619r8v3y.js +0 -18
  689. package/dist/chunks/location-service-map-b1j1vcef.js +0 -26
  690. package/dist/chunks/location-service-map-egq9dkps.js +0 -247
  691. /package/dist/chunks/{location-service-map-0mesazry.js → tool-output-0mesazry.js} +0 -0
  692. /package/dist/chunks/{location-service-map-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{location-service-map-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{location-service-map-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{location-service-map-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{location-service-map-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{location-service-map-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{location-service-map-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{location-service-map-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{location-service-map-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{location-service-map-3asan66x.js → tool-output-3asan66x.js} +0 -0
  702. /package/dist/chunks/{location-service-map-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{location-service-map-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{location-service-map-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{location-service-map-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{location-service-map-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{location-service-map-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{location-service-map-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{location-service-map-53557ph1.js → tool-output-53557ph1.js} +0 -0
  710. /package/dist/chunks/{location-service-map-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{location-service-map-6prwharc.js → tool-output-6prwharc.js} +0 -0
  712. /package/dist/chunks/{location-service-map-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{location-service-map-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{location-service-map-822emrt2.js → tool-output-822emrt2.js} +0 -0
  715. /package/dist/chunks/{location-service-map-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{location-service-map-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{location-service-map-922hggd3.js → tool-output-922hggd3.js} +0 -0
  718. /package/dist/chunks/{location-service-map-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{location-service-map-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{location-service-map-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{location-service-map-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{location-service-map-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{location-service-map-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{location-service-map-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{location-service-map-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{location-service-map-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{location-service-map-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{location-service-map-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{location-service-map-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{location-service-map-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{location-service-map-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{location-service-map-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{location-service-map-df08tz66.js → tool-output-df08tz66.js} +0 -0
  734. /package/dist/chunks/{location-service-map-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{location-service-map-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{location-service-map-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{location-service-map-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{location-service-map-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{location-service-map-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{location-service-map-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{location-service-map-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{location-service-map-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{location-service-map-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{location-service-map-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{location-service-map-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{location-service-map-g86h250q.js → tool-output-g86h250q.js} +0 -0
  747. /package/dist/chunks/{location-service-map-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{location-service-map-gftt206x.js → tool-output-gftt206x.js} +0 -0
  749. /package/dist/chunks/{location-service-map-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{location-service-map-hk9envan.js → tool-output-hk9envan.js} +0 -0
  751. /package/dist/chunks/{location-service-map-hrnqkpcd.js → tool-output-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{location-service-map-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{location-service-map-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{location-service-map-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{location-service-map-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{location-service-map-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{location-service-map-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{location-service-map-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{location-service-map-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{location-service-map-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{location-service-map-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{location-service-map-paphc93g.js → tool-output-paphc93g.js} +0 -0
  763. /package/dist/chunks/{location-service-map-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{location-service-map-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{location-service-map-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{location-service-map-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{location-service-map-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{location-service-map-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{location-service-map-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{location-service-map-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{location-service-map-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{location-service-map-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{location-service-map-twg0f83k.js → tool-output-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{location-service-map-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{location-service-map-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{location-service-map-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{location-service-map-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{location-service-map-x61499pn.js → tool-output-x61499pn.js} +0 -0
  779. /package/dist/chunks/{location-service-map-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{location-service-map-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{location-service-map-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{location-service-map-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{location-service-map-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{location-service-map-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service74
3
- } from "./location-service-map-c2wmt4cg.js";
3
+ } from "./tool-output-xcgcvrcw.js";
4
4
  import {
5
- Service60
6
- } from "./location-service-map-9cgxzq7f.js";
5
+ Service72
6
+ } from "./tool-output-fjqhqcz7.js";
7
7
  import {
8
- Service13,
8
+ Service14,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./location-service-map-9sbh5z1p.js";
11
+ } from "./tool-output-s143544w.js";
12
12
  import {
13
- Service20
14
- } from "./location-service-map-a98ysnss.js";
13
+ Service13
14
+ } from "./tool-output-x46dne7g.js";
15
15
  import {
16
- Service64
17
- } from "./location-service-map-c8zs60ab.js";
16
+ Service59
17
+ } from "./tool-output-qpde438z.js";
18
18
  import {
19
19
  Service15,
20
20
  resolvePath2
21
- } from "./location-service-map-6kjb5nmm.js";
21
+ } from "./tool-output-s4g69t21.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./location-service-map-6prwharc.js";
24
+ } from "./tool-output-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./location-service-map-9rqn6x4v.js";
27
+ } from "./tool-output-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input11,
34
- Output: () => Output7,
35
- Plugin: () => Plugin30,
36
- name: () => name11
33
+ Input: () => Input3,
34
+ Output: () => Output2,
35
+ Plugin: () => Plugin3,
36
+ name: () => name3
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name11 = "edit";
43
- var Input11 = Schema.Struct({
42
+ var name3 = "edit";
43
+ var Input3 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input11 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output7 = Schema.Struct({
53
+ var Output2 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin30 = {
106
+ var Plugin3 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
109
  const access = yield* Service15;
110
- const fileMutation = yield* Service13;
111
- const environment = yield* Service60;
112
- const formatter = yield* Service20;
110
+ const fileMutation = yield* Service14;
111
+ const environment = yield* Service72;
112
+ const formatter = yield* Service13;
113
113
  const location = yield* Service74;
114
- const permission = yield* Service64;
114
+ const permission = yield* Service59;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name11,
116
+ name: name3,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input11,
120
- output: Output7,
119
+ input: Input3,
120
+ output: Output2,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin30 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name11, Input11, Output7, Plugin30, exports_edit };
197
+ export { name3, Input3, Output2, Plugin3, exports_edit };
@@ -1,53 +1,53 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-service-map-922hggd3.js";
4
+ } from "./tool-output-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service79,
8
+ Service78,
9
9
  node83
10
- } from "./location-service-map-bfzg93v9.js";
10
+ } from "./tool-output-g0kzx32f.js";
11
11
  import {
12
12
  Service74,
13
- node78
14
- } from "./location-service-map-c2wmt4cg.js";
13
+ node79
14
+ } from "./tool-output-xcgcvrcw.js";
15
15
  import {
16
16
  create3
17
- } from "./location-service-map-kg06axw8.js";
17
+ } from "./tool-output-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./location-service-map-9rqn6x4v.js";
20
+ } from "./tool-output-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error4,
26
- ID: () => ID15,
27
- Service: () => Service71,
25
+ Error: () => Error2,
26
+ ID: () => ID6,
27
+ Service: () => Service50,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node74,
30
- noopLayer: () => noopLayer3
29
+ node: () => node55,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID15 } from "@opencode/schema/snapshot";
37
+ import { ID as ID6 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error4 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service71 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service50 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service71, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service79;
50
+ const git = yield* Service78;
51
51
  const global = yield* Global.Service;
52
52
  const location = yield* Service74;
53
53
  const lifetime = yield* Scope.Scope;
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID15.make(yield* git.tree.capture({
85
+ return ID6.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service71.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node74 = makeLocationNode({
144
- service: Service71,
143
+ var node55 = makeLocationNode({
144
+ service: Service50,
145
145
  layer,
146
- deps: [FSUtil.node, node83, Global.node, node78]
146
+ deps: [FSUtil.node, node83, Global.node, node79]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service71, Service71.of({
148
+ var noopLayer2 = Layer.succeed(Service50, Service50.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service71, Service71.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error4 && cause.operation === operation)
157
+ if (cause instanceof Error2 && cause.operation === operation)
158
158
  return cause;
159
- return new Error4({
159
+ return new Error2({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID15, Error4, Service71, node74, noopLayer3, exports_snapshot2 };
166
+ export { ID6, Error2, Service50, node55, noopLayer2, exports_snapshot2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service80,
3
- node84
4
- } from "./location-service-map-2rn2h9f8.js";
3
+ node85
4
+ } from "./tool-output-9xd5w3qq.js";
5
5
  import {
6
6
  latestSequence2,
7
- Service76,
8
- node80
9
- } from "./location-service-map-rb8vb6bw.js";
7
+ Service79,
8
+ node84
9
+ } from "./tool-output-znaqgwg4.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./location-service-map-5t3nmthw.js";
12
+ } from "./tool-output-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./location-service-map-ec1grn59.js";
15
+ } from "./tool-output-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./location-service-map-27p1k2h6.js";
18
+ } from "./tool-output-wg0bp805.js";
19
19
  import {
20
- Service66,
21
- node69
22
- } from "./location-service-map-9687ankn.js";
20
+ Service61,
21
+ node65
22
+ } from "./tool-output-xy08ds9x.js";
23
23
  import {
24
- Service28,
25
- node33
26
- } from "./location-service-map-987964v3.js";
24
+ Service23,
25
+ node27
26
+ } from "./tool-output-hndr1rtw.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./location-service-map-tdstcens.js";
30
+ } from "./tool-output-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./location-service-map-9rqn6x4v.js";
33
+ } from "./tool-output-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service2,
38
+ Service: () => Service12,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer3,
42
- node: () => node3
41
+ layer: () => layer7,
42
+ node: () => node15
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service2 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service12 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
- const bus = yield* Service76;
61
+ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
62
+ const bus = yield* Service79;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service28;
65
- const store = yield* Service66;
64
+ const context = yield* Service23;
65
+ const store = yield* Service61;
66
66
  const db = (yield* Service80).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service2.of({ generate });
148
+ return Service12.of({ generate });
149
149
  }));
150
- var node3 = makeLocationNode({
151
- service: Service2,
152
- layer: layer3,
153
- deps: [node80, llmClient2, node33, node69, node84]
150
+ var node15 = makeLocationNode({
151
+ service: Service12,
152
+ layer: layer7,
153
+ deps: [node84, llmClient2, node27, node65, node85]
154
154
  });
155
155
 
156
- export { Service2, isUntitled2, layer3, node3, exports_title };
156
+ export { Service12, isUntitled2, layer7, node15, exports_title };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./location-service-map-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service67,
10
- node: () => node70
9
+ Service: () => Service69,
10
+ node: () => node73
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service67 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service69 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service67, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service67.of({ has, register, trigger });
57
+ return Service69.of({ has, register, trigger });
58
58
  }));
59
- var node70 = makeLocationNode({ service: Service67, layer, deps: [] });
59
+ var node73 = makeLocationNode({ service: Service69, layer, deps: [] });
60
60
 
61
- export { Service67, node70, exports_hooks };
61
+ export { Service69, node73, exports_hooks };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service80
3
- } from "./location-service-map-2rn2h9f8.js";
3
+ } from "./tool-output-9xd5w3qq.js";
4
4
  import {
5
- Service76
6
- } from "./location-service-map-rb8vb6bw.js";
5
+ Service79
6
+ } from "./tool-output-znaqgwg4.js";
7
7
  import {
8
- Service51
9
- } from "./location-service-map-gjmk74th.js";
8
+ Service57
9
+ } from "./tool-output-8q9myf25.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./location-service-map-922hggd3.js";
12
+ } from "./tool-output-922hggd3.js";
13
13
  import {
14
- ID15,
15
- Service71
16
- } from "./location-service-map-jjjbjh7r.js";
14
+ ID6,
15
+ Service50
16
+ } from "./tool-output-9bxy0ra3.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./location-service-map-ec1grn59.js";
19
+ } from "./tool-output-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./location-service-map-gftt206x.js";
22
+ } from "./tool-output-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./location-service-map-g7g2taf3.js";
25
+ } from "./tool-output-97fmyryk.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./location-service-map-a1bz86dw.js";
28
+ } from "./tool-output-5c4hm403.js";
29
29
  import {
30
30
  __export
31
- } from "./location-service-map-9rqn6x4v.js";
31
+ } from "./tool-output-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service51;
45
+ const instances = yield* Service57;
46
46
  const database = yield* Service80;
47
- const bus = yield* Service76;
47
+ const bus = yield* Service79;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service71;
50
- const original = input.session.revert?.snapshot ? ID15.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service50;
50
+ const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service51;
78
- const bus = yield* Service76;
77
+ const instances = yield* Service57;
78
+ const bus = yield* Service79;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service71;
80
+ const snapshot = yield* Service50;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID15.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID15.make(message.snapshot.start));
114
+ files.set(file, ID6.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./location-service-map-922hggd3.js";
4
+ } from "./tool-output-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./location-service-map-93hpb89x.js";
7
+ } from "./tool-output-mf9m2v67.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";