@opencode/core 0.0.0-dev-21062 → 0.0.0-dev-21069

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 (471) hide show
  1. package/dist/agent.js +72 -72
  2. package/dist/aisdk-native.js +75 -75
  3. package/dist/aisdk.js +80 -80
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +61 -61
  6. package/dist/chunks/{git-rbpvdgf0.js → git-00bpreyp.js} +7 -7
  7. package/dist/chunks/{git-27sw9x7x.js → git-02614zk1.js} +17 -17
  8. package/dist/chunks/{git-3hk2ztfw.js → git-0ff5h7g9.js} +8 -8
  9. package/dist/chunks/{git-3md19t04.js → git-0qx6w01s.js} +14 -14
  10. package/dist/chunks/{git-ge8zn40h.js → git-0th69q4z.js} +5 -5
  11. package/dist/chunks/{git-qnjzkknc.js → git-0tz5f1ee.js} +7 -7
  12. package/dist/chunks/{git-2gbz9bkd.js → git-0yvmkw8f.js} +1 -1
  13. package/dist/chunks/{git-jt1egq2b.js → git-0zd41eb9.js} +9 -9
  14. package/dist/chunks/{git-0wgmrba7.js → git-1468afn5.js} +13 -13
  15. package/dist/chunks/{git-x61k1gv7.js → git-1jcrrg6s.js} +7 -7
  16. package/dist/chunks/{git-g6yfr6ja.js → git-1pxz8ven.js} +3 -3
  17. package/dist/chunks/{git-fxaymqdw.js → git-1w2wqhfv.js} +3 -3
  18. package/dist/chunks/{git-4p6eznaa.js → git-2119y00b.js} +18 -18
  19. package/dist/chunks/{git-6mp3ggm1.js → git-23wekjqs.js} +22 -22
  20. package/dist/chunks/{git-zvm05j0q.js → git-266m7yvg.js} +14 -14
  21. package/dist/chunks/{git-1hnmhrtt.js → git-2ayr3kwx.js} +10 -10
  22. package/dist/chunks/{git-3jq4fafe.js → git-2j3rh8vt.js} +13 -13
  23. package/dist/chunks/{git-v3qh3xqk.js → git-2jfq4a2k.js} +2 -2
  24. package/dist/chunks/{git-g97vj1p3.js → git-2q9xg5p3.js} +12 -12
  25. package/dist/chunks/{git-5te1apv5.js → git-2qsqy3dj.js} +29 -29
  26. package/dist/chunks/{git-cwa6csj7.js → git-2sejkfem.js} +7 -7
  27. package/dist/chunks/{git-jw0xc3ac.js → git-2tbsc6xa.js} +148 -148
  28. package/dist/chunks/{git-asvx1cy5.js → git-2yvprtqn.js} +44 -44
  29. package/dist/chunks/{git-kckqmhre.js → git-30aagwgp.js} +6 -6
  30. package/dist/chunks/{git-j9tkb0kk.js → git-3cpe3kw7.js} +81 -81
  31. package/dist/chunks/{git-geje6z9c.js → git-3gt9q2bb.js} +3 -3
  32. package/dist/chunks/{git-bcys5w9d.js → git-3hyqebky.js} +18 -18
  33. package/dist/chunks/{git-39381q6g.js → git-3vzj2kxg.js} +24 -24
  34. package/dist/chunks/{git-dnn66tcs.js → git-3w33sg6k.js} +27 -27
  35. package/dist/chunks/{git-vpm8vpz0.js → git-48kw51zw.js} +3 -3
  36. package/dist/chunks/{git-w6zk8pbt.js → git-4jk0qxj4.js} +5 -5
  37. package/dist/chunks/{git-n0freqwz.js → git-4k8e88tr.js} +2 -2
  38. package/dist/chunks/{git-8159bw5m.js → git-4kdqwsjh.js} +24 -24
  39. package/dist/chunks/{git-3es4phk5.js → git-4t5kpmng.js} +38 -38
  40. package/dist/chunks/{git-jq5qpyxf.js → git-4xhx7w4s.js} +17 -17
  41. package/dist/chunks/{git-xq7d7py0.js → git-4yjw5cbc.js} +18 -18
  42. package/dist/chunks/{git-3rx778rd.js → git-5f47q2sq.js} +9 -9
  43. package/dist/chunks/{git-r81t6b6n.js → git-5jyrmfvy.js} +9 -9
  44. package/dist/chunks/{git-28t5xsh3.js → git-5mv525pg.js} +20 -20
  45. package/dist/chunks/{git-h1n9eedh.js → git-5nvx1j92.js} +13 -13
  46. package/dist/chunks/{git-e80seqcp.js → git-5rzwp8tz.js} +2 -2
  47. package/dist/chunks/{git-4gw7zdme.js → git-5ycn1s57.js} +12 -12
  48. package/dist/chunks/{git-9tv8kj20.js → git-67w5jb7s.js} +17 -17
  49. package/dist/chunks/{git-mnns84tq.js → git-69crj1q0.js} +25 -25
  50. package/dist/chunks/{git-fe2th2wh.js → git-6f5t57mb.js} +4 -4
  51. package/dist/chunks/{git-s84ry3mb.js → git-6fw3c6yn.js} +23 -23
  52. package/dist/chunks/{git-gwcrv1gc.js → git-6jkg52sa.js} +44 -44
  53. package/dist/chunks/{git-8sze2n9a.js → git-6pc27hjz.js} +1 -1
  54. package/dist/chunks/{git-5mnnp3cw.js → git-6q4rff1r.js} +53 -53
  55. package/dist/chunks/{git-gyxaygr4.js → git-6tcpm8dw.js} +45 -45
  56. package/dist/chunks/{git-7kp85qqg.js → git-6v7mnssa.js} +19 -19
  57. package/dist/chunks/{git-c7rx12mq.js → git-73g798cj.js} +18 -18
  58. package/dist/chunks/{git-jnrq1n4d.js → git-7bjh6j87.js} +35 -35
  59. package/dist/chunks/{git-h1wet0ag.js → git-7c88d4gx.js} +8 -8
  60. package/dist/chunks/{git-k1am5yw9.js → git-7jwfj2aw.js} +10 -10
  61. package/dist/chunks/{git-4yt2kt0b.js → git-7tfmmy5j.js} +14 -14
  62. package/dist/chunks/{git-5y1ssq42.js → git-7venh9gk.js} +20 -20
  63. package/dist/chunks/{git-59gkzr6d.js → git-7xeqc4s4.js} +39 -39
  64. package/dist/chunks/{git-xybefm6f.js → git-7zt5x37y.js} +1 -1
  65. package/dist/chunks/{git-y8jmcg8k.js → git-831gmjmg.js} +4 -4
  66. package/dist/chunks/{git-jyc9d1z3.js → git-8a1xt0qe.js} +15 -15
  67. package/dist/chunks/{git-gjcxsqdv.js → git-8cptq6xk.js} +11 -11
  68. package/dist/chunks/{git-8myf2bph.js → git-8h31457k.js} +27 -27
  69. package/dist/chunks/{git-xt6nrjvw.js → git-8j6brnn0.js} +15 -15
  70. package/dist/chunks/{git-m9pkn1rm.js → git-8rta2mgv.js} +12 -12
  71. package/dist/chunks/{git-0y6maag9.js → git-8v7vnxqj.js} +30 -30
  72. package/dist/chunks/{git-fe40c1g9.js → git-8xjp7fxv.js} +181 -181
  73. package/dist/chunks/{git-52fpbh6z.js → git-9c3np669.js} +7 -7
  74. package/dist/chunks/{git-qpm7s57z.js → git-9nggydkc.js} +10 -10
  75. package/dist/chunks/{git-m7xf8rkm.js → git-9psrfwvx.js} +16 -16
  76. package/dist/chunks/{git-9bb8qht6.js → git-9q8t3w4w.js} +9 -9
  77. package/dist/chunks/{git-f81tjggh.js → git-9sh4wc5j.js} +4 -4
  78. package/dist/chunks/{git-0y0ec6ym.js → git-9tw20s6t.js} +48 -48
  79. package/dist/chunks/{git-vhnmz40v.js → git-a0vxgrxv.js} +9 -9
  80. package/dist/chunks/{git-4w5f3qm5.js → git-a2qe2ev9.js} +7 -7
  81. package/dist/chunks/{git-pmexrvbd.js → git-acbjzsa7.js} +9 -9
  82. package/dist/chunks/{git-ttqw03tt.js → git-aeg33gny.js} +9 -9
  83. package/dist/chunks/{git-at7t4gwn.js → git-afqskp6j.js} +7 -7
  84. package/dist/chunks/{git-y1gc13fs.js → git-ayrdz2nr.js} +13 -13
  85. package/dist/chunks/{git-6ees7pqa.js → git-b40n6ccn.js} +4 -4
  86. package/dist/chunks/{git-4a2776we.js → git-b5r4mbce.js} +8 -8
  87. package/dist/chunks/{git-f78dsz6n.js → git-bdpzzc2x.js} +8 -8
  88. package/dist/chunks/{git-myzt0ztr.js → git-bh4vy26f.js} +12 -12
  89. package/dist/chunks/{git-9hke9rzz.js → git-bnn5vwpb.js} +1 -1
  90. package/dist/chunks/{git-mshkz34v.js → git-bsps9kxp.js} +4 -4
  91. package/dist/chunks/{git-5e3m6ttb.js → git-c2jraa9j.js} +20 -20
  92. package/dist/chunks/{git-ssaywjka.js → git-ca80dkkt.js} +14 -14
  93. package/dist/chunks/{git-rybfjp7a.js → git-cmbb65yx.js} +17 -17
  94. package/dist/chunks/{git-dv1qgsyq.js → git-cmwkp3r5.js} +7 -7
  95. package/dist/chunks/{git-raz7n7tw.js → git-cnh20cya.js} +22 -22
  96. package/dist/chunks/{git-yrw4mpv0.js → git-ctwn6ggk.js} +10 -10
  97. package/dist/chunks/{git-gd01rr9s.js → git-cv9a3evq.js} +18 -18
  98. package/dist/chunks/{git-3y377wv9.js → git-db2wf4at.js} +3 -3
  99. package/dist/chunks/{git-7bznv11x.js → git-dfxpctz5.js} +21 -21
  100. package/dist/chunks/{git-chgyesm2.js → git-dkjqkvp1.js} +4 -4
  101. package/dist/chunks/{git-1a515dmz.js → git-dpxxdp3p.js} +6 -6
  102. package/dist/chunks/{git-hjwvg3qx.js → git-dq5d42ev.js} +37 -37
  103. package/dist/chunks/{git-xfkkasph.js → git-drwq78ky.js} +3 -3
  104. package/dist/chunks/{git-55s65rp4.js → git-dtkbkpn6.js} +15 -15
  105. package/dist/chunks/{git-b6an89mh.js → git-dywg3qh4.js} +19 -19
  106. package/dist/chunks/{git-nx34zgwq.js → git-e5s7b6hf.js} +16 -16
  107. package/dist/chunks/{git-3xn4xn8n.js → git-e6ztw48d.js} +7 -7
  108. package/dist/chunks/{git-hqbqqsx7.js → git-eaf53vd4.js} +8 -8
  109. package/dist/chunks/{git-s8d7rejh.js → git-eaj1djv9.js} +5 -5
  110. package/dist/chunks/{git-rr1z7ahj.js → git-edc28t1d.js} +32 -32
  111. package/dist/chunks/{git-6n0ste9k.js → git-eh27m2d1.js} +17 -17
  112. package/dist/chunks/{git-6vmt1kdw.js → git-ekmdazyf.js} +20 -20
  113. package/dist/chunks/{git-xyq213da.js → git-ex86cwx9.js} +9 -9
  114. package/dist/chunks/{git-2cahkbfy.js → git-eyh1wkb1.js} +38 -38
  115. package/dist/chunks/{git-1acjjqhc.js → git-f2n192rq.js} +3 -3
  116. package/dist/chunks/{git-00b36z4k.js → git-f337py0x.js} +42 -42
  117. package/dist/chunks/{git-y54hr7f3.js → git-f58gpcny.js} +7 -7
  118. package/dist/chunks/{git-133h4rxs.js → git-fag8vj58.js} +13 -13
  119. package/dist/chunks/{git-wtk2ksb2.js → git-fbzjpc5s.js} +19 -19
  120. package/dist/chunks/{git-wjk3jbnn.js → git-fdgewsy2.js} +49 -49
  121. package/dist/chunks/{git-e9v5qsfh.js → git-fntcccxw.js} +15 -15
  122. package/dist/chunks/{git-4434d9q2.js → git-fpecnkgp.js} +7 -7
  123. package/dist/chunks/{git-1zz9rj5d.js → git-fvkc5bdm.js} +4 -4
  124. package/dist/chunks/{git-5jebk2rh.js → git-fza1zbnh.js} +18 -18
  125. package/dist/chunks/{git-fn9hs14h.js → git-g182skvz.js} +3 -3
  126. package/dist/chunks/{git-2052heee.js → git-g1hadtra.js} +10 -10
  127. package/dist/chunks/{git-y0p3px76.js → git-g6g1f1f4.js} +30 -30
  128. package/dist/chunks/{git-a8037f1v.js → git-gaamej5p.js} +8 -8
  129. package/dist/chunks/{git-5jhv0vnb.js → git-gh1jkbka.js} +312 -312
  130. package/dist/chunks/{git-w6gd0mvv.js → git-gnh85nqw.js} +15 -15
  131. package/dist/chunks/{git-dmecs3pv.js → git-gqcfbtm3.js} +24 -24
  132. package/dist/chunks/git-gw4ygm76.js +26 -0
  133. package/dist/chunks/{git-d2czbp48.js → git-gw7cjrad.js} +3 -3
  134. package/dist/chunks/{git-zt0d3ekd.js → git-gykybrp3.js} +2 -2
  135. package/dist/chunks/{git-w91axksf.js → git-h1vtm10r.js} +12 -12
  136. package/dist/chunks/{git-02fz4yjj.js → git-ha3rtydb.js} +1 -1
  137. package/dist/chunks/{git-pvkdhk7d.js → git-hbb48s8v.js} +28 -28
  138. package/dist/chunks/{git-npw39rc8.js → git-hcv80w8f.js} +6 -6
  139. package/dist/chunks/{git-mqzqahne.js → git-hfkyxwzf.js} +11 -11
  140. package/dist/chunks/{git-510fpdjj.js → git-hmt9zk07.js} +33 -33
  141. package/dist/chunks/{git-q39cs03p.js → git-hrfjxse0.js} +2 -2
  142. package/dist/chunks/{git-d69z9xpr.js → git-j2fvhsza.js} +10 -10
  143. package/dist/chunks/{git-gpqws9nq.js → git-j4qww8c3.js} +3 -3
  144. package/dist/chunks/{git-yf4jcbx9.js → git-j5w2yx54.js} +5 -5
  145. package/dist/chunks/{git-n2srvep7.js → git-jewzahs7.js} +3 -3
  146. package/dist/chunks/{git-kprygma0.js → git-jhyzf99q.js} +25 -25
  147. package/dist/chunks/{git-fww2ha2b.js → git-jmecpmqm.js} +8 -8
  148. package/dist/chunks/{git-x2hbrvsn.js → git-jmksq526.js} +1 -1
  149. package/dist/chunks/{git-7wvrqce5.js → git-jrqabhyb.js} +13 -13
  150. package/dist/chunks/{git-7th6dh9e.js → git-jv7bf4eg.js} +8 -8
  151. package/dist/chunks/{git-xj1aydcy.js → git-k1n0z3hy.js} +3 -3
  152. package/dist/chunks/{git-19720hhg.js → git-k4ahcazb.js} +13 -13
  153. package/dist/chunks/{git-wwx8h3qn.js → git-kad49353.js} +7 -7
  154. package/dist/chunks/{git-7xe39psp.js → git-kdvnmn04.js} +1 -1
  155. package/dist/chunks/{git-cmqxwqzx.js → git-kpnmq009.js} +4 -4
  156. package/dist/chunks/{git-4327w5ky.js → git-krwp2252.js} +9 -9
  157. package/dist/chunks/{git-chhj7fee.js → git-kzp420br.js} +29 -29
  158. package/dist/chunks/{git-66mwys5v.js → git-m5pxmjnr.js} +16 -16
  159. package/dist/chunks/{git-z44656xp.js → git-mc8yk1sj.js} +32 -32
  160. package/dist/chunks/{git-j85zdcpy.js → git-mh6hy0t6.js} +14 -14
  161. package/dist/chunks/{git-2zs3ps38.js → git-mkgxfw47.js} +16 -16
  162. package/dist/chunks/{git-63d46qpn.js → git-mydantps.js} +8 -8
  163. package/dist/chunks/{git-161hqbep.js → git-mza4dkfk.js} +8 -8
  164. package/dist/chunks/{git-ds58hxpb.js → git-n5acq6xm.js} +31 -31
  165. package/dist/chunks/{git-00kba7x3.js → git-n5fp27ar.js} +19 -19
  166. package/dist/chunks/{git-0qymy61s.js → git-na5v7rrw.js} +33 -33
  167. package/dist/chunks/{git-svvm20fx.js → git-nb5p96ve.js} +5 -5
  168. package/dist/chunks/{git-ct2atp7x.js → git-np1yhkch.js} +25 -25
  169. package/dist/chunks/{git-08mr04zk.js → git-nq13secw.js} +1 -1
  170. package/dist/chunks/{git-ssf4yhs8.js → git-ns8t88d0.js} +7 -7
  171. package/dist/chunks/{git-vkjty8zp.js → git-p8q506w0.js} +5 -5
  172. package/dist/chunks/{git-96k8c7ca.js → git-perpg7kn.js} +27 -27
  173. package/dist/chunks/{git-mafhwm8q.js → git-pqbxjc4k.js} +8 -8
  174. package/dist/chunks/{git-y32r5m3m.js → git-qfqkgstd.js} +4 -4
  175. package/dist/chunks/{git-azh057g0.js → git-qkjhzd8c.js} +18 -18
  176. package/dist/chunks/{git-58w8wmj1.js → git-qmc0kwyt.js} +19 -19
  177. package/dist/chunks/{git-ytcapqcx.js → git-qnaf4t8h.js} +20 -20
  178. package/dist/chunks/{git-4q8aq0yj.js → git-qtpe9amp.js} +4 -4
  179. package/dist/chunks/{git-r186t613.js → git-qvpm0d7c.js} +19 -19
  180. package/dist/chunks/{git-e67s7wnb.js → git-r2fg6vv7.js} +6 -6
  181. package/dist/chunks/{git-nd4tfyg0.js → git-r70na3yp.js} +7 -7
  182. package/dist/chunks/{git-a16f6bk4.js → git-rj2hqavp.js} +1 -1
  183. package/dist/chunks/{git-ve85v3xb.js → git-rk7s9xkn.js} +3 -3
  184. package/dist/chunks/{git-ts0sm5wa.js → git-rmpjc43h.js} +3 -3
  185. package/dist/chunks/{git-2d0p9y9z.js → git-rqa1jxse.js} +1 -1
  186. package/dist/chunks/{git-352j6603.js → git-rwywfv65.js} +8 -8
  187. package/dist/chunks/{git-cm5f7pma.js → git-rxyg1hmn.js} +9 -9
  188. package/dist/chunks/{git-djyswthr.js → git-s132tc7h.js} +32 -32
  189. package/dist/chunks/{git-y56ehv6b.js → git-s1kvmffy.js} +8 -8
  190. package/dist/chunks/{git-kdazpp6j.js → git-s2rmhwt5.js} +28 -28
  191. package/dist/chunks/{git-5v8fgs5z.js → git-sam7rjxf.js} +16 -16
  192. package/dist/chunks/{git-gayeec0v.js → git-sgth7ws6.js} +10 -10
  193. package/dist/chunks/{git-qa3qhgw8.js → git-sxz6gkc3.js} +6 -6
  194. package/dist/chunks/{git-9rqfv6yv.js → git-t8jxbrbs.js} +5 -5
  195. package/dist/chunks/{git-747advjj.js → git-tf1zb054.js} +18 -18
  196. package/dist/chunks/{git-etnbc6at.js → git-tq31zwhn.js} +15 -15
  197. package/dist/chunks/{git-sz15zhhw.js → git-txm3e8qz.js} +3 -3
  198. package/dist/chunks/{git-ttqh24zm.js → git-tz4n1mmd.js} +3 -3
  199. package/dist/chunks/{git-fh3h2rrs.js → git-tzqb1zj9.js} +3 -3
  200. package/dist/chunks/{git-ev8bzsg1.js → git-v2rmwhj0.js} +6 -6
  201. package/dist/chunks/{git-7vdkza44.js → git-ve3sm23d.js} +9 -9
  202. package/dist/chunks/{git-qh6v5qqy.js → git-vhc6xrgv.js} +30 -30
  203. package/dist/chunks/{git-8e2wevyg.js → git-vrt7w025.js} +27 -27
  204. package/dist/chunks/{git-64wjsvpw.js → git-vvgkgf2d.js} +7 -7
  205. package/dist/chunks/{git-2z976w7f.js → git-w0ctrm3b.js} +4 -4
  206. package/dist/chunks/{git-hkffa77z.js → git-wg81ww38.js} +1 -1
  207. package/dist/chunks/{git-eq1gkzp1.js → git-wq8r3h7a.js} +7 -7
  208. package/dist/chunks/{git-kftjr2e3.js → git-wqz4eby1.js} +12 -12
  209. package/dist/chunks/{git-y3m021e8.js → git-wyhe0yhr.js} +30 -30
  210. package/dist/chunks/{git-1e8qp1yh.js → git-wyywahvm.js} +24 -24
  211. package/dist/chunks/{git-c872t358.js → git-x10x1rpr.js} +6 -6
  212. package/dist/chunks/{git-2qm80vd6.js → git-x3s9gwad.js} +10 -10
  213. package/dist/chunks/{git-ga0xp5gq.js → git-xknh7n4g.js} +86 -86
  214. package/dist/chunks/{git-c4nsn6b8.js → git-xrtj00bp.js} +311 -311
  215. package/dist/chunks/{git-dpkg50ah.js → git-y71avatq.js} +3 -3
  216. package/dist/chunks/{git-z6c3x22d.js → git-ygdna4kr.js} +3 -3
  217. package/dist/chunks/{git-bv2ny28d.js → git-yhjwftg3.js} +15 -15
  218. package/dist/chunks/{git-8jwr2qnf.js → git-ym80zgz3.js} +16 -16
  219. package/dist/chunks/{git-1ffvrpkg.js → git-ywt8jp22.js} +4 -4
  220. package/dist/chunks/{git-a09dvcfs.js → git-z0crbjfj.js} +9 -9
  221. package/dist/chunks/{git-fyn09b5n.js → git-z1sbw1b4.js} +52 -52
  222. package/dist/chunks/{git-2tj3byjt.js → git-z64re3f0.js} +30 -30
  223. package/dist/chunks/{git-4kvk04s5.js → git-zdkdeprt.js} +5 -5
  224. package/dist/chunks/{git-at87fsc1.js → git-zfvpt5cz.js} +29 -29
  225. package/dist/chunks/{git-ct331857.js → git-zgcpvakh.js} +9 -9
  226. package/dist/chunks/{git-aj2sbhs3.js → git-zk35yz24.js} +4 -4
  227. package/dist/chunks/{git-scgrse2b.js → git-zyk1yjk8.js} +3 -3
  228. package/dist/codemode/instructions.js +4 -4
  229. package/dist/command.js +76 -76
  230. package/dist/config/discovery.js +68 -68
  231. package/dist/config/normalize.js +83 -83
  232. package/dist/config/plugin/agent.js +95 -95
  233. package/dist/config/plugin/command.js +169 -169
  234. package/dist/config/plugin/compaction.js +121 -121
  235. package/dist/config/plugin/compatibility.js +108 -108
  236. package/dist/config/plugin/formatter.js +94 -94
  237. package/dist/config/plugin/image.js +93 -93
  238. package/dist/config/plugin/instruction.js +94 -94
  239. package/dist/config/plugin/location-watcher.js +93 -93
  240. package/dist/config/plugin/mcp.js +101 -101
  241. package/dist/config/plugin/policy.js +94 -94
  242. package/dist/config/plugin/provider.js +93 -93
  243. package/dist/config/plugin/reference.js +95 -95
  244. package/dist/config/plugin/shell.js +93 -93
  245. package/dist/config/plugin/skill-file.js +83 -83
  246. package/dist/config/plugin/skill.js +111 -111
  247. package/dist/config/plugin/snapshot.js +93 -93
  248. package/dist/config/plugin/source.js +96 -96
  249. package/dist/config/plugin/tool-output.js +94 -94
  250. package/dist/config/plugin/websearch.js +92 -92
  251. package/dist/config/plugin/worktree.js +94 -94
  252. package/dist/config.js +95 -95
  253. package/dist/credential.js +75 -75
  254. package/dist/database/database.js +59 -59
  255. package/dist/database/drizzle/effect-sqlite/driver.js +11 -11
  256. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  257. package/dist/database/drizzle/effect-sqlite/session.js +8 -8
  258. package/dist/database/drizzle/index.js +12 -12
  259. package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
  260. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  261. package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
  262. package/dist/database/drizzle.js +12 -12
  263. package/dist/database/migration.gen.js +42 -42
  264. package/dist/database/migration.js +44 -44
  265. package/dist/database/v1-migration.bun.js +9 -9
  266. package/dist/effect/app-node-builder.js +228 -228
  267. package/dist/effect/keyed-mutex.js +3 -3
  268. package/dist/environment/environment.js +75 -75
  269. package/dist/environment/index.js +75 -75
  270. package/dist/environment/unavailable.js +3 -3
  271. package/dist/event-logger.js +10 -10
  272. package/dist/file-access.js +86 -86
  273. package/dist/file-mutation.js +76 -76
  274. package/dist/filesystem/location-watcher-policy.js +5 -5
  275. package/dist/filesystem/location-watcher.js +180 -180
  276. package/dist/filesystem/search.js +83 -83
  277. package/dist/filesystem/watcher.js +9 -9
  278. package/dist/filesystem.js +86 -86
  279. package/dist/form.js +76 -76
  280. package/dist/formatter/builtins.js +3 -3
  281. package/dist/formatter.js +73 -73
  282. package/dist/generate.js +85 -85
  283. package/dist/git.js +8 -8
  284. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  285. package/dist/github-copilot/copilot-provider.js +3 -3
  286. package/dist/github-copilot/models.js +77 -77
  287. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  288. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  289. package/dist/image/photon.js +1 -1
  290. package/dist/image.js +5 -5
  291. package/dist/instance/service.js +5 -5
  292. package/dist/instance.js +311 -311
  293. package/dist/instruction-discovery.js +75 -75
  294. package/dist/instructions/builtins.js +73 -73
  295. package/dist/instructions/index.js +3 -3
  296. package/dist/integration/connection.js +3 -3
  297. package/dist/integration.js +79 -79
  298. package/dist/job.js +69 -69
  299. package/dist/kv.js +64 -64
  300. package/dist/location-activity.js +51 -51
  301. package/dist/location-lifecycle.js +89 -89
  302. package/dist/location-service-map.js +68 -68
  303. package/dist/location-services.js +309 -309
  304. package/dist/location.js +75 -75
  305. package/dist/managed-policy.js +7 -7
  306. package/dist/mcp/client.js +18 -18
  307. package/dist/mcp/index.js +91 -91
  308. package/dist/mcp/instructions.js +104 -104
  309. package/dist/mcp/oauth.js +14 -14
  310. package/dist/mcp/stdio.js +72 -72
  311. package/dist/modal/models.js +77 -77
  312. package/dist/model-resolver.js +84 -84
  313. package/dist/model.js +84 -84
  314. package/dist/models-dev.js +92 -92
  315. package/dist/permission/saved.js +68 -68
  316. package/dist/permission.js +95 -95
  317. package/dist/persistent-pty/index.js +75 -75
  318. package/dist/persistent-pty.js +63 -63
  319. package/dist/plugin/agent.js +67 -67
  320. package/dist/plugin/command.js +84 -84
  321. package/dist/plugin/hooks.js +5 -5
  322. package/dist/plugin/host.js +173 -173
  323. package/dist/plugin/identity.js +3 -3
  324. package/dist/plugin/instance.js +5 -5
  325. package/dist/plugin/internal.js +285 -285
  326. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  327. package/dist/plugin/models-dev.js +81 -81
  328. package/dist/plugin/module.js +92 -92
  329. package/dist/plugin/optimize.js +2 -2
  330. package/dist/plugin/plan.js +84 -84
  331. package/dist/plugin/provider/amazon-bedrock.js +76 -76
  332. package/dist/plugin/provider/azure.js +94 -94
  333. package/dist/plugin/provider/chatgpt.js +92 -92
  334. package/dist/plugin/provider/cloudflare-ai-gateway.js +91 -91
  335. package/dist/plugin/provider/cloudflare-workers-ai.js +91 -91
  336. package/dist/plugin/provider/configured.js +90 -90
  337. package/dist/plugin/provider/digitalocean.js +78 -78
  338. package/dist/plugin/provider/github-copilot.js +80 -80
  339. package/dist/plugin/provider/gitlab.js +78 -78
  340. package/dist/plugin/provider/google-vertex.js +91 -91
  341. package/dist/plugin/provider/llmgateway.js +68 -68
  342. package/dist/plugin/provider/lmstudio.js +101 -101
  343. package/dist/plugin/provider/local.js +98 -98
  344. package/dist/plugin/provider/modal.js +78 -78
  345. package/dist/plugin/provider/ollama.js +101 -101
  346. package/dist/plugin/provider/openai.js +92 -92
  347. package/dist/plugin/provider/opencode.js +83 -83
  348. package/dist/plugin/provider/openrouter.js +77 -77
  349. package/dist/plugin/provider/poe.js +68 -68
  350. package/dist/plugin/provider/sap-ai-core.js +76 -76
  351. package/dist/plugin/provider/snowflake-cortex.js +92 -92
  352. package/dist/plugin/provider/vercel.js +76 -76
  353. package/dist/plugin/provider/vllm.js +101 -101
  354. package/dist/plugin/provider/xai.js +77 -77
  355. package/dist/plugin/provider.js +138 -138
  356. package/dist/plugin/sdk.js +68 -68
  357. package/dist/plugin/service.js +3 -3
  358. package/dist/plugin/skill.js +109 -109
  359. package/dist/plugin/supervisor.js +300 -300
  360. package/dist/plugin/tool-input-repair.js +3 -3
  361. package/dist/plugin/update.js +6 -6
  362. package/dist/plugin/vcs/git.js +72 -72
  363. package/dist/plugin/vcs/hg.js +72 -72
  364. package/dist/plugin/verbosity.js +79 -79
  365. package/dist/plugin/warming.js +92 -92
  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 +7 -7
  371. package/dist/plugin/websearch/tavily.js +4 -4
  372. package/dist/plugin/websearch/tinyfish.js +7 -7
  373. package/dist/plugin.js +185 -185
  374. package/dist/project/schema.js +7 -7
  375. package/dist/project.js +76 -76
  376. package/dist/provider.js +87 -87
  377. package/dist/pty.js +82 -82
  378. package/dist/reference/instructions.js +76 -76
  379. package/dist/reference.js +74 -74
  380. package/dist/repository-cache.js +69 -69
  381. package/dist/ripgrep.js +78 -78
  382. package/dist/rpc.js +72 -72
  383. package/dist/session/command.js +65 -65
  384. package/dist/session/compaction.js +106 -106
  385. package/dist/session/context.js +124 -124
  386. package/dist/session/diff.js +72 -72
  387. package/dist/session/environment.js +5 -5
  388. package/dist/session/error.js +4 -4
  389. package/dist/session/execution/restart.js +110 -110
  390. package/dist/session/execution.js +109 -109
  391. package/dist/session/generate.js +123 -123
  392. package/dist/session/history.js +6 -6
  393. package/dist/session/inbox.js +71 -71
  394. package/dist/session/info.js +2 -2
  395. package/dist/session/instruction-entry.js +67 -67
  396. package/dist/session/instruction-state.js +2 -2
  397. package/dist/session/instructions.js +76 -76
  398. package/dist/session/model-request.js +96 -96
  399. package/dist/session/model-transport.js +7 -7
  400. package/dist/session/move.js +109 -109
  401. package/dist/session/projector.js +69 -69
  402. package/dist/session/prompt.js +86 -86
  403. package/dist/session/provider-context.js +3 -3
  404. package/dist/session/revert.js +73 -73
  405. package/dist/session/run-coordinator.js +3 -3
  406. package/dist/session/runner/index.js +3 -3
  407. package/dist/session/runner/llm.js +182 -182
  408. package/dist/session/runner/model.js +84 -84
  409. package/dist/session/runner/publish-llm-event.js +94 -94
  410. package/dist/session/runner/retry.js +3 -3
  411. package/dist/session/runner/step.js +100 -100
  412. package/dist/session/runner/to-llm-message.js +2 -2
  413. package/dist/session/schema.js +5 -5
  414. package/dist/session/session.js +135 -135
  415. package/dist/session/shell.js +105 -105
  416. package/dist/session/skill.js +85 -85
  417. package/dist/session/stats.js +8 -8
  418. package/dist/session/store.js +71 -71
  419. package/dist/session/subagent-job.js +164 -164
  420. package/dist/session/system-prompt.js +3 -3
  421. package/dist/session/title.js +121 -121
  422. package/dist/session/to-session-error.js +93 -93
  423. package/dist/session/transfer.js +107 -107
  424. package/dist/session.js +176 -176
  425. package/dist/shell/parse.js +2 -2
  426. package/dist/shell/select.js +11 -11
  427. package/dist/shell.js +108 -108
  428. package/dist/skill/discovery.js +5 -5
  429. package/dist/skill/instructions.js +89 -89
  430. package/dist/skill.js +92 -92
  431. package/dist/snapshot.js +79 -79
  432. package/dist/tool/mcp.js +101 -101
  433. package/dist/tool/plugin/edit.js +97 -97
  434. package/dist/tool/plugin/glob.js +100 -100
  435. package/dist/tool/plugin/grep.js +100 -100
  436. package/dist/tool/plugin/mcp-resource.js +95 -95
  437. package/dist/tool/plugin/opencode.js +89 -89
  438. package/dist/tool/plugin/patch.js +99 -99
  439. package/dist/tool/plugin/question.js +85 -85
  440. package/dist/tool/plugin/read.js +101 -101
  441. package/dist/tool/plugin/shell.js +168 -168
  442. package/dist/tool/plugin/skill.js +93 -93
  443. package/dist/tool/plugin/subagent.js +173 -173
  444. package/dist/tool/plugin/webfetch.js +90 -90
  445. package/dist/tool/plugin/websearch.js +94 -94
  446. package/dist/tool/plugin/write.js +97 -97
  447. package/dist/tool/read-filesystem.js +76 -76
  448. package/dist/tool-output.js +5 -5
  449. package/dist/tool.js +9 -9
  450. package/dist/v1/config/agent.js +4 -4
  451. package/dist/v1/config/command.js +5 -5
  452. package/dist/v1/config/mcp.js +3 -3
  453. package/dist/v1/config/migrate.js +77 -77
  454. package/dist/v1/config/permission.js +3 -3
  455. package/dist/v1/config/provider.js +3 -3
  456. package/dist/variant.js +77 -77
  457. package/dist/vcs.js +75 -75
  458. package/dist/websearch.js +74 -74
  459. package/dist/wellknown/plugin.js +64 -64
  460. package/dist/wellknown.js +71 -71
  461. package/dist/workspace/driver.js +5 -5
  462. package/dist/workspace.js +69 -69
  463. package/dist/worktree/git.js +7 -7
  464. package/dist/worktree/strategies.js +74 -74
  465. package/dist/worktree.js +80 -80
  466. package/package.json +8 -8
  467. package/dist/chunks/git-28w77qnw.js +0 -26
  468. /package/dist/chunks/{git-0nde5ztd.js → git-762r0j46.js} +0 -0
  469. /package/dist/chunks/{git-jx6k168v.js → git-f8kkz21q.js} +0 -0
  470. /package/dist/chunks/{git-89embc53.js → git-r5y2frqw.js} +0 -0
  471. /package/dist/chunks/{git-7vtrn64f.js → git-tyxhgj5h.js} +0 -0
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./git-n0freqwz.js";
4
+ } from "./git-4k8e88tr.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
8
  } from "./git-z5v4ffb3.js";
