@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,17 +1,17 @@
1
1
  import {
2
2
  Service84
3
- } from "./git-n0freqwz.js";
3
+ } from "./git-4k8e88tr.js";
4
4
  import {
5
- ID18,
6
- Event21,
7
- Service83
8
- } from "./git-8e2wevyg.js";
5
+ ID11,
6
+ Event17,
7
+ Service70
8
+ } from "./git-vrt7w025.js";
9
9
  import {
10
- ID12
11
- } from "./git-c4nsn6b8.js";
10
+ ID9
11
+ } from "./git-xrtj00bp.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./git-c872t358.js";
14
+ } from "./git-x10x1rpr.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service83;
44
+ const credentials = yield* Service70;
45
45
  const bus = yield* Service84;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
51
51
  const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
52
52
  const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
53
53
  const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
54
- const configured = (yield* configuredSettings2(ID12.googleVertex)) ?? {};
54
+ const configured = (yield* configuredSettings2(ID9.googleVertex)) ?? {};
55
55
  const projects = Array.from(new Set([
56
56
  resolveProject(configured),
57
57
  ...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
65
65
  ...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
- const connection = yield* ctx.integration.connection.active(ID12.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
68
+ const connection = yield* ctx.integration.connection.active(ID9.googleVertex);
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID11.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
74
74
  const selected = { settings: yield* load() };
75
75
  const settingsFor = (provider) => ({
76
76
  ...provider.settings,
77
- ...(provider.integrationID ?? provider.id) === ID12.googleVertex ? selected.settings : {}
77
+ ...(provider.integrationID ?? provider.id) === ID9.googleVertex ? selected.settings : {}
78
78
  });
79
79
  yield* ctx.integration.transform((editor) => {
80
80
  editor.method.update({
81
- integrationID: ID12.googleVertex,
81
+ integrationID: ID9.googleVertex,
82
82
  method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
83
83
  });
84
84
  editor.method.update({
85
- integrationID: ID12.googleVertex,
85
+ integrationID: ID9.googleVertex,
86
86
  method: {
87
87
  id: ADC_METHOD,
88
88
  type: "external",
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
120
120
  });
121
121
  yield* ctx.provider.transform((evt) => {
122
122
  for (const item of evt.list()) {
123
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
123
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
124
124
  continue;
125
125
  const settings = settingsFor(item.provider);
126
126
  const project = resolveProject(settings);
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
139
139
  });
140
140
  yield* ctx.model.transform((models) => {
141
141
  for (const item of models.provider.list()) {
142
- if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
142
+ if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID9.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
143
143
  continue;
144
144
  const settings = settingsFor(item.provider);
145
145
  const project = resolveProject(settings);
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
156
156
  }
157
157
  }
158
158
  });
159
- yield* bus.subscribe([Event21.Updated, Event21.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
159
+ yield* bus.subscribe([Event17.Updated, Event17.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
160
160
  const next = yield* load();
161
161
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
162
162
  return;
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AmazonBedrockPlugin2
3
- } from "./git-9rqfv6yv.js";
3
+ } from "./git-t8jxbrbs.js";
4
4
  import {
5
5
  AzurePlugin2
6
- } from "./git-gwcrv1gc.js";
6
+ } from "./git-6jkg52sa.js";
7
7
  import {
8
8
  CerebrasPlugin2
9
9
  } from "./git-wc3fc9cn.js";
10
10
  import {
11
11
  ChatGPTPlugin2
12
- } from "./git-gd01rr9s.js";
12
+ } from "./git-cv9a3evq.js";
13
13
  import {
14
14
  CloudflareAIGatewayPlugin2
15
- } from "./git-fe2th2wh.js";
15
+ } from "./git-6f5t57mb.js";
16
16
  import {
17
17
  CloudflareWorkersAIPlugin2
18
- } from "./git-6ees7pqa.js";
18
+ } from "./git-b40n6ccn.js";
19
19
  import {
20
20
  CoherePlugin2
21
21
  } from "./git-z0bkrqjs.js";
@@ -24,31 +24,31 @@ import {
24
24
  } from "./git-wjj7prxr.js";
25
25
  import {
26
26
  DigitalOceanPlugin2
27
- } from "./git-3md19t04.js";
27
+ } from "./git-0qx6w01s.js";
28
28
  import {
29
29
  DynamicProviderPlugin2
30
30
  } from "./git-5m9w47nd.js";
31
31
  import {
32
32
  GithubCopilotPlugin2
33
- } from "./git-ds58hxpb.js";
33
+ } from "./git-n5acq6xm.js";
34
34
  import {
35
35
  GitLabPlugin2
36
- } from "./git-xq7d7py0.js";
36
+ } from "./git-4yjw5cbc.js";
37
37
  import {
38
38
  GoogleVertexPlugin2
39
- } from "./git-4p6eznaa.js";
39
+ } from "./git-2119y00b.js";
40
40
  import {
41
41
  KiloPlugin2
42
42
  } from "./git-qg3g05ea.js";
43
43
  import {
44
44
  LLMGatewayPlugin2
45
- } from "./git-vkjty8zp.js";
45
+ } from "./git-p8q506w0.js";
46
46
  import {
47
47
  LMStudioPlugin2
48
- } from "./git-y8jmcg8k.js";
48
+ } from "./git-831gmjmg.js";
49
49
  import {
50
50
  ModalPlugin2
51
- } from "./git-7wvrqce5.js";
51
+ } from "./git-jrqabhyb.js";
52
52
  import {
53
53
  NeonPlugin2
54
54
  } from "./git-ve7vex1e.js";
