@opencode/core 0.0.0-dev-55 → 0.0.0-dev-57

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 (825) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{repository-cache-98qrekfe.js → voice-01hzmesg.js} +5 -5
  8. package/dist/chunks/{repository-cache-034tev2y.js → voice-034tev2y.js} +2 -2
  9. package/dist/chunks/{repository-cache-c1tffms3.js → voice-0499dma4.js} +49 -49
  10. package/dist/chunks/{repository-cache-yz9rz98a.js → voice-06ezgrzy.js} +6 -6
  11. package/dist/chunks/{repository-cache-4rdf7p1z.js → voice-0845q3gj.js} +6 -6
  12. package/dist/chunks/{repository-cache-zgd8t41s.js → voice-0anyt1n6.js} +9 -9
  13. package/dist/chunks/{repository-cache-bxpjy74r.js → voice-0bv00g8w.js} +18 -18
  14. package/dist/chunks/{repository-cache-atw8c7pr.js → voice-0cjne1ht.js} +6 -6
  15. package/dist/chunks/{repository-cache-j7407a90.js → voice-0kw155k6.js} +15 -15
  16. package/dist/chunks/{repository-cache-mptjpcxy.js → voice-0sddac90.js} +14 -14
  17. package/dist/chunks/{repository-cache-gybe5gkg.js → voice-0w0j4zb6.js} +17 -17
  18. package/dist/chunks/{repository-cache-kqjqdw98.js → voice-1007g3v6.js} +45 -45
  19. package/dist/chunks/{repository-cache-54cc93aa.js → voice-10gc87d5.js} +37 -37
  20. package/dist/chunks/{repository-cache-0k1p4s69.js → voice-167k1kjn.js} +7 -7
  21. package/dist/chunks/{repository-cache-1ep2p91f.js → voice-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{repository-cache-pzbtwyx3.js → voice-1j3zz24p.js} +25 -25
  23. package/dist/chunks/{repository-cache-zwenfqkq.js → voice-1vhdvxsr.js} +7 -7
  24. package/dist/chunks/{repository-cache-1x2knyw4.js → voice-1x2knyw4.js} +1 -1
  25. package/dist/chunks/{repository-cache-5zrxpy3q.js → voice-1yq9hg58.js} +5 -5
  26. package/dist/chunks/{repository-cache-204s3925.js → voice-204s3925.js} +1 -1
  27. package/dist/chunks/{repository-cache-jzesebws.js → voice-23gcmnwj.js} +17 -17
  28. package/dist/chunks/{repository-cache-mj0wev1x.js → voice-2jrrfqe1.js} +4 -4
  29. package/dist/chunks/{repository-cache-0731t3tw.js → voice-2ks13shy.js} +8 -8
  30. package/dist/chunks/{repository-cache-1znhd7w1.js → voice-2qg30da6.js} +27 -27
  31. package/dist/chunks/{repository-cache-8nzygxt8.js → voice-2qrqq6yy.js} +51 -51
  32. package/dist/chunks/{repository-cache-x00hvv89.js → voice-2v75jgzs.js} +3 -3
  33. package/dist/chunks/voice-2wf7n5fq.js +517 -0
  34. package/dist/chunks/{repository-cache-b58rnyhw.js → voice-32mmt9a9.js} +22 -22
  35. package/dist/chunks/{repository-cache-sgrnxxty.js → voice-3dhvgxbq.js} +22 -22
  36. package/dist/chunks/{repository-cache-a0tqv4gf.js → voice-3f3rbz9f.js} +17 -17
  37. package/dist/chunks/{repository-cache-3hepkmqq.js → voice-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{repository-cache-a16f13fh.js → voice-3jt7fkd3.js} +25 -25
  39. package/dist/chunks/{repository-cache-3nnrz6f6.js → voice-3nnrz6f6.js} +1 -1
  40. package/dist/chunks/{repository-cache-6ze967nv.js → voice-3qae70kn.js} +44 -44
  41. package/dist/chunks/{repository-cache-3ryz99p0.js → voice-3ryz99p0.js} +1 -1
  42. package/dist/chunks/{repository-cache-havzekw2.js → voice-3zscrxmb.js} +1 -1
  43. package/dist/chunks/{repository-cache-pfy2m4ca.js → voice-40ykd73j.js} +5 -5
  44. package/dist/chunks/voice-47mgcevd.js +18 -0
  45. package/dist/chunks/{repository-cache-efz9xtfj.js → voice-4bm9rtxh.js} +23 -23
  46. package/dist/chunks/{repository-cache-fsd04637.js → voice-4fn4xwd8.js} +9 -9
  47. package/dist/chunks/{repository-cache-fhsk438g.js → voice-4m8qpmeh.js} +10 -10
  48. package/dist/chunks/{repository-cache-4pyp9zr9.js → voice-4pyp9zr9.js} +1 -1
  49. package/dist/chunks/{repository-cache-4v008n1t.js → voice-4v008n1t.js} +1 -1
  50. package/dist/chunks/{repository-cache-x6d4sgx3.js → voice-4wrg7t9t.js} +11 -11
  51. package/dist/chunks/{repository-cache-rx5gvnt1.js → voice-4xajzs9j.js} +28 -28
  52. package/dist/chunks/{repository-cache-vdatw69e.js → voice-53d2pjsn.js} +17 -17
  53. package/dist/chunks/{repository-cache-sa01r6br.js → voice-58b3e62c.js} +7 -7
  54. package/dist/chunks/{repository-cache-5vz29j2k.js → voice-58jsyy64.js} +22 -22
  55. package/dist/chunks/{repository-cache-4yq3azdc.js → voice-599krhpm.js} +24 -24
  56. package/dist/chunks/{repository-cache-qkxp7296.js → voice-5g5x25gy.js} +1 -1
  57. package/dist/chunks/{repository-cache-5m9w47nd.js → voice-5m9w47nd.js} +1 -1
  58. package/dist/chunks/{repository-cache-b6vsg801.js → voice-5nnwax6m.js} +5 -5
  59. package/dist/chunks/{repository-cache-r6whtadg.js → voice-5nr3d7s3.js} +12 -12
  60. package/dist/chunks/{repository-cache-fcq8h12c.js → voice-5wjr6fkz.js} +32 -32
  61. package/dist/chunks/{repository-cache-fwgp6qwj.js → voice-5yvgv78r.js} +2 -2
  62. package/dist/chunks/{repository-cache-1cdppm47.js → voice-624wxrz4.js} +33 -33
  63. package/dist/chunks/{repository-cache-ze8w1qcn.js → voice-65qayyzs.js} +64 -64
  64. package/dist/chunks/{repository-cache-w81qrt50.js → voice-67qt31za.js} +9 -9
  65. package/dist/chunks/{repository-cache-401hbwyh.js → voice-6cyptcb7.js} +5 -5
  66. package/dist/chunks/{repository-cache-6esdw8yj.js → voice-6esdw8yj.js} +1 -1
  67. package/dist/chunks/{repository-cache-69zgfr7z.js → voice-6q6jcgrq.js} +12 -12
  68. package/dist/chunks/{repository-cache-6xz7nqt8.js → voice-6xpbr6gj.js} +12 -12
  69. package/dist/chunks/{repository-cache-6fjx9w38.js → voice-6yr1t08v.js} +18 -18
  70. package/dist/chunks/{repository-cache-vb2nzj1m.js → voice-71qgcqyr.js} +25 -25
  71. package/dist/chunks/{repository-cache-w8qtt4th.js → voice-76cb1hcw.js} +4 -4
  72. package/dist/chunks/{repository-cache-7bmhse3q.js → voice-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{repository-cache-0mv4v5wj.js → voice-7cyk4b0a.js} +10 -10
  74. package/dist/chunks/{repository-cache-6zz3v10r.js → voice-7djxxean.js} +17 -17
  75. package/dist/chunks/{repository-cache-7w2ypzdf.js → voice-7w2ypzdf.js} +1 -1
  76. package/dist/chunks/{repository-cache-gh11ee6b.js → voice-7x7byhh6.js} +15 -15
  77. package/dist/chunks/{repository-cache-k2rhsbab.js → voice-7z4jt7pt.js} +4 -4
  78. package/dist/chunks/{repository-cache-vqxcyac6.js → voice-7zas845x.js} +11 -11
  79. package/dist/chunks/{repository-cache-3z0hxnyk.js → voice-892pspt6.js} +5 -5
  80. package/dist/chunks/{repository-cache-1860ddgg.js → voice-8k4cdfe6.js} +25 -25
  81. package/dist/chunks/{repository-cache-bec1vpmw.js → voice-8m9jmf2h.js} +28 -28
  82. package/dist/chunks/{repository-cache-8t2j541k.js → voice-8mbkjray.js} +13 -13
  83. package/dist/chunks/{repository-cache-126c3fvz.js → voice-8n2t26nh.js} +4 -4
  84. package/dist/chunks/{repository-cache-8wtp7s3z.js → voice-8wtp7s3z.js} +1 -1
  85. package/dist/chunks/{repository-cache-06w9ffrv.js → voice-8y4jps98.js} +7 -7
  86. package/dist/chunks/{repository-cache-90zstvax.js → voice-90zstvax.js} +1 -1
  87. package/dist/chunks/{repository-cache-dg9hqg77.js → voice-91ea969m.js} +3 -3
  88. package/dist/chunks/{repository-cache-3hq0yj39.js → voice-97nwdmh3.js} +2 -2
  89. package/dist/chunks/{repository-cache-grnvj370.js → voice-97y5zqgm.js} +11 -11
  90. package/dist/chunks/{repository-cache-5bbnem9k.js → voice-98tqkwke.js} +11 -11
  91. package/dist/chunks/{repository-cache-js6kqssh.js → voice-98v9r3fv.js} +5 -5
  92. package/dist/chunks/{repository-cache-grfmaxtg.js → voice-99g89aab.js} +45 -45
  93. package/dist/chunks/voice-9a1536m0.js +26 -0
  94. package/dist/chunks/{repository-cache-9cx9sm2q.js → voice-9cx9sm2q.js} +1 -1
  95. package/dist/chunks/{repository-cache-f2hv8cv8.js → voice-9jtdy14e.js} +8 -8
  96. package/dist/chunks/{repository-cache-c7w77bqn.js → voice-9nend1qa.js} +12 -12
  97. package/dist/chunks/{repository-cache-zaq8ky8h.js → voice-9sa855rb.js} +11 -11
  98. package/dist/chunks/{repository-cache-0h58xf1g.js → voice-9xy4cp6z.js} +32 -32
  99. package/dist/chunks/{repository-cache-scvnz3tv.js → voice-a03fp18r.js} +45 -45
  100. package/dist/chunks/{repository-cache-744d0c63.js → voice-aftek2c1.js} +5 -5
  101. package/dist/chunks/{repository-cache-8mtpnz0v.js → voice-agaj9fz3.js} +25 -25
  102. package/dist/chunks/{repository-cache-csyeyjrf.js → voice-ajkvdsy7.js} +9 -9
  103. package/dist/chunks/{repository-cache-dh0xafzq.js → voice-aqdx8y6s.js} +31 -31
  104. package/dist/chunks/{repository-cache-ayjs7tqn.js → voice-ayjs7tqn.js} +2 -2
  105. package/dist/chunks/{repository-cache-rqx7f7vj.js → voice-b6esqetq.js} +4 -4
  106. package/dist/chunks/{repository-cache-kke9g1hb.js → voice-b76kh15p.js} +53 -53
  107. package/dist/chunks/{repository-cache-61ennm6n.js → voice-bjhzkqyk.js} +4 -4
  108. package/dist/chunks/{repository-cache-6z1320sj.js → voice-bpqd88nv.js} +27 -27
  109. package/dist/chunks/{repository-cache-yfkhsjsm.js → voice-bsehvcdd.js} +6 -6
  110. package/dist/chunks/{repository-cache-kk93czde.js → voice-bsn3ehjn.js} +10 -10
  111. package/dist/chunks/{repository-cache-bstexjd6.js → voice-bstexjd6.js} +1 -1
  112. package/dist/chunks/{repository-cache-t0zgzgtb.js → voice-bz5rg81d.js} +5 -5
  113. package/dist/chunks/{repository-cache-haf3v3hy.js → voice-c46s9eb3.js} +5 -5
  114. package/dist/chunks/{repository-cache-dqpjcdfr.js → voice-c4cvby0k.js} +9 -9
  115. package/dist/chunks/{repository-cache-76g7jkkw.js → voice-c6kbd45d.js} +12 -12
  116. package/dist/chunks/{repository-cache-dkqkergf.js → voice-cb54j1zr.js} +5 -5
  117. package/dist/chunks/{repository-cache-6nw1th37.js → voice-cc1ayxf2.js} +4 -4
  118. package/dist/chunks/{repository-cache-xwmtk72n.js → voice-cdkymz2t.js} +8 -8
  119. package/dist/chunks/{repository-cache-wa8k00xj.js → voice-cg3fcpn4.js} +6 -6
  120. package/dist/chunks/{repository-cache-fdfvc1dg.js → voice-ctg5f7mn.js} +24 -24
  121. package/dist/chunks/{repository-cache-69gwv1xx.js → voice-cw10c582.js} +5 -5
  122. package/dist/chunks/{repository-cache-cwrgdav8.js → voice-cwrgdav8.js} +2 -2
  123. package/dist/chunks/{repository-cache-x4gc5gbk.js → voice-czd7c3xf.js} +9 -9
  124. package/dist/chunks/{repository-cache-pk48tdmc.js → voice-d3357zgj.js} +8 -8
  125. package/dist/chunks/{repository-cache-d4v9tmah.js → voice-d4v9tmah.js} +2 -2
  126. package/dist/chunks/{repository-cache-agrjqxtd.js → voice-d6kwdrvh.js} +42 -42
  127. package/dist/chunks/{repository-cache-gj88ka9e.js → voice-db6cfnzd.js} +14 -14
  128. package/dist/chunks/{repository-cache-6y263vp8.js → voice-dbmp929s.js} +5 -5
  129. package/dist/chunks/{repository-cache-9ryshn0f.js → voice-dc5b4f3v.js} +24 -24
  130. package/dist/chunks/{repository-cache-h4ydejha.js → voice-dcwnaxc5.js} +13 -13
  131. package/dist/chunks/{repository-cache-3w0ebqzc.js → voice-deq699sy.js} +12 -12
  132. package/dist/chunks/{repository-cache-djjzzs3c.js → voice-dhmvnrgm.js} +6 -6
  133. package/dist/chunks/{repository-cache-75g1xcwv.js → voice-dhz3v7js.js} +16 -16
  134. package/dist/chunks/{repository-cache-4c9y6q6s.js → voice-dmv5k21e.js} +12 -12
  135. package/dist/chunks/{repository-cache-dt77769w.js → voice-dt77769w.js} +1 -1
  136. package/dist/chunks/{repository-cache-jgy2dcvd.js → voice-dvxs3aax.js} +49 -29
  137. package/dist/chunks/{repository-cache-f1h45990.js → voice-dx06a5b9.js} +40 -40
  138. package/dist/chunks/{repository-cache-e07q2w5p.js → voice-e07q2w5p.js} +1 -1
  139. package/dist/chunks/{repository-cache-9tvpxs1q.js → voice-e29sndgb.js} +4 -4
  140. package/dist/chunks/{repository-cache-yc79q165.js → voice-e6xhnch8.js} +14 -14
  141. package/dist/chunks/{repository-cache-bwjvbmsb.js → voice-e7e7acjr.js} +77 -77
  142. package/dist/chunks/{repository-cache-e834z07m.js → voice-e834z07m.js} +1 -1
  143. package/dist/chunks/{repository-cache-pnwsrq7c.js → voice-esezyxfc.js} +8 -8
  144. package/dist/chunks/{repository-cache-b4e3zc8a.js → voice-exdcmq9k.js} +40 -40
  145. package/dist/chunks/{repository-cache-f4zya5pk.js → voice-f04pnkf6.js} +36 -36
  146. package/dist/chunks/{repository-cache-0xaqh9kd.js → voice-fa9qpmft.js} +5 -5
  147. package/dist/chunks/{repository-cache-fffv3p7h.js → voice-fffv3p7h.js} +1 -1
  148. package/dist/chunks/{repository-cache-0av67dp6.js → voice-fjz4xhpj.js} +4 -4
  149. package/dist/chunks/{repository-cache-60ge4sjk.js → voice-fq3ba3sp.js} +20 -20
  150. package/dist/chunks/{repository-cache-0fe450at.js → voice-fw8ej081.js} +16 -16
  151. package/dist/chunks/{repository-cache-snb89k4v.js → voice-g0cy2b9m.js} +37 -37
  152. package/dist/chunks/{repository-cache-pankmnx0.js → voice-g1zw1z8b.js} +16 -16
  153. package/dist/chunks/{repository-cache-stwk20ed.js → voice-gg1s83pv.js} +8 -8
  154. package/dist/chunks/{repository-cache-gg8p9cgs.js → voice-gg8p9cgs.js} +3 -3
  155. package/dist/chunks/{repository-cache-bt05tr8e.js → voice-ghyaae4n.js} +8 -8
  156. package/dist/chunks/{repository-cache-gf4hftfj.js → voice-gmm5ktza.js} +10 -10
  157. package/dist/chunks/{repository-cache-jwhwbamd.js → voice-gp6mf0gh.js} +21 -21
  158. package/dist/chunks/{repository-cache-zc9mtzb2.js → voice-h21wq8dj.js} +10 -10
  159. package/dist/chunks/{repository-cache-sjt6c43d.js → voice-haxfm848.js} +10 -10
  160. package/dist/chunks/{repository-cache-hdfrs5mg.js → voice-hdfrs5mg.js} +2 -2
  161. package/dist/chunks/{repository-cache-cbyw8mhh.js → voice-hfgsweyf.js} +13 -13
  162. package/dist/chunks/{repository-cache-taveqshq.js → voice-hj2r905t.js} +11 -11
  163. package/dist/chunks/{repository-cache-hpg1pkwy.js → voice-hpg1pkwy.js} +1 -1
  164. package/dist/chunks/{repository-cache-1v5xq3rj.js → voice-hs4qbtzy.js} +24 -24
  165. package/dist/chunks/{repository-cache-2c4q4gd1.js → voice-hswehyeg.js} +6 -6
  166. package/dist/chunks/{repository-cache-bwewbjz4.js → voice-hxz1rpeq.js} +13 -13
  167. package/dist/chunks/{repository-cache-dwy6z8dc.js → voice-jbhx3waq.js} +21 -21
  168. package/dist/chunks/{repository-cache-jfaecv01.js → voice-jfaecv01.js} +1 -1
  169. package/dist/chunks/{repository-cache-hxvg6wb1.js → voice-jn0ha7tb.js} +15 -15
  170. package/dist/chunks/{repository-cache-j0tgfc8g.js → voice-jphwvgs8.js} +8 -8
  171. package/dist/chunks/{repository-cache-jtnps1zs.js → voice-jtnps1zs.js} +2 -2
  172. package/dist/chunks/{repository-cache-wvk1wtsq.js → voice-jwny47a8.js} +11 -11
  173. package/dist/chunks/{repository-cache-q5h6r7rp.js → voice-jyghsh6w.js} +27 -27
  174. package/dist/chunks/{repository-cache-75v6tc0m.js → voice-k27h00cx.js} +15 -15
  175. package/dist/chunks/{repository-cache-2nn7s44w.js → voice-k2t3c39j.js} +35 -35
  176. package/dist/chunks/{repository-cache-jmzf3sak.js → voice-k4qfv7f7.js} +30 -30
  177. package/dist/chunks/{repository-cache-2cwns7qk.js → voice-k7dgtzr0.js} +19 -19
  178. package/dist/chunks/{repository-cache-k814nvkf.js → voice-k814nvkf.js} +1 -1
  179. package/dist/chunks/{repository-cache-m29sxe67.js → voice-kmvkbhfj.js} +19 -19
  180. package/dist/chunks/{repository-cache-bb4x0tjg.js → voice-kph8v831.js} +192 -192
  181. package/dist/chunks/{repository-cache-2r71v196.js → voice-kq33adek.js} +14 -14
  182. package/dist/chunks/{repository-cache-rz5tx8yt.js → voice-kqzza1zq.js} +19 -19
  183. package/dist/chunks/{repository-cache-txxjr4gv.js → voice-ks68fknv.js} +31 -30
  184. package/dist/chunks/{repository-cache-kt3bjfbg.js → voice-kt3bjfbg.js} +1 -1
  185. package/dist/chunks/{repository-cache-q9eywg3w.js → voice-ktx73zhb.js} +26 -26
  186. package/dist/chunks/{repository-cache-m1714858.js → voice-m1714858.js} +1 -1
  187. package/dist/chunks/{repository-cache-bx992dmv.js → voice-m8n691gw.js} +9 -9
  188. package/dist/chunks/{repository-cache-m9w0rfyh.js → voice-m9w0rfyh.js} +1 -1
  189. package/dist/chunks/{repository-cache-5btzaxpa.js → voice-mcrc89gz.js} +16 -16
  190. package/dist/chunks/{repository-cache-9111wyrc.js → voice-mdnn9ky1.js} +6 -6
  191. package/dist/chunks/{repository-cache-06pe9pmm.js → voice-mfs4xky7.js} +25 -25
  192. package/dist/chunks/{repository-cache-76q453m6.js → voice-mnh54r8t.js} +25 -25
  193. package/dist/chunks/{repository-cache-qkqjbc48.js → voice-mqe7nf5n.js} +3 -3
  194. package/dist/chunks/{repository-cache-0kze6sgm.js → voice-mrkvdb36.js} +23 -23
  195. package/dist/chunks/{repository-cache-368y3b8n.js → voice-mv4xrkfq.js} +15 -15
  196. package/dist/chunks/{repository-cache-93ab2gax.js → voice-mxwqyfqs.js} +20 -20
  197. package/dist/chunks/{repository-cache-me73n50h.js → voice-n3abp4ag.js} +5 -5
  198. package/dist/chunks/{repository-cache-770pw0s1.js → voice-nah043kf.js} +4 -4
  199. package/dist/chunks/{repository-cache-5mkx8w5e.js → voice-nfzbfn8t.js} +11 -11
  200. package/dist/chunks/{repository-cache-x4etgdbd.js → voice-ngqsybpd.js} +19 -19
  201. package/dist/chunks/{repository-cache-g3hvekgd.js → voice-nnq50psy.js} +17 -17
  202. package/dist/chunks/{repository-cache-sh0q5wym.js → voice-nxs7hb8x.js} +35 -35
  203. package/dist/chunks/{repository-cache-p015t6z3.js → voice-p015t6z3.js} +2 -2
  204. package/dist/chunks/{repository-cache-ywqn3jdz.js → voice-p1764e5q.js} +5 -5
  205. package/dist/chunks/{repository-cache-0tgb71k0.js → voice-p7c20s5f.js} +34 -34
  206. package/dist/chunks/{repository-cache-pbbktnbz.js → voice-pbbktnbz.js} +4 -4
  207. package/dist/chunks/{repository-cache-h255y8je.js → voice-pgbtsnjz.js} +35 -35
  208. package/dist/chunks/{repository-cache-efqx7wb7.js → voice-phfy3n1c.js} +13 -13
  209. package/dist/chunks/{repository-cache-pknna89w.js → voice-pknna89w.js} +1 -1
  210. package/dist/chunks/{repository-cache-knt1f303.js → voice-pr4khsft.js} +15 -15
  211. package/dist/chunks/{repository-cache-prq7xxp2.js → voice-prq7xxp2.js} +2 -2
  212. package/dist/chunks/{repository-cache-an749m78.js → voice-q5g1z60e.js} +1 -1
  213. package/dist/chunks/{repository-cache-207ajt2h.js → voice-qa7075pb.js} +5 -5
  214. package/dist/chunks/{repository-cache-q9qc3bva.js → voice-qc3yxwbf.js} +9 -9
  215. package/dist/chunks/{repository-cache-hgrfbex2.js → voice-qdepv7am.js} +13 -13
  216. package/dist/chunks/{repository-cache-46mxd6jt.js → voice-qehy7vmb.js} +33 -33
  217. package/dist/chunks/{repository-cache-qp7r0hxv.js → voice-qp7r0hxv.js} +1 -1
  218. package/dist/chunks/{repository-cache-ts7mkfs9.js → voice-qsee9sfb.js} +3 -3
  219. package/dist/chunks/{repository-cache-1p9mjqrz.js → voice-qy6htv74.js} +19 -19
  220. package/dist/chunks/{repository-cache-j49x6kf4.js → voice-qz087kyw.js} +8 -8
  221. package/dist/chunks/{repository-cache-r0yr0wbs.js → voice-r0yr0wbs.js} +1 -1
  222. package/dist/chunks/{repository-cache-adf3gjyn.js → voice-r164m7qe.js} +31 -31
  223. package/dist/chunks/{repository-cache-r542h3bh.js → voice-r542h3bh.js} +1 -1
  224. package/dist/chunks/{repository-cache-4btp19b3.js → voice-r5c4mdv8.js} +14 -14
  225. package/dist/chunks/{repository-cache-rp5k6d8n.js → voice-r760fp65.js} +16 -16
  226. package/dist/chunks/{repository-cache-rb9dy4dg.js → voice-rb9dy4dg.js} +1 -1
  227. package/dist/chunks/{repository-cache-jcqm84fr.js → voice-rjnacbrz.js} +9 -9
  228. package/dist/chunks/{repository-cache-m6ved7xn.js → voice-rkqwg3ds.js} +22 -22
  229. package/dist/chunks/{repository-cache-cyty15yb.js → voice-rrh41g93.js} +25 -25
  230. package/dist/chunks/{repository-cache-rt5dr6hb.js → voice-rt5dr6hb.js} +1 -1
  231. package/dist/chunks/{repository-cache-thyeeq05.js → voice-rtyaeab5.js} +3 -3
  232. package/dist/chunks/{repository-cache-c9xzbdd8.js → voice-s07647gj.js} +5 -5
  233. package/dist/chunks/{repository-cache-9q8g9sv8.js → voice-s7kyse9r.js} +4 -4
  234. package/dist/chunks/{repository-cache-dys1grgm.js → voice-s81f0b1e.js} +11 -11
  235. package/dist/chunks/{repository-cache-sa3fpqfw.js → voice-sa3fpqfw.js} +2 -2
  236. package/dist/chunks/{repository-cache-asrq7j76.js → voice-skwkb0ye.js} +17 -17
  237. package/dist/chunks/{repository-cache-s6re1h3h.js → voice-sm7m2ac6.js} +34 -34
  238. package/dist/chunks/{repository-cache-sqjzf8x2.js → voice-sqjzf8x2.js} +1 -1
  239. package/dist/chunks/{repository-cache-ssfehs1z.js → voice-ssfehs1z.js} +1 -1
  240. package/dist/chunks/{repository-cache-0711fn9k.js → voice-st19m5xz.js} +27 -27
  241. package/dist/chunks/{repository-cache-svcy3p9a.js → voice-svcy3p9a.js} +1 -1
  242. package/dist/chunks/{repository-cache-mc3192g6.js → voice-syk69snw.js} +54 -54
  243. package/dist/chunks/{repository-cache-ws0jw39t.js → voice-t1pzh7wp.js} +27 -27
  244. package/dist/chunks/{repository-cache-3t73xeyv.js → voice-t5jqs5j7.js} +2 -2
  245. package/dist/chunks/{repository-cache-gcgkk9nz.js → voice-t6ys7h3t.js} +21 -21
  246. package/dist/chunks/{repository-cache-tczq8hjw.js → voice-tczq8hjw.js} +1 -1
  247. package/dist/chunks/{repository-cache-twssxy5n.js → voice-twssxy5n.js} +2 -2
  248. package/dist/chunks/{repository-cache-v2r1d0zg.js → voice-v2r1d0zg.js} +1 -1
  249. package/dist/chunks/{repository-cache-q1s8j9ch.js → voice-v2x5cj37.js} +4 -4
  250. package/dist/chunks/{repository-cache-s0815yd1.js → voice-v5gneykh.js} +32 -32
  251. package/dist/chunks/{repository-cache-tg1vr1qt.js → voice-v5hpj9dd.js} +8 -8
  252. package/dist/chunks/{repository-cache-g4y5gz37.js → voice-v9wrzc4s.js} +6 -6
  253. package/dist/chunks/{repository-cache-ayj1td4f.js → voice-vczbwg46.js} +31 -31
  254. package/dist/chunks/{repository-cache-veqvce7d.js → voice-veqvce7d.js} +1 -1
  255. package/dist/chunks/{repository-cache-g2zgwj7s.js → voice-vf3s78d3.js} +19 -19
  256. package/dist/chunks/{repository-cache-61t7fw61.js → voice-vrwxmw16.js} +24 -24
  257. package/dist/chunks/{repository-cache-ytc9yt2s.js → voice-vzw2tvc4.js} +11 -11
  258. package/dist/chunks/{repository-cache-w2eysc6j.js → voice-w2eysc6j.js} +2 -2
  259. package/dist/chunks/{repository-cache-w3wsvvr9.js → voice-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{repository-cache-j6gvah3y.js → voice-w61b7aaf.js} +30 -30
  261. package/dist/chunks/{repository-cache-w76xjer3.js → voice-w76xjer3.js} +1 -1
  262. package/dist/chunks/voice-w8tddc3z.js +257 -0
  263. package/dist/chunks/{repository-cache-wakvkjy4.js → voice-wakvkjy4.js} +1 -1
  264. package/dist/chunks/{repository-cache-p1vte9h6.js → voice-wc36keqx.js} +11 -11
  265. package/dist/chunks/{repository-cache-wd87259q.js → voice-wd87259q.js} +1 -1
  266. package/dist/chunks/{repository-cache-22nm8aah.js → voice-wdnmbgdk.js} +47 -47
  267. package/dist/chunks/{repository-cache-jb6rb1an.js → voice-wea19wcv.js} +13 -13
  268. package/dist/chunks/{repository-cache-k6c5bswj.js → voice-wqe6c6a7.js} +16 -16
  269. package/dist/chunks/{repository-cache-w687dnns.js → voice-wr3re1en.js} +4 -4
  270. package/dist/chunks/{repository-cache-nx0czgsy.js → voice-x285jzzm.js} +3 -3
  271. package/dist/chunks/{repository-cache-11hfp36g.js → voice-x8nvjgx0.js} +4 -4
  272. package/dist/chunks/{repository-cache-sytrbmxa.js → voice-xebz0nmn.js} +21 -21
  273. package/dist/chunks/{repository-cache-epsjn5re.js → voice-xpr5pvr1.js} +12 -12
  274. package/dist/chunks/{repository-cache-xt0z8zst.js → voice-xt0z8zst.js} +1 -1
  275. package/dist/chunks/{repository-cache-mszzfg2j.js → voice-xwc7hz4k.js} +17 -17
  276. package/dist/chunks/{repository-cache-rwct159c.js → voice-xxm2xjap.js} +8 -8
  277. package/dist/chunks/{repository-cache-twtxmczq.js → voice-y3dxaa8f.js} +12 -12
  278. package/dist/chunks/{repository-cache-sgrvbqkr.js → voice-y5zca0d3.js} +20 -20
  279. package/dist/chunks/{repository-cache-e3p7per7.js → voice-y8wp2ge1.js} +82 -82
  280. package/dist/chunks/{repository-cache-yara3q77.js → voice-yara3q77.js} +2 -2
  281. package/dist/chunks/{repository-cache-yb20nhc3.js → voice-yb20nhc3.js} +1 -1
  282. package/dist/chunks/{repository-cache-rpkzka4k.js → voice-ybfhfg5a.js} +13 -13
  283. package/dist/chunks/{repository-cache-ajv3ghch.js → voice-yf6468f1.js} +36 -25
  284. package/dist/chunks/{repository-cache-2jexvr2j.js → voice-yh3pm5wz.js} +23 -23
  285. package/dist/chunks/{repository-cache-vtsyfctf.js → voice-yk7689p2.js} +27 -27
  286. package/dist/chunks/{repository-cache-v7wb1cp1.js → voice-yrgype0c.js} +16 -16
  287. package/dist/chunks/{repository-cache-z0bkrqjs.js → voice-z0bkrqjs.js} +1 -1
  288. package/dist/chunks/{repository-cache-s3jtzn6y.js → voice-z1s3wjg8.js} +47 -47
  289. package/dist/chunks/{repository-cache-z38nccrw.js → voice-z38nccrw.js} +1 -1
  290. package/dist/chunks/{repository-cache-cwcqs07e.js → voice-zdfftnbr.js} +29 -29
  291. package/dist/chunks/{repository-cache-zgkm4kzm.js → voice-zgkm4kzm.js} +3 -3
  292. package/dist/chunks/{repository-cache-evnead99.js → voice-zjfa8ryw.js} +9 -9
  293. package/dist/chunks/{repository-cache-jpj38ht1.js → voice-zrmzfrmc.js} +4 -4
  294. package/dist/chunks/{repository-cache-83fkeet7.js → voice-zt5v38t6.js} +9 -9
  295. package/dist/chunks/{repository-cache-p96sj727.js → voice-zy94x5ry.js} +6 -6
  296. package/dist/codemode/catalog.js +1 -1
  297. package/dist/codemode/instructions.js +11 -11
  298. package/dist/codemode/tool.js +3 -3
  299. package/dist/codemode/web.js +1 -1
  300. package/dist/command.js +89 -89
  301. package/dist/config/discovery.js +92 -92
  302. package/dist/config/integration.js +1 -1
  303. package/dist/config/markdown.js +1 -1
  304. package/dist/config/normalize.js +107 -107
  305. package/dist/config/plugin/agent.js +121 -121
  306. package/dist/config/plugin/command.js +219 -219
  307. package/dist/config/plugin/compaction.js +162 -162
  308. package/dist/config/plugin/compatibility.js +142 -142
  309. package/dist/config/plugin/entry-observer.js +1 -1
  310. package/dist/config/plugin/formatter.js +122 -122
  311. package/dist/config/plugin/image.js +119 -119
  312. package/dist/config/plugin/instruction.js +121 -121
  313. package/dist/config/plugin/location-watcher.js +123 -123
  314. package/dist/config/plugin/mcp.js +128 -128
  315. package/dist/config/plugin/policy.js +123 -123
  316. package/dist/config/plugin/provider.js +122 -122
  317. package/dist/config/plugin/reference.js +123 -123
  318. package/dist/config/plugin/shell.js +121 -121
  319. package/dist/config/plugin/skill-file.js +138 -138
  320. package/dist/config/plugin/skill-scan.js +3 -3
  321. package/dist/config/plugin/skill.js +141 -141
  322. package/dist/config/plugin/snapshot.js +121 -121
  323. package/dist/config/plugin/source.js +124 -124
  324. package/dist/config/plugin/tool-output.js +122 -122
  325. package/dist/config/plugin/websearch.js +120 -120
  326. package/dist/config/plugin/worktree.js +121 -121
  327. package/dist/config/variable.js +1 -1
  328. package/dist/config/watch.js +1 -1
  329. package/dist/config.js +126 -126
  330. package/dist/console-access.js +1 -1
  331. package/dist/credential/sql.js +2 -2
  332. package/dist/credential.js +89 -89
  333. package/dist/database/database.js +72 -72
  334. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  335. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  336. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  337. package/dist/database/drizzle/index.js +15 -15
  338. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  341. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  349. package/dist/database/drizzle.js +16 -16
  350. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  351. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  352. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  353. package/dist/database/migration/20260225215848_workspace.js +1 -1
  354. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  355. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  356. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  357. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  358. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  359. package/dist/database/migration/20260323234822_events.js +1 -1
  360. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  361. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  362. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  363. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  364. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  365. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  366. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  367. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  368. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  369. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  370. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  371. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  372. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  373. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  374. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  375. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  376. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  377. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  378. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  379. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  380. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  381. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  382. package/dist/database/migration/20260611035744_credential.js +1 -1
  383. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  384. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  385. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  386. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  387. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  388. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  389. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  390. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  391. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  392. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  393. package/dist/database/migration/20260812213948_worktree.js +1 -1
  394. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  395. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  396. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  397. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  398. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  399. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  400. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  401. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  402. package/dist/database/migration/20261025123711_blob.js +1 -1
  403. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  404. package/dist/database/migration.gen.js +55 -55
  405. package/dist/database/migration.js +57 -57
  406. package/dist/database/path.js +2 -2
  407. package/dist/database/schema.gen.js +1 -1
  408. package/dist/database/schema.sql.js +1 -1
  409. package/dist/database/sqlite.bun.js +1 -1
  410. package/dist/database/sqlite.js +1 -1
  411. package/dist/database/sqlite.node.js +1 -1
  412. package/dist/database/sqlite.workerd.js +1 -1
  413. package/dist/database/v1-migration.bun.js +95 -95
  414. package/dist/database/v1-migration.js +1 -1
  415. package/dist/effect/app-node-builder.js +382 -382
  416. package/dist/effect/app-node-platform.js +2 -2
  417. package/dist/effect/keyed-mutex.js +3 -3
  418. package/dist/effect/websocket-constructor.js +1 -1
  419. package/dist/environment/driver.js +1 -1
  420. package/dist/environment/environment.js +101 -101
  421. package/dist/environment/exec-defaults.js +2 -2
  422. package/dist/environment/files.js +1 -1
  423. package/dist/environment/index.js +103 -103
  424. package/dist/environment/local.js +2 -2
  425. package/dist/environment/memory.js +2 -2
  426. package/dist/environment/unavailable.js +3 -3
  427. package/dist/event/sql.js +1 -1
  428. package/dist/event-logger.js +80 -80
  429. package/dist/file-access.js +148 -148
  430. package/dist/file-mutation.js +102 -102
  431. package/dist/file-retention.js +1 -1
  432. package/dist/filesystem/fff.bun.js +2 -2
  433. package/dist/filesystem/fff.js +1 -1
  434. package/dist/filesystem/fff.node.js +2 -2
  435. package/dist/filesystem/fff.workerd.js +2 -2
  436. package/dist/filesystem/file-watch.js +86 -86
  437. package/dist/filesystem/location-watcher-policy.js +6 -6
  438. package/dist/filesystem/location-watcher.js +234 -234
  439. package/dist/filesystem/protected.js +3 -3
  440. package/dist/filesystem/search.js +107 -107
  441. package/dist/filesystem/watcher-binding.js +1 -1
  442. package/dist/filesystem/watcher.js +11 -11
  443. package/dist/filesystem.js +110 -110
  444. package/dist/form.js +80 -80
  445. package/dist/formatter/builtins.js +4 -4
  446. package/dist/formatter.js +95 -95
  447. package/dist/generate.js +111 -111
  448. package/dist/git.js +11 -11
  449. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  450. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  451. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  453. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  455. package/dist/github-copilot/copilot-provider.js +17 -17
  456. package/dist/github-copilot/models.js +99 -99
  457. package/dist/github-copilot/openai-compatible-error.js +1 -1
  458. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  459. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  460. package/dist/github-copilot/responses/openai-error.js +1 -1
  461. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  462. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  463. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  464. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  465. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  467. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  468. package/dist/image/photon-normalize.js +1 -1
  469. package/dist/image/photon-worker.js +1 -1
  470. package/dist/image/photon.js +4 -4
  471. package/dist/image.js +6 -6
  472. package/dist/instance/service.js +5 -5
  473. package/dist/instance.js +373 -373
  474. package/dist/instruction-discovery.js +88 -88
  475. package/dist/instructions/builtins.js +95 -95
  476. package/dist/instructions/index.js +1 -1
  477. package/dist/integration/connection.js +3 -3
  478. package/dist/integration.js +91 -91
  479. package/dist/job.js +84 -84
  480. package/dist/kv/sql.js +2 -2
  481. package/dist/kv.js +79 -79
  482. package/dist/location-activity.js +160 -160
  483. package/dist/location-lifecycle.js +142 -142
  484. package/dist/location-service-map.js +94 -94
  485. package/dist/location-services.js +370 -370
  486. package/dist/location.js +93 -93
  487. package/dist/managed-policy.js +7 -7
  488. package/dist/mcp/client.js +99 -99
  489. package/dist/mcp/index.js +117 -117
  490. package/dist/mcp/instructions.js +168 -168
  491. package/dist/mcp/oauth.js +84 -84
  492. package/dist/mcp/socket-client.js +1 -1
  493. package/dist/mcp/stdio.js +98 -98
  494. package/dist/mime.js +1 -1
  495. package/dist/modal/models.js +99 -99
  496. package/dist/model-resolver.js +107 -107
  497. package/dist/model-retry.js +1 -1
  498. package/dist/model.js +106 -106
  499. package/dist/models-dev/v1.js +1 -1
  500. package/dist/models-dev.js +116 -116
  501. package/dist/oauth/page.js +1 -1
  502. package/dist/permission/saved.js +86 -86
  503. package/dist/permission/sql.js +5 -5
  504. package/dist/permission.js +145 -145
  505. package/dist/persistent-pty/binary.bun.js +1 -1
  506. package/dist/persistent-pty/daemon.js +1 -1
  507. package/dist/persistent-pty/index.js +94 -94
  508. package/dist/persistent-pty/pty-binding.js +1 -1
  509. package/dist/persistent-pty.js +81 -81
  510. package/dist/plugin/agent.js +80 -80
  511. package/dist/plugin/command.js +108 -108
  512. package/dist/plugin/hooks.js +5 -5
  513. package/dist/plugin/host.js +225 -225
  514. package/dist/plugin/identity.js +5 -5
  515. package/dist/plugin/instance.js +5 -5
  516. package/dist/plugin/internal.js +343 -343
  517. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  518. package/dist/plugin/models-dev.js +105 -105
  519. package/dist/plugin/module.js +123 -123
  520. package/dist/plugin/optimize.js +2 -2
  521. package/dist/plugin/plan.js +138 -138
  522. package/dist/plugin/promise.js +1 -1
  523. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  524. package/dist/plugin/provider/azure.js +121 -121
  525. package/dist/plugin/provider/cerebras.js +1 -1
  526. package/dist/plugin/provider/chatgpt.js +121 -121
  527. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  528. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  529. package/dist/plugin/provider/cohere.js +2 -2
  530. package/dist/plugin/provider/configured.js +117 -117
  531. package/dist/plugin/provider/databricks.js +1 -1
  532. package/dist/plugin/provider/digitalocean.js +101 -101
  533. package/dist/plugin/provider/dynamic.js +2 -2
  534. package/dist/plugin/provider/factory.js +1 -1
  535. package/dist/plugin/provider/github-copilot.js +103 -103
  536. package/dist/plugin/provider/gitlab.js +101 -101
  537. package/dist/plugin/provider/google-vertex.js +118 -118
  538. package/dist/plugin/provider/kilo.js +1 -1
  539. package/dist/plugin/provider/llmgateway.js +84 -84
  540. package/dist/plugin/provider/lmstudio.js +128 -128
  541. package/dist/plugin/provider/local.js +127 -127
  542. package/dist/plugin/provider/modal.js +100 -100
  543. package/dist/plugin/provider/neon.js +1 -1
  544. package/dist/plugin/provider/nvidia.js +1 -1
  545. package/dist/plugin/provider/ollama.js +130 -130
  546. package/dist/plugin/provider/openai-context-caps.js +98 -98
  547. package/dist/plugin/provider/openai.js +121 -121
  548. package/dist/plugin/provider/opencode-legacy.js +106 -106
  549. package/dist/plugin/provider/opencode.js +127 -127
  550. package/dist/plugin/provider/openrouter.js +99 -99
  551. package/dist/plugin/provider/perplexity.js +2 -2
  552. package/dist/plugin/provider/poe.js +85 -85
  553. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  554. package/dist/plugin/provider/sap-ai-core.js +99 -99
  555. package/dist/plugin/provider/sdk-factory.js +1 -1
  556. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  557. package/dist/plugin/provider/vercel.js +98 -98
  558. package/dist/plugin/provider/vllm.js +130 -130
  559. package/dist/plugin/provider/xai.js +99 -99
  560. package/dist/plugin/provider/zenmux.js +1 -1
  561. package/dist/plugin/provider.js +178 -178
  562. package/dist/plugin/sdk.js +82 -82
  563. package/dist/plugin/service.js +3 -3
  564. package/dist/plugin/skill.js +139 -139
  565. package/dist/plugin/source-directory.js +1 -1
  566. package/dist/plugin/supervisor.js +362 -362
  567. package/dist/plugin/tool-input-repair.js +4 -4
  568. package/dist/plugin/update.js +4 -4
  569. package/dist/plugin/vcs/git.js +94 -94
  570. package/dist/plugin/vcs/hg.js +94 -94
  571. package/dist/plugin/verbosity.js +101 -101
  572. package/dist/plugin/warming.js +119 -119
  573. package/dist/plugin/websearch/exa.js +7 -7
  574. package/dist/plugin/websearch/firecrawl.js +8 -8
  575. package/dist/plugin/websearch/index.js +9 -9
  576. package/dist/plugin/websearch/mcp.js +2 -2
  577. package/dist/plugin/websearch/parallel.js +8 -8
  578. package/dist/plugin/websearch/tavily.js +6 -6
  579. package/dist/plugin/websearch/tinyfish.js +8 -8
  580. package/dist/plugin.js +238 -236
  581. package/dist/project/icon.js +5 -5
  582. package/dist/project/schema.js +2 -2
  583. package/dist/project/sql.js +4 -4
  584. package/dist/project.js +92 -92
  585. package/dist/provider.js +105 -105
  586. package/dist/pty/protocol.js +1 -1
  587. package/dist/pty/ticket.js +1 -1
  588. package/dist/pty.js +106 -106
  589. package/dist/reference/instructions.js +96 -96
  590. package/dist/reference.js +94 -94
  591. package/dist/repository-cache.js +88 -88
  592. package/dist/repository.js +1 -1
  593. package/dist/ripgrep/binary.js +2 -2
  594. package/dist/ripgrep.js +103 -103
  595. package/dist/rpc.js +94 -94
  596. package/dist/schema.js +1 -1
  597. package/dist/session/affinity.js +1 -1
  598. package/dist/session/blob.js +120 -120
  599. package/dist/session/command.js +80 -80
  600. package/dist/session/compaction.js +162 -162
  601. package/dist/session/context.js +188 -188
  602. package/dist/session/diff.js +96 -96
  603. package/dist/session/environment.js +5 -5
  604. package/dist/session/error.js +5 -5
  605. package/dist/session/event.js +1 -1
  606. package/dist/session/execution/restart.js +225 -225
  607. package/dist/session/execution.js +150 -150
  608. package/dist/session/generate.js +188 -188
  609. package/dist/session/history.js +127 -127
  610. package/dist/session/inbox.js +130 -130
  611. package/dist/session/info.js +3 -3
  612. package/dist/session/instruction-entry.js +85 -85
  613. package/dist/session/instruction-state.js +8 -8
  614. package/dist/session/instructions.js +132 -132
  615. package/dist/session/message-updater.js +4 -4
  616. package/dist/session/message.js +1 -1
  617. package/dist/session/model-request.js +151 -151
  618. package/dist/session/model-transport.js +5 -5
  619. package/dist/session/move.js +156 -156
  620. package/dist/session/projector.js +134 -134
  621. package/dist/session/prompt.js +140 -140
  622. package/dist/session/recent-text.js +1 -1
  623. package/dist/session/revert.js +130 -130
  624. package/dist/session/run-coordinator.js +1 -1
  625. package/dist/session/runner/index.js +1 -1
  626. package/dist/session/runner/llm.js +238 -238
  627. package/dist/session/runner/max-steps.js +1 -1
  628. package/dist/session/runner/model.js +108 -108
  629. package/dist/session/runner/publish-llm-event.js +141 -141
  630. package/dist/session/runner/retry.js +5 -5
  631. package/dist/session/runner/step.js +154 -154
  632. package/dist/session/runner/to-llm-message.js +128 -128
  633. package/dist/session/schema.js +5 -5
  634. package/dist/session/session.js +172 -172
  635. package/dist/session/shell.js +135 -135
  636. package/dist/session/skill.js +139 -139
  637. package/dist/session/sql.js +5 -5
  638. package/dist/session/stats.js +79 -79
  639. package/dist/session/store.js +129 -129
  640. package/dist/session/stored.js +2 -2
  641. package/dist/session/subagent-completion.js +1 -1
  642. package/dist/session/subagent-job.js +219 -219
  643. package/dist/session/system-prompt.js +5 -5
  644. package/dist/session/title.js +192 -192
  645. package/dist/session/to-session-error.js +140 -140
  646. package/dist/session/transfer.js +227 -227
  647. package/dist/session/usage.js +1 -1
  648. package/dist/session.js +225 -225
  649. package/dist/shell/parse.js +8 -8
  650. package/dist/shell/result.js +1 -1
  651. package/dist/shell/scan.js +1 -1
  652. package/dist/shell/select.js +11 -11
  653. package/dist/shell.js +137 -137
  654. package/dist/skill/discovery.js +6 -6
  655. package/dist/skill/instructions.js +141 -141
  656. package/dist/skill.js +146 -146
  657. package/dist/snapshot.js +101 -101
  658. package/dist/state.js +1 -1
  659. package/dist/tool/html-markdown.js +1 -1
  660. package/dist/tool/http-body.js +1 -1
  661. package/dist/tool/mcp.js +163 -163
  662. package/dist/tool/plugin/edit.js +156 -156
  663. package/dist/tool/plugin/file-diff.js +1 -1
  664. package/dist/tool/plugin/glob.js +160 -160
  665. package/dist/tool/plugin/grep.js +160 -160
  666. package/dist/tool/plugin/mcp-resource.js +154 -154
  667. package/dist/tool/plugin/opencode.js +153 -153
  668. package/dist/tool/plugin/patch.js +154 -154
  669. package/dist/tool/plugin/question.js +136 -136
  670. package/dist/tool/plugin/read.js +161 -161
  671. package/dist/tool/plugin/shell.js +222 -222
  672. package/dist/tool/plugin/skill.js +147 -147
  673. package/dist/tool/plugin/subagent.js +224 -224
  674. package/dist/tool/plugin/todo.js +145 -145
  675. package/dist/tool/plugin/webfetch.js +147 -147
  676. package/dist/tool/plugin/websearch.js +145 -145
  677. package/dist/tool/plugin/write.js +158 -158
  678. package/dist/tool/read-filesystem.js +106 -106
  679. package/dist/tool/runtime.js +1 -1
  680. package/dist/tool-output.js +7 -7
  681. package/dist/tool.js +16 -16
  682. package/dist/types/plugin/module.d.ts +10 -0
  683. package/dist/types/plugin/service.d.ts +12 -0
  684. package/dist/types/plugin.d.ts +1 -1
  685. package/dist/usage-limits.js +95 -95
  686. package/dist/util/error-summary.js +1 -1
  687. package/dist/util/git-executable.js +3 -3
  688. package/dist/util/lazy.js +1 -1
  689. package/dist/util/slug.js +1 -1
  690. package/dist/util/token.js +1 -1
  691. package/dist/util/which.js +1 -1
  692. package/dist/util/wildcard.js +1 -1
  693. package/dist/v1/config/agent.js +5 -5
  694. package/dist/v1/config/command.js +1 -1
  695. package/dist/v1/config/mcp.js +4 -4
  696. package/dist/v1/config/migrate.js +100 -100
  697. package/dist/v1/config/permission.js +3 -3
  698. package/dist/v1/config/plugin.js +3 -3
  699. package/dist/v1/config/provider-options.js +1 -1
  700. package/dist/v1/config/provider.js +4 -4
  701. package/dist/variant.js +101 -101
  702. package/dist/vcs/patch.js +1 -1
  703. package/dist/vcs.js +97 -97
  704. package/dist/voice.js +94 -94
  705. package/dist/websearch.js +88 -88
  706. package/dist/wellknown/plugin.js +82 -82
  707. package/dist/wellknown.js +87 -87
  708. package/dist/workspace/driver.js +5 -5
  709. package/dist/workspace/sql.js +1 -1
  710. package/dist/workspace.js +88 -88
  711. package/dist/worktree/directory.js +2 -2
  712. package/dist/worktree/git.js +9 -9
  713. package/dist/worktree/sql.js +5 -5
  714. package/dist/worktree/strategies.js +97 -97
  715. package/dist/worktree.js +106 -106
  716. package/package.json +8 -8
  717. package/dist/chunks/repository-cache-12h23m8g.js +0 -517
  718. package/dist/chunks/repository-cache-2a2m1jyz.js +0 -257
  719. package/dist/chunks/repository-cache-xx32eqvj.js +0 -26
  720. package/dist/chunks/repository-cache-z355x5yr.js +0 -18
  721. /package/dist/chunks/{repository-cache-0qkdqm5v.js → voice-0qkdqm5v.js} +0 -0
  722. /package/dist/chunks/{repository-cache-0zkw76rk.js → voice-0zkw76rk.js} +0 -0
  723. /package/dist/chunks/{repository-cache-17cy0kzp.js → voice-17cy0kzp.js} +0 -0
  724. /package/dist/chunks/{repository-cache-1cnp2v09.js → voice-1cnp2v09.js} +0 -0
  725. /package/dist/chunks/{repository-cache-1jakw16s.js → voice-1jakw16s.js} +0 -0
  726. /package/dist/chunks/{repository-cache-24dcb14g.js → voice-24dcb14g.js} +0 -0
  727. /package/dist/chunks/{repository-cache-2710q6r3.js → voice-2710q6r3.js} +0 -0
  728. /package/dist/chunks/{repository-cache-2bv980vf.js → voice-2bv980vf.js} +0 -0
  729. /package/dist/chunks/{repository-cache-2c3vjs8z.js → voice-2c3vjs8z.js} +0 -0
  730. /package/dist/chunks/{repository-cache-359p4xyc.js → voice-359p4xyc.js} +0 -0
  731. /package/dist/chunks/{repository-cache-3asan66x.js → voice-3asan66x.js} +0 -0
  732. /package/dist/chunks/{repository-cache-3v8g72cx.js → voice-3v8g72cx.js} +0 -0
  733. /package/dist/chunks/{repository-cache-3wcehsnq.js → voice-3wcehsnq.js} +0 -0
  734. /package/dist/chunks/{repository-cache-43n2bw4t.js → voice-43n2bw4t.js} +0 -0
  735. /package/dist/chunks/{repository-cache-4knz6hnm.js → voice-4knz6hnm.js} +0 -0
  736. /package/dist/chunks/{repository-cache-4m86bj6y.js → voice-4m86bj6y.js} +0 -0
  737. /package/dist/chunks/{repository-cache-4vcrnpx2.js → voice-4vcrnpx2.js} +0 -0
  738. /package/dist/chunks/{repository-cache-4y7fprxs.js → voice-4y7fprxs.js} +0 -0
  739. /package/dist/chunks/{repository-cache-53557ph1.js → voice-53557ph1.js} +0 -0
  740. /package/dist/chunks/{repository-cache-550bvhaj.js → voice-550bvhaj.js} +0 -0
  741. /package/dist/chunks/{repository-cache-5w3e23ze.js → voice-5w3e23ze.js} +0 -0
  742. /package/dist/chunks/{repository-cache-6prwharc.js → voice-6prwharc.js} +0 -0
  743. /package/dist/chunks/{repository-cache-6q2bdcd1.js → voice-6q2bdcd1.js} +0 -0
  744. /package/dist/chunks/{repository-cache-7akdwqpd.js → voice-7akdwqpd.js} +0 -0
  745. /package/dist/chunks/{repository-cache-7m9af43g.js → voice-7m9af43g.js} +0 -0
  746. /package/dist/chunks/{repository-cache-822emrt2.js → voice-822emrt2.js} +0 -0
  747. /package/dist/chunks/{repository-cache-84wd9syh.js → voice-84wd9syh.js} +0 -0
  748. /package/dist/chunks/{repository-cache-88xbtdfr.js → voice-88xbtdfr.js} +0 -0
  749. /package/dist/chunks/{repository-cache-8n3pysct.js → voice-8n3pysct.js} +0 -0
  750. /package/dist/chunks/{repository-cache-8wj87zfr.js → voice-8wj87zfr.js} +0 -0
  751. /package/dist/chunks/{repository-cache-9a4afbnw.js → voice-9a4afbnw.js} +0 -0
  752. /package/dist/chunks/{repository-cache-9rqn6x4v.js → voice-9rqn6x4v.js} +0 -0
  753. /package/dist/chunks/{repository-cache-a058387c.js → voice-a058387c.js} +0 -0
  754. /package/dist/chunks/{repository-cache-a6k6eb26.js → voice-a6k6eb26.js} +0 -0
  755. /package/dist/chunks/{repository-cache-af5trqkr.js → voice-af5trqkr.js} +0 -0
  756. /package/dist/chunks/{repository-cache-afrmfg78.js → voice-afrmfg78.js} +0 -0
  757. /package/dist/chunks/{repository-cache-aqzs7mqg.js → voice-aqzs7mqg.js} +0 -0
  758. /package/dist/chunks/{repository-cache-atq7p7m5.js → voice-atq7p7m5.js} +0 -0
  759. /package/dist/chunks/{repository-cache-beh6qq61.js → voice-beh6qq61.js} +0 -0
  760. /package/dist/chunks/{repository-cache-bkyjaxrp.js → voice-bkyjaxrp.js} +0 -0
  761. /package/dist/chunks/{repository-cache-bmr6ed5q.js → voice-bmr6ed5q.js} +0 -0
  762. /package/dist/chunks/{repository-cache-cf4snx6d.js → voice-cf4snx6d.js} +0 -0
  763. /package/dist/chunks/{repository-cache-cqv5kn06.js → voice-cqv5kn06.js} +0 -0
  764. /package/dist/chunks/{repository-cache-cvy3z8tj.js → voice-cvy3z8tj.js} +0 -0
  765. /package/dist/chunks/{repository-cache-d9fn303g.js → voice-d9fn303g.js} +0 -0
  766. /package/dist/chunks/{repository-cache-d9jj8t3e.js → voice-d9jj8t3e.js} +0 -0
  767. /package/dist/chunks/{repository-cache-dajrwvna.js → voice-dajrwvna.js} +0 -0
  768. /package/dist/chunks/{repository-cache-dap0rakb.js → voice-dap0rakb.js} +0 -0
  769. /package/dist/chunks/{repository-cache-df08tz66.js → voice-df08tz66.js} +0 -0
  770. /package/dist/chunks/{repository-cache-dy18nga0.js → voice-dy18nga0.js} +0 -0
  771. /package/dist/chunks/{repository-cache-e5kj55wp.js → voice-e5kj55wp.js} +0 -0
  772. /package/dist/chunks/{repository-cache-e73j6tqm.js → voice-e73j6tqm.js} +0 -0
  773. /package/dist/chunks/{repository-cache-ec1grn59.js → voice-ec1grn59.js} +0 -0
  774. /package/dist/chunks/{repository-cache-eh3zwz77.js → voice-eh3zwz77.js} +0 -0
  775. /package/dist/chunks/{repository-cache-emrn6kk6.js → voice-emrn6kk6.js} +0 -0
  776. /package/dist/chunks/{repository-cache-f0mxakyp.js → voice-f0mxakyp.js} +0 -0
  777. /package/dist/chunks/{repository-cache-f6n9ztr4.js → voice-f6n9ztr4.js} +0 -0
  778. /package/dist/chunks/{repository-cache-faypxj3z.js → voice-faypxj3z.js} +0 -0
  779. /package/dist/chunks/{repository-cache-fd410y7t.js → voice-fd410y7t.js} +0 -0
  780. /package/dist/chunks/{repository-cache-fkpq3x5p.js → voice-fkpq3x5p.js} +0 -0
  781. /package/dist/chunks/{repository-cache-g4wezp1m.js → voice-g4wezp1m.js} +0 -0
  782. /package/dist/chunks/{repository-cache-g86h250q.js → voice-g86h250q.js} +0 -0
  783. /package/dist/chunks/{repository-cache-gebd4c9n.js → voice-gebd4c9n.js} +0 -0
  784. /package/dist/chunks/{repository-cache-gftt206x.js → voice-gftt206x.js} +0 -0
  785. /package/dist/chunks/{repository-cache-hcxmzztb.js → voice-hcxmzztb.js} +0 -0
  786. /package/dist/chunks/{repository-cache-hk9envan.js → voice-hk9envan.js} +0 -0
  787. /package/dist/chunks/{repository-cache-j2ntwpah.js → voice-j2ntwpah.js} +0 -0
  788. /package/dist/chunks/{repository-cache-j5zkgpj8.js → voice-j5zkgpj8.js} +0 -0
  789. /package/dist/chunks/{repository-cache-jjkms2e6.js → voice-jjkms2e6.js} +0 -0
  790. /package/dist/chunks/{repository-cache-jr7sbwjy.js → voice-jr7sbwjy.js} +0 -0
  791. /package/dist/chunks/{repository-cache-jwfs4k6c.js → voice-jwfs4k6c.js} +0 -0
  792. /package/dist/chunks/{repository-cache-jwr30sdr.js → voice-jwr30sdr.js} +0 -0
  793. /package/dist/chunks/{repository-cache-jze0r7bz.js → voice-jze0r7bz.js} +0 -0
  794. /package/dist/chunks/{repository-cache-jzg6c2d5.js → voice-jzg6c2d5.js} +0 -0
  795. /package/dist/chunks/{repository-cache-m18g726c.js → voice-m18g726c.js} +0 -0
  796. /package/dist/chunks/{repository-cache-mp448xyj.js → voice-mp448xyj.js} +0 -0
  797. /package/dist/chunks/{repository-cache-msx8hqn2.js → voice-msx8hqn2.js} +0 -0
  798. /package/dist/chunks/{repository-cache-n05xt0ee.js → voice-n05xt0ee.js} +0 -0
  799. /package/dist/chunks/{repository-cache-n3j8tn72.js → voice-n3j8tn72.js} +0 -0
  800. /package/dist/chunks/{repository-cache-ncqqe42p.js → voice-ncqqe42p.js} +0 -0
  801. /package/dist/chunks/{repository-cache-njntx4h6.js → voice-njntx4h6.js} +0 -0
  802. /package/dist/chunks/{repository-cache-p71gwv9c.js → voice-p71gwv9c.js} +0 -0
  803. /package/dist/chunks/{repository-cache-q3sfg36h.js → voice-q3sfg36h.js} +0 -0
  804. /package/dist/chunks/{repository-cache-q74kybfr.js → voice-q74kybfr.js} +0 -0
  805. /package/dist/chunks/{repository-cache-qaymkmh1.js → voice-qaymkmh1.js} +0 -0
  806. /package/dist/chunks/{repository-cache-qb87gjwd.js → voice-qb87gjwd.js} +0 -0
  807. /package/dist/chunks/{repository-cache-qfa1cgps.js → voice-qfa1cgps.js} +0 -0
  808. /package/dist/chunks/{repository-cache-qg3g05ea.js → voice-qg3g05ea.js} +0 -0
  809. /package/dist/chunks/{repository-cache-qrg20bc0.js → voice-qrg20bc0.js} +0 -0
  810. /package/dist/chunks/{repository-cache-rcb2kzg1.js → voice-rcb2kzg1.js} +0 -0
  811. /package/dist/chunks/{repository-cache-sdp7kfr6.js → voice-sdp7kfr6.js} +0 -0
  812. /package/dist/chunks/{repository-cache-ssg3fenm.js → voice-ssg3fenm.js} +0 -0
  813. /package/dist/chunks/{repository-cache-ve7vex1e.js → voice-ve7vex1e.js} +0 -0
  814. /package/dist/chunks/{repository-cache-w803qqfp.js → voice-w803qqfp.js} +0 -0
  815. /package/dist/chunks/{repository-cache-wc3fc9cn.js → voice-wc3fc9cn.js} +0 -0
  816. /package/dist/chunks/{repository-cache-wer8tq1h.js → voice-wer8tq1h.js} +0 -0
  817. /package/dist/chunks/{repository-cache-wtztk69x.js → voice-wtztk69x.js} +0 -0
  818. /package/dist/chunks/{repository-cache-x0ckcb58.js → voice-x0ckcb58.js} +0 -0
  819. /package/dist/chunks/{repository-cache-x61499pn.js → voice-x61499pn.js} +0 -0
  820. /package/dist/chunks/{repository-cache-y44na4kk.js → voice-y44na4kk.js} +0 -0
  821. /package/dist/chunks/{repository-cache-y8f7s663.js → voice-y8f7s663.js} +0 -0
  822. /package/dist/chunks/{repository-cache-ygaqb7jw.js → voice-ygaqb7jw.js} +0 -0
  823. /package/dist/chunks/{repository-cache-ym463w8f.js → voice-ym463w8f.js} +0 -0
  824. /package/dist/chunks/{repository-cache-z5v4ffb3.js → voice-z5v4ffb3.js} +0 -0
  825. /package/dist/chunks/{repository-cache-z9919s4g.js → voice-z9919s4g.js} +0 -0
@@ -1,66 +1,66 @@
1
1
  import {
2
2
  Service80
3
- } from "./repository-cache-0mv4v5wj.js";
3
+ } from "./voice-7cyk4b0a.js";
4
4
  import {
5
- Service54
6
- } from "./repository-cache-kqjqdw98.js";
5
+ Service53
6
+ } from "./voice-1007g3v6.js";
7
7
  import {
8
- ID3,
8
+ ID4,
9
9
  Result2,
10
10
  ProviderRequiredError2,
11
11
  DisabledError2,
12
12
  RequestError2,
13
- Service25
14
- } from "./repository-cache-8mtpnz0v.js";
13
+ Service23
14
+ } from "./voice-agaj9fz3.js";
15
15
  import {
16
16
  __export
17
- } from "./repository-cache-9rqn6x4v.js";
17
+ } from "./voice-9rqn6x4v.js";
18
18
 
