@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
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
15
15
  MAX_BYTES: () => MAX_BYTES2,
16
16
  MAX_LINES: () => MAX_LINES2,
17
17
  RETENTION: () => RETENTION3,
18
- Service: () => Service49,
18
+ Service: () => Service68,
19
19
  ToolOutput: () => exports_tool_output2,
20
20
  fileName: () => fileName2,
21
- node: () => node51
21
+ node: () => node71
22
22
  });
23
23
  import path from "path";
24
24
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
32
32
  var DIRECTORY3 = "tool-output";
33
33
  var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
34
34
 
35
- class Service49 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service68 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service49, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service49.of({
119
+ return Service68.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node51 = makeLocationNode({
137
- service: Service49,
136
+ var node71 = makeLocationNode({
137
+ service: Service68,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service49, node51, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service68, node71, exports_tool_output2 };
@@ -1,129 +1,129 @@
1
1
  import {
2
2
  Metadata2,
3
- node52
4
- } from "./file-mutation-hjkfxcec.js";
3
+ node49
4
+ } from "./file-mutation-s0xd9fk5.js";
5
5
  import {
6
- Service84,
7
- node88
8
- } from "./file-mutation-t363e79v.js";
6
+ Service85,
7
+ node89
8
+ } from "./file-mutation-a5cb3rxh.js";
9
9
  import {
10
10
  ID9,
11
- Service62,
12
- node65
13
- } from "./file-mutation-67ck3t7e.js";
11
+ Service65,
12
+ node68
13
+ } from "./file-mutation-s7p2cp87.js";
14
14
  import {
15
- ID18,
15
+ ID15,
16
16
  OAuth3
17
- } from "./file-mutation-heegtd1e.js";
17
+ } from "./file-mutation-cqbnrm9h.js";
18
18
  import {
19
- ID16,
19
+ ID14,
20
20
  MethodID2,
21
21
  AttemptID2,
22
22
  Method2,
23
- Service81,
24
- node85
25
- } from "./file-mutation-rmr77w56.js";
23
+ Service79,
24
+ node83
25
+ } from "./file-mutation-ag0c998m.js";
26
26
  import {
27
27
  AbsolutePath2
28
28
  } from "./file-mutation-z5v4ffb3.js";
