@opencode/core 0.0.0-dev-963 → 0.0.0-dev-964

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 (930) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +94 -94
  3. package/dist/aisdk-native.js +102 -102
  4. package/dist/aisdk.js +108 -108
  5. package/dist/app.js +7 -7
  6. package/dist/artifact.js +246 -246
  7. package/dist/bus.js +84 -84
  8. package/dist/chunks/{model-retry-wr8c7kqh.js → voice-00ewv2qf.js} +12 -12
  9. package/dist/chunks/{model-retry-gbzg03e6.js → voice-01tfwf53.js} +27 -27
  10. package/dist/chunks/{model-retry-aj7mw0zk.js → voice-034tev2y.js} +2 -2
  11. package/dist/chunks/{model-retry-6h1eenzx.js → voice-0bn33jj1.js} +6 -6
  12. package/dist/chunks/{model-retry-zezx15n6.js → voice-0gqsd9fg.js} +18 -18
  13. package/dist/chunks/{model-retry-0ma9gw4f.js → voice-0ma9gw4f.js} +2 -2
  14. package/dist/chunks/{model-retry-tycv7n3a.js → voice-0php2d2a.js} +4 -4
  15. package/dist/chunks/{model-retry-yqfnxatp.js → voice-0qh3s10f.js} +7 -7
  16. package/dist/chunks/{model-retry-aybz7h29.js → voice-0v2w8pbb.js} +33 -33
  17. package/dist/chunks/{model-retry-0gtwtd06.js → voice-0vtmyca9.js} +30 -30
  18. package/dist/chunks/{model-retry-5mavy24g.js → voice-0xadcha5.js} +9 -9
  19. package/dist/chunks/{model-retry-10pn4eb5.js → voice-10pn4eb5.js} +2 -2
  20. package/dist/chunks/{model-retry-6jbqzmh7.js → voice-15m4mygk.js} +18 -18
  21. package/dist/chunks/{model-retry-0hzn3qjb.js → voice-16jhq12a.js} +9 -9
  22. package/dist/chunks/{model-retry-j145syf3.js → voice-17b8a7h3.js} +11 -11
  23. package/dist/chunks/{model-retry-1aqsckx4.js → voice-1aqsckx4.js} +1 -1
  24. package/dist/chunks/{model-retry-4wm8crj1.js → voice-1dvb3gmj.js} +9 -9
  25. package/dist/chunks/{model-retry-27w5k9zf.js → voice-1ep2p91f.js} +2 -2
  26. package/dist/chunks/{model-retry-mhggzpsv.js → voice-1f7fgv8p.js} +13 -13
  27. package/dist/chunks/{model-retry-rf94rsxf.js → voice-1pthwa90.js} +5 -5
  28. package/dist/chunks/{model-retry-qrzbfcq2.js → voice-1rn7dek2.js} +15 -15
  29. package/dist/chunks/{model-retry-7tpmqsyg.js → voice-1sfntyzw.js} +9 -9
  30. package/dist/chunks/{model-retry-a3kfmphf.js → voice-1td1h2ht.js} +10 -10
  31. package/dist/chunks/{model-retry-msd2a3qm.js → voice-1v2g13eq.js} +4 -4
  32. package/dist/chunks/{model-retry-eas4b64y.js → voice-1w0avsj5.js} +49 -49
  33. package/dist/chunks/{model-retry-1x2knyw4.js → voice-1x2knyw4.js} +1 -1
  34. package/dist/chunks/{model-retry-9a5n699h.js → voice-22ezab04.js} +21 -21
  35. package/dist/chunks/{model-retry-48c19znr.js → voice-23rvthkw.js} +15 -15
  36. package/dist/chunks/{model-retry-8b3vzgkx.js → voice-25h84942.js} +4 -4
  37. package/dist/chunks/{model-retry-5cr30h4q.js → voice-28rkn4bn.js} +8 -8
  38. package/dist/chunks/{model-retry-2fc7eemy.js → voice-2fc7eemy.js} +1 -1
  39. package/dist/chunks/{model-retry-mtsycxk2.js → voice-2gt1bs3y.js} +8 -8
  40. package/dist/chunks/{model-retry-0f7zcmgx.js → voice-2jpmm09x.js} +17 -17
  41. package/dist/chunks/{model-retry-scffdxbh.js → voice-2k6758er.js} +28 -28
  42. package/dist/chunks/{model-retry-5ehmdea4.js → voice-2mr1maa0.js} +19 -19
  43. package/dist/chunks/{model-retry-2p60zmnr.js → voice-2p60zmnr.js} +2 -2
  44. package/dist/chunks/{model-retry-xjwvjeh9.js → voice-2xt21qg7.js} +23 -23
  45. package/dist/chunks/{model-retry-h56sm60v.js → voice-2zdv0xg6.js} +11 -11
  46. package/dist/chunks/{model-retry-fza04h0s.js → voice-39c1cpm5.js} +28 -28
  47. package/dist/chunks/{model-retry-2xavcrc6.js → voice-3cz0nxy2.js} +7 -7
  48. package/dist/chunks/{model-retry-3hepkmqq.js → voice-3hepkmqq.js} +1 -1
  49. package/dist/chunks/{model-retry-3nnrz6f6.js → voice-3nnrz6f6.js} +1 -1
  50. package/dist/chunks/{model-retry-znhkf8c8.js → voice-3q00qqkh.js} +25 -25
  51. package/dist/chunks/{model-retry-3qgwywyc.js → voice-3qgwywyc.js} +1 -1
  52. package/dist/chunks/{model-retry-ya848mpz.js → voice-3rs71jyg.js} +39 -39
  53. package/dist/chunks/{model-retry-z7tw4ttc.js → voice-3yyccf88.js} +28 -28
  54. package/dist/chunks/{model-retry-we5rn6a5.js → voice-40qsrmhq.js} +55 -55
  55. package/dist/chunks/{model-retry-40y6dtc2.js → voice-40y6dtc2.js} +1 -1
  56. package/dist/chunks/{model-retry-r41sfy63.js → voice-40za9wsf.js} +6 -6
  57. package/dist/chunks/{model-retry-nxm17xv8.js → voice-42b88sja.js} +25 -25
  58. package/dist/chunks/voice-43s25b9x.js +26 -0
  59. package/dist/chunks/{model-retry-44pmzq9c.js → voice-44pmzq9c.js} +2 -2
  60. package/dist/chunks/{model-retry-1n6kb5jd.js → voice-4bbgqs4g.js} +35 -35
  61. package/dist/chunks/{model-retry-4dx1dgte.js → voice-4dx1dgte.js} +1 -1
  62. package/dist/chunks/{model-retry-4f25tdd0.js → voice-4f25tdd0.js} +1 -1
  63. package/dist/chunks/{model-retry-0nv0p3cy.js → voice-4hdtqmnf.js} +36 -36
  64. package/dist/chunks/{model-retry-vzt7rakn.js → voice-4ky886p8.js} +41 -41
  65. package/dist/chunks/{model-retry-rn4aqytt.js → voice-4nyecbjy.js} +19 -19
  66. package/dist/chunks/{model-retry-q8v2fwx2.js → voice-4pyg9rdg.js} +25 -25
  67. package/dist/chunks/{model-retry-4pyp9zr9.js → voice-4pyp9zr9.js} +1 -1
  68. package/dist/chunks/{model-retry-ze630b5c.js → voice-4qjc6cc0.js} +3 -3
  69. package/dist/chunks/{model-retry-4v008n1t.js → voice-4v008n1t.js} +1 -1
  70. package/dist/chunks/{model-retry-tz8eqr11.js → voice-50emzza2.js} +9 -9
  71. package/dist/chunks/{model-retry-fj2b3zhr.js → voice-53hjkm5v.js} +41 -41
  72. package/dist/chunks/{model-retry-3adfey7c.js → voice-54b0575t.js} +11 -11
  73. package/dist/chunks/{model-retry-dt492btd.js → voice-568xs2g9.js} +4 -4
  74. package/dist/chunks/{model-retry-k88e6bv8.js → voice-5dbknyqr.js} +5 -5
  75. package/dist/chunks/{model-retry-2wcm1we5.js → voice-5djmykrb.js} +17 -17
  76. package/dist/chunks/{model-retry-r9b6b0z9.js → voice-5j8gtehf.js} +4 -4
  77. package/dist/chunks/{model-retry-5dqr4h9g.js → voice-5jmm62kn.js} +184 -184
  78. package/dist/chunks/{model-retry-5m9w47nd.js → voice-5m9w47nd.js} +1 -1
  79. package/dist/chunks/{model-retry-fjjn5r31.js → voice-5mr2x3fj.js} +30 -30
  80. package/dist/chunks/{model-retry-2a24g9nt.js → voice-5r30nkvm.js} +4 -4
  81. package/dist/chunks/{model-retry-m1z5tyhf.js → voice-5tnkv0hs.js} +23 -23
  82. package/dist/chunks/{model-retry-0ffsny1r.js → voice-5tqsgbys.js} +8 -8
  83. package/dist/chunks/{model-retry-57c8gpxx.js → voice-5wsa4z6e.js} +15 -15
  84. package/dist/chunks/{model-retry-1yq9hg58.js → voice-5zrxpy3q.js} +5 -5
  85. package/dist/chunks/{model-retry-6dqcbbtb.js → voice-61zmc5v6.js} +11 -11
  86. package/dist/chunks/{model-retry-enm83h0r.js → voice-6j6ndqwm.js} +11 -11
  87. package/dist/chunks/{model-retry-xhhk8f1q.js → voice-6k3xky5d.js} +7 -7
  88. package/dist/chunks/{model-retry-ffjx46ab.js → voice-6kw4d1yn.js} +12 -12
  89. package/dist/chunks/{model-retry-qtf35215.js → voice-6q8jj3zs.js} +3 -3
  90. package/dist/chunks/{model-retry-161ppk1h.js → voice-6sz5zbxg.js} +16 -16
  91. package/dist/chunks/{model-retry-775hqbnd.js → voice-775hqbnd.js} +3 -3
  92. package/dist/chunks/{model-retry-e5f9y5zc.js → voice-78hspxf6.js} +5 -5
  93. package/dist/chunks/{model-retry-9zwexsxs.js → voice-78p2h4ex.js} +5 -5
  94. package/dist/chunks/{model-retry-7bmhse3q.js → voice-7bmhse3q.js} +1 -1
  95. package/dist/chunks/{model-retry-k35vg4wr.js → voice-7cs1hega.js} +18 -18
  96. package/dist/chunks/{model-retry-pwg5gpry.js → voice-7dpmt7th.js} +18 -18
  97. package/dist/chunks/{model-retry-19z3dhq2.js → voice-7exns6mp.js} +2 -2
  98. package/dist/chunks/{model-retry-27pb0zv2.js → voice-7fb90hz6.js} +73 -73
  99. package/dist/chunks/{model-retry-2ntrqq68.js → voice-7k5wggvy.js} +3 -3
  100. package/dist/chunks/{model-retry-fqhfrfs6.js → voice-7m0ws7te.js} +14 -14
  101. package/dist/chunks/{model-retry-mdcgyhwq.js → voice-7rdtaxa6.js} +56 -56
  102. package/dist/chunks/{model-retry-7w2ypzdf.js → voice-7w2ypzdf.js} +1 -1
  103. package/dist/chunks/{model-retry-7weczvnd.js → voice-7weczvnd.js} +1 -1
  104. package/dist/chunks/{model-retry-xphgtvrb.js → voice-7z8gcvyj.js} +10 -10
  105. package/dist/chunks/{model-retry-80pdk984.js → voice-80pdk984.js} +1 -1
  106. package/dist/chunks/{model-retry-j8hmhnxh.js → voice-81ayfgmh.js} +5 -5
  107. package/dist/chunks/{model-retry-89287pr7.js → voice-89287pr7.js} +1 -1
  108. package/dist/chunks/{model-retry-5whx36p1.js → voice-8cg7mtm3.js} +4 -4
  109. package/dist/chunks/{model-retry-m5wwy1r6.js → voice-8hnmz7x2.js} +22 -22
  110. package/dist/chunks/{model-retry-5vd4538n.js → voice-8jydy40p.js} +44 -44
  111. package/dist/chunks/{model-retry-bb3mmwvh.js → voice-8sxe6kv8.js} +2 -2
  112. package/dist/chunks/{model-retry-myby9b3w.js → voice-8t7jmywy.js} +27 -27
  113. package/dist/chunks/{model-retry-3bjdzksn.js → voice-8w4s8p9a.js} +5 -5
  114. package/dist/chunks/{model-retry-8wtp7s3z.js → voice-8wtp7s3z.js} +1 -1
  115. package/dist/chunks/{model-retry-8zv0xmg5.js → voice-8zv0xmg5.js} +1 -1
  116. package/dist/chunks/{model-retry-38aws4xb.js → voice-90ct6wq4.js} +4 -4
  117. package/dist/chunks/{model-retry-p8ex78z5.js → voice-927m74tw.js} +53 -53
  118. package/dist/chunks/{model-retry-mtyv5g2h.js → voice-9ahypc1t.js} +25 -25
  119. package/dist/chunks/{model-retry-3tj7fxkh.js → voice-9akxmj8y.js} +11 -11
  120. package/dist/chunks/{model-retry-re9362gh.js → voice-9ddhjvmx.js} +36 -36
  121. package/dist/chunks/{model-retry-c6xe6jbq.js → voice-9e7ws9aq.js} +11 -11
  122. package/dist/chunks/{model-retry-ad8hmb70.js → voice-9r29h5yr.js} +20 -20
  123. package/dist/chunks/{model-retry-qn1njx2y.js → voice-9ryz22jm.js} +17 -17
  124. package/dist/chunks/{model-retry-zy9drmpe.js → voice-9ss1hsd9.js} +25 -25
  125. package/dist/chunks/{model-retry-nr3v9yst.js → voice-a46yszdy.js} +11 -11
  126. package/dist/chunks/{model-retry-6v4sd1dv.js → voice-a6j6gnnp.js} +39 -39
  127. package/dist/chunks/{model-retry-rz078nay.js → voice-a6yr553d.js} +22 -22
  128. package/dist/chunks/{model-retry-txnadde6.js → voice-a731n7nr.js} +9 -9
  129. package/dist/chunks/{model-retry-18ec6rd6.js → voice-acfhc5st.js} +7 -7
  130. package/dist/chunks/{model-retry-dm4r89tv.js → voice-ampjv2jb.js} +6 -6
  131. package/dist/chunks/{model-retry-eqm3069g.js → voice-apc8d5rx.js} +10 -10
  132. package/dist/chunks/{model-retry-21yxtvkn.js → voice-as9xcp9f.js} +23 -23
  133. package/dist/chunks/{model-retry-w66gfqzf.js → voice-asqr45f0.js} +5 -5
  134. package/dist/chunks/{model-retry-3d3zr5s2.js → voice-atyn88rj.js} +9 -9
  135. package/dist/chunks/{model-retry-8g98zn1c.js → voice-awrxjrzc.js} +12 -12
  136. package/dist/chunks/{model-retry-3cbjf1nt.js → voice-ayjs7tqn.js} +2 -2
  137. package/dist/chunks/{model-retry-9nnejqzx.js → voice-aysc2v2a.js} +5 -5
  138. package/dist/chunks/{model-retry-b26ddj6h.js → voice-b26ddj6h.js} +4 -4
  139. package/dist/chunks/{model-retry-1pk0e05p.js → voice-b3a32pfz.js} +4 -4
  140. package/dist/chunks/{model-retry-546b2qqr.js → voice-b75pk896.js} +51 -51
  141. package/dist/chunks/{model-retry-50xmtnn0.js → voice-bc4vsx1w.js} +20 -20
  142. package/dist/chunks/{model-retry-3yyjca50.js → voice-bfbsygdd.js} +5 -5
  143. package/dist/chunks/{model-retry-sdkgehmd.js → voice-bgehp640.js} +37 -37
  144. package/dist/chunks/{model-retry-x42kgh5z.js → voice-bmcg2smy.js} +32 -32
  145. package/dist/chunks/{model-retry-9sk33afj.js → voice-bqa8ney4.js} +8 -8
  146. package/dist/chunks/{model-retry-9e8kt2zr.js → voice-btp67x44.js} +5 -5
  147. package/dist/chunks/{model-retry-z938w153.js → voice-c5wc4t8q.js} +80 -80
  148. package/dist/chunks/{model-retry-63xym3gh.js → voice-c6x7d2ts.js} +4 -4
  149. package/dist/chunks/{model-retry-c7cw818c.js → voice-c7cw818c.js} +2 -2
  150. package/dist/chunks/{model-retry-cwrgdav8.js → voice-cwrgdav8.js} +2 -2
  151. package/dist/chunks/{model-retry-2vdsqpnb.js → voice-cyw90pqg.js} +13 -13
  152. package/dist/chunks/{model-retry-6y2b864j.js → voice-czwy3yzx.js} +7 -7
  153. package/dist/chunks/{model-retry-faey8208.js → voice-d3cyy5h9.js} +13 -13
  154. package/dist/chunks/{model-retry-d4v9tmah.js → voice-d4v9tmah.js} +2 -2
  155. package/dist/chunks/{model-retry-5y32hkdd.js → voice-d73cmea9.js} +29 -29
  156. package/dist/chunks/{model-retry-dbatw319.js → voice-dbatw319.js} +1 -1
  157. package/dist/chunks/{model-retry-1pg40b3b.js → voice-dh8npsad.js} +13 -13
  158. package/dist/chunks/{model-retry-j7he7tj1.js → voice-dhcnp92e.js} +18 -18
  159. package/dist/chunks/{model-retry-jkxm7wdw.js → voice-dhkgre00.js} +10 -10
  160. package/dist/chunks/{model-retry-dt77769w.js → voice-dt77769w.js} +1 -1
  161. package/dist/chunks/{model-retry-rscs01kg.js → voice-dvqgfsre.js} +2 -2
  162. package/dist/chunks/{model-retry-qgxpp3m1.js → voice-dxa907sf.js} +12 -12
  163. package/dist/chunks/{model-retry-5v9v9ahh.js → voice-dxh24bcs.js} +23 -23
  164. package/dist/chunks/{model-retry-m6b3h6k9.js → voice-e0c3r628.js} +13 -13
  165. package/dist/chunks/{model-retry-4ft9amn3.js → voice-e388vecc.js} +20 -20
  166. package/dist/chunks/{model-retry-3g7wcbvn.js → voice-e9b9rvcq.js} +5 -5
  167. package/dist/chunks/{model-retry-jkyac8e3.js → voice-ecj07vsr.js} +5 -5
  168. package/dist/chunks/{model-retry-pbgmbc5t.js → voice-efna48m6.js} +20 -20
  169. package/dist/chunks/{model-retry-p0xy8p3q.js → voice-embhht3f.js} +16 -16
  170. package/dist/chunks/{model-retry-smbvkay2.js → voice-eqavyzx9.js} +10 -10
  171. package/dist/chunks/{model-retry-eqw4pqj1.js → voice-eqw4pqj1.js} +2 -2
  172. package/dist/chunks/{model-retry-2ky49t53.js → voice-exm1rf0s.js} +25 -25
  173. package/dist/chunks/{model-retry-9vbd6tt4.js → voice-f6cf93bj.js} +11 -11
  174. package/dist/chunks/{model-retry-dgxqayre.js → voice-f9qw5520.js} +7 -7
  175. package/dist/chunks/{model-retry-c33hg92m.js → voice-fb63yqe0.js} +84 -84
  176. package/dist/chunks/{model-retry-3pffvb81.js → voice-fd35w371.js} +6 -6
  177. package/dist/chunks/{model-retry-8tx6vjd4.js → voice-fenvfg2q.js} +21 -21
  178. package/dist/chunks/{model-retry-fffv3p7h.js → voice-fffv3p7h.js} +1 -1
  179. package/dist/chunks/{model-retry-fg9p65nk.js → voice-fg9p65nk.js} +2 -2
  180. package/dist/chunks/{model-retry-0c9t4xzb.js → voice-fx8d1ven.js} +8 -8
  181. package/dist/chunks/{model-retry-fznmdakp.js → voice-fznmdakp.js} +1 -1
  182. package/dist/chunks/{model-retry-xmghnc3f.js → voice-g2hxvz91.js} +30 -30
  183. package/dist/chunks/{model-retry-e9ejdcsg.js → voice-g32y5wjx.js} +13 -13
  184. package/dist/chunks/{model-retry-4c41b4mx.js → voice-g7danagf.js} +4 -4
  185. package/dist/chunks/{model-retry-5a7y0nr5.js → voice-g8zgyhbt.js} +45 -45
  186. package/dist/chunks/{model-retry-gbjdnr5j.js → voice-gbjdnr5j.js} +2 -2
  187. package/dist/chunks/{model-retry-rbwhw1a2.js → voice-gfjnkfvy.js} +9 -9
  188. package/dist/chunks/{model-retry-xwwp50r7.js → voice-ghqza1a8.js} +9 -9
  189. package/dist/chunks/{model-retry-ghrv1g9c.js → voice-ghrv1g9c.js} +1 -1
  190. package/dist/chunks/{model-retry-j05t1s6m.js → voice-grqb6hdt.js} +51 -51
  191. package/dist/chunks/{model-retry-66829rmt.js → voice-gsh27z5w.js} +32 -32
  192. package/dist/chunks/{model-retry-7mgn7kqw.js → voice-gvmtew32.js} +16 -16
  193. package/dist/chunks/{model-retry-ggx84v7x.js → voice-gwyytpcj.js} +3 -3
  194. package/dist/chunks/{model-retry-tg7s7b5t.js → voice-gxs71cxp.js} +4 -4
  195. package/dist/chunks/{model-retry-cjqsf6bw.js → voice-gy24j455.js} +9 -9
  196. package/dist/chunks/{model-retry-963hk181.js → voice-h8s8bx6e.js} +9 -9
  197. package/dist/chunks/{model-retry-hgzwgvze.js → voice-hgzwgvze.js} +2 -2
  198. package/dist/chunks/{model-retry-mw0qydsv.js → voice-hp9s6586.js} +18 -18
  199. package/dist/chunks/{model-retry-3c7qpzd7.js → voice-hx3mz2q2.js} +8 -8
  200. package/dist/chunks/{model-retry-tcr6s7hx.js → voice-j16fvtk4.js} +6 -6
  201. package/dist/chunks/{model-retry-1tm4mynn.js → voice-j2s16gw1.js} +32 -32
  202. package/dist/chunks/{model-retry-f7dfffjm.js → voice-j6xpfznc.js} +8 -8
  203. package/dist/chunks/{model-retry-j9nxzz3g.js → voice-j9nxzz3g.js} +3 -3
  204. package/dist/chunks/{model-retry-cr4rfj9z.js → voice-jkdcm5hg.js} +4 -4
  205. package/dist/chunks/{model-retry-0zm23fzh.js → voice-jm2rth09.js} +23 -23
  206. package/dist/chunks/{model-retry-jm70asfg.js → voice-jm70asfg.js} +1 -1
  207. package/dist/chunks/{model-retry-tp0f9z31.js → voice-jqb5dkd6.js} +8 -8
  208. package/dist/chunks/{model-retry-gvhanf9h.js → voice-jwexjrzw.js} +33 -33
  209. package/dist/chunks/{model-retry-ape65bz6.js → voice-k91apw40.js} +19 -19
  210. package/dist/chunks/{model-retry-v88a3ryv.js → voice-kakp11ww.js} +16 -16
  211. package/dist/chunks/{model-retry-nv6ds7wv.js → voice-kf66eane.js} +8 -8
  212. package/dist/chunks/{model-retry-k46dd5bg.js → voice-kj9n5bvh.js} +4 -4
  213. package/dist/chunks/{model-retry-r8e692t8.js → voice-kky8y7vd.js} +18 -18
  214. package/dist/chunks/{model-retry-kn4zqwcq.js → voice-kn4zqwcq.js} +3 -3
  215. package/dist/chunks/{model-retry-n320gsn2.js → voice-kq4fnwb1.js} +4 -4
  216. package/dist/chunks/{model-retry-8aprttwk.js → voice-kqbry5xp.js} +12 -12
  217. package/dist/chunks/{model-retry-gzfkaw0c.js → voice-kr42xs1x.js} +25 -25
  218. package/dist/chunks/{model-retry-kt3bjfbg.js → voice-kt3bjfbg.js} +1 -1
  219. package/dist/chunks/{model-retry-kzczzf4v.js → voice-kzczzf4v.js} +1 -1
  220. package/dist/chunks/{model-retry-qk5sk9d1.js → voice-kzdam8c6.js} +7 -7
  221. package/dist/chunks/{model-retry-yk4bha1r.js → voice-m16wzvbz.js} +10 -10
  222. package/dist/chunks/{model-retry-m1714858.js → voice-m1714858.js} +1 -1
  223. package/dist/chunks/{model-retry-zct4xg09.js → voice-m51dyxz1.js} +9 -9
  224. package/dist/chunks/{model-retry-dke3vrcv.js → voice-m90s09wf.js} +47 -47
  225. package/dist/chunks/{model-retry-m9w0rfyh.js → voice-m9w0rfyh.js} +1 -1
  226. package/dist/chunks/{model-retry-8z6m94af.js → voice-mb7mbhnz.js} +3 -3
  227. package/dist/chunks/{model-retry-d7dxtbm7.js → voice-mdtqqwk2.js} +17 -17
  228. package/dist/chunks/{model-retry-23g3tcn9.js → voice-mem9hq1j.js} +32 -32
  229. package/dist/chunks/{model-retry-wjqxvf1v.js → voice-mht0thzg.js} +5 -5
  230. package/dist/chunks/{model-retry-tn6yhdbd.js → voice-mqwyyrgk.js} +38 -38
  231. package/dist/chunks/{model-retry-vgx153jw.js → voice-mwjtw10h.js} +16 -16
  232. package/dist/chunks/{model-retry-c2ex18zp.js → voice-mwtfx1rr.js} +46 -46
  233. package/dist/chunks/{model-retry-n3j33rb6.js → voice-n3j33rb6.js} +1 -1
  234. package/dist/chunks/{model-retry-m9rg0hev.js → voice-n3vz4w6f.js} +4 -4
  235. package/dist/chunks/{model-retry-f3cdzrg0.js → voice-n6cw2b0c.js} +9 -9
  236. package/dist/chunks/{model-retry-tn5ws9hc.js → voice-n9yrcr2r.js} +6 -6
  237. package/dist/chunks/{model-retry-gcht8555.js → voice-na09wy1b.js} +17 -17
  238. package/dist/chunks/{model-retry-3h7fzxjk.js → voice-nby6spwz.js} +9 -9
  239. package/dist/chunks/{model-retry-b5kdqcx0.js → voice-nc6qaqad.js} +4 -4
  240. package/dist/chunks/{model-retry-br0c2a14.js → voice-ncjx37xy.js} +15 -15
  241. package/dist/chunks/{model-retry-kr0x3sn9.js → voice-ne6efjj0.js} +6 -6
  242. package/dist/chunks/{model-retry-tb06yskb.js → voice-ne765583.js} +13 -13
  243. package/dist/chunks/{model-retry-82e4q3jm.js → voice-ng7kkp28.js} +1 -1
  244. package/dist/chunks/{model-retry-c4970w7t.js → voice-nv9tsjma.js} +6 -6
  245. package/dist/chunks/{model-retry-vgf4mkr1.js → voice-p09pcesq.js} +38 -38
  246. package/dist/chunks/{model-retry-evdgm3ew.js → voice-p39kxe9j.js} +14 -14
  247. package/dist/chunks/{model-retry-p76me67c.js → voice-p76me67c.js} +1 -1
  248. package/dist/chunks/{model-retry-qendvr4x.js → voice-p896y889.js} +28 -28
  249. package/dist/chunks/{model-retry-kdr6yy2e.js → voice-pdch41e7.js} +25 -25
  250. package/dist/chunks/{model-retry-1x657gw8.js → voice-pfkgx20r.js} +26 -26
  251. package/dist/chunks/{model-retry-pknna89w.js → voice-pknna89w.js} +1 -1
  252. package/dist/chunks/{model-retry-chsgkkdb.js → voice-pqg09pej.js} +14 -14
  253. package/dist/chunks/{model-retry-rtrkrqjb.js → voice-psf77gbq.js} +24 -24
  254. package/dist/chunks/{model-retry-yk4ram99.js → voice-ptabe0sc.js} +3 -3
  255. package/dist/chunks/{model-retry-k9hsxj4m.js → voice-ptgc6f70.js} +29 -29
  256. package/dist/chunks/{model-retry-4g9mzdb2.js → voice-pxde6n4r.js} +19 -19
  257. package/dist/chunks/{model-retry-ndkgrabd.js → voice-pyb42rgw.js} +16 -16
  258. package/dist/chunks/{model-retry-72fvvpfk.js → voice-q3h00j87.js} +25 -25
  259. package/dist/chunks/{model-retry-byxeg30p.js → voice-q5wyqbrn.js} +12 -12
  260. package/dist/chunks/{model-retry-h7fbbqc5.js → voice-q6563hm8.js} +6 -6
  261. package/dist/chunks/{model-retry-5mr4bw25.js → voice-q66cxe1q.js} +20 -20
  262. package/dist/chunks/{model-retry-74vvk0kg.js → voice-qnwejpft.js} +38 -38
  263. package/dist/chunks/{model-retry-qp7r0hxv.js → voice-qp7r0hxv.js} +1 -1
  264. package/dist/chunks/{model-retry-qsdghx1p.js → voice-qsdghx1p.js} +1 -1
  265. package/dist/chunks/{model-retry-87w3ax33.js → voice-qvqep2ak.js} +6 -6
  266. package/dist/chunks/{model-retry-cq4aw8s9.js → voice-r0dqvrhf.js} +6 -6
  267. package/dist/chunks/{model-retry-snhfpw9n.js → voice-r3q1xdvh.js} +17 -17
  268. package/dist/chunks/{model-retry-rb9dy4dg.js → voice-rb9dy4dg.js} +1 -1
  269. package/dist/chunks/{model-retry-rgc9cx3e.js → voice-rgc9cx3e.js} +2 -2
  270. package/dist/chunks/{model-retry-rtzvpvc6.js → voice-rgy9wb8r.js} +19 -19
  271. package/dist/chunks/{model-retry-rj7j5fvs.js → voice-rj7j5fvs.js} +1 -1
  272. package/dist/chunks/{model-retry-ad2xtyj4.js → voice-rkj5v69x.js} +16 -16
  273. package/dist/chunks/{model-retry-aqgx2fbe.js → voice-rmcpkmyh.js} +27 -27
  274. package/dist/chunks/{model-retry-fx4q7pgj.js → voice-rny7jd2w.js} +27 -27
  275. package/dist/chunks/{model-retry-gt7htbke.js → voice-rpzxhzy5.js} +35 -35
  276. package/dist/chunks/{model-retry-rt5dr6hb.js → voice-rt5dr6hb.js} +1 -1
  277. package/dist/chunks/{model-retry-9vsafsdm.js → voice-rvqjtky1.js} +18 -18
  278. package/dist/chunks/{model-retry-n49sf155.js → voice-rzhzghgd.js} +16 -16
  279. package/dist/chunks/{model-retry-fnesbmt0.js → voice-s5t4exv8.js} +31 -31
  280. package/dist/chunks/{model-retry-sbya78hr.js → voice-sbya78hr.js} +1 -1
  281. package/dist/chunks/{model-retry-x150ncgg.js → voice-sdn2zcx3.js} +2 -2
  282. package/dist/chunks/{model-retry-0j7gp832.js → voice-sqjzf8x2.js} +4 -4
  283. package/dist/chunks/{model-retry-ej6z2d8a.js → voice-src9vsb0.js} +10 -10
  284. package/dist/chunks/{model-retry-svcy3p9a.js → voice-svcy3p9a.js} +1 -1
  285. package/dist/chunks/{model-retry-pfnz7t08.js → voice-t25qvqcd.js} +4 -4
  286. package/dist/chunks/{model-retry-0x6tdn0e.js → voice-ta1tt9e0.js} +22 -22
  287. package/dist/chunks/{model-retry-jjvvtnfs.js → voice-tb2mrvc9.js} +4 -4
  288. package/dist/chunks/{model-retry-tbpn7jtk.js → voice-tbpn7jtk.js} +1 -1
  289. package/dist/chunks/{model-retry-yem0c8j4.js → voice-tc0zt20q.js} +23 -23
  290. package/dist/chunks/{model-retry-tczq8hjw.js → voice-tczq8hjw.js} +1 -1
  291. package/dist/chunks/{model-retry-wbhjtsxm.js → voice-te43v6n1.js} +8 -8
  292. package/dist/chunks/{model-retry-65n9jqtg.js → voice-tf9r37f3.js} +11 -11
  293. package/dist/chunks/{model-retry-hy8c1z76.js → voice-tg1vr1qt.js} +8 -8
  294. package/dist/chunks/{model-retry-9em2cpe1.js → voice-tnyngbzd.js} +22 -22
  295. package/dist/chunks/{model-retry-tr8x705m.js → voice-tr8x705m.js} +1 -1
  296. package/dist/chunks/{model-retry-tvtps2q9.js → voice-tvtps2q9.js} +1 -1
  297. package/dist/chunks/{model-retry-twssxy5n.js → voice-twssxy5n.js} +2 -2
  298. package/dist/chunks/{model-retry-6ss6ngz0.js → voice-tx91wa5k.js} +4 -4
  299. package/dist/chunks/{model-retry-pkejfstd.js → voice-v0zxj69a.js} +8 -8
  300. package/dist/chunks/{model-retry-v2r1d0zg.js → voice-v2r1d0zg.js} +1 -1
  301. package/dist/chunks/{model-retry-8x30jasg.js → voice-v4wwqybb.js} +8 -8
  302. package/dist/chunks/{model-retry-5nhnwd8y.js → voice-v7r59397.js} +11 -11
  303. package/dist/chunks/{model-retry-vjf35v1f.js → voice-vjf35v1f.js} +1 -1
  304. package/dist/chunks/{model-retry-45538rdj.js → voice-vn7d9r1w.js} +31 -31
  305. package/dist/chunks/{model-retry-x6d6qzf8.js → voice-vpfjm1w0.js} +347 -347
  306. package/dist/chunks/{model-retry-vq0qa3sh.js → voice-vt4r9rmy.js} +9 -9
  307. package/dist/chunks/{model-retry-z4gcm27a.js → voice-vvyrbt6e.js} +15 -15
  308. package/dist/chunks/{model-retry-2kg89srt.js → voice-w35wzz9x.js} +4 -4
  309. package/dist/chunks/{model-retry-w3wsvvr9.js → voice-w3wsvvr9.js} +1 -1
  310. package/dist/chunks/{model-retry-ha1v2dhf.js → voice-w9kjqb2v.js} +18 -18
  311. package/dist/chunks/{model-retry-wakvkjy4.js → voice-wakvkjy4.js} +1 -1
  312. package/dist/chunks/{model-retry-wd87259q.js → voice-wd87259q.js} +1 -1
  313. package/dist/chunks/{model-retry-nx4vzyjd.js → voice-wegkxhrn.js} +2 -2
  314. package/dist/chunks/{model-retry-4yagn11h.js → voice-wgcv9jcx.js} +6 -6
  315. package/dist/chunks/{model-retry-s51an0zc.js → voice-wm90ajzq.js} +33 -33
  316. package/dist/chunks/{model-retry-8v9kt5en.js → voice-wpmtqpce.js} +12 -12
  317. package/dist/chunks/{model-retry-82h3pxy5.js → voice-x0z0m99k.js} +18 -18
  318. package/dist/chunks/{model-retry-k8sgn0be.js → voice-x1re4nvw.js} +11 -11
  319. package/dist/chunks/{model-retry-3gb83mmq.js → voice-x7qyjdvj.js} +3 -3
  320. package/dist/chunks/{model-retry-wdpcpr0e.js → voice-xb9pxrkr.js} +15 -15
  321. package/dist/chunks/{model-retry-bstexjd6.js → voice-xd9cc171.js} +5 -5
  322. package/dist/chunks/{model-retry-mjrcsjpa.js → voice-xjbsd7zy.js} +9 -9
  323. package/dist/chunks/{model-retry-xjr6c8m4.js → voice-xjr6c8m4.js} +1 -1
  324. package/dist/chunks/{model-retry-kbgs7tyr.js → voice-xksw6ev0.js} +4 -4
  325. package/dist/chunks/{model-retry-nware8wq.js → voice-xm65dzc6.js} +31 -31
  326. package/dist/chunks/{model-retry-aqczazaa.js → voice-xn7cqzsq.js} +4 -4
  327. package/dist/chunks/voice-xqphd06q.js +265 -0
  328. package/dist/chunks/{model-retry-msjng1j0.js → voice-xsg53zeb.js} +9 -9
  329. package/dist/chunks/{model-retry-b7nkz392.js → voice-xtq9xpt1.js} +1 -1
  330. package/dist/chunks/{model-retry-651yrfrd.js → voice-y05q0w5r.js} +15 -15
  331. package/dist/chunks/{model-retry-g55xkcty.js → voice-y2z0z6pv.js} +4 -4
  332. package/dist/chunks/{model-retry-8k6g23ta.js → voice-y7hezkzm.js} +21 -21
  333. package/dist/chunks/{model-retry-495c17tm.js → voice-y8cce3fx.js} +19 -19
  334. package/dist/chunks/{model-retry-yb20nhc3.js → voice-yb20nhc3.js} +1 -1
  335. package/dist/chunks/{model-retry-8qdr79jy.js → voice-ye0egtn0.js} +11 -11
  336. package/dist/chunks/{model-retry-edm37t96.js → voice-ygnyxm4b.js} +6 -6
  337. package/dist/chunks/{model-retry-sbzezcpx.js → voice-yngvyh0w.js} +8 -8
  338. package/dist/chunks/{model-retry-yr705xyq.js → voice-yr705xyq.js} +1 -1
  339. package/dist/chunks/{model-retry-yvtc2x31.js → voice-yvtc2x31.js} +1 -1
  340. package/dist/chunks/{model-retry-31d2mjrz.js → voice-yy41tw1y.js} +15 -15
  341. package/dist/chunks/{model-retry-fyxaa2px.js → voice-yyxekwz1.js} +59 -59
  342. package/dist/chunks/{model-retry-m9958x9e.js → voice-z198hf5t.js} +8 -8
  343. package/dist/chunks/{model-retry-9wz6grpp.js → voice-z6bqmzvv.js} +9 -9
  344. package/dist/chunks/{model-retry-ha665zcy.js → voice-z6dmpqyt.js} +3 -3
  345. package/dist/chunks/voice-z7bdqmx5.js +18 -0
  346. package/dist/chunks/{model-retry-vt7mrkqc.js → voice-z9z2ktkk.js} +13 -13
  347. package/dist/chunks/{model-retry-zpdbqgja.js → voice-zpdbqgja.js} +1 -1
  348. package/dist/chunks/{model-retry-1efxkabk.js → voice-zs0a32sq.js} +12 -12
  349. package/dist/chunks/{model-retry-w2qp36ym.js → voice-zvwf81tm.js} +49 -49
  350. package/dist/codemode/catalog.js +1 -1
  351. package/dist/codemode/execution.js +3 -3
  352. package/dist/codemode/fetch.js +148 -148
  353. package/dist/codemode/instructions.js +9 -9
  354. package/dist/codemode/tool.js +155 -155
  355. package/dist/command.js +90 -90
  356. package/dist/config/discovery.js +95 -95
  357. package/dist/config/integration.js +1 -1
  358. package/dist/config/managed.js +1 -1
  359. package/dist/config/markdown.js +1 -1
  360. package/dist/config/normalize.js +112 -112
  361. package/dist/config/plugin/agent.js +131 -131
  362. package/dist/config/plugin/command.js +238 -238
  363. package/dist/config/plugin/compaction.js +173 -173
  364. package/dist/config/plugin/compatibility.js +153 -153
  365. package/dist/config/plugin/entry-observer.js +1 -1
  366. package/dist/config/plugin/formatter.js +131 -131
  367. package/dist/config/plugin/image.js +130 -130
  368. package/dist/config/plugin/instruction.js +130 -130
  369. package/dist/config/plugin/location-watcher.js +130 -130
  370. package/dist/config/plugin/mcp.js +141 -141
  371. package/dist/config/plugin/policy.js +130 -130
  372. package/dist/config/plugin/provider.js +130 -130
  373. package/dist/config/plugin/reference.js +132 -132
  374. package/dist/config/plugin/shell.js +130 -130
  375. package/dist/config/plugin/skill-file.js +149 -149
  376. package/dist/config/plugin/skill-scan.js +1 -1
  377. package/dist/config/plugin/skill.js +154 -154
  378. package/dist/config/plugin/snapshot.js +130 -130
  379. package/dist/config/plugin/source.js +132 -132
  380. package/dist/config/plugin/tool-output.js +131 -131
  381. package/dist/config/plugin/websearch.js +129 -129
  382. package/dist/config/plugin/worktree.js +132 -132
  383. package/dist/config/variable.js +1 -1
  384. package/dist/config/watch.js +1 -1
  385. package/dist/config.js +135 -135
  386. package/dist/console-access.js +1 -1
  387. package/dist/credential/sql.js +2 -2
  388. package/dist/credential.js +90 -90
  389. package/dist/database/batch.js +1 -1
  390. package/dist/database/database.js +81 -81
  391. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  392. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  393. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  394. package/dist/database/drizzle/index.js +15 -15
  395. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  396. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  397. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  398. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  399. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  400. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  401. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  402. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  403. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  404. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  405. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  406. package/dist/database/drizzle.js +16 -16
  407. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  408. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  409. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  410. package/dist/database/migration/20260225215848_workspace.js +1 -1
  411. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  412. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  413. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  414. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  415. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  416. package/dist/database/migration/20260323234822_events.js +1 -1
  417. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  418. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  419. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  420. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  421. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  422. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  423. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  424. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  425. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  426. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  427. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  428. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  429. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  430. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  431. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  432. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  433. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  434. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  435. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  436. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  437. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  438. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  439. package/dist/database/migration/20260611035744_credential.js +1 -1
  440. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  441. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  442. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  443. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  444. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  445. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  446. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  447. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  448. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  449. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  450. package/dist/database/migration/20260812213948_worktree.js +1 -1
  451. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  452. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  453. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  454. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  455. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  456. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  457. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  458. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  459. package/dist/database/migration/20261025123711_blob.js +1 -1
  460. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  461. package/dist/database/migration/20261026223005_schedule.js +1 -1
  462. package/dist/database/migration/20261029002625_session_part.js +1 -1
  463. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  464. package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
  465. package/dist/database/migration/20261030054400_job.js +1 -1
  466. package/dist/database/migration.gen.js +60 -60
  467. package/dist/database/migration.js +76 -76
  468. package/dist/database/path.js +2 -2
  469. package/dist/database/schema.gen.js +1 -1
  470. package/dist/database/schema.sql.js +1 -1
  471. package/dist/database/v1-migration.bun.js +108 -108
  472. package/dist/database/v1-migration.js +1 -1
  473. package/dist/effect/app-node-builder.js +440 -440
  474. package/dist/effect/app-node-platform.js +2 -2
  475. package/dist/effect/keyed-mutex.js +3 -3
  476. package/dist/effect/websocket-constructor.js +1 -1
  477. package/dist/environment/driver.js +1 -1
  478. package/dist/environment/environment.js +105 -105
  479. package/dist/environment/exec-defaults.js +2 -2
  480. package/dist/environment/files.js +1 -1
  481. package/dist/environment/index.js +107 -107
  482. package/dist/environment/local.js +2 -2
  483. package/dist/environment/memory.js +2 -2
  484. package/dist/environment/unavailable.js +1 -1
  485. package/dist/event/sql.js +1 -1
  486. package/dist/event-logger.js +85 -85
  487. package/dist/file-access.js +160 -160
  488. package/dist/file-mutation.js +108 -108
  489. package/dist/file-retention.js +1 -1
  490. package/dist/file-write.js +164 -164
  491. package/dist/filesystem/fff.bun.js +2 -2
  492. package/dist/filesystem/fff.js +1 -1
  493. package/dist/filesystem/fff.node.js +2 -2
  494. package/dist/filesystem/fff.workerd.js +2 -2
  495. package/dist/filesystem/file-watch.js +91 -91
  496. package/dist/filesystem/location-watcher-policy.js +6 -6
  497. package/dist/filesystem/location-watcher.js +251 -251
  498. package/dist/filesystem/protected.js +1 -1
  499. package/dist/filesystem/search.js +113 -113
  500. package/dist/filesystem/watcher-binding.js +1 -1
  501. package/dist/filesystem/watcher.js +11 -11
  502. package/dist/filesystem.js +116 -116
  503. package/dist/flag.js +129 -129
  504. package/dist/form.js +91 -91
  505. package/dist/formatter/builtins.js +2 -2
  506. package/dist/formatter.js +100 -100
  507. package/dist/generate.js +116 -116
  508. package/dist/git.js +11 -11
  509. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  510. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  511. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  512. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  513. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  514. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  515. package/dist/github-copilot/copilot-provider.js +17 -17
  516. package/dist/github-copilot/models.js +112 -112
  517. package/dist/github-copilot/openai-compatible-error.js +1 -1
  518. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  519. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  520. package/dist/github-copilot/responses/openai-error.js +1 -1
  521. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  522. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  523. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  524. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  525. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  526. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  527. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  528. package/dist/image/notice.js +3 -3
  529. package/dist/image/photon-normalize.js +1 -1
  530. package/dist/image/photon-worker.js +1 -1
  531. package/dist/image/photon.js +4 -4
  532. package/dist/image.js +6 -6
  533. package/dist/instance/service.js +5 -5
  534. package/dist/instance.js +431 -431
  535. package/dist/instruction-discovery.js +93 -93
  536. package/dist/instructions/builtins.js +100 -100
  537. package/dist/instructions/index.js +1 -1
  538. package/dist/integration/connection.js +3 -3
  539. package/dist/integration.js +100 -100
  540. package/dist/job/list.js +5 -5
  541. package/dist/job/recovery.js +2 -2
  542. package/dist/job/sql.js +2 -2
  543. package/dist/job.js +90 -90
  544. package/dist/kv/sql.js +2 -2
  545. package/dist/kv.js +84 -84
  546. package/dist/location-activity.js +182 -182
  547. package/dist/location-lifecycle.js +153 -153
  548. package/dist/location-service-map.js +99 -99
  549. package/dist/location-services.js +428 -428
  550. package/dist/location.js +102 -102
  551. package/dist/managed-policy.js +3 -3
  552. package/dist/mcp/client.js +158 -158
  553. package/dist/mcp/connection.js +106 -106
  554. package/dist/mcp/index.js +120 -120
  555. package/dist/mcp/instructions.js +187 -187
  556. package/dist/mcp/oauth.js +89 -89
  557. package/dist/mcp/pool.js +108 -108
  558. package/dist/mcp/socket-client.js +1 -1
  559. package/dist/mcp/stdio.js +157 -157
  560. package/dist/mime.js +1 -1
  561. package/dist/modal/models.js +112 -112
  562. package/dist/model-resolver.js +112 -112
  563. package/dist/model-retry.js +1 -1
  564. package/dist/model.js +115 -115
  565. package/dist/models-dev/v1.js +1 -1
  566. package/dist/models-dev.js +121 -121
  567. package/dist/oauth/page.js +1 -1
  568. package/dist/permission/saved.js +89 -89
  569. package/dist/permission/sql.js +5 -5
  570. package/dist/permission.js +156 -156
  571. package/dist/persistent-pty/binary.bun.js +1 -1
  572. package/dist/persistent-pty/daemon.js +1 -1
  573. package/dist/persistent-pty/index.js +97 -97
  574. package/dist/persistent-pty/pty-binding.js +1 -1
  575. package/dist/persistent-pty.js +86 -86
  576. package/dist/plugin/agent.js +85 -85
  577. package/dist/plugin/command.js +117 -117
  578. package/dist/plugin/goal.js +3 -3
  579. package/dist/plugin/hooks.js +5 -5
  580. package/dist/plugin/host.js +244 -244
  581. package/dist/plugin/identity.js +5 -5
  582. package/dist/plugin/instance.js +5 -5
  583. package/dist/plugin/internal.js +407 -407
  584. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  585. package/dist/plugin/models-dev.js +110 -110
  586. package/dist/plugin/module.js +127 -127
  587. package/dist/plugin/optimize.js +4 -4
  588. package/dist/plugin/plan.js +149 -149
  589. package/dist/plugin/promise.js +1 -1
  590. package/dist/plugin/provider/amazon-bedrock.js +106 -106
  591. package/dist/plugin/provider/azure.js +133 -133
  592. package/dist/plugin/provider/cerebras.js +1 -1
  593. package/dist/plugin/provider/chatgpt.js +133 -133
  594. package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
  595. package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
  596. package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
  597. package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
  598. package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
  599. package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
  600. package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
  601. package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
  602. package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
  603. package/dist/plugin/provider/claude-agent/index.js +148 -148
  604. package/dist/plugin/provider/claude-agent/instructions.js +112 -112
  605. package/dist/plugin/provider/claude-agent/integration.js +115 -115
  606. package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
  607. package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
  608. package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
  609. package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
  610. package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
  611. package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
  612. package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
  613. package/dist/plugin/provider/claude-agent/provider.js +108 -108
  614. package/dist/plugin/provider/claude-agent/session.js +112 -112
  615. package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
  616. package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
  617. package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
  618. package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
  619. package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
  620. package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
  621. package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
  622. package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
  623. package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
  624. package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
  625. package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
  626. package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
  627. package/dist/plugin/provider/configured.js +126 -126
  628. package/dist/plugin/provider/credential-settings.js +88 -88
  629. package/dist/plugin/provider/databricks.js +1 -1
  630. package/dist/plugin/provider/digitalocean.js +109 -109
  631. package/dist/plugin/provider/dynamic.js +2 -2
  632. package/dist/plugin/provider/github-copilot.js +111 -111
  633. package/dist/plugin/provider/gitlab.js +109 -109
  634. package/dist/plugin/provider/google-vertex.js +127 -127
  635. package/dist/plugin/provider/kilo.js +1 -1
  636. package/dist/plugin/provider/llmgateway.js +89 -89
  637. package/dist/plugin/provider/lmstudio.js +140 -140
  638. package/dist/plugin/provider/local.js +137 -137
  639. package/dist/plugin/provider/modal.js +108 -108
  640. package/dist/plugin/provider/neon.js +1 -1
  641. package/dist/plugin/provider/nvidia.js +1 -1
  642. package/dist/plugin/provider/ollama.js +140 -140
  643. package/dist/plugin/provider/openai-context-caps.js +106 -106
  644. package/dist/plugin/provider/openai.js +135 -135
  645. package/dist/plugin/provider/opencode.js +159 -159
  646. package/dist/plugin/provider/openrouter.js +104 -104
  647. package/dist/plugin/provider/poe.js +90 -90
  648. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  649. package/dist/plugin/provider/refresh.js +87 -87
  650. package/dist/plugin/provider/sap-ai-core.js +104 -104
  651. package/dist/plugin/provider/sdk-factory.js +1 -1
  652. package/dist/plugin/provider/snowflake-cortex.js +131 -131
  653. package/dist/plugin/provider/vllm.js +140 -140
  654. package/dist/plugin/provider/xai.js +104 -104
  655. package/dist/plugin/provider/zenmux.js +1 -1
  656. package/dist/plugin/provider.js +237 -237
  657. package/dist/plugin/sdk.js +85 -85
  658. package/dist/plugin/service.js +3 -3
  659. package/dist/plugin/skill.js +152 -152
  660. package/dist/plugin/source-directory.js +1 -1
  661. package/dist/plugin/supervisor.js +417 -417
  662. package/dist/plugin/tool-input-repair.js +4 -4
  663. package/dist/plugin/update.js +6 -6
  664. package/dist/plugin/vcs/git.js +99 -99
  665. package/dist/plugin/vcs/hg.js +99 -99
  666. package/dist/plugin/verbosity.js +106 -106
  667. package/dist/plugin/warming.js +130 -130
  668. package/dist/plugin/websearch/exa.js +8 -8
  669. package/dist/plugin/websearch/firecrawl.js +9 -9
  670. package/dist/plugin/websearch/index.js +10 -10
  671. package/dist/plugin/websearch/mcp.js +4 -4
  672. package/dist/plugin/websearch/parallel.js +9 -9
  673. package/dist/plugin/websearch/provider.js +1 -1
  674. package/dist/plugin/websearch/tavily.js +7 -7
  675. package/dist/plugin/websearch/tinyfish.js +9 -9
  676. package/dist/plugin.js +251 -251
  677. package/dist/project/icon.js +5 -5
  678. package/dist/project/schema.js +8 -8
  679. package/dist/project/sql.js +4 -4
  680. package/dist/project.js +105 -105
  681. package/dist/provider.js +112 -112
  682. package/dist/pty/protocol.js +1 -1
  683. package/dist/pty/ticket.js +1 -1
  684. package/dist/pty.js +101 -101
  685. package/dist/reference/instructions.js +101 -101
  686. package/dist/reference.js +103 -103
  687. package/dist/repository-cache.js +93 -93
  688. package/dist/repository.js +3 -3
  689. package/dist/ripgrep/binary.js +2 -2
  690. package/dist/ripgrep.js +109 -109
  691. package/dist/rpc.js +99 -99
  692. package/dist/schedule/check.js +249 -249
  693. package/dist/schedule/sql.js +6 -6
  694. package/dist/schedule.js +253 -253
  695. package/dist/schema.js +1 -1
  696. package/dist/session/affinity.js +1 -1
  697. package/dist/session/background.js +1 -1
  698. package/dist/session/blob.js +132 -132
  699. package/dist/session/command.js +85 -85
  700. package/dist/session/compaction.js +173 -173
  701. package/dist/session/context.js +203 -203
  702. package/dist/session/diff.js +101 -101
  703. package/dist/session/environment.js +5 -5
  704. package/dist/session/error.js +5 -5
  705. package/dist/session/event.js +1 -1
  706. package/dist/session/execution/restart.js +248 -248
  707. package/dist/session/execution.js +163 -163
  708. package/dist/session/generate.js +204 -204
  709. package/dist/session/history.js +139 -139
  710. package/dist/session/inbox.js +150 -150
  711. package/dist/session/info.js +3 -3
  712. package/dist/session/instruction-entry.js +90 -90
  713. package/dist/session/instruction-state.js +8 -8
  714. package/dist/session/instructions.js +144 -144
  715. package/dist/session/message-updater.js +2 -2
  716. package/dist/session/message.js +1 -1
  717. package/dist/session/model-request.js +171 -171
  718. package/dist/session/model-transport.js +9 -9
  719. package/dist/session/move.js +169 -169
  720. package/dist/session/projector.js +144 -144
  721. package/dist/session/prompt.js +151 -151
  722. package/dist/session/recent-text.js +1 -1
  723. package/dist/session/revert.js +142 -142
  724. package/dist/session/run-coordinator.js +1 -1
  725. package/dist/session/runner/index.js +1 -1
  726. package/dist/session/runner/llm.js +256 -256
  727. package/dist/session/runner/max-steps.js +1 -1
  728. package/dist/session/runner/model.js +113 -113
  729. package/dist/session/runner/publish-llm-event.js +153 -153
  730. package/dist/session/runner/retry.js +3 -3
  731. package/dist/session/runner/step.js +164 -164
  732. package/dist/session/runner/to-llm-message.js +140 -140
  733. package/dist/session/schema.js +5 -5
  734. package/dist/session/session.js +188 -188
  735. package/dist/session/shell.js +145 -145
  736. package/dist/session/skill.js +150 -150
  737. package/dist/session/sql.js +5 -5
  738. package/dist/session/stats.js +87 -87
  739. package/dist/session/store.js +145 -145
  740. package/dist/session/stored.js +2 -2
  741. package/dist/session/subagent-completion.js +3 -3
  742. package/dist/session/subagent-job.js +237 -237
  743. package/dist/session/system-prompt.js +5 -5
  744. package/dist/session/title.js +207 -207
  745. package/dist/session/to-session-error.js +152 -152
  746. package/dist/session/transfer.js +248 -248
  747. package/dist/session/usage.js +1 -1
  748. package/dist/session.js +239 -239
  749. package/dist/shared-cache.js +5 -5
  750. package/dist/shell/parse.js +6 -6
  751. package/dist/shell/result.js +1 -1
  752. package/dist/shell/scan.js +1 -1
  753. package/dist/shell/select.js +13 -13
  754. package/dist/shell.js +147 -147
  755. package/dist/skill/discovery.js +6 -6
  756. package/dist/skill/instructions.js +154 -154
  757. package/dist/skill.js +159 -159
  758. package/dist/snapshot.js +98 -98
  759. package/dist/state.js +1 -1
  760. package/dist/tool/html-markdown.js +1 -1
  761. package/dist/tool/http-body.js +1 -1
  762. package/dist/tool/mcp.js +186 -186
  763. package/dist/tool/plugin/artifact.js +236 -236
  764. package/dist/tool/plugin/edit.js +168 -168
  765. package/dist/tool/plugin/file-diff.js +1 -1
  766. package/dist/tool/plugin/glob.js +174 -174
  767. package/dist/tool/plugin/grep.js +171 -171
  768. package/dist/tool/plugin/image-generate.js +247 -247
  769. package/dist/tool/plugin/mcp-resource.js +169 -169
  770. package/dist/tool/plugin/opencode.js +166 -166
  771. package/dist/tool/plugin/patch.js +167 -167
  772. package/dist/tool/plugin/question.js +149 -149
  773. package/dist/tool/plugin/read.js +175 -175
  774. package/dist/tool/plugin/schedule.js +255 -255
  775. package/dist/tool/plugin/shell.js +237 -237
  776. package/dist/tool/plugin/skill.js +158 -158
  777. package/dist/tool/plugin/subagent.js +244 -244
  778. package/dist/tool/plugin/todo.js +154 -154
  779. package/dist/tool/plugin/webfetch.js +160 -160
  780. package/dist/tool/plugin/websearch.js +156 -156
  781. package/dist/tool/plugin/write.js +169 -169
  782. package/dist/tool/read-filesystem.js +116 -116
  783. package/dist/tool/runtime.js +1 -1
  784. package/dist/tool/search.js +109 -109
  785. package/dist/tool-output.js +7 -7
  786. package/dist/tool.js +163 -163
  787. package/dist/usage-limits.js +98 -98
  788. package/dist/util/error-summary.js +1 -1
  789. package/dist/util/git-executable.js +3 -3
  790. package/dist/util/lazy.js +1 -1
  791. package/dist/util/slug.js +1 -1
  792. package/dist/util/token.js +1 -1
  793. package/dist/util/which.js +1 -1
  794. package/dist/util/wildcard.js +1 -1
  795. package/dist/v1/config/agent.js +7 -7
  796. package/dist/v1/config/command.js +3 -3
  797. package/dist/v1/config/mcp.js +4 -4
  798. package/dist/v1/config/migrate.js +105 -105
  799. package/dist/v1/config/permission.js +3 -3
  800. package/dist/v1/config/plugin.js +3 -3
  801. package/dist/v1/config/provider-options.js +1 -1
  802. package/dist/v1/config/provider.js +2 -2
  803. package/dist/variant.js +104 -104
  804. package/dist/vcs/patch.js +1 -1
  805. package/dist/vcs.js +102 -102
  806. package/dist/voice.js +97 -97
  807. package/dist/websearch.js +101 -101
  808. package/dist/wellknown/plugin.js +87 -87
  809. package/dist/wellknown.js +92 -92
  810. package/dist/workspace/driver.js +5 -5
  811. package/dist/workspace/sql.js +1 -1
  812. package/dist/workspace.js +91 -91
  813. package/dist/worktree/directory.js +2 -2
  814. package/dist/worktree/git.js +11 -11
  815. package/dist/worktree/sql.js +5 -5
  816. package/dist/worktree/strategies.js +102 -102
  817. package/dist/worktree.js +113 -113
  818. package/package.json +8 -8
  819. package/dist/chunks/model-retry-00ve6mdn.js +0 -18
  820. package/dist/chunks/model-retry-b98b9sym.js +0 -26
  821. package/dist/chunks/model-retry-ngrkswfd.js +0 -265
  822. /package/dist/chunks/{model-retry-0qkdqm5v.js → voice-0qkdqm5v.js} +0 -0
  823. /package/dist/chunks/{model-retry-0zkw76rk.js → voice-0zkw76rk.js} +0 -0
  824. /package/dist/chunks/{model-retry-108x4f4w.js → voice-108x4f4w.js} +0 -0
  825. /package/dist/chunks/{model-retry-17cy0kzp.js → voice-17cy0kzp.js} +0 -0
  826. /package/dist/chunks/{model-retry-1cnp2v09.js → voice-1cnp2v09.js} +0 -0
  827. /package/dist/chunks/{model-retry-1kah00gy.js → voice-1kah00gy.js} +0 -0
  828. /package/dist/chunks/{model-retry-24dcb14g.js → voice-24dcb14g.js} +0 -0
  829. /package/dist/chunks/{model-retry-2710q6r3.js → voice-2710q6r3.js} +0 -0
  830. /package/dist/chunks/{model-retry-2bv980vf.js → voice-2bv980vf.js} +0 -0
  831. /package/dist/chunks/{model-retry-2c3vjs8z.js → voice-2c3vjs8z.js} +0 -0
  832. /package/dist/chunks/{model-retry-359p4xyc.js → voice-359p4xyc.js} +0 -0
  833. /package/dist/chunks/{model-retry-3af0jn4w.js → voice-3af0jn4w.js} +0 -0
  834. /package/dist/chunks/{model-retry-3asan66x.js → voice-3asan66x.js} +0 -0
  835. /package/dist/chunks/{model-retry-3v8g72cx.js → voice-3v8g72cx.js} +0 -0
  836. /package/dist/chunks/{model-retry-3wcehsnq.js → voice-3wcehsnq.js} +0 -0
  837. /package/dist/chunks/{model-retry-43n2bw4t.js → voice-43n2bw4t.js} +0 -0
  838. /package/dist/chunks/{model-retry-4knz6hnm.js → voice-4knz6hnm.js} +0 -0
  839. /package/dist/chunks/{model-retry-4qk9sjk2.js → voice-4qk9sjk2.js} +0 -0
  840. /package/dist/chunks/{model-retry-4y7fprxs.js → voice-4y7fprxs.js} +0 -0
  841. /package/dist/chunks/{model-retry-53557ph1.js → voice-53557ph1.js} +0 -0
  842. /package/dist/chunks/{model-retry-550bvhaj.js → voice-550bvhaj.js} +0 -0
  843. /package/dist/chunks/{model-retry-5w3e23ze.js → voice-5w3e23ze.js} +0 -0
  844. /package/dist/chunks/{model-retry-6agm2x70.js → voice-6agm2x70.js} +0 -0
  845. /package/dist/chunks/{model-retry-6prwharc.js → voice-6prwharc.js} +0 -0
  846. /package/dist/chunks/{model-retry-6q2bdcd1.js → voice-6q2bdcd1.js} +0 -0
  847. /package/dist/chunks/{model-retry-7akdwqpd.js → voice-7akdwqpd.js} +0 -0
  848. /package/dist/chunks/{model-retry-7m9af43g.js → voice-7m9af43g.js} +0 -0
  849. /package/dist/chunks/{model-retry-822emrt2.js → voice-822emrt2.js} +0 -0
  850. /package/dist/chunks/{model-retry-84wd9syh.js → voice-84wd9syh.js} +0 -0
  851. /package/dist/chunks/{model-retry-88xbtdfr.js → voice-88xbtdfr.js} +0 -0
  852. /package/dist/chunks/{model-retry-8n3pysct.js → voice-8n3pysct.js} +0 -0
  853. /package/dist/chunks/{model-retry-8wj87zfr.js → voice-8wj87zfr.js} +0 -0
  854. /package/dist/chunks/{model-retry-9a4afbnw.js → voice-9a4afbnw.js} +0 -0
  855. /package/dist/chunks/{model-retry-9rqn6x4v.js → voice-9rqn6x4v.js} +0 -0
  856. /package/dist/chunks/{model-retry-a6k6eb26.js → voice-a6k6eb26.js} +0 -0
  857. /package/dist/chunks/{model-retry-af5trqkr.js → voice-af5trqkr.js} +0 -0
  858. /package/dist/chunks/{model-retry-afrmfg78.js → voice-afrmfg78.js} +0 -0
  859. /package/dist/chunks/{model-retry-aqzs7mqg.js → voice-aqzs7mqg.js} +0 -0
  860. /package/dist/chunks/{model-retry-atq7p7m5.js → voice-atq7p7m5.js} +0 -0
  861. /package/dist/chunks/{model-retry-beh6qq61.js → voice-beh6qq61.js} +0 -0
  862. /package/dist/chunks/{model-retry-bhmrqjy3.js → voice-bhmrqjy3.js} +0 -0
  863. /package/dist/chunks/{model-retry-bkyjaxrp.js → voice-bkyjaxrp.js} +0 -0
  864. /package/dist/chunks/{model-retry-bmr6ed5q.js → voice-bmr6ed5q.js} +0 -0
  865. /package/dist/chunks/{model-retry-cf4snx6d.js → voice-cf4snx6d.js} +0 -0
  866. /package/dist/chunks/{model-retry-cqv5kn06.js → voice-cqv5kn06.js} +0 -0
  867. /package/dist/chunks/{model-retry-cvy3z8tj.js → voice-cvy3z8tj.js} +0 -0
  868. /package/dist/chunks/{model-retry-d9fn303g.js → voice-d9fn303g.js} +0 -0
  869. /package/dist/chunks/{model-retry-d9jj8t3e.js → voice-d9jj8t3e.js} +0 -0
  870. /package/dist/chunks/{model-retry-dap0rakb.js → voice-dap0rakb.js} +0 -0
  871. /package/dist/chunks/{model-retry-df08tz66.js → voice-df08tz66.js} +0 -0
  872. /package/dist/chunks/{model-retry-dy18nga0.js → voice-dy18nga0.js} +0 -0
  873. /package/dist/chunks/{model-retry-e5kj55wp.js → voice-e5kj55wp.js} +0 -0
  874. /package/dist/chunks/{model-retry-ean2d8b5.js → voice-ean2d8b5.js} +0 -0
  875. /package/dist/chunks/{model-retry-ec1grn59.js → voice-ec1grn59.js} +0 -0
  876. /package/dist/chunks/{model-retry-emrn6kk6.js → voice-emrn6kk6.js} +0 -0
  877. /package/dist/chunks/{model-retry-f0mxakyp.js → voice-f0mxakyp.js} +0 -0
  878. /package/dist/chunks/{model-retry-f6n9ztr4.js → voice-f6n9ztr4.js} +0 -0
  879. /package/dist/chunks/{model-retry-faypxj3z.js → voice-faypxj3z.js} +0 -0
  880. /package/dist/chunks/{model-retry-fd410y7t.js → voice-fd410y7t.js} +0 -0
  881. /package/dist/chunks/{model-retry-fkpq3x5p.js → voice-fkpq3x5p.js} +0 -0
  882. /package/dist/chunks/{model-retry-g4wezp1m.js → voice-g4wezp1m.js} +0 -0
  883. /package/dist/chunks/{model-retry-g86h250q.js → voice-g86h250q.js} +0 -0
  884. /package/dist/chunks/{model-retry-gebd4c9n.js → voice-gebd4c9n.js} +0 -0
  885. /package/dist/chunks/{model-retry-gftt206x.js → voice-gftt206x.js} +0 -0
  886. /package/dist/chunks/{model-retry-hcxmzztb.js → voice-hcxmzztb.js} +0 -0
  887. /package/dist/chunks/{model-retry-hk9envan.js → voice-hk9envan.js} +0 -0
  888. /package/dist/chunks/{model-retry-j2ntwpah.js → voice-j2ntwpah.js} +0 -0
  889. /package/dist/chunks/{model-retry-j5zkgpj8.js → voice-j5zkgpj8.js} +0 -0
  890. /package/dist/chunks/{model-retry-jjkms2e6.js → voice-jjkms2e6.js} +0 -0
  891. /package/dist/chunks/{model-retry-jr7sbwjy.js → voice-jr7sbwjy.js} +0 -0
  892. /package/dist/chunks/{model-retry-jwfs4k6c.js → voice-jwfs4k6c.js} +0 -0
  893. /package/dist/chunks/{model-retry-jwr30sdr.js → voice-jwr30sdr.js} +0 -0
  894. /package/dist/chunks/{model-retry-jzg6c2d5.js → voice-jzg6c2d5.js} +0 -0
  895. /package/dist/chunks/{model-retry-m18g726c.js → voice-m18g726c.js} +0 -0
  896. /package/dist/chunks/{model-retry-mp448xyj.js → voice-mp448xyj.js} +0 -0
  897. /package/dist/chunks/{model-retry-msx8hqn2.js → voice-msx8hqn2.js} +0 -0
  898. /package/dist/chunks/{model-retry-n05xt0ee.js → voice-n05xt0ee.js} +0 -0
  899. /package/dist/chunks/{model-retry-n3j8tn72.js → voice-n3j8tn72.js} +0 -0
  900. /package/dist/chunks/{model-retry-nh4v3znn.js → voice-nh4v3znn.js} +0 -0
  901. /package/dist/chunks/{model-retry-njntx4h6.js → voice-njntx4h6.js} +0 -0
  902. /package/dist/chunks/{model-retry-p71gwv9c.js → voice-p71gwv9c.js} +0 -0
  903. /package/dist/chunks/{model-retry-q3sfg36h.js → voice-q3sfg36h.js} +0 -0
  904. /package/dist/chunks/{model-retry-q74kybfr.js → voice-q74kybfr.js} +0 -0
  905. /package/dist/chunks/{model-retry-qb87gjwd.js → voice-qb87gjwd.js} +0 -0
  906. /package/dist/chunks/{model-retry-qfa1cgps.js → voice-qfa1cgps.js} +0 -0
  907. /package/dist/chunks/{model-retry-qg3g05ea.js → voice-qg3g05ea.js} +0 -0
  908. /package/dist/chunks/{model-retry-qrg20bc0.js → voice-qrg20bc0.js} +0 -0
  909. /package/dist/chunks/{model-retry-rcb2kzg1.js → voice-rcb2kzg1.js} +0 -0
  910. /package/dist/chunks/{model-retry-sdp7kfr6.js → voice-sdp7kfr6.js} +0 -0
  911. /package/dist/chunks/{model-retry-ssg3fenm.js → voice-ssg3fenm.js} +0 -0
  912. /package/dist/chunks/{model-retry-syrav9an.js → voice-syrav9an.js} +0 -0
  913. /package/dist/chunks/{model-retry-t03h4f5z.js → voice-t03h4f5z.js} +0 -0
  914. /package/dist/chunks/{model-retry-ty7weeps.js → voice-ty7weeps.js} +0 -0
  915. /package/dist/chunks/{model-retry-ve7vex1e.js → voice-ve7vex1e.js} +0 -0
  916. /package/dist/chunks/{model-retry-vtarvj67.js → voice-vtarvj67.js} +0 -0
  917. /package/dist/chunks/{model-retry-w803qqfp.js → voice-w803qqfp.js} +0 -0
  918. /package/dist/chunks/{model-retry-wc3fc9cn.js → voice-wc3fc9cn.js} +0 -0
  919. /package/dist/chunks/{model-retry-wer8tq1h.js → voice-wer8tq1h.js} +0 -0
  920. /package/dist/chunks/{model-retry-wtztk69x.js → voice-wtztk69x.js} +0 -0
  921. /package/dist/chunks/{model-retry-x0ckcb58.js → voice-x0ckcb58.js} +0 -0
  922. /package/dist/chunks/{model-retry-x4th4bpe.js → voice-x4th4bpe.js} +0 -0
  923. /package/dist/chunks/{model-retry-x61499pn.js → voice-x61499pn.js} +0 -0
  924. /package/dist/chunks/{model-retry-y44na4kk.js → voice-y44na4kk.js} +0 -0
  925. /package/dist/chunks/{model-retry-y8f7s663.js → voice-y8f7s663.js} +0 -0
  926. /package/dist/chunks/{model-retry-ygaqb7jw.js → voice-ygaqb7jw.js} +0 -0
  927. /package/dist/chunks/{model-retry-z0h12gs8.js → voice-z0h12gs8.js} +0 -0
  928. /package/dist/chunks/{model-retry-z5v4ffb3.js → voice-z5v4ffb3.js} +0 -0
  929. /package/dist/chunks/{model-retry-z9919s4g.js → voice-z9919s4g.js} +0 -0
  930. /package/dist/chunks/{model-retry-zxpyjp51.js → voice-zxpyjp51.js} +0 -0
