@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,57 +1,57 @@
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
- Service73,
7
- node78
8
- } from "./state-1gwwkbhx.js";
6
+ Service66,
7
+ node70
8
+ } from "./repository-1e17p1v6.js";
9
9
  import {
10
- Service71,
11
- node75
12
- } from "./state-8a639n9f.js";
10
+ Service65,
11
+ node69
12
+ } from "./repository-5dwnc6b3.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./state-gd4qta3r.js";
15
+ } from "./repository-gd4qta3r.js";
16
16
  import {
17
- Service49,
17
+ Service57,
18
18
  args2,
19
- node54
20
- } from "./state-5wzpv73x.js";
19
+ node61
20
+ } from "./repository-t3p48s2k.js";
21
21
  import {
22
- Service80,
23
- node85
24
- } from "./state-qd153e6s.js";
22
+ Service62,
23
+ node66
24
+ } from "./repository-cfv81dax.js";
25
25
  import {
26
- Service42,
27
- node46
28
- } from "./state-bm1f71yt.js";
26
+ Service43,
27
+ node48
28
+ } from "./repository-5892jdtn.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./state-j7wq2tw5.js";
31
+ } from "./repository-y6f0p4jw.js";
32
32
  import {
33
33
  latest2,
34
- Service43,
35
- node47
36
- } from "./state-nsk2qhm1.js";
34
+ Service44,
35
+ node49
36
+ } from "./repository-p2t1ayvx.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./state-n9vjy7vk.js";
40
+ } from "./repository-ky16kd9n.js";
41
41
  import {
42
42
  __export
43
- } from "./state-9rqn6x4v.js";
43
+ } from "./repository-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError5,
49
+ NotFoundError: () => NotFoundError6,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service41,
51
+ Service: () => Service42,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node45
54
+ node: () => node47
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
62
62
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
63
63
  import { FSUtil } from "@opencode/util/fs-util";
64
64
  import { Global } from "@opencode/util/global";
65
- class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
65
+ class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
66
66
  id: Shell.ID
67
67
  }) {
68
68
  }
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
70
70
  var RETENTION2 = Duration.days(7);
71
71
  var DIRECTORY2 = "shell";
72
72
 
73
- class Service41 extends Context.Service()("@opencode/Shell") {
73
+ class Service42 extends Context.Service()("@opencode/Shell") {
74
74
  }
75
75
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
76
76
  const fs = yield* FSUtil.Service;
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
86
86
  layer: cleanupLayer,
87
87
  deps: [FSUtil.node, Global.node]
88
88
  });
89
- var layer = () => Layer.effect(Service41, Effect.gen(function* () {
90
- const bus = yield* Service76;
91
- const location = yield* Service73;
89
+ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
90
+ const bus = yield* Service78;
91
+ const location = yield* Service66;
92
92
  const global = yield* Global.Service;
93
- const shell = yield* Service49;
94
- const environment = yield* Service71;
95
- const hooks = yield* Service80;
96
- const environments = yield* Service42;
97
- const config = yield* Service43;
93
+ const shell = yield* Service57;
94
+ const environment = yield* Service65;
95
+ const hooks = yield* Service62;
96
+ const environments = yield* Service43;
97
+ const config = yield* Service44;
98
98
  const context = yield* Effect.context();
99
99
  const runFork = Effect.runForkWith(context);
100
100
  const commands = new Map;
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
115
115
  const require2 = Effect.fnUntraced(function* (id) {
116
116
  const command = commands.get(id);
117
117
  if (!command)
118
- return yield* new NotFoundError5({ id });
118
+ return yield* new NotFoundError6({ id });
119
119
  return command;
120
120
  });
121
121
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
128
128
  commands.delete(id);
129
129
  if (command.timeoutFiber)
130
130
  yield* Fiber.interrupt(command.timeoutFiber);
131
- yield* Deferred.fail(command.done, new NotFoundError5({ id }));
131
+ yield* Deferred.fail(command.done, new NotFoundError6({ id }));
132
132
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
133
133
  yield* bus.publish(Shell.Event.Deleted, { id });
134
134
  });
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
314
314
  const command = yield* Deferred.await(ready);
315
315
  return command.info;
316
316
  });
317
- return Service41.of({ create, list, get, wait, result, timeout, output, remove });
317
+ return Service42.of({ create, list, get, wait, result, timeout, output, remove });
318
318
  }));
