@opencode-ai/core 0.0.0-dev-19093 → 0.0.0-dev-19097

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 (769) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{kv-3vzcwd0g.js → file-0dnzd248.js} +18 -18
  9. package/dist/chunks/{kv-0e0xafbb.js → file-0e0xafbb.js} +2 -2
  10. package/dist/chunks/{kv-e6v427vd.js → file-0ez61b8c.js} +2 -2
  11. package/dist/chunks/{kv-gva7hxj4.js → file-0jd66zyb.js} +50 -50
  12. package/dist/chunks/{kv-0jwsre1p.js → file-0jwsre1p.js} +1 -1
  13. package/dist/chunks/{kv-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{kv-rcaq9zsf.js → file-0ra6fv6k.js} +47 -47
  15. package/dist/chunks/{kv-0s9ayhjt.js → file-0s9ayhjt.js} +1 -1
  16. package/dist/chunks/{kv-7ry09vv5.js → file-14hmenm3.js} +3 -3
  17. package/dist/chunks/{kv-1ct4r87x.js → file-1ct4r87x.js} +1 -1
  18. package/dist/chunks/{kv-21r38tys.js → file-21r38tys.js} +1 -1
  19. package/dist/chunks/{kv-j36q68jf.js → file-23d81xme.js} +21 -21
  20. package/dist/chunks/{kv-2402vzrj.js → file-2402vzrj.js} +1 -1
  21. package/dist/chunks/{kv-z63w68vq.js → file-29x78va6.js} +6 -6
  22. package/dist/chunks/{kv-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  23. package/dist/chunks/{kv-2ht70gj7.js → file-2ht70gj7.js} +1 -1
  24. package/dist/chunks/{kv-2jqmte8w.js → file-2jqmte8w.js} +2 -2
  25. package/dist/chunks/{kv-x6560wra.js → file-2ks0faxf.js} +20 -20
  26. package/dist/chunks/{kv-6z7yq735.js → file-2qvrqzxh.js} +11 -11
  27. package/dist/chunks/{kv-we11dx6z.js → file-2xxac57g.js} +7 -7
  28. package/dist/chunks/{kv-nyhhhmd8.js → file-31wgk69v.js} +3 -3
  29. package/dist/chunks/{kv-m01f3ztw.js → file-34h2c5qc.js} +10 -10
  30. package/dist/chunks/{kv-wb29ggtc.js → file-37b314vz.js} +9 -9
  31. package/dist/chunks/{kv-c9pb9e7v.js → file-393yfw74.js} +22 -22
  32. package/dist/chunks/{kv-4r9k75he.js → file-3gcnb1p9.js} +11 -11
  33. package/dist/chunks/{kv-2xgyk5yr.js → file-3gn7n68r.js} +22 -22
  34. package/dist/chunks/{kv-k9jet765.js → file-3gt9pd4h.js} +25 -25
  35. package/dist/chunks/{kv-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  36. package/dist/chunks/{kv-07h2bzrz.js → file-3mpy6pnz.js} +11 -11
  37. package/dist/chunks/{kv-9j3fyze8.js → file-3pcz81vc.js} +4 -4
  38. package/dist/chunks/{kv-3qzbfqsy.js → file-3qzbfqsy.js} +2 -2
  39. package/dist/chunks/{kv-jnv71sbj.js → file-3s09vvne.js} +24 -24
  40. package/dist/chunks/{kv-fw8cvjkv.js → file-3skezffz.js} +10 -10
  41. package/dist/chunks/{kv-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{kv-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{kv-azv14p53.js → file-3wfq9j39.js} +10 -10
  44. package/dist/chunks/{kv-0m99z42p.js → file-44c9khjj.js} +14 -14
  45. package/dist/chunks/{kv-pk93fgsn.js → file-44v8yfq1.js} +7 -7
  46. package/dist/chunks/{kv-454k5vzh.js → file-454k5vzh.js} +1 -1
  47. package/dist/chunks/{kv-aw8agfgj.js → file-45a3e49b.js} +7 -7
  48. package/dist/chunks/{kv-4a9hv4gp.js → file-4cd1d9ca.js} +36 -36
  49. package/dist/chunks/{kv-vdex1qw9.js → file-4nrfgs5y.js} +6 -6
  50. package/dist/chunks/{kv-4r2nyarf.js → file-4r2nyarf.js} +1 -1
  51. package/dist/chunks/{kv-hs1w2bsr.js → file-4wm41xfy.js} +11 -11
  52. package/dist/chunks/file-4y7bcn0g.js +4 -0
  53. package/dist/chunks/{kv-0n419b4w.js → file-4yrtw206.js} +24 -24
  54. package/dist/chunks/{kv-64z8z5x5.js → file-4z6b0fg6.js} +6 -6
  55. package/dist/chunks/{kv-q334rcf3.js → file-4zzhap0t.js} +12 -12
  56. package/dist/chunks/{kv-327n2tt7.js → file-52ba2sra.js} +8 -8
  57. package/dist/chunks/{kv-6h1zm1av.js → file-56jkv05n.js} +9 -9
  58. package/dist/chunks/{kv-p6nrge75.js → file-5bype6kp.js} +31 -31
  59. package/dist/chunks/{kv-5daktx2q.js → file-5daktx2q.js} +1 -1
  60. package/dist/chunks/{kv-5fmxt4p5.js → file-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{kv-5jvc5tg2.js → file-5jvc5tg2.js} +1 -1
  62. package/dist/chunks/{kv-e9zqpvgt.js → file-5nt6w6m1.js} +11 -11
  63. package/dist/chunks/{kv-j935v87r.js → file-5qd3pb7m.js} +2 -2
  64. package/dist/chunks/{kv-wtmp9133.js → file-5sev6q9t.js} +19 -19
  65. package/dist/chunks/{kv-ez5b8bq3.js → file-5sg4xzjf.js} +7 -7
  66. package/dist/chunks/{kv-wywtm3b4.js → file-5vw9vvj4.js} +41 -41
  67. package/dist/chunks/{kv-8brfdvrk.js → file-5wbhqr4j.js} +17 -17
  68. package/dist/chunks/{kv-cf4t2kv8.js → file-5yabaxsy.js} +28 -28
  69. package/dist/chunks/{kv-e0vtkr8g.js → file-630mrxzs.js} +6 -6
  70. package/dist/chunks/{kv-ctydmyak.js → file-6sjzp24x.js} +39 -39
  71. package/dist/chunks/{kv-vn7dnbkg.js → file-6svk08be.js} +24 -24
  72. package/dist/chunks/{kv-6tf8tr4v.js → file-6tf8tr4v.js} +2 -2
  73. package/dist/chunks/{kv-8npyp30c.js → file-6w7e9vmm.js} +8 -8
  74. package/dist/chunks/{kv-711hfp6y.js → file-711hfp6y.js} +2 -2
  75. package/dist/chunks/{kv-dyrrjrjh.js → file-7a9jwpx3.js} +4 -4
  76. package/dist/chunks/{kv-mw36zcxb.js → file-7b280chh.js} +4 -4
  77. package/dist/chunks/{kv-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{kv-1edtvy0k.js → file-7q8get4d.js} +15 -15
  79. package/dist/chunks/{kv-de6hrhrf.js → file-7qygs87w.js} +37 -37
  80. package/dist/chunks/{kv-7908ykgb.js → file-7xhvt7yp.js} +8 -8
  81. package/dist/chunks/{kv-v5dkyp31.js → file-806j49yq.js} +4 -4
  82. package/dist/chunks/{kv-f9x6rp1j.js → file-86s3977f.js} +1 -1
  83. package/dist/chunks/{kv-fjp933gm.js → file-8cvnnrjq.js} +12 -12
  84. package/dist/chunks/{kv-g14v1841.js → file-8nv4cyba.js} +46 -46
  85. package/dist/chunks/{kv-ykczf8eq.js → file-8ryk0bb9.js} +5 -5
  86. package/dist/chunks/{kv-rsdvpskb.js → file-8vfvt1k8.js} +6 -6
  87. package/dist/chunks/{kv-mpsa3nes.js → file-8vny5c8e.js} +12 -12
  88. package/dist/chunks/{kv-kg9yxd3j.js → file-8yy07cq2.js} +14 -14
  89. package/dist/chunks/{kv-93a8yfjt.js → file-93a8yfjt.js} +2 -2
  90. package/dist/chunks/{kv-qvs4vh02.js → file-95knx934.js} +16 -16
  91. package/dist/chunks/{kv-ztwbsy28.js → file-9anj5k29.js} +46 -46
  92. package/dist/chunks/{kv-j04nvffp.js → file-9cr7q51e.js} +34 -34
  93. package/dist/chunks/{kv-8s5g27jy.js → file-9d0173er.js} +9 -9
  94. package/dist/chunks/{kv-v9qvtgmd.js → file-9p3t057d.js} +7 -7
  95. package/dist/chunks/{kv-9qm9egsn.js → file-9qm9egsn.js} +2 -2
  96. package/dist/chunks/{kv-rvhss2m2.js → file-9tjsbxxt.js} +4 -4
  97. package/dist/chunks/{kv-5kceqzn1.js → file-a00nymdn.js} +9 -9
  98. package/dist/chunks/{kv-bvtk4tvq.js → file-a5bfcrc3.js} +6 -6
  99. package/dist/chunks/{kv-wh6ksyj4.js → file-a90asjze.js} +16 -16
  100. package/dist/chunks/{kv-aaet6srn.js → file-aaet6srn.js} +2 -2
  101. package/dist/chunks/{kv-w9f7wb0e.js → file-acqtp7e5.js} +10 -10
  102. package/dist/chunks/{kv-hbhn1exa.js → file-adphmdvg.js} +34 -34
  103. package/dist/chunks/{kv-y0bse006.js → file-age2sz3e.js} +11 -11
  104. package/dist/chunks/{kv-qyewj5s0.js → file-agwngab4.js} +9 -9
  105. package/dist/chunks/{kv-ajtjthsy.js → file-ajtjthsy.js} +2 -2
  106. package/dist/chunks/{kv-4qjr8vj0.js → file-amz8x7m9.js} +14 -14
  107. package/dist/chunks/{kv-tk0q86eg.js → file-apz83yk1.js} +18 -18
  108. package/dist/chunks/{kv-6h414ywr.js → file-awqyf91x.js} +5 -5
  109. package/dist/chunks/{kv-set6m918.js → file-ay8rbhkk.js} +23 -23
  110. package/dist/chunks/{kv-6ycxekxv.js → file-b4cqkbph.js} +9 -9
  111. package/dist/chunks/{kv-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  112. package/dist/chunks/{kv-b9wsbatv.js → file-b9wsbatv.js} +1 -1
  113. package/dist/chunks/{kv-bgt6msk1.js → file-bgt6msk1.js} +2 -2
  114. package/dist/chunks/{kv-jtgs360h.js → file-bnbv6b5n.js} +4 -4
  115. package/dist/chunks/{kv-zqg3qsz2.js → file-bxb1xesv.js} +4 -4
  116. package/dist/chunks/{kv-6e958v7x.js → file-c0faa19c.js} +6 -6
  117. package/dist/chunks/{kv-ba79cv5k.js → file-c29f3tza.js} +73 -73
  118. package/dist/chunks/{kv-cvwaz07y.js → file-cmhmpn4v.js} +22 -22
  119. package/dist/chunks/{kv-4rdnd30x.js → file-csk50r35.js} +37 -37
  120. package/dist/chunks/{kv-3gng8nv9.js → file-ctb8fb4q.js} +23 -23
  121. package/dist/chunks/{kv-pmqshxn9.js → file-ctg8zr71.js} +19 -19
  122. package/dist/chunks/{kv-91fwk46n.js → file-d17hrp67.js} +29 -29
  123. package/dist/chunks/{kv-grsggjxz.js → file-d1n19zpc.js} +32 -32
  124. package/dist/chunks/{kv-4ahqr3ea.js → file-d70vn4jc.js} +32 -32
  125. package/dist/chunks/{kv-d72308c8.js → file-d72308c8.js} +2 -2
  126. package/dist/chunks/{kv-wsfy2223.js → file-ddt2bs9e.js} +4 -4
  127. package/dist/chunks/{kv-mbc7zawv.js → file-dmhyt8yz.js} +9 -9
  128. package/dist/chunks/{kv-rbss7vdr.js → file-dq20fsr2.js} +9 -9
  129. package/dist/chunks/{kv-v9m13ysc.js → file-dv4a4bvf.js} +18 -18
  130. package/dist/chunks/{kv-z2wsashg.js → file-dwh2jwen.js} +13 -13
  131. package/dist/chunks/{kv-7nxyxket.js → file-e5b0qn1c.js} +1 -1
  132. package/dist/chunks/{kv-djtdz80w.js → file-e7gxy7fd.js} +4 -4
  133. package/dist/chunks/{kv-ygze9xf4.js → file-e9caa62w.js} +3 -3
  134. package/dist/chunks/{kv-3gnxtrwc.js → file-eg21w5vj.js} +7 -7
  135. package/dist/chunks/{kv-0763wtqz.js → file-er9yxp35.js} +153 -153
  136. package/dist/chunks/{kv-41mncz27.js → file-famd3pv6.js} +5 -5
  137. package/dist/chunks/{kv-waa9wdep.js → file-fjvydvzm.js} +6 -6
  138. package/dist/chunks/{kv-fn7btw4k.js → file-fngqvgwt.js} +6 -6
  139. package/dist/chunks/{kv-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{kv-y8gp91n4.js → file-fxcmktmy.js} +13 -13
  141. package/dist/chunks/{kv-fxypknc8.js → file-fxypknc8.js} +1 -1
  142. package/dist/chunks/{kv-986p65m9.js → file-g41n1fn3.js} +5 -5
  143. package/dist/chunks/{kv-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{kv-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
  145. package/dist/chunks/{kv-94kekqj1.js → file-ge17c2r8.js} +8 -8
  146. package/dist/chunks/{kv-hsm8v5na.js → file-ghw4ap3q.js} +28 -28
  147. package/dist/chunks/{kv-y9deds22.js → file-gjcg6yxb.js} +10 -10
  148. package/dist/chunks/{kv-fpdzc529.js → file-gs14xg9r.js} +9 -9
  149. package/dist/chunks/{kv-7vqq5csv.js → file-gss8xhg0.js} +30 -30
  150. package/dist/chunks/{kv-11tw25g0.js → file-gzd7t3bg.js} +4 -4
  151. package/dist/chunks/{kv-hj3nn2ka.js → file-gzqptw1h.js} +20 -20
  152. package/dist/chunks/{kv-tr6k467p.js → file-h39sbrp5.js} +7 -7
  153. package/dist/chunks/{kv-ssbg0cn7.js → file-h3y0pe43.js} +34 -34
  154. package/dist/chunks/{kv-r3y5s33r.js → file-h44eeaqk.js} +39 -39
  155. package/dist/chunks/{kv-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  156. package/dist/chunks/{kv-amc59nhp.js → file-h7qsvcff.js} +2 -2
  157. package/dist/chunks/{kv-heyhwy2w.js → file-heyhwy2w.js} +1 -1
  158. package/dist/chunks/{kv-62pfnrxw.js → file-hkv0byyz.js} +9 -9
  159. package/dist/chunks/{kv-hrvm11jt.js → file-hrvm11jt.js} +3 -3
  160. package/dist/chunks/{kv-nde3t6pb.js → file-htpahddg.js} +20 -20
  161. package/dist/chunks/{kv-2kmdnfsa.js → file-htzwhb48.js} +27 -27
  162. package/dist/chunks/{kv-g12117d9.js → file-jdv57epv.js} +53 -53
  163. package/dist/chunks/{kv-51dky10w.js → file-jtxgx949.js} +22 -22
  164. package/dist/chunks/{kv-jwcy2c2z.js → file-jwcy2c2z.js} +1 -1
  165. package/dist/chunks/{kv-9p05ydt5.js → file-jz1jqtks.js} +11 -11
  166. package/dist/chunks/{kv-z0r88r3d.js → file-jzajgxa4.js} +9 -9
  167. package/dist/chunks/{kv-0vp2h810.js → file-k12apaej.js} +5 -5
  168. package/dist/chunks/{kv-k4bwy1x5.js → file-k4bwy1x5.js} +1 -1
  169. package/dist/chunks/{kv-0rag4e4f.js → file-k8feg6vv.js} +4 -4
  170. package/dist/chunks/{kv-6c7eyv5g.js → file-keytvqp3.js} +20 -20
  171. package/dist/chunks/{kv-kg06axw8.js → file-kg06axw8.js} +1 -1
  172. package/dist/chunks/{kv-rf1xepha.js → file-kped6ekd.js} +14 -14
  173. package/dist/chunks/{kv-gr3mfh83.js → file-ktd0vvh7.js} +23 -23
  174. package/dist/chunks/{kv-hw4pv20g.js → file-kvsjn1dr.js} +2 -2
  175. package/dist/chunks/{kv-ynvk86gk.js → file-m1k88j08.js} +11 -11
  176. package/dist/chunks/{kv-n4qddg0w.js → file-m3y8433b.js} +4 -4
  177. package/dist/chunks/{kv-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{kv-v8gy3pjr.js → file-mcxg6pmm.js} +1 -1
  179. package/dist/chunks/{kv-jdszapxk.js → file-mgz9ynfp.js} +5 -5
  180. package/dist/chunks/{kv-dec85aak.js → file-mhj7q8tw.js} +25 -25
  181. package/dist/chunks/{kv-mvfsc1pv.js → file-mhkvc446.js} +3 -3
  182. package/dist/chunks/{kv-a04vk3pp.js → file-mrvbr3wc.js} +17 -17
  183. package/dist/chunks/{kv-syctsqr6.js → file-msqakgxm.js} +8 -8
  184. package/dist/chunks/{kv-tn0mb6rm.js → file-mvbayggv.js} +5 -5
  185. package/dist/chunks/file-n95b3jav.js +18 -0
  186. package/dist/chunks/{kv-ywss3cf1.js → file-nb59rc1d.js} +17 -17
  187. package/dist/chunks/{kv-9dcr27t6.js → file-nbrney8w.js} +10 -10
  188. package/dist/chunks/{kv-8y3p0gjc.js → file-nxhj2y70.js} +4 -4
  189. package/dist/chunks/{kv-a3mv2pdz.js → file-p0y053rc.js} +72 -72
  190. package/dist/chunks/{kv-483apw73.js → file-p4vn8k5j.js} +10 -10
  191. package/dist/chunks/{kv-54dwvch8.js → file-pfzekb22.js} +24 -24
  192. package/dist/chunks/{kv-98p2q5zs.js → file-pj7daft9.js} +19 -19
  193. package/dist/chunks/{kv-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{kv-1j6eeha2.js → file-pka6fkme.js} +19 -19
  195. package/dist/chunks/{kv-pknna89w.js → file-pknna89w.js} +1 -1
  196. package/dist/chunks/{kv-8fjpabk1.js → file-pm0tagmj.js} +24 -24
  197. package/dist/chunks/{kv-bct739vz.js → file-pmr4s4kc.js} +4 -4
  198. package/dist/chunks/{kv-yhemmazy.js → file-pnb07w7m.js} +9 -9
  199. package/dist/chunks/{kv-94exngkb.js → file-pwsfrk47.js} +24 -24
  200. package/dist/chunks/{kv-4zamrek1.js → file-qbdhhgha.js} +8 -8
  201. package/dist/chunks/{kv-c2rr8at4.js → file-qegxstwz.js} +12 -12
  202. package/dist/chunks/{kv-hbtmpj90.js → file-qjhp7fv4.js} +30 -30
  203. package/dist/chunks/{kv-keptat7v.js → file-qk91dsd0.js} +10 -10
  204. package/dist/chunks/{kv-qsdy395h.js → file-qsdy395h.js} +1 -1
  205. package/dist/chunks/{kv-2exvmxnk.js → file-r3pbnjm9.js} +10 -10
  206. package/dist/chunks/{kv-nsdz1sxb.js → file-r5aexrb8.js} +40 -40
  207. package/dist/chunks/{kv-r8dhm0tv.js → file-r8dhm0tv.js} +1 -1
  208. package/dist/chunks/{kv-5w5f5h43.js → file-racpc5qj.js} +29 -29
  209. package/dist/chunks/{kv-tgc5gq4n.js → file-rbr603f4.js} +11 -11
  210. package/dist/chunks/{kv-apjnhj61.js → file-rmy3e5eg.js} +3 -3
  211. package/dist/chunks/{kv-yktzjgkc.js → file-rnpxyh9g.js} +4 -4
  212. package/dist/chunks/{kv-rszjw5nd.js → file-rs5embep.js} +15 -15
  213. package/dist/chunks/{kv-cyae2b53.js → file-rt96k8tb.js} +20 -20
  214. package/dist/chunks/{kv-3jn85j34.js → file-rzsjt7my.js} +12 -12
  215. package/dist/chunks/{kv-qbyj8qxd.js → file-s3eqpch7.js} +1 -1
  216. package/dist/chunks/{kv-3rps85z5.js → file-s9eewxz3.js} +3 -3
  217. package/dist/chunks/{kv-0c2smd8y.js → file-savfhqcd.js} +16 -16
  218. package/dist/chunks/{kv-sba4qhjf.js → file-sba4qhjf.js} +1 -1
  219. package/dist/chunks/{kv-xdvenhre.js → file-sdr42knk.js} +15 -15
  220. package/dist/chunks/{kv-df3bq64p.js → file-sepmzhrx.js} +15 -15
  221. package/dist/chunks/{kv-sp5wnj6d.js → file-sp5wnj6d.js} +1 -1
  222. package/dist/chunks/{kv-e6hd9jay.js → file-ss0awb04.js} +6 -6
  223. package/dist/chunks/{kv-4gdhbjcs.js → file-ssq3ctr8.js} +4 -4
  224. package/dist/chunks/{kv-ghvapxam.js → file-sy5x4sx3.js} +3 -3
  225. package/dist/chunks/{kv-t445f1bj.js → file-t1jgjt3q.js} +10 -10
  226. package/dist/chunks/{kv-3gqhfq1r.js → file-t23z101x.js} +4 -4
  227. package/dist/chunks/{kv-2xwcamwv.js → file-t3kn21v8.js} +17 -17
  228. package/dist/chunks/{kv-avcz7j5r.js → file-t7tn68wt.js} +16 -16
  229. package/dist/chunks/{kv-rn7fzfzb.js → file-t8rvmjzx.js} +20 -20
  230. package/dist/chunks/{kv-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{kv-y8d1ay0e.js → file-tbeh7nm8.js} +9 -9
  232. package/dist/chunks/{kv-89znhe33.js → file-tcezcvh9.js} +4 -4
  233. package/dist/chunks/{kv-r5s1f9ds.js → file-thfv75je.js} +5 -5
  234. package/dist/chunks/{kv-tjykrgmx.js → file-tjykrgmx.js} +1 -1
  235. package/dist/chunks/{kv-pcdwj75n.js → file-tqr9qcpa.js} +284 -284
  236. package/dist/chunks/{kv-5ag54q36.js → file-trbf7f13.js} +24 -24
  237. package/dist/chunks/file-trrz6gpv.js +243 -0
  238. package/dist/chunks/{kv-cgxfzgsr.js → file-tt070hms.js} +1 -1
  239. package/dist/chunks/{kv-5hwm4egr.js → file-v83v14r5.js} +10 -10
  240. package/dist/chunks/{kv-c2pdtwhf.js → file-vb6d33pa.js} +10 -10
  241. package/dist/chunks/{kv-rvn46zq7.js → file-vdwwn6k7.js} +5 -5
  242. package/dist/chunks/{kv-9rjp7yvj.js → file-vk57arp5.js} +24 -24
  243. package/dist/chunks/{kv-hgeb4s25.js → file-vsr56sgz.js} +3 -3
  244. package/dist/chunks/{kv-csjjrfxs.js → file-w0v6yqj2.js} +15 -15
  245. package/dist/chunks/{kv-7sc33ysb.js → file-w2cy7nem.js} +7 -7
  246. package/dist/chunks/{kv-6abnk40k.js → file-w3jym6ha.js} +6 -6
  247. package/dist/chunks/{kv-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{kv-x7a9f5qc.js → file-w7pcjcgc.js} +11 -11
  249. package/dist/chunks/{kv-n08wtfc0.js → file-w9vya7g1.js} +18 -18
  250. package/dist/chunks/{kv-j0msafmp.js → file-warfykcc.js} +16 -16
  251. package/dist/chunks/{kv-pq3hsm1q.js → file-wcs07xvw.js} +15 -15
  252. package/dist/chunks/{kv-wd87259q.js → file-wd87259q.js} +1 -1
  253. package/dist/chunks/{kv-pkpgy38q.js → file-wgxn7ww3.js} +4 -4
  254. package/dist/chunks/{kv-nc7q88x6.js → file-wmjd8bny.js} +37 -37
  255. package/dist/chunks/{kv-xzjsw50f.js → file-wndntwen.js} +10 -10
  256. package/dist/chunks/{kv-kawst5yz.js → file-wr98cg9s.js} +61 -61
  257. package/dist/chunks/{kv-rr97n57r.js → file-wv9b9khx.js} +7 -7
  258. package/dist/chunks/{kv-g385kr8a.js → file-wxv6nqad.js} +33 -33
  259. package/dist/chunks/{kv-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{kv-zkbmddfw.js → file-x5wcxb38.js} +16 -16
  261. package/dist/chunks/{kv-0c65v11p.js → file-x6te443c.js} +43 -43
  262. package/dist/chunks/{kv-284xm0g3.js → file-x7s30cxw.js} +11 -11
  263. package/dist/chunks/{kv-tkd6bwd8.js → file-xe98bsrz.js} +11 -11
  264. package/dist/chunks/{kv-c7r09442.js → file-xj15198g.js} +17 -17
  265. package/dist/chunks/{kv-sdrecbr4.js → file-xn93qykn.js} +27 -27
  266. package/dist/chunks/{kv-7ng7exzm.js → file-xqsy6kp0.js} +1 -1
  267. package/dist/chunks/file-xraadc2q.js +22 -0
  268. package/dist/chunks/{kv-pzhf940q.js → file-y01np14z.js} +11 -11
  269. package/dist/chunks/{kv-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{kv-fngmbr2j.js → file-y8wzqhpp.js} +15 -15
  271. package/dist/chunks/{kv-yfbd16n1.js → file-yfbd16n1.js} +2 -2
  272. package/dist/chunks/{kv-rt9c2rpv.js → file-yqgv8gzc.js} +6 -6
  273. package/dist/chunks/{kv-7m27rx9w.js → file-yrfjzgmk.js} +43 -43
  274. package/dist/chunks/{kv-1ydgq2r4.js → file-yvfkj8fv.js} +5 -5
  275. package/dist/chunks/{kv-y5j2xpyk.js → file-yyeephfg.js} +11 -11
  276. package/dist/chunks/{kv-z1k01bn4.js → file-z1k01bn4.js} +2 -2
  277. package/dist/chunks/{kv-fqf57vhm.js → file-z787d7xj.js} +25 -25
  278. package/dist/chunks/{kv-hsgbf354.js → file-zg2n6y4t.js} +27 -27
  279. package/dist/chunks/{kv-kxnt8qcg.js → file-zn2pq4p8.js} +5 -5
  280. package/dist/chunks/{kv-eszkm5vj.js → file-zxc2kv8n.js} +6 -6
  281. package/dist/chunks/{kv-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  282. package/dist/codemode/catalog.js +3 -3
  283. package/dist/codemode/instructions.js +7 -7
  284. package/dist/codemode/tool.js +2 -2
  285. package/dist/command.js +77 -77
  286. package/dist/config/discovery.js +79 -79
  287. package/dist/config/markdown.js +1 -1
  288. package/dist/config/normalize.js +19 -19
  289. package/dist/config/plugin/agent.js +114 -114
  290. package/dist/config/plugin/command.js +205 -205
  291. package/dist/config/plugin/compaction.js +153 -153
  292. package/dist/config/plugin/entry-observer.js +1 -1
  293. package/dist/config/plugin/formatter.js +116 -116
  294. package/dist/config/plugin/image.js +114 -114
  295. package/dist/config/plugin/instruction.js +85 -85
  296. package/dist/config/plugin/location-watcher.js +116 -116
  297. package/dist/config/plugin/mcp.js +123 -123
  298. package/dist/config/plugin/policy.js +113 -113
  299. package/dist/config/plugin/provider.js +112 -112
  300. package/dist/config/plugin/reference.js +116 -116
  301. package/dist/config/plugin/shell.js +117 -117
  302. package/dist/config/plugin/skill-file.js +96 -96
  303. package/dist/config/plugin/skill.js +134 -134
  304. package/dist/config/plugin/snapshot.js +114 -114
  305. package/dist/config/plugin/source.js +116 -116
  306. package/dist/config/plugin/tool-output.js +116 -116
  307. package/dist/config/plugin/websearch.js +114 -114
  308. package/dist/config/variable.js +3 -3
  309. package/dist/config/watch.js +1 -1
  310. package/dist/config.js +116 -116
  311. package/dist/credential/sql.js +2 -2
  312. package/dist/credential.js +82 -82
  313. package/dist/database/database.js +64 -64
  314. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  315. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  316. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  317. package/dist/database/drizzle/index.js +13 -13
  318. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  319. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  320. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  321. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  322. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  323. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  324. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  329. package/dist/database/drizzle.js +14 -14
  330. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  331. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  332. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  333. package/dist/database/migration/20260225215848_workspace.js +1 -1
  334. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  335. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  336. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  337. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  338. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  339. package/dist/database/migration/20260323234822_events.js +1 -1
  340. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  341. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  342. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  343. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  344. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  345. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  346. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  347. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  348. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  349. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  350. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  351. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  352. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  353. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  354. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  355. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  356. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  357. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  358. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  359. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  360. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  361. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  362. package/dist/database/migration/20260611035744_credential.js +1 -1
  363. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  364. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  365. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  366. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  367. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  368. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  369. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  370. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  371. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  372. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  373. package/dist/database/migration/20260812213948_worktree.js +1 -1
  374. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  375. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  376. package/dist/database/migration.gen.js +47 -47
  377. package/dist/database/migration.js +49 -49
  378. package/dist/database/path.js +2 -2
  379. package/dist/database/schema.gen.js +1 -1
  380. package/dist/database/schema.sql.js +1 -1
  381. package/dist/database/sqlite.bun.js +1 -1
  382. package/dist/database/sqlite.js +1 -1
  383. package/dist/database/sqlite.node.js +1 -1
  384. package/dist/database/sqlite.workerd.js +1 -1
  385. package/dist/database/v1-migration.bun.js +74 -74
  386. package/dist/database/v1-migration.js +1 -1
  387. package/dist/effect/app-node-builder.js +350 -350
  388. package/dist/effect/app-node-platform.js +2 -2
  389. package/dist/effect/keyed-mutex.js +1 -1
  390. package/dist/effect/websocket-constructor.js +1 -1
  391. package/dist/environment/driver.js +1 -1
  392. package/dist/environment/environment.js +88 -88
  393. package/dist/environment/exec-defaults.js +2 -2
  394. package/dist/environment/files.js +1 -1
  395. package/dist/environment/index.js +90 -90
  396. package/dist/environment/local.js +2 -2
  397. package/dist/environment/memory.js +2 -2
  398. package/dist/environment/unavailable.js +1 -1
  399. package/dist/event/sql.js +1 -1
  400. package/dist/event-logger.js +68 -68
  401. package/dist/file-mutation.js +87 -87
  402. package/dist/file-retention.js +1 -1
  403. package/dist/file.js +1 -1
  404. package/dist/filesystem/fff.bun.js +2 -2
  405. package/dist/filesystem/fff.js +1 -1
  406. package/dist/filesystem/fff.node.js +2 -2
  407. package/dist/filesystem/fff.workerd.js +2 -2
  408. package/dist/filesystem/ignore.js +1 -1
  409. package/dist/filesystem/location-watcher-policy.js +4 -4
  410. package/dist/filesystem/location-watcher.js +217 -217
  411. package/dist/filesystem/protected.js +3 -3
  412. package/dist/filesystem/search.js +99 -99
  413. package/dist/filesystem/watcher-binding.js +3 -3
  414. package/dist/filesystem/watcher.js +13 -13
  415. package/dist/filesystem.js +102 -102
  416. package/dist/form.js +82 -82
  417. package/dist/formatter/builtins.js +4 -4
  418. package/dist/formatter.js +82 -82
  419. package/dist/generate.js +88 -88
  420. package/dist/git.js +7 -7
  421. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  422. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  423. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  424. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  425. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  426. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  427. package/dist/github-copilot/copilot-provider.js +17 -17
  428. package/dist/github-copilot/models.js +3 -3
  429. package/dist/github-copilot/openai-compatible-error.js +1 -1
  430. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  431. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  432. package/dist/github-copilot/responses/openai-error.js +1 -1
  433. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  434. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  435. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  436. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  437. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  438. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  439. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  440. package/dist/id/id.js +1 -1
  441. package/dist/image/photon.js +2 -2
  442. package/dist/image.js +6 -6
  443. package/dist/instance/service.js +1 -1
  444. package/dist/instance.js +343 -343
  445. package/dist/instruction-discovery.js +83 -83
  446. package/dist/instructions/builtins.js +82 -82
  447. package/dist/instructions/index.js +3 -3
  448. package/dist/integration/connection.js +1 -1
  449. package/dist/integration.js +85 -85
  450. package/dist/job.js +75 -75
  451. package/dist/kv/sql.js +2 -2
  452. package/dist/kv.js +71 -71
  453. package/dist/location-activity.js +83 -83
  454. package/dist/location-mutation.js +81 -81
  455. package/dist/location-service-map.js +81 -81
  456. package/dist/location-services.js +344 -344
  457. package/dist/location.js +84 -84
  458. package/dist/mcp/client.js +86 -86
  459. package/dist/mcp/index.js +104 -104
  460. package/dist/mcp/instructions.js +116 -116
  461. package/dist/mcp/oauth.js +2 -2
  462. package/dist/mcp/stdio.js +85 -85
  463. package/dist/mime.js +1 -1
  464. package/dist/modal/models.js +3 -3
  465. package/dist/model-resolver.js +85 -85
  466. package/dist/model.js +6 -6
  467. package/dist/models-dev.js +86 -86
  468. package/dist/oauth/page.js +1 -1
  469. package/dist/permission/saved.js +78 -78
  470. package/dist/permission/sql.js +5 -5
  471. package/dist/permission.js +103 -103
  472. package/dist/persistent-pty/binary.bun.js +1 -1
  473. package/dist/persistent-pty/daemon.js +1 -1
  474. package/dist/persistent-pty/index.js +84 -84
  475. package/dist/persistent-pty/pty-binding.js +1 -1
  476. package/dist/persistent-pty.js +73 -73
  477. package/dist/plugin/agent.js +96 -96
  478. package/dist/plugin/command.js +93 -93
  479. package/dist/plugin/hooks.js +5 -5
  480. package/dist/plugin/host.js +210 -210
  481. package/dist/plugin/instance.js +5 -5
  482. package/dist/plugin/internal.js +316 -316
  483. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  484. package/dist/plugin/models-dev.js +75 -75
  485. package/dist/plugin/module.js +2 -2
  486. package/dist/plugin/plan.js +96 -96
  487. package/dist/plugin/promise.js +1 -1
  488. package/dist/plugin/provider/alibaba.js +2 -2
  489. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  490. package/dist/plugin/provider/anthropic.js +4 -4
  491. package/dist/plugin/provider/azure.js +117 -117
  492. package/dist/plugin/provider/cerebras.js +2 -2
  493. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  494. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  495. package/dist/plugin/provider/cohere.js +2 -2
  496. package/dist/plugin/provider/configured.js +113 -113
  497. package/dist/plugin/provider/dynamic.js +2 -2
  498. package/dist/plugin/provider/factory.js +1 -1
  499. package/dist/plugin/provider/gateway.js +2 -2
  500. package/dist/plugin/provider/github-copilot.js +79 -79
  501. package/dist/plugin/provider/gitlab.js +3 -3
  502. package/dist/plugin/provider/google-vertex.js +2 -2
  503. package/dist/plugin/provider/kilo.js +2 -2
  504. package/dist/plugin/provider/llmgateway.js +75 -75
  505. package/dist/plugin/provider/lmstudio.js +116 -116
  506. package/dist/plugin/provider/mistral.js +2 -2
  507. package/dist/plugin/provider/modal.js +78 -78
  508. package/dist/plugin/provider/nvidia.js +2 -2
  509. package/dist/plugin/provider/ollama.js +116 -116
  510. package/dist/plugin/provider/openai-compatible.js +1 -1
  511. package/dist/plugin/provider/openai.js +79 -79
  512. package/dist/plugin/provider/opencode.js +75 -75
  513. package/dist/plugin/provider/openrouter.js +3 -3
  514. package/dist/plugin/provider/perplexity.js +2 -2
  515. package/dist/plugin/provider/sap-ai-core.js +3 -3
  516. package/dist/plugin/provider/sdk-factory.js +1 -1
  517. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  518. package/dist/plugin/provider/venice.js +2 -2
  519. package/dist/plugin/provider/vercel.js +2 -2
  520. package/dist/plugin/provider/vllm.js +116 -116
  521. package/dist/plugin/provider/xai.js +76 -76
  522. package/dist/plugin/provider/zenmux.js +2 -2
  523. package/dist/plugin/provider.js +154 -154
  524. package/dist/plugin/sdk.js +74 -74
  525. package/dist/plugin/service.js +3 -3
  526. package/dist/plugin/skill.js +131 -131
  527. package/dist/plugin/source-directory.js +1 -1
  528. package/dist/plugin/supervisor.js +335 -335
  529. package/dist/plugin/system-prompt.js +5 -5
  530. package/dist/plugin/update.js +6 -6
  531. package/dist/plugin/variant.js +4 -4
  532. package/dist/plugin/vcs/git.js +82 -82
  533. package/dist/plugin/vcs/hg.js +82 -82
  534. package/dist/plugin/warming.js +111 -111
  535. package/dist/plugin/websearch/exa.js +7 -7
  536. package/dist/plugin/websearch/firecrawl.js +8 -8
  537. package/dist/plugin/websearch/index.js +8 -8
  538. package/dist/plugin/websearch/mcp.js +4 -4
  539. package/dist/plugin/websearch/parallel.js +8 -8
  540. package/dist/plugin/websearch/tavily.js +6 -6
  541. package/dist/plugin.js +217 -217
  542. package/dist/project/schema.js +8 -8
  543. package/dist/project/sql.js +4 -4
  544. package/dist/project.js +85 -85
  545. package/dist/provider.js +5 -5
  546. package/dist/pty/protocol.js +1 -1
  547. package/dist/pty/schema.js +3 -3
  548. package/dist/pty/ticket.js +1 -1
  549. package/dist/pty.js +92 -92
  550. package/dist/reference/instructions.js +82 -82
  551. package/dist/reference.js +84 -84
  552. package/dist/repository-cache.js +76 -76
  553. package/dist/repository.js +1 -1
  554. package/dist/ripgrep/binary.js +2 -2
  555. package/dist/ripgrep.js +93 -93
  556. package/dist/rpc.js +81 -81
  557. package/dist/schema.js +1 -1
  558. package/dist/session/command.js +72 -72
  559. package/dist/session/compaction.js +125 -125
  560. package/dist/session/context.js +143 -143
  561. package/dist/session/environment.js +5 -5
  562. package/dist/session/error.js +5 -5
  563. package/dist/session/event.js +1 -1
  564. package/dist/session/execution/restart.js +214 -214
  565. package/dist/session/execution.js +120 -120
  566. package/dist/session/generate.js +144 -144
  567. package/dist/session/history.js +14 -14
  568. package/dist/session/inbox.js +86 -86
  569. package/dist/session/info.js +3 -3
  570. package/dist/session/instruction-entry.js +77 -77
  571. package/dist/session/instruction-state.js +8 -8
  572. package/dist/session/instructions.js +91 -91
  573. package/dist/session/message-updater.js +2 -2
  574. package/dist/session/message.js +1 -1
  575. package/dist/session/model-request.js +110 -110
  576. package/dist/session/model-transport.js +7 -7
  577. package/dist/session/move.js +124 -124
  578. package/dist/session/projector.js +84 -84
  579. package/dist/session/prompt.js +99 -99
  580. package/dist/session/revert.js +85 -85
  581. package/dist/session/run-coordinator.js +3 -3
  582. package/dist/session/runner/index.js +3 -3
  583. package/dist/session/runner/llm.js +220 -220
  584. package/dist/session/runner/max-steps.js +1 -1
  585. package/dist/session/runner/model.js +85 -85
  586. package/dist/session/runner/publish-llm-event.js +3 -3
  587. package/dist/session/runner/retry.js +4 -4
  588. package/dist/session/runner/step.js +119 -119
  589. package/dist/session/runner/to-llm-message.js +1 -1
  590. package/dist/session/schema.js +1 -1
  591. package/dist/session/session.js +167 -167
  592. package/dist/session/shell.js +130 -130
  593. package/dist/session/skill.js +97 -97
  594. package/dist/session/sql.js +5 -5
  595. package/dist/session/stats.js +71 -71
  596. package/dist/session/store.js +84 -84
  597. package/dist/session/subagent-completion.js +1 -1
  598. package/dist/session/subagent-job.js +203 -203
  599. package/dist/session/system-prompt.js +3 -3
  600. package/dist/session/title.js +149 -149
  601. package/dist/session/to-session-error.js +105 -105
  602. package/dist/session/transfer.js +208 -208
  603. package/dist/session/usage.js +1 -1
  604. package/dist/session.js +205 -205
  605. package/dist/shell/parse.js +6 -6
  606. package/dist/shell/result.js +1 -1
  607. package/dist/shell/scan.js +1 -1
  608. package/dist/shell/select.js +13 -13
  609. package/dist/shell.js +132 -132
  610. package/dist/skill/discovery.js +6 -6
  611. package/dist/skill/instructions.js +99 -99
  612. package/dist/skill.js +100 -100
  613. package/dist/snapshot.js +82 -82
  614. package/dist/state.js +1 -1
  615. package/dist/tool/html-markdown.js +1 -1
  616. package/dist/tool/http-body.js +1 -1
  617. package/dist/tool/mcp.js +117 -117
  618. package/dist/tool/plugin/edit.js +114 -114
  619. package/dist/tool/plugin/file-diff.js +1 -1
  620. package/dist/tool/plugin/glob.js +119 -119
  621. package/dist/tool/plugin/grep.js +119 -119
  622. package/dist/tool/plugin/opencode.js +3 -3
  623. package/dist/tool/plugin/patch.js +116 -116
  624. package/dist/tool/plugin/question.js +95 -95
  625. package/dist/tool/plugin/read.js +118 -118
  626. package/dist/tool/plugin/shell.js +210 -210
  627. package/dist/tool/plugin/skill.js +107 -107
  628. package/dist/tool/plugin/subagent.js +212 -212
  629. package/dist/tool/plugin/webfetch.js +106 -106
  630. package/dist/tool/plugin/websearch.js +104 -104
  631. package/dist/tool/plugin/write.js +114 -114
  632. package/dist/tool/read-filesystem.js +96 -96
  633. package/dist/tool/runtime.js +1 -1
  634. package/dist/tool-output.js +8 -8
  635. package/dist/tool.js +15 -15
  636. package/dist/util/error.js +1 -1
  637. package/dist/util/iife.js +1 -1
  638. package/dist/util/lazy.js +1 -1
  639. package/dist/util/slug.js +1 -1
  640. package/dist/util/token.js +1 -1
  641. package/dist/util/which.js +1 -1
  642. package/dist/util/wildcard.js +1 -1
  643. package/dist/v1/config/agent.js +7 -7
  644. package/dist/v1/config/attachment.js +4 -4
  645. package/dist/v1/config/command.js +3 -3
  646. package/dist/v1/config/config.js +16 -16
  647. package/dist/v1/config/error.js +4 -4
  648. package/dist/v1/config/formatter.js +5 -5
  649. package/dist/v1/config/layout.js +1 -1
  650. package/dist/v1/config/lsp.js +5 -5
  651. package/dist/v1/config/mcp.js +4 -4
  652. package/dist/v1/config/migrate.js +4 -4
  653. package/dist/v1/config/permission.js +7 -7
  654. package/dist/v1/config/plugin.js +1 -1
  655. package/dist/v1/config/provider-options.js +1 -1
  656. package/dist/v1/config/provider.js +4 -4
  657. package/dist/v1/config/server.js +2 -2
  658. package/dist/v1/config/skills.js +3 -3
  659. package/dist/v1/permission.js +1 -1
  660. package/dist/vcs/patch.js +1 -1
  661. package/dist/vcs.js +85 -85
  662. package/dist/websearch.js +78 -78
  663. package/dist/wellknown/plugin.js +74 -74
  664. package/dist/wellknown.js +79 -79
  665. package/dist/workspace/driver.js +5 -5
  666. package/dist/workspace/sql.js +1 -1
  667. package/dist/workspace.js +74 -74
  668. package/dist/worktree/directory.js +2 -2
  669. package/dist/worktree/git.js +7 -7
  670. package/dist/worktree/sql.js +5 -5
  671. package/dist/worktree.js +90 -90
  672. package/package.json +7 -7
  673. package/dist/chunks/kv-e3ze3pba.js +0 -4
  674. package/dist/chunks/kv-jqh9b0xq.js +0 -18
  675. package/dist/chunks/kv-pba9ahe1.js +0 -22
  676. package/dist/chunks/kv-pbpghnj4.js +0 -243
  677. /package/dist/chunks/{kv-0fabt78z.js → file-0fabt78z.js} +0 -0
  678. /package/dist/chunks/{kv-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  679. /package/dist/chunks/{kv-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  680. /package/dist/chunks/{kv-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  681. /package/dist/chunks/{kv-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  682. /package/dist/chunks/{kv-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  683. /package/dist/chunks/{kv-2710q6r3.js → file-2710q6r3.js} +0 -0
  684. /package/dist/chunks/{kv-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  685. /package/dist/chunks/{kv-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  686. /package/dist/chunks/{kv-359p4xyc.js → file-359p4xyc.js} +0 -0
  687. /package/dist/chunks/{kv-3asan66x.js → file-3asan66x.js} +0 -0
  688. /package/dist/chunks/{kv-3t738kvx.js → file-3t738kvx.js} +0 -0
  689. /package/dist/chunks/{kv-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  690. /package/dist/chunks/{kv-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  691. /package/dist/chunks/{kv-41nvscxy.js → file-41nvscxy.js} +0 -0
  692. /package/dist/chunks/{kv-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  693. /package/dist/chunks/{kv-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  694. /package/dist/chunks/{kv-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  695. /package/dist/chunks/{kv-53557ph1.js → file-53557ph1.js} +0 -0
  696. /package/dist/chunks/{kv-550bvhaj.js → file-550bvhaj.js} +0 -0
  697. /package/dist/chunks/{kv-6prwharc.js → file-6prwharc.js} +0 -0
  698. /package/dist/chunks/{kv-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  699. /package/dist/chunks/{kv-7m9af43g.js → file-7m9af43g.js} +0 -0
  700. /package/dist/chunks/{kv-822emrt2.js → file-822emrt2.js} +0 -0
  701. /package/dist/chunks/{kv-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  702. /package/dist/chunks/{kv-8n3pysct.js → file-8n3pysct.js} +0 -0
  703. /package/dist/chunks/{kv-982e01ww.js → file-982e01ww.js} +0 -0
  704. /package/dist/chunks/{kv-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  705. /package/dist/chunks/{kv-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  706. /package/dist/chunks/{kv-a1tpkmh4.js → file-a1tpkmh4.js} +0 -0
  707. /package/dist/chunks/{kv-af5trqkr.js → file-af5trqkr.js} +0 -0
  708. /package/dist/chunks/{kv-afrmfg78.js → file-afrmfg78.js} +0 -0
  709. /package/dist/chunks/{kv-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  710. /package/dist/chunks/{kv-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  711. /package/dist/chunks/{kv-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  712. /package/dist/chunks/{kv-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  713. /package/dist/chunks/{kv-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  714. /package/dist/chunks/{kv-cq35m6me.js → file-cq35m6me.js} +0 -0
  715. /package/dist/chunks/{kv-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  716. /package/dist/chunks/{kv-d9fn303g.js → file-d9fn303g.js} +0 -0
  717. /package/dist/chunks/{kv-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  718. /package/dist/chunks/{kv-dajrwvna.js → file-dajrwvna.js} +0 -0
  719. /package/dist/chunks/{kv-dap0rakb.js → file-dap0rakb.js} +0 -0
  720. /package/dist/chunks/{kv-df08tz66.js → file-df08tz66.js} +0 -0
  721. /package/dist/chunks/{kv-dy18nga0.js → file-dy18nga0.js} +0 -0
  722. /package/dist/chunks/{kv-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  723. /package/dist/chunks/{kv-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  724. /package/dist/chunks/{kv-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  725. /package/dist/chunks/{kv-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  726. /package/dist/chunks/{kv-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  727. /package/dist/chunks/{kv-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  728. /package/dist/chunks/{kv-faypxj3z.js → file-faypxj3z.js} +0 -0
  729. /package/dist/chunks/{kv-fd410y7t.js → file-fd410y7t.js} +0 -0
  730. /package/dist/chunks/{kv-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  731. /package/dist/chunks/{kv-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  732. /package/dist/chunks/{kv-g86h250q.js → file-g86h250q.js} +0 -0
  733. /package/dist/chunks/{kv-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  734. /package/dist/chunks/{kv-hk9envan.js → file-hk9envan.js} +0 -0
  735. /package/dist/chunks/{kv-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  736. /package/dist/chunks/{kv-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  737. /package/dist/chunks/{kv-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  738. /package/dist/chunks/{kv-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  739. /package/dist/chunks/{kv-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  740. /package/dist/chunks/{kv-mntxs535.js → file-mntxs535.js} +0 -0
  741. /package/dist/chunks/{kv-mp448xyj.js → file-mp448xyj.js} +0 -0
  742. /package/dist/chunks/{kv-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  743. /package/dist/chunks/{kv-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  744. /package/dist/chunks/{kv-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  745. /package/dist/chunks/{kv-njntx4h6.js → file-njntx4h6.js} +0 -0
  746. /package/dist/chunks/{kv-p8qxwesx.js → file-p8qxwesx.js} +0 -0
  747. /package/dist/chunks/{kv-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  748. /package/dist/chunks/{kv-q74kybfr.js → file-q74kybfr.js} +0 -0
  749. /package/dist/chunks/{kv-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  750. /package/dist/chunks/{kv-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  751. /package/dist/chunks/{kv-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  752. /package/dist/chunks/{kv-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  753. /package/dist/chunks/{kv-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  754. /package/dist/chunks/{kv-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  755. /package/dist/chunks/{kv-se0s1eqw.js → file-se0s1eqw.js} +0 -0
  756. /package/dist/chunks/{kv-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  757. /package/dist/chunks/{kv-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  758. /package/dist/chunks/{kv-twg0f83k.js → file-twg0f83k.js} +0 -0
  759. /package/dist/chunks/{kv-w803qqfp.js → file-w803qqfp.js} +0 -0
  760. /package/dist/chunks/{kv-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  761. /package/dist/chunks/{kv-wtztk69x.js → file-wtztk69x.js} +0 -0
  762. /package/dist/chunks/{kv-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  763. /package/dist/chunks/{kv-x1b8g1yb.js → file-x1b8g1yb.js} +0 -0
  764. /package/dist/chunks/{kv-x61499pn.js → file-x61499pn.js} +0 -0
  765. /package/dist/chunks/{kv-y44na4kk.js → file-y44na4kk.js} +0 -0
  766. /package/dist/chunks/{kv-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  767. /package/dist/chunks/{kv-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  768. /package/dist/chunks/{kv-z9919s4g.js → file-z9919s4g.js} +0 -0
  769. /package/dist/chunks/{kv-zbjnn3ac.js → file-zbjnn3ac.js} +0 -0
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  ID8,
3
- Service56
4
- } from "./kv-v9m13ysc.js";
3
+ Service53
4
+ } from "./file-dv4a4bvf.js";
5
5
  import {
6
6
  latest2,
7
- Service50
8
- } from "./kv-7m27rx9w.js";
7
+ Service57
8
+ } from "./file-yrfjzgmk.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./kv-cq35m6me.js";
11
+ } from "./file-cq35m6me.js";
12
12
  import {
13
- Service42
14
- } from "./kv-rszjw5nd.js";
13
+ Service45
14
+ } from "./file-rs5embep.js";
15
15
  import {
16
16
  evaluate2,
17
- Service53
18
- } from "./kv-nsdz1sxb.js";
17
+ Service50
18
+ } from "./file-r5aexrb8.js";
19
19
  import {
20
- Service21
21
- } from "./kv-a3mv2pdz.js";
20
+ Service24
21
+ } from "./file-p0y053rc.js";
22
22
  import {
23
23
  NO_TEXT2
24
- } from "./kv-x1ezjp6w.js";
24
+ } from "./file-x1ezjp6w.js";
25
25
  import {
26
- make5
27
- } from "./kv-9p05ydt5.js";
26
+ make8
27
+ } from "./file-jz1jqtks.js";
28
28
  import {
29
29
  __export
30
- } from "./kv-9rqn6x4v.js";
30
+ } from "./file-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input3,
36
- Output: () => Output3,
37
- Plugin: () => Plugin3,
35
+ Input: () => Input8,
36
+ Output: () => Output5,
37
+ Plugin: () => Plugin39,
38
38
  SubagentTool: () => exports_subagent,
39
- description: () => description2,
40
- name: () => name3
39
+ description: () => description4,
40
+ name: () => name8
41
41
  });
42
42
  import { ToolFailure } from "@opencode-ai/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name3 = "subagent";
44
+ var name8 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input3 = Schema.Struct({
55
+ var Input8 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,12 +63,12 @@ var Input3 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output3 = Schema.Struct({
66
+ var Output5 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
70
70
  });
71
- var description2 = [
71
+ var description4 = [
72
72
  "Spawns an agent in a child session to work on the specified task.",
73
73
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
74
74
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -77,21 +77,21 @@ var description2 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin3 = {
80
+ var Plugin39 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service21;
84
- const jobs = yield* Service42;
85
- const agents = yield* Service56;
86
- const config = yield* Service50;
87
- const permission = yield* Service53;
88
- const subagents = yield* make5;
83
+ const sessions = yield* Service24;
84
+ const jobs = yield* Service45;
85
+ const agents = yield* Service53;
86
+ const config = yield* Service57;
87
+ const permission = yield* Service50;
88
+ const subagents = yield* make8;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name3,
90
+ name: name8,
91
91
  options: { codemode: false },
92
- description: description2,
93
- input: Input3,
94
- output: Output3,
92
+ description: description4,
93
+ input: Input8,
94
+ output: Output5,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin3 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name3,
114
+ action: name8,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name3];
187
+ const tool = event.tools[name8];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name3, Input3, Output3, description2, Plugin3, exports_subagent };
207
+ export { name8, Input8, Output5, description4, Plugin39, exports_subagent };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./kv-p8qxwesx.js";
3
+ } from "./file-p8qxwesx.js";
4
4
  import {
5
5
  Action2
6
- } from "./kv-hj3nn2ka.js";
6
+ } from "./file-gzqptw1h.js";
7
7
  import {
8
- Info15
9
- } from "./kv-tkd6bwd8.js";
8
+ Info14
9
+ } from "./file-xe98bsrz.js";
10
10
  import {
11
- Info18
12
- } from "./kv-1ydgq2r4.js";
11
+ Info16
12
+ } from "./file-yvfkj8fv.js";
13
13
  import {
14
- Info12
15
- } from "./kv-v5dkyp31.js";
14
+ Info21
15
+ } from "./file-806j49yq.js";
16
16
  import {
17
- Info13
18
- } from "./kv-6h414ywr.js";
17
+ Info19
18
+ } from "./file-awqyf91x.js";
19
19
  import {
20
20
  Spec2
21
- } from "./kv-0jwsre1p.js";
21
+ } from "./file-0jwsre1p.js";
22
22
  import {
23
- Info14
24
- } from "./kv-41mncz27.js";
23
+ Info18
24
+ } from "./file-famd3pv6.js";
25
25
  import {
26
- Info9
27
- } from "./kv-0c65v11p.js";
26
+ Info12
27
+ } from "./file-x6te443c.js";
28
28
  import {
29
29
  migrate2,
30
30
  normalizeAction2,
@@ -33,10 +33,10 @@ import {
33
33
  migrateMcp2,
34
34
  migrateProvider2,
35
35
  providerID2
36
- } from "./kv-8y3p0gjc.js";
36
+ } from "./file-nxhj2y70.js";
37
37
  import {
38
38
  __export
39
- } from "./kv-9rqn6x4v.js";
39
+ } from "./file-9rqn6x4v.js";
40
40
 
41
41
  // src/config/normalize.ts
42
42
  var exports_normalize = {};
@@ -84,10 +84,10 @@ function normalize2(input) {
84
84
  const encoded = {};
85
85
  unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
86
86
  const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
87
- const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
87
+ const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info12.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
88
88
  const nativeUpdate = own(input, "update") ? input.update === "auto" ? "notify" : decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
89
89
  const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
90
- const legacyMedia = own(input, "attachment") ? decodeValue(Info18, input.attachment, ["attachment"], diagnostics) : undefined;
90
+ const legacyMedia = own(input, "attachment") ? decodeValue(Info16, input.attachment, ["attachment"], diagnostics) : undefined;
91
91
  if (legacyMedia !== undefined) {
92
92
  const migrated = migrate2({ attachment: legacyMedia }).media;
93
93
  if (migrated !== undefined)
@@ -104,7 +104,7 @@ function normalize2(input) {
104
104
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
105
105
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
106
106
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
107
- const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
107
+ const legacyCommands = decodeMap(input.command, Info21, ["command"], diagnostics, decodeValue);
108
108
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
109
109
  const migratedCommands = mapValues(legacyCommands, (value) => {
110
110
  const migrated = commands2({ value })?.value;
@@ -112,7 +112,7 @@ function normalize2(input) {
112
112
  });
113
113
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
114
114
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
115
- const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
115
+ const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
116
116
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
117
117
  const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
118
118
  if (legacySmallModel && !migratedSmallModel)
@@ -126,7 +126,7 @@ function normalize2(input) {
126
126
  model: migratedSmallModel,
127
127
  ...legacyAgents.title
128
128
  };
129
- const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
129
+ const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
130
130
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
131
131
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
132
132
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -224,7 +224,7 @@ function normalizeMcp(input, encoded, diagnostics) {
224
224
  normalizeMcpTimeout(value, timeout, path, diagnostics);
225
225
  return;
226
226
  }
227
- const server = decodeValue(Info13, value, path, diagnostics);
227
+ const server = decodeValue(Info19, value, path, diagnostics);
228
228
  if (server !== undefined)
229
229
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
230
230
  });
@@ -420,7 +420,7 @@ function migrateProviders(value, diagnostics) {
420
420
  diagnoseProviderUnsupported(raw, path, diagnostics);
421
421
  if (invalidProviderOverlays(raw, path, diagnostics))
422
422
  return [];
423
- const provider = decodeValue(Info14, raw, path, diagnostics);
423
+ const provider = decodeValue(Info18, raw, path, diagnostics);
424
424
  if (provider === undefined)
425
425
  return [];
426
426
  const destination = providerID2(name);
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./kv-3t738kvx.js";
4
+ } from "./file-3t738kvx.js";
5
5
  import {
6
6
  __export
7
- } from "./kv-9rqn6x4v.js";
7
+ } from "./file-9rqn6x4v.js";
8
8
 
9
9
  // src/codemode/tool.ts
10
10
  var exports_tool2 = {};
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service39,
8
+ Service: () => Service55,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node41
10
+ node: () => node57
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
14
14
 
15
- class Service39 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service55 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service39, () => {
17
+ var layer = Layer.sync(Service55, () => {
18
18
  const environments = new Map;
19
- return Service39.of({
19
+ return Service55.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service39, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node41 = makeGlobalNode({ service: Service39, layer, deps: [] });
29
+ var node57 = makeGlobalNode({ service: Service55, layer, deps: [] });
30
30
 
31
- export { Service39, node41, exports_environment };
31
+ export { Service55, node57, exports_environment };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./kv-p8qxwesx.js";
3
+ } from "./file-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./kv-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/server.ts
9
9
  var exports_server = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service62
3
- } from "./kv-94exngkb.js";
2
+ Service61
3
+ } from "./file-pwsfrk47.js";
4
4
  import {
5
5
  __export
6
- } from "./kv-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service62;
22
+ const environment = yield* Service61;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./kv-5daktx2q.js";
3
+ } from "./file-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./kv-p8qxwesx.js";
6
+ } from "./file-p8qxwesx.js";
7
7
  import {
8
8
  ID5,
9
9
  Name2
10
- } from "./kv-6z7yq735.js";
10
+ } from "./file-2qvrqzxh.js";
11
11
  import {
12
12
  __export
13
- } from "./kv-9rqn6x4v.js";
13
+ } from "./file-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -2,7 +2,7 @@ import {
2
2
  getTableColumnsRuntime2,
3
3
  orderSelectedFields2,
4
4
  mapUpdateSet2
5
- } from "./kv-emrn6kk6.js";
5
+ } from "./file-emrn6kk6.js";
6
6
 
7
7
  // src/database/drizzle/sqlite-core/effect/insert.ts
8
8
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service51
3
- } from "./kv-c9pb9e7v.js";
2
+ Service58
3
+ } from "./file-393yfw74.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./kv-6e958v7x.js";
6
+ } from "./file-c0faa19c.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./kv-p8qxwesx.js";
9
+ } from "./file-p8qxwesx.js";
10
10
  import {
11
11
  File2,
12
- Service41
13
- } from "./kv-8fjpabk1.js";
12
+ Service76
13
+ } from "./file-pm0tagmj.js";
14
14
  import {
15
- Service70
16
- } from "./kv-c7r09442.js";
15
+ Service73
16
+ } from "./file-xj15198g.js";
17
17
  import {
18
18
  __export
19
- } from "./kv-9rqn6x4v.js";
19
+ } from "./file-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin27
25
+ Plugin: () => Plugin17
26
26
  });
27
27
  import { define } from "@opencode-ai/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode-ai/util/fs-util";
29
29
  import { Global } from "@opencode-ai/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin27 = define({
32
+ var Plugin17 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service41;
35
+ const discovery = yield* Service76;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service70;
42
- const watcher = yield* Service51;
41
+ const location = yield* Service73;
42
+ const watcher = yield* Service58;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin27, exports_instruction };
117
+ export { Plugin17, exports_instruction };
@@ -1,48 +1,48 @@
1
1
  import {
2
- ID17,
2
+ ID18,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./kv-64z8z5x5.js";
8
+ } from "./file-4z6b0fg6.js";
9
9
  import {
10
- Service74,
11
- node78
12
- } from "./kv-hs1w2bsr.js";
10
+ Service66,
11
+ node69
12
+ } from "./file-4wm41xfy.js";
13
13
  import {
14
14
  map2
15
- } from "./kv-e6v427vd.js";
15
+ } from "./file-0ez61b8c.js";
16
16
  import {
17
- ID15,
17
+ ID17,
18
18
  VariantID2,
19
19
  Ref4
20
- } from "./kv-azv14p53.js";
20
+ } from "./file-3wfq9j39.js";
21
21
  import {
22
- ID14,
23
- Service76,
24
- node80
25
- } from "./kv-hbtmpj90.js";
22
+ ID11,
23
+ Service67,
24
+ node70
25
+ } from "./file-qjhp7fv4.js";
26
26
  import {
27
- Service75,
28
- node79
29
- } from "./kv-fqf57vhm.js";
27
+ Service65,
28
+ node68
29
+ } from "./file-z787d7xj.js";
30
30
  import {
31
31
  __export
32
- } from "./kv-9rqn6x4v.js";
32
+ } from "./file-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service73,
38
+ Service: () => Service64,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedPackageError: () => UnsupportedPackageError3,
41
41
  VariantUnavailableError: () => VariantUnavailableError3,
42
42
  fromCatalogModel: () => fromCatalogModel2,
43
43
  hasPackage: () => hasPackage2,
44
- layer: () => layer24,
45
- node: () => node77,
44
+ layer: () => layer21,
45
+ node: () => node67,
46
46
  resolveModel: () => resolveModel2,
47
47
  withVariant: () => withVariant2
48
48
  });
@@ -52,8 +52,8 @@ import { Auth } from "@opencode-ai/ai/route";
52
52
  import { Context, Effect, Layer, Schema, Struct } from "effect";
53
53
  import { Npm } from "@opencode-ai/util/npm";
54
54
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
55
- providerID: ID17,
56
- modelID: ID15,
55
+ providerID: ID18,
56
+ modelID: ID17,
57
57
  variant: VariantID2
58
58
  }) {
59
59
  get message() {
@@ -62,8 +62,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
62
62
  }
63
63
 
64
64
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
65
- providerID: ID17,
66
- modelID: ID15,
65
+ providerID: ID18,
66
+ modelID: ID17,
67
67
  package: Schema.String
68
68
  }) {
69
69
  get message() {
@@ -72,8 +72,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
72
72
  }
73
73
 
74
74
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
75
- providerID: ID17,
76
- modelID: ID15,
75
+ providerID: ID18,
76
+ modelID: ID17,
77
77
  variables: Schema.Array(Schema.String)
78
78
  }) {
79
79
  get message() {
@@ -81,7 +81,7 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
81
81
  }
82
82
  }
83
83
 
84
- class Service73 extends Context.Service()("@opencode/ModelResolver") {
84
+ class Service64 extends Context.Service()("@opencode/ModelResolver") {
85
85
  }
86
86
  var withVariant2 = (model, variantID) => {
87
87
  const id = variantID === "default" ? undefined : variantID;
@@ -203,14 +203,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
203
203
  });
204
204
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
205
205
  var hasPackage2 = (model) => Boolean(model.package);
206
- var layer24 = Layer.effect(Service73, Effect.gen(function* () {
207
- const catalog = yield* Service75;
208
- const integrations = yield* Service76;
206
+ var layer21 = Layer.effect(Service64, Effect.gen(function* () {
207
+ const catalog = yield* Service65;
208
+ const integrations = yield* Service67;
209
209
  const npm = yield* Npm.Service;
210
- const aisdk = yield* Service74;
210
+ const aisdk = yield* Service66;
211
211
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
212
212
  const provider = yield* catalog.provider.get(selected.providerID);
213
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
213
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID11.make(selected.providerID));
214
214
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
215
215
  const runtimeInfo = yield* withVariant2(selected, variant);
216
216
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -230,7 +230,7 @@ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
230
230
  limit: selected.limit
231
231
  };
232
232
  });
233
- return Service73.of({
233
+ return Service64.of({
234
234
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
235
235
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
236
236
  if (!selected)
@@ -247,10 +247,10 @@ function usesAPIKeyAuth(packageName) {
247
247
  const name = packageName2(packageName);
248
248
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode-ai/ai/providers/openai" || name?.startsWith("@opencode-ai/ai/providers/openai/") === true || name === "@opencode-ai/ai/providers/anthropic" || name === "@opencode-ai/ai/providers/anthropic-compatible" || name === "@opencode-ai/ai/providers/cerebras" || name === "@opencode-ai/ai/providers/deepinfra" || name === "@opencode-ai/ai/providers/openai-compatible" || name === "@opencode-ai/ai/providers/google" || name === "@opencode-ai/ai/providers/groq" || name === "@opencode-ai/ai/providers/mistral" || name === "@opencode-ai/ai/providers/togetherai" || name === "@opencode-ai/ai/providers/xai" || name === "@opencode-ai/ai/providers/openrouter" || name === "@opencode-ai/ai/providers/azure" || name?.startsWith("@opencode-ai/ai/providers/azure/") === true;
249
249
  }
250
- var node77 = makeLocationNode({
251
- service: Service73,
252
- layer: layer24,
253
- deps: [node79, node80, Npm.node, node78]
250
+ var node67 = makeLocationNode({
251
+ service: Service64,
252
+ layer: layer21,
253
+ deps: [node68, node70, Npm.node, node69]
254
254
  });
255
255
 
256
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service73, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node77, exports_model_resolver };
256
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, Service64, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node67, exports_model_resolver };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./kv-6abnk40k.js";
3
+ } from "./file-w3jym6ha.js";
4
4
  import {
5
5
  __export
6
- } from "./kv-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin33,
11
+ Plugin: () => Plugin23,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint3
13
+ endpoint: () => endpoint4
14
14
  });
15
15
  import { define } from "@opencode-ai/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/unstable/http";
18
- var endpoint3 = "https://mcp.exa.ai/mcp";
18
+ var endpoint4 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin33 = define({
30
+ var Plugin23 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin33 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint3);
52
+ const url = new URL(endpoint4);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint3, Plugin33, exports_exa };
83
+ export { endpoint4, Plugin23, exports_exa };