@opencode/core 0.0.0-dev-21458 → 0.0.0-dev-21463

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 (485) hide show
  1. package/dist/agent.js +66 -66
  2. package/dist/aisdk-native.js +70 -70
  3. package/dist/aisdk.js +75 -75
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +54 -54
  6. package/dist/chunks/{ripgrep-vy2epn4a.js → ripgrep-06h1tyz4.js} +4 -4
  7. package/dist/chunks/{ripgrep-ag4rn41e.js → ripgrep-06x8he3q.js} +3 -3
  8. package/dist/chunks/{ripgrep-ww55sn04.js → ripgrep-09c1zjrt.js} +15 -15
  9. package/dist/chunks/{ripgrep-v210v162.js → ripgrep-0javqkgf.js} +7 -7
  10. package/dist/chunks/{ripgrep-1rs87y8d.js → ripgrep-0nmqjfd0.js} +23 -23
  11. package/dist/chunks/{ripgrep-xdh6s9ed.js → ripgrep-124s2bhj.js} +10 -10
  12. package/dist/chunks/{ripgrep-emzsebxx.js → ripgrep-1fmrbde1.js} +5 -5
  13. package/dist/chunks/{ripgrep-w7vtcvrx.js → ripgrep-1gvanxjs.js} +32 -32
  14. package/dist/chunks/{ripgrep-4kvg6bn8.js → ripgrep-1jshh0hj.js} +20 -20
  15. package/dist/chunks/{ripgrep-sdzwknx0.js → ripgrep-1rwjpbn5.js} +24 -24
  16. package/dist/chunks/{ripgrep-hdgw5fjw.js → ripgrep-1w5qwmmm.js} +7 -7
  17. package/dist/chunks/{ripgrep-zzdkzef9.js → ripgrep-1zd1rgqx.js} +17 -17
  18. package/dist/chunks/{ripgrep-amt7ef5n.js → ripgrep-22v61q2t.js} +9 -9
  19. package/dist/chunks/{ripgrep-y8ycp07x.js → ripgrep-230myn37.js} +14 -14
  20. package/dist/chunks/{ripgrep-6ac9zck1.js → ripgrep-251hxpd6.js} +1 -1
  21. package/dist/chunks/{ripgrep-1ep2p91f.js → ripgrep-27w5k9zf.js} +1 -1
  22. package/dist/chunks/{ripgrep-ar5c37sv.js → ripgrep-298dhb3n.js} +17 -17
  23. package/dist/chunks/{ripgrep-tzvv02w3.js → ripgrep-29mhb2se.js} +48 -48
  24. package/dist/chunks/{ripgrep-edj082x0.js → ripgrep-2r363r85.js} +3 -3
  25. package/dist/chunks/{ripgrep-d4he2qe1.js → ripgrep-2sejkfem.js} +7 -7
  26. package/dist/chunks/{ripgrep-2h0q315h.js → ripgrep-2sstcm55.js} +10 -10
  27. package/dist/chunks/{ripgrep-mzrmbcee.js → ripgrep-2wqnbphr.js} +12 -12
  28. package/dist/chunks/{ripgrep-yggz4gjb.js → ripgrep-2wvr9kck.js} +45 -45
  29. package/dist/chunks/{ripgrep-cz0dahpr.js → ripgrep-312nns96.js} +6 -6
  30. package/dist/chunks/{ripgrep-am1tmpj5.js → ripgrep-3220qrgn.js} +8 -8
  31. package/dist/chunks/{ripgrep-7hppxa70.js → ripgrep-3k2tm6e9.js} +1 -1
  32. package/dist/chunks/{ripgrep-68w3xa91.js → ripgrep-3mqyb98t.js} +3 -3
  33. package/dist/chunks/ripgrep-3qcx2nn5.js +257 -0
  34. package/dist/chunks/{ripgrep-hc033k72.js → ripgrep-3vt2dxg2.js} +2 -2
  35. package/dist/chunks/{ripgrep-pgp1nwjn.js → ripgrep-44ak30pa.js} +3 -3
  36. package/dist/chunks/{ripgrep-1rw66me6.js → ripgrep-49j0r9af.js} +17 -17
  37. package/dist/chunks/{ripgrep-dt0gb5zd.js → ripgrep-4kjvvtcf.js} +13 -13
  38. package/dist/chunks/{ripgrep-w39jehkq.js → ripgrep-4xpgt2w9.js} +3 -3
  39. package/dist/chunks/{ripgrep-f9ewqnvf.js → ripgrep-4yszj04w.js} +31 -31
  40. package/dist/chunks/{ripgrep-rxkx3yrv.js → ripgrep-4zd5n188.js} +22 -22
  41. package/dist/chunks/{ripgrep-b0k3m5sv.js → ripgrep-50ttpepc.js} +46 -46
  42. package/dist/chunks/{ripgrep-dzrdd8y4.js → ripgrep-560zx63f.js} +1 -1
  43. package/dist/chunks/{ripgrep-9jdajzrt.js → ripgrep-57pprckc.js} +19 -19
  44. package/dist/chunks/{ripgrep-2n3wn4cc.js → ripgrep-5cfq97pr.js} +25 -25
  45. package/dist/chunks/{ripgrep-m1jhgcxs.js → ripgrep-5cwz5tfs.js} +2 -2
  46. package/dist/chunks/{ripgrep-q3myhh1r.js → ripgrep-5d51bkr7.js} +44 -44
  47. package/dist/chunks/{ripgrep-vep9yay1.js → ripgrep-5g57z1ma.js} +3 -3
  48. package/dist/chunks/{ripgrep-hxcjpjn2.js → ripgrep-5h8zx44a.js} +17 -17
  49. package/dist/chunks/{ripgrep-5wbw6pv9.js → ripgrep-5kk0g6xv.js} +9 -9
  50. package/dist/chunks/{ripgrep-n7qpxvtd.js → ripgrep-5wdmk2gh.js} +28 -28
  51. package/dist/chunks/{ripgrep-e696dwzt.js → ripgrep-68zvyq3x.js} +8 -8
  52. package/dist/chunks/{ripgrep-apt503cy.js → ripgrep-6dx9d91q.js} +8 -8
  53. package/dist/chunks/{ripgrep-3fnjy7d5.js → ripgrep-6gya5b2a.js} +35 -35
  54. package/dist/chunks/{ripgrep-9wn2agq9.js → ripgrep-6mjf37c3.js} +30 -30
  55. package/dist/chunks/{ripgrep-y4fgtena.js → ripgrep-6s32m78n.js} +83 -83
  56. package/dist/chunks/{ripgrep-06m8zqpz.js → ripgrep-6ypqa0d2.js} +26 -26
  57. package/dist/chunks/{ripgrep-6sdx5bv6.js → ripgrep-713a57ta.js} +1 -1
  58. package/dist/chunks/{ripgrep-nj7hqrdc.js → ripgrep-72x17vkx.js} +7 -7
  59. package/dist/chunks/{ripgrep-t6z5h8be.js → ripgrep-75d596k4.js} +19 -19
  60. package/dist/chunks/{ripgrep-8w348b9w.js → ripgrep-77jva0j9.js} +6 -6
  61. package/dist/chunks/{ripgrep-607tc6va.js → ripgrep-7dqw4kz8.js} +4 -4
  62. package/dist/chunks/{ripgrep-ce3ajj6n.js → ripgrep-7e8r663x.js} +32 -32
  63. package/dist/chunks/{ripgrep-725dzmat.js → ripgrep-7jxgd9ay.js} +19 -19
  64. package/dist/chunks/{ripgrep-6m78wcz4.js → ripgrep-86gy2e90.js} +27 -27
  65. package/dist/chunks/{ripgrep-wbcvfxpg.js → ripgrep-8eadsrjy.js} +25 -25
  66. package/dist/chunks/{ripgrep-ryb7mfzk.js → ripgrep-8fmaj9a8.js} +18 -18
  67. package/dist/chunks/{ripgrep-hes8zqkx.js → ripgrep-8hs2d1kn.js} +10 -10
  68. package/dist/chunks/{ripgrep-ekrj3q3n.js → ripgrep-8sjwbqp5.js} +16 -16
  69. package/dist/chunks/{ripgrep-xw9fg8fb.js → ripgrep-8vcf4cwr.js} +1 -1
  70. package/dist/chunks/{ripgrep-eydep5ty.js → ripgrep-8wx9bhg6.js} +1 -1
  71. package/dist/chunks/{ripgrep-qcqpgb6f.js → ripgrep-91af422c.js} +15 -15
  72. package/dist/chunks/{ripgrep-v9ep9kw5.js → ripgrep-989d504g.js} +36 -36
  73. package/dist/chunks/{ripgrep-r4fw60a8.js → ripgrep-9ms3qzpy.js} +4 -4
  74. package/dist/chunks/{ripgrep-kmgpx441.js → ripgrep-9nhbmbq3.js} +9 -9
  75. package/dist/chunks/{ripgrep-fh3hfgk9.js → ripgrep-9xj3p3b6.js} +17 -17
  76. package/dist/chunks/{ripgrep-1vp80wqe.js → ripgrep-a0b0pnyt.js} +1 -1
  77. package/dist/chunks/{ripgrep-ye89p72n.js → ripgrep-a3w6cej7.js} +15 -15
  78. package/dist/chunks/{ripgrep-e2qvw7zx.js → ripgrep-abwmzdm0.js} +10 -10
  79. package/dist/chunks/{ripgrep-9vr292v9.js → ripgrep-agt495f3.js} +10 -10
  80. package/dist/chunks/{ripgrep-p2kzfj7d.js → ripgrep-avj6wgd7.js} +25 -25
  81. package/dist/chunks/{ripgrep-csqw7sk8.js → ripgrep-axkwkzd9.js} +11 -11
  82. package/dist/chunks/{ripgrep-8w0fc9v5.js → ripgrep-ayvmmyqf.js} +19 -19
  83. package/dist/chunks/{ripgrep-h0pyfwgt.js → ripgrep-b1hts85v.js} +22 -22
  84. package/dist/chunks/{ripgrep-gdbaa3vm.js → ripgrep-b7pfhk9a.js} +16 -16
  85. package/dist/chunks/{ripgrep-9f2mr1jq.js → ripgrep-bd8280h5.js} +17 -17
  86. package/dist/chunks/{ripgrep-4w1f8scj.js → ripgrep-bh4seszr.js} +30 -30
  87. package/dist/chunks/{ripgrep-hsmryvj1.js → ripgrep-bj5f8pf2.js} +4 -4
  88. package/dist/chunks/{ripgrep-wjr9rjd7.js → ripgrep-bjx1sjef.js} +4 -4
  89. package/dist/chunks/{ripgrep-gbqxypma.js → ripgrep-bmff2rpw.js} +24 -24
  90. package/dist/chunks/{ripgrep-e0b2kra3.js → ripgrep-bqwheb6v.js} +9 -9
  91. package/dist/chunks/{ripgrep-y24qngx4.js → ripgrep-c1kvbfjw.js} +12 -12
  92. package/dist/chunks/ripgrep-cb080mpn.js +26 -0
  93. package/dist/chunks/{ripgrep-xkajykm3.js → ripgrep-cph4sz5z.js} +11 -11
  94. package/dist/chunks/{ripgrep-5246atra.js → ripgrep-cvb5s8dx.js} +11 -11
  95. package/dist/chunks/{ripgrep-9cn598b5.js → ripgrep-cys88cvv.js} +5 -5
  96. package/dist/chunks/{ripgrep-ssc22y53.js → ripgrep-d3fk46xw.js} +28 -28
  97. package/dist/chunks/{ripgrep-abzgq1nw.js → ripgrep-d9ddtp67.js} +13 -13
  98. package/dist/chunks/{ripgrep-5rkje03p.js → ripgrep-dcf9rm2z.js} +5 -5
  99. package/dist/chunks/{ripgrep-b19v66bv.js → ripgrep-dfe61pt0.js} +41 -41
  100. package/dist/chunks/{ripgrep-dd2wt6q1.js → ripgrep-dgwfvztm.js} +17 -17
  101. package/dist/chunks/{ripgrep-xj1aydcy.js → ripgrep-dhb2hta4.js} +3 -3
  102. package/dist/chunks/{ripgrep-tfx4s5nm.js → ripgrep-dtt6326j.js} +7 -7
  103. package/dist/chunks/{ripgrep-hg8tkm75.js → ripgrep-e0d821cc.js} +6 -6
  104. package/dist/chunks/{ripgrep-7bjfyzh8.js → ripgrep-e1kmgh1g.js} +46 -46
  105. package/dist/chunks/{ripgrep-rncype5f.js → ripgrep-e225h40x.js} +17 -17
  106. package/dist/chunks/{ripgrep-7t3xedjm.js → ripgrep-e33zja9b.js} +33 -33
  107. package/dist/chunks/{ripgrep-enrp405z.js → ripgrep-edswj8x3.js} +17 -17
  108. package/dist/chunks/{ripgrep-bstm3mwn.js → ripgrep-eev4j3tf.js} +12 -12
  109. package/dist/chunks/{ripgrep-8vya4b9k.js → ripgrep-efw5yz4r.js} +43 -43
  110. package/dist/chunks/{ripgrep-c99e4gbg.js → ripgrep-eh2h7xf4.js} +15 -15
  111. package/dist/chunks/{ripgrep-zqecfbxk.js → ripgrep-eyakfeqd.js} +13 -13
  112. package/dist/chunks/{ripgrep-jszh17ab.js → ripgrep-f6egx6pd.js} +22 -22
  113. package/dist/chunks/{ripgrep-p8mhfpfb.js → ripgrep-fmcqyzhx.js} +7 -7
  114. package/dist/chunks/{ripgrep-t2fc4mz5.js → ripgrep-fqb2p7cx.js} +3 -3
  115. package/dist/chunks/{ripgrep-ff0c8932.js → ripgrep-fs83kz7m.js} +9 -9
  116. package/dist/chunks/{ripgrep-jp9kzq14.js → ripgrep-fxq1hvsx.js} +3 -3
  117. package/dist/chunks/{ripgrep-p42hj8p8.js → ripgrep-g0445xdp.js} +7 -7
  118. package/dist/chunks/{ripgrep-n8gj4qy5.js → ripgrep-g1962y70.js} +19 -19
  119. package/dist/chunks/{ripgrep-mg37qacw.js → ripgrep-g2kqvpw2.js} +19 -14
  120. package/dist/chunks/{ripgrep-y7nndgyc.js → ripgrep-g686f6pq.js} +7 -7
  121. package/dist/chunks/{ripgrep-w19xc5wf.js → ripgrep-g721rhm1.js} +18 -18
  122. package/dist/chunks/{ripgrep-b6rsy5zn.js → ripgrep-gd45gbwy.js} +15 -15
  123. package/dist/chunks/{ripgrep-9hwaqfsw.js → ripgrep-gj71zhbs.js} +3 -3
  124. package/dist/chunks/{ripgrep-yb81whfj.js → ripgrep-gjbmpe49.js} +30 -30
  125. package/dist/chunks/{ripgrep-vdxz864t.js → ripgrep-gk6en6xk.js} +35 -35
  126. package/dist/chunks/{ripgrep-868jxd9s.js → ripgrep-gw2dacjw.js} +27 -27
  127. package/dist/chunks/{ripgrep-y11negt3.js → ripgrep-h0qy9bnt.js} +5 -5
  128. package/dist/chunks/{ripgrep-qw7cqan8.js → ripgrep-h47csjds.js} +64 -64
  129. package/dist/chunks/{ripgrep-vdmef0hv.js → ripgrep-h6vdgmbd.js} +32 -32
  130. package/dist/chunks/{ripgrep-rjsqaxa7.js → ripgrep-hcv80w8f.js} +3 -3
  131. package/dist/chunks/{ripgrep-cne4vwe6.js → ripgrep-hd44qvhb.js} +14 -14
  132. package/dist/chunks/{ripgrep-bvkvrv05.js → ripgrep-hfj6ba10.js} +17 -17
  133. package/dist/chunks/{ripgrep-w1yzj816.js → ripgrep-hhvzr4qm.js} +21 -21
  134. package/dist/chunks/{ripgrep-df173w7t.js → ripgrep-hm49vy5t.js} +9 -9
  135. package/dist/chunks/{ripgrep-ms93yq6r.js → ripgrep-hpfvhvya.js} +7 -7
  136. package/dist/chunks/{ripgrep-khmqacep.js → ripgrep-hq3c8me3.js} +3 -3
  137. package/dist/chunks/{ripgrep-53tbswfk.js → ripgrep-hs6ysvtc.js} +32 -32
  138. package/dist/chunks/{ripgrep-897yn8js.js → ripgrep-htbjkf0w.js} +1 -1
  139. package/dist/chunks/{ripgrep-pev3esbk.js → ripgrep-hxsbxgw0.js} +34 -34
  140. package/dist/chunks/{ripgrep-4rb4nh12.js → ripgrep-j0pnngg3.js} +21 -21
  141. package/dist/chunks/{ripgrep-8xxtntea.js → ripgrep-j4axjra1.js} +9 -9
  142. package/dist/chunks/{ripgrep-dpf25vxh.js → ripgrep-jga877gc.js} +16 -16
  143. package/dist/chunks/{ripgrep-7v685v47.js → ripgrep-jqvncec7.js} +41 -41
  144. package/dist/chunks/{ripgrep-mr9jz2wx.js → ripgrep-jv8w58zf.js} +27 -27
  145. package/dist/chunks/{ripgrep-y0g19xg0.js → ripgrep-jx1ed50p.js} +45 -20
  146. package/dist/chunks/{ripgrep-wh5v440s.js → ripgrep-jyarf421.js} +4 -4
  147. package/dist/chunks/{ripgrep-7x97mf13.js → ripgrep-k7ct3b4w.js} +17 -17
  148. package/dist/chunks/{ripgrep-kpd84ec7.js → ripgrep-k8yk4ekq.js} +13 -13
  149. package/dist/chunks/{ripgrep-d9xyp96y.js → ripgrep-k9s1epkc.js} +7 -7
  150. package/dist/chunks/{ripgrep-zdxaswdy.js → ripgrep-k9tfrms9.js} +8 -8
  151. package/dist/chunks/{ripgrep-swz7b57b.js → ripgrep-kxpg0xct.js} +1 -1
  152. package/dist/chunks/{ripgrep-230q3gjt.js → ripgrep-kzrm98pv.js} +19 -19
  153. package/dist/chunks/{ripgrep-cw4w83nc.js → ripgrep-m1q28qka.js} +8 -8
  154. package/dist/chunks/{ripgrep-9ha6dkfn.js → ripgrep-mda08b8j.js} +9 -9
  155. package/dist/chunks/{ripgrep-k63sy5rb.js → ripgrep-mez1mdm0.js} +18 -18
  156. package/dist/chunks/{ripgrep-1gbrraea.js → ripgrep-mk60gw4q.js} +13 -13
  157. package/dist/chunks/{ripgrep-kax56nr6.js → ripgrep-mmjfp5s5.js} +10 -10
  158. package/dist/chunks/{ripgrep-m5jcjszt.js → ripgrep-my4zabxr.js} +3 -3
  159. package/dist/chunks/{ripgrep-gs3jaab1.js → ripgrep-n4h5z8fw.js} +21 -21
  160. package/dist/chunks/{ripgrep-vbc0n61v.js → ripgrep-nfj18b9m.js} +26 -26
  161. package/dist/chunks/{ripgrep-1sqf9bkf.js → ripgrep-ng3918dk.js} +4 -4
  162. package/dist/chunks/{ripgrep-2r6y34sj.js → ripgrep-nyg27w76.js} +2 -2
  163. package/dist/chunks/{ripgrep-dgzq35zb.js → ripgrep-p50c7myx.js} +1 -1
  164. package/dist/chunks/{ripgrep-1a2y92ex.js → ripgrep-pa098ddb.js} +42 -42
  165. package/dist/chunks/{ripgrep-pwt87mrq.js → ripgrep-pd1jyj3n.js} +14 -14
  166. package/dist/chunks/{ripgrep-v0ymv6m8.js → ripgrep-pkwzmj2h.js} +14 -14
  167. package/dist/chunks/{ripgrep-etg1n2kx.js → ripgrep-pnjc2gnv.js} +340 -334
  168. package/dist/chunks/{ripgrep-dadd6d4y.js → ripgrep-pq2gcbye.js} +18 -18
  169. package/dist/chunks/{ripgrep-bzywf3e9.js → ripgrep-prc3rt3m.js} +5 -5
  170. package/dist/chunks/{ripgrep-bydnjh3t.js → ripgrep-prq7hedt.js} +7 -7
  171. package/dist/chunks/{ripgrep-vrwbrhmt.js → ripgrep-prsxfqy1.js} +19 -19
  172. package/dist/chunks/{ripgrep-anw46eb6.js → ripgrep-pxnwhmcf.js} +6 -6
  173. package/dist/chunks/{ripgrep-7fkffz83.js → ripgrep-py3kkmfq.js} +3 -3
  174. package/dist/chunks/{ripgrep-kkve0fs6.js → ripgrep-pz39tkx9.js} +33 -33
  175. package/dist/chunks/{ripgrep-gyce5qg1.js → ripgrep-q509s3k3.js} +4 -4
  176. package/dist/chunks/{ripgrep-z96h84jq.js → ripgrep-q59jvvg4.js} +22 -22
  177. package/dist/chunks/{ripgrep-fnfphwr6.js → ripgrep-q9z8ctd8.js} +7 -7
  178. package/dist/chunks/{ripgrep-bq4j2sbx.js → ripgrep-qhdh8prp.js} +42 -42
  179. package/dist/chunks/{ripgrep-7em0bpab.js → ripgrep-qmm8f62j.js} +16 -16
  180. package/dist/chunks/{ripgrep-gs3s1a1g.js → ripgrep-qwjmgwmn.js} +7 -7
  181. package/dist/chunks/{ripgrep-e80seqcp.js → ripgrep-r2z489rp.js} +2 -2
  182. package/dist/chunks/{ripgrep-vhm2adcw.js → ripgrep-r565a100.js} +24 -24
  183. package/dist/chunks/{ripgrep-21sepexc.js → ripgrep-r8ay4eh8.js} +13 -13
  184. package/dist/chunks/{ripgrep-yn7c86qb.js → ripgrep-rbnhhjf8.js} +43 -43
  185. package/dist/chunks/{ripgrep-6t9ywwra.js → ripgrep-rbzr3q5g.js} +5 -5
  186. package/dist/chunks/{ripgrep-sqq24m9r.js → ripgrep-rf4xhyrq.js} +30 -30
  187. package/dist/chunks/{ripgrep-9wetr4xy.js → ripgrep-rfmtd9hm.js} +7 -7
  188. package/dist/chunks/{ripgrep-vbgdajqt.js → ripgrep-rpbyp8pn.js} +8 -8
  189. package/dist/chunks/{ripgrep-68w7pmtx.js → ripgrep-rqbrrxj6.js} +12 -12
  190. package/dist/chunks/{ripgrep-1xpgrxnn.js → ripgrep-rvn8t98y.js} +13 -13
  191. package/dist/chunks/{ripgrep-cv5sbdhn.js → ripgrep-rvnqf66d.js} +11 -11
  192. package/dist/chunks/{ripgrep-pazj47g9.js → ripgrep-s7158cf1.js} +4 -4
  193. package/dist/chunks/{ripgrep-hcwzd9ve.js → ripgrep-s7pm50yw.js} +4 -4
  194. package/dist/chunks/{ripgrep-rhjbct0v.js → ripgrep-s8d7rejh.js} +3 -3
  195. package/dist/chunks/{ripgrep-tkmw8vhp.js → ripgrep-s96dfbc8.js} +16 -16
  196. package/dist/chunks/{ripgrep-ycn2m60h.js → ripgrep-s9x4dfc6.js} +12 -12
  197. package/dist/chunks/{ripgrep-ppdavc1e.js → ripgrep-sjxt2y8n.js} +183 -183
  198. package/dist/chunks/{ripgrep-vnwvh6x6.js → ripgrep-skxfb30d.js} +25 -25
  199. package/dist/chunks/{ripgrep-6ehbgqat.js → ripgrep-sxzvkvgj.js} +5 -5
  200. package/dist/chunks/{ripgrep-33m7zff6.js → ripgrep-szj64q0v.js} +4 -4
  201. package/dist/chunks/{ripgrep-89znhe33.js → ripgrep-tcezcvh9.js} +3 -3
  202. package/dist/chunks/{ripgrep-dq407baf.js → ripgrep-tt8gc4fv.js} +3 -3
  203. package/dist/chunks/{ripgrep-pmpk6q9r.js → ripgrep-tz783a2y.js} +10 -10
  204. package/dist/chunks/{ripgrep-dx1ezjzk.js → ripgrep-v8351vk8.js} +5 -5
  205. package/dist/chunks/{ripgrep-y6mhz57t.js → ripgrep-vbfgae2j.js} +3 -3
  206. package/dist/chunks/{ripgrep-xb6ffzw0.js → ripgrep-vbnktpmr.js} +8 -8
  207. package/dist/chunks/{ripgrep-tdqqk9tn.js → ripgrep-vc4gp4va.js} +18 -18
  208. package/dist/chunks/{ripgrep-bfrs3k34.js → ripgrep-w7jyze1k.js} +1 -1
  209. package/dist/chunks/{ripgrep-f34pdxph.js → ripgrep-w8tjtray.js} +91 -37
  210. package/dist/chunks/{ripgrep-4bh89e3b.js → ripgrep-waskajng.js} +4 -4
  211. package/dist/chunks/{ripgrep-hfrgt7j1.js → ripgrep-wqgd9sqk.js} +11 -11
  212. package/dist/chunks/{ripgrep-4d2gzzb2.js → ripgrep-wthbqfdd.js} +2 -2
  213. package/dist/chunks/{ripgrep-addxnjmp.js → ripgrep-x661k3y3.js} +3 -3
  214. package/dist/chunks/{ripgrep-y6jtz2hz.js → ripgrep-x831e2b7.js} +14 -14
  215. package/dist/chunks/{ripgrep-stw0ktd7.js → ripgrep-x83knd5j.js} +2 -2
  216. package/dist/chunks/{ripgrep-07n27ccy.js → ripgrep-xc4hpcyp.js} +20 -20
  217. package/dist/chunks/{ripgrep-qqeeq2t9.js → ripgrep-xfkkasph.js} +6 -6
  218. package/dist/chunks/{ripgrep-jwpb8arh.js → ripgrep-xg2cxak3.js} +13 -13
  219. package/dist/chunks/{ripgrep-5tw2jtmr.js → ripgrep-xh90p7br.js} +13 -13
  220. package/dist/chunks/{ripgrep-7vyf5e2n.js → ripgrep-xk3573b9.js} +30 -30
  221. package/dist/chunks/{ripgrep-zh2s0dj1.js → ripgrep-y2w3p8tb.js} +12 -12
  222. package/dist/chunks/{ripgrep-hdavf2z4.js → ripgrep-ye7bjynm.js} +7 -7
  223. package/dist/chunks/{ripgrep-mktar7aj.js → ripgrep-yj7k2rcj.js} +1 -1
  224. package/dist/chunks/{ripgrep-245v63zg.js → ripgrep-ykpagz71.js} +9 -9
  225. package/dist/chunks/{ripgrep-dd35sy3n.js → ripgrep-yn91e0pt.js} +1 -1
  226. package/dist/chunks/{ripgrep-vr617c86.js → ripgrep-yrwfzynx.js} +80 -80
  227. package/dist/chunks/{ripgrep-hmgps8tw.js → ripgrep-ywrpet35.js} +28 -28
  228. package/dist/chunks/{ripgrep-yav0wb01.js → ripgrep-z1ggpzpx.js} +5 -5
  229. package/dist/chunks/{ripgrep-rn08qtw3.js → ripgrep-z55zg8mm.js} +14 -14
  230. package/dist/chunks/{ripgrep-spcybxfk.js → ripgrep-z7669q6a.js} +4 -4
  231. package/dist/chunks/{ripgrep-28k0q56j.js → ripgrep-zky955f5.js} +14 -14
  232. package/dist/codemode/instructions.js +6 -6
  233. package/dist/command.js +64 -64
  234. package/dist/config/discovery.js +66 -66
  235. package/dist/config/normalize.js +78 -78
  236. package/dist/config/plugin/agent.js +92 -92
  237. package/dist/config/plugin/command.js +175 -175
  238. package/dist/config/plugin/compaction.js +121 -121
  239. package/dist/config/plugin/compatibility.js +108 -108
  240. package/dist/config/plugin/formatter.js +91 -91
  241. package/dist/config/plugin/image.js +90 -90
  242. package/dist/config/plugin/instruction.js +91 -91
  243. package/dist/config/plugin/location-watcher.js +90 -90
  244. package/dist/config/plugin/mcp.js +97 -97
  245. package/dist/config/plugin/policy.js +91 -91
  246. package/dist/config/plugin/provider.js +90 -90
  247. package/dist/config/plugin/reference.js +92 -92
  248. package/dist/config/plugin/shell.js +92 -92
  249. package/dist/config/plugin/skill-file.js +81 -81
  250. package/dist/config/plugin/skill.js +111 -111
  251. package/dist/config/plugin/snapshot.js +90 -90
  252. package/dist/config/plugin/source.js +93 -93
  253. package/dist/config/plugin/tool-output.js +91 -91
  254. package/dist/config/plugin/websearch.js +91 -91
  255. package/dist/config/plugin/worktree.js +92 -92
  256. package/dist/config.js +96 -96
  257. package/dist/credential.js +66 -66
  258. package/dist/database/database.js +53 -53
  259. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  260. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  261. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  262. package/dist/database/drizzle/index.js +8 -8
  263. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  264. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  265. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  266. package/dist/database/drizzle.js +8 -8
  267. package/dist/database/migration.gen.js +42 -42
  268. package/dist/database/migration.js +44 -44
  269. package/dist/database/v1-migration.bun.js +11 -11
  270. package/dist/effect/app-node-builder.js +238 -238
  271. package/dist/environment/environment.js +70 -70
  272. package/dist/environment/index.js +70 -70
  273. package/dist/environment/unavailable.js +3 -3
  274. package/dist/event-logger.js +9 -9
  275. package/dist/file-access.js +84 -84
  276. package/dist/file-mutation.js +71 -71
  277. package/dist/filesystem/location-watcher-policy.js +5 -5
  278. package/dist/filesystem/location-watcher.js +187 -187
  279. package/dist/filesystem/protected.js +3 -3
  280. package/dist/filesystem/search.js +79 -79
  281. package/dist/filesystem/watcher.js +13 -13
  282. package/dist/filesystem.js +80 -80
  283. package/dist/form.js +65 -65
  284. package/dist/formatter/builtins.js +3 -3
  285. package/dist/formatter.js +69 -69
  286. package/dist/generate.js +82 -82
  287. package/dist/git.js +7 -7
  288. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  289. package/dist/github-copilot/copilot-provider.js +3 -3
  290. package/dist/github-copilot/models.js +80 -80
  291. package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
  292. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +2 -2
  293. package/dist/image/photon.js +1 -1
  294. package/dist/image.js +5 -5
  295. package/dist/instance/service.js +5 -5
  296. package/dist/instance.js +314 -314
  297. package/dist/instruction-discovery.js +69 -69
  298. package/dist/instructions/builtins.js +69 -69
  299. package/dist/instructions/index.js +3 -3
  300. package/dist/integration/connection.js +3 -3
  301. package/dist/integration.js +70 -70
  302. package/dist/job.js +63 -63
  303. package/dist/kv.js +58 -58
  304. package/dist/location-activity.js +72 -72
  305. package/dist/location-lifecycle.js +87 -87
  306. package/dist/location-service-map.js +68 -68
  307. package/dist/location-services.js +312 -312
  308. package/dist/location.js +69 -69
  309. package/dist/managed-policy.js +7 -7
  310. package/dist/mcp/client.js +19 -19
  311. package/dist/mcp/index.js +83 -83
  312. package/dist/mcp/instructions.js +106 -106
  313. package/dist/mcp/oauth.js +13 -13
  314. package/dist/mcp/stdio.js +67 -67
  315. package/dist/modal/models.js +80 -80
  316. package/dist/model-resolver.js +79 -79
  317. package/dist/model.js +79 -79
  318. package/dist/models-dev.js +87 -87
  319. package/dist/permission/saved.js +71 -71
  320. package/dist/permission/sql.js +3 -3
  321. package/dist/permission.js +89 -89
  322. package/dist/persistent-pty/index.js +73 -73
  323. package/dist/persistent-pty.js +57 -57
  324. package/dist/plugin/agent.js +61 -61
  325. package/dist/plugin/command.js +78 -78
  326. package/dist/plugin/hooks.js +5 -5
  327. package/dist/plugin/host.js +180 -180
  328. package/dist/plugin/identity.js +3 -3
  329. package/dist/plugin/instance.js +5 -5
  330. package/dist/plugin/internal.js +286 -285
  331. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  332. package/dist/plugin/models-dev.js +76 -76
  333. package/dist/plugin/module.js +91 -91
  334. package/dist/plugin/optimize.js +2 -2
  335. package/dist/plugin/plan.js +82 -82
  336. package/dist/plugin/provider/amazon-bedrock.js +71 -71
  337. package/dist/plugin/provider/azure.js +91 -91
  338. package/dist/plugin/provider/chatgpt.js +89 -89
  339. package/dist/plugin/provider/cloudflare-ai-gateway.js +88 -88
  340. package/dist/plugin/provider/cloudflare-workers-ai.js +88 -88
  341. package/dist/plugin/provider/configured.js +87 -87
  342. package/dist/plugin/provider/digitalocean.js +73 -73
  343. package/dist/plugin/provider/github-copilot.js +75 -75
  344. package/dist/plugin/provider/gitlab.js +73 -73
  345. package/dist/plugin/provider/google-vertex.js +88 -88
  346. package/dist/plugin/provider/llmgateway.js +61 -61
  347. package/dist/plugin/provider/lmstudio.js +97 -97
  348. package/dist/plugin/provider/local.js +94 -94
  349. package/dist/plugin/provider/modal.js +73 -73
  350. package/dist/plugin/provider/ollama.js +97 -97
  351. package/dist/plugin/provider/openai.js +89 -89
  352. package/dist/plugin/provider/opencode.js +81 -78
  353. package/dist/plugin/provider/openrouter.js +72 -72
  354. package/dist/plugin/provider/poe.js +61 -61
  355. package/dist/plugin/provider/sap-ai-core.js +71 -71
  356. package/dist/plugin/provider/snowflake-cortex.js +89 -89
  357. package/dist/plugin/provider/vercel.js +71 -71
  358. package/dist/plugin/provider/vllm.js +97 -97
  359. package/dist/plugin/provider/xai.js +72 -72
  360. package/dist/plugin/provider.js +133 -130
  361. package/dist/plugin/sdk.js +61 -61
  362. package/dist/plugin/service.js +3 -3
  363. package/dist/plugin/skill.js +109 -109
  364. package/dist/plugin/supervisor.js +305 -304
  365. package/dist/plugin/tool-input-repair.js +3 -3
  366. package/dist/plugin/update.js +5 -5
  367. package/dist/plugin/vcs/git.js +68 -68
  368. package/dist/plugin/vcs/hg.js +68 -68
  369. package/dist/plugin/verbosity.js +74 -74
  370. package/dist/plugin/warming.js +89 -89
  371. package/dist/plugin/websearch/exa.js +4 -4
  372. package/dist/plugin/websearch/firecrawl.js +5 -5
  373. package/dist/plugin/websearch/index.js +8 -8
  374. package/dist/plugin/websearch/mcp.js +3 -3
  375. package/dist/plugin/websearch/parallel.js +7 -7
  376. package/dist/plugin/websearch/tavily.js +6 -6
  377. package/dist/plugin/websearch/tinyfish.js +7 -7
  378. package/dist/plugin.js +186 -186
  379. package/dist/project/schema.js +7 -7
  380. package/dist/project/sql.js +2 -2
  381. package/dist/project.js +70 -70
  382. package/dist/provider.js +78 -78
  383. package/dist/pty.js +80 -80
  384. package/dist/reference/instructions.js +70 -70
  385. package/dist/reference.js +72 -72
  386. package/dist/repository-cache.js +63 -63
  387. package/dist/ripgrep.js +71 -71
  388. package/dist/rpc.js +68 -68
  389. package/dist/session/command.js +59 -59
  390. package/dist/session/compaction.js +106 -106
  391. package/dist/session/context.js +129 -129
  392. package/dist/session/diff.js +69 -69
  393. package/dist/session/environment.js +5 -5
  394. package/dist/session/error.js +2 -2
  395. package/dist/session/execution/restart.js +117 -117
  396. package/dist/session/execution.js +106 -106
  397. package/dist/session/generate.js +128 -128
  398. package/dist/session/history.js +9 -9
  399. package/dist/session/inbox.js +72 -72
  400. package/dist/session/info.js +2 -2
  401. package/dist/session/instruction-entry.js +64 -64
  402. package/dist/session/instruction-state.js +5 -5
  403. package/dist/session/instructions.js +77 -77
  404. package/dist/session/model-request.js +94 -94
  405. package/dist/session/model-transport.js +7 -7
  406. package/dist/session/move.js +106 -106
  407. package/dist/session/projector.js +68 -68
  408. package/dist/session/prompt.js +85 -85
  409. package/dist/session/revert.js +74 -74
  410. package/dist/session/run-coordinator.js +3 -3
  411. package/dist/session/runner/index.js +3 -3
  412. package/dist/session/runner/llm.js +190 -190
  413. package/dist/session/runner/model.js +79 -79
  414. package/dist/session/runner/publish-llm-event.js +91 -91
  415. package/dist/session/runner/retry.js +3 -3
  416. package/dist/session/runner/step.js +100 -100
  417. package/dist/session/runner/to-llm-message.js +10 -10
  418. package/dist/session/schema.js +5 -5
  419. package/dist/session/session.js +133 -133
  420. package/dist/session/shell.js +101 -101
  421. package/dist/session/skill.js +83 -83
  422. package/dist/session/sql.js +3 -3
  423. package/dist/session/stats.js +10 -10
  424. package/dist/session/store.js +70 -70
  425. package/dist/session/subagent-job.js +173 -173
  426. package/dist/session/system-prompt.js +5 -5
  427. package/dist/session/title.js +132 -132
  428. package/dist/session/to-session-error.js +90 -90
  429. package/dist/session/transfer.js +114 -114
  430. package/dist/session.js +177 -177
  431. package/dist/shell/parse.js +3 -3
  432. package/dist/shell/select.js +11 -11
  433. package/dist/shell.js +104 -104
  434. package/dist/skill/discovery.js +5 -5
  435. package/dist/skill/instructions.js +85 -85
  436. package/dist/skill.js +94 -94
  437. package/dist/snapshot.js +73 -73
  438. package/dist/tool/mcp.js +107 -107
  439. package/dist/tool/plugin/edit.js +94 -94
  440. package/dist/tool/plugin/glob.js +98 -98
  441. package/dist/tool/plugin/grep.js +98 -98
  442. package/dist/tool/plugin/mcp-resource.js +97 -97
  443. package/dist/tool/plugin/opencode.js +87 -87
  444. package/dist/tool/plugin/patch.js +96 -96
  445. package/dist/tool/plugin/question.js +85 -85
  446. package/dist/tool/plugin/read.js +99 -99
  447. package/dist/tool/plugin/shell.js +179 -179
  448. package/dist/tool/plugin/skill.js +87 -87
  449. package/dist/tool/plugin/subagent.js +180 -180
  450. package/dist/tool/plugin/todo.js +112 -112
  451. package/dist/tool/plugin/webfetch.js +90 -90
  452. package/dist/tool/plugin/websearch.js +94 -94
  453. package/dist/tool/plugin/write.js +96 -96
  454. package/dist/tool/read-filesystem.js +78 -78
  455. package/dist/tool-output.js +5 -5
  456. package/dist/tool.js +11 -11
  457. package/dist/types/plugin/internal.d.ts +3 -2
  458. package/dist/types/plugin/provider/opencode.d.ts +2 -1
  459. package/dist/types/voice.d.ts +30 -1
  460. package/dist/v1/config/agent.js +3 -3
  461. package/dist/v1/config/command.js +3 -3
  462. package/dist/v1/config/mcp.js +3 -3
  463. package/dist/v1/config/migrate.js +72 -72
  464. package/dist/v1/config/plugin.js +3 -3
  465. package/dist/v1/config/provider.js +3 -3
  466. package/dist/variant.js +74 -74
  467. package/dist/vcs.js +71 -71
  468. package/dist/voice.js +67 -67
  469. package/dist/websearch.js +67 -67
  470. package/dist/wellknown/plugin.js +57 -57
  471. package/dist/wellknown.js +62 -62
  472. package/dist/workspace/driver.js +5 -5
  473. package/dist/workspace.js +63 -63
  474. package/dist/worktree/git.js +6 -6
  475. package/dist/worktree/sql.js +3 -3
  476. package/dist/worktree/strategies.js +70 -70
  477. package/dist/worktree.js +78 -78
  478. package/package.json +8 -8
  479. package/dist/chunks/ripgrep-g32r42h9.js +0 -257
  480. package/dist/chunks/ripgrep-t23bw0vy.js +0 -26
  481. /package/dist/chunks/{ripgrep-t1qm87d4.js → ripgrep-14w7p54a.js} +0 -0
  482. /package/dist/chunks/{ripgrep-jwv7ab79.js → ripgrep-3mkjzvwp.js} +0 -0
  483. /package/dist/chunks/{ripgrep-034tev2y.js → ripgrep-aj7mw0zk.js} +0 -0
  484. /package/dist/chunks/{ripgrep-1nwxscpy.js → ripgrep-x6pyv2yz.js} +0 -0
  485. /package/dist/chunks/{ripgrep-906y5cdw.js → ripgrep-yrbjxrxk.js} +0 -0
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service66
3
- } from "./ripgrep-b0k3m5sv.js";
2
+ Service68
3
+ } from "./ripgrep-50ttpepc.js";
4
4
  import {
5
- ID3,
5
+ ID7,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service35
10
- } from "./ripgrep-gbqxypma.js";
9
+ Service67
10
+ } from "./ripgrep-bmff2rpw.js";
11
11
  import {
12
12
  __export
13
13
  } from "./ripgrep-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill3 = {};