@@ -1,42 +1,42 @@
1
1
  import {
2
- Service90,
3
- node93
4
- } from "./model-retry-ndkgrabd.js";
2
+ Service91,
3
+ node94
4
+ } from "./voice-pyb42rgw.js";
5
5
  import {
6
6
  changes2,
7
7
  create4
8
- } from "./model-retry-40y6dtc2.js";
8
+ } from "./voice-40y6dtc2.js";
9
9
  import {
10
10
  __export
11
- } from "./model-retry-9rqn6x4v.js";
11
+ } from "./voice-9rqn6x4v.js";
12
12
 
13
13
  // src/agent.ts
14
- var exports_agent3 = {};
15
- __export(exports_agent3, {
16
- Agent: () => exports_agent3,
14
+ var exports_agent4 = {};
15
+ __export(exports_agent4, {
16
+ Agent: () => exports_agent4,
17
17
  Color: () => Color2,
18
- Event: () => Event14,
19
- ID: () => ID14,
20
- Info: () => Info17,
18
+ Event: () => Event21,
19
+ ID: () => ID22,
20
+ Info: () => Info32,
21
21
  Name: () => Name3,
22
- Service: () => Service77,
22
+ Service: () => Service88,
23
23
  defaultID: () => defaultID2,
24
- node: () => node79
24
+ node: () => node91
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
- import { Event as Event14 } from "@opencode/schema/agent";
30
- var ID14 = Agent.ID;
29
+ import { Event as Event21 } from "@opencode/schema/agent";
30
+ var ID22 = Agent.ID;
31
31
  var Name3 = Agent.Name;
32
- var defaultID2 = ID14.make("build");
32
+ var defaultID2 = ID22.make("build");
33
33
  var Color2 = Agent.Color;
34
- var Info17 = Agent.Info;
34
+ var Info32 = Agent.Info;
35
35
 
36
- class Service77 extends Context.Service()("@opencode/Agent") {
36
+ class Service88 extends Context.Service()("@opencode/Agent") {
37
37
  }
38
- var layer = Layer.effect(Service77, Effect.gen(function* () {
39
- const bus = yield* Service90;
38
+ var layer = Layer.effect(Service88, Effect.gen(function* () {
39
+ const bus = yield* Service91;
40
40
  const selectable = (agent) => agent && agent.mode !== "subagent" && !agent.hidden ? agent : undefined;
41
41
  const selectedDefault = (data) => {
42
42
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
68
68
  editor.default = id;
69
69
  },
70
70
  update: (id, fn) => {
71
- const current = editor.agents.get(id) ?? Info17.default(id);
71
+ const current = editor.agents.get(id) ?? Info32.default(id);
72
72
  if (!editor.agents.has(id))
73
73
  editor.agents.set(id, current);
74
74
  fn(current);
@@ -80,7 +80,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
80
80
  }),
81
81
  notify: changes2(list, () => bus.publish(Agent.Event.Updated, {}).pipe(Effect.asVoid))
82
82
  });
83
- return Service77.of({
83
+ return Service88.of({
84
84
  transform: state.transform,
85
85
  reload: state.reload,
86
86
  get: Effect.fn("Agent.get")(function* (id) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
88
88
  }),
89
89
  resolve: Effect.fnUntraced(function* (id) {
90
90
  if (id !== undefined)
91
- return state.get().agents.get(ID14.make(id));
91
+ return state.get().agents.get(ID22.make(id));
92
92
  return selectedDefault(state.get());
93
93
  }),
94
94
  select: Effect.fn("Agent.select")(function* (id) {
@@ -102,6 +102,6 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
102
102
  })
103
103
  });
104
104
  }));
105
- var node79 = makeLocationNode({ service: Service77, layer, deps: [node93] });
105
+ var node91 = makeLocationNode({ service: Service88, layer, deps: [node94] });
106
106
 
107
- export { ID14, Name3, defaultID2, Color2, Info17, Service77, node79, exports_agent3, Event14 };
107
+ export { ID22, Name3, defaultID2, Color2, Info32, Service88, node91, exports_agent4, Event21 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./voice-9rqn6x4v.js";
4
4
 
5
5
  // src/config/integration.ts
6
6
  var exports_integration2 = {};
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service90,
3
- node93
4
- } from "./model-retry-ndkgrabd.js";
2
+ Service91,
3
+ node94
4
+ } from "./voice-pyb42rgw.js";
5
5
  import {
6
- Service86,
7
- node89
8
- } from "./model-retry-0x6tdn0e.js";
6
+ Service83,
7
+ node86
8
+ } from "./voice-ta1tt9e0.js";
9
9
  import {
10
- Service89,
11
- node92
12
- } from "./model-retry-we5rn6a5.js";
10
+ Service80,
11
+ node83
12
+ } from "./voice-40qsrmhq.js";
13
13
  import {
14
- Ref5,
15
- Service88,
16
- node91
17
- } from "./model-retry-snhfpw9n.js";
14
+ Ref4,
15
+ Service79,
16
+ node82
17
+ } from "./voice-r3q1xdvh.js";
18
18
  import {
19
19
  canonical3
20
- } from "./model-retry-3adfey7c.js";
20
+ } from "./voice-54b0575t.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./model-retry-ec1grn59.js";
23
+ } from "./voice-ec1grn59.js";
24
24
  import {
25
- Service74,
26
- node76
27
- } from "./model-retry-5vd4538n.js";
25
+ Service68,
26
+ node70
27
+ } from "./voice-8jydy40p.js";
28
28
  import {
29
- Service55,
30
- node57
31
- } from "./model-retry-9a5n699h.js";
29
+ Service75,
30
+ node78
31
+ } from "./voice-22ezab04.js";
32
32
  import {
33
33
  __export
34
- } from "./model-retry-9rqn6x4v.js";
34
+ } from "./voice-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service21,
41
- node: () => node23
40
+ Service: () => Service20,
41
+ node: () => node22
42
42
  });
