@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,29 +1,29 @@
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
  SessionTable2,
7
7
  SessionMessageTable2
8
- } from "./repository-a1bz86dw.js";
8
+ } from "./tool-output-a1bz86dw.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
11
  load5
12
- } from "./repository-z39st4x2.js";
12
+ } from "./tool-output-7wdyxh4v.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./repository-b09hzw3k.js";
15
+ } from "./tool-output-ggwd74jc.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-9rqn6x4v.js";
18
+ } from "./tool-output-9rqn6x4v.js";
19
19
 
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput5,
24
- Service: () => Service62,
23
+ ListInput: () => ListInput4,
24
+ Service: () => Service73,
25
25
  SessionStore: () => exports_store,
26
- node: () => node65
26
+ node: () => node76
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service62 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service73 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service62, Effect.gen(function* () {
58
- const { db } = yield* Service82;
59
- return Service62.of({
57
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
58
+ const { db } = yield* Service83;
59
+ return Service73.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
125
125
  })
126
126
  });
127
127
  }));
128
- var node65 = makeGlobalNode({ service: Service62, layer, deps: [node86] });
128
+ var node76 = makeGlobalNode({ service: Service73, layer, deps: [node87] });
129
129
 
130
- export { ListInput5, Service62, node65, exports_store };
130
+ export { ListInput4, Service73, node76, exports_store };
@@ -1,45 +1,45 @@
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
  latestSequence2,
7
7
  Service81,
8
- node85
9
- } from "./repository-qeg0a57n.js";
8
+ node84
9
+ } from "./tool-output-qamdyatg.js";
10
10
  import {
11
11
  llmClient2
12
- } from "./repository-5t3nmthw.js";
12
+ } from "./tool-output-5t3nmthw.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./repository-ec1grn59.js";
15
+ } from "./tool-output-ec1grn59.js";
16
16
  import {
17
17
  firstUserMessage2
18
- } from "./repository-z39st4x2.js";
18
+ } from "./tool-output-7wdyxh4v.js";
19
19
  import {
20
- Service62,
21
- node65
22
- } from "./repository-76sy9xf8.js";
20
+ Service73,
21
+ node76
22
+ } from "./tool-output-nmpm9ry4.js";
23
23
  import {
24
- Service30,
25
- node34
26
- } from "./repository-7z2ktkw9.js";
24
+ Service26,
25
+ node29
26
+ } from "./tool-output-4e105jgy.js";
27
27
  import {
28
28
  record2,
29
29
  add2
30
- } from "./repository-tdstcens.js";
30
+ } from "./tool-output-tdstcens.js";
31
31
  import {
32
32
  __export
33
- } from "./repository-9rqn6x4v.js";
33
+ } from "./tool-output-9rqn6x4v.js";
34
34
 
35
35
  // src/session/title.ts
36
36
  var exports_title = {};
37
37
  __export(exports_title, {
38
- Service: () => Service8,
38
+ Service: () => Service6,
39
39
  SessionTitle: () => exports_title,
40
40
  isUntitled: () => isUntitled2,
41
41
  layer: () => layer6,
42
- node: () => node10
42
+ node: () => node8
43
43
  });
44
44
  import { isDeepStrictEqual } from "node:util";
45
45
  import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
@@ -51,19 +51,19 @@ var MAX_CONTEXT_LENGTH = 8000;
51
51
  var MAX_FIRST_MESSAGE_LENGTH = 2000;
52
52
  var titleChanged = Symbol("Session title changed");
53
53
 
