@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
@@ -6,7 +6,7 @@ import {
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make23,
9
+ make: () => make22,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make23 = () => Effect.sync(makeUnsafe2);
29
+ var make22 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make23, exports_keyed_mutex };
31
+ export { makeUnsafe2, make22, exports_keyed_mutex };
@@ -9,7 +9,7 @@ import {
9
9
  var exports_provider2 = {};
10
10
  __export(exports_provider2, {
11
11
  ConfigProviderV1: () => exports_provider2,
12
- Info: () => Info15,
12
+ Info: () => Info9,
13
13
  Model: () => Model2,
14
14
  ModelStatus: () => ModelStatus2
15
15
  });
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
61
61
  disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
62
62
  }), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
63
63
  });
64
- var Info15 = Schema.Struct({
64
+ var Info9 = Schema.Struct({
65
65
  api: Schema.optional(Schema.String),
66
66
  name: Schema.optional(Schema.String),
67
67
  env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
@@ -95,4 +95,4 @@ var Info15 = Schema.Struct({
95
95
  models: Schema.optional(Schema.Record(Schema.String, Model2))
96
96
  }).annotate({ identifier: "ProviderConfig" });
97
97
 
98
- export { ModelStatus2, Model2, Info15, exports_provider2 };
98
+ export { ModelStatus2, Model2, Info9, exports_provider2 };
@@ -4,9 +4,9 @@ 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
11
  RipgrepBinary2
12
12
  } from "./git-maspj1v3.js";
@@ -17,11 +17,11 @@ import {
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error2,
20
+ Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service19,
24
- node: () => node22
23
+ Service: () => Service50,
24
+ node: () => node53
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service19 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service50 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error2({ message, cause });
63
+ var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service19, Effect.gen(function* () {
67
- const environment = yield* Service63;
66
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
67
+ const environment = yield* Service51;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service19.of({
95
+ return Service50.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node22 = makeLocationNode({ service: Service19, layer, deps: [node66, RipgrepBinary2.node] });
178
+ var node53 = makeLocationNode({ service: Service50, layer, deps: [node54, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service19, node22, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service50, node53, exports_ripgrep };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./git-qpm7s57z.js";
3
+ } from "./git-9nggydkc.js";
4
4
  import {
5
5
  Service84
6
- } from "./git-n0freqwz.js";
6
+ } from "./git-4k8e88tr.js";
7
7
  import {
8
8
  OAuth3,
9
- Event21,
10
- Service83
11
- } from "./git-8e2wevyg.js";
9
+ Event17,
10
+ Service70
11
+ } from "./git-vrt7w025.js";
12
12
  import {
13
- ID16,
13
+ ID10,
14
14
  MethodID2,
15
- Service81
16
- } from "./git-y3m021e8.js";
15
+ Service69
16
+ } from "./git-wyhe0yhr.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
20
  } from "./git-pjvnvgmy.js";
21
21
  import {
22
- ID12
23
- } from "./git-c4nsn6b8.js";
22
+ ID9
23
+ } from "./git-xrtj00bp.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./git-c872t358.js";
26
+ } from "./git-x10x1rpr.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
33
- var providerID = ID12.make("snowflake-cortex");
34
- var integrationID = ID16.make(providerID);
33
+ var providerID = ID9.make("snowflake-cortex");
34
+ var integrationID = ID10.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service83;
57
- const integrations = yield* Service81;
56
+ const credentials = yield* Service70;
57
+ const integrations = yield* Service69;
58
58
  const bus = yield* Service84;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
@@ -186,7 +186,7 @@ var SnowflakeCortexPlugin2 = define({
186
186
  });
187
187
  }
188
188
  });
189
- yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
189
+ yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
190
190
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
191
191
  const token = envToken();
192
192
  if (token)
@@ -6,10 +6,10 @@ import {
6
6
  } from "./git-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp = {};
