@opencode/core 0.0.0-dev-21100 → 0.0.0-dev-21102

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 (477) hide show
  1. package/dist/agent.js +61 -61
  2. package/dist/aisdk-native.js +63 -63
  3. package/dist/aisdk.js +68 -68
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +53 -53
  6. package/dist/chunks/{file-mutation-ye87g1v7.js → file-mutation-0a45r66e.js} +7 -7
  7. package/dist/chunks/{file-mutation-e4cyj753.js → file-mutation-0bn0sq9n.js} +11 -11
  8. package/dist/chunks/{file-mutation-wpmyr8wn.js → file-mutation-0kqmzpgj.js} +1 -1
  9. package/dist/chunks/{file-mutation-20swtk33.js → file-mutation-0vhb79zx.js} +22 -22
  10. package/dist/chunks/{file-mutation-9mvbc2bx.js → file-mutation-10bapksq.js} +29 -29
  11. package/dist/chunks/file-mutation-1e0042jk.js +513 -0
  12. package/dist/chunks/{file-mutation-s2z0d44b.js → file-mutation-1j6m29mr.js} +8 -8
  13. package/dist/chunks/{file-mutation-ncf68bzz.js → file-mutation-1ja1wxmc.js} +7 -7
  14. package/dist/chunks/{file-mutation-8yvq4f24.js → file-mutation-1nbyw85c.js} +9 -9
  15. package/dist/chunks/{file-mutation-z9xvgkvp.js → file-mutation-1pw9daj1.js} +12 -12
  16. package/dist/chunks/{file-mutation-tce46y2m.js → file-mutation-1vq8waa3.js} +19 -19
  17. package/dist/chunks/{file-mutation-mdncxare.js → file-mutation-24ashckt.js} +26 -26
  18. package/dist/chunks/{file-mutation-a4yg1sdh.js → file-mutation-2ee1qjw3.js} +16 -16
  19. package/dist/chunks/{file-mutation-ft3hqk2c.js → file-mutation-2mq1h16s.js} +7 -7
  20. package/dist/chunks/{file-mutation-0w4jm1jx.js → file-mutation-2njd48f3.js} +3 -3
  21. package/dist/chunks/{file-mutation-2jktmf9n.js → file-mutation-31cd2ng7.js} +2 -2
  22. package/dist/chunks/{file-mutation-h7s7r6s9.js → file-mutation-31xfzrxg.js} +3 -3
  23. package/dist/chunks/{file-mutation-1vg5bab8.js → file-mutation-32qfxbms.js} +9 -9
  24. package/dist/chunks/{file-mutation-0kqd78f8.js → file-mutation-34pqwryj.js} +29 -29
  25. package/dist/chunks/{file-mutation-x28b6w11.js → file-mutation-34yg83yr.js} +12 -12
  26. package/dist/chunks/{file-mutation-m1bgbts7.js → file-mutation-395y8vmn.js} +31 -31
  27. package/dist/chunks/{file-mutation-92vehc1c.js → file-mutation-3h7vgc1c.js} +19 -19
  28. package/dist/chunks/{file-mutation-g797rwqt.js → file-mutation-3nn61x4m.js} +11 -11
  29. package/dist/chunks/{file-mutation-ytt5asfy.js → file-mutation-3xmz25ae.js} +3 -3
  30. package/dist/chunks/{file-mutation-15nepkqg.js → file-mutation-3zy697b6.js} +7 -7
  31. package/dist/chunks/{file-mutation-3773e6mf.js → file-mutation-3zzm0etj.js} +25 -25
  32. package/dist/chunks/{file-mutation-52ykxqh0.js → file-mutation-44gm7dpy.js} +12 -12
  33. package/dist/chunks/file-mutation-49n22trf.js +257 -0
  34. package/dist/chunks/{file-mutation-29s5x6b9.js → file-mutation-4byykzwt.js} +11 -11
  35. package/dist/chunks/{file-mutation-461nxmbv.js → file-mutation-4ekscj25.js} +3 -3
  36. package/dist/chunks/{file-mutation-7n5f7c7j.js → file-mutation-4p0ag926.js} +10 -10
  37. package/dist/chunks/{file-mutation-mzxszccs.js → file-mutation-4pxfaks0.js} +2 -2
  38. package/dist/chunks/{file-mutation-j8hamcts.js → file-mutation-4x8f5qrc.js} +70 -70
  39. package/dist/chunks/{file-mutation-tqvzg8wx.js → file-mutation-4y2jths2.js} +4 -4
  40. package/dist/chunks/{file-mutation-gg4q0cvg.js → file-mutation-523zf4ny.js} +8 -8
  41. package/dist/chunks/{file-mutation-cpqhy60c.js → file-mutation-53rh8r92.js} +13 -13
  42. package/dist/chunks/{file-mutation-jd1c0qnd.js → file-mutation-5pyjqqve.js} +1 -1
  43. package/dist/chunks/{file-mutation-1p5j3zb8.js → file-mutation-5vma4t00.js} +9 -9
  44. package/dist/chunks/{file-mutation-78qa9ztr.js → file-mutation-5xeyj92j.js} +1 -1
  45. package/dist/chunks/{file-mutation-k4jk0bz8.js → file-mutation-6axq4ad7.js} +9 -9
  46. package/dist/chunks/{file-mutation-kf9hmnhf.js → file-mutation-6b5qcyht.js} +8 -8
  47. package/dist/chunks/{file-mutation-33kwj4td.js → file-mutation-6et16byz.js} +4 -4
  48. package/dist/chunks/{file-mutation-b4qv2psp.js → file-mutation-6gke9jm0.js} +21 -21
  49. package/dist/chunks/{file-mutation-4hrfvj5w.js → file-mutation-6n4qjbg5.js} +25 -25
  50. package/dist/chunks/{file-mutation-bfjgvht7.js → file-mutation-6n6k1agq.js} +36 -36
  51. package/dist/chunks/{file-mutation-jws6fkes.js → file-mutation-6pc27hjz.js} +3 -3
  52. package/dist/chunks/{file-mutation-24960q6w.js → file-mutation-6qbfyeq4.js} +2 -2
  53. package/dist/chunks/{file-mutation-y184c51n.js → file-mutation-6qr2hpa3.js} +34 -34
  54. package/dist/chunks/{file-mutation-v7z2bvyd.js → file-mutation-6rm5yzkt.js} +3 -3
  55. package/dist/chunks/{file-mutation-xpv5mdgy.js → file-mutation-78mmz05e.js} +1 -1
  56. package/dist/chunks/{file-mutation-06y5bfez.js → file-mutation-7apm8bw6.js} +16 -16
  57. package/dist/chunks/{file-mutation-emandsac.js → file-mutation-7f067m2e.js} +1 -1
  58. package/dist/chunks/{file-mutation-pw2j4nb4.js → file-mutation-7gzvat6z.js} +16 -16
  59. package/dist/chunks/{file-mutation-4xe7a85s.js → file-mutation-7x9m82rv.js} +2 -2
  60. package/dist/chunks/{file-mutation-5rs9zx7t.js → file-mutation-82s76q1y.js} +2 -2
  61. package/dist/chunks/{file-mutation-f4z11j7w.js → file-mutation-831szrnr.js} +51 -51
  62. package/dist/chunks/{file-mutation-gte9q6nk.js → file-mutation-83nvk7gf.js} +7 -7
  63. package/dist/chunks/{file-mutation-1kz77zsy.js → file-mutation-86hr6tyx.js} +17 -17
  64. package/dist/chunks/{file-mutation-72rw85ce.js → file-mutation-86qjnnqk.js} +8 -8
  65. package/dist/chunks/{file-mutation-21ewksw3.js → file-mutation-8kpxa52r.js} +170 -169
  66. package/dist/chunks/{file-mutation-ab0bt018.js → file-mutation-8nhf552q.js} +13 -13
  67. package/dist/chunks/{file-mutation-r2ay4r5j.js → file-mutation-8xdknktr.js} +6 -6
  68. package/dist/chunks/{file-mutation-7125kzzv.js → file-mutation-928exejz.js} +9 -9
  69. package/dist/chunks/{file-mutation-f1xh4kee.js → file-mutation-9az4rgkb.js} +22 -22
  70. package/dist/chunks/{file-mutation-5wvd3wth.js → file-mutation-9cd83t7f.js} +15 -15
  71. package/dist/chunks/{file-mutation-tdntdvpg.js → file-mutation-9qtbwzwj.js} +1 -1
  72. package/dist/chunks/{file-mutation-330hs5ce.js → file-mutation-9tk0xbhp.js} +18 -18
  73. package/dist/chunks/{file-mutation-3wznbp76.js → file-mutation-a0ngmh7v.js} +48 -48
  74. package/dist/chunks/{file-mutation-t363e79v.js → file-mutation-a5cb3rxh.js} +13 -13
  75. package/dist/chunks/{file-mutation-mhkj1g5d.js → file-mutation-ab0v7xqg.js} +9 -9
  76. package/dist/chunks/{file-mutation-zfrh7ppm.js → file-mutation-ab17c7dx.js} +11 -11
  77. package/dist/chunks/{file-mutation-3y377wv9.js → file-mutation-addxnjmp.js} +3 -3
  78. package/dist/chunks/{file-mutation-rmr77w56.js → file-mutation-ag0c998m.js} +29 -29
  79. package/dist/chunks/{file-mutation-p0r8daxh.js → file-mutation-ahjtwsk1.js} +12 -12
  80. package/dist/chunks/{file-mutation-ac4jk4jf.js → file-mutation-atcakhwd.js} +12 -12
  81. package/dist/chunks/{file-mutation-56dyw8xh.js → file-mutation-atmskjxw.js} +25 -25
  82. package/dist/chunks/{file-mutation-y8y52ggh.js → file-mutation-atrg28jh.js} +32 -32
  83. package/dist/chunks/{file-mutation-n0z9xdv5.js → file-mutation-av34pvd4.js} +14 -14
  84. package/dist/chunks/{file-mutation-h71yhdd1.js → file-mutation-b81ahfje.js} +24 -24
  85. package/dist/chunks/{file-mutation-cjyxbekx.js → file-mutation-bbsgqxz3.js} +5 -5
  86. package/dist/chunks/{file-mutation-n4m8qww5.js → file-mutation-bbzjnv7y.js} +42 -42
  87. package/dist/chunks/{file-mutation-39z47dss.js → file-mutation-bddt2pqj.js} +16 -16
  88. package/dist/chunks/{file-mutation-z6cf9sp5.js → file-mutation-bdwftekd.js} +28 -28
  89. package/dist/chunks/{file-mutation-ywkanc3c.js → file-mutation-bh35h2a4.js} +30 -30
  90. package/dist/chunks/{file-mutation-qze0pbah.js → file-mutation-bhja2czc.js} +46 -46
  91. package/dist/chunks/{file-mutation-bvhmqw89.js → file-mutation-bjzecbrs.js} +4 -4
  92. package/dist/chunks/{file-mutation-cdkz0px7.js → file-mutation-bwtsbp89.js} +11 -11
  93. package/dist/chunks/{file-mutation-chatkvte.js → file-mutation-cba5y8md.js} +12 -12
  94. package/dist/chunks/{file-mutation-bb9cz41w.js → file-mutation-ckc5xesv.js} +51 -51
  95. package/dist/chunks/{file-mutation-y1qdxpe7.js → file-mutation-cng1644r.js} +12 -12
  96. package/dist/chunks/{file-mutation-heegtd1e.js → file-mutation-cqbnrm9h.js} +30 -30
  97. package/dist/chunks/{file-mutation-jy5yt5xq.js → file-mutation-cry3q34q.js} +21 -21
  98. package/dist/chunks/{file-mutation-c87fy7y4.js → file-mutation-crygnby0.js} +1 -1
  99. package/dist/chunks/{file-mutation-ydc3kk2p.js → file-mutation-cyz4rac1.js} +17 -17
  100. package/dist/chunks/{file-mutation-rj3feasb.js → file-mutation-cz1vwcws.js} +1 -1
  101. package/dist/chunks/{file-mutation-94f2xxp4.js → file-mutation-dhww0s6x.js} +1 -1
  102. package/dist/chunks/{file-mutation-s2ge5s40.js → file-mutation-dpdqynsp.js} +26 -26
  103. package/dist/chunks/{file-mutation-qqeeq2t9.js → file-mutation-drwq78ky.js} +6 -6
  104. package/dist/chunks/{file-mutation-zjeyh9a3.js → file-mutation-dt4y2tq7.js} +17 -17
  105. package/dist/chunks/{file-mutation-gqgb50qg.js → file-mutation-e236apxg.js} +5 -5
  106. package/dist/chunks/{file-mutation-5qd3pb7m.js → file-mutation-e3qxr5gk.js} +2 -2
  107. package/dist/chunks/{file-mutation-vqmj6h0p.js → file-mutation-e3xy4e71.js} +7 -7
  108. package/dist/chunks/{file-mutation-w66tjm9k.js → file-mutation-e7a0tnjd.js} +8 -8
  109. package/dist/chunks/{file-mutation-8zs8s6wb.js → file-mutation-eac7ec6d.js} +6 -6
  110. package/dist/chunks/{file-mutation-9638ddv9.js → file-mutation-ed01axam.js} +2 -2
  111. package/dist/chunks/{file-mutation-drj95rpb.js → file-mutation-egyn2h7c.js} +7 -7
  112. package/dist/chunks/{file-mutation-v1n33rkk.js → file-mutation-emew9pj0.js} +16 -16
  113. package/dist/chunks/{file-mutation-f0626khp.js → file-mutation-es633c8d.js} +24 -24
  114. package/dist/chunks/{file-mutation-qcq0ch7s.js → file-mutation-ettnqe8w.js} +6 -6
  115. package/dist/chunks/{file-mutation-ydh2fxne.js → file-mutation-f8g1y2jp.js} +16 -16
  116. package/dist/chunks/{file-mutation-t0naa760.js → file-mutation-f9twm2pk.js} +22 -22
  117. package/dist/chunks/{file-mutation-qgn6gcr1.js → file-mutation-fcrkznn8.js} +4 -4
  118. package/dist/chunks/{file-mutation-vj1wkjxk.js → file-mutation-fg22vpm1.js} +20 -20
  119. package/dist/chunks/{file-mutation-c27esgm9.js → file-mutation-fqtvmpfq.js} +7 -7
  120. package/dist/chunks/{file-mutation-x4z3fxw8.js → file-mutation-fssat8nd.js} +10 -10
  121. package/dist/chunks/{file-mutation-f29j4hv5.js → file-mutation-gjvt2sw1.js} +25 -25
  122. package/dist/chunks/{file-mutation-7nyrqda9.js → file-mutation-gv0fvrxd.js} +13 -13
  123. package/dist/chunks/{file-mutation-xf8bbrv6.js → file-mutation-h2m7wh0c.js} +9 -9
  124. package/dist/chunks/{file-mutation-1b4m0bzf.js → file-mutation-h9wp8z5w.js} +3 -3
  125. package/dist/chunks/{file-mutation-dz2gtyfc.js → file-mutation-hgpde3vb.js} +17 -17
  126. package/dist/chunks/{file-mutation-tz6djrkh.js → file-mutation-hvb11wac.js} +7 -7
  127. package/dist/chunks/{file-mutation-n37c4crj.js → file-mutation-j58c5xyq.js} +7 -7
  128. package/dist/chunks/{file-mutation-r1w3bzw9.js → file-mutation-jc9d9mw1.js} +16 -16
  129. package/dist/chunks/{file-mutation-xrz68rn9.js → file-mutation-jfnyz2cb.js} +26 -26
  130. package/dist/chunks/{file-mutation-4v7qdvcn.js → file-mutation-jqh9b0xq.js} +4 -4
  131. package/dist/chunks/{file-mutation-kne8f3cn.js → file-mutation-jvf3yq6v.js} +3 -3
  132. package/dist/chunks/{file-mutation-yjqzbtaj.js → file-mutation-jxwk72h5.js} +1 -1
  133. package/dist/chunks/{file-mutation-1k9ymn1d.js → file-mutation-k9rqwrkg.js} +9 -9
  134. package/dist/chunks/{file-mutation-dv0zfr7y.js → file-mutation-kecerxq6.js} +5 -5
  135. package/dist/chunks/{file-mutation-ny8edt06.js → file-mutation-khmqacep.js} +3 -3
  136. package/dist/chunks/{file-mutation-y7nndgyc.js → file-mutation-kjd40bgk.js} +7 -7
  137. package/dist/chunks/{file-mutation-2hh5ygwn.js → file-mutation-kna85462.js} +26 -26
  138. package/dist/chunks/{file-mutation-htzs53gz.js → file-mutation-kp1hjqcq.js} +10 -10
  139. package/dist/chunks/{file-mutation-0b5g1ynf.js → file-mutation-kqx1b4hy.js} +1 -1
  140. package/dist/chunks/{file-mutation-azs149d7.js → file-mutation-kvwqxrwb.js} +16 -16
  141. package/dist/chunks/{file-mutation-j7sz3dke.js → file-mutation-m6078mdh.js} +33 -33
  142. package/dist/chunks/{file-mutation-x6888ea0.js → file-mutation-mnv5anne.js} +16 -16
  143. package/dist/chunks/{file-mutation-a5hphphy.js → file-mutation-mq9ghvnj.js} +12 -12
  144. package/dist/chunks/{file-mutation-2vhp9s4n.js → file-mutation-mrp1vw8h.js} +16 -16
  145. package/dist/chunks/{file-mutation-c3g6e5j8.js → file-mutation-mw3zb6qd.js} +1 -1
  146. package/dist/chunks/{file-mutation-2rj6s964.js → file-mutation-nbe12rbe.js} +8 -8
  147. package/dist/chunks/{file-mutation-7rr4hg1t.js → file-mutation-np2zj9yp.js} +22 -22
  148. package/dist/chunks/{file-mutation-hdmfsn6c.js → file-mutation-nr90a0dt.js} +41 -41
  149. package/dist/chunks/{file-mutation-q9nte3tg.js → file-mutation-ns6qmrtd.js} +13 -13
  150. package/dist/chunks/{file-mutation-kwy2a26b.js → file-mutation-nteb4xfc.js} +4 -4
  151. package/dist/chunks/{file-mutation-5yzzbxa7.js → file-mutation-p42hj8p8.js} +7 -7
  152. package/dist/chunks/{file-mutation-57mp2y7f.js → file-mutation-paerxhb0.js} +12 -12
  153. package/dist/chunks/file-mutation-pgrantrc.js +26 -0
  154. package/dist/chunks/{file-mutation-2s0p8hxn.js → file-mutation-pgvws8e3.js} +81 -81
  155. package/dist/chunks/{file-mutation-zaz5cehh.js → file-mutation-py1s82by.js} +5 -5
  156. package/dist/chunks/{file-mutation-k0q3gph6.js → file-mutation-q19wpyyh.js} +24 -24
  157. package/dist/chunks/{file-mutation-pbfwh0cy.js → file-mutation-qa3qhgw8.js} +6 -6
  158. package/dist/chunks/{file-mutation-ezyhk4hd.js → file-mutation-qhj8gsw7.js} +21 -21
  159. package/dist/chunks/{file-mutation-8gek01c0.js → file-mutation-qqrcrv2d.js} +9 -9
  160. package/dist/chunks/{file-mutation-n2mczcjd.js → file-mutation-qskc9fng.js} +9 -9
  161. package/dist/chunks/{file-mutation-rdwqze1j.js → file-mutation-qze06xta.js} +29 -29
  162. package/dist/chunks/{file-mutation-jefgzady.js → file-mutation-r1rs5fcg.js} +8 -8
  163. package/dist/chunks/{file-mutation-zwph9whm.js → file-mutation-r6twsrbc.js} +15 -15
  164. package/dist/chunks/{file-mutation-gr0kfs40.js → file-mutation-rg5vjzce.js} +12 -12
  165. package/dist/chunks/{file-mutation-t550f9t1.js → file-mutation-rhjbct0v.js} +3 -3
  166. package/dist/chunks/{file-mutation-j3tce0kq.js → file-mutation-rp1sxpnt.js} +1 -1
  167. package/dist/chunks/{file-mutation-e0c8yhzv.js → file-mutation-rsk8b1r9.js} +12 -12
  168. package/dist/chunks/{file-mutation-hjkfxcec.js → file-mutation-s0xd9fk5.js} +10 -10
  169. package/dist/chunks/{file-mutation-67ck3t7e.js → file-mutation-s7p2cp87.js} +19 -19
  170. package/dist/chunks/{file-mutation-adgjx2yn.js → file-mutation-s9hmt3s5.js} +16 -16
  171. package/dist/chunks/{file-mutation-av2z4yzv.js → file-mutation-sjsq85cv.js} +14 -14
  172. package/dist/chunks/{file-mutation-5m76pzew.js → file-mutation-sqxd4b6a.js} +13 -13
  173. package/dist/chunks/{file-mutation-sa2fc5bp.js → file-mutation-stdh1w8b.js} +9 -9
  174. package/dist/chunks/{file-mutation-4j91vnan.js → file-mutation-svvw92nk.js} +22 -22
  175. package/dist/chunks/{file-mutation-bhkme6k3.js → file-mutation-t3zmyd3w.js} +33 -33
  176. package/dist/chunks/{file-mutation-25bzgp06.js → file-mutation-tjn2qjgm.js} +23 -23
  177. package/dist/chunks/{file-mutation-y0jhh126.js → file-mutation-tk14y25j.js} +3 -3
  178. package/dist/chunks/{file-mutation-1ph9pxrr.js → file-mutation-tms097mr.js} +21 -21
  179. package/dist/chunks/{file-mutation-d0wd20a3.js → file-mutation-tr1j93sp.js} +12 -12
  180. package/dist/chunks/{file-mutation-4434d9q2.js → file-mutation-v0es1rhs.js} +7 -7
  181. package/dist/chunks/{file-mutation-0r7tst47.js → file-mutation-v38qq1xq.js} +3 -3
  182. package/dist/chunks/{file-mutation-xfykgcca.js → file-mutation-v4r9rrgr.js} +14 -14
  183. package/dist/chunks/{file-mutation-g0kh84es.js → file-mutation-v9ym5vkf.js} +21 -21
  184. package/dist/chunks/{file-mutation-jwjc3wxe.js → file-mutation-vaer15sz.js} +12 -12
  185. package/dist/chunks/{file-mutation-3dgghfty.js → file-mutation-vhs7bsm8.js} +79 -79
  186. package/dist/chunks/{file-mutation-9tesz0cq.js → file-mutation-vnrbpqt1.js} +25 -25
  187. package/dist/chunks/{file-mutation-dn347z9t.js → file-mutation-vx06kqgv.js} +15 -15
  188. package/dist/chunks/{file-mutation-2rrj5gsc.js → file-mutation-vx3jgdek.js} +3 -3
  189. package/dist/chunks/{file-mutation-gwnd8qme.js → file-mutation-vx9tn3ww.js} +6 -6
  190. package/dist/chunks/{file-mutation-pfkmq5ga.js → file-mutation-w31qasc1.js} +7 -7
  191. package/dist/chunks/{file-mutation-ejj0jwrk.js → file-mutation-w80w7egq.js} +24 -24
  192. package/dist/chunks/{file-mutation-q3a6mqv4.js → file-mutation-wdbsdckj.js} +17 -17
  193. package/dist/chunks/{file-mutation-5x013d8j.js → file-mutation-whepmyc8.js} +1 -1
  194. package/dist/chunks/{file-mutation-7txsrhy6.js → file-mutation-whmxtv1k.js} +18 -18
  195. package/dist/chunks/{file-mutation-bjx1sjef.js → file-mutation-wjr9rjd7.js} +4 -4
  196. package/dist/chunks/{file-mutation-9j12b9vs.js → file-mutation-wq2exejj.js} +35 -35
  197. package/dist/chunks/{file-mutation-yv787zs0.js → file-mutation-wq5jrx1v.js} +49 -49
  198. package/dist/chunks/{file-mutation-rey3ye30.js → file-mutation-wrmx1wd8.js} +17 -17
  199. package/dist/chunks/{file-mutation-5feb8jak.js → file-mutation-wyfpybhz.js} +25 -25
  200. package/dist/chunks/{file-mutation-3cqwnyj9.js → file-mutation-x5wrmng7.js} +9 -9
  201. package/dist/chunks/{file-mutation-12fx52fx.js → file-mutation-xfh984c1.js} +16 -16
  202. package/dist/chunks/{file-mutation-b5qfcexj.js → file-mutation-xjpvrdvq.js} +12 -12
  203. package/dist/chunks/{file-mutation-hxqe5h20.js → file-mutation-xqevex3y.js} +31 -31
  204. package/dist/chunks/{file-mutation-6e7td314.js → file-mutation-xtxypabt.js} +7 -7
  205. package/dist/chunks/{file-mutation-m0jmdjc8.js → file-mutation-xvjf424w.js} +12 -12
  206. package/dist/chunks/{file-mutation-0ws562sj.js → file-mutation-y35511gd.js} +20 -20
  207. package/dist/chunks/{file-mutation-9vqmampf.js → file-mutation-y45dsw3d.js} +33 -33
  208. package/dist/chunks/{file-mutation-d858xzj7.js → file-mutation-y6mhz57t.js} +3 -3
  209. package/dist/chunks/{file-mutation-axp4ehpq.js → file-mutation-y8p3zjbc.js} +5 -5
  210. package/dist/chunks/{file-mutation-cg0j9q80.js → file-mutation-yewqjc3q.js} +45 -45
  211. package/dist/chunks/{file-mutation-z3nay82g.js → file-mutation-yh7kjdpc.js} +7 -7
  212. package/dist/chunks/{file-mutation-c4fag6w1.js → file-mutation-yk3k7trf.js} +1 -1
  213. package/dist/chunks/{file-mutation-tvjkad3e.js → file-mutation-ykbenvtt.js} +16 -16
  214. package/dist/chunks/{file-mutation-fgp2n23a.js → file-mutation-ym72szr7.js} +37 -37
  215. package/dist/chunks/{file-mutation-f2n192rq.js → file-mutation-yp2x3t23.js} +3 -3
  216. package/dist/chunks/{file-mutation-0fz4623t.js → file-mutation-yqc6bamn.js} +1 -1
  217. package/dist/chunks/{file-mutation-4dhekype.js → file-mutation-yv1g7dvw.js} +21 -21
  218. package/dist/chunks/{file-mutation-7mhsvps3.js → file-mutation-yzmsvx3n.js} +10 -10
  219. package/dist/chunks/{file-mutation-ygdna4kr.js → file-mutation-z6c3x22d.js} +3 -3
  220. package/dist/chunks/{file-mutation-xt8c43wt.js → file-mutation-z6szz84x.js} +18 -18
  221. package/dist/chunks/{file-mutation-1kkkfcmn.js → file-mutation-z8abfd22.js} +46 -46
  222. package/dist/chunks/{file-mutation-3xbrj0ew.js → file-mutation-ze4328nr.js} +21 -21
  223. package/dist/chunks/{file-mutation-3p0gnp52.js → file-mutation-zj0rakt4.js} +11 -11
  224. package/dist/chunks/{file-mutation-x3snk7zw.js → file-mutation-zj24t7xr.js} +4 -4
  225. package/dist/chunks/{file-mutation-kb8mmr2h.js → file-mutation-zm7ab947.js} +22 -22
  226. package/dist/chunks/{file-mutation-rfpqy3ha.js → file-mutation-zx5swzrd.js} +2 -2
  227. package/dist/chunks/{file-mutation-scgrse2b.js → file-mutation-zyk1yjk8.js} +3 -3
  228. package/dist/chunks/{file-mutation-sgxwq5t5.js → file-mutation-zz5c3g14.js} +5 -5
  229. package/dist/codemode/instructions.js +10 -10
  230. package/dist/codemode/tool.js +2 -2
  231. package/dist/command.js +65 -65
  232. package/dist/config/discovery.js +56 -56
  233. package/dist/config/normalize.js +72 -72
  234. package/dist/config/plugin/agent.js +85 -85
  235. package/dist/config/plugin/command.js +166 -166
  236. package/dist/config/plugin/compaction.js +115 -115
  237. package/dist/config/plugin/compatibility.js +100 -100
  238. package/dist/config/plugin/formatter.js +83 -83
  239. package/dist/config/plugin/image.js +83 -83
  240. package/dist/config/plugin/instruction.js +84 -84
  241. package/dist/config/plugin/location-watcher.js +85 -85
  242. package/dist/config/plugin/mcp.js +91 -91
  243. package/dist/config/plugin/policy.js +84 -84
  244. package/dist/config/plugin/provider.js +83 -83
  245. package/dist/config/plugin/reference.js +85 -85
  246. package/dist/config/plugin/shell.js +85 -85
  247. package/dist/config/plugin/skill-file.js +72 -72
  248. package/dist/config/plugin/skill.js +103 -103
  249. package/dist/config/plugin/snapshot.js +83 -83
  250. package/dist/config/plugin/source.js +86 -86
  251. package/dist/config/plugin/tool-output.js +84 -84
  252. package/dist/config/plugin/websearch.js +84 -84
  253. package/dist/config/plugin/worktree.js +85 -85
  254. package/dist/config.js +89 -89
  255. package/dist/credential.js +60 -60
  256. package/dist/database/database.js +54 -54
  257. package/dist/database/drizzle/effect-sqlite/driver.js +7 -7
  258. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  259. package/dist/database/drizzle/effect-sqlite/session.js +6 -6
  260. package/dist/database/drizzle/index.js +8 -8
  261. package/dist/database/drizzle/sqlite-core/effect/db.js +4 -4
  262. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  263. package/dist/database/drizzle/sqlite-core/effect/session.js +5 -5
  264. package/dist/database/drizzle.js +8 -8
  265. package/dist/database/migration.gen.js +38 -38
  266. package/dist/database/migration.js +39 -39
  267. package/dist/database/v1-migration.bun.js +12 -12
  268. package/dist/effect/app-node-builder.js +229 -229
  269. package/dist/environment/environment.js +64 -64
  270. package/dist/environment/index.js +66 -66
  271. package/dist/environment/unavailable.js +3 -3
  272. package/dist/event-logger.js +13 -13
  273. package/dist/file-access.js +75 -75
  274. package/dist/file-mutation.js +65 -65
  275. package/dist/filesystem/location-watcher-policy.js +5 -5
  276. package/dist/filesystem/location-watcher.js +180 -180
  277. package/dist/filesystem/search.js +62 -62
  278. package/dist/filesystem/watcher-binding.js +3 -3
  279. package/dist/filesystem/watcher.js +14 -14
  280. package/dist/filesystem.js +63 -63
  281. package/dist/form.js +62 -62
  282. package/dist/formatter.js +61 -61
  283. package/dist/generate.js +77 -77
  284. package/dist/git.js +7 -7
  285. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  286. package/dist/github-copilot/copilot-provider.js +3 -3
  287. package/dist/github-copilot/models.js +65 -65
  288. package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
  289. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  290. package/dist/image/photon.js +1 -1
  291. package/dist/image.js +5 -5
  292. package/dist/instance.js +305 -305
  293. package/dist/instruction-discovery.js +64 -64
  294. package/dist/instructions/builtins.js +61 -61
  295. package/dist/instructions/index.js +3 -3
  296. package/dist/integration/connection.js +3 -3
  297. package/dist/integration.js +66 -66
  298. package/dist/job.js +57 -57
  299. package/dist/kv.js +53 -53
  300. package/dist/location-activity.js +55 -55
  301. package/dist/location-lifecycle.js +78 -78
  302. package/dist/location-service-map.js +60 -60
  303. package/dist/location-services.js +308 -308
  304. package/dist/location.js +63 -63
  305. package/dist/managed-policy.js +7 -7
  306. package/dist/mcp/client.js +17 -17
  307. package/dist/mcp/index.js +78 -78
  308. package/dist/mcp/instructions.js +92 -92
  309. package/dist/mcp/oauth.js +13 -13
  310. package/dist/mcp/stdio.js +61 -61
  311. package/dist/modal/models.js +65 -65
  312. package/dist/model-resolver.js +72 -72
  313. package/dist/model.js +68 -68
  314. package/dist/models-dev.js +74 -74
  315. package/dist/permission/saved.js +59 -59
  316. package/dist/permission.js +84 -84
  317. package/dist/persistent-pty/index.js +68 -68
  318. package/dist/persistent-pty.js +52 -52
  319. package/dist/plugin/agent.js +56 -56
  320. package/dist/plugin/command.js +73 -73
  321. package/dist/plugin/hooks.js +5 -5
  322. package/dist/plugin/host.js +171 -171
  323. package/dist/plugin/identity.js +3 -3
  324. package/dist/plugin/instance.js +5 -5
  325. package/dist/plugin/internal.js +281 -281
  326. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  327. package/dist/plugin/models-dev.js +69 -69
  328. package/dist/plugin/module.js +84 -84
  329. package/dist/plugin/optimize.js +2 -2
  330. package/dist/plugin/plan.js +73 -73
  331. package/dist/plugin/provider/amazon-bedrock.js +64 -64
  332. package/dist/plugin/provider/azure.js +84 -84
  333. package/dist/plugin/provider/chatgpt.js +82 -82
  334. package/dist/plugin/provider/cloudflare-ai-gateway.js +81 -81
  335. package/dist/plugin/provider/cloudflare-workers-ai.js +81 -81
  336. package/dist/plugin/provider/configured.js +80 -80
  337. package/dist/plugin/provider/digitalocean.js +66 -66
  338. package/dist/plugin/provider/github-copilot.js +68 -68
  339. package/dist/plugin/provider/gitlab.js +66 -66
  340. package/dist/plugin/provider/google-vertex.js +81 -81
  341. package/dist/plugin/provider/llmgateway.js +55 -55
  342. package/dist/plugin/provider/lmstudio.js +91 -91
  343. package/dist/plugin/provider/local.js +88 -88
  344. package/dist/plugin/provider/modal.js +66 -66
  345. package/dist/plugin/provider/ollama.js +89 -89
  346. package/dist/plugin/provider/openai.js +82 -82
  347. package/dist/plugin/provider/opencode.js +71 -71
  348. package/dist/plugin/provider/openrouter.js +65 -65
  349. package/dist/plugin/provider/poe.js +55 -55
  350. package/dist/plugin/provider/sap-ai-core.js +64 -64
  351. package/dist/plugin/provider/snowflake-cortex.js +82 -82
  352. package/dist/plugin/provider/vercel.js +64 -64
  353. package/dist/plugin/provider/vllm.js +89 -89
  354. package/dist/plugin/provider/xai.js +65 -65
  355. package/dist/plugin/provider.js +127 -127
  356. package/dist/plugin/sdk.js +56 -56
  357. package/dist/plugin/service.js +3 -3
  358. package/dist/plugin/skill.js +101 -101
  359. package/dist/plugin/supervisor.js +299 -299
  360. package/dist/plugin/tool-input-repair.js +3 -3
  361. package/dist/plugin/update.js +5 -5
  362. package/dist/plugin/vcs/git.js +60 -60
  363. package/dist/plugin/vcs/hg.js +60 -60
  364. package/dist/plugin/verbosity.js +67 -67
  365. package/dist/plugin/warming.js +82 -82
  366. package/dist/plugin/websearch/exa.js +6 -6
  367. package/dist/plugin/websearch/firecrawl.js +7 -7
  368. package/dist/plugin/websearch/index.js +8 -8
  369. package/dist/plugin/websearch/mcp.js +3 -3
  370. package/dist/plugin/websearch/parallel.js +5 -5
  371. package/dist/plugin/websearch/tavily.js +6 -6
  372. package/dist/plugin/websearch/tinyfish.js +7 -7
  373. package/dist/plugin.js +183 -183
  374. package/dist/project/schema.js +7 -7
  375. package/dist/project.js +64 -64
  376. package/dist/provider.js +67 -67
  377. package/dist/pty.js +70 -70
  378. package/dist/reference/instructions.js +62 -62
  379. package/dist/reference.js +66 -66
  380. package/dist/repository-cache.js +57 -57
  381. package/dist/ripgrep.js +65 -65
  382. package/dist/rpc.js +60 -60
  383. package/dist/session/command.js +53 -53
  384. package/dist/session/compaction.js +101 -101
  385. package/dist/session/context.js +115 -115
  386. package/dist/session/diff.js +60 -60
  387. package/dist/session/environment.js +5 -5
  388. package/dist/session/error.js +2 -2
  389. package/dist/session/execution/restart.js +115 -115
  390. package/dist/session/execution.js +94 -94
  391. package/dist/session/generate.js +117 -117
  392. package/dist/session/history.js +8 -8
  393. package/dist/session/inbox.js +61 -61
  394. package/dist/session/info.js +2 -2
  395. package/dist/session/instruction-entry.js +56 -56
  396. package/dist/session/instruction-state.js +2 -2
  397. package/dist/session/instructions.js +68 -68
  398. package/dist/session/message-updater.js +3 -3
  399. package/dist/session/model-request.js +87 -87
  400. package/dist/session/model-transport.js +7 -7
  401. package/dist/session/move.js +98 -98
  402. package/dist/session/projector.js +59 -59
  403. package/dist/session/prompt.js +74 -74
  404. package/dist/session/provider-context.js +3 -3
  405. package/dist/session/revert.js +60 -60
  406. package/dist/session/run-coordinator.js +3 -3
  407. package/dist/session/runner/index.js +3 -3
  408. package/dist/session/runner/llm.js +182 -182
  409. package/dist/session/runner/model.js +72 -72
  410. package/dist/session/runner/publish-llm-event.js +83 -83
  411. package/dist/session/runner/retry.js +3 -3
  412. package/dist/session/runner/step.js +94 -94
  413. package/dist/session/runner/to-llm-message.js +2 -2
  414. package/dist/session/schema.js +5 -5
  415. package/dist/session/session.js +124 -124
  416. package/dist/session/shell.js +95 -95
  417. package/dist/session/skill.js +73 -73
  418. package/dist/session/stats.js +10 -10
  419. package/dist/session/store.js +62 -62
  420. package/dist/session/subagent-job.js +160 -160
  421. package/dist/session/system-prompt.js +5 -5
  422. package/dist/session/title.js +120 -120
  423. package/dist/session/to-session-error.js +82 -82
  424. package/dist/session/transfer.js +115 -115
  425. package/dist/session.js +170 -170
  426. package/dist/shell/parse.js +4 -4
  427. package/dist/shell/select.js +12 -12
  428. package/dist/shell.js +98 -98
  429. package/dist/skill/discovery.js +5 -5
  430. package/dist/skill/instructions.js +78 -78
  431. package/dist/skill.js +85 -85
  432. package/dist/snapshot.js +63 -63
  433. package/dist/tool/mcp.js +95 -95
  434. package/dist/tool/plugin/edit.js +87 -87
  435. package/dist/tool/plugin/glob.js +88 -88
  436. package/dist/tool/plugin/grep.js +90 -90
  437. package/dist/tool/plugin/mcp-resource.js +85 -85
  438. package/dist/tool/plugin/opencode.js +80 -80
  439. package/dist/tool/plugin/patch.js +89 -89
  440. package/dist/tool/plugin/question.js +76 -76
  441. package/dist/tool/plugin/read.js +88 -88
  442. package/dist/tool/plugin/shell.js +170 -170
  443. package/dist/tool/plugin/skill.js +80 -80
  444. package/dist/tool/plugin/subagent.js +167 -167
  445. package/dist/tool/plugin/webfetch.js +77 -77
  446. package/dist/tool/plugin/websearch.js +82 -82
  447. package/dist/tool/plugin/write.js +85 -85
  448. package/dist/tool/read-filesystem.js +68 -68
  449. package/dist/tool-output.js +5 -5
  450. package/dist/tool.js +10 -10
  451. package/dist/v1/config/agent.js +6 -6
  452. package/dist/v1/config/command.js +5 -5
  453. package/dist/v1/config/mcp.js +3 -3
  454. package/dist/v1/config/migrate.js +65 -65
  455. package/dist/v1/config/permission.js +7 -7
  456. package/dist/v1/config/plugin.js +3 -3
  457. package/dist/v1/config/provider.js +3 -3
  458. package/dist/variant.js +67 -67
  459. package/dist/vcs.js +63 -63
  460. package/dist/voice.js +61 -61
  461. package/dist/websearch.js +62 -62
  462. package/dist/wellknown/plugin.js +54 -54
  463. package/dist/wellknown.js +59 -59
  464. package/dist/workspace/driver.js +5 -5
  465. package/dist/workspace.js +59 -59
  466. package/dist/worktree/git.js +6 -6
  467. package/dist/worktree/strategies.js +62 -62
  468. package/dist/worktree.js +68 -68
  469. package/package.json +8 -8
  470. package/dist/chunks/file-mutation-d3jzepm9.js +0 -513
  471. package/dist/chunks/file-mutation-nw7rspz8.js +0 -26
  472. package/dist/chunks/file-mutation-rfz8qemb.js +0 -257
  473. /package/dist/chunks/{file-mutation-j09zfasm.js → file-mutation-91qna3x0.js} +0 -0
  474. /package/dist/chunks/{file-mutation-f5m013by.js → file-mutation-jpqkz8s9.js} +0 -0
  475. /package/dist/chunks/{file-mutation-2xwkyk0m.js → file-mutation-mjagy123.js} +0 -0
  476. /package/dist/chunks/{file-mutation-z0bepcn1.js → file-mutation-qcf9sep0.js} +0 -0
  477. /package/dist/chunks/{file-mutation-het2jkzt.js → file-mutation-vgbe0hx2.js} +0 -0
