@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,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./kv-qaymkmh1.js";
3
+ } from "./file-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service79
3
- } from "./kv-9j3fyze8.js";
3
+ } from "./file-3pcz81vc.js";
4
4
  import {
5
5
  OAuth3,
6
- Event19
7
- } from "./kv-91fwk46n.js";
6
+ Event16
7
+ } from "./file-d17hrp67.js";
8
8
  import {
9
- ID14,
9
+ ID11,
10
10
  MethodID2
11
- } from "./kv-hbtmpj90.js";
11
+ } from "./file-qjhp7fv4.js";
12
12
  import {
13
- ID17,
13
+ ID18,
14
14
  aisdk2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2
17
- } from "./kv-64z8z5x5.js";
17
+ } from "./file-4z6b0fg6.js";
18
18
 
19
19
  // src/plugin/provider/opencode.ts
20
20
  import { Duration, Effect, Schema, Semaphore, Stream } from "effect";
@@ -44,7 +44,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
44
44
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
45
45
  function oauth(http) {
46
46
  return {
47
- integrationID: ID14.make("opencode"),
47
+ integrationID: ID11.make("opencode"),
48
48
  method: {
49
49
  id: methodID,
50
50
  type: "oauth",
@@ -112,7 +112,7 @@ var OpencodePlugin2 = define({
112
112
  catalog.provider.update(providerID, (provider) => {
113
113
  if (source && source.provider !== provider)
114
114
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
115
- provider.integrationID = ID14.make("opencode");
115
+ provider.integrationID = ID11.make("opencode");
116
116
  if (item.canonical !== undefined)
117
117
  provider.canonical = item.canonical;
118
118
  if (item.name !== undefined)
@@ -175,7 +175,7 @@ var OpencodePlugin2 = define({
175
175
  });
176
176
  }
177
177
  }
178
- const item = catalog.provider.get(ID17.opencode);
178
+ const item = catalog.provider.get(ID18.opencode);
179
179
  if (!item)
180
180
  return;
181
181
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || connected || item.provider.settings?.apiKey);
@@ -196,7 +196,7 @@ var OpencodePlugin2 = define({
196
196
  }
197
197
  });
198
198
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
199
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
199
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
200
200
  })
201
201
  });
202
202
  function fetchProviders(http, value) {
@@ -1,9 +1,9 @@
1
1
  // src/filesystem/watcher-binding.ts
2
2
  import { createRequire } from "node:module";
3
- function load3() {
3
+ function load4() {
4
4
  const require2 = createRequire(import.meta.url);
5
5
  const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
6
6
  return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
7
7
  }
8
8
 
9
- export { load3 };
9
+ export { load4 };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  Service79,
3
3
  node83
4
- } from "./kv-9j3fyze8.js";
4
+ } from "./file-3pcz81vc.js";
5
5
  import {
6
- Service70,
7
- node74
8
- } from "./kv-c7r09442.js";
6
+ Service73,
7
+ node76
8
+ } from "./file-xj15198g.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./kv-mntxs535.js";
11
+ } from "./file-mntxs535.js";
12
12
  import {
13
- Service55,
14
- node58
15
- } from "./kv-0c2smd8y.js";
13
+ Service52,
14
+ node54
15
+ } from "./file-savfhqcd.js";
16
16
  import {
17
17
  __export
18
- } from "./kv-9rqn6x4v.js";
18
+ } from "./file-9rqn6x4v.js";
19
19
 
20
20
  // src/session/instructions.ts
21
21
  var exports_instructions = {};
22
22
  __export(exports_instructions, {
23
- Service: () => Service6,
23
+ Service: () => Service12,
24
24
  SessionInstructions: () => exports_instructions,
25
- node: () => node8
25
+ node: () => node14
26
26
  });
27
27
  import { relative } from "path";
28
28
  import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
32
32
  instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
33
33
  });
34
34
 
