@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
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./repository-sktfb2et.js";
4
+ } from "./tool-output-496as97q.js";
5
5
  import {
6
6
  latest2,
7
- Service46
8
- } from "./repository-txd4xrw4.js";
7
+ Service41
8
+ } from "./tool-output-xxkgr1pf.js";
9
9
  import {
10
10
  resolve2
11
- } from "./repository-sndbe2vj.js";
11
+ } from "./tool-output-06p361q7.js";
12
12
  import {
13
13
  observe2
14
- } from "./repository-qsdy395h.js";
14
+ } from "./tool-output-qsdy395h.js";
15
15
  import {
16
16
  __export
17
- } from "./repository-9rqn6x4v.js";
17
+ } from "./tool-output-9rqn6x4v.js";
18
18
 
19
19
  // src/config/plugin/provider.ts
20
20
  var exports_provider = {};
21
21
  __export(exports_provider, {
22
22
  ConfigProviderPlugin: () => exports_provider,
23
- Plugin: () => Plugin8
23
+ Plugin: () => Plugin26
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Money } from "@opencode/schema/money";
27
27
  import { Effect } from "effect";
28
- var Plugin8 = define({
28
+ var Plugin26 = define({
29
29
  id: "opencode.config.provider",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service46;
31
+ const config = yield* Service41;
32
32
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
33
33
  yield* ctx.integration.transform((integrations) => {
34
34
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
192
192
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
193
193
  }
194
194
 
195
- export { Plugin8, exports_provider };
195
+ export { Plugin26, exports_provider };
@@ -1,43 +1,43 @@
1
1
  import {
2
- Service82
3
- } from "./repository-3dxbc1k2.js";
2
+ Service83
3
+ } from "./tool-output-7wht8r80.js";
4
4
  import {
5
- Service54
6
- } from "./repository-d0k1g5nx.js";
5
+ Service50
6
+ } from "./tool-output-hq8zt1th.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./repository-n95b3jav.js";
9
+ } from "./tool-output-9sh4wc5j.js";
10
10
  import {
11
11
  provenance2
12
- } from "./repository-msq0jde0.js";
12
+ } from "./tool-output-1hc11dc4.js";
13
13
  import {
14
14
  preview2
15
- } from "./repository-z39st4x2.js";
15
+ } from "./tool-output-7wdyxh4v.js";
16
16
  import {
17
17
  baseTranscript2
18
- } from "./repository-84wmtamg.js";
18
+ } from "./tool-output-7h5pm557.js";
19
19
  import {
20
- Service30
21
- } from "./repository-7z2ktkw9.js";
20
+ Service26
21
+ } from "./tool-output-4e105jgy.js";
22
22
  import {
23
23
  __export
24
- } from "./repository-9rqn6x4v.js";
24
+ } from "./tool-output-9rqn6x4v.js";
25
25
 
26
26
  // src/session/generate.ts
27
- var exports_generate = {};
28
- __export(exports_generate, {
29
- SessionGenerate: () => exports_generate,
27
+ var exports_generate2 = {};
28
+ __export(exports_generate2, {
29
+ SessionGenerate: () => exports_generate2,
30
30
  generate: () => generate2
31
31
  });
32
32
  import { LLMClient, Message } from "@opencode/ai";
33
33
  import { Effect } from "effect";
34
34
  var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
35
- const instances = yield* Service54;
36
- const database = yield* Service82;
35
+ const instances = yield* Service50;
36
+ const database = yield* Service83;
37
37
  const llm = yield* LLMClient.Service;
38
38
  return yield* Effect.gen(function* () {
39
39
  yield* awaitActivation2;
40
- const context = yield* Service30;
40
+ const context = yield* Service26;
41
41
  const selection = yield* context.select(input.session.id);
42
42
  const model = yield* context.resolveModel(selection.session);
43
43
  const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
71
71
  }).pipe(instances.provide(input.session));
72
72
  });
73
73
 