@@ -1,54 +1,54 @@
1
+ import {
2
+ Service85,
3
+ node89
4
+ } from "./file-mutation-a5cb3rxh.js";
1
5
  import {
2
6
  Service84,
3
7
  node88
4
- } from "./file-mutation-t363e79v.js";
5
- import {
6
- Service80,
7
- node84
8
- } from "./file-mutation-6e7td314.js";
8
+ } from "./file-mutation-xtxypabt.js";
9
9
  import {
10
- Service78,
11
- node82
12
- } from "./file-mutation-adgjx2yn.js";
10
+ Service82,
11
+ node86
12
+ } from "./file-mutation-s9hmt3s5.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./file-mutation-4v7qdvcn.js";
15
+ } from "./file-mutation-jqh9b0xq.js";
16
16
  import {
17
- Service41,
18
- node44
19
- } from "./file-mutation-f1xh4kee.js";
17
+ Service71,
18
+ node74
19
+ } from "./file-mutation-9az4rgkb.js";
20
20
  import {
21
- node22
22
- } from "./file-mutation-vj1wkjxk.js";
21
+ node27
22
+ } from "./file-mutation-fg22vpm1.js";
23
23
  import {
24
- Service13,
25
- node15
26
- } from "./file-mutation-ft3hqk2c.js";
24
+ Service5,
25
+ node7
26
+ } from "./file-mutation-2mq1h16s.js";
27
27
  import {
28
28
  __export
29
29
  } from "./file-mutation-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
