@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,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service31,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node35
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service31 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service31, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service31.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service47, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node35 = makeGlobalNode({ service: Service31, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service31, node35, exports_environment };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./vcs-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80,
|
|
3
|
-
node85
|
|
4
|
-
} from "./tool-4fxa00ze.js";
|
|
5
1
|
import {
|
|
6
2
|
Service79,
|
|
7
3
|
node84
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./vcs-9z91vmsn.js";
|
|
5
|
+
import {
|
|
6
|
+
Service78,
|
|
7
|
+
node83
|
|
8
|
+
} from "./vcs-k90zknc5.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event14,
|
|
24
|
+
ID: () => ID10,
|
|
25
|
+
Info: () => Info23,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service57,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node61
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID10 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event14 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info23 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID10,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service57 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service79).db;
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info23({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service57.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info23({
|
|
80
|
+
id: ID10.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node61 = makeGlobalNode({ service: Service57, layer, deps: [node84, node83] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID10, OAuth3, Key3, Value2, Event14, Info23, Service57, node61, exports_credential };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service56,
|
|
3
|
+
node60
|
|
4
|
+
} from "./vcs-qvzzg1n6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./vcs-c1z1xrrm.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service55,
|
|
11
|
+
node59
|
|
12
|
+
} from "./vcs-nqp91hg0.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./vcs-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service3,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node6
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service3 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service3, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service55;
|
|
40
|
+
const watcher = yield* Service56;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service74;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service3.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node6 = makeLocationNode({
|
|
74
|
+
service: Service3,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node59, FSUtil.node, node60, node79]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service3,
|
|
80
|
+
layer: Layer.succeed(Service3, Service3.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service3, layer5, node6, empty2, exports_source };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service78,
|
|
4
|
+
node83
|
|
5
|
+
} from "./vcs-k90zknc5.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make20,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-02nrjc1r.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./vcs-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event6,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options6,
|
|
30
|
+
Service: () => Service41,
|
|
31
|
+
configured: () => configured7,
|
|
32
|
+
layer: () => layer18,
|
|
33
|
+
node: () => node45
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
41
41
|
}) {
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
|
-
var key =
|
|
45
|
-
var
|
|
44
|
+
var key = Key4.make("core/instructions");
|
|
45
|
+
var Event6 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options6 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service41 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
56
|
-
const bus = yield*
|
|
55
|
+
var layer18 = (options) => Layer.effect(Service41, Effect.gen(function* () {
|
|
56
|
+
const bus = yield* Service78;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
59
59
|
initial: () => ({ files: new Map, available: true }),
|
|
@@ -72,9 +72,9 @@ var layer21 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event6.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make20({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer21 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service41.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer21 = (options) => Layer.effect(Service57, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured7(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
111
|
-
deps: [
|
|
109
|
+
service: Service41,
|
|
110
|
+
layer: layer18(options),
|
|
111
|
+
deps: [node83]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node45 = configured7();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event6, Options6, Service41, layer18, configured7, node45, exports_instruction_discovery };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./vcs-9z91vmsn.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./vcs-5c4hm403.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
11
|
load3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-0z4vcyj9.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-svxygcjw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput4,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service61,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node65
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service61 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const { db } = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
58
|
+
const { db } = yield* Service79;
|
|
59
|
+
return Service61.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -125,6 +125,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node65 = makeGlobalNode({ service: Service61, layer, deps: [node84] });
|
|
129
129
|
|
|
130
|
-
export { ListInput4,
|
|
130
|
+
export { ListInput4, Service61, node65, exports_store };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./vcs-k90zknc5.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event11,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID6,
|
|
20
|
+
Info: () => Info10,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError6,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service52,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer21,
|
|
29
|
+
node: () => node56,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event11 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID6 = Form.ID;
|
|
39
|
+
var Info10 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError6 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID6
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID6
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID6
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID6,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service52 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer21 = Layer.effect(Service52, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service78;
|
|
86
86
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
87
87
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
88
88
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
89
89
|
});
|
|
90
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
90
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError6({ id })))));
|
|
91
91
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
92
|
-
const id = input.id ??
|
|
92
|
+
const id = input.id ?? ID6.create();
|
|
93
93
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
94
94
|
if (Option.isSome(existing))
|
|
95
95
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -153,9 +153,9 @@ var layer25 = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
153
153
|
yield* Deferred.succeed(entry.deferred, next);
|
|
154
154
|
})));
|
|
155
155
|
yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
|
|
156
|
-
return
|
|
156
|
+
return Service52.of({ create, ask, get, list, state, reply, cancel });
|
|
157
157
|
}));
|
|
158
|
-
var
|
|
158
|
+
var node56 = makeLocationNode({ service: Service52, layer: layer21, deps: [node83] });
|
|
159
159
|
function validateAnswer2(form, answer) {
|
|
160
160
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
161
161
|
for (const key of Object.keys(answer)) {
|
|
@@ -307,4 +307,4 @@ function isDateTime(value) {
|
|
|
307
307
|
return !Number.isNaN(new Date(value).getTime());
|
|
308
308
|
}
|
|
309
309
|
|
|
310
|
-
export {
|
|
310
|
+
export { ID6, Info10, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError6, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service52, layer21, node56, validateAnswer2, validateFields2, exports_form, Event11 };
|