19
19
  // src/tool/plugin/websearch.ts
20
20
  var exports_websearch = {};
21
21
  __export(exports_websearch, {
22
- Input: () => Input10,
22
+ Input: () => Input5,
23
23
  NO_RESULTS: () => NO_RESULTS2,
24
- Plugin: () => Plugin12,
24
+ Plugin: () => Plugin5,
25
25
  WebSearchTool: () => exports_websearch,
26
- description: () => description4,
27
- name: () => name10
26
+ description: () => description3,
27
+ name: () => name5
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai/effect";
30
30
  import { Effect, Schema, Semaphore } from "effect";
31
31
  import { HttpClientError } from "effect/http";
32
- var name10 = "websearch";
32
+ var name5 = "websearch";
33
33
  var NO_RESULTS2 = "No search results found. Please try a different query.";
34
34
  var providerSelectionLock = Semaphore.makeUnsafe(1);
35
35
  var httpErrors = new Map([
36
36
  [429, "Web search rate limited (HTTP 429)"],
37
37
  [401, "Web search authentication failed (HTTP 401)"]
38
38
  ]);
39
- var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
39
+ var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
40
 
41
41
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
42
- var Input10 = Schema.Struct({
42
+ var Input5 = Schema.Struct({
43
43
  query: Schema.String.annotate({ description: "Websearch query" })
44
44
  });
45
45
  var Output = Schema.Struct({
46
- provider: ID3,
46
+ provider: ID4,
47
47
  results: Schema.Array(Result2)
48
48
  });
49
- var Plugin12 = {
49
+ var Plugin5 = {
50
50
  id: "opencode.tool.websearch",
51
51
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
52
- const permission = yield* Service54;
52
+ const permission = yield* Service53;
53
53
  const forms = yield* Service80;
54
- const websearch = yield* Service25;
54
+ const websearch = yield* Service23;
55
55
  yield* ctx.tool.transform((editor) => editor.add({
56
- name: name10,
56
+ name: name5,
57
57
  options: { codemode: false },
58
- description: description4,
59
- input: Input10,
58
+ description: description3,
59
+ input: Input5,
60
60
  output: Output,
61
61
  execute: (input, context) => Effect.gen(function* () {
62
62
  yield* permission.assert({
63
- action: name10,
63
+ action: name5,
64
64
  resources: [input.query],
65
65
  save: ["*"],
66
66
  metadata: input,
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
176
176
  const hook = (event) => Effect.gen(function* () {
177
177
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
178
178
  if (disabled)
179
- delete event.tools[name10];
179
+ delete event.tools[name5];
180
180
  });
181
181
  yield* ctx.session.hook("context", hook);
182
182
  yield* ctx.session.hook("compaction", hook);
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
184
184
  })
185
185
  };
186
186
 
187
- export { name10, NO_RESULTS2, description4, Input10, Plugin12, exports_websearch };
187
+ export { name5, NO_RESULTS2, description3, Input5, Plugin5, exports_websearch };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./repository-cache-11hfp36g.js";
3
+ } from "./voice-x8nvjgx0.js";
4
4
  import {
5
- Service73,
6
- node75
7
- } from "./repository-cache-1v5xq3rj.js";
5
+ Service81,
6
+ node84
7
+ } from "./voice-hs4qbtzy.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-cache-9rqn6x4v.js";
10
+ } from "./voice-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service23,
17
- node: () => node26,
16
+ Service: () => Service28,
17
+ node: () => node31,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service23 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service28 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service23, Effect.gen(function* () {
38
- const environment = yield* Service73;
37
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
38
+ const environment = yield* Service81;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service23.of({ withLock, write, writeTextPreservingBom });
59
+ return Service28.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node26 = makeLocationNode({ service: Service23, layer, deps: [node75] });
61
+ var node31 = makeLocationNode({ service: Service28, layer, deps: [node84] });
62
62
 
63
- export { Service23, readText2, syncTextBom2, node26, exports_file_mutation };
63
+ export { Service28, readText2, syncTextBom2, node31, exports_file_mutation };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service85
3
- } from "./repository-cache-69zgfr7z.js";
2
+ Service86
3
+ } from "./voice-6q6jcgrq.js";
4
4
  import {
5
- Event19
6
- } from "./repository-cache-adf3gjyn.js";
7
- import {
8
- ID14
9
- } from "./repository-cache-0711fn9k.js";
5
+ Event18
6
+ } from "./voice-r164m7qe.js";
10
7
  import {
11
8
  ID13
12
- } from "./repository-cache-cwcqs07e.js";
9
+ } from "./voice-st19m5xz.js";
10
+ import {
11
+ ID12
12
+ } from "./voice-zdfftnbr.js";
13
13
 
14
14
  // src/plugin/provider/openai-context-caps.ts
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Stream } from "effect";
17
- var integrationID = ID14.make("openai");
17
+ var integrationID = ID13.make("openai");
18
18
  var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
19
19
  var legacyInput = 272000;
20
20
  var currentInput = 500000;
21
21
  var OpenAIContextCapsPlugin2 = define({
22
22
  id: "opencode.provider.openai-context-caps",
23
23
  effect: Effect.fn(function* (ctx) {
24
- const bus = yield* Service85;
24
+ const bus = yield* Service86;
25
25
  let signedIn = false;
26
26
  const load = Effect.fn("OpenAIContextCapsPlugin.load")(function* () {
27
27
  const connection = yield* ctx.integration.connection.active(integrationID);
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
34
34
  yield* ctx.model.transform((models) => {
35
35
  if (!signedIn)
36
36
  return;
37
- for (const model of models.list(ID13.openai)) {
37
+ for (const model of models.list(ID12.openai)) {
38
38
  models.update(model.providerID, model.id, (draft) => {
39
39
  const input = cap(draft.modelID ?? draft.id);
40
40
  if ((draft.limit.input || draft.limit.context) <= input)
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
43
43
  });
44
44
  }
45
45
  });
46
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
46
+ yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
47
47
  })
48
48
  });
49
49
  function cap(apiID) {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  policy3
3
- } from "./repository-cache-9cx9sm2q.js";
3
+ } from "./voice-9cx9sm2q.js";
4
4
  import {
5
5
  SessionEvent2
6
- } from "./repository-cache-ec1grn59.js";
6
+ } from "./voice-ec1grn59.js";
7
7
  import {
8
8
  __export
9
- } from "./repository-cache-9rqn6x4v.js";
9
+ } from "./voice-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make10,
16
+ make: () => make6,
17
17
  policy: () => policy2
18
18
  });
19
19
  import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
39
39
  return { retry: true, attempt: next.attempt, delay: normalized };
40
40
  });
