@opencode/core 0.0.0-dev-20195 → 0.0.0-dev-20197

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +73 -73
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{config-8gx3jvtz.js → tool-output-02k8mbxw.js} +18 -18
  8. package/dist/chunks/{config-96aey767.js → tool-output-0476n2vb.js} +30 -30
  9. package/dist/chunks/{config-2vas31rw.js → tool-output-04z3bh7m.js} +15 -15
  10. package/dist/chunks/{config-gg3hnhsj.js → tool-output-0bfcnrg1.js} +1 -1
  11. package/dist/chunks/{config-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{config-jjzhwb0d.js → tool-output-0qhs5d8m.js} +6 -6
  13. package/dist/chunks/{config-yp2x3t23.js → tool-output-1acjjqhc.js} +4 -4
  14. package/dist/chunks/{config-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{config-p0pcj68s.js → tool-output-1eg4nxfw.js} +8 -8
  16. package/dist/chunks/{config-0sm4f45j.js → tool-output-1pyenv6t.js} +27 -27
  17. package/dist/chunks/{config-0anx78yw.js → tool-output-1qd4j2m8.js} +9 -9
  18. package/dist/chunks/{config-ce09rktv.js → tool-output-1qmdv5mp.js} +19 -19
  19. package/dist/chunks/{config-f72dzx6j.js → tool-output-1v370h9c.js} +20 -20
  20. package/dist/chunks/{config-33w4ejhs.js → tool-output-1ygqh575.js} +6 -6
  21. package/dist/chunks/{config-21r38tys.js → tool-output-21r38tys.js} +1 -1
  22. package/dist/chunks/{config-kzc3h1h3.js → tool-output-277eer69.js} +4 -4
  23. package/dist/chunks/{config-0f6jxcrw.js → tool-output-28bphpdr.js} +8 -8
  24. package/dist/chunks/{config-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{config-7tbn3xvm.js → tool-output-2jspd48j.js} +14 -14
  26. package/dist/chunks/{config-znhb3s94.js → tool-output-2kswpgjc.js} +2 -2
  27. package/dist/chunks/{config-4wgr6ws5.js → tool-output-2pcq2b87.js} +33 -33
  28. package/dist/chunks/{config-evbgk2k8.js → tool-output-37s12vcn.js} +5 -5
  29. package/dist/chunks/{config-qys7aaaj.js → tool-output-37yavxgr.js} +16 -16
  30. package/dist/chunks/{config-s0e1y9y9.js → tool-output-38xgxzt4.js} +15 -15
  31. package/dist/chunks/{config-7gzq7424.js → tool-output-3crxstbh.js} +25 -25
  32. package/dist/chunks/{config-tb3b9sw6.js → tool-output-3cvhxgkj.js} +12 -12
  33. package/dist/chunks/{config-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
  34. package/dist/chunks/{config-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
  35. package/dist/chunks/{config-36j2y7hk.js → tool-output-3kgczs2p.js} +314 -314
  36. package/dist/chunks/{config-epaabzb0.js → tool-output-3qst95dy.js} +27 -27
  37. package/dist/chunks/{config-h4ekgxw3.js → tool-output-3s5dsf8j.js} +6 -6
  38. package/dist/chunks/{config-ed84fsvm.js → tool-output-3sb832nx.js} +12 -12
  39. package/dist/chunks/{config-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{config-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{config-hdfwwe2n.js → tool-output-3vd6wzb1.js} +6 -6
  42. package/dist/chunks/{config-n9ymfxxx.js → tool-output-3wyzb0e5.js} +30 -30
  43. package/dist/chunks/{config-qr30w61m.js → tool-output-3ynbcv91.js} +31 -31
  44. package/dist/chunks/{config-3zsf4n22.js → tool-output-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{config-3acv6brs.js → tool-output-450b7bpx.js} +11 -11
  46. package/dist/chunks/{config-xpac2x5a.js → tool-output-49y6vd17.js} +6 -6
  47. package/dist/chunks/{config-je7tdbs0.js → tool-output-4dcj001e.js} +33 -33
  48. package/dist/chunks/{config-sskdr19r.js → tool-output-4p4tbajs.js} +1 -1
  49. package/dist/chunks/{config-454kp9wr.js → tool-output-4qm2ah6d.js} +14 -14
  50. package/dist/chunks/{config-spn7hksh.js → tool-output-4s0ggjef.js} +12 -12
  51. package/dist/chunks/{config-mnn4rm54.js → tool-output-5076cmfm.js} +20 -20
  52. package/dist/chunks/{config-47q4gzaj.js → tool-output-55sk2spr.js} +24 -24
  53. package/dist/chunks/{config-57ez7d0k.js → tool-output-57ez7d0k.js} +2 -2
  54. package/dist/chunks/{config-jb5eh492.js → tool-output-58bfgm1g.js} +16 -16
  55. package/dist/chunks/{config-ndmv45hp.js → tool-output-5cmxdwv8.js} +3 -3
  56. package/dist/chunks/{config-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
  57. package/dist/chunks/{config-vd4t73rm.js → tool-output-5e093kp3.js} +22 -22
  58. package/dist/chunks/{config-js82azy0.js → tool-output-5fq0cf9t.js} +12 -12
  59. package/dist/chunks/{config-e93201sm.js → tool-output-5mt7yacn.js} +15 -15
  60. package/dist/chunks/{config-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{config-bd9sv20n.js → tool-output-5v83nwmj.js} +25 -25
  62. package/dist/chunks/{config-6zycmakc.js → tool-output-5yh2dfjr.js} +11 -11
  63. package/dist/chunks/{config-295dersz.js → tool-output-614kmz4v.js} +15 -15
  64. package/dist/chunks/{config-669tq793.js → tool-output-669tq793.js} +1 -1
  65. package/dist/chunks/{config-2402vzrj.js → tool-output-6h73sxmp.js} +5 -5
  66. package/dist/chunks/{config-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{config-8zwfmhx2.js → tool-output-6p4rprcy.js} +15 -15
  68. package/dist/chunks/{config-7np6y5v9.js → tool-output-6wr1j3sy.js} +5 -5
  69. package/dist/chunks/{config-19m0y6e0.js → tool-output-6xx0w84m.js} +25 -25
  70. package/dist/chunks/{config-n05ctsyv.js → tool-output-716zbwxy.js} +5 -5
  71. package/dist/chunks/{config-1sh6c7wg.js → tool-output-71q4y7v2.js} +35 -35
  72. package/dist/chunks/{config-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{config-7dqw4kz8.js → tool-output-7dqw4kz8.js} +1 -1
  74. package/dist/chunks/{config-ref9hxfn.js → tool-output-7ffj36et.js} +14 -14
  75. package/dist/chunks/{config-7r2ns73q.js → tool-output-7nfz6ryh.js} +24 -24
  76. package/dist/chunks/{config-mwwmpq4r.js → tool-output-7xfrhwkv.js} +34 -34
  77. package/dist/chunks/{config-cmfxejye.js → tool-output-7yxjqz7x.js} +3 -3
  78. package/dist/chunks/{config-ekp917ff.js → tool-output-7zzzc068.js} +11 -11
  79. package/dist/chunks/{config-0ny8pk0m.js → tool-output-82gbt3vt.js} +3 -3
  80. package/dist/chunks/{config-297axkkc.js → tool-output-83rmg7kz.js} +15 -15
  81. package/dist/chunks/{config-axcxkett.js → tool-output-8492vyn7.js} +17 -17
  82. package/dist/chunks/{config-had4kgfk.js → tool-output-87deq66t.js} +6 -6
  83. package/dist/chunks/{config-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{config-7tx5g9sa.js → tool-output-8fw23d1s.js} +27 -27
  85. package/dist/chunks/{config-1v5g7h7z.js → tool-output-8tdwwcb4.js} +7 -7
  86. package/dist/chunks/{config-gmwd0m74.js → tool-output-8yszrpyq.js} +42 -42
  87. package/dist/chunks/{config-js1bgrk5.js → tool-output-91qrwzar.js} +10 -10
  88. package/dist/chunks/{config-gfvb90ym.js → tool-output-94ek1h2f.js} +2 -2
  89. package/dist/chunks/{config-ak1tpw6q.js → tool-output-9de33ba1.js} +2 -2
  90. package/dist/chunks/{config-eh4jt04e.js → tool-output-9e2vsbeh.js} +12 -12
  91. package/dist/chunks/{config-9hn6k4tm.js → tool-output-9hn6k4tm.js} +1 -1
  92. package/dist/chunks/{config-2a6rn6yr.js → tool-output-9r15s34d.js} +6 -6
  93. package/dist/chunks/{config-jt56r67m.js → tool-output-9vt6ftyg.js} +13 -13
  94. package/dist/chunks/{config-chx6d6tt.js → tool-output-9wm6pnp3.js} +10 -10
  95. package/dist/chunks/{config-35zdc76s.js → tool-output-9ww363be.js} +22 -22
  96. package/dist/chunks/{config-70gxshxr.js → tool-output-9zzmcsar.js} +1 -1
  97. package/dist/chunks/{config-5ezt1pd0.js → tool-output-a1yb6yjd.js} +22 -22
  98. package/dist/chunks/{config-fvve35qg.js → tool-output-a356yfxf.js} +25 -25
  99. package/dist/chunks/{config-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
  100. package/dist/chunks/{config-bkxzp8j2.js → tool-output-an7t1n2z.js} +3 -3
  101. package/dist/chunks/{config-h2gfwxs3.js → tool-output-anxbc3wp.js} +90 -90
  102. package/dist/chunks/{config-1zgcewym.js → tool-output-arvmqj63.js} +20 -20
  103. package/dist/chunks/{config-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{config-abney02d.js → tool-output-bgfkqmt3.js} +28 -28
  105. package/dist/chunks/{config-ekr1tkzw.js → tool-output-bj6gcr9n.js} +3 -3
  106. package/dist/chunks/{config-fs4g4s7s.js → tool-output-bkvk4kr6.js} +12 -12
  107. package/dist/chunks/{config-v991q2ks.js → tool-output-bmwt7k0m.js} +4 -4
  108. package/dist/chunks/{config-y1zffv57.js → tool-output-bnxdzq2s.js} +8 -8
  109. package/dist/chunks/{config-p3dfpxct.js → tool-output-bqm1219b.js} +12 -12
  110. package/dist/chunks/{config-npk6dv14.js → tool-output-bqxasd6f.js} +13 -13
  111. package/dist/chunks/{config-sjnymxq5.js → tool-output-bsheswfr.js} +45 -45
  112. package/dist/chunks/{config-8qvzptz7.js → tool-output-bsqx64w4.js} +4 -4
  113. package/dist/chunks/{config-mrm2rqc2.js → tool-output-bvwpxajt.js} +4 -4
  114. package/dist/chunks/{config-8j758wh3.js → tool-output-bzp7925c.js} +4 -4
  115. package/dist/chunks/{config-e3dd7bme.js → tool-output-c85cxar8.js} +6 -6
  116. package/dist/chunks/{config-d9tzqxjz.js → tool-output-cd3pbzq9.js} +23 -23
  117. package/dist/chunks/{config-7hvbv13b.js → tool-output-cfamg4rm.js} +31 -31
  118. package/dist/chunks/{config-54tcyq79.js → tool-output-ckecvw8r.js} +2 -2
  119. package/dist/chunks/{config-d0g0pqf7.js → tool-output-cm3z3ses.js} +10 -10
  120. package/dist/chunks/{config-cpj0znwe.js → tool-output-cpj0znwe.js} +1 -1
  121. package/dist/chunks/{config-80nef7dm.js → tool-output-csaakmaj.js} +12 -12
  122. package/dist/chunks/{config-cpneeje0.js → tool-output-d4he2qe1.js} +5 -5
  123. package/dist/chunks/{config-rxbrkmj1.js → tool-output-desf963j.js} +20 -20
  124. package/dist/chunks/{config-dmqcgk4z.js → tool-output-dmqcgk4z.js} +2 -2
  125. package/dist/chunks/{config-0r7yqxbf.js → tool-output-e6hmchc5.js} +5 -5
  126. package/dist/chunks/{config-pf8nwgds.js → tool-output-eae6ke6a.js} +13 -13
  127. package/dist/chunks/{config-02nrjc1r.js → tool-output-eaj1djv9.js} +4 -4
  128. package/dist/chunks/{config-ecfe7b91.js → tool-output-ecfe7b91.js} +2 -2
  129. package/dist/chunks/{config-bdgvyade.js → tool-output-eenxbhqx.js} +14 -14
  130. package/dist/chunks/{config-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{config-mnb5mnp1.js → tool-output-egzwfsft.js} +8 -8
  132. package/dist/chunks/{config-kn2sx07v.js → tool-output-emf5javn.js} +14 -14
  133. package/dist/chunks/{config-4eem5j9w.js → tool-output-enbb68v0.js} +18 -18
  134. package/dist/chunks/{config-r3bb402n.js → tool-output-etd5sf72.js} +29 -29
  135. package/dist/chunks/{config-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{config-96gkbmz7.js → tool-output-ewfzzsjx.js} +5 -5
  137. package/dist/chunks/{config-g3e158x3.js → tool-output-ey7sk0a9.js} +18 -18
  138. package/dist/chunks/{config-6736kgvh.js → tool-output-fnjjvk1c.js} +13 -13
  139. package/dist/chunks/{config-ze75yzft.js → tool-output-fqtvmpfq.js} +7 -7
  140. package/dist/chunks/{config-6wksry55.js → tool-output-fr2wvzh6.js} +14 -14
  141. package/dist/chunks/{config-jtd5a63n.js → tool-output-frsncc3s.js} +9 -9
  142. package/dist/chunks/{config-2851hzkp.js → tool-output-fyczevxa.js} +15 -15
  143. package/dist/chunks/{config-1h80sv90.js → tool-output-g2y161wv.js} +8 -8
  144. package/dist/chunks/{config-4qjdqxbv.js → tool-output-g9jv7xzk.js} +22 -22
  145. package/dist/chunks/{config-py6e26kd.js → tool-output-g9r39794.js} +12 -12
  146. package/dist/chunks/{config-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{config-tdpndm1c.js → tool-output-gfhhve88.js} +5 -5
  148. package/dist/chunks/{config-hywngpvt.js → tool-output-gg7rmenq.js} +9 -9
  149. package/dist/chunks/{config-zf4vab36.js → tool-output-gk8v152z.js} +44 -44
  150. package/dist/chunks/{config-t5vtp9rn.js → tool-output-gn8za3c9.js} +12 -12
  151. package/dist/chunks/{config-vp67wfqm.js → tool-output-gpe867ck.js} +23 -23
  152. package/dist/chunks/{config-v03b5pvj.js → tool-output-gppvt8vv.js} +24 -24
  153. package/dist/chunks/{config-n3mwpccg.js → tool-output-gpwv3ge1.js} +16 -16
  154. package/dist/chunks/{config-b37sgj8e.js → tool-output-gq1py7cb.js} +12 -12
  155. package/dist/chunks/{config-jhpaar4x.js → tool-output-grxcxy9j.js} +8 -8
  156. package/dist/chunks/{config-f5gy8qwh.js → tool-output-gs4tkc79.js} +8 -8
  157. package/dist/chunks/{config-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
  158. package/dist/chunks/{config-ez1k74tj.js → tool-output-gxkha9wa.js} +35 -35
  159. package/dist/chunks/{config-akrnn5pm.js → tool-output-h2r7bbkd.js} +8 -8
  160. package/dist/chunks/{config-0raz1yy5.js → tool-output-h5152acs.js} +8 -8
  161. package/dist/chunks/{config-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{config-59dka41c.js → tool-output-h7dvs9rs.js} +11 -11
  163. package/dist/chunks/{config-btbmdjwj.js → tool-output-h9pnpq88.js} +4 -4
  164. package/dist/chunks/{config-tmyxw72k.js → tool-output-hdfyrfze.js} +3 -3
  165. package/dist/chunks/{config-q8w7nh62.js → tool-output-hea9fv02.js} +22 -22
  166. package/dist/chunks/{config-zyzwya36.js → tool-output-hpfwqngd.js} +8 -8
  167. package/dist/chunks/{config-t7jgv0pg.js → tool-output-hxhy065j.js} +54 -54
  168. package/dist/chunks/{config-g15xs6qb.js → tool-output-hyf900rk.js} +37 -37
  169. package/dist/chunks/{config-pf2hb43r.js → tool-output-j15mfg1p.js} +6 -6
  170. package/dist/chunks/{config-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
  171. package/dist/chunks/{config-vc4tj14c.js → tool-output-j66b007x.js} +18 -18
  172. package/dist/chunks/{config-d7vvjxwr.js → tool-output-j776t40k.js} +18 -18
  173. package/dist/chunks/{config-23vj23fc.js → tool-output-j80kp2rt.js} +9 -9
  174. package/dist/chunks/{config-q2bwdck2.js → tool-output-jdqdsz1a.js} +19 -19
  175. package/dist/chunks/{config-3xn3pbdy.js → tool-output-jeb6mreh.js} +76 -76
  176. package/dist/chunks/{config-zxt09vhx.js → tool-output-jgxqkkn7.js} +11 -11
  177. package/dist/chunks/{config-syxj7ex2.js → tool-output-jn238a97.js} +12 -12
  178. package/dist/chunks/{config-qj8eh1ht.js → tool-output-jw80jp6b.js} +4 -4
  179. package/dist/chunks/{config-zcrw2f69.js → tool-output-k0cbpj5z.js} +34 -34
  180. package/dist/chunks/{config-cmwcq0ka.js → tool-output-k1wnne5z.js} +22 -22
  181. package/dist/chunks/{config-k3c624dm.js → tool-output-k3c624dm.js} +3 -3
  182. package/dist/chunks/{config-z9aq390g.js → tool-output-k42c8sen.js} +8 -8
  183. package/dist/chunks/{config-52tph2md.js → tool-output-k665062s.js} +22 -22
  184. package/dist/chunks/{config-7bv32vg5.js → tool-output-kad49353.js} +9 -9
  185. package/dist/chunks/{config-tp4em4fx.js → tool-output-kzxjzzb4.js} +6 -6
  186. package/dist/chunks/{config-m3fdjcah.js → tool-output-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{config-ttcp5xkb.js → tool-output-m49k4qsb.js} +13 -13
  188. package/dist/chunks/{config-nr672dpf.js → tool-output-m8wnj5we.js} +21 -21
  189. package/dist/chunks/{config-6vda3hdz.js → tool-output-m957sa19.js} +22 -22
  190. package/dist/chunks/{config-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{config-m2wvpmrz.js → tool-output-mat3f06q.js} +27 -27
  192. package/dist/chunks/{config-0hwvvjm7.js → tool-output-mb1xcvby.js} +1 -1
  193. package/dist/chunks/{config-zj8g04kx.js → tool-output-mg2dap8q.js} +10 -10
  194. package/dist/chunks/{config-1bbkgx8g.js → tool-output-mhkvc446.js} +3 -3
  195. package/dist/chunks/{config-tw2sz0rq.js → tool-output-mm81q95b.js} +18 -18
  196. package/dist/chunks/{config-56ee48df.js → tool-output-mw5sxth6.js} +9 -9
  197. package/dist/chunks/{config-0jtesnr4.js → tool-output-na564qbx.js} +11 -11
  198. package/dist/chunks/{config-ar4a8fck.js → tool-output-nb5thb39.js} +15 -15
  199. package/dist/chunks/{config-r9w3djhf.js → tool-output-njhqdk9p.js} +9 -9
  200. package/dist/chunks/{config-j9bb3hnd.js → tool-output-nnpx8484.js} +5 -5
  201. package/dist/chunks/{config-xk747vep.js → tool-output-nq7qbqzc.js} +9 -9
  202. package/dist/chunks/{config-bt976gfq.js → tool-output-ns8t1e06.js} +11 -11
  203. package/dist/chunks/{config-qdcc6b4g.js → tool-output-nwk50mgs.js} +12 -12
  204. package/dist/chunks/{config-bey3dpw7.js → tool-output-p5bjm80h.js} +20 -20
  205. package/dist/chunks/{config-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{config-pknna89w.js → tool-output-pknna89w.js} +1 -1
  207. package/dist/chunks/{config-705e2ap1.js → tool-output-pp7e5es3.js} +5 -5
  208. package/dist/chunks/{config-6pc27hjz.js → tool-output-py3kkmfq.js} +6 -6
  209. package/dist/chunks/{config-t7n9q6bq.js → tool-output-q5asdkn4.js} +4 -4
  210. package/dist/chunks/{config-rjbxhfgb.js → tool-output-q78ev7p5.js} +43 -43
  211. package/dist/chunks/{config-bhf2qwfw.js → tool-output-q7tcw842.js} +5 -5
  212. package/dist/chunks/{config-ratrq7cm.js → tool-output-qa3qhgw8.js} +4 -4
  213. package/dist/chunks/{config-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
  214. package/dist/chunks/{config-ft0c832p.js → tool-output-qwdx1cah.js} +9 -9
  215. package/dist/chunks/tool-output-rap9a73h.js +18 -0
  216. package/dist/chunks/{config-vj9s6wy4.js → tool-output-rb7thn51.js} +37 -37
  217. package/dist/chunks/{config-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{config-73k9rh6w.js → tool-output-rhsbsdjb.js} +8 -8
  219. package/dist/chunks/{config-s10erfkq.js → tool-output-rjfaxz19.js} +4 -4
  220. package/dist/chunks/{config-6rkpdbb3.js → tool-output-rv24j7hr.js} +28 -28
  221. package/dist/chunks/{config-4k1w60t0.js → tool-output-rzwbfcyw.js} +6 -6
  222. package/dist/chunks/{config-xq1shfhv.js → tool-output-s2w2s4e7.js} +10 -10
  223. package/dist/chunks/{config-a81kfqvn.js → tool-output-s30fyz93.js} +4 -4
  224. package/dist/chunks/{config-yt0fqk68.js → tool-output-s8zy8myc.js} +5 -5
  225. package/dist/chunks/{config-y2062v7b.js → tool-output-sbch4zx2.js} +16 -16
  226. package/dist/chunks/{config-4vek9trb.js → tool-output-sc7c8wzz.js} +25 -25
  227. package/dist/chunks/{config-43zyxgq8.js → tool-output-sk91p8be.js} +1 -1
  228. package/dist/chunks/{config-4b92gd6e.js → tool-output-skcsa0b4.js} +28 -28
  229. package/dist/chunks/{config-knqa2gk8.js → tool-output-spqacxwy.js} +16 -16
  230. package/dist/chunks/{config-vzbf696k.js → tool-output-t5depjfp.js} +4 -4
  231. package/dist/chunks/{config-eytwkb2e.js → tool-output-t7g70t9w.js} +23 -23
  232. package/dist/chunks/{config-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{config-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
  234. package/dist/chunks/{config-tdstcens.js → tool-output-tdstcens.js} +1 -1
  235. package/dist/chunks/{config-5ay8pqcq.js → tool-output-tg7qkwev.js} +39 -39
  236. package/dist/chunks/{config-f3qy8zjn.js → tool-output-tjcbfd95.js} +11 -11
  237. package/dist/chunks/{config-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
  238. package/dist/chunks/{config-hy7sqhkh.js → tool-output-txhyak7q.js} +16 -16
  239. package/dist/chunks/{config-2m1z897j.js → tool-output-tybmt5yb.js} +9 -9
  240. package/dist/chunks/{config-t9zs3egg.js → tool-output-ve4pfa0n.js} +4 -4
  241. package/dist/chunks/{config-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
  242. package/dist/chunks/{config-hx4rcwcn.js → tool-output-vgv1tpsk.js} +8 -8
  243. package/dist/chunks/{config-hkagk5ex.js → tool-output-vmgq4x8b.js} +2 -2
  244. package/dist/chunks/{config-wrmrmykr.js → tool-output-vmwh049b.js} +3 -3
  245. package/dist/chunks/{config-cve16y82.js → tool-output-vnkthj4v.js} +1 -1
  246. package/dist/chunks/{config-1cf5abn8.js → tool-output-vqzmz37c.js} +7 -7
  247. package/dist/chunks/{config-t2zkwxfg.js → tool-output-vrwdbnfx.js} +3 -3
  248. package/dist/chunks/{config-ndqtf2h8.js → tool-output-vyqn3nqs.js} +6 -6
  249. package/dist/chunks/{config-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{config-vzs5sf6e.js → tool-output-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{config-27s8bqjz.js → tool-output-vzzb5xze.js} +7 -7
  252. package/dist/chunks/tool-output-w2yez0bq.js +252 -0
  253. package/dist/chunks/{config-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{config-mff2yvab.js → tool-output-waj6ffv2.js} +3 -3
  255. package/dist/chunks/{config-s6ymxyzv.js → tool-output-wctfcgtb.js} +6 -6
  256. package/dist/chunks/{config-psazpmmj.js → tool-output-wd3x2cqz.js} +2 -2
  257. package/dist/chunks/{config-wd87259q.js → tool-output-wd87259q.js} +1 -1
  258. package/dist/chunks/tool-output-wmrnne9v.js +26 -0
  259. package/dist/chunks/{config-xa04810w.js → tool-output-wqcdy49w.js} +26 -26
  260. package/dist/chunks/{config-zn5v3n4q.js → tool-output-wwajdw47.js} +9 -9
  261. package/dist/chunks/{config-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
  262. package/dist/chunks/{config-eq102nfe.js → tool-output-xex5dmd2.js} +128 -128
  263. package/dist/chunks/{config-drwq78ky.js → tool-output-xfkkasph.js} +4 -4
  264. package/dist/chunks/{config-fx5e6na3.js → tool-output-xwm6bryg.js} +4 -4
  265. package/dist/chunks/{config-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{config-t1930g8y.js → tool-output-y3t3p5bg.js} +10 -10
  267. package/dist/chunks/{config-rmxzq7f5.js → tool-output-y49vr829.js} +3 -3
  268. package/dist/chunks/{config-dpkg50ah.js → tool-output-y71avatq.js} +4 -4
  269. package/dist/chunks/{config-3t2xcng8.js → tool-output-ya6h1d71.js} +73 -73
  270. package/dist/chunks/{config-m265mxzt.js → tool-output-ydrddmgm.js} +14 -14
  271. package/dist/chunks/{config-jjem1y9x.js → tool-output-ydt228pr.js} +31 -31
  272. package/dist/chunks/{config-0ntvbc7j.js → tool-output-yqhw2aq8.js} +41 -41
  273. package/dist/chunks/{config-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{config-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
  275. package/dist/chunks/{config-sz7jdn1d.js → tool-output-yxervnn2.js} +8 -8
  276. package/dist/chunks/{config-h75129nt.js → tool-output-yxssrkkx.js} +1 -1
  277. package/dist/chunks/{config-bjtzbw4r.js → tool-output-z07pqspn.js} +3 -3
  278. package/dist/chunks/{config-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{config-yqz2244c.js → tool-output-z20b7sc7.js} +48 -48
  280. package/dist/chunks/{config-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
  281. package/dist/chunks/{config-fwmkx0kr.js → tool-output-z7cms13m.js} +9 -9
  282. package/dist/chunks/{config-md4c1mf5.js → tool-output-zbq88k2g.js} +43 -43
  283. package/dist/chunks/{config-g29bj6y9.js → tool-output-zc6f8ctp.js} +26 -26
  284. package/dist/chunks/{config-07v9x2xm.js → tool-output-zd1b39ra.js} +18 -18
  285. package/dist/chunks/{config-0fbxv240.js → tool-output-ze4171k7.js} +6 -6
  286. package/dist/chunks/{config-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{config-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{config-szzydw97.js → tool-output-ztgtdybs.js} +15 -15
  289. package/dist/chunks/{config-apwn9spd.js → tool-output-zxjhewza.js} +13 -13
  290. package/dist/chunks/{config-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +5 -5
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +81 -81
  296. package/dist/config/discovery.js +82 -82
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +123 -123
  300. package/dist/config/plugin/command.js +212 -212
  301. package/dist/config/plugin/compaction.js +160 -160
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +125 -125
  308. package/dist/config/plugin/mcp.js +130 -130
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +125 -125
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +124 -124
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +83 -83
  325. package/dist/database/database.js +66 -66
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +76 -76
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +371 -371
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +74 -74
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +4 -4
  425. package/dist/filesystem/location-watcher.js +227 -227
  426. package/dist/filesystem/protected.js +1 -1
  427. package/dist/filesystem/search.js +99 -99
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +98 -98
  431. package/dist/form.js +76 -76
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +83 -83
  434. package/dist/generate.js +103 -103
  435. package/dist/git.js +6 -6
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +99 -99
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -362
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +1 -1
  464. package/dist/integration.js +82 -82
  465. package/dist/job.js +77 -77
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +133 -133
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-mutation.js +104 -104
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +85 -85
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +102 -102
  477. package/dist/mcp/instructions.js +126 -126
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +98 -98
  484. package/dist/models-dev.js +101 -101
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +80 -80
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +103 -103
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +82 -82
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +99 -99
  496. package/dist/plugin/hooks.js +3 -3
  497. package/dist/plugin/host.js +218 -218
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +1 -1
  500. package/dist/plugin/internal.js +333 -333
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +119 -119
  514. package/dist/plugin/provider/digitalocean.js +93 -93
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +94 -94
  519. package/dist/plugin/provider/gitlab.js +93 -93
  520. package/dist/plugin/provider/google-vertex.js +90 -90
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +77 -77
  523. package/dist/plugin/provider/lmstudio.js +122 -122
  524. package/dist/plugin/provider/modal.js +92 -92
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +122 -122
  527. package/dist/plugin/provider/openai.js +94 -94
  528. package/dist/plugin/provider/opencode.js +95 -95
  529. package/dist/plugin/provider/openrouter.js +91 -91
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +78 -78
  532. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  533. package/dist/plugin/provider/sap-ai-core.js +91 -91
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +90 -90
  538. package/dist/plugin/provider/vllm.js +122 -122
  539. package/dist/plugin/provider/xai.js +91 -91
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +161 -161
  542. package/dist/plugin/sdk.js +74 -74
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +141 -141
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +350 -350
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +6 -6
  549. package/dist/plugin/vcs/git.js +86 -86
  550. package/dist/plugin/vcs/hg.js +86 -86
  551. package/dist/plugin/verbosity.js +93 -93
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +8 -8
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +6 -6
  559. package/dist/plugin/websearch/tinyfish.js +6 -6
  560. package/dist/plugin.js +223 -223
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +84 -84
  564. package/dist/provider.js +95 -95
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +92 -92
  569. package/dist/reference/instructions.js +87 -87
  570. package/dist/reference.js +85 -85
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +132 -132
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +3 -3
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +222 -222
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +151 -151
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +90 -90
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +77 -77
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +93 -93
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +119 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +3 -3
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +3 -3
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +114 -114
  609. package/dist/session/runner/step.js +126 -126
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +5 -5
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +73 -73
  617. package/dist/session/store.js +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +208 -208
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +156 -156
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +220 -220
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +214 -214
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +13 -13
  630. package/dist/shell.js +138 -138
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +106 -106
  634. package/dist/snapshot.js +87 -87
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +125 -125
  639. package/dist/tool/plugin/edit.js +120 -120
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +124 -124
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +101 -101
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +217 -217
  649. package/dist/tool/plugin/skill.js +113 -113
  650. package/dist/tool/plugin/subagent.js +219 -219
  651. package/dist/tool/plugin/webfetch.js +112 -112
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +114 -114
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/formatter.js +5 -5
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +1 -1
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +91 -91
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +78 -78
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +79 -79
  690. package/dist/workspace/driver.js +5 -5
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +78 -78
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +8 -8
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +94 -94
  698. package/package.json +8 -8
  699. package/dist/chunks/config-f81tjggh.js +0 -18
  700. package/dist/chunks/config-nmmpegqz.js +0 -26
  701. package/dist/chunks/config-tsgjpmhp.js +0 -252
  702. /package/dist/chunks/{config-0mesazry.js → tool-output-0mesazry.js} +0 -0
  703. /package/dist/chunks/{config-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{config-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{config-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{config-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{config-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{config-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{config-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{config-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{config-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{config-34c7v6d4.js → tool-output-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{config-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{config-3asan66x.js → tool-output-3asan66x.js} +0 -0
  715. /package/dist/chunks/{config-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{config-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{config-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{config-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{config-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{config-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{config-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{config-53557ph1.js → tool-output-53557ph1.js} +0 -0
  723. /package/dist/chunks/{config-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{config-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{config-6prwharc.js → tool-output-6prwharc.js} +0 -0
  726. /package/dist/chunks/{config-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{config-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{config-822emrt2.js → tool-output-822emrt2.js} +0 -0
  729. /package/dist/chunks/{config-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{config-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{config-8wj87zfr.js → tool-output-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{config-922hggd3.js → tool-output-922hggd3.js} +0 -0
  733. /package/dist/chunks/{config-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{config-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{config-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{config-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{config-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{config-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{config-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{config-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{config-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{config-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{config-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{config-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{config-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{config-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{config-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{config-df08tz66.js → tool-output-df08tz66.js} +0 -0
  749. /package/dist/chunks/{config-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{config-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{config-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{config-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{config-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{config-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{config-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{config-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{config-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{config-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{config-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{config-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{config-g86h250q.js → tool-output-g86h250q.js} +0 -0
  762. /package/dist/chunks/{config-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{config-gftt206x.js → tool-output-gftt206x.js} +0 -0
  764. /package/dist/chunks/{config-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{config-hk9envan.js → tool-output-hk9envan.js} +0 -0
  766. /package/dist/chunks/{config-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{config-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{config-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{config-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{config-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{config-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{config-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{config-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{config-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{config-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{config-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{config-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{config-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{config-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{config-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{config-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{config-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{config-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{config-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{config-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{config-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{config-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{config-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{config-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{config-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{config-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{config-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{config-x61499pn.js → tool-output-x61499pn.js} +0 -0
  794. /package/dist/chunks/{config-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{config-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{config-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{config-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{config-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{config-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-922hggd3.js";
3
+ } from "./tool-output-922hggd3.js";
4
4
  import {
5
- Service79
6
- } from "./config-s0e1y9y9.js";
5
+ Service78
6
+ } from "./tool-output-38xgxzt4.js";
7
7
  import {
8
- Service18
9
- } from "./config-knqa2gk8.js";
8
+ Service26
9
+ } from "./tool-output-spqacxwy.js";
10
10
  import {
11
11
  Service10
12
- } from "./config-js82azy0.js";
12
+ } from "./tool-output-5fq0cf9t.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./config-2a5m3afh.js";
15
+ } from "./tool-output-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
- Service2
27
- } from "./config-2851hzkp.js";
26
+ Service11
27
+ } from "./tool-output-fyczevxa.js";
28
28
  import {
29
29
  __export
30
- } from "./config-9rqn6x4v.js";
30
+ } from "./tool-output-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input5,
36
- Plugin: () => Plugin5,
35
+ Input: () => Input12,
36
+ Plugin: () => Plugin48,
37
37
  ReadTool: () => exports_read,
38
- name: () => name5,
39
- toModelContent: () => toModelContent4
38
+ name: () => name12,
39
+ toModelContent: () => toModelContent6
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 name5 = "read";
45
+ var name12 = "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 and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input5 = LocationInput;
56
+ var Input12 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin5 = {
58
+ var Plugin48 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service2;
62
- const access = yield* Service18;
61
+ const reader = yield* Service11;
62
+ const access = yield* Service26;
63
63
  const sessionInstructions = yield* Service10;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service79;
65
+ const location = yield* Service78;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name5,
67
+ name: name12,
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: Input5,
70
+ input: Input12,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin5 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent4(result.path, input.offset, result.output),
115
+ content: toModelContent6(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -145,7 +145,7 @@ ${suggestions.join(`
145
145
  });
146
146
  })
147
147
  };
148
- var toModelContent4 = (path, offset, output) => {
148
+ var toModelContent6 = (path, offset, output) => {
149
149
  if (output.type === "file" && output.encoding === "base64")
150
150
  return [
151
151
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -181,4 +181,4 @@ var toModelContent4 = (path, offset, output) => {
181
181
  `);
182
182
  };
183
183
 
184
- export { name5, Input5, Plugin5, toModelContent4, exports_read };
184
+ export { name12, Input12, Plugin48, toModelContent6, exports_read };
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./config-ak1tpw6q.js";
5
+ } from "./tool-output-9de33ba1.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service82,
4
- node86
5
- } from "./config-t5vtp9rn.js";
3
+ Service80,
4
+ node84
5
+ } from "./tool-output-gn8za3c9.js";
6
6
  import {
7
7
  Key4,
8
8
  unavailable3,
9
9
  removed2,
10
- make20,
10
+ make21,
11
11
  diffByKey2
12
- } from "./config-02nrjc1r.js";
12
+ } from "./tool-output-eaj1djv9.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./config-922hggd3.js";
15
+ } from "./tool-output-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./config-rdw6cm16.js";
18
+ } from "./tool-output-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./config-9rqn6x4v.js";
21
+ } from "./tool-output-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event9,
26
+ Event: () => Event12,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options6,
30
- Service: () => Service50,
31
- configured: () => configured6,
32
- layer: () => layer20,
33
- node: () => node52
29
+ Options: () => Options10,
30
+ Service: () => Service51,
31
+ configured: () => configured10,
32
+ layer: () => layer21,
33
+ node: () => node55
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -42,18 +42,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
44
  var key = Key4.make("core/instructions");
45
- var Event9 = {
45
+ var Event12 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options6 = Schema.Struct({
48
+ var Options10 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service50 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service51 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
56
- const bus = yield* Service82;
55
+ var layer21 = (options) => Layer.effect(Service51, Effect.gen(function* () {
56
+ const bus = yield* Service80;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,9 +72,9 @@ var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event12.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make20({
77
+ const source = (value) => make21({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service50.of({
93
+ return Service51.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer20 = (options) => Layer.effect(Service50, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured6(options) {
107
+ function configured10(options) {
108
108
  return makeLocationNode({
109
- service: Service50,
110
- layer: layer20(options),
111
- deps: [node86]
109
+ service: Service51,
110
+ layer: layer21(options),
111
+ deps: [node84]
112
112
  });
113
113
  }
114
- var node52 = configured6();
114
+ var node55 = configured10();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event9, Options6, Service50, layer20, configured6, node52, exports_instruction_discovery };
145
+ export { File2, Event12, Options10, Service51, layer21, configured10, node55, exports_instruction_discovery };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./config-922hggd3.js";
3
+ } from "./tool-output-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./config-rxbrkmj1.js";
6
+ } from "./tool-output-desf963j.js";
7
7
  import {
8
- Service79,
8
+ Service78,
9
9
  node82
10
- } from "./config-s0e1y9y9.js";
10
+ } from "./tool-output-38xgxzt4.js";
11
11
  import {
12
- Service74,
12
+ Service73,
13
13
  node77
14
- } from "./config-vj9s6wy4.js";
14
+ } from "./tool-output-rb7thn51.js";
15
15
  import {
16
16
  __export
17
- } from "./config-9rqn6x4v.js";
17
+ } from "./tool-output-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service18,
25
+ Service: () => Service26,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node20,
27
+ node: () => node29,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service18 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service26 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service18, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service26, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
- const location = yield* Service79;
61
- const permission = yield* Service74;
60
+ const location = yield* Service78;
61
+ const permission = yield* Service73;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service18.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service26.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node20 = makeLocationNode({ service: Service18, layer, deps: [FSUtil.node, node82, node77] });
112
+ var node29 = makeLocationNode({ service: Service26, layer, deps: [FSUtil.node, node82, node77] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service18, resolvePath2, node20, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service26, resolvePath2, node29, exports_file_access };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  provider2,
3
3
  model2
4
- } from "./config-0paq2nw3.js";
4
+ } from "./tool-output-0paq2nw3.js";
5
5
  import {
6
6
  aisdk2
7
- } from "./config-fvve35qg.js";
7
+ } from "./tool-output-a356yfxf.js";
8
8
  import {
9
9
  Capabilities2,
10
10
  compatibility2
11
- } from "./config-g29bj6y9.js";
11
+ } from "./tool-output-zc6f8ctp.js";
12
12
  import {
13
13
  __export
14
- } from "./config-9rqn6x4v.js";
14
+ } from "./tool-output-9rqn6x4v.js";
15
15
 
16
16
  // src/v1/config/migrate.ts
17
17
  var exports_migrate = {};
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./config-3w5fmr99.js";
7
+ } from "./tool-output-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./config-k3c624dm.js";
11
+ } from "./tool-output-k3c624dm.js";
12
12
  import {
13
13
  create3
14
- } from "./config-rdw6cm16.js";
14
+ } from "./tool-output-rdw6cm16.js";
15
15
  import {
16
- Service59,
17
- node62
18
- } from "./config-zn5v3n4q.js";
16
+ Service50,
17
+ node54
18
+ } from "./tool-output-wwajdw47.js";
19
19
  import {
20
- Service77,
20
+ Service76,
21
21
  node80
22
- } from "./config-ze75yzft.js";
22
+ } from "./tool-output-fqtvmpfq.js";
23
23
  import {
24
24
  match2
25
- } from "./config-y1fvbwt7.js";
25
+ } from "./tool-output-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./config-9rqn6x4v.js";
28
+ } from "./tool-output-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error4,
35
+ Error: () => Error2,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service58,
38
+ Service: () => Service42,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node61
41
+ node: () => node45
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service58 extends Context.Service()("@opencode/Tool") {
54
+ class Service42 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service58, Effect.gen(function* () {
57
- const hooks = yield* Service77;
58
- const image = yield* Service59;
56
+ var layer = Layer.effect(Service42, Effect.gen(function* () {
57
+ const hooks = yield* Service76;
58
+ const image = yield* Service50;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
184
184
  }), { discard: true });
185
185
  }
186
186
  });
187
- return Service58.of({
187
+ return Service42.of({
188
188
  transform: state.transform,
189
189
  reload: state.reload,
190
190
  list: () => Effect.sync(() => Array.from(state.get().tools.values())),
@@ -273,10 +273,10 @@ function namespaceError(name) {
273
273
  return;
274
274
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
275
275
  }
276
- var node61 = makeLocationNode({
277
- service: Service58,
276
+ var node45 = makeLocationNode({
277
+ service: Service42,
278
278
  layer,
279
- deps: [node80, node62]
279
+ deps: [node80, node54]
280
280
  });
281
281
 
282
- export { RegistrationError2, Service58, node61, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
282
+ export { RegistrationError2, Service42, node45, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./config-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./config-ekr1tkzw.js";
4
+ } from "./tool-output-bj6gcr9n.js";
5
5
  import {
6
- Service82,
7
- node86
8
- } from "./config-t5vtp9rn.js";
6
+ Service80,
7
+ node84
8
+ } from "./tool-output-gn8za3c9.js";
9
9
  import {
10
- Service60,
11
- node63
12
- } from "./config-szzydw97.js";
10
+ Service58,
11
+ node61
12
+ } from "./tool-output-ztgtdybs.js";
13
13
  import {
14
- Service47,
15
- node49
16
- } from "./config-2a6rn6yr.js";
14
+ Service56,
15
+ node59
16
+ } from "./tool-output-9r15s34d.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./config-ec1grn59.js";
19
+ } from "./tool-output-ec1grn59.js";
20
20
  import {
21
- make16
22
- } from "./config-yp2x3t23.js";
21
+ make17
22
+ } from "./tool-output-1acjjqhc.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service45
26
- } from "./config-t7n9q6bq.js";
25
+ Service54
26
+ } from "./tool-output-q5asdkn4.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./config-wrmrmykr.js";
29
+ } from "./tool-output-vmwh049b.js";
30
30
  import {
31
31
  Service75,
32
- node78
33
- } from "./config-js1bgrk5.js";
32
+ node79
33
+ } from "./tool-output-91qrwzar.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./config-mrm2rqc2.js";
36
+ } from "./tool-output-bvwpxajt.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./config-m2wvpmrz.js";
39
+ } from "./tool-output-mat3f06q.js";
40
40
  import {
41
41
  __export
42
- } from "./config-9rqn6x4v.js";
42
+ } from "./tool-output-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service44,
47
+ Service: () => Service53,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer17,
50
- node: () => node47,
51
- noopLayer: () => noopLayer2,
49
+ layer: () => layer22,
50
+ node: () => node57,
51
+ noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service44 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service53 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer17 = Layer.effect(Service44, Effect.gen(function* () {
68
+ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
69
69
  const store = yield* Service75;
70
- const instances = yield* Service47;
71
- const bus = yield* Service82;
72
- const jobs = yield* Service60;
70
+ const instances = yield* Service56;
71
+ const bus = yield* Service80;
72
+ const jobs = yield* Service58;
73
73
  const db = (yield* Service84).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,14 +82,14 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service54.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable),
89
89
  Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
90
90
  });
91
91
  });
92
- const coordinator = yield* make16({
92
+ const coordinator = yield* make17({
93
93
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
94
94
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
95
95
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -110,7 +110,7 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
110
110
  }, releaseOnCommit(sessionID));
111
111
  }))
112
112
  });
113
- return Service44.of({
113
+ return Service53.of({
114
114
  active: coordinator.active,
115
115
  isActive: coordinator.isActive,
116
116
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -129,12 +129,12 @@ var layer17 = Layer.effect(Service44, Effect.gen(function* () {
129
129
  awaitIdle: coordinator.awaitIdle
130
130
  });
131
131
  }));
132
- var node47 = makeGlobalNode({
133
- service: Service44,
134
- layer: layer17,
135
- deps: [node78, node49, node86, node88, node63]
132
+ var node57 = makeGlobalNode({
133
+ service: Service53,
134
+ layer: layer22,
135
+ deps: [node79, node59, node84, node88, node61]
136
136
  });
137
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
137
+ var noopLayer3 = Layer.succeed(Service53, Service53.of({
138
138
  active: Effect.succeed(new Set),
139
139
  isActive: () => Effect.succeed(false),
140
140
  resume: () => Effect.void,
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
143
143
  awaitIdle: () => Effect.void
144
144
  }));
145
145
 
146
- export { Service44, terminal2, layer17, node47, noopLayer2, exports_execution };
146
+ export { Service53, terminal2, layer22, node57, noopLayer3, exports_execution };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service64
3
- } from "./config-sjnymxq5.js";
2
+ Service47
3
+ } from "./tool-output-bsheswfr.js";
4
4
  import {
5
- Service59
6
- } from "./config-zn5v3n4q.js";
5
+ Service50
6
+ } from "./tool-output-wwajdw47.js";
7
7
  import {
8
8
  observe2
9
- } from "./config-qsdy395h.js";
9
+ } from "./tool-output-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./config-9rqn6x4v.js";
12
+ } from "./tool-output-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: () => Plugin32
18
+ Plugin: () => Plugin25
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin32 = define({
22
+ var Plugin25 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service64;
26
- const image = yield* Service59;
25
+ const config = yield* Service47;
26
+ const image = yield* Service50;
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 Plugin32 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin32, exports_image };
46
+ export { Plugin25, exports_image };