@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,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service78,
4
- node83
5
- } from "./repository-cpn39njb.js";
3
+ Service79,
4
+ node84
5
+ } from "./location-mutation-1hkx1n6e.js";
6
6
  import {
7
- Key3,
7
+ Key4,
8
8
  unavailable3,
9
9
  removed2,
10
- make20,
10
+ make21,
11
11
  diffByKey2
12
- } from "./repository-rhjbct0v.js";
12
+ } from "./location-mutation-eaj1djv9.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./repository-922hggd3.js";
15
+ } from "./location-mutation-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./repository-kg06axw8.js";
18
+ } from "./location-mutation-kg06axw8.js";
19
19
  import {
20
20
  __export
21
- } from "./repository-9rqn6x4v.js";
21
+ } from "./location-mutation-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event8,
26
+ Event: () => Event20,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options6,
30
- Service: () => Service39,
31
- configured: () => configured6,
32
- layer: () => layer16,
33
- node: () => node43
29
+ Options: () => Options10,
30
+ Service: () => Service78,
31
+ configured: () => configured11,
32
+ layer: () => layer25,
33
+ node: () => node83
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key3.make("core/instructions");
45
- var Event8 = {
44
+ var key = Key4.make("core/instructions");
45
+ var Event20 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options6 = Schema.Struct({
48
+ var Options10 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service39 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service78 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
56
- const bus = yield* Service78;
55
+ var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
56
+ const bus = yield* Service79;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,9 +72,9 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event20.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make20({
77
+ const source = (value) => make21({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service39.of({
93
+ return Service78.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured6(options) {
107
+ function configured11(options) {
108
108
  return makeLocationNode({
109
- service: Service39,
110
- layer: layer16(options),
111
- deps: [node83]
109
+ service: Service78,
110
+ layer: layer25(options),
111
+ deps: [node84]
112
112
  });
113
113
  }
114
- var node43 = configured6();
114
+ var node83 = configured11();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event8, Options6, Service39, layer16, configured6, node43, exports_instruction_discovery };
145
+ export { File2, Event20, Options10, Service78, layer25, configured11, node83, exports_instruction_discovery };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service65
3
- } from "./repository-5dwnc6b3.js";
2
+ Service69
3
+ } from "./location-mutation-3k4j4gra.js";
4
4
  import {
5
- Service22,
5
+ Service14,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./repository-jxvsdwym.js";
8
+ } from "./location-mutation-1gg3p1ss.js";
9
9
  import {
10
- Service14
11
- } from "./repository-bgxa3gb8.js";
10
+ Service48
11
+ } from "./location-mutation-r4ym21ta.js";
12
12
  import {
13
- Service58
14
- } from "./repository-qp8nwhvn.js";
13
+ Service61
14
+ } from "./location-mutation-9dpgmzkp.js";
15
15
  import {
16
- Service19
17
- } from "./repository-rqpczt31.js";
16
+ Service58
17
+ } from "./location-mutation-t5qf6yxf.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./repository-6prwharc.js";
20
+ } from "./location-mutation-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./repository-9rqn6x4v.js";
23
+ } from "./location-mutation-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input5,
29
- Output: () => Output4,
30
- Plugin: () => Plugin23,
28
+ Input: () => Input11,
29
+ Output: () => Output7,
30
+ Plugin: () => Plugin31,
31
31
  WriteTool: () => exports_write,
32
- name: () => name5,
33
- toModelContent: () => toModelContent3
32
+ name: () => name11,
33
+ toModelContent: () => toModelContent6
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name5 = "write";
39
- var Input5 = Schema.Struct({
38
+ var name11 = "write";
39
+ var Input11 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output4 = Schema.Struct({
45
+ var Output7 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin23 = {
51
+ var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin31 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service19;
56
- const fileMutation = yield* Service22;
57
- const environment = yield* Service65;
58
- const formatter = yield* Service14;
59
- const permission = yield* Service58;
55
+ const access = yield* Service58;
56
+ const fileMutation = yield* Service14;
57
+ const environment = yield* Service69;
58
+ const formatter = yield* Service48;
59
+ const permission = yield* Service61;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name5,
61
+ name: name11,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input5,
69
- output: Output4,
68
+ input: Input11,
69
+ output: Output7,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name5, Input5, Output4, toModelContent3, Plugin23, exports_write };
101
+ export { name11, Input11, Output7, toModelContent6, Plugin31, exports_write };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-j4z2qnee.js";
3
+ } from "./location-mutation-24cmjgf1.js";
4
4
  import {
5
- Service78
6
- } from "./repository-cpn39njb.js";
5
+ Service79
6
+ } from "./location-mutation-1hkx1n6e.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19,
10
- Service75
11
- } from "./repository-1vnsgk5t.js";
9
+ Event18,
10
+ Service73
11
+ } from "./location-mutation-1y37nkr1.js";
12
12
  import {
13
- ID13,
13
+ ID14,
14
14
  MethodID2,
15
- Service74
16
- } from "./repository-b3pcj4k8.js";
15
+ Service71
16
+ } from "./location-mutation-2pwgvmd7.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./repository-pjvnvgmy.js";
20
+ } from "./location-mutation-pjvnvgmy.js";
21
21
  import {
22
- ID16
23
- } from "./repository-pye8sh6e.js";
22
+ ID7
23
+ } from "./location-mutation-34y9ksvj.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./repository-1cfwn2bt.js";
26
+ } from "./location-mutation-gjxh85d2.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID16.make("snowflake-cortex");
34
- var integrationID = ID13.make(providerID);
33
+ var providerID = ID7.make("snowflake-cortex");
34
+ var integrationID = ID14.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service75;
57
- const integrations = yield* Service74;
58
- const bus = yield* Service78;
56
+ const credentials = yield* Service73;
57
+ const integrations = yield* Service71;
58
+ const bus = yield* Service79;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
178
178
  model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
