@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,116 +1,116 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./state-1zjyrs07.js";
2
+ Service79,
3
+ node84
4
+ } from "./repository-y5ff4yjy.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./state-5matf414.js";
6
+ Service78,
7
+ node83
8
+ } from "./repository-cpn39njb.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./state-ec1grn59.js";
11
+ } from "./repository-ec1grn59.js";
12
12
  import {
13
13
  SessionMessageTable2
14
- } from "./state-5c4hm403.js";
14
+ } from "./repository-a1bz86dw.js";
15
15
  import {
16
16
  prepare4
17
- } from "./state-3c4e3q8d.js";
17
+ } from "./repository-cq37gk0t.js";
18
18
  import {
19
19
  llmClient2
20
- } from "./state-5t3nmthw.js";
20
+ } from "./repository-5t3nmthw.js";
21
21
  import {
22
22
  SessionMessage2
23
- } from "./state-gftt206x.js";
23
+ } from "./repository-gftt206x.js";
24
24
  import {
25
25
  StepFailedError2
26
- } from "./state-1vr0zdnx.js";
26
+ } from "./repository-e5xpd6yj.js";
27
27
  import {
28
28
  provenance2
29
- } from "./state-paegk39x.js";
29
+ } from "./repository-msq0jde0.js";
30
30
  import {
31
31
  decodeMessageRow2,
32
32
  preview2
33
- } from "./state-anb97ys3.js";
33
+ } from "./repository-7a1nds04.js";
34
34
  import {
35
- Service68,
36
- node72
37
- } from "./state-hcp7me3j.js";
35
+ Service60,
36
+ node64
37
+ } from "./repository-vh329328.js";
38
38
  import {
39
- Service25,
40
- node29
41
- } from "./state-n8dg5zmh.js";
39
+ Service37,
40
+ node41
41
+ } from "./repository-g8mks886.js";
42
42
  import {
43
43
  baseTranscript2
44
- } from "./state-3t50nsv9.js";
44
+ } from "./repository-sr7k2y9v.js";
45
45
  import {
46
- make7
47
- } from "./state-2ad6nxyk.js";
46
+ make9
47
+ } from "./repository-a8ve50ng.js";
48
48
  import {
49
- Service11,
50
- node14
51
- } from "./state-yh58a55y.js";
49
+ Service10,
50
+ node13
51
+ } from "./repository-dg6ptqm6.js";
52
52
  import {
53
- Service18,
54
- node22
55
- } from "./state-0dpxzva5.js";
53
+ Service28,
54
+ node33
55
+ } from "./repository-4emwyx28.js";
56
56
  import {
57
57
  serialized2,
58
58
  nextPromotable2,
59
59
  promote2
60
- } from "./state-4j0xv7gy.js";
60
+ } from "./repository-hx4p0gz5.js";
61
61
  import {
62
- Service3,
62
+ Service8,
63
63
  isUntitled2,
64
- node4
65
- } from "./state-047mx2wg.js";
64
+ node11
65
+ } from "./repository-2a25p4mv.js";
66
66
  import {
67
67
  DrainResult2,
68
- Service53
69
- } from "./state-ttqh24zm.js";
68
+ Service49
69
+ } from "./repository-8gxqpgph.js";
70
70
  import {
71
- node36
72
- } from "./state-y232qd0c.js";
71
+ node52
72
+ } from "./repository-fr89gf7f.js";
73
73
  import {
74
- node49
75
- } from "./state-n9vjy7vk.js";
74
+ node68
75
+ } from "./repository-ky16kd9n.js";
76
76
  import {
77
77
  Outcome2,
78
- make3
79
- } from "./state-mm8kamv6.js";
78
+ make8
79
+ } from "./repository-qqyxjxre.js";
80
80
  import {
81
- Service29
82
- } from "./state-4v7qdvcn.js";
81
+ Service36
82
+ } from "./repository-jqh9b0xq.js";
83
83
  import {
84
84
  node18
85
- } from "./state-yx8q910t.js";
85
+ } from "./repository-nphm860s.js";
86
86
  import {
87
87
  MAX_STEPS_PROMPT2
88
- } from "./state-y44na4kk.js";
88
+ } from "./repository-y44na4kk.js";
89
89
  import {
90
90
  __export
91
- } from "./state-9rqn6x4v.js";
91
+ } from "./repository-9rqn6x4v.js";
92
92
 
