@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,30 +1,30 @@
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
6
  makeUnsafe2
7
- } from "./state-y71avatq.js";
7
+ } from "./repository-y71avatq.js";
8
8
  import {
9
- Service76,
10
- node81
11
- } from "./state-5matf414.js";
9
+ Service78,
10
+ node83
11
+ } from "./repository-cpn39njb.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./state-ec1grn59.js";
14
+ } from "./repository-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./state-gftt206x.js";
17
+ } from "./repository-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./state-j7wq2tw5.js";
20
+ } from "./repository-y6f0p4jw.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./state-5c4hm403.js";
24
+ } from "./repository-a1bz86dw.js";
25
25
  import {
26
26
  __export
27
- } from "./state-9rqn6x4v.js";
27
+ } from "./repository-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info20,
35
+ Info: () => Info18,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service54,
40
+ Service: () => Service50,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer23,
49
- list: () => list4,
48
+ layer: () => layer21,
49
+ list: () => list3,
50
50
  make: () => make17,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node58,
53
+ node: () => node54,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info20,
68
+ Info as Info18,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,12 +151,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service54 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service50 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
156
  var make17 = Effect.fn("SessionInbox.make")(function* () {
157
- const database = yield* Service77;
157
+ const database = yield* Service79;
158
158
  const db = database.db;
159
- const bus = yield* Service76;
159
+ const bus = yield* Service78;
160
160
  const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
161
161
  const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
162
162
  if (existing === undefined)
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info20.make({
176
+ }).pipe(Effect.map((event) => Info18.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  timeCreated: DateTime.makeUnsafe(event.created),
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list4(db, sessionID),
221
+ list: (sessionID) => list3(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer23 = Layer.effect(Service54, make17());
231
- var node58 = makeGlobalNode({ service: Service54, layer: layer23, deps: [node82, node81] });
230
+ var layer21 = Layer.effect(Service50, make17());
231
+ var node54 = makeGlobalNode({ service: Service50, layer: layer21, deps: [node84, node83] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info20, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service54, make17, layer23, node58, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info18, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service50, make17, layer21, node54, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service44
3
- } from "./state-9qe9ae67.js";
2
+ Service45
3
+ } from "./repository-shg3amz7.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./state-02nrjc1r.js";
6
+ } from "./repository-rhjbct0v.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./state-922hggd3.js";
9
+ } from "./repository-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service30
13
- } from "./state-t9hrqajq.js";
12
+ Service39
13
+ } from "./repository-n64yq744.js";
14
14
  import {
15
- Service73
16
- } from "./state-1gwwkbhx.js";
15
+ Service66
16
+ } from "./repository-1e17p1v6.js";
17
17
  import {
18
18
  __export
19
- } from "./state-9rqn6x4v.js";
19
+ } from "./repository-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin30
25
+ Plugin: () => Plugin11
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin30 = define({
32
+ var Plugin11 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service30;
35
+ const discovery = yield* Service39;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service73;
42
- const watcher = yield* Service44;
41
+ const location = yield* Service66;
42
+ const watcher = yield* Service45;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin30, exports_instruction };
117
+ export { Plugin11, exports_instruction };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./state-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
7
7
  __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
- configured: () => configured8,
11
- layer: () => layer19,
10
+ configured: () => configured7,
11
+ layer: () => layer17,
12
12
  make: () => make16,
13
- node: () => node52,
13
+ node: () => node44,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
@@ -28,8 +28,8 @@ function make16(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer19 = (input) => Layer.succeed(Metadata2, make16(input));
32
- var configured8 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
33
- var node52 = configured8();
31
+ var layer17 = (input) => Layer.succeed(Metadata2, make16(input));
32
+ var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
33
+ var node44 = configured7();
34
34
 
35
- export { Metadata2, make16, useragent2, layer19, configured8, node52, exports_app };
35
+ export { Metadata2, make16, useragent2, layer17, configured7, node44, exports_app };
@@ -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/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
- ID11,
2
+ ID16,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./state-0sd1vqbs.js";
5
+ } from "./repository-pye8sh6e.js";
6
6
  import {
7
- ID10,
7
+ ID14,
8
8
  VariantID2,
9
- Info24,
9
+ Info29,
10
10
  compatibility2
11
- } from "./state-f6hkkqkf.js";
11
+ } from "./repository-nxamnhdf.js";
12
12
  import {
13
13
  __export
14
- } from "./state-9rqn6x4v.js";
14
+ } from "./repository-9rqn6x4v.js";
15
15
 
16
16
  // src/modal/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- ModalModels: () => exports_models,
20
- get: () => get2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ ModalModels: () => exports_models2,
20
+ get: () => get3
21
21
  });
22
22
  import { Money } from "@opencode/schema/money";
