@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,25 +1,25 @@
1
1
  import {
2
- ID13,
2
+ ID12,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./ripgrep-6m78wcz4.js";
5
+ } from "./ripgrep-86gy2e90.js";
6
6
  import {
7
- ID12,
7
+ ID11,
8
8
  VariantID2,
9
9
  Family2,
10
- Info21
11
- } from "./ripgrep-ssc22y53.js";
10
+ Info20
11
+ } from "./ripgrep-d3fk46xw.js";
12
12
  import {
13
13
  __export
14
14
  } from "./ripgrep-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- derive: () => derive3,
21
- get: () => get3,
22
- load: () => load3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ derive: () => derive2,
21
+ get: () => get2,
22
+ load: () => load2
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get3(baseURL, headers, existing) {
72
- return derive3(baseURL, await load3(baseURL, headers), existing);
71
+ async function get2(baseURL, headers, existing) {
72
+ return derive2(baseURL, await load2(baseURL, headers), existing);
73
73
  }
74
- async function load3(baseURL, headers) {
74
+ async function load2(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive3(baseURL, remote, existing) {
86
+ function derive2(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID12.make(id);
97
+ const key = ID11.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info21.make({
122
- ...Info21.default(ID13.githubCopilot, id),
121
+ return Info20.make({
122
+ ...Info20.default(ID12.githubCopilot, id),
123
123
  id,
124
- modelID: ID12.make(remote.id),
125
- providerID: ID13.githubCopilot,
124
+ modelID: ID11.make(remote.id),
125
+ providerID: ID12.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get3, load3, derive3, exports_models2 };
200
+ export { get2, load2, derive2, exports_models };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service46
4
- } from "./ripgrep-yn7c86qb.js";
3
+ Service55
4
+ } from "./ripgrep-rbnhhjf8.js";
5
5
  import {
6
- Service45
7
- } from "./ripgrep-e696dwzt.js";
6
+ Service72
7
+ } from "./ripgrep-68zvyq3x.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./ripgrep-qsdy395h.js";
@@ -16,15 +16,15 @@ import {
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin4
19
+ Plugin: () => Plugin48
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin4 = define({
23
+ var Plugin48 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service46;
27
- const output = yield* Service45;
26
+ const config = yield* Service55;
27
+ const output = yield* Service72;
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 Plugin4 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin4, exports_tool_output };
41
+ export { Plugin48, exports_tool_output };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service47
3
- } from "./ripgrep-725dzmat.js";
2
+ Service56
3
+ } from "./ripgrep-7jxgd9ay.js";
4
4
  import {
5
- Service82
6
- } from "./ripgrep-ye89p72n.js";
5
+ Service80
6
+ } from "./ripgrep-a3w6cej7.js";
7
7
  import {
8
- Service46
9
- } from "./ripgrep-yn7c86qb.js";
8
+ Service55
9
+ } from "./ripgrep-rbnhhjf8.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./ripgrep-rhjbct0v.js";
12
+ } from "./ripgrep-s8d7rejh.js";
13
13
  import {
14
14
  File2,
15
- Service74
16
- } from "./ripgrep-gs3jaab1.js";
15
+ Service45
16
+ } from "./ripgrep-n4h5z8fw.js";
17
17
  import {
18
18
  __export
19
19
  } from "./ripgrep-9rqn6x4v.js";
@@ -22,7 +22,7 @@ import {
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin18
25
+ Plugin: () => Plugin34
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin18 = define({
34
+ var Plugin34 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service74;
37
+ const discovery = yield* Service45;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service46;
39
+ const config = yield* Service55;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service82;
44
- const watcher = yield* Service47;
43
+ const location = yield* Service80;
44
+ const watcher = yield* Service56;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -174,4 +174,4 @@ function isUrl(source) {
174
174
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
175
175
  }
176
176
 
177
- export { Plugin18, exports_instruction };
177
+ export { Plugin34, exports_instruction };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./ripgrep-eydep5ty.js";
4
+ } from "./ripgrep-8wx9bhg6.js";
5
5
  import {
6
- node49
7
- } from "./ripgrep-725dzmat.js";
6
+ node59
7
+ } from "./ripgrep-7jxgd9ay.js";
8
8
  import {
9
- Service4,
10
- node6
11
- } from "./ripgrep-2n3wn4cc.js";
9
+ Service8,
10
+ node10
11
+ } from "./ripgrep-5cfq97pr.js";
12
12
  import {
13
- Service13
14
- } from "./ripgrep-am1tmpj5.js";
13
+ Service49
14
+ } from "./ripgrep-3220qrgn.js";
15
15
  import {
16
- Service21
17
- } from "./ripgrep-gyce5qg1.js";
16
+ Service25
17
+ } from "./ripgrep-q509s3k3.js";
18
18
  import {
19
- node16,
19
+ node17,
20
20
  ID2
21
- } from "./ripgrep-28k0q56j.js";
21
+ } from "./ripgrep-zky955f5.js";
22
22
  import {
23
- Service9,
24
- node11
25
- } from "./ripgrep-p42hj8p8.js";
23
+ Service5,
24
+ node6
25
+ } from "./ripgrep-g0445xdp.js";
26
26
  import {
27
27
  requirements2,
28
28
  guarded2,
29
29
  list2
30
- } from "./ripgrep-etg1n2kx.js";
30
+ } from "./ripgrep-pnjc2gnv.js";
31
31
  import {
32
- make4,
32
+ make7,
33
33
  LoadError2
34
- } from "./ripgrep-ycn2m60h.js";
34
+ } from "./ripgrep-s9x4dfc6.js";
35
35
  import {
36
36
  Updated2,
37
- Service5,
38
- node7
39
- } from "./ripgrep-9ha6dkfn.js";
37
+ Service4,
38
+ node5
39
+ } from "./ripgrep-mda08b8j.js";
40
40
  import {
41
- Service6,
42
- node8
43
- } from "./ripgrep-bydnjh3t.js";
41
+ Service3,
42
+ node4
43
+ } from "./ripgrep-prq7hedt.js";
44
44
  import {
45
45
  __export
46
46
  } from "./ripgrep-9rqn6x4v.js";
