@opencode/core 0.0.0-dev-19898 → 0.0.0-dev-19901

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{repository-rhjbct0v.js → tool-output-02nrjc1r.js} +6 -6
  8. package/dist/chunks/{repository-2b9gc1bn.js → tool-output-06hvzpqw.js} +22 -22
  9. package/dist/chunks/{repository-sndbe2vj.js → tool-output-06p361q7.js} +3 -3
  10. package/dist/chunks/{repository-1kzmjx2c.js → tool-output-081ek8fx.js} +3 -3
  11. package/dist/chunks/{repository-08v0y3hn.js → tool-output-0a1zy6wp.js} +5 -5
  12. package/dist/chunks/{repository-t9fdrpzp.js → tool-output-0b2dkfpa.js} +26 -26
  13. package/dist/chunks/{repository-hc1zqxnq.js → tool-output-0dsvprc7.js} +21 -21
  14. package/dist/chunks/{repository-cmadtng6.js → tool-output-0gpx1yng.js} +70 -70
  15. package/dist/chunks/{repository-0paq2nw3.js → tool-output-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{repository-0q0f95c6.js → tool-output-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{repository-fmcqyzhx.js → tool-output-0tmgye68.js} +9 -9
  18. package/dist/chunks/tool-output-1675q44e.js +492 -0
  19. package/dist/chunks/{repository-2b63vbac.js → tool-output-17fex99v.js} +47 -47
  20. package/dist/chunks/{repository-pbrwaaym.js → tool-output-19gaxc1a.js} +35 -35
  21. package/dist/chunks/{repository-r8xr0va3.js → tool-output-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{repository-1bbkgx8g.js → tool-output-1bbkgx8g.js} +1 -1
  23. package/dist/chunks/{repository-1dazxqgg.js → tool-output-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{repository-1g7epwpd.js → tool-output-1g7epwpd.js} +1 -1
  25. package/dist/chunks/{repository-msq0jde0.js → tool-output-1hc11dc4.js} +4 -4
  26. package/dist/chunks/{repository-hwvyndb6.js → tool-output-1rmaqtrx.js} +4 -4
  27. package/dist/chunks/{repository-9hrvpbwe.js → tool-output-1ts8rgva.js} +9 -9
  28. package/dist/chunks/{repository-y6mpqspj.js → tool-output-1wvycs1y.js} +15 -15
  29. package/dist/chunks/{repository-56gdpj1q.js → tool-output-1ygqh575.js} +9 -9
  30. package/dist/chunks/{repository-21r38tys.js → tool-output-21r38tys.js} +1 -1
  31. package/dist/chunks/{repository-w10e1hs6.js → tool-output-245b80zk.js} +16 -16
  32. package/dist/chunks/{repository-y3x7e78c.js → tool-output-27qhgprp.js} +11 -11
  33. package/dist/chunks/{repository-8v20qymr.js → tool-output-28bqvbmz.js} +5 -5
  34. package/dist/chunks/{repository-2a5m3afh.js → tool-output-2a5m3afh.js} +1 -1
  35. package/dist/chunks/{repository-0pdxzthh.js → tool-output-2dstrcn9.js} +8 -8
  36. package/dist/chunks/{repository-pstg3rfm.js → tool-output-2jz473v5.js} +1 -1
  37. package/dist/chunks/{repository-8x9d09d3.js → tool-output-2t2mkpra.js} +14 -14
  38. package/dist/chunks/{repository-3h63p6gh.js → tool-output-2vd2dv33.js} +27 -27
  39. package/dist/chunks/{repository-edst9kjn.js → tool-output-30d0gec6.js} +13 -13
  40. package/dist/chunks/{repository-kcafpss3.js → tool-output-333bq2wg.js} +10 -10
  41. package/dist/chunks/{repository-q8ypk1e3.js → tool-output-33zseqes.js} +9 -9
  42. package/dist/chunks/{repository-e5xpd6yj.js → tool-output-34x4s2w1.js} +6 -6
  43. package/dist/chunks/{repository-h0kzdnr9.js → tool-output-380fkrs4.js} +10 -10
  44. package/dist/chunks/{repository-jv89nw97.js → tool-output-3bdjg33f.js} +9 -9
  45. package/dist/chunks/{repository-hx4pgqer.js → tool-output-3cp94b2x.js} +15 -15
  46. package/dist/chunks/{repository-nse74gxk.js → tool-output-3cxbdjpt.js} +32 -32
  47. package/dist/chunks/{repository-eenrddpm.js → tool-output-3f39ggam.js} +17 -17
  48. package/dist/chunks/{repository-3fc6dm20.js → tool-output-3fc6dm20.js} +1 -1
  49. package/dist/chunks/{repository-3hepkmqq.js → tool-output-3hepkmqq.js} +1 -1
  50. package/dist/chunks/{repository-xfc5qsak.js → tool-output-3hjdpwrp.js} +15 -15
  51. package/dist/chunks/{repository-3smtnn6g.js → tool-output-3smtnn6g.js} +1 -1
  52. package/dist/chunks/{repository-3tvqynh2.js → tool-output-3tvqynh2.js} +1 -1
  53. package/dist/chunks/{repository-bfbk1002.js → tool-output-3w4a2kbh.js} +29 -29
  54. package/dist/chunks/{repository-wm8pq2ft.js → tool-output-41c5hffj.js} +14 -14
  55. package/dist/chunks/{repository-19h9n27t.js → tool-output-44f1cw7y.js} +11 -11
  56. package/dist/chunks/{repository-j6sswngc.js → tool-output-48z5eyx9.js} +13 -13
  57. package/dist/chunks/{repository-sktfb2et.js → tool-output-496as97q.js} +33 -33
  58. package/dist/chunks/{repository-1yry28cj.js → tool-output-4ajrfae2.js} +35 -35
  59. package/dist/chunks/{repository-ekgj01x9.js → tool-output-4czfwtvw.js} +10 -10
  60. package/dist/chunks/{repository-3t9hcx1j.js → tool-output-4dhr5kmg.js} +25 -25
  61. package/dist/chunks/{repository-35ng7dkh.js → tool-output-4drgpw32.js} +5 -5
  62. package/dist/chunks/{repository-nt7esxsj.js → tool-output-4dt747xw.js} +18 -18
  63. package/dist/chunks/{repository-7z2ktkw9.js → tool-output-4e105jgy.js} +89 -89
  64. package/dist/chunks/{repository-cq37gk0t.js → tool-output-4p8fzzdy.js} +4 -4
  65. package/dist/chunks/{repository-rckqc9qz.js → tool-output-4pg6vk4d.js} +28 -28
  66. package/dist/chunks/{repository-w1s085t3.js → tool-output-4vfg1jh9.js} +20 -20
  67. package/dist/chunks/{repository-9yyq1p31.js → tool-output-4zzpnmyc.js} +15 -15
  68. package/dist/chunks/{repository-f3tw885h.js → tool-output-5218j1mp.js} +5 -5
  69. package/dist/chunks/{repository-drr72fqk.js → tool-output-54d63j77.js} +18 -18
  70. package/dist/chunks/{repository-5daktx2q.js → tool-output-5daktx2q.js} +1 -1
  71. package/dist/chunks/{repository-2ax7wrr2.js → tool-output-5ejf4r5a.js} +5 -5
  72. package/dist/chunks/{repository-47dd7mnd.js → tool-output-5j26zdd4.js} +44 -44
  73. package/dist/chunks/{repository-5t3nmthw.js → tool-output-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{repository-9tm7cnby.js → tool-output-63d1yb06.js} +9 -9
  75. package/dist/chunks/{repository-669tq793.js → tool-output-669tq793.js} +1 -1
  76. package/dist/chunks/{repository-ngph99ba.js → tool-output-6f77yy2d.js} +2 -2
  77. package/dist/chunks/{repository-2402vzrj.js → tool-output-6h73sxmp.js} +5 -5
  78. package/dist/chunks/tool-output-6kdq0pjd.js +4 -0
  79. package/dist/chunks/{repository-6msgmcgs.js → tool-output-6msgmcgs.js} +1 -1
  80. package/dist/chunks/{repository-3r3w1wnb.js → tool-output-6mt29rwn.js} +24 -24
  81. package/dist/chunks/{repository-4687882h.js → tool-output-6wk7cv4v.js} +32 -32
  82. package/dist/chunks/{repository-7bmhse3q.js → tool-output-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{repository-84wmtamg.js → tool-output-7h5pm557.js} +32 -32
  84. package/dist/chunks/{repository-7j0nqdr6.js → tool-output-7k4p3msd.js} +27 -27
  85. package/dist/chunks/{repository-m5e6x1g3.js → tool-output-7q2hdn5f.js} +5 -5
  86. package/dist/chunks/{repository-khkheph3.js → tool-output-7s2v97aj.js} +10 -10
  87. package/dist/chunks/{repository-z39st4x2.js → tool-output-7wdyxh4v.js} +8 -8
  88. package/dist/chunks/{repository-3dxbc1k2.js → tool-output-7wht8r80.js} +11 -11
  89. package/dist/chunks/{repository-qnqcwk6h.js → tool-output-7x0e4a3e.js} +10 -10
  90. package/dist/chunks/{repository-f0yxj968.js → tool-output-808ncq51.js} +6 -6
  91. package/dist/chunks/{repository-8d7r5vzw.js → tool-output-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{repository-pa6m2t5v.js → tool-output-8fy70dyx.js} +26 -26
  93. package/dist/chunks/{repository-25dp4z6d.js → tool-output-8gfzv65x.js} +60 -60
  94. package/dist/chunks/{repository-8p4f9s12.js → tool-output-8p4f9s12.js} +2 -2
  95. package/dist/chunks/{repository-d27vxjpb.js → tool-output-8pj9g4aw.js} +13 -13
  96. package/dist/chunks/{repository-qftbwg1s.js → tool-output-8pkffp7a.js} +1 -1
  97. package/dist/chunks/{repository-3wb601pz.js → tool-output-8qmmky1n.js} +11 -11
  98. package/dist/chunks/{repository-9c3z8b76.js → tool-output-8vmcfqt4.js} +14 -14
  99. package/dist/chunks/{repository-w9k1b9tw.js → tool-output-90vha74g.js} +23 -23
  100. package/dist/chunks/tool-output-9sh4wc5j.js +18 -0
  101. package/dist/chunks/{repository-a1bz86dw.js → tool-output-a1bz86dw.js} +3 -3
  102. package/dist/chunks/{repository-cjjby783.js → tool-output-a359dbf8.js} +24 -24
  103. package/dist/chunks/{repository-27th7jhh.js → tool-output-a3j4x1tw.js} +20 -20
  104. package/dist/chunks/{repository-9ptzfgq2.js → tool-output-aa7sjynz.js} +11 -11
  105. package/dist/chunks/{repository-aaet6srn.js → tool-output-aaet6srn.js} +2 -2
  106. package/dist/chunks/{repository-6j0pmg7r.js → tool-output-b51hwsdf.js} +39 -39
  107. package/dist/chunks/{repository-b6gygkdw.js → tool-output-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{repository-d4jrjdy2.js → tool-output-b7tg6v9h.js} +7 -7
  109. package/dist/chunks/{repository-7j8hvj8b.js → tool-output-b86wdy9s.js} +23 -23
  110. package/dist/chunks/{repository-cj19zege.js → tool-output-bh0wz0k3.js} +5 -5
  111. package/dist/chunks/{repository-8aj7zczc.js → tool-output-bpc8xye1.js} +12 -12
  112. package/dist/chunks/{repository-68df76cx.js → tool-output-bzfzcg95.js} +19 -19
  113. package/dist/chunks/{repository-q57fswbt.js → tool-output-c9fags9s.js} +14 -14
  114. package/dist/chunks/{repository-cfpkc3c9.js → tool-output-cfpkc3c9.js} +2 -2
  115. package/dist/chunks/{repository-4dgbcxzg.js → tool-output-cpj0znwe.js} +4 -4
  116. package/dist/chunks/{repository-1k5ynee8.js → tool-output-crr7bgqk.js} +19 -19
  117. package/dist/chunks/{repository-cwa6csj7.js → tool-output-cwa6csj7.js} +2 -2
  118. package/dist/chunks/{repository-y62pexj6.js → tool-output-d5cct5w2.js} +4 -4
  119. package/dist/chunks/{repository-j3m96k93.js → tool-output-d96v7e0b.js} +31 -31
  120. package/dist/chunks/{repository-kg6v633v.js → tool-output-dbchr83k.js} +7 -7
  121. package/dist/chunks/{repository-evbgk2k8.js → tool-output-dj9sq318.js} +5 -5
  122. package/dist/chunks/tool-output-dk18nfnt.js +252 -0
  123. package/dist/chunks/{repository-a358nvtm.js → tool-output-dn23cswn.js} +9 -9
  124. package/dist/chunks/{repository-9zq497jr.js → tool-output-dqp45rz8.js} +16 -16
  125. package/dist/chunks/{repository-xfkkasph.js → tool-output-drwq78ky.js} +4 -4
  126. package/dist/chunks/{repository-4jegkhqk.js → tool-output-e7bm6crp.js} +16 -16
  127. package/dist/chunks/{repository-grxcxy9j.js → tool-output-eeaf82dq.js} +8 -8
  128. package/dist/chunks/{repository-ef5x83kb.js → tool-output-ef5x83kb.js} +1 -1
  129. package/dist/chunks/{repository-tx9qah43.js → tool-output-enqehpm9.js} +30 -30
  130. package/dist/chunks/{repository-gbjvjkny.js → tool-output-enshc74s.js} +11 -11
  131. package/dist/chunks/{repository-nw2nz702.js → tool-output-epaqsvmn.js} +4 -4
  132. package/dist/chunks/{repository-4bycmxaz.js → tool-output-epkpsq8q.js} +6 -6
  133. package/dist/chunks/{repository-xa025a22.js → tool-output-epxzab81.js} +22 -22
  134. package/dist/chunks/{repository-erw5rpbs.js → tool-output-erw5rpbs.js} +2 -2
  135. package/dist/chunks/{repository-etq0c3wd.js → tool-output-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{repository-1bgmqjfz.js → tool-output-etykttqy.js} +24 -24
  137. package/dist/chunks/{repository-4xpxjm9m.js → tool-output-f6zdrpqa.js} +8 -8
  138. package/dist/chunks/{repository-5eqe6y7x.js → tool-output-f71ps7j0.js} +11 -11
  139. package/dist/chunks/{repository-f828m53h.js → tool-output-f828m53h.js} +2 -2
  140. package/dist/chunks/{repository-j7fpsdt2.js → tool-output-fd0e6drk.js} +36 -36
  141. package/dist/chunks/{repository-tdmh7t0y.js → tool-output-fdc9xy8k.js} +41 -41
  142. package/dist/chunks/{repository-njhqdk9p.js → tool-output-fdms3n6w.js} +9 -9
  143. package/dist/chunks/{repository-24dd53tp.js → tool-output-fhs97t90.js} +9 -9
  144. package/dist/chunks/{repository-nz569jqt.js → tool-output-fhz5gfgy.js} +5 -5
  145. package/dist/chunks/{repository-gnx9acxh.js → tool-output-fk3g28fa.js} +3 -3
  146. package/dist/chunks/{repository-nqnxh7mc.js → tool-output-fng9e0je.js} +6 -6
  147. package/dist/chunks/{repository-9e95qk9h.js → tool-output-fqg3000w.js} +53 -53
  148. package/dist/chunks/{repository-mtwknp0b.js → tool-output-ftb756d7.js} +9 -9
  149. package/dist/chunks/{repository-156zzd6s.js → tool-output-fx7xv9ry.js} +4 -4
  150. package/dist/chunks/{repository-fxbjtjnd.js → tool-output-fxbjtjnd.js} +1 -1
  151. package/dist/chunks/{repository-5nncaxqn.js → tool-output-fymfmzvm.js} +22 -22
  152. package/dist/chunks/{repository-e9c9m0xn.js → tool-output-g405kcwd.js} +9 -9
  153. package/dist/chunks/{repository-4qhnatmg.js → tool-output-gbj63fq2.js} +10 -10
  154. package/dist/chunks/{repository-2gxdjdr0.js → tool-output-gbwbz775.js} +5 -5
  155. package/dist/chunks/{repository-gd4qta3r.js → tool-output-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{repository-b09hzw3k.js → tool-output-ggwd74jc.js} +2 -2
  157. package/dist/chunks/{repository-3hcj8h5a.js → tool-output-gmgzcr5s.js} +20 -20
  158. package/dist/chunks/{repository-xsr3yw12.js → tool-output-gr0cg7q6.js} +23 -23
  159. package/dist/chunks/{repository-gv6a8nnw.js → tool-output-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{repository-747xp0mp.js → tool-output-gws4b7r9.js} +45 -45
  161. package/dist/chunks/{repository-s9fzvpf3.js → tool-output-gx9e308d.js} +3 -3
  162. package/dist/chunks/{repository-h6vf3j39.js → tool-output-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{repository-eycga54b.js → tool-output-hcxtz2cn.js} +11 -11
  164. package/dist/chunks/{repository-d3cpk3py.js → tool-output-he6djx1j.js} +28 -28
  165. package/dist/chunks/{repository-jzpydyb7.js → tool-output-hf2j770k.js} +11 -11
  166. package/dist/chunks/{repository-ssx6an5f.js → tool-output-hh2gqd14.js} +13 -13
  167. package/dist/chunks/{repository-hkfg6fzm.js → tool-output-hkfg6fzm.js} +2 -2
  168. package/dist/chunks/{repository-m38spqgz.js → tool-output-hmc3077v.js} +15 -15
  169. package/dist/chunks/{repository-rkn40jbr.js → tool-output-hp296tng.js} +13 -13
  170. package/dist/chunks/{repository-d0k1g5nx.js → tool-output-hq8zt1th.js} +6 -6
  171. package/dist/chunks/{repository-9689nk70.js → tool-output-j313d1gp.js} +33 -33
  172. package/dist/chunks/{repository-j56e64zr.js → tool-output-j56e64zr.js} +1 -1
  173. package/dist/chunks/{repository-xcf3vq4w.js → tool-output-j5fs6qp9.js} +8 -8
  174. package/dist/chunks/{repository-16nrxpzh.js → tool-output-j6ynvstg.js} +15 -15
  175. package/dist/chunks/{repository-9e7ete8t.js → tool-output-j78cd4c2.js} +11 -11
  176. package/dist/chunks/{repository-6te9s930.js → tool-output-jd5ad6jn.js} +23 -23
  177. package/dist/chunks/{repository-b79km0je.js → tool-output-jdgt8b9h.js} +16 -16
  178. package/dist/chunks/{repository-wztfkr7b.js → tool-output-jhqs8np0.js} +13 -13
  179. package/dist/chunks/{repository-tkk5atn2.js → tool-output-jk0t2mrd.js} +22 -22
  180. package/dist/chunks/{repository-d28d7nnv.js → tool-output-jst88djk.js} +15 -15
  181. package/dist/chunks/{repository-5qkxfyep.js → tool-output-jz5sxy2v.js} +5 -5
  182. package/dist/chunks/{repository-6dp2jh4b.js → tool-output-k0qwsmnp.js} +4 -4
  183. package/dist/chunks/{repository-nzks3jc8.js → tool-output-k3c624dm.js} +3 -3
  184. package/dist/chunks/{repository-gyq044ef.js → tool-output-k6mfdkmd.js} +23 -23
  185. package/dist/chunks/{repository-v92tbnm7.js → tool-output-khjxa8a8.js} +13 -13
  186. package/dist/chunks/{repository-k9kj6xed.js → tool-output-knb7evpn.js} +6 -6
  187. package/dist/chunks/{repository-n7349v29.js → tool-output-kq8anxe4.js} +11 -11
  188. package/dist/chunks/{repository-k6s7pzm2.js → tool-output-krqv6p8z.js} +24 -24
  189. package/dist/chunks/{repository-smgr690m.js → tool-output-ktk6m7yv.js} +12 -12
  190. package/dist/chunks/{repository-gxpss1xa.js → tool-output-kzr6x06e.js} +6 -6
  191. package/dist/chunks/{repository-m3fdjcah.js → tool-output-m3fdjcah.js} +1 -1
  192. package/dist/chunks/{repository-40jd367m.js → tool-output-m73r9x6c.js} +26 -26
  193. package/dist/chunks/{repository-m9w0rfyh.js → tool-output-m9w0rfyh.js} +1 -1
  194. package/dist/chunks/{repository-jw80jp6b.js → tool-output-magykp64.js} +4 -4
  195. package/dist/chunks/{repository-e9xyjmyr.js → tool-output-meryqakt.js} +3 -3
  196. package/dist/chunks/{repository-0fnnvvtf.js → tool-output-mhm5nxpj.js} +35 -35
  197. package/dist/chunks/{repository-kd7vez3r.js → tool-output-mkg7sf6a.js} +4 -4
  198. package/dist/chunks/{repository-48dzx0v6.js → tool-output-mncc1266.js} +42 -42
  199. package/dist/chunks/{repository-sxe2hh18.js → tool-output-mtwjx8d5.js} +5 -5
  200. package/dist/chunks/{repository-32eyc9pz.js → tool-output-n049gm8z.js} +8 -8
  201. package/dist/chunks/{repository-zrq8kphx.js → tool-output-n0tq777j.js} +8 -8
  202. package/dist/chunks/{repository-r1zsm33h.js → tool-output-n1ktpaa9.js} +16 -16
  203. package/dist/chunks/{repository-rnnxe44a.js → tool-output-n7vp38gt.js} +4 -4
  204. package/dist/chunks/{repository-zncvfkhn.js → tool-output-ngk7ft1f.js} +21 -21
  205. package/dist/chunks/{repository-76sy9xf8.js → tool-output-nmpm9ry4.js} +17 -17
  206. package/dist/chunks/{repository-988jgs45.js → tool-output-ny6ggxa6.js} +28 -28
  207. package/dist/chunks/{repository-yhhseat7.js → tool-output-nyvg7fdv.js} +8 -8
  208. package/dist/chunks/{repository-ztvvx4d5.js → tool-output-p2d6c6bb.js} +15 -15
  209. package/dist/chunks/{repository-a7csrj9g.js → tool-output-p2gbehyw.js} +5 -5
  210. package/dist/chunks/{repository-czfptnv9.js → tool-output-p37cw4rj.js} +8 -8
  211. package/dist/chunks/{repository-m9d03vsf.js → tool-output-pb1eahw5.js} +8 -8
  212. package/dist/chunks/{repository-y5fdqert.js → tool-output-pd65cknd.js} +30 -30
  213. package/dist/chunks/{repository-2aj92ezp.js → tool-output-pd85y656.js} +15 -15
  214. package/dist/chunks/{repository-n9arjmkd.js → tool-output-ph842b28.js} +4 -4
  215. package/dist/chunks/{repository-ydgy0jv4.js → tool-output-phpw85vv.js} +4 -4
  216. package/dist/chunks/{repository-pjvnvgmy.js → tool-output-pjvnvgmy.js} +1 -1
  217. package/dist/chunks/{repository-pknna89w.js → tool-output-pknna89w.js} +1 -1
  218. package/dist/chunks/{repository-vncycja5.js → tool-output-pmr4s4kc.js} +4 -4
  219. package/dist/chunks/{repository-kmektthr.js → tool-output-pnhjcye8.js} +18 -18
  220. package/dist/chunks/{repository-gsep8nmr.js → tool-output-pz615jzp.js} +35 -35
  221. package/dist/chunks/{repository-v2p627ht.js → tool-output-pz8xdsk0.js} +94 -94
  222. package/dist/chunks/{repository-e7hxwpth.js → tool-output-q2xhn23d.js} +11 -11
  223. package/dist/chunks/{repository-ajmg8w9c.js → tool-output-q3q4fawj.js} +5 -5
  224. package/dist/chunks/{repository-m4wm6chx.js → tool-output-q8epdb8w.js} +30 -30
  225. package/dist/chunks/{repository-qng17q6g.js → tool-output-q9cdy8tv.js} +9 -9
  226. package/dist/chunks/{repository-qeg0a57n.js → tool-output-qamdyatg.js} +13 -13
  227. package/dist/chunks/{repository-gbccyn0s.js → tool-output-qec9hvjm.js} +179 -179
  228. package/dist/chunks/{repository-6zh7xxe6.js → tool-output-qfqsp29t.js} +26 -26
  229. package/dist/chunks/{repository-2k8khapm.js → tool-output-qgn6gcr1.js} +5 -5
  230. package/dist/chunks/{repository-qjnxxf51.js → tool-output-qjnxxf51.js} +2 -2
  231. package/dist/chunks/{repository-jczd64ef.js → tool-output-qkc1cvv7.js} +33 -33
  232. package/dist/chunks/{repository-97h7kfy1.js → tool-output-qp3v07n2.js} +8 -8
  233. package/dist/chunks/{repository-qsdy395h.js → tool-output-qsdy395h.js} +1 -1
  234. package/dist/chunks/{repository-98bk72ht.js → tool-output-r263x78e.js} +11 -11
  235. package/dist/chunks/{repository-ygwgyd6z.js → tool-output-r52tak3e.js} +3 -3
  236. package/dist/chunks/{repository-08e6decx.js → tool-output-r6qre0sb.js} +29 -29
  237. package/dist/chunks/{repository-rdw6cm16.js → tool-output-rdw6cm16.js} +1 -1
  238. package/dist/chunks/{repository-qrnms2rq.js → tool-output-rvbptfp6.js} +2 -2
  239. package/dist/chunks/{repository-hqt53cmn.js → tool-output-s5kb3k8e.js} +4 -4
  240. package/dist/chunks/{repository-3xtyrk98.js → tool-output-sa1fyfn4.js} +13 -13
  241. package/dist/chunks/{repository-pqsm87s1.js → tool-output-sg8a7ymw.js} +4 -4
  242. package/dist/chunks/{repository-qgsw5m5h.js → tool-output-t3bygzqy.js} +10 -10
  243. package/dist/chunks/{repository-0kwr4h1p.js → tool-output-t3fdem4h.js} +18 -18
  244. package/dist/chunks/{repository-tazgh4e4.js → tool-output-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{repository-p28j5sbe.js → tool-output-tbz0fdvh.js} +5 -5
  246. package/dist/chunks/{repository-tcezcvh9.js → tool-output-tcezcvh9.js} +1 -1
  247. package/dist/chunks/{repository-tdstcens.js → tool-output-tdstcens.js} +1 -1
  248. package/dist/chunks/{repository-jbj23068.js → tool-output-tjjwpfh5.js} +1 -1
  249. package/dist/chunks/{repository-fn5ac5xw.js → tool-output-tk3z30t0.js} +29 -29
  250. package/dist/chunks/{repository-tvtrv512.js → tool-output-tvtrv512.js} +1 -1
  251. package/dist/chunks/{repository-z8h8vbg2.js → tool-output-v16qm9q2.js} +15 -15
  252. package/dist/chunks/{repository-ah0pkc8z.js → tool-output-vbsn5z78.js} +23 -23
  253. package/dist/chunks/{repository-veqvce7d.js → tool-output-veqvce7d.js} +1 -1
  254. package/dist/chunks/{repository-gtqq653r.js → tool-output-vggs0s0j.js} +26 -26
  255. package/dist/chunks/{repository-mst8n3qf.js → tool-output-vvzwb0bn.js} +24 -24
  256. package/dist/chunks/{repository-vzcthcp8.js → tool-output-vzcthcp8.js} +1 -1
  257. package/dist/chunks/{repository-w3wsvvr9.js → tool-output-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{repository-wd87259q.js → tool-output-wd87259q.js} +1 -1
  259. package/dist/chunks/{repository-wcjfyzwp.js → tool-output-wp04yf6p.js} +45 -45
  260. package/dist/chunks/{repository-v7wd1yc6.js → tool-output-wpfcz72r.js} +3 -3
  261. package/dist/chunks/{repository-8fpgymmv.js → tool-output-wtrs3vw2.js} +26 -26
  262. package/dist/chunks/{repository-8r1x53s2.js → tool-output-ww5tpm6f.js} +13 -13
  263. package/dist/chunks/{repository-x1ezjp6w.js → tool-output-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/tool-output-x57dpdjd.js +26 -0
  265. package/dist/chunks/{repository-xznas7s2.js → tool-output-x7bv5qy9.js} +34 -34
  266. package/dist/chunks/{repository-03ajav8s.js → tool-output-xdj8fn82.js} +15 -15
  267. package/dist/chunks/{repository-n63r6n5d.js → tool-output-xgm2h5c0.js} +14 -14
  268. package/dist/chunks/{repository-ebahehhd.js → tool-output-xgq1v614.js} +6 -6
  269. package/dist/chunks/{repository-qxp26m5h.js → tool-output-xkg5p1bf.js} +17 -17
  270. package/dist/chunks/{repository-txd4xrw4.js → tool-output-xxkgr1pf.js} +44 -44
  271. package/dist/chunks/{repository-y1fvbwt7.js → tool-output-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{repository-evfkrj3r.js → tool-output-y3w47xgk.js} +27 -27
  273. package/dist/chunks/{repository-y71avatq.js → tool-output-y71avatq.js} +1 -1
  274. package/dist/chunks/{repository-4tvtkt0r.js → tool-output-yb7ywnjc.js} +18 -18
  275. package/dist/chunks/{repository-zhfk7ysy.js → tool-output-ym688k4s.js} +44 -44
  276. package/dist/chunks/{repository-yrhqyw5v.js → tool-output-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{repository-yrznvahk.js → tool-output-yrznvahk.js} +2 -2
  278. package/dist/chunks/{repository-adkkytg4.js → tool-output-yvqb1n05.js} +3 -3
  279. package/dist/chunks/{repository-hwm7e8aj.js → tool-output-yz94qm7h.js} +33 -33
  280. package/dist/chunks/{repository-z0bkrqjs.js → tool-output-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{repository-y6f0p4jw.js → tool-output-z5ntc05q.js} +3 -3
  282. package/dist/chunks/{repository-z63w68vq.js → tool-output-z63w68vq.js} +2 -2
  283. package/dist/chunks/{repository-0n0z2jxy.js → tool-output-z974etmn.js} +18 -18
  284. package/dist/chunks/{repository-k76fn4kw.js → tool-output-zav06jzw.js} +4 -4
  285. package/dist/chunks/{repository-zeh9ct20.js → tool-output-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{repository-0ej8hn87.js → tool-output-zpztgtkd.js} +9 -9
  287. package/dist/chunks/{repository-zr2ceqn5.js → tool-output-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{repository-hqxaqnsz.js → tool-output-zskgmyr0.js} +14 -14
  289. package/dist/chunks/{repository-zxq2ej10.js → tool-output-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +71 -71
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +2 -2
  423. package/dist/filesystem/location-watcher.js +220 -220
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +96 -96
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +101 -101
  429. package/dist/form.js +81 -81
  430. package/dist/formatter/builtins.js +2 -2
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +102 -102
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +132 -132
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +84 -84
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +101 -101
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +101 -101
  481. package/dist/models-dev.js +94 -94
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +110 -110
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +77 -77
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +103 -103
  492. package/dist/plugin/command.js +100 -100
  493. package/dist/plugin/compaction.js +132 -132
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +3 -3
  497. package/dist/plugin/instance.js +5 -5
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +5 -5
  502. package/dist/plugin/optimize.js +4 -4
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +93 -93
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +75 -75
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +140 -140
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +345 -345
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +85 -85
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +7 -7
  551. package/dist/plugin/websearch/firecrawl.js +8 -8
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +6 -6
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +6 -6
  557. package/dist/plugin.js +222 -222
  558. package/dist/project/schema.js +4 -4
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +85 -85
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +97 -97
  566. package/dist/reference/instructions.js +86 -86
  567. package/dist/reference.js +90 -90
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +94 -94
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +131 -131
  576. package/dist/session/context.js +151 -151
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +221 -221
  582. package/dist/session/execution.js +123 -123
  583. package/dist/session/generate.js +152 -152
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +85 -85
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +92 -92
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +3 -3
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +111 -111
  606. package/dist/session/runner/step.js +123 -123
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +169 -169
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +74 -74
  614. package/dist/session/store.js +86 -86
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +207 -207
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +153 -153
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +220 -220
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +11 -11
  627. package/dist/shell.js +137 -137
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +102 -102
  630. package/dist/skill.js +111 -111
  631. package/dist/snapshot.js +90 -90
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +117 -117
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +123 -123
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +102 -102
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +112 -112
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +111 -111
  648. package/dist/tool/plugin/websearch.js +111 -111
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +4 -4
  653. package/dist/tool.js +14 -14
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +1 -1
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +3 -3
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +5 -5
  671. package/dist/v1/config/mcp.js +2 -2
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +2 -2
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +3 -3
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +90 -90
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +86 -86
  683. package/dist/websearch.js +81 -81
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +78 -78
  686. package/dist/workspace/driver.js +3 -3
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +79 -79
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +97 -97
  694. package/package.json +8 -8
  695. package/dist/chunks/repository-0bgghbta.js +0 -492
  696. package/dist/chunks/repository-1qq6zhmr.js +0 -26
  697. package/dist/chunks/repository-85dxg7gk.js +0 -252
  698. package/dist/chunks/repository-n95b3jav.js +0 -18
  699. package/dist/chunks/repository-qapv375x.js +0 -4
  700. /package/dist/chunks/{repository-0qkdqm5v.js → tool-output-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{repository-0zkw76rk.js → tool-output-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{repository-17cy0kzp.js → tool-output-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{repository-1cnp2v09.js → tool-output-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{repository-1kg9ymc8.js → tool-output-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{repository-24dcb14g.js → tool-output-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{repository-2710q6r3.js → tool-output-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{repository-2axfhc9x.js → tool-output-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{repository-2c3vjs8z.js → tool-output-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{repository-359p4xyc.js → tool-output-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{repository-3asan66x.js → tool-output-3asan66x.js} +0 -0
  711. /package/dist/chunks/{repository-3v8g72cx.js → tool-output-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{repository-3w5fmr99.js → tool-output-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{repository-3wcehsnq.js → tool-output-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{repository-43n2bw4t.js → tool-output-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{repository-4knz6hnm.js → tool-output-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{repository-4vcrnpx2.js → tool-output-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{repository-4y7fprxs.js → tool-output-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{repository-53557ph1.js → tool-output-53557ph1.js} +0 -0
  719. /package/dist/chunks/{repository-550bvhaj.js → tool-output-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{repository-5qd3pb7m.js → tool-output-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{repository-6prwharc.js → tool-output-6prwharc.js} +0 -0
  722. /package/dist/chunks/{repository-7akdwqpd.js → tool-output-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{repository-7m9af43g.js → tool-output-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{repository-822emrt2.js → tool-output-822emrt2.js} +0 -0
  725. /package/dist/chunks/{repository-88xbtdfr.js → tool-output-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{repository-8n3pysct.js → tool-output-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{repository-922hggd3.js → tool-output-922hggd3.js} +0 -0
  728. /package/dist/chunks/{repository-9a4afbnw.js → tool-output-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{repository-9rqn6x4v.js → tool-output-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{repository-a6k6eb26.js → tool-output-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{repository-af5trqkr.js → tool-output-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{repository-afrmfg78.js → tool-output-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{repository-aqzs7mqg.js → tool-output-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{repository-atq7p7m5.js → tool-output-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{repository-bkyjaxrp.js → tool-output-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{repository-bmr6ed5q.js → tool-output-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{repository-cf4snx6d.js → tool-output-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{repository-cvy3z8tj.js → tool-output-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{repository-d9fn303g.js → tool-output-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{repository-d9jj8t3e.js → tool-output-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{repository-dajrwvna.js → tool-output-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{repository-dap0rakb.js → tool-output-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{repository-df08tz66.js → tool-output-df08tz66.js} +0 -0
  744. /package/dist/chunks/{repository-dy18nga0.js → tool-output-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{repository-e5kj55wp.js → tool-output-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{repository-e73j6tqm.js → tool-output-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{repository-ec1grn59.js → tool-output-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{repository-eh3zwz77.js → tool-output-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{repository-emrn6kk6.js → tool-output-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{repository-f0mxakyp.js → tool-output-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{repository-f6n9ztr4.js → tool-output-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{repository-faypxj3z.js → tool-output-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{repository-fd410y7t.js → tool-output-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{repository-fxgpk5d8.js → tool-output-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{repository-g4wezp1m.js → tool-output-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{repository-g86h250q.js → tool-output-g86h250q.js} +0 -0
  757. /package/dist/chunks/{repository-gebd4c9n.js → tool-output-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{repository-gftt206x.js → tool-output-gftt206x.js} +0 -0
  759. /package/dist/chunks/{repository-hjbc5kem.js → tool-output-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{repository-hk9envan.js → tool-output-hk9envan.js} +0 -0
  761. /package/dist/chunks/{repository-j2ntwpah.js → tool-output-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{repository-j5zkgpj8.js → tool-output-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{repository-jjkms2e6.js → tool-output-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{repository-jr7sbwjy.js → tool-output-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{repository-jwfs4k6c.js → tool-output-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{repository-jzg6c2d5.js → tool-output-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{repository-mp448xyj.js → tool-output-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{repository-msx8hqn2.js → tool-output-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{repository-n05xt0ee.js → tool-output-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{repository-n3j8tn72.js → tool-output-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{repository-njntx4h6.js → tool-output-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{repository-q3sfg36h.js → tool-output-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{repository-q74kybfr.js → tool-output-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{repository-qaymkmh1.js → tool-output-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{repository-qb87gjwd.js → tool-output-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{repository-qfa1cgps.js → tool-output-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{repository-qg3g05ea.js → tool-output-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{repository-qrg20bc0.js → tool-output-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{repository-rcb2kzg1.js → tool-output-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{repository-sdp7kfr6.js → tool-output-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{repository-sk3qaz4a.js → tool-output-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{repository-ssg3fenm.js → tool-output-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{repository-twg0f83k.js → tool-output-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{repository-w803qqfp.js → tool-output-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{repository-wc3fc9cn.js → tool-output-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{repository-wer8tq1h.js → tool-output-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{repository-wtztk69x.js → tool-output-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{repository-x0ckcb58.js → tool-output-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{repository-x61499pn.js → tool-output-x61499pn.js} +0 -0
  790. /package/dist/chunks/{repository-y44na4kk.js → tool-output-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{repository-y8cydn3q.js → tool-output-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{repository-y8f7s663.js → tool-output-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{repository-ygaqb7jw.js → tool-output-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{repository-ym463w8f.js → tool-output-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{repository-z9919s4g.js → tool-output-z9919s4g.js} +0 -0
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./repository-922hggd3.js";
5
+ } from "./tool-output-922hggd3.js";
6
6
  import {
7
- Service76,
8
- node79
9
- } from "./repository-9c3z8b76.js";
7
+ Service78,
8
+ node81
9
+ } from "./tool-output-8vmcfqt4.js";
10
10
  import {
11
- Service26,
12
- node29
13
- } from "./repository-cjjby783.js";
11
+ Service17,
12
+ node20
13
+ } from "./tool-output-a359dbf8.js";
14
14
  import {
15
15
  __export
16
- } from "./repository-9rqn6x4v.js";
16
+ } from "./tool-output-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event7,
25
+ Event: () => Event4,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
30
  ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError4,
32
+ NotFoundError: () => NotFoundError3,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service25,
34
+ Service: () => Service16,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node28
38
+ node: () => node19
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event7 = FileSystem.Event;
88
+ var Event4 = FileSystem.Event;
89
89
 
90
- class Service25 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service16 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service25, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
- const location = yield* Service76;
95
- const search = yield* Service26;
94
+ const location = yield* Service78;
95
+ const search = yield* Service17;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service25, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service25.of({
106
+ return Service16.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service25, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node28 = makeLocationNode({
144
- service: Service25,
143
+ var node19 = makeLocationNode({
144
+ service: Service16,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node79, node29]
146
+ deps: [FSUtil.node, node81, node20]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service25, node28, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service16, node19, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options8,
9
+ Options: () => Options7,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options8 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options8]))]);
13
+ var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
15
15
 
16
- export { Options8, Spec2, exports_plugin3 };
16
+ export { Options7, Spec2, exports_plugin3 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./repository-922hggd3.js";
3
+ } from "./tool-output-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./tool-output-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/provider.ts
9
9
  var exports_provider2 = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service81,
3
- node85
4
- } from "./repository-qeg0a57n.js";
3
+ node84
4
+ } from "./tool-output-qamdyatg.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./repository-rdw6cm16.js";
8
+ } from "./tool-output-rdw6cm16.js";
9
9
  import {
10
- Service76,
11
- node79
12
- } from "./repository-9c3z8b76.js";
10
+ Service78,
11
+ node81
12
+ } from "./tool-output-8vmcfqt4.js";
13
13
  import {
14
14
  rewrite2,
15
- ID12,
15
+ ID8,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service73,
20
- node76,
21
- Event17
22
- } from "./repository-sktfb2et.js";
19
+ Service59,
20
+ node62,
21
+ Event13
22
+ } from "./tool-output-496as97q.js";
23
23
  import {
24
24
  __export
25
- } from "./repository-9rqn6x4v.js";
25
+ } from "./tool-output-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event16,
33
+ Event: () => Event11,
34
34
  Family: () => Family2,
35
- ID: () => ID11,
36
- Info: () => Info25,
35
+ ID: () => ID6,
36
+ Info: () => Info19,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service71,
40
+ Service: () => Service55,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
- node: () => node74,
44
- parse: () => parse5
43
+ node: () => node58,
44
+ parse: () => parse4
45
45
  });
46
46
  import { Model } from "@opencode/schema/model";
47
47
  import { Context, Effect, Layer, Stream } from "effect";
48
48
  import { makeLocationNode } from "@opencode/util/effect/app-node";
49
49
  import { freeze } from "immer";
50
- import { Event as Event16 } from "@opencode/schema/model";
51
- var ID11 = Model.ID;
50
+ import { Event as Event11 } from "@opencode/schema/model";
51
+ var ID6 = Model.ID;
52
52
  var VariantID2 = Model.VariantID;
53
53
  var Family2 = Model.Family;
54
54
  var ReasoningField2 = Model.ReasoningField;
@@ -56,14 +56,14 @@ var Compatibility2 = Model.Compatibility;
56
56
  var Capabilities2 = Model.Capabilities;
57
57
  var Cost2 = Model.Cost;
58
58
  var Ref2 = Model.Ref;
59
- var Info25 = Model.Info;
59
+ var Info19 = Model.Info;
60
60
 
61
- class Service71 extends Context.Service()("@opencode/Model") {
61
+ class Service55 extends Context.Service()("@opencode/Model") {
62
62
  }
63
- var layer = Layer.effect(Service71, Effect.gen(function* () {
64
- const providers = yield* Service73;
63
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
64
+ const providers = yield* Service59;
65
65
  const bus = yield* Service81;
66
- const location = yield* Service76;
66
+ const location = yield* Service78;
67
67
  let input;
68
68
  const state = create3({
69
69
  name: "model",
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
108
108
  const models = writable(providerID);
109
109
  if (!models)
110
110
  return;
111
- const model = draft(providerID, modelID) ?? Info25.default(providerID, modelID);
111
+ const model = draft(providerID, modelID) ?? Info19.default(providerID, modelID);
112
112
  update(model);
113
113
  model.id = modelID;
114
114
  model.providerID = providerID;
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
197
197
  location: { directory: location.directory, workspaceID: location.workspaceID }
198
198
  });
199
199
  });
200
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
- return Service71.of({
200
+ yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
+ return Service55.of({
202
202
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
203
203
  reload,
204
204
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
217
217
  })
218
218
  });
219
219
  }));
220
- var node74 = makeLocationNode({ service: Service71, layer, deps: [node76, node85, node79] });
220
+ var node58 = makeLocationNode({ service: Service55, layer, deps: [node62, node84, node81] });
221
221
  function compatibility2(input) {
222
222
  if (typeof input === "string")
223
223
  return { reasoningField: input };
@@ -225,12 +225,12 @@ function compatibility2(input) {
225
225
  return;
226
226
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
227
227
  }
228
- function parse5(input) {
228
+ function parse4(input) {
229
229
  const index = input.indexOf("/");
230
230
  return {
231
- providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
232
- modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
231
+ providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
232
+ modelID: ID6.make(index === -1 ? "" : input.slice(index + 1))
233
233
  };
234
234
  }
235
235
 
236
- export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info25, Service71, node74, compatibility2, parse5, exports_model2, Event16 };
236
+ export { ID6, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info19, Service55, node58, compatibility2, parse4, exports_model2, Event11 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./repository-56gdpj1q.js";
3
+ } from "./tool-output-1ygqh575.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./tool-output-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin34,
11
+ Plugin: () => Plugin4,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint4
13
+ endpoint: () => endpoint3
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint4 = "https://mcp.exa.ai/mcp";
18
+ var endpoint3 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin34 = define({
30
+ var Plugin4 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin34 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint4);
52
+ const url = new URL(endpoint3);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint4, Plugin34, exports_exa };
83
+ export { endpoint3, Plugin4, exports_exa };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID12,
2
+ ID8,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./repository-sktfb2et.js";
5
+ } from "./tool-output-496as97q.js";
6
6
  import {
7
- ID11,
7
+ ID6,
8
8
  VariantID2,
9
9
  Family2,
10
- Info25
11
- } from "./repository-jczd64ef.js";
10
+ Info19
11
+ } from "./tool-output-qkc1cvv7.js";
12
12
  import {
13
13
  __export
14
- } from "./repository-9rqn6x4v.js";
14
+ } from "./tool-output-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID11.make(id);
97
+ const key = ID6.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info25.make({
122
- ...Info25.default(ID12.githubCopilot, id),
121
+ return Info19.make({
122
+ ...Info19.default(ID8.githubCopilot, id),
123
123
  id,
124
- modelID: ID11.make(remote.id),
125
- providerID: ID12.githubCopilot,
124
+ modelID: ID6.make(remote.id),
125
+ providerID: ID8.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -1,6 +1,6 @@
1
1
  import {
2
- ID12
3
- } from "./repository-sktfb2et.js";
2
+ ID8
3
+ } from "./tool-output-496as97q.js";
4
4
 
5
5
  // src/plugin/provider/prompt-cache-key.ts
6
6
  import { Effect } from "effect";
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
24
24
  effect: Effect.fn(function* (ctx) {
25
25
  yield* ctx.model.transform((models) => {
26
26
  for (const id of providerIDs) {
27
- const providerID = ID12.make(id);
27
+ const providerID = ID8.make(id);
28
28
  for (const model of models.list(providerID)) {
29
29
  models.update(model.providerID, model.id, (draft) => {
30
30
  draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service76
3
- } from "./repository-9c3z8b76.js";
2
+ Service78
3
+ } from "./tool-output-8vmcfqt4.js";
4
4
  import {
5
- Service67
6
- } from "./repository-3r3w1wnb.js";
5
+ Service54
6
+ } from "./tool-output-6mt29rwn.js";
7
7
  import {
8
- Service24,
8
+ Service21,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./repository-rkn40jbr.js";
11
+ } from "./tool-output-hp296tng.js";
12
12
  import {
13
- Service14
14
- } from "./repository-2aj92ezp.js";
13
+ Service22
14
+ } from "./tool-output-pd85y656.js";
15
15
  import {
16
- Service60
17
- } from "./repository-9e95qk9h.js";
16
+ Service72
17
+ } from "./tool-output-fqg3000w.js";
18
18
  import {
19
- Service19,
19
+ Service18,
20
20
  resolvePath2
21
- } from "./repository-4tvtkt0r.js";
21
+ } from "./tool-output-yb7ywnjc.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./repository-6prwharc.js";
24
+ } from "./tool-output-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./repository-9rqn6x4v.js";
27
+ } from "./tool-output-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input5,
33
+ Input: () => Input4,
34
34
  Output: () => Output3,
35
- Plugin: () => Plugin23,
36
- name: () => name5
35
+ Plugin: () => Plugin39,
36
+ name: () => name4
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name5 = "edit";
43
- var Input5 = Schema.Struct({
42
+ var name4 = "edit";
43
+ var Input4 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -103,20 +103,20 @@ var findLineOccurrences = (content, search) => {
103
103
  return result;
104
104
  }, []);
105
105
  };
106
- var Plugin23 = {
106
+ var Plugin39 = {
107
107
  id: "opencode.tool.edit",
108
108
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
109
- const access = yield* Service19;
110
- const fileMutation = yield* Service24;
111
- const environment = yield* Service67;
112
- const formatter = yield* Service14;
113
- const location = yield* Service76;
114
- const permission = yield* Service60;
109
+ const access = yield* Service18;
110
+ const fileMutation = yield* Service21;
111
+ const environment = yield* Service54;
112
+ const formatter = yield* Service22;
113
+ const location = yield* Service78;
114
+ const permission = yield* Service72;
115
115
  yield* ctx.tool.transform((editor) => editor.add({
116
- name: name5,
116
+ name: name4,
117
117
  options: { codemode: false, permission: "edit" },
118
118
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
119
- input: Input5,
119
+ input: Input4,
120
120
  output: Output3,
121
121
  execute: (input, context) => {
122
122
  return Effect.gen(function* () {
@@ -194,4 +194,4 @@ var Plugin23 = {
194
194
  })
195
195
  };
196
196
 
197
- export { name5, Input5, Output3, Plugin23, exports_edit };
197
+ export { name4, Input4, Output3, Plugin39, exports_edit };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service81
3
- } from "./repository-qeg0a57n.js";
3
+ } from "./tool-output-qamdyatg.js";
4
4
  import {
5
5
  Service13,
6
6
  Event2
7
- } from "./repository-hc1zqxnq.js";
7
+ } from "./tool-output-0dsvprc7.js";
8
8
 
9
9
  // src/plugin/models-dev.ts
10
10
  import { define } from "@opencode/plugin/effect/plugin";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./repository-gd4qta3r.js";
3
+ } from "./tool-output-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./repository-tvtrv512.js";
6
+ } from "./tool-output-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./repository-rdw6cm16.js";
9
+ } from "./tool-output-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./repository-9rqn6x4v.js";
12
+ } from "./tool-output-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./tool-output-922hggd3.js";
4
4
  import {
5
- Service76
6
- } from "./repository-9c3z8b76.js";
5
+ Service78
6
+ } from "./tool-output-8vmcfqt4.js";
7
7
  import {
8
- Service46
9
- } from "./repository-txd4xrw4.js";
8
+ Service41
9
+ } from "./tool-output-xxkgr1pf.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./repository-bfbk1002.js";
13
+ } from "./tool-output-3w4a2kbh.js";
14
14
  import {
15
15
  observe2
16
- } from "./repository-qsdy395h.js";
16
+ } from "./tool-output-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-9rqn6x4v.js";
19
+ } from "./tool-output-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin15
25
+ Plugin: () => Plugin20
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin15 = define({
31
+ var Plugin20 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service46;
35
- const location = yield* Service76;
34
+ const config = yield* Service41;
35
+ const location = yield* Service78;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin15, exports_reference };
75
+ export { Plugin20, exports_reference };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./repository-e5xpd6yj.js";
5
+ } from "./tool-output-34x4s2w1.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./repository-9e95qk9h.js";
8
+ } from "./tool-output-fqg3000w.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./repository-m4wm6chx.js";
11
+ } from "./tool-output-q8epdb8w.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -18,7 +18,7 @@ import {
18
18
  ModelInitializationError2,
19
19
  UnresolvedProviderVariablesError2,
20
20
  UnsupportedCompactionError2
21
- } from "./repository-8r1x53s2.js";
21
+ } from "./tool-output-ww5tpm6f.js";
22
22
 
23
23
  // src/session/to-session-error.ts
24
24
  import { AIError, ToolFailure } from "@opencode/ai";