@@ -57,40 +57,40 @@ import {
57
57
  } from "./git-24dcb14g.js";
58
58
  import {
59
59
  OllamaPlugin2
60
- } from "./git-chgyesm2.js";
60
+ } from "./git-dkjqkvp1.js";
61
61
  import {
62
62
  OpenAIPlugin3
63
- } from "./git-9tv8kj20.js";
63
+ } from "./git-67w5jb7s.js";
64
64
  import {
65
65
  SnowflakeCortexPlugin2
66
- } from "./git-8jwr2qnf.js";
66
+ } from "./git-ym80zgz3.js";
67
67
  import {
68
68
  OpencodePlugin2
69
- } from "./git-ct2atp7x.js";
69
+ } from "./git-np1yhkch.js";
70
70
  import {
71
71
  OpenRouterPlugin2
72
- } from "./git-ts0sm5wa.js";
72
+ } from "./git-rmpjc43h.js";
73
73
  import {
74
74
  PerplexityPlugin2
75
75
  } from "./git-veqvce7d.js";
76
76
  import {
77
77
  PoePlugin2
78
- } from "./git-cmqxwqzx.js";
78
+ } from "./git-kpnmq009.js";
79
79
  import {
80
80
  PromptCacheKeyPlugin2
81
81
  } from "./git-hcxmzztb.js";
82
82
  import {
83
83
  SapAICorePlugin2
84
- } from "./git-4q8aq0yj.js";
84
+ } from "./git-qtpe9amp.js";
85
85
  import {
86
86
  VercelPlugin2
87
- } from "./git-9hke9rzz.js";
87
+ } from "./git-bnn5vwpb.js";
88
88
  import {
89
89
  VLLMPlugin2
90
- } from "./git-2z976w7f.js";
90
+ } from "./git-w0ctrm3b.js";
91
91
  import {
92
92
  XAIPlugin2
93
- } from "./git-gjcxsqdv.js";
93
+ } from "./git-8cptq6xk.js";
94
94
  import {
95
95
  ZenmuxPlugin2
96
96
  } from "./git-jjkms2e6.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./git-zt0d3ekd.js";
4
+ } from "./git-gykybrp3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./git-dpkg50ah.js";
7
+ } from "./git-y71avatq.js";
8
8
  import {
9
9
  Service84,
10
10
  node88
11
- } from "./git-n0freqwz.js";
11
+ } from "./git-4k8e88tr.js";
12
12
  import {
13
13
  SessionEvent2
14
14
  } from "./git-ec1grn59.js";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./git-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./git-vpm8vpz0.js";
20
+ } from "./git-48kw51zw.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info10,
35
+ Info: () => Info5,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service55,
40
+ Service: () => Service37,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer21,
48
+ layer: () => layer18,
49
49
  list: () => list3,
50
50
  make: () => make16,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node57,
53
+ node: () => node39,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info10,
68
+ Info as Info5,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,7 +151,7 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service55 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service37 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
156
  var make16 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service85;
