@opencode/core 0.0.0-dev-21392 → 0.0.0-dev-21406

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 (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{formatter-48xtr7v6.js → agent-06anjssm.js} +335 -335
  8. package/dist/chunks/{formatter-wbzwmc3s.js → agent-0bxh5w1j.js} +15 -15
  9. package/dist/chunks/{formatter-c7870f8j.js → agent-0e3fqjja.js} +4 -4
  10. package/dist/chunks/{formatter-0vbcp93d.js → agent-0emb60td.js} +2 -2
  11. package/dist/chunks/{formatter-cdr0bft1.js → agent-0h9t1hvk.js} +20 -20
  12. package/dist/chunks/{formatter-e7rccypw.js → agent-0j86m4bq.js} +11 -11
  13. package/dist/chunks/{formatter-4ztm1dwq.js → agent-0mxkd3yj.js} +27 -27
  14. package/dist/chunks/{formatter-zatp38ja.js → agent-0rn1xwp2.js} +20 -20
  15. package/dist/chunks/{formatter-fymchyqc.js → agent-0xg80fyc.js} +38 -38
  16. package/dist/chunks/{formatter-vff2t4sd.js → agent-19ewsxs1.js} +13 -13
  17. package/dist/chunks/{formatter-1ep4rre3.js → agent-1ep4rre3.js} +1 -1
  18. package/dist/chunks/{formatter-1dqwv4xz.js → agent-1k0445q3.js} +3 -3
  19. package/dist/chunks/{formatter-7h1s51rg.js → agent-1r4j4yg9.js} +6 -6
  20. package/dist/chunks/{formatter-m6tg8cvf.js → agent-2105cad3.js} +20 -20
  21. package/dist/chunks/{formatter-2t5kspa8.js → agent-24k0zg7j.js} +29 -29
  22. package/dist/chunks/{formatter-eq20ba7x.js → agent-258tza17.js} +6 -6
  23. package/dist/chunks/{formatter-j36tartk.js → agent-25pr2p8h.js} +15 -15
  24. package/dist/chunks/{formatter-xz5qfsyk.js → agent-2806g74y.js} +21 -21
  25. package/dist/chunks/{formatter-bjmt3h04.js → agent-2ktf0ed2.js} +8 -8
  26. package/dist/chunks/{formatter-zpbe67hm.js → agent-2ns3sh3v.js} +24 -24
  27. package/dist/chunks/{formatter-7axppv82.js → agent-2r33jwsv.js} +17 -17
  28. package/dist/chunks/{formatter-3x0caamk.js → agent-2sjbdn5v.js} +3 -3
  29. package/dist/chunks/{formatter-w5s77ef3.js → agent-2yj9p1ch.js} +16 -16
  30. package/dist/chunks/{formatter-h7rfpq6m.js → agent-311a602a.js} +11 -11
  31. package/dist/chunks/{formatter-shmwxvy1.js → agent-3d0wbggw.js} +29 -29
  32. package/dist/chunks/{formatter-yje6jw03.js → agent-3dkckj9q.js} +11 -11
  33. package/dist/chunks/{formatter-x3jwdb4s.js → agent-3f7b88yc.js} +3 -3
  34. package/dist/chunks/{formatter-j0cjqqwg.js → agent-3fsbjx5g.js} +11 -11
  35. package/dist/chunks/{formatter-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{formatter-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
  37. package/dist/chunks/{formatter-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  38. package/dist/chunks/{formatter-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{formatter-qpw7yjkd.js → agent-3vq2z5ky.js} +21 -21
  40. package/dist/chunks/{formatter-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{formatter-9ndbgc6k.js → agent-413rtwqn.js} +26 -26
  42. package/dist/chunks/{formatter-evjrq80r.js → agent-41fs7rd0.js} +5 -5
  43. package/dist/chunks/{formatter-qne3fa44.js → agent-43kvem2p.js} +5 -5
  44. package/dist/chunks/{formatter-my4zabxr.js → agent-48kw51zw.js} +3 -3
  45. package/dist/chunks/{formatter-p5cnvvf0.js → agent-4errqqkt.js} +32 -32
  46. package/dist/chunks/{formatter-03a4g52y.js → agent-4k34fdzq.js} +22 -22
  47. package/dist/chunks/{formatter-qwshjc6z.js → agent-4vfzemd0.js} +25 -25
  48. package/dist/chunks/{formatter-hwf75tpx.js → agent-4yhgmfzd.js} +11 -11
  49. package/dist/chunks/{formatter-2tt4hb31.js → agent-51136wbh.js} +12 -12
  50. package/dist/chunks/{formatter-mps0c7s2.js → agent-52wp07n9.js} +13 -13
  51. package/dist/chunks/{formatter-54ma36ye.js → agent-54ma36ye.js} +1 -1
  52. package/dist/chunks/{formatter-wndqc9p6.js → agent-5acs8yhy.js} +27 -27
  53. package/dist/chunks/{formatter-dx026yb4.js → agent-5g0489kz.js} +1 -1
  54. package/dist/chunks/{formatter-acaqsx4n.js → agent-5hrhvvkv.js} +12 -12
  55. package/dist/chunks/{formatter-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{formatter-rah0dq0h.js → agent-5n7p33rt.js} +21 -21
  57. package/dist/chunks/{formatter-e3qxr5gk.js → agent-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{formatter-9b448ax0.js → agent-5ska0mvd.js} +9 -9
  59. package/dist/chunks/{formatter-e60vjj5z.js → agent-5sr1d0gb.js} +14 -14
  60. package/dist/chunks/{formatter-c7150t1z.js → agent-5t6265c7.js} +4 -4
  61. package/dist/chunks/{formatter-9bqzpq7d.js → agent-5t93s459.js} +19 -19
  62. package/dist/chunks/{formatter-gza18a40.js → agent-5yetjxfm.js} +47 -47
  63. package/dist/chunks/{formatter-ea2vfst1.js → agent-648rfa8c.js} +9 -9
  64. package/dist/chunks/{formatter-207xakxm.js → agent-64zrm0g5.js} +32 -32
  65. package/dist/chunks/{formatter-ndat9tjt.js → agent-67yefhx6.js} +13 -13
  66. package/dist/chunks/{formatter-6827pfxn.js → agent-6827pfxn.js} +1 -1
  67. package/dist/chunks/{formatter-qa3qhgw8.js → agent-6hh8tjw2.js} +4 -4
  68. package/dist/chunks/{formatter-e0k6mxb7.js → agent-6rzpq3dm.js} +12 -12
  69. package/dist/chunks/{formatter-xhgwb0a7.js → agent-6vmcxv92.js} +41 -41
  70. package/dist/chunks/{formatter-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
  71. package/dist/chunks/{formatter-0hh9e3cp.js → agent-6ytgs7sy.js} +16 -16
  72. package/dist/chunks/{formatter-zhdvkzcb.js → agent-6ztqc8am.js} +29 -29
  73. package/dist/chunks/{formatter-rwjvhq8w.js → agent-769tdh5t.js} +9 -9
  74. package/dist/chunks/{formatter-rgdzzcd3.js → agent-77590sxh.js} +32 -32
  75. package/dist/chunks/{formatter-775gj3j1.js → agent-775gj3j1.js} +2 -2
  76. package/dist/chunks/{formatter-wb756fwd.js → agent-785qcqx9.js} +60 -60
  77. package/dist/chunks/{formatter-4xf6gzbg.js → agent-7b3yybgh.js} +28 -28
  78. package/dist/chunks/{formatter-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{formatter-52fpbh6z.js → agent-7j2qha59.js} +8 -8
  80. package/dist/chunks/{formatter-g469667k.js → agent-7j94r4am.js} +11 -11
  81. package/dist/chunks/{formatter-66scf1c9.js → agent-7peb95f4.js} +15 -15
  82. package/dist/chunks/{formatter-m2b6v9cc.js → agent-7qr8wxzf.js} +11 -11
  83. package/dist/chunks/{formatter-g72yd4k4.js → agent-7styb3mj.js} +12 -12
  84. package/dist/chunks/{formatter-nsgwrahz.js → agent-7tsk134r.js} +43 -43
  85. package/dist/chunks/{formatter-12as4h19.js → agent-80dnw97j.js} +15 -15
  86. package/dist/chunks/{formatter-591k0ca8.js → agent-83wmws4f.js} +5 -5
  87. package/dist/chunks/{formatter-84txncab.js → agent-84txncab.js} +1 -1
  88. package/dist/chunks/{formatter-jmx6489n.js → agent-87e86qhn.js} +11 -11
  89. package/dist/chunks/{formatter-wvj7cnyt.js → agent-89rmaqwz.js} +24 -24
  90. package/dist/chunks/{formatter-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
  91. package/dist/chunks/{formatter-8mywswrd.js → agent-8mywswrd.js} +1 -1
  92. package/dist/chunks/{formatter-dy97ep12.js → agent-8nwjdb3a.js} +14 -14
  93. package/dist/chunks/{formatter-f50eyg8v.js → agent-8rfkbrwf.js} +20 -20
  94. package/dist/chunks/{formatter-yhw0m8m4.js → agent-8vn1y58j.js} +39 -39
  95. package/dist/chunks/{formatter-dabs0qn1.js → agent-8zw1ss66.js} +15 -15
  96. package/dist/chunks/{formatter-ng238368.js → agent-990hmman.js} +5 -5
  97. package/dist/chunks/{formatter-vzd3epzm.js → agent-9j735w9d.js} +4 -4
  98. package/dist/chunks/{formatter-dac2kt8h.js → agent-9pfmptwy.js} +4 -4
  99. package/dist/chunks/{formatter-q6q0sxqr.js → agent-9x2418wc.js} +33 -33
  100. package/dist/chunks/{formatter-9zdhvgqs.js → agent-9zdhvgqs.js} +1 -1
  101. package/dist/chunks/{formatter-7v6vae4w.js → agent-a20pjse5.js} +3 -3
  102. package/dist/chunks/{formatter-bhrt6xes.js → agent-adarn49r.js} +34 -34
  103. package/dist/chunks/{formatter-1f8s6g2y.js → agent-arkvwkjz.js} +21 -21
  104. package/dist/chunks/{formatter-71qjp82d.js → agent-avafw0st.js} +8 -8
  105. package/dist/chunks/{formatter-addxnjmp.js → agent-azwe5p1w.js} +4 -4
  106. package/dist/chunks/{formatter-m3gtzfpz.js → agent-b0eyz8c6.js} +74 -74
  107. package/dist/chunks/{formatter-vgddb4br.js → agent-b32gwffb.js} +13 -13
  108. package/dist/chunks/{formatter-7q61fgya.js → agent-b42w3z1p.js} +46 -46
  109. package/dist/chunks/{formatter-ttqh24zm.js → agent-baaqp4zd.js} +4 -4
  110. package/dist/chunks/{formatter-nnvp4sy0.js → agent-bhxykftm.js} +18 -18
  111. package/dist/chunks/{formatter-ywt8jp22.js → agent-bjx1sjef.js} +9 -9
  112. package/dist/chunks/{formatter-vtfh2wmn.js → agent-bk5jw64x.js} +20 -20
  113. package/dist/chunks/{formatter-g156pxgg.js → agent-bqm60g8j.js} +11 -11
  114. package/dist/chunks/{formatter-c30vtaq3.js → agent-c0k7v243.js} +16 -16
  115. package/dist/chunks/{formatter-skh6161j.js → agent-c0t9grq8.js} +8 -8
  116. package/dist/chunks/{formatter-rj3eygr5.js → agent-c41wscbt.js} +2 -2
  117. package/dist/chunks/{formatter-9x7ygf2s.js → agent-c5zgdys3.js} +11 -11
  118. package/dist/chunks/{formatter-sa8ekw3f.js → agent-c8ax2afj.js} +2 -2
  119. package/dist/chunks/{formatter-jp06e1ry.js → agent-chebftdj.js} +23 -23
  120. package/dist/chunks/{formatter-6yz0wx8n.js → agent-cxbh1760.js} +5 -5
  121. package/dist/chunks/{formatter-x53ej1ch.js → agent-d2agymww.js} +14 -14
  122. package/dist/chunks/{formatter-nebafht2.js → agent-dbwwhbac.js} +5 -5
  123. package/dist/chunks/{formatter-782zrs06.js → agent-dhb2hta4.js} +5 -5
  124. package/dist/chunks/{formatter-y71avatq.js → agent-dpkg50ah.js} +4 -4
  125. package/dist/chunks/{formatter-57b9ws8p.js → agent-drwq78ky.js} +5 -5
  126. package/dist/chunks/{formatter-g686f6pq.js → agent-dx93tj1b.js} +9 -9
  127. package/dist/chunks/{formatter-w5yqftge.js → agent-dzse07y5.js} +6 -6
  128. package/dist/chunks/{formatter-5g57z1ma.js → agent-e7gxy7fd.js} +4 -4
  129. package/dist/chunks/{formatter-nnfjp428.js → agent-e8ene3dj.js} +1 -1
  130. package/dist/chunks/{formatter-zweka6s4.js → agent-e9zedmrt.js} +17 -17
  131. package/dist/chunks/{formatter-0gdmqesm.js → agent-eaj1djv9.js} +8 -8
  132. package/dist/chunks/{formatter-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
  133. package/dist/chunks/{formatter-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  134. package/dist/chunks/{formatter-etpbkqk8.js → agent-ef7ha0bw.js} +55 -55
  135. package/dist/chunks/{formatter-5267tvv5.js → agent-ekgsfedd.js} +178 -178
  136. package/dist/chunks/{formatter-c1fqxshp.js → agent-es1vcfrp.js} +3 -3
  137. package/dist/chunks/{formatter-jsvh4qyv.js → agent-ewpt59p9.js} +22 -22
  138. package/dist/chunks/{formatter-9sz3mafc.js → agent-f8a3nfk1.js} +4 -4
  139. package/dist/chunks/{formatter-9m812q0s.js → agent-fb5vvrxc.js} +48 -48
  140. package/dist/chunks/{formatter-7dqw4kz8.js → agent-fcrkznn8.js} +5 -5
  141. package/dist/chunks/{formatter-fcy631f0.js → agent-fcy631f0.js} +1 -1
  142. package/dist/chunks/{formatter-svj0spk4.js → agent-fdx5estd.js} +7 -7
  143. package/dist/chunks/{formatter-0e537ntp.js → agent-fpqdxcxh.js} +31 -31
  144. package/dist/chunks/{formatter-s0vr04sn.js → agent-fpvfk2w9.js} +2 -2
  145. package/dist/chunks/{formatter-n79dtyxs.js → agent-frvft4h3.js} +35 -35
  146. package/dist/chunks/{formatter-1bsjc9n6.js → agent-fs86bht4.js} +14 -14
  147. package/dist/chunks/{formatter-djszqvmq.js → agent-ft3hqk2c.js} +9 -9
  148. package/dist/chunks/{formatter-ztxyq4sb.js → agent-fyt5qzsq.js} +45 -45
  149. package/dist/chunks/{formatter-phstrbs2.js → agent-g0445xdp.js} +8 -8
  150. package/dist/chunks/{formatter-yg28k4yt.js → agent-ga7ghyrz.js} +7 -7
  151. package/dist/chunks/{formatter-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  152. package/dist/chunks/{formatter-5e15319b.js → agent-gfhhve88.js} +5 -5
  153. package/dist/chunks/{formatter-cjvs8nm0.js → agent-gk8a4wxr.js} +4 -4
  154. package/dist/chunks/{formatter-6nhw7bek.js → agent-gkt49qec.js} +9 -9
  155. package/dist/chunks/{formatter-pg8h3g1h.js → agent-gskka0f2.js} +3 -3
  156. package/dist/chunks/{formatter-5da84fyn.js → agent-gvyg44wk.js} +12 -12
  157. package/dist/chunks/{formatter-b8rtwnd0.js → agent-h16h8dr2.js} +30 -30
  158. package/dist/chunks/{formatter-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{formatter-wpyry23p.js → agent-h7p9ang8.js} +16 -16
  160. package/dist/chunks/{formatter-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
  161. package/dist/chunks/{formatter-khmqacep.js → agent-hq3c8me3.js} +4 -4
  162. package/dist/chunks/{formatter-ny52h6m3.js → agent-hzvmf2xy.js} +43 -43
  163. package/dist/chunks/{formatter-vqhszpse.js → agent-j3yj9s0t.js} +47 -47
  164. package/dist/chunks/{formatter-9b2n24s7.js → agent-ja4zcwdc.js} +13 -13
  165. package/dist/chunks/{formatter-00v4729r.js → agent-jeapw6wp.js} +45 -45
  166. package/dist/chunks/{formatter-ve88pny4.js → agent-jekssrtq.js} +8 -8
  167. package/dist/chunks/{formatter-6w29jvcz.js → agent-jsxyagrf.js} +7 -7
  168. package/dist/chunks/{formatter-jqr3gjjx.js → agent-kdbj1bp6.js} +33 -33
  169. package/dist/chunks/{formatter-9hrvxxbn.js → agent-ke0h2g6m.js} +2 -2
  170. package/dist/chunks/{formatter-e3yv1c9p.js → agent-kfy1bhn0.js} +9 -9
  171. package/dist/chunks/{formatter-q7pgc5s2.js → agent-kr5tz9tg.js} +13 -13
  172. package/dist/chunks/{formatter-z8v7gvjr.js → agent-krkmjgqt.js} +4 -4
  173. package/dist/chunks/{formatter-hx84edxk.js → agent-kv09cb3a.js} +27 -27
  174. package/dist/chunks/{formatter-9k5nd582.js → agent-kv4cnfdg.js} +11 -11
  175. package/dist/chunks/{formatter-kwb1v3vj.js → agent-kwb1v3vj.js} +1 -1
  176. package/dist/chunks/{formatter-jenyss2j.js → agent-m932xw4h.js} +92 -92
  177. package/dist/chunks/{formatter-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{formatter-maspj1v3.js → agent-maspj1v3.js} +1 -1
  179. package/dist/chunks/{formatter-qbfpb1f0.js → agent-mfqd2w1w.js} +11 -11
  180. package/dist/chunks/{formatter-94pxtz7z.js → agent-mfr6y76k.js} +32 -32
  181. package/dist/chunks/{formatter-mcx07ywn.js → agent-mpt2r5zq.js} +20 -20
  182. package/dist/chunks/{formatter-kqv3x6rj.js → agent-mqqhst8y.js} +9 -9
  183. package/dist/chunks/{formatter-h2kyp2k8.js → agent-mv1ymdtg.js} +19 -19
  184. package/dist/chunks/{formatter-0p9mfh2n.js → agent-myq0d0f8.js} +46 -46
  185. package/dist/chunks/{formatter-bmbcx8rq.js → agent-n0mggk70.js} +14 -14
  186. package/dist/chunks/{formatter-dfas0t5m.js → agent-nd8yk64t.js} +21 -21
  187. package/dist/chunks/{formatter-tqqz4vd3.js → agent-nm12rwgq.js} +37 -37
  188. package/dist/chunks/{formatter-ehhzjzg9.js → agent-npqh6ge9.js} +25 -25
  189. package/dist/chunks/{formatter-qeerce1j.js → agent-nt7xys9a.js} +6 -6
  190. package/dist/chunks/{formatter-rfjqb3at.js → agent-nxh1x0e6.js} +4 -4
  191. package/dist/chunks/{formatter-atw0nmwb.js → agent-p11y68zd.js} +103 -92
  192. package/dist/chunks/{formatter-1trtmymx.js → agent-p34jt0r0.js} +9 -9
  193. package/dist/chunks/{formatter-h773d6ye.js → agent-patgj9rf.js} +9 -9
  194. package/dist/chunks/{formatter-zc5eqfjp.js → agent-pem2t63f.js} +27 -27
  195. package/dist/chunks/{formatter-ce8h3b7e.js → agent-ph7nwd8c.js} +18 -18
  196. package/dist/chunks/{formatter-jewzahs7.js → agent-ph842b28.js} +4 -4
  197. package/dist/chunks/{formatter-203zgaw2.js → agent-phs0t85n.js} +21 -21
  198. package/dist/chunks/{formatter-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{formatter-pknna89w.js → agent-pknna89w.js} +1 -1
  200. package/dist/chunks/{formatter-s1kvmffy.js → agent-prq7hedt.js} +9 -9
  201. package/dist/chunks/{formatter-qqnq3pfw.js → agent-pxs39pc3.js} +11 -11
  202. package/dist/chunks/{formatter-wae706r8.js → agent-q2n0rt41.js} +27 -27
  203. package/dist/chunks/{formatter-b62ge4zn.js → agent-q8wzy7az.js} +20 -20
  204. package/dist/chunks/{formatter-3fwp5q7a.js → agent-qazp8rf3.js} +11 -11
  205. package/dist/chunks/{formatter-p4d6c50e.js → agent-qkq2g0a5.js} +24 -24
  206. package/dist/chunks/{formatter-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
  207. package/dist/chunks/{formatter-qsdy395h.js → agent-qsdy395h.js} +1 -1
  208. package/dist/chunks/{formatter-e56fapwx.js → agent-qy5x06df.js} +14 -14
  209. package/dist/chunks/{formatter-cfmd5k4e.js → agent-r061574r.js} +11 -11
  210. package/dist/chunks/{formatter-e80seqcp.js → agent-r2z489rp.js} +3 -3
  211. package/dist/chunks/{formatter-zjtex0m8.js → agent-r3dq8634.js} +19 -19
  212. package/dist/chunks/{formatter-p2wc8by9.js → agent-r66ezcem.js} +5 -5
  213. package/dist/chunks/{formatter-n0vd09xy.js → agent-r8fetm84.js} +25 -25
  214. package/dist/chunks/{formatter-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{formatter-3cs8vskg.js → agent-rfw5rhm2.js} +28 -28
  216. package/dist/chunks/{formatter-1p07q0wb.js → agent-rkprpv83.js} +4 -4
  217. package/dist/chunks/{formatter-v210v162.js → agent-rm4mkcw0.js} +2 -2
  218. package/dist/chunks/{formatter-xz5yaecw.js → agent-rm9y9bjp.js} +5 -5
  219. package/dist/chunks/{formatter-9amzje03.js → agent-rt4fnzs6.js} +31 -31
  220. package/dist/chunks/{formatter-h9dtrat0.js → agent-rwf1b84d.js} +23 -23
  221. package/dist/chunks/{formatter-tab66rh2.js → agent-s0tzm455.js} +21 -21
  222. package/dist/chunks/{formatter-cs38p47h.js → agent-s7mka24n.js} +10 -10
  223. package/dist/chunks/{formatter-yrtpa8wx.js → agent-skj0g5v1.js} +22 -22
  224. package/dist/chunks/{formatter-f7x62ryq.js → agent-swa3405n.js} +11 -11
  225. package/dist/chunks/{formatter-syv4x271.js → agent-syv4x271.js} +1 -1
  226. package/dist/chunks/{formatter-8byytgyx.js → agent-szjae43c.js} +17 -17
  227. package/dist/chunks/{formatter-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{formatter-d732h4n9.js → agent-tc1y46p2.js} +50 -50
  229. package/dist/chunks/{formatter-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{formatter-tdstcens.js → agent-tdstcens.js} +1 -1
  231. package/dist/chunks/agent-tf3jhtnp.js +26 -0
  232. package/dist/chunks/{formatter-rert0e01.js → agent-tkb22qbm.js} +2 -2
  233. package/dist/chunks/{formatter-tm0kqsz3.js → agent-tm0kqsz3.js} +1 -1
  234. package/dist/chunks/{formatter-yj7k2rcj.js → agent-tt3gk2hg.js} +6 -6
  235. package/dist/chunks/{formatter-395q6j9z.js → agent-tt8gc4fv.js} +6 -6
  236. package/dist/chunks/{formatter-xbh68ncd.js → agent-ttk95yaa.js} +2 -2
  237. package/dist/chunks/{formatter-251hxpd6.js → agent-txyw6bh0.js} +2 -2
  238. package/dist/chunks/{formatter-5mft05pe.js → agent-tyvgjd0d.js} +5 -5
  239. package/dist/chunks/{formatter-tyytaxap.js → agent-tyytaxap.js} +1 -1
  240. package/dist/chunks/{formatter-nz56sr1f.js → agent-v13b12ef.js} +5 -5
  241. package/dist/chunks/{formatter-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
  242. package/dist/chunks/{formatter-espax8zg.js → agent-v7z2bvyd.js} +4 -4
  243. package/dist/chunks/agent-v8w58kqh.js +257 -0
  244. package/dist/chunks/{formatter-veqvce7d.js → agent-veqvce7d.js} +1 -1
  245. package/dist/chunks/{formatter-7e4pefvc.js → agent-vhmbycym.js} +11 -11
  246. package/dist/chunks/{formatter-4wqt7het.js → agent-vqawp4fr.js} +24 -24
  247. package/dist/chunks/{formatter-r5wrwntj.js → agent-vtccvqmx.js} +8 -8
  248. package/dist/chunks/{formatter-zra002vw.js → agent-vxyj8dbg.js} +8 -8
  249. package/dist/chunks/{formatter-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{formatter-1y9xp183.js → agent-w1d288hs.js} +11 -11
  251. package/dist/chunks/{formatter-t7xww937.js → agent-w3prdgep.js} +22 -22
  252. package/dist/chunks/{formatter-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{formatter-j35vv7b5.js → agent-wb348f7j.js} +14 -14
  254. package/dist/chunks/{formatter-9dmgeva7.js → agent-wbr94c2z.js} +14 -14
  255. package/dist/chunks/{formatter-7td3bf7z.js → agent-wcb0e0c5.js} +32 -32
  256. package/dist/chunks/{formatter-wd87259q.js → agent-wd87259q.js} +1 -1
  257. package/dist/chunks/{formatter-2dw5dn9g.js → agent-wdvgmdgr.js} +11 -11
  258. package/dist/chunks/{formatter-1tpad9e7.js → agent-wkywfvx2.js} +34 -34
  259. package/dist/chunks/{formatter-yy3kg1fv.js → agent-wrj35e6x.js} +25 -25
  260. package/dist/chunks/{formatter-9qj6r5f0.js → agent-wsktzrj4.js} +21 -21
  261. package/dist/chunks/{formatter-s5qwk0zt.js → agent-wz92t8pf.js} +17 -17
  262. package/dist/chunks/{formatter-3wfk8mje.js → agent-x1gzjej3.js} +26 -26
  263. package/dist/chunks/{formatter-dqkkx36v.js → agent-x8sfg8by.js} +4 -4
  264. package/dist/chunks/{formatter-dg5rqj0n.js → agent-xayeaa42.js} +11 -11
  265. package/dist/chunks/{formatter-8461pshg.js → agent-xczw7yg4.js} +19 -19
  266. package/dist/chunks/{formatter-zwry6xz6.js → agent-xnjezwp4.js} +6 -6
  267. package/dist/chunks/{formatter-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{formatter-8ctfqkqg.js → agent-y38n4jcf.js} +13 -13
  269. package/dist/chunks/{formatter-makk65js.js → agent-y87j8r2r.js} +6 -6
  270. package/dist/chunks/{formatter-k5t508je.js → agent-y8w5cv04.js} +31 -31
  271. package/dist/chunks/{formatter-p9gv02yh.js → agent-ytcwff8w.js} +12 -12
  272. package/dist/chunks/{formatter-8ww2gede.js → agent-yw5dp6ck.js} +8 -8
  273. package/dist/chunks/{formatter-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{formatter-fww2ha2b.js → agent-z0y78ctd.js} +10 -10
  275. package/dist/chunks/{formatter-z18fegx4.js → agent-z18fegx4.js} +1 -1
  276. package/dist/chunks/{formatter-nj4dn6eg.js → agent-z9vmg6yp.js} +29 -29
  277. package/dist/chunks/{formatter-s94jvcwp.js → agent-zktsegv2.js} +3 -3
  278. package/dist/chunks/{formatter-8qsxj3by.js → agent-zmr2d85t.js} +20 -20
  279. package/dist/chunks/{formatter-v9g0pqb4.js → agent-znsyjbg0.js} +18 -18
  280. package/dist/chunks/{formatter-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{formatter-5d5n4d4j.js → agent-zrnfzdm4.js} +15 -15
  282. package/dist/chunks/{formatter-jmb2kt53.js → agent-ztbcatd2.js} +5 -5
  283. package/dist/chunks/{formatter-10r957wz.js → agent-zv1ky7bp.js} +13 -13
  284. package/dist/chunks/{formatter-bbbvx8fy.js → agent-zxck4pyt.js} +20 -20
  285. package/dist/chunks/{formatter-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  286. package/dist/chunks/{formatter-pg10y3ka.js → agent-zy7kxqpe.js} +18 -18
  287. package/dist/chunks/{formatter-jn753vst.js → agent-zzw58bf3.js} +8 -8
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +83 -83
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +118 -118
  297. package/dist/config/plugin/command.js +208 -208
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +125 -125
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +138 -138
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +72 -72
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +81 -81
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +3 -3
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +106 -106
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +86 -86
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +158 -158
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +83 -83
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +109 -109
  473. package/dist/mcp/instructions.js +127 -127
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +98 -98
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +119 -119
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +78 -78
  492. package/dist/plugin/command.js +104 -104
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +125 -125
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +78 -78
  542. package/dist/plugin/service.js +1 -1
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +351 -351
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +6 -6
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +221 -221
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +82 -82
  563. package/dist/provider.js +103 -103
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +91 -91
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +136 -136
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +218 -218
  584. package/dist/session/execution.js +129 -129
  585. package/dist/session/generate.js +155 -155
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +97 -97
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +81 -81
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +5 -5
  608. package/dist/session/runner/step.js +128 -128
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +77 -77
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -206
  619. package/dist/session/system-prompt.js +3 -3
  620. package/dist/session/title.js +159 -159
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +214 -214
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +210 -210
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +107 -107
  632. package/dist/skill.js +110 -110
  633. package/dist/snapshot.js +93 -93
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +126 -126
  638. package/dist/tool/plugin/edit.js +120 -120
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +118 -118
  641. package/dist/tool/plugin/grep.js +126 -126
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +107 -107
  646. package/dist/tool/plugin/read.js +125 -125
  647. package/dist/tool/plugin/shell.js +209 -209
  648. package/dist/tool/plugin/skill.js +111 -111
  649. package/dist/tool/plugin/subagent.js +213 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +108 -108
  652. package/dist/tool/plugin/websearch.js +114 -114
  653. package/dist/tool/plugin/write.js +122 -122
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +12 -12
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +93 -93
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +86 -86
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +81 -81
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +100 -100
  691. package/package.json +8 -8
  692. package/dist/chunks/formatter-dcebnfa2.js +0 -26
  693. package/dist/chunks/formatter-s979kwnv.js +0 -257
  694. /package/dist/chunks/{formatter-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{formatter-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{formatter-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{formatter-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{formatter-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{formatter-24dcb14g.js → agent-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{formatter-2710q6r3.js → agent-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{formatter-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{formatter-2bv980vf.js → agent-2bv980vf.js} +0 -0
  703. /package/dist/chunks/{formatter-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  704. /package/dist/chunks/{formatter-359p4xyc.js → agent-359p4xyc.js} +0 -0
  705. /package/dist/chunks/{formatter-3asan66x.js → agent-3asan66x.js} +0 -0
  706. /package/dist/chunks/{formatter-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
  707. /package/dist/chunks/{formatter-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{formatter-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  709. /package/dist/chunks/{formatter-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  710. /package/dist/chunks/{formatter-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  711. /package/dist/chunks/{formatter-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  712. /package/dist/chunks/{formatter-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  713. /package/dist/chunks/{formatter-53557ph1.js → agent-53557ph1.js} +0 -0
  714. /package/dist/chunks/{formatter-550bvhaj.js → agent-550bvhaj.js} +0 -0
  715. /package/dist/chunks/{formatter-6prwharc.js → agent-6prwharc.js} +0 -0
  716. /package/dist/chunks/{formatter-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
  717. /package/dist/chunks/{formatter-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{formatter-7m9af43g.js → agent-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{formatter-822emrt2.js → agent-822emrt2.js} +0 -0
  720. /package/dist/chunks/{formatter-84wd9syh.js → agent-84wd9syh.js} +0 -0
  721. /package/dist/chunks/{formatter-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  722. /package/dist/chunks/{formatter-8n3pysct.js → agent-8n3pysct.js} +0 -0
  723. /package/dist/chunks/{formatter-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  724. /package/dist/chunks/{formatter-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  725. /package/dist/chunks/{formatter-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  726. /package/dist/chunks/{formatter-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  727. /package/dist/chunks/{formatter-af5trqkr.js → agent-af5trqkr.js} +0 -0
  728. /package/dist/chunks/{formatter-afrmfg78.js → agent-afrmfg78.js} +0 -0
  729. /package/dist/chunks/{formatter-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  730. /package/dist/chunks/{formatter-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  731. /package/dist/chunks/{formatter-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  732. /package/dist/chunks/{formatter-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  733. /package/dist/chunks/{formatter-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  734. /package/dist/chunks/{formatter-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  735. /package/dist/chunks/{formatter-d9fn303g.js → agent-d9fn303g.js} +0 -0
  736. /package/dist/chunks/{formatter-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  737. /package/dist/chunks/{formatter-dajrwvna.js → agent-dajrwvna.js} +0 -0
  738. /package/dist/chunks/{formatter-dap0rakb.js → agent-dap0rakb.js} +0 -0
  739. /package/dist/chunks/{formatter-df08tz66.js → agent-df08tz66.js} +0 -0
  740. /package/dist/chunks/{formatter-dy18nga0.js → agent-dy18nga0.js} +0 -0
  741. /package/dist/chunks/{formatter-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  742. /package/dist/chunks/{formatter-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  743. /package/dist/chunks/{formatter-ec1grn59.js → agent-ec1grn59.js} +0 -0
  744. /package/dist/chunks/{formatter-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  745. /package/dist/chunks/{formatter-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  746. /package/dist/chunks/{formatter-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  747. /package/dist/chunks/{formatter-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  748. /package/dist/chunks/{formatter-faypxj3z.js → agent-faypxj3z.js} +0 -0
  749. /package/dist/chunks/{formatter-fd410y7t.js → agent-fd410y7t.js} +0 -0
  750. /package/dist/chunks/{formatter-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{formatter-g86h250q.js → agent-g86h250q.js} +0 -0
  752. /package/dist/chunks/{formatter-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{formatter-gftt206x.js → agent-gftt206x.js} +0 -0
  754. /package/dist/chunks/{formatter-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
  755. /package/dist/chunks/{formatter-hk9envan.js → agent-hk9envan.js} +0 -0
  756. /package/dist/chunks/{formatter-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{formatter-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{formatter-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  759. /package/dist/chunks/{formatter-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{formatter-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{formatter-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
  762. /package/dist/chunks/{formatter-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  763. /package/dist/chunks/{formatter-m18g726c.js → agent-m18g726c.js} +0 -0
  764. /package/dist/chunks/{formatter-mp448xyj.js → agent-mp448xyj.js} +0 -0
  765. /package/dist/chunks/{formatter-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  766. /package/dist/chunks/{formatter-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  767. /package/dist/chunks/{formatter-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  768. /package/dist/chunks/{formatter-njntx4h6.js → agent-njntx4h6.js} +0 -0
  769. /package/dist/chunks/{formatter-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
  770. /package/dist/chunks/{formatter-pyv0edze.js → agent-pyv0edze.js} +0 -0
  771. /package/dist/chunks/{formatter-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  772. /package/dist/chunks/{formatter-q74kybfr.js → agent-q74kybfr.js} +0 -0
  773. /package/dist/chunks/{formatter-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  774. /package/dist/chunks/{formatter-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  775. /package/dist/chunks/{formatter-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  776. /package/dist/chunks/{formatter-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  777. /package/dist/chunks/{formatter-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  778. /package/dist/chunks/{formatter-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  779. /package/dist/chunks/{formatter-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  780. /package/dist/chunks/{formatter-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  781. /package/dist/chunks/{formatter-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
  782. /package/dist/chunks/{formatter-w803qqfp.js → agent-w803qqfp.js} +0 -0
  783. /package/dist/chunks/{formatter-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  784. /package/dist/chunks/{formatter-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  785. /package/dist/chunks/{formatter-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
  786. /package/dist/chunks/{formatter-wtztk69x.js → agent-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{formatter-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{formatter-x61499pn.js → agent-x61499pn.js} +0 -0
  789. /package/dist/chunks/{formatter-y44na4kk.js → agent-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{formatter-y8f7s663.js → agent-y8f7s663.js} +0 -0
  791. /package/dist/chunks/{formatter-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  792. /package/dist/chunks/{formatter-ym463w8f.js → agent-ym463w8f.js} +0 -0
  793. /package/dist/chunks/{formatter-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  794. /package/dist/chunks/{formatter-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,134 +1,140 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./formatter-9x7ygf2s.js";
2
+ Service85,
3
+ node89
4
+ } from "./agent-c5zgdys3.js";
5
5
  import {
6
6
  Service82,
7
7
  node86
8
- } from "./formatter-s0vr04sn.js";
8
+ } from "./agent-fpvfk2w9.js";
9
9
  import {
10
10
  VariantID2,
11
11
  Ref2,
12
- Service77,
13
- node81
14
- } from "./formatter-7td3bf7z.js";
12
+ Service71,
13
+ node75
14
+ } from "./agent-wcb0e0c5.js";
15
15
  import {
16
- ID9,
17
- Service61,
18
- node63
19
- } from "./formatter-4ztm1dwq.js";
16
+ ID16,
17
+ Service81,
18
+ node85
19
+ } from "./agent-0mxkd3yj.js";
20
20
  import {
21
21
  AgentNotFoundError2
22
- } from "./formatter-yj7k2rcj.js";
22
+ } from "./agent-tt3gk2hg.js";
23
23
  import {
24
24
  combine2
25
- } from "./formatter-0gdmqesm.js";
25
+ } from "./agent-eaj1djv9.js";
26
26
  import {
27
27
  entriesForRunner2
28
- } from "./formatter-2dw5dn9g.js";
28
+ } from "./agent-wdvgmdgr.js";
29
29
  import {
30
- Service59,
31
- node61
32
- } from "./formatter-7axppv82.js";
30
+ Service78,
31
+ node82
32
+ } from "./agent-2r33jwsv.js";
33
33
  import {
34
34
  merge2
35
- } from "./formatter-wb756fwd.js";
36
- import {
37
- make15
38
- } from "./formatter-zweka6s4.js";
35
+ } from "./agent-785qcqx9.js";
39
36
  import {
40
- Service40,
41
- node43
42
- } from "./formatter-2t5kspa8.js";
37
+ make13
38
+ } from "./agent-e9zedmrt.js";
43
39
  import {
44
- Service25,
45
- node28
46
- } from "./formatter-w5s77ef3.js";
40
+ Service46,
41
+ node49
42
+ } from "./agent-24k0zg7j.js";
47
43
  import {
48
44
  Service41,
49
45
  node44
50
- } from "./formatter-jsvh4qyv.js";
46
+ } from "./agent-2yj9p1ch.js";
47
+ import {
48
+ Service58,
49
+ node61
50
+ } from "./agent-ewpt59p9.js";
51
51
  import {
52
52
  Service33,
53
- node36
54
- } from "./formatter-n0vd09xy.js";
53
+ node35
54
+ } from "./agent-r8fetm84.js";
55
55
  import {
56
56
  Service32,
57
- node35
58
- } from "./formatter-f50eyg8v.js";
57
+ node34
58
+ } from "./agent-8rfkbrwf.js";
59
59
  import {
60
- Service26,
61
- node29
62
- } from "./formatter-8qsxj3by.js";
60
+ Service36,
61
+ node39
62
+ } from "./agent-zmr2d85t.js";
63
63
  import {
64
- Service31,
65
- node34
66
- } from "./formatter-zjtex0m8.js";
64
+ Service35,
65
+ node38
66
+ } from "./agent-r3dq8634.js";
67
67
  import {
68
- Service27,
69
- node31
70
- } from "./formatter-bbbvx8fy.js";
68
+ Service34,
69
+ node37
70
+ } from "./agent-zxck4pyt.js";
71
71
  import {
72
- Service28,
73
- node32
74
- } from "./formatter-zhdvkzcb.js";
72
+ Service37,
73
+ node40
74
+ } from "./agent-6ztqc8am.js";
75
75
  import {
76
- Service56,
77
- node58
78
- } from "./formatter-10r957wz.js";
76
+ Service53,
77
+ node56
78
+ } from "./agent-zv1ky7bp.js";
79
79
  import {
80
80
  __export
81
- } from "./formatter-9rqn6x4v.js";
81
+ } from "./agent-9rqn6x4v.js";
82
82
 
83
83
  // src/session/context.ts
84
84
  var exports_context = {};
85
85
  __export(exports_context, {
86
- Service: () => Service24,
86
+ Service: () => Service31,
87
87
  SessionContext: () => exports_context,
88
- node: () => node27
88
+ node: () => node33
89
89
  });
90
90
  import { Context, Effect, Layer } from "effect";
91
91
  import { makeLocationNode } from "@opencode/util/effect/app-node";
92
- class Service24 extends Context.Service()("@opencode/SessionContext") {
92
+ class Service31 extends Context.Service()("@opencode/SessionContext") {
93
93
  }
94
- var layer = Layer.effect(Service24, Effect.gen(function* () {
95
- const agents = yield* Service61;
96
- const builtins = yield* Service25;
97
- const model = yield* Service77;
98
- const db = (yield* Service86).db;
99
- const discovery = yield* Service40;
100
- const entries = yield* Service27;
94
+ var layer = Layer.effect(Service31, Effect.gen(function* () {
95
+ const agents = yield* Service81;
96
+ const builtins = yield* Service41;
97
+ const model = yield* Service71;
98
+ const db = (yield* Service85).db;
99
+ const discovery = yield* Service46;
100
+ const entries = yield* Service34;
101
101
  const location = yield* Service82;
102
102
  const mcpInstructions = yield* Service32;
103
103
  const mcpTools = yield* Service33;
104
- const models = yield* Service56;
105
- const request = yield* Service28;
106
- const referenceInstructions = yield* Service26;
107
- const skillInstructions = yield* Service31;
108
- const store = yield* Service59;
109
- const registry = yield* Service41;
104
+ const models = yield* Service53;
105
+ const request = yield* Service37;
106
+ const referenceInstructions = yield* Service36;
107
+ const skillInstructions = yield* Service35;
108
+ const store = yield* Service78;
109
+ const registry = yield* Service58;
110
110
  const resolveModel = (session) => models.resolve(session, model.available);
111
111
  const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
112
- const agent = yield* agents.get(ID9.make("title"));
112
+ const agent = yield* agents.get(ID16.make("title"));
113
113
  if (!agent)
114
114
  return;
115
115
  const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
116
116
  return;
117
117
  }));
118
- const info = yield* Effect.gen(function* () {
119
- if (agent.model)
120
- return yield* model.get(agent.model.providerID, agent.model.id);
118
+ const candidate = yield* Effect.gen(function* () {
119
+ if (agent.model) {
120
+ const info = yield* model.get(agent.model.providerID, agent.model.id);
121
+ return info && { info, variant: agent.model.variant ?? minimalVariant(info) };
122
+ }
121
123
  if (!primary)
122
124
  return;
123
- return yield* model.small(primary.ref.providerID);
125
+ const small = yield* model.small(primary.ref.providerID);
126
+ if (small)
127
+ return { info: small, variant: minimalVariant(small) };
128
+ const info = yield* model.get(primary.ref.providerID, primary.ref.id);
129
+ const variant = info && lowerVariant(info, primary.ref.variant);
130
+ return variant && { info, variant };
124
131
  });
125
- const variant = agent.model?.variant ?? MINIMAL_REASONING_VARIANTS.find((id) => info?.variants.some((item) => item.id === id));
126
- const preferred = info && (yield* resolveModel({
132
+ const preferred = candidate && (yield* resolveModel({
127
133
  ...session,
128
134
  model: Ref2.make({
129
- providerID: info.providerID,
130
- id: info.id,
131
- ...variant ? { variant } : {}
135
+ providerID: candidate.info.providerID,
136
+ id: candidate.info.id,
137
+ ...candidate.variant ? { variant: candidate.variant } : {}
132
138
  })
133
139
  }).pipe(Effect.orElseSucceed(() => {
134
140
  return;
@@ -162,7 +168,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
162
168
  session,
163
169
  agent: { ...agent, info: agent.info },
164
170
  instructions: combine2([
165
- make15(loaded.tools.codeModeCatalog),
171
+ make13(loaded.tools.codeModeCatalog),
166
172
  loaded.mcp,
167
173
  loaded.references,
168
174
  loaded.skills,
@@ -185,29 +191,34 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
185
191
  tools: selection.tools
186
192
  };
187
193
  });
188
- return Service24.of({ select, load, resolveModel, selectTitle, request });
194
+ return Service31.of({ select, load, resolveModel, selectTitle, request });
189
195
  }));
190
196
  var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
191
- var node27 = makeLocationNode({
192
- service: Service24,
197
+ var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
198
+ var lowerVariant = (info, selected) => {
199
+ const rank = (id) => info.variants.findIndex((item) => item.id === id);
200
+ return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
201
+ };
202
+ var node33 = makeLocationNode({
203
+ service: Service31,
193
204
  layer,
194
205
  deps: [
195
- node63,
196
- node81,
197
- node90,
198
- node28,
199
- node43,
200
- node31,
206
+ node85,
207
+ node75,
208
+ node89,
209
+ node44,
210
+ node49,
211
+ node37,
201
212
  node86,
202
- node35,
203
- node36,
204
- node29,
205
- node58,
206
- node32,
207
- node61,
208
213
  node34,
209
- node44
214
+ node35,
215
+ node39,
216
+ node56,
217
+ node40,
218
+ node82,
219
+ node38,
220
+ node61
210
221
  ]
211
222
  });
212
223
 
213
- export { Service24, node27, exports_context };
224
+ export { Service31, node33, exports_context };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  useragent2
3
- } from "./formatter-m2b6v9cc.js";
3
+ } from "./agent-7qr8wxzf.js";
4
4
  import {
5
5
  call2
6
- } from "./formatter-ywt8jp22.js";
6
+ } from "./agent-bjx1sjef.js";
7
7
  import {
8
8
  __export
9
- } from "./formatter-9rqn6x4v.js";
9
+ } from "./agent-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/websearch/parallel.ts
12
12
  var exports_parallel = {};
13
13
  __export(exports_parallel, {
14
- Plugin: () => Plugin39,
14
+ Plugin: () => Plugin2,
15
15
  WebSearchParallel: () => exports_parallel,
16
- endpoint: () => endpoint6
16
+ endpoint: () => endpoint2
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect, Schema } from "effect";
20
20
  import { HttpClient } from "effect/http";
21
- var endpoint6 = "https://search.parallel.ai/mcp";
21
+ var endpoint2 = "https://search.parallel.ai/mcp";
22
22
  var McpInput = Schema.Struct({
23
23
  objective: Schema.String,
24
24
  search_queries: Schema.Array(Schema.String),
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
47
47
  content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
48
48
  structuredContent: SearchResponse
49
49
  });
50
- var Plugin39 = define({
50
+ var Plugin2 = define({
51
51
  id: "opencode.websearch.parallel",
52
52
  effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
53
53
  const http = yield* HttpClient.HttpClient;
@@ -69,7 +69,7 @@ var Plugin39 = define({
69
69
  execute: (input) => Effect.gen(function* () {
70
70
  const connection = yield* ctx.integration.connection.active("parallel");
71
71
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
72
- const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
72
+ const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
73
73
  objective: input.query,
74
74
  search_queries: [input.query]
75
75
  }, {
@@ -93,4 +93,4 @@ var Plugin39 = define({
93
93
  })
94
94
  });
95
95
 
96
- export { endpoint6, Plugin39, exports_parallel };
96
+ export { endpoint2, Plugin2, exports_parallel };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  create3
3
- } from "./formatter-rdw6cm16.js";
3
+ } from "./agent-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./formatter-9rqn6x4v.js";
6
+ } from "./agent-9rqn6x4v.js";
7
7
 
8
8
  // src/image.ts
9
9
  var exports_image2 = {};
@@ -11,9 +11,9 @@ __export(exports_image2, {
11
11
  DecodeError: () => DecodeError2,
12
12
  Image: () => exports_image2,
13
13
  ResizerUnavailableError: () => ResizerUnavailableError2,
14
- Service: () => Service71,
14
+ Service: () => Service70,
15
15
  SizeError: () => SizeError2,
16
- node: () => node73
16
+ node: () => node74
17
17
  });
18
18
  import { makeLocationNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
42
42
  }
43
43
  }
44
44
 
45
- class Service71 extends Context.Service()("@opencode/Image") {
45
+ class Service70 extends Context.Service()("@opencode/Image") {
46
46
  }
47
- var layer = Layer.effect(Service71, Effect.gen(function* () {
47
+ var layer = Layer.effect(Service70, Effect.gen(function* () {
48
48
  const state = create3({
49
49
  name: "image",
50
50
  initial: () => ({
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
74
74
  const normalize = yield* loadAdapter;
75
75
  return yield* normalize(resource, content, state.get());
76
76
  });
77
- return Service71.of({ transform: state.transform, reload: state.reload, normalize });
77
+ return Service70.of({ transform: state.transform, reload: state.reload, normalize });
78
78
  }));
79
- var node73 = makeLocationNode({ service: Service71, layer, deps: [] });
79
+ var node74 = makeLocationNode({ service: Service70, layer, deps: [] });
80
80
 
81
- export { ResizerUnavailableError2, DecodeError2, SizeError2, Service71, node73, exports_image2 };
81
+ export { ResizerUnavailableError2, DecodeError2, SizeError2, Service70, node74, exports_image2 };
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./formatter-z5v4ffb3.js";
5
+ } from "./agent-z5v4ffb3.js";
6
6
  import {
7
7
  Service82,
8
8
  node86
9
- } from "./formatter-s0vr04sn.js";
9
+ } from "./agent-fpvfk2w9.js";
10
10
  import {
11
- Service20,
12
- node23
13
- } from "./formatter-rah0dq0h.js";
11
+ Service16,
12
+ node18
13
+ } from "./agent-5n7p33rt.js";
14
14
  import {
15
15
  __export
16
- } from "./formatter-9rqn6x4v.js";
16
+ } from "./agent-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -24,20 +24,20 @@ __export(exports_filesystem, {
24
24
  DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
25
25
  DirectoryNotFoundError: () => DirectoryNotFoundError2,
26
26
  Entry: () => Entry2,
27
- Event: () => Event5,
27
+ Event: () => Event2,
28
28
  FileSystem: () => exports_filesystem,
29
29
  FindInput: () => FindInput2,
30
30
  GlobInput: () => GlobInput2,
31
31
  GrepInput: () => GrepInput2,
32
32
  ListInput: () => ListInput2,
33
33
  Match: () => Match2,
34
- NotFoundError: () => NotFoundError3,
34
+ NotFoundError: () => NotFoundError2,
35
35
  ReadInput: () => ReadInput2,
36
- Service: () => Service19,
36
+ Service: () => Service15,
37
37
  Submatch: () => Submatch2,
38
38
  Write: () => Write2,
39
39
  WriteInput: () => WriteInput2,
40
- node: () => node22
40
+ node: () => node17
41
41
  });
42
42
  import { makeLocationNode } from "@opencode/util/effect/app-node";
43
43
  import path from "path";
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
53
53
  data: Schema.Uint8Array
54
54
  });
55
55
 
56
- class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
56
+ class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
57
57
  path: RelativePath2
58
58
  }) {
59
59
  }
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
105
105
  limit: Schema.optionalKey(PositiveInt2)
106
106
  }) {
107
107
  }
108
- var Event5 = FileSystem.Event;
108
+ var Event2 = FileSystem.Event;
109
109
 
110
- class Service19 extends Context.Service()("@opencode/FileSystem") {
110
+ class Service15 extends Context.Service()("@opencode/FileSystem") {
111
111
  }
112
- var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
112
+ var baseLayer = Layer.effect(Service15, Effect.gen(function* () {
113
113
  const fs = yield* FSUtil.Service;
114
114
  const location = yield* Service82;
115
- const search = yield* Service20;
115
+ const search = yield* Service16;
116
116
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
117
117
  if (cause.reason._tag === "NotFound")
118
118
  return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
122
122
  }));
123
123
  const resolve = Effect.fnUntraced(function* (input) {
124
124
  if (input.includes("\x00"))
125
- return yield* Effect.fail(new NotFoundError3({ path: input }));
125
+ return yield* Effect.fail(new NotFoundError2({ path: input }));
126
126
  const absolute = path.resolve(location.directory, input);
127
127
  if (!FSUtil.contains(location.directory, absolute))
128
- return yield* Effect.fail(new NotFoundError3({ path: input }));
129
- const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
128
+ return yield* Effect.fail(new NotFoundError2({ path: input }));
129
+ const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input })), (_, error) => Effect.die(error)));
130
130
  if (!FSUtil.contains(root, real))
131
- return yield* Effect.fail(new NotFoundError3({ path: input }));
131
+ return yield* Effect.fail(new NotFoundError2({ path: input }));
132
132
  return { absolute, real, directory: location.directory };
133
133
  });
134
- return Service19.of({
134
+ return Service15.of({
135
135
  find: search.find,
136
136
  read: Effect.fn("FileSystem.read")(function* (input) {
137
137
  const target = yield* resolve(input.path);
138
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
138
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
139
139
  if (info.type !== "File")
140
- return yield* Effect.fail(new NotFoundError3({ path: input.path }));
140
+ return yield* Effect.fail(new NotFoundError2({ path: input.path }));
141
141
  return {
142
142
  mime: FSUtil.mimeType(target.real),
143
143
  size: Number(info.size),
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
147
147
  }),
148
148
  list: Effect.fn("FileSystem.list")(function* (input = {}) {
149
149
  const directory = path.resolve(location.directory, input.path ?? ".");
150
- const missing = new NotFoundError3({ path: RelativePath2.make(input.path ?? ".") });
150
+ const missing = new NotFoundError2({ path: RelativePath2.make(input.path ?? ".") });
151
151
  const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
152
152
  if (info.type !== "Directory")
153
153
  return yield* missing;
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service19, Effect.gen(function* () {
171
171
  })
172
172
  });
173
173
  }));
174
- var node22 = makeLocationNode({
175
- service: Service19,
174
+ var node17 = makeLocationNode({
175
+ service: Service15,
176
176
  layer: baseLayer,
177
- deps: [FSUtil.node, node86, node23]
177
+ deps: [FSUtil.node, node86, node18]
178
178
  });
179
179
 
180
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event5, Service19, node22, exports_filesystem, Entry2, Match2, Submatch2 };
180
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service15, node17, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  create3
3
- } from "./formatter-rdw6cm16.js";
3
+ } from "./agent-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./formatter-qaymkmh1.js";
6
+ } from "./agent-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./formatter-9rqn6x4v.js";
9
+ } from "./agent-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options6,
15
- Service: () => Service48,
14
+ Options: () => Options7,
15
+ Service: () => Service62,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured6,
18
+ configured: () => configured9,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
- list: () => list3,
21
+ list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name16,
24
- node: () => node51,
24
+ node: () => node66,
25
25
  ps: () => ps2,
26
26
  resolve: () => resolve2
27
27
  });
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options6 = Schema.Struct({
46
+ var Options7 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service48 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service62 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -184,11 +184,11 @@ resolve2.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
187
- async function list3(options, bin) {
187
+ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service62, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service48, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service48.of({
202
+ return Service62.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
205
  resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin)),
206
- list: () => Effect.promise(() => list3(options, global.bin))
206
+ list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured6(options) {
210
- return makeLocationNode({ service: Service48, layer: layer(options), deps: [Global.node] });
209
+ function configured9(options) {
210
+ return makeLocationNode({ service: Service62, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node51 = configured6();
212
+ var node66 = configured9();
213
213
 
214
- export { Options6, Service48, gitbash2, name16, login2, ps2, args2, environment2, resolve2, list3, configured6, node51, exports_select };
214
+ export { Options7, Service62, gitbash2, name16, login2, ps2, args2, environment2, resolve2, list4, configured9, node66, exports_select };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./formatter-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/identity.ts
6
6
  var exports_identity = {};
7
7
  __export(exports_identity, {
8
8
  IdentityPlugin: () => exports_identity,
9
- Plugin: () => Plugin46,
9
+ Plugin: () => Plugin12,
10
10
  identity: () => identity2
11
11
  });
12
12
  import { SystemPart } from "@opencode/ai";
@@ -22,7 +22,7 @@ function identity2(model) {
22
22
  ].join(`
23
23
  `);
24
24
  }
25
- var Plugin46 = define({
25
+ var Plugin12 = define({
26
26
  id: "opencode.prompt.identity",
27
27
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
28
28
  const hook = (event) => Effect.gen(function* () {
@@ -35,4 +35,4 @@ var Plugin46 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { identity2, Plugin46, exports_identity };
38
+ export { identity2, Plugin12, exports_identity };