17
- __export(exports_skill3, {
16
+ var exports_skill2 = {};
17
+ __export(exports_skill2, {
18
18
  Input: () => Input9,
19
- Output: () => Output5,
20
- Plugin: () => Plugin44,
21
- SkillTool: () => exports_skill3,
19
+ Output: () => Output7,
20
+ Plugin: () => Plugin26,
21
+ SkillTool: () => exports_skill2,
22
22
  description: () => description4,
23
23
  name: () => name9,
24
24
  toModelOutput: () => toModelOutput2
@@ -28,9 +28,9 @@ import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  var name9 = "skill";
30
30
  var Input9 = Schema.Struct({
31
- id: ID3.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
31
+ id: ID7.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output5 = Schema.Struct({
33
+ var Output7 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
@@ -43,18 +43,18 @@ var description4 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin44 = {
46
+ var Plugin26 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service35;
51
- const permission = yield* Service66;
50
+ const skills = yield* Service67;
51
+ const permission = yield* Service68;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
53
  name: name9,
54
54
  options: { codemode: false },
55
55
  description: description4,
56
56
  input: Input9,
57
- output: Output5,
57
+ output: Output7,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
@@ -79,4 +79,4 @@ var Plugin44 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name9, Input9, Output5, description4, toModelOutput2, Plugin44, exports_skill3 };
82
+ export { name9, Input9, Output7, description4, toModelOutput2, Plugin26, exports_skill2 };
@@ -8,14 +8,14 @@ import {
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin30,
11
+ Plugin: () => Plugin14,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin30 = define({
18
+ var Plugin14 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin30, exports_tool_input_repair };
123
+ export { Plugin14, exports_tool_input_repair };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service32
3
- } from "./ripgrep-6ehbgqat.js";
2
+ Service42
3
+ } from "./ripgrep-sxzvkvgj.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./ripgrep-gyce5qg1.js";
6
+ } from "./ripgrep-q509s3k3.js";
7
7
  import {
8
- Service43
9
- } from "./ripgrep-yggz4gjb.js";
8
+ Service53
9
+ } from "./ripgrep-2wvr9kck.js";
10
10
  import {
11
11
  unavailable2
12
12
  } from "./ripgrep-vzs5sf6e.js";
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service32;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
25
+ const instances = yield* Service42;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service53), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service84
3
- } from "./ripgrep-nj7hqrdc.js";
2
+ Service82
3
+ } from "./ripgrep-72x17vkx.js";
4
4
  import {
5
5
  DirectoryUnavailableError2,
6
6
  canonical2
@@ -13,14 +13,14 @@ import {
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* Service84;
23
+ const git = yield* Service82;
24
24
  return {
25
25
  id: Worktree.StrategyID.make("git"),
26
26
  create: Effect.fn("Worktree.Git.create")(function* (input) {
@@ -46,4 +46,4 @@ var make18 = Effect.gen(function* () {
46
46
  };
47
47
  });
48
48
 
49
- export { make18, exports_git2 };
49
+ export { make12, exports_git2 };
@@ -4,35 +4,35 @@ import {
4
4
  import {
5
5
  Service85,
6
6
  node89
7
- } from "./ripgrep-eydep5ty.js";
7
+ } from "./ripgrep-8wx9bhg6.js";
8
8
  import {
9
- Event20,
10
- Service81,
11
- node85
12
- } from "./ripgrep-wbcvfxpg.js";
13
- import {
14
- Service82,
15
- node86
16
- } from "./ripgrep-ye89p72n.js";
17
- import {
18
- Service64,
19
- node66
20
- } from "./ripgrep-9jdajzrt.js";
9
+ Event19,
10
+ Service79,
11
+ node83
12
+ } from "./ripgrep-8eadsrjy.js";
21
13
  import {
22
- ID15,
23
14
  Service80,
24
15
  node84
25
- } from "./ripgrep-230q3gjt.js";
16
+ } from "./ripgrep-a3w6cej7.js";
17
+ import {
18
+ Service65,
19
+ node68
20
+ } from "./ripgrep-57pprckc.js";
21
+ import {
22
+ ID14,
23
+ Service78,
24
+ node82
25
+ } from "./ripgrep-kzrm98pv.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
29
  } from "./ripgrep-rdw6cm16.js";
30
30
  import {
31
- ID14,
31
+ ID13,
32
32
  MethodID2,
33
- Service79,
34
- node83
35
- } from "./ripgrep-sdzwknx0.js";
33
+ Service77,
34
+ node81
35
+ } from "./ripgrep-1rwjpbn5.js";
36
36
  import {
37
37
  __export
38
38
  } from "./ripgrep-9rqn6x4v.js";
@@ -41,20 +41,20 @@ import {
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError2,
45
- Options: () => Options2,
44
+ NotFoundError: () => NotFoundError3,
45
+ Options: () => Options3,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
49
49
  ResourceContent: () => ResourceContent2,
50
50
  ResourceTemplate: () => ResourceTemplate2,
51
51
  ServerName: () => ServerName2,
52
- Service: () => Service26,
52
+ Service: () => Service31,
53
53
  Status: () => Status2,
54
54
  ToolCallError: () => ToolCallError2,
55
- configured: () => configured2,
55
+ configured: () => configured3,
56
56
  layer: () => layer14,
57
- node: () => node29
57
+ node: () => node34
58
58
  });
59
59
  import { Mcp } from "@opencode/schema/mcp";
60
60
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
72
72
  var ResourceCatalog2 = Mcp.ResourceCatalog;
73
73
  var ResourceContent2 = Mcp.ResourceContent;
74
74
 
75
- class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
75
+ class NotFoundError3 extends Schema.TaggedError()("MCP.NotFoundError", {
76
76
  server: ServerName2
77
77
  }) {
78
78
  get message() {
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
103
103
  var endpointLoads = makeUnsafe2();
104
104
  var cloneConfig = (config) => structuredClone(config);
105
105
 
106
- class Service26 extends Context.Service()("@opencode/MCP") {
106
+ class Service31 extends Context.Service()("@opencode/MCP") {
107
107
  }
108
- var Options2 = Schema.Struct({
108
+ var Options3 = Schema.Struct({
109
109
  clientInfo: Schema.optional(Schema.Struct({
110
110
  name: Schema.String,
111
111
  version: Schema.String
112
112
  }))
113
113
  });
114
- var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
115
- const location = yield* Service82;
116
- const environment = yield* Service64;
114
+ var layer14 = (options) => Layer.effect(Service31, Effect.gen(function* () {
115
+ const location = yield* Service80;
116
+ const environment = yield* Service65;
117
117
  const bus = yield* Service85;
118
- const forms = yield* Service80;
119
- const integration = yield* Service79;
120
- const credentials = yield* Service81;
118
+ const forms = yield* Service78;
119
+ const integration = yield* Service77;
120
+ const credentials = yield* Service79;
121
121
  const root = yield* Effect.scope;
122
122
  const fork = yield* FiberSet.makeRuntime();
123
123
  const entries = new Map;
@@ -129,7 +129,7 @@ var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
129
129
  return;
130
130
  const remote = entry.config;
131
131
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
132
- const integrationID = ID14.make(suffix);
132
+ const integrationID = ID13.make(suffix);
133
133
  entry.integrationID = integrationID;
134
134
  owned.add(integrationID);
135
135
  const methodID = MethodID2.make(suffix);
@@ -145,7 +145,7 @@ var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
145
145
  method: { id: methodID, type: "oauth", label: name },
146
146
  authorize: () => Effect.gen(function* () {
147
147
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
148
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service81, credentials));
148
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service79, credentials));
149
149
  })
150
150
  });
151
151
  }).pipe(Scope.provide(scope));
@@ -154,19 +154,19 @@ var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
154
154
  const name = ServerName2.make(server);
155
155
  const entry = entries.get(name);
156
156
  if (!entry)
157
- return yield* new NotFoundError2({ server: name });
157
+ return yield* new NotFoundError3({ server: name });
158
158
  return { name, entry };
159
159
  });
