@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
package/dist/bus.js CHANGED
@@ -10,75 +10,75 @@ import {
10
10
  configured12,
11
11
  node87,
12
12
  exports_bus
13
- } from "./chunks/filesystem-1gfephy1.js";
14
- import"./chunks/filesystem-2710q6r3.js";
15
- import"./chunks/filesystem-y71avatq.js";
16
- import"./chunks/filesystem-tks0bnq5.js";
17
- import"./chunks/filesystem-0zkw76rk.js";
18
- import"./chunks/filesystem-6b713qfj.js";
19
- import"./chunks/filesystem-4ev5vm6j.js";
20
- import"./chunks/filesystem-k030p904.js";
21
- import"./chunks/filesystem-p3192dp6.js";
22
- import"./chunks/filesystem-qzz1k0t8.js";
23
- import"./chunks/filesystem-822emrt2.js";
24
- import"./chunks/filesystem-m9w0rfyh.js";
25
- import"./chunks/filesystem-cf4snx6d.js";
26
- import"./chunks/filesystem-7bmhse3q.js";
27
- import"./chunks/filesystem-f0mxakyp.js";
28
- import"./chunks/filesystem-wd87259q.js";
29
- import"./chunks/filesystem-w3wsvvr9.js";
30
- import"./chunks/filesystem-emrn6kk6.js";
31
- import"./chunks/filesystem-0qhtvwpj.js";
32
- import"./chunks/filesystem-n1rz67ba.js";
33
- import"./chunks/filesystem-njntx4h6.js";
34
- import"./chunks/filesystem-wer8tq1h.js";
35
- import"./chunks/filesystem-aqzs7mqg.js";
36
- import"./chunks/filesystem-ssg3fenm.js";
37
- import"./chunks/filesystem-8n3pysct.js";
38
- import"./chunks/filesystem-8wj87zfr.js";
39
- import"./chunks/filesystem-bmr6ed5q.js";
40
- import"./chunks/filesystem-cvy3z8tj.js";
41
- import"./chunks/filesystem-9a4afbnw.js";
42
- import"./chunks/filesystem-359p4xyc.js";
43
- import"./chunks/filesystem-fd410y7t.js";
44
- import"./chunks/filesystem-j2ntwpah.js";
45
- import"./chunks/filesystem-wtztk69x.js";
46
- import"./chunks/filesystem-qb87gjwd.js";
47
- import"./chunks/filesystem-43n2bw4t.js";
48
- import"./chunks/filesystem-jwfs4k6c.js";
49
- import"./chunks/filesystem-jzg6c2d5.js";
50
- import"./chunks/filesystem-mp448xyj.js";
51
- import"./chunks/filesystem-2c3vjs8z.js";
52
- import"./chunks/filesystem-7akdwqpd.js";
53
- import"./chunks/filesystem-y8f7s663.js";
54
- import"./chunks/filesystem-df08tz66.js";
55
- import"./chunks/filesystem-qrg20bc0.js";
56
- import"./chunks/filesystem-n05xt0ee.js";
57
- import"./chunks/filesystem-sdp7kfr6.js";
58
- import"./chunks/filesystem-hk9envan.js";
59
- import"./chunks/filesystem-f6n9ztr4.js";
60
- import"./chunks/filesystem-rcb2kzg1.js";
61
- import"./chunks/filesystem-e5kj55wp.js";
62
- import"./chunks/filesystem-4knz6hnm.js";
63
- import"./chunks/filesystem-1cnp2v09.js";
64
- import"./chunks/filesystem-q3sfg36h.js";
65
- import"./chunks/filesystem-msx8hqn2.js";
66
- import"./chunks/filesystem-g86h250q.js";
67
- import"./chunks/filesystem-7m9af43g.js";
68
- import"./chunks/filesystem-z9919s4g.js";
69
- import"./chunks/filesystem-w803qqfp.js";
70
- import"./chunks/filesystem-atq7p7m5.js";
71
- import"./chunks/filesystem-bkyjaxrp.js";
72
- import"./chunks/filesystem-17cy0kzp.js";
73
- import"./chunks/filesystem-jr7sbwjy.js";
74
- import"./chunks/filesystem-q74kybfr.js";
75
- import"./chunks/filesystem-d9fn303g.js";
76
- import"./chunks/filesystem-ygaqb7jw.js";
77
- import"./chunks/filesystem-a6k6eb26.js";
78
- import"./chunks/filesystem-53557ph1.js";
79
- import"./chunks/filesystem-d9jj8t3e.js";
80
- import"./chunks/filesystem-n3j8tn72.js";
81
- import"./chunks/filesystem-34c7v6d4.js";
13
+ } from "./chunks/repository-cache-m5gw4h36.js";
14
+ import"./chunks/repository-cache-2710q6r3.js";
15
+ import"./chunks/repository-cache-y71avatq.js";
16
+ import"./chunks/repository-cache-bvpkk3q2.js";
17
+ import"./chunks/repository-cache-wm6eqmjh.js";
18
+ import"./chunks/repository-cache-34c7v6d4.js";
19
+ import"./chunks/repository-cache-9hy0f780.js";
20
+ import"./chunks/repository-cache-17cy0kzp.js";
21
+ import"./chunks/repository-cache-g86h250q.js";
22
+ import"./chunks/repository-cache-atq7p7m5.js";
23
+ import"./chunks/repository-cache-2c3vjs8z.js";
24
+ import"./chunks/repository-cache-d9fn303g.js";
25
+ import"./chunks/repository-cache-mp448xyj.js";
26
+ import"./chunks/repository-cache-w803qqfp.js";
27
+ import"./chunks/repository-cache-jr7sbwjy.js";
28
+ import"./chunks/repository-cache-jzg6c2d5.js";
29
+ import"./chunks/repository-cache-msx8hqn2.js";
30
+ import"./chunks/repository-cache-q3sfg36h.js";
31
+ import"./chunks/repository-cache-n3j8tn72.js";
32
+ import"./chunks/repository-cache-rcb2kzg1.js";
33
+ import"./chunks/repository-cache-359p4xyc.js";
34
+ import"./chunks/repository-cache-f6n9ztr4.js";
35
+ import"./chunks/repository-cache-4knz6hnm.js";
36
+ import"./chunks/repository-cache-fd410y7t.js";
37
+ import"./chunks/repository-cache-7akdwqpd.js";
38
+ import"./chunks/repository-cache-e5kj55wp.js";
39
+ import"./chunks/repository-cache-wtztk69x.js";
40
+ import"./chunks/repository-cache-1cnp2v09.js";
41
+ import"./chunks/repository-cache-43n2bw4t.js";
42
+ import"./chunks/repository-cache-n05xt0ee.js";
43
+ import"./chunks/repository-cache-cvy3z8tj.js";
44
+ import"./chunks/repository-cache-j2ntwpah.js";
45
+ import"./chunks/repository-cache-8wj87zfr.js";
46
+ import"./chunks/repository-cache-qrg20bc0.js";
47
+ import"./chunks/repository-cache-njntx4h6.js";
48
+ import"./chunks/repository-cache-ygaqb7jw.js";
49
+ import"./chunks/repository-cache-qb87gjwd.js";
50
+ import"./chunks/repository-cache-d9jj8t3e.js";
51
+ import"./chunks/repository-cache-wer8tq1h.js";
52
+ import"./chunks/repository-cache-bmr6ed5q.js";
53
+ import"./chunks/repository-cache-y8f7s663.js";
54
+ import"./chunks/repository-cache-df08tz66.js";
55
+ import"./chunks/repository-cache-sdp7kfr6.js";
56
+ import"./chunks/repository-cache-9a4afbnw.js";
57
+ import"./chunks/repository-cache-aqzs7mqg.js";
58
+ import"./chunks/repository-cache-hk9envan.js";
59
+ import"./chunks/repository-cache-bkyjaxrp.js";
60
+ import"./chunks/repository-cache-q74kybfr.js";
61
+ import"./chunks/repository-cache-z9919s4g.js";
62
+ import"./chunks/repository-cache-53557ph1.js";
63
+ import"./chunks/repository-cache-7m9af43g.js";
64
+ import"./chunks/repository-cache-a6k6eb26.js";
65
+ import"./chunks/repository-cache-ssg3fenm.js";
66
+ import"./chunks/repository-cache-8n3pysct.js";
67
+ import"./chunks/repository-cache-jwfs4k6c.js";
68
+ import"./chunks/repository-cache-0zkw76rk.js";
69
+ import"./chunks/repository-cache-dzk760wa.js";
70
+ import"./chunks/repository-cache-1e3wa6g2.js";
71
+ import"./chunks/repository-cache-xqspxtf3.js";
72
+ import"./chunks/repository-cache-dqw8sfxx.js";
73
+ import"./chunks/repository-cache-c8fx5zam.js";
74
+ import"./chunks/repository-cache-m9w0rfyh.js";
75
+ import"./chunks/repository-cache-wd87259q.js";
76
+ import"./chunks/repository-cache-w3wsvvr9.js";
77
+ import"./chunks/repository-cache-822emrt2.js";
78
+ import"./chunks/repository-cache-cf4snx6d.js";
79
+ import"./chunks/repository-cache-f0mxakyp.js";
80
+ import"./chunks/repository-cache-7bmhse3q.js";
81
+ import"./chunks/repository-cache-emrn6kk6.js";
82
82
  export {
83
83
  exports_bus as Bus,
84
84
  InvalidDurableEventError2 as InvalidDurableEventError,
@@ -1,58 +1,58 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./filesystem-1gfephy1.js";
4
+ } from "./repository-cache-m5gw4h36.js";
5
5
  import {
6
6
  Service76,
7
7
  node79
8
- } from "./filesystem-9p42wv5p.js";
8
+ } from "./repository-cache-pnef2ahb.js";
9
9
  import {
10
10
  Service81,
11
11
  node85
12
- } from "./filesystem-grdteyps.js";
12
+ } from "./repository-cache-11jdz1a5.js";
13
13
  import {
14
14
  Ref4,
15
15
  Service80,
16
16
  node84
17
- } from "./filesystem-kkkrdp4w.js";
17
+ } from "./repository-cache-jd97cc84.js";
18
18
  import {
19
19
  canonical3
20
- } from "./filesystem-gfhtznv3.js";
20
+ } from "./repository-cache-ftyydgn8.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./filesystem-ec1grn59.js";
23
+ } from "./repository-cache-ec1grn59.js";
24
24
  import {
25
- Service58,
26
- node60
27
- } from "./filesystem-n33rgabk.js";
25
+ Service62,
26
+ node65
27
+ } from "./repository-cache-097j89tx.js";
28
28
  import {
29
- Service56,
30
- node58
31
- } from "./filesystem-pjw9389s.js";
29
+ Service21,
30
+ node24
31
+ } from "./repository-cache-q3tmtmkh.js";
32
32
  import {
33
33
  __export
34
- } from "./filesystem-9rqn6x4v.js";
34
+ } from "./repository-cache-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service55,
41
- node: () => node57
40
+ Service: () => Service20,
41
+ node: () => node23
42
42
  });
