@opencode/core 0.0.0-dev-20670 → 0.0.0-dev-20677

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 (784) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{variant-gmmdfr2g.js → agent-03xyy9gs.js} +8 -8
  8. package/dist/chunks/{variant-av38vskm.js → agent-0e4zfx6z.js} +5 -5
  9. package/dist/chunks/{variant-0paq2nw3.js → agent-0paq2nw3.js} +1 -1
  10. package/dist/chunks/{variant-0vbcp93d.js → agent-0vbcp93d.js} +2 -2
  11. package/dist/chunks/{variant-a5hrzf2z.js → agent-0w51wpsa.js} +3 -3
  12. package/dist/chunks/{variant-g4yyayt9.js → agent-1a721rxg.js} +5 -5
  13. package/dist/chunks/{variant-y77dm3c4.js → agent-1bv2kaf1.js} +20 -20
  14. package/dist/chunks/{variant-1dazxqgg.js → agent-1dazxqgg.js} +2 -2
  15. package/dist/chunks/{variant-8m5xe4tx.js → agent-1gpb38yh.js} +6 -6
  16. package/dist/chunks/{variant-jhbzetc7.js → agent-1gq97tmn.js} +176 -176
  17. package/dist/chunks/{variant-j0x50v7v.js → agent-212y0zje.js} +10 -10
  18. package/dist/chunks/{variant-mqj33d01.js → agent-237z5p4t.js} +18 -18
  19. package/dist/chunks/{variant-gsnm7xcg.js → agent-26mk346k.js} +25 -25
  20. package/dist/chunks/{variant-43myjda7.js → agent-27rataxe.js} +15 -15
  21. package/dist/chunks/{variant-hj5zw0v5.js → agent-299ygcnd.js} +23 -23
  22. package/dist/chunks/{variant-2a5m3afh.js → agent-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{variant-zhwjstx1.js → agent-2sradmzs.js} +25 -25
  24. package/dist/chunks/{variant-ygtb1s3e.js → agent-33ds9rj3.js} +11 -11
  25. package/dist/chunks/{variant-4ca69wfz.js → agent-35q2em60.js} +23 -23
  26. package/dist/chunks/{variant-psjjct8g.js → agent-37jae8a1.js} +11 -11
  27. package/dist/chunks/{variant-hcxj4rsa.js → agent-3afxxhd7.js} +44 -44
  28. package/dist/chunks/{variant-h2b79v29.js → agent-3cegwx68.js} +2 -2
  29. package/dist/chunks/{variant-12r2p6ep.js → agent-3dx6e5mz.js} +27 -27
  30. package/dist/chunks/{variant-tbmac1c7.js → agent-3ewed21c.js} +4 -4
  31. package/dist/chunks/{variant-3fc6dm20.js → agent-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{variant-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{variant-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
  34. package/dist/chunks/{variant-xm1s6dzm.js → agent-3tm29b2b.js} +325 -325
  35. package/dist/chunks/{variant-yrm0szr2.js → agent-3tvp0d45.js} +17 -17
  36. package/dist/chunks/{variant-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
  37. package/dist/chunks/{variant-hb96kx89.js → agent-3xdvdhsm.js} +16 -16
  38. package/dist/chunks/{variant-w0033jfm.js → agent-3xx70s67.js} +9 -9
  39. package/dist/chunks/{variant-srk0zn0s.js → agent-3ze65hfa.js} +35 -35
  40. package/dist/chunks/{variant-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
  41. package/dist/chunks/{variant-t10yzrjw.js → agent-44a7phry.js} +35 -35
  42. package/dist/chunks/{variant-ajbd8md1.js → agent-4617ttsa.js} +22 -22
  43. package/dist/chunks/{variant-fqtvmpfq.js → agent-4a0nv7mx.js} +8 -8
  44. package/dist/chunks/{variant-zxsy4by3.js → agent-4c701q23.js} +24 -24
  45. package/dist/chunks/{variant-3ha3xwk3.js → agent-4kmwdp9k.js} +28 -28
  46. package/dist/chunks/{variant-vrc7s6sw.js → agent-4mp2bwzd.js} +13 -13
  47. package/dist/chunks/{variant-4ts7tf6z.js → agent-4ts7tf6z.js} +2 -2
  48. package/dist/chunks/{variant-1ypt9myv.js → agent-508esqyf.js} +35 -35
  49. package/dist/chunks/{variant-wyec3xap.js → agent-541dm475.js} +3 -3
  50. package/dist/chunks/{variant-54ma36ye.js → agent-54ma36ye.js} +1 -1
  51. package/dist/chunks/{variant-56gdpj1q.js → agent-56gdpj1q.js} +2 -2
  52. package/dist/chunks/{variant-qxtmr2bd.js → agent-59c10ypj.js} +4 -4
  53. package/dist/chunks/{variant-bvh7grhs.js → agent-5b3yx2mr.js} +1 -1
  54. package/dist/chunks/{variant-5daktx2q.js → agent-5daktx2q.js} +1 -1
  55. package/dist/chunks/{variant-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{variant-vv8y31wj.js → agent-5n1rr6qj.js} +12 -12
  57. package/dist/chunks/{variant-5t3nmthw.js → agent-5t3nmthw.js} +2 -2
  58. package/dist/chunks/{variant-kb1yqcjd.js → agent-5xzzfr73.js} +22 -22
  59. package/dist/chunks/{variant-90nsq7vp.js → agent-5ymje97q.js} +13 -13
  60. package/dist/chunks/{variant-pddh4aqp.js → agent-61bbtbmc.js} +30 -30
  61. package/dist/chunks/{variant-cz9840fe.js → agent-61tzzxsr.js} +35 -35
  62. package/dist/chunks/{variant-zr84kw0b.js → agent-64jy87jm.js} +54 -54
  63. package/dist/chunks/{variant-14mf7nj2.js → agent-64vpcbr9.js} +5 -5
  64. package/dist/chunks/{variant-85cf5a55.js → agent-672xc31r.js} +7 -7
  65. package/dist/chunks/{variant-fj13q4zb.js → agent-682b4fx6.js} +22 -22
  66. package/dist/chunks/{variant-sehwt9te.js → agent-6feta9cj.js} +21 -21
  67. package/dist/chunks/{variant-r42cqwsc.js → agent-6hk2686f.js} +42 -42
  68. package/dist/chunks/{variant-mge8kx0v.js → agent-6rcj2hr5.js} +26 -26
  69. package/dist/chunks/{variant-68hxq47m.js → agent-6waraj69.js} +26 -26
  70. package/dist/chunks/{variant-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
  71. package/dist/chunks/{variant-e4qpf6ew.js → agent-760hrz28.js} +40 -40
  72. package/dist/chunks/{variant-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{variant-7qt3axmk.js → agent-7bvtnfyz.js} +18 -18
  74. package/dist/chunks/{variant-2k8khapm.js → agent-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{variant-eeaf82dq.js → agent-7j2qha59.js} +8 -8
  76. package/dist/chunks/{variant-a1gpj94z.js → agent-7yh4e7ss.js} +3 -3
  77. package/dist/chunks/{variant-genng97f.js → agent-848sxtqq.js} +14 -14
  78. package/dist/chunks/{variant-1dvck2a7.js → agent-84h8c373.js} +2 -2
  79. package/dist/chunks/{variant-gfds2h31.js → agent-84kwgfzz.js} +24 -24
  80. package/dist/chunks/{variant-84txncab.js → agent-84txncab.js} +1 -1
  81. package/dist/chunks/{variant-z053hk1w.js → agent-84tzk9gr.js} +12 -12
  82. package/dist/chunks/{variant-k70p9jzb.js → agent-8a6ws7jr.js} +9 -9
  83. package/dist/chunks/{variant-8d7r5vzw.js → agent-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{variant-tj9v0x4b.js → agent-8dcer5qr.js} +13 -13
  85. package/dist/chunks/{variant-bf1ejp41.js → agent-8dpqntaq.js} +23 -23
  86. package/dist/chunks/{variant-5gxvh74d.js → agent-8j0012y3.js} +36 -32
  87. package/dist/chunks/{variant-s37hkjzm.js → agent-8kzy5fr5.js} +8 -8
  88. package/dist/chunks/{variant-rgx9nb55.js → agent-8n5zbqyh.js} +7 -7
  89. package/dist/chunks/{variant-cmwkp3r5.js → agent-8v6pyhej.js} +8 -8
  90. package/dist/chunks/{variant-04ah9brh.js → agent-95dtjqf2.js} +4 -4
  91. package/dist/chunks/{variant-47rh35ks.js → agent-96f2n6ah.js} +10 -10
  92. package/dist/chunks/{variant-6x68kpm5.js → agent-984m73yw.js} +17 -17
  93. package/dist/chunks/{variant-vnk7j1ms.js → agent-9hrc7yhg.js} +11 -11
  94. package/dist/chunks/{variant-hbepmwya.js → agent-9k8khh75.js} +17 -17
  95. package/dist/chunks/{variant-kg3zg8yk.js → agent-9nb94ttp.js} +41 -41
  96. package/dist/chunks/{variant-at1j3wg7.js → agent-9pst789e.js} +9 -9
  97. package/dist/chunks/{variant-q74y9j8r.js → agent-9zj3ww2h.js} +11 -11
  98. package/dist/chunks/{variant-takqf31v.js → agent-9zrkfg92.js} +37 -37
  99. package/dist/chunks/{variant-8pypt00x.js → agent-a4rged5n.js} +13 -13
  100. package/dist/chunks/{variant-aaet6srn.js → agent-aaet6srn.js} +2 -2
  101. package/dist/chunks/{variant-f6es3tce.js → agent-abmjs3wp.js} +29 -29
  102. package/dist/chunks/{variant-db2wf4at.js → agent-addxnjmp.js} +4 -4
  103. package/dist/chunks/{variant-vfvegtrt.js → agent-adt5jcng.js} +19 -19
  104. package/dist/chunks/{variant-96ctqc5x.js → agent-afjydgk3.js} +4 -4
  105. package/dist/chunks/{variant-y2j1t95j.js → agent-angdxrpd.js} +16 -16
  106. package/dist/chunks/{variant-1aaptxkf.js → agent-apvampct.js} +15 -15
  107. package/dist/chunks/{variant-13phwz10.js → agent-asw8c91m.js} +4 -4
  108. package/dist/chunks/{variant-gkh8nh6z.js → agent-b6crebg4.js} +20 -20
  109. package/dist/chunks/{variant-b6gygkdw.js → agent-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{variant-fj7dxcp8.js → agent-b6mnpgpe.js} +28 -28
  111. package/dist/chunks/{variant-778zdafs.js → agent-bf9mzw80.js} +2 -2
  112. package/dist/chunks/{variant-zy58z06m.js → agent-bhhppv72.js} +9 -9
  113. package/dist/chunks/{variant-a7zpr1c3.js → agent-bmmeg5sm.js} +19 -19
  114. package/dist/chunks/{variant-1fbkv74j.js → agent-bmr4b0kb.js} +9 -9
  115. package/dist/chunks/{variant-m2c06fa4.js → agent-btdzdyts.js} +10 -10
  116. package/dist/chunks/{variant-n8vdnqrc.js → agent-bx0gyb4h.js} +5 -5
  117. package/dist/chunks/{variant-pje0b5e4.js → agent-bxfxz57t.js} +22 -22
  118. package/dist/chunks/{variant-2c6y2vpm.js → agent-c1fbq4kv.js} +37 -35
  119. package/dist/chunks/{variant-3r1fp5nk.js → agent-cb89hyx5.js} +5 -5
  120. package/dist/chunks/{variant-tfsj2qc7.js → agent-cc8cknna.js} +41 -41
  121. package/dist/chunks/{variant-tc2bp7te.js → agent-cdhr69tv.js} +11 -11
  122. package/dist/chunks/{variant-jktqzjpa.js → agent-cfsekr6v.js} +8 -8
  123. package/dist/chunks/{variant-sjryg82s.js → agent-ckt1a3xt.js} +13 -13
  124. package/dist/chunks/{variant-y2dcdtp0.js → agent-cvsve72h.js} +19 -19
  125. package/dist/chunks/{variant-qvpfanze.js → agent-cx89qeg3.js} +6 -6
  126. package/dist/chunks/{variant-2vjdd89t.js → agent-cz4pebbb.js} +58 -58
  127. package/dist/chunks/{variant-mqkwkb58.js → agent-d28w4k3h.js} +15 -15
  128. package/dist/chunks/{variant-gxre2ca4.js → agent-d3f2prkd.js} +42 -42
  129. package/dist/chunks/{variant-mm69kq7h.js → agent-d3pa2dt1.js} +19 -19
  130. package/dist/chunks/{variant-3jmpz8k1.js → agent-d93aaqkk.js} +1 -1
  131. package/dist/chunks/{variant-fcncf75j.js → agent-db62y6bp.js} +29 -29
  132. package/dist/chunks/{variant-7gak28c2.js → agent-ddd3v19d.js} +11 -11
  133. package/dist/chunks/{variant-3ftpg69t.js → agent-dkkan8mq.js} +17 -17
  134. package/dist/chunks/{variant-p5p5kne1.js → agent-drnf6xwf.js} +2 -2
  135. package/dist/chunks/{variant-k7xgtgde.js → agent-e2erybrn.js} +11 -11
  136. package/dist/chunks/{variant-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
  137. package/dist/chunks/{variant-5ejk7f0k.js → agent-egsf10bm.js} +13 -13
  138. package/dist/chunks/{variant-dkkxy9wz.js → agent-ej7nfns1.js} +18 -18
  139. package/dist/chunks/{variant-zpg27evg.js → agent-emb8t02r.js} +21 -21
  140. package/dist/chunks/{variant-vbhjmb5m.js → agent-emcb384r.js} +8 -8
  141. package/dist/chunks/{variant-etq0c3wd.js → agent-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{variant-fa9g1mnx.js → agent-eyq9c17f.js} +12 -12
  143. package/dist/chunks/{variant-xfwm1nrf.js → agent-f0wnr75e.js} +32 -32
  144. package/dist/chunks/{variant-71az546q.js → agent-f75zav2x.js} +2 -2
  145. package/dist/chunks/agent-f81tjggh.js +18 -0
  146. package/dist/chunks/{variant-ncv9kjc6.js → agent-f9kekh7f.js} +14 -14
  147. package/dist/chunks/{variant-bytkh039.js → agent-fd8908de.js} +15 -15
  148. package/dist/chunks/{variant-v44y4b59.js → agent-fqmwv32j.js} +14 -14
  149. package/dist/chunks/{variant-7zjc8zg2.js → agent-fswrwyfk.js} +6 -6
  150. package/dist/chunks/{variant-bydnjh3t.js → agent-ftjf86m5.js} +9 -9
  151. package/dist/chunks/{variant-kzht0r54.js → agent-ftxvqbsg.js} +11 -11
  152. package/dist/chunks/{variant-bf28q0c2.js → agent-fvbmtwra.js} +13 -13
  153. package/dist/chunks/{variant-w19d8598.js → agent-g5w8qwbj.js} +7 -7
  154. package/dist/chunks/{variant-djszqvmq.js → agent-g6q9qykm.js} +9 -9
  155. package/dist/chunks/{variant-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
  156. package/dist/chunks/{variant-6tqx1ph1.js → agent-gdyt3gj6.js} +11 -11
  157. package/dist/chunks/{variant-j3hvrqpy.js → agent-ghde90aw.js} +6 -6
  158. package/dist/chunks/{variant-4rgynks6.js → agent-gjzmqfxe.js} +10 -10
  159. package/dist/chunks/{variant-fa263v27.js → agent-gs91af73.js} +93 -93
  160. package/dist/chunks/{variant-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
  161. package/dist/chunks/{variant-az8dgmmc.js → agent-h7znadvr.js} +8 -8
  162. package/dist/chunks/{variant-anzb5n5e.js → agent-hcg5kpq6.js} +32 -32
  163. package/dist/chunks/{variant-7zt5x37y.js → agent-he27pt63.js} +1 -1
  164. package/dist/chunks/{variant-yj7yjf4r.js → agent-hfetwrmg.js} +20 -20
  165. package/dist/chunks/{variant-e842s4t9.js → agent-hh1fe6b7.js} +33 -33
  166. package/dist/chunks/{variant-jyapyf9t.js → agent-htb94n32.js} +12 -12
  167. package/dist/chunks/{variant-ynjzq9s0.js → agent-j01xwkjw.js} +21 -21
  168. package/dist/chunks/{variant-qyzq8tdf.js → agent-j422692e.js} +7 -7
  169. package/dist/chunks/{variant-j56e64zr.js → agent-j56e64zr.js} +1 -1
  170. package/dist/chunks/{variant-zv2rxc3d.js → agent-j7dp57tw.js} +9 -9
  171. package/dist/chunks/{variant-6apymsef.js → agent-j9pgxxd7.js} +17 -17
  172. package/dist/chunks/{variant-p1dchzeh.js → agent-jmxsfgen.js} +9 -9
  173. package/dist/chunks/{variant-76p9kcxt.js → agent-jnyg353g.js} +20 -20
  174. package/dist/chunks/{variant-vhk0jjay.js → agent-jqyc2fxa.js} +4 -4
  175. package/dist/chunks/{variant-d646jtrt.js → agent-k2025ghf.js} +13 -13
  176. package/dist/chunks/{variant-9e5bzkjp.js → agent-kb9j3d72.js} +3 -3
  177. package/dist/chunks/{variant-y5rf7nzv.js → agent-knevfgda.js} +4 -4
  178. package/dist/chunks/{variant-5evreb3e.js → agent-ky1e5nsp.js} +9 -9
  179. package/dist/chunks/{variant-yj81bjva.js → agent-m1jewsve.js} +9 -9
  180. package/dist/chunks/{variant-m3fdjcah.js → agent-m3fdjcah.js} +1 -1
  181. package/dist/chunks/{variant-qfyvnv8a.js → agent-m4twzpdx.js} +47 -47
  182. package/dist/chunks/{variant-2yxe94w7.js → agent-m8n59xp2.js} +8 -8
  183. package/dist/chunks/{variant-c7yhx3mn.js → agent-m938ztfj.js} +32 -32
  184. package/dist/chunks/{variant-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
  185. package/dist/chunks/{variant-9w3q8q8k.js → agent-mc5gsmcy.js} +16 -16
  186. package/dist/chunks/{variant-1bg0pxyr.js → agent-md04j19x.js} +4 -4
  187. package/dist/chunks/{variant-4wk8r1at.js → agent-md2j7y0e.js} +18 -18
  188. package/dist/chunks/{variant-magykp64.js → agent-mjymc32g.js} +4 -4
  189. package/dist/chunks/{variant-43a10n5x.js → agent-mktej9kf.js} +8 -8
  190. package/dist/chunks/{variant-gtz9hmz6.js → agent-mt48d8bc.js} +33 -33
  191. package/dist/chunks/{variant-p23nk964.js → agent-mx1sahds.js} +19 -19
  192. package/dist/chunks/{variant-8whp40kv.js → agent-my4zabxr.js} +3 -3
  193. package/dist/chunks/{variant-zpn6vsrm.js → agent-myj39cz3.js} +48 -48
  194. package/dist/chunks/{variant-ckf8nxjz.js → agent-n4r3xatb.js} +4 -4
  195. package/dist/chunks/{variant-bw5kq8m8.js → agent-nw12y3df.js} +11 -11
  196. package/dist/chunks/{variant-dpkg50ah.js → agent-nxm207yx.js} +4 -4
  197. package/dist/chunks/{variant-eqkxs06z.js → agent-nzq7ck9f.js} +6 -6
  198. package/dist/chunks/{variant-fmp6ttz0.js → agent-pber7d37.js} +11 -11
  199. package/dist/chunks/{variant-zv5357n6.js → agent-phrn0hnn.js} +48 -48
  200. package/dist/chunks/{variant-jhyh6f4e.js → agent-pjvcp6pt.js} +38 -38
  201. package/dist/chunks/{variant-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
  202. package/dist/chunks/{variant-pknna89w.js → agent-pknna89w.js} +1 -1
  203. package/dist/chunks/{variant-dgqg0y62.js → agent-pm6p0qfa.js} +26 -26
  204. package/dist/chunks/{variant-baep62j8.js → agent-pmf7a4gp.js} +94 -94
  205. package/dist/chunks/{variant-8d7mxkd3.js → agent-ptyashkp.js} +3 -3
  206. package/dist/chunks/{variant-34bswkv4.js → agent-pxstbhnf.js} +45 -45
  207. package/dist/chunks/{variant-q0xm7vwc.js → agent-q0xm7vwc.js} +2 -2
  208. package/dist/chunks/{variant-4arb9zza.js → agent-qagkqpcw.js} +8 -8
  209. package/dist/chunks/{variant-6hay09zr.js → agent-qhbttv6z.js} +24 -24
  210. package/dist/chunks/{variant-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
  211. package/dist/chunks/{variant-was7srj9.js → agent-qpbc7zwf.js} +8 -8
  212. package/dist/chunks/{variant-qsdy395h.js → agent-qsdy395h.js} +1 -1
  213. package/dist/chunks/{variant-xyafkbt0.js → agent-qxjc9qry.js} +3 -3
  214. package/dist/chunks/{variant-y6hcfz9t.js → agent-r5ypt5d9.js} +11 -11
  215. package/dist/chunks/{variant-273qqx2t.js → agent-r8jtv4kk.js} +5 -5
  216. package/dist/chunks/{variant-rhraev7y.js → agent-r8xr0va3.js} +4 -4
  217. package/dist/chunks/{variant-s3rfr38d.js → agent-r9p2yfma.js} +8 -8
  218. package/dist/chunks/{variant-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
  219. package/dist/chunks/{variant-27k4znhv.js → agent-rgvftgaz.js} +34 -34
  220. package/dist/chunks/{variant-a1n2n4d8.js → agent-rp55dayf.js} +24 -24
  221. package/dist/chunks/{variant-pkqb68ka.js → agent-rx9ava5n.js} +4 -4
  222. package/dist/chunks/{variant-mf5w15f6.js → agent-rzem9bwq.js} +5 -5
  223. package/dist/chunks/{variant-wv396vej.js → agent-s8d7rejh.js} +8 -8
  224. package/dist/chunks/{variant-fzf3d4e0.js → agent-seefsy74.js} +32 -32
  225. package/dist/chunks/{variant-43hb2m25.js → agent-shqrd0p7.js} +5 -5
  226. package/dist/chunks/{variant-36zr3dcy.js → agent-sxcgg9pv.js} +4 -4
  227. package/dist/chunks/{variant-av9e2wha.js → agent-sz4assh2.js} +5 -5
  228. package/dist/chunks/{variant-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{variant-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
  230. package/dist/chunks/{variant-tdstcens.js → agent-tdstcens.js} +1 -1
  231. package/dist/chunks/{variant-v5dkyp31.js → agent-tkmwgdpd.js} +5 -5
  232. package/dist/chunks/{variant-jarn1zxe.js → agent-tzhfy6rd.js} +6 -6
  233. package/dist/chunks/{variant-y4xh0pmk.js → agent-v0es1rhs.js} +7 -7
  234. package/dist/chunks/{variant-68b4ewtf.js → agent-v0yfz79w.js} +9 -9
  235. package/dist/chunks/{variant-pwkca9pk.js → agent-v3v4sgpm.js} +3 -3
  236. package/dist/chunks/{variant-09a75c85.js → agent-v6mpbx6v.js} +34 -34
  237. package/dist/chunks/agent-v8hbtvfc.js +26 -0
  238. package/dist/chunks/{variant-2weejz9f.js → agent-vasdvhx2.js} +8 -8
  239. package/dist/chunks/{variant-bdm4x938.js → agent-vbh50phm.js} +9 -9
  240. package/dist/chunks/agent-vden9jcp.js +253 -0
  241. package/dist/chunks/{variant-veqvce7d.js → agent-veqvce7d.js} +1 -1
  242. package/dist/chunks/{variant-9vqn762s.js → agent-vnb5qef4.js} +1 -1
  243. package/dist/chunks/{variant-ye8czdsw.js → agent-vx4kd0j3.js} +15 -15
  244. package/dist/chunks/{variant-96te9d4b.js → agent-vykevjvn.js} +5 -5
  245. package/dist/chunks/{variant-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
  246. package/dist/chunks/{variant-8xxgh2t9.js → agent-w1vqmw9z.js} +22 -22
  247. package/dist/chunks/{variant-4xpgt2w9.js → agent-w39jehkq.js} +5 -5
  248. package/dist/chunks/{variant-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
  249. package/dist/chunks/{variant-dg6dbwk8.js → agent-w5zzhgd0.js} +4 -4
  250. package/dist/chunks/{variant-wd87259q.js → agent-wd87259q.js} +1 -1
  251. package/dist/chunks/{variant-11zweyk1.js → agent-wdbnpmn3.js} +14 -14
  252. package/dist/chunks/{variant-tpk0zy7s.js → agent-we2jpmnd.js} +17 -17
  253. package/dist/chunks/{variant-vms99gx2.js → agent-webf11ha.js} +6 -6
  254. package/dist/chunks/{variant-zyk1yjk8.js → agent-wecqtg5s.js} +5 -5
  255. package/dist/chunks/{variant-gwyfdq8m.js → agent-wmvjsdxp.js} +22 -22
  256. package/dist/chunks/{variant-g96ergdg.js → agent-wyjka35g.js} +31 -31
  257. package/dist/chunks/{variant-73y8v8y6.js → agent-x0bgzv0s.js} +1 -1
  258. package/dist/chunks/{variant-7kyq03wq.js → agent-x14d6wr9.js} +76 -76
  259. package/dist/chunks/{variant-mxtpa36p.js → agent-x2nf5h0k.js} +18 -18
  260. package/dist/chunks/{variant-22myzpse.js → agent-x7rh3hnq.js} +18 -18
  261. package/dist/chunks/{variant-c1enaq1p.js → agent-xb54y55j.js} +60 -60
  262. package/dist/chunks/{variant-rh1z4y1h.js → agent-xc7fr0n8.js} +36 -36
  263. package/dist/chunks/{variant-5a9dmyae.js → agent-xd0zgs67.js} +28 -28
  264. package/dist/chunks/{variant-npj3fp8d.js → agent-xgemm4h5.js} +11 -11
  265. package/dist/chunks/{variant-xkntkrq7.js → agent-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{variant-saa5sm41.js → agent-xswen0y0.js} +5 -5
  267. package/dist/chunks/{variant-w8pj8qhp.js → agent-xsz0k8gc.js} +28 -28
  268. package/dist/chunks/{variant-37rf5trb.js → agent-xw8dfwaj.js} +18 -18
  269. package/dist/chunks/{variant-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{variant-fq7d5agy.js → agent-y57vdypc.js} +42 -42
  271. package/dist/chunks/{variant-w1d288hs.js → agent-ygz1yfbt.js} +11 -11
  272. package/dist/chunks/{variant-363vysxk.js → agent-ynpe6tcd.js} +12 -12
  273. package/dist/chunks/{variant-kwdfxrj7.js → agent-ysr5vm6y.js} +15 -15
  274. package/dist/chunks/{variant-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{variant-e4znzpr0.js → agent-z0hr7r87.js} +30 -30
  276. package/dist/chunks/{variant-9s3nv18s.js → agent-z20ctxjw.js} +23 -23
  277. package/dist/chunks/{variant-s1nb2eev.js → agent-z99e7jc7.js} +35 -35
  278. package/dist/chunks/{variant-24zt9st4.js → agent-zcps5b4x.js} +3 -3
  279. package/dist/chunks/{variant-0ryd0fps.js → agent-zd30eb5w.js} +5 -5
  280. package/dist/chunks/{variant-wzgtrbaw.js → agent-zdamgzkx.js} +5 -5
  281. package/dist/chunks/{variant-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{variant-gw7cjrad.js → agent-zsr4wwhv.js} +4 -4
  283. package/dist/chunks/{variant-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +9 -9
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +205 -205
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +123 -123
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +114 -114
  309. package/dist/config/plugin/source.js +113 -113
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +119 -119
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +87 -85
  318. package/dist/database/database.js +70 -70
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +79 -79
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +218 -218
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +11 -11
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +84 -84
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +83 -83
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +76 -76
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +109 -109
  466. package/dist/mcp/instructions.js +127 -127
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +98 -98
  472. package/dist/model.js +100 -100
  473. package/dist/models-dev.js +107 -107
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +113 -113
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +86 -86
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +74 -74
  484. package/dist/plugin/command.js +100 -100
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +114 -114
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +114 -114
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +130 -130
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +2 -2
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +218 -218
  550. package/dist/project/schema.js +6 -6
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +86 -86
  553. package/dist/provider.js +101 -101
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +91 -91
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +87 -87
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +95 -95
  563. package/dist/rpc.js +84 -84
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +5 -5
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +77 -77
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +93 -93
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +224 -224
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +5 -5
  601. package/dist/session/session.js +162 -162
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +75 -75
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +5 -5
  610. package/dist/session/title.js +155 -155
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +211 -211
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +9 -9
  619. package/dist/shell.js +130 -130
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +105 -105
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +89 -89
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +124 -124
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +105 -105
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +111 -111
  639. package/dist/tool/plugin/subagent.js +210 -210
  640. package/dist/tool/plugin/webfetch.js +110 -110
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +12 -12
  647. package/dist/types/credential/sql.d.ts +6 -0
  648. package/dist/types/credential.d.ts +14 -0
  649. package/dist/types/filesystem.d.ts +11 -5
  650. package/dist/types/integration/connection.d.ts +2 -2
  651. package/dist/types/integration.d.ts +2 -2
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +92 -92
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +87 -87
  673. package/dist/websearch.js +84 -84
  674. package/dist/wellknown/plugin.js +76 -76
  675. package/dist/wellknown.js +79 -79
  676. package/dist/workspace/driver.js +3 -3
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +80 -80
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +8 -8
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +89 -89
  683. package/dist/worktree.js +94 -94
  684. package/package.json +8 -8
  685. package/dist/chunks/variant-2jm8wccg.js +0 -26
  686. package/dist/chunks/variant-619r8v3y.js +0 -18
  687. package/dist/chunks/variant-7nkk035h.js +0 -253
  688. /package/dist/chunks/{variant-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{variant-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{variant-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{variant-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{variant-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{variant-24dcb14g.js → agent-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{variant-2710q6r3.js → agent-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{variant-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{variant-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{variant-34c7v6d4.js → agent-34c7v6d4.js} +0 -0
  698. /package/dist/chunks/{variant-359p4xyc.js → agent-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{variant-3asan66x.js → agent-3asan66x.js} +0 -0
  700. /package/dist/chunks/{variant-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{variant-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{variant-3w5fmr99.js → agent-3w5fmr99.js} +0 -0
  703. /package/dist/chunks/{variant-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{variant-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{variant-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{variant-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{variant-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{variant-53557ph1.js → agent-53557ph1.js} +0 -0
  709. /package/dist/chunks/{variant-550bvhaj.js → agent-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{variant-5qd3pb7m.js → agent-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{variant-6prwharc.js → agent-6prwharc.js} +0 -0
  712. /package/dist/chunks/{variant-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{variant-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{variant-7m9af43g.js → agent-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{variant-822emrt2.js → agent-822emrt2.js} +0 -0
  716. /package/dist/chunks/{variant-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{variant-8n3pysct.js → agent-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{variant-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{variant-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{variant-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{variant-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{variant-af5trqkr.js → agent-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{variant-afrmfg78.js → agent-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{variant-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{variant-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{variant-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{variant-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{variant-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{variant-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{variant-d9fn303g.js → agent-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{variant-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{variant-dajrwvna.js → agent-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{variant-dap0rakb.js → agent-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{variant-df08tz66.js → agent-df08tz66.js} +0 -0
  735. /package/dist/chunks/{variant-dy18nga0.js → agent-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{variant-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{variant-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{variant-ec1grn59.js → agent-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{variant-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{variant-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{variant-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{variant-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{variant-faypxj3z.js → agent-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{variant-fd410y7t.js → agent-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{variant-fxgpk5d8.js → agent-fxgpk5d8.js} +0 -0
  746. /package/dist/chunks/{variant-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
  747. /package/dist/chunks/{variant-g86h250q.js → agent-g86h250q.js} +0 -0
  748. /package/dist/chunks/{variant-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
  749. /package/dist/chunks/{variant-gftt206x.js → agent-gftt206x.js} +0 -0
  750. /package/dist/chunks/{variant-hk9envan.js → agent-hk9envan.js} +0 -0
  751. /package/dist/chunks/{variant-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{variant-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{variant-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{variant-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{variant-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{variant-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{variant-mp448xyj.js → agent-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{variant-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{variant-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{variant-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{variant-njntx4h6.js → agent-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{variant-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{variant-q74kybfr.js → agent-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{variant-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{variant-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{variant-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{variant-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
  768. /package/dist/chunks/{variant-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
  769. /package/dist/chunks/{variant-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
  770. /package/dist/chunks/{variant-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
  771. /package/dist/chunks/{variant-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{variant-w803qqfp.js → agent-w803qqfp.js} +0 -0
  773. /package/dist/chunks/{variant-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
  774. /package/dist/chunks/{variant-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{variant-wtztk69x.js → agent-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{variant-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{variant-x61499pn.js → agent-x61499pn.js} +0 -0
  778. /package/dist/chunks/{variant-y44na4kk.js → agent-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{variant-y8cydn3q.js → agent-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{variant-y8f7s663.js → agent-y8f7s663.js} +0 -0
  781. /package/dist/chunks/{variant-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{variant-ym463w8f.js → agent-ym463w8f.js} +0 -0
  783. /package/dist/chunks/{variant-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
  784. /package/dist/chunks/{variant-z9919s4g.js → agent-z9919s4g.js} +0 -0
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service83
3
- } from "./variant-9w3q8q8k.js";
2
+ Service81
3
+ } from "./agent-mc5gsmcy.js";
4
4
  import {
5
- Service37
6
- } from "./variant-6hay09zr.js";
5
+ Service50
6
+ } from "./agent-qhbttv6z.js";
7
7
  import {
8
8
  Error4
9
- } from "./variant-gwyfdq8m.js";
9
+ } from "./agent-wmvjsdxp.js";
10
10
  import {
11
- Service48
12
- } from "./variant-w1d288hs.js";
11
+ Service84
12
+ } from "./agent-ygz1yfbt.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./variant-8m5xe4tx.js";
15
+ } from "./agent-1gpb38yh.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./variant-ec1grn59.js";
18
+ } from "./agent-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./variant-273qqx2t.js";
21
+ } from "./agent-r8jtv4kk.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./variant-tdstcens.js";
24
+ } from "./agent-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./variant-pwkca9pk.js";
27
+ } from "./agent-v3v4sgpm.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./variant-zyk1yjk8.js";
30
+ } from "./agent-wecqtg5s.js";
31
31
  import {
32
32
  __export
33
- } from "./variant-9rqn6x4v.js";
33
+ } from "./agent-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
52
52
  var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
53
53
  var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
54
54
  var make3 = Effect.gen(function* () {
55
- const bus = yield* Service83;
55
+ const bus = yield* Service81;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service37;
58
- const toolOutput = yield* Service48;
57
+ const snapshots = yield* Service50;
58
+ const toolOutput = yield* Service84;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./variant-z5v4ffb3.js";
3
+ } from "./agent-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./variant-magykp64.js";
6
+ } from "./agent-mjymc32g.js";
7
7
  import {
8
- Info14
9
- } from "./variant-gmmdfr2g.js";
8
+ Info10
9
+ } from "./agent-03xyy9gs.js";
10
10
  import {
11
11
  Info12
12
- } from "./variant-v5dkyp31.js";
12
+ } from "./agent-tkmwgdpd.js";
13
13
  import {
14
- Info13
15
- } from "./variant-4xpgt2w9.js";
14
+ Info9
15
+ } from "./agent-w39jehkq.js";
16
16
  import {
17
17
  Spec2
18
- } from "./variant-2k8khapm.js";
18
+ } from "./agent-7dqw4kz8.js";
19
19
  import {
20
- Info16
21
- } from "./variant-n8vdnqrc.js";
20
+ Info8
21
+ } from "./agent-bx0gyb4h.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -27,10 +27,10 @@ import {
27
27
  migrateMcp2,
28
28
  migrateProvider2,
29
29
  providerID2
30
- } from "./variant-13phwz10.js";
30
+ } from "./agent-asw8c91m.js";
31
31
  import {
32
32
  __export
33
- } from "./variant-9rqn6x4v.js";
33
+ } from "./agent-9rqn6x4v.js";
34
34
 
35
35
  // src/config/normalize.ts
36
36
  var exports_normalize = {};
@@ -102,7 +102,7 @@ function normalize2(input) {
102
102
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
103
103
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
104
104
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
105
- const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
105
+ const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
106
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
107
107
  const migratedSmallModel = modelSelection2(legacySmallModel);
108
108
  if (legacySmallModel && !migratedSmallModel)
@@ -116,7 +116,7 @@ function normalize2(input) {
116
116
  model: migratedSmallModel,
117
117
  ...legacyAgents.title
118
118
  };
119
- const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
119
+ const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
120
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
121
121
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
122
122
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
217
217
  normalizeMcpTimeout(value, timeout, path, diagnostics);
218
218
  return;
219
219
  }
220
- const server = decodeValue(Info13, value, path, diagnostics);
220
+ const server = decodeValue(Info9, value, path, diagnostics);
221
221
  if (server !== undefined)
222
222
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
223
223
  });
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
413
413
  diagnoseProviderUnsupported(raw, path, diagnostics);
414
414
  if (invalidProviderOverlays(raw, path, diagnostics))
415
415
  return [];
416
- const provider = decodeValue(Info16, raw, path, diagnostics);
416
+ const provider = decodeValue(Info8, raw, path, diagnostics);
417
417
  if (provider === undefined)
418
418
  return [];
419
419
  const destination = providerID2(name);
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./variant-z5v4ffb3.js";
5
+ } from "./agent-z5v4ffb3.js";
6
6
  import {
7
- Service41,
8
- node44
9
- } from "./variant-gfds2h31.js";
7
+ Service54,
8
+ node57
9
+ } from "./agent-84kwgfzz.js";
10
10
  import {
11
11
  Content2
12
- } from "./variant-5gxvh74d.js";
12
+ } from "./agent-8j0012y3.js";
13
13
  import {
14
14
  detect2
15
- } from "./variant-3smtnn6g.js";
15
+ } from "./agent-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./variant-9rqn6x4v.js";
18
+ } from "./agent-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -331,12 +331,12 @@ var nthNewline = (bytes, count) => {
331
331
  }
332
332
  };
333
333
  var layer = Layer.effect(Service9, Effect.gen(function* () {
334
- const environment = yield* Service41;
334
+ const environment = yield* Service54;
335
335
  return Service9.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node11 = makeLocationNode({ service: Service9, layer, deps: [node44] });
340
+ var node11 = makeLocationNode({ service: Service9, layer, deps: [node57] });
341
341
 
342
342
  export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service9, read2, node11, exports_read_filesystem };
@@ -1,46 +1,46 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./variant-9w3q8q8k.js";
2
+ Service81,
3
+ node85
4
+ } from "./agent-mc5gsmcy.js";
5
5
  import {
6
- node66
7
- } from "./variant-dkkxy9wz.js";
6
+ node51
7
+ } from "./agent-ej7nfns1.js";
8
8
  import {
9
9
  Service4,
10
10
  node6
11
- } from "./variant-ye8czdsw.js";
11
+ } from "./agent-vx4kd0j3.js";
12
12
  import {
13
- Service35
14
- } from "./variant-619r8v3y.js";
13
+ Service40
14
+ } from "./agent-f81tjggh.js";
15
15
  import {
16
- node22,
16
+ node25,
17
17
  ID3
18
- } from "./variant-yj7yjf4r.js";
18
+ } from "./agent-hfetwrmg.js";
19
19
  import {
20
- Service5,
21
- node7
22
- } from "./variant-cmwkp3r5.js";
20
+ Service10,
21
+ node12
22
+ } from "./agent-8v6pyhej.js";
23
23
  import {
24
24
  requirements2,
25
25
  guarded2,
26
26
  list2
27
- } from "./variant-xm1s6dzm.js";
27
+ } from "./agent-3tm29b2b.js";
28
28
  import {
29
- make10,
29
+ make11,
30
30
  LoadError2
31
- } from "./variant-2yxe94w7.js";
31
+ } from "./agent-m8n59xp2.js";
32
32
  import {
33
33
  Updated2,
34
- Service7,
35
- node9
36
- } from "./variant-90nsq7vp.js";
34
+ Service12,
35
+ node14
36
+ } from "./agent-5ymje97q.js";
37
37
  import {
38
- Service6,
39
- node8
40
- } from "./variant-bydnjh3t.js";
38
+ Service5,
39
+ node7
40
+ } from "./agent-ftjf86m5.js";
41
41
  import {
42
42
  __export
43
- } from "./variant-9rqn6x4v.js";
43
+ } from "./agent-9rqn6x4v.js";
44
44
 
45
45
  // src/plugin/supervisor.ts
46
46
  var exports_supervisor = {};
@@ -126,13 +126,13 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
126
126
  };
127
127
  });
128
128
  var layer4 = Layer.effectDiscard(Effect.gen(function* () {
129
- const registry = yield* Service35;
130
- const sdk = yield* Service7;
131
- const instance = yield* Service5;
129
+ const registry = yield* Service40;
130
+ const sdk = yield* Service12;
131
+ const instance = yield* Service10;
132
132
  const sources = yield* Service4;
133
- const modules = yield* make10();
134
- const bus = yield* Service83;
135
- const updates = yield* Service6;
133
+ const modules = yield* make11();
134
+ const bus = yield* Service81;
135
+ const updates = yield* Service5;
136
136
  const internal = yield* list2();
137
137
  let release = yield* registry.hold();
138
138
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -207,14 +207,14 @@ var layer4 = Layer.effectDiscard(Effect.gen(function* () {
207
207
  })), Effect.forkScoped({ startImmediately: true }));
208
208
  }));
209
209
  var nodeDeps = [
210
- node22,
211
- node9,
212
- node7,
210
+ node25,
211
+ node14,
212
+ node12,
213
213
  node6,
214
- node8,
215
- node87,
214
+ node7,
215
+ node85,
216
216
  Npm.node,
217
- node66,
217
+ node51,
218
218
  requirements2
219
219
  ];
220
220
  function pluginSource(target) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service83,
3
- node87
4
- } from "./variant-9w3q8q8k.js";
2
+ Service81,
3
+ node85
4
+ } from "./agent-mc5gsmcy.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./variant-rdw6cm16.js";
8
+ } from "./agent-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./variant-db2wf4at.js";
11
+ } from "./agent-addxnjmp.js";
12
12
  import {
13
- ID9,
14
- Service68,
15
- node72,
16
- Event15
17
- } from "./variant-27k4znhv.js";
13
+ ID14,
14
+ Service76,
15
+ node80,
16
+ Event18
17
+ } from "./agent-rgvftgaz.js";
18
18
  import {
19
- Service78,
20
- node82
21
- } from "./variant-genng97f.js";
19
+ Service79,
20
+ node83
21
+ } from "./agent-848sxtqq.js";
22
22
  import {
23
23
  __export
24
- } from "./variant-9rqn6x4v.js";
24
+ } from "./agent-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -38,13 +38,13 @@ __export(exports_provider3, {
38
38
  AISDK_PREFIX: () => AISDK_PREFIX2,
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
41
- Event: () => Event14,
42
- ID: () => ID8,
43
- Info: () => Info18,
41
+ Event: () => Event17,
42
+ ID: () => ID13,
43
+ Info: () => Info22,
44
44
  LoadError: () => LoadError3,
45
45
  Provider: () => exports_provider3,
46
- Request: () => Request2,
47
- Service: () => Service67,
46
+ Request: () => Request3,
47
+ Service: () => Service75,
48
48
  Settings: () => Settings2,
49
49
  Transport: () => Transport2,
50
50
  aisdk: () => aisdk2,
@@ -54,7 +54,7 @@ __export(exports_provider3, {
54
54
  mergeOverlay: () => mergeOverlay2,
55
55
  modelSettings: () => modelSettings2,
56
56
  nativeSettings: () => nativeSettings2,
57
- node: () => node71,
57
+ node: () => node79,
58
58
  packageName: () => packageName2,
59
59
  timeout: () => timeout2,
60
60
  timeouts: () => timeouts2
@@ -68,8 +68,8 @@ import { isRecord } from "@opencode/ai/utils/record";
68
68
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
69
69
  import { Credential } from "@opencode/schema/credential";
70
70
  import { freeze } from "immer";
71
- import { Event as Event14 } from "@opencode/schema/provider";
72
- var ID8 = Provider.ID;
71
+ import { Event as Event17 } from "@opencode/schema/provider";
72
+ var ID13 = Provider.ID;
73
73
  var AISDK_PREFIX2 = "aisdk:";
74
74
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
75
75
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -228,13 +228,13 @@ function mergeHeaders2(base, overlay) {
228
228
  return result;
229
229
  }, new Map).values());
230
230
  }
231
- var Request2 = Provider.Request;
231
+ var Request3 = Provider.Request;
232
232
  var Compaction3 = Provider.Compaction;
233
233
  var Transport2 = Provider.Transport;
234
234
  var Settings2 = Provider.Settings;
235
- var Info18 = Provider.Info;
235
+ var Info22 = Provider.Info;
236
236
 
237
- class Service67 extends Context.Service()("@opencode/Provider") {
237
+ class Service75 extends Context.Service()("@opencode/Provider") {
238
238
  }
239
239
  var definitions = new WeakMap;
240
240
  function index(providerID, models) {
@@ -247,10 +247,10 @@ function index(providerID, models) {
247
247
  definitions.set(models, indexes);
248
248
  return result;
249
249
  }
250
- var layer = Layer.effect(Service67, Effect.gen(function* () {
251
- const bus = yield* Service83;
252
- const integrations = yield* Service68;
253
- const location = yield* Service78;
250
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
251
+ const bus = yield* Service81;
252
+ const integrations = yield* Service76;
253
+ const location = yield* Service79;
254
254
  const state = create3({
255
255
  name: "provider",
256
256
  initial: () => new Map,
@@ -261,7 +261,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
261
261
  const current = records.get(id);
262
262
  if (current)
263
263
  return current;
264
- const added = { provider: Info18.empty(id), models: new Map };
264
+ const added = { provider: Info22.empty(id), models: new Map };
265
265
  records.set(id, added);
266
266
  maps.add(added.models);
267
267
  return added;
@@ -342,7 +342,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
342
342
  const available = Array.from(records.values()).filter((record) => {
343
343
  if (record.provider.activation === "disabled")
344
344
  return false;
345
- const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
345
+ const integration = byID.get(record.provider.integrationID ?? ID14.make(record.provider.id));
346
346
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
347
347
  return false;
348
348
  if (record.provider.activation === "enabled")
@@ -368,8 +368,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
368
368
  location: { directory: location.directory, workspaceID: location.workspaceID }
369
369
  });
370
370
  });
371
- yield* bus.subscribe([Event15.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
372
- return Service67.of({
371
+ yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
372
+ return Service75.of({
373
373
  transform: state.transform,
374
374
  reload: state.reload,
375
375
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -378,7 +378,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
378
378
  snapshot
379
379
  });
380
380
  }));
381
- var node71 = makeLocationNode({ service: Service67, layer, deps: [node87, node72, node82] });
381
+ var node79 = makeLocationNode({ service: Service75, layer, deps: [node85, node80, node83] });
382
382
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
383
383
  const module = yield* Effect.tryPromise({
384
384
  try: () => {
@@ -653,4 +653,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
653
653
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
654
654
  var decode = Schema2.decodeUnknownSync(Legacy);
655
655
 
656
- export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info18, Service67, node71, exports_provider3, Event14 };
656
+ export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, timeout2, timeouts2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service75, node79, exports_provider3, Event17 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
- make22,
4
+ make21,
5
5
  diffByKey2
6
- } from "./variant-wv396vej.js";
6
+ } from "./agent-s8d7rejh.js";
7
7
  import {
8
8
  evaluate2
9
- } from "./variant-2vjdd89t.js";
9
+ } from "./agent-cz4pebbb.js";
10
10
  import {
11
- Service34,
12
- node38
13
- } from "./variant-zr84kw0b.js";
11
+ Service38,
12
+ node42
13
+ } from "./agent-64jy87jm.js";
14
14
  import {
15
15
  namespace2,
16
- name13
17
- } from "./variant-fzf3d4e0.js";
16
+ name14
17
+ } from "./agent-seefsy74.js";
18
18
  import {
19
19
  __export
20
- } from "./variant-9rqn6x4v.js";
20
+ } from "./agent-9rqn6x4v.js";
21
21
 
22
22
  // src/mcp/instructions.ts
23
23
  var exports_instructions2 = {};
24
24
  __export(exports_instructions2, {
25
25
  McpInstructions: () => exports_instructions2,
26
- Service: () => Service27,
27
- layer: () => layer9,
28
- node: () => node31
26
+ Service: () => Service32,
27
+ layer: () => layer12,
28
+ node: () => node36
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Context, Effect, Layer, Schema } from "effect";
@@ -61,14 +61,14 @@ var update = (previous, current) => {
61
61
  `);
62
62
  };
63
63
 
64
- class Service27 extends Context.Service()("@opencode/McpInstructions") {
64
+ class Service32 extends Context.Service()("@opencode/McpInstructions") {
65
65
  }
66
- var layer9 = Layer.effect(Service27, Effect.gen(function* () {
67
- const mcp = yield* Service34;
68
- return Service27.of({
66
+ var layer12 = Layer.effect(Service32, Effect.gen(function* () {
67
+ const mcp = yield* Service38;
68
+ return Service32.of({
69
69
  load: Effect.fn("McpInstructions.load")(function* (permissions) {
70
- const source = (value) => make22({
71
- key: Key4.make("core/mcp-guidance"),
70
+ const source = (value) => make21({
71
+ key: Key3.make("core/mcp-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(value),
74
74
  render: {
@@ -86,7 +86,7 @@ var layer9 = Layer.effect(Service27, Effect.gen(function* () {
86
86
  const codemode = owned[0]?.codemode !== false;
87
87
  if (codemode && !canExecute)
88
88
  return [];
89
- if (!owned.some((tool) => evaluate2(name13(tool.server, tool.name), "*", permissions).effect !== "deny"))
89
+ if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", permissions).effect !== "deny"))
90
90
  return [];
91
91
  return [
92
92
  codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
@@ -96,6 +96,6 @@ var layer9 = Layer.effect(Service27, Effect.gen(function* () {
96
96
  })
97
97
  });
98
98
  }));
99
- var node31 = makeLocationNode({ service: Service27, layer: layer9, deps: [node38] });
99
+ var node36 = makeLocationNode({ service: Service32, layer: layer12, deps: [node42] });
100
100
 
101
- export { Service27, layer9, node31, exports_instructions2 };
101
+ export { Service32, layer12, node36, exports_instructions2 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./variant-9rqn6x4v.js";
3
+ } from "./agent-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service76,
10
- node: () => node80
9
+ Service: () => Service68,
10
+ node: () => node71
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service76 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service68 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service76, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service76.of({ has, register, trigger });
57
+ return Service68.of({ has, register, trigger });
58
58
  }));
59
- var node80 = makeLocationNode({ service: Service76, layer, deps: [] });
59
+ var node71 = makeLocationNode({ service: Service68, layer, deps: [] });
60
60
 
61
- export { Service76, node80, exports_hooks };
61
+ export { Service68, node71, exports_hooks };