@@ -49,8 +49,8 @@ import {
49
49
  var exports_supervisor = {};
50
50
  __export(exports_supervisor, {
51
51
  PluginSupervisor: () => exports_supervisor,
52
- layer: () => layer4,
53
- node: () => node5
52
+ layer: () => layer3,
53
+ node: () => node3
54
54
  });
55
55
  import { Event } from "@opencode/schema/config";
56
56
  import { Cause, Effect, Layer, Queue, Stream } from "effect";
@@ -136,15 +136,15 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
136
136
  pending: [...pending]
137
137
  };
138
138
  });
139
- var layer4 = Layer.effectDiscard(Effect.gen(function* () {
140
- const managed = yield* Service13;
141
- const registry = yield* Service21;
142
- const sdk = yield* Service5;
143
- const instance = yield* Service9;
144
- const sources = yield* Service4;
145
- const modules = yield* make4();
139
+ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
140
+ const managed = yield* Service49;
141
+ const registry = yield* Service25;
142
+ const sdk = yield* Service4;
143
+ const instance = yield* Service5;
144
+ const sources = yield* Service8;
145
+ const modules = yield* make7();
146
146
  const bus = yield* Service85;
147
- const updates = yield* Service6;
147
+ const updates = yield* Service3;
148
148
  const internal = yield* list2();
149
149
  let release = yield* registry.hold();
150
150
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -220,14 +220,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
220
220
  })), Effect.forkScoped({ startImmediately: true }));
221
221
  }));
222
222
  var nodeDeps = [
223
- node16,
224
- node7,
225
- node11,
223
+ node17,
224
+ node5,
226
225
  node6,
227
- node8,
226
+ node10,
227
+ node4,
228
228
  node89,
229
229
  Npm.node,
230
- node49,
230
+ node59,
231
231
  requirements2
232
232
  ];
233
233
  function pluginSource(target) {
@@ -235,6 +235,6 @@ function pluginSource(target) {
235
235
  return { type: "local", path: target };
236
236
  return { type: "package", target };
237
237
  }
238
- var node5 = makeLocationNode({ name: "plugin-supervisor", layer: layer4, deps: nodeDeps });
238
+ var node3 = makeLocationNode({ name: "plugin-supervisor", layer: layer3, deps: nodeDeps });
239
239
 
240
- export { layer4, node5, exports_supervisor };
240
+ export { layer3, node3, exports_supervisor };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./ripgrep-eydep5ty.js";
4
+ } from "./ripgrep-8wx9bhg6.js";
5
5
  import {
6
6
  environment2
7
- } from "./ripgrep-7em0bpab.js";
7
+ } from "./ripgrep-qmm8f62j.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
10
  } from "./ripgrep-3t0ybcrp.js";
