@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,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-agzdqrvj.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-c1fqxshp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info3,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service22,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node26,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info3 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service22 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
63
63
|
`);
|
|
64
|
-
var source = (entry) =>
|
|
64
|
+
var source = (entry) => make21({
|
|
65
65
|
key: Key3.make(`api/${entry.key}`),
|
|
66
66
|
codec: Schema.toCodecJson(Schema.Json),
|
|
67
67
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make20({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service85;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service22.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node26 = makeLocationNode({ service: Service22, layer, deps: [node89] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info3, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service22, node26, exports_instruction_entry };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-xqemcx5b.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-pnqjyv3f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-82v73sw7.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service54,
|
|
17
|
+
node58
|
|
18
|
+
} from "./instance-2xx6zsf3.js";
|
|
19
19
|
import {
|
|
20
20
|
Service72,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node76
|
|
22
|
+
} from "./instance-4w5f3qm5.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instance-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./instance-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
35
|
Error: () => Error3,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service53,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node57
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service53 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
56
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
57
57
|
const hooks = yield* Service72;
|
|
58
|
-
const image = yield*
|
|
58
|
+
const image = yield* Service54;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service53.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node57 = makeLocationNode({
|
|
277
|
+
service: Service53,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node76, node58]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service53, node57, exports_tool, CallID2, Content2, Error3, FileContent3, TextContent2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./instance-2hr1xsnb.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service58
|
|
13
|
+
} from "./instance-x5xbc85a.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service65
|
|
16
|
+
} from "./instance-jmvxnjkh.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service66
|
|
19
|
+
} from "./instance-nfabvmye.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service15,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-7kjn14yg.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service49,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-3j6132de.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service43
|
|
37
|
+
} from "./instance-ydx5mz7g.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service18
|
|
40
|
+
} from "./instance-zpar6w8a.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./instance-hppaxmnb.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./instance-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input7,
|
|
53
|
+
Plugin: () => Plugin8,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name7
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name7 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input7 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin8 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service18;
|
|
124
|
+
const jobs = yield* Service65;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service58;
|
|
127
|
+
const access = yield* Service15;
|
|
128
|
+
const shell = yield* Service43;
|
|
129
|
+
const shellSelect = yield* Service49;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service66;
|
|
132
|
+
const config = yield* Service45;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin45 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name7,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin45 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name7,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input7,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin45 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name7,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name7];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin8, exports_shell };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-vmvedq7t.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service85,
|
|
12
12
|
node89
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-agzdqrvj.js";
|
|
14
14
|
import {
|
|
15
15
|
Service84,
|
|
16
16
|
node88
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-kmb3qvgg.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-rj3eygr5.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-sa8ekw3f.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID16,
|
|
26
26
|
NotFoundError11
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instance-s1mg2vv7.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-f3knshs0.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service71,
|
|
33
|
+
node75
|
|
34
|
+
} from "./instance-gk5njmcq.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./instance-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service52
|
|
41
|
+
} from "./instance-evmwk2qf.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./instance-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event12,
|
|
53
|
+
Info: () => Info14,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service51,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node55
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info14 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event12 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service51 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service85;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service84;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service71;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service52).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event12.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service51.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node55 = Node.makeGlobalNode({
|
|
260
|
+
service: Service51,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node88, node89, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node88, node89, AppProcess.node, node75]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info14, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event12, Service51, node55, exports_worktree2, OperationError2 };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-agzdqrvj.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service84,
|
|
8
8
|
node88
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-kmb3qvgg.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-2vvh33eb.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-bvefwfky.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service68,
|
|
21
|
+
node72
|
|
22
|
+
} from "./instance-d8yh87ds.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service20,
|
|
25
|
+
node24
|
|
26
|
+
} from "./instance-32rz0ac1.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service7,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer6,
|
|
42
|
+
node: () => node9
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service7 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service84;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service20;
|
|
65
|
+
const store = yield* Service68;
|
|
66
66
|
const db = (yield* Service85).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service7.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node88, llmClient2,
|
|
150
|
+
var node9 = makeLocationNode({
|
|
151
|
+
service: Service7,
|
|
152
|
+
layer: layer6,
|
|
153
|
+
deps: [node88, llmClient2, node24, node72, node89]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service7, isUntitled2, layer6, node9, exports_title };
|