@opencode/core 0.0.0-dev-80 → 0.0.0-dev-84

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 (821) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +89 -89
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +79 -79
  7. package/dist/chunks/{ripgrep-aj7mw0zk.js → voice-034tev2y.js} +2 -2
  8. package/dist/chunks/{ripgrep-8xdd5vcj.js → voice-063yd63m.js} +33 -33
  9. package/dist/chunks/{ripgrep-z83xd19b.js → voice-07dx23he.js} +10 -10
  10. package/dist/chunks/{ripgrep-bhak5syd.js → voice-08tnqkry.js} +4 -4
  11. package/dist/chunks/{ripgrep-9np782jn.js → voice-0a0fmgsy.js} +26 -26
  12. package/dist/chunks/{ripgrep-9hfpmwpz.js → voice-0a441pp5.js} +17 -17
  13. package/dist/chunks/{ripgrep-avm9nspx.js → voice-0bh562yg.js} +25 -25
  14. package/dist/chunks/{ripgrep-n1ebme49.js → voice-0dr0e75r.js} +7 -7
  15. package/dist/chunks/{ripgrep-k28m6mdm.js → voice-0j66hjbv.js} +12 -12
  16. package/dist/chunks/{ripgrep-m8c2jzgg.js → voice-0j7kkx9m.js} +4 -4
  17. package/dist/chunks/{ripgrep-d2k0mtej.js → voice-0rne0dgc.js} +3 -3
  18. package/dist/chunks/{ripgrep-369akvbe.js → voice-0tf5rdxg.js} +20 -20
  19. package/dist/chunks/{ripgrep-wyyb2rea.js → voice-16kpnapk.js} +2 -2
  20. package/dist/chunks/{ripgrep-wqwapjjj.js → voice-1bjkagat.js} +12 -12
  21. package/dist/chunks/{ripgrep-27w5k9zf.js → voice-1ep2p91f.js} +2 -2
  22. package/dist/chunks/{ripgrep-gtgtppsz.js → voice-1f3swxhw.js} +6 -6
  23. package/dist/chunks/{ripgrep-v3vj6w0p.js → voice-1q436d6x.js} +35 -35
  24. package/dist/chunks/{ripgrep-g60sf386.js → voice-1s1bzk26.js} +16 -16
  25. package/dist/chunks/{ripgrep-1x2knyw4.js → voice-1x2knyw4.js} +1 -1
  26. package/dist/chunks/{ripgrep-c2rtzjd7.js → voice-1zagfxvp.js} +23 -23
  27. package/dist/chunks/{ripgrep-204s3925.js → voice-204s3925.js} +1 -1
  28. package/dist/chunks/{ripgrep-mxbg502x.js → voice-22gysh70.js} +40 -40
  29. package/dist/chunks/{ripgrep-p7jhty20.js → voice-22z6px93.js} +25 -25
  30. package/dist/chunks/{ripgrep-cgjret3e.js → voice-2br09vzv.js} +11 -11
  31. package/dist/chunks/{ripgrep-x2gs057w.js → voice-2dfwpzr6.js} +21 -21
  32. package/dist/chunks/{ripgrep-nsxce02n.js → voice-2qmpzrxm.js} +2 -2
  33. package/dist/chunks/{ripgrep-egvqapfn.js → voice-2sv9tg97.js} +20 -20
  34. package/dist/chunks/{ripgrep-06ezgrzy.js → voice-32hbtqx1.js} +6 -6
  35. package/dist/chunks/{ripgrep-d6x0x4gv.js → voice-331dxnty.js} +9 -9
  36. package/dist/chunks/{ripgrep-waaaz1pk.js → voice-37x282tb.js} +85 -85
  37. package/dist/chunks/{ripgrep-tqgfaemp.js → voice-3cx41nkh.js} +16 -16
  38. package/dist/chunks/{ripgrep-26kaq2yd.js → voice-3ex6yfnf.js} +17 -17
  39. package/dist/chunks/{ripgrep-3hepkmqq.js → voice-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{ripgrep-3nnrz6f6.js → voice-3nnrz6f6.js} +1 -1
  41. package/dist/chunks/{ripgrep-4wvca7dx.js → voice-3yb0fhdz.js} +5 -5
  42. package/dist/chunks/{ripgrep-5s0mcww8.js → voice-3ypags7s.js} +34 -34
  43. package/dist/chunks/{ripgrep-v1stdd41.js → voice-48zg7246.js} +23 -23
  44. package/dist/chunks/{ripgrep-xn661xyh.js → voice-4f3f5v7r.js} +23 -23
  45. package/dist/chunks/{ripgrep-4pyp9zr9.js → voice-4pyp9zr9.js} +1 -1
  46. package/dist/chunks/{ripgrep-xsvyg0zg.js → voice-4r08n6jh.js} +12 -12
  47. package/dist/chunks/{ripgrep-whpc6sfg.js → voice-4rk32wjp.js} +3 -3
  48. package/dist/chunks/{ripgrep-41b5jrt2.js → voice-4rkt743e.js} +9 -9
  49. package/dist/chunks/{ripgrep-4v008n1t.js → voice-4v008n1t.js} +1 -1
  50. package/dist/chunks/{ripgrep-km92jeaq.js → voice-52d1s51y.js} +15 -15
  51. package/dist/chunks/{ripgrep-jfwapypb.js → voice-5byry70y.js} +32 -32
  52. package/dist/chunks/{ripgrep-szez8t3h.js → voice-5d8bw8b0.js} +47 -47
  53. package/dist/chunks/{ripgrep-40za9wsf.js → voice-5enarcya.js} +6 -6
  54. package/dist/chunks/{ripgrep-5m9w47nd.js → voice-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{ripgrep-b6vsg801.js → voice-5nnwax6m.js} +5 -5
  56. package/dist/chunks/{ripgrep-beftacqj.js → voice-5ry2mj86.js} +8 -8
  57. package/dist/chunks/{ripgrep-epbqh0vp.js → voice-5y0frafb.js} +6 -6
  58. package/dist/chunks/{ripgrep-s9j2kwh6.js → voice-60zbszzn.js} +45 -45
  59. package/dist/chunks/{ripgrep-ar2j3j0f.js → voice-61ennm6n.js} +4 -4
  60. package/dist/chunks/{ripgrep-fv2q085q.js → voice-67g841a1.js} +11 -11
  61. package/dist/chunks/{ripgrep-dqdq9hrz.js → voice-67zhfnr5.js} +7 -7
  62. package/dist/chunks/{ripgrep-4s6kdcz7.js → voice-68hd4rew.js} +34 -34
  63. package/dist/chunks/{ripgrep-6esdw8yj.js → voice-6esdw8yj.js} +1 -1
  64. package/dist/chunks/{ripgrep-70ha973v.js → voice-6h4ckgft.js} +8 -8
  65. package/dist/chunks/{ripgrep-szcgc7h4.js → voice-6xqtcmxs.js} +5 -5
  66. package/dist/chunks/{ripgrep-3w5nebbj.js → voice-764yyw0p.js} +26 -26
  67. package/dist/chunks/{ripgrep-76cb1hcw.js → voice-76cb1hcw.js} +1 -1
  68. package/dist/chunks/{ripgrep-pfj0xs0p.js → voice-77whwd4h.js} +29 -29
  69. package/dist/chunks/{ripgrep-cbrygq68.js → voice-77xq2spw.js} +3 -3
  70. package/dist/chunks/{ripgrep-7bmhse3q.js → voice-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{ripgrep-qzm6q9ch.js → voice-7cnnqjpd.js} +6 -6
  72. package/dist/chunks/{ripgrep-hetdxzf5.js → voice-7e3q34vy.js} +6 -6
  73. package/dist/chunks/{ripgrep-qqg9c0kv.js → voice-7ffybbfj.js} +7 -7
  74. package/dist/chunks/{ripgrep-81pg0v03.js → voice-7pe9kf1k.js} +13 -13
  75. package/dist/chunks/{ripgrep-bxe7n28z.js → voice-7t9zfnqm.js} +8 -8
  76. package/dist/chunks/{ripgrep-7w2ypzdf.js → voice-7w2ypzdf.js} +1 -1
  77. package/dist/chunks/{ripgrep-ekj5s85x.js → voice-82w8wxhm.js} +42 -42
  78. package/dist/chunks/{ripgrep-mhvjr1t0.js → voice-85h26ecp.js} +11 -11
  79. package/dist/chunks/{ripgrep-h15brmzx.js → voice-89z5zyvh.js} +9 -9
  80. package/dist/chunks/{ripgrep-tqf554py.js → voice-8hjw7asv.js} +16 -16
  81. package/dist/chunks/{ripgrep-1k1debk9.js → voice-8vmz6d8e.js} +21 -21
  82. package/dist/chunks/{ripgrep-8wtp7s3z.js → voice-8wtp7s3z.js} +1 -1
  83. package/dist/chunks/{ripgrep-eyemdhec.js → voice-8ys4y03d.js} +16 -16
  84. package/dist/chunks/{ripgrep-cxy0d1dt.js → voice-8ys61hey.js} +1 -1
  85. package/dist/chunks/{ripgrep-pbcm2cp0.js → voice-90kww479.js} +31 -31
  86. package/dist/chunks/{ripgrep-90zstvax.js → voice-90zstvax.js} +1 -1
  87. package/dist/chunks/{ripgrep-3marnbwx.js → voice-92vkf5dt.js} +20 -20
  88. package/dist/chunks/{ripgrep-kz0q6sc1.js → voice-9af6kmdw.js} +18 -18
  89. package/dist/chunks/{ripgrep-ef7fp8z8.js → voice-9gyma7cs.js} +11 -11
  90. package/dist/chunks/{ripgrep-axb490gr.js → voice-9hp18a5g.js} +9 -9
  91. package/dist/chunks/{ripgrep-46wzcrep.js → voice-9hpwwr6r.js} +9 -9
  92. package/dist/chunks/{ripgrep-dp66fs17.js → voice-9t2khtsw.js} +11 -11
  93. package/dist/chunks/{ripgrep-ncqtsx5w.js → voice-9w3ms3pw.js} +23 -23
  94. package/dist/chunks/{ripgrep-56hhdn6r.js → voice-9we9fgmr.js} +19 -19
  95. package/dist/chunks/{ripgrep-87cy3nxk.js → voice-9whkkjd6.js} +12 -12
  96. package/dist/chunks/{ripgrep-yhnsyv94.js → voice-9xchgfqt.js} +8 -8
  97. package/dist/chunks/{ripgrep-zh7bbm8x.js → voice-9z9tayqc.js} +9 -9
  98. package/dist/chunks/{ripgrep-yzhzc5rz.js → voice-9zerz78a.js} +14 -14
  99. package/dist/chunks/{ripgrep-wcxk9yeq.js → voice-a1tkj3qk.js} +8 -8
  100. package/dist/chunks/voice-a610t88q.js +18 -0
  101. package/dist/chunks/{ripgrep-67v8yagg.js → voice-aabhj4q7.js} +8 -8
  102. package/dist/chunks/{ripgrep-b134vsz7.js → voice-ah568vhs.js} +7 -7
  103. package/dist/chunks/{ripgrep-3cbjf1nt.js → voice-ayjs7tqn.js} +2 -2
  104. package/dist/chunks/{ripgrep-k7ngd8gp.js → voice-az25fkp4.js} +47 -47
  105. package/dist/chunks/{ripgrep-chtd0as3.js → voice-ba4hsvxz.js} +75 -75
  106. package/dist/chunks/voice-bbn1wz82.js +26 -0
  107. package/dist/chunks/{ripgrep-rsjqfdc9.js → voice-bgy5rqkp.js} +1 -1
  108. package/dist/chunks/{ripgrep-xd9cc171.js → voice-bstexjd6.js} +5 -5
  109. package/dist/chunks/{ripgrep-qnghve6e.js → voice-c3q67jfs.js} +8 -8
  110. package/dist/chunks/{ripgrep-wakh2edy.js → voice-c81891bg.js} +18 -18
  111. package/dist/chunks/{ripgrep-2ab3aktw.js → voice-cc8m5exz.js} +16 -16
  112. package/dist/chunks/{ripgrep-cwrgdav8.js → voice-cwrgdav8.js} +2 -2
  113. package/dist/chunks/{ripgrep-vwvg46tm.js → voice-d0h96hzn.js} +2 -2
  114. package/dist/chunks/{ripgrep-gw22fdws.js → voice-d2rqvsge.js} +39 -39
  115. package/dist/chunks/{ripgrep-d4v9tmah.js → voice-d4v9tmah.js} +2 -2
  116. package/dist/chunks/{ripgrep-y00x4xpa.js → voice-d8p3t516.js} +4 -4
  117. package/dist/chunks/{ripgrep-e5vtkg49.js → voice-dk6mw8fj.js} +26 -26
  118. package/dist/chunks/{ripgrep-gfrk9heb.js → voice-dmv7p57s.js} +18 -18
  119. package/dist/chunks/{ripgrep-s2rjrqgv.js → voice-dmwhjzkn.js} +31 -31
  120. package/dist/chunks/{ripgrep-w5q9nec7.js → voice-dpzz2pyw.js} +54 -54
  121. package/dist/chunks/{ripgrep-e2ne77ac.js → voice-drvbhkez.js} +4 -4
  122. package/dist/chunks/{ripgrep-dt77769w.js → voice-dt77769w.js} +1 -1
  123. package/dist/chunks/{ripgrep-f40h8bb4.js → voice-dv6qj2km.js} +28 -28
  124. package/dist/chunks/{ripgrep-6gkj1px0.js → voice-dy8nzcdw.js} +12 -12
  125. package/dist/chunks/voice-e148tsh0.js +257 -0
  126. package/dist/chunks/{ripgrep-jsvd7yjj.js → voice-e1pd07p9.js} +21 -21
  127. package/dist/chunks/{ripgrep-wsh0m2bq.js → voice-e3r6xnf5.js} +11 -11
  128. package/dist/chunks/{ripgrep-x3y1gccb.js → voice-e4zprma2.js} +27 -27
  129. package/dist/chunks/{ripgrep-e834z07m.js → voice-e834z07m.js} +1 -1
  130. package/dist/chunks/{ripgrep-6b33zqre.js → voice-ehfc0ns6.js} +5 -5
  131. package/dist/chunks/{ripgrep-8r9nj4s8.js → voice-emq6awqh.js} +4 -4
  132. package/dist/chunks/{ripgrep-80svsvjd.js → voice-esyt89kp.js} +3 -3
  133. package/dist/chunks/{ripgrep-fjf4pq9j.js → voice-ez9ac85m.js} +15 -15
  134. package/dist/chunks/{ripgrep-t2yw8h65.js → voice-fawkqakz.js} +19 -19
  135. package/dist/chunks/{ripgrep-fffv3p7h.js → voice-fffv3p7h.js} +1 -1
  136. package/dist/chunks/{ripgrep-fg9p65nk.js → voice-fg9p65nk.js} +2 -2
  137. package/dist/chunks/{ripgrep-6gchybz4.js → voice-fn3tx0qv.js} +17 -17
  138. package/dist/chunks/{ripgrep-af5csmsa.js → voice-fxnatgmk.js} +30 -30
  139. package/dist/chunks/{ripgrep-26x8chrq.js → voice-fyxqncs3.js} +6 -6
  140. package/dist/chunks/{ripgrep-n441rgj1.js → voice-fzc80f0x.js} +19 -19
  141. package/dist/chunks/{ripgrep-25841xge.js → voice-g12f8e1v.js} +33 -33
  142. package/dist/chunks/{ripgrep-2mdz3tk1.js → voice-g499bkg6.js} +15 -15
  143. package/dist/chunks/{ripgrep-6rdptfg1.js → voice-g5nerew1.js} +6 -6
  144. package/dist/chunks/{ripgrep-hsxwhxza.js → voice-g7bv215x.js} +44 -44
  145. package/dist/chunks/{ripgrep-h5qpngq0.js → voice-g7er295g.js} +23 -23
  146. package/dist/chunks/{ripgrep-7c7a89na.js → voice-g7pzbn30.js} +5 -5
  147. package/dist/chunks/{ripgrep-rw0vxzvv.js → voice-gfs2prjn.js} +13 -13
  148. package/dist/chunks/{ripgrep-2p6ra54c.js → voice-gfz1rrxw.js} +46 -46
  149. package/dist/chunks/{ripgrep-ep59zg61.js → voice-gg8p9cgs.js} +3 -3
  150. package/dist/chunks/{ripgrep-0ak2x9h8.js → voice-gpzt2cep.js} +341 -341
  151. package/dist/chunks/{ripgrep-y1eshr2q.js → voice-h136ahwz.js} +11 -11
  152. package/dist/chunks/{ripgrep-whwj36b7.js → voice-h1az1csd.js} +28 -28
  153. package/dist/chunks/{ripgrep-a3rq0v5y.js → voice-h2w5ft1w.js} +20 -20
  154. package/dist/chunks/{ripgrep-h3tz4d10.js → voice-h4v7dnmj.js} +30 -30
  155. package/dist/chunks/{ripgrep-0g35qp0e.js → voice-h4wjaj1h.js} +11 -11
  156. package/dist/chunks/{ripgrep-hdfrs5mg.js → voice-hdfrs5mg.js} +2 -2
  157. package/dist/chunks/{ripgrep-g7esga4v.js → voice-hfgk9wzg.js} +7 -7
  158. package/dist/chunks/{ripgrep-bwsv21wr.js → voice-hj2aqav5.js} +34 -34
  159. package/dist/chunks/{ripgrep-hpg1pkwy.js → voice-hpg1pkwy.js} +1 -1
  160. package/dist/chunks/{ripgrep-51d35nkj.js → voice-hvvf9qw8.js} +6 -6
  161. package/dist/chunks/{ripgrep-8d2bz6m6.js → voice-hy8c1z76.js} +4 -4
  162. package/dist/chunks/{ripgrep-smfe966e.js → voice-hzpcswh1.js} +33 -33
  163. package/dist/chunks/{ripgrep-s7k6069s.js → voice-j26nwm7n.js} +18 -18
  164. package/dist/chunks/{ripgrep-3tbr4cqx.js → voice-j6q940e2.js} +90 -90
  165. package/dist/chunks/{ripgrep-18g90bpv.js → voice-jcqm84fr.js} +9 -9
  166. package/dist/chunks/{ripgrep-jfaecv01.js → voice-jfaecv01.js} +1 -1
  167. package/dist/chunks/{ripgrep-nfzcmjp8.js → voice-jgrcygjy.js} +16 -16
  168. package/dist/chunks/{ripgrep-jtnps1zs.js → voice-jtnps1zs.js} +2 -2
  169. package/dist/chunks/{ripgrep-1ax49313.js → voice-jvn6v1yh.js} +30 -30
  170. package/dist/chunks/{ripgrep-kkew1p9e.js → voice-jy06s5cn.js} +6 -6
  171. package/dist/chunks/{ripgrep-8k2vnwwb.js → voice-jyha7v2x.js} +15 -15
  172. package/dist/chunks/{ripgrep-jce146zy.js → voice-k1cx61t4.js} +33 -33
  173. package/dist/chunks/{ripgrep-zegc5h6d.js → voice-k1wsh18t.js} +20 -20
  174. package/dist/chunks/{ripgrep-9knspxm5.js → voice-k37rtpht.js} +21 -21
  175. package/dist/chunks/{ripgrep-kh5b5n0x.js → voice-k4kpdye3.js} +11 -11
  176. package/dist/chunks/{ripgrep-mnjz2ecc.js → voice-k4tkqwhe.js} +30 -30
  177. package/dist/chunks/{ripgrep-k814nvkf.js → voice-k814nvkf.js} +1 -1
  178. package/dist/chunks/{ripgrep-b3aag47p.js → voice-kqzrr5mp.js} +22 -22
  179. package/dist/chunks/{ripgrep-kt3bjfbg.js → voice-kt3bjfbg.js} +1 -1
  180. package/dist/chunks/{ripgrep-rfcwtbbn.js → voice-kwsc0hzj.js} +19 -19
  181. package/dist/chunks/{ripgrep-m1714858.js → voice-m1714858.js} +1 -1
  182. package/dist/chunks/{ripgrep-6ttkwnky.js → voice-m53ty37s.js} +5 -5
  183. package/dist/chunks/{ripgrep-e8e8nyhn.js → voice-m7c0k0tc.js} +14 -14
  184. package/dist/chunks/{ripgrep-m9w0rfyh.js → voice-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{ripgrep-9j0qcbqj.js → voice-mg7n1t96.js} +11 -11
  186. package/dist/chunks/{ripgrep-9at5fq9s.js → voice-mm20hbas.js} +13 -13
  187. package/dist/chunks/{ripgrep-yjk9nwe0.js → voice-mnk4tbe5.js} +14 -14
  188. package/dist/chunks/{ripgrep-3a7jzk54.js → voice-n38dwbd1.js} +24 -24
  189. package/dist/chunks/{ripgrep-8whp40kv.js → voice-n7d88tpn.js} +3 -3
  190. package/dist/chunks/{ripgrep-nah043kf.js → voice-nah043kf.js} +1 -1
  191. package/dist/chunks/{ripgrep-7v7pq9bn.js → voice-nde195c4.js} +22 -22
  192. package/dist/chunks/{ripgrep-fe9sakca.js → voice-nq3xd2c0.js} +29 -29
  193. package/dist/chunks/{ripgrep-f2zj0t6k.js → voice-nxcgw1n8.js} +19 -19
  194. package/dist/chunks/{ripgrep-p015t6z3.js → voice-p015t6z3.js} +2 -2
  195. package/dist/chunks/{ripgrep-g3dtbvmz.js → voice-p1qr3mzk.js} +12 -12
  196. package/dist/chunks/{ripgrep-577qsrq7.js → voice-p7871b26.js} +4 -4
  197. package/dist/chunks/{ripgrep-6zs6nt10.js → voice-pbbktnbz.js} +4 -4
  198. package/dist/chunks/{ripgrep-cb54j1zr.js → voice-pbrfva61.js} +9 -9
  199. package/dist/chunks/{ripgrep-7vgs011g.js → voice-pe4tpddq.js} +22 -22
  200. package/dist/chunks/{ripgrep-ehhyyyn7.js → voice-pfsjm7c0.js} +43 -43
  201. package/dist/chunks/{ripgrep-rvdapjqy.js → voice-pgaeeb4h.js} +11 -11
  202. package/dist/chunks/{ripgrep-rqynnb9h.js → voice-pjnmsphf.js} +14 -14
  203. package/dist/chunks/{ripgrep-pknna89w.js → voice-pknna89w.js} +1 -1
  204. package/dist/chunks/{ripgrep-jjk3mcr6.js → voice-pks53f7y.js} +40 -40
  205. package/dist/chunks/{ripgrep-6d3rx8wt.js → voice-ps4e6egf.js} +30 -30
  206. package/dist/chunks/{ripgrep-c4rtwfmc.js → voice-q344tnen.js} +11 -11
  207. package/dist/chunks/{ripgrep-bvysct2v.js → voice-q8smwm6c.js} +4 -4
  208. package/dist/chunks/{ripgrep-ese4m9k3.js → voice-qfe4fpg2.js} +15 -15
  209. package/dist/chunks/{ripgrep-qp7r0hxv.js → voice-qp7r0hxv.js} +1 -1
  210. package/dist/chunks/{ripgrep-r0yr0wbs.js → voice-r0yr0wbs.js} +1 -1
  211. package/dist/chunks/{ripgrep-5ac7ycjy.js → voice-r23xk47w.js} +11 -11
  212. package/dist/chunks/{ripgrep-r542h3bh.js → voice-r542h3bh.js} +1 -1
  213. package/dist/chunks/{ripgrep-yby3zgg4.js → voice-ra0g4n5f.js} +2 -2
  214. package/dist/chunks/{ripgrep-rb9dy4dg.js → voice-rb9dy4dg.js} +1 -1
  215. package/dist/chunks/{ripgrep-mh86pja4.js → voice-rbw8jwja.js} +25 -25
  216. package/dist/chunks/{ripgrep-zj9d1drk.js → voice-rhhxn1wn.js} +8 -8
  217. package/dist/chunks/{ripgrep-9wzjb77v.js → voice-rhk24g9e.js} +5 -5
  218. package/dist/chunks/{ripgrep-5b4c6ssz.js → voice-rnfp0jqd.js} +30 -30
  219. package/dist/chunks/{ripgrep-9mv4bqkt.js → voice-rrcp247b.js} +11 -11
  220. package/dist/chunks/{ripgrep-rt5dr6hb.js → voice-rt5dr6hb.js} +1 -1
  221. package/dist/chunks/{ripgrep-754mq792.js → voice-rvdsp60f.js} +9 -9
  222. package/dist/chunks/{ripgrep-sa3fpqfw.js → voice-sa3fpqfw.js} +2 -2
  223. package/dist/chunks/{ripgrep-9hd5kt3n.js → voice-sahjf8vv.js} +7 -7
  224. package/dist/chunks/{ripgrep-2c98r4e2.js → voice-sdqd4v63.js} +14 -14
  225. package/dist/chunks/{ripgrep-v4vw7d5e.js → voice-sn7ggsh5.js} +22 -22
  226. package/dist/chunks/{ripgrep-sqjzf8x2.js → voice-sqjzf8x2.js} +1 -1
  227. package/dist/chunks/{ripgrep-aqkr4v1j.js → voice-srh4r7xg.js} +25 -25
  228. package/dist/chunks/{ripgrep-c9t2ty9q.js → voice-ssfehs1z.js} +4 -4
  229. package/dist/chunks/{ripgrep-svcy3p9a.js → voice-svcy3p9a.js} +1 -1
  230. package/dist/chunks/{ripgrep-qrg0trs5.js → voice-t0jh2f18.js} +8 -8
  231. package/dist/chunks/{ripgrep-k1r1j926.js → voice-t1t286x3.js} +193 -193
  232. package/dist/chunks/{ripgrep-wj35k8fd.js → voice-t21e03n8.js} +18 -18
  233. package/dist/chunks/{ripgrep-g1ttnxq8.js → voice-t6076paf.js} +37 -37
  234. package/dist/chunks/{ripgrep-4m70se6x.js → voice-t9n9vkbt.js} +21 -21
  235. package/dist/chunks/{ripgrep-r5493qw4.js → voice-tca1957y.js} +18 -18
  236. package/dist/chunks/{ripgrep-tczq8hjw.js → voice-tczq8hjw.js} +1 -1
  237. package/dist/chunks/{ripgrep-w52ybf1s.js → voice-tmvqwvhz.js} +54 -54
  238. package/dist/chunks/{ripgrep-kn05yypj.js → voice-tn3j866z.js} +33 -33
  239. package/dist/chunks/{ripgrep-twssxy5n.js → voice-twssxy5n.js} +2 -2
  240. package/dist/chunks/{ripgrep-v2r1d0zg.js → voice-v2r1d0zg.js} +1 -1
  241. package/dist/chunks/{ripgrep-atft9rda.js → voice-v3w7zdrf.js} +11 -11
  242. package/dist/chunks/{ripgrep-khv4yf1p.js → voice-v5g72y9b.js} +9 -9
  243. package/dist/chunks/{ripgrep-b24mhxf9.js → voice-v5n3dade.js} +18 -18
  244. package/dist/chunks/{ripgrep-5rcvdxf6.js → voice-v6j86cwd.js} +3 -3
  245. package/dist/chunks/{ripgrep-1yq9hg58.js → voice-v9ez2kgh.js} +5 -5
  246. package/dist/chunks/{ripgrep-7fdjd8sw.js → voice-vbjf00bc.js} +18 -18
  247. package/dist/chunks/{ripgrep-xjzq7hnt.js → voice-vc56jhsb.js} +13 -13
  248. package/dist/chunks/{ripgrep-veqvce7d.js → voice-veqvce7d.js} +1 -1
  249. package/dist/chunks/{ripgrep-sqbb0ctm.js → voice-vnwmzs4a.js} +5 -5
  250. package/dist/chunks/{ripgrep-vbjqtebd.js → voice-vp2s2yka.js} +9 -9
  251. package/dist/chunks/{ripgrep-dfsm4808.js → voice-vqbvr6se.js} +11 -11
  252. package/dist/chunks/{ripgrep-58t0zvek.js → voice-vskfcdrb.js} +18 -18
  253. package/dist/chunks/{ripgrep-8haq8m5n.js → voice-vtdmw6pn.js} +29 -29
  254. package/dist/chunks/{ripgrep-zgd7st2n.js → voice-vtyjcv1b.js} +29 -29
  255. package/dist/chunks/{ripgrep-ssky9yg5.js → voice-vzddn32s.js} +4 -4
  256. package/dist/chunks/{ripgrep-cy5ayqt4.js → voice-w1j6633d.js} +45 -45
  257. package/dist/chunks/{ripgrep-h7d4rbrg.js → voice-w35wzz9x.js} +4 -4
  258. package/dist/chunks/{ripgrep-32pwgmem.js → voice-w3t71e6s.js} +13 -13
  259. package/dist/chunks/{ripgrep-w3wsvvr9.js → voice-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{ripgrep-w687dnns.js → voice-w687dnns.js} +1 -1
  261. package/dist/chunks/{ripgrep-wakvkjy4.js → voice-wakvkjy4.js} +1 -1
  262. package/dist/chunks/{ripgrep-bz7kwm0q.js → voice-wd5r26a5.js} +4 -4
  263. package/dist/chunks/{ripgrep-wd87259q.js → voice-wd87259q.js} +1 -1
  264. package/dist/chunks/{ripgrep-egbe5b71.js → voice-wdkhqvf8.js} +12 -12
  265. package/dist/chunks/{ripgrep-wnhgecwx.js → voice-wnhgecwx.js} +1 -1
  266. package/dist/chunks/{ripgrep-7fx6peza.js → voice-wqkzmmce.js} +5 -5
  267. package/dist/chunks/{ripgrep-s6qcrcda.js → voice-ww7mtwbt.js} +50 -50
  268. package/dist/chunks/{ripgrep-xmdremne.js → voice-wy8fk26v.js} +5 -5
  269. package/dist/chunks/{ripgrep-rrjn135q.js → voice-wz2p1baj.js} +25 -25
  270. package/dist/chunks/{ripgrep-0g9tw212.js → voice-x09mmas0.js} +21 -21
  271. package/dist/chunks/{ripgrep-4bj5kpb7.js → voice-x4zyvd4k.js} +3 -3
  272. package/dist/chunks/{ripgrep-ap93h9h9.js → voice-x77jph0e.js} +9 -9
  273. package/dist/chunks/{ripgrep-x8nvjgx0.js → voice-x8nvjgx0.js} +1 -1
  274. package/dist/chunks/{ripgrep-df17qpd9.js → voice-xdz09ray.js} +4 -4
  275. package/dist/chunks/{ripgrep-xbazz2d9.js → voice-xgk4rwh4.js} +11 -11
  276. package/dist/chunks/{ripgrep-h0p593e3.js → voice-xn7wpegq.js} +21 -21
  277. package/dist/chunks/{ripgrep-xt0z8zst.js → voice-xt0z8zst.js} +1 -1
  278. package/dist/chunks/{ripgrep-kd78bhya.js → voice-y96w80dm.js} +12 -12
  279. package/dist/chunks/{ripgrep-qkw2jr9b.js → voice-yara3q77.js} +2 -2
  280. package/dist/chunks/{ripgrep-yb20nhc3.js → voice-yb20nhc3.js} +1 -1
  281. package/dist/chunks/{ripgrep-qkqjbc48.js → voice-yjjyz0e3.js} +3 -3
  282. package/dist/chunks/{ripgrep-s01r1pv0.js → voice-ym48dhm3.js} +44 -44
  283. package/dist/chunks/{ripgrep-ak3gvmya.js → voice-yz0f9hhw.js} +11 -11
  284. package/dist/chunks/{ripgrep-z0bkrqjs.js → voice-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{ripgrep-pt95v14f.js → voice-z10v8212.js} +11 -11
  286. package/dist/chunks/{ripgrep-znpwn00m.js → voice-z29c68wt.js} +6 -6
  287. package/dist/chunks/{ripgrep-z38nccrw.js → voice-z38nccrw.js} +1 -1
  288. package/dist/chunks/{ripgrep-088pd99w.js → voice-z3yzcab8.js} +32 -32
  289. package/dist/chunks/{ripgrep-c3mymrd0.js → voice-z89aveqn.js} +5 -5
  290. package/dist/chunks/{ripgrep-zgkm4kzm.js → voice-zgkm4kzm.js} +3 -3
  291. package/dist/chunks/{ripgrep-xtd7xn7c.js → voice-zjwz5rpa.js} +16 -16
  292. package/dist/chunks/{ripgrep-94r7trmv.js → voice-zn6qbc5k.js} +14 -14
  293. package/dist/chunks/{ripgrep-fczcv4ax.js → voice-zp40fz6v.js} +4 -4
  294. package/dist/chunks/{ripgrep-9pskqgbs.js → voice-zqpzyra7.js} +21 -21
  295. package/dist/chunks/{ripgrep-med93trz.js → voice-zt84m4jg.js} +4 -4
  296. package/dist/codemode/catalog.js +1 -1
  297. package/dist/codemode/instructions.js +11 -11
  298. package/dist/codemode/tool.js +3 -3
  299. package/dist/codemode/web.js +1 -1
  300. package/dist/command.js +91 -91
  301. package/dist/config/discovery.js +90 -90
  302. package/dist/config/integration.js +5 -5
  303. package/dist/config/markdown.js +1 -1
  304. package/dist/config/normalize.js +107 -107
  305. package/dist/config/plugin/agent.js +123 -123
  306. package/dist/config/plugin/command.js +221 -221
  307. package/dist/config/plugin/compaction.js +162 -162
  308. package/dist/config/plugin/compatibility.js +142 -142
  309. package/dist/config/plugin/entry-observer.js +1 -1
  310. package/dist/config/plugin/formatter.js +122 -122
  311. package/dist/config/plugin/image.js +121 -121
  312. package/dist/config/plugin/instruction.js +121 -121
  313. package/dist/config/plugin/location-watcher.js +123 -123
  314. package/dist/config/plugin/mcp.js +132 -132
  315. package/dist/config/plugin/policy.js +123 -123
  316. package/dist/config/plugin/provider.js +122 -122
  317. package/dist/config/plugin/reference.js +123 -123
  318. package/dist/config/plugin/shell.js +121 -121
  319. package/dist/config/plugin/skill-file.js +138 -138
  320. package/dist/config/plugin/skill-scan.js +1 -1
  321. package/dist/config/plugin/skill.js +145 -145
  322. package/dist/config/plugin/snapshot.js +121 -121
  323. package/dist/config/plugin/source.js +124 -124
  324. package/dist/config/plugin/tool-output.js +122 -122
  325. package/dist/config/plugin/websearch.js +120 -120
  326. package/dist/config/plugin/worktree.js +123 -123
  327. package/dist/config/variable.js +1 -1
  328. package/dist/config/watch.js +1 -1
  329. package/dist/config.js +126 -126
  330. package/dist/console-access.js +1 -1
  331. package/dist/credential/sql.js +2 -2
  332. package/dist/credential.js +89 -89
  333. package/dist/database/database.js +76 -76
  334. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  335. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  336. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  337. package/dist/database/drizzle/index.js +13 -13
  338. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  341. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  344. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  346. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  349. package/dist/database/drizzle.js +14 -14
  350. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  351. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  352. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  353. package/dist/database/migration/20260225215848_workspace.js +1 -1
  354. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  355. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  356. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  357. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  358. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  359. package/dist/database/migration/20260323234822_events.js +1 -1
  360. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  361. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  362. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  363. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  364. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  365. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  366. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  367. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  368. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  369. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  370. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  371. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  372. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  373. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  374. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  375. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  376. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  377. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  378. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  379. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  380. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  381. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  382. package/dist/database/migration/20260611035744_credential.js +1 -1
  383. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  384. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  385. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  386. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  387. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  388. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  389. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  390. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  391. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  392. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  393. package/dist/database/migration/20260812213948_worktree.js +1 -1
  394. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  395. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  396. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  397. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  398. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  399. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  400. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  401. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  402. package/dist/database/migration/20261025123711_blob.js +1 -1
  403. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  404. package/dist/database/migration.gen.js +55 -55
  405. package/dist/database/migration.js +57 -57
  406. package/dist/database/path.js +2 -2
  407. package/dist/database/schema.gen.js +1 -1
  408. package/dist/database/schema.sql.js +1 -1
  409. package/dist/database/sqlite.bun.js +1 -1
  410. package/dist/database/sqlite.js +1 -1
  411. package/dist/database/sqlite.node.js +1 -1
  412. package/dist/database/sqlite.workerd.js +1 -1
  413. package/dist/database/v1-migration.bun.js +96 -96
  414. package/dist/database/v1-migration.js +1 -1
  415. package/dist/effect/app-node-builder.js +382 -382
  416. package/dist/effect/app-node-platform.js +2 -2
  417. package/dist/effect/keyed-mutex.js +1 -1
  418. package/dist/effect/websocket-constructor.js +1 -1
  419. package/dist/environment/driver.js +1 -1
  420. package/dist/environment/environment.js +101 -101
  421. package/dist/environment/exec-defaults.js +2 -2
  422. package/dist/environment/files.js +1 -1
  423. package/dist/environment/index.js +101 -101
  424. package/dist/environment/local.js +2 -2
  425. package/dist/environment/memory.js +2 -2
  426. package/dist/environment/unavailable.js +1 -1
  427. package/dist/event/sql.js +1 -1
  428. package/dist/event-logger.js +80 -80
  429. package/dist/file-access.js +148 -148
  430. package/dist/file-mutation.js +102 -102
  431. package/dist/file-retention.js +1 -1
  432. package/dist/filesystem/fff.bun.js +2 -2
  433. package/dist/filesystem/fff.js +1 -1
  434. package/dist/filesystem/fff.node.js +2 -2
  435. package/dist/filesystem/fff.workerd.js +2 -2
  436. package/dist/filesystem/file-watch.js +86 -86
  437. package/dist/filesystem/location-watcher-policy.js +6 -6
  438. package/dist/filesystem/location-watcher.js +232 -232
  439. package/dist/filesystem/protected.js +1 -1
  440. package/dist/filesystem/search.js +107 -107
  441. package/dist/filesystem/watcher-binding.js +1 -1
  442. package/dist/filesystem/watcher.js +11 -11
  443. package/dist/filesystem.js +112 -112
  444. package/dist/form.js +86 -86
  445. package/dist/formatter/builtins.js +4 -4
  446. package/dist/formatter.js +95 -95
  447. package/dist/generate.js +115 -115
  448. package/dist/git.js +11 -11
  449. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  450. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  451. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  452. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  453. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  454. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  455. package/dist/github-copilot/copilot-provider.js +17 -17
  456. package/dist/github-copilot/models.js +99 -99
  457. package/dist/github-copilot/openai-compatible-error.js +1 -1
  458. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  459. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  460. package/dist/github-copilot/responses/openai-error.js +1 -1
  461. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  462. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  463. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  464. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  465. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  466. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  467. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  468. package/dist/image/photon-normalize.js +1 -1
  469. package/dist/image/photon-worker.js +1 -1
  470. package/dist/image/photon.js +4 -4
  471. package/dist/image.js +6 -6
  472. package/dist/instance/service.js +5 -5
  473. package/dist/instance.js +373 -373
  474. package/dist/instruction-discovery.js +88 -88
  475. package/dist/instructions/builtins.js +95 -95
  476. package/dist/instructions/index.js +1 -1
  477. package/dist/integration/connection.js +3 -3
  478. package/dist/integration.js +93 -93
  479. package/dist/job.js +84 -84
  480. package/dist/kv/sql.js +2 -2
  481. package/dist/kv.js +79 -79
  482. package/dist/location-activity.js +164 -164
  483. package/dist/location-lifecycle.js +142 -142
  484. package/dist/location-service-map.js +94 -94
  485. package/dist/location-services.js +370 -370
  486. package/dist/location.js +89 -89
  487. package/dist/managed-policy.js +9 -9
  488. package/dist/mcp/client.js +99 -99
  489. package/dist/mcp/index.js +115 -115
  490. package/dist/mcp/instructions.js +166 -166
  491. package/dist/mcp/oauth.js +84 -84
  492. package/dist/mcp/socket-client.js +1 -1
  493. package/dist/mcp/stdio.js +98 -98
  494. package/dist/mime.js +1 -1
  495. package/dist/modal/models.js +99 -99
  496. package/dist/model-resolver.js +107 -107
  497. package/dist/model-retry.js +1 -1
  498. package/dist/model.js +110 -110
  499. package/dist/models-dev/v1.js +1 -1
  500. package/dist/models-dev.js +116 -116
  501. package/dist/oauth/page.js +1 -1
  502. package/dist/permission/saved.js +86 -86
  503. package/dist/permission/sql.js +5 -5
  504. package/dist/permission.js +147 -147
  505. package/dist/persistent-pty/binary.bun.js +1 -1
  506. package/dist/persistent-pty/daemon.js +1 -1
  507. package/dist/persistent-pty/index.js +96 -96
  508. package/dist/persistent-pty/pty-binding.js +1 -1
  509. package/dist/persistent-pty.js +81 -81
  510. package/dist/plugin/agent.js +82 -82
  511. package/dist/plugin/command.js +110 -110
  512. package/dist/plugin/hooks.js +5 -5
  513. package/dist/plugin/host.js +225 -225
  514. package/dist/plugin/identity.js +5 -5
  515. package/dist/plugin/instance.js +3 -3
  516. package/dist/plugin/internal.js +343 -343
  517. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  518. package/dist/plugin/models-dev.js +105 -105
  519. package/dist/plugin/module.js +123 -123
  520. package/dist/plugin/optimize.js +2 -2
  521. package/dist/plugin/plan.js +138 -138
  522. package/dist/plugin/promise.js +1 -1
  523. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  524. package/dist/plugin/provider/azure.js +119 -119
  525. package/dist/plugin/provider/cerebras.js +1 -1
  526. package/dist/plugin/provider/chatgpt.js +121 -121
  527. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  528. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  529. package/dist/plugin/provider/cohere.js +2 -2
  530. package/dist/plugin/provider/configured.js +117 -117
  531. package/dist/plugin/provider/databricks.js +1 -1
  532. package/dist/plugin/provider/digitalocean.js +101 -101
  533. package/dist/plugin/provider/dynamic.js +2 -2
  534. package/dist/plugin/provider/factory.js +1 -1
  535. package/dist/plugin/provider/github-copilot.js +103 -103
  536. package/dist/plugin/provider/gitlab.js +101 -101
  537. package/dist/plugin/provider/google-vertex.js +118 -118
  538. package/dist/plugin/provider/kilo.js +1 -1
  539. package/dist/plugin/provider/llmgateway.js +84 -84
  540. package/dist/plugin/provider/lmstudio.js +130 -130
  541. package/dist/plugin/provider/local.js +127 -127
  542. package/dist/plugin/provider/modal.js +100 -100
  543. package/dist/plugin/provider/neon.js +1 -1
  544. package/dist/plugin/provider/nvidia.js +1 -1
  545. package/dist/plugin/provider/ollama.js +130 -130
  546. package/dist/plugin/provider/openai-context-caps.js +98 -98
  547. package/dist/plugin/provider/openai.js +121 -121
  548. package/dist/plugin/provider/opencode-legacy.js +108 -108
  549. package/dist/plugin/provider/opencode.js +127 -127
  550. package/dist/plugin/provider/openrouter.js +99 -99
  551. package/dist/plugin/provider/perplexity.js +2 -2
  552. package/dist/plugin/provider/poe.js +85 -85
  553. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  554. package/dist/plugin/provider/sap-ai-core.js +99 -99
  555. package/dist/plugin/provider/sdk-factory.js +1 -1
  556. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  557. package/dist/plugin/provider/vercel.js +98 -98
  558. package/dist/plugin/provider/vllm.js +130 -130
  559. package/dist/plugin/provider/xai.js +99 -99
  560. package/dist/plugin/provider/zenmux.js +1 -1
  561. package/dist/plugin/provider.js +178 -178
  562. package/dist/plugin/sdk.js +78 -78
  563. package/dist/plugin/service.js +3 -3
  564. package/dist/plugin/skill.js +141 -141
  565. package/dist/plugin/source-directory.js +1 -1
  566. package/dist/plugin/supervisor.js +362 -362
  567. package/dist/plugin/tool-input-repair.js +4 -4
  568. package/dist/plugin/update.js +6 -6
  569. package/dist/plugin/vcs/git.js +94 -94
  570. package/dist/plugin/vcs/hg.js +94 -94
  571. package/dist/plugin/verbosity.js +101 -101
  572. package/dist/plugin/warming.js +119 -119
  573. package/dist/plugin/websearch/exa.js +7 -7
  574. package/dist/plugin/websearch/firecrawl.js +8 -8
  575. package/dist/plugin/websearch/index.js +9 -9
  576. package/dist/plugin/websearch/mcp.js +4 -4
  577. package/dist/plugin/websearch/parallel.js +8 -8
  578. package/dist/plugin/websearch/tavily.js +6 -6
  579. package/dist/plugin/websearch/tinyfish.js +8 -8
  580. package/dist/plugin.js +230 -230
  581. package/dist/project/icon.js +5 -5
  582. package/dist/project/schema.js +2 -2
  583. package/dist/project/sql.js +4 -4
  584. package/dist/project.js +88 -88
  585. package/dist/provider.js +107 -107
  586. package/dist/pty/protocol.js +1 -1
  587. package/dist/pty/ticket.js +1 -1
  588. package/dist/pty.js +96 -96
  589. package/dist/reference/instructions.js +96 -96
  590. package/dist/reference.js +98 -98
  591. package/dist/repository-cache.js +88 -88
  592. package/dist/repository.js +3 -3
  593. package/dist/ripgrep/binary.js +2 -2
  594. package/dist/ripgrep.js +103 -103
  595. package/dist/rpc.js +94 -94
  596. package/dist/schema.js +1 -1
  597. package/dist/session/affinity.js +1 -1
  598. package/dist/session/blob.js +120 -120
  599. package/dist/session/command.js +80 -80
  600. package/dist/session/compaction.js +164 -164
  601. package/dist/session/context.js +188 -188
  602. package/dist/session/diff.js +96 -96
  603. package/dist/session/environment.js +5 -5
  604. package/dist/session/error.js +5 -5
  605. package/dist/session/event.js +1 -1
  606. package/dist/session/execution/restart.js +229 -229
  607. package/dist/session/execution.js +150 -150
  608. package/dist/session/generate.js +190 -190
  609. package/dist/session/history.js +127 -127
  610. package/dist/session/inbox.js +134 -134
  611. package/dist/session/info.js +3 -3
  612. package/dist/session/instruction-entry.js +85 -85
  613. package/dist/session/instruction-state.js +8 -8
  614. package/dist/session/instructions.js +132 -132
  615. package/dist/session/message-updater.js +4 -4
  616. package/dist/session/message.js +1 -1
  617. package/dist/session/model-request.js +153 -153
  618. package/dist/session/model-transport.js +7 -7
  619. package/dist/session/move.js +156 -156
  620. package/dist/session/projector.js +134 -134
  621. package/dist/session/prompt.js +140 -140
  622. package/dist/session/recent-text.js +1 -1
  623. package/dist/session/revert.js +130 -130
  624. package/dist/session/run-coordinator.js +3 -3
  625. package/dist/session/runner/index.js +3 -3
  626. package/dist/session/runner/llm.js +238 -238
  627. package/dist/session/runner/max-steps.js +1 -1
  628. package/dist/session/runner/model.js +108 -108
  629. package/dist/session/runner/publish-llm-event.js +141 -141
  630. package/dist/session/runner/retry.js +5 -5
  631. package/dist/session/runner/step.js +154 -154
  632. package/dist/session/runner/to-llm-message.js +128 -128
  633. package/dist/session/schema.js +5 -5
  634. package/dist/session/session.js +172 -172
  635. package/dist/session/shell.js +135 -135
  636. package/dist/session/skill.js +139 -139
  637. package/dist/session/sql.js +5 -5
  638. package/dist/session/stats.js +81 -81
  639. package/dist/session/store.js +131 -131
  640. package/dist/session/stored.js +2 -2
  641. package/dist/session/subagent-completion.js +1 -1
  642. package/dist/session/subagent-job.js +219 -219
  643. package/dist/session/system-prompt.js +5 -5
  644. package/dist/session/title.js +192 -192
  645. package/dist/session/to-session-error.js +140 -140
  646. package/dist/session/transfer.js +227 -227
  647. package/dist/session/usage.js +1 -1
  648. package/dist/session.js +225 -225
  649. package/dist/shell/parse.js +6 -6
  650. package/dist/shell/result.js +1 -1
  651. package/dist/shell/scan.js +1 -1
  652. package/dist/shell/select.js +13 -13
  653. package/dist/shell.js +137 -137
  654. package/dist/skill/discovery.js +6 -6
  655. package/dist/skill/instructions.js +143 -143
  656. package/dist/skill.js +150 -150
  657. package/dist/snapshot.js +99 -99
  658. package/dist/state.js +1 -1
  659. package/dist/tool/html-markdown.js +1 -1
  660. package/dist/tool/http-body.js +1 -1
  661. package/dist/tool/mcp.js +163 -163
  662. package/dist/tool/plugin/edit.js +150 -150
  663. package/dist/tool/plugin/file-diff.js +1 -1
  664. package/dist/tool/plugin/glob.js +160 -160
  665. package/dist/tool/plugin/grep.js +160 -160
  666. package/dist/tool/plugin/mcp-resource.js +154 -154
  667. package/dist/tool/plugin/opencode.js +153 -153
  668. package/dist/tool/plugin/patch.js +158 -158
  669. package/dist/tool/plugin/question.js +138 -138
  670. package/dist/tool/plugin/read.js +161 -161
  671. package/dist/tool/plugin/shell.js +222 -222
  672. package/dist/tool/plugin/skill.js +147 -147
  673. package/dist/tool/plugin/subagent.js +224 -224
  674. package/dist/tool/plugin/todo.js +145 -145
  675. package/dist/tool/plugin/webfetch.js +147 -147
  676. package/dist/tool/plugin/websearch.js +145 -145
  677. package/dist/tool/plugin/write.js +158 -158
  678. package/dist/tool/read-filesystem.js +110 -110
  679. package/dist/tool/runtime.js +1 -1
  680. package/dist/tool-output.js +7 -7
  681. package/dist/tool.js +16 -16
  682. package/dist/usage-limits.js +89 -89
  683. package/dist/util/error-summary.js +1 -1
  684. package/dist/util/git-executable.js +3 -3
  685. package/dist/util/lazy.js +1 -1
  686. package/dist/util/slug.js +1 -1
  687. package/dist/util/token.js +1 -1
  688. package/dist/util/which.js +1 -1
  689. package/dist/util/wildcard.js +1 -1
  690. package/dist/v1/config/agent.js +7 -7
  691. package/dist/v1/config/command.js +5 -5
  692. package/dist/v1/config/mcp.js +6 -6
  693. package/dist/v1/config/migrate.js +100 -100
  694. package/dist/v1/config/permission.js +3 -3
  695. package/dist/v1/config/plugin.js +3 -3
  696. package/dist/v1/config/provider-options.js +1 -1
  697. package/dist/v1/config/provider.js +4 -4
  698. package/dist/variant.js +101 -101
  699. package/dist/vcs/patch.js +1 -1
  700. package/dist/vcs.js +97 -97
  701. package/dist/voice.js +92 -92
  702. package/dist/websearch.js +90 -90
  703. package/dist/wellknown/plugin.js +82 -82
  704. package/dist/wellknown.js +87 -87
  705. package/dist/workspace/driver.js +5 -5
  706. package/dist/workspace/sql.js +1 -1
  707. package/dist/workspace.js +88 -88
  708. package/dist/worktree/directory.js +2 -2
  709. package/dist/worktree/git.js +11 -11
  710. package/dist/worktree/sql.js +5 -5
  711. package/dist/worktree/strategies.js +97 -97
  712. package/dist/worktree.js +106 -106
  713. package/package.json +8 -8
  714. package/dist/chunks/ripgrep-4hbcjkqy.js +0 -257
  715. package/dist/chunks/ripgrep-j1207za8.js +0 -26
  716. package/dist/chunks/ripgrep-jztn5z23.js +0 -18
  717. /package/dist/chunks/{ripgrep-0qkdqm5v.js → voice-0qkdqm5v.js} +0 -0
  718. /package/dist/chunks/{ripgrep-0zkw76rk.js → voice-0zkw76rk.js} +0 -0
  719. /package/dist/chunks/{ripgrep-17cy0kzp.js → voice-17cy0kzp.js} +0 -0
  720. /package/dist/chunks/{ripgrep-1cnp2v09.js → voice-1cnp2v09.js} +0 -0
  721. /package/dist/chunks/{ripgrep-1jakw16s.js → voice-1jakw16s.js} +0 -0
  722. /package/dist/chunks/{ripgrep-24dcb14g.js → voice-24dcb14g.js} +0 -0
  723. /package/dist/chunks/{ripgrep-2710q6r3.js → voice-2710q6r3.js} +0 -0
  724. /package/dist/chunks/{ripgrep-2bv980vf.js → voice-2bv980vf.js} +0 -0
  725. /package/dist/chunks/{ripgrep-2c3vjs8z.js → voice-2c3vjs8z.js} +0 -0
  726. /package/dist/chunks/{ripgrep-359p4xyc.js → voice-359p4xyc.js} +0 -0
  727. /package/dist/chunks/{ripgrep-3asan66x.js → voice-3asan66x.js} +0 -0
  728. /package/dist/chunks/{ripgrep-3v8g72cx.js → voice-3v8g72cx.js} +0 -0
  729. /package/dist/chunks/{ripgrep-3wcehsnq.js → voice-3wcehsnq.js} +0 -0
  730. /package/dist/chunks/{ripgrep-43n2bw4t.js → voice-43n2bw4t.js} +0 -0
  731. /package/dist/chunks/{ripgrep-4knz6hnm.js → voice-4knz6hnm.js} +0 -0
  732. /package/dist/chunks/{ripgrep-4m86bj6y.js → voice-4m86bj6y.js} +0 -0
  733. /package/dist/chunks/{ripgrep-4vcrnpx2.js → voice-4vcrnpx2.js} +0 -0
  734. /package/dist/chunks/{ripgrep-4y7fprxs.js → voice-4y7fprxs.js} +0 -0
  735. /package/dist/chunks/{ripgrep-53557ph1.js → voice-53557ph1.js} +0 -0
  736. /package/dist/chunks/{ripgrep-550bvhaj.js → voice-550bvhaj.js} +0 -0
  737. /package/dist/chunks/{ripgrep-5w3e23ze.js → voice-5w3e23ze.js} +0 -0
  738. /package/dist/chunks/{ripgrep-6prwharc.js → voice-6prwharc.js} +0 -0
  739. /package/dist/chunks/{ripgrep-6q2bdcd1.js → voice-6q2bdcd1.js} +0 -0
  740. /package/dist/chunks/{ripgrep-7akdwqpd.js → voice-7akdwqpd.js} +0 -0
  741. /package/dist/chunks/{ripgrep-7m9af43g.js → voice-7m9af43g.js} +0 -0
  742. /package/dist/chunks/{ripgrep-822emrt2.js → voice-822emrt2.js} +0 -0
  743. /package/dist/chunks/{ripgrep-84wd9syh.js → voice-84wd9syh.js} +0 -0
  744. /package/dist/chunks/{ripgrep-88xbtdfr.js → voice-88xbtdfr.js} +0 -0
  745. /package/dist/chunks/{ripgrep-8n3pysct.js → voice-8n3pysct.js} +0 -0
  746. /package/dist/chunks/{ripgrep-8wj87zfr.js → voice-8wj87zfr.js} +0 -0
  747. /package/dist/chunks/{ripgrep-9a4afbnw.js → voice-9a4afbnw.js} +0 -0
  748. /package/dist/chunks/{ripgrep-9rqn6x4v.js → voice-9rqn6x4v.js} +0 -0
  749. /package/dist/chunks/{ripgrep-a058387c.js → voice-a058387c.js} +0 -0
  750. /package/dist/chunks/{ripgrep-a6k6eb26.js → voice-a6k6eb26.js} +0 -0
  751. /package/dist/chunks/{ripgrep-af5trqkr.js → voice-af5trqkr.js} +0 -0
  752. /package/dist/chunks/{ripgrep-afrmfg78.js → voice-afrmfg78.js} +0 -0
  753. /package/dist/chunks/{ripgrep-aqzs7mqg.js → voice-aqzs7mqg.js} +0 -0
  754. /package/dist/chunks/{ripgrep-atq7p7m5.js → voice-atq7p7m5.js} +0 -0
  755. /package/dist/chunks/{ripgrep-beh6qq61.js → voice-beh6qq61.js} +0 -0
  756. /package/dist/chunks/{ripgrep-bkyjaxrp.js → voice-bkyjaxrp.js} +0 -0
  757. /package/dist/chunks/{ripgrep-bmr6ed5q.js → voice-bmr6ed5q.js} +0 -0
  758. /package/dist/chunks/{ripgrep-cf4snx6d.js → voice-cf4snx6d.js} +0 -0
  759. /package/dist/chunks/{ripgrep-cqv5kn06.js → voice-cqv5kn06.js} +0 -0
  760. /package/dist/chunks/{ripgrep-cvy3z8tj.js → voice-cvy3z8tj.js} +0 -0
  761. /package/dist/chunks/{ripgrep-d9fn303g.js → voice-d9fn303g.js} +0 -0
  762. /package/dist/chunks/{ripgrep-d9jj8t3e.js → voice-d9jj8t3e.js} +0 -0
  763. /package/dist/chunks/{ripgrep-dajrwvna.js → voice-dajrwvna.js} +0 -0
  764. /package/dist/chunks/{ripgrep-dap0rakb.js → voice-dap0rakb.js} +0 -0
  765. /package/dist/chunks/{ripgrep-df08tz66.js → voice-df08tz66.js} +0 -0
  766. /package/dist/chunks/{ripgrep-dy18nga0.js → voice-dy18nga0.js} +0 -0
  767. /package/dist/chunks/{ripgrep-e5kj55wp.js → voice-e5kj55wp.js} +0 -0
  768. /package/dist/chunks/{ripgrep-e73j6tqm.js → voice-e73j6tqm.js} +0 -0
  769. /package/dist/chunks/{ripgrep-ec1grn59.js → voice-ec1grn59.js} +0 -0
  770. /package/dist/chunks/{ripgrep-eh3zwz77.js → voice-eh3zwz77.js} +0 -0
  771. /package/dist/chunks/{ripgrep-emrn6kk6.js → voice-emrn6kk6.js} +0 -0
  772. /package/dist/chunks/{ripgrep-f0mxakyp.js → voice-f0mxakyp.js} +0 -0
  773. /package/dist/chunks/{ripgrep-f6n9ztr4.js → voice-f6n9ztr4.js} +0 -0
  774. /package/dist/chunks/{ripgrep-faypxj3z.js → voice-faypxj3z.js} +0 -0
  775. /package/dist/chunks/{ripgrep-fd410y7t.js → voice-fd410y7t.js} +0 -0
  776. /package/dist/chunks/{ripgrep-fkpq3x5p.js → voice-fkpq3x5p.js} +0 -0
  777. /package/dist/chunks/{ripgrep-g4wezp1m.js → voice-g4wezp1m.js} +0 -0
  778. /package/dist/chunks/{ripgrep-g86h250q.js → voice-g86h250q.js} +0 -0
  779. /package/dist/chunks/{ripgrep-gebd4c9n.js → voice-gebd4c9n.js} +0 -0
  780. /package/dist/chunks/{ripgrep-gftt206x.js → voice-gftt206x.js} +0 -0
  781. /package/dist/chunks/{ripgrep-hcxmzztb.js → voice-hcxmzztb.js} +0 -0
  782. /package/dist/chunks/{ripgrep-hk9envan.js → voice-hk9envan.js} +0 -0
  783. /package/dist/chunks/{ripgrep-j2ntwpah.js → voice-j2ntwpah.js} +0 -0
  784. /package/dist/chunks/{ripgrep-j5zkgpj8.js → voice-j5zkgpj8.js} +0 -0
  785. /package/dist/chunks/{ripgrep-jjkms2e6.js → voice-jjkms2e6.js} +0 -0
  786. /package/dist/chunks/{ripgrep-jr7sbwjy.js → voice-jr7sbwjy.js} +0 -0
  787. /package/dist/chunks/{ripgrep-jwfs4k6c.js → voice-jwfs4k6c.js} +0 -0
  788. /package/dist/chunks/{ripgrep-jwr30sdr.js → voice-jwr30sdr.js} +0 -0
  789. /package/dist/chunks/{ripgrep-jze0r7bz.js → voice-jze0r7bz.js} +0 -0
  790. /package/dist/chunks/{ripgrep-jzg6c2d5.js → voice-jzg6c2d5.js} +0 -0
  791. /package/dist/chunks/{ripgrep-m18g726c.js → voice-m18g726c.js} +0 -0
  792. /package/dist/chunks/{ripgrep-mp448xyj.js → voice-mp448xyj.js} +0 -0
  793. /package/dist/chunks/{ripgrep-msx8hqn2.js → voice-msx8hqn2.js} +0 -0
  794. /package/dist/chunks/{ripgrep-n05xt0ee.js → voice-n05xt0ee.js} +0 -0
  795. /package/dist/chunks/{ripgrep-n3j8tn72.js → voice-n3j8tn72.js} +0 -0
  796. /package/dist/chunks/{ripgrep-ncqqe42p.js → voice-ncqqe42p.js} +0 -0
  797. /package/dist/chunks/{ripgrep-njntx4h6.js → voice-njntx4h6.js} +0 -0
  798. /package/dist/chunks/{ripgrep-p71gwv9c.js → voice-p71gwv9c.js} +0 -0
  799. /package/dist/chunks/{ripgrep-q3sfg36h.js → voice-q3sfg36h.js} +0 -0
  800. /package/dist/chunks/{ripgrep-q74kybfr.js → voice-q74kybfr.js} +0 -0
  801. /package/dist/chunks/{ripgrep-qaymkmh1.js → voice-qaymkmh1.js} +0 -0
  802. /package/dist/chunks/{ripgrep-qb87gjwd.js → voice-qb87gjwd.js} +0 -0
  803. /package/dist/chunks/{ripgrep-qfa1cgps.js → voice-qfa1cgps.js} +0 -0
  804. /package/dist/chunks/{ripgrep-qg3g05ea.js → voice-qg3g05ea.js} +0 -0
  805. /package/dist/chunks/{ripgrep-qrg20bc0.js → voice-qrg20bc0.js} +0 -0
  806. /package/dist/chunks/{ripgrep-rcb2kzg1.js → voice-rcb2kzg1.js} +0 -0
  807. /package/dist/chunks/{ripgrep-sdp7kfr6.js → voice-sdp7kfr6.js} +0 -0
  808. /package/dist/chunks/{ripgrep-ssg3fenm.js → voice-ssg3fenm.js} +0 -0
  809. /package/dist/chunks/{ripgrep-ve7vex1e.js → voice-ve7vex1e.js} +0 -0
  810. /package/dist/chunks/{ripgrep-w803qqfp.js → voice-w803qqfp.js} +0 -0
  811. /package/dist/chunks/{ripgrep-wc3fc9cn.js → voice-wc3fc9cn.js} +0 -0
  812. /package/dist/chunks/{ripgrep-wer8tq1h.js → voice-wer8tq1h.js} +0 -0
  813. /package/dist/chunks/{ripgrep-wtztk69x.js → voice-wtztk69x.js} +0 -0
  814. /package/dist/chunks/{ripgrep-x0ckcb58.js → voice-x0ckcb58.js} +0 -0
  815. /package/dist/chunks/{ripgrep-x61499pn.js → voice-x61499pn.js} +0 -0
  816. /package/dist/chunks/{ripgrep-y44na4kk.js → voice-y44na4kk.js} +0 -0
  817. /package/dist/chunks/{ripgrep-y8f7s663.js → voice-y8f7s663.js} +0 -0
  818. /package/dist/chunks/{ripgrep-ygaqb7jw.js → voice-ygaqb7jw.js} +0 -0
  819. /package/dist/chunks/{ripgrep-ym463w8f.js → voice-ym463w8f.js} +0 -0
  820. /package/dist/chunks/{ripgrep-z5v4ffb3.js → voice-z5v4ffb3.js} +0 -0
  821. /package/dist/chunks/{ripgrep-z9919s4g.js → voice-z9919s4g.js} +0 -0
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  requestExecutor2,
3
3
  llmClient2
4
- } from "./ripgrep-p015t6z3.js";
4
+ } from "./voice-p015t6z3.js";
5
5
  import {
6
- Service62,
7
- node65
8
- } from "./ripgrep-bwsv21wr.js";
6
+ Service78,
7
+ node82
8
+ } from "./voice-hj2aqav5.js";
9
9
  import {
10
- Service52,
11
- node55
12
- } from "./ripgrep-s9j2kwh6.js";
10
+ Service47,
11
+ node49
12
+ } from "./voice-60zbszzn.js";
13
13
  import {
14
14
  retryOneShot2
15
- } from "./ripgrep-wnhgecwx.js";
15
+ } from "./voice-wnhgecwx.js";
16
16
  import {
17
17
  __export
18
- } from "./ripgrep-9rqn6x4v.js";
18
+ } from "./voice-9rqn6x4v.js";
19
19
 