35
- class Service6 extends Context.Service()("@opencode/SessionInstructions") {
35
+ class Service12 extends Context.Service()("@opencode/SessionInstructions") {
36
36
  }
37
- var layer = Layer.effect(Service6, Effect.gen(function* () {
37
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
38
38
  const bus = yield* Service79;
39
39
  const fs = yield* FSUtil.Service;
40
- const store = yield* Service55;
41
- const location = yield* Service70;
40
+ const store = yield* Service52;
41
+ const location = yield* Service73;
42
42
  const root = yield* fs.resolve(location.project.directory);
43
43
  const inFlight = yield* Ref.make(new Map);
44
44
  const load = Effect.fn("SessionInstructions.load")(function* (input) {
@@ -84,7 +84,7 @@ ${file.content}`).join(`
84
84
  return next;
85
85
  })));
86
86
  });
87
- return Service6.of({ load });
87
+ return Service12.of({ load });
88
88
  }));
89
89
  function previouslyInjected(store, sessionID) {
90
90
  return Effect.gen(function* () {
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
95
95
  function describePath(root, path) {
96
96
  return FSUtil.contains(root, path) ? relative(root, path) : path;
97
97
  }
98
- var node8 = makeLocationNode({
98
+ var node14 = makeLocationNode({
99
99
  name: "session-instructions",
100
100
  layer,
101
- deps: [node83, FSUtil.node, node74, node58]
101
+ deps: [node83, FSUtil.node, node76, node54]
102
102
  });
103
103
 
104
- export { Service6, node8, exports_instructions };
104
+ export { Service12, node14, exports_instructions };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./kv-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/system-prompt.ts
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
- AnthropicPlugin: () => AnthropicPlugin3,
8
+ AnthropicPlugin: () => AnthropicPlugin2,
9
9
  ArceePlugin: () => ArceePlugin2,
10
10
  KimiPlugin: () => KimiPlugin2,
11
11
  MetaPlugin: () => MetaPlugin2,
12
- OpenAIPlugin: () => OpenAIPlugin3,
12
+ OpenAIPlugin: () => OpenAIPlugin2,
13
13
  Plugins: () => Plugins2,
14
14
  SystemPromptPlugin: () => exports_system_prompt
15
15
  });
@@ -356,10 +356,10 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
356
356
  `;
357
357
 
358
358
  // src/plugin/system-prompt.ts
359
- var OpenAIPlugin3 = make("openai", (id) => id.includes("gpt") ? gpt_extension_default : undefined, {
359
+ var OpenAIPlugin2 = make("openai", (id) => id.includes("gpt") ? gpt_extension_default : undefined, {
360
360
  operation: "append"
361
361
  });
362
- var AnthropicPlugin3 = make("anthropic", (id) => id.includes("claude") ? anthropic_default : undefined, {
362
+ var AnthropicPlugin2 = make("anthropic", (id) => id.includes("claude") ? anthropic_default : undefined, {
363
363
  operation: "replace"
364
364
  });
365
365
  var KimiPlugin2 = make("kimi", (id) => id.includes("kimi") ? kimi_default : undefined, {
@@ -374,7 +374,7 @@ var MetaPlugin2 = make("meta", (id) => {
374
374
  const name = id.includes("muse-glimmer") ? "Muse Glimmer" : "Muse Spark";
375
375
  return meta_default.replaceAll("{{MODEL_NAME}}", name);
376
376
  }, { operation: "replace" });
377
- var Plugins2 = [OpenAIPlugin3, AnthropicPlugin3, KimiPlugin2, ArceePlugin2, MetaPlugin2];
377
+ var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
378
378
  function make(id, getPrompt, options) {
379
379
  return define({
380
380
  id: `opencode.prompt.${id}`,
@@ -399,4 +399,4 @@ function make(id, getPrompt, options) {
399
399
  });
400
400
  }
401
401
 
402
- export { OpenAIPlugin3, AnthropicPlugin3, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_system_prompt };
402
+ export { OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_system_prompt };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./kv-p8qxwesx.js";
3
+ } from "./file-p8qxwesx.js";
4
4
  import {
5
5
  Service80,
6
6
  node84
7
- } from "./kv-3rps85z5.js";
7
+ } from "./file-s9eewxz3.js";
8
8
  import {
9
9
  Service79,
10
10
  node83
11
- } from "./kv-9j3fyze8.js";
11
+ } from "./file-3pcz81vc.js";
12
12
  import {
13
- Service72,
14
- node76
15
- } from "./kv-fw8cvjkv.js";
13
+ Service75,
14
+ node78
15
+ } from "./file-3skezffz.js";
16
16
  import {
17
- ID13,
17
+ ID16,
18
18
  Current3,
19
- Info27,
19
+ Info30,
20
20
  UpdateInput4,
21
- Event16,
21
+ Event18,
22
22
  Vcs3
23
- } from "./kv-wb29ggtc.js";
23
+ } from "./file-37b314vz.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./kv-9qm9egsn.js";
27
+ } from "./file-9qm9egsn.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./kv-ajtjthsy.js";
30
+ } from "./file-ajtjthsy.js";
31
31
  import {
32
32
  __export
33
- } from "./kv-9rqn6x4v.js";
33
+ } from "./file-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID12,
40
- Info: () => Info26,
41
- NotFoundError: () => NotFoundError9,
39
+ ID: () => ID15,
40
+ Info: () => Info29,
41
+ NotFoundError: () => NotFoundError10,
42
42
  Project: () => exports_project,
43
- Service: () => Service71,
43
+ Service: () => Service74,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node75,
46
+ node: () => node77,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode-ai/util/fs-util";
55
55
  import { AppProcess } from "@opencode-ai/util/process";
56
56
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
57
57
  import { Hash } from "@opencode-ai/util/hash";
58
- var ID12 = ID13;
58
+ var ID15 = ID16;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info26 = Info27;
61
+ var Info29 = Info30;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID12
64
+ class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID15
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service71 extends Context.Service()("@opencode/Project") {
74
+ class Service74 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,9 +94,9 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service71, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service72;
99
+ const git = yield* Service75;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const bus = yield* Service79;
102
102
  const db = (yield* Service80).db;
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
107
107
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
108
108
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
109
109
  if (row)
110
- yield* bus.publish(Event16.Updated, fromRow(row));
110
+ yield* bus.publish(Event18.Updated, fromRow(row));
111
111
  }
112
112
  if (!project.vcs)
113
113
  return project;
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
144
144
  yield* bus.publish(Worktree.Event.Resolved, {
145
145
  projectID: item.projectID,
146
146
  directory: item.directory,
147
- previous: project.previous ?? ID12.global,
147
+ previous: project.previous ?? ID15.global,
148
148
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
149
149
  }, {
150
150
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
166
166
  time_updated: Date.now()
167
167
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
168
168
  if (!row)
169
- return yield* new NotFoundError9({ projectID: input.projectID });
169
+ return yield* new NotFoundError10({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event16.Updated, project);
171
+ yield* bus.publish(Event18.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID12.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID12.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID15.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID12.make(root) : undefined;
211
+ return root ? ID15.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID12.make(node) : undefined;
227
+ return node ? ID15.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID12.global,
236
+ id: id ?? ID15.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID12.global,
253
+ id: id ?? ID15.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID12.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID15.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service71.of({ list, update, resolve });
273
+ return Service74.of({ list, update, resolve });
274
274
  }));
275
- var node75 = makeGlobalNode({
276
- service: Service71,
275
+ var node77 = makeGlobalNode({
276
+ service: Service74,
277
277
  layer,
278
- deps: [node83, node84, FSUtil.node, node76, AppProcess.node]
278
+ deps: [node83, node84, FSUtil.node, node78, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID12, Vcs2, Current2, Info26, UpdateInput3, NotFoundError9, root2, Service71, node75, exports_project };
281
+ export { ID15, Vcs2, Current2, Info29, UpdateInput3, NotFoundError10, root2, Service74, node77, exports_project };
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./kv-p8qxwesx.js";
5
+ } from "./file-p8qxwesx.js";
6
6
  import {
7
- Service62,
8
- node65
9
- } from "./kv-94exngkb.js";
7
+ Service61,
8
+ node63
9
+ } from "./file-pwsfrk47.js";
10
10
  import {
11
- Content3
12
- } from "./kv-sdrecbr4.js";
11
+ Content2
12
+ } from "./file-xn93qykn.js";
13
13
  import {
14
14
  detect2
15
- } from "./kv-3smtnn6g.js";
15
+ } from "./file-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./kv-9rqn6x4v.js";
18
+ } from "./file-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service5,
36
+ Service: () => Service7,
37
37
  TextPage: () => TextPage2,
38
- node: () => node7,
38
+ node: () => node8,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
89
89
  });
90
90
  var FileContent2 = Schema.Struct({
91
91
  type: Schema.Literal("file"),
92
- ...Content3.fields
92
+ ...Content2.fields
93
93
  }).annotate({ identifier: "ReadTool.FileContent" });
94
94
 
95
95
  class TextPage2 extends Schema.Class("ReadTool.TextPage")({
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service5, Effect.gen(function* () {
330
- const environment = yield* Service62;
331
- return Service5.of({
329
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
330
+ const environment = yield* Service61;
331
+ return Service7.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node7 = makeLocationNode({ service: Service5, layer, deps: [node65] });
336
+ var node8 = makeLocationNode({ service: Service7, layer, deps: [node63] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node7, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node8, exports_read_filesystem };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID17,
2
+ ID18,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./kv-64z8z5x5.js";
5
+ } from "./file-4z6b0fg6.js";
6
6
  import {
7
- ID15
8
- } from "./kv-azv14p53.js";
7
+ ID17
8
+ } from "./file-3wfq9j39.js";
9
9
  import {
10
10
  Service79
11
- } from "./kv-9j3fyze8.js";
11
+ } from "./file-3pcz81vc.js";
12
12
  import {
13
13
  OAuth3,
14
- Event19
15
- } from "./kv-91fwk46n.js";
14
+ Event16
15
+ } from "./file-d17hrp67.js";
16
16
  import {
17
- ID14,
17
+ ID11,
18
18
  MethodID2
19
- } from "./kv-hbtmpj90.js";
19
+ } from "./file-qjhp7fv4.js";
20
20
  import {
21
- Service75
22
- } from "./kv-fqf57vhm.js";
21
+ Service65
22
+ } from "./file-z787d7xj.js";
23
23
  import {
24
24
  get3
25
- } from "./kv-pzhf940q.js";
25
+ } from "./file-y01np14z.js";
26
26
  import {
27
27
  useragent2
28
- } from "./kv-y0bse006.js";
28
+ } from "./file-age2sz3e.js";
29
29
 
30
30
  // src/plugin/provider/github-copilot.ts
31
31
  import { Effect, Option, Schema, Semaphore, Stream } from "effect";
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
57
57
  var JsonBody = Schema.fromJsonString(Schema.Unknown);
58
58
  var decodeBody = Schema.decodeUnknownOption(JsonBody);
59
59
  var oauth = (app) => ({
60
- integrationID: ID14.make("github-copilot"),
60
+ integrationID: ID11.make("github-copilot"),
61
61
  method: {
62
62
  id: methodID,
63
63
  type: "oauth",
@@ -155,7 +155,7 @@ var oauth = (app) => ({
155
155
  var GithubCopilotPlugin2 = define({
156
156
  id: "opencode.provider.github.copilot",
157
157
  effect: Effect.fn(function* (ctx) {
158
- const catalog = yield* Service75;
158
+ const catalog = yield* Service65;
159
159
  const bus = yield* Service79;
160
160
  const loading = Semaphore.makeUnsafe(1);
161
161
  const loaded = {};
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
170
170
  return;
171
171
  }
172
172
  loaded.baseURL = copilotBaseURL2(credential.metadata);
173
- const provider = yield* catalog.provider.get(ID17.githubCopilot);
174
- const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID17.githubCopilot);
173
+ const provider = yield* catalog.provider.get(ID18.githubCopilot);
174
+ const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID18.githubCopilot);
175
175
  loaded.models = yield* Effect.tryPromise({
176
176
  try: () => get3(loaded.baseURL ?? baseURL(), {
177
177
  ...provider?.headers,
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
187
187
  editor.method.update(oauth(ctx.app));
188
188
  });
189
189
  yield* ctx.catalog.transform((evt) => {
190
- const item = evt.provider.get(ID17.githubCopilot);
190
+ const item = evt.provider.get(ID18.githubCopilot);
191
191
  if (!item)
192
192
  return;
193
193
  if (loaded.models) {
194
194
  for (const id of item.models.keys()) {
195
- if (!loaded.models.has(ID15.make(id)))
195
+ if (!loaded.models.has(ID17.make(id)))
196
196
  evt.model.remove(item.provider.id, id);
197
197
  }
198
198
  for (const [id, model] of loaded.models) {
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
207
207
  });
208
208
  }
209
209
  }
210
- if (item.models.has(ID15.make("gpt-5-chat-latest"))) {
211
- evt.model.update(item.provider.id, ID15.make("gpt-5-chat-latest"), (model) => {
210
+ if (item.models.has(ID17.make("gpt-5-chat-latest"))) {
211
+ evt.model.update(item.provider.id, ID17.make("gpt-5-chat-latest"), (model) => {
212
212
  model.enabled = false;
213
213
  });
214
214
  }
215
215
  });
216
216
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
217
- yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
217
+ yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID11.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
218
218
  yield* refresh().pipe(Effect.forkScoped);
219
219
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
220
- if (evt.model.providerID !== ID17.githubCopilot)
220
+ if (evt.model.providerID !== ID18.githubCopilot)
221
221
  return;
222
222
  if (evt.package !== "@ai-sdk/github-copilot")
223
223
  return;
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
226
226
  evt.sdk = mod.createOpenaiCompatible(evt.options);
227
227
  }));
228
228
  yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
229
- if (evt.model.providerID !== ID17.githubCopilot)
229
+ if (evt.model.providerID !== ID18.githubCopilot)
230
230
  return;
231
231
  const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
232
232
  return;
@@ -235,9 +235,9 @@ var GithubCopilotPlugin2 = define({
235
235
  evt.headers["X-Interaction-Type"] = interaction;
236
236
  if (interaction !== "conversation-agent")
237
237
  evt.headers["x-initiator"] = "agent";
238
- }), { providerID: ID17.githubCopilot });
238
+ }), { providerID: ID18.githubCopilot });
239
239
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
240
- if (evt.model.providerID !== ID17.githubCopilot)
240
+ if (evt.model.providerID !== ID18.githubCopilot)
241
241
  return;
242
242
  const token = evt.request.headers.get("x-api-key");
243
243
  if (!token)
@@ -245,9 +245,9 @@ var GithubCopilotPlugin2 = define({
245
245
  const text = yield* Effect.promise(() => evt.request.clone().text());
246
246
  const body = Option.getOrUndefined(decodeBody(text));
247
247
  applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
248
- }), { providerID: ID17.githubCopilot });
248
+ }), { providerID: ID18.githubCopilot });
249
249
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
250
- if (evt.model.providerID !== ID17.githubCopilot)
250
+ if (evt.model.providerID !== ID18.githubCopilot)
251
251
  return;
252
252
  if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
253
253
  evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  convertToOpenAICompatibleChatMessages2
3
- } from "./kv-fxgpk5d8.js";
3
+ } from "./file-fxgpk5d8.js";
4
4
  import {
5
5
  getResponseMetadata2
6
- } from "./kv-g4wezp1m.js";
6
+ } from "./file-g4wezp1m.js";
7
7
  import {
8
8
  mapOpenAICompatibleFinishReason2
9
- } from "./kv-x61499pn.js";
9
+ } from "./file-x61499pn.js";
10
10
  import {
11
11
  openaiCompatibleProviderOptions2
12
- } from "./kv-af5trqkr.js";
12
+ } from "./file-af5trqkr.js";
13
13
  import {
14
14
  defaultOpenAICompatibleErrorStructure2
15
- } from "./kv-afrmfg78.js";
15
+ } from "./file-afrmfg78.js";
16
16
  import {
17
17
  prepareTools2
18
- } from "./kv-x0ckcb58.js";
18
+ } from "./file-x0ckcb58.js";
19
19
 
20
20
  // src/github-copilot/chat/openai-compatible-chat-language-model.ts
21
21
  import {