10
- __export(exports_mcp, {
9
+ var exports_mcp2 = {};
10
+ __export(exports_mcp2, {
11
11
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
- WebSearchMcp: () => exports_mcp,
12
+ WebSearchMcp: () => exports_mcp2,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
@@ -8,11 +8,11 @@ import {
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service42,
11
+ Service: () => Service30,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer17,
13
+ layer: () => layer15,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node45
15
+ node: () => node34
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service42 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service30 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service42, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service30, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service42, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service42.of({ bind, close, closeAll });
370
+ return Service30.of({ bind, close, closeAll });
371
371
  }));
372
- var layer17 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node45 = makeGlobalNode({ service: Service42, layer: layer17, deps: [webSocketConstructor2] });
375
+ var node34 = makeGlobalNode({ service: Service30, layer: layer15, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service42, makeLayer2, layer17, node45, exports_model_transport };
377
+ export { Service30, makeLayer2, layer15, node34, exports_model_transport };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./git-zt0d3ekd.js";
4
+ } from "./git-gykybrp3.js";
5
5
  import {
6
6
  Service84,
7
7
  node88
8
- } from "./git-n0freqwz.js";
8
+ } from "./git-4k8e88tr.js";
9
9
  import {
10
10
  SessionMessage2
11
11
  } from "./git-gftt206x.js";
12
12
  import {
13
13
  StepFailedError2
14
- } from "./git-aj2sbhs3.js";
14
+ } from "./git-zk35yz24.js";
15
15
  import {
16
16
  SessionEvent2
17
17
  } from "./git-ec1grn59.js";
@@ -20,77 +20,77 @@ import {
20
20
  } from "./git-c1fqxshp.js";
21
21
  import {
22
22
  prepare4
23
- } from "./git-hkffa77z.js";
23
+ } from "./git-wg81ww38.js";
24
24
  import {
25
25
  provenance2
26
- } from "./git-d2czbp48.js";
26
+ } from "./git-gw7cjrad.js";
27
27
  import {
28
28
  decodeMessageRow2,
29
29
  preview2
30
- } from "./git-4kvk04s5.js";
30
+ } from "./git-zdkdeprt.js";
31
31
  import {
32
- Service71,
33
- node75
34
- } from "./git-2052heee.js";
32
+ Service78,
33
+ node82
34
+ } from "./git-g1hadtra.js";
35
35
  import {
36
- Service26,
37
- node29
38
- } from "./git-0qymy61s.js";
36
+ Service72,
37
+ node76
38
+ } from "./git-na5v7rrw.js";
39
39
  import {
40
40
  llmClient2
41
41
  } from "./git-775gj3j1.js";
42
42
  import {
43
- Service42,
44
- node45
45
- } from "./git-a09dvcfs.js";
43
+ Service30,
44
+ node34
45
+ } from "./git-z0crbjfj.js";
46
46
  import {
47
47
  baseTranscript2
48
- } from "./git-5te1apv5.js";
48
+ } from "./git-2qsqy3dj.js";
49
49
  import {
50
- make9
51
- } from "./git-scgrse2b.js";
50
+ make5
51
+ } from "./git-zyk1yjk8.js";
52
52
  import {
53
53
  toSessionError2
54
- } from "./git-svvm20fx.js";
54
+ } from "./git-nb5p96ve.js";
55
55
  import {
56
56
  Service9,
57
57
  node11,
58
58
  estimatePrompt2
59
- } from "./git-2tj3byjt.js";
59
+ } from "./git-z64re3f0.js";
60
60
  import {
61
- Service33,
62
- node36
63
- } from "./git-ga0xp5gq.js";
61
+ Service21,
62
+ node24
63
+ } from "./git-xknh7n4g.js";
64
64
  import {
65
65
  serialized2,
66
66
  nextPromotable2,
67
67
  promote2
68
- } from "./git-zvm05j0q.js";
68
+ } from "./git-266m7yvg.js";
69
69
  import {
70
70
  Service2,
71
71
  isUntitled2,
72
72
  node3
73
- } from "./git-m9pkn1rm.js";
73
+ } from "./git-8rta2mgv.js";
74
74
  import {
75
75
  DrainResult2,
76
- Service53
77
- } from "./git-ttqh24zm.js";
76
+ Service35
77
+ } from "./git-tz4n1mmd.js";
78
78
  import {
79
- node81
80
- } from "./git-chhj7fee.js";
79
+ node36
80
+ } from "./git-kzp420br.js";
81
81
  import {
82
- node61
83
- } from "./git-f78dsz6n.js";
82
+ node63
83
+ } from "./git-bdpzzc2x.js";
84
84
  import {
85
85
  Outcome2,
86
86
  make3
87
- } from "./git-4gw7zdme.js";
87
+ } from "./git-5ycn1s57.js";
88
88
  import {
89
- Service40
90
- } from "./git-f81tjggh.js";
89
+ Service32
90
+ } from "./git-9sh4wc5j.js";
91
91
  import {
92
- node20
93
- } from "./git-bcys5w9d.js";
92
+ node19
93
+ } from "./git-3hyqebky.js";
94
94
  import {
95
95
  MAX_STEPS_PROMPT2
96
96
  } from "./git-y44na4kk.js";