9
9
  import {
10
- Ref3,
11
- Service78,
12
- node82
13
- } from "./git-5v8fgs5z.js";
10
+ Ref4,
11
+ Service80,
12
+ node84
13
+ } from "./git-sam7rjxf.js";
14
14
  import {
15
15
  __export
16
16
  } from "./git-9rqn6x4v.js";
@@ -19,15 +19,15 @@ import {
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service27,
22
+ Service: () => Service73,
23
23
  define: () => define2,
24
- node: () => node30
24
+ node: () => node77
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service27 extends Context.Service()("@opencode/Rpc") {
30
+ class Service73 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service27, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
43
43
  const bus = yield* Service84;
44
- const location = yield* Service78;
45
- const ref = Ref3.make({ directory: location.directory, workspaceID: location.workspaceID });
44
+ const location = yield* Service80;
45
+ const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
48
48
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
82
82
  const event = registered.event;
83
83
  const data = yield* encode(event.schema, args[1]);
84
84
  return yield* bus.publish(registered.definition, data, {
85
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
85
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
86
86
  }).pipe(Effect.asVoid);
87
87
  })
88
88
  }
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service80, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service27.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service73.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node30 = makeLocationNode({ service: Service27, layer, deps: [node88, node82] });
128
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [node88, node84] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
132
132
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
133
- location: optional2(Ref3)
133
+ location: optional2(Ref4)
134
134
  };
