@opencode/core 0.0.0-dev-19474 → 0.0.0-dev-19483

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{model-resolver-22q0q0f5.js → websearch-01z5yxwd.js} +5 -5
  9. package/dist/chunks/{model-resolver-s61ystkj.js → websearch-057kyg8r.js} +4 -4
  10. package/dist/chunks/{model-resolver-msq0jde0.js → websearch-06dxphr1.js} +4 -4
  11. package/dist/chunks/{model-resolver-ehpz93s6.js → websearch-0e8daqst.js} +4 -4
  12. package/dist/chunks/{model-resolver-3z8scj2k.js → websearch-0ewyyc7b.js} +24 -24
  13. package/dist/chunks/{model-resolver-jypjtz10.js → websearch-0h54jqbs.js} +8 -8
  14. package/dist/chunks/{model-resolver-2k8khapm.js → websearch-0jwsre1p.js} +5 -5
  15. package/dist/chunks/{model-resolver-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{model-resolver-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
  17. package/dist/chunks/{model-resolver-ag0sxk10.js → websearch-0vnyxh58.js} +37 -37
  18. package/dist/chunks/{model-resolver-x2phbg5e.js → websearch-106gw7zm.js} +19 -19
  19. package/dist/chunks/{model-resolver-x0511brf.js → websearch-18e56dsp.js} +4 -4
  20. package/dist/chunks/{model-resolver-80e0yyk8.js → websearch-1awm1f41.js} +12 -12
  21. package/dist/chunks/{model-resolver-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{model-resolver-5qwnehpy.js → websearch-1drfwyv5.js} +29 -29
  23. package/dist/chunks/{model-resolver-14xw559s.js → websearch-1p30vngg.js} +15 -15
  24. package/dist/chunks/{model-resolver-dx1bz9gv.js → websearch-1qqjkbbm.js} +35 -35
  25. package/dist/chunks/{model-resolver-p78yc9pn.js → websearch-1zh4pghf.js} +35 -35
  26. package/dist/chunks/{model-resolver-21r38tys.js → websearch-21r38tys.js} +1 -1
  27. package/dist/chunks/{model-resolver-2402vzrj.js → websearch-2402vzrj.js} +1 -1
  28. package/dist/chunks/{model-resolver-vpq3xcjn.js → websearch-25ajstgf.js} +26 -26
  29. package/dist/chunks/{model-resolver-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{model-resolver-h7ygw6q4.js → websearch-2bt6bea8.js} +9 -9
  31. package/dist/chunks/{model-resolver-2khzfaxq.js → websearch-2e96adxv.js} +6 -6
  32. package/dist/chunks/{model-resolver-gvphacjb.js → websearch-2ehqxkpw.js} +12 -12
  33. package/dist/chunks/{model-resolver-nhg5jbpm.js → websearch-2fcywxny.js} +9 -9
  34. package/dist/chunks/{model-resolver-384xx92k.js → websearch-2m8k3bqq.js} +23 -23
  35. package/dist/chunks/{model-resolver-wxkbw7hj.js → websearch-2ts122me.js} +13 -13
  36. package/dist/chunks/{model-resolver-6mw0j0te.js → websearch-36qa6tx5.js} +27 -27
  37. package/dist/chunks/{model-resolver-9a63yes8.js → websearch-38btsem5.js} +10 -10
  38. package/dist/chunks/{model-resolver-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{model-resolver-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{model-resolver-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{model-resolver-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{model-resolver-61aebzdy.js → websearch-3zd3rmvv.js} +18 -18
  43. package/dist/chunks/{model-resolver-p0pyvfsv.js → websearch-41ken85s.js} +11 -11
  44. package/dist/chunks/{model-resolver-a4exdnt3.js → websearch-43k15f45.js} +4 -4
  45. package/dist/chunks/{model-resolver-v1b2z47c.js → websearch-4ejw2jqq.js} +11 -11
  46. package/dist/chunks/{model-resolver-938kn445.js → websearch-4ve9z8c1.js} +14 -14
  47. package/dist/chunks/{model-resolver-kxtas730.js → websearch-4wcq7dqs.js} +11 -11
  48. package/dist/chunks/{model-resolver-hpbp79y9.js → websearch-4wrhrxm7.js} +11 -11
  49. package/dist/chunks/{model-resolver-devrjb14.js → websearch-4xxmr89x.js} +20 -20
  50. package/dist/chunks/{model-resolver-4y66k410.js → websearch-4y66k410.js} +2 -2
  51. package/dist/chunks/{model-resolver-r57he8ke.js → websearch-53705tx4.js} +43 -43
  52. package/dist/chunks/{model-resolver-sddf70q5.js → websearch-550p2257.js} +34 -34
  53. package/dist/chunks/{model-resolver-a1bjq33w.js → websearch-553wj9b8.js} +4 -4
  54. package/dist/chunks/{model-resolver-1ygqh575.js → websearch-56gdpj1q.js} +9 -9
  55. package/dist/chunks/{model-resolver-5daktx2q.js → websearch-5daktx2q.js} +1 -1
  56. package/dist/chunks/{model-resolver-rm2yqhr0.js → websearch-5drs3kxz.js} +15 -15
  57. package/dist/chunks/{model-resolver-xe7kt75t.js → websearch-5h6cs5y5.js} +13 -13
  58. package/dist/chunks/{model-resolver-3n92rxfz.js → websearch-5n168jes.js} +14 -14
  59. package/dist/chunks/{model-resolver-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{model-resolver-mg5d68k4.js → websearch-5z2m8pyj.js} +25 -25
  61. package/dist/chunks/{model-resolver-669tq793.js → websearch-669tq793.js} +1 -1
  62. package/dist/chunks/{model-resolver-020dgfr3.js → websearch-6azrrpy8.js} +8 -8
  63. package/dist/chunks/{model-resolver-9gcqzv5v.js → websearch-6ba91h8c.js} +79 -79
  64. package/dist/chunks/{model-resolver-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
  65. package/dist/chunks/websearch-6w60nb5g.js +462 -0
  66. package/dist/chunks/{model-resolver-71q4at8m.js → websearch-71q4at8m.js} +1 -1
  67. package/dist/chunks/{model-resolver-7b15y959.js → websearch-7b15y959.js} +1 -1
  68. package/dist/chunks/{model-resolver-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{model-resolver-n2dd2pyx.js → websearch-7cedjrs4.js} +9 -9
  70. package/dist/chunks/{model-resolver-efmhwa42.js → websearch-7jv6pypr.js} +12 -12
  71. package/dist/chunks/{model-resolver-fzg3jfb5.js → websearch-7s1ycvxr.js} +30 -30
  72. package/dist/chunks/{model-resolver-k6yq57aq.js → websearch-7w99qc9d.js} +2 -2
  73. package/dist/chunks/{model-resolver-73tb2d7t.js → websearch-7yh4e7ss.js} +3 -3
  74. package/dist/chunks/{model-resolver-yq8ea3vq.js → websearch-836wjbr2.js} +13 -13
  75. package/dist/chunks/{model-resolver-wwg77xe7.js → websearch-84xsc2j4.js} +15 -15
  76. package/dist/chunks/{model-resolver-bj57yt8b.js → websearch-86eyv63b.js} +10 -10
  77. package/dist/chunks/{model-resolver-tdaw2k4j.js → websearch-87v2xzqa.js} +1 -1
  78. package/dist/chunks/{model-resolver-tcezcvh9.js → websearch-89znhe33.js} +4 -4
  79. package/dist/chunks/{model-resolver-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{model-resolver-dsdk9taj.js → websearch-8jvzjvtx.js} +2 -2
  81. package/dist/chunks/{model-resolver-ge043nsr.js → websearch-8mwczstk.js} +8 -8
  82. package/dist/chunks/{model-resolver-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
  83. package/dist/chunks/{model-resolver-xyxvhn55.js → websearch-8vgxngcq.js} +8 -8
  84. package/dist/chunks/{model-resolver-zf903971.js → websearch-9536ja0w.js} +24 -24
  85. package/dist/chunks/{model-resolver-jy16bfac.js → websearch-96yt6zt0.js} +1 -1
  86. package/dist/chunks/{model-resolver-jma8tnnp.js → websearch-99580sk5.js} +13 -13
  87. package/dist/chunks/{model-resolver-gxqvm3vh.js → websearch-9aax44nh.js} +15 -15
  88. package/dist/chunks/{model-resolver-5ffz19ez.js → websearch-9c6xrpvf.js} +4 -4
  89. package/dist/chunks/{model-resolver-xsxczyrz.js → websearch-9encvwzm.js} +61 -61
  90. package/dist/chunks/{model-resolver-edbfpfck.js → websearch-9mkyvs4w.js} +6 -6
  91. package/dist/chunks/{model-resolver-2m08xxyc.js → websearch-9q922tde.js} +24 -24
  92. package/dist/chunks/{model-resolver-xf505np6.js → websearch-9s2tak1g.js} +20 -20
  93. package/dist/chunks/{model-resolver-z7kbq8xp.js → websearch-9w319rvq.js} +10 -10
  94. package/dist/chunks/{model-resolver-m25txnps.js → websearch-a1anr5m0.js} +12 -12
  95. package/dist/chunks/{model-resolver-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
  96. package/dist/chunks/{model-resolver-081edkx6.js → websearch-a4q6373d.js} +16 -16
  97. package/dist/chunks/{model-resolver-aaet6srn.js → websearch-aaet6srn.js} +2 -2
  98. package/dist/chunks/{model-resolver-qynmxvpw.js → websearch-abtdxr9t.js} +3 -3
  99. package/dist/chunks/{model-resolver-gph83kaa.js → websearch-adb54h9z.js} +47 -47
  100. package/dist/chunks/{model-resolver-6221mqag.js → websearch-adm0hv5w.js} +41 -41
  101. package/dist/chunks/websearch-ajhpbj2b.js +247 -0
  102. package/dist/chunks/{model-resolver-b1ff9g5c.js → websearch-aqjsmqrn.js} +30 -30
  103. package/dist/chunks/{model-resolver-0mvbtnre.js → websearch-at2bvhe9.js} +20 -20
  104. package/dist/chunks/{model-resolver-hg3kwj6p.js → websearch-avqvzm75.js} +136 -136
  105. package/dist/chunks/{model-resolver-z2njxqb1.js → websearch-az8wpmk5.js} +21 -21
  106. package/dist/chunks/{model-resolver-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
  107. package/dist/chunks/{model-resolver-j83byb14.js → websearch-bct739vz.js} +4 -4
  108. package/dist/chunks/{model-resolver-1cbphejb.js → websearch-bvbz56nf.js} +11 -11
  109. package/dist/chunks/{model-resolver-7zv106jr.js → websearch-c22yrd1g.js} +11 -11
  110. package/dist/chunks/{model-resolver-ttqh24zm.js → websearch-ca7w653e.js} +4 -4
  111. package/dist/chunks/{model-resolver-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
  112. package/dist/chunks/{model-resolver-bajakh74.js → websearch-cq37gk0t.js} +4 -4
  113. package/dist/chunks/{model-resolver-12drz8m0.js → websearch-czg833eg.js} +6 -6
  114. package/dist/chunks/{model-resolver-p33ejz0k.js → websearch-d50f2zf5.js} +1 -1
  115. package/dist/chunks/{model-resolver-869d1136.js → websearch-dc1rab6v.js} +18 -18
  116. package/dist/chunks/{model-resolver-81swgkk7.js → websearch-desf89vc.js} +7 -7
  117. package/dist/chunks/{model-resolver-3cfzdc8e.js → websearch-dj9sq318.js} +5 -5
  118. package/dist/chunks/{model-resolver-6bgtpqqk.js → websearch-dq4j0srv.js} +4 -4
  119. package/dist/chunks/websearch-dw9248gk.js +22 -0
  120. package/dist/chunks/websearch-dxj72tfx.js +18 -0
  121. package/dist/chunks/{model-resolver-jgeage2f.js → websearch-e7dhzmy6.js} +9 -9
  122. package/dist/chunks/{model-resolver-1cjw44t7.js → websearch-e8zvhgb7.js} +33 -33
  123. package/dist/chunks/{model-resolver-j2vpgszb.js → websearch-ek5dpqxb.js} +5 -5
  124. package/dist/chunks/{model-resolver-c1495ybz.js → websearch-ep6z9mt6.js} +8 -8
  125. package/dist/chunks/{model-resolver-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{model-resolver-75mgaf8d.js → websearch-ez2hf904.js} +6 -6
  127. package/dist/chunks/{model-resolver-6s4mdh3z.js → websearch-f13dxr77.js} +26 -26
  128. package/dist/chunks/{model-resolver-5b7494hf.js → websearch-f43ddyem.js} +8 -8
  129. package/dist/chunks/{model-resolver-t9svpfj6.js → websearch-f58e595r.js} +16 -16
  130. package/dist/chunks/{model-resolver-f828m53h.js → websearch-f828m53h.js} +2 -2
  131. package/dist/chunks/{model-resolver-f9bavhm2.js → websearch-f8q7mv7a.js} +1 -1
  132. package/dist/chunks/{model-resolver-hk91r49k.js → websearch-fcywhjc2.js} +11 -11
  133. package/dist/chunks/{model-resolver-qmr73083.js → websearch-fgh0kbhd.js} +1 -1
  134. package/dist/chunks/{model-resolver-bsrard2b.js → websearch-fncgf4tb.js} +18 -18
  135. package/dist/chunks/{model-resolver-7nnj4kk9.js → websearch-frf89m5p.js} +24 -24
  136. package/dist/chunks/{model-resolver-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
  137. package/dist/chunks/{model-resolver-vn159p31.js → websearch-fy3n071p.js} +20 -20
  138. package/dist/chunks/{model-resolver-18cztcj7.js → websearch-fygdb7h7.js} +3 -3
  139. package/dist/chunks/{model-resolver-a4dh9d11.js → websearch-fypyt9ax.js} +27 -27
  140. package/dist/chunks/{model-resolver-kjk16mqf.js → websearch-g2bhzb9e.js} +20 -20
  141. package/dist/chunks/{model-resolver-q54c8873.js → websearch-g9ahqbpr.js} +11 -11
  142. package/dist/chunks/{model-resolver-zr1qynpk.js → websearch-gbks0crs.js} +8 -8
  143. package/dist/chunks/{model-resolver-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{model-resolver-rmm45jmv.js → websearch-gebtr55s.js} +5 -5
  145. package/dist/chunks/{model-resolver-yjptyezs.js → websearch-gg7pg1rj.js} +5 -5
  146. package/dist/chunks/{model-resolver-7ctecs4h.js → websearch-ggfxehqz.js} +11 -11
  147. package/dist/chunks/{model-resolver-nka8pza6.js → websearch-gq38ebmh.js} +6 -6
  148. package/dist/chunks/{model-resolver-h03wrkyp.js → websearch-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{model-resolver-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{model-resolver-gch0jwjg.js → websearch-h6xcakft.js} +11 -11
  151. package/dist/chunks/{model-resolver-m7kk9p21.js → websearch-hd569af0.js} +6 -6
  152. package/dist/chunks/{model-resolver-pykwhchm.js → websearch-hq22f3sc.js} +24 -24
  153. package/dist/chunks/{model-resolver-d7x23225.js → websearch-htyym6ck.js} +34 -34
  154. package/dist/chunks/{model-resolver-qkmgaxj3.js → websearch-hvhqgby5.js} +10 -10
  155. package/dist/chunks/{model-resolver-q11vjga9.js → websearch-j028maxm.js} +7 -7
  156. package/dist/chunks/{model-resolver-7z4t0b39.js → websearch-j4yy9w4e.js} +23 -23
  157. package/dist/chunks/{model-resolver-j56e64zr.js → websearch-j56e64zr.js} +1 -1
  158. package/dist/chunks/{model-resolver-qqdydr84.js → websearch-j6tz9wj2.js} +7 -7
  159. package/dist/chunks/{model-resolver-57vq7pq6.js → websearch-j9y9fcvd.js} +9 -9
  160. package/dist/chunks/{model-resolver-jefma2gq.js → websearch-jefma2gq.js} +3 -3
  161. package/dist/chunks/{model-resolver-cgjzvrd1.js → websearch-jfzav2gc.js} +4 -4
  162. package/dist/chunks/{model-resolver-mr1m7qeg.js → websearch-jhsettgg.js} +40 -40
  163. package/dist/chunks/{model-resolver-e4qvdkf2.js → websearch-jrbyd3we.js} +11 -11
  164. package/dist/chunks/{model-resolver-qeq2as15.js → websearch-jtbqkmrk.js} +10 -10
  165. package/dist/chunks/{model-resolver-ten6cnga.js → websearch-jwe4x1j4.js} +30 -30
  166. package/dist/chunks/{model-resolver-v8ch97zc.js → websearch-k16ay38w.js} +1 -1
  167. package/dist/chunks/{model-resolver-904fgqb1.js → websearch-k308y3cd.js} +24 -24
  168. package/dist/chunks/{model-resolver-rwy4x1xm.js → websearch-k4w51n94.js} +12 -12
  169. package/dist/chunks/{model-resolver-vr6gkzwk.js → websearch-k5tg8ptt.js} +2 -2
  170. package/dist/chunks/{model-resolver-tgdpgsda.js → websearch-kek212n2.js} +18 -18
  171. package/dist/chunks/{model-resolver-kg06axw8.js → websearch-kg06axw8.js} +1 -1
  172. package/dist/chunks/{model-resolver-xhmq8qgk.js → websearch-kpvyk30t.js} +9 -9
  173. package/dist/chunks/{model-resolver-y0n2m4xg.js → websearch-kqd2wwpf.js} +4 -4
  174. package/dist/chunks/{model-resolver-5jtdmvnp.js → websearch-ksz0h0wp.js} +1 -1
  175. package/dist/chunks/{model-resolver-0ft9cg2j.js → websearch-kxpygcw9.js} +4 -4
  176. package/dist/chunks/{model-resolver-2d6j2h4j.js → websearch-m27pyyd3.js} +6 -6
  177. package/dist/chunks/{model-resolver-5eqjzb86.js → websearch-m2n4ambj.js} +21 -21
  178. package/dist/chunks/{model-resolver-h8qwp7cq.js → websearch-m3gqme58.js} +20 -20
  179. package/dist/chunks/{model-resolver-01ydd4ra.js → websearch-m56995h7.js} +18 -18
  180. package/dist/chunks/{model-resolver-py6vs3y2.js → websearch-m5g5cn1a.js} +3 -3
  181. package/dist/chunks/{model-resolver-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  182. package/dist/chunks/{model-resolver-f3ngv102.js → websearch-magykp64.js} +4 -4
  183. package/dist/chunks/{model-resolver-1317bwmc.js → websearch-mdb85k7s.js} +39 -39
  184. package/dist/chunks/{model-resolver-r0kdz9g5.js → websearch-meahntpx.js} +3 -3
  185. package/dist/chunks/{model-resolver-mgx963cj.js → websearch-mgx963cj.js} +1 -1
  186. package/dist/chunks/{model-resolver-8k1nt5tz.js → websearch-mk1f96az.js} +11 -11
  187. package/dist/chunks/{model-resolver-qfqvyrqy.js → websearch-mk8vf581.js} +9 -9
  188. package/dist/chunks/{model-resolver-mkcjrzeh.js → websearch-mkcjrzeh.js} +1 -1
  189. package/dist/chunks/{model-resolver-e1pdz8et.js → websearch-mvj7zzrq.js} +8 -8
  190. package/dist/chunks/{model-resolver-tk010cav.js → websearch-n35w23dd.js} +32 -32
  191. package/dist/chunks/{model-resolver-gvg5cn6x.js → websearch-n40qqmec.js} +18 -18
  192. package/dist/chunks/{model-resolver-kzz8qpg6.js → websearch-n5a16gh2.js} +11 -11
  193. package/dist/chunks/{model-resolver-sv9bpgvh.js → websearch-n76fdqym.js} +5 -5
  194. package/dist/chunks/{model-resolver-ka6sy1db.js → websearch-n89z7bxk.js} +18 -18
  195. package/dist/chunks/{model-resolver-r923tw61.js → websearch-naqparvc.js} +15 -15
  196. package/dist/chunks/{model-resolver-hjt4xg1x.js → websearch-nhy5jxhy.js} +4 -4
  197. package/dist/chunks/{model-resolver-wqc6684y.js → websearch-nng2ktcm.js} +2 -2
  198. package/dist/chunks/{model-resolver-2pttksap.js → websearch-ntgpnhzh.js} +7 -7
  199. package/dist/chunks/{model-resolver-p1wf2k30.js → websearch-p1wf2k30.js} +2 -2
  200. package/dist/chunks/{model-resolver-009h91p9.js → websearch-p369s7er.js} +23 -23
  201. package/dist/chunks/{model-resolver-zmk9zzxp.js → websearch-pe3tsevc.js} +6 -6
  202. package/dist/chunks/{model-resolver-nxhqveyz.js → websearch-pecb0brz.js} +5 -5
  203. package/dist/chunks/{model-resolver-2gx6be01.js → websearch-pesskt16.js} +10 -10
  204. package/dist/chunks/{model-resolver-r7v31dyt.js → websearch-pgm1fsvb.js} +15 -15
  205. package/dist/chunks/{model-resolver-t8hgxyak.js → websearch-pgmmxc65.js} +11 -11
  206. package/dist/chunks/{model-resolver-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{model-resolver-pknna89w.js → websearch-pknna89w.js} +1 -1
  208. package/dist/chunks/{model-resolver-6pythytf.js → websearch-py3b413y.js} +2 -2
  209. package/dist/chunks/{model-resolver-zh4wspwp.js → websearch-q0dvjevw.js} +13 -13
  210. package/dist/chunks/{model-resolver-974632ct.js → websearch-q0nz172n.js} +13 -13
  211. package/dist/chunks/{model-resolver-6hh8tjw2.js → websearch-qa3qhgw8.js} +4 -4
  212. package/dist/chunks/{model-resolver-k80z9tbh.js → websearch-qbdb5rpj.js} +28 -28
  213. package/dist/chunks/{model-resolver-awv0a4ej.js → websearch-qce9we07.js} +15 -15
  214. package/dist/chunks/{model-resolver-raxz102y.js → websearch-qcmf15bf.js} +12 -12
  215. package/dist/chunks/{model-resolver-5ygf5p0f.js → websearch-qfxgvynf.js} +8 -8
  216. package/dist/chunks/{model-resolver-hr92tm7k.js → websearch-qm5hq1wk.js} +9 -9
  217. package/dist/chunks/{model-resolver-36ksw53k.js → websearch-qqvxqkma.js} +16 -16
  218. package/dist/chunks/{model-resolver-6bxcf4ek.js → websearch-qs8fd5yv.js} +37 -37
  219. package/dist/chunks/{model-resolver-qsdy395h.js → websearch-qsdy395h.js} +1 -1
  220. package/dist/chunks/{model-resolver-4jv7e9dq.js → websearch-qsxf26yz.js} +9 -9
  221. package/dist/chunks/{model-resolver-ps9g5bz5.js → websearch-qy2frasb.js} +52 -52
  222. package/dist/chunks/{model-resolver-wh9ejbvr.js → websearch-r2kye7qh.js} +16 -16
  223. package/dist/chunks/{model-resolver-pp153bpn.js → websearch-r6802cbt.js} +21 -21
  224. package/dist/chunks/{model-resolver-31dz7cp4.js → websearch-r9babyk8.js} +1 -1
  225. package/dist/chunks/{model-resolver-r9mregkx.js → websearch-r9mregkx.js} +2 -2
  226. package/dist/chunks/{model-resolver-vr7gxye5.js → websearch-reqevd7p.js} +11 -11
  227. package/dist/chunks/{model-resolver-5stvhfem.js → websearch-rh8145c8.js} +24 -24
  228. package/dist/chunks/{model-resolver-t550f9t1.js → websearch-rhjbct0v.js} +4 -4
  229. package/dist/chunks/{model-resolver-kxzw7ywv.js → websearch-rrshzaw6.js} +5 -5
  230. package/dist/chunks/{model-resolver-j3wpmvzh.js → websearch-rv0djftn.js} +43 -43
  231. package/dist/chunks/{model-resolver-z32mnbb1.js → websearch-rxtwa657.js} +24 -24
  232. package/dist/chunks/{model-resolver-yeq7vpcg.js → websearch-s3c5a9z9.js} +17 -17
  233. package/dist/chunks/{model-resolver-bpjrb39m.js → websearch-saf13jzc.js} +6 -6
  234. package/dist/chunks/{model-resolver-hnyxbczk.js → websearch-sj7r2nre.js} +16 -16
  235. package/dist/chunks/{model-resolver-15ss9vvc.js → websearch-sk718qf1.js} +20 -20
  236. package/dist/chunks/{model-resolver-29bs6vrv.js → websearch-sw4zbbw7.js} +7 -7
  237. package/dist/chunks/{model-resolver-vxspkmm6.js → websearch-szwnxe8b.js} +3 -3
  238. package/dist/chunks/{model-resolver-xb8jw6fx.js → websearch-t0tjpkgm.js} +8 -8
  239. package/dist/chunks/{model-resolver-4yg7xpeb.js → websearch-t7z3zppm.js} +2 -2
  240. package/dist/chunks/{model-resolver-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
  241. package/dist/chunks/{model-resolver-d869rdc4.js → websearch-tbt4776d.js} +21 -21
  242. package/dist/chunks/{model-resolver-zk0mmm3v.js → websearch-tcp3renx.js} +35 -35
  243. package/dist/chunks/{model-resolver-tdstcens.js → websearch-tdstcens.js} +1 -1
  244. package/dist/chunks/{model-resolver-qr27hz8v.js → websearch-tfngb0ww.js} +4 -4
  245. package/dist/chunks/{model-resolver-gv6a8nnw.js → websearch-th5km1p3.js} +5 -5
  246. package/dist/chunks/{model-resolver-vdqjg1m3.js → websearch-trnt4t8c.js} +7 -7
  247. package/dist/chunks/{model-resolver-tvtrv512.js → websearch-tvtrv512.js} +1 -1
  248. package/dist/chunks/{model-resolver-fyjrpq2n.js → websearch-typd6ee7.js} +9 -9
  249. package/dist/chunks/{model-resolver-fnc95cqt.js → websearch-vcpxd4bv.js} +21 -21
  250. package/dist/chunks/{model-resolver-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  251. package/dist/chunks/{model-resolver-nkdjmw8b.js → websearch-vvxf2beg.js} +11 -11
  252. package/dist/chunks/{model-resolver-jjgr0rxr.js → websearch-vxpws250.js} +10 -10
  253. package/dist/chunks/{model-resolver-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{model-resolver-fnhymeek.js → websearch-w04kpkjq.js} +4 -4
  255. package/dist/chunks/{model-resolver-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  256. package/dist/chunks/{model-resolver-wd87259q.js → websearch-wd87259q.js} +1 -1
  257. package/dist/chunks/{model-resolver-e247w57y.js → websearch-whcyep9v.js} +25 -25
  258. package/dist/chunks/{model-resolver-2m5ja96p.js → websearch-wj0j7rwq.js} +6 -6
  259. package/dist/chunks/{model-resolver-7gjbp4rv.js → websearch-wjaxxs0m.js} +20 -20
  260. package/dist/chunks/{model-resolver-5x0jn38e.js → websearch-wnwaph4q.js} +17 -17
  261. package/dist/chunks/{model-resolver-bqszwq89.js → websearch-wpm2rk0p.js} +4 -4
  262. package/dist/chunks/{model-resolver-ter7srct.js → websearch-wvg2fke4.js} +85 -85
  263. package/dist/chunks/{model-resolver-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{model-resolver-5j49wdc0.js → websearch-x3jmp06z.js} +21 -21
  265. package/dist/chunks/{model-resolver-r8hmb8zk.js → websearch-x77tg81k.js} +9 -9
  266. package/dist/chunks/{model-resolver-z36j2jb8.js → websearch-xrye2hw7.js} +24 -24
  267. package/dist/chunks/{model-resolver-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{model-resolver-y71avatq.js → websearch-y71avatq.js} +1 -1
  269. package/dist/chunks/{model-resolver-ewxn3t1h.js → websearch-y8n5tbft.js} +11 -11
  270. package/dist/chunks/{model-resolver-dhjen1r5.js → websearch-yfvrypcb.js} +11 -11
  271. package/dist/chunks/{model-resolver-ef26z15c.js → websearch-yncfs3hz.js} +9 -9
  272. package/dist/chunks/{model-resolver-1acjjqhc.js → websearch-yp2x3t23.js} +4 -4
  273. package/dist/chunks/{model-resolver-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{model-resolver-yrznvahk.js → websearch-yrznvahk.js} +2 -2
  275. package/dist/chunks/{model-resolver-g62st3z5.js → websearch-yvwtzbz5.js} +3 -3
  276. package/dist/chunks/{model-resolver-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{model-resolver-p1gtkzqj.js → websearch-z3a9s106.js} +22 -22
  278. package/dist/chunks/{model-resolver-z63w68vq.js → websearch-z63w68vq.js} +2 -2
  279. package/dist/chunks/{model-resolver-1ah30sey.js → websearch-z69s9t6b.js} +5 -5
  280. package/dist/chunks/{model-resolver-k07nk2cj.js → websearch-z76px7dr.js} +27 -27
  281. package/dist/chunks/{model-resolver-rdp6edmz.js → websearch-z7ygv8dn.js} +18 -18
  282. package/dist/chunks/{model-resolver-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{model-resolver-05xfxpq7.js → websearch-zex37ywk.js} +5 -5
  284. package/dist/chunks/{model-resolver-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{model-resolver-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{model-resolver-crg5gc3d.js → websearch-zyyr8j6k.js} +10 -10
  287. package/dist/chunks/{model-resolver-bb6zzzcx.js → websearch-zz5hkvbq.js} +14 -14
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +2 -2
  291. package/dist/command.js +82 -82
  292. package/dist/config/discovery.js +80 -80
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +19 -19
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +210 -210
  297. package/dist/config/plugin/compaction.js +156 -156
  298. package/dist/config/plugin/entry-observer.js +1 -1
  299. package/dist/config/plugin/formatter.js +118 -118
  300. package/dist/config/plugin/image.js +116 -116
  301. package/dist/config/plugin/instruction.js +84 -84
  302. package/dist/config/plugin/location-watcher.js +116 -116
  303. package/dist/config/plugin/mcp.js +127 -127
  304. package/dist/config/plugin/policy.js +115 -115
  305. package/dist/config/plugin/provider.js +114 -114
  306. package/dist/config/plugin/reference.js +118 -118
  307. package/dist/config/plugin/shell.js +117 -117
  308. package/dist/config/plugin/skill-file.js +98 -98
  309. package/dist/config/plugin/skill.js +137 -137
  310. package/dist/config/plugin/snapshot.js +116 -116
  311. package/dist/config/plugin/source.js +118 -118
  312. package/dist/config/plugin/tool-output.js +118 -118
  313. package/dist/config/plugin/websearch.js +114 -114
  314. package/dist/config/plugin/worktree.js +119 -119
  315. package/dist/config/variable.js +3 -3
  316. package/dist/config/watch.js +1 -1
  317. package/dist/config.js +118 -118
  318. package/dist/credential/sql.js +2 -2
  319. package/dist/credential.js +74 -74
  320. package/dist/database/database.js +65 -65
  321. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  324. package/dist/database/drizzle/index.js +13 -13
  325. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  328. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  330. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  336. package/dist/database/drizzle.js +14 -14
  337. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  338. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  339. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  340. package/dist/database/migration/20260225215848_workspace.js +1 -1
  341. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  342. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  343. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  344. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  345. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  346. package/dist/database/migration/20260323234822_events.js +1 -1
  347. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  348. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  349. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  350. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  351. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  352. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  353. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  354. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  355. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  356. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  357. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  358. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  359. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  360. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  361. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  362. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  363. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  364. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  365. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  366. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  367. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  368. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  369. package/dist/database/migration/20260611035744_credential.js +1 -1
  370. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  371. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  372. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  373. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  374. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  375. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  376. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  377. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  378. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  379. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  380. package/dist/database/migration/20260812213948_worktree.js +1 -1
  381. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  382. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  383. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  384. package/dist/database/migration.gen.js +48 -48
  385. package/dist/database/migration.js +50 -50
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +75 -75
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +89 -89
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +91 -91
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +69 -69
  409. package/dist/file-access.js +100 -100
  410. package/dist/file-mutation.js +90 -90
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +2 -2
  419. package/dist/filesystem/location-watcher.js +217 -217
  420. package/dist/filesystem/protected.js +3 -3
  421. package/dist/filesystem/search.js +100 -100
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +11 -11
  424. package/dist/filesystem.js +103 -103
  425. package/dist/form.js +73 -73
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +85 -85
  428. package/dist/generate.js +94 -94
  429. package/dist/git.js +3 -3
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +354 -354
  454. package/dist/instruction-discovery.js +84 -84
  455. package/dist/instructions/builtins.js +83 -83
  456. package/dist/instructions/index.js +3 -3
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +77 -77
  459. package/dist/job.js +78 -78
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +72 -72
  462. package/dist/location-activity.js +131 -131
  463. package/dist/location-mutation.js +100 -100
  464. package/dist/location-service-map.js +84 -84
  465. package/dist/location-services.js +351 -351
  466. package/dist/location.js +81 -81
  467. package/dist/mcp/client.js +87 -87
  468. package/dist/mcp/index.js +100 -100
  469. package/dist/mcp/instructions.js +123 -123
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +86 -86
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +81 -81
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +77 -77
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +77 -77
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +105 -105
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +87 -87
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +74 -74
  486. package/dist/plugin/agent.js +100 -100
  487. package/dist/plugin/command.js +97 -97
  488. package/dist/plugin/hooks.js +1 -1
  489. package/dist/plugin/host.js +214 -214
  490. package/dist/plugin/instance.js +1 -1
  491. package/dist/plugin/internal.js +325 -325
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +76 -76
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +98 -98
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +119 -119
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +115 -115
  507. package/dist/plugin/provider/digitalocean.js +80 -80
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +81 -81
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +77 -77
  516. package/dist/plugin/provider/lmstudio.js +118 -118
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +80 -80
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +118 -118
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +79 -79
  523. package/dist/plugin/provider/opencode.js +80 -80
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +118 -118
  533. package/dist/plugin/provider/xai.js +78 -78
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +159 -159
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +340 -340
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +83 -83
  544. package/dist/plugin/vcs/hg.js +83 -83
  545. package/dist/plugin/warming.js +113 -113
  546. package/dist/plugin/websearch/exa.js +5 -5
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +6 -6
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +221 -221
  553. package/dist/project/schema.js +6 -6
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +80 -80
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +89 -89
  561. package/dist/reference/instructions.js +85 -85
  562. package/dist/reference.js +85 -85
  563. package/dist/repository-cache.js +77 -77
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +94 -94
  567. package/dist/rpc.js +82 -82
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +130 -130
  571. package/dist/session/context.js +148 -148
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +5 -5
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +217 -217
  576. package/dist/session/execution.js +123 -123
  577. package/dist/session/generate.js +149 -149
  578. package/dist/session/history.js +13 -13
  579. package/dist/session/inbox.js +87 -87
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +78 -78
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +93 -93
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +114 -114
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +127 -127
  589. package/dist/session/projector.js +85 -85
  590. package/dist/session/prompt.js +101 -101
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +86 -86
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +226 -226
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +87 -87
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +111 -111
  600. package/dist/session/runner/step.js +120 -120
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +3 -3
  603. package/dist/session/session.js +170 -170
  604. package/dist/session/shell.js +132 -132
  605. package/dist/session/skill.js +99 -99
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +72 -72
  608. package/dist/session/store.js +84 -84
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +206 -206
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +148 -148
  613. package/dist/session/to-session-error.js +108 -108
  614. package/dist/session/transfer.js +210 -210
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +212 -212
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +11 -11
  621. package/dist/shell.js +134 -134
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +103 -103
  624. package/dist/skill.js +106 -106
  625. package/dist/snapshot.js +87 -87
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +120 -120
  630. package/dist/tool/plugin/edit.js +116 -116
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +121 -121
  633. package/dist/tool/plugin/grep.js +121 -121
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +118 -118
  636. package/dist/tool/plugin/question.js +97 -97
  637. package/dist/tool/plugin/read.js +122 -122
  638. package/dist/tool/plugin/shell.js +211 -211
  639. package/dist/tool/plugin/skill.js +109 -109
  640. package/dist/tool/plugin/subagent.js +215 -215
  641. package/dist/tool/plugin/webfetch.js +108 -108
  642. package/dist/tool/plugin/websearch.js +108 -108
  643. package/dist/tool/plugin/write.js +118 -118
  644. package/dist/tool/read-filesystem.js +93 -93
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +2 -2
  661. package/dist/v1/config/formatter.js +7 -7
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +3 -3
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +84 -84
  675. package/dist/websearch.js +81 -81
  676. package/dist/wellknown/plugin.js +75 -75
  677. package/dist/wellknown.js +78 -78
  678. package/dist/workspace/driver.js +3 -3
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +77 -77
  681. package/dist/worktree/directory.js +4 -4
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +343 -343
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +90 -90
  686. package/package.json +8 -8
  687. package/dist/chunks/model-resolver-3evemhrx.js +0 -22
  688. package/dist/chunks/model-resolver-96f7b8wk.js +0 -247
  689. package/dist/chunks/model-resolver-bk30tq9n.js +0 -462
  690. package/dist/chunks/model-resolver-ht5y0zrb.js +0 -18
  691. /package/dist/chunks/{model-resolver-0mesazry.js → websearch-0mesazry.js} +0 -0
  692. /package/dist/chunks/{model-resolver-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{model-resolver-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{model-resolver-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{model-resolver-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{model-resolver-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{model-resolver-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{model-resolver-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{model-resolver-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{model-resolver-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{model-resolver-3asan66x.js → websearch-3asan66x.js} +0 -0
  702. /package/dist/chunks/{model-resolver-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{model-resolver-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{model-resolver-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{model-resolver-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{model-resolver-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{model-resolver-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{model-resolver-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{model-resolver-53557ph1.js → websearch-53557ph1.js} +0 -0
  710. /package/dist/chunks/{model-resolver-550bvhaj.js → websearch-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{model-resolver-6prwharc.js → websearch-6prwharc.js} +0 -0
  712. /package/dist/chunks/{model-resolver-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{model-resolver-7m9af43g.js → websearch-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{model-resolver-822emrt2.js → websearch-822emrt2.js} +0 -0
  715. /package/dist/chunks/{model-resolver-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
  716. /package/dist/chunks/{model-resolver-8n3pysct.js → websearch-8n3pysct.js} +0 -0
  717. /package/dist/chunks/{model-resolver-922hggd3.js → websearch-922hggd3.js} +0 -0
  718. /package/dist/chunks/{model-resolver-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
  719. /package/dist/chunks/{model-resolver-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
  720. /package/dist/chunks/{model-resolver-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{model-resolver-af5trqkr.js → websearch-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{model-resolver-afrmfg78.js → websearch-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{model-resolver-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{model-resolver-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{model-resolver-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{model-resolver-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{model-resolver-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{model-resolver-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{model-resolver-d9fn303g.js → websearch-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{model-resolver-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{model-resolver-dajrwvna.js → websearch-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{model-resolver-dap0rakb.js → websearch-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{model-resolver-df08tz66.js → websearch-df08tz66.js} +0 -0
  734. /package/dist/chunks/{model-resolver-dy18nga0.js → websearch-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{model-resolver-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{model-resolver-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{model-resolver-ec1grn59.js → websearch-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{model-resolver-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{model-resolver-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{model-resolver-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{model-resolver-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{model-resolver-faypxj3z.js → websearch-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{model-resolver-fd410y7t.js → websearch-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{model-resolver-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{model-resolver-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{model-resolver-g86h250q.js → websearch-g86h250q.js} +0 -0
  747. /package/dist/chunks/{model-resolver-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{model-resolver-gftt206x.js → websearch-gftt206x.js} +0 -0
  749. /package/dist/chunks/{model-resolver-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{model-resolver-hk9envan.js → websearch-hk9envan.js} +0 -0
  751. /package/dist/chunks/{model-resolver-hrnqkpcd.js → websearch-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{model-resolver-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{model-resolver-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{model-resolver-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{model-resolver-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{model-resolver-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{model-resolver-mp448xyj.js → websearch-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{model-resolver-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{model-resolver-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{model-resolver-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{model-resolver-njntx4h6.js → websearch-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{model-resolver-paphc93g.js → websearch-paphc93g.js} +0 -0
  763. /package/dist/chunks/{model-resolver-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
  764. /package/dist/chunks/{model-resolver-q74kybfr.js → websearch-q74kybfr.js} +0 -0
  765. /package/dist/chunks/{model-resolver-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
  766. /package/dist/chunks/{model-resolver-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
  767. /package/dist/chunks/{model-resolver-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
  768. /package/dist/chunks/{model-resolver-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{model-resolver-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{model-resolver-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{model-resolver-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
  772. /package/dist/chunks/{model-resolver-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
  773. /package/dist/chunks/{model-resolver-twg0f83k.js → websearch-twg0f83k.js} +0 -0
  774. /package/dist/chunks/{model-resolver-w803qqfp.js → websearch-w803qqfp.js} +0 -0
  775. /package/dist/chunks/{model-resolver-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
  776. /package/dist/chunks/{model-resolver-wtztk69x.js → websearch-wtztk69x.js} +0 -0
  777. /package/dist/chunks/{model-resolver-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
  778. /package/dist/chunks/{model-resolver-x61499pn.js → websearch-x61499pn.js} +0 -0
  779. /package/dist/chunks/{model-resolver-y44na4kk.js → websearch-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{model-resolver-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{model-resolver-y8f7s663.js → websearch-y8f7s663.js} +0 -0
  782. /package/dist/chunks/{model-resolver-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
  783. /package/dist/chunks/{model-resolver-ym463w8f.js → websearch-ym463w8f.js} +0 -0
  784. /package/dist/chunks/{model-resolver-z9919s4g.js → websearch-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./model-resolver-a1bjq33w.js";
4
+ } from "./websearch-553wj9b8.js";
5
5
  import {
6
6
  __export
7
- } from "./model-resolver-9rqn6x4v.js";
7
+ } from "./websearch-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,7 +12,7 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event18,
15
+ Event: () => Event17,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
@@ -20,7 +20,7 @@ __export(exports_form, {
20
20
  Info: () => Info26,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError8,
23
+ NotFoundError: () => NotFoundError9,
24
24
  Reply: () => Reply3,
25
25
  Service: () => Service69,
26
26
  State: () => State3,
@@ -33,7 +33,7 @@ __export(exports_form, {
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event18 } from "@opencode/schema/form";
36
+ import { Event as Event17 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
38
  var ID12 = Form.ID;
39
39
  var Info26 = Form.Info;
@@ -44,7 +44,7 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
47
+ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
48
  id: ID12
49
49
  }) {
50
50
  get message() {
@@ -87,7 +87,7 @@ var layer24 = Layer.effect(Service69, Effect.gen(function* () {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
92
  const id = input.id ?? ID12.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID12, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service69, layer24, node73, validateAnswer2, validateFields2, exports_form, Event18 };
310
+ export { ID12, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service69, layer24, node73, validateAnswer2, validateFields2, exports_form, Event17 };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service46
3
- } from "./model-resolver-pp153bpn.js";
2
+ Service74
3
+ } from "./websearch-r6802cbt.js";
4
4
  import {
5
- Service18,
5
+ Service15,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./model-resolver-wxkbw7hj.js";
8
+ } from "./websearch-2ts122me.js";
9
9
  import {
10
- Service75
11
- } from "./model-resolver-3n92rxfz.js";
10
+ Service13
11
+ } from "./websearch-5n168jes.js";
12
12
  import {
13
- Service58
14
- } from "./model-resolver-mr1m7qeg.js";
13
+ Service59
14
+ } from "./websearch-jhsettgg.js";
15
15
  import {
16
- Service19
17
- } from "./model-resolver-gxqvm3vh.js";
16
+ Service16
17
+ } from "./websearch-9aax44nh.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./model-resolver-6prwharc.js";
20
+ } from "./websearch-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./model-resolver-9rqn6x4v.js";
23
+ } from "./websearch-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input2,
29
- Output: () => Output2,
30
- Plugin: () => Plugin16,
28
+ Input: () => Input10,
29
+ Output: () => Output6,
30
+ Plugin: () => Plugin11,
31
31
  WriteTool: () => exports_write,
32
- name: () => name2,
33
- toModelContent: () => toModelContent2
32
+ name: () => name10,
33
+ toModelContent: () => toModelContent5
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name2 = "write";
39
- var Input2 = Schema.Struct({
38
+ var name10 = "write";
39
+ var Input10 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output2 = Schema.Struct({
45
+ var Output6 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin16 = {
51
+ var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin11 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service19;
56
- const fileMutation = yield* Service18;
57
- const environment = yield* Service46;
58
- const formatter = yield* Service75;
59
- const permission = yield* Service58;
55
+ const access = yield* Service16;
56
+ const fileMutation = yield* Service15;
57
+ const environment = yield* Service74;
58
+ const formatter = yield* Service13;
59
+ const permission = yield* Service59;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name2,
61
+ name: name10,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input2,
69
- output: Output2,
68
+ input: Input10,
69
+ output: Output6,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name2, Input2, Output2, toModelContent2, Plugin16, exports_write };
101
+ export { name10, Input10, Output6, toModelContent5, Plugin11, exports_write };
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./model-resolver-a1bjq33w.js";
4
+ } from "./websearch-553wj9b8.js";
5
5
  import {
6
6
  create3
7
- } from "./model-resolver-kg06axw8.js";
7
+ } from "./websearch-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./model-resolver-9rqn6x4v.js";
10
+ } from "./websearch-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event15,
18
- ID: () => ID8,
17
+ Event: () => Event14,
18
+ ID: () => ID9,
19
19
  Info: () => Info23,
20
20
  Name: () => Name3,
21
- Service: () => Service61,
21
+ Service: () => Service63,
22
22
  defaultID: () => defaultID2,
23
- node: () => node65
23
+ node: () => node67
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event15 } from "@opencode/schema/agent";
30
+ import { Event as Event14 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID8 = Agent.ID;
33
+ var ID9 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID8.make("build");
35
+ var defaultID2 = ID9.make("build");
36
36
  var Color2 = Agent.Color;
37
37
  var Info23 = Agent.Info;
38
38
 
39
- class Service61 extends Context.Service()("@opencode/Agent") {
39
+ class Service63 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service61, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
42
42
  const bus = yield* Service79;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID8.make("build")));
82
+ const build = selectable(data.agents.get(ID9.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service61.of({
91
+ return Service63.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID8.make(id));
99
+ return state.get().agents.get(ID9.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID8.make(id);
104
+ const selected = ID9.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node65 = makeLocationNode({ service: Service61, layer, deps: [node84, Global.node] });
119
+ var node67 = makeLocationNode({ service: Service63, layer, deps: [node84, Global.node] });
120
120
 
121
- export { ID8, Name3, defaultID2, Color2, Info23, Service61, node65, exports_agent4, Event15 };
121
+ export { ID9, Name3, defaultID2, Color2, Info23, Service63, node67, exports_agent4, Event14 };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-resolver-dhjen1r5.js";
3
+ } from "./websearch-yfvrypcb.js";
4
4
  import {
5
5
  Service79
6
- } from "./model-resolver-a1bjq33w.js";
6
+ } from "./websearch-553wj9b8.js";
7
7
  import {
8
8
  OAuth3,
9
- Event19,
9
+ Event18,
10
10
  Service70
11
- } from "./model-resolver-bb6zzzcx.js";
11
+ } from "./websearch-zz5hkvbq.js";
12
12
  import {
13
13
  ID11,
14
14
  MethodID2,
15
15
  Service68
16
- } from "./model-resolver-xyxvhn55.js";
16
+ } from "./websearch-8vgxngcq.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./model-resolver-pjvnvgmy.js";
20
+ } from "./websearch-pjvnvgmy.js";
21
21
  import {
22
- ID15
23
- } from "./model-resolver-2d6j2h4j.js";
22
+ ID18
23
+ } from "./websearch-m27pyyd3.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./model-resolver-qqdydr84.js";
26
+ } from "./websearch-j6tz9wj2.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
33
- var providerID = ID15.make("snowflake-cortex");
33
+ var providerID = ID18.make("snowflake-cortex");
34
34
  var integrationID = ID11.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
@@ -178,7 +178,7 @@ var SnowflakeCortexPlugin2 = define({
178
178
  model.settings.baseURL = endpoint(model.settings.baseURL, account.value);
179
179
  }
180
180
  });
181
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
181
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
182
182
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
183
183
  const token = envToken();
184
184
  if (token)
@@ -1,8 +1,8 @@
1
1
  import {
2
- ID15,
2
+ ID18,
3
3
  isAISDK2,
4
4
  packageName2
5
- } from "./model-resolver-2d6j2h4j.js";
5
+ } from "./websearch-m27pyyd3.js";
6
6
 
7
7
  // src/plugin/provider/google-vertex.ts
8
8
  import { Effect } from "effect";
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
39
39
  for (const item of evt.provider.list()) {
40
40
  if (!isAISDK2(item.provider.package))
41
41
  continue;
42
- if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID15.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
42
+ if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID18.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
43
43
  continue;
44
44
  const project = resolveProject(item.provider.settings ?? {});
45
45
  const location = String(resolveLocation(item.provider.settings ?? {}));
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
56
56
  }
57
57
  });
58
58
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
59
- if (evt.model.providerID === ID15.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
59
+ if (evt.model.providerID === ID18.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
60
60
  evt.options.fetch = authFetch(evt.options.fetch);
61
61
  return;
62
62
  }
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
87
87
  });
88
88
  }));
89
89
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
90
- if (evt.model.providerID !== ID15.googleVertex)
90
+ if (evt.model.providerID !== ID18.googleVertex)
91
91
  return;
92
92
  evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
93
93
  }));
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Service79
3
- } from "./model-resolver-a1bjq33w.js";
3
+ } from "./websearch-553wj9b8.js";
4
4
  import {
5
- Service74
6
- } from "./model-resolver-crg5gc3d.js";
5
+ Service58
6
+ } from "./websearch-zyyr8j6k.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./model-resolver-kg06axw8.js";
12
+ } from "./websearch-kg06axw8.js";
13
13
  import {
14
- Service28,
14
+ Service31,
15
15
  awaitActivation2
16
- } from "./model-resolver-ht5y0zrb.js";
16
+ } from "./websearch-dxj72tfx.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./model-resolver-hg3kwj6p.js";
21
+ } from "./websearch-avqvzm75.js";
22
22
  import {
23
23
  __export
24
- } from "./model-resolver-9rqn6x4v.js";
24
+ } from "./websearch-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
- Event: () => Event5,
29
+ Event: () => Event4,
30
30
  ID: () => ID3,
31
31
  Info: () => Info3,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service28,
33
+ Service: () => Service31,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
- node: () => node23
37
+ node: () => node21
38
38
  });
39
- import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service28, Effect.gen(function* () {
43
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
44
44
  const bus = yield* Service79;
45
- const kv = yield* Service74;
45
+ const kv = yield* Service58;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service28.of({
208
+ return Service31.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -222,10 +222,10 @@ function slotInfo(slot) {
222
222
  features: { server: true, ...slot.plugin.features }
223
223
  };
224
224
  }
225
- var node23 = Node.makeLocationNode({
226
- service: Service28,
225
+ var node21 = Node.makeLocationNode({
226
+ service: Service31,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node23, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
231
+ export { node21, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79
3
- } from "./model-resolver-a1bjq33w.js";
3
+ } from "./websearch-553wj9b8.js";
4
4
  import {
5
- ID15
6
- } from "./model-resolver-2d6j2h4j.js";
5
+ ID18
6
+ } from "./websearch-m27pyyd3.js";
7
7
  import {
8
- ID14
9
- } from "./model-resolver-80e0yyk8.js";
8
+ ID17
9
+ } from "./websearch-1awm1f41.js";
10
10
  import {
11
- Event19
12
- } from "./model-resolver-bb6zzzcx.js";
11
+ Event18
12
+ } from "./websearch-zz5hkvbq.js";
13
13
  import {
14
14
  ID11
15
- } from "./model-resolver-xyxvhn55.js";
15
+ } from "./websearch-8vgxngcq.js";
16
16
  import {
17
- Service66
18
- } from "./model-resolver-0mvbtnre.js";
17
+ Service67
18
+ } from "./websearch-at2bvhe9.js";
19
19
  import {
20
20
  get3
21
- } from "./model-resolver-gvphacjb.js";
21
+ } from "./websearch-2ehqxkpw.js";
22
22
 
23
23
  // src/plugin/provider/modal.ts
24
24
  import { Effect, Semaphore, Stream } from "effect";
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
- var providerID = ID15.make("modal");
26
+ var providerID = ID18.make("modal");
27
27
  var ModalPlugin2 = define({
28
28
  id: "opencode.provider.modal",
29
29
  effect: Effect.fn(function* (ctx) {
30
- const catalog = yield* Service66;
30
+ const catalog = yield* Service67;
31
31
  const bus = yield* Service79;
32
32
  const loading = Semaphore.makeUnsafe(1);
33
33
  const loaded = {};
@@ -58,7 +58,7 @@ var ModalPlugin2 = define({
58
58
  if (!loaded.models)
59
59
  return;
60
60
  for (const id of item.models.keys()) {
61
- if (!loaded.models.has(ID14.make(id)))
61
+ if (!loaded.models.has(ID17.make(id)))
62
62
  evt.model.remove(item.provider.id, id);
63
63
  }
64
64
  for (const [id, model] of loaded.models) {
@@ -66,7 +66,7 @@ var ModalPlugin2 = define({
66
66
  }
67
67
  });
68
68
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
69
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
69
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
70
70
  yield* refresh().pipe(Effect.forkScoped);
71
71
  })
72
72
  });
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make15,
9
+ make: () => make14,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make15(tools) {
32
+ function make14(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make15, render3, exports_system_prompt };
50
+ export { make14, render3, exports_system_prompt };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-resolver-922hggd3.js";
4
+ } from "./websearch-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./model-resolver-k6yq57aq.js";
7
+ } from "./websearch-7w99qc9d.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  SQLiteEffectCountBuilder2
3
- } from "./model-resolver-f0mxakyp.js";
3
+ } from "./websearch-f0mxakyp.js";
4
4
  import {
5
5
  SQLiteEffectDeleteBase2
6
- } from "./model-resolver-w3wsvvr9.js";
6
+ } from "./websearch-w3wsvvr9.js";
7
7
  import {
8
8
  SQLiteEffectInsertBuilder2
9
- } from "./model-resolver-7bmhse3q.js";
9
+ } from "./websearch-7bmhse3q.js";
10
10
  import {
11
11
  SQLiteEffectRelationalQueryBuilder2
12
- } from "./model-resolver-cf4snx6d.js";
12
+ } from "./websearch-cf4snx6d.js";
13
13
  import {
14
14
  SQLiteEffectRaw2
15
- } from "./model-resolver-822emrt2.js";
15
+ } from "./websearch-822emrt2.js";
16
16
  import {
17
17
  SQLiteEffectSelectBuilder2
18
- } from "./model-resolver-wd87259q.js";
18
+ } from "./websearch-wd87259q.js";
19
19
  import {
20
20
  SQLiteEffectUpdateBuilder2
21
- } from "./model-resolver-m9w0rfyh.js";
21
+ } from "./websearch-m9w0rfyh.js";
22
22
 
23
23
  // src/database/drizzle/sqlite-core/effect/db.ts
24
24
  import { Effect } from "effect";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./model-resolver-kg06axw8.js";
3
+ } from "./websearch-kg06axw8.js";
4
4
  import {
5
5
  __export
6
- } from "./model-resolver-9rqn6x4v.js";
6
+ } from "./websearch-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};