@opencode/core 0.0.0-dev-20315 → 0.0.0-dev-20316

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{websearch-r98e92ep.js → project-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{websearch-r8z811q0.js → project-045baswh.js} +14 -14
  9. package/dist/chunks/{websearch-zw0fwj7b.js → project-048xc26x.js} +47 -47
  10. package/dist/chunks/{websearch-8s64f4zr.js → project-06nv7jxy.js} +2 -2
  11. package/dist/chunks/{websearch-744h6hpz.js → project-09w06n2q.js} +10 -10
  12. package/dist/chunks/project-0adt99ty.js +252 -0
  13. package/dist/chunks/{websearch-0paq2nw3.js → project-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{websearch-m1h0tx1s.js → project-0vfkfsvf.js} +3 -3
  15. package/dist/chunks/{websearch-ysmh0qcb.js → project-0x3qcm03.js} +25 -25
  16. package/dist/chunks/{websearch-30846h32.js → project-0xezjjjn.js} +8 -8
  17. package/dist/chunks/{websearch-aftbda3g.js → project-0z5seett.js} +17 -17
  18. package/dist/chunks/{websearch-z9hgdvrx.js → project-128pgwnk.js} +26 -26
  19. package/dist/chunks/{websearch-qd90pas1.js → project-14wgfyw1.js} +35 -35
  20. package/dist/chunks/{websearch-67yngfbk.js → project-16s6chgv.js} +7 -7
  21. package/dist/chunks/{websearch-s9e0embe.js → project-17y0377r.js} +39 -39
  22. package/dist/chunks/{websearch-r8xr0va3.js → project-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{websearch-510kmzsn.js → project-1c29hv3p.js} +10 -10
  24. package/dist/chunks/{websearch-1dazxqgg.js → project-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{websearch-z46nqmt0.js → project-1hskrfnt.js} +22 -22
  26. package/dist/chunks/{websearch-sp2q8w15.js → project-1n2pc2hr.js} +12 -12
  27. package/dist/chunks/{websearch-2d3was31.js → project-1t90kb9x.js} +23 -23
  28. package/dist/chunks/{websearch-4ayrdjn3.js → project-1xweqgb1.js} +18 -18
  29. package/dist/chunks/{websearch-21r38tys.js → project-21r38tys.js} +1 -1
  30. package/dist/chunks/{websearch-8s1fj8xg.js → project-25cs5cen.js} +8 -8
  31. package/dist/chunks/{websearch-2a5m3afh.js → project-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{websearch-7bbm11g6.js → project-2e8hs3n1.js} +17 -17
  33. package/dist/chunks/{websearch-gj3tcdjz.js → project-2jpf0fvd.js} +73 -73
  34. package/dist/chunks/{websearch-2zeps9bf.js → project-2mzfjhd5.js} +27 -27
  35. package/dist/chunks/{websearch-pbex7gjf.js → project-2n37e6w7.js} +3 -3
  36. package/dist/chunks/{websearch-75bft53p.js → project-2tr1k1b8.js} +10 -10
  37. package/dist/chunks/{websearch-tnjqcmf2.js → project-2v338a3n.js} +17 -17
  38. package/dist/chunks/{websearch-gd52xpsw.js → project-2vfwjvt0.js} +5 -5
  39. package/dist/chunks/{websearch-ram43mb6.js → project-2wnd0vm8.js} +24 -24
  40. package/dist/chunks/{websearch-2cmv458r.js → project-2xwkyk0m.js} +5 -5
  41. package/dist/chunks/{websearch-s6ta71px.js → project-32jw649k.js} +14 -14
  42. package/dist/chunks/{websearch-hn98dy4c.js → project-339h4057.js} +3 -3
  43. package/dist/chunks/{websearch-z3pw5915.js → project-37s12vcn.js} +5 -5
  44. package/dist/chunks/{websearch-2qg9r24m.js → project-3by8z3q7.js} +31 -31
  45. package/dist/chunks/{websearch-mq5qpvgt.js → project-3c9vxe8z.js} +18 -18
  46. package/dist/chunks/{websearch-18q5qf09.js → project-3e15rq0w.js} +32 -32
  47. package/dist/chunks/{websearch-3fc6dm20.js → project-3fc6dm20.js} +1 -1
  48. package/dist/chunks/{websearch-yw5az23y.js → project-3ff3e122.js} +13 -13
  49. package/dist/chunks/{websearch-z46atd3x.js → project-3fvrem5n.js} +32 -32
  50. package/dist/chunks/{websearch-3hepkmqq.js → project-3hepkmqq.js} +1 -1
  51. package/dist/chunks/{websearch-whtab2de.js → project-3jq7hafk.js} +38 -38
  52. package/dist/chunks/{websearch-83yvtnma.js → project-3k28x0rq.js} +7 -7
  53. package/dist/chunks/{websearch-xqe4nx7y.js → project-3sg0jw0d.js} +20 -20
  54. package/dist/chunks/{websearch-3smtnn6g.js → project-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{websearch-3tvqynh2.js → project-3tvqynh2.js} +1 -1
  56. package/dist/chunks/{websearch-d8q7azdv.js → project-3x2h1jqq.js} +16 -16
  57. package/dist/chunks/{websearch-3zsf4n22.js → project-3zsf4n22.js} +1 -1
  58. package/dist/chunks/{websearch-tc6h97yq.js → project-403m2ss4.js} +6 -6
  59. package/dist/chunks/{websearch-g7swxvb3.js → project-41wzkj33.js} +14 -14
  60. package/dist/chunks/{websearch-mg4kb3sm.js → project-460prvfa.js} +32 -32
  61. package/dist/chunks/{websearch-5dkn69vz.js → project-4j4tgtq5.js} +4 -4
  62. package/dist/chunks/{websearch-v8jfbz3g.js → project-4mwpykj0.js} +6 -6
  63. package/dist/chunks/{websearch-f473zzm1.js → project-4n26wkx8.js} +4 -4
  64. package/dist/chunks/{websearch-75cbc0wp.js → project-4tzsdqn7.js} +43 -43
  65. package/dist/chunks/{websearch-54ma36ye.js → project-54ma36ye.js} +1 -1
  66. package/dist/chunks/{websearch-qn2t683x.js → project-563x647v.js} +15 -15
  67. package/dist/chunks/{websearch-56gdpj1q.js → project-56gdpj1q.js} +2 -2
  68. package/dist/chunks/{websearch-4sn99hha.js → project-57ez7d0k.js} +7 -7
  69. package/dist/chunks/{websearch-cbnb0qhw.js → project-5beq9rmc.js} +18 -18
  70. package/dist/chunks/{websearch-5daktx2q.js → project-5daktx2q.js} +1 -1
  71. package/dist/chunks/{websearch-sht1ggzb.js → project-5ejns0m0.js} +4 -4
  72. package/dist/chunks/{websearch-e3qxr5gk.js → project-5qd3pb7m.js} +2 -2
  73. package/dist/chunks/{websearch-5t3nmthw.js → project-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{websearch-3fmtxraa.js → project-5xpznt2d.js} +4 -4
  75. package/dist/chunks/{websearch-jtpqwtf5.js → project-5yv68qc1.js} +15 -15
  76. package/dist/chunks/{websearch-1dmbhjkf.js → project-607q5haz.js} +12 -12
  77. package/dist/chunks/project-619r8v3y.js +18 -0
  78. package/dist/chunks/{websearch-e68yym1a.js → project-619t0cxh.js} +34 -34
  79. package/dist/chunks/{websearch-5qmq9jsc.js → project-624xt6we.js} +22 -22
  80. package/dist/chunks/{websearch-v7y0g2dx.js → project-65ptgm6v.js} +13 -13
  81. package/dist/chunks/{websearch-669tq793.js → project-669tq793.js} +1 -1
  82. package/dist/chunks/{websearch-zqmxcax1.js → project-6a8xraeq.js} +13 -13
  83. package/dist/chunks/{websearch-qzvt6g0y.js → project-6k23k7vx.js} +48 -48
  84. package/dist/chunks/{websearch-6msgmcgs.js → project-6msgmcgs.js} +1 -1
  85. package/dist/chunks/{websearch-kf2091jj.js → project-6pwz9vdm.js} +15 -15
  86. package/dist/chunks/{websearch-vne8fx5y.js → project-6w454pee.js} +16 -16
  87. package/dist/chunks/{websearch-4ww9n9r4.js → project-6wg8zrc8.js} +24 -24
  88. package/dist/chunks/{websearch-snyhvzmq.js → project-6zsmm6dr.js} +43 -43
  89. package/dist/chunks/{websearch-15q9zhw6.js → project-75mzgwkf.js} +32 -32
  90. package/dist/chunks/{websearch-7bmhse3q.js → project-7bmhse3q.js} +1 -1
  91. package/dist/chunks/{websearch-mfjatvga.js → project-7dnkkhh4.js} +16 -16
  92. package/dist/chunks/{websearch-wjhk09fd.js → project-7gaega4f.js} +9 -9
  93. package/dist/chunks/{websearch-1vhcn32p.js → project-7gfsvgty.js} +9 -9
  94. package/dist/chunks/{websearch-y13zm6th.js → project-7kb53k34.js} +8 -8
  95. package/dist/chunks/{websearch-rndjshpn.js → project-7kjckr2c.js} +3 -3
  96. package/dist/chunks/{websearch-0dbhx5c8.js → project-7pcrhvh4.js} +7 -7
  97. package/dist/chunks/{websearch-g5agzp2h.js → project-7pr2hkwv.js} +5 -5
  98. package/dist/chunks/{websearch-y76jjpt2.js → project-7v99a3s2.js} +44 -44
  99. package/dist/chunks/{websearch-7g2dwhq9.js → project-7w0y71jc.js} +8 -8
  100. package/dist/chunks/{websearch-ze3aemja.js → project-818pfwc9.js} +11 -11
  101. package/dist/chunks/{websearch-5brnvgs1.js → project-83nh47t2.js} +7 -7
  102. package/dist/chunks/{websearch-nzzq53xj.js → project-8496rxe5.js} +30 -30
  103. package/dist/chunks/{websearch-84txncab.js → project-84txncab.js} +1 -1
  104. package/dist/chunks/{websearch-jvz2vva3.js → project-884bfwk0.js} +9 -9
  105. package/dist/chunks/{websearch-tcezcvh9.js → project-89znhe33.js} +4 -4
  106. package/dist/chunks/{websearch-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
  107. package/dist/chunks/{websearch-25danj7w.js → project-8ezkp1w1.js} +24 -24
  108. package/dist/chunks/{websearch-gmffv4tx.js → project-8f78v9qy.js} +3 -3
  109. package/dist/chunks/{websearch-mq4hv3jy.js → project-8fq5ayth.js} +11 -11
  110. package/dist/chunks/{websearch-ga9qj16j.js → project-8fqdsx23.js} +184 -184
  111. package/dist/chunks/project-8nxkrca3.js +26 -0
  112. package/dist/chunks/{websearch-jznkeq6r.js → project-8p2pmgw9.js} +23 -23
  113. package/dist/chunks/{websearch-xftkdb3f.js → project-8wvrh9f5.js} +1 -1
  114. package/dist/chunks/{websearch-94ek1h2f.js → project-94ek1h2f.js} +2 -2
  115. package/dist/chunks/{websearch-fajpydvj.js → project-96n2ccqs.js} +5 -5
  116. package/dist/chunks/{websearch-2ve4gsd6.js → project-98eksqsr.js} +8 -8
  117. package/dist/chunks/{websearch-76jqgbzw.js → project-9cw7v7t0.js} +5 -5
  118. package/dist/chunks/{websearch-rjfym8a1.js → project-9herab98.js} +36 -36
  119. package/dist/chunks/{websearch-3gqbdmzf.js → project-9qkx95r0.js} +19 -19
  120. package/dist/chunks/{websearch-58dtx8ms.js → project-9qvr998c.js} +11 -11
  121. package/dist/chunks/{websearch-w50pcx5b.js → project-9rybd2zw.js} +24 -24
  122. package/dist/chunks/{websearch-gx9hpsfx.js → project-9stnwpgq.js} +10 -10
  123. package/dist/chunks/{websearch-m4x1wxq0.js → project-a1by8739.js} +23 -23
  124. package/dist/chunks/{websearch-0ck15x4z.js → project-a1jns5ne.js} +21 -21
  125. package/dist/chunks/{websearch-aaet6srn.js → project-aaet6srn.js} +2 -2
  126. package/dist/chunks/{websearch-4smaernk.js → project-atjyqtyt.js} +6 -6
  127. package/dist/chunks/{websearch-ydvyv12k.js → project-atrcd26x.js} +23 -23
  128. package/dist/chunks/{websearch-yt3hy1g9.js → project-axs6pdy0.js} +5 -5
  129. package/dist/chunks/{websearch-xwdehcth.js → project-azzr0vhd.js} +13 -13
  130. package/dist/chunks/{websearch-zed2rj9n.js → project-b18wbhdm.js} +11 -11
  131. package/dist/chunks/{websearch-tmzr3e9p.js → project-b227wj0j.js} +4 -4
  132. package/dist/chunks/{websearch-b6gygkdw.js → project-b6gygkdw.js} +2 -2
  133. package/dist/chunks/{websearch-8amrmy6h.js → project-b6vdck89.js} +58 -58
  134. package/dist/chunks/{websearch-3c019r4e.js → project-b7t4d0bx.js} +6 -6
  135. package/dist/chunks/{websearch-mxcxzvg0.js → project-b9krrcn2.js} +21 -21
  136. package/dist/chunks/{websearch-54frdkap.js → project-b9ycemf2.js} +11 -11
  137. package/dist/chunks/{websearch-3ta3wknr.js → project-benezg7w.js} +10 -10
  138. package/dist/chunks/{websearch-fg62k31m.js → project-bn399aes.js} +34 -34
  139. package/dist/chunks/{websearch-37rvek3e.js → project-bneggmm6.js} +5 -5
  140. package/dist/chunks/{websearch-y58kfvay.js → project-c5bjafsp.js} +28 -28
  141. package/dist/chunks/{websearch-79qaa2kf.js → project-c765mh8b.js} +9 -9
  142. package/dist/chunks/{websearch-h34v8h42.js → project-c874zv42.js} +11 -11
  143. package/dist/chunks/{websearch-hnhy823k.js → project-c8j29rkk.js} +11 -11
  144. package/dist/chunks/{websearch-74k0abgc.js → project-cebq52h3.js} +21 -21
  145. package/dist/chunks/{websearch-ckecvw8r.js → project-ckecvw8r.js} +2 -2
  146. package/dist/chunks/{websearch-eys57y9b.js → project-cmwkp3r5.js} +8 -8
  147. package/dist/chunks/{websearch-35agz59w.js → project-cqg8v4c7.js} +6 -6
  148. package/dist/chunks/{websearch-zfras33v.js → project-cwv7yqrw.js} +37 -37
  149. package/dist/chunks/{websearch-f1smd48c.js → project-czg9x4h8.js} +11 -11
  150. package/dist/chunks/{websearch-7zt2hy8r.js → project-d3fj698k.js} +5 -5
  151. package/dist/chunks/{websearch-vter92x3.js → project-d4fbvmpv.js} +8 -8
  152. package/dist/chunks/{websearch-sbg2ffdw.js → project-d6dqh9nb.js} +4 -4
  153. package/dist/chunks/{websearch-b9rp53qd.js → project-dbggsdn6.js} +15 -15
  154. package/dist/chunks/{websearch-7krgpby0.js → project-df7trzx9.js} +33 -33
  155. package/dist/chunks/{websearch-jeyg0ke5.js → project-dnaw0pkd.js} +3 -3
  156. package/dist/chunks/{websearch-mpk0rfs5.js → project-dnxkq42g.js} +4 -4
  157. package/dist/chunks/{websearch-dpkg50ah.js → project-dpkg50ah.js} +1 -1
  158. package/dist/chunks/{websearch-gs5xsmqt.js → project-dryza082.js} +20 -20
  159. package/dist/chunks/{websearch-ghjn1vr2.js → project-e049drp9.js} +11 -11
  160. package/dist/chunks/{websearch-qv4qswxh.js → project-e0t5n6h4.js} +25 -25
  161. package/dist/chunks/{websearch-599yrsc6.js → project-e2qcx340.js} +12 -12
  162. package/dist/chunks/{websearch-det6nmjv.js → project-e63gg9ae.js} +27 -27
  163. package/dist/chunks/{websearch-hnr5yq9h.js → project-e6hmchc5.js} +5 -5
  164. package/dist/chunks/{websearch-ecfe7b91.js → project-ecfe7b91.js} +2 -2
  165. package/dist/chunks/{websearch-9k94y365.js → project-ed2m8rt6.js} +20 -20
  166. package/dist/chunks/{websearch-ef5x83kb.js → project-ef5x83kb.js} +1 -1
  167. package/dist/chunks/{websearch-hegvwz92.js → project-enmvcg2s.js} +5 -5
  168. package/dist/chunks/{websearch-jb03acqs.js → project-erkqxs4v.js} +16 -16
  169. package/dist/chunks/{websearch-etq0c3wd.js → project-etq0c3wd.js} +1 -1
  170. package/dist/chunks/{websearch-has5vve3.js → project-ew3ps6bh.js} +2 -2
  171. package/dist/chunks/{websearch-ghr0z1c5.js → project-f3zdv7ej.js} +30 -30
  172. package/dist/chunks/{websearch-y8r0b0d7.js → project-far2xf0m.js} +4 -4
  173. package/dist/chunks/{websearch-34rkz0x9.js → project-fdv30zvt.js} +4 -4
  174. package/dist/chunks/{websearch-xkwfj8pw.js → project-ffmtnmcc.js} +28 -28
  175. package/dist/chunks/{websearch-p57dvf2n.js → project-fjvydvzm.js} +6 -6
  176. package/dist/chunks/{websearch-rv6z7gw2.js → project-fzp769bc.js} +25 -25
  177. package/dist/chunks/{websearch-p51p3jcg.js → project-g190xswt.js} +21 -21
  178. package/dist/chunks/{websearch-gd4qta3r.js → project-gd4qta3r.js} +1 -1
  179. package/dist/chunks/{websearch-5pcerek2.js → project-gq19827e.js} +1 -1
  180. package/dist/chunks/{websearch-ztg86a82.js → project-gq3bt1cd.js} +14 -14
  181. package/dist/chunks/{websearch-z961w9n7.js → project-gt50eczq.js} +11 -11
  182. package/dist/chunks/{websearch-gv6a8nnw.js → project-gv6a8nnw.js} +2 -2
  183. package/dist/chunks/{websearch-9sjzy932.js → project-gyjy55vd.js} +3 -3
  184. package/dist/chunks/project-h15qk984.js +507 -0
  185. package/dist/chunks/{websearch-h6vf3j39.js → project-h6vf3j39.js} +1 -1
  186. package/dist/chunks/{websearch-4kq9pb9m.js → project-h8hwphbd.js} +24 -24
  187. package/dist/chunks/{websearch-h5w29vws.js → project-hd8vw2pw.js} +1 -1
  188. package/dist/chunks/{websearch-qwn8ah54.js → project-hn43hy9v.js} +7 -7
  189. package/dist/chunks/{websearch-65cry6gt.js → project-hnmy0hsy.js} +50 -50
  190. package/dist/chunks/{websearch-vs04cnh9.js → project-hz5p8n7r.js} +15 -15
  191. package/dist/chunks/{websearch-2735jr6x.js → project-j26sntzs.js} +12 -12
  192. package/dist/chunks/{websearch-mgpyxjx6.js → project-j50a6jve.js} +11 -11
  193. package/dist/chunks/{websearch-j56e64zr.js → project-j56e64zr.js} +1 -1
  194. package/dist/chunks/{websearch-pqs75qat.js → project-j8f5yte4.js} +15 -15
  195. package/dist/chunks/{websearch-nwaxkyn6.js → project-jdtykp26.js} +83 -83
  196. package/dist/chunks/{websearch-n35d2xk4.js → project-jjs74g98.js} +9 -9
  197. package/dist/chunks/{websearch-k3c624dm.js → project-k3c624dm.js} +3 -3
  198. package/dist/chunks/{websearch-pk2244jm.js → project-k6yq57aq.js} +3 -3
  199. package/dist/chunks/{websearch-3gkfjs8g.js → project-kfewz56y.js} +22 -22
  200. package/dist/chunks/{websearch-s6thwhsa.js → project-kjkxz51n.js} +28 -28
  201. package/dist/chunks/{websearch-rk7s9xkn.js → project-knevfgda.js} +4 -4
  202. package/dist/chunks/{websearch-m3fdjcah.js → project-m3fdjcah.js} +1 -1
  203. package/dist/chunks/{websearch-4k6nebbf.js → project-m6f3t844.js} +8 -8
  204. package/dist/chunks/{websearch-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
  205. package/dist/chunks/{websearch-jrb3ybzb.js → project-mk2wn6nt.js} +46 -46
  206. package/dist/chunks/{websearch-55t35ge0.js → project-mksgfzgs.js} +5 -5
  207. package/dist/chunks/{websearch-1bbkgx8g.js → project-mvfsc1pv.js} +3 -3
  208. package/dist/chunks/{websearch-n8r2xnj4.js → project-n3csagb3.js} +27 -27
  209. package/dist/chunks/{websearch-z8b4kjbk.js → project-n5g5f6a9.js} +29 -29
  210. package/dist/chunks/{websearch-6361pm7t.js → project-n7kq7syy.js} +11 -11
  211. package/dist/chunks/{websearch-jmdxyne3.js → project-n9brwhfv.js} +11 -11
  212. package/dist/chunks/{websearch-e5jdprf0.js → project-ncpnxt6w.js} +17 -17
  213. package/dist/chunks/{websearch-m868v4qf.js → project-nm0q2jgj.js} +26 -26
  214. package/dist/chunks/{websearch-kgw03ymn.js → project-nm4b89zg.js} +24 -24
  215. package/dist/chunks/{websearch-xs77dcbq.js → project-nmbqr5ec.js} +29 -29
  216. package/dist/chunks/{websearch-8fk8ddme.js → project-nykjhsrz.js} +58 -58
  217. package/dist/chunks/{websearch-mzch8gy8.js → project-pfnjx98c.js} +22 -22
  218. package/dist/chunks/{websearch-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
  219. package/dist/chunks/{websearch-pknna89w.js → project-pknna89w.js} +1 -1
  220. package/dist/chunks/{websearch-a5k959kv.js → project-pm3a7hnh.js} +41 -41
  221. package/dist/chunks/{websearch-8zvfy1sx.js → project-ptf9bkze.js} +9 -9
  222. package/dist/chunks/{websearch-f7hnam9t.js → project-pv66basf.js} +11 -11
  223. package/dist/chunks/{websearch-8sze2n9a.js → project-py3kkmfq.js} +6 -6
  224. package/dist/chunks/{websearch-w2h2marb.js → project-q03xkger.js} +10 -10
  225. package/dist/chunks/{websearch-t30g6ptf.js → project-q19fen1v.js} +30 -30
  226. package/dist/chunks/{websearch-mefsdm1z.js → project-q9jkegzq.js} +37 -37
  227. package/dist/chunks/{websearch-743fkmh2.js → project-qaqjyhfq.js} +10 -10
  228. package/dist/chunks/{websearch-5cp6651z.js → project-qbqbaz6q.js} +4 -4
  229. package/dist/chunks/{websearch-2k8khapm.js → project-qgn6gcr1.js} +5 -5
  230. package/dist/chunks/{websearch-nswq2vff.js → project-qhvf56dz.js} +9 -9
  231. package/dist/chunks/{websearch-qsdy395h.js → project-qsdy395h.js} +1 -1
  232. package/dist/chunks/{websearch-x2g21h5k.js → project-r14vm1xa.js} +19 -19
  233. package/dist/chunks/{websearch-rdw6cm16.js → project-rdw6cm16.js} +1 -1
  234. package/dist/chunks/{websearch-nfbxkr4j.js → project-rfj00t6s.js} +20 -20
  235. package/dist/chunks/{websearch-v82ahx5x.js → project-s04yvqe9.js} +47 -47
  236. package/dist/chunks/{websearch-j3fq2wes.js → project-s2fyaqj8.js} +12 -12
  237. package/dist/chunks/{websearch-6jev5hzb.js → project-s825grcd.js} +42 -42
  238. package/dist/chunks/{websearch-rhjbct0v.js → project-s8d7rejh.js} +4 -4
  239. package/dist/chunks/{websearch-nxhqveyz.js → project-s8zy8myc.js} +5 -5
  240. package/dist/chunks/{websearch-kdq8v965.js → project-sk2hk6tq.js} +9 -9
  241. package/dist/chunks/{websearch-d32cvgp3.js → project-swk1efsm.js} +10 -10
  242. package/dist/chunks/{websearch-v3y2rnh8.js → project-t41mts01.js} +9 -9
  243. package/dist/chunks/{websearch-tazgh4e4.js → project-tazgh4e4.js} +1 -1
  244. package/dist/chunks/{websearch-tdstcens.js → project-tdstcens.js} +1 -1
  245. package/dist/chunks/{websearch-6q2vn9ec.js → project-tr8mceaa.js} +17 -17
  246. package/dist/chunks/{websearch-8vb5tqwb.js → project-tv78pmrq.js} +38 -38
  247. package/dist/chunks/{websearch-tvtrv512.js → project-tvtrv512.js} +1 -1
  248. package/dist/chunks/{websearch-wzaheq51.js → project-tvyg9cvp.js} +6 -6
  249. package/dist/chunks/{websearch-sp9z2nbm.js → project-tzxknpb8.js} +14 -14
  250. package/dist/chunks/{websearch-1p4wrj55.js → project-v2gj3r6j.js} +23 -23
  251. package/dist/chunks/{websearch-e809e4x5.js → project-v89ca3yf.js} +5 -5
  252. package/dist/chunks/{websearch-gfxm4tx3.js → project-ve8aas4y.js} +10 -10
  253. package/dist/chunks/{websearch-veqvce7d.js → project-veqvce7d.js} +1 -1
  254. package/dist/chunks/{websearch-wbpsemv3.js → project-vf87633e.js} +20 -20
  255. package/dist/chunks/{websearch-6dzt0jsp.js → project-vf98g9bw.js} +29 -29
  256. package/dist/chunks/{websearch-c349nqvk.js → project-vhs061t7.js} +14 -14
  257. package/dist/chunks/{websearch-vzcthcp8.js → project-vzcthcp8.js} +1 -1
  258. package/dist/chunks/{websearch-vzs5sf6e.js → project-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{websearch-b48k6s9j.js → project-w2236gjw.js} +22 -22
  260. package/dist/chunks/{websearch-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
  261. package/dist/chunks/{websearch-pnvk1zxf.js → project-w6zk8pbt.js} +8 -8
  262. package/dist/chunks/{websearch-ckbmf8wb.js → project-w893fnt1.js} +95 -95
  263. package/dist/chunks/{websearch-9nj21xqc.js → project-was7srj9.js} +8 -8
  264. package/dist/chunks/{websearch-5xy19ny6.js → project-wcqyh1ts.js} +9 -9
  265. package/dist/chunks/{websearch-wd3x2cqz.js → project-wd3x2cqz.js} +2 -2
  266. package/dist/chunks/{websearch-wd87259q.js → project-wd87259q.js} +1 -1
  267. package/dist/chunks/{websearch-xpcm6zc0.js → project-wnkxv0q5.js} +33 -33
  268. package/dist/chunks/{websearch-nxas41wb.js → project-wpeqwd3m.js} +11 -11
  269. package/dist/chunks/{websearch-j699j8bt.js → project-wqc6684y.js} +2 -2
  270. package/dist/chunks/{websearch-05gncdem.js → project-wyjk5hfb.js} +3 -3
  271. package/dist/chunks/{websearch-gdhrwhft.js → project-x176zp1b.js} +24 -24
  272. package/dist/chunks/{websearch-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
  273. package/dist/chunks/{websearch-pp3sfry4.js → project-x2y9dr9x.js} +20 -20
  274. package/dist/chunks/{websearch-4wwqnvbr.js → project-xb50yt4b.js} +4 -4
  275. package/dist/chunks/{websearch-8yt0sx58.js → project-xbk7y0ps.js} +20 -20
  276. package/dist/chunks/{websearch-xfkkasph.js → project-xfkkasph.js} +1 -1
  277. package/dist/chunks/{websearch-dmqcgk4z.js → project-xkntkrq7.js} +5 -5
  278. package/dist/chunks/{websearch-djw7193z.js → project-xzb2kbk8.js} +26 -26
  279. package/dist/chunks/{websearch-7v81x33d.js → project-y0mc46pw.js} +9 -9
  280. package/dist/chunks/{websearch-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
  281. package/dist/chunks/{websearch-6c75yjmg.js → project-yfc128y6.js} +8 -8
  282. package/dist/chunks/{websearch-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{websearch-s4enseaf.js → project-yrznvahk.js} +2 -2
  284. package/dist/chunks/{websearch-z07pqspn.js → project-z07pqspn.js} +3 -3
  285. package/dist/chunks/{websearch-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{websearch-29x78va6.js → project-z63w68vq.js} +6 -6
  287. package/dist/chunks/{websearch-b31wxpcf.js → project-zc89qxvr.js} +18 -18
  288. package/dist/chunks/{websearch-dhmh7aw6.js → project-zcrspsvn.js} +4 -4
  289. package/dist/chunks/{websearch-zeh9ct20.js → project-zeh9ct20.js} +2 -2
  290. package/dist/chunks/{websearch-3h88fw2c.js → project-zf1fk0v2.js} +11 -11
  291. package/dist/chunks/{websearch-pr7xs3qk.js → project-zfgkzra5.js} +17 -17
  292. package/dist/chunks/{websearch-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
  293. package/dist/chunks/{websearch-zxq2ej10.js → project-zxq2ej10.js} +1 -1
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +9 -9
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +83 -83
  299. package/dist/config/discovery.js +84 -84
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +123 -123
  303. package/dist/config/plugin/command.js +213 -213
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +123 -123
  311. package/dist/config/plugin/mcp.js +130 -130
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +123 -123
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +142 -142
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +122 -122
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +128 -128
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +81 -81
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +13 -13
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +14 -14
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +1 -1
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +74 -74
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +90 -90
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +222 -222
  428. package/dist/filesystem/protected.js +3 -3
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +15 -15
  432. package/dist/filesystem.js +108 -108
  433. package/dist/form.js +78 -78
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +103 -103
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +91 -91
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +85 -85
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +87 -87
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +105 -105
  478. package/dist/mcp/instructions.js +127 -127
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +91 -91
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +98 -98
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +82 -82
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +113 -113
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +102 -102
  496. package/dist/plugin/command.js +98 -98
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +4 -4
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +95 -95
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +139 -139
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +354 -354
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +84 -84
  552. package/dist/plugin/vcs/hg.js +84 -84
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +7 -7
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +2 -2
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +230 -230
  563. package/dist/project/schema.js +6 -6
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +88 -88
  566. package/dist/provider.js +97 -97
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +99 -99
  570. package/dist/reference/instructions.js +89 -89
  571. package/dist/reference.js +91 -91
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +1 -1
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +135 -135
  581. package/dist/session/context.js +151 -151
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +225 -225
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +86 -86
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +4 -4
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +1 -1
  623. package/dist/session/title.js +157 -157
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +221 -221
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +219 -219
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +105 -105
  635. package/dist/skill.js +110 -110
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +126 -126
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +122 -122
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +120 -120
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +121 -121
  650. package/dist/tool/plugin/shell.js +216 -216
  651. package/dist/tool/plugin/skill.js +109 -109
  652. package/dist/tool/plugin/subagent.js +218 -218
  653. package/dist/tool/plugin/webfetch.js +110 -110
  654. package/dist/tool/plugin/websearch.js +112 -112
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +16 -16
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +3 -3
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +5 -5
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +5 -5
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +7 -7
  680. package/dist/v1/config/plugin.js +3 -3
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +91 -91
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +74 -74
  691. package/dist/wellknown.js +81 -81
  692. package/dist/workspace/driver.js +7 -7
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +80 -80
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +8 -8
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +98 -98
  700. package/package.json +8 -8
  701. package/dist/chunks/websearch-0562jfy0.js +0 -507
  702. package/dist/chunks/websearch-c72agqfj.js +0 -252
  703. package/dist/chunks/websearch-qc068m1q.js +0 -18
  704. package/dist/chunks/websearch-r26p9eks.js +0 -26
  705. /package/dist/chunks/{websearch-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
  706. /package/dist/chunks/{websearch-0zkw76rk.js → project-0zkw76rk.js} +0 -0
  707. /package/dist/chunks/{websearch-17cy0kzp.js → project-17cy0kzp.js} +0 -0
  708. /package/dist/chunks/{websearch-1cnp2v09.js → project-1cnp2v09.js} +0 -0
  709. /package/dist/chunks/{websearch-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
  710. /package/dist/chunks/{websearch-24dcb14g.js → project-24dcb14g.js} +0 -0
  711. /package/dist/chunks/{websearch-2710q6r3.js → project-2710q6r3.js} +0 -0
  712. /package/dist/chunks/{websearch-2axfhc9x.js → project-2axfhc9x.js} +0 -0
  713. /package/dist/chunks/{websearch-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
  714. /package/dist/chunks/{websearch-34c7v6d4.js → project-34c7v6d4.js} +0 -0
  715. /package/dist/chunks/{websearch-359p4xyc.js → project-359p4xyc.js} +0 -0
  716. /package/dist/chunks/{websearch-3asan66x.js → project-3asan66x.js} +0 -0
  717. /package/dist/chunks/{websearch-3v8g72cx.js → project-3v8g72cx.js} +0 -0
  718. /package/dist/chunks/{websearch-3w5fmr99.js → project-3w5fmr99.js} +0 -0
  719. /package/dist/chunks/{websearch-3wcehsnq.js → project-3wcehsnq.js} +0 -0
  720. /package/dist/chunks/{websearch-43n2bw4t.js → project-43n2bw4t.js} +0 -0
  721. /package/dist/chunks/{websearch-4knz6hnm.js → project-4knz6hnm.js} +0 -0
  722. /package/dist/chunks/{websearch-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
  723. /package/dist/chunks/{websearch-4y7fprxs.js → project-4y7fprxs.js} +0 -0
  724. /package/dist/chunks/{websearch-53557ph1.js → project-53557ph1.js} +0 -0
  725. /package/dist/chunks/{websearch-550bvhaj.js → project-550bvhaj.js} +0 -0
  726. /package/dist/chunks/{websearch-6prwharc.js → project-6prwharc.js} +0 -0
  727. /package/dist/chunks/{websearch-7akdwqpd.js → project-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{websearch-7m9af43g.js → project-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{websearch-822emrt2.js → project-822emrt2.js} +0 -0
  730. /package/dist/chunks/{websearch-88xbtdfr.js → project-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{websearch-8n3pysct.js → project-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{websearch-8wj87zfr.js → project-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{websearch-922hggd3.js → project-922hggd3.js} +0 -0
  734. /package/dist/chunks/{websearch-9a4afbnw.js → project-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{websearch-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{websearch-a6k6eb26.js → project-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{websearch-af5trqkr.js → project-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{websearch-afrmfg78.js → project-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{websearch-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{websearch-atq7p7m5.js → project-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{websearch-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{websearch-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{websearch-cf4snx6d.js → project-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{websearch-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{websearch-d9fn303g.js → project-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{websearch-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{websearch-dajrwvna.js → project-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{websearch-dap0rakb.js → project-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{websearch-df08tz66.js → project-df08tz66.js} +0 -0
  750. /package/dist/chunks/{websearch-dy18nga0.js → project-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{websearch-e5kj55wp.js → project-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{websearch-e73j6tqm.js → project-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{websearch-ec1grn59.js → project-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{websearch-eh3zwz77.js → project-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{websearch-emrn6kk6.js → project-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{websearch-f0mxakyp.js → project-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{websearch-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{websearch-faypxj3z.js → project-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{websearch-fd410y7t.js → project-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{websearch-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{websearch-g4wezp1m.js → project-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{websearch-g86h250q.js → project-g86h250q.js} +0 -0
  763. /package/dist/chunks/{websearch-gebd4c9n.js → project-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{websearch-gftt206x.js → project-gftt206x.js} +0 -0
  765. /package/dist/chunks/{websearch-hjbc5kem.js → project-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{websearch-hk9envan.js → project-hk9envan.js} +0 -0
  767. /package/dist/chunks/{websearch-j2ntwpah.js → project-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{websearch-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{websearch-jjkms2e6.js → project-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{websearch-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{websearch-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{websearch-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{websearch-mp448xyj.js → project-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{websearch-msx8hqn2.js → project-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{websearch-n05xt0ee.js → project-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{websearch-n3j8tn72.js → project-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{websearch-njntx4h6.js → project-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{websearch-q3sfg36h.js → project-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{websearch-q74kybfr.js → project-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{websearch-qaymkmh1.js → project-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{websearch-qb87gjwd.js → project-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{websearch-qfa1cgps.js → project-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{websearch-qg3g05ea.js → project-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{websearch-qrg20bc0.js → project-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{websearch-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{websearch-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{websearch-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{websearch-ssg3fenm.js → project-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{websearch-w803qqfp.js → project-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{websearch-wc3fc9cn.js → project-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{websearch-wer8tq1h.js → project-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{websearch-wtztk69x.js → project-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{websearch-x0ckcb58.js → project-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{websearch-x61499pn.js → project-x61499pn.js} +0 -0
  795. /package/dist/chunks/{websearch-y44na4kk.js → project-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{websearch-y8cydn3q.js → project-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{websearch-y8f7s663.js → project-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{websearch-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{websearch-ym463w8f.js → project-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{websearch-z9919s4g.js → project-z9919s4g.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./websearch-c349nqvk.js";
2
+ Service83,
3
+ node87
4
+ } from "./project-vhs061t7.js";
5
5
  import {
6
- Service71,
7
- node74
8
- } from "./websearch-744h6hpz.js";
6
+ Service58,
7
+ node60
8
+ } from "./project-09w06n2q.js";
9
9
  import {
10
10
  create3
11
- } from "./websearch-rdw6cm16.js";
11
+ } from "./project-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./websearch-9rqn6x4v.js";
14
+ } from "./project-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event14,
21
- ID: () => ID9,
22
- Input: () => Input14,
20
+ Event: () => Event5,
21
+ ID: () => ID4,
22
+ Input: () => Input13,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
25
25
  ProviderNotFoundError: () => ProviderNotFoundError2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service70,
31
+ Service: () => Service21,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node73
33
+ node: () => node24
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event14 } from "@opencode/schema/websearch";
41
- var ID9 = WebSearch.ID;
40
+ import { Event as Event5 } from "@opencode/schema/websearch";
41
+ var ID4 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
- var Input14 = WebSearch.Input;
43
+ var Input13 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID9, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID9
53
+ providerID: ID4
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID9,
61
+ providerID: ID4,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service70 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service21 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service70, Effect.gen(function* () {
69
- const bus = yield* Service82;
70
- const kv = yield* Service71;
68
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
69
+ const bus = yield* Service83;
70
+ const kv = yield* Service58;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service70.of({
127
+ return Service21.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node73 = makeLocationNode({
188
- service: Service70,
187
+ var node24 = makeLocationNode({
188
+ service: Service21,
189
189
  layer,
190
- deps: [node85, node74]
190
+ deps: [node87, node60]
191
191
  });
192
192
 
193
- export { ID9, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service70, node73, exports_websearch3, Event14 };
193
+ export { ID4, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service21, node24, exports_websearch3, Event5 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./websearch-rdw6cm16.js";
3
+ } from "./project-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./websearch-9rqn6x4v.js";
6
+ } from "./project-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service6,
13
- node: () => node7
12
+ Service: () => Service7,
13
+ node: () => node9
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service6 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service6, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service6.of({
44
+ return Service7.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node7 = makeLocationNode({ service: Service6, layer, deps: [] });
51
+ var node9 = makeLocationNode({ service: Service7, layer, deps: [] });
52
52
 
53
- export { Service6, node7, exports_location_watcher_policy };
53
+ export { Service7, node9, exports_location_watcher_policy };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./websearch-tazgh4e4.js";
3
+ } from "./project-tazgh4e4.js";
4
4
  import {
5
- ID7,
6
- Service59
7
- } from "./websearch-15q9zhw6.js";
5
+ ID11,
6
+ Service71
7
+ } from "./project-75mzgwkf.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./websearch-pk2244jm.js";
10
+ } from "./project-k6yq57aq.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./websearch-jvz2vva3.js";
13
+ } from "./project-884bfwk0.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./websearch-z07pqspn.js";
16
+ } from "./project-z07pqspn.js";
17
17
  import {
18
18
  __export
19
- } from "./websearch-9rqn6x4v.js";
19
+ } from "./project-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service59;
84
+ const snapshot = yield* Service71;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID7.make(from),
91
- to: ID7.make(to),
90
+ from: ID11.make(from),
91
+ to: ID11.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  latest2,
3
- Service63
4
- } from "./websearch-v82ahx5x.js";
3
+ Service49
4
+ } from "./project-s04yvqe9.js";
5
5
  import {
6
- Service62
7
- } from "./websearch-2735jr6x.js";
6
+ Service55
7
+ } from "./project-j26sntzs.js";
8
8
  import {
9
9
  observe2
10
- } from "./websearch-qsdy395h.js";
10
+ } from "./project-qsdy395h.js";
11
11
  import {
12
12
  __export
13
- } from "./websearch-9rqn6x4v.js";
13
+ } from "./project-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/tool-output.ts
16
16
  var exports_tool_output = {};
17
17
  __export(exports_tool_output, {
18
18
  ConfigToolOutputPlugin: () => exports_tool_output,
19
- Plugin: () => Plugin8
19
+ Plugin: () => Plugin11
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin8 = define({
23
+ var Plugin11 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service63;
27
- const output = yield* Service62;
26
+ const config = yield* Service49;
27
+ const output = yield* Service55;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -38,4 +38,4 @@ var Plugin8 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin8, exports_tool_output };
41
+ export { Plugin11, exports_tool_output };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service82,
3
- node85
4
- } from "./websearch-c349nqvk.js";
2
+ Service83,
3
+ node87
4
+ } from "./project-vhs061t7.js";
5
5
  import {
6
6
  __export
7
- } from "./websearch-9rqn6x4v.js";
7
+ } from "./project-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -16,17 +16,17 @@ __export(exports_form, {
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID14,
20
- Info: () => Info29,
19
+ ID: () => ID15,
20
+ Info: () => Info30,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service77,
25
+ Service: () => Service78,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer25,
29
- node: () => node80,
29
+ node: () => node82,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
@@ -35,8 +35,8 @@ import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID14 = Form.ID;
39
- var Info29 = Form.Info;
38
+ var ID15 = Form.ID;
39
+ var Info30 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
47
  class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID14
48
+ id: ID15
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID14
56
+ id: ID15
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID14
64
+ id: ID15
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID14,
72
+ id: ID15,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,10 +79,10 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service77 extends Context.Service()("@opencode/Form") {
82
+ class Service78 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer25 = Layer.effect(Service77, Effect.gen(function* () {
85
- const bus = yield* Service82;
84
+ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
85
+ const bus = yield* Service83;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
@@ -90,7 +90,7 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
90
90
  });
91
91
  const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID14.create();
93
+ const id = input.id ?? ID15.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service77.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service78.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node80 = makeLocationNode({ service: Service77, layer: layer25, deps: [node85] });
164
+ var node82 = makeLocationNode({ service: Service78, layer: layer25, deps: [node87] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID14, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service77, layer25, node80, validateAnswer2, validateFields2, exports_form, Event19 };
316
+ export { ID15, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer25, node82, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./websearch-qfa1cgps.js";
3
+ } from "./project-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./websearch-wd3x2cqz.js";
6
+ } from "./project-wd3x2cqz.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service8,
9
+ Service: () => Service5,
10
10
  bound: () => bound2,
11
- node: () => node9
11
+ node: () => node7
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service8 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service5 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node9 = makeLocationNode({
19
- service: Service8,
18
+ var node7 = makeLocationNode({
19
+ service: Service5,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service8, Service8.of({ all: () => stamped }));
29
+ return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service8, node9, bound2, exports_instance2 };
32
+ export { Service5, node7, bound2, exports_instance2 };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  __export
3
- } from "./websearch-9rqn6x4v.js";
3
+ } from "./project-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/lsp.ts
6
6
  var exports_lsp = {};
7
7
  __export(exports_lsp, {
8
8
  ConfigLSPV1: () => exports_lsp,
9
9
  Disabled: () => Disabled2,
10
- Entry: () => Entry3,
11
- Info: () => Info18,
10
+ Entry: () => Entry2,
11
+ Info: () => Info12,
12
12
  builtinServerIds: () => builtinServerIds2,
13
13
  requiresExtensionsForCustomServers: () => requiresExtensionsForCustomServers2
14
14
  });
@@ -16,7 +16,7 @@ import { Schema } from "effect";
16
16
  var Disabled2 = Schema.Struct({
17
17
  disabled: Schema.Literal(true)
18
18
  });
19
- var Entry3 = Schema.Union([
19
+ var Entry2 = Schema.Union([
20
20
  Disabled2,
21
21
  Schema.Struct({
22
22
  command: Schema.mutable(Schema.Array(Schema.String)),
@@ -79,6 +79,6 @@ var requiresExtensionsForCustomServers2 = Schema.makeFilter((data) => {
79
79
  });
80
80
  return ok ? undefined : "For custom LSP servers, 'extensions' array is required.";
81
81
  });
82
- var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]).check(requiresExtensionsForCustomServers2);
82
+ var Info12 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry2)]).check(requiresExtensionsForCustomServers2);
83
83
 
84
- export { Disabled2, Entry3, builtinServerIds2, requiresExtensionsForCustomServers2, Info18, exports_lsp };
84
+ export { Disabled2, Entry2, builtinServerIds2, requiresExtensionsForCustomServers2, Info12, exports_lsp };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./websearch-2a5m3afh.js";
3
+ } from "./project-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./websearch-922hggd3.js";
6
+ } from "./project-922hggd3.js";
7
7
  import {
8
- Service79
9
- } from "./websearch-mfjatvga.js";
8
+ Service80
9
+ } from "./project-7dnkkhh4.js";
10
10
  import {
11
- Service65
12
- } from "./websearch-25danj7w.js";
11
+ Service63
12
+ } from "./project-8ezkp1w1.js";
13
13
  import {
14
- Service26
15
- } from "./websearch-mq5qpvgt.js";
14
+ Service62
15
+ } from "./project-3c9vxe8z.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry2
21
- } from "./websearch-z46atd3x.js";
20
+ Entry4
21
+ } from "./project-3fvrem5n.js";
22
22
  import {
23
- Service54
24
- } from "./websearch-8amrmy6h.js";
23
+ Service66
24
+ } from "./project-b6vdck89.js";
25
25
  import {
26
- Service17
27
- } from "./websearch-b31wxpcf.js";
26
+ Service65
27
+ } from "./project-zc89qxvr.js";
28
28
  import {
29
29
  __export
30
- } from "./websearch-9rqn6x4v.js";
30
+ } from "./project-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input2,
37
- Output: () => Output2,
38
- Plugin: () => Plugin22,
39
- name: () => name2,
40
- toModelContent: () => toModelContent2
36
+ Input: () => Input11,
37
+ Output: () => Output8,
38
+ Plugin: () => Plugin32,
39
+ name: () => name11,
40
+ toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name2 = "glob";
46
- var Input2 = Schema.Struct({
45
+ var name11 = "glob";
46
+ var Input11 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input2 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output2 = Schema.Array(Entry2);
59
- var toModelContent2 = (entries, truncated = false) => {
58
+ var Output8 = Schema.Array(Entry4);
59
+ var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin22 = {
66
+ var Plugin32 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service65;
70
- const ripgrep = yield* Service26;
71
- const location = yield* Service79;
72
- const access = yield* Service17;
73
- const permission = yield* Service54;
69
+ const environment = yield* Service63;
70
+ const ripgrep = yield* Service62;
71
+ const location = yield* Service80;
72
+ const access = yield* Service65;
73
+ const permission = yield* Service66;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name2,
75
+ name: name11,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input2,
79
- output: Output2,
78
+ input: Input11,
79
+ output: Output8,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name2,
86
+ action: name11,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -111,18 +111,18 @@ var Plugin22 = {
111
111
  orElse: () => Effect.fail(new ToolFailure({
112
112
  message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
113
113
  }))
114
- }), Effect.map((result) => result.map((entry) => Entry2.make({
114
+ }), Effect.map((result) => result.map((entry) => Entry4.make({
115
115
  ...entry,
116
116
  path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
117
117
  }))));
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name2, Input2, Output2, toModelContent2, Plugin22, exports_glob };
128
+ export { name11, Input11, Output8, toModelContent6, Plugin32, exports_glob };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./websearch-mgpyxjx6.js";
3
+ } from "./project-j50a6jve.js";
4
4
  import {
5
5
  OAuth3,
6
- Service78
7
- } from "./websearch-jznkeq6r.js";
6
+ Service79
7
+ } from "./project-8p2pmgw9.js";
8
8
  import {
9
- ID13,
9
+ ID14,
10
10
  MethodID2
11
- } from "./websearch-n8r2xnj4.js";
11
+ } from "./project-n3csagb3.js";
12
12
  import {
13
- ID12,
13
+ ID13,
14
14
  mergeOverlay2
15
- } from "./websearch-6dzt0jsp.js";
15
+ } from "./project-vf98g9bw.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID12.make("xai");
27
+ var providerID = ID13.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID13.make("xai"),
47
+ integrationID: ID14.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service78;
73
- yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
72
+ const credentials = yield* Service79;
73
+ yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {