@opencode/core 0.0.0-dev-20363 → 0.0.0-dev-20364

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 (798) 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/{model-resolver-kd9s81d6.js → websearch-038px63b.js} +20 -20
  8. package/dist/chunks/{model-resolver-fwfvrmc2.js → websearch-0bjxfv7y.js} +4 -4
  9. package/dist/chunks/{model-resolver-m101sbdj.js → websearch-0c6d2bcx.js} +9 -9
  10. package/dist/chunks/{model-resolver-cepnprts.js → websearch-0fmckw5j.js} +21 -21
  11. package/dist/chunks/{model-resolver-04shvbr1.js → websearch-0j9wf475.js} +9 -9
  12. package/dist/chunks/{model-resolver-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{model-resolver-kdhg8fn5.js → websearch-0srz3rb7.js} +10 -10
  14. package/dist/chunks/{model-resolver-35me4pqp.js → websearch-0ypjagag.js} +43 -43
  15. package/dist/chunks/{model-resolver-7fpqa9rm.js → websearch-12zefq54.js} +13 -13
  16. package/dist/chunks/{model-resolver-f2n192rq.js → websearch-1acjjqhc.js} +4 -4
  17. package/dist/chunks/{model-resolver-m1t05dsh.js → websearch-1adv04an.js} +1 -1
  18. package/dist/chunks/{model-resolver-1bbkgx8g.js → websearch-1bbkgx8g.js} +1 -1
  19. package/dist/chunks/{model-resolver-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{model-resolver-hqmtd9gn.js → websearch-1mxp06n2.js} +18 -18
  21. package/dist/chunks/{model-resolver-7nnscm86.js → websearch-1xx922hh.js} +20 -20
  22. package/dist/chunks/{model-resolver-4dcsf2r8.js → websearch-1y0s9zry.js} +8 -8
  23. package/dist/chunks/{model-resolver-1ygqh575.js → websearch-1ygqh575.js} +2 -2
  24. package/dist/chunks/{model-resolver-21r38tys.js → websearch-21r38tys.js} +1 -1
  25. package/dist/chunks/{model-resolver-gp4df2gz.js → websearch-220kn1r0.js} +3 -3
  26. package/dist/chunks/{model-resolver-cpy6gm2a.js → websearch-23pqda6t.js} +6 -6
  27. package/dist/chunks/{model-resolver-j3s2z371.js → websearch-24dd53tp.js} +9 -9
  28. package/dist/chunks/{model-resolver-sg94zqbj.js → websearch-276jgmgv.js} +26 -26
  29. package/dist/chunks/{model-resolver-b9e5m5kw.js → websearch-27zn6a7k.js} +16 -16
  30. package/dist/chunks/{model-resolver-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{model-resolver-f5snpwwp.js → websearch-2av1ykjg.js} +8 -8
  32. package/dist/chunks/{model-resolver-g0s9wgrg.js → websearch-2ekw0rzc.js} +32 -32
  33. package/dist/chunks/{model-resolver-my6ay15n.js → websearch-2g184g7f.js} +16 -16
  34. package/dist/chunks/{model-resolver-g87rxxst.js → websearch-2kshkexn.js} +23 -23
  35. package/dist/chunks/{model-resolver-xt9rxswa.js → websearch-2p50zhn3.js} +4 -4
  36. package/dist/chunks/{model-resolver-1mjwcf4w.js → websearch-2p8k3371.js} +6 -6
  37. package/dist/chunks/{model-resolver-ga76bh3d.js → websearch-2y3tt2xr.js} +63 -63
  38. package/dist/chunks/{model-resolver-0ehkc6b3.js → websearch-31yjpdzq.js} +7 -7
  39. package/dist/chunks/{model-resolver-n3vygs5b.js → websearch-32ymn5e1.js} +6 -6
  40. package/dist/chunks/{model-resolver-cp17smcp.js → websearch-346nngnc.js} +36 -36
  41. package/dist/chunks/{model-resolver-08yw13zg.js → websearch-353vmrjg.js} +23 -23
  42. package/dist/chunks/{model-resolver-166cxnzt.js → websearch-398v765q.js} +22 -22
  43. package/dist/chunks/{model-resolver-vxv26dz1.js → websearch-3eyay8p2.js} +50 -50
  44. package/dist/chunks/{model-resolver-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
  45. package/dist/chunks/{model-resolver-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  46. package/dist/chunks/{model-resolver-c75ppnt9.js → websearch-3p2rzh20.js} +25 -25
  47. package/dist/chunks/{model-resolver-c0xnxeca.js → websearch-3p9kjnm5.js} +27 -27
  48. package/dist/chunks/{model-resolver-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{model-resolver-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{model-resolver-3w2b2yj4.js → websearch-3w0fmcng.js} +5 -5
  51. package/dist/chunks/{model-resolver-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{model-resolver-31v28kev.js → websearch-4dyr3fmv.js} +5 -5
  53. package/dist/chunks/{model-resolver-tx9w5tca.js → websearch-4e8vs6eh.js} +8 -8
  54. package/dist/chunks/{model-resolver-7zrz2ht7.js → websearch-4frsnb5p.js} +9 -9
  55. package/dist/chunks/{model-resolver-s30fyz93.js → websearch-4j4tgtq5.js} +4 -4
  56. package/dist/chunks/{model-resolver-ahwzhwa3.js → websearch-4nzfxfae.js} +5 -5
  57. package/dist/chunks/{model-resolver-28fee37h.js → websearch-4p9wqfgr.js} +28 -28
  58. package/dist/chunks/{model-resolver-1jtc7t2n.js → websearch-4rt6ttzx.js} +17 -17
  59. package/dist/chunks/{model-resolver-qpym6rz7.js → websearch-4zj0d0rt.js} +317 -317
  60. package/dist/chunks/{model-resolver-bf6sfhxg.js → websearch-50nd1cm7.js} +23 -23
  61. package/dist/chunks/{model-resolver-nz2kpe5e.js → websearch-53p07668.js} +26 -26
  62. package/dist/chunks/{model-resolver-57ez7d0k.js → websearch-57ez7d0k.js} +2 -2
  63. package/dist/chunks/{model-resolver-6pzm3pmc.js → websearch-5anqrvtz.js} +15 -15
  64. package/dist/chunks/{model-resolver-5daktx2q.js → websearch-5daktx2q.js} +1 -1
  65. package/dist/chunks/{model-resolver-m3ma28tp.js → websearch-5dt9rsmr.js} +48 -48
  66. package/dist/chunks/{model-resolver-kan6af9e.js → websearch-5jt4heav.js} +18 -18
  67. package/dist/chunks/{model-resolver-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
  68. package/dist/chunks/{model-resolver-gbs6jbhw.js → websearch-5vz7x68a.js} +6 -6
  69. package/dist/chunks/{model-resolver-wq4mmp7m.js → websearch-5xpznt2d.js} +4 -4
  70. package/dist/chunks/{model-resolver-669tq793.js → websearch-669tq793.js} +1 -1
  71. package/dist/chunks/{model-resolver-et0bpsn8.js → websearch-67d8jfya.js} +52 -52
  72. package/dist/chunks/{model-resolver-28rwb4xv.js → websearch-6a6qd33v.js} +13 -13
  73. package/dist/chunks/{model-resolver-b23z4qnb.js → websearch-6cr2frtn.js} +7 -7
  74. package/dist/chunks/{model-resolver-ef43s285.js → websearch-6cs6c98e.js} +32 -32
  75. package/dist/chunks/{model-resolver-6hjx5zpb.js → websearch-6hjx5zpb.js} +2 -2
  76. package/dist/chunks/{model-resolver-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
  77. package/dist/chunks/{model-resolver-m6cmkatr.js → websearch-6n58c19x.js} +43 -43
  78. package/dist/chunks/{model-resolver-6pc27hjz.js → websearch-6pc27hjz.js} +2 -2
  79. package/dist/chunks/{model-resolver-kf4rtjcm.js → websearch-70dm097c.js} +11 -11
  80. package/dist/chunks/{model-resolver-2kewd2va.js → websearch-73m34ham.js} +9 -9
  81. package/dist/chunks/{model-resolver-r2m716tb.js → websearch-79qaa2kf.js} +9 -9
  82. package/dist/chunks/{model-resolver-cm63mksd.js → websearch-7ajg12sz.js} +12 -12
  83. package/dist/chunks/{model-resolver-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{model-resolver-qskvc41q.js → websearch-7d5xv1hr.js} +10 -10
  85. package/dist/chunks/websearch-7fj5dwt0.js +18 -0
  86. package/dist/chunks/{model-resolver-5cmxdwv8.js → websearch-7w99qc9d.js} +3 -3
  87. package/dist/chunks/{model-resolver-8s79h2zs.js → websearch-7yftpyd9.js} +25 -25
  88. package/dist/chunks/{model-resolver-gv9h81mr.js → websearch-7z58nj57.js} +9 -9
  89. package/dist/chunks/{model-resolver-84txncab.js → websearch-84txncab.js} +1 -1
  90. package/dist/chunks/{model-resolver-vqyyvx1k.js → websearch-8czzn1ew.js} +10 -10
  91. package/dist/chunks/{model-resolver-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
  92. package/dist/chunks/{model-resolver-66gm3q6y.js → websearch-8p5mx2as.js} +4 -4
  93. package/dist/chunks/{model-resolver-gbzb20p6.js → websearch-8pxgk0ph.js} +8 -8
  94. package/dist/chunks/{model-resolver-v9k22ypw.js → websearch-9217e98b.js} +2 -2
  95. package/dist/chunks/{model-resolver-wgvqggrf.js → websearch-92qr6xp8.js} +4 -4
  96. package/dist/chunks/{model-resolver-94ek1h2f.js → websearch-94ek1h2f.js} +2 -2
  97. package/dist/chunks/{model-resolver-2e7f4xd3.js → websearch-95hjyvtz.js} +23 -23
  98. package/dist/chunks/{model-resolver-7f1fjr73.js → websearch-9a8jwsrm.js} +37 -37
  99. package/dist/chunks/{model-resolver-e23sc63z.js → websearch-9bf5sqn1.js} +4 -4
  100. package/dist/chunks/{model-resolver-9hn6k4tm.js → websearch-9hn6k4tm.js} +1 -1
  101. package/dist/chunks/{model-resolver-3ppptnan.js → websearch-9r15s34d.js} +6 -6
  102. package/dist/chunks/{model-resolver-9q2chv03.js → websearch-9rq7qx54.js} +3 -3
  103. package/dist/chunks/{model-resolver-beb0xpyw.js → websearch-a4fr3d9q.js} +10 -10
  104. package/dist/chunks/{model-resolver-f1vyadhg.js → websearch-a7dpx7re.js} +9 -9
  105. package/dist/chunks/{model-resolver-wcjgahxv.js → websearch-a89ymz6e.js} +10 -10
  106. package/dist/chunks/{model-resolver-aaet6srn.js → websearch-aaet6srn.js} +2 -2
  107. package/dist/chunks/{model-resolver-5qkfabj9.js → websearch-akvkypve.js} +27 -27
  108. package/dist/chunks/{model-resolver-dfe8djrf.js → websearch-an7cqtb7.js} +4 -4
  109. package/dist/chunks/{model-resolver-kg0ttabr.js → websearch-ax7tp4yb.js} +17 -17
  110. package/dist/chunks/{model-resolver-5ghb1wcz.js → websearch-ay804b8n.js} +15 -15
  111. package/dist/chunks/{model-resolver-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{model-resolver-0t1a536w.js → websearch-bvtcxwtv.js} +12 -12
  113. package/dist/chunks/{model-resolver-3g9hx9d8.js → websearch-by247pp1.js} +48 -48
  114. package/dist/chunks/{model-resolver-5dzgzdgv.js → websearch-c0qwn38y.js} +27 -27
  115. package/dist/chunks/{model-resolver-2veb1275.js → websearch-c6zbmz56.js} +19 -19
  116. package/dist/chunks/{model-resolver-6pjg54et.js → websearch-c9swe8p3.js} +15 -15
  117. package/dist/chunks/{model-resolver-57p4zcxx.js → websearch-ca3pr54h.js} +18 -18
  118. package/dist/chunks/{model-resolver-4ff0zxak.js → websearch-cbhxcmc1.js} +30 -30
  119. package/dist/chunks/{model-resolver-r938b5ge.js → websearch-cbw88k9g.js} +29 -29
  120. package/dist/chunks/{model-resolver-zfhy6jfb.js → websearch-cgcc68fq.js} +8 -8
  121. package/dist/chunks/{model-resolver-ckecvw8r.js → websearch-ckecvw8r.js} +2 -2
  122. package/dist/chunks/{model-resolver-zzd4ahet.js → websearch-cn8dv2v1.js} +22 -22
  123. package/dist/chunks/{model-resolver-7z7t5xg0.js → websearch-cp5367at.js} +8 -8
  124. package/dist/chunks/{model-resolver-4m9kpkhr.js → websearch-cq5xts3d.js} +21 -21
  125. package/dist/chunks/{model-resolver-z4fx9cvt.js → websearch-ctj5zx4b.js} +7 -7
  126. package/dist/chunks/{model-resolver-fdvr1ndy.js → websearch-cywvz9br.js} +9 -9
  127. package/dist/chunks/{model-resolver-p44d8wdy.js → websearch-d2aac7k2.js} +5 -5
  128. package/dist/chunks/{model-resolver-sfae06wy.js → websearch-d5jrffvq.js} +13 -13
  129. package/dist/chunks/{model-resolver-1gtysh3b.js → websearch-db8k9zw6.js} +11 -11
  130. package/dist/chunks/{model-resolver-dmqcgk4z.js → websearch-dmqcgk4z.js} +2 -2
  131. package/dist/chunks/{model-resolver-y6bex35g.js → websearch-dnxkq42g.js} +4 -4
  132. package/dist/chunks/{model-resolver-c48kjqxw.js → websearch-dpzcxc98.js} +27 -27
  133. package/dist/chunks/{model-resolver-drwq78ky.js → websearch-drwq78ky.js} +1 -1
  134. package/dist/chunks/{model-resolver-p0h2zwcj.js → websearch-dz3wwjp4.js} +13 -13
  135. package/dist/chunks/{model-resolver-vynr67b8.js → websearch-dz6ws2fj.js} +17 -17
  136. package/dist/chunks/{model-resolver-hy7m1jes.js → websearch-e0eyc163.js} +11 -11
  137. package/dist/chunks/{model-resolver-fg989vxx.js → websearch-e71g85fj.js} +13 -13
  138. package/dist/chunks/{model-resolver-r475mjjc.js → websearch-e892khxg.js} +20 -20
  139. package/dist/chunks/{model-resolver-ecfe7b91.js → websearch-ecfe7b91.js} +2 -2
  140. package/dist/chunks/{model-resolver-j5qm3aa4.js → websearch-eds2zs3s.js} +34 -34
  141. package/dist/chunks/{model-resolver-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{model-resolver-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{model-resolver-fc1e038s.js → websearch-f81r1vb3.js} +13 -13
  144. package/dist/chunks/{model-resolver-qp883ga4.js → websearch-fbyf8q2e.js} +44 -44
  145. package/dist/chunks/{model-resolver-fcrkznn8.js → websearch-fcrkznn8.js} +1 -1
  146. package/dist/chunks/{model-resolver-9n3n2vac.js → websearch-feem3tsn.js} +16 -16
  147. package/dist/chunks/{model-resolver-0c6c0zmn.js → websearch-fgt6t0vg.js} +16 -16
  148. package/dist/chunks/{model-resolver-4mwtbdcy.js → websearch-fnmd0fbf.js} +23 -23
  149. package/dist/chunks/{model-resolver-df54n7py.js → websearch-fprafx3g.js} +12 -12
  150. package/dist/chunks/{model-resolver-vkt5fbj2.js → websearch-g2y161wv.js} +8 -8
  151. package/dist/chunks/{model-resolver-g5agzp2h.js → websearch-g5agzp2h.js} +2 -2
  152. package/dist/chunks/{model-resolver-qfnwxhdd.js → websearch-g6cszjk9.js} +11 -11
  153. package/dist/chunks/{model-resolver-qe3aawgt.js → websearch-g6kz14de.js} +3 -3
  154. package/dist/chunks/{model-resolver-qsf3p1yr.js → websearch-g8pnae5e.js} +7 -7
  155. package/dist/chunks/{model-resolver-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{model-resolver-prn2zde5.js → websearch-gmw7h0g0.js} +16 -16
  157. package/dist/chunks/{model-resolver-x7pmfb8f.js → websearch-gsx4bp2s.js} +9 -9
  158. package/dist/chunks/{model-resolver-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
  159. package/dist/chunks/{model-resolver-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
  160. package/dist/chunks/{model-resolver-29qym6xz.js → websearch-h9pnpq88.js} +4 -4
  161. package/dist/chunks/{model-resolver-7zdrdht4.js → websearch-ha607pgt.js} +6 -6
  162. package/dist/chunks/{model-resolver-cqy5fkq0.js → websearch-hbhenm16.js} +23 -23
  163. package/dist/chunks/{model-resolver-1ep2by6j.js → websearch-hc158ykg.js} +33 -33
  164. package/dist/chunks/{model-resolver-yjptyezs.js → websearch-hcz3zddy.js} +5 -5
  165. package/dist/chunks/{model-resolver-0bfcnrg1.js → websearch-hd8vw2pw.js} +1 -1
  166. package/dist/chunks/{model-resolver-5gb54438.js → websearch-hkw46htp.js} +11 -11
  167. package/dist/chunks/{model-resolver-ftdzjz2b.js → websearch-hxtet8kv.js} +8 -8
  168. package/dist/chunks/{model-resolver-00bdd51n.js → websearch-hzbdrxwe.js} +7 -7
  169. package/dist/chunks/{model-resolver-6rq2rdm3.js → websearch-j1ekrec0.js} +31 -31
  170. package/dist/chunks/{model-resolver-aads351p.js → websearch-j2p7y48b.js} +1 -1
  171. package/dist/chunks/{model-resolver-j56e64zr.js → websearch-j56e64zr.js} +1 -1
  172. package/dist/chunks/{model-resolver-vm8x5jsh.js → websearch-j7x2yn3t.js} +24 -24
  173. package/dist/chunks/{model-resolver-gnnmkja3.js → websearch-ja2zj2c0.js} +34 -34
  174. package/dist/chunks/{model-resolver-gdj9fwxj.js → websearch-jcrrk3kb.js} +21 -21
  175. package/dist/chunks/{model-resolver-a2ew8a62.js → websearch-jfqtm2ew.js} +4 -4
  176. package/dist/chunks/websearch-jj1z2dhd.js +252 -0
  177. package/dist/chunks/{model-resolver-v850jb5g.js → websearch-jr3b2gvy.js} +11 -11
  178. package/dist/chunks/{model-resolver-magykp64.js → websearch-jw80jp6b.js} +4 -4
  179. package/dist/chunks/{model-resolver-ynz18txh.js → websearch-k3bw1sn3.js} +3 -3
  180. package/dist/chunks/{model-resolver-k3c624dm.js → websearch-k3c624dm.js} +3 -3
  181. package/dist/chunks/{model-resolver-d4wmmjrt.js → websearch-k93z6qzn.js} +20 -20
  182. package/dist/chunks/{model-resolver-w8s93tvm.js → websearch-kbp4225x.js} +17 -17
  183. package/dist/chunks/{model-resolver-k7tpzzsk.js → websearch-kz6k2e9e.js} +22 -22
  184. package/dist/chunks/{model-resolver-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
  185. package/dist/chunks/{model-resolver-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  186. package/dist/chunks/{model-resolver-23ypespv.js → websearch-m9wxg17a.js} +17 -17
  187. package/dist/chunks/{model-resolver-x9zyqvt6.js → websearch-mf1w9jz9.js} +24 -24
  188. package/dist/chunks/{model-resolver-tm4vaxsf.js → websearch-mh97fagg.js} +17 -17
  189. package/dist/chunks/{model-resolver-j2g46p4m.js → websearch-mjrftjf4.js} +16 -16
  190. package/dist/chunks/{model-resolver-50p21jsy.js → websearch-mtwraztm.js} +11 -11
  191. package/dist/chunks/{model-resolver-b00xvs8t.js → websearch-mxr1v1s0.js} +8 -8
  192. package/dist/chunks/{model-resolver-e08max4g.js → websearch-n7f32xww.js} +3 -3
  193. package/dist/chunks/{model-resolver-r88fpew6.js → websearch-nbckkxgt.js} +9 -9
  194. package/dist/chunks/{model-resolver-2y34zzjz.js → websearch-ndqtf2h8.js} +6 -6
  195. package/dist/chunks/{model-resolver-wdyvcfat.js → websearch-nhgfcksv.js} +25 -25
  196. package/dist/chunks/{model-resolver-vmgq4x8b.js → websearch-nng2ktcm.js} +2 -2
  197. package/dist/chunks/{model-resolver-1tw0n30a.js → websearch-nr5t8xf9.js} +13 -13
  198. package/dist/chunks/{model-resolver-zw9m0b6f.js → websearch-p0szy2by.js} +22 -22
  199. package/dist/chunks/{model-resolver-dj1dwqym.js → websearch-pctwzd1v.js} +3 -3
  200. package/dist/chunks/{model-resolver-30krspkn.js → websearch-pcxghkgz.js} +4 -4
  201. package/dist/chunks/{model-resolver-g8stq3ct.js → websearch-pesdkjj5.js} +15 -15
  202. package/dist/chunks/{model-resolver-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{model-resolver-pknna89w.js → websearch-pknna89w.js} +1 -1
  204. package/dist/chunks/{model-resolver-gst7axd9.js → websearch-q5asdkn4.js} +4 -4
  205. package/dist/chunks/{model-resolver-6rq91kkb.js → websearch-q68392kb.js} +22 -22
  206. package/dist/chunks/{model-resolver-d3qasn01.js → websearch-qc8nte2e.js} +6 -6
  207. package/dist/chunks/{model-resolver-c1jg21sb.js → websearch-qcgtzhhm.js} +11 -11
  208. package/dist/chunks/{model-resolver-4n607a2z.js → websearch-qdbakdjh.js} +5 -5
  209. package/dist/chunks/{model-resolver-jtdedrsn.js → websearch-qdg7esgd.js} +18 -18
  210. package/dist/chunks/{model-resolver-j47s30d1.js → websearch-qk0x0sk0.js} +5 -5
  211. package/dist/chunks/{model-resolver-eq302p8g.js → websearch-qm2t0qjn.js} +13 -13
  212. package/dist/chunks/{model-resolver-r1tct7zd.js → websearch-qnekv1ws.js} +11 -11
  213. package/dist/chunks/{model-resolver-qsdy395h.js → websearch-qsdy395h.js} +1 -1
  214. package/dist/chunks/{model-resolver-85ja8bjp.js → websearch-qt3x64j7.js} +17 -17
  215. package/dist/chunks/{model-resolver-y5c83qxw.js → websearch-qxkhg7xp.js} +5 -5
  216. package/dist/chunks/{model-resolver-54ma36ye.js → websearch-r94pvvab.js} +4 -4
  217. package/dist/chunks/{model-resolver-rwectdn3.js → websearch-rbar20vn.js} +17 -17
  218. package/dist/chunks/{model-resolver-eqhdj52w.js → websearch-rbgspyrk.js} +20 -20
  219. package/dist/chunks/{model-resolver-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{model-resolver-g4x4az7d.js → websearch-rh0dsed9.js} +6 -6
  221. package/dist/chunks/{model-resolver-54gavh75.js → websearch-rhp1qkby.js} +88 -88
  222. package/dist/chunks/{model-resolver-gse0ck6f.js → websearch-rhpygmjn.js} +3 -3
  223. package/dist/chunks/{model-resolver-655b29a3.js → websearch-rnn7zy7b.js} +21 -21
  224. package/dist/chunks/{model-resolver-hkw89x8s.js → websearch-rvb988rt.js} +3 -3
  225. package/dist/chunks/{model-resolver-dxmvrbpm.js → websearch-ry88pbpy.js} +29 -29
  226. package/dist/chunks/{model-resolver-pgfqyy1c.js → websearch-s19tbb4q.js} +26 -26
  227. package/dist/chunks/{model-resolver-7k895je9.js → websearch-s39hhjzg.js} +25 -25
  228. package/dist/chunks/{model-resolver-59ps16wq.js → websearch-s3p9b0fg.js} +9 -9
  229. package/dist/chunks/{model-resolver-8k0g7am2.js → websearch-s7mc561m.js} +11 -11
  230. package/dist/chunks/{model-resolver-eaj1djv9.js → websearch-s8d7rejh.js} +6 -6
  231. package/dist/chunks/{model-resolver-2hg7qvzt.js → websearch-sznyev98.js} +5 -5
  232. package/dist/chunks/{model-resolver-bzpc8ntm.js → websearch-t0tmk7bb.js} +17 -17
  233. package/dist/chunks/{model-resolver-yv77sh0a.js → websearch-t1bbtf4n.js} +5 -5
  234. package/dist/chunks/{model-resolver-sx2mqjyc.js → websearch-t29c64m8.js} +23 -23
  235. package/dist/chunks/{model-resolver-h46w06ap.js → websearch-t4k7v3dt.js} +6 -6
  236. package/dist/chunks/{model-resolver-774mep86.js → websearch-t7mjb19w.js} +2 -2
  237. package/dist/chunks/{model-resolver-q0gq5wzg.js → websearch-t8fnexag.js} +11 -11
  238. package/dist/chunks/{model-resolver-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
  239. package/dist/chunks/{model-resolver-tcezcvh9.js → websearch-tcezcvh9.js} +1 -1
  240. package/dist/chunks/{model-resolver-tdstcens.js → websearch-tdstcens.js} +1 -1
  241. package/dist/chunks/{model-resolver-qb6wrr0k.js → websearch-tfr0n87e.js} +35 -35
  242. package/dist/chunks/{model-resolver-4g0mdtwh.js → websearch-tjh59d1t.js} +14 -14
  243. package/dist/chunks/{model-resolver-bw2q4erb.js → websearch-tttmn9xj.js} +36 -36
  244. package/dist/chunks/{model-resolver-m5389yyj.js → websearch-tvcy2d8k.js} +5 -5
  245. package/dist/chunks/{model-resolver-tvtrv512.js → websearch-tvtrv512.js} +1 -1
  246. package/dist/chunks/{model-resolver-gd38j8rb.js → websearch-tx4rpkmp.js} +174 -174
  247. package/dist/chunks/{model-resolver-zmqb8676.js → websearch-v2tqbhv1.js} +5 -5
  248. package/dist/chunks/{model-resolver-bzx9a2az.js → websearch-v8vkj13s.js} +24 -24
  249. package/dist/chunks/{model-resolver-86qzxe6p.js → websearch-vbfgae2j.js} +4 -4
  250. package/dist/chunks/{model-resolver-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  251. package/dist/chunks/{model-resolver-fvhcjjbk.js → websearch-vfze4e7p.js} +11 -11
  252. package/dist/chunks/{model-resolver-ep6z9mt6.js → websearch-vhvgae7m.js} +8 -8
  253. package/dist/chunks/{model-resolver-gmjq4p6e.js → websearch-vy4zg7qh.js} +5 -5
  254. package/dist/chunks/{model-resolver-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{model-resolver-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
  256. package/dist/chunks/{model-resolver-ctwrx9qj.js → websearch-w04gwn7v.js} +14 -14
  257. package/dist/chunks/{model-resolver-v5g0yskm.js → websearch-w0tzqy3y.js} +2 -2
  258. package/dist/chunks/{model-resolver-0703wr40.js → websearch-w2xqxfyd.js} +4 -4
  259. package/dist/chunks/{model-resolver-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{model-resolver-wd3x2cqz.js → websearch-wd3x2cqz.js} +2 -2
  261. package/dist/chunks/{model-resolver-wd87259q.js → websearch-wd87259q.js} +1 -1
  262. package/dist/chunks/{model-resolver-y64m485r.js → websearch-wj97vxvf.js} +8 -8
  263. package/dist/chunks/{model-resolver-qy439gdh.js → websearch-wk33t37p.js} +12 -12
  264. package/dist/chunks/{model-resolver-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{model-resolver-0np6v5dx.js → websearch-xb4vskyg.js} +43 -43
  266. package/dist/chunks/{model-resolver-cp5p8nw7.js → websearch-xj0pm4a7.js} +23 -23
  267. package/dist/chunks/{model-resolver-x2y5scjf.js → websearch-xs0f1de6.js} +12 -12
  268. package/dist/chunks/{model-resolver-159a3x2j.js → websearch-xywyz3br.js} +38 -38
  269. package/dist/chunks/{model-resolver-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{model-resolver-y71avatq.js → websearch-y71avatq.js} +1 -1
  271. package/dist/chunks/{model-resolver-ghdxkhwt.js → websearch-yfazxzvf.js} +30 -30
  272. package/dist/chunks/{model-resolver-8w6zmm29.js → websearch-ygnr1sws.js} +8 -8
  273. package/dist/chunks/{model-resolver-mrrz849e.js → websearch-yjybsv52.js} +11 -11
  274. package/dist/chunks/{model-resolver-8dhmwpck.js → websearch-ypznjkd7.js} +11 -11
  275. package/dist/chunks/{model-resolver-dcgx96r3.js → websearch-yqzb4qk7.js} +23 -23
  276. package/dist/chunks/{model-resolver-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{model-resolver-yrznvahk.js → websearch-yrznvahk.js} +2 -2
  278. package/dist/chunks/{model-resolver-2aet7wja.js → websearch-yvvvp4gn.js} +8 -8
  279. package/dist/chunks/{model-resolver-z07pqspn.js → websearch-z07pqspn.js} +3 -3
  280. package/dist/chunks/{model-resolver-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{model-resolver-awc5gjgd.js → websearch-z4gwm7ej.js} +19 -19
  282. package/dist/chunks/{model-resolver-468xcx49.js → websearch-z4y1yx3e.js} +8 -8
  283. package/dist/chunks/{model-resolver-z63w68vq.js → websearch-z63w68vq.js} +2 -2
  284. package/dist/chunks/{model-resolver-9pwyx6vy.js → websearch-zag1vqwr.js} +8 -8
  285. package/dist/chunks/{model-resolver-7vckzw94.js → websearch-zbcsc03z.js} +9 -9
  286. package/dist/chunks/{model-resolver-24bjdznb.js → websearch-zbtey4zf.js} +25 -25
  287. package/dist/chunks/{model-resolver-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{model-resolver-x9vnjyzm.js → websearch-zfpwxvs5.js} +22 -22
  289. package/dist/chunks/{model-resolver-2zf1ybhy.js → websearch-zm89c310.js} +3 -3
  290. package/dist/chunks/{model-resolver-f4bg3nw3.js → websearch-zr12skm3.js} +84 -84
  291. package/dist/chunks/{model-resolver-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{model-resolver-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +5 -5
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  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 +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +122 -122
  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 +123 -123
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +120 -120
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  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 +85 -85
  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 +372 -372
  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 +222 -222
  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 +11 -11
  431. package/dist/filesystem.js +106 -106
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +2 -2
  434. package/dist/formatter.js +87 -87
  435. package/dist/generate.js +105 -105
  436. package/dist/git.js +6 -6
  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 +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  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 +132 -132
  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 +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  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 +100 -100
  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 +113 -113
  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 +88 -88
  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 +1 -1
  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 +120 -120
  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 +120 -120
  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 +70 -70
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +139 -139
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +350 -350
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +2 -2
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  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 +4 -4
  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 +8 -8
  561. package/dist/plugin.js +226 -226
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  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 +85 -85
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  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 +131 -131
  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 +222 -222
  586. package/dist/session/execution.js +126 -126
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +90 -90
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +93 -93
  594. package/dist/session/message-updater.js +2 -2
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  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 +3 -3
  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 +2 -2
  610. package/dist/session/runner/step.js +124 -124
  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 +209 -209
  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 +219 -219
  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 +15 -15
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +110 -110
  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 +118 -118
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +118 -118
  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 +120 -120
  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 +212 -212
  650. package/dist/tool/plugin/skill.js +109 -109
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +110 -110
  653. package/dist/tool/plugin/websearch.js +112 -112
  654. package/dist/tool/plugin/write.js +122 -122
  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 +16 -16
  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 +3 -3
  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 +5 -5
  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 +3 -3
  679. package/dist/v1/config/plugin.js +1 -1
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  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 +82 -82
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +7 -7
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  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/model-resolver-ap5sg23v.js +0 -252
  701. package/dist/chunks/model-resolver-phz3h32g.js +0 -18
  702. /package/dist/chunks/{model-resolver-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{model-resolver-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{model-resolver-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{model-resolver-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{model-resolver-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{model-resolver-24dcb14g.js → websearch-24dcb14g.js} +0 -0
  708. /package/dist/chunks/{model-resolver-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  709. /package/dist/chunks/{model-resolver-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
  710. /package/dist/chunks/{model-resolver-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  711. /package/dist/chunks/{model-resolver-34c7v6d4.js → websearch-34c7v6d4.js} +0 -0
  712. /package/dist/chunks/{model-resolver-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  713. /package/dist/chunks/{model-resolver-3asan66x.js → websearch-3asan66x.js} +0 -0
  714. /package/dist/chunks/{model-resolver-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  715. /package/dist/chunks/{model-resolver-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
  716. /package/dist/chunks/{model-resolver-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  717. /package/dist/chunks/{model-resolver-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  718. /package/dist/chunks/{model-resolver-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  719. /package/dist/chunks/{model-resolver-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
  720. /package/dist/chunks/{model-resolver-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  721. /package/dist/chunks/{model-resolver-53557ph1.js → websearch-53557ph1.js} +0 -0
  722. /package/dist/chunks/{model-resolver-550bvhaj.js → websearch-550bvhaj.js} +0 -0
  723. /package/dist/chunks/{model-resolver-5qd3pb7m.js → websearch-5qd3pb7m.js} +0 -0
  724. /package/dist/chunks/{model-resolver-6prwharc.js → websearch-6prwharc.js} +0 -0
  725. /package/dist/chunks/{model-resolver-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
  726. /package/dist/chunks/{model-resolver-7m9af43g.js → websearch-7m9af43g.js} +0 -0
  727. /package/dist/chunks/{model-resolver-822emrt2.js → websearch-822emrt2.js} +0 -0
  728. /package/dist/chunks/{model-resolver-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
  729. /package/dist/chunks/{model-resolver-8n3pysct.js → websearch-8n3pysct.js} +0 -0
  730. /package/dist/chunks/{model-resolver-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
  731. /package/dist/chunks/{model-resolver-922hggd3.js → websearch-922hggd3.js} +0 -0
  732. /package/dist/chunks/{model-resolver-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
  733. /package/dist/chunks/{model-resolver-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
  734. /package/dist/chunks/{model-resolver-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
  735. /package/dist/chunks/{model-resolver-af5trqkr.js → websearch-af5trqkr.js} +0 -0
  736. /package/dist/chunks/{model-resolver-afrmfg78.js → websearch-afrmfg78.js} +0 -0
  737. /package/dist/chunks/{model-resolver-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
  738. /package/dist/chunks/{model-resolver-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
  739. /package/dist/chunks/{model-resolver-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
  740. /package/dist/chunks/{model-resolver-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
  741. /package/dist/chunks/{model-resolver-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
  742. /package/dist/chunks/{model-resolver-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
  743. /package/dist/chunks/{model-resolver-d9fn303g.js → websearch-d9fn303g.js} +0 -0
  744. /package/dist/chunks/{model-resolver-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
  745. /package/dist/chunks/{model-resolver-dajrwvna.js → websearch-dajrwvna.js} +0 -0
  746. /package/dist/chunks/{model-resolver-dap0rakb.js → websearch-dap0rakb.js} +0 -0
  747. /package/dist/chunks/{model-resolver-df08tz66.js → websearch-df08tz66.js} +0 -0
  748. /package/dist/chunks/{model-resolver-dy18nga0.js → websearch-dy18nga0.js} +0 -0
  749. /package/dist/chunks/{model-resolver-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
  750. /package/dist/chunks/{model-resolver-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
  751. /package/dist/chunks/{model-resolver-ec1grn59.js → websearch-ec1grn59.js} +0 -0
  752. /package/dist/chunks/{model-resolver-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
  753. /package/dist/chunks/{model-resolver-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
  754. /package/dist/chunks/{model-resolver-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
  755. /package/dist/chunks/{model-resolver-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
  756. /package/dist/chunks/{model-resolver-faypxj3z.js → websearch-faypxj3z.js} +0 -0
  757. /package/dist/chunks/{model-resolver-fd410y7t.js → websearch-fd410y7t.js} +0 -0
  758. /package/dist/chunks/{model-resolver-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
  759. /package/dist/chunks/{model-resolver-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
  760. /package/dist/chunks/{model-resolver-g86h250q.js → websearch-g86h250q.js} +0 -0
  761. /package/dist/chunks/{model-resolver-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
  762. /package/dist/chunks/{model-resolver-gftt206x.js → websearch-gftt206x.js} +0 -0
  763. /package/dist/chunks/{model-resolver-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
  764. /package/dist/chunks/{model-resolver-hk9envan.js → websearch-hk9envan.js} +0 -0
  765. /package/dist/chunks/{model-resolver-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
  766. /package/dist/chunks/{model-resolver-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
  767. /package/dist/chunks/{model-resolver-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
  768. /package/dist/chunks/{model-resolver-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
  769. /package/dist/chunks/{model-resolver-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
  770. /package/dist/chunks/{model-resolver-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
  771. /package/dist/chunks/{model-resolver-mp448xyj.js → websearch-mp448xyj.js} +0 -0
  772. /package/dist/chunks/{model-resolver-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
  773. /package/dist/chunks/{model-resolver-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
  774. /package/dist/chunks/{model-resolver-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
  775. /package/dist/chunks/{model-resolver-njntx4h6.js → websearch-njntx4h6.js} +0 -0
  776. /package/dist/chunks/{model-resolver-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
  777. /package/dist/chunks/{model-resolver-q74kybfr.js → websearch-q74kybfr.js} +0 -0
  778. /package/dist/chunks/{model-resolver-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
  779. /package/dist/chunks/{model-resolver-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
  780. /package/dist/chunks/{model-resolver-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
  781. /package/dist/chunks/{model-resolver-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
  782. /package/dist/chunks/{model-resolver-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
  783. /package/dist/chunks/{model-resolver-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
  784. /package/dist/chunks/{model-resolver-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
  785. /package/dist/chunks/{model-resolver-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
  786. /package/dist/chunks/{model-resolver-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
  787. /package/dist/chunks/{model-resolver-w803qqfp.js → websearch-w803qqfp.js} +0 -0
  788. /package/dist/chunks/{model-resolver-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
  789. /package/dist/chunks/{model-resolver-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
  790. /package/dist/chunks/{model-resolver-wtztk69x.js → websearch-wtztk69x.js} +0 -0
  791. /package/dist/chunks/{model-resolver-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
  792. /package/dist/chunks/{model-resolver-x61499pn.js → websearch-x61499pn.js} +0 -0
  793. /package/dist/chunks/{model-resolver-y44na4kk.js → websearch-y44na4kk.js} +0 -0
  794. /package/dist/chunks/{model-resolver-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
  795. /package/dist/chunks/{model-resolver-y8f7s663.js → websearch-y8f7s663.js} +0 -0
  796. /package/dist/chunks/{model-resolver-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
  797. /package/dist/chunks/{model-resolver-ym463w8f.js → websearch-ym463w8f.js} +0 -0
  798. /package/dist/chunks/{model-resolver-z9919s4g.js → websearch-z9919s4g.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./model-resolver-0703wr40.js";
4
+ } from "./websearch-w2xqxfyd.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./model-resolver-774mep86.js";
8
+ } from "./websearch-t7mjb19w.js";
9
9
  import {
10
- Service45,
11
- node47
12
- } from "./model-resolver-cepnprts.js";
10
+ Service51,
11
+ node54
12
+ } from "./websearch-0fmckw5j.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./model-resolver-gd4qta3r.js";
15
+ } from "./websearch-gd4qta3r.js";
16
16
  import {
17
- Service57,
17
+ Service49,
18
18
  args2,
19
- node60
20
- } from "./model-resolver-zw9m0b6f.js";
19
+ node52
20
+ } from "./websearch-p0szy2by.js";
21
21
  import {
22
- Service78,
23
- node82
24
- } from "./model-resolver-tx9w5tca.js";
22
+ Service73,
23
+ node77
24
+ } from "./websearch-4e8vs6eh.js";
25
25
  import {
26
- Service30,
27
- node33
28
- } from "./model-resolver-2aet7wja.js";
26
+ Service43,
27
+ node46
28
+ } from "./websearch-yvvvp4gn.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./model-resolver-5cmxdwv8.js";
31
+ } from "./websearch-7w99qc9d.js";
32
32
  import {
33
33
  latest2,
34
- Service58,
35
- node61
36
- } from "./model-resolver-cp17smcp.js";
34
+ Service65,
35
+ node68
36
+ } from "./websearch-346nngnc.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./model-resolver-df54n7py.js";
40
+ } from "./websearch-fprafx3g.js";
41
41
  import {
42
42
  __export
43
- } from "./model-resolver-9rqn6x4v.js";
43
+ } from "./websearch-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError6,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service29,
51
+ Service: () => Service42,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node32
54
+ node: () => node45
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service29 extends Context.Service()("@opencode/Shell") {
74
+ class Service42 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service29, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
91
91
  const bus = yield* Service83;
92
92
  const location = yield* Service80;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service57;
95
- const environment = yield* Service45;
96
- const hooks = yield* Service78;
97
- const environments = yield* Service30;
98
- const config = yield* Service58;
94
+ const shell = yield* Service49;
95
+ const environment = yield* Service51;
96
+ const hooks = yield* Service73;
97
+ const environments = yield* Service43;
98
+ const config = yield* Service65;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError4({ id });
119
+ return yield* new NotFoundError6({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError6({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service29, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service29.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service42.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node32 = makeLocationNode({
329
- service: Service29,
328
+ var node45 = makeLocationNode({
329
+ service: Service42,
330
330
  layer: layer(),
331
331
  deps: [
332
332
  node87,
333
333
  node84,
334
334
  Global.node,
335
- node60,
336
- node47,
337
- node82,
338
- node33,
339
- node61,
335
+ node52,
336
+ node54,
337
+ node77,
338
+ node46,
339
+ node68,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service29, cleanup2, node32, exports_shell4 };
344
+ export { NotFoundError6, RETENTION2, DIRECTORY2, Service42, cleanup2, node45, exports_shell4 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-resolver-922hggd3.js";
3
+ } from "./websearch-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./model-resolver-774mep86.js";
6
+ } from "./websearch-t7mjb19w.js";
7
7
  import {
8
- Service74
9
- } from "./model-resolver-g8stq3ct.js";
8
+ Service69
9
+ } from "./websearch-pesdkjj5.js";
10
10
  import {
11
11
  Service11
12
- } from "./model-resolver-gv9h81mr.js";
12
+ } from "./websearch-7z58nj57.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./model-resolver-2a5m3afh.js";
15
+ } from "./websearch-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service9
27
- } from "./model-resolver-23ypespv.js";
26
+ Service12
27
+ } from "./websearch-m9wxg17a.js";
28
28
  import {
29
29
  __export
30
- } from "./model-resolver-9rqn6x4v.js";
30
+ } from "./websearch-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input9,
36
- Plugin: () => Plugin46,
35
+ Input: () => Input3,
36
+ Plugin: () => Plugin37,
37
37
  ReadTool: () => exports_read,
38
- name: () => name9,
39
- toModelContent: () => toModelContent4
38
+ name: () => name3,
39
+ toModelContent: () => toModelContent2
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name9 = "read";
45
+ var name3 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input9 = LocationInput;
56
+ var Input3 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin46 = {
58
+ var Plugin37 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service9;
62
- const access = yield* Service74;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service69;
63
63
  const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service80;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name9,
67
+ name: name3,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input9,
70
+ input: Input3,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin46 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent4(result.path, input.offset, result.output),
115
+ content: toModelContent2(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -145,7 +145,7 @@ ${suggestions.join(`
145
145
  });
146
146
  })
147
147
  };
148
- var toModelContent4 = (path, offset, output) => {
148
+ var toModelContent2 = (path, offset, output) => {
149
149
  if (output.type === "file" && output.encoding === "base64")
150
150
  return [
151
151
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -181,4 +181,4 @@ var toModelContent4 = (path, offset, output) => {
181
181
  `);
182
182
  };
183
183
 
184
- export { name9, Input9, Plugin46, toModelContent4, exports_read };
184
+ export { name3, Input3, Plugin37, toModelContent2, exports_read };
@@ -1,20 +1,20 @@
1
1
  import {
2
- ID15,
2
+ ID11,
3
3
  Name3,
4
4
  defaultID2
5
- } from "./model-resolver-655b29a3.js";
5
+ } from "./websearch-rnn7zy7b.js";
6
6
  import {
7
7
  merge2
8
- } from "./model-resolver-et0bpsn8.js";
8
+ } from "./websearch-67d8jfya.js";
9
9
  import {
10
10
  __export
11
- } from "./model-resolver-9rqn6x4v.js";
11
+ } from "./websearch-9rqn6x4v.js";
12
12
 
13
13
  // src/plugin/agent.ts
14
14
  var exports_agent = {};
15
15
  __export(exports_agent, {
16
16
  AgentPlugin: () => exports_agent,
17
- Plugin: () => Plugin17
17
+ Plugin: () => Plugin9
18
18
  });
19
19
  import { define } from "@opencode/plugin/effect/plugin";
20
20
  import { Effect } from "effect";
@@ -90,7 +90,7 @@ Rules:
90
90
  - Never ask questions or add new questions
91
91
  - If the conversation ends with an unanswered question to the user, preserve that exact question
92
92
  - If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
93
- var Plugin17 = define({
93
+ var Plugin9 = define({
94
94
  id: "opencode.agent",
95
95
  effect: Effect.fn(function* (ctx) {
96
96
  yield* ctx.agent.transform((editor) => {
@@ -100,13 +100,13 @@ var Plugin17 = define({
100
100
  item.mode = "primary";
101
101
  item.permissions.push({ action: "question", resource: "*", effect: "allow" });
102
102
  });
103
- editor.update(ID15.make("general"), (item) => {
103
+ editor.update(ID11.make("general"), (item) => {
104
104
  item.name = Name3.make("General");
105
105
  item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
106
106
  item.mode = "subagent";
107
107
  item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
108
108
  });
109
- editor.update(ID15.make("explore"), (item) => {
109
+ editor.update(ID11.make("explore"), (item) => {
110
110
  const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
111
111
  item.name = Name3.make("Explore");
112
112
  item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
@@ -125,19 +125,19 @@ var Plugin17 = define({
125
125
  { action: "subagent", resource: "*", effect: "deny" }
126
126
  ], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
127
127
  });
128
- editor.update(ID15.make("compaction"), (item) => {
128
+ editor.update(ID11.make("compaction"), (item) => {
129
129
  item.name = Name3.make("Compaction");
130
130
  item.mode = "primary";
131
131
  item.hidden = true;
132
132
  });
133
- editor.update(ID15.make("title"), (item) => {
133
+ editor.update(ID11.make("title"), (item) => {
134
134
  item.name = Name3.make("Title");
135
135
  item.mode = "primary";
136
136
  item.hidden = true;
137
137
  item.system = PROMPT_TITLE;
138
138
  item.permissions.push({ action: "*", resource: "*", effect: "deny" });
139
139
  });
140
- editor.update(ID15.make("summary"), (item) => {
140
+ editor.update(ID11.make("summary"), (item) => {
141
141
  item.name = Name3.make("Summary");
142
142
  item.mode = "primary";
143
143
  item.hidden = true;
@@ -148,4 +148,4 @@ var Plugin17 = define({
148
148
  })
149
149
  });
150
150
 
151
- export { Plugin17, exports_agent };
151
+ export { Plugin9, exports_agent };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  key2
3
- } from "./model-resolver-y6bex35g.js";
3
+ } from "./websearch-dnxkq42g.js";
4
4
  import {
5
5
  Service83
6
- } from "./model-resolver-0703wr40.js";
6
+ } from "./websearch-w2xqxfyd.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./model-resolver-ghdxkhwt.js";
9
+ Event19
10
+ } from "./websearch-yfazxzvf.js";
11
11
  import {
12
- ID10,
12
+ ID14,
13
13
  MethodID2
14
- } from "./model-resolver-4ff0zxak.js";
14
+ } from "./websearch-cbhxcmc1.js";
15
15
  import {
16
- ID9,
16
+ ID13,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service70
20
- } from "./model-resolver-r938b5ge.js";
19
+ Service76
20
+ } from "./websearch-cbw88k9g.js";
21
21
  import {
22
- ID8
23
- } from "./model-resolver-c0xnxeca.js";
22
+ ID12
23
+ } from "./websearch-3p9kjnm5.js";
24
24
  import {
25
- load3,
26
- derive3
27
- } from "./model-resolver-zzd4ahet.js";
25
+ load2,
26
+ derive2
27
+ } from "./websearch-cn8dv2v1.js";
28
28
  import {
29
29
  useragent2
30
- } from "./model-resolver-8k0g7am2.js";
30
+ } from "./websearch-s7mc561m.js";
31
31
  import {
32
- ID15
33
- } from "./model-resolver-655b29a3.js";
32
+ ID11
33
+ } from "./websearch-rnn7zy7b.js";
34
34
  import {
35
- get5
36
- } from "./model-resolver-54ma36ye.js";
35
+ get4
36
+ } from "./websearch-r94pvvab.js";
37
37
 
38
38
  // src/plugin/provider/github-copilot.ts
39
39
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
65
65
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
66
66
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
67
67
  var oauth = (app) => ({
68
- integrationID: ID10.make("github-copilot"),
68
+ integrationID: ID14.make("github-copilot"),
69
69
  method: {
70
70
  id: methodID,
71
71
  type: "oauth",
@@ -163,7 +163,7 @@ var oauth = (app) => ({
163
163
  var GithubCopilotPlugin2 = define({
164
164
  id: "opencode.provider.github.copilot",
165
165
  effect: Effect.fn(function* (ctx) {
166
- const providers = yield* Service70;
166
+ const providers = yield* Service76;
167
167
  const bus = yield* Service83;
168
168
  const loading = Semaphore.makeUnsafe(1);
169
169
  const loaded = {};
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
180
180
  return;
181
181
  }
182
182
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
183
- const provider = yield* providers.get(ID9.githubCopilot);
183
+ const provider = yield* providers.get(ID13.githubCopilot);
184
184
  const remote = yield* Effect.tryPromise({
185
- try: () => load3(url, {
185
+ try: () => load2(url, {
186
186
  ...provider?.headers,
187
187
  Authorization: `Bearer ${credential.refresh}`,
188
188
  "User-Agent": useragent2(ctx.app),
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
202
202
  editor.method.update(oauth(ctx.app));
203
203
  });
204
204
  yield* ctx.provider.transform((evt) => {
205
- const item = evt.get(ID9.githubCopilot);
205
+ const item = evt.get(ID13.githubCopilot);
206
206
  if (!item)
207
207
  return;
208
208
  if (loaded.models) {
209
209
  evt.add({
210
210
  info: item.provider,
211
- models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
211
+ models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
212
212
  sourceConnection: loaded.connection
213
213
  });
214
214
  return;
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
222
222
  }
223
223
  });
224
224
  yield* ctx.model.transform((models) => {
225
- if (models.get(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"))) {
226
- models.update(ID9.githubCopilot, ID8.make("gpt-5-chat-latest"), (model) => {
225
+ if (models.get(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"))) {
226
+ models.update(ID13.githubCopilot, ID12.make("gpt-5-chat-latest"), (model) => {
227
227
  model.enabled = false;
228
228
  });
229
229
  }
230
230
  });
231
231
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
232
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
232
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
233
233
  yield* refresh().pipe(Effect.forkScoped);
234
234
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
235
- if (evt.model.providerID !== ID9.githubCopilot)
235
+ if (evt.model.providerID !== ID13.githubCopilot)
236
236
  return;
237
237
  if (evt.package !== "@ai-sdk/github-copilot")
238
238
  return;
@@ -241,23 +241,23 @@ var GithubCopilotPlugin2 = define({
241
241
  evt.sdk = mod.createOpenaiCompatible(evt.options);
242
242
  }));
243
243
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
244
- if (evt.model.providerID !== ID9.githubCopilot)
244
+ if (evt.model.providerID !== ID13.githubCopilot)
245
245
  return;
246
246
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
247
247
  return;
248
248
  }));
249
249
  const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
250
250
  evt.headers["X-Interaction-Type"] = interaction;
251
- evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
251
+ evt.headers["X-Interaction-Id"] = session ? get4(session) : evt.sessionID;
252
252
  if (interaction !== "conversation-agent")
253
253
  evt.headers["x-initiator"] = "agent";
254
- }), { providerID: ID9.githubCopilot });
254
+ }), { providerID: ID13.githubCopilot });
255
255
  yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
256
- if (evt.model.providerID !== ID9.githubCopilot)
256
+ if (evt.model.providerID !== ID13.githubCopilot)
257
257
  return;
258
258
  if (!loaded.baseURL || !loaded.token || !loaded.models)
259
259
  return;
260
- const agent = yield* ctx.agent.get({ agentID: ID15.make("title") }).pipe(Effect.orElseSucceed(() => {
260
+ const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
261
261
  return;
262
262
  }));
263
263
  if (agent?.data.model)
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
268
268
  evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
269
269
  return;
270
270
  }));
271
- }), { providerID: ID9.githubCopilot });
271
+ }), { providerID: ID13.githubCopilot });
272
272
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
273
- if (evt.model.providerID !== ID9.githubCopilot)
273
+ if (evt.model.providerID !== ID13.githubCopilot)
274
274
  return;
275
275
  const token = evt.request.headers.get("x-api-key");
276
276
  if (!token)
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
278
278
  const text = yield* Effect.promise(() => evt.request.clone().text());
279
279
  const body = Option.getOrUndefined(decodeBody(text));
280
280
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
281
- }), { providerID: ID9.githubCopilot });
281
+ }), { providerID: ID13.githubCopilot });
282
282
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
283
- if (evt.model.providerID !== ID9.githubCopilot)
283
+ if (evt.model.providerID !== ID13.githubCopilot)
284
284
  return;
285
285
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
286
286
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./websearch-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};