20
20
  // src/generate.ts
21
- var exports_generate2 = {};
22
- __export(exports_generate2, {
23
- Generate: () => exports_generate2,
21
+ var exports_generate = {};
22
+ __export(exports_generate, {
23
+ Generate: () => exports_generate,
24
24
  InvalidRequestError: () => InvalidRequestError2,
25
25
  ModelNotFoundError: () => ModelNotFoundError2,
26
26
  ProviderFailure: () => ProviderFailure2,
27
27
  ProviderRequestError: () => ProviderRequestError2,
28
- Service: () => Service51,
29
- UnavailableError: () => UnavailableError4,
28
+ Service: () => Service18,
29
+ UnavailableError: () => UnavailableError3,
30
30
  UnsupportedModelError: () => UnsupportedModelError2,
31
- layer: () => layer23,
32
- node: () => node54
31
+ layer: () => layer10,
32
+ node: () => node21
33
33
  });
34
34
  import { Decision, DecisionClient, Image, ImageClient, LLM, LLMClient, Media } from "@opencode/ai/effect";
35
35
  import { Money } from "@opencode/schema/money";
@@ -37,7 +37,7 @@ import { SessionID } from "@opencode/schema/session-id";
37
37
  import { Context, Effect, Layer, Schema } from "effect";
38
38
  import { RequestExecutor } from "@opencode/ai/route";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- class UnavailableError4 extends Schema.TaggedError()("Generate.UnavailableError", {
40
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
41
41
  message: Schema.String,
42
42
  service: Schema.optional(Schema.String)
43
43
  }) {
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
81
81
  }) {
82
82
  }
83
83
 
84
- class Service51 extends Context.Service()("@opencode/Generate") {
84
+ class Service18 extends Context.Service()("@opencode/Generate") {
85
85
  }
86
- var layer23 = Layer.effect(Service51, Effect.gen(function* () {
86
+ var layer10 = Layer.effect(Service18, Effect.gen(function* () {
87
87
  const llm = yield* LLMClient.Service;
88
- const resolver = yield* Service52;
89
- const models = yield* Service62;
88
+ const resolver = yield* Service47;
89
+ const models = yield* Service78;
90
90
  const executor = yield* RequestExecutor.Service;
91
91
  const images = yield* ImageClient.Service;
92
92
  const decisionClient = yield* DecisionClient.Service;
@@ -98,11 +98,11 @@ var layer23 = Layer.effect(Service51, Effect.gen(function* () {
98
98
  "SessionRunnerModel.ModelInitializationError",
99
99
  "SessionRunnerModel.UnresolvedProviderVariablesError",
100
100
  "SessionRunnerModel.UnsupportedCompactionError"
101
- ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError4({ message: error.message, service: error.providerID }))));
101
+ ], (error) => Effect.fail(input.model ? resolutionError(input.model, "chat", error) : new UnavailableError3({ message: error.message, service: error.providerID }))));
102
102
  if (!resolved && input.model)
103
103
  return yield* missing(input.model, "chat");
104
104
  if (!resolved)
105
- return yield* new UnavailableError4({ message: "No model specified and no supported model is available" });
105
+ return yield* new UnavailableError3({ message: "No model specified and no supported model is available" });
106
106
  const response = yield* llm.generate(LLM.request({
107
107
  model: resolved.model,
108
108
  prompt: input.prompt,
@@ -162,8 +162,8 @@ var layer23 = Layer.effect(Service51, Effect.gen(function* () {
162
162
  ...response.providerMetadata ? { native: plainJson(response.providerMetadata) } : {}
163
163
  };
164
164
  });
165
- const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
166
- return Service51.of({
165
+ const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({ message: "Generation credentials are unavailable" })));
166
+ return Service18.of({
167
167
  text: (input) => credentials(runText(input)),
168
168
  image: (input) => credentials(image(input)),
169
169
  decisions: (input) => credentials(decisions(input))
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
215
215
  return "overloaded";
216
216
  return "provider";
217
217
  }
218
- var node54 = makeLocationNode({
219
- service: Service51,
220
- layer: layer23,
221
- deps: [node55, node65, llmClient2, requestExecutor2]
218
+ var node21 = makeLocationNode({
219
+ service: Service18,
220
+ layer: layer10,
221
+ deps: [node49, node82, llmClient2, requestExecutor2]
222
222
  });
223
223
 
224
- export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service51, layer23, node54, exports_generate2 };
224
+ export { UnavailableError3, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service18, layer10, node21, exports_generate };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  policy3
3
- } from "./ripgrep-wnhgecwx.js";
3
+ } from "./voice-wnhgecwx.js";
4
4
  import {
5
5
  SessionEvent2
6
- } from "./ripgrep-ec1grn59.js";
6
+ } from "./voice-ec1grn59.js";
7
7
  import {
8
8
  __export
9
- } from "./ripgrep-9rqn6x4v.js";
9
+ } from "./voice-9rqn6x4v.js";
10
10
 
11
11
  // src/session/runner/retry.ts
12
12
  var exports_retry = {};
13
13
  __export(exports_retry, {
14
14
  SessionRunnerRetry: () => exports_retry,
15
15
  isRetryable: () => isRetryable2,
16
- make: () => make10,
16
+ make: () => make11,
17
17
  policy: () => policy2
18
18
  });
19
19
  import { isRetryable as isRetryable2 } from "@opencode/ai/effect";
@@ -39,7 +39,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
39
39
  return { retry: true, attempt: next.attempt, delay: normalized };
40
40
  });
41
41
  });
42
- var make10 = (bus, sessionID) => Effect.gen(function* () {
42
+ var make11 = (bus, sessionID) => Effect.gen(function* () {
43
43
  const decide = yield* policy2(sessionID);
44
44
  const wait = (input) => Effect.gen(function* () {
45
45
  const scheduled = yield* Clock.currentTimeMillis;
@@ -56,4 +56,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
56
56
  return { decide, wait };
57
57
  });
58
58
 
59
- export { isRetryable2, policy2, make10, exports_retry };
59
+ export { isRetryable2, policy2, make11, exports_retry };
@@ -1,31 +1,31 @@
1
+ import {
2
+ Service87,
3
+ node91
4
+ } from "./voice-rrcp247b.js";
1
5
  import {
2
6
  Service86,
3
7
  node90
4
- } from "./ripgrep-9mv4bqkt.js";
5
- import {
6
- Service85,
7
- node89
8
- } from "./ripgrep-tqf554py.js";
8
+ } from "./voice-8hjw7asv.js";
9
9
  import {
10
10
  Service83,
11
11
  node87
12
- } from "./ripgrep-wyyb2rea.js";
12
+ } from "./voice-16kpnapk.js";
13
13
  import {
14
14
  SessionEvent2
15
- } from "./ripgrep-ec1grn59.js";
15
+ } from "./voice-ec1grn59.js";
16
16
  import {
17
17
  synthetics2
18
- } from "./ripgrep-d6x0x4gv.js";
18
+ } from "./voice-331dxnty.js";
19
19
  import {
20
20
  __export
21
- } from "./ripgrep-9rqn6x4v.js";
21
+ } from "./voice-9rqn6x4v.js";
22
22
 
23
23
  // src/session/instructions.ts
24
24
  var exports_instructions = {};
25
25
  __export(exports_instructions, {
26
- Service: () => Service12,
26
+ Service: () => Service11,
27
27
  SessionInstructions: () => exports_instructions,
28
- node: () => node14
28
+ node: () => node13
29
29
  });
30
30
  import { relative } from "path";
31
31
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -35,12 +35,12 @@ var InjectedMetadata = Schema.Struct({
35
35
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
36
36
  });
37
37
 
38
- class Service12 extends Context.Service()("@opencode/SessionInstructions") {
38
+ class Service11 extends Context.Service()("@opencode/SessionInstructions") {
39
39
  }
40
- var layer = Layer.effect(Service12, Effect.gen(function* () {
41
- const bus = yield* Service85;
40
+ var layer = Layer.effect(Service11, Effect.gen(function* () {
41
+ const bus = yield* Service86;
42
42
  const fs = yield* FSUtil.Service;
43
- const db = (yield* Service86).db;
43
+ const db = (yield* Service87).db;
44
44
  const location = yield* Service83;
45
45
  const root = yield* fs.resolve(location.project.directory);
46
46
  const inFlight = yield* Ref.make(new Map);
@@ -87,7 +87,7 @@ ${file.content}`).join(`
87
87
  return next;
88
88
  })));
89
89
  });
90
- return Service12.of({ load });
90
+ return Service11.of({ load });
91
91
  }));