179
179
  }
180
180
  });
181
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
181
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
182
182
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
183
183
  const token = envToken();
184
184
  if (token)
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./repository-5t3nmthw.js";
3
+ } from "./location-mutation-5t3nmthw.js";
4
4
  import {
5
- Service71,
6
- node75
7
- } from "./repository-gs36njwm.js";
5
+ Service44,
6
+ node47
7
+ } from "./location-mutation-qqvme7mb.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-9rqn6x4v.js";
10
+ } from "./location-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service70,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer23,
20
- node: () => node74
17
+ Service: () => Service43,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer15,
20
+ node: () => node46
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service70 extends Context.Service()("@opencode/Generate") {
36
+ class Service43 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer23 = Layer.effect(Service70, Effect.gen(function* () {
38
+ var layer15 = Layer.effect(Service43, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service71;
40
+ const resolver = yield* Service44;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer23 = Layer.effect(Service70, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service70.of({ text });
66
+ return Service43.of({ text });
67
67
  }));
68
- var node74 = makeLocationNode({
69
- service: Service70,
70
- layer: layer23,
71
- deps: [node75, llmClient2]
68
+ var node46 = makeLocationNode({
69
+ service: Service43,
70
+ layer: layer15,
71
+ deps: [node47, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service70, layer23, node74, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError2, Service43, layer15, node46, exports_generate2 };
@@ -1,28 +1,28 @@
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
10
  SessionEvent2
11
- } from "./repository-ec1grn59.js";
11
+ } from "./location-mutation-ec1grn59.js";
12
12
  import {
13
- Service60,
14
- node64
15
- } from "./repository-vh329328.js";
13
+ Service63,
14
+ node67
15
+ } from "./location-mutation-hwv6vseg.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-9rqn6x4v.js";
18
+ } from "./location-mutation-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service9,
23
+ Service: () => Service11,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node12
25
+ node: () => node14
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service9 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service11 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service9, Effect.gen(function* () {
38
- const bus = yield* Service78;
37
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
38
+ const bus = yield* Service79;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service60;
41
- const location = yield* Service66;
40
+ const store = yield* Service63;
41
+ const location = yield* Service75;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service9.of({ load });
87
+ return Service11.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node12 = makeLocationNode({
98
+ var node14 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node83, FSUtil.node, node70, node64]
101
+ deps: [node84, FSUtil.node, node80, node67]
102
102
  });
103
103
 
104
- export { Service9, node12, exports_instructions };
104
+ export { Service11, node14, exports_instructions };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service55,
3
- node59
4
- } from "./repository-1j9stpns.js";
2
+ Service32,
3
+ node36
4
+ } from "./location-mutation-n7mc5hy8.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make20,
8
+ make21,
9
9
  diffByKey2
10
- } from "./repository-rhjbct0v.js";
10
+ } from "./location-mutation-eaj1djv9.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-9rqn6x4v.js";
13
+ } from "./location-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions4 = {};
17
- __export(exports_instructions4, {
18
- ReferenceInstructions: () => exports_instructions4,
19
- Service: () => Service32,
20
- node: () => node37
16
+ var exports_instructions2 = {};
17
+ __export(exports_instructions2, {
18
+ ReferenceInstructions: () => exports_instructions2,
19
+ Service: () => Service21,
20
+ node: () => node26
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service32 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service21 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service32, Effect.gen(function* () {
63
- const references = yield* Service55;
64
- return Service32.of({
62
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
63
+ const references = yield* Service32;
64
+ return Service21.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make20({
72
- key: Key3.make("core/reference-guidance"),
71
+ return make21({
72
+ key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node37 = makeLocationNode({ service: Service32, layer, deps: [node59] });
84
+ var node26 = makeLocationNode({ service: Service21, layer, deps: [node36] });
85
85
 
86
- export { Service32, node37, exports_instructions4 };
86
+ export { Service21, node26, exports_instructions2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service77
3
- } from "./repository-y5znnrem.js";
2
+ Service72
3
+ } from "./location-mutation-815wrfbm.js";
4
4
  import {
5
- Service58
6
- } from "./repository-qp8nwhvn.js";
5
+ Service61
6
+ } from "./location-mutation-9dpgmzkp.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./location-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
@@ -17,13 +17,13 @@ __export(exports_question, {
17
17
  Plugin: () => Plugin47,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name14,
20
+ name: () => name13,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name14 = "question";
26
+ var name13 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin47 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service77;
57
- const permission = yield* Service58;
56
+ const forms = yield* Service72;
57
+ const permission = yield* Service61;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name14,
59
+ name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
62
  input: Input14,
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };
118
+ export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin47, exports_question };