@opencode/core 0.0.0-dev-19588 → 0.0.0-dev-19590

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 (791) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  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 +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{repository-5892jdtn.js → location-mutation-00832hy7.js} +8 -8
  9. package/dist/chunks/location-mutation-04psxgym.js +26 -0
  10. package/dist/chunks/{repository-b1kv8p8w.js → location-mutation-07g2yzt3.js} +6 -6
  11. package/dist/chunks/{repository-qkrnz1pz.js → location-mutation-07sk74nc.js} +5 -5
  12. package/dist/chunks/{repository-wz0ehf68.js → location-mutation-08kp7xha.js} +38 -38
  13. package/dist/chunks/{repository-1jv4xg0p.js → location-mutation-0atdbh96.js} +36 -36
  14. package/dist/chunks/{repository-bfntb90j.js → location-mutation-0bgdfsd1.js} +9 -9
  15. package/dist/chunks/{repository-w4axh9wz.js → location-mutation-0fn2v7vk.js} +6 -6
  16. package/dist/chunks/{repository-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{repository-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{repository-pmr4s4kc.js → location-mutation-0v53mg2y.js} +4 -4
  19. package/dist/chunks/{repository-qqyxjxre.js → location-mutation-0vftmh67.js} +22 -22
  20. package/dist/chunks/{repository-nphm860s.js → location-mutation-0x0yxbr3.js} +20 -20
  21. package/dist/chunks/{repository-w26xsmnw.js → location-mutation-0z6dcdkt.js} +25 -25
  22. package/dist/chunks/{repository-k2dherqe.js → location-mutation-0zaj8p07.js} +1 -1
  23. package/dist/chunks/{repository-5qkxfyep.js → location-mutation-19yq3b24.js} +6 -6
  24. package/dist/chunks/{repository-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{repository-jxvsdwym.js → location-mutation-1gg3p1ss.js} +13 -13
  26. package/dist/chunks/{repository-cpn39njb.js → location-mutation-1hkx1n6e.js} +16 -16
  27. package/dist/chunks/{repository-1r601apj.js → location-mutation-1nc0857s.js} +21 -21
  28. package/dist/chunks/location-mutation-1x11rq2a.js +18 -0
  29. package/dist/chunks/{repository-1vnsgk5t.js → location-mutation-1y37nkr1.js} +35 -35
  30. package/dist/chunks/{repository-5n6hsxyx.js → location-mutation-20pmbb2p.js} +25 -25
  31. package/dist/chunks/{repository-21r38tys.js → location-mutation-21r38tys.js} +1 -1
  32. package/dist/chunks/{repository-2402vzrj.js → location-mutation-2402vzrj.js} +1 -1
  33. package/dist/chunks/{repository-j4z2qnee.js → location-mutation-24cmjgf1.js} +11 -11
  34. package/dist/chunks/{repository-a8ve50ng.js → location-mutation-26s8145v.js} +6 -6
  35. package/dist/chunks/{repository-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{repository-r33ff4dw.js → location-mutation-2d57kztd.js} +5 -5
  37. package/dist/chunks/{repository-yn35vfdn.js → location-mutation-2gb7hv4z.js} +17 -17
  38. package/dist/chunks/{repository-p807tth1.js → location-mutation-2jkmjxk8.js} +16 -16
  39. package/dist/chunks/{repository-b3pcj4k8.js → location-mutation-2pwgvmd7.js} +32 -32
  40. package/dist/chunks/{repository-dn0vp9ws.js → location-mutation-31dty8gt.js} +6 -6
  41. package/dist/chunks/{repository-pye8sh6e.js → location-mutation-34y9ksvj.js} +8 -8
  42. package/dist/chunks/{repository-7a1nds04.js → location-mutation-37aqwf9n.js} +8 -8
  43. package/dist/chunks/{repository-cyhxv4yp.js → location-mutation-3ed3sqde.js} +10 -10
  44. package/dist/chunks/{repository-3fc6dm20.js → location-mutation-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{repository-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{repository-pjrv1sn1.js → location-mutation-3j1fhh7s.js} +1 -1
  47. package/dist/chunks/{repository-d4shdzcf.js → location-mutation-3jt25bc7.js} +22 -22
  48. package/dist/chunks/{repository-5dwnc6b3.js → location-mutation-3k4j4gra.js} +24 -24
  49. package/dist/chunks/{repository-d50dhb3t.js → location-mutation-3s3nypn6.js} +9 -9
  50. package/dist/chunks/{repository-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{repository-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{repository-gma6pakk.js → location-mutation-3xcvdjcv.js} +12 -12
  53. package/dist/chunks/{repository-c9wtqnwj.js → location-mutation-496m5bjm.js} +11 -11
  54. package/dist/chunks/{repository-vpwejdc6.js → location-mutation-5476qrae.js} +15 -15
  55. package/dist/chunks/{repository-56gdpj1q.js → location-mutation-56gdpj1q.js} +2 -2
  56. package/dist/chunks/{repository-msq0jde0.js → location-mutation-5c0f1prt.js} +4 -4
  57. package/dist/chunks/{repository-a1bz86dw.js → location-mutation-5c4hm403.js} +3 -3
  58. package/dist/chunks/{repository-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
  59. package/dist/chunks/{repository-r628x9jn.js → location-mutation-5fshkvc1.js} +32 -32
  60. package/dist/chunks/{repository-4emwyx28.js → location-mutation-5myqbeq2.js} +90 -90
  61. package/dist/chunks/{repository-zfdedwf3.js → location-mutation-5ntctw92.js} +36 -36
  62. package/dist/chunks/{repository-fgqgf88m.js → location-mutation-5rk47206.js} +15 -15
  63. package/dist/chunks/{repository-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{repository-2k8khapm.js → location-mutation-607tc6va.js} +5 -5
  65. package/dist/chunks/{repository-1bvekr7f.js → location-mutation-63xctefh.js} +6 -6
  66. package/dist/chunks/{repository-669tq793.js → location-mutation-669tq793.js} +1 -1
  67. package/dist/chunks/{repository-6gfqk85e.js → location-mutation-6jr7e6bp.js} +25 -25
  68. package/dist/chunks/location-mutation-6kdq0pjd.js +4 -0
  69. package/dist/chunks/{repository-pxbzt21m.js → location-mutation-6ke73fs2.js} +6 -6
  70. package/dist/chunks/{repository-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{repository-vjjm1fp8.js → location-mutation-6vvrnehs.js} +11 -11
  72. package/dist/chunks/{repository-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
  73. package/dist/chunks/{repository-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{repository-2d802nvw.js → location-mutation-7e1bvrsk.js} +1 -1
  75. package/dist/chunks/{repository-wx95frst.js → location-mutation-7e5rzgxf.js} +13 -13
  76. package/dist/chunks/{repository-pgw46sns.js → location-mutation-7gva2pts.js} +25 -25
  77. package/dist/chunks/{repository-s2t8c8fj.js → location-mutation-7m8c3q74.js} +4 -4
  78. package/dist/chunks/{repository-drknmmyh.js → location-mutation-7mhjftdb.js} +9 -9
  79. package/dist/chunks/{repository-swh40x6v.js → location-mutation-7nzveyhj.js} +12 -12
  80. package/dist/chunks/{repository-6a88x1v8.js → location-mutation-7ya38ysx.js} +13 -13
  81. package/dist/chunks/{repository-j5xt7epv.js → location-mutation-80b6wfjj.js} +18 -18
  82. package/dist/chunks/{repository-y5znnrem.js → location-mutation-815wrfbm.js} +27 -27
  83. package/dist/chunks/{repository-96987kcb.js → location-mutation-88qpb1n8.js} +94 -94
  84. package/dist/chunks/{repository-tcezcvh9.js → location-mutation-89znhe33.js} +4 -4
  85. package/dist/chunks/{repository-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{repository-rjt1dhz0.js → location-mutation-8e3ny38k.js} +11 -11
  87. package/dist/chunks/{repository-dqgjsbg6.js → location-mutation-8f273139.js} +22 -22
  88. package/dist/chunks/{repository-y6f0p4jw.js → location-mutation-8jmaqybk.js} +3 -3
  89. package/dist/chunks/{repository-74jx9dmy.js → location-mutation-8pzg6v7t.js} +38 -38
  90. package/dist/chunks/{repository-hgg8kawy.js → location-mutation-8qty0qvy.js} +8 -8
  91. package/dist/chunks/{repository-9j2s9z86.js → location-mutation-8r4nttq3.js} +8 -8
  92. package/dist/chunks/{repository-5a78h29x.js → location-mutation-991adpxw.js} +10 -10
  93. package/dist/chunks/{repository-2ce9th4e.js → location-mutation-9crvh15q.js} +171 -171
  94. package/dist/chunks/{repository-e5xpd6yj.js → location-mutation-9cwx2qq2.js} +3 -3
  95. package/dist/chunks/{repository-qp8nwhvn.js → location-mutation-9dpgmzkp.js} +46 -46
  96. package/dist/chunks/{repository-y86j32r6.js → location-mutation-9dr1d21p.js} +27 -27
  97. package/dist/chunks/{repository-aemscjqt.js → location-mutation-9g677v9k.js} +20 -20
  98. package/dist/chunks/{repository-ngs1gmwy.js → location-mutation-9hzkewnw.js} +6 -6
  99. package/dist/chunks/{repository-m12fw1ht.js → location-mutation-9t7rey2x.js} +34 -34
  100. package/dist/chunks/{repository-ky16kd9n.js → location-mutation-9vh0xv9k.js} +12 -12
  101. package/dist/chunks/{repository-bmtr48j2.js → location-mutation-9wpp4qkq.js} +9 -9
  102. package/dist/chunks/{repository-te29s6sc.js → location-mutation-9xs8eafc.js} +12 -12
  103. package/dist/chunks/{repository-86agcrtg.js → location-mutation-9y4dtwwe.js} +32 -32
  104. package/dist/chunks/{repository-shg3amz7.js → location-mutation-9yy46e9h.js} +22 -22
  105. package/dist/chunks/{repository-g190xswt.js → location-mutation-a8bn8zg0.js} +4 -4
  106. package/dist/chunks/{repository-16cax9zb.js → location-mutation-a8zr1srk.js} +8 -8
  107. package/dist/chunks/{repository-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
  108. package/dist/chunks/{repository-pa8pe2x7.js → location-mutation-asmz7wyz.js} +8 -8
  109. package/dist/chunks/{repository-p5q26rjs.js → location-mutation-awwf17r5.js} +17 -17
  110. package/dist/chunks/{repository-pwf15mvc.js → location-mutation-b0gyf9vc.js} +4 -4
  111. package/dist/chunks/{repository-yyzm5aws.js → location-mutation-b3m8y7fw.js} +10 -10
  112. package/dist/chunks/{repository-mtkf2msq.js → location-mutation-b5tszv4t.js} +50 -50
  113. package/dist/chunks/{repository-473n3n7b.js → location-mutation-b680kg0w.js} +4 -4
  114. package/dist/chunks/{repository-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{repository-0996nyz8.js → location-mutation-b8b3f19r.js} +9 -9
  116. package/dist/chunks/{repository-bbarxbyb.js → location-mutation-bag71raj.js} +1 -1
  117. package/dist/chunks/{repository-x1f4bnb6.js → location-mutation-bcchdtc8.js} +2 -2
  118. package/dist/chunks/{repository-qjnxxf51.js → location-mutation-bgxcxs0p.js} +5 -5
  119. package/dist/chunks/{repository-v7eqyjmy.js → location-mutation-bjjaf6h3.js} +5 -5
  120. package/dist/chunks/{repository-fscyzxmk.js → location-mutation-bp3nbpyy.js} +9 -9
  121. package/dist/chunks/{repository-jwttr378.js → location-mutation-c2hdypq2.js} +43 -43
  122. package/dist/chunks/{repository-5dt15a5r.js → location-mutation-c2wv1h81.js} +20 -20
  123. package/dist/chunks/{repository-1kwjmtsc.js → location-mutation-c5kz6cb9.js} +36 -36
  124. package/dist/chunks/{repository-sznyev98.js → location-mutation-ce5fknq2.js} +5 -5
  125. package/dist/chunks/{repository-7qpszgx3.js → location-mutation-d0vprv21.js} +20 -20
  126. package/dist/chunks/{repository-52f3envg.js → location-mutation-d6yjvz69.js} +20 -20
  127. package/dist/chunks/{repository-tx9qvpbt.js → location-mutation-da6kr1wx.js} +6 -6
  128. package/dist/chunks/{repository-hx4p0gz5.js → location-mutation-dakxr3zj.js} +24 -24
  129. package/dist/chunks/{repository-8028yanh.js → location-mutation-ddfvfgr5.js} +19 -19
  130. package/dist/chunks/{repository-8p4f9s12.js → location-mutation-dj2t23y0.js} +2 -2
  131. package/dist/chunks/{repository-ht8esz14.js → location-mutation-dje3rcjr.js} +10 -10
  132. package/dist/chunks/{repository-hjr4mjkc.js → location-mutation-dnez8hye.js} +27 -27
  133. package/dist/chunks/{repository-y71avatq.js → location-mutation-dpkg50ah.js} +4 -4
  134. package/dist/chunks/{repository-e5nv3ght.js → location-mutation-e5nv3ght.js} +2 -2
  135. package/dist/chunks/{repository-y5ff4yjy.js → location-mutation-e5vf2yjr.js} +11 -11
  136. package/dist/chunks/{repository-8fsnk1kc.js → location-mutation-e7e8y1ky.js} +10 -10
  137. package/dist/chunks/{repository-rhjbct0v.js → location-mutation-eaj1djv9.js} +8 -8
  138. package/dist/chunks/{repository-h6jr292a.js → location-mutation-ec8389mk.js} +4 -4
  139. package/dist/chunks/{repository-ef5x83kb.js → location-mutation-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{repository-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{repository-t0fxg8b9.js → location-mutation-evbgk2k8.js} +5 -5
  142. package/dist/chunks/{repository-3s8rj46j.js → location-mutation-evpy5n40.js} +32 -32
  143. package/dist/chunks/{repository-3163b9jg.js → location-mutation-ex8kq2v7.js} +22 -22
  144. package/dist/chunks/{repository-pxhak851.js → location-mutation-f2vpx28r.js} +6 -6
  145. package/dist/chunks/{repository-4etetb1j.js → location-mutation-f54cegwv.js} +21 -21
  146. package/dist/chunks/{repository-fahke4hq.js → location-mutation-f6tv3dcg.js} +4 -4
  147. package/dist/chunks/{repository-6jdhkm56.js → location-mutation-fa296df8.js} +17 -17
  148. package/dist/chunks/{repository-vtxfwj71.js → location-mutation-fch0ybxp.js} +5 -5
  149. package/dist/chunks/{repository-8fcwscdw.js → location-mutation-ff2c04x9.js} +28 -28
  150. package/dist/chunks/{repository-vapde0g8.js → location-mutation-fkz7kqqw.js} +3 -3
  151. package/dist/chunks/{repository-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{repository-gaf3dhda.js → location-mutation-g2a77rc6.js} +11 -11
  153. package/dist/chunks/{repository-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{repository-1cfwn2bt.js → location-mutation-gjxh85d2.js} +7 -7
  155. package/dist/chunks/{repository-cq37gk0t.js → location-mutation-gnx4ytbv.js} +4 -4
  156. package/dist/chunks/{repository-hm7n6gxm.js → location-mutation-gpmhysdr.js} +18 -18
  157. package/dist/chunks/{repository-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{repository-g8mks886.js → location-mutation-gvkr32sm.js} +11 -11
  159. package/dist/chunks/{repository-j3ht12x2.js → location-mutation-gxby4g3a.js} +15 -15
  160. package/dist/chunks/{repository-p2t1ayvx.js → location-mutation-gy168q6x.js} +49 -49
  161. package/dist/chunks/{repository-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{repository-mfeb23pb.js → location-mutation-h20t8dyw.js} +25 -25
  163. package/dist/chunks/{repository-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{repository-62rpeqaf.js → location-mutation-h8rhc7ek.js} +10 -10
  165. package/dist/chunks/{repository-m74ad31j.js → location-mutation-h92revz2.js} +17 -17
  166. package/dist/chunks/{repository-9zpvy9zc.js → location-mutation-h98q3byq.js} +26 -26
  167. package/dist/chunks/{repository-f828m53h.js → location-mutation-hdnk95c8.js} +2 -2
  168. package/dist/chunks/{repository-hjt4xg1x.js → location-mutation-hjt4xg1x.js} +1 -1
  169. package/dist/chunks/{repository-8c7y8dn0.js → location-mutation-htdjehga.js} +5 -5
  170. package/dist/chunks/{repository-sm236kpq.js → location-mutation-hvk5xsqp.js} +17 -17
  171. package/dist/chunks/{repository-vh329328.js → location-mutation-hwv6vseg.js} +17 -17
  172. package/dist/chunks/{repository-sr7k2y9v.js → location-mutation-hxqfyb45.js} +30 -30
  173. package/dist/chunks/{repository-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
  174. package/dist/chunks/{repository-wdhn35hf.js → location-mutation-j74twt0h.js} +9 -9
  175. package/dist/chunks/{repository-hqxaqnsz.js → location-mutation-j7t2khjb.js} +11 -11
  176. package/dist/chunks/{repository-t3p48s2k.js → location-mutation-ja1xcwp3.js} +15 -15
  177. package/dist/chunks/{repository-jydw0f72.js → location-mutation-jhedgnzy.js} +26 -26
  178. package/dist/chunks/{repository-b6hy6gkz.js → location-mutation-jn3f7qw2.js} +2 -2
  179. package/dist/chunks/{repository-f9apq077.js → location-mutation-jrez9bt2.js} +68 -68
  180. package/dist/chunks/{repository-dfey964p.js → location-mutation-k90zhb3s.js} +14 -14
  181. package/dist/chunks/{repository-mhfnevvs.js → location-mutation-kc2097vx.js} +20 -20
  182. package/dist/chunks/location-mutation-kdmgr5sj.js +247 -0
  183. package/dist/chunks/{repository-0kc779ng.js → location-mutation-ke3vvp4f.js} +10 -10
  184. package/dist/chunks/{repository-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
  185. package/dist/chunks/{repository-ms3qkpaz.js → location-mutation-khq5kjz4.js} +11 -11
  186. package/dist/chunks/{repository-745ca1rp.js → location-mutation-kqa0r5sn.js} +6 -6
  187. package/dist/chunks/{repository-2a25p4mv.js → location-mutation-kqfctymf.js} +32 -32
  188. package/dist/chunks/{repository-jmr68t6h.js → location-mutation-kqwfgj52.js} +5 -5
  189. package/dist/chunks/{repository-9whdk0qy.js → location-mutation-kzqzbsxm.js} +13 -13
  190. package/dist/chunks/{repository-cfpkc3c9.js → location-mutation-m0jqrx5p.js} +2 -2
  191. package/dist/chunks/{repository-8gxqpgph.js → location-mutation-m70sbz6t.js} +4 -4
  192. package/dist/chunks/{repository-m2d0j7c0.js → location-mutation-m86bnw2c.js} +9 -9
  193. package/dist/chunks/{repository-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{repository-xqax0h2z.js → location-mutation-mghg7cty.js} +23 -23
  195. package/dist/chunks/{repository-rg7n2a7e.js → location-mutation-mhzs7n75.js} +47 -47
  196. package/dist/chunks/{repository-0dh2v9fk.js → location-mutation-msdrtnms.js} +32 -32
  197. package/dist/chunks/{repository-zc2xj3qj.js → location-mutation-mtx8mv5z.js} +1 -1
  198. package/dist/chunks/{repository-q7cmwac7.js → location-mutation-n0wka7ja.js} +9 -9
  199. package/dist/chunks/{repository-dht5s97y.js → location-mutation-n50y82zv.js} +9 -9
  200. package/dist/chunks/{repository-1j9stpns.js → location-mutation-n7mc5hy8.js} +29 -29
  201. package/dist/chunks/{repository-7gnac2s0.js → location-mutation-nb2qn4aw.js} +60 -60
  202. package/dist/chunks/{repository-630f9zf9.js → location-mutation-nne8fdvx.js} +8 -8
  203. package/dist/chunks/{repository-s8zy8myc.js → location-mutation-p44d8wdy.js} +5 -5
  204. package/dist/chunks/{repository-gd0jy5mm.js → location-mutation-p5xdx7w2.js} +9 -9
  205. package/dist/chunks/{repository-bw0vgseb.js → location-mutation-p84dsdfh.js} +8 -8
  206. package/dist/chunks/{repository-206yk4e9.js → location-mutation-pa2zc025.js} +4 -4
  207. package/dist/chunks/{repository-4j90697n.js → location-mutation-pdfv92ph.js} +37 -37
  208. package/dist/chunks/{repository-dg6ptqm6.js → location-mutation-phbna07t.js} +20 -20
  209. package/dist/chunks/{repository-hqjg1cx1.js → location-mutation-pjmw00w1.js} +9 -9
  210. package/dist/chunks/{repository-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{repository-pknna89w.js → location-mutation-pknna89w.js} +1 -1
  212. package/dist/chunks/{repository-n64yq744.js → location-mutation-pw70zahd.js} +30 -30
  213. package/dist/chunks/{repository-94d58mvd.js → location-mutation-qaqj213q.js} +32 -32
  214. package/dist/chunks/{repository-car4fhb7.js → location-mutation-qjktcxyk.js} +19 -19
  215. package/dist/chunks/{repository-7s5hb2nx.js → location-mutation-qmz8kt15.js} +22 -22
  216. package/dist/chunks/{repository-5ct4k76c.js → location-mutation-qnb52jpt.js} +22 -22
  217. package/dist/chunks/{repository-0h00gbcb.js → location-mutation-qq9e9akn.js} +20 -20
  218. package/dist/chunks/{repository-3pjcaesv.js → location-mutation-qqhb2q1v.js} +11 -11
  219. package/dist/chunks/{repository-gs36njwm.js → location-mutation-qqvme7mb.js} +45 -45
  220. package/dist/chunks/{repository-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
  221. package/dist/chunks/{repository-mwdf18ba.js → location-mutation-qydwa3j3.js} +32 -32
  222. package/dist/chunks/{repository-swc0nz61.js → location-mutation-r068f4ga.js} +15 -15
  223. package/dist/chunks/{repository-ewq2135v.js → location-mutation-r18tg6pv.js} +22 -22
  224. package/dist/chunks/{repository-bgxa3gb8.js → location-mutation-r4ym21ta.js} +15 -15
  225. package/dist/chunks/{repository-1bbkgx8g.js → location-mutation-r5x6zcsm.js} +3 -3
  226. package/dist/chunks/{repository-fmgfnr5t.js → location-mutation-r5ym3zkw.js} +9 -9
  227. package/dist/chunks/{repository-g2c4pnq1.js → location-mutation-r7v7n0q1.js} +4 -4
  228. package/dist/chunks/{repository-r9mregkx.js → location-mutation-r9mregkx.js} +2 -2
  229. package/dist/chunks/{repository-t9cms4w2.js → location-mutation-rbw46qxe.js} +11 -11
  230. package/dist/chunks/{repository-haj0byqn.js → location-mutation-rxnnh61v.js} +4 -4
  231. package/dist/chunks/{repository-e8x92nmy.js → location-mutation-s56af38f.js} +7 -7
  232. package/dist/chunks/{repository-9q22g6vd.js → location-mutation-sav8qy04.js} +4 -4
  233. package/dist/chunks/{repository-fr89gf7f.js → location-mutation-sn9sey1d.js} +33 -33
  234. package/dist/chunks/{repository-2kesvzjb.js → location-mutation-snh2jweh.js} +13 -13
  235. package/dist/chunks/{repository-q9fqv6nm.js → location-mutation-sx4f6nnd.js} +55 -55
  236. package/dist/chunks/{repository-gay8ct22.js → location-mutation-syebw0mx.js} +23 -23
  237. package/dist/chunks/{repository-deanft1t.js → location-mutation-t43nxr9h.js} +34 -34
  238. package/dist/chunks/{repository-rqpczt31.js → location-mutation-t5qf6yxf.js} +18 -18
  239. package/dist/chunks/{repository-g8d3gcyj.js → location-mutation-t6vsspdg.js} +4 -4
  240. package/dist/chunks/{repository-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{repository-tdstcens.js → location-mutation-tdstcens.js} +1 -1
  242. package/dist/chunks/{repository-cg1ew3t4.js → location-mutation-temb443g.js} +3 -3
  243. package/dist/chunks/{repository-cxkh8aa2.js → location-mutation-tjmjmaym.js} +26 -26
  244. package/dist/chunks/{repository-6ht32ya1.js → location-mutation-tk9x6nx7.js} +18 -18
  245. package/dist/chunks/{repository-nb1yf551.js → location-mutation-trfzv36a.js} +28 -28
  246. package/dist/chunks/{repository-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
  247. package/dist/chunks/{repository-1zfadm9n.js → location-mutation-twdr0p5e.js} +13 -13
  248. package/dist/chunks/{repository-t0x5rdq8.js → location-mutation-twy35tz0.js} +9 -9
  249. package/dist/chunks/{repository-kee0d0vv.js → location-mutation-vdx2x999.js} +22 -22
  250. package/dist/chunks/{repository-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
  251. package/dist/chunks/{repository-6035qjw6.js → location-mutation-vphpv5r9.js} +5 -5
  252. package/dist/chunks/{repository-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{repository-h27f8war.js → location-mutation-vzd3y0c8.js} +11 -11
  254. package/dist/chunks/{repository-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{repository-eztf1wzg.js → location-mutation-w4zeqeps.js} +1 -1
  256. package/dist/chunks/{repository-h13rq2ha.js → location-mutation-w7n8xfgp.js} +41 -41
  257. package/dist/chunks/{repository-x20sjj3e.js → location-mutation-wbeh8r34.js} +46 -46
  258. package/dist/chunks/{repository-wd87259q.js → location-mutation-wd87259q.js} +1 -1
  259. package/dist/chunks/{repository-5mp00kj1.js → location-mutation-we0mahnh.js} +34 -34
  260. package/dist/chunks/{repository-7207rjaj.js → location-mutation-wh0mmyb5.js} +11 -11
  261. package/dist/chunks/{repository-d4exv1s8.js → location-mutation-wpv223g8.js} +31 -31
  262. package/dist/chunks/{repository-jbdvhc0s.js → location-mutation-wre8mv9j.js} +17 -17
  263. package/dist/chunks/{repository-0qevpf4w.js → location-mutation-wwcr5a4d.js} +11 -11
  264. package/dist/chunks/{repository-kq7s33qp.js → location-mutation-wx9jezy1.js} +8 -8
  265. package/dist/chunks/{repository-b09hzw3k.js → location-mutation-x0600czv.js} +2 -2
  266. package/dist/chunks/{repository-1e17p1v6.js → location-mutation-x0mhhfm8.js} +17 -17
  267. package/dist/chunks/{repository-nxamnhdf.js → location-mutation-x0tkz7jk.js} +12 -12
  268. package/dist/chunks/{repository-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{repository-83wzj7ta.js → location-mutation-x345bdrr.js} +5 -5
  270. package/dist/chunks/{repository-cfv81dax.js → location-mutation-x353b1jt.js} +8 -8
  271. package/dist/chunks/{repository-b6f6xskg.js → location-mutation-x7g9d3zv.js} +7 -7
  272. package/dist/chunks/{repository-592a4gpn.js → location-mutation-x9zceq2p.js} +13 -13
  273. package/dist/chunks/{repository-a8rkycwa.js → location-mutation-x9zgzv2n.js} +16 -16
  274. package/dist/chunks/{repository-6cbvf3zm.js → location-mutation-xcajxnnr.js} +43 -43
  275. package/dist/chunks/{repository-51hcmbxq.js → location-mutation-xwkzxbnt.js} +8 -8
  276. package/dist/chunks/{repository-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{repository-m2weea1a.js → location-mutation-y67kaqwv.js} +43 -43
  278. package/dist/chunks/{repository-t5wmzvpv.js → location-mutation-yn3yb8ha.js} +14 -14
  279. package/dist/chunks/{repository-r8xr0va3.js → location-mutation-yp2x3t23.js} +4 -4
  280. package/dist/chunks/{repository-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{repository-yrznvahk.js → location-mutation-yrznvahk.js} +2 -2
  282. package/dist/chunks/location-mutation-yv3k7813.js +466 -0
  283. package/dist/chunks/{repository-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{repository-z63w68vq.js → location-mutation-z63w68vq.js} +2 -2
  285. package/dist/chunks/{repository-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{repository-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{repository-peejr10p.js → location-mutation-zs8px5ah.js} +1 -1
  288. package/dist/chunks/{repository-kmbbtncp.js → location-mutation-ztw74p43.js} +23 -23
  289. package/dist/chunks/{repository-6yp6qgnr.js → location-mutation-zxch8dwb.js} +29 -29
  290. package/dist/chunks/{repository-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +80 -80
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +19 -19
  298. package/dist/config/plugin/agent.js +119 -119
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +137 -137
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +120 -120
  304. package/dist/config/plugin/image.js +119 -119
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +121 -121
  307. package/dist/config/plugin/mcp.js +128 -128
  308. package/dist/config/plugin/policy.js +118 -118
  309. package/dist/config/plugin/provider.js +117 -117
  310. package/dist/config/plugin/reference.js +121 -121
  311. package/dist/config/plugin/shell.js +119 -119
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +136 -136
  314. package/dist/config/plugin/snapshot.js +119 -119
  315. package/dist/config/plugin/source.js +121 -121
  316. package/dist/config/plugin/tool-output.js +121 -121
  317. package/dist/config/plugin/websearch.js +117 -117
  318. package/dist/config/plugin/worktree.js +122 -122
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +123 -123
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -365
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +92 -92
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +7 -7
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +356 -356
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +135 -135
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +88 -88
  471. package/dist/mcp/client.js +93 -95
  472. package/dist/mcp/index.js +107 -107
  473. package/dist/mcp/instructions.js +126 -126
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +7 -7
  478. package/dist/model-resolver.js +87 -87
  479. package/dist/model.js +8 -8
  480. package/dist/models-dev.js +87 -87
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +81 -81
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +106 -106
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +216 -216
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +327 -327
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +76 -76
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +4 -4
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +2 -2
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +80 -80
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +81 -81
  515. package/dist/plugin/provider/gitlab.js +3 -3
  516. package/dist/plugin/provider/google-vertex.js +2 -2
  517. package/dist/plugin/provider/kilo.js +2 -2
  518. package/dist/plugin/provider/llmgateway.js +77 -77
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +80 -80
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +81 -81
  525. package/dist/plugin/provider/opencode.js +80 -80
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +78 -78
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +135 -135
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +346 -346
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +85 -85
  546. package/dist/plugin/vcs/hg.js +85 -85
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +7 -7
  549. package/dist/plugin/websearch/firecrawl.js +8 -8
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +2 -2
  552. package/dist/plugin/websearch/parallel.js +8 -8
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +223 -223
  556. package/dist/project/schema.js +8 -8
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +89 -89
  559. package/dist/provider.js +7 -7
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +97 -97
  564. package/dist/reference/instructions.js +88 -88
  565. package/dist/reference.js +90 -90
  566. package/dist/repository-cache.js +80 -80
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +96 -96
  570. package/dist/rpc.js +85 -85
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +127 -127
  574. package/dist/session/context.js +151 -151
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +3 -3
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +223 -223
  580. package/dist/session/execution.js +128 -128
  581. package/dist/session/generate.js +150 -150
  582. package/dist/session/history.js +13 -13
  583. package/dist/session/inbox.js +85 -85
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +117 -117
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +130 -130
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +104 -104
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -89
  597. package/dist/session/run-coordinator.js +3 -3
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +228 -228
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +87 -87
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +114 -114
  604. package/dist/session/runner/step.js +125 -125
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +170 -170
  608. package/dist/session/shell.js +134 -134
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +74 -74
  612. package/dist/session/store.js +86 -86
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +209 -209
  615. package/dist/session/system-prompt.js +1 -1
  616. package/dist/session/title.js +155 -155
  617. package/dist/session/to-session-error.js +111 -111
  618. package/dist/session/transfer.js +222 -222
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +215 -215
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +11 -11
  625. package/dist/shell.js +136 -136
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +106 -106
  628. package/dist/skill.js +111 -111
  629. package/dist/snapshot.js +92 -92
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +125 -125
  634. package/dist/tool/plugin/edit.js +115 -115
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +121 -121
  637. package/dist/tool/plugin/grep.js +121 -121
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +121 -121
  640. package/dist/tool/plugin/question.js +102 -102
  641. package/dist/tool/plugin/read.js +124 -124
  642. package/dist/tool/plugin/shell.js +214 -214
  643. package/dist/tool/plugin/skill.js +110 -110
  644. package/dist/tool/plugin/subagent.js +218 -218
  645. package/dist/tool/plugin/webfetch.js +107 -107
  646. package/dist/tool/plugin/websearch.js +111 -111
  647. package/dist/tool/plugin/write.js +121 -121
  648. package/dist/tool/read-filesystem.js +99 -99
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +15 -15
  652. package/dist/types/mcp/client.d.ts +1 -1
  653. package/dist/types/mcp/index.d.ts +1 -0
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +3 -3
  666. package/dist/v1/config/config.js +14 -14
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +5 -5
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +3 -3
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +4 -4
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/vcs/patch.js +1 -1
  681. package/dist/vcs.js +88 -88
  682. package/dist/websearch.js +81 -81
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +78 -78
  685. package/dist/workspace/driver.js +5 -5
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +2 -2
  689. package/dist/worktree/git.js +8 -8
  690. package/dist/worktree/refresh.js +345 -345
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree.js +93 -93
  693. package/package.json +8 -8
  694. package/dist/chunks/repository-0c6pz7ms.js +0 -466
  695. package/dist/chunks/repository-9zxwq9ha.js +0 -26
  696. package/dist/chunks/repository-ejvrra8h.js +0 -247
  697. package/dist/chunks/repository-jqh9b0xq.js +0 -18
  698. package/dist/chunks/repository-qapv375x.js +0 -4
  699. /package/dist/chunks/{repository-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{repository-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{repository-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{repository-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{repository-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{repository-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{repository-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{repository-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{repository-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{repository-3asan66x.js → location-mutation-3asan66x.js} +0 -0
  709. /package/dist/chunks/{repository-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{repository-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{repository-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{repository-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{repository-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{repository-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{repository-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{repository-53557ph1.js → location-mutation-53557ph1.js} +0 -0
  717. /package/dist/chunks/{repository-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{repository-6prwharc.js → location-mutation-6prwharc.js} +0 -0
  719. /package/dist/chunks/{repository-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{repository-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{repository-822emrt2.js → location-mutation-822emrt2.js} +0 -0
  722. /package/dist/chunks/{repository-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{repository-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{repository-922hggd3.js → location-mutation-922hggd3.js} +0 -0
  725. /package/dist/chunks/{repository-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{repository-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{repository-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{repository-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{repository-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{repository-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{repository-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{repository-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{repository-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{repository-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{repository-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{repository-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{repository-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{repository-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{repository-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{repository-df08tz66.js → location-mutation-df08tz66.js} +0 -0
  741. /package/dist/chunks/{repository-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{repository-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{repository-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{repository-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{repository-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{repository-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{repository-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{repository-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{repository-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{repository-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{repository-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
  752. /package/dist/chunks/{repository-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{repository-g86h250q.js → location-mutation-g86h250q.js} +0 -0
  754. /package/dist/chunks/{repository-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{repository-gftt206x.js → location-mutation-gftt206x.js} +0 -0
  756. /package/dist/chunks/{repository-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
  757. /package/dist/chunks/{repository-hk9envan.js → location-mutation-hk9envan.js} +0 -0
  758. /package/dist/chunks/{repository-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
  759. /package/dist/chunks/{repository-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{repository-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{repository-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{repository-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{repository-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{repository-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{repository-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{repository-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{repository-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{repository-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{repository-paphc93g.js → location-mutation-paphc93g.js} +0 -0
  770. /package/dist/chunks/{repository-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{repository-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{repository-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{repository-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{repository-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{repository-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{repository-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{repository-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{repository-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
  779. /package/dist/chunks/{repository-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{repository-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
  781. /package/dist/chunks/{repository-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{repository-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{repository-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{repository-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{repository-x61499pn.js → location-mutation-x61499pn.js} +0 -0
  786. /package/dist/chunks/{repository-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{repository-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
  788. /package/dist/chunks/{repository-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{repository-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{repository-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{repository-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
@@ -1,37 +1,37 @@
1
1
  import {
2
- Service78,
3
- node83
4
- } from "./repository-cpn39njb.js";
2
+ Service79,
3
+ node84
4
+ } from "./location-mutation-1hkx1n6e.js";
5
5
  import {
6
- Service66,
7
- node70
8
- } from "./repository-1e17p1v6.js";
6
+ Service75,
7
+ node80
8
+ } from "./location-mutation-x0mhhfm8.js";
9
9
  import {
10
- ID9,
11
- Service61,
12
- node65
13
- } from "./repository-kee0d0vv.js";
10
+ ID11,
11
+ Service64,
12
+ node68
13
+ } from "./location-mutation-vdx2x999.js";
14
14
  import {
15
15
  NotFoundError8
16
- } from "./repository-e5xpd6yj.js";
16
+ } from "./location-mutation-9cwx2qq2.js";
17
17
  import {
18
- Service60,
19
- node64
20
- } from "./repository-vh329328.js";
18
+ Service63,
19
+ node67
20
+ } from "./location-mutation-hwv6vseg.js";
21
21
  import {
22
22
  match2
23
- } from "./repository-y1fvbwt7.js";
24
- import {
25
- Service59,
26
- node63
27
- } from "./repository-mhfnevvs.js";
23
+ } from "./location-mutation-y1fvbwt7.js";
28
24
  import {
29
25
  Service62,
30
26
  node66
31
- } from "./repository-cfv81dax.js";
27
+ } from "./location-mutation-kc2097vx.js";
28
+ import {
29
+ Service65,
30
+ node69
31
+ } from "./location-mutation-x353b1jt.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-9rqn6x4v.js";
34
+ } from "./location-mutation-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -43,19 +43,19 @@ __export(exports_permission2, {
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
45
  Event: () => Event13,
46
- ID: () => ID7,
46
+ ID: () => ID9,
47
47
  NotFoundError: () => NotFoundError7,
48
48
  Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
51
+ Request: () => Request3,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service58,
54
+ Service: () => Service61,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node62
58
+ node: () => node65
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
@@ -64,7 +64,7 @@ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission"
64
64
  import { Event as Event13 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID7 = Permission.ID;
67
+ var ID9 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
77
+ var Request3 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID7.pipe(Schema.optional),
80
+ id: ID9.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID9.pipe(Schema.optional)
82
+ agent: ID11.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID7,
85
+ requestID: ID9,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID7,
90
+ id: ID9,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID7
114
+ requestID: ID9
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service58 extends Context.Service()("@opencode/Permission") {
128
+ class Service61 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service58, Effect.gen(function* () {
131
- const bus = yield* Service78;
132
- const location = yield* Service66;
133
- const agents = yield* Service61;
134
- const sessions = yield* Service60;
135
- const saved = yield* Service59;
136
- const hooks = yield* Service62;
130
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
131
+ const bus = yield* Service79;
132
+ const location = yield* Service75;
133
+ const agents = yield* Service64;
134
+ const sessions = yield* Service63;
135
+ const saved = yield* Service62;
136
+ const hooks = yield* Service65;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID7.create(),
183
+ id: input.id ?? ID9.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service58.of({ ask, assert, reply, get, forSession, list });
286
+ return Service61.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node62 = makeLocationNode({
289
- service: Service58,
288
+ var node65 = makeLocationNode({
289
+ service: Service61,
290
290
  layer,
291
- deps: [node83, node70, node65, node64, node63, node66]
291
+ deps: [node84, node80, node68, node67, node66, node69]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service58, node62, exports_permission2, Rule3, Ruleset2, Event13 };
294
+ export { PermissionEffect, ID9, Source5, Request3, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service61, node65, exports_permission2, Rule3, Ruleset2, Event13 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./location-mutation-922hggd3.js";
4
4
  import {
5
- Service66
6
- } from "./repository-1e17p1v6.js";
5
+ Service75
6
+ } from "./location-mutation-x0mhhfm8.js";
7
7
  import {
8
- Service19
9
- } from "./repository-rqpczt31.js";
8
+ Service58
9
+ } from "./location-mutation-t5qf6yxf.js";
10
10
  import {
11
- Service9
12
- } from "./repository-5ct4k76c.js";
11
+ Service11
12
+ } from "./location-mutation-qnb52jpt.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./repository-2a5m3afh.js";
15
+ } from "./location-mutation-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service5
27
- } from "./repository-m74ad31j.js";
26
+ Service12
27
+ } from "./location-mutation-h92revz2.js";
28
28
  import {
29
29
  __export
30
- } from "./repository-9rqn6x4v.js";
30
+ } from "./location-mutation-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input10,
36
- Plugin: () => Plugin29,
35
+ Input: () => Input6,
36
+ Plugin: () => Plugin25,
37
37
  ReadTool: () => exports_read,
38
- name: () => name10,
39
- toModelContent: () => toModelContent6
38
+ name: () => name6,
39
+ toModelContent: () => toModelContent5
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name10 = "read";
45
+ var name6 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input10 = LocationInput;
56
+ var Input6 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin29 = {
58
+ var Plugin25 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service5;
62
- const access = yield* Service19;
63
- const sessionInstructions = yield* Service9;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service58;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service66;
65
+ const location = yield* Service75;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name10,
67
+ name: name6,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input10,
70
+ input: Input6,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin29 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent6(result.path, input.offset, result.output),
115
+ content: toModelContent5(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent6 = (path, offset, output) => {
147
+ var toModelContent5 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name10, Input10, Plugin29, toModelContent6, exports_read };
183
+ export { name6, Input6, Plugin25, toModelContent5, exports_read };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./location-mutation-922hggd3.js";
4
4
  import {
5
- Service68,
6
- node72
7
- } from "./repository-swh40x6v.js";
5
+ Service77,
6
+ node82
7
+ } from "./location-mutation-7nzveyhj.js";
8
8
  import {
9
9
  parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./repository-2402vzrj.js";
13
+ } from "./location-mutation-2402vzrj.js";
14
14
  import {
15
- Service63,
16
- node67
17
- } from "./repository-9whdk0qy.js";
15
+ Service54,
16
+ node58
17
+ } from "./location-mutation-kzqzbsxm.js";
18
18
  import {
19
19
  __export
20
- } from "./repository-9rqn6x4v.js";
20
+ } from "./location-mutation-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service56,
33
+ Service: () => Service41,
34
34
  isError: () => isError2,
35
- node: () => node60,
35
+ node: () => node44,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service56 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service41 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service56, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service68;
106
+ const git = yield* Service77;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service63;
110
- return Service56.of({
109
+ const kv = yield* Service54;
110
+ return Service41.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node60 = makeGlobalNode({
171
- service: Service56,
170
+ var node44 = makeGlobalNode({
171
+ service: Service41,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node72, Global.node, node67]
173
+ deps: [EffectFlock.node, FSUtil.node, node82, Global.node, node58]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service56, isError2, validateBranch2, node60, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service41, isError2, validateBranch2, node44, exports_repository_cache };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-j4z2qnee.js";
3
+ } from "./location-mutation-24cmjgf1.js";
4
4
  import {
5
- ID16,
5
+ ID7,
6
6
  isAISDK2
7
- } from "./repository-pye8sh6e.js";
7
+ } from "./location-mutation-34y9ksvj.js";
8
8
  import {
9
9
  iife2
10
- } from "./repository-1kg9ymc8.js";
10
+ } from "./location-mutation-1kg9ymc8.js";
11
11
  import {
12
12
  configuredSettings2
13
- } from "./repository-1cfwn2bt.js";
13
+ } from "./location-mutation-gjxh85d2.js";
14
14
 
15
15
  // src/plugin/provider/cloudflare-workers-ai.ts
16
16
  import os from "os";
17
17
  import { Effect } from "effect";
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Form } from "@opencode/schema/form";
20
- var providerID = ID16.make("cloudflare-workers-ai");
20
+ var providerID = ID7.make("cloudflare-workers-ai");
21
21
  var CloudflareWorkersAIPlugin2 = define({
22
22
  id: "opencode.provider.cloudflare.workers.ai",
23
23
  effect: Effect.fn(function* (ctx) {
@@ -1,99 +1,99 @@
1
1
  import {
2
2
  AlibabaPlugin2
3
- } from "./repository-71q4at8m.js";
3
+ } from "./location-mutation-71q4at8m.js";
4
4
  import {
5
5
  AmazonBedrockPlugin2
6
- } from "./repository-cg1ew3t4.js";
6
+ } from "./location-mutation-temb443g.js";
7
7
  import {
8
8
  AzurePlugin2
9
- } from "./repository-3163b9jg.js";
9
+ } from "./location-mutation-ex8kq2v7.js";
10
10
  import {
11
11
  CerebrasPlugin2
12
- } from "./repository-pjrv1sn1.js";
12
+ } from "./location-mutation-3j1fhh7s.js";
13
13
  import {
14
14
  CloudflareAIGatewayPlugin2
15
- } from "./repository-b1kv8p8w.js";
15
+ } from "./location-mutation-07g2yzt3.js";
16
16
  import {
17
17
  CloudflareWorkersAIPlugin2
18
- } from "./repository-ngs1gmwy.js";
18
+ } from "./location-mutation-9hzkewnw.js";
19
19
  import {
20
20
  CoherePlugin2
21
- } from "./repository-z0bkrqjs.js";
21
+ } from "./location-mutation-z0bkrqjs.js";
22
22
  import {
23
23
  DigitalOceanPlugin2
24
- } from "./repository-vpwejdc6.js";
24
+ } from "./location-mutation-5476qrae.js";
25
25
  import {
26
26
  DynamicProviderPlugin2
27
- } from "./repository-vzcthcp8.js";
27
+ } from "./location-mutation-vzcthcp8.js";
28
28
  import {
29
29
  GatewayPlugin2
30
- } from "./repository-669tq793.js";
30
+ } from "./location-mutation-669tq793.js";
31
31
  import {
32
32
  GithubCopilotPlugin2
33
- } from "./repository-3s8rj46j.js";
33
+ } from "./location-mutation-evpy5n40.js";
34
34
  import {
35
35
  GitLabPlugin2
36
- } from "./repository-haj0byqn.js";
36
+ } from "./location-mutation-rxnnh61v.js";
37
37
  import {
38
38
  GoogleVertexPlugin2
39
- } from "./repository-8c7y8dn0.js";
39
+ } from "./location-mutation-htdjehga.js";
40
40
  import {
41
41
  KiloPlugin2
42
- } from "./repository-peejr10p.js";
42
+ } from "./location-mutation-zs8px5ah.js";
43
43
  import {
44
44
  LLMGatewayPlugin2
45
- } from "./repository-pxbzt21m.js";
45
+ } from "./location-mutation-6ke73fs2.js";
46
46
  import {
47
47
  LMStudioPlugin2
48
- } from "./repository-5a78h29x.js";
48
+ } from "./location-mutation-991adpxw.js";
49
49
  import {
50
50
  ModalPlugin2
51
- } from "./repository-5dt15a5r.js";
51
+ } from "./location-mutation-c2wv1h81.js";
52
52
  import {
53
53
  NvidiaPlugin2
54
- } from "./repository-zc2xj3qj.js";
54
+ } from "./location-mutation-mtx8mv5z.js";
55
55
  import {
56
56
  OllamaPlugin2
57
- } from "./repository-cyhxv4yp.js";
57
+ } from "./location-mutation-3ed3sqde.js";
58
58
  import {
59
- OpenAIPlugin2
60
- } from "./repository-hm7n6gxm.js";
59
+ OpenAIPlugin3
60
+ } from "./location-mutation-gpmhysdr.js";
61
61
  import {
62
62
  SnowflakeCortexPlugin2
63
- } from "./repository-car4fhb7.js";
63
+ } from "./location-mutation-qjktcxyk.js";
64
64
  import {
65
65
  OpenAICompatiblePlugin2
66
- } from "./repository-hrnqkpcd.js";
66
+ } from "./location-mutation-hrnqkpcd.js";
67
67
  import {
68
68
  OpencodePlugin2
69
- } from "./repository-p807tth1.js";
69
+ } from "./location-mutation-2jkmjxk8.js";
70
70
  import {
71
71
  OpenRouterPlugin2
72
- } from "./repository-s2t8c8fj.js";
72
+ } from "./location-mutation-7m8c3q74.js";
73
73
  import {
74
74
  PerplexityPlugin2
75
- } from "./repository-veqvce7d.js";
75
+ } from "./location-mutation-veqvce7d.js";
76
76
  import {
77
77
  PoePlugin2
78
- } from "./repository-vtxfwj71.js";
78
+ } from "./location-mutation-fch0ybxp.js";
79
79
  import {
80
80
  SapAICorePlugin2
81
- } from "./repository-qkrnz1pz.js";
81
+ } from "./location-mutation-07sk74nc.js";
82
82
  import {
83
83
  VercelPlugin2
84
- } from "./repository-eztf1wzg.js";
84
+ } from "./location-mutation-w4zeqeps.js";
85
85
  import {
86
86
  VenicePlugin2
87
- } from "./repository-yrhqyw5v.js";
87
+ } from "./location-mutation-yrhqyw5v.js";
88
88
  import {
89
89
  VLLMPlugin2
90
- } from "./repository-8fsnk1kc.js";
90
+ } from "./location-mutation-e7e8y1ky.js";
91
91
  import {
92
92
  XAIPlugin2
93
- } from "./repository-0qevpf4w.js";
93
+ } from "./location-mutation-wwcr5a4d.js";
94
94
  import {
95
95
  ZenmuxPlugin2
96
- } from "./repository-bbarxbyb.js";
96
+ } from "./location-mutation-bag71raj.js";
97
97
 
98
98
  // src/plugin/provider.ts
99
99
  var ProviderPlugins2 = [
@@ -118,7 +118,7 @@ var ProviderPlugins2 = [
118
118
  OpencodePlugin2,
119
119
  SnowflakeCortexPlugin2,
120
120
  OpenAICompatiblePlugin2,
121
- OpenAIPlugin2,
121
+ OpenAIPlugin3,
122
122
  OpenRouterPlugin2,
123
123
  PerplexityPlugin2,
124
124
  PoePlugin2,
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./repository-gd4qta3r.js";
3
+ } from "./location-mutation-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./repository-tvtrv512.js";
6
+ } from "./location-mutation-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./repository-kg06axw8.js";
9
+ } from "./location-mutation-kg06axw8.js";
10
10
  import {
11
11
  __export
12
- } from "./repository-9rqn6x4v.js";
12
+ } from "./location-mutation-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service64,
21
+ Service: () => Service59,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node68
23
+ node: () => node63
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service64 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service59 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service64, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service64.of({
125
+ return Service59.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node68 = makeLocationNode({
143
- service: Service64,
142
+ var node63 = makeLocationNode({
143
+ service: Service59,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service64, node68, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service59, node63, exports_tool_output2 };