29
29
  import {
30
- Info23,
31
- Ref3,
32
- Service78,
33
- node82
34
- } from "./file-mutation-adgjx2yn.js";
30
+ Info27,
31
+ Ref4,
32
+ Service82,
33
+ node86
34
+ } from "./file-mutation-s9hmt3s5.js";
35
35
  import {
36
36
  ID13,
37
- Service77,
38
- node81
39
- } from "./file-mutation-h71yhdd1.js";
40
- import {
41
- Service75,
42
- node79
43
- } from "./file-mutation-2rj6s964.js";
37
+ Service78,
38
+ node82
39
+ } from "./file-mutation-b81ahfje.js";
44
40
  import {
45
- Service51,
46
- node54
47
- } from "./file-mutation-xrz68rn9.js";
41
+ Service55,
42
+ node58
43
+ } from "./file-mutation-nbe12rbe.js";
48
44
  import {
49
- Service70,
50
- node74
51
- } from "./file-mutation-zfrh7ppm.js";
45
+ Service46,
46
+ node48
47
+ } from "./file-mutation-jfnyz2cb.js";
52
48
  import {
53
49
  Service73,
54
- node77
55
- } from "./file-mutation-7n5f7c7j.js";
50
+ node76
51
+ } from "./file-mutation-ab17c7dx.js";
52
+ import {
53
+ Service61,
54
+ node64
55
+ } from "./file-mutation-4p0ag926.js";
56
56
  import {
57
57
  ID12,
58
+ Service77,
59
+ node81
60
+ } from "./file-mutation-1vq8waa3.js";
61
+ import {
62
+ ID10
63
+ } from "./file-mutation-w80w7egq.js";
64
+ import {
65
+ Service38,
66
+ node41
67
+ } from "./file-mutation-a0ngmh7v.js";
68
+ import {
58
69
  Service76,
59
70
  node80
60
- } from "./file-mutation-tce46y2m.js";
71
+ } from "./file-mutation-fqtvmpfq.js";
61
72
  import {
62
- ID11
63
- } from "./file-mutation-ejj0jwrk.js";
73
+ Service62,
74
+ node65
75
+ } from "./file-mutation-831szrnr.js";
64
76
  import {
65
- Service35,
66
- node38
67
- } from "./file-mutation-3wznbp76.js";
77
+ Service59,
78
+ node62,
79
+ Error4
80
+ } from "./file-mutation-whmxtv1k.js";
68
81
  import {
69
- Service61,
70
- node64
71
- } from "./file-mutation-c27esgm9.js";
82
+ Source3,
83
+ Service39,
84
+ node42
85
+ } from "./file-mutation-3zzm0etj.js";
72
86
  import {
73
- Service58,
74
- node61
75
- } from "./file-mutation-f4z11j7w.js";
87
+ Info7,
88
+ Service40,
89
+ node43
90
+ } from "./file-mutation-bdwftekd.js";
76
91
  import {
77
- Service50,
78
- node53,
79
- Error4
80
- } from "./file-mutation-7txsrhy6.js";
92
+ Service26,
93
+ node29
94
+ } from "./file-mutation-pgvws8e3.js";
81
95
  import {
82
- Source5,
83
- Service68,
84
- node72
85
- } from "./file-mutation-3773e6mf.js";
96
+ Service51,
97
+ node54
98
+ } from "./file-mutation-xqevex3y.js";
86
99
  import {
87
- Info12,
88
- Service57,
89
- node60
90
- } from "./file-mutation-z6cf9sp5.js";
100
+ Service56,
101
+ node59
102
+ } from "./file-mutation-ze4328nr.js";
91
103
  import {
92
104
  Service25,
93
105
  node28
94
- } from "./file-mutation-2s0p8hxn.js";
95
- import {
96
- Service22,
97
- node25
98
- } from "./file-mutation-hxqe5h20.js";
106
+ } from "./file-mutation-yv1g7dvw.js";
99
107
  import {
108
+ ID6,
100
109
  Service52,
101
110
  node55
102
- } from "./file-mutation-3xbrj0ew.js";
103
- import {
104
- Service23,
105
- node26
106
- } from "./file-mutation-4dhekype.js";
111
+ } from "./file-mutation-dpdqynsp.js";
107
112
  import {
108
- ID3,
109
- Service21,
110
- node24
111
- } from "./file-mutation-s2ge5s40.js";
112
- import {
113
- Service72,
114
- node76
115
- } from "./file-mutation-330hs5ce.js";
113
+ Service58,
114
+ node61
115
+ } from "./file-mutation-9tk0xbhp.js";
116
116
  import {
117
117
  StrategyID2,
118
- Info20,
118
+ Info10,
119
119
  ListEntry3,
120
- Service71,
121
- node75
122
- } from "./file-mutation-fgp2n23a.js";
120
+ Service57,
121
+ node60
122
+ } from "./file-mutation-ym72szr7.js";
123
123
  import {
124
- Service20,
125
- node23
126
- } from "./file-mutation-25bzgp06.js";
124
+ Service53,
125
+ node56
126
+ } from "./file-mutation-tjn2qjgm.js";
127
127
  import {
128
128
  __export
129
129
  } from "./file-mutation-9rqn6x4v.js";
@@ -144,49 +144,49 @@ var mutable = (value) => value;
144
144
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
145
145
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
146
146
  const app = yield* Metadata2;
147
- const agents = yield* Service62;
148
- const aisdk = yield* Service75;
149
- const providers = yield* Service77;
150
- const models = yield* Service76;
151
- const commands = yield* Service51;
152
- const bus = yield* Service84;
153
- const integration = yield* Service81;
154
- const kv = yield* Service70;
155
- const mcp = yield* Service35;
156
- const location = yield* Service78;
157
- const reference = yield* Service68;
158
- const rpc = yield* Service52;
159
- const skill = yield* Service57;
160
- const tools = yield* Service50;
161
- const vcs = yield* Service23;
162
- const websearch = yield* Service21;
163
- const generate = yield* Service20;
164
- const permission = yield* Service58;
165
- const hooks = yield* Service61;
166
- const sessions = yield* Service25;
167
- const persistentPty = yield* Service22;
168
- const locations = yield* Service73;
169
- const worktrees = yield* Service71;
170
- const worktreeStrategies = yield* Service72;
147
+ const agents = yield* Service65;
148
+ const aisdk = yield* Service55;
149
+ const providers = yield* Service78;
150
+ const models = yield* Service77;
151
+ const commands = yield* Service46;
152
+ const bus = yield* Service85;
153
+ const integration = yield* Service79;
154
+ const kv = yield* Service73;
155
+ const mcp = yield* Service38;
156
+ const location = yield* Service82;
157
+ const reference = yield* Service39;
158
+ const rpc = yield* Service56;
159
+ const skill = yield* Service40;
160
+ const tools = yield* Service59;
161
+ const vcs = yield* Service25;
162
+ const websearch = yield* Service52;
163
+ const generate = yield* Service53;
164
+ const permission = yield* Service62;
165
+ const hooks = yield* Service76;
166
+ const sessions = yield* Service26;
167
+ const persistentPty = yield* Service51;
168
+ const locations = yield* Service61;
169
+ const worktrees = yield* Service57;
170
+ const worktreeStrategies = yield* Service58;
171
171
  const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
