@opencode/core 0.0.0-dev-20081 → 0.0.0-dev-20083
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{provider-pmr4s4kc.js → vcs-00z3vp5f.js} +4 -4
- package/dist/chunks/{provider-f0ce8fyc.js → vcs-0462xykd.js} +17 -17
- package/dist/chunks/vcs-06jg3mcb.js +26 -0
- package/dist/chunks/{provider-z1x1gfhs.js → vcs-0ec8dtkw.js} +18 -18
- package/dist/chunks/{provider-bw7ephcx.js → vcs-0ep74p5j.js} +27 -27
- package/dist/chunks/{provider-atzrj6z4.js → vcs-0g4pshwm.js} +7 -7
- package/dist/chunks/{provider-9gea571p.js → vcs-0jkw1j53.js} +6 -6
- package/dist/chunks/{provider-cavfk19g.js → vcs-0kh7mner.js} +2 -2
- package/dist/chunks/{provider-hmjryk6b.js → vcs-0ncwemsz.js} +80 -80
- package/dist/chunks/{provider-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-yjptyezs.js → vcs-0r7yqxbf.js} +5 -5
- package/dist/chunks/{provider-wx7bb5kt.js → vcs-11hhv0de.js} +4 -4
- package/dist/chunks/{provider-9e3vcssh.js → vcs-179189h4.js} +4 -4
- package/dist/chunks/{provider-r8xr0va3.js → vcs-1acjjqhc.js} +4 -4
- package/dist/chunks/{provider-mhkvc446.js → vcs-1bbkgx8g.js} +3 -3
- package/dist/chunks/{provider-ppb0jbcv.js → vcs-1cwqwg0q.js} +13 -13
- package/dist/chunks/{provider-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{provider-0x5b3vy1.js → vcs-1fjbjtrx.js} +6 -6
- package/dist/chunks/{provider-f0g62jwn.js → vcs-1wvpkpe8.js} +40 -40
- package/dist/chunks/{provider-m28tfe1w.js → vcs-1zqsf2j9.js} +8 -8
- package/dist/chunks/{provider-thynrszz.js → vcs-212c3bce.js} +11 -11
- package/dist/chunks/{provider-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{provider-2402vzrj.js → vcs-2402vzrj.js} +1 -1
- package/dist/chunks/{provider-0nb8tj3r.js → vcs-28fp0q0g.js} +8 -8
- package/dist/chunks/{provider-csrebfve.js → vcs-29cveazg.js} +11 -11
- package/dist/chunks/{provider-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{provider-57ez7d0k.js → vcs-2fgn2we9.js} +9 -9
- package/dist/chunks/{provider-pcfctzn4.js → vcs-2pas28zy.js} +18 -18
- package/dist/chunks/{provider-1tmaqf5z.js → vcs-2qgbqbzg.js} +9 -9
- package/dist/chunks/{provider-21981gj5.js → vcs-2v2a3t0h.js} +4 -4
- package/dist/chunks/{provider-6w0yw6t0.js → vcs-2w88xg01.js} +9 -9
- package/dist/chunks/{provider-1ygqh575.js → vcs-33w4ejhs.js} +6 -6
- package/dist/chunks/{provider-nxhte90z.js → vcs-371gek70.js} +17 -17
- package/dist/chunks/{provider-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-ybhbtxjg.js → vcs-3ktbe3hf.js} +6 -6
- package/dist/chunks/{provider-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{provider-sz6yn7q3.js → vcs-48zrqm4j.js} +5 -5
- package/dist/chunks/{provider-z006jn0q.js → vcs-49qbn6ev.js} +11 -11
- package/dist/chunks/{provider-jw3ammcf.js → vcs-4a2h7ym7.js} +20 -20
- package/dist/chunks/{provider-ydh4z9kh.js → vcs-4gf9v735.js} +36 -36
- package/dist/chunks/{provider-a25v8pqq.js → vcs-51d8ehfy.js} +5 -5
- package/dist/chunks/{provider-dg2cj1yd.js → vcs-53fyba40.js} +4 -4
- package/dist/chunks/{provider-f8wkwma2.js → vcs-59sfag8d.js} +33 -33
- package/dist/chunks/{provider-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{provider-5ekn9679.js → vcs-5ekn9679.js} +1 -1
- package/dist/chunks/{provider-rtbgwnjd.js → vcs-5h1bmfmz.js} +13 -13
- package/dist/chunks/{provider-xf0nr9dv.js → vcs-5qwkxp89.js} +4 -4
- package/dist/chunks/{provider-mpjm327k.js → vcs-5qyh9bdk.js} +8 -8
- package/dist/chunks/{provider-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{provider-esj47bpe.js → vcs-5x6205s3.js} +37 -37
- package/dist/chunks/{provider-8tn24nrr.js → vcs-63tqz9ht.js} +7 -7
- package/dist/chunks/{provider-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{provider-aekkhrjq.js → vcs-66pxgpaw.js} +4 -4
- package/dist/chunks/{provider-r1b6zck5.js → vcs-68vyb3qc.js} +11 -11
- package/dist/chunks/{provider-jk28b3wq.js → vcs-6f31ra40.js} +32 -32
- package/dist/chunks/{provider-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{provider-njfpvtym.js → vcs-6s2n83jy.js} +19 -19
- package/dist/chunks/{provider-v0tcgb28.js → vcs-6vp0xhq8.js} +15 -15
- package/dist/chunks/{provider-nwprk3pz.js → vcs-6wvz01fc.js} +4 -4
- package/dist/chunks/{provider-nve209ha.js → vcs-6xbspavk.js} +21 -21
- package/dist/chunks/{provider-csqp4m5b.js → vcs-6ysqs21a.js} +8 -8
- package/dist/chunks/{provider-hbyhqfhs.js → vcs-705e2ap1.js} +5 -5
- package/dist/chunks/{provider-r3pam6y0.js → vcs-70e6w8tp.js} +24 -24
- package/dist/chunks/{provider-1w85egtv.js → vcs-70y8djn2.js} +29 -28
- package/dist/chunks/{provider-b7j7903f.js → vcs-74rrnwt7.js} +12 -12
- package/dist/chunks/{provider-ngqyks8r.js → vcs-7bcdhp23.js} +12 -12
- package/dist/chunks/{provider-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-mvksx64m.js → vcs-7bp3xrzr.js} +4 -4
- package/dist/chunks/{provider-7nrrz4vd.js → vcs-83w0ed2f.js} +3 -3
- package/dist/chunks/{provider-6ey51n48.js → vcs-87h9va2t.js} +8 -8
- package/dist/chunks/{provider-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{provider-tkkrdc9c.js → vcs-8hwdgt3y.js} +48 -48
- package/dist/chunks/{provider-cfx7m4ef.js → vcs-8nexc0bc.js} +15 -15
- package/dist/chunks/{provider-tesvfhj5.js → vcs-8pg7n18v.js} +30 -30
- package/dist/chunks/{provider-3qmd0ebz.js → vcs-8s1pmqcy.js} +9 -9
- package/dist/chunks/{provider-6pc27hjz.js → vcs-8sze2n9a.js} +2 -2
- package/dist/chunks/{provider-94ek1h2f.js → vcs-94ek1h2f.js} +2 -2
- package/dist/chunks/{provider-vtxr0yy2.js → vcs-9cyfspf3.js} +5 -5
- package/dist/chunks/{provider-nxf437fc.js → vcs-9ed38v85.js} +18 -18
- package/dist/chunks/{provider-cjwqz1xn.js → vcs-9hk1bndn.js} +7 -7
- package/dist/chunks/{provider-m38g9vj0.js → vcs-a8ahxq4k.js} +4 -4
- package/dist/chunks/{provider-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{provider-avk2ac34.js → vcs-ajnwywap.js} +24 -24
- package/dist/chunks/{provider-zh0v86tx.js → vcs-ak2j0eh5.js} +13 -13
- package/dist/chunks/{provider-zs9c6f6y.js → vcs-ar5q60qm.js} +26 -26
- package/dist/chunks/{provider-zjnvhswx.js → vcs-atp0am1p.js} +22 -22
- package/dist/chunks/{provider-cx0f5p4g.js → vcs-b3jbkr8y.js} +3 -3
- package/dist/chunks/{provider-2j5dfjra.js → vcs-b5rdtc93.js} +14 -14
- package/dist/chunks/{provider-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{provider-qaqqfk1g.js → vcs-b7f8f75j.js} +8 -8
- package/dist/chunks/{provider-n46pycax.js → vcs-bkx1af4z.js} +7 -7
- package/dist/chunks/{provider-11shpjhc.js → vcs-bq4s4pe3.js} +5 -5
- package/dist/chunks/vcs-by5v678g.js +18 -0
- package/dist/chunks/{provider-gvv1stch.js → vcs-c38rsp43.js} +31 -31
- package/dist/chunks/{provider-n9srjkx5.js → vcs-c4r6rz4w.js} +20 -20
- package/dist/chunks/{provider-6gcfy764.js → vcs-carqdbj5.js} +16 -16
- package/dist/chunks/{provider-a8bn8zg0.js → vcs-cavr175a.js} +4 -4
- package/dist/chunks/{provider-dxr1feyg.js → vcs-ccy9qdqg.js} +20 -20
- package/dist/chunks/{provider-kcvawfm7.js → vcs-ch08nsxs.js} +20 -20
- package/dist/chunks/{provider-ckecvw8r.js → vcs-ckecvw8r.js} +2 -2
- package/dist/chunks/{provider-25wm0g8j.js → vcs-cvhqjk08.js} +15 -15
- package/dist/chunks/{provider-4m2hcyae.js → vcs-d1wwhrg0.js} +34 -34
- package/dist/chunks/{provider-1g7epwpd.js → vcs-d216944b.js} +4 -4
- package/dist/chunks/{provider-s1neazx1.js → vcs-d43g2pfh.js} +21 -21
- package/dist/chunks/{provider-z4ygwn82.js → vcs-d5fw341f.js} +16 -16
- package/dist/chunks/{provider-9z7dfynh.js → vcs-d5sgnwz6.js} +19 -19
- package/dist/chunks/{provider-0dtxedqk.js → vcs-dj6963t9.js} +12 -12
- package/dist/chunks/{provider-y71avatq.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{provider-wntb1c0g.js → vcs-dtgdpacg.js} +6 -6
- package/dist/chunks/{provider-rmk2c50f.js → vcs-dtqg9ce1.js} +5 -5
- package/dist/chunks/{provider-vg2ry8eg.js → vcs-e0mwe6e4.js} +6 -6
- package/dist/chunks/{provider-rhjbct0v.js → vcs-eaj1djv9.js} +8 -8
- package/dist/chunks/{provider-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-rgtdre32.js → vcs-emwnxg71.js} +32 -32
- package/dist/chunks/{provider-erw5rpbs.js → vcs-erw5rpbs.js} +2 -2
- package/dist/chunks/{provider-pgahk4v0.js → vcs-eswmeynf.js} +11 -11
- package/dist/chunks/{provider-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{provider-b2att0km.js → vcs-f023s5x2.js} +17 -17
- package/dist/chunks/{provider-c8b4sgfz.js → vcs-f0wsx59q.js} +47 -47
- package/dist/chunks/{provider-kbt7gmx1.js → vcs-f2b6tz2e.js} +6 -6
- package/dist/chunks/{provider-y5dj3dxk.js → vcs-f6h44vt5.js} +6 -6
- package/dist/chunks/{provider-6zn87t6x.js → vcs-f8vk1c9x.js} +30 -30
- package/dist/chunks/{provider-wppc7r2t.js → vcs-fhxa9dhj.js} +20 -20
- package/dist/chunks/{provider-626ykbw3.js → vcs-fj1wtqbp.js} +13 -13
- package/dist/chunks/{provider-w4arg62q.js → vcs-fng9e0je.js} +4 -4
- package/dist/chunks/{provider-msf09fhm.js → vcs-fpzpjdd6.js} +9 -9
- package/dist/chunks/{provider-gfbdweg3.js → vcs-fv92jnq2.js} +7 -7
- package/dist/chunks/{provider-t18fb8m5.js → vcs-fydev08n.js} +13 -13
- package/dist/chunks/{provider-xjg1npdn.js → vcs-fzccyq97.js} +15 -15
- package/dist/chunks/{provider-p37cw4rj.js → vcs-g0445xdp.js} +8 -8
- package/dist/chunks/{provider-1n7vwgcr.js → vcs-g2m0x3mc.js} +55 -55
- package/dist/chunks/{provider-et9e7fw3.js → vcs-g32kj6az.js} +26 -26
- package/dist/chunks/{provider-046r0309.js → vcs-g3m22pds.js} +6 -6
- package/dist/chunks/{provider-y7x142mt.js → vcs-g8jasmdt.js} +8 -8
- package/dist/chunks/{provider-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-8bxtdccr.js → vcs-ggw2yz4k.js} +10 -10
- package/dist/chunks/{provider-2jhntd1c.js → vcs-gk2dbm5x.js} +30 -30
- package/dist/chunks/{provider-pe68j9z1.js → vcs-gpds3780.js} +24 -24
- package/dist/chunks/{provider-289htsz9.js → vcs-grng3ccv.js} +33 -33
- package/dist/chunks/{provider-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{provider-5fwmp4v5.js → vcs-h01nhy7h.js} +4 -4
- package/dist/chunks/{provider-7pqtqgjh.js → vcs-h1j14yqf.js} +30 -30
- package/dist/chunks/{provider-dc7b9519.js → vcs-h2s45jn8.js} +18 -18
- package/dist/chunks/{provider-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-kfcyjpg8.js → vcs-hj6ewc9q.js} +43 -43
- package/dist/chunks/{provider-c08eebd0.js → vcs-hnsrqchr.js} +16 -16
- package/dist/chunks/vcs-hr9dp009.js +4 -0
- package/dist/chunks/{provider-sw9z901w.js → vcs-hszfjppb.js} +5 -5
- package/dist/chunks/{provider-qhvf1q99.js → vcs-hx2t9gj5.js} +90 -90
- package/dist/chunks/{provider-6r79s7vx.js → vcs-j29b5e8q.js} +5 -5
- package/dist/chunks/{provider-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-a3r4dcrj.js → vcs-jca4demv.js} +2 -2
- package/dist/chunks/{provider-xz41y20a.js → vcs-jkp9xdnd.js} +46 -46
- package/dist/chunks/vcs-jrk41cqv.js +252 -0
- package/dist/chunks/{provider-yq2cczkq.js → vcs-jz5sxy2v.js} +7 -7
- package/dist/chunks/{provider-mnbh32fx.js → vcs-k0nnq3t9.js} +6 -6
- package/dist/chunks/{provider-k3c624dm.js → vcs-k3c624dm.js} +3 -3
- package/dist/chunks/{provider-f73rjn58.js → vcs-k76fn4kw.js} +4 -4
- package/dist/chunks/{provider-a56n2bgv.js → vcs-kck3bqxg.js} +23 -23
- package/dist/chunks/{provider-rb0gn87w.js → vcs-kgx5a6ff.js} +22 -22
- package/dist/chunks/{provider-q38jyk3g.js → vcs-kk0z3jeb.js} +9 -9
- package/dist/chunks/{provider-rzz71nkp.js → vcs-kpa1ryd1.js} +68 -68
- package/dist/chunks/{provider-g182t41k.js → vcs-ky2mdz05.js} +53 -53
- package/dist/chunks/{provider-jg5jybkd.js → vcs-m0faxyms.js} +9 -9
- package/dist/chunks/{provider-cz2kfr7d.js → vcs-m1na4e3g.js} +12 -12
- package/dist/chunks/{provider-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{provider-qkjm0tr9.js → vcs-m65w0hjp.js} +36 -36
- package/dist/chunks/{provider-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-3dv8501d.js → vcs-mdjrqw72.js} +7 -7
- package/dist/chunks/{provider-41bwr5r8.js → vcs-me88mjxz.js} +24 -24
- package/dist/chunks/{provider-9mdnhvbk.js → vcs-mhc8sq43.js} +3 -3
- package/dist/chunks/{provider-8fwstqvg.js → vcs-mza9sdsq.js} +12 -12
- package/dist/chunks/{provider-d858xzj7.js → vcs-n2srvep7.js} +4 -4
- package/dist/chunks/{provider-djyzjjqa.js → vcs-n47f9j4d.js} +17 -17
- package/dist/chunks/{provider-73f5j550.js → vcs-nby89d84.js} +5 -5
- package/dist/chunks/{provider-nd8t3rxx.js → vcs-nc17g1ks.js} +29 -29
- package/dist/chunks/{provider-1dg03anb.js → vcs-nedh9485.js} +4 -4
- package/dist/chunks/{provider-886a4kvd.js → vcs-ng4rtfaf.js} +26 -26
- package/dist/chunks/{provider-r3rxn5pd.js → vcs-nm2z9cct.js} +26 -26
- package/dist/chunks/{provider-f5krr7qf.js → vcs-nsjjga1k.js} +22 -22
- package/dist/chunks/{provider-p44d8wdy.js → vcs-nxhqveyz.js} +5 -5
- package/dist/chunks/{provider-9cfx1f1g.js → vcs-nyvg2195.js} +5 -5
- package/dist/chunks/{provider-1p8x96d2.js → vcs-nz7rrxb0.js} +11 -11
- package/dist/chunks/{provider-qm204dz4.js → vcs-nzdcam8v.js} +16 -16
- package/dist/chunks/{provider-ah363fah.js → vcs-p0tapzan.js} +27 -27
- package/dist/chunks/{provider-6cbkac1a.js → vcs-pahxbg9p.js} +15 -15
- package/dist/chunks/{provider-ex7nm40d.js → vcs-pbfpfpw9.js} +9 -9
- package/dist/chunks/{provider-znn6tx0t.js → vcs-pjgby0gj.js} +21 -21
- package/dist/chunks/{provider-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-zed4mej1.js → vcs-pkkm8try.js} +11 -11
- package/dist/chunks/{provider-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{provider-kkagwda7.js → vcs-pnvqzmvp.js} +15 -15
- package/dist/chunks/{provider-fdms3n6w.js → vcs-prq7hedt.js} +9 -9
- package/dist/chunks/{provider-9zzqfxsg.js → vcs-pv9maacy.js} +5 -5
- package/dist/chunks/{provider-vmax8pys.js → vcs-q0szzxes.js} +11 -11
- package/dist/chunks/{provider-983tcqe7.js → vcs-q1v1r1nw.js} +21 -21
- package/dist/chunks/{provider-wxv20f1z.js → vcs-q23rvkdr.js} +23 -23
- package/dist/chunks/{provider-jexxy024.js → vcs-q3t37ft6.js} +3 -3
- package/dist/chunks/{provider-5f8r53dv.js → vcs-q7dd7m0y.js} +1 -1
- package/dist/chunks/{provider-mtv0dtrw.js → vcs-qbazetqp.js} +18 -18
- package/dist/chunks/{provider-qgn6gcr1.js → vcs-qgn6gcr1.js} +1 -1
- package/dist/chunks/{provider-483kse91.js → vcs-qmy51sea.js} +15 -15
- package/dist/chunks/{provider-9xvq3m7s.js → vcs-qr8csav2.js} +5 -5
- package/dist/chunks/{provider-dwhz4sb6.js → vcs-qs56nzqh.js} +5 -5
- package/dist/chunks/{provider-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-gwnkz9kd.js → vcs-qwqd8zme.js} +8 -8
- package/dist/chunks/{provider-2sejkfem.js → vcs-r2m716tb.js} +9 -9
- package/dist/chunks/{provider-k53npxr2.js → vcs-r3c4069c.js} +1 -1
- package/dist/chunks/{provider-h6r3nrb9.js → vcs-r55vasa2.js} +4 -4
- package/dist/chunks/{provider-6kbcyghs.js → vcs-r72p2pqe.js} +9 -9
- package/dist/chunks/{provider-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-qg0jgkcp.js → vcs-rhafb4aa.js} +9 -9
- package/dist/chunks/{provider-s736366c.js → vcs-rhc0y5sn.js} +9 -9
- package/dist/chunks/{provider-jbfcvfnq.js → vcs-rkm1ygc2.js} +23 -23
- package/dist/chunks/{provider-1pgwehn0.js → vcs-rsemhs2h.js} +176 -176
- package/dist/chunks/{provider-tgsp8mvr.js → vcs-rtg3pve1.js} +13 -13
- package/dist/chunks/{provider-sya0r9rt.js → vcs-rwpk0y3g.js} +23 -23
- package/dist/chunks/{provider-qvk0gew2.js → vcs-ryfje2sk.js} +29 -29
- package/dist/chunks/{provider-9m3e72t0.js → vcs-rynhfk08.js} +3 -3
- package/dist/chunks/{provider-3eghbq6c.js → vcs-s3gwxvhs.js} +20 -20
- package/dist/chunks/{provider-pgs636hh.js → vcs-s5xy3xb2.js} +3 -3
- package/dist/chunks/{provider-t6rqekt4.js → vcs-srfk2ym8.js} +6 -6
- package/dist/chunks/{provider-zcqg046m.js → vcs-svvemcs6.js} +8 -8
- package/dist/chunks/{provider-yfsnday6.js → vcs-sxetf54f.js} +37 -37
- package/dist/chunks/{provider-b658d458.js → vcs-t02k7490.js} +11 -11
- package/dist/chunks/{provider-z9rwy7fx.js → vcs-t1ghz5t3.js} +30 -30
- package/dist/chunks/{provider-nq2bdnnt.js → vcs-t295fak2.js} +18 -18
- package/dist/chunks/{provider-c74pjr4b.js → vcs-t2r6r89t.js} +10 -10
- package/dist/chunks/{provider-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{provider-583e1kgc.js → vcs-tjj1kmg0.js} +22 -22
- package/dist/chunks/{provider-444r4drm.js → vcs-trfjmmfn.js} +26 -26
- package/dist/chunks/{provider-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{provider-0xezjjjn.js → vcs-tx9w5tca.js} +8 -8
- package/dist/chunks/{provider-gqvaak2s.js → vcs-v1m9cfjw.js} +1 -1
- package/dist/chunks/{provider-mp0zvkr9.js → vcs-v3bjpj8z.js} +20 -20
- package/dist/chunks/{provider-ht5dkjxb.js → vcs-v6ysps7g.js} +39 -39
- package/dist/chunks/{provider-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-9e8epedj.js → vcs-vfjhaew2.js} +12 -12
- package/dist/chunks/{provider-ff7nd16b.js → vcs-vp8nspft.js} +17 -17
- package/dist/chunks/{provider-8wry8wmy.js → vcs-vv97ra8n.js} +11 -11
- package/dist/chunks/{provider-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{provider-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-1e9cjvdj.js → vcs-w9tkr4jp.js} +7 -7
- package/dist/chunks/{provider-t9cmg2g5.js → vcs-wb0ej3re.js} +37 -37
- package/dist/chunks/{provider-wd3x2cqz.js → vcs-wd3x2cqz.js} +2 -2
- package/dist/chunks/{provider-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{provider-ykkx6rx5.js → vcs-wn8t9ac7.js} +44 -44
- package/dist/chunks/{provider-9tfb63c1.js → vcs-ws2hpek1.js} +17 -17
- package/dist/chunks/{provider-x7whjj4n.js → vcs-wt50w2qg.js} +322 -322
- package/dist/chunks/{provider-72j1trj5.js → vcs-x13r1yah.js} +19 -19
- package/dist/chunks/{provider-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{provider-9jtm8sj6.js → vcs-x1rff75g.js} +27 -27
- package/dist/chunks/{provider-57qh049z.js → vcs-x6vchg5p.js} +11 -11
- package/dist/chunks/{provider-8y2fx2dx.js → vcs-xacmvfyf.js} +43 -43
- package/dist/chunks/{provider-gp0s93m5.js → vcs-xb6kadxm.js} +28 -28
- package/dist/chunks/{provider-c0se6qj2.js → vcs-xc8t3em0.js} +5 -5
- package/dist/chunks/{provider-drwq78ky.js → vcs-xfkkasph.js} +4 -4
- package/dist/chunks/{provider-z2d9ad0a.js → vcs-xpwqtyvz.js} +10 -10
- package/dist/chunks/{provider-7v81x33d.js → vcs-xsgk3b13.js} +9 -9
- package/dist/chunks/{provider-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-t19n1wc4.js → vcs-y5689hke.js} +22 -22
- package/dist/chunks/{provider-mt4r3ktz.js → vcs-y881vcph.js} +19 -19
- package/dist/chunks/{provider-hz0q9sdq.js → vcs-yf10kn3d.js} +8 -8
- package/dist/chunks/{provider-7289fqfg.js → vcs-yg1qn3cz.js} +11 -11
- package/dist/chunks/{provider-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{provider-yrznvahk.js → vcs-yrznvahk.js} +2 -2
- package/dist/chunks/{provider-3rtxz4nr.js → vcs-yvvvp4gn.js} +8 -8
- package/dist/chunks/{provider-anj6srtj.js → vcs-ywfj9cpt.js} +10 -10
- package/dist/chunks/{provider-f5mwwqd1.js → vcs-yxabtm2w.js} +8 -8
- package/dist/chunks/{provider-v8ew62n7.js → vcs-yzf4zjhy.js} +11 -11
- package/dist/chunks/{provider-brdwt0ds.js → vcs-yzztktw2.js} +25 -25
- package/dist/chunks/{provider-z07pqspn.js → vcs-z07pqspn.js} +3 -3
- package/dist/chunks/{provider-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-z63w68vq.js → vcs-z63w68vq.js} +2 -2
- package/dist/chunks/{provider-f8y27661.js → vcs-ze71xwz7.js} +14 -14
- package/dist/chunks/{provider-48e6h404.js → vcs-ze9fxg61.js} +24 -24
- package/dist/chunks/{provider-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{provider-ax84d1xf.js → vcs-zj3mw4nr.js} +30 -30
- package/dist/chunks/{provider-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- 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 +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +104 -104
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +123 -123
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/provider-0mesazry.js +0 -4
- package/dist/chunks/provider-5syzq0vf.js +0 -26
- package/dist/chunks/provider-gyce5qg1.js +0 -18
- package/dist/chunks/provider-x77c26sk.js +0 -252
- /package/dist/chunks/{provider-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-5qd3pb7m.js → vcs-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-b3jbkr8y.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-2v2a3t0h.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service81,
|
|
14
|
+
node85
|
|
15
|
+
} from "./vcs-74rrnwt7.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./vcs-2fgn2we9.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./vcs-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./vcs-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./vcs-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service80,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node84,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service80 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,9 +95,9 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service81;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
102
|
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID16.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
170
170
|
if (!row)
|
|
171
171
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event20.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID16.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID16.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID16.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID16.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service80.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node84 = makeGlobalNode({
|
|
288
|
+
service: Service80,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [node87, node88, FSUtil.node,
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node85, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-b3jbkr8y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./vcs-0jkw1j53.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-by5v678g.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-53fyba40.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./vcs-b7f8f75j.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./vcs-zj3mw4nr.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service25
|
|
21
|
+
} from "./vcs-0ncwemsz.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./vcs-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service53;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service25;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID18
|
|
3
|
+
} from "./vcs-q1v1r1nw.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info12
|
|
9
|
+
} from "./vcs-g8jasmdt.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./vcs-66pxgpaw.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./vcs-5x6205s3.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./vcs-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./vcs-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin44
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info12);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin44 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service44;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin40 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID18.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID18.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin44, exports_agent2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service33,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node36
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service33.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node36 = makeGlobalNode({ service: Service33, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service33, makeLayer2, layer14, node36, exports_model_transport };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service10
|
|
3
|
+
} from "./vcs-kgx5a6ff.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/compaction.ts
|
|
9
9
|
var exports_compaction = {};
|
|
10
10
|
__export(exports_compaction, {
|
|
11
11
|
NativeCompactionPlugin: () => exports_compaction,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin23
|
|
13
13
|
});
|
|
14
14
|
import { LLMClient, Message } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect } from "effect";
|
|
17
|
-
var
|
|
17
|
+
var Plugin23 = define({
|
|
18
18
|
id: "opencode.compaction.native",
|
|
19
19
|
effect: Effect.fn("NativeCompactionPlugin")(function* () {
|
|
20
20
|
const llm = yield* LLMClient.Service;
|
|
21
|
-
const compaction = yield*
|
|
21
|
+
const compaction = yield* Service10;
|
|
22
22
|
yield* compaction.transform((editor) => {
|
|
23
23
|
editor.native((input) => {
|
|
24
24
|
const request = input.request;
|
|
@@ -36,4 +36,4 @@ var Plugin5 = define({
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export {
|
|
39
|
+
export { Plugin23, exports_compaction };
|