135
135
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
136
136
  var jsonSchemas = new WeakMap;
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
206
206
  ...payload,
207
207
  type: eventType(definition, name),
208
208
  data,
209
- location: Ref3.make({ directory: ref.directory, workspaceID: ref.workspaceID })
209
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
210
210
  };
211
211
  });
212
212
 
213
- export { Service27, node30, exports_rpc, define2 };
213
+ export { Service73, node77, exports_rpc, define2 };
@@ -2,11 +2,11 @@ import {
2
2
  ephemeral2,
3
3
  Service84,
4
4
  node88
5
- } from "./git-n0freqwz.js";
5
+ } from "./git-4k8e88tr.js";
6
6
  import {
7
- Service75,
8
- node79
9
- } from "./git-3hk2ztfw.js";
7
+ Service66,
8
+ node70
9
+ } from "./git-0ff5h7g9.js";
10
10
  import {
11
11
  __export
12
12
  } from "./git-9rqn6x4v.js";
@@ -16,14 +16,14 @@ var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event13,
19
+ Event: () => Event9,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service62,
22
+ Service: () => Service56,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node65,
26
- resolve: () => resolve3
25
+ node: () => node59,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service62 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service56 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event13 = {
51
+ var Event9 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var requestTimeout = "15 seconds";
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
57
57
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
58
58
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
59
59
  });
