@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,48 +1,48 @@
1
1
  import {
2
- Service76
3
- } from "./state-5matf414.js";
2
+ Service78
3
+ } from "./repository-cpn39njb.js";
4
4
  import {
5
- Service65
6
- } from "./state-tnkeyv2f.js";
5
+ Service63
6
+ } from "./repository-9whdk0qy.js";
7
7
  import {
8
8
  group2,
9
9
  batch2,
10
10
  shutdown2,
11
11
  inherit2
12
- } from "./state-kg06axw8.js";
12
+ } from "./repository-kg06axw8.js";
13
13
  import {
14
- Service29,
14
+ Service36,
15
15
  awaitActivation2
16
- } from "./state-4v7qdvcn.js";
16
+ } from "./repository-jqh9b0xq.js";
17
17
  import {
18
18
  make11,
19
19
  requirements3,
20
20
  storage2
21
- } from "./state-3wr47b46.js";
21
+ } from "./repository-2ce9th4e.js";
22
22
  import {
23
23
  __export
24
- } from "./state-9rqn6x4v.js";
24
+ } from "./repository-9rqn6x4v.js";
25
25
 
26
26
  // src/plugin.ts
27
27
  var exports_plugin2 = {};
28
28
  __export(exports_plugin2, {
29
29
  Event: () => Event3,
30
- ID: () => ID3,
31
- Info: () => Info3,
30
+ ID: () => ID2,
31
+ Info: () => Info2,
32
32
  Plugin: () => exports_plugin2,
33
- Service: () => Service29,
33
+ Service: () => Service36,
34
34
  Source: () => Source2,
35
35
  State: () => State2,
36
36
  awaitActivation: () => awaitActivation2,
37
37
  node: () => node18
38
38
  });