92
92
  function previouslyInjected(db, sessionID) {
93
93
  return Effect.gen(function* () {
@@ -98,10 +98,10 @@ function previouslyInjected(db, sessionID) {
98
98
  function describePath(root, path) {
99
99
  return FSUtil.contains(root, path) ? relative(root, path) : path;
100
100
  }
101
- var node14 = makeLocationNode({
101
+ var node13 = makeLocationNode({
102
102
  name: "session-instructions",
103
103
  layer,
104
- deps: [node89, node90, FSUtil.node, node87]
104
+ deps: [node90, node91, FSUtil.node, node87]
105
105
  });
106
106
 
107
- export { Service12, node14, exports_instructions };
107
+ export { Service11, node13, exports_instructions };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./ripgrep-svcy3p9a.js";
3
+ } from "./voice-svcy3p9a.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./ripgrep-z5v4ffb3.js";
6
+ } from "./voice-z5v4ffb3.js";
7
7
  import {
8
8
  Service83
9
- } from "./ripgrep-wyyb2rea.js";
9
+ } from "./voice-16kpnapk.js";
10
10
  import {
11
- Service81
12
- } from "./ripgrep-4m70se6x.js";
11
+ Service72
12
+ } from "./voice-t9n9vkbt.js";
13
13
  import {
14
- Service71
15
- } from "./ripgrep-2c98r4e2.js";
14
+ Service58
15
+ } from "./voice-sdqd4v63.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./ripgrep-fe9sakca.js";
21
+ } from "./voice-nq3xd2c0.js";
22
22
  import {
23
- Service55
24
- } from "./ripgrep-cy5ayqt4.js";
23
+ Service54
24
+ } from "./voice-w1j6633d.js";
25
25
  import {
26
- Service45
27
- } from "./ripgrep-v4vw7d5e.js";
26
+ Service14
27
+ } from "./voice-sn7ggsh5.js";
28
28
  import {
29
29
  __export
30
- } from "./ripgrep-9rqn6x4v.js";
30
+ } from "./voice-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input6,
37
- Output: () => Output4,
38
- Plugin: () => Plugin42,
39
- name: () => name6,
40
- toModelContent: () => toModelContent3
36
+ Input: () => Input8,
37
+ Output: () => Output5,
38
+ Plugin: () => Plugin43,
39
+ name: () => name8,
40
+ toModelContent: () => toModelContent4
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai/effect";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name6 = "glob";
46
- var Input6 = Schema.Struct({
45
+ var name8 = "glob";
46
+ var Input8 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output4 = Schema.Array(Entry2);
59
- var toModelContent3 = (entries, truncated = false) => {
58
+ var Output5 = Schema.Array(Entry2);
59
+ var toModelContent4 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin42 = {
66
+ var Plugin43 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service81;
70
- const ripgrep = yield* Service71;
69
+ const environment = yield* Service72;
70
+ const ripgrep = yield* Service58;
71
71
  const location = yield* Service83;
72
- const access = yield* Service45;
73
- const permission = yield* Service55;
72
+ const access = yield* Service14;
73
+ const permission = yield* Service54;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name6,
75
+ name: name8,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input6,
79
- output: Output4,
78
+ input: Input8,
79
+ output: Output5,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name6,
86
+ action: name8,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin42 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name6, Input6, Output4, toModelContent3, Plugin42, exports_glob };
128
+ export { name8, Input8, Output5, toModelContent4, Plugin43, exports_glob };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service60
3
- } from "./ripgrep-58t0zvek.js";
2
+ Service63
3
+ } from "./voice-vskfcdrb.js";
4
4
  import {
5
5
  Service83
6
- } from "./ripgrep-wyyb2rea.js";
6
+ } from "./voice-16kpnapk.js";
7
7
  import {
8
- Service59
9
- } from "./ripgrep-2p6ra54c.js";
8
+ Service62
9
+ } from "./voice-gfz1rrxw.js";
10
10
  import {
11
11
  unavailable3
12
- } from "./ripgrep-xt0z8zst.js";
12
+ } from "./voice-xt0z8zst.js";
13
13
  import {
14
14
  File2,
15
- Service41
16
- } from "./ripgrep-c2rtzjd7.js";
15
+ Service53
16
+ } from "./voice-1zagfxvp.js";
17
17
  import {
18
18
  __export
19
- } from "./ripgrep-9rqn6x4v.js";
19
+ } from "./voice-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin29
25
+ Plugin: () => Plugin5
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
31
31
  import path, { dirname, join } from "path";
