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

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 +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{websearch-hcpzh4y5.js → file-03ddm2ac.js} +24 -24
  8. package/dist/chunks/{websearch-c4b2kpxw.js → file-0cv69rnt.js} +11 -11
  9. package/dist/chunks/{websearch-syxn4zf7.js → file-0dvw3k89.js} +12 -12
  10. package/dist/chunks/{websearch-ctg6kqhn.js → file-0jt3tb20.js} +7 -7
  11. package/dist/chunks/{websearch-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{websearch-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{websearch-wbkyxrgf.js → file-0r7yqxbf.js} +5 -5
  14. package/dist/chunks/{websearch-z7x2t1h4.js → file-13dfa88x.js} +26 -26
  15. package/dist/chunks/{websearch-g4mwgykz.js → file-14fc18qr.js} +9 -9
  16. package/dist/chunks/{websearch-96dfwwyn.js → file-18gsyhex.js} +3 -3
  17. package/dist/chunks/{websearch-r8xr0va3.js → file-1acjjqhc.js} +4 -4
  18. package/dist/chunks/{websearch-kf97d77q.js → file-1b58hg41.js} +17 -17
  19. package/dist/chunks/{websearch-1dazxqgg.js → file-1dazxqgg.js} +2 -2
  20. package/dist/chunks/{websearch-gyj5qngc.js → file-1qxb3sk8.js} +20 -20
  21. package/dist/chunks/{websearch-8g41p69m.js → file-1s2a2y7p.js} +11 -11
  22. package/dist/chunks/{websearch-v6v4kqhc.js → file-1vh0nr0y.js} +50 -50
  23. package/dist/chunks/{websearch-yqc7fef7.js → file-1w6hh1p9.js} +3 -3
  24. package/dist/chunks/{websearch-1ygqh575.js → file-1ygqh575.js} +2 -2
  25. package/dist/chunks/{websearch-21r38tys.js → file-21r38tys.js} +1 -1
  26. package/dist/chunks/{websearch-mtq6xxnx.js → file-25m4ah6t.js} +4 -4
  27. package/dist/chunks/{websearch-2rshs1gx.js → file-293f31c0.js} +28 -28
  28. package/dist/chunks/{websearch-z63w68vq.js → file-29x78va6.js} +6 -6
  29. package/dist/chunks/{websearch-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{websearch-8s8mxddj.js → file-2evyaa68.js} +4 -4
  31. package/dist/chunks/{websearch-qgn6gcr1.js → file-2k8khapm.js} +5 -5
  32. package/dist/chunks/{websearch-3mms5ene.js → file-2n16nqjf.js} +3 -3
  33. package/dist/chunks/{websearch-wxv342sh.js → file-2xcgp7gj.js} +29 -29
  34. package/dist/chunks/file-31g0t493.js +252 -0
  35. package/dist/chunks/{websearch-kskv054x.js → file-37es8sy9.js} +9 -9
  36. package/dist/chunks/{websearch-gzahs6bb.js → file-38bdef71.js} +11 -11
  37. package/dist/chunks/{websearch-tx1ywgy3.js → file-3ez6024g.js} +14 -14
  38. package/dist/chunks/{websearch-3fc6dm20.js → file-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{websearch-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{websearch-7j2yenkd.js → file-3kdhhx66.js} +5 -5
  41. package/dist/chunks/{websearch-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{websearch-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{websearch-98v28jez.js → file-3vc4dk59.js} +21 -21
  44. package/dist/chunks/{websearch-eynpjjts.js → file-3w1rnthq.js} +9 -9
  45. package/dist/chunks/{websearch-09map6a0.js → file-40n69t94.js} +24 -24
  46. package/dist/chunks/{websearch-hfdggbzh.js → file-43d6rre2.js} +15 -15
  47. package/dist/chunks/{websearch-3t60d24d.js → file-43d7fjw1.js} +7 -7
  48. package/dist/chunks/{websearch-pvcexzwr.js → file-45vp9cex.js} +6 -6
  49. package/dist/chunks/{websearch-v3wvqj48.js → file-4fr18w13.js} +12 -12
  50. package/dist/chunks/{websearch-fhz5gfgy.js → file-4n607a2z.js} +5 -5
  51. package/dist/chunks/{websearch-wk5z6jzv.js → file-4nj4bn9q.js} +5 -5
  52. package/dist/chunks/{websearch-j1g0a8z5.js → file-4s6t339e.js} +15 -15
  53. package/dist/chunks/{websearch-jxy9pp01.js → file-4ze6gm64.js} +30 -30
  54. package/dist/chunks/{websearch-bg1wpsny.js → file-52sgb6yw.js} +18 -18
  55. package/dist/chunks/{websearch-57ez7d0k.js → file-57ez7d0k.js} +2 -2
  56. package/dist/chunks/{websearch-5daktx2q.js → file-5daktx2q.js} +1 -1
  57. package/dist/chunks/{websearch-jca4demv.js → file-5nb2d01r.js} +2 -2
  58. package/dist/chunks/{websearch-m9x5r80r.js → file-5nqjkrmw.js} +8 -8
  59. package/dist/chunks/{websearch-5t3nmthw.js → file-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{websearch-qn9b0sqe.js → file-5v4jjjtv.js} +8 -8
  61. package/dist/chunks/{websearch-afed7ext.js → file-607q5haz.js} +5 -5
  62. package/dist/chunks/{websearch-mv0eyhkp.js → file-6144aq34.js} +12 -12
  63. package/dist/chunks/{websearch-2cby6ycg.js → file-61ngkm40.js} +24 -24
  64. package/dist/chunks/{websearch-ch9ef3fj.js → file-65ttj00x.js} +4 -4
  65. package/dist/chunks/{websearch-669tq793.js → file-669tq793.js} +1 -1
  66. package/dist/chunks/{websearch-5bgxqkp2.js → file-6cnxk7mx.js} +8 -8
  67. package/dist/chunks/{websearch-jcynjjsm.js → file-6fhr0pkt.js} +6 -6
  68. package/dist/chunks/{websearch-2402vzrj.js → file-6h73sxmp.js} +5 -5
  69. package/dist/chunks/{websearch-bjnm8sq4.js → file-6ktwvsfe.js} +3 -3
  70. package/dist/chunks/{websearch-cavr175a.js → file-6m42r3np.js} +21 -21
  71. package/dist/chunks/{websearch-6msgmcgs.js → file-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{websearch-wk20jg90.js → file-6v1qfv2f.js} +39 -39
  73. package/dist/chunks/{websearch-1anmvv20.js → file-6yjt3wjz.js} +19 -19
  74. package/dist/chunks/{websearch-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{websearch-q17z9dx8.js → file-7xyrrtj6.js} +5 -5
  76. package/dist/chunks/{websearch-7zchfbzk.js → file-85h6gxgt.js} +5 -5
  77. package/dist/chunks/{websearch-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{websearch-hm7h5fnq.js → file-8emmqy2y.js} +76 -76
  79. package/dist/chunks/{websearch-8p4f9s12.js → file-8p4f9s12.js} +2 -2
  80. package/dist/chunks/{websearch-10915612.js → file-8r9at6cd.js} +13 -13
  81. package/dist/chunks/{websearch-3yfsrc7f.js → file-8yaymg6a.js} +8 -8
  82. package/dist/chunks/{websearch-neyhfhbv.js → file-90h6t2z6.js} +20 -20
  83. package/dist/chunks/{websearch-nmtdsvx9.js → file-93gey591.js} +2 -2
  84. package/dist/chunks/{websearch-atp9h773.js → file-95tjqs8s.js} +11 -11
  85. package/dist/chunks/{websearch-9ykp1bjn.js → file-9b3xwcj2.js} +20 -20
  86. package/dist/chunks/{websearch-qxgb7w54.js → file-9k9rc8dk.js} +47 -47
  87. package/dist/chunks/{websearch-a1bz86dw.js → file-a1bz86dw.js} +3 -3
  88. package/dist/chunks/{websearch-q5v2a16e.js → file-a1mse3js.js} +4 -4
  89. package/dist/chunks/{websearch-aaet6srn.js → file-aaet6srn.js} +2 -2
  90. package/dist/chunks/{websearch-yt0fqk68.js → file-af04s6ss.js} +5 -5
  91. package/dist/chunks/{websearch-484ven3d.js → file-agnfd28k.js} +20 -20
  92. package/dist/chunks/{websearch-t7y12kcc.js → file-agqdc7j7.js} +3 -3
  93. package/dist/chunks/{websearch-4c8bw516.js → file-ahd542yp.js} +8 -8
  94. package/dist/chunks/{websearch-8rcz2q6j.js → file-apamx443.js} +23 -23
  95. package/dist/chunks/{websearch-dxvesfzj.js → file-apyffp7r.js} +43 -43
  96. package/dist/chunks/{websearch-ng2t6yjv.js → file-arr0yzrh.js} +4 -4
  97. package/dist/chunks/{websearch-4rdw2jk2.js → file-av1qv8sp.js} +11 -11
  98. package/dist/chunks/{websearch-3mwrkndb.js → file-ax6pb1z3.js} +15 -15
  99. package/dist/chunks/{websearch-85h867b1.js → file-ayqs356k.js} +48 -48
  100. package/dist/chunks/{websearch-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  101. package/dist/chunks/{websearch-k72x7rmb.js → file-b97kwyb9.js} +6 -6
  102. package/dist/chunks/{websearch-fxqygnfa.js → file-bajakh74.js} +4 -4
  103. package/dist/chunks/{websearch-paegk39x.js → file-bccb6npm.js} +4 -4
  104. package/dist/chunks/{websearch-x1zq0qjw.js → file-bf79bfp2.js} +16 -16
  105. package/dist/chunks/{websearch-cfpkc3c9.js → file-cfpkc3c9.js} +2 -2
  106. package/dist/chunks/{websearch-ernzmvnm.js → file-ch7awch3.js} +36 -36
  107. package/dist/chunks/{websearch-gv5sesne.js → file-cqymy0yn.js} +17 -17
  108. package/dist/chunks/{websearch-sgm3x1y6.js → file-cxqahwfd.js} +20 -20
  109. package/dist/chunks/{websearch-8ank75fn.js → file-d2c2nyzk.js} +8 -8
  110. package/dist/chunks/{websearch-eg9c94rq.js → file-d50t6vt6.js} +1 -1
  111. package/dist/chunks/{websearch-657t18yv.js → file-d6sz2yz3.js} +4 -4
  112. package/dist/chunks/{websearch-r2gdke7a.js → file-d72r6y07.js} +7 -7
  113. package/dist/chunks/{websearch-8zyqjgnv.js → file-dbv4bwgz.js} +10 -10
  114. package/dist/chunks/{websearch-9fe2175z.js → file-dfrxsycg.js} +19 -19
  115. package/dist/chunks/{websearch-19j60k9b.js → file-djr0a131.js} +27 -27
  116. package/dist/chunks/{websearch-y71avatq.js → file-dpkg50ah.js} +4 -4
  117. package/dist/chunks/{websearch-z6wvr5eg.js → file-dps3wts7.js} +6 -6
  118. package/dist/chunks/{websearch-52j4gwnf.js → file-dt2zx11c.js} +5 -5
  119. package/dist/chunks/{websearch-7m2tq7cp.js → file-e0rvsnry.js} +12 -12
  120. package/dist/chunks/{websearch-5qd3pb7m.js → file-e3qxr5gk.js} +2 -2
  121. package/dist/chunks/{websearch-sneexhcr.js → file-e8qn9sht.js} +33 -33
  122. package/dist/chunks/{websearch-0f92sxzd.js → file-ebz4tpb1.js} +9 -9
  123. package/dist/chunks/{websearch-ef5x83kb.js → file-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{websearch-1twwwxc3.js → file-ekrar7jz.js} +10 -10
  125. package/dist/chunks/{websearch-pv02emkf.js → file-eq5e5q4h.js} +5 -5
  126. package/dist/chunks/{websearch-erw5rpbs.js → file-erw5rpbs.js} +2 -2
  127. package/dist/chunks/{websearch-etq0c3wd.js → file-etq0c3wd.js} +1 -1
  128. package/dist/chunks/{websearch-cw351spq.js → file-ewjewney.js} +8 -8
  129. package/dist/chunks/{websearch-n64525wv.js → file-f2tc9nf8.js} +35 -35
  130. package/dist/chunks/{websearch-tt85xgdw.js → file-f3rghsp8.js} +26 -26
  131. package/dist/chunks/{websearch-f828m53h.js → file-f828m53h.js} +2 -2
  132. package/dist/chunks/{websearch-3gr5sfar.js → file-feb7qkw1.js} +10 -10
  133. package/dist/chunks/{websearch-4nwwzap6.js → file-fh0r6x4j.js} +13 -13
  134. package/dist/chunks/{websearch-ygv8vf3r.js → file-fhjb7rt8.js} +4 -4
  135. package/dist/chunks/{websearch-r6bhbggm.js → file-frz1fex2.js} +29 -29
  136. package/dist/chunks/{websearch-67z5vx6v.js → file-fw4wab6g.js} +16 -16
  137. package/dist/chunks/{websearch-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  138. package/dist/chunks/{websearch-a37y538j.js → file-g50hb2qv.js} +8 -8
  139. package/dist/chunks/{websearch-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{websearch-9jan11yy.js → file-gdt4cbd6.js} +20 -20
  141. package/dist/chunks/{websearch-1mpytbrd.js → file-gj2nqsbr.js} +2 -2
  142. package/dist/chunks/{websearch-hc9acsgr.js → file-gs3psw06.js} +9 -9
  143. package/dist/chunks/{websearch-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
  144. package/dist/chunks/{websearch-490js09j.js → file-gvjzk8t4.js} +7 -7
  145. package/dist/chunks/{websearch-kz4d7gxj.js → file-h1jwkh9k.js} +5 -5
  146. package/dist/chunks/{websearch-cpj0znwe.js → file-h6r3nrb9.js} +4 -4
  147. package/dist/chunks/{websearch-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{websearch-b1p2bp1h.js → file-h8bbzknd.js} +10 -10
  149. package/dist/chunks/{websearch-r6fe7wqt.js → file-hh8ms2yj.js} +10 -10
  150. package/dist/chunks/{websearch-b6m9cw84.js → file-hj28bw27.js} +14 -14
  151. package/dist/chunks/{websearch-e61g2f31.js → file-hrnxc6yg.js} +11 -11
  152. package/dist/chunks/{websearch-p491qsmh.js → file-hsr3srte.js} +15 -15
  153. package/dist/chunks/{websearch-9yx7mf9e.js → file-hvkdp02p.js} +24 -24
  154. package/dist/chunks/{websearch-gjmk74th.js → file-hwe7x4em.js} +6 -6
  155. package/dist/chunks/file-j1yvacg2.js +26 -0
  156. package/dist/chunks/{websearch-rg63q7m0.js → file-j30jdxv7.js} +24 -24
  157. package/dist/chunks/{websearch-j56e64zr.js → file-j56e64zr.js} +1 -1
  158. package/dist/chunks/{websearch-j841wva5.js → file-jbw7zkpy.js} +20 -20
  159. package/dist/chunks/{websearch-g8jasmdt.js → file-jhmep02j.js} +11 -11
  160. package/dist/chunks/{websearch-bbx8rj45.js → file-jmpfrrst.js} +11 -11
  161. package/dist/chunks/{websearch-8gxqpgph.js → file-jvf3yq6v.js} +4 -4
  162. package/dist/chunks/{websearch-h5crbhmb.js → file-jyjec5pm.js} +13 -13
  163. package/dist/chunks/{websearch-yr8w2f7w.js → file-k0hsyzpz.js} +29 -29
  164. package/dist/chunks/{websearch-4z78jc8k.js → file-k1qrnqst.js} +8 -8
  165. package/dist/chunks/{websearch-sc2b8fmw.js → file-k3ahcn2y.js} +28 -28
  166. package/dist/chunks/{websearch-k3c624dm.js → file-k3c624dm.js} +3 -3
  167. package/dist/chunks/{websearch-efqyzrtz.js → file-k95xev6m.js} +7 -7
  168. package/dist/chunks/{websearch-enpg5945.js → file-kdx6w3mz.js} +9 -9
  169. package/dist/chunks/{websearch-aqekamra.js → file-kk9q0gyc.js} +9 -9
  170. package/dist/chunks/{websearch-rnxvhcjb.js → file-kv5v901h.js} +66 -66
  171. package/dist/chunks/{websearch-a34cw71v.js → file-kxfr8scb.js} +8 -8
  172. package/dist/chunks/{websearch-2rfba7m5.js → file-kyhsppsx.js} +13 -13
  173. package/dist/chunks/{websearch-1yv162eq.js → file-kzbpe9h1.js} +4 -4
  174. package/dist/chunks/{websearch-65ecsfj5.js → file-m0v7jzh4.js} +23 -23
  175. package/dist/chunks/{websearch-m3fdjcah.js → file-m3fdjcah.js} +1 -1
  176. package/dist/chunks/{websearch-jdtnppjh.js → file-m4b5czg0.js} +9 -9
  177. package/dist/chunks/{websearch-qyv22f12.js → file-m7kehd4x.js} +10 -10
  178. package/dist/chunks/{websearch-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  179. package/dist/chunks/{websearch-nfvzb2qa.js → file-mfg2tgr6.js} +12 -12
  180. package/dist/chunks/{websearch-eq1pz5kg.js → file-mhkvc446.js} +3 -3
  181. package/dist/chunks/{websearch-xfdrc2qg.js → file-mmr7bq34.js} +6 -6
  182. package/dist/chunks/{websearch-47j6g49p.js → file-mt9jjf2t.js} +88 -88
  183. package/dist/chunks/{websearch-emq5vpv3.js → file-mvka64fw.js} +24 -24
  184. package/dist/chunks/{websearch-pvh6zpvx.js → file-mx5etkqw.js} +33 -33
  185. package/dist/chunks/{websearch-ydgy0jv4.js → file-naj50rvz.js} +6 -6
  186. package/dist/chunks/{websearch-8h6f0t3s.js → file-nc8ss6ew.js} +22 -22
  187. package/dist/chunks/{websearch-4emms01x.js → file-nes099kr.js} +43 -43
  188. package/dist/chunks/{websearch-ap1jv5wd.js → file-npr18s3r.js} +5 -5
  189. package/dist/chunks/{websearch-e0pc9hss.js → file-ns454he7.js} +13 -13
  190. package/dist/chunks/{websearch-p28j5sbe.js → file-p28j5sbe.js} +2 -2
  191. package/dist/chunks/{websearch-dv1qgsyq.js → file-p37cw4rj.js} +6 -6
  192. package/dist/chunks/{websearch-pwvve957.js → file-p6zm9yar.js} +9 -9
  193. package/dist/chunks/{websearch-b2wvp900.js → file-p84jq1z2.js} +5 -5
  194. package/dist/chunks/{websearch-5pep6vw4.js → file-pcz5gy8z.js} +7 -7
  195. package/dist/chunks/file-pf31ssb9.js +18 -0
  196. package/dist/chunks/{websearch-x7c0erfj.js → file-phh6ekdg.js} +38 -38
  197. package/dist/chunks/{websearch-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{websearch-pknna89w.js → file-pknna89w.js} +1 -1
  199. package/dist/chunks/{websearch-sv2wt6jj.js → file-q0y6x0zh.js} +12 -12
  200. package/dist/chunks/{websearch-mgmaefw5.js → file-q4td18zp.js} +6 -6
  201. package/dist/chunks/{websearch-zg4xcdcw.js → file-q5n1ccmn.js} +20 -20
  202. package/dist/chunks/{websearch-e1jqcehv.js → file-qa9wg7wp.js} +16 -16
  203. package/dist/chunks/{websearch-qg0jgkcp.js → file-qg0jgkcp.js} +2 -2
  204. package/dist/chunks/{websearch-qmqgtz8f.js → file-qmqgtz8f.js} +2 -2
  205. package/dist/chunks/{websearch-57b9ws8p.js → file-qqeeq2t9.js} +4 -4
  206. package/dist/chunks/{websearch-qsdy395h.js → file-qsdy395h.js} +1 -1
  207. package/dist/chunks/{websearch-hppyn5sa.js → file-r81z0f2d.js} +11 -11
  208. package/dist/chunks/{websearch-273x4bvc.js → file-rbh1x862.js} +26 -26
  209. package/dist/chunks/{websearch-rdw6cm16.js → file-rdw6cm16.js} +1 -1
  210. package/dist/chunks/{websearch-a30y0zke.js → file-rhxny31y.js} +24 -24
  211. package/dist/chunks/{websearch-1t2sqhcs.js → file-rj3kjn4t.js} +4 -4
  212. package/dist/chunks/{websearch-q3t37ft6.js → file-rj6d5p5e.js} +3 -3
  213. package/dist/chunks/{websearch-3a6re68j.js → file-rp8jz6x1.js} +6 -6
  214. package/dist/chunks/{websearch-bkt3ke4c.js → file-rpnnp4qr.js} +16 -16
  215. package/dist/chunks/{websearch-tsgfq9bb.js → file-ryrq8653.js} +5 -5
  216. package/dist/chunks/{websearch-tcg29b4q.js → file-ryt7pzqc.js} +1 -1
  217. package/dist/chunks/{websearch-yrznvahk.js → file-s4enseaf.js} +2 -2
  218. package/dist/chunks/{websearch-5khnppx8.js → file-s96a3jht.js} +13 -13
  219. package/dist/chunks/{websearch-z0tn3z5h.js → file-sf73ykr8.js} +17 -17
  220. package/dist/chunks/{websearch-0pwhgh8h.js → file-sfpvnmyj.js} +22 -22
  221. package/dist/chunks/{websearch-jfgwv67f.js → file-sjr3sdb5.js} +8 -8
  222. package/dist/chunks/{websearch-8wf96ssr.js → file-sp7z2078.js} +18 -18
  223. package/dist/chunks/{websearch-f9tzck21.js → file-sq0f3j6x.js} +18 -18
  224. package/dist/chunks/{websearch-68s0cpd5.js → file-szgvf7b7.js} +1 -1
  225. package/dist/chunks/{websearch-n8x6vg9c.js → file-t13qry64.js} +34 -34
  226. package/dist/chunks/{websearch-02nrjc1r.js → file-t550f9t1.js} +8 -8
  227. package/dist/chunks/{websearch-t23sgjx0.js → file-t5h7y91k.js} +170 -170
  228. package/dist/chunks/{websearch-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{websearch-89znhe33.js → file-tcezcvh9.js} +4 -4
  230. package/dist/chunks/{websearch-tdstcens.js → file-tdstcens.js} +1 -1
  231. package/dist/chunks/{websearch-d9rywp8y.js → file-tesavvmz.js} +25 -25
  232. package/dist/chunks/{websearch-db4bfb5s.js → file-tfm34hws.js} +11 -11
  233. package/dist/chunks/{websearch-2k71kv7p.js → file-tjedn1bk.js} +4 -4
  234. package/dist/chunks/{websearch-37s12vcn.js → file-tn0aqsam.js} +5 -5
  235. package/dist/chunks/{websearch-psa6e1wa.js → file-tq3e67kz.js} +11 -11
  236. package/dist/chunks/{websearch-rhj3edsb.js → file-tsf2j8dc.js} +43 -43
  237. package/dist/chunks/{websearch-zmjry135.js → file-tt15avaa.js} +3 -3
  238. package/dist/chunks/{websearch-xh3hyv3f.js → file-ttfkrrt2.js} +10 -10
  239. package/dist/chunks/{websearch-tvtrv512.js → file-tvtrv512.js} +1 -1
  240. package/dist/chunks/{websearch-ezd1shxf.js → file-ty8hjbwp.js} +26 -26
  241. package/dist/chunks/{websearch-fsnmy6e7.js → file-tzxd4jrh.js} +4 -4
  242. package/dist/chunks/{websearch-zpya8g88.js → file-v5bym671.js} +5 -5
  243. package/dist/chunks/{websearch-wr1n0z8j.js → file-va8zjbfm.js} +293 -293
  244. package/dist/chunks/{websearch-gmjjhz4f.js → file-vbcz9h2j.js} +9 -9
  245. package/dist/chunks/{websearch-bct739vz.js → file-ve4pfa0n.js} +4 -4
  246. package/dist/chunks/{websearch-veqvce7d.js → file-veqvce7d.js} +1 -1
  247. package/dist/chunks/{websearch-axgxjnt4.js → file-vh1ek12h.js} +8 -8
  248. package/dist/chunks/{websearch-wbhf1d2f.js → file-vhv9mknt.js} +29 -29
  249. package/dist/chunks/{websearch-2336b01z.js → file-vkt5fbj2.js} +5 -5
  250. package/dist/chunks/{websearch-rftj34h1.js → file-vp6gs366.js} +26 -26
  251. package/dist/chunks/{websearch-vzcthcp8.js → file-vzcthcp8.js} +1 -1
  252. package/dist/chunks/{websearch-5vz0r8c8.js → file-w29rsy53.js} +17 -17
  253. package/dist/chunks/{websearch-5g1dq8q7.js → file-w310ddjz.js} +16 -16
  254. package/dist/chunks/{websearch-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  255. package/dist/chunks/{websearch-pe1tjmn3.js → file-w5tatzgg.js} +11 -11
  256. package/dist/chunks/{websearch-wd87259q.js → file-wd87259q.js} +1 -1
  257. package/dist/chunks/{websearch-kbabe8wy.js → file-wf2yx5re.js} +10 -10
  258. package/dist/chunks/{websearch-5zrdtdrf.js → file-wf34z6h5.js} +11 -11
  259. package/dist/chunks/{websearch-ztz4j6tx.js → file-whx7epc8.js} +11 -11
  260. package/dist/chunks/{websearch-7w3s9kd0.js → file-wnmqtqbz.js} +9 -9
  261. package/dist/chunks/{websearch-nwjqq5p1.js → file-wqq4yjck.js} +13 -13
  262. package/dist/chunks/{websearch-1kq608fv.js → file-wtfd7wae.js} +24 -24
  263. package/dist/chunks/{websearch-1p2sdtde.js → file-wzm9vhk7.js} +6 -6
  264. package/dist/chunks/{websearch-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  265. package/dist/chunks/{websearch-zans6vvk.js → file-x4zvqetd.js} +32 -32
  266. package/dist/chunks/{websearch-qrpkzea1.js → file-x5117sxm.js} +23 -23
  267. package/dist/chunks/{websearch-r0y2mygc.js → file-xba06r7e.js} +18 -18
  268. package/dist/chunks/{websearch-e3rd11p8.js → file-xc5qzd8z.js} +15 -15
  269. package/dist/chunks/{websearch-y0enq6yx.js → file-xejrq3dz.js} +43 -43
  270. package/dist/chunks/{websearch-mrrrmvzm.js → file-xjnjfb63.js} +32 -32
  271. package/dist/chunks/{websearch-eamc0k64.js → file-xksa7wvh.js} +59 -59
  272. package/dist/chunks/{websearch-jdqyxw3b.js → file-xqrmy91b.js} +6 -6
  273. package/dist/chunks/{websearch-9zt0qaq4.js → file-xrtgkc4g.js} +9 -9
  274. package/dist/chunks/{websearch-4bfr0h1a.js → file-xw79ec0z.js} +21 -21
  275. package/dist/chunks/{websearch-dps2ye13.js → file-xx275nmg.js} +17 -17
  276. package/dist/chunks/{websearch-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{websearch-p5n00eja.js → file-y4jyg05x.js} +44 -44
  278. package/dist/chunks/{websearch-sxsb2wh5.js → file-y98520v9.js} +29 -29
  279. package/dist/chunks/{websearch-3va2t4ne.js → file-ye3wrgze.js} +21 -21
  280. package/dist/chunks/{websearch-7hb0xpq9.js → file-yg9zx5fs.js} +35 -35
  281. package/dist/chunks/{websearch-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{websearch-pb5amgwz.js → file-ywxvr4rb.js} +23 -23
  283. package/dist/chunks/{websearch-8ssqt2ma.js → file-yzsh5ekf.js} +11 -11
  284. package/dist/chunks/{websearch-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{websearch-6mtbrevk.js → file-z6wymv09.js} +15 -15
  286. package/dist/chunks/{websearch-4argy660.js → file-zbfspryx.js} +18 -18
  287. package/dist/chunks/{websearch-zeh9ct20.js → file-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{websearch-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{websearch-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  290. package/dist/chunks/{websearch-bt4vczj1.js → file-zzqh9mjf.js} +19 -19
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +80 -80
  296. package/dist/config/discovery.js +83 -83
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +105 -105
  299. package/dist/config/plugin/agent.js +122 -122
  300. package/dist/config/plugin/command.js +211 -211
  301. package/dist/config/plugin/compaction.js +159 -159
  302. package/dist/config/plugin/compatibility.js +140 -140
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +123 -123
  305. package/dist/config/plugin/image.js +122 -122
  306. package/dist/config/plugin/instruction.js +89 -89
  307. package/dist/config/plugin/location-watcher.js +124 -124
  308. package/dist/config/plugin/mcp.js +129 -129
  309. package/dist/config/plugin/policy.js +123 -123
  310. package/dist/config/plugin/provider.js +122 -122
  311. package/dist/config/plugin/reference.js +124 -124
  312. package/dist/config/plugin/shell.js +122 -122
  313. package/dist/config/plugin/skill-file.js +101 -101
  314. package/dist/config/plugin/skill.js +141 -141
  315. package/dist/config/plugin/snapshot.js +122 -122
  316. package/dist/config/plugin/source.js +125 -125
  317. package/dist/config/plugin/tool-output.js +124 -124
  318. package/dist/config/plugin/websearch.js +121 -121
  319. package/dist/config/plugin/worktree.js +124 -124
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +127 -127
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +84 -84
  325. package/dist/database/database.js +65 -65
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration.gen.js +48 -48
  390. package/dist/database/migration.js +50 -50
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +75 -75
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +369 -369
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +3 -3
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +92 -92
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +94 -94
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +1 -1
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +69 -69
  414. package/dist/file-access.js +103 -103
  415. package/dist/file-mutation.js +93 -93
  416. package/dist/file-retention.js +1 -1
  417. package/dist/file.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/ignore.js +1 -1
  423. package/dist/filesystem/location-watcher-policy.js +2 -2
  424. package/dist/filesystem/location-watcher.js +226 -226
  425. package/dist/filesystem/protected.js +3 -3
  426. package/dist/filesystem/search.js +102 -102
  427. package/dist/filesystem/watcher-binding.js +3 -3
  428. package/dist/filesystem/watcher.js +15 -15
  429. package/dist/filesystem.js +107 -107
  430. package/dist/form.js +85 -85
  431. package/dist/formatter/builtins.js +4 -4
  432. package/dist/formatter.js +88 -88
  433. package/dist/generate.js +100 -100
  434. package/dist/git.js +6 -6
  435. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  436. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  437. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  439. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  441. package/dist/github-copilot/copilot-provider.js +17 -17
  442. package/dist/github-copilot/models.js +90 -90
  443. package/dist/github-copilot/openai-compatible-error.js +1 -1
  444. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  445. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  446. package/dist/github-copilot/responses/openai-error.js +1 -1
  447. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  448. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  449. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  450. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  451. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  454. package/dist/id/id.js +1 -1
  455. package/dist/image/photon.js +2 -2
  456. package/dist/image.js +6 -6
  457. package/dist/instance/service.js +5 -5
  458. package/dist/instance.js +360 -360
  459. package/dist/instruction-discovery.js +84 -84
  460. package/dist/instructions/builtins.js +86 -86
  461. package/dist/instructions/index.js +5 -5
  462. package/dist/integration/connection.js +3 -3
  463. package/dist/integration.js +85 -85
  464. package/dist/job.js +78 -78
  465. package/dist/kv/sql.js +2 -2
  466. package/dist/kv.js +72 -72
  467. package/dist/location-activity.js +131 -131
  468. package/dist/location-lifecycle.js +105 -105
  469. package/dist/location-mutation.js +103 -103
  470. package/dist/location-service-map.js +85 -85
  471. package/dist/location-services.js +357 -357
  472. package/dist/location.js +80 -80
  473. package/dist/managed-policy.js +5 -5
  474. package/dist/mcp/client.js +90 -90
  475. package/dist/mcp/index.js +107 -107
  476. package/dist/mcp/instructions.js +125 -125
  477. package/dist/mcp/oauth.js +77 -77
  478. package/dist/mcp/stdio.js +89 -89
  479. package/dist/mime.js +1 -1
  480. package/dist/modal/models.js +90 -90
  481. package/dist/model-resolver.js +97 -97
  482. package/dist/model.js +101 -101
  483. package/dist/models-dev.js +100 -100
  484. package/dist/oauth/page.js +1 -1
  485. package/dist/permission/saved.js +79 -79
  486. package/dist/permission/sql.js +5 -5
  487. package/dist/permission.js +118 -118
  488. package/dist/persistent-pty/binary.bun.js +1 -1
  489. package/dist/persistent-pty/daemon.js +1 -1
  490. package/dist/persistent-pty/index.js +85 -85
  491. package/dist/persistent-pty/pty-binding.js +1 -1
  492. package/dist/persistent-pty.js +74 -74
  493. package/dist/plugin/agent.js +101 -101
  494. package/dist/plugin/command.js +98 -98
  495. package/dist/plugin/compaction.js +130 -130
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +217 -217
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +3 -3
  500. package/dist/plugin/internal.js +331 -331
  501. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  502. package/dist/plugin/models-dev.js +95 -95
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +4 -4
  505. package/dist/plugin/plan.js +101 -101
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  508. package/dist/plugin/provider/azure.js +121 -121
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  511. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  512. package/dist/plugin/provider/cohere.js +2 -2
  513. package/dist/plugin/provider/configured.js +118 -118
  514. package/dist/plugin/provider/digitalocean.js +92 -92
  515. package/dist/plugin/provider/dynamic.js +2 -2
  516. package/dist/plugin/provider/factory.js +1 -1
  517. package/dist/plugin/provider/gateway.js +2 -2
  518. package/dist/plugin/provider/github-copilot.js +92 -92
  519. package/dist/plugin/provider/gitlab.js +90 -90
  520. package/dist/plugin/provider/google-vertex.js +89 -89
  521. package/dist/plugin/provider/kilo.js +1 -1
  522. package/dist/plugin/provider/llmgateway.js +76 -76
  523. package/dist/plugin/provider/lmstudio.js +121 -121
  524. package/dist/plugin/provider/modal.js +91 -91
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +121 -121
  527. package/dist/plugin/provider/openai.js +93 -93
  528. package/dist/plugin/provider/opencode.js +93 -93
  529. package/dist/plugin/provider/openrouter.js +90 -90
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +77 -77
  532. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  533. package/dist/plugin/provider/sap-ai-core.js +90 -90
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  536. package/dist/plugin/provider/venice.js +2 -2
  537. package/dist/plugin/provider/vercel.js +89 -89
  538. package/dist/plugin/provider/vllm.js +121 -121
  539. package/dist/plugin/provider/xai.js +90 -90
  540. package/dist/plugin/provider/zenmux.js +1 -1
  541. package/dist/plugin/provider.js +159 -159
  542. package/dist/plugin/sdk.js +75 -75
  543. package/dist/plugin/service.js +3 -3
  544. package/dist/plugin/skill.js +138 -138
  545. package/dist/plugin/source-directory.js +1 -1
  546. package/dist/plugin/supervisor.js +350 -350
  547. package/dist/plugin/tool-input-repair.js +4 -4
  548. package/dist/plugin/update.js +4 -4
  549. package/dist/plugin/vcs/git.js +85 -85
  550. package/dist/plugin/vcs/hg.js +85 -85
  551. package/dist/plugin/warming.js +120 -120
  552. package/dist/plugin/websearch/exa.js +5 -5
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +2 -2
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +224 -224
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +79 -79
  563. package/dist/provider.js +100 -100
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/schema.js +1 -1
  566. package/dist/pty/ticket.js +1 -1
  567. package/dist/pty.js +91 -91
  568. package/dist/reference/instructions.js +88 -88
  569. package/dist/reference.js +90 -90
  570. package/dist/repository-cache.js +80 -80
  571. package/dist/repository.js +3 -3
  572. package/dist/ripgrep/binary.js +2 -2
  573. package/dist/ripgrep.js +96 -96
  574. package/dist/rpc.js +85 -85
  575. package/dist/schema.js +1 -1
  576. package/dist/session/command.js +73 -73
  577. package/dist/session/compaction.js +129 -129
  578. package/dist/session/context.js +151 -151
  579. package/dist/session/diff.js +87 -87
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +7 -7
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +220 -220
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +150 -150
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +87 -87
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +74 -74
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +92 -92
  592. package/dist/session/message-updater.js +2 -2
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +116 -116
  595. package/dist/session/model-transport.js +7 -7
  596. package/dist/session/move.js +129 -129
  597. package/dist/session/projector.js +85 -85
  598. package/dist/session/prompt.js +104 -104
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +89 -89
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +230 -230
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +97 -97
  606. package/dist/session/runner/publish-llm-event.js +3 -3
  607. package/dist/session/runner/retry.js +113 -113
  608. package/dist/session/runner/step.js +125 -125
  609. package/dist/session/runner/to-llm-message.js +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +171 -171
  612. package/dist/session/shell.js +137 -137
  613. package/dist/session/skill.js +102 -102
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +72 -72
  616. package/dist/session/store.js +86 -86
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +207 -207
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +155 -155
  621. package/dist/session/to-session-error.js +110 -110
  622. package/dist/session/transfer.js +213 -213
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +217 -217
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  629. package/dist/shell.js +139 -139
  630. package/dist/skill/discovery.js +2 -2
  631. package/dist/skill/instructions.js +106 -106
  632. package/dist/skill.js +109 -109
  633. package/dist/snapshot.js +92 -92
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +124 -124
  638. package/dist/tool/plugin/edit.js +111 -111
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +121 -121
  641. package/dist/tool/plugin/grep.js +123 -123
  642. package/dist/tool/plugin/opencode.js +3 -3
  643. package/dist/tool/plugin/patch.js +121 -121
  644. package/dist/tool/plugin/question.js +100 -100
  645. package/dist/tool/plugin/read.js +124 -124
  646. package/dist/tool/plugin/shell.js +214 -214
  647. package/dist/tool/plugin/skill.js +110 -110
  648. package/dist/tool/plugin/subagent.js +216 -216
  649. package/dist/tool/plugin/webfetch.js +103 -103
  650. package/dist/tool/plugin/websearch.js +109 -109
  651. package/dist/tool/plugin/write.js +121 -121
  652. package/dist/tool/read-filesystem.js +95 -95
  653. package/dist/tool/runtime.js +1 -1
  654. package/dist/tool-output.js +8 -8
  655. package/dist/tool.js +14 -14
  656. package/dist/util/error-summary.js +1 -1
  657. package/dist/util/error.js +1 -1
  658. package/dist/util/git-executable.js +2 -2
  659. package/dist/util/iife.js +1 -1
  660. package/dist/util/lazy.js +1 -1
  661. package/dist/util/slug.js +1 -1
  662. package/dist/util/token.js +1 -1
  663. package/dist/util/which.js +1 -1
  664. package/dist/util/wildcard.js +1 -1
  665. package/dist/v1/config/agent.js +7 -7
  666. package/dist/v1/config/attachment.js +4 -4
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/config.js +16 -16
  669. package/dist/v1/config/error.js +4 -4
  670. package/dist/v1/config/formatter.js +7 -7
  671. package/dist/v1/config/layout.js +1 -1
  672. package/dist/v1/config/lsp.js +5 -5
  673. package/dist/v1/config/mcp.js +4 -4
  674. package/dist/v1/config/migrate.js +91 -91
  675. package/dist/v1/config/permission.js +7 -7
  676. package/dist/v1/config/plugin.js +3 -3
  677. package/dist/v1/config/provider-options.js +1 -1
  678. package/dist/v1/config/provider.js +4 -4
  679. package/dist/v1/config/server.js +2 -2
  680. package/dist/v1/config/skills.js +3 -3
  681. package/dist/v1/permission.js +1 -1
  682. package/dist/variant.js +90 -90
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +81 -81
  686. package/dist/wellknown/plugin.js +73 -73
  687. package/dist/wellknown.js +78 -78
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +77 -77
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +10 -10
  693. package/dist/worktree/sql.js +5 -5
  694. package/dist/worktree/strategies.js +88 -88
  695. package/dist/worktree.js +95 -95
  696. package/package.json +8 -8
  697. package/dist/chunks/websearch-4v7qdvcn.js +0 -18
  698. package/dist/chunks/websearch-ayg7q4gs.js +0 -252
  699. package/dist/chunks/websearch-r0snc0mf.js +0 -26
  700. /package/dist/chunks/{websearch-0mesazry.js → file-0mesazry.js} +0 -0
  701. /package/dist/chunks/{websearch-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  702. /package/dist/chunks/{websearch-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  703. /package/dist/chunks/{websearch-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  704. /package/dist/chunks/{websearch-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  705. /package/dist/chunks/{websearch-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  706. /package/dist/chunks/{websearch-24dcb14g.js → file-24dcb14g.js} +0 -0
  707. /package/dist/chunks/{websearch-2710q6r3.js → file-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{websearch-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{websearch-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{websearch-359p4xyc.js → file-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{websearch-3asan66x.js → file-3asan66x.js} +0 -0
  712. /package/dist/chunks/{websearch-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{websearch-3w5fmr99.js → file-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{websearch-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{websearch-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{websearch-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{websearch-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{websearch-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{websearch-53557ph1.js → file-53557ph1.js} +0 -0
  720. /package/dist/chunks/{websearch-550bvhaj.js → file-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{websearch-6prwharc.js → file-6prwharc.js} +0 -0
  722. /package/dist/chunks/{websearch-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{websearch-7m9af43g.js → file-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{websearch-822emrt2.js → file-822emrt2.js} +0 -0
  725. /package/dist/chunks/{websearch-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{websearch-8n3pysct.js → file-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{websearch-922hggd3.js → file-922hggd3.js} +0 -0
  728. /package/dist/chunks/{websearch-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{websearch-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{websearch-a6k6eb26.js → file-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{websearch-af5trqkr.js → file-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{websearch-afrmfg78.js → file-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{websearch-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{websearch-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{websearch-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{websearch-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{websearch-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{websearch-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{websearch-d9fn303g.js → file-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{websearch-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{websearch-dajrwvna.js → file-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{websearch-dap0rakb.js → file-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{websearch-df08tz66.js → file-df08tz66.js} +0 -0
  744. /package/dist/chunks/{websearch-dy18nga0.js → file-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{websearch-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{websearch-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{websearch-ec1grn59.js → file-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{websearch-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{websearch-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{websearch-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{websearch-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{websearch-faypxj3z.js → file-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{websearch-fd410y7t.js → file-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{websearch-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{websearch-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{websearch-g86h250q.js → file-g86h250q.js} +0 -0
  757. /package/dist/chunks/{websearch-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{websearch-gftt206x.js → file-gftt206x.js} +0 -0
  759. /package/dist/chunks/{websearch-hjbc5kem.js → file-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{websearch-hk9envan.js → file-hk9envan.js} +0 -0
  761. /package/dist/chunks/{websearch-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{websearch-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{websearch-jjkms2e6.js → file-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{websearch-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{websearch-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{websearch-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{websearch-mp448xyj.js → file-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{websearch-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{websearch-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{websearch-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{websearch-njntx4h6.js → file-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{websearch-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{websearch-q74kybfr.js → file-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{websearch-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{websearch-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{websearch-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{websearch-qg3g05ea.js → file-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{websearch-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{websearch-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{websearch-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{websearch-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{websearch-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{websearch-twg0f83k.js → file-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{websearch-w803qqfp.js → file-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{websearch-wc3fc9cn.js → file-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{websearch-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{websearch-wtztk69x.js → file-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{websearch-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{websearch-x61499pn.js → file-x61499pn.js} +0 -0
  790. /package/dist/chunks/{websearch-y44na4kk.js → file-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{websearch-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  792. /package/dist/chunks/{websearch-y8f7s663.js → file-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{websearch-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{websearch-ym463w8f.js → file-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{websearch-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./websearch-922hggd3.js";
3
+ } from "./file-922hggd3.js";
4
4
  import {
5
5
  Service80
6
- } from "./websearch-1mpytbrd.js";
6
+ } from "./file-gj2nqsbr.js";
7
7
  import {
8
8
  __export
9
- } from "./websearch-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/config/discovery.ts
12
12
  var exports_discovery2 = {};
13
13
  __export(exports_discovery2, {
14
14
  ConfigDiscovery: () => exports_discovery2,
15
15
  discover: () => discover3,
16
- names: () => names3
16
+ names: () => names4
17
17
  });
18
18
  import path from "path";
19
19
  import { Effect } from "effect";
20
20
  import { FSUtil } from "@opencode/util/fs-util";
21
21
  import { Global } from "@opencode/util/global";
22
- var names3 = ["opencode.json", "opencode.jsonc"];
22
+ var names4 = ["opencode.json", "opencode.jsonc"];
23
23
  var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
24
24
  const fs = yield* FSUtil.Service;
25
25
  const global = yield* Global.Service;
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
31
31
  const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
32
32
  const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
33
33
  const parent = yield* fs.resolve(directory);
34
- return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
34
+ return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names4.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
35
35
  })).pipe(Effect.map((items) => items.flat()), Effect.orDie);
36
36
  const globalEnabled = options?.global !== false;
37
- const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
37
+ const globalFiles = yield* Effect.forEach(names4, (name) => fs.resolve(path.join(globalDirectory, name)));
38
38
  const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
39
39
  return {
40
40
  global: globalEnabled ? globalDirectory : undefined,
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
56
56
  };
57
57
  });
58
58
 
59
- export { names3, discover3, exports_discovery2 };
59
+ export { names4, discover3, exports_discovery2 };
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./websearch-2a5m3afh.js";
3
+ } from "./file-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./websearch-922hggd3.js";
6
+ } from "./file-922hggd3.js";
7
7
  import {
8
8
  Service80
9
- } from "./websearch-1mpytbrd.js";
9
+ } from "./file-gj2nqsbr.js";
10
10
  import {
11
- Service78
12
- } from "./websearch-3va2t4ne.js";
11
+ Service69
12
+ } from "./file-ye3wrgze.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service77
16
- } from "./websearch-f9tzck21.js";
15
+ Service19
16
+ } from "./file-sq0f3j6x.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry4,
21
+ Entry2,
22
22
  Match2
23
- } from "./websearch-wbhf1d2f.js";
23
+ } from "./file-vhv9mknt.js";
24
24
  import {
25
- Service70
26
- } from "./websearch-eamc0k64.js";
25
+ Service50
26
+ } from "./file-xksa7wvh.js";
27
27
  import {
28
- Service69
29
- } from "./websearch-hfdggbzh.js";
28
+ Service49
29
+ } from "./file-43d6rre2.js";
30
30
  import {
31
31
  __export
32
- } from "./websearch-9rqn6x4v.js";
32
+ } from "./file-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input2,
39
- Output: () => Output2,
40
- Plugin: () => Plugin36,
41
- name: () => name2,
42
- toModelContent: () => toModelContent2
38
+ Input: () => Input10,
39
+ Output: () => Output8,
40
+ Plugin: () => Plugin44,
41
+ name: () => name10,
42
+ toModelContent: () => toModelContent5
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name2 = "grep";
48
- var Input2 = Schema.Struct({
47
+ var name10 = "grep";
48
+ var Input10 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input2 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output2 = Schema.Array(Match2);
69
- var toModelContent2 = (matches, truncated = false) => {
68
+ var Output8 = Schema.Array(Match2);
69
+ var toModelContent5 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin36 = {
86
+ var Plugin44 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service78;
90
- const ripgrep = yield* Service77;
89
+ const environment = yield* Service69;
90
+ const ripgrep = yield* Service19;
91
91
  const location = yield* Service80;
92
- const access = yield* Service69;
93
- const permission = yield* Service70;
92
+ const access = yield* Service49;
93
+ const permission = yield* Service50;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name2,
95
+ name: name10,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input2,
99
- output: Output2,
98
+ input: Input10,
99
+ output: Output8,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name2,
105
+ action: name10,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin36 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry4.make({
139
+ entry: Entry2.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -144,7 +144,7 @@ var Plugin36 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent2(result.matches.map((match) => ({
147
+ content: toModelContent5(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin36 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name2, Input2, Output2, toModelContent2, Plugin36, exports_grep };
157
+ export { name10, Input10, Output8, toModelContent5, Plugin44, exports_grep };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  key2
3
- } from "./websearch-cpj0znwe.js";
3
+ } from "./file-h6r3nrb9.js";
4
4
  import {
5
5
  Service83
6
- } from "./websearch-ygv8vf3r.js";
6
+ } from "./file-fhjb7rt8.js";
7
7
  import {
8
8
  OAuth3,
9
- Event15
10
- } from "./websearch-jxy9pp01.js";
9
+ Event19
10
+ } from "./file-4ze6gm64.js";
11
11
  import {
12
- ID9,
12
+ ID13,
13
13
  MethodID2
14
- } from "./websearch-yr8w2f7w.js";
14
+ } from "./file-k0hsyzpz.js";
15
15
  import {
16
- ID8,
16
+ ID12,
17
17
  aisdk2,
18
18
  mergeOverlay2,
19
- Service62
20
- } from "./websearch-wxv342sh.js";
19
+ Service75
20
+ } from "./file-2xcgp7gj.js";
21
21
  import {
22
- ID7
23
- } from "./websearch-r6bhbggm.js";
22
+ ID10
23
+ } from "./file-frz1fex2.js";
24
24
  import {
25
25
  load2,
26
26
  derive2
27
- } from "./websearch-psa6e1wa.js";
27
+ } from "./file-tq3e67kz.js";
28
28
  import {
29
29
  useragent2
30
- } from "./websearch-qn9b0sqe.js";
30
+ } from "./file-5v4jjjtv.js";
31
31
 
32
32
  // src/plugin/provider/github-copilot.ts
33
33
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
59
59
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
60
60
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
61
61
  var oauth = (app) => ({
62
- integrationID: ID9.make("github-copilot"),
62
+ integrationID: ID13.make("github-copilot"),
63
63
  method: {
64
64
  id: methodID,
65
65
  type: "oauth",
@@ -157,7 +157,7 @@ var oauth = (app) => ({
157
157
  var GithubCopilotPlugin2 = define({
158
158
  id: "opencode.provider.github.copilot",
159
159
  effect: Effect.fn(function* (ctx) {
160
- const providers = yield* Service62;
160
+ const providers = yield* Service75;
161
161
  const bus = yield* Service83;
162
162
  const loading = Semaphore.makeUnsafe(1);
163
163
  const loaded = {};
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
173
173
  return;
174
174
  }
175
175
  const url = copilotBaseURL2(credential.metadata) ?? baseURL();
176
- const provider = yield* providers.get(ID8.githubCopilot);
176
+ const provider = yield* providers.get(ID12.githubCopilot);
177
177
  const remote = yield* Effect.tryPromise({
178
178
  try: () => load2(url, {
179
179
  ...provider?.headers,
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
194
194
  editor.method.update(oauth(ctx.app));
195
195
  });
196
196
  yield* ctx.provider.transform((evt) => {
197
- const item = evt.get(ID8.githubCopilot);
197
+ const item = evt.get(ID12.githubCopilot);
198
198
  if (!item)
199
199
  return;
200
200
  if (loaded.models) {
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
214
214
  }
215
215
  });
216
216
  yield* ctx.model.transform((models) => {
217
- if (models.get(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
218
- models.update(ID8.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
217
+ if (models.get(ID12.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
218
+ models.update(ID12.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
219
219
  model.enabled = false;
220
220
  });
221
221
  }
222
222
  });
223
223
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
224
- yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
225
225
  yield* refresh().pipe(Effect.forkScoped);
226
226
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
227
- if (evt.model.providerID !== ID8.githubCopilot)
227
+ if (evt.model.providerID !== ID12.githubCopilot)
228
228
  return;
229
229
  if (evt.package !== "@ai-sdk/github-copilot")
230
230
  return;
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
233
233
  evt.sdk = mod.createOpenaiCompatible(evt.options);
234
234
  }));
235
235
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
236
- if (evt.model.providerID !== ID8.githubCopilot)
236
+ if (evt.model.providerID !== ID12.githubCopilot)
237
237
  return;
238
238
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
239
239
  return;
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
243
243
  evt.headers["X-Interaction-Id"] = evt.sessionID;
244
244
  if (interaction !== "conversation-agent")
245
245
  evt.headers["x-initiator"] = "agent";
246
- }), { providerID: ID8.githubCopilot });
246
+ }), { providerID: ID12.githubCopilot });
247
247
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
248
- if (evt.model.providerID !== ID8.githubCopilot)
248
+ if (evt.model.providerID !== ID12.githubCopilot)
249
249
  return;
250
250
  const token = evt.request.headers.get("x-api-key");
251
251
  if (!token)
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
253
253
  const text = yield* Effect.promise(() => evt.request.clone().text());
254
254
  const body = Option.getOrUndefined(decodeBody(text));
255
255
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
256
- }), { providerID: ID8.githubCopilot });
256
+ }), { providerID: ID12.githubCopilot });
257
257
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
258
- if (evt.model.providerID !== ID8.githubCopilot)
258
+ if (evt.model.providerID !== ID12.githubCopilot)
259
259
  return;
260
260
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
261
261
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./websearch-qfa1cgps.js";
3
+ } from "./file-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./websearch-8p4f9s12.js";
6
+ } from "./file-8p4f9s12.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -2,37 +2,37 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./websearch-ygv8vf3r.js";
5
+ } from "./file-fhjb7rt8.js";
6
6
  import {
7
7
  __export
8
- } from "./websearch-9rqn6x4v.js";
8
+ } from "./file-9rqn6x4v.js";
9
9
 
10
10
  // src/plugin/sdk.ts
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service4,
14
+ Service: () => Service3,
15
15
  Updated: () => Updated2,
16
- layer: () => layer5,
17
- node: () => node6
16
+ layer: () => layer4,
17
+ node: () => node4
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service4 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service3 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer5 = Layer.effect(Service4, Effect.gen(function* () {
25
+ var layer4 = Layer.effect(Service3, Effect.gen(function* () {
26
26
  const bus = yield* Service83;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service4.of({
29
+ return Service3.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node6 = makeGlobalNode({ service: Service4, layer: layer5, deps: [node87] });
36
+ var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node87] });
37
37
 
38
- export { Updated2, Service4, layer5, node6, exports_sdk };
38
+ export { Updated2, Service3, layer4, node4, exports_sdk };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service45
3
- } from "./websearch-hcpzh4y5.js";
2
+ Service56
3
+ } from "./file-03ddm2ac.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./websearch-02nrjc1r.js";
6
+ } from "./file-t550f9t1.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./websearch-922hggd3.js";
9
+ } from "./file-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service35
13
- } from "./websearch-ezd1shxf.js";
12
+ Service39
13
+ } from "./file-ty8hjbwp.js";
14
14
  import {
15
15
  Service80
16
- } from "./websearch-1mpytbrd.js";
16
+ } from "./file-gj2nqsbr.js";
17
17
  import {
18
18
  __export
19
- } from "./websearch-9rqn6x4v.js";
19
+ } from "./file-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin19
25
+ Plugin: () => Plugin32
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin19 = define({
32
+ var Plugin32 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service35;
35
+ const discovery = yield* Service39;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
41
  const location = yield* Service80;
42
- const watcher = yield* Service45;
42
+ const watcher = yield* Service56;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin19, exports_instruction };
117
+ export { Plugin32, exports_instruction };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./websearch-bjnm8sq4.js";
4
+ } from "./file-6ktwvsfe.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./websearch-2710q6r3.js";
8
+ } from "./file-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./websearch-y71avatq.js";
11
+ } from "./file-dpkg50ah.js";
12
12
  import {
13
13
  __export
14
- } from "./websearch-9rqn6x4v.js";
14
+ } from "./file-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./websearch-ygv8vf3r.js";
4
+ } from "./file-fhjb7rt8.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./websearch-rdw6cm16.js";
8
+ } from "./file-rdw6cm16.js";
9
9
  import {
10
10
  Service80,
11
11
  node84
12
- } from "./websearch-1mpytbrd.js";
12
+ } from "./file-gj2nqsbr.js";
13
13
  import {
14
14
  rewrite2,
15
- ID8,
15
+ ID12,
16
16
  modelSettings2,
17
17
  mergeOverlay2,
18
18
  mergeHeaders2,
19
- Service62,
20
- node65,
21
- Event13
22
- } from "./websearch-wxv342sh.js";
19
+ Service75,
20
+ node79,
21
+ Event17
22
+ } from "./file-2xcgp7gj.js";
23
23
  import {
24
24
  __export
25
- } from "./websearch-9rqn6x4v.js";
25
+ } from "./file-9rqn6x4v.js";
26
26
 
27
27
  // src/model.ts
28
28
  var exports_model2 = {};
@@ -30,25 +30,25 @@ __export(exports_model2, {
30
30
  Capabilities: () => Capabilities2,
31
31
  Compatibility: () => Compatibility2,
32
32
  Cost: () => Cost2,
33
- Event: () => Event12,
33
+ Event: () => Event15,
34
34
  Family: () => Family2,
35
- ID: () => ID7,
36
- Info: () => Info20,
35
+ ID: () => ID10,
36
+ Info: () => Info24,
37
37
  Model: () => exports_model2,
38
38
  ReasoningField: () => ReasoningField2,
39
39
  Ref: () => Ref2,
40
- Service: () => Service61,
40
+ Service: () => Service67,
41
41
  VariantID: () => VariantID2,
42
42
  compatibility: () => compatibility2,
43
- node: () => node64,
44
- parse: () => parse5
43
+ node: () => node70,
44
+ parse: () => parse4
45
45
  });
46
46
  import { Model } from "@opencode/schema/model";
47
47
  import { Context, Effect, Layer, Stream } from "effect";
48
48
  import { makeLocationNode } from "@opencode/util/effect/app-node";
49
49
  import { freeze } from "immer";
50
- import { Event as Event12 } from "@opencode/schema/model";
51
- var ID7 = Model.ID;
50
+ import { Event as Event15 } from "@opencode/schema/model";
51
+ var ID10 = Model.ID;
52
52
  var VariantID2 = Model.VariantID;
53
53
  var Family2 = Model.Family;
54
54
  var ReasoningField2 = Model.ReasoningField;
@@ -56,12 +56,12 @@ var Compatibility2 = Model.Compatibility;
56
56
  var Capabilities2 = Model.Capabilities;
57
57
  var Cost2 = Model.Cost;
58
58
  var Ref2 = Model.Ref;
59
- var Info20 = Model.Info;
59
+ var Info24 = Model.Info;
60
60
 
61
- class Service61 extends Context.Service()("@opencode/Model") {
61
+ class Service67 extends Context.Service()("@opencode/Model") {
62
62
  }
63
- var layer = Layer.effect(Service61, Effect.gen(function* () {
64
- const providers = yield* Service62;
63
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
64
+ const providers = yield* Service75;
65
65
  const bus = yield* Service83;
66
66
  const location = yield* Service80;
67
67
  let input;
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
108
108
  const models = writable(providerID);
109
109
  if (!models)
110
110
  return;
111
- const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
111
+ const model = draft(providerID, modelID) ?? Info24.default(providerID, modelID);
112
112
  update(model);
113
113
  model.id = modelID;
114
114
  model.providerID = providerID;
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
197
197
  location: { directory: location.directory, workspaceID: location.workspaceID }
198
198
  });
199
199
  });
200
- yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
- return Service61.of({
200
+ yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
201
+ return Service67.of({
202
202
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
203
203
  reload,
204
204
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
217
217
  })
218
218
  });
219
219
  }));
220
- var node64 = makeLocationNode({ service: Service61, layer, deps: [node65, node87, node84] });
220
+ var node70 = makeLocationNode({ service: Service67, layer, deps: [node79, node87, node84] });
221
221
  function compatibility2(input) {
222
222
  if (typeof input === "string")
223
223
  return { reasoningField: input };
@@ -225,12 +225,12 @@ function compatibility2(input) {
225
225
  return;
226
226
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
227
227
  }
228
- function parse5(input) {
228
+ function parse4(input) {
229
229
  const index = input.indexOf("/");
230
230
  return {
231
- providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
232
- modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
231
+ providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
232
+ modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
233
233
  };
234
234
  }
235
235
 
236
- export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info20, Service61, node64, compatibility2, parse5, exports_model2, Event12 };
236
+ export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info24, Service67, node70, compatibility2, parse4, exports_model2, Event15 };