@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,26 +1,26 @@
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
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./variant-tazgh4e4.js";
9
+ } from "./agent-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./variant-kg3zg8yk.js";
12
+ } from "./agent-9nb94ttp.js";
13
13
  import {
14
- Service78,
15
- node82
16
- } from "./variant-genng97f.js";
14
+ Service79,
15
+ node83
16
+ } from "./agent-848sxtqq.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./variant-rdw6cm16.js";
20
+ } from "./agent-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./variant-9rqn6x4v.js";
23
+ } from "./agent-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -32,9 +32,9 @@ __export(exports_vcs, {
32
32
  Info: () => Info5,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service22,
35
+ Service: () => Service28,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node25
37
+ node: () => node31
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service22 extends Context.Service()("@opencode/Vcs") {
57
+ class Service28 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service22, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
- const location = yield* Service78;
62
- const bus = yield* Service83;
61
+ const location = yield* Service79;
62
+ const bus = yield* Service81;
63
63
  const root = yield* Effect.scope;
64
64
  const fork = yield* FiberSet.makeRuntime();
65
65
  const vcs = location.vcs;
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service22.of({
132
+ return Service28.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node25 = makeLocationNode({
191
- service: Service22,
190
+ var node31 = makeLocationNode({
191
+ service: Service28,
192
192
  layer,
193
- deps: [FSUtil.node, node82, node87]
193
+ deps: [FSUtil.node, node83, node85]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service22, node25, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, InitializeError2, Service28, node31, exports_vcs };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service36
3
- } from "./variant-3ha3xwk3.js";
2
+ Service52
3
+ } from "./agent-4kmwdp9k.js";
4
4
  import {
5
- Service57
6
- } from "./variant-eqkxs06z.js";
5
+ Service62
6
+ } from "./agent-nzq7ck9f.js";
7
7
  import {
8
8
  awaitActivation2
9
- } from "./variant-619r8v3y.js";
9
+ } from "./agent-f81tjggh.js";
10
10
  import {
11
11
  __export
12
- } from "./variant-9rqn6x4v.js";
12
+ } from "./agent-9rqn6x4v.js";
13
13
 
14
14
  // src/session/command.ts
15
15
  var exports_command3 = {};
@@ -19,8 +19,8 @@ __export(exports_command3, {
19
19
  });
20
20
  import { Effect } from "effect";
21
21
  var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
22
- const instances = yield* Service57;
23
- const commands = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
22
+ const instances = yield* Service62;
23
+ const commands = yield* awaitActivation2.pipe(Effect.andThen(Service52), instances.provide(input.session));
24
24
  yield* commands.execute({
25
25
  name: input.command,
26
26
  invocation: {
@@ -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/sqlite.ts
6
6
  var exports_sqlite = {};
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./variant-z5v4ffb3.js";
3
+ } from "./agent-z5v4ffb3.js";
4
4
  import {
5
- Info10,
6
- ID6,
5
+ Info15,
6
+ ID7,
7
7
  Name2
8
- } from "./variant-dgqg0y62.js";
8
+ } from "./agent-pm6p0qfa.js";
9
9
  import {
10
- Service62
11
- } from "./variant-gxre2ca4.js";
10
+ Service47
11
+ } from "./agent-d3f2prkd.js";
12
12
  import {
13
13
  __export
14
- } from "./variant-9rqn6x4v.js";
14
+ } from "./agent-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill3 = {};
@@ -430,15 +430,15 @@ var Plugin49 = define({
430
430
  effect: Effect.fn(function* (ctx) {
431
431
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
432
432
  yield* ctx.skill.transform((editor) => {
433
- editor.add(Info10.make({
434
- id: ID6.make("opencode"),
433
+ editor.add(Info15.make({
434
+ id: ID7.make("opencode"),
435
435
  name: Name2.make("OpenCode"),
436
436
  description: OpencodeDescription2,
437
437
  path: AbsolutePath2.make("/builtin/opencode.md"),
438
438
  content: OpencodeContent2
439
439
  }));
440
- editor.add(Info10.make({
441
- id: ID6.make("report"),
440
+ editor.add(Info15.make({
441
+ id: ID7.make("report"),
442
442
  name: Name2.make("Report"),
443
443
  description: REPORT_DESCRIPTION,
444
444
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
466
466
  `);
467
467
  });
468
468
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
469
- const config = yield* Service62;
469
+ const config = yield* Service47;
470
470
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
471
471
  });
472
472
  function terminal() {
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service41
3
- } from "./variant-gfds2h31.js";
2
+ Service54
3
+ } from "./agent-84kwgfzz.js";
4
4
  import {
5
- Service13,
5
+ Service22,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./variant-vrc7s6sw.js";
8
+ } from "./agent-4mp2bwzd.js";
9
9
  import {
10
- Service53
11
- } from "./variant-bytkh039.js";
10
+ Service20
11
+ } from "./agent-fd8908de.js";
12
12
  import {
13
- Service72
14
- } from "./variant-2vjdd89t.js";
13
+ Service65
14
+ } from "./agent-cz4pebbb.js";
15
15
  import {
16
- Service71
17
- } from "./variant-mxtpa36p.js";
16
+ Service15
17
+ } from "./agent-x2nf5h0k.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./variant-6prwharc.js";
20
+ } from "./agent-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./variant-9rqn6x4v.js";
23
+ } from "./agent-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input5,
29
- Output: () => Output4,
30
- Plugin: () => Plugin5,
28
+ Input: () => Input3,
29
+ Output: () => Output2,
30
+ Plugin: () => Plugin22,
31
31
  WriteTool: () => exports_write,
32
- name: () => name5,
33
- toModelContent: () => toModelContent3
32
+ name: () => name3,
33
+ toModelContent: () => toModelContent2
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name5 = "write";
39
- var Input5 = Schema.Struct({
38
+ var name3 = "write";
39
+ var Input3 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output4 = Schema.Struct({
45
+ var Output2 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent3 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin5 = {
51
+ var toModelContent2 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin22 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service71;
56
- const fileMutation = yield* Service13;
57
- const environment = yield* Service41;
58
- const formatter = yield* Service53;
59
- const permission = yield* Service72;
55
+ const access = yield* Service15;
56
+ const fileMutation = yield* Service22;
57
+ const environment = yield* Service54;
58
+ const formatter = yield* Service20;
59
+ const permission = yield* Service65;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name5,
61
+ name: name3,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input5,
69
- output: Output4,
68
+ input: Input3,
69
+ output: Output2,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent3(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent2(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name5, Input5, Output4, toModelContent3, Plugin5, exports_write };
101
+ export { name3, Input3, Output2, toModelContent2, Plugin22, exports_write };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./variant-qfa1cgps.js";
3
+ } from "./agent-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./variant-h2b79v29.js";
6
+ } from "./agent-3cegwx68.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./agent-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service40,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service40 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service40.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service40, awaitActivation2, exports_service };
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service69
3
- } from "./variant-w8pj8qhp.js";
2
+ Service78
3
+ } from "./agent-xsz0k8gc.js";
4
4
  import {
5
- Service72
6
- } from "./variant-2vjdd89t.js";
5
+ Service65
6
+ } from "./agent-cz4pebbb.js";
7
7
  import {
8
8
  __export
9
- } from "./variant-9rqn6x4v.js";
9
+ } from "./agent-9rqn6x4v.js";
10
10
 
11
11
  // src/tool/plugin/question.ts
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input13,
15
+ Input: () => Input14,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin50,
18
18
  QuestionTool: () => exports_question,
19
19
  description: () => description6,
20
- name: () => name14,
20
+ name: () => name13,
21
21
  toModelContent: () => toModelContent7
22
22
  });
23
23
  import { ToolFailure } from "@opencode/ai";
24
24
  import { Effect, Schema } from "effect";
25
25
  import { Question } from "@opencode/schema/question";
26
- var name14 = "question";
26
+ var name13 = "question";
27
27
  var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
28
28
  1. Gather user preferences or requirements
29
29
  2. Clarify ambiguous instructions
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input13 = Schema.Struct({
37
+ var Input14 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin50 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service69;
57
- const permission = yield* Service72;
56
+ const forms = yield* Service78;
57
+ const permission = yield* Service65;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
- name: name14,
59
+ name: name13,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input13,
62
+ input: Input14,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -117,4 +117,4 @@ function toField(question, index) {
117
117
  };
118
118
  }
119
119
 
120
- export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
120
+ export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service78,
3
- node82
4
- } from "./variant-genng97f.js";
2
+ Service79,
3
+ node83
4
+ } from "./agent-848sxtqq.js";
5
5
  import {
6
6
  create3
7
- } from "./variant-rdw6cm16.js";
7
+ } from "./agent-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./variant-9rqn6x4v.js";
10
+ } from "./agent-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
13
  var exports_formatter2 = {};
14
14
  __export(exports_formatter2, {
15
15
  Formatter: () => exports_formatter2,
16
- Service: () => Service53,
17
- node: () => node57
16
+ Service: () => Service20,
17
+ node: () => node22
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service53 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service20 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service53, Effect.gen(function* () {
27
- const location = yield* Service78;
26
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
27
+ const location = yield* Service79;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service53.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service20.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node57 = makeLocationNode({
91
- service: Service53,
90
+ var node22 = makeLocationNode({
91
+ service: Service20,
92
92
  layer,
93
- deps: [node82, AppProcess.node]
93
+ deps: [node83, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service53, node57, exports_formatter2 };
96
+ export { Service20, node22, exports_formatter2 };
@@ -2,17 +2,17 @@ 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
  RipgrepBinary2
12
- } from "./variant-8d7r5vzw.js";
12
+ } from "./agent-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./variant-9rqn6x4v.js";
15
+ } from "./agent-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
20
20
  Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service16,
24
- node: () => node18
23
+ Service: () => Service19,
24
+ node: () => node21
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service16 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service19 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
63
  var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service16, Effect.gen(function* () {
67
- const environment = yield* Service41;
66
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
67
+ const environment = yield* Service54;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
93
  return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service16.of({
95
+ return Service19.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node18 = makeLocationNode({ service: Service16, layer, deps: [node44, RipgrepBinary2.node] });
178
+ var node21 = makeLocationNode({ service: Service19, layer, deps: [node57, RipgrepBinary2.node] });
179
179
 
180
- export { Error2, InvalidPatternError2, Service16, node18, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service19, node21, exports_ripgrep };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  mergeOverlay2,
3
- Service67
4
- } from "./variant-t10yzrjw.js";
3
+ Service75
4
+ } from "./agent-44a7phry.js";
5
5
  import {
6
- Service62
7
- } from "./variant-gxre2ca4.js";
6
+ Service47
7
+ } from "./agent-d3f2prkd.js";
8
8
 
9
9
  // src/plugin/provider/configured.ts
10
10
  import { Effect, Option } from "effect";
11
11
  var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
12
- const providers = yield* Service67;
12
+ const providers = yield* Service75;
13
13
  const current = (yield* providers.get(id))?.settings;
14
- const service = yield* Effect.serviceOption(Service62);
14
+ const service = yield* Effect.serviceOption(Service47);
15
15
  const entries = Option.isSome(service) ? yield* service.value.entries() : [];
16
16
  return foldSettings2(entries, id, current);
17
17
  });
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./variant-dpkg50ah.js";
3
+ } from "./agent-nxm207yx.js";
4
4
  import {
5
5
  __export
6
- } from "./variant-9rqn6x4v.js";
6
+ } from "./agent-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service6,
13
- node: () => node8
12
+ Service: () => Service5,
13
+ node: () => node7
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service6 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service5 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service6, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service5, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service6.of({
27
+ return Service5.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node8 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
52
+ var node7 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
53
53
 
54
- export { Service6, node8, exports_update };
54
+ export { Service5, node7, exports_update };
@@ -1,29 +1,29 @@
1
- import {
2
- Service62
3
- } from "./variant-gxre2ca4.js";
4
1
  import {
5
2
  Service47
6
- } from "./variant-bdm4x938.js";
3
+ } from "./agent-d3f2prkd.js";
4
+ import {
5
+ Service57
6
+ } from "./agent-vbh50phm.js";
7
7
  import {
8
8
  observe2
9
- } from "./variant-qsdy395h.js";
9
+ } from "./agent-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./variant-9rqn6x4v.js";
12
+ } from "./agent-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin31
18
+ Plugin: () => Plugin17
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin31 = define({
22
+ var Plugin17 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service62;
26
- const image = yield* Service47;
25
+ const config = yield* Service47;
26
+ const image = yield* Service57;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin31 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin31, exports_image };
46
+ export { Plugin17, exports_image };