43
43
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -46,17 +46,17 @@ import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
  var durableSessionEventTypes = new Set(SessionEvent2.DurableDefinitions.map((definition) => definition.type));
48
48
 
49
- class Service21 extends Context.Service()("@opencode/LocationLifecycle") {
49
+ class Service20 extends Context.Service()("@opencode/LocationLifecycle") {
50
50
  }
51
- var layer = Layer.effect(Service21, Effect.gen(function* () {
52
- const bus = yield* Service90;
53
- const location = yield* Service88;
54
- const permission = yield* Service74;
55
- const forms = yield* Service86;
56
- const rpc = yield* Service55;
57
- const project = yield* Service89;
51
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
52
+ const bus = yield* Service91;
53
+ const location = yield* Service79;
54
+ const permission = yield* Service68;
55
+ const forms = yield* Service83;
56
+ const rpc = yield* Service75;
57
+ const project = yield* Service80;
58
58
  const scope = yield* Effect.scope;
59
- const self = canonical3(Ref5.make({ directory: location.directory, workspaceID: location.workspaceID }));
59
+ const self = canonical3(Ref4.make({ directory: location.directory, workspaceID: location.workspaceID }));
60
60
  yield* project.activate(location.project.id);
61
61
  const unsubscribe = yield* bus.listen((event) => {
62
62
  if (!event.location || !durableSessionEventTypes.has(event.type))
@@ -81,11 +81,11 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
81
81
  yield* forms.close;
82
82
  yield* rpc.close;
83
83
  yield* bus.publish(LocationEvent.Shutdown, {}, {
84
- location: Ref5.make({ directory: location.directory, workspaceID: location.workspaceID })
84
+ location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
85
85
  });
86
86
  }).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
87
87
  }).pipe(Effect.uninterruptible);
88
- return Service21.of({
88
+ return Service20.of({
89
89
  isClosed: () => closed,
90
90
  shutdown,
91
91
  awaitShutdown: Deferred.await(done),
@@ -97,10 +97,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
97
97
  isRetained: () => retained > 0
98
98
  });
99
99
  }));
100
- var node23 = makeLocationNode({
101
- service: Service21,
100
+ var node22 = makeLocationNode({
101
+ service: Service20,
102
102
  layer,
103
- deps: [node93, node91, node76, node92, node89, node57]
103
+ deps: [node94, node82, node70, node83, node86, node78]
104
104
  });
105
105
 
106
- export { Service21, node23, exports_location_lifecycle };
106
+ export { Service20, node22, exports_location_lifecycle };
@@ -1,67 +1,67 @@
1
1
  import {
2
- Service86
3
- } from "./model-retry-0x6tdn0e.js";
2
+ Service83
3
+ } from "./voice-ta1tt9e0.js";
4
4
  import {
5
5
  invocation2,
6
- Service74
7
- } from "./model-retry-5vd4538n.js";
6
+ Service68
7
+ } from "./voice-8jydy40p.js";
8
8
  import {
9
- ID10,
9
+ ID7,
10
10
  Result2,
11
11
  ProviderRequiredError2,
12
- DisabledError4,
12
+ DisabledError3,
13
13
  RequestError2,
14
- Service56
15
- } from "./model-retry-0nv0p3cy.js";
14
+ Service25
15
+ } from "./voice-4hdtqmnf.js";
16
16
  import {
17
17
  __export
18
- } from "./model-retry-9rqn6x4v.js";
18
+ } from "./voice-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/plugin/websearch.ts
21
21
  var exports_websearch = {};
