@opencode/core 0.0.0-dev-19635 → 0.0.0-dev-19637

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{instance-2n2brbh1.js → file-access-0addxkp5.js} +29 -29
  8. package/dist/chunks/{instance-ab9238g2.js → file-access-0ft9cg2j.js} +6 -6
  9. package/dist/chunks/{instance-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{instance-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
  11. package/dist/chunks/{instance-fsz0dsx4.js → file-access-0r581tt5.js} +9 -9
  12. package/dist/chunks/{instance-t9zs3egg.js → file-access-0v53mg2y.js} +4 -4
  13. package/dist/chunks/{instance-hc5mczam.js → file-access-0x7mekqw.js} +11 -11
  14. package/dist/chunks/{instance-166kng33.js → file-access-0xezjjjn.js} +8 -8
  15. package/dist/chunks/{instance-1k8jx657.js → file-access-11ayc5k1.js} +20 -20
  16. package/dist/chunks/{instance-q30pep78.js → file-access-17m608xa.js} +7 -7
  17. package/dist/chunks/{instance-m6jz8ftt.js → file-access-196s2236.js} +24 -24
  18. package/dist/chunks/{instance-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{instance-r0abqdjp.js → file-access-1gfa7nhd.js} +30 -30
  20. package/dist/chunks/{instance-e27kb02c.js → file-access-1ktgcqzb.js} +12 -12
  21. package/dist/chunks/{instance-8a2d0vrn.js → file-access-1szx0rct.js} +9 -9
  22. package/dist/chunks/{instance-1ygqh575.js → file-access-1ygqh575.js} +2 -2
  23. package/dist/chunks/{instance-pgt88jjk.js → file-access-1z24zf3x.js} +28 -28
  24. package/dist/chunks/{instance-1t6wbe7x.js → file-access-204v3eqv.js} +27 -27
  25. package/dist/chunks/{instance-21r38tys.js → file-access-21r38tys.js} +1 -1
  26. package/dist/chunks/{instance-6h73sxmp.js → file-access-2402vzrj.js} +5 -5
  27. package/dist/chunks/file-access-24q6q5zm.js +247 -0
  28. package/dist/chunks/file-access-2775jj4e.js +38 -0
  29. package/dist/chunks/{instance-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{instance-gdma6ywe.js → file-access-2d8e38yw.js} +11 -11
  31. package/dist/chunks/{instance-rp2adave.js → file-access-2jywpyj8.js} +25 -25
  32. package/dist/chunks/{instance-7zfa2ea9.js → file-access-2mzw0ev8.js} +47 -47
  33. package/dist/chunks/{instance-zq99cn5c.js → file-access-30ntgpz7.js} +20 -20
  34. package/dist/chunks/{instance-1t0has27.js → file-access-352n4qm2.js} +16 -16
  35. package/dist/chunks/{instance-591sw1be.js → file-access-3dz5wwbt.js} +10 -10
  36. package/dist/chunks/{instance-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{instance-zctze4hd.js → file-access-3h8hw3gv.js} +13 -13
  38. package/dist/chunks/{instance-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{instance-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{instance-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{instance-h2cg03xy.js → file-access-468d37b3.js} +11 -11
  42. package/dist/chunks/{instance-ekp7b106.js → file-access-490pvwh4.js} +28 -28
  43. package/dist/chunks/{instance-10fa3e52.js → file-access-4e8qeqw2.js} +8 -8
  44. package/dist/chunks/{instance-va5qff5x.js → file-access-4jv7e9dq.js} +9 -9
  45. package/dist/chunks/{instance-3pd62ywx.js → file-access-4tafv0me.js} +20 -20
  46. package/dist/chunks/file-access-4v7qdvcn.js +18 -0
  47. package/dist/chunks/{instance-cavr175a.js → file-access-50mzsvk4.js} +4 -4
  48. package/dist/chunks/{instance-nwsyn38z.js → file-access-55zx3jwd.js} +12 -12
  49. package/dist/chunks/{instance-8mfdap3f.js → file-access-56m60q16.js} +5 -5
  50. package/dist/chunks/{instance-2xp2qm03.js → file-access-5apets8e.js} +8 -8
  51. package/dist/chunks/{instance-w1k39n5e.js → file-access-5c0f1prt.js} +4 -4
  52. package/dist/chunks/{instance-5c4hm403.js → file-access-5c4hm403.js} +3 -3
  53. package/dist/chunks/{instance-m9p1yq74.js → file-access-5d6nmhah.js} +35 -35
  54. package/dist/chunks/{instance-5daktx2q.js → file-access-5daktx2q.js} +1 -1
  55. package/dist/chunks/{instance-h9ychfp9.js → file-access-5dyw5czf.js} +89 -89
  56. package/dist/chunks/{instance-826zxp38.js → file-access-5jhep4w0.js} +23 -23
  57. package/dist/chunks/{instance-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{instance-cbtkp588.js → file-access-64stfe7m.js} +18 -18
  59. package/dist/chunks/{instance-669tq793.js → file-access-669tq793.js} +1 -1
  60. package/dist/chunks/{instance-rytzcqhr.js → file-access-6d6cd74m.js} +11 -11
  61. package/dist/chunks/{instance-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
  62. package/dist/chunks/{instance-yedhv0xf.js → file-access-6n9rjysc.js} +5 -5
  63. package/dist/chunks/{instance-n4spxb2r.js → file-access-7374nn42.js} +19 -19
  64. package/dist/chunks/{instance-73tb2d7t.js → file-access-73tb2d7t.js} +1 -1
  65. package/dist/chunks/{instance-a29g3evn.js → file-access-76rf663v.js} +24 -24
  66. package/dist/chunks/{instance-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{instance-dbtv91d9.js → file-access-7gahrvww.js} +18 -18
  68. package/dist/chunks/{instance-rs2ah2zv.js → file-access-7mqb335e.js} +6 -6
  69. package/dist/chunks/{instance-sfqj9787.js → file-access-7qz0vyfs.js} +31 -31
  70. package/dist/chunks/{instance-5j5czzka.js → file-access-7zm7jxc7.js} +4 -4
  71. package/dist/chunks/{instance-9tp3q7na.js → file-access-890y149a.js} +8 -8
  72. package/dist/chunks/{instance-2tfmgkzg.js → file-access-89smrnyf.js} +4 -4
  73. package/dist/chunks/{instance-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{instance-1eqcc2r4.js → file-access-8dpx7m7d.js} +11 -11
  75. package/dist/chunks/{instance-0fywacwt.js → file-access-8nsc8gnz.js} +20 -20
  76. package/dist/chunks/{instance-4sfjpxr8.js → file-access-8v7kkkbw.js} +11 -11
  77. package/dist/chunks/{instance-b4d0cj93.js → file-access-8yk8gp0p.js} +11 -11
  78. package/dist/chunks/{instance-zhf0j6jc.js → file-access-912kkt9t.js} +9 -9
  79. package/dist/chunks/{instance-gh977vz6.js → file-access-92xny6nd.js} +3 -3
  80. package/dist/chunks/{instance-wx7dc4qf.js → file-access-9gfvx8yt.js} +16 -16
  81. package/dist/chunks/{instance-jspk0tfb.js → file-access-9k7ekhq9.js} +13 -13
  82. package/dist/chunks/{instance-jsnbhpsx.js → file-access-9ppknq4r.js} +8 -8
  83. package/dist/chunks/{instance-ajc1mtex.js → file-access-9t16ekdb.js} +25 -25
  84. package/dist/chunks/{instance-qn4ba14w.js → file-access-9zzv5pgc.js} +5 -5
  85. package/dist/chunks/{instance-jca4demv.js → file-access-a3r4dcrj.js} +2 -2
  86. package/dist/chunks/{instance-brcjnvtj.js → file-access-a5mt2rtc.js} +35 -35
  87. package/dist/chunks/{instance-060n3k4b.js → file-access-a8092cx4.js} +11 -11
  88. package/dist/chunks/{instance-aaet6srn.js → file-access-aaet6srn.js} +2 -2
  89. package/dist/chunks/{instance-se85wd8t.js → file-access-afes4715.js} +2 -2
  90. package/dist/chunks/{instance-45p0jzx4.js → file-access-ah3b0qta.js} +17 -17
  91. package/dist/chunks/{instance-k1e326n0.js → file-access-aj5f68bw.js} +32 -32
  92. package/dist/chunks/{instance-4ab87pyq.js → file-access-amtb1fgb.js} +10 -10
  93. package/dist/chunks/{instance-50y4djx1.js → file-access-apqkkg64.js} +10 -10
  94. package/dist/chunks/{instance-b8vqh511.js → file-access-b2rkp7aa.js} +7 -7
  95. package/dist/chunks/{instance-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
  96. package/dist/chunks/{instance-fk458b25.js → file-access-bh51kybc.js} +31 -31
  97. package/dist/chunks/{instance-2e44a81e.js → file-access-btrn8rgp.js} +44 -44
  98. package/dist/chunks/{instance-a4cawk2k.js → file-access-bycqfhhp.js} +4 -4
  99. package/dist/chunks/file-access-c07j17hk.js +474 -0
  100. package/dist/chunks/{instance-gj9znxmq.js → file-access-c8vbwmvy.js} +22 -22
  101. package/dist/chunks/{instance-tamv006t.js → file-access-c9ecbdb0.js} +7 -7
  102. package/dist/chunks/{instance-me0e9dqt.js → file-access-ccz297mt.js} +13 -13
  103. package/dist/chunks/{instance-znys3077.js → file-access-ch5zdy2s.js} +26 -26
  104. package/dist/chunks/{instance-vkcne02r.js → file-access-cjwxcw7h.js} +21 -21
  105. package/dist/chunks/{instance-d70c784z.js → file-access-ck2q371s.js} +5 -5
  106. package/dist/chunks/{instance-cwa6csj7.js → file-access-cwa6csj7.js} +2 -2
  107. package/dist/chunks/{instance-rnp37mvy.js → file-access-cz6y612w.js} +11 -11
  108. package/dist/chunks/{instance-57ez7d0k.js → file-access-d9s573fh.js} +2 -2
  109. package/dist/chunks/{instance-jn4j4mps.js → file-access-da5p2m5f.js} +15 -15
  110. package/dist/chunks/{instance-y8d52agp.js → file-access-det33w69.js} +5 -5
  111. package/dist/chunks/{instance-zzqjbrck.js → file-access-dffmtpj7.js} +9 -9
  112. package/dist/chunks/{instance-5gwf3qqg.js → file-access-dhxdeg25.js} +54 -54
  113. package/dist/chunks/{instance-dj2t23y0.js → file-access-dj2t23y0.js} +2 -2
  114. package/dist/chunks/{instance-rjk5vpvj.js → file-access-dr6h9h98.js} +34 -34
  115. package/dist/chunks/{instance-n0fbtq6v.js → file-access-dxzm7sqd.js} +3 -3
  116. package/dist/chunks/{instance-0wjwrw3b.js → file-access-e2609ak5.js} +5 -5
  117. package/dist/chunks/{instance-bndc73cn.js → file-access-e5nv3ght.js} +5 -5
  118. package/dist/chunks/{instance-qnj71chz.js → file-access-e5vq6wef.js} +4 -4
  119. package/dist/chunks/{instance-cjbnhaqt.js → file-access-e7vjkpcb.js} +2 -2
  120. package/dist/chunks/{instance-b0dsxdfz.js → file-access-ebw7vtp3.js} +35 -35
  121. package/dist/chunks/{instance-xk4erxsh.js → file-access-eezbyd6d.js} +1 -1
  122. package/dist/chunks/{instance-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{instance-vkmphgce.js → file-access-efzqyggw.js} +17 -17
  124. package/dist/chunks/{instance-fsdm0q9r.js → file-access-etbqe1sp.js} +4 -4
  125. package/dist/chunks/{instance-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{instance-7rsqaav9.js → file-access-ewvjyc2d.js} +8 -8
  127. package/dist/chunks/{instance-f41jkpkc.js → file-access-f55hhvzh.js} +4 -4
  128. package/dist/chunks/{instance-607tc6va.js → file-access-fcrkznn8.js} +5 -5
  129. package/dist/chunks/{instance-prq7hedt.js → file-access-fdms3n6w.js} +9 -9
  130. package/dist/chunks/{instance-wjgvwtf6.js → file-access-ffzfw6dq.js} +51 -51
  131. package/dist/chunks/{instance-7qpx0bap.js → file-access-fhj2ec39.js} +15 -15
  132. package/dist/chunks/{instance-tjecj44d.js → file-access-fstwsg2e.js} +34 -34
  133. package/dist/chunks/{instance-fxbjtjnd.js → file-access-fxbjtjnd.js} +1 -1
  134. package/dist/chunks/{instance-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  135. package/dist/chunks/{instance-batre1x2.js → file-access-gg8wv5as.js} +32 -32
  136. package/dist/chunks/{instance-qr8csav2.js → file-access-gqchpbtd.js} +5 -5
  137. package/dist/chunks/{instance-1kzp128k.js → file-access-grw98w6v.js} +23 -23
  138. package/dist/chunks/{instance-3a4rpbmf.js → file-access-gy9mz9hm.js} +28 -28
  139. package/dist/chunks/{instance-h03wrkyp.js → file-access-h03wrkyp.js} +2 -2
  140. package/dist/chunks/{instance-44h5tttr.js → file-access-h6r3nrb9.js} +4 -4
  141. package/dist/chunks/{instance-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  142. package/dist/chunks/{instance-ppgwn4z2.js → file-access-h7923tt2.js} +14 -14
  143. package/dist/chunks/{instance-6bv93mef.js → file-access-h8ptc2jy.js} +23 -23
  144. package/dist/chunks/{instance-hdnk95c8.js → file-access-hdnk95c8.js} +2 -2
  145. package/dist/chunks/{instance-cr07tj7n.js → file-access-hfvc964k.js} +5 -5
  146. package/dist/chunks/{instance-34x92rrh.js → file-access-hfx69nqz.js} +28 -28
  147. package/dist/chunks/{instance-q3fk6by4.js → file-access-hg3nex49.js} +8 -8
  148. package/dist/chunks/{instance-nhy5jxhy.js → file-access-hjt4xg1x.js} +4 -4
  149. package/dist/chunks/{instance-7xdy6aq6.js → file-access-hmfh1rh8.js} +12 -12
  150. package/dist/chunks/{instance-2jkak000.js → file-access-hpv156nq.js} +4 -4
  151. package/dist/chunks/{instance-8d1hsamf.js → file-access-hv8qssb6.js} +16 -16
  152. package/dist/chunks/{instance-r0exz0qe.js → file-access-j4gdw6gw.js} +15 -15
  153. package/dist/chunks/{instance-j56e64zr.js → file-access-j56e64zr.js} +1 -1
  154. package/dist/chunks/{instance-hmwx618s.js → file-access-j933w6sb.js} +18 -18
  155. package/dist/chunks/{instance-rgrj77kt.js → file-access-jcas26n6.js} +11 -11
  156. package/dist/chunks/{instance-nzq2sb5d.js → file-access-jdfjhp2e.js} +10 -10
  157. package/dist/chunks/{instance-q3t37ft6.js → file-access-jexxy024.js} +3 -3
  158. package/dist/chunks/{instance-bazdk738.js → file-access-jkpvc1gj.js} +25 -25
  159. package/dist/chunks/{instance-s5n44cg2.js → file-access-jsbpgh5s.js} +24 -24
  160. package/dist/chunks/{instance-2788qbgk.js → file-access-jy3pp1pb.js} +5 -5
  161. package/dist/chunks/{instance-64c9dvf5.js → file-access-k701emjf.js} +9 -9
  162. package/dist/chunks/{instance-m9be2bq5.js → file-access-kd6d57r1.js} +91 -91
  163. package/dist/chunks/{instance-sce9syps.js → file-access-kmkxeyh5.js} +14 -14
  164. package/dist/chunks/{instance-k83ztrvj.js → file-access-kq1t1162.js} +10 -10
  165. package/dist/chunks/{instance-01resvac.js → file-access-ks3vd1j0.js} +12 -12
  166. package/dist/chunks/{instance-kdycfykr.js → file-access-ky68ekyp.js} +9 -9
  167. package/dist/chunks/{instance-m0jqrx5p.js → file-access-m0jqrx5p.js} +2 -2
  168. package/dist/chunks/{instance-79dzr1xc.js → file-access-m17nagwc.js} +3 -3
  169. package/dist/chunks/{instance-tjxw1jwx.js → file-access-m6ay5emd.js} +23 -23
  170. package/dist/chunks/{instance-d5kkxyxh.js → file-access-m7qxvmyy.js} +22 -22
  171. package/dist/chunks/{instance-g6091hfp.js → file-access-m8y6a9gt.js} +43 -43
  172. package/dist/chunks/{instance-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/file-access-mqjrdake.js +26 -0
  174. package/dist/chunks/{instance-547kdna5.js → file-access-mrhssej4.js} +52 -52
  175. package/dist/chunks/{instance-06x8he3q.js → file-access-n4r3xatb.js} +4 -4
  176. package/dist/chunks/{instance-a1hbzj6r.js → file-access-nbygjmnq.js} +26 -26
  177. package/dist/chunks/{instance-wm918938.js → file-access-nmn5p8yd.js} +19 -19
  178. package/dist/chunks/{instance-mss6a1by.js → file-access-npmmx7a7.js} +6 -6
  179. package/dist/chunks/{instance-p37cw4rj.js → file-access-p37cw4rj.js} +1 -1
  180. package/dist/chunks/{instance-w58dk7dj.js → file-access-p459fsr1.js} +40 -40
  181. package/dist/chunks/{instance-qg0jgkcp.js → file-access-p630c9xd.js} +9 -9
  182. package/dist/chunks/{instance-m8s3m11q.js → file-access-paghhsgz.js} +5 -5
  183. package/dist/chunks/{instance-1xhfh7e4.js → file-access-pcd7pbnd.js} +24 -24
  184. package/dist/chunks/{instance-vwkfat5k.js → file-access-pf4e8y03.js} +19 -19
  185. package/dist/chunks/{instance-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  186. package/dist/chunks/{instance-pknna89w.js → file-access-pknna89w.js} +1 -1
  187. package/dist/chunks/{instance-8w4zhkbb.js → file-access-q0r2d8rn.js} +33 -33
  188. package/dist/chunks/{instance-zpe7sjqb.js → file-access-q2cy2y1a.js} +19 -19
  189. package/dist/chunks/{instance-9mqbwkms.js → file-access-q54epvg6.js} +11 -11
  190. package/dist/chunks/{instance-x0e6qwje.js → file-access-q5rhn9x0.js} +14 -14
  191. package/dist/chunks/file-access-qapv375x.js +4 -0
  192. package/dist/chunks/{instance-f4pygz2m.js → file-access-qehrwxjr.js} +35 -35
  193. package/dist/chunks/{instance-7je22f3n.js → file-access-qf53spd6.js} +24 -24
  194. package/dist/chunks/{instance-shwjhbw0.js → file-access-qrkqsxkr.js} +28 -28
  195. package/dist/chunks/{instance-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  196. package/dist/chunks/{instance-tdhxtg1m.js → file-access-r88mwysp.js} +41 -41
  197. package/dist/chunks/{instance-qvwkzgc7.js → file-access-r8t2xrpw.js} +18 -18
  198. package/dist/chunks/{instance-f2n192rq.js → file-access-r8xr0va3.js} +4 -4
  199. package/dist/chunks/{instance-r9mregkx.js → file-access-r9mregkx.js} +2 -2
  200. package/dist/chunks/{instance-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
  201. package/dist/chunks/{instance-vg6yw68f.js → file-access-rhr5fvwd.js} +11 -11
  202. package/dist/chunks/{instance-zeh9ct20.js → file-access-rq775frq.js} +2 -2
  203. package/dist/chunks/{instance-136jc1vm.js → file-access-rvh2fpxc.js} +4 -4
  204. package/dist/chunks/{instance-c6qj01m3.js → file-access-rw2xgg53.js} +17 -17
  205. package/dist/chunks/{instance-drknsq25.js → file-access-rytnjs8b.js} +16 -16
  206. package/dist/chunks/{instance-zeqsgxkv.js → file-access-rzbfacg9.js} +25 -25
  207. package/dist/chunks/{instance-qsp410xn.js → file-access-s0bax34n.js} +14 -14
  208. package/dist/chunks/{instance-31h715ad.js → file-access-s3ze4hah.js} +10 -10
  209. package/dist/chunks/{instance-6m3q7fwc.js → file-access-s52y66be.js} +18 -18
  210. package/dist/chunks/{instance-5szjmme7.js → file-access-s5trtwgj.js} +6 -6
  211. package/dist/chunks/{instance-72zhhj9f.js → file-access-s8cf5yxm.js} +7 -7
  212. package/dist/chunks/{instance-eaj1djv9.js → file-access-s8d7rejh.js} +6 -6
  213. package/dist/chunks/{instance-emdm4z9q.js → file-access-sa8j3x6g.js} +28 -28
  214. package/dist/chunks/{instance-mqzwkyay.js → file-access-sf0yp864.js} +6 -6
  215. package/dist/chunks/{instance-4nk1df0c.js → file-access-sfe15w4t.js} +20 -20
  216. package/dist/chunks/{instance-ahd542yp.js → file-access-sm965ndy.js} +8 -8
  217. package/dist/chunks/{instance-930t5myr.js → file-access-sn3rxfgj.js} +8 -8
  218. package/dist/chunks/{instance-sjc7g5xk.js → file-access-ss56yrvr.js} +33 -33
  219. package/dist/chunks/{instance-t2nqxb18.js → file-access-ssdhg7mn.js} +3 -3
  220. package/dist/chunks/{instance-nwnbg8h3.js → file-access-szrf2gp8.js} +32 -32
  221. package/dist/chunks/{instance-a0bsfx31.js → file-access-t192nm8m.js} +3 -3
  222. package/dist/chunks/{instance-2zcqxvvk.js → file-access-t271ntmg.js} +63 -63
  223. package/dist/chunks/{instance-2es559j3.js → file-access-t5dv71qx.js} +15 -15
  224. package/dist/chunks/{instance-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{instance-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
  226. package/dist/chunks/{instance-xba2e3x3.js → file-access-tcrhe9m8.js} +25 -25
  227. package/dist/chunks/{instance-tdstcens.js → file-access-tdstcens.js} +1 -1
  228. package/dist/chunks/{instance-t38qb0bq.js → file-access-tkfbqfej.js} +26 -26
  229. package/dist/chunks/{instance-tvtrv512.js → file-access-tvtrv512.js} +1 -1
  230. package/dist/chunks/{instance-p1zpfjkz.js → file-access-v24739yc.js} +12 -12
  231. package/dist/chunks/{instance-3a4nqtk2.js → file-access-v2rf49aq.js} +9 -9
  232. package/dist/chunks/{instance-edrmdtr5.js → file-access-v5dkyp31.js} +7 -7
  233. package/dist/chunks/{instance-wx1e50n0.js → file-access-v6ede5y2.js} +36 -32
  234. package/dist/chunks/{instance-8k35hfbq.js → file-access-v812h1xz.js} +12 -12
  235. package/dist/chunks/{instance-0c9v4ga2.js → file-access-vbctgszn.js} +51 -51
  236. package/dist/chunks/{instance-zyghnjwz.js → file-access-vbmj93bj.js} +4 -4
  237. package/dist/chunks/{instance-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  238. package/dist/chunks/{instance-avtmk6qy.js → file-access-vgxg80g2.js} +10 -10
  239. package/dist/chunks/{instance-88xt946r.js → file-access-vh7dp00t.js} +1 -1
  240. package/dist/chunks/{instance-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
  241. package/dist/chunks/{instance-c3cxj0mp.js → file-access-w1wd9tp2.js} +18 -18
  242. package/dist/chunks/{instance-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{instance-4zffjand.js → file-access-wa065q7p.js} +6 -6
  244. package/dist/chunks/{instance-xb6x0k58.js → file-access-wajqf0bb.js} +33 -33
  245. package/dist/chunks/{instance-bzf9dkn3.js → file-access-waqrje5a.js} +35 -35
  246. package/dist/chunks/{instance-wd87259q.js → file-access-wd87259q.js} +1 -1
  247. package/dist/chunks/{instance-3k2cch0y.js → file-access-wjcn38ba.js} +5 -5
  248. package/dist/chunks/{instance-s07zbgvs.js → file-access-www2df0c.js} +23 -23
  249. package/dist/chunks/{instance-7z7az0f5.js → file-access-x0511brf.js} +4 -4
  250. package/dist/chunks/{instance-zt10qcst.js → file-access-x0wxay44.js} +5 -5
  251. package/dist/chunks/{instance-sf48htw8.js → file-access-x182m7xa.js} +10 -10
  252. package/dist/chunks/{instance-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{instance-fvy7gd03.js → file-access-x2nqcre9.js} +8 -8
  254. package/dist/chunks/{instance-8g00as8d.js → file-access-xahw4cd4.js} +30 -30
  255. package/dist/chunks/{instance-pdk1kvfv.js → file-access-xc8sh4yv.js} +22 -22
  256. package/dist/chunks/{instance-patgj9rf.js → file-access-xdrba4jw.js} +9 -9
  257. package/dist/chunks/{instance-e8340df8.js → file-access-xe94yqgp.js} +6 -6
  258. package/dist/chunks/{instance-8b9qbt65.js → file-access-xf0yen68.js} +12 -12
  259. package/dist/chunks/{instance-bq2qc0vd.js → file-access-xg631j7a.js} +5 -5
  260. package/dist/chunks/{instance-n2zyzsnn.js → file-access-xh45r5pf.js} +17 -17
  261. package/dist/chunks/{instance-z3hcy28f.js → file-access-xmvk7qad.js} +44 -44
  262. package/dist/chunks/{instance-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{instance-4b53h51m.js → file-access-y2m441pc.js} +9 -9
  264. package/dist/chunks/{instance-dpkg50ah.js → file-access-y71avatq.js} +4 -4
  265. package/dist/chunks/{instance-gmjjhz4f.js → file-access-ybhbtxjg.js} +3 -3
  266. package/dist/chunks/{instance-sxzvkvgj.js → file-access-ycjb11n5.js} +6 -6
  267. package/dist/chunks/{instance-wva0sqbv.js → file-access-yd4pvbh8.js} +5 -5
  268. package/dist/chunks/{instance-zza7x726.js → file-access-ygk8sne3.js} +22 -22
  269. package/dist/chunks/{instance-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{instance-yrznvahk.js → file-access-yrznvahk.js} +2 -2
  271. package/dist/chunks/{instance-qf2kcv6a.js → file-access-ytgdyx08.js} +14 -14
  272. package/dist/chunks/{instance-gv6a8nnw.js → file-access-yyb7tjpc.js} +2 -2
  273. package/dist/chunks/{instance-qvac3vtv.js → file-access-yzcxy4rp.js} +42 -42
  274. package/dist/chunks/{instance-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{instance-dsg935wy.js → file-access-z4zzqkyn.js} +32 -32
  276. package/dist/chunks/{instance-z63w68vq.js → file-access-z63w68vq.js} +2 -2
  277. package/dist/chunks/{instance-wpt3ebeb.js → file-access-zc4efzed.js} +15 -15
  278. package/dist/chunks/{instance-sps8zhtw.js → file-access-zd6ydzqz.js} +22 -22
  279. package/dist/chunks/{instance-4jc5c4h4.js → file-access-zhq6vg7a.js} +1 -1
  280. package/dist/chunks/{instance-kzdcqyn1.js → file-access-zk8c4w5t.js} +5 -5
  281. package/dist/chunks/{instance-pbzhrq4h.js → file-access-zqfhgf5b.js} +171 -171
  282. package/dist/chunks/{instance-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{instance-8jwyw7nm.js → file-access-zs4gxp06.js} +17 -17
  284. package/dist/chunks/{instance-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +9 -9
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +84 -84
  289. package/dist/config/discovery.js +81 -81
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +105 -105
  292. package/dist/config/plugin/agent.js +122 -122
  293. package/dist/config/plugin/command.js +208 -208
  294. package/dist/config/plugin/compaction.js +158 -158
  295. package/dist/config/plugin/compatibility.js +140 -140
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +123 -123
  298. package/dist/config/plugin/image.js +122 -122
  299. package/dist/config/plugin/instruction.js +89 -89
  300. package/dist/config/plugin/location-watcher.js +124 -124
  301. package/dist/config/plugin/mcp.js +129 -129
  302. package/dist/config/plugin/policy.js +122 -122
  303. package/dist/config/plugin/provider.js +122 -122
  304. package/dist/config/plugin/reference.js +124 -124
  305. package/dist/config/plugin/shell.js +122 -122
  306. package/dist/config/plugin/skill-file.js +101 -101
  307. package/dist/config/plugin/skill.js +141 -141
  308. package/dist/config/plugin/snapshot.js +122 -122
  309. package/dist/config/plugin/source.js +125 -125
  310. package/dist/config/plugin/tool-output.js +124 -124
  311. package/dist/config/plugin/websearch.js +121 -121
  312. package/dist/config/plugin/worktree.js +124 -124
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +127 -127
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +84 -84
  318. package/dist/database/database.js +69 -69
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +78 -78
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +358 -357
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +3 -3
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +92 -92
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +94 -94
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +73 -73
  407. package/dist/file-access.js +101 -101
  408. package/dist/file-mutation.js +93 -93
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +2 -2
  417. package/dist/filesystem/location-watcher.js +225 -225
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +100 -100
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +99 -99
  423. package/dist/form.js +85 -85
  424. package/dist/formatter/builtins.js +2 -2
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +104 -104
  427. package/dist/git.js +10 -10
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +90 -90
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +354 -353
  452. package/dist/instruction-discovery.js +84 -84
  453. package/dist/instructions/builtins.js +86 -86
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +85 -85
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +68 -68
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-mutation.js +101 -101
  462. package/dist/location-service-map.js +81 -81
  463. package/dist/location-services.js +351 -350
  464. package/dist/location.js +84 -84
  465. package/dist/mcp/client.js +90 -90
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +122 -122
  468. package/dist/mcp/oauth.js +77 -77
  469. package/dist/mcp/stdio.js +89 -89
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +90 -90
  472. package/dist/model-resolver.js +97 -97
  473. package/dist/model.js +101 -101
  474. package/dist/models-dev.js +104 -104
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +81 -81
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +110 -110
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +87 -87
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +101 -101
  485. package/dist/plugin/command.js +96 -96
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +216 -216
  488. package/dist/plugin/instance.js +1 -1
  489. package/dist/plugin/internal.js +326 -325
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +95 -95
  492. package/dist/plugin/module.js +5 -5
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +101 -101
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  497. package/dist/plugin/provider/azure.js +121 -121
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  500. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  501. package/dist/plugin/provider/cohere.js +2 -2
  502. package/dist/plugin/provider/configured.js +118 -118
  503. package/dist/plugin/provider/digitalocean.js +92 -92
  504. package/dist/plugin/provider/dynamic.js +2 -2
  505. package/dist/plugin/provider/factory.js +1 -1
  506. package/dist/plugin/provider/gateway.js +2 -2
  507. package/dist/plugin/provider/github-copilot.js +92 -92
  508. package/dist/plugin/provider/gitlab.js +90 -90
  509. package/dist/plugin/provider/google-vertex.js +89 -89
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +76 -76
  512. package/dist/plugin/provider/lmstudio.js +121 -121
  513. package/dist/plugin/provider/modal.js +91 -91
  514. package/dist/plugin/provider/nvidia.js +1 -1
  515. package/dist/plugin/provider/ollama.js +121 -121
  516. package/dist/plugin/provider/openai.js +93 -93
  517. package/dist/plugin/provider/opencode.js +92 -92
  518. package/dist/plugin/provider/openrouter.js +90 -90
  519. package/dist/plugin/provider/perplexity.js +2 -2
  520. package/dist/plugin/provider/poe.js +77 -77
  521. package/dist/plugin/provider/prompt-cache-key.js +94 -0
  522. package/dist/plugin/provider/sap-ai-core.js +90 -90
  523. package/dist/plugin/provider/sdk-factory.js +1 -1
  524. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  525. package/dist/plugin/provider/venice.js +2 -2
  526. package/dist/plugin/provider/vercel.js +89 -89
  527. package/dist/plugin/provider/vllm.js +119 -119
  528. package/dist/plugin/provider/xai.js +90 -90
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +158 -157
  531. package/dist/plugin/sdk.js +73 -73
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +138 -138
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -340
  536. package/dist/plugin/update.js +6 -6
  537. package/dist/plugin/vcs/git.js +85 -85
  538. package/dist/plugin/vcs/hg.js +85 -85
  539. package/dist/plugin/warming.js +120 -120
  540. package/dist/plugin/websearch/exa.js +5 -5
  541. package/dist/plugin/websearch/firecrawl.js +8 -8
  542. package/dist/plugin/websearch/index.js +9 -9
  543. package/dist/plugin/websearch/mcp.js +2 -2
  544. package/dist/plugin/websearch/parallel.js +8 -8
  545. package/dist/plugin/websearch/tavily.js +6 -6
  546. package/dist/plugin/websearch/tinyfish.js +6 -6
  547. package/dist/plugin.js +227 -227
  548. package/dist/project/schema.js +2 -2
  549. package/dist/project/sql.js +4 -4
  550. package/dist/project.js +85 -85
  551. package/dist/provider.js +100 -100
  552. package/dist/pty/protocol.js +1 -1
  553. package/dist/pty/schema.js +3 -3
  554. package/dist/pty/ticket.js +1 -1
  555. package/dist/pty.js +95 -95
  556. package/dist/reference/instructions.js +88 -88
  557. package/dist/reference.js +90 -90
  558. package/dist/repository-cache.js +80 -80
  559. package/dist/repository.js +3 -3
  560. package/dist/ripgrep/binary.js +2 -2
  561. package/dist/ripgrep.js +96 -96
  562. package/dist/rpc.js +85 -85
  563. package/dist/schema.js +1 -1
  564. package/dist/session/command.js +73 -73
  565. package/dist/session/compaction.js +130 -130
  566. package/dist/session/context.js +150 -150
  567. package/dist/session/diff.js +87 -87
  568. package/dist/session/environment.js +5 -5
  569. package/dist/session/error.js +3 -3
  570. package/dist/session/event.js +1 -1
  571. package/dist/session/execution/restart.js +222 -222
  572. package/dist/session/execution.js +125 -125
  573. package/dist/session/generate.js +151 -151
  574. package/dist/session/history.js +13 -13
  575. package/dist/session/inbox.js +89 -89
  576. package/dist/session/info.js +3 -3
  577. package/dist/session/instruction-entry.js +78 -78
  578. package/dist/session/instruction-state.js +8 -8
  579. package/dist/session/instructions.js +96 -96
  580. package/dist/session/message-updater.js +4 -4
  581. package/dist/session/message.js +1 -1
  582. package/dist/session/model-request.js +115 -115
  583. package/dist/session/model-transport.js +7 -7
  584. package/dist/session/move.js +129 -129
  585. package/dist/session/projector.js +85 -85
  586. package/dist/session/prompt.js +104 -104
  587. package/dist/session/provider-context.js +3 -3
  588. package/dist/session/revert.js +89 -89
  589. package/dist/session/run-coordinator.js +3 -3
  590. package/dist/session/runner/index.js +3 -3
  591. package/dist/session/runner/llm.js +226 -226
  592. package/dist/session/runner/max-steps.js +1 -1
  593. package/dist/session/runner/model.js +97 -97
  594. package/dist/session/runner/publish-llm-event.js +3 -3
  595. package/dist/session/runner/retry.js +111 -111
  596. package/dist/session/runner/step.js +122 -122
  597. package/dist/session/runner/to-llm-message.js +2 -2
  598. package/dist/session/schema.js +5 -5
  599. package/dist/session/session.js +171 -171
  600. package/dist/session/shell.js +137 -137
  601. package/dist/session/skill.js +102 -102
  602. package/dist/session/sql.js +5 -5
  603. package/dist/session/stats.js +74 -74
  604. package/dist/session/store.js +86 -86
  605. package/dist/session/subagent-completion.js +1 -1
  606. package/dist/session/subagent-job.js +206 -206
  607. package/dist/session/system-prompt.js +3 -3
  608. package/dist/session/title.js +154 -154
  609. package/dist/session/to-session-error.js +110 -110
  610. package/dist/session/transfer.js +221 -221
  611. package/dist/session/usage.js +1 -1
  612. package/dist/session.js +214 -214
  613. package/dist/shell/parse.js +6 -6
  614. package/dist/shell/result.js +1 -1
  615. package/dist/shell/scan.js +1 -1
  616. package/dist/shell/select.js +15 -15
  617. package/dist/shell.js +139 -139
  618. package/dist/skill/discovery.js +6 -6
  619. package/dist/skill/instructions.js +102 -102
  620. package/dist/skill.js +109 -109
  621. package/dist/snapshot.js +90 -90
  622. package/dist/state.js +1 -1
  623. package/dist/tool/html-markdown.js +1 -1
  624. package/dist/tool/http-body.js +1 -1
  625. package/dist/tool/mcp.js +121 -121
  626. package/dist/tool/plugin/edit.js +117 -117
  627. package/dist/tool/plugin/file-diff.js +1 -1
  628. package/dist/tool/plugin/glob.js +123 -123
  629. package/dist/tool/plugin/grep.js +123 -123
  630. package/dist/tool/plugin/opencode.js +3 -3
  631. package/dist/tool/plugin/patch.js +115 -115
  632. package/dist/tool/plugin/question.js +102 -102
  633. package/dist/tool/plugin/read.js +124 -124
  634. package/dist/tool/plugin/shell.js +213 -213
  635. package/dist/tool/plugin/skill.js +110 -110
  636. package/dist/tool/plugin/subagent.js +213 -213
  637. package/dist/tool/plugin/webfetch.js +109 -109
  638. package/dist/tool/plugin/websearch.js +111 -111
  639. package/dist/tool/plugin/write.js +121 -121
  640. package/dist/tool/read-filesystem.js +99 -99
  641. package/dist/tool/runtime.js +1 -1
  642. package/dist/tool-output.js +8 -8
  643. package/dist/tool.js +11 -11
  644. package/dist/types/model.d.ts +3 -0
  645. package/dist/types/plugin/provider/prompt-cache-key.d.ts +1 -0
  646. package/dist/types/v1/config/migrate.d.ts +1 -0
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +5 -5
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +7 -7
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +91 -91
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/variant.js +90 -90
  674. package/dist/vcs/patch.js +1 -1
  675. package/dist/vcs.js +88 -88
  676. package/dist/websearch.js +83 -83
  677. package/dist/wellknown/plugin.js +75 -75
  678. package/dist/wellknown.js +78 -78
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +77 -77
  682. package/dist/worktree/directory.js +2 -2
  683. package/dist/worktree/git.js +10 -10
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree/strategies.js +88 -88
  686. package/dist/worktree.js +95 -95
  687. package/package.json +8 -8
  688. package/dist/chunks/instance-04kk8vm7.js +0 -247
  689. package/dist/chunks/instance-0mesazry.js +0 -4
  690. package/dist/chunks/instance-fx692e39.js +0 -26
  691. package/dist/chunks/instance-tznm8gnf.js +0 -474
  692. package/dist/chunks/instance-vnkjks7b.js +0 -18
  693. /package/dist/chunks/{instance-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{instance-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{instance-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{instance-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{instance-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{instance-24dcb14g.js → file-access-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{instance-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{instance-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{instance-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{instance-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{instance-3asan66x.js → file-access-3asan66x.js} +0 -0
  704. /package/dist/chunks/{instance-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{instance-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{instance-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{instance-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{instance-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{instance-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{instance-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{instance-53557ph1.js → file-access-53557ph1.js} +0 -0
  712. /package/dist/chunks/{instance-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{instance-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{instance-6prwharc.js → file-access-6prwharc.js} +0 -0
  715. /package/dist/chunks/{instance-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{instance-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{instance-822emrt2.js → file-access-822emrt2.js} +0 -0
  718. /package/dist/chunks/{instance-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{instance-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{instance-922hggd3.js → file-access-922hggd3.js} +0 -0
  721. /package/dist/chunks/{instance-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{instance-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{instance-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{instance-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{instance-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{instance-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{instance-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{instance-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{instance-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{instance-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{instance-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{instance-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{instance-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{instance-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{instance-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{instance-df08tz66.js → file-access-df08tz66.js} +0 -0
  737. /package/dist/chunks/{instance-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{instance-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{instance-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{instance-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{instance-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{instance-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{instance-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{instance-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{instance-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{instance-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{instance-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{instance-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{instance-g86h250q.js → file-access-g86h250q.js} +0 -0
  750. /package/dist/chunks/{instance-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{instance-gftt206x.js → file-access-gftt206x.js} +0 -0
  752. /package/dist/chunks/{instance-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{instance-hk9envan.js → file-access-hk9envan.js} +0 -0
  754. /package/dist/chunks/{instance-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{instance-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{instance-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{instance-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{instance-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{instance-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{instance-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{instance-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{instance-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{instance-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{instance-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{instance-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{instance-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{instance-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{instance-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{instance-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{instance-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{instance-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{instance-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{instance-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{instance-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{instance-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{instance-twg0f83k.js → file-access-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{instance-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{instance-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{instance-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{instance-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{instance-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{instance-x61499pn.js → file-access-x61499pn.js} +0 -0
  783. /package/dist/chunks/{instance-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{instance-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{instance-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{instance-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{instance-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{instance-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./instance-wx7dc4qf.js";
2
+ Service81,
3
+ node85
4
+ } from "./file-access-9gfvx8yt.js";
5
5
  import {
6
6
  create3
7
- } from "./instance-rdw6cm16.js";
7
+ } from "./file-access-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./instance-9rqn6x4v.js";
10
+ } from "./file-access-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event20,
18
- ID: () => ID16,
19
- Info: () => Info31,
17
+ Event: () => Event15,
18
+ ID: () => ID10,
19
+ Info: () => Info24,
20
20
  Name: () => Name3,
21
- Service: () => Service74,
21
+ Service: () => Service70,
22
22
  defaultID: () => defaultID2,
23
- node: () => node78
23
+ node: () => node74
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event20 } from "@opencode/schema/agent";
30
+ import { Event as Event15 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID16 = Agent.ID;
33
+ var ID10 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID16.make("build");
35
+ var defaultID2 = ID10.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info31 = Agent.Info;
37
+ var Info24 = Agent.Info;
38
38
 
39
- class Service74 extends Context.Service()("@opencode/Agent") {
39
+ class Service70 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service74, Effect.gen(function* () {
42
- const bus = yield* Service80;
41
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
42
+ const bus = yield* Service81;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
45
45
  { action: "external_directory", resource: SHELL_OUTPUT_GLOB(global.data), effect: "allow" },
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info31.default(id);
60
+ const defaults = Info24.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID16.make("build")));
82
+ const build = selectable(data.agents.get(ID10.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service74.of({
91
+ return Service70.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID16.make(id));
99
+ return state.get().agents.get(ID10.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID16.make(id);
104
+ const selected = ID10.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node78 = makeLocationNode({ service: Service74, layer, deps: [node84, Global.node] });
119
+ var node74 = makeLocationNode({ service: Service70, layer, deps: [node85, Global.node] });
120
120
 
121
- export { ID16, Name3, defaultID2, Color2, Info31, Service74, node78, exports_agent4, Event20 };
121
+ export { ID10, Name3, defaultID2, Color2, Info24, Service70, node74, exports_agent4, Event15 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./instance-emrn6kk6.js";
5
+ } from "./file-access-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service81
3
- } from "./instance-rytzcqhr.js";
2
+ Service82
3
+ } from "./file-access-6d6cd74m.js";
4
4
  import {
5
- Service42
6
- } from "./instance-sxzvkvgj.js";
5
+ Service61
6
+ } from "./file-access-ycjb11n5.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./instance-vnkjks7b.js";
9
+ } from "./file-access-4v7qdvcn.js";
10
10
  import {
11
11
  provenance2
12
- } from "./instance-w1k39n5e.js";
12
+ } from "./file-access-5c0f1prt.js";
13
13
  import {
14
14
  preview2
15
- } from "./instance-jsnbhpsx.js";
15
+ } from "./file-access-9ppknq4r.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./instance-pgt88jjk.js";
18
+ } from "./file-access-1z24zf3x.js";
19
19
  import {
20
- Service23
21
- } from "./instance-h9ychfp9.js";
20
+ Service25
21
+ } from "./file-access-5dyw5czf.js";
22
22
  import {
23
23
  __export
24
- } from "./instance-9rqn6x4v.js";
24
+ } from "./file-access-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate2 = {};
28
- __export(exports_generate2, {
29
- SessionGenerate: () => exports_generate2,
27
+ var exports_generate = {};
28
+ __export(exports_generate, {
29
+ SessionGenerate: () => exports_generate,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service42;
36
- const database = yield* Service81;
35
+ const instances = yield* Service61;
36
+ const database = yield* Service82;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service23;
40
+ const context = yield* Service25;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate2 };
74
+ export { generate2, exports_generate };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./instance-fxgpk5d8.js";
3
+ } from "./file-access-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./instance-g4wezp1m.js";
6
+ } from "./file-access-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./instance-x61499pn.js";
9
+ } from "./file-access-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./instance-af5trqkr.js";
12
+ } from "./file-access-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./instance-afrmfg78.js";
15
+ } from "./file-access-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./instance-x0ckcb58.js";
18
+ } from "./file-access-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./instance-wx7dc4qf.js";
2
+ Service81,
3
+ node85
4
+ } from "./file-access-9gfvx8yt.js";
5
5
  import {
6
6
  environment2
7
- } from "./instance-gj9znxmq.js";
7
+ } from "./file-access-c8vbwmvy.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./instance-sk3qaz4a.js";
10
+ } from "./file-access-sk3qaz4a.js";
11
11
  import {
12
12
  __export
13
- } from "./instance-9rqn6x4v.js";
13
+ } from "./file-access-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
17
17
  __export(exports_persistent_pty, {
18
18
  Handoff: () => Handoff2,
19
- NotFoundError: () => NotFoundError11,
20
- Options: () => Options9,
19
+ NotFoundError: () => NotFoundError2,
20
+ Options: () => Options2,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service78,
23
- UnavailableError: () => UnavailableError3,
24
- configured: () => configured10,
25
- layer: () => layer25,
26
- node: () => node82
22
+ Service: () => Service13,
23
+ UnavailableError: () => UnavailableError2,
24
+ configured: () => configured2,
25
+ layer: () => layer8,
26
+ node: () => node16
27
27
  });
28
28
  import os from "node:os";
29
29
  import path from "node:path";
@@ -35,22 +35,22 @@ import { Pty } from "@opencode/schema/pty";
35
35
  import { Global } from "@opencode/util/global";
36
36
  import { resolveBinary } from "#persistent-pty-binary";
37
37
  import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
38
- var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
38
+ var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
39
39
 
40
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
40
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
41
41
  message: Schema.String
42
42
  }) {
43
43
  }
44
44
 
45
- class NotFoundError11 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
45
+ class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
46
46
  ptyID: Pty.ID
47
47
  }) {
48
48
  }
49
49
 
50
- class Service78 extends Context.Service()("@opencode/PersistentPty") {
50
+ class Service13 extends Context.Service()("@opencode/PersistentPty") {
51
51
  }
52
- var makeLayer = (options = {}) => Layer.effect(Service78, Effect.gen(function* () {
53
- const bus = yield* Service80;
52
+ var makeLayer = (options = {}) => Layer.effect(Service13, Effect.gen(function* () {
53
+ const bus = yield* Service81;
54
54
  const global = yield* Global.Service;
55
55
  const context = yield* Effect.context();
56
56
  const runFork = Effect.runForkWith(context);
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service78, Effect.gen(function* (
72
72
  const get = Effect.fn("PersistentPty.get")(function* (id) {
73
73
  const found = (yield* list()).find((terminal) => terminal.id === id);
74
74
  if (!found)
75
- return yield* new NotFoundError11({ ptyID: id });
75
+ return yield* new NotFoundError2({ ptyID: id });
76
76
  return found;
77
77
  });
78
78
  const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
@@ -162,7 +162,7 @@ var makeLayer = (options = {}) => Layer.effect(Service78, Effect.gen(function* (
162
162
  });
163
163
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
164
164
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
165
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
165
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
166
166
  const id = current.get(sessionID);
167
167
  if (!id)
168
168
  return null;
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service78, Effect.gen(function* (
239
239
  detach: attachment.detach
240
240
  };
241
241
  });
242
- return Service78.of({
242
+ return Service13.of({
243
243
  list,
244
244
  get,
245
245
  create,
@@ -255,17 +255,17 @@ var makeLayer = (options = {}) => Layer.effect(Service78, Effect.gen(function* (
255
255
  attach
256
256
  });
257
257
  }));
258
- var layer25 = makeLayer();
259
- var configured10 = (options) => makeGlobalNode({
260
- service: Service78,
261
- layer: options === undefined ? layer25 : makeLayer(options),
262
- deps: [node84, Global.node]
258
+ var layer8 = makeLayer();
259
+ var configured2 = (options) => makeGlobalNode({
260
+ service: Service13,
261
+ layer: options === undefined ? layer8 : makeLayer(options),
262
+ deps: [node85, Global.node]
263
263
  });
264
- var node82 = configured10();
264
+ var node16 = configured2();
265
265
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
266
266
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
267
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
268
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
267
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
268
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
269
269
  var runtimeDirectory = () => {
270
270
  const root = process.env.OPENCODE_PTY_RUNTIME_DIR ?? (process.env.XDG_RUNTIME_DIR ? path.join(process.env.XDG_RUNTIME_DIR, "opencode-pty") : path.join(os.tmpdir(), `opencode-pty-${typeof process.getuid === "function" ? process.getuid() : process.env.USER || "unknown"}`));
271
271
  return path.join(root, crypto.randomUUID());
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options9, UnavailableError3, NotFoundError11, Service78, layer25, configured10, node82, exports_persistent_pty, Handoff2 };
304
+ export { Options2, UnavailableError2, NotFoundError2, Service13, layer8, configured2, node16, exports_persistent_pty, Handoff2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service59
3
- } from "./instance-7je22f3n.js";
2
+ Service56
3
+ } from "./file-access-qf53spd6.js";
4
4
  import {
5
5
  __export
6
- } from "./instance-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service59;
22
+ const environment = yield* Service56;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service43
3
- } from "./instance-emdm4z9q.js";
2
+ Service39
3
+ } from "./file-access-sa8j3x6g.js";
4
4
  import {
5
- Service42
6
- } from "./instance-sxzvkvgj.js";
5
+ Service61
6
+ } from "./file-access-ycjb11n5.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./instance-vnkjks7b.js";
9
+ } from "./file-access-4v7qdvcn.js";
10
10
  import {
11
11
  __export
12
- } from "./instance-9rqn6x4v.js";
12
+ } from "./file-access-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service42;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service43), instances.provide(input.session));
22
+ const instances = yield* Service61;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -5,17 +5,17 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./instance-eaj1djv9.js";
8
+ } from "./file-access-s8d7rejh.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./instance-ec1grn59.js";
11
+ } from "./file-access-ec1grn59.js";
12
12
  import {
13
13
  InstructionBlobTable2,
14
14
  InstructionStateTable2
15
- } from "./instance-5c4hm403.js";
15
+ } from "./file-access-5c4hm403.js";
16
16
  import {
17
17
  __export
18
- } from "./instance-9rqn6x4v.js";
18
+ } from "./file-access-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instruction-state.ts
21
21
  var exports_instruction_state = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./instance-qaymkmh1.js";
3
+ } from "./file-access-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service37
3
- } from "./instance-d5kkxyxh.js";
2
+ Service47
3
+ } from "./file-access-m7qxvmyy.js";
4
4
  import {
5
- Service36
6
- } from "./instance-z3hcy28f.js";
5
+ Service46
6
+ } from "./file-access-xmvk7qad.js";
7
7
  import {
8
8
  parse2
9
- } from "./instance-fsdm0q9r.js";
9
+ } from "./file-access-etbqe1sp.js";
10
10
  import {
11
11
  __export
12
- } from "./instance-9rqn6x4v.js";
12
+ } from "./file-access-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin31
18
+ Plugin: () => Plugin37
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin31 = define({
24
+ var Plugin37 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service36;
27
+ const config = yield* Service46;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service37;
29
+ const watcher = yield* Service47;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin31 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin31, exports_compatibility };
76
+ export { Plugin37, exports_compatibility };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service81,
3
- node85
4
- } from "./instance-rytzcqhr.js";
2
+ Service82,
3
+ node86
4
+ } from "./file-access-6d6cd74m.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./instance-hdnk95c8.js";
7
+ } from "./file-access-hdnk95c8.js";
8
8
  import {
9
9
  __export
10
- } from "./instance-9rqn6x4v.js";
10
+ } from "./file-access-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
- ID: () => ID14,
17
- Info: () => Info29,
18
- ListInput: () => ListInput5,
16
+ ID: () => ID9,
17
+ Info: () => Info22,
18
+ ListInput: () => ListInput4,
19
19
  PermissionSaved: () => exports_saved,
20
- Service: () => Service73,
21
- node: () => node77
20
+ Service: () => Service67,
21
+ node: () => node71
22
22
  });
23
23
  import { eq } from "drizzle-orm";
24
24
  import { Context, Effect, Layer, Schema } from "effect";
25
25
  import { Project } from "@opencode/schema/project";
26
26
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
27
27
  import { PermissionSaved } from "@opencode/schema/permission-saved";
28
- var ID14 = PermissionSaved.ID;
29
- var Info29 = PermissionSaved.Info;
30
- var ListInput5 = Schema.Struct({
28
+ var ID9 = PermissionSaved.ID;
29
+ var Info22 = PermissionSaved.Info;
30
+ var ListInput4 = Schema.Struct({
31
31
  projectID: Project.ID.pipe(Schema.optional)
32
32
  }).annotate({ identifier: "PermissionSaved.ListInput" });
33
33
  var AddInput2 = Schema.Struct({
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
36
36
  resources: Schema.Array(Schema.String)
37
37
  }).annotate({ identifier: "PermissionSaved.AddInput" });
38
38
 
39
- class Service73 extends Context.Service()("@opencode/PermissionSaved") {
39
+ class Service67 extends Context.Service()("@opencode/PermissionSaved") {
40
40
  }
41
- var layer = Layer.effect(Service73, Effect.gen(function* () {
42
- const db = (yield* Service81).db;
41
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
42
+ const db = (yield* Service82).db;
43
43
  const list = Effect.fnUntraced(function* (input) {
44
44
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
45
45
  return rows.map((row) => ({
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
53
53
  if (!input.resources.length)
54
54
  return;
55
55
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
56
- id: ID14.create(),
56
+ id: ID9.create(),
57
57
  project_id: input.projectID,
58
58
  action: input.action,
59
59
  resource
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
62
62
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
63
63
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
64
64
  });
65
- return Service73.of({ list, add, remove });
65
+ return Service67.of({ list, add, remove });
66
66
  }));
67
- var node77 = makeGlobalNode({ service: Service73, layer, deps: [node85] });
67
+ var node71 = makeGlobalNode({ service: Service67, layer, deps: [node86] });
68
68
 
69
- export { ID14, Info29, ListInput5, AddInput2, Service73, node77, exports_saved };
69
+ export { ID9, Info22, ListInput4, AddInput2, Service67, node71, exports_saved };
@@ -1,21 +1,21 @@
1
1
  import {
2
- ID9,
2
+ ID13,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  mergeOverlay2
6
- } from "./instance-b0dsxdfz.js";
6
+ } from "./file-access-ebw7vtp3.js";
7
7
  import {
8
8
  __export
9
- } from "./instance-9rqn6x4v.js";
9
+ } from "./file-access-9rqn6x4v.js";
10
10
 
11
11
  // src/aisdk.ts
12
12
  var exports_aisdk = {};
13
13
  __export(exports_aisdk, {
14
14
  AISDK: () => exports_aisdk,
15
15
  InitError: () => InitError2,
16
- Service: () => Service46,
16
+ Service: () => Service72,
17
17
  locationLayer: () => locationLayer2,
18
- node: () => node48
18
+ node: () => node76
19
19
  });
20
20
  import { makeLocationNode } from "@opencode/util/effect/app-node";
21
21
  import { APICallError } from "@ai-sdk/provider";
@@ -128,7 +128,7 @@ function prepareOptions(model, pkg) {
128
128
  }
129
129
 
130
130
  class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
131
- providerID: ID9,
131
+ providerID: ID13,
132
132
  cause: Schema.Defect()
133
133
  }) {
134
134
  }
@@ -136,9 +136,9 @@ function initError(providerID) {
136
136
  return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
137
137
  }
138
138
 
139
- class Service46 extends Context.Service()("@opencode/AISDK") {
139
+ class Service72 extends Context.Service()("@opencode/AISDK") {
140
140
  }
141
- var locationLayer2 = Layer.effect(Service46, Effect.gen(function* () {
141
+ var locationLayer2 = Layer.effect(Service72, Effect.gen(function* () {
142
142
  let sdkHooks = [];
143
143
  let languageHooks = [];
144
144
  const languages = new Map;
@@ -176,7 +176,7 @@ var locationLayer2 = Layer.effect(Service46, Effect.gen(function* () {
176
176
  }
177
177
  return event;
178
178
  });
179
- const service = Service46.of({
179
+ const service = Service72.of({
180
180
  hook: {
181
181
  sdk: register(() => sdkHooks, (next) => sdkHooks = next),
182
182
  language: register(() => languageHooks, (next) => languageHooks = next)
@@ -817,6 +817,6 @@ function providerErrorMessage(error) {
817
817
  const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
818
818
  return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
819
819
  }
820
- var node48 = makeLocationNode({ service: Service46, layer: locationLayer2, deps: [] });
820
+ var node76 = makeLocationNode({ service: Service72, layer: locationLayer2, deps: [] });
821
821
 
822
- export { InitError2, Service46, locationLayer2, node48, exports_aisdk };
822
+ export { InitError2, Service72, locationLayer2, node76, exports_aisdk };