@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
@@ -6,13 +6,13 @@ import {
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service43,
9
+ Service: () => Service42,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service43 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service42 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service43, exports_runner };
18
+ export { DrainResult2, Service42, exports_runner };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID13
3
- } from "./file-mutation-h71yhdd1.js";
3
+ } from "./file-mutation-b81ahfje.js";
4
4
 
5
5
  // src/plugin/provider/amazon-bedrock.ts
6
6
  import { Effect } from "effect";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-mutation-hjkfxcec.js";
3
+ } from "./file-mutation-s0xd9fk5.js";
4
4
  import {
5
5
  OAuth3,
6
- Service83
7
- } from "./file-mutation-heegtd1e.js";
6
+ Service80
7
+ } from "./file-mutation-cqbnrm9h.js";
8
8
  import {
9
- ID16,
9
+ ID14,
10
10
  MethodID2
11
- } from "./file-mutation-rmr77w56.js";
11
+ } from "./file-mutation-ag0c998m.js";
12
12
  import {
13
13
  ID13,
14
14
  mergeOverlay2
15
- } from "./file-mutation-h71yhdd1.js";
15
+ } from "./file-mutation-b81ahfje.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID16.make("xai"),
47
+ integrationID: ID14.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service83;
73
- yield* Effect.forEach(yield* credentials.list(ID16.make("xai")), (credential) => {
72
+ const credentials = yield* Service80;
73
+ yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID16,
3
- Service81
4
- } from "./file-mutation-rmr77w56.js";
2
+ ID14,
3
+ Service79
4
+ } from "./file-mutation-ag0c998m.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service81;
12
+ const integrations = yield* Service79;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID16.make(item.provider.id)))
22
+ if (!configured.has(ID14.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -6,7 +6,7 @@ import {
6
6
  var exports_unavailable = {};
7
7
  __export(exports_unavailable, {
8
8
  EnvironmentUnavailable: () => exports_unavailable,
9
- layer: () => layer4,
9
+ layer: () => layer8,
10
10
  spawner: () => spawner2
11
11
  });
12
12
  import { Effect, Layer, PlatformError } from "effect";
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
17
17
  method: "spawn",
18
18
  description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
19
19
  })));
20
- var layer4 = Layer.succeed(ChildProcessSpawner, spawner2);
20
+ var layer8 = Layer.succeed(ChildProcessSpawner, spawner2);
21
21
 