60
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
60
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
61
61
  const manifest = yield* inspect2(input.origin);
62
62
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
63
63
  });
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
79
79
  var manifestKey = (origin) => `wellknown:manifest:${origin}`;
80
80
  var configKey = (origin) => `wellknown:config:${origin}`;
81
81
  var Configs = Schema.Array(Config2);
82
- var layer = Layer.effect(Service62, Effect.gen(function* () {
82
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
83
83
  const http = yield* HttpClient.HttpClient;
84
- const kv = yield* Service75;
84
+ const kv = yield* Service66;
85
85
  const bus = yield* Service84;
86
86
  const cache = yield* Ref.make(new Map);
87
87
  const lock = Semaphore.makeUnsafe(1);
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
113
113
  if (!changed)
114
114
  return false;
115
115
  yield* Ref.set(cache, next);
116
- yield* bus.publish(Event13.Updated, {}, { global: true });
116
+ yield* bus.publish(Event9.Updated, {}, { global: true });
117
117
  return true;
118
118
  }, (effect) => lock.withPermit(effect));
119
- return Service62.of({
119
+ return Service56.of({
120
120
  entries: load,
121
121
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
122
122
  refresh,
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
129
129
  const origins = Schema.is(Sources)(sources) ? sources : [];
130
130
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
131
131
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
132
- yield* bus.publish(Event13.Updated, {}, { global: true });
132
+ yield* bus.publish(Event9.Updated, {}, { global: true });
133
133
  return entry;
134
134
  }, (effect, _value) => lock.withPermit(effect)),
135
135
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
144
144
  next.delete(origin);
145
145
  return next;
146
146
  });
147
- yield* bus.publish(Event13.Updated, {}, { global: true });
147
+ yield* bus.publish(Event9.Updated, {}, { global: true });
148
148
  }, (effect, _value) => lock.withPermit(effect)),
