@opencode/core 0.0.0-dev-20124 → 0.0.0-dev-20126

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 (800) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +77 -77
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +90 -90
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{model-resolver-0kg3x5km.js → file-mutation-08w54g8k.js} +13 -13
  8. package/dist/chunks/{model-resolver-sk2hk6tq.js → file-mutation-0996nyz8.js} +9 -9
  9. package/dist/chunks/{model-resolver-8p1ggxfh.js → file-mutation-0jg22twd.js} +18 -18
  10. package/dist/chunks/{model-resolver-mdggx82f.js → file-mutation-0nd9yvwt.js} +8 -8
  11. package/dist/chunks/{model-resolver-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{model-resolver-2kewd2va.js → file-mutation-0tmgye68.js} +9 -9
  13. package/dist/chunks/{model-resolver-87qhefk3.js → file-mutation-1813d5zh.js} +11 -11
  14. package/dist/chunks/{model-resolver-1acjjqhc.js → file-mutation-1acjjqhc.js} +1 -1
  15. package/dist/chunks/{model-resolver-1dazxqgg.js → file-mutation-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{model-resolver-gw5a5t0z.js → file-mutation-1n1tx8h8.js} +9 -9
  17. package/dist/chunks/{model-resolver-es2axtbg.js → file-mutation-1p2kvy81.js} +6 -6
  18. package/dist/chunks/{model-resolver-pm44etjj.js → file-mutation-1sedp1z2.js} +46 -46
  19. package/dist/chunks/{model-resolver-7c5c7hvy.js → file-mutation-21mj4bn4.js} +13 -13
  20. package/dist/chunks/{model-resolver-21r38tys.js → file-mutation-21r38tys.js} +1 -1
  21. package/dist/chunks/{model-resolver-0jfh7z55.js → file-mutation-22y2m3bg.js} +41 -41
  22. package/dist/chunks/{model-resolver-6h73sxmp.js → file-mutation-2402vzrj.js} +5 -5
  23. package/dist/chunks/{model-resolver-2dznbxmy.js → file-mutation-248sfqkf.js} +12 -12
  24. package/dist/chunks/{model-resolver-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
  25. package/dist/chunks/file-mutation-2ab25d2y.js +26 -0
  26. package/dist/chunks/{model-resolver-sy26cvr2.js → file-mutation-2p8k3371.js} +8 -8
  27. package/dist/chunks/{model-resolver-56gdpj1q.js → file-mutation-33w4ejhs.js} +6 -6
  28. package/dist/chunks/{model-resolver-qq6mbj5a.js → file-mutation-36dfs4g1.js} +43 -43
  29. package/dist/chunks/{model-resolver-0ryd0fps.js → file-mutation-3bc8czyk.js} +5 -5
  30. package/dist/chunks/{model-resolver-6vra413r.js → file-mutation-3c7f6ssd.js} +12 -12
  31. package/dist/chunks/{model-resolver-3fc6dm20.js → file-mutation-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{model-resolver-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{model-resolver-9egj2258.js → file-mutation-3m353frz.js} +6 -6
  34. package/dist/chunks/{model-resolver-3vvy9r1q.js → file-mutation-3pdjw33a.js} +17 -17
  35. package/dist/chunks/{model-resolver-qcmdtp8c.js → file-mutation-3r6ehhfq.js} +11 -11
  36. package/dist/chunks/{model-resolver-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
  37. package/dist/chunks/{model-resolver-qh8wc3pe.js → file-mutation-3t6g7wkp.js} +15 -15
  38. package/dist/chunks/{model-resolver-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
  39. package/dist/chunks/{model-resolver-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{model-resolver-8z00fdkb.js → file-mutation-44h5tttr.js} +4 -4
  41. package/dist/chunks/{model-resolver-vsfsehjp.js → file-mutation-4cdew6sp.js} +16 -16
  42. package/dist/chunks/{model-resolver-4s2padma.js → file-mutation-4fpbqhmf.js} +9 -9
  43. package/dist/chunks/{model-resolver-emgtyv65.js → file-mutation-4hz2mmtn.js} +6 -6
  44. package/dist/chunks/{model-resolver-ft7xjps2.js → file-mutation-4jk0qxj4.js} +8 -8
  45. package/dist/chunks/{model-resolver-26mdse20.js → file-mutation-4n5421a4.js} +18 -18
  46. package/dist/chunks/{model-resolver-9018cb23.js → file-mutation-4tpa30t3.js} +31 -31
  47. package/dist/chunks/{model-resolver-t8916jym.js → file-mutation-4whvt6s6.js} +33 -33
  48. package/dist/chunks/{model-resolver-3pm9m3n0.js → file-mutation-4x86753r.js} +13 -13
  49. package/dist/chunks/{model-resolver-9amkr7ky.js → file-mutation-4zvwzfyb.js} +11 -11
  50. package/dist/chunks/{model-resolver-80rghvf4.js → file-mutation-54xs9e4z.js} +28 -28
  51. package/dist/chunks/file-mutation-54ytyew1.js +507 -0
  52. package/dist/chunks/{model-resolver-d23g84s9.js → file-mutation-55ayhf34.js} +15 -15
  53. package/dist/chunks/{model-resolver-d9s573fh.js → file-mutation-57ez7d0k.js} +2 -2
  54. package/dist/chunks/{model-resolver-1d64zjtd.js → file-mutation-5afv1qet.js} +12 -12
  55. package/dist/chunks/{model-resolver-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
  56. package/dist/chunks/{model-resolver-sxvnd2nr.js → file-mutation-5h1gmvy4.js} +37 -37
  57. package/dist/chunks/{model-resolver-vtjxg7xx.js → file-mutation-5mf3y8mk.js} +22 -22
  58. package/dist/chunks/{model-resolver-72f6taeg.js → file-mutation-5ns2bjf8.js} +32 -32
  59. package/dist/chunks/{model-resolver-kmx0na6r.js → file-mutation-5qwkxp89.js} +4 -4
  60. package/dist/chunks/{model-resolver-5t3nmthw.js → file-mutation-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{model-resolver-669tq793.js → file-mutation-669tq793.js} +1 -1
  62. package/dist/chunks/{model-resolver-yecfnvqz.js → file-mutation-688x7pqg.js} +17 -17
  63. package/dist/chunks/{model-resolver-40a4pq3k.js → file-mutation-68gs9314.js} +3 -3
  64. package/dist/chunks/{model-resolver-x8acjjg9.js → file-mutation-6d2d39e9.js} +28 -28
  65. package/dist/chunks/{model-resolver-s0ga44w9.js → file-mutation-6mfh7f1f.js} +3 -3
  66. package/dist/chunks/{model-resolver-6msgmcgs.js → file-mutation-6msgmcgs.js} +1 -1
  67. package/dist/chunks/{model-resolver-sar4f7bt.js → file-mutation-6r966qhx.js} +20 -20
  68. package/dist/chunks/{model-resolver-9qkca2k4.js → file-mutation-6w51mpm2.js} +28 -28
  69. package/dist/chunks/{model-resolver-8n3bkser.js → file-mutation-6y91m51w.js} +16 -16
  70. package/dist/chunks/{model-resolver-kbq1152n.js → file-mutation-72rb9p64.js} +13 -13
  71. package/dist/chunks/{model-resolver-mvfsc1pv.js → file-mutation-73tb2d7t.js} +3 -3
  72. package/dist/chunks/{model-resolver-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{model-resolver-qgn6gcr1.js → file-mutation-7dqw4kz8.js} +5 -5
  74. package/dist/chunks/{model-resolver-vvb15rdk.js → file-mutation-7gzfq6z6.js} +11 -11
  75. package/dist/chunks/{model-resolver-bdqrk2vk.js → file-mutation-7w3s9kd0.js} +4 -4
  76. package/dist/chunks/{model-resolver-19518qm9.js → file-mutation-7x5j9h8t.js} +11 -11
  77. package/dist/chunks/{model-resolver-4bm5ja14.js → file-mutation-80scg3y3.js} +4 -4
  78. package/dist/chunks/{model-resolver-w0mbtrs6.js → file-mutation-8443f5nj.js} +11 -11
  79. package/dist/chunks/{model-resolver-bsf62bbk.js → file-mutation-8ag1zg7r.js} +13 -13
  80. package/dist/chunks/{model-resolver-8d7r5vzw.js → file-mutation-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{model-resolver-fed82zpn.js → file-mutation-8e2atk35.js} +33 -33
  82. package/dist/chunks/{model-resolver-bkfeammj.js → file-mutation-8gh9a73j.js} +25 -25
  83. package/dist/chunks/{model-resolver-8kqr9rea.js → file-mutation-8jptg25a.js} +4 -4
  84. package/dist/chunks/{model-resolver-6pc27hjz.js → file-mutation-8sze2n9a.js} +2 -2
  85. package/dist/chunks/{model-resolver-4rqrtqc5.js → file-mutation-8trrbr72.js} +8 -8
  86. package/dist/chunks/{model-resolver-gfvb90ym.js → file-mutation-94ek1h2f.js} +2 -2
  87. package/dist/chunks/file-mutation-97gjng12.js +252 -0
  88. package/dist/chunks/{model-resolver-xhg1wmas.js → file-mutation-9ckhw4yx.js} +34 -34
  89. package/dist/chunks/{model-resolver-1g3fhskv.js → file-mutation-9jx8908j.js} +20 -20
  90. package/dist/chunks/{model-resolver-fh6ss5gb.js → file-mutation-9t03g7zr.js} +15 -15
  91. package/dist/chunks/{model-resolver-173t7wcz.js → file-mutation-9w1tyxn7.js} +8 -8
  92. package/dist/chunks/{model-resolver-1k3s6syq.js → file-mutation-a1szppz9.js} +3 -3
  93. package/dist/chunks/{model-resolver-vxhnyb9j.js → file-mutation-a3hc19rv.js} +48 -48
  94. package/dist/chunks/{model-resolver-fzft6rk9.js → file-mutation-a917t0md.js} +31 -31
  95. package/dist/chunks/{model-resolver-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
  96. package/dist/chunks/{model-resolver-ak724xxd.js → file-mutation-ae1rh8jg.js} +30 -30
  97. package/dist/chunks/{model-resolver-dvt6vme3.js → file-mutation-agdwaq9x.js} +21 -21
  98. package/dist/chunks/{model-resolver-swhhnpja.js → file-mutation-b2p42515.js} +5 -5
  99. package/dist/chunks/{model-resolver-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
  100. package/dist/chunks/{model-resolver-33vhehfz.js → file-mutation-b9jeenbt.js} +4 -4
  101. package/dist/chunks/{model-resolver-wfdevf9j.js → file-mutation-bxn4xr1t.js} +11 -11
  102. package/dist/chunks/file-mutation-by5v678g.js +18 -0
  103. package/dist/chunks/{model-resolver-tdghhcp4.js → file-mutation-cd6bm0sq.js} +9 -9
  104. package/dist/chunks/{model-resolver-z3mr859t.js → file-mutation-cjnmt50d.js} +10 -10
  105. package/dist/chunks/{model-resolver-54tcyq79.js → file-mutation-ckecvw8r.js} +2 -2
  106. package/dist/chunks/{model-resolver-bykc32a6.js → file-mutation-ckv2q7n9.js} +5 -5
  107. package/dist/chunks/{model-resolver-agd0d5z2.js → file-mutation-cs08gwkb.js} +29 -29
  108. package/dist/chunks/{model-resolver-qmqgtz8f.js → file-mutation-cwa6csj7.js} +9 -9
  109. package/dist/chunks/{model-resolver-r0pftj6c.js → file-mutation-d0rz62a2.js} +29 -29
  110. package/dist/chunks/{model-resolver-n7a0dxy8.js → file-mutation-dbw36xtc.js} +4 -4
  111. package/dist/chunks/{model-resolver-afcq0tqz.js → file-mutation-dh52qfvh.js} +28 -28
  112. package/dist/chunks/{model-resolver-4m9cw4aw.js → file-mutation-djgt5fnj.js} +11 -11
  113. package/dist/chunks/{model-resolver-cvnss5v6.js → file-mutation-dnzwjmsp.js} +26 -26
  114. package/dist/chunks/{model-resolver-k4nv4f3v.js → file-mutation-dqsr6cvb.js} +1 -1
  115. package/dist/chunks/{model-resolver-7x6bmn48.js → file-mutation-ds82e11p.js} +28 -28
  116. package/dist/chunks/{model-resolver-7efmbnhw.js → file-mutation-dsxey55j.js} +7 -7
  117. package/dist/chunks/{model-resolver-3fp3xcnb.js → file-mutation-e2artx0a.js} +11 -11
  118. package/dist/chunks/{model-resolver-g17wn8cw.js → file-mutation-e37h8kwf.js} +12 -12
  119. package/dist/chunks/{model-resolver-02nrjc1r.js → file-mutation-eaj1djv9.js} +4 -4
  120. package/dist/chunks/{model-resolver-ecfe7b91.js → file-mutation-ecfe7b91.js} +2 -2
  121. package/dist/chunks/{model-resolver-gn2hfjap.js → file-mutation-eeaf82dq.js} +8 -8
  122. package/dist/chunks/{model-resolver-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
  123. package/dist/chunks/{model-resolver-bfd0r08e.js → file-mutation-en7c0xf8.js} +22 -22
  124. package/dist/chunks/{model-resolver-ar21n6zh.js → file-mutation-epa3bmw4.js} +15 -15
  125. package/dist/chunks/{model-resolver-q5v28ps9.js → file-mutation-er7g126a.js} +20 -20
  126. package/dist/chunks/{model-resolver-w8xrrrrv.js → file-mutation-ers6jmne.js} +1 -1
  127. package/dist/chunks/{model-resolver-x520n2qy.js → file-mutation-etcxff87.js} +42 -42
  128. package/dist/chunks/{model-resolver-etq0c3wd.js → file-mutation-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{model-resolver-4xbskmpe.js → file-mutation-evbgk2k8.js} +5 -5
  130. package/dist/chunks/{model-resolver-y3f947ba.js → file-mutation-f0dqn4g8.js} +55 -55
  131. package/dist/chunks/{model-resolver-yb0aafdb.js → file-mutation-f3vt2bxc.js} +41 -41
  132. package/dist/chunks/{model-resolver-mxmchy46.js → file-mutation-f5gy8qwh.js} +8 -8
  133. package/dist/chunks/{model-resolver-p49rk7zg.js → file-mutation-fhtpvx45.js} +6 -6
  134. package/dist/chunks/{model-resolver-7161yw90.js → file-mutation-fj10zqs3.js} +10 -10
  135. package/dist/chunks/{model-resolver-2f9f9n6j.js → file-mutation-fmp81qfg.js} +18 -18
  136. package/dist/chunks/{model-resolver-0v374yjc.js → file-mutation-fntxa7wr.js} +5 -5
  137. package/dist/chunks/{model-resolver-qmb29zc9.js → file-mutation-fxxdr4p9.js} +24 -24
  138. package/dist/chunks/{model-resolver-nrpdyjdp.js → file-mutation-g7n3fm64.js} +25 -25
  139. package/dist/chunks/{model-resolver-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
  140. package/dist/chunks/{model-resolver-7p797550.js → file-mutation-gmjjhz4f.js} +6 -6
  141. package/dist/chunks/{model-resolver-9ssqh1pf.js → file-mutation-gr6t64sj.js} +51 -51
  142. package/dist/chunks/{model-resolver-yyb7tjpc.js → file-mutation-gv6a8nnw.js} +2 -2
  143. package/dist/chunks/{model-resolver-bt1446pf.js → file-mutation-gy8ga202.js} +26 -26
  144. package/dist/chunks/{model-resolver-569et0xs.js → file-mutation-h1yars53.js} +25 -25
  145. package/dist/chunks/{model-resolver-kfvedqw3.js → file-mutation-h2r7bbkd.js} +8 -8
  146. package/dist/chunks/{model-resolver-myb1y6vq.js → file-mutation-h2y3yhav.js} +43 -43
  147. package/dist/chunks/{model-resolver-6dr7817k.js → file-mutation-h32yg4c8.js} +19 -19
  148. package/dist/chunks/{model-resolver-58c90p9y.js → file-mutation-h53p64px.js} +2 -2
  149. package/dist/chunks/{model-resolver-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
  150. package/dist/chunks/{model-resolver-8xxayhk6.js → file-mutation-h9bgfx4d.js} +24 -24
  151. package/dist/chunks/{model-resolver-zj1cah0a.js → file-mutation-hb5spttd.js} +29 -29
  152. package/dist/chunks/{model-resolver-27z1xvbk.js → file-mutation-hdy211xa.js} +18 -18
  153. package/dist/chunks/{model-resolver-yh08wsj3.js → file-mutation-hpx69k21.js} +11 -11
  154. package/dist/chunks/{model-resolver-778t764x.js → file-mutation-hr3q54ky.js} +35 -35
  155. package/dist/chunks/{model-resolver-z1dymymf.js → file-mutation-ht0r88e0.js} +17 -17
  156. package/dist/chunks/{model-resolver-hep603q0.js → file-mutation-hvmbg5dq.js} +9 -9
  157. package/dist/chunks/{model-resolver-04hnx7m6.js → file-mutation-hxg545me.js} +20 -20
  158. package/dist/chunks/{model-resolver-zytbb0rs.js → file-mutation-j4nwb9pe.js} +51 -51
  159. package/dist/chunks/{model-resolver-fhhby8rf.js → file-mutation-j5155tgc.js} +8 -8
  160. package/dist/chunks/{model-resolver-j56e64zr.js → file-mutation-j56e64zr.js} +1 -1
  161. package/dist/chunks/{model-resolver-s8610hey.js → file-mutation-jca4demv.js} +2 -2
  162. package/dist/chunks/{model-resolver-vr7k8aqm.js → file-mutation-jgwpfrf8.js} +35 -35
  163. package/dist/chunks/{model-resolver-7bxnc6x6.js → file-mutation-jp0n41mz.js} +11 -11
  164. package/dist/chunks/{model-resolver-mv035zws.js → file-mutation-jrpt1xcd.js} +29 -29
  165. package/dist/chunks/{model-resolver-e8r9fk8v.js → file-mutation-jtx09q4b.js} +5 -5
  166. package/dist/chunks/{model-resolver-mjymc32g.js → file-mutation-jw80jp6b.js} +4 -4
  167. package/dist/chunks/{model-resolver-k3c624dm.js → file-mutation-k3c624dm.js} +3 -3
  168. package/dist/chunks/{model-resolver-vg07qq75.js → file-mutation-k7k78j8n.js} +6 -6
  169. package/dist/chunks/{model-resolver-csnfj2b0.js → file-mutation-k7v2hf9f.js} +32 -32
  170. package/dist/chunks/{model-resolver-jw8j7y7p.js → file-mutation-k8eg9jwz.js} +8 -8
  171. package/dist/chunks/{model-resolver-k9d40v1y.js → file-mutation-k9d40v1y.js} +1 -1
  172. package/dist/chunks/{model-resolver-y2r7qy0e.js → file-mutation-kbszyzqp.js} +13 -13
  173. package/dist/chunks/{model-resolver-w9m2hjqa.js → file-mutation-kg2qn9rr.js} +25 -25
  174. package/dist/chunks/{model-resolver-0mz149mz.js → file-mutation-khddj82n.js} +19 -19
  175. package/dist/chunks/{model-resolver-pb97dx7z.js → file-mutation-ksxdz0cj.js} +11 -11
  176. package/dist/chunks/{model-resolver-m3fdjcah.js → file-mutation-m3fdjcah.js} +1 -1
  177. package/dist/chunks/{model-resolver-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
  178. package/dist/chunks/{model-resolver-fg4tf8ta.js → file-mutation-mfa1dnmq.js} +13 -13
  179. package/dist/chunks/{model-resolver-j4amppr9.js → file-mutation-mjdddjem.js} +172 -172
  180. package/dist/chunks/{model-resolver-ss6wnmcn.js → file-mutation-mjsk7061.js} +14 -14
  181. package/dist/chunks/{model-resolver-kz7p30d5.js → file-mutation-mzga79vb.js} +9 -9
  182. package/dist/chunks/{model-resolver-156whzkq.js → file-mutation-n2ethy7h.js} +2 -2
  183. package/dist/chunks/{model-resolver-7d0nz2vs.js → file-mutation-nktykkx9.js} +20 -20
  184. package/dist/chunks/{model-resolver-ra46vd3y.js → file-mutation-nn73askr.js} +15 -15
  185. package/dist/chunks/{model-resolver-mvn2r3z4.js → file-mutation-nscznvay.js} +9 -9
  186. package/dist/chunks/{model-resolver-5jbstfnb.js → file-mutation-nz6ejssm.js} +24 -24
  187. package/dist/chunks/{model-resolver-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
  188. package/dist/chunks/{model-resolver-pknna89w.js → file-mutation-pknna89w.js} +1 -1
  189. package/dist/chunks/{model-resolver-hdhk3cs9.js → file-mutation-q0frpy02.js} +4 -4
  190. package/dist/chunks/{model-resolver-2f04pwep.js → file-mutation-q3t37ft6.js} +2 -2
  191. package/dist/chunks/{model-resolver-jb2d0ras.js → file-mutation-qawdn968.js} +26 -26
  192. package/dist/chunks/{model-resolver-s7d3q35h.js → file-mutation-qfbfp1v0.js} +4 -4
  193. package/dist/chunks/{model-resolver-dyhdt8jb.js → file-mutation-qkb8ch3h.js} +4 -4
  194. package/dist/chunks/{model-resolver-emmx8e90.js → file-mutation-qknka9dr.js} +20 -20
  195. package/dist/chunks/{model-resolver-3rf7mzjq.js → file-mutation-qnjd433t.js} +90 -90
  196. package/dist/chunks/{model-resolver-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
  197. package/dist/chunks/{model-resolver-5e19p4dw.js → file-mutation-qte5z7bc.js} +5 -5
  198. package/dist/chunks/{model-resolver-fxnvxn2a.js → file-mutation-qw2jr3s2.js} +15 -15
  199. package/dist/chunks/{model-resolver-2j85j1qq.js → file-mutation-qx0wyz6f.js} +6 -6
  200. package/dist/chunks/{model-resolver-s5vxn3hm.js → file-mutation-r2qgc71p.js} +10 -10
  201. package/dist/chunks/{model-resolver-3y72t5s0.js → file-mutation-r4jpc7y8.js} +21 -21
  202. package/dist/chunks/{model-resolver-d6ggdbw1.js → file-mutation-r7hn1375.js} +14 -14
  203. package/dist/chunks/{model-resolver-b27vhd2z.js → file-mutation-ratrq7cm.js} +4 -4
  204. package/dist/chunks/{model-resolver-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
  205. package/dist/chunks/{model-resolver-7kj39dgh.js → file-mutation-rr3c0cyq.js} +5 -5
  206. package/dist/chunks/{model-resolver-j9fve04j.js → file-mutation-rwd5573c.js} +7 -7
  207. package/dist/chunks/{model-resolver-2n8bv8kh.js → file-mutation-rwx7wstb.js} +3 -3
  208. package/dist/chunks/{model-resolver-63ctpfk7.js → file-mutation-s0hycazx.js} +23 -23
  209. package/dist/chunks/{model-resolver-v4hswpd3.js → file-mutation-s4q9yqp5.js} +74 -74
  210. package/dist/chunks/{model-resolver-jzn2qkj6.js → file-mutation-s7cavm8f.js} +7 -7
  211. package/dist/chunks/{model-resolver-qkdvh7fa.js → file-mutation-sb57s57d.js} +14 -14
  212. package/dist/chunks/{model-resolver-bfgskg5r.js → file-mutation-sd3a96zz.js} +21 -21
  213. package/dist/chunks/{model-resolver-d0k1g5nx.js → file-mutation-sd5f6jdk.js} +6 -6
  214. package/dist/chunks/{model-resolver-rgwzaj5r.js → file-mutation-sh6458vc.js} +30 -30
  215. package/dist/chunks/{model-resolver-sqy4ahhk.js → file-mutation-sqy4ahhk.js} +1 -1
  216. package/dist/chunks/{model-resolver-4xz89tjk.js → file-mutation-sra9araw.js} +5 -5
  217. package/dist/chunks/{model-resolver-cqg8v4c7.js → file-mutation-ss0awb04.js} +6 -6
  218. package/dist/chunks/{model-resolver-xwnzkdf1.js → file-mutation-st1j8ztb.js} +23 -23
  219. package/dist/chunks/{model-resolver-0ng4kf97.js → file-mutation-t1c0b4ed.js} +30 -30
  220. package/dist/chunks/{model-resolver-e8m9yhze.js → file-mutation-t2tp239d.js} +18 -18
  221. package/dist/chunks/{model-resolver-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
  222. package/dist/chunks/{model-resolver-89znhe33.js → file-mutation-tcezcvh9.js} +4 -4
  223. package/dist/chunks/{model-resolver-tdstcens.js → file-mutation-tdstcens.js} +1 -1
  224. package/dist/chunks/{model-resolver-nna5qp8a.js → file-mutation-tfp9qs7d.js} +4 -4
  225. package/dist/chunks/{model-resolver-mztje66g.js → file-mutation-tjja5a9k.js} +26 -26
  226. package/dist/chunks/{model-resolver-cqxgg118.js → file-mutation-tprfwfyz.js} +22 -22
  227. package/dist/chunks/{model-resolver-cmwkp3r5.js → file-mutation-tpw6cwsb.js} +8 -8
  228. package/dist/chunks/{model-resolver-6yqr96vd.js → file-mutation-tq0nabwy.js} +38 -38
  229. package/dist/chunks/{model-resolver-rpg9c19m.js → file-mutation-ttqh24zm.js} +4 -4
  230. package/dist/chunks/{model-resolver-6zpb3hvq.js → file-mutation-tvedvvzn.js} +12 -12
  231. package/dist/chunks/{model-resolver-tvtrv512.js → file-mutation-tvtrv512.js} +1 -1
  232. package/dist/chunks/{model-resolver-fqtvmpfq.js → file-mutation-tx9w5tca.js} +8 -8
  233. package/dist/chunks/{model-resolver-36qt8gf5.js → file-mutation-tzf2xzra.js} +17 -17
  234. package/dist/chunks/{model-resolver-0q26a2b3.js → file-mutation-v0t54ggg.js} +18 -18
  235. package/dist/chunks/{model-resolver-vfm0y0bg.js → file-mutation-v23j6r7v.js} +29 -29
  236. package/dist/chunks/{model-resolver-ptfyc8rg.js → file-mutation-v303bt05.js} +91 -91
  237. package/dist/chunks/{model-resolver-7d2a7xbs.js → file-mutation-v6ghzfeb.js} +5 -5
  238. package/dist/chunks/{model-resolver-p95nf0hr.js → file-mutation-v8fkb6at.js} +11 -11
  239. package/dist/chunks/{model-resolver-9hk60pt8.js → file-mutation-v9zq9qxn.js} +26 -26
  240. package/dist/chunks/{model-resolver-q2b1ymqp.js → file-mutation-ve4pfa0n.js} +4 -4
  241. package/dist/chunks/{model-resolver-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
  242. package/dist/chunks/{model-resolver-qw3sg1b0.js → file-mutation-vkk8vd4a.js} +5 -5
  243. package/dist/chunks/{model-resolver-r94xmz3e.js → file-mutation-vy0eyd8e.js} +6 -6
  244. package/dist/chunks/{model-resolver-n97pwnhd.js → file-mutation-vy4zg7qh.js} +12 -12
  245. package/dist/chunks/{model-resolver-7ygvs13g.js → file-mutation-vz0rnvv0.js} +5 -5
  246. package/dist/chunks/{model-resolver-jygqzb3h.js → file-mutation-vz7d5c1g.js} +8 -8
  247. package/dist/chunks/{model-resolver-vzcthcp8.js → file-mutation-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{model-resolver-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{model-resolver-x0jpbkmn.js → file-mutation-w0wrcbs3.js} +19 -19
  250. package/dist/chunks/{model-resolver-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
  251. package/dist/chunks/{model-resolver-b18rdbr5.js → file-mutation-w8kkwjfy.js} +15 -15
  252. package/dist/chunks/{model-resolver-kmaq4q5p.js → file-mutation-wavqdc1d.js} +28 -28
  253. package/dist/chunks/{model-resolver-psazpmmj.js → file-mutation-wd3x2cqz.js} +2 -2
  254. package/dist/chunks/{model-resolver-wd87259q.js → file-mutation-wd87259q.js} +1 -1
  255. package/dist/chunks/{model-resolver-a48a702n.js → file-mutation-wn4wqpvw.js} +27 -27
  256. package/dist/chunks/{model-resolver-0gbss3fx.js → file-mutation-wngw2qw7.js} +25 -25
  257. package/dist/chunks/{model-resolver-pr8smg67.js → file-mutation-wpg3r5fy.js} +18 -18
  258. package/dist/chunks/{model-resolver-93kvt1p5.js → file-mutation-wq4mmp7m.js} +4 -4
  259. package/dist/chunks/{model-resolver-f3r70g5j.js → file-mutation-wyhm8gxt.js} +5 -5
  260. package/dist/chunks/{model-resolver-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{model-resolver-a3ykbbws.js → file-mutation-x22cg2sb.js} +17 -17
  262. package/dist/chunks/{model-resolver-j1k7yznt.js → file-mutation-x5793zcz.js} +46 -46
  263. package/dist/chunks/{model-resolver-qxjcrr5t.js → file-mutation-x8jha37b.js} +7 -7
  264. package/dist/chunks/{model-resolver-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
  265. package/dist/chunks/{model-resolver-xkntkrq7.js → file-mutation-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{model-resolver-w5efcytb.js → file-mutation-xvjsxppn.js} +13 -13
  267. package/dist/chunks/{model-resolver-b62ps4b3.js → file-mutation-xwnmf787.js} +10 -10
  268. package/dist/chunks/{model-resolver-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{model-resolver-9gdecscc.js → file-mutation-y1y63myq.js} +11 -11
  270. package/dist/chunks/{model-resolver-dpkg50ah.js → file-mutation-y71avatq.js} +4 -4
  271. package/dist/chunks/{model-resolver-4qqzqwb9.js → file-mutation-y8z3vmm6.js} +5 -5
  272. package/dist/chunks/{model-resolver-79skyr14.js → file-mutation-yecq0v11.js} +11 -11
  273. package/dist/chunks/{model-resolver-49fmtcj3.js → file-mutation-yen1bsc2.js} +30 -30
  274. package/dist/chunks/{model-resolver-yrhqyw5v.js → file-mutation-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{model-resolver-yrznvahk.js → file-mutation-yrznvahk.js} +2 -2
  276. package/dist/chunks/{model-resolver-bjtzbw4r.js → file-mutation-z07pqspn.js} +3 -3
  277. package/dist/chunks/{model-resolver-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{model-resolver-9kbkhne8.js → file-mutation-z4vrctzg.js} +21 -21
  279. package/dist/chunks/{model-resolver-z63w68vq.js → file-mutation-z63w68vq.js} +2 -2
  280. package/dist/chunks/{model-resolver-8h519gpd.js → file-mutation-zbvb58e6.js} +8 -8
  281. package/dist/chunks/{model-resolver-0tdm3y21.js → file-mutation-zdngn9xm.js} +10 -10
  282. package/dist/chunks/{model-resolver-rq775frq.js → file-mutation-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{model-resolver-4p21y445.js → file-mutation-zf5bw61z.js} +11 -11
  284. package/dist/chunks/{model-resolver-chh4w0bc.js → file-mutation-zj5k55ky.js} +10 -10
  285. package/dist/chunks/{model-resolver-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{model-resolver-r5b1nhw7.js → file-mutation-zx7xtja6.js} +22 -22
  287. package/dist/chunks/{model-resolver-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{model-resolver-gzq5apsj.js → file-mutation-zy43x3f1.js} +4 -4
  289. package/dist/chunks/{model-resolver-b3825faf.js → file-mutation-zz4yapdm.js} +16 -16
  290. package/dist/chunks/{model-resolver-2gmwjqmv.js → file-mutation-zz9ajb7v.js} +19 -19
  291. package/dist/codemode/catalog.js +1 -1
  292. package/dist/codemode/instructions.js +7 -7
  293. package/dist/codemode/tool.js +3 -3
  294. package/dist/codemode/web.js +1 -1
  295. package/dist/command.js +79 -79
  296. package/dist/config/discovery.js +84 -84
  297. package/dist/config/markdown.js +1 -1
  298. package/dist/config/normalize.js +106 -106
  299. package/dist/config/plugin/agent.js +125 -125
  300. package/dist/config/plugin/command.js +214 -214
  301. package/dist/config/plugin/compaction.js +162 -162
  302. package/dist/config/plugin/compatibility.js +141 -141
  303. package/dist/config/plugin/entry-observer.js +1 -1
  304. package/dist/config/plugin/formatter.js +124 -124
  305. package/dist/config/plugin/image.js +123 -123
  306. package/dist/config/plugin/instruction.js +90 -90
  307. package/dist/config/plugin/location-watcher.js +123 -123
  308. package/dist/config/plugin/mcp.js +132 -132
  309. package/dist/config/plugin/policy.js +124 -124
  310. package/dist/config/plugin/provider.js +123 -123
  311. package/dist/config/plugin/reference.js +125 -125
  312. package/dist/config/plugin/shell.js +123 -123
  313. package/dist/config/plugin/skill-file.js +102 -102
  314. package/dist/config/plugin/skill.js +144 -144
  315. package/dist/config/plugin/snapshot.js +123 -123
  316. package/dist/config/plugin/source.js +126 -126
  317. package/dist/config/plugin/tool-output.js +125 -125
  318. package/dist/config/plugin/websearch.js +122 -122
  319. package/dist/config/plugin/worktree.js +125 -125
  320. package/dist/config/variable.js +3 -3
  321. package/dist/config/watch.js +1 -1
  322. package/dist/config.js +128 -128
  323. package/dist/credential/sql.js +2 -2
  324. package/dist/credential.js +83 -83
  325. package/dist/database/database.js +70 -70
  326. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  328. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  329. package/dist/database/drizzle/index.js +15 -15
  330. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  333. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  335. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  338. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  340. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  341. package/dist/database/drizzle.js +16 -16
  342. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  343. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  344. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  345. package/dist/database/migration/20260225215848_workspace.js +1 -1
  346. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  347. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  348. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  349. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  350. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  351. package/dist/database/migration/20260323234822_events.js +1 -1
  352. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  353. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  354. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  355. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  356. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  357. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  358. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  359. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  360. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  361. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  362. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  363. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  364. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  365. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  366. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  367. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  368. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  369. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  370. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  371. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  372. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  373. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  374. package/dist/database/migration/20260611035744_credential.js +1 -1
  375. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  376. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  377. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  378. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  379. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  380. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  381. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  382. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  383. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  384. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  385. package/dist/database/migration/20260812213948_worktree.js +1 -1
  386. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  387. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  388. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  389. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  390. package/dist/database/migration.gen.js +49 -49
  391. package/dist/database/migration.js +51 -51
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +79 -79
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +371 -371
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +93 -93
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +95 -95
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +74 -74
  415. package/dist/file-access.js +104 -104
  416. package/dist/file-mutation.js +94 -94
  417. package/dist/file-retention.js +1 -1
  418. package/dist/file.js +1 -1
  419. package/dist/filesystem/fff.bun.js +2 -2
  420. package/dist/filesystem/fff.js +1 -1
  421. package/dist/filesystem/fff.node.js +2 -2
  422. package/dist/filesystem/fff.workerd.js +2 -2
  423. package/dist/filesystem/ignore.js +1 -1
  424. package/dist/filesystem/location-watcher-policy.js +6 -6
  425. package/dist/filesystem/location-watcher.js +225 -225
  426. package/dist/filesystem/protected.js +3 -3
  427. package/dist/filesystem/search.js +103 -103
  428. package/dist/filesystem/watcher-binding.js +1 -1
  429. package/dist/filesystem/watcher.js +15 -15
  430. package/dist/filesystem.js +108 -108
  431. package/dist/form.js +84 -84
  432. package/dist/formatter/builtins.js +4 -4
  433. package/dist/formatter.js +87 -87
  434. package/dist/generate.js +105 -105
  435. package/dist/git.js +10 -10
  436. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  437. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  438. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  440. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  442. package/dist/github-copilot/copilot-provider.js +17 -17
  443. package/dist/github-copilot/models.js +91 -91
  444. package/dist/github-copilot/openai-compatible-error.js +1 -1
  445. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  446. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  447. package/dist/github-copilot/responses/openai-error.js +1 -1
  448. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  449. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  450. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  451. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  452. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  453. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  455. package/dist/id/id.js +1 -1
  456. package/dist/image/photon.js +2 -2
  457. package/dist/image.js +6 -6
  458. package/dist/instance/service.js +5 -5
  459. package/dist/instance.js +362 -362
  460. package/dist/instruction-discovery.js +85 -85
  461. package/dist/instructions/builtins.js +87 -87
  462. package/dist/instructions/index.js +3 -3
  463. package/dist/integration/connection.js +3 -3
  464. package/dist/integration.js +86 -86
  465. package/dist/job.js +79 -79
  466. package/dist/kv/sql.js +2 -2
  467. package/dist/kv.js +73 -73
  468. package/dist/location-activity.js +135 -135
  469. package/dist/location-lifecycle.js +107 -107
  470. package/dist/location-mutation.js +104 -104
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +359 -359
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +108 -108
  477. package/dist/mcp/instructions.js +128 -128
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +94 -94
  483. package/dist/model.js +102 -102
  484. package/dist/models-dev.js +95 -95
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +78 -78
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +109 -109
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +88 -88
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +101 -101
  496. package/dist/plugin/compaction.js +133 -133
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +218 -218
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +333 -333
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +122 -122
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +93 -93
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +77 -77
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +92 -92
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +78 -78
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +160 -160
  543. package/dist/plugin/sdk.js +76 -76
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +348 -348
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/warming.js +121 -121
  553. package/dist/plugin/websearch/exa.js +7 -7
  554. package/dist/plugin/websearch/firecrawl.js +6 -6
  555. package/dist/plugin/websearch/index.js +9 -9
  556. package/dist/plugin/websearch/mcp.js +4 -4
  557. package/dist/plugin/websearch/parallel.js +8 -8
  558. package/dist/plugin/websearch/tavily.js +4 -4
  559. package/dist/plugin/websearch/tinyfish.js +8 -8
  560. package/dist/plugin.js +225 -225
  561. package/dist/project/schema.js +2 -2
  562. package/dist/project/sql.js +4 -4
  563. package/dist/project.js +80 -80
  564. package/dist/provider.js +99 -99
  565. package/dist/pty/protocol.js +1 -1
  566. package/dist/pty/schema.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +90 -90
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +89 -89
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +3 -3
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/command.js +74 -74
  578. package/dist/session/compaction.js +132 -132
  579. package/dist/session/context.js +152 -152
  580. package/dist/session/diff.js +88 -88
  581. package/dist/session/environment.js +5 -5
  582. package/dist/session/error.js +5 -5
  583. package/dist/session/event.js +1 -1
  584. package/dist/session/execution/restart.js +224 -224
  585. package/dist/session/execution.js +128 -128
  586. package/dist/session/generate.js +153 -153
  587. package/dist/session/history.js +13 -13
  588. package/dist/session/inbox.js +88 -88
  589. package/dist/session/info.js +3 -3
  590. package/dist/session/instruction-entry.js +79 -79
  591. package/dist/session/instruction-state.js +8 -8
  592. package/dist/session/instructions.js +97 -97
  593. package/dist/session/message-updater.js +2 -2
  594. package/dist/session/message.js +1 -1
  595. package/dist/session/model-request.js +119 -119
  596. package/dist/session/model-transport.js +9 -9
  597. package/dist/session/move.js +130 -130
  598. package/dist/session/projector.js +86 -86
  599. package/dist/session/prompt.js +105 -105
  600. package/dist/session/provider-context.js +1 -1
  601. package/dist/session/revert.js +90 -90
  602. package/dist/session/run-coordinator.js +1 -1
  603. package/dist/session/runner/index.js +3 -3
  604. package/dist/session/runner/llm.js +231 -231
  605. package/dist/session/runner/max-steps.js +1 -1
  606. package/dist/session/runner/model.js +98 -98
  607. package/dist/session/runner/publish-llm-event.js +3 -3
  608. package/dist/session/runner/retry.js +114 -114
  609. package/dist/session/runner/step.js +124 -124
  610. package/dist/session/runner/to-llm-message.js +2 -2
  611. package/dist/session/schema.js +3 -3
  612. package/dist/session/session.js +172 -172
  613. package/dist/session/shell.js +138 -138
  614. package/dist/session/skill.js +103 -103
  615. package/dist/session/sql.js +5 -5
  616. package/dist/session/stats.js +75 -75
  617. package/dist/session/store.js +85 -85
  618. package/dist/session/subagent-completion.js +1 -1
  619. package/dist/session/subagent-job.js +210 -210
  620. package/dist/session/system-prompt.js +3 -3
  621. package/dist/session/title.js +154 -154
  622. package/dist/session/to-session-error.js +111 -111
  623. package/dist/session/transfer.js +220 -220
  624. package/dist/session/usage.js +1 -1
  625. package/dist/session.js +218 -218
  626. package/dist/shell/parse.js +6 -6
  627. package/dist/shell/result.js +1 -1
  628. package/dist/shell/scan.js +1 -1
  629. package/dist/shell/select.js +11 -11
  630. package/dist/shell.js +140 -140
  631. package/dist/skill/discovery.js +6 -6
  632. package/dist/skill/instructions.js +105 -105
  633. package/dist/skill.js +110 -110
  634. package/dist/snapshot.js +93 -93
  635. package/dist/state.js +1 -1
  636. package/dist/tool/html-markdown.js +1 -1
  637. package/dist/tool/http-body.js +1 -1
  638. package/dist/tool/mcp.js +125 -125
  639. package/dist/tool/plugin/edit.js +112 -112
  640. package/dist/tool/plugin/file-diff.js +1 -1
  641. package/dist/tool/plugin/glob.js +122 -122
  642. package/dist/tool/plugin/grep.js +124 -124
  643. package/dist/tool/plugin/mcp-resource.js +116 -116
  644. package/dist/tool/plugin/opencode.js +3 -3
  645. package/dist/tool/plugin/patch.js +122 -122
  646. package/dist/tool/plugin/question.js +101 -101
  647. package/dist/tool/plugin/read.js +125 -125
  648. package/dist/tool/plugin/shell.js +215 -215
  649. package/dist/tool/plugin/skill.js +111 -111
  650. package/dist/tool/plugin/subagent.js +217 -217
  651. package/dist/tool/plugin/webfetch.js +110 -110
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +120 -120
  654. package/dist/tool/read-filesystem.js +100 -100
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +8 -8
  657. package/dist/tool.js +16 -16
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +5 -5
  668. package/dist/v1/config/attachment.js +4 -4
  669. package/dist/v1/config/command.js +3 -3
  670. package/dist/v1/config/config.js +16 -16
  671. package/dist/v1/config/error.js +2 -2
  672. package/dist/v1/config/formatter.js +3 -3
  673. package/dist/v1/config/layout.js +1 -1
  674. package/dist/v1/config/lsp.js +5 -5
  675. package/dist/v1/config/mcp.js +4 -4
  676. package/dist/v1/config/migrate.js +92 -92
  677. package/dist/v1/config/permission.js +3 -3
  678. package/dist/v1/config/plugin.js +3 -3
  679. package/dist/v1/config/provider-options.js +1 -1
  680. package/dist/v1/config/provider.js +4 -4
  681. package/dist/v1/config/server.js +2 -2
  682. package/dist/v1/config/skills.js +3 -3
  683. package/dist/v1/permission.js +1 -1
  684. package/dist/variant.js +93 -93
  685. package/dist/vcs/patch.js +1 -1
  686. package/dist/vcs.js +89 -89
  687. package/dist/websearch.js +82 -82
  688. package/dist/wellknown/plugin.js +76 -76
  689. package/dist/wellknown.js +81 -81
  690. package/dist/workspace/driver.js +7 -7
  691. package/dist/workspace/sql.js +1 -1
  692. package/dist/workspace.js +80 -80
  693. package/dist/worktree/directory.js +2 -2
  694. package/dist/worktree/git.js +10 -10
  695. package/dist/worktree/sql.js +5 -5
  696. package/dist/worktree/strategies.js +89 -89
  697. package/dist/worktree.js +96 -96
  698. package/package.json +8 -8
  699. package/dist/chunks/model-resolver-ht5y0zrb.js +0 -18
  700. package/dist/chunks/model-resolver-sn674wr2.js +0 -26
  701. package/dist/chunks/model-resolver-x8rsv9gq.js +0 -252
  702. package/dist/chunks/model-resolver-zg1ez3dq.js +0 -507
  703. /package/dist/chunks/{model-resolver-0mesazry.js → file-mutation-0mesazry.js} +0 -0
  704. /package/dist/chunks/{model-resolver-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{model-resolver-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{model-resolver-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{model-resolver-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{model-resolver-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{model-resolver-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{model-resolver-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{model-resolver-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{model-resolver-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{model-resolver-34c7v6d4.js → file-mutation-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{model-resolver-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{model-resolver-3asan66x.js → file-mutation-3asan66x.js} +0 -0
  716. /package/dist/chunks/{model-resolver-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{model-resolver-3w5fmr99.js → file-mutation-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{model-resolver-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{model-resolver-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{model-resolver-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{model-resolver-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{model-resolver-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{model-resolver-53557ph1.js → file-mutation-53557ph1.js} +0 -0
  724. /package/dist/chunks/{model-resolver-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{model-resolver-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{model-resolver-6prwharc.js → file-mutation-6prwharc.js} +0 -0
  727. /package/dist/chunks/{model-resolver-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{model-resolver-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{model-resolver-822emrt2.js → file-mutation-822emrt2.js} +0 -0
  730. /package/dist/chunks/{model-resolver-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{model-resolver-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{model-resolver-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{model-resolver-922hggd3.js → file-mutation-922hggd3.js} +0 -0
  734. /package/dist/chunks/{model-resolver-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{model-resolver-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{model-resolver-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{model-resolver-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{model-resolver-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{model-resolver-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{model-resolver-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{model-resolver-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{model-resolver-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{model-resolver-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{model-resolver-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{model-resolver-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{model-resolver-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{model-resolver-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{model-resolver-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{model-resolver-df08tz66.js → file-mutation-df08tz66.js} +0 -0
  750. /package/dist/chunks/{model-resolver-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{model-resolver-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{model-resolver-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{model-resolver-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{model-resolver-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{model-resolver-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{model-resolver-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{model-resolver-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{model-resolver-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{model-resolver-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{model-resolver-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{model-resolver-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{model-resolver-g86h250q.js → file-mutation-g86h250q.js} +0 -0
  763. /package/dist/chunks/{model-resolver-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{model-resolver-gftt206x.js → file-mutation-gftt206x.js} +0 -0
  765. /package/dist/chunks/{model-resolver-hjbc5kem.js → file-mutation-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{model-resolver-hk9envan.js → file-mutation-hk9envan.js} +0 -0
  767. /package/dist/chunks/{model-resolver-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{model-resolver-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{model-resolver-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{model-resolver-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{model-resolver-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{model-resolver-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{model-resolver-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{model-resolver-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{model-resolver-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{model-resolver-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{model-resolver-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{model-resolver-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{model-resolver-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{model-resolver-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{model-resolver-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{model-resolver-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{model-resolver-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{model-resolver-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{model-resolver-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{model-resolver-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{model-resolver-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{model-resolver-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{model-resolver-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{model-resolver-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{model-resolver-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{model-resolver-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{model-resolver-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{model-resolver-x61499pn.js → file-mutation-x61499pn.js} +0 -0
  795. /package/dist/chunks/{model-resolver-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{model-resolver-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{model-resolver-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{model-resolver-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{model-resolver-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{model-resolver-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./model-resolver-dpkg50ah.js";
3
+ } from "./file-mutation-y71avatq.js";
4
4
  import {
5
- Service82,
6
- node86
7
- } from "./model-resolver-vsfsehjp.js";
5
+ Service83,
6
+ node87
7
+ } from "./file-mutation-4cdew6sp.js";
8
8
  import {
9
- Event15,
10
- Service63,
11
- node66
12
- } from "./model-resolver-fed82zpn.js";
9
+ Event17,
10
+ Service70,
11
+ node74
12
+ } from "./file-mutation-8e2atk35.js";
13
13
  import {
14
14
  Service80,
15
15
  node84
16
- } from "./model-resolver-58c90p9y.js";
16
+ } from "./file-mutation-h53p64px.js";
17
17
  import {
18
- Service68,
19
- node71
20
- } from "./model-resolver-bfgskg5r.js";
18
+ Service61,
19
+ node64
20
+ } from "./file-mutation-sd3a96zz.js";
21
21
  import {
22
- ID8,
23
- Service62,
24
- node65
25
- } from "./model-resolver-7x6bmn48.js";
22
+ ID16,
23
+ Service79,
24
+ node83
25
+ } from "./file-mutation-ds82e11p.js";
26
26
  import {
27
27
  reconcile2,
28
28
  create3
29
- } from "./model-resolver-rdw6cm16.js";
29
+ } from "./file-mutation-rdw6cm16.js";
30
30
  import {
31
- ID7,
31
+ ID10,
32
32
  MethodID2,
33
- Service61,
34
- node64
35
- } from "./model-resolver-80rghvf4.js";
33
+ Service69,
34
+ node73
35
+ } from "./file-mutation-54xs9e4z.js";
36
36
  import {
37
37
  __export
38
- } from "./model-resolver-9rqn6x4v.js";
38
+ } from "./file-mutation-9rqn6x4v.js";
39
39
 
40
40
  // src/mcp/index.ts
41
41
  var exports_mcp4 = {};
42
42
  __export(exports_mcp4, {
43
43
  Mcp: () => exports_mcp4,
44
- NotFoundError: () => NotFoundError4,
45
- Options: () => Options4,
44
+ NotFoundError: () => NotFoundError5,
45
+ Options: () => Options5,
46
46
  PromptsChanged: () => PromptsChanged2,
47
47
  Resource: () => Resource2,
48
48
  ResourceCatalog: () => ResourceCatalog2,
@@ -50,12 +50,12 @@ __export(exports_mcp4, {
50
50
  ResourceContentPart: () => ResourceContentPart2,
51
51
  ResourceTemplate: () => ResourceTemplate2,
52
52
  ServerName: () => ServerName2,
53
- Service: () => Service29,
53
+ Service: () => Service37,
54
54
  Status: () => Status2,
55
55
  ToolCallError: () => ToolCallError2,
56
- configured: () => configured4,
57
- layer: () => layer14,
58
- node: () => node32
56
+ configured: () => configured5,
57
+ layer: () => layer16,
58
+ node: () => node40
59
59
  });
60
60
  import { Mcp } from "@opencode/schema/mcp";
61
61
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -74,7 +74,7 @@ var ResourceCatalog2 = Mcp.ResourceCatalog;
74
74
  var ResourceContentPart2 = Mcp.ResourceContentPart;
75
75
  var ResourceContent2 = Mcp.ResourceContent;
76
76
 
77
- class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
77
+ class NotFoundError5 extends Schema.TaggedError()("MCP.NotFoundError", {
78
78
  server: ServerName2
79
79
  }) {
80
80
  get message() {
@@ -93,21 +93,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
93
93
  var endpointLoads = makeUnsafe2();
94
94
  var cloneConfig = (config) => structuredClone(config);
95
95
 
96
- class Service29 extends Context.Service()("@opencode/MCP") {
96
+ class Service37 extends Context.Service()("@opencode/MCP") {
97
97
  }
98
- var Options4 = Schema.Struct({
98
+ var Options5 = Schema.Struct({
99
99
  clientInfo: Schema.optional(Schema.Struct({
100
100
  name: Schema.String,
101
101
  version: Schema.String
102
102
  }))
103
103
  });
104
- var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
104
+ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
105
105
  const location = yield* Service80;
106
- const environment = yield* Service68;
107
- const bus = yield* Service82;
108
- const forms = yield* Service62;
109
- const integration = yield* Service61;
110
- const credentials = yield* Service63;
106
+ const environment = yield* Service61;
107
+ const bus = yield* Service83;
108
+ const forms = yield* Service79;
109
+ const integration = yield* Service69;
110
+ const credentials = yield* Service70;
111
111
  const root = yield* Effect.scope;
112
112
  const fork = yield* FiberSet.makeRuntime();
113
113
  const entries = new Map;
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
119
119
  return;
120
120
  const remote = entry.config;
121
121
  const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
122
- const integrationID = ID7.make(suffix);
122
+ const integrationID = ID10.make(suffix);
123
123
  entry.integrationID = integrationID;
124
124
  owned.add(integrationID);
125
125
  const methodID = MethodID2.make(suffix);
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
135
135
  method: { id: methodID, type: "oauth", label: name },
136
136
  authorize: () => Effect.gen(function* () {
137
137
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
138
- return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service63, credentials));
138
+ return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
139
139
  })
140
140
  });
141
141
  }).pipe(Scope.provide(scope));
@@ -144,19 +144,19 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
144
144
  const name = ServerName2.make(server);
145
145
  const entry = entries.get(name);
146
146
  if (!entry)
147
- return yield* new NotFoundError4({ server: name });
147
+ return yield* new NotFoundError5({ server: name });
148
148
  return { name, entry };
149
149
  });
150
150
  const connectProvider = Effect.fnUntraced(function* (entry) {
151
151
  if (entry.config.type !== "remote" || !entry.integrationID)
152
152
  return;
153
153
  const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
154
- return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service63, credentials));
154
+ return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
155
155
  });
156
156
  const elicitation = {
157
157
  create: (input) => Effect.gen(function* () {
158
158
  if (input.params.mode === "url") {
159
- const formID = ID8.create();
159
+ const formID = ID16.create();
160
160
  const elicitationID = input.params.elicitationId;
161
161
  const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
162
162
  if (key)
@@ -259,7 +259,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
259
259
  entry.scope = scope;
260
260
  const authProvider = yield* connectProvider(entry);
261
261
  const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
262
- const load = 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(Service68, environment), Scope.provide(scope));
262
+ const load = 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(Service61, environment), Scope.provide(scope));
263
263
  const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
264
264
  if (Exit.isSuccess(result)) {
265
265
  entry.client = result.value.connection;
@@ -384,7 +384,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
384
384
  yield* startServer(name, entry);
385
385
  }).pipe(locks.withLock(name));
386
386
  });
387
- fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
387
+ fork(bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
388
388
  const state = create3({
389
389
  name: "mcp",
390
390
  initial: () => ({
@@ -410,7 +410,7 @@ var layer14 = (options) => Layer.effect(Service29, Effect.gen(function* () {
410
410
  }),
411
411
  notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
412
412
  });
413
- return Service29.of({
413
+ return Service37.of({
414
414
  transform: state.transform,
415
415
  reload: state.reload,
416
416
  servers: Effect.fn("MCP.servers")(function* () {
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
516
516
  templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
517
517
  });
518
518
  }
519
- function configured4(options) {
519
+ function configured5(options) {
520
520
  return makeLocationNode({
521
- service: Service29,
522
- layer: layer14(options),
523
- deps: [node84, node71, node86, node65, node64, node66]
521
+ service: Service37,
522
+ layer: layer16(options),
523
+ deps: [node84, node64, node87, node83, node73, node74]
524
524
  });
525
525
  }
526
- var node32 = configured4();
526
+ var node40 = configured5();
527
527
  function toElicitationField(key, property, required) {
528
528
  const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
529
529
  const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
574
574
  }
575
575
  }
576
576
 
577
- export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError4, ToolCallError2, Service29, Options4, layer14, configured4, node32, exports_mcp4 };
577
+ export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service37, Options5, layer16, configured5, node40, exports_mcp4 };
@@ -4,31 +4,31 @@ import {
4
4
  MAX_TOTAL_PATCH_BYTES2,
5
5
  emptyPatch2,
6
6
  chunksByFile2
7
- } from "./model-resolver-tazgh4e4.js";
7
+ } from "./file-mutation-tazgh4e4.js";
8
8
  import {
9
9
  gitExecutable2
10
- } from "./model-resolver-ef5x83kb.js";
10
+ } from "./file-mutation-ef5x83kb.js";
11
11
  import {
12
12
  Service80
13
- } from "./model-resolver-58c90p9y.js";
13
+ } from "./file-mutation-h53p64px.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./model-resolver-q5v28ps9.js";
16
+ } from "./file-mutation-er7g126a.js";
17
17
  import {
18
18
  __export
19
- } from "./model-resolver-9rqn6x4v.js";
19
+ } from "./file-mutation-9rqn6x4v.js";
20
20
 
21
21
  // src/plugin/vcs/git.ts
22
22
  var exports_git = {};
23
23
  __export(exports_git, {
24
- Plugin: () => Plugin34,
24
+ Plugin: () => Plugin16,
25
25
  VcsGitPlugin: () => exports_git
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { Effect } from "effect";
29
29
  import { ChildProcess } from "effect/unstable/process";
30
30
  import { AppProcess } from "@opencode/util/process";
31
- var Plugin34 = define({
31
+ var Plugin16 = define({
32
32
  id: "opencode.vcs.git",
33
33
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
34
34
  const location = yield* Service80;
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
470
470
  return yield* diffAgainstRef(ctx, ref, options);
471
471
  });
472
472
 
473
- export { Plugin34, exports_git };
473
+ export { Plugin16, exports_git };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-resolver-9rqn6x4v.js";
3
+ } from "./file-mutation-9rqn6x4v.js";
4
4
 
5
5
  // src/config/watch.ts
6
6
  var exports_watch = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./model-resolver-922hggd3.js";
4
+ } from "./file-mutation-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./model-resolver-2f04pwep.js";
7
+ } from "./file-mutation-q3t37ft6.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,51 +1,51 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./model-resolver-2a5m3afh.js";
3
+ } from "./file-mutation-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./model-resolver-922hggd3.js";
6
+ } from "./file-mutation-922hggd3.js";
7
7
  import {
8
8
  Service80
9
- } from "./model-resolver-58c90p9y.js";
9
+ } from "./file-mutation-h53p64px.js";
10
10
  import {
11
- Service68
12
- } from "./model-resolver-bfgskg5r.js";
11
+ Service61
12
+ } from "./file-mutation-sd3a96zz.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service49
16
- } from "./model-resolver-pr8smg67.js";
15
+ Service19
16
+ } from "./file-mutation-wpg3r5fy.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
- Entry4,
21
+ Entry2,
22
22
  Match2
23
- } from "./model-resolver-mv035zws.js";
23
+ } from "./file-mutation-jrpt1xcd.js";
24
24
  import {
25
- Service72
26
- } from "./model-resolver-9ssqh1pf.js";
25
+ Service74
26
+ } from "./file-mutation-gr6t64sj.js";
27
27
  import {
28
- Service13
29
- } from "./model-resolver-b18rdbr5.js";
28
+ Service16
29
+ } from "./file-mutation-w8kkwjfy.js";
30
30
  import {
31
31
  __export
32
- } from "./model-resolver-9rqn6x4v.js";
32
+ } from "./file-mutation-9rqn6x4v.js";
33
33
 
34
34
  // src/tool/plugin/grep.ts
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input11,
39
- Output: () => Output7,
40
- Plugin: () => Plugin12,
41
- name: () => name11,
42
- toModelContent: () => toModelContent6
38
+ Input: () => Input2,
39
+ Output: () => Output2,
40
+ Plugin: () => Plugin2,
41
+ name: () => name2,
42
+ toModelContent: () => toModelContent2
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name11 = "grep";
48
- var Input11 = Schema.Struct({
47
+ var name2 = "grep";
48
+ var Input2 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input11 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output7 = Schema.Array(Match2);
69
- var toModelContent6 = (matches, truncated = false) => {
68
+ var Output2 = Schema.Array(Match2);
69
+ var toModelContent2 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin12 = {
86
+ var Plugin2 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service68;
90
- const ripgrep = yield* Service49;
89
+ const environment = yield* Service61;
90
+ const ripgrep = yield* Service19;
91
91
  const location = yield* Service80;
92
- const access = yield* Service13;
93
- const permission = yield* Service72;
92
+ const access = yield* Service16;
93
+ const permission = yield* Service74;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name11,
95
+ name: name2,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input11,
99
- output: Output7,
98
+ input: Input2,
99
+ output: Output2,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name11,
105
+ action: name2,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -136,7 +136,7 @@ var Plugin12 = {
136
136
  }))
137
137
  }), Effect.map((result) => result.map((match) => Match2.make({
138
138
  ...match,
139
- entry: Entry4.make({
139
+ entry: Entry2.make({
140
140
  ...match.entry,
141
141
  path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
142
142
  })
@@ -144,7 +144,7 @@ var Plugin12 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent6(result.matches.map((match) => ({
147
+ content: toModelContent2(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin12 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name11, Input11, Output7, toModelContent6, Plugin12, exports_grep };
157
+ export { name2, Input2, Output2, toModelContent2, Plugin2, exports_grep };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  makeWithDefaults2
3
- } from "./model-resolver-es2axtbg.js";
3
+ } from "./file-mutation-1p2kvy81.js";
4
4
  import {
5
5
  apply3
6
- } from "./model-resolver-s0ga44w9.js";
6
+ } from "./file-mutation-6mfh7f1f.js";
7
7
  import {
8
8
  __export
9
- } from "./model-resolver-9rqn6x4v.js";
9
+ } from "./file-mutation-9rqn6x4v.js";
10
10
 
11
11
  // src/database/database.ts
12
12
  var exports_database = {};
13
13
  __export(exports_database, {
14
14
  Database: () => exports_database,
15
15
  Options: () => Options11,
16
- Service: () => Service83,
16
+ Service: () => Service84,
17
17
  configured: () => configured13,
18
18
  configuredClient: () => configuredClient2,
19
19
  layer: () => layer26,
20
20
  layerFromClient: () => layerFromClient2,
21
- node: () => node87
21
+ node: () => node88
22
22
  });
23
23
  import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
24
24
  import { Context, Effect, Layer, Schema, Semaphore } from "effect";
@@ -30,9 +30,9 @@ var Options11 = Schema.Struct({
30
30
  path: Schema.optional(Schema.String)
31
31
  });
32
32
 
33
- class Service83 extends Context.Service()("@opencode/storage/Database") {
33
+ class Service84 extends Context.Service()("@opencode/storage/Database") {
34
34
  }
35
- var databaseLayer = (lock) => Layer.effect(Service83, Effect.gen(function* () {
35
+ var databaseLayer = (lock) => Layer.effect(Service84, Effect.gen(function* () {
36
36
  const db = yield* makeDatabase;
37
37
  if (supportsTuningPragmas) {
38
38
  yield* db.run("PRAGMA journal_mode = WAL");
@@ -68,15 +68,15 @@ function layer26(options = { path: ":memory:" }) {
68
68
  }
69
69
  var layerFromClient2 = databaseLayer(Semaphore.make(1));
70
70
  function configured13(options) {
71
- return makeGlobalNode({ service: Service83, layer: layer26(options), deps: [Global.node] });
71
+ return makeGlobalNode({ service: Service84, layer: layer26(options), deps: [Global.node] });
72
72
  }
73
73
  function configuredClient2(client) {
74
74
  return makeGlobalNode({
75
- service: Service83,
75
+ service: Service84,
76
76
  layer: layerFromClient2.pipe(Layer.provide(client)),
77
77
  deps: [Global.node]
78
78
  });
79
79
  }
80
- var node87 = configured13({ path: ":memory:" });
80
+ var node88 = configured13({ path: ":memory:" });
81
81
 
82
- export { Options11, Service83, layer26, layerFromClient2, configured13, configuredClient2, node87, exports_database };
82
+ export { Options11, Service84, layer26, layerFromClient2, configured13, configuredClient2, node88, exports_database };
@@ -2,47 +2,47 @@ import {
2
2
  AbsolutePath2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./model-resolver-922hggd3.js";
5
+ } from "./file-mutation-922hggd3.js";
6
6
  import {
7
7
  Service80,
8
8
  node84
9
- } from "./model-resolver-58c90p9y.js";
9
+ } from "./file-mutation-h53p64px.js";
10
10
  import {
11
- Service48,
12
- node52
13
- } from "./model-resolver-a48a702n.js";
11
+ Service18,
12
+ node20
13
+ } from "./file-mutation-wn4wqpvw.js";
14
14
  import {
15
15
  __export
16
- } from "./model-resolver-9rqn6x4v.js";
16
+ } from "./file-mutation-9rqn6x4v.js";
17
17
 
18
18
  // src/filesystem.ts
19
19
  var exports_filesystem = {};
20
20
  __export(exports_filesystem, {
21
- Content: () => Content3,
21
+ Content: () => Content2,
22
22
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
23
23
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
24
- Entry: () => Entry4,
25
- Event: () => Event9,
24
+ Entry: () => Entry2,
25
+ Event: () => Event4,
26
26
  FileSystem: () => exports_filesystem,
27
27
  FindInput: () => FindInput2,
28
28
  GlobInput: () => GlobInput2,
29
29
  GrepInput: () => GrepInput2,
30
- ListInput: () => ListInput3,
30
+ ListInput: () => ListInput2,
31
31
  Match: () => Match2,
32
- NotFoundError: () => NotFoundError7,
32
+ NotFoundError: () => NotFoundError3,
33
33
  ReadInput: () => ReadInput2,
34
- Service: () => Service47,
34
+ Service: () => Service17,
35
35
  Submatch: () => Submatch2,
36
36
  Write: () => Write2,
37
37
  WriteInput: () => WriteInput2,
38
- node: () => node51
38
+ node: () => node19
39
39
  });
40
40
  import { makeLocationNode } from "@opencode/util/effect/app-node";
41
41
  import path from "path";
42
42
  import { Context, Effect, Layer, Schema } from "effect";
43
43
  import { FSUtil } from "@opencode/util/fs-util";
44
44
  import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
45
- import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
45
+ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
46
46
  var ReadInput2 = Schema.Struct({
47
47
  path: RelativePath2
48
48
  });
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
51
51
  data: Schema.Uint8Array
52
52
  });
53
53
 
54
- class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
54
+ class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
55
55
  path: RelativePath2
56
56
  }) {
57
57
  }
58
- var Content3 = Schema.Struct({
58
+ var Content2 = Schema.Struct({
59
59
  uri: Schema.String,
60
60
  name: Schema.String.pipe(Schema.optional),
61
61
  content: Schema.String,
62
62
  encoding: Schema.Literals(["utf8", "base64"]),
63
63
  mime: Schema.String
64
64
  }).annotate({ identifier: "FileSystem.Content" });
65
- var ListInput3 = Schema.Struct({
65
+ var ListInput2 = Schema.Struct({
66
66
  path: Schema.String.pipe(Schema.optional)
67
67
  });
68
68
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
85
85
  limit: Schema.optionalKey(PositiveInt2)
86
86
  }) {
87
87
  }
88
- var Event9 = FileSystem.Event;
88
+ var Event4 = FileSystem.Event;
89
89
 
90
- class Service47 extends Context.Service()("@opencode/FileSystem") {
90
+ class Service17 extends Context.Service()("@opencode/FileSystem") {
91
91
  }
92
- var baseLayer = Layer.effect(Service47, Effect.gen(function* () {
92
+ var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
93
93
  const fs = yield* FSUtil.Service;
94
94
  const location = yield* Service80;
95
- const search = yield* Service48;
95
+ const search = yield* Service18;
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(Service47, 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 Service47.of({
106
+ return Service17.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 NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
110
- const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
109
+ const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
110
+ const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ 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 NotFoundError7({ path: input.path })), (_, error) => Effect.die(error))),
114
+ content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ 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(Service47, Effect.gen(function* () {
140
140
  })
141
141
  });
142
142
  }));
143
- var node51 = makeLocationNode({
144
- service: Service47,
143
+ var node19 = makeLocationNode({
144
+ service: Service17,
145
145
  layer: baseLayer,
146
- deps: [FSUtil.node, node84, node52]
146
+ deps: [FSUtil.node, node84, node20]
147
147
  });
148
148
 
149
- export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError7, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service47, node51, exports_filesystem, Entry4, Match2, Submatch2 };
149
+ export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service17, node19, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID6
3
- } from "./model-resolver-rgwzaj5r.js";
2
+ ID9
3
+ } from "./file-mutation-sh6458vc.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./model-resolver-hjbc5kem.js";
6
+ } from "./file-mutation-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID6.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID9.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID6.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID9.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));