@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,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-7wvtvwa1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-v8ehpa7g.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID5.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./vcs-c1z1xrrm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./vcs-6yvesre5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service43,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-ydeksb44.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service70
|
|
14
|
+
} from "./vcs-yzj7mwan.js";
|
|
15
15
|
import {
|
|
16
16
|
Service59
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-ztmre2e9.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service58,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-brk9edbg.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input8,
|
|
34
|
+
Output: () => Output6,
|
|
35
|
+
Plugin: () => Plugin9,
|
|
36
|
+
name: () => name8
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name8 = "edit";
|
|
43
|
+
var Input8 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input2 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output6 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin9 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
109
|
+
const access = yield* Service58;
|
|
110
|
+
const fileMutation = yield* Service43;
|
|
111
|
+
const environment = yield* Service67;
|
|
112
|
+
const formatter = yield* Service70;
|
|
113
|
+
const location = yield* Service74;
|
|
114
114
|
const permission = yield* Service59;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name8,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input8,
|
|
120
|
+
output: Output6,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin2 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name8, Input8, Output6, Plugin9, exports_edit };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured5,
|
|
11
|
+
layer: () => layer15,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node37,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make21(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer15 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured5 = (input) => makeGlobalNode({ service: Metadata2, layer: layer15(input), deps: [] });
|
|
33
|
+
var node37 = configured5();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer15, configured5, node37, exports_app };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./vcs-k90zknc5.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./vcs-c1z1xrrm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID14,
|
|
11
|
+
Service63,
|
|
12
|
+
node67
|
|
13
|
+
} from "./vcs-eaqy37er.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError8
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-980xfpxw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service61,
|
|
19
|
+
node65
|
|
20
|
+
} from "./vcs-828cj25e.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
Service60,
|
|
26
26
|
node64
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-ps2966zf.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service62,
|
|
30
|
+
node66
|
|
31
|
+
} from "./vcs-mgx963cj.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./vcs-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event15,
|
|
46
|
+
ID: () => ID11,
|
|
47
47
|
NotFoundError: () => NotFoundError7,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
54
|
Service: () => Service59,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node63
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID11 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID11.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID14.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID11,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID11,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID11
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -128,12 +128,12 @@ function merge2(...rulesets) {
|
|
|
128
128
|
class Service59 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
130
|
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
131
|
+
const bus = yield* Service78;
|
|
132
|
+
const location = yield* Service74;
|
|
133
|
+
const agents = yield* Service63;
|
|
134
|
+
const sessions = yield* Service61;
|
|
135
|
+
const saved = yield* Service60;
|
|
136
|
+
const hooks = yield* Service62;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID11.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -285,10 +285,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
285
285
|
});
|
|
286
286
|
return Service59.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
288
|
+
var node63 = makeLocationNode({
|
|
289
289
|
service: Service59,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node83, node79, node67, node65, node64, node66]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID11, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service59, node63, exports_permission2, Rule3, Ruleset2, Event15 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service74
|
|
9
|
+
} from "./vcs-c1z1xrrm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service67
|
|
12
|
+
} from "./vcs-6yvesre5.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service66
|
|
15
|
+
} from "./vcs-j4zt4cj1.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Entry4
|
|
21
|
+
} from "./vcs-h7v99hnd.js";
|
|
22
22
|
import {
|
|
23
23
|
Service59
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-ztmre2e9.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service58
|
|
27
|
+
} from "./vcs-brk9edbg.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input4,
|
|
37
|
+
Output: () => Output4,
|
|
38
|
+
Plugin: () => Plugin5,
|
|
39
|
+
name: () => name4,
|
|
40
|
+
toModelContent: () => toModelContent3
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name4 = "glob";
|
|
46
|
+
var Input4 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input8 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output4 = Schema.Array(Entry4);
|
|
59
|
+
var toModelContent3 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin5 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
69
|
+
const environment = yield* Service67;
|
|
70
|
+
const ripgrep = yield* Service66;
|
|
71
|
+
const location = yield* Service74;
|
|
72
|
+
const access = yield* Service58;
|
|
73
73
|
const permission = yield* Service59;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name4,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input4,
|
|
79
|
+
output: Output4,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name4,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -111,18 +111,18 @@ var Plugin8 = {
|
|
|
111
111
|
orElse: () => Effect.fail(new ToolFailure({
|
|
112
112
|
message: `Search timed out after ${DEFAULT_SEARCH_TIMEOUT_MS2 / 1000} seconds. Consider using a more specific path or pattern.`
|
|
113
113
|
}))
|
|
114
|
-
}), Effect.map((result) => result.map((entry) =>
|
|
114
|
+
}), Effect.map((result) => result.map((entry) => Entry4.make({
|
|
115
115
|
...entry,
|
|
116
116
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(root, entry.path)))
|
|
117
117
|
}))));
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name4, Input4, Output4, toModelContent3, Plugin5, exports_glob };
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
render2,
|
|
3
3
|
update3,
|
|
4
4
|
make14,
|
|
5
|
-
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
5
|
+
exports_instructions3
|
|
6
|
+
} from "../chunks/vcs-cynacfj1.js";
|
|
7
|
+
import"../chunks/vcs-3fc6dm20.js";
|
|
8
|
+
import"../chunks/vcs-02nrjc1r.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
exports_instructions3 as CodeModeInstructions,
|
|
11
11
|
make14 as make,
|
|
12
12
|
render2 as render,
|
|
13
13
|
update3 as update
|
package/dist/codemode/tool.js
CHANGED
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
create2,
|
|
3
3
|
catalog2,
|
|
4
4
|
exports_tool2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/vcs-r9mregkx.js";
|
|
6
|
+
import"../chunks/vcs-3w5fmr99.js";
|
|
7
7
|
export {
|
|
8
8
|
exports_tool2 as CodeModeTool,
|
|
9
9
|
catalog2 as catalog,
|