22
22
  __export(exports_websearch, {
23
- Input: () => Input13,
23
+ Input: () => Input4,
24
24
  NO_RESULTS: () => NO_RESULTS2,
25
- Plugin: () => Plugin15,
25
+ Plugin: () => Plugin25,
26
26
  WebSearchTool: () => exports_websearch,
27
- description: () => description5,
28
- name: () => name13
27
+ description: () => description4,
28
+ name: () => name4
29
29
  });
30
30
  import { ToolFailure } from "@opencode/ai/effect";
31
31
  import { Effect, Schema, Semaphore } from "effect";
32
32
  import { HttpClientError } from "effect/http";
33
- var name13 = "websearch";
33
+ var name4 = "websearch";
34
34
  var NO_RESULTS2 = "No search results found. Please try a different query.";
35
35
  var providerSelectionLock = Semaphore.makeUnsafe(1);
36
36
  var httpErrors = new Map([
37
37
  [429, "Web search rate limited (HTTP 429)"],
38
38
  [401, "Web search authentication failed (HTTP 401)"]
39
39
  ]);
40
- var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
40
+ var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
41
41
 
42
42
  The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
43
- var Input13 = Schema.Struct({
43
+ var Input4 = Schema.Struct({
44
44
  query: Schema.String.annotate({ description: "Websearch query" })
45
45
  });
46
46
  var Output = Schema.Struct({
47
- provider: ID10,
47
+ provider: ID7,
48
48
  results: Schema.Array(Result2)
49
49
  });
50
- var Plugin15 = {
50
+ var Plugin25 = {
51
51
  id: "opencode.tool.websearch",
52
52
  effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
53
- const permission = yield* Service74;
54
- const forms = yield* Service86;
55
- const websearch = yield* Service56;
53
+ const permission = yield* Service68;
54
+ const forms = yield* Service83;
55
+ const websearch = yield* Service25;
56
56
  yield* ctx.tool.transform((editor) => editor.add({
57
- name: name13,
57
+ name: name4,
58
58
  options: { codemode: false },
59
- description: description5,
60
- input: Input13,
59
+ description: description4,
60
+ input: Input4,
61
61
  output: Output,
62
62
  execute: (input, context) => Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name13,
64
+ action: name4,
65
65
  resources: [input.query],
66
66
  save: ["*"],
67
67
  metadata: input,
@@ -108,7 +108,7 @@ var Plugin15 = {
108
108
  return yield* Effect.fail(new Error("Web search cancelled"));
109
109
  if (response.answer.choice === "disable") {
110
110
  yield* websearch.select(false);
111
- return yield* new DisabledError4;
111
+ return yield* new DisabledError3;
112
112
  }
113
113
  const selection = response.answer.choice === "choose" ? yield* forms.ask({
114
114
  sessionID: context.sessionID,
@@ -175,7 +175,7 @@ ${result.content}` : ""}`;
175
175
  const hook = (event) => Effect.gen(function* () {
176
176
  const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
177
177
  if (disabled || (yield* websearch.providers()).length === 0)
178
- delete event.tools[name13];
178
+ delete event.tools[name4];
179
179
  });
180
180
  yield* ctx.session.hook("context", hook);
181
181
  yield* ctx.session.hook("compaction", hook);
@@ -183,4 +183,4 @@ ${result.content}` : ""}`;
183
183
  })
184
184
  };
185
185
 
186
- export { name13, NO_RESULTS2, description5, Input13, Plugin15, exports_websearch };
186
+ export { name4, NO_RESULTS2, description4, Input4, Plugin25, exports_websearch };
@@ -1,54 +1,54 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-retry-z5v4ffb3.js";
3
+ } from "./voice-z5v4ffb3.js";
4
+ import {
5
+ Service92,
6
+ node95
7
+ } from "./voice-kqbry5xp.js";
4
8
  import {
5
9
  Service91,
6
10
  node94
7
- } from "./model-retry-8aprttwk.js";
11
+ } from "./voice-pyb42rgw.js";
8
12
  import {
9
- Service90,
10
- node93
11
- } from "./model-retry-ndkgrabd.js";
12
- import {
13
- Service92,
14
- node95
15
- } from "./model-retry-qgxpp3m1.js";
13
+ Service87,
14
+ node90
15
+ } from "./voice-dxa907sf.js";
16
16
  import {
17
- ID22,
17
+ ID18,
18
18
  Current3,
19
- Info32,
19
+ Info26,
20
20
  UpdateInput5,
21
- Event21,
21
+ Event16,
22
22
  Vcs3
23
- } from "./model-retry-963hk181.js";
23
+ } from "./voice-h8s8bx6e.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./model-retry-aj7mw0zk.js";
27
+ } from "./voice-034tev2y.js";
28
28
  import {
29
29
  refresh2
30
- } from "./model-retry-bb3mmwvh.js";
30
+ } from "./voice-8sxe6kv8.js";
31
31
  import {
32
32
  WorktreeTable2
33
- } from "./model-retry-3cbjf1nt.js";
33
+ } from "./voice-ayjs7tqn.js";
34
34
  import {
35
35
  __export
36
- } from "./model-retry-9rqn6x4v.js";
36
+ } from "./voice-9rqn6x4v.js";
37
37
 
