@opencode/core 0.0.0-dev-19674 → 0.0.0-dev-19676

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  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/{pty-3ekjvzbw.js → mime-02w4s5j2.js} +20 -20
  8. package/dist/chunks/{pty-jg9eaab2.js → mime-03vjrbdx.js} +9 -9
  9. package/dist/chunks/{pty-p42y1bm5.js → mime-04tfxcdr.js} +12 -12
  10. package/dist/chunks/{pty-s222w9ys.js → mime-0aa0h9xn.js} +1 -1
  11. package/dist/chunks/{pty-s8d7rejh.js → mime-0gdmqesm.js} +4 -4
  12. package/dist/chunks/mime-0mesazry.js +4 -0
  13. package/dist/chunks/{pty-xjr9ayca.js → mime-0p4r5z7z.js} +3 -3
  14. package/dist/chunks/{pty-0paq2nw3.js → mime-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{pty-0q0f95c6.js → mime-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{pty-1qxk71h7.js → mime-0szpgk4d.js} +31 -31
  17. package/dist/chunks/{pty-935t04zr.js → mime-11qgt1va.js} +6 -6
  18. package/dist/chunks/{pty-5exzrj16.js → mime-1765dzhp.js} +12 -12
  19. package/dist/chunks/{pty-3ythc6yv.js → mime-18e56dsp.js} +4 -4
  20. package/dist/chunks/{pty-q2b1ymqp.js → mime-1a6p2twq.js} +4 -4
  21. package/dist/chunks/{pty-rmg0m3t1.js → mime-1bx7pb99.js} +8 -8
  22. package/dist/chunks/{pty-1dazxqgg.js → mime-1dazxqgg.js} +2 -2
  23. package/dist/chunks/{pty-18hqe85b.js → mime-1mc3rdpb.js} +11 -11
  24. package/dist/chunks/{pty-f3chkn2v.js → mime-1qzraqgc.js} +43 -43
  25. package/dist/chunks/{pty-bx8e55ya.js → mime-1s8fjf9r.js} +8 -8
  26. package/dist/chunks/{pty-ab8cnxkj.js → mime-1v6wmkfd.js} +5 -5
  27. package/dist/chunks/{pty-k0xymqd0.js → mime-1zpnajcw.js} +11 -11
  28. package/dist/chunks/{pty-21r38tys.js → mime-21r38tys.js} +1 -1
  29. package/dist/chunks/{pty-qbbxh0je.js → mime-21rnv1zr.js} +4 -4
  30. package/dist/chunks/{pty-2402vzrj.js → mime-2402vzrj.js} +1 -1
  31. package/dist/chunks/{pty-2h71m0y1.js → mime-2593zg0c.js} +24 -24
  32. package/dist/chunks/{pty-z63w68vq.js → mime-29x78va6.js} +6 -6
  33. package/dist/chunks/{pty-2a5m3afh.js → mime-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{pty-8bjgc9mz.js → mime-2f2be1sz.js} +11 -11
  35. package/dist/chunks/{pty-0jwsre1p.js → mime-2k8khapm.js} +5 -5
  36. package/dist/chunks/{pty-z8av1v4k.js → mime-2n5k2cty.js} +27 -27
  37. package/dist/chunks/{pty-mjymc32g.js → mime-2pnhn36q.js} +21 -21
  38. package/dist/chunks/{pty-t0fxg8b9.js → mime-2qp6y8xf.js} +5 -5
  39. package/dist/chunks/{pty-kxdabtfm.js → mime-2zjw9q23.js} +21 -21
  40. package/dist/chunks/{pty-v220wb3t.js → mime-31besbt1.js} +14 -14
  41. package/dist/chunks/{pty-xey2vz2p.js → mime-35bpgycj.js} +13 -13
  42. package/dist/chunks/{pty-m0f8gg3e.js → mime-3aemhp6x.js} +25 -25
  43. package/dist/chunks/{pty-3fc6dm20.js → mime-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{pty-3hepkmqq.js → mime-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{pty-9hn6k4tm.js → mime-3hfr6h8q.js} +8 -8
  46. package/dist/chunks/{pty-3smtnn6g.js → mime-3smtnn6g.js} +1 -1
  47. package/dist/chunks/{pty-3tvqynh2.js → mime-3tvqynh2.js} +1 -1
  48. package/dist/chunks/{pty-bhvqp75t.js → mime-3wkg3shk.js} +26 -26
  49. package/dist/chunks/{pty-k1603mw5.js → mime-4416c72h.js} +12 -12
  50. package/dist/chunks/{pty-bqv8mcm8.js → mime-49g88a08.js} +2 -2
  51. package/dist/chunks/{pty-pyymvkzv.js → mime-4b3a3k2s.js} +22 -22
  52. package/dist/chunks/{pty-ywspvke4.js → mime-4bfa0ewn.js} +51 -51
  53. package/dist/chunks/{pty-fbbqv6gz.js → mime-4d0m0hwd.js} +43 -43
  54. package/dist/chunks/{pty-bxgfab9d.js → mime-4jpncxq3.js} +10 -10
  55. package/dist/chunks/mime-4v7qdvcn.js +18 -0
  56. package/dist/chunks/{pty-71w766xh.js → mime-4vy2cx8a.js} +28 -28
  57. package/dist/chunks/{pty-1wc8ev08.js → mime-50px0bpn.js} +14 -14
  58. package/dist/chunks/{pty-1ygqh575.js → mime-56gdpj1q.js} +9 -9
  59. package/dist/chunks/{pty-57ez7d0k.js → mime-57ez7d0k.js} +2 -2
  60. package/dist/chunks/{pty-972ydv8n.js → mime-59zrdmmg.js} +15 -15
  61. package/dist/chunks/{pty-pqp3n84c.js → mime-5b28hma2.js} +31 -31
  62. package/dist/chunks/{pty-2sejkfem.js → mime-5d607bsg.js} +9 -9
  63. package/dist/chunks/{pty-5daktx2q.js → mime-5daktx2q.js} +1 -1
  64. package/dist/chunks/{pty-t04gerxp.js → mime-5mc1avxv.js} +9 -9
  65. package/dist/chunks/{pty-w3tj97cz.js → mime-5qmhr9cv.js} +24 -24
  66. package/dist/chunks/{pty-5t3nmthw.js → mime-5t3nmthw.js} +2 -2
  67. package/dist/chunks/{pty-6kqz0sw2.js → mime-6217hwpf.js} +20 -20
  68. package/dist/chunks/{pty-qybw96f7.js → mime-658y826x.js} +17 -17
  69. package/dist/chunks/{pty-q97sgnf3.js → mime-65ay1smp.js} +23 -23
  70. package/dist/chunks/{pty-669tq793.js → mime-669tq793.js} +1 -1
  71. package/dist/chunks/{pty-yztwhtj4.js → mime-6jhr0q17.js} +6 -6
  72. package/dist/chunks/{pty-6msgmcgs.js → mime-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{pty-a5tya8df.js → mime-6rhtevmb.js} +3 -3
  74. package/dist/chunks/{pty-wz87yraf.js → mime-6s8mww07.js} +11 -11
  75. package/dist/chunks/{pty-mnys6tec.js → mime-6vjs791k.js} +24 -24
  76. package/dist/chunks/{pty-3qjwzzap.js → mime-78rkm6ft.js} +13 -13
  77. package/dist/chunks/{pty-7bmhse3q.js → mime-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{pty-tc37dsfn.js → mime-7hx8j49b.js} +13 -13
  79. package/dist/chunks/{pty-q1rph7bj.js → mime-7jws6rem.js} +294 -294
  80. package/dist/chunks/{pty-ps02k4bp.js → mime-7s5w9y6x.js} +33 -33
  81. package/dist/chunks/{pty-q9nw0fkx.js → mime-7tbaktnp.js} +24 -24
  82. package/dist/chunks/{pty-1cxhbzgd.js → mime-859cc6bp.js} +33 -33
  83. package/dist/chunks/{pty-sm965ndy.js → mime-89bb6baa.js} +8 -8
  84. package/dist/chunks/{pty-89znhe33.js → mime-89znhe33.js} +1 -1
  85. package/dist/chunks/{pty-8d7r5vzw.js → mime-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{pty-v88sgxh0.js → mime-8htb71ed.js} +15 -15
  87. package/dist/chunks/{pty-yx6bawja.js → mime-8m9832bt.js} +34 -34
  88. package/dist/chunks/{pty-dj2t23y0.js → mime-8p4f9s12.js} +2 -2
  89. package/dist/chunks/{pty-r9mregkx.js → mime-8phwd4yj.js} +29 -25
  90. package/dist/chunks/{pty-bqdz6k7x.js → mime-92atbx3b.js} +11 -11
  91. package/dist/chunks/{pty-p9zf421h.js → mime-9cg1cz13.js} +14 -14
  92. package/dist/chunks/{pty-dhw9tk05.js → mime-9jq91ht4.js} +22 -22
  93. package/dist/chunks/{pty-5sh9x8dt.js → mime-9r7qax81.js} +13 -13
  94. package/dist/chunks/{pty-dc77grpk.js → mime-9tpvgkm4.js} +6 -6
  95. package/dist/chunks/{pty-3c3dzs67.js → mime-9w5xwdkh.js} +20 -20
  96. package/dist/chunks/{pty-005agstz.js → mime-9wp7cw93.js} +16 -16
  97. package/dist/chunks/{pty-xr777zyz.js → mime-9xx6hc8d.js} +26 -26
  98. package/dist/chunks/{pty-5c4hm403.js → mime-a1bz86dw.js} +3 -3
  99. package/dist/chunks/{pty-aaet6srn.js → mime-aaet6srn.js} +2 -2
  100. package/dist/chunks/{pty-0f9afca0.js → mime-af04s6ss.js} +5 -5
  101. package/dist/chunks/{pty-fm1t1259.js → mime-aya75d5a.js} +9 -9
  102. package/dist/chunks/{pty-kcpq4mkg.js → mime-azt3m59k.js} +19 -19
  103. package/dist/chunks/{pty-r72bb3g5.js → mime-b1vqta1q.js} +6 -6
  104. package/dist/chunks/{pty-dxrx5bve.js → mime-b4ahrz2h.js} +20 -20
  105. package/dist/chunks/{pty-b6gygkdw.js → mime-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{pty-fbtpmqp8.js → mime-b9spxxcf.js} +6 -6
  107. package/dist/chunks/{pty-njv35c9c.js → mime-bbe2nkwj.js} +15 -15
  108. package/dist/chunks/{pty-qdw5vfwv.js → mime-bg2g1xyx.js} +20 -20
  109. package/dist/chunks/{pty-7tz5zdeh.js → mime-bk4n5516.js} +12 -12
  110. package/dist/chunks/{pty-27pm8xwp.js → mime-bnf67f0t.js} +6 -6
  111. package/dist/chunks/{pty-ykprmxnv.js → mime-c6s0q70p.js} +2 -2
  112. package/dist/chunks/{pty-0p9dtxs1.js → mime-c82sf4kt.js} +43 -43
  113. package/dist/chunks/{pty-m0jqrx5p.js → mime-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{pty-syqyze50.js → mime-cfzsy5dn.js} +8 -8
  115. package/dist/chunks/{pty-nb2s3qfq.js → mime-cgxdsxqf.js} +8 -8
  116. package/dist/chunks/{pty-fzgxakwn.js → mime-cjwramev.js} +6 -6
  117. package/dist/chunks/{pty-zyr9wvqd.js → mime-cpqxnny0.js} +18 -18
  118. package/dist/chunks/{pty-06dxphr1.js → mime-csf2jhsg.js} +4 -4
  119. package/dist/chunks/{pty-pjx857cd.js → mime-cswecm5v.js} +24 -24
  120. package/dist/chunks/{pty-3b1q5j1v.js → mime-d1b248br.js} +4 -4
  121. package/dist/chunks/{pty-v8jfbz3g.js → mime-d1mtykxg.js} +6 -6
  122. package/dist/chunks/{pty-2y0fysv8.js → mime-d338qq6w.js} +65 -65
  123. package/dist/chunks/{pty-87gqba2t.js → mime-d3xmts5k.js} +25 -25
  124. package/dist/chunks/{pty-cddb4mff.js → mime-d5zrkzmf.js} +3 -3
  125. package/dist/chunks/{pty-mh29eyjv.js → mime-d89gs2xh.js} +3 -3
  126. package/dist/chunks/{pty-e2673aay.js → mime-d9age9tx.js} +2 -2
  127. package/dist/chunks/{pty-9172rkmk.js → mime-dab9gdbe.js} +4 -4
  128. package/dist/chunks/{pty-bv3ar4t8.js → mime-db3cn5xg.js} +3 -3
  129. package/dist/chunks/{pty-dhmh7aw6.js → mime-ddt2bs9e.js} +4 -4
  130. package/dist/chunks/{pty-ffn2kdck.js → mime-de09dxhj.js} +1 -1
  131. package/dist/chunks/{pty-yjq1h8wq.js → mime-dfg0bpnz.js} +11 -11
  132. package/dist/chunks/{pty-dpkg50ah.js → mime-dpkg50ah.js} +1 -1
  133. package/dist/chunks/{pty-xfkkasph.js → mime-drwq78ky.js} +4 -4
  134. package/dist/chunks/{pty-zpfv5b56.js → mime-dtqm20v3.js} +6 -6
  135. package/dist/chunks/{pty-qncn4jq9.js → mime-dv2t2cas.js} +24 -24
  136. package/dist/chunks/{pty-5fyzn1g0.js → mime-dv7jba04.js} +1 -1
  137. package/dist/chunks/{pty-fy2wv845.js → mime-dys6fa9v.js} +14 -14
  138. package/dist/chunks/{pty-0v4tm5rw.js → mime-dyte7aq0.js} +37 -37
  139. package/dist/chunks/{pty-ph20cxtq.js → mime-dzw83ac5.js} +9 -9
  140. package/dist/chunks/{pty-5qd3pb7m.js → mime-e3qxr5gk.js} +2 -2
  141. package/dist/chunks/{pty-ngz4ns8d.js → mime-e5b7myd9.js} +4 -4
  142. package/dist/chunks/{pty-marnn1hp.js → mime-e6d6pdps.js} +7 -7
  143. package/dist/chunks/{pty-qfk7wg4g.js → mime-e6yqvfab.js} +17 -17
  144. package/dist/chunks/{pty-dmje0bsk.js → mime-ebd70zp7.js} +3 -3
  145. package/dist/chunks/{pty-ef5x83kb.js → mime-ef5x83kb.js} +1 -1
  146. package/dist/chunks/{pty-b8tjeqry.js → mime-et3m3hv9.js} +11 -11
  147. package/dist/chunks/{pty-etq0c3wd.js → mime-etq0c3wd.js} +1 -1
  148. package/dist/chunks/{pty-qxdvme72.js → mime-ewpsdr79.js} +15 -15
  149. package/dist/chunks/{pty-yx4zy76q.js → mime-ex7fm8gg.js} +4 -4
  150. package/dist/chunks/{pty-1acjjqhc.js → mime-f2n192rq.js} +4 -4
  151. package/dist/chunks/{pty-hdnk95c8.js → mime-f828m53h.js} +2 -2
  152. package/dist/chunks/{pty-r3p3phz8.js → mime-f8vcdpta.js} +30 -30
  153. package/dist/chunks/{pty-k2gcmxmw.js → mime-fejzv7cs.js} +13 -13
  154. package/dist/chunks/{pty-px1xpczn.js → mime-fka8s72p.js} +25 -25
  155. package/dist/chunks/{pty-fxbjtjnd.js → mime-fxbjtjnd.js} +1 -1
  156. package/dist/chunks/{pty-s8bmxf4b.js → mime-g70g2r7n.js} +9 -9
  157. package/dist/chunks/{pty-gd4qta3r.js → mime-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{pty-qvzt4t8k.js → mime-ggj56nfp.js} +8 -8
  159. package/dist/chunks/{pty-ntcnr6d2.js → mime-gnrjfmn5.js} +10 -10
  160. package/dist/chunks/{pty-0zz4rd6y.js → mime-gq9ay3kp.js} +12 -12
  161. package/dist/chunks/{pty-gv6a8nnw.js → mime-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{pty-xnwnz12t.js → mime-gyv66jpz.js} +1 -1
  163. package/dist/chunks/{pty-h03wrkyp.js → mime-h03wrkyp.js} +2 -2
  164. package/dist/chunks/{pty-2gdwawmb.js → mime-h1957gbp.js} +37 -37
  165. package/dist/chunks/{pty-v1h7jmyp.js → mime-h4c27ev9.js} +1 -1
  166. package/dist/chunks/{pty-h6r3nrb9.js → mime-h6r3nrb9.js} +1 -1
  167. package/dist/chunks/{pty-h6vf3j39.js → mime-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{pty-bh4tknr0.js → mime-hag8cqx7.js} +20 -20
  169. package/dist/chunks/{pty-2a64njz4.js → mime-hefg7mzt.js} +2 -2
  170. package/dist/chunks/{pty-1s7za8r8.js → mime-hnbtvde1.js} +20 -20
  171. package/dist/chunks/{pty-nq7qbqzc.js → mime-j3s2z371.js} +9 -9
  172. package/dist/chunks/{pty-j56e64zr.js → mime-j56e64zr.js} +1 -1
  173. package/dist/chunks/{pty-3a958b5j.js → mime-jenzj19r.js} +3 -3
  174. package/dist/chunks/{pty-g8d3gcyj.js → mime-jfqtm2ew.js} +7 -7
  175. package/dist/chunks/{pty-9fday5he.js → mime-jm4d1k5k.js} +24 -24
  176. package/dist/chunks/{pty-jppvw2tx.js → mime-k3gnzxs0.js} +5 -5
  177. package/dist/chunks/{pty-wt5vh4p5.js → mime-k7p6gza5.js} +18 -18
  178. package/dist/chunks/{pty-4a9jgtk8.js → mime-kb5bv2n4.js} +37 -37
  179. package/dist/chunks/{pty-11dqjexa.js → mime-kdq8v965.js} +9 -9
  180. package/dist/chunks/{pty-vmgmz9ta.js → mime-khfmzn3h.js} +9 -9
  181. package/dist/chunks/{pty-mrk7h3sm.js → mime-khwtb84z.js} +5 -5
  182. package/dist/chunks/{pty-44ke2mar.js → mime-knb7evpn.js} +2 -2
  183. package/dist/chunks/{pty-4wp66bzr.js → mime-ky8k1321.js} +10 -10
  184. package/dist/chunks/{pty-m9w0rfyh.js → mime-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{pty-g02dc5pq.js → mime-mbhmg47f.js} +7 -7
  186. package/dist/chunks/{pty-ckxk042a.js → mime-me1tt2vw.js} +9 -9
  187. package/dist/chunks/mime-mggzc1am.js +26 -0
  188. package/dist/chunks/{pty-1frb376n.js → mime-mjhwwr1h.js} +8 -8
  189. package/dist/chunks/{pty-rjnqjvjb.js → mime-mkf4aqmw.js} +18 -18
  190. package/dist/chunks/{pty-pdnjh9qx.js → mime-mkhs8n3r.js} +4 -4
  191. package/dist/chunks/{pty-6y3v0yak.js → mime-mqb6w0rk.js} +4 -4
  192. package/dist/chunks/{pty-73tb2d7t.js → mime-mvfsc1pv.js} +3 -3
  193. package/dist/chunks/{pty-g51vc6t9.js → mime-na6wbzjd.js} +81 -81
  194. package/dist/chunks/{pty-hp2jeqkr.js → mime-nagyd8v8.js} +25 -25
  195. package/dist/chunks/{pty-tn7fkxn8.js → mime-nknd4ny9.js} +7 -7
  196. package/dist/chunks/{pty-9j2e64em.js → mime-nszcs87g.js} +7 -7
  197. package/dist/chunks/{pty-jexxy024.js → mime-nvxqht09.js} +3 -3
  198. package/dist/chunks/{pty-0bn9wq69.js → mime-ny4f3s0v.js} +1 -1
  199. package/dist/chunks/{pty-rkdvqggb.js → mime-p3p972wa.js} +5 -5
  200. package/dist/chunks/{pty-ybhbtxjg.js → mime-p8vshhkt.js} +9 -9
  201. package/dist/chunks/{pty-pddgv2bp.js → mime-p8z9n6pf.js} +3 -3
  202. package/dist/chunks/{pty-z4jy6304.js → mime-pbpjca3p.js} +7 -7
  203. package/dist/chunks/{pty-pjvnvgmy.js → mime-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{pty-bavdgngm.js → mime-pk5h2d3g.js} +4 -4
  205. package/dist/chunks/{pty-pknna89w.js → mime-pknna89w.js} +1 -1
  206. package/dist/chunks/{pty-v0af3wsg.js → mime-pky3fvqk.js} +5 -5
  207. package/dist/chunks/{pty-m733xxny.js → mime-pn533w1y.js} +85 -85
  208. package/dist/chunks/{pty-e25vxe6e.js → mime-px5d9yap.js} +8 -8
  209. package/dist/chunks/{pty-f0bgfh1c.js → mime-pzbdg5ae.js} +4 -4
  210. package/dist/chunks/{pty-4bwnmqz9.js → mime-q5ptgr8r.js} +12 -12
  211. package/dist/chunks/{pty-yqcj214x.js → mime-qqevf9na.js} +24 -24
  212. package/dist/chunks/{pty-qsdy395h.js → mime-qsdy395h.js} +1 -1
  213. package/dist/chunks/{pty-ge5c1s9a.js → mime-qst8j85x.js} +18 -18
  214. package/dist/chunks/{pty-6g11pzee.js → mime-qvwwf4fp.js} +24 -24
  215. package/dist/chunks/{pty-rdw6cm16.js → mime-rdw6cm16.js} +1 -1
  216. package/dist/chunks/{pty-j2bad2st.js → mime-rqd9fwpe.js} +1 -1
  217. package/dist/chunks/{pty-736q711b.js → mime-rqv9ygtn.js} +20 -20
  218. package/dist/chunks/{pty-hh3pbsjs.js → mime-rvws15xt.js} +14 -14
  219. package/dist/chunks/{pty-3m13cm4e.js → mime-rw2tks3h.js} +25 -25
  220. package/dist/chunks/{pty-yrznvahk.js → mime-s4enseaf.js} +2 -2
  221. package/dist/chunks/{pty-hemqm6a0.js → mime-s5a290ta.js} +13 -13
  222. package/dist/chunks/{pty-4st5ggns.js → mime-s6wmy0wz.js} +3 -3
  223. package/dist/chunks/{pty-zgqa5fck.js → mime-sarbwdm8.js} +11 -11
  224. package/dist/chunks/{pty-q5rhn9x0.js → mime-sat34sqy.js} +14 -14
  225. package/dist/chunks/{pty-ag7cc6ae.js → mime-stxr33d1.js} +8 -8
  226. package/dist/chunks/{pty-850skrb0.js → mime-t8pjkv49.js} +6 -6
  227. package/dist/chunks/{pty-tazgh4e4.js → mime-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{pty-tdstcens.js → mime-tdstcens.js} +1 -1
  229. package/dist/chunks/{pty-0vr0cdvh.js → mime-tphheadp.js} +10 -10
  230. package/dist/chunks/{pty-x9h4gx6t.js → mime-tprcptpe.js} +39 -39
  231. package/dist/chunks/{pty-a3r4dcrj.js → mime-tqkrwgse.js} +2 -2
  232. package/dist/chunks/{pty-bz85s9hh.js → mime-ts2x07a1.js} +1 -1
  233. package/dist/chunks/{pty-hw6s7maf.js → mime-tt83xs7d.js} +22 -22
  234. package/dist/chunks/{pty-bbbg5gcy.js → mime-ttvrg1dv.js} +33 -33
  235. package/dist/chunks/{pty-b7eb1kpf.js → mime-tvjtxmeb.js} +16 -16
  236. package/dist/chunks/{pty-tvtrv512.js → mime-tvtrv512.js} +1 -1
  237. package/dist/chunks/mime-twjzhaa3.js +247 -0
  238. package/dist/chunks/{pty-s6wn0jv5.js → mime-v5anqx5b.js} +9 -9
  239. package/dist/chunks/{pty-3r43kab8.js → mime-v9shbp9h.js} +30 -30
  240. package/dist/chunks/{pty-hkcbg3z4.js → mime-veh1f6j0.js} +7 -7
  241. package/dist/chunks/{pty-veqvce7d.js → mime-veqvce7d.js} +1 -1
  242. package/dist/chunks/{pty-7ac170kv.js → mime-vkxpz7g2.js} +4 -4
  243. package/dist/chunks/{pty-p9rg9ssf.js → mime-vme96mrp.js} +13 -13
  244. package/dist/chunks/{pty-p96q0vzc.js → mime-vv2e8ggb.js} +26 -26
  245. package/dist/chunks/{pty-2497c3gb.js → mime-vwpcvpsn.js} +23 -23
  246. package/dist/chunks/{pty-pgwf6rpj.js → mime-vx1605wv.js} +2 -2
  247. package/dist/chunks/{pty-vzcthcp8.js → mime-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{pty-71506k9g.js → mime-w22xa3ag.js} +10 -10
  249. package/dist/chunks/{pty-63wpvyg5.js → mime-w3byk4vz.js} +125 -125
  250. package/dist/chunks/{pty-w3wsvvr9.js → mime-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{pty-z8mhsqtq.js → mime-w93avjv0.js} +8 -8
  252. package/dist/chunks/{pty-jwn5qy9f.js → mime-wa5xcfdj.js} +22 -22
  253. package/dist/chunks/{pty-w1ad28wa.js → mime-was7srj9.js} +8 -8
  254. package/dist/chunks/{pty-qjnxxf51.js → mime-wbkyxrgf.js} +5 -5
  255. package/dist/chunks/{pty-wd87259q.js → mime-wd87259q.js} +1 -1
  256. package/dist/chunks/{pty-emvra4z4.js → mime-wgcccx00.js} +35 -35
  257. package/dist/chunks/{pty-5vfe9zkh.js → mime-wpdxnz6z.js} +11 -11
  258. package/dist/chunks/{pty-zr15egg9.js → mime-wryja361.js} +16 -16
  259. package/dist/chunks/{pty-x1ezjp6w.js → mime-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{pty-wtpgbvbt.js → mime-x1q5t1cj.js} +20 -20
  261. package/dist/chunks/{pty-wx6s0tts.js → mime-x233q2fk.js} +28 -28
  262. package/dist/chunks/{pty-1040s6af.js → mime-x2q6da39.js} +4 -4
  263. package/dist/chunks/{pty-e3yfb1af.js → mime-x3ws3syc.js} +47 -47
  264. package/dist/chunks/{pty-jsh81p2x.js → mime-xf04dma3.js} +32 -32
  265. package/dist/chunks/{pty-fj0bt93f.js → mime-xgtksw21.js} +4 -4
  266. package/dist/chunks/{pty-90cw4v64.js → mime-xhj2ag2n.js} +16 -16
  267. package/dist/chunks/{pty-s7k5x4g9.js → mime-xj9vawve.js} +5 -5
  268. package/dist/chunks/{pty-jy9pcjq0.js → mime-xvw106k3.js} +11 -11
  269. package/dist/chunks/{pty-y1fvbwt7.js → mime-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{pty-qwjmgwmn.js → mime-y2yt4szk.js} +8 -8
  271. package/dist/chunks/{pty-zffc062v.js → mime-yn99wfgb.js} +17 -17
  272. package/dist/chunks/{pty-9n8fqfgq.js → mime-yp7kb132.js} +5 -5
  273. package/dist/chunks/{pty-rx2s3z3c.js → mime-yqz1tghx.js} +11 -11
  274. package/dist/chunks/{pty-qqs6wgn3.js → mime-yr3ynvqg.js} +50 -50
  275. package/dist/chunks/{pty-yrhqyw5v.js → mime-yrhqyw5v.js} +1 -1
  276. package/dist/chunks/{pty-k6ed90aj.js → mime-ysv8z11j.js} +8 -8
  277. package/dist/chunks/{pty-z0bkrqjs.js → mime-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{pty-vfy19pwe.js → mime-z8jfcem0.js} +9 -9
  279. package/dist/chunks/{pty-zeh9ct20.js → mime-zeh9ct20.js} +2 -2
  280. package/dist/chunks/{pty-2z45ferc.js → mime-zhq7v0p7.js} +9 -9
  281. package/dist/chunks/{pty-gns6rj52.js → mime-zn83cexa.js} +8 -8
  282. package/dist/chunks/{pty-97mj29ww.js → mime-zqcrhym3.js} +11 -11
  283. package/dist/chunks/{pty-zr2ceqn5.js → mime-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{pty-pvkmyqfe.js → mime-zshjmg5c.js} +24 -24
  285. package/dist/chunks/{pty-zxq2ej10.js → mime-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{pty-tdhe5xga.js → mime-zyr433b0.js} +11 -11
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +9 -9
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +84 -84
  291. package/dist/config/discovery.js +81 -81
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +105 -105
  294. package/dist/config/plugin/agent.js +124 -124
  295. package/dist/config/plugin/command.js +212 -212
  296. package/dist/config/plugin/compaction.js +158 -158
  297. package/dist/config/plugin/compatibility.js +140 -140
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +123 -123
  300. package/dist/config/plugin/image.js +122 -122
  301. package/dist/config/plugin/instruction.js +89 -89
  302. package/dist/config/plugin/location-watcher.js +122 -122
  303. package/dist/config/plugin/mcp.js +131 -131
  304. package/dist/config/plugin/policy.js +122 -122
  305. package/dist/config/plugin/provider.js +122 -122
  306. package/dist/config/plugin/reference.js +124 -124
  307. package/dist/config/plugin/shell.js +122 -122
  308. package/dist/config/plugin/skill-file.js +101 -101
  309. package/dist/config/plugin/skill.js +143 -143
  310. package/dist/config/plugin/snapshot.js +122 -122
  311. package/dist/config/plugin/source.js +125 -125
  312. package/dist/config/plugin/tool-output.js +124 -124
  313. package/dist/config/plugin/websearch.js +121 -121
  314. package/dist/config/plugin/worktree.js +124 -124
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +127 -127
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +72 -72
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +364 -364
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +92 -92
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +94 -94
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +103 -103
  410. package/dist/file-mutation.js +93 -93
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +223 -223
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +103 -103
  425. package/dist/form.js +69 -69
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +88 -88
  428. package/dist/generate.js +102 -102
  429. package/dist/git.js +6 -6
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +98 -98
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +355 -355
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +86 -86
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +75 -75
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +103 -103
  464. package/dist/location-service-map.js +85 -85
  465. package/dist/location-services.js +352 -352
  466. package/dist/location.js +80 -80
  467. package/dist/mcp/client.js +90 -90
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +124 -124
  470. package/dist/mcp/oauth.js +74 -74
  471. package/dist/mcp/stdio.js +89 -89
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +98 -98
  474. package/dist/model-resolver.js +97 -97
  475. package/dist/model.js +93 -93
  476. package/dist/models-dev.js +106 -106
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +81 -81
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +112 -112
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +103 -103
  487. package/dist/plugin/command.js +100 -100
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +216 -216
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +327 -327
  493. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  494. package/dist/plugin/models-dev.js +95 -95
  495. package/dist/plugin/module.js +5 -5
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +101 -101
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  500. package/dist/plugin/provider/azure.js +121 -121
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +118 -118
  506. package/dist/plugin/provider/digitalocean.js +92 -92
  507. package/dist/plugin/provider/dynamic.js +2 -2
  508. package/dist/plugin/provider/factory.js +1 -1
  509. package/dist/plugin/provider/gateway.js +2 -2
  510. package/dist/plugin/provider/github-copilot.js +92 -92
  511. package/dist/plugin/provider/gitlab.js +90 -90
  512. package/dist/plugin/provider/google-vertex.js +89 -89
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +76 -76
  515. package/dist/plugin/provider/lmstudio.js +121 -121
  516. package/dist/plugin/provider/modal.js +91 -91
  517. package/dist/plugin/provider/nvidia.js +1 -1
  518. package/dist/plugin/provider/ollama.js +121 -121
  519. package/dist/plugin/provider/openai.js +91 -91
  520. package/dist/plugin/provider/opencode.js +92 -92
  521. package/dist/plugin/provider/openrouter.js +90 -90
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  525. package/dist/plugin/provider/sap-ai-core.js +90 -90
  526. package/dist/plugin/provider/sdk-factory.js +1 -1
  527. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  528. package/dist/plugin/provider/venice.js +2 -2
  529. package/dist/plugin/provider/vercel.js +89 -89
  530. package/dist/plugin/provider/vllm.js +121 -121
  531. package/dist/plugin/provider/xai.js +90 -90
  532. package/dist/plugin/provider/zenmux.js +1 -1
  533. package/dist/plugin/provider.js +158 -158
  534. package/dist/plugin/sdk.js +75 -75
  535. package/dist/plugin/service.js +3 -3
  536. package/dist/plugin/skill.js +140 -140
  537. package/dist/plugin/source-directory.js +1 -1
  538. package/dist/plugin/supervisor.js +344 -344
  539. package/dist/plugin/update.js +6 -6
  540. package/dist/plugin/vcs/git.js +85 -85
  541. package/dist/plugin/vcs/hg.js +85 -85
  542. package/dist/plugin/warming.js +120 -120
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +6 -6
  550. package/dist/plugin.js +227 -227
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +79 -79
  554. package/dist/provider.js +88 -88
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/schema.js +3 -3
  557. package/dist/pty/ticket.js +1 -1
  558. package/dist/pty.js +97 -97
  559. package/dist/reference/instructions.js +88 -88
  560. package/dist/reference.js +86 -86
  561. package/dist/repository-cache.js +80 -80
  562. package/dist/repository.js +1 -1
  563. package/dist/ripgrep/binary.js +2 -2
  564. package/dist/ripgrep.js +94 -94
  565. package/dist/rpc.js +85 -85
  566. package/dist/schema.js +1 -1
  567. package/dist/session/command.js +73 -73
  568. package/dist/session/compaction.js +132 -132
  569. package/dist/session/context.js +150 -150
  570. package/dist/session/diff.js +87 -87
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +7 -7
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +219 -219
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +149 -149
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +87 -87
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +74 -74
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +96 -96
  583. package/dist/session/message-updater.js +4 -4
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +115 -115
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +85 -85
  589. package/dist/session/prompt.js +104 -104
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +89 -89
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +228 -228
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +97 -97
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +113 -113
  599. package/dist/session/runner/step.js +124 -124
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +171 -171
  603. package/dist/session/shell.js +137 -137
  604. package/dist/session/skill.js +102 -102
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +72 -72
  607. package/dist/session/store.js +84 -84
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +206 -206
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +154 -154
  612. package/dist/session/to-session-error.js +110 -110
  613. package/dist/session/transfer.js +212 -212
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +214 -214
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +139 -139
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +106 -106
  623. package/dist/skill.js +109 -109
  624. package/dist/snapshot.js +90 -90
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +123 -123
  629. package/dist/tool/plugin/edit.js +119 -119
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +123 -123
  632. package/dist/tool/plugin/grep.js +123 -123
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +121 -121
  635. package/dist/tool/plugin/question.js +102 -102
  636. package/dist/tool/plugin/read.js +122 -122
  637. package/dist/tool/plugin/shell.js +213 -213
  638. package/dist/tool/plugin/skill.js +110 -110
  639. package/dist/tool/plugin/subagent.js +217 -217
  640. package/dist/tool/plugin/webfetch.js +111 -111
  641. package/dist/tool/plugin/websearch.js +111 -111
  642. package/dist/tool/plugin/write.js +121 -121
  643. package/dist/tool/read-filesystem.js +99 -99
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  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 +7 -7
  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 +4 -4
  661. package/dist/v1/config/formatter.js +5 -5
  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 +7 -7
  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/pty-1tm0r3ht.js +0 -4
  689. package/dist/chunks/pty-40cvr20j.js +0 -26
  690. package/dist/chunks/pty-b8vveb32.js +0 -247
  691. package/dist/chunks/pty-vnkjks7b.js +0 -18
  692. /package/dist/chunks/{pty-0qkdqm5v.js → mime-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{pty-0zkw76rk.js → mime-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{pty-17cy0kzp.js → mime-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{pty-1cnp2v09.js → mime-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{pty-1kg9ymc8.js → mime-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{pty-24dcb14g.js → mime-24dcb14g.js} +0 -0
  698. /package/dist/chunks/{pty-2710q6r3.js → mime-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{pty-2axfhc9x.js → mime-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{pty-2c3vjs8z.js → mime-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{pty-359p4xyc.js → mime-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{pty-3asan66x.js → mime-3asan66x.js} +0 -0
  703. /package/dist/chunks/{pty-3v8g72cx.js → mime-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{pty-3w5fmr99.js → mime-3w5fmr99.js} +0 -0
  705. /package/dist/chunks/{pty-3wcehsnq.js → mime-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{pty-43n2bw4t.js → mime-43n2bw4t.js} +0 -0
  707. /package/dist/chunks/{pty-4knz6hnm.js → mime-4knz6hnm.js} +0 -0
  708. /package/dist/chunks/{pty-4vcrnpx2.js → mime-4vcrnpx2.js} +0 -0
  709. /package/dist/chunks/{pty-4y7fprxs.js → mime-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{pty-53557ph1.js → mime-53557ph1.js} +0 -0
  711. /package/dist/chunks/{pty-550bvhaj.js → mime-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{pty-6prwharc.js → mime-6prwharc.js} +0 -0
  713. /package/dist/chunks/{pty-7akdwqpd.js → mime-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{pty-7m9af43g.js → mime-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{pty-822emrt2.js → mime-822emrt2.js} +0 -0
  716. /package/dist/chunks/{pty-88xbtdfr.js → mime-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{pty-8n3pysct.js → mime-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{pty-922hggd3.js → mime-922hggd3.js} +0 -0
  719. /package/dist/chunks/{pty-9a4afbnw.js → mime-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{pty-9rqn6x4v.js → mime-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{pty-a6k6eb26.js → mime-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{pty-af5trqkr.js → mime-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{pty-afrmfg78.js → mime-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{pty-aqzs7mqg.js → mime-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{pty-atq7p7m5.js → mime-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{pty-bkyjaxrp.js → mime-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{pty-bmr6ed5q.js → mime-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{pty-cf4snx6d.js → mime-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{pty-cvy3z8tj.js → mime-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{pty-d9fn303g.js → mime-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{pty-d9jj8t3e.js → mime-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{pty-dajrwvna.js → mime-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{pty-dap0rakb.js → mime-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{pty-df08tz66.js → mime-df08tz66.js} +0 -0
  735. /package/dist/chunks/{pty-dy18nga0.js → mime-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{pty-e5kj55wp.js → mime-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{pty-e73j6tqm.js → mime-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{pty-ec1grn59.js → mime-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{pty-eh3zwz77.js → mime-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{pty-emrn6kk6.js → mime-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{pty-f0mxakyp.js → mime-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{pty-f6n9ztr4.js → mime-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{pty-faypxj3z.js → mime-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{pty-fd410y7t.js → mime-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{pty-fxgpk5d8.js → mime-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{pty-g4wezp1m.js → mime-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{pty-g86h250q.js → mime-g86h250q.js} +0 -0
  748. /package/dist/chunks/{pty-gebd4c9n.js → mime-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{pty-gftt206x.js → mime-gftt206x.js} +0 -0
  750. /package/dist/chunks/{pty-hjbc5kem.js → mime-hjbc5kem.js} +0 -0
  751. /package/dist/chunks/{pty-hk9envan.js → mime-hk9envan.js} +0 -0
  752. /package/dist/chunks/{pty-j2ntwpah.js → mime-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{pty-j5zkgpj8.js → mime-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{pty-jjkms2e6.js → mime-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{pty-jr7sbwjy.js → mime-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{pty-jwfs4k6c.js → mime-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{pty-jzg6c2d5.js → mime-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{pty-mp448xyj.js → mime-mp448xyj.js} +0 -0
  759. /package/dist/chunks/{pty-msx8hqn2.js → mime-msx8hqn2.js} +0 -0
  760. /package/dist/chunks/{pty-n05xt0ee.js → mime-n05xt0ee.js} +0 -0
  761. /package/dist/chunks/{pty-n3j8tn72.js → mime-n3j8tn72.js} +0 -0
  762. /package/dist/chunks/{pty-njntx4h6.js → mime-njntx4h6.js} +0 -0
  763. /package/dist/chunks/{pty-q3sfg36h.js → mime-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{pty-q74kybfr.js → mime-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{pty-qaymkmh1.js → mime-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{pty-qb87gjwd.js → mime-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{pty-qfa1cgps.js → mime-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{pty-qg3g05ea.js → mime-qg3g05ea.js} +0 -0
  769. /package/dist/chunks/{pty-qrg20bc0.js → mime-qrg20bc0.js} +0 -0
  770. /package/dist/chunks/{pty-rcb2kzg1.js → mime-rcb2kzg1.js} +0 -0
  771. /package/dist/chunks/{pty-sdp7kfr6.js → mime-sdp7kfr6.js} +0 -0
  772. /package/dist/chunks/{pty-sk3qaz4a.js → mime-sk3qaz4a.js} +0 -0
  773. /package/dist/chunks/{pty-ssg3fenm.js → mime-ssg3fenm.js} +0 -0
  774. /package/dist/chunks/{pty-twg0f83k.js → mime-twg0f83k.js} +0 -0
  775. /package/dist/chunks/{pty-w803qqfp.js → mime-w803qqfp.js} +0 -0
  776. /package/dist/chunks/{pty-wc3fc9cn.js → mime-wc3fc9cn.js} +0 -0
  777. /package/dist/chunks/{pty-wer8tq1h.js → mime-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{pty-wtztk69x.js → mime-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{pty-x0ckcb58.js → mime-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{pty-x61499pn.js → mime-x61499pn.js} +0 -0
  781. /package/dist/chunks/{pty-y44na4kk.js → mime-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{pty-y8cydn3q.js → mime-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{pty-y8f7s663.js → mime-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{pty-ygaqb7jw.js → mime-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{pty-ym463w8f.js → mime-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{pty-z9919s4g.js → mime-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./pty-3w5fmr99.js";
4
+ } from "./mime-3w5fmr99.js";
5
5
  import {
6
6
  __export
7
- } from "./pty-9rqn6x4v.js";
7
+ } from "./mime-9rqn6x4v.js";
8
8
 
9
9
  // src/codemode/tool.ts
10
10
  var exports_tool2 = {};
@@ -51,7 +51,7 @@ var create2 = (inventory, executeTool) => {
51
51
  const files = yield* Ref.make([]);
52
52
  const calls = yield* Ref.make([]);
53
53
  const lock = Semaphore.makeUnsafe(1);
54
- const updateCalls = (update) => lock.withPermit(Ref.updateAndGet(calls, update).pipe(Effect.flatMap((toolCalls) => context.progress({ toolCalls }))));
54
+ const record = (update) => lock.withPermit(Ref.updateAndGet(calls, update).pipe(Effect.tap((toolCalls) => context.progress({ toolCalls }))));
55
55
  const result = yield* runtime(inventory, (name, tool, input) => Effect.gen(function* () {
56
56
  const index = yield* Ref.getAndUpdate(callIndex, (index) => index + 1);
57
57
  const executed = yield* executeTool(name, tool, input, context);
@@ -64,27 +64,7 @@ var create2 = (inventory, executeTool) => {
64
64
  const text = content.flatMap((part) => part.type === "text" ? [part.text] : []).join(`
65
65
  `);
66
66
  return text === "" ? null : text;
67
- }), {
68
- onToolCallStart: ({ index, name, input }) => {
69
- const shown = displayInput(input);
70
- return updateCalls((items) => {
71
- const next = [...items];
72
- next[index] = { tool: name, status: "running", ...shown ? { input: shown } : {} };
73
- return next;
74
- });
75
- },
76
- onToolCallEnd: ({ index, name, input, outcome }) => {
77
- const shown = displayInput(input);
78
- return updateCalls((items) => {
79
- const next = [...items];
80
- next[index] = {
81
- ...items[index] ?? { tool: name, ...shown ? { input: shown } : {} },
82
- status: outcome === "success" ? "completed" : "error"
83
- };
84
- return next;
85
- });
86
- }
87
- }).execute(code);
67
+ }), progressHooks(record)).execute(code);
88
68
  const toolCalls = yield* Ref.get(calls);
89
69
  const collected = (yield* Ref.get(files)).toSorted((left, right) => left.index - right.index).flatMap((item) => item.files);
90
70
  const output = formatResult(result);
@@ -115,6 +95,30 @@ var create2 = (inventory, executeTool) => {
115
95
  })
116
96
  };
117
97
  };
98
+ function progressHooks(record) {
99
+ const rows = new WeakMap;
100
+ const start = (call, entry) => record((items) => {
101
+ rows.set(call, items.length);
102
+ return [...items, entry];
103
+ });
104
+ const settle = (call, result) => record((items) => {
105
+ const index = rows.get(call);
106
+ if (index === undefined)
107
+ return items;
108
+ const next = [...items];
109
+ next[index] = { ...items[index], status: result.status === "success" ? "completed" : "error" };
110
+ return next;
111
+ });
112
+ return {
113
+ "tool.before": (call) => {
114
+ const shown = displayInput(call.input);
115
+ return start(call, { tool: call.name, status: "running", ...shown ? { input: shown } : {} });
116
+ },
117
+ "tool.after": settle,
118
+ "extension.before": (call) => start(call, { tool: call.name, status: "running" }),
119
+ "extension.after": settle
120
+ };
121
+ }
118
122
  var catalog2 = (inventory) => {
119
123
  const pinned = new Set(Array.from(inventory.tools.values()).filter((registration) => registration.options?.pinned === true).map(qualifiedName));
120
124
  const root = { children: new Map };
@@ -162,7 +166,7 @@ function runtime(inventory, executeTool, hooks) {
162
166
  });
163
167
  }
164
168
  const tools = renderTools(root);
165
- return CodeMode.make({ tools, ...hooks });
169
+ return CodeMode.make({ tools, hooks });
166
170
  }
167
171
  function getNode(root, path) {
168
172
  return path.split(".").reduce((parent, name) => {
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service40
3
- } from "./pty-emvra4z4.js";
2
+ Service58
3
+ } from "./mime-wgcccx00.js";
4
4
  import {
5
- Service44
6
- } from "./pty-ph20cxtq.js";
5
+ Service52
6
+ } from "./mime-dzw83ac5.js";
7
7
  import {
8
8
  observe2
9
- } from "./pty-qsdy395h.js";
9
+ } from "./mime-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./pty-9rqn6x4v.js";
12
+ } from "./mime-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin34
18
+ Plugin: () => Plugin31
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin34 = define({
22
+ var Plugin31 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service40;
26
- const image = yield* Service44;
25
+ const config = yield* Service58;
26
+ const image = yield* Service52;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin34 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin34, exports_image };
46
+ export { Plugin31, exports_image };
@@ -2,17 +2,17 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./pty-922hggd3.js";
5
+ } from "./mime-922hggd3.js";
6
6
  import {
7
- Service62,
8
- node65
9
- } from "./pty-kxdabtfm.js";
7
+ Service69,
8
+ node72
9
+ } from "./mime-2zjw9q23.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./pty-8d7r5vzw.js";
12
+ } from "./mime-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./pty-9rqn6x4v.js";
15
+ } from "./mime-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error4,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service61,
24
- node: () => node64
23
+ Service: () => Service68,
24
+ node: () => node71
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service61 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service68 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error4({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service61, Effect.gen(function* () {
67
- const environment = yield* Service62;
66
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
67
+ const environment = yield* Service69;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service61.of({
95
+ return Service68.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node64 = makeLocationNode({ service: Service61, layer, deps: [node65, RipgrepBinary2.node] });
178
+ var node71 = makeLocationNode({ service: Service68, layer, deps: [node72, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service61, node64, exports_ripgrep };
180
+ export { Error4, InvalidPatternError2, Service68, node71, exports_ripgrep };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./mime-922hggd3.js";
4
4
  import {
5
5
  Service78
6
- } from "./pty-e2673aay.js";
6
+ } from "./mime-d9age9tx.js";
7
7
  import {
8
- Service66
9
- } from "./pty-njv35c9c.js";
8
+ Service42
9
+ } from "./mime-bbe2nkwj.js";
10
10
  import {
11
- Service7
12
- } from "./pty-zr15egg9.js";
11
+ Service11
12
+ } from "./mime-wryja361.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./pty-2a5m3afh.js";
15
+ } from "./mime-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service8
27
- } from "./pty-972ydv8n.js";
26
+ Service4
27
+ } from "./mime-59zrdmmg.js";
28
28
  import {
29
29
  __export
30
- } from "./pty-9rqn6x4v.js";
30
+ } from "./mime-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input7,
36
- Plugin: () => Plugin23,
35
+ Input: () => Input8,
36
+ Plugin: () => Plugin9,
37
37
  ReadTool: () => exports_read,
38
- name: () => name7,
38
+ name: () => name8,
39
39
  toModelContent: () => toModelContent4
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name7 = "read";
45
+ var name8 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input7 = LocationInput;
56
+ var Input8 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin23 = {
58
+ var Plugin9 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service8;
62
- const access = yield* Service66;
63
- const sessionInstructions = yield* Service7;
61
+ const reader = yield* Service4;
62
+ const access = yield* Service42;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service78;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name7,
67
+ name: name8,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input7,
70
+ input: Input8,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name7, Input7, Plugin23, toModelContent4, exports_read };
183
+ export { name8, Input8, Plugin9, toModelContent4, exports_read };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service51,
3
- node54,
2
+ Service65,
3
+ node68,
4
4
  canonical3
5
- } from "./pty-e25vxe6e.js";
5
+ } from "./mime-px5d9yap.js";
6
6
  import {
7
- Service49,
8
- node52
9
- } from "./pty-v8jfbz3g.js";
7
+ Service39,
8
+ node41
9
+ } from "./mime-d1mtykxg.js";
10
10
  import {
11
- Service15
12
- } from "./pty-jy9pcjq0.js";
11
+ Service16
12
+ } from "./mime-xvw106k3.js";
13
13
  import {
14
14
  layer2
15
- } from "./pty-b8vveb32.js";
15
+ } from "./mime-twjzhaa3.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service51, Effect.gen(function* () {
20
+ return Layer.effect(Service65, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
28
28
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
29
29
  return Effect.void;
30
30
  if (Exit.isSuccess(exit)) {
31
- build.close = Context.get(exit.value, Service15).close;
31
+ build.close = Context.get(exit.value, Service16).close;
32
32
  return Effect.void;
33
33
  }
34
34
  MutableHashMap.remove(builds, ref);
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
50
50
  })
51
51
  };
52
52
  const bindings = [
53
- node52.replace(Layer.succeed(Service49, {
53
+ node41.replace(Layer.succeed(Service39, {
54
54
  provide: (session) => Effect.provide(map.get(session.location))
55
55
  })),
56
56
  ...replacements,
57
- node54.replace(Layer.succeed(Service51, map))
57
+ node68.replace(Layer.succeed(Service65, map))
58
58
  ];
59
59
  return map;
60
60
  }));
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-wz87yraf.js";
3
+ } from "./mime-6s8mww07.js";
4
4
  import {
5
5
  call2
6
- } from "./pty-1ygqh575.js";
6
+ } from "./mime-56gdpj1q.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./mime-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/tinyfish.ts
12
12
  var exports_tinyfish = {};
13
13
  __export(exports_tinyfish, {
14
- Plugin: () => Plugin10,
14
+ Plugin: () => Plugin40,
15
15
  WebSearchTinyFish: () => exports_tinyfish,
16
16
  endpoint: () => endpoint6
17
17
  });
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
33
33
  }))
34
34
  }));
35
35
  var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
36
- var Plugin10 = define({
36
+ var Plugin40 = define({
37
37
  id: "opencode.websearch.tinyfish",
38
38
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
39
39
  const http = yield* HttpClient.HttpClient;
@@ -73,4 +73,4 @@ var Plugin10 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { endpoint6, Plugin10, exports_tinyfish };
76
+ export { endpoint6, Plugin40, exports_tinyfish };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service81
3
- } from "./pty-bavdgngm.js";
3
+ } from "./mime-pk5h2d3g.js";
4
4
  import {
5
- Service35
6
- } from "./pty-px1xpczn.js";
5
+ Service34
6
+ } from "./mime-fka8s72p.js";
7
7
  import {
8
- Error3
9
- } from "./pty-6g11pzee.js";
8
+ Error2
9
+ } from "./mime-qvwwf4fp.js";
10
10
  import {
11
- Service39
12
- } from "./pty-p42y1bm5.js";
11
+ Service55
12
+ } from "./mime-04tfxcdr.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./pty-ybhbtxjg.js";
15
+ } from "./mime-p8vshhkt.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./pty-ec1grn59.js";
18
+ } from "./mime-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./pty-9172rkmk.js";
21
+ } from "./mime-dab9gdbe.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./pty-tdstcens.js";
24
+ } from "./mime-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./pty-h03wrkyp.js";
27
+ } from "./mime-h03wrkyp.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./pty-zpfv5b56.js";
30
+ } from "./mime-dtqm20v3.js";
31
31
  import {
32
32
  __export
33
- } from "./pty-9rqn6x4v.js";
33
+ } from "./mime-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make7
40
+ make: () => make8
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make7 = Effect.gen(function* () {
54
+ var make8 = Effect.gen(function* () {
55
55
  const bus = yield* Service81;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service35;
58
- const toolOutput = yield* Service39;
57
+ const snapshots = yield* Service34;
58
+ const toolOutput = yield* Service55;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -70,7 +70,7 @@ var make7 = Effect.gen(function* () {
70
70
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
71
71
  const executeTool = (call) => {
72
72
  if (input.prepared.request.toolChoice?.type === "none")
73
- return new Error3({ message: "Tools are disabled after the maximum agent steps" });
73
+ return new Error2({ message: "Tools are disabled after the maximum agent steps" });
74
74
  return input.prepared.executeTool({
75
75
  sessionID: input.sessionID,
76
76
  agent: input.agent,
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
205
205
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
206
206
  };
207
207
 
208
- export { Outcome2, make7, exports_step };
208
+ export { Outcome2, make8, exports_step };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./pty-922hggd3.js";
3
+ } from "./mime-922hggd3.js";
4
4
  import {
5
5
  node84
6
- } from "./pty-ab8cnxkj.js";
6
+ } from "./mime-1v6wmkfd.js";
7
7
  import {
8
8
  Service78,
9
9
  node82
10
- } from "./pty-e2673aay.js";
10
+ } from "./mime-d9age9tx.js";
11
11
  import {
12
12
  create3
13
- } from "./pty-rdw6cm16.js";
13
+ } from "./mime-rdw6cm16.js";
14
14
  import {
15
- make12
16
- } from "./pty-r72bb3g5.js";
15
+ make20
16
+ } from "./mime-b1vqta1q.js";
17
17
  import {
18
18
  __export
19
- } from "./pty-9rqn6x4v.js";
19
+ } from "./mime-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service17,
24
+ Service: () => Service64,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node20
26
+ node: () => node67
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service17 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service64 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service17, Effect.gen(function* () {
36
+ var layer = Layer.effect(Service64, Effect.gen(function* () {
37
37
  const location = yield* Service78;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make12;
39
+ const git = yield* make20;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service17, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service17.of({ ...state, directory: location.directory });
58
+ return Service64.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node20 = makeLocationNode({
61
- service: Service17,
60
+ var node67 = makeLocationNode({
61
+ service: Service64,
62
62
  layer,
63
63
  deps: [node82, Global.node, node84, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service17, node20, exports_strategies };
66
+ export { Service64, node67, exports_strategies };