319
- var node45 = makeLocationNode({
320
- service: Service41,
319
+ var node47 = makeLocationNode({
320
+ service: Service42,
321
321
  layer: layer(),
322
322
  deps: [
323
- node81,
324
- node78,
323
+ node83,
324
+ node70,
325
325
  Global.node,
326
- node54,
327
- node75,
328
- node85,
329
- node46,
330
- node47,
326
+ node61,
327
+ node69,
328
+ node66,
329
+ node48,
330
+ node49,
331
331
  cleanupNode
332
332
  ]
333
333
  });
334
334
 
335
- export { NotFoundError5, RETENTION2, DIRECTORY2, Service41, cleanup2, node45, exports_shell4 };
335
+ export { NotFoundError6, RETENTION2, DIRECTORY2, Service42, cleanup2, node47, exports_shell4 };
@@ -1,80 +1,80 @@
1
1
  import {
2
- Service77
3
- } from "./state-1zjyrs07.js";
2
+ Service79
3
+ } from "./repository-y5ff4yjy.js";
4
4
  import {
5
- Service76
6
- } from "./state-5matf414.js";
5
+ Service78
6
+ } from "./repository-cpn39njb.js";
7
7
  import {
8
- Service56
9
- } from "./state-ccfa4wxs.js";
8
+ Service52
9
+ } from "./repository-1bvekr7f.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./state-fxbjtjnd.js";
12
+ } from "./repository-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./state-gftt206x.js";
15
+ } from "./repository-gftt206x.js";
16
16
  import {
17
- NotFoundError10,
17
+ NotFoundError8,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./state-1vr0zdnx.js";
23
+ } from "./repository-e5xpd6yj.js";
24
24
  import {
25
25
  SessionEvent2
26
- } from "./state-ec1grn59.js";
26
+ } from "./repository-ec1grn59.js";
27
27
  import {
28
- Service68
29
- } from "./state-hcp7me3j.js";
28
+ Service60
29
+ } from "./repository-vh329328.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service54
34
- } from "./state-4j0xv7gy.js";
33
+ Service50
34
+ } from "./repository-hx4p0gz5.js";
35
35
  import {
36
- Service52
37
- } from "./state-d3xgb5wz.js";
36
+ Service48
37
+ } from "./repository-m2weea1a.js";
38
38
  import {
39
39
  prepare2
40
- } from "./state-wsykb35p.js";
40
+ } from "./repository-a8rkycwa.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./state-qhpsd41d.js";
45
+ } from "./repository-5n6hsxyx.js";
46
46
  import {
47
47
  start2
48
- } from "./state-96a4pvf9.js";
48
+ } from "./repository-dht5s97y.js";
49
49
  import {
50
50
  get4
51
- } from "./state-xdd3rs2c.js";
51
+ } from "./repository-bfntb90j.js";
52
52
  import {
53
53
  __export
54
- } from "./state-9rqn6x4v.js";
54
+ } from "./repository-9rqn6x4v.js";
55
55
 
56
56
  // src/session/session.ts
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make14
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make14 = Effect.fn("Session.make")(function* () {
66
- const bus = yield* Service76;
67
- const database = yield* Service77;
68
- const store = yield* Service68;
69
- const instances = yield* Service56;
70
- const execution = yield* Service52;
71
- const admission = yield* Service54;
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
+ const bus = yield* Service78;
67
+ const database = yield* Service79;
68
+ const store = yield* Service60;
69
+ const instances = yield* Service52;
70
+ const execution = yield* Service48;
71
+ const admission = yield* Service50;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError10({ sessionID });
77
+ return yield* new NotFoundError8({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -131,7 +131,7 @@ var make14 = Effect.fn("Session.make")(function* () {
131
131
  });
132
132
  if (existing)
133
133
  return existing;
134
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service56, instances), Effect.provideService(FSUtil.Service, fs)));
134
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service52, instances), Effect.provideService(FSUtil.Service, fs)));
135
135
  if (session.revert)
136
136
  yield* commit2(bus, session);