@@ -173,7 +173,7 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info10.make({
176
+ }).pipe(Effect.map((event) => Info5.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  time: { created: DateTime.makeUnsafe(event.created) },
@@ -227,8 +227,8 @@ var make16 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer21 = Layer.effect(Service55, make16());
231
- var node57 = makeGlobalNode({ service: Service55, layer: layer21, deps: [node89, node88] });
230
+ var layer18 = Layer.effect(Service37, make16());
231
+ var node39 = makeGlobalNode({ service: Service37, layer: layer18, deps: [node89, node88] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info10, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service55, make16, layer21, node57, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info5, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service37, make16, layer18, node39, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./git-n0freqwz.js";
4
+ } from "./git-4k8e88tr.js";
5
5
  import {
6
- Service78,
7
- node82
8
- } from "./git-5v8fgs5z.js";
6
+ Service80,
7
+ node84
8
+ } from "./git-sam7rjxf.js";
9
9
  import {
10
10
  SessionEvent2
11
11
  } from "./git-ec1grn59.js";
12
12
  import {
13
- Service71,
14
- node75
15
- } from "./git-2052heee.js";
13
+ Service78,
14
+ node82
15
+ } from "./git-g1hadtra.js";
16
16
  import {
17
17
  __export
18
18
  } from "./git-9rqn6x4v.js";
@@ -37,8 +37,8 @@ class Service7 extends Context.Service()("@opencode/SessionInstructions") {
37
37
  var layer = Layer.effect(Service7, Effect.gen(function* () {
38
38
  const bus = yield* Service84;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service71;
41
- const location = yield* Service78;
40
+ const store = yield* Service78;
41
+ const location = yield* Service80;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -98,7 +98,7 @@ function describePath(root, path) {
98
98
  var node9 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node88, FSUtil.node, node82, node75]
101
+ deps: [node88, FSUtil.node, node84, node82]
102
102
  });
103
103
 
104
104
  export { Service7, node9, exports_instructions };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./git-zt0d3ekd.js";
4
+ } from "./git-gykybrp3.js";
5
5
  import {
6
6
  PermissionTable2
7
7
  } from "./git-rert0e01.js";
@@ -13,20 +13,20 @@ import {
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID9,
17
- Info: () => Info18,
16
+ ID: () => ID14,
17
+ Info: () => Info23,
18
18
  ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service70,
21
- node: () => node74
20
+ Service: () => Service77,
21
+ node: () => node81
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID9 = PermissionSaved.ID;
29
- var Info18 = PermissionSaved.Info;
28
+ var ID14 = PermissionSaved.ID;
29
+ var Info23 = PermissionSaved.Info;
30
30
  var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service70 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service77 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service70, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
42
42
  const db = (yield* Service85).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
57
57
  if (!input.resources.length)
58
58
  return;
59
59
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
60
- id: ID9.create(),
60
+ id: ID14.create(),
61
61
  project_id: input.projectID,
62
62
  action: input.action,
63
63
  resource
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
66
66
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
67
67
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
68
68
  });
69
- return Service70.of({ list, add, remove });
69
+ return Service77.of({ list, add, remove });
70
70
  }));
71
- var node74 = makeGlobalNode({ service: Service70, layer, deps: [node89] });
71
+ var node81 = makeGlobalNode({ service: Service77, layer, deps: [node89] });
72
72
 
73
- export { ID9, Info18, ListInput4, AddInput2, Service70, node74, exports_saved };
73
+ export { ID14, Info23, ListInput4, AddInput2, Service77, node81, exports_saved };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  aisdk2
3
- } from "./git-c4nsn6b8.js";
3
+ } from "./git-xrtj00bp.js";
4
4
  import {
5
5
  VariantID2
6
- } from "./git-96k8c7ca.js";
6
+ } from "./git-perpg7kn.js";
7
7
  import {
8
8
  __export
9
9
  } from "./git-9rqn6x4v.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./git-dpkg50ah.js";
3
+ } from "./git-y71avatq.js";
4
4
  import {
5
- Service63,
6
- node66
7
- } from "./git-00kba7x3.js";
5
+ Service51,
6
+ node54
7
+ } from "./git-n5fp27ar.js";
8
8
  import {
9
9
  __export
10
10
  } from "./git-9rqn6x4v.js";
