@opencode/core 2.0.23 → 2.0.24

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{generate-f5k9xycy.js → repository-00e0wh3q.js} +12 -12
  8. package/dist/chunks/{generate-529vcnym.js → repository-012g15cx.js} +10 -10
  9. package/dist/chunks/{generate-v1rqtb9w.js → repository-042aawn8.js} +23 -23
  10. package/dist/chunks/{generate-rpztatg6.js → repository-05t95569.js} +20 -20
  11. package/dist/chunks/{generate-nyhzf7s9.js → repository-067895h7.js} +17 -17
  12. package/dist/chunks/{generate-n92tnbgp.js → repository-0f0pgr2e.js} +1 -1
  13. package/dist/chunks/{generate-h9jzhyk0.js → repository-0g25qkkf.js} +11 -11
  14. package/dist/chunks/{generate-jjw1xd6n.js → repository-0h1qn0y5.js} +10 -10
  15. package/dist/chunks/{generate-0j77ygfz.js → repository-0j77ygfz.js} +2 -2
  16. package/dist/chunks/{generate-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{generate-te8w5cgp.js → repository-0qpq6ar5.js} +13 -13
  18. package/dist/chunks/{generate-ntmn2n27.js → repository-0qqvk1tp.js} +11 -11
  19. package/dist/chunks/{generate-0vbcp93d.js → repository-0vbcp93d.js} +2 -2
  20. package/dist/chunks/{generate-h7aewrw9.js → repository-16558gs3.js} +48 -48
  21. package/dist/chunks/{generate-yp2x3t23.js → repository-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{generate-73tb2d7t.js → repository-1bbkgx8g.js} +3 -3
  23. package/dist/chunks/{generate-cj02erkw.js → repository-1cw3fj19.js} +3 -3
  24. package/dist/chunks/{generate-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  25. package/dist/chunks/{generate-1dvck2a7.js → repository-1dvck2a7.js} +2 -2
  26. package/dist/chunks/{generate-qwjmgwmn.js → repository-1gfgk62c.js} +8 -8
  27. package/dist/chunks/{generate-qgatrawj.js → repository-1vvm3xv7.js} +11 -11
  28. package/dist/chunks/{generate-782xyd0k.js → repository-1wb0x8n3.js} +5 -5
  29. package/dist/chunks/{generate-6ywhdf6k.js → repository-23294nz8.js} +10 -10
  30. package/dist/chunks/{generate-nwgjszw0.js → repository-2455wr4j.js} +14 -13
  31. package/dist/chunks/{generate-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{generate-2ccvkpx1.js → repository-2ccvkpx1.js} +2 -2
  33. package/dist/chunks/{generate-7dqw4kz8.js → repository-2k8khapm.js} +5 -5
  34. package/dist/chunks/{generate-zfs8ae4p.js → repository-2m8jawch.js} +4 -4
  35. package/dist/chunks/{generate-arb3wnqs.js → repository-2t9hnq90.js} +10 -10
  36. package/dist/chunks/{generate-hrs38e71.js → repository-2texf5vf.js} +20 -20
  37. package/dist/chunks/{generate-y5pnfqkr.js → repository-2tyga0yy.js} +19 -51
  38. package/dist/chunks/{generate-zwhxpsnh.js → repository-2wredcz9.js} +17 -17
  39. package/dist/chunks/{generate-3x5f6s31.js → repository-32xj3ztx.js} +31 -31
  40. package/dist/chunks/{generate-znsx74x0.js → repository-3556dn8t.js} +1 -1
  41. package/dist/chunks/repository-3b3navdj.js +253 -0
  42. package/dist/chunks/{generate-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  43. package/dist/chunks/{generate-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  44. package/dist/chunks/{generate-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{generate-14vr5qa8.js → repository-3t7hfzt0.js} +17 -17
  46. package/dist/chunks/{generate-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{generate-bq4mvesw.js → repository-3vy5pcbx.js} +34 -34
  48. package/dist/chunks/{generate-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{generate-y8zbdhhn.js → repository-4344f0hm.js} +25 -25
  50. package/dist/chunks/repository-45085rbj.js +26 -0
  51. package/dist/chunks/{generate-330q9b0x.js → repository-46tr0mr7.js} +32 -36
  52. package/dist/chunks/{generate-3dgfh0cr.js → repository-47phkfqm.js} +39 -39
  53. package/dist/chunks/{generate-jrw39j1g.js → repository-4azg6a58.js} +10 -10
  54. package/dist/chunks/{generate-eqfn0pk5.js → repository-4c5k237e.js} +34 -34
  55. package/dist/chunks/{generate-dwxaxj0c.js → repository-4cw36es0.js} +9 -9
  56. package/dist/chunks/{generate-5tznt6k3.js → repository-4ege8dpt.js} +10 -10
  57. package/dist/chunks/{generate-n5gzjg8d.js → repository-4y69v0zr.js} +13 -13
  58. package/dist/chunks/{generate-h9wp8z5w.js → repository-4z58m4b4.js} +4 -4
  59. package/dist/chunks/{generate-zpzjyv2k.js → repository-4z7pkycv.js} +19 -19
  60. package/dist/chunks/{generate-54ma36ye.js → repository-54ma36ye.js} +1 -1
  61. package/dist/chunks/{generate-k5tx4xwh.js → repository-56a9smke.js} +15 -15
  62. package/dist/chunks/{generate-1ygqh575.js → repository-56gdpj1q.js} +9 -9
  63. package/dist/chunks/{generate-aqdbyk8h.js → repository-56gyfky0.js} +5 -5
  64. package/dist/chunks/{generate-w2h15q85.js → repository-57myy5jh.js} +5 -5
  65. package/dist/chunks/{generate-5daktx2q.js → repository-5daktx2q.js} +1 -1
  66. package/dist/chunks/repository-5ej07zgb.js +143 -0
  67. package/dist/chunks/{generate-s3pcx2b8.js → repository-5k54pn5m.js} +7 -7
  68. package/dist/chunks/{generate-vzcthcp8.js → repository-5m9w47nd.js} +1 -1
  69. package/dist/chunks/{generate-spja3q52.js → repository-5ng375bv.js} +12 -12
  70. package/dist/chunks/{generate-7bftgs18.js → repository-5pptr25h.js} +40 -25
  71. package/dist/chunks/{generate-8mnpn7jw.js → repository-5r637m3f.js} +33 -33
  72. package/dist/chunks/{generate-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{generate-jb9mn43j.js → repository-5t80mpw4.js} +19 -19
  74. package/dist/chunks/{generate-gk28ph79.js → repository-5w6ne2rj.js} +11 -11
  75. package/dist/chunks/{generate-yfxkm5w6.js → repository-68ga000j.js} +34 -34
  76. package/dist/chunks/{generate-z15fp2pm.js → repository-6b1pjwt3.js} +3 -3
  77. package/dist/chunks/{generate-hjbc5kem.js → repository-6q2bdcd1.js} +4 -1
  78. package/dist/chunks/{generate-xgaq9ax1.js → repository-6r4hjhnf.js} +20 -20
  79. package/dist/chunks/{generate-jmdp6qyf.js → repository-6x4qebe7.js} +33 -33
  80. package/dist/chunks/{generate-x1ezjp6w.js → repository-6xb47vfp.js} +4 -2
  81. package/dist/chunks/{generate-71az546q.js → repository-71az546q.js} +2 -2
  82. package/dist/chunks/{generate-zp2fsh7c.js → repository-77apbbcp.js} +17 -17
  83. package/dist/chunks/{generate-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  84. package/dist/chunks/{generate-3rd28rcz.js → repository-7c08hygz.js} +8 -8
  85. package/dist/chunks/{generate-pfh2gawv.js → repository-7d05dvcz.js} +6 -6
  86. package/dist/chunks/{generate-wdshzat6.js → repository-7wnc14t4.js} +21 -21
  87. package/dist/chunks/{generate-z872cvkj.js → repository-7z6z4pna.js} +5 -5
  88. package/dist/chunks/{generate-84txncab.js → repository-84txncab.js} +1 -1
  89. package/dist/chunks/{generate-1z18ck0n.js → repository-89za3yyg.js} +3 -3
  90. package/dist/chunks/{generate-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{generate-sgpy7nbp.js → repository-8hjmwb77.js} +16 -16
  92. package/dist/chunks/{generate-82czg0r8.js → repository-8kys6q5k.js} +9 -9
  93. package/dist/chunks/{generate-vbfgae2j.js → repository-8tsdq50x.js} +4 -4
  94. package/dist/chunks/{generate-kb6gw2zp.js → repository-96ctqc5x.js} +4 -4
  95. package/dist/chunks/{generate-3edgjjmd.js → repository-9815d8pv.js} +24 -21
  96. package/dist/chunks/{generate-9e5bzkjp.js → repository-9e5bzkjp.js} +3 -3
  97. package/dist/chunks/{generate-mt68kget.js → repository-9mhtj97w.js} +24 -24
  98. package/dist/chunks/{generate-an75rhmh.js → repository-9mxexfbd.js} +16 -16
  99. package/dist/chunks/{generate-t3cgces8.js → repository-9s1pr29s.js} +39 -39
  100. package/dist/chunks/{generate-4kfhygng.js → repository-9yaf30yb.js} +36 -36
  101. package/dist/chunks/{generate-z8hrkqzq.js → repository-9yxvhatz.js} +4 -4
  102. package/dist/chunks/{generate-pxhak851.js → repository-a199weyn.js} +6 -6
  103. package/dist/chunks/{generate-b27vhd2z.js → repository-a2ew8a62.js} +4 -4
  104. package/dist/chunks/{generate-gknnw9w7.js → repository-a6rczh0a.js} +30 -30
  105. package/dist/chunks/{generate-zqkxpfgh.js → repository-a7cd87s2.js} +65 -65
  106. package/dist/chunks/{generate-aaet6srn.js → repository-aaet6srn.js} +2 -2
  107. package/dist/chunks/{generate-addxnjmp.js → repository-addxnjmp.js} +1 -1
  108. package/dist/chunks/{generate-29x9jy0f.js → repository-ajh7mqgq.js} +34 -34
  109. package/dist/chunks/{generate-9pvxkkw3.js → repository-aqryd466.js} +22 -22
  110. package/dist/chunks/{generate-5kp03ppx.js → repository-b20bdvd4.js} +12 -12
  111. package/dist/chunks/{generate-v1v20ddn.js → repository-b3cm3psy.js} +10 -7
  112. package/dist/chunks/{generate-94jj38jg.js → repository-b5f9cqb8.js} +24 -20
  113. package/dist/chunks/{generate-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  114. package/dist/chunks/{generate-6zp854ra.js → repository-b751st24.js} +3 -3
  115. package/dist/chunks/{generate-kkndcpqr.js → repository-bzadqhw2.js} +4 -4
  116. package/dist/chunks/{generate-6m42r3np.js → repository-c20khjev.js} +4 -4
  117. package/dist/chunks/{generate-cdm0dq9n.js → repository-c8bydgjz.js} +6 -6
  118. package/dist/chunks/{generate-w8vdqaq3.js → repository-cb3fgacg.js} +25 -25
  119. package/dist/chunks/{generate-61fzh3cq.js → repository-ce3pkz8w.js} +8 -8
  120. package/dist/chunks/{generate-w92k2e0p.js → repository-cfsekr6v.js} +8 -8
  121. package/dist/chunks/{generate-3q48ekr2.js → repository-chyvjp63.js} +16 -16
  122. package/dist/chunks/{generate-q3ersh05.js → repository-cjwramev.js} +4 -4
  123. package/dist/chunks/{generate-ejbv3g31.js → repository-cs63tcvs.js} +9 -9
  124. package/dist/chunks/{generate-qmqgtz8f.js → repository-d4he2qe1.js} +9 -9
  125. package/dist/chunks/{generate-evhyysd2.js → repository-dbp4m4ge.js} +33 -33
  126. package/dist/chunks/{generate-wj2bx7an.js → repository-dfcrteyq.js} +13 -13
  127. package/dist/chunks/{generate-qq54afgs.js → repository-dp8mmgq4.js} +15 -15
  128. package/dist/chunks/{generate-dpkg50ah.js → repository-dpkg50ah.js} +1 -1
  129. package/dist/chunks/{generate-5pyjqqve.js → repository-drnf6xwf.js} +2 -2
  130. package/dist/chunks/{generate-exjwxjfq.js → repository-dt6m3qwv.js} +18 -18
  131. package/dist/chunks/{generate-bepbq8jj.js → repository-ecwx0042.js} +15 -15
  132. package/dist/chunks/{generate-nz1ptcx7.js → repository-ef2cw19s.js} +14 -14
  133. package/dist/chunks/{generate-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{generate-t2az9yje.js → repository-embw8kgh.js} +4 -4
  135. package/dist/chunks/{generate-ffxkc1dx.js → repository-eqh5fpv6.js} +9 -9
  136. package/dist/chunks/{generate-gya1c0vy.js → repository-erq8vxjr.js} +1 -1
  137. package/dist/chunks/{generate-h6310vsd.js → repository-espax8zg.js} +4 -4
  138. package/dist/chunks/{generate-dfc208d8.js → repository-etdaqrbr.js} +30 -30
  139. package/dist/chunks/{generate-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{generate-hn4yapt1.js → repository-f6sbv01c.js} +31 -30
  141. package/dist/chunks/{generate-trc3n3qb.js → repository-f8tnf7f1.js} +14 -19
  142. package/dist/chunks/{generate-ejg73w2g.js → repository-f8xdbq78.js} +6 -6
  143. package/dist/chunks/{generate-ntev6yqw.js → repository-fj3b7143.js} +8 -8
  144. package/dist/chunks/{generate-g9c3k2sz.js → repository-fy3w4x98.js} +18 -18
  145. package/dist/chunks/{generate-vswtd384.js → repository-fy698pgn.js} +20 -20
  146. package/dist/chunks/{generate-ajmxk7z2.js → repository-g34b934z.js} +15 -15
  147. package/dist/chunks/{generate-ee09rdq3.js → repository-g4nj3be3.js} +311 -311
  148. package/dist/chunks/repository-g50bcqhp.js +43 -0
  149. package/dist/chunks/{generate-57b9ws8p.js → repository-g5w8qwbj.js} +7 -7
  150. package/dist/chunks/{generate-gjv38h0k.js → repository-g69c5a8v.js} +16 -16
  151. package/dist/chunks/{generate-w1ad28wa.js → repository-gc135ar8.js} +8 -8
  152. package/dist/chunks/{generate-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{generate-z3507kbh.js → repository-gkcjs2dn.js} +11 -11
  154. package/dist/chunks/{generate-t55xhmjx.js → repository-gpng080p.js} +16 -16
  155. package/dist/chunks/{generate-rv4s02rg.js → repository-gry8sgkd.js} +7 -7
  156. package/dist/chunks/{generate-6p2526mp.js → repository-gy4662d6.js} +11 -11
  157. package/dist/chunks/{generate-atz6g77g.js → repository-h16n41p4.js} +21 -21
  158. package/dist/chunks/{generate-h2b79v29.js → repository-h2b79v29.js} +2 -2
  159. package/dist/chunks/{generate-bzqyrf6j.js → repository-h2yw0gk4.js} +20 -20
  160. package/dist/chunks/{generate-435eggbz.js → repository-h4jx6m0r.js} +15 -15
  161. package/dist/chunks/{generate-7keeseff.js → repository-h4p4pa57.js} +8 -8
  162. package/dist/chunks/{generate-5txw87z1.js → repository-h6c2yg5r.js} +8 -8
  163. package/dist/chunks/{generate-ywacswhv.js → repository-h6qw898r.js} +11 -11
  164. package/dist/chunks/{generate-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{generate-14qr745v.js → repository-h6yzxz9r.js} +17 -17
  166. package/dist/chunks/{generate-34bnvpfh.js → repository-hdjgtqrb.js} +29 -29
  167. package/dist/chunks/{generate-5v5aasd4.js → repository-hkgfm0m5.js} +17 -17
  168. package/dist/chunks/{generate-tbp0qxg2.js → repository-hp7m3mgg.js} +26 -26
  169. package/dist/chunks/{generate-mmy17vwk.js → repository-hw3ewgqj.js} +5 -5
  170. package/dist/chunks/{generate-39k0hmda.js → repository-j2htzqze.js} +2 -2
  171. package/dist/chunks/{generate-jpep6vf5.js → repository-j3pg2mx4.js} +1 -1
  172. package/dist/chunks/{generate-j56e64zr.js → repository-j56e64zr.js} +1 -1
  173. package/dist/chunks/{generate-bydnjh3t.js → repository-j58c5xyq.js} +9 -9
  174. package/dist/chunks/{generate-6cjqe6sy.js → repository-jnevnthy.js} +27 -27
  175. package/dist/chunks/repository-jqh9b0xq.js +18 -0
  176. package/dist/chunks/{generate-6nv25w3f.js → repository-k02x6tcx.js} +31 -31
  177. package/dist/chunks/{generate-xer3snnb.js → repository-k37ga4vh.js} +13 -9
  178. package/dist/chunks/{generate-gh5z95q3.js → repository-k70p9jzb.js} +9 -9
  179. package/dist/chunks/{generate-kygz6673.js → repository-kfj4fg87.js} +3 -3
  180. package/dist/chunks/{generate-qb7y9a6p.js → repository-kxam66j6.js} +11 -11
  181. package/dist/chunks/{generate-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  182. package/dist/chunks/{generate-pvkpwa2b.js → repository-m44fkk4m.js} +6 -6
  183. package/dist/chunks/{generate-06wny47j.js → repository-m993mvxq.js} +135 -135
  184. package/dist/chunks/{generate-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{generate-r7pm0y1x.js → repository-mfct962c.js} +18 -18
  186. package/dist/chunks/{generate-stnmwbvn.js → repository-mfmqp3ds.js} +43 -43
  187. package/dist/chunks/{generate-mjqndqed.js → repository-mjqndqed.js} +5 -5
  188. package/dist/chunks/{generate-9pwf6adz.js → repository-mn0942hp.js} +30 -30
  189. package/dist/chunks/{generate-02hj8zpc.js → repository-mpd66srn.js} +1 -1
  190. package/dist/chunks/{generate-k1qrnqst.js → repository-mxr1v1s0.js} +8 -8
  191. package/dist/chunks/{generate-vx3jgdek.js → repository-my4zabxr.js} +3 -3
  192. package/dist/chunks/{generate-e0ne0z26.js → repository-nszdq9jy.js} +83 -83
  193. package/dist/chunks/{generate-01s90evy.js → repository-ntaqe8vs.js} +19 -19
  194. package/dist/chunks/{generate-1ader487.js → repository-ntbz9wjc.js} +11 -11
  195. package/dist/chunks/{generate-cmwkp3r5.js → repository-p42hj8p8.js} +8 -8
  196. package/dist/chunks/{generate-3j10s7ay.js → repository-p5ev1zz5.js} +9 -9
  197. package/dist/chunks/{generate-8f9gr54c.js → repository-pe71rtbx.js} +11 -11
  198. package/dist/chunks/{generate-vnh00gv4.js → repository-pg4zag0e.js} +24 -24
  199. package/dist/chunks/{generate-gra2jmjd.js → repository-pgze7171.js} +1 -1
  200. package/dist/chunks/{generate-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{generate-5yzz6hd1.js → repository-pk7hbv6p.js} +4 -4
  202. package/dist/chunks/{generate-pknna89w.js → repository-pknna89w.js} +1 -1
  203. package/dist/chunks/repository-prjw6x41.js +31 -0
  204. package/dist/chunks/{generate-g2xfdbz5.js → repository-q0cdrezg.js} +14 -14
  205. package/dist/chunks/{generate-0at0q6bk.js → repository-q6vgfyay.js} +6 -6
  206. package/dist/chunks/{generate-m4b4ezfy.js → repository-q76xcmv9.js} +16 -16
  207. package/dist/chunks/{generate-afv7vh30.js → repository-q7jxq9y7.js} +18 -18
  208. package/dist/chunks/{generate-x0y04rr6.js → repository-q7ngdz78.js} +27 -27
  209. package/dist/chunks/{generate-qnc92qwc.js → repository-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{generate-zmr78fwr.js → repository-qne3fa44.js} +5 -5
  211. package/dist/chunks/{generate-qsdy395h.js → repository-qsdy395h.js} +1 -1
  212. package/dist/chunks/{generate-9sy6gwjh.js → repository-qv02qg64.js} +5 -5
  213. package/dist/chunks/{generate-qxjc9qry.js → repository-qxjc9qry.js} +3 -3
  214. package/dist/chunks/{generate-xf4rrgwy.js → repository-qy0n8417.js} +23 -23
  215. package/dist/chunks/{generate-4eax54pa.js → repository-r3c58j5g.js} +3 -3
  216. package/dist/chunks/{generate-ze7rj9cq.js → repository-rb8xm6cm.js} +14 -14
  217. package/dist/chunks/{generate-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{generate-8zvk0rgz.js → repository-rjfypheq.js} +27 -27
  219. package/dist/chunks/{generate-q0jhbe3n.js → repository-rjsk0n41.js} +9 -9
  220. package/dist/chunks/{generate-q0808tka.js → repository-rk3ekeb4.js} +5 -5
  221. package/dist/chunks/{generate-wg7dvnk1.js → repository-rm4s95e7.js} +85 -85
  222. package/dist/chunks/{generate-hyxvh71r.js → repository-rn938jk3.js} +42 -42
  223. package/dist/chunks/{generate-2pcsyv91.js → repository-rpp7c75e.js} +48 -48
  224. package/dist/chunks/{generate-qs9jyzer.js → repository-s4075y1x.js} +3 -3
  225. package/dist/chunks/{generate-m26jacn4.js → repository-s8qvywtq.js} +14 -14
  226. package/dist/chunks/{generate-823qfcak.js → repository-s8v3amej.js} +1 -1
  227. package/dist/chunks/{generate-0q2zy8rk.js → repository-s9nwmxxs.js} +27 -27
  228. package/dist/chunks/{generate-1fs3aa3n.js → repository-srhj5f56.js} +9 -9
  229. package/dist/chunks/{generate-fjh44twp.js → repository-t5483b9c.js} +2 -2
  230. package/dist/chunks/{generate-s8d7rejh.js → repository-t550f9t1.js} +4 -4
  231. package/dist/chunks/{generate-21tjqxxf.js → repository-t7wcnk30.js} +14 -14
  232. package/dist/chunks/{generate-067vzkwc.js → repository-t7y8x8j8.js} +16 -16
  233. package/dist/chunks/{generate-p5cm9qbj.js → repository-t8n7ymvq.js} +56 -45
  234. package/dist/chunks/{generate-z32f8zps.js → repository-tarna68p.js} +9 -9
  235. package/dist/chunks/{generate-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{generate-0z57cqh9.js → repository-tbs2jyb2.js} +7 -7
  237. package/dist/chunks/{generate-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  238. package/dist/chunks/{generate-t0sqncza.js → repository-tdpndm1c.js} +5 -5
  239. package/dist/chunks/{generate-tdstcens.js → repository-tdstcens.js} +1 -1
  240. package/dist/chunks/{generate-0n25afzx.js → repository-tg6e69q8.js} +2 -2
  241. package/dist/chunks/{generate-gej6rn0s.js → repository-tgah08rb.js} +27 -27
  242. package/dist/chunks/{generate-peckcdzj.js → repository-tk5m56y0.js} +13 -13
  243. package/dist/chunks/{generate-j7vp94m4.js → repository-tzy9a5tv.js} +15 -15
  244. package/dist/chunks/{generate-v0es1rhs.js → repository-v0es1rhs.js} +2 -2
  245. package/dist/chunks/{generate-ppcxd43r.js → repository-ve1j3q85.js} +15 -15
  246. package/dist/chunks/{generate-veqvce7d.js → repository-veqvce7d.js} +1 -1
  247. package/dist/chunks/{generate-5swqfww9.js → repository-vngdzw63.js} +28 -28
  248. package/dist/chunks/{generate-z3ra53tp.js → repository-vqkmcgyv.js} +3 -3
  249. package/dist/chunks/{generate-zq24ypn2.js → repository-vt8dt6j6.js} +30 -30
  250. package/dist/chunks/{generate-vzs5sf6e.js → repository-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{generate-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{generate-bh5cssh3.js → repository-w5ystqj3.js} +6 -6
  253. package/dist/chunks/{generate-gtvea8z9.js → repository-w6gqnbcy.js} +3 -3
  254. package/dist/chunks/{generate-yhecr6n4.js → repository-w7a2abxy.js} +12 -12
  255. package/dist/chunks/{generate-n7fmmpds.js → repository-wb70vhte.js} +11 -11
  256. package/dist/chunks/{generate-wd87259q.js → repository-wd87259q.js} +1 -1
  257. package/dist/chunks/{generate-b9rmm35c.js → repository-wnfszx78.js} +10 -10
  258. package/dist/chunks/{generate-wrp5ry2f.js → repository-wnh11861.js} +13 -13
  259. package/dist/chunks/{generate-gcxxm8yg.js → repository-x4k83k5f.js} +9 -9
  260. package/dist/chunks/{generate-7xf5yptx.js → repository-xhv84ab7.js} +28 -28
  261. package/dist/chunks/{generate-xkntkrq7.js → repository-xkntkrq7.js} +2 -2
  262. package/dist/chunks/{generate-34manr0f.js → repository-xmy45d6e.js} +23 -23
  263. package/dist/chunks/{generate-x4csn5yb.js → repository-xpwv3d90.js} +12 -12
  264. package/dist/chunks/{generate-qbyggmx7.js → repository-xvvw76kz.js} +7 -7
  265. package/dist/chunks/{generate-q0raz0xt.js → repository-y16p1w2y.js} +9 -9
  266. package/dist/chunks/{generate-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{generate-4ntq7m4z.js → repository-y1w7bwtd.js} +20 -20
  268. package/dist/chunks/{generate-wc2m80g2.js → repository-y6brtjeh.js} +39 -34
  269. package/dist/chunks/repository-y6mhs71q.js +72 -0
  270. package/dist/chunks/{generate-7naq09xc.js → repository-ydszhw6d.js} +19 -19
  271. package/dist/chunks/{generate-bkrwt1n9.js → repository-yf33k1p3.js} +22 -22
  272. package/dist/chunks/{generate-01vz176c.js → repository-yfe405ny.js} +12 -12
  273. package/dist/chunks/{generate-pd0d3v86.js → repository-yn96zvvk.js} +8 -8
  274. package/dist/chunks/{generate-fep41vc5.js → repository-yprc5htm.js} +22 -22
  275. package/dist/chunks/{generate-thtzhryg.js → repository-yqt58wae.js} +13 -13
  276. package/dist/chunks/{generate-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  277. package/dist/chunks/{generate-d2eqb18p.js → repository-z6b5w8cf.js} +2 -2
  278. package/dist/chunks/{generate-hbyhqfhs.js → repository-zd30eb5w.js} +5 -5
  279. package/dist/chunks/{generate-aer73x3z.js → repository-zhwzkc0c.js} +18 -18
  280. package/dist/chunks/{generate-rh2b0agp.js → repository-zk46kswf.js} +10 -10
  281. package/dist/chunks/{generate-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{generate-7s2tn799.js → repository-zvjhkatg.js} +8 -8
  283. package/dist/chunks/{generate-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{generate-scgrse2b.js → repository-zyk1yjk8.js} +5 -5
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +81 -81
  290. package/dist/config/discovery.js +82 -82
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +99 -99
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +154 -154
  296. package/dist/config/plugin/compatibility.js +134 -134
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +114 -114
  300. package/dist/config/plugin/instruction.js +88 -88
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +117 -117
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +118 -118
  307. package/dist/config/plugin/skill-file.js +102 -102
  308. package/dist/config/plugin/skill.js +135 -135
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +117 -117
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +119 -119
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +77 -77
  319. package/dist/database/database.js +66 -66
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration.gen.js +49 -49
  385. package/dist/database/migration.js +51 -51
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +76 -76
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +363 -363
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +91 -91
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +93 -93
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +70 -70
  409. package/dist/file-access.js +104 -104
  410. package/dist/file-mutation.js +94 -94
  411. package/dist/file-retention.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +218 -218
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +103 -103
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +104 -104
  423. package/dist/form.js +72 -72
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +87 -87
  426. package/dist/generate.js +103 -103
  427. package/dist/git.js +6 -6
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +99 -99
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/image/photon.js +2 -2
  448. package/dist/image.js +6 -6
  449. package/dist/instance/service.js +5 -5
  450. package/dist/instance.js +354 -354
  451. package/dist/instruction-discovery.js +83 -83
  452. package/dist/instructions/builtins.js +87 -87
  453. package/dist/instructions/index.js +3 -3
  454. package/dist/integration/connection.js +1 -1
  455. package/dist/integration.js +81 -81
  456. package/dist/job.js +78 -78
  457. package/dist/kv/sql.js +2 -2
  458. package/dist/kv.js +73 -73
  459. package/dist/location-activity.js +131 -131
  460. package/dist/location-lifecycle.js +107 -107
  461. package/dist/location-service-map.js +86 -86
  462. package/dist/location-services.js +351 -351
  463. package/dist/location.js +87 -87
  464. package/dist/managed-policy.js +5 -5
  465. package/dist/mcp/client.js +91 -91
  466. package/dist/mcp/index.js +105 -105
  467. package/dist/mcp/instructions.js +129 -129
  468. package/dist/mcp/oauth.js +92 -87
  469. package/dist/mcp/stdio.js +90 -90
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +99 -99
  472. package/dist/model-resolver.js +98 -98
  473. package/dist/model.js +97 -95
  474. package/dist/models-dev.js +107 -107
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +78 -78
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +105 -105
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +80 -80
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +75 -75
  484. package/dist/plugin/agent.js +104 -104
  485. package/dist/plugin/command.js +102 -102
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +211 -211
  488. package/dist/plugin/identity.js +3 -3
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +326 -326
  491. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  492. package/dist/plugin/models-dev.js +96 -96
  493. package/dist/plugin/module.js +5 -5
  494. package/dist/plugin/optimize.js +4 -4
  495. package/dist/plugin/plan.js +102 -102
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  498. package/dist/plugin/provider/azure.js +117 -117
  499. package/dist/plugin/provider/cerebras.js +1 -1
  500. package/dist/plugin/provider/chatgpt.js +93 -93
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +112 -112
  505. package/dist/plugin/provider/digitalocean.js +93 -93
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/github-copilot.js +95 -95
  509. package/dist/plugin/provider/gitlab.js +93 -93
  510. package/dist/plugin/provider/google-vertex.js +90 -90
  511. package/dist/plugin/provider/kilo.js +1 -1
  512. package/dist/plugin/provider/llmgateway.js +78 -78
  513. package/dist/plugin/provider/lmstudio.js +116 -115
  514. package/dist/plugin/provider/local.js +118 -0
  515. package/dist/plugin/provider/modal.js +92 -92
  516. package/dist/plugin/provider/nvidia.js +1 -1
  517. package/dist/plugin/provider/ollama.js +116 -115
  518. package/dist/plugin/provider/openai.js +95 -95
  519. package/dist/plugin/provider/opencode.js +96 -96
  520. package/dist/plugin/provider/openrouter.js +91 -91
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +79 -79
  523. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  524. package/dist/plugin/provider/sap-ai-core.js +91 -91
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  527. package/dist/plugin/provider/vercel.js +90 -90
  528. package/dist/plugin/provider/vllm.js +116 -115
  529. package/dist/plugin/provider/xai.js +91 -91
  530. package/dist/plugin/provider/zenmux.js +1 -1
  531. package/dist/plugin/provider.js +155 -155
  532. package/dist/plugin/sdk.js +76 -76
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +341 -341
  537. package/dist/plugin/tool-input-repair.js +4 -4
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/vcs/git.js +86 -86
  540. package/dist/plugin/vcs/hg.js +86 -86
  541. package/dist/plugin/verbosity.js +93 -93
  542. package/dist/plugin/warming.js +114 -114
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +9 -9
  546. package/dist/plugin/websearch/mcp.js +6 -6
  547. package/dist/plugin/websearch/parallel.js +6 -6
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin/websearch/tinyfish.js +8 -8
  550. package/dist/plugin.js +222 -222
  551. package/dist/project/schema.js +2 -2
  552. package/dist/project/sql.js +4 -4
  553. package/dist/project.js +80 -80
  554. package/dist/provider.js +93 -93
  555. package/dist/pty/protocol.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +99 -99
  558. package/dist/reference/instructions.js +89 -89
  559. package/dist/reference.js +81 -81
  560. package/dist/repository-cache.js +81 -81
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +97 -97
  564. package/dist/rpc.js +86 -86
  565. package/dist/schema.js +1 -1
  566. package/dist/session/affinity.js +1 -1
  567. package/dist/session/command.js +74 -74
  568. package/dist/session/compaction.js +129 -129
  569. package/dist/session/context.js +153 -153
  570. package/dist/session/diff.js +88 -88
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +3 -3
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +214 -214
  575. package/dist/session/execution.js +125 -125
  576. package/dist/session/generate.js +154 -154
  577. package/dist/session/history.js +13 -13
  578. package/dist/session/inbox.js +88 -88
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +79 -79
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +97 -97
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +118 -118
  586. package/dist/session/model-transport.js +7 -7
  587. package/dist/session/move.js +129 -129
  588. package/dist/session/projector.js +86 -86
  589. package/dist/session/prompt.js +105 -105
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +90 -90
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +224 -224
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +98 -98
  597. package/dist/session/runner/publish-llm-event.js +113 -113
  598. package/dist/session/runner/retry.js +4 -4
  599. package/dist/session/runner/step.js +123 -123
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +164 -164
  603. package/dist/session/shell.js +130 -130
  604. package/dist/session/skill.js +103 -103
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +87 -87
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +203 -203
  610. package/dist/session/system-prompt.js +5 -5
  611. package/dist/session/title.js +155 -155
  612. package/dist/session/to-session-error.js +111 -111
  613. package/dist/session/transfer.js +207 -207
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1561 -1030
  619. package/dist/shell/select.js +13 -13
  620. package/dist/shell.js +130 -130
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +107 -107
  623. package/dist/skill.js +110 -110
  624. package/dist/snapshot.js +91 -91
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +126 -126
  629. package/dist/tool/plugin/edit.js +120 -120
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +124 -124
  632. package/dist/tool/plugin/grep.js +124 -124
  633. package/dist/tool/plugin/mcp-resource.js +117 -117
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +116 -116
  636. package/dist/tool/plugin/question.js +101 -101
  637. package/dist/tool/plugin/read.js +125 -125
  638. package/dist/tool/plugin/shell.js +210 -210
  639. package/dist/tool/plugin/skill.js +113 -113
  640. package/dist/tool/plugin/subagent.js +212 -212
  641. package/dist/tool/plugin/webfetch.js +112 -112
  642. package/dist/tool/plugin/websearch.js +114 -114
  643. package/dist/tool/plugin/write.js +122 -122
  644. package/dist/tool/read-filesystem.js +100 -100
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +7 -7
  647. package/dist/tool.js +14 -14
  648. package/dist/types/aisdk-native.d.ts +1 -0
  649. package/dist/types/mcp/oauth.d.ts +1 -10
  650. package/dist/types/model.d.ts +1 -0
  651. package/dist/types/plugin/provider/chatgpt.d.ts +1 -1
  652. package/dist/types/plugin/provider/lmstudio.d.ts +2 -5
  653. package/dist/types/plugin/provider/local.d.ts +29 -0
  654. package/dist/types/plugin/provider/ollama.d.ts +2 -5
  655. package/dist/types/plugin/provider/vllm.d.ts +2 -5
  656. package/dist/types/shell/scan.d.ts +2 -1
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +3 -3
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +92 -92
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +89 -89
  678. package/dist/websearch.js +82 -82
  679. package/dist/wellknown/plugin.js +74 -74
  680. package/dist/wellknown.js +79 -79
  681. package/dist/workspace/driver.js +3 -3
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +78 -78
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +89 -89
  688. package/dist/worktree.js +98 -98
  689. package/package.json +9 -10
  690. package/dist/chunks/generate-1vsafbzv.js +0 -173
  691. package/dist/chunks/generate-669tq793.js +0 -15
  692. package/dist/chunks/generate-81f48a1k.js +0 -137
  693. package/dist/chunks/generate-bp27thah.js +0 -145
  694. package/dist/chunks/generate-mzmyqq3a.js +0 -253
  695. package/dist/chunks/generate-phz3h32g.js +0 -18
  696. package/dist/chunks/generate-tc5sgnzb.js +0 -26
  697. package/dist/plugin/provider/gateway.js +0 -7
  698. package/dist/types/plugin/provider/gateway.d.ts +0 -1
  699. /package/dist/chunks/{generate-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  700. /package/dist/chunks/{generate-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  701. /package/dist/chunks/{generate-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  702. /package/dist/chunks/{generate-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  703. /package/dist/chunks/{generate-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  704. /package/dist/chunks/{generate-24dcb14g.js → repository-24dcb14g.js} +0 -0
  705. /package/dist/chunks/{generate-2710q6r3.js → repository-2710q6r3.js} +0 -0
  706. /package/dist/chunks/{generate-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  707. /package/dist/chunks/{generate-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  708. /package/dist/chunks/{generate-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
  709. /package/dist/chunks/{generate-359p4xyc.js → repository-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{generate-3asan66x.js → repository-3asan66x.js} +0 -0
  711. /package/dist/chunks/{generate-3t0ybcrp.js → repository-3t0ybcrp.js} +0 -0
  712. /package/dist/chunks/{generate-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{generate-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{generate-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{generate-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{generate-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{generate-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{generate-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{generate-53557ph1.js → repository-53557ph1.js} +0 -0
  720. /package/dist/chunks/{generate-550bvhaj.js → repository-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{generate-6prwharc.js → repository-6prwharc.js} +0 -0
  722. /package/dist/chunks/{generate-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{generate-7m9af43g.js → repository-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{generate-822emrt2.js → repository-822emrt2.js} +0 -0
  725. /package/dist/chunks/{generate-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{generate-8n3pysct.js → repository-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{generate-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  728. /package/dist/chunks/{generate-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{generate-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{generate-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{generate-af5trqkr.js → repository-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{generate-afrmfg78.js → repository-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{generate-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{generate-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{generate-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{generate-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{generate-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{generate-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{generate-d9fn303g.js → repository-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{generate-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{generate-dajrwvna.js → repository-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{generate-dap0rakb.js → repository-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{generate-df08tz66.js → repository-df08tz66.js} +0 -0
  744. /package/dist/chunks/{generate-dy18nga0.js → repository-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{generate-e3qxr5gk.js → repository-e3qxr5gk.js} +0 -0
  746. /package/dist/chunks/{generate-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  747. /package/dist/chunks/{generate-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  748. /package/dist/chunks/{generate-ec1grn59.js → repository-ec1grn59.js} +0 -0
  749. /package/dist/chunks/{generate-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  750. /package/dist/chunks/{generate-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  751. /package/dist/chunks/{generate-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  752. /package/dist/chunks/{generate-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  753. /package/dist/chunks/{generate-faypxj3z.js → repository-faypxj3z.js} +0 -0
  754. /package/dist/chunks/{generate-fd410y7t.js → repository-fd410y7t.js} +0 -0
  755. /package/dist/chunks/{generate-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  756. /package/dist/chunks/{generate-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  757. /package/dist/chunks/{generate-g86h250q.js → repository-g86h250q.js} +0 -0
  758. /package/dist/chunks/{generate-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  759. /package/dist/chunks/{generate-gftt206x.js → repository-gftt206x.js} +0 -0
  760. /package/dist/chunks/{generate-hk9envan.js → repository-hk9envan.js} +0 -0
  761. /package/dist/chunks/{generate-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{generate-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{generate-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{generate-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{generate-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{generate-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{generate-mp448xyj.js → repository-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{generate-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{generate-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{generate-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{generate-njntx4h6.js → repository-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{generate-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{generate-q74kybfr.js → repository-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{generate-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{generate-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{generate-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{generate-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{generate-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{generate-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{generate-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{generate-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{generate-w803qqfp.js → repository-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{generate-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{generate-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{generate-wtztk69x.js → repository-wtztk69x.js} +0 -0
  786. /package/dist/chunks/{generate-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  787. /package/dist/chunks/{generate-x61499pn.js → repository-x61499pn.js} +0 -0
  788. /package/dist/chunks/{generate-y44na4kk.js → repository-y44na4kk.js} +0 -0
  789. /package/dist/chunks/{generate-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  790. /package/dist/chunks/{generate-y8f7s663.js → repository-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{generate-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{generate-ym463w8f.js → repository-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{generate-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{generate-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service84
3
- } from "./generate-6zp854ra.js";
3
+ } from "./repository-b751st24.js";
4
4
  import {
5
5
  Service83
6
- } from "./generate-z8hrkqzq.js";
6
+ } from "./repository-9yxvhatz.js";
7
7
  import {
8
- Service35
9
- } from "./generate-cdm0dq9n.js";
8
+ Service49
9
+ } from "./repository-c8bydgjz.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./generate-z5v4ffb3.js";
12
+ } from "./repository-z5v4ffb3.js";
13
13
  import {
14
- ID4,
15
- Service36
16
- } from "./generate-34bnvpfh.js";
14
+ ID6,
15
+ Service51
16
+ } from "./repository-hdjgtqrb.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./generate-ec1grn59.js";
19
+ } from "./repository-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./generate-gftt206x.js";
22
+ } from "./repository-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./generate-1z18ck0n.js";
25
+ } from "./repository-89za3yyg.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./generate-9e5bzkjp.js";
28
+ } from "./repository-9e5bzkjp.js";
29
29
  import {
30
30
  __export
31
- } from "./generate-9rqn6x4v.js";
31
+ } from "./repository-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -41,12 +41,12 @@ __export(exports_revert, {
41
41
  import { and, asc, eq, gt } from "drizzle-orm";
42
42
  import { Effect, Schema } from "effect";
43
43
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
44
- const instances = yield* Service35;
44
+ const instances = yield* Service49;
45
45
  const database = yield* Service84;
46
46
  const bus = yield* Service83;
47
47
  return yield* Effect.gen(function* () {
48
- const snapshot = yield* Service36;
49
- const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
48
+ const snapshot = yield* Service51;
49
+ const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
50
50
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
51
51
  const restore = new Map;
52
52
  if (original) {
@@ -73,13 +73,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
73
73
  }).pipe(instances.provide(input.session));
74
74
  });
75
75
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
76
- const instances = yield* Service35;
76
+ const instances = yield* Service49;
77
77
  const bus = yield* Service83;
78
78
  yield* Effect.gen(function* () {
79
- const snapshot = yield* Service36;
79
+ const snapshot = yield* Service51;
80
80
  if (!session.revert)
81
81
  return;
82
- const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
82
+ const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
83
83
  if (original)
84
84
  yield* snapshot.restore({
85
85
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -110,7 +110,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
110
110
  continue;
111
111
  for (const file of message.snapshot.files ?? [])
112
112
  if (!files.has(file))
113
- files.set(file, ID4.make(message.snapshot.start));
113
+ files.set(file, ID6.make(message.snapshot.start));
114
114
  }
115
115
  return files;
116
116
  });
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./generate-2a5m3afh.js";
3
+ } from "./repository-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./generate-z5v4ffb3.js";
6
+ } from "./repository-z5v4ffb3.js";
7
7
  import {
8
- Service80
9
- } from "./generate-yhecr6n4.js";
8
+ Service78
9
+ } from "./repository-w7a2abxy.js";
10
10
  import {
11
11
  Service66
12
- } from "./generate-5v5aasd4.js";
12
+ } from "./repository-hkgfm0m5.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service41
16
- } from "./generate-an75rhmh.js";
15
+ Service17
16
+ } from "./repository-9mxexfbd.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./generate-5swqfww9.js";
23
+ } from "./repository-vngdzw63.js";
24
24
  import {
25
- Service57
26
- } from "./generate-8mnpn7jw.js";
25
+ Service56
26
+ } from "./repository-5r637m3f.js";
27
27
  import {
28
- Service55
29
- } from "./generate-aer73x3z.js";
28
+ Service19
29
+ } from "./repository-zhwzkc0c.js";
30
30
  import {
31
31
  __export
32
- } from "./generate-9rqn6x4v.js";
32
+ } from "./repository-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: () => Input11,
39
+ Output: () => Output7,
40
+ Plugin: () => Plugin13,
41
+ name: () => name11,
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 name11 = "grep";
48
+ var Input11 = 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 Output7 = 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 Plugin13 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
89
  const environment = yield* Service66;
90
- const ripgrep = yield* Service41;
91
- const location = yield* Service80;
92
- const access = yield* Service55;
93
- const permission = yield* Service57;
90
+ const ripgrep = yield* Service17;
91
+ const location = yield* Service78;
92
+ const access = yield* Service19;
93
+ const permission = yield* Service56;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name2,
95
+ name: name11,
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: Input11,
99
+ output: Output7,
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: name11,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -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 { name11, Input11, Output7, toModelContent5, Plugin13, exports_grep };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -15,7 +15,9 @@ var NO_TEXT2 = "Subagent completed without a text response.";
15
15
  function text2(message) {
16
16
  if (message?.type !== "assistant")
17
17
  return NO_TEXT2;
18
- return message.content.filter((part) => part.type === "text").map((part) => part.text).join("") || NO_TEXT2;
18
+ return message.content.filter((part) => part.type === "text").map((part) => part.text).filter((text) => text.length > 0).join(`
19
+
20
+ `) || NO_TEXT2;
19
21
  }
20
22
  var deliver2 = Effect.fnUntraced(function* (sessions, jobs, input) {
21
23
  if (input.status === "running")
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./generate-qfa1cgps.js";
3
+ } from "./repository-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./generate-h2b79v29.js";
6
+ } from "./repository-h2b79v29.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./generate-gk28ph79.js";
3
+ } from "./repository-5w6ne2rj.js";
4
4
  import {
5
5
  Service83
6
- } from "./generate-z8hrkqzq.js";
6
+ } from "./repository-9yxvhatz.js";
7
7
  import {
8
8
  ID15,
9
9
  OAuth3,
10
10
  Event19,
11
- Service78
12
- } from "./generate-spja3q52.js";
11
+ Service77
12
+ } from "./repository-5ng375bv.js";
13
13
  import {
14
14
  key2
15
- } from "./generate-addxnjmp.js";
15
+ } from "./repository-addxnjmp.js";
16
16
  import {
17
17
  ID14,
18
18
  MethodID2
19
- } from "./generate-r7pm0y1x.js";
19
+ } from "./repository-mfct962c.js";
20
20
  import {
21
21
  which2
22
- } from "./generate-qaymkmh1.js";
22
+ } from "./repository-qaymkmh1.js";
23
23
  import {
24
24
  ID13,
25
- Service76
26
- } from "./generate-3edgjjmd.js";
25
+ Service75
26
+ } from "./repository-9815d8pv.js";
27
27
  import {
28
28
  ID12
29
- } from "./generate-94jj38jg.js";
29
+ } from "./repository-b5f9cqb8.js";
30
30
  import {
31
31
  iife2
32
- } from "./generate-1kg9ymc8.js";
32
+ } from "./repository-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./generate-0at0q6bk.js";
35
+ } from "./repository-q6vgfyay.js";
36
36
 
37
37
  // src/plugin/provider/azure.ts
38
38
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -67,7 +67,7 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
67
67
  }));
68
68
  var ResourceQuery = Schema.Struct({ query: Schema.String });
69
69
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
70
- function make8(endpoints = {
70
+ function make11(endpoints = {
71
71
  resource: (name) => `https://${name}.openai.azure.com/openai`,
72
72
  management: "https://management.azure.com"
73
73
  }) {
@@ -77,8 +77,8 @@ function make8(endpoints = {
77
77
  const configured = yield* configuredSettings2(ID13.azure);
78
78
  const processes = yield* AppProcess.Service;
79
79
  const bus = yield* Service83;
80
- const credentials = yield* Service78;
81
- const providers = yield* Service76;
80
+ const credentials = yield* Service77;
81
+ const providers = yield* Service75;
82
82
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
83
83
  const tokens = new Map;
84
84
  const resourceIDs = new Map;
@@ -322,7 +322,7 @@ function make8(endpoints = {
322
322
  })
323
323
  });
324
324
  }
325
- var AzurePlugin2 = make8();
325
+ var AzurePlugin2 = make11();
326
326
  function resolveResourceName(settings, fallback) {
327
327
  const configured = settings?.resourceName;
328
328
  if (typeof configured === "string" && configured.trim() !== "")
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
378
378
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
379
379
  }
380
380
 
381
- export { make8, AzurePlugin2 };
381
+ export { make11, AzurePlugin2 };
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./generate-emrn6kk6.js";
5
+ } from "./repository-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./generate-z5v4ffb3.js";
3
+ } from "./repository-z5v4ffb3.js";
4
4
  import {
5
- Info15
6
- } from "./generate-6m42r3np.js";
5
+ Info16
6
+ } from "./repository-c20khjev.js";
7
7
  import {
8
8
  __export
9
- } from "./generate-9rqn6x4v.js";
9
+ } from "./repository-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
12
  var exports_agent4 = {};
13
13
  __export(exports_agent4, {
14
14
  ConfigAgentV1: () => exports_agent4,
15
- Info: () => Info14
15
+ Info: () => Info15
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
44
44
  description: "Maximum number of agentic iterations before forcing text-only response"
45
45
  }),
46
46
  maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
47
- permission: Schema.optional(Info15)
47
+ permission: Schema.optional(Info16)
48
48
  }), [Schema.Record(Schema.String, Schema.Any)]);
49
49
  var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
50
50
  var normalize = (agent) => {
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info14 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info15 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info14, exports_agent4 };
74
+ export { Info15, exports_agent4 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./generate-gk28ph79.js";
3
+ } from "./repository-5w6ne2rj.js";
4
4
  import {
5
5
  OAuth3,
6
- Service78
7
- } from "./generate-spja3q52.js";
6
+ Service77
7
+ } from "./repository-5ng375bv.js";
8
8
  import {
9
9
  ID14,
10
10
  MethodID2
11
- } from "./generate-r7pm0y1x.js";
11
+ } from "./repository-mfct962c.js";
12
12
  import {
13
13
  ID13,
14
14
  mergeOverlay2
15
- } from "./generate-3edgjjmd.js";
15
+ } from "./repository-9815d8pv.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -69,7 +69,7 @@ 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;
72
+ const credentials = yield* Service77;
73
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;
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./generate-z8hrkqzq.js";
4
+ } from "./repository-9yxvhatz.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./generate-tazgh4e4.js";
9
+ } from "./repository-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./generate-ntev6yqw.js";
12
+ } from "./repository-fj3b7143.js";
13
13
  import {
14
- Service80,
15
- node84
16
- } from "./generate-yhecr6n4.js";
14
+ Service78,
15
+ node82
16
+ } from "./repository-w7a2abxy.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./generate-rdw6cm16.js";
20
+ } from "./repository-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./generate-9rqn6x4v.js";
23
+ } from "./repository-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -29,18 +29,18 @@ __export(exports_vcs, {
29
29
  BranchList: () => BranchList2,
30
30
  DiffError: () => DiffError2,
31
31
  FileStatus: () => FileStatus2,
32
- Info: () => Info3,
32
+ Info: () => Info4,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service14,
35
+ Service: () => Service20,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node17
37
+ node: () => node23
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
41
41
  import { FileDiff } from "@opencode/schema/file-diff";
42
42
  import { FileSystem } from "@opencode/schema/filesystem";
43
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info3, Mode as Mode2 } from "@opencode/schema/vcs";
43
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
44
44
  import { VcsEvent } from "@opencode/schema/vcs-event";
45
45
  import { makeLocationNode } from "@opencode/util/effect/app-node";
46
46
  import { FSUtil } from "@opencode/util/fs-util";
@@ -54,11 +54,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service14 extends Context.Service()("@opencode/Vcs") {
57
+ class Service20 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service14, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service80;
61
+ const location = yield* Service78;
62
62
  const bus = yield* Service83;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
71
71
  canonical: location.project.canonical,
72
72
  ...vcs ? { store: vcs.store } : {}
73
73
  };
74
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info3));
74
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
75
75
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
76
76
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
77
77
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service14.of({
132
+ return Service20.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node17 = makeLocationNode({
191
- service: Service14,
190
+ var node23 = makeLocationNode({
191
+ service: Service20,
192
192
  layer,
193
- deps: [FSUtil.node, node84, node87]
193
+ deps: [FSUtil.node, node82, node87]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, InitializeError2, Service14, node17, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service20, node23, exports_vcs };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./generate-z8hrkqzq.js";
4
+ } from "./repository-9yxvhatz.js";
5
5
  import {
6
6
  __export
7
- } from "./generate-9rqn6x4v.js";
7
+ } from "./repository-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -17,7 +17,7 @@ __export(exports_form, {
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
19
  ID: () => ID16,
20
- Info: () => Info26,
20
+ Info: () => Info27,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
23
  NotFoundError: () => NotFoundError10,
@@ -36,7 +36,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Event as Event20 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
38
  var ID16 = Form.ID;
39
- var Info26 = Form.Info;
39
+ var Info27 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID16, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID16, Info27, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer25, node83, validateAnswer2, validateFields2, exports_form, Event20 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./generate-gftt206x.js";
3
+ } from "./repository-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./generate-vx3jgdek.js";
6
+ } from "./repository-my4zabxr.js";
7
7
  import {
8
8
  __export
9
- } from "./generate-9rqn6x4v.js";
9
+ } from "./repository-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
12
  var exports_error = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./generate-qaymkmh1.js";
3
+ } from "./repository-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";