32
32
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
33
33
  import { HttpClient, HttpClientRequest } from "effect/http";
34
- var Plugin29 = define({
34
+ var Plugin5 = define({
35
35
  id: "opencode.config.instruction",
36
36
  effect: Effect.fn(function* (ctx) {
37
- const discovery = yield* Service41;
37
+ const discovery = yield* Service53;
38
38
  yield* Effect.gen(function* () {
39
- const config = yield* Service59;
39
+ const config = yield* Service62;
40
40
  const fs = yield* FSUtil.Service;
41
41
  const global = yield* Global.Service;
42
42
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
43
43
  const location = yield* Service83;
44
- const watcher = yield* Service60;
44
+ const watcher = yield* Service63;
45
45
  const changes = yield* PubSub.sliding(1);
46
46
  const watches = yield* FiberMap.make();
47
47
  const lock = Semaphore.makeUnsafe(1);
@@ -180,4 +180,4 @@ function isUrl(source) {
180
180
  return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
181
181
  }
182
182
 
183
- export { Plugin29, exports_instruction };
183
+ export { Plugin5, exports_instruction };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service63
4
- } from "./ripgrep-mnjz2ecc.js";
3
+ Service79
4
+ } from "./voice-k4tkqwhe.js";
5
5
  import {
6
- Service59
7
- } from "./ripgrep-2p6ra54c.js";
6
+ Service62
7
+ } from "./voice-gfz1rrxw.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service63;
12
+ const providers = yield* Service79;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service59);
14
+ const service = yield* Effect.serviceOption(Service62);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,56 +1,56 @@
1
1
  import {
2
2
  useragent2
3
- } from "./ripgrep-dfsm4808.js";
3
+ } from "./voice-vqbvr6se.js";
4
4
  import {
5
- Service85
6
- } from "./ripgrep-tqf554py.js";
5
+ Service86
6
+ } from "./voice-8hjw7asv.js";
7
7
  import {
8
- ID10,
8
+ ID16,
9
9
  OAuth3,
10
- Event14
11
- } from "./ripgrep-kn05yypj.js";
10
+ Event19
11
+ } from "./voice-tn3j866z.js";
12
12
  import {
13
13
  key2
14
- } from "./ripgrep-ar2j3j0f.js";
14
+ } from "./voice-61ennm6n.js";
15
15
  import {
16
- ID9,
16
+ ID14,
17
17
  MethodID2,
18
18
  AuthorizationError2
19
- } from "./ripgrep-zgd7st2n.js";
19
+ } from "./voice-vtyjcv1b.js";
20
20
  import {
21
- ID8
22
- } from "./ripgrep-mnjz2ecc.js";
21
+ ID13
22
+ } from "./voice-k4tkqwhe.js";
23
23
  import {
24
- Service59
25
- } from "./ripgrep-2p6ra54c.js";
24
+ Service62
25
+ } from "./voice-gfz1rrxw.js";
26
26
  import {
27
- Remote2,
27
+ Remote3,
28
28
  Document2,
29
- make18
30
- } from "./ripgrep-epbqh0vp.js";
29
+ make21
30
+ } from "./voice-5y0frafb.js";
31
31
  import {
32
32
  integrate2
33
- } from "./ripgrep-8k2vnwwb.js";
33
+ } from "./voice-jyha7v2x.js";
34
34
  import {
35
35
  defaultServer2,
36
36
  server2,
37
37
  headers2
38
- } from "./ripgrep-kt3bjfbg.js";
38
+ } from "./voice-kt3bjfbg.js";
39
39
  import {
40
- Service44
41
- } from "./ripgrep-ef7fp8z8.js";
40
+ Service70
41
+ } from "./voice-9gyma7cs.js";
42
42
  import {
43
- ID13,
44
- Input15,
43
+ ID4,
44
+ Input14,
45
45
  Response3
46
- } from "./ripgrep-f40h8bb4.js";
46
+ } from "./voice-dv6qj2km.js";
47
47
  import {
48
48
  Response2,
49
- make4,
49
+ make9,
50
50
  statements2,
51
51
  providerIDs2,
52
- register2
53
- } from "./ripgrep-gfrk9heb.js";
52
+ register3
53
+ } from "./voice-dmv7p57s.js";
54
54
 
