@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,43 +1,43 @@
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
- Service66,
11
- node69
12
- } from "./file-mutation-92vehc1c.js";
10
+ Service74,
11
+ node77
12
+ } from "./file-mutation-3h7vgc1c.js";
13
13
  import {
14
14
  cleanup3
15
15
  } from "./file-mutation-gd4qta3r.js";
16
16
  import {
17
- Service64,
17
+ Service69,
18
18
  args2,
19
- node67
20
- } from "./file-mutation-ydh2fxne.js";
19
+ node72
20
+ } from "./file-mutation-f8g1y2jp.js";
21
21
  import {
22
- Service61,
23
- node64
24
- } from "./file-mutation-c27esgm9.js";
22
+ Service76,
23
+ node80
24
+ } from "./file-mutation-fqtvmpfq.js";
25
25
  import {
26
- Service39,
27
- node42
28
- } from "./file-mutation-15nepkqg.js";
26
+ Service67,
27
+ node70
28
+ } from "./file-mutation-3zy697b6.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./file-mutation-2rrj5gsc.js";
31
+ } from "./file-mutation-vx3jgdek.js";
32
32
  import {
33
33
  latest2,
34
- Service40,
35
- node43
36
- } from "./file-mutation-1kkkfcmn.js";
34
+ Service70,
35
+ node73
36
+ } from "./file-mutation-z8abfd22.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./file-mutation-72rw85ce.js";
40
+ } from "./file-mutation-86qjnnqk.js";
41
41
  import {
42
42
  __export
43
43
  } from "./file-mutation-9rqn6x4v.js";
@@ -46,12 +46,12 @@ import {
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError5,
49
+ NotFoundError: () => NotFoundError9,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service38,
51
+ Service: () => Service66,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node41
54
+ node: () => node69
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service38 extends Context.Service()("@opencode/Shell") {
74
+ class Service66 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service38, Effect.gen(function* () {
91
- const bus = yield* Service84;
92
- const location = yield* Service78;
90
+ var layer = () => Layer.effect(Service66, Effect.gen(function* () {
91
+ const bus = yield* Service85;
92
+ const location = yield* Service82;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service64;
95
- const environment = yield* Service66;
96
- const hooks = yield* Service61;
97
- const environments = yield* Service39;
98
- const config = yield* Service40;
94
+ const shell = yield* Service69;
95
+ const environment = yield* Service74;
96
+ const hooks = yield* Service76;
97
+ const environments = yield* Service67;
98
+ const config = yield* Service70;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError5({ id });
119
+ return yield* new NotFoundError9({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError5({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError9({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service38, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service38.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service66.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node41 = makeLocationNode({
329
- service: Service38,
328
+ var node69 = makeLocationNode({
329
+ service: Service66,
330
330
  layer: layer(),
331
331
  deps: [
332
- node88,
333
- node82,
332
+ node89,
333
+ node86,
334
334
  Global.node,
335
- node67,
336
- node69,
337
- node64,
338
- node42,
339
- node43,
335
+ node72,
336
+ node77,
337
+ node80,
338
+ node70,
339
+ node73,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError5, RETENTION2, DIRECTORY2, Service38, cleanup2, node41, exports_shell4 };
344
+ export { NotFoundError9, RETENTION2, DIRECTORY2, Service66, cleanup2, node69, exports_shell4 };
@@ -1,12 +1,12 @@
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
  reserveSequence2,
7
- Service84,
8
- node88
9
- } from "./file-mutation-t363e79v.js";
7
+ Service85,
8
+ node89
9
+ } from "./file-mutation-a5cb3rxh.js";
10
10
  import {
11
11
  SessionEvent2
12
12
  } from "./file-mutation-ec1grn59.js";
@@ -14,8 +14,8 @@ import {
14
14
  SessionMessage2
15
15
  } from "./file-mutation-gftt206x.js";
16
16
  import {
17
- update2
18
- } from "./file-mutation-h7s7r6s9.js";
17
+ update3
18
+ } from "./file-mutation-31xfzrxg.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
@@ -33,16 +33,16 @@ import {
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./file-mutation-1ph9pxrr.js";
36
+ } from "./file-mutation-tms097mr.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./file-mutation-0b5g1ynf.js";
42
+ } from "./file-mutation-kqx1b4hy.js";
43
43
  import {
44
44
  initialize2
45
- } from "./file-mutation-azs149d7.js";
45
+ } from "./file-mutation-kvwqxrwb.js";
46
46
  import {
47
47
  Slug2
48
48
  } from "./file-mutation-gebd4c9n.js";
@@ -55,7 +55,7 @@ var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node30
58
+ node: () => node37
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -249,7 +249,7 @@ function run(db, event) {
249
249
  updateCompaction: updateMessage,
250
250
  appendMessage
251
251
  };
252
- yield* update2(adapter, event);
252
+ yield* update3(adapter, event);
253
253
  });
254
254
  }
255
255
  function insertMessage(db, event, message) {
@@ -279,8 +279,8 @@ function projectIdle(db, event) {
279
279
  });
280
280
  }
281
281
  var layer = Layer.effectDiscard(Effect.gen(function* () {
282
- const bus = yield* Service84;
283
- const db = (yield* Service85).db;
282
+ const bus = yield* Service85;
283
+ const db = (yield* Service86).db;
284
284
  yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
285
285
  const stored = yield* db.insert(SessionTable2).values({
286
286
  id: event.data.sessionID,
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
467
467
  return publishSessionUsage(db, bus, event.data.sessionID);
468
468
  }), Effect.forkScoped({ startImmediately: true }));
469
469
  }));
470
- var node30 = makeGlobalNode({ name: "session-projector", layer, deps: [node88, node89] });
470
+ var node37 = makeGlobalNode({ name: "session-projector", layer, deps: [node89, node90] });
471
471
 
472
- export { SessionAlreadyProjected2, node30, exports_projector };
472
+ export { SessionAlreadyProjected2, node37, exports_projector };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-hjkfxcec.js";
3
+ } from "./file-mutation-s0xd9fk5.js";
4
4
  import {
5
- Service84
6
- } from "./file-mutation-t363e79v.js";
5
+ Service85
6
+ } from "./file-mutation-a5cb3rxh.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21
10
- } from "./file-mutation-heegtd1e.js";
9
+ Event19
10
+ } from "./file-mutation-cqbnrm9h.js";
11
11
  import {
12
12
  key2
13
- } from "./file-mutation-3y377wv9.js";
13
+ } from "./file-mutation-addxnjmp.js";
14
14
  import {
15
- ID16,
15
+ ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./file-mutation-rmr77w56.js";
18
+ } from "./file-mutation-ag0c998m.js";
19
19
  import {
20
- Service86
21
- } from "./file-mutation-w66tjm9k.js";
20
+ Service18
21
+ } from "./file-mutation-e7a0tnjd.js";
22
22
  import {
23
23
  ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./file-mutation-h71yhdd1.js";
26
+ } from "./file-mutation-b81ahfje.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./file-mutation-tce46y2m.js";
29
+ } from "./file-mutation-1vq8waa3.js";
30
30
  import {
31
31
  supports2,
32
- resolve3
33
- } from "./file-mutation-gqgb50qg.js";
32
+ resolve2
33
+ } from "./file-mutation-e236apxg.js";
34
34
  import {
35
- ID3,
36
- Input13,
35
+ ID6,
36
+ Input14,
37
37
  Response2
38
- } from "./file-mutation-s2ge5s40.js";
38
+ } from "./file-mutation-dpdqynsp.js";
39
39
 