149
149
  resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
150
150
  const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
157
157
  })
158
158
  });
159
159
  }));
160
- var node65 = makeGlobalNode({ service: Service62, layer, deps: [httpClient, node79, node88] });
160
+ var node59 = makeGlobalNode({ service: Service56, layer, deps: [httpClient, node70, node88] });
161
161
 
162
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service62, Event13, inspect2, resolve3, node65, exports_wellknown };
162
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service56, Event9, inspect2, resolve4, node59, exports_wellknown };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service61
3
- } from "./git-jyc9d1z3.js";
2
+ Service55
3
+ } from "./git-8a1xt0qe.js";
4
4
  import {
5
5
  AbsolutePath2
6
6
  } from "./git-z5v4ffb3.js";
7
7
  import {
8
- Service78
9
- } from "./git-5v8fgs5z.js";
8
+ Service80
9
+ } from "./git-sam7rjxf.js";
10
10
  import {
11
- Service60
12
- } from "./git-2cahkbfy.js";
11
+ Service54
12
+ } from "./git-eyh1wkb1.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source3
17
- } from "./git-28t5xsh3.js";
17
+ } from "./git-5mv525pg.js";
18
18
  import {
19
- Service11
20
- } from "./git-nd4tfyg0.js";
19
+ Service8
20
+ } from "./git-r70na3yp.js";
21
21
  import {
22
22
  parse2
23
- } from "./git-fn9hs14h.js";
23
+ } from "./git-g182skvz.js";
24
24
  import {
25
25
  __export
26
26
  } from "./git-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill3 = {};