172
- const locationInfo = () => new Info23({
172
+ const locationInfo = () => new Info27({
173
173
  directory: location.directory,
174
174
  workspaceID: location.workspaceID,
175
175
  project: location.project
176
176
  });
177
- const locationRef = (input) => input?.location === undefined ? undefined : Ref3.make({
177
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
178
178
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
179
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
179
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID10.make(input.location.workspace)
180
180
  });
181
181
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
182
182
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
183
- const decodeWorktree = Schema.decodeUnknownEffect(Info20);
183
+ const decodeWorktree = Schema.decodeUnknownEffect(Info10);
184
184
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
185
185
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
186
- const location = yield* Service78;
187
- const agents = yield* Service62;
186
+ const location = yield* Service82;
187
+ const agents = yield* Service65;
188
188
  return {
189
- location: new Info23({
189
+ location: new Info27({
190
190
  directory: location.directory,
191
191
  workspaceID: location.workspaceID,
192
192
  project: location.project
@@ -263,7 +263,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
263
263
  get: (id) => editor.get(ID13.make(id)),
264
264
  add: (definition) => editor.add({
265
265
  ...definition,
266
- sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID18.make(definition.sourceConnection.id) } : definition.sourceConnection
266
+ sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
267
267
  }),
268
268
  update: (id, update) => editor.update(ID13.make(id), update),
269
269
  remove: (id) => editor.remove(ID13.make(id)),
@@ -316,20 +316,20 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
316
316
  integration: {
317
317
  list: () => response(integration.list()),
318
318
  get: Effect.fn(function* (input) {
319
- const item = yield* integration.get(ID16.make(input.integrationID));
319
+ const item = yield* integration.get(ID14.make(input.integrationID));
320
320
  if (!item)
321
321
  return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
322
322
  return yield* response(Effect.succeed(item));
323
323
  }),
324
324
  connect: {
325
325
  key: (input) => integration.connection.key({
326
- integrationID: ID16.make(input.integrationID),
326
+ integrationID: ID14.make(input.integrationID),
327
327
  key: input.key,
328
328
  answer: input.answer,
329
329
  label: input.label
330
330
  }),
331
331
  external: (input) => integration.connection.external({
332
- integrationID: ID16.make(input.integrationID),
332
+ integrationID: ID14.make(input.integrationID),
333
333
  methodID: MethodID2.make(input.methodID),
334
334
  answer: input.answer,
335
335
  label: input.label
@@ -337,60 +337,60 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
337
337
  },
338
338
  oauth: {
339
339
  connect: (input) => response(integration.oauth.connect({
340
- integrationID: ID16.make(input.integrationID),
340
+ integrationID: ID14.make(input.integrationID),
341
341
  methodID: MethodID2.make(input.methodID),
342
342
  answer: input.answer,
343
343
  label: input.label
344
344
  })),
345
345
  status: (input) => response(integration.oauth.status({
346
- integrationID: ID16.make(input.integrationID),
346
+ integrationID: ID14.make(input.integrationID),
347
347
  attemptID: AttemptID2.make(input.attemptID)
348
348
  })),
349
349
  complete: (input) => integration.oauth.complete({
350
- integrationID: ID16.make(input.integrationID),
350
+ integrationID: ID14.make(input.integrationID),
351
351
  attemptID: AttemptID2.make(input.attemptID),
352
352
  code: input.code
353
353
  }),
354
354
  cancel: (input) => integration.oauth.cancel({
355
- integrationID: ID16.make(input.integrationID),
355
+ integrationID: ID14.make(input.integrationID),
356
356
  attemptID: AttemptID2.make(input.attemptID)
357
357
  })
358
358
  },
359
359
  command: {
360
360
  connect: (input) => response(integration.command.connect({
361
- integrationID: ID16.make(input.integrationID),
361
+ integrationID: ID14.make(input.integrationID),
362
362
  methodID: MethodID2.make(input.methodID),
363
363
  label: input.label
364
364
  })),
365
365
  status: (input) => response(integration.command.status({
366
- integrationID: ID16.make(input.integrationID),
366
+ integrationID: ID14.make(input.integrationID),
367
367
  attemptID: AttemptID2.make(input.attemptID)
368
368
  })),
369
369
  cancel: (input) => integration.command.cancel({
370
- integrationID: ID16.make(input.integrationID),
370
+ integrationID: ID14.make(input.integrationID),
371
371
  attemptID: AttemptID2.make(input.attemptID)
372
372
  })
373
373
  },
374
374
  reload: integration.reload,
375
375
  connection: {
376
- active: (id) => integration.connection.active(ID16.make(id)),
377
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID18.make(connection.id) } : connection),
376
+ active: (id) => integration.connection.active(ID14.make(id)),
377
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection),
378
378
  status: (input) => integration.connection.status({
379
- integrationID: ID16.make(input.integrationID),
380
- connection: input.connection.type === "credential" ? { ...input.connection, id: ID18.make(input.connection.id) } : input.connection,
379
+ integrationID: ID14.make(input.integrationID),
380
+ connection: input.connection.type === "credential" ? { ...input.connection, id: ID15.make(input.connection.id) } : input.connection,
381
381
  status: input.status
382
382
  })
383
383
  },
384
384
  transform: (callback) => integration.transform((editor) => {
385
385
  callback({
386
386
  list: () => mutable(editor.list()),
387
- get: (id) => mutable(editor.get(ID16.make(id))),
388
- update: (id, update) => editor.update(ID16.make(id), update),
389
- remove: (id) => editor.remove(ID16.make(id)),
387
+ get: (id) => mutable(editor.get(ID14.make(id))),
388
+ update: (id, update) => editor.update(ID14.make(id), update),
389
+ remove: (id) => editor.remove(ID14.make(id)),
390
390
  method: {
391
- list: (id) => editor.method.list(ID16.make(id)),
391
+ list: (id) => editor.method.list(ID14.make(id)),
392
392
  update: (input) => editor.method.update(methodImplementation(input)),
393
- remove: (id, method) => editor.method.remove(ID16.make(id), Schema.decodeUnknownSync(Method2)(method))
393
+ remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
394
394
  }
395
395
  });
396
396
  })
@@ -400,10 +400,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
400
400
  const ref = locationRef(input);
401
401
  if (ref && !isCurrentLocation(ref))
402
402
  return Effect.gen(function* () {
403
- const location = yield* Service78;
404
- const mcp = yield* Service35;
403
+ const location = yield* Service82;
404
+ const mcp = yield* Service38;
405
405
  return {
406
- location: new Info23({
406
+ location: new Info27({
407
407
  directory: location.directory,
408
408
  workspaceID: location.workspaceID,
409
409
  project: location.project
@@ -443,7 +443,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
443
443
  reload: reference.reload,
444
444
  transform: (callback) => reference.transform((editor) => {
445
445
  callback({
446
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source5)(source)),
446
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
447
447
  remove: editor.remove,
448
448
  list: editor.list,
449
449
  get: editor.get
@@ -457,7 +457,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
457
457
  callback({
458
458
  list: () => mutable(editor.list()),
459
459
  get: editor.get,
460
- add: (value) => editor.add(Schema.decodeUnknownSync(Info12)(value)),
460
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info7)(value)),
461
461
  update: editor.update,
462
462
  remove: editor.remove
463
463
  });
@@ -488,19 +488,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
488
488
  providers: () => response(websearch.providers()),
489
489
  query: (input) => response(websearch.query({
490
490
  query: input.query,
491
- providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
491
+ providerID: input.providerID === undefined ? undefined : ID6.make(input.providerID)
492
492
  })),
493
493
  reload: websearch.reload,
494
494
  transform: (callback) => websearch.transform((editor) => {
495
495
  callback({
496
496
  add: (definition) => editor.add({
497
- id: ID3.make(definition.id),
497
+ id: ID6.make(definition.id),
498
498
  name: definition.name,
499
499
  execute: definition.execute
500
500
  }),
501
501
  default: {
502
502
  get: editor.default.get,
503
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
503
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID6.make(selection))
504
504
  }
505
505
  });
506
506
  })
@@ -522,6 +522,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
522
522
  },
523
523
  session: {
524
524
  hook: (name, callback, options) => hooks.register("session", name, callback, options),
525
+ list: sessions.list,
525
526
  create: (input) => sessions.create({
526
527
  id: input?.id,
527
528
  title: input?.title,
@@ -530,7 +531,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
530
531
  metadata: input?.metadata,
531
532
  permissions: input?.permissions,
532
533
  ...input?.parentID === undefined ? {
533
- location: input?.location ?? Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
534
+ location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
534
535
  } : { parentID: input.parentID }
535
536
  }),
536
537
  get: (input) => sessions.get(input.sessionID),
@@ -560,31 +561,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
560
561
  return context;
561
562
  });
562
563
  var requirements3 = LayerNode.group([
563
- node52,
564
- node65,
565
- node79,
566
- node81,
567
- node80,
568
- node54,
569
- node88,
570
- node85,
571
- node74,
572
- node38,
564
+ node49,
565
+ node68,
566
+ node58,
573
567
  node82,
574
- node72,
568
+ node81,
569
+ node48,
570
+ node89,
571
+ node83,
572
+ node76,
573
+ node41,
574
+ node86,
575
+ node42,
576
+ node59,
577
+ node43,
578
+ node62,
579
+ node28,
575
580
  node55,
576
581
  node60,
577
- node53,
578
- node26,
579
- node24,
580
- node75,
581
- node76,
582
- node23,
583
582
  node61,
584
- node64,
585
- node28,
586
- node25,
587
- node77
583
+ node56,
584
+ node65,
585
+ node80,
586
+ node29,
587
+ node54,
588
+ node64
588
589
  ]);
589
590
  function storage2(kv, pluginID) {
590
591
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -611,7 +612,7 @@ function methodImplementation(input) {
611
612
  if ("authorize" in input) {
612
613
  const refresh = input.refresh;
613
614
  return {
614
- integrationID: ID16.make(input.integrationID),
615
+ integrationID: ID14.make(input.integrationID),
615
616
  method: { ...input.method, id: MethodID2.make(input.method.id) },
616
617
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
617
618
  if (authorization.mode === "auto") {
@@ -631,24 +632,24 @@ function methodImplementation(input) {
631
632
  }
632
633
  if (input.method.type === "env") {
633
634
  return {
634
- integrationID: ID16.make(input.integrationID),
635
+ integrationID: ID14.make(input.integrationID),
635
636
  method: input.method
636
637
  };
637
638
  }
638
639
  if (input.method.type === "command") {
639
640
  return {
640
- integrationID: ID16.make(input.integrationID),
641
+ integrationID: ID14.make(input.integrationID),
641
642
  method: { ...input.method, id: MethodID2.make(input.method.id) }
642
643
  };
643
644
  }
644
645
  if (input.method.type === "external") {
645
646
  return {
646
- integrationID: ID16.make(input.integrationID),
647
+ integrationID: ID14.make(input.integrationID),
647
648
  method: { ...input.method, id: MethodID2.make(input.method.id) }
648
649
  };
649
650
  }
650
651
  return {
651
- integrationID: ID16.make(input.integrationID),
652
+ integrationID: ID14.make(input.integrationID),
652
653
  method: input.method
653
654
  };
654
655
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./file-mutation-adgjx2yn.js";
2
+ Service82,
3
+ node86
4
+ } from "./file-mutation-s9hmt3s5.js";
5
5
  import {
6
6
  create3
7
7
  } from "./file-mutation-rdw6cm16.js";
@@ -13,18 +13,18 @@ import {
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service16,
17
- node: () => node18
16
+ Service: () => Service19,
17
+ node: () => node21
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service16 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service19 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service16, Effect.gen(function* () {
27
- const location = yield* Service78;
26
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
27
+ const location = yield* Service82;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service16.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service19.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node18 = makeLocationNode({
91
- service: Service16,
90
+ var node21 = makeLocationNode({
91
+ service: Service19,
92
92
  layer,
93
- deps: [node82, AppProcess.node]
93
+ deps: [node86, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service16, node18, exports_formatter2 };
96
+ export { Service19, node21, exports_formatter2 };