@opencode/core 0.0.0-dev-19968 → 0.0.0-dev-19971

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{filesystem-t550f9t1.js → websearch-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{filesystem-8mwr3tr3.js → websearch-09map6a0.js} +24 -24
  9. package/dist/chunks/{filesystem-kepwjj04.js → websearch-0f92sxzd.js} +9 -9
  10. package/dist/chunks/{filesystem-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
  11. package/dist/chunks/{filesystem-ese628mp.js → websearch-0pwhgh8h.js} +27 -27
  12. package/dist/chunks/{filesystem-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{filesystem-5cavj4mt.js → websearch-10915612.js} +13 -13
  14. package/dist/chunks/{filesystem-kc9c06qf.js → websearch-19j60k9b.js} +21 -21
  15. package/dist/chunks/{filesystem-6m3ppzzx.js → websearch-1anmvv20.js} +24 -24
  16. package/dist/chunks/{filesystem-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{filesystem-2yvcjg7x.js → websearch-1kq608fv.js} +27 -27
  18. package/dist/chunks/{filesystem-tk02apgh.js → websearch-1mpytbrd.js} +2 -2
  19. package/dist/chunks/{filesystem-fe2qydnk.js → websearch-1p2sdtde.js} +6 -6
  20. package/dist/chunks/{filesystem-v321thzt.js → websearch-1t2sqhcs.js} +4 -4
  21. package/dist/chunks/{filesystem-984jxsb2.js → websearch-1twwwxc3.js} +7 -7
  22. package/dist/chunks/{filesystem-56gdpj1q.js → websearch-1ygqh575.js} +9 -9
  23. package/dist/chunks/{filesystem-dz8x4rxg.js → websearch-1yv162eq.js} +4 -4
  24. package/dist/chunks/{filesystem-21r38tys.js → websearch-21r38tys.js} +1 -1
  25. package/dist/chunks/{filesystem-2a4f6v5q.js → websearch-2336b01z.js} +8 -8
  26. package/dist/chunks/{filesystem-6h73sxmp.js → websearch-2402vzrj.js} +5 -5
  27. package/dist/chunks/{filesystem-tfrapzag.js → websearch-273x4bvc.js} +17 -17
  28. package/dist/chunks/{filesystem-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
  29. package/dist/chunks/{filesystem-tdj2jmmg.js → websearch-2cby6ycg.js} +22 -22
  30. package/dist/chunks/{filesystem-3ewed21c.js → websearch-2k71kv7p.js} +4 -4
  31. package/dist/chunks/{filesystem-9ggrt063.js → websearch-2rfba7m5.js} +13 -13
  32. package/dist/chunks/{filesystem-fr7p31gg.js → websearch-2rshs1gx.js} +32 -32
  33. package/dist/chunks/{filesystem-evbgk2k8.js → websearch-37s12vcn.js} +5 -5
  34. package/dist/chunks/{filesystem-w4arg62q.js → websearch-3a6re68j.js} +6 -6
  35. package/dist/chunks/{filesystem-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{filesystem-315q9sqw.js → websearch-3gr5sfar.js} +10 -10
  37. package/dist/chunks/{filesystem-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{filesystem-wz3jbs46.js → websearch-3mms5ene.js} +3 -3
  39. package/dist/chunks/{filesystem-66v3shg0.js → websearch-3mwrkndb.js} +15 -15
  40. package/dist/chunks/{filesystem-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{filesystem-03qp45f7.js → websearch-3t60d24d.js} +7 -7
  42. package/dist/chunks/{filesystem-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{filesystem-xkvv7e7p.js → websearch-3va2t4ne.js} +21 -21
  44. package/dist/chunks/{filesystem-nfdxhgw7.js → websearch-3yfsrc7f.js} +8 -8
  45. package/dist/chunks/{filesystem-07cknprf.js → websearch-47j6g49p.js} +84 -84
  46. package/dist/chunks/{filesystem-qpk9q6jw.js → websearch-484ven3d.js} +10 -10
  47. package/dist/chunks/{filesystem-k6w0f24y.js → websearch-490js09j.js} +7 -7
  48. package/dist/chunks/{filesystem-v0jz8j41.js → websearch-4argy660.js} +20 -20
  49. package/dist/chunks/{filesystem-dxath9w1.js → websearch-4bfr0h1a.js} +26 -26
  50. package/dist/chunks/{filesystem-qvb3nf84.js → websearch-4c8bw516.js} +8 -8
  51. package/dist/chunks/{filesystem-4f6fk8j7.js → websearch-4emms01x.js} +43 -43
  52. package/dist/chunks/{filesystem-kr1rbf8c.js → websearch-4nwwzap6.js} +13 -13
  53. package/dist/chunks/{filesystem-rtz42hzw.js → websearch-4rdw2jk2.js} +11 -11
  54. package/dist/chunks/websearch-4v7qdvcn.js +18 -0
  55. package/dist/chunks/{filesystem-f5gy8qwh.js → websearch-4z78jc8k.js} +4 -4
  56. package/dist/chunks/{filesystem-wwsm4ja9.js → websearch-52j4gwnf.js} +5 -5
  57. package/dist/chunks/{filesystem-qqeeq2t9.js → websearch-57b9ws8p.js} +4 -4
  58. package/dist/chunks/{filesystem-57ez7d0k.js → websearch-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{filesystem-q04s9zb8.js → websearch-5bgxqkp2.js} +8 -8
  60. package/dist/chunks/{filesystem-5daktx2q.js → websearch-5daktx2q.js} +1 -1
  61. package/dist/chunks/{filesystem-a9j7mz3k.js → websearch-5g1dq8q7.js} +14 -14
  62. package/dist/chunks/{filesystem-1yx9ccg8.js → websearch-5khnppx8.js} +13 -13
  63. package/dist/chunks/{filesystem-367n4pkp.js → websearch-5pep6vw4.js} +14 -14
  64. package/dist/chunks/{filesystem-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{filesystem-mebwty07.js → websearch-5vz0r8c8.js} +25 -25
  66. package/dist/chunks/{filesystem-8hvwwpmz.js → websearch-5zrdtdrf.js} +11 -11
  67. package/dist/chunks/{filesystem-swkgbbmy.js → websearch-657t18yv.js} +4 -4
  68. package/dist/chunks/{filesystem-yech8yc4.js → websearch-65ecsfj5.js} +16 -16
  69. package/dist/chunks/{filesystem-669tq793.js → websearch-669tq793.js} +1 -1
  70. package/dist/chunks/{filesystem-hxtyzbxe.js → websearch-67z5vx6v.js} +16 -16
  71. package/dist/chunks/{filesystem-5crjye1b.js → websearch-68s0cpd5.js} +1 -1
  72. package/dist/chunks/{filesystem-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
  73. package/dist/chunks/{filesystem-h3w2pzs8.js → websearch-6mtbrevk.js} +15 -15
  74. package/dist/chunks/{filesystem-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{filesystem-awwr15q3.js → websearch-7hb0xpq9.js} +35 -35
  76. package/dist/chunks/{filesystem-6pz80v41.js → websearch-7j2yenkd.js} +5 -5
  77. package/dist/chunks/{filesystem-j710vash.js → websearch-7m2tq7cp.js} +12 -12
  78. package/dist/chunks/{filesystem-bcb5hys9.js → websearch-7w3s9kd0.js} +6 -6
  79. package/dist/chunks/{filesystem-48zn05f2.js → websearch-7zchfbzk.js} +5 -5
  80. package/dist/chunks/{filesystem-qgahmr9f.js → websearch-85h867b1.js} +46 -46
  81. package/dist/chunks/{filesystem-89znhe33.js → websearch-89znhe33.js} +1 -1
  82. package/dist/chunks/{filesystem-s5met55r.js → websearch-8ank75fn.js} +8 -8
  83. package/dist/chunks/{filesystem-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{filesystem-w5ce3m9w.js → websearch-8g41p69m.js} +11 -11
  85. package/dist/chunks/{filesystem-e2hjzebn.js → websearch-8gxqpgph.js} +4 -4
  86. package/dist/chunks/{filesystem-qn27zvar.js → websearch-8h6f0t3s.js} +21 -21
  87. package/dist/chunks/{filesystem-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
  88. package/dist/chunks/{filesystem-fchff7g2.js → websearch-8rcz2q6j.js} +26 -26
  89. package/dist/chunks/{filesystem-ec8389mk.js → websearch-8s8mxddj.js} +4 -4
  90. package/dist/chunks/{filesystem-9a9gf2p8.js → websearch-8ssqt2ma.js} +44 -20
  91. package/dist/chunks/{filesystem-vzmjqrzc.js → websearch-8wf96ssr.js} +15 -15
  92. package/dist/chunks/{filesystem-zpv4nz19.js → websearch-8zyqjgnv.js} +23 -23
  93. package/dist/chunks/{filesystem-b24zw4yy.js → websearch-96dfwwyn.js} +3 -3
  94. package/dist/chunks/{filesystem-db81embj.js → websearch-98v28jez.js} +25 -25
  95. package/dist/chunks/{filesystem-rf0nmp6z.js → websearch-9fe2175z.js} +19 -19
  96. package/dist/chunks/{filesystem-jaqhawhw.js → websearch-9jan11yy.js} +24 -24
  97. package/dist/chunks/{filesystem-bmtrff8t.js → websearch-9ykp1bjn.js} +20 -20
  98. package/dist/chunks/{filesystem-kr3cfjxs.js → websearch-9yx7mf9e.js} +24 -24
  99. package/dist/chunks/{filesystem-grmnzeke.js → websearch-9zt0qaq4.js} +14 -14
  100. package/dist/chunks/{filesystem-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
  101. package/dist/chunks/{filesystem-x0egy8f5.js → websearch-a30y0zke.js} +21 -21
  102. package/dist/chunks/{filesystem-qrjye5nx.js → websearch-a34cw71v.js} +5 -5
  103. package/dist/chunks/{filesystem-g3kw94se.js → websearch-a37y538j.js} +8 -8
  104. package/dist/chunks/{filesystem-aaet6srn.js → websearch-aaet6srn.js} +2 -2
  105. package/dist/chunks/{filesystem-dq0v80fr.js → websearch-afed7ext.js} +5 -5
  106. package/dist/chunks/{filesystem-hp7p304c.js → websearch-ap1jv5wd.js} +10 -10
  107. package/dist/chunks/{filesystem-g5hy5kmy.js → websearch-aqekamra.js} +9 -9
  108. package/dist/chunks/{filesystem-v10hvdrj.js → websearch-atp9h773.js} +15 -15
  109. package/dist/chunks/{filesystem-tt1k1f2x.js → websearch-axgxjnt4.js} +11 -11
  110. package/dist/chunks/websearch-ayg7q4gs.js +252 -0
  111. package/dist/chunks/{filesystem-mhpg8jts.js → websearch-b1p2bp1h.js} +10 -10
  112. package/dist/chunks/{filesystem-y86nc7k9.js → websearch-b2wvp900.js} +5 -5
  113. package/dist/chunks/{filesystem-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{filesystem-qd2k5aj0.js → websearch-b6m9cw84.js} +11 -11
  115. package/dist/chunks/{filesystem-2rvjwpf0.js → websearch-bbx8rj45.js} +11 -11
  116. package/dist/chunks/{filesystem-j83byb14.js → websearch-bct739vz.js} +4 -4
  117. package/dist/chunks/{filesystem-46ayrqc0.js → websearch-bg1wpsny.js} +30 -30
  118. package/dist/chunks/{filesystem-g7qez7ar.js → websearch-bjnm8sq4.js} +3 -3
  119. package/dist/chunks/{filesystem-7a4kky8k.js → websearch-bkt3ke4c.js} +16 -16
  120. package/dist/chunks/{filesystem-726ec35f.js → websearch-bt4vczj1.js} +17 -17
  121. package/dist/chunks/{filesystem-zjnwzkxq.js → websearch-c4b2kpxw.js} +11 -11
  122. package/dist/chunks/{filesystem-g190xswt.js → websearch-cavr175a.js} +4 -4
  123. package/dist/chunks/{filesystem-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{filesystem-vrqcba6b.js → websearch-ch9ef3fj.js} +4 -4
  125. package/dist/chunks/{filesystem-44h5tttr.js → websearch-cpj0znwe.js} +4 -4
  126. package/dist/chunks/{filesystem-kjpvn9gz.js → websearch-ctg6kqhn.js} +7 -7
  127. package/dist/chunks/{filesystem-yxwwfj09.js → websearch-cw351spq.js} +3 -3
  128. package/dist/chunks/{filesystem-m977vtgv.js → websearch-d9rywp8y.js} +27 -27
  129. package/dist/chunks/{filesystem-met5cert.js → websearch-db4bfb5s.js} +11 -11
  130. package/dist/chunks/{filesystem-vqqa88a0.js → websearch-dps2ye13.js} +17 -17
  131. package/dist/chunks/{filesystem-8v6pyhej.js → websearch-dv1qgsyq.js} +8 -8
  132. package/dist/chunks/{filesystem-hahrk1qf.js → websearch-dxvesfzj.js} +38 -38
  133. package/dist/chunks/{filesystem-2yx30dk6.js → websearch-e0pc9hss.js} +17 -17
  134. package/dist/chunks/{filesystem-5fe2effp.js → websearch-e1jqcehv.js} +16 -16
  135. package/dist/chunks/{filesystem-xnqh7ddg.js → websearch-e3rd11p8.js} +17 -17
  136. package/dist/chunks/{filesystem-71yfdm4g.js → websearch-e61g2f31.js} +8 -8
  137. package/dist/chunks/{filesystem-kybncw40.js → websearch-eamc0k64.js} +49 -49
  138. package/dist/chunks/{filesystem-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
  139. package/dist/chunks/{filesystem-1vr7vy9f.js → websearch-efqyzrtz.js} +7 -7
  140. package/dist/chunks/{filesystem-40n4jky6.js → websearch-eg9c94rq.js} +1 -1
  141. package/dist/chunks/{filesystem-13fp0ry5.js → websearch-emq5vpv3.js} +24 -24
  142. package/dist/chunks/{filesystem-vkhk71nk.js → websearch-enpg5945.js} +16 -16
  143. package/dist/chunks/{filesystem-73tb2d7t.js → websearch-eq1pz5kg.js} +3 -3
  144. package/dist/chunks/{filesystem-ks2vqhf1.js → websearch-ernzmvnm.js} +31 -31
  145. package/dist/chunks/{filesystem-erw5rpbs.js → websearch-erw5rpbs.js} +2 -2
  146. package/dist/chunks/{filesystem-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
  147. package/dist/chunks/{filesystem-kvnpp68b.js → websearch-eynpjjts.js} +9 -9
  148. package/dist/chunks/{filesystem-794cfd8q.js → websearch-ezd1shxf.js} +26 -26
  149. package/dist/chunks/{filesystem-f828m53h.js → websearch-f828m53h.js} +2 -2
  150. package/dist/chunks/{filesystem-wjxs5s53.js → websearch-f9tzck21.js} +14 -14
  151. package/dist/chunks/{filesystem-xjtsx636.js → websearch-fhz5gfgy.js} +5 -5
  152. package/dist/chunks/{filesystem-15jj1v8s.js → websearch-fsnmy6e7.js} +4 -4
  153. package/dist/chunks/{filesystem-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
  154. package/dist/chunks/{filesystem-bajakh74.js → websearch-fxqygnfa.js} +4 -4
  155. package/dist/chunks/{filesystem-1sj6h7by.js → websearch-g4mwgykz.js} +9 -9
  156. package/dist/chunks/{filesystem-818pfwc9.js → websearch-g8jasmdt.js} +8 -8
  157. package/dist/chunks/{filesystem-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{filesystem-fpq9acqp.js → websearch-gjmk74th.js} +6 -6
  159. package/dist/chunks/{filesystem-vd0xk4sc.js → websearch-gmjjhz4f.js} +3 -3
  160. package/dist/chunks/{filesystem-2427g10n.js → websearch-gv5sesne.js} +17 -17
  161. package/dist/chunks/{filesystem-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
  162. package/dist/chunks/{filesystem-grac4bzh.js → websearch-gyj5qngc.js} +25 -25
  163. package/dist/chunks/{filesystem-edh3qeam.js → websearch-gzahs6bb.js} +17 -17
  164. package/dist/chunks/{filesystem-jyjec5pm.js → websearch-h5crbhmb.js} +13 -13
  165. package/dist/chunks/{filesystem-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
  166. package/dist/chunks/{filesystem-xdrba4jw.js → websearch-hc9acsgr.js} +9 -9
  167. package/dist/chunks/{filesystem-wz13sdny.js → websearch-hcpzh4y5.js} +22 -22
  168. package/dist/chunks/{filesystem-nkwqxfa5.js → websearch-hfdggbzh.js} +15 -15
  169. package/dist/chunks/{filesystem-16k897g6.js → websearch-hm7h5fnq.js} +79 -79
  170. package/dist/chunks/{filesystem-2m0fmnh7.js → websearch-hppyn5sa.js} +11 -11
  171. package/dist/chunks/{filesystem-skzznzbs.js → websearch-j1g0a8z5.js} +22 -22
  172. package/dist/chunks/{filesystem-j56e64zr.js → websearch-j56e64zr.js} +1 -1
  173. package/dist/chunks/{filesystem-n52vytmr.js → websearch-j841wva5.js} +18 -18
  174. package/dist/chunks/{filesystem-tdgd79rq.js → websearch-jca4demv.js} +2 -2
  175. package/dist/chunks/{filesystem-mnbb8qz6.js → websearch-jcynjjsm.js} +6 -6
  176. package/dist/chunks/{filesystem-r80rqf00.js → websearch-jdqyxw3b.js} +6 -6
  177. package/dist/chunks/{filesystem-vxacc3vd.js → websearch-jdtnppjh.js} +12 -12
  178. package/dist/chunks/{filesystem-gsky0jx5.js → websearch-jfgwv67f.js} +8 -8
  179. package/dist/chunks/{filesystem-sthqeftk.js → websearch-jxy9pp01.js} +30 -30
  180. package/dist/chunks/{filesystem-nzks3jc8.js → websearch-k3c624dm.js} +3 -3
  181. package/dist/chunks/{filesystem-8jvadsa9.js → websearch-k72x7rmb.js} +6 -6
  182. package/dist/chunks/{filesystem-eftxckxc.js → websearch-kbabe8wy.js} +10 -10
  183. package/dist/chunks/{filesystem-mn84faw2.js → websearch-kf97d77q.js} +20 -20
  184. package/dist/chunks/{filesystem-wmgcd47k.js → websearch-kskv054x.js} +9 -9
  185. package/dist/chunks/{filesystem-e3tgbcs4.js → websearch-kz4d7gxj.js} +5 -5
  186. package/dist/chunks/{filesystem-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
  187. package/dist/chunks/{filesystem-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{filesystem-j6ye8ttg.js → websearch-m9x5r80r.js} +8 -8
  189. package/dist/chunks/{filesystem-3sfkgk8j.js → websearch-mgmaefw5.js} +6 -6
  190. package/dist/chunks/{filesystem-4d658vbe.js → websearch-mrrrmvzm.js} +32 -32
  191. package/dist/chunks/{filesystem-qa3qhgw8.js → websearch-mtq6xxnx.js} +7 -7
  192. package/dist/chunks/{filesystem-w7zfn541.js → websearch-mv0eyhkp.js} +10 -10
  193. package/dist/chunks/{filesystem-bf42px1p.js → websearch-n64525wv.js} +33 -33
  194. package/dist/chunks/{filesystem-ngq841kw.js → websearch-n8x6vg9c.js} +34 -34
  195. package/dist/chunks/{filesystem-nt3wrqm0.js → websearch-neyhfhbv.js} +20 -20
  196. package/dist/chunks/{filesystem-sq3japyz.js → websearch-nfvzb2qa.js} +15 -15
  197. package/dist/chunks/{filesystem-t8qw8ht6.js → websearch-ng2t6yjv.js} +4 -4
  198. package/dist/chunks/{filesystem-dxwm750g.js → websearch-nmtdsvx9.js} +2 -2
  199. package/dist/chunks/{filesystem-zvtjwpsx.js → websearch-nwjqq5p1.js} +13 -13
  200. package/dist/chunks/{filesystem-p28j5sbe.js → websearch-p28j5sbe.js} +2 -2
  201. package/dist/chunks/{filesystem-jd17btx7.js → websearch-p491qsmh.js} +18 -18
  202. package/dist/chunks/{filesystem-7bg29hqq.js → websearch-p5n00eja.js} +44 -44
  203. package/dist/chunks/{filesystem-81czwxpn.js → websearch-paegk39x.js} +4 -4
  204. package/dist/chunks/{filesystem-xb8c9x5k.js → websearch-pb5amgwz.js} +23 -23
  205. package/dist/chunks/{filesystem-my7dxsb1.js → websearch-pe1tjmn3.js} +11 -11
  206. package/dist/chunks/{filesystem-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{filesystem-pknna89w.js → websearch-pknna89w.js} +1 -1
  208. package/dist/chunks/{filesystem-qry1ksyx.js → websearch-psa6e1wa.js} +22 -22
  209. package/dist/chunks/{filesystem-0zn36fza.js → websearch-pv02emkf.js} +5 -5
  210. package/dist/chunks/{filesystem-b5wjsjny.js → websearch-pvcexzwr.js} +6 -6
  211. package/dist/chunks/{filesystem-ww56n17f.js → websearch-pvh6zpvx.js} +31 -31
  212. package/dist/chunks/{filesystem-bgg2t0gn.js → websearch-pwvve957.js} +11 -11
  213. package/dist/chunks/{filesystem-1x75wf9g.js → websearch-q17z9dx8.js} +5 -5
  214. package/dist/chunks/{filesystem-vjnb44yt.js → websearch-q3t37ft6.js} +3 -3
  215. package/dist/chunks/{filesystem-y56rcaa9.js → websearch-q5v2a16e.js} +4 -4
  216. package/dist/chunks/{filesystem-pnv527nz.js → websearch-qg0jgkcp.js} +9 -9
  217. package/dist/chunks/{filesystem-0jwsre1p.js → websearch-qgn6gcr1.js} +5 -5
  218. package/dist/chunks/{filesystem-d4he2qe1.js → websearch-qmqgtz8f.js} +9 -9
  219. package/dist/chunks/{filesystem-p1yj9rea.js → websearch-qn9b0sqe.js} +11 -11
  220. package/dist/chunks/{filesystem-yykhtw2b.js → websearch-qrpkzea1.js} +25 -25
  221. package/dist/chunks/{filesystem-qsdy395h.js → websearch-qsdy395h.js} +1 -1
  222. package/dist/chunks/{filesystem-3q78x1dv.js → websearch-qxgb7w54.js} +47 -47
  223. package/dist/chunks/{filesystem-hm7q9217.js → websearch-qyv22f12.js} +10 -10
  224. package/dist/chunks/websearch-r0snc0mf.js +26 -0
  225. package/dist/chunks/{filesystem-zvxfwhrf.js → websearch-r0y2mygc.js} +18 -18
  226. package/dist/chunks/{filesystem-93cj6zmr.js → websearch-r2gdke7a.js} +7 -7
  227. package/dist/chunks/{filesystem-j797beme.js → websearch-r6bhbggm.js} +29 -29
  228. package/dist/chunks/{filesystem-nzkfsc2b.js → websearch-r6fe7wqt.js} +10 -10
  229. package/dist/chunks/{filesystem-1acjjqhc.js → websearch-r8xr0va3.js} +4 -4
  230. package/dist/chunks/{filesystem-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
  231. package/dist/chunks/{filesystem-qehgnnt6.js → websearch-rftj34h1.js} +16 -16
  232. package/dist/chunks/{filesystem-3fvwfshq.js → websearch-rg63q7m0.js} +24 -24
  233. package/dist/chunks/{filesystem-b8xkcadc.js → websearch-rhj3edsb.js} +42 -42
  234. package/dist/chunks/{filesystem-9zdp25nh.js → websearch-rnxvhcjb.js} +61 -61
  235. package/dist/chunks/{filesystem-txhkcd96.js → websearch-sc2b8fmw.js} +28 -28
  236. package/dist/chunks/{filesystem-7e47eksq.js → websearch-sgm3x1y6.js} +20 -20
  237. package/dist/chunks/{filesystem-kxvxc5re.js → websearch-sneexhcr.js} +33 -33
  238. package/dist/chunks/{filesystem-6v7g53sy.js → websearch-sv2wt6jj.js} +23 -23
  239. package/dist/chunks/{filesystem-36j95q9q.js → websearch-sxsb2wh5.js} +29 -29
  240. package/dist/chunks/{filesystem-pc2tjt9j.js → websearch-syxn4zf7.js} +16 -16
  241. package/dist/chunks/{filesystem-jpg3dfx2.js → websearch-t23sgjx0.js} +170 -170
  242. package/dist/chunks/{filesystem-22fs68yw.js → websearch-t7y12kcc.js} +3 -3
  243. package/dist/chunks/{filesystem-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{filesystem-19w9qk9n.js → websearch-tcg29b4q.js} +1 -1
  245. package/dist/chunks/{filesystem-tdstcens.js → websearch-tdstcens.js} +1 -1
  246. package/dist/chunks/{filesystem-mhyw0mv8.js → websearch-tsgfq9bb.js} +5 -5
  247. package/dist/chunks/{filesystem-mnk47x55.js → websearch-tt85xgdw.js} +30 -30
  248. package/dist/chunks/{filesystem-tvtrv512.js → websearch-tvtrv512.js} +1 -1
  249. package/dist/chunks/{filesystem-d0g5vkrh.js → websearch-tx1ywgy3.js} +14 -14
  250. package/dist/chunks/{filesystem-pha35y92.js → websearch-v3wvqj48.js} +14 -14
  251. package/dist/chunks/{filesystem-brwjxhej.js → websearch-v6v4kqhc.js} +48 -48
  252. package/dist/chunks/{filesystem-veqvce7d.js → websearch-veqvce7d.js} +1 -1
  253. package/dist/chunks/{filesystem-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
  254. package/dist/chunks/{filesystem-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{filesystem-svap4v14.js → websearch-wbhf1d2f.js} +25 -25
  256. package/dist/chunks/{filesystem-yjptyezs.js → websearch-wbkyxrgf.js} +5 -5
  257. package/dist/chunks/{filesystem-wd87259q.js → websearch-wd87259q.js} +1 -1
  258. package/dist/chunks/{filesystem-zwx65035.js → websearch-wk20jg90.js} +44 -44
  259. package/dist/chunks/{filesystem-wk5z6jzv.js → websearch-wk5z6jzv.js} +2 -2
  260. package/dist/chunks/{filesystem-s6v8axxj.js → websearch-wr1n0z8j.js} +317 -317
  261. package/dist/chunks/{filesystem-zkhexgat.js → websearch-wxv342sh.js} +29 -29
  262. package/dist/chunks/{filesystem-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{filesystem-77dd9v53.js → websearch-x1zq0qjw.js} +16 -16
  264. package/dist/chunks/{filesystem-7m52tntm.js → websearch-x7c0erfj.js} +37 -37
  265. package/dist/chunks/{filesystem-mmr7bq34.js → websearch-xfdrc2qg.js} +6 -6
  266. package/dist/chunks/{filesystem-gg9gwaxk.js → websearch-xh3hyv3f.js} +13 -13
  267. package/dist/chunks/{filesystem-7n1bffd1.js → websearch-y0enq6yx.js} +43 -43
  268. package/dist/chunks/{filesystem-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{filesystem-y71avatq.js → websearch-y71avatq.js} +1 -1
  270. package/dist/chunks/{filesystem-6qr3rp4k.js → websearch-ydgy0jv4.js} +6 -6
  271. package/dist/chunks/{filesystem-zxb2s64m.js → websearch-ygv8vf3r.js} +4 -4
  272. package/dist/chunks/{filesystem-gkek2rvn.js → websearch-yqc7fef7.js} +3 -3
  273. package/dist/chunks/{filesystem-ztj62dtv.js → websearch-yr8w2f7w.js} +29 -29
  274. package/dist/chunks/{filesystem-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{filesystem-yrznvahk.js → websearch-yrznvahk.js} +2 -2
  276. package/dist/chunks/{filesystem-pecb0brz.js → websearch-yt0fqk68.js} +5 -5
  277. package/dist/chunks/{filesystem-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{filesystem-pqcpq1re.js → websearch-z0tn3z5h.js} +17 -17
  279. package/dist/chunks/{filesystem-z63w68vq.js → websearch-z63w68vq.js} +2 -2
  280. package/dist/chunks/{filesystem-x65z75f3.js → websearch-z6wvr5eg.js} +3 -3
  281. package/dist/chunks/{filesystem-kypwf0cg.js → websearch-z7x2t1h4.js} +26 -26
  282. package/dist/chunks/{filesystem-5g1dwb5p.js → websearch-zans6vvk.js} +33 -33
  283. package/dist/chunks/{filesystem-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{filesystem-ksn5d0ww.js → websearch-zg4xcdcw.js} +24 -24
  285. package/dist/chunks/{filesystem-b0b9rar1.js → websearch-zmjry135.js} +3 -3
  286. package/dist/chunks/{filesystem-ccfvz9bx.js → websearch-zpya8g88.js} +3 -3
  287. package/dist/chunks/{filesystem-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{filesystem-f88yg6e4.js → websearch-ztz4j6tx.js} +11 -11
  289. package/dist/chunks/{filesystem-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +124 -124
  299. package/dist/config/plugin/command.js +213 -213
  300. package/dist/config/plugin/compaction.js +161 -161
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +124 -124
  307. package/dist/config/plugin/mcp.js +131 -131
  308. package/dist/config/plugin/policy.js +123 -123
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +143 -143
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +125 -125
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +369 -369
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +226 -226
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +98 -98
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +103 -103
  429. package/dist/form.js +85 -85
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +104 -104
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +98 -98
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +360 -360
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +131 -131
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +103 -103
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +357 -357
  471. package/dist/location.js +80 -80
  472. package/dist/managed-policy.js +3 -3
  473. package/dist/mcp/client.js +90 -90
  474. package/dist/mcp/index.js +105 -105
  475. package/dist/mcp/instructions.js +123 -123
  476. package/dist/mcp/oauth.js +77 -77
  477. package/dist/mcp/stdio.js +89 -89
  478. package/dist/mime.js +1 -1
  479. package/dist/modal/models.js +98 -98
  480. package/dist/model-resolver.js +97 -97
  481. package/dist/model.js +101 -101
  482. package/dist/models-dev.js +100 -100
  483. package/dist/oauth/page.js +1 -1
  484. package/dist/permission/saved.js +81 -81
  485. package/dist/permission/sql.js +5 -5
  486. package/dist/permission.js +112 -112
  487. package/dist/persistent-pty/binary.bun.js +1 -1
  488. package/dist/persistent-pty/daemon.js +1 -1
  489. package/dist/persistent-pty/index.js +87 -87
  490. package/dist/persistent-pty/pty-binding.js +1 -1
  491. package/dist/persistent-pty.js +74 -74
  492. package/dist/plugin/agent.js +103 -103
  493. package/dist/plugin/command.js +100 -100
  494. package/dist/plugin/compaction.js +132 -132
  495. package/dist/plugin/hooks.js +5 -5
  496. package/dist/plugin/host.js +217 -217
  497. package/dist/plugin/identity.js +3 -3
  498. package/dist/plugin/instance.js +5 -5
  499. package/dist/plugin/internal.js +331 -331
  500. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  501. package/dist/plugin/models-dev.js +95 -95
  502. package/dist/plugin/module.js +5 -5
  503. package/dist/plugin/optimize.js +4 -4
  504. package/dist/plugin/plan.js +101 -101
  505. package/dist/plugin/promise.js +1 -1
  506. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  507. package/dist/plugin/provider/azure.js +121 -121
  508. package/dist/plugin/provider/cerebras.js +1 -1
  509. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  510. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  511. package/dist/plugin/provider/cohere.js +2 -2
  512. package/dist/plugin/provider/configured.js +118 -118
  513. package/dist/plugin/provider/digitalocean.js +92 -92
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/gateway.js +2 -2
  517. package/dist/plugin/provider/github-copilot.js +92 -92
  518. package/dist/plugin/provider/gitlab.js +90 -90
  519. package/dist/plugin/provider/google-vertex.js +89 -89
  520. package/dist/plugin/provider/kilo.js +1 -1
  521. package/dist/plugin/provider/llmgateway.js +76 -76
  522. package/dist/plugin/provider/lmstudio.js +121 -121
  523. package/dist/plugin/provider/modal.js +91 -91
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +121 -121
  526. package/dist/plugin/provider/openai.js +93 -93
  527. package/dist/plugin/provider/opencode.js +93 -93
  528. package/dist/plugin/provider/openrouter.js +90 -90
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +77 -77
  531. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  532. package/dist/plugin/provider/sap-ai-core.js +90 -90
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  535. package/dist/plugin/provider/venice.js +2 -2
  536. package/dist/plugin/provider/vercel.js +89 -89
  537. package/dist/plugin/provider/vllm.js +119 -119
  538. package/dist/plugin/provider/xai.js +90 -90
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +159 -159
  541. package/dist/plugin/sdk.js +75 -75
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +140 -140
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +348 -348
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +2 -2
  548. package/dist/plugin/vcs/git.js +85 -85
  549. package/dist/plugin/vcs/hg.js +85 -85
  550. package/dist/plugin/warming.js +120 -120
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +224 -224
  559. package/dist/project/schema.js +2 -2
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +79 -79
  562. package/dist/provider.js +100 -100
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/schema.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +85 -85
  567. package/dist/reference/instructions.js +88 -88
  568. package/dist/reference.js +90 -90
  569. package/dist/repository-cache.js +80 -80
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +94 -94
  573. package/dist/rpc.js +85 -85
  574. package/dist/schema.js +1 -1
  575. package/dist/session/command.js +73 -73
  576. package/dist/session/compaction.js +133 -133
  577. package/dist/session/context.js +151 -151
  578. package/dist/session/diff.js +87 -87
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +3 -3
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +220 -220
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +152 -152
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +89 -89
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +78 -78
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +96 -96
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +118 -118
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +129 -129
  596. package/dist/session/projector.js +85 -85
  597. package/dist/session/prompt.js +104 -104
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +89 -89
  600. package/dist/session/run-coordinator.js +3 -3
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +228 -228
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +97 -97
  605. package/dist/session/runner/publish-llm-event.js +3 -3
  606. package/dist/session/runner/retry.js +113 -113
  607. package/dist/session/runner/step.js +123 -123
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +171 -171
  611. package/dist/session/shell.js +137 -137
  612. package/dist/session/skill.js +102 -102
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +72 -72
  615. package/dist/session/store.js +86 -86
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +209 -209
  618. package/dist/session/system-prompt.js +3 -3
  619. package/dist/session/title.js +149 -149
  620. package/dist/session/to-session-error.js +110 -110
  621. package/dist/session/transfer.js +213 -213
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +213 -213
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +15 -15
  628. package/dist/shell.js +139 -139
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +104 -104
  631. package/dist/skill.js +107 -107
  632. package/dist/snapshot.js +88 -88
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +124 -124
  637. package/dist/tool/plugin/edit.js +119 -119
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +123 -123
  640. package/dist/tool/plugin/grep.js +123 -123
  641. package/dist/tool/plugin/opencode.js +3 -3
  642. package/dist/tool/plugin/patch.js +121 -121
  643. package/dist/tool/plugin/question.js +104 -104
  644. package/dist/tool/plugin/read.js +124 -124
  645. package/dist/tool/plugin/shell.js +214 -214
  646. package/dist/tool/plugin/skill.js +106 -106
  647. package/dist/tool/plugin/subagent.js +218 -218
  648. package/dist/tool/plugin/webfetch.js +111 -111
  649. package/dist/tool/plugin/websearch.js +111 -111
  650. package/dist/tool/plugin/write.js +121 -121
  651. package/dist/tool/read-filesystem.js +99 -99
  652. package/dist/tool/runtime.js +1 -1
  653. package/dist/tool-output.js +8 -8
  654. package/dist/tool.js +12 -12
  655. package/dist/util/error-summary.js +1 -1
  656. package/dist/util/error.js +1 -1
  657. package/dist/util/git-executable.js +2 -2
  658. package/dist/util/iife.js +1 -1
  659. package/dist/util/lazy.js +1 -1
  660. package/dist/util/slug.js +1 -1
  661. package/dist/util/token.js +1 -1
  662. package/dist/util/which.js +1 -1
  663. package/dist/util/wildcard.js +1 -1
  664. package/dist/v1/config/agent.js +5 -5
  665. package/dist/v1/config/attachment.js +4 -4
  666. package/dist/v1/config/command.js +5 -5
  667. package/dist/v1/config/config.js +16 -16
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/formatter.js +5 -5
  670. package/dist/v1/config/layout.js +1 -1
  671. package/dist/v1/config/lsp.js +5 -5
  672. package/dist/v1/config/mcp.js +4 -4
  673. package/dist/v1/config/migrate.js +91 -91
  674. package/dist/v1/config/permission.js +3 -3
  675. package/dist/v1/config/plugin.js +3 -3
  676. package/dist/v1/config/provider-options.js +1 -1
  677. package/dist/v1/config/provider.js +4 -4
  678. package/dist/v1/config/server.js +2 -2
  679. package/dist/v1/config/skills.js +3 -3
  680. package/dist/v1/permission.js +1 -1
  681. package/dist/variant.js +90 -90
  682. package/dist/vcs/patch.js +1 -1
  683. package/dist/vcs.js +88 -88
  684. package/dist/websearch.js +83 -83
  685. package/dist/wellknown/plugin.js +73 -73
  686. package/dist/wellknown.js +80 -80
  687. package/dist/workspace/driver.js +5 -5
  688. package/dist/workspace/sql.js +1 -1
  689. package/dist/workspace.js +77 -77
  690. package/dist/worktree/directory.js +2 -2
  691. package/dist/worktree/git.js +10 -10
  692. package/dist/worktree/sql.js +5 -5
  693. package/dist/worktree/strategies.js +88 -88
  694. package/dist/worktree.js +95 -95
  695. package/package.json +8 -8
  696. package/dist/chunks/filesystem-1spfb7yw.js +0 -26
  697. package/dist/chunks/filesystem-598yv1c4.js +0 -252
  698. package/dist/chunks/filesystem-619r8v3y.js +0 -18
  699. /package/dist/chunks/{filesystem-0mesazry.js → websearch-0mesazry.js} +0 -0
  700. /package/dist/chunks/{filesystem-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{filesystem-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{filesystem-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{filesystem-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{filesystem-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{filesystem-24dcb14g.js → websearch-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{filesystem-2710q6r3.js → websearch-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{filesystem-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{filesystem-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{filesystem-359p4xyc.js → websearch-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{filesystem-3asan66x.js → websearch-3asan66x.js} +0 -0
  711. /package/dist/chunks/{filesystem-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{filesystem-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{filesystem-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{filesystem-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{filesystem-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{filesystem-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{filesystem-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{filesystem-53557ph1.js → websearch-53557ph1.js} +0 -0
  719. /package/dist/chunks/{filesystem-550bvhaj.js → websearch-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{filesystem-5qd3pb7m.js → websearch-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{filesystem-6prwharc.js → websearch-6prwharc.js} +0 -0
  722. /package/dist/chunks/{filesystem-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{filesystem-7m9af43g.js → websearch-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{filesystem-822emrt2.js → websearch-822emrt2.js} +0 -0
  725. /package/dist/chunks/{filesystem-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{filesystem-8n3pysct.js → websearch-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{filesystem-922hggd3.js → websearch-922hggd3.js} +0 -0
  728. /package/dist/chunks/{filesystem-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{filesystem-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{filesystem-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{filesystem-af5trqkr.js → websearch-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{filesystem-afrmfg78.js → websearch-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{filesystem-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{filesystem-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{filesystem-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{filesystem-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{filesystem-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{filesystem-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{filesystem-d9fn303g.js → websearch-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{filesystem-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{filesystem-dajrwvna.js → websearch-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{filesystem-dap0rakb.js → websearch-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{filesystem-df08tz66.js → websearch-df08tz66.js} +0 -0
  744. /package/dist/chunks/{filesystem-dy18nga0.js → websearch-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{filesystem-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{filesystem-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{filesystem-ec1grn59.js → websearch-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{filesystem-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{filesystem-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{filesystem-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{filesystem-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{filesystem-faypxj3z.js → websearch-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{filesystem-fd410y7t.js → websearch-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{filesystem-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{filesystem-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{filesystem-g86h250q.js → websearch-g86h250q.js} +0 -0
  757. /package/dist/chunks/{filesystem-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{filesystem-gftt206x.js → websearch-gftt206x.js} +0 -0
  759. /package/dist/chunks/{filesystem-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{filesystem-hk9envan.js → websearch-hk9envan.js} +0 -0
  761. /package/dist/chunks/{filesystem-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{filesystem-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{filesystem-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{filesystem-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{filesystem-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{filesystem-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{filesystem-mp448xyj.js → websearch-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{filesystem-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{filesystem-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{filesystem-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{filesystem-njntx4h6.js → websearch-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{filesystem-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{filesystem-q74kybfr.js → websearch-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{filesystem-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{filesystem-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{filesystem-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{filesystem-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{filesystem-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{filesystem-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{filesystem-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{filesystem-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{filesystem-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{filesystem-twg0f83k.js → websearch-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{filesystem-w803qqfp.js → websearch-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{filesystem-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{filesystem-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{filesystem-wtztk69x.js → websearch-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{filesystem-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{filesystem-x61499pn.js → websearch-x61499pn.js} +0 -0
  790. /package/dist/chunks/{filesystem-y44na4kk.js → websearch-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{filesystem-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{filesystem-y8f7s663.js → websearch-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{filesystem-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{filesystem-ym463w8f.js → websearch-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{filesystem-z9919s4g.js → websearch-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-922hggd3.js";
3
+ } from "./websearch-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./filesystem-tk02apgh.js";
6
+ } from "./websearch-1mpytbrd.js";
7
7
  import {
8
- Service21
9
- } from "./filesystem-nkwqxfa5.js";
8
+ Service69
9
+ } from "./websearch-hfdggbzh.js";
10
10
  import {
11
- Service6
12
- } from "./filesystem-vkhk71nk.js";
11
+ Service11
12
+ } from "./websearch-enpg5945.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./filesystem-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
- Service7
27
- } from "./filesystem-v10hvdrj.js";
26
+ Service12
27
+ } from "./websearch-atp9h773.js";
28
28
  import {
29
29
  __export
30
- } from "./filesystem-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: () => Input10,
36
- Plugin: () => Plugin29,
35
+ Input: () => Input6,
36
+ Plugin: () => Plugin40,
37
37
  ReadTool: () => exports_read,
38
- name: () => name10,
39
- toModelContent: () => toModelContent6
38
+ name: () => name6,
39
+ toModelContent: () => toModelContent3
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 name10 = "read";
45
+ var name6 = "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 2000)"
54
54
  })
55
55
  });
56
- var Input10 = LocationInput;
56
+ var Input6 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin29 = {
58
+ var Plugin40 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service7;
62
- const access = yield* Service21;
63
- const sessionInstructions = yield* Service6;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service69;
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: name10,
67
+ name: name6,
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: Input10,
70
+ input: Input6,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin29 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent6(result.path, input.offset, result.output),
115
+ content: toModelContent3(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)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent6 = (path, offset, output) => {
147
+ var toModelContent3 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name10, Input10, Plugin29, toModelContent6, exports_read };
183
+ export { name6, Input6, Plugin40, toModelContent3, exports_read };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service83
3
- } from "./filesystem-zxb2s64m.js";
3
+ } from "./websearch-ygv8vf3r.js";
4
4
  import {
5
5
  OAuth3,
6
- Event17
7
- } from "./filesystem-sthqeftk.js";
6
+ Event15
7
+ } from "./websearch-jxy9pp01.js";
8
8
  import {
9
- ID13,
9
+ ID9,
10
10
  MethodID2
11
- } from "./filesystem-ztj62dtv.js";
11
+ } from "./websearch-yr8w2f7w.js";
12
12
  import {
13
13
  key2
14
- } from "./filesystem-44h5tttr.js";
14
+ } from "./websearch-cpj0znwe.js";
15
15
  import {
16
16
  Service14
17
- } from "./filesystem-f5gy8qwh.js";
17
+ } from "./websearch-4z78jc8k.js";
18
18
  import {
19
- ID12,
19
+ ID8,
20
20
  mergeOverlay2,
21
21
  mergeHeaders2
22
- } from "./filesystem-zkhexgat.js";
22
+ } from "./websearch-wxv342sh.js";
23
23
  import {
24
- ID4,
25
- Input13,
24
+ ID6,
25
+ Input14,
26
26
  Response2
27
- } from "./filesystem-yykhtw2b.js";
27
+ } from "./websearch-qrpkzea1.js";
28
28
 
29
29
  // src/plugin/provider/opencode.ts
30
30
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
39
39
  var RemoteResponse = Schema.Struct({
40
40
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
41
41
  websearch: Schema.Struct({
42
- providerID: ID4
42
+ providerID: ID6
43
43
  }).pipe(Schema.optional),
44
44
  experimental: Schema.Struct({
45
45
  policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
@@ -64,7 +64,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
64
64
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
65
65
  function oauth(http) {
66
66
  return {
67
- integrationID: ID13.make("opencode"),
67
+ integrationID: ID9.make("opencode"),
68
68
  method: {
69
69
  id: methodID,
70
70
  type: "oauth",
@@ -153,7 +153,7 @@ var OpencodePlugin2 = define({
153
153
  providers.update(providerID, (provider) => {
154
154
  if (source && source.provider !== provider)
155
155
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
156
- provider.integrationID = ID13.make("opencode");
156
+ provider.integrationID = ID9.make("opencode");
157
157
  if (item.canonical !== undefined)
158
158
  provider.canonical = item.canonical;
159
159
  if (item.name !== undefined)
@@ -223,7 +223,7 @@ var OpencodePlugin2 = define({
223
223
  sourceConnection: snapshot.connection
224
224
  });
225
225
  }
226
- const item = providers.get(ID12.opencode);
226
+ const item = providers.get(ID8.opencode);
227
227
  if (!item)
228
228
  return;
229
229
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -235,7 +235,7 @@ var OpencodePlugin2 = define({
235
235
  });
236
236
  });
237
237
  yield* ctx.model.transform((models) => {
238
- const item = models.provider.get(ID12.opencode);
238
+ const item = models.provider.get(ID8.opencode);
239
239
  if (!item)
240
240
  return;
241
241
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -269,7 +269,7 @@ var OpencodePlugin2 = define({
269
269
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
270
270
  const token = credential.type === "oauth" ? credential.access : credential.key;
271
271
  const server = yield* normalizeServer(serverUrl(credential));
272
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
272
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
273
273
  query: input.query,
274
274
  providerID: descriptor.providerID
275
275
  }));
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
291
291
  yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
292
292
  });
293
293
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
294
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
294
+ yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
295
295
  yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
296
296
  })
297
297
  });
@@ -1,65 +1,65 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./filesystem-g7qez7ar.js";
4
+ } from "./websearch-bjnm8sq4.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./filesystem-zxb2s64m.js";
8
+ } from "./websearch-ygv8vf3r.js";
9
9
  import {
10
10
  llmClient2
11
- } from "./filesystem-5t3nmthw.js";
11
+ } from "./websearch-5t3nmthw.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./filesystem-ec1grn59.js";
14
+ } from "./websearch-ec1grn59.js";
15
15
  import {
16
16
  provenance2,
17
17
  compatible2,
18
18
  isCheckpoint2,
19
19
  encode2
20
- } from "./filesystem-81czwxpn.js";
20
+ } from "./websearch-paegk39x.js";
21
21
  import {
22
22
  load5
23
- } from "./filesystem-71yfdm4g.js";
23
+ } from "./websearch-e61g2f31.js";
24
24
  import {
25
25
  create3
26
- } from "./filesystem-rdw6cm16.js";
26
+ } from "./websearch-rdw6cm16.js";
27
27
  import {
28
28
  toLLMMessages2
29
- } from "./filesystem-19w9qk9n.js";
29
+ } from "./websearch-tcg29b4q.js";
30
30
  import {
31
31
  baseTranscript2,
32
32
  unsupportedParts2,
33
33
  boundImages2
34
- } from "./filesystem-fr7p31gg.js";
34
+ } from "./websearch-2rshs1gx.js";
35
35
  import {
36
36
  toSessionError2
37
- } from "./filesystem-y56rcaa9.js";
37
+ } from "./websearch-q5v2a16e.js";
38
38
  import {
39
39
  policy2,
40
40
  transient2
41
- } from "./filesystem-fe2qydnk.js";
41
+ } from "./websearch-1p2sdtde.js";
42
42
  import {
43
43
  estimate2
44
- } from "./filesystem-h6vf3j39.js";
44
+ } from "./websearch-h6vf3j39.js";
45
45
  import {
46
46
  calculateCost2,
47
47
  record2,
48
48
  add2
49
- } from "./filesystem-tdstcens.js";
49
+ } from "./websearch-tdstcens.js";
50
50
  import {
51
51
  __export
52
- } from "./filesystem-9rqn6x4v.js";
52
+ } from "./websearch-9rqn6x4v.js";
53
53
 
54
54
  // src/session/compaction.ts
55
55
  var exports_compaction3 = {};
56
56
  __export(exports_compaction3, {
57
- Service: () => Service11,
57
+ Service: () => Service7,
58
58
  SessionCompaction: () => exports_compaction3,
59
59
  buildPrompt: () => buildPrompt2,
60
60
  estimateTokens: () => estimateTokens2,
61
- layer: () => layer6,
62
- node: () => node13,
61
+ layer: () => layer7,
62
+ node: () => node9,
63
63
  retainUsers: () => retainUsers2,
64
64
  serializeToolContent: () => serializeToolContent2,
65
65
  truncateToolOutput: () => truncateToolOutput2
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
125
125
  `).filter((line) => line.startsWith("##"));
126
126
  var LEGACY_HEADING = "## Additional Context";
127
127
 
128
- class Service11 extends Context.Service()("@opencode/SessionCompaction") {
128
+ class Service7 extends Context.Service()("@opencode/SessionCompaction") {
129
129
  }
130
130
  var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
131
131
  var estimateTokens2 = (input) => {
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
298
298
  };
299
299
  var hasSummarySection = (summary) => summary.split(`
300
300
  `).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
301
- var layer6 = Layer.effect(Service11, Effect.gen(function* () {
301
+ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
302
302
  const bus = yield* Service83;
303
303
  const llm = yield* LLMClient.Service;
304
304
  const db = (yield* Service84).db;
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
606
606
  }
607
607
  }));
608
608
  });
609
- return Service11.of({
609
+ return Service7.of({
610
610
  transform: state.transform,
611
611
  reload: state.reload,
612
612
  enabled: () => state.get().auto,
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
615
615
  compactManual
616
616
  });
617
617
  }));
618
- var node13 = makeLocationNode({
619
- service: Service11,
620
- layer: layer6,
618
+ var node9 = makeLocationNode({
619
+ service: Service7,
620
+ layer: layer7,
621
621
  deps: [node87, node88, llmClient2]
622
622
  });
623
623
 
624
- export { Service11, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node13, exports_compaction3 };
624
+ export { Service7, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node9, exports_compaction3 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./filesystem-922hggd3.js";
3
+ } from "./websearch-922hggd3.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./filesystem-dq0v80fr.js";
7
+ } from "./websearch-afed7ext.js";
8
8
  import {
9
- parse5,
9
+ parse4,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./filesystem-6h73sxmp.js";
13
+ } from "./websearch-2402vzrj.js";
14
14
  import {
15
- Service75,
16
- node79
17
- } from "./filesystem-hm7q9217.js";
15
+ Service56,
16
+ node59
17
+ } from "./websearch-qyv22f12.js";
18
18
  import {
19
19
  __export
20
- } from "./filesystem-9rqn6x4v.js";
20
+ } from "./websearch-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service73,
33
+ Service: () => Service40,
34
34
  isError: () => isError2,
35
- node: () => node77,
35
+ node: () => node44,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service73 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service40 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service73, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
106
  const git = yield* Service82;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
- const kv = yield* Service75;
110
- return Service73.of({
109
+ const kv = yield* Service56;
110
+ return Service40.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse5(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse4(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse5(origin) : undefined;
122
+ const originReference = origin ? parse4(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node77 = makeGlobalNode({
171
- service: Service73,
170
+ var node44 = makeGlobalNode({
171
+ service: Service40,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node79]
173
+ deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node59]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service73, isError2, validateBranch2, node77, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service40, isError2, validateBranch2, node44, exports_repository_cache };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./filesystem-zxb2s64m.js";
4
+ } from "./websearch-ygv8vf3r.js";
5
5
  import {
6
- Service71,
7
- node75
8
- } from "./filesystem-kypwf0cg.js";
6
+ Service65,
7
+ node68
8
+ } from "./websearch-z7x2t1h4.js";
9
9
  import {
10
10
  Ref4,
11
11
  Service80,
12
12
  node84
13
- } from "./filesystem-tk02apgh.js";
13
+ } from "./websearch-1mpytbrd.js";
14
14
  import {
15
- Service61,
16
- node65
17
- } from "./filesystem-kybncw40.js";
15
+ Service70,
16
+ node73
17
+ } from "./websearch-eamc0k64.js";
18
18
  import {
19
- Service23,
20
- node26
21
- } from "./filesystem-2m0fmnh7.js";
19
+ Service20,
20
+ node23
21
+ } from "./websearch-hppyn5sa.js";
22
22
  import {
23
23
  __export
24
- } from "./filesystem-9rqn6x4v.js";
24
+ } from "./websearch-9rqn6x4v.js";
25
25
 
26
26
  // src/location-lifecycle.ts
27
27
  var exports_location_lifecycle = {};
28
28
  __export(exports_location_lifecycle, {
29
29
  LocationLifecycle: () => exports_location_lifecycle,
30
- Service: () => Service22,
31
- node: () => node25
30
+ Service: () => Service19,
31
+ node: () => node22
32
32
  });
33
33
  import { Context, Effect, Layer } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  import { LocationEvent } from "@opencode/schema/location-event";
36
- class Service22 extends Context.Service()("@opencode/LocationLifecycle") {
36
+ class Service19 extends Context.Service()("@opencode/LocationLifecycle") {
37
37
  }
38
- var layer = Layer.effect(Service22, Effect.gen(function* () {
38
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
39
39
  const bus = yield* Service83;
40
40
  const location = yield* Service80;
41
- const permission = yield* Service61;
42
- const forms = yield* Service71;
43
- const rpc = yield* Service23;
41
+ const permission = yield* Service70;
42
+ const forms = yield* Service65;
43
+ const rpc = yield* Service20;
44
44
  let closed = false;
45
45
  const shutdown = yield* Effect.cached(Effect.gen(function* () {
46
46
  closed = true;
@@ -51,15 +51,15 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
51
51
  location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
52
52
  });
53
53
  }).pipe(Effect.uninterruptible));
54
- return Service22.of({
54
+ return Service19.of({
55
55
  isClosed: () => closed,
56
56
  shutdown
57
57
  });
58
58
  }));
59
- var node25 = makeLocationNode({
60
- service: Service22,
59
+ var node22 = makeLocationNode({
60
+ service: Service19,
61
61
  layer,
62
- deps: [node87, node84, node65, node75, node26]
62
+ deps: [node87, node84, node73, node68, node23]
63
63
  });
64
64
 
65
- export { Service22, node25, exports_location_lifecycle };
65
+ export { Service19, node22, exports_location_lifecycle };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service42
3
- } from "./filesystem-hahrk1qf.js";
2
+ Service44
3
+ } from "./websearch-dxvesfzj.js";
4
4
  import {
5
- Service11
6
- } from "./filesystem-jaqhawhw.js";
5
+ Service7
6
+ } from "./websearch-9jan11yy.js";
7
7
  import {
8
8
  observe2
9
- } from "./filesystem-qsdy395h.js";
9
+ } from "./websearch-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./filesystem-9rqn6x4v.js";
12
+ } from "./websearch-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compaction.ts
15
- var exports_compaction = {};
16
- __export(exports_compaction, {
17
- ConfigCompactionPlugin: () => exports_compaction,
18
- Plugin: () => Plugin2
15
+ var exports_compaction2 = {};
16
+ __export(exports_compaction2, {
17
+ ConfigCompactionPlugin: () => exports_compaction2,
18
+ Plugin: () => Plugin23
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin2 = define({
22
+ var Plugin23 = define({
23
23
  id: "opencode.config.compaction",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service42;
26
- const compaction = yield* Service11;
25
+ const config = yield* Service44;
26
+ const compaction = yield* Service7;
27
27
  const loaded = yield* observe2(config, ctx.event, compaction.reload());
28
28
  yield* compaction.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -39,4 +39,4 @@ var Plugin2 = define({
39
39
  })
40
40
  });
41
41
 
42
- export { Plugin2, exports_compaction };
42
+ export { Plugin23, exports_compaction2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./filesystem-6msgmcgs.js";
4
+ } from "./websearch-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./filesystem-qfa1cgps.js";
7
+ } from "./websearch-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./filesystem-8p4f9s12.js";
10
+ } from "./websearch-8p4f9s12.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";