@opencode/core 0.0.0-dev-19589 → 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 +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{generate-73t188jy.js → location-mutation-00832hy7.js} +8 -8
  9. package/dist/chunks/location-mutation-04psxgym.js +26 -0
  10. package/dist/chunks/{generate-q6wdy971.js → location-mutation-07g2yzt3.js} +6 -6
  11. package/dist/chunks/{generate-mgkvz3hx.js → location-mutation-07sk74nc.js} +5 -5
  12. package/dist/chunks/{generate-32nvexxh.js → location-mutation-08kp7xha.js} +37 -37
  13. package/dist/chunks/{generate-6q78kr02.js → location-mutation-0atdbh96.js} +36 -36
  14. package/dist/chunks/{generate-qfcza57d.js → location-mutation-0bgdfsd1.js} +7 -7
  15. package/dist/chunks/{generate-87deq66t.js → location-mutation-0fn2v7vk.js} +4 -4
  16. package/dist/chunks/{generate-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{generate-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{generate-vncycja5.js → location-mutation-0v53mg2y.js} +4 -4
  19. package/dist/chunks/{generate-xrv51t12.js → location-mutation-0vftmh67.js} +15 -15
  20. package/dist/chunks/{generate-n84h1qjv.js → location-mutation-0x0yxbr3.js} +18 -18
  21. package/dist/chunks/{generate-h8bvkk4n.js → location-mutation-0z6dcdkt.js} +23 -23
  22. package/dist/chunks/{generate-x569bdqa.js → location-mutation-0zaj8p07.js} +1 -1
  23. package/dist/chunks/{generate-dg5bcj4q.js → location-mutation-19yq3b24.js} +6 -6
  24. package/dist/chunks/{generate-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{generate-9wewr7va.js → location-mutation-1gg3p1ss.js} +12 -12
  26. package/dist/chunks/{generate-jcww1zet.js → location-mutation-1hkx1n6e.js} +4 -4
  27. package/dist/chunks/{generate-pj4yccrm.js → location-mutation-1nc0857s.js} +18 -18
  28. package/dist/chunks/location-mutation-1x11rq2a.js +18 -0
  29. package/dist/chunks/{generate-bw5dejcj.js → location-mutation-1y37nkr1.js} +28 -28
  30. package/dist/chunks/{generate-9crdg4t6.js → location-mutation-20pmbb2p.js} +17 -17
  31. package/dist/chunks/{generate-21r38tys.js → location-mutation-21r38tys.js} +1 -1
  32. package/dist/chunks/{generate-2402vzrj.js → location-mutation-2402vzrj.js} +1 -1
  33. package/dist/chunks/{generate-1msf33w2.js → location-mutation-24cmjgf1.js} +8 -8
  34. package/dist/chunks/{generate-12v0qx6f.js → location-mutation-26s8145v.js} +6 -6
  35. package/dist/chunks/{generate-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
  36. package/dist/chunks/{generate-6anwy9fs.js → location-mutation-2d57kztd.js} +4 -4
  37. package/dist/chunks/{generate-ggtqa3p1.js → location-mutation-2gb7hv4z.js} +17 -17
  38. package/dist/chunks/{generate-6275my5r.js → location-mutation-2jkmjxk8.js} +16 -16
  39. package/dist/chunks/{generate-s539y83q.js → location-mutation-2pwgvmd7.js} +27 -27
  40. package/dist/chunks/{generate-r51729b7.js → location-mutation-31dty8gt.js} +6 -6
  41. package/dist/chunks/{generate-938z9950.js → location-mutation-34y9ksvj.js} +6 -6
  42. package/dist/chunks/{generate-d8jj1mc6.js → location-mutation-37aqwf9n.js} +8 -8
  43. package/dist/chunks/{generate-3avmt772.js → location-mutation-3ed3sqde.js} +10 -10
  44. package/dist/chunks/{generate-3fc6dm20.js → location-mutation-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{generate-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{generate-b36s3smy.js → location-mutation-3j1fhh7s.js} +1 -1
  47. package/dist/chunks/{generate-10sykk4e.js → location-mutation-3jt25bc7.js} +24 -24
  48. package/dist/chunks/{generate-gynya4d5.js → location-mutation-3k4j4gra.js} +24 -24
  49. package/dist/chunks/{generate-pjr7ywh7.js → location-mutation-3s3nypn6.js} +9 -9
  50. package/dist/chunks/{generate-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
  51. package/dist/chunks/{generate-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{generate-fbv7bwdr.js → location-mutation-3xcvdjcv.js} +12 -12
  53. package/dist/chunks/{generate-45tnwva7.js → location-mutation-496m5bjm.js} +11 -11
  54. package/dist/chunks/{generate-5xyazqxs.js → location-mutation-5476qrae.js} +13 -13
  55. package/dist/chunks/{generate-56gdpj1q.js → location-mutation-56gdpj1q.js} +2 -2
  56. package/dist/chunks/{generate-paegk39x.js → location-mutation-5c0f1prt.js} +4 -4
  57. package/dist/chunks/{generate-a1bz86dw.js → location-mutation-5c4hm403.js} +3 -3
  58. package/dist/chunks/{generate-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
  59. package/dist/chunks/{generate-hf0cb6zs.js → location-mutation-5fshkvc1.js} +26 -26
  60. package/dist/chunks/{generate-mnxb74j9.js → location-mutation-5myqbeq2.js} +77 -77
  61. package/dist/chunks/{generate-20h7pzdp.js → location-mutation-5ntctw92.js} +33 -33
  62. package/dist/chunks/{generate-bn8ndby6.js → location-mutation-5rk47206.js} +15 -15
  63. package/dist/chunks/{generate-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{generate-2k8khapm.js → location-mutation-607tc6va.js} +5 -5
  65. package/dist/chunks/{generate-63xctefh.js → location-mutation-63xctefh.js} +1 -1
  66. package/dist/chunks/{generate-669tq793.js → location-mutation-669tq793.js} +1 -1
  67. package/dist/chunks/{generate-ps1wcy89.js → location-mutation-6jr7e6bp.js} +28 -28
  68. package/dist/chunks/location-mutation-6kdq0pjd.js +4 -0
  69. package/dist/chunks/{generate-eex2agwy.js → location-mutation-6ke73fs2.js} +6 -6
  70. package/dist/chunks/{generate-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{generate-yqar7kj7.js → location-mutation-6vvrnehs.js} +11 -11
  72. package/dist/chunks/{generate-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
  73. package/dist/chunks/{generate-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{generate-6f9y8hff.js → location-mutation-7e1bvrsk.js} +1 -1
  75. package/dist/chunks/{generate-8n3jwev3.js → location-mutation-7e5rzgxf.js} +11 -11
  76. package/dist/chunks/{generate-c7y5nz0h.js → location-mutation-7gva2pts.js} +17 -17
  77. package/dist/chunks/{generate-vej037r9.js → location-mutation-7m8c3q74.js} +4 -4
  78. package/dist/chunks/{generate-d2t1ewjp.js → location-mutation-7mhjftdb.js} +9 -9
  79. package/dist/chunks/{generate-3dd05w7p.js → location-mutation-7nzveyhj.js} +12 -12
  80. package/dist/chunks/{generate-3fqwgmhf.js → location-mutation-7ya38ysx.js} +13 -13
  81. package/dist/chunks/{generate-6qqtbadc.js → location-mutation-80b6wfjj.js} +18 -18
  82. package/dist/chunks/{generate-sqvy6n39.js → location-mutation-815wrfbm.js} +25 -25
  83. package/dist/chunks/{generate-s45b13rg.js → location-mutation-88qpb1n8.js} +70 -70
  84. package/dist/chunks/{generate-tcezcvh9.js → location-mutation-89znhe33.js} +4 -4
  85. package/dist/chunks/{generate-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{generate-snxqqawc.js → location-mutation-8e3ny38k.js} +11 -11
  87. package/dist/chunks/{generate-w6904abx.js → location-mutation-8f273139.js} +18 -18
  88. package/dist/chunks/{generate-2f04pwep.js → location-mutation-8jmaqybk.js} +3 -3
  89. package/dist/chunks/{generate-0zzb6e4a.js → location-mutation-8pzg6v7t.js} +42 -42
  90. package/dist/chunks/{generate-p6bpmqk9.js → location-mutation-8qty0qvy.js} +11 -11
  91. package/dist/chunks/{generate-znk0r93t.js → location-mutation-8r4nttq3.js} +6 -6
  92. package/dist/chunks/{generate-1qezbnxe.js → location-mutation-991adpxw.js} +10 -10
  93. package/dist/chunks/{generate-kz8df0x3.js → location-mutation-9crvh15q.js} +157 -157
  94. package/dist/chunks/{generate-7p797550.js → location-mutation-9cwx2qq2.js} +6 -6
  95. package/dist/chunks/{generate-fntg193g.js → location-mutation-9dpgmzkp.js} +52 -52
  96. package/dist/chunks/{generate-zhnshq9c.js → location-mutation-9dr1d21p.js} +19 -19
  97. package/dist/chunks/{generate-cknds85b.js → location-mutation-9g677v9k.js} +20 -20
  98. package/dist/chunks/{generate-x10gc1af.js → location-mutation-9hzkewnw.js} +6 -6
  99. package/dist/chunks/{generate-50kfk4rp.js → location-mutation-9t7rey2x.js} +34 -34
  100. package/dist/chunks/{generate-cd6ptskk.js → location-mutation-9vh0xv9k.js} +12 -12
  101. package/dist/chunks/{generate-a77201cw.js → location-mutation-9wpp4qkq.js} +9 -9
  102. package/dist/chunks/{generate-2xfe5qwb.js → location-mutation-9xs8eafc.js} +10 -10
  103. package/dist/chunks/{generate-zwf0y1k1.js → location-mutation-9y4dtwwe.js} +32 -32
  104. package/dist/chunks/{generate-rcap56wv.js → location-mutation-9yy46e9h.js} +22 -22
  105. package/dist/chunks/{generate-magykp64.js → location-mutation-a8bn8zg0.js} +4 -4
  106. package/dist/chunks/{generate-ep6z9mt6.js → location-mutation-a8zr1srk.js} +8 -8
  107. package/dist/chunks/{generate-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
  108. package/dist/chunks/{generate-2hyh68ab.js → location-mutation-asmz7wyz.js} +8 -8
  109. package/dist/chunks/{generate-k94sgdxv.js → location-mutation-awwf17r5.js} +17 -17
  110. package/dist/chunks/{generate-cwkg32z7.js → location-mutation-b0gyf9vc.js} +4 -4
  111. package/dist/chunks/{generate-mznknh9a.js → location-mutation-b3m8y7fw.js} +10 -10
  112. package/dist/chunks/{generate-r7w3sbwp.js → location-mutation-b5tszv4t.js} +45 -45
  113. package/dist/chunks/{generate-7ybm1f9d.js → location-mutation-b680kg0w.js} +4 -4
  114. package/dist/chunks/{generate-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
  115. package/dist/chunks/{generate-esj243wz.js → location-mutation-b8b3f19r.js} +9 -9
  116. package/dist/chunks/{generate-bjkv1hdp.js → location-mutation-bag71raj.js} +1 -1
  117. package/dist/chunks/{generate-d4pcbfc2.js → location-mutation-bcchdtc8.js} +2 -2
  118. package/dist/chunks/{generate-e6hmchc5.js → location-mutation-bgxcxs0p.js} +5 -5
  119. package/dist/chunks/{generate-08xvefmx.js → location-mutation-bjjaf6h3.js} +2 -2
  120. package/dist/chunks/{generate-y33ajj4x.js → location-mutation-bp3nbpyy.js} +9 -9
  121. package/dist/chunks/{generate-76awjvz1.js → location-mutation-c2hdypq2.js} +44 -44
  122. package/dist/chunks/{generate-am3ejsbr.js → location-mutation-c2wv1h81.js} +18 -18
  123. package/dist/chunks/{generate-hy86y6ky.js → location-mutation-c5kz6cb9.js} +22 -22
  124. package/dist/chunks/{generate-4drgpw32.js → location-mutation-ce5fknq2.js} +5 -5
  125. package/dist/chunks/{generate-37qnb1a0.js → location-mutation-d0vprv21.js} +19 -19
  126. package/dist/chunks/{generate-btvmhe1w.js → location-mutation-d6yjvz69.js} +13 -13
  127. package/dist/chunks/{generate-eraanh1f.js → location-mutation-da6kr1wx.js} +6 -6
  128. package/dist/chunks/{generate-16c77kcq.js → location-mutation-dakxr3zj.js} +20 -20
  129. package/dist/chunks/{generate-0bes2rj4.js → location-mutation-ddfvfgr5.js} +13 -13
  130. package/dist/chunks/{generate-8p4f9s12.js → location-mutation-dj2t23y0.js} +2 -2
  131. package/dist/chunks/{generate-nss8rsah.js → location-mutation-dje3rcjr.js} +10 -10
  132. package/dist/chunks/{generate-psckrajw.js → location-mutation-dnez8hye.js} +15 -15
  133. package/dist/chunks/{generate-y71avatq.js → location-mutation-dpkg50ah.js} +4 -4
  134. package/dist/chunks/{generate-bndc73cn.js → location-mutation-e5nv3ght.js} +5 -5
  135. package/dist/chunks/{generate-j1k42z14.js → location-mutation-e5vf2yjr.js} +3 -3
  136. package/dist/chunks/{generate-h0rjc7hp.js → location-mutation-e7e8y1ky.js} +10 -10
  137. package/dist/chunks/{generate-eaj1djv9.js → location-mutation-eaj1djv9.js} +1 -1
  138. package/dist/chunks/{generate-bjn91642.js → location-mutation-ec8389mk.js} +4 -4
  139. package/dist/chunks/{generate-ef5x83kb.js → location-mutation-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{generate-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
  141. package/dist/chunks/{generate-dj9sq318.js → location-mutation-evbgk2k8.js} +5 -5
  142. package/dist/chunks/{generate-p37avawd.js → location-mutation-evpy5n40.js} +30 -30
  143. package/dist/chunks/{generate-yy0bersf.js → location-mutation-ex8kq2v7.js} +20 -20
  144. package/dist/chunks/{generate-vfnexndp.js → location-mutation-f2vpx28r.js} +6 -6
  145. package/dist/chunks/{generate-00rza3cb.js → location-mutation-f54cegwv.js} +22 -22
  146. package/dist/chunks/{generate-aqfcjpct.js → location-mutation-f6tv3dcg.js} +4 -4
  147. package/dist/chunks/{generate-7r6j96x8.js → location-mutation-fa296df8.js} +17 -17
  148. package/dist/chunks/{generate-wtnysg9m.js → location-mutation-fch0ybxp.js} +5 -5
  149. package/dist/chunks/{generate-3x5jgmm4.js → location-mutation-ff2c04x9.js} +22 -22
  150. package/dist/chunks/{generate-vch9w268.js → location-mutation-fkz7kqqw.js} +3 -3
  151. package/dist/chunks/{generate-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{generate-p4we2g2j.js → location-mutation-g2a77rc6.js} +9 -9
  153. package/dist/chunks/{generate-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{generate-m2b5h28j.js → location-mutation-gjxh85d2.js} +7 -7
  155. package/dist/chunks/{generate-bha4atvq.js → location-mutation-gnx4ytbv.js} +4 -4
  156. package/dist/chunks/{generate-bp49gp0s.js → location-mutation-gpmhysdr.js} +16 -16
  157. package/dist/chunks/{generate-th5km1p3.js → location-mutation-gv6a8nnw.js} +5 -5
  158. package/dist/chunks/{generate-xx7xr3bh.js → location-mutation-gvkr32sm.js} +11 -11
  159. package/dist/chunks/{generate-sjmtbwe8.js → location-mutation-gxby4g3a.js} +15 -15
  160. package/dist/chunks/{generate-e9bv773h.js → location-mutation-gy168q6x.js} +46 -46
  161. package/dist/chunks/{generate-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
  162. package/dist/chunks/{generate-fg4htv37.js → location-mutation-h20t8dyw.js} +21 -21
  163. package/dist/chunks/{generate-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
  164. package/dist/chunks/{generate-yg8tzxp7.js → location-mutation-h8rhc7ek.js} +10 -10
  165. package/dist/chunks/{generate-y0h0ync2.js → location-mutation-h92revz2.js} +17 -17
  166. package/dist/chunks/{generate-m37xfvad.js → location-mutation-h98q3byq.js} +26 -26
  167. package/dist/chunks/{generate-f828m53h.js → location-mutation-hdnk95c8.js} +2 -2
  168. package/dist/chunks/{generate-nhy5jxhy.js → location-mutation-hjt4xg1x.js} +4 -4
  169. package/dist/chunks/{generate-7pvxdgd3.js → location-mutation-htdjehga.js} +5 -5
  170. package/dist/chunks/{generate-9ag79664.js → location-mutation-hvk5xsqp.js} +17 -17
  171. package/dist/chunks/{generate-ye75azwm.js → location-mutation-hwv6vseg.js} +12 -12
  172. package/dist/chunks/{generate-m97kazgs.js → location-mutation-hxqfyb45.js} +30 -30
  173. package/dist/chunks/{generate-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
  174. package/dist/chunks/{generate-efy70ew4.js → location-mutation-j74twt0h.js} +9 -9
  175. package/dist/chunks/{generate-x0e6qwje.js → location-mutation-j7t2khjb.js} +12 -12
  176. package/dist/chunks/{generate-9n2nj1bj.js → location-mutation-ja1xcwp3.js} +15 -15
  177. package/dist/chunks/{generate-1wys6wms.js → location-mutation-jhedgnzy.js} +25 -25
  178. package/dist/chunks/{generate-y7wana11.js → location-mutation-jn3f7qw2.js} +2 -2
  179. package/dist/chunks/{generate-bd774qr3.js → location-mutation-jrez9bt2.js} +55 -55
  180. package/dist/chunks/{generate-n9a29wxm.js → location-mutation-k90zhb3s.js} +11 -11
  181. package/dist/chunks/{generate-2kqh0ztw.js → location-mutation-kc2097vx.js} +17 -17
  182. package/dist/chunks/location-mutation-kdmgr5sj.js +247 -0
  183. package/dist/chunks/{generate-bfaa1j0f.js → location-mutation-ke3vvp4f.js} +10 -10
  184. package/dist/chunks/{generate-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
  185. package/dist/chunks/{generate-r9jh7s6f.js → location-mutation-khq5kjz4.js} +14 -14
  186. package/dist/chunks/{generate-c4he4ws2.js → location-mutation-kqa0r5sn.js} +6 -6
  187. package/dist/chunks/{generate-g5hnschj.js → location-mutation-kqfctymf.js} +17 -17
  188. package/dist/chunks/{generate-tx792pd3.js → location-mutation-kqwfgj52.js} +5 -5
  189. package/dist/chunks/{generate-0n8ns8gx.js → location-mutation-kzqzbsxm.js} +10 -10
  190. package/dist/chunks/{generate-cfpkc3c9.js → location-mutation-m0jqrx5p.js} +2 -2
  191. package/dist/chunks/{generate-m70sbz6t.js → location-mutation-m70sbz6t.js} +1 -1
  192. package/dist/chunks/{generate-xekzrwwc.js → location-mutation-m86bnw2c.js} +9 -9
  193. package/dist/chunks/{generate-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{generate-5nayf2hz.js → location-mutation-mghg7cty.js} +20 -20
  195. package/dist/chunks/{generate-whrq6171.js → location-mutation-mhzs7n75.js} +47 -47
  196. package/dist/chunks/{generate-sdvhpjr9.js → location-mutation-msdrtnms.js} +32 -32
  197. package/dist/chunks/{generate-dq61m4ak.js → location-mutation-mtx8mv5z.js} +1 -1
  198. package/dist/chunks/{generate-ngr3dbwj.js → location-mutation-n0wka7ja.js} +9 -9
  199. package/dist/chunks/{generate-91nn3y69.js → location-mutation-n50y82zv.js} +7 -7
  200. package/dist/chunks/{generate-a9q879s9.js → location-mutation-n7mc5hy8.js} +24 -24
  201. package/dist/chunks/{generate-nhpb30s9.js → location-mutation-nb2qn4aw.js} +36 -36
  202. package/dist/chunks/{generate-q178qezn.js → location-mutation-nne8fdvx.js} +6 -6
  203. package/dist/chunks/{generate-7gvwkz6m.js → location-mutation-p44d8wdy.js} +5 -5
  204. package/dist/chunks/{generate-c7y10hhw.js → location-mutation-p5xdx7w2.js} +11 -11
  205. package/dist/chunks/{generate-hr5bc81f.js → location-mutation-p84dsdfh.js} +5 -5
  206. package/dist/chunks/{generate-7wce90dj.js → location-mutation-pa2zc025.js} +4 -4
  207. package/dist/chunks/{generate-7g5fcwbq.js → location-mutation-pdfv92ph.js} +34 -34
  208. package/dist/chunks/{generate-v7e79jg1.js → location-mutation-phbna07t.js} +22 -22
  209. package/dist/chunks/{generate-81swgkk7.js → location-mutation-pjmw00w1.js} +5 -5
  210. package/dist/chunks/{generate-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
  211. package/dist/chunks/{generate-pknna89w.js → location-mutation-pknna89w.js} +1 -1
  212. package/dist/chunks/{generate-rmapgh8g.js → location-mutation-pw70zahd.js} +22 -22
  213. package/dist/chunks/{generate-mb8sdv6y.js → location-mutation-qaqj213q.js} +32 -32
  214. package/dist/chunks/{generate-nrcfyptd.js → location-mutation-qjktcxyk.js} +17 -17
  215. package/dist/chunks/{generate-k6yvpnmg.js → location-mutation-qmz8kt15.js} +17 -17
  216. package/dist/chunks/{generate-j8k25my2.js → location-mutation-qnb52jpt.js} +12 -12
  217. package/dist/chunks/{generate-9ffm2vsk.js → location-mutation-qq9e9akn.js} +12 -12
  218. package/dist/chunks/{generate-v26dmcdy.js → location-mutation-qqhb2q1v.js} +14 -14
  219. package/dist/chunks/{generate-g8cc633c.js → location-mutation-qqvme7mb.js} +45 -45
  220. package/dist/chunks/{generate-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
  221. package/dist/chunks/{generate-fmc8few3.js → location-mutation-qydwa3j3.js} +24 -24
  222. package/dist/chunks/{generate-4d8bqxce.js → location-mutation-r068f4ga.js} +15 -15
  223. package/dist/chunks/{generate-rkq934e2.js → location-mutation-r18tg6pv.js} +18 -18
  224. package/dist/chunks/{generate-fq9xr2c7.js → location-mutation-r4ym21ta.js} +15 -15
  225. package/dist/chunks/{generate-mvfsc1pv.js → location-mutation-r5x6zcsm.js} +3 -3
  226. package/dist/chunks/{generate-jz915pxj.js → location-mutation-r5ym3zkw.js} +9 -9
  227. package/dist/chunks/{generate-xmwtbrer.js → location-mutation-r7v7n0q1.js} +4 -4
  228. package/dist/chunks/{generate-r9mregkx.js → location-mutation-r9mregkx.js} +2 -2
  229. package/dist/chunks/{generate-6t8hmcr4.js → location-mutation-rbw46qxe.js} +11 -11
  230. package/dist/chunks/{generate-02b4kzbq.js → location-mutation-rxnnh61v.js} +4 -4
  231. package/dist/chunks/{generate-y587sa4j.js → location-mutation-s56af38f.js} +7 -7
  232. package/dist/chunks/{generate-hatn0rtw.js → location-mutation-sav8qy04.js} +4 -4
  233. package/dist/chunks/{generate-yqfnpkff.js → location-mutation-sn9sey1d.js} +32 -32
  234. package/dist/chunks/{generate-xa31kddj.js → location-mutation-snh2jweh.js} +13 -13
  235. package/dist/chunks/{generate-f5k1bfnh.js → location-mutation-sx4f6nnd.js} +49 -49
  236. package/dist/chunks/{generate-kpq4kzcn.js → location-mutation-syebw0mx.js} +24 -24
  237. package/dist/chunks/{generate-3w8fp492.js → location-mutation-t43nxr9h.js} +37 -37
  238. package/dist/chunks/{generate-hsh8wwzp.js → location-mutation-t5qf6yxf.js} +18 -18
  239. package/dist/chunks/{generate-fm2qvscf.js → location-mutation-t6vsspdg.js} +7 -7
  240. package/dist/chunks/{generate-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{generate-tdstcens.js → location-mutation-tdstcens.js} +1 -1
  242. package/dist/chunks/{generate-cyaz419g.js → location-mutation-temb443g.js} +3 -3
  243. package/dist/chunks/{generate-k5qasypg.js → location-mutation-tjmjmaym.js} +32 -32
  244. package/dist/chunks/{generate-b0j5wwjs.js → location-mutation-tk9x6nx7.js} +18 -18
  245. package/dist/chunks/{generate-hb0vn0db.js → location-mutation-trfzv36a.js} +25 -25
  246. package/dist/chunks/{generate-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
  247. package/dist/chunks/{generate-knzt4y7a.js → location-mutation-twdr0p5e.js} +9 -9
  248. package/dist/chunks/{generate-g3n6es57.js → location-mutation-twy35tz0.js} +9 -9
  249. package/dist/chunks/{generate-fbbsfk4x.js → location-mutation-vdx2x999.js} +21 -21
  250. package/dist/chunks/{generate-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
  251. package/dist/chunks/{generate-cjq82wfa.js → location-mutation-vphpv5r9.js} +11 -11
  252. package/dist/chunks/{generate-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{generate-s5p5f75z.js → location-mutation-vzd3y0c8.js} +11 -11
  254. package/dist/chunks/{generate-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{generate-56mz75yv.js → location-mutation-w4zeqeps.js} +1 -1
  256. package/dist/chunks/{generate-4nyc7g3g.js → location-mutation-w7n8xfgp.js} +24 -24
  257. package/dist/chunks/{generate-87pnyk16.js → location-mutation-wbeh8r34.js} +23 -23
  258. package/dist/chunks/{generate-wd87259q.js → location-mutation-wd87259q.js} +1 -1
  259. package/dist/chunks/{generate-xcpgzh2v.js → location-mutation-we0mahnh.js} +37 -37
  260. package/dist/chunks/{generate-h8c9t6tg.js → location-mutation-wh0mmyb5.js} +11 -11
  261. package/dist/chunks/{generate-yg4n1b3c.js → location-mutation-wpv223g8.js} +22 -22
  262. package/dist/chunks/{generate-z7m2s2v7.js → location-mutation-wre8mv9j.js} +20 -20
  263. package/dist/chunks/{generate-gxyd59xe.js → location-mutation-wwcr5a4d.js} +11 -11
  264. package/dist/chunks/{generate-v7qghhq8.js → location-mutation-wx9jezy1.js} +8 -8
  265. package/dist/chunks/{generate-s8610hey.js → location-mutation-x0600czv.js} +2 -2
  266. package/dist/chunks/{generate-62en8r1m.js → location-mutation-x0mhhfm8.js} +14 -14
  267. package/dist/chunks/{generate-htd8zck5.js → location-mutation-x0tkz7jk.js} +12 -12
  268. package/dist/chunks/{generate-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{generate-kx9vnwq1.js → location-mutation-x345bdrr.js} +5 -5
  270. package/dist/chunks/{generate-n66sm98c.js → location-mutation-x353b1jt.js} +8 -8
  271. package/dist/chunks/{generate-bkmwhnwd.js → location-mutation-x7g9d3zv.js} +7 -7
  272. package/dist/chunks/{generate-8ak0x4nb.js → location-mutation-x9zceq2p.js} +15 -15
  273. package/dist/chunks/{generate-rfbpjv35.js → location-mutation-x9zgzv2n.js} +14 -14
  274. package/dist/chunks/{generate-4dpyenvm.js → location-mutation-xcajxnnr.js} +31 -31
  275. package/dist/chunks/{generate-f8epy2bg.js → location-mutation-xwkzxbnt.js} +8 -8
  276. package/dist/chunks/{generate-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{generate-24j5m5j2.js → location-mutation-y67kaqwv.js} +25 -25
  278. package/dist/chunks/{generate-a1z932ek.js → location-mutation-yn3yb8ha.js} +8 -8
  279. package/dist/chunks/{generate-f2n192rq.js → location-mutation-yp2x3t23.js} +4 -4
  280. package/dist/chunks/{generate-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
  281. package/dist/chunks/{generate-yrznvahk.js → location-mutation-yrznvahk.js} +2 -2
  282. package/dist/chunks/location-mutation-yv3k7813.js +466 -0
  283. package/dist/chunks/{generate-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
  284. package/dist/chunks/{generate-z63w68vq.js → location-mutation-z63w68vq.js} +2 -2
  285. package/dist/chunks/{generate-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{generate-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{generate-8vhgkqm3.js → location-mutation-zs8px5ah.js} +1 -1
  288. package/dist/chunks/{generate-dvmmef1m.js → location-mutation-ztw74p43.js} +15 -15
  289. package/dist/chunks/{generate-e1ffenq0.js → location-mutation-zxch8dwb.js} +26 -26
  290. package/dist/chunks/{generate-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +84 -84
  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 +119 -119
  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 +121 -121
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +140 -140
  314. package/dist/config/plugin/snapshot.js +119 -119
  315. package/dist/config/plugin/source.js +115 -115
  316. package/dist/config/plugin/tool-output.js +121 -121
  317. package/dist/config/plugin/websearch.js +119 -119
  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 +82 -82
  324. package/dist/database/database.js +65 -65
  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 +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +359 -359
  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 +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +91 -91
  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 +219 -219
  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 +90 -90
  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 +1 -1
  457. package/dist/instance.js +352 -352
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +1 -1
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +87 -87
  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 +131 -131
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +87 -87
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +84 -84
  471. package/dist/mcp/client.js +93 -95
  472. package/dist/mcp/index.js +105 -105
  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 +110 -110
  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 +85 -85
  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 +73 -73
  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 +342 -342
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +2 -2
  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 +5 -5
  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 +4 -4
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +83 -83
  559. package/dist/provider.js +5 -5
  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 +86 -86
  565. package/dist/reference.js +88 -88
  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 +131 -131
  574. package/dist/session/context.js +149 -149
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +214 -214
  580. package/dist/session/execution.js +122 -122
  581. package/dist/session/generate.js +150 -150
  582. package/dist/session/history.js +13 -13
  583. package/dist/session/inbox.js +87 -87
  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 +92 -92
  588. package/dist/session/message-updater.js +4 -4
  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 +126 -126
  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 +1 -1
  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 +123 -123
  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 +172 -172
  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 +72 -72
  612. package/dist/session/store.js +84 -84
  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 +3 -3
  616. package/dist/session/title.js +151 -151
  617. package/dist/session/to-session-error.js +111 -111
  618. package/dist/session/transfer.js +213 -213
  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 +109 -109
  629. package/dist/snapshot.js +90 -90
  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 +119 -119
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +123 -123
  637. package/dist/tool/plugin/grep.js +123 -123
  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 +104 -104
  641. package/dist/tool/plugin/read.js +120 -120
  642. package/dist/tool/plugin/shell.js +216 -216
  643. package/dist/tool/plugin/skill.js +112 -112
  644. package/dist/tool/plugin/subagent.js +210 -210
  645. package/dist/tool/plugin/webfetch.js +109 -109
  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 +9 -9
  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 +5 -5
  666. package/dist/v1/config/config.js +16 -16
  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 +83 -83
  683. package/dist/wellknown/plugin.js +75 -75
  684. package/dist/wellknown.js +78 -78
  685. package/dist/workspace/driver.js +3 -3
  686. package/dist/workspace/sql.js +1 -1
  687. package/dist/workspace.js +79 -79
  688. package/dist/worktree/directory.js +4 -4
  689. package/dist/worktree/git.js +10 -10
  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/generate-4v7qdvcn.js +0 -18
  695. package/dist/chunks/generate-hxyh9mjp.js +0 -247
  696. package/dist/chunks/generate-pgc5v9v9.js +0 -466
  697. package/dist/chunks/generate-qapv375x.js +0 -4
  698. package/dist/chunks/generate-w4wj1qng.js +0 -26
  699. /package/dist/chunks/{generate-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{generate-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{generate-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{generate-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{generate-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{generate-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
  705. /package/dist/chunks/{generate-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
  706. /package/dist/chunks/{generate-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
  707. /package/dist/chunks/{generate-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
  708. /package/dist/chunks/{generate-3asan66x.js → location-mutation-3asan66x.js} +0 -0
  709. /package/dist/chunks/{generate-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{generate-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
  711. /package/dist/chunks/{generate-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
  712. /package/dist/chunks/{generate-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
  713. /package/dist/chunks/{generate-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
  714. /package/dist/chunks/{generate-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
  715. /package/dist/chunks/{generate-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
  716. /package/dist/chunks/{generate-53557ph1.js → location-mutation-53557ph1.js} +0 -0
  717. /package/dist/chunks/{generate-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
  718. /package/dist/chunks/{generate-6prwharc.js → location-mutation-6prwharc.js} +0 -0
  719. /package/dist/chunks/{generate-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{generate-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{generate-822emrt2.js → location-mutation-822emrt2.js} +0 -0
  722. /package/dist/chunks/{generate-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{generate-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{generate-922hggd3.js → location-mutation-922hggd3.js} +0 -0
  725. /package/dist/chunks/{generate-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{generate-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{generate-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{generate-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{generate-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{generate-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{generate-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{generate-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{generate-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{generate-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{generate-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{generate-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{generate-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{generate-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{generate-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{generate-df08tz66.js → location-mutation-df08tz66.js} +0 -0
  741. /package/dist/chunks/{generate-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{generate-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{generate-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{generate-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{generate-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{generate-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{generate-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{generate-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{generate-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{generate-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{generate-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
  752. /package/dist/chunks/{generate-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{generate-g86h250q.js → location-mutation-g86h250q.js} +0 -0
  754. /package/dist/chunks/{generate-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{generate-gftt206x.js → location-mutation-gftt206x.js} +0 -0
  756. /package/dist/chunks/{generate-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
  757. /package/dist/chunks/{generate-hk9envan.js → location-mutation-hk9envan.js} +0 -0
  758. /package/dist/chunks/{generate-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
  759. /package/dist/chunks/{generate-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
  760. /package/dist/chunks/{generate-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
  761. /package/dist/chunks/{generate-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{generate-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{generate-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{generate-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{generate-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{generate-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{generate-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{generate-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{generate-paphc93g.js → location-mutation-paphc93g.js} +0 -0
  770. /package/dist/chunks/{generate-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
  771. /package/dist/chunks/{generate-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
  772. /package/dist/chunks/{generate-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
  773. /package/dist/chunks/{generate-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
  774. /package/dist/chunks/{generate-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
  775. /package/dist/chunks/{generate-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
  776. /package/dist/chunks/{generate-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
  777. /package/dist/chunks/{generate-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
  778. /package/dist/chunks/{generate-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
  779. /package/dist/chunks/{generate-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
  780. /package/dist/chunks/{generate-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
  781. /package/dist/chunks/{generate-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
  782. /package/dist/chunks/{generate-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
  783. /package/dist/chunks/{generate-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
  784. /package/dist/chunks/{generate-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
  785. /package/dist/chunks/{generate-x61499pn.js → location-mutation-x61499pn.js} +0 -0
  786. /package/dist/chunks/{generate-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
  787. /package/dist/chunks/{generate-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
  788. /package/dist/chunks/{generate-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
  789. /package/dist/chunks/{generate-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
  790. /package/dist/chunks/{generate-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
  791. /package/dist/chunks/{generate-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service76
3
- } from "./generate-62en8r1m.js";
2
+ Service75
3
+ } from "./location-mutation-x0mhhfm8.js";
4
4
  import {
5
- Service67
6
- } from "./generate-gynya4d5.js";
5
+ Service69
6
+ } from "./location-mutation-3k4j4gra.js";
7
7
  import {
8
- Service15,
8
+ Service14,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./generate-9wewr7va.js";
11
+ } from "./location-mutation-1gg3p1ss.js";
12
12
  import {
13
- Service17
14
- } from "./generate-fq9xr2c7.js";
13
+ Service48
14
+ } from "./location-mutation-r4ym21ta.js";
15
15
  import {
16
- Service71
17
- } from "./generate-fntg193g.js";
16
+ Service61
17
+ } from "./location-mutation-9dpgmzkp.js";
18
18
  import {
19
- Service16,
19
+ Service58,
20
20
  resolvePath2
21
- } from "./generate-hsh8wwzp.js";
21
+ } from "./location-mutation-t5qf6yxf.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./generate-6prwharc.js";
24
+ } from "./location-mutation-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./generate-9rqn6x4v.js";
27
+ } from "./location-mutation-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input8,
34
- Output: () => Output5,
35
- Plugin: () => Plugin9,
36
- name: () => name8
33
+ Input: () => Input3,
34
+ Output: () => Output3,
35
+ Plugin: () => Plugin22,
36
+ name: () => name3
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name8 = "edit";
43
- var Input8 = Schema.Struct({
42
+ var name3 = "edit";
43
+ var Input3 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input8 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output5 = Schema.Struct({
53
+ var Output3 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin9 = {
106
+ var Plugin22 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service16;
110
- const fileMutation = yield* Service15;
111
- const environment = yield* Service67;
112
- const formatter = yield* Service17;
113
- const location = yield* Service76;
114
- const permission = yield* Service71;
109
+ const access = yield* Service58;
110
+ const fileMutation = yield* Service14;
111
+ const environment = yield* Service69;
112
+ const formatter = yield* Service48;
113
+ const location = yield* Service75;
114
+ const permission = yield* Service61;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name8,
116
+ name: name3,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input8,
120
- output: Output5,
119
+ input: Input3,
120
+ output: Output3,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin9 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name8, Input8, Output5, Plugin9, exports_edit };
197
+ export { name3, Input3, Output3, Plugin22, exports_edit };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./generate-922hggd3.js";
5
+ } from "./location-mutation-922hggd3.js";
6
6
  import {
7
- Service67,
8
- node71
9
- } from "./generate-gynya4d5.js";
7
+ Service69,
8
+ node73
9
+ } from "./location-mutation-3k4j4gra.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./generate-8d7r5vzw.js";
12
+ } from "./location-mutation-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./generate-9rqn6x4v.js";
15
+ } from "./location-mutation-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error3,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service66,
24
- node: () => node70
23
+ Service: () => Service68,
24
+ node: () => node72
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service66 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service68 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error3({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service66, Effect.gen(function* () {
67
- const environment = yield* Service67;
66
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
67
+ const environment = yield* Service69;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service66.of({
95
+ return Service68.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node70 = makeLocationNode({ service: Service66, layer, deps: [node71, RipgrepBinary2.node] });
178
+ var node72 = makeLocationNode({ service: Service68, layer, deps: [node73, RipgrepBinary2.node] });
179
179
 
180
- export { Error3, InvalidPatternError2, Service66, node70, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service68, node72, exports_ripgrep };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info23
5
- } from "./generate-938z9950.js";
4
+ Info19
5
+ } from "./location-mutation-34y9ksvj.js";
6
6
  import {
7
- Info22
8
- } from "./generate-htd8zck5.js";
7
+ Info18
8
+ } from "./location-mutation-x0tkz7jk.js";
9
9
  import {
10
10
  Service79,
11
11
  node84
12
- } from "./generate-jcww1zet.js";
12
+ } from "./location-mutation-1hkx1n6e.js";
13
13
  import {
14
14
  create3
15
- } from "./generate-kg06axw8.js";
15
+ } from "./location-mutation-kg06axw8.js";
16
16
  import {
17
- ID5,
18
- Service61,
19
- node65
20
- } from "./generate-s539y83q.js";
17
+ ID14,
18
+ Service71,
19
+ node76
20
+ } from "./location-mutation-2pwgvmd7.js";
21
21
  import {
22
22
  __export
23
- } from "./generate-9rqn6x4v.js";
23
+ } from "./location-mutation-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event13,
30
- Service: () => Service60,
31
- node: () => node64
29
+ Event: () => Event7,
30
+ Service: () => Service46,
31
+ node: () => node49
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event13 } from "@opencode/schema/catalog";
36
+ import { Event as Event7 } from "@opencode/schema/catalog";
37
37
 
38
- class Service60 extends Context.Service()("@opencode/Catalog") {
38
+ class Service46 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service60, Effect.gen(function* () {
40
+ var layer = Layer.effect(Service46, Effect.gen(function* () {
41
41
  const bus = yield* Service79;
42
- const integrations = yield* Service61;
42
+ const integrations = yield* Service71;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
73
73
  let current = editor.providers.get(providerID);
74
74
  if (!current) {
75
75
  current = {
76
- provider: Info23.empty(providerID),
76
+ provider: Info19.empty(providerID),
77
77
  models: new Map
78
78
  };
79
79
  editor.providers.set(providerID, current);
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
91
91
  let record = editor.providers.get(providerID);
92
92
  if (!record) {
93
93
  record = {
94
- provider: Info23.empty(providerID),
94
+ provider: Info19.empty(providerID),
95
95
  models: new Map
96
96
  };
97
97
  editor.providers.set(providerID, record);
98
98
  }
99
- const model = record.models.get(modelID) ?? Info22.default(providerID, modelID);
99
+ const model = record.models.get(modelID) ?? Info18.default(providerID, modelID);
100
100
  if (!record.models.has(modelID))
101
101
  record.models.set(modelID, model);
102
102
  fn(model);
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
130
130
  }),
131
131
  available: Effect.fn("Catalog.provider.available")(function* () {
132
132
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
133
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID5.make(provider.id))));
133
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID14.make(provider.id))));
134
134
  })
135
135
  },
136
136
  model: {
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
185
185
  })
186
186
  }
187
187
  };
188
- return Service60.of(result);
188
+ return Service46.of(result);
189
189
  }));
190
190
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
191
- var node64 = makeLocationNode({ service: Service60, layer, deps: [node84, node65] });
191
+ var node49 = makeLocationNode({ service: Service46, layer, deps: [node84, node76] });
192
192
 
193
- export { Service60, node64, exports_catalog2, Event13 };
193
+ export { Service46, node49, exports_catalog2, Event7 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./location-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./generate-jcww1zet.js";
5
+ } from "./location-mutation-1hkx1n6e.js";
6
6
  import {
7
7
  __export
8
- } from "./generate-9rqn6x4v.js";
8
+ } from "./location-mutation-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service10,
14
+ Service: () => Service5,
15
15
  Updated: () => Updated2,
16
16
  layer: () => layer6,
17
- node: () => node13
17
+ node: () => node8
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service10 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service5 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer6 = Layer.effect(Service10, Effect.gen(function* () {
25
+ var layer6 = Layer.effect(Service5, Effect.gen(function* () {
26
26
  const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service10.of({
29
+ return Service5.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node13 = makeGlobalNode({ service: Service10, layer: layer6, deps: [node84] });
36
+ var node8 = makeGlobalNode({ service: Service5, layer: layer6, deps: [node84] });
37
37
 
38
- export { Updated2, Service10, layer6, node13, exports_sdk };
38
+ export { Updated2, Service5, layer6, node8, exports_sdk };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./generate-kg06axw8.js";
3
+ } from "./location-mutation-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./location-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service6,
13
- node: () => node9
12
+ Service: () => Service8,
13
+ node: () => node11
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service6 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service6, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service6.of({
44
+ return Service8.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node9 = makeLocationNode({ service: Service6, layer, deps: [] });
51
+ var node11 = makeLocationNode({ service: Service8, layer, deps: [] });
52
52
 
53
- export { Service6, node9, exports_location_watcher_policy };
53
+ export { Service8, node11, exports_location_watcher_policy };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./generate-jcww1zet.js";
4
+ } from "./location-mutation-1hkx1n6e.js";
5
5
  import {
6
6
  create3
7
- } from "./generate-kg06axw8.js";
7
+ } from "./location-mutation-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./generate-9rqn6x4v.js";
10
+ } from "./location-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event19,
18
- ID: () => ID15,
19
- Info: () => Info29,
17
+ Event: () => Event14,
18
+ ID: () => ID11,
19
+ Info: () => Info24,
20
20
  Name: () => Name3,
21
- Service: () => Service74,
21
+ Service: () => Service64,
22
22
  defaultID: () => defaultID2,
23
- node: () => node79
23
+ node: () => node68
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event19 } from "@opencode/schema/agent";
30
+ import { Event as Event14 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID15 = Agent.ID;
33
+ var ID11 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID15.make("build");
35
+ var defaultID2 = ID11.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info29 = Agent.Info;
37
+ var Info24 = Agent.Info;
38
38
 
39
- class Service74 extends Context.Service()("@opencode/Agent") {
39
+ class Service64 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service74, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
42
42
  const bus = yield* Service79;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info29.default(id);
60
+ const defaults = Info24.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID15.make("build")));
82
+ const build = selectable(data.agents.get(ID11.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service74.of({
91
+ return Service64.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID15.make(id));
99
+ return state.get().agents.get(ID11.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID15.make(id);
104
+ const selected = ID11.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node79 = makeLocationNode({ service: Service74, layer, deps: [node84, Global.node] });
119
+ var node68 = makeLocationNode({ service: Service64, layer, deps: [node84, Global.node] });
120
120
 
121
- export { ID15, Name3, defaultID2, Color2, Info29, Service74, node79, exports_agent4, Event19 };
121
+ export { ID11, Name3, defaultID2, Color2, Info24, Service64, node68, exports_agent4, Event14 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./generate-ym463w8f.js";
3
+ } from "./location-mutation-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service78
3
- } from "./generate-3dd05w7p.js";
2
+ Service77
3
+ } from "./location-mutation-7nzveyhj.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
- canonical3
7
- } from "./generate-th5km1p3.js";
6
+ canonical2
7
+ } from "./location-mutation-gv6a8nnw.js";
8
8
  import {
9
9
  __export
10
- } from "./generate-9rqn6x4v.js";
10
+ } from "./location-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/worktree/git.ts
13
13
  var exports_git2 = {};
14
14
  __export(exports_git2, {
15
15
  WorktreeGit: () => exports_git2,
16
- make: () => make18
16
+ make: () => make12
17
17
  });
18
18
  import { Effect } from "effect";
19
19
  import { Worktree } from "@opencode/schema/worktree";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
- var make18 = Effect.gen(function* () {
21
+ var make12 = Effect.gen(function* () {
22
22
  const fs = yield* FSUtil.Service;
23
- const git = yield* Service78;
23
+ const git = yield* Service77;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -28,7 +28,7 @@ var make18 = Effect.gen(function* () {
28
28
  if (!repository)
29
29
  return yield* new DirectoryUnavailableError2({ directory: input.sourceDirectory });
30
30
  yield* git.worktree.create({ repository, directory: input.directory, ref: input.branch });
31
- return { directory: yield* canonical3(fs, input.directory) };
31
+ return { directory: yield* canonical2(fs, input.directory) };
32
32
  }),
33
33
  remove: Effect.fn("Worktree.Git.remove")(function* (input) {
34
34
  const repository = yield* git.repo.discover(input.directory);
@@ -41,9 +41,9 @@ var make18 = Effect.gen(function* () {
41
41
  if (!repository)
42
42
  return yield* new DirectoryUnavailableError2({ directory });
43
43
  const entries = yield* git.worktree.list(repository);
44
- return yield* Effect.forEach(entries, (entry) => canonical3(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
44
+ return yield* Effect.forEach(entries, (entry) => canonical2(fs, entry.directory).pipe(Effect.map((directory) => ({ directory, type: entry.kind === "main" ? "root" : "worktree" })), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined))).pipe(Effect.map((items) => items.filter((item) => item !== undefined)));
45
45
  })
46
46
  };
47
47
  });
48
48
 
49
- export { make18, exports_git2 };
49
+ export { make12, exports_git2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  loadSDKFactory2
3
- } from "./generate-hjbc5kem.js";
3
+ } from "./location-mutation-hjbc5kem.js";
4
4
 
5
5
  // src/plugin/provider/dynamic.ts
6
6
  import { Effect } from "effect";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service53
4
- } from "./generate-e9bv773h.js";
3
+ Service51
4
+ } from "./location-mutation-gy168q6x.js";
5
5
  import {
6
- Service52
7
- } from "./generate-cd6ptskk.js";
6
+ Service59
7
+ } from "./location-mutation-9vh0xv9k.js";
8
8
  import {
9
9
  observe2
10
- } from "./generate-qsdy395h.js";
10
+ } from "./location-mutation-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./generate-9rqn6x4v.js";
13
+ } from "./location-mutation-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin19
19
+ Plugin: () => Plugin20
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin19 = define({
23
+ var Plugin20 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service53;
27
- const output = yield* Service52;
26
+ const config = yield* Service51;
27
+ const output = yield* Service59;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin19 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin19, exports_tool_output };
41
+ export { Plugin20, exports_tool_output };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./generate-emrn6kk6.js";
4
+ } from "./location-mutation-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/delete.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./generate-938z9950.js";
4
+ } from "./location-mutation-34y9ksvj.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";