55
55
  // src/plugin/provider/opencode.ts
56
56
  import {
@@ -113,7 +113,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
113
113
  }
114
114
  function oauth(http) {
115
115
  return {
116
- integrationID: ID9.make("opencode"),
116
+ integrationID: ID14.make("opencode"),
117
117
  method: {
118
118
  id: methodID,
119
119
  type: "oauth",
@@ -178,11 +178,11 @@ var OpencodePlugin2 = define({
178
178
  id: "opencode.provider.opencode",
179
179
  effect: Effect.fn(function* (ctx) {
180
180
  const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
181
- const bus = yield* Service85;
181
+ const bus = yield* Service86;
182
182
  const client = yield* HttpClient.HttpClient;
183
183
  const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
184
- const managed = yield* Service44;
185
- const config = yield* Service59;
184
+ const managed = yield* Service70;
185
+ const config = yield* Service62;
186
186
  const scope = yield* Scope.Scope;
187
187
  const loading = Semaphore.makeUnsafe(1);
188
188
  let snapshot = { remote: undefined, connection: undefined, organization: undefined };
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
204
204
  if (!credential || credential.type === "external")
205
205
  return Effect.succeed({ remote: undefined, connection, organization: undefined });
206
206
  return fetchConfig(http, credential).pipe(Effect.map((remote) => ({
207
- remote: remote?.type === "legacy" ? make4(remote.response, headers2(credential)) : remote,
207
+ remote: remote?.type === "legacy" ? make9(remote.response, headers2(credential)) : remote,
208
208
  connection,
209
209
  organization: organizationName(credential)
210
210
  })));
@@ -218,16 +218,16 @@ var OpencodePlugin2 = define({
218
218
  });
219
219
  let integrated;
220
220
  const integrate = Effect.fnUntraced(function* (document) {
221
- yield* config.integration?.(ID9.make("opencode"), document) ?? Effect.void;
222
- integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID9.make("opencode"));
221
+ yield* config.integration?.(ID14.make("opencode"), document) ?? Effect.void;
222
+ integrated = (yield* config.entries()).find((entry) => entry instanceof Document2 && entry.integrationID === ID14.make("opencode"));
223
223
  });
224
224
  const publish = Effect.fnUntraced(function* (next) {
225
225
  switch (next.remote?.type) {
226
226
  case "config":
227
227
  yield* managed.set({ statements: [], organization: next.organization });
228
- return yield* integrate(next.connection && make18({
229
- integrationID: ID9.make("opencode"),
230
- connection: next.connection.type === "credential" ? { ...next.connection, id: ID10.make(next.connection.id) } : next.connection,
228
+ return yield* integrate(next.connection && make21({
229
+ integrationID: ID14.make("opencode"),
230
+ connection: next.connection.type === "credential" ? { ...next.connection, id: ID16.make(next.connection.id) } : next.connection,
231
231
  organization: next.organization,
232
232
  info: next.remote.info
233
233
  }));
@@ -254,7 +254,7 @@ var OpencodePlugin2 = define({
254
254
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
255
255
  const token = credential.type === "oauth" ? credential.access : credential.key;
256
256
  const server = yield* normalizeServer(server2(credential));
257
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input15)({
257
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
258
258
  query: input.query,
259
259
  providerID
260
260
  }));
@@ -277,13 +277,13 @@ var OpencodePlugin2 = define({
277
277
  });
278
278
  snapshot = yield* load();
279
279
  yield* publish(snapshot);
280
- yield* register2(ctx, () => snapshot, search);
280
+ yield* register3(ctx, () => snapshot, search);
281
281
  yield* ctx.provider.transform((providers) => {
282
282
  if (integrated)
283
283
  integrate2(providers, integrated);
284
284
  });
285
285
  yield* ctx.provider.transform((providers) => {
286
- const item = providers.get(ID8.opencode);
286
+ const item = providers.get(ID13.opencode);
287
287
  if (!item)
288
288
  return;
289
289
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -295,7 +295,7 @@ var OpencodePlugin2 = define({
295
295
  });
296
296
  });
297
297
  yield* ctx.model.transform((models) => {
298
- const item = models.provider.get(ID8.opencode);
298
+ const item = models.provider.get(ID13.opencode);
299
299
  if (!item)
300
300
  return;
301
301
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
@@ -311,7 +311,7 @@ var OpencodePlugin2 = define({
311
311
  });
312
312
  yield* ctx.websearch.transform((editor) => {
313
313
  if (snapshot.remote?.type === "config" && snapshot.connection)
314
- editor.add(search(ID13.make("opencode"), snapshot.connection));
314
+ editor.add(search(ID4.make("opencode"), snapshot.connection));
315
315
  });
316
316
  const apply = Effect.fn("OpencodePlugin.apply")(function* (next) {
317
317
  snapshot = next;
@@ -348,7 +348,7 @@ var OpencodePlugin2 = define({
348
348
  const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
349
349
  yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
350
350
  explainers = yield* Effect.forEach(next.connection ? new Set([
351
- ID8.opencode,
351
+ ID13.opencode,
352
352
  ...next.remote?.type === "config" ? Object.keys(next.remote.info.providers ?? {}) : providerIDs2(next.remote)
353
353
  ]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
354
354
  });
@@ -361,7 +361,7 @@ var OpencodePlugin2 = define({
361
361
  onlyIfMissing: true
362
362
  });
363
363
  });
364
- yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
364
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
365
365
  yield* poll();
366
366
  })
367
367
  });
@@ -384,7 +384,7 @@ function fetchConfig(http, value) {
384
384
  }
385
385
  const body = yield* HttpClientResponse.filterStatusOk(response).pipe(Effect.flatMap((ok) => ok.json));
386
386
  if (Predicate.hasProperty(body, "$schema"))
387
- return { type: "config", info: yield* Schema.decodeUnknownEffect(Remote2)(body) };
387
+ return { type: "config", info: yield* Schema.decodeUnknownEffect(Remote3)(body) };
388
388
  return { type: "legacy", response: yield* Schema.decodeUnknownEffect(Response2)(body) };
389
389
  })), Effect.scoped);
390
390
  }