41
41
  });
42
- var make10 = (bus, sessionID) => Effect.gen(function* () {
42
+ var make6 = (bus, sessionID) => Effect.gen(function* () {
43
43
  const decide = yield* policy2(sessionID);
44
44
  const wait = (input) => Effect.gen(function* () {
45
45
  const scheduled = yield* Clock.currentTimeMillis;
@@ -56,4 +56,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
56
56
  return { decide, wait };
57
57
  });
58
58
 
59
- export { isRetryable2, policy2, make10, exports_retry };
59
+ export { isRetryable2, policy2, make6, exports_retry };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service42,
3
- node45
4
- } from "./repository-cache-0kze6sgm.js";
2
+ Service44,
3
+ node47
4
+ } from "./voice-mrkvdb36.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
8
  make20,
9
9
  diffByKey2
10
- } from "./repository-cache-xt0z8zst.js";
10
+ } from "./voice-xt0z8zst.js";
11
11
  import {
12
12
  __export
13
- } from "./repository-cache-9rqn6x4v.js";
13
+ } from "./voice-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions3 = {};
17
- __export(exports_instructions3, {
18
- ReferenceInstructions: () => exports_instructions3,
19
- Service: () => Service32,
20
- node: () => node36
16
+ var exports_instructions4 = {};
17
+ __export(exports_instructions4, {
18
+ ReferenceInstructions: () => exports_instructions4,
19
+ Service: () => Service36,
20
+ node: () => node39
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,11 +61,11 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service32 extends Context.Service()("@opencode/ReferenceInstructions") {
64
+ class Service36 extends Context.Service()("@opencode/ReferenceInstructions") {
65
65
  }
66
- var layer = Layer.effect(Service32, Effect.gen(function* () {
67
- const references = yield* Service42;
68
- return Service32.of({
66
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
67
+ const references = yield* Service44;
68
+ return Service36.of({
69
69
  load: Effect.fn("ReferenceInstructions.load")(function* () {
70
70
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
71
71
  name: reference.name,
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
85
85
  })
86
86
  });
87
87
  }));
88
- var node36 = makeLocationNode({ service: Service32, layer, deps: [node45] });
88
+ var node39 = makeLocationNode({ service: Service36, layer, deps: [node47] });
89
89
 
90
- export { Service32, node36, exports_instructions3 };
90
+ export { Service36, node39, exports_instructions4 };
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service85
3
- } from "./repository-cache-69zgfr7z.js";
2
+ Service86
3
+ } from "./voice-6q6jcgrq.js";
4
4
  import {
5
- Service68,
6
- Event12
7
- } from "./repository-cache-5vz29j2k.js";
5
+ Service74,
6
+ Event14
7
+ } from "./voice-58jsyy64.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-cache-9rqn6x4v.js";
10
+ } from "./voice-9rqn6x4v.js";
11
11
 
12
12
  // src/wellknown/plugin.ts
13
13
  var exports_plugin = {};
14
14
  __export(exports_plugin, {
15
- Plugin: () => Plugin50,
15
+ Plugin: () => Plugin33,
16
16
  WellKnownPlugin: () => exports_plugin
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Stream } from "effect";
20
- var Plugin50 = define({
20
+ var Plugin33 = define({
21
21
  id: "opencode.wellknown",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const bus = yield* Service85;
24
- const wellknown = yield* Service68;
23
+ const bus = yield* Service86;
24
+ const wellknown = yield* Service74;
25
25
  yield* wellknown.entries().pipe(Effect.orDie);
26
26
  yield* ctx.integration.transform((editor) => {
27
27
  wellknown.snapshot().forEach((entry) => {
@@ -41,8 +41,8 @@ var Plugin50 = define({
41
41
  });
42
42
  });
43
43
  });
44
- yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
44
+ yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
45
45
  })
46
46
  });
47
47
 
48
- export { Plugin50, exports_plugin };
48
+ export { Plugin33, exports_plugin };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./voice-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,39 +1,41 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./repository-cache-4v008n1t.js";
3
+ } from "./voice-4v008n1t.js";
4
4
  import {
5
- Service66
6
- } from "./repository-cache-6fjx9w38.js";
5
+ Service73
6
+ } from "./voice-6yr1t08v.js";
7
7
  import {
8
- Service65
9
- } from "./repository-cache-kke9g1hb.js";
8
+ Service72
9
+ } from "./voice-b76kh15p.js";
10
10
  import {
11
- Service16,
11
+ Service13,
12
12
  statements3,
13
13
  decision2
14
- } from "./repository-cache-sjt6c43d.js";
14
+ } from "./voice-haxfm848.js";
15
15
  import {
16
16
  __export
17
- } from "./repository-cache-9rqn6x4v.js";
17
+ } from "./voice-9rqn6x4v.js";
18
18
 
