@opencode/core 0.0.0-dev-19585 → 0.0.0-dev-19588

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (794) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{state-kpvyk30t.js → repository-0996nyz8.js} +9 -9
  9. package/dist/chunks/repository-0c6pz7ms.js +466 -0
  10. package/dist/chunks/{state-2dejydwk.js → repository-0dh2v9fk.js} +23 -23
  11. package/dist/chunks/{state-gd7g0zde.js → repository-0h00gbcb.js} +18 -18
  12. package/dist/chunks/{state-kpn23mpx.js → repository-0kc779ng.js} +10 -10
  13. package/dist/chunks/{state-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{state-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{state-pbyctwrm.js → repository-0qevpf4w.js} +11 -11
  16. package/dist/chunks/{state-pb1eahw5.js → repository-16cax9zb.js} +5 -5
  17. package/dist/chunks/{state-r5x6zcsm.js → repository-1bbkgx8g.js} +3 -3
  18. package/dist/chunks/{state-ccfa4wxs.js → repository-1bvekr7f.js} +6 -6
  19. package/dist/chunks/{state-mcvf4ecq.js → repository-1cfwn2bt.js} +7 -7
  20. package/dist/chunks/{state-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{state-1gwwkbhx.js → repository-1e17p1v6.js} +17 -17
  22. package/dist/chunks/{state-yv9w9dg0.js → repository-1j9stpns.js} +29 -29
  23. package/dist/chunks/{state-e5f74rt9.js → repository-1jv4xg0p.js} +36 -36
  24. package/dist/chunks/{state-y1dxsfsh.js → repository-1kwjmtsc.js} +35 -35
  25. package/dist/chunks/{state-w1907c88.js → repository-1r601apj.js} +17 -17
  26. package/dist/chunks/{state-1m07gwnh.js → repository-1vnsgk5t.js} +36 -36
  27. package/dist/chunks/{state-gn01w2cw.js → repository-1zfadm9n.js} +13 -13
  28. package/dist/chunks/{state-8nk5pr3x.js → repository-206yk4e9.js} +4 -4
  29. package/dist/chunks/{state-21r38tys.js → repository-21r38tys.js} +1 -1
  30. package/dist/chunks/{state-2402vzrj.js → repository-2402vzrj.js} +1 -1
  31. package/dist/chunks/{state-047mx2wg.js → repository-2a25p4mv.js} +32 -32
  32. package/dist/chunks/{state-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{state-3wr47b46.js → repository-2ce9th4e.js} +174 -174
  34. package/dist/chunks/{state-f20n632k.js → repository-2d802nvw.js} +1 -1
  35. package/dist/chunks/{state-0jwsre1p.js → repository-2k8khapm.js} +5 -5
  36. package/dist/chunks/{state-y8ye8e9v.js → repository-2kesvzjb.js} +13 -13
  37. package/dist/chunks/{state-xxzf0ejs.js → repository-3163b9jg.js} +22 -22
  38. package/dist/chunks/{state-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{state-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{state-md4zkmej.js → repository-3pjcaesv.js} +11 -11
  41. package/dist/chunks/{state-bh8dz971.js → repository-3s8rj46j.js} +32 -32
  42. package/dist/chunks/{state-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  43. package/dist/chunks/{state-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{state-3189tf5c.js → repository-473n3n7b.js} +4 -4
  45. package/dist/chunks/{state-0dpxzva5.js → repository-4emwyx28.js} +93 -93
  46. package/dist/chunks/{state-c793mpbv.js → repository-4etetb1j.js} +27 -27
  47. package/dist/chunks/{state-p8d91xwk.js → repository-4j90697n.js} +37 -37
  48. package/dist/chunks/{state-xha59mwg.js → repository-51hcmbxq.js} +5 -5
  49. package/dist/chunks/{state-966x6kbg.js → repository-52f3envg.js} +18 -18
  50. package/dist/chunks/{state-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
  51. package/dist/chunks/{state-bm1f71yt.js → repository-5892jdtn.js} +8 -8
  52. package/dist/chunks/{state-bs9pjq03.js → repository-592a4gpn.js} +13 -13
  53. package/dist/chunks/{state-bd9a3hfc.js → repository-5a78h29x.js} +10 -10
  54. package/dist/chunks/{state-gg8ay5jm.js → repository-5ct4k76c.js} +22 -22
  55. package/dist/chunks/{state-5daktx2q.js → repository-5daktx2q.js} +1 -1
  56. package/dist/chunks/{state-b2bbmftg.js → repository-5dt15a5r.js} +20 -20
  57. package/dist/chunks/{state-8a639n9f.js → repository-5dwnc6b3.js} +24 -24
  58. package/dist/chunks/{state-nx7g23ta.js → repository-5mp00kj1.js} +35 -35
  59. package/dist/chunks/{state-qhpsd41d.js → repository-5n6hsxyx.js} +25 -25
  60. package/dist/chunks/{state-10jtetaj.js → repository-5qkxfyep.js} +4 -4
  61. package/dist/chunks/{state-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{state-4fvnr5ap.js → repository-6035qjw6.js} +5 -5
  63. package/dist/chunks/{state-rkn3s9yj.js → repository-62rpeqaf.js} +10 -10
  64. package/dist/chunks/{state-tye36bcg.js → repository-630f9zf9.js} +8 -8
  65. package/dist/chunks/{state-669tq793.js → repository-669tq793.js} +1 -1
  66. package/dist/chunks/{state-2nx0ckft.js → repository-6a88x1v8.js} +13 -13
  67. package/dist/chunks/{state-e5564262.js → repository-6cbvf3zm.js} +42 -42
  68. package/dist/chunks/{state-2gm7q7x0.js → repository-6gfqk85e.js} +28 -28
  69. package/dist/chunks/{state-x6pctmyv.js → repository-6ht32ya1.js} +18 -18
  70. package/dist/chunks/{state-89yzkj5m.js → repository-6jdhkm56.js} +15 -15
  71. package/dist/chunks/{state-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  72. package/dist/chunks/{state-37tv5sft.js → repository-6yp6qgnr.js} +27 -27
  73. package/dist/chunks/{state-71q4at8m.js → repository-71q4at8m.js} +1 -1
  74. package/dist/chunks/{state-g7c4c9dq.js → repository-7207rjaj.js} +11 -11
  75. package/dist/chunks/{state-6jpkznw2.js → repository-745ca1rp.js} +3 -3
  76. package/dist/chunks/{state-56jtaqyy.js → repository-74jx9dmy.js} +28 -28
  77. package/dist/chunks/{state-anb97ys3.js → repository-7a1nds04.js} +8 -8
  78. package/dist/chunks/{state-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{state-2bgyzf17.js → repository-7gnac2s0.js} +63 -63
  80. package/dist/chunks/{state-ez36xfhn.js → repository-7qpszgx3.js} +19 -19
  81. package/dist/chunks/{state-5w0k2sgf.js → repository-7s5hb2nx.js} +25 -25
  82. package/dist/chunks/{state-nmhn2qh6.js → repository-8028yanh.js} +16 -16
  83. package/dist/chunks/{state-j0bxb4ah.js → repository-83wzj7ta.js} +3 -3
  84. package/dist/chunks/{state-5ay2cyx3.js → repository-86agcrtg.js} +26 -26
  85. package/dist/chunks/{state-2058e169.js → repository-8c7y8dn0.js} +5 -5
  86. package/dist/chunks/{state-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{state-zrw639qq.js → repository-8fcwscdw.js} +28 -28
  88. package/dist/chunks/{state-rqh8sqwg.js → repository-8fsnk1kc.js} +10 -10
  89. package/dist/chunks/{state-ttqh24zm.js → repository-8gxqpgph.js} +4 -4
  90. package/dist/chunks/{state-dj2t23y0.js → repository-8p4f9s12.js} +2 -2
  91. package/dist/chunks/{state-vtqzksea.js → repository-94d58mvd.js} +32 -32
  92. package/dist/chunks/{state-25b5wh1z.js → repository-96987kcb.js} +98 -98
  93. package/dist/chunks/{state-nn79ydvy.js → repository-9j2s9z86.js} +8 -8
  94. package/dist/chunks/{state-8ar20h4k.js → repository-9q22g6vd.js} +5 -5
  95. package/dist/chunks/{state-tnkeyv2f.js → repository-9whdk0qy.js} +13 -13
  96. package/dist/chunks/{state-fsf1gf1x.js → repository-9zpvy9zc.js} +29 -29
  97. package/dist/chunks/repository-9zxwq9ha.js +26 -0
  98. package/dist/chunks/{state-5c4hm403.js → repository-a1bz86dw.js} +3 -3
  99. package/dist/chunks/{state-wsykb35p.js → repository-a8rkycwa.js} +16 -16
  100. package/dist/chunks/{state-2ad6nxyk.js → repository-a8ve50ng.js} +6 -6
  101. package/dist/chunks/{state-aaet6srn.js → repository-aaet6srn.js} +2 -2
  102. package/dist/chunks/{state-skbm2tv3.js → repository-aemscjqt.js} +20 -20
  103. package/dist/chunks/{state-xg9t41r3.js → repository-b09hzw3k.js} +2 -2
  104. package/dist/chunks/{state-9gkk87pz.js → repository-b1kv8p8w.js} +6 -6
  105. package/dist/chunks/{state-0tj6kgwv.js → repository-b3pcj4k8.js} +34 -34
  106. package/dist/chunks/{state-fyqdaz8t.js → repository-b6f6xskg.js} +7 -7
  107. package/dist/chunks/{state-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{state-4ynbxhwa.js → repository-b6hy6gkz.js} +2 -2
  109. package/dist/chunks/{state-589kjr7t.js → repository-bbarxbyb.js} +1 -1
  110. package/dist/chunks/{state-xdd3rs2c.js → repository-bfntb90j.js} +9 -9
  111. package/dist/chunks/{state-9wq3kma9.js → repository-bgxa3gb8.js} +15 -15
  112. package/dist/chunks/{state-r11d7zgh.js → repository-bmtr48j2.js} +6 -6
  113. package/dist/chunks/{state-qm7jrdpz.js → repository-bw0vgseb.js} +5 -5
  114. package/dist/chunks/{state-dzme2435.js → repository-c9wtqnwj.js} +11 -11
  115. package/dist/chunks/{state-qe942eqv.js → repository-car4fhb7.js} +19 -19
  116. package/dist/chunks/{state-m0jqrx5p.js → repository-cfpkc3c9.js} +2 -2
  117. package/dist/chunks/{state-qd153e6s.js → repository-cfv81dax.js} +8 -8
  118. package/dist/chunks/{state-9sgpzjef.js → repository-cg1ew3t4.js} +3 -3
  119. package/dist/chunks/{state-5matf414.js → repository-cpn39njb.js} +16 -16
  120. package/dist/chunks/{state-3c4e3q8d.js → repository-cq37gk0t.js} +4 -4
  121. package/dist/chunks/{state-p43gddxw.js → repository-cxkh8aa2.js} +32 -32
  122. package/dist/chunks/{state-74qhbg70.js → repository-cyhxv4yp.js} +10 -10
  123. package/dist/chunks/{state-q5sfm9wz.js → repository-d4exv1s8.js} +31 -31
  124. package/dist/chunks/{state-32y0495t.js → repository-d4shdzcf.js} +17 -17
  125. package/dist/chunks/{state-7c4jpfkn.js → repository-d50dhb3t.js} +6 -6
  126. package/dist/chunks/{state-cmqjtdmm.js → repository-deanft1t.js} +35 -35
  127. package/dist/chunks/{state-k6k8b8dr.js → repository-dfey964p.js} +14 -14
  128. package/dist/chunks/{state-yh58a55y.js → repository-dg6ptqm6.js} +29 -29
  129. package/dist/chunks/{state-96a4pvf9.js → repository-dht5s97y.js} +9 -9
  130. package/dist/chunks/{state-wqcb0hpm.js → repository-dn0vp9ws.js} +6 -6
  131. package/dist/chunks/{state-0assndy4.js → repository-dqgjsbg6.js} +17 -17
  132. package/dist/chunks/{state-4780s8zr.js → repository-drknmmyh.js} +9 -9
  133. package/dist/chunks/{state-bndc73cn.js → repository-e5nv3ght.js} +5 -5
  134. package/dist/chunks/{state-1vr0zdnx.js → repository-e5xpd6yj.js} +6 -6
  135. package/dist/chunks/{state-b9qrp43n.js → repository-e8x92nmy.js} +7 -7
  136. package/dist/chunks/{state-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  137. package/dist/chunks/repository-ejvrra8h.js +247 -0
  138. package/dist/chunks/{state-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  139. package/dist/chunks/{state-s03e02j9.js → repository-ewq2135v.js} +24 -24
  140. package/dist/chunks/{state-czsydm57.js → repository-eztf1wzg.js} +1 -1
  141. package/dist/chunks/{state-hdnk95c8.js → repository-f828m53h.js} +2 -2
  142. package/dist/chunks/{state-qtp1kmbh.js → repository-f9apq077.js} +71 -71
  143. package/dist/chunks/{state-7f04ezez.js → repository-fahke4hq.js} +4 -4
  144. package/dist/chunks/{state-mhyrstae.js → repository-fgqgf88m.js} +15 -15
  145. package/dist/chunks/{state-crgypqmg.js → repository-fmgfnr5t.js} +9 -9
  146. package/dist/chunks/{state-y232qd0c.js → repository-fr89gf7f.js} +32 -32
  147. package/dist/chunks/{state-scf3wqrs.js → repository-fscyzxmk.js} +9 -9
  148. package/dist/chunks/{state-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{state-magykp64.js → repository-g190xswt.js} +4 -4
  150. package/dist/chunks/{state-d4vvrd8f.js → repository-g2c4pnq1.js} +4 -4
  151. package/dist/chunks/{state-34rkz0x9.js → repository-g8d3gcyj.js} +4 -4
  152. package/dist/chunks/{state-n8dg5zmh.js → repository-g8mks886.js} +11 -11
  153. package/dist/chunks/{state-gk5mcbs5.js → repository-gaf3dhda.js} +11 -11
  154. package/dist/chunks/{state-92efq58y.js → repository-gay8ct22.js} +25 -25
  155. package/dist/chunks/{state-brkf7bse.js → repository-gd0jy5mm.js} +8 -8
  156. package/dist/chunks/{state-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{state-q0jn4ry4.js → repository-gma6pakk.js} +12 -12
  158. package/dist/chunks/{state-4x368qdf.js → repository-gs36njwm.js} +43 -43
  159. package/dist/chunks/{state-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{state-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{state-2f9behse.js → repository-h13rq2ha.js} +41 -41
  162. package/dist/chunks/{state-rspxbq4f.js → repository-h27f8war.js} +11 -11
  163. package/dist/chunks/{state-jva4mgym.js → repository-h6jr292a.js} +4 -4
  164. package/dist/chunks/{state-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  165. package/dist/chunks/{state-0c9ykdxk.js → repository-haj0byqn.js} +4 -4
  166. package/dist/chunks/{state-0n8wxves.js → repository-hgg8kawy.js} +11 -11
  167. package/dist/chunks/{state-pvpbdkha.js → repository-hjr4mjkc.js} +27 -27
  168. package/dist/chunks/{state-hjt4xg1x.js → repository-hjt4xg1x.js} +1 -1
  169. package/dist/chunks/{state-arnsfa90.js → repository-hm7n6gxm.js} +16 -16
  170. package/dist/chunks/{state-81swgkk7.js → repository-hqjg1cx1.js} +9 -9
  171. package/dist/chunks/{state-jxahb5yh.js → repository-hqxaqnsz.js} +11 -11
  172. package/dist/chunks/{state-m4r7hmz3.js → repository-ht8esz14.js} +5 -5
  173. package/dist/chunks/{state-4j0xv7gy.js → repository-hx4p0gz5.js} +28 -28
  174. package/dist/chunks/{state-ka9nzrns.js → repository-j3ht12x2.js} +15 -15
  175. package/dist/chunks/{state-5r58m9f4.js → repository-j4z2qnee.js} +8 -8
  176. package/dist/chunks/{state-j56e64zr.js → repository-j56e64zr.js} +1 -1
  177. package/dist/chunks/{state-8ymaqm6w.js → repository-j5xt7epv.js} +18 -18
  178. package/dist/chunks/{state-y09t7566.js → repository-jbdvhc0s.js} +9 -9
  179. package/dist/chunks/{state-4mmkc7sx.js → repository-jmr68t6h.js} +5 -5
  180. package/dist/chunks/repository-jqh9b0xq.js +18 -0
  181. package/dist/chunks/{state-8yhy25dd.js → repository-jwttr378.js} +46 -46
  182. package/dist/chunks/{state-qkgaq2fd.js → repository-jxvsdwym.js} +13 -13
  183. package/dist/chunks/{state-a9ym64nf.js → repository-jydw0f72.js} +28 -28
  184. package/dist/chunks/{state-x569bdqa.js → repository-k2dherqe.js} +1 -1
  185. package/dist/chunks/{state-yrtvc2gm.js → repository-kee0d0vv.js} +24 -24
  186. package/dist/chunks/{state-kg06axw8.js → repository-kg06axw8.js} +1 -1
  187. package/dist/chunks/{state-av3vfbkv.js → repository-kmbbtncp.js} +23 -23
  188. package/dist/chunks/{state-7b8c1rs0.js → repository-kq7s33qp.js} +8 -8
  189. package/dist/chunks/{state-n9vjy7vk.js → repository-ky16kd9n.js} +12 -12
  190. package/dist/chunks/{state-rwp9vqf6.js → repository-m12fw1ht.js} +32 -32
  191. package/dist/chunks/{state-m86bnw2c.js → repository-m2d0j7c0.js} +9 -9
  192. package/dist/chunks/{state-d3xgb5wz.js → repository-m2weea1a.js} +41 -41
  193. package/dist/chunks/{state-8fmttspq.js → repository-m74ad31j.js} +15 -15
  194. package/dist/chunks/{state-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  195. package/dist/chunks/{state-r05swpc3.js → repository-mfeb23pb.js} +21 -21
  196. package/dist/chunks/{state-gt7he45n.js → repository-mhfnevvs.js} +18 -18
  197. package/dist/chunks/{state-ekrh3kxc.js → repository-ms3qkpaz.js} +14 -14
  198. package/dist/chunks/{state-paegk39x.js → repository-msq0jde0.js} +4 -4
  199. package/dist/chunks/{state-z30jd0vy.js → repository-mtkf2msq.js} +51 -51
  200. package/dist/chunks/{state-wzqj207d.js → repository-mwdf18ba.js} +37 -37
  201. package/dist/chunks/{state-t9hrqajq.js → repository-n64yq744.js} +28 -28
  202. package/dist/chunks/{state-8tccx195.js → repository-nb1yf551.js} +28 -28
  203. package/dist/chunks/{state-8ngx95f4.js → repository-ngs1gmwy.js} +6 -6
  204. package/dist/chunks/{state-yx8q910t.js → repository-nphm860s.js} +19 -19
  205. package/dist/chunks/{state-f6hkkqkf.js → repository-nxamnhdf.js} +12 -12
  206. package/dist/chunks/{state-nsk2qhm1.js → repository-p2t1ayvx.js} +44 -44
  207. package/dist/chunks/{state-trw41p2v.js → repository-p5q26rjs.js} +17 -17
  208. package/dist/chunks/{state-0r1a1fzg.js → repository-p807tth1.js} +18 -18
  209. package/dist/chunks/{state-844ef7ks.js → repository-pa8pe2x7.js} +6 -6
  210. package/dist/chunks/{state-p158fnhc.js → repository-peejr10p.js} +1 -1
  211. package/dist/chunks/{state-sy5x3wzp.js → repository-pgw46sns.js} +23 -23
  212. package/dist/chunks/{state-nqzv378d.js → repository-pjrv1sn1.js} +1 -1
  213. package/dist/chunks/{state-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  214. package/dist/chunks/{state-pknna89w.js → repository-pknna89w.js} +1 -1
  215. package/dist/chunks/{state-j83byb14.js → repository-pmr4s4kc.js} +4 -4
  216. package/dist/chunks/{state-grt76b4b.js → repository-pwf15mvc.js} +4 -4
  217. package/dist/chunks/{state-r7x5zkyr.js → repository-pxbzt21m.js} +6 -6
  218. package/dist/chunks/{state-7zdrdht4.js → repository-pxhak851.js} +6 -6
  219. package/dist/chunks/{state-0sd1vqbs.js → repository-pye8sh6e.js} +8 -8
  220. package/dist/chunks/{state-p2h5zem2.js → repository-q7cmwac7.js} +6 -6
  221. package/dist/chunks/{state-715dyzdp.js → repository-q9fqv6nm.js} +97 -296
  222. package/dist/chunks/repository-qapv375x.js +4 -0
  223. package/dist/chunks/{state-bgxcxs0p.js → repository-qjnxxf51.js} +5 -5
  224. package/dist/chunks/{state-dsqps89d.js → repository-qkrnz1pz.js} +5 -5
  225. package/dist/chunks/{state-73kb41h8.js → repository-qp8nwhvn.js} +57 -57
  226. package/dist/chunks/{state-mm8kamv6.js → repository-qqyxjxre.js} +22 -22
  227. package/dist/chunks/{state-qsdy395h.js → repository-qsdy395h.js} +1 -1
  228. package/dist/chunks/{state-cpy6gm2a.js → repository-r33ff4dw.js} +4 -4
  229. package/dist/chunks/{state-e2dt2hd0.js → repository-r628x9jn.js} +29 -35
  230. package/dist/chunks/{state-r8xr0va3.js → repository-r8xr0va3.js} +1 -1
  231. package/dist/chunks/{state-r9mregkx.js → repository-r9mregkx.js} +2 -2
  232. package/dist/chunks/{state-zc400w9e.js → repository-rg7n2a7e.js} +47 -47
  233. package/dist/chunks/{state-02nrjc1r.js → repository-rhjbct0v.js} +6 -6
  234. package/dist/chunks/{state-6bp5h0s3.js → repository-rjt1dhz0.js} +11 -11
  235. package/dist/chunks/{state-y3a4c9er.js → repository-rqpczt31.js} +17 -17
  236. package/dist/chunks/{state-f1zxfvwb.js → repository-s2t8c8fj.js} +4 -4
  237. package/dist/chunks/{state-s8zy8myc.js → repository-s8zy8myc.js} +2 -2
  238. package/dist/chunks/{state-9qe9ae67.js → repository-shg3amz7.js} +22 -22
  239. package/dist/chunks/{state-a1xp0gqd.js → repository-sm236kpq.js} +17 -17
  240. package/dist/chunks/{state-3t50nsv9.js → repository-sr7k2y9v.js} +30 -30
  241. package/dist/chunks/{state-nc9naz3s.js → repository-swc0nz61.js} +15 -15
  242. package/dist/chunks/{state-3g5z5cbj.js → repository-swh40x6v.js} +12 -12
  243. package/dist/chunks/{state-qa7075pb.js → repository-sznyev98.js} +5 -5
  244. package/dist/chunks/{state-evbgk2k8.js → repository-t0fxg8b9.js} +5 -5
  245. package/dist/chunks/{state-5kptn8c0.js → repository-t0x5rdq8.js} +9 -9
  246. package/dist/chunks/{state-5wzpv73x.js → repository-t3p48s2k.js} +14 -14
  247. package/dist/chunks/{state-vb7ycbc9.js → repository-t5wmzvpv.js} +18 -18
  248. package/dist/chunks/{state-3zb4tqpj.js → repository-t9cms4w2.js} +11 -11
  249. package/dist/chunks/{state-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  250. package/dist/chunks/{state-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  251. package/dist/chunks/{state-tdstcens.js → repository-tdstcens.js} +1 -1
  252. package/dist/chunks/{state-nh1ke53h.js → repository-te29s6sc.js} +10 -10
  253. package/dist/chunks/{state-tvtrv512.js → repository-tvtrv512.js} +1 -1
  254. package/dist/chunks/{state-tx9qvpbt.js → repository-tx9qvpbt.js} +2 -2
  255. package/dist/chunks/{state-t6n9dx9w.js → repository-v7eqyjmy.js} +5 -5
  256. package/dist/chunks/{state-6b3csv91.js → repository-vapde0g8.js} +3 -3
  257. package/dist/chunks/{state-veqvce7d.js → repository-veqvce7d.js} +1 -1
  258. package/dist/chunks/{state-hcp7me3j.js → repository-vh329328.js} +15 -15
  259. package/dist/chunks/{state-ak2rmdky.js → repository-vjjm1fp8.js} +11 -11
  260. package/dist/chunks/{state-we36wy78.js → repository-vpwejdc6.js} +15 -15
  261. package/dist/chunks/{state-tph5atj5.js → repository-vtxfwj71.js} +5 -5
  262. package/dist/chunks/{state-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  263. package/dist/chunks/{state-g5rxsc28.js → repository-w26xsmnw.js} +25 -25
  264. package/dist/chunks/{state-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  265. package/dist/chunks/{state-ep6q31w0.js → repository-w4axh9wz.js} +6 -6
  266. package/dist/chunks/{state-wd87259q.js → repository-wd87259q.js} +1 -1
  267. package/dist/chunks/{state-3sqqgwh5.js → repository-wdhn35hf.js} +9 -9
  268. package/dist/chunks/{state-21r7wqbn.js → repository-wx95frst.js} +13 -13
  269. package/dist/chunks/{state-g9xty11h.js → repository-wz0ehf68.js} +36 -36
  270. package/dist/chunks/{state-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  271. package/dist/chunks/{state-a5axy371.js → repository-x1f4bnb6.js} +2 -2
  272. package/dist/chunks/{state-abzxsg4z.js → repository-x20sjj3e.js} +47 -47
  273. package/dist/chunks/{state-qdecs828.js → repository-xqax0h2z.js} +23 -23
  274. package/dist/chunks/{state-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{state-1zjyrs07.js → repository-y5ff4yjy.js} +11 -11
  276. package/dist/chunks/{state-ze5b2pt8.js → repository-y5znnrem.js} +28 -28
  277. package/dist/chunks/{state-j7wq2tw5.js → repository-y6f0p4jw.js} +3 -3
  278. package/dist/chunks/{state-y71avatq.js → repository-y71avatq.js} +1 -1
  279. package/dist/chunks/{state-pbygh8wd.js → repository-y86j32r6.js} +27 -27
  280. package/dist/chunks/{state-kmbsbtj2.js → repository-yn35vfdn.js} +15 -15
  281. package/dist/chunks/{state-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{state-yrznvahk.js → repository-yrznvahk.js} +2 -2
  283. package/dist/chunks/{state-7wykakkp.js → repository-yyzm5aws.js} +10 -10
  284. package/dist/chunks/{state-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  285. package/dist/chunks/{state-z63w68vq.js → repository-z63w68vq.js} +2 -2
  286. package/dist/chunks/{state-4mtmdvvs.js → repository-zc2xj3qj.js} +1 -1
  287. package/dist/chunks/{state-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{state-71tevz1s.js → repository-zfdedwf3.js} +36 -36
  289. package/dist/chunks/{state-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{state-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +2 -2
  294. package/dist/command.js +82 -82
  295. package/dist/config/discovery.js +81 -81
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +19 -19
  298. package/dist/config/plugin/agent.js +119 -119
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +157 -157
  301. package/dist/config/plugin/compatibility.js +137 -137
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +120 -120
  304. package/dist/config/plugin/image.js +119 -119
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +121 -121
  307. package/dist/config/plugin/mcp.js +128 -128
  308. package/dist/config/plugin/policy.js +118 -118
  309. package/dist/config/plugin/provider.js +117 -117
  310. package/dist/config/plugin/reference.js +121 -121
  311. package/dist/config/plugin/shell.js +121 -121
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +140 -140
  314. package/dist/config/plugin/snapshot.js +119 -119
  315. package/dist/config/plugin/source.js +121 -121
  316. package/dist/config/plugin/tool-output.js +121 -121
  317. package/dist/config/plugin/websearch.js +119 -119
  318. package/dist/config/plugin/worktree.js +122 -122
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +123 -123
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +69 -69
  325. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +13 -13
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +14 -14
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +78 -78
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +365 -365
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +1 -1
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +73 -73
  413. package/dist/file-access.js +103 -103
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +225 -225
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +98 -98
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +101 -101
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +86 -86
  432. package/dist/generate.js +94 -94
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +7 -7
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +356 -356
  458. package/dist/instruction-discovery.js +84 -84
  459. package/dist/instructions/builtins.js +86 -86
  460. package/dist/instructions/index.js +3 -3
  461. package/dist/integration/connection.js +1 -1
  462. package/dist/integration.js +87 -87
  463. package/dist/job.js +76 -76
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +135 -135
  467. package/dist/location-mutation.js +103 -103
  468. package/dist/location-service-map.js +85 -85
  469. package/dist/location-services.js +353 -353
  470. package/dist/location.js +88 -88
  471. package/dist/mcp/client.js +202 -260
  472. package/dist/mcp/index.js +105 -123
  473. package/dist/mcp/instructions.js +126 -126
  474. package/dist/mcp/oauth.js +259 -38
  475. package/dist/mcp/stdio.js +89 -89
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +7 -7
  478. package/dist/model-resolver.js +85 -85
  479. package/dist/model.js +8 -8
  480. package/dist/models-dev.js +87 -87
  481. package/dist/oauth/page.js +1 -1
  482. package/dist/permission/saved.js +79 -79
  483. package/dist/permission/sql.js +5 -5
  484. package/dist/permission.js +112 -112
  485. package/dist/persistent-pty/binary.bun.js +1 -1
  486. package/dist/persistent-pty/daemon.js +1 -1
  487. package/dist/persistent-pty/index.js +87 -87
  488. package/dist/persistent-pty/pty-binding.js +1 -1
  489. package/dist/persistent-pty.js +74 -74
  490. package/dist/plugin/agent.js +101 -101
  491. package/dist/plugin/command.js +98 -98
  492. package/dist/plugin/hooks.js +5 -5
  493. package/dist/plugin/host.js +216 -216
  494. package/dist/plugin/instance.js +3 -3
  495. package/dist/plugin/internal.js +327 -327
  496. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  497. package/dist/plugin/models-dev.js +76 -76
  498. package/dist/plugin/module.js +7 -7
  499. package/dist/plugin/optimize.js +2 -2
  500. package/dist/plugin/plan.js +101 -101
  501. package/dist/plugin/promise.js +1 -1
  502. package/dist/plugin/provider/alibaba.js +2 -2
  503. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  504. package/dist/plugin/provider/azure.js +121 -121
  505. package/dist/plugin/provider/cerebras.js +2 -2
  506. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  507. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  508. package/dist/plugin/provider/cohere.js +2 -2
  509. package/dist/plugin/provider/configured.js +118 -118
  510. package/dist/plugin/provider/digitalocean.js +80 -80
  511. package/dist/plugin/provider/dynamic.js +2 -2
  512. package/dist/plugin/provider/factory.js +1 -1
  513. package/dist/plugin/provider/gateway.js +2 -2
  514. package/dist/plugin/provider/github-copilot.js +81 -81
  515. package/dist/plugin/provider/gitlab.js +3 -3
  516. package/dist/plugin/provider/google-vertex.js +2 -2
  517. package/dist/plugin/provider/kilo.js +2 -2
  518. package/dist/plugin/provider/llmgateway.js +77 -77
  519. package/dist/plugin/provider/lmstudio.js +121 -121
  520. package/dist/plugin/provider/modal.js +80 -80
  521. package/dist/plugin/provider/nvidia.js +2 -2
  522. package/dist/plugin/provider/ollama.js +121 -121
  523. package/dist/plugin/provider/openai-compatible.js +1 -1
  524. package/dist/plugin/provider/openai.js +79 -79
  525. package/dist/plugin/provider/opencode.js +80 -80
  526. package/dist/plugin/provider/openrouter.js +3 -3
  527. package/dist/plugin/provider/perplexity.js +2 -2
  528. package/dist/plugin/provider/poe.js +77 -77
  529. package/dist/plugin/provider/sap-ai-core.js +3 -3
  530. package/dist/plugin/provider/sdk-factory.js +1 -1
  531. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  532. package/dist/plugin/provider/venice.js +2 -2
  533. package/dist/plugin/provider/vercel.js +2 -2
  534. package/dist/plugin/provider/vllm.js +121 -121
  535. package/dist/plugin/provider/xai.js +78 -78
  536. package/dist/plugin/provider/zenmux.js +2 -2
  537. package/dist/plugin/provider.js +159 -159
  538. package/dist/plugin/sdk.js +75 -75
  539. package/dist/plugin/service.js +3 -3
  540. package/dist/plugin/skill.js +135 -135
  541. package/dist/plugin/source-directory.js +1 -1
  542. package/dist/plugin/supervisor.js +346 -346
  543. package/dist/plugin/update.js +6 -6
  544. package/dist/plugin/variant.js +4 -4
  545. package/dist/plugin/vcs/git.js +85 -85
  546. package/dist/plugin/vcs/hg.js +85 -85
  547. package/dist/plugin/warming.js +116 -116
  548. package/dist/plugin/websearch/exa.js +5 -5
  549. package/dist/plugin/websearch/firecrawl.js +6 -6
  550. package/dist/plugin/websearch/index.js +9 -9
  551. package/dist/plugin/websearch/mcp.js +2 -2
  552. package/dist/plugin/websearch/parallel.js +6 -6
  553. package/dist/plugin/websearch/tavily.js +4 -4
  554. package/dist/plugin/websearch/tinyfish.js +6 -6
  555. package/dist/plugin.js +223 -223
  556. package/dist/project/schema.js +8 -8
  557. package/dist/project/sql.js +4 -4
  558. package/dist/project.js +89 -89
  559. package/dist/provider.js +7 -7
  560. package/dist/pty/protocol.js +1 -1
  561. package/dist/pty/schema.js +3 -3
  562. package/dist/pty/ticket.js +1 -1
  563. package/dist/pty.js +97 -97
  564. package/dist/reference/instructions.js +88 -88
  565. package/dist/reference.js +90 -90
  566. package/dist/repository-cache.js +80 -80
  567. package/dist/repository.js +1 -1
  568. package/dist/ripgrep/binary.js +2 -2
  569. package/dist/ripgrep.js +96 -96
  570. package/dist/rpc.js +85 -85
  571. package/dist/schema.js +1 -1
  572. package/dist/session/command.js +73 -73
  573. package/dist/session/compaction.js +131 -131
  574. package/dist/session/context.js +151 -151
  575. package/dist/session/diff.js +87 -87
  576. package/dist/session/environment.js +5 -5
  577. package/dist/session/error.js +5 -5
  578. package/dist/session/event.js +1 -1
  579. package/dist/session/execution/restart.js +223 -223
  580. package/dist/session/execution.js +126 -126
  581. package/dist/session/generate.js +152 -152
  582. package/dist/session/history.js +13 -13
  583. package/dist/session/inbox.js +87 -87
  584. package/dist/session/info.js +3 -3
  585. package/dist/session/instruction-entry.js +78 -78
  586. package/dist/session/instruction-state.js +8 -8
  587. package/dist/session/instructions.js +96 -96
  588. package/dist/session/message-updater.js +4 -4
  589. package/dist/session/message.js +1 -1
  590. package/dist/session/model-request.js +117 -117
  591. package/dist/session/model-transport.js +9 -9
  592. package/dist/session/move.js +130 -130
  593. package/dist/session/projector.js +85 -85
  594. package/dist/session/prompt.js +104 -104
  595. package/dist/session/provider-context.js +3 -3
  596. package/dist/session/revert.js +89 -89
  597. package/dist/session/run-coordinator.js +1 -1
  598. package/dist/session/runner/index.js +3 -3
  599. package/dist/session/runner/llm.js +228 -228
  600. package/dist/session/runner/max-steps.js +1 -1
  601. package/dist/session/runner/model.js +87 -87
  602. package/dist/session/runner/publish-llm-event.js +3 -3
  603. package/dist/session/runner/retry.js +114 -114
  604. package/dist/session/runner/step.js +125 -125
  605. package/dist/session/runner/to-llm-message.js +2 -2
  606. package/dist/session/schema.js +5 -5
  607. package/dist/session/session.js +172 -172
  608. package/dist/session/shell.js +134 -134
  609. package/dist/session/skill.js +102 -102
  610. package/dist/session/sql.js +5 -5
  611. package/dist/session/stats.js +74 -74
  612. package/dist/session/store.js +84 -84
  613. package/dist/session/subagent-completion.js +1 -1
  614. package/dist/session/subagent-job.js +209 -209
  615. package/dist/session/system-prompt.js +1 -1
  616. package/dist/session/title.js +155 -155
  617. package/dist/session/to-session-error.js +111 -111
  618. package/dist/session/transfer.js +222 -222
  619. package/dist/session/usage.js +1 -1
  620. package/dist/session.js +217 -217
  621. package/dist/shell/parse.js +6 -6
  622. package/dist/shell/result.js +1 -1
  623. package/dist/shell/scan.js +1 -1
  624. package/dist/shell/select.js +9 -9
  625. package/dist/shell.js +136 -136
  626. package/dist/skill/discovery.js +6 -6
  627. package/dist/skill/instructions.js +104 -104
  628. package/dist/skill.js +111 -111
  629. package/dist/snapshot.js +90 -90
  630. package/dist/state.js +1 -1
  631. package/dist/tool/html-markdown.js +1 -1
  632. package/dist/tool/http-body.js +1 -1
  633. package/dist/tool/mcp.js +123 -123
  634. package/dist/tool/plugin/edit.js +119 -119
  635. package/dist/tool/plugin/file-diff.js +1 -1
  636. package/dist/tool/plugin/glob.js +123 -123
  637. package/dist/tool/plugin/grep.js +123 -123
  638. package/dist/tool/plugin/opencode.js +3 -3
  639. package/dist/tool/plugin/patch.js +121 -121
  640. package/dist/tool/plugin/question.js +102 -102
  641. package/dist/tool/plugin/read.js +124 -124
  642. package/dist/tool/plugin/shell.js +216 -216
  643. package/dist/tool/plugin/skill.js +112 -112
  644. package/dist/tool/plugin/subagent.js +218 -218
  645. package/dist/tool/plugin/webfetch.js +103 -103
  646. package/dist/tool/plugin/websearch.js +113 -113
  647. package/dist/tool/plugin/write.js +121 -121
  648. package/dist/tool/read-filesystem.js +99 -99
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +8 -8
  651. package/dist/tool.js +13 -13
  652. package/dist/types/mcp/client.d.ts +220 -124
  653. package/dist/types/mcp/index.d.ts +23 -87
  654. package/dist/types/mcp/oauth.d.ts +26 -51
  655. package/dist/types/mcp/stdio.d.ts +1 -1
  656. package/dist/types/v1/config/migrate.d.ts +2 -0
  657. package/dist/util/error-summary.js +1 -1
  658. package/dist/util/error.js +1 -1
  659. package/dist/util/git-executable.js +2 -2
  660. package/dist/util/iife.js +1 -1
  661. package/dist/util/lazy.js +1 -1
  662. package/dist/util/slug.js +1 -1
  663. package/dist/util/token.js +1 -1
  664. package/dist/util/which.js +1 -1
  665. package/dist/util/wildcard.js +1 -1
  666. package/dist/v1/config/agent.js +3 -3
  667. package/dist/v1/config/attachment.js +4 -4
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/config.js +14 -14
  670. package/dist/v1/config/error.js +2 -2
  671. package/dist/v1/config/formatter.js +3 -3
  672. package/dist/v1/config/layout.js +1 -1
  673. package/dist/v1/config/lsp.js +3 -3
  674. package/dist/v1/config/mcp.js +2 -2
  675. package/dist/v1/config/migrate.js +4 -4
  676. package/dist/v1/config/permission.js +3 -3
  677. package/dist/v1/config/plugin.js +3 -3
  678. package/dist/v1/config/provider-options.js +1 -1
  679. package/dist/v1/config/provider.js +4 -4
  680. package/dist/v1/config/server.js +2 -2
  681. package/dist/v1/config/skills.js +3 -3
  682. package/dist/v1/permission.js +1 -1
  683. package/dist/vcs/patch.js +1 -1
  684. package/dist/vcs.js +88 -88
  685. package/dist/websearch.js +83 -83
  686. package/dist/wellknown/plugin.js +75 -75
  687. package/dist/wellknown.js +76 -76
  688. package/dist/workspace/driver.js +5 -5
  689. package/dist/workspace/sql.js +1 -1
  690. package/dist/workspace.js +77 -77
  691. package/dist/worktree/directory.js +2 -2
  692. package/dist/worktree/git.js +8 -8
  693. package/dist/worktree/refresh.js +345 -345
  694. package/dist/worktree/sql.js +5 -5
  695. package/dist/worktree.js +91 -91
  696. package/package.json +17 -16
  697. package/dist/chunks/state-0mesazry.js +0 -4
  698. package/dist/chunks/state-4v7qdvcn.js +0 -18
  699. package/dist/chunks/state-7kk32ydz.js +0 -247
  700. package/dist/chunks/state-mkcvx21g.js +0 -466
  701. package/dist/chunks/state-w97wtb7e.js +0 -26
  702. /package/dist/chunks/{state-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  703. /package/dist/chunks/{state-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  704. /package/dist/chunks/{state-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  705. /package/dist/chunks/{state-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  706. /package/dist/chunks/{state-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  707. /package/dist/chunks/{state-2710q6r3.js → repository-2710q6r3.js} +0 -0
  708. /package/dist/chunks/{state-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  709. /package/dist/chunks/{state-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  710. /package/dist/chunks/{state-359p4xyc.js → repository-359p4xyc.js} +0 -0
  711. /package/dist/chunks/{state-3asan66x.js → repository-3asan66x.js} +0 -0
  712. /package/dist/chunks/{state-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  713. /package/dist/chunks/{state-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  714. /package/dist/chunks/{state-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  715. /package/dist/chunks/{state-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  716. /package/dist/chunks/{state-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  717. /package/dist/chunks/{state-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  718. /package/dist/chunks/{state-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  719. /package/dist/chunks/{state-53557ph1.js → repository-53557ph1.js} +0 -0
  720. /package/dist/chunks/{state-550bvhaj.js → repository-550bvhaj.js} +0 -0
  721. /package/dist/chunks/{state-6prwharc.js → repository-6prwharc.js} +0 -0
  722. /package/dist/chunks/{state-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{state-7m9af43g.js → repository-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{state-822emrt2.js → repository-822emrt2.js} +0 -0
  725. /package/dist/chunks/{state-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{state-8n3pysct.js → repository-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{state-922hggd3.js → repository-922hggd3.js} +0 -0
  728. /package/dist/chunks/{state-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{state-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{state-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{state-af5trqkr.js → repository-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{state-afrmfg78.js → repository-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{state-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{state-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{state-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{state-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{state-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{state-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{state-d9fn303g.js → repository-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{state-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{state-dajrwvna.js → repository-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{state-dap0rakb.js → repository-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{state-df08tz66.js → repository-df08tz66.js} +0 -0
  744. /package/dist/chunks/{state-dy18nga0.js → repository-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{state-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{state-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{state-ec1grn59.js → repository-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{state-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{state-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{state-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{state-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{state-faypxj3z.js → repository-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{state-fd410y7t.js → repository-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{state-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{state-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{state-g86h250q.js → repository-g86h250q.js} +0 -0
  757. /package/dist/chunks/{state-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{state-gftt206x.js → repository-gftt206x.js} +0 -0
  759. /package/dist/chunks/{state-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{state-hk9envan.js → repository-hk9envan.js} +0 -0
  761. /package/dist/chunks/{state-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
  762. /package/dist/chunks/{state-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  763. /package/dist/chunks/{state-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  764. /package/dist/chunks/{state-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{state-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{state-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{state-mp448xyj.js → repository-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{state-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{state-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{state-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{state-njntx4h6.js → repository-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{state-paphc93g.js → repository-paphc93g.js} +0 -0
  773. /package/dist/chunks/{state-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{state-q74kybfr.js → repository-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{state-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{state-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{state-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{state-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{state-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{state-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{state-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{state-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{state-twg0f83k.js → repository-twg0f83k.js} +0 -0
  784. /package/dist/chunks/{state-w803qqfp.js → repository-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{state-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  786. /package/dist/chunks/{state-wtztk69x.js → repository-wtztk69x.js} +0 -0
  787. /package/dist/chunks/{state-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  788. /package/dist/chunks/{state-x61499pn.js → repository-x61499pn.js} +0 -0
  789. /package/dist/chunks/{state-y44na4kk.js → repository-y44na4kk.js} +0 -0
  790. /package/dist/chunks/{state-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  791. /package/dist/chunks/{state-y8f7s663.js → repository-y8f7s663.js} +0 -0
  792. /package/dist/chunks/{state-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  793. /package/dist/chunks/{state-ym463w8f.js → repository-ym463w8f.js} +0 -0
  794. /package/dist/chunks/{state-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
10
10
  Hash: () => Hash2,
11
11
  InitializationBlocked: () => InitializationBlocked2,
12
12
  Instructions: () => exports_instructions6,
13
- Key: () => Key4,
13
+ Key: () => Key3,
14
14
  Values: () => Values2,
15
15
  applyHashDelta: () => applyHashDelta2,
16
16
  combine: () => combine2,
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
28
28
  import { createHash } from "crypto";
29
29
  import { Instruction } from "@opencode/schema/instruction";
30
30
  import { Data, Effect, Option, Schema } from "effect";
31
- var Key4 = Instruction.Key;
31
+ var Key3 = Instruction.Key;
32
32
  var Hash2 = Instruction.Hash;
33
33
  var Values2 = Instruction.Values;
34
34
  var Delta2 = Instruction.Delta;
@@ -36,14 +36,14 @@ var NonValue = Data.taggedEnum();
36
36
  var unavailable3 = NonValue.Unavailable();
37
37
  var removed2 = NonValue.Removed();
38
38
 
39
- class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
39
+ class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
40
40
  get message() {
41
41
  return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
42
42
  }
43
43
  }
44
44
 
45
45
  class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
46
- key: Key4
46
+ key: Key3
47
47
  }) {
48
48
  get message() {
49
49
  return `Duplicate instruction key: ${this.key}`;
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./state-tazgh4e4.js";
3
+ } from "./repository-tazgh4e4.js";
4
4
  import {
5
- ID4,
6
- Service32
7
- } from "./state-y232qd0c.js";
5
+ ID6,
6
+ Service47
7
+ } from "./repository-fr89gf7f.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./state-j7wq2tw5.js";
10
+ } from "./repository-y6f0p4jw.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./state-1vr0zdnx.js";
13
+ } from "./repository-e5xpd6yj.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./state-5c4hm403.js";
16
+ } from "./repository-a1bz86dw.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./repository-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service32;
84
+ const snapshot = yield* Service47;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID4.make(from),
91
- to: ID4.make(to),
90
+ from: ID6.make(from),
91
+ to: ID6.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./state-abzxsg4z.js";
7
- import {
8
- Service73,
9
- node78
10
- } from "./state-1gwwkbhx.js";
6
+ } from "./repository-x20sjj3e.js";
11
7
  import {
12
8
  Service66,
13
9
  node70
14
- } from "./state-73kb41h8.js";
10
+ } from "./repository-1e17p1v6.js";
11
+ import {
12
+ Service58,
13
+ node62
14
+ } from "./repository-qp8nwhvn.js";
15
15
  import {
16
16
  __export
17
- } from "./state-9rqn6x4v.js";
17
+ } from "./repository-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service40,
25
+ Service: () => Service19,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node44,
27
+ node: () => node23,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service40 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service19 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service40, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
- const location = yield* Service73;
61
- const permission = yield* Service66;
60
+ const location = yield* Service66;
61
+ const permission = yield* Service58;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service40.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service19.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node44 = makeLocationNode({ service: Service40, layer, deps: [FSUtil.node, node78, node70] });
112
+ var node23 = makeLocationNode({ service: Service19, layer, deps: [FSUtil.node, node70, node62] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service40, resolvePath2, node44, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service19, resolvePath2, node23, exports_file_access };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./state-0sd1vqbs.js";
4
+ } from "./repository-pye8sh6e.js";
5
5
  import {
6
- ID10
7
- } from "./state-f6hkkqkf.js";
6
+ ID14
7
+ } from "./repository-nxamnhdf.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID10.make("gpt-5-chat-latest"), ID10.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID14.make("gpt-5-chat-latest"), ID14.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./state-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./state-88xbtdfr.js";
3
+ } from "./repository-88xbtdfr.js";
4
4
  import {
5
5
  load2
6
- } from "./state-paphc93g.js";
6
+ } from "./repository-paphc93g.js";
7
7
  import {
8
8
  __export
9
- } from "./state-9rqn6x4v.js";
9
+ } from "./repository-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event9,
14
+ Event: () => Event10,
15
15
  Native: () => Native3,
16
- Options: () => Options7,
17
- Service: () => Service44,
16
+ Options: () => Options9,
17
+ Service: () => Service45,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured6,
20
+ configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer17,
22
+ layer: () => layer19,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node48,
25
+ node: () => node50,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event9 = { Updated: FileSystem.Event.Changed };
36
+ var Event10 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load2());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options7 = Schema.Struct({
56
+ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service44 extends Context.Service()("@opencode/Watcher") {
60
+ class Service45 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
65
+ var layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service44.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service45.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service44.of({ subscribe });
108
+ return Service45.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer17().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service44).subscribe,
134
+ subscribe: Context.get(context, Service45).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service44, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service45, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured6(options) {
168
- return makeGlobalNode({ service: Service44, layer: layer17(options), deps: [nativeNode2] });
167
+ function configured9(options) {
168
+ return makeGlobalNode({ service: Service45, layer: layer19(options), deps: [nativeNode2] });
169
169
  }
170
- var node48 = configured6();
170
+ var node50 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event9, hasNativeBinding2, Native3, Options7, Service44, Test3, layer17, testLayer3, nativeLayer2, nativeNode2, configured6, node48, exports_watcher };
190
+ export { Event10, hasNativeBinding2, Native3, Options9, Service45, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured9, node50, exports_watcher };
@@ -1,23 +1,23 @@
1
1
  import {
2
- ID11,
2
+ ID16,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./state-0sd1vqbs.js";
5
+ } from "./repository-pye8sh6e.js";
6
6
  import {
7
- ID10,
7
+ ID14,
8
8
  VariantID2,
9
9
  Family2,
10
- Info24
11
- } from "./state-f6hkkqkf.js";
10
+ Info29
11
+ } from "./repository-nxamnhdf.js";
12
12
  import {
13
13
  __export
14
- } from "./state-9rqn6x4v.js";
14
+ } from "./repository-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- CopilotModels: () => exports_models2,
20
- get: () => get3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ CopilotModels: () => exports_models,
20
+ get: () => get2
21
21
  });
22
22
  import { Money } from "@opencode/schema/money";
23
23
  import { Option, Schema } from "effect";
@@ -66,7 +66,7 @@ var RemoteModel = Schema.Struct({
66
66
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
67
67
  var decodeResponse = Schema.decodeUnknownSync(Response);
68
68
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
69
- async function get3(baseURL, headers, existing) {
69
+ async function get2(baseURL, headers, existing) {
70
70
  const response = await fetch(`${baseURL}/models`, {
71
71
  headers,
72
72
  signal: AbortSignal.timeout(5000)
@@ -87,7 +87,7 @@ async function get3(baseURL, headers, existing) {
87
87
  result.set(id, build(id, current, baseURL, model));
88
88
  }
89
89
  for (const [id, model] of remote) {
90
- const key = ID10.make(id);
90
+ const key = ID14.make(id);
91
91
  if (result.has(key))
92
92
  continue;
93
93
  result.set(key, build(key, model, baseURL));
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
111
111
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
- return Info24.make({
115
- ...Info24.default(ID11.githubCopilot, id),
114
+ return Info29.make({
115
+ ...Info29.default(ID16.githubCopilot, id),
116
116
  id,
117
- modelID: ID10.make(remote.id),
118
- providerID: ID11.githubCopilot,
117
+ modelID: ID14.make(remote.id),
118
+ providerID: ID16.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
121
121
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
@@ -190,4 +190,4 @@ function variants(remote, messages) {
190
190
  ];
191
191
  }
192
192
 
193
- export { get3, exports_models2 };
193
+ export { get2, exports_models };
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node52
5
- } from "./state-5r58m9f4.js";
4
+ node44
5
+ } from "./repository-j4z2qnee.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./state-paegk39x.js";
9
+ } from "./repository-msq0jde0.js";
10
10
  import {
11
- Service80,
12
- node85
13
- } from "./state-qd153e6s.js";
11
+ Service62,
12
+ node66
13
+ } from "./repository-cfv81dax.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./state-73kb41h8.js";
16
+ } from "./repository-qp8nwhvn.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./state-md4zkmej.js";
19
+ } from "./repository-3pjcaesv.js";
20
20
  import {
21
- Error5
22
- } from "./state-sy5x3wzp.js";
21
+ Error3
22
+ } from "./repository-pgw46sns.js";
23
23
  import {
24
- Service25,
25
- node29
26
- } from "./state-n8dg5zmh.js";
24
+ Service37,
25
+ node41
26
+ } from "./repository-g8mks886.js";
27
27
  import {
28
28
  make15
29
- } from "./state-hjt4xg1x.js";
29
+ } from "./repository-hjt4xg1x.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./state-x569bdqa.js";
32
+ } from "./repository-k2dherqe.js";
33
33
  import {
34
34
  __export
35
- } from "./state-9rqn6x4v.js";
35
+ } from "./repository-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service24,
40
+ Service: () => Service34,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer11,
45
- node: () => node28,
44
+ layer: () => layer14,
45
+ node: () => node39,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import {
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
150
150
  }));
151
151
  };
152
152
 
153
- class Service24 extends Context.Service()("@opencode/SessionModelRequest") {
153
+ class Service34 extends Context.Service()("@opencode/SessionModelRequest") {
154
154
  }
155
- var layer11 = Layer.effect(Service24, Effect.gen(function* () {
156
- const hooks = yield* Service80;
157
- const transport = yield* Service25;
155
+ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
156
+ const hooks = yield* Service62;
157
+ const transport = yield* Service37;
158
158
  const app = yield* Metadata2;
159
159
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
160
160
  const session = input.session;
@@ -162,7 +162,7 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
162
162
  const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
163
163
  const tools = input.tools ?? {
164
164
  definitions: [],
165
- execute: () => new Error5({ message: "Tools are not available for this request" })
165
+ execute: () => new Error3({ message: "Tools are not available for this request" })
166
166
  };
167
167
  const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
168
168
  const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
@@ -244,17 +244,17 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
244
244
  };
245
245
  });
246
246
  const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
247
- return Service24.of({
247
+ return Service34.of({
248
248
  primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
249
249
  compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
250
250
  generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
251
251
  title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
252
252
  });
253
253
  }));
254
- var node28 = makeLocationNode({
255
- service: Service24,
256
- layer: layer11,
257
- deps: [node85, node29, node52]
254
+ var node39 = makeLocationNode({
255
+ service: Service34,
256
+ layer: layer14,
257
+ deps: [node66, node41, node44]
258
258
  });
259
259
 
260
- export { baseTranscript2, unsupportedParts2, boundImages2, Service24, layer11, node28, exports_model_request };
260
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service34, layer14, node39, exports_model_request };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
- Info18,
6
- ID6,
5
+ Info7,
6
+ ID5,
7
7
  Name2
8
- } from "./state-zrw639qq.js";
8
+ } from "./repository-8fcwscdw.js";
9
9
  import {
10
- Service43
11
- } from "./state-nsk2qhm1.js";
10
+ Service44
11
+ } from "./repository-p2t1ayvx.js";
12
12
  import {
13
13
  __export
14
- } from "./state-9rqn6x4v.js";
14
+ } from "./repository-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
17
  var exports_skill3 = {};
18
18
  __export(exports_skill3, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin43,
21
+ Plugin: () => Plugin40,
22
22
  ReportContent: () => ReportContent2,
23
23
  SkillPlugin: () => exports_skill3
24
24
  });
@@ -421,20 +421,20 @@ var OpencodeContent2 = opencode_default;
421
421
  var ReportContent2 = report_default;
422
422
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
423
423
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
424
- var Plugin43 = define({
424
+ var Plugin40 = define({
425
425
  id: "opencode.skill",
426
426
  effect: Effect.fn(function* (ctx) {
427
427
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
428
428
  yield* ctx.skill.transform((editor) => {
429
- editor.add(Info18.make({
430
- id: ID6.make("opencode"),
429
+ editor.add(Info7.make({
430
+ id: ID5.make("opencode"),
431
431
  name: Name2.make("OpenCode"),
432
432
  description: OpencodeDescription2,
433
433
  path: AbsolutePath2.make("/builtin/opencode.md"),
434
434
  content: OpencodeContent2
435
435
  }));
436
- editor.add(Info18.make({
437
- id: ID6.make("report"),
436
+ editor.add(Info7.make({
437
+ id: ID5.make("report"),
438
438
  name: Name2.make("Report"),
439
439
  description: REPORT_DESCRIPTION,
440
440
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -462,7 +462,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
462
462
  `);
463
463
  });
464
464
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
465
- const config = yield* Service43;
465
+ const config = yield* Service44;
466
466
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
467
467
  });
468
468
  function terminal() {
@@ -476,4 +476,4 @@ function shell() {
476
476
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
477
477
  }
478
478
 
479
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin43, exports_skill3 };
479
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin40, exports_skill3 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./state-922hggd3.js";
4
+ } from "./repository-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./state-y71avatq.js";
7
+ } from "./repository-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./state-tazgh4e4.js";
12
+ } from "./repository-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./state-ef5x83kb.js";
15
+ } from "./repository-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./state-9rqn6x4v.js";
18
+ } from "./repository-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service75,
26
+ Service: () => Service68,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node80
30
+ node: () => node72
31
31
  });
32
32
  import path from "path";
33
33
  import { Context, Effect, Layer, Schema } from "effect";
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
93
93
  }) {
94
94
  }
95
95
 
96
- class Service75 extends Context.Service()("@opencode/Git") {
96
+ class Service68 extends Context.Service()("@opencode/Git") {
97
97
  }
98
- var layer = Layer.effect(Service75, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const locks = makeUnsafe2();
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
419
419
  kind: index === 0 ? "main" : "linked"
420
420
  }));
421
421
  });
422
- return Service75.of({
422
+ return Service68.of({
423
423
  repo: { discover, clone, create },
424
424
  remote: { get: remote },
425
425
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
435
435
  }
436
436
  });
437
437
  }));
438
- var node80 = makeGlobalNode({ service: Service75, layer, deps: [FSUtil.node, AppProcess.node] });
438
+ var node72 = makeGlobalNode({ service: Service68, layer, deps: [FSUtil.node, AppProcess.node] });
439
439
  function run(cwd, proc, args) {
440
440
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
441
441
  }
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
463
463
  return path.resolve(cwd, normalized);
464
464
  }
465
465
 
466
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service75, node80, exports_git3 };
466
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service68, node72, exports_git3 };