@opencode/core 0.0.0-dev-19617 → 0.0.0-dev-19618

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 (787) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{file-retention-s8d7rejh.js → filesystem-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{file-retention-qg9t7k56.js → filesystem-07yk87ch.js} +4 -4
  9. package/dist/chunks/{file-retention-pecb0brz.js → filesystem-0f9afca0.js} +5 -5
  10. package/dist/chunks/{file-retention-8vx9rmwz.js → filesystem-0j4pm1hq.js} +11 -11
  11. package/dist/chunks/{file-retention-qgn6gcr1.js → filesystem-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{file-retention-w6k2nhch.js → filesystem-0m11qpm4.js} +23 -23
  13. package/dist/chunks/filesystem-0mesazry.js +4 -0
  14. package/dist/chunks/{file-retention-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{file-retention-0q0f95c6.js → filesystem-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{file-retention-gjzff5er.js → filesystem-0rshgchp.js} +10 -10
  17. package/dist/chunks/{file-retention-8e1b1gzh.js → filesystem-1ak9gecn.js} +6 -6
  18. package/dist/chunks/{file-retention-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{file-retention-fqb2p7cx.js → filesystem-1g7epwpd.js} +7 -7
  20. package/dist/chunks/{file-retention-h1afk52f.js → filesystem-1k8tpdq4.js} +6 -6
  21. package/dist/chunks/{file-retention-wknvw5dv.js → filesystem-1mqcdkn4.js} +13 -13
  22. package/dist/chunks/{file-retention-mfqp6xfm.js → filesystem-1ygqh575.js} +6 -6
  23. package/dist/chunks/{file-retention-21r38tys.js → filesystem-21r38tys.js} +1 -1
  24. package/dist/chunks/{file-retention-e6hd9jay.js → filesystem-23pqda6t.js} +4 -4
  25. package/dist/chunks/{file-retention-2402vzrj.js → filesystem-2402vzrj.js} +1 -1
  26. package/dist/chunks/{file-retention-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{file-retention-xxynqx5z.js → filesystem-2f04pwep.js} +3 -3
  28. package/dist/chunks/{file-retention-jx8kcw9w.js → filesystem-2h5jvt6q.js} +38 -38
  29. package/dist/chunks/{file-retention-8310x4c5.js → filesystem-2vep0yyn.js} +15 -15
  30. package/dist/chunks/{file-retention-18swyw0t.js → filesystem-2w7hg4c7.js} +45 -45
  31. package/dist/chunks/{file-retention-1gw4hrxs.js → filesystem-33js1h5h.js} +18 -18
  32. package/dist/chunks/{file-retention-2pam5ezh.js → filesystem-33ka9sw2.js} +20 -20
  33. package/dist/chunks/{file-retention-07wrr0rm.js → filesystem-364eg4va.js} +24 -24
  34. package/dist/chunks/{file-retention-924ykxna.js → filesystem-37k0eqq3.js} +3 -3
  35. package/dist/chunks/{file-retention-evbgk2k8.js → filesystem-37s12vcn.js} +5 -5
  36. package/dist/chunks/{file-retention-f2h0ge9w.js → filesystem-38hz51bw.js} +18 -18
  37. package/dist/chunks/{file-retention-9s7s2hrz.js → filesystem-39btv581.js} +1 -1
  38. package/dist/chunks/{file-retention-wvapbnfc.js → filesystem-3a5s2rra.js} +7 -7
  39. package/dist/chunks/{file-retention-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{file-retention-s5rh44ar.js → filesystem-3fr2v5qz.js} +4 -4
  41. package/dist/chunks/{file-retention-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{file-retention-gxdqkm0c.js → filesystem-3j24hfx9.js} +9 -9
  43. package/dist/chunks/{file-retention-3w1d8477.js → filesystem-3n48t328.js} +11 -11
  44. package/dist/chunks/{file-retention-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{file-retention-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{file-retention-xwgqmv93.js → filesystem-3w85bfh1.js} +23 -23
  47. package/dist/chunks/{file-retention-ej3vp9cf.js → filesystem-3wj4dvam.js} +9 -9
  48. package/dist/chunks/{file-retention-gs3psw06.js → filesystem-406qt69j.js} +5 -5
  49. package/dist/chunks/{file-retention-qbvd2c79.js → filesystem-40xvhc0y.js} +16 -16
  50. package/dist/chunks/{file-retention-qefhz522.js → filesystem-41f61ev5.js} +11 -11
  51. package/dist/chunks/{file-retention-cqxef839.js → filesystem-4890h4h8.js} +28 -28
  52. package/dist/chunks/{file-retention-mab4qcb1.js → filesystem-4f699rp4.js} +10 -10
  53. package/dist/chunks/{file-retention-bz85s9hh.js → filesystem-4jc5c4h4.js} +1 -1
  54. package/dist/chunks/{file-retention-4y1pzw9c.js → filesystem-4jf7s0ck.js} +4 -4
  55. package/dist/chunks/{file-retention-qv9y4v6r.js → filesystem-4n11223c.js} +33 -33
  56. package/dist/chunks/{file-retention-9kts0vsr.js → filesystem-4sazzpff.js} +28 -28
  57. package/dist/chunks/{file-retention-hpc1ag31.js → filesystem-56n3j9hn.js} +52 -52
  58. package/dist/chunks/{file-retention-57ez7d0k.js → filesystem-57ez7d0k.js} +2 -2
  59. package/dist/chunks/{file-retention-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
  60. package/dist/chunks/{file-retention-wmzw9v22.js → filesystem-5df2rnfx.js} +13 -13
  61. package/dist/chunks/{file-retention-aqeqq1tf.js → filesystem-5pkq4p4h.js} +40 -40
  62. package/dist/chunks/{file-retention-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
  63. package/dist/chunks/{file-retention-b4m0jvqm.js → filesystem-5w764t2b.js} +20 -20
  64. package/dist/chunks/{file-retention-pmc74pb4.js → filesystem-5xy61mm9.js} +4 -4
  65. package/dist/chunks/{file-retention-d72qkhwk.js → filesystem-5y69nyve.js} +11 -11
  66. package/dist/chunks/{file-retention-669tq793.js → filesystem-669tq793.js} +1 -1
  67. package/dist/chunks/{file-retention-fdttfrh6.js → filesystem-698rmahv.js} +10 -10
  68. package/dist/chunks/{file-retention-7d01vtdt.js → filesystem-6dt5d3yy.js} +9 -9
  69. package/dist/chunks/{file-retention-8rr5w2ew.js → filesystem-6ev5h72j.js} +86 -86
  70. package/dist/chunks/{file-retention-bhb5n9xr.js → filesystem-6f0xwptt.js} +18 -18
  71. package/dist/chunks/{file-retention-zkqsy98m.js → filesystem-6j62sct7.js} +11 -11
  72. package/dist/chunks/{file-retention-pvp0fmcy.js → filesystem-6kt92yqk.js} +13 -13
  73. package/dist/chunks/{file-retention-6msgmcgs.js → filesystem-6msgmcgs.js} +1 -1
  74. package/dist/chunks/{file-retention-rg3v5vpq.js → filesystem-6n2tb6ee.js} +17 -17
  75. package/dist/chunks/{file-retention-j6dc1d3z.js → filesystem-6nrgx7s9.js} +17 -17
  76. package/dist/chunks/{file-retention-508cf8kg.js → filesystem-6ynxx3sz.js} +10 -10
  77. package/dist/chunks/{file-retention-wbhjeqa0.js → filesystem-6z8y8spb.js} +24 -24
  78. package/dist/chunks/{file-retention-1zprvct9.js → filesystem-70qmacgz.js} +6 -6
  79. package/dist/chunks/{file-retention-71q4at8m.js → filesystem-71q4at8m.js} +1 -1
  80. package/dist/chunks/{file-retention-mhkvc446.js → filesystem-73tb2d7t.js} +3 -3
  81. package/dist/chunks/{file-retention-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
  82. package/dist/chunks/{file-retention-vzbef369.js → filesystem-7gzpfzkj.js} +24 -24
  83. package/dist/chunks/{file-retention-ak8w4t1r.js → filesystem-7qne9t03.js} +26 -26
  84. package/dist/chunks/{file-retention-t3q0zrtj.js → filesystem-7rmm56r3.js} +5 -5
  85. package/dist/chunks/{file-retention-ewd1ksqg.js → filesystem-7xbgkkry.js} +20 -20
  86. package/dist/chunks/{file-retention-j6h70cxt.js → filesystem-813ty9ck.js} +22 -22
  87. package/dist/chunks/{file-retention-rb9d13h1.js → filesystem-827vnqcm.js} +41 -41
  88. package/dist/chunks/{file-retention-844ef7ks.js → filesystem-844ef7ks.js} +1 -1
  89. package/dist/chunks/{file-retention-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
  90. package/dist/chunks/{file-retention-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
  91. package/dist/chunks/{file-retention-3zykk5as.js → filesystem-8de9g2wa.js} +8 -8
  92. package/dist/chunks/{file-retention-nbx459v7.js → filesystem-8hm8e1by.js} +20 -20
  93. package/dist/chunks/{file-retention-kemm8n5q.js → filesystem-8m0x795s.js} +32 -32
  94. package/dist/chunks/{file-retention-v6wrn1g2.js → filesystem-8nwmmt46.js} +32 -32
  95. package/dist/chunks/{file-retention-8p4f9s12.js → filesystem-8p4f9s12.js} +2 -2
  96. package/dist/chunks/{file-retention-4dgbcxzg.js → filesystem-8z00fdkb.js} +4 -4
  97. package/dist/chunks/{file-retention-7581kcks.js → filesystem-903hvwdd.js} +32 -32
  98. package/dist/chunks/{file-retention-mypwhdkk.js → filesystem-92k45pvj.js} +6 -6
  99. package/dist/chunks/{file-retention-dd4k3tty.js → filesystem-92s2v7tn.js} +47 -47
  100. package/dist/chunks/{file-retention-f5wvj1yw.js → filesystem-9389c3ww.js} +11 -11
  101. package/dist/chunks/{file-retention-tf7cta9d.js → filesystem-9c8qb4fx.js} +15 -15
  102. package/dist/chunks/{file-retention-5r3jnckw.js → filesystem-9tmk4wfj.js} +5 -5
  103. package/dist/chunks/{file-retention-m2bm8kgx.js → filesystem-9v67fpxy.js} +17 -17
  104. package/dist/chunks/{file-retention-rsyxjf6n.js → filesystem-9wgyq2tt.js} +11 -11
  105. package/dist/chunks/{file-retention-4m2pmvxz.js → filesystem-9yr2yfq4.js} +6 -6
  106. package/dist/chunks/{file-retention-d09006c3.js → filesystem-9zswys26.js} +9 -9
  107. package/dist/chunks/{file-retention-a1bz86dw.js → filesystem-a1bz86dw.js} +3 -3
  108. package/dist/chunks/{file-retention-nnmab3m5.js → filesystem-a38p36g0.js} +14 -14
  109. package/dist/chunks/filesystem-a5kagja2.js +26 -0
  110. package/dist/chunks/{file-retention-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
  111. package/dist/chunks/{file-retention-b1v7x4f0.js → filesystem-apwwcccb.js} +12 -12
  112. package/dist/chunks/{file-retention-av8es0ey.js → filesystem-asysv629.js} +11 -11
  113. package/dist/chunks/{file-retention-dmxvr22s.js → filesystem-axq00zzf.js} +16 -16
  114. package/dist/chunks/{file-retention-wyj0k83d.js → filesystem-b339w5wj.js} +38 -38
  115. package/dist/chunks/{file-retention-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
  116. package/dist/chunks/{file-retention-30ffk5w0.js → filesystem-b6nkjk1t.js} +27 -27
  117. package/dist/chunks/{file-retention-0r2k9kj6.js → filesystem-bcfqw6ff.js} +15 -15
  118. package/dist/chunks/{file-retention-y50sdzkw.js → filesystem-bh5mjw3r.js} +42 -42
  119. package/dist/chunks/{file-retention-e5nv3ght.js → filesystem-bndc73cn.js} +5 -5
  120. package/dist/chunks/{file-retention-hk9ksenn.js → filesystem-brhvyepg.js} +10 -10
  121. package/dist/chunks/{file-retention-70y17xeh.js → filesystem-btec747f.js} +5 -5
  122. package/dist/chunks/{file-retention-a9tcrq61.js → filesystem-byacmj7b.js} +12 -12
  123. package/dist/chunks/{file-retention-cfpkc3c9.js → filesystem-cfpkc3c9.js} +2 -2
  124. package/dist/chunks/{file-retention-na6jv411.js → filesystem-chf0k88c.js} +2 -2
  125. package/dist/chunks/{file-retention-h4qgb8xj.js → filesystem-cjjf7ytg.js} +23 -23
  126. package/dist/chunks/{file-retention-kg5r7emp.js → filesystem-ck5yfnd1.js} +26 -26
  127. package/dist/chunks/{file-retention-hkmh7tch.js → filesystem-cqhybqg6.js} +26 -26
  128. package/dist/chunks/{file-retention-e8340df8.js → filesystem-ctn2km86.js} +6 -6
  129. package/dist/chunks/{file-retention-ax9ctke6.js → filesystem-d2k0bxc6.js} +11 -11
  130. package/dist/chunks/{file-retention-y9eqwahs.js → filesystem-d3rs6qmg.js} +9 -9
  131. package/dist/chunks/{file-retention-bsda9gvx.js → filesystem-dm18e6rv.js} +21 -21
  132. package/dist/chunks/{file-retention-dyr0fjz1.js → filesystem-dnxjdd8e.js} +11 -11
  133. package/dist/chunks/{file-retention-7fyak8f4.js → filesystem-dq0sj55k.js} +8 -8
  134. package/dist/chunks/{file-retention-ccxmgenq.js → filesystem-dvj7hexm.js} +1 -1
  135. package/dist/chunks/{file-retention-29cs1g18.js → filesystem-dyzsby59.js} +11 -11
  136. package/dist/chunks/{file-retention-xj7wbnn3.js → filesystem-dzjvqage.js} +4 -4
  137. package/dist/chunks/{file-retention-5t9ap4g5.js → filesystem-e0mmdbx3.js} +10 -10
  138. package/dist/chunks/{file-retention-esj6mydx.js → filesystem-e54dr8r7.js} +13 -13
  139. package/dist/chunks/{file-retention-y183daxr.js → filesystem-e6ajfsdf.js} +9 -9
  140. package/dist/chunks/{file-retention-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
  141. package/dist/chunks/{file-retention-fcwjxcrg.js → filesystem-ejhwb09y.js} +1 -1
  142. package/dist/chunks/{file-retention-e0jdvfpf.js → filesystem-eqs0pmgx.js} +6 -6
  143. package/dist/chunks/{file-retention-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{file-retention-tt4xct96.js → filesystem-evvf1n35.js} +12 -12
  145. package/dist/chunks/{file-retention-f2742wym.js → filesystem-f0yntm5b.js} +17 -17
  146. package/dist/chunks/{file-retention-3thn9ygr.js → filesystem-f7dhzska.js} +37 -37
  147. package/dist/chunks/{file-retention-f828m53h.js → filesystem-f828m53h.js} +2 -2
  148. package/dist/chunks/{file-retention-trdbzp7q.js → filesystem-fap9mv8s.js} +37 -37
  149. package/dist/chunks/{file-retention-g2n1kqkx.js → filesystem-fcw1zqre.js} +18 -18
  150. package/dist/chunks/{file-retention-rtfsnp04.js → filesystem-fddsyqr4.js} +8 -8
  151. package/dist/chunks/{file-retention-sazb1h0p.js → filesystem-fdywpn9x.js} +11 -11
  152. package/dist/chunks/{file-retention-4cyvw3p6.js → filesystem-fw7t8djd.js} +63 -63
  153. package/dist/chunks/{file-retention-fxbjtjnd.js → filesystem-fxbjtjnd.js} +1 -1
  154. package/dist/chunks/{file-retention-hfdr1yjj.js → filesystem-fxqygnfa.js} +4 -4
  155. package/dist/chunks/{file-retention-hf8fr414.js → filesystem-gcx5yr3q.js} +15 -15
  156. package/dist/chunks/{file-retention-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
  157. package/dist/chunks/{file-retention-gn2hfjap.js → filesystem-gdezgtpw.js} +8 -8
  158. package/dist/chunks/{file-retention-fy1kaafr.js → filesystem-gdqqvv7c.js} +14 -14
  159. package/dist/chunks/{file-retention-264y2mvj.js → filesystem-gf5fcfbn.js} +13 -13
  160. package/dist/chunks/{file-retention-mm71tc60.js → filesystem-gn350eyy.js} +19 -19
  161. package/dist/chunks/{file-retention-wdrzmzfn.js → filesystem-grkcecy6.js} +30 -30
  162. package/dist/chunks/{file-retention-a4d6h2dp.js → filesystem-gsjsmvjz.js} +28 -28
  163. package/dist/chunks/{file-retention-ndf7wh7w.js → filesystem-gw9t2z3w.js} +21 -21
  164. package/dist/chunks/{file-retention-mw7s1qqm.js → filesystem-gzprh467.js} +29 -29
  165. package/dist/chunks/{file-retention-h03wrkyp.js → filesystem-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{file-retention-xqmwp9mt.js → filesystem-h609avsd.js} +10 -10
  167. package/dist/chunks/{file-retention-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{file-retention-h7ygw6q4.js → filesystem-h7ygw6q4.js} +2 -2
  169. package/dist/chunks/{file-retention-9jwg4mj7.js → filesystem-he07zsyr.js} +11 -11
  170. package/dist/chunks/{file-retention-d0q8x7fd.js → filesystem-hrc76cbb.js} +17 -17
  171. package/dist/chunks/{file-retention-2h7tr172.js → filesystem-j41a475f.js} +8 -8
  172. package/dist/chunks/{file-retention-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
  173. package/dist/chunks/{file-retention-5er01f6t.js → filesystem-j8hh79t3.js} +172 -172
  174. package/dist/chunks/{file-retention-0b4f6mp2.js → filesystem-jaqr24m8.js} +28 -28
  175. package/dist/chunks/{file-retention-kgtbg51g.js → filesystem-jfc61th8.js} +24 -24
  176. package/dist/chunks/{file-retention-hsp71j46.js → filesystem-jfzms4ed.js} +1 -1
  177. package/dist/chunks/{file-retention-exx0kxr8.js → filesystem-jgj0cmjf.js} +7 -7
  178. package/dist/chunks/{file-retention-3fp85657.js → filesystem-jmnxg2hy.js} +29 -29
  179. package/dist/chunks/{file-retention-bdhd9qj0.js → filesystem-jtzgk00g.js} +9 -9
  180. package/dist/chunks/{file-retention-npkymxxz.js → filesystem-jx4a7yyx.js} +1 -1
  181. package/dist/chunks/{file-retention-126se46d.js → filesystem-k17k9k58.js} +10 -10
  182. package/dist/chunks/{file-retention-qh7d57mv.js → filesystem-kj1rs0ex.js} +4 -4
  183. package/dist/chunks/{file-retention-nvv2w69t.js → filesystem-kpmnv95v.js} +8 -8
  184. package/dist/chunks/{file-retention-q80dxf01.js → filesystem-kzqkxx2v.js} +25 -25
  185. package/dist/chunks/{file-retention-276gygcj.js → filesystem-m3npdpng.js} +5 -5
  186. package/dist/chunks/{file-retention-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{file-retention-magykp64.js → filesystem-magykp64.js} +1 -1
  188. package/dist/chunks/{file-retention-r5depw3d.js → filesystem-mfw11q3n.js} +30 -30
  189. package/dist/chunks/{file-retention-tph3grx4.js → filesystem-mmy54dzb.js} +9 -9
  190. package/dist/chunks/{file-retention-81q6s179.js → filesystem-mqjke63f.js} +18 -18
  191. package/dist/chunks/{file-retention-y3pw9whf.js → filesystem-ms4phxsh.js} +20 -20
  192. package/dist/chunks/{file-retention-jhxy2sk1.js → filesystem-mx9sgxdp.js} +2 -2
  193. package/dist/chunks/{file-retention-2tkyep3v.js → filesystem-n0k1g4fc.js} +19 -19
  194. package/dist/chunks/{file-retention-qs0gs2g1.js → filesystem-n3pf906j.js} +12 -12
  195. package/dist/chunks/{file-retention-g17wn8cw.js → filesystem-n8mqzfm9.js} +12 -12
  196. package/dist/chunks/{file-retention-qsxff6dv.js → filesystem-nb9b6p15.js} +23 -23
  197. package/dist/chunks/{file-retention-cjvw1vr1.js → filesystem-nc6g6xf4.js} +6 -6
  198. package/dist/chunks/{file-retention-kf3rtttb.js → filesystem-ndh7jbby.js} +24 -24
  199. package/dist/chunks/{file-retention-q2f8db2z.js → filesystem-ngqd1g3c.js} +4 -4
  200. package/dist/chunks/{file-retention-nhy5jxhy.js → filesystem-nhy5jxhy.js} +1 -1
  201. package/dist/chunks/{file-retention-j279vgb3.js → filesystem-nryd581v.js} +49 -49
  202. package/dist/chunks/filesystem-nyrzeqwa.js +251 -0
  203. package/dist/chunks/{file-retention-4wdhwteq.js → filesystem-p5tc0jkc.js} +3 -3
  204. package/dist/chunks/filesystem-pf31ssb9.js +18 -0
  205. package/dist/chunks/{file-retention-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{file-retention-pknna89w.js → filesystem-pknna89w.js} +1 -1
  207. package/dist/chunks/{file-retention-23sxaqwc.js → filesystem-q5nw5m1n.js} +6 -6
  208. package/dist/chunks/{file-retention-mnhyjcyd.js → filesystem-q7ts5rjt.js} +87 -87
  209. package/dist/chunks/{file-retention-hnr5yq9h.js → filesystem-qjnxxf51.js} +5 -5
  210. package/dist/chunks/{file-retention-4xhhjths.js → filesystem-qp3v07n2.js} +8 -8
  211. package/dist/chunks/{file-retention-pb1eahw5.js → filesystem-qq1c0rfq.js} +6 -6
  212. package/dist/chunks/{file-retention-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
  213. package/dist/chunks/{file-retention-cb9cr8vz.js → filesystem-qxk9wp59.js} +11 -11
  214. package/dist/chunks/{file-retention-q1gp8mbh.js → filesystem-qznyv1pd.js} +6 -6
  215. package/dist/chunks/{file-retention-r9mregkx.js → filesystem-r9mregkx.js} +2 -2
  216. package/dist/chunks/{file-retention-v4cwwf6k.js → filesystem-rds95j8z.js} +1 -1
  217. package/dist/chunks/{file-retention-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{file-retention-kcyfyv8v.js → filesystem-req2f1zf.js} +14 -14
  219. package/dist/chunks/{file-retention-tvh2peyk.js → filesystem-s1aps666.js} +7 -7
  220. package/dist/chunks/{file-retention-4z0v33m4.js → filesystem-s2rjst4c.js} +32 -32
  221. package/dist/chunks/{file-retention-s90s62as.js → filesystem-s4bmhrbd.js} +17 -17
  222. package/dist/chunks/{file-retention-spp1p3tw.js → filesystem-s5pht5ae.js} +24 -24
  223. package/dist/chunks/{file-retention-ky3seynh.js → filesystem-s8610hey.js} +2 -2
  224. package/dist/chunks/{file-retention-v07rhjax.js → filesystem-s9jsf10w.js} +9 -9
  225. package/dist/chunks/{file-retention-havwf4k9.js → filesystem-sfnc39yp.js} +8 -8
  226. package/dist/chunks/{file-retention-7j92jdde.js → filesystem-shh6fz4q.js} +4 -4
  227. package/dist/chunks/{file-retention-4gyxjxrp.js → filesystem-skz9jdxs.js} +45 -45
  228. package/dist/chunks/{file-retention-fg50ch7r.js → filesystem-syxap8am.js} +4 -4
  229. package/dist/chunks/{file-retention-9xzn68v5.js → filesystem-t73pnhmt.js} +37 -37
  230. package/dist/chunks/{file-retention-f73rjn58.js → filesystem-t7n9q6bq.js} +4 -4
  231. package/dist/chunks/{file-retention-agq2sn5n.js → filesystem-t82q7pe6.js} +6 -6
  232. package/dist/chunks/{file-retention-j83byb14.js → filesystem-t9zs3egg.js} +4 -4
  233. package/dist/chunks/{file-retention-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
  234. package/dist/chunks/{file-retention-tdstcens.js → filesystem-tdstcens.js} +1 -1
  235. package/dist/chunks/{file-retention-gv6a8nnw.js → filesystem-th5km1p3.js} +5 -5
  236. package/dist/chunks/{file-retention-fd1zsxbb.js → filesystem-tn345pzm.js} +6 -6
  237. package/dist/chunks/{file-retention-qc5a07km.js → filesystem-tqb4zsas.js} +20 -20
  238. package/dist/chunks/{file-retention-3p5hkrxv.js → filesystem-tqq9vv0r.js} +32 -32
  239. package/dist/chunks/{file-retention-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
  240. package/dist/chunks/{file-retention-5k148b68.js → filesystem-v1kfa28m.js} +9 -9
  241. package/dist/chunks/{file-retention-sx8f04je.js → filesystem-v5b0xx0m.js} +14 -14
  242. package/dist/chunks/{file-retention-x4nz54qe.js → filesystem-vbxkep6a.js} +15 -15
  243. package/dist/chunks/{file-retention-4tzvqyk7.js → filesystem-vbzbj883.js} +34 -34
  244. package/dist/chunks/{file-retention-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
  245. package/dist/chunks/{file-retention-6p84ymk5.js → filesystem-vy0wt1xp.js} +34 -34
  246. package/dist/chunks/{file-retention-r7g94wtk.js → filesystem-vymvq99p.js} +22 -22
  247. package/dist/chunks/{file-retention-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
  248. package/dist/chunks/{file-retention-5qzqc01j.js → filesystem-w0fqee3t.js} +4 -4
  249. package/dist/chunks/{file-retention-06dxphr1.js → filesystem-w1k39n5e.js} +4 -4
  250. package/dist/chunks/{file-retention-j07ynkak.js → filesystem-w3jz5mh3.js} +17 -17
  251. package/dist/chunks/{file-retention-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{file-retention-pgy12fq2.js → filesystem-wbt8vg77.js} +18 -18
  253. package/dist/chunks/{file-retention-g7pgb33s.js → filesystem-wd41hx6g.js} +6 -6
  254. package/dist/chunks/{file-retention-wd87259q.js → filesystem-wd87259q.js} +1 -1
  255. package/dist/chunks/{file-retention-z8y90bmn.js → filesystem-wesp68ae.js} +26 -26
  256. package/dist/chunks/{file-retention-13b7xy8e.js → filesystem-wjrkf519.js} +5 -5
  257. package/dist/chunks/{file-retention-wxffcvth.js → filesystem-wqkncbjv.js} +3 -3
  258. package/dist/chunks/{file-retention-d85qp1ds.js → filesystem-ws7b1vd7.js} +24 -24
  259. package/dist/chunks/{file-retention-s0nkzfby.js → filesystem-wtaqqafq.js} +11 -11
  260. package/dist/chunks/{file-retention-9180haxf.js → filesystem-wtkcq731.js} +41 -41
  261. package/dist/chunks/{file-retention-n3gg6d5p.js → filesystem-wwxgka64.js} +11 -11
  262. package/dist/chunks/{file-retention-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{file-retention-f2gjs8p9.js → filesystem-x8kx70zw.js} +15 -15
  264. package/dist/chunks/{file-retention-xezh77hc.js → filesystem-xa9r7nw9.js} +19 -19
  265. package/dist/chunks/{file-retention-5cb8a4qv.js → filesystem-xd7p5zqs.js} +27 -27
  266. package/dist/chunks/{file-retention-p8bhcqp6.js → filesystem-xyyjnszw.js} +5 -5
  267. package/dist/chunks/{file-retention-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{file-retention-dpkg50ah.js → filesystem-y71avatq.js} +4 -4
  269. package/dist/chunks/{file-retention-3wpzg793.js → filesystem-y7z8aqqx.js} +15 -15
  270. package/dist/chunks/{file-retention-kcfncsdb.js → filesystem-yd1jaf3z.js} +9 -9
  271. package/dist/chunks/{file-retention-egthh08c.js → filesystem-yjg451mg.js} +25 -25
  272. package/dist/chunks/{file-retention-bgr2vz0b.js → filesystem-ymcnatpj.js} +22 -22
  273. package/dist/chunks/{file-retention-rhraev7y.js → filesystem-yp2x3t23.js} +4 -4
  274. package/dist/chunks/{file-retention-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{file-retention-yrznvahk.js → filesystem-yrznvahk.js} +2 -2
  276. package/dist/chunks/{file-retention-zqcfhx7s.js → filesystem-ysz7wnt3.js} +26 -26
  277. package/dist/chunks/{file-retention-w171fkng.js → filesystem-z07af02a.js} +25 -25
  278. package/dist/chunks/{file-retention-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{file-retention-qb8wdytp.js → filesystem-z6259ffv.js} +8 -8
  280. package/dist/chunks/{file-retention-z63w68vq.js → filesystem-z63w68vq.js} +2 -2
  281. package/dist/chunks/{file-retention-pesg4g4m.js → filesystem-z97y4ypk.js} +3 -3
  282. package/dist/chunks/{file-retention-zeh9ct20.js → filesystem-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{file-retention-c390ksyj.js → filesystem-zfs18d5t.js} +5 -5
  284. package/dist/chunks/{file-retention-5ffqwp29.js → filesystem-zh0vtjyr.js} +24 -24
  285. package/dist/chunks/{file-retention-49gatq4q.js → filesystem-zmn1asca.js} +278 -278
  286. package/dist/chunks/{file-retention-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
  287. package/dist/chunks/{file-retention-aq9j564q.js → filesystem-zvt32j6c.js} +15 -15
  288. package/dist/chunks/{file-retention-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
  289. package/dist/chunks/{file-retention-9nz7ga5n.js → filesystem-zxse2e34.js} +14 -14
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +5 -5
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +83 -83
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +213 -213
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +131 -131
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +121 -121
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +122 -122
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +125 -125
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +121 -121
  317. package/dist/config/plugin/worktree.js +125 -125
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +365 -365
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +92 -92
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +69 -69
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +223 -223
  423. package/dist/filesystem/protected.js +3 -3
  424. package/dist/filesystem/search.js +102 -102
  425. package/dist/filesystem/watcher-binding.js +1 -1
  426. package/dist/filesystem/watcher.js +9 -9
  427. package/dist/filesystem.js +107 -107
  428. package/dist/form.js +85 -85
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +103 -103
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +90 -90
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +4 -4
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +82 -82
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +72 -72
  465. package/dist/location-activity.js +134 -134
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +87 -87
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +84 -84
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +99 -99
  472. package/dist/mcp/instructions.js +126 -126
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +90 -90
  477. package/dist/model-resolver.js +98 -98
  478. package/dist/model.js +99 -99
  479. package/dist/models-dev.js +105 -105
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +81 -81
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +110 -110
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +103 -103
  490. package/dist/plugin/command.js +100 -100
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +216 -216
  493. package/dist/plugin/instance.js +1 -1
  494. package/dist/plugin/internal.js +327 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +94 -94
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +89 -89
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +89 -89
  517. package/dist/plugin/provider/llmgateway.js +89 -89
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +89 -89
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +93 -93
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +89 -89
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +140 -140
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +342 -342
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +91 -91
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +85 -85
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +7 -7
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +4 -4
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +227 -227
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +85 -85
  558. package/dist/provider.js +100 -100
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +95 -95
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +90 -90
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +1 -1
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +94 -94
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +131 -131
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +3 -3
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +220 -220
  579. package/dist/session/execution.js +126 -126
  580. package/dist/session/generate.js +150 -150
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +89 -89
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +92 -92
  587. package/dist/session/message-updater.js +4 -4
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +117 -117
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +228 -228
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +98 -98
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +114 -114
  603. package/dist/session/runner/step.js +123 -123
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +170 -170
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +86 -86
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +153 -153
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +216 -216
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +217 -217
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +13 -13
  624. package/dist/shell.js +139 -139
  625. package/dist/skill/discovery.js +2 -2
  626. package/dist/skill/instructions.js +104 -104
  627. package/dist/skill.js +111 -111
  628. package/dist/snapshot.js +88 -88
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +123 -123
  633. package/dist/tool/plugin/edit.js +113 -113
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +123 -123
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +119 -119
  639. package/dist/tool/plugin/question.js +102 -102
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +214 -214
  642. package/dist/tool/plugin/skill.js +104 -104
  643. package/dist/tool/plugin/subagent.js +218 -218
  644. package/dist/tool/plugin/webfetch.js +109 -109
  645. package/dist/tool/plugin/websearch.js +111 -111
  646. package/dist/tool/plugin/write.js +121 -121
  647. package/dist/tool/read-filesystem.js +95 -95
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +2 -2
  665. package/dist/v1/config/formatter.js +5 -5
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +91 -91
  670. package/dist/v1/config/permission.js +1 -1
  671. package/dist/v1/config/plugin.js +3 -3
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +81 -81
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +76 -76
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +79 -79
  685. package/dist/worktree/directory.js +4 -4
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/refresh.js +345 -345
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +93 -93
  690. package/package.json +8 -8
  691. package/dist/chunks/file-retention-6kdq0pjd.js +0 -4
  692. package/dist/chunks/file-retention-907a706s.js +0 -251
  693. package/dist/chunks/file-retention-q509s3k3.js +0 -18
  694. package/dist/chunks/file-retention-vh6dfrxf.js +0 -26
  695. /package/dist/chunks/{file-retention-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
  696. /package/dist/chunks/{file-retention-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
  697. /package/dist/chunks/{file-retention-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
  698. /package/dist/chunks/{file-retention-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
  699. /package/dist/chunks/{file-retention-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
  700. /package/dist/chunks/{file-retention-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{file-retention-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{file-retention-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{file-retention-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{file-retention-3asan66x.js → filesystem-3asan66x.js} +0 -0
  705. /package/dist/chunks/{file-retention-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{file-retention-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{file-retention-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{file-retention-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{file-retention-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{file-retention-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{file-retention-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{file-retention-53557ph1.js → filesystem-53557ph1.js} +0 -0
  713. /package/dist/chunks/{file-retention-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{file-retention-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
  715. /package/dist/chunks/{file-retention-6prwharc.js → filesystem-6prwharc.js} +0 -0
  716. /package/dist/chunks/{file-retention-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
  717. /package/dist/chunks/{file-retention-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
  718. /package/dist/chunks/{file-retention-822emrt2.js → filesystem-822emrt2.js} +0 -0
  719. /package/dist/chunks/{file-retention-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
  720. /package/dist/chunks/{file-retention-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
  721. /package/dist/chunks/{file-retention-922hggd3.js → filesystem-922hggd3.js} +0 -0
  722. /package/dist/chunks/{file-retention-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
  723. /package/dist/chunks/{file-retention-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
  724. /package/dist/chunks/{file-retention-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
  725. /package/dist/chunks/{file-retention-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
  726. /package/dist/chunks/{file-retention-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
  727. /package/dist/chunks/{file-retention-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
  728. /package/dist/chunks/{file-retention-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
  729. /package/dist/chunks/{file-retention-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
  730. /package/dist/chunks/{file-retention-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
  731. /package/dist/chunks/{file-retention-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
  732. /package/dist/chunks/{file-retention-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
  733. /package/dist/chunks/{file-retention-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
  734. /package/dist/chunks/{file-retention-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
  735. /package/dist/chunks/{file-retention-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
  736. /package/dist/chunks/{file-retention-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
  737. /package/dist/chunks/{file-retention-df08tz66.js → filesystem-df08tz66.js} +0 -0
  738. /package/dist/chunks/{file-retention-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
  739. /package/dist/chunks/{file-retention-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
  740. /package/dist/chunks/{file-retention-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
  741. /package/dist/chunks/{file-retention-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
  742. /package/dist/chunks/{file-retention-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
  743. /package/dist/chunks/{file-retention-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
  744. /package/dist/chunks/{file-retention-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
  745. /package/dist/chunks/{file-retention-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
  746. /package/dist/chunks/{file-retention-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
  747. /package/dist/chunks/{file-retention-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
  748. /package/dist/chunks/{file-retention-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
  749. /package/dist/chunks/{file-retention-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
  750. /package/dist/chunks/{file-retention-g86h250q.js → filesystem-g86h250q.js} +0 -0
  751. /package/dist/chunks/{file-retention-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
  752. /package/dist/chunks/{file-retention-gftt206x.js → filesystem-gftt206x.js} +0 -0
  753. /package/dist/chunks/{file-retention-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
  754. /package/dist/chunks/{file-retention-hk9envan.js → filesystem-hk9envan.js} +0 -0
  755. /package/dist/chunks/{file-retention-hrnqkpcd.js → filesystem-hrnqkpcd.js} +0 -0
  756. /package/dist/chunks/{file-retention-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
  757. /package/dist/chunks/{file-retention-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
  758. /package/dist/chunks/{file-retention-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
  759. /package/dist/chunks/{file-retention-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
  760. /package/dist/chunks/{file-retention-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
  761. /package/dist/chunks/{file-retention-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{file-retention-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{file-retention-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{file-retention-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{file-retention-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{file-retention-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{file-retention-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{file-retention-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{file-retention-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{file-retention-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{file-retention-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{file-retention-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{file-retention-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{file-retention-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{file-retention-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{file-retention-twg0f83k.js → filesystem-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{file-retention-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{file-retention-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
  779. /package/dist/chunks/{file-retention-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
  780. /package/dist/chunks/{file-retention-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
  781. /package/dist/chunks/{file-retention-x61499pn.js → filesystem-x61499pn.js} +0 -0
  782. /package/dist/chunks/{file-retention-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
  783. /package/dist/chunks/{file-retention-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
  784. /package/dist/chunks/{file-retention-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
  785. /package/dist/chunks/{file-retention-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
  786. /package/dist/chunks/{file-retention-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
  787. /package/dist/chunks/{file-retention-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID13
3
- } from "./file-retention-v6wrn1g2.js";
2
+ ID7
3
+ } from "./filesystem-8nwmmt46.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./file-retention-hjbc5kem.js";
6
+ } from "./filesystem-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 !== ID13.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID7.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 !== ID13.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID7.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service66
3
- } from "./file-retention-j279vgb3.js";
2
+ Service69
3
+ } from "./filesystem-nryd581v.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./file-retention-4vcrnpx2.js";
7
+ } from "./filesystem-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./file-retention-3v8g72cx.js";
10
+ } from "./filesystem-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./filesystem-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input11,
19
+ Input: () => Input7,
20
20
  MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin45,
22
+ Plugin: () => Plugin40,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description5,
25
+ description: () => description4,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name11
27
+ name: () => name7
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name11 = "webfetch";
33
+ var name7 = "webfetch";
34
34
  var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input11 = Schema.Struct({
41
+ var Input7 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input11.fields.format,
51
+ format: Input7.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin45 = {
95
+ var Plugin40 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service66;
99
+ const permission = yield* Service69;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name11,
101
+ name: name7,
102
102
  options: { codemode: false },
103
- description: description5,
104
- input: Input11,
103
+ description: description4,
104
+ input: Input7,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin45 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name11,
112
+ action: name7,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name11, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin45, extractTextFromHTML2, exports_webfetch };
170
+ export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, Plugin40, extractTextFromHTML2, exports_webfetch };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./file-retention-5t3nmthw.js";
3
+ } from "./filesystem-5t3nmthw.js";
4
4
  import {
5
- Service64,
6
- node69
7
- } from "./file-retention-18swyw0t.js";
5
+ Service50,
6
+ node54
7
+ } from "./filesystem-2w7hg4c7.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./filesystem-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
13
  var exports_generate2 = {};
14
14
  __export(exports_generate2, {
15
15
  Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service47,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer19,
20
- node: () => node51
17
+ Service: () => Service30,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer14,
20
+ node: () => node34
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service47 extends Context.Service()("@opencode/Generate") {
36
+ class Service30 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer19 = Layer.effect(Service47, Effect.gen(function* () {
38
+ var layer14 = Layer.effect(Service30, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service64;
40
+ const resolver = yield* Service50;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -47,28 +47,28 @@ var layer19 = Layer.effect(Service47, Effect.gen(function* () {
47
47
  "SessionRunnerModel.UnresolvedProviderVariablesError",
48
48
  "SessionRunnerModel.UnsupportedCompactionError"
49
49
  ], (error) => {
50
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
50
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
51
51
  return Effect.fail(mapped);
52
52
  }));
53
53
  if (!resolved)
54
54
  return yield* new ModelSelectionError2({
55
55
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
56
56
  });
57
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
57
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
58
58
  message: error.message,
59
59
  service: resolved.ref.providerID
60
60
  })));
61
61
  return response.text;
62
62
  });
63
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
63
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
64
64
  message: "Generation credentials are unavailable"
65
65
  })));
66
- return Service47.of({ text });
66
+ return Service30.of({ text });
67
67
  }));
68
- var node51 = makeLocationNode({
69
- service: Service47,
70
- layer: layer19,
71
- deps: [node69, llmClient2]
68
+ var node34 = makeLocationNode({
69
+ service: Service30,
70
+ layer: layer14,
71
+ deps: [node54, llmClient2]
72
72
  });
73
73
 
74
- export { ModelSelectionError2, UnavailableError3, Service47, layer19, node51, exports_generate2 };
74
+ export { ModelSelectionError2, UnavailableError2, Service30, layer14, node34, exports_generate2 };
@@ -1,52 +1,52 @@
1
1
  import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2
4
- } from "./file-retention-922hggd3.js";
4
+ } from "./filesystem-922hggd3.js";
5
5
  import {
6
6
  Info15
7
- } from "./file-retention-magykp64.js";
7
+ } from "./filesystem-magykp64.js";
8
8
  import {
9
- Info14
10
- } from "./file-retention-pb1eahw5.js";
9
+ Info8
10
+ } from "./filesystem-qq1c0rfq.js";
11
11
  import {
12
- Info13
13
- } from "./file-retention-evbgk2k8.js";
12
+ Info10
13
+ } from "./filesystem-37s12vcn.js";
14
14
  import {
15
- Info9
16
- } from "./file-retention-fqb2p7cx.js";
15
+ Info16
16
+ } from "./filesystem-1g7epwpd.js";
17
17
  import {
18
- Info17
19
- } from "./file-retention-23sxaqwc.js";
18
+ Info12
19
+ } from "./filesystem-q5nw5m1n.js";
20
20
  import {
21
21
  Layout2
22
- } from "./file-retention-21r38tys.js";
22
+ } from "./filesystem-21r38tys.js";
23
23
  import {
24
- Info11
25
- } from "./file-retention-e6hd9jay.js";
24
+ Info14
25
+ } from "./filesystem-23pqda6t.js";
26
26
  import {
27
- Info10
28
- } from "./file-retention-pecb0brz.js";
27
+ Info13
28
+ } from "./filesystem-0f9afca0.js";
29
29
  import {
30
30
  Spec2
31
- } from "./file-retention-qgn6gcr1.js";
31
+ } from "./filesystem-0jwsre1p.js";
32
32
  import {
33
- Info16
34
- } from "./file-retention-hnr5yq9h.js";
33
+ Info9
34
+ } from "./filesystem-qjnxxf51.js";
35
35
  import {
36
36
  Server2
37
- } from "./file-retention-zeh9ct20.js";
37
+ } from "./filesystem-zeh9ct20.js";
38
38
  import {
39
- Info12
40
- } from "./file-retention-j83byb14.js";
39
+ Info11
40
+ } from "./filesystem-t9zs3egg.js";
41
41
  import {
42
42
  __export
43
- } from "./file-retention-9rqn6x4v.js";
43
+ } from "./filesystem-9rqn6x4v.js";
44
44
 
45
45
  // src/v1/config/config.ts
46
46
  var exports_config2 = {};
47
47
  __export(exports_config2, {
48
48
  ConfigV1: () => exports_config2,
49
- Info: () => Info8,
49
+ Info: () => Info7,
50
50
  WellKnown: () => WellKnown2
51
51
  });
52
52
  import { Schema } from "effect";
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
59
59
  identifier: "LogLevel",
60
60
  description: "Log level"
61
61
  });
62
- var Info8 = Schema.Struct({
62
+ var Info7 = Schema.Struct({
63
63
  $schema: Schema.optional(Schema.String).annotate({
64
64
  description: "JSON schema reference for configuration validation"
65
65
  }),
@@ -68,10 +68,10 @@ var Info8 = Schema.Struct({
68
68
  server: Schema.optional(Server2).annotate({
69
69
  description: "Server configuration for opencode serve and web commands"
70
70
  }),
71
- command: Schema.optional(Schema.Record(Schema.String, Info9)).annotate({
71
+ command: Schema.optional(Schema.Record(Schema.String, Info16)).annotate({
72
72
  description: "Command configuration, see https://opencode.ai/docs/commands"
73
73
  }),
74
- skills: Schema.optional(Info12).annotate({ description: "Additional skill folder paths" }),
74
+ skills: Schema.optional(Info11).annotate({ description: "Additional skill folder paths" }),
75
75
  references: Schema.optional(ConfigReference.Info).annotate({
76
76
  description: "Named git or local directory references"
77
77
  }),
@@ -113,24 +113,24 @@ var Info8 = Schema.Struct({
113
113
  username: Schema.optional(Schema.String).annotate({
114
114
  description: "Custom username to display in conversations instead of system username"
115
115
  }),
116
- mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info14), plan: Schema.optional(Info14) }), [Schema.Record(Schema.String, Info14)])).annotate({ description: "@deprecated Use `agent` field instead." }),
116
+ mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info8), plan: Schema.optional(Info8) }), [Schema.Record(Schema.String, Info8)])).annotate({ description: "@deprecated Use `agent` field instead." }),
117
117
  agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
118
- plan: Schema.optional(Info14),
119
- build: Schema.optional(Info14),
120
- general: Schema.optional(Info14),
121
- explore: Schema.optional(Info14),
122
- title: Schema.optional(Info14),
123
- summary: Schema.optional(Info14),
124
- compaction: Schema.optional(Info14)
125
- }), [Schema.Record(Schema.String, Info14)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
- provider: Schema.optional(Schema.Record(Schema.String, Info16)).annotate({
118
+ plan: Schema.optional(Info8),
119
+ build: Schema.optional(Info8),
120
+ general: Schema.optional(Info8),
121
+ explore: Schema.optional(Info8),
122
+ title: Schema.optional(Info8),
123
+ summary: Schema.optional(Info8),
124
+ compaction: Schema.optional(Info8)
125
+ }), [Schema.Record(Schema.String, Info8)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
126
+ provider: Schema.optional(Schema.Record(Schema.String, Info9)).annotate({
127
127
  description: "Custom provider configurations and model overrides"
128
128
  }),
129
- mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info10, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
- formatter: Schema.optional(Info17).annotate({
129
+ mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info13, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
130
+ formatter: Schema.optional(Info12).annotate({
131
131
  description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
132
132
  }),
133
- lsp: Schema.optional(Info11).annotate({
133
+ lsp: Schema.optional(Info14).annotate({
134
134
  description: "Enable or configure LSP servers. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
135
135
  }),
136
136
  instructions: Schema.optional(Schema.mutable(Schema.Array(Schema.String))).annotate({
@@ -139,7 +139,7 @@ var Info8 = Schema.Struct({
139
139
  layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
140
140
  permission: Schema.optional(Info15),
141
141
  tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
142
- attachment: Schema.optional(Info13).annotate({
142
+ attachment: Schema.optional(Info10).annotate({
143
143
  description: "Attachment processing configuration, including image size limits and resizing behavior"
144
144
  }),
145
145
  enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
@@ -191,4 +191,4 @@ var Info8 = Schema.Struct({
191
191
  }))
192
192
  }).annotate({ identifier: "Config" });
193
193
 
194
- export { WellKnown2, Info8, exports_config2 };
194
+ export { WellKnown2, Info7, exports_config2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/filesystem/protected.ts
6
6
  var exports_protected = {};
7
7
  __export(exports_protected, {
8
8
  Protected: () => exports_protected,
9
9
  isHome: () => isHome2,
10
- names: () => names3,
10
+ names: () => names4,
11
11
  paths: () => paths2
12
12
  });
13
13
  import os from "os";
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
41
41
  ];
42
42
  var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
43
43
  var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
44
- function names3() {
44
+ function names4() {
45
45
  if (process.platform === "darwin")
46
46
  return new Set(DARWIN_HOME);
47
47
  if (process.platform === "win32")
@@ -60,4 +60,4 @@ function paths2() {
60
60
  return [];
61
61
  }
62
62
 
63
- export { isHome2, names3, paths2, exports_protected };
63
+ export { isHome2, names4, paths2, exports_protected };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./file-retention-qaymkmh1.js";
3
+ } from "./filesystem-qaymkmh1.js";
4
4
 
5
5
  // src/ripgrep/binary.ts
6
6
  import path from "path";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./file-retention-9rqn6x4v.js";
3
+ } from "./filesystem-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service69,
10
- node: () => node74
9
+ Service: () => Service73,
10
+ node: () => node78
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service69 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service73 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service69, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service69.of({ has, register, trigger });
57
+ return Service73.of({ has, register, trigger });
58
58
  }));
59
- var node74 = makeLocationNode({ service: Service69, layer, deps: [] });
59
+ var node78 = makeLocationNode({ service: Service73, layer, deps: [] });
60
60
 
61
- export { Service69, node74, exports_hooks };
61
+ export { Service73, node78, exports_hooks };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service33,
3
- node37
4
- } from "./file-retention-ak8w4t1r.js";
2
+ Service35,
3
+ node40
4
+ } from "./filesystem-7qne9t03.js";
5
5
  import {
6
- Key3,
6
+ Key4,
7
7
  removed2,
8
- make21,
8
+ make20,
9
9
  diffByKey2
10
- } from "./file-retention-s8d7rejh.js";
10
+ } from "./filesystem-02nrjc1r.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./filesystem-9rqn6x4v.js";
14
14
 
15
15
  // src/reference/instructions.ts
16
- var exports_instructions3 = {};
17
- __export(exports_instructions3, {
18
- ReferenceInstructions: () => exports_instructions3,
19
- Service: () => Service23,
20
- node: () => node28
16
+ var exports_instructions4 = {};
17
+ __export(exports_instructions4, {
18
+ ReferenceInstructions: () => exports_instructions4,
19
+ Service: () => Service22,
20
+ node: () => node26
21
21
  });
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -57,19 +57,19 @@ var update = (previous, current) => {
57
57
  `);
58
58
  };
59
59
 
60
- class Service23 extends Context.Service()("@opencode/ReferenceInstructions") {
60
+ class Service22 extends Context.Service()("@opencode/ReferenceInstructions") {
61
61
  }
62
- var layer = Layer.effect(Service23, Effect.gen(function* () {
63
- const references = yield* Service33;
64
- return Service23.of({
62
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
63
+ const references = yield* Service35;
64
+ return Service22.of({
65
65
  load: Effect.fn("ReferenceInstructions.load")(function* () {
66
66
  const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
67
67
  name: reference.name,
68
68
  path: reference.path,
69
69
  description: reference.description
70
70
  })).toSorted((a, b) => a.name.localeCompare(b.name));
71
- return make21({
72
- key: Key3.make("core/reference-guidance"),
71
+ return make20({
72
+ key: Key4.make("core/reference-guidance"),
73
73
  codec: Schema.toCodecJson(Schema.Array(Summary)),
74
74
  read: Effect.succeed(available.length === 0 ? removed2 : available),
75
75
  render: {
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node28 = makeLocationNode({ service: Service23, layer, deps: [node37] });
84
+ var node26 = makeLocationNode({ service: Service22, layer, deps: [node40] });
85
85
 
86
- export { Service23, node28, exports_instructions3 };
86
+ export { Service22, node26, exports_instructions4 };
@@ -1,72 +1,72 @@
1
1
  import {
2
- Service54
3
- } from "./file-retention-5ffqwp29.js";
2
+ Service62
3
+ } from "./filesystem-zh0vtjyr.js";
4
4
  import {
5
- Service13,
5
+ Service16,
6
6
  readText2,
7
7
  syncTextBom2
8
- } from "./file-retention-pvp0fmcy.js";
8
+ } from "./filesystem-6kt92yqk.js";
9
9
  import {
10
- Service38
11
- } from "./file-retention-0r2k9kj6.js";
10
+ Service13
11
+ } from "./filesystem-bcfqw6ff.js";
12
12
  import {
13
- Service66
14
- } from "./file-retention-j279vgb3.js";
13
+ Service69
14
+ } from "./filesystem-nryd581v.js";
15
15
  import {
16
- Service52
17
- } from "./file-retention-g2n1kqkx.js";
16
+ Service68
17
+ } from "./filesystem-fcw1zqre.js";
18
18
  import {
19
19
  fileDiff2
20
- } from "./file-retention-6prwharc.js";
20
+ } from "./filesystem-6prwharc.js";
21
21
  import {
22
22
  __export
23
- } from "./file-retention-9rqn6x4v.js";
23
+ } from "./filesystem-9rqn6x4v.js";
24
24
 
25
25
  // src/tool/plugin/write.ts
26
26
  var exports_write = {};
27
27
  __export(exports_write, {
28
- Input: () => Input7,
29
- Output: () => Output6,
30
- Plugin: () => Plugin40,
28
+ Input: () => Input10,
29
+ Output: () => Output7,
30
+ Plugin: () => Plugin43,
31
31
  WriteTool: () => exports_write,
32
- name: () => name7,
33
- toModelContent: () => toModelContent4
32
+ name: () => name10,
33
+ toModelContent: () => toModelContent6
34
34
  });
35
35
  import { ToolFailure } from "@opencode/ai";
36
36
  import { Effect, Schema } from "effect";
37
37
  import { Bom } from "@opencode/util/bom";
38
- var name7 = "write";
39
- var Input7 = Schema.Struct({
38
+ var name10 = "write";
39
+ var Input10 = Schema.Struct({
40
40
  path: Schema.String.annotate({
41
41
  description: "Path to the file to write to"
42
42
  }),
43
43
  content: Schema.String.annotate({ description: "Content to write to the file" })
44
44
  });
45
- var Output6 = Schema.Struct({
45
+ var Output7 = Schema.Struct({
46
46
  operation: Schema.Literal("write"),
47
47
  target: Schema.String,
48
48
  resource: Schema.String,
49
49
  existed: Schema.Boolean
50
50
  });
51
- var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
- var Plugin40 = {
51
+ var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
52
+ var Plugin43 = {
53
53
  id: "opencode.tool.write",
54
54
  effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
55
- const access = yield* Service52;
56
- const fileMutation = yield* Service13;
57
- const environment = yield* Service54;
58
- const formatter = yield* Service38;
59
- const permission = yield* Service66;
55
+ const access = yield* Service68;
56
+ const fileMutation = yield* Service16;
57
+ const environment = yield* Service62;
58
+ const formatter = yield* Service13;
59
+ const permission = yield* Service69;
60
60
  yield* ctx.tool.transform((editor) => editor.add({
61
- name: name7,
61
+ name: name10,
62
62
  options: { codemode: false, permission: "edit" },
63
63
  description: `Writes a file to the local filesystem, overwriting if one exists.
64
64
 
65
65
  Missing parent directories are created automatically.
66
66
 
67
67
  Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
68
- input: Input7,
69
- output: Output6,
68
+ input: Input10,
69
+ output: Output7,
70
70
  execute: (input, context) => Effect.gen(function* () {
71
71
  const source = {
72
72
  type: "tool",
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
93
93
  yield* syncTextBom2(environment.files, target.absolute, bom);
94
94
  }
95
95
  return result;
96
- }).pipe(Effect.map((output) => ({ output, content: toModelContent4(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
96
+ }).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
97
97
  })).pipe(Effect.orDie);
98
98
  })
99
99
  };
100
100
 
101
- export { name7, Input7, Output6, toModelContent4, Plugin40, exports_write };
101
+ export { name10, Input10, Output7, toModelContent6, Plugin43, exports_write };