@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,21 +1,21 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./file-retention-922hggd3.js";
4
+ } from "./filesystem-922hggd3.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./file-retention-dpkg50ah.js";
7
+ } from "./filesystem-y71avatq.js";
8
8
  import {
9
9
  MAX_TOTAL_PATCH_BYTES2,
10
10
  emptyPatch2,
11
11
  chunksByFile2
12
- } from "./file-retention-tazgh4e4.js";
12
+ } from "./filesystem-tazgh4e4.js";
13
13
  import {
14
14
  gitExecutable2
15
- } from "./file-retention-ef5x83kb.js";
15
+ } from "./filesystem-ef5x83kb.js";
16
16
  import {
17
17
  __export
18
- } from "./file-retention-9rqn6x4v.js";
18
+ } from "./filesystem-9rqn6x4v.js";
19
19
 
20
20
  // src/git.ts
21
21
  var exports_git3 = {};
@@ -23,11 +23,11 @@ __export(exports_git3, {
23
23
  Git: () => exports_git3,
24
24
  OperationError: () => OperationError3,
25
25
  Repository: () => Repository2,
26
- Service: () => Service79,
26
+ Service: () => Service77,
27
27
  TreeID: () => TreeID2,
28
28
  Worktree: () => Worktree2,
29
29
  WorktreeError: () => WorktreeError2,
30
- node: () => node84
30
+ node: () => node82
31
31
  });
32
32
  import path from "path";
33
33
  import { Context, Effect, Layer, Schema } from "effect";
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
93
93
  }) {
94
94
  }
95
95
 
96
- class Service79 extends Context.Service()("@opencode/Git") {
96
+ class Service77 extends Context.Service()("@opencode/Git") {
97
97
  }
98
- var layer = Layer.effect(Service79, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service77, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const locks = makeUnsafe2();
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
419
419
  kind: index === 0 ? "main" : "linked"
420
420
  }));
421
421
  });
422
- return Service79.of({
422
+ return Service77.of({
423
423
  repo: { discover, clone, create },
424
424
  remote: { get: remote },
425
425
  history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
435
435
  }
436
436
  });
437
437
  }));
438
- var node84 = makeGlobalNode({ service: Service79, layer, deps: [FSUtil.node, AppProcess.node] });
438
+ var node82 = makeGlobalNode({ service: Service77, layer, deps: [FSUtil.node, AppProcess.node] });
439
439
  function run(cwd, proc, args) {
440
440
  return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
441
441
  }
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
463
463
  return path.resolve(cwd, normalized);
464
464
  }
465
465
 
466
- export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service79, node84, exports_git3 };
466
+ export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service77, node82, exports_git3 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cleanup3
3
- } from "./file-retention-gd4qta3r.js";
3
+ } from "./filesystem-gd4qta3r.js";
4
4
  import {
5
5
  ascending2
6
- } from "./file-retention-tvtrv512.js";
6
+ } from "./filesystem-tvtrv512.js";
7
7
  import {
8
8
  create3
9
- } from "./file-retention-rdw6cm16.js";
9
+ } from "./filesystem-rdw6cm16.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./filesystem-9rqn6x4v.js";
13
13
 
14
14
  // src/tool-output.ts
15
15
  var exports_tool_output2 = {};
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service45,
21
+ Service: () => Service40,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node49
23
+ node: () => node45
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service45 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service40 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service45, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service45.of({
125
+ return Service40.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node49 = makeLocationNode({
143
- service: Service45,
142
+ var node45 = makeLocationNode({
143
+ service: Service40,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service45, node49, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service40, node45, exports_tool_output2 };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-retention-pmc74pb4.js";
4
+ } from "./filesystem-5xy61mm9.js";
5
5
  import {
6
- Service63,
7
- node68
8
- } from "./file-retention-hk9ksenn.js";
6
+ Service67,
7
+ node72
8
+ } from "./filesystem-brhvyepg.js";
9
9
  import {
10
10
  create3
11
- } from "./file-retention-rdw6cm16.js";
11
+ } from "./filesystem-rdw6cm16.js";
12
12
  import {
13
13
  __export
14
- } from "./file-retention-9rqn6x4v.js";
14
+ } from "./filesystem-9rqn6x4v.js";
15
15
 
16
16
  // src/websearch.ts
17
17
  var exports_websearch3 = {};
18
18
  __export(exports_websearch3, {
19
19
  DisabledError: () => DisabledError2,
20
- Event: () => Event12,
21
- ID: () => ID5,
20
+ Event: () => Event15,
21
+ ID: () => ID11,
22
22
  Input: () => Input14,
23
23
  Provider: () => Provider2,
24
24
  ProviderKey: () => ProviderKey2,
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
28
28
  Response: () => Response2,
29
29
  Result: () => Result2,
30
30
  Selection: () => Selection2,
31
- Service: () => Service49,
31
+ Service: () => Service58,
32
32
  WebSearch: () => exports_websearch3,
33
- node: () => node53
33
+ node: () => node62
34
34
  });
35
35
  import { WebSearch } from "@opencode/schema/websearch";
36
36
  import { SessionEvent } from "@opencode/schema/session-event";
37
37
  import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
38
38
  import { HttpClientError } from "effect/unstable/http";
39
39
  import { makeLocationNode } from "@opencode/util/effect/app-node";
40
- import { Event as Event12 } from "@opencode/schema/websearch";
41
- var ID5 = WebSearch.ID;
40
+ import { Event as Event15 } from "@opencode/schema/websearch";
41
+ var ID11 = WebSearch.ID;
42
42
  var Provider2 = WebSearch.Provider;
43
43
  var Input14 = WebSearch.Input;
44
44
  var Result2 = WebSearch.Result;
45
45
  var Response2 = WebSearch.Response;
46
46
  var ProviderKey2 = "websearch:provider";
47
- var Selection2 = Schema.Union([ID5, Schema.Literal("random"), Schema.Literal(false)]);
47
+ var Selection2 = Schema.Union([ID11, Schema.Literal("random"), Schema.Literal(false)]);
48
48
 
49
49
  class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
50
50
  }
