@opencode/core 0.0.0-dev-19729 → 0.0.0-dev-19737

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +78 -78
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +89 -89
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{ripgrep-j83byb14.js → schema-00z3vp5f.js} +4 -4
  8. package/dist/chunks/{ripgrep-cr07tj7n.js → schema-0f9afca0.js} +5 -5
  9. package/dist/chunks/{ripgrep-hbgnhwv0.js → schema-0kq1vnt2.js} +22 -22
  10. package/dist/chunks/{ripgrep-8qw190t8.js → schema-0m4needc.js} +29 -29
  11. package/dist/chunks/{ripgrep-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{ripgrep-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{ripgrep-d7eh8bsr.js → schema-0wbtz0x1.js} +23 -23
  14. package/dist/chunks/{ripgrep-qkzhpde6.js → schema-14xxbdt3.js} +11 -11
  15. package/dist/chunks/{ripgrep-yp2x3t23.js → schema-1acjjqhc.js} +4 -4
  16. package/dist/chunks/{ripgrep-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  17. package/dist/chunks/{ripgrep-gvbhv7ac.js → schema-1fzn40f7.js} +27 -27
  18. package/dist/chunks/{ripgrep-6kp1enz8.js → schema-1gf2zdqm.js} +1 -1
  19. package/dist/chunks/{ripgrep-kp7tnnwc.js → schema-1phb3yjr.js} +28 -28
  20. package/dist/chunks/{ripgrep-z38k3xwh.js → schema-1ww8dv02.js} +24 -24
  21. package/dist/chunks/{ripgrep-avd8ev9v.js → schema-1yv162eq.js} +4 -4
  22. package/dist/chunks/{ripgrep-02qhaxzp.js → schema-20rcmd8z.js} +8 -8
  23. package/dist/chunks/{ripgrep-3nnfdham.js → schema-20w62y01.js} +21 -21
  24. package/dist/chunks/{ripgrep-21r38tys.js → schema-21r38tys.js} +1 -1
  25. package/dist/chunks/{ripgrep-b0cq6psq.js → schema-23kb5mxq.js} +33 -33
  26. package/dist/chunks/{ripgrep-2402vzrj.js → schema-2402vzrj.js} +1 -1
  27. package/dist/chunks/{ripgrep-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  28. package/dist/chunks/{ripgrep-msvbmbcr.js → schema-2fdjcr0k.js} +4 -4
  29. package/dist/chunks/{ripgrep-6xwwhj34.js → schema-2fzk1ze6.js} +2 -2
  30. package/dist/chunks/{ripgrep-mdvcq96a.js → schema-2q85j725.js} +1 -1
  31. package/dist/chunks/{ripgrep-p3n45r32.js → schema-2r6c0n2x.js} +4 -4
  32. package/dist/chunks/{ripgrep-cg0nv8cw.js → schema-2wg3ms2p.js} +303 -303
  33. package/dist/chunks/{ripgrep-gxcpp7ch.js → schema-306j3wnv.js} +22 -22
  34. package/dist/chunks/{ripgrep-0emnnwmv.js → schema-34m0q60c.js} +7 -7
  35. package/dist/chunks/{ripgrep-d216944b.js → schema-34rkz0x9.js} +4 -4
  36. package/dist/chunks/{ripgrep-y74g1x1t.js → schema-34vjgn4c.js} +13 -13
  37. package/dist/chunks/{ripgrep-pb5p9z4r.js → schema-3c6vacrb.js} +16 -16
  38. package/dist/chunks/{ripgrep-3w0fmcng.js → schema-3cfzdc8e.js} +5 -5
  39. package/dist/chunks/{ripgrep-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  40. package/dist/chunks/schema-3gw6zea7.js +252 -0
  41. package/dist/chunks/{ripgrep-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{ripgrep-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{ripgrep-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{ripgrep-vc564wg7.js → schema-3xez6jaj.js} +11 -11
  45. package/dist/chunks/{ripgrep-n5fpbwgd.js → schema-4138kfer.js} +12 -12
  46. package/dist/chunks/{ripgrep-ywrccad0.js → schema-4cmy5hks.js} +17 -17
  47. package/dist/chunks/{ripgrep-marnn1hp.js → schema-4gycnsfp.js} +9 -9
  48. package/dist/chunks/{ripgrep-p5d19shb.js → schema-4nv7pmvf.js} +13 -13
  49. package/dist/chunks/{ripgrep-h3100r6a.js → schema-4p44gt6q.js} +16 -16
  50. package/dist/chunks/{ripgrep-j8zhn7s7.js → schema-4rftnvmm.js} +18 -18
  51. package/dist/chunks/{ripgrep-4n2s88c7.js → schema-4rnjwd9y.js} +27 -27
  52. package/dist/chunks/{ripgrep-drwq78ky.js → schema-57b9ws8p.js} +5 -5
  53. package/dist/chunks/{ripgrep-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
  54. package/dist/chunks/{ripgrep-5c4hm403.js → schema-5c4hm403.js} +3 -3
  55. package/dist/chunks/{ripgrep-1tdsmag2.js → schema-5ceybh92.js} +49 -49
  56. package/dist/chunks/{ripgrep-5daktx2q.js → schema-5daktx2q.js} +1 -1
  57. package/dist/chunks/{ripgrep-vy1yq70x.js → schema-5p8gznt9.js} +6 -6
  58. package/dist/chunks/{ripgrep-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{ripgrep-gbjx53sn.js → schema-5th5y29m.js} +37 -37
  60. package/dist/chunks/{ripgrep-rrawd10r.js → schema-615rvbph.js} +8 -8
  61. package/dist/chunks/{ripgrep-669tq793.js → schema-669tq793.js} +1 -1
  62. package/dist/chunks/{ripgrep-7r449qz2.js → schema-6fbcz64v.js} +6 -6
  63. package/dist/chunks/{ripgrep-40qcz11w.js → schema-6gxr2kse.js} +16 -16
  64. package/dist/chunks/schema-6kdq0pjd.js +4 -0
  65. package/dist/chunks/{ripgrep-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  66. package/dist/chunks/{ripgrep-tgy6hrs3.js → schema-6x27dj5x.js} +8 -8
  67. package/dist/chunks/{ripgrep-90w1v997.js → schema-7278r6b7.js} +21 -21
  68. package/dist/chunks/{ripgrep-s0h6hwms.js → schema-73chcb62.js} +15 -15
  69. package/dist/chunks/{ripgrep-74rrnwt7.js → schema-74rrnwt7.js} +5 -5
  70. package/dist/chunks/{ripgrep-kh0f1jb7.js → schema-767jsjr0.js} +9 -9
  71. package/dist/chunks/{ripgrep-w9vf9qqj.js → schema-76ymgwed.js} +8 -8
  72. package/dist/chunks/{ripgrep-vzsadx9p.js → schema-7a8dqjge.js} +26 -26
  73. package/dist/chunks/{ripgrep-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{ripgrep-rq1gnye7.js → schema-7dc2gp21.js} +2 -2
  75. package/dist/chunks/{ripgrep-s0jg4zzy.js → schema-7wjtb2rf.js} +8 -8
  76. package/dist/chunks/{ripgrep-v8ve3wgc.js → schema-7xfrred8.js} +3 -3
  77. package/dist/chunks/{ripgrep-wg0w5w98.js → schema-82asfs5g.js} +11 -11
  78. package/dist/chunks/{ripgrep-kpvbwx41.js → schema-88t8rp6e.js} +16 -16
  79. package/dist/chunks/{ripgrep-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  80. package/dist/chunks/{ripgrep-fd8q8m3t.js → schema-8kk7mxym.js} +10 -10
  81. package/dist/chunks/{ripgrep-90ar7f1h.js → schema-8nq6hfsb.js} +3 -3
  82. package/dist/chunks/{ripgrep-g34jrx17.js → schema-8rj9y1pa.js} +8 -8
  83. package/dist/chunks/{ripgrep-nx0jwge5.js → schema-8vqvhprh.js} +4 -4
  84. package/dist/chunks/{ripgrep-vb00q1v9.js → schema-94rtpxdn.js} +8 -8
  85. package/dist/chunks/{ripgrep-3m0avw37.js → schema-97j0r8y9.js} +14 -14
  86. package/dist/chunks/{ripgrep-pnqj10zg.js → schema-9936p5k8.js} +6 -6
  87. package/dist/chunks/{ripgrep-xb3sekxh.js → schema-9f3e1ggy.js} +7 -7
  88. package/dist/chunks/{ripgrep-f4kqtx6e.js → schema-9mxah8h4.js} +42 -42
  89. package/dist/chunks/{ripgrep-she15rnf.js → schema-9pjrnwke.js} +14 -14
  90. package/dist/chunks/{ripgrep-h40dny12.js → schema-9qh9k4jy.js} +12 -12
  91. package/dist/chunks/{ripgrep-j6mxb410.js → schema-9vsy5c72.js} +13 -13
  92. package/dist/chunks/{ripgrep-3ey620wm.js → schema-9yn6v7ct.js} +4 -4
  93. package/dist/chunks/{ripgrep-708htapb.js → schema-a51y6ym7.js} +20 -20
  94. package/dist/chunks/{ripgrep-gcavn3wx.js → schema-a694798e.js} +5 -5
  95. package/dist/chunks/{ripgrep-aaet6srn.js → schema-aaet6srn.js} +2 -2
  96. package/dist/chunks/{ripgrep-27cnh2ng.js → schema-af9dffab.js} +36 -36
  97. package/dist/chunks/{ripgrep-x56f7h0m.js → schema-ag3m1axn.js} +9 -9
  98. package/dist/chunks/{ripgrep-d4wy8qa8.js → schema-ahcd1ndw.js} +9 -9
  99. package/dist/chunks/{ripgrep-tq3zv7cf.js → schema-annge035.js} +23 -23
  100. package/dist/chunks/{ripgrep-vykw7zqz.js → schema-arn7a10h.js} +23 -23
  101. package/dist/chunks/{ripgrep-q5kj48pe.js → schema-awchmv23.js} +47 -47
  102. package/dist/chunks/{ripgrep-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{ripgrep-bgxcxs0p.js → schema-bgxcxs0p.js} +2 -2
  104. package/dist/chunks/{ripgrep-qfypqa38.js → schema-bh4jpqk7.js} +3 -3
  105. package/dist/chunks/{ripgrep-ts3pqwha.js → schema-bqxn86gj.js} +3 -3
  106. package/dist/chunks/{ripgrep-yb42q6p1.js → schema-bz45yw4h.js} +11 -11
  107. package/dist/chunks/{ripgrep-bk2568rk.js → schema-c6j30ft7.js} +5 -5
  108. package/dist/chunks/{ripgrep-0cbb5c6c.js → schema-c7p9qvyj.js} +9 -9
  109. package/dist/chunks/{ripgrep-t7b12atk.js → schema-cbhwhadg.js} +8 -8
  110. package/dist/chunks/{ripgrep-aafh3mn1.js → schema-cfa48gc9.js} +7 -7
  111. package/dist/chunks/{ripgrep-k55gjfae.js → schema-cg5ycx1e.js} +3 -3
  112. package/dist/chunks/{ripgrep-0zcsf5ff.js → schema-d3ax6dyb.js} +20 -20
  113. package/dist/chunks/{ripgrep-02x1wwkp.js → schema-d47nnc12.js} +24 -24
  114. package/dist/chunks/{ripgrep-bz15szd7.js → schema-d48ezy26.js} +3 -3
  115. package/dist/chunks/{ripgrep-9ry97qyb.js → schema-dby5k82d.js} +9 -9
  116. package/dist/chunks/{ripgrep-w0v82d0j.js → schema-dby5rmb5.js} +17 -17
  117. package/dist/chunks/{ripgrep-e5dg48hd.js → schema-dcezsyq8.js} +22 -22
  118. package/dist/chunks/{ripgrep-dj2t23y0.js → schema-dj2t23y0.js} +2 -2
  119. package/dist/chunks/{ripgrep-cwa6csj7.js → schema-djszqvmq.js} +9 -9
  120. package/dist/chunks/{ripgrep-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
  121. package/dist/chunks/{ripgrep-jrf2f6cf.js → schema-drx7c34e.js} +25 -25
  122. package/dist/chunks/{ripgrep-7jfq7jze.js → schema-e3d7m6yw.js} +10 -10
  123. package/dist/chunks/{ripgrep-ca1feqth.js → schema-e697vzkb.js} +24 -24
  124. package/dist/chunks/{ripgrep-3b1q5j1v.js → schema-e6hd9jay.js} +6 -6
  125. package/dist/chunks/{ripgrep-z8pq1ztv.js → schema-eabne0ps.js} +16 -16
  126. package/dist/chunks/{ripgrep-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{ripgrep-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  128. package/dist/chunks/{ripgrep-s8e4jhvw.js → schema-evapsva0.js} +25 -25
  129. package/dist/chunks/{ripgrep-s0wfqjsp.js → schema-f4k86emj.js} +8 -8
  130. package/dist/chunks/{ripgrep-7ac170kv.js → schema-fab8hzt3.js} +4 -4
  131. package/dist/chunks/{ripgrep-n9j23xfd.js → schema-fbngn8kj.js} +9 -9
  132. package/dist/chunks/{ripgrep-xf0sbpps.js → schema-fg1jd41j.js} +11 -11
  133. package/dist/chunks/{ripgrep-ywkfy99j.js → schema-fhs97t90.js} +9 -9
  134. package/dist/chunks/{ripgrep-fjmxef0p.js → schema-fpvkpsh3.js} +11 -11
  135. package/dist/chunks/{ripgrep-j58c5xyq.js → schema-fwwk8vbp.js} +9 -9
  136. package/dist/chunks/{ripgrep-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
  137. package/dist/chunks/{ripgrep-49p9cyd4.js → schema-fy09w2xd.js} +1 -1
  138. package/dist/chunks/{ripgrep-18e56dsp.js → schema-fyymr9xg.js} +4 -4
  139. package/dist/chunks/{ripgrep-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{ripgrep-dbwghmjw.js → schema-gk2qhqxt.js} +25 -25
  141. package/dist/chunks/{ripgrep-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
  142. package/dist/chunks/{ripgrep-apfz1ear.js → schema-gykz7zvq.js} +17 -17
  143. package/dist/chunks/{ripgrep-waddknf4.js → schema-gypfqv8n.js} +11 -11
  144. package/dist/chunks/{ripgrep-h03wrkyp.js → schema-h03wrkyp.js} +2 -2
  145. package/dist/chunks/{ripgrep-dw3w34jr.js → schema-h5e28ese.js} +1 -1
  146. package/dist/chunks/{ripgrep-h6r3nrb9.js → schema-h6r3nrb9.js} +1 -1
  147. package/dist/chunks/{ripgrep-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  148. package/dist/chunks/{ripgrep-jkp0d30b.js → schema-h896pcm5.js} +6 -6
  149. package/dist/chunks/{ripgrep-897mca6w.js → schema-hcghqa17.js} +3 -3
  150. package/dist/chunks/{ripgrep-hdnk95c8.js → schema-hdnk95c8.js} +2 -2
  151. package/dist/chunks/{ripgrep-6rvh9ysh.js → schema-hpe0jmgz.js} +21 -21
  152. package/dist/chunks/{ripgrep-1gkpxce2.js → schema-hta4qd97.js} +10 -10
  153. package/dist/chunks/{ripgrep-y4fpdsh6.js → schema-htcg5w1w.js} +42 -42
  154. package/dist/chunks/{ripgrep-t5pprbf2.js → schema-hw08ag4f.js} +3 -3
  155. package/dist/chunks/{ripgrep-0a7fa5tc.js → schema-hzz2ft1h.js} +84 -84
  156. package/dist/chunks/{ripgrep-j56e64zr.js → schema-j56e64zr.js} +1 -1
  157. package/dist/chunks/{ripgrep-ak8wweg5.js → schema-j699j8bt.js} +2 -2
  158. package/dist/chunks/{ripgrep-9hfq2hhx.js → schema-j6bmhn27.js} +4 -4
  159. package/dist/chunks/{ripgrep-k3gnzxs0.js → schema-jppvw2tx.js} +5 -5
  160. package/dist/chunks/{ripgrep-r22bxp1s.js → schema-jy668y7m.js} +18 -18
  161. package/dist/chunks/{ripgrep-nzks3jc8.js → schema-k3c624dm.js} +3 -3
  162. package/dist/chunks/{ripgrep-zdrqx1m8.js → schema-k7db9dk4.js} +9 -9
  163. package/dist/chunks/{ripgrep-w5ngm8t2.js → schema-kf6dz3d4.js} +45 -45
  164. package/dist/chunks/{ripgrep-yzr1kymw.js → schema-kjdatzbq.js} +10 -10
  165. package/dist/chunks/{ripgrep-1djfn99w.js → schema-kjmy95ac.js} +20 -20
  166. package/dist/chunks/{ripgrep-p2gtnhak.js → schema-kqgpfsd6.js} +17 -17
  167. package/dist/chunks/{ripgrep-w1j7ev2x.js → schema-kwwbzygf.js} +22 -22
  168. package/dist/chunks/{ripgrep-v8vq7r7f.js → schema-kxp5agay.js} +11 -11
  169. package/dist/chunks/{ripgrep-3ymzgx77.js → schema-m08zhkpp.js} +11 -11
  170. package/dist/chunks/{ripgrep-m0jqrx5p.js → schema-m0jqrx5p.js} +2 -2
  171. package/dist/chunks/{ripgrep-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
  172. package/dist/chunks/{ripgrep-txgxjvay.js → schema-m3vpbdr9.js} +6 -6
  173. package/dist/chunks/{ripgrep-qgky3r4x.js → schema-m8wp6b1y.js} +15 -15
  174. package/dist/chunks/{ripgrep-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{ripgrep-cavr175a.js → schema-magykp64.js} +4 -4
  176. package/dist/chunks/{ripgrep-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
  177. package/dist/chunks/{ripgrep-7yh4e7ss.js → schema-mhkvc446.js} +3 -3
  178. package/dist/chunks/{ripgrep-7znvc7v4.js → schema-mj63na3k.js} +23 -23
  179. package/dist/chunks/{ripgrep-mfhfdr54.js → schema-msq0jde0.js} +4 -4
  180. package/dist/chunks/{ripgrep-dw7b3qms.js → schema-mv6nj29r.js} +8 -8
  181. package/dist/chunks/{ripgrep-2m4a74dd.js → schema-mw1wac3q.js} +4 -4
  182. package/dist/chunks/{ripgrep-pc67qyx0.js → schema-myj56f32.js} +2 -2
  183. package/dist/chunks/{ripgrep-gq3f66va.js → schema-n72fdvhp.js} +2 -2
  184. package/dist/chunks/{ripgrep-dfnxxx37.js → schema-nd8dp5pn.js} +9 -9
  185. package/dist/chunks/{ripgrep-321vmt1f.js → schema-ndzetbhx.js} +14 -14
  186. package/dist/chunks/{ripgrep-x353b1jt.js → schema-ngts6ef0.js} +8 -8
  187. package/dist/chunks/{ripgrep-mzj135eg.js → schema-nj67srqg.js} +13 -13
  188. package/dist/chunks/{ripgrep-056sf8v6.js → schema-nnfafz6r.js} +41 -41
  189. package/dist/chunks/{ripgrep-xpqxqtfq.js → schema-np5mv9cj.js} +21 -21
  190. package/dist/chunks/{ripgrep-pt7t6ddq.js → schema-p1h3kwr0.js} +15 -15
  191. package/dist/chunks/{ripgrep-ay0dkb9c.js → schema-p4b86tx8.js} +6 -6
  192. package/dist/chunks/{ripgrep-d66y38gy.js → schema-p5y7rtkc.js} +11 -11
  193. package/dist/chunks/{ripgrep-91ja9ad4.js → schema-p9fj2hk0.js} +1 -1
  194. package/dist/chunks/{ripgrep-1ajx6rf5.js → schema-pa8pe2x7.js} +8 -8
  195. package/dist/chunks/{ripgrep-gra0vtax.js → schema-pb1eahw5.js} +8 -8
  196. package/dist/chunks/{ripgrep-00xykwht.js → schema-pfjre90x.js} +18 -18
  197. package/dist/chunks/{ripgrep-gv8mykwk.js → schema-pfm3fg2c.js} +3 -3
  198. package/dist/chunks/{ripgrep-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{ripgrep-fqka1xvk.js → schema-pk2244jm.js} +2 -2
  200. package/dist/chunks/{ripgrep-pknna89w.js → schema-pknna89w.js} +1 -1
  201. package/dist/chunks/{ripgrep-jdca20rw.js → schema-pn6t2syx.js} +124 -124
  202. package/dist/chunks/{ripgrep-vbb3gddg.js → schema-pnp2s8b6.js} +59 -59
  203. package/dist/chunks/{ripgrep-fch79rh9.js → schema-pstg3rfm.js} +1 -1
  204. package/dist/chunks/{ripgrep-84brhf68.js → schema-q0k0nrg7.js} +34 -34
  205. package/dist/chunks/schema-qc068m1q.js +18 -0
  206. package/dist/chunks/{ripgrep-svx8wpky.js → schema-qe3gtrvm.js} +6 -6
  207. package/dist/chunks/{ripgrep-607tc6va.js → schema-qgn6gcr1.js} +5 -5
  208. package/dist/chunks/{ripgrep-qsdy395h.js → schema-qsdy395h.js} +1 -1
  209. package/dist/chunks/{ripgrep-e9b9nd94.js → schema-qvs1q9w1.js} +7 -7
  210. package/dist/chunks/{ripgrep-30027xyv.js → schema-qvxswqn3.js} +11 -11
  211. package/dist/chunks/{ripgrep-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  212. package/dist/chunks/{ripgrep-s8d7rejh.js → schema-rhjbct0v.js} +4 -4
  213. package/dist/chunks/{ripgrep-s3vkv9ay.js → schema-rhzwv3vg.js} +4 -4
  214. package/dist/chunks/{ripgrep-zka0xqjx.js → schema-rkga6wtf.js} +8 -8
  215. package/dist/chunks/{ripgrep-v5tgfvex.js → schema-rm76s9kk.js} +7 -7
  216. package/dist/chunks/{ripgrep-0ybxp83h.js → schema-rr1sj5ze.js} +13 -13
  217. package/dist/chunks/{ripgrep-ztevdd3z.js → schema-s9g9krtc.js} +20 -20
  218. package/dist/chunks/{ripgrep-aayfhc5z.js → schema-sb54ykdv.js} +30 -30
  219. package/dist/chunks/{ripgrep-hhg1hgsd.js → schema-sbenfaxa.js} +16 -16
  220. package/dist/chunks/{ripgrep-v8g8r3p5.js → schema-sc186k9x.js} +6 -6
  221. package/dist/chunks/{ripgrep-f4tkn7h6.js → schema-sprf7069.js} +24 -24
  222. package/dist/chunks/{ripgrep-21wkgqn7.js → schema-stctxq11.js} +1 -1
  223. package/dist/chunks/{ripgrep-6qvham2n.js → schema-sv7g1snr.js} +8 -8
  224. package/dist/chunks/{ripgrep-v96nt2qe.js → schema-svvemcs6.js} +6 -6
  225. package/dist/chunks/{ripgrep-n3weg7ag.js → schema-sy1jr3z7.js} +30 -30
  226. package/dist/chunks/{ripgrep-c4p347gs.js → schema-t1bqjk22.js} +43 -43
  227. package/dist/chunks/{ripgrep-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{ripgrep-89znhe33.js → schema-tcezcvh9.js} +4 -4
  229. package/dist/chunks/{ripgrep-tdstcens.js → schema-tdstcens.js} +1 -1
  230. package/dist/chunks/{ripgrep-cdpcyq5v.js → schema-tew4rwd7.js} +15 -15
  231. package/dist/chunks/{ripgrep-p0n61q8f.js → schema-tqae5094.js} +3 -3
  232. package/dist/chunks/{ripgrep-tvtrv512.js → schema-tvtrv512.js} +1 -1
  233. package/dist/chunks/{ripgrep-5t0zvs0a.js → schema-twt11qtz.js} +9 -9
  234. package/dist/chunks/{ripgrep-v5xjxbe4.js → schema-tyahera8.js} +22 -22
  235. package/dist/chunks/{ripgrep-1ktgcqzb.js → schema-v0ex13be.js} +12 -12
  236. package/dist/chunks/{ripgrep-416bwb4f.js → schema-v23ay7fj.js} +11 -11
  237. package/dist/chunks/{ripgrep-6dsef05n.js → schema-v96zbsm4.js} +15 -15
  238. package/dist/chunks/{ripgrep-veqvce7d.js → schema-veqvce7d.js} +1 -1
  239. package/dist/chunks/{ripgrep-ykcw79z8.js → schema-vgmzrbt3.js} +8 -8
  240. package/dist/chunks/schema-vnzrfeqa.js +26 -0
  241. package/dist/chunks/{ripgrep-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  242. package/dist/chunks/{ripgrep-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  243. package/dist/chunks/{ripgrep-0t9wd588.js → schema-w3x9v1nk.js} +8 -8
  244. package/dist/chunks/{ripgrep-3ytyewx4.js → schema-w4hnw4p2.js} +29 -29
  245. package/dist/chunks/{ripgrep-x3zbw1yr.js → schema-w7xsq20c.js} +18 -18
  246. package/dist/chunks/{ripgrep-wd87259q.js → schema-wd87259q.js} +1 -1
  247. package/dist/chunks/{ripgrep-g2zrx1jt.js → schema-wkhem9xk.js} +26 -26
  248. package/dist/chunks/{ripgrep-cy08etkj.js → schema-wn3hqp9d.js} +41 -41
  249. package/dist/chunks/{ripgrep-g9dk0zyp.js → schema-wnzd5x6z.js} +17 -17
  250. package/dist/chunks/{ripgrep-f90grvra.js → schema-wsk3qemq.js} +2 -2
  251. package/dist/chunks/{ripgrep-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  252. package/dist/chunks/{ripgrep-5gcce52j.js → schema-x806t7sw.js} +13 -13
  253. package/dist/chunks/{ripgrep-ednp5hmx.js → schema-xbrnje9f.js} +8 -8
  254. package/dist/chunks/{ripgrep-knb7evpn.js → schema-xfdrc2qg.js} +4 -4
  255. package/dist/chunks/{ripgrep-ce6rh1wk.js → schema-xjqr407x.js} +16 -16
  256. package/dist/chunks/{ripgrep-y4ah2e8h.js → schema-xk0yw0s7.js} +7 -7
  257. package/dist/chunks/{ripgrep-hzy9092j.js → schema-xrg66tk8.js} +30 -30
  258. package/dist/chunks/{ripgrep-0ca1pcbr.js → schema-xs0kh3zs.js} +9 -9
  259. package/dist/chunks/{ripgrep-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  260. package/dist/chunks/{ripgrep-3ystes8p.js → schema-y246tq9k.js} +18 -18
  261. package/dist/chunks/{ripgrep-bacyadyn.js → schema-y6mhz57t.js} +4 -4
  262. package/dist/chunks/{ripgrep-f40ag0j2.js → schema-y6q6zf37.js} +27 -27
  263. package/dist/chunks/{ripgrep-czb860pt.js → schema-y71g7smx.js} +31 -31
  264. package/dist/chunks/{ripgrep-kwkytdc2.js → schema-y76rrb5c.js} +43 -43
  265. package/dist/chunks/{ripgrep-07xqqp3q.js → schema-y9azjxwp.js} +32 -32
  266. package/dist/chunks/{ripgrep-2wn13fn5.js → schema-yca3ft21.js} +6 -6
  267. package/dist/chunks/{ripgrep-d8ds7rj5.js → schema-ydat8bwa.js} +21 -21
  268. package/dist/chunks/{ripgrep-npeh470p.js → schema-ykjwg2je.js} +15 -15
  269. package/dist/chunks/{ripgrep-1qdmrsyh.js → schema-ymbz5575.js} +18 -18
  270. package/dist/chunks/{ripgrep-n6vwdwpw.js → schema-yp2xj7p9.js} +82 -82
  271. package/dist/chunks/{ripgrep-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  272. package/dist/chunks/{ripgrep-yrznvahk.js → schema-yrznvahk.js} +2 -2
  273. package/dist/chunks/{ripgrep-xh3133gz.js → schema-yx860a03.js} +12 -12
  274. package/dist/chunks/{ripgrep-9x813t64.js → schema-yz7nz4q8.js} +8 -8
  275. package/dist/chunks/{ripgrep-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{ripgrep-dwxna5g7.js → schema-z2eqq79g.js} +15 -15
  277. package/dist/chunks/{ripgrep-2gascbgd.js → schema-z3njypsy.js} +11 -11
  278. package/dist/chunks/{ripgrep-z63w68vq.js → schema-z63w68vq.js} +2 -2
  279. package/dist/chunks/{ripgrep-w06a0nwk.js → schema-z7m6ynqn.js} +17 -17
  280. package/dist/chunks/{ripgrep-6w9v7p8s.js → schema-zahct80t.js} +10 -10
  281. package/dist/chunks/{ripgrep-t7n9q6bq.js → schema-zav06jzw.js} +4 -4
  282. package/dist/chunks/{ripgrep-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{ripgrep-0y46xc02.js → schema-zpby3q09.js} +3 -3
  284. package/dist/chunks/{ripgrep-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{ripgrep-chxat7qs.js → schema-zrj78jzj.js} +6 -6
  286. package/dist/chunks/{ripgrep-9dzg75hq.js → schema-zv1y5e3h.js} +16 -16
  287. package/dist/chunks/{ripgrep-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +11 -11
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +83 -83
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +122 -122
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +122 -122
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +141 -141
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +76 -76
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +366 -366
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +224 -224
  422. package/dist/filesystem/protected.js +3 -3
  423. package/dist/filesystem/search.js +102 -102
  424. package/dist/filesystem/watcher-binding.js +1 -1
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +105 -105
  427. package/dist/form.js +73 -73
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +88 -88
  430. package/dist/generate.js +102 -102
  431. package/dist/git.js +6 -6
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +90 -90
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +4 -4
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +357 -357
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +1 -1
  460. package/dist/integration.js +79 -79
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-lifecycle.js +105 -105
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +354 -354
  469. package/dist/location.js +80 -80
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +107 -107
  472. package/dist/mcp/instructions.js +127 -127
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +97 -97
  478. package/dist/model.js +93 -93
  479. package/dist/models-dev.js +106 -106
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +108 -108
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +85 -85
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +217 -217
  493. package/dist/plugin/identity.js +3 -3
  494. package/dist/plugin/instance.js +5 -5
  495. package/dist/plugin/internal.js +328 -328
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +95 -95
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +1 -1
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +1 -1
  517. package/dist/plugin/provider/llmgateway.js +76 -76
  518. package/dist/plugin/provider/lmstudio.js +121 -121
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai.js +91 -91
  523. package/dist/plugin/provider/opencode.js +92 -92
  524. package/dist/plugin/provider/openrouter.js +90 -90
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +77 -77
  527. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +1 -1
  536. package/dist/plugin/provider.js +158 -158
  537. package/dist/plugin/sdk.js +73 -73
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +140 -140
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +343 -343
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/vcs/git.js +85 -85
  544. package/dist/plugin/vcs/hg.js +85 -85
  545. package/dist/plugin/warming.js +120 -120
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +228 -228
  554. package/dist/project/schema.js +2 -2
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +79 -79
  557. package/dist/provider.js +92 -92
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/schema.js +3 -3
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +95 -95
  562. package/dist/reference/instructions.js +88 -88
  563. package/dist/reference.js +88 -88
  564. package/dist/repository-cache.js +80 -80
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +96 -96
  568. package/dist/rpc.js +85 -85
  569. package/dist/schema.js +1 -1
  570. package/dist/session/command.js +73 -73
  571. package/dist/session/compaction.js +131 -131
  572. package/dist/session/context.js +151 -151
  573. package/dist/session/diff.js +87 -87
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +220 -220
  578. package/dist/session/execution.js +125 -125
  579. package/dist/session/generate.js +152 -152
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +85 -85
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +78 -78
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +96 -96
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +118 -118
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +129 -129
  591. package/dist/session/projector.js +85 -85
  592. package/dist/session/prompt.js +104 -104
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +89 -89
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +228 -228
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +97 -97
  600. package/dist/session/runner/publish-llm-event.js +3 -3
  601. package/dist/session/runner/retry.js +111 -111
  602. package/dist/session/runner/step.js +123 -123
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +3 -3
  605. package/dist/session/session.js +169 -169
  606. package/dist/session/shell.js +137 -137
  607. package/dist/session/skill.js +102 -102
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +72 -72
  610. package/dist/session/store.js +86 -86
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +209 -209
  613. package/dist/session/system-prompt.js +3 -3
  614. package/dist/session/title.js +149 -149
  615. package/dist/session/to-session-error.js +110 -110
  616. package/dist/session/transfer.js +213 -213
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +217 -217
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +15 -15
  623. package/dist/shell.js +139 -139
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +106 -106
  626. package/dist/skill.js +107 -107
  627. package/dist/snapshot.js +92 -92
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +124 -124
  632. package/dist/tool/plugin/edit.js +117 -117
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +121 -121
  635. package/dist/tool/plugin/grep.js +119 -119
  636. package/dist/tool/plugin/opencode.js +3 -3
  637. package/dist/tool/plugin/patch.js +121 -121
  638. package/dist/tool/plugin/question.js +100 -100
  639. package/dist/tool/plugin/read.js +124 -124
  640. package/dist/tool/plugin/shell.js +214 -214
  641. package/dist/tool/plugin/skill.js +112 -112
  642. package/dist/tool/plugin/subagent.js +218 -218
  643. package/dist/tool/plugin/webfetch.js +111 -111
  644. package/dist/tool/plugin/websearch.js +109 -109
  645. package/dist/tool/plugin/write.js +119 -119
  646. package/dist/tool/read-filesystem.js +99 -99
  647. package/dist/tool/runtime.js +1 -1
  648. package/dist/tool-output.js +8 -8
  649. package/dist/tool.js +14 -14
  650. package/dist/util/error-summary.js +1 -1
  651. package/dist/util/error.js +1 -1
  652. package/dist/util/git-executable.js +2 -2
  653. package/dist/util/iife.js +1 -1
  654. package/dist/util/lazy.js +1 -1
  655. package/dist/util/slug.js +1 -1
  656. package/dist/util/token.js +1 -1
  657. package/dist/util/which.js +1 -1
  658. package/dist/util/wildcard.js +1 -1
  659. package/dist/v1/config/agent.js +5 -5
  660. package/dist/v1/config/attachment.js +4 -4
  661. package/dist/v1/config/command.js +3 -3
  662. package/dist/v1/config/config.js +16 -16
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/formatter.js +7 -7
  665. package/dist/v1/config/layout.js +1 -1
  666. package/dist/v1/config/lsp.js +5 -5
  667. package/dist/v1/config/mcp.js +4 -4
  668. package/dist/v1/config/migrate.js +91 -91
  669. package/dist/v1/config/permission.js +3 -3
  670. package/dist/v1/config/plugin.js +3 -3
  671. package/dist/v1/config/provider-options.js +1 -1
  672. package/dist/v1/config/provider.js +2 -2
  673. package/dist/v1/config/server.js +2 -2
  674. package/dist/v1/config/skills.js +3 -3
  675. package/dist/v1/permission.js +1 -1
  676. package/dist/variant.js +92 -92
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +81 -81
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +78 -78
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +75 -75
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/sql.js +5 -5
  688. package/dist/worktree/strategies.js +88 -88
  689. package/dist/worktree.js +97 -97
  690. package/package.json +8 -8
  691. package/dist/chunks/ripgrep-0mesazry.js +0 -4
  692. package/dist/chunks/ripgrep-4v7qdvcn.js +0 -18
  693. package/dist/chunks/ripgrep-rbmavd1e.js +0 -252
  694. package/dist/chunks/ripgrep-rgvvcc97.js +0 -26
  695. /package/dist/chunks/{ripgrep-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{ripgrep-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{ripgrep-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{ripgrep-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{ripgrep-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{ripgrep-24dcb14g.js → schema-24dcb14g.js} +0 -0
  701. /package/dist/chunks/{ripgrep-2710q6r3.js → schema-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{ripgrep-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{ripgrep-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{ripgrep-359p4xyc.js → schema-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{ripgrep-3asan66x.js → schema-3asan66x.js} +0 -0
  706. /package/dist/chunks/{ripgrep-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{ripgrep-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{ripgrep-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{ripgrep-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{ripgrep-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{ripgrep-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{ripgrep-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{ripgrep-53557ph1.js → schema-53557ph1.js} +0 -0
  714. /package/dist/chunks/{ripgrep-550bvhaj.js → schema-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{ripgrep-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{ripgrep-6prwharc.js → schema-6prwharc.js} +0 -0
  717. /package/dist/chunks/{ripgrep-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{ripgrep-7m9af43g.js → schema-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{ripgrep-822emrt2.js → schema-822emrt2.js} +0 -0
  720. /package/dist/chunks/{ripgrep-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{ripgrep-8n3pysct.js → schema-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{ripgrep-922hggd3.js → schema-922hggd3.js} +0 -0
  723. /package/dist/chunks/{ripgrep-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{ripgrep-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{ripgrep-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{ripgrep-af5trqkr.js → schema-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{ripgrep-afrmfg78.js → schema-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{ripgrep-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{ripgrep-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{ripgrep-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{ripgrep-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{ripgrep-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{ripgrep-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{ripgrep-d9fn303g.js → schema-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{ripgrep-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{ripgrep-dajrwvna.js → schema-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{ripgrep-dap0rakb.js → schema-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{ripgrep-df08tz66.js → schema-df08tz66.js} +0 -0
  739. /package/dist/chunks/{ripgrep-dy18nga0.js → schema-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{ripgrep-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{ripgrep-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{ripgrep-ec1grn59.js → schema-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{ripgrep-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{ripgrep-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{ripgrep-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{ripgrep-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{ripgrep-faypxj3z.js → schema-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{ripgrep-fd410y7t.js → schema-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{ripgrep-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{ripgrep-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{ripgrep-g86h250q.js → schema-g86h250q.js} +0 -0
  752. /package/dist/chunks/{ripgrep-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{ripgrep-gftt206x.js → schema-gftt206x.js} +0 -0
  754. /package/dist/chunks/{ripgrep-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{ripgrep-hk9envan.js → schema-hk9envan.js} +0 -0
  756. /package/dist/chunks/{ripgrep-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{ripgrep-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{ripgrep-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{ripgrep-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{ripgrep-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{ripgrep-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{ripgrep-mp448xyj.js → schema-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{ripgrep-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{ripgrep-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{ripgrep-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{ripgrep-njntx4h6.js → schema-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{ripgrep-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{ripgrep-q74kybfr.js → schema-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{ripgrep-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{ripgrep-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{ripgrep-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{ripgrep-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{ripgrep-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{ripgrep-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{ripgrep-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{ripgrep-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  777. /package/dist/chunks/{ripgrep-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{ripgrep-twg0f83k.js → schema-twg0f83k.js} +0 -0
  779. /package/dist/chunks/{ripgrep-w803qqfp.js → schema-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{ripgrep-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{ripgrep-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{ripgrep-wtztk69x.js → schema-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{ripgrep-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{ripgrep-x61499pn.js → schema-x61499pn.js} +0 -0
  785. /package/dist/chunks/{ripgrep-y44na4kk.js → schema-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{ripgrep-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  787. /package/dist/chunks/{ripgrep-y8f7s663.js → schema-y8f7s663.js} +0 -0
  788. /package/dist/chunks/{ripgrep-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  789. /package/dist/chunks/{ripgrep-ym463w8f.js → schema-ym463w8f.js} +0 -0
  790. /package/dist/chunks/{ripgrep-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./schema-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service35
7
- } from "./ripgrep-056sf8v6.js";
6
+ Service45
7
+ } from "./schema-nnfafz6r.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./ripgrep-2a5m3afh.js";
10
+ } from "./schema-2a5m3afh.js";
11
11
  import {
12
- Service61
13
- } from "./ripgrep-xpqxqtfq.js";
12
+ Service67
13
+ } from "./schema-np5mv9cj.js";
14
14
  import {
15
- Service49
16
- } from "./ripgrep-w06a0nwk.js";
15
+ Service54
16
+ } from "./schema-z7m6ynqn.js";
17
17
  import {
18
- Service52
19
- } from "./ripgrep-w5ngm8t2.js";
18
+ Service59
19
+ } from "./schema-kf6dz3d4.js";
20
20
  import {
21
- Service14,
21
+ Service15,
22
22
  resolvePath2
23
- } from "./ripgrep-qgky3r4x.js";
23
+ } from "./schema-m8wp6b1y.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./ripgrep-fxbjtjnd.js";
29
+ } from "./schema-fxbjtjnd.js";
30
30
  import {
31
- Service37,
31
+ Service69,
32
32
  name15
33
- } from "./ripgrep-hbgnhwv0.js";
33
+ } from "./schema-0kq1vnt2.js";
34
34
  import {
35
- NotFoundError5,
36
- Service33
37
- } from "./ripgrep-kwkytdc2.js";
35
+ NotFoundError6,
36
+ Service43
37
+ } from "./schema-y76rrb5c.js";
38
38
  import {
39
- Service19
40
- } from "./ripgrep-n6vwdwpw.js";
39
+ Service29
40
+ } from "./schema-yp2xj7p9.js";
41
41
  import {
42
42
  scan2
43
- } from "./ripgrep-s3vkv9ay.js";
43
+ } from "./schema-rhzwv3vg.js";
44
44
  import {
45
45
  __export
46
- } from "./ripgrep-9rqn6x4v.js";
46
+ } from "./schema-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input2,
53
- Plugin: () => Plugin20,
52
+ Input: () => Input9,
53
+ Plugin: () => Plugin42,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name2
55
+ name: () => name9
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name2 = "shell";
59
+ var name9 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input2 = Schema.Struct({
73
+ var Input9 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin20 = {
118
+ var Plugin42 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service19;
122
- const jobs = yield* Service49;
121
+ const sessions = yield* Service29;
122
+ const jobs = yield* Service54;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service61;
125
- const access = yield* Service14;
126
- const shell = yield* Service33;
127
- const shellSelect = yield* Service37;
124
+ const environment = yield* Service67;
125
+ const access = yield* Service15;
126
+ const shell = yield* Service43;
127
+ const shellSelect = yield* Service69;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service52;
130
- const config = yield* Service35;
129
+ const permission = yield* Service59;
130
+ const config = yield* Service45;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin20 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name2,
149
+ action: name9,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin20 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name2,
186
+ name: name9,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input2,
189
+ input: Input9,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin20 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError5({ id: info.id });
208
+ return yield* new NotFoundError6({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name2,
222
+ type: name9,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name2];
252
+ const tool = event.tools[name9];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name2, DEFAULT_TIMEOUT_MS2, Input2, Plugin20, exports_shell2 };
263
+ export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin42, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/vcs/patch.ts
6
6
  var exports_patch2 = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names4,
10
+ names: () => names3,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names4() {
44
+ function names3() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names4, paths2, exports_protected };
63
+ export { isHome2, names3, paths2, exports_protected };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/session/usage.ts
6
6
  var exports_usage = {};
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./schema-922hggd3.js";
4
4
  import {
5
- Info6,
5
+ Info7,
6
6
  ID5,
7
7
  Name2
8
- } from "./ripgrep-ce6rh1wk.js";
8
+ } from "./schema-xjqr407x.js";
9
9
  import {
10
- Service35
11
- } from "./ripgrep-056sf8v6.js";
10
+ Service45
11
+ } from "./schema-nnfafz6r.js";
12
12
  import {
13
13
  __export
14
- } from "./ripgrep-9rqn6x4v.js";
14
+ } from "./schema-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill3 = {};
18
- __export(exports_skill3, {
17
+ var exports_skill2 = {};
18
+ __export(exports_skill2, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin44,
21
+ Plugin: () => Plugin28,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill3
23
+ SkillPlugin: () => exports_skill2
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -425,19 +425,19 @@ var OpencodeContent2 = opencode_default;
425
425
  var ReportContent2 = report_default;
426
426
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
427
427
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
428
- var Plugin44 = define({
428
+ var Plugin28 = define({
429
429
  id: "opencode.skill",
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info6.make({
433
+ editor.add(Info7.make({
434
434
  id: ID5.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info6.make({
440
+ editor.add(Info7.make({
441
441
  id: ID5.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service35;
469
+ const config = yield* Service45;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -480,4 +480,4 @@ function shell() {
480
480
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
481
481
  }
482
482
 
483
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin44, exports_skill3 };
483
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin28, exports_skill2 };
@@ -2,16 +2,16 @@ import {
2
2
  managesTransactionsNatively2,
3
3
  EffectSQLiteSession2,
4
4
  EffectSQLiteTransaction2
5
- } from "./ripgrep-mdvcq96a.js";
5
+ } from "./schema-2q85j725.js";
6
6
  import {
7
7
  EffectSQLiteDatabase2,
8
8
  DefaultServices2,
9
9
  make22,
10
10
  makeWithDefaults2
11
- } from "./ripgrep-90ar7f1h.js";
11
+ } from "./schema-8nq6hfsb.js";
12
12
  import {
13
13
  __export
14
- } from "./ripgrep-9rqn6x4v.js";
14
+ } from "./schema-9rqn6x4v.js";
15
15
 
16
16
  // src/database/drizzle/index.ts
17
17
  var exports_drizzle = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./ripgrep-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/id/id.ts
6
6
  var exports_id = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service35
3
- } from "./ripgrep-056sf8v6.js";
2
+ Service45
3
+ } from "./schema-nnfafz6r.js";
4
4
  import {
5
5
  match2
6
- } from "./ripgrep-y1fvbwt7.js";
6
+ } from "./schema-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./ripgrep-qsdy395h.js";
9
+ } from "./schema-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./ripgrep-9rqn6x4v.js";
12
+ } from "./schema-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin15
18
+ Plugin: () => Plugin9
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin15 = define({
22
+ var Plugin9 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service35;
25
+ const config = yield* Service45;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
27
27
  yield* ctx.provider.transform((providers) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin15 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin15, exports_policy };
38
+ export { Plugin9, exports_policy };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./schema-922hggd3.js";
4
4
  import {
5
5
  Action2
6
- } from "./ripgrep-cavr175a.js";
6
+ } from "./schema-magykp64.js";
7
7
  import {
8
- Info8
9
- } from "./ripgrep-gra0vtax.js";
8
+ Info14
9
+ } from "./schema-pb1eahw5.js";
10
10
  import {
11
- Info15
12
- } from "./ripgrep-3w0fmcng.js";
11
+ Info16
12
+ } from "./schema-3cfzdc8e.js";
13
13
  import {
14
- Info11
15
- } from "./ripgrep-d216944b.js";
14
+ Info17
15
+ } from "./schema-34rkz0x9.js";
16
16
  import {
17
- Info9
18
- } from "./ripgrep-cr07tj7n.js";
17
+ Info13
18
+ } from "./schema-0f9afca0.js";
19
19
  import {
20
20
  Spec2
21
- } from "./ripgrep-607tc6va.js";
21
+ } from "./schema-qgn6gcr1.js";
22
22
  import {
23
23
  Info10
24
- } from "./ripgrep-bgxcxs0p.js";
24
+ } from "./schema-bgxcxs0p.js";
25
25
  import {
26
- Info7
27
- } from "./ripgrep-cy08etkj.js";
26
+ Info8
27
+ } from "./schema-wn3hqp9d.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./ripgrep-2m4a74dd.js";
36
+ } from "./schema-mw1wac3q.js";
37
37
  import {
38
38
  __export
39
- } from "./ripgrep-9rqn6x4v.js";
39
+ } from "./schema-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info7.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info8.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info15, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info16, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info17, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info8, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info8, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
225
225
  normalizeMcpTimeout(value, timeout, path, diagnostics);
226
226
  return;
227
227
  }
228
- const server = decodeValue(Info9, value, path, diagnostics);
228
+ const server = decodeValue(Info13, value, path, diagnostics);
229
229
  if (server !== undefined)
230
230
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
231
231
  });
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./ripgrep-gd4qta3r.js";
3
+ } from "./schema-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./ripgrep-tvtrv512.js";
6
+ } from "./schema-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./ripgrep-rdw6cm16.js";
9
+ } from "./schema-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./ripgrep-9rqn6x4v.js";
12
+ } from "./schema-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service40,
21
+ Service: () => Service63,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node43
23
+ node: () => node66
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service40 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service63 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service40, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service63, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service40.of({
125
+ return Service63.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node43 = makeLocationNode({
143
- service: Service40,
142
+ var node66 = makeLocationNode({
143
+ service: Service63,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service40, node43, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service63, node66, exports_tool_output2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./ripgrep-922hggd3.js";
3
+ } from "./schema-922hggd3.js";
4
4
  import {
5
5
  Service79
6
- } from "./ripgrep-f90grvra.js";
6
+ } from "./schema-wsk3qemq.js";
7
7
  import {
8
- Service35
9
- } from "./ripgrep-056sf8v6.js";
8
+ Service45
9
+ } from "./schema-nnfafz6r.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./ripgrep-f4tkn7h6.js";
13
+ } from "./schema-sprf7069.js";
14
14
  import {
15
15
  observe2
16
- } from "./ripgrep-qsdy395h.js";
16
+ } from "./schema-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./ripgrep-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin9
25
+ Plugin: () => Plugin15
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode/util/global";
31
- var Plugin9 = define({
31
+ var Plugin15 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service35;
34
+ const config = yield* Service45;
35
35
  const location = yield* Service79;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin9, exports_reference };
75
+ export { Plugin15, exports_reference };