@opencode/core 0.0.0-dev-19781 → 0.0.0-dev-19785
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{skill-pmr4s4kc.js → vcs-00z3vp5f.js} +4 -4
- package/dist/chunks/{skill-a58769br.js → vcs-0fx23v7t.js} +13 -13
- package/dist/chunks/{skill-pjmw00w1.js → vcs-0ke265bw.js} +7 -7
- package/dist/chunks/{skill-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{skill-9z0jgkyq.js → vcs-0pw7v16g.js} +11 -11
- package/dist/chunks/{skill-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{skill-cf386jzp.js → vcs-0q2y8kca.js} +22 -22
- package/dist/chunks/{skill-f5553f35.js → vcs-0xnkv9hy.js} +16 -16
- package/dist/chunks/{skill-w5mp7m1p.js → vcs-0y53qaqx.js} +6 -6
- package/dist/chunks/{skill-9g9a6pjz.js → vcs-16628gpg.js} +26 -26
- package/dist/chunks/{skill-mvfsc1pv.js → vcs-1bbkgx8g.js} +3 -3
- package/dist/chunks/{skill-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{skill-gfz2dz73.js → vcs-1epeszhs.js} +4 -4
- package/dist/chunks/{skill-3h0qmv03.js → vcs-1gjvbnce.js} +51 -51
- package/dist/chunks/{skill-dhs430jm.js → vcs-1mh5gacm.js} +7 -7
- package/dist/chunks/{skill-g0te1pwc.js → vcs-1tcddezv.js} +16 -16
- package/dist/chunks/{skill-56gdpj1q.js → vcs-1ygqh575.js} +9 -9
- package/dist/chunks/{skill-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{skill-6h73sxmp.js → vcs-2402vzrj.js} +5 -5
- package/dist/chunks/{skill-paegk39x.js → vcs-26k5bknw.js} +4 -4
- package/dist/chunks/{skill-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{skill-43g631vq.js → vcs-2f89qttz.js} +10 -10
- package/dist/chunks/{skill-ct3hnehw.js → vcs-2pwpxv8b.js} +24 -24
- package/dist/chunks/{skill-9bewb9gb.js → vcs-310j99qk.js} +19 -19
- package/dist/chunks/{skill-ab9238g2.js → vcs-3b1q5j1v.js} +5 -5
- package/dist/chunks/{skill-r3mz7gnb.js → vcs-3bv27cqa.js} +4 -4
- package/dist/chunks/{skill-37s12vcn.js → vcs-3cfzdc8e.js} +5 -5
- package/dist/chunks/{skill-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-wqkncbjv.js → vcs-3ktbe3hf.js} +6 -6
- package/dist/chunks/{skill-jjs74g98.js → vcs-3pe7sts8.js} +9 -9
- package/dist/chunks/{skill-39g3e4hf.js → vcs-3rp0cmz9.js} +16 -16
- package/dist/chunks/{skill-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-q3zrz506.js → vcs-3sv825xt.js} +9 -9
- package/dist/chunks/{skill-r2qhft99.js → vcs-3tg7y743.js} +13 -13
- package/dist/chunks/{skill-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-mr5zfbep.js → vcs-3zadb3ze.js} +18 -18
- package/dist/chunks/{skill-g8y8jnvk.js → vcs-41a43f7b.js} +11 -11
- package/dist/chunks/{skill-r55vasa2.js → vcs-44h5tttr.js} +4 -4
- package/dist/chunks/{skill-8mpazrfr.js → vcs-4bxxhd7j.js} +4 -4
- package/dist/chunks/{skill-nnrpge9a.js → vcs-4crgsb6x.js} +3 -3
- package/dist/chunks/{skill-cn4269mv.js → vcs-4nfsn0ge.js} +31 -31
- package/dist/chunks/{skill-5sqwv77y.js → vcs-59vv2e99.js} +20 -20
- package/dist/chunks/{skill-x4wnje14.js → vcs-5aqgrrzc.js} +10 -10
- package/dist/chunks/{skill-ahtvjftb.js → vcs-5aznq9v1.js} +32 -32
- package/dist/chunks/{skill-a1bz86dw.js → vcs-5c4hm403.js} +3 -3
- package/dist/chunks/{skill-gfd9ehqq.js → vcs-5cc0bb30.js} +10 -10
- package/dist/chunks/{skill-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{skill-2h1c6f0z.js → vcs-5jsgdwwm.js} +14 -14
- package/dist/chunks/{skill-2qgz9apg.js → vcs-5mvsqaye.js} +26 -26
- package/dist/chunks/{skill-8pmy7j40.js → vcs-5rgn0hmj.js} +29 -29
- package/dist/chunks/{skill-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{skill-ag99x4bk.js → vcs-5tb73dx2.js} +22 -22
- package/dist/chunks/{skill-n4zmxq9n.js → vcs-5wtk0ag7.js} +18 -18
- package/dist/chunks/{skill-e1hrzsan.js → vcs-63fadg39.js} +12 -12
- package/dist/chunks/{skill-hpe5qqet.js → vcs-63wm8qbg.js} +18 -18
- package/dist/chunks/{skill-2yzv72tz.js → vcs-652wwggm.js} +17 -17
- package/dist/chunks/{skill-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{skill-ffyc80xb.js → vcs-68rvd1n8.js} +32 -32
- package/dist/chunks/{skill-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{skill-32f878n1.js → vcs-6nwr3esx.js} +35 -35
- package/dist/chunks/{skill-4k0c456k.js → vcs-6t63dgq1.js} +27 -27
- package/dist/chunks/{skill-796hx4tz.js → vcs-6v5nxwnj.js} +11 -11
- package/dist/chunks/{skill-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-a8bva9nh.js → vcs-7dkem8nx.js} +25 -25
- package/dist/chunks/{skill-03apzv4p.js → vcs-7gw121ap.js} +18 -18
- package/dist/chunks/{skill-883q212s.js → vcs-7jq9wq05.js} +11 -11
- package/dist/chunks/{skill-akkfcatk.js → vcs-7knda3jr.js} +15 -15
- package/dist/chunks/{skill-m0qgwd8r.js → vcs-7s5fspak.js} +22 -22
- package/dist/chunks/{skill-9cdk0yqk.js → vcs-82rqd1r4.js} +26 -26
- package/dist/chunks/vcs-852kcaqb.js +26 -0
- package/dist/chunks/{skill-1cdkq7wy.js → vcs-87c78gvf.js} +20 -20
- package/dist/chunks/{skill-es4bqb7z.js → vcs-87khw5v1.js} +3 -3
- package/dist/chunks/{skill-dxs6sshv.js → vcs-87tt8t7n.js} +1 -1
- package/dist/chunks/{skill-tcezcvh9.js → vcs-89znhe33.js} +4 -4
- package/dist/chunks/{skill-x5kpex70.js → vcs-8aec1g7a.js} +5 -5
- package/dist/chunks/{skill-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{skill-d8nc1xcx.js → vcs-8s8mxddj.js} +4 -4
- package/dist/chunks/{skill-rdzmeg6m.js → vcs-8sr6jhn7.js} +39 -39
- package/dist/chunks/{skill-byf9n0vv.js → vcs-8xz4y4hf.js} +20 -20
- package/dist/chunks/{skill-kx7fq6nw.js → vcs-98yabkd4.js} +23 -23
- package/dist/chunks/{skill-f6r53qga.js → vcs-9bjh12rm.js} +53 -53
- package/dist/chunks/{skill-e8sj2ecg.js → vcs-9hetn29h.js} +30 -30
- package/dist/chunks/{skill-2qek7ejc.js → vcs-9sbmcevh.js} +17 -17
- package/dist/chunks/{skill-ftkegt3c.js → vcs-9w8q0t30.js} +6 -6
- package/dist/chunks/{skill-63kseajn.js → vcs-9wk33xq3.js} +15 -15
- package/dist/chunks/{skill-x2dnnxm0.js → vcs-a4vsw84f.js} +8 -8
- package/dist/chunks/{skill-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{skill-xm1e10md.js → vcs-ab8cnxkj.js} +12 -12
- package/dist/chunks/{skill-qr1zne1w.js → vcs-abngnphj.js} +9 -9
- package/dist/chunks/{skill-ewkdbg4a.js → vcs-amgcv39y.js} +47 -47
- package/dist/chunks/{skill-bym8vryg.js → vcs-aspsebee.js} +36 -36
- package/dist/chunks/{skill-k4k5z6r4.js → vcs-b0n5eer7.js} +37 -37
- package/dist/chunks/{skill-2sga8sv6.js → vcs-b5vk231x.js} +16 -16
- package/dist/chunks/{skill-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{skill-ddyk97kp.js → vcs-b88b36qt.js} +88 -88
- package/dist/chunks/{skill-tcg29b4q.js → vcs-b97cbvw3.js} +1 -1
- package/dist/chunks/{skill-70y17xeh.js → vcs-bgs9y14h.js} +5 -5
- package/dist/chunks/{skill-5a1rh38j.js → vcs-bj010a4e.js} +1 -1
- package/dist/chunks/{skill-aa17q51d.js → vcs-bmsw69pp.js} +9 -9
- package/dist/chunks/{skill-r1jypn23.js → vcs-bqtxcn38.js} +5 -5
- package/dist/chunks/{skill-588g6f1v.js → vcs-bw7qfaz4.js} +13 -13
- package/dist/chunks/{skill-zdwe30dy.js → vcs-bw9zjykr.js} +6 -6
- package/dist/chunks/{skill-pp8nvck3.js → vcs-bym81trf.js} +17 -17
- package/dist/chunks/{skill-0pgn669y.js → vcs-bzqdwhpx.js} +3 -3
- package/dist/chunks/{skill-47y6j0eb.js → vcs-c3z7fafd.js} +11 -11
- package/dist/chunks/{skill-5qewex12.js → vcs-c7xsdp4h.js} +5 -5
- package/dist/chunks/{skill-padf6w16.js → vcs-c9ht2gjq.js} +10 -10
- package/dist/chunks/{skill-x83cf3zz.js → vcs-ccqezsc8.js} +41 -41
- package/dist/chunks/{skill-vpb6fc9w.js → vcs-cfs2dxc1.js} +13 -13
- package/dist/chunks/{skill-1efahwh2.js → vcs-ch1wezp8.js} +14 -14
- package/dist/chunks/{skill-t5tgd288.js → vcs-chde1ykr.js} +47 -47
- package/dist/chunks/{skill-s4t99ejd.js → vcs-chr97fzb.js} +11 -11
- package/dist/chunks/{skill-f6fmtg43.js → vcs-cmj5x0b9.js} +15 -15
- package/dist/chunks/{skill-xth47ccs.js → vcs-cmrxm6dt.js} +26 -26
- package/dist/chunks/{skill-32k681rc.js → vcs-dfgcfsy8.js} +24 -24
- package/dist/chunks/{skill-8p4f9s12.js → vcs-dj2t23y0.js} +2 -2
- package/dist/chunks/{skill-tehvvw71.js → vcs-dpb6x8pb.js} +11 -11
- package/dist/chunks/{skill-y71avatq.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{skill-m2mm692v.js → vcs-drhgqwqs.js} +28 -28
- package/dist/chunks/{skill-r32kzmp2.js → vcs-drxdmwv3.js} +25 -25
- package/dist/chunks/vcs-dwhra0vb.js +39 -0
- package/dist/chunks/{skill-nez38p33.js → vcs-dzpxg698.js} +27 -27
- package/dist/chunks/{skill-zddx4gwb.js → vcs-dzvkfe86.js} +24 -24
- package/dist/chunks/{skill-4rds34pr.js → vcs-e9n56m8b.js} +23 -23
- package/dist/chunks/{skill-6r0f09e0.js → vcs-ea8ygsn2.js} +10 -10
- package/dist/chunks/{skill-eaj1djv9.js → vcs-eaj1djv9.js} +1 -1
- package/dist/chunks/{skill-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-erw5rpbs.js → vcs-erw5rpbs.js} +2 -2
- package/dist/chunks/{skill-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{skill-42xp7179.js → vcs-ey2528a1.js} +6 -6
- package/dist/chunks/{skill-xx19wmgn.js → vcs-f5qc2c8y.js} +9 -9
- package/dist/chunks/{skill-ctcnfb70.js → vcs-f84e67kg.js} +30 -30
- package/dist/chunks/{skill-55e8ccs8.js → vcs-fgzj8cnx.js} +11 -11
- package/dist/chunks/{skill-3j8mtx8s.js → vcs-fmwm7383.js} +21 -21
- package/dist/chunks/{skill-at1kfnmk.js → vcs-fqtvmpfq.js} +8 -8
- package/dist/chunks/{skill-m1f7pz0w.js → vcs-fsb1p155.js} +8 -8
- package/dist/chunks/{skill-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{skill-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-e1djv4hw.js → vcs-gemjw02a.js} +13 -13
- package/dist/chunks/{skill-cwa6csj7.js → vcs-gjwgx2c5.js} +9 -9
- package/dist/chunks/{skill-52fpbh6z.js → vcs-gn2hfjap.js} +8 -8
- package/dist/chunks/{skill-bha4atvq.js → vcs-gnx4ytbv.js} +4 -4
- package/dist/chunks/{skill-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{skill-htyfdac7.js → vcs-gx2jmf58.js} +4 -4
- package/dist/chunks/{skill-329vm4e5.js → vcs-h05jg4r8.js} +5 -5
- package/dist/chunks/{skill-0dth74gn.js → vcs-h2v3dy3j.js} +21 -21
- package/dist/chunks/{skill-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-mcn9s7nm.js → vcs-h8xa7dg2.js} +15 -15
- package/dist/chunks/{skill-f828m53h.js → vcs-hdnk95c8.js} +2 -2
- package/dist/chunks/vcs-ht5y0zrb.js +18 -0
- package/dist/chunks/{skill-arjph0gf.js → vcs-hx81ab3s.js} +9 -9
- package/dist/chunks/{skill-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{skill-c8266qxr.js → vcs-j7t2khjb.js} +7 -7
- package/dist/chunks/{skill-s8610hey.js → vcs-jca4demv.js} +2 -2
- package/dist/chunks/{skill-g2g6v1n0.js → vcs-jp9e6z2n.js} +15 -15
- package/dist/chunks/{skill-mjymc32g.js → vcs-jw80jp6b.js} +4 -4
- package/dist/chunks/{skill-nzks3jc8.js → vcs-k3c624dm.js} +3 -3
- package/dist/chunks/{skill-qp64q39z.js → vcs-k4dbxa3j.js} +4 -4
- package/dist/chunks/{skill-w79xyg81.js → vcs-k5w2x31d.js} +32 -32
- package/dist/chunks/{skill-c3tj9mcm.js → vcs-k5z0nagc.js} +5 -5
- package/dist/chunks/{skill-yr9k88pk.js → vcs-k6e2bkwv.js} +32 -32
- package/dist/chunks/{skill-k9kj6xed.js → vcs-k9kj6xed.js} +2 -2
- package/dist/chunks/{skill-m8xmhadp.js → vcs-kcsm1pvj.js} +9 -9
- package/dist/chunks/{skill-hhmx0ss4.js → vcs-kcy599jp.js} +8 -8
- package/dist/chunks/{skill-5xzhcjbs.js → vcs-krsxfz3g.js} +35 -35
- package/dist/chunks/{skill-wssz113n.js → vcs-kwb80b5k.js} +8 -8
- package/dist/chunks/{skill-cfpkc3c9.js → vcs-m0jqrx5p.js} +2 -2
- package/dist/chunks/{skill-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{skill-v6n7cw65.js → vcs-m54aka91.js} +24 -24
- package/dist/chunks/{skill-7fyfvyjf.js → vcs-m6qb83a4.js} +44 -44
- package/dist/chunks/{skill-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-9fbpzxh0.js → vcs-mjkf3c8a.js} +10 -10
- package/dist/chunks/{skill-trywmmtv.js → vcs-mjr0mt8h.js} +9 -9
- package/dist/chunks/{skill-ckf8nxjz.js → vcs-n4r3xatb.js} +4 -4
- package/dist/chunks/{skill-4ftxqvf5.js → vcs-n9pk4h4w.js} +12 -12
- package/dist/chunks/{skill-59bxbjm2.js → vcs-nax18teq.js} +87 -87
- package/dist/chunks/{skill-p3mtw1cc.js → vcs-nbn9sdm0.js} +30 -30
- package/dist/chunks/{skill-dfkrhcwg.js → vcs-nf743vyw.js} +13 -13
- package/dist/chunks/{skill-q2wawxrj.js → vcs-nghhmp74.js} +13 -13
- package/dist/chunks/{skill-1e8s3sbt.js → vcs-nj697j41.js} +5 -5
- package/dist/chunks/{skill-xa1gmvhb.js → vcs-nt0ka7s2.js} +10 -10
- package/dist/chunks/{skill-r0y7tg34.js → vcs-nw8gd5fb.js} +4 -4
- package/dist/chunks/{skill-2xty5ev1.js → vcs-nxncb47v.js} +28 -28
- package/dist/chunks/{skill-p28j5sbe.js → vcs-p28j5sbe.js} +2 -2
- package/dist/chunks/{skill-8v6pyhej.js → vcs-p37cw4rj.js} +8 -8
- package/dist/chunks/{skill-bn06yfsn.js → vcs-p51bzsg2.js} +9 -9
- package/dist/chunks/{skill-bbwsgbqg.js → vcs-p5mzrbge.js} +23 -23
- package/dist/chunks/{skill-e4p44dew.js → vcs-p5xenmgv.js} +13 -13
- package/dist/chunks/{skill-5qqmgfpg.js → vcs-p6x8tsyv.js} +11 -11
- package/dist/chunks/{skill-af04s6ss.js → vcs-pecb0brz.js} +5 -5
- package/dist/chunks/{skill-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{skill-jacntkb6.js → vcs-pq56qyty.js} +18 -18
- package/dist/chunks/{skill-9jzp6rtr.js → vcs-prq7hedt.js} +9 -9
- package/dist/chunks/{skill-2f04pwep.js → vcs-q3t37ft6.js} +2 -2
- package/dist/chunks/{skill-2k8khapm.js → vcs-qgn6gcr1.js} +5 -5
- package/dist/chunks/{skill-7bgbf20e.js → vcs-qh8vkg5r.js} +14 -14
- package/dist/chunks/{skill-wbkyxrgf.js → vcs-qn4ba14w.js} +5 -5
- package/dist/chunks/{skill-d383cjmk.js → vcs-qp3v07n2.js} +8 -8
- package/dist/chunks/{skill-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-v27f6r8c.js → vcs-r72bb3g5.js} +5 -5
- package/dist/chunks/{skill-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-gq5375a4.js → vcs-rdwk04z4.js} +11 -11
- package/dist/chunks/{skill-1acjjqhc.js → vcs-rhraev7y.js} +4 -4
- package/dist/chunks/{skill-4vk66988.js → vcs-rsmn7858.js} +24 -24
- package/dist/chunks/{skill-yrqgky3m.js → vcs-rxknsg40.js} +3 -3
- package/dist/chunks/{skill-7neaabys.js → vcs-rypz72ax.js} +6 -6
- package/dist/chunks/{skill-4tby7d2r.js → vcs-s5fd9bya.js} +13 -13
- package/dist/chunks/{skill-x6x6mg1e.js → vcs-secw0cph.js} +18 -18
- package/dist/chunks/{skill-6ymymyv8.js → vcs-sf0yp864.js} +6 -6
- package/dist/chunks/{skill-3er12vs3.js → vcs-sgxydaxn.js} +5 -5
- package/dist/chunks/{skill-r5ry3c8t.js → vcs-sk9sa75e.js} +10 -10
- package/dist/chunks/{skill-72d2vvp4.js → vcs-stwz4ehm.js} +11 -11
- package/dist/chunks/{skill-tkmwgdpd.js → vcs-sxz6gkc3.js} +4 -4
- package/dist/chunks/{skill-tgycqx3y.js → vcs-szbm2s3f.js} +15 -15
- package/dist/chunks/{skill-rcz4szk2.js → vcs-t22fsfm1.js} +18 -18
- package/dist/chunks/{skill-hwvyndb6.js → vcs-t9d84gp7.js} +4 -4
- package/dist/chunks/{skill-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-zmxtz5dz.js → vcs-tbrb11cd.js} +25 -25
- package/dist/chunks/{skill-qazf9h94.js → vcs-tcgzje3q.js} +15 -15
- package/dist/chunks/{skill-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{skill-zt6rd191.js → vcs-tgq87g7r.js} +2 -2
- package/dist/chunks/{skill-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{skill-t480tsqf.js → vcs-v8dgcsex.js} +324 -314
- package/dist/chunks/{skill-tbmac1c7.js → vcs-vbfgae2j.js} +4 -4
- package/dist/chunks/{skill-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-f2pzhnjr.js → vcs-vgd24bk5.js} +17 -17
- package/dist/chunks/{skill-06rj1vbk.js → vcs-vtwsqyj5.js} +11 -11
- package/dist/chunks/{skill-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{skill-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-empfa9dr.js → vcs-w507q2f7.js} +41 -41
- package/dist/chunks/{skill-3v9qq9b4.js → vcs-w6egt51a.js} +22 -22
- package/dist/chunks/{skill-q03efnpt.js → vcs-w6rdwwpk.js} +20 -20
- package/dist/chunks/{skill-m2trgs3z.js → vcs-w8f6gg2r.js} +6 -6
- package/dist/chunks/{skill-as0kbg0d.js → vcs-w9tag6zy.js} +46 -46
- package/dist/chunks/{skill-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{skill-mt7f826v.js → vcs-wq258bpn.js} +12 -12
- package/dist/chunks/{skill-n1zg9nfq.js → vcs-wwcya7tn.js} +32 -32
- package/dist/chunks/{skill-vfha68tf.js → vcs-wxr3dhjj.js} +43 -43
- package/dist/chunks/{skill-va5qff5x.js → vcs-wzz0kxab.js} +7 -7
- package/dist/chunks/{skill-kqdjv8c6.js → vcs-x0jfpzvg.js} +8 -8
- package/dist/chunks/{skill-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{skill-91q82vhf.js → vcs-x7d0x6q6.js} +3 -3
- package/dist/chunks/{skill-dk79p1ja.js → vcs-xa74ze7z.js} +11 -11
- package/dist/chunks/{skill-xpkpynps.js → vcs-xbszvevf.js} +5 -5
- package/dist/chunks/{skill-bckc8wvw.js → vcs-xbzr4842.js} +10 -10
- package/dist/chunks/{skill-xfkkasph.js → vcs-xfkkasph.js} +1 -1
- package/dist/chunks/{skill-vt1g1jfr.js → vcs-xmtatqnz.js} +6 -6
- package/dist/chunks/{skill-w4maa8aq.js → vcs-xne93zxg.js} +25 -25
- package/dist/chunks/{skill-gqa0vmqq.js → vcs-xqy2jv1b.js} +18 -18
- package/dist/chunks/{skill-yfa8qwxp.js → vcs-xs95kvv9.js} +29 -29
- package/dist/chunks/{skill-7v81x33d.js → vcs-y15vpdnr.js} +9 -9
- package/dist/chunks/{skill-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-stzm5fxb.js → vcs-y32wt6xw.js} +178 -178
- package/dist/chunks/{skill-3ghwapy8.js → vcs-y3vfhrfn.js} +19 -19
- package/dist/chunks/{skill-hhncbc8t.js → vcs-y5n5kske.js} +31 -31
- package/dist/chunks/{skill-t2jpfxbm.js → vcs-y8393236.js} +28 -28
- package/dist/chunks/{skill-bfmf5phk.js → vcs-yanwfe4v.js} +8 -8
- package/dist/chunks/{skill-fvjzv3ea.js → vcs-yetev2tk.js} +16 -16
- package/dist/chunks/{skill-ckna712q.js → vcs-yfjz3sjy.js} +18 -18
- package/dist/chunks/{skill-6q9pw9gf.js → vcs-yj68pm2f.js} +17 -17
- package/dist/chunks/{skill-rfqjg8kw.js → vcs-yjvtf5xb.js} +18 -18
- package/dist/chunks/{skill-hp9xfq4w.js → vcs-yn2sv961.js} +70 -70
- package/dist/chunks/{skill-hbjtr9em.js → vcs-yq77jy9s.js} +23 -23
- package/dist/chunks/{skill-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{skill-yrznvahk.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{skill-t2f432b1.js → vcs-yv3895hn.js} +4 -4
- package/dist/chunks/{skill-q42qn1ma.js → vcs-ywb737yt.js} +7 -7
- package/dist/chunks/vcs-yxjxtxhs.js +252 -0
- package/dist/chunks/{skill-5mmsqj0h.js → vcs-yy0rdpft.js} +23 -23
- package/dist/chunks/{skill-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-1anjdmjf.js → vcs-z1e9x04n.js} +16 -16
- package/dist/chunks/{skill-z63w68vq.js → vcs-z63w68vq.js} +2 -2
- package/dist/chunks/{skill-ytej9nnt.js → vcs-z8nsjcdm.js} +3 -3
- package/dist/chunks/{skill-r0jwsb2x.js → vcs-zd2ardjm.js} +26 -26
- package/dist/chunks/{skill-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{skill-sw6vkmd2.js → vcs-zn7065ss.js} +37 -36
- package/dist/chunks/{skill-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-5m650ct4.js → vcs-zsek5znr.js} +37 -37
- package/dist/chunks/{skill-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +358 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +355 -354
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +135 -0
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +115 -115
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +118 -118
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/config/plugin/command.d.ts +1 -1
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/plugin/compaction.d.ts +3 -0
- package/dist/types/plugin/internal.d.ts +2 -2
- package/dist/types/session/compaction.d.ts +16 -1
- package/dist/types/session/execution/restart.d.ts +1 -1
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/types/tool/plugin/subagent.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/skill-f81tjggh.js +0 -18
- package/dist/chunks/skill-sa7q9zev.js +0 -26
- package/dist/chunks/skill-v0te9b3y.js +0 -252
- /package/dist/chunks/{skill-0mesazry.js → vcs-0mesazry.js} +0 -0
- /package/dist/chunks/{skill-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-gx2jmf58.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./vcs-b5vk231x.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service33,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node37
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service33 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service82;
|
|
44
|
-
const location = yield*
|
|
44
|
+
const location = yield* Service78;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service78, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service33.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node37 = makeLocationNode({ service: Service33, layer, deps: [node86, node82] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service33, node37, exports_rpc, define2 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service72
|
|
3
|
+
} from "./vcs-yq77jy9s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./vcs-w507q2f7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service35
|
|
14
|
+
} from "./vcs-98yabkd4.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input12,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin47,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description5,
|
|
27
|
+
name: () => name12
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name12 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description5 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input12 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin47 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service73;
|
|
53
|
+
const forms = yield* Service72;
|
|
54
|
+
const websearch = yield* Service35;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name12,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description5,
|
|
59
|
+
input: Input12,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name12,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name12];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name12, NO_RESULTS2, description5, Input12, Plugin47, exports_websearch2 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-k3c624dm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service48,
|
|
17
|
+
node52
|
|
18
|
+
} from "./vcs-y15vpdnr.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service76,
|
|
21
|
+
node80
|
|
22
|
+
} from "./vcs-fqtvmpfq.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service47,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node51
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service47 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service76;
|
|
58
|
+
const image = yield* Service48;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service47.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
|
|
@@ -272,10 +272,10 @@ function namespaceError(name) {
|
|
|
272
272
|
return;
|
|
273
273
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
274
274
|
}
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node51 = makeLocationNode({
|
|
276
|
+
service: Service47,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [
|
|
278
|
+
deps: [node80, node52]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export { RegistrationError2,
|
|
281
|
+
export { RegistrationError2, Service47, node51, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service42
|
|
4
|
+
} from "./vcs-w9tag6zy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./vcs-h8xa7dg2.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
17
17
|
__export(exports_shell, {
|
|
18
18
|
ConfigShellPlugin: () => exports_shell,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin35
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin35 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service42;
|
|
27
|
+
const shell = yield* Service45;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin8 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin35, exports_shell };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service77
|
|
4
|
+
} from "./vcs-fmwm7383.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service78
|
|
7
|
+
} from "./vcs-b5vk231x.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service42
|
|
10
|
+
} from "./vcs-w9tag6zy.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service45,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-h8xa7dg2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service16
|
|
17
|
+
} from "./vcs-b88b36qt.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make9
|
|
20
|
+
} from "./vcs-rdwk04z4.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./vcs-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin34
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin34 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service42;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin19 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service78;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service45;
|
|
60
|
+
const sessions = yield* Service16;
|
|
61
|
+
const agents = yield* Service77;
|
|
62
|
+
const subagents = yield* make9;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin19 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID16.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin34, exports_command2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-gx2jmf58.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service71,
|
|
8
|
+
node75
|
|
9
|
+
} from "./vcs-rsmn7858.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-yq77jy9s.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event15,
|
|
35
|
+
ID: () => ID10,
|
|
36
|
+
Info: () => Info25,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service70,
|
|
44
|
+
node: () => node74
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
66
|
+
var ID10 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info25 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -94,19 +94,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
97
|
-
integrationID:
|
|
97
|
+
integrationID: ID10,
|
|
98
98
|
attemptID: AttemptID2
|
|
99
99
|
}) {
|
|
100
100
|
}
|
|
101
101
|
var Ref3 = Integration.Ref;
|
|
102
102
|
|
|
103
|
-
class
|
|
103
|
+
class Service70 extends Context.Service()("@opencode/Integration") {
|
|
104
104
|
}
|
|
105
105
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
106
106
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
107
107
|
var scrubInterval = Duration.seconds(30);
|
|
108
|
-
var layer = Layer.effect(
|
|
109
|
-
const credentials = yield*
|
|
108
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
109
|
+
const credentials = yield* Service71;
|
|
110
110
|
const bus = yield* Service82;
|
|
111
111
|
const processes = yield* AppProcess.Service;
|
|
112
112
|
const scope = yield* Scope.Scope;
|
|
@@ -200,7 +200,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
200
200
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
201
201
|
return [...credentials, ...env];
|
|
202
202
|
};
|
|
203
|
-
const project = (entry, connections) =>
|
|
203
|
+
const project = (entry, connections) => Info25.make({
|
|
204
204
|
id: entry.ref.id,
|
|
205
205
|
name: entry.ref.name,
|
|
206
206
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -430,7 +430,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
430
430
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
431
431
|
return CommandAttempt2.make({ attemptID, time });
|
|
432
432
|
});
|
|
433
|
-
return
|
|
433
|
+
return Service70.of({
|
|
434
434
|
transform: state.transform,
|
|
435
435
|
reload: state.reload,
|
|
436
436
|
revision: state.revision,
|
|
@@ -579,10 +579,10 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
|
579
579
|
}
|
|
580
580
|
});
|
|
581
581
|
}));
|
|
582
|
-
var
|
|
583
|
-
service:
|
|
582
|
+
var node74 = makeLocationNode({
|
|
583
|
+
service: Service70,
|
|
584
584
|
layer,
|
|
585
|
-
deps: [
|
|
585
|
+
deps: [node75, node86, AppProcess.node]
|
|
586
586
|
});
|
|
587
587
|
|
|
588
|
-
export {
|
|
588
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info25, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service70, node74, exports_integration, Event15 };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service11
|
|
3
|
+
} from "./vcs-zn7065ss.js";
|
|
4
|
+
import {
|
|
5
|
+
__export
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
|
+
|
|
8
|
+
// src/plugin/compaction.ts
|
|
9
|
+
var exports_compaction = {};
|
|
10
|
+
__export(exports_compaction, {
|
|
11
|
+
NativeCompactionPlugin: () => exports_compaction,
|
|
12
|
+
Plugin: () => Plugin12
|
|
13
|
+
});
|
|
14
|
+
import { LLMClient, Message } from "@opencode/ai";
|
|
15
|
+
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
|
+
import { Effect } from "effect";
|
|
17
|
+
var Plugin12 = define({
|
|
18
|
+
id: "opencode.compaction.native",
|
|
19
|
+
effect: Effect.fn("NativeCompactionPlugin")(function* () {
|
|
20
|
+
const llm = yield* LLMClient.Service;
|
|
21
|
+
const compaction = yield* Service11;
|
|
22
|
+
yield* compaction.transform((editor) => {
|
|
23
|
+
editor.native((input) => {
|
|
24
|
+
const request = input.request;
|
|
25
|
+
if (LLMClient.canCompact(request, { mechanism: "trigger" }))
|
|
26
|
+
return Effect.gen(function* () {
|
|
27
|
+
const retained = yield* input.retained;
|
|
28
|
+
const result = yield* llm.compact(request, { ...input.options, mechanism: "trigger" });
|
|
29
|
+
return { replacement: [...retained, Message.assistant(result.checkpoint)], usage: result.usage };
|
|
30
|
+
});
|
|
31
|
+
if (LLMClient.canCompact(request))
|
|
32
|
+
return llm.compact(request, { mechanism: "endpoint", http: input.options.http });
|
|
33
|
+
return;
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export { Plugin12, exports_compaction };
|