- var exports_location_watcher2 = {};
33
- __export(exports_location_watcher2, {
34
- LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service12,
36
- node: () => node14
32
+ var exports_location_watcher = {};
33
+ __export(exports_location_watcher, {
34
+ LocationWatcher: () => exports_location_watcher,
35
+ Service: () => Service2,
36
+ node: () => node2
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service12 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service12, Effect.gen(function* () {
46
- const location = yield* Service78;
47
- const watcher = yield* Service41;
48
- const bus = yield* Service84;
45
+ var layer = Layer.effect(Service2, Effect.gen(function* () {
46
+ const location = yield* Service82;
47
+ const watcher = yield* Service71;
48
+ const bus = yield* Service85;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
51
- const policy = yield* Service13;
50
+ const git = yield* Service84;
51
+ const policy = yield* Service5;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service12.of({});
103
+ return Service2.of({});
104
104
  }));
105
- var node14 = makeLocationNode({
106
- service: Service12,
105
+ var node2 = makeLocationNode({
106
+ service: Service2,
107
107
  layer,
108
- deps: [node44, FSUtil.node, node82, node84, node88, node22, node15]
108
+ deps: [node74, FSUtil.node, node86, node88, node89, node27, node7]
109
109
  });
110
110
 
111
- export { Service12, node14, exports_location_watcher2 };
111
+ export { Service2, node2, exports_location_watcher };
@@ -6,14 +6,14 @@ import {
6
6
  var exports_mcp_codemode_defaults = {};
7
7
  __export(exports_mcp_codemode_defaults, {
8
8
  McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
9
- Plugin: () => Plugin17
9
+ Plugin: () => Plugin31
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
14
  var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
15
15
  var mode = "x-posthog-mcp-mode";
16
- var Plugin17 = define({
16
+ var Plugin31 = define({
17
17
  id: "opencode.mcp.codemode.defaults",
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.mcp.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin17 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin17, exports_mcp_codemode_defaults };
41
+ export { Plugin31, exports_mcp_codemode_defaults };
@@ -6,7 +6,7 @@ import {
6
6
  } from "./file-mutation-tdstcens.js";
7
7
  import {
8
8
  contentFilterError2
9
- } from "./file-mutation-cjyxbekx.js";
9
+ } from "./file-mutation-bbsgqxz3.js";
10
10
 
11
11
  // src/session/runner/publish-llm-event.ts
12
12
  import { Effect, Fiber, Iterable } from "effect";
@@ -2,25 +2,25 @@ import {
2
2
  AbsolutePath2
3
3
  } from "./file-mutation-z5v4ffb3.js";
4
4
  import {
5
- Info12,
6
- ID5,
5
+ Info7,
6
+ ID4,
7
7
  Name2
8
- } from "./file-mutation-z6cf9sp5.js";
8
+ } from "./file-mutation-bdwftekd.js";
9
9
  import {
10
- Service40
11
- } from "./file-mutation-1kkkfcmn.js";
10
+ Service70
11
+ } from "./file-mutation-z8abfd22.js";
12
12
  import {
13
13
  __export
14
14
  } from "./file-mutation-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill = {};
18
- __export(exports_skill, {
17
+ var exports_skill2 = {};
18
+ __export(exports_skill2, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin15,
21
+ Plugin: () => Plugin26,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill
23
+ SkillPlugin: () => exports_skill2
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -424,20 +424,20 @@ var OpencodeContent2 = opencode_default;
424
424
  var ReportContent2 = report_default;
425
425
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
426
426
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
427
- var Plugin15 = define({
427
+ var Plugin26 = define({
428
428
  id: "opencode.skill",
429
429
  effect: Effect.fn(function* (ctx) {
430
430
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
431
431
  yield* ctx.skill.transform((editor) => {
432
- editor.add(Info12.make({
433
- id: ID5.make("opencode"),
432
+ editor.add(Info7.make({
433
+ id: ID4.make("opencode"),
434
434
  name: Name2.make("OpenCode"),
435
435
  description: OpencodeDescription2,
436
436
  path: AbsolutePath2.make("/builtin/opencode.md"),
437
437
  content: OpencodeContent2
438
438
  }));
439
- editor.add(Info12.make({
440
- id: ID5.make("report"),
439
+ editor.add(Info7.make({
440
+ id: ID4.make("report"),
441
441
  name: Name2.make("Report"),
442
442
  description: REPORT_DESCRIPTION,
443
443
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service40;
469
+ const config = yield* Service70;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin15, exports_skill };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin26, exports_skill2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  name15,
3
3
  ps2
4
- } from "./file-mutation-ydh2fxne.js";
4
+ } from "./file-mutation-f8g1y2jp.js";
5
5
  import {
6
6
  lazy2
7
7
  } from "./file-mutation-88xbtdfr.js";
@@ -3,22 +3,22 @@ import {
3
3
  } from "./file-mutation-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./file-mutation-s2z0d44b.js";
6
+ } from "./file-mutation-1j6m29mr.js";
7
7
  import {
8
- Info7
9
- } from "./file-mutation-3cqwnyj9.js";
8
+ Info16
9
+ } from "./file-mutation-x5wrmng7.js";
10
10
  import {
11
- Info6
12
- } from "./file-mutation-pbfwh0cy.js";
11
+ Info14
12
+ } from "./file-mutation-qa3qhgw8.js";
13
13
  import {
14
- Info5
15
- } from "./file-mutation-y0jhh126.js";
14
+ Info18
15
+ } from "./file-mutation-tk14y25j.js";
16
16
  import {
17
17
  Spec2
18
- } from "./file-mutation-qgn6gcr1.js";
18
+ } from "./file-mutation-fcrkznn8.js";
19
19
  import {
20
- Info9
21
- } from "./file-mutation-ygdna4kr.js";
20
+ Info15
21
+ } from "./file-mutation-z6c3x22d.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -28,7 +28,7 @@ import {
28
28
  migrateMcp2,
29
29
  migrateProvider2,
30
30
  providerID2
31
- } from "./file-mutation-5rs9zx7t.js";
31
+ } from "./file-mutation-82s76q1y.js";
32
32
  import {
33
33
  __export
34
34
  } from "./file-mutation-9rqn6x4v.js";
@@ -98,12 +98,12 @@ function normalize2(input) {
98
98
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
99
99
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
100
100
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
101
- const legacyCommands = decodeMap(input.command, Info6, ["command"], diagnostics, decodeValue);
101
+ const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
102
102
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
103
103
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
104
104
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
105
105
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
106
- const legacyAgents = mapValues(decodeMap(input.agent, Info7, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
+ const legacyAgents = mapValues(decodeMap(input.agent, Info16, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
107
107
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
108
108
  const migratedSmallModel = modelSelection2(legacySmallModel);
109
109
  if (legacySmallModel && !migratedSmallModel)
@@ -117,7 +117,7 @@ function normalize2(input) {
117
117
  model: migratedSmallModel,
118
118
  ...legacyAgents.title
119
119
  };
120
- const modeAgents = mapValues(decodeMap(input.mode, Info7, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
+ const modeAgents = mapValues(decodeMap(input.mode, Info16, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
121
121
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
122
122
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
123
123
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
219
219
  normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
220
220
  return;
221
221
  }
222
- const server = decodeValue(Info5, value, path, diagnostics);
222
+ const server = decodeValue(Info18, value, path, diagnostics);
223
223
  if (server !== undefined)
224
224
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
225
225
  });
@@ -425,7 +425,7 @@ function migrateProviders(value, diagnostics) {
425
425
  diagnoseProviderUnsupported(raw, path, diagnostics);
426
426
  if (invalidProviderOverlays(raw, path, diagnostics))
427
427
  return [];
428
- const provider = decodeValue(Info9, raw, path, diagnostics);
428
+ const provider = decodeValue(Info15, raw, path, diagnostics);
429
429
  if (provider === undefined)
430
430
  return [];
431
431
  const destination = providerID2(name);
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ID13,
3
3
  mergeOverlay2
4
- } from "./file-mutation-h71yhdd1.js";
4
+ } from "./file-mutation-b81ahfje.js";
5
5
  import {
6
6
  ID12,
7
7
  VariantID2,
8
8
  Info21,
9
9
  compatibility2
10
- } from "./file-mutation-tce46y2m.js";
10
+ } from "./file-mutation-1vq8waa3.js";
11
11
  import {
12
12
  __export
13
13
  } from "./file-mutation-9rqn6x4v.js";
@@ -6,11 +6,11 @@ import {
6
6
  import {
7
7
  aisdk2,
8
8
  packageName2
9
- } from "./file-mutation-h71yhdd1.js";
9
+ } from "./file-mutation-b81ahfje.js";
10
10
  import {
11
11
  Capabilities2,
12
12
  compatibility2
13
- } from "./file-mutation-tce46y2m.js";
13
+ } from "./file-mutation-1vq8waa3.js";
14
14
  import {
15
15
  __export
16
16
  } from "./file-mutation-9rqn6x4v.js";
@@ -1,71 +1,71 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./file-mutation-t363e79v.js";
2
+ Service85,
3
+ node89
4
+ } from "./file-mutation-a5cb3rxh.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./file-mutation-adgjx2yn.js";
6
+ Service82,
7
+ node86
8
+ } from "./file-mutation-s9hmt3s5.js";
9
9
  import {
10
10
  ID9,
11
- Service62,
12
- node65
13
- } from "./file-mutation-67ck3t7e.js";
11
+ Service65,
12
+ node68
13
+ } from "./file-mutation-s7p2cp87.js";
14
14
  import {
15
15
  NotFoundError8
16
- } from "./file-mutation-c3g6e5j8.js";
16
+ } from "./file-mutation-mw3zb6qd.js";
17
17
  import {
18
- Service59,
19
- node62
20
- } from "./file-mutation-1kz77zsy.js";
18
+ Service64,
19
+ node67
20
+ } from "./file-mutation-86hr6tyx.js";
21
21
  import {
22
22
  match2
23
23
  } from "./file-mutation-y1fvbwt7.js";
24
24
  import {
25
- Service60,
26
- node63
27
- } from "./file-mutation-xt8c43wt.js";
25
+ Service63,
26
+ node66
27
+ } from "./file-mutation-z6szz84x.js";
28
28
  import {
29
- Service61,
30
- node64
31
- } from "./file-mutation-c27esgm9.js";
29
+ Service76,
30
+ node80
31
+ } from "./file-mutation-fqtvmpfq.js";
32
32
  import {
33
33
  __export
34
34
  } from "./file-mutation-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission2 = {};
38
- __export(exports_permission2, {
37
+ var exports_permission = {};
38
+ __export(exports_permission, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event11,
46
- ID: () => ID6,
45
+ Event: () => Event12,
46
+ ID: () => ID7,
47
47
  NotFoundError: () => NotFoundError7,
48
- Permission: () => exports_permission2,
48
+ Permission: () => exports_permission,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule3,
52
+ Rule: () => Rule2,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service58,
55
- Source: () => Source4,
54
+ Service: () => Service62,
55
+ Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node61
58
+ node: () => node65
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event11 } from "@opencode/schema/permission";
63
+ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event12 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID6 = Permission.ID;
68
- var Source4 = Permission.Source;
67
+ var ID7 = Permission.ID;
68
+ var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
71
71
  action: Permission.Request.fields.action,
@@ -77,17 +77,17 @@ var RequestFields = {
77
77
  var Request2 = Permission.Request;
78
78
  var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID6.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
82
  agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID6,
85
+ requestID: ID7,
86
86
  reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID6,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID6
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service58 extends Context.Service()("@opencode/Permission") {
128
+ class Service62 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service58, Effect.gen(function* () {
131
- const bus = yield* Service84;
132
- const location = yield* Service78;
133
- const agents = yield* Service62;
134
- const sessions = yield* Service59;
135
- const saved = yield* Service60;
136
- const hooks = yield* Service61;
130
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
131
+ const bus = yield* Service85;
132
+ const location = yield* Service82;
133
+ const agents = yield* Service65;
134
+ const sessions = yield* Service64;
135
+ const saved = yield* Service63;
136
+ const hooks = yield* Service76;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID6.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID6.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service58.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service62.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node61 = makeLocationNode({
303
- service: Service58,
302
+ var node65 = makeLocationNode({
303
+ service: Service62,
304
304
  layer,
305
- deps: [node88, node82, node65, node62, node63, node64]
305
+ deps: [node89, node86, node68, node67, node66, node80]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID6, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service58, node61, exports_permission2, Rule3, Ruleset2, Event11 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service62, node65, exports_permission, Rule2, Ruleset2, Event12 };
@@ -2,16 +2,16 @@ import {
2
2
  ID9,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./file-mutation-67ck3t7e.js";
5
+ } from "./file-mutation-s7p2cp87.js";
6
6
  import {
7
7
  __export
8
8
  } from "./file-mutation-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/agent.ts
11
- var exports_agent = {};
12
- __export(exports_agent, {
13
- AgentPlugin: () => exports_agent,
14
- Plugin: () => Plugin11
11
+ var exports_agent2 = {};
12
+ __export(exports_agent2, {
13
+ AgentPlugin: () => exports_agent2,
14
+ Plugin: () => Plugin33
15
15
  });
16
16
  import { define } from "@opencode/plugin/effect/plugin";
17
17
  import { Effect } from "effect";
@@ -81,7 +81,7 @@ Rules:
81
81
  - Never ask questions or add new questions
82
82
  - If the conversation ends with an unanswered question to the user, preserve that exact question
83
83
  - 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`;
84
- var Plugin11 = define({
84
+ var Plugin33 = define({
85
85
  id: "opencode.agent",
86
86
  effect: Effect.fn(function* (ctx) {
87
87
  yield* ctx.agent.transform((editor) => {
@@ -127,4 +127,4 @@ var Plugin11 = define({
127
127
  })
128
128
  });
129
129
 
130
- export { Plugin11, exports_agent };
130
+ export { Plugin33, exports_agent2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./file-mutation-chatkvte.js";
2
+ Service86,
3
+ node90
4
+ } from "./file-mutation-cba5y8md.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
8
  } from "./file-mutation-c1fqxshp.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load5
12
- } from "./file-mutation-kf9hmnhf.js";
11
+ load4
12
+ } from "./file-mutation-6b5qcyht.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./file-mutation-jd1c0qnd.js";
15
+ } from "./file-mutation-5pyjqqve.js";
16
16
  import {
17
17
  __export
18
18
  } from "./file-mutation-9rqn6x4v.js";
@@ -20,10 +20,10 @@ import {
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput4,
24
- Service: () => Service59,
23
+ ListInput: () => ListInput5,
24
+ Service: () => Service64,
25
25
  SessionStore: () => exports_store,
26
- node: () => node62
26
+ node: () => node67
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service59 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service64 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service59, Effect.gen(function* () {
58
- const { db } = yield* Service85;
59
- return Service59.of({
57
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
58
+ const { db } = yield* Service86;
59
+ return Service64.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -98,7 +98,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
98
98
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
99
99
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
100
100
  }),
101
- context: Effect.fn("SessionStore.context")((sessionID) => load5(db, sessionID, "latest")),
101
+ context: Effect.fn("SessionStore.context")((sessionID) => load4(db, sessionID, "latest")),
102
102
  message: Effect.fn("SessionStore.message")(function* (messageID) {
103
103
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
104
104
  return row ? {
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node62 = makeGlobalNode({ service: Service59, layer, deps: [node89] });
128
+ var node67 = makeGlobalNode({ service: Service64, layer, deps: [node90] });
129
129
 
130
- export { ListInput4, Service59, node62, exports_store };
130
+ export { ListInput5, Service64, node67, exports_store };