38
38
  // src/project.ts
39
39
  var exports_project = {};
40
40
  __export(exports_project, {
41
41
  ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
42
42
  Current: () => Current2,
43
- ID: () => ID21,
44
- Info: () => Info31,
45
- NotFoundError: () => NotFoundError14,
43
+ ID: () => ID17,
44
+ Info: () => Info25,
45
+ NotFoundError: () => NotFoundError12,
46
46
  Project: () => exports_project,
47
- Service: () => Service89,
47
+ Service: () => Service80,
48
48
  UpdateInput: () => UpdateInput4,
49
49
  Vcs: () => Vcs2,
50
- configured: () => configured12,
51
- node: () => node92,
50
+ configured: () => configured10,
51
+ node: () => node83,
52
52
  root: () => root2,
53
53
  sweepNode: () => sweepNode2
54
54
  });
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
61
61
  import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
63
63
  import { Hash } from "@opencode/util/hash";
64
- var ID21 = ID22;
64
+ var ID17 = ID18;
65
65
  var Vcs2 = Vcs3;
66
66
  var Current2 = Current3;
67
- var Info31 = Info32;
67
+ var Info25 = Info26;
68
68
  var UpdateInput4 = UpdateInput5;
69
69
 
70
- class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
71
- projectID: ID21
70
+ class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
71
+ projectID: ID17
72
72
  }) {
73
73
  }