51
51
 
52
52
  class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
53
- providerID: ID5
53
+ providerID: ID11
54
54
  }) {
55
55
  }
56
56
 
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
58
58
  }
59
59
 
60
60
  class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
61
- providerID: ID5,
61
+ providerID: ID11,
62
62
  cause: Schema.Defect()
63
63
  }) {
64
64
  }
65
65
 
66
- class Service49 extends Context.Service()("@opencode/WebSearch") {
66
+ class Service58 extends Context.Service()("@opencode/WebSearch") {
67
67
  }
68
- var layer = Layer.effect(Service49, Effect.gen(function* () {
68
+ var layer = Layer.effect(Service58, Effect.gen(function* () {
69
69
  const bus = yield* Service80;
70
- const kv = yield* Service63;
70
+ const kv = yield* Service67;
71
71
  const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
72
72
  const cooldowns = new Map;
73
73
  const preferred = new Map;
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
124
124
  }
125
125
  return choice ? state.get().providers.get(choice) : undefined;
126
126
  });
127
- return Service49.of({
127
+ return Service58.of({
128
128
  transform: state.transform,
129
129
  reload: state.reload,
130
130
  providers: Effect.fn("WebSearch.providers")(function* () {
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
184
184
  const date = Date.parse(value);
185
185
  return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
186
186
  }
187
- var node53 = makeLocationNode({
188
- service: Service49,
187
+ var node62 = makeLocationNode({
188
+ service: Service58,
189
189
  layer,
190
- deps: [node85, node68]
190
+ deps: [node85, node72]
191
191
  });
192
192
 
193
- export { ID5, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service49, node53, exports_websearch3, Event12 };
193
+ export { ID11, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service58, node62, exports_websearch3, Event15 };
@@ -1,11 +1,11 @@
1
1
  import {
2
- ID14,
3
- Service73
4
- } from "./file-retention-mw7s1qqm.js";
2
+ ID8,
3
+ Service54
4
+ } from "./filesystem-gzprh467.js";
5
5
  import {
6
6
  isAISDK2,
7
7
  packageName2
8
- } from "./file-retention-v6wrn1g2.js";
8
+ } from "./filesystem-8nwmmt46.js";
9
9
 
10
10
  // src/plugin/provider/llmgateway.ts
11
11
  import { Effect } from "effect";
@@ -13,7 +13,7 @@ import { define } from "@opencode/plugin/effect/plugin";
13
13
  var LLMGatewayPlugin2 = define({
14
14
  id: "opencode.provider.llmgateway",
15
15
  effect: Effect.fn(function* (ctx) {
16
- const integrations = yield* Service73;
16
+ const integrations = yield* Service54;
17
17
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
18
18
  yield* ctx.provider.transform((evt) => {
19
19
  for (const item of evt.list()) {
@@ -25,7 +25,7 @@ var LLMGatewayPlugin2 = define({
25
25
  continue;
26
26
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
27
27
  continue;
28
- if (!configured.has(ID14.make(item.provider.id)))
28
+ if (!configured.has(ID8.make(item.provider.id)))
29
29
  continue;
30
30
  evt.update(item.provider.id, (provider) => {
31
31
  provider.headers = {
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-retention-pmc74pb4.js";
4
+ } from "./filesystem-5xy61mm9.js";
5
5
  import {
6
6
  create3
7
- } from "./file-retention-rdw6cm16.js";
7
+ } from "./filesystem-rdw6cm16.js";
8
8
  import {
9
9
  evaluate2
10
- } from "./file-retention-j279vgb3.js";
10
+ } from "./filesystem-nryd581v.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./filesystem-9rqn6x4v.js";
14
14
 
15
15
  // src/skill.ts
16
16
  var exports_skill5 = {};
17
17
  __export(exports_skill5, {
18
18
  DirectorySource: () => DirectorySource2,
19
19
  EmbeddedSource: () => EmbeddedSource2,
20
- Event: () => Event7,
21
- ID: () => ID3,
22
- Info: () => Info6,
20
+ Event: () => Event5,
21
+ ID: () => ID4,
22
+ Info: () => Info5,
23
23
  Name: () => Name2,
24
- Service: () => Service34,
24
+ Service: () => Service32,
25
25
  Skill: () => exports_skill5,
26
- Source: () => Source4,
26
+ Source: () => Source3,
27
27
  UrlSource: () => UrlSource2,
28
28
  available: () => available2,
29
- node: () => node38,
29
+ node: () => node36,
30
30
  prepare: () => prepare3,
31
31
  toModelOutput: () => toModelOutput3
32
32
  });
@@ -34,13 +34,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
34
34
  import path from "path";
35
35
  import { Context, Effect, Layer } from "effect";
36
36
  import { Skill } from "@opencode/schema/skill";
37
- import { Event as Event7 } from "@opencode/schema/skill";
37
+ import { Event as Event5 } from "@opencode/schema/skill";
38
38
  var DirectorySource2 = Skill.DirectorySource;
39
39
  var UrlSource2 = Skill.UrlSource;
40
40
  var EmbeddedSource2 = Skill.EmbeddedSource;
41
- var Source4 = Skill.Source;
42
- var Info6 = Skill.Info;
43
- var ID3 = Skill.ID;
41
+ var Source3 = Skill.Source;
42
+ var Info5 = Skill.Info;
43
+ var ID4 = Skill.ID;
44
44
  var Name2 = Skill.Name;
45
45
  var available2 = (skills, agent) => skills.filter((skill) => evaluate2("skill", skill.id, agent.permissions).effect !== "deny");
46
46
  var toModelOutput3 = (skill, files) => {
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
71
71
  };
72
72
  });
73
73
 
74
- class Service34 extends Context.Service()("@opencode/Skill") {
74
+ class Service32 extends Context.Service()("@opencode/Skill") {
75
75
  }
76
- var layer = Layer.effect(Service34, Effect.gen(function* () {
76
+ var layer = Layer.effect(Service32, Effect.gen(function* () {
77
77
  const bus = yield* Service80;
78
78
  const state = create3({
79
79
  name: "skill",
80
80
  initial: () => ({ skills: new Map }),
81
81
  editor: (editor) => ({
82
82
  list: () => Array.from(editor.skills.values()),
83
- get: (id) => editor.skills.get(ID3.make(id)),
83
+ get: (id) => editor.skills.get(ID4.make(id)),
84
84
  add: (skill) => {
85
85
  editor.skills.set(skill.id, { ...skill });
86
86
  },
87
87
  update: (id, update) => {
88
- const current = editor.skills.get(ID3.make(id));
88
+ const current = editor.skills.get(ID4.make(id));
89
89
  if (!current)
90
90
  return;
91
91
  update(current);
92
- current.id = ID3.make(id);
92
+ current.id = ID4.make(id);
93
93
  },
94
94
  remove: (id) => {
95
- editor.skills.delete(ID3.make(id));
95
+ editor.skills.delete(ID4.make(id));
96
96
  }
97
97
  }),
98
98
  notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
99
99
  });
100
- return Service34.of({
100
+ return Service32.of({
101
101
  transform: state.transform,
102
102
  reload: state.reload,
103
103
  get: Effect.fn("Skill.get")(function* (id) {
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
108
108
  })
109
109
  });
110
110
  }));
111
- var node38 = makeLocationNode({
112
- service: Service34,
111
+ var node36 = makeLocationNode({
112
+ service: Service32,
113
113
  layer,
114
114
  deps: [node85]
115
115
  });
116
116
 
117
- export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info6, ID3, Name2, available2, toModelOutput3, prepare3, Service34, node38, exports_skill5, Event7 };
117
+ export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID4, Name2, available2, toModelOutput3, prepare3, Service32, node36, exports_skill5, Event5 };
@@ -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/tool/plugin/opencode.ts
6
6
  var exports_opencode = {};
7
7
  __export(exports_opencode, {
8
8
  MoveInput: () => MoveInput2,
9
9
  OpenCodeTools: () => exports_opencode,
10
- Plugin: () => Plugin42,
10
+ Plugin: () => Plugin38,
11
11
  RenameInput: () => RenameInput2
12
12
  });
13
13
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
26
26
  })
27
27
  });
28
28
  var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
29
- var Plugin42 = {
29
+ var Plugin38 = {
30
30
  id: "opencode.tools",
31
31
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
32
32
  const hook = (event) => Effect.sync(() => {
@@ -77,4 +77,4 @@ var Plugin42 = {
77
77
  })
78
78
  };
79
79
 
80
- export { RenameInput2, MoveInput2, Plugin42, exports_opencode };
80
+ export { RenameInput2, MoveInput2, Plugin38, exports_opencode };
@@ -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/session/system-prompt.ts
6
6
  var exports_system_prompt = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./file-retention-pmc74pb4.js";
4
+ } from "./filesystem-5xy61mm9.js";
5
5
  import {
6
- Service77,
7
- node82
8
- } from "./file-retention-kcyfyv8v.js";
6
+ Service75,
7
+ node80
8
+ } from "./filesystem-req2f1zf.js";
9
9
  import {
10
- ID12,
11
- Service70,
12
- node75
13
- } from "./file-retention-bsda9gvx.js";
10
+ ID15,
11
+ Service72,
12
+ node77
13
+ } from "./filesystem-dm18e6rv.js";
14
14
  import {
15
15
  NotFoundError9
16
- } from "./file-retention-wxffcvth.js";
16
+ } from "./filesystem-wqkncbjv.js";
17
17
  import {
18
- Service67,
19
- node72
20
- } from "./file-retention-nnmab3m5.js";
18
+ Service71,
19
+ node76
20
+ } from "./filesystem-a38p36g0.js";
21
21
  import {
22
22
  match2
23
- } from "./file-retention-y1fvbwt7.js";
23
+ } from "./filesystem-y1fvbwt7.js";
24
24
  import {
25
- Service68,
26
- node73
27
- } from "./file-retention-m2bm8kgx.js";
25
+ Service70,
26
+ node75
27
+ } from "./filesystem-9v67fpxy.js";
28
28
  import {
29
- Service69,
30
- node74
31
- } from "./file-retention-3zykk5as.js";
29
+ Service73,
30
+ node78
31
+ } from "./filesystem-8de9g2wa.js";
32
32
  import {
33
33
  __export
34
- } from "./file-retention-9rqn6x4v.js";
34
+ } from "./filesystem-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event15,
46
- ID: () => ID9,
45
+ Event: () => Event18,
46
+ ID: () => ID13,
47
47
  NotFoundError: () => NotFoundError8,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply2,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
51
+ Request: () => Request3,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service66,
54
+ Service: () => Service69,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node71
58
+ node: () => node74
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event15 } from "@opencode/schema/permission";
64
+ import { Event as Event18 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID9 = Permission.ID;
67
+ var ID13 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
77
+ var Request3 = Permission.Request;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID9.pipe(Schema.optional),
80
+ id: ID13.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID12.pipe(Schema.optional)
82
+ agent: ID15.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID9,
86
- reply: Reply2,
85
+ requestID: ID13,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID9,
90
+ id: ID13,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
111
111
  }
112
112
 
113
113
  class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID9
114
+ requestID: ID13
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service66 extends Context.Service()("@opencode/Permission") {
128
+ class Service69 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service66, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
131
131
  const bus = yield* Service80;
132
- const location = yield* Service77;
133
- const agents = yield* Service70;
134
- const sessions = yield* Service67;
135
- const saved = yield* Service68;
136
- const hooks = yield* Service69;
132
+ const location = yield* Service75;
133
+ const agents = yield* Service72;
134
+ const sessions = yield* Service71;
135
+ const saved = yield* Service70;
136
+ const hooks = yield* Service73;
137
137
  const pending = new Map;
138
138
  yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
139
139
  discard: true
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
180
180
  });
181
181
  function request(input, message) {
182
182
  return {
183
- id: input.id ?? ID9.create(),
183
+ id: input.id ?? ID13.create(),
184
184
  sessionID: input.sessionID,
185
185
  action: input.action,
186
186
  resources: input.resources,
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
283
283
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
284
284
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
285
285
  });
286
- return Service66.of({ ask, assert, reply, get, forSession, list });
286
+ return Service69.of({ ask, assert, reply, get, forSession, list });
287
287
  }));
288
- var node71 = makeLocationNode({
289
- service: Service66,
288
+ var node74 = makeLocationNode({
289
+ service: Service69,
290
290
  layer,
291
- deps: [node85, node82, node75, node72, node73, node74]
291
+ deps: [node85, node80, node77, node76, node75, node78]
292
292
  });
293
293
 
294
- export { PermissionEffect, ID9, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service66, node71, exports_permission2, Rule3, Ruleset2, Event15 };
294
+ export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service69, node74, exports_permission2, Rule3, Ruleset2, Event18 };