@opencode/core 0.0.0-dev-19599 → 0.0.0-dev-19600

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{tool-ttyd6mwr.js → schema-02t5w4gh.js} +6 -6
  8. package/dist/chunks/{tool-2vs2nh1n.js → schema-06x8he3q.js} +4 -4
  9. package/dist/chunks/{tool-7355chmd.js → schema-09q628k0.js} +3 -3
  10. package/dist/chunks/{tool-da1ppnzr.js → schema-0b2drx1x.js} +32 -32
  11. package/dist/chunks/{tool-c8r4c7x7.js → schema-0d1s996h.js} +24 -24
  12. package/dist/chunks/{tool-fsqnn3fv.js → schema-0f1jrs4t.js} +26 -26
  13. package/dist/chunks/{tool-m46abj74.js → schema-0f6gex3r.js} +5 -5
  14. package/dist/chunks/{tool-4vkh6st7.js → schema-0n6yb30j.js} +14 -14
  15. package/dist/chunks/{tool-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{tool-21f2rsjd.js → schema-0pbq8x9a.js} +11 -11
  17. package/dist/chunks/{tool-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{tool-cdx2nmd2.js → schema-0smkg98y.js} +49 -49
  19. package/dist/chunks/{tool-t06sf88e.js → schema-0w48b795.js} +10 -10
  20. package/dist/chunks/{tool-vqdbe12f.js → schema-0xwfnwv8.js} +37 -37
  21. package/dist/chunks/{tool-a6d3kgp8.js → schema-0y9a0wd2.js} +17 -17
  22. package/dist/chunks/{tool-f38hchcj.js → schema-0ypfbjae.js} +9 -9
  23. package/dist/chunks/{tool-fgb2mcbr.js → schema-0zx3erd1.js} +22 -22
  24. package/dist/chunks/{tool-pd0fnjnr.js → schema-1awhc7qw.js} +18 -18
  25. package/dist/chunks/{tool-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{tool-ggz7fzf6.js → schema-1e1gg1pw.js} +6 -6
  27. package/dist/chunks/{tool-r6fz4byc.js → schema-1hpz7mxd.js} +1 -1
  28. package/dist/chunks/{tool-mrk4e56b.js → schema-1jj6qp1e.js} +16 -16
  29. package/dist/chunks/{tool-bmnapqat.js → schema-1pwsej9z.js} +8 -8
  30. package/dist/chunks/{tool-ce8sn01r.js → schema-1vf2vjhr.js} +43 -43
  31. package/dist/chunks/{tool-7933w99v.js → schema-1w8mjab2.js} +81 -81
  32. package/dist/chunks/{tool-6vq97qmv.js → schema-1x75wf9g.js} +5 -5
  33. package/dist/chunks/{tool-5hsgp0bq.js → schema-1xacm4tx.js} +15 -15
  34. package/dist/chunks/{tool-21r38tys.js → schema-21r38tys.js} +1 -1
  35. package/dist/chunks/{tool-2402vzrj.js → schema-2402vzrj.js} +1 -1
  36. package/dist/chunks/{tool-88sz8qcd.js → schema-26k5bknw.js} +4 -4
  37. package/dist/chunks/{tool-rkdpvaam.js → schema-2865vqft.js} +15 -15
  38. package/dist/chunks/{tool-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
  39. package/dist/chunks/{tool-66qmevrd.js → schema-2ab2hy21.js} +8 -8
  40. package/dist/chunks/{tool-pngq9dd9.js → schema-2e8sz0s6.js} +20 -20
  41. package/dist/chunks/{tool-s4k2xazs.js → schema-2f0200dh.js} +16 -16
  42. package/dist/chunks/{tool-p42hj8p8.js → schema-2hyh68ab.js} +4 -4
  43. package/dist/chunks/{tool-21dj5k26.js → schema-2qyc1xj5.js} +7 -7
  44. package/dist/chunks/{tool-cejrj8y8.js → schema-2t84qgzz.js} +31 -31
  45. package/dist/chunks/{tool-vdyyrf70.js → schema-2wj8n25z.js} +6 -6
  46. package/dist/chunks/{tool-k56b83dc.js → schema-2xrnssb3.js} +15 -15
  47. package/dist/chunks/{tool-x7ajdgre.js → schema-34pkzm2p.js} +9 -9
  48. package/dist/chunks/{tool-mf4jvz0z.js → schema-379qd7x1.js} +8 -8
  49. package/dist/chunks/{tool-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
  50. package/dist/chunks/{tool-95vfjh4q.js → schema-3fnc9aea.js} +9 -9
  51. package/dist/chunks/{tool-fyfytr13.js → schema-3h2g17n5.js} +6 -6
  52. package/dist/chunks/{tool-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
  53. package/dist/chunks/{tool-acxcbb38.js → schema-3r0rrtry.js} +16 -16
  54. package/dist/chunks/{tool-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
  55. package/dist/chunks/{tool-s9pnwdwt.js → schema-3te1hz24.js} +1 -1
  56. package/dist/chunks/{tool-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
  57. package/dist/chunks/{tool-nbzw66ce.js → schema-3vkh5m7y.js} +26 -26
  58. package/dist/chunks/{tool-8dp74fdk.js → schema-3xmwv3w1.js} +16 -16
  59. package/dist/chunks/{tool-zr6g55aw.js → schema-41kev6en.js} +5 -5
  60. package/dist/chunks/{tool-92s0cqnp.js → schema-43fbk8gs.js} +7 -7
  61. package/dist/chunks/{tool-nhy5jxhy.js → schema-47gsdddb.js} +5 -5
  62. package/dist/chunks/{tool-v64wsefy.js → schema-48spbe97.js} +15 -15
  63. package/dist/chunks/{tool-acpnwff5.js → schema-4dsw036z.js} +3 -3
  64. package/dist/chunks/{tool-3y6z2ty2.js → schema-4qprwqgn.js} +15 -15
  65. package/dist/chunks/{tool-vgf270yp.js → schema-4tmnzem5.js} +1 -1
  66. package/dist/chunks/{tool-6sr3ve8g.js → schema-50mzsvk4.js} +21 -21
  67. package/dist/chunks/{tool-7m0wx7n2.js → schema-5142gq6g.js} +5 -5
  68. package/dist/chunks/{tool-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
  69. package/dist/chunks/{tool-z4t82ehr.js → schema-5a60vkb8.js} +6 -6
  70. package/dist/chunks/{tool-nvxqht09.js → schema-5cmxdwv8.js} +3 -3
  71. package/dist/chunks/{tool-5daktx2q.js → schema-5daktx2q.js} +1 -1
  72. package/dist/chunks/{tool-e3qxr5gk.js → schema-5qd3pb7m.js} +2 -2
  73. package/dist/chunks/{tool-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
  74. package/dist/chunks/{tool-r2gzwywa.js → schema-5ve5k6ff.js} +30 -30
  75. package/dist/chunks/{tool-d55qd04d.js → schema-5yb6dsy5.js} +21 -21
  76. package/dist/chunks/{tool-smthb8q2.js → schema-62h3nghm.js} +24 -24
  77. package/dist/chunks/{tool-383meeh8.js → schema-633cm28q.js} +47 -47
  78. package/dist/chunks/{tool-669tq793.js → schema-669tq793.js} +1 -1
  79. package/dist/chunks/{tool-nef32yex.js → schema-6azphhhm.js} +2 -2
  80. package/dist/chunks/{tool-4gp9przv.js → schema-6d2r6qkc.js} +8 -8
  81. package/dist/chunks/{tool-dy775f0c.js → schema-6jzygt4j.js} +17 -17
  82. package/dist/chunks/{tool-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
  83. package/dist/chunks/{tool-akvwqyjh.js → schema-6yb3tdfr.js} +18 -18
  84. package/dist/chunks/{tool-71q4at8m.js → schema-71q4at8m.js} +1 -1
  85. package/dist/chunks/{tool-wzvtb6ev.js → schema-78jxphdk.js} +20 -20
  86. package/dist/chunks/{tool-9d4sgpz8.js → schema-798n350n.js} +9 -9
  87. package/dist/chunks/{tool-f1ts345w.js → schema-7b3vjk9x.js} +11 -11
  88. package/dist/chunks/{tool-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
  89. package/dist/chunks/{tool-gjh1s6ya.js → schema-7cdanhdd.js} +14 -14
  90. package/dist/chunks/{tool-b7n5ecmq.js → schema-7k41kz7d.js} +35 -35
  91. package/dist/chunks/{tool-5y9tx54q.js → schema-7m9x3c92.js} +12 -12
  92. package/dist/chunks/{tool-e8rb0fk9.js → schema-7mpda9be.js} +11 -11
  93. package/dist/chunks/{tool-jez6grfh.js → schema-7r0b8j13.js} +10 -10
  94. package/dist/chunks/{tool-63dea9jd.js → schema-7sbttmca.js} +1 -1
  95. package/dist/chunks/{tool-hswenssz.js → schema-7wxybjhq.js} +17 -17
  96. package/dist/chunks/{tool-2x9c36ps.js → schema-814espwq.js} +34 -34
  97. package/dist/chunks/{tool-ve6nm2s5.js → schema-81rrwt6s.js} +6 -6
  98. package/dist/chunks/{tool-b5vpxnpr.js → schema-83gwz6tt.js} +21 -21
  99. package/dist/chunks/{tool-c31h4aj0.js → schema-84rdt8rr.js} +45 -45
  100. package/dist/chunks/{tool-sy7efrgz.js → schema-85j4zkzf.js} +29 -29
  101. package/dist/chunks/{tool-chp1ctqz.js → schema-88wz218q.js} +11 -11
  102. package/dist/chunks/{tool-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
  103. package/dist/chunks/{tool-6qkc0t3x.js → schema-8mwk31bk.js} +8 -8
  104. package/dist/chunks/{tool-vmyza7nt.js → schema-8nkhzrtw.js} +56 -56
  105. package/dist/chunks/{tool-8p4f9s12.js → schema-8p4f9s12.js} +2 -2
  106. package/dist/chunks/{tool-99yh2pdr.js → schema-8yjj8ppj.js} +10 -10
  107. package/dist/chunks/{tool-7vnx6y3p.js → schema-9151qrdt.js} +17 -17
  108. package/dist/chunks/{tool-zdvgxm63.js → schema-94ztp1pn.js} +17 -17
  109. package/dist/chunks/{tool-gjtgcmhe.js → schema-98pd2de6.js} +6 -6
  110. package/dist/chunks/{tool-bv9pnvgp.js → schema-98td9sca.js} +4 -4
  111. package/dist/chunks/{tool-8y01k5fy.js → schema-9adbhrd2.js} +4 -4
  112. package/dist/chunks/{tool-5w7fqkzx.js → schema-9jnwyv99.js} +10 -10
  113. package/dist/chunks/schema-9zdhvgqs.js +18 -0
  114. package/dist/chunks/{tool-a1bz86dw.js → schema-a1bz86dw.js} +3 -3
  115. package/dist/chunks/{tool-efxhpxf5.js → schema-a3aw0xhm.js} +24 -24
  116. package/dist/chunks/{tool-aaet6srn.js → schema-aaet6srn.js} +2 -2
  117. package/dist/chunks/{tool-tg3z6q21.js → schema-aewa2dz5.js} +11 -11
  118. package/dist/chunks/{tool-jzzy94zk.js → schema-af4kcksd.js} +9 -9
  119. package/dist/chunks/{tool-4e0pbrm7.js → schema-b03qqrxx.js} +8 -8
  120. package/dist/chunks/{tool-metb0c44.js → schema-b1e4svfj.js} +11 -11
  121. package/dist/chunks/{tool-axtvtek4.js → schema-b27vhd2z.js} +7 -7
  122. package/dist/chunks/{tool-fdftwakz.js → schema-b34gcna0.js} +10 -10
  123. package/dist/chunks/{tool-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
  124. package/dist/chunks/{tool-scq4khx8.js → schema-b97cbvw3.js} +1 -1
  125. package/dist/chunks/schema-b9fvk0jf.js +26 -0
  126. package/dist/chunks/{tool-v0hcs57f.js → schema-bfrse3g1.js} +4 -4
  127. package/dist/chunks/{tool-bajakh74.js → schema-bha4atvq.js} +4 -4
  128. package/dist/chunks/{tool-5k338v2a.js → schema-bsapkm75.js} +20 -20
  129. package/dist/chunks/{tool-2gkxg42g.js → schema-bsj4xcax.js} +1 -1
  130. package/dist/chunks/{tool-gan2aag1.js → schema-bw16peeb.js} +2 -2
  131. package/dist/chunks/{tool-f3yjyja6.js → schema-bw6s79d1.js} +13 -13
  132. package/dist/chunks/{tool-2mq1h16s.js → schema-c4vcfcbt.js} +9 -9
  133. package/dist/chunks/{tool-djh8651g.js → schema-cah9zs3a.js} +33 -33
  134. package/dist/chunks/{tool-cfpkc3c9.js → schema-cfpkc3c9.js} +2 -2
  135. package/dist/chunks/{tool-h6r3nrb9.js → schema-cpj0znwe.js} +4 -4
  136. package/dist/chunks/{tool-vas055je.js → schema-csfvctar.js} +6 -6
  137. package/dist/chunks/{tool-9q34vwzw.js → schema-d1f6kvyp.js} +22 -22
  138. package/dist/chunks/{tool-ead3g9p8.js → schema-d2aac7k2.js} +5 -5
  139. package/dist/chunks/{tool-jscm6k4t.js → schema-d5hzk96g.js} +13 -13
  140. package/dist/chunks/{tool-r1dtnce0.js → schema-dbth1pe4.js} +20 -20
  141. package/dist/chunks/{tool-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
  142. package/dist/chunks/{tool-e0b694rp.js → schema-drh46rkg.js} +16 -16
  143. package/dist/chunks/{tool-ptg6kxy0.js → schema-dtektt3s.js} +16 -16
  144. package/dist/chunks/{tool-qkttm6v0.js → schema-dxk1mka7.js} +11 -11
  145. package/dist/chunks/{tool-e5nv3ght.js → schema-e5nv3ght.js} +2 -2
  146. package/dist/chunks/{tool-t550f9t1.js → schema-eaj1djv9.js} +8 -8
  147. package/dist/chunks/{tool-y10wk092.js → schema-edme2h3e.js} +4 -4
  148. package/dist/chunks/{tool-2wvxgkaf.js → schema-ees6gnzr.js} +30 -30
  149. package/dist/chunks/{tool-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
  150. package/dist/chunks/{tool-7eyb1ky7.js → schema-enw4dg89.js} +20 -20
  151. package/dist/chunks/{tool-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
  152. package/dist/chunks/{tool-tvmnx93k.js → schema-evj9nbqj.js} +61 -61
  153. package/dist/chunks/{tool-tqsepttq.js → schema-eyewd753.js} +11 -11
  154. package/dist/chunks/{tool-3g77v28p.js → schema-f47r0gvn.js} +1 -1
  155. package/dist/chunks/{tool-f828m53h.js → schema-f828m53h.js} +2 -2
  156. package/dist/chunks/{tool-va79mfn6.js → schema-f9qb0rq9.js} +17 -17
  157. package/dist/chunks/{tool-4an599d2.js → schema-fg6npkra.js} +8 -8
  158. package/dist/chunks/{tool-6sg447na.js → schema-fm4tr4vt.js} +12 -12
  159. package/dist/chunks/{tool-5qdj1v4m.js → schema-fpgbvm08.js} +10 -10
  160. package/dist/chunks/{tool-sr5hsr7h.js → schema-fqqd2rhr.js} +24 -24
  161. package/dist/chunks/{tool-7q67xa21.js → schema-fv8y7rfs.js} +16 -16
  162. package/dist/chunks/{tool-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
  163. package/dist/chunks/{tool-tprb9ykm.js → schema-g8atgw3j.js} +6 -6
  164. package/dist/chunks/{tool-cseyvs3z.js → schema-gcg6tnxg.js} +25 -25
  165. package/dist/chunks/{tool-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
  166. package/dist/chunks/{tool-6d1tapbz.js → schema-gdydzv9c.js} +15 -15
  167. package/dist/chunks/{tool-hs2aqah5.js → schema-gf9rz7kd.js} +5 -5
  168. package/dist/chunks/{tool-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
  169. package/dist/chunks/{tool-t97w6b9c.js → schema-gxk1v8cw.js} +10 -10
  170. package/dist/chunks/{tool-h03wrkyp.js → schema-h03wrkyp.js} +2 -2
  171. package/dist/chunks/{tool-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
  172. package/dist/chunks/{tool-n9a9ascx.js → schema-h9hmy6pb.js} +21 -21
  173. package/dist/chunks/{tool-ebx0djr7.js → schema-harzbh1y.js} +3 -3
  174. package/dist/chunks/{tool-c0g4q567.js → schema-hfzk1xk6.js} +20 -20
  175. package/dist/chunks/{tool-jqvwbgns.js → schema-hp4gs99z.js} +11 -11
  176. package/dist/chunks/{tool-3f6m7h4m.js → schema-hv28523d.js} +9 -9
  177. package/dist/chunks/{tool-7tw3btct.js → schema-hyz0k45s.js} +4 -4
  178. package/dist/chunks/{tool-j56e64zr.js → schema-j56e64zr.js} +1 -1
  179. package/dist/chunks/{tool-16jeg0qk.js → schema-jfh1z2ka.js} +296 -296
  180. package/dist/chunks/{tool-fspd6qjs.js → schema-jwpe3kef.js} +24 -24
  181. package/dist/chunks/{tool-8e117wbv.js → schema-k31b4sbf.js} +3 -3
  182. package/dist/chunks/{tool-964t6598.js → schema-k410p7cy.js} +11 -11
  183. package/dist/chunks/{tool-y0rh7a7t.js → schema-k6gc8fqq.js} +25 -25
  184. package/dist/chunks/{tool-ze59vjzs.js → schema-k9grw06x.js} +26 -26
  185. package/dist/chunks/{tool-6j9t704q.js → schema-kc2pf2wb.js} +15 -15
  186. package/dist/chunks/{tool-8kacz6a1.js → schema-kd95dayw.js} +22 -22
  187. package/dist/chunks/{tool-nafczmzp.js → schema-kjd1s91a.js} +22 -22
  188. package/dist/chunks/{tool-prres578.js → schema-kzvjm54t.js} +13 -13
  189. package/dist/chunks/{tool-tqq7t134.js → schema-m6968m5h.js} +11 -11
  190. package/dist/chunks/{tool-rm9n4pe2.js → schema-m78x72r0.js} +26 -26
  191. package/dist/chunks/{tool-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{tool-253bq4qw.js → schema-mbdq616m.js} +3 -3
  193. package/dist/chunks/schema-mcf5jnse.js +251 -0
  194. package/dist/chunks/{tool-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
  195. package/dist/chunks/{tool-mvfsc1pv.js → schema-mhkvc446.js} +3 -3
  196. package/dist/chunks/{tool-rfbvv5xc.js → schema-mwvhjw6h.js} +4 -4
  197. package/dist/chunks/{tool-2h74skrz.js → schema-n2d5y50v.js} +18 -18
  198. package/dist/chunks/{tool-17j9h1rv.js → schema-nbzsj80d.js} +11 -11
  199. package/dist/chunks/{tool-ctn2km86.js → schema-ngdt5g2x.js} +4 -4
  200. package/dist/chunks/{tool-may1xj9k.js → schema-nmgr8g8c.js} +168 -168
  201. package/dist/chunks/{tool-rcptzcjb.js → schema-p421fag0.js} +24 -24
  202. package/dist/chunks/{tool-h0cab0jj.js → schema-p7c14d8d.js} +6 -6
  203. package/dist/chunks/{tool-ayrzd4q0.js → schema-pd220wzj.js} +17 -17
  204. package/dist/chunks/{tool-2d57kztd.js → schema-pf2hb43r.js} +4 -4
  205. package/dist/chunks/{tool-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{tool-pknna89w.js → schema-pknna89w.js} +1 -1
  207. package/dist/chunks/{tool-40tbggcp.js → schema-pm4v7ydf.js} +29 -29
  208. package/dist/chunks/{tool-bbaxns64.js → schema-pvzz4sxc.js} +8 -8
  209. package/dist/chunks/{tool-d383cjmk.js → schema-q6d53jre.js} +5 -5
  210. package/dist/chunks/{tool-7v2wf9c4.js → schema-q8nh9zc3.js} +27 -27
  211. package/dist/chunks/{tool-awzpd58r.js → schema-qcvrnmmq.js} +9 -9
  212. package/dist/chunks/{tool-w9rsy75j.js → schema-qd1x2qgj.js} +23 -23
  213. package/dist/chunks/{tool-fcrkznn8.js → schema-qgn6gcr1.js} +5 -5
  214. package/dist/chunks/{tool-f1xrsf6k.js → schema-qh9emc0v.js} +15 -15
  215. package/dist/chunks/{tool-wjjsbp8j.js → schema-qhz8q2jf.js} +19 -19
  216. package/dist/chunks/{tool-kj8x889q.js → schema-qrqn1tr2.js} +2 -2
  217. package/dist/chunks/{tool-qsdy395h.js → schema-qsdy395h.js} +1 -1
  218. package/dist/chunks/{tool-xkc29y86.js → schema-r3y59r7w.js} +36 -36
  219. package/dist/chunks/{tool-xsghnh50.js → schema-r4n9yfm1.js} +9 -9
  220. package/dist/chunks/{tool-knc2ad2x.js → schema-r5014e5h.js} +79 -79
  221. package/dist/chunks/{tool-e4yvw0pn.js → schema-r5pbn9nf.js} +33 -33
  222. package/dist/chunks/{tool-r9mregkx.js → schema-r9mregkx.js} +2 -2
  223. package/dist/chunks/{tool-4kbjb3sr.js → schema-rdbkvccz.js} +11 -11
  224. package/dist/chunks/{tool-q4wkz71m.js → schema-rdmtb0vk.js} +17 -17
  225. package/dist/chunks/{tool-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
  226. package/dist/chunks/{tool-bwfqemah.js → schema-repgqd6d.js} +11 -11
  227. package/dist/chunks/{tool-n83tpar3.js → schema-rky73ewa.js} +30 -30
  228. package/dist/chunks/{tool-q7wajf8z.js → schema-rmdyxgmk.js} +8 -8
  229. package/dist/chunks/{tool-erw0n60b.js → schema-rw34nk5q.js} +8 -8
  230. package/dist/chunks/{tool-y3acf7kc.js → schema-rwq5zk2b.js} +22 -22
  231. package/dist/chunks/{tool-gbex3acd.js → schema-s8gwc44q.js} +31 -31
  232. package/dist/chunks/{tool-nr5q34ns.js → schema-sa5zx4n8.js} +13 -13
  233. package/dist/chunks/{tool-cddy6wgw.js → schema-sm7k5sd0.js} +8 -8
  234. package/dist/chunks/{tool-jj2x8ya3.js → schema-sn2xabbp.js} +26 -26
  235. package/dist/chunks/{tool-1gfn0ycf.js → schema-sn48k21j.js} +29 -29
  236. package/dist/chunks/{tool-mksr8qt3.js → schema-t1fh5c1n.js} +6 -6
  237. package/dist/chunks/{tool-qh3h8fjc.js → schema-t71md4gs.js} +24 -24
  238. package/dist/chunks/{tool-1a6p2twq.js → schema-t9zs3egg.js} +4 -4
  239. package/dist/chunks/{tool-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{tool-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
  241. package/dist/chunks/{tool-tdstcens.js → schema-tdstcens.js} +1 -1
  242. package/dist/chunks/{tool-mwp9jd7s.js → schema-tmadm20y.js} +8 -8
  243. package/dist/chunks/{tool-3w0fmcng.js → schema-tn0aqsam.js} +5 -5
  244. package/dist/chunks/{tool-66yyaz7c.js → schema-tnyhqet0.js} +43 -43
  245. package/dist/chunks/{tool-tvtrv512.js → schema-tvtrv512.js} +1 -1
  246. package/dist/chunks/{tool-nb4aeq3b.js → schema-tyh31ery.js} +7 -7
  247. package/dist/chunks/{tool-c5f1xghs.js → schema-v2c8bhec.js} +33 -33
  248. package/dist/chunks/{tool-mtxfs5k5.js → schema-v78m1hhx.js} +11 -11
  249. package/dist/chunks/{tool-veqvce7d.js → schema-veqvce7d.js} +1 -1
  250. package/dist/chunks/{tool-tqkrwgse.js → schema-vmgq4x8b.js} +2 -2
  251. package/dist/chunks/{tool-tbht75y9.js → schema-vmwh049b.js} +9 -9
  252. package/dist/chunks/{tool-hddv9rh5.js → schema-vvxf2beg.js} +6 -6
  253. package/dist/chunks/{tool-4gnyebnw.js → schema-vwbppz9h.js} +7 -7
  254. package/dist/chunks/{tool-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{tool-1d4jdnc8.js → schema-vzeyx8aa.js} +6 -6
  256. package/dist/chunks/{tool-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
  257. package/dist/chunks/{tool-yyqa94g7.js → schema-wam2jwg7.js} +40 -40
  258. package/dist/chunks/{tool-hnr5yq9h.js → schema-wbkyxrgf.js} +5 -5
  259. package/dist/chunks/{tool-wd87259q.js → schema-wd87259q.js} +1 -1
  260. package/dist/chunks/{tool-1bkx5pwe.js → schema-wex0gst8.js} +4 -4
  261. package/dist/chunks/{tool-2vg6efqn.js → schema-wftdh6vh.js} +3 -3
  262. package/dist/chunks/{tool-nffnkmsf.js → schema-wvz6pyvx.js} +21 -21
  263. package/dist/chunks/{tool-xerjptys.js → schema-wwa63ntv.js} +5 -5
  264. package/dist/chunks/{tool-jpsh07gn.js → schema-x0xrs2fc.js} +4 -4
  265. package/dist/chunks/{tool-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
  266. package/dist/chunks/{tool-kcxpnbwn.js → schema-x2sv7yx2.js} +20 -20
  267. package/dist/chunks/{tool-emgx2tje.js → schema-x4j0j53r.js} +5 -5
  268. package/dist/chunks/{tool-pmwf0w9a.js → schema-x98p0sne.js} +32 -32
  269. package/dist/chunks/{tool-nw3p9810.js → schema-xd8232zg.js} +4 -4
  270. package/dist/chunks/{tool-jxrvs0y0.js → schema-xdhjt98p.js} +15 -15
  271. package/dist/chunks/{tool-9kvb8f9y.js → schema-xdqhawme.js} +12 -12
  272. package/dist/chunks/{tool-jjs74g98.js → schema-xekzrwwc.js} +9 -9
  273. package/dist/chunks/{tool-f9a3pmyr.js → schema-xk2q8v0k.js} +13 -13
  274. package/dist/chunks/{tool-884gyjym.js → schema-xw129k3s.js} +4 -4
  275. package/dist/chunks/{tool-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
  276. package/dist/chunks/{tool-98f484r8.js → schema-yd6z8b7r.js} +16 -16
  277. package/dist/chunks/{tool-jndxpbzp.js → schema-yhz16bh8.js} +33 -33
  278. package/dist/chunks/{tool-yp2x3t23.js → schema-yp2x3t23.js} +1 -1
  279. package/dist/chunks/{tool-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
  280. package/dist/chunks/{tool-s4enseaf.js → schema-yrznvahk.js} +2 -2
  281. package/dist/chunks/{tool-b4655sfp.js → schema-yxpgexz8.js} +45 -45
  282. package/dist/chunks/{tool-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{tool-29x78va6.js → schema-z63w68vq.js} +6 -6
  284. package/dist/chunks/schema-z926abd4.js +4 -0
  285. package/dist/chunks/{tool-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{tool-ec8389mk.js → schema-zj09a0ew.js} +4 -4
  287. package/dist/chunks/{tool-6yy9wark.js → schema-zj9nynzz.js} +11 -11
  288. package/dist/chunks/{tool-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
  289. package/dist/chunks/{tool-p7cb5w0v.js → schema-zt03gkt5.js} +4 -4
  290. package/dist/chunks/{tool-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +9 -9
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +84 -84
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +120 -120
  305. package/dist/config/plugin/instruction.js +87 -87
  306. package/dist/config/plugin/location-watcher.js +120 -120
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +121 -121
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +125 -125
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +125 -125
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -365
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +223 -223
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +13 -13
  428. package/dist/filesystem.js +99 -99
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +103 -103
  433. package/dist/git.js +6 -6
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +90 -90
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +356 -356
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +132 -132
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +80 -80
  471. package/dist/mcp/client.js +90 -90
  472. package/dist/mcp/index.js +105 -105
  473. package/dist/mcp/instructions.js +124 -124
  474. package/dist/mcp/oauth.js +77 -77
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +90 -90
  478. package/dist/model-resolver.js +98 -98
  479. package/dist/model.js +99 -99
  480. package/dist/models-dev.js +105 -105
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +116 -116
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +85 -85
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +216 -216
  494. package/dist/plugin/instance.js +3 -3
  495. package/dist/plugin/internal.js +327 -327
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +94 -94
  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/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +89 -89
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +92 -92
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +92 -92
  515. package/dist/plugin/provider/gitlab.js +90 -90
  516. package/dist/plugin/provider/google-vertex.js +89 -89
  517. package/dist/plugin/provider/kilo.js +89 -89
  518. package/dist/plugin/provider/llmgateway.js +89 -89
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +91 -91
  521. package/dist/plugin/provider/nvidia.js +89 -89
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +91 -91
  525. package/dist/plugin/provider/opencode.js +92 -92
  526. package/dist/plugin/provider/openrouter.js +90 -90
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +90 -90
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +89 -89
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +90 -90
  536. package/dist/plugin/provider/zenmux.js +89 -89
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +140 -140
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +346 -346
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +91 -91
  545. package/dist/plugin/vcs/git.js +85 -85
  546. package/dist/plugin/vcs/hg.js +85 -85
  547. package/dist/plugin/warming.js +120 -120
  548. package/dist/plugin/websearch/exa.js +5 -5
  549. package/dist/plugin/websearch/firecrawl.js +6 -6
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +4 -4
  552. package/dist/plugin/websearch/parallel.js +6 -6
  553. package/dist/plugin/websearch/tavily.js +6 -6
  554. package/dist/plugin/websearch/tinyfish.js +8 -8
  555. package/dist/plugin.js +227 -227
  556. package/dist/project/schema.js +2 -2
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +79 -79
  559. package/dist/provider.js +100 -100
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +97 -97
  564. package/dist/reference/instructions.js +84 -84
  565. package/dist/reference.js +86 -86
  566. package/dist/repository-cache.js +80 -80
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +94 -94
  570. package/dist/rpc.js +85 -85
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +131 -131
  574. package/dist/session/context.js +151 -151
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +7 -7
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +220 -220
  580. package/dist/session/execution.js +128 -128
  581. package/dist/session/generate.js +152 -152
  582. package/dist/session/history.js +15 -15
  583. package/dist/session/inbox.js +85 -85
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +2 -2
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +113 -113
  591. package/dist/session/model-transport.js +5 -5
  592. package/dist/session/move.js +130 -130
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +104 -104
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -89
  597. package/dist/session/run-coordinator.js +1 -1
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +228 -228
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +98 -98
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +114 -114
  604. package/dist/session/runner/step.js +125 -125
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +172 -172
  608. package/dist/session/shell.js +137 -137
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +72 -72
  612. package/dist/session/store.js +84 -84
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +207 -207
  615. package/dist/session/system-prompt.js +3 -3
  616. package/dist/session/title.js +155 -155
  617. package/dist/session/to-session-error.js +111 -111
  618. package/dist/session/transfer.js +213 -213
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +215 -215
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +13 -13
  625. package/dist/shell.js +139 -139
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +106 -106
  628. package/dist/skill.js +107 -107
  629. package/dist/snapshot.js +90 -90
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +125 -125
  634. package/dist/tool/plugin/edit.js +119 -119
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +123 -123
  637. package/dist/tool/plugin/grep.js +123 -123
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +119 -119
  640. package/dist/tool/plugin/question.js +102 -102
  641. package/dist/tool/plugin/read.js +122 -122
  642. package/dist/tool/plugin/shell.js +210 -210
  643. package/dist/tool/plugin/skill.js +112 -112
  644. package/dist/tool/plugin/subagent.js +216 -216
  645. package/dist/tool/plugin/webfetch.js +109 -109
  646. package/dist/tool/plugin/websearch.js +111 -111
  647. package/dist/tool/plugin/write.js +121 -121
  648. package/dist/tool/read-filesystem.js +99 -99
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +13 -13
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +7 -7
  662. package/dist/v1/config/attachment.js +4 -4
  663. package/dist/v1/config/command.js +5 -5
  664. package/dist/v1/config/config.js +16 -16
  665. package/dist/v1/config/error.js +4 -4
  666. package/dist/v1/config/formatter.js +3 -3
  667. package/dist/v1/config/layout.js +1 -1
  668. package/dist/v1/config/lsp.js +3 -3
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +91 -91
  671. package/dist/v1/config/permission.js +7 -7
  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/v1/config/server.js +2 -2
  676. package/dist/v1/config/skills.js +3 -3
  677. package/dist/v1/permission.js +1 -1
  678. package/dist/vcs/patch.js +1 -1
  679. package/dist/vcs.js +88 -88
  680. package/dist/websearch.js +81 -81
  681. package/dist/wellknown/plugin.js +73 -73
  682. package/dist/wellknown.js +80 -80
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +75 -75
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/refresh.js +345 -345
  689. package/dist/worktree/sql.js +5 -5
  690. package/dist/worktree.js +95 -95
  691. package/package.json +8 -8
  692. package/dist/chunks/tool-0mesazry.js +0 -4
  693. package/dist/chunks/tool-9sh4wc5j.js +0 -18
  694. package/dist/chunks/tool-dadjnxcz.js +0 -26
  695. package/dist/chunks/tool-yqybgd19.js +0 -251
  696. /package/dist/chunks/{tool-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{tool-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{tool-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{tool-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{tool-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{tool-2710q6r3.js → schema-2710q6r3.js} +0 -0
  702. /package/dist/chunks/{tool-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
  703. /package/dist/chunks/{tool-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{tool-359p4xyc.js → schema-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{tool-3asan66x.js → schema-3asan66x.js} +0 -0
  706. /package/dist/chunks/{tool-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
  707. /package/dist/chunks/{tool-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
  708. /package/dist/chunks/{tool-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{tool-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{tool-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{tool-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{tool-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{tool-53557ph1.js → schema-53557ph1.js} +0 -0
  714. /package/dist/chunks/{tool-550bvhaj.js → schema-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{tool-6prwharc.js → schema-6prwharc.js} +0 -0
  716. /package/dist/chunks/{tool-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{tool-7m9af43g.js → schema-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{tool-822emrt2.js → schema-822emrt2.js} +0 -0
  719. /package/dist/chunks/{tool-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{tool-8n3pysct.js → schema-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{tool-922hggd3.js → schema-922hggd3.js} +0 -0
  722. /package/dist/chunks/{tool-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{tool-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{tool-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{tool-af5trqkr.js → schema-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{tool-afrmfg78.js → schema-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{tool-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{tool-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{tool-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{tool-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{tool-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{tool-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{tool-d9fn303g.js → schema-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{tool-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{tool-dajrwvna.js → schema-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{tool-dap0rakb.js → schema-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{tool-df08tz66.js → schema-df08tz66.js} +0 -0
  738. /package/dist/chunks/{tool-dy18nga0.js → schema-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{tool-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{tool-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{tool-ec1grn59.js → schema-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{tool-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{tool-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{tool-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{tool-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{tool-faypxj3z.js → schema-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{tool-fd410y7t.js → schema-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{tool-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{tool-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{tool-g86h250q.js → schema-g86h250q.js} +0 -0
  751. /package/dist/chunks/{tool-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{tool-gftt206x.js → schema-gftt206x.js} +0 -0
  753. /package/dist/chunks/{tool-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{tool-hk9envan.js → schema-hk9envan.js} +0 -0
  755. /package/dist/chunks/{tool-hrnqkpcd.js → schema-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{tool-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{tool-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{tool-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{tool-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{tool-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{tool-mp448xyj.js → schema-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{tool-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{tool-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{tool-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{tool-njntx4h6.js → schema-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{tool-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{tool-q74kybfr.js → schema-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{tool-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{tool-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{tool-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{tool-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{tool-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{tool-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{tool-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{tool-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{tool-twg0f83k.js → schema-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{tool-w803qqfp.js → schema-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{tool-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{tool-wtztk69x.js → schema-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{tool-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{tool-x61499pn.js → schema-x61499pn.js} +0 -0
  782. /package/dist/chunks/{tool-y44na4kk.js → schema-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{tool-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{tool-y8f7s663.js → schema-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{tool-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{tool-ym463w8f.js → schema-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{tool-z9919s4g.js → schema-z9919s4g.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./tool-1bkx5pwe.js";
4
+ } from "./schema-wex0gst8.js";
5
5
  import {
6
- Service27,
7
- node32
8
- } from "./tool-c31h4aj0.js";
6
+ Service34,
7
+ node38
8
+ } from "./schema-84rdt8rr.js";
9
9
  import {
10
- Service46,
11
- node49
12
- } from "./tool-vmyza7nt.js";
10
+ Service72,
11
+ node77
12
+ } from "./schema-8nkhzrtw.js";
13
13
  import {
14
- Service65,
15
- node70
16
- } from "./tool-qh3h8fjc.js";
14
+ Service53,
15
+ node57
16
+ } from "./schema-t71md4gs.js";
17
17
  import {
18
18
  __export
19
- } from "./tool-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service26,
26
- layer: () => layer11,
27
- name: () => name13,
25
+ Service: () => Service33,
26
+ layer: () => layer15,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node31
29
+ node: () => node37
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service26 extends Context.Service()("@opencode/McpTool") {
38
+ class Service33 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service26, Effect.gen(function* () {
41
- const mcp = yield* Service27;
42
- const tools = yield* Service65;
40
+ var layer15 = Layer.effect(Service33, Effect.gen(function* () {
41
+ const mcp = yield* Service34;
42
+ const tools = yield* Service53;
43
43
  const bus = yield* Service80;
44
- const permission = yield* Service46;
44
+ const permission = yield* Service72;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -56,7 +56,7 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
56
56
  output: tool.outputSchema ?? {},
57
57
  execute: (input, context) => Effect.gen(function* () {
58
58
  yield* permission.assert({
59
- action: name13(tool.server, tool.name),
59
+ action: name14(tool.server, tool.name),
60
60
  resources: ["*"],
61
61
  save: ["*"],
62
62
  metadata: {},
@@ -105,7 +105,7 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
105
105
  output: output(),
106
106
  ...content.length === 0 ? {} : { content }
107
107
  };
108
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
108
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
109
109
  });
110
110
  }
111
111
  });
@@ -118,12 +118,12 @@ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
118
118
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
119
119
  const updates = yield* PubSub.subscribe(changes);
120
120
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
121
- return Service26.of({ flush: Effect.asVoid(Fiber.await(initial)) });
121
+ return Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
122
122
  }));
123
- var node31 = makeLocationNode({
124
- service: Service26,
125
- layer: layer11,
126
- deps: [node70, node32, node85, node49]
123
+ var node37 = makeLocationNode({
124
+ service: Service33,
125
+ layer: layer15,
126
+ deps: [node57, node38, node85, node77]
127
127
  });
128
128
 
129
- export { namespace2, name13, Service26, layer11, node31, exports_mcp3 };
129
+ export { namespace2, name14, Service33, layer15, node37, exports_mcp3 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service61
3
- } from "./tool-fgb2mcbr.js";
2
+ Service55
3
+ } from "./schema-0zx3erd1.js";
4
4
  import {
5
- Service60
6
- } from "./tool-vqdbe12f.js";
5
+ Service54
6
+ } from "./schema-0xwfnwv8.js";
7
7
  import {
8
8
  parse2
9
- } from "./tool-7tw3btct.js";
9
+ } from "./schema-hyz0k45s.js";
10
10
  import {
11
11
  __export
12
- } from "./tool-9rqn6x4v.js";
12
+ } from "./schema-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin8
18
+ Plugin: () => Plugin16
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin8 = define({
24
+ var Plugin16 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service60;
27
+ const config = yield* Service54;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service61;
29
+ const watcher = yield* Service55;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin8 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin8, exports_compatibility };
76
+ export { Plugin16, exports_compatibility };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./tool-qaymkmh1.js";
3
+ } from "./schema-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./tool-9rqn6x4v.js";
3
+ } from "./schema-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service67,
10
- node: () => node72
9
+ Service: () => Service76,
10
+ node: () => node81
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service67 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service76 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service67, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service67.of({ has, register, trigger });
57
+ return Service76.of({ has, register, trigger });
58
58
  }));
59
- var node72 = makeLocationNode({ service: Service67, layer, deps: [] });
59
+ var node81 = makeLocationNode({ service: Service76, layer, deps: [] });
60
60
 
61
- export { Service67, node72, exports_hooks };
61
+ export { Service76, node81, exports_hooks };
@@ -1,70 +1,70 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./tool-1bkx5pwe.js";
4
+ } from "./schema-wex0gst8.js";
5
5
  import {
6
6
  Service77,
7
7
  node82
8
- } from "./tool-kj8x889q.js";
8
+ } from "./schema-qrqn1tr2.js";
9
9
  import {
10
- ID8,
11
- Service49,
12
- node52
13
- } from "./tool-efxhpxf5.js";
10
+ ID15,
11
+ Service75,
12
+ node80
13
+ } from "./schema-a3aw0xhm.js";
14
14
  import {
15
- NotFoundError6
16
- } from "./tool-tbht75y9.js";
15
+ NotFoundError10
16
+ } from "./schema-vmwh049b.js";
17
17
  import {
18
- Service48,
19
- node51
20
- } from "./tool-4vkh6st7.js";
18
+ Service74,
19
+ node79
20
+ } from "./schema-0n6yb30j.js";
21
21
  import {
22
22
  match2
23
- } from "./tool-y1fvbwt7.js";
23
+ } from "./schema-y1fvbwt7.js";
24
24
  import {
25
- Service47,
26
- node50
27
- } from "./tool-rkdpvaam.js";
25
+ Service73,
26
+ node78
27
+ } from "./schema-2865vqft.js";
28
28
  import {
29
- Service67,
30
- node72
31
- } from "./tool-6qkc0t3x.js";
29
+ Service76,
30
+ node81
31
+ } from "./schema-8mwk31bk.js";
32
32
  import {
33
33
  __export
34
- } from "./tool-9rqn6x4v.js";
34
+ } from "./schema-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event10,
46
- ID: () => ID6,
47
- NotFoundError: () => NotFoundError5,
48
- Permission: () => exports_permission,
49
- Reply: () => Reply2,
45
+ Event: () => Event19,
46
+ ID: () => ID13,
47
+ NotFoundError: () => NotFoundError9,
48
+ Permission: () => exports_permission2,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
52
- Rule: () => Rule2,
51
+ Request: () => Request3,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service46,
54
+ Service: () => Service72,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node49
58
+ node: () => node77
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event10 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event19 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID6 = Permission.ID;
67
+ var ID13 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
77
+ var Request3 = Permission.Request;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID6.pipe(Schema.optional),
80
+ id: ID13.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID8.pipe(Schema.optional)
82
+ agent: ID15.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID6,
86
- reply: Reply2,
85
+ requestID: ID13,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID6,
90
+ id: ID13,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError5 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID6
113
+ class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID13
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service46 extends Context.Service()("@opencode/Permission") {
128
+ class Service72 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service46, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service72, Effect.gen(function* () {
131
131
  const bus = yield* Service80;
132
132
  const location = yield* Service77;
133
- const agents = yield* Service49;
134
- const sessions = yield* Service48;
135
- const saved = yield* Service47;
136
- const hooks = yield* Service67;
133
+ const agents = yield* Service75;
134
+ const sessions = yield* Service74;
135
+ const saved = yield* Service73;
136
+ const hooks = yield* Service76;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
150
150
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
151
151
  const session = yield* sessions.get(sessionID);
152
152
  if (!session)
153
- return yield* new NotFoundError6({ sessionID });
153
+ return yield* new NotFoundError10({ sessionID });
154
154
  const agent = yield* agents.resolve(agentID ?? session.agent);
155
155
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
156
156
  });
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID6.create(),
183
+ id: input.id ?? ID13.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
228
228
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
229
229
  const existing = pending.get(input.requestID);
230
230
  if (!existing)
231
- return yield* new NotFoundError5({ requestID: input.requestID });
231
+ return yield* new NotFoundError9({ requestID: input.requestID });
232
232
  yield* bus.publish(Permission.Event.Replied, {
233
233
  sessionID: existing.request.sessionID,
234
234
  requestID: existing.request.id,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service46.of({ ask, assert, reply, get, forSession, list });
286
+ return Service72.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node49 = makeLocationNode({
289
- service: Service46,
288
+ var node77 = makeLocationNode({
289
+ service: Service72,
290
290
  layer,
291
- deps: [node85, node82, node52, node51, node50, node72]
291
+ deps: [node85, node82, node80, node79, node78, node81]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID6, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError5, evaluate2, merge2, Service46, node49, exports_permission, Rule2, Ruleset2, Event10 };
294
+ export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service72, node77, exports_permission2, Rule3, Ruleset2, Event19 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  absoluteColumn2,
3
3
  absoluteArrayColumn2
4
- } from "./tool-6msgmcgs.js";
4
+ } from "./schema-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./tool-qfa1cgps.js";
7
+ } from "./schema-qfa1cgps.js";
8
8
 
9
9
  // src/project/sql.ts
10
10
  import { isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -1,22 +1,22 @@
1
1
  import {
2
- Service61
3
- } from "./tool-fgb2mcbr.js";
2
+ Service55
3
+ } from "./schema-0zx3erd1.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./tool-t550f9t1.js";
6
+ } from "./schema-eaj1djv9.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./tool-922hggd3.js";
9
+ } from "./schema-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service37
13
- } from "./tool-jj2x8ya3.js";
12
+ Service57
13
+ } from "./schema-sn2xabbp.js";
14
14
  import {
15
15
  Service77
16
- } from "./tool-kj8x889q.js";
16
+ } from "./schema-qrqn1tr2.js";
17
17
  import {
18
18
  __export
19
- } from "./tool-9rqn6x4v.js";
19
+ } from "./schema-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
@@ -32,14 +32,14 @@ import { Effect, PubSub, Semaphore, Stream } from "effect";
32
32
  var Plugin12 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service37;
35
+ const discovery = yield* Service57;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
41
  const location = yield* Service77;
42
- const watcher = yield* Service61;
42
+ const watcher = yield* Service55;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service77,
3
3
  node82
4
- } from "./tool-kj8x889q.js";
4
+ } from "./schema-qrqn1tr2.js";
5
5
  import {
6
- Service32
7
- } from "./tool-9sh4wc5j.js";
6
+ Service30
7
+ } from "./schema-9zdhvgqs.js";
8
8
  import {
9
- Service38,
10
- node42
11
- } from "./tool-n83tpar3.js";
9
+ Service18,
10
+ node22
11
+ } from "./schema-rky73ewa.js";
12
12
  import {
13
- node23
14
- } from "./tool-pngq9dd9.js";
13
+ node21
14
+ } from "./schema-2e8sz0s6.js";
15
15
  import {
16
- node4
17
- } from "./tool-yyqa94g7.js";
16
+ node6
17
+ } from "./schema-wam2jwg7.js";
18
18
  import {
19
19
  __export
20
- } from "./tool-9rqn6x4v.js";
20
+ } from "./schema-9rqn6x4v.js";
21
21
 
22
22
  // src/worktree/refresh.ts
23
23
  var exports_refresh = {};
24
24
  __export(exports_refresh, {
25
25
  WorktreeRefresh: () => exports_refresh,
26
- node: () => node3
26
+ node: () => node5
27
27
  });
28
28
  import { Effect, Layer } from "effect";
29
29
  import { makeLocationNode } from "@opencode/util/effect/app-node";
30
30
  var layer = Layer.effectDiscard(Effect.gen(function* () {
31
31
  const location = yield* Service77;
32
- const plugins = yield* Service32;
33
- const worktrees = yield* Service38;
32
+ const plugins = yield* Service30;
33
+ const worktrees = yield* Service18;
34
34
  if (location.workspaceID)
35
35
  return;
36
36
  yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
37
37
  }));
38
- var node3 = makeLocationNode({
38
+ var node5 = makeLocationNode({
39
39
  name: "worktree-refresh",
40
40
  layer,
41
- deps: [node42, node82, node23, node4]
41
+ deps: [node22, node82, node21, node6]
42
42
  });
43
43
 
44
- export { node3, exports_refresh };
44
+ export { node5, exports_refresh };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service61
3
- } from "./tool-fgb2mcbr.js";
2
+ Service55
3
+ } from "./schema-0zx3erd1.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./tool-922hggd3.js";
6
+ } from "./schema-922hggd3.js";
7
7
  import {
8
8
  Service77
9
- } from "./tool-kj8x889q.js";
9
+ } from "./schema-qrqn1tr2.js";
10
10
  import {
11
- Service60
12
- } from "./tool-vqdbe12f.js";
11
+ Service54
12
+ } from "./schema-0xwfnwv8.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
16
  Source4
17
- } from "./tool-8dp74fdk.js";
17
+ } from "./schema-3xmwv3w1.js";
18
18
  import {
19
- Service6
20
- } from "./tool-jjs74g98.js";
19
+ Service7
20
+ } from "./schema-xekzrwwc.js";
21
21
  import {
22
22
  parse2
23
- } from "./tool-7tw3btct.js";
23
+ } from "./schema-hyz0k45s.js";
24
24
  import {
25
25
  __export
26
- } from "./tool-9rqn6x4v.js";
26
+ } from "./schema-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
29
  var exports_skill = {};
30
30
  __export(exports_skill, {
31
31
  ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin6
32
+ Plugin: () => Plugin11
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin6 = define({
39
+ var Plugin11 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service60;
43
- const discovery = yield* Service6;
42
+ const config = yield* Service54;
43
+ const discovery = yield* Service7;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
46
  const location = yield* Service77;
47
- const watcher = yield* Service61;
47
+ const watcher = yield* Service55;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -176,4 +176,4 @@ var Plugin6 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin6, exports_skill };
179
+ export { Plugin11, exports_skill };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service72
4
- } from "./tool-40tbggcp.js";
3
+ Service58
4
+ } from "./schema-pm4v7ydf.js";
5
5
  import {
6
- Service60
7
- } from "./tool-vqdbe12f.js";
6
+ Service54
7
+ } from "./schema-0xwfnwv8.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service72;
12
+ const providers = yield* Service58;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service60);
14
+ const service = yield* Effect.serviceOption(Service54);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service58
3
- } from "./tool-va79mfn6.js";
2
+ Service62
3
+ } from "./schema-f9qb0rq9.js";
4
4
  import {
5
5
  __export
6
- } from "./tool-9rqn6x4v.js";
6
+ } from "./schema-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service58;
22
+ const environment = yield* Service62;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;