160
160
  const connectProvider = Effect.fnUntraced(function* (entry) {
161
161
  if (entry.config.type !== "remote" || !entry.integrationID)
162
162
  return;
163
163
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
164
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service81, credentials));
164
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service79, credentials));
165
165
  });
166
166
  const elicitation = {
167
167
  create: (input) => Effect.gen(function* () {
168
168
  if (input.params.mode === "url") {
169
- const formID = ID15.create();
169
+ const formID = ID14.create();
170
170
  const elicitationID = input.params.elicitationId;
171
171
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
172
172
  if (key)
@@ -269,7 +269,7 @@ var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
269
269
  entry.scope = scope;
270
270
  const authProvider = yield* connectProvider(entry);
271
271
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
272
- const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope));
272
+ const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service65, environment), Scope.provide(scope));
273
273
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
274
274
  if (Exit.isSuccess(result)) {
275
275
  entry.client = result.value.connection;
@@ -394,7 +394,7 @@ var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
394
394
  yield* startServer(name, entry);
395
395
  }).pipe(locks.withLock(name));
396
396
  });
397
- fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
397
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
398
398
  const state = create3({
399
399
  name: "mcp",
400
400
  initial: () => ({
@@ -420,7 +420,7 @@ var layer14 = (options) => Layer.effect(Service26, Effect.gen(function* () {
420
420
  }),
421
421
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
422
422
  });
423
- return Service26.of({
423
+ return Service31.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  servers: Effect.fn("MCP.servers")(function* () {
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
530
530
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
531
531
  });
532
532
  }
533
- function configured2(options) {
533
+ function configured3(options) {
534
534
  return makeLocationNode({
535
- service: Service26,
535
+ service: Service31,
536
536
  layer: layer14(options),
537
- deps: [node86, node66, node89, node84, node83, node85]
537
+ deps: [node84, node68, node89, node82, node81, node83]
538
538
  });
539
539
  }
540
- var node29 = configured2();
540
+ var node34 = configured3();
541
541
  function toElicitationField(key, property, required) {
542
542
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
543
543
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
588
588
  }
589
589
  }
590
590
 
591
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service26, Options2, layer14, configured2, node29, exports_mcp4 };
591
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError3, ToolCallError2, Service31, Options3, layer14, configured3, node34, exports_mcp4 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service85
3
- } from "./ripgrep-eydep5ty.js";
3
+ } from "./ripgrep-8wx9bhg6.js";
4
4
  import {
5
- Service38
6
- } from "./ripgrep-06m8zqpz.js";
5
+ Service35
6
+ } from "./ripgrep-6ypqa0d2.js";
7
7
  import {
8
- Error2
9
- } from "./ripgrep-07n27ccy.js";
8
+ Error3
9
+ } from "./ripgrep-xc4hpcyp.js";
10
10
  import {
11
- Service45
12
- } from "./ripgrep-e696dwzt.js";
11
+ Service72
12
+ } from "./ripgrep-68zvyq3x.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./ripgrep-mktar7aj.js";
15
+ } from "./ripgrep-yj7k2rcj.js";
16
16
  import {
17
17
  SessionEvent2
18
18
  } from "./ripgrep-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./ripgrep-9cn598b5.js";
