@opencode-ai/core 0.0.0-dev-19144 → 0.0.0-dev-19145

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 (773) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{catalog-qdw9fccg.js → file-mutation-01vtss9b.js} +7 -7
  9. package/dist/chunks/{catalog-p4ggx0zr.js → file-mutation-06zhcttw.js} +10 -10
  10. package/dist/chunks/{catalog-0e0xafbb.js → file-mutation-0e0xafbb.js} +2 -2
  11. package/dist/chunks/{catalog-sb3bnv8z.js → file-mutation-0egemd82.js} +9 -9
  12. package/dist/chunks/{catalog-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{catalog-0s9ayhjt.js → file-mutation-0s9ayhjt.js} +1 -1
  14. package/dist/chunks/{catalog-4nwxsvyv.js → file-mutation-0tqc2v94.js} +3 -3
  15. package/dist/chunks/{catalog-jf9pwdd0.js → file-mutation-0vyk9fdn.js} +46 -46
  16. package/dist/chunks/{catalog-2twct0xa.js → file-mutation-119my715.js} +13 -13
  17. package/dist/chunks/{catalog-1xc6cqxb.js → file-mutation-13fpjj1h.js} +23 -23
  18. package/dist/chunks/{catalog-0z7gqxfb.js → file-mutation-17yyz20s.js} +8 -8
  19. package/dist/chunks/{catalog-1ct4r87x.js → file-mutation-1ct4r87x.js} +1 -1
  20. package/dist/chunks/{catalog-4px03tm0.js → file-mutation-1kvgva6x.js} +24 -24
  21. package/dist/chunks/{catalog-34raqpv6.js → file-mutation-1ypdbbt4.js} +43 -43
  22. package/dist/chunks/{catalog-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  23. package/dist/chunks/{catalog-hmmbvzaj.js → file-mutation-22xjknbc.js} +22 -22
  24. package/dist/chunks/{catalog-6h73sxmp.js → file-mutation-2402vzrj.js} +5 -5
  25. package/dist/chunks/{catalog-z63w68vq.js → file-mutation-29x78va6.js} +6 -6
  26. package/dist/chunks/{catalog-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{catalog-vbxn9k95.js → file-mutation-2c009s0k.js} +33 -33
  28. package/dist/chunks/{catalog-6a9d9ds8.js → file-mutation-2ed8104q.js} +46 -46
  29. package/dist/chunks/{catalog-2ht70gj7.js → file-mutation-2ht70gj7.js} +1 -1
  30. package/dist/chunks/{catalog-2jqmte8w.js → file-mutation-2jqmte8w.js} +2 -2
  31. package/dist/chunks/{catalog-j9n1qf66.js → file-mutation-2kq45tcm.js} +15 -15
  32. package/dist/chunks/{catalog-mg12sz4w.js → file-mutation-2s6dtgtx.js} +20 -20
  33. package/dist/chunks/{catalog-k683s6db.js → file-mutation-2sk5e31d.js} +30 -30
  34. package/dist/chunks/{catalog-xpxab4nw.js → file-mutation-2t77ycv7.js} +24 -24
  35. package/dist/chunks/{catalog-w19faqq8.js → file-mutation-326th3fr.js} +7 -7
  36. package/dist/chunks/{catalog-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{catalog-y70x778t.js → file-mutation-3gvz0573.js} +15 -15
  38. package/dist/chunks/{catalog-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{catalog-t8fhjk3m.js → file-mutation-3ks4yd53.js} +9 -9
  40. package/dist/chunks/{catalog-3qzbfqsy.js → file-mutation-3qzbfqsy.js} +2 -2
  41. package/dist/chunks/{catalog-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{catalog-n605axxx.js → file-mutation-3tv1tpm6.js} +46 -46
  43. package/dist/chunks/{catalog-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  44. package/dist/chunks/{catalog-ydb80xvr.js → file-mutation-3ty3h0mk.js} +6 -6
  45. package/dist/chunks/{catalog-711hfp6y.js → file-mutation-3x6030n9.js} +2 -2
  46. package/dist/chunks/{catalog-sgx28bxk.js → file-mutation-440fe95r.js} +28 -28
  47. package/dist/chunks/{catalog-454k5vzh.js → file-mutation-454k5vzh.js} +1 -1
  48. package/dist/chunks/{catalog-rq7zmz6j.js → file-mutation-45a3e49b.js} +9 -9
  49. package/dist/chunks/{catalog-sft75sz8.js → file-mutation-45b1kca6.js} +28 -28
  50. package/dist/chunks/{catalog-g9d2f87j.js → file-mutation-4b1sg654.js} +15 -15
  51. package/dist/chunks/{catalog-gwz3g6yj.js → file-mutation-4d0qyyca.js} +24 -24
  52. package/dist/chunks/{catalog-h6ntvdmj.js → file-mutation-4j4x9s5w.js} +24 -24
  53. package/dist/chunks/{catalog-0ew5k04w.js → file-mutation-4kda9sbw.js} +10 -10
  54. package/dist/chunks/{catalog-zrahtrf1.js → file-mutation-4nf6feq9.js} +12 -12
  55. package/dist/chunks/{catalog-4r2nyarf.js → file-mutation-4r2nyarf.js} +1 -1
  56. package/dist/chunks/{catalog-b1w8rqew.js → file-mutation-4wbn6k17.js} +9 -9
  57. package/dist/chunks/{catalog-ne5z97p7.js → file-mutation-4y9q5fy2.js} +8 -8
  58. package/dist/chunks/{catalog-hm466dsx.js → file-mutation-52exjygq.js} +17 -17
  59. package/dist/chunks/{catalog-dq9466fq.js → file-mutation-5aa0x91g.js} +11 -11
  60. package/dist/chunks/{catalog-cse8k6tj.js → file-mutation-5c2dffx6.js} +31 -31
  61. package/dist/chunks/{catalog-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  62. package/dist/chunks/{catalog-79t230dn.js → file-mutation-5dh6cndq.js} +16 -16
  63. package/dist/chunks/{catalog-m3rz6703.js → file-mutation-5es8c9fg.js} +4 -4
  64. package/dist/chunks/{catalog-5fmxt4p5.js → file-mutation-5fmxt4p5.js} +1 -1
  65. package/dist/chunks/{catalog-5jvc5tg2.js → file-mutation-5jvc5tg2.js} +1 -1
  66. package/dist/chunks/{catalog-j935v87r.js → file-mutation-5qd3pb7m.js} +2 -2
  67. package/dist/chunks/{catalog-h8v3acys.js → file-mutation-5xeyd98q.js} +15 -15
  68. package/dist/chunks/{catalog-g19vc6v7.js → file-mutation-64z8z5x5.js} +6 -6
  69. package/dist/chunks/{catalog-6z5bwd8g.js → file-mutation-6abnk40k.js} +9 -9
  70. package/dist/chunks/{catalog-eg4pr325.js → file-mutation-6dqhqmxd.js} +10 -10
  71. package/dist/chunks/{catalog-w264x1w0.js → file-mutation-6h02bg3y.js} +17 -17
  72. package/dist/chunks/{catalog-cwm73t9c.js → file-mutation-6kza5psa.js} +28 -28
  73. package/dist/chunks/{catalog-gj6r28re.js → file-mutation-6nd37hr3.js} +17 -17
  74. package/dist/chunks/{catalog-72nftnjy.js → file-mutation-72nftnjy.js} +2 -2
  75. package/dist/chunks/{catalog-4f7bsbtr.js → file-mutation-73dc4en3.js} +9 -9
  76. package/dist/chunks/{catalog-421v1d3c.js → file-mutation-76smfv87.js} +7 -7
  77. package/dist/chunks/{catalog-4qekkv1x.js → file-mutation-7bh11fvr.js} +24 -24
  78. package/dist/chunks/{catalog-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  79. package/dist/chunks/{catalog-byqq6vvq.js → file-mutation-7cnkxtbd.js} +9 -9
  80. package/dist/chunks/{catalog-qgn6gcr1.js → file-mutation-7dqw4kz8.js} +5 -5
  81. package/dist/chunks/{catalog-79xc10f4.js → file-mutation-7ng7exzm.js} +1 -1
  82. package/dist/chunks/{catalog-jp5dra8g.js → file-mutation-7nxyxket.js} +1 -1
  83. package/dist/chunks/{catalog-vwwkt776.js → file-mutation-7ry09vv5.js} +3 -3
  84. package/dist/chunks/{catalog-hb3eq2pb.js → file-mutation-7rzac2j8.js} +16 -16
  85. package/dist/chunks/{catalog-marnn1hp.js → file-mutation-7w3s9kd0.js} +7 -7
  86. package/dist/chunks/{catalog-f7jmtye2.js → file-mutation-81x7eskd.js} +9 -9
  87. package/dist/chunks/{catalog-dn0s6s3f.js → file-mutation-8xta96ty.js} +6 -6
  88. package/dist/chunks/{catalog-wd8yh26h.js → file-mutation-91x3tn6q.js} +27 -27
  89. package/dist/chunks/{catalog-spgxdjsy.js → file-mutation-9295dqc9.js} +11 -11
  90. package/dist/chunks/{catalog-7tfg2zmn.js → file-mutation-986p65m9.js} +5 -5
  91. package/dist/chunks/{catalog-5jchreqx.js → file-mutation-99vgbsyy.js} +5 -5
  92. package/dist/chunks/{catalog-khhh7gn8.js → file-mutation-9g2qkkxg.js} +29 -29
  93. package/dist/chunks/{catalog-vgq6njeh.js → file-mutation-9ghjyck9.js} +22 -22
  94. package/dist/chunks/{catalog-1p24r0z9.js → file-mutation-9pk3p303.js} +8 -8
  95. package/dist/chunks/{catalog-kasamkbj.js → file-mutation-9rye7j78.js} +5 -5
  96. package/dist/chunks/{catalog-3xzydzwh.js → file-mutation-9stdvdcq.js} +18 -18
  97. package/dist/chunks/{catalog-bgcg3rg0.js → file-mutation-9vjz8vaq.js} +26 -26
  98. package/dist/chunks/{catalog-s6d7mvtp.js → file-mutation-9xpfpwey.js} +5 -5
  99. package/dist/chunks/{catalog-nj69k6k5.js → file-mutation-9zg8we79.js} +24 -24
  100. package/dist/chunks/{catalog-d216944b.js → file-mutation-a2ew8a62.js} +7 -7
  101. package/dist/chunks/{catalog-smm3jkev.js → file-mutation-a975ej57.js} +28 -28
  102. package/dist/chunks/{catalog-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  103. package/dist/chunks/{catalog-rv49c601.js → file-mutation-apjnhj61.js} +3 -3
  104. package/dist/chunks/{catalog-sty9sa82.js → file-mutation-av1j229j.js} +4 -4
  105. package/dist/chunks/{catalog-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  106. package/dist/chunks/{catalog-9n2x0xpw.js → file-mutation-b8ae5phz.js} +13 -13
  107. package/dist/chunks/{catalog-b9wsbatv.js → file-mutation-b9wsbatv.js} +1 -1
  108. package/dist/chunks/{catalog-wndz4y3a.js → file-mutation-ba9wjnjy.js} +8 -8
  109. package/dist/chunks/{catalog-revr1jts.js → file-mutation-babn4frh.js} +8 -8
  110. package/dist/chunks/{catalog-60ts9vcd.js → file-mutation-bbngg50h.js} +21 -21
  111. package/dist/chunks/{catalog-bftmqv3x.js → file-mutation-bby8cgbn.js} +5 -5
  112. package/dist/chunks/{catalog-nw5vcmzd.js → file-mutation-bgt6msk1.js} +2 -2
  113. package/dist/chunks/{catalog-9d4efts8.js → file-mutation-bxnxw8jj.js} +5 -5
  114. package/dist/chunks/{catalog-v619pcw0.js → file-mutation-c2sa0bfw.js} +11 -11
  115. package/dist/chunks/{catalog-y3f8mgp4.js → file-mutation-c47pbdfk.js} +26 -26
  116. package/dist/chunks/{catalog-qfh93msq.js → file-mutation-cdra1vae.js} +11 -11
  117. package/dist/chunks/file-mutation-chcw50cn.js +460 -0
  118. package/dist/chunks/{catalog-r33ff4dw.js → file-mutation-cpy6gm2a.js} +4 -4
  119. package/dist/chunks/{catalog-5p910kp8.js → file-mutation-cq35m6me.js} +3 -3
  120. package/dist/chunks/{catalog-vtakbz9w.js → file-mutation-cq7p734r.js} +23 -23
  121. package/dist/chunks/{catalog-cbesmh4f.js → file-mutation-crdp7enc.js} +26 -26
  122. package/dist/chunks/{catalog-hx0v1se0.js → file-mutation-cv89hz1h.js} +38 -38
  123. package/dist/chunks/{catalog-gp6a0wx2.js → file-mutation-d2peqda8.js} +26 -26
  124. package/dist/chunks/{catalog-d7sktd1b.js → file-mutation-dek5y14m.js} +4 -4
  125. package/dist/chunks/{catalog-pmr4s4kc.js → file-mutation-dfe8djrf.js} +4 -4
  126. package/dist/chunks/{catalog-2vthqeng.js → file-mutation-dkvwewr4.js} +30 -30
  127. package/dist/chunks/{catalog-d2wjgy6a.js → file-mutation-dkyd48ce.js} +34 -34
  128. package/dist/chunks/{catalog-h0qjmrvp.js → file-mutation-dnys7mv6.js} +6 -6
  129. package/dist/chunks/{catalog-9dhns7cj.js → file-mutation-dsstwbg7.js} +16 -16
  130. package/dist/chunks/file-mutation-dxj72tfx.js +18 -0
  131. package/dist/chunks/{catalog-r44vzmrg.js → file-mutation-dyqxbeha.js} +11 -11
  132. package/dist/chunks/{catalog-m7nqr3y1.js → file-mutation-e6v427vd.js} +2 -2
  133. package/dist/chunks/{catalog-9wavatnn.js → file-mutation-eesgpqrv.js} +16 -16
  134. package/dist/chunks/{catalog-e5xx3mz6.js → file-mutation-enamxrz2.js} +2 -2
  135. package/dist/chunks/{catalog-tv3exgx0.js → file-mutation-etamtscj.js} +5 -5
  136. package/dist/chunks/{catalog-jjzmpkqm.js → file-mutation-ev7pq6rs.js} +5 -5
  137. package/dist/chunks/{catalog-ez5b8bq3.js → file-mutation-ez5b8bq3.js} +1 -1
  138. package/dist/chunks/{catalog-0f1c069v.js → file-mutation-f12kng77.js} +11 -11
  139. package/dist/chunks/{catalog-4v3bt2dm.js → file-mutation-f36g7wv5.js} +19 -19
  140. package/dist/chunks/{catalog-fhvjqr7f.js → file-mutation-f9x6rp1j.js} +1 -1
  141. package/dist/chunks/{catalog-624wrrgt.js → file-mutation-fmf5kng9.js} +26 -26
  142. package/dist/chunks/{catalog-wge8k7mw.js → file-mutation-fmhb14bc.js} +9 -9
  143. package/dist/chunks/{catalog-tpn441k0.js → file-mutation-fmthvvtq.js} +30 -30
  144. package/dist/chunks/{catalog-gssy3erj.js → file-mutation-ftvhvnyg.js} +90 -90
  145. package/dist/chunks/{catalog-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
  146. package/dist/chunks/{catalog-fxypknc8.js → file-mutation-fxypknc8.js} +1 -1
  147. package/dist/chunks/{catalog-fz1pdqz4.js → file-mutation-fz1pdqz4.js} +2 -2
  148. package/dist/chunks/{catalog-707m4ntd.js → file-mutation-g20rb2e2.js} +18 -18
  149. package/dist/chunks/{catalog-g2dy4bvs.js → file-mutation-g2dy4bvs.js} +3 -3
  150. package/dist/chunks/{catalog-g2gt0w0k.js → file-mutation-g2gt0w0k.js} +2 -2
  151. package/dist/chunks/{catalog-m2fexv84.js → file-mutation-g75qfjc9.js} +44 -44
  152. package/dist/chunks/{catalog-0v4q2g9j.js → file-mutation-gb73cz2w.js} +25 -25
  153. package/dist/chunks/{catalog-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  154. package/dist/chunks/{catalog-fctdrsbv.js → file-mutation-gq2dhm0f.js} +6 -6
  155. package/dist/chunks/{catalog-b7tve4sx.js → file-mutation-gvqp5mcx.js} +18 -18
  156. package/dist/chunks/{catalog-4g01a3fh.js → file-mutation-h6hfrtqv.js} +15 -15
  157. package/dist/chunks/{catalog-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  158. package/dist/chunks/{catalog-heyhwy2w.js → file-mutation-heyhwy2w.js} +1 -1
  159. package/dist/chunks/{catalog-xgjy9czn.js → file-mutation-hfr11a94.js} +9 -9
  160. package/dist/chunks/{catalog-2rcaaecz.js → file-mutation-hgeb4s25.js} +1 -1
  161. package/dist/chunks/{catalog-y2cqme3r.js → file-mutation-hhpzk61m.js} +5 -5
  162. package/dist/chunks/{catalog-bcezcar3.js → file-mutation-hnyf01b0.js} +5 -5
  163. package/dist/chunks/{catalog-tppvcy65.js → file-mutation-hpbtcqba.js} +9 -9
  164. package/dist/chunks/{catalog-0v5hqfxj.js → file-mutation-hx63qw1f.js} +43 -43
  165. package/dist/chunks/{catalog-8neh5z3x.js → file-mutation-j67hz4sr.js} +37 -37
  166. package/dist/chunks/{catalog-gm74qtfa.js → file-mutation-j8swj2w1.js} +11 -11
  167. package/dist/chunks/{catalog-ytr8qtwy.js → file-mutation-jc9sh6gt.js} +23 -23
  168. package/dist/chunks/{catalog-cng0mx2j.js → file-mutation-js2ntk6a.js} +13 -13
  169. package/dist/chunks/{catalog-y71avatq.js → file-mutation-jwcy2c2z.js} +4 -4
  170. package/dist/chunks/{catalog-ssjm719e.js → file-mutation-jzvq323k.js} +60 -60
  171. package/dist/chunks/{catalog-bqm545rz.js → file-mutation-k0g96r8n.js} +4 -4
  172. package/dist/chunks/{catalog-y67kr919.js → file-mutation-k0wt6c02.js} +15 -15
  173. package/dist/chunks/{catalog-k4bwy1x5.js → file-mutation-k4bwy1x5.js} +1 -1
  174. package/dist/chunks/{catalog-r30tf761.js → file-mutation-k7g5btme.js} +176 -176
  175. package/dist/chunks/{catalog-w4600456.js → file-mutation-k8feg6vv.js} +4 -4
  176. package/dist/chunks/{catalog-pkm76574.js → file-mutation-k9tare26.js} +26 -26
  177. package/dist/chunks/file-mutation-kahasfee.js +247 -0
  178. package/dist/chunks/{catalog-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
  179. package/dist/chunks/{catalog-m7vbppss.js → file-mutation-kh3skkyd.js} +11 -11
  180. package/dist/chunks/{catalog-gzd7t3bg.js → file-mutation-kkxc5154.js} +4 -4
  181. package/dist/chunks/{catalog-hw4pv20g.js → file-mutation-kvsjn1dr.js} +2 -2
  182. package/dist/chunks/{catalog-7xsww9cr.js → file-mutation-kx181zyf.js} +51 -51
  183. package/dist/chunks/{catalog-mypwhdkk.js → file-mutation-kx4bd44t.js} +6 -6
  184. package/dist/chunks/{catalog-2ady357n.js → file-mutation-kxnt8qcg.js} +5 -5
  185. package/dist/chunks/{catalog-qtsh6e7t.js → file-mutation-m7a9j46m.js} +28 -28
  186. package/dist/chunks/{catalog-qbp14av8.js → file-mutation-m7xx730c.js} +13 -13
  187. package/dist/chunks/{catalog-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{catalog-whm2hqcw.js → file-mutation-mcx7a78c.js} +20 -20
  189. package/dist/chunks/{catalog-xr5vwsd4.js → file-mutation-mfv0zw27.js} +9 -9
  190. package/dist/chunks/{catalog-6y1qr4k5.js → file-mutation-mfzandgw.js} +30 -30
  191. package/dist/chunks/{catalog-3a1nyp1f.js → file-mutation-mpsa3nes.js} +12 -12
  192. package/dist/chunks/{catalog-1z80kc63.js → file-mutation-mtcjf44p.js} +8 -8
  193. package/dist/chunks/{catalog-82dmd7av.js → file-mutation-mv29cp6n.js} +30 -30
  194. package/dist/chunks/{catalog-1bbkgx8g.js → file-mutation-mvfsc1pv.js} +3 -3
  195. package/dist/chunks/{catalog-f6zq2bz6.js → file-mutation-n29tzj9t.js} +23 -23
  196. package/dist/chunks/{catalog-5r4jskqp.js → file-mutation-n79tw2ag.js} +13 -13
  197. package/dist/chunks/{catalog-armqp8n7.js → file-mutation-n9bnhgwz.js} +19 -19
  198. package/dist/chunks/{catalog-vf5pren2.js → file-mutation-ntfpb4pt.js} +11 -11
  199. package/dist/chunks/{catalog-z4actsg0.js → file-mutation-nx7brarr.js} +4 -4
  200. package/dist/chunks/{catalog-g9x6ek7t.js → file-mutation-pcsdq11k.js} +20 -20
  201. package/dist/chunks/{catalog-cba76g8k.js → file-mutation-pd4v9smd.js} +13 -13
  202. package/dist/chunks/{catalog-t5baf3fg.js → file-mutation-pez43mez.js} +9 -9
  203. package/dist/chunks/{catalog-ygnxm451.js → file-mutation-pjvn5h54.js} +14 -14
  204. package/dist/chunks/{catalog-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{catalog-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  206. package/dist/chunks/{catalog-6vvbjket.js → file-mutation-ptrtafvx.js} +11 -11
  207. package/dist/chunks/{catalog-nkw4q2q0.js → file-mutation-pv0a80ht.js} +28 -28
  208. package/dist/chunks/{catalog-zzanyre8.js → file-mutation-pv1dbmgw.js} +11 -11
  209. package/dist/chunks/{catalog-ntq3a6ba.js → file-mutation-q1v8m6jv.js} +11 -11
  210. package/dist/chunks/{catalog-bejqmcpv.js → file-mutation-q732cfnv.js} +17 -17
  211. package/dist/chunks/{catalog-42my878b.js → file-mutation-qbyj8qxd.js} +1 -1
  212. package/dist/chunks/{catalog-xkdhttmx.js → file-mutation-qhmvtman.js} +6 -6
  213. package/dist/chunks/{catalog-kjpg6jc5.js → file-mutation-qrpj1s4j.js} +31 -31
  214. package/dist/chunks/{catalog-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  215. package/dist/chunks/{catalog-qvbcabdc.js → file-mutation-qvbcabdc.js} +2 -2
  216. package/dist/chunks/{catalog-2fjv9ds5.js → file-mutation-qzgw1bvz.js} +27 -27
  217. package/dist/chunks/{catalog-ay57xzra.js → file-mutation-r062cge9.js} +43 -43
  218. package/dist/chunks/{catalog-vcmnf23m.js → file-mutation-r3xt2kax.js} +8 -8
  219. package/dist/chunks/{catalog-r8dhm0tv.js → file-mutation-r8dhm0tv.js} +1 -1
  220. package/dist/chunks/{catalog-ajphwd6y.js → file-mutation-rae26gbb.js} +8 -8
  221. package/dist/chunks/{catalog-gs1rc0s2.js → file-mutation-raxt0ax7.js} +9 -9
  222. package/dist/chunks/{catalog-bare1nk5.js → file-mutation-rx48f0w5.js} +39 -39
  223. package/dist/chunks/{catalog-edj9g7k7.js → file-mutation-s4z7bqeh.js} +66 -66
  224. package/dist/chunks/{catalog-sba4qhjf.js → file-mutation-sba4qhjf.js} +1 -1
  225. package/dist/chunks/{catalog-4f62ejdk.js → file-mutation-sbnvhk9g.js} +20 -20
  226. package/dist/chunks/{catalog-vbz70373.js → file-mutation-shfaz11f.js} +4 -4
  227. package/dist/chunks/{catalog-zsm41nak.js → file-mutation-shp7mea9.js} +10 -10
  228. package/dist/chunks/{catalog-ymsakwg2.js → file-mutation-sjnqgbe6.js} +16 -16
  229. package/dist/chunks/{catalog-p32d7zzt.js → file-mutation-sm2vbrgr.js} +8 -8
  230. package/dist/chunks/{catalog-mj0e1dcv.js → file-mutation-sr4h8txr.js} +4 -4
  231. package/dist/chunks/{catalog-g1e0p8wq.js → file-mutation-sxhwk0c0.js} +4 -4
  232. package/dist/chunks/{catalog-ffhafkr6.js → file-mutation-t0h3w515.js} +9 -9
  233. package/dist/chunks/{catalog-4869mxft.js → file-mutation-t2ddn6kb.js} +32 -32
  234. package/dist/chunks/{catalog-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{catalog-0y5jk35w.js → file-mutation-tbhfrc53.js} +15 -15
  236. package/dist/chunks/{catalog-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{catalog-6xw3seg4.js → file-mutation-tdpndm1c.js} +5 -5
  238. package/dist/chunks/{catalog-tjykrgmx.js → file-mutation-tjykrgmx.js} +1 -1
  239. package/dist/chunks/{catalog-850rx6q7.js → file-mutation-tmd7jntm.js} +42 -42
  240. package/dist/chunks/{catalog-ewh5hnhe.js → file-mutation-tnxkc6a0.js} +24 -24
  241. package/dist/chunks/{catalog-rcy9vm7q.js → file-mutation-ts6w764v.js} +8 -8
  242. package/dist/chunks/{catalog-h21rdv57.js → file-mutation-ttq12bnp.js} +20 -20
  243. package/dist/chunks/{catalog-7hm48gjh.js → file-mutation-txaenkad.js} +24 -24
  244. package/dist/chunks/{catalog-p5snvvas.js → file-mutation-txs58e9j.js} +20 -20
  245. package/dist/chunks/{catalog-sgpkqafy.js → file-mutation-txtxjcd6.js} +18 -18
  246. package/dist/chunks/{catalog-wwk0x6bw.js → file-mutation-v28ws7kz.js} +13 -13
  247. package/dist/chunks/{catalog-b0z70ywn.js → file-mutation-v8gy3pjr.js} +1 -1
  248. package/dist/chunks/{catalog-t06gyjjb.js → file-mutation-vaqgp3x5.js} +13 -13
  249. package/dist/chunks/{catalog-a3x9xvd8.js → file-mutation-vep9yay1.js} +4 -4
  250. package/dist/chunks/{catalog-35fb5ktc.js → file-mutation-vjwmbaty.js} +28 -28
  251. package/dist/chunks/{catalog-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{catalog-ynx753px.js → file-mutation-w9q489q5.js} +25 -25
  253. package/dist/chunks/{catalog-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  254. package/dist/chunks/file-mutation-wsejc6g3.js +22 -0
  255. package/dist/chunks/{catalog-9p8r381m.js → file-mutation-ww2ebcpy.js} +7 -7
  256. package/dist/chunks/{catalog-dykdd0ry.js → file-mutation-wwr3ap19.js} +28 -28
  257. package/dist/chunks/{catalog-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{catalog-hcq427sc.js → file-mutation-xdff1234.js} +59 -59
  259. package/dist/chunks/{catalog-k86r1c7g.js → file-mutation-xkc72jxy.js} +12 -12
  260. package/dist/chunks/{catalog-ckth7tt7.js → file-mutation-xqne8rgr.js} +4 -4
  261. package/dist/chunks/{catalog-577kxxzn.js → file-mutation-xspyb9m3.js} +8 -8
  262. package/dist/chunks/{catalog-wsfy2223.js → file-mutation-xw0r27ex.js} +4 -4
  263. package/dist/chunks/{catalog-00d2pdk5.js → file-mutation-xz6pmd8f.js} +17 -17
  264. package/dist/chunks/{catalog-7y8dc31a.js → file-mutation-y07pc62d.js} +11 -11
  265. package/dist/chunks/{catalog-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{catalog-gxv8g9ts.js → file-mutation-y3f9wfx6.js} +22 -22
  267. package/dist/chunks/{catalog-fhx55t4j.js → file-mutation-y724s5yt.js} +4 -4
  268. package/dist/chunks/{catalog-yfbd16n1.js → file-mutation-yfbd16n1.js} +2 -2
  269. package/dist/chunks/{catalog-yg7sb877.js → file-mutation-yg7sb877.js} +2 -2
  270. package/dist/chunks/{catalog-8gtnf6t2.js → file-mutation-yhtqjkzd.js} +6 -6
  271. package/dist/chunks/{catalog-b1sgfmxa.js → file-mutation-ykv0c0be.js} +24 -24
  272. package/dist/chunks/{catalog-5vnqtrq0.js → file-mutation-yp0nmk3h.js} +15 -15
  273. package/dist/chunks/{catalog-z1k01bn4.js → file-mutation-z1k01bn4.js} +2 -2
  274. package/dist/chunks/{catalog-ta5vccxt.js → file-mutation-z3s9j4q6.js} +12 -12
  275. package/dist/chunks/{catalog-am62x74j.js → file-mutation-z48dvxa8.js} +1 -1
  276. package/dist/chunks/{catalog-h8dgvbzz.js → file-mutation-z7e42eas.js} +23 -23
  277. package/dist/chunks/{catalog-96brsaer.js → file-mutation-z7zpek7w.js} +11 -11
  278. package/dist/chunks/{catalog-z8ra65ms.js → file-mutation-zc50sfb7.js} +13 -13
  279. package/dist/chunks/{catalog-m9nshxaj.js → file-mutation-zez4nnyf.js} +10 -10
  280. package/dist/chunks/{catalog-2av0rbgw.js → file-mutation-zset28aw.js} +89 -89
  281. package/dist/chunks/{catalog-5xbe1cp8.js → file-mutation-zwj404z1.js} +32 -32
  282. package/dist/chunks/{catalog-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  283. package/dist/chunks/{catalog-atnr5rgc.js → file-mutation-zzjwypeh.js} +8 -8
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +2 -2
  287. package/dist/command.js +83 -83
  288. package/dist/config/discovery.js +77 -77
  289. package/dist/config/markdown.js +1 -1
  290. package/dist/config/normalize.js +19 -19
  291. package/dist/config/plugin/agent.js +116 -116
  292. package/dist/config/plugin/command.js +207 -207
  293. package/dist/config/plugin/compaction.js +153 -153
  294. package/dist/config/plugin/entry-observer.js +1 -1
  295. package/dist/config/plugin/formatter.js +116 -116
  296. package/dist/config/plugin/image.js +114 -114
  297. package/dist/config/plugin/instruction.js +85 -85
  298. package/dist/config/plugin/location-watcher.js +114 -114
  299. package/dist/config/plugin/mcp.js +125 -125
  300. package/dist/config/plugin/policy.js +113 -113
  301. package/dist/config/plugin/provider.js +112 -112
  302. package/dist/config/plugin/reference.js +116 -116
  303. package/dist/config/plugin/shell.js +115 -115
  304. package/dist/config/plugin/skill-file.js +96 -96
  305. package/dist/config/plugin/skill.js +134 -134
  306. package/dist/config/plugin/snapshot.js +114 -114
  307. package/dist/config/plugin/source.js +116 -116
  308. package/dist/config/plugin/tool-output.js +116 -116
  309. package/dist/config/plugin/websearch.js +112 -112
  310. package/dist/config/plugin/worktree.js +117 -117
  311. package/dist/config/variable.js +3 -3
  312. package/dist/config/watch.js +1 -1
  313. package/dist/config.js +118 -118
  314. package/dist/credential/sql.js +2 -2
  315. package/dist/credential.js +82 -82
  316. package/dist/database/database.js +68 -68
  317. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  318. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  319. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  320. package/dist/database/drizzle/index.js +15 -15
  321. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  322. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  324. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  325. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  326. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  332. package/dist/database/drizzle.js +16 -16
  333. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  334. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  335. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  336. package/dist/database/migration/20260225215848_workspace.js +1 -1
  337. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  338. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  339. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  340. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  341. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  342. package/dist/database/migration/20260323234822_events.js +1 -1
  343. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  344. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  345. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  346. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  347. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  348. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  349. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  350. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  351. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  352. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  353. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  354. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  355. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  356. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  357. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  358. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  359. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  360. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  361. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  362. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  363. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  364. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  365. package/dist/database/migration/20260611035744_credential.js +1 -1
  366. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  367. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  368. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  369. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  370. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  371. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  372. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  373. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  374. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  375. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  376. package/dist/database/migration/20260812213948_worktree.js +1 -1
  377. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  378. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  379. package/dist/database/migration.gen.js +47 -47
  380. package/dist/database/migration.js +49 -49
  381. package/dist/database/path.js +2 -2
  382. package/dist/database/schema.gen.js +1 -1
  383. package/dist/database/schema.sql.js +1 -1
  384. package/dist/database/sqlite.bun.js +1 -1
  385. package/dist/database/sqlite.js +1 -1
  386. package/dist/database/sqlite.node.js +1 -1
  387. package/dist/database/sqlite.workerd.js +1 -1
  388. package/dist/database/v1-migration.bun.js +77 -77
  389. package/dist/database/v1-migration.js +1 -1
  390. package/dist/effect/app-node-builder.js +358 -358
  391. package/dist/effect/app-node-platform.js +2 -2
  392. package/dist/effect/keyed-mutex.js +3 -3
  393. package/dist/effect/websocket-constructor.js +1 -1
  394. package/dist/environment/driver.js +1 -1
  395. package/dist/environment/environment.js +88 -88
  396. package/dist/environment/exec-defaults.js +2 -2
  397. package/dist/environment/files.js +1 -1
  398. package/dist/environment/index.js +88 -88
  399. package/dist/environment/local.js +2 -2
  400. package/dist/environment/memory.js +2 -2
  401. package/dist/environment/unavailable.js +1 -1
  402. package/dist/event/sql.js +1 -1
  403. package/dist/event-logger.js +72 -72
  404. package/dist/file-mutation.js +89 -89
  405. package/dist/file-retention.js +1 -1
  406. package/dist/file.js +1 -1
  407. package/dist/filesystem/fff.bun.js +2 -2
  408. package/dist/filesystem/fff.js +1 -1
  409. package/dist/filesystem/fff.node.js +2 -2
  410. package/dist/filesystem/fff.workerd.js +2 -2
  411. package/dist/filesystem/ignore.js +1 -1
  412. package/dist/filesystem/location-watcher-policy.js +2 -2
  413. package/dist/filesystem/location-watcher.js +218 -218
  414. package/dist/filesystem/protected.js +1 -1
  415. package/dist/filesystem/search.js +89 -89
  416. package/dist/filesystem/watcher-binding.js +3 -3
  417. package/dist/filesystem/watcher.js +15 -15
  418. package/dist/filesystem.js +90 -90
  419. package/dist/form.js +80 -80
  420. package/dist/formatter/builtins.js +4 -4
  421. package/dist/formatter.js +84 -84
  422. package/dist/generate.js +88 -88
  423. package/dist/git.js +7 -7
  424. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  425. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  426. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  427. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  428. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  429. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  430. package/dist/github-copilot/copilot-provider.js +17 -17
  431. package/dist/github-copilot/models.js +3 -3
  432. package/dist/github-copilot/openai-compatible-error.js +1 -1
  433. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  434. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  435. package/dist/github-copilot/responses/openai-error.js +1 -1
  436. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  437. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  438. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  439. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  440. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  441. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  443. package/dist/id/id.js +1 -1
  444. package/dist/image/photon.js +2 -2
  445. package/dist/image.js +6 -6
  446. package/dist/instance/service.js +5 -5
  447. package/dist/instance.js +349 -349
  448. package/dist/instruction-discovery.js +83 -83
  449. package/dist/instructions/builtins.js +82 -82
  450. package/dist/instructions/index.js +5 -5
  451. package/dist/integration/connection.js +1 -1
  452. package/dist/integration.js +85 -85
  453. package/dist/job.js +77 -77
  454. package/dist/kv/sql.js +2 -2
  455. package/dist/kv.js +71 -71
  456. package/dist/location-activity.js +86 -86
  457. package/dist/location-mutation.js +81 -81
  458. package/dist/location-service-map.js +83 -83
  459. package/dist/location-services.js +346 -346
  460. package/dist/location.js +84 -84
  461. package/dist/mcp/client.js +86 -86
  462. package/dist/mcp/index.js +94 -94
  463. package/dist/mcp/instructions.js +120 -120
  464. package/dist/mcp/oauth.js +2 -2
  465. package/dist/mcp/stdio.js +85 -85
  466. package/dist/mime.js +1 -1
  467. package/dist/modal/models.js +3 -3
  468. package/dist/model-resolver.js +85 -85
  469. package/dist/model.js +10 -10
  470. package/dist/models-dev.js +74 -74
  471. package/dist/oauth/page.js +1 -1
  472. package/dist/permission/saved.js +78 -78
  473. package/dist/permission/sql.js +5 -5
  474. package/dist/permission.js +109 -109
  475. package/dist/persistent-pty/binary.bun.js +1 -1
  476. package/dist/persistent-pty/daemon.js +1 -1
  477. package/dist/persistent-pty/index.js +84 -84
  478. package/dist/persistent-pty/pty-binding.js +1 -1
  479. package/dist/persistent-pty.js +73 -73
  480. package/dist/plugin/agent.js +98 -98
  481. package/dist/plugin/command.js +95 -95
  482. package/dist/plugin/hooks.js +5 -5
  483. package/dist/plugin/host.js +211 -211
  484. package/dist/plugin/instance.js +5 -5
  485. package/dist/plugin/internal.js +320 -320
  486. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  487. package/dist/plugin/models-dev.js +75 -75
  488. package/dist/plugin/module.js +2 -2
  489. package/dist/plugin/plan.js +96 -96
  490. package/dist/plugin/promise.js +1 -1
  491. package/dist/plugin/provider/alibaba.js +2 -2
  492. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  493. package/dist/plugin/provider/anthropic.js +2 -2
  494. package/dist/plugin/provider/azure.js +117 -117
  495. package/dist/plugin/provider/cerebras.js +2 -2
  496. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  497. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  498. package/dist/plugin/provider/cohere.js +2 -2
  499. package/dist/plugin/provider/configured.js +113 -113
  500. package/dist/plugin/provider/dynamic.js +2 -2
  501. package/dist/plugin/provider/factory.js +1 -1
  502. package/dist/plugin/provider/gateway.js +2 -2
  503. package/dist/plugin/provider/github-copilot.js +79 -79
  504. package/dist/plugin/provider/gitlab.js +3 -3
  505. package/dist/plugin/provider/google-vertex.js +2 -2
  506. package/dist/plugin/provider/kilo.js +2 -2
  507. package/dist/plugin/provider/llmgateway.js +75 -75
  508. package/dist/plugin/provider/lmstudio.js +116 -116
  509. package/dist/plugin/provider/mistral.js +2 -2
  510. package/dist/plugin/provider/modal.js +78 -78
  511. package/dist/plugin/provider/nvidia.js +2 -2
  512. package/dist/plugin/provider/ollama.js +116 -116
  513. package/dist/plugin/provider/openai-compatible.js +1 -1
  514. package/dist/plugin/provider/openai.js +77 -77
  515. package/dist/plugin/provider/opencode.js +75 -75
  516. package/dist/plugin/provider/openrouter.js +3 -3
  517. package/dist/plugin/provider/perplexity.js +2 -2
  518. package/dist/plugin/provider/sap-ai-core.js +3 -3
  519. package/dist/plugin/provider/sdk-factory.js +1 -1
  520. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  521. package/dist/plugin/provider/venice.js +2 -2
  522. package/dist/plugin/provider/vercel.js +2 -2
  523. package/dist/plugin/provider/vllm.js +116 -116
  524. package/dist/plugin/provider/xai.js +76 -76
  525. package/dist/plugin/provider/zenmux.js +2 -2
  526. package/dist/plugin/provider.js +154 -154
  527. package/dist/plugin/sdk.js +74 -74
  528. package/dist/plugin/service.js +3 -3
  529. package/dist/plugin/skill.js +131 -131
  530. package/dist/plugin/source-directory.js +1 -1
  531. package/dist/plugin/supervisor.js +335 -335
  532. package/dist/plugin/system-prompt.js +1 -1
  533. package/dist/plugin/update.js +6 -6
  534. package/dist/plugin/variant.js +4 -4
  535. package/dist/plugin/vcs/git.js +82 -82
  536. package/dist/plugin/vcs/hg.js +82 -82
  537. package/dist/plugin/warming.js +111 -111
  538. package/dist/plugin/websearch/exa.js +7 -7
  539. package/dist/plugin/websearch/firecrawl.js +8 -8
  540. package/dist/plugin/websearch/index.js +8 -8
  541. package/dist/plugin/websearch/mcp.js +6 -6
  542. package/dist/plugin/websearch/parallel.js +8 -8
  543. package/dist/plugin/websearch/tavily.js +6 -6
  544. package/dist/plugin.js +214 -214
  545. package/dist/project/schema.js +8 -8
  546. package/dist/project/sql.js +4 -4
  547. package/dist/project.js +85 -85
  548. package/dist/provider.js +5 -5
  549. package/dist/pty/protocol.js +1 -1
  550. package/dist/pty/schema.js +1 -1
  551. package/dist/pty/ticket.js +1 -1
  552. package/dist/pty.js +86 -86
  553. package/dist/reference/instructions.js +84 -84
  554. package/dist/reference.js +86 -86
  555. package/dist/repository-cache.js +76 -76
  556. package/dist/repository.js +3 -3
  557. package/dist/ripgrep/binary.js +2 -2
  558. package/dist/ripgrep.js +87 -87
  559. package/dist/rpc.js +81 -81
  560. package/dist/schema.js +1 -1
  561. package/dist/session/command.js +72 -72
  562. package/dist/session/compaction.js +127 -127
  563. package/dist/session/context.js +145 -145
  564. package/dist/session/environment.js +5 -5
  565. package/dist/session/error.js +7 -7
  566. package/dist/session/event.js +1 -1
  567. package/dist/session/execution/restart.js +217 -217
  568. package/dist/session/execution.js +120 -120
  569. package/dist/session/generate.js +144 -144
  570. package/dist/session/history.js +14 -14
  571. package/dist/session/inbox.js +86 -86
  572. package/dist/session/info.js +3 -3
  573. package/dist/session/instruction-entry.js +77 -77
  574. package/dist/session/instruction-state.js +8 -8
  575. package/dist/session/instructions.js +91 -91
  576. package/dist/session/message-updater.js +2 -2
  577. package/dist/session/message.js +1 -1
  578. package/dist/session/model-request.js +112 -112
  579. package/dist/session/model-transport.js +9 -9
  580. package/dist/session/move.js +124 -124
  581. package/dist/session/projector.js +84 -84
  582. package/dist/session/prompt.js +99 -99
  583. package/dist/session/revert.js +85 -85
  584. package/dist/session/run-coordinator.js +3 -3
  585. package/dist/session/runner/index.js +3 -3
  586. package/dist/session/runner/llm.js +223 -223
  587. package/dist/session/runner/max-steps.js +1 -1
  588. package/dist/session/runner/model.js +85 -85
  589. package/dist/session/runner/publish-llm-event.js +3 -3
  590. package/dist/session/runner/retry.js +4 -4
  591. package/dist/session/runner/step.js +117 -117
  592. package/dist/session/runner/to-llm-message.js +1 -1
  593. package/dist/session/schema.js +5 -5
  594. package/dist/session/session.js +167 -167
  595. package/dist/session/shell.js +130 -130
  596. package/dist/session/skill.js +97 -97
  597. package/dist/session/sql.js +5 -5
  598. package/dist/session/stats.js +73 -73
  599. package/dist/session/store.js +82 -82
  600. package/dist/session/subagent-completion.js +1 -1
  601. package/dist/session/subagent-job.js +203 -203
  602. package/dist/session/system-prompt.js +3 -3
  603. package/dist/session/title.js +147 -147
  604. package/dist/session/to-session-error.js +105 -105
  605. package/dist/session/transfer.js +216 -216
  606. package/dist/session/usage.js +1 -1
  607. package/dist/session.js +209 -209
  608. package/dist/shell/parse.js +6 -6
  609. package/dist/shell/result.js +1 -1
  610. package/dist/shell/scan.js +1 -1
  611. package/dist/shell/select.js +11 -11
  612. package/dist/shell.js +132 -132
  613. package/dist/skill/discovery.js +6 -6
  614. package/dist/skill/instructions.js +101 -101
  615. package/dist/skill.js +106 -106
  616. package/dist/snapshot.js +84 -84
  617. package/dist/state.js +1 -1
  618. package/dist/tool/html-markdown.js +1 -1
  619. package/dist/tool/http-body.js +1 -1
  620. package/dist/tool/mcp.js +115 -115
  621. package/dist/tool/plugin/edit.js +114 -114
  622. package/dist/tool/plugin/file-diff.js +1 -1
  623. package/dist/tool/plugin/glob.js +117 -117
  624. package/dist/tool/plugin/grep.js +111 -111
  625. package/dist/tool/plugin/opencode.js +3 -3
  626. package/dist/tool/plugin/patch.js +108 -108
  627. package/dist/tool/plugin/question.js +95 -95
  628. package/dist/tool/plugin/read.js +118 -118
  629. package/dist/tool/plugin/shell.js +208 -208
  630. package/dist/tool/plugin/skill.js +107 -107
  631. package/dist/tool/plugin/subagent.js +210 -210
  632. package/dist/tool/plugin/webfetch.js +106 -106
  633. package/dist/tool/plugin/websearch.js +106 -106
  634. package/dist/tool/plugin/write.js +112 -112
  635. package/dist/tool/read-filesystem.js +96 -96
  636. package/dist/tool/runtime.js +1 -1
  637. package/dist/tool-output.js +8 -8
  638. package/dist/tool.js +13 -13
  639. package/dist/util/error.js +1 -1
  640. package/dist/util/iife.js +1 -1
  641. package/dist/util/lazy.js +1 -1
  642. package/dist/util/slug.js +1 -1
  643. package/dist/util/token.js +1 -1
  644. package/dist/util/which.js +1 -1
  645. package/dist/util/wildcard.js +1 -1
  646. package/dist/v1/config/agent.js +5 -5
  647. package/dist/v1/config/attachment.js +4 -4
  648. package/dist/v1/config/command.js +5 -5
  649. package/dist/v1/config/config.js +16 -16
  650. package/dist/v1/config/error.js +4 -4
  651. package/dist/v1/config/formatter.js +5 -5
  652. package/dist/v1/config/layout.js +1 -1
  653. package/dist/v1/config/lsp.js +3 -3
  654. package/dist/v1/config/mcp.js +4 -4
  655. package/dist/v1/config/migrate.js +4 -4
  656. package/dist/v1/config/permission.js +7 -7
  657. package/dist/v1/config/plugin.js +3 -3
  658. package/dist/v1/config/provider-options.js +1 -1
  659. package/dist/v1/config/provider.js +4 -4
  660. package/dist/v1/config/server.js +2 -2
  661. package/dist/v1/config/skills.js +3 -3
  662. package/dist/v1/permission.js +1 -1
  663. package/dist/vcs/patch.js +1 -1
  664. package/dist/vcs.js +85 -85
  665. package/dist/websearch.js +80 -80
  666. package/dist/wellknown/plugin.js +74 -74
  667. package/dist/wellknown.js +77 -77
  668. package/dist/workspace/driver.js +7 -7
  669. package/dist/workspace/sql.js +1 -1
  670. package/dist/workspace.js +78 -78
  671. package/dist/worktree/directory.js +4 -4
  672. package/dist/worktree/git.js +7 -7
  673. package/dist/worktree/refresh.js +336 -336
  674. package/dist/worktree/sql.js +5 -5
  675. package/dist/worktree.js +89 -89
  676. package/package.json +7 -7
  677. package/dist/chunks/catalog-ccke0yak.js +0 -460
  678. package/dist/chunks/catalog-fqc8w2xk.js +0 -247
  679. package/dist/chunks/catalog-ht5y0zrb.js +0 -18
  680. package/dist/chunks/catalog-v0x6vz5n.js +0 -22
  681. /package/dist/chunks/{catalog-0fabt78z.js → file-mutation-0fabt78z.js} +0 -0
  682. /package/dist/chunks/{catalog-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  683. /package/dist/chunks/{catalog-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  684. /package/dist/chunks/{catalog-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  685. /package/dist/chunks/{catalog-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  686. /package/dist/chunks/{catalog-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  687. /package/dist/chunks/{catalog-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  688. /package/dist/chunks/{catalog-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  689. /package/dist/chunks/{catalog-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  690. /package/dist/chunks/{catalog-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  691. /package/dist/chunks/{catalog-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  692. /package/dist/chunks/{catalog-3t738kvx.js → file-mutation-3t738kvx.js} +0 -0
  693. /package/dist/chunks/{catalog-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  694. /package/dist/chunks/{catalog-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  695. /package/dist/chunks/{catalog-41nvscxy.js → file-mutation-41nvscxy.js} +0 -0
  696. /package/dist/chunks/{catalog-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  697. /package/dist/chunks/{catalog-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  698. /package/dist/chunks/{catalog-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  699. /package/dist/chunks/{catalog-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  700. /package/dist/chunks/{catalog-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  701. /package/dist/chunks/{catalog-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  702. /package/dist/chunks/{catalog-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  703. /package/dist/chunks/{catalog-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  704. /package/dist/chunks/{catalog-7zk4hah4.js → file-mutation-7zk4hah4.js} +0 -0
  705. /package/dist/chunks/{catalog-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  706. /package/dist/chunks/{catalog-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  707. /package/dist/chunks/{catalog-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  708. /package/dist/chunks/{catalog-982e01ww.js → file-mutation-982e01ww.js} +0 -0
  709. /package/dist/chunks/{catalog-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  710. /package/dist/chunks/{catalog-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  711. /package/dist/chunks/{catalog-a1tpkmh4.js → file-mutation-a1tpkmh4.js} +0 -0
  712. /package/dist/chunks/{catalog-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  713. /package/dist/chunks/{catalog-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  714. /package/dist/chunks/{catalog-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  715. /package/dist/chunks/{catalog-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  716. /package/dist/chunks/{catalog-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  717. /package/dist/chunks/{catalog-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  718. /package/dist/chunks/{catalog-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  719. /package/dist/chunks/{catalog-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  720. /package/dist/chunks/{catalog-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  721. /package/dist/chunks/{catalog-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  722. /package/dist/chunks/{catalog-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  723. /package/dist/chunks/{catalog-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  724. /package/dist/chunks/{catalog-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  725. /package/dist/chunks/{catalog-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  726. /package/dist/chunks/{catalog-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  727. /package/dist/chunks/{catalog-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  728. /package/dist/chunks/{catalog-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  729. /package/dist/chunks/{catalog-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  730. /package/dist/chunks/{catalog-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  731. /package/dist/chunks/{catalog-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  732. /package/dist/chunks/{catalog-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  733. /package/dist/chunks/{catalog-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  734. /package/dist/chunks/{catalog-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  735. /package/dist/chunks/{catalog-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  736. /package/dist/chunks/{catalog-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  737. /package/dist/chunks/{catalog-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  738. /package/dist/chunks/{catalog-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  739. /package/dist/chunks/{catalog-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  740. /package/dist/chunks/{catalog-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  741. /package/dist/chunks/{catalog-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  742. /package/dist/chunks/{catalog-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  743. /package/dist/chunks/{catalog-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  744. /package/dist/chunks/{catalog-mntxs535.js → file-mutation-mntxs535.js} +0 -0
  745. /package/dist/chunks/{catalog-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  746. /package/dist/chunks/{catalog-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  747. /package/dist/chunks/{catalog-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  748. /package/dist/chunks/{catalog-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  749. /package/dist/chunks/{catalog-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  750. /package/dist/chunks/{catalog-p8qxwesx.js → file-mutation-p8qxwesx.js} +0 -0
  751. /package/dist/chunks/{catalog-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  752. /package/dist/chunks/{catalog-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  753. /package/dist/chunks/{catalog-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  754. /package/dist/chunks/{catalog-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  755. /package/dist/chunks/{catalog-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  756. /package/dist/chunks/{catalog-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  757. /package/dist/chunks/{catalog-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  758. /package/dist/chunks/{catalog-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  759. /package/dist/chunks/{catalog-se0s1eqw.js → file-mutation-se0s1eqw.js} +0 -0
  760. /package/dist/chunks/{catalog-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  761. /package/dist/chunks/{catalog-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  762. /package/dist/chunks/{catalog-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
  763. /package/dist/chunks/{catalog-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  764. /package/dist/chunks/{catalog-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  765. /package/dist/chunks/{catalog-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  766. /package/dist/chunks/{catalog-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  767. /package/dist/chunks/{catalog-x1b8g1yb.js → file-mutation-x1b8g1yb.js} +0 -0
  768. /package/dist/chunks/{catalog-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  769. /package/dist/chunks/{catalog-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  770. /package/dist/chunks/{catalog-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  771. /package/dist/chunks/{catalog-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  772. /package/dist/chunks/{catalog-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
  773. /package/dist/chunks/{catalog-zbjnn3ac.js → file-mutation-zbjnn3ac.js} +0 -0
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./catalog-p8qxwesx.js";
3
+ } from "./file-mutation-p8qxwesx.js";
4
4
  import {
5
5
  __export
6
- } from "./catalog-9rqn6x4v.js";
6
+ } from "./file-mutation-9rqn6x4v.js";
7
7
 
8
8
  // src/project/schema.ts
9
9
  var exports_schema = {};
10
10
  __export(exports_schema, {
11
11
  Current: () => Current3,
12
- Event: () => Event20,
13
- ID: () => ID18,
14
- Info: () => Info32,
12
+ Event: () => Event15,
13
+ ID: () => ID12,
14
+ Info: () => Info26,
15
15
  ProjectSchema: () => exports_schema,
16
16
  UpdateInput: () => UpdateInput4,
17
17
  Vcs: () => Vcs3
18
18
  });
19
19
  import { Schema } from "effect";
20
20
  import { Project } from "@opencode-ai/schema/project";
21
- var ID18 = Project.ID;
21
+ var ID12 = Project.ID;
22
22
  var Current3 = Project.Current;
23
- var Info32 = Project.Info;
23
+ var Info26 = Project.Info;
24
24
  var UpdateInput4 = Project.UpdateInput;
25
- var Event20 = Project.Event;
25
+ var Event15 = Project.Event;
26
26
  var Vcs3 = Schema.Struct({
27
27
  type: Project.Vcs,
28
28
  store: AbsolutePath2
29
29
  });
30
30
 
31
- export { ID18, Current3, Info32, UpdateInput4, Event20, Vcs3, exports_schema };
31
+ export { ID12, Current3, Info26, UpdateInput4, Event15, Vcs3, exports_schema };
@@ -1,41 +1,41 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./catalog-y71avatq.js";
3
+ } from "./file-mutation-jwcy2c2z.js";
4
4
  import {
5
- Service79,
6
- node84
7
- } from "./catalog-9dhns7cj.js";
8
- import {
9
- Event17,
10
- Service70,
11
- node75
12
- } from "./catalog-d2wjgy6a.js";
5
+ Service78,
6
+ node83
7
+ } from "./file-mutation-dsstwbg7.js";
13
8
  import {
9
+ Event19,
14
10
  Service76,
15
11
  node81
16
- } from "./catalog-w264x1w0.js";
12
+ } from "./file-mutation-dkyd48ce.js";
13
+ import {
14
+ Service67,
15
+ node72
16
+ } from "./file-mutation-6h02bg3y.js";
17
17
  import {
18
- Service53,
19
- node56
20
- } from "./catalog-4qekkv1x.js";
18
+ Service64,
19
+ node67
20
+ } from "./file-mutation-7bh11fvr.js";
21
21
  import {
22
- ID16,
23
- Service74,
24
- node79
25
- } from "./catalog-624wrrgt.js";
22
+ ID14,
23
+ Service75,
24
+ node80
25
+ } from "./file-mutation-fmf5kng9.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./catalog-kg06axw8.js";
29
+ } from "./file-mutation-kg06axw8.js";
30
30
  import {
31
- ID12,
31
+ ID13,
32
32
  MethodID2,
33
- Service69,
34
- node74
35
- } from "./catalog-vbxn9k95.js";
33
+ Service73,
34
+ node78
35
+ } from "./file-mutation-2c009s0k.js";
36
36
  import {
37
37
  __export
38
- } from "./catalog-9rqn6x4v.js";
38
+ } from "./file-mutation-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
@@ -56,7 +56,7 @@ __export(exports_mcp4, {
56
56
  ServerInfo: () => ServerInfo2,
57
57
  ServerInstructions: () => ServerInstructions2,
58
58
  ServerName: () => ServerName2,
59
- Service: () => Service38,
59
+ Service: () => Service36,
60
60
  Status: () => Status2,
61
61
  Tool: () => Tool3,
62
62
  ToolCallError: () => ToolCallError2,
@@ -64,7 +64,7 @@ __export(exports_mcp4, {
64
64
  ToolResultContent: () => ToolResultContent2,
65
65
  configured: () => configured4,
66
66
  layer: () => layer16,
67
- node: () => node41
67
+ node: () => node39
68
68
  });
69
69
  import { Mcp } from "@opencode-ai/schema/mcp";
70
70
  import { McpEvent } from "@opencode-ai/schema/mcp-event";
@@ -81,7 +81,7 @@ var Status2 = Mcp.Status;
81
81
  class ServerInfo2 extends Schema.Class("MCP.ServerInfo")({
82
82
  name: ServerName2,
83
83
  status: Status2,
84
- integrationID: ID12.pipe(Schema.optional)
84
+ integrationID: ID13.pipe(Schema.optional)
85
85
  }) {
86
86
  }
87
87
 
@@ -165,7 +165,7 @@ var GLOBAL_ELICITATION_SESSION_ID = "global";
165
165
  var URL_ELICITATION_FIELD_KEY = "elicitation";
166
166
  var cloneConfig = (config) => structuredClone(config);
167
167
 
168
- class Service38 extends Context.Service()("@opencode/MCP") {
168
+ class Service36 extends Context.Service()("@opencode/MCP") {
169
169
  }
170
170
  var Options4 = Schema.Struct({
171
171
  clientInfo: Schema.optional(Schema.Struct({
@@ -173,13 +173,13 @@ var Options4 = Schema.Struct({
173
173
  version: Schema.String
174
174
  }))
175
175
  });
176
- var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
177
- const location = yield* Service76;
178
- const environment = yield* Service53;
179
- const bus = yield* Service79;
180
- const forms = yield* Service74;
181
- const integration = yield* Service69;
182
- const credentials = yield* Service70;
176
+ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
177
+ const location = yield* Service67;
178
+ const environment = yield* Service64;
179
+ const bus = yield* Service78;
180
+ const forms = yield* Service75;
181
+ const integration = yield* Service73;
182
+ const credentials = yield* Service76;
183
183
  const root = yield* Effect.scope;
184
184
  const fork = yield* FiberSet.makeRuntime();
185
185
  const entries = new Map;
@@ -191,7 +191,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
191
191
  return;
192
192
  const remote = entry.config;
193
193
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
194
- const integrationID = ID12.make(suffix);
194
+ const integrationID = ID13.make(suffix);
195
195
  entry.integrationID = integrationID;
196
196
  owned.add(integrationID);
197
197
  const methodID = MethodID2.make(suffix);
@@ -285,7 +285,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
285
285
  const elicitation = {
286
286
  create: (input) => Effect.gen(function* () {
287
287
  if (input.params.mode === "url") {
288
- const formID = ID16.create();
288
+ const formID = ID14.create();
289
289
  const key = input.server + "\x00" + input.params.elicitationId;
290
290
  urlElicitations.set(key, formID);
291
291
  return yield* forms.ask({
@@ -403,7 +403,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
403
403
  entry.scope = scope;
404
404
  const authProvider = yield* connectProvider(entry);
405
405
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
406
- const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service53, environment), Scope.provide(scope), Effect.exit);
406
+ const result = yield* McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service64, environment), Scope.provide(scope), Effect.exit);
407
407
  if (Exit.isSuccess(result)) {
408
408
  entry.client = result.value.connection;
409
409
  entry.tools = result.value.tools.map((def) => toTool(name, entry, def));
@@ -527,7 +527,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
527
527
  yield* startServer(name, entry);
528
528
  }).pipe(locks.withLock(name));
529
529
  });
530
- fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
530
+ fork(bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
531
531
  const state = create3({
532
532
  name: "mcp",
533
533
  initial: () => ({
@@ -557,7 +557,7 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
557
557
  concurrency: "unbounded",
558
558
  discard: true
559
559
  }));
560
- return Service38.of({
560
+ return Service36.of({
561
561
  transform: state.transform,
562
562
  reload: state.reload,
563
563
  servers: Effect.fn("MCP.servers")(function* () {
@@ -679,12 +679,12 @@ var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
679
679
  }));
680
680
  function configured4(options) {
681
681
  return makeLocationNode({
682
- service: Service38,
682
+ service: Service36,
683
683
  layer: layer16(options),
684
- deps: [node81, node56, node84, node79, node74, node75]
684
+ deps: [node72, node67, node83, node80, node78, node81]
685
685
  });
686
686
  }
687
- var node41 = configured4();
687
+ var node39 = configured4();
688
688
  function toElicitationField(key, property, required) {
689
689
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
690
690
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -735,4 +735,4 @@ function toElicitationField(key, property, required) {
735
735
  }
736
736
  }
737
737
 
738
- export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service38, Options4, layer16, configured4, node41, exports_mcp4 };
738
+ export { ServerName2, PromptsChanged2, Status2, ServerInfo2, ServerInstructions2, Tool3, ToolResultContent2, ToolResult2, PromptArgument2, Prompt2, PromptMessage2, PromptResult2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError3, ToolCallError2, Service36, Options4, layer16, configured4, node39, exports_mcp4 };
@@ -1,20 +1,20 @@
1
- import {
2
- Service80
3
- } from "./catalog-qfh93msq.js";
4
1
  import {
5
2
  Service79
6
- } from "./catalog-9dhns7cj.js";
3
+ } from "./file-mutation-cdra1vae.js";
7
4
  import {
8
- Service29
9
- } from "./catalog-8gtnf6t2.js";
5
+ Service78
6
+ } from "./file-mutation-dsstwbg7.js";
7
+ import {
8
+ Service33
9
+ } from "./file-mutation-yhtqjkzd.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./catalog-fxbjtjnd.js";
12
+ } from "./file-mutation-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./catalog-982e01ww.js";
15
+ } from "./file-mutation-982e01ww.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError6,
18
18
  MessageNotFoundError2,
19
19
  MessageNotAssistantError2,
20
20
  MessageIncompleteError2,
@@ -24,61 +24,61 @@ import {
24
24
  CompactionConflictError2,
25
25
  BusyError2,
26
26
  InboxConflictError2
27
- } from "./catalog-rq7zmz6j.js";
27
+ } from "./file-mutation-45a3e49b.js";
28
28
  import {
29
29
  SessionEvent2
30
- } from "./catalog-mntxs535.js";
30
+ } from "./file-mutation-mntxs535.js";
31
31
  import {
32
- Service59
33
- } from "./catalog-00d2pdk5.js";
32
+ Service46
33
+ } from "./file-mutation-xz6pmd8f.js";
34
34
  import {
35
35
  Delivery2,
36
36
  SyntheticPayload2,
37
- Service25
38
- } from "./catalog-bgcg3rg0.js";
37
+ Service29
38
+ } from "./file-mutation-9vjz8vaq.js";
39
39
  import {
40
- Service23
41
- } from "./catalog-850rx6q7.js";
40
+ Service27
41
+ } from "./file-mutation-tmd7jntm.js";
42
42
  import {
43
43
  prepare2
44
- } from "./catalog-79t230dn.js";
44
+ } from "./file-mutation-5dh6cndq.js";
45
45
  import {
46
46
  stage2,
47
47
  clear2,
48
48
  commit2
49
- } from "./catalog-ynx753px.js";
49
+ } from "./file-mutation-w9q489q5.js";
50
50
  import {
51
51
  start2
52
- } from "./catalog-t5baf3fg.js";
52
+ } from "./file-mutation-pez43mez.js";
53
53
  import {
54
54
  get4
55
- } from "./catalog-4f7bsbtr.js";
55
+ } from "./file-mutation-73dc4en3.js";
56
56
  import {
57
57
  __export
58
- } from "./catalog-9rqn6x4v.js";
58
+ } from "./file-mutation-9rqn6x4v.js";
59
59
 
60
60
  // src/session/session.ts
61
61
  var exports_session2 = {};
62
62
  __export(exports_session2, {
63
63
  Session: () => exports_session2,
64
- make: () => make11
64
+ make: () => make12
65
65
  });
66
66
  import { DateTime, Effect, Fiber, Schema, Scope } from "effect";
67
67
  import { Event } from "@opencode-ai/schema/event";
68
68
  import { FSUtil } from "@opencode-ai/util/fs-util";
69
- var make11 = Effect.fn("Session.make")(function* () {
70
- const bus = yield* Service79;
71
- const database = yield* Service80;
72
- const store = yield* Service59;
73
- const instances = yield* Service29;
74
- const execution = yield* Service23;
75
- const admission = yield* Service25;
69
+ var make12 = Effect.fn("Session.make")(function* () {
70
+ const bus = yield* Service78;
71
+ const database = yield* Service79;
72
+ const store = yield* Service46;
73
+ const instances = yield* Service33;
74
+ const execution = yield* Service27;
75
+ const admission = yield* Service29;
76
76
  const fs = yield* FSUtil.Service;
77
77
  const scope = yield* Scope.Scope;
78
78
  const get = Effect.fn("Session.get")(function* (sessionID) {
79
79
  const session = yield* store.get(sessionID);
80
80
  if (!session)
81
- return yield* new NotFoundError8({ sessionID });
81
+ return yield* new NotFoundError6({ sessionID });
82
82
  return session;
83
83
  });
84
84
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -154,7 +154,7 @@ var make11 = Effect.fn("Session.make")(function* () {
154
154
  });
155
155
  if (existing)
156
156
  return existing;
157
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service29, instances), Effect.provideService(FSUtil.Service, fs)));
157
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service33, instances), Effect.provideService(FSUtil.Service, fs)));
158
158
  if (session.revert)
159
159
  yield* commit2(bus, session);
160
160
  return yield* admission.admit({
@@ -170,7 +170,7 @@ var make11 = Effect.fn("Session.make")(function* () {
170
170
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
171
171
  const session = yield* get(sessionID);
172
172
  const running = yield* Effect.gen(function* () {
173
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service29, instances), Effect.tapError((error) => synthetic(sessionID, {
173
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service33, instances), Effect.tapError((error) => synthetic(sessionID, {
174
174
  text: `User shell command failed to start:
175
175
  ${input.command}
176
176
 
@@ -199,7 +199,7 @@ ${error.message}`,
199
199
  });
200
200
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
201
201
  const session = yield* get(sessionID);
202
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service29, instances));
202
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service33, instances));
203
203
  yield* bus.publish(SessionEvent2.Skill.Activated, {
204
204
  sessionID,
205
205
  id: skill.id,
@@ -256,13 +256,13 @@ ${error.message}`,
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service29, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
259
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service33, instances), Effect.provideService(Service79, database), Effect.provideService(Service78, bus));
260
260
  });
261
261
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
262
262
  const session = yield* get(sessionID);
263
263
  if (yield* execution.isActive(sessionID))
264
264
  return yield* new BusyError2({ sessionID });
265
- yield* clear2(session).pipe(Effect.provideService(Service29, instances), Effect.provideService(Service79, bus));
265
+ yield* clear2(session).pipe(Effect.provideService(Service33, instances), Effect.provideService(Service78, bus));
266
266
  return yield* execution.wake(sessionID);
267
267
  });
268
268
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -348,4 +348,4 @@ function isUnfinishedTool(content) {
348
348
  return content.type === "tool" && (content.state.status === "streaming" || content.state.status === "running");
349
349
  }
350
350
 
351
- export { make11, exports_session2 };
351
+ export { make12, exports_session2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID15,
2
+ ID17,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./catalog-g19vc6v7.js";
5
+ } from "./file-mutation-64z8z5x5.js";
6
6
  import {
7
- ID14,
7
+ ID16,
8
8
  VariantID2,
9
9
  Family2,
10
- Info27
11
- } from "./catalog-ygnxm451.js";
10
+ Info30
11
+ } from "./file-mutation-pjvn5h54.js";
12
12
  import {
13
13
  __export
14
- } from "./catalog-9rqn6x4v.js";
14
+ } from "./file-mutation-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
87
87
  result.set(id, build(id, current, baseURL, model));
88
88
  }
89
89
  for (const [id, model] of remote) {
90
- const key = ID14.make(id);
90
+ const key = ID16.make(id);
91
91
  if (result.has(key))
92
92
  continue;
93
93
  result.set(key, build(key, model, baseURL));
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
111
111
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
- return Info27.make({
115
- ...Info27.default(ID15.githubCopilot, id),
114
+ return Info30.make({
115
+ ...Info30.default(ID17.githubCopilot, id),
116
116
  id,
117
- modelID: ID14.make(remote.id),
118
- providerID: ID15.githubCopilot,
117
+ modelID: ID16.make(remote.id),
118
+ providerID: ID17.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
121
121
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
@@ -1,32 +1,32 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
4
  empty3,
5
- make20,
5
+ make18,
6
6
  diffByKey2
7
- } from "./catalog-1z80kc63.js";
7
+ } from "./file-mutation-mtcjf44p.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./catalog-hcq427sc.js";
10
+ } from "./file-mutation-xdff1234.js";
11
11
  import {
12
- Service38,
13
- node41
14
- } from "./catalog-0v5hqfxj.js";
12
+ Service36,
13
+ node39
14
+ } from "./file-mutation-hx63qw1f.js";
15
15
  import {
16
16
  namespace2,
17
17
  name14
18
- } from "./catalog-gp6a0wx2.js";
18
+ } from "./file-mutation-d2peqda8.js";
19
19
  import {
20
20
  __export
21
- } from "./catalog-9rqn6x4v.js";
21
+ } from "./file-mutation-9rqn6x4v.js";
22
22
 
23
23
  // src/mcp/instructions.ts
24
- var exports_instructions2 = {};
25
- __export(exports_instructions2, {
26
- McpInstructions: () => exports_instructions2,
27
- Service: () => Service31,
28
- layer: () => layer12,
29
- node: () => node34
24
+ var exports_instructions4 = {};
25
+ __export(exports_instructions4, {
26
+ McpInstructions: () => exports_instructions4,
27
+ Service: () => Service34,
28
+ layer: () => layer14,
29
+ node: () => node37
30
30
  });
31
31
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
32
32
  import { Context, Effect, Layer, Schema } from "effect";
@@ -62,17 +62,17 @@ var update = (previous, current) => {
62
62
  `);
63
63
  };
64
64
 
65
- class Service31 extends Context.Service()("@opencode/McpInstructions") {
65
+ class Service34 extends Context.Service()("@opencode/McpInstructions") {
66
66
  }
67
- var layer12 = Layer.effect(Service31, Effect.gen(function* () {
68
- const mcp = yield* Service38;
69
- return Service31.of({
67
+ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
68
+ const mcp = yield* Service36;
69
+ return Service34.of({
70
70
  load: Effect.fn("McpInstructions.load")(function* (selection) {
71
71
  const agent = selection.info;
72
72
  if (!agent)
73
73
  return empty3;
74
- const source = (value) => make20({
75
- key: Key4.make("core/mcp-guidance"),
74
+ const source = (value) => make18({
75
+ key: Key3.make("core/mcp-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(value),
78
78
  render: {
@@ -100,6 +100,6 @@ var layer12 = Layer.effect(Service31, Effect.gen(function* () {
100
100
  })
101
101
  });
102
102
  }));
103
- var node34 = makeLocationNode({ service: Service31, layer: layer12, deps: [node41] });
103
+ var node37 = makeLocationNode({ service: Service34, layer: layer14, deps: [node39] });
104
104
 
105
- export { Service31, layer12, node34, exports_instructions2 };
105
+ export { Service34, layer14, node37, exports_instructions4 };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./catalog-p8qxwesx.js";
3
+ } from "./file-mutation-p8qxwesx.js";
4
4
  import {
5
- Service76
6
- } from "./catalog-w264x1w0.js";
5
+ Service67
6
+ } from "./file-mutation-6h02bg3y.js";
7
7
  import {
8
- Service43
9
- } from "./catalog-jf9pwdd0.js";
8
+ Service56
9
+ } from "./file-mutation-0vyk9fdn.js";
10
10
  import {
11
11
  LocalSource2,
12
12
  GitSource2
13
- } from "./catalog-kjpg6jc5.js";
13
+ } from "./file-mutation-qrpj1s4j.js";
14
14
  import {
15
15
  observe2
16
- } from "./catalog-qsdy395h.js";
16
+ } from "./file-mutation-qsdy395h.js";
17
17
  import {
18
18
  __export
19
- } from "./catalog-9rqn6x4v.js";
19
+ } from "./file-mutation-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/reference.ts
22
22
  var exports_reference = {};
23
23
  __export(exports_reference, {
24
24
  ConfigReferencePlugin: () => exports_reference,
25
- Plugin: () => Plugin19
25
+ Plugin: () => Plugin6
26
26
  });
27
27
  import { define } from "@opencode-ai/plugin/effect/plugin";
28
28
  import path from "path";
29
29
  import { Effect } from "effect";
30
30
  import { Global } from "@opencode-ai/util/global";
31
- var Plugin19 = define({
31
+ var Plugin6 = define({
32
32
  id: "opencode.config.reference",
33
33
  effect: Effect.fn(function* (ctx) {
34
- const config = yield* Service43;
35
- const location = yield* Service76;
34
+ const config = yield* Service56;
35
+ const location = yield* Service67;
36
36
  const global = yield* Global.Service;
37
37
  const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
38
38
  yield* ctx.reference.transform((editor) => {
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
72
72
  return path.isAbsolute(value) ? value : path.resolve(directory, value);
73
73
  }
74
74
 
75
- export { Plugin19, exports_reference };
75
+ export { Plugin6, exports_reference };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  __export
3
- } from "./catalog-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/effect/keyed-mutex.ts
6
6
  var exports_keyed_mutex = {};
7
7
  __export(exports_keyed_mutex, {
8
8
  KeyedMutex: () => exports_keyed_mutex,
9
- make: () => make22,
9
+ make: () => make21,
10
10
  makeUnsafe: () => makeUnsafe2
11
11
  });
12
12
  import { Effect, Semaphore } from "effect";
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
26
26
  });
27
27
  return { size: Effect.sync(() => locks.size), withLock };
28
28
  };
29
- var make22 = () => Effect.sync(makeUnsafe2);
29
+ var make21 = () => Effect.sync(makeUnsafe2);
30
30
 
31
- export { makeUnsafe2, make22, exports_keyed_mutex };
31
+ export { makeUnsafe2, make21, exports_keyed_mutex };