74
74
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
87
87
  var SWEEP_INTERVAL = Duration.hours(1);
88
88
  var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
89
89
 
90
- class Service89 extends Context.Service()("@opencode/Project") {
90
+ class Service80 extends Context.Service()("@opencode/Project") {
91
91
  }
92
92
  function fromRow(row) {
93
93
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -111,13 +111,13 @@ function fromRow(row) {
111
111
  sandboxes: row.sandboxes
112
112
  };
113
113
  }
114
- var layer = Layer.effect(Service89, Effect.gen(function* () {
114
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
115
115
  const now = yield* Now;
116
116
  const fs = yield* FSUtil.Service;
117
- const git = yield* Service92;
117
+ const git = yield* Service87;
118
118
  const proc = yield* AppProcess.Service;
119
- const bus = yield* Service90;
120
- const db = (yield* Service91).db;
119
+ const bus = yield* Service91;
120
+ const db = (yield* Service92).db;
121
121
  const scope = yield* Scope.Scope;
122
122
  const announcing = new Set;
123
123
  const persist = Effect.fnUntraced(function* (project) {
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
127
127
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
128
128
  const changed = replaced ?? unarchived;
129
129
  if (changed)
130
- yield* bus.publish(Event21.Updated, fromRow(changed));
131
- yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
130
+ yield* bus.publish(Event16.Updated, fromRow(changed));
131
+ yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event16.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
132
132
  if (!project.vcs)
133
133
  return project;
134
134
  const directories = [
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
164
164
  yield* bus.publish(Worktree.Event.Resolved, {
165
165
  projectID: item.projectID,
166
166
  directory: item.directory,
167
- previous: project.previous ?? ID21.global,
167
+ previous: project.previous ?? ID17.global,
168
168
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
169
169
  }, {
170
170
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
187
187
  time_updated: Date.now()
188
188
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
189
189
  if (!row)
190
- return yield* new NotFoundError14({ projectID: input.projectID });
190
+ return yield* new NotFoundError12({ projectID: input.projectID });
191
191
  const project = fromRow(row);
192
- yield* bus.publish(Event21.Updated, project);
192
+ yield* bus.publish(Event16.Updated, project);
193
193
  return project;
194
194
  });
195
195
  const activated = new Map;
196
196
  const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
197
197
  const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
198
198
  if (row)
199
- yield* bus.publish(Event21.Updated, fromRow(row));
199
+ yield* bus.publish(Event16.Updated, fromRow(row));
200
200
  });
201
201
  const activate = (projectID, options) => Effect.suspend(() => {
202
202
  const timestamp = now();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
208
208
  return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
209
209
  });
210
210
  const cached = Effect.fnUntraced(function* (dir) {
211
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
211
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
212
212
  return;
213
213
  }));
214
214
  });
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
219
219
  const normalized = url(origin);
220
220
  if (!normalized)
221
221
  return;
222
- return ID21.make(Hash.fast(`git-remote:${normalized}`));
222
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
223
223
  });
