@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,34 +1,34 @@
1
1
  import {
2
- ID11,
3
- Service73
4
- } from "./git-wtk2ksb2.js";
2
+ ID18,
3
+ Service83
4
+ } from "./git-fbzjpc5s.js";
5
5
  import {
6
6
  Ref2,
7
- Service68
8
- } from "./git-96k8c7ca.js";
7
+ Service65
8
+ } from "./git-perpg7kn.js";
9
9
  import {
10
10
  latest2,
11
- Service60
12
- } from "./git-2cahkbfy.js";
11
+ Service54
12
+ } from "./git-eyh1wkb1.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./git-vpm8vpz0.js";
15
+ } from "./git-48kw51zw.js";
16
16
  import {
17
- Service57
18
- } from "./git-4yt2kt0b.js";
17
+ Service53
18
+ } from "./git-7tfmmy5j.js";
19
19
  import {
20
20
  evaluate2,
21
- Service69
22
- } from "./git-5mnnp3cw.js";
21
+ Service76
22
+ } from "./git-6q4rff1r.js";
23
23
  import {
24
- Service31
25
- } from "./git-j9tkb0kk.js";
24
+ Service20
25
+ } from "./git-3cpe3kw7.js";
26
26
  import {
27
27
  NO_TEXT2
28
28
  } from "./git-6xb47vfp.js";
29
29
  import {
30
30
  Service10
31
- } from "./git-ttqw03tt.js";
31
+ } from "./git-aeg33gny.js";
32
32
  import {
33
33
  __export
34
34
  } from "./git-9rqn6x4v.js";
@@ -36,16 +36,16 @@ import {
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input7,
40
- Output: () => Output5,
39
+ Input: () => Input8,
40
+ Output: () => Output6,
41
41
  Plugin: () => Plugin9,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description2,
44
- name: () => name7
43
+ description: () => description3,
44
+ name: () => name8
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name7 = "subagent";
48
+ var name8 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input7 = Schema.Struct({
59
+ var Input8 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input7 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output5 = Schema.Struct({
75
+ var Output6 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description2 = [
80
+ var description3 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -89,12 +89,12 @@ var description2 = [
89
89
  var Plugin9 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service31;
93
- const jobs = yield* Service57;
94
- const agents = yield* Service73;
95
- const config = yield* Service60;
96
- const permission = yield* Service69;
97
- const models = yield* Service68;
92
+ const sessions = yield* Service20;
93
+ const jobs = yield* Service53;
94
+ const agents = yield* Service83;
95
+ const config = yield* Service54;
96
+ const permission = yield* Service76;
97
+ const models = yield* Service65;
98
98
  const subagents = yield* Service10;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
@@ -115,11 +115,11 @@ var Plugin9 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name7,
118
+ name: name8,
119
119
  options: { codemode: false },
120
- description: description2,
121
- input: Input7,
122
- output: Output5,
120
+ description: description3,
121
+ input: Input8,
122
+ output: Output6,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin9 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name7,
142
+ action: name8,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin9 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID11.make(input.agent),
171
+ agent: ID18.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name7 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name8 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name7];
233
+ const tool = event.tools[name8];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name7, Input7, Output5, description2, Plugin9, exports_subagent };
256
+ export { name8, Input8, Output6, description3, Plugin9, exports_subagent };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isCheckpoint2,
3
3
  decode2
4
- } from "./git-d2czbp48.js";
4
+ } from "./git-gw7cjrad.js";
5
5
 
6
6
  // src/session/runner/to-llm-message.ts
7
7
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLocalProviderPlugin2
3
- } from "./git-ssaywjka.js";
3
+ } from "./git-ca80dkkt.js";
4
4
 
5
5
  // src/plugin/provider/lmstudio.ts
6
6
  import { Effect, Schema } from "effect";
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
19
19
  }).pipe(Schema.optional)
20
20
  });
21
21
  var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
22
- var make8 = createLocalProviderPlugin2({
22
+ var make10 = createLocalProviderPlugin2({
23
23
  id: "opencode.provider.lmstudio",
24
24
  providerID: "lmstudio",
25
25
  name: "LM Studio",
@@ -38,6 +38,6 @@ var make8 = createLocalProviderPlugin2({
38
38
  context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
39
39
  })
40
40
  });
41
- var LMStudioPlugin2 = make8();
41
+ var LMStudioPlugin2 = make10();
42
42
 
43
- export { make8, LMStudioPlugin2 };
43
+ export { make10, LMStudioPlugin2 };
@@ -11,18 +11,18 @@ import {
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event12,
14
+ Event: () => Event8,
15
15
  Native: () => Native3,
16
16
  Options: () => Options8,
17
- Service: () => Service61,
17
+ Service: () => Service55,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
20
  configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer25,
22
+ layer: () => layer23,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node64,
25
+ node: () => node58,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event12 = { Updated: FileSystem.Event.Changed };
36
+ var Event8 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -57,14 +57,14 @@ var Options8 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service61 extends Context.Service()("@opencode/Watcher") {
60
+ class Service55 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer25 = (options) => Layer.effect(Service61, Effect.gen(function* () {
65
+ var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service61.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service55.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer25 = (options) => Layer.effect(Service61, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service61.of({ subscribe });
108
+ return Service55.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer25().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service61).subscribe,
134
+ subscribe: Context.get(context, Service55).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service61, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service55, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -165,9 +165,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
167
  function configured9(options) {
168
- return makeGlobalNode({ service: Service61, layer: layer25(options), deps: [nativeNode2] });
168
+ return makeGlobalNode({ service: Service55, layer: layer23(options), deps: [nativeNode2] });
169
169
  }
170
- var node64 = configured9();
170
+ var node58 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event12, hasNativeBinding2, Native3, Options8, Service61, Test3, layer25, testLayer3, nativeLayer2, nativeNode2, configured9, node64, exports_watcher };
190
+ export { Event8, hasNativeBinding2, Native3, Options8, Service55, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured9, node58, exports_watcher };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./git-qpm7s57z.js";
3
+ } from "./git-9nggydkc.js";
4
4
  import {
5
5
  OAuth3,
6
- Service83
7
- } from "./git-8e2wevyg.js";
6
+ Service70
7
+ } from "./git-vrt7w025.js";
8
8
  import {
9
- ID16,
9
+ ID10,
10
10
  MethodID2
11
- } from "./git-y3m021e8.js";
11
+ } from "./git-wyhe0yhr.js";
12
12
  import {
13
- ID12,
13
+ ID9,
14
14
  mergeOverlay2
15
- } from "./git-c4nsn6b8.js";
15
+ } from "./git-xrtj00bp.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID12.make("xai");
27
+ var providerID = ID9.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID16.make("xai"),
47
+ integrationID: ID10.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service83;
73
- yield* Effect.forEach(yield* credentials.list(ID16.make("xai")), (credential) => {
72
+ const credentials = yield* Service70;
73
+ yield* Effect.forEach(yield* credentials.list(ID10.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -2,13 +2,13 @@ import {
2
2
  RelativePath2
3
3
  } from "./git-z5v4ffb3.js";
4
4
  import {
5
- Service78,
6
- node82
7
- } from "./git-5v8fgs5z.js";
5
+ Service80,
6
+ node84
7
+ } from "./git-sam7rjxf.js";
8
8
  import {
9
- Service19,
10
- node22
11
- } from "./git-bv2ny28d.js";
9
+ Service50,
10
+ node53
11
+ } from "./git-yhjwftg3.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
@@ -21,12 +21,12 @@ import {
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options2,
25
- Service: () => Service17,
26
- configured: () => configured2,
24
+ Options: () => Options6,
25
+ Service: () => Service49,
26
+ configured: () => configured7,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer10,
29
- node: () => node19,
28
+ layer: () => layer21,
29
+ node: () => node52,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options2 = Schema.Struct({
38
+ var Options6 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service17 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service49 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
62
- const location = yield* Service78;
63
- const ripgrep = yield* Service19;
61
+ var ripgrepLayer2 = Layer.effect(Service49, Effect.gen(function* () {
62
+ const location = yield* Service80;
63
+ const ripgrep = yield* Service50;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service17.of({
108
+ return Service49.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
116
- const location = yield* Service78;
115
+ var fffLayer2 = Layer.effect(Service49, Effect.gen(function* () {
116
+ const location = yield* Service80;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
119
119
  basePath: location.directory,
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service17.of({
129
+ return Service49.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service17.of({
134
+ return Service49.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer10 = (options) => Layer.unwrap(Effect.gen(function* () {
178
- const location = yield* Service78;
177
+ var layer21 = (options) => Layer.unwrap(Effect.gen(function* () {
178
+ const location = yield* Service80;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
181
181
  if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured2(options) {
186
- return makeLocationNode({ service: Service17, layer: layer10(options), deps: [node82, node22] });
185
+ function configured7(options) {
186
+ return makeLocationNode({ service: Service49, layer: layer21(options), deps: [node84, node53] });
187
187
  }
188
- var node19 = configured2();
188
+ var node52 = configured7();
189
189
 
190
- export { Options2, Service17, ripgrepLayer2, fffLayer2, layer10, configured2, node19, exports_search };
190
+ export { Options6, Service49, ripgrepLayer2, fffLayer2, layer21, configured7, node52, exports_search };
@@ -3,22 +3,22 @@ import {
3
3
  } from "./git-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./git-sz15zhhw.js";
6
+ } from "./git-txm3e8qz.js";
7
7
  import {
8
- Info12
9
- } from "./git-npw39rc8.js";
8
+ Info11
9
+ } from "./git-hcv80w8f.js";
10
10
  import {
11
- Info14
12
- } from "./git-qa3qhgw8.js";
11
+ Info13
12
+ } from "./git-sxz6gkc3.js";
13
13
  import {
14
- Info11
15
- } from "./git-g6yfr6ja.js";
14
+ Info10
15
+ } from "./git-1pxz8ven.js";
16
16
  import {
17
17
  Spec2
18
18
  } from "./git-7dqw4kz8.js";
19
19
  import {
20
- Info15
21
- } from "./git-z6c3x22d.js";
20
+ Info9
21
+ } from "./git-ygdna4kr.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -28,7 +28,7 @@ import {
28
28
  migrateMcp2,
29
29
  migrateProvider2,
30
30
  providerID2
31
- } from "./git-q39cs03p.js";
31
+ } from "./git-hrfjxse0.js";
32
32
  import {
33
33
  __export
34
34
  } from "./git-9rqn6x4v.js";
@@ -98,12 +98,12 @@ function normalize2(input) {
98
98
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
99
99
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
100
100
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
101
- const legacyCommands = decodeMap(input.command, Info14, ["command"], diagnostics, decodeValue);
101
+ const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
102
102
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
103
103
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
104
104
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
105
105
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
106
- const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
+ const legacyAgents = mapValues(decodeMap(input.agent, Info11, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
107
107
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
108
108
  const migratedSmallModel = modelSelection2(legacySmallModel);
109
109
  if (legacySmallModel && !migratedSmallModel)
@@ -117,7 +117,7 @@ function normalize2(input) {
117
117
  model: migratedSmallModel,
118
118
  ...legacyAgents.title
119
119
  };
120
- const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
+ const modeAgents = mapValues(decodeMap(input.mode, Info11, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
121
121
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
122
122
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
123
123
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
219
219
  normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
220
220
  return;
221
221
  }
222
- const server = decodeValue(Info11, value, path, diagnostics);
222
+ const server = decodeValue(Info10, value, path, diagnostics);
223
223
  if (server !== undefined)
224
224
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
225
225
  });
@@ -425,7 +425,7 @@ function migrateProviders(value, diagnostics) {
425
425
  diagnoseProviderUnsupported(raw, path, diagnostics);
426
426
  if (invalidProviderOverlays(raw, path, diagnostics))
427
427
  return [];
428
- const provider = decodeValue(Info15, raw, path, diagnostics);
428
+ const provider = decodeValue(Info9, raw, path, diagnostics);
429
429
  if (provider === undefined)
430
430
  return [];
431
431
  const destination = providerID2(name);
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./git-zt0d3ekd.js";
4
+ } from "./git-gykybrp3.js";
5
5
  import {
6
6
  latestSequence2,
7
7
  Service84,
8
8
  node88
9
- } from "./git-n0freqwz.js";
9
+ } from "./git-4k8e88tr.js";
10
10
  import {
11
11
  llmClient2
12
12
  } from "./git-775gj3j1.js";
@@ -15,15 +15,15 @@ import {
15
15
  } from "./git-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./git-4kvk04s5.js";
18
+ } from "./git-zdkdeprt.js";
19
19
  import {
20
- Service71,
21
- node75
22
- } from "./git-2052heee.js";
20
+ Service78,
21
+ node82
22
+ } from "./git-g1hadtra.js";
23
23
  import {
24
- Service33,
25
- node36
26
- } from "./git-ga0xp5gq.js";
24
+ Service21,
25
+ node24
26
+ } from "./git-xknh7n4g.js";
27
27
  import {
28
28
  record2,
29
29
  add2
@@ -61,8 +61,8 @@ var isUntitled2 = (session) => isExactRootFallback({
61
61
  var layer3 = Layer.effect(Service2, Effect.gen(function* () {
62
62
  const bus = yield* Service84;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service33;
65
- const store = yield* Service71;
64
+ const context = yield* Service21;
65
+ const store = yield* Service78;
66
66
  const db = (yield* Service85).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
@@ -150,7 +150,7 @@ Recent conversation:
150
150
  var node3 = makeLocationNode({
151
151
  service: Service2,
152
152
  layer: layer3,
153
- deps: [node88, llmClient2, node36, node75, node89]
153
+ deps: [node88, llmClient2, node24, node82, node89]
154
154
  });
155
155
 
156
156
  export { Service2, isUntitled2, layer3, node3, exports_title };