@@ -16,15 +16,15 @@ import {
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError4,
20
- Options: () => Options3,
19
+ NotFoundError: () => NotFoundError2,
20
+ Options: () => Options2,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service39,
23
- UnavailableError: () => UnavailableError3,
24
- available: () => available3,
25
- configured: () => configured3,
26
- layer: () => layer19,
27
- node: () => node41
22
+ Service: () => Service19,
23
+ UnavailableError: () => UnavailableError2,
24
+ available: () => available2,
25
+ configured: () => configured2,
26
+ layer: () => layer9,
27
+ node: () => node22
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -35,25 +35,25 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- import { available as available3 } from "#persistent-pty-binary";
39
- var Options3 = Schema.Struct({
38
+ import { available as available2 } from "#persistent-pty-binary";
39
+ var Options2 = Schema.Struct({
40
40
  handoff: Schema.optional(Handoff),
41
41
  root: Schema.optional(Schema.String)
42
42
  });
43
43
 
44
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
44
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
45
45
  message: Schema.String
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
49
+ class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
50
50
  ptyID: Pty.ID
51
51
  }) {
52
52
  }
53
53
 
54
- class Service39 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service19 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* () {
56
+ var makeLayer = (options = {}) => Layer.effect(Service19, Effect.gen(function* () {
57
57
  const bus = yield* Service85;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
76
76
  const get = Effect.fn("PersistentPty.get")(function* (id) {
77
77
  const found = (yield* list()).find((terminal) => terminal.id === id);
78
78
  if (!found)
79
- return yield* new NotFoundError4({ ptyID: id });
79
+ return yield* new NotFoundError2({ ptyID: id });
80
80
  return found;
81
81
  });
82
82
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
166
166
  });
167
167
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
168
168
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
169
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
169
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
170
170
  const id = current.get(sessionID);
171
171
  if (!id)
172
172
  return null;
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service39.of({
246
+ return Service19.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service39, Effect.gen(function* (
259
259
  attach
260
260
  });
261
261
  }));
262
- var layer19 = makeLayer();
263
- var configured3 = (options) => makeGlobalNode({
264
- service: Service39,
265
- layer: options === undefined ? layer19 : makeLayer(options),
262
+ var layer9 = makeLayer();
263
+ var configured2 = (options) => makeGlobalNode({
264
+ service: Service19,
265
+ layer: options === undefined ? layer9 : makeLayer(options),
266
266
  deps: [node89, Global.node]
267
267
  });
268
- var node41 = configured3();
268
+ var node22 = configured2();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
272
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
271
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
272
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
273
273
  function toInfo(value) {
274
274
  const status = value.lifecycle.status;
275
275
  return {
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options3, UnavailableError3, NotFoundError4, Service39, layer19, configured3, node41, exports_persistent_pty, Handoff2, available3 };
304
+ export { Options2, UnavailableError2, NotFoundError2, Service19, layer9, configured2, node22, exports_persistent_pty, Handoff2, available2 };
@@ -2,10 +2,10 @@ import {
2
2
  requestExecutor2
3
3
  } from "./ripgrep-775gj3j1.js";
4
4
  import {
5
- ID14,
6
- Service79,
7
- node83
8
- } from "./ripgrep-sdzwknx0.js";
5
+ ID13,
6
+ Service77,
7
+ node81
8
+ } from "./ripgrep-1rwjpbn5.js";
9
9
  import {
10
10
  __export
11
11
  } from "./ripgrep-9rqn6x4v.js";
@@ -14,11 +14,11 @@ import {
14
14
  var exports_voice = {};
15
15
  __export(exports_voice, {
16
16
  InvalidRequestError: () => InvalidRequestError2,
17
- Service: () => Service62,
17
+ Service: () => Service58,
18
18
  UnavailableError: () => UnavailableError4,
19
19
  Voice: () => exports_voice,
20
- layer: () => layer24,
21
- node: () => node64
20
+ layer: () => layer26,
21
+ node: () => node61
22
22
  });
23
23
  import {
24
24
  Realtime
@@ -37,18 +37,28 @@ class UnavailableError4 extends Schema.TaggedError()("Voice.UnavailableError", {
37
37
  }) {
38
38
  }
39
39
 
40
- class Service62 extends Context.Service()("@opencode/Voice") {
40
+ class Service58 extends Context.Service()("@opencode/Voice") {
41
41
  }
42
- var layer24 = Layer.effect(Service62, Effect.gen(function* () {
42
+ var layer26 = Layer.effect(Service58, Effect.gen(function* () {
43
43
  const executor = yield* RequestExecutor.Service;
44
- const integrations = yield* Service79;
45
- const findConnection = (provider) => integrations.get(ID14.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
44
+ const integrations = yield* Service77;
45
+ let hosted;
46
+ const findConnection = (provider) => integrations.get(ID13.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || item.method === "key")));
46
47
  const models = Effect.fn("Voice.models")(function* () {
47
- const list = yield* Effect.forEach(Realtime.engines, (engine) => findConnection(engine.provider).pipe(Effect.map((connection) => ({
48
+ const host = hosted;
49
+ const list = yield* Effect.forEach(Realtime.engines, (engine) => host?.models.includes(engine.model) ? Effect.succeed({
48
50
  model: engine.model,
49
51
  provider: engine.provider,
50
52
  transports: engine.transports,
51
- available: Boolean(connection)
53
+ available: true,
54
+ integration: host.integration,
55
+ ...host.workspace === undefined ? {} : { workspace: host.workspace }
56
+ }) : findConnection(engine.provider).pipe(Effect.map((connection) => ({
57
+ model: engine.model,
58
+ provider: engine.provider,
59
+ transports: engine.transports,
60
+ available: Boolean(connection),
61
+ ...connection ? { integration: engine.provider } : {}
52
62
  }))));
53
63
  const first = list.find((item) => item.available)?.model;
54
64
  return first ? { models: list, default: first } : { models: list };
@@ -57,6 +67,8 @@ var layer24 = Layer.effect(Service62, Effect.gen(function* () {
57
67
  const engine = Realtime.engine(input.model);
58
68
  if (!engine)
59
69
  return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
70
+ if (hosted?.models.includes(input.model))
71
+ return yield* hosted.session(input);
60
72
  const connection = yield* findConnection(engine.provider);
61
73
  const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError4({ service: engine.provider, message: error.message }))) : undefined;
62
74
  if (credential?.type !== "key")
@@ -64,14 +76,27 @@ var layer24 = Layer.effect(Service62, Effect.gen(function* () {
64
76
  service: engine.provider,
65
77
  message: missingKeyMessage[engine.provider]
66
78
  });
67
- return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
79
+ const transport = yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError4({ message: error.message, service: engine.provider })));
80
+ return { transport };
81
+ });
82
+ const instruct = Effect.fn("Voice.instruct")(function* (input) {
83
+ if (!hosted)
84
+ return yield* new InvalidRequestError2({ message: "Only hosted voice sessions take instructions" });
85
+ return yield* hosted.instruct(input);
86
+ });
87
+ return Service58.of({
88
+ models,
89
+ session,
90
+ instruct,
91
+ host: (host) => Effect.sync(() => {
92
+ hosted = host;
93
+ })
68
94
  });
69
- return Service62.of({ models, session });
70
95
  }));
71
- var node64 = makeLocationNode({
72
- service: Service62,
73
- layer: layer24,
74
- deps: [node83, requestExecutor2]
96
+ var node61 = makeLocationNode({
97
+ service: Service58,
98
+ layer: layer26,
99
+ deps: [node81, requestExecutor2]
75
100
  });
76
101
  var missingKeyMessage = {
77
102
  openai: "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions.",
@@ -79,4 +104,4 @@ var missingKeyMessage = {
79
104
  google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
80
105
  };
81
106
 
82
- export { InvalidRequestError2, UnavailableError4, Service62, layer24, node64, exports_voice };
107
+ export { InvalidRequestError2, UnavailableError4, Service58, layer26, node61, exports_voice };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./ripgrep-wbcvfxpg.js";
3
+ } from "./ripgrep-8eadsrjy.js";
4
4
  import {
5
- ID14,
5
+ ID13,
6
6
  MethodID2
7
- } from "./ripgrep-sdzwknx0.js";
7
+ } from "./ripgrep-1rwjpbn5.js";
8
8
  import {
9
9
  success2,
10
10
  error2
@@ -14,7 +14,7 @@ import {
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
17
- var integrationID = ID14.make("poe");
17
+ var integrationID = ID13.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";