@opencode/core 0.0.0-dev-21267 → 0.0.0-dev-21269

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{generate-x5jhdhzv.js → voice-07hyrh53.js} +9 -9
  8. package/dist/chunks/{generate-h19hvyjb.js → voice-0d60ahdf.js} +11 -11
  9. package/dist/chunks/{generate-h71w788e.js → voice-0jq9fyba.js} +9 -9
  10. package/dist/chunks/{generate-0jwsre1p.js → voice-0jwsre1p.js} +1 -1
  11. package/dist/chunks/{generate-5kn7dr7a.js → voice-0n7hx3s8.js} +31 -31
  12. package/dist/chunks/{generate-9k5e52qd.js → voice-0pdk8z67.js} +5 -5
  13. package/dist/chunks/{generate-990wje9c.js → voice-0stcbem0.js} +34 -34
  14. package/dist/chunks/{generate-n60k5ghq.js → voice-0tgjh03h.js} +3 -3
  15. package/dist/chunks/{generate-0vbcp93d.js → voice-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{generate-8h38gey0.js → voice-10q04s9m.js} +19 -19
  17. package/dist/chunks/{generate-41g0a9q5.js → voice-15rr0twx.js} +28 -28
  18. package/dist/chunks/{generate-79mnhcfn.js → voice-166kng33.js} +8 -8
  19. package/dist/chunks/{generate-cjr4jfwe.js → voice-18zsf568.js} +11 -11
  20. package/dist/chunks/{generate-tc1xhxj3.js → voice-1a5chre8.js} +14 -14
  21. package/dist/chunks/{generate-e40jp9gw.js → voice-1bq62cry.js} +18 -18
  22. package/dist/chunks/{generate-wkt7fkw0.js → voice-1c85gy23.js} +5 -5
  23. package/dist/chunks/{generate-6ac9zck1.js → voice-1e040kv3.js} +2 -2
  24. package/dist/chunks/{generate-y9068s8b.js → voice-1ffqw314.js} +25 -25
  25. package/dist/chunks/{generate-bjx1sjef.js → voice-1ffvrpkg.js} +6 -6
  26. package/dist/chunks/{generate-swvd7h3x.js → voice-1h2d0ke7.js} +11 -11
  27. package/dist/chunks/{generate-d9ff5bxv.js → voice-1k9hs225.js} +4 -4
  28. package/dist/chunks/{generate-szzeq7yn.js → voice-1nkzkq3r.js} +18 -18
  29. package/dist/chunks/voice-1x11rq2a.js +18 -0
  30. package/dist/chunks/{generate-nwvs2xsf.js → voice-2560qahv.js} +23 -23
  31. package/dist/chunks/{generate-fh261699.js → voice-291dyprt.js} +25 -25
  32. package/dist/chunks/{generate-d101pqd8.js → voice-2rfqgm69.js} +28 -28
  33. package/dist/chunks/{generate-de12mgtc.js → voice-2w7xd5ef.js} +6 -6
  34. package/dist/chunks/{generate-16zn8v6x.js → voice-3gwj7c3a.js} +1 -1
  35. package/dist/chunks/{generate-3hepkmqq.js → voice-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{generate-3hwn7j4h.js → voice-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{generate-yjcsa246.js → voice-3pr9cre2.js} +32 -32
  38. package/dist/chunks/{generate-zw38a422.js → voice-3px9zfj5.js} +30 -30
  39. package/dist/chunks/{generate-3smtnn6g.js → voice-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{generate-3tvqynh2.js → voice-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{generate-q90qzcc3.js → voice-3vnym5x3.js} +51 -51
  42. package/dist/chunks/{generate-v3q0dy8p.js → voice-3xsm4mrf.js} +37 -37
  43. package/dist/chunks/{generate-9en1v00j.js → voice-3yfbedjd.js} +18 -18
  44. package/dist/chunks/{generate-bf6bgs8n.js → voice-3yvt2eyd.js} +11 -11
  45. package/dist/chunks/{generate-3zsf4n22.js → voice-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{generate-wzm8that.js → voice-401wxw87.js} +3 -3
  47. package/dist/chunks/{generate-nsqpyhg2.js → voice-46459d5e.js} +45 -45
  48. package/dist/chunks/{generate-qgnk2xzv.js → voice-46aes8ch.js} +19 -19
  49. package/dist/chunks/{generate-2vc2tgzp.js → voice-4bnzbgn8.js} +16 -16
  50. package/dist/chunks/{generate-n37wa2ef.js → voice-4qnvasr9.js} +5 -5
  51. package/dist/chunks/{generate-rh1ehjhp.js → voice-4ts41tr6.js} +9 -9
  52. package/dist/chunks/{generate-v47b7hyc.js → voice-4ymz7vr5.js} +28 -28
  53. package/dist/chunks/{generate-dcvnv4qb.js → voice-52nydkw8.js} +5 -5
  54. package/dist/chunks/{generate-gksetf8c.js → voice-5307c9aq.js} +4 -4
  55. package/dist/chunks/{generate-54ma36ye.js → voice-54ma36ye.js} +1 -1
  56. package/dist/chunks/{generate-55m81wnp.js → voice-55m81wnp.js} +5 -5
  57. package/dist/chunks/{generate-86zv8aac.js → voice-5kxj697y.js} +21 -21
  58. package/dist/chunks/{generate-5m9w47nd.js → voice-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{generate-6827pfxn.js → voice-6827pfxn.js} +1 -1
  60. package/dist/chunks/{generate-yfrv12an.js → voice-6dh1jvz0.js} +13 -13
  61. package/dist/chunks/{generate-ay0tswwg.js → voice-6h73966b.js} +17 -17
  62. package/dist/chunks/{generate-qx2dcbnj.js → voice-6k23gnk2.js} +29 -29
  63. package/dist/chunks/{generate-n0ehqsbt.js → voice-6n27b0t2.js} +28 -28
  64. package/dist/chunks/{generate-6xb47vfp.js → voice-6xb47vfp.js} +1 -1
  65. package/dist/chunks/{generate-pyeaw5nf.js → voice-70z88rjf.js} +13 -13
  66. package/dist/chunks/{generate-jt801djq.js → voice-72sk51vb.js} +38 -38
  67. package/dist/chunks/{generate-775gj3j1.js → voice-775gj3j1.js} +2 -2
  68. package/dist/chunks/{generate-g2yy5a74.js → voice-788azn8w.js} +45 -45
  69. package/dist/chunks/{generate-7bmhse3q.js → voice-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{generate-ga5hpz79.js → voice-7czk49a2.js} +18 -18
  71. package/dist/chunks/{generate-6fzxepjb.js → voice-7gksfrk6.js} +39 -39
  72. package/dist/chunks/{generate-mpb94e18.js → voice-7mcgqaeh.js} +9 -9
  73. package/dist/chunks/{generate-bvkycppa.js → voice-7wfv1tbf.js} +7 -7
  74. package/dist/chunks/{generate-nya2vtjv.js → voice-7zjhs1nm.js} +19 -19
  75. package/dist/chunks/{generate-xr921mz0.js → voice-80kf5cft.js} +27 -27
  76. package/dist/chunks/{generate-h896pcm5.js → voice-81rrwt6s.js} +6 -6
  77. package/dist/chunks/{generate-aws61wts.js → voice-83vj9qt0.js} +16 -16
  78. package/dist/chunks/{generate-7ydzythe.js → voice-84pnh87n.js} +11 -11
  79. package/dist/chunks/{generate-84txncab.js → voice-84txncab.js} +1 -1
  80. package/dist/chunks/{generate-hetnczqw.js → voice-8btm942h.js} +2 -2
  81. package/dist/chunks/{generate-367nvyt8.js → voice-8jzsrpfh.js} +4 -4
  82. package/dist/chunks/{generate-ksqm10am.js → voice-8k16pbxa.js} +5 -5
  83. package/dist/chunks/{generate-8m6m0r52.js → voice-8m6m0r52.js} +1 -1
  84. package/dist/chunks/{generate-dx0kb2rv.js → voice-8sc2nzy6.js} +10 -10
  85. package/dist/chunks/{generate-kg45811x.js → voice-93fzsdqz.js} +5 -5
  86. package/dist/chunks/{generate-0t9wd588.js → voice-99xay3p1.js} +8 -8
  87. package/dist/chunks/{generate-369xw9xr.js → voice-9at0pwnx.js} +6 -6
  88. package/dist/chunks/{generate-zne0chz1.js → voice-9ca4c2n8.js} +25 -25
  89. package/dist/chunks/{generate-8z95084d.js → voice-9cb08eze.js} +13 -13
  90. package/dist/chunks/{generate-rgwsscdf.js → voice-9cvx9cd3.js} +9 -9
  91. package/dist/chunks/{generate-hyay7qq8.js → voice-9qee0jk3.js} +8 -8
  92. package/dist/chunks/{generate-090kmjxw.js → voice-9t0xmec0.js} +17 -17
  93. package/dist/chunks/{generate-a20pjse5.js → voice-a20pjse5.js} +3 -3
  94. package/dist/chunks/{generate-adr7sscw.js → voice-a3ebqg5m.js} +8 -8
  95. package/dist/chunks/{generate-9ej0kez9.js → voice-a47cqtsz.js} +8 -8
  96. package/dist/chunks/{generate-q9p3axm1.js → voice-a4rkzzpg.js} +45 -45
  97. package/dist/chunks/{generate-mzwdprrq.js → voice-a7t9gw66.js} +14 -14
  98. package/dist/chunks/{generate-9xvs703c.js → voice-adj2f2vn.js} +23 -23
  99. package/dist/chunks/{generate-exf1rp2q.js → voice-asgfpy10.js} +9 -9
  100. package/dist/chunks/{generate-8frgrze6.js → voice-atsf9aqe.js} +11 -11
  101. package/dist/chunks/{generate-eq20ba7x.js → voice-ax36eyar.js} +8 -8
  102. package/dist/chunks/{generate-n53bd8x0.js → voice-ay7h7ryq.js} +19 -19
  103. package/dist/chunks/{generate-dqkkx36v.js → voice-baqyxak2.js} +4 -4
  104. package/dist/chunks/{generate-tt004vec.js → voice-bc25zkma.js} +31 -31
  105. package/dist/chunks/{generate-eaxwmach.js → voice-be82r499.js} +13 -13
  106. package/dist/chunks/{generate-b4pznp96.js → voice-bekrfzrn.js} +5 -5
  107. package/dist/chunks/{generate-r36qtfr5.js → voice-bft59c27.js} +9 -9
  108. package/dist/chunks/{generate-8ca6h76w.js → voice-bhkm1g5m.js} +45 -45
  109. package/dist/chunks/{generate-97aeaand.js → voice-bmr56wjg.js} +4 -4
  110. package/dist/chunks/{generate-8e3x1n40.js → voice-bxaezv13.js} +12 -12
  111. package/dist/chunks/{generate-bzeyqsqd.js → voice-bzeyqsqd.js} +1 -1
  112. package/dist/chunks/{generate-c1fqxshp.js → voice-c1fqxshp.js} +3 -3
  113. package/dist/chunks/{generate-104pff1j.js → voice-c214aq79.js} +10 -10
  114. package/dist/chunks/{generate-gs5b9ard.js → voice-c62gkb3b.js} +26 -26
  115. package/dist/chunks/{generate-9ejswvkp.js → voice-capghd97.js} +27 -27
  116. package/dist/chunks/{generate-d4he2qe1.js → voice-cwa6csj7.js} +9 -9
  117. package/dist/chunks/{generate-jsxs2ezn.js → voice-cy3cg06b.js} +5 -5
  118. package/dist/chunks/{generate-8p6gc52r.js → voice-d10c0ppg.js} +22 -22
  119. package/dist/chunks/{generate-q6yya7b3.js → voice-d1r5081s.js} +5 -5
  120. package/dist/chunks/{generate-3sj8yt8v.js → voice-d2czbp48.js} +4 -4
  121. package/dist/chunks/{generate-b5ywcw8t.js → voice-dbx1c2tg.js} +33 -33
  122. package/dist/chunks/{generate-6tkmm0gj.js → voice-ddsesdvm.js} +22 -22
  123. package/dist/chunks/{generate-yr99bf11.js → voice-dp558nrd.js} +8 -8
  124. package/dist/chunks/{generate-46006692.js → voice-dqpnj7av.js} +29 -29
  125. package/dist/chunks/{generate-drwq78ky.js → voice-drwq78ky.js} +1 -1
  126. package/dist/chunks/{generate-qh3m0bt8.js → voice-dtmw6jvf.js} +20 -20
  127. package/dist/chunks/{generate-g00sp35w.js → voice-dxj1qz4d.js} +15 -15
  128. package/dist/chunks/{generate-4wqv1m3b.js → voice-e0yy9ryt.js} +14 -14
  129. package/dist/chunks/{generate-cv3qp16z.js → voice-e61cj48z.js} +29 -29
  130. package/dist/chunks/{generate-35a13mjs.js → voice-e7faghhc.js} +11 -11
  131. package/dist/chunks/{generate-7sfe249w.js → voice-e9s8nezm.js} +18 -18
  132. package/dist/chunks/{generate-eej6y6fw.js → voice-eej6y6fw.js} +2 -2
  133. package/dist/chunks/{generate-ef5x83kb.js → voice-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{generate-rq2az322.js → voice-egpmcp8a.js} +11 -11
  135. package/dist/chunks/{generate-n61013np.js → voice-fan8xm03.js} +8 -8
  136. package/dist/chunks/{generate-d0dysfx8.js → voice-fcy1mh1a.js} +29 -29
  137. package/dist/chunks/{generate-fcy631f0.js → voice-fcy631f0.js} +1 -1
  138. package/dist/chunks/{generate-2y91agfv.js → voice-fe7mjage.js} +3 -3
  139. package/dist/chunks/{generate-qd25wvge.js → voice-fgn3zs1a.js} +11 -11
  140. package/dist/chunks/{generate-tk3kjvjs.js → voice-fmdmz72r.js} +21 -21
  141. package/dist/chunks/{generate-0p56qr6s.js → voice-ft66ww99.js} +4 -4
  142. package/dist/chunks/{generate-8g3wkbtq.js → voice-fy8g54x2.js} +11 -11
  143. package/dist/chunks/{generate-y7nndgyc.js → voice-g686f6pq.js} +9 -9
  144. package/dist/chunks/{generate-hb8amrc1.js → voice-g9mhys8g.js} +11 -11
  145. package/dist/chunks/{generate-2cj70478.js → voice-gchk0vkb.js} +49 -49
  146. package/dist/chunks/{generate-gd4qta3r.js → voice-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{generate-9apn9dpd.js → voice-gj46k6vd.js} +22 -22
  148. package/dist/chunks/{generate-9hwaqfsw.js → voice-gj71zhbs.js} +5 -5
  149. package/dist/chunks/{generate-76rvckpe.js → voice-gm31ynds.js} +5 -5
  150. package/dist/chunks/{generate-5n0tzv7x.js → voice-gsbrh5b6.js} +20 -20
  151. package/dist/chunks/{generate-h6vf3j39.js → voice-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{generate-mpa2ejqj.js → voice-h81g9n7s.js} +3 -3
  153. package/dist/chunks/{generate-h978070j.js → voice-h978070j.js} +2 -2
  154. package/dist/chunks/{generate-gg30gf2m.js → voice-hen2h1me.js} +3 -3
  155. package/dist/chunks/{generate-hgz4x7wa.js → voice-hgz4x7wa.js} +1 -1
  156. package/dist/chunks/{generate-ycbz4zet.js → voice-hhe0v7zm.js} +38 -38
  157. package/dist/chunks/{generate-sdds1ttc.js → voice-hn4xv43g.js} +31 -31
  158. package/dist/chunks/{generate-6je9mqj2.js → voice-hnqavcr7.js} +50 -50
  159. package/dist/chunks/{generate-fxaymqdw.js → voice-hq3c8me3.js} +4 -4
  160. package/dist/chunks/{generate-ta2yzdag.js → voice-htn8a1qv.js} +13 -13
  161. package/dist/chunks/{generate-q6pcr4cj.js → voice-hx6e907q.js} +9 -9
  162. package/dist/chunks/{generate-sp1w0rbh.js → voice-hyjay5vw.js} +25 -25
  163. package/dist/chunks/{generate-zprz3bv1.js → voice-j8v25mck.js} +5 -5
  164. package/dist/chunks/{generate-0yfxsrzp.js → voice-jc4mxe0h.js} +30 -30
  165. package/dist/chunks/{generate-ge51s02a.js → voice-jgpthgfz.js} +11 -11
  166. package/dist/chunks/{generate-6gwn7aqx.js → voice-jm1jdg4g.js} +16 -16
  167. package/dist/chunks/{generate-84jvfywv.js → voice-jnsvnygx.js} +50 -50
  168. package/dist/chunks/{generate-dcpjzjzy.js → voice-jpt0ksjm.js} +3 -3
  169. package/dist/chunks/{generate-4kkbnph0.js → voice-jz94ppxa.js} +11 -11
  170. package/dist/chunks/{generate-01m325sd.js → voice-kj9vwc9j.js} +47 -47
  171. package/dist/chunks/{generate-dmx7sk54.js → voice-krbeg2se.js} +42 -42
  172. package/dist/chunks/{generate-29fw136q.js → voice-ktg7dnk2.js} +23 -23
  173. package/dist/chunks/{generate-m28pths9.js → voice-kw7ww2k8.js} +44 -44
  174. package/dist/chunks/{generate-kwb1v3vj.js → voice-kwb1v3vj.js} +1 -1
  175. package/dist/chunks/{generate-ryjck82n.js → voice-m0k7y5tq.js} +14 -14
  176. package/dist/chunks/{generate-j9esqkaj.js → voice-m0xs32yr.js} +29 -29
  177. package/dist/chunks/{generate-yg3agy0r.js → voice-m37876mr.js} +16 -16
  178. package/dist/chunks/{generate-zwgc0wm1.js → voice-m552b91p.js} +13 -13
  179. package/dist/chunks/{generate-m9w0rfyh.js → voice-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{generate-maspj1v3.js → voice-maspj1v3.js} +1 -1
  181. package/dist/chunks/{generate-2ns20q01.js → voice-n1900k66.js} +1 -1
  182. package/dist/chunks/{generate-v7w38sqv.js → voice-n52gxnde.js} +86 -86
  183. package/dist/chunks/{generate-am1tmpj5.js → voice-n5csmyza.js} +10 -10
  184. package/dist/chunks/{generate-nad40530.js → voice-n5feeqsd.js} +4 -4
  185. package/dist/chunks/{generate-cmwkp3r5.js → voice-p37cw4rj.js} +8 -8
  186. package/dist/chunks/{generate-mmqcypja.js → voice-p38fre57.js} +5 -5
  187. package/dist/chunks/{generate-xfnxesgc.js → voice-pcf1k9th.js} +6 -6
  188. package/dist/chunks/{generate-yyk0gn1k.js → voice-pjjz4vyy.js} +336 -336
  189. package/dist/chunks/{generate-pjvnvgmy.js → voice-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{generate-pknna89w.js → voice-pknna89w.js} +1 -1
  191. package/dist/chunks/{generate-btnpkdvn.js → voice-ps2j6rx6.js} +17 -17
  192. package/dist/chunks/{generate-kt569c0v.js → voice-pvr736zf.js} +6 -6
  193. package/dist/chunks/{generate-q7mytj03.js → voice-pzta8gqa.js} +27 -27
  194. package/dist/chunks/{generate-yy4tknq9.js → voice-q2sz1tra.js} +13 -13
  195. package/dist/chunks/{generate-rhd650sz.js → voice-q303yhz1.js} +12 -12
  196. package/dist/chunks/{generate-a4w0e3g0.js → voice-q8ra9vd5.js} +29 -29
  197. package/dist/chunks/{generate-9w3hv6tb.js → voice-q8xm0c2j.js} +11 -11
  198. package/dist/chunks/{generate-qnc92qwc.js → voice-qnc92qwc.js} +1 -1
  199. package/dist/chunks/{generate-qsdy395h.js → voice-qsdy395h.js} +1 -1
  200. package/dist/chunks/{generate-b0av9spa.js → voice-qwfhs2mm.js} +21 -21
  201. package/dist/chunks/{generate-r2z489rp.js → voice-r2z489rp.js} +1 -1
  202. package/dist/chunks/{generate-rdw6cm16.js → voice-rdw6cm16.js} +1 -1
  203. package/dist/chunks/{generate-rert0e01.js → voice-rert0e01.js} +2 -2
  204. package/dist/chunks/voice-rhvdwwz1.js +26 -0
  205. package/dist/chunks/{generate-rj3eygr5.js → voice-rj3eygr5.js} +2 -2
  206. package/dist/chunks/{generate-80qg8hhn.js → voice-rjmsaa2q.js} +21 -21
  207. package/dist/chunks/{generate-8e6zqeab.js → voice-rka5c9pw.js} +23 -23
  208. package/dist/chunks/{generate-rkprpv83.js → voice-rkprpv83.js} +2 -2
  209. package/dist/chunks/{generate-mhjdq6ms.js → voice-rxwwr6rj.js} +24 -24
  210. package/dist/chunks/{generate-58tzmscz.js → voice-rzk8bj82.js} +6 -6
  211. package/dist/chunks/{generate-0gdmqesm.js → voice-s8d7rejh.js} +4 -4
  212. package/dist/chunks/{generate-sa8ekw3f.js → voice-sa8ekw3f.js} +2 -2
  213. package/dist/chunks/{generate-rd90dz52.js → voice-skrw0pay.js} +184 -184
  214. package/dist/chunks/{generate-syv4x271.js → voice-syv4x271.js} +1 -1
  215. package/dist/chunks/{generate-v0nk6czx.js → voice-sz1e9eqn.js} +11 -11
  216. package/dist/chunks/{generate-zrhmxj1q.js → voice-t55rwbc2.js} +22 -22
  217. package/dist/chunks/{generate-tj93jbcz.js → voice-t6p333e3.js} +32 -32
  218. package/dist/chunks/{generate-z4tdvtz8.js → voice-t6twestg.js} +11 -11
  219. package/dist/chunks/{generate-k76krqzs.js → voice-t6vsspdg.js} +7 -7
  220. package/dist/chunks/{generate-tazgh4e4.js → voice-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{generate-89znhe33.js → voice-tcezcvh9.js} +4 -4
  222. package/dist/chunks/{generate-tdstcens.js → voice-tdstcens.js} +1 -1
  223. package/dist/chunks/{generate-tm0kqsz3.js → voice-tm0kqsz3.js} +1 -1
  224. package/dist/chunks/{generate-25yddszk.js → voice-tt8gc4fv.js} +3 -3
  225. package/dist/chunks/{generate-9xkywmt2.js → voice-tx938nqc.js} +17 -17
  226. package/dist/chunks/{generate-tyytaxap.js → voice-tyytaxap.js} +1 -1
  227. package/dist/chunks/{generate-xet4vjak.js → voice-v5130x7e.js} +22 -22
  228. package/dist/chunks/{generate-v7p4zvkq.js → voice-v7p4zvkq.js} +2 -2
  229. package/dist/chunks/{generate-veqvce7d.js → voice-veqvce7d.js} +1 -1
  230. package/dist/chunks/{generate-m5jcjszt.js → voice-vpm8vpz0.js} +3 -3
  231. package/dist/chunks/{generate-kd5vgtqm.js → voice-vvne4gav.js} +20 -20
  232. package/dist/chunks/{generate-c9rn2ypc.js → voice-vy68hshx.js} +8 -8
  233. package/dist/chunks/{generate-bdpzzc2x.js → voice-vzbxwz1d.js} +11 -11
  234. package/dist/chunks/{generate-vzs5sf6e.js → voice-vzs5sf6e.js} +1 -1
  235. package/dist/chunks/{generate-q0r0skws.js → voice-w1zgsyjh.js} +18 -18
  236. package/dist/chunks/{generate-w3wsvvr9.js → voice-w3wsvvr9.js} +1 -1
  237. package/dist/chunks/{generate-v0dnza1z.js → voice-w645cvh3.js} +4 -4
  238. package/dist/chunks/{generate-yqcazjzb.js → voice-wch0f9f3.js} +19 -19
  239. package/dist/chunks/{generate-c7mzjgkk.js → voice-wcmg8ka2.js} +11 -11
  240. package/dist/chunks/{generate-wd87259q.js → voice-wd87259q.js} +1 -1
  241. package/dist/chunks/{generate-bza9db00.js → voice-wdqr7xqq.js} +16 -16
  242. package/dist/chunks/{generate-f6s8y378.js → voice-wez1ajrw.js} +7 -7
  243. package/dist/chunks/{generate-0f09nngp.js → voice-wfqe50e8.js} +4 -4
  244. package/dist/chunks/{generate-dssbfrwz.js → voice-wh6zw745.js} +5 -5
  245. package/dist/chunks/{generate-2hsqkpxy.js → voice-wmg4dxvw.js} +15 -15
  246. package/dist/chunks/{generate-pe1jyrm4.js → voice-wp1wkg59.js} +16 -16
  247. package/dist/chunks/{generate-c0gqk2ym.js → voice-wt0mmhah.js} +6 -6
  248. package/dist/chunks/{generate-rypx97jt.js → voice-x0m4hwhr.js} +17 -17
  249. package/dist/chunks/{generate-s59wcpct.js → voice-x4p01p4y.js} +22 -22
  250. package/dist/chunks/{generate-hgnqc3f0.js → voice-x63dfm1w.js} +15 -15
  251. package/dist/chunks/{generate-dgkwachn.js → voice-x77x046w.js} +7 -7
  252. package/dist/chunks/{generate-1hv113sc.js → voice-xgyd6awb.js} +30 -30
  253. package/dist/chunks/{generate-r6yt1a8r.js → voice-xn17cbv3.js} +12 -12
  254. package/dist/chunks/{generate-7ej2vx6g.js → voice-xr64f026.js} +3 -3
  255. package/dist/chunks/{generate-w8xs7tx2.js → voice-xw8v86tr.js} +27 -27
  256. package/dist/chunks/{generate-5w9yjztw.js → voice-xybefm6f.js} +1 -1
  257. package/dist/chunks/{generate-y1fvbwt7.js → voice-y1fvbwt7.js} +1 -1
  258. package/dist/chunks/{generate-9r9t654e.js → voice-y32fbaee.js} +9 -9
  259. package/dist/chunks/{generate-k7ymkhxy.js → voice-y3vys761.js} +56 -56
  260. package/dist/chunks/{generate-x661k3y3.js → voice-y6bex35g.js} +4 -4
  261. package/dist/chunks/{generate-86qzxe6p.js → voice-y6mhz57t.js} +4 -4
  262. package/dist/chunks/{generate-y71avatq.js → voice-y71avatq.js} +1 -1
  263. package/dist/chunks/{generate-sgecb4a9.js → voice-y8m1m766.js} +4 -4
  264. package/dist/chunks/{generate-0ybe7mx1.js → voice-y8ng1a9s.js} +14 -14
  265. package/dist/chunks/{generate-reppd9nn.js → voice-ydyb6qzy.js} +13 -13
  266. package/dist/chunks/{generate-j5xd911s.js → voice-yfqqfr07.js} +23 -23
  267. package/dist/chunks/{generate-hw19m2y8.js → voice-ym1asdg7.js} +9 -9
  268. package/dist/chunks/{generate-yp2x3t23.js → voice-yp2x3t23.js} +1 -1
  269. package/dist/chunks/{generate-d0anyxb0.js → voice-yzh5znq2.js} +28 -28
  270. package/dist/chunks/{generate-z0bkrqjs.js → voice-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{generate-z18fegx4.js → voice-z18fegx4.js} +1 -1
  272. package/dist/chunks/{generate-5fychvb3.js → voice-z5pvh795.js} +8 -8
  273. package/dist/chunks/{generate-p8jsg7pq.js → voice-z5wvy2zw.js} +93 -93
  274. package/dist/chunks/{generate-05473zrx.js → voice-zaxy7ecx.js} +21 -21
  275. package/dist/chunks/{generate-tsw5e8b1.js → voice-zc7as1na.js} +19 -19
  276. package/dist/chunks/{generate-zav06jzw.js → voice-zcrspsvn.js} +4 -4
  277. package/dist/chunks/{generate-m85h8xbw.js → voice-zd055dky.js} +74 -74
  278. package/dist/chunks/{generate-sphypsd8.js → voice-zf1d6pfw.js} +9 -9
  279. package/dist/chunks/{generate-hc80vjct.js → voice-zhc0v3qp.js} +41 -41
  280. package/dist/chunks/voice-zqbqn1p8.js +257 -0
  281. package/dist/chunks/{generate-zr2ceqn5.js → voice-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{generate-czpjcjhw.js → voice-zxc5z6hb.js} +33 -33
  283. package/dist/chunks/{generate-zxq2ej10.js → voice-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{generate-44ak30pa.js → voice-zy43x3f1.js} +4 -4
  285. package/dist/chunks/{generate-25553g2w.js → voice-zybbj8zn.js} +27 -27
  286. package/dist/chunks/{generate-00xf4nk1.js → voice-zygw1fg1.js} +22 -22
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +3 -3
  289. package/dist/codemode/tool.js +3 -3
  290. package/dist/codemode/web.js +1 -1
  291. package/dist/command.js +87 -87
  292. package/dist/config/discovery.js +86 -86
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +116 -116
  296. package/dist/config/plugin/command.js +206 -206
  297. package/dist/config/plugin/compaction.js +155 -155
  298. package/dist/config/plugin/compatibility.js +135 -135
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +116 -116
  302. package/dist/config/plugin/instruction.js +116 -116
  303. package/dist/config/plugin/location-watcher.js +118 -118
  304. package/dist/config/plugin/mcp.js +123 -123
  305. package/dist/config/plugin/policy.js +117 -117
  306. package/dist/config/plugin/provider.js +116 -116
  307. package/dist/config/plugin/reference.js +118 -118
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +104 -104
  310. package/dist/config/plugin/skill-scan.js +1 -1
  311. package/dist/config/plugin/skill.js +138 -138
  312. package/dist/config/plugin/snapshot.js +116 -116
  313. package/dist/config/plugin/source.js +117 -117
  314. package/dist/config/plugin/tool-output.js +117 -117
  315. package/dist/config/plugin/websearch.js +117 -117
  316. package/dist/config/plugin/worktree.js +118 -118
  317. package/dist/config/variable.js +1 -1
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +121 -121
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +83 -83
  322. package/dist/database/database.js +72 -72
  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/20260923013825_project_time_active.js +1 -1
  387. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  388. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  389. package/dist/database/migration.gen.js +51 -51
  390. package/dist/database/migration.js +53 -53
  391. package/dist/database/path.js +2 -2
  392. package/dist/database/schema.gen.js +1 -1
  393. package/dist/database/schema.sql.js +1 -1
  394. package/dist/database/sqlite.bun.js +1 -1
  395. package/dist/database/sqlite.js +1 -1
  396. package/dist/database/sqlite.node.js +1 -1
  397. package/dist/database/sqlite.workerd.js +1 -1
  398. package/dist/database/v1-migration.bun.js +81 -81
  399. package/dist/database/v1-migration.js +1 -1
  400. package/dist/effect/app-node-builder.js +370 -370
  401. package/dist/effect/app-node-platform.js +2 -2
  402. package/dist/effect/keyed-mutex.js +1 -1
  403. package/dist/effect/websocket-constructor.js +1 -1
  404. package/dist/environment/driver.js +1 -1
  405. package/dist/environment/environment.js +95 -95
  406. package/dist/environment/exec-defaults.js +2 -2
  407. package/dist/environment/files.js +1 -1
  408. package/dist/environment/index.js +97 -97
  409. package/dist/environment/local.js +2 -2
  410. package/dist/environment/memory.js +2 -2
  411. package/dist/environment/unavailable.js +3 -3
  412. package/dist/event/sql.js +1 -1
  413. package/dist/event-logger.js +76 -76
  414. package/dist/file-access.js +106 -106
  415. package/dist/file-mutation.js +96 -96
  416. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +221 -221
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +108 -108
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +2 -2
  430. package/dist/formatter.js +85 -85
  431. package/dist/generate.js +106 -106
  432. package/dist/git.js +6 -6
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +101 -101
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +5 -5
  455. package/dist/instance.js +361 -361
  456. package/dist/instruction-discovery.js +86 -86
  457. package/dist/instructions/builtins.js +89 -89
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +89 -89
  461. package/dist/job.js +80 -80
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +75 -75
  464. package/dist/location-activity.js +136 -136
  465. package/dist/location-lifecycle.js +109 -109
  466. package/dist/location-service-map.js +88 -88
  467. package/dist/location-services.js +358 -358
  468. package/dist/location.js +85 -85
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +111 -111
  472. package/dist/mcp/instructions.js +131 -131
  473. package/dist/mcp/oauth.js +80 -80
  474. package/dist/mcp/stdio.js +92 -92
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +101 -101
  477. package/dist/model-resolver.js +100 -100
  478. package/dist/model-retry.js +1 -1
  479. package/dist/model.js +102 -102
  480. package/dist/models-dev.js +109 -109
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +84 -84
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +111 -111
  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 +90 -90
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +76 -76
  491. package/dist/plugin/command.js +102 -102
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +212 -212
  494. package/dist/plugin/identity.js +3 -3
  495. package/dist/plugin/instance.js +5 -5
  496. package/dist/plugin/internal.js +332 -332
  497. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  498. package/dist/plugin/models-dev.js +98 -98
  499. package/dist/plugin/module.js +117 -117
  500. package/dist/plugin/optimize.js +2 -2
  501. package/dist/plugin/plan.js +104 -104
  502. package/dist/plugin/promise.js +1 -1
  503. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  504. package/dist/plugin/provider/azure.js +116 -116
  505. package/dist/plugin/provider/cerebras.js +1 -1
  506. package/dist/plugin/provider/chatgpt.js +116 -116
  507. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  508. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  509. package/dist/plugin/provider/cohere.js +2 -2
  510. package/dist/plugin/provider/configured.js +112 -112
  511. package/dist/plugin/provider/databricks.js +1 -1
  512. package/dist/plugin/provider/digitalocean.js +95 -95
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/github-copilot.js +97 -97
  516. package/dist/plugin/provider/gitlab.js +95 -95
  517. package/dist/plugin/provider/google-vertex.js +113 -113
  518. package/dist/plugin/provider/kilo.js +1 -1
  519. package/dist/plugin/provider/llmgateway.js +80 -80
  520. package/dist/plugin/provider/lmstudio.js +125 -125
  521. package/dist/plugin/provider/local.js +122 -122
  522. package/dist/plugin/provider/modal.js +94 -94
  523. package/dist/plugin/provider/neon.js +1 -1
  524. package/dist/plugin/provider/nvidia.js +1 -1
  525. package/dist/plugin/provider/ollama.js +125 -125
  526. package/dist/plugin/provider/openai.js +116 -116
  527. package/dist/plugin/provider/opencode.js +100 -100
  528. package/dist/plugin/provider/openrouter.js +93 -93
  529. package/dist/plugin/provider/perplexity.js +2 -2
  530. package/dist/plugin/provider/poe.js +81 -81
  531. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  532. package/dist/plugin/provider/sap-ai-core.js +93 -93
  533. package/dist/plugin/provider/sdk-factory.js +1 -1
  534. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  535. package/dist/plugin/provider/vercel.js +92 -92
  536. package/dist/plugin/provider/vllm.js +125 -125
  537. package/dist/plugin/provider/xai.js +93 -93
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +168 -168
  540. package/dist/plugin/sdk.js +78 -78
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +134 -134
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +351 -351
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +6 -6
  547. package/dist/plugin/vcs/git.js +88 -88
  548. package/dist/plugin/vcs/hg.js +88 -88
  549. package/dist/plugin/verbosity.js +95 -95
  550. package/dist/plugin/warming.js +114 -114
  551. package/dist/plugin/websearch/exa.js +7 -7
  552. package/dist/plugin/websearch/firecrawl.js +8 -8
  553. package/dist/plugin/websearch/index.js +9 -9
  554. package/dist/plugin/websearch/mcp.js +4 -4
  555. package/dist/plugin/websearch/parallel.js +6 -6
  556. package/dist/plugin/websearch/tavily.js +4 -4
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +219 -219
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +88 -88
  562. package/dist/provider.js +101 -101
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +93 -93
  568. package/dist/repository-cache.js +83 -83
  569. package/dist/repository.js +1 -1
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +99 -99
  572. package/dist/rpc.js +88 -88
  573. package/dist/schema.js +1 -1
  574. package/dist/session/affinity.js +1 -1
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +136 -136
  577. package/dist/session/context.js +155 -155
  578. package/dist/session/diff.js +90 -90
  579. package/dist/session/environment.js +5 -5
  580. package/dist/session/error.js +5 -5
  581. package/dist/session/event.js +1 -1
  582. package/dist/session/execution/restart.js +218 -218
  583. package/dist/session/execution.js +125 -125
  584. package/dist/session/generate.js +157 -157
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +88 -88
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +79 -79
  589. package/dist/session/instruction-state.js +8 -8
  590. package/dist/session/instructions.js +99 -99
  591. package/dist/session/message-updater.js +2 -2
  592. package/dist/session/message.js +1 -1
  593. package/dist/session/model-request.js +122 -122
  594. package/dist/session/model-transport.js +9 -9
  595. package/dist/session/move.js +131 -131
  596. package/dist/session/projector.js +88 -88
  597. package/dist/session/prompt.js +107 -107
  598. package/dist/session/provider-context.js +3 -3
  599. package/dist/session/revert.js +92 -92
  600. package/dist/session/run-coordinator.js +1 -1
  601. package/dist/session/runner/index.js +3 -3
  602. package/dist/session/runner/llm.js +225 -225
  603. package/dist/session/runner/max-steps.js +1 -1
  604. package/dist/session/runner/model.js +100 -100
  605. package/dist/session/runner/publish-llm-event.js +115 -115
  606. package/dist/session/runner/retry.js +3 -3
  607. package/dist/session/runner/step.js +128 -128
  608. package/dist/session/runner/to-llm-message.js +2 -2
  609. package/dist/session/schema.js +5 -5
  610. package/dist/session/session.js +162 -162
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +105 -105
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +77 -77
  615. package/dist/session/store.js +89 -89
  616. package/dist/session/subagent-completion.js +1 -1
  617. package/dist/session/subagent-job.js +206 -206
  618. package/dist/session/system-prompt.js +1 -1
  619. package/dist/session/title.js +159 -159
  620. package/dist/session/to-session-error.js +113 -113
  621. package/dist/session/transfer.js +214 -214
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +214 -214
  624. package/dist/shell/parse.js +6 -6
  625. package/dist/shell/result.js +1 -1
  626. package/dist/shell/scan.js +1 -1
  627. package/dist/shell/select.js +7 -7
  628. package/dist/shell.js +130 -130
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +109 -109
  631. package/dist/skill.js +116 -116
  632. package/dist/snapshot.js +87 -87
  633. package/dist/state.js +1 -1
  634. package/dist/tool/html-markdown.js +1 -1
  635. package/dist/tool/http-body.js +1 -1
  636. package/dist/tool/mcp.js +128 -128
  637. package/dist/tool/plugin/edit.js +122 -122
  638. package/dist/tool/plugin/file-diff.js +1 -1
  639. package/dist/tool/plugin/glob.js +126 -126
  640. package/dist/tool/plugin/grep.js +126 -126
  641. package/dist/tool/plugin/mcp-resource.js +119 -119
  642. package/dist/tool/plugin/opencode.js +111 -111
  643. package/dist/tool/plugin/patch.js +118 -118
  644. package/dist/tool/plugin/question.js +105 -105
  645. package/dist/tool/plugin/read.js +125 -125
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +109 -109
  648. package/dist/tool/plugin/subagent.js +213 -213
  649. package/dist/tool/plugin/todo.js +132 -132
  650. package/dist/tool/plugin/webfetch.js +114 -114
  651. package/dist/tool/plugin/websearch.js +116 -116
  652. package/dist/tool/plugin/write.js +122 -122
  653. package/dist/tool/read-filesystem.js +102 -102
  654. package/dist/tool/runtime.js +1 -1
  655. package/dist/tool-output.js +7 -7
  656. package/dist/tool.js +16 -16
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +5 -5
  667. package/dist/v1/config/command.js +5 -5
  668. package/dist/v1/config/error.js +2 -2
  669. package/dist/v1/config/mcp.js +4 -4
  670. package/dist/v1/config/migrate.js +94 -94
  671. package/dist/v1/config/permission.js +3 -3
  672. package/dist/v1/config/plugin.js +1 -1
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +89 -89
  678. package/dist/voice.js +88 -88
  679. package/dist/websearch.js +86 -86
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +81 -81
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +82 -82
  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 +91 -91
  689. package/dist/worktree.js +98 -98
  690. package/package.json +8 -8
  691. package/dist/chunks/generate-nvmgv2ve.js +0 -257
  692. package/dist/chunks/generate-vnkjks7b.js +0 -18
  693. package/dist/chunks/generate-z5m47y6j.js +0 -26
  694. /package/dist/chunks/{generate-0qkdqm5v.js → voice-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{generate-0zkw76rk.js → voice-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{generate-17cy0kzp.js → voice-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{generate-1cnp2v09.js → voice-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{generate-1kg9ymc8.js → voice-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{generate-24dcb14g.js → voice-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{generate-2710q6r3.js → voice-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{generate-2axfhc9x.js → voice-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{generate-2bv980vf.js → voice-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{generate-2c3vjs8z.js → voice-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{generate-359p4xyc.js → voice-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{generate-3asan66x.js → voice-3asan66x.js} +0 -0
  706. /package/dist/chunks/{generate-3t0ybcrp.js → voice-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{generate-3v8g72cx.js → voice-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{generate-3wcehsnq.js → voice-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{generate-43n2bw4t.js → voice-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{generate-4knz6hnm.js → voice-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{generate-4vcrnpx2.js → voice-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{generate-4y7fprxs.js → voice-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{generate-53557ph1.js → voice-53557ph1.js} +0 -0
  714. /package/dist/chunks/{generate-550bvhaj.js → voice-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{generate-5qd3pb7m.js → voice-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{generate-6prwharc.js → voice-6prwharc.js} +0 -0
  717. /package/dist/chunks/{generate-6q2bdcd1.js → voice-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{generate-7akdwqpd.js → voice-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{generate-7m9af43g.js → voice-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{generate-822emrt2.js → voice-822emrt2.js} +0 -0
  721. /package/dist/chunks/{generate-84wd9syh.js → voice-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{generate-88xbtdfr.js → voice-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{generate-8n3pysct.js → voice-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{generate-8wj87zfr.js → voice-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{generate-9a4afbnw.js → voice-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{generate-9rqn6x4v.js → voice-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{generate-a6k6eb26.js → voice-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{generate-af5trqkr.js → voice-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{generate-afrmfg78.js → voice-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{generate-aqzs7mqg.js → voice-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{generate-atq7p7m5.js → voice-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{generate-bkyjaxrp.js → voice-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{generate-bmr6ed5q.js → voice-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{generate-cf4snx6d.js → voice-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{generate-cvy3z8tj.js → voice-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{generate-d9fn303g.js → voice-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{generate-d9jj8t3e.js → voice-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{generate-dajrwvna.js → voice-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{generate-dap0rakb.js → voice-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{generate-df08tz66.js → voice-df08tz66.js} +0 -0
  741. /package/dist/chunks/{generate-dy18nga0.js → voice-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{generate-e5kj55wp.js → voice-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{generate-e73j6tqm.js → voice-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{generate-ec1grn59.js → voice-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{generate-eh3zwz77.js → voice-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{generate-emrn6kk6.js → voice-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{generate-f0mxakyp.js → voice-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{generate-f6n9ztr4.js → voice-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{generate-faypxj3z.js → voice-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{generate-fd410y7t.js → voice-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{generate-g4wezp1m.js → voice-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{generate-g86h250q.js → voice-g86h250q.js} +0 -0
  753. /package/dist/chunks/{generate-gebd4c9n.js → voice-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{generate-gftt206x.js → voice-gftt206x.js} +0 -0
  755. /package/dist/chunks/{generate-hcxmzztb.js → voice-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{generate-hk9envan.js → voice-hk9envan.js} +0 -0
  757. /package/dist/chunks/{generate-j2ntwpah.js → voice-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{generate-j5zkgpj8.js → voice-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{generate-jjkms2e6.js → voice-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{generate-jr7sbwjy.js → voice-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{generate-jwfs4k6c.js → voice-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{generate-jze0r7bz.js → voice-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{generate-jzg6c2d5.js → voice-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{generate-m18g726c.js → voice-m18g726c.js} +0 -0
  765. /package/dist/chunks/{generate-mp448xyj.js → voice-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{generate-msx8hqn2.js → voice-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{generate-n05xt0ee.js → voice-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{generate-n3j8tn72.js → voice-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{generate-njntx4h6.js → voice-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{generate-pkyv6v7h.js → voice-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{generate-pyv0edze.js → voice-pyv0edze.js} +0 -0
  772. /package/dist/chunks/{generate-q3sfg36h.js → voice-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{generate-q74kybfr.js → voice-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{generate-qaymkmh1.js → voice-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{generate-qb87gjwd.js → voice-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{generate-qfa1cgps.js → voice-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{generate-qg3g05ea.js → voice-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{generate-qrg20bc0.js → voice-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{generate-rcb2kzg1.js → voice-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{generate-sdp7kfr6.js → voice-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{generate-ssg3fenm.js → voice-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{generate-ve7vex1e.js → voice-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{generate-w803qqfp.js → voice-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{generate-wc3fc9cn.js → voice-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{generate-wer8tq1h.js → voice-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{generate-wjj7prxr.js → voice-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{generate-wtztk69x.js → voice-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{generate-x0ckcb58.js → voice-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{generate-x61499pn.js → voice-x61499pn.js} +0 -0
  790. /package/dist/chunks/{generate-y44na4kk.js → voice-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{generate-y8f7s663.js → voice-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{generate-ygaqb7jw.js → voice-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{generate-ym463w8f.js → voice-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{generate-z5v4ffb3.js → voice-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{generate-z9919s4g.js → voice-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID10,
3
- Service57
4
- } from "./generate-mhjdq6ms.js";
2
+ ID11,
3
+ Service76
4
+ } from "./voice-rxwwr6rj.js";
5
5
  import {
6
6
  Ref2,
7
- Service64
8
- } from "./generate-sdds1ttc.js";
7
+ Service77
8
+ } from "./voice-hn4xv43g.js";
9
9
  import {
10
10
  latest2,
11
- Service36
12
- } from "./generate-2cj70478.js";
11
+ Service51
12
+ } from "./voice-gchk0vkb.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./generate-m5jcjszt.js";
15
+ } from "./voice-vpm8vpz0.js";
16
16
  import {
17
- Service52
18
- } from "./generate-bza9db00.js";
17
+ Service45
18
+ } from "./voice-wdqr7xqq.js";
19
19
  import {
20
20
  evaluate2,
21
- Service53
22
- } from "./generate-84jvfywv.js";
21
+ Service72
22
+ } from "./voice-jnsvnygx.js";
23
23
  import {
24
- Service18
25
- } from "./generate-p8jsg7pq.js";
24
+ Service26
25
+ } from "./voice-z5wvy2zw.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./generate-6xb47vfp.js";
28
+ } from "./voice-6xb47vfp.js";
29
29
  import {
30
- Service11
31
- } from "./generate-8h38gey0.js";
30
+ Service8
31
+ } from "./voice-10q04s9m.js";
32
32
  import {
33
33
  __export
34
- } from "./generate-9rqn6x4v.js";
34
+ } from "./voice-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input7,
40
- Output: () => Output5,
41
- Plugin: () => Plugin44,
39
+ Input: () => Input2,
40
+ Output: () => Output2,
41
+ Plugin: () => Plugin2,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description4,
44
- name: () => name7
43
+ description: () => description2,
44
+ name: () => name2
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name7 = "subagent";
48
+ var name2 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input7 = Schema.Struct({
59
+ var Input2 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input7 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output5 = Schema.Struct({
75
+ var Output2 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description4 = [
80
+ var description2 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description4 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin44 = {
89
+ var Plugin2 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service18;
93
- const jobs = yield* Service52;
94
- const agents = yield* Service57;
95
- const config = yield* Service36;
96
- const permission = yield* Service53;
97
- const models = yield* Service64;
98
- const subagents = yield* Service11;
92
+ const sessions = yield* Service26;
93
+ const jobs = yield* Service45;
94
+ const agents = yield* Service76;
95
+ const config = yield* Service51;
96
+ const permission = yield* Service72;
97
+ const models = yield* Service77;
98
+ const subagents = yield* Service8;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin44 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name7,
118
+ name: name2,
119
119
  options: { codemode: false },
120
- description: description4,
121
- input: Input7,
122
- output: Output5,
120
+ description: description2,
121
+ input: Input2,
122
+ output: Output2,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin44 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name7,
142
+ action: name2,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin44 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID10.make(input.agent),
171
+ agent: ID11.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name7 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name2 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name7];
233
+ const tool = event.tools[name2];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name2, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name7, Input7, Output5, description4, Plugin44, exports_subagent };
256
+ export { name2, Input2, Output2, description2, Plugin2, exports_subagent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./voice-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
@@ -8,7 +8,7 @@ __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
10
  Entries: () => Entries2,
11
- Info: () => Info10,
11
+ Info: () => Info11,
12
12
  Object: () => Object2,
13
13
  Rule: () => Rule2
14
14
  });
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
21
21
  var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
22
22
  var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
23
23
  var actionOnly = new Set(["question", "websearch", "doom_loop"]);
24
- var Info10 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
24
+ var Info11 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule2), {
25
25
  decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
26
26
  encode: SchemaGetter.passthrough({ strict: false })
27
27
  })).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
28
28
  expected: "question, websearch, and doom_loop to be ask, allow, or deny"
29
29
  })).annotate({ identifier: "PermissionConfig" });
30
30
 
31
- export { Action2, Entries2, Object2, Rule2, Info10, exports_permission };
31
+ export { Action2, Entries2, Object2, Rule2, Info11, exports_permission };
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service37
3
- } from "./generate-5n0tzv7x.js";
2
+ Service52
3
+ } from "./voice-gsbrh5b6.js";
4
4
  import {
5
- Service36
6
- } from "./generate-2cj70478.js";
5
+ Service51
6
+ } from "./voice-gchk0vkb.js";
7
7
  import {
8
8
  parse2
9
- } from "./generate-58tzmscz.js";
9
+ } from "./voice-rzk8bj82.js";
10
10
  import {
11
11
  ignore2,
12
12
  scan2
13
- } from "./generate-bzeyqsqd.js";
13
+ } from "./voice-bzeyqsqd.js";
14
14
  import {
15
15
  __export
16
- } from "./generate-9rqn6x4v.js";
16
+ } from "./voice-9rqn6x4v.js";
17
17
 
18
18
  // src/config/plugin/compatibility.ts
19
19
  var exports_compatibility = {};
20
20
  __export(exports_compatibility, {
21
21
  ConfigCompatibilityPlugin: () => exports_compatibility,
22
- Plugin: () => Plugin27
22
+ Plugin: () => Plugin49
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { FSUtil } from "@opencode/util/fs-util";
26
26
  import path from "path";
27
27
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
28
- var Plugin27 = define({
28
+ var Plugin49 = define({
29
29
  id: "opencode.config.compatibility",
30
30
  effect: Effect.fn(function* (ctx) {
31
- const config = yield* Service36;
31
+ const config = yield* Service51;
32
32
  const fs = yield* FSUtil.Service;
33
- const watcher = yield* Service37;
33
+ const watcher = yield* Service52;
34
34
  const watches = yield* FiberMap.make();
35
35
  const changes = yield* PubSub.sliding(1);
36
36
  const lock = Semaphore.makeUnsafe(1);
@@ -76,4 +76,4 @@ var Plugin27 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin27, exports_compatibility };
79
+ export { Plugin49, exports_compatibility };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./generate-9rqn6x4v.js";
3
+ } from "./voice-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/skill-scan.ts
6
6
  var exports_skill_scan = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./generate-qnc92qwc.js";
4
+ } from "./voice-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./generate-qfa1cgps.js";
7
+ } from "./voice-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./generate-rj3eygr5.js";
10
+ } from "./voice-rj3eygr5.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,31 +1,31 @@
1
1
  import {
2
- Service36
3
- } from "./generate-2cj70478.js";
2
+ Service51
3
+ } from "./voice-gchk0vkb.js";
4
4
  import {
5
- Service30
6
- } from "./generate-q90qzcc3.js";
5
+ Service38
6
+ } from "./voice-3vnym5x3.js";
7
7
  import {
8
8
  __export
9
- } from "./generate-9rqn6x4v.js";
9
+ } from "./voice-9rqn6x4v.js";
10
10
 
11
11
  // src/config/plugin/mcp.ts
12
12
  var exports_mcp2 = {};
13
13
  __export(exports_mcp2, {
14
14
  ConfigMcpPlugin: () => exports_mcp2,
15
- Plugin: () => Plugin32,
15
+ Plugin: () => Plugin47,
16
16
  register: () => register2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin32 = define({
20
+ var Plugin47 = define({
21
21
  id: "opencode.config.mcp",
22
22
  effect: Effect.fn(function* (ctx) {
23
23
  yield* register2(ctx.event.subscribe());
24
24
  })
25
25
  });
26
26
  var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
27
- const config = yield* Service36;
28
- const mcp = yield* Service30;
27
+ const config = yield* Service51;
28
+ const mcp = yield* Service38;
29
29
  const loaded = { entries: [] };
30
30
  yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
31
31
  loaded.entries = yield* config.entries();
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
46
46
  });
47
47
  });
48
48
 
49
- export { Plugin32, register2, exports_mcp2 };
49
+ export { Plugin47, register2, exports_mcp2 };
@@ -1,54 +1,54 @@
1
1
  import {
2
- Service37
3
- } from "./generate-5n0tzv7x.js";
2
+ Service52
3
+ } from "./voice-gsbrh5b6.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./generate-z5v4ffb3.js";
6
+ } from "./voice-z5v4ffb3.js";
7
7
  import {
8
8
  Service81
9
- } from "./generate-jsxs2ezn.js";
9
+ } from "./voice-cy3cg06b.js";
10
10
  import {
11
- Service36
12
- } from "./generate-2cj70478.js";
11
+ Service51
12
+ } from "./voice-gchk0vkb.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source3
17
- } from "./generate-0yfxsrzp.js";
16
+ Source4
17
+ } from "./voice-jc4mxe0h.js";
18
18
  import {
19
- Service10
20
- } from "./generate-y7nndgyc.js";
19
+ Service13
20
+ } from "./voice-g686f6pq.js";
21
21
  import {
22
22
  parse2
23
- } from "./generate-58tzmscz.js";
23
+ } from "./voice-rzk8bj82.js";
24
24
  import {
25
25
  ignore2,
26
26
  scan2
27
- } from "./generate-bzeyqsqd.js";
27
+ } from "./voice-bzeyqsqd.js";
28
28
  import {
29
29
  __export
30
- } from "./generate-9rqn6x4v.js";
30
+ } from "./voice-9rqn6x4v.js";
31
31
 
32
32
  // src/config/plugin/skill.ts
33
- var exports_skill2 = {};
34
- __export(exports_skill2, {
35
- ConfigSkillPlugin: () => exports_skill2,
36
- Plugin: () => Plugin30
33
+ var exports_skill3 = {};
34
+ __export(exports_skill3, {
35
+ ConfigSkillPlugin: () => exports_skill3,
36
+ Plugin: () => Plugin38
37
37
  });
38
38
  import { define } from "@opencode/plugin/effect/plugin";
39
39
  import { FSUtil } from "@opencode/util/fs-util";
40
40
  import { Global } from "@opencode/util/global";
41
41
  import path from "path";
42
42
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
43
- var Plugin30 = define({
43
+ var Plugin38 = define({
44
44
  id: "opencode.config.skill",
45
45
  effect: Effect.fn(function* (ctx) {
46
- const config = yield* Service36;
47
- const discovery = yield* Service10;
46
+ const config = yield* Service51;
47
+ const discovery = yield* Service13;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const global = yield* Global.Service;
50
50
  const location = yield* Service81;
51
- const watcher = yield* Service37;
51
+ const watcher = yield* Service52;
52
52
  const loaded = {
53
53
  entries: yield* config.entries(),
54
54
  skills: []
@@ -91,7 +91,7 @@ var Plugin30 = define({
91
91
  const sources = () => {
92
92
  const result = [];
93
93
  const add = (source) => {
94
- if (result.some((item) => Source3.equals(item, source)))
94
+ if (result.some((item) => Source4.equals(item, source)))
95
95
  return;
96
96
  result.push(source);
97
97
  };
@@ -116,7 +116,7 @@ var Plugin30 = define({
116
116
  };
117
117
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
118
118
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
119
- source: Source3.key(source),
119
+ source: Source4.key(source),
120
120
  cause
121
121
  }).pipe(Effect.as([]))));
122
122
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -144,7 +144,7 @@ var Plugin30 = define({
144
144
  }
145
145
  }
146
146
  yield* Effect.logDebug("skill source loaded", {
147
- source: Source3.key(source),
147
+ source: Source4.key(source),
148
148
  type: source.type,
149
149
  directories,
150
150
  skills: skills.map((skill) => skill.id)
@@ -163,7 +163,7 @@ var Plugin30 = define({
163
163
  if (file) {
164
164
  yield* Effect.logInfo("skills rescanned", {
165
165
  file,
166
- sources: current.map(Source3.key),
166
+ sources: current.map(Source4.key),
167
167
  skills: loaded.skills.map((skill) => skill.id)
168
168
  });
169
169
  }
@@ -179,4 +179,4 @@ var Plugin30 = define({
179
179
  })
180
180
  });
181
181
 
182
- export { Plugin30, exports_skill2 };
182
+ export { Plugin38, exports_skill3 };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  useragent2
3
- } from "./generate-7ydzythe.js";
3
+ } from "./voice-84pnh87n.js";
4
4
  import {
5
- Service84
6
- } from "./generate-2vc2tgzp.js";
5
+ Service85
6
+ } from "./voice-4bnzbgn8.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17
10
- } from "./generate-j9esqkaj.js";
9
+ Event19
10
+ } from "./voice-m0xs32yr.js";
11
11
  import {
12
12
  key2
13
- } from "./generate-x661k3y3.js";
13
+ } from "./voice-y6bex35g.js";
14
14
  import {
15
- ID13,
15
+ ID14,
16
16
  MethodID2,
17
17
  AuthorizationError2
18
- } from "./generate-d0dysfx8.js";
18
+ } from "./voice-fcy1mh1a.js";
19
19
  import {
20
- Service13
21
- } from "./generate-am1tmpj5.js";
20
+ Service22
21
+ } from "./voice-n5csmyza.js";
22
22
  import {
23
- ID12,
23
+ ID13,
24
24
  mergeOverlay2,
25
25
  mergeHeaders2
26
- } from "./generate-zw38a422.js";
26
+ } from "./voice-3px9zfj5.js";
27
27
  import {
28
28
  mergeCapabilities2
29
- } from "./generate-sdds1ttc.js";
29
+ } from "./voice-hn4xv43g.js";
30
30
  import {
31
31
  supports2,
32
32
  resolve2
33
- } from "./generate-dcpjzjzy.js";
33
+ } from "./voice-jpt0ksjm.js";
34
34
  import {
35
- ID4,
36
- Input14,
35
+ ID6,
36
+ Input15,
37
37
  Response2
38
- } from "./generate-41g0a9q5.js";
38
+ } from "./voice-15rr0twx.js";
39
39
 
40
40
  // src/plugin/provider/opencode.ts
41
41
  import { Duration, Effect, Equal, FiberHandle, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
61
61
  var RemoteResponse = Schema.Struct({
62
62
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
63
63
  websearch: Schema.Struct({
64
- providerID: ID4
64
+ providerID: ID6
65
65
  }).pipe(Schema.optional),
66
66
  mcp: Schema.Struct({
67
67
  servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
112
112
  }
113
113
  function oauth(http) {
114
114
  return {
115
- integrationID: ID13.make("opencode"),
115
+ integrationID: ID14.make("opencode"),
116
116
  method: {
117
117
  id: methodID,
118
118
  type: "oauth",
@@ -176,10 +176,10 @@ function oauth(http) {
176
176
  var OpencodePlugin2 = define({
177
177
  id: "opencode.provider.opencode",
178
178
  effect: Effect.fn(function* (ctx) {
179
- const bus = yield* Service84;
179
+ const bus = yield* Service85;
180
180
  const client = yield* HttpClient.HttpClient;
181
181
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
182
- const managed = yield* Service13;
182
+ const managed = yield* Service22;
183
183
  const scope = yield* Scope.Scope;
184
184
  const loading = Semaphore.makeUnsafe(1);
185
185
  let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
231
231
  providers.update(providerID, (provider) => {
232
232
  if (source && source.provider !== provider)
233
233
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
234
- provider.integrationID = ID13.make("opencode");
234
+ provider.integrationID = ID14.make("opencode");
235
235
  if (item.canonical !== undefined)
236
236
  provider.canonical = item.canonical;
237
237
  if (item.name !== undefined)
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
303
303
  sourceConnection: snapshot.connection
304
304
  });
305
305
  }
306
- const item = providers.get(ID12.opencode);
306
+ const item = providers.get(ID13.opencode);
307
307
  if (!item)
308
308
  return;
309
309
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
315
315
  });
316
316
  });
317
317
  yield* ctx.model.transform((models) => {
318
- const item = models.provider.get(ID12.opencode);
318
+ const item = models.provider.get(ID13.opencode);
319
319
  if (!item)
320
320
  return;
321
321
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
349
349
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
350
350
  const token = credential.type === "oauth" ? credential.access : credential.key;
351
351
  const server = yield* normalizeServer(serverUrl(credential));
352
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
352
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
353
353
  query: input.query,
354
354
  providerID: descriptor.providerID
355
355
  }));
@@ -404,7 +404,7 @@ var OpencodePlugin2 = define({
404
404
  });
405
405
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
406
406
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
407
- explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
407
+ explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
408
408
  });
409
409
  yield* guard(snapshot);
410
410
  const polling = yield* FiberHandle.make();
@@ -415,7 +415,7 @@ var OpencodePlugin2 = define({
415
415
  onlyIfMissing: true
416
416
  });
417
417
  });
418
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
418
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
419
419
  yield* poll();
420
420
  })
421
421
  });
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./generate-rdw6cm16.js";
3
+ } from "./voice-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./generate-9rqn6x4v.js";
6
+ } from "./voice-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service8,
13
- node: () => node10
12
+ Service: () => Service12,
13
+ node: () => node14
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service8 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service8, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service8.of({
44
+ return Service12.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node10 = makeLocationNode({ service: Service8, layer, deps: [] });
51
+ var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
52
52
 
53
- export { Service8, node10, exports_location_watcher_policy };
53
+ export { Service12, node14, exports_location_watcher_policy };