@opencode/core 0.0.0-dev-19636 → 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 +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{filesystem-wgwsgwdw.js → file-access-0addxkp5.js} +23 -23
  8. package/dist/chunks/{filesystem-rp8jz6x1.js → file-access-0ft9cg2j.js} +4 -4
  9. package/dist/chunks/{filesystem-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{filesystem-0q0f95c6.js → file-access-0q0f95c6.js} +1 -1
  11. package/dist/chunks/{filesystem-4xzs0z00.js → file-access-0r581tt5.js} +6 -6
  12. package/dist/chunks/{filesystem-bct739vz.js → file-access-0v53mg2y.js} +4 -4
  13. package/dist/chunks/{filesystem-5h05hjvz.js → file-access-0x7mekqw.js} +11 -11
  14. package/dist/chunks/{filesystem-fqtvmpfq.js → file-access-0xezjjjn.js} +8 -8
  15. package/dist/chunks/{filesystem-294fw6fk.js → file-access-11ayc5k1.js} +16 -16
  16. package/dist/chunks/{filesystem-w7ar50ta.js → file-access-17m608xa.js} +7 -7
  17. package/dist/chunks/{filesystem-rba8598g.js → file-access-196s2236.js} +24 -24
  18. package/dist/chunks/{filesystem-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{filesystem-2a7p2dsd.js → file-access-1gfa7nhd.js} +29 -29
  20. package/dist/chunks/{filesystem-628568aw.js → file-access-1ktgcqzb.js} +12 -12
  21. package/dist/chunks/{filesystem-bwza20cw.js → file-access-1szx0rct.js} +13 -13
  22. package/dist/chunks/{filesystem-33w4ejhs.js → file-access-1ygqh575.js} +6 -6
  23. package/dist/chunks/{filesystem-2begppk9.js → file-access-1z24zf3x.js} +32 -32
  24. package/dist/chunks/{filesystem-1nr6pf8e.js → file-access-204v3eqv.js} +27 -27
  25. package/dist/chunks/{filesystem-21r38tys.js → file-access-21r38tys.js} +1 -1
  26. package/dist/chunks/{filesystem-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/{filesystem-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{filesystem-f3w2w69r.js → file-access-2d8e38yw.js} +11 -11
  31. package/dist/chunks/{filesystem-v1e70071.js → file-access-2jywpyj8.js} +27 -27
  32. package/dist/chunks/{filesystem-36sxhdsk.js → file-access-2mzw0ev8.js} +47 -47
  33. package/dist/chunks/{filesystem-3fqm51rm.js → file-access-30ntgpz7.js} +23 -23
  34. package/dist/chunks/{filesystem-5dgzn4tn.js → file-access-352n4qm2.js} +16 -16
  35. package/dist/chunks/{filesystem-xkhxx58a.js → file-access-3dz5wwbt.js} +10 -10
  36. package/dist/chunks/{filesystem-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{filesystem-0e31t5vv.js → file-access-3h8hw3gv.js} +13 -13
  38. package/dist/chunks/{filesystem-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{filesystem-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{filesystem-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{filesystem-j4450fcx.js → file-access-468d37b3.js} +11 -11
  42. package/dist/chunks/{filesystem-xdww2rec.js → file-access-490pvwh4.js} +26 -26
  43. package/dist/chunks/{filesystem-hdthj1pw.js → file-access-4e8qeqw2.js} +8 -8
  44. package/dist/chunks/{filesystem-4541pte3.js → file-access-4jv7e9dq.js} +9 -9
  45. package/dist/chunks/{filesystem-zs77z4r0.js → file-access-4tafv0me.js} +23 -23
  46. package/dist/chunks/file-access-4v7qdvcn.js +18 -0
  47. package/dist/chunks/{filesystem-f3ngv102.js → file-access-50mzsvk4.js} +4 -4
  48. package/dist/chunks/{filesystem-ahzc4xqv.js → file-access-55zx3jwd.js} +15 -15
  49. package/dist/chunks/{filesystem-6hcnmam1.js → file-access-56m60q16.js} +5 -5
  50. package/dist/chunks/{filesystem-2fjrq4z2.js → file-access-5apets8e.js} +8 -8
  51. package/dist/chunks/{filesystem-paegk39x.js → file-access-5c0f1prt.js} +4 -4
  52. package/dist/chunks/{filesystem-5c4hm403.js → file-access-5c4hm403.js} +3 -3
  53. package/dist/chunks/{filesystem-xvcyhft3.js → file-access-5d6nmhah.js} +31 -31
  54. package/dist/chunks/{filesystem-5daktx2q.js → file-access-5daktx2q.js} +1 -1
  55. package/dist/chunks/{filesystem-tjfjg9xy.js → file-access-5dyw5czf.js} +88 -88
  56. package/dist/chunks/{filesystem-jzw9fxht.js → file-access-5jhep4w0.js} +28 -28
  57. package/dist/chunks/{filesystem-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{filesystem-w2pmhvrv.js → file-access-64stfe7m.js} +18 -18
  59. package/dist/chunks/{filesystem-669tq793.js → file-access-669tq793.js} +1 -1
  60. package/dist/chunks/{filesystem-ysstqnzc.js → file-access-6d6cd74m.js} +3 -3
  61. package/dist/chunks/{filesystem-6msgmcgs.js → file-access-6msgmcgs.js} +1 -1
  62. package/dist/chunks/{filesystem-4ne2b2yw.js → file-access-6n9rjysc.js} +3 -3
  63. package/dist/chunks/{filesystem-jbpnby0z.js → file-access-7374nn42.js} +17 -17
  64. package/dist/chunks/{filesystem-1bbkgx8g.js → file-access-73tb2d7t.js} +3 -3
  65. package/dist/chunks/{filesystem-e5epjp6e.js → file-access-76rf663v.js} +21 -21
  66. package/dist/chunks/{filesystem-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
  67. package/dist/chunks/{filesystem-g0avntpg.js → file-access-7gahrvww.js} +12 -12
  68. package/dist/chunks/{filesystem-fq9618wy.js → file-access-7mqb335e.js} +6 -6
  69. package/dist/chunks/{filesystem-1bdj34ne.js → file-access-7qz0vyfs.js} +27 -27
  70. package/dist/chunks/{filesystem-reyjqdga.js → file-access-7zm7jxc7.js} +4 -4
  71. package/dist/chunks/{filesystem-e52vsy5d.js → file-access-890y149a.js} +8 -8
  72. package/dist/chunks/{filesystem-2tfmgkzg.js → file-access-89smrnyf.js} +4 -4
  73. package/dist/chunks/{filesystem-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
  74. package/dist/chunks/{filesystem-8393f43m.js → file-access-8dpx7m7d.js} +11 -11
  75. package/dist/chunks/{filesystem-1h3h6ne9.js → file-access-8nsc8gnz.js} +17 -17
  76. package/dist/chunks/{filesystem-d79nh3qx.js → file-access-8v7kkkbw.js} +11 -11
  77. package/dist/chunks/{filesystem-82qkcyg7.js → file-access-8yk8gp0p.js} +11 -11
  78. package/dist/chunks/{filesystem-cackw8yz.js → file-access-912kkt9t.js} +9 -9
  79. package/dist/chunks/{filesystem-kcnfxn04.js → file-access-92xny6nd.js} +3 -3
  80. package/dist/chunks/{filesystem-sdkze8v1.js → file-access-9gfvx8yt.js} +4 -4
  81. package/dist/chunks/{filesystem-c3st1rh6.js → file-access-9k7ekhq9.js} +13 -13
  82. package/dist/chunks/{filesystem-ze5y8rs0.js → file-access-9ppknq4r.js} +8 -8
  83. package/dist/chunks/{filesystem-hngmebnz.js → file-access-9t16ekdb.js} +25 -25
  84. package/dist/chunks/{filesystem-yjptyezs.js → file-access-9zzv5pgc.js} +5 -5
  85. package/dist/chunks/{filesystem-jca4demv.js → file-access-a3r4dcrj.js} +2 -2
  86. package/dist/chunks/{filesystem-aar5tqjz.js → file-access-a5mt2rtc.js} +34 -34
  87. package/dist/chunks/{filesystem-rjq70d1v.js → file-access-a8092cx4.js} +14 -14
  88. package/dist/chunks/{filesystem-aaet6srn.js → file-access-aaet6srn.js} +2 -2
  89. package/dist/chunks/{filesystem-k191nb18.js → file-access-afes4715.js} +2 -2
  90. package/dist/chunks/{filesystem-zgy1cjmt.js → file-access-ah3b0qta.js} +15 -15
  91. package/dist/chunks/{filesystem-8r7v4pv1.js → file-access-aj5f68bw.js} +26 -26
  92. package/dist/chunks/{filesystem-cmzp0t9y.js → file-access-amtb1fgb.js} +11 -11
  93. package/dist/chunks/{filesystem-b6pmepta.js → file-access-apqkkg64.js} +10 -10
  94. package/dist/chunks/{filesystem-nc3pr63t.js → file-access-b2rkp7aa.js} +10 -10
  95. package/dist/chunks/{filesystem-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
  96. package/dist/chunks/{filesystem-sd0hh66t.js → file-access-bh51kybc.js} +28 -28
  97. package/dist/chunks/{filesystem-w60r9xev.js → file-access-btrn8rgp.js} +44 -44
  98. package/dist/chunks/{filesystem-s70r0d8a.js → file-access-bycqfhhp.js} +4 -4
  99. package/dist/chunks/file-access-c07j17hk.js +474 -0
  100. package/dist/chunks/{filesystem-p1cpmwyf.js → file-access-c8vbwmvy.js} +22 -22
  101. package/dist/chunks/{filesystem-d7124rbf.js → file-access-c9ecbdb0.js} +10 -10
  102. package/dist/chunks/{filesystem-gma20p0b.js → file-access-ccz297mt.js} +13 -13
  103. package/dist/chunks/{filesystem-wfjzk575.js → file-access-ch5zdy2s.js} +41 -41
  104. package/dist/chunks/{filesystem-rttadtrv.js → file-access-cjwxcw7h.js} +21 -21
  105. package/dist/chunks/{filesystem-tk8b1eqd.js → file-access-ck2q371s.js} +5 -5
  106. package/dist/chunks/{filesystem-gjwgx2c5.js → file-access-cwa6csj7.js} +9 -9
  107. package/dist/chunks/{filesystem-eshk1mrn.js → file-access-cz6y612w.js} +11 -11
  108. package/dist/chunks/{filesystem-2fgn2we9.js → file-access-d9s573fh.js} +9 -9
  109. package/dist/chunks/{filesystem-6f67xk9m.js → file-access-da5p2m5f.js} +13 -13
  110. package/dist/chunks/{filesystem-egza69qx.js → file-access-det33w69.js} +5 -5
  111. package/dist/chunks/{filesystem-mpkxj448.js → file-access-dffmtpj7.js} +9 -9
  112. package/dist/chunks/{filesystem-msqsbnvg.js → file-access-dhxdeg25.js} +52 -52
  113. package/dist/chunks/{filesystem-dj2t23y0.js → file-access-dj2t23y0.js} +2 -2
  114. package/dist/chunks/{filesystem-122hfxms.js → file-access-dr6h9h98.js} +28 -28
  115. package/dist/chunks/{filesystem-cnrkenzz.js → file-access-dxzm7sqd.js} +3 -3
  116. package/dist/chunks/{filesystem-gw2kccs8.js → file-access-e2609ak5.js} +5 -5
  117. package/dist/chunks/{filesystem-e5nv3ght.js → file-access-e5nv3ght.js} +2 -2
  118. package/dist/chunks/{filesystem-8bcx3nez.js → file-access-e5vq6wef.js} +4 -4
  119. package/dist/chunks/{filesystem-yjx4qmbw.js → file-access-e7vjkpcb.js} +8 -8
  120. package/dist/chunks/{filesystem-1rxs6y3d.js → file-access-ebw7vtp3.js} +32 -32
  121. package/dist/chunks/{filesystem-sjbhawkw.js → file-access-eezbyd6d.js} +1 -1
  122. package/dist/chunks/{filesystem-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{filesystem-474v7c4x.js → file-access-efzqyggw.js} +14 -14
  124. package/dist/chunks/{filesystem-jfsctkpn.js → file-access-etbqe1sp.js} +6 -6
  125. package/dist/chunks/{filesystem-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{filesystem-2zyp5ek9.js → file-access-ewvjyc2d.js} +8 -8
  127. package/dist/chunks/{filesystem-48egeg7n.js → file-access-f55hhvzh.js} +4 -4
  128. package/dist/chunks/{filesystem-0jwsre1p.js → file-access-fcrkznn8.js} +5 -5
  129. package/dist/chunks/{filesystem-6hjx5zpb.js → file-access-fdms3n6w.js} +9 -9
  130. package/dist/chunks/{filesystem-r2pbn9ew.js → file-access-ffzfw6dq.js} +47 -47
  131. package/dist/chunks/{filesystem-d4xtzqw3.js → file-access-fhj2ec39.js} +17 -17
  132. package/dist/chunks/{filesystem-p0r075tw.js → file-access-fstwsg2e.js} +39 -39
  133. package/dist/chunks/{filesystem-fxbjtjnd.js → file-access-fxbjtjnd.js} +1 -1
  134. package/dist/chunks/{filesystem-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
  135. package/dist/chunks/{filesystem-11eespba.js → file-access-gg8wv5as.js} +33 -33
  136. package/dist/chunks/{filesystem-3w0fmcng.js → file-access-gqchpbtd.js} +5 -5
  137. package/dist/chunks/{filesystem-dc8590hs.js → file-access-grw98w6v.js} +26 -26
  138. package/dist/chunks/{filesystem-3dgjdry5.js → file-access-gy9mz9hm.js} +32 -32
  139. package/dist/chunks/{filesystem-h03wrkyp.js → file-access-h03wrkyp.js} +2 -2
  140. package/dist/chunks/{filesystem-cpj0znwe.js → file-access-h6r3nrb9.js} +4 -4
  141. package/dist/chunks/{filesystem-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
  142. package/dist/chunks/{filesystem-pzcfktq3.js → file-access-h7923tt2.js} +18 -18
  143. package/dist/chunks/{filesystem-s3v9fbv9.js → file-access-h8ptc2jy.js} +32 -32
  144. package/dist/chunks/{filesystem-hdnk95c8.js → file-access-hdnk95c8.js} +2 -2
  145. package/dist/chunks/{filesystem-yt0fqk68.js → file-access-hfvc964k.js} +5 -5
  146. package/dist/chunks/{filesystem-r397h8mg.js → file-access-hfx69nqz.js} +24 -24
  147. package/dist/chunks/{filesystem-9ngxpv4m.js → file-access-hg3nex49.js} +8 -8
  148. package/dist/chunks/{filesystem-nhy5jxhy.js → file-access-hjt4xg1x.js} +4 -4
  149. package/dist/chunks/{filesystem-cwfnw5hm.js → file-access-hmfh1rh8.js} +2 -2
  150. package/dist/chunks/{filesystem-dg2gp1rn.js → file-access-hpv156nq.js} +4 -4
  151. package/dist/chunks/{filesystem-084qjam6.js → file-access-hv8qssb6.js} +16 -16
  152. package/dist/chunks/{filesystem-yx9n7fpe.js → file-access-j4gdw6gw.js} +17 -17
  153. package/dist/chunks/{filesystem-j56e64zr.js → file-access-j56e64zr.js} +1 -1
  154. package/dist/chunks/{filesystem-yvpfa4rd.js → file-access-j933w6sb.js} +15 -15
  155. package/dist/chunks/{filesystem-bxf23pqh.js → file-access-jcas26n6.js} +11 -11
  156. package/dist/chunks/{filesystem-0dfh98b5.js → file-access-jdfjhp2e.js} +10 -10
  157. package/dist/chunks/{filesystem-q3t37ft6.js → file-access-jexxy024.js} +3 -3
  158. package/dist/chunks/{filesystem-9xnb7hyj.js → file-access-jkpvc1gj.js} +20 -20
  159. package/dist/chunks/{filesystem-df21te9f.js → file-access-jsbpgh5s.js} +16 -16
  160. package/dist/chunks/{filesystem-msngqtw6.js → file-access-jy3pp1pb.js} +5 -5
  161. package/dist/chunks/{filesystem-s194k709.js → file-access-k701emjf.js} +11 -11
  162. package/dist/chunks/{filesystem-e9vx22h1.js → file-access-kd6d57r1.js} +89 -89
  163. package/dist/chunks/{filesystem-3r886gma.js → file-access-kmkxeyh5.js} +20 -20
  164. package/dist/chunks/{filesystem-4ttgz70x.js → file-access-kq1t1162.js} +11 -11
  165. package/dist/chunks/{filesystem-5w5asw02.js → file-access-ks3vd1j0.js} +14 -14
  166. package/dist/chunks/{filesystem-jdyy8xf0.js → file-access-ky68ekyp.js} +9 -9
  167. package/dist/chunks/{filesystem-m0jqrx5p.js → file-access-m0jqrx5p.js} +2 -2
  168. package/dist/chunks/{filesystem-13b2ng85.js → file-access-m17nagwc.js} +3 -3
  169. package/dist/chunks/{filesystem-6r8wc0ff.js → file-access-m6ay5emd.js} +21 -21
  170. package/dist/chunks/{filesystem-5sb5x7cf.js → file-access-m7qxvmyy.js} +22 -22
  171. package/dist/chunks/{filesystem-z0065k1n.js → file-access-m8y6a9gt.js} +43 -43
  172. package/dist/chunks/{filesystem-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
  173. package/dist/chunks/file-access-mqjrdake.js +26 -0
  174. package/dist/chunks/{filesystem-cg3fyqky.js → file-access-mrhssej4.js} +46 -46
  175. package/dist/chunks/{filesystem-ag4rn41e.js → file-access-n4r3xatb.js} +4 -4
  176. package/dist/chunks/{filesystem-t7w8wthg.js → file-access-nbygjmnq.js} +26 -26
  177. package/dist/chunks/{filesystem-nrck5rh0.js → file-access-nmn5p8yd.js} +17 -17
  178. package/dist/chunks/{filesystem-kqg5mzr3.js → file-access-npmmx7a7.js} +6 -6
  179. package/dist/chunks/{filesystem-5yzzbxa7.js → file-access-p37cw4rj.js} +8 -8
  180. package/dist/chunks/{filesystem-ytg5f91j.js → file-access-p459fsr1.js} +42 -42
  181. package/dist/chunks/{filesystem-24dd53tp.js → file-access-p630c9xd.js} +9 -9
  182. package/dist/chunks/{filesystem-texzw661.js → file-access-paghhsgz.js} +5 -5
  183. package/dist/chunks/{filesystem-qe4fvz1x.js → file-access-pcd7pbnd.js} +24 -24
  184. package/dist/chunks/{filesystem-pgeqw9gz.js → file-access-pf4e8y03.js} +32 -32
  185. package/dist/chunks/{filesystem-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
  186. package/dist/chunks/{filesystem-pknna89w.js → file-access-pknna89w.js} +1 -1
  187. package/dist/chunks/{filesystem-6r95854g.js → file-access-q0r2d8rn.js} +37 -37
  188. package/dist/chunks/{filesystem-s97q8wmc.js → file-access-q2cy2y1a.js} +17 -17
  189. package/dist/chunks/{filesystem-mn8cph46.js → file-access-q54epvg6.js} +11 -11
  190. package/dist/chunks/{filesystem-x1xcpfha.js → file-access-q5rhn9x0.js} +8 -8
  191. package/dist/chunks/file-access-qapv375x.js +4 -0
  192. package/dist/chunks/{filesystem-g0kf9mz8.js → file-access-qehrwxjr.js} +30 -30
  193. package/dist/chunks/{filesystem-z9dqtg9m.js → file-access-qf53spd6.js} +24 -24
  194. package/dist/chunks/{filesystem-yfe53vnj.js → file-access-qrkqsxkr.js} +24 -24
  195. package/dist/chunks/{filesystem-qsdy395h.js → file-access-qsdy395h.js} +1 -1
  196. package/dist/chunks/{filesystem-46qxp0cq.js → file-access-r88mwysp.js} +43 -43
  197. package/dist/chunks/{filesystem-jre2exce.js → file-access-r8t2xrpw.js} +18 -18
  198. package/dist/chunks/{filesystem-f2n192rq.js → file-access-r8xr0va3.js} +4 -4
  199. package/dist/chunks/{filesystem-r9mregkx.js → file-access-r9mregkx.js} +2 -2
  200. package/dist/chunks/{filesystem-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
  201. package/dist/chunks/{filesystem-9rf1zay2.js → file-access-rhr5fvwd.js} +11 -11
  202. package/dist/chunks/{filesystem-zeh9ct20.js → file-access-rq775frq.js} +2 -2
  203. package/dist/chunks/{filesystem-crka0j56.js → file-access-rvh2fpxc.js} +4 -4
  204. package/dist/chunks/{filesystem-g7k1gdmz.js → file-access-rw2xgg53.js} +17 -17
  205. package/dist/chunks/{filesystem-4br0erxd.js → file-access-rytnjs8b.js} +20 -20
  206. package/dist/chunks/{filesystem-h9h4rw0b.js → file-access-rzbfacg9.js} +33 -33
  207. package/dist/chunks/{filesystem-b6zq1b9v.js → file-access-s0bax34n.js} +17 -17
  208. package/dist/chunks/{filesystem-c86vv8em.js → file-access-s3ze4hah.js} +7 -7
  209. package/dist/chunks/{filesystem-rsj9y6gb.js → file-access-s52y66be.js} +15 -15
  210. package/dist/chunks/{filesystem-a32yec29.js → file-access-s5trtwgj.js} +9 -9
  211. package/dist/chunks/{filesystem-81k51azh.js → file-access-s8cf5yxm.js} +7 -7
  212. package/dist/chunks/{filesystem-eaj1djv9.js → file-access-s8d7rejh.js} +6 -6
  213. package/dist/chunks/{filesystem-m4m2egqz.js → file-access-sa8j3x6g.js} +21 -21
  214. package/dist/chunks/{filesystem-1fmrbde1.js → file-access-sf0yp864.js} +6 -6
  215. package/dist/chunks/{filesystem-g61ycw3s.js → file-access-sfe15w4t.js} +23 -23
  216. package/dist/chunks/{filesystem-361qychh.js → file-access-sm965ndy.js} +8 -8
  217. package/dist/chunks/{filesystem-9f7wwfw1.js → file-access-sn3rxfgj.js} +4 -4
  218. package/dist/chunks/{filesystem-c5b9ks87.js → file-access-ss56yrvr.js} +33 -33
  219. package/dist/chunks/{filesystem-we45q118.js → file-access-ssdhg7mn.js} +3 -3
  220. package/dist/chunks/{filesystem-tw0jddzq.js → file-access-szrf2gp8.js} +33 -33
  221. package/dist/chunks/{filesystem-3g6gd80t.js → file-access-t192nm8m.js} +6 -6
  222. package/dist/chunks/{filesystem-vmd137xr.js → file-access-t271ntmg.js} +64 -64
  223. package/dist/chunks/{filesystem-z6tazwav.js → file-access-t5dv71qx.js} +15 -15
  224. package/dist/chunks/{filesystem-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{filesystem-89znhe33.js → file-access-tcezcvh9.js} +4 -4
  226. package/dist/chunks/{filesystem-m1548a0r.js → file-access-tcrhe9m8.js} +22 -22
  227. package/dist/chunks/{filesystem-tdstcens.js → file-access-tdstcens.js} +1 -1
  228. package/dist/chunks/{filesystem-caj0q3k9.js → file-access-tkfbqfej.js} +29 -29
  229. package/dist/chunks/{filesystem-tvtrv512.js → file-access-tvtrv512.js} +1 -1
  230. package/dist/chunks/{filesystem-jsvb6vsn.js → file-access-v24739yc.js} +12 -12
  231. package/dist/chunks/{filesystem-pcefftg5.js → file-access-v2rf49aq.js} +9 -9
  232. package/dist/chunks/{filesystem-6hh8tjw2.js → file-access-v5dkyp31.js} +4 -4
  233. package/dist/chunks/{filesystem-hb4ygmza.js → file-access-v6ede5y2.js} +36 -32
  234. package/dist/chunks/{filesystem-68cg48z6.js → file-access-v812h1xz.js} +12 -12
  235. package/dist/chunks/{filesystem-pqgd01zc.js → file-access-vbctgszn.js} +51 -51
  236. package/dist/chunks/{filesystem-cbc0wxnt.js → file-access-vbmj93bj.js} +4 -4
  237. package/dist/chunks/{filesystem-veqvce7d.js → file-access-veqvce7d.js} +1 -1
  238. package/dist/chunks/{filesystem-drh00dzc.js → file-access-vgxg80g2.js} +10 -10
  239. package/dist/chunks/{filesystem-5qcj4ksz.js → file-access-vh7dp00t.js} +1 -1
  240. package/dist/chunks/{filesystem-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
  241. package/dist/chunks/{filesystem-jr7kwrkh.js → file-access-w1wd9tp2.js} +18 -18
  242. package/dist/chunks/{filesystem-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{filesystem-mxxp51f6.js → file-access-wa065q7p.js} +3 -3
  244. package/dist/chunks/{filesystem-ha93k7pw.js → file-access-wajqf0bb.js} +37 -37
  245. package/dist/chunks/{filesystem-nq29vp8n.js → file-access-waqrje5a.js} +32 -32
  246. package/dist/chunks/{filesystem-wd87259q.js → file-access-wd87259q.js} +1 -1
  247. package/dist/chunks/{filesystem-8we8r4vx.js → file-access-wjcn38ba.js} +10 -10
  248. package/dist/chunks/{filesystem-ghnetwzt.js → file-access-www2df0c.js} +20 -20
  249. package/dist/chunks/{filesystem-h6z8d5tn.js → file-access-x0511brf.js} +4 -4
  250. package/dist/chunks/{filesystem-v54d4zy3.js → file-access-x0wxay44.js} +5 -5
  251. package/dist/chunks/{filesystem-9wvh8z56.js → file-access-x182m7xa.js} +10 -10
  252. package/dist/chunks/{filesystem-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
  253. package/dist/chunks/{filesystem-k5xj2xmh.js → file-access-x2nqcre9.js} +8 -8
  254. package/dist/chunks/{filesystem-spgtr7wt.js → file-access-xahw4cd4.js} +24 -24
  255. package/dist/chunks/{filesystem-24aj2vr8.js → file-access-xc8sh4yv.js} +19 -19
  256. package/dist/chunks/{filesystem-zvwz45r0.js → file-access-xdrba4jw.js} +9 -9
  257. package/dist/chunks/{filesystem-e8340df8.js → file-access-xe94yqgp.js} +6 -6
  258. package/dist/chunks/{filesystem-712r6eb2.js → file-access-xf0yen68.js} +12 -12
  259. package/dist/chunks/{filesystem-tqzhfmjj.js → file-access-xg631j7a.js} +5 -5
  260. package/dist/chunks/{filesystem-2b0awdga.js → file-access-xh45r5pf.js} +20 -20
  261. package/dist/chunks/{filesystem-che44dvv.js → file-access-xmvk7qad.js} +46 -46
  262. package/dist/chunks/{filesystem-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{filesystem-bd2g5bk9.js → file-access-y2m441pc.js} +6 -6
  264. package/dist/chunks/{filesystem-y71avatq.js → file-access-y71avatq.js} +1 -1
  265. package/dist/chunks/{filesystem-gmjjhz4f.js → file-access-ybhbtxjg.js} +3 -3
  266. package/dist/chunks/{filesystem-6ehbgqat.js → file-access-ycjb11n5.js} +6 -6
  267. package/dist/chunks/{filesystem-fhrwyyh1.js → file-access-yd4pvbh8.js} +5 -5
  268. package/dist/chunks/{filesystem-xb46sqya.js → file-access-ygk8sne3.js} +22 -22
  269. package/dist/chunks/{filesystem-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
  270. package/dist/chunks/{filesystem-yrznvahk.js → file-access-yrznvahk.js} +2 -2
  271. package/dist/chunks/{filesystem-zp6zzbwt.js → file-access-ytgdyx08.js} +16 -16
  272. package/dist/chunks/{filesystem-gv6a8nnw.js → file-access-yyb7tjpc.js} +2 -2
  273. package/dist/chunks/{filesystem-nwh98khw.js → file-access-yzcxy4rp.js} +38 -38
  274. package/dist/chunks/{filesystem-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{filesystem-swvck4sd.js → file-access-z4zzqkyn.js} +29 -29
  276. package/dist/chunks/{filesystem-z63w68vq.js → file-access-z63w68vq.js} +2 -2
  277. package/dist/chunks/{filesystem-hzyv0aq5.js → file-access-zc4efzed.js} +15 -15
  278. package/dist/chunks/{filesystem-3brweq1y.js → file-access-zd6ydzqz.js} +25 -25
  279. package/dist/chunks/{filesystem-tcg29b4q.js → file-access-zhq6vg7a.js} +1 -1
  280. package/dist/chunks/{filesystem-ex0pka66.js → file-access-zk8c4w5t.js} +5 -5
  281. package/dist/chunks/{filesystem-ng7a4pcr.js → file-access-zqfhgf5b.js} +182 -182
  282. package/dist/chunks/{filesystem-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
  283. package/dist/chunks/{filesystem-6xdccknh.js → file-access-zs4gxp06.js} +23 -23
  284. package/dist/chunks/{filesystem-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +82 -82
  289. package/dist/config/discovery.js +83 -83
  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 +210 -210
  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 +65 -65
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  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 +14 -14
  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 +75 -75
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +363 -362
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +1 -1
  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 +69 -69
  407. package/dist/file-access.js +103 -103
  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 +6 -6
  417. package/dist/filesystem/location-watcher.js +225 -225
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +102 -102
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +107 -107
  423. package/dist/form.js +81 -81
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +88 -88
  426. package/dist/generate.js +102 -102
  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 +72 -72
  460. package/dist/location-activity.js +131 -131
  461. package/dist/location-mutation.js +103 -103
  462. package/dist/location-service-map.js +85 -85
  463. package/dist/location-services.js +351 -350
  464. package/dist/location.js +86 -86
  465. package/dist/mcp/client.js +90 -90
  466. package/dist/mcp/index.js +107 -107
  467. package/dist/mcp/instructions.js +126 -126
  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 +108 -108
  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 +98 -98
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +216 -216
  488. package/dist/plugin/instance.js +5 -5
  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 +119 -119
  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 +121 -121
  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 +69 -69
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +140 -140
  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 +6 -6
  542. package/dist/plugin/websearch/index.js +9 -9
  543. package/dist/plugin/websearch/mcp.js +4 -4
  544. package/dist/plugin/websearch/parallel.js +6 -6
  545. package/dist/plugin/websearch/tavily.js +6 -6
  546. package/dist/plugin/websearch/tinyfish.js +8 -8
  547. package/dist/plugin.js +221 -221
  548. package/dist/project/schema.js +8 -8
  549. package/dist/project/sql.js +4 -4
  550. package/dist/project.js +89 -89
  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 +97 -97
  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 +132 -132
  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 +219 -219
  572. package/dist/session/execution.js +127 -127
  573. package/dist/session/generate.js +149 -149
  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 +2 -2
  581. package/dist/session/message.js +1 -1
  582. package/dist/session/model-request.js +117 -117
  583. package/dist/session/model-transport.js +9 -9
  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 +228 -228
  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 +113 -113
  596. package/dist/session/runner/step.js +124 -124
  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 +72 -72
  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 +215 -215
  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 +106 -106
  620. package/dist/skill.js +109 -109
  621. package/dist/snapshot.js +92 -92
  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 +125 -125
  626. package/dist/tool/plugin/edit.js +119 -119
  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 +119 -119
  632. package/dist/tool/plugin/question.js +104 -104
  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 +112 -112
  636. package/dist/tool/plugin/subagent.js +217 -217
  637. package/dist/tool/plugin/webfetch.js +111 -111
  638. package/dist/tool/plugin/websearch.js +111 -111
  639. package/dist/tool/plugin/write.js +119 -119
  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 +15 -15
  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 +3 -3
  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 +3 -3
  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 +80 -80
  679. package/dist/workspace/driver.js +5 -5
  680. package/dist/workspace/sql.js +1 -1
  681. package/dist/workspace.js +79 -79
  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 +97 -97
  687. package/package.json +8 -8
  688. package/dist/chunks/filesystem-70jsskm8.js +0 -18
  689. package/dist/chunks/filesystem-99bpcqdd.js +0 -26
  690. package/dist/chunks/filesystem-ga2889bp.js +0 -474
  691. package/dist/chunks/filesystem-hr9dp009.js +0 -4
  692. package/dist/chunks/filesystem-js7vje5a.js +0 -247
  693. /package/dist/chunks/{filesystem-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{filesystem-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{filesystem-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{filesystem-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{filesystem-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{filesystem-24dcb14g.js → file-access-24dcb14g.js} +0 -0
  699. /package/dist/chunks/{filesystem-2710q6r3.js → file-access-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{filesystem-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{filesystem-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{filesystem-359p4xyc.js → file-access-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{filesystem-3asan66x.js → file-access-3asan66x.js} +0 -0
  704. /package/dist/chunks/{filesystem-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{filesystem-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{filesystem-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{filesystem-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{filesystem-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{filesystem-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{filesystem-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{filesystem-53557ph1.js → file-access-53557ph1.js} +0 -0
  712. /package/dist/chunks/{filesystem-550bvhaj.js → file-access-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{filesystem-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
  714. /package/dist/chunks/{filesystem-6prwharc.js → file-access-6prwharc.js} +0 -0
  715. /package/dist/chunks/{filesystem-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{filesystem-7m9af43g.js → file-access-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{filesystem-822emrt2.js → file-access-822emrt2.js} +0 -0
  718. /package/dist/chunks/{filesystem-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{filesystem-8n3pysct.js → file-access-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{filesystem-922hggd3.js → file-access-922hggd3.js} +0 -0
  721. /package/dist/chunks/{filesystem-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{filesystem-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{filesystem-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{filesystem-af5trqkr.js → file-access-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{filesystem-afrmfg78.js → file-access-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{filesystem-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{filesystem-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{filesystem-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{filesystem-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{filesystem-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{filesystem-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{filesystem-d9fn303g.js → file-access-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{filesystem-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{filesystem-dajrwvna.js → file-access-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{filesystem-dap0rakb.js → file-access-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{filesystem-df08tz66.js → file-access-df08tz66.js} +0 -0
  737. /package/dist/chunks/{filesystem-dy18nga0.js → file-access-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{filesystem-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{filesystem-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{filesystem-ec1grn59.js → file-access-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{filesystem-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{filesystem-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{filesystem-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{filesystem-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{filesystem-faypxj3z.js → file-access-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{filesystem-fd410y7t.js → file-access-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{filesystem-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{filesystem-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{filesystem-g86h250q.js → file-access-g86h250q.js} +0 -0
  750. /package/dist/chunks/{filesystem-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{filesystem-gftt206x.js → file-access-gftt206x.js} +0 -0
  752. /package/dist/chunks/{filesystem-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{filesystem-hk9envan.js → file-access-hk9envan.js} +0 -0
  754. /package/dist/chunks/{filesystem-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{filesystem-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{filesystem-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{filesystem-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{filesystem-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{filesystem-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{filesystem-mp448xyj.js → file-access-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{filesystem-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{filesystem-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{filesystem-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{filesystem-njntx4h6.js → file-access-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{filesystem-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{filesystem-q74kybfr.js → file-access-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{filesystem-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{filesystem-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{filesystem-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{filesystem-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{filesystem-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{filesystem-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{filesystem-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{filesystem-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{filesystem-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{filesystem-twg0f83k.js → file-access-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{filesystem-w803qqfp.js → file-access-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{filesystem-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{filesystem-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{filesystem-wtztk69x.js → file-access-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{filesystem-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{filesystem-x61499pn.js → file-access-x61499pn.js} +0 -0
  783. /package/dist/chunks/{filesystem-y44na4kk.js → file-access-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{filesystem-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{filesystem-y8f7s663.js → file-access-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{filesystem-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{filesystem-ym463w8f.js → file-access-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{filesystem-z9919s4g.js → file-access-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
- ID13,
3
- Service74
4
- } from "./filesystem-e5epjp6e.js";
2
+ ID10,
3
+ Service70
4
+ } from "./file-access-76rf663v.js";
5
5
  import {
6
6
  latest2,
7
- Service50
8
- } from "./filesystem-che44dvv.js";
7
+ Service46
8
+ } from "./file-access-xmvk7qad.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./filesystem-q3t37ft6.js";
11
+ } from "./file-access-jexxy024.js";
12
12
  import {
13
- Service56
14
- } from "./filesystem-b6zq1b9v.js";
13
+ Service64
14
+ } from "./file-access-s0bax34n.js";
15
15
  import {
16
16
  evaluate2,
17
- Service72
18
- } from "./filesystem-cg3fyqky.js";
17
+ Service66
18
+ } from "./file-access-mrhssej4.js";
19
19
  import {
20
- Service14
21
- } from "./filesystem-e9vx22h1.js";
20
+ Service23
21
+ } from "./file-access-kd6d57r1.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./filesystem-x1ezjp6w.js";
24
+ } from "./file-access-x1ezjp6w.js";
25
25
  import {
26
26
  make9
27
- } from "./filesystem-k5xj2xmh.js";
27
+ } from "./file-access-x2nqcre9.js";
28
28
  import {
29
29
  __export
30
- } from "./filesystem-9rqn6x4v.js";
30
+ } from "./file-access-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input11,
36
- Output: () => Output7,
37
- Plugin: () => Plugin12,
35
+ Input: () => Input6,
36
+ Output: () => Output5,
37
+ Plugin: () => Plugin20,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description5,
40
- name: () => name11
39
+ description: () => description3,
40
+ name: () => name6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name11 = "subagent";
44
+ var name6 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input11 = Schema.Struct({
55
+ var Input6 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input11 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output7 = Schema.Struct({
66
+ var Output5 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description5 = [
71
+ var description3 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description5 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin12 = {
80
+ var Plugin20 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service14;
84
- const jobs = yield* Service56;
85
- const agents = yield* Service74;
86
- const config = yield* Service50;
87
- const permission = yield* Service72;
83
+ const sessions = yield* Service23;
84
+ const jobs = yield* Service64;
85
+ const agents = yield* Service70;
86
+ const config = yield* Service46;
87
+ const permission = yield* Service66;
88
88
  const subagents = yield* make9;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name11,
90
+ name: name6,
91
91
  options: { codemode: false },
92
- description: description5,
93
- input: Input11,
94
- output: Output7,
92
+ description: description3,
93
+ input: Input6,
94
+ output: Output5,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin12 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name11,
114
+ action: name6,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin12 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID13.make(input.agent),
137
+ agent: ID10.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  const hook = (event) => Effect.gen(function* () {
187
- const tool = event.tools[name11];
187
+ const tool = event.tools[name6];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name11, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name6, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -207,4 +207,4 @@ ${output.output}
207
207
  })
208
208
  };
209
209
 
210
- export { name11, Input11, Output7, description5, Plugin12, exports_subagent };
210
+ export { name6, Input6, Output5, description3, Plugin20, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/shell/result.ts
6
6
  var exports_result = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/file-retention.ts
6
6
  var exports_file_retention = {};
@@ -1,55 +1,55 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./filesystem-922hggd3.js";
4
+ } from "./file-access-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service79,
9
- node83
10
- } from "./filesystem-jsvb6vsn.js";
8
+ Service80,
9
+ node84
10
+ } from "./file-access-v24739yc.js";
11
11
  import {
12
- Service77,
13
- node81
14
- } from "./filesystem-zp6zzbwt.js";
12
+ Service78,
13
+ node82
14
+ } from "./file-access-ytgdyx08.js";
15
15
  import {
16
16
  create3
17
- } from "./filesystem-rdw6cm16.js";
17
+ } from "./file-access-rdw6cm16.js";
18
18
  import {
19
19
  __export
20
- } from "./filesystem-9rqn6x4v.js";
20
+ } from "./file-access-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error3,
26
- ID: () => ID3,
27
- Service: () => Service42,
25
+ Error: () => Error4,
26
+ ID: () => ID6,
27
+ Service: () => Service44,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node44,
30
- noopLayer: () => noopLayer3
29
+ node: () => node48,
30
+ noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
33
33
  import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID3 } from "@opencode/schema/snapshot";
37
+ import { ID as ID6 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error3 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service42 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service44 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service42, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service79;
50
+ const git = yield* Service80;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service77;
52
+ const location = yield* Service78;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID3.make(yield* git.tree.capture({
85
+ return ID6.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service42.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node44 = makeLocationNode({
144
- service: Service42,
143
+ var node48 = makeLocationNode({
144
+ service: Service44,
145
145
  layer,
146
- deps: [FSUtil.node, node83, Global.node, node81]
146
+ deps: [FSUtil.node, node84, Global.node, node82]
147
147
  });
148
- var noopLayer3 = Layer.succeed(Service42, Service42.of({
148
+ var noopLayer2 = Layer.succeed(Service44, Service44.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service42, Service42.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error3 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error3({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID3, Error3, Service42, node44, noopLayer3, exports_snapshot2 };
166
+ export { ID6, Error4, Service44, node48, noopLayer2, exports_snapshot2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./filesystem-922hggd3.js";
3
+ } from "./file-access-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./filesystem-9rqn6x4v.js";
6
+ } from "./file-access-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/attachment.ts
9
9
  var exports_attachment = {};
10
10
  __export(exports_attachment, {
11
11
  ConfigAttachmentV1: () => exports_attachment,
12
12
  Image: () => Image2,
13
- Info: () => Info15
13
+ Info: () => Info11
14
14
  });
15
15
  import { Schema } from "effect";
16
16
  var Image2 = Schema.Struct({
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
27
27
  description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
28
28
  })
29
29
  }).annotate({ identifier: "ImageAttachmentConfig" });
30
- var Info15 = Schema.Struct({
30
+ var Info11 = Schema.Struct({
31
31
  image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
32
32
  }).annotate({ identifier: "AttachmentConfig" });
33
33
 
34
- export { Image2, Info15, exports_attachment };
34
+ export { Image2, Info11, exports_attachment };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./filesystem-ysstqnzc.js";
4
+ } from "./file-access-6d6cd74m.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./filesystem-y71avatq.js";
7
+ } from "./file-access-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node70
12
- } from "./filesystem-1fmrbde1.js";
11
+ node62
12
+ } from "./file-access-sf0yp864.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./filesystem-faypxj3z.js";
15
+ } from "./file-access-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./file-access-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID10,
25
- Info: () => Info25,
24
+ ID: () => ID7,
25
+ Info: () => Info20,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service66,
27
+ Service: () => Service57,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured9,
30
- node: () => node69
29
+ configured: () => configured11,
30
+ node: () => node61
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID10 = Workspace.ID;
38
+ var ID7 = Workspace.ID;
39
39
 
40
- class Info25 extends Schema.Class("Workspace.Info")({
41
- id: ID10,
40
+ class Info20 extends Schema.Class("Workspace.Info")({
41
+ id: ID7,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info25 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID7 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID10,
53
+ workspaceID: ID7,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service66 extends Context.Service()("@opencode/Workspace") {
59
+ class Service57 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured9 = (options = {}) => makeGlobalNode({
62
- service: Service66,
61
+ var configured11 = (options = {}) => makeGlobalNode({
62
+ service: Service57,
63
63
  layer: layer(options),
64
- deps: [node86, node70]
64
+ deps: [node86, node62]
65
65
  });
66
- var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service57, Effect.gen(function* () {
67
67
  const db = (yield* Service82).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info25({
83
+ const info = (row, binding) => new Info20({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service66.of({
157
+ return Service57.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID10.create();
159
+ const workspaceID = input.id ?? ID7.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node69 = configured9();
224
+ var node61 = configured11();
225
225
 
226
- export { ID10, Info25, NotFound3, CreateConflict2, Service66, configured9, node69, exports_workspace };
226
+ export { ID7, Info20, NotFound3, CreateConflict2, Service57, configured11, node61, exports_workspace };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service77
3
- } from "./filesystem-zp6zzbwt.js";
2
+ Service78
3
+ } from "./file-access-ytgdyx08.js";
4
4
  import {
5
- Service65
6
- } from "./filesystem-z9dqtg9m.js";
5
+ Service56
6
+ } from "./file-access-qf53spd6.js";
7
7
  import {
8
- Service13,
8
+ Service55,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./filesystem-gma20p0b.js";
11
+ } from "./file-access-ccz297mt.js";
12
12
  import {
13
- Service49
14
- } from "./filesystem-jr7kwrkh.js";
13
+ Service52
14
+ } from "./file-access-w1wd9tp2.js";
15
15
  import {
16
- Service72
17
- } from "./filesystem-cg3fyqky.js";
16
+ Service66
17
+ } from "./file-access-mrhssej4.js";
18
18
  import {
19
- Service71,
19
+ Service53,
20
20
  resolvePath2
21
- } from "./filesystem-pzcfktq3.js";
21
+ } from "./file-access-h7923tt2.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./filesystem-6prwharc.js";
24
+ } from "./file-access-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./filesystem-9rqn6x4v.js";
27
+ } from "./file-access-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input9,
34
- Output: () => Output5,
35
- Plugin: () => Plugin9,
36
- name: () => name9
33
+ Input: () => Input5,
34
+ Output: () => Output4,
35
+ Plugin: () => Plugin19,
36
+ name: () => name5
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name9 = "edit";
43
- var Input9 = Schema.Struct({
42
+ var name5 = "edit";
43
+ var Input5 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output5 = Schema.Struct({
53
+ var Output4 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin9 = {
106
+ var Plugin19 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service71;
110
- const fileMutation = yield* Service13;
111
- const environment = yield* Service65;
112
- const formatter = yield* Service49;
113
- const location = yield* Service77;
114
- const permission = yield* Service72;
109
+ const access = yield* Service53;
110
+ const fileMutation = yield* Service55;
111
+ const environment = yield* Service56;
112
+ const formatter = yield* Service52;
113
+ const location = yield* Service78;
114
+ const permission = yield* Service66;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name9,
116
+ name: name5,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input9,
120
- output: Output5,
119
+ input: Input5,
120
+ output: Output4,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
123
123
  const permissionSource = {
@@ -194,4 +194,4 @@ var Plugin9 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name9, Input9, Output5, Plugin9, exports_edit };
197
+ export { name5, Input5, Output4, Plugin19, exports_edit };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./filesystem-ec1grn59.js";
3
+ } from "./file-access-ec1grn59.js";
4
4
  import {
5
5
  tokens2
6
- } from "./filesystem-tdstcens.js";
6
+ } from "./file-access-tdstcens.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/integration/connection.ts
6
6
  var exports_connection = {};
7
7
  __export(exports_connection, {
8
8
  CredentialInfo: () => CredentialInfo2,
9
9
  EnvInfo: () => EnvInfo2,
10
- Info: () => Info22,
10
+ Info: () => Info28,
11
11
  IntegrationConnection: () => exports_connection,
12
12
  key: () => key2
13
13
  });
14
14
  import { Connection } from "@opencode/schema/connection";
15
15
  var CredentialInfo2 = Connection.CredentialInfo;
16
16
  var EnvInfo2 = Connection.EnvInfo;
17
- var Info22 = Connection.Info;
17
+ var Info28 = Connection.Info;
18
18
  function key2(connection) {
19
19
  if (!connection)
20
20
  return;
21
21
  return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
22
22
  }
23
23
 
24
- export { CredentialInfo2, EnvInfo2, Info22, key2, exports_connection };
24
+ export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./file-access-9rqn6x4v.js";
4
4
 
5
5
  // src/util/token.ts
6
6
  var exports_token = {};