23
23
  import { Option, Schema } from "effect";
24
- var providerID = ID11.make("modal");
24
+ var providerID = ID16.make("modal");
25
25
  var ReasoningOption = Schema.Struct({
26
26
  type: Schema.Literal("effort"),
27
27
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
53
53
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
54
54
  var decodeResponse = Schema.decodeUnknownSync(Response);
55
55
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
56
- async function get2(baseURL, apiKey, existing) {
56
+ async function get3(baseURL, apiKey, existing) {
57
57
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
58
58
  headers: {
59
59
  Authorization: `Bearer ${apiKey}`
@@ -69,8 +69,8 @@ async function get2(baseURL, apiKey, existing) {
69
69
  const templates = new Map(existing.map((model) => [model.id, model]));
70
70
  const result = new Map;
71
71
  for (const item of remote) {
72
- const template = templates.get(ID10.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
- const id = ID10.make(item.id);
72
+ const template = templates.get(ID14.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
+ const id = ID14.make(item.id);
74
74
  result.set(id, build(id, item, baseURL, template));
75
75
  }
76
76
  return result;
@@ -88,10 +88,10 @@ function limit(value, fallback) {
88
88
  function build(id, remote, baseURL, previous) {
89
89
  const cost = previous?.cost[0];
90
90
  const input = previous?.limit.input;
91
- return Info24.make({
92
- ...Info24.default(providerID, id),
91
+ return Info29.make({
92
+ ...Info29.default(providerID, id),
93
93
  id,
94
- modelID: ID10.make(remote.id),
94
+ modelID: ID14.make(remote.id),
95
95
  providerID,
96
96
  name: remote.name ?? previous?.name ?? remote.id,
97
97
  family: previous?.family,
@@ -138,4 +138,4 @@ function variants(remote) {
138
138
  return [...seen.values()];
139
139
  }
140
140
 
141
- export { get2, exports_models };
141
+ export { get3, exports_models2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service66
3
- } from "./state-73kb41h8.js";
2
+ Service58
3
+ } from "./repository-qp8nwhvn.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./state-4vcrnpx2.js";
7
+ } from "./repository-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./state-3v8g72cx.js";
10
+ } from "./repository-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./state-9rqn6x4v.js";
13
+ } from "./repository-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
@@ -19,7 +19,7 @@ __export(exports_webfetch, {
19
19
  Input: () => Input2,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin3,
22
+ Plugin: () => Plugin20,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
25
  description: () => description2,
@@ -92,11 +92,11 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin3 = {
95
+ var Plugin20 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service66;
99
+ const permission = yield* Service58;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
101
  name: name2,
102
102
  options: { codemode: false },
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name2, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin3, extractTextFromHTML2, exports_webfetch };
170
+ export { name2, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description2, Input2, Plugin20, extractTextFromHTML2, exports_webfetch };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./state-73kb41h8.js";
3
+ } from "./repository-qp8nwhvn.js";
4
4
  import {
5
5
  __export
6
- } from "./state-9rqn6x4v.js";
6
+ } from "./repository-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin40
12
+ Plugin: () => Plugin44
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin40 = define({
32
+ var Plugin44 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin40, exports_plan };
109
+ export { Plugin44, exports_plan };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./repository-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service36,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service36 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service36.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service36, awaitActivation2, exports_service };
@@ -1,62 +1,62 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./state-922hggd3.js";
3
+ } from "./repository-922hggd3.js";
4
4
  import {
5
5
  latest2,
6
- Service43
7
- } from "./state-nsk2qhm1.js";
6
+ Service44
7
+ } from "./repository-p2t1ayvx.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./state-2a5m3afh.js";
10
+ } from "./repository-2a5m3afh.js";
11
11
  import {
12
- Service71
13
- } from "./state-8a639n9f.js";
12
+ Service65
13
+ } from "./repository-5dwnc6b3.js";
14
14
  import {
15
- Service62
16
- } from "./state-kmbsbtj2.js";
15
+ Service54
16
+ } from "./repository-yn35vfdn.js";
17
17
  import {
18
- Service66
19
- } from "./state-73kb41h8.js";
18
+ Service58
19
+ } from "./repository-qp8nwhvn.js";
20
20
  import {
21
- Service40,
21
+ Service19,
22
22
  resolvePath2
23
- } from "./state-y3a4c9er.js";
23
+ } from "./repository-rqpczt31.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./state-fxbjtjnd.js";
29
+ } from "./repository-fxbjtjnd.js";
30
30
  import {
31
- Service49,
31
+ Service57,
32
32
  name15
33
- } from "./state-5wzpv73x.js";
33
+ } from "./repository-t3p48s2k.js";
34
34
  import {
35
- NotFoundError5,
36
- Service41
37
- } from "./state-z30jd0vy.js";
35
+ NotFoundError6,
36
+ Service42
37
+ } from "./repository-mtkf2msq.js";
38
38
  import {
39
- Service17
40
- } from "./state-25b5wh1z.js";
39
+ Service26
40
+ } from "./repository-96987kcb.js";
41
41
  import {
42
42
  scan2
43
- } from "./state-3189tf5c.js";
43
+ } from "./repository-473n3n7b.js";
44
44
  import {
45
45
  __export
46
- } from "./state-9rqn6x4v.js";
46
+ } from "./repository-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
- var exports_shell = {};
50
- __export(exports_shell, {
49
+ var exports_shell2 = {};
50
+ __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input8,
53
- Plugin: () => Plugin10,
54
- ShellTool: () => exports_shell,
55
- name: () => name8
52
+ Input: () => Input12,
53
+ Plugin: () => Plugin31,
54
+ ShellTool: () => exports_shell2,
55
+ name: () => name12
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
- var name8 = "shell";
59
+ var name12 = "shell";
60
60
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
61
61
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
62
62
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -70,7 +70,7 @@ var description = (shell) => [
70
70
  "Commands accept an optional timeout, background commands have no timeout by default.",
71
71
  "Background commands return immediately, and you will be notified when they complete."
72
72
  ].join(" ");
73
- var Input8 = Schema.Struct({
73
+ var Input12 = Schema.Struct({
74
74
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
75
75
  workdir: Schema.optionalKey(Schema.String).annotate({
76
76
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
115
115
  truncated: false,
116
116
  status: "running"
117
117
  });
118
- var Plugin10 = {
118
+ var Plugin31 = {
119
119
  id: "opencode.tool.shell",
120
120
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
121
- const sessions = yield* Service17;
122
- const jobs = yield* Service62;
121
+ const sessions = yield* Service26;
122
+ const jobs = yield* Service54;
123
123
  const scope = yield* Scope.Scope;
124
- const environment = yield* Service71;
125
- const access = yield* Service40;
126
- const shell = yield* Service41;
127
- const shellSelect = yield* Service49;
124
+ const environment = yield* Service65;
125
+ const access = yield* Service19;
126
+ const shell = yield* Service42;
127
+ const shellSelect = yield* Service57;
128
128
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
129
- const permission = yield* Service66;
130
- const config = yield* Service43;
129
+ const permission = yield* Service58;
130
+ const config = yield* Service44;
131
131
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
132
132
  const source = {
133
133
  type: "tool",
@@ -146,7 +146,7 @@ var Plugin10 = {
146
146
  yield* access.authorizeExternal([target, ...directories], context);
147
147
  if (parsed.commands.length > 0)
148
148
  yield* permission.assert({
149
- action: name8,
149
+ action: name12,
150
150
  resources: parsed.commands.map((command) => command.resource),
151
151
  save: parsed.commands.map((command) => command.save),
152
152
  sessionID: context.sessionID,
@@ -183,10 +183,10 @@ var Plugin10 = {
183
183
  yield* jobs.completeBackground(info.notificationID);
184
184
  }, Effect.forkIn(scope, { startImmediately: true }));
185
185
  yield* ctx.tool.transform((editor) => editor.add({
186
- name: name8,
186
+ name: name12,
187
187
  options: { codemode: false },
188
188
  description: description(),
189
- input: Input8,
189
+ input: Input12,
190
190
  output: Output,
191
191
  execute: (input, context) => Effect.gen(function* () {
192
192
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -205,7 +205,7 @@ var Plugin10 = {
205
205
  const run = Effect.gen(function* () {
206
206
  const result = yield* shell.result(info);
207
207
  if (!result.capture)
208
- return yield* new NotFoundError5({ id: info.id });
208
+ return yield* new NotFoundError6({ id: info.id });
209
209
  const output = output2(result);
210
210
  return {
211
211
  ...output,
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
219
219
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
220
220
  const job = yield* jobs.start({
221
221
  id: info.id,
222
- type: name8,
222
+ type: name12,
223
223
  title: info.command,
224
224
  metadata: { sessionID: context.sessionID, shellID: info.id },
225
225
  recovery: {
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
249
249
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
250
250
  })).pipe(Effect.orDie);
251
251
  const hook = (event) => Effect.gen(function* () {
252
- const tool = event.tools[name8];
252
+ const tool = event.tools[name12];
253
253
  if (!tool)
254
254
  return;
255
255
  tool.description = description(name15(yield* compatibleShell));
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
260
260
  })
261
261
  };
262
262
 
263
- export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin10, exports_shell };
263
+ export { name12, DEFAULT_TIMEOUT_MS2, Input12, Plugin31, exports_shell2 };