@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,22 +1,22 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./file-mutation-6e7td314.js";
3
+ } from "./file-mutation-xtxypabt.js";
4
4
  import {
5
- Service58
6
- } from "./file-mutation-f4z11j7w.js";
5
+ Service62
6
+ } from "./file-mutation-831szrnr.js";
7
7
  import {
8
- Service56
9
- } from "./file-mutation-tvjkad3e.js";
8
+ Service24
9
+ } from "./file-mutation-ykbenvtt.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
12
  } from "./file-mutation-0vbcp93d.js";
13
13
  import {
14
- Info20,
14
+ Info10,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./file-mutation-fgp2n23a.js";
19
+ } from "./file-mutation-ym72szr7.js";
20
20
  import {
21
21
  __export
22
22
  } from "./file-mutation-9rqn6x4v.js";
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin27,
30
+ Plugin: () => Plugin48,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin27 = {
100
+ var Plugin48 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
- const access = yield* Service56;
104
- const permission = yield* Service58;
103
+ const access = yield* Service24;
104
+ const permission = yield* Service62;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -153,7 +153,7 @@ var Plugin27 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info20,
156
+ output: Info10,
157
157
  options: { namespace: "opencode", codemode: true, pinned: true },
158
158
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
159
159
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin27, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin48, exports_opencode };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./file-mutation-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./file-mutation-2rrj5gsc.js";
7
+ } from "./file-mutation-vx3jgdek.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -8,11 +8,11 @@ import {
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service34,
11
+ Service: () => Service32,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer17,
13
+ layer: () => layer15,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node37
15
+ node: () => node35
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service34 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service32 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service34, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service34.of({ bind, close, closeAll });
370
+ return Service32.of({ bind, close, closeAll });
371
371
  }));
372
- var layer17 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node37 = makeGlobalNode({ service: Service34, layer: layer17, deps: [webSocketConstructor2] });
375
+ var node35 = makeGlobalNode({ service: Service32, layer: layer15, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service34, makeLayer2, layer17, node37, exports_model_transport };
377
+ export { Service32, makeLayer2, layer15, node35, exports_model_transport };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID13
3
- } from "./file-mutation-h71yhdd1.js";
3
+ } from "./file-mutation-b81ahfje.js";
4
4
  import {
5
5
  loadSDKFactory2
6
6
  } from "./file-mutation-6q2bdcd1.js";
@@ -2,16 +2,16 @@ import {
2
2
  batch2
3
3
  } from "./file-mutation-rdw6cm16.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
  match2
9
9
  } from "./file-mutation-y1fvbwt7.js";
10
10
  import {
11
- Service86,
11
+ Service18,
12
12
  statements2,
13
13
  decision2
14
- } from "./file-mutation-w66tjm9k.js";
14
+ } from "./file-mutation-e7a0tnjd.js";
15
15
  import {
16
16
  observe2
17
17
  } from "./file-mutation-qsdy395h.js";
@@ -23,15 +23,15 @@ import {
23
23
  var exports_policy = {};
24
24
  __export(exports_policy, {
25
25
  ConfigPolicyPlugin: () => exports_policy,
26
- Plugin: () => Plugin47
26
+ Plugin: () => Plugin10
27
27
  });
28
28
  import { define } from "@opencode/plugin/effect/plugin";
29
29
  import { Effect, Stream } from "effect";
30
- var Plugin47 = define({
30
+ var Plugin10 = define({
31
31
  id: "opencode.config.policy",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service40;
34
- const managed = yield* Service86;
33
+ const config = yield* Service70;
34
+ const managed = yield* Service18;
35
35
  const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
36
36
  const loaded = yield* observe2(config, ctx.event, reload);
37
37
  yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
@@ -69,4 +69,4 @@ var Plugin47 = define({
69
69
  })
70
70
  });
71
71
 
72
- export { Plugin47, exports_policy };
72
+ export { Plugin10, exports_policy };
@@ -3,26 +3,26 @@ import {
3
3
  } from "./file-mutation-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./file-mutation-2rrj5gsc.js";
6
+ } from "./file-mutation-vx3jgdek.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./file-mutation-c3g6e5j8.js";
9
+ } from "./file-mutation-mw3zb6qd.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./file-mutation-t550f9t1.js";
13
+ } from "./file-mutation-rhjbct0v.js";
14
14
  import {
15
15
  SessionMessageTable2
16
16
  } from "./file-mutation-c1fqxshp.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./file-mutation-0b5g1ynf.js";
20
+ } from "./file-mutation-kqx1b4hy.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./file-mutation-1b4m0bzf.js";
25
+ } from "./file-mutation-h9wp8z5w.js";
26
26
  import {
27
27
  __export
28
28
  } from "./file-mutation-9rqn6x4v.js";
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load5,
38
+ load: () => load4,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./file-mutation-52ykxqh0.js";
3
+ } from "./file-mutation-44gm7dpy.js";
4
4
 