39
- import { Event as Event3, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
39
+ import { Event as Event3, ID as ID2, Info as Info2, Source as Source2, State as State2 } from "@opencode/schema/plugin";
40
40
  import { Plugin } from "@opencode/schema/plugin";
41
41
  import { Node } from "@opencode/util/effect/app-node";
42
42
  import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
43
- var layer = Layer.effect(Service29, Effect.gen(function* () {
44
- const bus = yield* Service76;
45
- const kv = yield* Service65;
43
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
44
+ const bus = yield* Service78;
45
+ const kv = yield* Service63;
46
46
  const scope = yield* Scope.make();
47
47
  const active = new Map;
48
48
  const lock = Semaphore.makeUnsafe(1);
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
205
205
  yield* shutdown2(Scope.close(scope, exit));
206
206
  }));
207
207
  yield* Effect.addFinalizer(close);
208
- return Service29.of({
208
+ return Service36.of({
209
209
  activate,
210
210
  close,
211
211
  awaitActivation: ready.await,
@@ -223,9 +223,9 @@ function slotInfo(slot) {
223
223
  };
224
224
  }
225
225
  var node18 = Node.makeLocationNode({
226
- service: Service29,
226
+ service: Service36,
227
227
  layer,
228
228
  deps: [requirements3]
229
229
  });
230
230
 
231
- export { node18, exports_plugin2, Event3, ID3, Info3, Source2, State2 };
231
+ export { node18, exports_plugin2, Event3, ID2, Info2, Source2, State2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID11
3
- } from "./state-0sd1vqbs.js";
2
+ ID16
3
+ } from "./repository-pye8sh6e.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/model.ts
9
9
  var exports_model2 = {};
@@ -12,25 +12,25 @@ __export(exports_model2, {
12
12
  Compatibility: () => Compatibility2,
13
13
  Cost: () => Cost2,
14
14
  Family: () => Family2,
15
- ID: () => ID10,
16
- Info: () => Info24,
15
+ ID: () => ID14,
16
+ Info: () => Info29,
17
17
  Model: () => exports_model2,
18
18
  ReasoningField: () => ReasoningField2,
19
- Ref: () => Ref3,
19
+ Ref: () => Ref4,
20
20
  VariantID: () => VariantID2,
21
21
  compatibility: () => compatibility2,
22
22
  parse: () => parse5
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
- var ID10 = Model.ID;
25
+ var ID14 = Model.ID;
26
26
  var VariantID2 = Model.VariantID;
27
27
  var Family2 = Model.Family;
28
28
  var ReasoningField2 = Model.ReasoningField;
29
29
  var Compatibility2 = Model.Compatibility;
30
30
  var Capabilities2 = Model.Capabilities;
31
31
  var Cost2 = Model.Cost;
32
- var Ref3 = Model.Ref;
33
- var Info24 = Model.Info;
32
+ var Ref4 = Model.Ref;
33
+ var Info29 = Model.Info;
34
34
  function compatibility2(input) {
35
35
  if (typeof input === "string")
36
36
  return { reasoningField: input };
@@ -41,9 +41,9 @@ function compatibility2(input) {
41
41
  function parse5(input) {
42
42
  const index = input.indexOf("/");
43
43
  return {
44
- providerID: ID11.make(index === -1 ? input : input.slice(0, index)),
45
- modelID: ID10.make(index === -1 ? "" : input.slice(index + 1))
44
+ providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
45
+ modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
46
46
  };
47
47
  }
48
48
 
49
- export { ID10, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info24, compatibility2, parse5, exports_model2 };
49
+ export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref4, Info29, compatibility2, parse5, exports_model2 };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./state-5matf414.js";
2
+ Service78,
3
+ node83
4
+ } from "./repository-cpn39njb.js";
5
5
  import {
6
- Event17,
7
- Service64,
8
- node68
9
- } from "./state-1m07gwnh.js";
6
+ Event19,
7
+ Service75,
8
+ node79
9
+ } from "./repository-1vnsgk5t.js";
10
10
  import {
11
- Service44,
12
- node48
13
- } from "./state-9qe9ae67.js";
11
+ Service45,
12
+ node50
13
+ } from "./repository-shg3amz7.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./state-922hggd3.js";
16
+ } from "./repository-922hggd3.js";
17
17
  import {
18
- Service73,
19
- node78
20
- } from "./state-1gwwkbhx.js";
18
+ Service66,
19
+ node70
20
+ } from "./repository-1e17p1v6.js";
21
21
  import {
22
22
  substitute2
23
- } from "./state-yrznvahk.js";
23
+ } from "./repository-yrznvahk.js";
24
24
  import {
25
25
  normalize2
26
- } from "./state-32y0495t.js";
26
+ } from "./repository-d4shdzcf.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./state-m4r7hmz3.js";
30
+ } from "./repository-ht8esz14.js";
31
31
  import {
32
32
  plan2
33
- } from "./state-j56e64zr.js";
33
+ } from "./repository-j56e64zr.js";
34
34
  import {
35
35
  Service46,
36
- Event10,
37
- node50
38
- } from "./state-w1907c88.js";
36
+ Event11,
37
+ node51
38
+ } from "./repository-1r601apj.js";
39
39
  import {
40
40
  __export
41
- } from "./state-9rqn6x4v.js";
41
+ } from "./repository-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
- Options: () => Options5,
48
- Service: () => Service43,
47
+ Options: () => Options7,
48
+ Service: () => Service44,
49
49
  Test: () => Test2,
50
- configured: () => configured5,
50
+ configured: () => configured8,
51
51
  latest: () => latest2,
52
- layer: () => layer16,
53
- node: () => node47,
52
+ layer: () => layer18,
53
+ node: () => node49,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
64
64
  function latest2(entries, key) {
65
65
  return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
66
66
  }
67
- var Options5 = Schema.Struct({
67
+ var Options7 = Schema.Struct({
68
68
  project: Schema.optional(Schema.Boolean),
69
69
  global: Schema.optional(Schema.Boolean),
70
70
  file: Schema.optional(Schema.String),
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service43 extends Context.Service()("@opencode/Config") {
74
+ class Service44 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,14 +89,14 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service43, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service44, service), Context.add(Test2, service));
93
93
  }));
