@opencode/core 0.0.0-dev-19540 → 0.0.0-dev-19543
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{tool-7690wq37.js → vcs-0134vnbt.js} +6 -6
- package/dist/chunks/{tool-t550f9t1.js → vcs-02nrjc1r.js} +8 -8
- package/dist/chunks/{tool-71b76pde.js → vcs-05ar9k21.js} +12 -12
- package/dist/chunks/{tool-ba3nnyyx.js → vcs-0beevc0q.js} +10 -10
- package/dist/chunks/{tool-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0q0f95c6.js → vcs-0q0f95c6.js} +1 -1
- package/dist/chunks/{tool-4cbqng7e.js → vcs-0z4vcyj9.js} +8 -8
- package/dist/chunks/{tool-c74bb4fg.js → vcs-0zqhpepf.js} +290 -290
- package/dist/chunks/{tool-m70012hk.js → vcs-11ngpntp.js} +16 -16
- package/dist/chunks/{tool-8wagbt41.js → vcs-15zpymrv.js} +25 -25
- package/dist/chunks/{tool-1acjjqhc.js → vcs-1acjjqhc.js} +1 -1
- package/dist/chunks/{tool-eq1pz5kg.js → vcs-1bbkgx8g.js} +3 -3
- package/dist/chunks/{tool-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-wadft2hn.js → vcs-1jhwq68e.js} +28 -28
- package/dist/chunks/{tool-xk01n904.js → vcs-216091zf.js} +11 -11
- package/dist/chunks/{tool-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{tool-439n1kaq.js → vcs-234dm2bj.js} +2 -2
- package/dist/chunks/{tool-2402vzrj.js → vcs-2402vzrj.js} +1 -1
- package/dist/chunks/{tool-qnhx320f.js → vcs-2a2n1f8e.js} +9 -9
- package/dist/chunks/{tool-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-gs4q6mge.js → vcs-2c706wqc.js} +5 -5
- package/dist/chunks/{tool-ds93jj24.js → vcs-2djskdmr.js} +3 -3
- package/dist/chunks/{tool-r7h76vv8.js → vcs-2hg3qswx.js} +9 -9
- package/dist/chunks/{tool-0jwsre1p.js → vcs-2k8khapm.js} +5 -5
- package/dist/chunks/{tool-5cmqm0ev.js → vcs-2kndbphh.js} +6 -6
- package/dist/chunks/{tool-awtg3954.js → vcs-2paythm0.js} +36 -33
- package/dist/chunks/{tool-8557jav9.js → vcs-2rka0yp2.js} +89 -89
- package/dist/chunks/{tool-gg4bq2q4.js → vcs-2zqsmd4h.js} +5 -5
- package/dist/chunks/{tool-c8ftv886.js → vcs-36n397ms.js} +10 -10
- package/dist/chunks/{tool-6jjd6916.js → vcs-37d2dft6.js} +11 -11
- package/dist/chunks/{tool-bajakh74.js → vcs-3c4e3q8d.js} +4 -4
- package/dist/chunks/{tool-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-kxqpg2a3.js → vcs-3pra5n8k.js} +6 -6
- package/dist/chunks/{tool-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-k6yq57aq.js → vcs-3yjg5mh2.js} +3 -3
- package/dist/chunks/{tool-ee4a09y5.js → vcs-43cgbf58.js} +10 -10
- package/dist/chunks/{tool-1jqgrzzt.js → vcs-4840zrk7.js} +8 -8
- package/dist/chunks/{tool-rdqxydgw.js → vcs-49ayzkvm.js} +16 -16
- package/dist/chunks/{tool-k2dherqe.js → vcs-4b40vsya.js} +1 -1
- package/dist/chunks/{tool-brahnmae.js → vcs-4dz39p50.js} +13 -13
- package/dist/chunks/{tool-n02csdyp.js → vcs-4e3dqy5p.js} +15 -15
- package/dist/chunks/{tool-60cvmy65.js → vcs-4td4y4b3.js} +1 -1
- package/dist/chunks/{tool-aedkfdwe.js → vcs-5043qghc.js} +16 -16
- package/dist/chunks/{tool-bnxh6nf1.js → vcs-52wk4g8k.js} +25 -25
- package/dist/chunks/{tool-r6w0w95m.js → vcs-55qfk59p.js} +25 -25
- package/dist/chunks/{tool-70wdtdtz.js → vcs-55rxggf2.js} +70 -70
- package/dist/chunks/{tool-33w4ejhs.js → vcs-56gdpj1q.js} +6 -6
- package/dist/chunks/{tool-a1bz86dw.js → vcs-5c4hm403.js} +3 -3
- package/dist/chunks/{tool-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-s7cmhz1c.js → vcs-5rrcxc33.js} +38 -38
- package/dist/chunks/{tool-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-zvsxz435.js → vcs-616b6p7x.js} +16 -16
- package/dist/chunks/{tool-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{tool-ctgxkhvw.js → vcs-68wdhjxv.js} +10 -10
- package/dist/chunks/{tool-2z7ees0g.js → vcs-6cqd20xf.js} +4 -4
- package/dist/chunks/{tool-khcc2y7p.js → vcs-6f856eqw.js} +12 -12
- package/dist/chunks/{tool-2fvqh1y6.js → vcs-6gxskptp.js} +22 -22
- package/dist/chunks/{tool-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{tool-j12s1dt6.js → vcs-6n88yxkj.js} +8 -8
- package/dist/chunks/{tool-1c8etqjp.js → vcs-6p5hnz19.js} +7 -7
- package/dist/chunks/{tool-0nbbv2dg.js → vcs-6qnngr69.js} +92 -92
- package/dist/chunks/{tool-cf4qthmf.js → vcs-6s315dww.js} +22 -22
- package/dist/chunks/{tool-kac23fkg.js → vcs-6t11chne.js} +1 -1
- package/dist/chunks/{tool-a4s526ga.js → vcs-6yvesre5.js} +23 -23
- package/dist/chunks/{tool-52fpbh6z.js → vcs-703jyx7f.js} +8 -8
- package/dist/chunks/{tool-71q4at8m.js → vcs-71q4at8m.js} +1 -1
- package/dist/chunks/{tool-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-nwa6tt5d.js → vcs-7t19srph.js} +1 -1
- package/dist/chunks/{tool-dssyvqwy.js → vcs-7wvtvwa1.js} +35 -35
- package/dist/chunks/{tool-k2vvnb2e.js → vcs-7zbr7ykm.js} +27 -27
- package/dist/chunks/{tool-0veevydg.js → vcs-817xngw7.js} +30 -30
- package/dist/chunks/{tool-k641sm4f.js → vcs-828cj25e.js} +15 -15
- package/dist/chunks/{tool-c3nr3a1t.js → vcs-83khedfr.js} +29 -29
- package/dist/chunks/{tool-q26tgv94.js → vcs-844ef7ks.js} +8 -8
- package/dist/chunks/{tool-ekx6gx0x.js → vcs-84gdrbxj.js} +11 -11
- package/dist/chunks/{tool-tcezcvh9.js → vcs-89znhe33.js} +4 -4
- package/dist/chunks/{tool-69xwbkdg.js → vcs-8b3yqjbd.js} +26 -26
- package/dist/chunks/{tool-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-9j2xpqw0.js → vcs-8xm6sxyw.js} +28 -28
- package/dist/chunks/{tool-a694798e.js → vcs-8y31xnqm.js} +5 -5
- package/dist/chunks/{tool-wwmkx8c8.js → vcs-91s55bq6.js} +28 -28
- package/dist/chunks/{tool-19w2tstg.js → vcs-93s725x3.js} +30 -30
- package/dist/chunks/{tool-1r6pjnw8.js → vcs-9488ffsa.js} +13 -13
- package/dist/chunks/{tool-nv6sgpkb.js → vcs-980xfpxw.js} +3 -3
- package/dist/chunks/{tool-xwzeg4yz.js → vcs-98zj8y75.js} +20 -20
- package/dist/chunks/{tool-3c1tgrea.js → vcs-9d375gd6.js} +6 -6
- package/dist/chunks/{tool-w8dhyk9b.js → vcs-9hn3y1ap.js} +8 -8
- package/dist/chunks/{tool-4fxa00ze.js → vcs-9z91vmsn.js} +11 -11
- package/dist/chunks/{tool-pnbgbrcy.js → vcs-a1vsjqdb.js} +35 -35
- package/dist/chunks/{tool-e036a9pm.js → vcs-a291kd0j.js} +28 -28
- package/dist/chunks/{tool-tpgw4r9p.js → vcs-a81n23zd.js} +17 -17
- package/dist/chunks/{tool-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-zv5xthkc.js → vcs-aem37vve.js} +11 -11
- package/dist/chunks/{tool-r7x1my69.js → vcs-amqzaqt1.js} +3 -3
- package/dist/chunks/{tool-8cwk6cmw.js → vcs-as0n2ynj.js} +9 -9
- package/dist/chunks/{tool-gf3w8mcy.js → vcs-b0026ckp.js} +18 -18
- package/dist/chunks/{tool-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-1pwvfv87.js → vcs-bh0zfw7e.js} +11 -11
- package/dist/chunks/{tool-fvanntqq.js → vcs-bjs2yq5f.js} +6 -6
- package/dist/chunks/{tool-11021cf3.js → vcs-bm5daegx.js} +6 -6
- package/dist/chunks/{tool-zq6fa2xa.js → vcs-bmvw9q6x.js} +6 -6
- package/dist/chunks/{tool-m21k6hwm.js → vcs-bpa8t5yh.js} +15 -15
- package/dist/chunks/{tool-ypcyj4th.js → vcs-brk9edbg.js} +16 -16
- package/dist/chunks/{tool-gft05b0a.js → vcs-bw0vgseb.js} +8 -8
- package/dist/chunks/{tool-ad6yvafe.js → vcs-c1z1xrrm.js} +17 -17
- package/dist/chunks/{tool-20m8myk3.js → vcs-c20nmzh2.js} +11 -11
- package/dist/chunks/{tool-rms87t6p.js → vcs-c5tvk5z2.js} +20 -20
- package/dist/chunks/{tool-3w2b2yj4.js → vcs-c78bbtc9.js} +5 -5
- package/dist/chunks/{tool-fgg2p6ky.js → vcs-c7af8brc.js} +11 -11
- package/dist/chunks/{tool-w6zk8pbt.js → vcs-ceetf7sw.js} +6 -6
- package/dist/chunks/{tool-5vgkaf0c.js → vcs-cpet1atm.js} +22 -22
- package/dist/chunks/{tool-qcprappc.js → vcs-cspmbg10.js} +12 -12
- package/dist/chunks/{tool-8mxe8k4b.js → vcs-ct2mk1yg.js} +19 -19
- package/dist/chunks/{tool-hz30zgkd.js → vcs-cwxby6pr.js} +9 -9
- package/dist/chunks/{tool-2syw43ez.js → vcs-cynacfj1.js} +11 -11
- package/dist/chunks/{tool-64mbz47k.js → vcs-d7r387ef.js} +6 -6
- package/dist/chunks/{tool-4rgwgr9n.js → vcs-d8n99bgq.js} +4 -4
- package/dist/chunks/{tool-n96v1vx3.js → vcs-dbnm0m83.js} +15 -15
- package/dist/chunks/{tool-ankkda91.js → vcs-de8hzpm7.js} +9 -9
- package/dist/chunks/{tool-k9yfmsvc.js → vcs-dg7y2dkj.js} +17 -17
- package/dist/chunks/{tool-8p4f9s12.js → vcs-dj2t23y0.js} +2 -2
- package/dist/chunks/{tool-7pegcs5y.js → vcs-dkz4h62m.js} +2 -2
- package/dist/chunks/{tool-y71avatq.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{tool-kmqmddk0.js → vcs-e10aq1g2.js} +43 -43
- package/dist/chunks/{tool-jvhnejfk.js → vcs-e46che4h.js} +20 -20
- package/dist/chunks/{tool-q0x9hp0x.js → vcs-e4a1y780.js} +32 -32
- package/dist/chunks/{tool-e5nv3ght.js → vcs-e5nv3ght.js} +2 -2
- package/dist/chunks/{tool-6ba819az.js → vcs-eaqgtc5s.js} +26 -23
- package/dist/chunks/{tool-9h7qzzke.js → vcs-eaqy37er.js} +24 -24
- package/dist/chunks/{tool-sbshw81j.js → vcs-eb812gk8.js} +31 -31
- package/dist/chunks/{tool-wrzcwb32.js → vcs-ebkg1v6v.js} +13 -13
- package/dist/chunks/{tool-9me22cbr.js → vcs-edk817rf.js} +24 -24
- package/dist/chunks/{tool-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-q8445bg1.js → vcs-exmh4txv.js} +25 -25
- package/dist/chunks/{tool-m7xke3eb.js → vcs-eykm7ns6.js} +32 -32
- package/dist/chunks/{tool-fvgvh3wz.js → vcs-ez3gzyzp.js} +11 -11
- package/dist/chunks/{tool-gq3a5xex.js → vcs-f3mbegaz.js} +44 -41
- package/dist/chunks/{tool-0996nyz8.js → vcs-f7ehr2sm.js} +5 -5
- package/dist/chunks/{tool-kdv4badm.js → vcs-f7tv3h97.js} +5 -5
- package/dist/chunks/{tool-rfsjamy2.js → vcs-fq0pc14n.js} +28 -28
- package/dist/chunks/{tool-700r65qt.js → vcs-ftxa5p30.js} +173 -173
- package/dist/chunks/{tool-fxbjtjnd.js → vcs-fxbjtjnd.js} +1 -1
- package/dist/chunks/{tool-ngwpnmm2.js → vcs-fxfn3sht.js} +6 -6
- package/dist/chunks/{tool-mbeywexs.js → vcs-g6ddfetr.js} +5 -5
- package/dist/chunks/{tool-0bqxz2km.js → vcs-g9k78q3y.js} +32 -32
- package/dist/chunks/{tool-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-h7pjjeb1.js → vcs-ger25q1p.js} +5 -5
- package/dist/chunks/{tool-g4qfqx3z.js → vcs-gg85ze80.js} +29 -29
- package/dist/chunks/{tool-f9m0bqsz.js → vcs-gmttzzga.js} +22 -22
- package/dist/chunks/{tool-8cdvd9z3.js → vcs-gq3r9j4n.js} +15 -15
- package/dist/chunks/{tool-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{tool-h03wrkyp.js → vcs-h03wrkyp.js} +2 -2
- package/dist/chunks/{tool-5wj1bc2b.js → vcs-h467qvvw.js} +4 -4
- package/dist/chunks/{tool-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-zzd04jwc.js → vcs-h7v99hnd.js} +32 -32
- package/dist/chunks/{tool-m86bnw2c.js → vcs-h7ygw6q4.js} +9 -9
- package/dist/chunks/{tool-f828m53h.js → vcs-hdnk95c8.js} +2 -2
- package/dist/chunks/{tool-hjt4xg1x.js → vcs-hjt4xg1x.js} +1 -1
- package/dist/chunks/{tool-e6hmchc5.js → vcs-hnr5yq9h.js} +5 -5
- package/dist/chunks/{tool-hrvd6t1f.js → vcs-hrvd6t1f.js} +2 -2
- package/dist/chunks/{tool-ppbs3dgs.js → vcs-hste9311.js} +26 -26
- package/dist/chunks/{tool-hav2x4nq.js → vcs-hvb5q4dy.js} +4 -4
- package/dist/chunks/{tool-7wcy2j48.js → vcs-hypq3x55.js} +13 -13
- package/dist/chunks/{tool-khyy3z7c.js → vcs-j4yw7sy1.js} +38 -38
- package/dist/chunks/{tool-k581jmxz.js → vcs-j4zt4cj1.js} +18 -18
- package/dist/chunks/{tool-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-bct739vz.js → vcs-j83byb14.js} +4 -4
- package/dist/chunks/{tool-smznf5zv.js → vcs-jjawnr8d.js} +9 -9
- package/dist/chunks/{tool-9tmrnrc3.js → vcs-jtcfhw3c.js} +18 -18
- package/dist/chunks/{tool-aax1h56x.js → vcs-k04vznwt.js} +1 -1
- package/dist/chunks/{tool-jw80jp6b.js → vcs-k2h4r4s0.js} +4 -4
- package/dist/chunks/{tool-tgyrx776.js → vcs-k5xy40wg.js} +19 -19
- package/dist/chunks/{tool-zmjtvdmj.js → vcs-k90zknc5.js} +16 -16
- package/dist/chunks/{tool-qvkbe7wj.js → vcs-kes4sneg.js} +27 -27
- package/dist/chunks/{tool-kg06axw8.js → vcs-kg06axw8.js} +1 -1
- package/dist/chunks/{tool-7j0r01e2.js → vcs-kjg951ap.js} +59 -59
- package/dist/chunks/{tool-cfpkc3c9.js → vcs-m0jqrx5p.js} +2 -2
- package/dist/chunks/vcs-m4jhp7qn.js +247 -0
- package/dist/chunks/{tool-hn57h045.js → vcs-m70sbz6t.js} +4 -4
- package/dist/chunks/{tool-xgfrx0dg.js → vcs-m78yv3jq.js} +18 -18
- package/dist/chunks/{tool-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-0r9sq1ay.js → vcs-mfbd497n.js} +10 -10
- package/dist/chunks/{tool-2vnwx32a.js → vcs-mgx963cj.js} +8 -8
- package/dist/chunks/{tool-dmpv135r.js → vcs-mpbm1spn.js} +47 -47
- package/dist/chunks/{tool-v5dkyp31.js → vcs-mtq6xxnx.js} +7 -7
- package/dist/chunks/vcs-myzk5n2s.js +26 -0
- package/dist/chunks/{tool-enccs5rm.js → vcs-n57pa20n.js} +30 -30
- package/dist/chunks/{tool-hq9kk1eh.js → vcs-nh7zbcx6.js} +5 -5
- package/dist/chunks/{tool-k7hfcg7n.js → vcs-np3n7n3n.js} +23 -23
- package/dist/chunks/{tool-hz62r41k.js → vcs-nqp91hg0.js} +49 -49
- package/dist/chunks/{tool-kaypvkzz.js → vcs-ntqwm10a.js} +18 -18
- package/dist/chunks/{tool-n89ph4ha.js → vcs-ntrrvapb.js} +9 -9
- package/dist/chunks/{tool-7xmcpp5k.js → vcs-nvmga65c.js} +1 -1
- package/dist/chunks/{tool-9h41vc4j.js → vcs-nw2nz702.js} +4 -4
- package/dist/chunks/{tool-bfc0h0ah.js → vcs-nxs71vds.js} +8 -8
- package/dist/chunks/{tool-02zskd6f.js → vcs-p6t3fjxg.js} +9 -6
- package/dist/chunks/{tool-4frkg54w.js → vcs-pjmw00w1.js} +9 -9
- package/dist/chunks/{tool-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{tool-1fjf9qgp.js → vcs-ps2966zf.js} +19 -19
- package/dist/chunks/{tool-kgwhbhza.js → vcs-pwek4mmw.js} +19 -19
- package/dist/chunks/{tool-62139ecc.js → vcs-pxm319h1.js} +7 -7
- package/dist/chunks/{tool-6qqxn8pv.js → vcs-q38fqzw5.js} +15 -15
- package/dist/chunks/vcs-q509s3k3.js +18 -0
- package/dist/chunks/{tool-0299gjg5.js → vcs-q68c4f0q.js} +23 -23
- package/dist/chunks/{tool-2cv6r8s0.js → vcs-q6jq121h.js} +40 -40
- package/dist/chunks/{tool-9eeg3wcp.js → vcs-q7wmg9kr.js} +46 -46
- package/dist/chunks/{tool-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-tjhqx05s.js → vcs-qsw4qewe.js} +39 -39
- package/dist/chunks/{tool-m8vzpnra.js → vcs-qvzzg1n6.js} +22 -22
- package/dist/chunks/{tool-n9z12nhw.js → vcs-qxt6y2k0.js} +8 -8
- package/dist/chunks/{tool-r9mregkx.js → vcs-r9mregkx.js} +2 -2
- package/dist/chunks/{tool-1qmbqjyv.js → vcs-rbnn063c.js} +36 -36
- package/dist/chunks/{tool-m7ah9b01.js → vcs-rfsgj36k.js} +15 -15
- package/dist/chunks/{tool-y1rf3ngb.js → vcs-rh2jh937.js} +20 -20
- package/dist/chunks/{tool-5zhzefj3.js → vcs-rm2j6wpe.js} +20 -20
- package/dist/chunks/{tool-2v3pb6qd.js → vcs-s31y3cjy.js} +18 -18
- package/dist/chunks/{tool-20tfp5zs.js → vcs-s628c0zm.js} +4 -4
- package/dist/chunks/{tool-7m06xexa.js → vcs-sj3jh7ve.js} +13 -13
- package/dist/chunks/{tool-g77pfeh0.js → vcs-smrjz3b9.js} +18 -18
- package/dist/chunks/{tool-wqc6684y.js → vcs-svxygcjw.js} +2 -2
- package/dist/chunks/{tool-at81ej1z.js → vcs-t3mktjaj.js} +6 -6
- package/dist/chunks/{tool-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-xvr1tfrz.js → vcs-tbw3c36v.js} +16 -16
- package/dist/chunks/{tool-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{tool-ycsy29mf.js → vcs-thsh4wec.js} +25 -25
- package/dist/chunks/{tool-nb6x7g5x.js → vcs-tq3512j9.js} +4 -4
- package/dist/chunks/{tool-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{tool-tx9qvpbt.js → vcs-tx9qvpbt.js} +2 -2
- package/dist/chunks/{tool-r0trdc9p.js → vcs-txqbax26.js} +5 -5
- package/dist/chunks/{tool-3se9mp31.js → vcs-v8ehpa7g.js} +33 -33
- package/dist/chunks/{tool-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-phptn4kh.js → vcs-vfhz1eq3.js} +6 -6
- package/dist/chunks/{tool-rmbepvtv.js → vcs-vg2gmgg6.js} +14 -14
- package/dist/chunks/{tool-8rqvsz38.js → vcs-vgpkvjy0.js} +7 -7
- package/dist/chunks/{tool-msq0jde0.js → vcs-vj81g6vn.js} +4 -4
- package/dist/chunks/{tool-jmk5eqxp.js → vcs-vjsbzy9z.js} +17 -17
- package/dist/chunks/{tool-kjne0gnr.js → vcs-vw1mers6.js} +13 -13
- package/dist/chunks/{tool-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-hrj7pjr8.js → vcs-w16wg7x4.js} +10 -10
- package/dist/chunks/{tool-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-2vs9fmj2.js → vcs-w8nd9dyx.js} +11 -11
- package/dist/chunks/{tool-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{tool-8twyvpe7.js → vcs-wdek6ynv.js} +46 -46
- package/dist/chunks/{tool-j2wbkj1x.js → vcs-wkawkmf2.js} +48 -48
- package/dist/chunks/{tool-r5vpk0b1.js → vcs-wmg8ytqm.js} +4 -4
- package/dist/chunks/{tool-wp4wkpxj.js → vcs-wmp55s22.js} +22 -22
- package/dist/chunks/{tool-j27yjeep.js → vcs-wnxny4fe.js} +32 -32
- package/dist/chunks/{tool-cb1fb07j.js → vcs-wpv1fq52.js} +32 -32
- package/dist/chunks/{tool-b8wa1ckd.js → vcs-wzvxt2x2.js} +1 -1
- package/dist/chunks/{tool-bdqrk2vk.js → vcs-wzz0kxab.js} +5 -5
- package/dist/chunks/{tool-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-24dbyy2c.js → vcs-x204myat.js} +10 -10
- package/dist/chunks/{tool-pwh8btyp.js → vcs-x4t6e216.js} +9 -9
- package/dist/chunks/{tool-6karmr7k.js → vcs-x586zysr.js} +9 -9
- package/dist/chunks/{tool-pq99gyy2.js → vcs-x9cxf4kd.js} +11 -11
- package/dist/chunks/{tool-w466msxf.js → vcs-xc7r4j3q.js} +8 -8
- package/dist/chunks/{tool-zxqp5j27.js → vcs-xkk9yemc.js} +32 -32
- package/dist/chunks/{tool-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-8vsxpez5.js → vcs-yam81w27.js} +44 -41
- package/dist/chunks/{tool-fp7xghy5.js → vcs-ydeksb44.js} +13 -13
- package/dist/chunks/{tool-q6hf9b7c.js → vcs-ym3wztb4.js} +22 -22
- package/dist/chunks/{tool-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-yrznvahk.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{tool-ead3g9p8.js → vcs-yt0fqk68.js} +5 -5
- package/dist/chunks/{tool-rcmaerg2.js → vcs-yzj7mwan.js} +18 -18
- package/dist/chunks/{tool-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-9swcrqvc.js → vcs-z1rv843f.js} +32 -32
- package/dist/chunks/{tool-z63w68vq.js → vcs-z63w68vq.js} +2 -2
- package/dist/chunks/{tool-5m0afy4r.js → vcs-zd4dyd0c.js} +5 -5
- package/dist/chunks/{tool-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{tool-8s0z9n45.js → vcs-zfp7fpm2.js} +5 -5
- package/dist/chunks/{tool-rdsy4w4t.js → vcs-zjed2hh9.js} +30 -30
- package/dist/chunks/{tool-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-s2hm79cz.js → vcs-ztgmjw6y.js} +11 -11
- package/dist/chunks/{tool-jb2vcz8q.js → vcs-ztmre2e9.js} +46 -46
- package/dist/chunks/{tool-bmwvampg.js → vcs-zxd7x465.js} +35 -35
- package/dist/chunks/{tool-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 +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +119 -119
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +73 -73
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +94 -94
- package/dist/git.js +8 -8
- 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 +7 -7
- 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 +354 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +351 -351
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +6 -6
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- 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 +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- 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 +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +7 -7
- 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 +90 -90
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +149 -149
- package/dist/session/diff.js +85 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +90 -90
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +221 -221
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +100 -100
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +6 -6
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/tool-1qd3ycm2.js +0 -26
- package/dist/chunks/tool-7z7rpcgx.js +0 -247
- package/dist/chunks/tool-pf31ssb9.js +0 -18
- /package/dist/chunks/{tool-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-hrnqkpcd.js → vcs-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-paphc93g.js → vcs-paphc93g.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qapv375x.js → vcs-qapv375x.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-twg0f83k.js → vcs-twg0f83k.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./vcs-nqp91hg0.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service67
|
|
13
|
+
} from "./vcs-6yvesre5.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service38
|
|
16
|
+
} from "./vcs-vjsbzy9z.js";
|
|
17
17
|
import {
|
|
18
18
|
Service59
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-ztmre2e9.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service58,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-brk9edbg.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./vcs-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service39,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-ct2mk1yg.js";
|
|
34
34
|
import {
|
|
35
35
|
NotFoundError5,
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service30
|
|
37
|
+
} from "./vcs-q7wmg9kr.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service17
|
|
40
|
+
} from "./vcs-6qnngr69.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./vcs-tq3512j9.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./vcs-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
49
|
var exports_shell = {};
|
|
50
50
|
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin7,
|
|
54
54
|
ShellTool: () => exports_shell,
|
|
55
|
-
name: () =>
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name6 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input6 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin7 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service17;
|
|
122
|
+
const jobs = yield* Service38;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service67;
|
|
125
|
+
const access = yield* Service58;
|
|
126
|
+
const shell = yield* Service30;
|
|
127
|
+
const shellSelect = yield* Service39;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
129
|
const permission = yield* Service59;
|
|
130
|
-
const config = yield*
|
|
130
|
+
const config = yield* Service55;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin4 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name6,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin4 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name6,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input6,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name6,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -248,13 +248,16 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
248
248
|
return yield* Deferred.await(settled);
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
|
-
|
|
252
|
-
const tool = event.tools[
|
|
251
|
+
const hook = (event) => Effect.gen(function* () {
|
|
252
|
+
const tool = event.tools[name6];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
256
|
-
})
|
|
256
|
+
});
|
|
257
|
+
yield* ctx.session.hook("context", hook);
|
|
258
|
+
yield* ctx.session.hook("compaction", hook);
|
|
259
|
+
yield* ctx.session.hook("generate", hook);
|
|
257
260
|
})
|
|
258
261
|
};
|
|
259
262
|
|
|
260
|
-
export {
|
|
263
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin7, exports_shell };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service67,
|
|
6
|
+
node71
|
|
7
|
+
} from "./vcs-6yvesre5.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service43,
|
|
17
|
+
node: () => node47,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service43 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service67;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service43.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node47 = makeLocationNode({ service: Service43, layer, deps: [node71] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service43, readText2, syncTextBom2, node47, exports_file_mutation };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./vcs-k90zknc5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./vcs-eykm7ns6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./vcs-55qfk59p.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service32
|
|
12
|
+
} from "./vcs-cspmbg10.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-980xfpxw.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-d8n99bgq.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-t3mktjaj.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make3
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make3 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service73;
|
|
58
|
+
const toolOutput = yield* Service32;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make7 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|
|
@@ -205,4 +205,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
205
205
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
export { Outcome2,
|
|
208
|
+
export { Outcome2, make3, exports_step };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/mcp.ts
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info17,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info17 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info17, exports_mcp5 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service74,
|
|
3
|
+
node79
|
|
4
|
+
} from "./vcs-c1z1xrrm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Formatter: () =>
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
13
|
+
var exports_formatter3 = {};
|
|
14
|
+
__export(exports_formatter3, {
|
|
15
|
+
Formatter: () => exports_formatter3,
|
|
16
|
+
Service: () => Service70,
|
|
17
|
+
node: () => node75
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service70 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service74;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service70.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node75 = makeLocationNode({
|
|
91
|
+
service: Service70,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node79, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service70, node75, exports_formatter3 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-nxs71vds.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID8
|
|
8
|
+
} from "./vcs-w16wg7x4.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./vcs-k90zknc5.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event14
|
|
15
|
+
} from "./vcs-7wvtvwa1.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID5,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-v8ehpa7g.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service50
|
|
22
|
+
} from "./vcs-fq0pc14n.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get2
|
|
25
|
+
} from "./vcs-a81n23zd.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-ztgmjw6y.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID5.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,8 +155,8 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
159
|
-
const bus = yield*
|
|
158
|
+
const catalog = yield* Service50;
|
|
159
|
+
const bus = yield* Service78;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
162
162
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -170,10 +170,10 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID9.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID9.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
|
-
try: () =>
|
|
176
|
+
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
178
178
|
Authorization: `Bearer ${credential.refresh}`,
|
|
179
179
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID9.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID8.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID8.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID8.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID5.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID9.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID9.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-ztgmjw6y.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin38,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
13
|
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin38 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin21 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint6,
|
|
80
|
+
export { endpoint6, Plugin38, exports_tavily };
|