74
- export { generate2, exports_generate };
74
+ export { generate2, exports_generate2 };
@@ -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/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./repository-gftt206x.js";
3
+ } from "./tool-output-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./repository-9rqn6x4v.js";
6
+ } from "./tool-output-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
10
10
  __export(exports_message_updater, {
11
11
  SessionMessageUpdater: () => exports_message_updater,
12
- update: () => update2
12
+ update: () => update3
13
13
  });
14
14
  import { castDraft, produce } from "immer";
15
15
  import { DateTime, Effect, Match, pipe, Schema } from "effect";
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
21
21
  files: event.data.files ? Array.from(event.data.files) : undefined
22
22
  };
23
23
  };
24
- function update2(adapter, event) {
24
+ function update3(adapter, event) {
25
25
  const created = DateTime.makeUnsafe(event.created);
26
26
  const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
27
27
  const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
@@ -401,4 +401,4 @@ function update2(adapter, event) {
401
401
  return project(event);
402
402
  }
403
403
 
404
- export { update2, exports_message_updater };
404
+ export { update3, exports_message_updater };
@@ -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/filesystem/protected.ts
6
6
  var exports_protected = {};
@@ -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/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./repository-sktfb2et.js";
4
+ } from "./tool-output-496as97q.js";
5
5
 
6
6
  // src/plugin/provider/vercel.ts
7
7
  import { Effect } from "effect";
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./repository-3dxbc1k2.js";
2
+ Service83,
3
+ node87
4
+ } from "./tool-output-7wht8r80.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./repository-y71avatq.js";
7
+ } from "./tool-output-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node83
12
- } from "./repository-ydgy0jv4.js";
11
+ node86
12
+ } from "./tool-output-phpw85vv.js";
13
13
  import {
14
14
  WorkspaceTable2
15
- } from "./repository-faypxj3z.js";
15
+ } from "./tool-output-faypxj3z.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-9rqn6x4v.js";
18
+ } from "./tool-output-9rqn6x4v.js";
19
19
 
20
20
  // src/workspace.ts
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID17,
25
- Info: () => Info33,
24
+ ID: () => ID18,
25
+ Info: () => Info34,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service79,
27
+ Service: () => Service82,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured11,
30
- node: () => node82
29
+ configured: () => configured12,
30
+ node: () => node85
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID17 = Workspace.ID;
38
+ var ID18 = Workspace.ID;
39
39
 