94
- var layer16 = (options) => Layer.effect(Service43, Effect.gen(function* () {
94
+ var layer18 = (options) => Layer.effect(Service44, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service73;
97
- const watcher = yield* Service44;
98
- const bus = yield* Service76;
99
- const credentials = yield* Service64;
96
+ const location = yield* Service66;
97
+ const watcher = yield* Service45;
98
+ const bus = yield* Service78;
99
+ const credentials = yield* Service75;
100
100
  const globalService = yield* Global.Service;
101
101
  const wellknown = yield* Service46;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
@@ -221,8 +221,8 @@ var layer16 = (options) => Layer.effect(Service43, Effect.gen(function* () {
221
221
  }, (effect) => reloadLock.withPermit(effect));
222
222
  const pendingReloads = yield* PubSub.subscribe(reloads);
223
223
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
- yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
224
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
225
+ yield* bus.subscribe(Event11.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
226
226
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
227
227
  if (!wellknown.snapshot().length)
228
228
  return Effect.void;
@@ -250,7 +250,7 @@ var layer16 = (options) => Layer.effect(Service43, Effect.gen(function* () {
250
250
  `);
251
251
  yield* requestReload;
252
252
  }, (effect) => updateLock.withPermit(effect));
253
- return Service43.of({
253
+ return Service44.of({
254
254
  entries: Effect.fnUntraced(function* () {
255
255
  return configs;
256
256
  }),
@@ -262,13 +262,13 @@ var layer16 = (options) => Layer.effect(Service43, Effect.gen(function* () {
262
262
  update
263
263
  });
264
264
  }));
265
- function configured5(options) {
265
+ function configured8(options) {
266
266
  return makeLocationNode({
267
- service: Service43,
268
- layer: layer16(options),
269
- deps: [node48, node81, FSUtil.node, Global.node, node78, node68, node50]
267
+ service: Service44,
268
+ layer: layer18(options),
269
+ deps: [node50, node83, FSUtil.node, Global.node, node70, node79, node51]
270
270
  });
271
271
  }
272
- var node47 = configured5();
272
+ var node49 = configured8();
273
273
 
274
- export { latest2, Options5, Service43, Test2, testLayer2, layer16, configured5, node47, exports_config };
274
+ export { latest2, Options7, Service44, Test2, testLayer2, layer18, configured8, node49, exports_config };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service73
3
- } from "./state-1gwwkbhx.js";
2
+ Service66
3
+ } from "./repository-1e17p1v6.js";
4
4
  import {
5
5
  latest2,
6
- Service43
7
- } from "./state-nsk2qhm1.js";
6
+ Service44
7
+ } from "./repository-p2t1ayvx.js";
8
8
  import {
9
- Service13
10
- } from "./state-9wq3kma9.js";
9
+ Service14
10
+ } from "./repository-bgxa3gb8.js";
11
11
  import {
12
- make5
13
- } from "./state-r5x6zcsm.js";
12
+ make7
13
+ } from "./repository-1bbkgx8g.js";
14
14
  import {
15
15
  observe2
16
- } from "./state-qsdy395h.js";
16
+ } from "./repository-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./repository-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/formatter.ts
22
22
  var exports_formatter = {};
23
23
  __export(exports_formatter, {
24
24
  ConfigFormatterPlugin: () => exports_formatter,
25
- Plugin: () => Plugin16
25
+ Plugin: () => Plugin4
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
30
30
  import { Npm } from "@opencode/util/npm";
31
31
  import { AppProcess } from "@opencode/util/process";
32
32
  import { Effect } from "effect";
33
- var Plugin16 = define({
33
+ var Plugin4 = define({
34
34
  id: "opencode.config.formatter",
35
35
  effect: Effect.fn(function* (ctx) {
36
- const config = yield* Service43;
37
- const formatter = yield* Service13;
36
+ const config = yield* Service44;
37
+ const formatter = yield* Service14;
38
38
  const fs = yield* FSUtil.Service;
39
39
  const global = yield* Global.Service;
40
- const location = yield* Service73;
40
+ const location = yield* Service66;
41
41
  const npm = yield* Npm.Service;
42
42
  const processes = yield* AppProcess.Service;
43
43
  const loaded = yield* observe2(config, ctx.event, formatter.reload());
@@ -45,7 +45,7 @@ var Plugin16 = define({
45
45
  const configured = latest2(loaded.entries, "formatter");
46
46
  if (!configured)
47
47
  return;
48
- const builtIns = make5({
48
+ const builtIns = make7({
49
49
  directory: location.directory,
50
50
  worktree: location.project.directory,
51
51
  fs,
@@ -74,4 +74,4 @@ var Plugin16 = define({
74
74
  })
75
75
  });
76
76
 
77
- export { Plugin16, exports_formatter };
77
+ export { Plugin4, exports_formatter };
@@ -1,24 +1,24 @@
1
1
  import {
2
- Service76
3
- } from "./state-5matf414.js";
2
+ Service78
3
+ } from "./repository-cpn39njb.js";
4
4
  import {
5
5
  OAuth3,
6
- Event17
7
- } from "./state-1m07gwnh.js";
6
+ Event19
7
+ } from "./repository-1vnsgk5t.js";
8
8
  import {
9
- ID7,
9
+ ID13,
10
10
  MethodID2
11
- } from "./state-0tj6kgwv.js";
11
+ } from "./repository-b3pcj4k8.js";
12
12
  import {
13
- ID11,
13
+ ID16,
14
14
  mergeOverlay2,
15
15
  mergeHeaders2
16
- } from "./state-0sd1vqbs.js";
16
+ } from "./repository-pye8sh6e.js";
17
17
  import {
18
- ID5,
19
- Input14,
18
+ ID4,
19
+ Input13,
20
20
  Response2
21
- } from "./state-a9ym64nf.js";
21
+ } from "./repository-jydw0f72.js";
22
22
 
23
23
  // src/plugin/provider/opencode.ts
24
24
  import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
32
32
  var RemoteResponse = Schema.Struct({
33
33
  providers: Schema.Record(Schema.String, ConfigProvider.Info),
34
34
  websearch: Schema.Struct({
35
- providerID: ID5
35
+ providerID: ID4
36
36
  }).pipe(Schema.optional)
37
37
  });
38
38
  var Device = Schema.Struct({
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
54
54
  var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
55
55
  function oauth(http) {
56
56
  return {
57
- integrationID: ID7.make("opencode"),
57
+ integrationID: ID13.make("opencode"),
58
58
  method: {
59
59
  id: methodID,
60
60
  type: "oauth",
@@ -99,7 +99,7 @@ function oauth(http) {
99
99
  var OpencodePlugin2 = define({
100
100
  id: "opencode.provider.opencode",
101
101
  effect: Effect.fn(function* (ctx) {
102
- const bus = yield* Service76;
102
+ const bus = yield* Service78;
103
103
  const http = yield* HttpClient.HttpClient;
104
104
  const loading = Semaphore.makeUnsafe(1);
105
105
  let snapshot = { config: undefined, connection: undefined };
@@ -125,7 +125,7 @@ var OpencodePlugin2 = define({
125
125
  catalog.provider.update(providerID, (provider) => {
126
126
  if (source && source.provider !== provider)
127
127
  Object.assign(provider, structuredClone(source.provider), { id: provider.id });
128
- provider.integrationID = ID7.make("opencode");
128
+ provider.integrationID = ID13.make("opencode");
129
129
  if (item.canonical !== undefined)
130
130
  provider.canonical = item.canonical;
131
131
  if (item.name !== undefined)
@@ -188,7 +188,7 @@ var OpencodePlugin2 = define({
188
188
  });
189
189
  }
190
190
  }
191
- const item = catalog.provider.get(ID11.opencode);
191
+ const item = catalog.provider.get(ID16.opencode);
192
192
  if (!item)
193
193
  return;
194
194
  const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
@@ -228,7 +228,7 @@ var OpencodePlugin2 = define({
228
228
  const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
229
229
  const token = credential.type === "oauth" ? credential.access : credential.key;
230
230
  const server = yield* normalizeServer(serverUrl(credential));
231
- const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
231
+ const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
232
232
  query: input.query,
233
233
  providerID: descriptor.providerID
234
234
  }));
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
249
249
  yield* Effect.all([ctx.catalog.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
250
250
  });
251
251
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
252
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID7.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
252
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
253
253
  yield* Effect.sleep(Duration.minutes(10)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
254
254
  })
255
255
  });
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service5,
9
+ Service: () => Service6,
10
10
  bound: () => bound2,
11
11
  node: () => node8
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service6 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
18
  var node8 = makeLocationNode({
19
- service: Service5,
19
+ service: Service6,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
29
+ return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node8, bound2, exports_instance2 };
32
+ export { Service6, node8, bound2, exports_instance2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./state-0sd1vqbs.js";
4
+ } from "./repository-pye8sh6e.js";
5
5
 
6
6
  // src/plugin/provider/kilo.ts
7
7
  import { Effect } from "effect";
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./state-3w5fmr99.js";
7
+ } from "./repository-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./state-r9mregkx.js";
11
+ } from "./repository-r9mregkx.js";
12
12
  import {
13
13
  create3
14
- } from "./state-kg06axw8.js";
15
- import {
16
- Service79,
17
- node84
18
- } from "./state-4780s8zr.js";
14
+ } from "./repository-kg06axw8.js";
19
15
  import {
20
16
  Service80,
21
17
  node85
22
- } from "./state-qd153e6s.js";
18
+ } from "./repository-drknmmyh.js";
19
+ import {
20
+ Service62,
21
+ node66
22
+ } from "./repository-cfv81dax.js";
23
23
  import {
24
24
  match2
25
- } from "./state-y1fvbwt7.js";
25
+ } from "./repository-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./state-9rqn6x4v.js";
28
+ } from "./repository-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error5,
35
+ Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service78,
38
+ Service: () => Service41,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node83
41
+ node: () => node46
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error5, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service78 extends Context.Service()("@opencode/Tool") {
54
+ class Service41 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service78, Effect.gen(function* () {
57
- const hooks = yield* Service80;
58
- const image = yield* Service79;
56
+ var layer = Layer.effect(Service41, Effect.gen(function* () {
57
+ const hooks = yield* Service62;
58
+ const image = yield* Service80;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service78.of({
183
+ return Service41.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -264,10 +264,10 @@ function namespaceError(name) {
264
264
  return;
265
265
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
266
266
  }
267
- var node83 = makeLocationNode({
268
- service: Service78,
267
+ var node46 = makeLocationNode({
268
+ service: Service41,
269
269
  layer,
270
- deps: [node85, node84]
270
+ deps: [node66, node85]
271
271
  });
272
272
 
273
- export { RegistrationError2, Service78, node83, exports_tool, CallID2, Content3, Error5, FileContent3, TextContent2 };
273
+ export { RegistrationError2, Service41, node46, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  packageName2
3
- } from "./state-0sd1vqbs.js";
3
+ } from "./repository-pye8sh6e.js";
4
4
 
5
5
  // src/plugin/provider/cerebras.ts
6
6
  import { Effect } from "effect";
@@ -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/oauth/page.ts
6
6
  var exports_page = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./state-qfa1cgps.js";
3
+ } from "./repository-qfa1cgps.js";
4
4
 
5
5
  // src/credential/sql.ts
6
6
  import { integer, sqliteTable, text } from "drizzle-orm/sqlite-core";