43
43
  import { Context, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service55 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service20 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service55, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
51
51
  const bus = yield* Service83;
52
52
  const location = yield* Service80;
53
- const permission = yield* Service58;
53
+ const permission = yield* Service62;
54
54
  const forms = yield* Service76;
55
- const rpc = yield* Service56;
55
+ const rpc = yield* Service21;
56
56
  const project = yield* Service81;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
75
75
  location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service55.of({
78
+ return Service20.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node57 = makeLocationNode({
84
- service: Service55,
83
+ var node23 = makeLocationNode({
84
+ service: Service20,
85
85
  layer,
86
- deps: [node87, node84, node60, node85, node79, node58]
86
+ deps: [node87, node84, node65, node85, node79, node24]
87
87
  });
88
88
 
89
- export { Service55, node57, exports_location_lifecycle };
89
+ export { Service20, node23, exports_location_lifecycle };
@@ -1,26 +1,26 @@
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
  success2,
17
17
  error2
18
- } from "./filesystem-pjvnvgmy.js";
18
+ } from "./repository-cache-pjvnvgmy.js";
19
19
  import {
20
20
  ID12,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./filesystem-8e5zyrwm.js";
23
+ } from "./repository-cache-7x0c6mmr.js";
24
24
 
25
25
  // src/plugin/provider/openai.ts
26
26
  import { define } from "@opencode/plugin/effect/plugin";
@@ -2,47 +2,47 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./filesystem-922hggd3.js";
5
+ } from "./repository-cache-922hggd3.js";
6
6
  import {
7
7
  Service80,
8
8
  node84
9
- } from "./filesystem-kkkrdp4w.js";
9
+ } from "./repository-cache-jd97cc84.js";
10
10
  import {
11
- Service67,
12
- node69
13
- } from "./filesystem-47syppsm.js";
11
+ Service19,
12
+ node22
13
+ } from "./repository-cache-fnyn8exm.js";
14
14
  import {
15
15
  __export
16
- } from "./filesystem-9rqn6x4v.js";
16
+ } from "./repository-cache-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
- Entry: () => Entry4,
25
- Event: () => Event14,
24
+ Entry: () => Entry2,
25
+ Event: () => Event5,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput5,
30
+ ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError8,
32
+ NotFoundError: () => NotFoundError3,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service66,
34
+ Service: () => Service18,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node68
38
+ node: () => node21
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
42
42
  import { Context, Effect, Layer, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
44
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
45
- import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
+ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
46
46
  var ReadInput2 = Schema.Struct({
47
47
  path: RelativePath2
48
48
  });
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError8 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
58
- var Content3 = Schema.Struct({
58
+ var Content2 = Schema.Struct({
59
59
  uri: Schema.String,
60
60
  name: Schema.String.pipe(Schema.optional),
61
61
  content: Schema.String,
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput5 = Schema.Struct({
65
+ var ListInput2 = Schema.Struct({
66
66
  path: Schema.String.pipe(Schema.optional)
67
67
  });
68
68
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event14 = FileSystem.Event;
88
+ var Event5 = FileSystem.Event;
89
89
 
90
- class Service66 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service18 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service66, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service18, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
94
  const location = yield* Service80;
95
- const search = yield* Service67;
95
+ const search = yield* Service19;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service66, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service66.of({
106
+ return Service18.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service66, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node68 = makeLocationNode({
144
- service: Service66,
143
+ var node21 = makeLocationNode({
144
+ service: Service18,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node84, node69]
146
+ deps: [FSUtil.node, node84, node22]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError8, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event14, Service66, node68, exports_filesystem, Entry4, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service18, node21, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./filesystem-gd4qta3r.js";
3
+ } from "./repository-cache-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./filesystem-tvtrv512.js";
6
+ } from "./repository-cache-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./filesystem-rdw6cm16.js";
9
+ } from "./repository-cache-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./repository-cache-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service48,
21
+ Service: () => Service53,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node50
23
+ node: () => node57
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service48 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service53 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service48, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service53, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
116
116
  metadata: { ...result.metadata, truncated: true, outputPath: file }
117
117
  };
118
118
  });
119
- return Service48.of({
119
+ return Service53.of({
120
120
  transform: state.transform,
121
121
  reload: state.reload,
122
122
  truncate,
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
133
133
  layer: cleanupLayer,
134
134
  deps: [FSUtil.node, Global.node]
135
135
  });
136
- var node50 = makeLocationNode({
137
- service: Service48,
136
+ var node57 = makeLocationNode({
137
+ service: Service53,
138
138
  layer,
139
139
  deps: [FSUtil.node, Global.node, cleanupNode]
140
140
  });
141
141
 
142
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service48, node50, exports_tool_output2 };
142
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service53, node57, exports_tool_output2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./filesystem-1gfephy1.js";
4
+ } from "./repository-cache-m5gw4h36.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./filesystem-kkkrdp4w.js";
8
+ } from "./repository-cache-jd97cc84.js";
9
9
  import {
10
- ID10,
11
- Service62,
12
- node64
13
- } from "./filesystem-cj5wqxwp.js";
10
+ ID9,
11
+ Service65,
12
+ node68
13
+ } from "./repository-cache-ea3ghczx.js";
14
14
  import {
15
- NotFoundError6
16
- } from "./filesystem-cf01cagz.js";
15
+ NotFoundError9
16
+ } from "./repository-cache-32ymn5e1.js";
17
17
  import {
18
- Service59,
19
- node61
20
- } from "./filesystem-7601emta.js";
18
+ Service63,
19
+ node66
20
+ } from "./repository-cache-cn13n8vv.js";
21
21
  import {
22
22
  match2
23
- } from "./filesystem-y1fvbwt7.js";
23
+ } from "./repository-cache-y1fvbwt7.js";
24
24
  import {
25
- Service60,
26
- node62
27
- } from "./filesystem-xdh9m6e8.js";
25
+ Service64,
26
+ node67
27
+ } from "./repository-cache-36z7zph9.js";
28
28
  import {
29
- Service61,
30
- node63
31
- } from "./filesystem-5y480sgp.js";
29
+ Service66,
30
+ node69
31
+ } from "./repository-cache-qby9dwvd.js";
32
32
  import {
33
33
  __export
34
- } from "./filesystem-9rqn6x4v.js";
34
+ } from "./repository-cache-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,26 +42,26 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event11,
45
+ Event: () => Event14,
46
46
  ID: () => ID7,