21
+ } from "./ripgrep-cys88cvv.js";
22
22
  import {
23
23
  calculateCost2
24
24
  } from "./ripgrep-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./ripgrep-6sdx5bv6.js";
27
+ } from "./ripgrep-713a57ta.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./ripgrep-dq407baf.js";
30
+ } from "./ripgrep-tt8gc4fv.js";
31
31
  import {
32
32
  __export
33
33
  } from "./ripgrep-9rqn6x4v.js";
@@ -37,7 +37,7 @@ var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make3
40
+ make: () => make8
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make3 = Effect.gen(function* () {
54
+ var make8 = Effect.gen(function* () {
55
55
  const bus = yield* Service85;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service38;
58
- const toolOutput = yield* Service45;
57
+ const snapshots = yield* Service35;
58
+ const toolOutput = yield* Service72;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error2({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error3({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -223,4 +223,4 @@ var classifyToolExits = (settled, runs) => {
223
223
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
224
224
  };
225
225
 
226
- export { Outcome2, make3, exports_step };
226
+ export { Outcome2, make8, exports_step };
@@ -4,26 +4,26 @@ import {
4
4
  Failed2
5
5
  } from "./ripgrep-hgz4x7wa.js";
6
6
  import {
7
- Service82
8
- } from "./ripgrep-ye89p72n.js";
7
+ Service80
8
+ } from "./ripgrep-a3w6cej7.js";
9
9
  import {
10
- Service64
11
- } from "./ripgrep-9jdajzrt.js";
10
+ Service65
11
+ } from "./ripgrep-57pprckc.js";
12
12
  import {
13
- Service57
14
- } from "./ripgrep-kpd84ec7.js";
13
+ Service12
14
+ } from "./ripgrep-k8yk4ekq.js";
15
15
  import {
16
- Service42,
16
+ Service51,
17
17
  readText2,
18
18
  syncTextBom2
19
- } from "./ripgrep-xkajykm3.js";
19
+ } from "./ripgrep-cph4sz5z.js";
20
20
  import {
21
- Service66
22
- } from "./ripgrep-b0k3m5sv.js";
21
+ Service68
22
+ } from "./ripgrep-50ttpepc.js";
23
23
  import {
24
- Service58,
24
+ Service14,
25
25
  resolvePath2
26
- } from "./ripgrep-gdbaa3vm.js";
26
+ } from "./ripgrep-b7pfhk9a.js";
27
27
  import {
28
28
  fileDiff2
29
29
  } from "./ripgrep-6prwharc.js";
@@ -35,12 +35,12 @@ import {
35
35
  var exports_patch = {};
36
36
  __export(exports_patch, {
37
37
  Applied: () => Applied2,
38
- Input: () => Input2,
39
- Output: () => Output2,
38
+ Input: () => Input10,
39
+ Output: () => Output8,
40
40
  PatchTool: () => exports_patch,
41
- Plugin: () => Plugin36,
42
- name: () => name2,
43
- toModelContent: () => toModelContent2
41
+ Plugin: () => Plugin27,
42
+ name: () => name10,
43
+ toModelContent: () => toModelContent5
44
44
  });
45
45
  import { ToolFailure } from "@opencode/ai";
46
46
  import { FileDiff } from "@opencode/schema/file-diff";
@@ -85,8 +85,8 @@ It is important to remember:
85
85
  `;
86
86
 
87
87
  // src/tool/plugin/patch.ts
88
- var name2 = "patch";
89
- var Input2 = Schema.Struct({
88
+ var name10 = "patch";
89
+ var Input10 = Schema.Struct({
90
90
  patchText: Schema.String.annotate({
91
91
  description: "The full patch text describing add, update, and delete operations"
92
92
  })
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
96
96
  resource: Schema.String,
97
97
  target: Schema.String
98
98
  });
99
- var Output2 = Schema.Struct({
99
+ var Output8 = Schema.Struct({
100
100
  applied: Schema.Array(Applied2),
101
101
  files: Schema.Array(FileDiff.Info)
102
102
  });
103
- var toModelContent2 = (output) => [
103
+ var toModelContent5 = (output) => [
104
104
  "Success. Updated the following files:",
105
105
  ...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
106
106
  ].join(`
107
107
  `);
108
- var Plugin36 = {
108
+ var Plugin27 = {
109
109
  id: "opencode.tool.patch",
110
110
  effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
111
- const environment = yield* Service64;
112
- const access = yield* Service58;
113
- const fileMutation = yield* Service42;
114
- const formatter = yield* Service57;
115
- const location = yield* Service82;
116
- const permission = yield* Service66;
111
+ const environment = yield* Service65;
112
+ const access = yield* Service14;
113
+ const fileMutation = yield* Service51;
114
+ const formatter = yield* Service12;
115
+ const location = yield* Service80;
116
+ const permission = yield* Service68;
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name2,
118
+ name: name10,
119
119
  options: { codemode: false, permission: "edit" },
120
120
  description: patch_default,
121
- input: Input2,
122
- output: Output2,
121
+ input: Input10,
122
+ output: Output8,
123
123
  execute: (input, context) => {
124
124
  const applied = [];
125
125
  const parsed = Patch.parse(input.patchText);
@@ -266,7 +266,7 @@ var Plugin36 = {
266
266
  return { applied, files };
267
267
  }).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
268
268
  output,
269
- content: toModelContent2(output),
269
+ content: toModelContent5(output),
270
270
  metadata: { files: output.files }
271
271
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
272
272
  }
@@ -326,4 +326,4 @@ function trimDiff(diff) {
326
326
  `);
327
327
  }
328
328
 
329
- export { name2, Input2, Applied2, Output2, toModelContent2, Plugin36, exports_patch };
329
+ export { name10, Input10, Applied2, Output8, toModelContent5, Plugin27, exports_patch };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service85
3
- } from "./ripgrep-eydep5ty.js";
3
+ } from "./ripgrep-8wx9bhg6.js";
4
4
  import {
5
5
  key2
6
- } from "./ripgrep-addxnjmp.js";
6
+ } from "./ripgrep-x661k3y3.js";
7
7
  import {
8
- Event20
9
- } from "./ripgrep-wbcvfxpg.js";
8
+ Event19
9
+ } from "./ripgrep-8eadsrjy.js";
10
10
  import {
11
- ID14
12
- } from "./ripgrep-sdzwknx0.js";
11
+ ID13
12
+ } from "./ripgrep-1rwjpbn5.js";
13
13
  import {
14
- ID13,
15
- Service77
16
- } from "./ripgrep-6m78wcz4.js";
14
+ ID12,
15
+ Service76
16
+ } from "./ripgrep-86gy2e90.js";
17
17
  import {
18
- load2,
19
- derive2
20
- } from "./ripgrep-jszh17ab.js";
18
+ load3,
19
+ derive3
20
+ } from "./ripgrep-f6egx6pd.js";
21
21
 
22
22
  // src/plugin/provider/modal.ts
23
23
  import { Effect, Semaphore, Stream } from "effect";
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
- var providerID = ID13.make("modal");
25
+ var providerID = ID12.make("modal");
26
26
  var ModalPlugin2 = define({
27
27
  id: "opencode.provider.modal",
28
28
  effect: Effect.fn(function* (ctx) {
29
- const providers = yield* Service77;
29
+ const providers = yield* Service76;
30
30
  const bus = yield* Service85;
31
31
  const loading = Semaphore.makeUnsafe(1);
32
32
  const loaded = {};
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
45
45
  return;
46
46
  }
47
47
  const remote = yield* Effect.tryPromise({
48
- try: () => load2(baseURL, apiKey),
48
+ try: () => load3(baseURL, apiKey),
49
49
  catch: (cause) => cause
50
50
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
51
51
  if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
62
62
  return;
63
63
  evt.add({
64
64
  info: item.provider,
65
- models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
65
+ models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
66
66
  sourceConnection: loaded.connection
67
67
  });
68
68
  });
69
69
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
70
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
71
71
  yield* refresh().pipe(Effect.forkScoped);
72
72
  })
73
73
  });