54
- class Service8 extends Context.Service()("@opencode/SessionTitle") {
54
+ class Service6 extends Context.Service()("@opencode/SessionTitle") {
55
55
  }
56
56
  var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
57
57
  var isUntitled2 = (session) => isExactRootFallback({
58
58
  title: session.title,
59
59
  time: { created: DateTime.toEpochMillis(session.time.created) }
60
60
  });
61
- var layer6 = Layer.effect(Service8, Effect.gen(function* () {
61
+ var layer6 = Layer.effect(Service6, Effect.gen(function* () {
62
62
  const bus = yield* Service81;
63
63
  const llm = yield* LLMClient.Service;
64
- const context = yield* Service30;
65
- const store = yield* Service62;
66
- const db = (yield* Service82).db;
64
+ const context = yield* Service26;
65
+ const store = yield* Service73;
66
+ const db = (yield* Service83).db;
67
67
  const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
68
68
  const chunks = [];
69
69
  let failed = false;
@@ -145,12 +145,12 @@ Recent conversation:
145
145
  title: truncate(title)
146
146
  }, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
147
147
  });
148
- return Service8.of({ generate });
148
+ return Service6.of({ generate });
149
149
  }));
150
- var node10 = makeLocationNode({
151
- service: Service8,
150
+ var node8 = makeLocationNode({
151
+ service: Service6,
152
152
  layer: layer6,
153
- deps: [node85, llmClient2, node34, node65, node86]
153
+ deps: [node84, llmClient2, node29, node76, node87]
154
154
  });
155
155
 
156
- export { Service8, isUntitled2, layer6, node10, exports_title };
156
+ export { Service6, isUntitled2, layer6, node8, exports_title };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  useragent2
3
- } from "./repository-n7349v29.js";
3
+ } from "./tool-output-kq8anxe4.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/tavily.ts
9
9
  var exports_tavily = {};
10
10
  __export(exports_tavily, {
11
- Plugin: () => Plugin32,
11
+ Plugin: () => Plugin6,
12
12
  WebSearchTavily: () => exports_tavily,
13
- endpoint: () => endpoint2
13
+ endpoint: () => endpoint5
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
18
- var endpoint2 = "https://api.tavily.com/search";
18
+ var endpoint5 = "https://api.tavily.com/search";
19
19
  var SearchRequest = Schema.Struct({
20
20
  query: Schema.String,
21
21
  search_depth: Schema.Literal("basic"),
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
29
29
  content: Schema.String
30
30
  }))
31
31
  });
