@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,50 +1,50 @@
1
1
  import {
2
- Service43
3
- } from "./file-retention-dmxvr22s.js";
2
+ Service42
3
+ } from "./filesystem-axq00zzf.js";
4
4
  import {
5
5
  AbsolutePath2
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
- Service42
12
- } from "./file-retention-wyj0k83d.js";
11
+ Service41
12
+ } from "./filesystem-b339w5wj.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source4
17
- } from "./file-retention-kf3rtttb.js";
16
+ Source3
17
+ } from "./filesystem-ndh7jbby.js";
18
18
  import {
19
19
  Service12
20
- } from "./file-retention-h7ygw6q4.js";
20
+ } from "./filesystem-h7ygw6q4.js";
21
21
  import {
22
22
  parse2
23
- } from "./file-retention-q1gp8mbh.js";
23
+ } from "./filesystem-qznyv1pd.js";
24
24
  import {
25
25
  __export
26
- } from "./file-retention-9rqn6x4v.js";
26
+ } from "./filesystem-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill = {};
30
- __export(exports_skill, {
31
- ConfigSkillPlugin: () => exports_skill,
32
- Plugin: () => Plugin16
29
+ var exports_skill2 = {};
30
+ __export(exports_skill2, {
31
+ ConfigSkillPlugin: () => exports_skill2,
32
+ Plugin: () => Plugin17
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin16 = define({
39
+ var Plugin17 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service42;
42
+ const config = yield* Service41;
43
43
  const discovery = yield* Service12;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service77;
47
- const watcher = yield* Service43;
46
+ const location = yield* Service75;
47
+ const watcher = yield* Service42;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin16 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source4.equals(item, source)))
90
+ if (result.some((item) => Source3.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin16 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source4.key(source),
115
+ source: Source3.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin16 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source4.key(source),
144
+ source: Source3.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin16 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source4.key),
163
+ sources: current.map(Source3.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin16 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin16, exports_skill };
179
+ export { Plugin17, exports_skill2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  BlockedError2
3
- } from "./file-retention-j279vgb3.js";
3
+ } from "./filesystem-nryd581v.js";
4
4
  import {
5
5
  __export
6
- } from "./file-retention-9rqn6x4v.js";
6
+ } from "./filesystem-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/plan.ts
9
9
  var exports_plan = {};
10
10
  __export(exports_plan, {
11
11
  PlanPlugin: () => exports_plan,
12
- Plugin: () => Plugin28
12
+ Plugin: () => Plugin15
13
13
  });
14
14
  import { Message, ToolFailure } from "@opencode/ai";
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
29
29
  var leave = `<system-reminder>
30
30
  You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
31
31
  </system-reminder>`;
32
- var Plugin28 = define({
32
+ var Plugin15 = define({
33
33
  id: "opencode.plan",
34
34
  effect: Effect.fn(function* (ctx) {
35
35
  const global = yield* Global.Service;
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
106
106
  }, undefined);
107
107
  }
108
108
 
109
- export { Plugin28, exports_plan };
109
+ export { Plugin15, exports_plan };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./file-retention-emrn6kk6.js";
7
+ } from "./filesystem-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -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/v1/config/permission.ts
6
6
  var exports_permission = {};
@@ -1,63 +1,63 @@
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
10
  CredentialTable2
11
- } from "./file-retention-pknna89w.js";
11
+ } from "./filesystem-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./file-retention-0q0f95c6.js";
14
+ } from "./filesystem-0q0f95c6.js";
15
15
  import {
16
16
  __export
17
- } from "./file-retention-9rqn6x4v.js";
17
+ } from "./filesystem-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event20,
24
- ID: () => ID16,
25
- Info: () => Info30,
26
- Key: () => Key4,
23
+ Event: () => Event14,
24
+ ID: () => ID10,
25
+ Info: () => Info23,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service75,
28
+ Service: () => Service56,
29
29
  Value: () => Value2,
30
- node: () => node80
30
+ node: () => node60
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID16 = Credential.ID;
37
+ var ID10 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event20 = Credential.Event;
41
+ var Event14 = Credential.Event;
42
42
 
43
- class Info30 extends Schema.Class("Credential.Info")({
44
- id: ID16,
43
+ class Info23 extends Schema.Class("Credential.Info")({
44
+ id: ID10,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service75 extends Context.Service()("@opencode/Credential") {
51
+ class Service56 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service75, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service56, Effect.gen(function* () {
54
54
  const db = (yield* Service81).db;
55
55
  const bus = yield* Service80;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info30({
60
+ return new Info23({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service75.of({
71
+ return Service56.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info30({
80
- id: ID16.create(),
79
+ const credential = new Info23({
80
+ id: ID10.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event20.Updated, {}, { global: true });
105
- yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event14.Updated, {}, { global: true });
105
+ yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event20.Updated, {}, { global: true });
157
+ yield* bus.publish(Event14.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event20.Updated, {}, { global: true });
190
+ yield* bus.publish(Event14.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node80 = makeGlobalNode({ service: Service75, layer, deps: [node86, node85] });
196
+ var node60 = makeGlobalNode({ service: Service56, layer, deps: [node86, node85] });
197
197
 
198
- export { ID16, OAuth3, Key4, Value2, Event20, Info30, Service75, node80, exports_credential };
198
+ export { ID10, OAuth3, Key3, Value2, Event14, Info23, Service56, node60, exports_credential };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service60
3
- } from "./file-retention-4m2pmvxz.js";
2
+ Service48
3
+ } from "./filesystem-9yr2yfq4.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./file-retention-q509s3k3.js";
6
+ } from "./filesystem-pf31ssb9.js";
7
7
  import {
8
- Service40
9
- } from "./file-retention-4gyxjxrp.js";
8
+ Service38
9
+ } from "./filesystem-skz9jdxs.js";
10
10
  import {
11
11
  unavailable2
12
- } from "./file-retention-fxbjtjnd.js";
12
+ } from "./filesystem-fxbjtjnd.js";
13
13
  import {
14
14
  __export
15
- } from "./file-retention-9rqn6x4v.js";
15
+ } from "./filesystem-9rqn6x4v.js";
16
16
 
17
17
  // src/session/shell.ts
18
18
  var exports_shell3 = {};
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service60;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service40), instances.provide(input.session));
25
+ const instances = yield* Service48;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./file-retention-922hggd3.js";
3
+ } from "./filesystem-922hggd3.js";
4
4
  import {
5
- Info6,
6
- ID3,
5
+ Info5,
6
+ ID4,
7
7
  Name2
8
- } from "./file-retention-kf3rtttb.js";
8
+ } from "./filesystem-ndh7jbby.js";
9
9
  import {
10
- Service42
11
- } from "./file-retention-wyj0k83d.js";
10
+ Service41
11
+ } from "./filesystem-b339w5wj.js";
12
12
  import {
13
13
  __export
14
- } from "./file-retention-9rqn6x4v.js";
14
+ } from "./filesystem-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill2 = {};
18
- __export(exports_skill2, {
17
+ var exports_skill = {};
18
+ __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin31,
21
+ Plugin: () => Plugin10,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill2
23
+ SkillPlugin: () => exports_skill
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -421,20 +421,20 @@ var OpencodeContent2 = opencode_default;
421
421
  var ReportContent2 = report_default;
422
422
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
423
423
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
424
- var Plugin31 = define({
424
+ var Plugin10 = define({
425
425
  id: "opencode.skill",
426
426
  effect: Effect.fn(function* (ctx) {
427
427
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
428
428
  yield* ctx.skill.transform((editor) => {
429
- editor.add(Info6.make({
430
- id: ID3.make("opencode"),
429
+ editor.add(Info5.make({
430
+ id: ID4.make("opencode"),
431
431
  name: Name2.make("OpenCode"),
432
432
  description: OpencodeDescription2,
433
433
  path: AbsolutePath2.make("/builtin/opencode.md"),
434
434
  content: OpencodeContent2
435
435
  }));
436
- editor.add(Info6.make({
437
- id: ID3.make("report"),
436
+ editor.add(Info5.make({
437
+ id: ID4.make("report"),
438
438
  name: Name2.make("Report"),
439
439
  description: REPORT_DESCRIPTION,
440
440
  path: AbsolutePath2.make("/builtin/report.md"),
@@ -462,7 +462,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
462
462
  `);
463
463
  });
464
464
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
465
- const config = yield* Service42;
465
+ const config = yield* Service41;
466
466
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
467
467
  });
468
468
  function terminal() {
@@ -476,4 +476,4 @@ function shell() {
476
476
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
477
477
  }
478
478
 
479
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin31, exports_skill2 };
479
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin10, exports_skill };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service81
3
- } from "./file-retention-924ykxna.js";
3
+ } from "./filesystem-37k0eqq3.js";
4
4
  import {
5
5
  Service80
6
- } from "./file-retention-pmc74pb4.js";
6
+ } from "./filesystem-5xy61mm9.js";
7
7
  import {
8
- Service60
9
- } from "./file-retention-4m2pmvxz.js";
8
+ Service48
9
+ } from "./filesystem-9yr2yfq4.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./file-retention-922hggd3.js";
12
+ } from "./filesystem-922hggd3.js";
13
13
  import {
14
- ID6,
15
- Service50
16
- } from "./file-retention-w6k2nhch.js";
14
+ ID5,
15
+ Service34
16
+ } from "./filesystem-0m11qpm4.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./file-retention-ec1grn59.js";
19
+ } from "./filesystem-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./file-retention-gftt206x.js";
22
+ } from "./filesystem-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./file-retention-wxffcvth.js";
25
+ } from "./filesystem-wqkncbjv.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./file-retention-a1bz86dw.js";
28
+ } from "./filesystem-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./file-retention-9rqn6x4v.js";
31
+ } from "./filesystem-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service60;
45
+ const instances = yield* Service48;
46
46
  const database = yield* Service81;
47
47
  const bus = yield* Service80;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service50;
50
- const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service34;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service60;
77
+ const instances = yield* Service48;
78
78
  const bus = yield* Service80;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service50;
80
+ const snapshot = yield* Service34;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID6.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveNullableObjectPaths2,
3
3
  mapResultRow2
4
- } from "./file-retention-emrn6kk6.js";
4
+ } from "./filesystem-emrn6kk6.js";
5
5
  import {
6
6
  SQLiteEffectDatabase2
7
- } from "./file-retention-tvh2peyk.js";
7
+ } from "./filesystem-s1aps666.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/session.ts
10
10
  import * as Cause from "effect/Cause";
@@ -1,35 +1,35 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./file-retention-kcyfyv8v.js";
2
+ Service75,
3
+ node80
4
+ } from "./filesystem-req2f1zf.js";
5
5
  import {
6
- Key3,
7
- make21,
6
+ Key4,
7
+ make20,
8
8
  combine2
9
- } from "./file-retention-s8d7rejh.js";
9
+ } from "./filesystem-02nrjc1r.js";
10
10
  import {
11
11
  __export
12
- } from "./file-retention-9rqn6x4v.js";
12
+ } from "./filesystem-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service18,
19
- node: () => node22
18
+ Service: () => Service20,
19
+ node: () => node24
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service18 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service20 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service18, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service77;
29
- return Service18.of({
28
+ const location = yield* Service75;
29
+ return Service20.of({
30
30
  load: (sessionID) => Effect.succeed(combine2([
31
- make21({
32
- key: Key3.make("core/environment"),
31
+ make20({
32
+ key: Key4.make("core/environment"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: Effect.sync(() => [
35
35
  "<env>",
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
49
49
  `)
50
50
  }
51
51
  }),
52
- make21({
53
- key: Key3.make("core/date"),
52
+ make20({
53
+ key: Key4.make("core/date"),
54
54
  codec: Schema.toCodecJson(Schema.String),
55
55
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
56
56
  render: {
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
61
61
  ]))
62
62
  });
63
63
  }));
64
- var node22 = makeLocationNode({ service: Service18, layer, deps: [Global.node, node82] });
64
+ var node24 = makeLocationNode({ service: Service20, layer, deps: [Global.node, node80] });
65
65
 
66
- export { Service18, node22, exports_builtins };
66
+ export { Service20, node24, exports_builtins };