5
5
  // src/plugin/provider/lmstudio.ts
6
6
  import { Effect, Schema } from "effect";
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
19
19
  }).pipe(Schema.optional)
20
20
  });
21
21
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
22
- var make4 = createLocalProviderPlugin2({
22
+ var make8 = createLocalProviderPlugin2({
23
23
  id: "opencode.provider.lmstudio",
24
24
  providerID: "lmstudio",
25
25
  name: "LM Studio",
@@ -38,6 +38,6 @@ var make4 = createLocalProviderPlugin2({
38
38
  context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
39
39
  })
40
40
  });
41
- var LMStudioPlugin2 = make4();
41
+ var LMStudioPlugin2 = make8();
42
42
 
43
- export { make4, LMStudioPlugin2 };
43
+ export { make8, LMStudioPlugin2 };
@@ -5,13 +5,13 @@ import {
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service80,
9
- node84
10
- } from "./file-mutation-6e7td314.js";
8
+ Service84,
9
+ node88
10
+ } from "./file-mutation-xtxypabt.js";
11
11
  import {
12
- Service78,
13
- node82
14
- } from "./file-mutation-adgjx2yn.js";
12
+ Service82,
13
+ node86
14
+ } from "./file-mutation-s9hmt3s5.js";
15
15
  import {
16
16
  create3
17
17
  } from "./file-mutation-rdw6cm16.js";
@@ -23,10 +23,10 @@ import {
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
25
  Error: () => Error3,
26
- ID: () => ID4,
27
- Service: () => Service48,
26
+ ID: () => ID5,
27
+ Service: () => Service50,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node50,
29
+ node: () => node53,
30
30
  noopLayer: () => noopLayer3
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,7 +34,7 @@ import path from "path";
34
34
  import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID5 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
39
  class Error3 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
43
43
  }) {
44
44
  }
45
45
 
46
- class Service48 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service50 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service48, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service80;
50
+ const git = yield* Service84;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service78;
52
+ const location = yield* Service82;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
96
96
  maximumUntrackedFileBytes: 2 * 1024 * 1024
97
97
  });
98
98
  yield* packWhenDue(repo.snapshotRepository);
99
- return ID4.make(tree);
99
+ return ID5.make(tree);
100
100
  }).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
101
101
  });
102
102
  const comparison = Effect.fnUntraced(function* (operation, input) {
@@ -147,14 +147,14 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
147
147
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
148
148
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
149
149
  });
150
- return Service48.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
150
+ return Service50.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
151
151
  }).pipe(Effect.withSpan("Snapshot.boot")));