40
40
  // src/plugin/provider/opencode.ts
41
41
  import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
61
61
  var RemoteResponse = Schema.Struct({
62
62
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
63
63
  websearch: Schema.Struct({
64
- providerID: ID3
64
+ providerID: ID6
65
65
  }).pipe(Schema.optional),
66
66
  mcp: Schema.Struct({
67
67
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
112
112
  }
113
113
  function oauth(http) {
114
114
  return {
115
- integrationID: ID16.make("opencode"),
115
+ integrationID: ID14.make("opencode"),
116
116
  method: {
117
117
  id: methodID,
118
118
  type: "oauth",
@@ -176,10 +176,10 @@ function oauth(http) {
176
176
  var OpencodePlugin2 = define({
177
177
  id: "opencode.provider.opencode",
178
178
  effect: Effect.fn(function* (ctx) {
179
- const bus = yield* Service84;
179
+ const bus = yield* Service85;
180
180
  const client = yield* HttpClient.HttpClient;
181
181
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
182
- const managed = yield* Service86;
182
+ const managed = yield* Service18;
183
183
  const scope = yield* Scope.Scope;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
231
231
  providers.update(providerID, (provider) => {
232
232
  if (source && source.provider !== provider)
233
233
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
234
- provider.integrationID = ID16.make("opencode");
234
+ provider.integrationID = ID14.make("opencode");
235
235
  if (item.canonical !== undefined)
236
236
  provider.canonical = item.canonical;
237
237
  if (item.name !== undefined)
@@ -267,7 +267,7 @@ var OpencodePlugin2 = define({
267
267
  model.limit = { ...model.limit, ...config.limit };
268
268
  if (config.capabilities?.reasoning !== undefined)
269
269
  model.variants = [
270
- ...resolve3({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
270
+ ...resolve2({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
271
271
  ];
272
272
  for (const variant of config.variants ?? []) {
273
273
  let existing = model.variants.find((item) => item.id === variant.id);
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
349
349
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
350
350
  const token = credential.type === "oauth" ? credential.access : credential.key;
351
351
  const server = yield* normalizeServer(serverUrl(credential));
352
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
352
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
353
353
  query: input.query,
354
354
  providerID: descriptor.providerID
355
355
  }));
@@ -407,7 +407,7 @@ var OpencodePlugin2 = define({
407
407
  explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
408
408
  });
409
409
  yield* guard(snapshot);
410
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
410
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
411
411
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
412
412
  })
413
413
  });
@@ -3,17 +3,17 @@ import {
3
3
  } from "./file-mutation-z5v4ffb3.js";
4
4
  import {
5
5
  Entries2,
6
- Info8
7
- } from "./file-mutation-s2z0d44b.js";
6
+ Info17
7
+ } from "./file-mutation-1j6m29mr.js";
8
8
  import {
9
9
  __export
10
10
  } from "./file-mutation-9rqn6x4v.js";
11
11
 
12
12
  // src/v1/config/agent.ts
13
- var exports_agent3 = {};
14
- __export(exports_agent3, {
15
- ConfigAgentV1: () => exports_agent3,
16
- Info: () => Info7
13
+ var exports_agent4 = {};
14
+ __export(exports_agent4, {
15
+ ConfigAgentV1: () => exports_agent4,
16
+ Info: () => Info16
17
17
  });
18
18
  import { Schema, SchemaGetter } from "effect";
19
19
  var Color = Schema.Union([
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
45
45
  description: "Maximum number of agentic iterations before forcing text-only response"
46
46
  }),
47
47
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
48
- permission: Schema.optional(Info8)
48
+ permission: Schema.optional(Info17)
49
49
  }), [Schema.Record(Schema.String, Schema.Any)]);
50
50
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
51
51
  var normalize = (agent) => {
@@ -64,9 +64,9 @@ var normalize = (agent) => {
64
64
  const steps = agent.steps ?? agent.maxSteps;
65
65
  return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
66
66
  };
67
- var Info7 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
67
+ var Info16 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
68
68
  decode: SchemaGetter.transform(normalize),
69
69
  encode: SchemaGetter.passthrough({ strict: false })
70
70
  })).annotate({ identifier: "AgentConfig" });
71
71
 
72
- export { Info7, exports_agent3 };
72
+ export { Info16, exports_agent4 };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service41
3
- } from "./file-mutation-f1xh4kee.js";
2
+ Service71
3
+ } from "./file-mutation-9az4rgkb.js";
4
4
  import {
5
- Service78
6
- } from "./file-mutation-adgjx2yn.js";
5
+ Service82
6
+ } from "./file-mutation-s9hmt3s5.js";
7
7
  import {
8
- Service40
9
- } from "./file-mutation-1kkkfcmn.js";
8
+ Service70
9
+ } from "./file-mutation-z8abfd22.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./file-mutation-t550f9t1.js";
12
+ } from "./file-mutation-rhjbct0v.js";
13
13
  import {
14
14
  File2,
15
- Service53
16
- } from "./file-mutation-56dyw8xh.js";
15
+ Service49
16
+ } from "./file-mutation-atmskjxw.js";
17
17
  import {
18
18
  __export
19
19
  } from "./file-mutation-9rqn6x4v.js";
@@ -22,7 +22,7 @@ import {
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin39
25
+ Plugin: () => Plugin13
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin39 = define({
34
+ var Plugin13 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service53;
37
+ const discovery = yield* Service49;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service40;
39
+ const config = yield* Service70;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
- const location = yield* Service78;
44
- const watcher = yield* Service41;
43
+ const location = yield* Service82;
44
+ const watcher = yield* Service71;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -177,4 +177,4 @@ function isUrl(source) {
177
177
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
178
178
  }
179
179
 
180
- export { Plugin39, exports_instruction };
180
+ export { Plugin13, exports_instruction };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service84,
4
- node88
5
- } from "./file-mutation-t363e79v.js";
3
+ Service85,
4
+ node89
5
+ } from "./file-mutation-a5cb3rxh.js";
6
6
  import {
7
7
  __export
8
8
  } from "./file-mutation-9rqn6x4v.js";
@@ -11,28 +11,28 @@ import {
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service3,
14
+ Service: () => Service8,
15
15
  Updated: () => Updated2,
16
- layer: () => layer5,
17
- node: () => node4
16
+ layer: () => layer7,
17
+ node: () => node10
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service3 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service8 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service3, Effect.gen(function* () {
26
- const bus = yield* Service84;
25
+ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
26
+ const bus = yield* Service85;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service3.of({
29
+ return Service8.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node4 = makeGlobalNode({ service: Service3, layer: layer5, deps: [node88] });
36
+ var node10 = makeGlobalNode({ service: Service8, layer: layer7, deps: [node89] });
37
37
 
38
- export { Updated2, Service3, layer5, node4, exports_sdk };
38
+ export { Updated2, Service8, layer7, node10, exports_sdk };