19
19
  // src/plugin/module.ts
20
20
  var exports_module = {};
21
21
  __export(exports_module, {
22
22
  LoadError: () => LoadError2,
23
23
  PluginModule: () => exports_module,
24
- make: () => make3
24
+ make: () => make4
25
25
  });
26
26
  import { Host } from "@opencode/plugin/host";
27
+ import { GuiBundle } from "@opencode/schema/plugin";
27
28
  import { createPluginSources } from "@opencode/plugin/source";
29
+ import { Hash } from "@opencode/util/hash";
28
30
  import { Npm } from "@opencode/util/npm";
29
31
  import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
30
32
  import path from "path";
31
- import { stat } from "node:fs/promises";
33
+ import { readFile, stat } from "node:fs/promises";
32
34
  import { fileURLToPath, pathToFileURL } from "url";
33
- var make3 = Effect.fn("PluginModule.make")(function* () {
34
- const config = yield* Service65;
35
- const managed = yield* Service16;
36
- const watcher = yield* Service66;
35
+ var make4 = Effect.fn("PluginModule.make")(function* () {
36
+ const config = yield* Service72;
37
+ const managed = yield* Service13;
38
+ const watcher = yield* Service73;
37
39
  const scope = yield* Effect.scope;
38
40
  const runPromise = yield* FiberSet.makeRuntimePromise();
39
41
  const changes = yield* PubSub.unbounded();
@@ -55,7 +57,7 @@ var make3 = Effect.fn("PluginModule.make")(function* () {
55
57
  const target = path.isAbsolute(operation.target) || version <= 0 ? operation.target : operation.target.slice(0, version);
56
58
  if (decision2(statements3(yield* config.entries(), managed.current()), "integration.use", `plugin:${target}`) === "deny")
57
59
  return { blocked: true };
58
- return yield* load(operation, sources, options);
60
+ return yield* load(operation, sources, watch, options);
59
61
  }),
60
62
  changes: () => Stream.fromPubSub(changes)
61
63
  };
@@ -67,6 +69,7 @@ function watchTarget(file) {
67
69
  return watchTarget(path.dirname(file));
68
70
  });
69
71
  }
72
+ var GuiOptions = GuiBundle.fields.options;
70
73
  var Module = Schema.Struct({
71
74
  default: Schema.Union([
72
75
  Schema.Struct({
@@ -85,31 +88,40 @@ class LoadError2 extends Schema.TaggedError()("PluginModule.LoadError", {
85
88
  cause: Schema.optional(Schema.Defect())
86
89
  }) {
87
90
  }
88
- var load = Effect.fn("PluginModule.load")(function* (operation, sources, options) {
91
+ var load = Effect.fn("PluginModule.load")(function* (operation, sources, watch, options) {
89
92
  const local = path.isAbsolute(operation.target);
90
93
  const npm = yield* Npm.Service;
91
94
  const installed = local ? undefined : options?.install === false ? yield* npm.resolve(operation.target) : yield* npm.add(operation.target);
92
95
  const entrypoints = local && (yield* Effect.promise(() => stat(operation.target))).isFile() ? { server: pathToFileURL(operation.target).href } : yield* Effect.sync(() => Host.resolve(installed ?? { directory: operation.target }));
93
96
  const entrypoint = entrypoints.server;
94
- if (!local && options?.install === false && !entrypoint)
97
+ const found = entrypoint || entrypoints.gui;
98
+ if (!local && options?.install === false && !found)
95
99
  return { pending: true };
96
- if (!entrypoint)
100
+ if (!found)
97
101
  return yield* new LoadError2({ message: `Plugin entrypoint not found: ${operation.target}` });
98
- yield* Effect.log({ msg: "loading plugin", id: operation.target, entrypoint });
99
- const loaded = yield* Effect.promise(() => local ? sources.read(entrypoint) : Host.load(entrypoint).then((module) => ({ module, version: installed?.revision })));
100
- const value = (yield* Schema.decodeUnknownEffect(Module)(loaded.module).pipe(Effect.mapError((cause) => new LoadError2({
101
- message: "Plugin must export a default definition with an id and an effect or setup function.",
102
- cause
103
- })))).default;
104
- const plugin = "effect" in value ? value : fromPromise2(value);
102
+ yield* Effect.log({ msg: "loading plugin", id: operation.target, entrypoint: found });
103
+ const server = entrypoint ? yield* loadServer(entrypoint, local ? sources : undefined, installed?.revision) : undefined;
104
+ const plugin = server?.plugin ?? {
105
+ id: Host.packageID(installed ?? { directory: operation.target }),
106
+ effect: () => Effect.void
107
+ };
108
+ const revision = JSON.stringify([operation, server ? server.version : installed?.revision]);
109
+ const gui = local && entrypoints.gui ? fileURLToPath(entrypoints.gui) : undefined;
110
+ if (gui)
111
+ yield* watch(gui);
112
+ const bundle = gui ? Hash.sha256(yield* Effect.promise(() => readFile(gui))) : undefined;
113
+ const guiOptions = entrypoints.gui ? yield* Schema.decodeUnknownEffect(GuiOptions)(operation.options).pipe(Effect.mapError((cause) => new LoadError2({ message: "Plugin options must be JSON to reach its ./gui-experimental", cause }))) : {};
105
114
  return {
106
115
  id: plugin.id,
107
116
  features: {
117
+ ...entrypoint ? { server: true } : {},
108
118
  ...entrypoints.tui ? { tui: true } : {},
109
- ...entrypoints.rpc ? { rpc: true } : {}
119
+ ...entrypoint && entrypoints.rpc ? { rpc: true } : {},
120
+ ...entrypoints.gui ? { gui: true } : {}
110
121
  },
111
- revision: JSON.stringify([operation, loaded.version]),
112
- source: path.isAbsolute(operation.target) ? { type: "local", path: fileURLToPath(entrypoint) } : {
122
+ gui: entrypoints.gui ? { file: entrypoints.gui, revision: Hash.sha256(JSON.stringify([revision, bundle])), options: guiOptions } : undefined,
123
+ revision,
124
+ source: local ? { type: "local", path: operation.target } : {
113
125
  type: "package",
114
126
  target: operation.target,
115
127
  ...installed?.version ? { version: installed.version } : {}
@@ -117,5 +129,13 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
117
129
  effect: (host) => plugin.effect({ ...host, options: operation.options })
118
130
  };
119
131
  });
132
+ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sources, revision) {
133
+ const loaded = yield* Effect.promise(() => sources ? sources.read(entrypoint) : Host.load(entrypoint).then((module) => ({ module, version: revision })));
134
+ const value = (yield* Schema.decodeUnknownEffect(Module)(loaded.module).pipe(Effect.mapError((cause) => new LoadError2({
135
+ message: "Plugin must export a default definition with an id and an effect or setup function.",
136
+ cause
137
+ })))).default;
138
+ return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
139
+ });
120
140
 
121
- export { make3, LoadError2, exports_module };
141
+ export { make4, LoadError2, exports_module };