@opencode/core 0.0.0-dev-20376 → 0.0.0-dev-20377

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 (797) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{websearch-frq7pvnm.js → repository-04atd798.js} +4 -4
  8. package/dist/chunks/{websearch-qr48efmz.js → repository-0a237mzv.js} +12 -12
  9. package/dist/chunks/{websearch-q6mczvda.js → repository-0bmz8k31.js} +26 -26
  10. package/dist/chunks/{websearch-2d3qwdh6.js → repository-0jnnt1bs.js} +20 -20
  11. package/dist/chunks/{websearch-dtce9ng4.js → repository-0k9hz50x.js} +17 -17
  12. package/dist/chunks/{websearch-vjkpbawe.js → repository-0magjvjs.js} +17 -17
  13. package/dist/chunks/{websearch-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{websearch-vncycja5.js → repository-0v53mg2y.js} +4 -4
  15. package/dist/chunks/{websearch-97xdfj3z.js → repository-0xgfsmsc.js} +4 -4
  16. package/dist/chunks/{websearch-t6hb3mwm.js → repository-0zh0x4h1.js} +20 -20
  17. package/dist/chunks/{websearch-2wmr47zm.js → repository-0ztvbm79.js} +29 -29
  18. package/dist/chunks/{websearch-sgrm6qbb.js → repository-10w0r48r.js} +3 -3
  19. package/dist/chunks/{websearch-r631beyv.js → repository-14v0t5se.js} +71 -71
  20. package/dist/chunks/{websearch-bns34n6t.js → repository-1dak9s0j.js} +26 -26
  21. package/dist/chunks/{websearch-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{websearch-2k0wj1rn.js → repository-1n9hcfy3.js} +18 -18
  23. package/dist/chunks/{websearch-21r38tys.js → repository-21r38tys.js} +1 -1
  24. package/dist/chunks/{websearch-2yewycp0.js → repository-21y796mf.js} +15 -15
  25. package/dist/chunks/{websearch-pkb3ghx6.js → repository-23tvs9mh.js} +25 -25
  26. package/dist/chunks/{websearch-8aaqm6qj.js → repository-25cs5cen.js} +8 -8
  27. package/dist/chunks/{websearch-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{websearch-57ez7d0k.js → repository-2fgn2we9.js} +9 -9
  29. package/dist/chunks/{websearch-keqpv86m.js → repository-2hkadfk1.js} +20 -20
  30. package/dist/chunks/{websearch-pwgvkz82.js → repository-2j74qy9w.js} +4 -4
  31. package/dist/chunks/{websearch-7dqw4kz8.js → repository-2k8khapm.js} +5 -5
  32. package/dist/chunks/{websearch-q2df8wfr.js → repository-2rahks1y.js} +32 -32
  33. package/dist/chunks/{websearch-qrt4amjc.js → repository-3373zw91.js} +11 -11
  34. package/dist/chunks/{websearch-fxjg84zj.js → repository-36mnffrz.js} +4 -4
  35. package/dist/chunks/{websearch-tbmac1c7.js → repository-3ewed21c.js} +4 -4
  36. package/dist/chunks/{websearch-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{websearch-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{websearch-0hpe1ejf.js → repository-3kjwbdcf.js} +8 -8
  39. package/dist/chunks/{websearch-xmd91vvj.js → repository-3sfbkq17.js} +7 -7
  40. package/dist/chunks/{websearch-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  41. package/dist/chunks/repository-3snht0cr.js +252 -0
  42. package/dist/chunks/{websearch-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{websearch-5930ym18.js → repository-3xcbwh8b.js} +3 -3
  44. package/dist/chunks/{websearch-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{websearch-0686hvdh.js → repository-40v6kns3.js} +6 -6
  46. package/dist/chunks/{websearch-sgqd4326.js → repository-436fakxd.js} +44 -44
  47. package/dist/chunks/{websearch-8d0p2m37.js → repository-45g6rp4p.js} +8 -8
  48. package/dist/chunks/{websearch-gsm4wa7c.js → repository-4f06rze2.js} +11 -11
  49. package/dist/chunks/{websearch-n3hrb858.js → repository-4hzcvfa9.js} +10 -10
  50. package/dist/chunks/{websearch-vqch1bvm.js → repository-4pq2ykhk.js} +10 -10
  51. package/dist/chunks/{websearch-vjpyx0rz.js → repository-4xvg8qhq.js} +78 -78
  52. package/dist/chunks/{websearch-51f5btjf.js → repository-51f5btjf.js} +1 -1
  53. package/dist/chunks/{websearch-r94pvvab.js → repository-54ma36ye.js} +4 -4
  54. package/dist/chunks/{websearch-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
  55. package/dist/chunks/{websearch-5daktx2q.js → repository-5daktx2q.js} +1 -1
  56. package/dist/chunks/{websearch-gbfr1xpe.js → repository-5jr1zcyz.js} +37 -37
  57. package/dist/chunks/{websearch-xfewvta7.js → repository-5nm3sjh9.js} +11 -11
  58. package/dist/chunks/{websearch-h7m62bs4.js → repository-5qedxm44.js} +7 -7
  59. package/dist/chunks/{websearch-hkzm6gsg.js → repository-5rf1rhax.js} +21 -21
  60. package/dist/chunks/{websearch-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{websearch-fehfn2fk.js → repository-5txyz6kk.js} +7 -7
  62. package/dist/chunks/{websearch-evadcerx.js → repository-60ycj86c.js} +24 -24
  63. package/dist/chunks/{websearch-5bqgp2yr.js → repository-61d2erc5.js} +23 -23
  64. package/dist/chunks/{websearch-y3wgyeex.js → repository-667yebj2.js} +46 -46
  65. package/dist/chunks/{websearch-669tq793.js → repository-669tq793.js} +1 -1
  66. package/dist/chunks/{websearch-6hxsqshp.js → repository-6b8mt4qe.js} +18 -18
  67. package/dist/chunks/{websearch-v3vrcc1n.js → repository-6d58n71n.js} +13 -13
  68. package/dist/chunks/{websearch-8fvwg6tm.js → repository-6evwh1wj.js} +11 -11
  69. package/dist/chunks/{websearch-yhd8gra5.js → repository-6gb6ah6k.js} +1 -1
  70. package/dist/chunks/{websearch-5wd01vfq.js → repository-6mksg9xh.js} +22 -22
  71. package/dist/chunks/{websearch-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{websearch-6pc27hjz.js → repository-6pc27hjz.js} +2 -2
  73. package/dist/chunks/{websearch-96epns3z.js → repository-6t45mx4g.js} +15 -15
  74. package/dist/chunks/{websearch-1bbkgx8g.js → repository-73tb2d7t.js} +3 -3
  75. package/dist/chunks/{websearch-vr8db9cx.js → repository-74m68t1r.js} +17 -17
  76. package/dist/chunks/{websearch-1nwbcgkz.js → repository-7545v071.js} +5 -5
  77. package/dist/chunks/{websearch-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{websearch-vd7rzxqf.js → repository-7pr2hkwv.js} +5 -5
  79. package/dist/chunks/{websearch-y1hb4gd0.js → repository-7wv6t35z.js} +11 -11
  80. package/dist/chunks/{websearch-61qee1wg.js → repository-7ys5ezf5.js} +17 -17
  81. package/dist/chunks/{websearch-c2kkxaw7.js → repository-7zrv9dtw.js} +32 -32
  82. package/dist/chunks/{websearch-rxbqg574.js → repository-81ye6pg3.js} +22 -22
  83. package/dist/chunks/{websearch-2dt33739.js → repository-82gfdtdv.js} +14 -14
  84. package/dist/chunks/{websearch-x2aynqqh.js → repository-82rhge12.js} +9 -9
  85. package/dist/chunks/{websearch-0cr0d0zp.js → repository-84npfg6g.js} +16 -16
  86. package/dist/chunks/{websearch-w1eejvng.js → repository-84txncab.js} +5 -5
  87. package/dist/chunks/{websearch-qagkqpcw.js → repository-86m00gc1.js} +8 -8
  88. package/dist/chunks/{websearch-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{websearch-n5vnxzpd.js → repository-8e7h0d3g.js} +1 -1
  90. package/dist/chunks/{websearch-9dkc8ryr.js → repository-8h613fcm.js} +22 -22
  91. package/dist/chunks/{websearch-p1dcr46p.js → repository-8nbxw31j.js} +9 -9
  92. package/dist/chunks/{websearch-6cd6tdvt.js → repository-92k45pvj.js} +6 -6
  93. package/dist/chunks/{websearch-94ek1h2f.js → repository-94ek1h2f.js} +2 -2
  94. package/dist/chunks/{websearch-c5kn5gnh.js → repository-9cr16z8x.js} +11 -11
  95. package/dist/chunks/{websearch-05f7yy3w.js → repository-9qrdrmps.js} +27 -27
  96. package/dist/chunks/{websearch-hekxc47r.js → repository-a4ae1mqs.js} +1 -1
  97. package/dist/chunks/{websearch-d0arqfyn.js → repository-a6azfam0.js} +2 -2
  98. package/dist/chunks/{websearch-aaet6srn.js → repository-aaet6srn.js} +2 -2
  99. package/dist/chunks/{websearch-zwmnfc54.js → repository-ah4v29zr.js} +23 -23
  100. package/dist/chunks/{websearch-2d1e4kmr.js → repository-ahjyxdwj.js} +13 -13
  101. package/dist/chunks/{websearch-jca4demv.js → repository-ak8wweg5.js} +2 -2
  102. package/dist/chunks/{websearch-ez5ddhv1.js → repository-apg4ryxk.js} +7 -7
  103. package/dist/chunks/{websearch-wzz0kxab.js → repository-awaee7qt.js} +9 -9
  104. package/dist/chunks/{websearch-0g1d8rzs.js → repository-b0v5ywzm.js} +9 -9
  105. package/dist/chunks/{websearch-edrmdtr5.js → repository-b27vhd2z.js} +7 -7
  106. package/dist/chunks/{websearch-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{websearch-ws7ptmes.js → repository-b7n1errk.js} +308 -308
  108. package/dist/chunks/{websearch-yxyz6e19.js → repository-b7sdn3j2.js} +11 -11
  109. package/dist/chunks/{websearch-akrah417.js → repository-b9ek0cs0.js} +9 -9
  110. package/dist/chunks/{websearch-a3asrnpr.js → repository-bay05q8f.js} +26 -26
  111. package/dist/chunks/{websearch-qd23x213.js → repository-bhq0jy72.js} +3 -3
  112. package/dist/chunks/{websearch-5vpvgcp5.js → repository-bk4cztra.js} +6 -6
  113. package/dist/chunks/{websearch-f4hbbfr5.js → repository-bkgg21ch.js} +8 -8
  114. package/dist/chunks/{websearch-980tpvrn.js → repository-bt3gm041.js} +21 -21
  115. package/dist/chunks/{websearch-ca75245c.js → repository-bxcevcrv.js} +13 -13
  116. package/dist/chunks/{websearch-nvrwq4aw.js → repository-bxg2qx57.js} +4 -4
  117. package/dist/chunks/{websearch-by5v678g.js → repository-by5v678g.js} +1 -1
  118. package/dist/chunks/{websearch-n4bgjaqw.js → repository-c87t5eya.js} +32 -32
  119. package/dist/chunks/{websearch-cavr175a.js → repository-cavr175a.js} +1 -1
  120. package/dist/chunks/{websearch-jzama03h.js → repository-cegyq325.js} +5 -5
  121. package/dist/chunks/{websearch-778grbwn.js → repository-cfkxc3zx.js} +14 -14
  122. package/dist/chunks/{websearch-28xjebav.js → repository-ckb64qrr.js} +19 -19
  123. package/dist/chunks/{websearch-ckecvw8r.js → repository-ckecvw8r.js} +2 -2
  124. package/dist/chunks/{websearch-0t0n3s6e.js → repository-csr47hpp.js} +10 -10
  125. package/dist/chunks/{websearch-799qv44x.js → repository-cxnbdzcm.js} +39 -39
  126. package/dist/chunks/{websearch-p6wxjpka.js → repository-d2czbp48.js} +4 -4
  127. package/dist/chunks/{websearch-jdhxar0c.js → repository-d68cj2ze.js} +11 -11
  128. package/dist/chunks/{websearch-fhkr8061.js → repository-d7fh38br.js} +11 -11
  129. package/dist/chunks/{websearch-4d72g925.js → repository-db2txphp.js} +19 -19
  130. package/dist/chunks/{websearch-9qcjx6an.js → repository-ddg1taeb.js} +6 -6
  131. package/dist/chunks/{websearch-9xvq3m7s.js → repository-dj9sq318.js} +5 -5
  132. package/dist/chunks/{websearch-cpneeje0.js → repository-djszqvmq.js} +9 -9
  133. package/dist/chunks/{websearch-mxvxcxwy.js → repository-dnxkq42g.js} +4 -4
  134. package/dist/chunks/{websearch-f2pgg28z.js → repository-dpja8khg.js} +44 -44
  135. package/dist/chunks/{websearch-drwq78ky.js → repository-drwq78ky.js} +1 -1
  136. package/dist/chunks/{websearch-9ebqtw7h.js → repository-dx8av2x7.js} +17 -17
  137. package/dist/chunks/{websearch-kzxys592.js → repository-e0dagena.js} +17 -17
  138. package/dist/chunks/{websearch-ecfe7b91.js → repository-ecfe7b91.js} +2 -2
  139. package/dist/chunks/{websearch-tdamenfq.js → repository-ee7enzjx.js} +3 -3
  140. package/dist/chunks/{websearch-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{websearch-9zv42yjh.js → repository-ef9qytv4.js} +15 -15
  142. package/dist/chunks/{websearch-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{websearch-2gpf5cfx.js → repository-ex6sdzkj.js} +13 -13
  144. package/dist/chunks/{websearch-g5ygsx2x.js → repository-ez9bk2es.js} +10 -10
  145. package/dist/chunks/{websearch-v0hmbm1z.js → repository-f1gpw9yy.js} +8 -8
  146. package/dist/chunks/{websearch-yp2x3t23.js → repository-f2n192rq.js} +4 -4
  147. package/dist/chunks/{websearch-bepwgrwq.js → repository-f346y1sz.js} +7 -7
  148. package/dist/chunks/{websearch-vs0es854.js → repository-f3fd7e69.js} +7 -7
  149. package/dist/chunks/{websearch-x9bqvz0y.js → repository-f58hpvk1.js} +10 -10
  150. package/dist/chunks/{websearch-5vw2fwjd.js → repository-f6ky630e.js} +40 -40
  151. package/dist/chunks/{websearch-b1628sq9.js → repository-f75xppwz.js} +63 -63
  152. package/dist/chunks/{websearch-za9cx4qh.js → repository-fad6j005.js} +6 -6
  153. package/dist/chunks/{websearch-z2vht0hs.js → repository-fbfxcass.js} +17 -17
  154. package/dist/chunks/{websearch-caa83g2j.js → repository-fbjrfmj9.js} +23 -23
  155. package/dist/chunks/{websearch-2c0h5q0f.js → repository-fdw6x2n6.js} +30 -30
  156. package/dist/chunks/{websearch-05b95ysj.js → repository-fkdqjgjc.js} +23 -23
  157. package/dist/chunks/{websearch-960c15r8.js → repository-fmqp2bpe.js} +37 -37
  158. package/dist/chunks/{websearch-q3t37ft6.js → repository-fqka1xvk.js} +3 -3
  159. package/dist/chunks/{websearch-sqmzwr9m.js → repository-fsbk27r1.js} +9 -9
  160. package/dist/chunks/{websearch-qsrbjrjk.js → repository-ftnrf378.js} +15 -15
  161. package/dist/chunks/{websearch-2eegacq4.js → repository-g1sxm558.js} +8 -8
  162. package/dist/chunks/{websearch-t0hgfzs0.js → repository-g5b01x5v.js} +24 -24
  163. package/dist/chunks/{websearch-vc9a6ex1.js → repository-g5zdntwf.js} +8 -8
  164. package/dist/chunks/{websearch-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  165. package/dist/chunks/{websearch-csbx25gw.js → repository-gp17yma0.js} +29 -29
  166. package/dist/chunks/{websearch-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  167. package/dist/chunks/{websearch-k3sjjeke.js → repository-h0j67pyz.js} +10 -10
  168. package/dist/chunks/{websearch-57gyqrsv.js → repository-h57x98jw.js} +9 -9
  169. package/dist/chunks/{websearch-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{websearch-9x77fmbz.js → repository-hnr8f6ws.js} +4 -4
  171. package/dist/chunks/{websearch-z2m27cj8.js → repository-hr7n7dfk.js} +42 -42
  172. package/dist/chunks/{websearch-jr9y5vde.js → repository-hx5mqagm.js} +44 -44
  173. package/dist/chunks/{websearch-ve1mvx6y.js → repository-j0dca7h1.js} +38 -38
  174. package/dist/chunks/{websearch-je90e586.js → repository-j290mkxf.js} +27 -27
  175. package/dist/chunks/{websearch-j56e64zr.js → repository-j56e64zr.js} +1 -1
  176. package/dist/chunks/{websearch-eyz64kwr.js → repository-jj3kxevf.js} +6 -6
  177. package/dist/chunks/{websearch-zqxgksca.js → repository-js2zbbsy.js} +5 -5
  178. package/dist/chunks/{websearch-5q1adabg.js → repository-jw7mqvhb.js} +24 -24
  179. package/dist/chunks/{websearch-nzks3jc8.js → repository-k3c624dm.js} +3 -3
  180. package/dist/chunks/{websearch-w3fb7tfm.js → repository-k6a913mc.js} +3 -3
  181. package/dist/chunks/{websearch-d7t2ts3e.js → repository-k91vaj61.js} +4 -4
  182. package/dist/chunks/{websearch-gnj36zes.js → repository-kc72bagp.js} +5 -5
  183. package/dist/chunks/{websearch-rgz11k33.js → repository-kg3dqxfj.js} +3 -3
  184. package/dist/chunks/{websearch-kbpc8md5.js → repository-kjnxwy2q.js} +14 -14
  185. package/dist/chunks/{websearch-n6b4627x.js → repository-knxfq3yn.js} +13 -13
  186. package/dist/chunks/{websearch-kyrdd354.js → repository-krswtk6s.js} +6 -6
  187. package/dist/chunks/{websearch-nx2jwr9z.js → repository-kxgkk26h.js} +15 -15
  188. package/dist/chunks/{websearch-t9bnvksp.js → repository-kxzsw107.js} +23 -23
  189. package/dist/chunks/{websearch-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  190. package/dist/chunks/{websearch-gvs67340.js → repository-m85aqzgd.js} +39 -39
  191. package/dist/chunks/{websearch-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{websearch-s9e7gx2z.js → repository-mdenj6n2.js} +20 -20
  193. package/dist/chunks/{websearch-86j0da14.js → repository-mm244bga.js} +22 -22
  194. package/dist/chunks/{websearch-zvxr3k7q.js → repository-mmsj8dfy.js} +21 -21
  195. package/dist/chunks/{websearch-tb8yxejg.js → repository-mn05vpar.js} +20 -20
  196. package/dist/chunks/{websearch-0ryd0fps.js → repository-nz569jqt.js} +5 -5
  197. package/dist/chunks/{websearch-kef2z2dq.js → repository-p1pf9hx4.js} +20 -20
  198. package/dist/chunks/{websearch-k0ybdv3m.js → repository-p9qne3wm.js} +57 -57
  199. package/dist/chunks/{websearch-g0445xdp.js → repository-pa8pe2x7.js} +8 -8
  200. package/dist/chunks/{websearch-5xpznt2d.js → repository-pccq72bz.js} +4 -4
  201. package/dist/chunks/{websearch-257anzkt.js → repository-pdbx26ag.js} +10 -10
  202. package/dist/chunks/{websearch-cpy6gm2a.js → repository-pf2hb43r.js} +6 -6
  203. package/dist/chunks/{websearch-fbrw26kw.js → repository-pj8e2ttv.js} +48 -48
  204. package/dist/chunks/{websearch-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{websearch-pknna89w.js → repository-pknna89w.js} +1 -1
  206. package/dist/chunks/{websearch-qzcmc6vm.js → repository-pnpn4wz1.js} +13 -13
  207. package/dist/chunks/{websearch-xk747vep.js → repository-pnv527nz.js} +5 -5
  208. package/dist/chunks/{websearch-wwx8h3qn.js → repository-pptf5a6z.js} +14 -14
  209. package/dist/chunks/{websearch-14ae4cgv.js → repository-q82chg0w.js} +37 -37
  210. package/dist/chunks/{websearch-s81rwkm8.js → repository-qevyghr7.js} +5 -5
  211. package/dist/chunks/{websearch-rxq801p8.js → repository-qf2587vm.js} +27 -27
  212. package/dist/chunks/{websearch-psnys6wj.js → repository-qhj864bm.js} +20 -20
  213. package/dist/chunks/{websearch-qjnxxf51.js → repository-qjnxxf51.js} +2 -2
  214. package/dist/chunks/{websearch-ednp5hmx.js → repository-qm7jrdpz.js} +8 -8
  215. package/dist/chunks/{websearch-qsdy395h.js → repository-qsdy395h.js} +1 -1
  216. package/dist/chunks/{websearch-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  217. package/dist/chunks/{websearch-p0kwpzsn.js → repository-rfstt2b7.js} +10 -10
  218. package/dist/chunks/{websearch-ddmh7828.js → repository-rjkc8qw5.js} +5 -5
  219. package/dist/chunks/{websearch-4n2wcx67.js → repository-rpt1dgh1.js} +14 -14
  220. package/dist/chunks/{websearch-qc9721hg.js → repository-rskbfe93.js} +3 -3
  221. package/dist/chunks/{websearch-ytr3z145.js → repository-rwa9kg8s.js} +12 -12
  222. package/dist/chunks/{websearch-y6kvk90e.js → repository-rzecepek.js} +10 -10
  223. package/dist/chunks/{websearch-17xffpm7.js → repository-s6sgn3gb.js} +12 -12
  224. package/dist/chunks/{websearch-gpk8f5ta.js → repository-s9jd6y68.js} +11 -11
  225. package/dist/chunks/{websearch-edqj2a2f.js → repository-smzj8rfw.js} +26 -26
  226. package/dist/chunks/{websearch-bwc6a6xj.js → repository-sqdvw4xb.js} +6 -6
  227. package/dist/chunks/{websearch-s8d7rejh.js → repository-t550f9t1.js} +4 -4
  228. package/dist/chunks/{websearch-ac0ayam2.js → repository-t5fcdsyj.js} +8 -8
  229. package/dist/chunks/{websearch-6ca315f3.js → repository-t8c99pq6.js} +170 -170
  230. package/dist/chunks/{websearch-hq5z72m5.js → repository-t8cezs0c.js} +5 -5
  231. package/dist/chunks/{websearch-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  232. package/dist/chunks/{websearch-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{websearch-tdstcens.js → repository-tdstcens.js} +1 -1
  234. package/dist/chunks/{websearch-0jeegzsf.js → repository-tea56sn9.js} +32 -32
  235. package/dist/chunks/{websearch-0kzbc53h.js → repository-tgthxese.js} +5 -5
  236. package/dist/chunks/{websearch-zgptpah9.js → repository-tj650tt1.js} +20 -20
  237. package/dist/chunks/{websearch-r92qwnnn.js → repository-tqs9jcf6.js} +20 -20
  238. package/dist/chunks/{websearch-1wa56esf.js → repository-ts1yq6xm.js} +22 -22
  239. package/dist/chunks/{websearch-3wd4dfc7.js → repository-tt62nkee.js} +25 -25
  240. package/dist/chunks/{websearch-1rsa83zn.js → repository-ttqxpwhe.js} +23 -23
  241. package/dist/chunks/{websearch-tvtrv512.js → repository-tvtrv512.js} +1 -1
  242. package/dist/chunks/{websearch-saeg0r1f.js → repository-v8v68fnp.js} +13 -13
  243. package/dist/chunks/{websearch-cv7hbm4e.js → repository-ve0yqpdc.js} +18 -18
  244. package/dist/chunks/{websearch-veqvce7d.js → repository-veqvce7d.js} +1 -1
  245. package/dist/chunks/{websearch-qrt17vy0.js → repository-vjx0011y.js} +17 -17
  246. package/dist/chunks/{websearch-54gghwtf.js → repository-vspmykee.js} +14 -14
  247. package/dist/chunks/{websearch-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{websearch-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{websearch-b4kafrxs.js → repository-vzvmbq7x.js} +36 -36
  250. package/dist/chunks/{websearch-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{websearch-w6zk8pbt.js → repository-w6zk8pbt.js} +1 -1
  252. package/dist/chunks/{websearch-wd3x2cqz.js → repository-wd3x2cqz.js} +2 -2
  253. package/dist/chunks/{websearch-wd87259q.js → repository-wd87259q.js} +1 -1
  254. package/dist/chunks/{websearch-zf8y23pp.js → repository-wgs8hk86.js} +6 -6
  255. package/dist/chunks/{websearch-fntn2hgv.js → repository-wpzgjbhj.js} +33 -33
  256. package/dist/chunks/{websearch-x30t6a71.js → repository-wqbbhmw9.js} +26 -26
  257. package/dist/chunks/{websearch-s47ecn8g.js → repository-ws0hhf19.js} +12 -12
  258. package/dist/chunks/{websearch-gfhhve88.js → repository-wz5tj16h.js} +5 -5
  259. package/dist/chunks/{websearch-xy26ekgv.js → repository-wzvzbcsg.js} +12 -12
  260. package/dist/chunks/{websearch-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{websearch-tyvqcb4v.js → repository-x1fz7ram.js} +15 -15
  262. package/dist/chunks/{websearch-s8e944fn.js → repository-x23wrtd4.js} +16 -16
  263. package/dist/chunks/{websearch-m4x7pwrx.js → repository-x8e3c47v.js} +26 -26
  264. package/dist/chunks/{websearch-s6gqes3c.js → repository-xbnvh8b8.js} +18 -18
  265. package/dist/chunks/{websearch-dmqcgk4z.js → repository-xkntkrq7.js} +5 -5
  266. package/dist/chunks/{websearch-djp7qhxv.js → repository-xkyyaqys.js} +10 -10
  267. package/dist/chunks/{websearch-9kh92b6h.js → repository-xr3n93y1.js} +9 -9
  268. package/dist/chunks/{websearch-wcb8zmgt.js → repository-xts7ca3t.js} +11 -11
  269. package/dist/chunks/{websearch-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{websearch-dq0v80fr.js → repository-y5df08dr.js} +12 -12
  271. package/dist/chunks/{websearch-d0vt178h.js → repository-y5kv6yf7.js} +29 -29
  272. package/dist/chunks/{websearch-pg3d8dpb.js → repository-y5rf7nzv.js} +4 -4
  273. package/dist/chunks/{websearch-y71avatq.js → repository-y71avatq.js} +1 -1
  274. package/dist/chunks/{websearch-nmj1tt6c.js → repository-y9zw62b3.js} +14 -14
  275. package/dist/chunks/{websearch-3gvhhwfh.js → repository-yn23vpp6.js} +15 -15
  276. package/dist/chunks/{websearch-jsxy3kay.js → repository-yqgpt25r.js} +32 -32
  277. package/dist/chunks/{websearch-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{websearch-yrznvahk.js → repository-yrznvahk.js} +2 -2
  279. package/dist/chunks/{websearch-0qchn2ta.js → repository-ys0z6e7b.js} +28 -28
  280. package/dist/chunks/{websearch-hkfg6fzm.js → repository-yt0fqk68.js} +5 -5
  281. package/dist/chunks/{websearch-z07pqspn.js → repository-z07pqspn.js} +3 -3
  282. package/dist/chunks/{websearch-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{websearch-3amp6vpt.js → repository-z0vv805r.js} +35 -35
  284. package/dist/chunks/{websearch-3cf4nv13.js → repository-z2018skw.js} +12 -12
  285. package/dist/chunks/{websearch-z63w68vq.js → repository-z63w68vq.js} +2 -2
  286. package/dist/chunks/{websearch-zcrspsvn.js → repository-zcrspsvn.js} +1 -1
  287. package/dist/chunks/{websearch-htmh1dwe.js → repository-zdqwn290.js} +33 -33
  288. package/dist/chunks/{websearch-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{websearch-v4hbc6tt.js → repository-zg91g03d.js} +36 -36
  290. package/dist/chunks/{websearch-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/{websearch-ckprxe2m.js → repository-zss2mcem.js} +11 -11
  292. package/dist/chunks/{websearch-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +9 -9
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +85 -85
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +124 -124
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +79 -79
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +366 -366
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +94 -94
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +6 -6
  426. package/dist/filesystem/location-watcher.js +228 -228
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +102 -102
  432. package/dist/form.js +86 -86
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +10 -10
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +99 -99
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +1 -1
  460. package/dist/instance.js +359 -359
  461. package/dist/instruction-discovery.js +75 -75
  462. package/dist/instructions/builtins.js +83 -83
  463. package/dist/instructions/index.js +3 -3
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +129 -129
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +103 -103
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +75 -75
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +99 -99
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +102 -102
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +115 -115
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +86 -86
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +1 -1
  545. package/dist/plugin/skill.js +139 -139
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +354 -354
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +84 -84
  551. package/dist/plugin/vcs/hg.js +84 -84
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +2 -2
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +6 -6
  561. package/dist/plugin.js +224 -224
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +90 -90
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +87 -87
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +95 -95
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +3 -3
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +135 -135
  580. package/dist/session/context.js +153 -153
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +216 -216
  586. package/dist/session/execution.js +122 -122
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +86 -86
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +77 -77
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +118 -118
  597. package/dist/session/model-transport.js +7 -7
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +3 -3
  604. package/dist/session/runner/index.js +1 -1
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +126 -126
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +172 -172
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +105 -105
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +215 -215
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +213 -213
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +9 -9
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +4 -4
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +106 -106
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +128 -128
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +118 -118
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +105 -105
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +218 -218
  650. package/dist/tool/plugin/skill.js +113 -113
  651. package/dist/tool/plugin/subagent.js +216 -216
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +120 -120
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +14 -14
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +5 -5
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +7 -7
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +1 -1
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +2 -2
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +1 -1
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +72 -72
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +96 -96
  699. package/package.json +8 -8
  700. package/dist/chunks/websearch-swmbq937.js +0 -252
  701. /package/dist/chunks/{websearch-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{websearch-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{websearch-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{websearch-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{websearch-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{websearch-24dcb14g.js → repository-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{websearch-2710q6r3.js → repository-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{websearch-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{websearch-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{websearch-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
  711. /package/dist/chunks/{websearch-359p4xyc.js → repository-359p4xyc.js} +0 -0
  712. /package/dist/chunks/{websearch-3asan66x.js → repository-3asan66x.js} +0 -0
  713. /package/dist/chunks/{websearch-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  714. /package/dist/chunks/{websearch-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  715. /package/dist/chunks/{websearch-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  716. /package/dist/chunks/{websearch-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  717. /package/dist/chunks/{websearch-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  718. /package/dist/chunks/{websearch-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  719. /package/dist/chunks/{websearch-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  720. /package/dist/chunks/{websearch-53557ph1.js → repository-53557ph1.js} +0 -0
  721. /package/dist/chunks/{websearch-550bvhaj.js → repository-550bvhaj.js} +0 -0
  722. /package/dist/chunks/{websearch-5qd3pb7m.js → repository-5qd3pb7m.js} +0 -0
  723. /package/dist/chunks/{websearch-6prwharc.js → repository-6prwharc.js} +0 -0
  724. /package/dist/chunks/{websearch-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  725. /package/dist/chunks/{websearch-7m9af43g.js → repository-7m9af43g.js} +0 -0
  726. /package/dist/chunks/{websearch-822emrt2.js → repository-822emrt2.js} +0 -0
  727. /package/dist/chunks/{websearch-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  728. /package/dist/chunks/{websearch-8n3pysct.js → repository-8n3pysct.js} +0 -0
  729. /package/dist/chunks/{websearch-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  730. /package/dist/chunks/{websearch-922hggd3.js → repository-922hggd3.js} +0 -0
  731. /package/dist/chunks/{websearch-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  732. /package/dist/chunks/{websearch-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  733. /package/dist/chunks/{websearch-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  734. /package/dist/chunks/{websearch-af5trqkr.js → repository-af5trqkr.js} +0 -0
  735. /package/dist/chunks/{websearch-afrmfg78.js → repository-afrmfg78.js} +0 -0
  736. /package/dist/chunks/{websearch-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  737. /package/dist/chunks/{websearch-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  738. /package/dist/chunks/{websearch-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  739. /package/dist/chunks/{websearch-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  740. /package/dist/chunks/{websearch-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  741. /package/dist/chunks/{websearch-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  742. /package/dist/chunks/{websearch-d9fn303g.js → repository-d9fn303g.js} +0 -0
  743. /package/dist/chunks/{websearch-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  744. /package/dist/chunks/{websearch-dajrwvna.js → repository-dajrwvna.js} +0 -0
  745. /package/dist/chunks/{websearch-dap0rakb.js → repository-dap0rakb.js} +0 -0
  746. /package/dist/chunks/{websearch-df08tz66.js → repository-df08tz66.js} +0 -0
  747. /package/dist/chunks/{websearch-dy18nga0.js → repository-dy18nga0.js} +0 -0
  748. /package/dist/chunks/{websearch-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  749. /package/dist/chunks/{websearch-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  750. /package/dist/chunks/{websearch-ec1grn59.js → repository-ec1grn59.js} +0 -0
  751. /package/dist/chunks/{websearch-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  752. /package/dist/chunks/{websearch-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  753. /package/dist/chunks/{websearch-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  754. /package/dist/chunks/{websearch-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  755. /package/dist/chunks/{websearch-faypxj3z.js → repository-faypxj3z.js} +0 -0
  756. /package/dist/chunks/{websearch-fd410y7t.js → repository-fd410y7t.js} +0 -0
  757. /package/dist/chunks/{websearch-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  758. /package/dist/chunks/{websearch-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  759. /package/dist/chunks/{websearch-g86h250q.js → repository-g86h250q.js} +0 -0
  760. /package/dist/chunks/{websearch-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  761. /package/dist/chunks/{websearch-gftt206x.js → repository-gftt206x.js} +0 -0
  762. /package/dist/chunks/{websearch-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  763. /package/dist/chunks/{websearch-hk9envan.js → repository-hk9envan.js} +0 -0
  764. /package/dist/chunks/{websearch-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  765. /package/dist/chunks/{websearch-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  766. /package/dist/chunks/{websearch-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  767. /package/dist/chunks/{websearch-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  768. /package/dist/chunks/{websearch-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  769. /package/dist/chunks/{websearch-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  770. /package/dist/chunks/{websearch-mp448xyj.js → repository-mp448xyj.js} +0 -0
  771. /package/dist/chunks/{websearch-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  772. /package/dist/chunks/{websearch-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  773. /package/dist/chunks/{websearch-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  774. /package/dist/chunks/{websearch-njntx4h6.js → repository-njntx4h6.js} +0 -0
  775. /package/dist/chunks/{websearch-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  776. /package/dist/chunks/{websearch-q74kybfr.js → repository-q74kybfr.js} +0 -0
  777. /package/dist/chunks/{websearch-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  778. /package/dist/chunks/{websearch-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  779. /package/dist/chunks/{websearch-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  780. /package/dist/chunks/{websearch-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  781. /package/dist/chunks/{websearch-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  782. /package/dist/chunks/{websearch-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  783. /package/dist/chunks/{websearch-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  784. /package/dist/chunks/{websearch-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  785. /package/dist/chunks/{websearch-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  786. /package/dist/chunks/{websearch-w803qqfp.js → repository-w803qqfp.js} +0 -0
  787. /package/dist/chunks/{websearch-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  788. /package/dist/chunks/{websearch-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  789. /package/dist/chunks/{websearch-wtztk69x.js → repository-wtztk69x.js} +0 -0
  790. /package/dist/chunks/{websearch-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  791. /package/dist/chunks/{websearch-x61499pn.js → repository-x61499pn.js} +0 -0
  792. /package/dist/chunks/{websearch-y44na4kk.js → repository-y44na4kk.js} +0 -0
  793. /package/dist/chunks/{websearch-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  794. /package/dist/chunks/{websearch-y8f7s663.js → repository-y8f7s663.js} +0 -0
  795. /package/dist/chunks/{websearch-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  796. /package/dist/chunks/{websearch-ym463w8f.js → repository-ym463w8f.js} +0 -0
  797. /package/dist/chunks/{websearch-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./websearch-frq7pvnm.js";
4
+ } from "./repository-04atd798.js";
5
5
  import {
6
6
  Key4,
7
7
  Service78,
8
8
  node82
9
- } from "./websearch-1wa56esf.js";
9
+ } from "./repository-ts1yq6xm.js";
10
10
  import {
11
11
  create3
12
- } from "./websearch-rdw6cm16.js";
12
+ } from "./repository-rdw6cm16.js";
13
13
  import {
14
14
  key2
15
- } from "./websearch-mxvxcxwy.js";
15
+ } from "./repository-dnxkq42g.js";
16
16
  import {
17
17
  validateAnswer2,
18
18
  validateFields2
19
- } from "./websearch-bns34n6t.js";
19
+ } from "./repository-1dak9s0j.js";
20
20
  import {
21
21
  __export
22
- } from "./websearch-9rqn6x4v.js";
22
+ } from "./repository-9rqn6x4v.js";
23
23
 
24
24
  // src/integration.ts
25
25
  var exports_integration = {};
@@ -34,17 +34,17 @@ __export(exports_integration, {
34
34
  CommandAttemptStatus: () => CommandAttemptStatus2,
35
35
  CommandMethod: () => CommandMethod2,
36
36
  EnvMethod: () => EnvMethod2,
37
- Event: () => Event13,
38
- ID: () => ID7,
39
- Info: () => Info21,
37
+ Event: () => Event18,
38
+ ID: () => ID14,
39
+ Info: () => Info28,
40
40
  Integration: () => exports_integration,
41
41
  KeyMethod: () => KeyMethod2,
42
42
  Method: () => Method2,
43
43
  MethodID: () => MethodID2,
44
44
  OAuthMethod: () => OAuthMethod2,
45
45
  Ref: () => Ref3,
46
- Service: () => Service60,
47
- node: () => node62
46
+ Service: () => Service77,
47
+ node: () => node81
48
48
  });
49
49
  import { makeLocationNode } from "@opencode/util/effect/app-node";
50
50
  import {
@@ -66,8 +66,8 @@ import {
66
66
  import { Integration } from "@opencode/schema/integration";
67
67
  import { AppProcess } from "@opencode/util/process";
68
68
  import { ChildProcess } from "effect/unstable/process";
69
- import { Event as Event13 } from "@opencode/schema/integration";
70
- var ID7 = Integration.ID;
69
+ import { Event as Event18 } from "@opencode/schema/integration";
70
+ var ID14 = Integration.ID;
71
71
  var MethodID2 = Integration.MethodID;
72
72
  var AttemptID2 = Integration.AttemptID;
73
73
  var OAuthMethod2 = Integration.OAuthMethod;
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
75
75
  var KeyMethod2 = Integration.KeyMethod;
76
76
  var EnvMethod2 = Integration.EnvMethod;
77
77
  var Method2 = Integration.Method;
78
- var Info21 = Integration.Info;
78
+ var Info28 = Integration.Info;
79
79
  var Attempt2 = Integration.Attempt;
80
80
  var AttemptStatus2 = Integration.AttemptStatus;
81
81
  var CommandAttempt2 = Integration.CommandAttempt;
@@ -98,18 +98,18 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
98
98
  }
99
99
 
100
100
  class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
101
- integrationID: ID7,
101
+ integrationID: ID14,
102
102
  attemptID: AttemptID2
103
103
  }) {
104
104
  }
105
105
  var Ref3 = Integration.Ref;
106
106
 
107
- class Service60 extends Context.Service()("@opencode/Integration") {
107
+ class Service77 extends Context.Service()("@opencode/Integration") {
108
108
  }
109
109
  var attemptLifetime = Duration.toMillis(Duration.minutes(10));
110
110
  var terminalRetention = Duration.toMillis(Duration.minutes(1));
111
111
  var scrubInterval = Duration.seconds(30);
112
- var layer = Layer.effect(Service60, Effect.gen(function* () {
112
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
113
113
  const credentials = yield* Service78;
114
114
  const bus = yield* Service83;
115
115
  const processes = yield* AppProcess.Service;
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
207
207
  const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
208
208
  return [...credentials, ...env];
209
209
  };
210
- const project = (entry, connections) => Info21.make({
210
+ const project = (entry, connections) => Info28.make({
211
211
  id: entry.ref.id,
212
212
  name: entry.ref.name,
213
213
  ...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
440
440
  }).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
441
441
  return CommandAttempt2.make({ attemptID, time });
442
442
  });
443
- return Service60.of({
443
+ return Service77.of({
444
444
  transform: state.transform,
445
445
  reload: state.reload,
446
446
  revision: state.revision,
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
599
599
  }
600
600
  });
601
601
  }));
602
- var node62 = makeLocationNode({
603
- service: Service60,
602
+ var node81 = makeLocationNode({
603
+ service: Service77,
604
604
  layer,
605
605
  deps: [node82, node87, AppProcess.node]
606
606
  });
607
607
 
608
- export { ID7, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info21, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service60, node62, exports_integration, Event13 };
608
+ export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info28, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service77, node81, exports_integration, Event18 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
- node86
6
- } from "./websearch-dq0v80fr.js";
5
+ node85
6
+ } from "./repository-y5df08dr.js";
7
7
  import {
8
- Service80,
9
- node84
10
- } from "./websearch-s8e944fn.js";
8
+ Service79,
9
+ node83
10
+ } from "./repository-x23wrtd4.js";
11
11
  import {
12
12
  create3
13
- } from "./websearch-rdw6cm16.js";
13
+ } from "./repository-rdw6cm16.js";
14
14
  import {
15
- make12
16
- } from "./websearch-8d0p2m37.js";
15
+ make21
16
+ } from "./repository-45g6rp4p.js";
17
17
  import {
18
18
  __export
19
- } from "./websearch-9rqn6x4v.js";
19
+ } from "./repository-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service24,
24
+ Service: () => Service69,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node27
26
+ node: () => node73
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service24 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service69 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service24, Effect.gen(function* () {
37
- const location = yield* Service80;
36
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
37
+ const location = yield* Service79;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make12;
39
+ const git = yield* make21;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service24.of({ ...state, directory: location.directory });
58
+ return Service69.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node27 = makeLocationNode({
61
- service: Service24,
60
+ var node73 = makeLocationNode({
61
+ service: Service69,
62
62
  layer,
63
- deps: [node84, Global.node, node86, FSUtil.node]
63
+ deps: [node83, Global.node, node85, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service24, node27, exports_strategies };
66
+ export { Service69, node73, exports_strategies };
@@ -1,43 +1,43 @@
1
1
  import {
2
2
  Service83
3
- } from "./websearch-frq7pvnm.js";
3
+ } from "./repository-04atd798.js";
4
4
  import {
5
- Service68
6
- } from "./websearch-q2df8wfr.js";
5
+ Service52
6
+ } from "./repository-2rahks1y.js";
7
7
  import {
8
- Error3
9
- } from "./websearch-5q1adabg.js";
8
+ Error5
9
+ } from "./repository-jw7mqvhb.js";
10
10
  import {
11
- Service62
12
- } from "./websearch-xy26ekgv.js";
11
+ Service59
12
+ } from "./repository-wzvzbcsg.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./websearch-eyz64kwr.js";
15
+ } from "./repository-jj3kxevf.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./websearch-ec1grn59.js";
18
+ } from "./repository-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./websearch-0kzbc53h.js";
21
+ } from "./repository-tgthxese.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./websearch-tdstcens.js";
24
+ } from "./repository-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./websearch-ecfe7b91.js";
27
+ } from "./repository-ecfe7b91.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./websearch-vd7rzxqf.js";
30
+ } from "./repository-7pr2hkwv.js";
31
31
  import {
32
32
  __export
33
- } from "./websearch-9rqn6x4v.js";
33
+ } from "./repository-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
37
37
  __export(exports_step, {
38
38
  Outcome: () => Outcome2,
39
39
  SessionStep: () => exports_step,
40
- make: () => make9
40
+ make: () => make3
41
41
  });
42
42
  import {
43
43
  AIError,
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
51
51
  var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
- var make9 = Effect.gen(function* () {
54
+ var make3 = Effect.gen(function* () {
55
55
  const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service68;
58
- const toolOutput = yield* Service62;
57
+ const snapshots = yield* Service52;
58
+ const toolOutput = yield* Service59;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make9 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error3({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error5({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
216
216
  return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
217
217
  };
218
218
 
219
- export { Outcome2, make9, exports_step };
219
+ export { Outcome2, make3, exports_step };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  definition2
3
- } from "./websearch-3w5fmr99.js";
3
+ } from "./repository-3w5fmr99.js";
4
4
  import {
5
5
  __export
6
- } from "./websearch-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/tool-input-repair.ts
9
9
  var exports_tool_input_repair = {};
10
10
  __export(exports_tool_input_repair, {
11
- Plugin: () => Plugin44,
11
+ Plugin: () => Plugin46,
12
12
  ToolInputRepairPlugin: () => exports_tool_input_repair
13
13
  });
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Effect, Option, Predicate, Schema } from "effect";
16
16
  var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
17
17
  var maxDepth = 6;
18
- var Plugin44 = define({
18
+ var Plugin46 = define({
19
19
  id: "opencode.tool.input.repair",
20
20
  effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
21
21
  if (event.tool === "execute")
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
120
120
  return compatible ? [repaired] : value;
121
121
  }
122
122
 
123
- export { Plugin44, exports_tool_input_repair };
123
+ export { Plugin46, exports_tool_input_repair };
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./websearch-frq7pvnm.js";
5
+ } from "./repository-04atd798.js";
6
6
  import {
7
- Service70,
8
- node74
9
- } from "./websearch-y6kvk90e.js";
7
+ Service71,
8
+ node75
9
+ } from "./repository-rzecepek.js";
10
10
  import {
11
11
  __export
12
- } from "./websearch-9rqn6x4v.js";
12
+ } from "./repository-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event14,
19
+ Event: () => Event10,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service61,
22
+ Service: () => Service51,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node63,
26
- resolve: () => resolve4
25
+ node: () => node53,
26
+ resolve: () => resolve2
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service61 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service51 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event14 = {
51
+ var Event10 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service61, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service51, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service70;
80
+ const kv = yield* Service71;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event14.Updated, {});
112
+ yield* bus.publish(Event10.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service61.of({
115
+ return Service51.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event14.Updated, {});
128
+ yield* bus.publish(Event10.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event14.Updated, {});
141
+ yield* bus.publish(Event10.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node63 = makeGlobalNode({ service: Service61, layer, deps: [httpClient, node74, node87] });
146
+ var node53 = makeGlobalNode({ service: Service51, layer, deps: [httpClient, node75, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service61, Event14, inspect2, resolve4, node63, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service51, Event10, inspect2, resolve2, node53, exports_wellknown };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./websearch-frq7pvnm.js";
4
+ } from "./repository-04atd798.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./websearch-s8e944fn.js";
6
+ Service79,
7
+ node83
8
+ } from "./repository-x23wrtd4.js";
9
9
  import {
10
- ID14,
11
- Service76,
12
- node80
13
- } from "./websearch-980tpvrn.js";
10
+ ID9,
11
+ Service58,
12
+ node61
13
+ } from "./repository-bt3gm041.js";
14
14
  import {
15
- NotFoundError10
16
- } from "./websearch-eyz64kwr.js";
15
+ NotFoundError9
16
+ } from "./repository-jj3kxevf.js";
17
17
  import {
18
- Service75,
19
- node79
20
- } from "./websearch-778grbwn.js";
18
+ Service56,
19
+ node59
20
+ } from "./repository-cfkxc3zx.js";
21
21
  import {
22
22
  match2
23
- } from "./websearch-y1fvbwt7.js";
23
+ } from "./repository-y1fvbwt7.js";
24
24
  import {
25
- Service74,
26
- node78
27
- } from "./websearch-z2vht0hs.js";
25
+ Service57,
26
+ node60
27
+ } from "./repository-fbfxcass.js";
28
28
  import {
29
- Service77,
30
- node81
31
- } from "./websearch-2eegacq4.js";
29
+ Service67,
30
+ node71
31
+ } from "./repository-g1sxm558.js";
32
32
  import {
33
33
  __export
34
- } from "./websearch-9rqn6x4v.js";
34
+ } from "./repository-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,30 +42,30 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event18,
46
- ID: () => ID12,
47
- NotFoundError: () => NotFoundError9,
45
+ Event: () => Event12,
46
+ ID: () => ID7,
47
+ NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply3,
49
+ Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request3,
51
+ Request: () => Request2,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service73,
55
- Source: () => Source5,
54
+ Service: () => Service55,
55
+ Source: () => Source4,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node77
58
+ node: () => node58
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event18 } from "@opencode/schema/permission";
64
+ import { Event as Event12 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID12 = Permission.ID;
68
- var Source5 = Permission.Source;
67
+ var ID7 = Permission.ID;
68
+ var Source4 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
71
71
  action: Permission.Request.fields.action,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request3 = Permission.Request;
78
- var Reply3 = Permission.Reply;
77
+ var Request2 = Permission.Request;
78
+ var Reply2 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID12.pipe(Schema.optional),
80
+ id: ID7.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID14.pipe(Schema.optional)
82
+ agent: ID9.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID12,
86
- reply: Reply3,
85
+ requestID: ID7,
86
+ reply: Reply2,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID12,
90
+ id: ID7,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID12
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID7
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service73 extends Context.Service()("@opencode/Permission") {
128
+ class Service55 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service73, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service55, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
- const location = yield* Service80;
133
- const agents = yield* Service76;
134
- const sessions = yield* Service75;
135
- const saved = yield* Service74;
136
- const hooks = yield* Service77;
132
+ const location = yield* Service79;
133
+ const agents = yield* Service58;
134
+ const sessions = yield* Service56;
135
+ const saved = yield* Service57;
136
+ const hooks = yield* Service67;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError10({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID12.create(),
189
+ id: input.id ?? ID7.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID12.create(), effect: "deny" };
214
+ return { id: input.id ?? ID7.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError9({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service73.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service55.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node77 = makeLocationNode({
303
- service: Service73,
302
+ var node58 = makeLocationNode({
303
+ service: Service55,
304
304
  layer,
305
- deps: [node87, node84, node80, node79, node78, node81]
305
+ deps: [node87, node83, node61, node59, node60, node71]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID12, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service73, node77, exports_permission2, Rule3, Ruleset2, Event18 };
308
+ export { PermissionEffect, ID7, Source4, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service55, node58, exports_permission2, Rule3, Ruleset2, Event12 };