93
93
  // src/session/runner/llm.ts
94
94
  var exports_llm = {};
95
95
  __export(exports_llm, {
96
96
  SessionRunnerLLM: () => exports_llm,
97
- node: () => node3
97
+ node: () => node10
98
98
  });
99
99
  import { Message } from "@opencode/ai";
100
100
  import { and, desc, eq, sql } from "drizzle-orm";
101
101
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
102
102
  import { makeLocationNode } from "@opencode/util/effect/app-node";
103
103
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
104
- var layer = Layer.effect(Service53, Effect.gen(function* () {
105
- const bus = yield* Service76;
106
- const store = yield* Service68;
107
- const context = yield* Service18;
108
- const modelTransport = yield* Service25;
109
- const db = (yield* Service77).db;
110
- const compaction = yield* Service11;
111
- const plugins = yield* Service29;
112
- const title = yield* Service3;
113
- const steps = yield* make3;
104
+ var layer = Layer.effect(Service49, Effect.gen(function* () {
105
+ const bus = yield* Service78;
106
+ const store = yield* Service60;
107
+ const context = yield* Service28;
108
+ const modelTransport = yield* Service37;
109
+ const db = (yield* Service79).db;
110
+ const compaction = yield* Service10;
111
+ const plugins = yield* Service36;
112
+ const title = yield* Service8;
113
+ const steps = yield* make8;
114
114
  const titles = yield* FiberMap.make();
115
115
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
116
116
  const sessionID = input.sessionID;
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
231
231
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
232
232
  const sessionID = first.session.id;
233
233
  let assistantMessageID = SessionMessage2.ID.create();
234
- const retry = yield* make7(bus, sessionID);
234
+ const retry = yield* make9(bus, sessionID);
235
235
  let initial = first;
236
236
  let recoverOverflow = true;
237
237
  let recoverContinuation = true;
@@ -351,24 +351,24 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
351
351
  }
352
352
  }
353
353
  });
354
- return Service53.of({ drain });
354
+ return Service49.of({ drain });
355
355
  }));
356
- var node3 = makeLocationNode({
357
- service: Service53,
356
+ var node10 = makeLocationNode({
357
+ service: Service49,
358
358
  layer,
359
359
  deps: [
360
- node81,
360
+ node83,
361
361
  llmClient2,
362
- node22,
363
- node29,
364
- node72,
365
- node14,
362
+ node33,
363
+ node41,
364
+ node64,
365
+ node13,
366
366
  node18,
367
- node4,
368
- node36,
369
- node49,
370
- node82
367
+ node11,
368
+ node52,
369
+ node68,
370
+ node84
371
371
  ]
372
372
  });
373
373
 
374
- export { node3, exports_llm };
374
+ export { node10, exports_llm };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  openaiFailedResponseHandler2
3
- } from "./state-550bvhaj.js";
3
+ } from "./repository-550bvhaj.js";
4
4
  import {
5
5
  convertToOpenAIResponsesInput2
6
- } from "./state-j5zkgpj8.js";
6
+ } from "./repository-j5zkgpj8.js";
7
7
  import {
8
8
  mapOpenAIResponseFinishReason2
9
- } from "./state-3asan66x.js";
9
+ } from "./repository-3asan66x.js";
10
10
  import {
11
11
  prepareResponsesTools2
12
- } from "./state-qa7075pb.js";
12
+ } from "./repository-sznyev98.js";
13
13
 
14
14
  // src/github-copilot/responses/openai-responses-language-model.ts
