@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID11,
|
|
3
|
+
Info20,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-vx3jgdek.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service85,
|
|
11
11
|
node89
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-agzdqrvj.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service84,
|
|
16
16
|
node88
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-kmb3qvgg.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./instance-s1mg2vv7.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service63,
|
|
24
|
+
node67
|
|
25
|
+
} from "./instance-v6gb7zv2.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./instance-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./instance-c1fqxshp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node66
|
|
34
|
+
} from "./instance-nwhps941.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./instance-hkffa77z.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./instance-aemm1ch5.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./instance-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node23
|
|
47
|
+
} from "./instance-s8cnk5hs.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node53
|
|
51
|
+
} from "./instance-g9f7vqf7.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./instance-bsprd9wx.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput5,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service68,
|
|
68
|
+
node72
|
|
69
|
+
} from "./instance-d8yh87ds.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service65,
|
|
72
|
+
node69
|
|
73
|
+
} from "./instance-jmvxnjkh.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service60,
|
|
76
|
+
node65
|
|
77
|
+
} from "./instance-092frx3z.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./instance-2vvh33eb.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service28,
|
|
83
|
+
node31
|
|
84
|
+
} from "./instance-f0epa603.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./instance-d33wr780.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./instance-a2r9cqcm.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service71,
|
|
93
|
+
node75
|
|
94
|
+
} from "./instance-gk5njmcq.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service19,
|
|
100
|
+
node22
|
|
101
|
+
} from "./instance-rjz3833c.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service44,
|
|
104
|
+
node47
|
|
105
|
+
} from "./instance-w3x9v1nk.js";
|
|
106
106
|
import {
|
|
107
107
|
make12
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./instance-rjarnty1.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./instance-p0ytakck.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./instance-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info20,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput2,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service18,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node21
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput2 = ListInput5;
|
|
152
|
-
class
|
|
152
|
+
class Service18 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service85;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service84;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service81;
|
|
160
|
+
const execution = yield* Service60;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service28;
|
|
163
|
+
const store = yield* Service68;
|
|
164
|
+
const instances = yield* Service63;
|
|
165
|
+
const moves = yield* Service19;
|
|
166
|
+
const jobs = yield* Service65;
|
|
167
|
+
const environments = yield* Service44;
|
|
168
|
+
const locations = yield* Service71;
|
|
169
169
|
const sessions = yield* make12();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service18.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError9({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service63, instances), Effect.provideService(Service85, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service63, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node21 = Node.makeGlobalNode({
|
|
331
|
+
service: Service18,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
node58,
|
|
335
334
|
node69,
|
|
335
|
+
node47,
|
|
336
336
|
node89,
|
|
337
337
|
node88,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
node85,
|
|
339
|
+
node65,
|
|
340
|
+
node31,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node72,
|
|
343
|
+
node67,
|
|
344
|
+
node66,
|
|
345
|
+
node22,
|
|
346
|
+
node23,
|
|
347
|
+
node75,
|
|
348
348
|
FSUtil.node,
|
|
349
|
-
|
|
349
|
+
node53
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput2,
|
|
353
|
+
export { ListAnchor2, ListInput2, Service18, node21, exports_session };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./instance-f3knshs0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3
|
|
17
17
|
});
|
|
18
18
|
import path from "path";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
import { Global } from "@opencode/util/global";
|
|
22
|
-
var
|
|
22
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
23
23
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
24
24
|
const fs = yield* FSUtil.Service;
|
|
25
25
|
const global = yield* Global.Service;
|
|
26
|
-
const location = yield*
|
|
26
|
+
const location = yield* Service80;
|
|
27
27
|
const globalDirectory = AbsolutePath2.make(global.config);
|
|
28
28
|
const globalAgentsDirectory = AbsolutePath2.make(path.join(global.home, ".agents"));
|
|
29
29
|
const globalClaudeDirectory = AbsolutePath2.make(path.join(global.home, ".claude"));
|
|
@@ -31,10 +31,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
31
31
|
const directories = (yield* fs.resolve(location.directory)) === globalRoots[0] || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
32
32
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
33
33
|
const parent = yield* fs.resolve(directory);
|
|
34
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
34
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
35
35
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
36
36
|
const globalEnabled = options?.global !== false;
|
|
37
|
-
const globalFiles = yield* Effect.forEach(
|
|
37
|
+
const globalFiles = yield* Effect.forEach(names3, (name) => fs.resolve(path.join(globalDirectory, name)));
|
|
38
38
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
39
39
|
return {
|
|
40
40
|
global: globalEnabled ? globalDirectory : undefined,
|
|
@@ -56,4 +56,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
56
56
|
};
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
export {
|
|
59
|
+
export { names3, discover3, exports_discovery2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info18,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info18 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info18, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-xd0by9zm.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service75,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node79
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID13,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service75 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service75, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service75.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node79 = makeLocationNode({ service: Service75, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service75, locationLayer2, node79, exports_aisdk };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin27
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin27 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin28 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin27, exports_mcp_codemode_defaults };
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
render2,
|
|
3
3
|
update3,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
4
|
+
make13,
|
|
5
|
+
exports_instructions3
|
|
6
|
+
} from "../chunks/instance-88gzfjcr.js";
|
|
7
|
+
import"../chunks/instance-3fc6dm20.js";
|
|
8
|
+
import"../chunks/instance-s8d7rejh.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
exports_instructions3 as CodeModeInstructions,
|
|
11
|
+
make13 as make,
|
|
12
|
+
render2 as render,
|
|
13
13
|
update3 as update
|
|
14
14
|
};
|
package/dist/codemode/tool.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
create2,
|
|
3
3
|
catalog2,
|
|
4
4
|
exports_tool2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/instance-82v73sw7.js";
|
|
6
|
+
import"../chunks/instance-m3fdjcah.js";
|
|
7
|
+
import"../chunks/instance-pyv0edze.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_tool2 as CodeModeTool,
|
|
10
10
|
catalog2 as catalog,
|