32
- var Plugin32 = define({
32
+ var Plugin6 = define({
33
33
  id: "opencode.websearch.tavily",
34
34
  effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
35
35
  const http = yield* HttpClient.HttpClient;
@@ -51,7 +51,7 @@ var Plugin32 = define({
51
51
  execute: (input) => Effect.gen(function* () {
52
52
  const connection = yield* ctx.integration.connection.active("tavily");
53
53
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
54
- const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
54
+ const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
55
55
  "User-Agent": useragent2(ctx.app),
56
56
  "X-Client-Name": "opencode2",
57
57
  ...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
@@ -77,4 +77,4 @@ var Plugin32 = define({
77
77
  })
78
78
  });
79
79
 
80
- export { endpoint2, Plugin32, exports_tavily };
80
+ export { endpoint5, Plugin6, exports_tavily };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./repository-922hggd3.js";
5
+ } from "./tool-output-922hggd3.js";
6
6
  import {
7
- Service67,
8
- node70
9
- } from "./repository-3r3w1wnb.js";
7
+ Service54,
8
+ node57
9
+ } from "./tool-output-6mt29rwn.js";
10
10
  import {
11
11
  Content2
12
- } from "./repository-6zh7xxe6.js";
12
+ } from "./tool-output-qfqsp29t.js";
13
13
  import {
14
14
  detect2
15
- } from "./repository-3smtnn6g.js";
15
+ } from "./tool-output-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./repository-9rqn6x4v.js";
18
+ } from "./tool-output-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service3,
36
+ Service: () => Service10,
37
37
  TextPage: () => TextPage2,
38
- node: () => node4,
38
+ node: () => node12,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service3 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service10 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service3, Effect.gen(function* () {
330
- const environment = yield* Service67;
331
- return Service3.of({
329
+ var layer = Layer.effect(Service10, Effect.gen(function* () {
330
+ const environment = yield* Service54;
331
+ return Service10.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node4 = makeLocationNode({ service: Service3, layer, deps: [node70] });
336
+ var node12 = makeLocationNode({ service: Service10, layer, deps: [node57] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service3, read2, node4, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service10, read2, node12, exports_read_filesystem };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./repository-xznas7s2.js";
3
+ } from "./tool-output-x7bv5qy9.js";
4
4
  import {
5
- ID13,
5
+ ID9,
6
6
  MethodID2
7
- } from "./repository-m4wm6chx.js";
7
+ } from "./tool-output-q8epdb8w.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./repository-pjvnvgmy.js";
11
+ } from "./tool-output-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
17
- var integrationID = ID13.make("poe");
17
+ var integrationID = ID9.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service6,
9
+ Service: () => Service4,
10
10
  bound: () => bound2,
11
- node: () => node7
11
+ node: () => node5
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service6 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service4 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node7 = makeLocationNode({
19
- service: Service6,
18
+ var node5 = makeLocationNode({
19
+ service: Service4,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
29
+ return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service6, node7, bound2, exports_instance2 };
32
+ export { Service4, node5, bound2, exports_instance2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./repository-922hggd3.js";
3
+ } from "./tool-output-922hggd3.js";
4
4
  import {
5
- Info17
6
- } from "./repository-jw80jp6b.js";
5
+ Info15
6
+ } from "./tool-output-magykp64.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-9rqn6x4v.js";
9
+ } from "./tool-output-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent3 = {};
13
13
  __export(exports_agent3, {
14
14
  ConfigAgentV1: () => exports_agent3,
15
- Info: () => Info15
15
+ Info: () => Info14
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info17)
47
+ permission: Schema.optional(Info15)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info14 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info15, exports_agent3 };
74
+ export { Info14, exports_agent3 };
@@ -1,47 +1,47 @@
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
- Service33,
7
- node37
8
- } from "./repository-wcjfyzwp.js";
6
+ Service37,
7
+ node40
8
+ } from "./tool-output-wp04yf6p.js";
9
9
  import {
10
- Service60,
11
- node63
12
- } from "./repository-9e95qk9h.js";
10
+ Service72,
11
+ node75
12
+ } from "./tool-output-fqg3000w.js";
13
13
  import {
14
- Service43,
15
- node47
16
- } from "./repository-k6s7pzm2.js";
14
+ Service45,
15
+ node49
16
+ } from "./tool-output-krqv6p8z.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-9rqn6x4v.js";
19
+ } from "./tool-output-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service32,
26
- layer: () => layer12,
27
- name: () => name13,
25
+ Service: () => Service36,
26
+ layer: () => layer15,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node36
29
+ node: () => node39
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service32 extends Context.Service()("@opencode/McpTool") {
38
+ class Service36 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer12 = Layer.effect(Service32, Effect.gen(function* () {
41
- const mcp = yield* Service33;
42
- const tools = yield* Service43;
40
+ var layer15 = Layer.effect(Service36, Effect.gen(function* () {
41
+ const mcp = yield* Service37;
42
+ const tools = yield* Service45;
43
43
  const bus = yield* Service81;
44
- const permission = yield* Service60;
44
+ const permission = yield* Service72;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service36.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node36 = makeLocationNode({
124
- service: Service32,
125
- layer: layer12,
126
- deps: [node47, node37, node85, node63]
123
+ var node39 = makeLocationNode({
124
+ service: Service36,
125
+ layer: layer15,
126
+ deps: [node49, node40, node84, node75]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service32, layer12, node36, exports_mcp3 };
129
+ export { namespace2, name14, Service36, layer15, node39, exports_mcp3 };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service76,
3
- node79
4
- } from "./repository-9c3z8b76.js";
2
+ Service78,
3
+ node81
4
+ } from "./tool-output-8vmcfqt4.js";
5
5
  import {
6
6
  create3
7
- } from "./repository-rdw6cm16.js";
7
+ } from "./tool-output-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-9rqn6x4v.js";
10
+ } from "./tool-output-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service14,
17
- node: () => node16
16
+ Service: () => Service22,
17
+ node: () => node25
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service14 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service22 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service14, Effect.gen(function* () {
27
- const location = yield* Service76;
26
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
27
+ const location = yield* Service78;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service14.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service22.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node16 = makeLocationNode({
91
- service: Service14,
90
+ var node25 = makeLocationNode({
91
+ service: Service22,
92
92
  layer,
93
- deps: [node79, AppProcess.node]
93
+ deps: [node81, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service14, node16, exports_formatter2 };
96
+ export { Service22, node25, exports_formatter2 };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-9rqn6x4v.js";
3
+ } from "./tool-output-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin37,
9
+ Plugin: () => Plugin12,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin37 = define({
25
+ var Plugin12 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin37 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin37, exports_identity };
38
+ export { identity2, Plugin12, exports_identity };
@@ -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/workspace/driver.ts
6
6
  var exports_driver = {};
@@ -11,7 +11,7 @@ __export(exports_driver, {
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
13
  make: () => make21,
14
- node: () => node83,
14
+ node: () => node86,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node83 = registryNode2({});
47
+ var node86 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node83, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node86, exports_driver };
@@ -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/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./repository-qfa1cgps.js";
3
+ } from "./tool-output-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";