@opencode/core 0.0.0-dev-21268 → 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 +81 -81
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{formatter-x5jhdhzv.js → voice-07hyrh53.js} +9 -9
  8. package/dist/chunks/{formatter-jq12p00e.js → voice-0d60ahdf.js} +3 -3
  9. package/dist/chunks/{formatter-4nj4bn9q.js → voice-0jq9fyba.js} +9 -9
  10. package/dist/chunks/{formatter-fcrkznn8.js → voice-0jwsre1p.js} +5 -5
  11. package/dist/chunks/{formatter-ny53wrt7.js → voice-0n7hx3s8.js} +31 -31
  12. package/dist/chunks/{formatter-xgqamae7.js → voice-0pdk8z67.js} +5 -5
  13. package/dist/chunks/{formatter-jftvfy36.js → voice-0stcbem0.js} +34 -34
  14. package/dist/chunks/{formatter-560ck4c5.js → voice-0tgjh03h.js} +3 -3
  15. package/dist/chunks/{formatter-0vbcp93d.js → voice-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{formatter-8qgr4h1v.js → voice-10q04s9m.js} +19 -19
  17. package/dist/chunks/{formatter-7cx1y1jk.js → voice-15rr0twx.js} +23 -23
  18. package/dist/chunks/{formatter-vxby77fw.js → voice-166kng33.js} +4 -4
  19. package/dist/chunks/{formatter-75rtafjv.js → voice-18zsf568.js} +14 -14
  20. package/dist/chunks/{formatter-d3394kee.js → voice-1a5chre8.js} +14 -14
  21. package/dist/chunks/{formatter-gyahv1by.js → voice-1bq62cry.js} +18 -18
  22. package/dist/chunks/{formatter-wek98stj.js → voice-1c85gy23.js} +5 -5
  23. package/dist/chunks/{formatter-ym5wg1kc.js → voice-1e040kv3.js} +2 -2
  24. package/dist/chunks/{formatter-j8y9j9kj.js → voice-1ffqw314.js} +23 -23
  25. package/dist/chunks/{formatter-wjr9rjd7.js → voice-1ffvrpkg.js} +9 -9
  26. package/dist/chunks/{formatter-1pvppg81.js → voice-1h2d0ke7.js} +5 -5
  27. package/dist/chunks/{formatter-2tgf6cja.js → voice-1k9hs225.js} +4 -4
  28. package/dist/chunks/{formatter-hkh1jx8g.js → voice-1nkzkq3r.js} +18 -18
  29. package/dist/chunks/voice-1x11rq2a.js +18 -0
  30. package/dist/chunks/{formatter-zcgapt0q.js → voice-2560qahv.js} +26 -26
  31. package/dist/chunks/{formatter-t9gjcg3f.js → voice-291dyprt.js} +22 -22
  32. package/dist/chunks/{formatter-1hcnqvj0.js → voice-2rfqgm69.js} +23 -23
  33. package/dist/chunks/{formatter-sa6168g2.js → voice-2w7xd5ef.js} +6 -6
  34. package/dist/chunks/{formatter-r1sktf6h.js → voice-3gwj7c3a.js} +1 -1
  35. package/dist/chunks/{formatter-3hepkmqq.js → voice-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{formatter-3hwn7j4h.js → voice-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{formatter-9md8he8y.js → voice-3pr9cre2.js} +32 -32
  38. package/dist/chunks/{formatter-0v8jbydc.js → voice-3px9zfj5.js} +32 -32
  39. package/dist/chunks/{formatter-3smtnn6g.js → voice-3smtnn6g.js} +1 -1
  40. package/dist/chunks/{formatter-3tvqynh2.js → voice-3tvqynh2.js} +1 -1
  41. package/dist/chunks/{formatter-mdqes59k.js → voice-3vnym5x3.js} +47 -47
  42. package/dist/chunks/{formatter-1845wcnm.js → voice-3xsm4mrf.js} +36 -36
  43. package/dist/chunks/{formatter-psf8dvjb.js → voice-3yfbedjd.js} +15 -15
  44. package/dist/chunks/{formatter-b3nqcn4t.js → voice-3yvt2eyd.js} +13 -13
  45. package/dist/chunks/{formatter-3zsf4n22.js → voice-3zsf4n22.js} +1 -1
  46. package/dist/chunks/{formatter-dftrqtzk.js → voice-401wxw87.js} +5 -5
  47. package/dist/chunks/{formatter-jwg5m4bp.js → voice-46459d5e.js} +45 -45
  48. package/dist/chunks/{formatter-3dbk125e.js → voice-46aes8ch.js} +13 -13
  49. package/dist/chunks/{formatter-cqsap5z8.js → voice-4bnzbgn8.js} +4 -4
  50. package/dist/chunks/{formatter-nsj8m29q.js → voice-4qnvasr9.js} +8 -8
  51. package/dist/chunks/{formatter-k0a04qyy.js → voice-4ts41tr6.js} +9 -9
  52. package/dist/chunks/{formatter-kpawbemv.js → voice-4ymz7vr5.js} +24 -24
  53. package/dist/chunks/{formatter-sg1n6he9.js → voice-52nydkw8.js} +5 -5
  54. package/dist/chunks/{formatter-hj6k4shy.js → voice-5307c9aq.js} +4 -4
  55. package/dist/chunks/{formatter-r94pvvab.js → voice-54ma36ye.js} +4 -4
  56. package/dist/chunks/{formatter-b12fh71z.js → voice-55m81wnp.js} +12 -12
  57. package/dist/chunks/{formatter-tn7n77d0.js → voice-5kxj697y.js} +20 -20
  58. package/dist/chunks/{formatter-5m9w47nd.js → voice-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{formatter-6827pfxn.js → voice-6827pfxn.js} +1 -1
  60. package/dist/chunks/{formatter-p80cb2q6.js → voice-6dh1jvz0.js} +13 -13
  61. package/dist/chunks/{formatter-d2m5bwmv.js → voice-6h73966b.js} +20 -20
  62. package/dist/chunks/{formatter-cdf78ym6.js → voice-6k23gnk2.js} +28 -28
  63. package/dist/chunks/{formatter-g0nw424s.js → voice-6n27b0t2.js} +21 -21
  64. package/dist/chunks/{formatter-6xb47vfp.js → voice-6xb47vfp.js} +1 -1
  65. package/dist/chunks/{formatter-cedvsd9p.js → voice-70z88rjf.js} +15 -15
  66. package/dist/chunks/{formatter-g73qmrf1.js → voice-72sk51vb.js} +35 -35
  67. package/dist/chunks/{formatter-775gj3j1.js → voice-775gj3j1.js} +2 -2
  68. package/dist/chunks/{formatter-6n87qsqk.js → voice-788azn8w.js} +34 -34
  69. package/dist/chunks/{formatter-7bmhse3q.js → voice-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{formatter-zzywg6y6.js → voice-7czk49a2.js} +20 -20
  71. package/dist/chunks/{formatter-w56efnhv.js → voice-7gksfrk6.js} +46 -46
  72. package/dist/chunks/{formatter-7t5c4g27.js → voice-7mcgqaeh.js} +9 -9
  73. package/dist/chunks/{formatter-kmk629k8.js → voice-7wfv1tbf.js} +7 -7
  74. package/dist/chunks/{formatter-s1hjqbmb.js → voice-7zjhs1nm.js} +13 -13
  75. package/dist/chunks/{formatter-dktgvxhq.js → voice-80kf5cft.js} +25 -25
  76. package/dist/chunks/{formatter-dzse07y5.js → voice-81rrwt6s.js} +6 -6
  77. package/dist/chunks/{formatter-1gd0p40m.js → voice-83vj9qt0.js} +21 -21
  78. package/dist/chunks/{formatter-jnyfd4gm.js → voice-84pnh87n.js} +7 -7
  79. package/dist/chunks/{formatter-84txncab.js → voice-84txncab.js} +1 -1
  80. package/dist/chunks/{formatter-wfc8dvn2.js → voice-8btm942h.js} +2 -2
  81. package/dist/chunks/{formatter-g3tfzm17.js → voice-8jzsrpfh.js} +4 -4
  82. package/dist/chunks/{formatter-7knmx1zy.js → voice-8k16pbxa.js} +5 -5
  83. package/dist/chunks/{formatter-8m6m0r52.js → voice-8m6m0r52.js} +1 -1
  84. package/dist/chunks/{formatter-ctbnrc59.js → voice-8sc2nzy6.js} +8 -8
  85. package/dist/chunks/{formatter-xsj2mzjf.js → voice-93fzsdqz.js} +13 -13
  86. package/dist/chunks/{formatter-0t9wd588.js → voice-99xay3p1.js} +8 -8
  87. package/dist/chunks/{formatter-sd0pxfvh.js → voice-9at0pwnx.js} +9 -9
  88. package/dist/chunks/{formatter-n1w5qww0.js → voice-9ca4c2n8.js} +22 -22
  89. package/dist/chunks/{formatter-v82nyebm.js → voice-9cb08eze.js} +10 -10
  90. package/dist/chunks/{formatter-ay1662mf.js → voice-9cvx9cd3.js} +9 -9
  91. package/dist/chunks/{formatter-fjzkwv4w.js → voice-9qee0jk3.js} +8 -8
  92. package/dist/chunks/{formatter-s4j1ewxt.js → voice-9t0xmec0.js} +15 -15
  93. package/dist/chunks/{formatter-a20pjse5.js → voice-a20pjse5.js} +3 -3
  94. package/dist/chunks/{formatter-7asbmpsf.js → voice-a3ebqg5m.js} +8 -8
  95. package/dist/chunks/{formatter-9b8ncctb.js → voice-a47cqtsz.js} +8 -8
  96. package/dist/chunks/{formatter-7mxcbd2h.js → voice-a4rkzzpg.js} +45 -45
  97. package/dist/chunks/{formatter-04ap81dm.js → voice-a7t9gw66.js} +15 -15
  98. package/dist/chunks/{formatter-wmmpzfcy.js → voice-adj2f2vn.js} +31 -31
  99. package/dist/chunks/{formatter-5tcnstt9.js → voice-asgfpy10.js} +11 -11
  100. package/dist/chunks/{formatter-qv11eaqs.js → voice-atsf9aqe.js} +11 -11
  101. package/dist/chunks/{formatter-yx0rmv9r.js → voice-ax36eyar.js} +8 -8
  102. package/dist/chunks/{formatter-v4m9j1r3.js → voice-ay7h7ryq.js} +19 -19
  103. package/dist/chunks/{formatter-kd03d9gr.js → voice-baqyxak2.js} +4 -4
  104. package/dist/chunks/{formatter-p6xnc3rx.js → voice-bc25zkma.js} +21 -21
  105. package/dist/chunks/{formatter-r78700hm.js → voice-be82r499.js} +10 -10
  106. package/dist/chunks/{formatter-6md12hsa.js → voice-bekrfzrn.js} +5 -5
  107. package/dist/chunks/{formatter-880p7epb.js → voice-bft59c27.js} +9 -9
  108. package/dist/chunks/{formatter-vybdm9k2.js → voice-bhkm1g5m.js} +38 -38
  109. package/dist/chunks/{formatter-mqqhst8y.js → voice-bmr56wjg.js} +4 -4
  110. package/dist/chunks/{formatter-z6pg3wkb.js → voice-bxaezv13.js} +12 -12
  111. package/dist/chunks/{formatter-bzeyqsqd.js → voice-bzeyqsqd.js} +1 -1
  112. package/dist/chunks/{formatter-c1fqxshp.js → voice-c1fqxshp.js} +3 -3
  113. package/dist/chunks/{formatter-wfk38fft.js → voice-c214aq79.js} +13 -13
  114. package/dist/chunks/{formatter-vtdr16f1.js → voice-c62gkb3b.js} +23 -23
  115. package/dist/chunks/{formatter-yz20g6dm.js → voice-capghd97.js} +23 -23
  116. package/dist/chunks/{formatter-79qaa2kf.js → voice-cwa6csj7.js} +9 -9
  117. package/dist/chunks/{formatter-06c933ea.js → voice-cy3cg06b.js} +16 -16
  118. package/dist/chunks/{formatter-nc16zhnm.js → voice-d10c0ppg.js} +20 -20
  119. package/dist/chunks/{formatter-w8xr7nv8.js → voice-d1r5081s.js} +5 -5
  120. package/dist/chunks/{formatter-f29mbr7f.js → voice-d2czbp48.js} +4 -4
  121. package/dist/chunks/{formatter-24920ypz.js → voice-dbx1c2tg.js} +33 -33
  122. package/dist/chunks/{formatter-d18yz2tr.js → voice-ddsesdvm.js} +11 -11
  123. package/dist/chunks/{formatter-kd568tns.js → voice-dp558nrd.js} +5 -5
  124. package/dist/chunks/{formatter-qkr7tnsm.js → voice-dqpnj7av.js} +27 -27
  125. package/dist/chunks/{formatter-drwq78ky.js → voice-drwq78ky.js} +1 -1
  126. package/dist/chunks/{formatter-tgdmrz9m.js → voice-dtmw6jvf.js} +17 -17
  127. package/dist/chunks/{formatter-njbdz2ej.js → voice-dxj1qz4d.js} +16 -16
  128. package/dist/chunks/{formatter-d9gp05e8.js → voice-e0yy9ryt.js} +14 -14
  129. package/dist/chunks/{formatter-5fmp7ejv.js → voice-e61cj48z.js} +24 -24
  130. package/dist/chunks/{formatter-gc9yyap8.js → voice-e7faghhc.js} +11 -11
  131. package/dist/chunks/{formatter-hgpmxtmw.js → voice-e9s8nezm.js} +16 -16
  132. package/dist/chunks/{formatter-eej6y6fw.js → voice-eej6y6fw.js} +2 -2
  133. package/dist/chunks/{formatter-ef5x83kb.js → voice-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{formatter-yx35gvjr.js → voice-egpmcp8a.js} +14 -14
  135. package/dist/chunks/{formatter-wrmbd4ct.js → voice-fan8xm03.js} +8 -8
  136. package/dist/chunks/{formatter-jt04gwr3.js → voice-fcy1mh1a.js} +30 -30
  137. package/dist/chunks/{formatter-fcy631f0.js → voice-fcy631f0.js} +1 -1
  138. package/dist/chunks/{formatter-p8706pxr.js → voice-fe7mjage.js} +15 -15
  139. package/dist/chunks/{formatter-we093gtr.js → voice-fgn3zs1a.js} +11 -11
  140. package/dist/chunks/{formatter-n3kjjdbc.js → voice-fmdmz72r.js} +23 -23
  141. package/dist/chunks/{formatter-jbv6fv9n.js → voice-ft66ww99.js} +4 -4
  142. package/dist/chunks/{formatter-qf501b6x.js → voice-fy8g54x2.js} +11 -11
  143. package/dist/chunks/{formatter-bacj9t34.js → voice-g686f6pq.js} +9 -9
  144. package/dist/chunks/{formatter-fgvzqqhz.js → voice-g9mhys8g.js} +11 -11
  145. package/dist/chunks/{formatter-3gmzkzp0.js → voice-gchk0vkb.js} +46 -46
  146. package/dist/chunks/{formatter-gd4qta3r.js → voice-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{formatter-k10w2rw8.js → voice-gj46k6vd.js} +27 -27
  148. package/dist/chunks/{formatter-9hwaqfsw.js → voice-gj71zhbs.js} +5 -5
  149. package/dist/chunks/{formatter-a01j9zgm.js → voice-gm31ynds.js} +5 -5
  150. package/dist/chunks/{formatter-0j6qdzw7.js → voice-gsbrh5b6.js} +22 -22
  151. package/dist/chunks/{formatter-h6vf3j39.js → voice-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{formatter-3ks3pb71.js → voice-h81g9n7s.js} +6 -6
  153. package/dist/chunks/{formatter-h978070j.js → voice-h978070j.js} +2 -2
  154. package/dist/chunks/{formatter-v6xvqrem.js → voice-hen2h1me.js} +3 -3
  155. package/dist/chunks/{formatter-hgz4x7wa.js → voice-hgz4x7wa.js} +1 -1
  156. package/dist/chunks/{formatter-gwpaft9z.js → voice-hhe0v7zm.js} +34 -34
  157. package/dist/chunks/{formatter-z039y7x6.js → voice-hn4xv43g.js} +31 -31
  158. package/dist/chunks/{formatter-60byc3m8.js → voice-hnqavcr7.js} +50 -50
  159. package/dist/chunks/{formatter-fxaymqdw.js → voice-hq3c8me3.js} +4 -4
  160. package/dist/chunks/{formatter-c340nhfc.js → voice-htn8a1qv.js} +13 -13
  161. package/dist/chunks/{formatter-xbf45m1m.js → voice-hx6e907q.js} +11 -11
  162. package/dist/chunks/{formatter-y539vebz.js → voice-hyjay5vw.js} +34 -34
  163. package/dist/chunks/{formatter-xy38s77h.js → voice-j8v25mck.js} +5 -5
  164. package/dist/chunks/{formatter-2p6ntd4m.js → voice-jc4mxe0h.js} +22 -22
  165. package/dist/chunks/{formatter-f5jgrrfv.js → voice-jgpthgfz.js} +19 -19
  166. package/dist/chunks/{formatter-0ed8e971.js → voice-jm1jdg4g.js} +21 -21
  167. package/dist/chunks/{formatter-s5b7v2dw.js → voice-jnsvnygx.js} +45 -45
  168. package/dist/chunks/{formatter-qyh1b4jm.js → voice-jpt0ksjm.js} +3 -3
  169. package/dist/chunks/{formatter-axvj98vx.js → voice-jz94ppxa.js} +17 -17
  170. package/dist/chunks/{formatter-d04wke9a.js → voice-kj9vwc9j.js} +41 -41
  171. package/dist/chunks/{formatter-6gtdewqb.js → voice-krbeg2se.js} +45 -45
  172. package/dist/chunks/{formatter-waamc7ac.js → voice-ktg7dnk2.js} +21 -21
  173. package/dist/chunks/{formatter-5p6qw3tz.js → voice-kw7ww2k8.js} +44 -44
  174. package/dist/chunks/{formatter-kwb1v3vj.js → voice-kwb1v3vj.js} +1 -1
  175. package/dist/chunks/{formatter-e3wg82qa.js → voice-m0k7y5tq.js} +14 -14
  176. package/dist/chunks/{formatter-7mdty465.js → voice-m0xs32yr.js} +30 -30
  177. package/dist/chunks/{formatter-pc7d6ej0.js → voice-m37876mr.js} +14 -14
  178. package/dist/chunks/{formatter-m2eens3g.js → voice-m552b91p.js} +19 -19
  179. package/dist/chunks/{formatter-m9w0rfyh.js → voice-m9w0rfyh.js} +1 -1
  180. package/dist/chunks/{formatter-maspj1v3.js → voice-maspj1v3.js} +1 -1
  181. package/dist/chunks/{formatter-sx6dfbyf.js → voice-n1900k66.js} +1 -1
  182. package/dist/chunks/{formatter-g9kdeh46.js → voice-n52gxnde.js} +87 -87
  183. package/dist/chunks/{formatter-kecqbpkt.js → voice-n5csmyza.js} +10 -10
  184. package/dist/chunks/{formatter-xgfaq3ry.js → voice-n5feeqsd.js} +4 -4
  185. package/dist/chunks/{formatter-3hfr6h8q.js → voice-p37cw4rj.js} +8 -8
  186. package/dist/chunks/{formatter-h9ef7te3.js → voice-p38fre57.js} +5 -5
  187. package/dist/chunks/{formatter-rzx22v1q.js → voice-pcf1k9th.js} +6 -6
  188. package/dist/chunks/{formatter-tbcqt8n1.js → voice-pjjz4vyy.js} +335 -335
  189. package/dist/chunks/{formatter-pjvnvgmy.js → voice-pjvnvgmy.js} +1 -1
  190. package/dist/chunks/{formatter-pknna89w.js → voice-pknna89w.js} +1 -1
  191. package/dist/chunks/{formatter-sr8jg6q5.js → voice-ps2j6rx6.js} +20 -20
  192. package/dist/chunks/{formatter-qg7te02p.js → voice-pvr736zf.js} +8 -8
  193. package/dist/chunks/{formatter-zcghh444.js → voice-pzta8gqa.js} +25 -25
  194. package/dist/chunks/{formatter-1xf6wzjn.js → voice-q2sz1tra.js} +13 -13
  195. package/dist/chunks/{formatter-kzaea99f.js → voice-q303yhz1.js} +14 -14
  196. package/dist/chunks/{formatter-9864qn22.js → voice-q8ra9vd5.js} +31 -31
  197. package/dist/chunks/{formatter-m53709c2.js → voice-q8xm0c2j.js} +11 -11
  198. package/dist/chunks/{formatter-qnc92qwc.js → voice-qnc92qwc.js} +1 -1
  199. package/dist/chunks/{formatter-qsdy395h.js → voice-qsdy395h.js} +1 -1
  200. package/dist/chunks/{formatter-9qxahjdj.js → voice-qwfhs2mm.js} +23 -23
  201. package/dist/chunks/{formatter-e80seqcp.js → voice-r2z489rp.js} +3 -3
  202. package/dist/chunks/{formatter-rdw6cm16.js → voice-rdw6cm16.js} +1 -1
  203. package/dist/chunks/{formatter-rert0e01.js → voice-rert0e01.js} +2 -2
  204. package/dist/chunks/voice-rhvdwwz1.js +26 -0
  205. package/dist/chunks/{formatter-rj3eygr5.js → voice-rj3eygr5.js} +2 -2
  206. package/dist/chunks/{formatter-81dsrpbq.js → voice-rjmsaa2q.js} +24 -24
  207. package/dist/chunks/{formatter-n23bjbw3.js → voice-rka5c9pw.js} +12 -12
  208. package/dist/chunks/{formatter-rkprpv83.js → voice-rkprpv83.js} +2 -2
  209. package/dist/chunks/{formatter-vrfj7wzn.js → voice-rxwwr6rj.js} +17 -17
  210. package/dist/chunks/{formatter-4p2aqbrx.js → voice-rzk8bj82.js} +6 -6
  211. package/dist/chunks/{formatter-02nrjc1r.js → voice-s8d7rejh.js} +8 -8
  212. package/dist/chunks/{formatter-sa8ekw3f.js → voice-sa8ekw3f.js} +2 -2
  213. package/dist/chunks/{formatter-t39j3nb6.js → voice-skrw0pay.js} +182 -182
  214. package/dist/chunks/{formatter-syv4x271.js → voice-syv4x271.js} +1 -1
  215. package/dist/chunks/{formatter-fqxpggxp.js → voice-sz1e9eqn.js} +22 -22
  216. package/dist/chunks/{formatter-d55h3tfb.js → voice-t55rwbc2.js} +20 -20
  217. package/dist/chunks/{formatter-j2r6n3at.js → voice-t6p333e3.js} +26 -26
  218. package/dist/chunks/{formatter-gx7ed082.js → voice-t6twestg.js} +11 -11
  219. package/dist/chunks/{formatter-6hh8tjw2.js → voice-t6vsspdg.js} +7 -7
  220. package/dist/chunks/{formatter-tazgh4e4.js → voice-tazgh4e4.js} +1 -1
  221. package/dist/chunks/{formatter-tcezcvh9.js → voice-tcezcvh9.js} +1 -1
  222. package/dist/chunks/{formatter-tdstcens.js → voice-tdstcens.js} +1 -1
  223. package/dist/chunks/{formatter-tm0kqsz3.js → voice-tm0kqsz3.js} +1 -1
  224. package/dist/chunks/{formatter-fn9t717r.js → voice-tt8gc4fv.js} +6 -6
  225. package/dist/chunks/{formatter-49znd53m.js → voice-tx938nqc.js} +14 -14
  226. package/dist/chunks/{formatter-tyytaxap.js → voice-tyytaxap.js} +1 -1
  227. package/dist/chunks/{formatter-xr2s98ph.js → voice-v5130x7e.js} +27 -27
  228. package/dist/chunks/{formatter-v7p4zvkq.js → voice-v7p4zvkq.js} +2 -2
  229. package/dist/chunks/{formatter-veqvce7d.js → voice-veqvce7d.js} +1 -1
  230. package/dist/chunks/{formatter-pt1ss6jy.js → voice-vpm8vpz0.js} +3 -3
  231. package/dist/chunks/{formatter-6shsmc4s.js → voice-vvne4gav.js} +20 -20
  232. package/dist/chunks/{formatter-14nzty46.js → voice-vy68hshx.js} +10 -10
  233. package/dist/chunks/{formatter-f78dsz6n.js → voice-vzbxwz1d.js} +11 -11
  234. package/dist/chunks/{formatter-vzs5sf6e.js → voice-vzs5sf6e.js} +1 -1
  235. package/dist/chunks/{formatter-jrbcd3qy.js → voice-w1zgsyjh.js} +26 -26
  236. package/dist/chunks/{formatter-w3wsvvr9.js → voice-w3wsvvr9.js} +1 -1
  237. package/dist/chunks/{formatter-326x6pdt.js → voice-w645cvh3.js} +1 -1
  238. package/dist/chunks/{formatter-2mw400dq.js → voice-wch0f9f3.js} +17 -17
  239. package/dist/chunks/{formatter-whnjbvkc.js → voice-wcmg8ka2.js} +9 -9
  240. package/dist/chunks/{formatter-wd87259q.js → voice-wd87259q.js} +1 -1
  241. package/dist/chunks/{formatter-sbvsyxhr.js → voice-wdqr7xqq.js} +16 -16
  242. package/dist/chunks/{formatter-n3qps2jj.js → voice-wez1ajrw.js} +7 -7
  243. package/dist/chunks/{formatter-nt6vwrgy.js → voice-wfqe50e8.js} +4 -4
  244. package/dist/chunks/{formatter-wh6zw745.js → voice-wh6zw745.js} +2 -2
  245. package/dist/chunks/{formatter-jdma4b20.js → voice-wmg4dxvw.js} +17 -17
  246. package/dist/chunks/{formatter-vzn69n1x.js → voice-wp1wkg59.js} +17 -17
  247. package/dist/chunks/{formatter-wxv2y18y.js → voice-wt0mmhah.js} +6 -6
  248. package/dist/chunks/{formatter-fka0j1an.js → voice-x0m4hwhr.js} +15 -15
  249. package/dist/chunks/{formatter-9nerqjs9.js → voice-x4p01p4y.js} +19 -19
  250. package/dist/chunks/{formatter-0kve3vzz.js → voice-x63dfm1w.js} +13 -13
  251. package/dist/chunks/{formatter-n5s0rf7q.js → voice-x77x046w.js} +9 -9
  252. package/dist/chunks/{formatter-vebvfg1b.js → voice-xgyd6awb.js} +33 -33
  253. package/dist/chunks/{formatter-xx0g94j1.js → voice-xn17cbv3.js} +10 -10
  254. package/dist/chunks/{formatter-2mmtmdq9.js → voice-xr64f026.js} +3 -3
  255. package/dist/chunks/{formatter-apba62c4.js → voice-xw8v86tr.js} +30 -30
  256. package/dist/chunks/{formatter-q5e7cmwt.js → voice-xybefm6f.js} +1 -1
  257. package/dist/chunks/{formatter-y1fvbwt7.js → voice-y1fvbwt7.js} +1 -1
  258. package/dist/chunks/{formatter-sd6q20cc.js → voice-y32fbaee.js} +7 -7
  259. package/dist/chunks/{formatter-h4smr58a.js → voice-y3vys761.js} +54 -54
  260. package/dist/chunks/{formatter-gqtdsdt7.js → voice-y6bex35g.js} +4 -4
  261. package/dist/chunks/{formatter-n2srvep7.js → voice-y6mhz57t.js} +4 -4
  262. package/dist/chunks/{formatter-dpkg50ah.js → voice-y71avatq.js} +4 -4
  263. package/dist/chunks/{formatter-9x7kjnc6.js → voice-y8m1m766.js} +4 -4
  264. package/dist/chunks/{formatter-g4jej14z.js → voice-y8ng1a9s.js} +14 -14
  265. package/dist/chunks/{formatter-2afzv2w7.js → voice-ydyb6qzy.js} +13 -13
  266. package/dist/chunks/{formatter-s6mjk57t.js → voice-yfqqfr07.js} +23 -23
  267. package/dist/chunks/{formatter-bcndysnn.js → voice-ym1asdg7.js} +32 -32
  268. package/dist/chunks/{formatter-r8xr0va3.js → voice-yp2x3t23.js} +4 -4
  269. package/dist/chunks/{formatter-j3rvqy98.js → voice-yzh5znq2.js} +22 -22
  270. package/dist/chunks/{formatter-z0bkrqjs.js → voice-z0bkrqjs.js} +1 -1
  271. package/dist/chunks/{formatter-z18fegx4.js → voice-z18fegx4.js} +1 -1
  272. package/dist/chunks/{formatter-k15rxyma.js → voice-z5pvh795.js} +8 -8
  273. package/dist/chunks/{formatter-sabmmyg1.js → voice-z5wvy2zw.js} +91 -91
  274. package/dist/chunks/{formatter-p9j36qey.js → voice-zaxy7ecx.js} +21 -21
  275. package/dist/chunks/{formatter-30a99vc0.js → voice-zc7as1na.js} +24 -24
  276. package/dist/chunks/{formatter-8gxqpgph.js → voice-zcrspsvn.js} +4 -4
  277. package/dist/chunks/{formatter-kgnmzmc2.js → voice-zd055dky.js} +65 -65
  278. package/dist/chunks/{formatter-bmvxsevk.js → voice-zf1d6pfw.js} +12 -12
  279. package/dist/chunks/{formatter-pvzd63td.js → voice-zhc0v3qp.js} +38 -38
  280. package/dist/chunks/voice-zqbqn1p8.js +257 -0
  281. package/dist/chunks/{formatter-zr2ceqn5.js → voice-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{formatter-6133dmrp.js → voice-zxc5z6hb.js} +33 -33
  283. package/dist/chunks/{formatter-zxq2ej10.js → voice-zxq2ej10.js} +1 -1
  284. package/dist/chunks/{formatter-6t4hr8r6.js → voice-zy43x3f1.js} +4 -4
  285. package/dist/chunks/{formatter-38qay2m7.js → voice-zybbj8zn.js} +30 -30
  286. package/dist/chunks/{formatter-ce2nyva1.js → voice-zygw1fg1.js} +16 -16
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  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 +84 -84
  293. package/dist/config/markdown.js +1 -1
  294. package/dist/config/normalize.js +101 -101
  295. package/dist/config/plugin/agent.js +118 -118
  296. package/dist/config/plugin/command.js +208 -208
  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 +125 -125
  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 +119 -119
  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 +87 -87
  322. package/dist/database/database.js +68 -68
  323. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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 +78 -78
  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 +3 -3
  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 +72 -72
  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 +1 -1
  424. package/dist/filesystem/search.js +105 -105
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +15 -15
  427. package/dist/filesystem.js +102 -102
  428. package/dist/form.js +86 -86
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +89 -89
  431. package/dist/generate.js +106 -106
  432. package/dist/git.js +10 -10
  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 +93 -93
  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 +5 -5
  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 +133 -133
  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 +89 -89
  469. package/dist/managed-policy.js +8 -8
  470. package/dist/mcp/client.js +93 -93
  471. package/dist/mcp/index.js +107 -107
  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 +93 -93
  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 +113 -113
  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 +88 -88
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +77 -77
  490. package/dist/plugin/agent.js +78 -78
  491. package/dist/plugin/command.js +104 -104
  492. package/dist/plugin/hooks.js +3 -3
  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 +123 -123
  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 +132 -132
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +349 -349
  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 +6 -6
  555. package/dist/plugin/websearch/parallel.js +8 -8
  556. package/dist/plugin/websearch/tavily.js +6 -6
  557. package/dist/plugin/websearch/tinyfish.js +8 -8
  558. package/dist/plugin.js +223 -223
  559. package/dist/project/schema.js +8 -8
  560. package/dist/project/sql.js +4 -4
  561. package/dist/project.js +92 -92
  562. package/dist/provider.js +103 -103
  563. package/dist/pty/protocol.js +1 -1
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +101 -101
  566. package/dist/reference/instructions.js +91 -91
  567. package/dist/reference.js +91 -91
  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 +3 -3
  575. package/dist/session/command.js +76 -76
  576. package/dist/session/compaction.js +134 -134
  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 +215 -215
  583. package/dist/session/execution.js +127 -127
  584. package/dist/session/generate.js +155 -155
  585. package/dist/session/history.js +13 -13
  586. package/dist/session/inbox.js +90 -90
  587. package/dist/session/info.js +3 -3
  588. package/dist/session/instruction-entry.js +81 -81
  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 +3 -3
  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 +5 -5
  607. package/dist/session/runner/step.js +126 -126
  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 +164 -164
  611. package/dist/session/shell.js +130 -130
  612. package/dist/session/skill.js +107 -107
  613. package/dist/session/sql.js +5 -5
  614. package/dist/session/stats.js +75 -75
  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 +211 -211
  622. package/dist/session/usage.js +1 -1
  623. package/dist/session.js +210 -210
  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 +15 -15
  628. package/dist/shell.js +132 -132
  629. package/dist/skill/discovery.js +6 -6
  630. package/dist/skill/instructions.js +107 -107
  631. package/dist/skill.js +112 -112
  632. package/dist/snapshot.js +93 -93
  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 +116 -116
  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 +122 -122
  644. package/dist/tool/plugin/question.js +103 -103
  645. package/dist/tool/plugin/read.js +127 -127
  646. package/dist/tool/plugin/shell.js +211 -211
  647. package/dist/tool/plugin/skill.js +115 -115
  648. package/dist/tool/plugin/subagent.js +211 -211
  649. package/dist/tool/plugin/todo.js +138 -138
  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 +124 -124
  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 +14 -14
  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 +2 -2
  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 +3 -3
  673. package/dist/v1/config/provider-options.js +1 -1
  674. package/dist/v1/config/provider.js +4 -4
  675. package/dist/variant.js +93 -93
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +91 -91
  678. package/dist/voice.js +90 -90
  679. package/dist/websearch.js +84 -84
  680. package/dist/wellknown/plugin.js +78 -78
  681. package/dist/wellknown.js +83 -83
  682. package/dist/workspace/driver.js +7 -7
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +84 -84
  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 +100 -100
  690. package/package.json +8 -8
  691. package/dist/chunks/formatter-fsthefce.js +0 -26
  692. package/dist/chunks/formatter-pf31ssb9.js +0 -18
  693. package/dist/chunks/formatter-yvpf485x.js +0 -257
  694. /package/dist/chunks/{formatter-0qkdqm5v.js → voice-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{formatter-0zkw76rk.js → voice-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{formatter-17cy0kzp.js → voice-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{formatter-1cnp2v09.js → voice-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{formatter-1kg9ymc8.js → voice-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{formatter-24dcb14g.js → voice-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{formatter-2710q6r3.js → voice-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{formatter-2axfhc9x.js → voice-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{formatter-2bv980vf.js → voice-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{formatter-2c3vjs8z.js → voice-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{formatter-359p4xyc.js → voice-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{formatter-3asan66x.js → voice-3asan66x.js} +0 -0
  706. /package/dist/chunks/{formatter-3t0ybcrp.js → voice-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{formatter-3v8g72cx.js → voice-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{formatter-3wcehsnq.js → voice-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{formatter-43n2bw4t.js → voice-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{formatter-4knz6hnm.js → voice-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{formatter-4vcrnpx2.js → voice-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{formatter-4y7fprxs.js → voice-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{formatter-53557ph1.js → voice-53557ph1.js} +0 -0
  714. /package/dist/chunks/{formatter-550bvhaj.js → voice-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{formatter-5qd3pb7m.js → voice-5qd3pb7m.js} +0 -0
  716. /package/dist/chunks/{formatter-6prwharc.js → voice-6prwharc.js} +0 -0
  717. /package/dist/chunks/{formatter-6q2bdcd1.js → voice-6q2bdcd1.js} +0 -0
  718. /package/dist/chunks/{formatter-7akdwqpd.js → voice-7akdwqpd.js} +0 -0
  719. /package/dist/chunks/{formatter-7m9af43g.js → voice-7m9af43g.js} +0 -0
  720. /package/dist/chunks/{formatter-822emrt2.js → voice-822emrt2.js} +0 -0
  721. /package/dist/chunks/{formatter-84wd9syh.js → voice-84wd9syh.js} +0 -0
  722. /package/dist/chunks/{formatter-88xbtdfr.js → voice-88xbtdfr.js} +0 -0
  723. /package/dist/chunks/{formatter-8n3pysct.js → voice-8n3pysct.js} +0 -0
  724. /package/dist/chunks/{formatter-8wj87zfr.js → voice-8wj87zfr.js} +0 -0
  725. /package/dist/chunks/{formatter-9a4afbnw.js → voice-9a4afbnw.js} +0 -0
  726. /package/dist/chunks/{formatter-9rqn6x4v.js → voice-9rqn6x4v.js} +0 -0
  727. /package/dist/chunks/{formatter-a6k6eb26.js → voice-a6k6eb26.js} +0 -0
  728. /package/dist/chunks/{formatter-af5trqkr.js → voice-af5trqkr.js} +0 -0
  729. /package/dist/chunks/{formatter-afrmfg78.js → voice-afrmfg78.js} +0 -0
  730. /package/dist/chunks/{formatter-aqzs7mqg.js → voice-aqzs7mqg.js} +0 -0
  731. /package/dist/chunks/{formatter-atq7p7m5.js → voice-atq7p7m5.js} +0 -0
  732. /package/dist/chunks/{formatter-bkyjaxrp.js → voice-bkyjaxrp.js} +0 -0
  733. /package/dist/chunks/{formatter-bmr6ed5q.js → voice-bmr6ed5q.js} +0 -0
  734. /package/dist/chunks/{formatter-cf4snx6d.js → voice-cf4snx6d.js} +0 -0
  735. /package/dist/chunks/{formatter-cvy3z8tj.js → voice-cvy3z8tj.js} +0 -0
  736. /package/dist/chunks/{formatter-d9fn303g.js → voice-d9fn303g.js} +0 -0
  737. /package/dist/chunks/{formatter-d9jj8t3e.js → voice-d9jj8t3e.js} +0 -0
  738. /package/dist/chunks/{formatter-dajrwvna.js → voice-dajrwvna.js} +0 -0
  739. /package/dist/chunks/{formatter-dap0rakb.js → voice-dap0rakb.js} +0 -0
  740. /package/dist/chunks/{formatter-df08tz66.js → voice-df08tz66.js} +0 -0
  741. /package/dist/chunks/{formatter-dy18nga0.js → voice-dy18nga0.js} +0 -0
  742. /package/dist/chunks/{formatter-e5kj55wp.js → voice-e5kj55wp.js} +0 -0
  743. /package/dist/chunks/{formatter-e73j6tqm.js → voice-e73j6tqm.js} +0 -0
  744. /package/dist/chunks/{formatter-ec1grn59.js → voice-ec1grn59.js} +0 -0
  745. /package/dist/chunks/{formatter-eh3zwz77.js → voice-eh3zwz77.js} +0 -0
  746. /package/dist/chunks/{formatter-emrn6kk6.js → voice-emrn6kk6.js} +0 -0
  747. /package/dist/chunks/{formatter-f0mxakyp.js → voice-f0mxakyp.js} +0 -0
  748. /package/dist/chunks/{formatter-f6n9ztr4.js → voice-f6n9ztr4.js} +0 -0
  749. /package/dist/chunks/{formatter-faypxj3z.js → voice-faypxj3z.js} +0 -0
  750. /package/dist/chunks/{formatter-fd410y7t.js → voice-fd410y7t.js} +0 -0
  751. /package/dist/chunks/{formatter-g4wezp1m.js → voice-g4wezp1m.js} +0 -0
  752. /package/dist/chunks/{formatter-g86h250q.js → voice-g86h250q.js} +0 -0
  753. /package/dist/chunks/{formatter-gebd4c9n.js → voice-gebd4c9n.js} +0 -0
  754. /package/dist/chunks/{formatter-gftt206x.js → voice-gftt206x.js} +0 -0
  755. /package/dist/chunks/{formatter-hcxmzztb.js → voice-hcxmzztb.js} +0 -0
  756. /package/dist/chunks/{formatter-hk9envan.js → voice-hk9envan.js} +0 -0
  757. /package/dist/chunks/{formatter-j2ntwpah.js → voice-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{formatter-j5zkgpj8.js → voice-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{formatter-jjkms2e6.js → voice-jjkms2e6.js} +0 -0
  760. /package/dist/chunks/{formatter-jr7sbwjy.js → voice-jr7sbwjy.js} +0 -0
  761. /package/dist/chunks/{formatter-jwfs4k6c.js → voice-jwfs4k6c.js} +0 -0
  762. /package/dist/chunks/{formatter-jze0r7bz.js → voice-jze0r7bz.js} +0 -0
  763. /package/dist/chunks/{formatter-jzg6c2d5.js → voice-jzg6c2d5.js} +0 -0
  764. /package/dist/chunks/{formatter-m18g726c.js → voice-m18g726c.js} +0 -0
  765. /package/dist/chunks/{formatter-mp448xyj.js → voice-mp448xyj.js} +0 -0
  766. /package/dist/chunks/{formatter-msx8hqn2.js → voice-msx8hqn2.js} +0 -0
  767. /package/dist/chunks/{formatter-n05xt0ee.js → voice-n05xt0ee.js} +0 -0
  768. /package/dist/chunks/{formatter-n3j8tn72.js → voice-n3j8tn72.js} +0 -0
  769. /package/dist/chunks/{formatter-njntx4h6.js → voice-njntx4h6.js} +0 -0
  770. /package/dist/chunks/{formatter-pkyv6v7h.js → voice-pkyv6v7h.js} +0 -0
  771. /package/dist/chunks/{formatter-pyv0edze.js → voice-pyv0edze.js} +0 -0
  772. /package/dist/chunks/{formatter-q3sfg36h.js → voice-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{formatter-q74kybfr.js → voice-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{formatter-qaymkmh1.js → voice-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{formatter-qb87gjwd.js → voice-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{formatter-qfa1cgps.js → voice-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{formatter-qg3g05ea.js → voice-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{formatter-qrg20bc0.js → voice-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{formatter-rcb2kzg1.js → voice-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{formatter-sdp7kfr6.js → voice-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{formatter-ssg3fenm.js → voice-ssg3fenm.js} +0 -0
  782. /package/dist/chunks/{formatter-ve7vex1e.js → voice-ve7vex1e.js} +0 -0
  783. /package/dist/chunks/{formatter-w803qqfp.js → voice-w803qqfp.js} +0 -0
  784. /package/dist/chunks/{formatter-wc3fc9cn.js → voice-wc3fc9cn.js} +0 -0
  785. /package/dist/chunks/{formatter-wer8tq1h.js → voice-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{formatter-wjj7prxr.js → voice-wjj7prxr.js} +0 -0
  787. /package/dist/chunks/{formatter-wtztk69x.js → voice-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{formatter-x0ckcb58.js → voice-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{formatter-x61499pn.js → voice-x61499pn.js} +0 -0
  790. /package/dist/chunks/{formatter-y44na4kk.js → voice-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{formatter-y8f7s663.js → voice-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{formatter-ygaqb7jw.js → voice-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{formatter-ym463w8f.js → voice-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{formatter-z5v4ffb3.js → voice-z5v4ffb3.js} +0 -0
  795. /package/dist/chunks/{formatter-z9919s4g.js → voice-z9919s4g.js} +0 -0
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service53,
3
- node56
4
- } from "./formatter-sbvsyxhr.js";
2
+ Service45,
3
+ node48
4
+ } from "./voice-wdqr7xqq.js";
5
5
  import {
6
- Service20,
7
- node23
8
- } from "./formatter-sabmmyg1.js";
6
+ Service26,
7
+ node29
8
+ } from "./voice-z5wvy2zw.js";
9
9
  import {
10
10
  text2,
11
11
  deliver2
12
- } from "./formatter-6xb47vfp.js";
12
+ } from "./voice-6xb47vfp.js";
13
13
  import {
14
14
  __export
15
- } from "./formatter-9rqn6x4v.js";
15
+ } from "./voice-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service10,
20
+ Service: () => Service8,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node12
22
+ node: () => node10
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service10 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service8 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service20;
30
- const jobs = yield* Service53;
29
+ const sessions = yield* Service26;
30
+ const jobs = yield* Service45;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service10.of({
45
+ return Service8.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node12 = Node.makeGlobalNode({
68
- service: Service10,
69
- layer: Layer.effect(Service10, make),
70
- deps: [node23, node56]
67
+ var node10 = Node.makeGlobalNode({
68
+ service: Service8,
69
+ layer: Layer.effect(Service8, make),
70
+ deps: [node29, node48]
71
71
  });
72
72
 
73
- export { Service10, node12, exports_subagent_job };
73
+ export { Service8, node10, exports_subagent_job };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./formatter-cqsap5z8.js";
4
+ } from "./voice-4bnzbgn8.js";
5
5
  import {
6
- Service78,
7
- node81
8
- } from "./formatter-v82nyebm.js";
6
+ Service70,
7
+ node74
8
+ } from "./voice-9cb08eze.js";
9
9
  import {
10
10
  create3
11
- } from "./formatter-rdw6cm16.js";
11
+ } from "./voice-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./formatter-9rqn6x4v.js";
14
+ } from "./voice-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event6,
21
- ID: () => ID4,
20
+ Event: () => Event10,
21
+ ID: () => ID6,
22
22
  Input: () => Input15,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service38,
31
+ Service: () => Service61,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node42
33
+ node: () => node65
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event6 } from "@opencode/schema/websearch";
41
- var ID4 = WebSearch.ID;
40
+ import { Event as Event10 } from "@opencode/schema/websearch";
41
+ var ID6 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input15 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID6, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID4
53
+ providerID: ID6
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID4,
61
+ providerID: ID6,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service38 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service61 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service38, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
69
69
  const bus = yield* Service85;
70
- const kv = yield* Service78;
70
+ const kv = yield* Service70;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service38.of({
127
+ return Service61.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node42 = makeLocationNode({
188
- service: Service38,
187
+ var node65 = makeLocationNode({
188
+ service: Service61,
189
189
  layer,
190
- deps: [node89, node81]
190
+ deps: [node89, node74]
191
191
  });
192
192
 
193
- export { ID4, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service38, node42, exports_websearch3, Event6 };
193
+ export { ID6, Provider2, Input15, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service61, node65, exports_websearch3, Event10 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./voice-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
9
  Service: () => Service75,
10
- node: () => node78
10
+ node: () => node79
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -56,6 +56,6 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
57
  return Service75.of({ has, register, trigger });
58
58
  }));
59
- var node78 = makeLocationNode({ service: Service75, layer, deps: [] });
59
+ var node79 = makeLocationNode({ service: Service75, layer, deps: [] });
60
60
 
61
- export { Service75, node78, exports_hooks };
61
+ export { Service75, node79, exports_hooks };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  Service85
3
- } from "./formatter-cqsap5z8.js";
3
+ } from "./voice-4bnzbgn8.js";
4
4
  import {
5
- Service82
6
- } from "./formatter-06c933ea.js";
5
+ Service81
6
+ } from "./voice-cy3cg06b.js";
7
7
  import {
8
8
  PromptsChanged2,
9
- Service32
10
- } from "./formatter-mdqes59k.js";
9
+ Service38
10
+ } from "./voice-3vnym5x3.js";
11
11
  import {
12
12
  __export
13
- } from "./formatter-9rqn6x4v.js";
13
+ } from "./voice-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/command.ts
16
- var exports_command2 = {};
17
- __export(exports_command2, {
18
- CommandPlugin: () => exports_command2,
19
- Plugin: () => Plugin29
16
+ var exports_command = {};
17
+ __export(exports_command, {
18
+ CommandPlugin: () => exports_command,
19
+ Plugin: () => Plugin30
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect, Stream } from "effect";
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
193
193
  `;
194
194
 
195
195
  // src/plugin/command.ts
196
- var Plugin29 = define({
196
+ var Plugin30 = define({
197
197
  id: "opencode.command",
198
198
  effect: Effect.fn(function* (ctx) {
199
- const location = yield* Service82;
200
- const mcp = yield* Service32;
199
+ const location = yield* Service81;
200
+ const mcp = yield* Service38;
201
201
  const bus = yield* Service85;
202
202
  const loaded = { prompts: [] };
203
203
  yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
@@ -280,4 +280,4 @@ function sanitize(value) {
280
280
  var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
281
281
  var quoteTrimRegex = /^["']|["']$/g;
282
282
 
283
- export { Plugin29, exports_command2 };
283
+ export { Plugin30, exports_command };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  useragent2
3
- } from "./formatter-jnyfd4gm.js";
3
+ } from "./voice-84pnh87n.js";
4
4
  import {
5
5
  collectBoundedResponseBody2
6
- } from "./formatter-3v8g72cx.js";
6
+ } from "./voice-3v8g72cx.js";
7
7
  import {
8
- MAX_RESPONSE_BYTES2,
8
+ MAX_RESPONSE_BYTES3,
9
9
  call2
10
- } from "./formatter-wjr9rjd7.js";
10
+ } from "./voice-1ffvrpkg.js";
11
11
  import {
12
12
  __export
13
- } from "./formatter-9rqn6x4v.js";
13
+ } from "./voice-9rqn6x4v.js";
14
14
 
15
15
  // src/plugin/websearch/tinyfish.ts
16
16
  var exports_tinyfish = {};
17
17
  __export(exports_tinyfish, {
18
- Plugin: () => Plugin28,
18
+ Plugin: () => Plugin21,
19
19
  WebSearchTinyFish: () => exports_tinyfish,
20
- endpoint: () => endpoint6
20
+ endpoint: () => endpoint4
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Duration, Effect, Option, Schema } from "effect";
24
24
  import { HttpClient, HttpClientRequest } from "effect/http";
25
- var endpoint6 = "https://agent.tinyfish.ai/mcp";
25
+ var endpoint4 = "https://agent.tinyfish.ai/mcp";
26
26
  var McpInput = Schema.Struct({
27
27
  query: Schema.String
28
28
  });
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
51
51
  jsonrpc: Schema.Literal("2.0"),
52
52
  method: Schema.Literal("notifications/initialized")
53
53
  });
54
- var Plugin28 = define({
54
+ var Plugin21 = define({
55
55
  id: "opencode.websearch.tinyfish",
56
56
  effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
57
57
  const http = yield* HttpClient.HttpClient;
@@ -78,7 +78,7 @@ var Plugin28 = define({
78
78
  ...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
79
79
  };
80
80
  const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
81
- const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
81
+ const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
82
82
  const content = result?.content.find((item) => item.text);
83
83
  const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
84
84
  return response?.results.map((item) => ({
@@ -94,7 +94,7 @@ var Plugin28 = define({
94
94
  });
95
95
  var initialize = (http, headers) => Effect.gen(function* () {
96
96
  const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
97
- const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
97
+ const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
98
98
  jsonrpc: "2.0",
99
99
  id: 1,
100
100
  method: "initialize",
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
105
105
  }
106
106
  }));
107
107
  const response = yield* client.execute(request);
108
- yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
108
+ yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
109
109
  const session = response.headers["mcp-session-id"];
110
110
  if (session === undefined)
111
111
  return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
112
- const notification = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
112
+ const notification = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
113
113
  jsonrpc: "2.0",
114
114
  method: "notifications/initialized"
115
115
  }));
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
120
120
  orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
121
121
  }));
122
122
 
123
- export { endpoint6, Plugin28, exports_tinyfish };
123
+ export { endpoint4, Plugin21, exports_tinyfish };
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./formatter-z5v4ffb3.js";
5
+ } from "./voice-z5v4ffb3.js";
6
6
  import {
7
- Service80,
8
- node83
9
- } from "./formatter-81dsrpbq.js";
7
+ Service54,
8
+ node57
9
+ } from "./voice-rjmsaa2q.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./formatter-maspj1v3.js";
12
+ } from "./voice-maspj1v3.js";
13
13
  import {
14
14
  __export
15
- } from "./formatter-9rqn6x4v.js";
15
+ } from "./voice-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error4,
20
+ Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service79,
24
- node: () => node82
23
+ Service: () => Service20,
24
+ node: () => node22
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service79 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service20 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error4({ message, cause });
63
+ var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service79, Effect.gen(function* () {
67
- const environment = yield* Service80;
66
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
67
+ const environment = yield* Service54;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service79.of({
95
+ return Service20.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node82 = makeLocationNode({ service: Service79, layer, deps: [node83, RipgrepBinary2.node] });
178
+ var node22 = makeLocationNode({ service: Service20, layer, deps: [node57, RipgrepBinary2.node] });
179
179
 
180
- export { Error4, InvalidPatternError2, Service79, node82, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service20, node22, exports_ripgrep };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./formatter-s5b7v2dw.js";
3
+ } from "./voice-jnsvnygx.js";
4
4
  import {
5
5
  __export
6
- } from "./formatter-9rqn6x4v.js";
6
+ } from "./voice-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin22
12
+ Plugin: () => Plugin25
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin22 = define({
32
+ var Plugin25 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
105
105
  }, undefined);
106
106
  }
107
107
 
108
- export { Plugin22, exports_plan };
108
+ export { Plugin25, exports_plan };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./formatter-z5v4ffb3.js";
4
+ } from "./voice-z5v4ffb3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./formatter-pt1ss6jy.js";
7
+ } from "./voice-vpm8vpz0.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./formatter-jq12p00e.js";
4
+ } from "./voice-0d60ahdf.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./formatter-rert0e01.js";
7
+ } from "./voice-rert0e01.js";
8
8
  import {
9
9
  __export
10
- } from "./formatter-9rqn6x4v.js";
10
+ } from "./voice-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
16
  ConflictError: () => ConflictError2,
17
- ID: () => ID13,
18
- Info: () => Info24,
19
- ListInput: () => ListInput5,
20
- NotFoundError: () => NotFoundError10,
17
+ ID: () => ID9,
18
+ Info: () => Info18,
19
+ ListInput: () => ListInput4,
20
+ NotFoundError: () => NotFoundError9,
21
21
  PermissionSaved: () => exports_saved,
22
- Service: () => Service74,
22
+ Service: () => Service73,
23
23
  UpdateInput: () => UpdateInput3,
24
24
  node: () => node77
25
25
  });
@@ -29,9 +29,9 @@ import { isSqlError } from "effect/sql/SqlError";
29
29
  import { Project } from "@opencode/schema/project";
30
30
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
31
31
  import { PermissionSaved } from "@opencode/schema/permission-saved";
32
- var ID13 = PermissionSaved.ID;
33
- var Info24 = PermissionSaved.Info;
34
- var ListInput5 = Schema.Struct({
32
+ var ID9 = PermissionSaved.ID;
33
+ var Info18 = PermissionSaved.Info;
34
+ var ListInput4 = Schema.Struct({
35
35
  projectID: Project.ID.pipe(Schema.optional)
36
36
  }).annotate({ identifier: "PermissionSaved.ListInput" });
37
37
  var AddInput2 = Schema.Struct({
@@ -40,26 +40,26 @@ var AddInput2 = Schema.Struct({
40
40
  resources: Schema.Array(Schema.String)
41
41
  }).annotate({ identifier: "PermissionSaved.AddInput" });
42
42
  var UpdateInput3 = Schema.Struct({
43
- id: ID13,
43
+ id: ID9,
44
44
  action: Schema.String.pipe(Schema.optional),
45
45
  resource: Schema.String.pipe(Schema.optional)
46
46
  }).annotate({ identifier: "PermissionSaved.UpdateInput" });
47
47
 
48
- class NotFoundError10 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
49
- id: ID13
48
+ class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
49
+ id: ID9
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
54
- id: ID13,
54
+ id: ID9,
55
55
  action: Schema.String,
56
56
  resource: Schema.String
57
57
  }) {
58
58
  }
59
59
 
60
- class Service74 extends Context.Service()("@opencode/PermissionSaved") {
60
+ class Service73 extends Context.Service()("@opencode/PermissionSaved") {
61
61
  }
62
- var layer = Layer.effect(Service74, Effect.gen(function* () {
62
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
63
63
  const db = (yield* Service86).db;
64
64
  const list = Effect.fnUntraced(function* (input) {
65
65
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
69
69
  if (!input.resources.length)
70
70
  return;
71
71
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
72
- id: ID13.create(),
72
+ id: ID9.create(),
73
73
  project_id: input.projectID,
74
74
  action: input.action,
75
75
  resource
@@ -78,18 +78,18 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
78
78
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
79
79
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
80
80
  if (!current)
81
- return yield* new NotFoundError10({ id: input.id });
81
+ return yield* new NotFoundError9({ id: input.id });
82
82
  const action = input.action ?? current.action;
83
83
  const resource = input.resource ?? current.resource;
84
84
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
85
85
  if (!updated)
86
- return yield* new NotFoundError10({ id: input.id });
86
+ return yield* new NotFoundError9({ id: input.id });
87
87
  return info(updated);
88
88
  });
89
89
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
90
90
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
91
91
  });
92
- return Service74.of({ list, add, update, remove });
92
+ return Service73.of({ list, add, update, remove });
93
93
  }));
94
94
  var isUniqueViolation = (error) => {
95
95
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -107,6 +107,6 @@ var info = (row) => ({
107
107
  updated: DateTime.makeUnsafe(row.time_updated)
108
108
  }
109
109
  });
110
- var node77 = makeGlobalNode({ service: Service74, layer, deps: [node90] });
110
+ var node77 = makeGlobalNode({ service: Service73, layer, deps: [node90] });
111
111
 
112
- export { ID13, Info24, ListInput5, AddInput2, UpdateInput3, NotFoundError10, ConflictError2, Service74, node77, exports_saved };
112
+ export { ID9, Info18, ListInput4, AddInput2, UpdateInput3, NotFoundError9, ConflictError2, Service73, node77, exports_saved };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./formatter-3v8g72cx.js";
3
+ } from "./voice-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./formatter-9rqn6x4v.js";
6
+ } from "./voice-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
- var exports_mcp2 = {};
10
- __export(exports_mcp2, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
- WebSearchMcp: () => exports_mcp2,
9
+ var exports_mcp = {};
10
+ __export(exports_mcp, {
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
12
+ WebSearchMcp: () => exports_mcp,
13
13
  call: () => call2,
14
14
  parseResponse: () => parseResponse2
15
15
  });
16
16
  import { Duration, Effect, Schema } from "effect";
17
17
  import { HttpClient, HttpClientRequest } from "effect/http";
18
- var MAX_RESPONSE_BYTES2 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES3 = 256 * 1024;
19
19
  var parseResponse2 = (body, result) => {
20
20
  const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
21
21
  const parse = (payload) => {
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
53
53
  }));
54
54
  return yield* Effect.gen(function* () {
55
55
  const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
56
- const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
57
57
  return yield* parseResponse2(body.toString("utf8"), schema.output);
58
58
  }).pipe(Effect.scoped, Effect.timeoutOrElse({
59
59
  duration: Duration.seconds(25),
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
61
61
  }));
62
62
  });
63
63
 
64
- export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
64
+ export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };