@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,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./file-retention-2a5m3afh.js";
3
+ } from "./filesystem-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./file-retention-922hggd3.js";
6
+ } from "./filesystem-922hggd3.js";
7
7
  import {
8
- Service77
9
- } from "./file-retention-kcyfyv8v.js";
8
+ Service75
9
+ } from "./filesystem-req2f1zf.js";
10
10
  import {
11
- Service54
12
- } from "./file-retention-5ffqwp29.js";
11
+ Service62
12
+ } from "./filesystem-zh0vtjyr.js";
13
13
  import {
14
- Service53
15
- } from "./file-retention-fy1kaafr.js";
14
+ Service61
15
+ } from "./filesystem-gdqqvv7c.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
- Entry2
21
- } from "./file-retention-4z0v33m4.js";
20
+ Entry4
21
+ } from "./filesystem-s2rjst4c.js";
22
22
  import {
23
- Service66
24
- } from "./file-retention-j279vgb3.js";
23
+ Service69
24
+ } from "./filesystem-nryd581v.js";
25
25
  import {
26
- Service52
27
- } from "./file-retention-g2n1kqkx.js";
26
+ Service68
27
+ } from "./filesystem-fcw1zqre.js";
28
28
  import {
29
29
  __export
30
- } from "./file-retention-9rqn6x4v.js";
30
+ } from "./filesystem-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input2,
37
- Output: () => Output2,
38
- Plugin: () => Plugin35,
39
- name: () => name2,
40
- toModelContent: () => toModelContent2
36
+ Input: () => Input9,
37
+ Output: () => Output6,
38
+ Plugin: () => Plugin42,
39
+ name: () => name9,
40
+ toModelContent: () => toModelContent5
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name2 = "glob";
46
- var Input2 = Schema.Struct({
45
+ var name9 = "glob";
46
+ var Input9 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input2 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output2 = Schema.Array(Entry2);
59
- var toModelContent2 = (entries, truncated = false) => {
58
+ var Output6 = Schema.Array(Entry4);
59
+ var toModelContent5 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin35 = {
66
+ var Plugin42 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service54;
70
- const ripgrep = yield* Service53;
71
- const location = yield* Service77;
72
- const access = yield* Service52;
73
- const permission = yield* Service66;
69
+ const environment = yield* Service62;
70
+ const ripgrep = yield* Service61;
71
+ const location = yield* Service75;
72
+ const access = yield* Service68;
73
+ const permission = yield* Service69;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name2,
75
+ name: name9,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input2,
79
- output: Output2,
78
+ input: Input9,
79
+ output: Output6,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name2,
86
+ action: name9,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -111,18 +111,18 @@ var Plugin35 = {
111
111
  orElse: () => Effect.fail(new ToolFailure({
112
112
  message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
113
113
  }))
114
- }), Effect.map((result) => result.map((entry) => Entry2.make({
114
+ }), Effect.map((result) => result.map((entry) => Entry4.make({
115
115
  ...entry,
116
116
  path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
117
117
  }))));
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name2, Input2, Output2, toModelContent2, Plugin35, exports_glob };
128
+ export { name9, Input9, Output6, toModelContent5, Plugin42, exports_glob };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./file-retention-qfa1cgps.js";
3
+ } from "./filesystem-qfa1cgps.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./file-retention-8p4f9s12.js";
6
+ } from "./filesystem-8p4f9s12.js";
7
7
 
8
8
  // src/permission/sql.ts
9
9
  import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service81,
3
3
  node86
4
- } from "./file-retention-924ykxna.js";
4
+ } from "./filesystem-37k0eqq3.js";
5
5
  import {
6
6
  Service80,
7
7
  node85
8
- } from "./file-retention-pmc74pb4.js";
8
+ } from "./filesystem-5xy61mm9.js";
9
9
  import {
10
- Service62,
11
- node67
12
- } from "./file-retention-rg3v5vpq.js";
10
+ Service66,
11
+ node71
12
+ } from "./filesystem-6n2tb6ee.js";
13
13
  import {
14
- Service60,
15
- node65
16
- } from "./file-retention-4m2pmvxz.js";
14
+ Service48,
15
+ node52
16
+ } from "./filesystem-9yr2yfq4.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-retention-ec1grn59.js";
19
+ } from "./filesystem-ec1grn59.js";
20
20
  import {
21
- make19
22
- } from "./file-retention-rhraev7y.js";
21
+ make16
22
+ } from "./filesystem-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service57
26
- } from "./file-retention-f73rjn58.js";
25
+ Service45
26
+ } from "./filesystem-t7n9q6bq.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./file-retention-wxffcvth.js";
29
+ } from "./filesystem-wqkncbjv.js";
30
30
  import {
31
- Service67,
32
- node72
33
- } from "./file-retention-nnmab3m5.js";
31
+ Service71,
32
+ node76
33
+ } from "./filesystem-a38p36g0.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./file-retention-qh7d57mv.js";
36
+ } from "./filesystem-kj1rs0ex.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./file-retention-kgtbg51g.js";
39
+ } from "./filesystem-jfc61th8.js";
40
40
  import {
41
41
  __export
42
- } from "./file-retention-9rqn6x4v.js";
42
+ } from "./filesystem-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service56,
47
+ Service: () => Service44,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer22,
50
- node: () => node62,
49
+ layer: () => layer19,
50
+ node: () => node49,
51
51
  noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service56 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service44 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer22 = Layer.effect(Service56, Effect.gen(function* () {
69
- const store = yield* Service67;
70
- const instances = yield* Service60;
68
+ var layer19 = Layer.effect(Service44, Effect.gen(function* () {
69
+ const store = yield* Service71;
70
+ const instances = yield* Service48;
71
71
  const bus = yield* Service80;
72
- const jobs = yield* Service62;
72
+ const jobs = yield* Service66;
73
73
  const db = (yield* Service81).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer22 = Layer.effect(Service56, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service57.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make19({
91
+ const coordinator = yield* make16({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer22 = Layer.effect(Service56, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service56.of({
112
+ return Service44.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer22 = Layer.effect(Service56, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node62 = makeGlobalNode({
132
- service: Service56,
133
- layer: layer22,
134
- deps: [node72, node65, node85, node86, node67]
131
+ var node49 = makeGlobalNode({
132
+ service: Service44,
133
+ layer: layer19,
134
+ deps: [node76, node52, node85, node86, node71]
135
135
  });
136
- var noopLayer3 = Layer.succeed(Service56, Service56.of({
136
+ var noopLayer3 = Layer.succeed(Service44, Service44.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer3 = Layer.succeed(Service56, Service56.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service56, terminal2, layer22, node62, noopLayer3, exports_execution };
145
+ export { Service44, terminal2, layer19, node49, noopLayer3, exports_execution };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./filesystem-922hggd3.js";
4
4
  import {
5
5
  root2
6
- } from "./file-retention-h4qgb8xj.js";
6
+ } from "./filesystem-cjjf7ytg.js";
7
7
  import {
8
- Service77,
9
- node82
10
- } from "./file-retention-kcyfyv8v.js";
8
+ Service75,
9
+ node80
10
+ } from "./filesystem-req2f1zf.js";
11
11
  import {
12
- Service66,
13
- node71
14
- } from "./file-retention-j279vgb3.js";
12
+ Service69,
13
+ node74
14
+ } from "./filesystem-nryd581v.js";
15
15
  import {
16
16
  __export
17
- } from "./file-retention-9rqn6x4v.js";
17
+ } from "./filesystem-9rqn6x4v.js";
18
18
 
19
19
  // src/file-access.ts
20
20
  var exports_file_access = {};
@@ -22,9 +22,9 @@ __export(exports_file_access, {
22
22
  FileAccess: () => exports_file_access,
23
23
  Kind: () => Kind2,
24
24
  ResolveInput: () => ResolveInput2,
25
- Service: () => Service52,
25
+ Service: () => Service68,
26
26
  externalDirectoryPermission: () => externalDirectoryPermission2,
27
- node: () => node57,
27
+ node: () => node73,
28
28
  resolvePath: () => resolvePath2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ var externalDirectoryPermission2 = (input) => ({
43
43
  save: [input.save]
44
44
  });
45
45
 
46
- class Service52 extends Context.Service()("@opencode/FileAccess") {
46
+ class Service68 extends Context.Service()("@opencode/FileAccess") {
47
47
  }
48
48
  var resolvePath2 = (directory, input, home = Global.Path.home) => {
49
49
  const normalized = FSUtil.windowsPath(input);
@@ -55,10 +55,10 @@ var invocation = (context) => ({
55
55
  agent: context.agent,
56
56
  source: { type: "tool", messageID: context.messageID, id: context.id }
57
57
  });
58
- var layer = Layer.effect(Service52, Effect.gen(function* () {
58
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
59
59
  const fs = yield* FSUtil.Service;
60
- const location = yield* Service77;
61
- const permission = yield* Service66;
60
+ const location = yield* Service75;
61
+ const permission = yield* Service69;
62
62
  const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
63
63
  const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
64
64
  const worktree = path.resolve(location.project.directory);
@@ -107,8 +107,8 @@ var layer = Layer.effect(Service52, Effect.gen(function* () {
107
107
  });
108
108
  return target;
109
109
  });
110
- return Service52.of({ resolve, authorizeExternal, authorizeRead });
110
+ return Service68.of({ resolve, authorizeExternal, authorizeRead });
111
111
  }));
112
- var node57 = makeLocationNode({ service: Service52, layer, deps: [FSUtil.node, node82, node71] });
112
+ var node73 = makeLocationNode({ service: Service68, layer, deps: [FSUtil.node, node80, node74] });
113
113
 
114
- export { Kind2, ResolveInput2, externalDirectoryPermission2, Service52, resolvePath2, node57, exports_file_access };
114
+ export { Kind2, ResolveInput2, externalDirectoryPermission2, Service68, resolvePath2, node73, exports_file_access };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service42
4
- } from "./file-retention-wyj0k83d.js";
3
+ Service41
4
+ } from "./filesystem-b339w5wj.js";
5
5
  import {
6
6
  observe2
7
- } from "./file-retention-qsdy395h.js";
7
+ } from "./filesystem-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./filesystem-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch = {};
14
14
  __export(exports_websearch, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch,
16
- Plugin: () => Plugin15
16
+ Plugin: () => Plugin24
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin15 = define({
20
+ var Plugin24 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service42;
23
+ const config = yield* Service41;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin15 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin15, exports_websearch };
35
+ export { Plugin24, exports_websearch };
@@ -1,32 +1,32 @@
1
- import {
2
- Service43
3
- } from "./file-retention-dmxvr22s.js";
4
1
  import {
5
2
  Service42
6
- } from "./file-retention-wyj0k83d.js";
3
+ } from "./filesystem-axq00zzf.js";
4
+ import {
5
+ Service41
6
+ } from "./filesystem-b339w5wj.js";
7
7
  import {
8
8
  parse2
9
- } from "./file-retention-q1gp8mbh.js";
9
+ } from "./filesystem-qznyv1pd.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./filesystem-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/compatibility.ts
15
15
  var exports_compatibility = {};
16
16
  __export(exports_compatibility, {
17
17
  ConfigCompatibilityPlugin: () => exports_compatibility,
18
- Plugin: () => Plugin7
18
+ Plugin: () => Plugin28
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { FSUtil } from "@opencode/util/fs-util";
22
22
  import path from "path";
23
23
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
24
- var Plugin7 = define({
24
+ var Plugin28 = define({
25
25
  id: "opencode.config.compatibility",
26
26
  effect: Effect.fn(function* (ctx) {
27
- const config = yield* Service42;
27
+ const config = yield* Service41;
28
28
  const fs = yield* FSUtil.Service;
29
- const watcher = yield* Service43;
29
+ const watcher = yield* Service42;
30
30
  const watches = yield* FiberMap.make();
31
31
  const changes = yield* PubSub.sliding(1);
32
32
  const lock = Semaphore.makeUnsafe(1);
@@ -73,4 +73,4 @@ var Plugin7 = define({
73
73
  })
74
74
  });
75
75
 
76
- export { Plugin7, exports_compatibility };
76
+ export { Plugin28, exports_compatibility };