47
- NotFoundError: () => NotFoundError5,
47
+ NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service58,
54
+ Service: () => Service62,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node60
58
+ node: () => node65
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event11 } from "@opencode/schema/permission";
64
+ import { Event as Event14 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
67
  var ID7 = Permission.ID;
@@ -79,7 +79,7 @@ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
80
  id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID10.pipe(Schema.optional)
82
+ agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
85
  requestID: ID7,
@@ -110,7 +110,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
114
  requestID: ID7
115
115
  }) {
116
116
  }
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service58 extends Context.Service()("@opencode/Permission") {
128
+ class Service62 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service58, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
132
  const location = yield* Service80;
133
- const agents = yield* Service62;
134
- const sessions = yield* Service59;
135
- const saved = yield* Service60;
136
- const hooks = yield* Service61;
133
+ const agents = yield* Service65;
134
+ const sessions = yield* Service63;
135
+ const saved = yield* Service64;
136
+ const hooks = yield* Service66;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError6({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError5({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service58.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service62.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node60 = makeLocationNode({
303
- service: Service58,
302
+ var node65 = makeLocationNode({
303
+ service: Service62,
304
304
  layer,
305
- deps: [node87, node84, node64, node61, node62, node63]
305
+ deps: [node87, node84, node68, node66, node67, node69]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service58, node60, exports_permission2, Rule3, Ruleset2, Event11 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service62, node65, exports_permission2, Rule3, Ruleset2, Event14 };