@opencode/core 0.0.0-dev-20066 → 0.0.0-dev-20067

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 (803) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{file-ysyhm521.js → repository-05nshcdg.js} +24 -24
  8. package/dist/chunks/{file-z36jzmxf.js → repository-0c1nc1g2.js} +4 -4
  9. package/dist/chunks/{file-wtfahf6y.js → repository-0cry2zrq.js} +17 -17
  10. package/dist/chunks/{file-2qsg2f9e.js → repository-0e3mg8wg.js} +7 -7
  11. package/dist/chunks/repository-0mesazry.js +4 -0
  12. package/dist/chunks/{file-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-56dkfrzf.js → repository-0pr3hkd7.js} +4 -4
  14. package/dist/chunks/{file-ykzphz33.js → repository-0rr436fd.js} +12 -12
  15. package/dist/chunks/{file-xwm5pfwb.js → repository-0vecsj11.js} +10 -10
  16. package/dist/chunks/{file-pn3cc07s.js → repository-0xezjjjn.js} +8 -8
  17. package/dist/chunks/{file-1dcnnnbr.js → repository-0yf2ggb4.js} +3 -3
  18. package/dist/chunks/{file-ba4w6g48.js → repository-115t4k1h.js} +12 -12
  19. package/dist/chunks/{file-9283747x.js → repository-15rr61m4.js} +14 -14
  20. package/dist/chunks/{file-1cfhk7sn.js → repository-16fz2w0a.js} +52 -52
  21. package/dist/chunks/{file-d8nc1xcx.js → repository-18e56dsp.js} +4 -4
  22. package/dist/chunks/{file-a2ew8a62.js → repository-19vf66h0.js} +4 -4
  23. package/dist/chunks/{file-nxer0yad.js → repository-1acjjqhc.js} +4 -4
  24. package/dist/chunks/{file-55bva0cb.js → repository-1d8ygdpn.js} +22 -22
  25. package/dist/chunks/{file-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{file-1e6560a0.js → repository-1dnqgg3s.js} +9 -9
  27. package/dist/chunks/{file-afae926q.js → repository-1e86tkh9.js} +11 -11
  28. package/dist/chunks/{file-nnvbrnj9.js → repository-1g9ztc78.js} +41 -41
  29. package/dist/chunks/{file-1gsxrzjh.js → repository-1t7xnya2.js} +14 -14
  30. package/dist/chunks/{file-zsr300m5.js → repository-1te7cy4s.js} +4 -4
  31. package/dist/chunks/{file-21r38tys.js → repository-21r38tys.js} +1 -1
  32. package/dist/chunks/{file-nkstvzp1.js → repository-25rd3h41.js} +50 -50
  33. package/dist/chunks/{file-pghyzkbc.js → repository-25wpb8ep.js} +176 -176
  34. package/dist/chunks/{file-tgrv3arn.js → repository-285t386e.js} +38 -38
  35. package/dist/chunks/{file-z63w68vq.js → repository-29x78va6.js} +6 -6
  36. package/dist/chunks/{file-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
  37. package/dist/chunks/{file-3ppptnan.js → repository-2a6rn6yr.js} +6 -6
  38. package/dist/chunks/{file-53aen1mc.js → repository-2xqh5gj0.js} +24 -24
  39. package/dist/chunks/{file-4ecq8z8w.js → repository-2zbc03eg.js} +24 -24
  40. package/dist/chunks/{file-pyjj1jkz.js → repository-311gkrra.js} +5 -5
  41. package/dist/chunks/{file-g6qn7enb.js → repository-32h82zqh.js} +5 -5
  42. package/dist/chunks/{file-wj76ss2k.js → repository-3ewed21c.js} +4 -4
  43. package/dist/chunks/{file-3fc6dm20.js → repository-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{file-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{file-6vcgy8rt.js → repository-3nwqvhst.js} +11 -11
  46. package/dist/chunks/{file-3zt59cyk.js → repository-3qw0meeq.js} +21 -21
  47. package/dist/chunks/{file-bda1vq26.js → repository-3rk7bqzq.js} +6 -6
  48. package/dist/chunks/{file-bbme6enf.js → repository-3s43hn5t.js} +3 -3
  49. package/dist/chunks/{file-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
  50. package/dist/chunks/{file-7f29k4yc.js → repository-3sy2qy7n.js} +1 -1
  51. package/dist/chunks/{file-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
  52. package/dist/chunks/{file-1gdesbhr.js → repository-3y7z246r.js} +22 -22
  53. package/dist/chunks/{file-gyk2hwcy.js → repository-3yv9m03g.js} +29 -29
  54. package/dist/chunks/{file-3zsf4n22.js → repository-3zsf4n22.js} +1 -1
  55. package/dist/chunks/{file-p9g2yd2c.js → repository-40dfcbtc.js} +5 -5
  56. package/dist/chunks/{file-0dv41atz.js → repository-4nddn0b6.js} +3 -3
  57. package/dist/chunks/{file-3tpvs2ax.js → repository-4ragw8tk.js} +26 -26
  58. package/dist/chunks/{file-gvzpgxex.js → repository-4sthw002.js} +5 -5
  59. package/dist/chunks/{file-xv7de5q4.js → repository-4yyfqv5e.js} +13 -13
  60. package/dist/chunks/{file-wb4z42q3.js → repository-50sbk7kr.js} +8 -8
  61. package/dist/chunks/{file-eqdkrvcq.js → repository-51bq5gc4.js} +12 -12
  62. package/dist/chunks/{file-y7xgn7p7.js → repository-55t602r9.js} +30 -30
  63. package/dist/chunks/{file-56gdpj1q.js → repository-56gdpj1q.js} +2 -2
  64. package/dist/chunks/{file-bbashmg5.js → repository-5ah4ptg6.js} +25 -25
  65. package/dist/chunks/{file-5daktx2q.js → repository-5daktx2q.js} +1 -1
  66. package/dist/chunks/{file-5ekn9679.js → repository-5ekn9679.js} +1 -1
  67. package/dist/chunks/{file-cnrdk8yx.js → repository-5md3tagz.js} +24 -24
  68. package/dist/chunks/{file-eebxfdqy.js → repository-5psjtcc4.js} +25 -25
  69. package/dist/chunks/{file-j7ym9e45.js → repository-5qb1g724.js} +5 -5
  70. package/dist/chunks/{file-9kqy81kb.js → repository-5qedxm44.js} +11 -11
  71. package/dist/chunks/{file-8nm9s8sj.js → repository-5r9k8zx2.js} +2 -2
  72. package/dist/chunks/{file-d6mxctwy.js → repository-5re94sxb.js} +9 -9
  73. package/dist/chunks/{file-myqzkpm0.js → repository-5rk57adz.js} +5 -5
  74. package/dist/chunks/{file-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
  75. package/dist/chunks/{file-a8bn8zg0.js → repository-5wtwrezn.js} +21 -21
  76. package/dist/chunks/repository-619r8v3y.js +18 -0
  77. package/dist/chunks/{file-w5aqd7mj.js → repository-6301jba8.js} +38 -38
  78. package/dist/chunks/{file-48b5k7kh.js → repository-65xxhm4m.js} +23 -23
  79. package/dist/chunks/{file-71jq3e50.js → repository-660wmw6d.js} +19 -19
  80. package/dist/chunks/{file-669tq793.js → repository-669tq793.js} +1 -1
  81. package/dist/chunks/{file-bqgb4xv5.js → repository-672f612c.js} +46 -46
  82. package/dist/chunks/{file-6p9d4jjd.js → repository-67rsx3vb.js} +24 -24
  83. package/dist/chunks/{file-79c0cprn.js → repository-69fj14ep.js} +20 -20
  84. package/dist/chunks/{file-pxt4kznk.js → repository-6bsje7ws.js} +3 -3
  85. package/dist/chunks/{file-2402vzrj.js → repository-6h73sxmp.js} +5 -5
  86. package/dist/chunks/{file-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
  87. package/dist/chunks/{file-ydgy0jv4.js → repository-6wg7wrda.js} +6 -6
  88. package/dist/chunks/{file-sqjb59je.js → repository-72p6r3xc.js} +13 -13
  89. package/dist/chunks/{file-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
  90. package/dist/chunks/{file-vh6m29va.js → repository-7cc8avcc.js} +24 -24
  91. package/dist/chunks/{file-n14ayrh8.js → repository-7n420167.js} +10 -10
  92. package/dist/chunks/{file-nbm66a7c.js → repository-7nf3ddzq.js} +16 -16
  93. package/dist/chunks/{file-97w5rk9e.js → repository-7s2tn799.js} +8 -8
  94. package/dist/chunks/{file-rf9b2e2p.js → repository-7td85jfa.js} +9 -9
  95. package/dist/chunks/{file-0t2n07hj.js → repository-7yscfpph.js} +7 -7
  96. package/dist/chunks/{file-ttf98hsm.js → repository-855aw91c.js} +16 -16
  97. package/dist/chunks/{file-qr7ng78v.js → repository-8czqb76g.js} +14 -14
  98. package/dist/chunks/{file-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
  99. package/dist/chunks/{file-a8zr1srk.js → repository-8hgfhrm0.js} +11 -11
  100. package/dist/chunks/{file-gfvb90ym.js → repository-94ek1h2f.js} +2 -2
  101. package/dist/chunks/{file-2gvhzvms.js → repository-98da7btb.js} +10 -10
  102. package/dist/chunks/{file-9kdq5cm5.js → repository-9btcgg48.js} +44 -44
  103. package/dist/chunks/{file-cbzqd5vv.js → repository-9cz3xmmc.js} +20 -20
  104. package/dist/chunks/repository-9dkxgaaz.js +96 -0
  105. package/dist/chunks/{file-t4g7br61.js → repository-9e0shq8y.js} +2 -2
  106. package/dist/chunks/{file-xvs8r2xn.js → repository-9f40cav3.js} +13 -13
  107. package/dist/chunks/{file-bkj6m2b4.js → repository-9h1eecz9.js} +83 -83
  108. package/dist/chunks/{file-f2q0nfy3.js → repository-a0s974gf.js} +3 -3
  109. package/dist/chunks/{file-8q09v32k.js → repository-a1nprqvr.js} +11 -11
  110. package/dist/chunks/{file-qjrh95de.js → repository-a7ya2t55.js} +4 -4
  111. package/dist/chunks/{file-aaet6srn.js → repository-aaet6srn.js} +2 -2
  112. package/dist/chunks/{file-ezshsjxy.js → repository-actq9frn.js} +15 -15
  113. package/dist/chunks/{file-6nz9a8mm.js → repository-ajdggk3v.js} +4 -4
  114. package/dist/chunks/{file-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
  115. package/dist/chunks/repository-b8kezapz.js +26 -0
  116. package/dist/chunks/{file-r6yqkj2r.js → repository-bayr7sdc.js} +7 -7
  117. package/dist/chunks/{file-p1k7cjr6.js → repository-bd3nb3vt.js} +11 -11
  118. package/dist/chunks/{file-nkxenpss.js → repository-bhxp9hdq.js} +6 -6
  119. package/dist/chunks/{file-wwpqqed2.js → repository-bmhahcnt.js} +3 -3
  120. package/dist/chunks/{file-dvvawg7j.js → repository-bprjk2xr.js} +29 -29
  121. package/dist/chunks/{file-zkknr3xm.js → repository-bwe1n6j9.js} +7 -7
  122. package/dist/chunks/{file-44bd19a6.js → repository-bwyp434w.js} +22 -22
  123. package/dist/chunks/{file-g9nmy09s.js → repository-c1kskfb6.js} +42 -42
  124. package/dist/chunks/{file-tn0aqsam.js → repository-c78bbtc9.js} +5 -5
  125. package/dist/chunks/{file-54tcyq79.js → repository-ckecvw8r.js} +2 -2
  126. package/dist/chunks/{file-r811hg4m.js → repository-cm70vevn.js} +11 -11
  127. package/dist/chunks/{file-xgtymt5b.js → repository-cng14k4f.js} +31 -31
  128. package/dist/chunks/{file-p44d8wdy.js → repository-d2aac7k2.js} +5 -5
  129. package/dist/chunks/{file-6vysq8xy.js → repository-de3mgeae.js} +18 -18
  130. package/dist/chunks/{file-pxs200gq.js → repository-djwrd78c.js} +34 -34
  131. package/dist/chunks/{file-8exbv5ee.js → repository-dmzyn4sw.js} +17 -17
  132. package/dist/chunks/{file-8rn5da1k.js → repository-dq2gf7dd.js} +81 -81
  133. package/dist/chunks/{file-w5rka97k.js → repository-dvep9rg9.js} +9 -9
  134. package/dist/chunks/{file-np95gk1g.js → repository-dxz6h2zt.js} +5 -5
  135. package/dist/chunks/{file-rxgx23cf.js → repository-dzk3ryj8.js} +19 -19
  136. package/dist/chunks/{file-5qd3pb7m.js → repository-e3qxr5gk.js} +2 -2
  137. package/dist/chunks/{file-r9njx374.js → repository-e4bv3p7h.js} +32 -32
  138. package/dist/chunks/{file-0gdmqesm.js → repository-eaj1djv9.js} +8 -8
  139. package/dist/chunks/{file-ef5x83kb.js → repository-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{file-r3rtvjkk.js → repository-ejrhby57.js} +39 -39
  141. package/dist/chunks/{file-xqyrxn4h.js → repository-emevknz1.js} +8 -8
  142. package/dist/chunks/{file-st08tkdm.js → repository-enk2rrcf.js} +17 -17
  143. package/dist/chunks/{file-erw5rpbs.js → repository-erw5rpbs.js} +2 -2
  144. package/dist/chunks/{file-am6bd3dm.js → repository-es9eybw2.js} +11 -11
  145. package/dist/chunks/{file-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
  146. package/dist/chunks/{file-c769d21z.js → repository-f1zbxv7x.js} +7 -7
  147. package/dist/chunks/{file-pyj3yp56.js → repository-f90zn7ca.js} +4 -4
  148. package/dist/chunks/{file-68y7phbn.js → repository-faxz800z.js} +12 -12
  149. package/dist/chunks/{file-rfkfgx1j.js → repository-ff0svapt.js} +2 -2
  150. package/dist/chunks/{file-rs94dpxv.js → repository-fg50bsfr.js} +23 -23
  151. package/dist/chunks/{file-zfx41g5b.js → repository-fs4kxnc4.js} +5 -5
  152. package/dist/chunks/{file-9s342vhy.js → repository-fxr6x0aq.js} +19 -19
  153. package/dist/chunks/{file-8fkqwjdd.js → repository-g0kgf922.js} +9 -9
  154. package/dist/chunks/{file-5vg5mx5r.js → repository-g2066sd0.js} +11 -11
  155. package/dist/chunks/{file-28rjj3zm.js → repository-g4fxz0gt.js} +27 -27
  156. package/dist/chunks/{file-b9k40ts2.js → repository-g9qh6fen.js} +11 -11
  157. package/dist/chunks/{file-sr7es49j.js → repository-gby7h8ab.js} +12 -12
  158. package/dist/chunks/{file-gv418ss3.js → repository-gcmeeq5b.js} +20 -20
  159. package/dist/chunks/{file-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
  160. package/dist/chunks/{file-rhc6bd81.js → repository-gr0jztbm.js} +12 -12
  161. package/dist/chunks/{file-yj7a9dsc.js → repository-gtckgk66.js} +10 -10
  162. package/dist/chunks/{file-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{file-28p9c2n7.js → repository-gv6qzrxf.js} +35 -35
  164. package/dist/chunks/{file-605v3z54.js → repository-gwmntvvs.js} +36 -36
  165. package/dist/chunks/{file-b8v9yxrh.js → repository-gwp4cf3v.js} +35 -35
  166. package/dist/chunks/{file-rgy7ctyq.js → repository-gx8hye9g.js} +6 -6
  167. package/dist/chunks/{file-80eyc1fc.js → repository-gxd07ah8.js} +48 -48
  168. package/dist/chunks/{file-30stdhmk.js → repository-h297ymck.js} +20 -20
  169. package/dist/chunks/{file-tnt1t2kr.js → repository-h2qs67km.js} +11 -11
  170. package/dist/chunks/{file-5mtzsd3b.js → repository-h6r3nrb9.js} +4 -4
  171. package/dist/chunks/{file-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
  172. package/dist/chunks/{file-b3jd6nbe.js → repository-hbehhpwg.js} +37 -37
  173. package/dist/chunks/{file-c6dyb1r1.js → repository-hngsf9ze.js} +29 -29
  174. package/dist/chunks/{file-g4nzdvdr.js → repository-hysnaan8.js} +3 -3
  175. package/dist/chunks/{file-c3xqhexw.js → repository-hz151azf.js} +12 -12
  176. package/dist/chunks/{file-6vbjy3nf.js → repository-j0vh8jjz.js} +18 -18
  177. package/dist/chunks/{file-bfcbydry.js → repository-j1711vkv.js} +28 -28
  178. package/dist/chunks/{file-n35d2xk4.js → repository-j3s2z371.js} +9 -9
  179. package/dist/chunks/{file-q5xa8nqs.js → repository-j40a86xr.js} +10 -10
  180. package/dist/chunks/{file-j56e64zr.js → repository-j56e64zr.js} +1 -1
  181. package/dist/chunks/{file-awqs82k3.js → repository-jdzrt0z1.js} +26 -26
  182. package/dist/chunks/{file-ezy6at35.js → repository-jhmd4ezs.js} +15 -15
  183. package/dist/chunks/{file-c7sdca4y.js → repository-jrb0xr74.js} +15 -15
  184. package/dist/chunks/{file-nzks3jc8.js → repository-k3c624dm.js} +3 -3
  185. package/dist/chunks/{file-q4sh3est.js → repository-k5dsc5hs.js} +9 -9
  186. package/dist/chunks/{file-9chhw8ab.js → repository-k9kj6xed.js} +2 -2
  187. package/dist/chunks/repository-kb4rpjaq.js +507 -0
  188. package/dist/chunks/{file-z2n1er87.js → repository-kgeqhxvw.js} +11 -11
  189. package/dist/chunks/{file-n7e5sdch.js → repository-khm1sf7f.js} +4 -4
  190. package/dist/chunks/{file-1fcrsx1q.js → repository-kjfdeayr.js} +5 -5
  191. package/dist/chunks/{file-9rn8m20s.js → repository-kk7xnzba.js} +1 -1
  192. package/dist/chunks/{file-cefeattc.js → repository-kkybr322.js} +10 -10
  193. package/dist/chunks/{file-z99t6cgy.js → repository-kpwmpstw.js} +11 -11
  194. package/dist/chunks/{file-2nnkyhgj.js → repository-kx253xx8.js} +4 -4
  195. package/dist/chunks/{file-e4pvga2e.js → repository-m1fqb20v.js} +3 -3
  196. package/dist/chunks/{file-m3fdjcah.js → repository-m3fdjcah.js} +1 -1
  197. package/dist/chunks/{file-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
  198. package/dist/chunks/{file-cw09a6zt.js → repository-mgdyehf1.js} +26 -26
  199. package/dist/chunks/{file-kas5k1as.js → repository-mpqj6jx7.js} +7 -7
  200. package/dist/chunks/{file-vj0mxn79.js → repository-mtjp9z6s.js} +14 -14
  201. package/dist/chunks/{file-j028xdjb.js → repository-mvfsc1pv.js} +3 -3
  202. package/dist/chunks/{file-y35sf2j4.js → repository-mwwxnxty.js} +5 -5
  203. package/dist/chunks/{file-4cxjs54m.js → repository-my3s7g2v.js} +6 -6
  204. package/dist/chunks/{file-vywjjxxp.js → repository-n2ahj3nb.js} +20 -20
  205. package/dist/chunks/{file-zgy94vhr.js → repository-n6scd4pv.js} +20 -20
  206. package/dist/chunks/{file-ezpe7cx6.js → repository-n72a9sqp.js} +46 -46
  207. package/dist/chunks/{file-qx11y599.js → repository-naep0e5n.js} +17 -17
  208. package/dist/chunks/{file-yvt1qck6.js → repository-nayt11ps.js} +6 -6
  209. package/dist/chunks/{file-j551d5nt.js → repository-nxc66smq.js} +15 -15
  210. package/dist/chunks/{file-h4z1mxff.js → repository-nz569jqt.js} +5 -5
  211. package/dist/chunks/{file-czfptnv9.js → repository-p37cw4rj.js} +8 -8
  212. package/dist/chunks/{file-j8zzr2am.js → repository-p57dvf2n.js} +4 -4
  213. package/dist/chunks/{file-ja31eptw.js → repository-pgej9n36.js} +18 -18
  214. package/dist/chunks/{file-3j12ts0c.js → repository-pgrpmprb.js} +8 -8
  215. package/dist/chunks/{file-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
  216. package/dist/chunks/{file-pknna89w.js → repository-pknna89w.js} +1 -1
  217. package/dist/chunks/{file-sfntmzm9.js → repository-pnqe9gv0.js} +1 -1
  218. package/dist/chunks/{file-mys7ftvb.js → repository-pwqr28vb.js} +26 -26
  219. package/dist/chunks/{file-7nthvdt2.js → repository-qakz50hz.js} +20 -20
  220. package/dist/chunks/{file-7dqw4kz8.js → repository-qgn6gcr1.js} +5 -5
  221. package/dist/chunks/{file-dyyp5385.js → repository-qh54trmw.js} +17 -17
  222. package/dist/chunks/{file-qsdy395h.js → repository-qsdy395h.js} +1 -1
  223. package/dist/chunks/{file-vf909yfy.js → repository-qwb2h62g.js} +17 -17
  224. package/dist/chunks/{file-2k1qvr7q.js → repository-qx9nwsft.js} +26 -26
  225. package/dist/chunks/{file-67d2xr1y.js → repository-r256v5vh.js} +19 -19
  226. package/dist/chunks/{file-gjwgx2c5.js → repository-r2m716tb.js} +9 -9
  227. package/dist/chunks/{file-r98e92ep.js → repository-r98e92ep.js} +1 -1
  228. package/dist/chunks/{file-qxqnn5g6.js → repository-rb1ekxdp.js} +42 -42
  229. package/dist/chunks/{file-rdw6cm16.js → repository-rdw6cm16.js} +1 -1
  230. package/dist/chunks/{file-rz7a4p9d.js → repository-rp43rah6.js} +12 -12
  231. package/dist/chunks/{file-kxpygcw9.js → repository-rph3zd4r.js} +4 -4
  232. package/dist/chunks/{file-57ez7d0k.js → repository-rrqraew9.js} +9 -9
  233. package/dist/chunks/{file-rsx24g7m.js → repository-rt22yq9v.js} +23 -23
  234. package/dist/chunks/{file-7qhbze1a.js → repository-rxzqzsj3.js} +15 -15
  235. package/dist/chunks/{file-0qjcdq53.js → repository-s28bjvt5.js} +15 -15
  236. package/dist/chunks/{file-yrznvahk.js → repository-s4enseaf.js} +2 -2
  237. package/dist/chunks/{file-xrpg47n6.js → repository-s5d9hk7s.js} +9 -9
  238. package/dist/chunks/{file-3ejevnbt.js → repository-skykqwxk.js} +25 -25
  239. package/dist/chunks/{file-6ms7eb8z.js → repository-srfhtv6w.js} +9 -9
  240. package/dist/chunks/{file-e8qbhynk.js → repository-stvp1p58.js} +19 -19
  241. package/dist/chunks/{file-pfq1ksym.js → repository-t0sqncza.js} +5 -5
  242. package/dist/chunks/{file-azgavcp7.js → repository-t1tem6a2.js} +24 -24
  243. package/dist/chunks/{file-1dn8ht41.js → repository-t2rxy3d5.js} +32 -32
  244. package/dist/chunks/{file-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
  245. package/dist/chunks/{file-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
  246. package/dist/chunks/{file-tdstcens.js → repository-tdstcens.js} +1 -1
  247. package/dist/chunks/{file-d82rywaa.js → repository-trfxp1r8.js} +17 -17
  248. package/dist/chunks/{file-66pcvekw.js → repository-tsa77ep8.js} +19 -19
  249. package/dist/chunks/{file-tvtrv512.js → repository-tvtrv512.js} +1 -1
  250. package/dist/chunks/{file-pr1vsgjy.js → repository-tx02rs4k.js} +29 -29
  251. package/dist/chunks/{file-rfdhm22r.js → repository-v4cj4tts.js} +13 -13
  252. package/dist/chunks/{file-e6hsj8k3.js → repository-vb0c2wr9.js} +13 -13
  253. package/dist/chunks/{file-veqvce7d.js → repository-veqvce7d.js} +1 -1
  254. package/dist/chunks/{file-hnc853s2.js → repository-vftkj9v3.js} +16 -16
  255. package/dist/chunks/{file-fvx3366n.js → repository-vka4dmj0.js} +20 -20
  256. package/dist/chunks/{file-hnr5yq9h.js → repository-vmq7ehpy.js} +5 -5
  257. package/dist/chunks/{file-pp4c4k8z.js → repository-vsp4125s.js} +4 -4
  258. package/dist/chunks/{file-vtxr0yy2.js → repository-vtxr0yy2.js} +2 -2
  259. package/dist/chunks/{file-3x5m1xpp.js → repository-vxzf7v58.js} +5 -5
  260. package/dist/chunks/repository-vz0qs4v4.js +252 -0
  261. package/dist/chunks/{file-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
  262. package/dist/chunks/{file-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
  263. package/dist/chunks/{file-psazpmmj.js → repository-wd3x2cqz.js} +2 -2
  264. package/dist/chunks/{file-wd87259q.js → repository-wd87259q.js} +1 -1
  265. package/dist/chunks/{file-f5gy8qwh.js → repository-wmq3bkd4.js} +8 -8
  266. package/dist/chunks/{file-k475yrwb.js → repository-wrtzz9dy.js} +36 -36
  267. package/dist/chunks/{file-d36n6r0a.js → repository-wy75xbqv.js} +79 -73
  268. package/dist/chunks/{file-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
  269. package/dist/chunks/{file-dwrwq0kr.js → repository-x5x7d8yk.js} +10 -10
  270. package/dist/chunks/{file-80jpmz44.js → repository-x7zswy26.js} +8 -8
  271. package/dist/chunks/{file-stvehstt.js → repository-xbw2xfj9.js} +5 -5
  272. package/dist/chunks/{file-dkhsgy42.js → repository-xfkkasph.js} +4 -4
  273. package/dist/chunks/{file-bqxteh86.js → repository-xkqrr95v.js} +60 -60
  274. package/dist/chunks/{file-d2jkntah.js → repository-xq6svqxg.js} +32 -32
  275. package/dist/chunks/{file-whv1wwce.js → repository-xq7r4p5w.js} +33 -33
  276. package/dist/chunks/{file-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
  277. package/dist/chunks/{file-4xep0k5d.js → repository-y3f887mz.js} +10 -10
  278. package/dist/chunks/{file-dpkg50ah.js → repository-y71avatq.js} +4 -4
  279. package/dist/chunks/{file-rvgdez9r.js → repository-ya6d81gt.js} +20 -20
  280. package/dist/chunks/{file-hvpdgzkp.js → repository-ygxwf2ce.js} +20 -20
  281. package/dist/chunks/{file-df7xe9tm.js → repository-ypwah405.js} +20 -20
  282. package/dist/chunks/{file-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
  283. package/dist/chunks/{file-kjqsq5n4.js → repository-yz4vzcv9.js} +17 -17
  284. package/dist/chunks/{file-bjtzbw4r.js → repository-z07pqspn.js} +3 -3
  285. package/dist/chunks/{file-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{file-b710rs9d.js → repository-z3dqhhkj.js} +6 -6
  287. package/dist/chunks/{file-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
  288. package/dist/chunks/{file-7g3edgp3.js → repository-zfjfs7fw.js} +22 -22
  289. package/dist/chunks/{file-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{file-dskjz5tz.js → repository-zszwk29h.js} +296 -296
  291. package/dist/chunks/{file-xw0r27ex.js → repository-zvt5dnpc.js} +4 -4
  292. package/dist/chunks/{file-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +73 -73
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +123 -123
  302. package/dist/config/plugin/command.js +212 -212
  303. package/dist/config/plugin/compaction.js +160 -160
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +144 -144
  317. package/dist/config/plugin/snapshot.js +123 -123
  318. package/dist/config/plugin/source.js +124 -124
  319. package/dist/config/plugin/tool-output.js +123 -123
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +126 -126
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +83 -83
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  329. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +15 -15
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +16 -16
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +368 -367
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +3 -3
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +95 -95
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +92 -92
  419. package/dist/file-retention.js +1 -1
  420. package/dist/file.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +227 -227
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +97 -97
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +11 -11
  432. package/dist/filesystem.js +102 -102
  433. package/dist/form.js +82 -82
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +101 -101
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +362 -361
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +5 -5
  465. package/dist/integration/connection.js +3 -3
  466. package/dist/integration.js +86 -86
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +131 -131
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-mutation.js +104 -104
  473. package/dist/location-service-map.js +84 -84
  474. package/dist/location-services.js +359 -358
  475. package/dist/location.js +89 -89
  476. package/dist/managed-policy.js +5 -5
  477. package/dist/mcp/client.js +91 -91
  478. package/dist/mcp/index.js +102 -102
  479. package/dist/mcp/instructions.js +126 -126
  480. package/dist/mcp/oauth.js +78 -78
  481. package/dist/mcp/stdio.js +90 -90
  482. package/dist/mime.js +1 -1
  483. package/dist/modal/models.js +99 -99
  484. package/dist/model-resolver.js +98 -98
  485. package/dist/model.js +100 -100
  486. package/dist/models-dev.js +107 -107
  487. package/dist/oauth/page.js +1 -1
  488. package/dist/permission/saved.js +80 -80
  489. package/dist/permission/sql.js +5 -5
  490. package/dist/permission.js +111 -111
  491. package/dist/persistent-pty/binary.bun.js +1 -1
  492. package/dist/persistent-pty/daemon.js +1 -1
  493. package/dist/persistent-pty/index.js +84 -84
  494. package/dist/persistent-pty/pty-binding.js +1 -1
  495. package/dist/persistent-pty.js +75 -75
  496. package/dist/plugin/agent.js +102 -102
  497. package/dist/plugin/command.js +99 -99
  498. package/dist/plugin/compaction.js +131 -131
  499. package/dist/plugin/hooks.js +5 -5
  500. package/dist/plugin/host.js +218 -218
  501. package/dist/plugin/identity.js +3 -3
  502. package/dist/plugin/instance.js +5 -5
  503. package/dist/plugin/internal.js +333 -332
  504. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  505. package/dist/plugin/models-dev.js +96 -96
  506. package/dist/plugin/module.js +7 -7
  507. package/dist/plugin/optimize.js +2 -2
  508. package/dist/plugin/plan.js +102 -102
  509. package/dist/plugin/promise.js +1 -1
  510. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  511. package/dist/plugin/provider/azure.js +122 -122
  512. package/dist/plugin/provider/cerebras.js +1 -1
  513. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  514. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  515. package/dist/plugin/provider/cohere.js +2 -2
  516. package/dist/plugin/provider/configured.js +119 -119
  517. package/dist/plugin/provider/digitalocean.js +93 -93
  518. package/dist/plugin/provider/dynamic.js +2 -2
  519. package/dist/plugin/provider/factory.js +1 -1
  520. package/dist/plugin/provider/gateway.js +2 -2
  521. package/dist/plugin/provider/github-copilot.js +93 -93
  522. package/dist/plugin/provider/gitlab.js +91 -91
  523. package/dist/plugin/provider/google-vertex.js +90 -90
  524. package/dist/plugin/provider/kilo.js +1 -1
  525. package/dist/plugin/provider/llmgateway.js +77 -77
  526. package/dist/plugin/provider/lmstudio.js +120 -120
  527. package/dist/plugin/provider/modal.js +92 -92
  528. package/dist/plugin/provider/nvidia.js +1 -1
  529. package/dist/plugin/provider/ollama.js +122 -122
  530. package/dist/plugin/provider/openai.js +92 -92
  531. package/dist/plugin/provider/opencode.js +95 -95
  532. package/dist/plugin/provider/openrouter.js +91 -91
  533. package/dist/plugin/provider/perplexity.js +2 -2
  534. package/dist/plugin/provider/poe.js +78 -78
  535. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  536. package/dist/plugin/provider/sap-ai-core.js +91 -91
  537. package/dist/plugin/provider/sdk-factory.js +1 -1
  538. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  539. package/dist/plugin/provider/venice.js +2 -2
  540. package/dist/plugin/provider/vercel.js +90 -90
  541. package/dist/plugin/provider/vllm.js +122 -122
  542. package/dist/plugin/provider/xai.js +91 -91
  543. package/dist/plugin/provider/zenmux.js +1 -1
  544. package/dist/plugin/provider.js +160 -160
  545. package/dist/plugin/sdk.js +70 -70
  546. package/dist/plugin/service.js +3 -3
  547. package/dist/plugin/skill.js +139 -139
  548. package/dist/plugin/source-directory.js +1 -1
  549. package/dist/plugin/supervisor.js +350 -349
  550. package/dist/plugin/tool-input-repair.js +4 -4
  551. package/dist/plugin/update.js +6 -6
  552. package/dist/plugin/vcs/git.js +86 -86
  553. package/dist/plugin/vcs/hg.js +86 -86
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +5 -5
  556. package/dist/plugin/websearch/firecrawl.js +8 -8
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +2 -2
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +229 -229
  563. package/dist/project/schema.js +8 -8
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +90 -90
  566. package/dist/provider.js +99 -99
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/schema.js +3 -3
  569. package/dist/pty/ticket.js +1 -1
  570. package/dist/pty.js +98 -98
  571. package/dist/reference/instructions.js +89 -89
  572. package/dist/reference.js +89 -89
  573. package/dist/repository-cache.js +81 -81
  574. package/dist/repository.js +3 -3
  575. package/dist/ripgrep/binary.js +2 -2
  576. package/dist/ripgrep.js +97 -97
  577. package/dist/rpc.js +86 -86
  578. package/dist/schema.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +134 -134
  581. package/dist/session/context.js +150 -150
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +5 -5
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +221 -221
  587. package/dist/session/execution.js +128 -128
  588. package/dist/session/generate.js +151 -151
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +88 -88
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +119 -119
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +229 -229
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +112 -112
  611. package/dist/session/runner/step.js +124 -124
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +5 -5
  614. package/dist/session/session.js +170 -170
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +85 -85
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +208 -208
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +156 -156
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +217 -217
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +214 -214
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +105 -105
  635. package/dist/skill.js +108 -108
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +125 -125
  641. package/dist/tool/plugin/edit.js +120 -120
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +120 -120
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +121 -0
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +105 -105
  649. package/dist/tool/plugin/read.js +123 -123
  650. package/dist/tool/plugin/shell.js +217 -217
  651. package/dist/tool/plugin/skill.js +107 -107
  652. package/dist/tool/plugin/subagent.js +219 -219
  653. package/dist/tool/plugin/webfetch.js +108 -108
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +8 -8
  659. package/dist/tool.js +14 -14
  660. package/dist/types/mcp/index.d.ts +4 -1
  661. package/dist/types/tool/plugin/mcp-resource.d.ts +9 -0
  662. package/dist/util/error-summary.js +1 -1
  663. package/dist/util/error.js +1 -1
  664. package/dist/util/git-executable.js +2 -2
  665. package/dist/util/iife.js +1 -1
  666. package/dist/util/lazy.js +1 -1
  667. package/dist/util/slug.js +1 -1
  668. package/dist/util/token.js +1 -1
  669. package/dist/util/which.js +1 -1
  670. package/dist/util/wildcard.js +1 -1
  671. package/dist/v1/config/agent.js +7 -7
  672. package/dist/v1/config/attachment.js +4 -4
  673. package/dist/v1/config/command.js +3 -3
  674. package/dist/v1/config/config.js +16 -16
  675. package/dist/v1/config/error.js +4 -4
  676. package/dist/v1/config/formatter.js +3 -3
  677. package/dist/v1/config/layout.js +1 -1
  678. package/dist/v1/config/lsp.js +3 -3
  679. package/dist/v1/config/mcp.js +4 -4
  680. package/dist/v1/config/migrate.js +92 -92
  681. package/dist/v1/config/permission.js +7 -7
  682. package/dist/v1/config/plugin.js +3 -3
  683. package/dist/v1/config/provider-options.js +1 -1
  684. package/dist/v1/config/provider.js +4 -4
  685. package/dist/v1/config/server.js +2 -2
  686. package/dist/v1/config/skills.js +1 -1
  687. package/dist/v1/permission.js +1 -1
  688. package/dist/variant.js +91 -91
  689. package/dist/vcs/patch.js +1 -1
  690. package/dist/vcs.js +89 -89
  691. package/dist/websearch.js +82 -82
  692. package/dist/wellknown/plugin.js +76 -76
  693. package/dist/wellknown.js +81 -81
  694. package/dist/workspace/driver.js +5 -5
  695. package/dist/workspace/sql.js +1 -1
  696. package/dist/workspace.js +80 -80
  697. package/dist/worktree/directory.js +2 -2
  698. package/dist/worktree/git.js +8 -8
  699. package/dist/worktree/sql.js +5 -5
  700. package/dist/worktree/strategies.js +89 -89
  701. package/dist/worktree.js +96 -96
  702. package/package.json +8 -8
  703. package/dist/chunks/file-9zdhvgqs.js +0 -18
  704. package/dist/chunks/file-e96fckfm.js +0 -252
  705. package/dist/chunks/file-fdpm3vhs.js +0 -26
  706. package/dist/chunks/file-ntzyjqd6.js +0 -503
  707. package/dist/chunks/file-qtvmxc8s.js +0 -4
  708. /package/dist/chunks/{file-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
  709. /package/dist/chunks/{file-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
  710. /package/dist/chunks/{file-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
  711. /package/dist/chunks/{file-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
  712. /package/dist/chunks/{file-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
  713. /package/dist/chunks/{file-24dcb14g.js → repository-24dcb14g.js} +0 -0
  714. /package/dist/chunks/{file-2710q6r3.js → repository-2710q6r3.js} +0 -0
  715. /package/dist/chunks/{file-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
  716. /package/dist/chunks/{file-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
  717. /package/dist/chunks/{file-34c7v6d4.js → repository-34c7v6d4.js} +0 -0
  718. /package/dist/chunks/{file-359p4xyc.js → repository-359p4xyc.js} +0 -0
  719. /package/dist/chunks/{file-3asan66x.js → repository-3asan66x.js} +0 -0
  720. /package/dist/chunks/{file-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
  721. /package/dist/chunks/{file-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
  722. /package/dist/chunks/{file-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
  723. /package/dist/chunks/{file-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
  724. /package/dist/chunks/{file-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
  725. /package/dist/chunks/{file-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
  726. /package/dist/chunks/{file-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
  727. /package/dist/chunks/{file-53557ph1.js → repository-53557ph1.js} +0 -0
  728. /package/dist/chunks/{file-550bvhaj.js → repository-550bvhaj.js} +0 -0
  729. /package/dist/chunks/{file-6prwharc.js → repository-6prwharc.js} +0 -0
  730. /package/dist/chunks/{file-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
  731. /package/dist/chunks/{file-7m9af43g.js → repository-7m9af43g.js} +0 -0
  732. /package/dist/chunks/{file-822emrt2.js → repository-822emrt2.js} +0 -0
  733. /package/dist/chunks/{file-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
  734. /package/dist/chunks/{file-8n3pysct.js → repository-8n3pysct.js} +0 -0
  735. /package/dist/chunks/{file-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
  736. /package/dist/chunks/{file-922hggd3.js → repository-922hggd3.js} +0 -0
  737. /package/dist/chunks/{file-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
  738. /package/dist/chunks/{file-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
  739. /package/dist/chunks/{file-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
  740. /package/dist/chunks/{file-af5trqkr.js → repository-af5trqkr.js} +0 -0
  741. /package/dist/chunks/{file-afrmfg78.js → repository-afrmfg78.js} +0 -0
  742. /package/dist/chunks/{file-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
  743. /package/dist/chunks/{file-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
  744. /package/dist/chunks/{file-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
  745. /package/dist/chunks/{file-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
  746. /package/dist/chunks/{file-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
  747. /package/dist/chunks/{file-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
  748. /package/dist/chunks/{file-d9fn303g.js → repository-d9fn303g.js} +0 -0
  749. /package/dist/chunks/{file-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
  750. /package/dist/chunks/{file-dajrwvna.js → repository-dajrwvna.js} +0 -0
  751. /package/dist/chunks/{file-dap0rakb.js → repository-dap0rakb.js} +0 -0
  752. /package/dist/chunks/{file-df08tz66.js → repository-df08tz66.js} +0 -0
  753. /package/dist/chunks/{file-dy18nga0.js → repository-dy18nga0.js} +0 -0
  754. /package/dist/chunks/{file-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
  755. /package/dist/chunks/{file-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
  756. /package/dist/chunks/{file-ec1grn59.js → repository-ec1grn59.js} +0 -0
  757. /package/dist/chunks/{file-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
  758. /package/dist/chunks/{file-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
  759. /package/dist/chunks/{file-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
  760. /package/dist/chunks/{file-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
  761. /package/dist/chunks/{file-faypxj3z.js → repository-faypxj3z.js} +0 -0
  762. /package/dist/chunks/{file-fd410y7t.js → repository-fd410y7t.js} +0 -0
  763. /package/dist/chunks/{file-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
  764. /package/dist/chunks/{file-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
  765. /package/dist/chunks/{file-g86h250q.js → repository-g86h250q.js} +0 -0
  766. /package/dist/chunks/{file-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
  767. /package/dist/chunks/{file-gftt206x.js → repository-gftt206x.js} +0 -0
  768. /package/dist/chunks/{file-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
  769. /package/dist/chunks/{file-hk9envan.js → repository-hk9envan.js} +0 -0
  770. /package/dist/chunks/{file-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
  771. /package/dist/chunks/{file-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
  772. /package/dist/chunks/{file-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
  773. /package/dist/chunks/{file-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
  774. /package/dist/chunks/{file-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
  775. /package/dist/chunks/{file-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
  776. /package/dist/chunks/{file-mp448xyj.js → repository-mp448xyj.js} +0 -0
  777. /package/dist/chunks/{file-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
  778. /package/dist/chunks/{file-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
  779. /package/dist/chunks/{file-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
  780. /package/dist/chunks/{file-njntx4h6.js → repository-njntx4h6.js} +0 -0
  781. /package/dist/chunks/{file-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
  782. /package/dist/chunks/{file-q74kybfr.js → repository-q74kybfr.js} +0 -0
  783. /package/dist/chunks/{file-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
  784. /package/dist/chunks/{file-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
  785. /package/dist/chunks/{file-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
  786. /package/dist/chunks/{file-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
  787. /package/dist/chunks/{file-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
  788. /package/dist/chunks/{file-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
  789. /package/dist/chunks/{file-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
  790. /package/dist/chunks/{file-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
  791. /package/dist/chunks/{file-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
  792. /package/dist/chunks/{file-w803qqfp.js → repository-w803qqfp.js} +0 -0
  793. /package/dist/chunks/{file-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
  794. /package/dist/chunks/{file-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
  795. /package/dist/chunks/{file-wtztk69x.js → repository-wtztk69x.js} +0 -0
  796. /package/dist/chunks/{file-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
  797. /package/dist/chunks/{file-x61499pn.js → repository-x61499pn.js} +0 -0
  798. /package/dist/chunks/{file-y44na4kk.js → repository-y44na4kk.js} +0 -0
  799. /package/dist/chunks/{file-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
  800. /package/dist/chunks/{file-y8f7s663.js → repository-y8f7s663.js} +0 -0
  801. /package/dist/chunks/{file-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
  802. /package/dist/chunks/{file-ym463w8f.js → repository-ym463w8f.js} +0 -0
  803. /package/dist/chunks/{file-z9919s4g.js → repository-z9919s4g.js} +0 -0
@@ -2,18 +2,18 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./file-922hggd3.js";
5
+ } from "./repository-922hggd3.js";
6
6
  import {
7
- Service80,
8
- node84
9
- } from "./file-d82rywaa.js";
7
+ Service74,
8
+ node78
9
+ } from "./repository-trfxp1r8.js";
10
10
  import {
11
- Service18,
12
- node20
13
- } from "./file-4ecq8z8w.js";
11
+ Service22,
12
+ node25
13
+ } from "./repository-2zbc03eg.js";
14
14
  import {
15
15
  __export
16
- } from "./file-9rqn6x4v.js";
16
+ } from "./repository-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
24
  Entry: () => Entry2,
25
- Event: () => Event3,
25
+ Event: () => Event6,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
30
  ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError2,
32
+ NotFoundError: () => NotFoundError4,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service17,
34
+ Service: () => Service21,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node19
38
+ node: () => node24
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError2 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event3 = FileSystem.Event;
88
+ var Event6 = FileSystem.Event;
89
89
 
90
- class Service17 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service21 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service21, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
- const location = yield* Service80;
95
- const search = yield* Service18;
94
+ const location = yield* Service74;
95
+ const search = yield* Service22;
96
96
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
97
97
  const resolve = Effect.fnUntraced(function* (input) {
98
98
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
103
103
  return yield* Effect.die(new Error("Path escapes the location"));
104
104
  return { absolute, real, directory: location.directory };
105
105
  });
106
- return Service17.of({
106
+ return Service21.of({
107
107
  find: search.find,
108
108
  read: Effect.fn("FileSystem.read")(function* (input) {
109
- const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
111
111
  if (info.type !== "File")
112
112
  return yield* Effect.die(new Error("Path is not a file"));
113
113
  return {
114
- content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError2({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error))),
115
115
  mime: FSUtil.mimeType(target.real)
116
116
  };
117
117
  }),
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node19 = makeLocationNode({
144
- service: Service17,
143
+ var node24 = makeLocationNode({
144
+ service: Service21,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node84, node20]
146
+ deps: [FSUtil.node, node78, node25]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event3, Service17, node19, exports_filesystem, Entry2, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError4, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service21, node24, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -2,28 +2,28 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./file-z36jzmxf.js";
5
+ } from "./repository-0c1nc1g2.js";
6
6
  import {
7
- Service65,
8
- node67
9
- } from "./file-cefeattc.js";
7
+ Service82,
8
+ node86
9
+ } from "./repository-kkybr322.js";
10
10
  import {
11
11
  __export
12
- } from "./file-9rqn6x4v.js";
12
+ } from "./repository-9rqn6x4v.js";
13
13
 
14
14
  // src/wellknown.ts
15
15
  var exports_wellknown = {};
16
16
  __export(exports_wellknown, {
17
17
  Auth: () => Auth2,
18
18
  Config: () => Config2,
19
- Event: () => Event12,
19
+ Event: () => Event21,
20
20
  Manifest: () => Manifest2,
21
21
  RemoteConfig: () => RemoteConfig2,
22
- Service: () => Service57,
22
+ Service: () => Service81,
23
23
  WellKnown: () => exports_wellknown,
24
24
  inspect: () => inspect2,
25
- node: () => node59,
26
- resolve: () => resolve3
25
+ node: () => node85,
26
+ resolve: () => resolve4
27
27
  });
28
28
  import { Integration } from "@opencode/schema/integration";
29
29
  import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
46
46
  remote_config: Schema.optional(RemoteConfig2)
47
47
  }).annotate({ identifier: "WellKnown.Manifest" });
48
48
 
49
- class Service57 extends Context.Service()("@opencode/WellKnown") {
49
+ class Service81 extends Context.Service()("@opencode/WellKnown") {
50
50
  }
51
- var Event12 = {
51
+ var Event21 = {
52
52
  Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
53
53
  };
54
54
  var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
56
56
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
57
57
  return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
58
58
  });
59
- var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
59
+ var resolve4 = Effect.fn("WellKnown.resolve")(function* (input) {
60
60
  const manifest = yield* inspect2(input.origin);
61
61
  return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
62
62
  });
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
75
75
  });
76
76
  var sourcesKey = "wellknown:sources";
77
77
  var Sources = Schema.Array(Schema.String);
78
- var layer = Layer.effect(Service57, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service81, Effect.gen(function* () {
79
79
  const http = yield* HttpClient.HttpClient;
80
- const kv = yield* Service65;
80
+ const kv = yield* Service82;
81
81
  const bus = yield* Service83;
82
82
  const cache = yield* Ref.make(new Map);
83
83
  const lock = Semaphore.makeUnsafe(1);
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
109
109
  if (!changed)
110
110
  return false;
111
111
  yield* Ref.set(cache, next);
112
- yield* bus.publish(Event12.Updated, {});
112
+ yield* bus.publish(Event21.Updated, {});
113
113
  return true;
114
114
  }, (effect) => lock.withPermit(effect));
115
- return Service57.of({
115
+ return Service81.of({
116
116
  entries: load,
117
117
  snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
118
118
  refresh,
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
125
125
  const origins = Schema.is(Sources)(sources) ? sources : [];
126
126
  yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
127
127
  yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
128
- yield* bus.publish(Event12.Updated, {});
128
+ yield* bus.publish(Event21.Updated, {});
129
129
  return entry;
130
130
  }, (effect, _value) => lock.withPermit(effect)),
131
131
  remove: Effect.fn("WellKnown.remove")(function* (value) {
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
138
138
  next.delete(origin);
139
139
  return next;
140
140
  });
141
- yield* bus.publish(Event12.Updated, {});
141
+ yield* bus.publish(Event21.Updated, {});
142
142
  }, (effect, _value) => lock.withPermit(effect)),
143
143
  resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
144
144
  });
145
145
  }));
146
- var node59 = makeGlobalNode({ service: Service57, layer, deps: [httpClient, node67, node87] });
146
+ var node85 = makeGlobalNode({ service: Service81, layer, deps: [httpClient, node86, node87] });
147
147
 
148
- export { Auth2, RemoteConfig2, Config2, Manifest2, Service57, Event12, inspect2, resolve3, node59, exports_wellknown };
148
+ export { Auth2, RemoteConfig2, Config2, Manifest2, Service81, Event21, inspect2, resolve4, node85, exports_wellknown };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/plugin.ts
6
6
  var exports_plugin3 = {};
7
7
  __export(exports_plugin3, {
8
8
  ConfigPluginV1: () => exports_plugin3,
9
- Options: () => Options9,
9
+ Options: () => Options7,
10
10
  Spec: () => Spec2
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Options9 = Schema.Record(Schema.String, Schema.Unknown);
14
- var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options9]))]);
13
+ var Options7 = Schema.Record(Schema.String, Schema.Unknown);
14
+ var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options7]))]);
15
15
 
16
- export { Options9, Spec2, exports_plugin3 };
16
+ export { Options7, Spec2, exports_plugin3 };
@@ -1,31 +1,31 @@
1
1
  import {
2
- ID7
3
- } from "./file-cnrdk8yx.js";
2
+ ID9
3
+ } from "./repository-5md3tagz.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./file-922hggd3.js";
6
+ } from "./repository-922hggd3.js";
7
7
  import {
8
- Info11
9
- } from "./file-a8zr1srk.js";
8
+ Info16
9
+ } from "./repository-8hgfhrm0.js";
10
10
  import {
11
11
  migrateAgent2
12
- } from "./file-n7e5sdch.js";
12
+ } from "./repository-khm1sf7f.js";
13
13
  import {
14
14
  latest2,
15
- Service55
16
- } from "./file-r3rtvjkk.js";
15
+ Service63
16
+ } from "./repository-ejrhby57.js";
17
17
  import {
18
18
  parseOption2
19
- } from "./file-5daktx2q.js";
19
+ } from "./repository-5daktx2q.js";
20
20
  import {
21
21
  __export
22
- } from "./file-9rqn6x4v.js";
22
+ } from "./repository-9rqn6x4v.js";
23
23
 
24
24
  // src/config/plugin/agent.ts
25
25
  var exports_agent = {};
26
26
  __export(exports_agent, {
27
27
  ConfigAgentPlugin: () => exports_agent,
28
- Plugin: () => Plugin25
28
+ Plugin: () => Plugin17
29
29
  });
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { Document, Info } from "@opencode/schema/config";
@@ -40,14 +40,14 @@ var legacySources = [
40
40
  ];
41
41
  var sourceDirectories = ["agent", "agents", "mode", "modes"];
42
42
  var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
43
- var decodeLegacyAgent = Schema.decodeUnknownOption(Info11);
43
+ var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
44
44
  var decodeConfig = Schema.decodeUnknownOption(Info);
45
45
  var pathActions = ["external_directory", "read", "edit"];
46
46
  var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
47
- var Plugin25 = define({
47
+ var Plugin17 = define({
48
48
  id: "opencode.config.agent",
49
49
  effect: Effect.fn(function* (ctx) {
50
- const config = yield* Service55;
50
+ const config = yield* Service63;
51
51
  const fs = yield* FSUtil.Service;
52
52
  const global = yield* Global.Service;
53
53
  const loadEntry = Effect.fnUntraced(function* (entry) {
@@ -76,13 +76,13 @@ var Plugin25 = define({
76
76
  const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
77
77
  const configuredDefault = latest2(loaded.documents, "default_agent");
78
78
  if (configuredDefault !== undefined)
79
- editor.default(ID7.make(configuredDefault));
79
+ editor.default(ID9.make(configuredDefault));
80
80
  for (const current of editor.list()) {
81
81
  editor.update(current.id, (agent) => agent.permissions.push(...permissions));
82
82
  }
83
83
  for (const document of loaded.documents) {
84
84
  for (const [id, item] of Object.entries(document.info.agents ?? {})) {
85
- const agentID = ID7.make(id);
85
+ const agentID = ID9.make(id);
86
86
  if (item.disabled) {
87
87
  editor.remove(agentID);
88
88
  continue;
@@ -161,4 +161,4 @@ function decode(file, content) {
161
161
  return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
162
162
  }
163
163
 
164
- export { Plugin25, exports_agent };
164
+ export { Plugin17, exports_agent };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-9rqn6x4v.js";
3
+ } from "./repository-9rqn6x4v.js";
4
4
 
5
5
  // src/config/plugin/entry-observer.ts
6
6
  var exports_entry_observer = {};
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  Service83
3
- } from "./file-z36jzmxf.js";
3
+ } from "./repository-0c1nc1g2.js";
4
4
  import {
5
- Service74
6
- } from "./file-eebxfdqy.js";
5
+ Service42
6
+ } from "./repository-5psjtcc4.js";
7
7
  import {
8
- Error2
9
- } from "./file-53aen1mc.js";
8
+ Error4
9
+ } from "./repository-2xqh5gj0.js";
10
10
  import {
11
- Service52
12
- } from "./file-ba4w6g48.js";
11
+ Service68
12
+ } from "./repository-115t4k1h.js";
13
13
  import {
14
14
  StepFailedError2
15
- } from "./file-c769d21z.js";
15
+ } from "./repository-f1zbxv7x.js";
16
16
  import {
17
17
  SessionEvent2
18
- } from "./file-ec1grn59.js";
18
+ } from "./repository-ec1grn59.js";
19
19
  import {
20
20
  toSessionError2
21
- } from "./file-2nnkyhgj.js";
21
+ } from "./repository-kx253xx8.js";
22
22
  import {
23
23
  calculateCost2
24
- } from "./file-tdstcens.js";
24
+ } from "./repository-tdstcens.js";
25
25
  import {
26
26
  createLLMEventPublisher2
27
- } from "./file-erw5rpbs.js";
27
+ } from "./repository-erw5rpbs.js";
28
28
  import {
29
29
  isRetryable2
30
- } from "./file-0dv41atz.js";
30
+ } from "./repository-4nddn0b6.js";
31
31
  import {
32
32
  __export
33
- } from "./file-9rqn6x4v.js";
33
+ } from "./repository-9rqn6x4v.js";
34
34
 
35
35
  // src/session/runner/step.ts
36
36
  var exports_step = {};
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
54
54
  var make8 = Effect.gen(function* () {
55
55
  const bus = yield* Service83;
56
56
  const llm = yield* LLMClient.Service;
57
- const snapshots = yield* Service74;
58
- const toolOutput = yield* Service52;
57
+ const snapshots = yield* Service42;
58
+ const toolOutput = yield* Service68;
59
59
  const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
60
60
  const startSnapshot = yield* snapshots.capture();
61
61
  const publisher = createLLMEventPublisher2(bus, {
@@ -71,7 +71,7 @@ var make8 = Effect.gen(function* () {
71
71
  const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
72
72
  const executeTool = (call) => {
73
73
  if (input.prepared.request.toolChoice?.type === "none")
74
- return new Error2({ message: "Tools are disabled after the maximum agent steps" });
74
+ return new Error4({ message: "Tools are disabled after the maximum agent steps" });
75
75
  return input.prepared.executeTool({
76
76
  sessionID: input.sessionID,
77
77
  agent: input.agent,
@@ -2,35 +2,35 @@ import {
2
2
  ephemeral2,
3
3
  Service83,
4
4
  node87
5
- } from "./file-z36jzmxf.js";
5
+ } from "./repository-0c1nc1g2.js";
6
6
  import {
7
- Key3,
7
+ Key4,
8
8
  unavailable3,
9
9
  removed2,
10
- make18,
10
+ make21,
11
11
  diffByKey2
12
- } from "./file-0gdmqesm.js";
12
+ } from "./repository-eaj1djv9.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./file-922hggd3.js";
15
+ } from "./repository-922hggd3.js";
16
16
  import {
17
17
  create3
18
- } from "./file-rdw6cm16.js";
18
+ } from "./repository-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./file-9rqn6x4v.js";
21
+ } from "./repository-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event9,
26
+ Event: () => Event20,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options6,
30
- Service: () => Service47,
31
- configured: () => configured6,
32
- layer: () => layer18,
33
- node: () => node49
29
+ Options: () => Options10,
30
+ Service: () => Service80,
31
+ configured: () => configured11,
32
+ layer: () => layer25,
33
+ node: () => node84
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,18 +41,18 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key3.make("core/instructions");
45
- var Event9 = {
44
+ var key = Key4.make("core/instructions");
45
+ var Event20 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options6 = Schema.Struct({
48
+ var Options10 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service47 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service80 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer18 = (options) => Layer.effect(Service47, Effect.gen(function* () {
55
+ var layer25 = (options) => Layer.effect(Service80, Effect.gen(function* () {
56
56
  const bus = yield* Service83;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -72,9 +72,9 @@ var layer18 = (options) => Layer.effect(Service47, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event20.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make18({
77
+ const source = (value) => make21({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service47, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service47.of({
93
+ return Service80.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service47, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured6(options) {
107
+ function configured11(options) {
108
108
  return makeLocationNode({
109
- service: Service47,
110
- layer: layer18(options),
109
+ service: Service80,
110
+ layer: layer25(options),
111
111
  deps: [node87]
112
112
  });
113
113
  }
114
- var node49 = configured6();
114
+ var node84 = configured11();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event9, Options6, Service47, layer18, configured6, node49, exports_instruction_discovery };
145
+ export { File2, Event20, Options10, Service80, layer25, configured11, node84, exports_instruction_discovery };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  create3
3
- } from "./file-rdw6cm16.js";
3
+ } from "./repository-rdw6cm16.js";
4
4
  import {
5
5
  which2
6
- } from "./file-qaymkmh1.js";
6
+ } from "./repository-qaymkmh1.js";
7
7
  import {
8
8
  __export
9
- } from "./file-9rqn6x4v.js";
9
+ } from "./repository-9rqn6x4v.js";
10
10
 
11
11
  // src/shell/select.ts
12
12
  var exports_select = {};
13
13
  __export(exports_select, {
14
- Options: () => Options10,
15
- Service: () => Service76,
14
+ Options: () => Options9,
15
+ Service: () => Service65,
16
16
  ShellSelect: () => exports_select,
17
17
  args: () => args2,
18
- configured: () => configured10,
18
+ configured: () => configured9,
19
19
  environment: () => environment2,
20
20
  gitbash: () => gitbash2,
21
21
  list: () => list4,
22
22
  login: () => login2,
23
23
  name: () => name15,
24
- node: () => node79,
24
+ node: () => node68,
25
25
  ps: () => ps2,
26
- resolve: () => resolve4
26
+ resolve: () => resolve3
27
27
  });
28
28
  import path from "path";
29
29
  import { readFile } from "fs/promises";
@@ -43,11 +43,11 @@ var META = {
43
43
  sh: { login: true },
44
44
  zsh: { login: true }
45
45
  };
46
- var Options10 = Schema.Struct({
46
+ var Options9 = Schema.Struct({
47
47
  gitbash: Schema.optional(Schema.String)
48
48
  });
49
49
 
50
- class Service76 extends Context.Service()("@opencode/ShellSelect") {
50
+ class Service65 extends Context.Service()("@opencode/ShellSelect") {
51
51
  }
52
52
  function stat(file) {
53
53
  return statSync(file, { throwIfNoEntry: false }) ?? undefined;
@@ -164,7 +164,7 @@ function environment2(bin, filter) {
164
164
  }
165
165
  var defaultConfigured;
166
166
  var defaultCompatible;
167
- function resolve4(input, configShell, options, bin) {
167
+ function resolve3(input, configShell, options, bin) {
168
168
  const filter = input.priority === "compat" ? { compatible: true } : undefined;
169
169
  if (configShell)
170
170
  return select(configShell, options, filter, bin);
@@ -180,7 +180,7 @@ function resolve4(input, configShell, options, bin) {
180
180
  defaultConfigured = { bin, value };
181
181
  return value;
182
182
  }
183
- resolve4.reset = () => {
183
+ resolve3.reset = () => {
184
184
  defaultConfigured = undefined;
185
185
  defaultCompatible = undefined;
186
186
  };
@@ -188,7 +188,7 @@ async function list4(options, bin) {
188
188
  const shells = process.platform === "win32" ? win(options, bin) : await unix();
189
189
  return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
190
190
  }
191
- var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
191
+ var layer = (options) => Layer.effect(Service65, Effect.gen(function* () {
192
192
  const global = yield* Global.Service;
193
193
  const state = create3({
194
194
  name: "shell-select",
@@ -199,16 +199,16 @@ var layer = (options) => Layer.effect(Service76, Effect.gen(function* () {
199
199
  }
200
200
  })
201
201
  });
202
- return Service76.of({
202
+ return Service65.of({
203
203
  transform: state.transform,
204
204
  reload: state.reload,
205
- resolve: (input) => Effect.sync(() => resolve4(input, state.get().shell, options, global.bin)),
205
+ resolve: (input) => Effect.sync(() => resolve3(input, state.get().shell, options, global.bin)),
206
206
  list: () => Effect.promise(() => list4(options, global.bin))
207
207
  });
208
208
  }));
209
- function configured10(options) {
210
- return makeLocationNode({ service: Service76, layer: layer(options), deps: [Global.node] });
209
+ function configured9(options) {
210
+ return makeLocationNode({ service: Service65, layer: layer(options), deps: [Global.node] });
211
211
  }
212
- var node79 = configured10();
212
+ var node68 = configured9();
213
213
 
214
- export { Options10, Service76, gitbash2, name15, login2, ps2, args2, environment2, resolve4, list4, configured10, node79, exports_select };
214
+ export { Options9, Service65, gitbash2, name15, login2, ps2, args2, environment2, resolve3, list4, configured9, node68, exports_select };