15
15
  import {
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./state-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
- Service73
6
- } from "./state-1gwwkbhx.js";
5
+ Service66
6
+ } from "./repository-1e17p1v6.js";
7
7
  import {
8
- Service43
9
- } from "./state-nsk2qhm1.js";
8
+ Service44
9
+ } from "./repository-p2t1ayvx.js";
10
10
  import {
11
- Service16
12
- } from "./state-g9xty11h.js";
11
+ Service18
12
+ } from "./repository-wz0ehf68.js";
13
13
  import {
14
14
  observe2
15
- } from "./state-qsdy395h.js";
15
+ } from "./repository-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./state-9rqn6x4v.js";
18
+ } from "./repository-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin19
24
+ Plugin: () => Plugin8
25
25
  });
26
26
  import { define } from "@opencode/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode/util/global";
30
- var Plugin19 = define({
30
+ var Plugin8 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service43;
34
- const location = yield* Service73;
33
+ const config = yield* Service44;
34
+ const location = yield* Service66;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service16;
36
+ const worktrees = yield* Service18;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin19 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin19, exports_worktree };
51
+ export { Plugin8, exports_worktree };
@@ -1,28 +1,28 @@
1
1
  import {
2
- Service43
3
- } from "./state-nsk2qhm1.js";
2
+ Service44
3
+ } from "./repository-p2t1ayvx.js";
4
4
  import {
5
5
  match2
6
- } from "./state-y1fvbwt7.js";
6
+ } from "./repository-y1fvbwt7.js";
7
7
  import {
8
8
  observe2
9
- } from "./state-qsdy395h.js";
9
+ } from "./repository-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./state-9rqn6x4v.js";
12
+ } from "./repository-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/policy.ts
15
15
  var exports_policy = {};
