@opencode/core 0.0.0-dev-20240 → 0.0.0-dev-20248

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{filesystem-85j366jc.js → repository-cache-058qq49r.js} +24 -24
  8. package/dist/chunks/{filesystem-h46f4tx0.js → repository-cache-078rgkvc.js} +6 -6
  9. package/dist/chunks/{filesystem-2x1f9zwj.js → repository-cache-07vj3bh8.js} +29 -29
  10. package/dist/chunks/{filesystem-rd8q201w.js → repository-cache-08cc3crx.js} +12 -12
  11. package/dist/chunks/{filesystem-n33rgabk.js → repository-cache-097j89tx.js} +39 -39
  12. package/dist/chunks/{filesystem-09fmdqc3.js → repository-cache-0988adk2.js} +5 -5
  13. package/dist/chunks/{filesystem-pecb0brz.js → repository-cache-0f9afca0.js} +5 -5
  14. package/dist/chunks/{filesystem-2w4eq4pf.js → repository-cache-0nqfdzfg.js} +11 -11
  15. package/dist/chunks/{filesystem-0paq2nw3.js → repository-cache-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{filesystem-r56fmryn.js → repository-cache-0qm7vwzr.js} +3 -3
  17. package/dist/chunks/{filesystem-fzts1kpm.js → repository-cache-0thxwbsq.js} +10 -10
  18. package/dist/chunks/{filesystem-jkcp7byf.js → repository-cache-0vvxryhs.js} +20 -20
  19. package/dist/chunks/{filesystem-sh2daxqk.js → repository-cache-0xpxvgpn.js} +9 -9
  20. package/dist/chunks/{filesystem-grdteyps.js → repository-cache-11jdz1a5.js} +8 -8
  21. package/dist/chunks/{filesystem-fhd6f79b.js → repository-cache-13zjnhww.js} +15 -15
  22. package/dist/chunks/{filesystem-akdn9jnb.js → repository-cache-19jrchnq.js} +9 -9
  23. package/dist/chunks/{filesystem-f2n192rq.js → repository-cache-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{filesystem-1dazxqgg.js → repository-cache-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{filesystem-4ev5vm6j.js → repository-cache-1e3wa6g2.js} +3 -3
  26. package/dist/chunks/{filesystem-hd23g7nz.js → repository-cache-1jrf61rm.js} +6 -6
  27. package/dist/chunks/{filesystem-vn0yq8gz.js → repository-cache-1qksrx13.js} +115 -115
  28. package/dist/chunks/{filesystem-y1vpz5e6.js → repository-cache-1v8zdmks.js} +25 -25
  29. package/dist/chunks/{filesystem-21r38tys.js → repository-cache-21r38tys.js} +1 -1
  30. package/dist/chunks/{filesystem-f2515zf3.js → repository-cache-23hratnr.js} +11 -11
  31. package/dist/chunks/{filesystem-erxx58th.js → repository-cache-292dnxcy.js} +11 -11
  32. package/dist/chunks/{filesystem-hrpet7xn.js → repository-cache-29kpjvxb.js} +11 -11
  33. package/dist/chunks/{filesystem-2a5m3afh.js → repository-cache-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{filesystem-2cmv458r.js → repository-cache-2cmv458r.js} +5 -5
  35. package/dist/chunks/{filesystem-9g8aqzdg.js → repository-cache-2fem29gc.js} +23 -23
  36. package/dist/chunks/{filesystem-esafk7q3.js → repository-cache-2k8khapm.js} +5 -5
  37. package/dist/chunks/{filesystem-8zqs9j7p.js → repository-cache-2q54vq3t.js} +11 -11
  38. package/dist/chunks/{filesystem-cf01cagz.js → repository-cache-32ymn5e1.js} +6 -6
  39. package/dist/chunks/{filesystem-1ygqh575.js → repository-cache-33w4ejhs.js} +6 -6
  40. package/dist/chunks/{filesystem-xdh9m6e8.js → repository-cache-36z7zph9.js} +14 -14
  41. package/dist/chunks/{filesystem-3fc6dm20.js → repository-cache-3fc6dm20.js} +1 -1
  42. package/dist/chunks/{filesystem-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
  43. package/dist/chunks/{filesystem-z4gv22m1.js → repository-cache-3k4dry0a.js} +5 -5
  44. package/dist/chunks/{filesystem-t9636gx1.js → repository-cache-3sdjj4an.js} +16 -16
  45. package/dist/chunks/{filesystem-3smtnn6g.js → repository-cache-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{filesystem-3tvqynh2.js → repository-cache-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{filesystem-3zsf4n22.js → repository-cache-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{filesystem-fp2xarvc.js → repository-cache-427t97hr.js} +1 -1
  49. package/dist/chunks/{filesystem-xm3bqwwb.js → repository-cache-4a2epabq.js} +4 -4
  50. package/dist/chunks/{filesystem-4dgbcxzg.js → repository-cache-4dgbcxzg.js} +1 -1
  51. package/dist/chunks/{filesystem-3f9dn8j5.js → repository-cache-4e1ama98.js} +1 -1
  52. package/dist/chunks/{filesystem-m8xa9e63.js → repository-cache-4jaemszs.js} +1 -1
  53. package/dist/chunks/{filesystem-mxn40ybh.js → repository-cache-4jemq3kp.js} +16 -16
  54. package/dist/chunks/{filesystem-j5208yae.js → repository-cache-4jv7e9dq.js} +9 -9
  55. package/dist/chunks/{filesystem-hjj02mgg.js → repository-cache-4t3er74t.js} +39 -39
  56. package/dist/chunks/{filesystem-m7fy2dv4.js → repository-cache-4t56bhmg.js} +12 -12
  57. package/dist/chunks/{filesystem-zcsbmsrf.js → repository-cache-4vekh9c8.js} +5 -5
  58. package/dist/chunks/{filesystem-h32wa76p.js → repository-cache-51rgksg0.js} +288 -288
  59. package/dist/chunks/{filesystem-57ez7d0k.js → repository-cache-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{filesystem-5daktx2q.js → repository-cache-5daktx2q.js} +1 -1
  61. package/dist/chunks/{filesystem-f9231ptw.js → repository-cache-5nh1jpgd.js} +28 -28
  62. package/dist/chunks/{filesystem-7btysaay.js → repository-cache-5nsxsham.js} +1 -1
  63. package/dist/chunks/{filesystem-5t3nmthw.js → repository-cache-5t3nmthw.js} +2 -2
  64. package/dist/chunks/{filesystem-95svx96e.js → repository-cache-5x0bqqwq.js} +3 -3
  65. package/dist/chunks/{filesystem-669tq793.js → repository-cache-669tq793.js} +1 -1
  66. package/dist/chunks/{filesystem-3a6re68j.js → repository-cache-6anwy9fs.js} +6 -6
  67. package/dist/chunks/{filesystem-6msgmcgs.js → repository-cache-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{filesystem-0br3sbwn.js → repository-cache-6rm5yzkt.js} +4 -4
  69. package/dist/chunks/{filesystem-80023xb3.js → repository-cache-6vjypkf7.js} +24 -24
  70. package/dist/chunks/{filesystem-73tb2d7t.js → repository-cache-73tb2d7t.js} +1 -1
  71. package/dist/chunks/{filesystem-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
  72. package/dist/chunks/{filesystem-ff7x310r.js → repository-cache-7c5r8mwm.js} +22 -22
  73. package/dist/chunks/{filesystem-7bgd9sa5.js → repository-cache-7jr3mcnt.js} +31 -31
  74. package/dist/chunks/{filesystem-bw0ym531.js → repository-cache-7rwbexbt.js} +4 -4
  75. package/dist/chunks/{filesystem-8q7cq0y1.js → repository-cache-7w99qc9d.js} +3 -3
  76. package/dist/chunks/{filesystem-8e5zyrwm.js → repository-cache-7x0c6mmr.js} +6 -6
  77. package/dist/chunks/{filesystem-2at83sxs.js → repository-cache-81vvr7wj.js} +70 -70
  78. package/dist/chunks/{filesystem-mh9gscew.js → repository-cache-87f3zbh4.js} +4 -4
  79. package/dist/chunks/{filesystem-g344s1sv.js → repository-cache-88bzbqnm.js} +13 -13
  80. package/dist/chunks/{filesystem-8r56x03s.js → repository-cache-88rp6a5n.js} +24 -24
  81. package/dist/chunks/{filesystem-8d7r5vzw.js → repository-cache-8d7r5vzw.js} +1 -1
  82. package/dist/chunks/{filesystem-a4ym3kq6.js → repository-cache-8mzhkqz2.js} +26 -26
  83. package/dist/chunks/{filesystem-7zpeh0yx.js → repository-cache-8qvzptz7.js} +4 -4
  84. package/dist/chunks/{filesystem-vmepscws.js → repository-cache-91aa3a25.js} +16 -16
  85. package/dist/chunks/{filesystem-fp8ek5zt.js → repository-cache-91nb1jqk.js} +32 -32
  86. package/dist/chunks/{filesystem-94ek1h2f.js → repository-cache-94ek1h2f.js} +2 -2
  87. package/dist/chunks/{filesystem-2arffnsn.js → repository-cache-9609hank.js} +2 -2
  88. package/dist/chunks/{filesystem-enhz8yge.js → repository-cache-9brpyp0y.js} +5 -5
  89. package/dist/chunks/{filesystem-n1rz67ba.js → repository-cache-9hy0f780.js} +48 -48
  90. package/dist/chunks/repository-cache-9s8z1thm.js +26 -0
  91. package/dist/chunks/repository-cache-9sh4wc5j.js +18 -0
  92. package/dist/chunks/{filesystem-fqftz3yh.js → repository-cache-9t1gynrw.js} +30 -30
  93. package/dist/chunks/{filesystem-dqfphc03.js → repository-cache-9y7gjzcp.js} +9 -9
  94. package/dist/chunks/{filesystem-9jgr38p9.js → repository-cache-a4ns85mx.js} +20 -20
  95. package/dist/chunks/{filesystem-z29005y7.js → repository-cache-a910jp2g.js} +15 -15
  96. package/dist/chunks/{filesystem-dh864dnf.js → repository-cache-aa27w7jm.js} +11 -11
  97. package/dist/chunks/{filesystem-72b58gz1.js → repository-cache-aabh3rnp.js} +10 -10
  98. package/dist/chunks/{filesystem-aaet6srn.js → repository-cache-aaet6srn.js} +2 -2
  99. package/dist/chunks/{filesystem-cht1zc30.js → repository-cache-abeafk4b.js} +7 -7
  100. package/dist/chunks/{filesystem-afed7ext.js → repository-cache-afed7ext.js} +5 -5
  101. package/dist/chunks/{filesystem-7b1f8sqc.js → repository-cache-affanax3.js} +26 -26
  102. package/dist/chunks/{filesystem-0w7xa6ee.js → repository-cache-aj81xsja.js} +24 -24
  103. package/dist/chunks/{filesystem-44mxtx8s.js → repository-cache-asmhed6t.js} +8 -8
  104. package/dist/chunks/{filesystem-b6gygkdw.js → repository-cache-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{filesystem-cd22b0cq.js → repository-cache-b7xasgp7.js} +30 -30
  106. package/dist/chunks/{filesystem-wjeg1wsf.js → repository-cache-b8286ec0.js} +8 -8
  107. package/dist/chunks/{filesystem-jdc9aac8.js → repository-cache-bkyxyg8h.js} +23 -23
  108. package/dist/chunks/{filesystem-a48f9ws0.js → repository-cache-bqedhbkq.js} +6 -6
  109. package/dist/chunks/{filesystem-wy048fd6.js → repository-cache-bqrz9ag7.js} +15 -15
  110. package/dist/chunks/{filesystem-tks0bnq5.js → repository-cache-bvpkk3q2.js} +3 -3
  111. package/dist/chunks/{filesystem-228pzppe.js → repository-cache-bw43118n.js} +24 -24
  112. package/dist/chunks/{filesystem-f2sgpmsp.js → repository-cache-by47bvwa.js} +13 -13
  113. package/dist/chunks/{filesystem-0yevmncv.js → repository-cache-bzgzbtys.js} +10 -10
  114. package/dist/chunks/{filesystem-1y3mx57g.js → repository-cache-c1y3bnfr.js} +17 -17
  115. package/dist/chunks/{filesystem-0mh2q183.js → repository-cache-c5yp82fd.js} +16 -16
  116. package/dist/chunks/{filesystem-qzz1k0t8.js → repository-cache-c8fx5zam.js} +7 -7
  117. package/dist/chunks/{filesystem-fbzhwgzx.js → repository-cache-c9xaha6y.js} +12 -12
  118. package/dist/chunks/{filesystem-61126d0d.js → repository-cache-cafc3hsg.js} +12 -12
  119. package/dist/chunks/{filesystem-5e7rf9zs.js → repository-cache-cd4qqjqw.js} +31 -31
  120. package/dist/chunks/{filesystem-ckecvw8r.js → repository-cache-ckecvw8r.js} +2 -2
  121. package/dist/chunks/{filesystem-7601emta.js → repository-cache-cn13n8vv.js} +14 -14
  122. package/dist/chunks/{filesystem-2sejkfem.js → repository-cache-cwa6csj7.js} +9 -9
  123. package/dist/chunks/{filesystem-0hhvd48t.js → repository-cache-cwvtaad0.js} +8 -8
  124. package/dist/chunks/{filesystem-13n5q7dt.js → repository-cache-db9rkawd.js} +19 -19
  125. package/dist/chunks/{filesystem-c2zxq3ay.js → repository-cache-dgfhv2ra.js} +10 -10
  126. package/dist/chunks/{filesystem-n1mk886p.js → repository-cache-dn7htzk3.js} +8 -8
  127. package/dist/chunks/{filesystem-2336b01z.js → repository-cache-dpahde6h.js} +8 -8
  128. package/dist/chunks/{filesystem-p3192dp6.js → repository-cache-dqw8sfxx.js} +2 -2
  129. package/dist/chunks/{filesystem-n8zx0qm6.js → repository-cache-ds2pk4bj.js} +33 -33
  130. package/dist/chunks/{filesystem-nta5r5g3.js → repository-cache-dtnqh7xf.js} +13 -8
  131. package/dist/chunks/{filesystem-p37cw4rj.js → repository-cache-dv1qgsyq.js} +6 -6
  132. package/dist/chunks/{filesystem-6b713qfj.js → repository-cache-dzk760wa.js} +3 -3
  133. package/dist/chunks/{filesystem-m70sbz6t.js → repository-cache-e2hjzebn.js} +4 -4
  134. package/dist/chunks/{filesystem-mv22x3wf.js → repository-cache-e3k6knef.js} +10 -10
  135. package/dist/chunks/{filesystem-32jxf96r.js → repository-cache-e6zyer8f.js} +7 -7
  136. package/dist/chunks/{filesystem-cj5wqxwp.js → repository-cache-ea3ghczx.js} +18 -18
  137. package/dist/chunks/{filesystem-ecfe7b91.js → repository-cache-ecfe7b91.js} +2 -2
  138. package/dist/chunks/{filesystem-8n69n882.js → repository-cache-eeaf82dq.js} +8 -8
  139. package/dist/chunks/{filesystem-ef5x83kb.js → repository-cache-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{filesystem-j5w2yx54.js → repository-cache-eqkxs06z.js} +6 -6
  141. package/dist/chunks/{filesystem-etq0c3wd.js → repository-cache-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{filesystem-1p1fqfpr.js → repository-cache-ev9gp3cm.js} +11 -11
  143. package/dist/chunks/{filesystem-drvrjmpp.js → repository-cache-eyj2vfft.js} +6 -6
  144. package/dist/chunks/{filesystem-6vvbwd4g.js → repository-cache-f01042q8.js} +48 -48
  145. package/dist/chunks/{filesystem-x2qdxhwm.js → repository-cache-f7rj482f.js} +8 -8
  146. package/dist/chunks/{filesystem-6nczgvap.js → repository-cache-f8akmggk.js} +22 -22
  147. package/dist/chunks/{filesystem-mkdy6qkj.js → repository-cache-fj1n3k37.js} +9 -9
  148. package/dist/chunks/{filesystem-47syppsm.js → repository-cache-fnyn8exm.js} +24 -24
  149. package/dist/chunks/{filesystem-gfhtznv3.js → repository-cache-ftyydgn8.js} +9 -9
  150. package/dist/chunks/{filesystem-9sdebhyw.js → repository-cache-fy93ygep.js} +5 -5
  151. package/dist/chunks/{filesystem-xvp1j2dc.js → repository-cache-g5agzp2h.js} +5 -5
  152. package/dist/chunks/{filesystem-hbmgyr7d.js → repository-cache-g5wjn8h2.js} +4 -4
  153. package/dist/chunks/{filesystem-nd0783xw.js → repository-cache-g9by7d7e.js} +14 -14
  154. package/dist/chunks/{filesystem-m7kdp6gf.js → repository-cache-g9tjzdrf.js} +3 -3
  155. package/dist/chunks/{filesystem-gd4qta3r.js → repository-cache-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{filesystem-6pmqbm9x.js → repository-cache-gqf2e7w5.js} +13 -13
  157. package/dist/chunks/{filesystem-gv6a8nnw.js → repository-cache-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{filesystem-hy0qjepx.js → repository-cache-h4xmhyrc.js} +13 -13
  159. package/dist/chunks/{filesystem-h6vf3j39.js → repository-cache-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{filesystem-s3srg93r.js → repository-cache-h7gdr3a3.js} +28 -28
  161. package/dist/chunks/{filesystem-d43zz4nj.js → repository-cache-ht7262xq.js} +11 -11
  162. package/dist/chunks/{filesystem-t918d8cq.js → repository-cache-hz6g7x4z.js} +8 -8
  163. package/dist/chunks/{filesystem-6j06p5mc.js → repository-cache-j1fzn4b4.js} +8 -8
  164. package/dist/chunks/{filesystem-j56e64zr.js → repository-cache-j56e64zr.js} +1 -1
  165. package/dist/chunks/{filesystem-n8gssbbw.js → repository-cache-j6k053yf.js} +4 -4
  166. package/dist/chunks/{filesystem-kkkrdp4w.js → repository-cache-jd97cc84.js} +2 -2
  167. package/dist/chunks/{filesystem-jtxbrew9.js → repository-cache-jg9znx1t.js} +3 -3
  168. package/dist/chunks/{filesystem-fhz5gfgy.js → repository-cache-k8hpw67k.js} +5 -5
  169. package/dist/chunks/{filesystem-p5hnzy35.js → repository-cache-kayzqgev.js} +16 -16
  170. package/dist/chunks/{filesystem-2qdytgm4.js → repository-cache-kbckyd8w.js} +10 -10
  171. package/dist/chunks/{filesystem-pq2pd6hh.js → repository-cache-kf2m36k8.js} +24 -24
  172. package/dist/chunks/{filesystem-kwbyxxx0.js → repository-cache-kjz0qpx3.js} +8 -8
  173. package/dist/chunks/{filesystem-hedm60x3.js → repository-cache-kn0wphkh.js} +17 -17
  174. package/dist/chunks/{filesystem-qh690qjv.js → repository-cache-kpcpgk5c.js} +87 -87
  175. package/dist/chunks/{filesystem-av5s1sdw.js → repository-cache-m1yw9ks4.js} +10 -10
  176. package/dist/chunks/{filesystem-jt1vb5pc.js → repository-cache-m1zaf8q8.js} +11 -11
  177. package/dist/chunks/{filesystem-m3fdjcah.js → repository-cache-m3fdjcah.js} +1 -1
  178. package/dist/chunks/{filesystem-1gfephy1.js → repository-cache-m5gw4h36.js} +4 -4
  179. package/dist/chunks/{filesystem-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{filesystem-magykp64.js → repository-cache-magykp64.js} +1 -1
  181. package/dist/chunks/{filesystem-rw86hr2t.js → repository-cache-mfzsbzca.js} +24 -24
  182. package/dist/chunks/{filesystem-w3bkza1g.js → repository-cache-mgmaefw5.js} +6 -6
  183. package/dist/chunks/{filesystem-3cjwh6g5.js → repository-cache-mtqw2cwj.js} +10 -10
  184. package/dist/chunks/{filesystem-n1ka8r9d.js → repository-cache-n1ka8r9d.js} +4 -4
  185. package/dist/chunks/{filesystem-5frpvc34.js → repository-cache-nng2ktcm.js} +2 -2
  186. package/dist/chunks/{filesystem-m15jmbbr.js → repository-cache-npc9mpth.js} +24 -24
  187. package/dist/chunks/{filesystem-6shp5cvc.js → repository-cache-nsbfzarf.js} +25 -25
  188. package/dist/chunks/{filesystem-nzks3jc8.js → repository-cache-nzks3jc8.js} +3 -3
  189. package/dist/chunks/{filesystem-d4a7av5z.js → repository-cache-p5hvz7y2.js} +10 -10
  190. package/dist/chunks/{filesystem-pb1eahw5.js → repository-cache-pb1eahw5.js} +3 -3
  191. package/dist/chunks/{filesystem-bnkgx7re.js → repository-cache-pe82yt1p.js} +3 -3
  192. package/dist/chunks/{filesystem-pjvnvgmy.js → repository-cache-pjvnvgmy.js} +1 -1
  193. package/dist/chunks/{filesystem-vzawmjdf.js → repository-cache-pkaxfq83.js} +11 -11
  194. package/dist/chunks/{filesystem-pknna89w.js → repository-cache-pknna89w.js} +1 -1
  195. package/dist/chunks/{filesystem-6ma10yar.js → repository-cache-pkqjp23s.js} +7 -7
  196. package/dist/chunks/{filesystem-9p42wv5p.js → repository-cache-pnef2ahb.js} +2 -2
  197. package/dist/chunks/{filesystem-yvr0je1c.js → repository-cache-prak7c72.js} +26 -26
  198. package/dist/chunks/{filesystem-p751nfh9.js → repository-cache-pxm4np1h.js} +7 -7
  199. package/dist/chunks/{filesystem-7fkffz83.js → repository-cache-py3kkmfq.js} +4 -4
  200. package/dist/chunks/{filesystem-pjw9389s.js → repository-cache-q3tmtmkh.js} +11 -11
  201. package/dist/chunks/{filesystem-5y480sgp.js → repository-cache-qby9dwvd.js} +8 -8
  202. package/dist/chunks/{filesystem-nq7qbqzc.js → repository-cache-qg0jgkcp.js} +9 -9
  203. package/dist/chunks/{filesystem-n83saq1s.js → repository-cache-qg8cy7et.js} +5 -5
  204. package/dist/chunks/{filesystem-1zh729eh.js → repository-cache-qjd41qs4.js} +1 -1
  205. package/dist/chunks/{filesystem-e6hmchc5.js → repository-cache-qjnxxf51.js} +5 -5
  206. package/dist/chunks/{filesystem-qsdy395h.js → repository-cache-qsdy395h.js} +1 -1
  207. package/dist/chunks/{filesystem-cm0vdedy.js → repository-cache-qwggzqz9.js} +28 -28
  208. package/dist/chunks/{filesystem-qkfs2zns.js → repository-cache-r21ez3wq.js} +9 -9
  209. package/dist/chunks/{filesystem-5c120nwe.js → repository-cache-r2gywbkr.js} +3 -3
  210. package/dist/chunks/{filesystem-bk2qgnaw.js → repository-cache-r5h1gx5m.js} +9 -9
  211. package/dist/chunks/{filesystem-rdw6cm16.js → repository-cache-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{filesystem-2jnrxcaz.js → repository-cache-repe8m51.js} +19 -19
  213. package/dist/chunks/{filesystem-zeytjcpa.js → repository-cache-rrytxcw3.js} +10 -10
  214. package/dist/chunks/{filesystem-tkmwgdpd.js → repository-cache-ryr25ayn.js} +7 -7
  215. package/dist/chunks/{filesystem-w2qmsxre.js → repository-cache-s0xttw3k.js} +22 -22
  216. package/dist/chunks/{filesystem-cwy3e0f0.js → repository-cache-se8vzq67.js} +15 -15
  217. package/dist/chunks/{filesystem-hn8wsm4z.js → repository-cache-sjr0pt8x.js} +8 -8
  218. package/dist/chunks/{filesystem-n09t85ck.js → repository-cache-sqghgrkn.js} +8 -8
  219. package/dist/chunks/{filesystem-dqhaz4gz.js → repository-cache-ss901cdy.js} +1 -1
  220. package/dist/chunks/{filesystem-f0368xkp.js → repository-cache-ssz3s5wm.js} +40 -40
  221. package/dist/chunks/{filesystem-dfe8djrf.js → repository-cache-sx1n432n.js} +4 -4
  222. package/dist/chunks/{filesystem-c35597j6.js → repository-cache-syf57q56.js} +4 -4
  223. package/dist/chunks/{filesystem-wav3c6xe.js → repository-cache-t043jrc7.js} +38 -38
  224. package/dist/chunks/{filesystem-tz2bjj40.js → repository-cache-t0fxg8b9.js} +5 -5
  225. package/dist/chunks/{filesystem-t550f9t1.js → repository-cache-t550f9t1.js} +1 -1
  226. package/dist/chunks/{filesystem-m5q6th7b.js → repository-cache-t7ag8xg6.js} +12 -12
  227. package/dist/chunks/{filesystem-tazgh4e4.js → repository-cache-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{filesystem-89znhe33.js → repository-cache-tcezcvh9.js} +4 -4
  229. package/dist/chunks/{filesystem-tdstcens.js → repository-cache-tdstcens.js} +1 -1
  230. package/dist/chunks/{filesystem-2np3k2bf.js → repository-cache-th00ytsn.js} +16 -16
  231. package/dist/chunks/{filesystem-mwj78qbb.js → repository-cache-tjm97nt9.js} +18 -18
  232. package/dist/chunks/{filesystem-tvtrv512.js → repository-cache-tvtrv512.js} +1 -1
  233. package/dist/chunks/{filesystem-h7y0hqxr.js → repository-cache-v6f0g2q9.js} +13 -13
  234. package/dist/chunks/{filesystem-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
  235. package/dist/chunks/{filesystem-svp7d0fp.js → repository-cache-vfm2ry0n.js} +16 -16
  236. package/dist/chunks/{filesystem-3dgq6m1n.js → repository-cache-vrxara3k.js} +40 -40
  237. package/dist/chunks/{filesystem-f2fkfqad.js → repository-cache-vstzsebn.js} +1 -1
  238. package/dist/chunks/{filesystem-vzcthcp8.js → repository-cache-vzcthcp8.js} +1 -1
  239. package/dist/chunks/{filesystem-vzs5sf6e.js → repository-cache-vzs5sf6e.js} +1 -1
  240. package/dist/chunks/{filesystem-84txncab.js → repository-cache-w1eejvng.js} +5 -5
  241. package/dist/chunks/{filesystem-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
  242. package/dist/chunks/{filesystem-xjaef4xf.js → repository-cache-w9cye5bh.js} +5 -5
  243. package/dist/chunks/{filesystem-wd3x2cqz.js → repository-cache-wd3x2cqz.js} +2 -2
  244. package/dist/chunks/{filesystem-wd87259q.js → repository-cache-wd87259q.js} +1 -1
  245. package/dist/chunks/{filesystem-smp49fay.js → repository-cache-wfv2770d.js} +8 -8
  246. package/dist/chunks/{filesystem-4hdsm0pm.js → repository-cache-wjqrnc96.js} +7 -7
  247. package/dist/chunks/{filesystem-0jq9fyba.js → repository-cache-wk5z6jzv.js} +9 -9
  248. package/dist/chunks/{filesystem-0qhtvwpj.js → repository-cache-wm6eqmjh.js} +3 -3
  249. package/dist/chunks/{filesystem-wfz5d65w.js → repository-cache-wtp2v689.js} +31 -31
  250. package/dist/chunks/{filesystem-vgm83cgp.js → repository-cache-wtvz5zte.js} +20 -20
  251. package/dist/chunks/{filesystem-x1ezjp6w.js → repository-cache-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{filesystem-dah9s5zy.js → repository-cache-x3jaej8z.js} +11 -11
  253. package/dist/chunks/{filesystem-8hh75t8h.js → repository-cache-x8mth232.js} +8 -8
  254. package/dist/chunks/{filesystem-r45jhqb9.js → repository-cache-x9wftsq0.js} +2 -2
  255. package/dist/chunks/{filesystem-4dfa1csd.js → repository-cache-xczp8xr7.js} +21 -21
  256. package/dist/chunks/repository-cache-xdc9t4mb.js +252 -0
  257. package/dist/chunks/{filesystem-qqeeq2t9.js → repository-cache-xfkkasph.js} +7 -7
  258. package/dist/chunks/{filesystem-xkntkrq7.js → repository-cache-xkntkrq7.js} +2 -2
  259. package/dist/chunks/{filesystem-k030p904.js → repository-cache-xqspxtf3.js} +1 -1
  260. package/dist/chunks/{filesystem-y34854y5.js → repository-cache-xrrx02dm.js} +37 -37
  261. package/dist/chunks/{filesystem-ypx73geg.js → repository-cache-y16p1w2y.js} +9 -9
  262. package/dist/chunks/{filesystem-y1fvbwt7.js → repository-cache-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{filesystem-y71avatq.js → repository-cache-y71avatq.js} +1 -1
  264. package/dist/chunks/{filesystem-0pcvbqvq.js → repository-cache-y9v1kb8k.js} +4 -4
  265. package/dist/chunks/{filesystem-qcg4vfgs.js → repository-cache-yb7k7myq.js} +4 -4
  266. package/dist/chunks/{filesystem-ydgy0jv4.js → repository-cache-ydgy0jv4.js} +1 -1
  267. package/dist/chunks/{filesystem-cbwhh3ee.js → repository-cache-ym34xzwb.js} +9 -9
  268. package/dist/chunks/{filesystem-yrhqyw5v.js → repository-cache-yrhqyw5v.js} +1 -1
  269. package/dist/chunks/{filesystem-yrznvahk.js → repository-cache-yrznvahk.js} +2 -2
  270. package/dist/chunks/{filesystem-awczx5q5.js → repository-cache-yt1agsr0.js} +79 -79
  271. package/dist/chunks/{filesystem-j2w0gmpe.js → repository-cache-yw0b1808.js} +8 -8
  272. package/dist/chunks/{filesystem-0qx4m1me.js → repository-cache-yx1pxd6d.js} +11 -11
  273. package/dist/chunks/{filesystem-24yp57y1.js → repository-cache-yyqd12fs.js} +7 -7
  274. package/dist/chunks/{filesystem-z07pqspn.js → repository-cache-z07pqspn.js} +3 -3
  275. package/dist/chunks/{filesystem-xxxym934.js → repository-cache-z0aj456m.js} +4 -4
  276. package/dist/chunks/{filesystem-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{filesystem-7h5ye0bq.js → repository-cache-z45tr6e4.js} +22 -22
  278. package/dist/chunks/{filesystem-39z47dss.js → repository-cache-z5crsmww.js} +11 -11
  279. package/dist/chunks/{filesystem-z63w68vq.js → repository-cache-z63w68vq.js} +2 -2
  280. package/dist/chunks/{filesystem-9y094rtb.js → repository-cache-z9r8pcs3.js} +5 -5
  281. package/dist/chunks/{filesystem-76eeqvp0.js → repository-cache-za7gw4wk.js} +6 -6
  282. package/dist/chunks/{filesystem-k1mgmdq6.js → repository-cache-zd55pfdc.js} +29 -29
  283. package/dist/chunks/{filesystem-zeh9ct20.js → repository-cache-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{filesystem-1cn5a5mh.js → repository-cache-zp0a9bvk.js} +9 -9
  285. package/dist/chunks/{filesystem-9zrft0gr.js → repository-cache-zp37bve8.js} +20 -20
  286. package/dist/chunks/{filesystem-zr2ceqn5.js → repository-cache-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{filesystem-zy8e99jb.js → repository-cache-zsdgyv36.js} +35 -35
  288. package/dist/chunks/{filesystem-bg71ph9x.js → repository-cache-ztnbdf6q.js} +16 -16
  289. package/dist/chunks/{filesystem-08mcr500.js → repository-cache-zvq7xtcr.js} +23 -23
  290. package/dist/chunks/{filesystem-zxq2ej10.js → repository-cache-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +85 -85
  296. package/dist/config/discovery.js +84 -84
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +123 -123
  300. package/dist/config/plugin/command.js +212 -212
  301. package/dist/config/plugin/compaction.js +160 -160
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +123 -123
  308. package/dist/config/plugin/mcp.js +130 -130
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +123 -123
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +142 -142
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +122 -122
  319. package/dist/config/plugin/worktree.js +123 -123
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +73 -73
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +13 -13
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +14 -14
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +1 -1
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +89 -89
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +91 -91
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +70 -70
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +6 -6
  424. package/dist/filesystem/location-watcher.js +225 -225
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +103 -103
  427. package/dist/filesystem/watcher-binding.js +1 -1
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +108 -108
  430. package/dist/form.js +70 -70
  431. package/dist/formatter/builtins.js +2 -2
  432. package/dist/formatter.js +89 -89
  433. package/dist/generate.js +95 -95
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +91 -91
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +361 -361
  459. package/dist/instruction-discovery.js +83 -83
  460. package/dist/instructions/builtins.js +87 -87
  461. package/dist/instructions/index.js +1 -1
  462. package/dist/integration/connection.js +1 -1
  463. package/dist/integration.js +76 -76
  464. package/dist/job.js +79 -79
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +73 -73
  467. package/dist/location-activity.js +132 -132
  468. package/dist/location-lifecycle.js +107 -107
  469. package/dist/location-service-map.js +86 -86
  470. package/dist/location-services.js +358 -358
  471. package/dist/location.js +81 -81
  472. package/dist/managed-policy.js +5 -5
  473. package/dist/mcp/client.js +91 -91
  474. package/dist/mcp/index.js +106 -106
  475. package/dist/mcp/instructions.js +126 -126
  476. package/dist/mcp/oauth.js +75 -75
  477. package/dist/mcp/stdio.js +90 -90
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +91 -91
  480. package/dist/model-resolver.js +98 -98
  481. package/dist/model.js +92 -92
  482. package/dist/models-dev.js +103 -103
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +80 -80
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +107 -107
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +86 -86
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +75 -75
  492. package/dist/plugin/agent.js +102 -102
  493. package/dist/plugin/command.js +99 -99
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +218 -218
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +3 -3
  498. package/dist/plugin/internal.js +333 -333
  499. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  500. package/dist/plugin/models-dev.js +96 -96
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +102 -102
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  506. package/dist/plugin/provider/azure.js +122 -122
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +119 -119
  512. package/dist/plugin/provider/digitalocean.js +93 -93
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +94 -94
  517. package/dist/plugin/provider/gitlab.js +93 -93
  518. package/dist/plugin/provider/google-vertex.js +90 -90
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +77 -77
  521. package/dist/plugin/provider/lmstudio.js +122 -122
  522. package/dist/plugin/provider/modal.js +92 -92
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +120 -120
  525. package/dist/plugin/provider/openai.js +92 -92
  526. package/dist/plugin/provider/opencode.js +95 -95
  527. package/dist/plugin/provider/openrouter.js +91 -91
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +78 -78
  530. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  531. package/dist/plugin/provider/sap-ai-core.js +91 -91
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +90 -90
  536. package/dist/plugin/provider/vllm.js +120 -120
  537. package/dist/plugin/provider/xai.js +91 -91
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +161 -161
  540. package/dist/plugin/sdk.js +76 -76
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +141 -141
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +352 -352
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +86 -86
  548. package/dist/plugin/vcs/hg.js +86 -86
  549. package/dist/plugin/verbosity.js +93 -93
  550. package/dist/plugin/warming.js +121 -121
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +229 -229
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +80 -80
  562. package/dist/provider.js +89 -89
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +89 -89
  567. package/dist/reference.js +87 -87
  568. package/dist/repository-cache.js +81 -81
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +91 -91
  572. package/dist/rpc.js +86 -86
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +74 -74
  575. package/dist/session/compaction.js +134 -134
  576. package/dist/session/context.js +152 -152
  577. package/dist/session/diff.js +88 -88
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +221 -221
  582. package/dist/session/execution.js +128 -128
  583. package/dist/session/generate.js +151 -151
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +90 -90
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +77 -77
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +93 -93
  590. package/dist/session/message-updater.js +2 -2
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +119 -119
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +130 -130
  595. package/dist/session/projector.js +86 -86
  596. package/dist/session/prompt.js +105 -105
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +90 -90
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +231 -231
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +98 -98
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +4 -4
  606. package/dist/session/runner/step.js +126 -126
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +172 -172
  610. package/dist/session/shell.js +138 -138
  611. package/dist/session/skill.js +103 -103
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +73 -73
  614. package/dist/session/store.js +87 -87
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +210 -210
  617. package/dist/session/system-prompt.js +5 -5
  618. package/dist/session/title.js +156 -156
  619. package/dist/session/to-session-error.js +111 -111
  620. package/dist/session/transfer.js +214 -214
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +220 -220
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +15 -15
  627. package/dist/shell.js +140 -140
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +105 -105
  630. package/dist/skill.js +108 -108
  631. package/dist/snapshot.js +89 -89
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +125 -125
  636. package/dist/tool/plugin/edit.js +120 -120
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +124 -124
  639. package/dist/tool/plugin/grep.js +124 -124
  640. package/dist/tool/plugin/mcp-resource.js +116 -116
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +120 -120
  643. package/dist/tool/plugin/question.js +101 -101
  644. package/dist/tool/plugin/read.js +125 -125
  645. package/dist/tool/plugin/shell.js +211 -211
  646. package/dist/tool/plugin/skill.js +113 -113
  647. package/dist/tool/plugin/subagent.js +217 -217
  648. package/dist/tool/plugin/webfetch.js +112 -112
  649. package/dist/tool/plugin/websearch.js +112 -112
  650. package/dist/tool/plugin/write.js +122 -122
  651. package/dist/tool/read-filesystem.js +96 -96
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +14 -14
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +3 -3
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/config.js +14 -14
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +7 -7
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +92 -92
  674. package/dist/v1/config/permission.js +1 -1
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +91 -91
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +89 -89
  684. package/dist/websearch.js +82 -82
  685. package/dist/wellknown/plugin.js +76 -76
  686. package/dist/wellknown.js +81 -81
  687. package/dist/workspace/driver.js +1 -1
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +70 -70
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +89 -89
  694. package/dist/worktree.js +96 -96
  695. package/package.json +8 -8
  696. package/dist/chunks/filesystem-phz3h32g.js +0 -18
  697. package/dist/chunks/filesystem-scfp8aft.js +0 -252
  698. package/dist/chunks/filesystem-wmqnggde.js +0 -26
  699. /package/dist/chunks/{filesystem-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{filesystem-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{filesystem-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{filesystem-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{filesystem-1kg9ymc8.js → repository-cache-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{filesystem-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{filesystem-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{filesystem-2axfhc9x.js → repository-cache-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{filesystem-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{filesystem-34c7v6d4.js → repository-cache-34c7v6d4.js} +0 -0
  709. /package/dist/chunks/{filesystem-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{filesystem-3asan66x.js → repository-cache-3asan66x.js} +0 -0
  711. /package/dist/chunks/{filesystem-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{filesystem-3w5fmr99.js → repository-cache-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{filesystem-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{filesystem-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{filesystem-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{filesystem-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{filesystem-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{filesystem-53557ph1.js → repository-cache-53557ph1.js} +0 -0
  719. /package/dist/chunks/{filesystem-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{filesystem-5qd3pb7m.js → repository-cache-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{filesystem-6prwharc.js → repository-cache-6prwharc.js} +0 -0
  722. /package/dist/chunks/{filesystem-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{filesystem-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{filesystem-822emrt2.js → repository-cache-822emrt2.js} +0 -0
  725. /package/dist/chunks/{filesystem-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{filesystem-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{filesystem-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{filesystem-922hggd3.js → repository-cache-922hggd3.js} +0 -0
  729. /package/dist/chunks/{filesystem-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
  730. /package/dist/chunks/{filesystem-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
  731. /package/dist/chunks/{filesystem-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
  732. /package/dist/chunks/{filesystem-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
  733. /package/dist/chunks/{filesystem-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
  734. /package/dist/chunks/{filesystem-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
  735. /package/dist/chunks/{filesystem-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
  736. /package/dist/chunks/{filesystem-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
  737. /package/dist/chunks/{filesystem-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
  738. /package/dist/chunks/{filesystem-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
  739. /package/dist/chunks/{filesystem-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
  740. /package/dist/chunks/{filesystem-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
  741. /package/dist/chunks/{filesystem-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
  742. /package/dist/chunks/{filesystem-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
  743. /package/dist/chunks/{filesystem-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
  744. /package/dist/chunks/{filesystem-df08tz66.js → repository-cache-df08tz66.js} +0 -0
  745. /package/dist/chunks/{filesystem-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
  746. /package/dist/chunks/{filesystem-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{filesystem-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{filesystem-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{filesystem-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{filesystem-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{filesystem-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{filesystem-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{filesystem-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{filesystem-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{filesystem-fxgpk5d8.js → repository-cache-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{filesystem-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{filesystem-g86h250q.js → repository-cache-g86h250q.js} +0 -0
  758. /package/dist/chunks/{filesystem-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{filesystem-gftt206x.js → repository-cache-gftt206x.js} +0 -0
  760. /package/dist/chunks/{filesystem-hjbc5kem.js → repository-cache-hjbc5kem.js} +0 -0
  761. /package/dist/chunks/{filesystem-hk9envan.js → repository-cache-hk9envan.js} +0 -0
  762. /package/dist/chunks/{filesystem-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{filesystem-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{filesystem-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
  765. /package/dist/chunks/{filesystem-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
  766. /package/dist/chunks/{filesystem-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
  767. /package/dist/chunks/{filesystem-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
  768. /package/dist/chunks/{filesystem-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
  769. /package/dist/chunks/{filesystem-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
  770. /package/dist/chunks/{filesystem-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
  771. /package/dist/chunks/{filesystem-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
  772. /package/dist/chunks/{filesystem-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
  773. /package/dist/chunks/{filesystem-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{filesystem-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{filesystem-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{filesystem-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{filesystem-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{filesystem-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{filesystem-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{filesystem-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{filesystem-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{filesystem-sk3qaz4a.js → repository-cache-sk3qaz4a.js} +0 -0
  783. /package/dist/chunks/{filesystem-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
  784. /package/dist/chunks/{filesystem-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{filesystem-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{filesystem-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{filesystem-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{filesystem-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{filesystem-x61499pn.js → repository-cache-x61499pn.js} +0 -0
  790. /package/dist/chunks/{filesystem-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{filesystem-y8cydn3q.js → repository-cache-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{filesystem-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{filesystem-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{filesystem-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{filesystem-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  ID13,
3
3
  Service74,
4
4
  node77
5
- } from "./filesystem-zcsbmsrf.js";
5
+ } from "./repository-cache-4vekh9c8.js";
6
6
  import {
7
7
  ID12,
8
8
  isAISDK2,
@@ -14,21 +14,21 @@ import {
14
14
  mergeHeaders2,
15
15
  Service73,
16
16
  node76
17
- } from "./filesystem-8e5zyrwm.js";
17
+ } from "./repository-cache-7x0c6mmr.js";
18
18
  import {
19
- Service65,
20
- node67
21
- } from "./filesystem-bk2qgnaw.js";
19
+ Service61,
20
+ node64
21
+ } from "./repository-cache-r5h1gx5m.js";
22
22
  import {
23
23
  ID11,
24
24
  VariantID2,
25
25
  Ref2,
26
26
  Service72,
27
27
  node75
28
- } from "./filesystem-6j06p5mc.js";
28
+ } from "./repository-cache-j1fzn4b4.js";
29
29
  import {
30
30
  __export
31
- } from "./filesystem-9rqn6x4v.js";
31
+ } from "./repository-cache-9rqn6x4v.js";
32
32
 
33
33
  // src/model-resolver.ts
34
34
  var exports_model_resolver = {};
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
37
37
  ModelConfigurationError: () => ModelConfigurationError2,
38
38
  ModelInitializationError: () => ModelInitializationError2,
39
39
  ModelResolver: () => exports_model_resolver,
40
- Service: () => Service64,
40
+ Service: () => Service60,
41
41
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
42
42
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
43
43
  UnsupportedPackageError: () => UnsupportedPackageError2,
44
44
  VariantUnavailableError: () => VariantUnavailableError2,
45
45
  fromCatalogModel: () => fromCatalogModel2,
46
46
  hasPackage: () => hasPackage2,
47
- layer: () => layer20,
48
- node: () => node66,
47
+ layer: () => layer24,
48
+ node: () => node63,
49
49
  resolveModel: () => resolveModel2,
50
50
  withVariant: () => withVariant2
51
51
  });
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
118
118
  }
119
119
  }
120
120
 
121
- class Service64 extends Context.Service()("@opencode/ModelResolver") {
121
+ class Service60 extends Context.Service()("@opencode/ModelResolver") {
122
122
  }
123
123
  var withVariant2 = (model, variantID) => {
124
124
  const id = variantID === "default" ? undefined : variantID;
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
258
258
  };
259
259
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
260
260
  var hasPackage2 = (model) => Boolean(model.package);
261
- var layer20 = Layer.effect(Service64, Effect.gen(function* () {
261
+ var layer24 = Layer.effect(Service60, Effect.gen(function* () {
262
262
  const providers = yield* Service73;
263
263
  const models = yield* Service72;
264
264
  const integrations = yield* Service74;
265
265
  const npm = yield* Npm.Service;
266
- const aisdk = yield* Service65;
266
+ const aisdk = yield* Service61;
267
267
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
268
268
  const provider = yield* providers.get(selected.providerID);
269
269
  const connection = yield* integrations.connection.active(provider?.integrationID ?? ID13.make(selected.providerID));
@@ -293,7 +293,7 @@ var layer20 = Layer.effect(Service64, Effect.gen(function* () {
293
293
  chunkTimeout: provider?.settings?.chunkTimeout
294
294
  };
295
295
  });
296
- return Service64.of({
296
+ return Service60.of({
297
297
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
298
298
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
299
299
  if (!selected)
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
310
310
  const name = packageName2(packageName);
311
311
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
312
312
  }
313
- var node66 = makeLocationNode({
314
- service: Service64,
315
- layer: layer20,
316
- deps: [node76, node75, node77, Npm.node, node67]
313
+ var node63 = makeLocationNode({
314
+ service: Service60,
315
+ layer: layer24,
316
+ deps: [node76, node75, node77, Npm.node, node64]
317
317
  });
318
318
 
319
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node66, exports_model_resolver };
319
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service60, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node63, exports_model_resolver };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-922hggd3.js";
3
+ } from "./repository-cache-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./filesystem-kkkrdp4w.js";
6
+ } from "./repository-cache-jd97cc84.js";
7
7
  import {
8
- Service44
9
- } from "./filesystem-wav3c6xe.js";
8
+ Service47
9
+ } from "./repository-cache-t043jrc7.js";
10
10
  import {
11
- Service52
12
- } from "./filesystem-mxn40ybh.js";
11
+ Service23
12
+ } from "./repository-cache-4jemq3kp.js";
13
13
  import {
14
14
  observe2
15
- } from "./filesystem-qsdy395h.js";
15
+ } from "./repository-cache-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./repository-cache-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
@@ -30,10 +30,10 @@ import { Global } from "@opencode/util/global";
30
30
  var Plugin48 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service44;
33
+ const config = yield* Service47;
34
34
  const location = yield* Service80;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service52;
36
+ const worktrees = yield* Service23;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-fzts1kpm.js";
3
+ } from "./repository-cache-0thxwbsq.js";
4
4
  import {
5
5
  Service83
6
- } from "./filesystem-1gfephy1.js";
6
+ } from "./repository-cache-m5gw4h36.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19
10
- } from "./filesystem-9sdebhyw.js";
10
+ } from "./repository-cache-fy93ygep.js";
11
11
  import {
12
12
  ID13,
13
13
  MethodID2
14
- } from "./filesystem-zcsbmsrf.js";
14
+ } from "./repository-cache-4vekh9c8.js";
15
15
  import {
16
16
  key2
17
- } from "./filesystem-4dgbcxzg.js";
17
+ } from "./repository-cache-4dgbcxzg.js";
18
18
  import {
19
19
  ID12,
20
20
  aisdk2,
21
21
  Service73
22
- } from "./filesystem-8e5zyrwm.js";
22
+ } from "./repository-cache-7x0c6mmr.js";
23
23
  import {
24
24
  ID11,
25
25
  Info25
26
- } from "./filesystem-6j06p5mc.js";
26
+ } from "./repository-cache-j1fzn4b4.js";
27
27
  import {
28
28
  success2,
29
29
  error2
30
- } from "./filesystem-pjvnvgmy.js";
30
+ } from "./repository-cache-pjvnvgmy.js";
31
31
 
32
32
  // src/plugin/provider/gitlab.ts
33
33
  import os from "os";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./filesystem-1ygqh575.js";
3
+ } from "./repository-cache-33w4ejhs.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./repository-cache-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin2,
11
+ Plugin: () => Plugin17,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint3
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint2 = "https://mcp.exa.ai/mcp";
18
+ var endpoint3 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin2 = define({
30
+ var Plugin17 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin2 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint2);
52
+ const url = new URL(endpoint3);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint2, Plugin2, exports_exa };
83
+ export { endpoint3, Plugin17, exports_exa };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./filesystem-emrn6kk6.js";
4
+ } from "./repository-cache-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./filesystem-qzz1k0t8.js";
7
+ } from "./repository-cache-c8fx5zam.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,80 +1,80 @@
1
1
  import {
2
2
  Service84
3
- } from "./filesystem-tks0bnq5.js";
3
+ } from "./repository-cache-bvpkk3q2.js";
4
4
  import {
5
5
  Service83
6
- } from "./filesystem-1gfephy1.js";
6
+ } from "./repository-cache-m5gw4h36.js";
7
7
  import {
8
- Service36
9
- } from "./filesystem-j5w2yx54.js";
8
+ Service57
9
+ } from "./repository-cache-eqkxs06z.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./filesystem-vzs5sf6e.js";
12
+ } from "./repository-cache-vzs5sf6e.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./filesystem-gftt206x.js";
15
+ } from "./repository-cache-gftt206x.js";
16
16
  import {
17
- NotFoundError6,
17
+ NotFoundError9,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./filesystem-cf01cagz.js";
23
+ } from "./repository-cache-32ymn5e1.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./filesystem-ec1grn59.js";
26
+ } from "./repository-cache-ec1grn59.js";
27
27
  import {
28
- Service59
29
- } from "./filesystem-7601emta.js";
28
+ Service63
29
+ } from "./repository-cache-cn13n8vv.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service35
34
- } from "./filesystem-0w7xa6ee.js";
33
+ Service58
34
+ } from "./repository-cache-aj81xsja.js";
35
35
  import {
36
- Service33
37
- } from "./filesystem-y34854y5.js";
36
+ Service55
37
+ } from "./repository-cache-xrrx02dm.js";
38
38
  import {
39
39
  prepare2
40
- } from "./filesystem-t9636gx1.js";
40
+ } from "./repository-cache-3sdjj4an.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./filesystem-p5hnzy35.js";
45
+ } from "./repository-cache-kayzqgev.js";
46
46
  import {
47
47
  start2
48
- } from "./filesystem-dqfphc03.js";
48
+ } from "./repository-cache-9y7gjzcp.js";
49
49
  import {
50
50
  get4
51
- } from "./filesystem-qkfs2zns.js";
51
+ } from "./repository-cache-r21ez3wq.js";
52
52
  import {
53
53
  __export
54
- } from "./filesystem-9rqn6x4v.js";
54
+ } from "./repository-cache-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make12
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make12 = Effect.fn("Session.make")(function* () {
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service83;
67
67
  const database = yield* Service84;
68
- const store = yield* Service59;
69
- const instances = yield* Service36;
70
- const execution = yield* Service33;
71
- const admission = yield* Service35;
68
+ const store = yield* Service63;
69
+ const instances = yield* Service57;
70
+ const execution = yield* Service55;
71
+ const admission = yield* Service58;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError6({ sessionID });
77
+ return yield* new NotFoundError9({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -135,7 +135,7 @@ var make12 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service36, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service57, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make12 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service36, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service57, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service36, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service57, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service57, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service83, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service57, instances), Effect.provideService(Service83, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -329,4 +329,4 @@ ${error.message}`,
329
329
  return { forSession };
330
330
  });
331
331
 
332
- export { make12, exports_session2 };
332
+ export { make13, exports_session2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./filesystem-5t3nmthw.js";
3
+ } from "./repository-cache-5t3nmthw.js";
4
4
  import {
5
- Service64,
6
- node66
7
- } from "./filesystem-13n5q7dt.js";
5
+ Service60,
6
+ node63
7
+ } from "./repository-cache-db9rkawd.js";
8
8
  import {
9
9
  __export
10
- } from "./filesystem-9rqn6x4v.js";
10
+ } from "./repository-cache-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate = {};
@@ -20,6 +20,7 @@ __export(exports_generate, {
20
20
  node: () => node18
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
+ import { SessionID } from "@opencode/schema/session-id";
23
24
  import { Context, Effect, Layer, Schema } from "effect";
24
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
25
26
  class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelectionError", {
@@ -37,7 +38,7 @@ class Service15 extends Context.Service()("@opencode/Generate") {
37
38
  }
38
39
  var layer8 = Layer.effect(Service15, Effect.gen(function* () {
39
40
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service64;
41
+ const resolver = yield* Service60;
41
42
  const runText = Effect.fn("Generate.text")(function* (input) {
42
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -54,7 +55,11 @@ var layer8 = Layer.effect(Service15, Effect.gen(function* () {
54
55
  return yield* new ModelSelectionError2({
55
56
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
57
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
58
+ const response = yield* llm.generate(LLM.request({
59
+ model: resolved.model,
60
+ prompt: input.prompt,
61
+ http: { headers: { "x-opencode-session": SessionID.create() } }
62
+ })).pipe(Effect.mapError((error) => new UnavailableError2({
58
63
  message: error.message,
59
64
  service: resolved.ref.providerID
60
65
  })));
@@ -68,7 +73,7 @@ var layer8 = Layer.effect(Service15, Effect.gen(function* () {
68
73
  var node18 = makeLocationNode({
69
74
  service: Service15,
70
75
  layer: layer8,
71
- deps: [node66, llmClient2]
76
+ deps: [node63, llmClient2]
72
77
  });
73
78
 
74
79
  export { ModelSelectionError2, UnavailableError2, Service15, layer8, node18, exports_generate };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service4,
9
+ Service: () => Service3,
10
10
  bound: () => bound2,
11
11
  node: () => node5
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service3 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
18
  var node5 = makeLocationNode({
19
- service: Service4,
19
+ service: Service3,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
29
+ return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node5, bound2, exports_instance2 };
32
+ export { Service3, node5, bound2, exports_instance2 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./filesystem-k030p904.js";
5
+ } from "./repository-cache-xqspxtf3.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make23,
10
10
  makeWithDefaults2
11
- } from "./filesystem-4ev5vm6j.js";
11
+ } from "./repository-cache-1e3wa6g2.js";
12
12
  import {
13
13
  __export
14
- } from "./filesystem-9rqn6x4v.js";
14
+ } from "./repository-cache-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./repository-cache-9rqn6x4v.js";
4
4
 
5
5
  // src/session/runner/index.ts
6
6
  var exports_runner = {};
7
7
  __export(exports_runner, {
8
8
  DrainResult: () => DrainResult2,
9
- Service: () => Service34,
9
+ Service: () => Service56,
10
10
  SessionRunner: () => exports_runner
11
11
  });
12
12
  import { Context, Data } from "effect";
13
13
  var DrainResult2 = Data.taggedEnum();
14
14
 
15
- class Service34 extends Context.Service()("@opencode/SessionRunner") {
15
+ class Service56 extends Context.Service()("@opencode/SessionRunner") {
16
16
  }
17
17
 
18
- export { DrainResult2, Service34, exports_runner };
18
+ export { DrainResult2, Service56, exports_runner };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./filesystem-y71avatq.js";
3
+ } from "./repository-cache-y71avatq.js";
4
4
  import {
5
5
  Service78,
6
6
  node81
7
- } from "./filesystem-cht1zc30.js";
7
+ } from "./repository-cache-abeafk4b.js";
8
8
  import {
9
9
  __export
10
- } from "./filesystem-9rqn6x4v.js";
10
+ } from "./repository-cache-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service53,
17
- node: () => node55,
16
+ Service: () => Service13,
17
+ node: () => node15,
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 Service53 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service13 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,7 +34,7 @@ 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(Service53, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service13, Effect.gen(function* () {
38
38
  const environment = yield* Service78;
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);
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service53, 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 Service53.of({ withLock, write, writeTextPreservingBom });
59
+ return Service13.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node55 = makeLocationNode({ service: Service53, layer, deps: [node81] });
61
+ var node15 = makeLocationNode({ service: Service13, layer, deps: [node81] });
62
62
 
63
- export { Service53, readText2, syncTextBom2, node55, exports_file_mutation };
63
+ export { Service13, readText2, syncTextBom2, node15, exports_file_mutation };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-fzts1kpm.js";
3
+ } from "./repository-cache-0thxwbsq.js";
4
4
  import {
5
5
  Service83
6
- } from "./filesystem-1gfephy1.js";
6
+ } from "./repository-cache-m5gw4h36.js";
7
7
  import {
8
8
  OAuth3,
9
9
  Event19,
10
10
  Service75
11
- } from "./filesystem-9sdebhyw.js";
11
+ } from "./repository-cache-fy93ygep.js";
12
12
  import {
13
13
  ID13,
14
14
  MethodID2,
15
15
  Service74
16
- } from "./filesystem-zcsbmsrf.js";
16
+ } from "./repository-cache-4vekh9c8.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./filesystem-pjvnvgmy.js";
20
+ } from "./repository-cache-pjvnvgmy.js";
21
21
  import {
22
22
  ID12
23
- } from "./filesystem-8e5zyrwm.js";
23
+ } from "./repository-cache-7x0c6mmr.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./filesystem-bw0ym531.js";
26
+ } from "./repository-cache-7rwbexbt.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";