@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
node79
|
|
7
|
+
} from "./vcs-c1z1xrrm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service66,
|
|
10
|
+
node70
|
|
11
|
+
} from "./vcs-j4zt4cj1.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names4
|
|
15
|
+
} from "./vcs-89znhe33.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options10,
|
|
25
|
+
Service: () => Service65,
|
|
26
|
+
configured: () => configured10,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer24,
|
|
29
|
+
node: () => node69,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options10 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service65 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service65, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const ripgrep = yield* Service66;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names4()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service65.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service65, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service74;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service65.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service65.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer24 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service74;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured10(options) {
|
|
186
|
+
return makeLocationNode({ service: Service65, layer: layer24(options), deps: [node79, node70] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node69 = configured10();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options10, Service65, ripgrepLayer2, fffLayer2, layer24, configured10, node69, exports_search };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-nxs71vds.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/google-vertex.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
39
39
|
for (const item of evt.provider.list()) {
|
|
40
40
|
if (!isAISDK2(item.provider.package))
|
|
41
41
|
continue;
|
|
42
|
-
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id ===
|
|
42
|
+
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID9.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
|
|
43
43
|
continue;
|
|
44
44
|
const project = resolveProject(item.provider.settings ?? {});
|
|
45
45
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -56,13 +56,13 @@ var GoogleVertexPlugin2 = define({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
59
|
-
if (evt.model.providerID ===
|
|
59
|
+
if (evt.model.providerID === ID9.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
|
|
60
60
|
evt.options.fetch = authFetch(evt.options.fetch);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
63
|
}));
|
|
64
64
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
65
|
-
if (evt.model.providerID !==
|
|
65
|
+
if (evt.model.providerID !== ID9.googleVertex)
|
|
66
66
|
return;
|
|
67
67
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
68
68
|
}));
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./vcs-9z91vmsn.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node73
|
|
12
|
+
} from "./vcs-ceetf7sw.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-faypxj3z.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/workspace.ts
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID15,
|
|
25
|
+
Info: () => Info28,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service68,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured11,
|
|
30
|
+
node: () => node72
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID15 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info28 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID15,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,25 +46,25 @@ class Info25 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID15 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID15,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service68 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service68,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [
|
|
64
|
+
deps: [node84, node73]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
67
|
-
const db = (yield*
|
|
66
|
+
var layer = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
67
|
+
const db = (yield* Service79).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
70
70
|
const connections = new Map;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info28({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service68.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID15.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node72 = configured11();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID15, Info28, NotFound3, CreateConflict2, Service68, configured11, node72, exports_workspace };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
Service79,
|
|
4
|
-
node84
|
|
5
|
-
} from "./tool-zmjtvdmj.js";
|
|
6
|
-
import {
|
|
7
3
|
Service78,
|
|
8
4
|
node83
|
|
9
|
-
} from "./
|
|
5
|
+
} from "./vcs-k90zknc5.js";
|
|
6
|
+
import {
|
|
7
|
+
Service77,
|
|
8
|
+
node82
|
|
9
|
+
} from "./vcs-sj3jh7ve.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event20,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service76,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node81,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service76 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event20 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,10 +75,10 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
81
|
-
const bus = yield*
|
|
80
|
+
const kv = yield* Service77;
|
|
81
|
+
const bus = yield* Service78;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
84
84
|
const loadEntry = Effect.fn("WellKnown.loadEntry")(function* (origin) {
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event20.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service76.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event20.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event20.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node81 = makeGlobalNode({ service: Service76, layer, deps: [httpClient, node82, node83] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service76, Event20, inspect2, resolve3, node81, exports_wellknown };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./vcs-qvzzg1n6.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-02nrjc1r.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service41
|
|
13
|
+
} from "./vcs-817xngw7.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service74
|
|
16
|
+
} from "./vcs-c1z1xrrm.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin18
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin18 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service41;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service74;
|
|
42
|
+
const watcher = yield* Service56;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin18, exports_instruction };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isAISDK2,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-nxs71vds.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
ID8
|
|
7
|
+
} from "./vcs-w16wg7x4.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/openrouter.ts
|
|
10
10
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
evt.provider.update(item.provider.id, (provider) => {
|
|
22
22
|
provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
|
|
23
23
|
});
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID8.make("gpt-5-chat-latest"), ID8.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!item.models.has(modelID))
|
|
26
26
|
continue;
|
|
27
27
|
evt.model.update(item.provider.id, modelID, (model) => {
|