@opencode/core 0.0.0-dev-20169 → 0.0.0-dev-20175

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 (488) hide show
  1. package/dist/agent.js +62 -62
  2. package/dist/aisdk-native.js +61 -61
  3. package/dist/aisdk.js +66 -66
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +53 -53
  6. package/dist/chunks/{mime-6x3df6m5.js → mime-038cbjbn.js} +13 -13
  7. package/dist/chunks/{mime-4fewzrdd.js → mime-0anb59kh.js} +13 -13
  8. package/dist/chunks/{mime-fk8kps10.js → mime-0hn7mjnx.js} +9 -9
  9. package/dist/chunks/{mime-e6hmchc5.js → mime-0r7yqxbf.js} +3 -3
  10. package/dist/chunks/{mime-nsandnz2.js → mime-0sadyvpa.js} +4 -4
  11. package/dist/chunks/{mime-89bb6baa.js → mime-0tzy42a9.js} +7 -7
  12. package/dist/chunks/{mime-4mj1cvph.js → mime-153c4z9z.js} +21 -21
  13. package/dist/chunks/{mime-ykbetyw3.js → mime-170hdxs4.js} +3 -3
  14. package/dist/chunks/{mime-yp2x3t23.js → mime-1acjjqhc.js} +3 -3
  15. package/dist/chunks/{mime-cvh6twbq.js → mime-1bmj1kf2.js} +9 -9
  16. package/dist/chunks/{mime-8pkr1zz8.js → mime-1d35eqgr.js} +4 -4
  17. package/dist/chunks/{mime-r33ff4dw.js → mime-1nzs1dt7.js} +5 -5
  18. package/dist/chunks/{mime-6gb804jb.js → mime-1q1h4scy.js} +30 -30
  19. package/dist/chunks/{mime-jg3tkmqv.js → mime-1q9kvn7y.js} +17 -17
  20. package/dist/chunks/{mime-56gdpj1q.js → mime-1ygqh575.js} +7 -7
  21. package/dist/chunks/{mime-fya34y6j.js → mime-22s5ds6t.js} +14 -14
  22. package/dist/chunks/{mime-zy1hsbqs.js → mime-234qydz7.js} +3 -3
  23. package/dist/chunks/{mime-6h73sxmp.js → mime-2402vzrj.js} +4 -4
  24. package/dist/chunks/{mime-4v0ac6w2.js → mime-27em9pm7.js} +9 -9
  25. package/dist/chunks/{mime-z63w68vq.js → mime-29x78va6.js} +4 -4
  26. package/dist/chunks/{mime-bf4gbvg4.js → mime-2bekqz3a.js} +13 -13
  27. package/dist/chunks/{mime-qed5jbce.js → mime-2cfadnaz.js} +4 -4
  28. package/dist/chunks/{mime-dmy463da.js → mime-2dy1p8ya.js} +13 -13
  29. package/dist/chunks/{mime-07xxyaze.js → mime-2gw68b84.js} +21 -21
  30. package/dist/chunks/{mime-qgn6gcr1.js → mime-2k8khapm.js} +4 -4
  31. package/dist/chunks/{mime-246wn8dt.js → mime-2kdwgsh2.js} +13 -13
  32. package/dist/chunks/{mime-qmp029tv.js → mime-2nah3rm6.js} +10 -10
  33. package/dist/chunks/{mime-96172wp9.js → mime-2py3gdf7.js} +17 -17
  34. package/dist/chunks/{mime-d15a5crh.js → mime-2vm2mn6r.js} +33 -33
  35. package/dist/chunks/{mime-zvt5dnpc.js → mime-2vs2nh1n.js} +3 -3
  36. package/dist/chunks/{mime-fxfxepgh.js → mime-30vqxvem.js} +3 -3
  37. package/dist/chunks/{mime-r205r7v3.js → mime-3153j44s.js} +33 -33
  38. package/dist/chunks/{mime-fydjrjbk.js → mime-3559wj1e.js} +22 -22
  39. package/dist/chunks/{mime-rdhh766h.js → mime-35kmpahp.js} +1 -1
  40. package/dist/chunks/{mime-hvt58z0f.js → mime-3js9yjpf.js} +30 -30
  41. package/dist/chunks/{mime-dj9sq318.js → mime-3w0fmcng.js} +3 -3
  42. package/dist/chunks/{mime-2qtvb2sf.js → mime-41km3kz5.js} +13 -13
  43. package/dist/chunks/{mime-2735jr6x.js → mime-42wz0x18.js} +8 -8
  44. package/dist/chunks/{mime-r2de5yng.js → mime-44d35g97.js} +25 -25
  45. package/dist/chunks/{mime-qczqf1dc.js → mime-44vkmz6z.js} +26 -26
  46. package/dist/chunks/{mime-mb4xa1j6.js → mime-45v820cx.js} +33 -33
  47. package/dist/chunks/{mime-vs4a43ce.js → mime-49zwtcb8.js} +54 -54
  48. package/dist/chunks/{mime-0s890w15.js → mime-4crc4jdm.js} +5 -5
  49. package/dist/chunks/{mime-0e9d45z6.js → mime-4fvze959.js} +36 -36
  50. package/dist/chunks/{mime-vqm199mj.js → mime-4j2jd05g.js} +28 -28
  51. package/dist/chunks/{mime-ywg7ry4y.js → mime-508mdezp.js} +2 -2
  52. package/dist/chunks/{mime-vt049zkw.js → mime-54g84kz9.js} +15 -15
  53. package/dist/chunks/{mime-xfkkasph.js → mime-57b9ws8p.js} +6 -6
  54. package/dist/chunks/{mime-vps92m75.js → mime-5fb55ywp.js} +7 -7
  55. package/dist/chunks/{mime-txm26eb2.js → mime-5pyf4h0a.js} +19 -19
  56. package/dist/chunks/{mime-ck42neey.js → mime-5s4prcyn.js} +34 -34
  57. package/dist/chunks/{mime-p42hj8p8.js → mime-5yzzbxa7.js} +7 -7
  58. package/dist/chunks/{mime-nr80y6k7.js → mime-605gm5cj.js} +25 -25
  59. package/dist/chunks/{mime-70dy1mpp.js → mime-6aq6s8eb.js} +7 -7
  60. package/dist/chunks/mime-6cjeyrsw.js +26 -0
  61. package/dist/chunks/{mime-0996nyz8.js → mime-6hjx5zpb.js} +3 -3
  62. package/dist/chunks/{mime-xjzvydkr.js → mime-6r5c0w9g.js} +23 -23
  63. package/dist/chunks/{mime-mw0cehm6.js → mime-6rfetefd.js} +2 -2
  64. package/dist/chunks/{mime-2xqf92me.js → mime-743spchq.js} +1 -1
  65. package/dist/chunks/{mime-mzqhsy22.js → mime-75xs070m.js} +11 -11
  66. package/dist/chunks/{mime-bz63ghv0.js → mime-77a7k1x9.js} +30 -30
  67. package/dist/chunks/{mime-7e3zd5d4.js → mime-79bvek48.js} +16 -16
  68. package/dist/chunks/{mime-6260z82e.js → mime-7cgya2dp.js} +15 -15
  69. package/dist/chunks/{mime-denbd3k6.js → mime-7psk4stz.js} +22 -22
  70. package/dist/chunks/{mime-ww571ven.js → mime-7r6qf5r7.js} +20 -20
  71. package/dist/chunks/{mime-xbmsj09z.js → mime-7tbrah22.js} +7 -7
  72. package/dist/chunks/{mime-bdn7vv49.js → mime-7tycp833.js} +8 -8
  73. package/dist/chunks/{mime-ywvtc5g7.js → mime-7wny7pda.js} +24 -24
  74. package/dist/chunks/{mime-scnv85zn.js → mime-7xsf7rnq.js} +10 -10
  75. package/dist/chunks/{mime-0x4ra8ng.js → mime-82e83hjb.js} +13 -13
  76. package/dist/chunks/{mime-ae1n2vcd.js → mime-83m6sd17.js} +1 -1
  77. package/dist/chunks/{mime-b6fp2acj.js → mime-86aj54kq.js} +34 -34
  78. package/dist/chunks/{mime-axrwawvg.js → mime-87d9dw5n.js} +7 -7
  79. package/dist/chunks/{mime-tcezcvh9.js → mime-89znhe33.js} +3 -3
  80. package/dist/chunks/{mime-t5a2hf0x.js → mime-8fyve6nd.js} +10 -10
  81. package/dist/chunks/{mime-ennxz5nn.js → mime-97sgz6yw.js} +19 -19
  82. package/dist/chunks/{mime-5r6fx1qs.js → mime-9g6t6zrh.js} +16 -16
  83. package/dist/chunks/{mime-qrmaq0pw.js → mime-9hhm9pvq.js} +12 -12
  84. package/dist/chunks/{mime-d6h5jf52.js → mime-9k86q3aq.js} +6 -6
  85. package/dist/chunks/{mime-p0bpn1a8.js → mime-aamn49ap.js} +40 -40
  86. package/dist/chunks/{mime-m6nec9qq.js → mime-ae0nwvy8.js} +3 -3
  87. package/dist/chunks/{mime-bm3m92rh.js → mime-afed7ext.js} +7 -7
  88. package/dist/chunks/{mime-jwm73ahz.js → mime-ajt4fata.js} +6 -6
  89. package/dist/chunks/{mime-xjzb32y7.js → mime-amgtyp96.js} +13 -13
  90. package/dist/chunks/{mime-ghw31w7j.js → mime-anq3081s.js} +8 -8
  91. package/dist/chunks/{mime-j1nzbrzj.js → mime-aqd372pc.js} +20 -20
  92. package/dist/chunks/{mime-mbdf20a3.js → mime-b4yeq8gw.js} +15 -15
  93. package/dist/chunks/{mime-3sz51aqf.js → mime-b95dy7zp.js} +9 -9
  94. package/dist/chunks/{mime-mk2tfswv.js → mime-bb26mjzh.js} +11 -11
  95. package/dist/chunks/{mime-gk9fhfww.js → mime-bbjzvta2.js} +24 -24
  96. package/dist/chunks/{mime-xdfcdmq0.js → mime-bc3t5yes.js} +25 -25
  97. package/dist/chunks/{mime-vv7f1353.js → mime-beezqa8w.js} +16 -16
  98. package/dist/chunks/{mime-s3mp4eq0.js → mime-bg87x2pg.js} +11 -11
  99. package/dist/chunks/{mime-xdsb90ts.js → mime-bjzh7m45.js} +9 -9
  100. package/dist/chunks/{mime-ybhbtxjg.js → mime-bpcm8v83.js} +7 -7
  101. package/dist/chunks/{mime-py5b7878.js → mime-c1ckp43n.js} +8 -8
  102. package/dist/chunks/{mime-ghghsxj7.js → mime-c4bh15tq.js} +18 -18
  103. package/dist/chunks/{mime-neam7ak9.js → mime-c77x7g6d.js} +25 -25
  104. package/dist/chunks/{mime-ak9msbxp.js → mime-cjwramev.js} +3 -3
  105. package/dist/chunks/{mime-wbbqzpfk.js → mime-cz43zx57.js} +8 -8
  106. package/dist/chunks/{mime-8cmactcw.js → mime-cz6jyf1n.js} +1 -1
  107. package/dist/chunks/{mime-bemp11m2.js → mime-d7aqhzds.js} +88 -88
  108. package/dist/chunks/{mime-ybfnsx4m.js → mime-d858xzj7.js} +3 -3
  109. package/dist/chunks/{mime-jpva2q9q.js → mime-d866bxqg.js} +9 -9
  110. package/dist/chunks/{mime-ck4n2qmk.js → mime-de35ch4m.js} +10 -10
  111. package/dist/chunks/{mime-0v53mg2y.js → mime-dfe8djrf.js} +3 -3
  112. package/dist/chunks/{mime-amtxatrd.js → mime-dhc0xkxm.js} +38 -38
  113. package/dist/chunks/{mime-5cta56rp.js → mime-ds0wtj4e.js} +1 -1
  114. package/dist/chunks/{mime-gyn306pg.js → mime-dtt66365.js} +20 -20
  115. package/dist/chunks/{mime-6asax46e.js → mime-dy59ndr5.js} +59 -59
  116. package/dist/chunks/{mime-x0k0k3nk.js → mime-dzqga1rh.js} +24 -24
  117. package/dist/chunks/{mime-58m92xrk.js → mime-e0ps24dg.js} +15 -15
  118. package/dist/chunks/{mime-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
  119. package/dist/chunks/{mime-2y6wvzw1.js → mime-ekv8efyj.js} +8 -8
  120. package/dist/chunks/{mime-qr124z36.js → mime-enh3xt40.js} +7 -7
  121. package/dist/chunks/{mime-8fvtg4q1.js → mime-enmnh83w.js} +21 -21
  122. package/dist/chunks/{mime-mvfsc1pv.js → mime-eq1pz5kg.js} +2 -2
  123. package/dist/chunks/{mime-1cn8p0vk.js → mime-et8918tz.js} +3 -3
  124. package/dist/chunks/{mime-n2we63qy.js → mime-ey8kmd5x.js} +15 -15
  125. package/dist/chunks/{mime-j9ty9cws.js → mime-ezyw3hyt.js} +1 -1
  126. package/dist/chunks/{mime-yd0n98jr.js → mime-f1yg1ebf.js} +34 -34
  127. package/dist/chunks/{mime-sdaymwv4.js → mime-f2dxdeh3.js} +17 -17
  128. package/dist/chunks/{mime-eq9tcww4.js → mime-fdjzn7y9.js} +22 -22
  129. package/dist/chunks/{mime-4xvevn0r.js → mime-fee1sgdn.js} +28 -28
  130. package/dist/chunks/{mime-zc2nbk21.js → mime-fp67s591.js} +20 -20
  131. package/dist/chunks/{mime-jexxy024.js → mime-fpnx24t4.js} +3 -3
  132. package/dist/chunks/{mime-ec7jv6ne.js → mime-gqy8xtzk.js} +49 -49
  133. package/dist/chunks/{mime-9nj21xqc.js → mime-gwydwvmj.js} +7 -7
  134. package/dist/chunks/{mime-xr349t4n.js → mime-gxvazm9p.js} +8 -8
  135. package/dist/chunks/{mime-fbfwk3fg.js → mime-h4dg678n.js} +4 -4
  136. package/dist/chunks/{mime-me0b0vjg.js → mime-h69067hd.js} +10 -10
  137. package/dist/chunks/{mime-r55vasa2.js → mime-h6r3nrb9.js} +3 -3
  138. package/dist/chunks/{mime-vyqn3nqs.js → mime-hdzt82x2.js} +3 -3
  139. package/dist/chunks/{mime-6ka24jaf.js → mime-hqrt1rb2.js} +16 -16
  140. package/dist/chunks/mime-hr9dp009.js +4 -0
  141. package/dist/chunks/{mime-z19932rd.js → mime-ht3seza6.js} +24 -24
  142. package/dist/chunks/{mime-j8m1p4p1.js → mime-j34bs4nz.js} +3 -3
  143. package/dist/chunks/{mime-1dybw484.js → mime-j5fqsg2e.js} +334 -334
  144. package/dist/chunks/{mime-8b6wz1s2.js → mime-j8afcsyc.js} +3 -3
  145. package/dist/chunks/{mime-nyrwqgn4.js → mime-ja923fd7.js} +7 -13
  146. package/dist/chunks/{mime-f5gy8qwh.js → mime-k1qrnqst.js} +7 -7
  147. package/dist/chunks/{mime-r6fqv44t.js → mime-k28tmd1k.js} +12 -12
  148. package/dist/chunks/{mime-rs4eeekc.js → mime-k7z0z15n.js} +11 -11
  149. package/dist/chunks/{mime-t2fc4mz5.js → mime-k8962brh.js} +6 -6
  150. package/dist/chunks/{mime-zmb1q919.js → mime-k8fbnnjg.js} +31 -31
  151. package/dist/chunks/{mime-ryps5y1f.js → mime-kea5jqe6.js} +32 -32
  152. package/dist/chunks/{mime-tw1e01ej.js → mime-ket7y27p.js} +65 -65
  153. package/dist/chunks/{mime-cs3vqxz8.js → mime-m7x0jkmn.js} +4 -4
  154. package/dist/chunks/{mime-jq7v6dgk.js → mime-m9rvph0x.js} +8 -8
  155. package/dist/chunks/{mime-xpxhmcar.js → mime-mbjbnbxx.js} +7 -7
  156. package/dist/chunks/{mime-mbh094q3.js → mime-mgmaefw5.js} +3 -3
  157. package/dist/chunks/{mime-547acfmc.js → mime-mh42mebz.js} +9 -9
  158. package/dist/chunks/{mime-ta6q38yf.js → mime-mhmbnrp5.js} +12 -12
  159. package/dist/chunks/{mime-h0jd11tf.js → mime-mpmqpgh5.js} +5 -5
  160. package/dist/chunks/{mime-mvksx64m.js → mime-n1ka8r9d.js} +1 -1
  161. package/dist/chunks/{mime-cmx4q0sw.js → mime-ndz9h71m.js} +2 -2
  162. package/dist/chunks/{mime-ew79ghek.js → mime-nes9re6y.js} +6 -6
  163. package/dist/chunks/{mime-fqvsmr7a.js → mime-ny1bawyf.js} +12 -12
  164. package/dist/chunks/{mime-empm8ahp.js → mime-p3vh2ta0.js} +26 -26
  165. package/dist/chunks/{mime-hp23trsw.js → mime-p42cb6gq.js} +39 -39
  166. package/dist/chunks/{mime-gs4bd3ck.js → mime-pebjh6nn.js} +12 -12
  167. package/dist/chunks/{mime-sc7svgdt.js → mime-ppv6hta6.js} +18 -18
  168. package/dist/chunks/{mime-vg1ctdtm.js → mime-ppvvtx0s.js} +18 -18
  169. package/dist/chunks/{mime-f9hgfqpn.js → mime-q2kneea3.js} +16 -16
  170. package/dist/chunks/{mime-a3r4dcrj.js → mime-q970vn6j.js} +1 -1
  171. package/dist/chunks/{mime-84zt2byv.js → mime-qg0jgkcp.js} +7 -7
  172. package/dist/chunks/{mime-djgw09t3.js → mime-qh8qw1yz.js} +12 -12
  173. package/dist/chunks/{mime-cwa6csj7.js → mime-qmqgtz8f.js} +7 -7
  174. package/dist/chunks/{mime-acp8wmh6.js → mime-qms6mpje.js} +18 -18
  175. package/dist/chunks/{mime-dyynjqpa.js → mime-qp9qrtp0.js} +43 -43
  176. package/dist/chunks/{mime-16cax9zb.js → mime-qs001aqx.js} +9 -9
  177. package/dist/chunks/{mime-ddzkc74p.js → mime-qs50n71f.js} +17 -17
  178. package/dist/chunks/{mime-0r9gc419.js → mime-r398a7yx.js} +6 -6
  179. package/dist/chunks/{mime-h99x4ah1.js → mime-r9302q9a.js} +28 -28
  180. package/dist/chunks/{mime-rpka6xkw.js → mime-rbe8s94e.js} +11 -11
  181. package/dist/chunks/{mime-t3wpcfc0.js → mime-re33y59c.js} +20 -20
  182. package/dist/chunks/{mime-phfznvh9.js → mime-rk5e9k3p.js} +88 -88
  183. package/dist/chunks/{mime-byjwxeqw.js → mime-rp5c3k0s.js} +42 -42
  184. package/dist/chunks/{mime-44ykbs4n.js → mime-s17k9x7e.js} +9 -9
  185. package/dist/chunks/{mime-dhcd5s6n.js → mime-s25qb6rd.js} +9 -9
  186. package/dist/chunks/{mime-yrznvahk.js → mime-s4enseaf.js} +1 -1
  187. package/dist/chunks/{mime-3h23es9p.js → mime-s8r0mwsn.js} +39 -39
  188. package/dist/chunks/{mime-ax1mpjb7.js → mime-sdg1gcr0.js} +25 -25
  189. package/dist/chunks/{mime-wwz2c70k.js → mime-sk4fpzkz.js} +14 -14
  190. package/dist/chunks/{mime-909p1r3q.js → mime-sxzvkvgj.js} +5 -5
  191. package/dist/chunks/{mime-t73dcxme.js → mime-t4ay05z1.js} +8 -8
  192. package/dist/chunks/{mime-rhjbct0v.js → mime-t550f9t1.js} +3 -3
  193. package/dist/chunks/{mime-1qspzcx3.js → mime-t550g8gs.js} +10 -10
  194. package/dist/chunks/{mime-q1tmktbx.js → mime-t5ra0cz4.js} +9 -9
  195. package/dist/chunks/{mime-pjwpcx5g.js → mime-t6f3wjjb.js} +31 -31
  196. package/dist/chunks/{mime-j26kfq5v.js → mime-tggd67fe.js} +15 -15
  197. package/dist/chunks/{mime-t0dhg9xm.js → mime-tgwh4g45.js} +1 -1
  198. package/dist/chunks/{mime-5796tcck.js → mime-tz679c1q.js} +3 -3
  199. package/dist/chunks/{mime-f81tjggh.js → mime-v1faaxn9.js} +4 -4
  200. package/dist/chunks/{mime-0gs1t9y7.js → mime-v6v677s0.js} +25 -25
  201. package/dist/chunks/{mime-4a39hndw.js → mime-vc794bvv.js} +181 -181
  202. package/dist/chunks/{mime-6qx8bc3d.js → mime-vfwfag5t.js} +24 -24
  203. package/dist/chunks/{mime-jqfs4f8t.js → mime-vj9r822s.js} +43 -43
  204. package/dist/chunks/{mime-n4djqr79.js → mime-vq9mnbss.js} +27 -27
  205. package/dist/chunks/{mime-prpf8ftn.js → mime-vw5a0rfv.js} +1 -1
  206. package/dist/chunks/{mime-ccksk4yj.js → mime-w41yqvvp.js} +14 -14
  207. package/dist/chunks/{mime-xf3wnvpw.js → mime-w5py834v.js} +31 -31
  208. package/dist/chunks/{mime-8sze2n9a.js → mime-w92k2e0p.js} +3 -3
  209. package/dist/chunks/{mime-1kppbkx0.js → mime-whvrryqk.js} +23 -23
  210. package/dist/chunks/{mime-1fw2a5v8.js → mime-ws8rf1n9.js} +14 -14
  211. package/dist/chunks/{mime-f4d0s1t2.js → mime-wskervgn.js} +14 -14
  212. package/dist/chunks/{mime-ce49hgg3.js → mime-wvjy0rkm.js} +2 -2
  213. package/dist/chunks/{mime-0ryd0fps.js → mime-x2rw7g36.js} +3 -3
  214. package/dist/chunks/{mime-xjyydmb8.js → mime-x9d81cjr.js} +8 -8
  215. package/dist/chunks/{mime-492avacy.js → mime-xaqyyngn.js} +7 -7
  216. package/dist/chunks/{mime-g190xswt.js → mime-xdk9p2qn.js} +20 -20
  217. package/dist/chunks/{mime-mv8r48y5.js → mime-xjtpc5ew.js} +19 -19
  218. package/dist/chunks/{mime-thpvyx44.js → mime-xmj1c5tj.js} +21 -21
  219. package/dist/chunks/{mime-dx066ber.js → mime-xsjv728j.js} +8 -8
  220. package/dist/chunks/{mime-tme7ypnb.js → mime-xxc26qrd.js} +16 -16
  221. package/dist/chunks/{mime-chwtr2e5.js → mime-y5xqhydv.js} +30 -30
  222. package/dist/chunks/{mime-aq494hqz.js → mime-y8yd5a40.js} +12 -12
  223. package/dist/chunks/{mime-x8wvmgka.js → mime-yew08yk0.js} +49 -49
  224. package/dist/chunks/{mime-4nxa3yrp.js → mime-yg64st6f.js} +13 -13
  225. package/dist/chunks/{mime-wmras1aj.js → mime-ysk4s0pp.js} +10 -10
  226. package/dist/chunks/mime-yvzdpfbp.js +252 -0
  227. package/dist/chunks/{mime-9g6mcpc9.js → mime-ywqv77jt.js} +30 -30
  228. package/dist/chunks/{mime-ebhn8wwf.js → mime-z5km0pse.js} +15 -15
  229. package/dist/chunks/{mime-x960xs2s.js → mime-z90jk03v.js} +28 -28
  230. package/dist/chunks/{mime-vzqv0rzd.js → mime-zdcc64ja.js} +4 -4
  231. package/dist/chunks/{mime-1a49mg8n.js → mime-zefpc43y.js} +16 -16
  232. package/dist/chunks/{mime-dtb55fr6.js → mime-zkkg3hmv.js} +10 -10
  233. package/dist/chunks/{mime-cmmdg65p.js → mime-zrq8kphx.js} +7 -7
  234. package/dist/chunks/{mime-t7vjw3g9.js → mime-zvj905se.js} +10 -10
  235. package/dist/codemode/instructions.js +8 -8
  236. package/dist/command.js +64 -64
  237. package/dist/config/discovery.js +58 -58
  238. package/dist/config/normalize.js +76 -76
  239. package/dist/config/plugin/agent.js +92 -92
  240. package/dist/config/plugin/command.js +170 -170
  241. package/dist/config/plugin/compaction.js +123 -123
  242. package/dist/config/plugin/compatibility.js +108 -108
  243. package/dist/config/plugin/formatter.js +91 -91
  244. package/dist/config/plugin/image.js +90 -90
  245. package/dist/config/plugin/instruction.js +62 -62
  246. package/dist/config/plugin/location-watcher.js +92 -92
  247. package/dist/config/plugin/mcp.js +99 -99
  248. package/dist/config/plugin/policy.js +91 -91
  249. package/dist/config/plugin/provider.js +90 -90
  250. package/dist/config/plugin/reference.js +92 -92
  251. package/dist/config/plugin/shell.js +90 -90
  252. package/dist/config/plugin/skill-file.js +70 -70
  253. package/dist/config/plugin/skill.js +111 -111
  254. package/dist/config/plugin/snapshot.js +90 -90
  255. package/dist/config/plugin/source.js +93 -93
  256. package/dist/config/plugin/tool-output.js +92 -92
  257. package/dist/config/plugin/websearch.js +89 -89
  258. package/dist/config/plugin/worktree.js +91 -91
  259. package/dist/config/variable.js +2 -2
  260. package/dist/config.js +92 -92
  261. package/dist/credential.js +62 -62
  262. package/dist/database/database.js +48 -48
  263. package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
  264. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  265. package/dist/database/drizzle/effect-sqlite/session.js +8 -8
  266. package/dist/database/drizzle/index.js +10 -10
  267. package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
  268. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  269. package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
  270. package/dist/database/drizzle.js +10 -10
  271. package/dist/database/migration.gen.js +36 -36
  272. package/dist/database/migration.js +37 -37
  273. package/dist/database/v1-migration.bun.js +9 -9
  274. package/dist/effect/app-node-builder.js +240 -240
  275. package/dist/environment/environment.js +63 -63
  276. package/dist/environment/index.js +65 -65
  277. package/dist/event-logger.js +13 -13
  278. package/dist/file-access.js +73 -73
  279. package/dist/file-mutation.js +64 -64
  280. package/dist/filesystem/location-watcher-policy.js +5 -5
  281. package/dist/filesystem/location-watcher.js +184 -184
  282. package/dist/filesystem/protected.js +3 -3
  283. package/dist/filesystem/search.js +72 -72
  284. package/dist/filesystem/watcher-binding.js +3 -3
  285. package/dist/filesystem/watcher.js +12 -12
  286. package/dist/filesystem.js +77 -77
  287. package/dist/form.js +56 -56
  288. package/dist/formatter/builtins.js +3 -3
  289. package/dist/formatter.js +60 -60
  290. package/dist/generate.js +73 -73
  291. package/dist/git.js +7 -7
  292. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  293. package/dist/github-copilot/copilot-provider.js +3 -3
  294. package/dist/github-copilot/models.js +63 -63
  295. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  296. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  297. package/dist/image/photon.js +1 -1
  298. package/dist/image.js +5 -5
  299. package/dist/instance/service.js +5 -5
  300. package/dist/instance.js +312 -312
  301. package/dist/instruction-discovery.js +64 -64
  302. package/dist/instructions/builtins.js +61 -61
  303. package/dist/instructions/index.js +3 -3
  304. package/dist/integration/connection.js +3 -3
  305. package/dist/integration.js +62 -62
  306. package/dist/job.js +55 -55
  307. package/dist/kv.js +53 -53
  308. package/dist/location-activity.js +55 -55
  309. package/dist/location-lifecycle.js +76 -76
  310. package/dist/location-mutation.js +29 -29
  311. package/dist/location-service-map.js +60 -60
  312. package/dist/location-services.js +310 -310
  313. package/dist/location.js +59 -59
  314. package/dist/managed-policy.js +5 -5
  315. package/dist/mcp/client.js +16 -16
  316. package/dist/mcp/index.js +78 -78
  317. package/dist/mcp/instructions.js +91 -91
  318. package/dist/mcp/oauth.js +13 -13
  319. package/dist/mcp/stdio.js +60 -60
  320. package/dist/modal/models.js +63 -63
  321. package/dist/model-resolver.js +70 -70
  322. package/dist/model.js +74 -74
  323. package/dist/models-dev.js +79 -79
  324. package/dist/permission/saved.js +57 -57
  325. package/dist/permission.js +86 -86
  326. package/dist/persistent-pty/index.js +63 -63
  327. package/dist/persistent-pty.js +51 -51
  328. package/dist/plugin/agent.js +73 -73
  329. package/dist/plugin/command.js +71 -71
  330. package/dist/plugin/compaction.js +95 -95
  331. package/dist/plugin/hooks.js +5 -5
  332. package/dist/plugin/host.js +175 -175
  333. package/dist/plugin/identity.js +3 -3
  334. package/dist/plugin/instance.js +5 -5
  335. package/dist/plugin/internal.js +283 -283
  336. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  337. package/dist/plugin/models-dev.js +68 -68
  338. package/dist/plugin/module.js +5 -5
  339. package/dist/plugin/optimize.js +2 -2
  340. package/dist/plugin/plan.js +71 -71
  341. package/dist/plugin/provider/amazon-bedrock.js +62 -62
  342. package/dist/plugin/provider/azure.js +89 -89
  343. package/dist/plugin/provider/cloudflare-ai-gateway.js +88 -88
  344. package/dist/plugin/provider/cloudflare-workers-ai.js +88 -88
  345. package/dist/plugin/provider/configured.js +87 -87
  346. package/dist/plugin/provider/digitalocean.js +64 -64
  347. package/dist/plugin/provider/github-copilot.js +65 -65
  348. package/dist/plugin/provider/gitlab.js +64 -64
  349. package/dist/plugin/provider/google-vertex.js +62 -62
  350. package/dist/plugin/provider/llmgateway.js +55 -55
  351. package/dist/plugin/provider/lmstudio.js +90 -90
  352. package/dist/plugin/provider/modal.js +64 -64
  353. package/dist/plugin/provider/ollama.js +90 -90
  354. package/dist/plugin/provider/openai.js +63 -63
  355. package/dist/plugin/provider/opencode.js +67 -67
  356. package/dist/plugin/provider/openrouter.js +63 -63
  357. package/dist/plugin/provider/poe.js +55 -55
  358. package/dist/plugin/provider/prompt-cache-key.js +62 -62
  359. package/dist/plugin/provider/sap-ai-core.js +62 -62
  360. package/dist/plugin/provider/snowflake-cortex.js +89 -89
  361. package/dist/plugin/provider/vercel.js +62 -62
  362. package/dist/plugin/provider/vllm.js +90 -90
  363. package/dist/plugin/provider/xai.js +63 -63
  364. package/dist/plugin/provider.js +120 -120
  365. package/dist/plugin/sdk.js +56 -56
  366. package/dist/plugin/service.js +3 -3
  367. package/dist/plugin/skill.js +109 -109
  368. package/dist/plugin/supervisor.js +302 -302
  369. package/dist/plugin/tool-input-repair.js +3 -3
  370. package/dist/plugin/update.js +3 -3
  371. package/dist/plugin/vcs/git.js +59 -59
  372. package/dist/plugin/vcs/hg.js +59 -59
  373. package/dist/plugin/verbosity.js +65 -65
  374. package/dist/plugin/warming.js +89 -89
  375. package/dist/plugin/websearch/exa.js +6 -6
  376. package/dist/plugin/websearch/firecrawl.js +7 -7
  377. package/dist/plugin/websearch/index.js +8 -8
  378. package/dist/plugin/websearch/mcp.js +5 -5
  379. package/dist/plugin/websearch/parallel.js +7 -7
  380. package/dist/plugin/websearch/tavily.js +6 -6
  381. package/dist/plugin/websearch/tinyfish.js +7 -7
  382. package/dist/plugin.js +181 -181
  383. package/dist/project.js +58 -58
  384. package/dist/provider.js +73 -73
  385. package/dist/pty/schema.js +3 -3
  386. package/dist/pty.js +68 -68
  387. package/dist/reference/instructions.js +66 -66
  388. package/dist/reference.js +68 -68
  389. package/dist/repository-cache.js +60 -60
  390. package/dist/repository.js +3 -3
  391. package/dist/ripgrep.js +66 -66
  392. package/dist/rpc.js +60 -60
  393. package/dist/session/command.js +53 -53
  394. package/dist/session/compaction.js +94 -94
  395. package/dist/session/context.js +112 -112
  396. package/dist/session/diff.js +59 -59
  397. package/dist/session/environment.js +5 -5
  398. package/dist/session/error.js +6 -6
  399. package/dist/session/execution/restart.js +120 -120
  400. package/dist/session/execution.js +93 -93
  401. package/dist/session/generate.js +113 -113
  402. package/dist/session/history.js +8 -8
  403. package/dist/session/inbox.js +61 -61
  404. package/dist/session/info.js +2 -2
  405. package/dist/session/instruction-entry.js +56 -56
  406. package/dist/session/instruction-state.js +2 -2
  407. package/dist/session/instructions.js +68 -68
  408. package/dist/session/model-request.js +83 -83
  409. package/dist/session/model-transport.js +7 -7
  410. package/dist/session/move.js +95 -95
  411. package/dist/session/projector.js +59 -59
  412. package/dist/session/prompt.js +73 -73
  413. package/dist/session/provider-context.js +3 -3
  414. package/dist/session/revert.js +61 -61
  415. package/dist/session/run-coordinator.js +3 -3
  416. package/dist/session/runner/index.js +3 -3
  417. package/dist/session/runner/llm.js +186 -186
  418. package/dist/session/runner/model.js +70 -70
  419. package/dist/session/runner/retry.js +80 -80
  420. package/dist/session/runner/step.js +88 -88
  421. package/dist/session/runner/to-llm-message.js +2 -2
  422. package/dist/session/schema.js +5 -5
  423. package/dist/session/session.js +134 -134
  424. package/dist/session/shell.js +104 -104
  425. package/dist/session/skill.js +72 -72
  426. package/dist/session/stats.js +8 -8
  427. package/dist/session/store.js +62 -62
  428. package/dist/session/subagent-job.js +167 -167
  429. package/dist/session/system-prompt.js +5 -5
  430. package/dist/session/title.js +115 -115
  431. package/dist/session/to-session-error.js +79 -79
  432. package/dist/session/transfer.js +117 -117
  433. package/dist/session.js +179 -179
  434. package/dist/shell/parse.js +3 -3
  435. package/dist/shell/select.js +9 -9
  436. package/dist/shell.js +107 -107
  437. package/dist/skill/discovery.js +5 -5
  438. package/dist/skill/instructions.js +76 -76
  439. package/dist/skill.js +79 -79
  440. package/dist/snapshot.js +62 -62
  441. package/dist/tool/mcp.js +90 -90
  442. package/dist/tool/plugin/edit.js +85 -85
  443. package/dist/tool/plugin/glob.js +88 -88
  444. package/dist/tool/plugin/grep.js +90 -90
  445. package/dist/tool/plugin/mcp-resource.js +82 -82
  446. package/dist/tool/plugin/opencode.js +3 -3
  447. package/dist/tool/plugin/patch.js +87 -87
  448. package/dist/tool/plugin/question.js +74 -74
  449. package/dist/tool/plugin/read.js +91 -91
  450. package/dist/tool/plugin/shell.js +173 -173
  451. package/dist/tool/plugin/skill.js +82 -82
  452. package/dist/tool/plugin/subagent.js +176 -176
  453. package/dist/tool/plugin/webfetch.js +77 -77
  454. package/dist/tool/plugin/websearch.js +81 -81
  455. package/dist/tool/plugin/write.js +87 -87
  456. package/dist/tool/read-filesystem.js +69 -69
  457. package/dist/tool-output.js +6 -6
  458. package/dist/tool.js +11 -11
  459. package/dist/v1/config/agent.js +6 -6
  460. package/dist/v1/config/attachment.js +3 -3
  461. package/dist/v1/config/command.js +5 -5
  462. package/dist/v1/config/config.js +13 -13
  463. package/dist/v1/config/error.js +3 -3
  464. package/dist/v1/config/formatter.js +3 -3
  465. package/dist/v1/config/lsp.js +5 -5
  466. package/dist/v1/config/migrate.js +63 -63
  467. package/dist/v1/config/permission.js +7 -7
  468. package/dist/v1/config/plugin.js +3 -3
  469. package/dist/v1/config/provider.js +3 -3
  470. package/dist/v1/config/skills.js +3 -3
  471. package/dist/variant.js +65 -65
  472. package/dist/vcs.js +62 -62
  473. package/dist/websearch.js +63 -63
  474. package/dist/wellknown/plugin.js +56 -56
  475. package/dist/wellknown.js +61 -61
  476. package/dist/workspace/driver.js +3 -3
  477. package/dist/workspace.js +60 -60
  478. package/dist/worktree/git.js +4 -4
  479. package/dist/worktree/strategies.js +61 -61
  480. package/dist/worktree.js +67 -67
  481. package/package.json +8 -8
  482. package/dist/chunks/mime-0rjbbhdn.js +0 -252
  483. package/dist/chunks/mime-6kdq0pjd.js +0 -4
  484. package/dist/chunks/mime-gv3av4nc.js +0 -26
  485. /package/dist/chunks/{mime-4pwxaf10.js → mime-3wrtxrr4.js} +0 -0
  486. /package/dist/chunks/{mime-f6rek99c.js → mime-6540dvt1.js} +0 -0
  487. /package/dist/chunks/{mime-rmk2c50f.js → mime-rf80fxgj.js} +0 -0
  488. /package/dist/chunks/{mime-d1ejf2a0.js → mime-v553wp33.js} +0 -0
@@ -4,15 +4,15 @@ import {
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./mime-ce49hgg3.js";
7
+ } from "./mime-wvjy0rkm.js";
8
+ import {
9
+ Service83,
10
+ node87
11
+ } from "./mime-b95dy7zp.js";
8
12
  import {
9
13
  Service82,
10
14
  node86
11
- } from "./mime-3sz51aqf.js";
12
- import {
13
- Service81,
14
- node85
15
- } from "./mime-bm3m92rh.js";
15
+ } from "./mime-afed7ext.js";
16
16
  import {
17
17
  ID18,
18
18
  Current3,
@@ -40,10 +40,10 @@ __export(exports_project, {
40
40
  Info: () => Info33,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service80,
43
+ Service: () => Service81,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node84,
46
+ node: () => node85,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service80 extends Context.Service()("@opencode/Project") {
75
+ class Service81 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,11 +95,11 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service80, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service81;
100
+ const git = yield* Service82;
101
101
  const proc = yield* AppProcess.Service;
102
- const bus = yield* Service82;
102
+ const bus = yield* Service83;
103
103
  const db = (yield* Service84).db;
104
104
  const announcing = new Set;
105
105
  const persist = Effect.fnUntraced(function* (project) {
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service80.of({ list, update, activate, resolve });
285
+ return Service81.of({ list, update, activate, resolve });
286
286
  }));
287
- var node84 = makeGlobalNode({
288
- service: Service80,
287
+ var node85 = makeGlobalNode({
288
+ service: Service81,
289
289
  layer,
290
- deps: [node86, node88, FSUtil.node, node85, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
293
+ export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
@@ -6,16 +6,16 @@ import {
6
6
  } from "./mime-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp2 = {};
10
- __export(exports_mcp2, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
- WebSearchMcp: () => exports_mcp2,
9
+ var exports_mcp = {};
10
+ __export(exports_mcp, {
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
+ WebSearchMcp: () => exports_mcp,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/unstable/http";
18
- var MAX_RESPONSE_BYTES3 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES2 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
64
+ export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID12,
2
+ ID7,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./mime-xdfcdmq0.js";
5
+ } from "./mime-bc3t5yes.js";
6
6
  import {
7
7
  merge2
8
- } from "./mime-6asax46e.js";
8
+ } from "./mime-dy59ndr5.js";
9
9
  import {
10
10
  __export
11
11
  } from "./mime-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent2 = {};
15
- __export(exports_agent2, {
16
- AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin43
14
+ var exports_agent = {};
15
+ __export(exports_agent, {
16
+ AgentPlugin: () => exports_agent,
17
+ Plugin: () => Plugin16
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin43 = define({
93
+ var Plugin16 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin43 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID12.make("general"), (item) => {
103
+ editor.update(ID7.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID12.make("explore"), (item) => {
109
+ editor.update(ID7.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin43 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID12.make("compaction"), (item) => {
128
+ editor.update(ID7.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID12.make("title"), (item) => {
133
+ editor.update(ID7.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID12.make("summary"), (item) => {
140
+ editor.update(ID7.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin43 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin43, exports_agent2 };
151
+ export { Plugin16, exports_agent };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID6
3
- } from "./mime-r205r7v3.js";
2
+ ID12
3
+ } from "./mime-3153j44s.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID6.make("gpt-5-chat-latest"), ID6.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID12.make("gpt-5-chat-latest"), ID12.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse5,
16
+ parse: () => parse4,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse5(input) {
42
+ function parse4(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse5(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse5(input);
75
+ const reference = parse4(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service55
3
- } from "./mime-byjwxeqw.js";
2
+ Service58
3
+ } from "./mime-rp5c3k0s.js";
4
4
  import {
5
- Service14
6
- } from "./mime-f5gy8qwh.js";
5
+ Service13
6
+ } from "./mime-k1qrnqst.js";
7
7
  import {
8
8
  match2
9
9
  } from "./mime-y1fvbwt7.js";
@@ -18,15 +18,15 @@ import {
18
18
  var exports_policy = {};
19
19
  __export(exports_policy, {
20
20
  ConfigPolicyPlugin: () => exports_policy,
21
- Plugin: () => Plugin19
21
+ Plugin: () => Plugin28
22
22
  });
23
23
  import { define } from "@opencode/plugin/effect/plugin";
24
24
  import { Effect } from "effect";
25
- var Plugin19 = define({
25
+ var Plugin28 = define({
26
26
  id: "opencode.config.policy",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service55;
29
- const managed = yield* Service14;
28
+ const config = yield* Service58;
29
+ const managed = yield* Service13;
30
30
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
31
31
  const policies = () => {
32
32
  const organization = managed.current();
@@ -57,4 +57,4 @@ var Plugin19 = define({
57
57
  })
58
58
  });
59
59
 
60
- export { Plugin19, exports_policy };
60
+ export { Plugin28, exports_policy };
@@ -6,9 +6,9 @@ import {
6
6
  } from "./mime-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/error.ts
9
- var exports_error = {};
10
- __export(exports_error, {
11
- ConfigErrorV1: () => exports_error,
9
+ var exports_error2 = {};
10
+ __export(exports_error2, {
11
+ ConfigErrorV1: () => exports_error2,
12
12
  DirectoryTypoError: () => DirectoryTypoError2,
13
13
  FrontmatterError: () => FrontmatterError2,
14
14
  InvalidError: () => InvalidError2,
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
43
43
  remote: Schema.String
44
44
  });
45
45
 
46
- export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
46
+ export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make20,
4
+ make19,
5
5
  diffByKey2
6
- } from "./mime-rhjbct0v.js";
6
+ } from "./mime-t550f9t1.js";
7
7
  import {
8
8
  Summary2,
9
9
  summarize2,
@@ -14,11 +14,11 @@ import {
14
14
  } from "./mime-9rqn6x4v.js";
15
15
 
16
16
  // src/codemode/instructions.ts
17
- var exports_instructions3 = {};
18
- __export(exports_instructions3, {
19
- CodeModeInstructions: () => exports_instructions3,
20
- make: () => make14,
21
- render: () => render2,
17
+ var exports_instructions5 = {};
18
+ __export(exports_instructions5, {
19
+ CodeModeInstructions: () => exports_instructions5,
20
+ make: () => make15,
21
+ render: () => render3,
22
22
  update: () => update3
23
23
  });
24
24
  import { searchSignature, toolExpression } from "@opencode/codemode";
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
32
32
  - ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
33
33
 
34
34
  ## Available tools`;
35
- function render2(catalog) {
35
+ function render3(catalog) {
36
36
  if (catalog.total === 0)
37
37
  return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
38
38
  const tools = catalog.namespaces.flatMap((namespace) => {
@@ -46,7 +46,7 @@ ${tools.join(`
46
46
  function update3(previous, current) {
47
47
  const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
48
48
 
49
- ${render2(current)}`;
49
+ ${render3(current)}`;
50
50
  if (current.total === 0)
51
51
  return replacement;
52
52
  const previousComplete = previous.shown === previous.total;
@@ -111,18 +111,18 @@ ${render2(current)}`;
111
111
  }
112
112
  var key = Key3.make("core/codemode");
113
113
  var codec = Schema.toCodecJson(Summary2);
114
- var make14 = (inventory) => {
114
+ var make15 = (inventory) => {
115
115
  const catalog = inventory === undefined ? removed2 : summarize2(inventory);
116
- return make20({
116
+ return make19({
117
117
  key,
118
118
  codec,
119
119
  read: Effect.succeed(catalog),
120
120
  render: {
121
- initial: render2,
121
+ initial: render3,
122
122
  changed: update3,
123
123
  removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
124
124
  }
125
125
  });
126
126
  };
127
127
 
128
- export { render2, update3, make14, exports_instructions3 };
128
+ export { render3, update3, make15, exports_instructions5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID7
3
- } from "./mime-xf3wnvpw.js";
2
+ ID13
3
+ } from "./mime-w5py834v.js";
4
4
  import {
5
5
  loadSDKFactory2
6
6
  } from "./mime-hjbc5kem.js";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID7.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID7.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID13.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service56
3
- } from "./mime-gyn306pg.js";
2
+ Service59
3
+ } from "./mime-dtt66365.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./mime-rhjbct0v.js";
6
+ } from "./mime-t550f9t1.js";
7
7
  import {
8
8
  AbsolutePath2
9
9
  } from "./mime-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service57
13
- } from "./mime-0gs1t9y7.js";
12
+ Service35
13
+ } from "./mime-v6v677s0.js";
14
14
  import {
15
- Service79
16
- } from "./mime-246wn8dt.js";
15
+ Service80
16
+ } from "./mime-2kdwgsh2.js";
17
17
  import {
18
18
  __export
19
19
  } from "./mime-9rqn6x4v.js";
@@ -22,24 +22,24 @@ import {
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin11
25
+ Plugin: () => Plugin33
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin11 = define({
32
+ var Plugin33 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service57;
35
+ const discovery = yield* Service35;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service79;
42
- const watcher = yield* Service56;
41
+ const location = yield* Service80;
42
+ const watcher = yield* Service59;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin11, exports_instruction };
117
+ export { Plugin33, exports_instruction };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node86
5
- } from "./mime-3sz51aqf.js";
6
- import {
7
3
  Service83,
8
4
  node87
9
- } from "./mime-ghw31w7j.js";
5
+ } from "./mime-b95dy7zp.js";
6
+ import {
7
+ Service62,
8
+ node65
9
+ } from "./mime-anq3081s.js";
10
10
  import {
11
11
  __export
12
12
  } from "./mime-9rqn6x4v.js";
@@ -16,14 +16,14 @@ var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event17,
19
+ Event: () => Event11,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service69,
22
+ Service: () => Service60,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node72,
26
- resolve: () => resolve3
25
+ node: () => node62,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service69 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service60 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event17 = {
51
+ var Event11 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service69, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service83;
81
- const bus = yield* Service82;
80
+ const kv = yield* Service62;
81
+ const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
84
84
  const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event17.Updated, {});
112
+ yield* bus.publish(Event11.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service69.of({
115
+ return Service60.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event17.Updated, {});
128
+ yield* bus.publish(Event11.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event17.Updated, {});
141
+ yield* bus.publish(Event11.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node72 = makeGlobalNode({ service: Service69, layer, deps: [httpClient, node87, node86] });
146
+ var node62 = makeGlobalNode({ service: Service60, layer, deps: [httpClient, node65, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service69, Event17, inspect2, resolve3, node72, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service60, Event11, inspect2, resolve2, node62, exports_wellknown };
@@ -6,11 +6,11 @@ import {
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options7,
9
+ Options: () => Options8,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
13
+ var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
15
15
 
16
- export { Options7, Spec2, exports_plugin3 };
16
+ export { Options8, Spec2, exports_plugin3 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./mime-jg3tkmqv.js";
2
+ Service81,
3
+ node85
4
+ } from "./mime-1q9kvn7y.js";
5
5
  import {
6
6
  __export
7
7
  } from "./mime-9rqn6x4v.js";
@@ -12,22 +12,22 @@ __export(exports_location, {
12
12
  Info: () => Info32,
13
13
  Location: () => exports_location,
14
14
  Ref: () => Ref4,
15
- Service: () => Service79,
15
+ Service: () => Service80,
16
16
  boundNode: () => boundNode2,
17
- node: () => node83,
17
+ node: () => node84,
18
18
  response: () => response2
19
19
  });
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { Info as Info32, Ref as Ref4, response as response2 } from "@opencode/schema/location";
22
22
  import { LayerNode } from "@opencode/util/effect/layer-node";
23
23
  import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
24
- class Service79 extends Context.Service()("@opencode/Location") {
24
+ class Service80 extends Context.Service()("@opencode/Location") {
25
25
  }
26
- var node83 = LayerNode.unbound(Service79, tags.values.location);
27
- var layer = (ref, options) => Layer.effect(Service79, Effect.gen(function* () {
28
- const project = yield* Service80;
26
+ var node84 = LayerNode.unbound(Service80, tags.values.location);
27
+ var layer = (ref, options) => Layer.effect(Service80, Effect.gen(function* () {
28
+ const project = yield* Service81;
29
29
  const resolved = yield* project.resolve(ref.directory, options);
30
- return Service79.of({
30
+ return Service80.of({
31
31
  directory: ref.directory,
32
32
  workspaceID: ref.workspaceID,
33
33
  project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service79, Effect.gen(function* () {
35
35
  });
36
36
  }));
37
37
  var boundNode2 = (ref, options) => makeLocationNode({
38
- service: Service79,
38
+ service: Service80,
39
39
  layer: layer(ref, options),
40
- deps: [node84]
40
+ deps: [node85]
41
41
  });
42
42
 
43
- export { Info32, Ref4, response2, Service79, node83, boundNode2, exports_location };
43
+ export { Info32, Ref4, response2, Service80, node84, boundNode2, exports_location };