@@ -110,15 +110,15 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
110
110
  import { makeLocationNode } from "@opencode/util/effect/app-node";
111
111
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
112
112
  var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
113
- var layer = Layer.effect(Service53, Effect.gen(function* () {
113
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
114
114
  const bus = yield* Service84;
115
- const lifecycle = yield* Service26;
116
- const store = yield* Service71;
117
- const context = yield* Service33;
118
- const modelTransport = yield* Service42;
115
+ const lifecycle = yield* Service72;
116
+ const store = yield* Service78;
117
+ const context = yield* Service21;
118
+ const modelTransport = yield* Service30;
119
119
  const db = (yield* Service85).db;
120
120
  const compaction = yield* Service9;
121
- const plugins = yield* Service40;
121
+ const plugins = yield* Service32;
122
122
  const title = yield* Service2;
123
123
  const steps = yield* make3;
124
124
  const titles = yield* FiberMap.make();
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
241
241
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
242
242
  const sessionID = first.session.id;
243
243
  let assistantMessageID = SessionMessage2.ID.create();
244
- const retry = yield* make9(bus, sessionID);
244
+ const retry = yield* make5(bus, sessionID);
245
245
  let initial = first;
246
246
  let recoverOverflow = true;
247
247
  let recoverContinuation = true;
@@ -373,23 +373,23 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
373
373
  }
374
374
  }
375
375
  });
376
- return Service53.of({ drain });
376
+ return Service35.of({ drain });
377
377
  }));
378
378
  var node2 = makeLocationNode({
379
- service: Service53,
379
+ service: Service35,
380
380
  layer,
381
381
  deps: [
382
382
  node88,
383
- node29,
383
+ node76,
384
384
  llmClient2,
385
- node36,
386
- node45,
387
- node75,
385
+ node24,
386
+ node34,
387
+ node82,
388
388
  node11,
389
- node20,
389
+ node19,
390
390
  node3,
391
- node81,
392
- node61,
391
+ node36,
392
+ node63,
393
393
  node89
394
394
  ]
395
395
  });
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./git-zt0d3ekd.js";
4
+ } from "./git-gykybrp3.js";
5
5
  import {
6
6
  Service84,
7
7
  node88
8
- } from "./git-n0freqwz.js";
8
+ } from "./git-4k8e88tr.js";
9
9
  import {
10
10
  create3
11
11
  } from "./git-rdw6cm16.js";
12
12
  import {
13
- ID11,
14
- Service73,
15
- node77
16
- } from "./git-wtk2ksb2.js";
13
+ ID18,
14
+ Service83,
15
+ node87
16
+ } from "./git-fbzjpc5s.js";
17
17
  import {
18
18
  llmClient2
19
19
  } from "./git-775gj3j1.js";
20
20
  import {
21
- Service68,
22
- node72
23
- } from "./git-96k8c7ca.js";
21
+ Service65,
22
+ node69
23
+ } from "./git-perpg7kn.js";
24
24
  import {
25
25
  estimate2
26
26
  } from "./git-h6vf3j39.js";