30
- __export(exports_skill3, {
31
- ConfigSkillPlugin: () => exports_skill3,
32
- Plugin: () => Plugin41
29
+ var exports_skill2 = {};
30
+ __export(exports_skill2, {
31
+ ConfigSkillPlugin: () => exports_skill2,
32
+ Plugin: () => Plugin16
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin41 = define({
39
+ var Plugin16 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service60;
43
- const discovery = yield* Service11;
42
+ const config = yield* Service54;
43
+ const discovery = yield* Service8;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service78;
47
- const watcher = yield* Service61;
46
+ const location = yield* Service80;
47
+ const watcher = yield* Service55;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin41 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin41, exports_skill3 };
179
+ export { Plugin16, exports_skill2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./git-c4nsn6b8.js";
2
+ ID9
3
+ } from "./git-xrtj00bp.js";
4
4
  import {
5
5
  loadSDKFactory2
6
6
  } from "./git-6q2bdcd1.js";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID12.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID9.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID12.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID9.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -7,15 +7,15 @@ import {
7
7
  import {
8
8
  Service85,
9
9
  node89
10
- } from "./git-zt0d3ekd.js";
10
+ } from "./git-gykybrp3.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./git-dpkg50ah.js";
13
+ } from "./git-y71avatq.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node68
18
- } from "./git-w6zk8pbt.js";
17
+ node66
18
+ } from "./git-4jk0qxj4.js";
19
19
  import {
20
20
  WorkspaceTable2
21
21
  } from "./git-faypxj3z.js";
@@ -27,13 +27,13 @@ import {
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID6,
30
+ ID: () => ID7,
31
31
  Info: () => Info16,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service64,
33
+ Service: () => Service62,
34
34
  Workspace: () => exports_workspace,
35
35
  configured: () => configured10,
36
- node: () => node67
36
+ node: () => node65
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID6 = Workspace.ID;
44
+ var ID7 = Workspace.ID;
45
45
 
46
46
  class Info16 extends Schema.Class("Workspace.Info")({
47
- id: ID6,
47
+ id: ID7,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,24 +52,24 @@ class Info16 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID6 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID6,
59
+ workspaceID: ID7,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service64 extends Context.Service()("@opencode/Workspace") {
65
+ class Service62 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
67
  var configured10 = (options = {}) => makeGlobalNode({
68
- service: Service64,
68
+ service: Service62,
69
69
  layer: layer(options),
70
- deps: [node89, node68]
70
+ deps: [node89, node66]
71
71
  });
72
- var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
72
+ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
73
73
  const db = (yield* Service85).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service64.of({
167
+ return Service62.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID6.create();
169
+ const workspaceID = input.id ?? ID7.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node67 = configured10();
245
+ var node65 = configured10();
246
246
 
247
- export { ID6, Info16, NotFound2, CreateConflict2, Service64, configured10, node67, exports_workspace };
247
+ export { ID7, Info16, NotFound2, CreateConflict2, Service62, configured10, node65, exports_workspace };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  latest2,
3
- Service60
4
- } from "./git-2cahkbfy.js";
3
+ Service54
4
+ } from "./git-eyh1wkb1.js";
5
5
  import {
6
6
  observe2
7
7
  } from "./git-qsdy395h.js";
@@ -13,14 +13,14 @@ import {
13
13
  var exports_websearch2 = {};
14
14
  __export(exports_websearch2, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin46
16
+ Plugin: () => Plugin31
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin46 = define({
20
+ var Plugin31 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service60;
23
+ const config = yield* Service54;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin46 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin46, exports_websearch2 };
35
+ export { Plugin31, exports_websearch2 };
@@ -8,9 +8,9 @@ import {
8
8
  // src/skill/discovery.ts
9
9
  var exports_discovery = {};
10
10
  __export(exports_discovery, {
11
- Service: () => Service11,
11
+ Service: () => Service8,
12
12
  SkillDiscovery: () => exports_discovery,
13
- node: () => node13
13
+ node: () => node10
14
14
  });
15
15
  import path from "path";
16
16
  import { Context, Effect, Layer, Schedule, Schema } from "effect";
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
48
48
  }) {
49
49
  }
50
50
 
51
- class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
51
+ class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
52
52
  }
53
- var layer = Layer.effect(Service11, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
54
54
  const fs = yield* FSUtil.Service;
55
55
  const global = yield* Global.Service;
56
56
  const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
63
63
  return true;
64
64
  return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
65
65
  });
66
- return Service11.of({
66
+ return Service8.of({
67
67
  pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
68
68
  const base = url.endsWith("/") ? url : `${url}/`;
69
69
  const source = new URL(base);
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
150
150
  })
151
151
  });
152
152
  }));
153
- var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
153
+ var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
154
154
 
155
- export { Service11, node13, exports_discovery };
155
+ export { Service8, node10, exports_discovery };
@@ -4,7 +4,7 @@ import {
4
4
  } from "./git-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./git-jx6k168v.js";
7
+ } from "./git-f8kkz21q.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -6,14 +6,14 @@ import {
6
6
  var exports_mcp_codemode_defaults = {};
7
7
  __export(exports_mcp_codemode_defaults, {
8
8
  McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
9
- Plugin: () => Plugin25
9
+ Plugin: () => Plugin43
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
14
  var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
15
15
  var mode = "x-posthog-mcp-mode";
16
- var Plugin25 = define({
16
+ var Plugin43 = define({
17
17
  id: "opencode.mcp.codemode.defaults",
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.mcp.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin25 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin25, exports_mcp_codemode_defaults };
41
+ export { Plugin43, exports_mcp_codemode_defaults };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID7
3
- } from "./git-96k8c7ca.js";
2
+ ID8
3
+ } from "./git-perpg7kn.js";
4
4
 
5
5
  // src/plugin/provider/openrouter.ts
6
6
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  for (const item of models.provider.list()) {
22
22
  if (item.provider.package !== "@opencode/ai/providers/openrouter")
23
23
  continue;
24
- for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
25
25
  if (!models.get(item.provider.id, modelID))
26
26
  continue;
27
27
  models.update(item.provider.id, modelID, (model) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./git-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./git-vpm8vpz0.js";
7
+ } from "./git-48kw51zw.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -4,12 +4,12 @@ import {
4
4
  RelativePath2
5
5
  } from "./git-z5v4ffb3.js";
6
6
  import {
7
- Service63,
8
- node66
9
- } from "./git-00kba7x3.js";
7
+ Service51,
8
+ node54
9
+ } from "./git-n5fp27ar.js";
10
10
  import {
11
- Content2
12
- } from "./git-rr1z7ahj.js";
11
+ Content3
12
+ } from "./git-edc28t1d.js";
13
13
  import {
14
14
  detect2
15
15
  } from "./git-3smtnn6g.js";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content2.fields
92
+ ...Content3.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
331
331
  }
332
332
  };
333
333
  var layer = Layer.effect(Service6, Effect.gen(function* () {
334
- const environment = yield* Service63;
334
+ const environment = yield* Service51;
335
335
  return Service6.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node8 = makeLocationNode({ service: Service6, layer, deps: [node66] });
340
+ var node8 = makeLocationNode({ service: Service6, layer, deps: [node54] });
341
341
 
342
342
  export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service6, read2, node8, exports_read_filesystem };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service60
3
- } from "./git-2cahkbfy.js";
2
+ Service54
3
+ } from "./git-eyh1wkb1.js";
4
4
  import {
5
- Service51
6
- } from "./git-y54hr7f3.js";
5
+ Service52
6
+ } from "./git-f58gpcny.js";
7
7
  import {
8
8
  observe2
9
9
  } from "./git-qsdy395h.js";
@@ -15,15 +15,15 @@ import {
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin39
18
+ Plugin: () => Plugin26
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin39 = define({
22
+ var Plugin26 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service60;
26
- const image = yield* Service51;
25
+ const config = yield* Service54;
26
+ const image = yield* Service52;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin39 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin39, exports_image };
46
+ export { Plugin26, exports_image };