22
- export { spawner2, layer4, exports_unavailable };
22
+ export { spawner2, layer8, exports_unavailable };
@@ -8,9 +8,9 @@ import {
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service10,
11
+ Service: () => Service6,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node12
13
+ node: () => node8
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service6 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service10, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service6, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service10.of({
66
+ return Service6.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node8 = makeGlobalNode({ service: Service6, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service10, node12, exports_discovery };
155
+ export { Service6, node8, exports_discovery };
@@ -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
  latestSequence2,
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
  llmClient2
12
12
  } from "./file-mutation-775gj3j1.js";
@@ -15,15 +15,15 @@ import {
15
15
  } from "./file-mutation-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./file-mutation-kf9hmnhf.js";
18
+ } from "./file-mutation-6b5qcyht.js";
19
19
  import {
20
- Service59,
21
- node62
22
- } from "./file-mutation-1kz77zsy.js";
20
+ Service64,
21
+ node67
22
+ } from "./file-mutation-86hr6tyx.js";
23
23
  import {
24
24
  Service27,
25
- node31
26
- } from "./file-mutation-3dgghfty.js";
25
+ node30
26
+ } from "./file-mutation-vhs7bsm8.js";
27
27
  import {
28
28
  record2,
29
29
  add2
@@ -35,11 +35,11 @@ import {
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service5,
38
+ Service: () => Service3,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
- layer: () => layer6,
42
- node: () => node7
41
+ layer: () => layer3,
42
+ node: () => node4
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service5 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service3 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer6 = Layer.effect(Service5, Effect.gen(function* () {
62
- const bus = yield* Service84;
61
+ var layer3 = Layer.effect(Service3, Effect.gen(function* () {
62
+ const bus = yield* Service85;
63
63
  const llm = yield* LLMClient.Service;
64
64
  const context = yield* Service27;
65
- const store = yield* Service59;
66
- const db = (yield* Service85).db;
65
+ const store = yield* Service64;
66
+ const db = (yield* Service86).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
69
69
  let failed = false;
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service5.of({ generate });
148
+ return Service3.of({ generate });
149
149
  }));
150
- var node7 = makeLocationNode({
151
- service: Service5,
152
- layer: layer6,
153
- deps: [node88, llmClient2, node31, node62, node89]
150
+ var node4 = makeLocationNode({
151
+ service: Service3,
152
+ layer: layer3,
153
+ deps: [node89, llmClient2, node30, node67, node90]
154
154
  });
155
155
 
156
- export { Service5, isUntitled2, layer6, node7, exports_title };
156
+ export { Service3, isUntitled2, layer3, node4, exports_title };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service41
3
- } from "./file-mutation-f1xh4kee.js";
2
+ Service71
3
+ } from "./file-mutation-9az4rgkb.js";
4
4
  import {
5
- Service40
6
- } from "./file-mutation-1kkkfcmn.js";
5
+ Service70
6
+ } from "./file-mutation-z8abfd22.js";
7
7
  import {
8
8
  parse2
9
- } from "./file-mutation-ytt5asfy.js";
9
+ } from "./file-mutation-3xmz25ae.js";
10
10
  import {
11
11
  __export
12
12
  } from "./file-mutation-9rqn6x4v.js";
@@ -15,18 +15,18 @@ import {
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin32
18
+ Plugin: () => Plugin11
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin32 = define({
24
+ var Plugin11 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service40;
27
+ const config = yield* Service70;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service41;
29
+ const watcher = yield* Service71;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin32 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin32, exports_compatibility };
76
+ export { Plugin11, exports_compatibility };
@@ -5,7 +5,7 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./file-mutation-t550f9t1.js";
8
+ } from "./file-mutation-rhjbct0v.js";
9
9
  import {
10
10
  SessionEvent2
11
11
  } from "./file-mutation-ec1grn59.js";
@@ -1,13 +1,13 @@
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
  Key3,
7
7
  removed2,
8
- make19,
8
+ make20,
9
9
  combine2
10
- } from "./file-mutation-t550f9t1.js";
10
+ } from "./file-mutation-rhjbct0v.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
13
  } from "./file-mutation-c1fqxshp.js";
@@ -18,15 +18,15 @@ import {
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info4,
21
+ Info: () => Info5,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service30,
25
+ Service: () => Service34,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node33,
29
+ node: () => node38,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info4 = InstructionEntry.Info;
37
+ var Info5 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service30 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service34 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make19({
64
+ var source = (entry) => make20({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,8 +75,8 @@ var source = (entry) => make19({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service30, Effect.gen(function* () {
79
- const { db } = yield* Service85;
78
+ var layer = Layer.effect(Service34, Effect.gen(function* () {
79
+ const { db } = yield* Service86;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service30.of({ list, put, remove, load });
111
+ return Service34.of({ list, put, remove, load });
112
112
  }));
113
- var node33 = makeLocationNode({ service: Service30, layer, deps: [node89] });
113
+ var node38 = makeLocationNode({ service: Service34, layer, deps: [node90] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service30, node33, exports_instruction_entry };
115
+ export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service34, node38, exports_instruction_entry };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  ID9,
3
- Service62
4
- } from "./file-mutation-67ck3t7e.js";
3
+ Service65
4
+ } from "./file-mutation-s7p2cp87.js";
5
5
  import {
6
6
  Ref2,
7
- Service76
8
- } from "./file-mutation-tce46y2m.js";
7
+ Service77
8
+ } from "./file-mutation-1vq8waa3.js";
9
9
  import {
10
10
  latest2,
11
- Service40
12
- } from "./file-mutation-1kkkfcmn.js";
11
+ Service70
12
+ } from "./file-mutation-z8abfd22.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./file-mutation-2rrj5gsc.js";
15
+ } from "./file-mutation-vx3jgdek.js";
16
16
  import {
17
- Service47
18
- } from "./file-mutation-n0z9xdv5.js";
17
+ Service48
18
+ } from "./file-mutation-av34pvd4.js";
19
19
  import {
20
20
  evaluate2,
21
- Service58
22
- } from "./file-mutation-f4z11j7w.js";
21
+ Service62
22
+ } from "./file-mutation-831szrnr.js";
23
23
  import {
24
- Service25
25
- } from "./file-mutation-2s0p8hxn.js";
24
+ Service26
25
+ } from "./file-mutation-pgvws8e3.js";
26
26
  import {
27
27
  NO_TEXT2
28
28
  } from "./file-mutation-6xb47vfp.js";
29
29
  import {
30
30
  Service11
31
- } from "./file-mutation-8yvq4f24.js";
31
+ } from "./file-mutation-1nbyw85c.js";
32
32
  import {
33
33
  __export
34
34
  } from "./file-mutation-9rqn6x4v.js";
@@ -36,16 +36,16 @@ import {
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input4,
39
+ Input: () => Input3,
40
40
  Output: () => Output3,
41
- Plugin: () => Plugin20,
41
+ Plugin: () => Plugin38,
42
42
  SubagentTool: () => exports_subagent,
43
43
  description: () => description3,
44
- name: () => name4
44
+ name: () => name3
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name4 = "subagent";
48
+ var name3 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input4 = Schema.Struct({
59
+ var Input3 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -86,15 +86,15 @@ var description3 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin20 = {
89
+ var Plugin38 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service25;
93
- const jobs = yield* Service47;
94
- const agents = yield* Service62;
95
- const config = yield* Service40;
96
- const permission = yield* Service58;
97
- const models = yield* Service76;
92
+ const sessions = yield* Service26;
93
+ const jobs = yield* Service48;
94
+ const agents = yield* Service65;
95
+ const config = yield* Service70;
96
+ const permission = yield* Service62;
97
+ const models = yield* Service77;
98
98
  const subagents = yield* Service11;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
@@ -115,10 +115,10 @@ var Plugin20 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name4,
118
+ name: name3,
119
119
  options: { codemode: false },
120
120
  description: description3,
121
- input: Input4,
121
+ input: Input3,
122
122
  output: Output3,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
@@ -139,7 +139,7 @@ var Plugin20 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name4,
142
+ action: name3,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name4 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name3 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name4];
233
+ const tool = event.tools[name3];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name4, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name4, Input4, Output3, description3, Plugin20, exports_subagent };
256
+ export { name3, Input3, Output3, description3, Plugin38, exports_subagent };
@@ -1,29 +1,29 @@
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
- Service83
11
- } from "./file-mutation-heegtd1e.js";
9
+ Event19,
10
+ Service80
11
+ } from "./file-mutation-cqbnrm9h.js";
12
12
  import {
13
- ID16,
13
+ ID14,
14
14
  MethodID2,
15
- Service81
16
- } from "./file-mutation-rmr77w56.js";
15
+ Service79
16
+ } from "./file-mutation-ag0c998m.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
20
  } from "./file-mutation-pjvnvgmy.js";
21
21
  import {
22
22
  ID13
23
- } from "./file-mutation-h71yhdd1.js";
23
+ } from "./file-mutation-b81ahfje.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./file-mutation-8zs8s6wb.js";
26
+ } from "./file-mutation-eac7ec6d.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
@@ -31,7 +31,7 @@ import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
33
33
  var providerID = ID13.make("snowflake-cortex");
34
- var integrationID = ID16.make(providerID);
34
+ var integrationID = ID14.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service83;
57
- const integrations = yield* Service81;
58
- const bus = yield* Service84;
56
+ const credentials = yield* Service80;
57
+ const integrations = yield* Service79;
58
+ const bus = yield* Service85;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
186
186
  });
187
187
  }
188
188
  });
189
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
189
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
190
190
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
191
191
  const token = envToken();
192
192
  if (token)