@@ -32,33 +32,33 @@ import {
32
32
  compatible2,
33
33
  isCheckpoint2,
34
34
  encode2
35
- } from "./git-d2czbp48.js";
35
+ } from "./git-gw7cjrad.js";
36
36
  import {
37
37
  load5
38
- } from "./git-4kvk04s5.js";
38
+ } from "./git-zdkdeprt.js";
39
39
  import {
40
40
  toLLMMessages2
41
- } from "./git-xybefm6f.js";
41
+ } from "./git-7zt5x37y.js";
42
42
  import {
43
43
  outputLimit2,
44
44
  baseTranscript2,
45
45
  unsupportedParts2,
46
46
  boundImages2,
47
- Service41,
48
- node44
49
- } from "./git-5te1apv5.js";
47
+ Service29,
48
+ node33
49
+ } from "./git-2qsqy3dj.js";
50
50
  import {
51
- Service56,
52
- node58
53
- } from "./git-kftjr2e3.js";
51
+ Service38,
52
+ node40
53
+ } from "./git-wqz4eby1.js";
54
54
  import {
55
55
  isRetryable2,
56
56
  policy2
57
- } from "./git-scgrse2b.js";
57
+ } from "./git-zyk1yjk8.js";
58
58
  import {
59
59
  toSessionError2,
60
60
  contentFilterError2
61
- } from "./git-svvm20fx.js";
61
+ } from "./git-nb5p96ve.js";
62
62
  import {
63
63
  calculateCost2,
64
64
  record2,
@@ -76,7 +76,7 @@ __export(exports_compaction2, {
76
76
  buildPrompt: () => buildPrompt2,
77
77
  estimateContext: () => estimateContext2,
78
78
  estimatePrompt: () => estimatePrompt2,
79
- layer: () => layer7,
79
+ layer: () => layer6,
80
80
  node: () => node11,
81
81
  recentUserMessages: () => recentUserMessages2
82
82
  });
@@ -172,14 +172,14 @@ var buildPrompt2 = (update, legacy = false) => {
172
172
  };
173
173
  var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
174
174
  var LEGACY_HEADING = "## Additional Context";
175
- var layer7 = Layer.effect(Service9, Effect.gen(function* () {
176
- const agents = yield* Service73;
175
+ var layer6 = Layer.effect(Service9, Effect.gen(function* () {
176
+ const agents = yield* Service83;
177
177
  const bus = yield* Service84;
178
178
  const llm = yield* LLMClient.Service;
179
- const catalog = yield* Service68;
180
- const models = yield* Service56;
179
+ const catalog = yield* Service65;
180
+ const models = yield* Service38;
181
181
  const db = (yield* Service85).db;
182
- const requests = yield* Service41;
182
+ const requests = yield* Service29;
183
183
  const state = create3({
184
184
  name: "session-compaction",
185
185
  initial: () => ({ auto: true, keep: 15000 }),
@@ -197,7 +197,7 @@ var layer7 = Layer.effect(Service9, Effect.gen(function* () {
197
197
  if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
198
198
  return { status: "skipped" };
199
199
  const native = context.model.compaction?.type === "native";
200
- const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
200
+ const agent = native ? undefined : yield* agents.get(ID18.make("compaction"));
201
201
  const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
202
202
  return;
203
203
  })))) ?? context.model;
@@ -481,8 +481,8 @@ ${text}`;
481
481
  }));
482
482
  var node11 = makeLocationNode({
483
483
  service: Service9,
484
- layer: layer7,
485
- deps: [node77, node88, node89, llmClient2, node72, node44, node58]
484
+ layer: layer6,
485
+ deps: [node87, node88, node89, llmClient2, node69, node33, node40]
486
486
  });
487
487
  var previousCompaction = (messages) => {
488
488
  const [first] = messages;
@@ -696,4 +696,4 @@ var estimateMedia = (mime) => {
696
696
  return 0;
697
697
  };
698
698
 
699
- export { Service9, buildPrompt2, layer7, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
699
+ export { Service9, buildPrompt2, layer6, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
@@ -3,26 +3,26 @@ import {
3
3
  } from "./git-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./git-vpm8vpz0.js";
6
+ } from "./git-48kw51zw.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./git-aj2sbhs3.js";
9
+ } from "./git-zk35yz24.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./git-s8d7rejh.js";
13
+ } from "./git-eaj1djv9.js";
14
14
  import {
15
15
  SessionMessageTable2
16
16
  } from "./git-c1fqxshp.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./git-hkffa77z.js";
20
+ } from "./git-wg81ww38.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./git-d2czbp48.js";
25
+ } from "./git-gw7cjrad.js";
26
26
  import {
27
27
  __export
28
28
  } from "./git-9rqn6x4v.js";