@opencode/core 0.0.0-dev-20819 → 0.0.0-dev-20821
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{provider-dn5he4af.js → instance-092frx3z.js} +36 -36
- package/dist/chunks/{provider-nmvty7z6.js → instance-0a2tmjgh.js} +18 -18
- package/dist/chunks/{provider-2k8khapm.js → instance-0jwsre1p.js} +5 -5
- package/dist/chunks/{provider-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-zmr78fwr.js → instance-0r3c1bmw.js} +5 -5
- package/dist/chunks/{provider-emqyv9re.js → instance-0rvjb12a.js} +19 -19
- package/dist/chunks/{provider-0vbcp93d.js → instance-0vbcp93d.js} +2 -2
- package/dist/chunks/{provider-7bdn8rzq.js → instance-1031hycs.js} +32 -32
- package/dist/chunks/{provider-vesnn5tc.js → instance-1epg3585.js} +11 -11
- package/dist/chunks/{provider-wjr9rjd7.js → instance-1ffvrpkg.js} +9 -9
- package/dist/chunks/{provider-xc1zswmg.js → instance-1nkwfmby.js} +13 -13
- package/dist/chunks/{provider-dfk6kfc9.js → instance-21xt53e8.js} +2 -2
- package/dist/chunks/{provider-72k9y6x3.js → instance-27r84b2s.js} +15 -15
- package/dist/chunks/{provider-a4g7dr4s.js → instance-2hr1xsnb.js} +46 -46
- package/dist/chunks/{provider-zmwycstj.js → instance-2jtwphcz.js} +1 -1
- package/dist/chunks/{provider-hcda30yb.js → instance-2nbfb5f6.js} +11 -11
- package/dist/chunks/{provider-hj636n86.js → instance-2nd2pqnm.js} +13 -13
- package/dist/chunks/{provider-y1z3pkss.js → instance-2p966zvx.js} +6 -6
- package/dist/chunks/{provider-2vvh33eb.js → instance-2vvh33eb.js} +2 -2
- package/dist/chunks/{provider-7v81x33d.js → instance-2xx6zsf3.js} +9 -9
- package/dist/chunks/{provider-wvhvqcvd.js → instance-2z1pcrqp.js} +23 -23
- package/dist/chunks/{provider-3wpd7sdb.js → instance-318p8t3z.js} +30 -30
- package/dist/chunks/{provider-tmcj1942.js → instance-322w8pha.js} +5 -5
- package/dist/chunks/{provider-bxz08qrx.js → instance-32hd6mtm.js} +5 -5
- package/dist/chunks/{provider-td8nrxeh.js → instance-32rz0ac1.js} +86 -86
- package/dist/chunks/{provider-4zrz1dvp.js → instance-34eg7e0g.js} +4 -4
- package/dist/chunks/{provider-k0zgcj61.js → instance-36epjyth.js} +11 -11
- package/dist/chunks/{provider-d4aya8fc.js → instance-396qr75g.js} +13 -13
- package/dist/chunks/{provider-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3hwn7j4h.js → instance-3hwn7j4h.js} +2 -2
- package/dist/chunks/{provider-kxw0d2hz.js → instance-3j6132de.js} +18 -18
- package/dist/chunks/{provider-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-mj1gw2vg.js → instance-3vv65zrx.js} +4 -4
- package/dist/chunks/{provider-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
- package/dist/chunks/{provider-bxr1m0k3.js → instance-469rhn0t.js} +15 -15
- package/dist/chunks/{provider-4k52rekz.js → instance-4a31j5w7.js} +19 -19
- package/dist/chunks/{provider-jsxf1k0c.js → instance-4at6vrp5.js} +15 -15
- package/dist/chunks/{provider-36x86bch.js → instance-4hyfh2ay.js} +5 -5
- package/dist/chunks/{provider-y6ht50x5.js → instance-4qgwdbse.js} +13 -13
- package/dist/chunks/{provider-2ccvkpx1.js → instance-4ts7tf6z.js} +2 -2
- package/dist/chunks/{provider-yw8t9dwe.js → instance-4w5f3qm5.js} +4 -4
- package/dist/chunks/{provider-54ma36ye.js → instance-54ma36ye.js} +1 -1
- package/dist/chunks/{provider-ttjhmc92.js → instance-552sz0b4.js} +18 -18
- package/dist/chunks/{provider-8p5dcft8.js → instance-57ybpwjq.js} +11 -11
- package/dist/chunks/{provider-4zn70v01.js → instance-5ahzsdw2.js} +5 -5
- package/dist/chunks/{provider-t3g2kvn2.js → instance-5k53xwkx.js} +15 -15
- package/dist/chunks/{provider-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-drnf6xwf.js → instance-5pyjqqve.js} +2 -2
- package/dist/chunks/{provider-e3qxr5gk.js → instance-5qd3pb7m.js} +2 -2
- package/dist/chunks/{provider-jvn25kqv.js → instance-6bzm7dzz.js} +7 -7
- package/dist/chunks/{provider-n5gb9kjy.js → instance-6ngydqsr.js} +11 -11
- package/dist/chunks/{provider-z6yetpqf.js → instance-6nhx3y9w.js} +8 -8
- package/dist/chunks/{provider-6xb47vfp.js → instance-6xb47vfp.js} +1 -1
- package/dist/chunks/{provider-ghmaxe42.js → instance-764ncrp7.js} +5 -5
- package/dist/chunks/{provider-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-x2xbfqys.js → instance-7hem7jqs.js} +15 -15
- package/dist/chunks/{provider-pr23z569.js → instance-7kjn14yg.js} +18 -18
- package/dist/chunks/{provider-72sxpf59.js → instance-82v73sw7.js} +3 -3
- package/dist/chunks/{provider-84txncab.js → instance-84txncab.js} +1 -1
- package/dist/chunks/{provider-1a6g6y7p.js → instance-86fv917v.js} +24 -24
- package/dist/chunks/{provider-yfvm05yf.js → instance-874d0a13.js} +4 -4
- package/dist/chunks/{provider-0mm9aq32.js → instance-88gzfjcr.js} +15 -15
- package/dist/chunks/{provider-tcezcvh9.js → instance-89znhe33.js} +4 -4
- package/dist/chunks/{provider-pd4dtwmv.js → instance-8b956r4x.js} +19 -19
- package/dist/chunks/{provider-gcf6sfbq.js → instance-8f6a5ac8.js} +19 -19
- package/dist/chunks/{provider-8m6m0r52.js → instance-8m6m0r52.js} +1 -1
- package/dist/chunks/{provider-52fe2n6x.js → instance-8ttz65mb.js} +8 -8
- package/dist/chunks/{provider-bm107t7h.js → instance-92rf8dq8.js} +11 -11
- package/dist/chunks/{provider-cxy95pxm.js → instance-9a926zhh.js} +32 -32
- package/dist/chunks/{provider-a8nr4rbb.js → instance-9hmhxc5h.js} +32 -32
- package/dist/chunks/{provider-tjwfy1sb.js → instance-9n2tzk1n.js} +21 -21
- package/dist/chunks/{provider-y4wrpq2h.js → instance-9q67ec2j.js} +20 -20
- package/dist/chunks/{provider-sqatzsa5.js → instance-a0tncgbm.js} +32 -32
- package/dist/chunks/{provider-pgyscs0f.js → instance-a18ypfsk.js} +10 -10
- package/dist/chunks/{provider-454n8t5y.js → instance-a2r9cqcm.js} +8 -8
- package/dist/chunks/{provider-x661k3y3.js → instance-addxnjmp.js} +4 -4
- package/dist/chunks/{provider-svvynxha.js → instance-aemm1ch5.js} +15 -15
- package/dist/chunks/{provider-pkwzrfh9.js → instance-agzdqrvj.js} +3 -3
- package/dist/chunks/{provider-r8ttjkk4.js → instance-axws8t32.js} +22 -22
- package/dist/chunks/{provider-7j43bv8y.js → instance-az9ejh8m.js} +46 -46
- package/dist/chunks/{provider-977g2q7r.js → instance-b1k14wbp.js} +34 -34
- package/dist/chunks/{provider-b3f8fkhc.js → instance-b3f8fkhc.js} +2 -2
- package/dist/chunks/{provider-rcvywq7f.js → instance-bhmb9yng.js} +26 -26
- package/dist/chunks/{provider-ry082wg0.js → instance-bsprd9wx.js} +9 -9
- package/dist/chunks/{provider-3prsa1va.js → instance-bvefwfky.js} +11 -11
- package/dist/chunks/{provider-rg9sd9dt.js → instance-bvjbnw3w.js} +3 -3
- package/dist/chunks/{provider-c1fqxshp.js → instance-c1fqxshp.js} +3 -3
- package/dist/chunks/{provider-cne3g4td.js → instance-c7kyw4sw.js} +11 -11
- package/dist/chunks/{provider-7gqjj3mq.js → instance-cjrx7r7b.js} +36 -36
- package/dist/chunks/{provider-2d49scjs.js → instance-ckh4m67b.js} +27 -27
- package/dist/chunks/{provider-w8c89xkg.js → instance-ckywmst4.js} +33 -33
- package/dist/chunks/{provider-4ymg4mgw.js → instance-cxw3wg8t.js} +45 -45
- package/dist/chunks/{provider-5nv1cf15.js → instance-d33wr780.js} +12 -12
- package/dist/chunks/{provider-kmtd2a05.js → instance-d8yh87ds.js} +14 -14
- package/dist/chunks/{provider-05t0yy5n.js → instance-dd3kfcen.js} +17 -17
- package/dist/chunks/{provider-dcdhzt8b.js → instance-dkftam4e.js} +24 -24
- package/dist/chunks/{provider-wrv8n19w.js → instance-dm8bnwtv.js} +7 -7
- package/dist/chunks/{provider-y71avatq.js → instance-dpkg50ah.js} +4 -4
- package/dist/chunks/{provider-qqeeq2t9.js → instance-drwq78ky.js} +7 -7
- package/dist/chunks/{provider-kn4y5379.js → instance-dt82d7s9.js} +16 -16
- package/dist/chunks/{provider-wa9d8ess.js → instance-e63gr7h2.js} +17 -17
- package/dist/chunks/{provider-1jd8q42d.js → instance-e6ekg6mp.js} +15 -15
- package/dist/chunks/{provider-bfsn9k2g.js → instance-ea99mjkb.js} +27 -27
- package/dist/chunks/{provider-66za0ybh.js → instance-eaq9sh0m.js} +5 -5
- package/dist/chunks/{provider-eej6y6fw.js → instance-eej6y6fw.js} +2 -2
- package/dist/chunks/{provider-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-h4w545sf.js → instance-efq0ebdb.js} +35 -35
- package/dist/chunks/{provider-5j4s1sf1.js → instance-ep8bmde4.js} +5 -5
- package/dist/chunks/{provider-j2sb7jez.js → instance-er6jah6y.js} +3 -3
- package/dist/chunks/{provider-g485rnjb.js → instance-evmwk2qf.js} +21 -21
- package/dist/chunks/{provider-zee90e5c.js → instance-f0epa603.js} +9 -9
- package/dist/chunks/{provider-gt5zqm6h.js → instance-f3knshs0.js} +16 -16
- package/dist/chunks/{provider-4rb3tf6t.js → instance-f4aapyne.js} +5 -5
- package/dist/chunks/instance-f4fmw5dk.js +513 -0
- package/dist/chunks/{provider-644xaxd1.js → instance-f6tapxe4.js} +6 -6
- package/dist/chunks/{provider-a8t9w2yw.js → instance-fa95pmpk.js} +18 -18
- package/dist/chunks/{provider-n81jbe8d.js → instance-fd5w41th.js} +8 -8
- package/dist/chunks/{provider-gebtr55s.js → instance-fegk541e.js} +5 -5
- package/dist/chunks/{provider-v0es1rhs.js → instance-fpecnkgp.js} +9 -9
- package/dist/chunks/{provider-9hn6k4tm.js → instance-g0445xdp.js} +8 -8
- package/dist/chunks/{provider-pkf2rgn3.js → instance-g47rr4nd.js} +14 -14
- package/dist/chunks/{provider-z3gh34g3.js → instance-g8ytx0e6.js} +11 -11
- package/dist/chunks/{provider-ssyy5q0h.js → instance-g9f7vqf7.js} +11 -11
- package/dist/chunks/{provider-9fbyxv7h.js → instance-gaftya75.js} +27 -27
- package/dist/chunks/{provider-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-dyzfbb2f.js → instance-ggd2ez68.js} +4 -4
- package/dist/chunks/{provider-rj13t462.js → instance-gk5njmcq.js} +9 -9
- package/dist/chunks/{provider-gk8qb678.js → instance-gk8qb678.js} +1 -1
- package/dist/chunks/{provider-g33gt04d.js → instance-gr3gwjcf.js} +68 -68
- package/dist/chunks/{provider-x7qxpc0c.js → instance-gs1vjcf9.js} +26 -26
- package/dist/chunks/{provider-5daxzhhk.js → instance-gva0eteh.js} +29 -29
- package/dist/chunks/{provider-cacd1jm9.js → instance-gw6xptb7.js} +4 -4
- package/dist/chunks/{provider-q96p9zxz.js → instance-h2tnk3b1.js} +27 -27
- package/dist/chunks/{provider-115ch50k.js → instance-h5ck5vjk.js} +14 -14
- package/dist/chunks/{provider-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-h7s7r6s9.js → instance-h7s7r6s9.js} +2 -2
- package/dist/chunks/{provider-ynmknp8q.js → instance-hcv80w8f.js} +11 -11
- package/dist/chunks/{provider-gd0tnyjc.js → instance-he27pt63.js} +1 -1
- package/dist/chunks/{provider-8cy6mvnv.js → instance-hfd5jd41.js} +14 -14
- package/dist/chunks/{provider-hgz4x7wa.js → instance-hgz4x7wa.js} +1 -1
- package/dist/chunks/{provider-kqx1b4hy.js → instance-hkffa77z.js} +4 -4
- package/dist/chunks/{provider-faj9nw43.js → instance-hmktdbr3.js} +11 -11
- package/dist/chunks/{provider-4pss0hxy.js → instance-hp0d23c7.js} +20 -20
- package/dist/chunks/{provider-5awagvpc.js → instance-hppaxmnb.js} +4 -4
- package/dist/chunks/{provider-fxaymqdw.js → instance-hq3c8me3.js} +4 -4
- package/dist/chunks/{provider-t4g8dwks.js → instance-hqj9debc.js} +10 -10
- package/dist/chunks/{provider-hvq8k270.js → instance-hw0swr2h.js} +11 -11
- package/dist/chunks/{provider-v31j89sj.js → instance-hwnvyahg.js} +24 -24
- package/dist/chunks/{provider-pb9sdrcc.js → instance-hx9ssah9.js} +20 -20
- package/dist/chunks/{provider-ak0hh039.js → instance-j4jvxywx.js} +9 -9
- package/dist/chunks/{provider-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-gw1cnde2.js → instance-jmvxnjkh.js} +16 -16
- package/dist/chunks/{provider-vbppwtb7.js → instance-jr6pk64m.js} +15 -15
- package/dist/chunks/{provider-bgbb68bf.js → instance-js83m5s3.js} +50 -50
- package/dist/chunks/{provider-86gggjw6.js → instance-k7k0v0hy.js} +24 -24
- package/dist/chunks/{provider-1h2g9tn4.js → instance-kdprgamg.js} +32 -32
- package/dist/chunks/{provider-2tf80889.js → instance-kkbjhz3j.js} +45 -45
- package/dist/chunks/{provider-n61wzdch.js → instance-kmb3qvgg.js} +4 -4
- package/dist/chunks/{provider-jt34x9mc.js → instance-kvx9rc2y.js} +22 -22
- package/dist/chunks/{provider-m3fdjcah.js → instance-m3fdjcah.js} +1 -1
- package/dist/chunks/{provider-8tkppbx2.js → instance-m440v7tp.js} +9 -9
- package/dist/chunks/{provider-9mhtf283.js → instance-m460cfww.js} +9 -9
- package/dist/chunks/{provider-cpneeje0.js → instance-m8w6th39.js} +9 -9
- package/dist/chunks/{provider-gdawb179.js → instance-m9cxx8a5.js} +6 -6
- package/dist/chunks/{provider-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-76nnfvr9.js → instance-macq394m.js} +29 -29
- package/dist/chunks/{provider-xghzwj9d.js → instance-mgd4y656.js} +17 -17
- package/dist/chunks/{provider-7m71rsm5.js → instance-mxsy50j6.js} +34 -34
- package/dist/chunks/{provider-3ytwe5rt.js → instance-n23z4p7s.js} +22 -22
- package/dist/chunks/{provider-j2mcctvz.js → instance-n9hszd3x.js} +11 -11
- package/dist/chunks/{provider-tc3pm9xh.js → instance-ne4gpsya.js} +21 -21
- package/dist/chunks/{provider-16gjtgy3.js → instance-nfabvmye.js} +53 -53
- package/dist/chunks/{provider-fas5dz2e.js → instance-nkphbxvp.js} +23 -23
- package/dist/chunks/{provider-ec88y2q0.js → instance-npazdvka.js} +180 -180
- package/dist/chunks/{provider-2vcz1va9.js → instance-nwhps941.js} +24 -24
- package/dist/chunks/{provider-k9nsg3rd.js → instance-p0ytakck.js} +8 -8
- package/dist/chunks/{provider-sq432a0a.js → instance-p2dq6b7v.js} +27 -27
- package/dist/chunks/{provider-fqnkqsp9.js → instance-p6kjvwe5.js} +26 -26
- package/dist/chunks/{provider-kavm7sty.js → instance-pa57d246.js} +29 -29
- package/dist/chunks/instance-phz3h32g.js +18 -0
- package/dist/chunks/{provider-8hxtpvs0.js → instance-phz50fbd.js} +9 -9
- package/dist/chunks/{provider-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-5p8wk7br.js → instance-pke783ww.js} +3 -3
- package/dist/chunks/{provider-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{provider-yxhtaggr.js → instance-pnqjyv3f.js} +3 -3
- package/dist/chunks/{provider-0j77ygfz.js → instance-q0xm7vwc.js} +6 -6
- package/dist/chunks/{provider-y5f5p3p2.js → instance-q440cyy1.js} +10 -10
- package/dist/chunks/{provider-8agmnry4.js → instance-q4efcwg2.js} +11 -11
- package/dist/chunks/{provider-105dgqr7.js → instance-q84ntfk4.js} +20 -20
- package/dist/chunks/{provider-8844v94p.js → instance-qcdxy907.js} +13 -13
- package/dist/chunks/{provider-jqeyp2sv.js → instance-qm084je8.js} +4 -4
- package/dist/chunks/{provider-qnc92qwc.js → instance-qnc92qwc.js} +1 -1
- package/dist/chunks/{provider-vm8gyabs.js → instance-qpfx5yhp.js} +28 -28
- package/dist/chunks/{provider-g1qtspwg.js → instance-qreczbcj.js} +24 -24
- package/dist/chunks/{provider-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-mny5akbz.js → instance-qsrzjcc1.js} +10 -10
- package/dist/chunks/{provider-7nzfcs77.js → instance-qy51s84b.js} +14 -14
- package/dist/chunks/{provider-gb0ha008.js → instance-r0y8yvsy.js} +8 -8
- package/dist/chunks/instance-r159f21t.js +253 -0
- package/dist/chunks/{provider-nma959mg.js → instance-r2z489rp.js} +3 -3
- package/dist/chunks/{provider-x2aynqqh.js → instance-r9w3djhf.js} +9 -9
- package/dist/chunks/{provider-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-e3n34vws.js → instance-rdxkenda.js} +7 -7
- package/dist/chunks/{provider-6rd7sphc.js → instance-re2df2sb.js} +35 -35
- package/dist/chunks/{provider-rert0e01.js → instance-rert0e01.js} +2 -2
- package/dist/chunks/{provider-e3b9mkye.js → instance-rhmhk3yj.js} +26 -26
- package/dist/chunks/{provider-r8xr0va3.js → instance-rhraev7y.js} +4 -4
- package/dist/chunks/{provider-rj3eygr5.js → instance-rj3eygr5.js} +2 -2
- package/dist/chunks/{provider-7m6hak9t.js → instance-rjarnty1.js} +30 -30
- package/dist/chunks/{provider-jd9bvbdv.js → instance-rjz3833c.js} +54 -54
- package/dist/chunks/{provider-jws6fkes.js → instance-rkprpv83.js} +8 -8
- package/dist/chunks/{provider-q1kg0ya1.js → instance-rpa27tkz.js} +46 -46
- package/dist/chunks/{provider-aj3rbcf1.js → instance-rpgkwa3n.js} +5 -5
- package/dist/chunks/{provider-jwgz159j.js → instance-rqtv91c8.js} +1 -1
- package/dist/chunks/{provider-k76fn4kw.js → instance-rwm5vee1.js} +4 -4
- package/dist/chunks/{provider-xrw7w48k.js → instance-ryvxzfqv.js} +7 -7
- package/dist/chunks/{provider-22ygkatt.js → instance-s1mg2vv7.js} +43 -43
- package/dist/chunks/{provider-7b9xa5mv.js → instance-s8cnk5hs.js} +16 -16
- package/dist/chunks/{provider-rhjbct0v.js → instance-s8d7rejh.js} +4 -4
- package/dist/chunks/{provider-sa8ekw3f.js → instance-sa8ekw3f.js} +2 -2
- package/dist/chunks/{provider-1jbxkwyv.js → instance-shyg9dng.js} +28 -28
- package/dist/chunks/{provider-zhfnvrgq.js → instance-sjrbrn3d.js} +28 -28
- package/dist/chunks/{provider-85cwrbwd.js → instance-smhfsdfn.js} +3 -3
- package/dist/chunks/{provider-mxkh2d97.js → instance-sw4p4kw7.js} +49 -49
- package/dist/chunks/{provider-qa3qhgw8.js → instance-t2fc4mz5.js} +4 -4
- package/dist/chunks/{provider-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-fwa5knzh.js → instance-tcdh3fn7.js} +10 -10
- package/dist/chunks/{provider-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{provider-4acvxgcp.js → instance-tk99bb9m.js} +18 -18
- package/dist/chunks/{provider-rcj3sprb.js → instance-tn4b1346.js} +25 -25
- package/dist/chunks/{provider-wpvcbchg.js → instance-ttghfjh1.js} +11 -11
- package/dist/chunks/{provider-5fec3t3w.js → instance-txm3e8qz.js} +9 -9
- package/dist/chunks/{provider-tyytaxap.js → instance-tyytaxap.js} +1 -1
- package/dist/chunks/{provider-0hf9g8pg.js → instance-v6gb7zv2.js} +6 -6
- package/dist/chunks/{provider-v7p4zvkq.js → instance-v7p4zvkq.js} +2 -2
- package/dist/chunks/{provider-4m8r9fg4.js → instance-v8envbs0.js} +13 -13
- package/dist/chunks/{provider-aayt0g8p.js → instance-v9a9k07c.js} +16 -16
- package/dist/chunks/{provider-s34st4hq.js → instance-v9sqw8ra.js} +42 -42
- package/dist/chunks/{provider-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-2r93mh4x.js → instance-vmvedq7t.js} +12 -12
- package/dist/chunks/{provider-4axe861p.js → instance-vv3g5bch.js} +13 -13
- package/dist/chunks/{provider-my4zabxr.js → instance-vx3jgdek.js} +3 -3
- package/dist/chunks/{provider-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
- package/dist/chunks/{provider-y45m9c12.js → instance-w00n33vw.js} +4 -4
- package/dist/chunks/{provider-w2h15q85.js → instance-w39jehkq.js} +5 -5
- package/dist/chunks/{provider-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-r61qxybf.js → instance-w3x9v1nk.js} +8 -8
- package/dist/chunks/{provider-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{provider-95cj991r.js → instance-wdvj77v4.js} +9 -9
- package/dist/chunks/{provider-hwpthwr2.js → instance-x5xbc85a.js} +24 -24
- package/dist/chunks/{provider-had4kgfk.js → instance-x8cycxf4.js} +6 -6
- package/dist/chunks/{provider-z2db9r7p.js → instance-x8f99bzd.js} +18 -18
- package/dist/chunks/{provider-dpdm64ty.js → instance-xatk29w2.js} +21 -21
- package/dist/chunks/{provider-kcrgwk81.js → instance-xch165me.js} +18 -18
- package/dist/chunks/{provider-t6g828f5.js → instance-xd0by9zm.js} +26 -26
- package/dist/chunks/{provider-c9kjtmah.js → instance-xfh9hrb2.js} +12 -12
- package/dist/chunks/{provider-3nh64zp6.js → instance-xh033hfk.js} +9 -9
- package/dist/chunks/{provider-q43hxpb2.js → instance-xkk9x1fr.js} +17 -17
- package/dist/chunks/{provider-bcnceejz.js → instance-xqemcx5b.js} +6 -6
- package/dist/chunks/{provider-7rt165ap.js → instance-y0rwabvg.js} +10 -10
- package/dist/chunks/{provider-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-gvx2zve9.js → instance-y1yw7vbf.js} +36 -36
- package/dist/chunks/{provider-am909pk9.js → instance-y6f3s68n.js} +15 -15
- package/dist/chunks/instance-ydaezv05.js +26 -0
- package/dist/chunks/{provider-r93ryff9.js → instance-ydx5mz7g.js} +45 -45
- package/dist/chunks/{provider-wbnqszjr.js → instance-yhnbkze6.js} +14 -14
- package/dist/chunks/{provider-5fvj6kea.js → instance-yn6v8rwa.js} +9 -9
- package/dist/chunks/{provider-ermxvwhp.js → instance-z0aj456m.js} +4 -4
- package/dist/chunks/{provider-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-kwx5dvww.js → instance-zb1thr0h.js} +14 -14
- package/dist/chunks/{provider-4maxka28.js → instance-zpar6w8a.js} +86 -86
- package/dist/chunks/{provider-tht59k2r.js → instance-zpdqxjtk.js} +10 -10
- package/dist/chunks/{provider-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-4z58m4b4.js → instance-zsr4wwhv.js} +4 -4
- package/dist/chunks/{provider-rtkmq48h.js → instance-zxdf4s62.js} +11 -11
- package/dist/chunks/{provider-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/chunks/{provider-btbmdjwj.js → instance-zy43x3f1.js} +4 -4
- 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 +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- 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 +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +368 -368
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +93 -93
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +87 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- 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 +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +96 -96
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +97 -97
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +92 -92
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +6 -6
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +92 -92
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/provider-6h37vygj.js +0 -18
- package/dist/chunks/provider-8a4d0rff.js +0 -26
- package/dist/chunks/provider-91b5zmzs.js +0 -513
- package/dist/chunks/provider-xqes56mz.js +0 -253
- /package/dist/chunks/{provider-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2bv980vf.js → instance-2bv980vf.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3t0ybcrp.js → instance-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → instance-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-bw78ga2c.js → instance-bw78ga2c.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jze0r7bz.js → instance-jze0r7bz.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-m18g726c.js → instance-m18g726c.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-pkyv6v7h.js → instance-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{provider-pyv0edze.js → instance-pyv0edze.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-ve7vex1e.js → instance-ve7vex1e.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
InvalidError: () => InvalidError2
|
|
13
13
|
});
|
|
14
14
|
import { Schema } from "effect";
|
|
@@ -22,4 +22,4 @@ var InvalidError2 = NamedError2.create("ConfigInvalidError", {
|
|
|
22
22
|
message: Schema.optional(Schema.String)
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
export { InvalidError2,
|
|
25
|
+
export { InvalidError2, exports_error };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-kmb3qvgg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service48,
|
|
6
|
+
Event10
|
|
7
|
+
} from "./instance-552sz0b4.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin32,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin32 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service84;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service48;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin2 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin32, exports_plugin };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-kmb3qvgg.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,7 +12,7 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
@@ -22,18 +22,18 @@ __export(exports_form, {
|
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service79,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer27,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node83,
|
|
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 Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID15 = Form.ID;
|
|
39
39
|
var Info25 = Form.Info;
|
|
@@ -79,9 +79,9 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service79 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer27 = Layer.effect(
|
|
84
|
+
var layer27 = Layer.effect(Service79, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service84;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service79.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node83 = makeLocationNode({ service: Service79, layer: layer27, deps: [node88] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2,
|
|
319
|
+
export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer27, node83, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./instance-vmvedq7t.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service70,
|
|
16
|
+
node74
|
|
17
|
+
} from "./instance-a18ypfsk.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service34,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node37,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service34 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service70;
|
|
110
|
+
return Service34.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node37 = makeGlobalNode({
|
|
171
|
+
service: Service34,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node74]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service34, isError2, validateBranch2, node37, exports_repository_cache };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service71,
|
|
3
|
+
node75,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-gk5njmcq.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node67
|
|
9
|
+
} from "./instance-v6gb7zv2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service13
|
|
12
|
+
} from "./instance-ckywmst4.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-r159f21t.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service71, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service13);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node67.replace(Layer.succeed(Service63, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node75.replace(Layer.succeed(Service71, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./instance-xd0by9zm.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-2p966zvx.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
10
10
|
import { isArrayNonEmpty } from "effect/Array";
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Form } from "@opencode/schema/form";
|
|
13
|
-
var providerID =
|
|
13
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
14
14
|
var accountIdField = Form.StringField.make({
|
|
15
15
|
type: "string",
|
|
16
16
|
key: "accountId",
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-agzdqrvj.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-kmb3qvgg.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-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: () =>
|
|
23
|
+
Event: () => Event21,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID18,
|
|
26
|
+
Info: () => Info29,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service83,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node87
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
35
35
|
import { Credential } from "@opencode/schema/credential";
|
|
36
36
|
import { Integration } from "@opencode/schema/integration";
|
|
37
37
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
38
|
-
var
|
|
38
|
+
var ID18 = Credential.ID;
|
|
39
39
|
var OAuth3 = Credential.OAuth;
|
|
40
40
|
var Key4 = Credential.Key;
|
|
41
41
|
var External2 = Credential.External;
|
|
42
42
|
var Value2 = Credential.Value;
|
|
43
|
-
var
|
|
43
|
+
var Event21 = Credential.Event;
|
|
44
44
|
|
|
45
|
-
class
|
|
46
|
-
id:
|
|
45
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
46
|
+
id: ID18,
|
|
47
47
|
integrationID: Integration.ID,
|
|
48
48
|
label: Schema.String,
|
|
49
49
|
value: Value2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service83 extends Context.Service()("@opencode/Credential") {
|
|
54
54
|
}
|
|
55
|
-
var layer = Layer.effect(
|
|
55
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
56
56
|
const db = (yield* Service85).db;
|
|
57
57
|
const bus = yield* Service84;
|
|
58
58
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
59
59
|
const stored = (row) => {
|
|
60
60
|
if (!row.integration_id)
|
|
61
61
|
return;
|
|
62
|
-
return new
|
|
62
|
+
return new Info29({
|
|
63
63
|
id: row.id,
|
|
64
64
|
integrationID: row.integration_id,
|
|
65
65
|
label: row.label,
|
|
@@ -70,7 +70,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
70
70
|
const credential = stored(row);
|
|
71
71
|
return credential ? [credential] : [];
|
|
72
72
|
});
|
|
73
|
-
return
|
|
73
|
+
return Service83.of({
|
|
74
74
|
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))),
|
|
75
75
|
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))),
|
|
76
76
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -78,8 +78,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
78
78
|
return row ? stored(row) : undefined;
|
|
79
79
|
}),
|
|
80
80
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
81
|
-
const credential = new
|
|
82
|
-
id: input.id ??
|
|
81
|
+
const credential = new Info29({
|
|
82
|
+
id: input.id ?? ID18.create(),
|
|
83
83
|
integrationID: input.integrationID,
|
|
84
84
|
label: input.label ?? "default",
|
|
85
85
|
value: input.value
|
|
@@ -110,9 +110,9 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
110
110
|
type: credential.value.type,
|
|
111
111
|
active: activated
|
|
112
112
|
});
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
114
114
|
if (activated)
|
|
115
|
-
yield* bus.publish(
|
|
115
|
+
yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
116
116
|
return credential;
|
|
117
117
|
}),
|
|
118
118
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -132,7 +132,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
132
132
|
})), Effect.orDie);
|
|
133
133
|
if (integrationID) {
|
|
134
134
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
135
|
-
yield* bus.publish(
|
|
135
|
+
yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
|
|
136
136
|
}
|
|
137
137
|
}),
|
|
138
138
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
164
164
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
165
165
|
});
|
|
166
166
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
167
|
-
yield* bus.publish(
|
|
167
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
168
168
|
}),
|
|
169
169
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
170
170
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -197,12 +197,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
197
197
|
active: removed.switched,
|
|
198
198
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
199
199
|
});
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
201
201
|
if (removed.switched)
|
|
202
|
-
yield* bus.publish(
|
|
202
|
+
yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
203
203
|
})
|
|
204
204
|
});
|
|
205
205
|
}));
|
|
206
|
-
var
|
|
206
|
+
var node87 = makeGlobalNode({ service: Service83, layer, deps: [node89, node88] });
|
|
207
207
|
|
|
208
|
-
export {
|
|
208
|
+
export { ID18, OAuth3, Key4, External2, Value2, Event21, Info29, Service83, node87, exports_credential };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-kmb3qvgg.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event15,
|
|
18
|
+
ID: () => ID10,
|
|
19
|
+
Info: () => Info19,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service69,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node73
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event15 } from "@opencode/schema/agent";
|
|
29
|
+
var ID10 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID10.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info19 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service69 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service84;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info19.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID10.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service69.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID10.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID10.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node73 = makeLocationNode({ service: Service69, layer, deps: [node88] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID10, Name3, defaultID2, Color2, Info19, Service69, node73, exports_agent4, Event15 };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-tazgh4e4.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-ef5x83kb.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service80
|
|
14
|
+
} from "./instance-f3knshs0.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-ne4gpsya.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin16,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin16 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service80;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -553,4 +553,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
553
553
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
554
554
|
});
|
|
555
555
|
|
|
556
|
-
export {
|
|
556
|
+
export { Plugin16, exports_git };
|