40
- class Info33 extends Schema.Class("Workspace.Info")({
41
- id: ID17,
40
+ class Info34 extends Schema.Class("Workspace.Info")({
41
+ id: ID18,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,25 +46,25 @@ class Info33 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID17 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID18 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID17,
53
+ workspaceID: ID18,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service79 extends Context.Service()("@opencode/Workspace") {
59
+ class Service82 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured11 = (options = {}) => makeGlobalNode({
62
- service: Service79,
61
+ var configured12 = (options = {}) => makeGlobalNode({
62
+ service: Service82,
63
63
  layer: layer(options),
64
- deps: [node86, node83]
64
+ deps: [node87, node86]
65
65
  });
66
- var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
67
- const db = (yield* Service82).db;
66
+ var layer = (options) => Layer.effect(Service82, Effect.gen(function* () {
67
+ const db = (yield* Service83).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
70
70
  const connections = new Map;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info33({
83
+ const info = (row, binding) => new Info34({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service79.of({
157
+ return Service82.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID17.create();
159
+ const workspaceID = input.id ?? ID18.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service79, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node82 = configured11();
224
+ var node85 = configured12();
225
225
 
226
- export { ID17, Info33, NotFound3, CreateConflict2, Service79, configured11, node82, exports_workspace };
226
+ export { ID18, Info34, NotFound3, CreateConflict2, Service82, configured12, node85, exports_workspace };
@@ -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/id/id.ts
6
6
  var exports_id = {};
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID9,
2
+ ID13,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./repository-2b9gc1bn.js";
5
+ } from "./tool-output-06hvzpqw.js";
6
6
  import {
7
7
  merge2
8
- } from "./repository-9e95qk9h.js";
8
+ } from "./tool-output-fqg3000w.js";
9
9
  import {
10
10
  __export
11
- } from "./repository-9rqn6x4v.js";
11
+ } from "./tool-output-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
- var exports_agent2 = {};
15
- __export(exports_agent2, {
16
- AgentPlugin: () => exports_agent2,
17
- Plugin: () => Plugin40
14
+ var exports_agent = {};
15
+ __export(exports_agent, {
16
+ AgentPlugin: () => exports_agent,
17
+ Plugin: () => Plugin11
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin40 = define({
93
+ var Plugin11 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin40 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID9.make("general"), (item) => {
103
+ editor.update(ID13.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID9.make("explore"), (item) => {
109
+ editor.update(ID13.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin40 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID9.make("compaction"), (item) => {
128
+ editor.update(ID13.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID9.make("title"), (item) => {
133
+ editor.update(ID13.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID9.make("summary"), (item) => {
140
+ editor.update(ID13.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin40 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin40, exports_agent2 };
151
+ export { Plugin11, exports_agent };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service60
3
- } from "./repository-9e95qk9h.js";
2
+ Service72
3
+ } from "./tool-output-fqg3000w.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./repository-4vcrnpx2.js";
7
+ } from "./tool-output-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./repository-3v8g72cx.js";
10
+ } from "./tool-output-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-9rqn6x4v.js";
13
+ } from "./tool-output-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input4,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input8,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin22,
22
+ Plugin: () => Plugin43,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description3,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name4
27
+ name: () => name8
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name4 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name8 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input4 = Schema.Struct({
41
+ var Input8 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input4 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input4.fields.format,
51
+ format: Input8.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin22 = {
95
+ var Plugin43 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service60;
99
+ const permission = yield* Service72;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name4,
101
+ name: name8,
102
102
  options: { codemode: false },
103
- description: description3,
104
- input: Input4,
103
+ description: description4,
104
+ input: Input8,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin22 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name4,
112
+ action: name8,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name4, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input4, Plugin22, extractTextFromHTML2, exports_webfetch };
170
+ export { name8, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input8, Plugin43, extractTextFromHTML2, exports_webfetch };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./repository-ym463w8f.js";
3
+ } from "./tool-output-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/perplexity.ts
6
6
  var PerplexityPlugin2 = createProviderPlugin2({
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service80
3
- } from "./repository-mst8n3qf.js";
2
+ Service77
3
+ } from "./tool-output-vvzwb0bn.js";
4
4
  import {
5
- Service60
6
- } from "./repository-9e95qk9h.js";
5
+ Service72
6
+ } from "./tool-output-fqg3000w.js";
7
7
  import {
8
- ID4,
8
+ ID3,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service23
14
- } from "./repository-1bgmqjfz.js";
13
+ Service20
14
+ } from "./tool-output-etykttqy.js";
15
15
  import {
16
16
  __export
17
- } from "./repository-9rqn6x4v.js";
17
+ } from "./tool-output-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch2 = {};
21
21
  __export(exports_websearch2, {
22
- Input: () => Input11,
22
+ Input: () => Input5,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin30,
24
+ Plugin: () => Plugin40,
25
25
  WebSearchTool: () => exports_websearch2,
26
- description: () => description5,
27
- name: () => name11
26
+ description: () => description2,
27
+ name: () => name5
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/unstable/http";
32
- var name11 = "websearch";
32
+ var name5 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description2 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input11 = Schema.Struct({
42
+ var Input5 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID4,
46
+ provider: ID3,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin30 = {
49
+ var Plugin40 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service60;
53
- const forms = yield* Service80;
54
- const websearch = yield* Service23;
52
+ const permission = yield* Service72;
53
+ const forms = yield* Service77;
54
+ const websearch = yield* Service20;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name11,
56
+ name: name5,
57
57
  options: { codemode: false },
58
- description: description5,
59
- input: Input11,
58
+ description: description2,
59
+ input: Input5,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name11,
63
+ action: name5,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name11];
179
+ delete event.tools[name5];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name11, NO_RESULTS2, description5, Input11, Plugin30, exports_websearch2 };
187
+ export { name5, NO_RESULTS2, description2, Input5, Plugin40, exports_websearch2 };