@@ -13,8 +13,8 @@ import {
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service24,
17
- node: () => node27,
16
+ Service: () => Service16,
17
+ node: () => node18,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service24 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service16 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service24, Effect.gen(function* () {
38
- const environment = yield* Service63;
37
+ var layer = Layer.effect(Service16, Effect.gen(function* () {
38
+ const environment = yield* Service51;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service24.of({ withLock, write, writeTextPreservingBom });
59
+ return Service16.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node27 = makeLocationNode({ service: Service24, layer, deps: [node66] });
61
+ var node18 = makeLocationNode({ service: Service16, layer, deps: [node54] });
62
62
 
63
- export { Service24, readText2, syncTextBom2, node27, exports_file_mutation };
63
+ export { Service16, readText2, syncTextBom2, node18, exports_file_mutation };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node60
5
- } from "./git-qpm7s57z.js";
4
+ node43
5
+ } from "./git-9nggydkc.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./git-d2czbp48.js";
9
+ } from "./git-gw7cjrad.js";
10
10
  import {
11
- Service72,
12
- node76
13
- } from "./git-4w5f3qm5.js";
11
+ Service79,
12
+ node83
13
+ } from "./git-a2qe2ev9.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./git-5mnnp3cw.js";
16
+ } from "./git-6q4rff1r.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./git-gayeec0v.js";
19
+ } from "./git-sgth7ws6.js";
20
20
  import {
21
21
  Error3
22
- } from "./git-b6an89mh.js";
22
+ } from "./git-dywg3qh4.js";
23
23
  import {
24
24
  get5
25
25
  } from "./git-54ma36ye.js";
26
26
  import {
27
- Service42,
28
- node45
29
- } from "./git-a09dvcfs.js";
27
+ Service30,
28
+ node34
29
+ } from "./git-z0crbjfj.js";
30
30
  import {
31
- make15
32
- } from "./git-xfkkasph.js";
31
+ make14
32
+ } from "./git-drwq78ky.js";
33
33
  import {
34
34
  toLLMMessages2
35
- } from "./git-xybefm6f.js";
35
+ } from "./git-7zt5x37y.js";
36
36
  import {
37
37
  __export
38
38
  } from "./git-9rqn6x4v.js";
@@ -40,12 +40,12 @@ import {
40
40
  // src/session/model-request.ts
41
41
  var exports_model_request = {};
42
42
  __export(exports_model_request, {
43
- Service: () => Service41,
43
+ Service: () => Service29,
44
44
  SessionModelRequest: () => exports_model_request,
45
45
  baseTranscript: () => baseTranscript2,
46
46
  boundImages: () => boundImages2,
47
- layer: () => layer16,
48
- node: () => node44,
47
+ layer: () => layer14,
48
+ node: () => node33,
49
49
  outputLimit: () => outputLimit2,
50
50
  unsupportedParts: () => unsupportedParts2
51
51
  });
@@ -83,7 +83,7 @@ var baseTranscript2 = (input) => {
83
83
  return {
84
84
  providerMetadataKey,
85
85
  system: [
86
- input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
86
+ input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
87
87
  input.initial
88
88
  ].filter((part) => part.length > 0).map(SystemPart.make),
89
89
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
156
156
  });
157
157
  };
158
158
 
159
- class Service41 extends Context.Service()("@opencode/SessionModelRequest") {
159
+ class Service29 extends Context.Service()("@opencode/SessionModelRequest") {
160
160
  }
161
- var layer16 = Layer.effect(Service41, Effect.gen(function* () {
162
- const hooks = yield* Service72;
163
- const transport = yield* Service42;
161
+ var layer14 = Layer.effect(Service29, Effect.gen(function* () {
162
+ const hooks = yield* Service79;
163
+ const transport = yield* Service30;
164
164
  const app = yield* Metadata2;
165
165
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
166
166
  const session = input.session;
@@ -265,17 +265,17 @@ var layer16 = Layer.effect(Service41, Effect.gen(function* () {
265
265
  };
266
266
  });
267
267
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
268
- return Service41.of({
268
+ return Service29.of({
269
269
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
270
270
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
271
271
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
272
272
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
273
273
  });
274
274
  }));
275
- var node44 = makeLocationNode({
276
- service: Service41,
277
- layer: layer16,
278
- deps: [node76, node45, node60]
275
+ var node33 = makeLocationNode({
276
+ service: Service29,
277
+ layer: layer14,
278
+ deps: [node83, node34, node43]
279
279
  });
280
280
 
281
- export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service41, layer16, node44, exports_model_request };
281
+ export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service29, layer14, node33, exports_model_request };
@@ -9,14 +9,14 @@ import {
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service12,
13
- node: () => node14
12
+ Service: () => Service11,
13
+ node: () => node13
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service11 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service12, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service12.of({
44
+ return Service11.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
51
+ var node13 = makeLocationNode({ service: Service11, layer, deps: [] });
52
52
 
53
- export { Service12, node14, exports_location_watcher_policy };
53
+ export { Service11, node13, exports_location_watcher_policy };