16
16
  __export(exports_policy, {
17
17
  ConfigPolicyPlugin: () => exports_policy,
18
- Plugin: () => Plugin21
18
+ Plugin: () => Plugin10
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin21 = define({
22
+ var Plugin10 = define({
23
23
  id: "opencode.config.policy",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service43;
25
+ const config = yield* Service44;
26
26
  const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
27
27
  yield* ctx.catalog.transform((catalog) => {
28
28
  const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
@@ -35,4 +35,4 @@ var Plugin21 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin21, exports_policy };
38
+ export { Plugin10, exports_policy };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./state-922hggd3.js";
4
+ } from "./repository-922hggd3.js";
5
5
  import {
6
6
  Repository2,
7
7
  TreeID2,
8
- Service75,
9
- node80
10
- } from "./state-3g5z5cbj.js";
8
+ Service68,
9
+ node72
10
+ } from "./repository-swh40x6v.js";
11
11
  import {
12
- Service73,
13
- node78
14
- } from "./state-1gwwkbhx.js";
12
+ Service66,
13
+ node70
14
+ } from "./repository-1e17p1v6.js";
15
15
  import {
16
16
  create3
17
- } from "./state-kg06axw8.js";
17
+ } from "./repository-kg06axw8.js";
18
18
  import {
19
19
  __export
20
- } from "./state-9rqn6x4v.js";
20
+ } from "./repository-9rqn6x4v.js";
21
21
 
22
22
  // src/snapshot.ts
23
23
  var exports_snapshot2 = {};
24
24
  __export(exports_snapshot2, {
25
- Error: () => Error2,
26
- ID: () => ID4,
27
- Service: () => Service32,
25
+ Error: () => Error4,
26
+ ID: () => ID6,
27
+ Service: () => Service47,
28
28
  Snapshot: () => exports_snapshot2,
29
- node: () => node36,
29
+ node: () => node52,
30
30
  noopLayer: () => noopLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -34,22 +34,22 @@ import path from "path";
34
34
  import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
- import { ID as ID4 } from "@opencode/schema/snapshot";
37
+ import { ID as ID6 } from "@opencode/schema/snapshot";
38
38
  import { Hash } from "@opencode/util/hash";
39
- class Error2 extends Schema.TaggedError()("Snapshot.Error", {
39
+ class Error4 extends Schema.TaggedError()("Snapshot.Error", {
40
40
  operation: Schema.Literals(["capture", "files", "diff", "restore"]),
41
41
  message: Schema.String,
42
42
  cause: Schema.optional(Schema.Defect())
43
43
  }) {
44
44
  }
45
45
 
46
- class Service32 extends Context.Service()("@opencode/Snapshot") {
46
+ class Service47 extends Context.Service()("@opencode/Snapshot") {
47
47
  }
48
- var layer = Layer.effect(Service32, Effect.gen(function* () {
48
+ var layer = Layer.effect(Service47, Effect.gen(function* () {
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service75;
50
+ const git = yield* Service68;
51
51
  const global = yield* Global.Service;
52
- const location = yield* Service73;
52
+ const location = yield* Service66;
53
53
  const lifetime = yield* Scope.Scope;
54
54
  const state = create3({
55
55
  name: "snapshot",
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
63
63
  const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
64
64
  const source = yield* git.repo.discover(location.project.directory);
65
65
  if (!source)
66
- return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
66
+ return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
67
67
  const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
68
68
  const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
69
69
  const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
73
73
  const scope = Effect.fnUntraced(function* (worktree) {
74
74
  const relative = path.relative(worktree, location.directory);
75
75
  if (relative.startsWith("..") || path.isAbsolute(relative))
76
- return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
76
+ return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
77
77
  return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
78
78
  });
79
79
  const enabled = () => location.vcs?.type === "git" && state.get().enabled;
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
82
82
  return;
83
83
  return yield* Effect.gen(function* () {
84
84
  const repo = yield* repository;
85
- return ID4.make(yield* git.tree.capture({
85
+ return ID6.make(yield* git.tree.capture({
86
86
  repository: repo.snapshotRepository,
87
87
  scopes: [yield* scope(repo.worktree)],
88
88
  ignores: repo.source,
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
127
127
  for (const [file, snapshot] of input.files) {
128
128
  const absolute = path.resolve(worktree, file);
129
129
  if (!FSUtil.contains(worktree, absolute))
130
- return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
130
+ return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
131
131
  files.set(file, TreeID2.make(snapshot));
132
132
  }
133
133
  return files;
134
134
  });
135
135
  const restore = Effect.fn("Snapshot.restore")(function* (input) {
136
136
  if (!enabled())
137
- return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
137
+ return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
138
138
  const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
139
139
  yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
140
140
  });
141
- return Service32.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
141
+ return Service47.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
142
142
  }).pipe(Effect.withSpan("Snapshot.boot")));
143
- var node36 = makeLocationNode({
144
- service: Service32,
143
+ var node52 = makeLocationNode({
144
+ service: Service47,
145
145
  layer,
146
- deps: [FSUtil.node, node80, Global.node, node78]
146
+ deps: [FSUtil.node, node72, Global.node, node70]
147
147
  });
148
- var noopLayer2 = Layer.succeed(Service32, Service32.of({
148
+ var noopLayer2 = Layer.succeed(Service47, Service47.of({
149
149
  transform: () => Effect.succeed({ dispose: Effect.void }),
150
150
  reload: () => Effect.void,
151
151
  capture: () => Effect.undefined,
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service32, Service32.of({
154
154
  restore: () => Effect.void
155
155
  }));
156
156
  function failure(operation, cause) {
157
- if (cause instanceof Error2 && cause.operation === operation)
157
+ if (cause instanceof Error4 && cause.operation === operation)
158
158
  return cause;
159
- return new Error2({
159
+ return new Error4({
160
160
  operation,
161
161
  message: cause instanceof globalThis.Error ? cause.message : String(cause),
162
162
  cause
163
163
  });
164
164
  }
165
165
 
166
- export { ID4, Error2, Service32, node36, noopLayer2, exports_snapshot2 };
166
+ export { ID6, Error4, Service47, node52, noopLayer2, exports_snapshot2 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./state-0sd1vqbs.js";
4
+ } from "./repository-pye8sh6e.js";
5
5
  import {
6
6
  latest2,
7
- Service43
8
- } from "./state-nsk2qhm1.js";
7
+ Service44
8
+ } from "./repository-p2t1ayvx.js";
9
9
  import {
10
10
  observe2
11
- } from "./state-qsdy395h.js";
11
+ } from "./repository-qsdy395h.js";
12
12
  import {
13
13
  __export
14
- } from "./state-9rqn6x4v.js";
14
+ } from "./repository-9rqn6x4v.js";
15
15
 
16
16
  // src/config/plugin/provider.ts
17
17
  var exports_provider = {};
18
18
  __export(exports_provider, {
19
19
  ConfigProviderPlugin: () => exports_provider,
20
- Plugin: () => Plugin17
20
+ Plugin: () => Plugin3
21
21
  });
22
22
  import { define } from "@opencode/plugin/effect/plugin";
23
23
  import { Money } from "@opencode/schema/money";
24
24
  import { Effect } from "effect";
25
- var Plugin17 = define({
25
+ var Plugin3 = define({
26
26
  id: "opencode.config.provider",
27
27
  effect: Effect.fn(function* (ctx) {
28
- const config = yield* Service43;
28
+ const config = yield* Service44;
29
29
  const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
30
30
  yield* ctx.integration.transform((integrations) => {
31
31
  for (const [id, provider] of configuredProviders(loaded.entries)) {
@@ -159,4 +159,4 @@ function configuredProviders(entries) {
159
159
  return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
160
160
  }
161
161
 
162
- export { Plugin17, exports_provider };
162
+ export { Plugin3, exports_provider };
@@ -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/shell/result.ts
6
6
  var exports_result = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/permission.ts
6
6
  var exports_permission = {};
7
7
  __export(exports_permission, {
8
8
  Action: () => Action2,
9
9
  ConfigPermissionV1: () => exports_permission,
10
- Info: () => Info15,
10
+ Info: () => Info16,
11
11
  Object: () => Object2,
12
12
  Rule: () => Rule2
13
13
  });
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
33
33
  }), [Schema.Record(Schema.String, Rule2)]);
34
34
  var InputSchema = Schema.Union([Action2, InputObject]);
35
35
  var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
36
- var Info15 = InputSchema.pipe(Schema.decodeTo(InputObject, {
36
+ var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
37
37
  decode: SchemaGetter.transform(normalizeInput),
38
38
  encode: SchemaGetter.passthrough({ strict: false })
39
39
  })).annotate({ identifier: "PermissionConfig" });
40
40
 
41
- export { Action2, Object2, Rule2, Info15, exports_permission };
41
+ export { Action2, Object2, Rule2, Info16, exports_permission };
@@ -2,13 +2,13 @@ import {
2
2
  AgentNotFoundError2,
3
3
  StepFailedError2,
4
4
  UserInterruptedError2
5
- } from "./state-1vr0zdnx.js";
5
+ } from "./repository-e5xpd6yj.js";
6
6
  import {
7
7
  BlockedError2
8
- } from "./state-73kb41h8.js";
8
+ } from "./repository-qp8nwhvn.js";
9
9
  import {
10
10
  AuthorizationError2
11
- } from "./state-0tj6kgwv.js";
11
+ } from "./repository-b3pcj4k8.js";
12
12
  import {
13
13
  ModelNotSelectedError2,
14
14
  ModelUnavailableError2,
@@ -18,7 +18,7 @@ import {
18
18
  ModelInitializationError2,
19
19
  UnresolvedProviderVariablesError2,
20
20
  UnsupportedCompactionError2
21
- } from "./state-y8ye8e9v.js";
21
+ } from "./repository-2kesvzjb.js";
22
22
 
23
23
  // src/session/to-session-error.ts
24
24
  import { AIError, ToolFailure } from "@opencode/ai";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/command.ts
6
6
  var exports_command4 = {};
7
7
  __export(exports_command4, {
8
8
  ConfigCommandV1: () => exports_command4,
9
- Info: () => Info17
9
+ Info: () => Info15
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info17 = Schema.Struct({
12
+ var Info15 = Schema.Struct({
13
13
  template: Schema.String,
14
14
  description: Schema.optional(Schema.String),
15
15
  agent: Schema.optional(Schema.String),
@@ -18,4 +18,4 @@ var Info17 = Schema.Struct({
18
18
  subtask: Schema.optional(Schema.Boolean)
19
19
  });
20
20
 
21
- export { Info17, exports_command4 };
21
+ export { Info15, exports_command4 };