137
137
  return yield* admission.admit({
@@ -147,7 +147,7 @@ var make14 = Effect.fn("Session.make")(function* () {
147
147
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
148
148
  const session = yield* get(sessionID);
149
149
  const running = yield* Effect.gen(function* () {
150
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service56, instances), Effect.tapError((error) => synthetic(sessionID, {
150
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service52, instances), Effect.tapError((error) => synthetic(sessionID, {
151
151
  text: `User shell command failed to start:
152
152
  ${input.command}
153
153
 
@@ -176,7 +176,7 @@ ${error.message}`,
176
176
  });
177
177
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
178
178
  const session = yield* get(sessionID);
179
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service56, instances));
179
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service52, instances));
180
180
  yield* bus.publish(SessionEvent2.Skill.Activated, {
181
181
  sessionID,
182
182
  id: skill.id,
@@ -233,13 +233,13 @@ ${error.message}`,
233
233
  const session = yield* get(sessionID);
234
234
  if (yield* execution.isActive(sessionID))
235
235
  return yield* new BusyError2({ sessionID });
236
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service77, database), Effect.provideService(Service76, bus));
236
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service79, database), Effect.provideService(Service78, bus));
237
237
  });
238
238
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
239
239
  const session = yield* get(sessionID);
240
240
  if (yield* execution.isActive(sessionID))
241
241
  return yield* new BusyError2({ sessionID });
242
- yield* clear2(session).pipe(Effect.provideService(Service56, instances), Effect.provideService(Service76, bus));
242
+ yield* clear2(session).pipe(Effect.provideService(Service52, instances), Effect.provideService(Service78, bus));
243
243
  return yield* execution.wake(sessionID);
244
244
  });
245
245
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -322,4 +322,4 @@ ${error.message}`,
322
322
  return { forSession };
323
323
  });
324
324
 
325
- export { make14, exports_session2 };
325
+ export { make13, exports_session2 };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service76,
4
- node81
5
- } from "./state-5matf414.js";
3
+ Service78,
4
+ node83
5
+ } from "./repository-cpn39njb.js";
6
6
  import {
7
- Key4,
7
+ Key3,
8
8
  unavailable3,
9
9
  removed2,
10
10
  make20,
11
11
  diffByKey2
12
- } from "./state-02nrjc1r.js";
12
+ } from "./repository-rhjbct0v.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./state-922hggd3.js";
15
+ } from "./repository-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./state-kg06axw8.js";
18
+ } from "./repository-kg06axw8.js";
19
19
  import {
20
20
  __export
21
- } from "./state-9rqn6x4v.js";
21
+ } from "./repository-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event5,
26
+ Event: () => Event8,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options3,
30
- Service: () => Service30,
31
- configured: () => configured3,
32
- layer: () => layer14,
33
- node: () => node34
29
+ Options: () => Options6,
30
+ Service: () => Service39,
31
+ configured: () => configured6,
32
+ layer: () => layer16,
33
+ node: () => node43
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key4.make("core/instructions");
45
- var Event5 = {
44
+ var key = Key3.make("core/instructions");
45
+ var Event8 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options3 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service30 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service39 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
56
- const bus = yield* Service76;
55
+ var layer16 = (options) => Layer.effect(Service39, Effect.gen(function* () {
56
+ const bus = yield* Service78;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,7 +72,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event5.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event8.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
77
  const source = (value) => make20({
78
78
  key,
@@ -90,7 +90,7 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service30.of({
93
+ return Service39.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured3(options) {
107
+ function configured6(options) {
108
108
  return makeLocationNode({
109
- service: Service30,
110
- layer: layer14(options),
111
- deps: [node81]
109
+ service: Service39,
110
+ layer: layer16(options),
111
+ deps: [node83]
112
112
  });
113
113
  }
114
- var node34 = configured3();
114
+ var node43 = configured6();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event5, Options3, Service30, layer14, configured3, node34, exports_instruction_discovery };
145
+ export { File2, Event8, Options6, Service39, layer16, configured6, node43, exports_instruction_discovery };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2,
4
- Info25
5
- } from "./state-0sd1vqbs.js";
4
+ Info31
5
+ } from "./repository-pye8sh6e.js";
6
6
  import {
7
- Info24
8
- } from "./state-f6hkkqkf.js";
7
+ Info29
8
+ } from "./repository-nxamnhdf.js";
9
9
  import {
10
- Service76,
11
- node81
12
- } from "./state-5matf414.js";
10
+ Service78,
11
+ node83
12
+ } from "./repository-cpn39njb.js";
13
13
  import {
14
14
  create3
15
- } from "./state-kg06axw8.js";
15
+ } from "./repository-kg06axw8.js";
16
16
  import {
17
- ID7,
18
- Service60,
19
- node64
20
- } from "./state-0tj6kgwv.js";
17
+ ID13,
18
+ Service74,
19
+ node78
20
+ } from "./repository-b3pcj4k8.js";
21
21
  import {
22
22
  __export
23
- } from "./state-9rqn6x4v.js";
23
+ } from "./repository-9rqn6x4v.js";
24
24
 
25
25
  // src/catalog.ts
26
26
  var exports_catalog2 = {};
27
27
  __export(exports_catalog2, {
28
28
  Catalog: () => exports_catalog2,
29
- Event: () => Event14,
30
- Service: () => Service59,
31
- node: () => node63
29
+ Event: () => Event17,
30
+ Service: () => Service73,
31
+ node: () => node77
32
32
  });
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import { Array, Context, Effect, Layer, Order, pipe } from "effect";
35
35
  import { Catalog } from "@opencode/schema/catalog";
36
- import { Event as Event14 } from "@opencode/schema/catalog";
36
+ import { Event as Event17 } from "@opencode/schema/catalog";
37
37
 
38
- class Service59 extends Context.Service()("@opencode/Catalog") {
38
+ class Service73 extends Context.Service()("@opencode/Catalog") {
39
39
  }
40
- var layer = Layer.effect(Service59, Effect.gen(function* () {
41
- const bus = yield* Service76;
42
- const integrations = yield* Service60;
40
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
41
+ const bus = yield* Service78;
42
+ const integrations = yield* Service74;
43
43
  const available = (provider, integration) => {
44
44
  if (provider.activation === "disabled")
45
45
  return false;
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
73
73
  let current = editor.providers.get(providerID);
74
74
  if (!current) {
75
75
  current = {
76
- provider: Info25.empty(providerID),
76
+ provider: Info31.empty(providerID),
77
77
  models: new Map
78
78
  };
79
79
  editor.providers.set(providerID, current);
@@ -91,12 +91,12 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
91
91
  let record = editor.providers.get(providerID);
92
92
  if (!record) {
93
93
  record = {
94
- provider: Info25.empty(providerID),
94
+ provider: Info31.empty(providerID),
95
95
  models: new Map
96
96
  };
97
97
  editor.providers.set(providerID, record);
98
98
  }
99
- const model = record.models.get(modelID) ?? Info24.default(providerID, modelID);
99
+ const model = record.models.get(modelID) ?? Info29.default(providerID, modelID);
100
100
  if (!record.models.has(modelID))
101
101
  record.models.set(modelID, model);
102
102
  fn(model);
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
130
130
  }),
131
131
  available: Effect.fn("Catalog.provider.available")(function* () {
132
132
  const active = new Map((yield* integrations.list()).map((integration) => [integration.id, integration]));
133
- return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID7.make(provider.id))));
133
+ return (yield* result.provider.all()).filter((provider) => available(provider, active.get(provider.integrationID ?? ID13.make(provider.id))));
134
134
  })
135
135
  },
136
136
  model: {
@@ -185,9 +185,9 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
185
185
  })
186
186
  }
187
187
  };
188
- return Service59.of(result);
188
+ return Service73.of(result);
189
189
  }));
190
190
  var SMALL_MODEL_FAMILY_PRIORITY = ["gpt-luna", "gemini-flash-lite", "gemini-flash", "claude-haiku"];
191
- var node63 = makeLocationNode({ service: Service59, layer, deps: [node81, node64] });
191
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [node83, node78] });
192
192
 
193
- export { Service59, node63, exports_catalog2, Event14 };
193
+ export { Service73, node77, exports_catalog2, Event17 };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  useragent2
3
- } from "./state-5r58m9f4.js";
3
+ } from "./repository-j4z2qnee.js";
4
4
  import {
5
- ID11,
5
+ ID16,
6
6
  isAISDK2
7
- } from "./state-0sd1vqbs.js";
7
+ } from "./repository-pye8sh6e.js";
8
8
  import {
9
9
  iife2
10
- } from "./state-1kg9ymc8.js";
10
+ } from "./repository-1kg9ymc8.js";
11
11
  import {
12
12
  configuredSettings2
13
- } from "./state-mcvf4ecq.js";
13
+ } from "./repository-1cfwn2bt.js";
14
14
 
15
15
  // src/plugin/provider/cloudflare-workers-ai.ts
16
16
  import os from "os";
17
17
  import { Effect } from "effect";
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Form } from "@opencode/schema/form";
20
- var providerID = ID11.make("cloudflare-workers-ai");
20
+ var providerID = ID16.make("cloudflare-workers-ai");
21
21
  var CloudflareWorkersAIPlugin2 = define({
22
22
  id: "opencode.provider.cloudflare.workers.ai",
23
23
  effect: Effect.fn(function* (ctx) {