152
- var node50 = makeLocationNode({
153
- service: Service48,
152
+ var node53 = makeLocationNode({
153
+ service: Service50,
154
154
  layer,
155
- deps: [FSUtil.node, node84, Global.node, node82]
155
+ deps: [FSUtil.node, node88, Global.node, node86]
156
156
  });
157
- var noopLayer3 = Layer.succeed(Service48, Service48.of({
157
+ var noopLayer3 = Layer.succeed(Service50, Service50.of({
158
158
  transform: () => Effect.succeed({ dispose: Effect.void }),
159
159
  reload: () => Effect.void,
160
160
  capture: () => Effect.undefined,
@@ -172,4 +172,4 @@ function failure(operation, cause) {
172
172
  });
173
173
  }
174
174
 
175
- export { ID4, Error3, Service48, node50, noopLayer3, exports_snapshot2 };
175
+ export { ID5, Error3, Service50, node53, noopLayer3, exports_snapshot2 };
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service82
3
- } from "./file-mutation-f0626khp.js";
2
+ Service81
3
+ } from "./file-mutation-es633c8d.js";
4
4
  import {
5
- Service58
6
- } from "./file-mutation-f4z11j7w.js";
5
+ Service62
6
+ } from "./file-mutation-831szrnr.js";
7
7
  import {
8
- ID3,
8
+ ID6,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service21
14
- } from "./file-mutation-s2ge5s40.js";
13
+ Service52
14
+ } from "./file-mutation-dpdqynsp.js";
15
15
  import {
16
16
  __export
17
17
  } from "./file-mutation-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
- var exports_websearch = {};
21
- __export(exports_websearch, {
22
- Input: () => Input8,
20
+ var exports_websearch2 = {};
21
+ __export(exports_websearch2, {
22
+ Input: () => Input11,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin24,
25
- WebSearchTool: () => exports_websearch,
24
+ Plugin: () => Plugin47,
25
+ WebSearchTool: () => exports_websearch2,
26
26
  description: () => description5,
27
- name: () => name8
27
+ name: () => name11
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name8 = "websearch";
32
+ var name11 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
@@ -39,28 +39,28 @@ var httpErrors = new Map([
39
39
  var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input8 = Schema.Struct({
42
+ var Input11 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID3,
46
+ provider: ID6,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin24 = {
49
+ var Plugin47 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service58;
53
- const forms = yield* Service82;
54
- const websearch = yield* Service21;
52
+ const permission = yield* Service62;
53
+ const forms = yield* Service81;
54
+ const websearch = yield* Service52;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name8,
56
+ name: name11,
57
57
  options: { codemode: false },
58
58
  description: description5,
59
- input: Input8,
59
+ input: Input11,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name8,
63
+ action: name11,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name8];
179
+ delete event.tools[name11];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name8, NO_RESULTS2, description5, Input8, Plugin24, exports_websearch };
187
+ export { name11, NO_RESULTS2, description5, Input11, Plugin47, exports_websearch2 };
@@ -1,34 +1,34 @@
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
- Service82,
7
- node86
8
- } from "./file-mutation-f0626khp.js";
6
+ Service81,
7
+ node85
8
+ } from "./file-mutation-es633c8d.js";
9
9
  import {
10
- Service79,
11
- node83
12
- } from "./file-mutation-cg0j9q80.js";
10
+ Service83,
11
+ node87
12
+ } from "./file-mutation-yewqjc3q.js";
13
13
  import {
14
- Ref3,
15
- Service78,
16
- node82
17
- } from "./file-mutation-adgjx2yn.js";
14
+ Ref4,
15
+ Service82,
16
+ node86
17
+ } from "./file-mutation-s9hmt3s5.js";
18
18
  import {
19
19
  canonical3
20
- } from "./file-mutation-7n5f7c7j.js";
20
+ } from "./file-mutation-4p0ag926.js";
21
21
  import {
22
22
  SessionEvent2
23
23
  } from "./file-mutation-ec1grn59.js";
24
24
  import {
25
- Service58,
26
- node61
27
- } from "./file-mutation-f4z11j7w.js";
25
+ Service62,
26
+ node65
27
+ } from "./file-mutation-831szrnr.js";
28
28
  import {
29
- Service52,
30
- node55
31
- } from "./file-mutation-3xbrj0ew.js";
29
+ Service56,
30
+ node59
31
+ } from "./file-mutation-ze4328nr.js";
32
32
  import {
33
33
  __export
34
34
  } from "./file-mutation-9rqn6x4v.js";
@@ -37,23 +37,23 @@ import {
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service19,
41
- node: () => node21
40
+ Service: () => Service22,
41
+ node: () => node24
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service19 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service22 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service19, Effect.gen(function* () {
51
- const bus = yield* Service84;
52
- const location = yield* Service78;
53
- const permission = yield* Service58;
54
- const forms = yield* Service82;
55
- const rpc = yield* Service52;
56
- const project = yield* Service79;
50
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
51
+ const bus = yield* Service85;
52
+ const location = yield* Service82;
53
+ const permission = yield* Service62;
54
+ const forms = yield* Service81;
55
+ const rpc = yield* Service56;
56
+ const project = yield* Service83;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
59
59
  const unsubscribe = yield* bus.listen((event) => {
@@ -76,19 +76,19 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
76
76
  yield* forms.close;
77
77
  yield* rpc.close;
78
78
  yield* bus.publish(LocationEvent.Shutdown, {}, {
79
- location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
79
+ location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
80
80
  });
81
81
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
82
82
  }).pipe(Effect.uninterruptible);
83
- return Service19.of({
83
+ return Service22.of({
84
84
  isClosed: () => closed,
85
85
  shutdown
86
86
  });
87
87
  }));
88
- var node21 = makeLocationNode({
89
- service: Service19,
88
+ var node24 = makeLocationNode({
89
+ service: Service22,
90
90
  layer,
91
- deps: [node88, node82, node61, node83, node86, node55]
91
+ deps: [node89, node86, node65, node87, node85, node59]
92
92
  });
93
93
 
94
- export { Service19, node21, exports_location_lifecycle };
94
+ export { Service22, node24, exports_location_lifecycle };
@@ -1,6 +1,6 @@
1
1
  import {
2
- render2
3
- } from "./file-mutation-qqeeq2t9.js";
2
+ render3
3
+ } from "./file-mutation-drwq78ky.js";
4
4
  import {
5
5
  __export
6
6
  } from "./file-mutation-9rqn6x4v.js";
@@ -424,7 +424,7 @@ function make(id, optimize, mode = "override") {
424
424
  const system = event.system[0];
425
425
  if (!system)
426
426
  return;
427
- const rendered = render2(template, Object.keys(event.tools));
427
+ const rendered = render3(template, Object.keys(event.tools));
428
428
  const text = mode === "append" ? `${system.text}
429
429
 
430
430
  ${rendered}` : rendered;
@@ -2,13 +2,13 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./file-mutation-94f2xxp4.js";
5
+ } from "./file-mutation-dhww0s6x.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make22,
10
10
  makeWithDefaults2
11
- } from "./file-mutation-9638ddv9.js";
11
+ } from "./file-mutation-ed01axam.js";
12
12
  import {
13
13
  __export
14
14
  } from "./file-mutation-9rqn6x4v.js";