224
224
  function url(input) {
225
225
  const value = input.trim();
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
244
244
  }
245
245
  const rootCommit = Effect.fnUntraced(function* (repo) {
246
246
  const root = (yield* git.history.rootCommits(repo))[0];
247
- return root ? ID21.make(root) : undefined;
247
+ return root ? ID17.make(root) : undefined;
248
248
  });
249
249
  const gitDiscover = Effect.fnUntraced(function* (dotGit) {
250
250
  const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
260
260
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
261
261
  const resolved = {
262
262
  previous,
263
- id: id ?? ID21.global,
263
+ id: id ?? ID17.global,
264
264
  directory: repo.worktree,
265
265
  canonical,
266
266
  vcs: { type: "git", store: repo.commonDirectory }
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
285
285
  return;
286
286
  const node = result.stdout.toString("utf8").split(`
287
287
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
288
- return node ? ID21.make(node) : undefined;
288
+ return node ? ID17.make(node) : undefined;
289
289
  });
290
290
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
291
291
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
293
293
  const id = previous ?? (yield* hgRoot(worktree));
294
294
  return {
295
295
  previous,
296
- id: id ?? ID21.global,
296
+ id: id ?? ID17.global,
297
297
  directory: worktree,
298
298
  vcs: { type: "hg", store: dotHg }
299
299
  };
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
320
320
  });
321
321
  }
322
322
  return yield* save({
323
- id: ID21.make(Hash.fast(`directory:${directory}`)),
323
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
324
324
  directory,
325
325
  canonical: directory,
326
326
  vcs: undefined
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
329
329
  const sweep = Effect.fn("Project.sweep")(function* () {
330
330
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
331
331
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
332
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
332
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
333
333
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
334
334
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
335
335
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
342
342
  return;
343
343
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
344
344
  if (row)
345
- yield* bus.publish(Event21.Updated, fromRow(row));
345
+ yield* bus.publish(Event16.Updated, fromRow(row));
346
346
  }), { concurrency: 8, discard: true });
347
347
  });
348
- return Service89.of({ list, update, activate, resolve, sweep });
348
+ return Service80.of({ list, update, activate, resolve, sweep });
349
349
  }));
350
- function configured12(options) {
350
+ function configured10(options) {
351
351
  return makeGlobalNode({
352
- service: Service89,
352
+ service: Service80,
353
353
  layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
354
- deps: [node93, node94, FSUtil.node, node95, AppProcess.node]
354
+ deps: [node94, node95, FSUtil.node, node90, AppProcess.node]
355
355
  });
356
356
  }
357
- var node92 = configured12();
357
+ var node83 = configured10();
358
358
  var sweepNode2 = makeGlobalNode({
359
359
  name: "project-archive-sweep",
360
360
  layer: Layer.effectDiscard(Effect.gen(function* () {
361
- const project = yield* Service89;
361
+ const project = yield* Service80;
362
362
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
363
363
  })),
364
- deps: [node92]
364
+ deps: [node83]
365
365
  });
366
366
 
367
- export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service89, configured12, node92, sweepNode2, exports_project };
367
+ export { ID17, Vcs2, Current2, Info25, UpdateInput4, NotFoundError12, root2, ACTIVATE_INTERVAL2, Service80, configured10, node83, sweepNode2, exports_project };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-retry-9rqn6x4v.js";
3
+ } from "./voice-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  collectBoundedResponseBody2
3
- } from "./model-retry-3v8g72cx.js";
3
+ } from "./voice-3v8g72cx.js";
4
4
  import {
5
5
  __export
6
- } from "./model-retry-9rqn6x4v.js";
6
+ } from "./voice-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/mcp.ts
9
9
  var exports_mcp = {};
10
10
  __export(exports_mcp, {
11
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
11
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
12
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_BYTES3 = 256 * 1024;
18
+ var MAX_RESPONSE_BYTES2 = 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_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
56
+ const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} 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_BYTES3, parseResponse2, call2, exports_mcp };
64
+ export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp };