@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service29
|
|
7
|
+
} from "./vcs-4nfsn0ge.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-q3t37ft6.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-3ktbe3hf.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service29;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info24 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info24, key2, exports_connection };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-3ktbe3hf.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-w507q2f7.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-drxdmwv3.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-p5xenmgv.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-nbn9sdm0.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-wwcya7tn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./vcs-ab8cnxkj.js";
|
|
11
|
+
import {
|
|
8
12
|
Service78,
|
|
9
13
|
node82
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service75,
|
|
13
|
-
node79
|
|
14
|
-
} from "./skill-2sga8sv6.js";
|
|
14
|
+
} from "./vcs-b5vk231x.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service29,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node32,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service29 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service29.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node32 = makeLocationNode({
|
|
144
|
+
service: Service29,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, Global.node, node82]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service29, Service29.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID4, Error2, Service29, node32, noopLayer2, exports_snapshot2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options6,
|
|
17
|
+
Service: () => Service43,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured7,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer18,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node47,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options6 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service43 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer18 = (options) => Layer.effect(Service43, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service43.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service43.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer18().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service43).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service43, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured7(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service43, layer: layer18(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node47 = configured7();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export { Event9, hasNativeBinding2, Native3,
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options6, Service43, Test3, layer18, testLayer3, nativeLayer2, nativeNode2, configured7, node47, exports_watcher };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-bzqdwhpx.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service67,
|
|
17
|
+
node: () => node71
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service67 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service83).db;
|
|
26
|
-
return
|
|
26
|
+
return Service67.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node71 = makeGlobalNode({ service: Service67, layer, deps: [node87] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service67, node71, exports_kv };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./vcs-2pwpxv8b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service30,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-s5fd9bya.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service46
|
|
11
|
+
} from "./vcs-pq56qyty.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service73
|
|
14
|
+
} from "./vcs-w507q2f7.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service49
|
|
17
|
+
} from "./vcs-3zadb3ze.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
|
+
Output: () => Output8,
|
|
30
|
+
Plugin: () => Plugin46,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output8 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin46 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service49;
|
|
56
|
+
const fileMutation = yield* Service30;
|
|
57
|
+
const environment = yield* Service56;
|
|
58
|
+
const formatter = yield* Service46;
|
|
59
|
+
const permission = yield* Service73;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input11,
|
|
69
|
+
output: Output8,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output8, toModelContent6, Plugin46, exports_write };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-dj2t23y0.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-wwcya7tn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service42
|
|
7
|
+
} from "./vcs-w9tag6zy.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9w8q0t30.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service42;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID8.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make5();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make5, OllamaPlugin2 };
|